@factorialco/f0-react 4.55.0 → 4.56.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,8 @@
1
1
  import { jsx as m, jsxs as P, Fragment as Fe } from "react/jsx-runtime";
2
2
  import * as Ve from "react";
3
3
  import ae, { useRef as V, useState as Y, useCallback as Q, useEffect as ie, useContext as ht, useMemo as J, createContext as Mt, forwardRef as Qe, useLayoutEffect as rn, memo as Et, useReducer as L7, cloneElement as Z6, PureComponent as yc, useImperativeHandle as La, Fragment as Ol, useId as vc, createElement as Bv, isValidElement as F7, useDebugValue as Q6, version as L2, createRef as $7 } from "react";
4
- import { en as F2, eo as Wf, ep as z7, e9 as eE, eq as B7, er as j7, es as H7, et as j1, eu as V7, ev as W7, ew as U7, ex as q7, ey as K7, ez as G7, eA as Y7, K as Ge, eB as tE, eC as X7, a3 as Qt, ag as ig, n as K, a7 as rg, c3 as J7, dc as Z7, L as Ts, w as Pt, s as Xi, eD as nE, eE as iE, eF as Q7, eG as eP, eH as Gs, x as Kn, eI as Ct, eJ as li, eK as rE, eL as tP, eM as oE, eN as nP, eO as Pn, eP as og, eQ as Zt, eR as sE, eS as sg, eT as uw, eU as hw, eV as pw, eW as Tn, eX as si, eY as jv, eZ as ag, e_ as iP, e$ as qn, f0 as ls, f1 as ii, f2 as Fa, f3 as mw, f4 as lg, f5 as Ih, f6 as cg, cy as gw, f7 as rP, f8 as Bu, f9 as cp, fa as oP, fb as sP, fc as aP, fd as lP, fe as cP, ff as dP, fg as aE, fh as lE, fi as cE, fj as dE, fk as fE, fl as fP, fm as dp, fn as uP, fo as hP, fp as Uf, fq as Ds, ef as mo, fr as yw, fs as qf, ft as uE, eg as hE, fu as pP, fv as mP, ed as gP, fw as yP, ee as vP, as as Gn, fx as Yn, M as Kf, N as Gf, O as Yf, V as Xf, fy as bP, fz as pE, U as dn, fA as mE, ci as Ji, Z as $t, cP as wP, aF as qi, m as Ae, ak as bc, am as Ml, a0 as it, ac as Jf, c4 as xP, fB as gE, fC as kP, fD as _P, u as je, a_ as yE, ba as wc, cw as vE, c8 as bE, aT as vw, bn as dg, an as fg, fE as wE, b1 as SP, ae as Rr, fF as CP, bX as xE, fG as EP, cU as cn, fH as kE, fI as _E, fJ as Hv, fK as AP, fL as $2, au as Zf, c$ as SE, cV as Vv, aO as bw, aP as ww, aQ as xw, cZ as NP, k as Vi, cE as z2, cb as TP, dm as DP, dK as Wv, fM as OP, fN as MP, fO as H1, dP as CE, bT as $a, ay as bs, cg as IP, fP as B2, c2 as kw, fQ as RP, cT as PP, J as LP, G as FP, A as $P, fR as EE, fS as zP, ea as BP, fT as jP, fU as AE, X as HP, fV as VP, fW as WP, fX as UP, fY as j2, fZ as H2, f_ as V1, f$ as V2, g0 as qP, g1 as KP, at as GP, g2 as NE, g3 as YP, aK as XP, cK as ug, a1 as TE, a2 as DE, bZ as hg, a6 as OE, ad as JP, g4 as ZP, g5 as W2, ab as fp, cL as pg, g6 as ME, g7 as IE, a5 as RE, g8 as PE, q as xc, dC as mg, ar as go, aD as LE, bk as QP, bl as eL, g9 as tL, ga as nL, o as _w, gb as FE, gc as gg, gd as kc, ge as iL, gf as Sw, gg as Ut, e8 as Gd, gh as zn, d6 as va, cd as Uv, aA as rL, aB as oL, S as Ie, a8 as sL, ah as qv, co as aL, bM as $E, bN as zE, bO as BE, t as Qf, gi as Cw, aw as yg, gj as lL, aL as cL, bK as vg, bw as ko, c0 as jE, c1 as HE, aq as dL, cB as fL, dZ as VE, b5 as uL, gk as hL, gl as pL, cY as mL, gm as up, gn as Yo, e5 as gL, dS as yL, go as vL, bg as bL, aG as Kv, dU as wL, bm as xL, bC as kL, gp as WE, bE as _L, bc as SL, gq as CL, gr as bg, gs as Ew, cj as EL, ck as AL, cl as NL, cn as TL, gt as Aw, gu as Gv, bP as wg, gv as DL, gw as hp, gx as OL, aE as ML, dM as IL, gy as U2, gz as RL, gA as q2, gB as W1, gC as UE, b_ as qE, dR as PL, dz as LL, i as Nw, gD as FL, gE as $L, be as zL, ai as BL, j as Tw, cH as jL, dO as HL, dH as K2, dL as Dw, dW as VL, l as WL, gF as UL, gG as Ow, dd as qL, dk as KL, dT as GL, gH as YL, r as XL, cv as G2, gI as JL, gJ as ZL, gK as QL, gL as eF, gM as KE, bW as tF, al as nF, c as iF, cA as rF, bo as U1, gN as eu, gO as Mw, gP as Iw, gQ as tu, gR as oF, bi as sF, cI as Rw, bt as aF, d7 as lF, b3 as cF, bz as dF, de as fF, dG as uF, dY as hF, dV as pF, dD as GE, dE as YE, dF as XE, dN as JE, di as ZE, da as QE, d8 as e9, db as t9, d9 as n9, dj as i9, dQ as r9, ax as o9, gS as s9, gT as mF, b6 as gF, dx as yF, dv as vF, du as bF, dt as wF, dw as xF, bF as kF, d_ as _F, bU as SF, bV as CF, dX as EF, bI as AF, bJ as NF, b$ as TF, bS as DF, gU as OF, e4 as MF, gV as IF, gW as RF, gX as PF } from "./F0CanvasPanel-DvAledR4.js";
4
+ import { eg as F2, eh as Wf, ei as z7, e2 as eE, ej as B7, ek as j7, el as H7, em as j1, en as V7, eo as W7, ep as U7, eq as q7, er as K7, es as G7, et as Y7, H as Ge, eu as tE, ev as X7, Y as Qt, a9 as ig, a0 as rg, bY as J7, d5 as Z7, J as Ts, w as Pt, r as Xi, ew as nE, ex as iE, ey as Q7, ez as eP, eA as Gs, eB as Ct, eC as li, eD as rE, eE as tP, eF as oE, eG as nP, eH as Pn, eI as og, eJ as Zt, eK as sE, eL as sg, eM as uw, eN as hw, eO as pw, eP as Tn, eQ as si, eR as jv, eS as ag, eT as iP, eU as qn, eV as ls, eW as ii, eX as Fa, eY as mw, eZ as lg, e_ as Ih, e$ as cg, cr as gw, f0 as rP, f1 as Bu, f2 as cp, f3 as oP, f4 as sP, f5 as aP, f6 as lP, f7 as cP, f8 as dP, f9 as aE, fa as lE, fb as cE, fc as dE, fd as fE, fe as fP, ff as dp, fg as uP, fh as hP, fi as Uf, fj as Ds, e8 as mo, fk as yw, fl as qf, fm as uE, e9 as hE, fn as pP, fo as mP, e6 as gP, fp as yP, e7 as vP, al as Kn, fq as Gn, fr as bP, fs as pE, ft as mE, cb as Ji, O as $t, cI as wP, ay as qi, m as Ae, ad as bc, af as Ml, V as it, a5 as Kf, bZ as xP, fu as kP, fv as _P, u as je, aT as gE, b3 as wc, cp as yE, c1 as vE, aM as vw, bg as dg, ag as fg, fw as bE, aW as SP, a7 as Rr, fx as CP, bQ as wE, fy as EP, cN as cn, fz as xE, fA as kE, fB as Hv, fC as AP, fD as $2, an as Gf, cU as _E, cO as Vv, aH as bw, aI as ww, aJ as xw, cS as NP, k as Vi, cx as z2, c4 as TP, df as DP, dD as Wv, fE as OP, fF as MP, fG as H1, dI as SE, bM as $a, ar as bs, c9 as IP, fH as B2, bX as kw, fI as RP, cM as PP, G as LP, A as FP, y as $P, fJ as CE, fK as zP, e3 as BP, fL as jP, fM as EE, M as HP, fN as VP, fO as WP, fP as UP, fQ as j2, fR as H2, fS as V1, fT as V2, fU as qP, fV as KP, am as GP, fW as AE, fX as YP, aD as XP, cD as ug, W as NE, X as TE, bS as hg, $ as DE, a6 as JP, fY as ZP, fZ as W2, a4 as fp, cE as pg, f_ as OE, f$ as ME, _ as IE, g0 as RE, o as xc, dv as mg, ak as go, aw as PE, bd as QP, be as eL, g1 as tL, n as _w, g2 as LE, g3 as gg, g4 as kc, g5 as nL, g6 as Sw, g7 as Ut, e1 as Gd, g8 as zn, c$ as va, c6 as Uv, at as iL, au as rL, S as Ie, a1 as oL, aa as qv, ch as sL, bF as FE, bG as $E, bH as zE, s as Yf, g9 as Cw, ap as yg, ga as aL, aE as lL, bD as vg, bp as ko, bV as BE, bW as jE, aj as cL, cu as dL, dS as HE, a_ as fL, gb as uL, gc as hL, cR as pL, gd as up, ge as Yo, d_ as mL, dL as gL, gf as yL, b9 as vL, az as Kv, dN as bL, bf as wL, bv as xL, gg as VE, bx as kL, b5 as _L, gh as SL, gi as bg, gj as Ew, cc as CL, cd as EL, ce as AL, cg as NL, gk as Aw, gl as Gv, bI as wg, gm as TL, gn as hp, go as DL, ax as OL, dF as ML, gp as U2, gq as IL, gr as q2, gs as W1, gt as WE, bT as UE, dK as RL, ds as PL, i as Nw, gu as LL, gv as FL, b7 as $L, ab as zL, j as Tw, cA as BL, dH as jL, dA as K2, dE as Dw, dP as HL, l as VL, gw as WL, gx as Ow, d6 as UL, dd as qL, dM as KL, gy as GL, q as YL, co as G2, gz as XL, gA as JL, gB as ZL, gC as QL, gD as qE, bP as eF, ae as tF, c as nF, ct as iF, bh as U1, gE as Xf, gF as Mw, gG as Iw, gH as Jf, gI as rF, bb as oF, cB as Rw, bm as sF, d0 as aF, aY as lF, bs as cF, d7 as dF, dz as fF, dR as uF, dO as hF, dw as KE, dx as GE, dy as YE, dG as XE, db as JE, d3 as ZE, d1 as QE, d4 as e9, d2 as t9, dc as n9, dJ as i9, aq as r9, gJ as o9, gK as pF, a$ as mF, dq as gF, dn as yF, dm as vF, dl as bF, dp as wF, by as xF, dT as kF, bN as _F, bO as SF, dQ as CF, bB as EF, bC as AF, bU as NF, bL as TF, gL as DF, dZ as OF, gM as MF, gN as IF, gO as RF } from "./F0CanvasPanel-BeVQHrJo.js";
5
+ import { d as K, e as Yn, T as Zf, a as Qf, b as eu, c as tu, f as dn, u as s9, S as PF } from "./tooltip-BH6Se8A4.js";
5
6
  import { g as xg } from "./_commonjsHelpers-ByX85dGu.js";
6
7
  import Pw, { unstable_batchedUpdates as ju, createPortal as Lw, flushSync as LF } from "react-dom";
7
8
  import './index2.css';const FF = {
@@ -2408,7 +2409,7 @@ const iz = ({
2408
2409
  ] })
2409
2410
  }
2410
2411
  ) : /* @__PURE__ */ m(tz, { children: t });
2411
- }, Wwe = Pt(
2412
+ }, Uwe = Pt(
2412
2413
  Xi("Carousel", iz)
2413
2414
  ), rz = (t, e) => /* @__PURE__ */ P(
2414
2415
  "svg",
@@ -5240,7 +5241,7 @@ function LB(t) {
5240
5241
  return x3++, x3;
5241
5242
  }, [t]);
5242
5243
  }
