@factorialco/f0-react 12.12.0 → 12.14.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 (45) hide show
  1. package/dist/{ArchiveThumbnail-b34U-zTc.js → ArchiveThumbnail-CgaNJ6v9.js} +1 -1
  2. package/dist/{ArchiveViewer-BpmryW7A.js → ArchiveViewer-Uohl6wf1.js} +2 -2
  3. package/dist/{ChatPostComposerDialog-Cr207fXs.js → ChatPostComposerDialog-Cr6Ci2dz.js} +2 -2
  4. package/dist/{CoachmarkProvider-CsytVD-X.js → CoachmarkProvider-Cfb6WvLp.js} +17551 -17550
  5. package/dist/{CodeThumbnail-8NiQ3uzU.js → CodeThumbnail-CFNKh12S.js} +1 -1
  6. package/dist/{CodeViewer-BNZqt-5s.js → CodeViewer-C4XxNdq4.js} +3 -3
  7. package/dist/{DocumentToolbar-DUe9R1rU.js → DocumentToolbar-CcEggNyX.js} +1 -1
  8. package/dist/{DocxViewer-BUMy2iL7.js → DocxViewer-DIiFGMl7.js} +1 -1
  9. package/dist/Ellipsis-CBouJQYY.js +34 -0
  10. package/dist/{F0AiProcessingOverlay-CiUTeBwG.js → F0AiProcessingOverlay-wFS85Arm.js} +1539 -1485
  11. package/dist/{F0Alert-Ca8sBfXN.js → F0Alert-DRK5Na7T.js} +10 -10
  12. package/dist/F0AudioPlayer-Ds4txTh4.js +2 -0
  13. package/dist/{F0CanvasPanel-BOo_mxBl.js → F0CanvasPanel-CbJxX6Qv.js} +8681 -7494
  14. package/dist/{F0DocumentViewer-CaYAO9ok.js → F0DocumentViewer-B2_6INMo.js} +1 -1
  15. package/dist/{F0DocumentViewer-h0XY5tgT.js → F0DocumentViewer-B6ccmcTZ.js} +2 -2
  16. package/dist/{F0Map-b1uYlF_H.js → F0Map-BkrkSniz.js} +15 -15
  17. package/dist/F0Text-CXHuzMbj.js +14 -0
  18. package/dist/F0VideoPlayer-5bnm6ryg.js +1 -0
  19. package/dist/{F0VideoPlayer-D85XCpqh.js → F0VideoPlayer-BkRdc58E.js} +312 -312
  20. package/dist/{HtmlViewer-DxOnMV30.js → HtmlViewer-qkAWMkJy.js} +3 -3
  21. package/dist/{Map-BOMgctnS.js → Map-CZcZoNEa.js} +26 -25
  22. package/dist/{PdfThumbnail-98PDy4ud.js → PdfThumbnail-RTw1aKm_.js} +1 -1
  23. package/dist/{PdfViewer-nBnKrTYD.js → PdfViewer-m56GqoJt.js} +5 -5
  24. package/dist/{SheetViewer-CD9SHbXJ.js → SheetViewer-C80n4nta.js} +12 -12
  25. package/dist/{TextViewer-DxRBCXzV.js → TextViewer-BINEouL8.js} +1 -1
  26. package/dist/ai.d.ts +2 -2
  27. package/dist/ai.js +3 -3
  28. package/dist/component-status.js +1 -1
  29. package/dist/experimental.d.ts +15 -3
  30. package/dist/experimental.js +5782 -5775
  31. package/dist/{exports-cxvNeHfV.d.ts → exports-BGemf1WM.d.ts} +13 -11
  32. package/dist/f0.d.ts +8 -129
  33. package/dist/f0.js +382 -382
  34. package/dist/{highlight-CqFL-_MG.js → highlight-BNASV9vz.js} +7 -7
  35. package/dist/{index-DF8ubeg6.d.ts → index-BkCnaiJG.d.ts} +326 -10
  36. package/dist/localized-CnKvEJya.js +73 -0
  37. package/dist/{maplibre-Ip4Qe9dM.js → maplibre-DTAAiC-N.js} +1 -1
  38. package/dist/{pdfWorker-DMjHHAyP.js → pdfWorker-D16_euGm.js} +1 -1
  39. package/dist/{types-geibVrTM.d.ts → types-C2gKTwyT.d.ts} +2 -179
  40. package/package.json +1 -1
  41. package/dist/F0AudioPlayer-BefDLQA2.js +0 -1083
  42. package/dist/F0AudioPlayer-CNb4kXOk.js +0 -3
  43. package/dist/F0SegmentedControl-DXoAzTmH.js +0 -103
  44. package/dist/F0VideoPlayer-_zLFiEIp.js +0 -1
  45. package/dist/localized-BrUgGMzm.js +0 -46
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, $r as n, A as r, An as i, Bn as a, C as o, Cn as s, Cr as c, D as l, Dn as u, E as d, En as f, Fn as p, Ft as m, Gn as h, Gt as g, Hn 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, O as ee, On as te, P as ne, Pn as I, Pr 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, Ur as ge, Ut as _e, Vn as ve, Vr as ye, Vt as be, Wn as xe, Wr as Se, Wt as Ce, X as we, Xn as Te, Yn as Ee, Yr as De, Yt as Oe, Z as ke, Zn as Ae, Zt as je, _ as Me, _n as Ne, _r as Pe, _t as Fe, ar as Ie, b as Le, bn as Re, br as ze, bt as Be, c as Ve, ci as He, cn as Ue, cr as We, d as Ge, dn as Ke, dr as qe, ei as Je, en as Ye, er as Xe, f as Ze, fi as Qe, fn as $e, fr as et, g as tt, gn as nt, gr as rt, gt as it, h as at, hn as ot, hr as st, ht as ct, i as lt, ir as ut, j as dt, jn as ft, k as pt, kn as mt, kt as ht, l as gt, li as _t, ln as vt, lr as yt, mn as bt, mr as xt, nn as St, nr as Ct, on as wt, or as Tt, ot as Et, p 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, si as It, sn as Lt, sr as Rt, t as zt, ti as Bt, tn as Vt, tr as Ht, u 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, zr as ln, zt as un } from "./CoachmarkProvider-CsytVD-X.js";
2
+ import { $n as t, $r as n, A as r, An as i, Bn as a, C as o, Cn as s, Cr as c, D as l, Dn as u, E as d, En as f, Fn as p, Ft as m, Gn as h, Gt as g, Hn 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, O as ee, On as te, P as ne, Pn as I, Pr 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, Ur as ge, Ut as _e, Vn as ve, Vr as ye, Vt as be, Wn as xe, Wr as Se, Wt as Ce, X as we, Xn as Te, Yn as Ee, Yr as De, Yt as Oe, Z as ke, Zn as Ae, Zt as je, _ as Me, _n as Ne, _r as Pe, _t as Fe, ar as Ie, b as Le, bn as Re, br as ze, bt as Be, c as Ve, ci as He, cn as Ue, cr as We, d as Ge, dn as Ke, dr as qe, ei as Je, en as Ye, er as Xe, f as Ze, fi as Qe, fn as $e, fr as et, g as tt, gn as nt, gr as rt, gt as it, h as at, hn as ot, hr as st, ht as ct, i as lt, ir as ut, j as dt, jn as ft, k as pt, kn as mt, kt as ht, l as gt, li as _t, ln as vt, lr as yt, mn as bt, mr as xt, nn as St, nr as Ct, on as wt, or as Tt, ot as Et, p 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, si as It, sn as Lt, sr as Rt, t as zt, ti as Bt, tn as Vt, tr as Ht, u 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, zr as ln, zt as un } from "./CoachmarkProvider-Cfb6WvLp.js";
3
3
  import { a as L, i as dn, n as fn, o as pn, r as R, t as mn } from "./i18n-provider-Bdgo-LeP.js";
4
4
  import { n as hn, t as z } from "./skeleton-AC0Fb8zj.js";
5
5
  import { A as gn, C as _n, D as vn, F as yn, I as bn, L as B, M as xn, N as Sn, O as Cn, P as wn, R as Tn, S as En, _ as Dn, b as On, c as kn, f as An, g as jn, h as Mn, j as Nn, k as Pn, l as Fn, m as In, p as Ln, v as Rn, w as zn, x as Bn, y as Vn } from "./tooltip-BX4dSfeL.js";
6
6
  import { A as Hn, M as Un, N as Wn, U as Gn, b as Kn, f as qn, h as Jn, j as Yn, m as Xn, n as Zn, p as Qn, r as $n, t as V, w as er, wt as tr, y as nr, z as rr } from "./F0Button-d91IgOnc.js";
7
- import { A as ir, C as ar, D as or, E as sr, F as cr, I as lr, L as ur, M as dr, N as fr, O as pr, P as mr, R as hr, S as gr, T as _r, _ as vr, a as yr, b as br, c as xr, d as Sr, f as Cr, g as wr, h as Tr, i as Er, j as Dr, k as Or, l as kr, m as Ar, n as jr, o as Mr, p as Nr, r as Pr, s as Fr, t as Ir, u as Lr, v as Rr, w as zr, x as Br, y as Vr, z as Hr } from "./F0AiProcessingOverlay-CiUTeBwG.js";
8
- import { $a as Ur, $n as Wr, $o as Gr, $t as Kr, As as qr, Bo as Jr, Br as Yr, Bt as Xr, C as Zr, Cr as Qr, D as $r, Dr as ei, E as ti, Fa as ni, Fr as ri, Ft as ii, Gn as ai, Gs as oi, Hr as si, Ht as ci, Ir as li, Is as ui, It as di, Jn as fi, Jr as pi, Js as mi, Kn as hi, Ko as gi, Ks as _i, La as vi, Lr as yi, Ls as bi, Lt as xi, Ms as Si, Mt as Ci, Pa as wi, Pt as Ti, Qn as Ei, Qs as Di, Qt as Oi, R as ki, Ra as Ai, Rt as ji, S as Mi, T as Ni, Tr as Pi, Ua as Fi, Ur as Ii, Vt as Li, Wa as Ri, Wn as zi, Wr as Bi, Ws as Vi, Xn as Hi, Xr as Ui, Xs as Wi, Xt as Gi, Yn as Ki, Yr as qi, Ys as Ji, Zr as Yi, Zt as Xi, ar as Zi, as as Qi, b as $i, ba as ea, cr as ta, en as na, eo as ra, fc as ia, hs as aa, ir as oa, ja as sa, kr as ca, la, lc as ua, lo as da, ls as fa, n as pa, nn as ma, ns as ha, or as ga, po as _a, qn as va, qr as ya, qs as ba, rc as xa, rr as Sa, rs as Ca, so as wa, sr as Ta, t as Ea, tn as Da, tt as Oa, us as ka, vr as Aa, w as ja, wo as Ma, wr as Na, x as Pa, y as Fa, ya as Ia, yr as La, z as Ra, za, zr as Ba } from "./F0CanvasPanel-BOo_mxBl.js";
9
- import { a as Va, i as Ha, n as Ua, o as Wa, r as Ga, t as H } from "./F0Icon-DmCBV0gK.js";
10
- import { t as Ka } from "./i18n-provider-defaults-B9vdZZeS.js";
11
- import { A as qa, C as Ja, D as Ya, H as Xa, N as Za, S as Qa, U as $a, a as eo, b as to, f as no, g as ro, h as io, i as ao, k as oo, l as so, m as co, n as lo, r as uo, t as fo, u as po } from "./useData-BYkiGUHX.js";
12
- import { $ as mo, At as ho, B as go, Ct as _o, En as vo, Er as yo, Et as bo, Ft as xo, G as So, H as Co, J as wo, K as To, L as Eo, Lt as Do, Mt as Oo, Nn as ko, Nt as Ao, Ot as jo, Pt as Mo, Sr as No, Tn as Po, Tr as Fo, Tt as Io, U as Lo, V as Ro, W as zo, X as Bo, Z as Vo, _ as Ho, _t as Uo, a as Wo, ar as Go, br as Ko, c as qo, ct as Jo, en as Yo, et as Xo, fr as Zo, g as Qo, gt as $o, h as es, ht as ts, i as ns, jt as rs, kt as is, l as as, lr as os, m as ss, mt as cs, nn as ls, nt as us, o as ds, p as fs, pt as ps, q as ms, r as hs, s as gs, sr as _s, st as vs, t as ys, tt as bs, u as xs, v as Ss, w as Cs, wn as ws, wr as Ts, wt as Es, xr as Ds, xt as Os, y as ks, yt as As, z as js } from "./F0Select-BZ20yXKy.js";
13
- import { t as Ms } from "./Check-DAp9gCRh.js";
14
- import { a as Ns } from "./dist-CFY0KELA.js";
15
- import { t as Ps } from "./LockLocked-gdodYvT_.js";
16
- import { t as Fs } from "./purify.es-ZpfdAuNV.js";
17
- import { A as Is, B as Ls, H as Rs, L as zs, M as Bs, N as Vs, P as Hs, R as Us, a as Ws, ft as Gs, i as Ks, j as qs, k as Js, t as Ys, z as Xs } from "./popover-ics24JxK.js";
18
- import { n as Zs, r as Qs } from "./scrollarea-cxaFAWG5.js";
19
- import { a as $s, c as ec, i as tc, n as nc, o as rc, r as ic, s as ac, t as oc } from "./F0AudioPlayer-BefDLQA2.js";
20
- import { n as sc, t as cc } from "./F0SegmentedControl-DXoAzTmH.js";
21
- import { t as lc } from "./F0Alert-Ca8sBfXN.js";
22
- import { n as uc, r as dc, t as fc } from "./F0DocumentViewer-h0XY5tgT.js";
7
+ import { A as ir, C as ar, D as or, E as sr, F as cr, I as lr, L as ur, M as dr, N as fr, O as pr, P as mr, R as hr, S as gr, T as _r, _ as vr, a as yr, b as br, c as xr, d as Sr, f as Cr, g as wr, h as Tr, i as Er, j as Dr, k as Or, l as kr, m as Ar, n as jr, o as Mr, p as Nr, r as Pr, s as Fr, t as Ir, u as Lr, v as Rr, w as zr, x as Br, y as Vr, z as Hr } from "./F0AiProcessingOverlay-wFS85Arm.js";
8
+ import { $n as Ur, Ao as Wr, As as Gr, Bt as Kr, C as qr, D as Jr, Da as Yr, Dc as Xr, Dr as Zr, E as Qr, Eo as $r, Er as ei, Fr as ti, G as ni, Gr as ri, Gt as ii, Ht as ai, Jr as oi, Jt as si, Ks as ci, Kt as li, La as ui, Lr as di, Mr as fi, Nr as pi, O as mi, Qa as hi, Qn as gi, Qr as _i, Ra as vi, S as yi, T as bi, Ts as xi, Ur as Si, Ut as Ci, W as wi, Wr as Ti, Wt as Ei, Xr as Di, Xs as Oi, Xt as ki, Ya as Ai, Yt as ji, Zr as Mi, Zs as Ni, _c as Pi, _o as Fi, _s as Ii, ac as Li, ai as Ri, an as zi, bs as Bi, cc as Vi, ci as Hi, cn as Ui, di as Wi, dr as Gi, eo as Ki, er as qi, fc as Ji, fi as Yi, fr as Xi, go as Zi, gr as Qi, hi as $i, hr as ea, ic as ta, ii as na, in as ra, ir as ia, jr as aa, k as oa, lc as sa, li as ca, ln as la, mi as ua, mr as da, ms as fa, n as pa, ni as ma, no as ha, nr as ga, oc as _a, oi as va, on as ya, oo as ba, or as xa, pi as Sa, pr as Ca, qr as wa, ri as Ta, rr as Ea, sc as Da, si as Oa, sn as ka, so as Aa, sr as ja, ss as Ma, st as Na, t as Pa, ti as Fa, to as Ia, tr as La, ts as Ra, uc as za, ui as Ba, un as Va, vs as Ha, w as Ua, wc as Wa, wo as Ga, ws as Ka, x as qa, zo as Ja } from "./F0CanvasPanel-CbJxX6Qv.js";
9
+ import { a as Ya, i as Xa, n as Za, o as Qa, r as $a, t as H } from "./F0Icon-DmCBV0gK.js";
10
+ import { t as eo } from "./i18n-provider-defaults-B9vdZZeS.js";
11
+ import { A as to, C as no, D as ro, H as io, N as ao, S as oo, U as so, a as co, b as lo, f as uo, g as fo, h as po, i as mo, k as ho, l as go, m as _o, n as vo, r as yo, t as bo, u as xo } from "./useData-BYkiGUHX.js";
12
+ import { $ as So, At as Co, B as wo, Ct as To, En as Eo, Er as Do, Et as Oo, Ft as ko, G as Ao, H as jo, J as Mo, K as No, L as Po, Lt as Fo, Mt as Io, Nn as Lo, Nt as Ro, Ot as zo, Pt as Bo, Sr as Vo, Tn as Ho, Tr as Uo, Tt as Wo, U as Go, V as Ko, W as qo, X as Jo, Z as Yo, _ as Xo, _t as Zo, a as Qo, ar as $o, br as es, c as ts, ct as ns, en as rs, et as is, fr as as, g as os, gt as ss, h as cs, ht as ls, i as us, jt as ds, kt as fs, l as ps, lr as ms, m as hs, mt as gs, nn as _s, nt 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, w as js, wn as Ms, wr as Ns, wt as Ps, xr as Fs, xt as Is, y as Ls, yt as Rs, z as zs } from "./F0Select-BZ20yXKy.js";
13
+ import { t as Bs } from "./Check-DAp9gCRh.js";
14
+ import { a as Vs } from "./dist-CFY0KELA.js";
15
+ import { t as Hs } from "./Ellipsis-CBouJQYY.js";
16
+ import { t as Us } from "./LockLocked-gdodYvT_.js";
17
+ import { t as Ws } from "./purify.es-ZpfdAuNV.js";
18
+ import { A as Gs, B as Ks, H as qs, L as Js, M as Ys, N as Xs, P as Zs, R as Qs, a as $s, ft as ec, i as tc, j as nc, k as rc, t as ic, z as ac } from "./popover-ics24JxK.js";
19
+ import { n as oc, r as sc } from "./scrollarea-cxaFAWG5.js";
20
+ import { t as cc } from "./F0Text-CXHuzMbj.js";
21
+ import { t as lc } from "./F0Alert-DRK5Na7T.js";
22
+ import { n as uc, r as dc, t as fc } from "./F0DocumentViewer-B6ccmcTZ.js";
23
23
  import { t as pc } from "./pdfWorkerConfig-BwllKt1K.js";
24
- import { t as mc } from "./F0VideoPlayer-D85XCpqh.js";
24
+ import { t as mc } from "./F0VideoPlayer-BkRdc58E.js";
25
25
  import * as U from "react";
26
26
  import hc, { Children as gc, Fragment as _c, createContext as vc, forwardRef as yc, isValidElement as bc, memo as xc, useCallback as W, useContext as Sc, useEffect as G, useId as Cc, useImperativeHandle as wc, useLayoutEffect as Tc, useMemo as K, useRef as q, useState as J, useSyncExternalStore as Ec } from "react";
27
27
  import { Fragment as Y, jsx as X, jsxs as Z } from "react/jsx-runtime";
@@ -45,7 +45,7 @@ var Ac = {
45
45
  className: "h-full @5xl:h-auto [&>div]:h-full",
46
46
  children: e
47
47
  }, t));
48
- return /* @__PURE__ */ X(Ri, {
48
+ return /* @__PURE__ */ X(Aa, {
49
49
  layout: "home",
50
50
  children: /* @__PURE__ */ Z("div", {
51
51
  ref: r,
@@ -76,10 +76,10 @@ var Ac = {
76
76
  })]
77
77
  })
78
78
  });
79
- }), Mc = Wa({
79
+ }), Mc = Qa({
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
- }), Nc = hc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(Ri, {
82
+ }), Nc = hc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(Aa, {
83
83
  layout: "standard",
84
84
  children: /* @__PURE__ */ X("section", {
85
85
  ref: a,
@@ -92,7 +92,7 @@ var Ac = {
92
92
  })
93
93
  }));
94
94
  Nc.displayName = "StandardLayout";
