@epam/ai-dial-ui-kit 0.13.0-dev.50 → 0.13.0-dev.52

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.
@@ -74,7 +74,7 @@ function CS() {
74
74
  return "Suspense";
75
75
  case R:
76
76
  return "SuspenseList";
77
- case k:
77
+ case I:
78
78
  return "Activity";
79
79
  }
80
80
  if (typeof H == "object")
@@ -133,7 +133,7 @@ function CS() {
133
133
  }
134
134
  }
135
135
  function n() {
136
- var H = I.A;
136
+ var H = k.A;
137
137
  return H === null ? null : H.getOwner();
138
138
  }
139
139
  function o() {
@@ -251,7 +251,7 @@ React keys must be passed directly to JSX without using spread:
251
251
  function p(H) {
252
252
  return typeof H == "object" && H !== null && H.$$typeof === f;
253
253
  }
254
- var g = J, f = /* @__PURE__ */ Symbol.for("react.transitional.element"), m = /* @__PURE__ */ Symbol.for("react.portal"), v = /* @__PURE__ */ Symbol.for("react.fragment"), C = /* @__PURE__ */ Symbol.for("react.strict_mode"), w = /* @__PURE__ */ Symbol.for("react.profiler"), b = /* @__PURE__ */ Symbol.for("react.consumer"), x = /* @__PURE__ */ Symbol.for("react.context"), y = /* @__PURE__ */ Symbol.for("react.forward_ref"), S = /* @__PURE__ */ Symbol.for("react.suspense"), R = /* @__PURE__ */ Symbol.for("react.suspense_list"), F = /* @__PURE__ */ Symbol.for("react.memo"), D = /* @__PURE__ */ Symbol.for("react.lazy"), k = /* @__PURE__ */ Symbol.for("react.activity"), E = /* @__PURE__ */ Symbol.for("react.client.reference"), I = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, T = Object.prototype.hasOwnProperty, O = Array.isArray, A = console.createTask ? console.createTask : function() {
254
+ var g = J, f = /* @__PURE__ */ Symbol.for("react.transitional.element"), m = /* @__PURE__ */ Symbol.for("react.portal"), v = /* @__PURE__ */ Symbol.for("react.fragment"), C = /* @__PURE__ */ Symbol.for("react.strict_mode"), w = /* @__PURE__ */ Symbol.for("react.profiler"), b = /* @__PURE__ */ Symbol.for("react.consumer"), x = /* @__PURE__ */ Symbol.for("react.context"), y = /* @__PURE__ */ Symbol.for("react.forward_ref"), S = /* @__PURE__ */ Symbol.for("react.suspense"), R = /* @__PURE__ */ Symbol.for("react.suspense_list"), F = /* @__PURE__ */ Symbol.for("react.memo"), D = /* @__PURE__ */ Symbol.for("react.lazy"), I = /* @__PURE__ */ Symbol.for("react.activity"), E = /* @__PURE__ */ Symbol.for("react.client.reference"), k = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, T = Object.prototype.hasOwnProperty, O = Array.isArray, A = console.createTask ? console.createTask : function() {
255
255
  return null;
256
256
  };
257
257
  g = {
@@ -264,7 +264,7 @@ React keys must be passed directly to JSX without using spread:
264
264
  o
265
265
  )(), Y = A(i(o)), G = {};
266
266
  Gr.Fragment = v, Gr.jsx = function(H, U, Q) {
267
- var se = 1e4 > I.recentlyCreatedOwnerStacks++;
267
+ var se = 1e4 > k.recentlyCreatedOwnerStacks++;
268
268
  return d(
269
269
  H,
270
270
  U,
@@ -274,7 +274,7 @@ React keys must be passed directly to JSX without using spread:
274
274
  se ? A(i(H)) : Y
275
275
  );
276
276
  }, Gr.jsxs = function(H, U, Q) {
277
- var se = 1e4 > I.recentlyCreatedOwnerStacks++;
277
+ var se = 1e4 > k.recentlyCreatedOwnerStacks++;
278
278
  return d(
279
279
  H,
280
280
  U,
@@ -595,9 +595,9 @@ const bS = (e, t) => {
595
595
  "bottom-left",
596
596
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
597
597
  "left-bottom"
598
- ], y = () => [...x(), De, Ee], S = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", "contain", "none"], F = () => [De, Ee, l], D = () => [Ni, "full", "auto", ...F()], k = () => [Oi, "none", "subgrid", De, Ee], E = () => ["auto", {
598
+ ], y = () => [...x(), De, Ee], S = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", "contain", "none"], F = () => [De, Ee, l], D = () => [Ni, "full", "auto", ...F()], I = () => [Oi, "none", "subgrid", De, Ee], E = () => ["auto", {
599
599
  span: ["full", Oi, De, Ee]
600
- }, Oi, De, Ee], I = () => [Oi, "auto", De, Ee], T = () => ["auto", "min", "max", "fr", De, Ee], O = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], A = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], V = () => ["auto", ...F()], _ = () => [Ni, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...F()], B = () => [Ni, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...F()], Y = () => [Ni, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...F()], G = () => [e, De, Ee], H = () => [...x(), Vf, Gf, {
600
+ }, Oi, De, Ee], k = () => [Oi, "auto", De, Ee], T = () => ["auto", "min", "max", "fr", De, Ee], O = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], A = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], V = () => ["auto", ...F()], _ = () => [Ni, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...F()], B = () => [Ni, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...F()], Y = () => [Ni, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...F()], G = () => [e, De, Ee], H = () => [...x(), Vf, Gf, {
601
601
  position: [De, Ee]
602
602
  }], U = () => ["no-repeat", {
603
603
  repeat: ["", "x", "y", "space", "round"]
@@ -949,7 +949,7 @@ const bS = (e, t) => {
949
949
  * @see https://tailwindcss.com/docs/grid-template-columns
950
950
  */
951
951
  "grid-cols": [{
952
- "grid-cols": k()
952
+ "grid-cols": I()
953
953
  }],
954
954
  /**
955
955
  * Grid Column Start / End
@@ -963,21 +963,21 @@ const bS = (e, t) => {
963
963
  * @see https://tailwindcss.com/docs/grid-column
964
964
  */
965
965
  "col-start": [{
966
- "col-start": I()
966
+ "col-start": k()
967
967
  }],
968
968
  /**
969
969
  * Grid Column End
970
970
  * @see https://tailwindcss.com/docs/grid-column
971
971
  */
972
972
  "col-end": [{
973
- "col-end": I()
973
+ "col-end": k()
974
974
  }],
975
975
  /**
976
976
  * Grid Template Rows
977
977
  * @see https://tailwindcss.com/docs/grid-template-rows
978
978
  */
979
979
  "grid-rows": [{
980
- "grid-rows": k()
980
+ "grid-rows": I()
981
981
  }],
982
982
  /**
983
983
  * Grid Row Start / End
@@ -991,14 +991,14 @@ const bS = (e, t) => {
991
991
  * @see https://tailwindcss.com/docs/grid-row
992
992
  */
993
993
  "row-start": [{
994
- "row-start": I()
994
+ "row-start": k()
995
995
  }],
996
996
  /**
997
997
  * Grid Row End
998
998
  * @see https://tailwindcss.com/docs/grid-row
999
999
  */
1000
1000
  "row-end": [{
1001
- "row-end": I()
1001
+ "row-end": k()
1002
1002
  }],
1003
1003
  /**
1004
1004
  * Grid Auto Flow
@@ -3694,37 +3694,38 @@ const m2 = {
3694
3694
  inline: d,
3695
3695
  ariaLabel: u
3696
3696
  }) => {
3697
- const p = v2(e ?? 0, t), g = C2(p, r), f = o ?? e, m = u ?? (typeof n == "string" ? n : void 0), v = s ? /* @__PURE__ */ h.jsx(rw, {}) : i ? /* @__PURE__ */ h.jsx(an, { fullWidth: !1 }) : /* @__PURE__ */ h.jsx(
3697
+ const p = e == null, g = !!(s || i || !p), f = v2(p ? 0 : e, t), m = C2(f, r), v = o ?? (p ? "—" : e), C = u ?? (typeof n == "string" ? n : void 0), w = s || i, b = s ? /* @__PURE__ */ h.jsx(rw, {}) : i ? /* @__PURE__ */ h.jsx(an, { fullWidth: !1 }) : /* @__PURE__ */ h.jsx(
3698
3698
  "span",
3699
3699
  {
3700
3700
  className: L(
3701
- d ? "dial-small-text text-primary" : "dial-small-semi-text text-primary",
3701
+ "shrink-0 tabular-nums text-end",
3702
+ d ? "dial-small-text min-w-[5ch] text-primary" : "dial-small-semi-text text-primary",
3702
3703
  c
3703
3704
  ),
3704
- children: f
3705
+ children: v
3705
3706
  }
3706
- ), C = /* @__PURE__ */ h.jsx(
3707
+ ), x = g ? /* @__PURE__ */ h.jsx(
3707
3708
  "div",
3708
3709
  {
3709
3710
  role: "progressbar",
3710
- "aria-valuenow": s || i ? void 0 : e,
3711
+ "aria-valuenow": s || i || typeof e != "number" ? void 0 : e,
3711
3712
  "aria-valuemin": 0,
3712
3713
  "aria-valuemax": t,
3713
- "aria-label": m,
3714
+ "aria-label": C,
3714
3715
  className: L(
3715
3716
  "w-full overflow-hidden rounded-sm",
3716
3717
  d ? "h-1" : "h-2",
3717
3718
  s ? "bg-error" : "bg-layer-1"
3718
3719
  ),
3719
- children: !s && !i && /* @__PURE__ */ h.jsx(
3720
+ children: !w && /* @__PURE__ */ h.jsx(
3720
3721
  "div",
3721
3722
  {
3722
3723
  className: "h-full rounded-sm transition-[width] duration-300",
3723
- style: { width: `${p * 100}%`, backgroundColor: g }
3724
+ style: { width: `${f * 100}%`, backgroundColor: m }
3724
3725
  }
3725
3726
  )
3726
3727
  }
3727
- ), w = /* @__PURE__ */ h.jsx(
3728
+ ) : null, y = /* @__PURE__ */ h.jsx(
3728
3729
  "span",
3729
3730
  {
3730
3731
  className: L("dial-small-text text-primary", l),
@@ -3736,19 +3737,19 @@ const m2 = {
3736
3737
  {
3737
3738
  className: L("flex flex-row items-center gap-2", a),
3738
3739
  children: [
3739
- /* @__PURE__ */ h.jsx("div", { className: "w-1/2 min-w-0", children: w }),
3740
+ /* @__PURE__ */ h.jsx("div", { className: "w-1/2 min-w-0", children: y }),
3740
3741
  /* @__PURE__ */ h.jsxs("div", { className: "flex w-1/2 flex-row items-center gap-2", children: [
3741
- /* @__PURE__ */ h.jsx("div", { className: "min-w-0 flex-1", children: C }),
3742
- v
3742
+ /* @__PURE__ */ h.jsx("div", { className: "min-w-0 flex-1", children: x }),
3743
+ b
3743
3744
  ] })
3744
3745
  ]
3745
3746
  }
3746
3747
  ) : /* @__PURE__ */ h.jsxs("div", { className: L("flex flex-col gap-1", a), children: [
3747
3748
  /* @__PURE__ */ h.jsxs("div", { className: "flex flex-row items-center justify-between gap-2", children: [
3748
- w,
3749
- v
3749
+ y,
3750
+ b
3750
3751
  ] }),
3751
- C
3752
+ x
3752
3753
  ] });
3753
3754
  }, w2 = ({
3754
3755
  title: e,
@@ -3829,7 +3830,7 @@ const m2 = {
3829
3830
  barDescriptions: v,
3830
3831
  className: C
3831
3832
  }) => {
3832
- const w = Object.entries(i), b = p ? L("text-secondary", g) : g, x = o ? "dial-tiny-text text-secondary" : void 0, y = t ? /* @__PURE__ */ h.jsx(Ct, { tooltip: t, children: e }) : e;
3833
+ const w = Object.entries(i), b = p ? L("text-secondary", g) : g, x = o ? "dial-tiny-text text-secondary" : void 0, y = t ? /* @__PURE__ */ h.jsx(Ct, { tooltip: t, children: e }) : e, S = n ? [.../* @__PURE__ */ new Set([...Object.keys(i), ...Object.keys(n)])] : [];
3833
3834
  return /* @__PURE__ */ h.jsx(
3834
3835
  w2,
3835
3836
  {
@@ -3845,20 +3846,19 @@ const m2 = {
3845
3846
  "flex flex-col",
3846
3847
  n ? "gap-4" : p ? "gap-2" : "gap-3"
3847
3848
  ),
3848
- children: d ? /* @__PURE__ */ h.jsx(an, { fullWidth: !1, className: "self-center" }) : n ? w.map(([S, R]) => {
3849
- if (!(S in n)) return null;
3850
- const F = n[S], D = parseFloat((R - F).toFixed(2)), k = D >= 0, E = k ? `+${D}` : String(D);
3849
+ children: d ? /* @__PURE__ */ h.jsx(an, { fullWidth: !1, className: "self-center" }) : n ? S.map((R) => {
3850
+ const F = R in i ? i[R] : null, D = R in n ? n[R] : null, E = typeof F == "number" && typeof D == "number" ? parseFloat((F - D).toFixed(2)) : null, k = E != null && E >= 0, T = E == null ? null : k ? `+${E}` : String(E);
3851
3851
  return /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col gap-1.5", children: [
3852
3852
  /* @__PURE__ */ h.jsxs("div", { className: "flex items-center gap-2", children: [
3853
- /* @__PURE__ */ h.jsx("span", { className: "dial-small-text text-primary", children: S }),
3854
- /* @__PURE__ */ h.jsx(
3853
+ /* @__PURE__ */ h.jsx("span", { className: "dial-small-text text-primary", children: R }),
3854
+ T != null && /* @__PURE__ */ h.jsx(
3855
3855
  "span",
3856
3856
  {
3857
3857
  className: L(
3858
3858
  "dial-tiny-semi-text rounded-[120px] border border-transparent px-2",
3859
3859
  k ? "bg-success text-success" : "bg-error text-error"
3860
3860
  ),
3861
- children: E
3861
+ children: T
3862
3862
  }
3863
3863
  )
3864
3864
  ] }),
@@ -3867,36 +3867,36 @@ const m2 = {
3867
3867
  hu,
3868
3868
  {
3869
3869
  title: o?.[0],
3870
- value: R,
3870
+ value: F,
3871
3871
  maxValue: r,
3872
3872
  colorMap: a,
3873
3873
  inline: p,
3874
3874
  titleClassName: x,
3875
3875
  className: m,
3876
- ariaLabel: S
3876
+ ariaLabel: R
3877
3877
  }
3878
3878
  ),
3879
3879
  /* @__PURE__ */ h.jsx(
3880
3880
  hu,
3881
3881
  {
3882
3882
  title: o?.[1],
3883
- value: F,
3883
+ value: D,
3884
3884
  maxValue: r,
3885
3885
  colorMap: a,
3886
3886
  inline: p,
3887
3887
  titleClassName: x,
3888
3888
  className: m,
3889
- ariaLabel: `${S} compare`
3889
+ ariaLabel: `${R} compare`
3890
3890
  }
3891
3891
  )
3892
3892
  ] })
3893
- ] }, S);
3894
- }) : w.map(([S, R]) => {
3895
- const F = /* @__PURE__ */ h.jsx(
3893
+ ] }, R);
3894
+ }) : w.map(([R, F]) => {
3895
+ const D = /* @__PURE__ */ h.jsx(
3896
3896
  hu,
3897
3897
  {
3898
- title: S,
3899
- value: R,
3898
+ title: R,
3899
+ value: F,
3900
3900
  maxValue: r,
3901
3901
  colorMap: a,
3902
3902
  inline: p,
@@ -3904,24 +3904,24 @@ const m2 = {
3904
3904
  valueClassName: f,
3905
3905
  className: m
3906
3906
  }
3907
- ), D = u ? /* @__PURE__ */ h.jsx(
3907
+ ), I = u ? /* @__PURE__ */ h.jsx(
3908
3908
  "button",
3909
3909
  {
3910
3910
  type: "button",
3911
- onClick: () => u(S, R),
3911
+ onClick: () => u(R, F),
3912
3912
  className: "cursor-pointer rounded-sm text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent-primary",
3913
- children: F
3913
+ children: D
3914
3914
  }
3915
- ) : F, k = v?.[S];
3916
- return k ? /* @__PURE__ */ h.jsx(
3915
+ ) : D, E = v?.[R];
3916
+ return E ? /* @__PURE__ */ h.jsx(
3917
3917
  Ct,
3918
3918
  {
3919
- tooltip: k,
3919
+ tooltip: E,
3920
3920
  triggerClassName: "flex flex-col",
3921
- children: D
3921
+ children: I
3922
3922
  },
3923
- S
3924
- ) : /* @__PURE__ */ h.jsx(xy, { children: D }, S);
3923
+ R
3924
+ ) : /* @__PURE__ */ h.jsx(xy, { children: I }, R);
3925
3925
  })
3926
3926
  }
3927
3927
  )
@@ -4853,9 +4853,9 @@ const j2 = "flex", z2 = "pb-1 mt-2", W2 = {
4853
4853
  Math.min(100, (e - t) / (s - t) * 100)
4854
4854
  ), b = gu(i), x = a ? a(e) : e.toFixed(b), y = P(
4855
4855
  (D) => {
4856
- const k = C.current;
4857
- if (!k) return e;
4858
- const E = k.getBoundingClientRect(), I = (D - E.left) / E.width, T = t + I * (s - t), O = gu(i), A = parseFloat(
4856
+ const I = C.current;
4857
+ if (!I) return e;
4858
+ const E = I.getBoundingClientRect(), k = (D - E.left) / E.width, T = t + k * (s - t), O = gu(i), A = parseFloat(
4859
4859
  (Math.round((T - t) / i) * i + t).toFixed(O)
4860
4860
  );
4861
4861
  return Math.min(s, Math.max(t, A));
@@ -4874,16 +4874,16 @@ const j2 = "flex", z2 = "pb-1 mt-2", W2 = {
4874
4874
  ), F = P(
4875
4875
  (D) => {
4876
4876
  if (n) return;
4877
- const k = gu(i), E = (O) => parseFloat((Math.round((O - t) / i) * i + t).toFixed(k)), I = (O) => Math.min(s, Math.max(t, O));
4877
+ const I = gu(i), E = (O) => parseFloat((Math.round((O - t) / i) * i + t).toFixed(I)), k = (O) => Math.min(s, Math.max(t, O));
4878
4878
  let T = e;
4879
4879
  switch (D.key) {
4880
4880
  case "ArrowRight":
4881
4881
  case "ArrowUp":
4882
- T = I(E(e + i));
4882
+ T = k(E(e + i));
4883
4883
  break;
4884
4884
  case "ArrowLeft":
4885
4885
  case "ArrowDown":
4886
- T = I(E(e - i));
4886
+ T = k(E(e - i));
4887
4887
  break;
4888
4888
  case "Home":
4889
4889
  T = t;
@@ -7461,14 +7461,14 @@ var vc = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(vc ||
7461
7461
  this.props.snap && this.props.snap.x && (x = cm(x, this.props.snap.x, this.props.snapGap)), this.props.snap && this.props.snap.y && (b = cm(b, this.props.snap.y, this.props.snapGap));
7462
7462
  var S = this.calculateNewSizeFromAspectRatio(x, b, { width: y.maxWidth, height: y.maxHeight }, { width: a, height: l });
7463
7463
  if (x = S.newWidth, b = S.newHeight, this.props.grid) {
7464
- var R = lm(x, this.props.grid[0], this.props.gridGap ? this.props.gridGap[0] : 0), F = lm(b, this.props.grid[1], this.props.gridGap ? this.props.gridGap[1] : 0), D = this.props.snapGap || 0, k = D === 0 || Math.abs(R - x) <= D ? R : x, E = D === 0 || Math.abs(F - b) <= D ? F : b;
7465
- x = k, b = E;
7464
+ var R = lm(x, this.props.grid[0], this.props.gridGap ? this.props.gridGap[0] : 0), F = lm(b, this.props.grid[1], this.props.gridGap ? this.props.gridGap[1] : 0), D = this.props.snapGap || 0, I = D === 0 || Math.abs(R - x) <= D ? R : x, E = D === 0 || Math.abs(F - b) <= D ? F : b;
7465
+ x = I, b = E;
7466
7466
  }
7467
- var I = {
7467
+ var k = {
7468
7468
  width: x - g.width,
7469
7469
  height: b - g.height
7470
7470
  };
7471
- if (this.delta = I, f && typeof f == "string") {
7471
+ if (this.delta = k, f && typeof f == "string") {
7472
7472
  if (f.endsWith("%")) {
7473
7473
  var T = x / v.width * 100;
7474
7474
  x = "".concat(T, "%");
@@ -7500,7 +7500,7 @@ var vc = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(vc ||
7500
7500
  var _ = this.state.width !== V.width, B = this.state.height !== V.height, Y = this.state.flexBasis !== V.flexBasis, G = _ || B || Y;
7501
7501
  G && gS(function() {
7502
7502
  i.setState(V);
7503
- }), this.props.onResize && G && this.props.onResize(s, p, this.resizable, I);
7503
+ }), this.props.onResize && G && this.props.onResize(s, p, this.resizable, k);
7504
7504
  }
7505
7505
  }, t.prototype.onMouseUp = function(s) {
7506
7506
  var i, n, o = this.state, r = o.isResizing, a = o.direction;
@@ -7684,16 +7684,16 @@ const hF = (e) => {
7684
7684
  u
7685
7685
  );
7686
7686
  if (r !== ks.Default) {
7687
- const k = L(
7687
+ const I = L(
7688
7688
  g,
7689
7689
  r === ks.Circular && "rounded-full",
7690
7690
  r === ks.Rectangular && "rounded",
7691
7691
  r === ks.Text && "rounded",
7692
7692
  !!c && "relative"
7693
7693
  ), E = {};
7694
- return a && (E.width = typeof a == "number" ? `${a}px` : a), l && (E.height = typeof l == "number" ? `${l}px` : l), d && (E.backgroundColor = d), /* @__PURE__ */ h.jsx("div", { className: k, style: E, ...p, children: c && /* @__PURE__ */ h.jsx("div", { className: "absolute inset-0 flex items-center justify-center pointer-events-none", children: c }) });
7694
+ return a && (E.width = typeof a == "number" ? `${a}px` : a), l && (E.height = typeof l == "number" ? `${l}px` : l), d && (E.backgroundColor = d), /* @__PURE__ */ h.jsx("div", { className: I, style: E, ...p, children: c && /* @__PURE__ */ h.jsx("div", { className: "absolute inset-0 flex items-center justify-center pointer-events-none", children: c }) });
7695
7695
  }
7696
- const f = !!s, m = !!i, v = !!t, C = typeof s == "object" ? s : {}, w = typeof i == "object" ? i : {}, b = typeof t == "object" ? t : {}, x = hF(C.size), y = C.shape ?? Eh.Circle, S = w.width ?? "38%", R = b.rows ?? 3, F = b.width, D = (k) => F ? Array.isArray(F) ? F[k] ?? "100%" : F : k === R - 1 ? "61%" : "100%";
7696
+ const f = !!s, m = !!i, v = !!t, C = typeof s == "object" ? s : {}, w = typeof i == "object" ? i : {}, b = typeof t == "object" ? t : {}, x = hF(C.size), y = C.shape ?? Eh.Circle, S = w.width ?? "38%", R = b.rows ?? 3, F = b.width, D = (I) => F ? Array.isArray(F) ? F[I] ?? "100%" : F : I === R - 1 ? "61%" : "100%";
7697
7697
  return /* @__PURE__ */ h.jsxs(
7698
7698
  "div",
7699
7699
  {
@@ -7726,7 +7726,7 @@ const hF = (e) => {
7726
7726
  }
7727
7727
  }
7728
7728
  ),
7729
- v && /* @__PURE__ */ h.jsx("div", { className: "flex flex-col gap-3", children: Array.from({ length: R }).map((k, E) => /* @__PURE__ */ h.jsx(
7729
+ v && /* @__PURE__ */ h.jsx("div", { className: "flex flex-col gap-3", children: Array.from({ length: R }).map((I, E) => /* @__PURE__ */ h.jsx(
7730
7730
  "div",
7731
7731
  {
7732
7732
  className: L(g, "h-4 rounded"),
@@ -14676,9 +14676,9 @@ var _5 = 0, Mu = class extends $ {
14676
14676
  let u, p, g = 0;
14677
14677
  this.invalidateVerticalScroll();
14678
14678
  do {
14679
- const { stickyTopHeight: f, stickyBottomHeight: m } = c, v = d.rowTop, C = d.rowHeight, w = r.getPixelOffset(), b = d.rowTop - w, x = b + d.rowHeight, y = this.getVScrollPosition(), S = a.divStretchOffset, R = y.top + S, F = y.bottom + S, D = F - R, k = a.getScrollPositionForPixel(b), E = a.getScrollPositionForPixel(x - D), I = Math.min((k + E) / 2, b), T = R + f > b, O = F - m < x;
14679
+ const { stickyTopHeight: f, stickyBottomHeight: m } = c, v = d.rowTop, C = d.rowHeight, w = r.getPixelOffset(), b = d.rowTop - w, x = b + d.rowHeight, y = this.getVScrollPosition(), S = a.divStretchOffset, R = y.top + S, F = y.bottom + S, D = F - R, I = a.getScrollPositionForPixel(b), E = a.getScrollPositionForPixel(x - D), k = Math.min((I + E) / 2, b), T = R + f > b, O = F - m < x;
14680
14680
  let A = null;
14681
- t === "top" ? A = k - f : t === "bottom" ? A = E + m : t === "middle" ? A = I : T ? A = k - f : O && (E - k > D ? A = k - f : A = E + m), A !== null && (this.setVerticalScrollPosition(A), l.redraw({ afterScroll: !0 })), u = v !== d.rowTop || C !== d.rowHeight, p = f !== c.stickyTopHeight || m !== c.stickyBottomHeight, g++;
14681
+ t === "top" ? A = I - f : t === "bottom" ? A = E + m : t === "middle" ? A = k : T ? A = I - f : O && (E - I > D ? A = I - f : A = E + m), A !== null && (this.setVerticalScrollPosition(A), l.redraw({ afterScroll: !0 })), u = v !== d.rowTop || C !== d.rowHeight, p = f !== c.stickyTopHeight || m !== c.stickyBottomHeight, g++;
14682
14682
  } while ((u || p) && g < 10);
14683
14683
  if (this.animationFrameSvc?.flushAllFrames(), s < 10 && (d?.stub || !this.beans.rowAutoHeight?.areRowsMeasured())) {
14684
14684
  const f = this.getVScrollPosition().top;
@@ -18771,8 +18771,8 @@ var H4 = class extends $ {
18771
18771
  const F = R === w.length - 1;
18772
18772
  let D;
18773
18773
  F ? D = x : (D = Math.round(g[R] * u * y), x -= D);
18774
- const k = S.getMinWidth(), E = S.getMaxWidth();
18775
- D < k ? (D = k, m[S.getId()] = !0, v = !0) : E > 0 && D > E && (D = E, m[S.getId()] = !0, v = !0), f[S.getId()] = D;
18774
+ const I = S.getMinWidth(), E = S.getMaxWidth();
18775
+ D < I ? (D = I, m[S.getId()] = !0, v = !0) : E > 0 && D > E && (D = E, m[S.getId()] = !0, v = !0), f[S.getId()] = D;
18776
18776
  });
18777
18777
  }
18778
18778
  for (const w of p) {
@@ -19625,32 +19625,32 @@ function Ls(e, t, s) {
19625
19625
  const C = (y, S, R, F, D) => {
19626
19626
  if (!y)
19627
19627
  return;
19628
- const k = sD(S, t.defaultState), E = k("flex").value1, I = k("sort").value1, T = k("sortType").value1, O = Yi(I) || cg(T), A = Ci(T), V = pd(I), _ = O ? { type: A, direction: V } : void 0;
19628
+ const I = sD(S, t.defaultState), E = I("flex").value1, k = I("sort").value1, T = I("sortType").value1, O = Yi(k) || cg(T), A = Ci(T), V = pd(k), _ = O ? { type: A, direction: V } : void 0;
19629
19629
  if (lb(
19630
19630
  e,
19631
19631
  y,
19632
- k("hide").value1,
19632
+ I("hide").value1,
19633
19633
  _,
19634
- k("sortIndex").value1,
19635
- k("pinned").value1,
19634
+ I("sortIndex").value1,
19635
+ I("pinned").value1,
19636
19636
  E,
19637
19637
  s
19638
19638
  ), E == null) {
19639
- const B = k("width").value1;
19639
+ const B = I("width").value1;
19640
19640
  if (B != null) {
19641
19641
  const Y = y.getColDef().minWidth ?? u.getDefaultColumnMinWidth();
19642
19642
  Y != null && B >= Y && y.setActualWidth(B, s);
19643
19643
  }
19644
19644
  }
19645
- D || !y.isPrimary() || (p?.syncColumnWithState(y, s, k), n?.syncColumnWithState(y, s, k, R), o?.syncColumnWithState(y, s, k, F));
19645
+ D || !y.isPrimary() || (p?.syncColumnWithState(y, s, I), n?.syncColumnWithState(y, s, I, R), o?.syncColumnWithState(y, s, I, F));
19646
19646
  }, w = (y, S, R) => {
19647
- const F = a1(e, s), D = S.slice(), k = {}, E = {}, I = [], T = [], O = [];
19647
+ const F = a1(e, s), D = S.slice(), I = {}, E = {}, k = [], T = [], O = [];
19648
19648
  let A = 0;
19649
19649
  const V = n?.columns.slice() ?? [], _ = o?.columns.slice() ?? [];
19650
19650
  for (const G of y) {
19651
19651
  const H = G.colId;
19652
19652
  if (H.startsWith($i)) {
19653
- I.push(G), O.push(G);
19653
+ k.push(G), O.push(G);
19654
19654
  continue;
19655
19655
  }
19656
19656
  if (cn(H)) {
@@ -19658,10 +19658,10 @@ function Ls(e, t, s) {
19658
19658
  continue;
19659
19659
  }
19660
19660
  const Q = R(H);
19661
- Q ? (C(Q, G, k, E, !1), Zs(D, Q)) : (O.push(G), A += 1);
19661
+ Q ? (C(Q, G, I, E, !1), Zs(D, Q)) : (O.push(G), A += 1);
19662
19662
  }
19663
- const B = (G) => C(G, null, k, E, !1);
19664
- D.forEach(B), n?.sortColumns(Ym.bind(n, k, V)), o?.sortColumns(Ym.bind(o, E, _)), i.refreshCols(!1, s);
19663
+ const B = (G) => C(G, null, I, E, !1);
19664
+ D.forEach(B), n?.sortColumns(Ym.bind(n, I, V)), o?.sortColumns(Ym.bind(o, E, _)), i.refreshCols(!1, s);
19665
19665
  const Y = (G, H, U = []) => {
19666
19666
  for (const Q of H) {
19667
19667
  const se = G(Q.colId);
@@ -19671,7 +19671,7 @@ function Ls(e, t, s) {
19671
19671
  };
19672
19672
  return Y(
19673
19673
  (G) => r?.getColumn(G) ?? null,
19674
- I,
19674
+ k,
19675
19675
  r?.getColumns()?.slice()
19676
19676
  ), Y(
19677
19677
  (G) => a?.getColumn(G) ?? null,
@@ -19722,8 +19722,8 @@ function a1(e, t) {
19722
19722
  d[u.colId] = u;
19723
19723
  return () => {
19724
19724
  const u = (S, R, F, D) => {
19725
- const k = R.map(D), E = F.map(D);
19726
- if (ln(k, E))
19725
+ const I = R.map(D), E = F.map(D);
19726
+ if (ln(I, E))
19727
19727
  return;
19728
19728
  const T = new Set(R);
19729
19729
  for (const A of F)
@@ -19754,8 +19754,8 @@ function a1(e, t) {
19754
19754
  g
19755
19755
  );
19756
19756
  const m = p((S, R) => {
19757
- const F = S.aggFunc != null, D = F != R.isValueActive(), k = F && S.aggFunc != R.getAggFunc();
19758
- return D || k;
19757
+ const F = S.aggFunc != null, D = F != R.isValueActive(), I = F && S.aggFunc != R.getAggFunc();
19758
+ return D || I;
19759
19759
  });
19760
19760
  m.length > 0 && O4(a, "columnValueChanged", m, t), rr(a, p((S, R) => S.width != R.getActualWidth()), !0, t), o1(a, p((S, R) => S.pinned != R.getPinned()), t), N4(a, p((S, R) => S.hide == R.isVisible()), t);
19761
19761
  const x = p((S, R) => !tc(R.getSortDef(), {
@@ -30289,8 +30289,8 @@ var AM = ".ag-overlay{inset:0;pointer-events:none;position:absolute;z-index:2}.a
30289
30289
  const d = this.getRowBufferInPixels(), u = this.ctrlsSvc.getScrollFeature(), p = this.gos.get("suppressRowVirtualisation");
30290
30290
  let g = !1, f, m;
30291
30291
  do {
30292
- const x = t.getPixelOffset(), { pageFirstPixel: y, pageLastPixel: S } = t.getCurrentPagePixelRange(), R = e.divStretchOffset, F = u.getVScrollPosition(), D = F.top, k = F.bottom;
30293
- p ? (f = y + R, m = S + R) : (f = Math.max(D + x - d, y) + R, m = Math.min(k + x + d, S) + R), this.firstVisibleVPixel = Math.max(D + x, y) + R, this.lastVisibleVPixel = Math.min(k + x, S) + R, g = this.ensureAllRowsInRangeHaveHeightsCalculated(f, m);
30292
+ const x = t.getPixelOffset(), { pageFirstPixel: y, pageLastPixel: S } = t.getCurrentPagePixelRange(), R = e.divStretchOffset, F = u.getVScrollPosition(), D = F.top, I = F.bottom;
30293
+ p ? (f = y + R, m = S + R) : (f = Math.max(D + x - d, y) + R, m = Math.min(I + x + d, S) + R), this.firstVisibleVPixel = Math.max(D + x, y) + R, this.lastVisibleVPixel = Math.min(I + x, S) + R, g = this.ensureAllRowsInRangeHaveHeightsCalculated(f, m);
30294
30294
  } while (g);
30295
30295
  let v = s.getRowIndexAtPixel(f), C = s.getRowIndexAtPixel(m);
30296
30296
  const w = t.getFirstRow(), b = t.getLastRow();
@@ -33756,8 +33756,8 @@ var RA = class extends $ {
33756
33756
  if (F > 0) {
33757
33757
  const D = w[R.colId] ?? {};
33758
33758
  D.minWidth ?? (D.minWidth = l), D.maxWidth ?? (D.maxWidth = a);
33759
- const k = FA(R, F, D);
33760
- R.setActualWidth(k, d), v.add(R), C++;
33759
+ const I = FA(R, F, D);
33760
+ R.setActualWidth(I, d), v.add(R), C++;
33761
33761
  }
33762
33762
  y.push(R);
33763
33763
  }
@@ -33882,9 +33882,9 @@ var RA = class extends $ {
33882
33882
  const w = C / ci(d);
33883
33883
  let b = C;
33884
33884
  for (let x = d.length - 1; x >= 0; x--) {
33885
- const y = d[x], S = y.getColId(), R = m[S], F = r?.[S], D = F?.minWidth ?? i?.defaultMinWidth ?? R, k = F?.maxWidth ?? i?.defaultMaxWidth, E = Math.max(D ?? -1 / 0, y.getMinWidth()), I = Math.min(k ?? 1 / 0, y.getMaxWidth());
33885
+ const y = d[x], S = y.getColId(), R = m[S], F = r?.[S], D = F?.minWidth ?? i?.defaultMinWidth ?? R, I = F?.maxWidth ?? i?.defaultMaxWidth, E = Math.max(D ?? -1 / 0, y.getMinWidth()), k = Math.min(I ?? 1 / 0, y.getMaxWidth());
33886
33886
  let T = Math.round(y.getActualWidth() * w);
33887
- T < E ? (T = E, f(y), g = !1) : T > I ? (T = I, f(y), g = !1) : x === 0 && (T = b), y.setActualWidth(T, t, !0), b -= T;
33887
+ T < E ? (T = E, f(y), g = !1) : T > k ? (T = k, f(y), g = !1) : x === 0 && (T = b), y.setActualWidth(T, t, !0), b -= T;
33888
33888
  }
33889
33889
  }
33890
33890
  }
@@ -43140,30 +43140,30 @@ var GN = class extends $ {
43140
43140
  columnOrder: u
43141
43141
  } = e;
43142
43142
  let p = !1;
43143
- const g = (E, I) => {
43144
- const T = !i?.has(E) && !!(I || t === "api");
43143
+ const g = (E, k) => {
43144
+ const T = !i?.has(E) && !!(k || t === "api");
43145
43145
  return p || (p = T), T;
43146
43146
  }, f = {}, m = (E) => {
43147
- let I = f[E];
43148
- return I || (I = { colId: E }, f[E] = I, I);
43147
+ let k = f[E];
43148
+ return k || (k = { colId: E }, f[E] = k, k);
43149
43149
  }, v = {}, C = g("sort", n);
43150
- C && n?.sortModel.forEach(({ colId: E, sort: I, type: T }, O) => {
43150
+ C && n?.sortModel.forEach(({ colId: E, sort: k, type: T }, O) => {
43151
43151
  const A = m(E);
43152
- A.sort = I, A.sortIndex = O, A.sortType = T;
43152
+ A.sort = k, A.sortIndex = O, A.sortType = T;
43153
43153
  }), (C || !s) && (v.sort = null, v.sortIndex = null);
43154
43154
  const w = g("rowGroup", o);
43155
- w && o?.groupColIds.forEach((E, I) => {
43155
+ w && o?.groupColIds.forEach((E, k) => {
43156
43156
  const T = m(E);
43157
- T.rowGroup = !0, T.rowGroupIndex = I;
43157
+ T.rowGroup = !0, T.rowGroupIndex = k;
43158
43158
  }), (w || !s) && (v.rowGroup = null, v.rowGroupIndex = null);
43159
43159
  const b = g("aggregation", r);
43160
- b && r?.aggregationModel.forEach(({ colId: E, aggFunc: I }) => {
43161
- m(E).aggFunc = I;
43160
+ b && r?.aggregationModel.forEach(({ colId: E, aggFunc: k }) => {
43161
+ m(E).aggFunc = k;
43162
43162
  }), (b || !s) && (v.aggFunc = null);
43163
43163
  const x = g("pivot", a);
43164
- x && (a?.pivotColIds.forEach((E, I) => {
43164
+ x && (a?.pivotColIds.forEach((E, k) => {
43165
43165
  const T = m(E);
43166
- T.pivot = !0, T.pivotIndex = I;
43166
+ T.pivot = !0, T.pivotIndex = k;
43167
43167
  }), this.gos.updateGridOptions({
43168
43168
  options: { pivotMode: !!a?.pivotMode },
43169
43169
  source: t
@@ -43183,16 +43183,16 @@ var GN = class extends $ {
43183
43183
  (S || !s) && (v.hide = null);
43184
43184
  const R = g("columnSizing", d);
43185
43185
  if (R)
43186
- for (const { colId: E, flex: I, width: T } of d?.columnSizingModel ?? []) {
43186
+ for (const { colId: E, flex: k, width: T } of d?.columnSizingModel ?? []) {
43187
43187
  const O = m(E);
43188
- O.flex = I ?? null, O.width = T;
43188
+ O.flex = k ?? null, O.width = T;
43189
43189
  }
43190
43190
  (R || !s) && (v.flex = null);
43191
- const F = u?.orderedColIds, D = !!F?.length && !i?.has("columnOrder"), k = D ? F.map((E) => m(E)) : Object.values(f);
43192
- (k.length || p) && (this.columnStates = k, Ls(
43191
+ const F = u?.orderedColIds, D = !!F?.length && !i?.has("columnOrder"), I = D ? F.map((E) => m(E)) : Object.values(f);
43192
+ (I.length || p) && (this.columnStates = I, Ls(
43193
43193
  this.beans,
43194
43194
  {
43195
- state: k,
43195
+ state: I,
43196
43196
  applyOrder: D,
43197
43197
  defaultState: v
43198
43198
  },
@@ -47249,10 +47249,10 @@ var Ox = Sp((e, t) => {
47249
47249
  Ox,
47250
47250
  e
47251
47251
  ));
47252
- }, []), D = W(() => `ag-cell-wrapper ${v.toString()}`, [v]), k = W(() => `ag-group-expanded ${w.toString()}`, [w]), E = W(
47252
+ }, []), D = W(() => `ag-cell-wrapper ${v.toString()}`, [v]), I = W(() => `ag-group-expanded ${w.toString()}`, [w]), E = W(
47253
47253
  () => `ag-group-contracted ${x.toString()}`,
47254
47254
  [x]
47255
- ), I = W(() => `ag-group-checkbox ${S.toString()}`, [S]), T = d?.componentFromFramework, O = T ? d.componentClass : void 0, A = d == null && f != null, V = gr(f);
47255
+ ), k = W(() => `ag-group-checkbox ${S.toString()}`, [S]), T = d?.componentFromFramework, O = T ? d.componentClass : void 0, A = d == null && f != null, V = gr(f);
47256
47256
  return /* @__PURE__ */ J.createElement(
47257
47257
  "span",
47258
47258
  {
@@ -47260,9 +47260,9 @@ var Ox = Sp((e, t) => {
47260
47260
  ref: F,
47261
47261
  ...e.colDef ? {} : { role: c.current?.getCellAriaRole() }
47262
47262
  },
47263
- /* @__PURE__ */ J.createElement("span", { className: k, ref: a }),
47263
+ /* @__PURE__ */ J.createElement("span", { className: I, ref: a }),
47264
47264
  /* @__PURE__ */ J.createElement("span", { className: E, ref: l }),
47265
- /* @__PURE__ */ J.createElement("span", { className: I, ref: r }),
47265
+ /* @__PURE__ */ J.createElement("span", { className: k, ref: r }),
47266
47266
  /* @__PURE__ */ J.createElement("span", { className: "ag-group-value", ref: o }, A ? V : T ? /* @__PURE__ */ J.createElement(O, { ...d.params }) : null),
47267
47267
  /* @__PURE__ */ J.createElement("span", { className: "ag-group-child-count" }, p)
47268
47268
  );
@@ -47797,7 +47797,7 @@ var eB = 1e3, tB = class {
47797
47797
  () => $a(g, t, w.current, R),
47798
47798
  [g]
47799
47799
  );
47800
- const D = W(() => o.toString(), [o]), k = W(() => a.toString(), [a]), E = W(() => c.toString(), [c]), I = W(() => !!(g && g.componentFromFramework && Cr(g.componentClass)), [g]), T = W(() => s.get("reactiveCustomComponents"), []), O = W(() => s.get("enableFilterHandlers"), []), [A, V] = N();
47800
+ const D = W(() => o.toString(), [o]), I = W(() => a.toString(), [a]), E = W(() => c.toString(), [c]), k = W(() => !!(g && g.componentFromFramework && Cr(g.componentClass)), [g]), T = W(() => s.get("reactiveCustomComponents"), []), O = W(() => s.get("enableFilterHandlers"), []), [A, V] = N();
47801
47801
  Se(() => {
47802
47802
  if (g?.componentFromFramework)
47803
47803
  if (T) {
@@ -47807,7 +47807,7 @@ var eB = 1e3, tB = class {
47807
47807
  af();
47808
47808
  }, [g]);
47809
47809
  const _ = A?.getProps(), B = g?.componentFromFramework, Y = g?.componentClass;
47810
- return /* @__PURE__ */ J.createElement("div", { ref: F, style: i, className: D, role: "gridcell" }, /* @__PURE__ */ J.createElement("div", { ref: w, className: k, role: "presentation" }, B ? T ? _ && /* @__PURE__ */ J.createElement(
47810
+ return /* @__PURE__ */ J.createElement("div", { ref: F, style: i, className: D, role: "gridcell" }, /* @__PURE__ */ J.createElement("div", { ref: w, className: I, role: "presentation" }, B ? T ? _ && /* @__PURE__ */ J.createElement(
47811
47811
  rf.Provider,
47812
47812
  {
47813
47813
  value: {
@@ -47815,7 +47815,7 @@ var eB = 1e3, tB = class {
47815
47815
  }
47816
47816
  },
47817
47817
  /* @__PURE__ */ J.createElement(Y, { ..._ })
47818
- ) : /* @__PURE__ */ J.createElement(Y, { ...g.params, ref: I ? () => {
47818
+ ) : /* @__PURE__ */ J.createElement(Y, { ...g.params, ref: k ? () => {
47819
47819
  } : R }) : null), /* @__PURE__ */ J.createElement(
47820
47820
  "div",
47821
47821
  {
@@ -47841,28 +47841,28 @@ var eB = 1e3, tB = class {
47841
47841
  return;
47842
47842
  }
47843
47843
  f.current = t.createBean(new vr());
47844
- const k = {
47844
+ const I = {
47845
47845
  setWidth: (E) => {
47846
47846
  m.current && (m.current.style.width = E);
47847
47847
  },
47848
- toggleCss: (E, I) => o((T) => T.setClass(E, I)),
47848
+ toggleCss: (E, k) => o((T) => T.setClass(E, k)),
47849
47849
  setUserStyles: (E) => i(E),
47850
47850
  setHeaderWrapperHidden: (E) => {
47851
- const I = C.current;
47852
- I && (E ? I.style.setProperty("display", "none") : I.style.removeProperty("display"));
47851
+ const k = C.current;
47852
+ k && (E ? k.style.setProperty("display", "none") : k.style.removeProperty("display"));
47853
47853
  },
47854
47854
  setHeaderWrapperMaxHeight: (E) => {
47855
- const I = C.current;
47856
- I && (E != null ? I.style.setProperty("max-height", `${E}px`) : I.style.removeProperty("max-height"), I.classList.toggle("ag-header-cell-comp-wrapper-limited-height", E != null));
47855
+ const k = C.current;
47856
+ k && (E != null ? k.style.setProperty("max-height", `${E}px`) : k.style.removeProperty("max-height"), k.classList.toggle("ag-header-cell-comp-wrapper-limited-height", E != null));
47857
47857
  },
47858
47858
  setUserCompDetails: (E) => g(E),
47859
47859
  setResizableDisplayed: (E) => {
47860
- a((I) => I.setClass("ag-hidden", !E)), c(E ? "false" : "true");
47860
+ a((k) => k.setClass("ag-hidden", !E)), c(E ? "false" : "true");
47861
47861
  },
47862
47862
  setAriaExpanded: (E) => u(E),
47863
47863
  getUserCompInstance: () => w.current || void 0
47864
47864
  };
47865
- e.setComp(k, D, v.current, C.current, f.current);
47865
+ e.setComp(I, D, v.current, C.current, f.current);
47866
47866
  }, []);
47867
47867
  Rs(() => $a(p, t, C.current), [p]), Se(() => {
47868
47868
  m.current && e.setDragSource(m.current);
@@ -47883,8 +47883,8 @@ var eB = 1e3, tB = class {
47883
47883
  setHeight: (R) => d(R),
47884
47884
  setTop: (R) => p(R),
47885
47885
  setHeaderCtrls: (R, F, D) => {
47886
- const k = g.current, E = _c(k, R, F);
47887
- E !== k && (g.current = E, Da(D, () => m(E)));
47886
+ const I = g.current, E = _c(I, R, F);
47887
+ E !== I && (g.current = E, Da(D, () => m(E)));
47888
47888
  },
47889
47889
  setWidth: (R) => {
47890
47890
  C.current && (C.current.style.width = R);
@@ -48148,7 +48148,7 @@ var eB = 1e3, tB = class {
48148
48148
  instanceId: r
48149
48149
  } = e, a = z(), [l, c] = N(
48150
48150
  () => e.isCellRenderer() ? void 0 : { compDetails: void 0, value: e.getValueToDisplay(), force: !1 }
48151
- ), [d, u] = N(), [p, g] = N(1), [f, m] = N(), [v, C] = N(!1), [w, b] = N(!1), [x, y] = N(!1), S = z(null), [R, F] = N(), D = W(() => e.isForceWrapper(), [e]), k = W(() => e.getCellAriaRole(), [e]), E = z(null), I = z(null), T = z(null), O = z(), A = z(), V = z(), _ = z([]), B = z(), Y = z(), [G, H] = N(0), U = P((oe) => {
48151
+ ), [d, u] = N(), [p, g] = N(1), [f, m] = N(), [v, C] = N(!1), [w, b] = N(!1), [x, y] = N(!1), S = z(null), [R, F] = N(), D = W(() => e.isForceWrapper(), [e]), I = W(() => e.getCellAriaRole(), [e]), E = z(null), k = z(null), T = z(null), O = z(), A = z(), V = z(), _ = z([]), B = z(), Y = z(), [G, H] = N(0), U = P((oe) => {
48152
48152
  Y.current = oe, H((ce) => ce + 1);
48153
48153
  }, []), Q = l != null && (v || x || w) && (d == null || !!d.popup), se = D || Q, Fe = W(() => e.getCellValueClass(), [e]), ee = P(
48154
48154
  (oe) => {
@@ -48217,7 +48217,7 @@ var eB = 1e3, tB = class {
48217
48217
  },
48218
48218
  [e, n, x, w, v]
48219
48219
  ), M = P(() => {
48220
- const oe = !e.isCellSpanning() || I.current, ce = E.current;
48220
+ const oe = !e.isCellSpanning() || k.current, ce = E.current;
48221
48221
  if (!ce || !oe || !e || !e.isAlive() || n.isDestroyed()) {
48222
48222
  a.current = n.destroyBean(a.current);
48223
48223
  return;
@@ -48282,7 +48282,7 @@ var eB = 1e3, tB = class {
48282
48282
  e.setComp(
48283
48283
  Be,
48284
48284
  ce,
48285
- I.current ?? void 0,
48285
+ k.current ?? void 0,
48286
48286
  Ge,
48287
48287
  t,
48288
48288
  s,
@@ -48291,7 +48291,7 @@ var eB = 1e3, tB = class {
48291
48291
  }, []), q = P((oe) => {
48292
48292
  E.current = oe, M();
48293
48293
  }, []), be = P((oe) => {
48294
- I.current = oe, M();
48294
+ k.current = oe, M();
48295
48295
  }, []), Pe = W(() => !!(l?.compDetails?.componentFromFramework && Cr(l.compDetails.componentClass)), [l]);
48296
48296
  Rs(() => {
48297
48297
  if (!E.current)
@@ -48310,16 +48310,16 @@ var eB = 1e3, tB = class {
48310
48310
  }, fe = () => {
48311
48311
  const oe = () => l == null ? null : se ? /* @__PURE__ */ J.createElement("span", { role: "presentation", id: `cell-${r}`, className: Fe, ref: U }, K()) : K(), ce = (Be) => xB(Be, ee, E.current, e, R);
48312
48312
  return d != null ? d.popup ? /* @__PURE__ */ J.createElement(J.Fragment, null, oe(), ce(d)) : ce(d) : oe();
48313
- }, me = () => /* @__PURE__ */ J.createElement("div", { ref: q, style: f, role: k, "col-id": o }, se ? /* @__PURE__ */ J.createElement("div", { className: "ag-cell-wrapper", role: "presentation", ref: pe }, fe()) : fe());
48313
+ }, me = () => /* @__PURE__ */ J.createElement("div", { ref: q, style: f, role: I, "col-id": o }, se ? /* @__PURE__ */ J.createElement("div", { className: "ag-cell-wrapper", role: "presentation", ref: pe }, fe()) : fe());
48314
48314
  return e.isCellSpanning() ? /* @__PURE__ */ J.createElement("div", { ref: be, className: "ag-spanned-cell-wrapper", role: "presentation" }, me()) : me();
48315
48315
  }, FB = zt(RB), EB = ({ rowCtrl: e, containerType: t }) => {
48316
48316
  const { context: s, gos: i, editSvc: n } = vt(Wt), o = vt(Ax) === "default", r = z(), a = z(e.getDomOrder()), l = e.isFullWidth(), c = e.rowNode.displayed, [d, u] = N(
48317
48317
  () => c ? e.rowNode.getRowIndexString() : null
48318
48318
  ), [p, g] = N(() => e.rowId), [f, m] = N(() => e.businessKey), [v, C] = N(() => e.rowStyles), w = z(null), [b, x] = N(() => null), [y, S] = N(), [R, F] = N(
48319
48319
  () => c ? e.getInitialRowTop(t) : void 0
48320
- ), [D, k] = N(
48320
+ ), [D, I] = N(
48321
48321
  () => c ? e.getInitialTransform(t) : void 0
48322
- ), E = z(null), I = z(), T = z(), O = z(!1), [A, V] = N(0);
48322
+ ), E = z(null), k = z(), T = z(), O = z(!1), [A, V] = N(0);
48323
48323
  Se(() => {
48324
48324
  if (O.current || !y || A > 10)
48325
48325
  return;
@@ -48347,7 +48347,7 @@ var eB = 1e3, tB = class {
48347
48347
  // the rowTop is managed by state, instead of direct style manipulation by rowCtrl (like all the other styles)
48348
48348
  // as we need to have an initial value when it's placed into he DOM for the first time, for animation to work.
48349
48349
  setTop: F,
48350
- setTransform: k,
48350
+ setTransform: I,
48351
48351
  // i found using React for managing classes at the row level was to slow, as modifying classes caused a lot of
48352
48352
  // React code to execute, so avoiding React for managing CSS Classes made the grid go much faster.
48353
48353
  toggleCss: (q, be) => _.current.toggleCss(q, be),
@@ -48365,20 +48365,20 @@ var eB = 1e3, tB = class {
48365
48365
  showFullWidth: (q) => {
48366
48366
  T.current = q.params, S(q);
48367
48367
  },
48368
- getFullWidthCellRenderer: () => I.current,
48368
+ getFullWidthCellRenderer: () => k.current,
48369
48369
  getFullWidthCellRendererParams: () => T.current,
48370
48370
  refreshFullWidth: (q) => {
48371
48371
  const be = q();
48372
48372
  return T.current = be, ge.current ? (S((Pe) => ({
48373
48373
  ...Pe,
48374
48374
  params: be
48375
- })), !0) : !I.current || !I.current.refresh ? !1 : I.current.refresh(be);
48375
+ })), !0) : !k.current || !k.current.refresh ? !1 : k.current.refresh(be);
48376
48376
  }
48377
48377
  };
48378
48378
  e.setComp(M, pe, t, r.current);
48379
48379
  }, []);
48380
48380
  Rs(
48381
- () => $a(y, s, E.current, I),
48381
+ () => $a(y, s, E.current, k),
48382
48382
  [y]
48383
48383
  );
48384
48384
  const Q = W(() => {
@@ -48398,7 +48398,7 @@ var eB = 1e3, tB = class {
48398
48398
  }
48399
48399
  )), ie = () => {
48400
48400
  const pe = y.componentClass;
48401
- return ee ? /* @__PURE__ */ J.createElement(pe, { ...y.params }) : /* @__PURE__ */ J.createElement(pe, { ...y.params, ref: I });
48401
+ return ee ? /* @__PURE__ */ J.createElement(pe, { ...y.params }) : /* @__PURE__ */ J.createElement(pe, { ...y.params, ref: k });
48402
48402
  };
48403
48403
  return /* @__PURE__ */ J.createElement(
48404
48404
  "div",
@@ -48466,7 +48466,7 @@ var eB = 1e3, tB = class {
48466
48466
  n.current
48467
48467
  );
48468
48468
  }
48469
- }, [R, F]), k = P(
48469
+ }, [R, F]), I = P(
48470
48470
  (A) => {
48471
48471
  o.current = A, D();
48472
48472
  },
@@ -48476,7 +48476,7 @@ var eB = 1e3, tB = class {
48476
48476
  r.current = A, D();
48477
48477
  },
48478
48478
  [D]
48479
- ), I = P(
48479
+ ), k = P(
48480
48480
  (A) => {
48481
48481
  n.current = A, D();
48482
48482
  },
@@ -48485,7 +48485,7 @@ var eB = 1e3, tB = class {
48485
48485
  "div",
48486
48486
  {
48487
48487
  className: b,
48488
- ref: k,
48488
+ ref: I,
48489
48489
  role: y ? "presentation" : "rowgroup"
48490
48490
  },
48491
48491
  c.map((A) => /* @__PURE__ */ J.createElement(Qv, { rowCtrl: A, containerType: i.type, key: A.instanceId }))
@@ -48493,9 +48493,9 @@ var eB = 1e3, tB = class {
48493
48493
  if (!y)
48494
48494
  return T();
48495
48495
  const O = () => /* @__PURE__ */ J.createElement("div", { className: x, ref: E, role: "presentation" }, f.map((A) => /* @__PURE__ */ J.createElement(Qv, { rowCtrl: A, containerType: i.type, key: A.instanceId })));
48496
- return /* @__PURE__ */ J.createElement("div", { className: w, ref: I, role: "rowgroup" }, T(), u ? O() : null);
48496
+ return /* @__PURE__ */ J.createElement("div", { className: w, ref: k, role: "rowgroup" }, T(), u ? O() : null);
48497
48497
  }, PB = zt(DB), TB = () => {
48498
- const e = vt(Wt), { context: t, overlays: s } = e, [i, n] = N(""), [o, r] = N(0), [a, l] = N(0), [c, d] = N("0px"), [u, p] = N("0px"), [g, f] = N("100%"), [m, v] = N("0px"), [C, w] = N("0px"), [b, x] = N("100%"), [y, S] = N(!0), [R, F] = N(!0), [D, k] = N(null), [E, I] = N(""), [T, O] = N(null), [A, V] = N("ag-layout-normal"), _ = z();
48498
+ const e = vt(Wt), { context: t, overlays: s } = e, [i, n] = N(""), [o, r] = N(0), [a, l] = N(0), [c, d] = N("0px"), [u, p] = N("0px"), [g, f] = N("100%"), [m, v] = N("0px"), [C, w] = N("0px"), [b, x] = N("100%"), [y, S] = N(!0), [R, F] = N(!0), [D, I] = N(null), [E, k] = N(""), [T, O] = N(null), [A, V] = N("ag-layout-normal"), _ = z();
48499
48499
  _.current || (_.current = new Ga(() => B.current));
48500
48500
  const B = z(null), Y = z(null), G = z(null), H = z(null), U = z(null), Q = z(null), se = z(null), Fe = z([]), ee = z([]);
48501
48501
  En(" AG Grid Body ", B), En(" AG Pinned Top ", Y), En(" AG Sticky Top ", G), En(" AG Middle ", Q), En(" AG Pinned Bottom ", se);
@@ -48535,8 +48535,8 @@ var eB = 1e3, tB = class {
48535
48535
  setBottomInvisible: F,
48536
48536
  setColumnMovingCss: (Ue, qe) => _.current.toggleCss(Ue, qe),
48537
48537
  updateLayoutClasses: V,
48538
- setAlwaysVerticalScrollClass: k,
48539
- setPinnedTopBottomOverflowY: I,
48538
+ setAlwaysVerticalScrollClass: I,
48539
+ setPinnedTopBottomOverflowY: k,
48540
48540
  setCellSelectableCss: (Ue, qe) => O(qe ? Ue : null),
48541
48541
  setBodyViewportWidth: (Ue) => {
48542
48542
  Q.current && (Q.current.style.width = Ue);
@@ -48699,8 +48699,8 @@ var eB = 1e3, tB = class {
48699
48699
  }), b = z(), x = z([]), y = P(() => {
48700
48700
  }, []);
48701
48701
  En(" AG Grid ", f);
48702
- const S = P((I) => {
48703
- if (f.current = I, g.current = I ? e.createBean(new FP()) : e.destroyBean(g.current), !I || e.isDestroyed())
48702
+ const S = P((k) => {
48703
+ if (f.current = k, g.current = k ? e.createBean(new FP()) : e.destroyBean(g.current), !k || e.isDestroyed())
48704
48704
  return;
48705
48705
  const T = g.current;
48706
48706
  w.current = T.focusInnerElement.bind(T);
@@ -48738,11 +48738,11 @@ var eB = 1e3, tB = class {
48738
48738
  setCursor: r,
48739
48739
  setUserSelect: l
48740
48740
  };
48741
- T.setComp(O, I, I), d(!0);
48741
+ T.setComp(O, k, k), d(!0);
48742
48742
  }, []);
48743
48743
  Se(() => {
48744
- const I = g.current, T = f.current;
48745
- if (!u || !I || !v || !T || e.isDestroyed())
48744
+ const k = g.current, T = f.current;
48745
+ if (!u || !k || !v || !T || e.isDestroyed())
48746
48746
  return;
48747
48747
  const O = [];
48748
48748
  x.current = [], b.current = void 0;
@@ -48752,7 +48752,7 @@ var eB = 1e3, tB = class {
48752
48752
  sideBarSelector: _,
48753
48753
  statusBarSelector: B,
48754
48754
  gridHeaderDropZonesSelector: Y
48755
- } = I.getOptionalSelectors(), G = [];
48755
+ } = k.getOptionalSelectors(), G = [];
48756
48756
  if (Y) {
48757
48757
  const U = e.createBean(
48758
48758
  new Y.component()
@@ -48794,13 +48794,13 @@ var eB = 1e3, tB = class {
48794
48794
  cursor: o ?? ""
48795
48795
  }),
48796
48796
  [a, o]
48797
- ), k = P((I) => {
48798
- m.current = I, p(I !== null);
48797
+ ), I = P((k) => {
48798
+ m.current = k, p(k !== null);
48799
48799
  }, []), E = P(() => !g.current?.isFocusable(), []);
48800
48800
  return /* @__PURE__ */ J.createElement("div", { ref: S, className: R, style: D, role: "presentation" }, /* @__PURE__ */ J.createElement("div", { className: F, ref: C, role: "presentation" }, c && v && !e.isDestroyed() && /* @__PURE__ */ J.createElement(Wt.Provider, { value: e.getBeans() }, /* @__PURE__ */ J.createElement(
48801
48801
  AB,
48802
48802
  {
48803
- ref: k,
48803
+ ref: I,
48804
48804
  eFocusableElement: v,
48805
48805
  onTabKeyDown: y,
48806
48806
  gridCtrl: g.current,
@@ -48894,16 +48894,16 @@ var eB = 1e3, tB = class {
48894
48894
  }
48895
48895
  }, D = new WB(F);
48896
48896
  c.current = D;
48897
- const k = new OB(), E = {
48897
+ const I = new OB(), E = {
48898
48898
  providedBeanInstances: {
48899
48899
  frameworkCompWrapper: new jB(o.current, R),
48900
- renderStatus: k
48900
+ renderStatus: I
48901
48901
  },
48902
48902
  modules: S,
48903
48903
  frameworkOverrides: D,
48904
48904
  setThemeOnGridDiv: !0
48905
- }, I = (A) => {
48906
- g(A), A.createBean(k), r.current.push(() => {
48905
+ }, k = (A) => {
48906
+ g(A), A.createBean(I), r.current.push(() => {
48907
48907
  A.destroy();
48908
48908
  }), A.getBean("ctrlsSvc").whenReady(
48909
48909
  {
@@ -48935,7 +48935,7 @@ var eB = 1e3, tB = class {
48935
48935
  R.gridId ?? (R.gridId = d.current), i.current = O.create(
48936
48936
  y,
48937
48937
  R,
48938
- I,
48938
+ k,
48939
48939
  T,
48940
48940
  E
48941
48941
  ), r.current.push(() => {
@@ -49042,14 +49042,14 @@ var jB = class extends MH {
49042
49042
  return;
49043
49043
  }
49044
49044
  const F = {
49045
- toggleCss: (k, E) => l((I) => I.setClass(k, E)),
49046
- toggleDetailGridCss: (k, E) => d((I) => I.setClass(k, E)),
49047
- setDetailGrid: (k) => p(k),
49048
- setRowData: (k) => f(k),
49045
+ toggleCss: (I, E) => l((k) => k.setClass(I, E)),
49046
+ toggleDetailGridCss: (I, E) => d((k) => k.setClass(I, E)),
49047
+ setDetailGrid: (I) => p(I),
49048
+ setRowData: (I) => f(I),
49049
49049
  getGui: () => v.current
49050
49050
  }, D = i.createDynamicBean("detailCellRendererCtrl", !0);
49051
49051
  if (D && (n.createBean(D), D.init(F, e), m.current = D, o.get("detailRowAutoHeight"))) {
49052
- const k = () => {
49052
+ const I = () => {
49053
49053
  if (v.current == null)
49054
49054
  return;
49055
49055
  const E = v.current.clientHeight;
@@ -49057,7 +49057,7 @@ var jB = class extends MH {
49057
49057
  e.node.setRowHeight(E), (mt(o) || fr(o)) && r.onRowHeightChanged();
49058
49058
  }, 0);
49059
49059
  };
49060
- C.current = Fi(s, R, k), k();
49060
+ C.current = Fi(s, R, I), I();
49061
49061
  }
49062
49062
  }, []), S = P((R) => {
49063
49063
  m.current?.registerDetailWithMaster(R);
@@ -49350,11 +49350,11 @@ const ZB = "rounded bg-layer-0 shadow", Id = ({
49350
49350
  matchReferenceWidth: S = !0,
49351
49351
  maxDropdownHeight: R
49352
49352
  }) => {
49353
- const [F, D] = N(d), k = c !== void 0, E = k ? !!c : F, I = z(null), T = P(
49353
+ const [F, D] = N(d), I = c !== void 0, E = I ? !!c : F, k = z(null), T = P(
49354
49354
  (M) => {
49355
- k || D(M), u?.(M);
49355
+ I || D(M), u?.(M);
49356
49356
  },
49357
- [k, u]
49357
+ [I, u]
49358
49358
  ), O = Os(), A = a === void 0, { refs: V, floatingStyles: _, context: B } = Jn({
49359
49359
  placement: a,
49360
49360
  open: E,
@@ -49423,7 +49423,7 @@ const ZB = "rounded bg-layer-0 shadow", Id = ({
49423
49423
  [V]
49424
49424
  ), ee = P(
49425
49425
  (M) => {
49426
- !r.includes(Nt.ContextMenu) || l || (M.preventDefault(), y && (Fe(M.clientX, M.clientY), I.current = document.elementFromPoint(
49426
+ !r.includes(Nt.ContextMenu) || l || (M.preventDefault(), y && (Fe(M.clientX, M.clientY), k.current = document.elementFromPoint(
49427
49427
  M.clientX,
49428
49428
  M.clientY
49429
49429
  )), T(!0));
@@ -49431,7 +49431,7 @@ const ZB = "rounded bg-layer-0 shadow", Id = ({
49431
49431
  [y, l, T, Fe, r]
49432
49432
  ), ge = P(
49433
49433
  (M) => {
49434
- !y || l || (r.includes(Nt.ContextMenu) && E && T(!1), Fe(M.clientX, M.clientY), I.current = document.elementFromPoint(
49434
+ !y || l || (r.includes(Nt.ContextMenu) && E && T(!1), Fe(M.clientX, M.clientY), k.current = document.elementFromPoint(
49435
49435
  M.clientX,
49436
49436
  M.clientY
49437
49437
  ));
@@ -49542,7 +49542,7 @@ const ZB = "rounded bg-layer-0 shadow", Id = ({
49542
49542
  if (!E) return;
49543
49543
  const M = V.reference.current;
49544
49544
  let q = null;
49545
- if (M instanceof Element ? q = M : I.current instanceof Element && (q = I.current), !q) return;
49545
+ if (M instanceof Element ? q = M : k.current instanceof Element && (q = k.current), !q) return;
49546
49546
  const be = new IntersectionObserver(
49547
49547
  ([Pe]) => {
49548
49548
  Pe.isIntersecting || T(!1);
@@ -49684,7 +49684,7 @@ const Kx = ({
49684
49684
  allowDisabledContextMenu: x = !1,
49685
49685
  selectionMode: y
49686
49686
  }) => {
49687
- const [S, R] = N(), F = Os(), D = Ha(), k = nG(), E = z(/* @__PURE__ */ new Set()), I = z(
49687
+ const [S, R] = N(), F = Os(), D = Ha(), I = nG(), E = z(/* @__PURE__ */ new Set()), k = z(
49688
49688
  void 0
49689
49689
  ), T = W(
49690
49690
  () => ({
@@ -49729,7 +49729,7 @@ const Kx = ({
49729
49729
  if (!S)
49730
49730
  return;
49731
49731
  const be = (M.selectedNodes || []).map((K) => K.data), Pe = new Set(be.map(u));
49732
- E.current = Pe, I.current = M.source, V(M.source) || c?.(Pe, be);
49732
+ E.current = Pe, k.current = M.source, V(M.source) || c?.(Pe, be);
49733
49733
  },
49734
49734
  [S, u, V, c]
49735
49735
  ), B = W(() => oG(
@@ -49761,8 +49761,8 @@ const Kx = ({
49761
49761
  [u, a]
49762
49762
  ), G = P(() => {
49763
49763
  const M = "dial-row-select", q = "dial-row-select-visible";
49764
- return D || k || l && l.size > 0 ? `${M} ${q}` : !l || l.size === 0 ? M : `${M} ${q}`;
49765
- }, [D, k, l]), H = P(() => D || k ? G() : !l || l.size === 0 ? "dial-row-not-select-header" : G(), [G, D, k, l]), U = W(() => {
49764
+ return D || I || l && l.size > 0 ? `${M} ${q}` : !l || l.size === 0 ? M : `${M} ${q}`;
49765
+ }, [D, I, l]), H = P(() => D || I ? G() : !l || l.size === 0 ? "dial-row-not-select-header" : G(), [G, D, I, l]), U = W(() => {
49766
49766
  if (y === dc.SINGLE)
49767
49767
  return {
49768
49768
  ...eG,
@@ -49912,7 +49912,7 @@ const Kx = ({
49912
49912
  }, []);
49913
49913
  return Se(() => {
49914
49914
  const M = V(
49915
- I.current
49915
+ k.current
49916
49916
  );
49917
49917
  if (S && l?.size && M) {
49918
49918
  const q = Array.from(l)[0];
@@ -50087,7 +50087,7 @@ const $r = ({
50087
50087
  inlineContainerClassName: u,
50088
50088
  inlineTabClassName: p
50089
50089
  }) => {
50090
- const [g, f] = N(!1), [m, v] = N(!1), [C, w] = N(!1), b = rG(), x = b === _i.Mobile || r === Uc.Tablet && b === _i.Tablet, y = n === fp.Horizontal, S = z(null), R = z(null), F = z(null), D = e.find((O) => O.id === t), k = W(
50090
+ const [g, f] = N(!1), [m, v] = N(!1), [C, w] = N(!1), b = rG(), x = b === _i.Mobile || r === Uc.Tablet && b === _i.Tablet, y = n === fp.Horizontal, S = z(null), R = z(null), F = z(null), D = e.find((O) => O.id === t), I = W(
50091
50091
  () => L(
50092
50092
  "flex gap-2",
50093
50093
  y ? "flex-row flex-nowrap overflow-x-auto" : "flex-col flex-wrap w-full"
@@ -50096,7 +50096,7 @@ const $r = ({
50096
50096
  ), E = P(() => {
50097
50097
  const O = R.current;
50098
50098
  O && w(O.scrollWidth > O.clientWidth);
50099
- }, []), I = P(() => {
50099
+ }, []), k = P(() => {
50100
50100
  const O = F.current, A = R.current;
50101
50101
  if (!O || !A) return;
50102
50102
  const V = O.getBoundingClientRect(), _ = A.getBoundingClientRect();
@@ -50119,17 +50119,17 @@ const $r = ({
50119
50119
  });
50120
50120
  }, []), T = P(
50121
50121
  (O) => {
50122
- s(O), O === t && I();
50122
+ s(O), O === t && k();
50123
50123
  },
50124
- [s, t, I]
50124
+ [s, t, k]
50125
50125
  );
50126
50126
  return Se(() => {
50127
50127
  E();
50128
50128
  const O = new ResizeObserver(() => E()), A = R.current;
50129
50129
  return A && O.observe(A), () => O.disconnect();
50130
50130
  }, [e, E]), Se(() => {
50131
- I();
50132
- }, [t, I]), o === Yo.Inline ? /* @__PURE__ */ h.jsx(
50131
+ k();
50132
+ }, [t, k]), o === Yo.Inline ? /* @__PURE__ */ h.jsx(
50133
50133
  "div",
50134
50134
  {
50135
50135
  role: "tablist",
@@ -50213,7 +50213,7 @@ const $r = ({
50213
50213
  ref: S,
50214
50214
  className: L("flex items-center", i),
50215
50215
  children: [
50216
- /* @__PURE__ */ h.jsx("div", { ref: R, role: "tablist", className: k, children: e.map((O) => /* @__PURE__ */ h.jsx(
50216
+ /* @__PURE__ */ h.jsx("div", { ref: R, role: "tablist", className: I, children: e.map((O) => /* @__PURE__ */ h.jsx(
50217
50217
  "div",
50218
50218
  {
50219
50219
  ref: t === O.id ? F : void 0,
@@ -50889,7 +50889,7 @@ const SG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RG = "te
50889
50889
  }) => {
50890
50890
  const f = z(null), m = z([]), v = z(null), [C, w] = N(e), [b, x] = N(""), [y, S] = N(!1), [R, F] = N(e.length), D = P((_) => (B) => {
50891
50891
  m.current[_] = B;
50892
- }, []), k = P(() => {
50892
+ }, []), I = P(() => {
50893
50893
  if (!c) return;
50894
50894
  const _ = f.current;
50895
50895
  if (!_) return;
@@ -50917,7 +50917,7 @@ const SG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RG = "te
50917
50917
  const Y = [B, ...C];
50918
50918
  w(Y), g?.(Y);
50919
50919
  }
50920
- }, I = (_) => {
50920
+ }, k = (_) => {
50921
50921
  (_.key === "," || _.key === "Enter") && (_.preventDefault(), E(b), x(""));
50922
50922
  }, T = () => {
50923
50923
  b.trim() && (E(b), x(""));
@@ -50941,10 +50941,10 @@ const SG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RG = "te
50941
50941
  }
50942
50942
  F(C.length);
50943
50943
  const _ = new ResizeObserver(() => {
50944
- k();
50944
+ I();
50945
50945
  }), B = f.current;
50946
- return B && _.observe(B), k(), () => _.disconnect();
50947
- }, [c, k, C]), Se(() => {
50946
+ return B && _.observe(B), I(), () => _.disconnect();
50947
+ }, [c, I, C]), Se(() => {
50948
50948
  w(e);
50949
50949
  }, [JSON.stringify(e)]);
50950
50950
  const V = /* @__PURE__ */ h.jsxs(
@@ -50984,7 +50984,7 @@ const SG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RG = "te
50984
50984
  type: "text",
50985
50985
  value: b,
50986
50986
  onChange: (_) => x(_.target.value),
50987
- onKeyDown: I,
50987
+ onKeyDown: k,
50988
50988
  onBlur: T,
50989
50989
  className: ue(
50990
50990
  "dial-input outline-none !border-none w-full flex-1 !p-1 !h-auto",
@@ -51242,7 +51242,7 @@ const SG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RG = "te
51242
51242
  s || R(!0);
51243
51243
  }, [s]), D = P(() => {
51244
51244
  R(!1), d?.();
51245
- }, [d]), k = P(() => {
51245
+ }, [d]), I = P(() => {
51246
51246
  f?.(), D();
51247
51247
  }, [f, D]), E = P(() => {
51248
51248
  g(), D();
@@ -51254,7 +51254,7 @@ const SG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RG = "te
51254
51254
  {
51255
51255
  disabled: s,
51256
51256
  open: S,
51257
- selectedValue: o ?? n.find((I) => I.id === i)?.name,
51257
+ selectedValue: o ?? n.find((k) => k.id === i)?.name,
51258
51258
  valueClassName: r,
51259
51259
  inputClassName: ue(a, "py-2", "px-3"),
51260
51260
  emptyValueText: l,
@@ -51264,7 +51264,7 @@ const SG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RG = "te
51264
51264
  wr,
51265
51265
  {
51266
51266
  open: S,
51267
- onClose: k,
51267
+ onClose: I,
51268
51268
  header: u,
51269
51269
  portalId: p,
51270
51270
  size: y,
@@ -51273,7 +51273,7 @@ const SG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RG = "te
51273
51273
  bi,
51274
51274
  {
51275
51275
  label: m,
51276
- onClick: k
51276
+ onClick: I
51277
51277
  }
51278
51278
  ),
51279
51279
  /* @__PURE__ */ h.jsx(
@@ -51777,9 +51777,9 @@ const WG = "dial-input flex w-full items-center justify-between gap-2 dial-small
51777
51777
  header: R,
51778
51778
  footer: F,
51779
51779
  onClose: D,
51780
- onChange: k,
51780
+ onChange: I,
51781
51781
  inlineSearch: E = !1,
51782
- dismissRef: I,
51782
+ dismissRef: k,
51783
51783
  onFooterClick: T,
51784
51784
  open: O,
51785
51785
  onOpenChange: A,
@@ -51811,9 +51811,9 @@ const WG = "dial-input flex w-full items-center justify-between gap-2 dial-small
51811
51811
  }, [l, E, U, ge]);
51812
51812
  const K = P(
51813
51813
  (Z) => {
51814
- Me || pe(Z), k?.(Z);
51814
+ Me || pe(Z), I?.(Z);
51815
51815
  },
51816
- [Me, k]
51816
+ [Me, I]
51817
51817
  ), fe = P(
51818
51818
  (Z) => {
51819
51819
  if (t) {
@@ -51924,7 +51924,7 @@ const WG = "dial-input flex w-full items-center justify-between gap-2 dial-small
51924
51924
  me,
51925
51925
  _
51926
51926
  ]);
51927
- cr(I, () => ({
51927
+ cr(k, () => ({
51928
51928
  dismiss: () => {
51929
51929
  Q(!1);
51930
51930
  }
@@ -52821,7 +52821,7 @@ const cV = function(t, s, i) {
52821
52821
  Se(() => {
52822
52822
  R();
52823
52823
  }, [n]);
52824
- const [{ isOver: D, canDrop: k }, E] = $p(
52824
+ const [{ isOver: D, canDrop: I }, E] = $p(
52825
52825
  () => ({
52826
52826
  accept: [kd],
52827
52827
  drop(V) {
@@ -52838,7 +52838,7 @@ const cV = function(t, s, i) {
52838
52838
  })
52839
52839
  }),
52840
52840
  [e, d, u, y]
52841
- ), I = (V) => {
52841
+ ), k = (V) => {
52842
52842
  (V.key === "Enter" || V.key === "Space") && (V.preventDefault(), g.current?.click());
52843
52843
  }, T = (V) => {
52844
52844
  V?.preventDefault();
@@ -52848,8 +52848,8 @@ const cV = function(t, s, i) {
52848
52848
  V.target === V.currentTarget && R();
52849
52849
  }, A = ue(
52850
52850
  "border border-dashed rounded w-full cursor-pointer relative h-full hover:border-hover",
52851
- !k && !S && "border-primary",
52852
- k && (D ? "border-accent-primary" : "border-hover"),
52851
+ !I && !S && "border-primary",
52852
+ I && (D ? "border-accent-primary" : "border-hover"),
52853
52853
  S && "border-error"
52854
52854
  );
52855
52855
  return E(p), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
@@ -52866,7 +52866,7 @@ const cV = function(t, s, i) {
52866
52866
  {
52867
52867
  htmlFor: "file",
52868
52868
  tabIndex: 0,
52869
- onKeyDown: I,
52869
+ onKeyDown: k,
52870
52870
  className: "flex flex-col items-center cursor-pointer size-full text-secondary dial-tiny-text justify-center",
52871
52871
  children: [
52872
52872
  t && /* @__PURE__ */ h.jsx("p", { className: "mb-1", children: t }),
@@ -52938,9 +52938,9 @@ const cV = function(t, s, i) {
52938
52938
  () => ({
52939
52939
  accept: [kd],
52940
52940
  drop(D) {
52941
- const k = D.files, E = [...t, ...k], I = i?.(k) ?? !1, T = n?.(k) ?? !1, O = C?.(k) ?? !1;
52942
- if (u(I), g(T), I || T || O) {
52943
- m(k.length);
52941
+ const I = D.files, E = [...t, ...I], k = i?.(I) ?? !1, T = n?.(I) ?? !1, O = C?.(I) ?? !1;
52942
+ if (u(k), g(T), k || T || O) {
52943
+ m(I.length);
52944
52944
  return;
52945
52945
  }
52946
52946
  s(E), v();
@@ -52960,8 +52960,8 @@ const cV = function(t, s, i) {
52960
52960
  ]
52961
52961
  ), S = (D) => {
52962
52962
  D.preventDefault();
52963
- const k = Array.from(D.dataTransfer?.items ?? []);
52964
- u(!!i?.(k)), g(!1), m(k.length);
52963
+ const I = Array.from(D.dataTransfer?.items ?? []);
52964
+ u(!!i?.(I)), g(!1), m(I.length);
52965
52965
  }, R = (D) => {
52966
52966
  D.target === D.currentTarget && v();
52967
52967
  };
@@ -53076,8 +53076,8 @@ const cV = function(t, s, i) {
53076
53076
  if (!o)
53077
53077
  return !1;
53078
53078
  const D = o * (1024 * 1024);
53079
- return F?.some((k) => {
53080
- const E = k.size;
53079
+ return F?.some((I) => {
53080
+ const E = I.size;
53081
53081
  return !!E && E > D;
53082
53082
  });
53083
53083
  },
@@ -53087,15 +53087,15 @@ const cV = function(t, s, i) {
53087
53087
  if (!r || !u)
53088
53088
  return !1;
53089
53089
  const D = r * 1024 * 1024;
53090
- return F.reduce((E, I) => E + I.size, 0) > D;
53090
+ return F.reduce((E, k) => E + k.size, 0) > D;
53091
53091
  },
53092
53092
  [r, u]
53093
53093
  ), R = P(
53094
53094
  (F) => {
53095
53095
  const D = F.target.files;
53096
53096
  if (D && D.length > 0) {
53097
- const k = Array.from(D), E = x(k), I = y(k);
53098
- !E && !I && e([...i || [], ...k]);
53097
+ const I = Array.from(D), E = x(I), k = y(I);
53098
+ !E && !k && e([...i || [], ...I]);
53099
53099
  }
53100
53100
  },
53101
53101
  [x, y, e, i]
@@ -53293,9 +53293,9 @@ const dC = ({
53293
53293
  }) => {
53294
53294
  const m = o.length === 1, v = m ? o[0]?.name : "", C = c?.[Dt.Replace] ?? "Replace", w = c?.[Dt.Duplicate] ?? "Duplicate", b = c?.[Dt.Cancel] ?? "Cancel", x = d?.[ls.ReplaceAll] ?? "Replace all", y = d?.[ls.DuplicateAll] ?? "Duplicate all", S = d?.[ls.DecideForEach] ?? "Decide for each", [R, F] = N(
53295
53295
  Dt.Replace
53296
- ), [D, k] = N(
53296
+ ), [D, I] = N(
53297
53297
  ls.ReplaceAll
53298
- ), [E, I] = N(
53298
+ ), [E, k] = N(
53299
53299
  new Map(
53300
53300
  o.map((ee) => [
53301
53301
  ee.path,
@@ -53391,7 +53391,7 @@ const dC = ({
53391
53391
  open: ie,
53392
53392
  items: ge,
53393
53393
  onItemClick: ({ key: pe }) => {
53394
- I((M) => {
53394
+ k((M) => {
53395
53395
  const q = new Map(M);
53396
53396
  return q.set(
53397
53397
  ee.data.path,
@@ -53469,7 +53469,7 @@ const dC = ({
53469
53469
  G
53470
53470
  ]
53471
53471
  ), Q = P(() => {
53472
- F(Dt.Replace), k(ls.ReplaceAll), I(
53472
+ F(Dt.Replace), I(ls.ReplaceAll), k(
53473
53473
  new Map(
53474
53474
  o.map((ee) => [
53475
53475
  ee.path,
@@ -53538,7 +53538,7 @@ const dC = ({
53538
53538
  radioButtons: U,
53539
53539
  activeRadioButton: D,
53540
53540
  orientation: tr.Column,
53541
- onChange: (ee) => k(ee),
53541
+ onChange: (ee) => I(ee),
53542
53542
  formItemChildrenClassName: "gap-3"
53543
53543
  }
53544
53544
  )
@@ -56423,10 +56423,10 @@ const _V = (e) => {
56423
56423
  (b, x, y, S) => {
56424
56424
  const R = e(b), F = new Set(R.map(gh));
56425
56425
  return x.map((D) => {
56426
- const k = D.name, E = F.has(k), I = y && E ? k : fC(k, F, D.nodeType);
56427
- return (!y || !E) && F.add(I), {
56426
+ const I = D.name, E = F.has(I), k = y && E ? I : fC(I, F, D.nodeType);
56427
+ return (!y || !E) && F.add(k), {
56428
56428
  sourceUrl: D.path,
56429
- destinationUrl: `${b}/${I}`,
56429
+ destinationUrl: `${b}/${k}`,
56430
56430
  overwrite: y && E,
56431
56431
  nodeType: D.nodeType ?? Te.ITEM,
56432
56432
  ...S ?? {}
@@ -56437,13 +56437,13 @@ const _V = (e) => {
56437
56437
  ), g = P(
56438
56438
  (b, x, y, S) => {
56439
56439
  const R = e(b), F = new Set(R.map(gh));
56440
- return x.filter((k) => y.get(k.path) !== Dt.Cancel).map((k) => {
56441
- const E = y.get(k.path), I = F.has(k.name), T = E === Dt.Replace && I, O = T ? k.name : fC(k.name, F, k.nodeType);
56440
+ return x.filter((I) => y.get(I.path) !== Dt.Cancel).map((I) => {
56441
+ const E = y.get(I.path), k = F.has(I.name), T = E === Dt.Replace && k, O = T ? I.name : fC(I.name, F, I.nodeType);
56442
56442
  return T || F.add(O), {
56443
- sourceUrl: k.path,
56443
+ sourceUrl: I.path,
56444
56444
  destinationUrl: `${b}/${O}`,
56445
56445
  overwrite: T,
56446
- nodeType: k.nodeType ?? Te.ITEM,
56446
+ nodeType: I.nodeType ?? Te.ITEM,
56447
56447
  ...S ?? {}
56448
56448
  };
56449
56449
  });
@@ -56559,9 +56559,9 @@ const _V = (e) => {
56559
56559
  startConflictResolution: R,
56560
56560
  resolveConflictsWithStrategy: F,
56561
56561
  closeConflictResolution: D,
56562
- openConflictResolution: k,
56562
+ openConflictResolution: I,
56563
56563
  handleReplaceAll: E,
56564
- handleDuplicateAll: I,
56564
+ handleDuplicateAll: k,
56565
56565
  handleCancelAll: T,
56566
56566
  handleDecideForEach: O
56567
56567
  } = v0({
@@ -56624,8 +56624,8 @@ const _V = (e) => {
56624
56624
  ), B = P(() => {
56625
56625
  E(), A();
56626
56626
  }, [E, A]), Y = P(() => {
56627
- I(), A();
56628
- }, [I, A]), G = P(() => {
56627
+ k(), A();
56628
+ }, [k, A]), G = P(() => {
56629
56629
  T(), A();
56630
56630
  }, [T, A]), H = P(
56631
56631
  (ie) => {
@@ -56681,7 +56681,7 @@ const _V = (e) => {
56681
56681
  clearState: A,
56682
56682
  conflictingFiles: x,
56683
56683
  conflictResolutionOpen: y,
56684
- openConflictResolution: k,
56684
+ openConflictResolution: I,
56685
56685
  closeConflictResolution: D,
56686
56686
  handleConflictReplace: B,
56687
56687
  handleConflictCancel: G,
@@ -56778,9 +56778,9 @@ const _V = (e) => {
56778
56778
  x(/* @__PURE__ */ new Map()), S(null);
56779
56779
  }, []), {
56780
56780
  conflictingFiles: D,
56781
- conflictResolutionOpen: k,
56781
+ conflictResolutionOpen: I,
56782
56782
  hasActiveConflictRef: E,
56783
- startConflictResolution: I,
56783
+ startConflictResolution: k,
56784
56784
  closeConflictResolution: T,
56785
56785
  openConflictResolution: O,
56786
56786
  handleReplaceAll: A,
@@ -56883,7 +56883,7 @@ const _V = (e) => {
56883
56883
  oe,
56884
56884
  fe
56885
56885
  );
56886
- return S({ destinationFolder: fe }), I(fe, Ge, {
56886
+ return S({ destinationFolder: fe }), k(fe, Ge, {
56887
56887
  destinationFolder: fe
56888
56888
  }).hasConflicts ? !1 : (e?.(oe, fe), F(), !0);
56889
56889
  },
@@ -56896,7 +56896,7 @@ const _V = (e) => {
56896
56896
  s,
56897
56897
  n,
56898
56898
  G,
56899
- I,
56899
+ k,
56900
56900
  F,
56901
56901
  w
56902
56902
  ]
@@ -57049,7 +57049,7 @@ const _V = (e) => {
57049
57049
  };
57050
57050
  if (C.current = fe, S({ destinationFolder: K }), x(
57051
57051
  /* @__PURE__ */ new Map([[ve.path, { fileContent: ce, name: Ge }]])
57052
- ), I(K, [ve], {
57052
+ ), k(K, [ve], {
57053
57053
  destinationFolder: K
57054
57054
  }).hasConflicts) {
57055
57055
  document.body.removeChild(me);
@@ -57067,7 +57067,7 @@ const _V = (e) => {
57067
57067
  o,
57068
57068
  a,
57069
57069
  w,
57070
- I,
57070
+ k,
57071
57071
  r
57072
57072
  ]
57073
57073
  ), Pe = P(() => {
@@ -57087,7 +57087,7 @@ const _V = (e) => {
57087
57087
  openArchiveDialog: be,
57088
57088
  fileInputRef: m,
57089
57089
  uploadConflictingFiles: D,
57090
- uploadConflictResolutionOpen: k,
57090
+ uploadConflictResolutionOpen: I,
57091
57091
  hasActiveUploadConflictRef: E,
57092
57092
  openUploadConflictResolution: O,
57093
57093
  closeUploadConflictResolution: ee,
@@ -57346,10 +57346,10 @@ const rj = ({
57346
57346
  if (c === Ps.Folder)
57347
57347
  return e;
57348
57348
  if (c === Ps.Sibling && u) {
57349
- const I = Qo(n, u.parentPath || "");
57349
+ const k = Qo(n, u.parentPath || "");
57350
57350
  return {
57351
57351
  path: u.parentPath,
57352
- items: I?.items || [],
57352
+ items: k?.items || [],
57353
57353
  nodeType: Te.FOLDER,
57354
57354
  name: u?.parentPath?.split("/")?.pop() || "",
57355
57355
  folderId: ""
@@ -57358,61 +57358,61 @@ const rj = ({
57358
57358
  return c === Ps.Child ? u : e;
57359
57359
  }, [c, u, e, n]);
57360
57360
  Se(() => {
57361
- const I = b?.path;
57362
- C.current !== I && o && (r(!1), l(null), v("")), C.current = I;
57361
+ const k = b?.path;
57362
+ C.current !== k && o && (r(!1), l(null), v("")), C.current = k;
57363
57363
  }, [b?.path, o]);
57364
57364
  const x = P(() => {
57365
57365
  if (o) return;
57366
57366
  C.current = e?.path || "/";
57367
- const I = `__new_folder_${Date.now()}`, T = (e?.items ?? []).filter(
57367
+ const k = `__new_folder_${Date.now()}`, T = (e?.items ?? []).filter(
57368
57368
  (A) => A.nodeType === Te.FOLDER
57369
57369
  ), O = qr(T);
57370
- l(I), v(O), r(!0), d(Ps.Folder), p(e || null);
57370
+ l(k), v(O), r(!0), d(Ps.Folder), p(e || null);
57371
57371
  }, [o, e]), y = P(
57372
- (I) => {
57372
+ (k) => {
57373
57373
  if (o) return;
57374
- C.current = I?.parentPath || "/";
57375
- const T = `__new_folder_${Date.now()}`, A = (Qo(n, I?.parentPath || "/")?.items ?? []).filter(
57374
+ C.current = k?.parentPath || "/";
57375
+ const T = `__new_folder_${Date.now()}`, A = (Qo(n, k?.parentPath || "/")?.items ?? []).filter(
57376
57376
  (_) => _.nodeType === Te.FOLDER
57377
57377
  ), V = qr(A);
57378
- v(V), l(T), r(!0), d(Ps.Sibling), p(I), f(I?.parentPath || "/");
57378
+ v(V), l(T), r(!0), d(Ps.Sibling), p(k), f(k?.parentPath || "/");
57379
57379
  },
57380
57380
  [o, n]
57381
57381
  ), S = P(
57382
- (I) => {
57382
+ (k) => {
57383
57383
  if (o) return;
57384
- C.current = I.path;
57385
- const T = `__new_folder_${Date.now()}`, O = (I?.items ?? []).filter(
57384
+ C.current = k.path;
57385
+ const T = `__new_folder_${Date.now()}`, O = (k?.items ?? []).filter(
57386
57386
  (V) => V.nodeType === Te.FOLDER
57387
57387
  ), A = qr(O);
57388
- v(A), l(T), r(!0), d(Ps.Child), p(I), f(I?.path || "/");
57388
+ v(A), l(T), r(!0), d(Ps.Child), p(k), f(k?.path || "/");
57389
57389
  },
57390
57390
  [o]
57391
57391
  ), R = P(
57392
- (I) => {
57392
+ (k) => {
57393
57393
  if (o) return;
57394
- C.current = I?.parentPath || "/";
57395
- const O = (Qo(n, I?.parentPath || "/")?.items ?? []).filter(
57394
+ C.current = k?.parentPath || "/";
57395
+ const O = (Qo(n, k?.parentPath || "/")?.items ?? []).filter(
57396
57396
  (V) => V.nodeType === Te.FOLDER
57397
57397
  ), A = qr(O);
57398
- v(A), d(Ps.Sibling), p(I), f(I?.parentPath || "/"), r(!0);
57398
+ v(A), d(Ps.Sibling), p(k), f(k?.parentPath || "/"), r(!0);
57399
57399
  },
57400
57400
  [o, n]
57401
57401
  ), F = P(
57402
- (I) => {
57402
+ (k) => {
57403
57403
  if (o) return;
57404
- C.current = I.path;
57405
- const T = (I?.items ?? []).filter(
57404
+ C.current = k.path;
57405
+ const T = (k?.items ?? []).filter(
57406
57406
  (A) => A.nodeType === Te.FOLDER
57407
57407
  ), O = qr(T);
57408
- v(O), d(Ps.Child), p(I), f(I?.path || "/"), r(!0);
57408
+ v(O), d(Ps.Child), p(k), f(k?.path || "/"), r(!0);
57409
57409
  },
57410
57410
  [o]
57411
57411
  ), D = P(() => {
57412
57412
  r(!1), l(null), d(Ps.Folder), p(null), f(null), C.current = void 0, v("");
57413
- }, []), k = P(
57414
- (I) => {
57415
- const T = I.trim();
57413
+ }, []), I = P(
57414
+ (k) => {
57415
+ const T = k.trim();
57416
57416
  if (!T)
57417
57417
  return w.emptyName;
57418
57418
  if (T.includes(".."))
@@ -57432,8 +57432,8 @@ const rj = ({
57432
57432
  },
57433
57433
  [b, s, w]
57434
57434
  ), E = P(
57435
- async (I) => {
57436
- const T = I.trim();
57435
+ async (k) => {
57436
+ const T = k.trim();
57437
57437
  if (!T)
57438
57438
  return;
57439
57439
  D();
@@ -57459,7 +57459,7 @@ const rj = ({
57459
57459
  startTreeChildFolderCreation: F,
57460
57460
  cancelFolderCreation: D,
57461
57461
  saveFolderCreation: E,
57462
- validateFolderName: k
57462
+ validateFolderName: I
57463
57463
  };
57464
57464
  }, dj = ({
57465
57465
  additionalButtons: e,
@@ -57645,9 +57645,9 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
57645
57645
  onTableFileClick: R,
57646
57646
  handleSelectionClick: F,
57647
57647
  onGridApiChange: D,
57648
- onCopyFiles: k,
57648
+ onCopyFiles: I,
57649
57649
  onMoveToFiles: E,
57650
- onDeleteFiles: I,
57650
+ onDeleteFiles: k,
57651
57651
  onDownloadFiles: T,
57652
57652
  onRenameValidate: O,
57653
57653
  renameValidationMessages: A,
@@ -57846,7 +57846,7 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
57846
57846
  sourceFolder: eu
57847
57847
  } = ZV({
57848
57848
  getDestinationFiles: (xe) => Qo(i, xe)?.items ?? [],
57849
- onCopyFiles: k,
57849
+ onCopyFiles: I,
57850
57850
  onMoveToFiles: E,
57851
57851
  onCopySuccess: ni,
57852
57852
  onMoveSuccess: ni,
@@ -57864,7 +57864,7 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
57864
57864
  closeDeleteConfirmation: gl,
57865
57865
  confirmDelete: bo
57866
57866
  } = XV({
57867
- onDeleteFiles: I,
57867
+ onDeleteFiles: k,
57868
57868
  onDeleteSuccess: ni
57869
57869
  }), { handleDownloadFiles: Ai } = JV({
57870
57870
  onDownloadFiles: T,
@@ -58453,7 +58453,7 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
58453
58453
  processDestinationFolderPath: y,
58454
58454
  ...S
58455
58455
  }) => {
58456
- const [R, F] = N(!1), [D, k] = N(!1), E = z(null), I = Ha(), T = P((B) => {
58456
+ const [R, F] = N(!1), [D, I] = N(!1), E = z(null), k = Ha(), T = P((B) => {
58457
58457
  F(B);
58458
58458
  }, []), O = W(() => {
58459
58459
  const B = [];
@@ -58462,14 +58462,14 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
58462
58462
  label: a,
58463
58463
  icon: /* @__PURE__ */ h.jsx(kf, { ...de, className: "text-secondary" }),
58464
58464
  onClick: () => {
58465
- E.current?.createFolder(), k(!1);
58465
+ E.current?.createFolder(), I(!1);
58466
58466
  }
58467
58467
  }), d && B.push({
58468
58468
  key: "show-hidden-files",
58469
58469
  label: c,
58470
58470
  icon: /* @__PURE__ */ h.jsx(Ma, { ...de, className: "text-secondary" }),
58471
58471
  onClick: () => {
58472
- F((Y) => !Y), k(!1);
58472
+ F((Y) => !Y), I(!1);
58473
58473
  }
58474
58474
  }), B;
58475
58475
  }, [
@@ -58502,12 +58502,12 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
58502
58502
  dividers: !1,
58503
58503
  className: "md:!h-[800px] !bg-layer-2",
58504
58504
  footer: /* @__PURE__ */ h.jsxs("div", { className: "flex justify-between items-center gap-2 p-4 md:px-6", children: [
58505
- /* @__PURE__ */ h.jsx("div", { className: "flex items-center gap-4 min-w-0", children: I ? /* @__PURE__ */ h.jsx(
58505
+ /* @__PURE__ */ h.jsx("div", { className: "flex items-center gap-4 min-w-0", children: k ? /* @__PURE__ */ h.jsx(
58506
58506
  jt,
58507
58507
  {
58508
58508
  items: O,
58509
58509
  open: D,
58510
- onOpenChange: k,
58510
+ onOpenChange: I,
58511
58511
  children: /* @__PURE__ */ h.jsx(
58512
58512
  Ri,
58513
58513
  {
@@ -58829,7 +58829,7 @@ const Rj = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
58829
58829
  const b = W(() => {
58830
58830
  if (!i) return;
58831
58831
  let D = CC(i);
58832
- const k = [...D];
58832
+ const I = [...D];
58833
58833
  let E = 0;
58834
58834
  if (a) {
58835
58835
  const T = CC(a);
@@ -58844,8 +58844,8 @@ const Rj = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
58844
58844
  }
58845
58845
  }
58846
58846
  if (!D.length) return [{ label: "/" }];
58847
- const I = D.map((T, O) => {
58848
- const A = O < D.length - E ? O : O + E, V = k.slice(0, A + 1), _ = typeof n == "function" ? n(V, A) : void 0;
58847
+ const k = D.map((T, O) => {
58848
+ const A = O < D.length - E ? O : O + E, V = I.slice(0, A + 1), _ = typeof n == "function" ? n(V, A) : void 0;
58849
58849
  return {
58850
58850
  label: T,
58851
58851
  href: _,
@@ -58858,8 +58858,8 @@ const Rj = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
58858
58858
  const T = o.split("/").filter(Boolean), O = i.split("/").filter(Boolean);
58859
58859
  if (T.every(
58860
58860
  (V, _) => O[_] === V
58861
- ) && I.length > 0) {
58862
- const V = I.slice(T.length);
58861
+ ) && k.length > 0) {
58862
+ const V = k.slice(T.length);
58863
58863
  return [
58864
58864
  {
58865
58865
  label: r,
@@ -58872,7 +58872,7 @@ const Rj = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
58872
58872
  ];
58873
58873
  }
58874
58874
  }
58875
- return I;
58875
+ return k;
58876
58876
  }, [
58877
58877
  i,
58878
58878
  a,
@@ -59241,20 +59241,20 @@ function Bj({
59241
59241
  onCreateFolderSave: l,
59242
59242
  onCreateFolderCancel: c
59243
59243
  }) {
59244
- const [d, u] = N(e), [p, g] = N(!1), [f, m] = N(""), v = z(null), C = z(!1), w = z(!1), b = P((D = !1, k = "") => {
59245
- g(D), m(k);
59244
+ const [d, u] = N(e), [p, g] = N(!1), [f, m] = N(""), v = z(null), C = z(!1), w = z(!1), b = P((D = !1, I = "") => {
59245
+ g(D), m(I);
59246
59246
  }, []), x = P(
59247
59247
  (D) => {
59248
59248
  if (!o)
59249
59249
  return b(), !0;
59250
- const k = o(D);
59251
- return k ? k.startsWith(`${Je.Warning}__`) ? (b(!1, k), !0) : (b(!0, k), !1) : (b(), !0);
59250
+ const I = o(D);
59251
+ return I ? I.startsWith(`${Je.Warning}__`) ? (b(!1, I), !0) : (b(!0, I), !1) : (b(), !0);
59252
59252
  },
59253
59253
  [o, b]
59254
59254
  ), y = P(
59255
59255
  (D) => {
59256
- const k = D ?? "";
59257
- u(k), x(k);
59256
+ const I = D ?? "";
59257
+ u(I), x(I);
59258
59258
  },
59259
59259
  [x]
59260
59260
  ), S = P(
@@ -59295,21 +59295,21 @@ function Bj({
59295
59295
  }, [t, s, e, b]), Se(() => {
59296
59296
  const D = v.current;
59297
59297
  if (!t && !s || !D) return;
59298
- const k = (E) => {
59298
+ const I = (E) => {
59299
59299
  E.key === "Enter" ? (E.preventDefault(), v.current?.blur()) : E.key === "Escape" && (E.preventDefault(), R());
59300
59300
  };
59301
- return D.addEventListener("keydown", k), () => D.removeEventListener("keydown", k);
59301
+ return D.addEventListener("keydown", I), () => D.removeEventListener("keydown", I);
59302
59302
  }, [t, s, R]), Se(() => {
59303
59303
  if (!t && !s || i) return;
59304
59304
  const D = v.current;
59305
59305
  if (!D) return;
59306
- const k = (T) => T ? (D.closest(`[${S0}]`) ?? D).contains(T) : !1, E = (T) => {
59307
- k(T.target) || F();
59308
- }, I = (T) => {
59309
- k(T.relatedTarget) || F();
59306
+ const I = (T) => T ? (D.closest(`[${S0}]`) ?? D).contains(T) : !1, E = (T) => {
59307
+ I(T.target) || F();
59308
+ }, k = (T) => {
59309
+ I(T.relatedTarget) || F();
59310
59310
  };
59311
- return document.addEventListener("pointerdown", E, !0), D.addEventListener("blur", I), () => {
59312
- document.removeEventListener("pointerdown", E, !0), D.removeEventListener("blur", I);
59311
+ return document.addEventListener("pointerdown", E, !0), D.addEventListener("blur", k), () => {
59312
+ document.removeEventListener("pointerdown", E, !0), D.removeEventListener("blur", k);
59313
59313
  };
59314
59314
  }, [t, s, i, F]), { inputRef: v, value: d, onChange: y, invalid: p, invalidMessage: f };
59315
59315
  }
@@ -59428,14 +59428,14 @@ const Gj = ({
59428
59428
  onCreateFolderSave: g
59429
59429
  });
59430
59430
  if (!i && !o) {
59431
- const k = mf(
59431
+ const I = mf(
59432
59432
  {
59433
59433
  name: e,
59434
59434
  isFolder: t === Fs.Folder
59435
59435
  },
59436
59436
  w,
59437
59437
  b
59438
- ), E = !!k;
59438
+ ), E = !!I;
59439
59439
  return t === Fs.Folder ? /* @__PURE__ */ h.jsx(
59440
59440
  Kp,
59441
59441
  {
@@ -59447,7 +59447,7 @@ const Gj = ({
59447
59447
  sharedIndicatorClassName: m,
59448
59448
  hideTooltip: C,
59449
59449
  isInvalidName: E,
59450
- tooltipContent: k
59450
+ tooltipContent: I
59451
59451
  }
59452
59452
  ) : /* @__PURE__ */ h.jsx(
59453
59453
  qp,
@@ -59460,7 +59460,7 @@ const Gj = ({
59460
59460
  sharedIndicatorClassName: m,
59461
59461
  hideTooltip: C,
59462
59462
  isInvalidName: E,
59463
- tooltipContent: k
59463
+ tooltipContent: I
59464
59464
  }
59465
59465
  );
59466
59466
  }
@@ -59509,10 +59509,10 @@ const Gj = ({
59509
59509
  forbiddenSymbolsTooltip: F,
59510
59510
  newFolderDefaultName: D
59511
59511
  }) => {
59512
- const { expandedPaths: k, togglePath: E } = x0({
59512
+ const { expandedPaths: I, togglePath: E } = x0({
59513
59513
  expandedPaths: s ?? /* @__PURE__ */ new Set(),
59514
59514
  onExpandedPathsChange: x
59515
- }), I = (O) => {
59515
+ }), k = (O) => {
59516
59516
  m?.(O), E(O.path);
59517
59517
  }, T = (O, A, V) => {
59518
59518
  let _ = O;
@@ -59531,7 +59531,7 @@ const Gj = ({
59531
59531
  const { path: Y, nodeType: G, name: H, items: U } = B, Q = G === Te.FOLDER;
59532
59532
  if (!d && m0(B)) return null;
59533
59533
  if (!Q && !t) return;
59534
- const se = Array.isArray(U) && U.length > 0 && U.some((fe) => fe.nodeType === Te.FOLDER || t), Fe = k.has(Y), ee = r === Y, ge = i.has(Y), Me = u === Y || Y === `${p}/${Zr}`, ie = n.has(Y), pe = o.has(Y), M = f && g && Y === f && Q, q = b && ((fe) => b(fe, B)), be = ee ? "bg-accent-primary-alpha border-l-2 border-l-accent-primary rounded" : "border-l-2 border-l-transparent", Pe = M ? [] : v?.(B) ?? [], K = R ? mf(
59534
+ const se = Array.isArray(U) && U.length > 0 && U.some((fe) => fe.nodeType === Te.FOLDER || t), Fe = I.has(Y), ee = r === Y, ge = i.has(Y), Me = u === Y || Y === `${p}/${Zr}`, ie = n.has(Y), pe = o.has(Y), M = f && g && Y === f && Q, q = b && ((fe) => b(fe, B)), be = ee ? "bg-accent-primary-alpha border-l-2 border-l-accent-primary rounded" : "border-l-2 border-l-transparent", Pe = M ? [] : v?.(B) ?? [], K = R ? mf(
59535
59535
  { name: B.name, isFolder: Q },
59536
59536
  R,
59537
59537
  F
@@ -59558,14 +59558,14 @@ const Gj = ({
59558
59558
  "div",
59559
59559
  {
59560
59560
  className: "absolute size-full left-0 top-0 z-0",
59561
- onClick: () => I(B)
59561
+ onClick: () => k(B)
59562
59562
  }
59563
59563
  ),
59564
59564
  /* @__PURE__ */ h.jsx(
59565
59565
  "div",
59566
59566
  {
59567
59567
  className: "relative flex flex-row truncate items-center w-fit h-6 gap-x-1 pl-1",
59568
- onClick: () => !Me && I(B),
59568
+ onClick: () => !Me && k(B),
59569
59569
  children: /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
59570
59570
  Q && /* @__PURE__ */ h.jsx(
59571
59571
  LC,
@@ -59875,7 +59875,7 @@ const Gj = ({
59875
59875
  shared: f,
59876
59876
  sharedIndicatorClassName: C,
59877
59877
  iconSize: Ki,
59878
- validate: (I) => S(I, x),
59878
+ validate: (k) => S(k, x),
59879
59879
  onSave: R,
59880
59880
  onCancel: F,
59881
59881
  inputContainerClassName: L([
@@ -59904,7 +59904,7 @@ const Gj = ({
59904
59904
  forbiddenSymbolsTooltip: n.context.forbiddenSymbolsTooltip
59905
59905
  }
59906
59906
  );
59907
- const k = mf(
59907
+ const I = mf(
59908
59908
  {
59909
59909
  name: n.data.name,
59910
59910
  isFolder: o === Te.FOLDER
@@ -59920,8 +59920,8 @@ const Gj = ({
59920
59920
  sharedIndicatorClassName: C,
59921
59921
  iconSize: Ki,
59922
59922
  hideTooltip: v,
59923
- isInvalidName: !!k,
59924
- tooltipContent: k
59923
+ isInvalidName: !!I,
59924
+ tooltipContent: I
59925
59925
  }
59926
59926
  ) : /* @__PURE__ */ h.jsx(
59927
59927
  qp,
@@ -59931,8 +59931,8 @@ const Gj = ({
59931
59931
  sharedIndicatorClassName: C,
59932
59932
  iconSize: Ki,
59933
59933
  hideTooltip: v,
59934
- isInvalidName: !!k,
59935
- tooltipContent: k
59934
+ isInvalidName: !!I,
59935
+ tooltipContent: I
59936
59936
  }
59937
59937
  );
59938
59938
  }
@@ -60176,22 +60176,22 @@ const Kj = () => {
60176
60176
  icon: /* @__PURE__ */ h.jsx(Ch, { ...de, className: "text-secondary" }),
60177
60177
  onClick: () => p?.(y.path)
60178
60178
  });
60179
- const D = y.name.split("."), k = D.length > 1 ? D[D.length - 1] : "", E = k && m?.includes(`.${k}`);
60179
+ const D = y.name.split("."), I = D.length > 1 ? D[D.length - 1] : "", E = I && m?.includes(`.${I}`);
60180
60180
  e[te.Preview] && typeof g == "function" && y.nodeType === Te.ITEM && E && !R && S.push({
60181
60181
  key: te.Preview,
60182
60182
  label: e[te.Preview],
60183
60183
  icon: /* @__PURE__ */ h.jsx(Ma, { ...de, className: "text-secondary" }),
60184
60184
  onClick: () => g?.(y.path)
60185
60185
  });
60186
- const I = !y.permissions || y.permissions.includes(br.WRITE);
60187
- e[te.Delete] && I && S.push({
60186
+ const k = !y.permissions || y.permissions.includes(br.WRITE);
60187
+ e[te.Delete] && k && S.push({
60188
60188
  key: te.Delete,
60189
60189
  label: e[te.Delete],
60190
60190
  icon: /* @__PURE__ */ h.jsx(er, { ...de, className: "text-secondary" }),
60191
60191
  onClick: () => r(y, y.parentPath ?? "")
60192
60192
  });
60193
60193
  const T = y.nodeType === Te.FOLDER || y.nodeType === Te.ITEM && v;
60194
- return e[te.Rename] && T && I && S.push({
60194
+ return e[te.Rename] && T && k && S.push({
60195
60195
  key: te.Rename,
60196
60196
  label: e[te.Rename],
60197
60197
  icon: /* @__PURE__ */ h.jsx(GC, { ...de, className: "text-secondary" }),
@@ -60305,9 +60305,9 @@ const Kj = () => {
60305
60305
  currentPath: R,
60306
60306
  gridRows: F,
60307
60307
  selectedPaths: D,
60308
- selectedFiles: k,
60308
+ selectedFiles: I,
60309
60309
  clearSelection: E,
60310
- setSelectedPaths: I,
60310
+ setSelectedPaths: k,
60311
60311
  effectiveSearchValue: T,
60312
60312
  handleBreadcrumbItemClick: O,
60313
60313
  handleSearchChange: A,
@@ -60601,14 +60601,14 @@ const Kj = () => {
60601
60601
  ]
60602
60602
  ), fl = W(() => {
60603
60603
  const ne = /* @__PURE__ */ new Set();
60604
- return k.forEach((tt, pt) => ne.add(pt)), ne;
60605
- }, [k]), kr = P(
60604
+ return I.forEach((tt, pt) => ne.add(pt)), ne;
60605
+ }, [I]), kr = P(
60606
60606
  (ne, tt) => {
60607
- I(ne), B?.(tt);
60607
+ k(ne), B?.(tt);
60608
60608
  },
60609
- [B, I]
60609
+ [B, k]
60610
60610
  ), ml = jj({
60611
- selectedFiles: k,
60611
+ selectedFiles: I,
60612
60612
  actionLabels: d?.actionLabels,
60613
60613
  onDuplicate: ee,
60614
60614
  onCopy: (ne) => {
@@ -61779,8 +61779,8 @@ const Ta = ({
61779
61779
  const F = _e(
61780
61780
  { $ref: C[b] },
61781
61781
  o
61782
- ), { [v]: D, ...k } = F.properties ?? {};
61783
- return { ...F, properties: k };
61782
+ ), { [v]: D, ...I } = F.properties ?? {};
61783
+ return { ...F, properties: I };
61784
61784
  })() : void 0;
61785
61785
  return S ? /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col gap-3", children: [
61786
61786
  /* @__PURE__ */ h.jsx("div", { role: "radiogroup", className: "flex flex-row flex-wrap gap-4", children: Object.keys(C).map((F) => {
@@ -61813,9 +61813,9 @@ const Ta = ({
61813
61813
  }
61814
61814
  )
61815
61815
  ] }) : /* @__PURE__ */ h.jsx("div", { role: "radiogroup", className: "flex flex-col gap-2", children: Object.keys(C).map((F) => {
61816
- const D = _e({ $ref: C[F] }, o), k = b === F, { [v]: E, ...I } = D.properties ?? {}, T = {
61816
+ const D = _e({ $ref: C[F] }, o), I = b === F, { [v]: E, ...k } = D.properties ?? {}, T = {
61817
61817
  ...D,
61818
- properties: I
61818
+ properties: k
61819
61819
  };
61820
61820
  return /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col", children: [
61821
61821
  /* @__PURE__ */ h.jsx(
@@ -61825,12 +61825,12 @@ const Ta = ({
61825
61825
  value: F,
61826
61826
  inputId: `${l}-${F}`,
61827
61827
  label: D.title ?? F,
61828
- checked: k,
61828
+ checked: I,
61829
61829
  disabled: a,
61830
61830
  onChange: () => y(F)
61831
61831
  }
61832
61832
  ),
61833
- k && /* @__PURE__ */ h.jsx("div", { className: "ml-6 mt-2", children: /* @__PURE__ */ h.jsx(
61833
+ I && /* @__PURE__ */ h.jsx("div", { className: "ml-6 mt-2", children: /* @__PURE__ */ h.jsx(
61834
61834
  uc,
61835
61835
  {
61836
61836
  schema: T,
@@ -62217,11 +62217,11 @@ const Ta = ({
62217
62217
  )
62218
62218
  ] });
62219
62219
  if (!y) return D;
62220
- const k = [...c, t], E = Cf(s, i, g), I = ui(
62220
+ const I = [...c, t], E = Cf(s, i, g), k = ui(
62221
62221
  s,
62222
62222
  i,
62223
62223
  g,
62224
- k.join(".")
62224
+ I.join(".")
62225
62225
  );
62226
62226
  return /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col gap-2", children: [
62227
62227
  D,
@@ -62231,7 +62231,7 @@ const Ta = ({
62231
62231
  title: t,
62232
62232
  level: d,
62233
62233
  summary: E,
62234
- errorCount: I.length + (F ? 1 : 0),
62234
+ errorCount: k.length + (F ? 1 : 0),
62235
62235
  defaultExpanded: m,
62236
62236
  children: /* @__PURE__ */ h.jsx(
62237
62237
  yi,
@@ -62239,7 +62239,7 @@ const Ta = ({
62239
62239
  schema: i,
62240
62240
  value: s,
62241
62241
  onChange: o,
62242
- path: k,
62242
+ path: I,
62243
62243
  level: d + 1
62244
62244
  }
62245
62245
  )
@@ -62319,7 +62319,7 @@ const Ta = ({
62319
62319
  () => JSON.stringify(e, null, 2)
62320
62320
  );
62321
62321
  Se(() => {
62322
- typeof window < "u" && import("./JsonEditor-Czgk4lVz.js").then((d) => {
62322
+ typeof window < "u" && import("./JsonEditor-Ce0Hs40A.js").then((d) => {
62323
62323
  r(() => d.DialJsonEditor);
62324
62324
  });
62325
62325
  }, []);
@@ -62468,21 +62468,21 @@ const Ta = ({
62468
62468
  ), v = W(() => t || (xi(e, e) ?? {}), []), [C, w] = N(v), [b, x] = N(
62469
62469
  /* @__PURE__ */ new Set()
62470
62470
  ), y = P((E) => {
62471
- x((I) => I.has(E) ? I : /* @__PURE__ */ new Set([...I, E]));
62471
+ x((k) => k.has(E) ? k : /* @__PURE__ */ new Set([...k, E]));
62472
62472
  }, []);
62473
62473
  Se(() => {
62474
62474
  d?.(v);
62475
62475
  }, []);
62476
- const S = (E, I) => {
62477
- const T = { ...C, [E]: I };
62478
- w(T), l?.(T), c?.(E, I);
62476
+ const S = (E, k) => {
62477
+ const T = { ...C, [E]: k };
62478
+ w(T), l?.(T), c?.(E, k);
62479
62479
  }, R = new Set(Object.keys(e.properties ?? {})), F = Object.keys(C).filter(
62480
62480
  (E) => !R.has(E)
62481
62481
  ), D = E0(
62482
62482
  Object.entries(e.properties ?? {}).filter(
62483
62483
  ([, E]) => !_e(E, e).isHidden
62484
62484
  )
62485
- ), k = e.required ?? [];
62485
+ ), I = e.required ?? [];
62486
62486
  return /* @__PURE__ */ h.jsx(
62487
62487
  F0.Provider,
62488
62488
  {
@@ -62500,13 +62500,13 @@ const Ta = ({
62500
62500
  skipUntouched: p
62501
62501
  },
62502
62502
  children: /* @__PURE__ */ h.jsxs("div", { className: L("flex flex-col gap-4", i), children: [
62503
- D.map(([E, I]) => {
62504
- const T = _e(I, e), O = T.title ?? I.title ?? Yc(E), A = k.includes(E), V = C[E];
62503
+ D.map(([E, k]) => {
62504
+ const T = _e(k, e), O = T.title ?? k.title ?? Yc(E), A = I.includes(E), V = C[E];
62505
62505
  if (a === sa.Flat)
62506
62506
  return /* @__PURE__ */ h.jsx(
62507
62507
  T0,
62508
62508
  {
62509
- schema: I,
62509
+ schema: k,
62510
62510
  value: V,
62511
62511
  onChange: (G) => S(E, G),
62512
62512
  path: [E],
@@ -62522,7 +62522,7 @@ const Ta = ({
62522
62522
  /* @__PURE__ */ h.jsx(
62523
62523
  yi,
62524
62524
  {
62525
- schema: I,
62525
+ schema: k,
62526
62526
  value: V,
62527
62527
  onChange: (G) => S(E, G),
62528
62528
  path: [E],
@@ -62543,7 +62543,7 @@ const Ta = ({
62543
62543
  children: /* @__PURE__ */ h.jsx(
62544
62544
  yi,
62545
62545
  {
62546
- schema: I,
62546
+ schema: k,
62547
62547
  value: V,
62548
62548
  onChange: (G) => S(E, G),
62549
62549
  path: [E],
@@ -62556,7 +62556,7 @@ const Ta = ({
62556
62556
  );
62557
62557
  }),
62558
62558
  F.map((E) => {
62559
- const I = Yc(E), T = /* @__PURE__ */ h.jsx(
62559
+ const k = Yc(E), T = /* @__PURE__ */ h.jsx(
62560
62560
  M0,
62561
62561
  {
62562
62562
  value: C[E],
@@ -62567,14 +62567,14 @@ const Ta = ({
62567
62567
  return a === sa.Sections ? /* @__PURE__ */ h.jsx(
62568
62568
  Ta,
62569
62569
  {
62570
- title: I,
62570
+ title: k,
62571
62571
  level: 0,
62572
62572
  defaultExpanded: o,
62573
62573
  children: T
62574
62574
  },
62575
62575
  E
62576
62576
  ) : /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col gap-3", children: [
62577
- /* @__PURE__ */ h.jsx("h2", { className: "dial-small-semi-text text-primary", children: I }),
62577
+ /* @__PURE__ */ h.jsx("h2", { className: "dial-small-semi-text text-primary", children: k }),
62578
62578
  T
62579
62579
  ] }, E);
62580
62580
  })
@@ -63100,13 +63100,13 @@ const yC = {
63100
63100
  x(
63101
63101
  (O) => new Date(O.getFullYear(), O.getMonth() + T, 1)
63102
63102
  );
63103
- }, k = (T, O) => {
63103
+ }, I = (T, O) => {
63104
63104
  if (EC(T, c, d)) return;
63105
63105
  const A = e === vs.DateTime && f ? PC(T, Ul(f)) : T;
63106
63106
  s?.(A), e === vs.Date && O();
63107
63107
  }, E = (T) => {
63108
63108
  s?.(PC(f ?? /* @__PURE__ */ new Date(), T));
63109
- }, I = () => f ? e === vs.DateTime ? `${DC(f, u)}, ${Ul(f)}` : DC(f, u) : g;
63109
+ }, k = () => f ? e === vs.DateTime ? `${DC(f, u)}, ${Ul(f)}` : DC(f, u) : g;
63110
63110
  if (e === vs.Time) {
63111
63111
  const T = typeof t == "string" ? t : f ? Ul(f) : "";
63112
63112
  return /* @__PURE__ */ h.jsxs("div", { className: L("flex flex-col gap-y-3", l), children: [
@@ -63207,7 +63207,7 @@ const yC = {
63207
63207
  "truncate",
63208
63208
  !f && "text-secondary"
63209
63209
  ),
63210
- children: I()
63210
+ children: k()
63211
63211
  }
63212
63212
  ),
63213
63213
  Fz
@@ -63268,7 +63268,7 @@ const yC = {
63268
63268
  V && yz,
63269
63269
  B && "cursor-not-allowed opacity-40 hover:bg-transparent"
63270
63270
  ),
63271
- onClick: () => k(O, T),
63271
+ onClick: () => I(O, T),
63272
63272
  children: O.getDate()
63273
63273
  },
63274
63274
  O.toISOString()
@@ -63612,11 +63612,11 @@ const yC = {
63612
63612
  matchReferenceWidth: S = !0,
63613
63613
  maxDropdownHeight: R
63614
63614
  }) => {
63615
- const [F, D] = N(d), k = c !== void 0, E = k ? !!c : F, I = z(null), T = P(
63615
+ const [F, D] = N(d), I = c !== void 0, E = I ? !!c : F, k = z(null), T = P(
63616
63616
  (M) => {
63617
- k || D(M), u?.(M);
63617
+ I || D(M), u?.(M);
63618
63618
  },
63619
- [k, u]
63619
+ [I, u]
63620
63620
  ), O = Os(), A = a === void 0, { refs: V, floatingStyles: _, context: B } = Jn({
63621
63621
  placement: a,
63622
63622
  open: E,
@@ -63685,7 +63685,7 @@ const yC = {
63685
63685
  [V]
63686
63686
  ), ee = P(
63687
63687
  (M) => {
63688
- !r.includes(Nt.ContextMenu) || l || (M.preventDefault(), y && (Fe(M.clientX, M.clientY), I.current = document.elementFromPoint(
63688
+ !r.includes(Nt.ContextMenu) || l || (M.preventDefault(), y && (Fe(M.clientX, M.clientY), k.current = document.elementFromPoint(
63689
63689
  M.clientX,
63690
63690
  M.clientY
63691
63691
  )), T(!0));
@@ -63693,7 +63693,7 @@ const yC = {
63693
63693
  [y, l, T, Fe, r]
63694
63694
  ), ge = P(
63695
63695
  (M) => {
63696
- !y || l || (r.includes(Nt.ContextMenu) && E && T(!1), Fe(M.clientX, M.clientY), I.current = document.elementFromPoint(
63696
+ !y || l || (r.includes(Nt.ContextMenu) && E && T(!1), Fe(M.clientX, M.clientY), k.current = document.elementFromPoint(
63697
63697
  M.clientX,
63698
63698
  M.clientY
63699
63699
  ));
@@ -63803,7 +63803,7 @@ const yC = {
63803
63803
  if (!E) return;
63804
63804
  const M = V.reference.current;
63805
63805
  let q = null;
63806
- if (M instanceof Element ? q = M : I.current instanceof Element && (q = I.current), !q) return;
63806
+ if (M instanceof Element ? q = M : k.current instanceof Element && (q = k.current), !q) return;
63807
63807
  const be = new IntersectionObserver(
63808
63808
  ([Pe]) => {
63809
63809
  Pe.isIntersecting || T(!1);
@@ -64099,22 +64099,22 @@ const yC = {
64099
64099
  }) => {
64100
64100
  const b = C === Ie.Small, x = z(null), y = td([d, x]), S = c === "number" || g !== void 0 || m !== void 0;
64101
64101
  Se(() => {
64102
- const k = x.current;
64103
- if (!k || !S || t) return;
64104
- const E = (I) => {
64105
- I.preventDefault();
64102
+ const I = x.current;
64103
+ if (!I || !S || t) return;
64104
+ const E = (k) => {
64105
+ k.preventDefault();
64106
64106
  };
64107
- return k.addEventListener("wheel", E, { passive: !1 }), () => {
64108
- k.removeEventListener("wheel", E);
64107
+ return I.addEventListener("wheel", E, { passive: !1 }), () => {
64108
+ I.removeEventListener("wheel", E);
64109
64109
  };
64110
64110
  }, [t, S, c]);
64111
- const R = (k) => {
64112
- Z0(k, c, g, m);
64113
- }, F = (k) => {
64114
- const E = k.currentTarget.value;
64111
+ const R = (I) => {
64112
+ Z0(I, c, g, m);
64113
+ }, F = (I) => {
64114
+ const E = I.currentTarget.value;
64115
64115
  if (S && E !== "") {
64116
- const I = parseFloat(E);
64117
- if (isNaN(I) && E !== "-" && E !== "." || !isNaN(I) && (g !== void 0 && I < +g || m !== void 0 && I > +m))
64116
+ const k = parseFloat(E);
64117
+ if (isNaN(k) && E !== "-" && E !== "." || !isNaN(k) && (g !== void 0 && k < +g || m !== void 0 && k > +m))
64118
64118
  return;
64119
64119
  }
64120
64120
  f?.(E || void 0);
@@ -64318,9 +64318,9 @@ const yC = {
64318
64318
  className: R,
64319
64319
  fieldClassName: F,
64320
64320
  listClassName: D,
64321
- closable: k = !1,
64321
+ closable: I = !1,
64322
64322
  header: E,
64323
- footer: I,
64323
+ footer: k,
64324
64324
  onClose: T,
64325
64325
  onChange: O,
64326
64326
  dismissRef: A,
@@ -64453,7 +64453,7 @@ const yC = {
64453
64453
  className: Kz,
64454
64454
  children: [
64455
64455
  E && /* @__PURE__ */ h.jsx(h.Fragment, { children: typeof E == "function" ? E() : E }),
64456
- (g || k) && (e.length > sW || !!pe) && /* @__PURE__ */ h.jsxs("div", { className: "flex items-center gap-2 px-2 pt-2", children: [
64456
+ (g || I) && (e.length > sW || !!pe) && /* @__PURE__ */ h.jsxs("div", { className: "flex items-center gap-2 px-2 pt-2", children: [
64457
64457
  g && /* @__PURE__ */ h.jsx(
64458
64458
  Zc,
64459
64459
  {
@@ -64467,7 +64467,7 @@ const yC = {
64467
64467
  containerClassName: "w-full"
64468
64468
  }
64469
64469
  ),
64470
- k && /* @__PURE__ */ h.jsx(
64470
+ I && /* @__PURE__ */ h.jsx(
64471
64471
  bf,
64472
64472
  {
64473
64473
  "aria-label": "Close select",
@@ -64564,13 +64564,13 @@ const yC = {
64564
64564
  ae.value
64565
64565
  );
64566
64566
  }) }),
64567
- I && /* @__PURE__ */ h.jsx(
64567
+ k && /* @__PURE__ */ h.jsx(
64568
64568
  "div",
64569
64569
  {
64570
64570
  onClick: (ae) => {
64571
64571
  V?.(ae), V && ie(!1);
64572
64572
  },
64573
- children: typeof I == "function" ? I() : I
64573
+ children: typeof k == "function" ? k() : k
64574
64574
  }
64575
64575
  )
64576
64576
  ]
@@ -64585,7 +64585,7 @@ const yC = {
64585
64585
  open: Me,
64586
64586
  onOpenChange: ie,
64587
64587
  disabled: S,
64588
- closable: k,
64588
+ closable: I,
64589
64589
  onClose: T,
64590
64590
  placement: "bottom-start",
64591
64591
  allowedPlacements: ["bottom-start", "top-start"],
@@ -64758,30 +64758,31 @@ const yC = {
64758
64758
  overlayClassName: o,
64759
64759
  titleClassName: r,
64760
64760
  headerClassName: a,
64761
- children: l,
64762
- footer: c,
64763
- onClose: d,
64764
- size: u = Ht.Md,
64765
- hideClose: p = !1,
64766
- closeAriaLabel: g = "Close dialog",
64767
- closeOnOutsideClick: f = !0,
64768
- preventKeyboardOnOpen: m = !1
64761
+ bodyClassName: l,
64762
+ children: c,
64763
+ footer: d,
64764
+ onClose: u,
64765
+ size: p = Ht.Md,
64766
+ hideClose: g = !1,
64767
+ closeAriaLabel: f = "Close dialog",
64768
+ closeOnOutsideClick: m = !0,
64769
+ preventKeyboardOnOpen: v = !1
64769
64770
  }) => {
64770
- const v = z(null), C = Os(), { refs: w, context: b } = Jn({
64771
+ const C = z(null), w = Os(), { refs: b, context: x } = Jn({
64771
64772
  open: e,
64772
- onOpenChange: (D) => {
64773
- D || d?.(null);
64773
+ onOpenChange: (I) => {
64774
+ I || u?.(null);
64774
64775
  }
64775
- }), x = to(b, { role: "dialog" }), y = eo(b, { outsidePress: f }), { getFloatingProps: S } = so([x, y]);
64776
+ }), y = to(x, { role: "dialog" }), S = eo(x, { outsidePress: m }), { getFloatingProps: R } = so([y, S]);
64776
64777
  if (!e) return null;
64777
- const R = typeof t == "string" ? `popup-heading-${C}` : void 0, F = (D) => D ? typeof D == "string" ? /* @__PURE__ */ h.jsx(
64778
+ const F = typeof t == "string" ? `popup-heading-${w}` : void 0, D = (I) => I ? typeof I == "string" ? /* @__PURE__ */ h.jsx(
64778
64779
  "h2",
64779
64780
  {
64780
- id: R,
64781
+ id: F,
64781
64782
  className: L(pW, r),
64782
- children: /* @__PURE__ */ h.jsx(Ct, { tooltip: D, children: D })
64783
+ children: /* @__PURE__ */ h.jsx(Ct, { tooltip: I, children: I })
64783
64784
  }
64784
- ) : D : /* @__PURE__ */ h.jsx("span", {});
64785
+ ) : I : /* @__PURE__ */ h.jsx("span", {});
64785
64786
  return /* @__PURE__ */ h.jsx(io, { id: i, children: /* @__PURE__ */ h.jsx(
64786
64787
  zC,
64787
64788
  {
@@ -64789,27 +64790,27 @@ const yC = {
64789
64790
  children: /* @__PURE__ */ h.jsx(
64790
64791
  ur,
64791
64792
  {
64792
- context: b,
64793
- initialFocus: m ? v : void 0,
64793
+ context: x,
64794
+ initialFocus: v ? C : void 0,
64794
64795
  children: /* @__PURE__ */ h.jsxs(
64795
64796
  "div",
64796
64797
  {
64797
- ref: w.setFloating,
64798
- ...S(),
64798
+ ref: b.setFloating,
64799
+ ...R(),
64799
64800
  role: "dialog",
64800
64801
  "aria-modal": "true",
64801
- "aria-labelledby": R,
64802
- "aria-label": R ? void 0 : s,
64802
+ "aria-labelledby": F,
64803
+ "aria-label": F ? void 0 : s,
64803
64804
  className: L(
64804
64805
  uW,
64805
- gW[u],
64806
+ gW[p],
64806
64807
  n
64807
64808
  ),
64808
64809
  children: [
64809
- m && /* @__PURE__ */ h.jsx(
64810
+ v && /* @__PURE__ */ h.jsx(
64810
64811
  "div",
64811
64812
  {
64812
- ref: v,
64813
+ ref: C,
64813
64814
  tabIndex: -1,
64814
64815
  "aria-hidden": !0,
64815
64816
  className: "absolute size-px -m-px overflow-hidden opacity-0 pointer-events-none"
@@ -64820,19 +64821,19 @@ const yC = {
64820
64821
  {
64821
64822
  className: L(hW, a),
64822
64823
  children: [
64823
- F(t),
64824
- !p && /* @__PURE__ */ h.jsx(
64824
+ D(t),
64825
+ !g && /* @__PURE__ */ h.jsx(
64825
64826
  K0,
64826
64827
  {
64827
- ariaLabel: g,
64828
- onClose: (D) => d?.(D)
64828
+ ariaLabel: f,
64829
+ onClose: (I) => u?.(I)
64829
64830
  }
64830
64831
  )
64831
64832
  ]
64832
64833
  }
64833
64834
  ),
64834
- /* @__PURE__ */ h.jsx("div", { className: "grow overflow-auto", children: l }),
64835
- c
64835
+ /* @__PURE__ */ h.jsx("div", { className: L("grow overflow-auto", l), children: c }),
64836
+ d
64836
64837
  ]
64837
64838
  }
64838
64839
  )
@@ -65011,7 +65012,7 @@ const yC = {
65011
65012
  ]
65012
65013
  }
65013
65014
  );
65014
- }, k_ = () => import("./JsonEditor-Czgk4lVz.js"), M_ = () => import("./MarkdownEditor-CDGGSeup.js"), A_ = () => import("./MarkdownEditor-CP4xX5ZZ.js");
65015
+ }, k_ = () => import("./JsonEditor-Ce0Hs40A.js"), M_ = () => import("./MarkdownEditor-Df72yDza.js"), A_ = () => import("./MarkdownEditor-C14oRqaF.js");
65015
65016
  export {
65016
65017
  ta as $,
65017
65018
  I_ as A,