5243
- const Uwe = /* @__PURE__ */ ae.memo((t) => {
5244
+ const qwe = /* @__PURE__ */ ae.memo((t) => {
5244
5245
  let {
5245
5246
  adjustScale: e = !1,
5246
5247
  children: n,
@@ -6035,7 +6036,7 @@ var E3 = function(e) {
6035
6036
  var n = e.points, i = e.className, r = e.baseLinePoints, o = e.connectNulls, s = Sj(e, _j);
6036
6037
  if (!n || !n.length)
6037
6038
  return null;
6038
- var a = Kn("recharts-polygon", i);
6039
+ var a = Yn("recharts-polygon", i);
6039
6040
  if (r && r.length) {
6040
6041
  var l = s.stroke && s.stroke !== "none", c = Oj(n, r, o);
6041
6042
  return /* @__PURE__ */ ae.createElement("g", {
@@ -6167,7 +6168,7 @@ var $j = function(e, n, i, r) {
6167
6168
  fill: "none"
6168
6169
  });
6169
6170
  return /* @__PURE__ */ ae.createElement("circle", yo({}, s, {
6170
- className: Kn("recharts-polar-grid-concentric-circle", e.className),
6171
+ className: Yn("recharts-polar-grid-concentric-circle", e.className),
6171
6172
  key: "circle-".concat(o),
6172
6173
  cx: n,
6173
6174
  cy: i,
@@ -6180,7 +6181,7 @@ var $j = function(e, n, i, r) {
6180
6181
  fill: "none"
6181
6182
  });
6182
6183
  return /* @__PURE__ */ ae.createElement("path", yo({}, r, {
6183
- className: Kn("recharts-polar-grid-concentric-polygon", e.className),
6184
+ className: Yn("recharts-polar-grid-concentric-polygon", e.className),
6184
6185
  key: "path-".concat(i),
6185
6186
  d: $j(n, e.cx, e.cy, e.polarAngles)
6186
6187
  }));
@@ -6461,7 +6462,7 @@ var Ec = /* @__PURE__ */ (function(t) {
6461
6462
  payload: g
6462
6463
  });
6463
6464
  return /* @__PURE__ */ ae.createElement(Zt, kd({
6464
- className: Kn("recharts-polar-radius-axis-tick", sE(s)),
6465
+ className: Yn("recharts-polar-radius-axis-tick", sE(s)),
6465
6466
  key: "tick-".concat(g.coordinate)
6466
6467
  }, sg(i.props, g, y)), e.renderTickItem(s, x, l ? l(g.value, y) : g.value));
6467
6468
  });
@@ -6474,7 +6475,7 @@ var Ec = /* @__PURE__ */ (function(t) {
6474
6475
  value: function() {
6475
6476
  var i = this.props, r = i.ticks, o = i.axisLine, s = i.tick;
6476
6477
  return !r || !r.length ? null : /* @__PURE__ */ ae.createElement(Zt, {
6477
- className: Kn("recharts-polar-radius-axis", this.props.className)
6478
+ className: Yn("recharts-polar-radius-axis", this.props.className)
6478
6479
  }, o && this.renderAxisLine(), s && this.renderTicks(), uw.renderCallByParent(this.props, this.getViewBox()));
6479
6480
  }
6480
6481
  }], [{
@@ -6689,7 +6690,7 @@ var uH = Math.PI / 180, P3 = 1e-5, Ac = /* @__PURE__ */ (function(t) {
6689
6690
  y: y.y2
6690
6691
  });
6691
6692
  return /* @__PURE__ */ ae.createElement(Zt, Js({
6692
- className: Kn("recharts-polar-angle-axis-tick", sE(s)),
6693
+ className: Yn("recharts-polar-angle-axis-tick", sE(s)),
6693
6694
  key: "tick-".concat(p.coordinate)
6694
6695
  }, sg(i.props, p, g)), a && /* @__PURE__ */ ae.createElement("line", Js({
6695
6696
  className: "recharts-polar-angle-axis-tick-line"
@@ -6704,7 +6705,7 @@ var uH = Math.PI / 180, P3 = 1e-5, Ac = /* @__PURE__ */ (function(t) {
6704
6705
  value: function() {
6705
6706
  var i = this.props, r = i.ticks, o = i.radius, s = i.axisLine;
6706
6707
  return o <= 0 || !r || !r.length ? null : /* @__PURE__ */ ae.createElement(Zt, {
6707
- className: Kn("recharts-polar-angle-axis", this.props.className)
6708
+ className: Yn("recharts-polar-angle-axis", this.props.className)
6708
6709
  }, s && this.renderAxisLine(), this.renderTicks());
6709
6710
  }
6710
6711
  }], [{
@@ -7014,7 +7015,7 @@ var _o = /* @__PURE__ */ (function(t) {
7014
7015
  var i = this, r = this.props, o = r.hide, s = r.sectors, a = r.className, l = r.label, c = r.cx, d = r.cy, f = r.innerRadius, u = r.outerRadius, h = r.isAnimationActive, p = this.state.isAnimationFinished;
7015
7016
  if (o || !s || !s.length || !ii(c) || !ii(d) || !ii(f) || !ii(u))
7016
7017
  return null;
7017
- var g = Kn("recharts-pie", a);
7018
+ var g = Yn("recharts-pie", a);
7018
7019
  return /* @__PURE__ */ ae.createElement(Zt, {
7019
7020
  tabIndex: this.props.rootTabIndex,
7020
7021
  className: g,
@@ -7054,7 +7055,7 @@ var _o = /* @__PURE__ */ (function(t) {
7054
7055
  return /* @__PURE__ */ ae.cloneElement(i, r);
7055
7056
  if (Pn(i))
7056
7057
  return i(r);
7057
- var s = Kn("recharts-pie-label-line", typeof i != "boolean" ? i.className : "");
7058
+ var s = Yn("recharts-pie-label-line", typeof i != "boolean" ? i.className : "");
7058
7059
  return /* @__PURE__ */ ae.createElement(pw, gl({}, r, {
7059
7060
  key: o,
7060
7061
  type: "linear",
@@ -7069,7 +7070,7 @@ var _o = /* @__PURE__ */ (function(t) {
7069
7070
  var s = o;
7070
7071
  if (Pn(i) && (s = i(r), /* @__PURE__ */ ae.isValidElement(s)))
7071
7072
  return s;
7072
- var a = Kn("recharts-pie-label-text", typeof i != "boolean" && !Pn(i) ? i.className : "");
7073
+ var a = Yn("recharts-pie-label-text", typeof i != "boolean" && !Pn(i) ? i.className : "");
7073
7074
  return /* @__PURE__ */ ae.createElement(og, gl({}, r, {
7074
7075
  alignmentBaseline: "middle",
7075
7076
  className: a
@@ -7431,7 +7432,7 @@ var lu = /* @__PURE__ */ (function(t) {
7431
7432
  var i = this.props, r = i.hide, o = i.className, s = i.points, a = i.isAnimationActive;
7432
7433
  if (r || !s || !s.length)
7433
7434
  return null;
7434
- var l = this.state.isAnimationFinished, c = Kn("recharts-radar", o);
7435
+ var l = this.state.isAnimationFinished, c = Yn("recharts-radar", o);
7435
7436
  return /* @__PURE__ */ ae.createElement(Zt, {
7436
7437
  className: c
7437
7438
  }, this.renderPolygon(), (!a || l) && Fa.renderCallByParent(this.props, s));
@@ -7459,7 +7460,7 @@ var lu = /* @__PURE__ */ (function(t) {
7459
7460
  var s = r.key, a = CH(r, SH);
7460
7461
  o = /* @__PURE__ */ ae.createElement(hw, Cp({}, a, {
7461
7462
  key: s,
7462
- className: Kn("recharts-radar-dot", typeof i != "boolean" ? i.className : "")
7463
+ className: Yn("recharts-radar-dot", typeof i != "boolean" ? i.className : "")
7463
7464
  }));
7464
7465
  }
7465
7466
  return o;
@@ -8187,7 +8188,7 @@ var za = /* @__PURE__ */ (function(t) {
8187
8188
  var i, r = this.props, o = r.hide, s = r.dot, a = r.points, l = r.className, c = r.xAxis, d = r.yAxis, f = r.top, u = r.left, h = r.width, p = r.height, g = r.isAnimationActive, y = r.id;
8188
8189
  if (o || !a || !a.length)
8189
8190
  return null;
8190
- var v = this.state.isAnimationFinished, x = a.length === 1, w = Kn("recharts-line", l), b = c && c.allowDataOverflow, k = d && d.allowDataOverflow, _ = b || k, S = Tn(y) ? this.id : y, C = (i = Ct(s, !1)) !== null && i !== void 0 ? i : {
8191
+ var v = this.state.isAnimationFinished, x = a.length === 1, w = Yn("recharts-line", l), b = c && c.allowDataOverflow, k = d && d.allowDataOverflow, _ = b || k, S = Tn(y) ? this.id : y, C = (i = Ct(s, !1)) !== null && i !== void 0 ? i : {
8191
8192
  r: 3,
8192
8193
  strokeWidth: 2
8193
8194
  }, E = C.r, N = E === void 0 ? 3 : E, D = C.strokeWidth, I = D === void 0 ? 2 : D, M = fP(s) ? s : {}, A = M.clipDot, T = A === void 0 ? !0 : A, O = N * 2 + I;
@@ -8236,7 +8237,7 @@ var za = /* @__PURE__ */ (function(t) {
8236
8237
  else if (Pn(i))
8237
8238
  o = i(r);
8238
8239
  else {
8239
- var s = r.key, a = W3(r, GH), l = Kn("recharts-line-dot", typeof i != "boolean" ? i.className : "");
8240
+ var s = r.key, a = W3(r, GH), l = Yn("recharts-line-dot", typeof i != "boolean" ? i.className : "");
8240
8241
  o = /* @__PURE__ */ ae.createElement(hw, _d({
8241
8242
  key: s
8242
8243
  }, a, {
@@ -8696,7 +8697,7 @@ var cu = /* @__PURE__ */ (function(t) {
8696
8697
  var i = this.props, r = i.hide, o = i.points, s = i.line, a = i.className, l = i.xAxis, c = i.yAxis, d = i.left, f = i.top, u = i.width, h = i.height, p = i.id, g = i.isAnimationActive;
8697
8698
  if (r || !o || !o.length)
8698
8699
  return null;
8699
- var y = this.state.isAnimationFinished, v = Kn("recharts-scatter", a), x = l && l.allowDataOverflow, w = c && c.allowDataOverflow, b = x || w, k = Tn(p) ? this.id : p;
8700
+ var y = this.state.isAnimationFinished, v = Yn("recharts-scatter", a), x = l && l.allowDataOverflow, w = c && c.allowDataOverflow, b = x || w, k = Tn(p) ? this.id : p;
8700
8701
  return /* @__PURE__ */ ae.createElement(Zt, {
8701
8702
  className: v,
8702
8703
  clipPath: b ? "url(#clipPath-".concat(k, ")") : null
@@ -9139,7 +9140,7 @@ const gA = Mt({
9139
9140
  enable: () => null,
9140
9141
  disable: () => null,
9141
9142
  toggle: () => null
9142
- }), qwe = ({ initiallyEnabled: t = !1, children: e }) => {
9143
+ }), Kwe = ({ initiallyEnabled: t = !1, children: e }) => {
9143
9144
  const [n, i] = Y(t), r = Q(() => {
9144
9145
  i(!0);
9145
9146
  }, []), o = Q(() => i(!1), []), s = Q(() => i((a) => !a), []);
@@ -9285,7 +9286,7 @@ const PV = ({
9285
9286
  "stop",
9286
9287
  {
9287
9288
  offset: "5%",
9288
- stopColor: e[w].color ? Gn(e[w].color) : Yn(b),
9289
+ stopColor: e[w].color ? Kn(e[w].color) : Gn(b),
9289
9290
  stopOpacity: 0.8
9290
9291
  }
9291
9292
  ),
@@ -9293,7 +9294,7 @@ const PV = ({
9293
9294
  "stop",
9294
9295
  {
9295
9296
  offset: "95%",
9296
- stopColor: e[w].color ? Gn(e[w].color) : Yn(b),
9297
+ stopColor: e[w].color ? Kn(e[w].color) : Gn(b),
9297
9298
  stopOpacity: 0.1
9298
9299
  }
9299
9300
  )
@@ -9358,7 +9359,7 @@ const PV = ({
9358
9359
  mask: `url(#${u}-transparent-edges)`,
9359
9360
  fill: `url(#fill${w}-${u})`,
9360
9361
  fillOpacity: e[w].dashed ? 0 : 0.4,
9361
- stroke: e[w].color ? Gn(e[w].color) : Yn(b),
9362
+ stroke: e[w].color ? Kn(e[w].color) : Gn(b),
9362
9363
  strokeWidth: 1.5,
9363
9364
  strokeDasharray: e[w].dashed ? "4 4" : void 0
9364
9365
  },
@@ -9391,7 +9392,7 @@ const PV = ({
9391
9392
  }, h) => {
9392
9393
  const p = Object.keys(t), g = Ig(e).map((v, x, w) => f && p.length === 1 && !t[p[0]]?.color ? {
9393
9394
  ...v,
9394
- fill: x === w.length - 1 ? Yn(x) : Yn(x, 0.5)
9395
+ fill: x === w.length - 1 ? Gn(x) : Gn(x, 0.5)
9395
9396
  } : v), y = Math.max(
9396
9397
  ...g.flatMap(
9397
9398
  (v) => p.map(
@@ -9482,7 +9483,7 @@ const PV = ({
9482
9483
  isAnimationActive: !1,
9483
9484
  dataKey: v,
9484
9485
  stackId: o === "stacked" || o === "stacked-by-sign" ? "stack" : void 0,
9485
- fill: f ? ((w) => w.fill) : t[v].color ? Gn(t[v].color) : Yn(x),
9486
+ fill: f ? ((w) => w.fill) : t[v].color ? Kn(t[v].color) : Gn(x),
9486
9487
  radius: o === "stacked-by-sign" ? [4, 4, 0, 0] : 4,
9487
9488
  maxBarSize: 32,
9488
9489
  children: r && /* @__PURE__ */ m(
@@ -9513,15 +9514,15 @@ const PV = ({
9513
9514
  ) });
9514
9515
  }, zV = So($V), BV = ({ data: t, legend: e = !0, hideTooltip: n = !1 }, i) => {
9515
9516
  const r = t.reduce((o, s) => o + s.value, 0);
9516
- return /* @__PURE__ */ P(Kf, { children: [
9517
+ return /* @__PURE__ */ P(Zf, { children: [
9517
9518
  /* @__PURE__ */ m("div", { className: "w-full", ref: i, children: /* @__PURE__ */ m("div", { className: "flex h-2 gap-1 overflow-hidden", children: t.map((o, s) => {
9518
- const a = o.value / r * 100, l = o.color ? Gn(o.color) : Yn(s), c = (d) => {
9519
+ const a = o.value / r * 100, l = o.color ? Kn(o.color) : Gn(s), c = (d) => {
9519
9520
  const f = d / r * 100;
9520
9521
  return f % 1 === 0 ? f.toFixed(0) : f.toFixed(1);
9521
9522
  };
9522
- return a === 0 ? null : /* @__PURE__ */ P(Gf, { children: [
9523
+ return a === 0 ? null : /* @__PURE__ */ P(Qf, { children: [
9523
9524
  /* @__PURE__ */ m(
9524
- Yf,
9525
+ eu,
9525
9526
  {
9526
9527
  className: "h-full cursor-default overflow-hidden rounded-2xs",
9527
9528
  style: { width: `${a}%` },
@@ -9539,7 +9540,7 @@ const PV = ({
9539
9540
  )
9540
9541
  }
9541
9542
  ),
9542
- !n && /* @__PURE__ */ P(Xf, { className: "flex items-center gap-1 text-sm", children: [
9543
+ !n && /* @__PURE__ */ P(tu, { className: "flex items-center gap-1 text-sm", children: [
9543
9544
  /* @__PURE__ */ m(
9544
9545
  "div",
9545
9546
  {
@@ -9563,7 +9564,7 @@ const PV = ({
9563
9564
  className: "mt-2 flex w-full flex-wrap gap-x-2.5 gap-y-0.5",
9564
9565
  role: "list",
9565
9566
  children: t.map((o, s) => {
9566
- const a = o.color ? Gn(o.color) : Yn(s);
9567
+ const a = o.color ? Kn(o.color) : Gn(s);
9567
9568
  return /* @__PURE__ */ P(
9568
9569
  "div",
9569
9570
  {
@@ -9750,7 +9751,7 @@ const PV = ({
9750
9751
  {
9751
9752
  isAnimationActive: !1,
9752
9753
  dataKey: String(S),
9753
- fill: t[S].color ? Gn(t[S].color) : Yn(C),
9754
+ fill: t[S].color ? Kn(t[S].color) : Gn(C),
9754
9755
  radius: 4,
9755
9756
  maxBarSize: 32,
9756
9757
  children: r && /* @__PURE__ */ m(
@@ -9771,7 +9772,7 @@ const PV = ({
9771
9772
  {
9772
9773
  type: f?.lineType ?? "natural",
9773
9774
  dataKey: String(S),
9774
- stroke: t[S].color ? Gn(t[S].color) : Yn(y.length + C),
9775
+ stroke: t[S].color ? Kn(t[S].color) : Gn(y.length + C),
9775
9776
  strokeWidth: 2,
9776
9777
  dot: f?.dot ?? !1,
9777
9778
  isAnimationActive: !1,
@@ -9783,7 +9784,7 @@ const PV = ({
9783
9784
  cu,
9784
9785
  {
9785
9786
  dataKey: String(S),
9786
- fill: t[S].color ? Gn(t[S].color) : Yn(
9787
+ fill: t[S].color ? Kn(t[S].color) : Gn(
9787
9788
  y.length + v.length + C
9788
9789
  ),
9789
9790
  r: 4,
@@ -9854,7 +9855,7 @@ const PV = ({
9854
9855
  dataKey: u,
9855
9856
  isAnimationActive: !1,
9856
9857
  type: r,
9857
- stroke: e[u].color ? Gn(e[u].color) : Yn(h),
9858
+ stroke: e[u].color ? Kn(e[u].color) : Gn(h),
9858
9859
  strokeWidth: 1.5,
9859
9860
  strokeDasharray: e[u].dashed ? "4 4" : void 0,
9860
9861
  dot: !1
@@ -9867,7 +9868,7 @@ const PV = ({
9867
9868
  }, qV = So(UV), KV = ({ data: t, dataConfig: e, overview: n, aspect: i, tickFormatter: r }, o) => {
9868
9869
  const s = t.map((c, d) => ({
9869
9870
  ...c,
9870
- fill: e[c.label]?.color ? Gn(e[c.label].color) : Yn(d)
9871
+ fill: e[c.label]?.color ? Kn(e[c.label].color) : Gn(d)
9871
9872
  })), l = t.map((c) => c.value).reduce((c, d) => c + d);
9872
9873
  return l === 0 && s.push({
9873
9874
  label: "-",
@@ -9966,7 +9967,7 @@ const PV = ({
9966
9967
  }
9967
9968
  );
9968
9969
  }, GV = So(KV), YV = ({ value: t, max: e = 100, label: n, color: i }, r) => {
9969
- const o = i ? Gn(i) : Gn("categorical-1"), s = t / e * 100;
9970
+ const o = i ? Kn(i) : Kn("categorical-1"), s = t / e * 100;
9970
9971
  return /* @__PURE__ */ P("div", { className: "flex items-center space-x-2", "aria-live": "polite", children: [
9971
9972
  /* @__PURE__ */ m("div", { className: "flex-grow", children: /* @__PURE__ */ m(
9972
9973
  bP,
@@ -10026,7 +10027,7 @@ const PV = ({
10026
10027
  o ?? []
10027
10028
  ), d = Object.entries(e).map(([h, p], g) => ({
10028
10029
  key: h,
10029
- color: p.color ? Gn(p.color) : Yn(g),
10030
+ color: p.color ? Kn(p.color) : Gn(g),
10030
10031
  label: p.label
10031
10032
  })), f = (h) => {
10032
10033
  c((p) => p.includes(h) ? p.filter((g) => g !== h) : p.length >= d.length - 1 ? p : [...p, h]);
@@ -10173,7 +10174,7 @@ const tW = (t) => {
10173
10174
  isAnimationActive: !1,
10174
10175
  layout: "vertical",
10175
10176
  dataKey: v,
10176
- fill: t[v].color ? Gn(t[v].color) : Yn(x),
10177
+ fill: t[v].color ? Kn(t[v].color) : Gn(x),
10177
10178
  radius: 4,
10178
10179
  maxBarSize: 24,
10179
10180
  children: (r || l) && /* @__PURE__ */ m(
@@ -10233,29 +10234,29 @@ const tW = (t) => {
10233
10234
  }
10234
10235
  )
10235
10236
  ] });
10236
- }, Kwe = Pt(
10237
+ }, Gwe = Pt(
10237
10238
  Ji({ name: "AreaChart", type: "info" }, FV)
10238
- ), Gwe = Pt(
10239
- Ji({ name: "BarChart", type: "info" }, zV)
10240
10239
  ), Ywe = Pt(
10240
+ Ji({ name: "BarChart", type: "info" }, zV)
10241
+ ), Xwe = Pt(
10241
10242
  Ji(
10242
10243
  { name: "CategoryBarChart", type: "info" },
10243
10244
  jV
10244
10245
  )
10245
- ), Xwe = Pt(
10246
- Ji({ name: "LineChart", type: "info" }, qV)
10247
10246
  ), Jwe = Pt(
10248
- Ji({ name: "PieChart", type: "info" }, GV)
10247
+ Ji({ name: "LineChart", type: "info" }, qV)
10249
10248
  ), Zwe = Pt(
10249
+ Ji({ name: "PieChart", type: "info" }, GV)
10250
+ ), Qwe = Pt(
10250
10251
  Ji(
10251
10252
  { name: "VerticalBarChart", type: "info" },
10252
10253
  iW
10253
10254
  )
10254
- ), Qwe = Pt(
10255
- Ji({ name: "ProgressBarChart", type: "info" }, XV)
10256
10255
  ), exe = Pt(
10257
- Ji({ name: "ComboChart", type: "info" }, WV)
10256
+ Ji({ name: "ProgressBarChart", type: "info" }, XV)
10258
10257
  ), txe = Pt(
10258
+ Ji({ name: "ComboChart", type: "info" }, WV)
10259
+ ), nxe = Pt(
10259
10260
  Ji({ name: "RadarChart", type: "info" }, QV)
10260
10261
  ), oW = {
10261
10262
  duration: 0.5,
@@ -10329,7 +10330,7 @@ const dW = (t) => Array.isArray(t) ? t.every((e) => cW(e)) ? t : [
10329
10330
  {
10330
10331
  items: t
10331
10332
  }
10332
- ] : [t], nxe = [
10333
+ ] : [t], ixe = [
10333
10334
  "idle",
10334
10335
  "loading",
10335
10336
  "success",
@@ -10352,7 +10353,7 @@ const dW = (t) => Array.isArray(t) ? t.every((e) => cW(e)) ? t : [
10352
10353
  ) : t === "error" ? /* @__PURE__ */ m(
10353
10354
  it,
10354
10355
  {
10355
- icon: Jf,
10356
+ icon: Kf,
10356
10357
  size: "md",
10357
10358
  color: e ? "critical" : "inverse"
10358
10359
  }
@@ -10551,7 +10552,7 @@ const dW = (t) => Array.isArray(t) ? t.every((e) => cW(e)) ? t : [
10551
10552
  }
10552
10553
  );
10553
10554
  vA.displayName = "F0ActionBar";
10554
- const Dp = Pt(vA), ixe = (t, e = {}, n = 0) => {
10555
+ const Dp = Pt(vA), rxe = (t, e = {}, n = 0) => {
10555
10556
  const i = V(e);
10556
10557
  i.current = e;
10557
10558
  const r = V(n);
@@ -10627,7 +10628,7 @@ const Dp = Pt(vA), ixe = (t, e = {}, n = 0) => {
10627
10628
  ariaLabel: s,
10628
10629
  ariaLabelledBy: a
10629
10630
  }) => {
10630
- const [l, c] = gE({
10631
+ const [l, c] = s9({
10631
10632
  prop: e,
10632
10633
  defaultProp: t[0]?.value ?? "",
10633
10634
  onChange: n
@@ -10678,7 +10679,7 @@ const uW = Xi(
10678
10679
  bA
10679
10680
  );
10680
10681
  function hW({ avatar: t }) {
10681
- return t.type === "emoji" ? /* @__PURE__ */ m(vE, { emoji: t.emoji, size: "md" }) : t.type === "file" ? /* @__PURE__ */ m(bE, { file: t.file, size: "md" }) : t.type === "icon" ? /* @__PURE__ */ m(vw, { icon: t.icon, size: "md" }) : /* @__PURE__ */ m(dg, { avatar: t, size: "md" });
10682
+ return t.type === "emoji" ? /* @__PURE__ */ m(yE, { emoji: t.emoji, size: "md" }) : t.type === "file" ? /* @__PURE__ */ m(vE, { file: t.file, size: "md" }) : t.type === "icon" ? /* @__PURE__ */ m(vw, { icon: t.icon, size: "md" }) : /* @__PURE__ */ m(dg, { avatar: t, size: "md" });
10682
10683
  }
10683
10684
  function pW({ checked: t }) {
10684
10685
  return /* @__PURE__ */ m(
@@ -10735,7 +10736,7 @@ function yW({
10735
10736
  isToggle: o,
10736
10737
  grouped: s
10737
10738
  }) {
10738
- const { forms: a } = je(), l = yE(), c = n || t.disabled, d = () => {
10739
+ const { forms: a } = je(), l = gE(), c = n || t.disabled, d = () => {
10739
10740
  c || r();
10740
10741
  }, f = o ? "switch" : i ? "checkbox" : "radio", u = () => o ? /* @__PURE__ */ m(gW, { checked: e }) : i ? /* @__PURE__ */ m(mW, { checked: e }) : /* @__PURE__ */ m(pW, { checked: e }), h = !!t.selectedContent;
10741
10742
  return /* @__PURE__ */ P(
@@ -10904,15 +10905,15 @@ function bW(t) {
10904
10905
  }
10905
10906
  const wA = Pt(
10906
10907
  bW
10907
- ), rxe = ["sm", "md", "lg"], oxe = ["compact", "expanded"], Zw = Qe(({ className: t, ...e }, n) => /* @__PURE__ */ m(
10908
- wE,
10908
+ ), oxe = ["sm", "md", "lg"], sxe = ["compact", "expanded"], Zw = Qe(({ className: t, ...e }, n) => /* @__PURE__ */ m(
10909
+ bE,
10909
10910
  {
10910
10911
  ref: n,
10911
10912
  className: K("text-f1-foreground-secondary", t),
10912
10913
  ...e
10913
10914
  }
10914
10915
  ));
10915
- Zw.displayName = wE.displayName;
10916
+ Zw.displayName = bE.displayName;
10916
10917
  const Qw = ({
10917
10918
  className: t,
10918
10919
  ...e
@@ -11045,7 +11046,7 @@ function kW({
11045
11046
  }
11046
11047
  ) }) }) });
11047
11048
  }
11048
- const sxe = Pt(kW);
11049
+ const axe = Pt(kW);
11049
11050
  function _W(t) {
11050
11051
  if (CP(t)) {
11051
11052
  let i = !1, r = null;
@@ -11091,7 +11092,7 @@ const f0 = (t) => {
11091
11092
  }
11092
11093
  return JSON.stringify(t) ?? "undefined";
11093
11094
  }, SW = 50;
11094
- function axe({
11095
+ function lxe({
11095
11096
  dataAdapter: t,
11096
11097
  id: e,
11097
11098
  filters: n,
@@ -11182,7 +11183,7 @@ function CW({
11182
11183
  };
11183
11184
  }
11184
11185
  const EW = (t, e) => "id" in t && (typeof t.id == "string" || typeof t.id == "number" || typeof t.id == "symbol") ? t.id : e ?? JSON.stringify(t);
11185
- function lxe(t) {
11186
+ function cxe(t) {
11186
11187
  const {
11187
11188
  dataSource: e,
11188
11189
  data: n,
@@ -11195,7 +11196,7 @@ function lxe(t) {
11195
11196
  activeItemId: c,
11196
11197
  defaultActiveItemId: d,
11197
11198
  onActiveItemChange: f
11198
- } = t, u = J(() => a || (e.idProvider ? (te, se) => e.idProvider(te, se) : EW), [a, e.idProvider]), [h, p] = gE({
11199
+ } = t, u = J(() => a || (e.idProvider ? (te, se) => e.idProvider(te, se) : EW), [a, e.idProvider]), [h, p] = s9({
11199
11200
  prop: c,
11200
11201
  defaultProp: d ?? null,
11201
11202
  onChange: (te) => f?.(te ?? null)
@@ -11380,7 +11381,7 @@ function lxe(t) {
11380
11381
  previousItemUrl: le
11381
11382
  };
11382
11383
  }
11383
- const cxe = xE, dxe = EP, AW = (t, e, n) => {
11384
+ const dxe = wE, fxe = EP, AW = (t, e, n) => {
11384
11385
  const i = cn[n];
11385
11386
  return i ? i.add(t, e) : { from: /* @__PURE__ */ new Date(), to: /* @__PURE__ */ new Date() };
11386
11387
  };
@@ -11394,7 +11395,7 @@ function NW({
11394
11395
  };
11395
11396
  return /* @__PURE__ */ P("div", { className: "flex flex-col gap-2", children: [
11396
11397
  /* @__PURE__ */ m("h6", { className: "text-sm font-medium", children: i.date.selectedBy }),
11397
- /* @__PURE__ */ m(kE, { value: e, onValueChange: r, as: "list", children: /* @__PURE__ */ m(_E, { children: t.map((o) => /* @__PURE__ */ m(Hv, { value: o, children: i.date.granularities[o]?.label || o }, o)) }) })
11398
+ /* @__PURE__ */ m(xE, { value: e, onValueChange: r, as: "list", children: /* @__PURE__ */ m(kE, { children: t.map((o) => /* @__PURE__ */ m(Hv, { value: o, children: i.date.granularities[o]?.label || o }, o)) }) })
11398
11399
  ] });
11399
11400
  }
11400
11401
  const J3 = "__custom__", TW = (t, e) => {
@@ -11410,9 +11411,9 @@ const J3 = "__custom__", TW = (t, e) => {
11410
11411
  );
11411
11412
  i(o ? o[0] : void 0);
11412
11413
  }
11413
- }, [e.date, t]), /* @__PURE__ */ m(kE, { as: "list", value: n, onValueChange: (o) => {
11414
+ }, [e.date, t]), /* @__PURE__ */ m(xE, { as: "list", value: n, onValueChange: (o) => {
11414
11415
  i(o), e.onSelect?.(o);
11415
- }, children: /* @__PURE__ */ P(_E, { children: [
11416
+ }, children: /* @__PURE__ */ P(kE, { children: [
11416
11417
  Object.entries(t).map(([o, s]) => /* @__PURE__ */ m(Hv, { value: o, children: s?.label || o }, o)),
11417
11418
  /* @__PURE__ */ m(AP, {}),
11418
11419
  /* @__PURE__ */ m(Hv, { value: J3, children: "Custom" }, J3)
@@ -11442,9 +11443,9 @@ function xA({
11442
11443
  selectOnCellOnly: u = !1,
11443
11444
  ...h
11444
11445
  }) {
11445
- const p = je(), g = Zf(), [y, v] = Y(
11446
+ const p = je(), g = Gf(), [y, v] = Y(
11446
11447
  c || e
11447
- ), x = f ?? g.date?.weekStartsOn ?? SE.Monday;
11448
+ ), x = f ?? g.date?.weekStartsOn ?? _E.Monday;
11448
11449
  ie(() => {
11449
11450
  kl(c, y) || v(c || e);
11450
11451
  }, [c, e]);
@@ -11762,7 +11763,7 @@ function MW({
11762
11763
  }
11763
11764
  );
11764
11765
  }
11765
- const fxe = {
11766
+ const uxe = {
11766
11767
  today: {
11767
11768
  label: "Today",
11768
11769
  granularity: "day",
@@ -11908,7 +11909,7 @@ const fxe = {
11908
11909
  !e && "items-center"
11909
11910
  ),
11910
11911
  children: [
11911
- /* @__PURE__ */ m("div", { className: "h-6 w-6 flex-shrink-0", children: o === "neutral" ? /* @__PURE__ */ m(vw, { icon: r || CE, size: "sm" }) : /* @__PURE__ */ m($a, { type: o, size: "sm" }) }),
11912
+ /* @__PURE__ */ m("div", { className: "h-6 w-6 flex-shrink-0", children: o === "neutral" ? /* @__PURE__ */ m(vw, { icon: r || SE, size: "sm" }) : /* @__PURE__ */ m($a, { type: o, size: "sm" }) }),
11912
11913
  /* @__PURE__ */ P("div", { className: "flex flex-col gap-0.5", children: [
11913
11914
  /* @__PURE__ */ m("p", { className: RW({ variant: o }), children: t }),
11914
11915
  e && /* @__PURE__ */ m("p", { className: "text-base text-f1-foreground-secondary", children: e })
@@ -12192,11 +12193,11 @@ const fxe = {
12192
12193
  CA.Provider,
12193
12194
  {
12194
12195
  value: { ...t, showOverlay: t.showOverlay },
12195
- children: /* @__PURE__ */ m(EE, { ...t })
12196
+ children: /* @__PURE__ */ m(CE, { ...t })
12196
12197
  }
12197
12198
  ), AA = Qe(({ className: t, ...e }, n) => {
12198
12199
  const i = EA(), r = i.modal || i.showOverlay;
12199
- return /* @__PURE__ */ m(Fe, { children: /* @__PURE__ */ m(EE, { ...i, modal: r, children: /* @__PURE__ */ m(
12200
+ return /* @__PURE__ */ m(Fe, { children: /* @__PURE__ */ m(CE, { ...i, modal: r, children: /* @__PURE__ */ m(
12200
12201
  "div",
12201
12202
  {
12202
12203
  "data-state": i.open ? "open" : "closed",
@@ -12241,7 +12242,7 @@ const VW = (t) => K(
12241
12242
  return l === void 0 ? null : /* @__PURE__ */ P(jP, { container: l, children: [
12242
12243
  u.showOverlay && /* @__PURE__ */ m(AA, {}),
12243
12244
  /* @__PURE__ */ m(
12244
- AE,
12245
+ EE,
12245
12246
  {
12246
12247
  ref: a,
12247
12248
  className: K(
@@ -12286,7 +12287,7 @@ const VW = (t) => K(
12286
12287
  ] });
12287
12288
  }
12288
12289
  );
12289
- NA.displayName = AE.displayName;
12290
+ NA.displayName = EE.displayName;
12290
12291
  const WW = () => HP("(max-width: 560px)", {
12291
12292
  initializeWithValue: !1
12292
12293
  }), UW = Ts({
@@ -12653,7 +12654,7 @@ const WW = () => HP("(max-width: 560px)", {
12653
12654
  })
12654
12655
  }
12655
12656
  ),
12656
- /* @__PURE__ */ m(NE, { status: u })
12657
+ /* @__PURE__ */ m(AE, { status: u })
12657
12658
  ]
12658
12659
  }
12659
12660
  );
@@ -12678,7 +12679,7 @@ const ZW = Pt(
12678
12679
  }
12679
12680
  );
12680
12681
  Pg.displayName = "F0NumberInput";
12681
- const uxe = Pg, DA = Qe(
12682
+ const hxe = Pg, DA = Qe(
12682
12683
  ({
12683
12684
  className: t,
12684
12685
  label: e,
@@ -12755,7 +12756,7 @@ const OA = Ji(
12755
12756
  type: "form"
12756
12757
  },
12757
12758
  DA
12758
- ), hxe = OA, pxe = ug;
12759
+ ), pxe = OA, mxe = ug;
12759
12760
  var mu = (t) => t.type === "checkbox", na = (t) => t instanceof Date, Un = (t) => t == null;
12760
12761
  const MA = (t) => typeof t == "object";
12761
12762
  var an = (t) => !Un(t) && !Array.isArray(t) && MA(t) && !na(t), IA = (t) => an(t) && t.target ? mu(t.target) ? t.target.checked : t.target.value : t, eU = (t) => t.substring(0, t.search(/\.\d+(\.|$)/)) || t, RA = (t, e) => t.has(eU(e)), tU = (t) => {
@@ -15359,13 +15360,13 @@ function y0(t, e) {
15359
15360
  }
15360
15361
  ) }, `toggle-${e}`);
15361
15362
  if (t.type === "submenu")
15362
- return /* @__PURE__ */ m(W2, { children: /* @__PURE__ */ P(ME, { children: [
15363
- /* @__PURE__ */ m(IE, { className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover", children: /* @__PURE__ */ P("div", { className: "flex w-full flex-row items-center gap-2", children: [
15363
+ return /* @__PURE__ */ m(W2, { children: /* @__PURE__ */ P(OE, { children: [
15364
+ /* @__PURE__ */ m(ME, { className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover", children: /* @__PURE__ */ P("div", { className: "flex w-full flex-row items-center gap-2", children: [
15364
15365
  t.icon && /* @__PURE__ */ m(it, { icon: t.icon, color: "default" }),
15365
15366
  /* @__PURE__ */ m("span", { className: "flex-1 text-base font-medium", children: t.label }),
15366
15367
  t.selectedLabel && /* @__PURE__ */ m("span", { className: "mr-1 text-base text-f1-foreground-secondary", children: t.selectedLabel })
15367
15368
  ] }) }),
15368
- /* @__PURE__ */ m(RE, { children: /* @__PURE__ */ m(PE, { children: t.children.map(
15369
+ /* @__PURE__ */ m(IE, { children: /* @__PURE__ */ m(RE, { children: t.children.map(
15369
15370
  (i, r) => y0(i, r)
15370
15371
  ) }) })
15371
15372
  ] }) }, `submenu-${e}`);
@@ -15394,8 +15395,8 @@ function fq({
15394
15395
  const r = t.some(
15395
15396
  (s) => "type" in s && (s.type === "toggle" || s.type === "submenu" || s.type === "label")
15396
15397
  );
15397
- return /* @__PURE__ */ P(TE, { open: e, onOpenChange: n, children: [
15398
- /* @__PURE__ */ m(DE, { tabIndex: -1, asChild: !0, children: /* @__PURE__ */ m(
15398
+ return /* @__PURE__ */ P(NE, { open: e, onOpenChange: n, children: [
15399
+ /* @__PURE__ */ m(TE, { tabIndex: -1, asChild: !0, children: /* @__PURE__ */ m(
15399
15400
  Qt,
15400
15401
  {
15401
15402
  icon: hg,
@@ -15407,7 +15408,7 @@ function fq({
15407
15408
  disabled: i
15408
15409
  }
15409
15410
  ) }),
15410
- /* @__PURE__ */ m(OE, { className: "w-80", align: "start", children: r ? t.map((s, a) => y0(s, a)) : t.map((s, a) => y0(s, a)) })
15411
+ /* @__PURE__ */ m(DE, { className: "w-80", align: "start", children: r ? t.map((s, a) => y0(s, a)) : t.map((s, a) => y0(s, a)) })
15411
15412
  ] });
15412
15413
  }
15413
15414
  function uq({
@@ -15530,7 +15531,7 @@ function uq({
15530
15531
  ease: [0.25, 0.1, 0.25, 1]
15531
15532
  },
15532
15533
  className: "flex items-center justify-center",
15533
- children: /* @__PURE__ */ m(LE, { value: e })
15534
+ children: /* @__PURE__ */ m(PE, { value: e })
15534
15535
  },
15535
15536
  "counter"
15536
15537
  ) : w && /* @__PURE__ */ m(
@@ -15708,7 +15709,7 @@ function hq({
15708
15709
  currentParentId: f,
15709
15710
  draggedItemId: u
15710
15711
  }) {
15711
- const h = yE();
15712
+ const h = gE();
15712
15713
  return /* @__PURE__ */ P(
15713
15714
  QP,
15714
15715
  {
@@ -16354,7 +16355,7 @@ function bq({
16354
16355
  children: [
16355
16356
  (t || s) && /* @__PURE__ */ P("div", { className: "shrink-0 bg-f1-background pb-2 pl-5 pr-4 pt-5", children: [
16356
16357
  s && /* @__PURE__ */ m("div", { className: "mb-4", children: /* @__PURE__ */ m(
16357
- xE,
16358
+ wE,
16358
16359
  {
16359
16360
  placeholder: a ?? u.toc.search,
16360
16361
  onChange: g,
@@ -16587,7 +16588,7 @@ _q.displayName = "FormLabel";
16587
16588
  const kN = Ve.forwardRef(({ ...t }, e) => {
16588
16589
  const { error: n, formItemId: i, formDescriptionId: r, formMessageId: o } = $g();
16589
16590
  return /* @__PURE__ */ m(
16590
- nL,
16591
+ PF,
16591
16592
  {
16592
16593
  ref: e,
16593
16594
  id: i,
@@ -16622,7 +16623,7 @@ const px = Ve.forwardRef(
16622
16623
  className: K("flex gap-1", t),
16623
16624
  ...i,
16624
16625
  children: [
16625
- /* @__PURE__ */ m(it, { icon: Jf, color: "critical" }),
16626
+ /* @__PURE__ */ m(it, { icon: Kf, color: "critical" }),
16626
16627
  /* @__PURE__ */ m("span", { className: "text-base font-medium text-f1-foreground-critical", children: l })
16627
16628
  ]
16628
16629
  }
@@ -16660,7 +16661,7 @@ const SN = Qe(
16660
16661
  label: s,
16661
16662
  leftContent: r ? /* @__PURE__ */ P("div", { className: "flex items-center gap-3", children: [
16662
16663
  /* @__PURE__ */ P("div", { className: "flex items-center gap-0.5", children: [
16663
- /* @__PURE__ */ m(it, { icon: Jf, size: "md", color: "critical" }),
16664
+ /* @__PURE__ */ m(it, { icon: Kf, size: "md", color: "critical" }),
16664
16665
  /* @__PURE__ */ m("span", { className: "font-medium text-f1-foreground-critical", children: o === 1 ? u.replace("{{count}}", String(o)) : h.replace(
16665
16666
  "{{count}}",
16666
16667
  String(o)
@@ -16725,7 +16726,7 @@ const Sq = ({
16725
16726
  link: i,
16726
16727
  separator: r
16727
16728
  }) => {
16728
- const o = FE();
16729
+ const o = LE();
16729
16730
  return /* @__PURE__ */ P(
16730
16731
  "div",
16731
16732
  {
@@ -16911,7 +16912,7 @@ function Oq(t, e) {
16911
16912
  r[s] = a;
16912
16913
  continue;
16913
16914
  }
16914
- yu(l.renderIf, e) ? r[s] = a : r[s] = iL();
16915
+ yu(l.renderIf, e) ? r[s] = a : r[s] = nL();
16915
16916
  }
16916
16917
  const o = Sw(r);
16917
16918
  if (Ut(t, "ZodEffects")) {
@@ -17551,13 +17552,13 @@ const Bg = 32, Lp = 24, $h = 18, Kq = "1px", ns = 8, Gq = 32, Fp = 4, w0 = 40, Y
17551
17552
  s && (g.stopPropagation(), i?.onExpand?.());
17552
17553
  },
17553
17554
  children: s && (i?.expanded ? /* @__PURE__ */ m(
17554
- rL,
17555
+ iL,
17555
17556
  {
17556
17557
  className: "pointer-events-none shrink-0",
17557
17558
  size: $h
17558
17559
  }
17559
17560
  ) : /* @__PURE__ */ m(
17560
- oL,
17561
+ rL,
17561
17562
  {
17562
17563
  className: "pointer-events-none shrink-0",
17563
17564
  size: $h
@@ -17751,7 +17752,7 @@ function En({
17751
17752
  }
17752
17753
  ),
17753
17754
  e && /* @__PURE__ */ m(
17754
- sL,
17755
+ oL,
17755
17756
  {
17756
17757
  ref: S,
17757
17758
  href: e,
@@ -17788,14 +17789,14 @@ function aK({
17788
17789
  }) {
17789
17790
  const [i, r] = Y(!1);
17790
17791
  return /* @__PURE__ */ P(
17791
- $E,
17792
+ FE,
17792
17793
  {
17793
17794
  open: i,
17794
17795
  onOpenChange: r,
17795
17796
  openDelay: 300,
17796
17797
  closeDelay: 100,
17797
17798
  children: [
17798
- /* @__PURE__ */ m(zE, { asChild: !0, children: /* @__PURE__ */ m(
17799
+ /* @__PURE__ */ m($E, { asChild: !0, children: /* @__PURE__ */ m(
17799
17800
  "button",
17800
17801
  {
17801
17802
  type: "button",
@@ -17807,7 +17808,7 @@ function aK({
17807
17808
  children: /* @__PURE__ */ m(it, { icon: e, size: "sm" })
17808
17809
  }
17809
17810
  ) }),
17810
- /* @__PURE__ */ m(BE, { className: "w-auto max-w-xs px-3 py-2 shadow-md", children: /* @__PURE__ */ P("div", { className: "flex flex-col gap-1 whitespace-normal text-left", children: [
17811
+ /* @__PURE__ */ m(zE, { className: "w-auto max-w-xs px-3 py-2 shadow-md", children: /* @__PURE__ */ P("div", { className: "flex flex-col gap-1 whitespace-normal text-left", children: [
17811
17812
  /* @__PURE__ */ m("p", { children: t.title }),
17812
17813
  /* @__PURE__ */ m("p", { className: "text-f1-foreground-inverse-secondary", children: t.description }),
17813
17814
  t.link && /* @__PURE__ */ m(
@@ -17836,7 +17837,7 @@ function wi({
17836
17837
  sortState: i = "none",
17837
17838
  onSortClick: r,
17838
17839
  info: o,
17839
- infoIcon: s = aL,
17840
+ infoIcon: s = sL,
17840
17841
  sticky: a,
17841
17842
  hidden: l = !1,
17842
17843
  align: c = "left",
@@ -18066,7 +18067,7 @@ function cK({ columns: t = 5 }) {
18066
18067
  }
18067
18068
  );
18068
18069
  }
18069
- const x0 = Qf(lK, cK);
18070
+ const x0 = Yf(lK, cK);
18070
18071
  function dK({ children: t }) {
18071
18072
  return /* @__PURE__ */ m(
18072
18073
  RN,
@@ -18084,8 +18085,8 @@ function fK({ message: t, children: e }) {
18084
18085
  }, [t]), o = Q(() => i(!1), []);
18085
18086
  return ie(() => {
18086
18087
  t || i(!1);
18087
- }, [t]), /* @__PURE__ */ m("div", { className: "relative h-full w-full", children: /* @__PURE__ */ m(Kf, { delayDuration: 100, disableHoverableContent: !0, children: /* @__PURE__ */ P(Gf, { open: n && !!t, onOpenChange: i, children: [
18088
- /* @__PURE__ */ m(Yf, { asChild: !0, className: "pointer-events-auto h-full w-full", children: /* @__PURE__ */ m(
18088
+ }, [t]), /* @__PURE__ */ m("div", { className: "relative h-full w-full", children: /* @__PURE__ */ m(Zf, { delayDuration: 100, disableHoverableContent: !0, children: /* @__PURE__ */ P(Qf, { open: n && !!t, onOpenChange: i, children: [
18089
+ /* @__PURE__ */ m(eu, { asChild: !0, className: "pointer-events-auto h-full w-full", children: /* @__PURE__ */ m(
18089
18090
  "div",
18090
18091
  {
18091
18092
  className: "flex h-full w-full items-center",
@@ -18095,12 +18096,12 @@ function fK({ message: t, children: e }) {
18095
18096
  }
18096
18097
  ) }),
18097
18098
  t && /* @__PURE__ */ P(
18098
- Xf,
18099
+ tu,
18099
18100
  {
18100
18101
  side: "top",
18101
18102
  className: "border-black/10 flex items-center gap-1 bg-[#fff] shadow-md",
18102
18103
  children: [
18103
- /* @__PURE__ */ m(it, { icon: Jf, color: "critical", size: "sm" }),
18104
+ /* @__PURE__ */ m(it, { icon: Kf, color: "critical", size: "sm" }),
18104
18105
  /* @__PURE__ */ m("span", { className: "text-sm font-medium text-f1-foreground-critical", children: t })
18105
18106
  ]
18106
18107
  }
@@ -18125,8 +18126,8 @@ function vo({
18125
18126
  hintPosition: l = "left",
18126
18127
  children: c
18127
18128
  }) {
18128
- const d = a && !s && /* @__PURE__ */ m(Kf, { delayDuration: 100, children: /* @__PURE__ */ P(Gf, { children: [
18129
- /* @__PURE__ */ m(Yf, { asChild: !0, children: /* @__PURE__ */ m(
18129
+ const d = a && !s && /* @__PURE__ */ m(Zf, { delayDuration: 100, children: /* @__PURE__ */ P(Qf, { children: [
18130
+ /* @__PURE__ */ m(eu, { asChild: !0, children: /* @__PURE__ */ m(
18130
18131
  "button",
18131
18132
  {
18132
18133
  type: "button",
@@ -18139,7 +18140,7 @@ function vo({
18139
18140
  }
18140
18141
  ) }),
18141
18142
  /* @__PURE__ */ m(
18142
- Xf,
18143
+ tu,
18143
18144
  {
18144
18145
  side: "top",
18145
18146
  className: "border-black/10 max-w-64 cursor-default text-f1-foreground shadow-md",
@@ -18176,16 +18177,17 @@ function pK({
18176
18177
  loading: r,
18177
18178
  isLastColumn: o,
18178
18179
  onChange: s,
18179
- hint: a
18180
+ hint: a,
18181
+ item: l
18180
18182
  }) {
18181
- const l = t.dateConfig, c = J(() => {
18183
+ const c = typeof t.dateConfig == "function" ? t.dateConfig(l) : t.dateConfig, d = J(() => {
18182
18184
  if (!e) return;
18183
- const f = xp(e);
18184
- if (Cw(f))
18185
- return { granularity: "day", value: { from: f, to: f } };
18186
- }, [e]), d = (f) => {
18187
- const u = f?.value?.from, h = u ? yg(u, hK) : "";
18188
- h !== e && s(h);
18185
+ const u = xp(e);
18186
+ if (Cw(u))
18187
+ return { granularity: "day", value: { from: u, to: u } };
18188
+ }, [e]), f = (u) => {
18189
+ const h = u?.value?.from, p = h ? yg(h, hK) : "";
18190
+ p !== e && s(p);
18189
18191
  };
18190
18192
  return /* @__PURE__ */ m(
18191
18193
  vo,
@@ -18224,11 +18226,11 @@ function pK({
18224
18226
  hideLabel: !0,
18225
18227
  transparent: !0,
18226
18228
  displayFormat: "default",
18227
- value: c,
18228
- onChange: d,
18229
+ value: d,
18230
+ onChange: f,
18229
18231
  loading: r,
18230
- minDate: l?.minDate,
18231
- maxDate: l?.maxDate
18232
+ minDate: c?.minDate,
18233
+ maxDate: c?.maxDate
18232
18234
  }
18233
18235
  )
18234
18236
  }
@@ -18256,7 +18258,7 @@ function Sx(t, e) {
18256
18258
  return typeof t.units == "function" ? t.units(e) : t.units;
18257
18259
  }
18258
18260
  function yK(t, e, n) {
18259
- const { locale: i } = Zf(), r = t?.locale ?? i, o = Sx(t, n), s = o ? t?.unitsPosition === "before" : !1, a = t?.grouping ?? !0, l = J(
18261
+ const { locale: i } = Gf(), r = t?.locale ?? i, o = Sx(t, n), s = o ? t?.unitsPosition === "before" : !1, a = t?.grouping ?? !0, l = J(
18260
18262
  () => new Intl.NumberFormat(r, {
18261
18263
  maximumFractionDigits: t?.maxDecimals,
18262
18264
  useGrouping: a
@@ -18349,7 +18351,7 @@ const vK = (t, e = "USD") => {
18349
18351
  }
18350
18352
  };
18351
18353
  function bK(t) {
18352
- const { locale: e } = Zf(), n = t.editableColumn.numberConfig, i = n?.locale ?? e, r = Sx(n, t.item), o = J(
18354
+ const { locale: e } = Gf(), n = t.editableColumn.numberConfig, i = n?.locale ?? e, r = Sx(n, t.item), o = J(
18353
18355
  () => r ? vK(i, r) : void 0,
18354
18356
  [i, r]
18355
18357
  ), s = J(() => r ? n?.unitsPosition ? n.unitsPosition === "before" : o?.before ?? !1 : !1, [r, n?.unitsPosition, o]);
@@ -18373,7 +18375,7 @@ const yy = {
18373
18375
  list: void 0
18374
18376
  }, bu = (t, e, n, i, r) => {
18375
18377
  const o = e.render(t), s = n in yy ? yy[n] : yy.default;
18376
- return lL(
18378
+ return aL(
18377
18379
  o,
18378
18380
  {
18379
18381
  visualization: n,
@@ -18563,7 +18565,7 @@ function UN({
18563
18565
  /* @__PURE__ */ m("span", { className: "min-w-0 truncate", children: d ?? u ?? bu(e, t, "editableTable", o) }),
18564
18566
  !p && g
18565
18567
  ] }),
18566
- a && /* @__PURE__ */ m("span", { className: "flex shrink-0 items-center", children: /* @__PURE__ */ m(cL, { open: !1, size: "sm" }) })
18568
+ a && /* @__PURE__ */ m("span", { className: "flex shrink-0 items-center", children: /* @__PURE__ */ m(lL, { open: !1, size: "sm" }) })
18567
18569
  ]
18568
18570
  }
18569
18571
  );
@@ -19215,8 +19217,8 @@ function FK({
19215
19217
  ) : T
19216
19218
  }
19217
19219
  ),
19218
- u && (u.disabled && u.disabledTooltip ? /* @__PURE__ */ m(Kf, { delayDuration: 100, children: /* @__PURE__ */ P(Gf, { children: [
19219
- /* @__PURE__ */ m(Yf, { asChild: !0, children: /* @__PURE__ */ m("span", { className: "inline-flex cursor-not-allowed [&_button]:pointer-events-none", children: /* @__PURE__ */ m(
19220
+ u && (u.disabled && u.disabledTooltip ? /* @__PURE__ */ m(Zf, { delayDuration: 100, children: /* @__PURE__ */ P(Qf, { children: [
19221
+ /* @__PURE__ */ m(eu, { asChild: !0, children: /* @__PURE__ */ m("span", { className: "inline-flex cursor-not-allowed [&_button]:pointer-events-none", children: /* @__PURE__ */ m(
19220
19222
  Ae,
19221
19223
  {
19222
19224
  type: "button",
@@ -19228,7 +19230,7 @@ function FK({
19228
19230
  disabled: !0
19229
19231
  }
19230
19232
  ) }) }),
19231
- /* @__PURE__ */ m(Xf, { side: "top", children: u.disabledTooltip })
19233
+ /* @__PURE__ */ m(tu, { side: "top", children: u.disabledTooltip })
19232
19234
  ] }) }) : /* @__PURE__ */ m(
19233
19235
  Ae,
19234
19236
  {
@@ -19483,7 +19485,7 @@ const Gu = /* @__PURE__ */ new Set(), S0 = /* @__PURE__ */ new Set(), wy = () =>
19483
19485
  confirm: $_,
19484
19486
  /** Programmatically close a dialog by id (resolves its promise with undefined). */
19485
19487
  close: iT
19486
- }, mxe = {
19488
+ }, gxe = {
19487
19489
  /** Open a drawer. Resolves with the value of the action the user picked. */
19488
19490
  open: (t) => BK({ ...t, variant: "drawer" }),
19489
19491
  /** Programmatically close a drawer by id (resolves its promise with undefined). */
@@ -19508,7 +19510,7 @@ const Gu = /* @__PURE__ */ new Set(), S0 = /* @__PURE__ */ new Set(), wy = () =>
19508
19510
  it,
19509
19511
  {
19510
19512
  className: e ? "text-f1-icon-positive" : "text-f1-icon-secondary",
19511
- icon: e ? dL : fL,
19513
+ icon: e ? cL : dL,
19512
19514
  size: "md"
19513
19515
  }
19514
19516
  ),
@@ -19579,12 +19581,12 @@ const Gu = /* @__PURE__ */ new Set(), S0 = /* @__PURE__ */ new Set(), wy = () =>
19579
19581
  }, 200);
19580
19582
  }, [e]);
19581
19583
  return /* @__PURE__ */ m(
19582
- jE,
19584
+ BE,
19583
19585
  {
19584
19586
  open: t && !c,
19585
19587
  onOpenChange: (u) => !u && f?.(),
19586
19588
  children: /* @__PURE__ */ P(
19587
- HE,
19589
+ jE,
19588
19590
  {
19589
19591
  ref: l,
19590
19592
  className: "bottom-3 top-auto max-w-[400px] translate-y-0 sm:bottom-auto sm:top-[50%] sm:translate-y-[-50%]",
@@ -19664,7 +19666,7 @@ function qK({
19664
19666
  {
19665
19667
  variant: d,
19666
19668
  label: k,
19667
- icon: e ? VE : void 0,
19669
+ icon: e ? HE : void 0,
19668
19670
  onClick: x,
19669
19671
  loading: b,
19670
19672
  ...h
@@ -19700,7 +19702,7 @@ function GK({
19700
19702
  className: "flex flex-col items-center justify-center gap-5 p-8",
19701
19703
  ...o,
19702
19704
  children: [
19703
- n === "default" && /* @__PURE__ */ m(vE, { emoji: i, size: "lg" }),
19705
+ n === "default" && /* @__PURE__ */ m(yE, { emoji: i, size: "lg" }),
19704
19706
  n !== "default" && /* @__PURE__ */ m($a, { type: n, size: "lg" }),
19705
19707
  /* @__PURE__ */ P("div", { className: "flex flex-col items-center justify-center gap-0.5", children: [
19706
19708
  /* @__PURE__ */ m("p", { className: "text-center text-lg font-medium text-f1-foreground", children: t }),
@@ -19801,7 +19803,7 @@ const oT = Qe(function({
19801
19803
  total: c ?? 0
19802
19804
  }) }) : /* @__PURE__ */ P("span", { className: "flex items-center gap-1 font-medium tabular-nums", children: [
19803
19805
  /* @__PURE__ */ m(
19804
- uL,
19806
+ fL,
19805
19807
  {
19806
19808
  value: v,
19807
19809
  className: "text-f1-foreground",
@@ -19936,7 +19938,7 @@ const oG = ({
19936
19938
  size: "md",
19937
19939
  variant: r.variant ?? "outlinePromote",
19938
19940
  label: r.label,
19939
- icon: r.showIcon === !1 ? void 0 : VE,
19941
+ icon: r.showIcon === !1 ? void 0 : HE,
19940
19942
  onClick: r.onClick,
19941
19943
  disabled: r.disabled
19942
19944
  }
@@ -19976,7 +19978,7 @@ const oG = ({
19976
19978
  hideGoToCurrent: d,
19977
19979
  ...f
19978
19980
  }, u) => {
19979
- const h = je(), p = Zf(), g = J(() => {
19981
+ const h = je(), p = Gf(), g = J(() => {
19980
19982
  if (!t || !t.value)
19981
19983
  return [h.date.selectDate];
19982
19984
  const C = c || cn[t.granularity];
@@ -19999,7 +20001,7 @@ const oG = ({
19999
20001
  k(c?.toRange(/* @__PURE__ */ new Date()) ?? null);
20000
20002
  const C = () => {
20001
20003
  const N = c?.toRange(/* @__PURE__ */ new Date()) ?? null;
20002
- N && hL(N.from, x) && pL(N.to || N.from, w) ? k(N) : k(null);
20004
+ N && uL(N.from, x) && hL(N.to || N.from, w) ? k(N) : k(null);
20003
20005
  }, E = setInterval(() => {
20004
20006
  C();
20005
20007
  }, 6e4);
@@ -20114,7 +20116,7 @@ function sG({
20114
20116
  ie(() => {
20115
20117
  kl(u, p) || g(u || h);
20116
20118
  }, [u, h]);
20117
- const [y, v] = Y(), [x, w] = Y(!1), b = Zf(), k = f.weekStartsOn ?? b.date?.weekStartsOn ?? SE.Monday, _ = J(() => {
20119
+ const [y, v] = Y(), [x, w] = Y(!1), b = Gf(), k = f.weekStartsOn ?? b.date?.weekStartsOn ?? _E.Monday, _ = J(() => {
20118
20120
  const N = p?.granularity ?? "day";
20119
20121
  return Vv(k)[N];
20120
20122
  }, [p?.granularity, k]), S = (N) => {
@@ -20172,7 +20174,7 @@ function lG({
20172
20174
  const i = je(), r = {
20173
20175
  granularity: "day",
20174
20176
  ...t
20175
- }, o = Array.isArray(r.granularity) ? r.granularity : [r.granularity], s = mL(
20177
+ }, o = Array.isArray(r.granularity) ? r.granularity : [r.granularity], s = pL(
20176
20178
  e?.granularity || o[0]
20177
20179
  );
20178
20180
  return /* @__PURE__ */ m("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ m(
@@ -20343,7 +20345,7 @@ function uG({
20343
20345
  submitConfig: { type: "default", hideSubmitButton: !0 }
20344
20346
  });
20345
20347
  return /* @__PURE__ */ m(
20346
- gL,
20348
+ mL,
20347
20349
  {
20348
20350
  isOpen: t,
20349
20351
  onClose: i,
@@ -20360,7 +20362,7 @@ function uG({
20360
20362
  onClick: i
20361
20363
  },
20362
20364
  otherActions: e === "update" ? [
20363
- ...s ? [{ label: c.share, onClick: s, icon: yL }] : [],
20365
+ ...s ? [{ label: c.share, onClick: s, icon: gL }] : [],
20364
20366
  ...o ? [
20365
20367
  {
20366
20368
  label: c.delete,
@@ -20375,7 +20377,7 @@ function uG({
20375
20377
  }
20376
20378
  );
20377
20379
  }
20378
- const hG = 5, j_ = ({ loading: t }) => t ? /* @__PURE__ */ m(it, { icon: wL, className: "animate-spin" }) : /* @__PURE__ */ m(it, { icon: xL, className: "text" }), pG = ({
20380
+ const hG = 5, j_ = ({ loading: t }) => t ? /* @__PURE__ */ m(it, { icon: bL, className: "animate-spin" }) : /* @__PURE__ */ m(it, { icon: wL, className: "text" }), pG = ({
20379
20381
  value: t,
20380
20382
  onChange: e,
20381
20383
  loading: n = !1,
@@ -20392,7 +20394,7 @@ const hG = 5, j_ = ({ loading: t }) => t ? /* @__PURE__ */ m(it, { icon: wL, cla
20392
20394
  }, w = (_) => {
20393
20395
  e(_.title), o?.(_.id), c(!1), f(-1);
20394
20396
  };
20395
- vL(h, () => {
20397
+ yL(h, () => {
20396
20398
  s && a(!1), c(!1);
20397
20399
  });
20398
20400
  const b = () => {
@@ -20422,7 +20424,7 @@ const hG = 5, j_ = ({ loading: t }) => t ? /* @__PURE__ */ m(it, { icon: wL, cla
20422
20424
  }
20423
20425
  }
20424
20426
  };
20425
- return /* @__PURE__ */ m(bL, { id: u, children: /* @__PURE__ */ m(
20427
+ return /* @__PURE__ */ m(vL, { id: u, children: /* @__PURE__ */ m(
20426
20428
  B$,
20427
20429
  {
20428
20430
  transition: { duration: 0.2, ease: [0.175, 0.885, 0.32, 1.05] },
@@ -20661,7 +20663,7 @@ const H_ = ({
20661
20663
  const n = t.substring(0, e), i = t.substring(e + 1);
20662
20664
  return !(!n || n.trim() === "" || !i || !/^v[0-9]+$/.test(i));
20663
20665
  }, bG = (t, e, n, i) => {
20664
- const [r, o] = Y(!1), s = kL();
20666
+ const [r, o] = Y(!1), s = xL();
20665
20667
  t && !vG(t) && console.error(
20666
20668
  `Invalid storage key format: "${t}". Key must follow the format "name/version" where name can be a path (e.g., "employees/list/") and version must start with "v" (e.g., "v1", "v2.1").`
20667
20669
  );
@@ -20703,7 +20705,7 @@ const H_ = ({
20703
20705
  )
20704
20706
  ),
20705
20707
  [n]
20706
- ), d = WE(
20708
+ ), d = VE(
20707
20709
  (f) => {
20708
20710
  if (!l || !r)
20709
20711
  return;
@@ -20740,7 +20742,7 @@ function wG(t, e) {
20740
20742
  return n === "auto" || n === void 0;
20741
20743
  }
20742
20744
  const xG = 30, kG = 10, Cx = 48, _G = 68, dT = 108, W_ = (t) => Math.min(xG, Math.max(1, t));
20743
- function gxe(t = Cx) {
20745
+ function yxe(t = Cx) {
20744
20746
  return dT + kG * t;
20745
20747
  }
20746
20748
  function SG(t) {
@@ -20839,7 +20841,7 @@ const EG = (t = {}, e) => {
20839
20841
  function AG(t, { filters: e, onError: n } = {}) {
20840
20842
  const [i, r] = Y(void 0);
20841
20843
  return {
20842
- ..._L(
20844
+ ...kL(
20843
20845
  t,
20844
20846
  {
20845
20847
  filters: e,
@@ -20946,7 +20948,7 @@ const mT = ({
20946
20948
  "aria-hidden": !0,
20947
20949
  className: K("flex h-9 w-9 items-center justify-center", t),
20948
20950
  ...e,
20949
- children: /* @__PURE__ */ m(it, { icon: SL })
20951
+ children: /* @__PURE__ */ m(it, { icon: _L })
20950
20952
  }
20951
20953
  );
20952
20954
  mT.displayName = "PaginationEllipsis";
@@ -21052,7 +21054,7 @@ const TG = Pt(
21052
21054
  className: n
21053
21055
  }) => {
21054
21056
  const i = je();
21055
- return !CL(t) || t.pagesCount <= 1 ? null : /* @__PURE__ */ P(
21057
+ return !SL(t) || t.pagesCount <= 1 ? null : /* @__PURE__ */ P(
21056
21058
  "div",
21057
21059
  {
21058
21060
  className: K(
@@ -21120,7 +21122,7 @@ const TG = Pt(
21120
21122
  return S.type === "file" ? {
21121
21123
  property: S
21122
21124
  } : {
21123
- icon: b.icon ?? CE,
21125
+ icon: b.icon ?? SE,
21124
21126
  property: S
21125
21127
  };
21126
21128
  }).filter((b) => b !== null);
@@ -21132,7 +21134,7 @@ const TG = Pt(
21132
21134
  if (typeof x != "object" || x === null || !("type" in x))
21133
21135
  return !1;
21134
21136
  const w = x.type;
21135
- return typeof w == "string" && w in DL;
21137
+ return typeof w == "string" && w in TL;
21136
21138
  }
21137
21139
  return /* @__PURE__ */ m(gT, { tmpFullWidth: p, children: e.map((x, w) => {
21138
21140
  const b = t.selectable ? t.selectable(x) : void 0, k = t.itemUrl ? t.itemUrl(x) : void 0, _ = t.itemOnClick ? t.itemOnClick(x) : void 0, S = (t.itemActions ? t.itemActions(x) || [] : []).filter((M) => M.type !== "separator"), C = (S.filter(
@@ -21248,9 +21250,9 @@ const TG = Pt(
21248
21250
  E
21249
21251
  );
21250
21252
  return /* @__PURE__ */ P("div", { className: "flex h-full min-h-0 flex-1 flex-col gap-4", children: [
21251
- /* @__PURE__ */ m("div", { className: "overflow-auto", children: w ? /* @__PURE__ */ m(gT, { tmpFullWidth: p, children: Array.from({ length: 8 }).map((I, M) => /* @__PURE__ */ P(EL, { children: [
21252
- /* @__PURE__ */ m(AL, { children: /* @__PURE__ */ m(NL, { "aria-label": "Loading card", children: /* @__PURE__ */ m(Ie, { className: "h-4 w-3/4" }) }) }),
21253
- /* @__PURE__ */ m(TL, { className: "space-y-2", children: t.map((A) => /* @__PURE__ */ P("div", { className: "space-y-1", children: [
21253
+ /* @__PURE__ */ m("div", { className: "overflow-auto", children: w ? /* @__PURE__ */ m(gT, { tmpFullWidth: p, children: Array.from({ length: 8 }).map((I, M) => /* @__PURE__ */ P(CL, { children: [
21254
+ /* @__PURE__ */ m(EL, { children: /* @__PURE__ */ m(AL, { "aria-label": "Loading card", children: /* @__PURE__ */ m(Ie, { className: "h-4 w-3/4" }) }) }),
21255
+ /* @__PURE__ */ m(NL, { className: "space-y-2", children: t.map((A) => /* @__PURE__ */ P("div", { className: "space-y-1", children: [
21254
21256
  /* @__PURE__ */ m(Ie, { className: "h-3 w-1/4" }),
21255
21257
  /* @__PURE__ */ m(Ie, { className: "h-3 w-1/2" })
21256
21258
  ] }, String(A.label))) })
@@ -21708,7 +21710,7 @@ const q_ = (t) => t ? t.indeterminate || t.selectedCount !== void 0 && t.selecte
21708
21710
  const S = w(k);
21709
21711
  return u(!1), S;
21710
21712
  }
21711
- const _ = "subscribe" in k ? k : OL(k);
21713
+ const _ = "subscribe" in k ? k : DL(k);
21712
21714
  return x.current = _.subscribe({
21713
21715
  next: (S) => {
21714
21716
  S.loading ? u(!0) : S.error ? u(!1) : S.data && (w(S.data), u(!1));
@@ -22214,7 +22216,7 @@ const WG = (t, e) => /* @__PURE__ */ m(
22214
22216
  ),
22215
22217
  referenceRowType: U,
22216
22218
  children: N !== void 0 && /* @__PURE__ */ m("div", { className: "pointer-events-auto ml-3.5 flex h-full items-center justify-start", children: /* @__PURE__ */ m(
22217
- ML,
22219
+ OL,
22218
22220
  {
22219
22221
  checked: r.has(N),
22220
22222
  onCheckedChange: n,
@@ -22441,7 +22443,7 @@ const eo = (t) => t.id ?? t.label ?? "column", X_ = (t) => [...t].sort((e, n) =>
22441
22443
  onPointerDown: (d) => {
22442
22444
  t.sortable && a.start(d);
22443
22445
  },
22444
- children: t.sortable ? /* @__PURE__ */ m(it, { icon: mg, size: "xs" }) : /* @__PURE__ */ m(it, { icon: IL, size: "sm" })
22446
+ children: t.sortable ? /* @__PURE__ */ m(it, { icon: mg, size: "xs" }) : /* @__PURE__ */ m(it, { icon: ML, size: "sm" })
22445
22447
  }
22446
22448
  ),
22447
22449
  /* @__PURE__ */ m(
@@ -24324,7 +24326,7 @@ function Mx(t, e, n) {
24324
24326
  }
24325
24327
  function ZT(t, e) {
24326
24328
  var n;
24327
- return (typeof e == "number" ? Gs : e instanceof q2 ? U2 : (n = q2(e)) ? (e = n, U2) : RL)(t, e);
24329
+ return (typeof e == "number" ? Gs : e instanceof q2 ? U2 : (n = q2(e)) ? (e = n, U2) : IL)(t, e);
24328
24330
  }
24329
24331
  function fJ(t) {
24330
24332
  return function() {
@@ -26715,7 +26717,7 @@ var w4;
26715
26717
  function gQ() {
26716
26718
  if (w4) return Ay;
26717
26719
  w4 = 1;
26718
- var t = ae, e = UE();
26720
+ var t = ae, e = WE();
26719
26721
  function n(c, d) {
26720
26722
  return c === d && (c !== 0 || 1 / c === 1 / d) || c !== c && d !== d;
26721
26723
  }
@@ -26770,7 +26772,7 @@ function yQ() {
26770
26772
  return c === d && (c !== 0 || 1 / c === 1 / d) || c !== c && d !== d;
26771
26773
  }
26772
26774
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
26773
- var e = ae, n = UE(), i = typeof Object.is == "function" ? Object.is : t, r = n.useSyncExternalStore, o = e.useRef, s = e.useEffect, a = e.useMemo, l = e.useDebugValue;
26775
+ var e = ae, n = WE(), i = typeof Object.is == "function" ? Object.is : t, r = n.useSyncExternalStore, o = e.useRef, s = e.useEffect, a = e.useMemo, l = e.useDebugValue;
26774
26776
  Ny.useSyncExternalStoreWithSelector = function(c, d, f, u, h) {
26775
26777
  var p = o(null);
26776
26778
  if (p.current === null) {
@@ -29816,7 +29818,7 @@ function gO({
29816
29818
  {
29817
29819
  variant: "neutral",
29818
29820
  size: n.zoomLevel === "compact" ? "lg" : "md",
29819
- icon: qE,
29821
+ icon: UE,
29820
29822
  hideLabel: !0,
29821
29823
  label: h,
29822
29824
  onClick: () => i.toggleExpand(s)
@@ -30719,7 +30721,7 @@ const yO = Qe(
30719
30721
  variant: "outline",
30720
30722
  size: "md",
30721
30723
  label: r?.findMe ?? s.graph.controls.findMe,
30722
- icon: PL,
30724
+ icon: RL,
30723
30725
  hideLabel: !0,
30724
30726
  onClick: i
30725
30727
  }
@@ -30730,7 +30732,7 @@ const yO = Qe(
30730
30732
  variant: "outline",
30731
30733
  size: "md",
30732
30734
  label: r?.fitView ?? s.graph.controls.fitToView,
30733
- icon: LL,
30735
+ icon: PL,
30734
30736
  hideLabel: !0,
30735
30737
  onClick: n
30736
30738
  }
@@ -31456,10 +31458,10 @@ function Qne({
31456
31458
  tagLabels: o
31457
31459
  }) {
31458
31460
  const s = r?.map((a) => Zne(a, o?.[Gp(a)] ?? "")).filter((a) => a !== null);
31459
- return /* @__PURE__ */ P($E, { openDelay: 300, closeDelay: 100, children: [
31460
- /* @__PURE__ */ m(zE, { asChild: !0, children: t }),
31461
+ return /* @__PURE__ */ P(FE, { openDelay: 300, closeDelay: 100, children: [
31462
+ /* @__PURE__ */ m($E, { asChild: !0, children: t }),
31461
31463
  /* @__PURE__ */ m(
31462
- BE,
31464
+ zE,
31463
31465
  {
31464
31466
  side: "top",
31465
31467
  align: "center",
@@ -31478,7 +31480,7 @@ function Qne({
31478
31480
  ] });
31479
31481
  }
31480
31482
  function eie({ tags: t }) {
31481
- return t.length === 0 ? null : /* @__PURE__ */ m("div", { className: "flex flex-wrap items-center justify-center gap-1", children: t.map((e, n) => /* @__PURE__ */ m("div", { children: /* @__PURE__ */ m(FL, { tag: e }) }, `${e.type}-${n}`)) });
31483
+ return t.length === 0 ? null : /* @__PURE__ */ m("div", { className: "flex flex-wrap items-center justify-center gap-1", children: t.map((e, n) => /* @__PURE__ */ m("div", { children: /* @__PURE__ */ m(LL, { tag: e }) }, `${e.type}-${n}`)) });
31482
31484
  }
31483
31485
  const tie = Ts({
31484
31486
  base: "relative w-auto transition-[opacity,box-shadow,border-color,background-color] duration-200",
@@ -32758,7 +32760,7 @@ function $ie({
32758
32760
  "data-lane-id": r,
32759
32761
  onClick: y,
32760
32762
  children: [
32761
- /* @__PURE__ */ m($L, { ...c, disableOverlayLink: o }),
32763
+ /* @__PURE__ */ m(FL, { ...c, disableOverlayLink: o }),
32762
32764
  c.link && /* @__PURE__ */ m(
32763
32765
  wc,
32764
32766
  {
@@ -32794,8 +32796,8 @@ const zie = ({
32794
32796
  count: i,
32795
32797
  onPrimaryAction: r
32796
32798
  }) => /* @__PURE__ */ P("div", { className: "flex items-center gap-2 px-1 pb-0.5 pt-2", children: [
32797
- n ? /* @__PURE__ */ m(zL, { text: t, color: n }) : /* @__PURE__ */ m(BL, { text: t, variant: e || "neutral" }),
32798
- /* @__PURE__ */ m(LE, { size: "md", type: "default", value: i }),
32799
+ n ? /* @__PURE__ */ m($L, { text: t, color: n }) : /* @__PURE__ */ m(zL, { text: t, variant: e || "neutral" }),
32800
+ /* @__PURE__ */ m(PE, { size: "md", type: "default", value: i }),
32799
32801
  !!r && /* @__PURE__ */ m("div", { className: "ml-auto flex items-center gap-1 pr-1", children: /* @__PURE__ */ m(
32800
32802
  Ae,
32801
32803
  {
@@ -33486,7 +33488,7 @@ const Kie = (t) => !!(t && t.type === "infinite-scroll"), Gie = ({
33486
33488
  }) => {
33487
33489
  const { lanesProvider: f, lanesHooks: u } = kie(a, {
33488
33490
  onError: (A) => c(A)
33489
- }), h = jL();
33491
+ }), h = BL();
33490
33492
  if (a.currentGrouping && h)
33491
33493
  throw new Error("Grouping is not supported in Kanban yet");
33492
33494
  const [p] = Y(() => /* @__PURE__ */ Symbol("kanban-visualization")), g = a.idProvider, y = J(() => t.map((A) => ({
@@ -34012,7 +34014,7 @@ const Kie = (t) => !!(t && t.type === "infinite-scroll"), Gie = ({
34012
34014
  }, ks = {
34013
34015
  table: {
34014
34016
  name: "Table",
34015
- icon: VL,
34017
+ icon: HL,
34016
34018
  render: (t) => /* @__PURE__ */ m(
34017
34019
  MT,
34018
34020
  {
@@ -34081,7 +34083,7 @@ const Kie = (t) => !!(t && t.type === "infinite-scroll"), Gie = ({
34081
34083
  },
34082
34084
  graph: {
34083
34085
  name: "Graph",
34084
- icon: HL,
34086
+ icon: jL,
34085
34087
  settings: {
34086
34088
  default: {},
34087
34089
  renderer: (t) => vie(t),
@@ -34412,7 +34414,7 @@ function cre({
34412
34414
  }, [i, t, e, n, a]);
34413
34415
  return {
34414
34416
  label: s.collections?.export?.label ?? "Export to CSV",
34415
- icon: WL,
34417
+ icon: VL,
34416
34418
  onClick: l,
34417
34419
  loading: r,
34418
34420
  disabled: !i || r || t.isLoading,
@@ -34558,7 +34560,7 @@ const _O = "dc_", Wn = {
34558
34560
  Wn.sortings,
34559
34561
  ure(e.sortings)
34560
34562
  ), e.visualization && t.set(Wn.visualization, e.visualization), e.page && e.page > 1 && t.set(Wn.page, String(e.page)), e.preset && t.set(Wn.preset, e.preset);
34561
- }, bre = (t) => !!t.search || !!t.sortings || !!t.visualization || t.page !== void 0 && t.page > 1 || !!t.preset || !!t.filters && Object.values(t.filters).some(vre), yxe = (t = {}) => {
34563
+ }, bre = (t) => !!t.search || !!t.sortings || !!t.visualization || t.page !== void 0 && t.page > 1 || !!t.preset || !!t.filters && Object.values(t.filters).some(vre), vxe = (t = {}) => {
34562
34564
  const e = new URLSearchParams();
34563
34565
  return TO(e, t), e;
34564
34566
  }, wre = (t, e) => {
@@ -34568,10 +34570,10 @@ const _O = "dc_", Wn = {
34568
34570
  if (typeof window > "u") return null;
34569
34571
  const i = wre(window.location.search, t).toString(), r = i ? `${window.location.pathname}?${i}` : window.location.pathname, o = e?.history ?? "replace";
34570
34572
  return o === "push" ? window.history.pushState(null, "", r) : o === "replace" && window.history.replaceState(null, "", r), i;
34571
- }, vxe = (t, e) => {
34573
+ }, bxe = (t, e) => {
34572
34574
  try {
34573
34575
  localStorage.setItem(
34574
- UL(t),
34576
+ WL(t),
34575
34577
  JSON.stringify(e)
34576
34578
  );
34577
34579
  } catch {
@@ -34608,7 +34610,7 @@ const _O = "dc_", Wn = {
34608
34610
  const x = Q(
34609
34611
  (b) => xre(b),
34610
34612
  []
34611
- ), w = WE(x, kre);
34613
+ ), w = VE(x, kre);
34612
34614
  Ow(() => {
34613
34615
  if (!(!p || !y))
34614
34616
  return w({
@@ -34937,7 +34939,7 @@ const V0 = "dc_shared_view", Tre = (t) => {
34937
34939
  hideLabel: !0,
34938
34940
  label: i.collections.sorting.toggleDirection,
34939
34941
  variant: "outline",
34940
- icon: o.order === "asc" ? qL : KL,
34942
+ icon: o.order === "asc" ? UL : qL,
34941
34943
  onClick: () => s({
34942
34944
  field: o.field,
34943
34945
  order: o.order === "asc" ? "desc" : "asc"
@@ -35035,7 +35037,7 @@ const V0 = "dc_shared_view", Tre = (t) => {
35035
35037
  {
35036
35038
  variant: "outline",
35037
35039
  label: "Settings",
35038
- icon: GL,
35040
+ icon: KL,
35039
35041
  onClick: () => {
35040
35042
  },
35041
35043
  hideLabel: !0,
@@ -35052,7 +35054,7 @@ const V0 = "dc_shared_view", Tre = (t) => {
35052
35054
  sideOffset: 8,
35053
35055
  children: [
35054
35056
  p && !n?.hideSelector && !(n.mandatory && Object.entries(n.groupBy).length < 2) && /* @__PURE__ */ m("div", { className: "p-3", children: /* @__PURE__ */ m(
35055
- YL,
35057
+ GL,
35056
35058
  {
35057
35059
  grouping: n,
35058
35060
  currentGrouping: i,
@@ -35082,7 +35084,7 @@ const V0 = "dc_shared_view", Tre = (t) => {
35082
35084
  {
35083
35085
  size: "sm",
35084
35086
  variant: "ghost",
35085
- icon: XL,
35087
+ icon: YL,
35086
35088
  label: c.collections.visualizations.reset,
35087
35089
  onClick: C
35088
35090
  }
@@ -35241,7 +35243,7 @@ const jre = () => {
35241
35243
  me,
35242
35244
  ye,
35243
35245
  Be
35244
- ]), At = V(B), vt = V(R), ft = V(me), { emitSortingChange: Lt } = JL({
35246
+ ]), At = V(B), vt = V(R), ft = V(me), { emitSortingChange: Lt } = XL({
35245
35247
  defaultSorting: At.current,
35246
35248
  currentVisualization: ee ? j : void 0
35247
35249
  });
@@ -35287,7 +35289,7 @@ const jre = () => {
35287
35289
  ke.loading,
35288
35290
  ke.disabled,
35289
35291
  ke.onClick
35290
- ]), Oe = dt?.length > 0 || ge?.length > 0 || !!fe || !!h, [Re, Xe] = Y(void 0), lt = FE(), [ot, bt] = Y(void 0), Ot = Q((be) => {
35292
+ ]), Oe = dt?.length > 0 || ge?.length > 0 || !!fe || !!h, [Re, Xe] = Y(void 0), lt = LE(), [ot, bt] = Y(void 0), Ot = Q((be) => {
35291
35293
  if (!be)
35292
35294
  return [];
35293
35295
  const Le = [];
@@ -35382,7 +35384,7 @@ const jre = () => {
35382
35384
  clearFilters: () => {
35383
35385
  kr(!1), ye({}), N(void 0);
35384
35386
  }
35385
- }), qa = (be, Le, gt) => be !== 0 ? !1 : (X ? QL(X, Le, Lo).length > 0 : !1) || gt ? "no-results" : "no-data", Ka = ({
35387
+ }), qa = (be, Le, gt) => be !== 0 ? !1 : (X ? ZL(X, Le, Lo).length > 0 : !1) || gt ? "no-results" : "no-data", Ka = ({
35386
35388
  totalItems: be,
35387
35389
  filters: Le,
35388
35390
  isInitialLoading: gt,
@@ -35772,7 +35774,7 @@ const jre = () => {
35772
35774
  }
35773
35775
  ) }),
35774
35776
  /* @__PURE__ */ m("div", { className: "flex-1", children: /* @__PURE__ */ m(
35775
- ZL,
35777
+ JL,
35776
35778
  {
35777
35779
  filters: X,
35778
35780
  value: me,
@@ -35951,7 +35953,7 @@ const jre = () => {
35951
35953
  navigationFilters: i,
35952
35954
  summaries: r,
35953
35955
  currentNavigationFilters: o
35954
- } = t, s = eF(
35956
+ } = t, s = QL(
35955
35957
  {
35956
35958
  ...t,
35957
35959
  dataAdapter: t.dataAdapter
@@ -36387,7 +36389,7 @@ function yS(t) {
36387
36389
  return Ut(t, "ZodEnum") ? t._def.values.map((n) => ({ value: n, label: n })) : null;
36388
36390
  }
36389
36391
  function vS(t) {
36390
- const e = kc(t), n = KE(
36392
+ const e = kc(t), n = qE(
36391
36393
  t,
36392
36394
  e ?? {}
36393
36395
  ), i = e ?? {}, r = zn(t);
@@ -36442,9 +36444,9 @@ function foe({
36442
36444
  disabled: t.disabled
36443
36445
  }
36444
36446
  ), n = t.disabled ? t.disabledTooltip : t.tooltip;
36445
- return n ? /* @__PURE__ */ m(Kf, { delayDuration: 100, children: /* @__PURE__ */ P(Gf, { children: [
36446
- /* @__PURE__ */ m(Yf, { asChild: !0, children: t.disabled ? /* @__PURE__ */ m("span", { className: "inline-flex cursor-not-allowed [&_button]:pointer-events-none", children: e }) : /* @__PURE__ */ m("span", { className: "inline-flex", children: e }) }),
36447
- /* @__PURE__ */ m(Xf, { side: "top", children: n })
36447
+ return n ? /* @__PURE__ */ m(Zf, { delayDuration: 100, children: /* @__PURE__ */ P(Qf, { children: [
36448
+ /* @__PURE__ */ m(eu, { asChild: !0, children: t.disabled ? /* @__PURE__ */ m("span", { className: "inline-flex cursor-not-allowed [&_button]:pointer-events-none", children: e }) : /* @__PURE__ */ m("span", { className: "inline-flex", children: e }) }),
36449
+ /* @__PURE__ */ m(tu, { side: "top", children: n })
36448
36450
  ] }) }) : e;
36449
36451
  }
36450
36452
  function zy(t) {
@@ -36998,7 +37000,7 @@ function goe({
36998
37000
  a
36999
37001
  ),
37000
37002
  children: [
37001
- /* @__PURE__ */ m(bE, { file: _, size: "lg" }),
37003
+ /* @__PURE__ */ m(vE, { file: _, size: "lg" }),
37002
37004
  /* @__PURE__ */ P("div", { className: "flex min-w-0 flex-1 flex-col", children: [
37003
37005
  /* @__PURE__ */ m("span", { className: "truncate text-sm font-medium text-f1-foreground", children: S }),
37004
37006
  E && /* @__PURE__ */ m("span", { className: "text-sm text-f1-foreground-secondary", children: E })
@@ -37259,7 +37261,7 @@ function woe({
37259
37261
  dn("rounded-xl")
37260
37262
  ),
37261
37263
  children: [
37262
- /* @__PURE__ */ m(vw, { icon: tF, size: "md" }),
37264
+ /* @__PURE__ */ m(vw, { icon: eF, size: "md" }),
37263
37265
  /* @__PURE__ */ P("div", { className: "flex flex-col items-center gap-0.5", children: [
37264
37266
  /* @__PURE__ */ m("span", { className: "text-center text-base font-medium text-f1-foreground", children: F }),
37265
37267
  E && /* @__PURE__ */ m("span", { className: "text-center text-base text-f1-foreground-secondary", children: b.acceptedTypes.replace(
@@ -37285,7 +37287,7 @@ function woe({
37285
37287
  }
37286
37288
  ),
37287
37289
  x && /* @__PURE__ */ P("div", { className: "-mt-2 flex items-center gap-1", children: [
37288
- /* @__PURE__ */ m(it, { icon: Jf, color: "critical" }),
37290
+ /* @__PURE__ */ m(it, { icon: Kf, color: "critical" }),
37289
37291
  /* @__PURE__ */ m("p", { className: "text-sm font-medium text-f1-foreground-critical", children: x })
37290
37292
  ] }),
37291
37293
  g.length > 0 && /* @__PURE__ */ m("div", { className: "flex flex-col", children: g.map((q, oe) => {
@@ -52382,9 +52384,9 @@ const dm = ({
52382
52384
  style: {
52383
52385
  width: !w && r ? `${r}px` : void 0
52384
52386
  },
52385
- children: /* @__PURE__ */ P(TE, { open: b, onOpenChange: () => {
52387
+ children: /* @__PURE__ */ P(NE, { open: b, onOpenChange: () => {
52386
52388
  }, modal: !1, children: [
52387
- /* @__PURE__ */ m(DE, { asChild: !0, children: /* @__PURE__ */ P(
52389
+ /* @__PURE__ */ m(TE, { asChild: !0, children: /* @__PURE__ */ P(
52388
52390
  Ge.div,
52389
52391
  {
52390
52392
  className: K(
@@ -52430,7 +52432,7 @@ const dm = ({
52430
52432
  Ae,
52431
52433
  {
52432
52434
  variant: "default",
52433
- icon: nF,
52435
+ icon: tF,
52434
52436
  label: "send",
52435
52437
  hideLabel: !0,
52436
52438
  onClick: () => {
@@ -52450,12 +52452,12 @@ const dm = ({
52450
52452
  i && "dark"
52451
52453
  ),
52452
52454
  children: [
52453
- /* @__PURE__ */ m(iF, { title: s, status: "executing" }),
52455
+ /* @__PURE__ */ m(nF, { title: s, status: "executing" }),
52454
52456
  /* @__PURE__ */ m(
52455
52457
  Ae,
52456
52458
  {
52457
52459
  variant: "default",
52458
- icon: rF,
52460
+ icon: iF,
52459
52461
  label: "Stop",
52460
52462
  hideLabel: !0,
52461
52463
  disabled: !0,
@@ -52508,7 +52510,7 @@ const dm = ({
52508
52510
  }
52509
52511
  ) }),
52510
52512
  b && /* @__PURE__ */ m(
52511
- OE,
52513
+ DE,
52512
52514
  {
52513
52515
  align: "start",
52514
52516
  sideOffset: 4,
@@ -52520,13 +52522,13 @@ const dm = ({
52520
52522
  onCloseAutoFocus: (k) => k.preventDefault(),
52521
52523
  onFocusOutside: (k) => k.preventDefault(),
52522
52524
  onInteractOutside: (k) => k.preventDefault(),
52523
- children: e.map((k) => k.subOptions && k.subOptions.length > 0 ? /* @__PURE__ */ P(ME, { children: [
52524
- /* @__PURE__ */ m(IE, { className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover", children: /* @__PURE__ */ P("div", { className: "flex w-full flex-row items-center gap-2", children: [
52525
+ children: e.map((k) => k.subOptions && k.subOptions.length > 0 ? /* @__PURE__ */ P(OE, { children: [
52526
+ /* @__PURE__ */ m(ME, { className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover", children: /* @__PURE__ */ P("div", { className: "flex w-full flex-row items-center gap-2", children: [
52525
52527
  k.icon && /* @__PURE__ */ m(U1, { icon: k.icon, color: "default" }),
52526
52528
  /* @__PURE__ */ m("span", { className: "flex-1 text-base font-medium", children: k.label })
52527
52529
  ] }) }),
52528
- /* @__PURE__ */ m(RE, { children: /* @__PURE__ */ m(
52529
- PE,
52530
+ /* @__PURE__ */ m(IE, { children: /* @__PURE__ */ m(
52531
+ RE,
52530
52532
  {
52531
52533
  className: K(
52532
52534
  i && "dark",
@@ -52674,7 +52676,7 @@ const dm = ({
52674
52676
  F && te.preventDefault();
52675
52677
  };
52676
52678
  return /* @__PURE__ */ P(
52677
- eu,
52679
+ Xf,
52678
52680
  {
52679
52681
  open: _,
52680
52682
  modal: !1,
@@ -52715,7 +52717,7 @@ const dm = ({
52715
52717
  children: /* @__PURE__ */ m(dm, { ...U })
52716
52718
  }
52717
52719
  ) : /* @__PURE__ */ m(
52718
- tu,
52720
+ Jf,
52719
52721
  {
52720
52722
  side: "bottom",
52721
52723
  align: "start",
@@ -55710,7 +55712,7 @@ function che(t) {
55710
55712
  }
55711
55713
  function dhe(t) {
55712
55714
  return /* @__PURE__ */ m(
55713
- oF,
55715
+ rF,
55714
55716
  {
55715
55717
  onError: (e) => {
55716
55718
  console.error("EmojiPicker failed to mount", e);
@@ -55738,7 +55740,7 @@ function mhe({
55738
55740
  compact: !0,
55739
55741
  label: o,
55740
55742
  size: n,
55741
- icon: r ? void 0 : s ?? sF,
55743
+ icon: r ? void 0 : s ?? oF,
55742
55744
  emoji: r,
55743
55745
  pressed: a,
55744
55746
  onClick: (c) => {
@@ -55803,7 +55805,7 @@ const ghe = ({ editor: t, disabled: e }) => {
55803
55805
  r(!1);
55804
55806
  };
55805
55807
  return /* @__PURE__ */ P(
55806
- eu,
55808
+ Xf,
55807
55809
  {
55808
55810
  open: i,
55809
55811
  onOpenChange: (h) => {
@@ -55821,7 +55823,7 @@ const ghe = ({ editor: t, disabled: e }) => {
55821
55823
  }
55822
55824
  ) }),
55823
55825
  /* @__PURE__ */ m(Iw, { container: document.body, children: /* @__PURE__ */ m(
55824
- tu,
55826
+ Jf,
55825
55827
  {
55826
55828
  side: "top",
55827
55829
  align: "start",
@@ -55869,9 +55871,9 @@ const ghe = ({ editor: t, disabled: e }) => {
55869
55871
  o.length > 0 ? "w-6" : "w-4"
55870
55872
  ),
55871
55873
  children: /* @__PURE__ */ m(
55872
- aF,
55874
+ sF,
55873
55875
  {
55874
- icon: o.length > 0 ? l(o) ? fg : lF : Wv,
55876
+ icon: o.length > 0 ? l(o) ? fg : aF : Wv,
55875
55877
  type: o ? l(o) ? "positive" : "warning" : "neutral",
55876
55878
  size: o.length > 0 ? "sm" : "lg"
55877
55879
  }
@@ -55951,7 +55953,7 @@ const ghe = ({ editor: t, disabled: e }) => {
55951
55953
  const [o, s] = Y(!1), a = () => {
55952
55954
  e || s(!o);
55953
55955
  };
55954
- return /* @__PURE__ */ P(eu, { open: o, modal: !1, onOpenChange: s, children: [
55956
+ return /* @__PURE__ */ P(Xf, { open: o, modal: !1, onOpenChange: s, children: [
55955
55957
  /* @__PURE__ */ m(Mw, { asChild: !0, children: /* @__PURE__ */ m(
55956
55958
  Rw,
55957
55959
  {
@@ -55963,7 +55965,7 @@ const ghe = ({ editor: t, disabled: e }) => {
55963
55965
  }
55964
55966
  ) }),
55965
55967
  /* @__PURE__ */ m(Iw, { container: document.body, children: /* @__PURE__ */ m(
55966
- tu,
55968
+ Jf,
55967
55969
  {
55968
55970
  side: r,
55969
55971
  align: "end",
@@ -55983,7 +55985,7 @@ const ghe = ({ editor: t, disabled: e }) => {
55983
55985
  i && "dark"
55984
55986
  ),
55985
55987
  children: t.map((l, c) => /* @__PURE__ */ m(
55986
- cF,
55988
+ lF,
55987
55989
  {
55988
55990
  variant: "ghost",
55989
55991
  size: "md",
@@ -55993,7 +55995,7 @@ const ghe = ({ editor: t, disabled: e }) => {
55993
55995
  disabled: e,
55994
55996
  "aria-label": l.label,
55995
55997
  className: K(
55996
- dF({
55998
+ cF({
55997
55999
  variant: l.isActive ? "selected" : "ghost"
55998
56000
  }),
55999
56001
  "justify-start"
@@ -56016,7 +56018,7 @@ const ghe = ({ editor: t, disabled: e }) => {
56016
56018
  ] }, `intersperse-${i}`)), vhe = (t) => [
56017
56019
  {
56018
56020
  key: "bold",
56019
- icon: fF,
56021
+ icon: dF,
56020
56022
  label: t.richTextEditor.bold,
56021
56023
  active: (e) => e.isActive("bold"),
56022
56024
  onClick: (e) => e.chain().focus().toggleBold().run(),
@@ -56027,7 +56029,7 @@ const ghe = ({ editor: t, disabled: e }) => {
56027
56029
  },
56028
56030
  {
56029
56031
  key: "italic",
56030
- icon: uF,
56032
+ icon: fF,
56031
56033
  label: t.richTextEditor.italic,
56032
56034
  active: (e) => e.isActive("italic"),
56033
56035
  onClick: (e) => e.chain().focus().toggleItalic().run(),
@@ -56038,7 +56040,7 @@ const ghe = ({ editor: t, disabled: e }) => {
56038
56040
  },
56039
56041
  {
56040
56042
  key: "underline",
56041
- icon: hF,
56043
+ icon: uF,
56042
56044
  label: t.richTextEditor.underline,
56043
56045
  active: (e) => e.isActive("underline"),
56044
56046
  onClick: (e) => e.chain().focus().toggleUnderline().run(),
@@ -56049,7 +56051,7 @@ const ghe = ({ editor: t, disabled: e }) => {
56049
56051
  },
56050
56052
  {
56051
56053
  key: "strike",
56052
- icon: pF,
56054
+ icon: hF,
56053
56055
  label: t.richTextEditor.strike,
56054
56056
  active: (e) => e.isActive("strike"),
56055
56057
  onClick: (e) => e.chain().focus().toggleStrike().run(),
@@ -56061,7 +56063,7 @@ const ghe = ({ editor: t, disabled: e }) => {
56061
56063
  ], bhe = (t) => [
56062
56064
  {
56063
56065
  key: "heading1",
56064
- icon: GE,
56066
+ icon: KE,
56065
56067
  label: t.richTextEditor.heading1,
56066
56068
  active: (e) => e.isActive("heading", { level: 1 }),
56067
56069
  onClick: (e) => e.chain().focus().toggleHeading({ level: 1 }).run(),
@@ -56072,7 +56074,7 @@ const ghe = ({ editor: t, disabled: e }) => {
56072
56074
  },
56073
56075
  {
56074
56076
  key: "heading2",
56075
- icon: YE,
56077
+ icon: GE,
56076
56078
  label: t.richTextEditor.heading2,
56077
56079
  active: (e) => e.isActive("heading", { level: 2 }),
56078
56080
  onClick: (e) => e.chain().focus().toggleHeading({ level: 2 }).run(),
@@ -56083,7 +56085,7 @@ const ghe = ({ editor: t, disabled: e }) => {
56083
56085
  },
56084
56086
  {
56085
56087
  key: "heading3",
56086
- icon: XE,
56088
+ icon: YE,
56087
56089
  label: t.richTextEditor.heading3,
56088
56090
  active: (e) => e.isActive("heading", { level: 3 }),
56089
56091
  onClick: (e) => e.chain().focus().toggleHeading({ level: 3 }).run(),
@@ -56106,7 +56108,7 @@ const ghe = ({ editor: t, disabled: e }) => {
56106
56108
  },
56107
56109
  {
56108
56110
  key: "orderedList",
56109
- icon: JE,
56111
+ icon: XE,
56110
56112
  label: t.richTextEditor.orderedList,
56111
56113
  active: (n) => n.isActive("orderedList"),
56112
56114
  onClick: (n) => n.chain().focus().toggleOrderedList().run(),
@@ -56118,7 +56120,7 @@ const ghe = ({ editor: t, disabled: e }) => {
56118
56120
  ...e ? [] : [
56119
56121
  {
56120
56122
  key: "taskList",
56121
- icon: ZE,
56123
+ icon: JE,
56122
56124
  label: t.richTextEditor.taskList,
56123
56125
  active: (n) => n.isActive("taskList"),
56124
56126
  onClick: (n) => n.chain().focus().toggleTaskList().run(),
@@ -56140,10 +56142,10 @@ const ghe = ({ editor: t, disabled: e }) => {
56140
56142
  }
56141
56143
  ]
56142
56144
  ], gv = [
56143
- { value: "left", label: "Left", icon: QE },
56144
- { value: "center", label: "Center", icon: e9 },
56145
- { value: "right", label: "Right", icon: t9 },
56146
- { value: "justify", label: "Justify", icon: n9 }
56145
+ { value: "left", label: "Left", icon: ZE },
56146
+ { value: "center", label: "Center", icon: QE },
56147
+ { value: "right", label: "Right", icon: e9 },
56148
+ { value: "justify", label: "Justify", icon: t9 }
56147
56149
  ], Hk = Et(function({
56148
56150
  editor: e,
56149
56151
  isFullscreen: n = !1,
@@ -56197,25 +56199,25 @@ const ghe = ({ editor: t, disabled: e }) => {
56197
56199
  items: [
56198
56200
  {
56199
56201
  label: l.richTextEditor.left,
56200
- icon: QE,
56202
+ icon: ZE,
56201
56203
  onClick: () => e.chain().focus().setTextAlign("left").run(),
56202
56204
  isActive: u.textAlign === "left"
56203
56205
  },
56204
56206
  {
56205
56207
  label: l.richTextEditor.center,
56206
- icon: e9,
56208
+ icon: QE,
56207
56209
  onClick: () => e.chain().focus().setTextAlign("center").run(),
56208
56210
  isActive: u.textAlign === "center"
56209
56211
  },
56210
56212
  {
56211
56213
  label: l.richTextEditor.right,
56212
- icon: t9,
56214
+ icon: e9,
56213
56215
  onClick: () => e.chain().focus().setTextAlign("right").run(),
56214
56216
  isActive: u.textAlign === "right"
56215
56217
  },
56216
56218
  {
56217
56219
  label: l.richTextEditor.justify,
56218
- icon: n9,
56220
+ icon: t9,
56219
56221
  onClick: () => e.chain().focus().setTextAlign("justify").run(),
56220
56222
  isActive: u.textAlign === "justify"
56221
56223
  }
@@ -56235,7 +56237,7 @@ const ghe = ({ editor: t, disabled: e }) => {
56235
56237
  darkMode: o,
56236
56238
  items: [
56237
56239
  {
56238
- icon: i9,
56240
+ icon: n9,
56239
56241
  label: l.richTextEditor.codeBlock,
56240
56242
  onClick: () => e.chain().focus().toggleCodeBlock().run(),
56241
56243
  isActive: u.codeBlock
@@ -56247,7 +56249,7 @@ const ghe = ({ editor: t, disabled: e }) => {
56247
56249
  isActive: u.horizontalRule
56248
56250
  },
56249
56251
  {
56250
- icon: r9,
56252
+ icon: i9,
56251
56253
  label: l.richTextEditor.quote,
56252
56254
  onClick: () => e.chain().focus().toggleBlockquote().run(),
56253
56255
  isActive: u.blockquote
@@ -62108,7 +62110,7 @@ const t1e = ({ item: t, selected: e }) => /* @__PURE__ */ P(
62108
62110
  ),
62109
62111
  children: [
62110
62112
  /* @__PURE__ */ m(
62111
- o9,
62113
+ r9,
62112
62114
  {
62113
62115
  firstName: t.label,
62114
62116
  lastName: "",
@@ -62175,7 +62177,7 @@ const n6 = ({
62175
62177
  height: 0
62176
62178
  };
62177
62179
  return /* @__PURE__ */ P(
62178
- eu,
62180
+ Xf,
62179
62181
  {
62180
62182
  open: !0,
62181
62183
  modal: !1,
@@ -62184,9 +62186,9 @@ const n6 = ({
62184
62186
  },
62185
62187
  children: [
62186
62188
  /* @__PURE__ */ m("div", { style: i }),
62187
- /* @__PURE__ */ m(s9, { asChild: !0, children: /* @__PURE__ */ m("div", { style: i }) }),
62189
+ /* @__PURE__ */ m(o9, { asChild: !0, children: /* @__PURE__ */ m("div", { style: i }) }),
62188
62190
  /* @__PURE__ */ m(
62189
- tu,
62191
+ Jf,
62190
62192
  {
62191
62193
  side: "top",
62192
62194
  align: "start",
@@ -62342,7 +62344,7 @@ const i1e = "mention", r1e = Qge.extend({
62342
62344
  {
62343
62345
  onclick: "if(this.closest('.ProseMirror')?.getAttribute('contenteditable') === 'true') { event.preventDefault(); }",
62344
62346
  href: r.attrs.href || "#",
62345
- class: K(i.HTMLAttributes.class, mF),
62347
+ class: K(i.HTMLAttributes.class, pF),
62346
62348
  "data-id": r.attrs.id,
62347
62349
  "data-type": "mention",
62348
62350
  rel: "noopener noreferrer",
@@ -62388,7 +62390,7 @@ const i1e = "mention", r1e = Qge.extend({
62388
62390
  "bg-f1-background px-4 py-3",
62389
62391
  o || r ? "rounded-t-[13.25px]" : "rounded-[13.25px]"
62390
62392
  ),
62391
- children: /* @__PURE__ */ m(gF, { content: i })
62393
+ children: /* @__PURE__ */ m(mF, { content: i })
62392
62394
  }
62393
62395
  ),
62394
62396
  (o || r) && /* @__PURE__ */ P("div", { className: "flex flex-row items-center justify-between gap-3 rounded-b-[13.25px] bg-f1-background px-4 py-3", children: [
@@ -62449,7 +62451,7 @@ const i1e = "mention", r1e = Qge.extend({
62449
62451
  (t, e) => /* @__PURE__ */ m(s1e, { ref: e, ...t })
62450
62452
  ), l1e = ({ compact: t }) => /* @__PURE__ */ m(a1e, { compact: t });
62451
62453
  ZI.displayName = "F0AiBanner";
62452
- const QI = Qf(
62454
+ const QI = Yf(
62453
62455
  Pt(ZI),
62454
62456
  l1e
62455
62457
  ), c1e = /^\s*(\[([( |x])?\])\s$/, d1e = Bt.create({
@@ -63269,11 +63271,11 @@ const O1e = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, M1e = Bt
63269
63271
  }), rR = (t, e, n) => {
63270
63272
  qb(t, e, n);
63271
63273
  }, o6 = {
63272
- superNegative: xF,
63273
- negative: wF,
63274
- neutral: bF,
63275
- positive: vF,
63276
- superPositive: yF
63274
+ superNegative: wF,
63275
+ negative: bF,
63276
+ neutral: vF,
63277
+ positive: yF,
63278
+ superPositive: gF
63277
63279
  }, s6 = {
63278
63280
  superNegative: "mood-super-negative",
63279
63281
  negative: "mood-negative",
@@ -63633,7 +63635,7 @@ const G1e = ({
63633
63635
  const { from: r, to: o } = i.state.selection;
63634
63636
  i.chain().focus().setTextSelection({ from: r, to: o }).toggleHeading({ level: 1 }).run();
63635
63637
  },
63636
- icon: GE
63638
+ icon: KE
63637
63639
  },
63638
63640
  {
63639
63641
  title: e.richTextEditor.heading2,
@@ -63641,7 +63643,7 @@ const G1e = ({
63641
63643
  const { from: r, to: o } = i.state.selection;
63642
63644
  i.chain().focus().setTextSelection({ from: r, to: o }).toggleHeading({ level: 2 }).run();
63643
63645
  },
63644
- icon: YE
63646
+ icon: GE
63645
63647
  },
63646
63648
  {
63647
63649
  title: e.richTextEditor.heading3,
@@ -63649,7 +63651,7 @@ const G1e = ({
63649
63651
  const { from: r, to: o } = i.state.selection;
63650
63652
  i.chain().focus().setTextSelection({ from: r, to: o }).toggleHeading({ level: 3 }).run();
63651
63653
  },
63652
- icon: XE
63654
+ icon: YE
63653
63655
  }
63654
63656
  ]
63655
63657
  },
@@ -63670,7 +63672,7 @@ const G1e = ({
63670
63672
  const { from: r, to: o } = i.state.selection;
63671
63673
  i.chain().focus().setTextSelection({ from: r, to: o }).toggleOrderedList().run();
63672
63674
  },
63673
- icon: JE
63675
+ icon: XE
63674
63676
  },
63675
63677
  {
63676
63678
  title: e.richTextEditor.taskList,
@@ -63678,7 +63680,7 @@ const G1e = ({
63678
63680
  const { from: r, to: o } = i.state.selection;
63679
63681
  i.chain().focus().setTextSelection({ from: r, to: o }).toggleTaskList().run();
63680
63682
  },
63681
- icon: ZE
63683
+ icon: JE
63682
63684
  }
63683
63685
  ]
63684
63686
  },
@@ -63695,7 +63697,7 @@ const G1e = ({
63695
63697
  o && rR(i, o, n);
63696
63698
  }, r.click();
63697
63699
  },
63698
- icon: kF
63700
+ icon: xF
63699
63701
  }
63700
63702
  ] : [],
63701
63703
  {
@@ -63706,7 +63708,7 @@ const G1e = ({
63706
63708
  );
63707
63709
  r && (np(r) ? i.commands.setVideoEmbed({ src: r }) : window.alert(e.richTextEditor.videoUrlInvalid));
63708
63710
  },
63709
- icon: _F
63711
+ icon: kF
63710
63712
  },
63711
63713
  {
63712
63714
  title: e.richTextEditor.details,
@@ -63722,7 +63724,7 @@ const G1e = ({
63722
63724
  const { from: r, to: o } = i.state.selection;
63723
63725
  i.chain().focus().setTextSelection({ from: r, to: o }).toggleCodeBlock().run();
63724
63726
  },
63725
- icon: i9
63727
+ icon: n9
63726
63728
  },
63727
63729
  {
63728
63730
  title: e.richTextEditor.quote,
@@ -63730,7 +63732,7 @@ const G1e = ({
63730
63732
  const { from: r, to: o } = i.state.selection;
63731
63733
  i.chain().focus().setTextSelection({ from: r, to: o }).toggleBlockquote().run();
63732
63734
  },
63733
- icon: r9
63735
+ icon: i9
63734
63736
  },
63735
63737
  {
63736
63738
  title: e.richTextEditor.divider,
@@ -63925,11 +63927,11 @@ const J1e = ({
63925
63927
  width: 0,
63926
63928
  height: 0
63927
63929
  };
63928
- return /* @__PURE__ */ P(eu, { open: !0, modal: !1, children: [
63930
+ return /* @__PURE__ */ P(Xf, { open: !0, modal: !1, children: [
63929
63931
  /* @__PURE__ */ m("div", { style: g }),
63930
- /* @__PURE__ */ m(s9, { asChild: !0, children: /* @__PURE__ */ m("div", { style: g }) }),
63932
+ /* @__PURE__ */ m(o9, { asChild: !0, children: /* @__PURE__ */ m("div", { style: g }) }),
63931
63933
  /* @__PURE__ */ m(
63932
- tu,
63934
+ Jf,
63933
63935
  {
63934
63936
  side: "bottom",
63935
63937
  align: "start",
@@ -64070,7 +64072,7 @@ const J1e = ({
64070
64072
  const h = c(f.userId);
64071
64073
  return /* @__PURE__ */ P("div", { className: "flex flex-row gap-3", children: [
64072
64074
  h?.imageUrl && /* @__PURE__ */ m(
64073
- o9,
64075
+ r9,
64074
64076
  {
64075
64077
  size: "xs",
64076
64078
  src: h.imageUrl,
@@ -64245,7 +64247,7 @@ const J1e = ({
64245
64247
  exit: { height: 0, opacity: 0, y: -20 },
64246
64248
  transition: { duration: 0.3 },
64247
64249
  children: /* @__PURE__ */ m("div", { className: "scrollbar-macos flex w-full items-end gap-2 overflow-x-auto pt-2", children: e.map((s, a) => /* @__PURE__ */ m(
64248
- SF,
64250
+ _F,
64249
64251
  {
64250
64252
  file: s,
64251
64253
  actions: [
@@ -64483,7 +64485,7 @@ const J1e = ({
64483
64485
  label: "Toolbar",
64484
64486
  disabled: l,
64485
64487
  hideLabel: !0,
64486
- icon: EF
64488
+ icon: CF
64487
64489
  }
64488
64490
  ), O = () => /* @__PURE__ */ P(Fe, { children: [
64489
64491
  h && /* @__PURE__ */ m(
@@ -64491,7 +64493,7 @@ const J1e = ({
64491
64493
  {
64492
64494
  label: w.ai.recordAudio,
64493
64495
  hideLabel: !0,
64494
- icon: AF,
64496
+ icon: EF,
64495
64497
  variant: "outline",
64496
64498
  disabled: l,
64497
64499
  onClick: (R) => {
@@ -64503,7 +64505,7 @@ const J1e = ({
64503
64505
  o && /* @__PURE__ */ m(
64504
64506
  Ae,
64505
64507
  {
64506
- icon: NF,
64508
+ icon: AF,
64507
64509
  onClick: A,
64508
64510
  hideLabel: !0,
64509
64511
  label: "Add Attachment",
@@ -64564,7 +64566,7 @@ const J1e = ({
64564
64566
  )
64565
64567
  ] }),
64566
64568
  /* @__PURE__ */ m(
64567
- CF,
64569
+ SF,
64568
64570
  {
64569
64571
  stream: g ?? null,
64570
64572
  className: "min-w-0 flex-1",
@@ -64701,7 +64703,7 @@ const J1e = ({
64701
64703
  variant: "outline",
64702
64704
  hideLabel: !0,
64703
64705
  size: "sm",
64704
- icon: e ? qE : TF,
64706
+ icon: e ? UE : NF,
64705
64707
  disabled: i
64706
64708
  }
64707
64709
  ) }),
@@ -64895,7 +64897,7 @@ const J1e = ({
64895
64897
  "permission-denied": b.ai.micPermissionDenied,
64896
64898
  "device-error": b.ai.micError,
64897
64899
  "transcription-failed": b.ai.transcriptionError
64898
- }, Ee = DF({
64900
+ }, Ee = TF({
64899
64901
  onTranscribe: x,
64900
64902
  onPartial: me,
64901
64903
  onFinal: (re) => {
@@ -64921,7 +64923,7 @@ const J1e = ({
64921
64923
  G?.commands.setContent(re);
64922
64924
  }
64923
64925
  })), !G) return null;
64924
- const ne = /* @__PURE__ */ m(OF, { trapped: !1, children: /* @__PURE__ */ P(
64926
+ const ne = /* @__PURE__ */ m(DF, { trapped: !1, children: /* @__PURE__ */ P(
64925
64927
  "div",
64926
64928
  {
64927
64929
  ref: S,
@@ -65189,8 +65191,8 @@ const J1e = ({
65189
65191
  ] });
65190
65192
  }, dR = Xi(
65191
65193
  "F0RichTextEditor",
65192
- Qf(wye, xye)
65193
- ), xxe = dR;
65194
+ Yf(wye, xye)
65195
+ ), kxe = dR;
65194
65196
  function kye({
65195
65197
  field: t,
65196
65198
  formField: e,
@@ -65769,7 +65771,7 @@ function dr({ field: t, sectionId: e }) {
65769
65771
  );
65770
65772
  return k ? /* @__PURE__ */ m(tx, { ...k, variant: k.variant ?? "info" }) : null;
65771
65773
  })(),
65772
- y && !b.error && /* @__PURE__ */ m(NE, { status: t.status }),
65774
+ y && !b.error && /* @__PURE__ */ m(AE, { status: t.status }),
65773
65775
  y && b.error?.type !== "alertCritical" && /* @__PURE__ */ m(
65774
65776
  px,
65775
65777
  {
@@ -66231,7 +66233,7 @@ function fR(t) {
66231
66233
  for (let r = 0; r < i.length; r++) {
66232
66234
  const [o, s] = i[r], a = kc(s);
66233
66235
  if (a) {
66234
- const l = KE(s, a);
66236
+ const l = qE(s, a);
66235
66237
  n.push({
66236
66238
  id: o,
66237
66239
  schema: s,
@@ -66274,7 +66276,7 @@ function uR(t, e) {
66274
66276
  return s;
66275
66277
  }, [t, e]);
66276
66278
  }
66277
- function kxe(t, e) {
66279
+ function _xe(t, e) {
66278
66280
  const n = gg(t), i = fR(n), r = [], o = {};
66279
66281
  for (const l of i) {
66280
66282
  const c = l.config.section;
@@ -67387,7 +67389,7 @@ function gR(t) {
67387
67389
  }
67388
67390
  }),
67389
67391
  [W, ft]
67390
- ), Re = MF(), Xe = V(null), lt = u ?? Xe;
67392
+ ), Re = OF(), Xe = V(null), lt = u ?? Xe;
67391
67393
  ie(() => {
67392
67394
  if (Re)
67393
67395
  return u || (Xe.current = Oe()), Re.register(
@@ -74972,11 +74974,11 @@ const Cwe = (t, e) => {
74972
74974
  ...n
74973
74975
  ], s = e.filter(J6), a = i.filter(Awe), l = t && J6(t), c = s.length > 0, d = a.length > 0, f = c || d || l;
74974
74976
  return /* @__PURE__ */ m("div", { className: "flex flex-col", children: (o.length > 0 || f) && /* @__PURE__ */ P("div", { className: "flex flex-col items-start justify-between gap-2 sm:px-6 px-0 py-4 sm:flex-row sm:items-center", children: [
74975
- o.length > 0 && /* @__PURE__ */ m(IF, { items: o }),
74977
+ o.length > 0 && /* @__PURE__ */ m(MF, { items: o }),
74976
74978
  /* @__PURE__ */ P("div", { className: "flex flex-shrink-0 flex-row items-center gap-2", children: [
74977
74979
  d && /* @__PURE__ */ m(bc, { items: a }),
74978
74980
  s.map(
74979
- (u, h) => RF(u) ? /* @__PURE__ */ m(
74981
+ (u, h) => IF(u) ? /* @__PURE__ */ m(
74980
74982
  qi,
74981
74983
  {
74982
74984
  items: u.items,
@@ -75383,8 +75385,8 @@ const Cwe = (t, e) => {
75383
75385
  }
75384
75386
  ), Rwe = Xi(
75385
75387
  "F0NotesTextEditor",
75386
- Qf(Iwe, k7)
75387
- ), Sxe = Rwe, Cxe = k7, _7 = Qe(
75388
+ Yf(Iwe, k7)
75389
+ ), Cxe = Rwe, Exe = k7, _7 = Qe(
75388
75390
  ({ header: t, actions: e, open: n, onClose: i }, r) => {
75389
75391
  const [o, s] = Y(!1), a = Q(() => {
75390
75392
  s(!0);
@@ -75394,11 +75396,11 @@ const Cwe = (t, e) => {
75394
75396
  return () => clearTimeout(l);
75395
75397
  }, [i]);
75396
75398
  return /* @__PURE__ */ m(
75397
- jE,
75399
+ BE,
75398
75400
  {
75399
75401
  open: n && !o,
75400
75402
  onOpenChange: (l) => !l && a?.(),
75401
- children: /* @__PURE__ */ P(HE, { ref: r, className: "bottom-3 top-auto max-w-[400px]", children: [
75403
+ children: /* @__PURE__ */ P(jE, { ref: r, className: "bottom-3 top-auto max-w-[400px]", children: [
75402
75404
  /* @__PURE__ */ P(ex, { className: "flex flex-col gap-4 px-4 py-5", children: [
75403
75405
  /* @__PURE__ */ m($a, { type: t.type, size: "lg" }),
75404
75406
  /* @__PURE__ */ P("div", { className: "flex flex-col gap-0.5", children: [
@@ -75435,7 +75437,7 @@ const Cwe = (t, e) => {
75435
75437
  }
75436
75438
  );
75437
75439
  _7.displayName = "Dialog";
75438
- const Exe = Pt(
75440
+ const Axe = Pt(
75439
75441
  Ji(
75440
75442
  { name: "Dialog", type: "info" },
75441
75443
  Xi("Dialog", _7)
@@ -75454,7 +75456,7 @@ const Exe = Pt(
75454
75456
  showBottomBorder: d,
75455
75457
  onClose: f
75456
75458
  }) => /* @__PURE__ */ m(
75457
- PF,
75459
+ RF,
75458
75460
  {
75459
75461
  avatar: t,
75460
75462
  title: e,
@@ -75469,7 +75471,7 @@ const Exe = Pt(
75469
75471
  showBottomBorder: d,
75470
75472
  onClose: f
75471
75473
  }
75472
- ), Axe = Xi(
75474
+ ), Nxe = Xi(
75473
75475
  "ResourceHeader",
75474
75476
  Pwe
75475
75477
  ), Lwe = Qe(
@@ -75593,36 +75595,36 @@ const Exe = Pt(
75593
75595
  );
75594
75596
  }
75595
75597
  ), Fwe = Pt(
75596
- Qf(Lwe, S7)
75598
+ Yf(Lwe, S7)
75597
75599
  );
75598
75600
  Fwe.displayName = "BaseBanner";
75599
75601
  export {
75600
75602
  Td as $,
75601
75603
  FV as A,
75602
75604
  zV as B,
75603
- Wwe as C,
75604
- Qwe as D,
75605
- exe as E,
75605
+ Uwe as C,
75606
+ exe as D,
75607
+ txe as E,
75606
75608
  uW as F,
75607
- txe as G,
75608
- nxe as H,
75609
+ nxe as G,
75610
+ ixe as H,
75609
75611
  Dp as I,
75610
75612
  wA as J,
75611
- dxe as K,
75613
+ fxe as K,
75612
75614
  qV as L,
75613
75615
  B$ as M,
75614
- cxe as N,
75616
+ dxe as N,
75615
75617
  YK as O,
75616
- sxe as P,
75617
- pxe as Q,
75618
+ axe as P,
75619
+ mxe as Q,
75618
75620
  X$ as R,
75619
75621
  jK as S,
75620
- uxe as T,
75622
+ hxe as T,
75621
75623
  Pg as U,
75622
75624
  iW as V,
75623
- hxe as W,
75625
+ pxe as W,
75624
75626
  OA as X,
75625
- Axe as Y,
75627
+ Nxe as Y,
75626
75628
  CN as Z,
75627
75629
  pN as _,
75628
75630
  mhe as a,
@@ -75632,7 +75634,7 @@ export {
75632
75634
  Gre as a2,
75633
75635
  xG as a3,
75634
75636
  kG as a4,
75635
- gxe as a5,
75637
+ yxe as a5,
75636
75638
  cre as a6,
75637
75639
  are as a7,
75638
75640
  ore as a8,
@@ -75666,15 +75668,15 @@ export {
75666
75668
  aT as a_,
75667
75669
  Ax as aa,
75668
75670
  aG as ab,
75669
- fxe as ac,
75671
+ uxe as ac,
75670
75672
  TG as ad,
75671
- Exe as ae,
75673
+ Axe as ae,
75672
75674
  k7 as af,
75673
75675
  Rwe as ag,
75674
- Sxe as ah,
75675
- Cxe as ai,
75676
+ Cxe as ah,
75677
+ Exe as ai,
75676
75678
  dR as aj,
75677
- xxe as ak,
75679
+ kxe as ak,
75678
75680
  Mi as al,
75679
75681
  lR as am,
75680
75682
  YB as an,
@@ -75686,12 +75688,12 @@ export {
75686
75688
  Yw as at,
75687
75689
  vB as au,
75688
75690
  HB as av,
75689
- Uwe as aw,
75691
+ qwe as aw,
75690
75692
  Jw as ax,
75691
75693
  jW as ay,
75692
75694
  zW as az,
75693
75695
  o6 as b,
75694
- qwe as b0,
75696
+ Kwe as b0,
75695
75697
  Rg as b1,
75696
75698
  tx as b2,
75697
75699
  _A as b3,
@@ -75700,7 +75702,7 @@ export {
75700
75702
  ZW as b6,
75701
75703
  Gye as b7,
75702
75704
  uR as b8,
75703
- kxe as b9,
75705
+ _xe as b9,
75704
75706
  xa as ba,
75705
75707
  mN as bb,
75706
75708
  _W as bc,
@@ -75711,37 +75713,37 @@ export {
75711
75713
  cN as bh,
75712
75714
  dq as bi,
75713
75715
  xy as bj,
75714
- mxe as bk,
75716
+ gxe as bk,
75715
75717
  _O as bl,
75716
75718
  Wn as bm,
75717
75719
  tk as bn,
75718
75720
  gre as bo,
75719
- yxe as bp,
75721
+ vxe as bp,
75720
75722
  wre as bq,
75721
75723
  xre as br,
75722
- vxe as bs,
75724
+ bxe as bs,
75723
75725
  ez as c,
75724
75726
  Od as d,
75725
75727
  Yre as e,
75726
- lxe as f,
75727
- axe as g,
75728
+ cxe as f,
75729
+ lxe as g,
75728
75730
  EW as h,
75729
- ixe as i,
75731
+ rxe as i,
75730
75732
  RV as j,
75731
75733
  GV as k,
75732
75734
  jV as l,
75733
75735
  AV as m,
75734
75736
  _o as n,
75735
- rxe as o,
75737
+ oxe as o,
75736
75738
  s6 as p,
75737
- oxe as q,
75739
+ sxe as q,
75738
75740
  Fwe as r,
75739
75741
  QI as s,
75740
- Kwe as t,
75742
+ Gwe as t,
75741
75743
  K$ as u,
75742
- Gwe as v,
75743
- Ywe as w,
75744
- Xwe as x,
75745
- Jwe as y,
75746
- Zwe as z
75744
+ Ywe as v,
75745
+ Xwe as w,
75746
+ Jwe as x,
75747
+ Zwe as y,
75748
+ Qwe as z
75747
75749
  };