95
- var Pc = L(Ga({
95
+ var Pc = L($a({
96
96
  name: "StandardLayout",
97
97
  type: "layout"
98
98
  }, Nc)), Fc = yc(function({ children: e, sideContent: t, mainColumnPosition: n = "left", sticky: r = !1, responsiveStackOrder: i = "side" }, a) {
@@ -111,7 +111,7 @@ var Pc = L(Ga({
111
111
  })]
112
112
  })
113
113
  });
114
- }), Ic = L(Ga({
114
+ }), Ic = L($a({
115
115
  name: "TwoColumnLayout",
116
116
  type: "layout"
117
117
  }, Fc)), Lc = ({ children: e, className: t }) => /* @__PURE__ */ X("aside", {
@@ -213,7 +213,7 @@ function Gc({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i,
213
213
  n(e);
214
214
  }), e;
215
215
  });
216
- Go(() => {
216
+ $o(() => {
217
217
  if (!s) return;
218
218
  let e = s.save();
219
219
  if (!Array.isArray(e)) return;
@@ -264,7 +264,7 @@ function Gc({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i,
264
264
  return e.forEach((e) => {
265
265
  if (n.get(e)) {
266
266
  let t = s.el.querySelector(`[gs-id="${e}"] .grid-stack-item-content`), r = "";
267
- t && (r = Fs.sanitize(Wc(t))), n.set(e, /* @__PURE__ */ X(Gn.div, {
267
+ t && (r = Ws.sanitize(Wc(t))), n.set(e, /* @__PURE__ */ X(Gn.div, {
268
268
  className: "h-full w-full",
269
269
  initial: {
270
270
  opacity: 1,
@@ -2624,7 +2624,7 @@ gl.renderCB = (e, t) => {
2624
2624
  }, gl.resizeToContentParent = ".grid-stack-item-content", gl.Utils = Q, gl.Engine = Xc, gl.GDRev = "12.3.2";
2625
2625
  //#endregion
2626
2626
  //#region src/blocks/F0GridStack/components/grid-stack-render-provider.tsx
2627
- var _l = /* @__PURE__ */ e(ko(), 1), vl = /* @__PURE__ */ new WeakMap();
2627
+ var _l = /* @__PURE__ */ e(Lo(), 1), vl = /* @__PURE__ */ new WeakMap();
2628
2628
  function yl({ children: e }) {
2629
2629
  let { _gridStack: { value: t, set: n }, options: r } = zc(), i = q(/* @__PURE__ */ new Map()), a = q(null), o = q(r), s = W((e, t) => {
2630
2630
  if (t.id && t.grid) {
@@ -2934,7 +2934,7 @@ var wl = (e, t) => {
2934
2934
  })
2935
2935
  });
2936
2936
  kl.displayName = "Dashboard";
2937
- var Al = Tl("Dashboard", kl), jl = L(hn("Dashboard", Al)), Ml = Wa({
2937
+ var Al = Tl("Dashboard", kl), jl = L(hn("Dashboard", Al)), Ml = Qa({
2938
2938
  base: "flex w-full flex-col p-4",
2939
2939
  variants: { variant: {
2940
2940
  default: "",
@@ -2954,7 +2954,7 @@ var Al = Tl("Dashboard", kl), jl = L(hn("Dashboard", Al)), Ml = Wa({
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(ea, {
2957
+ children: [c || null, f.length > 0 ? /* @__PURE__ */ X(vi, {
2958
2958
  items: Nl(d),
2959
2959
  "data-testid": "actions-dropdown"
2960
2960
  }) : null]
@@ -3028,7 +3028,7 @@ var Vl = ({ id: e, children: t }) => {
3028
3028
  });
3029
3029
  }, Hl = ({ blocks: e, sortable: t = !1, onSort: n = () => {}, main: r = !1 }) => {
3030
3030
  let [i, a] = J([]);
3031
- Go(() => {
3031
+ $o(() => {
3032
3032
  a(e.map((e, t) => ({
3033
3033
  id: e.id ?? t.toString(),
3034
3034
  render: e.render
@@ -3093,7 +3093,7 @@ var Ul = yc(function({ children: e, aside: t, header: n, variant: r = "main-asid
3093
3093
  Group: L(hn("Group", Bl)),
3094
3094
  GroupGrid: L(hn("GroupGrid", Cl)),
3095
3095
  GroupMasonry: L(hn("GroupMasonry", Hl))
3096
- }, Gl = Pc, Kl = Ic, ql = L(Ga({
3096
+ }, Gl = Pc, Kl = Ic, ql = L($a({
3097
3097
  name: "HomeLayout",
3098
3098
  type: "layout"
3099
3099
  }, jc)), Jl = [
@@ -3109,7 +3109,7 @@ var Ul = yc(function({ children: e, aside: t, header: n, variant: r = "main-asid
3109
3109
  show: e.show ?? !0,
3110
3110
  invertStatus: e.invertStatus ?? !1
3111
3111
  }, Xl = ({ label: e, ...t }) => {
3112
- let n = Ao(), r = n(t.value, { formatterOptions: { decimalPlaces: 2 } }), i = Yl(t.trend), a = n(t.comparison), o = Mo(r.numericValue, r.formatterOptions), s = xo(a.numericValue), c = xo(r.numericValue), l = K(() => {
3112
+ let n = Ro(), r = n(t.value, { formatterOptions: { decimalPlaces: 2 } }), i = Yl(t.trend), a = n(t.comparison), o = Bo(r.numericValue, r.formatterOptions), s = ko(a.numericValue), c = ko(r.numericValue), l = K(() => {
3113
3113
  if (s && i.show && s && c) return (c - s) / s * 100;
3114
3114
  }, [
3115
3115
  c,
@@ -3123,7 +3123,7 @@ var Ul = yc(function({ children: e, aside: t, header: n, variant: r = "main-asid
3123
3123
  children: [/* @__PURE__ */ X("span", {
3124
3124
  className: "font-bold text-2xl",
3125
3125
  children: o
3126
- }), s === void 0 ? null : /* @__PURE__ */ X(Oo, {
3126
+ }), s === void 0 ? null : /* @__PURE__ */ X(Io, {
3127
3127
  percentage: l,
3128
3128
  amount: a,
3129
3129
  invertStatus: i.invertStatus,
@@ -3139,7 +3139,7 @@ var Ul = yc(function({ children: e, aside: t, header: n, variant: r = "main-asid
3139
3139
  })]
3140
3140
  });
3141
3141
  Xl.displayName = "F0BigNumber";
3142
- var Ql = sa(Xl, Zl), $l = L(Ql), eu = [
3142
+ var Ql = Ai(Xl, Zl), $l = L(Ql), eu = [
3143
3143
  "default",
3144
3144
  "outline",
3145
3145
  "neutral"
@@ -3147,20 +3147,20 @@ var Ql = sa(Xl, Zl), $l = L(Ql), eu = [
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(cc, {
3150
+ case "segmentedControl": return /* @__PURE__ */ X(Oa, {
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(ea, {
3157
+ case "dropdown": return /* @__PURE__ */ X(vi, {
3158
3158
  items: e.items,
3159
3159
  disabled: e.disabled,
3160
3160
  children: /* @__PURE__ */ X(V, {
3161
3161
  variant: "outline",
3162
3162
  size: "sm",
3163
- icon: qr,
3163
+ icon: Hs,
3164
3164
  label: e.ariaLabel,
3165
3165
  hideLabel: !0,
3166
3166
  disabled: e.disabled
@@ -3170,7 +3170,7 @@ var Ql = sa(Xl, Zl), $l = L(Ql), eu = [
3170
3170
  })
3171
3171
  }), ou = ({ item: e, open: t, onOpenChange: n }) => {
3172
3172
  let r = Jn(), i = R().t(t ? "actions.collapseItem" : "actions.expandItem", { title: e.title }), a = !!e.actions && e.actions.length > 0;
3173
- return /* @__PURE__ */ X(ya, {
3173
+ return /* @__PURE__ */ X(Fa, {
3174
3174
  open: t,
3175
3175
  onOpenChange: n,
3176
3176
  asChild: !0,
@@ -3178,7 +3178,7 @@ var Ql = sa(Xl, Zl), $l = L(Ql), eu = [
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(Ta, {
3182
3182
  asChild: !0,
3183
3183
  children: /* @__PURE__ */ X("button", {
3184
3184
  type: "button",
@@ -3196,12 +3196,12 @@ var Ql = sa(Xl, Zl), $l = L(Ql), eu = [
3196
3196
  children: e.summary
3197
3197
  }) : null,
3198
3198
  a ? /* @__PURE__ */ X(au, { actions: e.actions }) : null,
3199
- /* @__PURE__ */ X(qi, {
3199
+ /* @__PURE__ */ X(Ta, {
3200
3200
  asChild: !0,
3201
3201
  children: /* @__PURE__ */ X(V, {
3202
3202
  variant: "outline",
3203
3203
  size: "sm",
3204
- icon: t ? Ko : Xa,
3204
+ icon: t ? es : io,
3205
3205
  label: i,
3206
3206
  hideLabel: !0
3207
3207
  })
@@ -3225,7 +3225,7 @@ var Ql = sa(Xl, Zl), $l = L(Ql), eu = [
3225
3225
  },
3226
3226
  transition: { duration: r ? 0 : .2 },
3227
3227
  className: "overflow-hidden",
3228
- children: /* @__PURE__ */ X(pi, {
3228
+ children: /* @__PURE__ */ X(ma, {
3229
3229
  forceMount: !0,
3230
3230
  asChild: !0,
3231
3231
  children: /* @__PURE__ */ Z("div", {
@@ -3249,7 +3249,7 @@ var Ql = sa(Xl, Zl), $l = L(Ql), eu = [
3249
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" })]
3250
3250
  })] }, t))
3251
3251
  }), cu = yc((e, t) => {
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] = Gs({
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] = ec({
3253
3253
  prop: r,
3254
3254
  defaultProp: s,
3255
3255
  onChange: a
@@ -3269,31 +3269,31 @@ var Ql = sa(Xl, Zl), $l = L(Ql), eu = [
3269
3269
  });
3270
3270
  });
3271
3271
  cu.displayName = "F0Accordion";
3272
- var lu = L(hn("F0Accordion", sa(cu, su))), uu = [
3272
+ var lu = L(hn("F0Accordion", Ai(cu, su))), uu = [
3273
3273
  "info",
3274
3274
  "warning",
3275
3275
  "critical",
3276
3276
  "positive"
3277
3277
  ], du = ({ count: e, list: t }) => {
3278
- let [n, r] = J(!1), i = /* @__PURE__ */ X(_o, { label: `+${e}` });
3279
- return t?.length ? /* @__PURE__ */ Z(Ys, {
3278
+ let [n, r] = J(!1), i = /* @__PURE__ */ X(To, { label: `+${e}` });
3279
+ return t?.length ? /* @__PURE__ */ Z(ic, {
3280
3280
  open: n,
3281
3281
  onOpenChange: r,
3282
- children: [/* @__PURE__ */ X(Ws, {
3282
+ children: [/* @__PURE__ */ X($s, {
3283
3283
  asChild: !0,
3284
3284
  children: /* @__PURE__ */ X("button", {
3285
3285
  className: Tn("inline-flex flex-shrink-0 items-center"),
3286
3286
  children: i
3287
3287
  })
3288
- }), /* @__PURE__ */ X(Ks, {
3288
+ }), /* @__PURE__ */ X(tc, {
3289
3289
  className: "rounded-md border border-solid border-f1-border-secondary p-1 shadow-md",
3290
3290
  align: "end",
3291
- children: /* @__PURE__ */ Z(Zs, {
3291
+ children: /* @__PURE__ */ Z(oc, {
3292
3292
  className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[172px] flex-col",
3293
3293
  children: [t.map((e, t) => /* @__PURE__ */ X("div", {
3294
3294
  className: "flex w-[220px] min-w-0 items-center gap-1.5 px-2 py-1 [&:first-child]:pt-2 [&:last-child]:pb-2",
3295
- children: /* @__PURE__ */ X(_o, { ...e })
3296
- }, t)), /* @__PURE__ */ X(Qs, {
3295
+ children: /* @__PURE__ */ X(To, { ...e })
3296
+ }, t)), /* @__PURE__ */ X(sc, {
3297
3297
  orientation: "vertical",
3298
3298
  className: "[&_div]:bg-f1-background"
3299
3299
  })]
@@ -3305,9 +3305,9 @@ du.displayName = "ChipCounter";
3305
3305
  //#endregion
3306
3306
  //#region src/elements/F0ChipList/F0ChipList.tsx
3307
3307
  var fu = ({ chips: e, max: t = 4, remainingCount: n, layout: r = "compact" }) => {
3308
- if (r === "fill") return /* @__PURE__ */ X(po, {
3308
+ if (r === "fill") return /* @__PURE__ */ X(xo, {
3309
3309
  items: e,
3310
- renderListItem: (e) => /* @__PURE__ */ X(_o, { ...e }),
3310
+ renderListItem: (e) => /* @__PURE__ */ X(To, { ...e }),
3311
3311
  renderDropdownItem: () => null,
3312
3312
  forceShowingOverflowIndicator: n !== void 0,
3313
3313
  renderOverflowIndicator: (t) => /* @__PURE__ */ X(du, {
@@ -3320,7 +3320,7 @@ var fu = ({ chips: e, max: t = 4, remainingCount: n, layout: r = "compact" }) =>
3320
3320
  let i = e.slice(0, t), a = e.slice(t), o = n ?? e.length - t, s = o > 0;
3321
3321
  return /* @__PURE__ */ Z("div", {
3322
3322
  className: "flex items-center gap-2",
3323
- children: [i.map((e, t) => /* @__PURE__ */ X(_o, { ...e }, t)), s ? /* @__PURE__ */ X(du, {
3323
+ children: [i.map((e, t) => /* @__PURE__ */ X(To, { ...e }, t)), s ? /* @__PURE__ */ X(du, {
3324
3324
  count: o,
3325
3325
  list: n ? void 0 : a
3326
3326
  }) : null]
@@ -3332,7 +3332,7 @@ var pu = L(hn("F0ChipList", fu)), mu = [
3332
3332
  "escape",
3333
3333
  "commit",
3334
3334
  "popupClose"
3335
- ], hu = mo, gu = [
3335
+ ], hu = So, gu = [
3336
3336
  "info",
3337
3337
  "warning",
3338
3338
  "critical",
@@ -3340,9 +3340,9 @@ var pu = L(hn("F0ChipList", fu)), mu = [
3340
3340
  "positive",
3341
3341
  "transparent"
3342
3342
  ], _u = {
3343
- get: async (e) => JSON.parse(localStorage.getItem(ca(e)) ?? "{}"),
3343
+ get: async (e) => JSON.parse(localStorage.getItem(di(e)) ?? "{}"),
3344
3344
  set: async (e, t) => {
3345
- localStorage.setItem(ca(e), JSON.stringify(t));
3345
+ localStorage.setItem(di(e), JSON.stringify(t));
3346
3346
  }
3347
3347
  }, vu = ({ disableClose: e = !1, onClose: t, isOpen: n, children: r, 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
3348
  let [b, x] = J(n);
@@ -3414,7 +3414,7 @@ function Cu({ filters: e, value: t, onChange: n, height: r, width: i = 600, clas
3414
3414
  let t = Object.keys(e);
3415
3415
  if (t.length > 0) {
3416
3416
  let n = t.find((t) => {
3417
- let n = p[t], r = xs(e[t].type);
3417
+ let n = p[t], r = ks(e[t].type);
3418
3418
  return n !== void 0 && !r.isEmpty(n, {
3419
3419
  schema: e[t],
3420
3420
  i18n: l
@@ -3438,7 +3438,7 @@ function Cu({ filters: e, value: t, onChange: n, height: r, width: i = 600, clas
3438
3438
  }, g = () => {
3439
3439
  n(p);
3440
3440
  }, _ = K(() => r || Object.entries(e).reduce((e, [t, n]) => {
3441
- let r = xs(n.type);
3441
+ let r = ks(n.type);
3442
3442
  return Math.max(e, r?.formHeight || Su);
3443
3443
  }, 0), [e, r]);
3444
3444
  return !e || Object.keys(e).length === 0 ? null : /* @__PURE__ */ X(dn, {
@@ -3446,7 +3446,7 @@ function Cu({ filters: e, value: t, onChange: n, height: r, width: i = 600, clas
3446
3446
  children: /* @__PURE__ */ X("div", {
3447
3447
  className: B("overflow-hidden rounded-xl border border-solid border-f1-border-secondary bg-f1-background", a),
3448
3448
  style: { maxWidth: i },
3449
- children: /* @__PURE__ */ X(ds, {
3449
+ children: /* @__PURE__ */ X(ys, {
3450
3450
  filters: e,
3451
3451
  tempFilters: p,
3452
3452
  selectedFilterKey: d,
@@ -3465,11 +3465,11 @@ var wu = Cu;
3465
3465
  //#endregion
3466
3466
  //#region src/blocks/F0Form/describeFormSchema.ts
3467
3467
  function Tu(e) {
3468
- let t = Da(e).shape, n = [];
3468
+ let t = la(e).shape, n = [];
3469
3469
  for (let [e, r] of Object.entries(t)) {
3470
- let t = r, i = Xi(t);
3470
+ let t = r, i = zi(t);
3471
3471
  if (!i) continue;
3472
- let a = Kr(t, i), o = en(t, a), s = {
3472
+ let a = ka(t, i), o = en(t, a), s = {
3473
3473
  name: e,
3474
3474
  type: a,
3475
3475
  label: i.label,
@@ -3541,9 +3541,9 @@ function Du(e) {
3541
3541
  let r = {
3542
3542
  ...n,
3543
3543
  ...e
3544
- }, i = Da(t), a = [];
3544
+ }, i = la(t), a = [];
3545
3545
  for (let [e, t] of Object.entries(i.shape)) {
3546
- let n = Xi(t);
3546
+ let n = zi(t);
3547
3547
  n?.renderIf ? Jt(n.renderIf, r) && a.push(e) : a.push(e);
3548
3548
  }
3549
3549
  return a;
@@ -3587,12 +3587,12 @@ var ku = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
3587
3587
  modal: !0,
3588
3588
  children: /* @__PURE__ */ Z("div", {
3589
3589
  className: "flex flex-col gap-4 py-2",
3590
- children: [/* @__PURE__ */ X(Ia, {
3590
+ children: [/* @__PURE__ */ X(ui, {
3591
3591
  type: n,
3592
3592
  size: "lg"
3593
3593
  }), /* @__PURE__ */ Z("div", {
3594
3594
  className: "flex flex-col gap-0.5",
3595
- children: [/* @__PURE__ */ X(li, {
3595
+ children: [/* @__PURE__ */ X(Ti, {
3596
3596
  className: "text-xl sm:text-lg",
3597
3597
  children: r
3598
3598
  }), /* @__PURE__ */ X(se, {
@@ -3652,8 +3652,8 @@ var ku = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
3652
3652
  return r.map((t) => ({
3653
3653
  ...t,
3654
3654
  actions: {
3655
- primary: Eo(t.actions.primary).map((n, r) => e(t, n, "primary", r)),
3656
- secondary: Eo(t.actions.secondary).map((n, r) => e(t, n, "secondary", r))
3655
+ primary: Po(t.actions.primary).map((n, r) => e(t, n, "primary", r)),
3656
+ secondary: Po(t.actions.secondary).map((n, r) => e(t, n, "secondary", r))
3657
3657
  }
3658
3658
  }));
3659
3659
  }, [r]), d = K(() => {
@@ -3833,7 +3833,7 @@ function Ru({ field: e, value: t, onChange: n, onBlur: r, error: i, errorMessage
3833
3833
  className: "text-base text-f1-foreground-secondary",
3834
3834
  children: e.helpText
3835
3835
  }) : null,
3836
- /* @__PURE__ */ X(Vo, { status: v })
3836
+ /* @__PURE__ */ X(Yo, { status: v })
3837
3837
  ]
3838
3838
  }) });
3839
3839
  }
@@ -3854,7 +3854,7 @@ function Vu({ children: e, ...t }) {
3854
3854
  }
3855
3855
  //#endregion
3856
3856
  //#region src/blocks/F0Wizard/components/WizardSteps.tsx
3857
- var Hu = Wa({
3857
+ var Hu = Qa({
3858
3858
  base: "flex-1 text-base font-medium leading-5 tracking-[-0.005em]",
3859
3859
  variants: { state: {
3860
3860
  active: "text-f1-foreground",
@@ -3868,7 +3868,7 @@ function Uu(e, t, n) {
3868
3868
  function Wu({ state: e, index: t }) {
3869
3869
  return e === "completed" ? /* @__PURE__ */ X("span", {
3870
3870
  className: "flex h-5 w-5 min-w-5 shrink-0 items-center justify-center rounded-xs bg-f1-background-secondary text-f1-foreground-secondary",
3871
- children: /* @__PURE__ */ X(Ms, { className: "h-3 w-3" })
3871
+ children: /* @__PURE__ */ X(Bs, { className: "h-3 w-3" })
3872
3872
  }) : /* @__PURE__ */ X(er, {
3873
3873
  value: t + 1,
3874
3874
  type: e === "active" ? "selected" : "default",
@@ -3979,7 +3979,7 @@ var qu = () => {}, Ju = ({ steps: e, children: t, isOpen: n, onClose: r = qu, ti
3979
3979
  onClose: r
3980
3980
  }), _ = R(), v = e[h.currentStep], y = h.currentStep === 0, b = h.currentStep === e.length - 1, x = b ? v?.nextLabel ?? l ?? _.wizard.submit : v?.nextLabel ?? s ?? _.wizard.next, S = v?.previousLabel ?? c ?? _.wizard.previous, C = K(() => ({
3981
3981
  label: x,
3982
- icon: b ? void 0 : xa,
3982
+ icon: b ? void 0 : Pi,
3983
3983
  onClick: () => void h.goNext(),
3984
3984
  disabled: v?.isCompleted?.() === !1 || v?.hasErrors?.() === !0,
3985
3985
  loading: h.loading
@@ -3990,7 +3990,7 @@ var qu = () => {}, Ju = ({ steps: e, children: t, isOpen: n, onClose: r = qu, ti
3990
3990
  v
3991
3991
  ]), w = K(() => y ? void 0 : {
3992
3992
  label: S,
3993
- icon: Fo,
3993
+ icon: Uo,
3994
3994
  onClick: h.goPrevious,
3995
3995
  disabled: h.loading
3996
3996
  }, [
@@ -4036,14 +4036,14 @@ Ju.displayName = "F0Wizard", L(Ju);
4036
4036
  //#endregion
4037
4037
  //#region src/blocks/F0WizardForm/F0WizardForm.tsx
4038
4038
  function Yu(e) {
4039
- let t = Da(e).shape, n = Object.entries(t);
4040
- return n.length !== 0 && n.every(([, e]) => Xi(e)?.disabled === !0);
4039
+ let t = la(e).shape, n = Object.entries(t);
4040
+ return n.length !== 0 && n.every(([, e]) => zi(e)?.disabled === !0);
4041
4041
  }
4042
4042
  function Xu(e, t) {
4043
4043
  if (t) return Object.keys(t);
4044
- let n = Da(e).shape, r = /* @__PURE__ */ new Set();
4044
+ let n = la(e).shape, r = /* @__PURE__ */ new Set();
4045
4045
  for (let e of Object.values(n)) {
4046
- let t = Xi(e);
4046
+ let t = zi(e);
4047
4047
  t?.section && r.add(t.section);
4048
4048
  }
4049
4049
  return Array.from(r);
@@ -4051,15 +4051,15 @@ function Xu(e, t) {
4051
4051
  function Zu(e, t) {
4052
4052
  let n = e.shape, r = {};
4053
4053
  for (let [e, i] of Object.entries(n)) {
4054
- let n = Xi(i);
4054
+ let n = zi(i);
4055
4055
  n?.section && t.includes(n.section) && (r[e] = i);
4056
4056
  }
4057
- return fi(r);
4057
+ return ga(r);
4058
4058
  }
4059
4059
  function Qu(e, t, n) {
4060
4060
  let r = t ?? {};
4061
4061
  if (n) return n({ data: r });
4062
- let i = Da(e).shape;
4062
+ let i = la(e).shape;
4063
4063
  return Object.entries(i).every(([e, t]) => {
4064
4064
  if (t.isOptional()) return !0;
4065
4065
  let n = r[e];
@@ -4285,7 +4285,7 @@ function id({ sectionId: e, formName: t, schema: n, sectionConfig: r, defaultVal
4285
4285
  });
4286
4286
  }
4287
4287
  function ad({ formDefinition: e, steps: t, isOpen: n, onClose: r, title: i, width: a, size: o, defaultStepIndex: s, nextLabel: c, previousLabel: l, onStepChanged: u, allowStepSkipping: f, autoCloseOnLastStepSubmit: p, linkAfterLastStepSubmit: m, autoSkipCompletedSteps: h = !1, renderCustomField: g }) {
4288
- let { name: _, schema: v, sections: y, defaultValues: b, onSubmit: x, submitConfig: S, errorTriggerMode: C = "on-blur" } = e, w = S?.label, T = K(() => Da(v), [v]), E = K(() => Xu(v, y), [v, y]), D = W((e) => Yu(Zu(T, e)), [T]), O = $e(), k = q(b ? { ...b } : {}), A = q(s ?? 0), j = W((e) => async () => {
4288
+ let { name: _, schema: v, sections: y, defaultValues: b, onSubmit: x, submitConfig: S, errorTriggerMode: C = "on-blur" } = e, w = S?.label, T = K(() => la(v), [v]), E = K(() => Xu(v, y), [v, y]), D = W((e) => Yu(Zu(T, e)), [T]), O = $e(), k = q(b ? { ...b } : {}), A = q(s ?? 0), j = W((e) => async () => {
4289
4289
  await O.submit();
4290
4290
  }, [O]), M = W((e) => O.hasErrors, [O.hasErrors]), N = t ?? e.steps, P = K(() => N ?? E.map((e) => ({
4291
4291
  title: y?.[e]?.title ?? e,
@@ -4502,7 +4502,7 @@ var pd = { open: fd }, md = [
4502
4502
  className: "flex items-center py-2",
4503
4503
  children: /* @__PURE__ */ X(z, { className: "h-1.5 w-full rounded-full" })
4504
4504
  })]
4505
- }), yd = Wa({
4505
+ }), yd = Qa({
4506
4506
  base: "relative h-1.5 grow overflow-hidden rounded-full bg-f1-background-tertiary",
4507
4507
  variants: { status: {
4508
4508
  default: "",
@@ -4510,7 +4510,7 @@ var pd = { open: fd }, md = [
4510
4510
  info: "",
4511
4511
  error: ""
4512
4512
  } }
4513
- }), bd = Wa({
4513
+ }), bd = Qa({
4514
4514
  base: "absolute h-full",
4515
4515
  variants: {
4516
4516
  status: {
@@ -4524,7 +4524,7 @@ var pd = { open: fd }, md = [
4524
4524
  false: ""
4525
4525
  }
4526
4526
  }
4527
- }), xd = 20, Sd = Wa({
4527
+ }), xd = 20, Sd = Qa({
4528
4528
  base: B("relative block rounded-full bg-f1-background border-[2px] border-solid", "transition-[transform,border-color] hover:scale-110", "motion-reduce:transition-none motion-reduce:hover:scale-100", "data-[disabled]:cursor-not-allowed data-[disabled]:hover:scale-100"),
4529
4529
  variants: {
4530
4530
  status: {
@@ -4543,7 +4543,7 @@ var pd = { open: fd }, md = [
4543
4543
  G(() => {
4544
4544
  process.env.NODE_ENV !== "production" && !T && console.warn("F0Slider: provide a non-empty `label` or `ariaLabel` for accessibility.");
4545
4545
  }, [T]);
4546
- let [E, D] = Gs({
4546
+ let [E, D] = ec({
4547
4547
  prop: u,
4548
4548
  defaultProp: d ?? m,
4549
4549
  onChange: f
@@ -4568,14 +4568,14 @@ var pd = { open: fd }, md = [
4568
4568
  I.current = !1;
4569
4569
  },
4570
4570
  children: [
4571
- ae ? /* @__PURE__ */ X(Bo, {
4571
+ ae ? /* @__PURE__ */ X(Jo, {
4572
4572
  label: n,
4573
4573
  required: s,
4574
4574
  htmlFor: S,
4575
4575
  id: C,
4576
4576
  disabled: c
4577
4577
  }) : null,
4578
- /* @__PURE__ */ Z(ic, {
4578
+ /* @__PURE__ */ Z(Hi, {
4579
4579
  value: [O],
4580
4580
  onValueChange: j,
4581
4581
  onValueCommit: M,
@@ -4590,14 +4590,14 @@ var pd = { open: fd }, md = [
4590
4590
  onMouseEnter: () => P(!0),
4591
4591
  onMouseLeave: () => P(!1),
4592
4592
  children: [
4593
- /* @__PURE__ */ X(rc, {
4593
+ /* @__PURE__ */ X(Wi, {
4594
4594
  className: yd({ status: ie }),
4595
- children: /* @__PURE__ */ X(tc, { className: bd({
4595
+ children: /* @__PURE__ */ X(ca, { className: bd({
4596
4596
  status: ie,
4597
4597
  disabled: c
4598
4598
  }) })
4599
4599
  }),
4600
- /* @__PURE__ */ X($s, {
4600
+ /* @__PURE__ */ X(Ba, {
4601
4601
  id: S,
4602
4602
  "aria-label": ae ? void 0 : T,
4603
4603
  "aria-labelledby": ae ? C : void 0,
@@ -4630,13 +4630,13 @@ var pd = { open: fd }, md = [
4630
4630
  id: w,
4631
4631
  role: "status",
4632
4632
  "aria-live": "polite",
4633
- children: /* @__PURE__ */ X(Vo, { status: oe })
4633
+ children: /* @__PURE__ */ X(Yo, { status: oe })
4634
4634
  })
4635
4635
  ]
4636
4636
  });
4637
4637
  });
4638
4638
  Cd.displayName = "F0Slider";
4639
- var wd = hn("F0Slider", sa(L(Cd), vd)), Td = [
4639
+ var wd = hn("F0Slider", Ai(L(Cd), vd)), Td = [
4640
4640
  "completed",
4641
4641
  "in-progress",
4642
4642
  "not-started"
@@ -4656,7 +4656,7 @@ var wd = hn("F0Slider", sa(L(Cd), vd)), Td = [
4656
4656
  "grey",
4657
4657
  "orange",
4658
4658
  "radical"
4659
- ], Dd = 16, Od = Wa({
4659
+ ], Dd = 16, Od = Qa({
4660
4660
  base: "h-0.5 rounded-full bg-f1-foreground cursor-pointer",
4661
4661
  variants: {
4662
4662
  depth: {
@@ -4753,7 +4753,7 @@ function Nd(e, t) {
4753
4753
  }
4754
4754
  //#endregion
4755
4755
  //#region src/blocks/F0TableOfContentPopover/F0TableOfContentPopover.tsx
4756
- var Pd = 300, Fd = 0, Id = Wa({
4756
+ var Pd = 300, Fd = 0, Id = Qa({
4757
4757
  base: "w-auto overflow-y-auto rounded-lg border border-solid border-f1-border-secondary bg-f1-background p-0 shadow-lg",
4758
4758
  variants: { size: {
4759
4759
  sm: "max-h-[240px]",
@@ -4773,12 +4773,12 @@ function Ld({ title: e, items: t, className: n, activeItem: r, collapsible: i =
4773
4773
  });
4774
4774
  }));
4775
4775
  }, []);
4776
- return /* @__PURE__ */ Z(ts, {
4776
+ return /* @__PURE__ */ Z(ls, {
4777
4777
  open: f,
4778
4778
  onOpenChange: _,
4779
4779
  openDelay: Fd,
4780
4780
  closeDelay: Pd,
4781
- children: [/* @__PURE__ */ X(Uo, {
4781
+ children: [/* @__PURE__ */ X(Zo, {
4782
4782
  asChild: !0,
4783
4783
  children: /* @__PURE__ */ X("button", {
4784
4784
  className: B(Tn(), "flex cursor-pointer items-center rounded-md px-1.5 py-1", n),
@@ -4790,7 +4790,7 @@ function Ld({ title: e, items: t, className: n, activeItem: r, collapsible: i =
4790
4790
  variant: u
4791
4791
  })
4792
4792
  })
4793
- }), /* @__PURE__ */ X($o, {
4793
+ }), /* @__PURE__ */ X(ss, {
4794
4794
  ref: v,
4795
4795
  side: c === "left" ? "right" : "left",
4796
4796
  align: "center",
@@ -4904,7 +4904,7 @@ function Ud(e) {
4904
4904
  }
4905
4905
  //#endregion
4906
4906
  //#region src/domains/talent/surveys/surveys/SurveyFormBuilder/ApplyingChangesTag/ApplyingChangesTag.tsx
4907
- var Wd = Gn.create(Ci), Gd = xc(() => {
4907
+ var Wd = Gn.create(Kr), Gd = xc(() => {
4908
4908
  let e = R();
4909
4909
  return /* @__PURE__ */ Z("div", {
4910
4910
  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",
@@ -5260,74 +5260,74 @@ var sf = () => {
5260
5260
  let { isQuestionTypeAllowed: e, datasets: t } = nf(), { t: n } = R(), r = [
5261
5261
  {
5262
5262
  label: n("surveyFormBuilder.questionTypes.rating"),
5263
- icon: _a,
5263
+ icon: Wr,
5264
5264
  questionType: "rating"
5265
5265
  },
5266
5266
  {
5267
5267
  label: n("surveyFormBuilder.questionTypes.multipleChoice"),
5268
- icon: Vi,
5268
+ icon: ta,
5269
5269
  questionType: "multi-select"
5270
5270
  },
5271
5271
  {
5272
5272
  label: n("surveyFormBuilder.questionTypes.singleChoice"),
5273
- icon: Ms,
5273
+ icon: Bs,
5274
5274
  questionType: "select"
5275
5275
  },
5276
5276
  {
5277
5277
  label: n("surveyFormBuilder.questionTypes.text"),
5278
- icon: wa,
5278
+ icon: Ga,
5279
5279
  questionType: "text"
5280
5280
  },
5281
5281
  {
5282
5282
  label: n("surveyFormBuilder.questionTypes.longText"),
5283
- icon: ha,
5283
+ icon: Ii,
5284
5284
  questionType: "longText"
5285
5285
  },
5286
5286
  {
5287
5287
  label: n("surveyFormBuilder.questionTypes.numeric"),
5288
- icon: Jr,
5288
+ icon: Ra,
5289
5289
  questionType: "numeric"
5290
5290
  },
5291
5291
  {
5292
5292
  label: n("surveyFormBuilder.questionTypes.link"),
5293
- icon: Ca,
5293
+ icon: Ha,
5294
5294
  questionType: "link"
5295
5295
  },
5296
5296
  {
5297
5297
  label: n("surveyFormBuilder.questionTypes.date"),
5298
- icon: Di,
5298
+ icon: Ji,
5299
5299
  questionType: "date"
5300
5300
  },
5301
5301
  {
5302
5302
  label: n("surveyFormBuilder.questionTypes.file"),
5303
- icon: ra,
5303
+ icon: Fi,
5304
5304
  questionType: "file"
5305
5305
  },
5306
5306
  {
5307
5307
  label: n("surveyFormBuilder.questionTypes.checkbox"),
5308
- icon: Ns,
5308
+ icon: Vs,
5309
5309
  questionType: "checkbox"
5310
5310
  }
5311
5311
  ].filter((t) => e(t.questionType)), i = e("dropdown-single") ? Object.entries(t ?? {}).map(([e, t]) => ({
5312
5312
  label: t.title,
5313
- icon: t.icon ?? Xa,
5313
+ icon: t.icon ?? io,
5314
5314
  questionType: "dropdown-single",
5315
5315
  datasetKey: e
5316
5316
  })) : [];
5317
5317
  return [...r, ...i];
5318
5318
  }, cf = {
5319
- rating: _a,
5320
- "multi-select": Vi,
5321
- select: Ms,
5322
- text: wa,
5323
- longText: ha,
5324
- numeric: Jr,
5325
- link: Ca,
5326
- date: Di,
5327
- "dropdown-single": Xa,
5328
- "dropdown-multi": Xa,
5329
- file: ra,
5330
- checkbox: Ns
5319
+ rating: Wr,
5320
+ "multi-select": ta,
5321
+ select: Bs,
5322
+ text: Ga,
5323
+ longText: Ii,
5324
+ numeric: Ra,
5325
+ link: Ha,
5326
+ date: Ji,
5327
+ "dropdown-single": io,
5328
+ "dropdown-multi": io,
5329
+ file: Fi,
5330
+ checkbox: Vs
5331
5331
  }, lf = () => {
5332
5332
  let { disabled: e, answering: t, onAddNewElement: n, isQuestionTypeAllowed: r, labels: i } = nf(), [a, o] = J(!1), s = sf(), { t: c } = R(), l = i?.addQuestion ?? c("surveyFormBuilder.actions.addQuestion"), u = (e, t) => {
5333
5333
  n?.({
@@ -5339,28 +5339,28 @@ var sf = () => {
5339
5339
  }, f = s.filter((e) => !e.datasetKey), p = Array.from(new Set(s.filter((e) => !!e.datasetKey).map((e) => e.datasetKey)));
5340
5340
  return e || t ? null : /* @__PURE__ */ X("div", {
5341
5341
  className: "ml-6 flex justify-center",
5342
- children: /* @__PURE__ */ Z(Js, {
5342
+ children: /* @__PURE__ */ Z(rc, {
5343
5343
  open: a,
5344
5344
  onOpenChange: o,
5345
- children: [/* @__PURE__ */ X(Rs, {
5345
+ children: [/* @__PURE__ */ X(qs, {
5346
5346
  asChild: !0,
5347
5347
  children: /* @__PURE__ */ X(V, {
5348
- icon: $a,
5348
+ icon: so,
5349
5349
  label: l,
5350
5350
  size: "md",
5351
5351
  variant: "outline",
5352
5352
  hideLabel: !0
5353
5353
  })
5354
- }), /* @__PURE__ */ Z(Is, {
5354
+ }), /* @__PURE__ */ Z(Gs, {
5355
5355
  align: "center",
5356
5356
  className: "w-80",
5357
5357
  children: [
5358
- /* @__PURE__ */ X(Bs, {
5358
+ /* @__PURE__ */ X(Ys, {
5359
5359
  onClick: d,
5360
5360
  children: /* @__PURE__ */ Z("div", {
5361
5361
  className: "flex w-full flex-row items-center gap-2",
5362
5362
  children: [/* @__PURE__ */ X(H, {
5363
- icon: ia,
5363
+ icon: Xr,
5364
5364
  color: "default"
5365
5365
  }), /* @__PURE__ */ X("span", {
5366
5366
  className: "flex-1 text-base font-medium",
@@ -5368,8 +5368,8 @@ var sf = () => {
5368
5368
  })]
5369
5369
  })
5370
5370
  }),
5371
- /* @__PURE__ */ X(zs, {}),
5372
- f.map((e) => /* @__PURE__ */ X(Bs, {
5371
+ /* @__PURE__ */ X(Js, {}),
5372
+ f.map((e) => /* @__PURE__ */ X(Ys, {
5373
5373
  onClick: () => u(e.questionType),
5374
5374
  children: /* @__PURE__ */ Z("div", {
5375
5375
  className: "flex w-full flex-row items-center gap-2",
@@ -5382,9 +5382,9 @@ var sf = () => {
5382
5382
  })]
5383
5383
  })
5384
5384
  }, e.questionType)),
5385
- p.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(zs, {}), p.map((e) => {
5385
+ p.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(Js, {}), p.map((e) => {
5386
5386
  let t = s.find((t) => t.datasetKey === e && t.questionType === "dropdown-single");
5387
- return /* @__PURE__ */ Z(Us, { children: [/* @__PURE__ */ X(Ls, {
5387
+ return /* @__PURE__ */ Z(Qs, { children: [/* @__PURE__ */ X(Ks, {
5388
5388
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
5389
5389
  children: /* @__PURE__ */ Z("div", {
5390
5390
  className: "flex w-full flex-row items-center gap-2",
@@ -5396,24 +5396,24 @@ var sf = () => {
5396
5396
  children: t?.label ?? e
5397
5397
  })]
5398
5398
  })
5399
- }), /* @__PURE__ */ X(Hs, { children: /* @__PURE__ */ Z(Xs, { children: [r("dropdown-single") ? /* @__PURE__ */ X(Bs, {
5399
+ }), /* @__PURE__ */ X(Zs, { children: /* @__PURE__ */ Z(ac, { children: [r("dropdown-single") ? /* @__PURE__ */ X(Ys, {
5400
5400
  onClick: () => u("dropdown-single", e),
5401
5401
  children: /* @__PURE__ */ Z("div", {
5402
5402
  className: "flex w-full flex-row items-center gap-2",
5403
5403
  children: [/* @__PURE__ */ X(H, {
5404
- icon: Ms,
5404
+ icon: Bs,
5405
5405
  color: "default"
5406
5406
  }), /* @__PURE__ */ X("span", {
5407
5407
  className: "flex-1",
5408
5408
  children: c("surveyFormBuilder.labels.singleSelection")
5409
5409
  })]
5410
5410
  })
5411
- }) : null, r("dropdown-multi") ? /* @__PURE__ */ X(Bs, {
5411
+ }) : null, r("dropdown-multi") ? /* @__PURE__ */ X(Ys, {
5412
5412
  onClick: () => u("dropdown-multi", e),
5413
5413
  children: /* @__PURE__ */ Z("div", {
5414
5414
  className: "flex w-full flex-row items-center gap-2",
5415
5415
  children: [/* @__PURE__ */ X(H, {
5416
- icon: Vi,
5416
+ icon: ta,
5417
5417
  color: "default"
5418
5418
  }), /* @__PURE__ */ X("span", {
5419
5419
  className: "flex-1",
@@ -5561,7 +5561,7 @@ function hf({ questionId: e, questionType: t, canDelete: n = !0 }) {
5561
5561
  }
5562
5562
  //#endregion
5563
5563
  //#region src/domains/talent/surveys/surveys/SurveyFormBuilder/QuestionTypes/BaseQuestion/ActionsMenu/ActionsMenu.tsx
5564
- var gf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(Bs, {
5564
+ var gf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(Ys, {
5565
5565
  className: "!pb-2.5 pr-4",
5566
5566
  onClick: (e) => {
5567
5567
  e.preventDefault(), r(!n);
@@ -5569,7 +5569,7 @@ var gf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(B
5569
5569
  children: /* @__PURE__ */ Z("div", {
5570
5570
  className: "flex w-full flex-row items-center gap-2",
5571
5571
  children: [
5572
- /* @__PURE__ */ X(Ua, {
5572
+ /* @__PURE__ */ X(Za, {
5573
5573
  icon: t,
5574
5574
  color: "default"
5575
5575
  }),
@@ -5577,7 +5577,7 @@ var gf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(B
5577
5577
  className: "flex-1",
5578
5578
  children: e
5579
5579
  }),
5580
- /* @__PURE__ */ X(fs, {
5580
+ /* @__PURE__ */ X(bs, {
5581
5581
  title: e,
5582
5582
  checked: n,
5583
5583
  onCheckedChange: r,
@@ -5587,13 +5587,13 @@ var gf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(B
5587
5587
  })
5588
5588
  }), _f = ({ label: e, value: t, currentDatasetKey: n, questionTypes: r, currentRatingType: i, isQuestionTypeAllowed: a, onSelectQuestionType: o, onSelectRatingType: s }) => {
5589
5589
  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;
5590
- return /* @__PURE__ */ Z(Us, { children: [/* @__PURE__ */ X(Ls, {
5590
+ return /* @__PURE__ */ Z(Qs, { children: [/* @__PURE__ */ X(Ks, {
5591
5591
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
5592
5592
  children: /* @__PURE__ */ Z("div", {
5593
5593
  className: "flex w-full flex-row items-center gap-2",
5594
5594
  children: [
5595
- /* @__PURE__ */ X(Ua, {
5596
- icon: ka,
5595
+ /* @__PURE__ */ X(Za, {
5596
+ icon: xi,
5597
5597
  color: "default"
5598
5598
  }),
5599
5599
  /* @__PURE__ */ X("span", {
@@ -5606,14 +5606,14 @@ var gf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(B
5606
5606
  }) : null
5607
5607
  ]
5608
5608
  })
5609
- }), /* @__PURE__ */ X(Hs, { children: /* @__PURE__ */ Z(Xs, { children: [l.map((e) => {
5609
+ }), /* @__PURE__ */ X(Zs, { children: /* @__PURE__ */ Z(ac, { children: [l.map((e) => {
5610
5610
  let r = e.questionType === "rating", a = t === e.questionType && !n;
5611
- return r ? /* @__PURE__ */ Z(Us, { children: [/* @__PURE__ */ X(Ls, {
5611
+ return r ? /* @__PURE__ */ Z(Qs, { children: [/* @__PURE__ */ X(Ks, {
5612
5612
  className: "mx-1 mt-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
5613
5613
  children: /* @__PURE__ */ Z("div", {
5614
5614
  className: "flex w-full flex-row items-center gap-2 text-base font-medium",
5615
5615
  children: [
5616
- /* @__PURE__ */ X(Ua, {
5616
+ /* @__PURE__ */ X(Za, {
5617
5617
  icon: e.icon,
5618
5618
  color: "default"
5619
5619
  }),
@@ -5627,24 +5627,24 @@ var gf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(B
5627
5627
  }) : null
5628
5628
  ]
5629
5629
  })
5630
- }), /* @__PURE__ */ X(Hs, { children: /* @__PURE__ */ X(Xs, { children: df.map((e) => /* @__PURE__ */ X(Bs, {
5630
+ }), /* @__PURE__ */ X(Zs, { children: /* @__PURE__ */ X(ac, { children: df.map((e) => /* @__PURE__ */ X(Ys, {
5631
5631
  onClick: () => s(e.value),
5632
5632
  children: /* @__PURE__ */ Z("div", {
5633
5633
  className: "flex w-full flex-row items-center gap-2 pl-2",
5634
5634
  children: [/* @__PURE__ */ X("span", {
5635
5635
  className: "flex-1",
5636
5636
  children: e.label
5637
- }), i === e.value ? /* @__PURE__ */ X(Ua, {
5638
- icon: Ms,
5637
+ }), i === e.value ? /* @__PURE__ */ X(Za, {
5638
+ icon: Bs,
5639
5639
  color: "default"
5640
5640
  }) : null]
5641
5641
  })
5642
- }, e.value)) }) })] }, e.questionType) : /* @__PURE__ */ X(Bs, {
5642
+ }, e.value)) }) })] }, e.questionType) : /* @__PURE__ */ X(Ys, {
5643
5643
  onClick: () => o(e.questionType),
5644
5644
  children: /* @__PURE__ */ Z("div", {
5645
5645
  className: "flex w-full flex-row items-center gap-2",
5646
5646
  children: [
5647
- /* @__PURE__ */ X(Ua, {
5647
+ /* @__PURE__ */ X(Za, {
5648
5648
  icon: e.icon,
5649
5649
  color: "default"
5650
5650
  }),
@@ -5652,21 +5652,21 @@ var gf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(B
5652
5652
  className: "flex-1",
5653
5653
  children: e.label
5654
5654
  }),
5655
- a ? /* @__PURE__ */ X(Ua, {
5656
- icon: Ms,
5655
+ a ? /* @__PURE__ */ X(Za, {
5656
+ icon: Bs,
5657
5657
  color: "default"
5658
5658
  }) : null
5659
5659
  ]
5660
5660
  })
5661
5661
  }, e.questionType);
5662
- }), u.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(zs, {}), u.map((e) => {
5662
+ }), u.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(Js, {}), u.map((e) => {
5663
5663
  let i = r.find((t) => t.datasetKey === e && t.questionType === "dropdown-single");
5664
- return /* @__PURE__ */ Z(Us, { children: [/* @__PURE__ */ X(Ls, {
5664
+ return /* @__PURE__ */ Z(Qs, { children: [/* @__PURE__ */ X(Ks, {
5665
5665
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
5666
5666
  children: /* @__PURE__ */ Z("div", {
5667
5667
  className: "flex w-full flex-row items-center gap-2",
5668
5668
  children: [
5669
- i ? /* @__PURE__ */ X(Ua, {
5669
+ i ? /* @__PURE__ */ X(Za, {
5670
5670
  icon: i.icon,
5671
5671
  color: "default"
5672
5672
  }) : null,
@@ -5674,71 +5674,71 @@ var gf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(B
5674
5674
  className: "flex-1 text-base font-medium",
5675
5675
  children: i?.label ?? e
5676
5676
  }),
5677
- n === e ? /* @__PURE__ */ X(Ua, {
5678
- icon: Ms,
5677
+ n === e ? /* @__PURE__ */ X(Za, {
5678
+ icon: Bs,
5679
5679
  color: "default"
5680
5680
  }) : null
5681
5681
  ]
5682
5682
  })
5683
- }), /* @__PURE__ */ X(Hs, { children: /* @__PURE__ */ Z(Xs, { children: [a("dropdown-single") ? /* @__PURE__ */ X(Bs, {
5683
+ }), /* @__PURE__ */ X(Zs, { children: /* @__PURE__ */ Z(ac, { children: [a("dropdown-single") ? /* @__PURE__ */ X(Ys, {
5684
5684
  onClick: () => o("dropdown-single", e),
5685
5685
  children: /* @__PURE__ */ Z("div", {
5686
5686
  className: "flex w-full flex-row items-center gap-2",
5687
5687
  children: [
5688
- /* @__PURE__ */ X(Ua, {
5689
- icon: Ms,
5688
+ /* @__PURE__ */ X(Za, {
5689
+ icon: Bs,
5690
5690
  color: "default"
5691
5691
  }),
5692
5692
  /* @__PURE__ */ X("span", {
5693
5693
  className: "flex-1",
5694
5694
  children: c("surveyFormBuilder.labels.singleSelection")
5695
5695
  }),
5696
- n === e && t === "dropdown-single" ? /* @__PURE__ */ X(Ua, {
5697
- icon: Ms,
5696
+ n === e && t === "dropdown-single" ? /* @__PURE__ */ X(Za, {
5697
+ icon: Bs,
5698
5698
  color: "default"
5699
5699
  }) : null
5700
5700
  ]
5701
5701
  })
5702
- }) : null, a("dropdown-multi") ? /* @__PURE__ */ X(Bs, {
5702
+ }) : null, a("dropdown-multi") ? /* @__PURE__ */ X(Ys, {
5703
5703
  onClick: () => o("dropdown-multi", e),
5704
5704
  children: /* @__PURE__ */ Z("div", {
5705
5705
  className: "flex w-full flex-row items-center gap-2",
5706
5706
  children: [
5707
- /* @__PURE__ */ X(Ua, {
5708
- icon: Vi,
5707
+ /* @__PURE__ */ X(Za, {
5708
+ icon: ta,
5709
5709
  color: "default"
5710
5710
  }),
5711
5711
  /* @__PURE__ */ X("span", {
5712
5712
  className: "flex-1",
5713
5713
  children: c("surveyFormBuilder.labels.multiSelection")
5714
5714
  }),
5715
- n === e && t === "dropdown-multi" ? /* @__PURE__ */ X(Ua, {
5716
- icon: Ms,
5715
+ n === e && t === "dropdown-multi" ? /* @__PURE__ */ X(Za, {
5716
+ icon: Bs,
5717
5717
  color: "default"
5718
5718
  }) : null
5719
5719
  ]
5720
5720
  })
5721
5721
  }) : null] }) })] }, e);
5722
5722
  })] }) : null] }) })] });
5723
- }, vf = ({ label: e, icon: t, onClick: n, critical: r }) => /* @__PURE__ */ X(Bs, {
5723
+ }, vf = ({ label: e, icon: t, onClick: n, critical: r }) => /* @__PURE__ */ X(Ys, {
5724
5724
  onClick: n,
5725
5725
  className: B(r ? "text-f1-foreground-critical" : void 0),
5726
5726
  children: /* @__PURE__ */ Z("div", {
5727
5727
  className: "flex w-full flex-row items-center gap-2",
5728
- children: [/* @__PURE__ */ X(Ua, { icon: t }), /* @__PURE__ */ X("span", {
5728
+ children: [/* @__PURE__ */ X(Za, { icon: t }), /* @__PURE__ */ X("span", {
5729
5729
  className: "flex-1",
5730
5730
  children: e
5731
5731
  })]
5732
5732
  })
5733
5733
  }), yf = ({ showDuplicate: e, showDelete: t, withSeparator: n, onDuplicate: r, onDelete: i }) => {
5734
5734
  let { t: a } = R(), { labels: o } = nf();
5735
- return !e && !t ? null : /* @__PURE__ */ Z(Y, { children: [n ? /* @__PURE__ */ X(zs, {}) : null, /* @__PURE__ */ Z(qs, { children: [e ? /* @__PURE__ */ X(vf, {
5735
+ return !e && !t ? null : /* @__PURE__ */ Z(Y, { children: [n ? /* @__PURE__ */ X(Js, {}) : null, /* @__PURE__ */ Z(nc, { children: [e ? /* @__PURE__ */ X(vf, {
5736
5736
  label: o?.duplicateQuestion ?? a("surveyFormBuilder.actions.duplicateQuestion"),
5737
- icon: Qi,
5737
+ icon: Bi,
5738
5738
  onClick: r
5739
5739
  }) : null, t ? /* @__PURE__ */ X(vf, {
5740
5740
  label: o?.deleteQuestion ?? a("surveyFormBuilder.actions.deleteQuestion"),
5741
- icon: ui,
5741
+ icon: Oi,
5742
5742
  onClick: i,
5743
5743
  critical: !0
5744
5744
  }) : null] })] });
@@ -5749,47 +5749,47 @@ function bf({ open: e, setOpen: t, questionId: n, questionType: r, canDeleteQues
5749
5749
  questionType: r,
5750
5750
  canDelete: i
5751
5751
  }), w = (e) => a?.includes(e) ?? !1, T = !g && !w("required"), E = !!f && !w("multiSelect"), D = !!f && h && r === "dropdown-single" && !w("allowCreate"), O = !w("questionType"), k = !w("duplicate"), A = i && !w("delete");
5752
- return !T && !E && !D && !O && !k && !A ? null : /* @__PURE__ */ Z(Js, {
5752
+ return !T && !E && !D && !O && !k && !A ? null : /* @__PURE__ */ Z(rc, {
5753
5753
  open: e,
5754
5754
  onOpenChange: t,
5755
- children: [/* @__PURE__ */ X(Rs, {
5755
+ children: [/* @__PURE__ */ X(qs, {
5756
5756
  tabIndex: -1,
5757
5757
  asChild: !0,
5758
5758
  children: /* @__PURE__ */ X(V, {
5759
- icon: qr,
5759
+ icon: Hs,
5760
5760
  label: o("surveyFormBuilder.labels.actions"),
5761
5761
  size: "md",
5762
5762
  variant: "ghost",
5763
5763
  tooltip: !1,
5764
5764
  hideLabel: !0
5765
5765
  })
5766
- }), /* @__PURE__ */ Z(Is, {
5766
+ }), /* @__PURE__ */ Z(Gs, {
5767
5767
  className: "w-80",
5768
5768
  align: "start",
5769
5769
  children: [
5770
- /* @__PURE__ */ X(Vs, {
5770
+ /* @__PURE__ */ X(Xs, {
5771
5771
  className: "p-4 pb-2 font-medium text-f1-foreground-secondary",
5772
5772
  children: c?.questionOptions ?? o("surveyFormBuilder.labels.questionOptions")
5773
5773
  }),
5774
- T ? /* @__PURE__ */ X(qs, { children: /* @__PURE__ */ X(gf, {
5774
+ T ? /* @__PURE__ */ X(nc, { children: /* @__PURE__ */ X(gf, {
5775
5775
  label: o("surveyFormBuilder.labels.required"),
5776
- icon: ua,
5776
+ icon: Wa,
5777
5777
  checked: !!l?.required,
5778
5778
  onChange: _
5779
5779
  }) }) : null,
5780
- E ? /* @__PURE__ */ X(qs, { children: /* @__PURE__ */ X(gf, {
5780
+ E ? /* @__PURE__ */ X(nc, { children: /* @__PURE__ */ X(gf, {
5781
5781
  label: o("surveyFormBuilder.labels.allowMultiSelection"),
5782
- icon: Vi,
5782
+ icon: ta,
5783
5783
  checked: p,
5784
5784
  onChange: b
5785
5785
  }) }) : null,
5786
- D ? /* @__PURE__ */ X(qs, { children: /* @__PURE__ */ X(gf, {
5786
+ D ? /* @__PURE__ */ X(nc, { children: /* @__PURE__ */ X(gf, {
5787
5787
  label: o("surveyFormBuilder.labels.allowCreate"),
5788
- icon: _s,
5788
+ icon: Ts,
5789
5789
  checked: m,
5790
5790
  onChange: x
5791
5791
  }) }) : null,
5792
- O ? /* @__PURE__ */ X(qs, { children: /* @__PURE__ */ X(_f, {
5792
+ O ? /* @__PURE__ */ X(nc, { children: /* @__PURE__ */ X(_f, {
5793
5793
  label: c?.questionType ?? o("surveyFormBuilder.labels.questionType"),
5794
5794
  value: r,
5795
5795
  currentDatasetKey: f,
@@ -5894,7 +5894,7 @@ var xf = ({ notice: e, className: t, children: n }) => {
5894
5894
  children: /* @__PURE__ */ X("span", {
5895
5895
  className: "inline-flex",
5896
5896
  children: /* @__PURE__ */ X(V, {
5897
- icon: Ps,
5897
+ icon: Us,
5898
5898
  label: A("surveyFormBuilder.labels.locked"),
5899
5899
  size: "md",
5900
5900
  variant: "ghost",
@@ -5905,7 +5905,7 @@ var xf = ({ notice: e, className: t, children: n }) => {
5905
5905
  })
5906
5906
  })
5907
5907
  }) : /* @__PURE__ */ X(V, {
5908
- icon: Ps,
5908
+ icon: Us,
5909
5909
  label: A("surveyFormBuilder.labels.locked"),
5910
5910
  size: "md",
5911
5911
  variant: "ghost",
@@ -5948,36 +5948,36 @@ var xf = ({ notice: e, className: t, children: n }) => {
5948
5948
  }) : null,
5949
5949
  !f && !p && !b ? /* @__PURE__ */ X("div", {
5950
5950
  className: B("absolute bottom-0 left-1/2 translate-x-[-50%] translate-y-[50%] bg-f1-background opacity-0 group-hover/question:opacity-100", T && "opacity-100"),
5951
- children: /* @__PURE__ */ Z(Js, {
5951
+ children: /* @__PURE__ */ Z(rc, {
5952
5952
  open: T,
5953
5953
  onOpenChange: E,
5954
- children: [/* @__PURE__ */ X(Rs, {
5954
+ children: [/* @__PURE__ */ X(qs, {
5955
5955
  asChild: !0,
5956
5956
  children: /* @__PURE__ */ X(V, {
5957
- icon: $a,
5957
+ icon: so,
5958
5958
  label: M,
5959
5959
  size: "sm",
5960
5960
  variant: "outline",
5961
5961
  hideLabel: !0
5962
5962
  })
5963
- }), /* @__PURE__ */ Z(Is, {
5963
+ }), /* @__PURE__ */ Z(Gs, {
5964
5964
  align: "center",
5965
5965
  className: "w-80",
5966
5966
  children: [
5967
- w ? null : /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(Bs, {
5967
+ w ? null : /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(Ys, {
5968
5968
  onClick: te,
5969
5969
  children: /* @__PURE__ */ Z("div", {
5970
5970
  className: "flex w-full flex-row items-center gap-2",
5971
5971
  children: [/* @__PURE__ */ X(H, {
5972
- icon: ia,
5972
+ icon: Xr,
5973
5973
  color: "default"
5974
5974
  }), /* @__PURE__ */ X("span", {
5975
5975
  className: "flex-1 text-base font-medium",
5976
5976
  children: A("surveyFormBuilder.questionTypes.section")
5977
5977
  })]
5978
5978
  })
5979
- }), /* @__PURE__ */ X(zs, {})] }),
5980
- I.map((e) => /* @__PURE__ */ X(Bs, {
5979
+ }), /* @__PURE__ */ X(Js, {})] }),
5980
+ I.map((e) => /* @__PURE__ */ X(Ys, {
5981
5981
  onClick: () => ee(e.questionType),
5982
5982
  children: /* @__PURE__ */ Z("div", {
5983
5983
  className: "flex w-full flex-row items-center gap-2",
@@ -5990,9 +5990,9 @@ var xf = ({ notice: e, className: t, children: n }) => {
5990
5990
  })]
5991
5991
  })
5992
5992
  }, e.questionType)),
5993
- re.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(zs, {}), re.map((e) => {
5993
+ re.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(Js, {}), re.map((e) => {
5994
5994
  let t = ne.find((t) => t.datasetKey === e && t.questionType === "dropdown-single");
5995
- return /* @__PURE__ */ Z(Us, { children: [/* @__PURE__ */ X(Ls, {
5995
+ return /* @__PURE__ */ Z(Qs, { children: [/* @__PURE__ */ X(Ks, {
5996
5996
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
5997
5997
  children: /* @__PURE__ */ Z("div", {
5998
5998
  className: "flex w-full flex-row items-center gap-2",
@@ -6004,24 +6004,24 @@ var xf = ({ notice: e, className: t, children: n }) => {
6004
6004
  children: t?.label ?? e
6005
6005
  })]
6006
6006
  })
6007
- }), /* @__PURE__ */ X(Hs, { children: /* @__PURE__ */ Z(Xs, { children: [g("dropdown-single") ? /* @__PURE__ */ X(Bs, {
6007
+ }), /* @__PURE__ */ X(Zs, { children: /* @__PURE__ */ Z(ac, { children: [g("dropdown-single") ? /* @__PURE__ */ X(Ys, {
6008
6008
  onClick: () => ee("dropdown-single", e),
6009
6009
  children: /* @__PURE__ */ Z("div", {
6010
6010
  className: "flex w-full flex-row items-center gap-2",
6011
6011
  children: [/* @__PURE__ */ X(H, {
6012
- icon: Ms,
6012
+ icon: Bs,
6013
6013
  color: "default"
6014
6014
  }), /* @__PURE__ */ X("span", {
6015
6015
  className: "flex-1",
6016
6016
  children: A("surveyFormBuilder.labels.singleSelection")
6017
6017
  })]
6018
6018
  })
6019
- }) : null, g("dropdown-multi") ? /* @__PURE__ */ X(Bs, {
6019
+ }) : null, g("dropdown-multi") ? /* @__PURE__ */ X(Ys, {
6020
6020
  onClick: () => ee("dropdown-multi", e),
6021
6021
  children: /* @__PURE__ */ Z("div", {
6022
6022
  className: "flex w-full flex-row items-center gap-2",
6023
6023
  children: [/* @__PURE__ */ X(H, {
6024
- icon: Vi,
6024
+ icon: ta,
6025
6025
  color: "default"
6026
6026
  }), /* @__PURE__ */ X("span", {
6027
6027
  className: "flex-1",
@@ -6049,7 +6049,7 @@ var wf = ({ value: e, label: t, ...n }) => {
6049
6049
  let { onQuestionChange: r, answering: i, disabled: a, getSectionContainingQuestion: o } = nf(), s = Cf(n), { t: c } = R();
6050
6050
  if (i) return /* @__PURE__ */ X(Sf, {
6051
6051
  ...n,
6052
- children: /* @__PURE__ */ X(Jo, {
6052
+ children: /* @__PURE__ */ X(ns, {
6053
6053
  id: n.id,
6054
6054
  checked: e ?? !1,
6055
6055
  onCheckedChange: (e) => {
@@ -6069,7 +6069,7 @@ var wf = ({ value: e, label: t, ...n }) => {
6069
6069
  ...n,
6070
6070
  children: /* @__PURE__ */ Z("div", {
6071
6071
  className: "flex items-start",
6072
- children: [/* @__PURE__ */ X(Jo, {
6072
+ children: [/* @__PURE__ */ X(ns, {
6073
6073
  checked: !1,
6074
6074
  disabled: !0,
6075
6075
  hideLabel: !0,
@@ -6255,8 +6255,8 @@ var wf = ({ value: e, label: t, ...n }) => {
6255
6255
  required: t.required,
6256
6256
  maxDecimals: 0,
6257
6257
  placeholder: s,
6258
- icon: Jr
6259
- }) : /* @__PURE__ */ X(Ei, {
6258
+ icon: Ra
6259
+ }) : /* @__PURE__ */ X(xa, {
6260
6260
  type: "text",
6261
6261
  size: "md",
6262
6262
  value: s,
@@ -6264,7 +6264,7 @@ var wf = ({ value: e, label: t, ...n }) => {
6264
6264
  disabled: !0,
6265
6265
  label: n("surveyFormBuilder.answer.label"),
6266
6266
  hideLabel: !0,
6267
- icon: Jr
6267
+ icon: Ra
6268
6268
  })
6269
6269
  });
6270
6270
  }, Mf = ({ option: e, selected: t, onClick: n, onChangeLabel: r, disabled: i, isEmojiMode: a = !1 }) => {
@@ -6277,10 +6277,10 @@ var wf = ({ value: e, label: t, ...n }) => {
6277
6277
  onClick: () => {
6278
6278
  i || n(o);
6279
6279
  },
6280
- children: a ? /* @__PURE__ */ Z(Ys, {
6280
+ children: a ? /* @__PURE__ */ Z(ic, {
6281
6281
  open: !i && c,
6282
6282
  onOpenChange: i ? void 0 : l,
6283
- children: [/* @__PURE__ */ X(Ws, {
6283
+ children: [/* @__PURE__ */ X($s, {
6284
6284
  asChild: !0,
6285
6285
  children: /* @__PURE__ */ X(V, {
6286
6286
  emoji: s,
@@ -6290,7 +6290,7 @@ var wf = ({ value: e, label: t, ...n }) => {
6290
6290
  withoutDisabledAppearance: !0,
6291
6291
  hideLabel: !0
6292
6292
  })
6293
- }), /* @__PURE__ */ X(Ks, {
6293
+ }), /* @__PURE__ */ X(tc, {
6294
6294
  side: "bottom",
6295
6295
  align: "center",
6296
6296
  className: "w-fit border-none bg-transparent p-2 shadow-none",
@@ -6421,7 +6421,7 @@ var Lf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6421
6421
  children: [
6422
6422
  /* @__PURE__ */ X("div", {
6423
6423
  className: B("block", E ? "group-hover:hidden" : "cursor-default", p && "cursor-grabbing [&_button]:cursor-grabbing"),
6424
- children: u === "multi-select" ? /* @__PURE__ */ X(Jo, {
6424
+ children: u === "multi-select" ? /* @__PURE__ */ X(ns, {
6425
6425
  title: f,
6426
6426
  checked: o ? !!s : !1,
6427
6427
  onCheckedChange: y,
@@ -6437,8 +6437,8 @@ var Lf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6437
6437
  className: B("hidden scale-75 cursor-grab", D && "active:cursor-grabbing", E && "group-hover:block", p && "cursor-grabbing", !D && "cursor-not-allowed"),
6438
6438
  children: /* @__PURE__ */ X("div", {
6439
6439
  className: B("flex aspect-square scale-90 items-center justify-center", u === "multi-select" ? "w-6" : "w-5"),
6440
- children: /* @__PURE__ */ X(Ua, {
6441
- icon: aa,
6440
+ children: /* @__PURE__ */ X(Za, {
6441
+ icon: Gr,
6442
6442
  size: "sm"
6443
6443
  })
6444
6444
  })
@@ -6461,13 +6461,13 @@ var Lf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6461
6461
  children: [/* @__PURE__ */ X(V, {
6462
6462
  label: _("surveyFormBuilder.selectQuestion.markAsCorrect"),
6463
6463
  variant: "ghost",
6464
- icon: c ? bi : oi,
6464
+ icon: c ? Ni : Li,
6465
6465
  onClick: x,
6466
6466
  hideLabel: !0
6467
6467
  }), /* @__PURE__ */ X(V, {
6468
6468
  label: _("surveyFormBuilder.selectQuestion.remove"),
6469
6469
  variant: "ghost",
6470
- icon: ui,
6470
+ icon: Oi,
6471
6471
  hideLabel: !0,
6472
6472
  onClick: S
6473
6473
  })]
@@ -6596,7 +6596,7 @@ var Lf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6596
6596
  children: /* @__PURE__ */ X(V, {
6597
6597
  label: c("surveyFormBuilder.selectQuestion.addOption"),
6598
6598
  variant: "ghost",
6599
- icon: $a,
6599
+ icon: so,
6600
6600
  onClick: p
6601
6601
  })
6602
6602
  }) : null]
@@ -6694,7 +6694,7 @@ var Lf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6694
6694
  h && c.start(e);
6695
6695
  },
6696
6696
  children: /* @__PURE__ */ X(H, {
6697
- icon: aa,
6697
+ icon: Gr,
6698
6698
  size: "sm"
6699
6699
  })
6700
6700
  }) : null, /* @__PURE__ */ X(Bf, { ...e.question })]
@@ -6724,7 +6724,7 @@ var Lf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6724
6724
  f && i.start(e);
6725
6725
  },
6726
6726
  children: /* @__PURE__ */ X(H, {
6727
- icon: aa,
6727
+ icon: Gr,
6728
6728
  size: "sm"
6729
6729
  })
6730
6730
  }) : null, /* @__PURE__ */ X(Bf, { ...e })]
@@ -6756,7 +6756,7 @@ var Lf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6756
6756
  });
6757
6757
  }, x = [{
6758
6758
  label: h("surveyFormBuilder.actions.duplicateSection"),
6759
- icon: Qi,
6759
+ icon: Bi,
6760
6760
  onClick: () => {
6761
6761
  d?.({
6762
6762
  elementId: e,
@@ -6765,7 +6765,7 @@ var Lf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6765
6765
  }
6766
6766
  }, {
6767
6767
  label: h("surveyFormBuilder.actions.deleteSection"),
6768
- icon: ui,
6768
+ icon: Oi,
6769
6769
  onClick: () => {
6770
6770
  u(e);
6771
6771
  },
@@ -6774,9 +6774,9 @@ var Lf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6774
6774
  G(() => {
6775
6775
  T.current?.focus({ preventScroll: !0 });
6776
6776
  }, []);
6777
- let E = r?.description ?? h("surveyFormBuilder.labels.lockedSectionNotice"), D = a && !l ? /* @__PURE__ */ X(vo, {
6777
+ let E = r?.description ?? h("surveyFormBuilder.labels.lockedSectionNotice"), D = a && !l ? /* @__PURE__ */ X(Eo, {
6778
6778
  text: h("surveyFormBuilder.labels.locked"),
6779
- icon: Ps,
6779
+ icon: Us,
6780
6780
  className: "bg-f1-background"
6781
6781
  }) : null;
6782
6782
  return /* @__PURE__ */ Z("div", {
@@ -6810,14 +6810,14 @@ var Lf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6810
6810
  }) : null,
6811
6811
  !c && !l && !a ? /* @__PURE__ */ X("div", {
6812
6812
  className: B("opacity-0 group-hover/section:opacity-100", p && "opacity-100"),
6813
- children: /* @__PURE__ */ X(ea, {
6813
+ children: /* @__PURE__ */ X(vi, {
6814
6814
  items: x,
6815
- icon: qr,
6815
+ icon: Hs,
6816
6816
  open: p,
6817
6817
  onOpenChange: m,
6818
6818
  align: "start",
6819
6819
  children: /* @__PURE__ */ X(V, {
6820
- icon: qr,
6820
+ icon: Hs,
6821
6821
  label: h("surveyFormBuilder.actions.actions"),
6822
6822
  size: "md",
6823
6823
  variant: "ghost",
@@ -6886,7 +6886,7 @@ var Lf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6886
6886
  o.start(e);
6887
6887
  },
6888
6888
  children: /* @__PURE__ */ X(H, {
6889
- icon: aa,
6889
+ icon: Gr,
6890
6890
  size: "sm"
6891
6891
  })
6892
6892
  }) : null, /* @__PURE__ */ X(Wf, {
@@ -6916,7 +6916,7 @@ var Lf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6916
6916
  p || x.push({
6917
6917
  type: "toggle",
6918
6918
  label: l,
6919
- icon: ua,
6919
+ icon: Wa,
6920
6920
  checked: !!r?.required,
6921
6921
  onCheckedChange: m
6922
6922
  });
@@ -6956,12 +6956,12 @@ var Lf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6956
6956
  selectedLabel: s === e ? t === "dropdown-multi" ? f : d : void 0,
6957
6957
  children: [{
6958
6958
  label: d,
6959
- icon: Ms,
6959
+ icon: Bs,
6960
6960
  onClick: () => h("dropdown-single", e),
6961
6961
  selected: s === e && t === "dropdown-single"
6962
6962
  }, {
6963
6963
  label: f,
6964
- icon: Vi,
6964
+ icon: ta,
6965
6965
  onClick: () => h("dropdown-multi", e),
6966
6966
  selected: s === e && t === "dropdown-multi"
6967
6967
  }]
@@ -6975,16 +6975,16 @@ var Lf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6975
6975
  return x.push({
6976
6976
  type: "submenu",
6977
6977
  label: u,
6978
- icon: ka,
6978
+ icon: xi,
6979
6979
  selectedLabel: E,
6980
6980
  children: w
6981
6981
  }), x.push({ type: "separator" }), x.push({
6982
6982
  label: i,
6983
- icon: Qi,
6983
+ icon: Bi,
6984
6984
  onClick: y
6985
6985
  }), n && x.push({
6986
6986
  label: a,
6987
- icon: ui,
6987
+ icon: Oi,
6988
6988
  onClick: b,
6989
6989
  critical: !0
6990
6990
  }), x;
@@ -7005,12 +7005,12 @@ var Lf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7005
7005
  return {
7006
7006
  id: i,
7007
7007
  label: t.title || n,
7008
- icon: ia,
7008
+ icon: Xr,
7009
7009
  onClick: y,
7010
7010
  ...!h && !g && !t.locked && { otherActions: [
7011
7011
  {
7012
7012
  label: o,
7013
- icon: Qi,
7013
+ icon: Bi,
7014
7014
  onClick: () => m?.({
7015
7015
  elementId: t.id,
7016
7016
  type: "section"
@@ -7019,7 +7019,7 @@ var Lf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7019
7019
  { type: "separator" },
7020
7020
  {
7021
7021
  label: s,
7022
- icon: ui,
7022
+ icon: Oi,
7023
7023
  onClick: () => p(t.id),
7024
7024
  critical: !0
7025
7025
  }
@@ -7086,7 +7086,7 @@ function Zf(e, t) {
7086
7086
  return i;
7087
7087
  }
7088
7088
  var Qf = ({ elements: e, onChange: t, answering: n }) => {
7089
- let { t: r } = R(), { disabled: i, labels: a } = nf(), { portalContainer: o } = Sc(To), s = Jf(e, {
7089
+ let { t: r } = R(), { disabled: i, labels: a } = nf(), { portalContainer: o } = Sc(No), s = Jf(e, {
7090
7090
  untitledSectionLabel: r("surveyFormBuilder.labels.sectionTitlePlaceholder"),
7091
7091
  untitledQuestionLabel: r("surveyFormBuilder.labels.titlePlaceholder"),
7092
7092
  duplicateQuestionLabel: a?.duplicateQuestion ?? r("surveyFormBuilder.actions.duplicateQuestion"),
@@ -7534,7 +7534,7 @@ function _p({ value: e, onChange: t, onBlur: n, config: r }) {
7534
7534
  s || a === "multi-select" && e.target.closest("input") || p(t.value);
7535
7535
  },
7536
7536
  children: [
7537
- a === "multi-select" ? /* @__PURE__ */ X(Jo, {
7537
+ a === "multi-select" ? /* @__PURE__ */ X(ns, {
7538
7538
  title: t.label,
7539
7539
  checked: !!n,
7540
7540
  onCheckedChange: () => f(t.value),
@@ -7547,7 +7547,7 @@ function _p({ value: e, onChange: t, onBlur: n, config: r }) {
7547
7547
  u ? /* @__PURE__ */ X("div", {
7548
7548
  className: "min-h-8 p-1",
7549
7549
  children: /* @__PURE__ */ X(H, {
7550
- icon: t.correct ? oi : bi,
7550
+ icon: t.correct ? Li : Ni,
7551
7551
  color: t.correct ? "positive" : "critical",
7552
7552
  "aria-hidden": !0
7553
7553
  })
@@ -7569,7 +7569,7 @@ var vp = /^(https?:\/\/)?[\w.-]+\.[a-z]{2,}(:\d+)?(\/[^\s]*)?$/i, yp = () => ({
7569
7569
  status: "idle"
7570
7570
  });
7571
7571
  function bp(e, t) {
7572
- return Ki().optional().superRefine((n, r) => {
7572
+ return Ea().optional().superRefine((n, r) => {
7573
7573
  e && (!n || n.trim() === "") && r.addIssue({
7574
7574
  code: "custom",
7575
7575
  message: t("forms.validation.required")
@@ -7577,7 +7577,7 @@ function bp(e, t) {
7577
7577
  });
7578
7578
  }
7579
7579
  function xp(e, t) {
7580
- return Ki().optional().superRefine((n, r) => {
7580
+ return Ea().optional().superRefine((n, r) => {
7581
7581
  e && (!n || n.trim() === "") ? r.addIssue({
7582
7582
  code: "custom",
7583
7583
  message: t("forms.validation.required")
@@ -7588,7 +7588,7 @@ function xp(e, t) {
7588
7588
  });
7589
7589
  }
7590
7590
  function Sp(e, t) {
7591
- return va().optional().superRefine((n, r) => {
7591
+ return La().optional().superRefine((n, r) => {
7592
7592
  e && n == null && r.addIssue({
7593
7593
  code: "custom",
7594
7594
  message: t("forms.validation.required")
@@ -7596,7 +7596,7 @@ function Sp(e, t) {
7596
7596
  });
7597
7597
  }
7598
7598
  function Cp(e, t) {
7599
- return zi(Ki()).optional().superRefine((n, r) => {
7599
+ return gi(Ea()).optional().superRefine((n, r) => {
7600
7600
  e && (!n || n.length === 0) && r.addIssue({
7601
7601
  code: "custom",
7602
7602
  message: t("forms.validation.required")
@@ -7604,7 +7604,7 @@ function Cp(e, t) {
7604
7604
  });
7605
7605
  }
7606
7606
  function wp(e, t) {
7607
- return hi().optional().superRefine((n, r) => {
7607
+ return qi().optional().superRefine((n, r) => {
7608
7608
  e && !n && r.addIssue({
7609
7609
  code: "custom",
7610
7610
  message: t("forms.validation.required")
@@ -7613,7 +7613,7 @@ function wp(e, t) {
7613
7613
  }
7614
7614
  var Tp = Cp;
7615
7615
  function Ep(e, t) {
7616
- return ai().optional().superRefine((n, r) => {
7616
+ return Ur().optional().superRefine((n, r) => {
7617
7617
  e && !n && r.addIssue({
7618
7618
  code: "custom",
7619
7619
  message: t("forms.validation.required")
@@ -7666,7 +7666,7 @@ function jp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7666
7666
  placeholder: t("surveyFormBuilder.answer.textPlaceholder"),
7667
7667
  disabled: i
7668
7668
  };
7669
- return Gi(bp(!!e.required, t), {
7669
+ return ra(bp(!!e.required, t), {
7670
7670
  ...l,
7671
7671
  fieldType: "custom",
7672
7672
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Sf, {
@@ -7694,7 +7694,7 @@ function jp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7694
7694
  rows: 4,
7695
7695
  disabled: i
7696
7696
  };
7697
- return Gi(bp(!!e.required, t), {
7697
+ return ra(bp(!!e.required, t), {
7698
7698
  ...l,
7699
7699
  fieldType: "custom",
7700
7700
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Sf, {
@@ -7721,7 +7721,7 @@ function jp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7721
7721
  placeholder: t("surveyFormBuilder.answer.numericPlaceholder"),
7722
7722
  disabled: i
7723
7723
  };
7724
- return Gi(Sp(!!e.required, t), {
7724
+ return ra(Sp(!!e.required, t), {
7725
7725
  ...l,
7726
7726
  fieldType: "custom",
7727
7727
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Sf, {
@@ -7749,7 +7749,7 @@ function jp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7749
7749
  placeholder: t("surveyFormBuilder.answer.linkPlaceholder"),
7750
7750
  disabled: i
7751
7751
  };
7752
- return Gi(xp(!!e.required, t), {
7752
+ return ra(xp(!!e.required, t), {
7753
7753
  ...l,
7754
7754
  fieldType: "custom",
7755
7755
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Sf, {
@@ -7776,7 +7776,7 @@ function jp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7776
7776
  clearable: !e.required,
7777
7777
  disabled: i
7778
7778
  };
7779
- return Gi(wp(!!e.required, t), {
7779
+ return ra(wp(!!e.required, t), {
7780
7780
  ...l,
7781
7781
  fieldType: "custom",
7782
7782
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Sf, {
@@ -7812,7 +7812,7 @@ function jp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7812
7812
  showSearchBox: r,
7813
7813
  searchBoxPlaceholder: e.searchBoxPlaceholder
7814
7814
  };
7815
- return Gi(bp(!!e.required, t), {
7815
+ return ra(bp(!!e.required, t), {
7816
7816
  ...l,
7817
7817
  fieldType: "custom",
7818
7818
  render: ({ value: t, onChange: r, onBlur: i, error: o }) => {
@@ -7861,7 +7861,7 @@ function jp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7861
7861
  showSearchBox: r,
7862
7862
  searchBoxPlaceholder: e.searchBoxPlaceholder
7863
7863
  };
7864
- return Gi(Cp(!!e.required, t), {
7864
+ return ra(Cp(!!e.required, t), {
7865
7865
  ...l,
7866
7866
  fieldType: "custom",
7867
7867
  render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(Sf, {
@@ -7888,7 +7888,7 @@ function jp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7888
7888
  disabled: i,
7889
7889
  showAnswerValidation: r
7890
7890
  };
7891
- return Gi(bp(!!e.required, t), {
7891
+ return ra(bp(!!e.required, t), {
7892
7892
  ...l,
7893
7893
  fieldType: "custom",
7894
7894
  fieldConfig: n,
@@ -7911,7 +7911,7 @@ function jp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7911
7911
  disabled: i,
7912
7912
  showAnswerValidation: r
7913
7913
  };
7914
- return Gi(Cp(!!e.required, t), {
7914
+ return ra(Cp(!!e.required, t), {
7915
7915
  ...l,
7916
7916
  fieldType: "custom",
7917
7917
  fieldConfig: n,
@@ -7933,7 +7933,7 @@ function jp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7933
7933
  maxLabel: n.maxLabel,
7934
7934
  disabled: i
7935
7935
  };
7936
- return Gi(Sp(!!e.required, t), {
7936
+ return ra(Sp(!!e.required, t), {
7937
7937
  ...l,
7938
7938
  fieldType: "custom",
7939
7939
  fieldConfig: r,
@@ -7959,7 +7959,7 @@ function jp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7959
7959
  useUpload: r ?? yp,
7960
7960
  disabled: i || !r
7961
7961
  };
7962
- return Gi(Tp(!!e.required, t), {
7962
+ return ra(Tp(!!e.required, t), {
7963
7963
  ...l,
7964
7964
  fieldType: "custom",
7965
7965
  render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(Sf, {
@@ -7985,7 +7985,7 @@ function jp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7985
7985
  label: n.label || c,
7986
7986
  disabled: i
7987
7987
  };
7988
- return Gi(Ep(!!e.required, t), {
7988
+ return ra(Ep(!!e.required, t), {
7989
7989
  ...l,
7990
7990
  fieldType: "custom",
7991
7991
  render: ({ value: e, onChange: t, onBlur: n, error: i }) => /* @__PURE__ */ X(Sf, {
@@ -8004,7 +8004,7 @@ function jp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8004
8004
  })
8005
8005
  });
8006
8006
  }
8007
- default: return Gi(Hi(), {
8007
+ default: return ra(ia(), {
8008
8008
  ...l,
8009
8009
  fieldType: "custom",
8010
8010
  render: () => null
@@ -8045,7 +8045,7 @@ function Mp({ elements: e, mode: t, t: n, defaultValues: r, currentQuestionId: i
8045
8045
  }), f[e.id] = a?.[e.id] ?? Dp(e, r);
8046
8046
  }
8047
8047
  return {
8048
- schema: fi(d),
8048
+ schema: ga(d),
8049
8049
  defaultValues: f,
8050
8050
  flatQuestions: m,
8051
8051
  sections: p
@@ -8150,12 +8150,12 @@ function Lp({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
8150
8150
  ]);
8151
8151
  let ve = u && !h ? [{
8152
8152
  label: b(C ? "surveyAnsweringForm.actions.collapse" : "surveyAnsweringForm.actions.expand"),
8153
- icon: C ? gi : Gr,
8153
+ icon: C ? Ma : fa,
8154
8154
  onClick: () => w((e) => !e)
8155
8155
  }] : void 0, ye = M ? h || F ? void 0 : ee ? P && !j.isLastStep ? {
8156
8156
  label: b("surveyAnsweringForm.actions.next"),
8157
8157
  onClick: j.goToNext,
8158
- icon: xa
8158
+ icon: Pi
8159
8159
  } : {
8160
8160
  label: b("surveyAnsweringForm.actions.submit"),
8161
8161
  onClick: Np,
@@ -8163,7 +8163,7 @@ function Lp({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
8163
8163
  } : P && !j.isLastStep ? {
8164
8164
  label: b("surveyAnsweringForm.actions.next"),
8165
8165
  onClick: me,
8166
- icon: xa
8166
+ icon: Pi
8167
8167
  } : {
8168
8168
  label: b("surveyAnsweringForm.actions.submit"),
8169
8169
  onClick: me,
@@ -8172,9 +8172,9 @@ function Lp({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
8172
8172
  } : void 0, be = M ? h || F ? void 0 : P && !j.isFirstStep ? {
8173
8173
  label: b("surveyAnsweringForm.actions.previous"),
8174
8174
  onClick: he,
8175
- icon: Fo
8175
+ icon: Uo
8176
8176
  } : 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";
8177
- return /* @__PURE__ */ X(ta, {
8177
+ return /* @__PURE__ */ X(Qi, {
8178
8178
  isOpen: o,
8179
8179
  onClose: s,
8180
8180
  title: r,
@@ -8200,7 +8200,7 @@ function Lp({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
8200
8200
  }) : null,
8201
8201
  Se ? /* @__PURE__ */ X("div", {
8202
8202
  className: "absolute left-0 right-0 top-0 [&>div>div>div]:h-1 [&>div>div>div]:rounded-none",
8203
- children: /* @__PURE__ */ X(As, {
8203
+ children: /* @__PURE__ */ X(Rs, {
8204
8204
  label: "Value",
8205
8205
  value: j.progress,
8206
8206
  hideLabel: !0
@@ -8217,7 +8217,7 @@ function Lp({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
8217
8217
  ...a
8218
8218
  })
8219
8219
  }),
8220
- h ? X(n === "stepped" ? pp : fp, {}) : M ? null : /* @__PURE__ */ X(Za, {
8220
+ h ? X(n === "stepped" ? pp : fp, {}) : M ? null : /* @__PURE__ */ X(ao, {
8221
8221
  display: "flex",
8222
8222
  flexDirection: "column",
8223
8223
  height: "full",
@@ -8296,7 +8296,7 @@ function Rp({ elements: e, title: t, description: n, resourceHeader: r, defaultV
8296
8296
  hideActionBar: !0
8297
8297
  },
8298
8298
  sections: _
8299
- }) : /* @__PURE__ */ X(Za, {
8299
+ }) : /* @__PURE__ */ X(ao, {
8300
8300
  display: "flex",
8301
8301
  flexDirection: "column",
8302
8302
  justifyContent: "center",
@@ -8314,7 +8314,7 @@ function Rp({ elements: e, title: t, description: n, resourceHeader: r, defaultV
8314
8314
  //#endregion
8315
8315
  //#region src/domains/talent/surveys/surveys/SurveySampleQuestion/SurveySampleQuestion.tsx
8316
8316
  function zp(e) {
8317
- return /* @__PURE__ */ Z(Za, {
8317
+ return /* @__PURE__ */ Z(ao, {
8318
8318
  display: "flex",
8319
8319
  flexDirection: "column",
8320
8320
  gap: "lg",
@@ -8332,21 +8332,21 @@ function zp(e) {
8332
8332
  });
8333
8333
  }
8334
8334
  function Bp({ steps: e, minLabel: t, maxLabel: n }) {
8335
- return /* @__PURE__ */ Z(Za, {
8335
+ return /* @__PURE__ */ Z(ao, {
8336
8336
  display: "flex",
8337
8337
  flexDirection: "column",
8338
8338
  gap: "sm",
8339
- children: [/* @__PURE__ */ X(Za, {
8339
+ children: [/* @__PURE__ */ X(ao, {
8340
8340
  display: "grid",
8341
8341
  columns: String(e),
8342
8342
  gap: "sm",
8343
- children: Array.from({ length: e }).map((e, t) => /* @__PURE__ */ X(Za, {
8343
+ children: Array.from({ length: e }).map((e, t) => /* @__PURE__ */ X(ao, {
8344
8344
  height: "8",
8345
8345
  border: "default",
8346
8346
  borderRadius: "md",
8347
8347
  background: "primary"
8348
8348
  }, t))
8349
- }), t || n ? /* @__PURE__ */ Z(Za, {
8349
+ }), t || n ? /* @__PURE__ */ Z(ao, {
8350
8350
  display: "flex",
8351
8351
  justifyContent: "between",
8352
8352
  alignItems: "center",
@@ -8361,11 +8361,11 @@ function Bp({ steps: e, minLabel: t, maxLabel: n }) {
8361
8361
  });
8362
8362
  }
8363
8363
  function Vp({ options: e }) {
8364
- return /* @__PURE__ */ X(Za, {
8364
+ return /* @__PURE__ */ X(ao, {
8365
8365
  display: "flex",
8366
8366
  flexDirection: "column",
8367
8367
  gap: "md",
8368
- children: e.map((e) => /* @__PURE__ */ Z(Za, {
8368
+ children: e.map((e) => /* @__PURE__ */ Z(ao, {
8369
8369
  display: "flex",
8370
8370
  alignItems: "center",
8371
8371
  gap: "md",
@@ -8374,7 +8374,7 @@ function Vp({ options: e }) {
8374
8374
  border: "default",
8375
8375
  borderRadius: "md",
8376
8376
  background: "primary",
8377
- children: [/* @__PURE__ */ X(Za, {
8377
+ children: [/* @__PURE__ */ X(ao, {
8378
8378
  shrink: !1,
8379
8379
  width: "4",
8380
8380
  height: "4",
@@ -8395,7 +8395,7 @@ var Hp = ({ benefits: e }) => /* @__PURE__ */ X("div", {
8395
8395
  }), Up = ({ text: e }) => /* @__PURE__ */ Z("div", {
8396
8396
  className: "flex flex-row items-start gap-2",
8397
8397
  children: [/* @__PURE__ */ X(H, {
8398
- icon: Ns,
8398
+ icon: Vs,
8399
8399
  size: "md",
8400
8400
  className: "text-f1-icon-positive"
8401
8401
  }), /* @__PURE__ */ X("span", { children: e })]
@@ -8418,17 +8418,17 @@ var Hp = ({ benefits: e }) => /* @__PURE__ */ X("div", {
8418
8418
  children: [
8419
8419
  /* @__PURE__ */ Z("div", {
8420
8420
  className: "flex flex-row items-center gap-2",
8421
- children: [a ? /* @__PURE__ */ X(oo, { module: a }) : null, o ? /* @__PURE__ */ X("p", {
8421
+ children: [a ? /* @__PURE__ */ X(ho, { module: a }) : null, o ? /* @__PURE__ */ X("p", {
8422
8422
  className: "text-base font-medium text-f1-foreground",
8423
8423
  children: o
8424
8424
  }) : null]
8425
8425
  }),
8426
8426
  s || c ? /* @__PURE__ */ Z("div", {
8427
8427
  className: "flex justify-start gap-2",
8428
- children: [s ? /* @__PURE__ */ X(vo, {
8428
+ children: [s ? /* @__PURE__ */ X(Eo, {
8429
8429
  icon: s.icon,
8430
8430
  text: s.label
8431
- }) : null, c ? /* @__PURE__ */ X(ws, {
8431
+ }) : null, c ? /* @__PURE__ */ X(Ms, {
8432
8432
  variant: c.variant || "positive",
8433
8433
  text: c.label
8434
8434
  }) : null]
@@ -8453,33 +8453,33 @@ function Kp({ isOpen: e, onClose: t, title: n, children: r, module: i, portalCon
8453
8453
  let [o, s] = J(e);
8454
8454
  return G(() => {
8455
8455
  s(e);
8456
- }, [e]), /* @__PURE__ */ X(ri, {
8456
+ }, [e]), /* @__PURE__ */ X(Si, {
8457
8457
  open: o,
8458
8458
  onOpenChange: (e) => {
8459
8459
  s(e), e || t();
8460
8460
  },
8461
8461
  modal: !0,
8462
- children: /* @__PURE__ */ Z(yi, {
8462
+ children: /* @__PURE__ */ Z(ri, {
8463
8463
  className: "max-h-[620px] w-[760px] overflow-y-auto overflow-x-hidden bg-f1-background",
8464
8464
  container: a,
8465
8465
  children: [/* @__PURE__ */ Z("div", {
8466
8466
  className: "flex flex-row items-center justify-between px-4 py-4",
8467
- children: [/* @__PURE__ */ Z(li, {
8467
+ children: [/* @__PURE__ */ Z(Ti, {
8468
8468
  className: "flex flex-row items-center gap-2 text-lg font-semibold text-f1-foreground",
8469
- children: [i ? /* @__PURE__ */ X(oo, {
8469
+ children: [i ? /* @__PURE__ */ X(ho, {
8470
8470
  module: i,
8471
8471
  size: "md"
8472
8472
  }) : null, n]
8473
8473
  }), /* @__PURE__ */ X(Zn, {
8474
8474
  variant: "outline",
8475
- icon: bi,
8475
+ icon: Ni,
8476
8476
  onClick: t,
8477
8477
  label: "Close modal",
8478
8478
  hideLabel: !0
8479
8479
  })]
8480
- }), /* @__PURE__ */ Z(Zs, {
8480
+ }), /* @__PURE__ */ Z(oc, {
8481
8481
  className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[512px] flex-col",
8482
- children: [r, /* @__PURE__ */ X(Qs, {
8482
+ children: [r, /* @__PURE__ */ X(sc, {
8483
8483
  orientation: "vertical",
8484
8484
  className: "[&_div]:bg-f1-background"
8485
8485
  })]
@@ -8562,14 +8562,14 @@ function Yp({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
8562
8562
  o && o(!l);
8563
8563
  }, [o, l]);
8564
8564
  let f = e?.includes(".mp4");
8565
- return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(ni, {
8565
+ return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(hi, {
8566
8566
  style: { width: a },
8567
8567
  className: "relative bg-f1-background p-1",
8568
- children: [/* @__PURE__ */ Z(vi, { children: [i ? /* @__PURE__ */ X("div", {
8568
+ children: [/* @__PURE__ */ Z(Ki, { children: [i ? /* @__PURE__ */ X("div", {
8569
8569
  className: "absolute right-2 top-2 z-10",
8570
8570
  children: /* @__PURE__ */ X(V, {
8571
8571
  variant: "ghost",
8572
- icon: bi,
8572
+ icon: Ni,
8573
8573
  size: "sm",
8574
8574
  hideLabel: !0,
8575
8575
  onClick: d,
@@ -8595,7 +8595,7 @@ function Yp({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
8595
8595
  className: "line-clamp-3 text-base font-normal text-f1-foreground-secondary",
8596
8596
  children: n
8597
8597
  })]
8598
- })] })] }), s ? /* @__PURE__ */ X(Ai, {
8598
+ })] })] }), s ? /* @__PURE__ */ X(Ia, {
8599
8599
  className: "p-3",
8600
8600
  children: s.map((e) => e.type === "upsell" ? /* @__PURE__ */ X(S, {
8601
8601
  label: e.label,
@@ -8618,7 +8618,7 @@ function Yp({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
8618
8618
  var Xp = L(Yp), Zp = ({ onDismiss: e }) => {
8619
8619
  let { actions: t } = R();
8620
8620
  return /* @__PURE__ */ X(V, {
8621
- icon: bi,
8621
+ icon: Ni,
8622
8622
  label: t.close,
8623
8623
  hideLabel: !0,
8624
8624
  variant: "outline",
@@ -8709,7 +8709,7 @@ em.displayName = "UpsellingBanner";
8709
8709
  var tm = L(em);
8710
8710
  //#endregion
8711
8711
  //#region src/domains/growth/upselling/UpsellingKit/UpsellingPopover/UpsellingPopover.tsx
8712
- function nm({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i = "md", showIcon: a = !0, side: o = "right", align: s = "center", icon: c = Ur, mediaUrl: l, title: u, description: d, width: f = "300px", trackVisibility: p, actions: m, onClick: h, hideLabel: g = !1 }) {
8712
+ function nm({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i = "md", showIcon: a = !0, side: o = "right", align: s = "center", icon: c = Zi, mediaUrl: l, title: u, description: d, width: f = "300px", trackVisibility: p, actions: m, onClick: h, hideLabel: g = !1 }) {
8713
8713
  let [_, v] = J(!1), [y, b] = J(null), [x, S] = J(null), C = (e) => {
8714
8714
  t(e), h && h();
8715
8715
  }, w = async (e) => {
@@ -8727,10 +8727,10 @@ function nm({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
8727
8727
  ...e,
8728
8728
  onClick: () => w(e)
8729
8729
  } : e);
8730
- return /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ Z(Ys, {
8730
+ return /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ Z(ic, {
8731
8731
  open: E,
8732
8732
  onOpenChange: C,
8733
- children: [/* @__PURE__ */ X(Ws, {
8733
+ children: [/* @__PURE__ */ X($s, {
8734
8734
  asChild: !0,
8735
8735
  children: /* @__PURE__ */ X(V, {
8736
8736
  variant: r,
@@ -8740,7 +8740,7 @@ function nm({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
8740
8740
  onClick: () => t(e),
8741
8741
  hideLabel: g
8742
8742
  })
8743
- }), /* @__PURE__ */ X(Ks, {
8743
+ }), /* @__PURE__ */ X(tc, {
8744
8744
  side: o,
8745
8745
  align: s,
8746
8746
  className: "w-fit border-none bg-transparent p-2 shadow-none",
@@ -8769,9 +8769,9 @@ function nm({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
8769
8769
  }
8770
8770
  var rm = L(nm), im = ({ preview: e, moduleName: t, description: n, onAction: r, actionHref: i }) => {
8771
8771
  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);
8772
- return /* @__PURE__ */ Z(ni, {
8772
+ return /* @__PURE__ */ Z(hi, {
8773
8773
  className: "flex flex-col overflow-hidden",
8774
- children: [/* @__PURE__ */ Z(vi, {
8774
+ children: [/* @__PURE__ */ Z(Ki, {
8775
8775
  className: "flex flex-col gap-4 p-0",
8776
8776
  children: [/* @__PURE__ */ X("div", {
8777
8777
  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"),
@@ -8786,7 +8786,7 @@ var rm = L(nm), im = ({ preview: e, moduleName: t, description: n, onAction: r,
8786
8786
  children: n
8787
8787
  })]
8788
8788
  })]
8789
- }), /* @__PURE__ */ X(Ai, {
8789
+ }), /* @__PURE__ */ X(Ia, {
8790
8790
  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",
8791
8791
  children: i ? /* @__PURE__ */ X(V, {
8792
8792
  variant: "default",
@@ -8817,7 +8817,7 @@ var rm = L(nm), im = ({ preview: e, moduleName: t, description: n, onAction: r,
8817
8817
  }), /* @__PURE__ */ X("span", {
8818
8818
  className: "mt-0.5 flex-shrink-0 text-f1-foreground-secondary",
8819
8819
  children: /* @__PURE__ */ X(H, {
8820
- icon: t ? Xa : Ds,
8820
+ icon: t ? io : Fs,
8821
8821
  size: "sm",
8822
8822
  className: B("transition-transform duration-200", t && "text-f1-foreground")
8823
8823
  })
@@ -8833,7 +8833,7 @@ var rm = L(nm), im = ({ preview: e, moduleName: t, description: n, onAction: r,
8833
8833
  })
8834
8834
  })]
8835
8835
  }), om = ({ headerIcon: e, items: t, defaultExpandedId: n, expandedId: r, onExpandedChange: i, allowMultiple: a = !1 }) => {
8836
- let o = R()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ?? Ma, [c, l] = J(() => new Set(n ? [n] : [])), u = r !== void 0, d = W((e) => u ? r === e : c.has(e), [
8836
+ let o = R()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ?? Ja, [c, l] = J(() => new Set(n ? [n] : [])), u = r !== void 0, d = W((e) => u ? r === e : c.has(e), [
8837
8837
  u,
8838
8838
  r,
8839
8839
  c
@@ -8848,9 +8848,9 @@ var rm = L(nm), im = ({ preview: e, moduleName: t, description: n, onAction: r,
8848
8848
  i,
8849
8849
  a
8850
8850
  ]);
8851
- return t.length === 0 ? null : /* @__PURE__ */ Z(ni, {
8851
+ return t.length === 0 ? null : /* @__PURE__ */ Z(hi, {
8852
8852
  className: "flex flex-col overflow-hidden",
8853
- children: [/* @__PURE__ */ Z(za, {
8853
+ children: [/* @__PURE__ */ Z(ha, {
8854
8854
  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",
8855
8855
  children: [/* @__PURE__ */ X("div", {
8856
8856
  className: "flex h-6 w-6 items-center justify-center rounded-full border border-f1-border-secondary",
@@ -8863,7 +8863,7 @@ var rm = L(nm), im = ({ preview: e, moduleName: t, description: n, onAction: r,
8863
8863
  className: "text-base font-semibold text-f1-foreground",
8864
8864
  children: o
8865
8865
  })]
8866
- }), /* @__PURE__ */ X(vi, {
8866
+ }), /* @__PURE__ */ X(Ki, {
8867
8867
  className: "flex flex-col divide-y divide-f1-border p-0",
8868
8868
  children: t.map((e) => /* @__PURE__ */ X(am, {
8869
8869
  item: e,
@@ -8874,13 +8874,13 @@ var rm = L(nm), im = ({ preview: e, moduleName: t, description: n, onAction: r,
8874
8874
  });
8875
8875
  }, sm = ({ moduleName: e, description: t, onAction: n, actionHref: r, imageSrc: i }) => {
8876
8876
  let a = R()?.ai?.growth?.moduleCard?.actionLabel ?? "Learn more";
8877
- return /* @__PURE__ */ Z(ni, {
8877
+ return /* @__PURE__ */ Z(hi, {
8878
8878
  className: "flex flex-col overflow-hidden",
8879
- children: [/* @__PURE__ */ X(vi, {
8879
+ children: [/* @__PURE__ */ X(Ki, {
8880
8880
  className: "flex flex-col gap-3 p-0",
8881
8881
  children: /* @__PURE__ */ Z("div", {
8882
8882
  className: "flex items-start gap-3",
8883
- children: [/* @__PURE__ */ X(no, {
8883
+ children: [/* @__PURE__ */ X(uo, {
8884
8884
  avatar: {
8885
8885
  type: "company",
8886
8886
  name: e || "",
@@ -8898,7 +8898,7 @@ var rm = L(nm), im = ({ preview: e, moduleName: t, description: n, onAction: r,
8898
8898
  })]
8899
8899
  })]
8900
8900
  })
8901
- }), /* @__PURE__ */ X(Ai, {
8901
+ }), /* @__PURE__ */ X(Ia, {
8902
8902
  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",
8903
8903
  children: r ? /* @__PURE__ */ X(V, {
8904
8904
  variant: "outline",
@@ -8916,12 +8916,12 @@ var rm = L(nm), im = ({ preview: e, moduleName: t, description: n, onAction: r,
8916
8916
  });
8917
8917
  }, cm = ({ onAction: e, actionHref: t }) => {
8918
8918
  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";
8919
- return /* @__PURE__ */ Z(ni, {
8919
+ return /* @__PURE__ */ Z(hi, {
8920
8920
  className: "flex flex-col overflow-hidden",
8921
- children: [/* @__PURE__ */ Z(vi, {
8921
+ children: [/* @__PURE__ */ Z(Ki, {
8922
8922
  className: "flex flex-col gap-3 p-0",
8923
8923
  children: [/* @__PURE__ */ X(H, {
8924
- icon: Di,
8924
+ icon: Ji,
8925
8925
  size: "lg"
8926
8926
  }), /* @__PURE__ */ Z("div", {
8927
8927
  className: "flex flex-col gap-0.5",
@@ -8933,7 +8933,7 @@ var rm = L(nm), im = ({ preview: e, moduleName: t, description: n, onAction: r,
8933
8933
  children: i
8934
8934
  })]
8935
8935
  })]
8936
- }), /* @__PURE__ */ X(Ai, {
8936
+ }), /* @__PURE__ */ X(Ia, {
8937
8937
  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",
8938
8938
  children: t ? /* @__PURE__ */ X(V, {
8939
8939
  variant: "default",
@@ -8979,9 +8979,9 @@ var rm = L(nm), im = ({ preview: e, moduleName: t, description: n, onAction: r,
8979
8979
  e,
8980
8980
  t
8981
8981
  ]), g = a === u - 1, _ = u > 1, v = n != null;
8982
- return u === 0 || !d ? null : /* @__PURE__ */ Z(ni, {
8982
+ return u === 0 || !d ? null : /* @__PURE__ */ Z(hi, {
8983
8983
  className: "flex flex-col overflow-hidden",
8984
- children: [/* @__PURE__ */ Z(vi, {
8984
+ children: [/* @__PURE__ */ Z(Ki, {
8985
8985
  className: "flex flex-col gap-4",
8986
8986
  children: [/* @__PURE__ */ X("h3", {
8987
8987
  className: "text-base font-semibold text-f1-foreground",
@@ -8990,7 +8990,7 @@ var rm = L(nm), im = ({ preview: e, moduleName: t, description: n, onAction: r,
8990
8990
  className: "flex flex-col gap-3",
8991
8991
  children: d.options.map((e) => /* @__PURE__ */ X("div", {
8992
8992
  className: "flex items-center gap-2.5",
8993
- children: /* @__PURE__ */ X(Jo, {
8993
+ children: /* @__PURE__ */ X(ns, {
8994
8994
  id: e.id,
8995
8995
  title: e.label,
8996
8996
  checked: f.includes(e.id),
@@ -8998,7 +8998,7 @@ var rm = L(nm), im = ({ preview: e, moduleName: t, description: n, onAction: r,
8998
8998
  })
8999
8999
  }, e.id))
9000
9000
  })]
9001
- }), /* @__PURE__ */ Z(Ai, {
9001
+ }), /* @__PURE__ */ Z(Ia, {
9002
9002
  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",
9003
9003
  children: [/* @__PURE__ */ X("div", {
9004
9004
  className: "flex min-w-[7.5rem] items-center justify-start gap-1",
@@ -9010,7 +9010,7 @@ var rm = L(nm), im = ({ preview: e, moduleName: t, description: n, onAction: r,
9010
9010
  className: "flex h-8 w-8 shrink-0 items-center justify-center rounded text-f1-foreground-secondary transition-colors hover:bg-f1-background-tertiary hover:text-f1-foreground disabled:pointer-events-none disabled:opacity-50",
9011
9011
  "aria-label": "Previous",
9012
9012
  children: /* @__PURE__ */ X(H, {
9013
- icon: No,
9013
+ icon: Vo,
9014
9014
  size: "sm"
9015
9015
  })
9016
9016
  }),
@@ -9029,7 +9029,7 @@ var rm = L(nm), im = ({ preview: e, moduleName: t, description: n, onAction: r,
9029
9029
  className: "flex h-8 w-8 shrink-0 items-center justify-center rounded text-f1-foreground-secondary transition-colors hover:bg-f1-background-tertiary hover:text-f1-foreground disabled:pointer-events-none disabled:opacity-50",
9030
9030
  "aria-label": "Next",
9031
9031
  children: /* @__PURE__ */ X(H, {
9032
- icon: Ds,
9032
+ icon: Fs,
9033
9033
  size: "sm"
9034
9034
  })
9035
9035
  })
@@ -9462,7 +9462,7 @@ function Wm(e, t) {
9462
9462
  n.href = URL.createObjectURL(e), n.download = t, n.click(), URL.revokeObjectURL(n.href);
9463
9463
  }
9464
9464
  async function Gm(e, t, n, { keys: r, preamble: i } = {}) {
9465
- Wm(await Fa([{
9465
+ Wm(await qa([{
9466
9466
  name: "Data",
9467
9467
  rows: Hm({
9468
9468
  columns: e,
@@ -9484,7 +9484,7 @@ function qm(e, t, n) {
9484
9484
  r.href = e, r.download = `${t}.${n}`, r.click();
9485
9485
  }
9486
9486
  async function Jm(e, t) {
9487
- Wm(await Fa(e.map((e) => ({
9487
+ Wm(await qa(e.map((e) => ({
9488
9488
  name: e.name,
9489
9489
  rows: Hm(e)
9490
9490
  }))), `${t}.xlsx`);
@@ -9545,23 +9545,23 @@ function Zm({ chartContainerRef: e, chartConfig: t, data: n, title: r }) {
9545
9545
  return K(() => n ? [
9546
9546
  {
9547
9547
  label: i("ai.dataDownload.download", { format: "PNG" }),
9548
- icon: fa,
9548
+ icon: Ka,
9549
9549
  onClick: () => a("png")
9550
9550
  },
9551
9551
  {
9552
9552
  label: i("ai.dataDownload.download", { format: "JPG" }),
9553
- icon: fa,
9553
+ icon: Ka,
9554
9554
  onClick: () => a("jpg")
9555
9555
  },
9556
9556
  { type: "separator" },
9557
9557
  {
9558
9558
  label: i("ai.dataDownload.download", { format: "Excel" }),
9559
- icon: da,
9559
+ icon: $r,
9560
9560
  onClick: s
9561
9561
  },
9562
9562
  {
9563
9563
  label: i("ai.dataDownload.download", { format: "CSV" }),
9564
- icon: da,
9564
+ icon: $r,
9565
9565
  onClick: c
9566
9566
  }
9567
9567
  ] : [], [
@@ -9619,7 +9619,7 @@ function $m({ filters: e, value: t, onChange: n, onOpenChange: r }) {
9619
9619
  }, [h, d]), G(() => {
9620
9620
  l || m(t);
9621
9621
  }, [l, t]);
9622
- let v = Sc(To), y = v.portalContainer && (v.position === "center" || v.position === "fullscreen") ? v.portalContainer : void 0, b = K(() => as(e, t, i), [
9622
+ let v = Sc(No), y = v.portalContainer && (v.position === "center" || v.position === "fullscreen") ? v.portalContainer : void 0, b = K(() => ps(e, t, i), [
9623
9623
  e,
9624
9624
  t,
9625
9625
  i
@@ -9648,18 +9648,18 @@ function $m({ filters: e, value: t, onChange: n, onOpenChange: r }) {
9648
9648
  let e = o.current?.querySelector("[aria-invalid=\"true\"]");
9649
9649
  e ? e.focus() : f(null);
9650
9650
  };
9651
- return Object.keys(_).length === 0 ? null : /* @__PURE__ */ Z(Ys, {
9651
+ return Object.keys(_).length === 0 ? null : /* @__PURE__ */ Z(ic, {
9652
9652
  open: l,
9653
9653
  onOpenChange: (e) => {
9654
9654
  u(e), r?.(e), !e && (f(null), m(t));
9655
9655
  },
9656
9656
  modal: !1,
9657
9657
  children: [
9658
- /* @__PURE__ */ X(Ws, {
9658
+ /* @__PURE__ */ X($s, {
9659
9659
  asChild: !0,
9660
9660
  children: /* @__PURE__ */ X(Zn, {
9661
9661
  label: i.filters.label,
9662
- icon: Zo,
9662
+ icon: as,
9663
9663
  variant: "ghost",
9664
9664
  size: "md",
9665
9665
  hideLabel: !0,
@@ -9682,7 +9682,7 @@ function $m({ filters: e, value: t, onChange: n, onOpenChange: r }) {
9682
9682
  ")"
9683
9683
  ]
9684
9684
  }) : null,
9685
- /* @__PURE__ */ X(Ks, {
9685
+ /* @__PURE__ */ X(tc, {
9686
9686
  ref: o,
9687
9687
  "aria-label": i.filters.label,
9688
9688
  className: "w-[380px] max-w-[calc(100vw-1rem)] rounded-xl border border-solid border-f1-border-secondary p-0 shadow-md",
@@ -9696,7 +9696,7 @@ function $m({ filters: e, value: t, onChange: n, onOpenChange: r }) {
9696
9696
  className: "flex shrink-0 items-center gap-2 py-1.5 pl-1.5 pr-3",
9697
9697
  children: g ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(V, {
9698
9698
  label: i.filters.availableFilters,
9699
- icon: Fo,
9699
+ icon: Uo,
9700
9700
  hideLabel: !0,
9701
9701
  variant: "ghost",
9702
9702
  size: "sm",
@@ -9712,7 +9712,7 @@ function $m({ filters: e, value: t, onChange: n, onOpenChange: r }) {
9712
9712
  className: "flex min-h-0 flex-1 flex-col",
9713
9713
  children: g ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X("div", {
9714
9714
  className: "min-h-0 flex-1 overflow-y-auto border-0 border-t border-solid border-f1-border-secondary",
9715
- children: /* @__PURE__ */ X(qo, {
9715
+ children: /* @__PURE__ */ X(ts, {
9716
9716
  selectedFilterKey: g,
9717
9717
  definition: e,
9718
9718
  tempFilters: p,
@@ -9730,13 +9730,13 @@ function $m({ filters: e, value: t, onChange: n, onOpenChange: r }) {
9730
9730
  onClick: w,
9731
9731
  label: i.filters.applySelection
9732
9732
  })
9733
- })] }) : /* @__PURE__ */ X(gs, {
9733
+ })] }) : /* @__PURE__ */ X(ws, {
9734
9734
  definition: _,
9735
9735
  tempFilters: p,
9736
9736
  selectedFilterKey: g,
9737
9737
  onFilterSelect: C,
9738
9738
  onClickApplyFilters: () => {
9739
- n(Wo(e, p, i)), u(!1), r?.(!1), f(null);
9739
+ n(Qo(e, p, i)), u(!1), r?.(!1), f(null);
9740
9740
  },
9741
9741
  isCompactMode: !0
9742
9742
  })
@@ -9791,7 +9791,7 @@ function nh({ title: e, enabled: t, actionsCollapse: n }) {
9791
9791
  //#endregion
9792
9792
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/DashboardItem/DashboardItem.tsx
9793
9793
  function rh({ 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 }) {
9794
- 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 } = ki(), ee = (e) => {
9794
+ 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 } = wi(), ee = (e) => {
9795
9795
  T(e), e || A(!1);
9796
9796
  }, 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 = nh({
9797
9797
  title: e,
@@ -9815,11 +9815,11 @@ function rh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9815
9815
  }), N(t), P(!0);
9816
9816
  }, ge = (e) => {
9817
9817
  O.current && (O.current = !1, F() && e.preventDefault());
9818
- }, _e = oe ? /* @__PURE__ */ X(qs, { children: /* @__PURE__ */ X(Bs, {
9818
+ }, _e = oe ? /* @__PURE__ */ X(nc, { children: /* @__PURE__ */ X(Ys, {
9819
9819
  onClick: he,
9820
9820
  children: /* @__PURE__ */ Z("div", {
9821
9821
  className: "flex w-full flex-row items-center gap-2",
9822
- children: [/* @__PURE__ */ X(H, { icon: Fi }), /* @__PURE__ */ X("span", {
9822
+ children: [/* @__PURE__ */ X(H, { icon: ba }), /* @__PURE__ */ X("span", {
9823
9823
  className: "flex-1",
9824
9824
  children: j.ai.dashboardItem.askOne
9825
9825
  })]
@@ -9849,14 +9849,14 @@ function rh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9849
9849
  children: [l ? /* @__PURE__ */ X($m, {
9850
9850
  ...l,
9851
9851
  onOpenChange: D
9852
- }) : null, oe ? /* @__PURE__ */ Z(Js, {
9852
+ }) : null, oe ? /* @__PURE__ */ Z(rc, {
9853
9853
  open: w,
9854
9854
  onOpenChange: ee,
9855
- children: [/* @__PURE__ */ X(Rs, {
9855
+ children: [/* @__PURE__ */ X(qs, {
9856
9856
  asChild: !0,
9857
9857
  children: /* @__PURE__ */ X(Zn, {
9858
9858
  label: j.actions.other,
9859
- icon: qr,
9859
+ icon: Hs,
9860
9860
  variant: "ghost",
9861
9861
  size: "md",
9862
9862
  hideLabel: !0,
@@ -9864,7 +9864,7 @@ function rh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9864
9864
  compact: !0,
9865
9865
  onClick: (e) => e.stopPropagation()
9866
9866
  })
9867
- }), /* @__PURE__ */ X(Is, {
9867
+ }), /* @__PURE__ */ X(Gs, {
9868
9868
  align: "end",
9869
9869
  className: "py-1",
9870
9870
  onCloseAutoFocus: ge,
@@ -9891,7 +9891,7 @@ function rh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9891
9891
  "aria-live": r ? "polite" : void 0,
9892
9892
  children: [/* @__PURE__ */ Z("div", {
9893
9893
  className: B("flex flex-col px-4 py-3", ce && "min-h-14"),
9894
- children: [/* @__PURE__ */ Z(Za, {
9894
+ children: [/* @__PURE__ */ Z(ao, {
9895
9895
  ref: fe.rowRef,
9896
9896
  display: "flex",
9897
9897
  minWidth: "0",
@@ -9922,21 +9922,21 @@ function rh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9922
9922
  }) : null,
9923
9923
  ae ? /* @__PURE__ */ X(Zn, {
9924
9924
  label: y ? j.actions.collapse : j.actions.expand,
9925
- icon: y ? gi : Gr,
9925
+ icon: y ? Ma : fa,
9926
9926
  variant: "ghost",
9927
9927
  size: "md",
9928
9928
  hideLabel: !0,
9929
9929
  compact: !0,
9930
9930
  onClick: () => C?.(!y)
9931
9931
  }) : null,
9932
- se ? /* @__PURE__ */ Z(Js, {
9932
+ se ? /* @__PURE__ */ Z(rc, {
9933
9933
  open: w,
9934
9934
  onOpenChange: ee,
9935
- children: [/* @__PURE__ */ X(Rs, {
9935
+ children: [/* @__PURE__ */ X(qs, {
9936
9936
  asChild: !0,
9937
9937
  children: /* @__PURE__ */ X(Zn, {
9938
9938
  label: j.actions.other,
9939
- icon: qr,
9939
+ icon: Hs,
9940
9940
  variant: "ghost",
9941
9941
  size: "md",
9942
9942
  hideLabel: !0,
@@ -9944,13 +9944,13 @@ function rh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9944
9944
  compact: !0,
9945
9945
  onClick: (e) => e.stopPropagation()
9946
9946
  })
9947
- }), /* @__PURE__ */ X(Is, {
9947
+ }), /* @__PURE__ */ X(Gs, {
9948
9948
  align: "end",
9949
9949
  className: B("py-1", k && "w-96 max-w-[90vw]"),
9950
9950
  onCloseAutoFocus: ge,
9951
9951
  children: k && ie ? /* @__PURE__ */ X("div", {
9952
9952
  className: "px-3 py-2 text-base text-f1-foreground [&>div]:flex [&>div]:flex-col [&>div]:gap-2",
9953
- children: /* @__PURE__ */ X(Aa, {
9953
+ children: /* @__PURE__ */ X(ei, {
9954
9954
  content: v,
9955
9955
  format: "markdown"
9956
9956
  })
@@ -9976,29 +9976,29 @@ function rh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9976
9976
  fullWidth: !0
9977
9977
  })]
9978
9978
  }) : null,
9979
- ie ? /* @__PURE__ */ X(qs, { children: /* @__PURE__ */ X(Bs, {
9979
+ ie ? /* @__PURE__ */ X(nc, { children: /* @__PURE__ */ X(Ys, {
9980
9980
  onSelect: (e) => {
9981
9981
  e.preventDefault(), A(!0);
9982
9982
  },
9983
9983
  children: /* @__PURE__ */ Z("div", {
9984
9984
  className: "flex w-full flex-row items-center gap-2",
9985
- children: [/* @__PURE__ */ X(H, { icon: os }), /* @__PURE__ */ X("span", {
9985
+ children: [/* @__PURE__ */ X(H, { icon: ms }), /* @__PURE__ */ X("span", {
9986
9986
  className: "flex-1",
9987
9987
  children: j.ai.dashboardItem.dataExplanation
9988
9988
  })]
9989
9989
  })
9990
9990
  }) }) : null,
9991
9991
  _e,
9992
- ne ? /* @__PURE__ */ X(qs, { children: /* @__PURE__ */ Z(Us, { children: [/* @__PURE__ */ X(Ls, {
9992
+ ne ? /* @__PURE__ */ X(nc, { children: /* @__PURE__ */ Z(Qs, { children: [/* @__PURE__ */ X(Ks, {
9993
9993
  className: "mx-1 rounded-sm px-2",
9994
9994
  children: /* @__PURE__ */ Z("div", {
9995
9995
  className: "flex w-full flex-row items-center gap-2 pr-2",
9996
- children: [/* @__PURE__ */ X(H, { icon: Si }), /* @__PURE__ */ X("span", {
9996
+ children: [/* @__PURE__ */ X(H, { icon: ci }), /* @__PURE__ */ X("span", {
9997
9997
  className: "flex-1 text-base font-medium",
9998
9998
  children: j.ai.dataDownload.title
9999
9999
  })]
10000
10000
  })
10001
- }), /* @__PURE__ */ X(Hs, { children: /* @__PURE__ */ X(Xs, { children: te.map((e) => /* @__PURE__ */ X(Bs, {
10001
+ }), /* @__PURE__ */ X(Zs, { children: /* @__PURE__ */ X(ac, { children: te.map((e) => /* @__PURE__ */ X(Ys, {
10002
10002
  onClick: e.onClick,
10003
10003
  children: /* @__PURE__ */ Z("div", {
10004
10004
  className: "flex w-full flex-row items-center gap-2",
@@ -10008,14 +10008,14 @@ function rh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10008
10008
  })]
10009
10009
  })
10010
10010
  }, e.label)) }) })] }) }) : null,
10011
- I ? /* @__PURE__ */ X(qs, { children: /* @__PURE__ */ X(Bs, {
10011
+ I ? /* @__PURE__ */ X(nc, { children: /* @__PURE__ */ X(Ys, {
10012
10012
  onClick: () => {
10013
10013
  y && C?.(!1), f(g);
10014
10014
  },
10015
10015
  className: B("text-f1-foreground-critical"),
10016
10016
  children: /* @__PURE__ */ Z("div", {
10017
10017
  className: "flex w-full flex-row items-center gap-2",
10018
- children: [/* @__PURE__ */ X(H, { icon: ui }), /* @__PURE__ */ X("span", {
10018
+ children: [/* @__PURE__ */ X(H, { icon: Oi }), /* @__PURE__ */ X("span", {
10019
10019
  className: "flex-1",
10020
10020
  children: j.actions.delete
10021
10021
  })]
@@ -10106,7 +10106,7 @@ function oh({ anchor: e, onAsk: t, onDismiss: n, returnFocusTo: r }) {
10106
10106
  type: "button",
10107
10107
  variant: "ghost",
10108
10108
  label: i.ai.dashboardItem.askOne,
10109
- icon: Fi,
10109
+ icon: ba,
10110
10110
  onClick: t
10111
10111
  })
10112
10112
  }), document.body);
@@ -10149,39 +10149,39 @@ function hh(e) {
10149
10149
  {
10150
10150
  label: e.dataChart.barChartVertical,
10151
10151
  value: "bar-vertical",
10152
- icon: _i,
10152
+ icon: _a,
10153
10153
  type: "bar",
10154
10154
  orientation: "vertical"
10155
10155
  },
10156
10156
  {
10157
10157
  label: e.dataChart.barChartHorizontal,
10158
10158
  value: "bar-horizontal",
10159
- icon: Ji,
10159
+ icon: sa,
10160
10160
  type: "bar",
10161
10161
  orientation: "horizontal"
10162
10162
  },
10163
10163
  {
10164
10164
  label: e.dataChart.lineChart,
10165
10165
  value: "line",
10166
- icon: mi,
10166
+ icon: Vi,
10167
10167
  type: "line"
10168
10168
  },
10169
10169
  {
10170
10170
  label: e.dataChart.funnel,
10171
10171
  value: "funnel",
10172
- icon: Wi,
10172
+ icon: za,
10173
10173
  type: "funnel"
10174
10174
  },
10175
10175
  {
10176
10176
  label: e.dataChart.pieChart,
10177
10177
  value: "pie",
10178
- icon: ba,
10178
+ icon: Da,
10179
10179
  type: "pie"
10180
10180
  },
10181
10181
  {
10182
10182
  label: e.dataChart.table,
10183
10183
  value: "table",
10184
- icon: da,
10184
+ icon: $r,
10185
10185
  type: "table"
10186
10186
  }
10187
10187
  ];
@@ -10349,7 +10349,7 @@ function Sh(e) {
10349
10349
  return _m(e.chart) && e.chart.type === "bar" && "orientation" in e.chart && e.chart.orientation === "horizontal";
10350
10350
  }
10351
10351
  function Ch({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, readOnly: a, handleDelete: o, onAskAi: s, onAskAiTarget: c, onTransformChart: l, isFullscreen: u, onFullscreenChange: d }) {
10352
- let f = R(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } = ki(), y = !_m(e.chart), b = y ? gh : e.chart, [x, S] = J(null), C = e.useDashboardFilters !== !1, w = JSON.stringify(r?.value ?? {}), { data: T, isLoading: E, error: D, retry: O } = Qm(e.fetchData, t, C, w), k = q(null), A = K(() => T && !y ? yh(e, T) : void 0, [
10352
+ let f = R(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } = wi(), y = !_m(e.chart), b = y ? gh : e.chart, [x, S] = J(null), C = e.useDashboardFilters !== !1, w = JSON.stringify(r?.value ?? {}), { data: T, isLoading: E, error: D, retry: O } = Qm(e.fetchData, t, C, w), k = q(null), A = K(() => T && !y ? yh(e, T) : void 0, [
10353
10353
  e,
10354
10354
  T,
10355
10355
  y
@@ -10574,11 +10574,11 @@ function jh({ source: e, title: t, description: n, columns: r, tableSettings: i
10574
10574
  ]), l = W(() => c("excel"), [c]), u = W(() => c("csv"), [c]);
10575
10575
  return K(() => e ? [{
10576
10576
  label: a("ai.dataDownload.download", { format: "Excel" }),
10577
- icon: da,
10577
+ icon: $r,
10578
10578
  onClick: l
10579
10579
  }, {
10580
10580
  label: a("ai.dataDownload.download", { format: "CSV" }),
10581
- icon: da,
10581
+ icon: $r,
10582
10582
  onClick: u
10583
10583
  }] : [], [
10584
10584
  e,
@@ -10699,12 +10699,12 @@ function Ih({ value: e, trend: t, comparison: n }) {
10699
10699
  className: "flex shrink-0 items-center",
10700
10700
  children: [
10701
10701
  t.direction === "up" ? /* @__PURE__ */ X(H, {
10702
- icon: Ts,
10702
+ icon: Ns,
10703
10703
  color: "positive",
10704
10704
  size: "sm",
10705
10705
  "aria-hidden": "true"
10706
10706
  }) : /* @__PURE__ */ X(H, {
10707
- icon: yo,
10707
+ icon: Do,
10708
10708
  color: "critical",
10709
10709
  size: "sm",
10710
10710
  "aria-hidden": "true"
@@ -10906,7 +10906,7 @@ function Kh({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
10906
10906
  if (Math.hypot(t.clientX - n, t.clientY - r) < Vh) return;
10907
10907
  i = !0, T(e), N.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]"));
10908
10908
  let a = k.current.get(e)?.title ?? "";
10909
- a && window.dispatchEvent(new CustomEvent(Zr, { detail: {
10909
+ a && window.dispatchEvent(new CustomEvent(bi, { detail: {
10910
10910
  id: e,
10911
10911
  title: a,
10912
10912
  onAskAi: c,
@@ -10920,7 +10920,7 @@ function Kh({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
10920
10920
  }, o = (e) => {
10921
10921
  document.removeEventListener("pointermove", a), document.removeEventListener("pointerup", s), document.removeEventListener("pointercancel", u), P.current = null;
10922
10922
  let t = A.current, n = j.current;
10923
- e && i && t && n && F(t, n), A.current = null, j.current = null, N.current = [], T(null), D(null), i && window.dispatchEvent(new CustomEvent(Mi));
10923
+ e && i && t && n && F(t, n), A.current = null, j.current = null, N.current = [], T(null), D(null), i && window.dispatchEvent(new CustomEvent(Ua));
10924
10924
  }, s = (e) => {
10925
10925
  i && (N.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]")), j.current = ee(e.clientX, e.clientY)), o(!0);
10926
10926
  }, u = () => o(!1);
@@ -11098,7 +11098,7 @@ function qh({ id: e, isDragging: t, showIndicatorBefore: n, showIndicatorAfter:
11098
11098
  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",
11099
11099
  "aria-label": "Drag to reorder",
11100
11100
  children: /* @__PURE__ */ X(H, {
11101
- icon: aa,
11101
+ icon: Gr,
11102
11102
  size: "xs"
11103
11103
  })
11104
11104
  }) : null, s]
@@ -11268,21 +11268,21 @@ function sg({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, read
11268
11268
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/ExportDropdown/ExportDropdown.tsx
11269
11269
  function cg({ onExportExcel: e, isExporting: t }) {
11270
11270
  let { t: n } = R();
11271
- return /* @__PURE__ */ X(ea, {
11271
+ return /* @__PURE__ */ X(vi, {
11272
11272
  items: [{
11273
11273
  label: t ? n("ai.dataDownload.exporting") : n("ai.dataDownload.exportDashboard", { format: "Excel" }),
11274
- icon: Si,
11274
+ icon: ci,
11275
11275
  onClick: t ? () => {} : e
11276
11276
  }],
11277
- icon: qr
11277
+ icon: Hs
11278
11278
  });
11279
11279
  }
11280
11280
  //#endregion
11281
11281
  //#region src/blocks/OneFilterPicker/internal/ControlledOneFilterPicker.tsx
11282
11282
  function lg(e) {
11283
- return /* @__PURE__ */ X(ns.Provider, {
11283
+ return /* @__PURE__ */ X(us.Provider, {
11284
11284
  value: "controlled",
11285
- children: /* @__PURE__ */ X(hs, { ...e })
11285
+ children: /* @__PURE__ */ X(Cs, { ...e })
11286
11286
  });
11287
11287
  }
11288
11288
  lg.displayName = "ControlledOneFilterPicker";
@@ -11425,7 +11425,7 @@ function gg({ items: e, filters: t, filename: n = "dashboard" }) {
11425
11425
  //#endregion
11426
11426
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/F0AnalyticsDashboard.tsx
11427
11427
  var _g = ({ 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 }) => {
11428
- let y = R(), [b = {}, x] = Gs({
11428
+ let y = R(), [b = {}, x] = ec({
11429
11429
  prop: r,
11430
11430
  defaultProp: n ?? {},
11431
11431
  onChange: i
@@ -12240,7 +12240,7 @@ var r_ = ({ onClose: e }) => {
12240
12240
  className: "dark flex-shrink-0",
12241
12241
  children: /* @__PURE__ */ X(V, {
12242
12242
  variant: "outline",
12243
- icon: bi,
12243
+ icon: Ni,
12244
12244
  size: "sm",
12245
12245
  hideLabel: !0,
12246
12246
  onClick: e,
@@ -12257,7 +12257,7 @@ var r_ = ({ onClose: e }) => {
12257
12257
  className: "dark flex flex-shrink-0 flex-row flex-wrap items-center gap-3",
12258
12258
  children: [e.map((e) => /* @__PURE__ */ X("div", {
12259
12259
  onClick: () => n(e),
12260
- children: /* @__PURE__ */ X(Ui, {
12260
+ children: /* @__PURE__ */ X(na, {
12261
12261
  href: e.href,
12262
12262
  children: e.label
12263
12263
  })
@@ -12269,7 +12269,7 @@ var r_ = ({ onClose: e }) => {
12269
12269
  onClick: () => n(e)
12270
12270
  }, `button-${e.label}`))]
12271
12271
  }), o_ = (e, t) => {
12272
- let n = Eo(e);
12272
+ let n = Po(e);
12273
12273
  return {
12274
12274
  buttonActions: n.filter((e) => e.type === "button"),
12275
12275
  linkActions: n.filter((e) => e.type === "link"),
@@ -12288,7 +12288,7 @@ var r_ = ({ onClose: e }) => {
12288
12288
  children: t
12289
12289
  }),
12290
12290
  inStack: !1
12291
- }), c_ = () => Sc(s_), l_ = (e) => B("pointer-events-auto relative flex w-full flex-col gap-3 overflow-hidden rounded-lg p-3", !e && "bg-f1-background-inverse dark:bg-f1-background-tertiary"), u_ = Wa({
12291
+ }), c_ = () => Sc(s_), l_ = (e) => B("pointer-events-auto relative flex w-full flex-col gap-3 overflow-hidden rounded-lg p-3", !e && "bg-f1-background-inverse dark:bg-f1-background-tertiary"), u_ = Qa({
12292
12292
  base: "text-base font-medium text-f1-foreground-inverse",
12293
12293
  variants: { hasIcon: {
12294
12294
  true: "pt-[3px]",
@@ -12318,14 +12318,14 @@ var r_ = ({ onClose: e }) => {
12318
12318
  _ ? /* @__PURE__ */ X("div", {
12319
12319
  className: "flex-shrink-0",
12320
12320
  "aria-hidden": "true",
12321
- children: /* @__PURE__ */ X(Io, {
12321
+ children: /* @__PURE__ */ X(Wo, {
12322
12322
  size: "small",
12323
12323
  className: "text-f1-foreground-inverse"
12324
12324
  })
12325
12325
  }) : g && /* @__PURE__ */ X("div", {
12326
12326
  className: "flex-shrink-0",
12327
12327
  "aria-hidden": "true",
12328
- children: /* @__PURE__ */ X(Ia, {
12328
+ children: /* @__PURE__ */ X(ui, {
12329
12329
  type: g,
12330
12330
  size: "sm"
12331
12331
  })
@@ -12385,7 +12385,7 @@ var h_ = (e) => e instanceof Element && e.closest("button, a") !== null, g_ = yc
12385
12385
  children: [
12386
12386
  /* @__PURE__ */ X("div", {
12387
12387
  className: "flex-shrink-0",
12388
- children: /* @__PURE__ */ X(no, {
12388
+ children: /* @__PURE__ */ X(uo, {
12389
12389
  avatar: e,
12390
12390
  size: "md"
12391
12391
  })
@@ -12643,15 +12643,15 @@ var __ = B("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
12643
12643
  showExperimentalWarnings: l,
12644
12644
  renderDataTestIdAttribute: u,
12645
12645
  hourCycle: s,
12646
- children: /* @__PURE__ */ X(Yo, {
12646
+ children: /* @__PURE__ */ X(rs, {
12647
12647
  ...o,
12648
12648
  children: /* @__PURE__ */ X(mn, {
12649
12649
  ...a,
12650
12650
  children: /* @__PURE__ */ X(rr, {
12651
12651
  ...t,
12652
- children: /* @__PURE__ */ X(Ha, { children: /* @__PURE__ */ X(n, {
12652
+ children: /* @__PURE__ */ X(Xa, { children: /* @__PURE__ */ X(n, {
12653
12653
  initiallyEnabled: r,
12654
- children: /* @__PURE__ */ X(Ya, {
12654
+ children: /* @__PURE__ */ X(ro, {
12655
12655
  ...i,
12656
12656
  children: e
12657
12657
  })
@@ -12688,7 +12688,7 @@ var __ = B("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
12688
12688
  renderDataTestIdAttribute: d,
12689
12689
  children: /* @__PURE__ */ X(H_, {
12690
12690
  ...t,
12691
- children: /* @__PURE__ */ X(ei, {
12691
+ children: /* @__PURE__ */ X(ti, {
12692
12692
  handler: l,
12693
12693
  children: /* @__PURE__ */ X(sr, { children: /* @__PURE__ */ X(lt, {
12694
12694
  ...p,
@@ -12707,4 +12707,4 @@ var __ = B("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
12707
12707
  })
12708
12708
  });
12709
12709
  //#endregion
12710
- export { br as AiChatTranslationsProvider, st as AreaChart, js as Await, rt as BarChart, Tt as BarChartSkeleton, ae as CardSelectableContainer, Pe as CategoryBarChart, ji as ChatSpinner, _o as Chip, Mr as CollapsibleGroup, Yt as ComboChart, ct as DATA_COLLECTION_URL_PARAMS, it as DATA_COLLECTION_URL_PARAM_PREFIX, jl as Dashboard, xt as DataChartEmptyStateView, dn as DataTestIdWrapper, vt as DndProvider, ti as DropOverlay, qn as EmojiImage, lu as F0Accordion, t as F0ActionBar, xi as F0ActionItem, $i as F0AiChat, xr as F0AiChatCreditsButton, kr as F0AiChatHeader, Er as F0AiChatHistory, Pa as F0AiChatProvider, cr as F0AiChatTextArea, ur as F0AiChatUsageLimitsButton, _r as F0AiFileAttachments, Oa as F0AiFilePreviewsProvider, Xr as F0AiFormRegistryProvider, Ar as F0AiInsightCard, vr as F0AiMask, Sr as F0AiMessageSources, ar as F0AiMessagesContainer, ja as F0AiPong, Ir as F0AiProcessingOverlay, Cr as F0AiProposalCard, Lr as F0AiTableCard, lc as F0Alert, vg as F0AnalyticsDashboard, oc as F0AudioPlayer, nc as F0AudioPlayerCard, wr as F0AuraVoiceAnimation, no as F0Avatar, Ia as F0AvatarAlert, Ja as F0AvatarCompany, la as F0AvatarDate, Qa as F0AvatarEmoji, to as F0AvatarFile, ro as F0AvatarIcon, so as F0AvatarList, oo as F0AvatarModule, io as F0AvatarPerson, co as F0AvatarTeam, $l as F0BigNumber, cm as F0BookAMeetingCard, Za as F0Box, V as F0Button, Yi as F0ButtonDropdown, Os as F0ButtonToggle, Or as F0CanvasCard, Ea as F0CanvasPanel, Yr as F0Card, $r as F0CardRow, Ra as F0ChatComposer, Jo as F0Checkbox, pu as F0ChipList, Rr as F0ClarifyingPanel, Ht as F0DataChart, a as F0DatePicker, cn as F0DatePickerInline, im as F0DemoCard, ta as F0Dialog, p as F0DialogAlikeContext, b as F0DialogAlikeProvider, To as F0DialogContext, ms as F0DialogProvider, fc as F0DocumentViewer, xu as F0Drawer, mt as F0DurationInput, Cs as F0EventCatcherProvider, om as F0FAQCard, Ti as F0FileItem, wu as F0FilterPickerContent, me as F0Form, Ru as F0FormField, xl as F0GridStack, Tr as F0HILActionConfirmation, Zt as F0Heading, H as F0Icon, Ui as F0Link, sm as F0ModuleCard, rn as F0NotesTextEditor, Le as F0NotesTextEditorSkeleton, u as F0NumberInput, f as F0NumberInputInline, Ci as F0OneIcon, pa as F0OneSwitch, uc as F0PdfViewer, G_ as F0Provider, lm as F0QuestionCardMultiStep, Aa as F0RichTextDisplay, dt as F0RichTextEditor, ss as F0SearchInput, ys as F0Select, r as F0SelectInline, wd as F0Slider, Rd as F0TableOfContentPopover, Po as F0TagAlert, Oo as F0TagBalance, rs as F0TagCompany, ho as F0TagDot, ps as F0TagList, is as F0TagPerson, vo as F0TagRaw, ws as F0TagStatus, jo as F0TagTeam, wi as F0Text, Qt as F0TextAreaInput, s as F0TextAreaInputInline, Ei as F0TextInput, de as F0TextInputInline, o as F0TimelineRow, mc as F0VideoPlayer, sd as F0WizardForm, es as F1SearchBox, P as FILE_TYPES, ii as FileItem, sr as FormCardValueFormatterProvider, Rt as FunnelChartSkeleton, eo as GROUP_ID_SYMBOL, fo as GROUP_KEY_SEPARATOR, We as GaugeChartSkeleton, yt as HeatmapChartSkeleton, ql as HomeLayout, Ot as InlineFieldRow, bt as InlineFieldRowList, Wr as Input, Wl as Layout, on as LineChart, Gt as LineChartSkeleton, Fe as MAX_URL_FILTER_VALUES, $t as NotesTextEditor, ue as NotesTextEditorSkeleton, te as NumberInput, Qo as OneCalendar, Ho as OneCalendarInternal, $n as OneEllipsis, m as OneEmptyState, hs as OneFilterPicker, ze as PieChart, qe as PieChartSkeleton, Ni as PongBall, n as PrivacyModeProvider, Gp as ProductBlankslate, tt as ProductCard, Jp as ProductModal, Xp as ProductWidget, tn as ProgressBarChart, fe as RadarChart, et as RadarChartSkeleton, La as RichTextDisplay, M as RichTextEditor, kt as ScatterChartSkeleton, Gl as StandardLayout, fp as SurveyAllQuestionsLoadingSkeleton, Ip as SurveyAnsweringForm, ip as SurveyFormBuilder, zp as SurveySampleQuestion, pp as SurveySteppedLoadingSkeleton, bo as Tag, cs as TagCounter, he as Textarea, Fr as ThreadItem, yr as ThreadListSkeleton, z_ as ToastProvider, Kl as TwoColumnLayout, ne as UPLOAD_INPUT_ID, j as UpsellRequestResponseDialog, $p as UpsellingAlert, tm as UpsellingBanner, S as UpsellingButton, rm as UpsellingPopover, c as VerticalBarChart, ls as WeekStartDay, Xe as actionBarStatuses, Hr as actionItemStatuses, Ba as adaptDataAdapterToInfiniteScroll, ir as aiChatFileFromShowFilesItem, Dr as aiChatFileFromUploadedFile, dr as aiChatFilesFromMessage, fr as aiChatMessageText, gr as aiTranslations, gu as alertVariantOptions, ru as audioPlayerSizes, Jl as avatarVariants, Xt as buildDataCollectionUrlParams, fn as buildTranslations, nu as buttonDropdownModes, tu as buttonDropdownSizes, eu as buttonDropdownVariants, Dl as buttonSizes, Ee as buttonToggleColors, Te as buttonToggleSizes, Ae as buttonToggleVariants, El as buttonVariants, uu as cardAlertVariants, si as cardImageAspectRatios, Ii as cardImageFits, Bi as cardImageSizes, Do as chartColorTokens, Es as chipVariants, Ud as computeSectionEndIds, pc as configurePdfWorker, Nr as contentTypes, Wt as createAtlaskitDriver, Lo as createDataSourceDefinition, Ou as createF0FormDefinitionTester, Du as createF0FormTester, wl as createPageLayoutBlock, Tl as createPageLayoutBlockGroup, lr as createPersonMentionSource, _u as dataCollectionLocalStorageHandler, mu as datePickerInlineDismissReasons, hu as datepickerSizes, Ka as defaultTranslations, Li as defineAvailableForm, Tu as describeFormSchema, O as dialog, O as dialogs, Mt as drawers, ga as durationInputSizes, Ta as durationUnits, Jt as evaluateRenderIf, hn as experimental, di as f0FileItemSizes, Gi as f0FormField, Sa as fieldsToSeconds, zd as flattenElements, ec as formatPlaybackTime, pd as forms, nt as generateAnchorId, Ro as getAnimationVariants, ca as getDataCollectionStorageKey, zo as getDataSourcePaginationType, Qn as getEmojiLabel, Xi as getF0Config, Ss as getGranularityDefinition, Xo as getGranularityDefinitions, ks as getGranularitySimpleDefinition, an as getSchemaDefinition, bs as granularityDefinitions, Oi as hasF0Config, Kr as inferFieldType, Hd as injectSectionEnds, lo as isInfiniteScrollPagination, uo as isPageBasedPagination, na as isZodType, iu as linkVariants, mr as markdownRenderers, Qr as mergeDataCollectionFilters, qa as modules, hr as oneIconSizes, sn as parseDataCollectionUrlParams, dc as pdfScales, C as predefinedPresets, vs as rangeSeparator, Na as readDataCollectionStorage, Vd as reconstructElements, Pi as resolveDataCollectionFilters, us as resolveGranularityDefinition, At as resolveItemNeighbors, h as resolveWindowNeighbors, oa as secondsToFields, Zi as secondsToVisibleFields, md as selectInlineDismissReasons, ve as selectSizes, _ as selectVariants, Be as setDataCollectionUrlParams, hd as sliderTooltipModes, nn as syncDataCollectionUrlParams, Ed as tagDotColors, Td as timelineRowStatuses, Ft as toasts, ma as unwrapZodSchema, jr as usageLimitsPopoverSides, ki as useAiChat, Br as useAiChatTranslations, sc as useAudioPlayer, Vr as useCanvasEntity, Pr as useChatHistory, ao as useData, So as useDataSource, xe as useDataSourceItemNavigation, ac as useDerivedTranscription, wt as useDndEvents, Lt as useDraggable, Ue as useDroppableList, Xn as useEmojiConfetti, ci as useF0AiFormRegistry, wo as useF0Dialog, k as useF0DialogAlikeContext, $e as useF0Form, St as useF0FormDefinition, or as useFormCardValueFormatter, W_ as useFormComponent, Co as useGroups, yg as useIsDesktop, bg as useIsMobile, E as useItemNeighbors, Je as usePrivacyMode, Jn as useReducedMotion, Re as useSchemaDefinition, go as useSelectable, pr as useSetFormCardValueFormatter, zr as useToolCallId, Va as useXRay, L as withDataTestId, pe as writeDataCollectionStorage };
12710
+ export { br as AiChatTranslationsProvider, st as AreaChart, zs as Await, rt as BarChart, Tt as BarChartSkeleton, ae as CardSelectableContainer, Pe as CategoryBarChart, li as ChatSpinner, To as Chip, Mr as CollapsibleGroup, Yt as ComboChart, ct as DATA_COLLECTION_URL_PARAMS, it as DATA_COLLECTION_URL_PARAM_PREFIX, jl as Dashboard, xt as DataChartEmptyStateView, dn as DataTestIdWrapper, vt as DndProvider, mi as DropOverlay, qn as EmojiImage, lu as F0Accordion, t as F0ActionBar, ii as F0ActionItem, yi as F0AiChat, xr as F0AiChatCreditsButton, kr as F0AiChatHeader, Er as F0AiChatHistory, qr as F0AiChatProvider, cr as F0AiChatTextArea, ur as F0AiChatUsageLimitsButton, _r as F0AiFileAttachments, Na as F0AiFilePreviewsProvider, si as F0AiFormRegistryProvider, Ar as F0AiInsightCard, vr as F0AiMask, Sr as F0AiMessageSources, ar as F0AiMessagesContainer, Qr as F0AiPong, Ir as F0AiProcessingOverlay, Cr as F0AiProposalCard, Lr as F0AiTableCard, lc as F0Alert, vg as F0AnalyticsDashboard, Ri as F0AudioPlayer, va as F0AudioPlayerCard, wr as F0AuraVoiceAnimation, uo as F0Avatar, ui as F0AvatarAlert, no as F0AvatarCompany, Yr as F0AvatarDate, oo as F0AvatarEmoji, lo as F0AvatarFile, fo as F0AvatarIcon, go as F0AvatarList, ho as F0AvatarModule, po as F0AvatarPerson, _o as F0AvatarTeam, $l as F0BigNumber, cm as F0BookAMeetingCard, ao as F0Box, V as F0Button, $i as F0ButtonDropdown, Is as F0ButtonToggle, Or as F0CanvasCard, Pa as F0CanvasPanel, oi as F0Card, oa as F0CardRow, ni as F0ChatComposer, ns as F0Checkbox, pu as F0ChipList, Rr as F0ClarifyingPanel, Ht as F0DataChart, a as F0DatePicker, cn as F0DatePickerInline, im as F0DemoCard, Qi as F0Dialog, p as F0DialogAlikeContext, b as F0DialogAlikeProvider, No as F0DialogContext, Ss as F0DialogProvider, fc as F0DocumentViewer, xu as F0Drawer, mt as F0DurationInput, js as F0EventCatcherProvider, om as F0FAQCard, ai as F0FileItem, wu as F0FilterPickerContent, me as F0Form, Ru as F0FormField, xl as F0GridStack, Tr as F0HILActionConfirmation, Zt as F0Heading, H as F0Icon, na as F0Link, sm as F0ModuleCard, rn as F0NotesTextEditor, Le as F0NotesTextEditorSkeleton, u as F0NumberInput, f as F0NumberInputInline, Kr as F0OneIcon, pa as F0OneSwitch, uc as F0PdfViewer, G_ as F0Provider, lm as F0QuestionCardMultiStep, ei as F0RichTextDisplay, dt as F0RichTextEditor, hs as F0SearchInput, Ds as F0Select, r as F0SelectInline, wd as F0Slider, Rd as F0TableOfContentPopover, Ho as F0TagAlert, Io as F0TagBalance, ds as F0TagCompany, Co as F0TagDot, xs as F0TagList, fs as F0TagPerson, Eo as F0TagRaw, Ms as F0TagStatus, zo as F0TagTeam, cc as F0Text, Qt as F0TextAreaInput, s as F0TextAreaInputInline, xa as F0TextInput, de as F0TextInputInline, o as F0TimelineRow, mc as F0VideoPlayer, sd as F0WizardForm, cs as F1SearchBox, P as FILE_TYPES, Ci as FileItem, sr as FormCardValueFormatterProvider, Rt as FunnelChartSkeleton, co as GROUP_ID_SYMBOL, bo as GROUP_KEY_SEPARATOR, We as GaugeChartSkeleton, yt as HeatmapChartSkeleton, ql as HomeLayout, Ot as InlineFieldRow, bt as InlineFieldRowList, ja as Input, Wl as Layout, on as LineChart, Gt as LineChartSkeleton, Fe as MAX_URL_FILTER_VALUES, $t as NotesTextEditor, ue as NotesTextEditorSkeleton, te as NumberInput, os as OneCalendar, Xo as OneCalendarInternal, $n as OneEllipsis, m as OneEmptyState, Cs as OneFilterPicker, ze as PieChart, qe as PieChartSkeleton, Jr as PongBall, n as PrivacyModeProvider, Gp as ProductBlankslate, tt as ProductCard, Jp as ProductModal, Xp as ProductWidget, tn as ProgressBarChart, fe as RadarChart, et as RadarChartSkeleton, Zr as RichTextDisplay, M as RichTextEditor, kt as ScatterChartSkeleton, Gl as StandardLayout, fp as SurveyAllQuestionsLoadingSkeleton, Ip as SurveyAnsweringForm, ip as SurveyFormBuilder, zp as SurveySampleQuestion, pp as SurveySteppedLoadingSkeleton, Oo as Tag, gs as TagCounter, he as Textarea, Fr as ThreadItem, yr as ThreadListSkeleton, z_ as ToastProvider, Kl as TwoColumnLayout, ne as UPLOAD_INPUT_ID, j as UpsellRequestResponseDialog, $p as UpsellingAlert, tm as UpsellingBanner, S as UpsellingButton, rm as UpsellingPopover, c as VerticalBarChart, _s as WeekStartDay, Xe as actionBarStatuses, Hr as actionItemStatuses, wa as adaptDataAdapterToInfiniteScroll, ir as aiChatFileFromShowFilesItem, Dr as aiChatFileFromUploadedFile, dr as aiChatFilesFromMessage, fr as aiChatMessageText, gr as aiTranslations, gu as alertVariantOptions, ru as audioPlayerSizes, Jl as avatarVariants, Xt as buildDataCollectionUrlParams, fn as buildTranslations, nu as buttonDropdownModes, tu as buttonDropdownSizes, eu as buttonDropdownVariants, Dl as buttonSizes, Ee as buttonToggleColors, Te as buttonToggleSizes, Ae as buttonToggleVariants, El as buttonVariants, uu as cardAlertVariants, Di as cardImageAspectRatios, Mi as cardImageFits, _i as cardImageSizes, Fo as chartColorTokens, Ps as chipVariants, Ud as computeSectionEndIds, pc as configurePdfWorker, Nr as contentTypes, Wt as createAtlaskitDriver, Go as createDataSourceDefinition, Ou as createF0FormDefinitionTester, Du as createF0FormTester, wl as createPageLayoutBlock, Tl as createPageLayoutBlockGroup, lr as createPersonMentionSource, _u as dataCollectionLocalStorageHandler, mu as datePickerInlineDismissReasons, hu as datepickerSizes, eo as defaultTranslations, ji as defineAvailableForm, Tu as describeFormSchema, O as dialog, O as dialogs, Mt as drawers, da as durationInputSizes, ea as durationUnits, Jt as evaluateRenderIf, hn as experimental, Ei as f0FileItemSizes, ra as f0FormField, Gi as fieldsToSeconds, zd as flattenElements, ua as formatPlaybackTime, pd as forms, nt as generateAnchorId, Ko as getAnimationVariants, di as getDataCollectionStorageKey, qo as getDataSourcePaginationType, Qn as getEmojiLabel, zi as getF0Config, As as getGranularityDefinition, is as getGranularityDefinitions, Ls as getGranularitySimpleDefinition, an as getSchemaDefinition, Os as granularityDefinitions, ya as hasF0Config, ka as inferFieldType, Hd as injectSectionEnds, vo as isInfiniteScrollPagination, yo as isPageBasedPagination, Ui as isZodType, iu as linkVariants, mr as markdownRenderers, aa as mergeDataCollectionFilters, to as modules, hr as oneIconSizes, sn as parseDataCollectionUrlParams, dc as pdfScales, C as predefinedPresets, Es as rangeSeparator, fi as readDataCollectionStorage, Vd as reconstructElements, pi as resolveDataCollectionFilters, vs as resolveGranularityDefinition, At as resolveItemNeighbors, h as resolveWindowNeighbors, Xi as secondsToFields, Ca as secondsToVisibleFields, md as selectInlineDismissReasons, ve as selectSizes, _ as selectVariants, Be as setDataCollectionUrlParams, hd as sliderTooltipModes, nn as syncDataCollectionUrlParams, Ed as tagDotColors, Td as timelineRowStatuses, Ft as toasts, Va as unwrapZodSchema, jr as usageLimitsPopoverSides, wi as useAiChat, Br as useAiChatTranslations, Sa as useAudioPlayer, Vr as useCanvasEntity, Pr as useChatHistory, mo as useData, Ao as useDataSource, xe as useDataSourceItemNavigation, Yi as useDerivedTranscription, wt as useDndEvents, Lt as useDraggable, Ue as useDroppableList, Xn as useEmojiConfetti, ki as useF0AiFormRegistry, Mo as useF0Dialog, k as useF0DialogAlikeContext, $e as useF0Form, St as useF0FormDefinition, or as useFormCardValueFormatter, W_ as useFormComponent, jo as useGroups, yg as useIsDesktop, bg as useIsMobile, E as useItemNeighbors, Je as usePrivacyMode, Jn as useReducedMotion, Re as useSchemaDefinition, wo as useSelectable, pr as useSetFormCardValueFormatter, zr as useToolCallId, Ya as useXRay, L as withDataTestId, pe as writeDataCollectionStorage };