@epam/ai-dial-ui-kit 0.13.0-dev.51 → 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 T:
77
+ case I:
78
78
  return "Activity";
79
79
  }
80
80
  if (typeof H == "object")
@@ -140,7 +140,7 @@ function CS() {
140
140
  return Error("react-stack-top-frame");
141
141
  }
142
142
  function r(H) {
143
- if (I.call(H, "key")) {
143
+ if (T.call(H, "key")) {
144
144
  var U = Object.getOwnPropertyDescriptor(H, "key").get;
145
145
  if (U && U.isReactWarning) return !1;
146
146
  }
@@ -210,7 +210,7 @@ function CS() {
210
210
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
211
211
  );
212
212
  else u(ge);
213
- if (I.call(U, "key")) {
213
+ if (T.call(U, "key")) {
214
214
  ge = e(H);
215
215
  var Me = Object.keys(U).filter(function(pe) {
216
216
  return pe !== "key";
@@ -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"), T = /* @__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, I = 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 = {
@@ -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()], T = () => [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], k = () => [Oi, "auto", De, Ee], I = () => ["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": T()
952
+ "grid-cols": I()
953
953
  }],
954
954
  /**
955
955
  * Grid Column Start / End
@@ -977,7 +977,7 @@ const bS = (e, t) => {
977
977
  * @see https://tailwindcss.com/docs/grid-template-rows
978
978
  */
979
979
  "grid-rows": [{
980
- "grid-rows": T()
980
+ "grid-rows": I()
981
981
  }],
982
982
  /**
983
983
  * Grid Row Start / End
@@ -1012,14 +1012,14 @@ const bS = (e, t) => {
1012
1012
  * @see https://tailwindcss.com/docs/grid-auto-columns
1013
1013
  */
1014
1014
  "auto-cols": [{
1015
- "auto-cols": I()
1015
+ "auto-cols": T()
1016
1016
  }],
1017
1017
  /**
1018
1018
  * Grid Auto Rows
1019
1019
  * @see https://tailwindcss.com/docs/grid-auto-rows
1020
1020
  */
1021
1021
  "auto-rows": [{
1022
- "auto-rows": I()
1022
+ "auto-rows": T()
1023
1023
  }],
1024
1024
  /**
1025
1025
  * Gap
@@ -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)), T = D >= 0, E = T ? `+${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
- T ? "bg-success text-success" : "bg-error text-error"
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, T = v?.[S];
3916
- return T ? /* @__PURE__ */ h.jsx(
3915
+ ) : D, E = v?.[R];
3916
+ return E ? /* @__PURE__ */ h.jsx(
3917
3917
  Ct,
3918
3918
  {
3919
- tooltip: T,
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,10 +4853,10 @@ 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 T = C.current;
4857
- if (!T) return e;
4858
- const E = T.getBoundingClientRect(), k = (D - E.left) / E.width, I = t + k * (s - t), O = gu(i), A = parseFloat(
4859
- (Math.round((I - t) / i) * i + t).toFixed(O)
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
+ (Math.round((T - t) / i) * i + t).toFixed(O)
4860
4860
  );
4861
4861
  return Math.min(s, Math.max(t, A));
4862
4862
  },
@@ -4874,27 +4874,27 @@ const j2 = "flex", z2 = "pb-1 mt-2", W2 = {
4874
4874
  ), F = P(
4875
4875
  (D) => {
4876
4876
  if (n) return;
4877
- const T = gu(i), E = (O) => parseFloat((Math.round((O - t) / i) * i + t).toFixed(T)), k = (O) => Math.min(s, Math.max(t, O));
4878
- let I = e;
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
+ let T = e;
4879
4879
  switch (D.key) {
4880
4880
  case "ArrowRight":
4881
4881
  case "ArrowUp":
4882
- I = k(E(e + i));
4882
+ T = k(E(e + i));
4883
4883
  break;
4884
4884
  case "ArrowLeft":
4885
4885
  case "ArrowDown":
4886
- I = k(E(e - i));
4886
+ T = k(E(e - i));
4887
4887
  break;
4888
4888
  case "Home":
4889
- I = t;
4889
+ T = t;
4890
4890
  break;
4891
4891
  case "End":
4892
- I = s;
4892
+ T = s;
4893
4893
  break;
4894
4894
  default:
4895
4895
  return;
4896
4896
  }
4897
- D.preventDefault(), I !== e && l?.(I);
4897
+ D.preventDefault(), T !== e && l?.(T);
4898
4898
  },
4899
4899
  [n, e, i, t, s, l]
4900
4900
  );
@@ -7461,8 +7461,8 @@ 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, T = D === 0 || Math.abs(R - x) <= D ? R : x, E = D === 0 || Math.abs(F - b) <= D ? F : b;
7465
- x = T, 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
7467
  var k = {
7468
7468
  width: x - g.width,
@@ -7470,8 +7470,8 @@ var vc = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(vc ||
7470
7470
  };
7471
7471
  if (this.delta = k, f && typeof f == "string") {
7472
7472
  if (f.endsWith("%")) {
7473
- var I = x / v.width * 100;
7474
- x = "".concat(I, "%");
7473
+ var T = x / v.width * 100;
7474
+ x = "".concat(T, "%");
7475
7475
  } else if (f.endsWith("vw")) {
7476
7476
  var O = x / this.window.innerWidth * 100;
7477
7477
  x = "".concat(O, "vw");
@@ -7482,8 +7482,8 @@ var vc = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(vc ||
7482
7482
  }
7483
7483
  if (m && typeof m == "string") {
7484
7484
  if (m.endsWith("%")) {
7485
- var I = b / v.height * 100;
7486
- b = "".concat(I, "%");
7485
+ var T = b / v.height * 100;
7486
+ b = "".concat(T, "%");
7487
7487
  } else if (m.endsWith("vw")) {
7488
7488
  var O = b / this.window.innerWidth * 100;
7489
7489
  b = "".concat(O, "vw");
@@ -7684,16 +7684,16 @@ const hF = (e) => {
7684
7684
  u
7685
7685
  );
7686
7686
  if (r !== ks.Default) {
7687
- const T = 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: T, 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 = (T) => F ? Array.isArray(F) ? F[T] ?? "100%" : F : T === 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((T, 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, T = a.getScrollPositionForPixel(b), E = a.getScrollPositionForPixel(x - D), k = Math.min((T + E) / 2, b), I = 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 = T - f : t === "bottom" ? A = E + m : t === "middle" ? A = k : I ? A = T - f : O && (E - T > D ? A = T - 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 T = S.getMinWidth(), E = S.getMaxWidth();
18775
- D < T ? (D = T, 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,26 +19625,26 @@ function Ls(e, t, s) {
19625
19625
  const C = (y, S, R, F, D) => {
19626
19626
  if (!y)
19627
19627
  return;
19628
- const T = sD(S, t.defaultState), E = T("flex").value1, k = T("sort").value1, I = T("sortType").value1, O = Yi(k) || cg(I), A = Ci(I), V = pd(k), _ = 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
- T("hide").value1,
19632
+ I("hide").value1,
19633
19633
  _,
19634
- T("sortIndex").value1,
19635
- T("pinned").value1,
19634
+ I("sortIndex").value1,
19635
+ I("pinned").value1,
19636
19636
  E,
19637
19637
  s
19638
19638
  ), E == null) {
19639
- const B = T("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, T), n?.syncColumnWithState(y, s, T, R), o?.syncColumnWithState(y, s, T, 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(), T = {}, E = {}, k = [], I = [], 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) {
@@ -19654,14 +19654,14 @@ function Ls(e, t, s) {
19654
19654
  continue;
19655
19655
  }
19656
19656
  if (cn(H)) {
19657
- I.push(G), O.push(G);
19657
+ T.push(G), O.push(G);
19658
19658
  continue;
19659
19659
  }
19660
19660
  const Q = R(H);
19661
- Q ? (C(Q, G, T, 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, T, E, !1);
19664
- D.forEach(B), n?.sortColumns(Ym.bind(n, T, 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);
@@ -19675,7 +19675,7 @@ function Ls(e, t, s) {
19675
19675
  r?.getColumns()?.slice()
19676
19676
  ), Y(
19677
19677
  (G) => a?.getColumn(G) ?? null,
19678
- I,
19678
+ T,
19679
19679
  a?.getColumns()?.slice()
19680
19680
  ), r6(t, i, f), c.refresh(s), g.dispatchEvent({
19681
19681
  type: "columnEverythingChanged",
@@ -19722,13 +19722,13 @@ function a1(e, t) {
19722
19722
  d[u.colId] = u;
19723
19723
  return () => {
19724
19724
  const u = (S, R, F, D) => {
19725
- const T = R.map(D), E = F.map(D);
19726
- if (ln(T, E))
19725
+ const I = R.map(D), E = F.map(D);
19726
+ if (ln(I, E))
19727
19727
  return;
19728
- const I = new Set(R);
19728
+ const T = new Set(R);
19729
19729
  for (const A of F)
19730
- I.delete(A) || I.add(A);
19731
- const O = [...I];
19730
+ T.delete(A) || T.add(A);
19731
+ const O = [...T];
19732
19732
  a.dispatchEvent({
19733
19733
  type: S,
19734
19734
  columns: O,
@@ -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(), T = F && S.aggFunc != R.getAggFunc();
19758
- return D || T;
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, T = F.bottom;
30293
- p ? (f = y + R, m = S + R) : (f = Math.max(D + x - d, y) + R, m = Math.min(T + x + d, S) + R), this.firstVisibleVPixel = Math.max(D + x, y) + R, this.lastVisibleVPixel = Math.min(T + 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 T = FA(R, F, D);
33760
- R.setActualWidth(T, 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, T = F?.maxWidth ?? i?.defaultMaxWidth, E = Math.max(D ?? -1 / 0, y.getMinWidth()), k = Math.min(T ?? 1 / 0, y.getMaxWidth());
33886
- let I = Math.round(y.getActualWidth() * w);
33887
- I < E ? (I = E, f(y), g = !1) : I > k ? (I = k, f(y), g = !1) : x === 0 && (I = b), y.setActualWidth(I, t, !0), b -= I;
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
+ let T = Math.round(y.getActualWidth() * w);
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
  }
@@ -43141,20 +43141,20 @@ var GN = class extends $ {
43141
43141
  } = e;
43142
43142
  let p = !1;
43143
43143
  const g = (E, k) => {
43144
- const I = !i?.has(E) && !!(k || t === "api");
43145
- return p || (p = I), I;
43144
+ const T = !i?.has(E) && !!(k || t === "api");
43145
+ return p || (p = T), T;
43146
43146
  }, f = {}, m = (E) => {
43147
43147
  let k = f[E];
43148
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: k, type: I }, O) => {
43150
+ C && n?.sortModel.forEach(({ colId: E, sort: k, type: T }, O) => {
43151
43151
  const A = m(E);
43152
- A.sort = k, A.sortIndex = O, A.sortType = I;
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
43155
  w && o?.groupColIds.forEach((E, k) => {
43156
- const I = m(E);
43157
- I.rowGroup = !0, I.rowGroupIndex = k;
43156
+ const T = m(E);
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
43160
  b && r?.aggregationModel.forEach(({ colId: E, aggFunc: k }) => {
@@ -43162,8 +43162,8 @@ var GN = class extends $ {
43162
43162
  }), (b || !s) && (v.aggFunc = null);
43163
43163
  const x = g("pivot", a);
43164
43164
  x && (a?.pivotColIds.forEach((E, k) => {
43165
- const I = m(E);
43166
- I.pivot = !0, I.pivotIndex = k;
43165
+ const T = m(E);
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: k, width: I } of d?.columnSizingModel ?? []) {
43186
+ for (const { colId: E, flex: k, width: T } of d?.columnSizingModel ?? []) {
43187
43187
  const O = m(E);
43188
- O.flex = k ?? null, O.width = I;
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"), T = D ? F.map((E) => m(E)) : Object.values(f);
43192
- (T.length || p) && (this.columnStates = T, 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: T,
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]), T = 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
- ), k = W(() => `ag-group-checkbox ${S.toString()}`, [S]), I = d?.componentFromFramework, O = I ? 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,10 +47260,10 @@ 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: T, ref: a }),
47263
+ /* @__PURE__ */ J.createElement("span", { className: I, ref: a }),
47264
47264
  /* @__PURE__ */ J.createElement("span", { className: E, ref: l }),
47265
47265
  /* @__PURE__ */ J.createElement("span", { className: k, ref: r }),
47266
- /* @__PURE__ */ J.createElement("span", { className: "ag-group-value", ref: o }, A ? V : I ? /* @__PURE__ */ J.createElement(O, { ...d.params }) : null),
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
  );
47269
47269
  }), qv = Ox, rf = Ia({
@@ -47797,17 +47797,17 @@ 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]), T = W(() => a.toString(), [a]), E = W(() => c.toString(), [c]), k = W(() => !!(g && g.componentFromFramework && Cr(g.componentClass)), [g]), I = 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
- if (I) {
47803
+ if (T) {
47804
47804
  const G = O ? rB : qH, H = new G(g.params, () => m((U) => U + 1));
47805
47805
  R(H), V(H);
47806
47806
  } else
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: T, role: "presentation" }, B ? I ? _ && /* @__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: {
@@ -47841,11 +47841,11 @@ var eB = 1e3, tB = class {
47841
47841
  return;
47842
47842
  }
47843
47843
  f.current = t.createBean(new vr());
47844
- const T = {
47844
+ const I = {
47845
47845
  setWidth: (E) => {
47846
47846
  m.current && (m.current.style.width = E);
47847
47847
  },
47848
- toggleCss: (E, k) => o((I) => I.setClass(E, k)),
47848
+ toggleCss: (E, k) => o((T) => T.setClass(E, k)),
47849
47849
  setUserStyles: (E) => i(E),
47850
47850
  setHeaderWrapperHidden: (E) => {
47851
47851
  const k = C.current;
@@ -47862,7 +47862,7 @@ var eB = 1e3, tB = class {
47862
47862
  setAriaExpanded: (E) => u(E),
47863
47863
  getUserCompInstance: () => w.current || void 0
47864
47864
  };
47865
- e.setComp(T, 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 T = g.current, E = _c(T, R, F);
47887
- E !== T && (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]), T = W(() => e.getCellAriaRole(), [e]), E = z(null), k = z(null), I = 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) => {
@@ -48179,9 +48179,9 @@ var eB = 1e3, tB = class {
48179
48179
  return;
48180
48180
  B.current?.refreshVisibility();
48181
48181
  const Be = oe.compDetails, Ge = ce.compDetails;
48182
- if (Be.componentClass != Ge.componentClass || I.current?.refresh == null)
48182
+ if (Be.componentClass != Ge.componentClass || T.current?.refresh == null)
48183
48183
  return;
48184
- I.current.refresh(Ge.params) != !0 && g((Ae) => Ae + 1);
48184
+ T.current.refresh(Ge.params) != !0 && g((Ae) => Ae + 1);
48185
48185
  }, [l]), Rs(() => {
48186
48186
  if (!(d && !d.compDetails.componentFromFramework) || n.isDestroyed())
48187
48187
  return;
@@ -48234,7 +48234,7 @@ var eB = 1e3, tB = class {
48234
48234
  S.current && vi(S.current), S.current = ve, ve && E.current && E.current.appendChild(ve);
48235
48235
  },
48236
48236
  getCellEditor: () => A.current ?? null,
48237
- getCellRenderer: () => I.current ?? O.current,
48237
+ getCellRenderer: () => T.current ?? O.current,
48238
48238
  getParentOfValue: () => Y.current ?? V.current ?? E.current,
48239
48239
  setRenderDetails: (ve, Ae, Ze) => {
48240
48240
  const at = () => {
@@ -48305,21 +48305,21 @@ var eB = 1e3, tB = class {
48305
48305
  return ce?.toString?.() ?? ce;
48306
48306
  if (oe.componentFromFramework) {
48307
48307
  const Be = oe.componentClass;
48308
- return /* @__PURE__ */ J.createElement(Ry, { fallback: /* @__PURE__ */ J.createElement(SB, { cellCtrl: e, parent: E }) }, Pe ? /* @__PURE__ */ J.createElement(Be, { ...oe.params, key: p }) : /* @__PURE__ */ J.createElement(Be, { ...oe.params, key: p, ref: I }));
48308
+ return /* @__PURE__ */ J.createElement(Ry, { fallback: /* @__PURE__ */ J.createElement(SB, { cellCtrl: e, parent: E }) }, Pe ? /* @__PURE__ */ J.createElement(Be, { ...oe.params, key: p }) : /* @__PURE__ */ J.createElement(Be, { ...oe.params, key: p, ref: T }));
48309
48309
  }
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: T, "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, T] = N(
48320
+ ), [D, I] = N(
48321
48321
  () => c ? e.getInitialTransform(t) : void 0
48322
- ), E = z(null), k = z(), I = 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: T,
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),
@@ -48363,13 +48363,13 @@ var eB = 1e3, tB = class {
48363
48363
  K !== Pe && (w.current = K, o ? B.current() : Da(be, () => x(K)));
48364
48364
  },
48365
48365
  showFullWidth: (q) => {
48366
- I.current = q.params, S(q);
48366
+ T.current = q.params, S(q);
48367
48367
  },
48368
48368
  getFullWidthCellRenderer: () => k.current,
48369
- getFullWidthCellRendererParams: () => I.current,
48369
+ getFullWidthCellRendererParams: () => T.current,
48370
48370
  refreshFullWidth: (q) => {
48371
48371
  const be = q();
48372
- return I.current = be, ge.current ? (S((Pe) => ({
48372
+ return T.current = be, ge.current ? (S((Pe) => ({
48373
48373
  ...Pe,
48374
48374
  params: be
48375
48375
  })), !0) : !k.current || !k.current.refresh ? !1 : k.current.refresh(be);
@@ -48466,7 +48466,7 @@ var eB = 1e3, tB = class {
48466
48466
  n.current
48467
48467
  );
48468
48468
  }
48469
- }, [R, F]), T = P(
48469
+ }, [R, F]), I = P(
48470
48470
  (A) => {
48471
48471
  o.current = A, D();
48472
48472
  },
@@ -48481,21 +48481,21 @@ var eB = 1e3, tB = class {
48481
48481
  n.current = A, D();
48482
48482
  },
48483
48483
  [D]
48484
- ), I = () => /* @__PURE__ */ J.createElement(
48484
+ ), T = () => /* @__PURE__ */ J.createElement(
48485
48485
  "div",
48486
48486
  {
48487
48487
  className: b,
48488
- ref: T,
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 }))
48492
48492
  );
48493
48493
  if (!y)
48494
- return I();
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: k, role: "rowgroup" }, I(), 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, T] = N(null), [E, k] = N(""), [I, 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,7 +48535,7 @@ var eB = 1e3, tB = class {
48535
48535
  setBottomInvisible: F,
48536
48536
  setColumnMovingCss: (Ue, qe) => _.current.toggleCss(Ue, qe),
48537
48537
  updateLayoutClasses: V,
48538
- setAlwaysVerticalScrollClass: T,
48538
+ setAlwaysVerticalScrollClass: I,
48539
48539
  setPinnedTopBottomOverflowY: k,
48540
48540
  setCellSelectableCss: (Ue, qe) => O(qe ? Ue : null),
48541
48541
  setBodyViewportWidth: (Ue) => {
@@ -48567,18 +48567,18 @@ var eB = 1e3, tB = class {
48567
48567
  i,
48568
48568
  A,
48569
48569
  D,
48570
- I
48570
+ T
48571
48571
  ),
48572
- [i, A, D, I]
48572
+ [i, A, D, T]
48573
48573
  ), pe = W(() => ms("ag-body", A), [A]), M = W(
48574
- () => ms("ag-floating-top", y ? "ag-invisible" : null, I),
48575
- [I, y]
48576
- ), q = W(() => ms("ag-sticky-top", I), [I]), be = W(
48577
- () => ms("ag-sticky-bottom", m === "0px" ? "ag-invisible" : null, I),
48578
- [I, m]
48574
+ () => ms("ag-floating-top", y ? "ag-invisible" : null, T),
48575
+ [T, y]
48576
+ ), q = W(() => ms("ag-sticky-top", T), [T]), be = W(
48577
+ () => ms("ag-sticky-bottom", m === "0px" ? "ag-invisible" : null, T),
48578
+ [T, m]
48579
48579
  ), Pe = W(
48580
- () => ms("ag-floating-bottom", R ? "ag-invisible" : null, I),
48581
- [I, R]
48580
+ () => ms("ag-floating-bottom", R ? "ag-invisible" : null, T),
48581
+ [T, R]
48582
48582
  ), K = W(
48583
48583
  () => ({
48584
48584
  height: o,
@@ -48702,8 +48702,8 @@ var eB = 1e3, tB = class {
48702
48702
  const S = P((k) => {
48703
48703
  if (f.current = k, g.current = k ? e.createBean(new FP()) : e.destroyBean(g.current), !k || e.isDestroyed())
48704
48704
  return;
48705
- const I = g.current;
48706
- w.current = I.focusInnerElement.bind(I);
48705
+ const T = g.current;
48706
+ w.current = T.focusInnerElement.bind(T);
48707
48707
  const O = {
48708
48708
  destroyGridUi: () => {
48709
48709
  },
@@ -48738,11 +48738,11 @@ var eB = 1e3, tB = class {
48738
48738
  setCursor: r,
48739
48739
  setUserSelect: l
48740
48740
  };
48741
- I.setComp(O, k, k), d(!0);
48741
+ T.setComp(O, k, k), d(!0);
48742
48742
  }, []);
48743
48743
  Se(() => {
48744
- const k = g.current, I = f.current;
48745
- if (!u || !k || !v || !I || 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;
@@ -48757,7 +48757,7 @@ var eB = 1e3, tB = class {
48757
48757
  const U = e.createBean(
48758
48758
  new Y.component()
48759
48759
  ), Q = U.getGui();
48760
- I.insertAdjacentElement("afterbegin", Q), G.push(Q), O.push(U), x.current.push(...U.getFocusableContainers?.() ?? []);
48760
+ T.insertAdjacentElement("afterbegin", Q), G.push(Q), O.push(U), x.current.push(...U.getFocusableContainers?.() ?? []);
48761
48761
  }
48762
48762
  if (_) {
48763
48763
  const U = e.createBean(new _.component()), Q = U.getGui(), se = v.querySelector(".ag-tab-guard-bottom");
@@ -48765,7 +48765,7 @@ var eB = 1e3, tB = class {
48765
48765
  }
48766
48766
  const H = (U) => {
48767
48767
  const Q = e.createBean(new U()), se = Q.getGui();
48768
- return I.insertAdjacentElement("beforeend", se), G.push(se), O.push(Q), Q;
48768
+ return T.insertAdjacentElement("beforeend", se), G.push(se), O.push(Q), Q;
48769
48769
  };
48770
48770
  if (B) {
48771
48771
  const U = H(B.component);
@@ -48794,13 +48794,13 @@ var eB = 1e3, tB = class {
48794
48794
  cursor: o ?? ""
48795
48795
  }),
48796
48796
  [a, o]
48797
- ), T = P((k) => {
48797
+ ), I = P((k) => {
48798
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: T,
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 T = new OB(), E = {
48897
+ const I = new OB(), E = {
48898
48898
  providedBeanInstances: {
48899
48899
  frameworkCompWrapper: new jB(o.current, R),
48900
- renderStatus: T
48900
+ renderStatus: I
48901
48901
  },
48902
48902
  modules: S,
48903
48903
  frameworkOverrides: D,
48904
48904
  setThemeOnGridDiv: !0
48905
48905
  }, k = (A) => {
48906
- g(A), A.createBean(T), r.current.push(() => {
48906
+ g(A), A.createBean(I), r.current.push(() => {
48907
48907
  A.destroy();
48908
48908
  }), A.getBean("ctrlsSvc").whenReady(
48909
48909
  {
@@ -48918,7 +48918,7 @@ var eB = 1e3, tB = class {
48918
48918
  V && e.passGridApi?.(V);
48919
48919
  }
48920
48920
  );
48921
- }, I = (A) => {
48921
+ }, T = (A) => {
48922
48922
  A.getBean("ctrlsSvc").whenReady(
48923
48923
  {
48924
48924
  addDestroyFunc: (V) => {
@@ -48936,7 +48936,7 @@ var eB = 1e3, tB = class {
48936
48936
  y,
48937
48937
  R,
48938
48938
  k,
48939
- I,
48939
+ T,
48940
48940
  E
48941
48941
  ), r.current.push(() => {
48942
48942
  i.current = void 0;
@@ -49042,14 +49042,14 @@ var jB = class extends MH {
49042
49042
  return;
49043
49043
  }
49044
49044
  const F = {
49045
- toggleCss: (T, E) => l((k) => k.setClass(T, E)),
49046
- toggleDetailGridCss: (T, E) => d((k) => k.setClass(T, E)),
49047
- setDetailGrid: (T) => p(T),
49048
- setRowData: (T) => f(T),
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 T = () => {
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, T), T();
49060
+ C.current = Fi(s, R, I), I();
49061
49061
  }
49062
49062
  }, []), S = P((R) => {
49063
49063
  m.current?.registerDetailWithMaster(R);
@@ -49350,15 +49350,15 @@ 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), T = c !== void 0, E = T ? !!c : F, k = z(null), I = P(
49353
+ const [F, D] = N(d), I = c !== void 0, E = I ? !!c : F, k = z(null), T = P(
49354
49354
  (M) => {
49355
- T || D(M), u?.(M);
49355
+ I || D(M), u?.(M);
49356
49356
  },
49357
- [T, 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,
49361
- onOpenChange: I,
49361
+ onOpenChange: T,
49362
49362
  whileElementsMounted: Aa,
49363
49363
  middleware: [
49364
49364
  La({ mainAxis: Io, crossAxis: 0 }),
@@ -49426,26 +49426,26 @@ const ZB = "rounded bg-layer-0 shadow", Id = ({
49426
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
- )), I(!0));
49429
+ )), T(!0));
49430
49430
  },
49431
- [y, l, I, Fe, r]
49431
+ [y, l, T, Fe, r]
49432
49432
  ), ge = P(
49433
49433
  (M) => {
49434
- !y || l || (r.includes(Nt.ContextMenu) && E && I(!1), Fe(M.clientX, M.clientY), k.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
  ));
49438
49438
  },
49439
- [y, l, Fe, E, r, I]
49439
+ [y, l, Fe, E, r, T]
49440
49440
  );
49441
49441
  Se(() => {
49442
- l && E && I(!1);
49443
- }, [l, E, I]);
49442
+ l && E && T(!1);
49443
+ }, [l, E, T]);
49444
49444
  const Me = P(
49445
49445
  (M) => (q) => {
49446
- M.disabled || (M.onClick?.({ key: M.key, domEvent: q }), s?.({ key: M.key, domEvent: q }), I(!1));
49446
+ M.disabled || (M.onClick?.({ key: M.key, domEvent: q }), s?.({ key: M.key, domEvent: q }), T(!1));
49447
49447
  },
49448
- [s, I]
49448
+ [s, T]
49449
49449
  ), ie = W(() => o ? o() : t ? /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
49450
49450
  i && /* @__PURE__ */ h.jsx(h.Fragment, { children: typeof i == "function" ? i() : i }),
49451
49451
  /* @__PURE__ */ h.jsx(
@@ -49478,7 +49478,7 @@ const ZB = "rounded bg-layer-0 shadow", Id = ({
49478
49478
  QB,
49479
49479
  {
49480
49480
  item: M,
49481
- onRootClose: () => I(!1)
49481
+ onRootClose: () => T(!1)
49482
49482
  },
49483
49483
  M.key
49484
49484
  ) : /* @__PURE__ */ h.jsxs(
@@ -49531,7 +49531,7 @@ const ZB = "rounded bg-layer-0 shadow", Id = ({
49531
49531
  n,
49532
49532
  i,
49533
49533
  o,
49534
- I,
49534
+ T,
49535
49535
  m,
49536
49536
  v
49537
49537
  ]), pe = Q({
@@ -49545,12 +49545,12 @@ const ZB = "rounded bg-layer-0 shadow", Id = ({
49545
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
- Pe.isIntersecting || I(!1);
49548
+ Pe.isIntersecting || T(!1);
49549
49549
  },
49550
49550
  { root: null, threshold: 0 }
49551
49551
  );
49552
49552
  return be.observe(q), () => be.disconnect();
49553
- }, [E, V.reference, I]), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
49553
+ }, [E, V.reference, T]), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
49554
49554
  /* @__PURE__ */ h.jsx(
49555
49555
  "span",
49556
49556
  {
@@ -49592,7 +49592,7 @@ const ZB = "rounded bg-layer-0 shadow", Id = ({
49592
49592
  {
49593
49593
  ariaLabel: "Close dropdown",
49594
49594
  onClose: (M) => {
49595
- g?.(M), I(!1);
49595
+ g?.(M), T(!1);
49596
49596
  }
49597
49597
  }
49598
49598
  ) }),
@@ -49684,9 +49684,9 @@ const Kx = ({
49684
49684
  allowDisabledContextMenu: x = !1,
49685
49685
  selectionMode: y
49686
49686
  }) => {
49687
- const [S, R] = N(), F = Os(), D = Ha(), T = nG(), E = z(/* @__PURE__ */ new Set()), k = z(
49687
+ const [S, R] = N(), F = Os(), D = Ha(), I = nG(), E = z(/* @__PURE__ */ new Set()), k = z(
49688
49688
  void 0
49689
- ), I = W(
49689
+ ), T = W(
49690
49690
  () => ({
49691
49691
  ...ih,
49692
49692
  oddRowBackgroundColor: p ? ih.oddRowBackgroundColor : ih.backgroundColor,
@@ -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 || T || l && l.size > 0 ? `${M} ${q}` : !l || l.size === 0 ? M : `${M} ${q}`;
49765
- }, [D, T, l]), H = P(() => D || T ? G() : !l || l.size === 0 ? "dial-row-not-select-header" : G(), [G, D, T, 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,
@@ -49946,7 +49946,7 @@ const Kx = ({
49946
49946
  headerHeight: Jv,
49947
49947
  rowHeight: Jv,
49948
49948
  cellSelection: !1,
49949
- theme: TI.withPart(rI).withParams({ ...I }),
49949
+ theme: TI.withPart(rI).withParams({ ...T }),
49950
49950
  autoSizeStrategy: { type: "fitGridWidth" },
49951
49951
  columnDefs: se,
49952
49952
  defaultColDef: Fe,
@@ -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), T = 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"
@@ -50117,7 +50117,7 @@ const $r = ({
50117
50117
  left: Y,
50118
50118
  behavior: "smooth"
50119
50119
  });
50120
- }, []), I = P(
50120
+ }, []), T = P(
50121
50121
  (O) => {
50122
50122
  s(O), O === t && k();
50123
50123
  },
@@ -50143,7 +50143,7 @@ const $r = ({
50143
50143
  tab: O,
50144
50144
  active: t === O.id,
50145
50145
  view: Yo.Inline,
50146
- onClick: I,
50146
+ onClick: T,
50147
50147
  className: p
50148
50148
  },
50149
50149
  O.id
@@ -50171,7 +50171,7 @@ const $r = ({
50171
50171
  tab: O,
50172
50172
  active: O.id === t,
50173
50173
  onClick: (A) => {
50174
- I(A), f(!1);
50174
+ T(A), f(!1);
50175
50175
  },
50176
50176
  className: L(
50177
50177
  "w-full rounded-none h-11 items-center px-6",
@@ -50186,7 +50186,7 @@ const $r = ({
50186
50186
  {
50187
50187
  tab: D,
50188
50188
  active: !0,
50189
- onClick: I,
50189
+ onClick: T,
50190
50190
  className: "rounded-none bg-transparent border-l-0 border-b-0 h-full items-center px-0"
50191
50191
  },
50192
50192
  t
@@ -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: T, 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,
@@ -50223,7 +50223,7 @@ const $r = ({
50223
50223
  {
50224
50224
  tab: O,
50225
50225
  active: t === O.id,
50226
- onClick: I,
50226
+ onClick: T,
50227
50227
  horizontal: y,
50228
50228
  className: L("w-full", d)
50229
50229
  }
@@ -50244,7 +50244,7 @@ const $r = ({
50244
50244
  tab: O,
50245
50245
  active: O.id === t,
50246
50246
  onClick: (A) => {
50247
- I(A), v(!1);
50247
+ T(A), v(!1);
50248
50248
  },
50249
50249
  className: "w-full rounded-none h-8 items-center px-3 py-2"
50250
50250
  },
@@ -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
- }, []), T = P(() => {
50892
+ }, []), I = P(() => {
50893
50893
  if (!c) return;
50894
50894
  const _ = f.current;
50895
50895
  if (!_) return;
@@ -50919,7 +50919,7 @@ const SG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RG = "te
50919
50919
  }
50920
50920
  }, k = (_) => {
50921
50921
  (_.key === "," || _.key === "Enter") && (_.preventDefault(), E(b), x(""));
50922
- }, I = () => {
50922
+ }, T = () => {
50923
50923
  b.trim() && (E(b), x(""));
50924
50924
  }, O = (_) => {
50925
50925
  const B = C.filter((Y, G) => G !== _);
@@ -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
- T();
50944
+ I();
50945
50945
  }), B = f.current;
50946
- return B && _.observe(B), T(), () => _.disconnect();
50947
- }, [c, T, 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(
@@ -50985,7 +50985,7 @@ const SG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RG = "te
50985
50985
  value: b,
50986
50986
  onChange: (_) => x(_.target.value),
50987
50987
  onKeyDown: k,
50988
- onBlur: I,
50988
+ onBlur: T,
50989
50989
  className: ue(
50990
50990
  "dial-input outline-none !border-none w-full flex-1 !p-1 !h-auto",
50991
50991
  c ? "min-w-0" : "min-w-[100px]"
@@ -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]), T = P(() => {
51245
+ }, [d]), I = P(() => {
51246
51246
  f?.(), D();
51247
51247
  }, [f, D]), E = P(() => {
51248
51248
  g(), D();
@@ -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: T,
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: T
51276
+ onClick: I
51277
51277
  }
51278
51278
  ),
51279
51279
  /* @__PURE__ */ h.jsx(
@@ -51777,10 +51777,10 @@ 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: T,
51780
+ onChange: I,
51781
51781
  inlineSearch: E = !1,
51782
51782
  dismissRef: k,
51783
- onFooterClick: I,
51783
+ onFooterClick: T,
51784
51784
  open: O,
51785
51785
  onOpenChange: A,
51786
51786
  onInlineQueryChange: V,
@@ -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), T?.(Z);
51814
+ Me || pe(Z), I?.(Z);
51815
51815
  },
51816
- [Me, T]
51816
+ [Me, I]
51817
51817
  ), fe = P(
51818
51818
  (Z) => {
51819
51819
  if (t) {
@@ -52090,7 +52090,7 @@ const WG = "dial-input flex w-full items-center justify-between gap-2 dial-small
52090
52090
  "div",
52091
52091
  {
52092
52092
  onClick: (Z) => {
52093
- I?.(Z), I && Q(!1);
52093
+ T?.(Z), T && Q(!1);
52094
52094
  },
52095
52095
  children: typeof F == "function" ? F() : F
52096
52096
  }
@@ -52821,7 +52821,7 @@ const cV = function(t, s, i) {
52821
52821
  Se(() => {
52822
52822
  R();
52823
52823
  }, [n]);
52824
- const [{ isOver: D, canDrop: T }, E] = $p(
52824
+ const [{ isOver: D, canDrop: I }, E] = $p(
52825
52825
  () => ({
52826
52826
  accept: [kd],
52827
52827
  drop(V) {
@@ -52840,7 +52840,7 @@ const cV = function(t, s, i) {
52840
52840
  [e, d, u, y]
52841
52841
  ), k = (V) => {
52842
52842
  (V.key === "Enter" || V.key === "Space") && (V.preventDefault(), g.current?.click());
52843
- }, I = (V) => {
52843
+ }, T = (V) => {
52844
52844
  V?.preventDefault();
52845
52845
  const _ = Array.from(V.dataTransfer?.items ?? []);
52846
52846
  C(!!d?.(_)), b(!!u?.(_)), m(_);
@@ -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
- !T && !S && "border-primary",
52852
- T && (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: [
@@ -52858,7 +52858,7 @@ const cV = function(t, s, i) {
52858
52858
  {
52859
52859
  className: A,
52860
52860
  ref: p,
52861
- onDragOver: I,
52861
+ onDragOver: T,
52862
52862
  onDragLeave: O,
52863
52863
  children: [
52864
52864
  /* @__PURE__ */ h.jsxs(
@@ -52938,9 +52938,9 @@ const cV = function(t, s, i) {
52938
52938
  () => ({
52939
52939
  accept: [kd],
52940
52940
  drop(D) {
52941
- const T = D.files, E = [...t, ...T], k = i?.(T) ?? !1, I = n?.(T) ?? !1, O = C?.(T) ?? !1;
52942
- if (u(k), g(I), k || I || O) {
52943
- m(T.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 T = Array.from(D.dataTransfer?.items ?? []);
52964
- u(!!i?.(T)), g(!1), m(T.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((T) => {
53080
- const E = T.size;
53079
+ return F?.some((I) => {
53080
+ const E = I.size;
53081
53081
  return !!E && E > D;
53082
53082
  });
53083
53083
  },
@@ -53094,8 +53094,8 @@ const cV = function(t, s, i) {
53094
53094
  (F) => {
53095
53095
  const D = F.target.files;
53096
53096
  if (D && D.length > 0) {
53097
- const T = Array.from(D), E = x(T), k = y(T);
53098
- !E && !k && e([...i || [], ...T]);
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,7 +53293,7 @@ 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, T] = N(
53296
+ ), [D, I] = N(
53297
53297
  ls.ReplaceAll
53298
53298
  ), [E, k] = N(
53299
53299
  new Map(
@@ -53302,7 +53302,7 @@ const dC = ({
53302
53302
  Dt.Replace
53303
53303
  ])
53304
53304
  )
53305
- ), [I, O] = N(
53305
+ ), [T, O] = N(
53306
53306
  void 0
53307
53307
  ), A = m ? r : a, V = /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
53308
53308
  "Item with the name ",
@@ -53383,7 +53383,7 @@ const dC = ({
53383
53383
  }
53384
53384
  ], Me = ge.find(
53385
53385
  (pe) => pe.key === ee.data.action
53386
- ), ie = I === ee.data.path;
53386
+ ), ie = T === ee.data.path;
53387
53387
  return /* @__PURE__ */ h.jsx("div", { className: "flex items-center h-full", children: /* @__PURE__ */ h.jsx(
53388
53388
  jt,
53389
53389
  {
@@ -53431,7 +53431,7 @@ const dC = ({
53431
53431
  C,
53432
53432
  w,
53433
53433
  b,
53434
- I
53434
+ T
53435
53435
  ]), U = W(
53436
53436
  () => [
53437
53437
  {
@@ -53469,7 +53469,7 @@ const dC = ({
53469
53469
  G
53470
53470
  ]
53471
53471
  ), Q = P(() => {
53472
- F(Dt.Replace), T(ls.ReplaceAll), k(
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) => T(ee),
53541
+ onChange: (ee) => I(ee),
53542
53542
  formItemChildrenClassName: "gap-3"
53543
53543
  }
53544
53544
  )
@@ -56423,7 +56423,7 @@ 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 T = D.name, E = F.has(T), k = y && E ? T : fC(T, F, D.nodeType);
56426
+ const I = D.name, E = F.has(I), k = y && E ? I : fC(I, F, D.nodeType);
56427
56427
  return (!y || !E) && F.add(k), {
56428
56428
  sourceUrl: D.path,
56429
56429
  destinationUrl: `${b}/${k}`,
@@ -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((T) => y.get(T.path) !== Dt.Cancel).map((T) => {
56441
- const E = y.get(T.path), k = F.has(T.name), I = E === Dt.Replace && k, O = I ? T.name : fC(T.name, F, T.nodeType);
56442
- return I || F.add(O), {
56443
- sourceUrl: T.path,
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
+ return T || F.add(O), {
56443
+ sourceUrl: I.path,
56444
56444
  destinationUrl: `${b}/${O}`,
56445
- overwrite: I,
56446
- nodeType: T.nodeType ?? Te.ITEM,
56445
+ overwrite: T,
56446
+ nodeType: I.nodeType ?? Te.ITEM,
56447
56447
  ...S ?? {}
56448
56448
  };
56449
56449
  });
@@ -56559,10 +56559,10 @@ const _V = (e) => {
56559
56559
  startConflictResolution: R,
56560
56560
  resolveConflictsWithStrategy: F,
56561
56561
  closeConflictResolution: D,
56562
- openConflictResolution: T,
56562
+ openConflictResolution: I,
56563
56563
  handleReplaceAll: E,
56564
56564
  handleDuplicateAll: k,
56565
- handleCancelAll: I,
56565
+ handleCancelAll: T,
56566
56566
  handleDecideForEach: O
56567
56567
  } = v0({
56568
56568
  getDestinationFiles: e,
@@ -56626,8 +56626,8 @@ const _V = (e) => {
56626
56626
  }, [E, A]), Y = P(() => {
56627
56627
  k(), A();
56628
56628
  }, [k, A]), G = P(() => {
56629
- I(), A();
56630
- }, [I, A]), H = P(
56629
+ T(), A();
56630
+ }, [T, A]), H = P(
56631
56631
  (ie) => {
56632
56632
  O(ie), A();
56633
56633
  },
@@ -56681,7 +56681,7 @@ const _V = (e) => {
56681
56681
  clearState: A,
56682
56682
  conflictingFiles: x,
56683
56683
  conflictResolutionOpen: y,
56684
- openConflictResolution: T,
56684
+ openConflictResolution: I,
56685
56685
  closeConflictResolution: D,
56686
56686
  handleConflictReplace: B,
56687
56687
  handleConflictCancel: G,
@@ -56778,10 +56778,10 @@ const _V = (e) => {
56778
56778
  x(/* @__PURE__ */ new Map()), S(null);
56779
56779
  }, []), {
56780
56780
  conflictingFiles: D,
56781
- conflictResolutionOpen: T,
56781
+ conflictResolutionOpen: I,
56782
56782
  hasActiveConflictRef: E,
56783
56783
  startConflictResolution: k,
56784
- closeConflictResolution: I,
56784
+ closeConflictResolution: T,
56785
56785
  openConflictResolution: O,
56786
56786
  handleReplaceAll: A,
56787
56787
  handleDuplicateAll: V,
@@ -56813,10 +56813,10 @@ const _V = (e) => {
56813
56813
  }
56814
56814
  });
56815
56815
  Se(() => {
56816
- a && w || (d(!1), p(!1), f(void 0), I(), F());
56816
+ a && w || (d(!1), p(!1), f(void 0), T(), F());
56817
56817
  }, [
56818
56818
  a,
56819
- I,
56819
+ T,
56820
56820
  F,
56821
56821
  w
56822
56822
  ]), Se(() => {
@@ -56912,8 +56912,8 @@ const _V = (e) => {
56912
56912
  },
56913
56913
  [B, F]
56914
56914
  ), ee = P(() => {
56915
- I(), E.current || F();
56916
- }, [I, E, F]), ge = P(
56915
+ T(), E.current || F();
56916
+ }, [T, E, F]), ge = P(
56917
56917
  (K) => {
56918
56918
  !a || !w || (K.preventDefault(), K.stopPropagation(), K.dataTransfer.types.includes("Files") && d(!0));
56919
56919
  },
@@ -57087,7 +57087,7 @@ const _V = (e) => {
57087
57087
  openArchiveDialog: be,
57088
57088
  fileInputRef: m,
57089
57089
  uploadConflictingFiles: D,
57090
- uploadConflictResolutionOpen: T,
57090
+ uploadConflictResolutionOpen: I,
57091
57091
  hasActiveUploadConflictRef: E,
57092
57092
  openUploadConflictResolution: O,
57093
57093
  closeUploadConflictResolution: ee,
@@ -57364,28 +57364,28 @@ const rj = ({
57364
57364
  const x = P(() => {
57365
57365
  if (o) return;
57366
57366
  C.current = e?.path || "/";
57367
- const k = `__new_folder_${Date.now()}`, I = (e?.items ?? []).filter(
57367
+ const k = `__new_folder_${Date.now()}`, T = (e?.items ?? []).filter(
57368
57368
  (A) => A.nodeType === Te.FOLDER
57369
- ), O = qr(I);
57369
+ ), O = qr(T);
57370
57370
  l(k), v(O), r(!0), d(Ps.Folder), p(e || null);
57371
57371
  }, [o, e]), y = P(
57372
57372
  (k) => {
57373
57373
  if (o) return;
57374
57374
  C.current = k?.parentPath || "/";
57375
- const I = `__new_folder_${Date.now()}`, A = (Qo(n, k?.parentPath || "/")?.items ?? []).filter(
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(I), r(!0), d(Ps.Sibling), p(k), f(k?.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
57382
  (k) => {
57383
57383
  if (o) return;
57384
57384
  C.current = k.path;
57385
- const I = `__new_folder_${Date.now()}`, O = (k?.items ?? []).filter(
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(I), r(!0), d(Ps.Child), p(k), f(k?.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(
@@ -57402,29 +57402,29 @@ const rj = ({
57402
57402
  (k) => {
57403
57403
  if (o) return;
57404
57404
  C.current = k.path;
57405
- const I = (k?.items ?? []).filter(
57405
+ const T = (k?.items ?? []).filter(
57406
57406
  (A) => A.nodeType === Te.FOLDER
57407
- ), O = qr(I);
57407
+ ), O = qr(T);
57408
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
- }, []), T = P(
57413
+ }, []), I = P(
57414
57414
  (k) => {
57415
- const I = k.trim();
57416
- if (!I)
57415
+ const T = k.trim();
57416
+ if (!T)
57417
57417
  return w.emptyName;
57418
- if (I.includes(".."))
57418
+ if (T.includes(".."))
57419
57419
  return w.consecutiveDotsError;
57420
- if (I.startsWith(".") && I.length > 1)
57420
+ if (T.startsWith(".") && T.length > 1)
57421
57421
  return w.hiddenItemWarning;
57422
57422
  if (b && b.items && new Set(
57423
57423
  (b.items ?? []).filter((A) => A.nodeType === Te.FOLDER).map((A) => A.name.toLowerCase())
57424
- ).has(I.toLowerCase()))
57424
+ ).has(T.toLowerCase()))
57425
57425
  return w.duplicateName;
57426
57426
  if (s && b) {
57427
- const O = s(I, b);
57427
+ const O = s(T, b);
57428
57428
  if (O)
57429
57429
  return O;
57430
57430
  }
@@ -57433,11 +57433,11 @@ const rj = ({
57433
57433
  [b, s, w]
57434
57434
  ), E = P(
57435
57435
  async (k) => {
57436
- const I = k.trim();
57437
- if (!I)
57436
+ const T = k.trim();
57437
+ if (!T)
57438
57438
  return;
57439
57439
  D();
57440
- const A = `${b?.path ?? "/"}/${I}`, V = `${A}/${dh}`, B = {
57440
+ const A = `${b?.path ?? "/"}/${T}`, V = `${A}/${dh}`, B = {
57441
57441
  fileContent: new File([], dh, {
57442
57442
  type: "text/plain"
57443
57443
  }),
@@ -57459,7 +57459,7 @@ const rj = ({
57459
57459
  startTreeChildFolderCreation: F,
57460
57460
  cancelFolderCreation: D,
57461
57461
  saveFolderCreation: E,
57462
- validateFolderName: T
57462
+ validateFolderName: I
57463
57463
  };
57464
57464
  }, dj = ({
57465
57465
  additionalButtons: e,
@@ -57645,10 +57645,10 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
57645
57645
  onTableFileClick: R,
57646
57646
  handleSelectionClick: F,
57647
57647
  onGridApiChange: D,
57648
- onCopyFiles: T,
57648
+ onCopyFiles: I,
57649
57649
  onMoveToFiles: E,
57650
57650
  onDeleteFiles: k,
57651
- onDownloadFiles: I,
57651
+ onDownloadFiles: T,
57652
57652
  onRenameValidate: O,
57653
57653
  renameValidationMessages: A,
57654
57654
  forbiddenSymbolsRegExp: V = vj,
@@ -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: T,
57849
+ onCopyFiles: I,
57850
57850
  onMoveToFiles: E,
57851
57851
  onCopySuccess: ni,
57852
57852
  onMoveSuccess: ni,
@@ -57867,7 +57867,7 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
57867
57867
  onDeleteFiles: k,
57868
57868
  onDeleteSuccess: ni
57869
57869
  }), { handleDownloadFiles: Ai } = JV({
57870
- onDownloadFiles: I,
57870
+ onDownloadFiles: T,
57871
57871
  customDownloadItemsAction: rt,
57872
57872
  onDownloadSuccess: ni
57873
57873
  }), {
@@ -58453,7 +58453,7 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
58453
58453
  processDestinationFolderPath: y,
58454
58454
  ...S
58455
58455
  }) => {
58456
- const [R, F] = N(!1), [D, T] = N(!1), E = z(null), k = Ha(), I = 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(), T(!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), T(!1);
58472
+ F((Y) => !Y), I(!1);
58473
58473
  }
58474
58474
  }), B;
58475
58475
  }, [
@@ -58507,7 +58507,7 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
58507
58507
  {
58508
58508
  items: O,
58509
58509
  open: D,
58510
- onOpenChange: T,
58510
+ onOpenChange: I,
58511
58511
  children: /* @__PURE__ */ h.jsx(
58512
58512
  Ri,
58513
58513
  {
@@ -58541,7 +58541,7 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
58541
58541
  {
58542
58542
  label: c,
58543
58543
  isOn: R,
58544
- onChange: I,
58544
+ onChange: T,
58545
58545
  switchId: "hidden-files-switch-modal"
58546
58546
  }
58547
58547
  ) }) })
@@ -58580,7 +58580,7 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
58580
58580
  actionsRef: E,
58581
58581
  path: w,
58582
58582
  showHiddenFiles: R,
58583
- onShowHiddenFilesChange: I,
58583
+ onShowHiddenFilesChange: T,
58584
58584
  treeOptions: {
58585
58585
  ...S.treeOptions,
58586
58586
  collapsed: b,
@@ -58829,25 +58829,25 @@ 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 T = [...D];
58832
+ const I = [...D];
58833
58833
  let E = 0;
58834
58834
  if (a) {
58835
- const I = CC(a);
58836
- if (I.length) {
58835
+ const T = CC(a);
58836
+ if (T.length) {
58837
58837
  const O = D.findIndex(
58838
- (A, V) => I.every((_, B) => D[V + B] === _)
58838
+ (A, V) => T.every((_, B) => D[V + B] === _)
58839
58839
  );
58840
- O !== -1 && (E = I.length, D = [
58840
+ O !== -1 && (E = T.length, D = [
58841
58841
  ...D.slice(0, O),
58842
- ...D.slice(O + I.length)
58842
+ ...D.slice(O + T.length)
58843
58843
  ]);
58844
58844
  }
58845
58845
  }
58846
58846
  if (!D.length) return [{ label: "/" }];
58847
- const k = D.map((I, O) => {
58848
- const A = O < D.length - E ? O : O + E, V = T.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
- label: I,
58850
+ label: T,
58851
58851
  href: _,
58852
58852
  onClick: s ? (B) => {
58853
58853
  B.preventDefault(), s(_);
@@ -58855,11 +58855,11 @@ const Rj = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
58855
58855
  };
58856
58856
  });
58857
58857
  if (o && r) {
58858
- const I = o.split("/").filter(Boolean), O = i.split("/").filter(Boolean);
58859
- if (I.every(
58858
+ const T = o.split("/").filter(Boolean), O = i.split("/").filter(Boolean);
58859
+ if (T.every(
58860
58860
  (V, _) => O[_] === V
58861
58861
  ) && k.length > 0) {
58862
- const V = k.slice(I.length);
58862
+ const V = k.slice(T.length);
58863
58863
  return [
58864
58864
  {
58865
58865
  label: r,
@@ -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, T = "") => {
59245
- g(D), m(T);
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 T = o(D);
59251
- return T ? T.startsWith(`${Je.Warning}__`) ? (b(!1, T), !0) : (b(!0, T), !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 T = D ?? "";
59257
- u(T), x(T);
59256
+ const I = D ?? "";
59257
+ u(I), x(I);
59258
59258
  },
59259
59259
  [x]
59260
59260
  ), S = P(
@@ -59295,18 +59295,18 @@ function Bj({
59295
59295
  }, [t, s, e, b]), Se(() => {
59296
59296
  const D = v.current;
59297
59297
  if (!t && !s || !D) return;
59298
- const T = (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", T), () => D.removeEventListener("keydown", T);
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 T = (I) => I ? (D.closest(`[${S0}]`) ?? D).contains(I) : !1, E = (I) => {
59307
- T(I.target) || F();
59308
- }, k = (I) => {
59309
- T(I.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
59311
  return document.addEventListener("pointerdown", E, !0), D.addEventListener("blur", k), () => {
59312
59312
  document.removeEventListener("pointerdown", E, !0), D.removeEventListener("blur", k);
@@ -59428,14 +59428,14 @@ const Gj = ({
59428
59428
  onCreateFolderSave: g
59429
59429
  });
59430
59430
  if (!i && !o) {
59431
- const T = 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 = !!T;
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: T
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: T
59463
+ tooltipContent: I
59464
59464
  }
59465
59465
  );
59466
59466
  }
@@ -59509,12 +59509,12 @@ const Gj = ({
59509
59509
  forbiddenSymbolsTooltip: F,
59510
59510
  newFolderDefaultName: D
59511
59511
  }) => {
59512
- const { expandedPaths: T, togglePath: E } = x0({
59512
+ const { expandedPaths: I, togglePath: E } = x0({
59513
59513
  expandedPaths: s ?? /* @__PURE__ */ new Set(),
59514
59514
  onExpandedPathsChange: x
59515
59515
  }), k = (O) => {
59516
59516
  m?.(O), E(O.path);
59517
- }, I = (O, A, V) => {
59517
+ }, T = (O, A, V) => {
59518
59518
  let _ = O;
59519
59519
  return V && V.path === p && (_ = [
59520
59520
  {
@@ -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 = T.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
@@ -59628,11 +59628,11 @@ const Gj = ({
59628
59628
  )
59629
59629
  }
59630
59630
  ),
59631
- Fe && (U || B?.path === p) && I(U || [], A + 1, B)
59631
+ Fe && (U || B?.path === p) && T(U || [], A + 1, B)
59632
59632
  ] }) }, `${Y}-children`);
59633
59633
  });
59634
59634
  };
59635
- return /* @__PURE__ */ h.jsx("div", { className: "flex-1 size-full overflow-y-auto", "aria-label": "folders-tree", children: e.length > 0 ? I(e, 0) : /* @__PURE__ */ h.jsx(
59635
+ return /* @__PURE__ */ h.jsx("div", { className: "flex-1 size-full overflow-y-auto", "aria-label": "folders-tree", children: e.length > 0 ? T(e, 0) : /* @__PURE__ */ h.jsx(
59636
59636
  Ba,
59637
59637
  {
59638
59638
  title: a,
@@ -59904,7 +59904,7 @@ const Gj = ({
59904
59904
  forbiddenSymbolsTooltip: n.context.forbiddenSymbolsTooltip
59905
59905
  }
59906
59906
  );
59907
- const T = 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: !!T,
59924
- tooltipContent: T
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: !!T,
59935
- tooltipContent: T
59934
+ isInvalidName: !!I,
59935
+ tooltipContent: I
59936
59936
  }
59937
59937
  );
59938
59938
  }
@@ -60176,7 +60176,7 @@ 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("."), T = D.length > 1 ? D[D.length - 1] : "", E = T && m?.includes(`.${T}`);
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],
@@ -60190,8 +60190,8 @@ const Kj = () => {
60190
60190
  icon: /* @__PURE__ */ h.jsx(er, { ...de, className: "text-secondary" }),
60191
60191
  onClick: () => r(y, y.parentPath ?? "")
60192
60192
  });
60193
- const I = y.nodeType === Te.FOLDER || y.nodeType === Te.ITEM && v;
60194
- return e[te.Rename] && I && k && S.push({
60193
+ const T = y.nodeType === Te.FOLDER || y.nodeType === Te.ITEM && v;
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,10 +60305,10 @@ const Kj = () => {
60305
60305
  currentPath: R,
60306
60306
  gridRows: F,
60307
60307
  selectedPaths: D,
60308
- selectedFiles: T,
60308
+ selectedFiles: I,
60309
60309
  clearSelection: E,
60310
60310
  setSelectedPaths: k,
60311
- effectiveSearchValue: I,
60311
+ effectiveSearchValue: T,
60312
60312
  handleBreadcrumbItemClick: O,
60313
60313
  handleSearchChange: A,
60314
60314
  handleTreeItemClick: V,
@@ -60601,14 +60601,14 @@ const Kj = () => {
60601
60601
  ]
60602
60602
  ), fl = W(() => {
60603
60603
  const ne = /* @__PURE__ */ new Set();
60604
- return T.forEach((tt, pt) => ne.add(pt)), ne;
60605
- }, [T]), kr = P(
60604
+ return I.forEach((tt, pt) => ne.add(pt)), ne;
60605
+ }, [I]), kr = P(
60606
60606
  (ne, tt) => {
60607
60607
  k(ne), B?.(tt);
60608
60608
  },
60609
60609
  [B, k]
60610
60610
  ), ml = jj({
60611
- selectedFiles: T,
60611
+ selectedFiles: I,
60612
60612
  actionLabels: d?.actionLabels,
60613
60613
  onDuplicate: ee,
60614
60614
  onCopy: (ne) => {
@@ -60997,7 +60997,7 @@ const Kj = () => {
60997
60997
  onItemClick: O,
60998
60998
  rootItemPath: i?.path,
60999
60999
  rootItemLabel: i?.label,
61000
- value: I,
61000
+ value: T,
61001
61001
  onSearchChange: A,
61002
61002
  isCompactView: ps,
61003
61003
  labelClassName: "dial-tiny-text"
@@ -61779,8 +61779,8 @@ const Ta = ({
61779
61779
  const F = _e(
61780
61780
  { $ref: C[b] },
61781
61781
  o
61782
- ), { [v]: D, ...T } = F.properties ?? {};
61783
- return { ...F, properties: T };
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,7 +61813,7 @@ 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), T = b === F, { [v]: E, ...k } = D.properties ?? {}, I = {
61816
+ const D = _e({ $ref: C[F] }, o), I = b === F, { [v]: E, ...k } = D.properties ?? {}, T = {
61817
61817
  ...D,
61818
61818
  properties: k
61819
61819
  };
@@ -61825,15 +61825,15 @@ const Ta = ({
61825
61825
  value: F,
61826
61826
  inputId: `${l}-${F}`,
61827
61827
  label: D.title ?? F,
61828
- checked: T,
61828
+ checked: I,
61829
61829
  disabled: a,
61830
61830
  onChange: () => y(F)
61831
61831
  }
61832
61832
  ),
61833
- T && /* @__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
- schema: I,
61836
+ schema: T,
61837
61837
  value: t,
61838
61838
  onChange: s,
61839
61839
  path: i,
@@ -62183,7 +62183,7 @@ const Ta = ({
62183
62183
  value: b,
62184
62184
  disabled: u,
62185
62185
  invalid: F,
62186
- onChange: (I) => x(I ?? ""),
62186
+ onChange: (T) => x(T ?? ""),
62187
62187
  onBlur: () => {
62188
62188
  C(S), b !== t && n(b);
62189
62189
  },
@@ -62217,11 +62217,11 @@ const Ta = ({
62217
62217
  )
62218
62218
  ] });
62219
62219
  if (!y) return D;
62220
- const T = [...c, t], E = Cf(s, i, g), k = ui(
62220
+ const I = [...c, t], E = Cf(s, i, g), k = ui(
62221
62221
  s,
62222
62222
  i,
62223
62223
  g,
62224
- T.join(".")
62224
+ I.join(".")
62225
62225
  );
62226
62226
  return /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col gap-2", children: [
62227
62227
  D,
@@ -62239,7 +62239,7 @@ const Ta = ({
62239
62239
  schema: i,
62240
62240
  value: s,
62241
62241
  onChange: o,
62242
- path: T,
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-DEub-rvC.js").then((d) => {
62322
+ typeof window < "u" && import("./JsonEditor-Ce0Hs40A.js").then((d) => {
62323
62323
  r(() => d.DialJsonEditor);
62324
62324
  });
62325
62325
  }, []);
@@ -62474,15 +62474,15 @@ const Ta = ({
62474
62474
  d?.(v);
62475
62475
  }, []);
62476
62476
  const S = (E, k) => {
62477
- const I = { ...C, [E]: k };
62478
- w(I), l?.(I), c?.(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
- ), T = e.required ?? [];
62485
+ ), I = e.required ?? [];
62486
62486
  return /* @__PURE__ */ h.jsx(
62487
62487
  F0.Provider,
62488
62488
  {
@@ -62501,7 +62501,7 @@ const Ta = ({
62501
62501
  },
62502
62502
  children: /* @__PURE__ */ h.jsxs("div", { className: L("flex flex-col gap-4", i), children: [
62503
62503
  D.map(([E, k]) => {
62504
- const I = _e(k, e), O = I.title ?? k.title ?? Yc(E), A = T.includes(E), V = C[E];
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,
@@ -62531,12 +62531,12 @@ const Ta = ({
62531
62531
  }
62532
62532
  )
62533
62533
  ] }, E);
62534
- const _ = ui(V, I, e, E), B = E + ".", Y = !p || b.has(E) || [...b].some((G) => G.startsWith(B));
62534
+ const _ = ui(V, T, e, E), B = E + ".", Y = !p || b.has(E) || [...b].some((G) => G.startsWith(B));
62535
62535
  return /* @__PURE__ */ h.jsx(
62536
62536
  Ta,
62537
62537
  {
62538
62538
  title: O,
62539
- description: I.description,
62539
+ description: T.description,
62540
62540
  level: 0,
62541
62541
  defaultExpanded: o,
62542
62542
  errorCount: Y ? A && Ad(V) ? Math.max(_.length, 1) : _.length : 0,
@@ -62556,7 +62556,7 @@ const Ta = ({
62556
62556
  );
62557
62557
  }),
62558
62558
  F.map((E) => {
62559
- const k = Yc(E), I = /* @__PURE__ */ h.jsx(
62559
+ const k = Yc(E), T = /* @__PURE__ */ h.jsx(
62560
62560
  M0,
62561
62561
  {
62562
62562
  value: C[E],
@@ -62570,12 +62570,12 @@ const Ta = ({
62570
62570
  title: k,
62571
62571
  level: 0,
62572
62572
  defaultExpanded: o,
62573
- children: I
62573
+ children: T
62574
62574
  },
62575
62575
  E
62576
62576
  ) : /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col gap-3", children: [
62577
62577
  /* @__PURE__ */ h.jsx("h2", { className: "dial-small-semi-text text-primary", children: k }),
62578
- I
62578
+ T
62579
62579
  ] }, E);
62580
62580
  })
62581
62581
  ] })
@@ -63096,26 +63096,26 @@ const yC = {
63096
63096
  ), R = W(() => Mz(u), [u]), F = W(
63097
63097
  () => Ez(b.getFullYear(), b.getMonth()),
63098
63098
  [b]
63099
- ), D = (I) => {
63099
+ ), D = (T) => {
63100
63100
  x(
63101
- (O) => new Date(O.getFullYear(), O.getMonth() + I, 1)
63101
+ (O) => new Date(O.getFullYear(), O.getMonth() + T, 1)
63102
63102
  );
63103
- }, T = (I, O) => {
63104
- if (EC(I, c, d)) return;
63105
- const A = e === vs.DateTime && f ? PC(I, Ul(f)) : I;
63103
+ }, I = (T, O) => {
63104
+ if (EC(T, c, d)) return;
63105
+ const A = e === vs.DateTime && f ? PC(T, Ul(f)) : T;
63106
63106
  s?.(A), e === vs.Date && O();
63107
- }, E = (I) => {
63108
- s?.(PC(f ?? /* @__PURE__ */ new Date(), I));
63107
+ }, E = (T) => {
63108
+ s?.(PC(f ?? /* @__PURE__ */ new Date(), T));
63109
63109
  }, k = () => f ? e === vs.DateTime ? `${DC(f, u)}, ${Ul(f)}` : DC(f, u) : g;
63110
63110
  if (e === vs.Time) {
63111
- const I = typeof t == "string" ? t : f ? Ul(f) : "";
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: [
63113
63113
  i && /* @__PURE__ */ h.jsx(Jo, { id: C, label: i, htmlFor: v }),
63114
63114
  /* @__PURE__ */ h.jsx(
63115
63115
  IC,
63116
63116
  {
63117
63117
  id: v,
63118
- value: I,
63118
+ value: T,
63119
63119
  onChange: (O) => s?.(O),
63120
63120
  disabled: o,
63121
63121
  invalid: r,
@@ -63126,7 +63126,7 @@ const yC = {
63126
63126
  ] });
63127
63127
  }
63128
63128
  if (e === vs.Weekday) {
63129
- const I = typeof t == "string" ? t : void 0, O = R.find((A) => A.value === I);
63129
+ const T = typeof t == "string" ? t : void 0, O = R.find((A) => A.value === T);
63130
63130
  return /* @__PURE__ */ h.jsxs("div", { className: L("flex flex-col gap-y-3", l), children: [
63131
63131
  i && /* @__PURE__ */ h.jsx(Jo, { id: C, label: i, htmlFor: v }),
63132
63132
  /* @__PURE__ */ h.jsx(
@@ -63169,11 +63169,11 @@ const yC = {
63169
63169
  {
63170
63170
  type: "button",
63171
63171
  role: "option",
63172
- "aria-selected": V.value === I,
63172
+ "aria-selected": V.value === T,
63173
63173
  className: L(
63174
63174
  "flex w-full items-center rounded-lg px-3 py-2 text-left dial-small-text text-primary hover:bg-accent-primary-alpha",
63175
63175
  "focus-visible:outline focus-visible:outline-focus-black",
63176
- V.value === I && "bg-accent-primary-alpha"
63176
+ V.value === T && "bg-accent-primary-alpha"
63177
63177
  ),
63178
63178
  onClick: () => {
63179
63179
  s?.(V.value), A();
@@ -63212,7 +63212,7 @@ const yC = {
63212
63212
  ),
63213
63213
  Fz
63214
63214
  ] }),
63215
- panel: (I) => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
63215
+ panel: (T) => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
63216
63216
  /* @__PURE__ */ h.jsxs("div", { className: "flex items-center justify-between", children: [
63217
63217
  /* @__PURE__ */ h.jsx(
63218
63218
  SC,
@@ -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: () => T(O, I),
63271
+ onClick: () => I(O, T),
63272
63272
  children: O.getDate()
63273
63273
  },
63274
63274
  O.toISOString()
@@ -63612,15 +63612,15 @@ const yC = {
63612
63612
  matchReferenceWidth: S = !0,
63613
63613
  maxDropdownHeight: R
63614
63614
  }) => {
63615
- const [F, D] = N(d), T = c !== void 0, E = T ? !!c : F, k = z(null), I = P(
63615
+ const [F, D] = N(d), I = c !== void 0, E = I ? !!c : F, k = z(null), T = P(
63616
63616
  (M) => {
63617
- T || D(M), u?.(M);
63617
+ I || D(M), u?.(M);
63618
63618
  },
63619
- [T, 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,
63623
- onOpenChange: I,
63623
+ onOpenChange: T,
63624
63624
  whileElementsMounted: Aa,
63625
63625
  middleware: [
63626
63626
  La({ mainAxis: ko, crossAxis: 0 }),
@@ -63688,26 +63688,26 @@ const yC = {
63688
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
- )), I(!0));
63691
+ )), T(!0));
63692
63692
  },
63693
- [y, l, I, Fe, r]
63693
+ [y, l, T, Fe, r]
63694
63694
  ), ge = P(
63695
63695
  (M) => {
63696
- !y || l || (r.includes(Nt.ContextMenu) && E && I(!1), Fe(M.clientX, M.clientY), k.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
  ));
63700
63700
  },
63701
- [y, l, Fe, E, r, I]
63701
+ [y, l, Fe, E, r, T]
63702
63702
  );
63703
63703
  Se(() => {
63704
- l && E && I(!1);
63705
- }, [l, E, I]);
63704
+ l && E && T(!1);
63705
+ }, [l, E, T]);
63706
63706
  const Me = P(
63707
63707
  (M) => (q) => {
63708
- M.disabled || (M.onClick?.({ key: M.key, domEvent: q }), s?.({ key: M.key, domEvent: q }), I(!1));
63708
+ M.disabled || (M.onClick?.({ key: M.key, domEvent: q }), s?.({ key: M.key, domEvent: q }), T(!1));
63709
63709
  },
63710
- [s, I]
63710
+ [s, T]
63711
63711
  ), ie = W(() => o ? o() : t ? /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
63712
63712
  i && /* @__PURE__ */ h.jsx(h.Fragment, { children: typeof i == "function" ? i() : i }),
63713
63713
  /* @__PURE__ */ h.jsx(
@@ -63740,7 +63740,7 @@ const yC = {
63740
63740
  Vz,
63741
63741
  {
63742
63742
  item: M,
63743
- onRootClose: () => I(!1)
63743
+ onRootClose: () => T(!1)
63744
63744
  },
63745
63745
  M.key
63746
63746
  ) : /* @__PURE__ */ h.jsxs(
@@ -63792,7 +63792,7 @@ const yC = {
63792
63792
  n,
63793
63793
  i,
63794
63794
  o,
63795
- I,
63795
+ T,
63796
63796
  m,
63797
63797
  v
63798
63798
  ]), pe = Q({
@@ -63806,12 +63806,12 @@ const yC = {
63806
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
- Pe.isIntersecting || I(!1);
63809
+ Pe.isIntersecting || T(!1);
63810
63810
  },
63811
63811
  { root: null, threshold: 0 }
63812
63812
  );
63813
63813
  return be.observe(q), () => be.disconnect();
63814
- }, [E, V.reference, I]), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
63814
+ }, [E, V.reference, T]), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
63815
63815
  /* @__PURE__ */ h.jsx(
63816
63816
  "span",
63817
63817
  {
@@ -63853,7 +63853,7 @@ const yC = {
63853
63853
  {
63854
63854
  ariaLabel: "Close dropdown",
63855
63855
  onClose: (M) => {
63856
- g?.(M), I(!1);
63856
+ g?.(M), T(!1);
63857
63857
  }
63858
63858
  }
63859
63859
  ) }),
@@ -64099,19 +64099,19 @@ 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 T = x.current;
64103
- if (!T || !S || t) return;
64102
+ const I = x.current;
64103
+ if (!I || !S || t) return;
64104
64104
  const E = (k) => {
64105
64105
  k.preventDefault();
64106
64106
  };
64107
- return T.addEventListener("wheel", E, { passive: !1 }), () => {
64108
- T.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 = (T) => {
64112
- Z0(T, c, g, m);
64113
- }, F = (T) => {
64114
- const E = T.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
64116
  const k = parseFloat(E);
64117
64117
  if (isNaN(k) && E !== "-" && E !== "." || !isNaN(k) && (g !== void 0 && k < +g || m !== void 0 && k > +m))
@@ -64318,10 +64318,10 @@ const yC = {
64318
64318
  className: R,
64319
64319
  fieldClassName: F,
64320
64320
  listClassName: D,
64321
- closable: T = !1,
64321
+ closable: I = !1,
64322
64322
  header: E,
64323
64323
  footer: k,
64324
- onClose: I,
64324
+ onClose: T,
64325
64325
  onChange: O,
64326
64326
  dismissRef: A,
64327
64327
  onFooterClick: V,
@@ -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 || T) && (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
- T && /* @__PURE__ */ h.jsx(
64470
+ I && /* @__PURE__ */ h.jsx(
64471
64471
  bf,
64472
64472
  {
64473
64473
  "aria-label": "Close select",
@@ -64475,7 +64475,7 @@ const yC = {
64475
64475
  size: Ie.Small,
64476
64476
  icon: nW,
64477
64477
  onClick: (ae) => {
64478
- I?.(ae), ie(!1);
64478
+ T?.(ae), ie(!1);
64479
64479
  }
64480
64480
  }
64481
64481
  )
@@ -64585,8 +64585,8 @@ const yC = {
64585
64585
  open: Me,
64586
64586
  onOpenChange: ie,
64587
64587
  disabled: S,
64588
- closable: T,
64589
- onClose: I,
64588
+ closable: I,
64589
+ onClose: T,
64590
64590
  placement: "bottom-start",
64591
64591
  allowedPlacements: ["bottom-start", "top-start"],
64592
64592
  maxDropdownHeight: g ? null : Qz,
@@ -64770,19 +64770,19 @@ const yC = {
64770
64770
  }) => {
64771
64771
  const C = z(null), w = Os(), { refs: b, context: x } = Jn({
64772
64772
  open: e,
64773
- onOpenChange: (T) => {
64774
- T || u?.(null);
64773
+ onOpenChange: (I) => {
64774
+ I || u?.(null);
64775
64775
  }
64776
64776
  }), y = to(x, { role: "dialog" }), S = eo(x, { outsidePress: m }), { getFloatingProps: R } = so([y, S]);
64777
64777
  if (!e) return null;
64778
- const F = typeof t == "string" ? `popup-heading-${w}` : void 0, D = (T) => T ? typeof T == "string" ? /* @__PURE__ */ h.jsx(
64778
+ const F = typeof t == "string" ? `popup-heading-${w}` : void 0, D = (I) => I ? typeof I == "string" ? /* @__PURE__ */ h.jsx(
64779
64779
  "h2",
64780
64780
  {
64781
64781
  id: F,
64782
64782
  className: L(pW, r),
64783
- children: /* @__PURE__ */ h.jsx(Ct, { tooltip: T, children: T })
64783
+ children: /* @__PURE__ */ h.jsx(Ct, { tooltip: I, children: I })
64784
64784
  }
64785
- ) : T : /* @__PURE__ */ h.jsx("span", {});
64785
+ ) : I : /* @__PURE__ */ h.jsx("span", {});
64786
64786
  return /* @__PURE__ */ h.jsx(io, { id: i, children: /* @__PURE__ */ h.jsx(
64787
64787
  zC,
64788
64788
  {
@@ -64826,7 +64826,7 @@ const yC = {
64826
64826
  K0,
64827
64827
  {
64828
64828
  ariaLabel: f,
64829
- onClose: (T) => u?.(T)
64829
+ onClose: (I) => u?.(I)
64830
64830
  }
64831
64831
  )
64832
64832
  ]
@@ -65012,7 +65012,7 @@ const yC = {
65012
65012
  ]
65013
65013
  }
65014
65014
  );
65015
- }, k_ = () => import("./JsonEditor-DEub-rvC.js"), M_ = () => import("./MarkdownEditor-Br2RF_Vk.js"), A_ = () => import("./MarkdownEditor-CoFWPnTQ.js");
65015
+ }, k_ = () => import("./JsonEditor-Ce0Hs40A.js"), M_ = () => import("./MarkdownEditor-Df72yDza.js"), A_ = () => import("./MarkdownEditor-C14oRqaF.js");
65016
65016
  export {
65017
65017
  ta as $,
65018
65018
  I_ as A,