@epam/ai-dial-ui-kit 0.13.0-dev.65 → 0.13.0-dev.66

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.
@@ -148,7 +148,7 @@ function SS() {
148
148
  }
149
149
  function a(O, U) {
150
150
  function X() {
151
- H || (H = !0, console.error(
151
+ B || (B = !0, console.error(
152
152
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
153
153
  U
154
154
  ));
@@ -201,7 +201,7 @@ function SS() {
201
201
  var Ce = U.children;
202
202
  if (Ce !== void 0)
203
203
  if (ne)
204
- if (B(Ce)) {
204
+ if (H(Ce)) {
205
205
  for (ne = 0; ne < Ce.length; ne++)
206
206
  u(Ce[ne]);
207
207
  Object.freeze && Object.freeze(Ce);
@@ -251,7 +251,7 @@ React keys must be passed directly to JSX without using spread:
251
251
  function p(O) {
252
252
  return typeof O == "object" && O !== null && O.$$typeof === f;
253
253
  }
254
- var g = te, 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"), T = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, k = Object.prototype.hasOwnProperty, B = Array.isArray, A = console.createTask ? console.createTask : function() {
254
+ var g = te, 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"), T = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, k = Object.prototype.hasOwnProperty, H = Array.isArray, A = console.createTask ? console.createTask : function() {
255
255
  return null;
256
256
  };
257
257
  g = {
@@ -259,7 +259,7 @@ React keys must be passed directly to JSX without using spread:
259
259
  return O();
260
260
  }
261
261
  };
262
- var H, V = {}, N = g.react_stack_bottom_frame.bind(
262
+ var B, V = {}, N = g.react_stack_bottom_frame.bind(
263
263
  g,
264
264
  o
265
265
  )(), q = A(n(o)), G = {};
@@ -597,7 +597,7 @@ const FS = (e, t) => {
597
597
  "left-bottom"
598
598
  ], y = () => [...x(), Te, Pe], S = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", "contain", "none"], F = () => [Te, Pe, l], D = () => [Hn, "full", "auto", ...F()], I = () => [Bn, "none", "subgrid", Te, Pe], E = () => ["auto", {
599
599
  span: ["full", Bn, Te, Pe]
600
- }, Bn, Te, Pe], T = () => [Bn, "auto", Te, Pe], k = () => ["auto", "min", "max", "fr", Te, Pe], B = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], A = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], H = () => ["auto", ...F()], V = () => [Hn, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...F()], N = () => [Hn, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...F()], q = () => [Hn, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...F()], G = () => [e, Te, Pe], O = () => [...x(), _f, Wf, {
600
+ }, Bn, Te, Pe], T = () => [Bn, "auto", Te, Pe], k = () => ["auto", "min", "max", "fr", Te, Pe], H = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], A = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], B = () => ["auto", ...F()], V = () => [Hn, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...F()], N = () => [Hn, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...F()], q = () => [Hn, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...F()], G = () => [e, Te, Pe], O = () => [...x(), _f, Wf, {
601
601
  position: [Te, Pe]
602
602
  }], U = () => ["no-repeat", {
603
603
  repeat: ["", "x", "y", "space", "round"]
@@ -1047,7 +1047,7 @@ const FS = (e, t) => {
1047
1047
  * @see https://tailwindcss.com/docs/justify-content
1048
1048
  */
1049
1049
  "justify-content": [{
1050
- justify: [...B(), "normal"]
1050
+ justify: [...H(), "normal"]
1051
1051
  }],
1052
1052
  /**
1053
1053
  * Justify Items
@@ -1068,7 +1068,7 @@ const FS = (e, t) => {
1068
1068
  * @see https://tailwindcss.com/docs/align-content
1069
1069
  */
1070
1070
  "align-content": [{
1071
- content: ["normal", ...B()]
1071
+ content: ["normal", ...H()]
1072
1072
  }],
1073
1073
  /**
1074
1074
  * Align Items
@@ -1093,7 +1093,7 @@ const FS = (e, t) => {
1093
1093
  * @see https://tailwindcss.com/docs/place-content
1094
1094
  */
1095
1095
  "place-content": [{
1096
- "place-content": B()
1096
+ "place-content": H()
1097
1097
  }],
1098
1098
  /**
1099
1099
  * Place Items
@@ -1192,77 +1192,77 @@ const FS = (e, t) => {
1192
1192
  * @see https://tailwindcss.com/docs/margin
1193
1193
  */
1194
1194
  m: [{
1195
- m: H()
1195
+ m: B()
1196
1196
  }],
1197
1197
  /**
1198
1198
  * Margin Inline
1199
1199
  * @see https://tailwindcss.com/docs/margin
1200
1200
  */
1201
1201
  mx: [{
1202
- mx: H()
1202
+ mx: B()
1203
1203
  }],
1204
1204
  /**
1205
1205
  * Margin Block
1206
1206
  * @see https://tailwindcss.com/docs/margin
1207
1207
  */
1208
1208
  my: [{
1209
- my: H()
1209
+ my: B()
1210
1210
  }],
1211
1211
  /**
1212
1212
  * Margin Inline Start
1213
1213
  * @see https://tailwindcss.com/docs/margin
1214
1214
  */
1215
1215
  ms: [{
1216
- ms: H()
1216
+ ms: B()
1217
1217
  }],
1218
1218
  /**
1219
1219
  * Margin Inline End
1220
1220
  * @see https://tailwindcss.com/docs/margin
1221
1221
  */
1222
1222
  me: [{
1223
- me: H()
1223
+ me: B()
1224
1224
  }],
1225
1225
  /**
1226
1226
  * Margin Block Start
1227
1227
  * @see https://tailwindcss.com/docs/margin
1228
1228
  */
1229
1229
  mbs: [{
1230
- mbs: H()
1230
+ mbs: B()
1231
1231
  }],
1232
1232
  /**
1233
1233
  * Margin Block End
1234
1234
  * @see https://tailwindcss.com/docs/margin
1235
1235
  */
1236
1236
  mbe: [{
1237
- mbe: H()
1237
+ mbe: B()
1238
1238
  }],
1239
1239
  /**
1240
1240
  * Margin Top
1241
1241
  * @see https://tailwindcss.com/docs/margin
1242
1242
  */
1243
1243
  mt: [{
1244
- mt: H()
1244
+ mt: B()
1245
1245
  }],
1246
1246
  /**
1247
1247
  * Margin Right
1248
1248
  * @see https://tailwindcss.com/docs/margin
1249
1249
  */
1250
1250
  mr: [{
1251
- mr: H()
1251
+ mr: B()
1252
1252
  }],
1253
1253
  /**
1254
1254
  * Margin Bottom
1255
1255
  * @see https://tailwindcss.com/docs/margin
1256
1256
  */
1257
1257
  mb: [{
1258
- mb: H()
1258
+ mb: B()
1259
1259
  }],
1260
1260
  /**
1261
1261
  * Margin Left
1262
1262
  * @see https://tailwindcss.com/docs/margin
1263
1263
  */
1264
1264
  ml: [{
1265
- ml: H()
1265
+ ml: B()
1266
1266
  }],
1267
1267
  /**
1268
1268
  * Space Between X
@@ -3621,44 +3621,45 @@ const x2 = {
3621
3621
  className: r,
3622
3622
  delta: a,
3623
3623
  deltaPositive: l,
3624
- compareValues: c
3624
+ deltaUnit: c,
3625
+ compareValues: d
3625
3626
  }) => {
3626
- const d = x2[n], u = l !== void 0 ? l : (a ?? 0) >= 0;
3627
+ const u = x2[n], p = l !== void 0 ? l : (a ?? 0) >= 0, g = a === void 0 ? null : `${a >= 0 ? `+${a}` : String(a)}${c ?? ""}`;
3627
3628
  return /* @__PURE__ */ h.jsxs(
3628
3629
  "div",
3629
3630
  {
3630
3631
  className: M(
3631
3632
  "flex flex-col rounded-lg border border-secondary p-4",
3632
3633
  i || o ? "gap-2" : "gap-1",
3633
- d.container,
3634
+ u.container,
3634
3635
  r
3635
3636
  ),
3636
3637
  children: [
3637
3638
  a !== void 0 ? /* @__PURE__ */ h.jsxs("div", { className: "flex items-center gap-2", children: [
3638
- /* @__PURE__ */ h.jsx("span", { className: d.title, children: e }),
3639
+ /* @__PURE__ */ h.jsx("span", { className: u.title, children: e }),
3639
3640
  /* @__PURE__ */ h.jsx(
3640
3641
  "span",
3641
3642
  {
3642
3643
  className: M(
3643
3644
  "dial-tiny-semi-text rounded-[120px] border border-transparent px-2",
3644
- u ? "bg-success text-success" : "bg-error text-error"
3645
+ p ? "bg-success text-success" : "bg-error text-error"
3645
3646
  ),
3646
- children: a >= 0 ? `+${a}` : String(a)
3647
+ children: g
3647
3648
  }
3648
3649
  )
3649
- ] }) : /* @__PURE__ */ h.jsx("span", { className: d.title, children: e }),
3650
- i ? /* @__PURE__ */ h.jsx(uw, { className: "self-start" }) : o ? /* @__PURE__ */ h.jsx(li, { fullWidth: !1, className: "self-start" }) : c ? /* @__PURE__ */ h.jsxs("div", { className: "flex items-center gap-3", children: [
3650
+ ] }) : /* @__PURE__ */ h.jsx("span", { className: u.title, children: e }),
3651
+ i ? /* @__PURE__ */ h.jsx(uw, { className: "self-start" }) : o ? /* @__PURE__ */ h.jsx(li, { fullWidth: !1, className: "self-start" }) : d ? /* @__PURE__ */ h.jsxs("div", { className: "flex items-center gap-3", children: [
3651
3652
  /* @__PURE__ */ h.jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
3652
- /* @__PURE__ */ h.jsx("span", { className: "dial-tiny-text text-secondary", children: c[0].title }),
3653
- /* @__PURE__ */ h.jsx("span", { className: d.value, children: c[0].value })
3653
+ /* @__PURE__ */ h.jsx("span", { className: "dial-tiny-text text-secondary", children: d[0].title }),
3654
+ /* @__PURE__ */ h.jsx("span", { className: u.value, children: d[0].value })
3654
3655
  ] }),
3655
3656
  /* @__PURE__ */ h.jsx("div", { className: "h-4 w-px flex-shrink-0 bg-controls-disable-accent" }),
3656
3657
  /* @__PURE__ */ h.jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
3657
- /* @__PURE__ */ h.jsx("span", { className: "dial-tiny-text text-secondary", children: c[1].title }),
3658
- /* @__PURE__ */ h.jsx("span", { className: d.value, children: c[1].value })
3658
+ /* @__PURE__ */ h.jsx("span", { className: "dial-tiny-text text-secondary", children: d[1].title }),
3659
+ /* @__PURE__ */ h.jsx("span", { className: u.value, children: d[1].value })
3659
3660
  ] })
3660
- ] }) : /* @__PURE__ */ h.jsx("span", { className: d.value, children: t }),
3661
- !i && !o && d.showDescription && s != null && s !== !1 && /* @__PURE__ */ h.jsx("span", { className: "dial-tiny-text text-secondary", children: s })
3661
+ ] }) : /* @__PURE__ */ h.jsx("span", { className: u.value, children: t }),
3662
+ !i && !o && u.showDescription && s != null && s !== !1 && /* @__PURE__ */ h.jsx("span", { className: "dial-tiny-text text-secondary", children: s })
3662
3663
  ]
3663
3664
  }
3664
3665
  );
@@ -3847,18 +3848,18 @@ const x2 = {
3847
3848
  i ? "gap-4" : p ? "gap-2" : "gap-3"
3848
3849
  ),
3849
3850
  children: d ? /* @__PURE__ */ h.jsx(li, { fullWidth: !1, className: "self-center" }) : i ? S.map((R) => {
3850
- const F = R in n ? n[R] : null, D = R in i ? i[R] : null, E = typeof F == "number" && typeof D == "number" ? parseFloat((F - D).toFixed(2)) : null, T = E != null && E >= 0, k = E == null ? null : T ? `+${E}` : String(E);
3851
+ const F = R in n ? n[R] : null, D = R in i ? i[R] : null, E = typeof F == "number" && typeof D == "number" ? parseFloat((D - F).toFixed(3)) : null, T = E != null && E !== 0, k = T && E > 0, H = T ? k ? `+${E}` : String(E) : null;
3851
3852
  return /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col gap-1.5", children: [
3852
3853
  /* @__PURE__ */ h.jsxs("div", { className: "flex items-center gap-2", children: [
3853
3854
  /* @__PURE__ */ h.jsx("span", { className: "dial-small-text text-primary", children: R }),
3854
- k != null && /* @__PURE__ */ h.jsx(
3855
+ H != null && /* @__PURE__ */ h.jsx(
3855
3856
  "span",
3856
3857
  {
3857
3858
  className: M(
3858
3859
  "dial-tiny-semi-text rounded-[120px] border border-transparent px-2",
3859
- T ? "bg-success text-success" : "bg-error text-error"
3860
+ k ? "bg-success text-success" : "bg-error text-error"
3860
3861
  ),
3861
- children: k
3862
+ children: H
3862
3863
  }
3863
3864
  )
3864
3865
  ] }),
@@ -4981,8 +4982,8 @@ const $2 = "flex", q2 = "pb-1 mt-2", K2 = {
4981
4982
  (D) => {
4982
4983
  const I = C.current;
4983
4984
  if (!I) return e;
4984
- const E = I.getBoundingClientRect(), T = (D - E.left) / E.width, k = t + T * (s - t), B = mu(n), A = parseFloat(
4985
- (Math.round((k - t) / n) * n + t).toFixed(B)
4985
+ const E = I.getBoundingClientRect(), T = (D - E.left) / E.width, k = t + T * (s - t), H = mu(n), A = parseFloat(
4986
+ (Math.round((k - t) / n) * n + t).toFixed(H)
4986
4987
  );
4987
4988
  return Math.min(s, Math.max(t, A));
4988
4989
  },
@@ -5000,7 +5001,7 @@ const $2 = "flex", q2 = "pb-1 mt-2", K2 = {
5000
5001
  ), F = P(
5001
5002
  (D) => {
5002
5003
  if (i) return;
5003
- const I = mu(n), E = (B) => parseFloat((Math.round((B - t) / n) * n + t).toFixed(I)), T = (B) => Math.min(s, Math.max(t, B));
5004
+ const I = mu(n), E = (H) => parseFloat((Math.round((H - t) / n) * n + t).toFixed(I)), T = (H) => Math.min(s, Math.max(t, H));
5004
5005
  let k = e;
5005
5006
  switch (D.key) {
5006
5007
  case "ArrowRight":
@@ -7599,8 +7600,8 @@ var xc = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(xc ||
7599
7600
  var k = x / v.width * 100;
7600
7601
  x = "".concat(k, "%");
7601
7602
  } else if (f.endsWith("vw")) {
7602
- var B = x / this.window.innerWidth * 100;
7603
- x = "".concat(B, "vw");
7603
+ var H = x / this.window.innerWidth * 100;
7604
+ x = "".concat(H, "vw");
7604
7605
  } else if (f.endsWith("vh")) {
7605
7606
  var A = x / this.window.innerHeight * 100;
7606
7607
  x = "".concat(A, "vh");
@@ -7611,21 +7612,21 @@ var xc = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(xc ||
7611
7612
  var k = b / v.height * 100;
7612
7613
  b = "".concat(k, "%");
7613
7614
  } else if (m.endsWith("vw")) {
7614
- var B = b / this.window.innerWidth * 100;
7615
- b = "".concat(B, "vw");
7615
+ var H = b / this.window.innerWidth * 100;
7616
+ b = "".concat(H, "vw");
7616
7617
  } else if (m.endsWith("vh")) {
7617
7618
  var A = b / this.window.innerHeight * 100;
7618
7619
  b = "".concat(A, "vh");
7619
7620
  }
7620
7621
  }
7621
- var H = {
7622
+ var B = {
7622
7623
  width: this.createSizeForCssProperty(x, "width"),
7623
7624
  height: this.createSizeForCssProperty(b, "height")
7624
7625
  };
7625
- this.flexDir === "row" ? H.flexBasis = H.width : this.flexDir === "column" && (H.flexBasis = H.height);
7626
- var V = this.state.width !== H.width, N = this.state.height !== H.height, q = this.state.flexBasis !== H.flexBasis, G = V || N || q;
7626
+ this.flexDir === "row" ? B.flexBasis = B.width : this.flexDir === "column" && (B.flexBasis = B.height);
7627
+ var V = this.state.width !== B.width, N = this.state.height !== B.height, q = this.state.flexBasis !== B.flexBasis, G = V || N || q;
7627
7628
  G && wS(function() {
7628
- n.setState(H);
7629
+ n.setState(B);
7629
7630
  }), this.props.onResize && G && this.props.onResize(s, p, this.resizable, T);
7630
7631
  }
7631
7632
  }, t.prototype.onMouseUp = function(s) {
@@ -14802,9 +14803,9 @@ var Y5 = 0, Lu = class extends $ {
14802
14803
  let u, p, g = 0;
14803
14804
  this.invalidateVerticalScroll();
14804
14805
  do {
14805
- 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), T = Math.min((I + E) / 2, b), k = R + f > b, B = F - m < x;
14806
+ 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), T = Math.min((I + E) / 2, b), k = R + f > b, H = F - m < x;
14806
14807
  let A = null;
14807
- t === "top" ? A = I - f : t === "bottom" ? A = E + m : t === "middle" ? A = T : k ? A = I - f : B && (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++;
14808
+ t === "top" ? A = I - f : t === "bottom" ? A = E + m : t === "middle" ? A = T : k ? A = I - f : H && (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++;
14808
14809
  } while ((u || p) && g < 10);
14809
14810
  if (this.animationFrameSvc?.flushAllFrames(), s < 10 && (d?.stub || !this.beans.rowAutoHeight?.areRowsMeasured())) {
14810
14811
  const f = this.getVScrollPosition().top;
@@ -19751,7 +19752,7 @@ function Ns(e, t, s) {
19751
19752
  const C = (y, S, R, F, D) => {
19752
19753
  if (!y)
19753
19754
  return;
19754
- const I = aD(S, t.defaultState), E = I("flex").value1, T = I("sort").value1, k = I("sortType").value1, B = Xn(T) || pg(k), A = xn(k), H = fd(T), V = B ? { type: A, direction: H } : void 0;
19755
+ const I = aD(S, t.defaultState), E = I("flex").value1, T = I("sort").value1, k = I("sortType").value1, H = Xn(T) || pg(k), A = xn(k), B = fd(T), V = H ? { type: A, direction: B } : void 0;
19755
19756
  if (gb(
19756
19757
  e,
19757
19758
  y,
@@ -19770,24 +19771,24 @@ function Ns(e, t, s) {
19770
19771
  }
19771
19772
  D || !y.isPrimary() || (p?.syncColumnWithState(y, s, I), i?.syncColumnWithState(y, s, I, R), o?.syncColumnWithState(y, s, I, F));
19772
19773
  }, w = (y, S, R) => {
19773
- const F = p1(e, s), D = S.slice(), I = {}, E = {}, T = [], k = [], B = [];
19774
+ const F = p1(e, s), D = S.slice(), I = {}, E = {}, T = [], k = [], H = [];
19774
19775
  let A = 0;
19775
- const H = i?.columns.slice() ?? [], V = o?.columns.slice() ?? [];
19776
+ const B = i?.columns.slice() ?? [], V = o?.columns.slice() ?? [];
19776
19777
  for (const G of y) {
19777
19778
  const O = G.colId;
19778
19779
  if (O.startsWith(Kn)) {
19779
- T.push(G), B.push(G);
19780
+ T.push(G), H.push(G);
19780
19781
  continue;
19781
19782
  }
19782
19783
  if (di(O)) {
19783
- k.push(G), B.push(G);
19784
+ k.push(G), H.push(G);
19784
19785
  continue;
19785
19786
  }
19786
19787
  const X = R(O);
19787
- X ? (C(X, G, I, E, !1), Xs(D, X)) : (B.push(G), A += 1);
19788
+ X ? (C(X, G, I, E, !1), Xs(D, X)) : (H.push(G), A += 1);
19788
19789
  }
19789
19790
  const N = (G) => C(G, null, I, E, !1);
19790
- D.forEach(N), i?.sortColumns(ev.bind(i, I, H)), o?.sortColumns(ev.bind(o, E, V)), n.refreshCols(!1, s);
19791
+ D.forEach(N), i?.sortColumns(ev.bind(i, I, B)), o?.sortColumns(ev.bind(o, E, V)), n.refreshCols(!1, s);
19791
19792
  const q = (G, O, U = []) => {
19792
19793
  for (const X of O) {
19793
19794
  const ne = G(X.colId);
@@ -19806,7 +19807,7 @@ function Ns(e, t, s) {
19806
19807
  ), u6(t, n, f), c.refresh(s), g.dispatchEvent({
19807
19808
  type: "columnEverythingChanged",
19808
19809
  source: s
19809
- }), F(), { unmatchedAndAutoStates: B, unmatchedCount: A };
19810
+ }), F(), { unmatchedAndAutoStates: H, unmatchedCount: A };
19810
19811
  };
19811
19812
  l?.start();
19812
19813
  let { unmatchedAndAutoStates: b, unmatchedCount: x } = w(
@@ -19854,11 +19855,11 @@ function p1(e, t) {
19854
19855
  const k = new Set(R);
19855
19856
  for (const A of F)
19856
19857
  k.delete(A) || k.add(A);
19857
- const B = [...k];
19858
+ const H = [...k];
19858
19859
  a.dispatchEvent({
19859
19860
  type: S,
19860
- columns: B,
19861
- column: B.length === 1 ? B[0] : null,
19861
+ columns: H,
19862
+ column: H.length === 1 ? H[0] : null,
19862
19863
  source: t
19863
19864
  });
19864
19865
  }, p = (S) => {
@@ -43273,9 +43274,9 @@ var _N = class extends $ {
43273
43274
  let T = f[E];
43274
43275
  return T || (T = { colId: E }, f[E] = T, T);
43275
43276
  }, v = {}, C = g("sort", i);
43276
- C && i?.sortModel.forEach(({ colId: E, sort: T, type: k }, B) => {
43277
+ C && i?.sortModel.forEach(({ colId: E, sort: T, type: k }, H) => {
43277
43278
  const A = m(E);
43278
- A.sort = T, A.sortIndex = B, A.sortType = k;
43279
+ A.sort = T, A.sortIndex = H, A.sortType = k;
43279
43280
  }), (C || !s) && (v.sort = null, v.sortIndex = null);
43280
43281
  const w = g("rowGroup", o);
43281
43282
  w && o?.groupColIds.forEach((E, T) => {
@@ -43310,8 +43311,8 @@ var _N = class extends $ {
43310
43311
  const R = g("columnSizing", d);
43311
43312
  if (R)
43312
43313
  for (const { colId: E, flex: T, width: k } of d?.columnSizingModel ?? []) {
43313
- const B = m(E);
43314
- B.flex = T ?? null, B.width = k;
43314
+ const H = m(E);
43315
+ H.flex = T ?? null, H.width = k;
43315
43316
  }
43316
43317
  (R || !s) && (v.flex = null);
43317
43318
  const F = u?.orderedColIds, D = !!F?.length && !n?.has("columnOrder"), I = D ? F.map((E) => m(E)) : Object.values(f);
@@ -47378,7 +47379,7 @@ var zx = Fp((e, t) => {
47378
47379
  }, []), D = _(() => `ag-cell-wrapper ${v.toString()}`, [v]), I = _(() => `ag-group-expanded ${w.toString()}`, [w]), E = _(
47379
47380
  () => `ag-group-contracted ${x.toString()}`,
47380
47381
  [x]
47381
- ), T = _(() => `ag-group-checkbox ${S.toString()}`, [S]), k = d?.componentFromFramework, B = k ? d.componentClass : void 0, A = d == null && f != null, H = fr(f);
47382
+ ), T = _(() => `ag-group-checkbox ${S.toString()}`, [S]), k = d?.componentFromFramework, H = k ? d.componentClass : void 0, A = d == null && f != null, B = fr(f);
47382
47383
  return /* @__PURE__ */ te.createElement(
47383
47384
  "span",
47384
47385
  {
@@ -47389,7 +47390,7 @@ var zx = Fp((e, t) => {
47389
47390
  /* @__PURE__ */ te.createElement("span", { className: I, ref: a }),
47390
47391
  /* @__PURE__ */ te.createElement("span", { className: E, ref: l }),
47391
47392
  /* @__PURE__ */ te.createElement("span", { className: T, ref: r }),
47392
- /* @__PURE__ */ te.createElement("span", { className: "ag-group-value", ref: o }, A ? H : k ? /* @__PURE__ */ te.createElement(B, { ...d.params }) : null),
47393
+ /* @__PURE__ */ te.createElement("span", { className: "ag-group-value", ref: o }, A ? B : k ? /* @__PURE__ */ te.createElement(H, { ...d.params }) : null),
47393
47394
  /* @__PURE__ */ te.createElement("span", { className: "ag-group-child-count" }, p)
47394
47395
  );
47395
47396
  }), Qv = zx, df = ka({
@@ -47923,12 +47924,12 @@ var oB = 1e3, rB = class {
47923
47924
  () => Ka(g, t, w.current, R),
47924
47925
  [g]
47925
47926
  );
47926
- const D = _(() => o.toString(), [o]), I = _(() => a.toString(), [a]), E = _(() => c.toString(), [c]), T = _(() => !!(g && g.componentFromFramework && wr(g.componentClass)), [g]), k = _(() => s.get("reactiveCustomComponents"), []), B = _(() => s.get("enableFilterHandlers"), []), [A, H] = L();
47927
+ const D = _(() => o.toString(), [o]), I = _(() => a.toString(), [a]), E = _(() => c.toString(), [c]), T = _(() => !!(g && g.componentFromFramework && wr(g.componentClass)), [g]), k = _(() => s.get("reactiveCustomComponents"), []), H = _(() => s.get("enableFilterHandlers"), []), [A, B] = L();
47927
47928
  Re(() => {
47928
47929
  if (g?.componentFromFramework)
47929
47930
  if (k) {
47930
- const G = B ? uB : QH, O = new G(g.params, () => m((U) => U + 1));
47931
- R(O), H(O);
47931
+ const G = H ? uB : QH, O = new G(g.params, () => m((U) => U + 1));
47932
+ R(O), B(O);
47932
47933
  } else
47933
47934
  uf();
47934
47935
  }, [g]);
@@ -48274,7 +48275,7 @@ var oB = 1e3, rB = class {
48274
48275
  instanceId: r
48275
48276
  } = e, a = z(), [l, c] = L(
48276
48277
  () => e.isCellRenderer() ? void 0 : { compDetails: void 0, value: e.getValueToDisplay(), force: !1 }
48277
- ), [d, u] = L(), [p, g] = L(1), [f, m] = L(), [v, C] = L(!1), [w, b] = L(!1), [x, y] = L(!1), S = z(null), [R, F] = L(), D = _(() => e.isForceWrapper(), [e]), I = _(() => e.getCellAriaRole(), [e]), E = z(null), T = z(null), k = z(null), B = z(), A = z(), H = z(), V = z([]), N = z(), q = z(), [G, O] = L(0), U = P((oe) => {
48278
+ ), [d, u] = L(), [p, g] = L(1), [f, m] = L(), [v, C] = L(!1), [w, b] = L(!1), [x, y] = L(!1), S = z(null), [R, F] = L(), D = _(() => e.isForceWrapper(), [e]), I = _(() => e.getCellAriaRole(), [e]), E = z(null), T = z(null), k = z(null), H = z(), A = z(), B = z(), V = z([]), N = z(), q = z(), [G, O] = L(0), U = P((oe) => {
48278
48279
  q.current = oe, O((ce) => ce + 1);
48279
48280
  }, []), X = l != null && (v || x || w) && (d == null || !!d.popup), ne = D || X, xe = _(() => e.getCellValueClass(), [e]), ee = P(
48280
48281
  (oe) => {
@@ -48294,7 +48295,7 @@ var oB = 1e3, rB = class {
48294
48295
  ne,
48295
48296
  q.current,
48296
48297
  G,
48297
- B,
48298
+ H,
48298
48299
  E,
48299
48300
  ke
48300
48301
  );
@@ -48316,7 +48317,7 @@ var oB = 1e3, rB = class {
48316
48317
  if (!be)
48317
48318
  return;
48318
48319
  const Ae = be.getGui();
48319
- ee(be), He || ((D ? H : E).current?.appendChild(Ae), be.afterGuiAttached?.()), F(be);
48320
+ ee(be), He || ((D ? B : E).current?.appendChild(Ae), be.afterGuiAttached?.()), F(be);
48320
48321
  }), () => {
48321
48322
  Ne.then((be) => {
48322
48323
  const Ae = be.getGui();
@@ -48326,7 +48327,7 @@ var oB = 1e3, rB = class {
48326
48327
  }, [d]);
48327
48328
  const me = P(
48328
48329
  (oe) => {
48329
- if (H.current = oe, !oe || i.isDestroyed() || !e.isAlive()) {
48330
+ if (B.current = oe, !oe || i.isDestroyed() || !e.isAlive()) {
48330
48331
  const Ne = V.current;
48331
48332
  V.current = [];
48332
48333
  for (const be of Ne)
@@ -48360,8 +48361,8 @@ var oB = 1e3, rB = class {
48360
48361
  S.current && bn(S.current), S.current = be, be && E.current && E.current.appendChild(be);
48361
48362
  },
48362
48363
  getCellEditor: () => A.current ?? null,
48363
- getCellRenderer: () => k.current ?? B.current,
48364
- getParentOfValue: () => q.current ?? H.current ?? E.current,
48364
+ getCellRenderer: () => k.current ?? H.current,
48365
+ getParentOfValue: () => q.current ?? B.current ?? E.current,
48365
48366
  setRenderDetails: (be, Ae, Ze) => {
48366
48367
  const at = () => {
48367
48368
  c((We) => We?.compDetails !== be || We?.value !== Ae || We?.force !== Ze ? {
@@ -48404,7 +48405,7 @@ var oB = 1e3, rB = class {
48404
48405
  const { current: Ze } = Ce;
48405
48406
  Ze.toggleCss("ag-cell-value", !ne), Ze.toggleCss("ag-cell-inline-editing", !!be && !Ae), Ze.toggleCss("ag-cell-popup-editing", !!be && !!Ae), Ze.toggleCss("ag-cell-not-inline-editing", !be || !!Ae);
48406
48407
  }
48407
- }, Ne = H.current || void 0;
48408
+ }, Ne = B.current || void 0;
48408
48409
  e.setComp(
48409
48410
  He,
48410
48411
  ce,
@@ -48445,12 +48446,12 @@ var oB = 1e3, rB = class {
48445
48446
  () => c ? e.getInitialRowTop(t) : void 0
48446
48447
  ), [D, I] = L(
48447
48448
  () => c ? e.getInitialTransform(t) : void 0
48448
- ), E = z(null), T = z(), k = z(), B = z(!1), [A, H] = L(0);
48449
+ ), E = z(null), T = z(), k = z(), H = z(!1), [A, B] = L(0);
48449
48450
  Re(() => {
48450
- if (B.current || !y || A > 10)
48451
+ if (H.current || !y || A > 10)
48451
48452
  return;
48452
48453
  const me = E.current?.firstChild;
48453
- me ? (e.setupDetailRowAutoHeight(me), B.current = !0) : H((j) => j + 1);
48454
+ me ? (e.setupDetailRowAutoHeight(me), H.current = !0) : B((j) => j + 1);
48454
48455
  }, [y, A]);
48455
48456
  const V = z();
48456
48457
  V.current || (V.current = new ja(() => E.current));
@@ -48542,8 +48543,8 @@ var oB = 1e3, rB = class {
48542
48543
  const { context: t, gos: s } = vt(zt), n = _(() => Ua(e), [e]), i = z(null), o = z(null), r = z(null), a = z([]), l = z([]), [c, d] = L(() => []), u = !!s.get("enableCellSpan") && !!n.getSpannedRowCtrls, p = z([]), g = z([]), [f, m] = L(() => []), v = z(!1), C = z(), w = _(() => vs("ag-viewport", qb(e)), [e]), b = _(() => vs(Kb(e)), [e]), x = _(() => vs("ag-spanning-container", uP(e)), [e]), y = n.type === "center" || u, S = y ? i : o;
48543
48544
  Di(" AG Row Container " + e + " ", S);
48544
48545
  const R = P(() => {
48545
- const A = !y || i.current != null, H = o.current != null, V = !u || r.current != null;
48546
- return A && H && V;
48546
+ const A = !y || i.current != null, B = o.current != null, V = !u || r.current != null;
48547
+ return A && B && V;
48547
48548
  }, []), F = P(() => i.current == null && o.current == null && r.current == null, []), D = P(() => {
48548
48549
  if (F() && (C.current = t.destroyBean(C.current)), !t.isDestroyed() && R()) {
48549
48550
  const A = (N) => {
@@ -48553,7 +48554,7 @@ var oB = 1e3, rB = class {
48553
48554
  v.current
48554
48555
  );
48555
48556
  q !== l.current && (l.current = q, Pa(N, () => d(q)));
48556
- }, H = (N) => {
48557
+ }, B = (N) => {
48557
48558
  const q = Kc(
48558
48559
  g.current,
48559
48560
  p.current,
@@ -48573,7 +48574,7 @@ var oB = 1e3, rB = class {
48573
48574
  },
48574
48575
  setSpannedRowCtrls: (N, q) => {
48575
48576
  const G = !!q && p.current.length > 0 && N.length > 0;
48576
- p.current = N, H(G);
48577
+ p.current = N, B(G);
48577
48578
  },
48578
48579
  setDomOrder: (N) => {
48579
48580
  v.current != N && (v.current = N, A(!1));
@@ -48618,10 +48619,10 @@ var oB = 1e3, rB = class {
48618
48619
  );
48619
48620
  if (!y)
48620
48621
  return k();
48621
- const B = () => /* @__PURE__ */ te.createElement("div", { className: x, ref: E, role: "presentation" }, f.map((A) => /* @__PURE__ */ te.createElement(sC, { rowCtrl: A, containerType: n.type, key: A.instanceId })));
48622
- return /* @__PURE__ */ te.createElement("div", { className: w, ref: T, role: "rowgroup" }, k(), u ? B() : null);
48622
+ const H = () => /* @__PURE__ */ te.createElement("div", { className: x, ref: E, role: "presentation" }, f.map((A) => /* @__PURE__ */ te.createElement(sC, { rowCtrl: A, containerType: n.type, key: A.instanceId })));
48623
+ return /* @__PURE__ */ te.createElement("div", { className: w, ref: T, role: "rowgroup" }, k(), u ? H() : null);
48623
48624
  }, AB = jt(MB), LB = () => {
48624
- const e = vt(zt), { context: t, overlays: s } = e, [n, i] = L(""), [o, r] = L(0), [a, l] = L(0), [c, d] = L("0px"), [u, p] = L("0px"), [g, f] = L("100%"), [m, v] = L("0px"), [C, w] = L("0px"), [b, x] = L("100%"), [y, S] = L(!0), [R, F] = L(!0), [D, I] = L(null), [E, T] = L(""), [k, B] = L(null), [A, H] = L("ag-layout-normal"), V = z();
48625
+ const e = vt(zt), { context: t, overlays: s } = e, [n, i] = L(""), [o, r] = L(0), [a, l] = L(0), [c, d] = L("0px"), [u, p] = L("0px"), [g, f] = L("100%"), [m, v] = L("0px"), [C, w] = L("0px"), [b, x] = L("100%"), [y, S] = L(!0), [R, F] = L(!0), [D, I] = L(null), [E, T] = L(""), [k, H] = L(null), [A, B] = L("ag-layout-normal"), V = z();
48625
48626
  V.current || (V.current = new ja(() => N.current));
48626
48627
  const N = z(null), q = z(null), G = z(null), O = z(null), U = z(null), X = z(null), ne = z(null), xe = z([]), ee = z([]);
48627
48628
  Di(" AG Grid Body ", N), Di(" AG Pinned Top ", q), Di(" AG Sticky Top ", G), Di(" AG Middle ", X), Di(" AG Pinned Bottom ", ne);
@@ -48660,10 +48661,10 @@ var oB = 1e3, rB = class {
48660
48661
  setTopInvisible: S,
48661
48662
  setBottomInvisible: F,
48662
48663
  setColumnMovingCss: (Ue, qe) => V.current.toggleCss(Ue, qe),
48663
- updateLayoutClasses: H,
48664
+ updateLayoutClasses: B,
48664
48665
  setAlwaysVerticalScrollClass: I,
48665
48666
  setPinnedTopBottomOverflowY: T,
48666
- setCellSelectableCss: (Ue, qe) => B(qe ? Ue : null),
48667
+ setCellSelectableCss: (Ue, qe) => H(qe ? Ue : null),
48667
48668
  setBodyViewportWidth: (Ue) => {
48668
48669
  X.current && (X.current.style.width = Ue);
48669
48670
  },
@@ -48830,7 +48831,7 @@ var oB = 1e3, rB = class {
48830
48831
  return;
48831
48832
  const k = g.current;
48832
48833
  w.current = k.focusInnerElement.bind(k);
48833
- const B = {
48834
+ const H = {
48834
48835
  destroyGridUi: () => {
48835
48836
  },
48836
48837
  // do nothing, as framework users destroy grid by removing the comp
@@ -48844,7 +48845,7 @@ var oB = 1e3, rB = class {
48844
48845
  },
48845
48846
  updateLayoutClasses: i,
48846
48847
  getFocusableContainers: () => {
48847
- const A = [], H = [], V = f.current?.querySelector(".ag-root");
48848
+ const A = [], B = [], V = f.current?.querySelector(".ag-root");
48848
48849
  for (const q of x.current) {
48849
48850
  if (!q.isDisplayed())
48850
48851
  continue;
@@ -48853,28 +48854,28 @@ var oB = 1e3, rB = class {
48853
48854
  A.push(q);
48854
48855
  continue;
48855
48856
  }
48856
- H.push(q);
48857
+ B.push(q);
48857
48858
  }
48858
48859
  const N = [...A];
48859
48860
  return V && N.push({
48860
48861
  getGui: () => V,
48861
48862
  getFocusableContainerName: () => "gridBody"
48862
- }), N.push(...H), N;
48863
+ }), N.push(...B), N;
48863
48864
  },
48864
48865
  setCursor: r,
48865
48866
  setUserSelect: l
48866
48867
  };
48867
- k.setComp(B, T, T), d(!0);
48868
+ k.setComp(H, T, T), d(!0);
48868
48869
  }, []);
48869
48870
  Re(() => {
48870
48871
  const T = g.current, k = f.current;
48871
48872
  if (!u || !T || !v || !k || e.isDestroyed())
48872
48873
  return;
48873
- const B = [];
48874
+ const H = [];
48874
48875
  x.current = [], b.current = void 0;
48875
48876
  const {
48876
48877
  watermarkSelector: A,
48877
- paginationSelector: H,
48878
+ paginationSelector: B,
48878
48879
  sideBarSelector: V,
48879
48880
  statusBarSelector: N,
48880
48881
  gridHeaderDropZonesSelector: q
@@ -48883,26 +48884,26 @@ var oB = 1e3, rB = class {
48883
48884
  const U = e.createBean(
48884
48885
  new q.component()
48885
48886
  ), X = U.getGui();
48886
- k.insertAdjacentElement("afterbegin", X), G.push(X), B.push(U), x.current.push(...U.getFocusableContainers?.() ?? []);
48887
+ k.insertAdjacentElement("afterbegin", X), G.push(X), H.push(U), x.current.push(...U.getFocusableContainers?.() ?? []);
48887
48888
  }
48888
48889
  if (V) {
48889
48890
  const U = e.createBean(new V.component()), X = U.getGui(), ne = v.querySelector(".ag-tab-guard-bottom");
48890
- ne && (ne.insertAdjacentElement("beforebegin", X), G.push(X)), B.push(U), x.current.push(U);
48891
+ ne && (ne.insertAdjacentElement("beforebegin", X), G.push(X)), H.push(U), x.current.push(U);
48891
48892
  }
48892
48893
  const O = (U) => {
48893
48894
  const X = e.createBean(new U()), ne = X.getGui();
48894
- return k.insertAdjacentElement("beforeend", ne), G.push(ne), B.push(X), X;
48895
+ return k.insertAdjacentElement("beforeend", ne), G.push(ne), H.push(X), X;
48895
48896
  };
48896
48897
  if (N) {
48897
48898
  const U = O(N.component);
48898
48899
  x.current.push(U);
48899
48900
  }
48900
- if (H) {
48901
- const U = O(H.component);
48901
+ if (B) {
48902
+ const U = O(B.component);
48902
48903
  b.current = U, x.current.push(U);
48903
48904
  }
48904
48905
  return A && O(A.component), () => {
48905
- e.destroyBeans(B), x.current = [], b.current = void 0;
48906
+ e.destroyBeans(H), x.current = [], b.current = void 0;
48906
48907
  for (const U of G)
48907
48908
  U.remove();
48908
48909
  };
@@ -49014,9 +49015,9 @@ var oB = 1e3, rB = class {
49014
49015
  ), F = () => {
49015
49016
  if (u.current) {
49016
49017
  const A = () => c.current?.shouldQueueUpdates() ? void 0 : a.current.shift();
49017
- let H = A();
49018
- for (; H; )
49019
- H(), H = A();
49018
+ let B = A();
49019
+ for (; B; )
49020
+ B(), B = A();
49020
49021
  }
49021
49022
  }, D = new KB(F);
49022
49023
  c.current = D;
@@ -49033,32 +49034,32 @@ var oB = 1e3, rB = class {
49033
49034
  A.destroy();
49034
49035
  }), A.getBean("ctrlsSvc").whenReady(
49035
49036
  {
49036
- addDestroyFunc: (H) => {
49037
- r.current.push(H);
49037
+ addDestroyFunc: (B) => {
49038
+ r.current.push(B);
49038
49039
  }
49039
49040
  },
49040
49041
  () => {
49041
49042
  if (A.isDestroyed())
49042
49043
  return;
49043
- const H = n.current;
49044
- H && e.passGridApi?.(H);
49044
+ const B = n.current;
49045
+ B && e.passGridApi?.(B);
49045
49046
  }
49046
49047
  );
49047
49048
  }, k = (A) => {
49048
49049
  A.getBean("ctrlsSvc").whenReady(
49049
49050
  {
49050
- addDestroyFunc: (H) => {
49051
- r.current.push(H);
49051
+ addDestroyFunc: (B) => {
49052
+ r.current.push(B);
49052
49053
  }
49053
49054
  },
49054
49055
  () => {
49055
- for (const H of a.current)
49056
- H();
49056
+ for (const B of a.current)
49057
+ B();
49057
49058
  a.current.length = 0, u.current = !0;
49058
49059
  }
49059
49060
  );
49060
- }, B = new E8();
49061
- R.gridId ?? (R.gridId = d.current), n.current = B.create(
49061
+ }, H = new E8();
49062
+ R.gridId ?? (R.gridId = d.current), n.current = H.create(
49062
49063
  y,
49063
49064
  R,
49064
49065
  T,
@@ -49481,7 +49482,7 @@ const tG = "rounded bg-layer-0 shadow", Md = ({
49481
49482
  I || D(j), u?.(j);
49482
49483
  },
49483
49484
  [I, u]
49484
- ), B = Qt(), A = a === void 0, { refs: H, floatingStyles: V, context: N } = Ji({
49485
+ ), H = Qt(), A = a === void 0, { refs: B, floatingStyles: V, context: N } = Ji({
49485
49486
  placement: a,
49486
49487
  open: E,
49487
49488
  onOpenChange: k,
@@ -49533,7 +49534,7 @@ const tG = "rounded bg-layer-0 shadow", Md = ({
49533
49534
  U
49534
49535
  ]), xe = P(
49535
49536
  (j, K) => {
49536
- H.setPositionReference({
49537
+ B.setPositionReference({
49537
49538
  getBoundingClientRect: () => ({
49538
49539
  width: 0,
49539
49540
  height: 0,
@@ -49546,7 +49547,7 @@ const tG = "rounded bg-layer-0 shadow", Md = ({
49546
49547
  })
49547
49548
  });
49548
49549
  },
49549
- [H]
49550
+ [B]
49550
49551
  ), ee = P(
49551
49552
  (j) => {
49552
49553
  !r.includes(Nt.ContextMenu) || l || (j.preventDefault(), y && (xe(j.clientX, j.clientY), T.current = document.elementFromPoint(
@@ -49666,7 +49667,7 @@ const tG = "rounded bg-layer-0 shadow", Md = ({
49666
49667
  });
49667
49668
  return Re(() => {
49668
49669
  if (!E) return;
49669
- const j = H.reference.current;
49670
+ const j = B.reference.current;
49670
49671
  let K = null;
49671
49672
  if (j instanceof Element ? K = j : T.current instanceof Element && (K = T.current), !K) return;
49672
49673
  const Z = new IntersectionObserver(
@@ -49676,11 +49677,11 @@ const tG = "rounded bg-layer-0 shadow", Md = ({
49676
49677
  { root: null, threshold: 0 }
49677
49678
  );
49678
49679
  return Z.observe(K), () => Z.disconnect();
49679
- }, [E, H.reference, k]), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
49680
+ }, [E, B.reference, k]), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
49680
49681
  /* @__PURE__ */ h.jsx(
49681
49682
  "span",
49682
49683
  {
49683
- ref: H.setReference,
49684
+ ref: B.setReference,
49684
49685
  className: fe(
49685
49686
  XB,
49686
49687
  l && "!cursor-not-allowed opacity-75",
@@ -49688,7 +49689,7 @@ const tG = "rounded bg-layer-0 shadow", Md = ({
49688
49689
  ),
49689
49690
  "aria-haspopup": "menu",
49690
49691
  "aria-expanded": E,
49691
- "aria-controls": B,
49692
+ "aria-controls": H,
49692
49693
  ...me,
49693
49694
  children: e
49694
49695
  }
@@ -49703,8 +49704,8 @@ const tG = "rounded bg-layer-0 shadow", Md = ({
49703
49704
  children: /* @__PURE__ */ h.jsxs(
49704
49705
  "div",
49705
49706
  {
49706
- id: B,
49707
- ref: H.setFloating,
49707
+ id: H,
49708
+ ref: B.setFloating,
49708
49709
  style: V,
49709
49710
  className: fe(
49710
49711
  QB,
@@ -49827,7 +49828,7 @@ const e0 = ({
49827
49828
  wrapperBorder: w
49828
49829
  }),
49829
49830
  [p, w]
49830
- ), B = P((Z) => {
49831
+ ), H = P((Z) => {
49831
49832
  Z.api.sizeColumnsToFit();
49832
49833
  }, []), A = P(
49833
49834
  (Z) => {
@@ -49855,7 +49856,7 @@ const e0 = ({
49855
49856
  }
49856
49857
  },
49857
49858
  [n, a, u, x]
49858
- ), H = P(
49859
+ ), B = P(
49859
49860
  (Z) => Z === Fi.API || Z === Fi.ROW_DATA_CHANGED,
49860
49861
  []
49861
49862
  ), V = P(
@@ -49863,9 +49864,9 @@ const e0 = ({
49863
49864
  if (!S)
49864
49865
  return;
49865
49866
  const Y = (Z.selectedNodes || []).map((ge) => ge.data), pe = new Set(Y.map(u));
49866
- E.current = pe, T.current = Z.source, H(Z.source) || c?.(pe, Y);
49867
+ E.current = pe, T.current = Z.source, B(Z.source) || c?.(pe, Y);
49867
49868
  },
49868
- [S, u, H, c]
49869
+ [S, u, B, c]
49869
49870
  ), N = _(() => hG(
49870
49871
  (Z) => V?.(Z),
49871
49872
  100
@@ -50046,7 +50047,7 @@ const e0 = ({
50046
50047
  });
50047
50048
  }, []);
50048
50049
  return Re(() => {
50049
- const Z = H(
50050
+ const Z = B(
50050
50051
  T.current
50051
50052
  );
50052
50053
  if (S && l?.size && Z) {
@@ -50056,7 +50057,7 @@ const e0 = ({
50056
50057
  Y && S.ensureNodeVisible(Y);
50057
50058
  }
50058
50059
  }
50059
- }, [S, H, l]), /* @__PURE__ */ h.jsx(
50060
+ }, [S, B, l]), /* @__PURE__ */ h.jsx(
50060
50061
  "div",
50061
50062
  {
50062
50063
  className: fe(
@@ -50086,7 +50087,7 @@ const e0 = ({
50086
50087
  columnDefs: ne,
50087
50088
  defaultColDef: Ce,
50088
50089
  selectionColumnDef: U,
50089
- onGridSizeChanged: B,
50090
+ onGridSizeChanged: H,
50090
50091
  onGridReady: ke,
50091
50092
  loading: C,
50092
50093
  suppressCellFocus: !0,
@@ -50222,26 +50223,26 @@ const qr = ({
50222
50223
  inlineContainerClassName: u,
50223
50224
  inlineTabClassName: p
50224
50225
  }) => {
50225
- const [g, f] = L(!1), [m, v] = L(!1), [C, w] = L(!1), b = pG(), x = b === $n.Mobile || r === Yc.Tablet && b === $n.Tablet, y = i === vp.Horizontal, S = z(null), R = z(null), F = z(null), D = e.find((B) => B.id === t), I = _(
50226
+ const [g, f] = L(!1), [m, v] = L(!1), [C, w] = L(!1), b = pG(), x = b === $n.Mobile || r === Yc.Tablet && b === $n.Tablet, y = i === vp.Horizontal, S = z(null), R = z(null), F = z(null), D = e.find((H) => H.id === t), I = _(
50226
50227
  () => M(
50227
50228
  "flex gap-2",
50228
50229
  y ? "flex-row flex-nowrap overflow-x-auto" : "flex-col flex-wrap w-full"
50229
50230
  ),
50230
50231
  [y]
50231
50232
  ), E = P(() => {
50232
- const B = R.current;
50233
- B && w(B.scrollWidth > B.clientWidth);
50233
+ const H = R.current;
50234
+ H && w(H.scrollWidth > H.clientWidth);
50234
50235
  }, []), T = P(() => {
50235
- const B = F.current, A = R.current;
50236
- if (!B || !A) return;
50237
- const H = B.getBoundingClientRect(), V = A.getBoundingClientRect();
50238
- if (H.width === 0 || V.width === 0) return;
50236
+ const H = F.current, A = R.current;
50237
+ if (!H || !A) return;
50238
+ const B = H.getBoundingClientRect(), V = A.getBoundingClientRect();
50239
+ if (B.width === 0 || V.width === 0) return;
50239
50240
  const N = gG;
50240
50241
  let q = A.scrollLeft;
50241
- if (H.left < V.left + N)
50242
- q -= V.left + N - H.left;
50243
- else if (H.right > V.right - N)
50244
- q += H.right - (V.right - N);
50242
+ if (B.left < V.left + N)
50243
+ q -= V.left + N - B.left;
50244
+ else if (B.right > V.right - N)
50245
+ q += B.right - (V.right - N);
50245
50246
  else
50246
50247
  return;
50247
50248
  const G = Math.max(
@@ -50253,15 +50254,15 @@ const qr = ({
50253
50254
  behavior: "smooth"
50254
50255
  });
50255
50256
  }, []), k = P(
50256
- (B) => {
50257
- s(B), B === t && T();
50257
+ (H) => {
50258
+ s(H), H === t && T();
50258
50259
  },
50259
50260
  [s, t, T]
50260
50261
  );
50261
50262
  return Re(() => {
50262
50263
  E();
50263
- const B = new ResizeObserver(() => E()), A = R.current;
50264
- return A && B.observe(A), () => B.disconnect();
50264
+ const H = new ResizeObserver(() => E()), A = R.current;
50265
+ return A && H.observe(A), () => H.disconnect();
50265
50266
  }, [e, E]), Re(() => {
50266
50267
  T();
50267
50268
  }, [t, T]), o === Zo.Inline ? /* @__PURE__ */ h.jsx(
@@ -50272,16 +50273,16 @@ const qr = ({
50272
50273
  "flex flex-row items-center gap-0.5 bg-layer-4 rounded w-fit p-0.5",
50273
50274
  u
50274
50275
  ),
50275
- children: e.map((B) => /* @__PURE__ */ h.jsx(
50276
+ children: e.map((H) => /* @__PURE__ */ h.jsx(
50276
50277
  qr,
50277
50278
  {
50278
- tab: B,
50279
- active: t === B.id,
50279
+ tab: H,
50280
+ active: t === H.id,
50280
50281
  view: Zo.Inline,
50281
50282
  onClick: k,
50282
50283
  className: p
50283
50284
  },
50284
- B.id
50285
+ H.id
50285
50286
  ))
50286
50287
  }
50287
50288
  ) : x ? /* @__PURE__ */ h.jsx(
@@ -50300,11 +50301,11 @@ const qr = ({
50300
50301
  onOpenChange: f,
50301
50302
  placement: "bottom-start",
50302
50303
  allowedPlacements: ["bottom-start", "top-start"],
50303
- renderOverlay: () => e.map((B) => /* @__PURE__ */ h.jsx(
50304
+ renderOverlay: () => e.map((H) => /* @__PURE__ */ h.jsx(
50304
50305
  qr,
50305
50306
  {
50306
- tab: B,
50307
- active: B.id === t,
50307
+ tab: H,
50308
+ active: H.id === t,
50308
50309
  onClick: (A) => {
50309
50310
  k(A), f(!1);
50310
50311
  },
@@ -50313,7 +50314,7 @@ const qr = ({
50313
50314
  l
50314
50315
  )
50315
50316
  },
50316
- B.id
50317
+ H.id
50317
50318
  )),
50318
50319
  children: /* @__PURE__ */ h.jsxs("div", { className: "flex gap-2 items-center h-11 cursor-pointer", children: [
50319
50320
  /* @__PURE__ */ h.jsx(
@@ -50348,23 +50349,23 @@ const qr = ({
50348
50349
  ref: S,
50349
50350
  className: M("flex items-center", n),
50350
50351
  children: [
50351
- /* @__PURE__ */ h.jsx("div", { ref: R, role: "tablist", className: I, children: e.map((B) => /* @__PURE__ */ h.jsx(
50352
+ /* @__PURE__ */ h.jsx("div", { ref: R, role: "tablist", className: I, children: e.map((H) => /* @__PURE__ */ h.jsx(
50352
50353
  "div",
50353
50354
  {
50354
- ref: t === B.id ? F : void 0,
50355
+ ref: t === H.id ? F : void 0,
50355
50356
  className: "w-full",
50356
50357
  children: /* @__PURE__ */ h.jsx(
50357
50358
  qr,
50358
50359
  {
50359
- tab: B,
50360
- active: t === B.id,
50360
+ tab: H,
50361
+ active: t === H.id,
50361
50362
  onClick: k,
50362
50363
  horizontal: y,
50363
50364
  className: M("w-full", d)
50364
50365
  }
50365
50366
  )
50366
50367
  },
50367
- B.id
50368
+ H.id
50368
50369
  )) }),
50369
50370
  C && /* @__PURE__ */ h.jsx("div", { className: "flex items-center ml-2", children: /* @__PURE__ */ h.jsx(
50370
50371
  Xt,
@@ -50373,17 +50374,17 @@ const qr = ({
50373
50374
  open: m,
50374
50375
  onOpenChange: v,
50375
50376
  placement: "bottom-end",
50376
- renderOverlay: () => e.map((B) => /* @__PURE__ */ h.jsx(
50377
+ renderOverlay: () => e.map((H) => /* @__PURE__ */ h.jsx(
50377
50378
  qr,
50378
50379
  {
50379
- tab: B,
50380
- active: B.id === t,
50380
+ tab: H,
50381
+ active: H.id === t,
50381
50382
  onClick: (A) => {
50382
50383
  k(A), v(!1);
50383
50384
  },
50384
50385
  className: "w-full rounded-none h-8 items-center px-3 py-2"
50385
50386
  },
50386
- B.id
50387
+ H.id
50387
50388
  )),
50388
50389
  children: /* @__PURE__ */ h.jsx(
50389
50390
  En,
@@ -51056,7 +51057,7 @@ const IG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", kG = "te
51056
51057
  (V.key === "," || V.key === "Enter") && (V.preventDefault(), E(b), x(""));
51057
51058
  }, k = () => {
51058
51059
  b.trim() && (E(b), x(""));
51059
- }, B = (V) => {
51060
+ }, H = (V) => {
51060
51061
  const N = C.filter((q, G) => G !== V);
51061
51062
  w(N), g?.(N);
51062
51063
  }, A = () => r ? /* @__PURE__ */ h.jsx($t, { text: r }) : o ? /* @__PURE__ */ h.jsx(rd, { text: o }) : null;
@@ -51082,7 +51083,7 @@ const IG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", kG = "te
51082
51083
  }, [c, I, C]), Re(() => {
51083
51084
  w(e);
51084
51085
  }, [JSON.stringify(e)]);
51085
- const H = /* @__PURE__ */ h.jsxs(
51086
+ const B = /* @__PURE__ */ h.jsxs(
51086
51087
  "div",
51087
51088
  {
51088
51089
  ref: f,
@@ -51099,7 +51100,7 @@ const IG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", kG = "te
51099
51100
  label: V,
51100
51101
  className: p,
51101
51102
  closable: !l && !d,
51102
- onRemove: !l && !d ? () => B(N) : void 0
51103
+ onRemove: !l && !d ? () => H(N) : void 0
51103
51104
  },
51104
51105
  V + N
51105
51106
  )
@@ -51146,7 +51147,7 @@ const IG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", kG = "te
51146
51147
  label: V,
51147
51148
  className: p,
51148
51149
  closable: !l && !d,
51149
- onRemove: !l && !d ? () => B(N) : void 0
51150
+ onRemove: !l && !d ? () => H(N) : void 0
51150
51151
  }
51151
51152
  )
51152
51153
  },
@@ -51159,7 +51160,7 @@ const IG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", kG = "te
51159
51160
  ]
51160
51161
  }
51161
51162
  );
51162
- return d ? H : /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col gap-2 w-full", children: [
51163
+ return d ? B : /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col gap-2 w-full", children: [
51163
51164
  /* @__PURE__ */ h.jsx(oo, { label: t, required: s, htmlFor: n }),
51164
51165
  /* @__PURE__ */ h.jsx(
51165
51166
  "div",
@@ -51169,7 +51170,7 @@ const IG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", kG = "te
51169
51170
  a && "dial-input-error",
51170
51171
  l && "dial-input-disable"
51171
51172
  ),
51172
- children: H
51173
+ children: B
51173
51174
  }
51174
51175
  ),
51175
51176
  A()
@@ -51916,12 +51917,12 @@ const ZG = "dial-input flex w-full items-center justify-between gap-2 dial-small
51916
51917
  inlineSearch: E = !1,
51917
51918
  dismissRef: T,
51918
51919
  onFooterClick: k,
51919
- open: B,
51920
+ open: H,
51920
51921
  onOpenChange: A,
51921
- onInlineQueryChange: H,
51922
+ onInlineQueryChange: B,
51922
51923
  customMultiSelectTagsRenderer: V
51923
51924
  }) => {
51924
- const N = Qt(), [q, G] = L(!1), O = B !== void 0, U = O ? !!B : q, X = P(
51925
+ const N = Qt(), [q, G] = L(!1), O = H !== void 0, U = O ? !!H : q, X = P(
51925
51926
  (Q) => {
51926
51927
  O || G(Q), A?.(Q);
51927
51928
  },
@@ -51930,9 +51931,9 @@ const ZG = "dial-input flex w-full items-center justify-between gap-2 dial-small
51930
51931
  E && l || ""
51931
51932
  ), ee = z(null), Ce = P(
51932
51933
  (Q) => {
51933
- Q !== ne && (xe(Q || ""), H?.(Q || ""));
51934
+ Q !== ne && (xe(Q || ""), B?.(Q || ""));
51934
51935
  },
51935
- [H, ne]
51936
+ [B, ne]
51936
51937
  ), ke = n !== void 0, [se, me] = L(i), j = ke ? n : se, K = _(() => t ? Array.isArray(j) ? j : [] : typeof j == "string" ? [j] : [], [j, t]), Z = _(() => {
51937
51938
  const Q = ne.trim().toLowerCase();
51938
51939
  return Q ? e.filter((Ke) => Ke.label.toLowerCase().includes(Q)) : e;
@@ -52931,8 +52932,8 @@ const mV = function(t, s, n) {
52931
52932
  getIsFileSizeError: u
52932
52933
  }) => {
52933
52934
  const p = z(null), g = z(null), [f, m] = L([]), [v, C] = L(!1), [w, b] = L(!1), x = P(
52934
- (H) => {
52935
- const V = H.target.files;
52935
+ (B) => {
52936
+ const V = B.target.files;
52936
52937
  if (V && V.length > 0) {
52937
52938
  const N = Array.from(V), q = d?.(N), G = u?.(N);
52938
52939
  q ? C(!0) : G ? b(!0) : e(N);
@@ -52940,7 +52941,7 @@ const mV = function(t, s, n) {
52940
52941
  },
52941
52942
  [d, u, e]
52942
52943
  ), y = P(
52943
- (H) => o && H?.length > o,
52944
+ (B) => o && B?.length > o,
52944
52945
  [o]
52945
52946
  ), S = _(() => v || w || y(f), [v, w, y, f]), R = () => {
52946
52947
  m([]), C(!1), b(!1);
@@ -52959,28 +52960,28 @@ const mV = function(t, s, n) {
52959
52960
  const [{ isOver: D, canDrop: I }, E] = Zp(
52960
52961
  () => ({
52961
52962
  accept: [Ad],
52962
- drop(H) {
52963
- const V = H.files, N = d?.(V) ?? !1, q = u?.(V) ?? !1, G = y?.(V) ?? !1;
52963
+ drop(B) {
52964
+ const V = B.files, N = d?.(V) ?? !1, q = u?.(V) ?? !1, G = y?.(V) ?? !1;
52964
52965
  if (C(N), b(q), N || q || G) {
52965
52966
  m(V);
52966
52967
  return;
52967
52968
  }
52968
52969
  e(V), R();
52969
52970
  },
52970
- collect: (H) => ({
52971
- isOver: H.isOver(),
52972
- canDrop: H.canDrop()
52971
+ collect: (B) => ({
52972
+ isOver: B.isOver(),
52973
+ canDrop: B.canDrop()
52973
52974
  })
52974
52975
  }),
52975
52976
  [e, d, u, y]
52976
- ), T = (H) => {
52977
- (H.key === "Enter" || H.key === "Space") && (H.preventDefault(), g.current?.click());
52978
- }, k = (H) => {
52979
- H?.preventDefault();
52980
- const V = Array.from(H.dataTransfer?.items ?? []);
52977
+ ), T = (B) => {
52978
+ (B.key === "Enter" || B.key === "Space") && (B.preventDefault(), g.current?.click());
52979
+ }, k = (B) => {
52980
+ B?.preventDefault();
52981
+ const V = Array.from(B.dataTransfer?.items ?? []);
52981
52982
  C(!!d?.(V)), b(!!u?.(V)), m(V);
52982
- }, B = (H) => {
52983
- H.target === H.currentTarget && R();
52983
+ }, H = (B) => {
52984
+ B.target === B.currentTarget && R();
52984
52985
  }, A = fe(
52985
52986
  "border border-dashed rounded w-full cursor-pointer relative h-full hover:border-hover",
52986
52987
  !I && !S && "border-primary",
@@ -52994,7 +52995,7 @@ const mV = function(t, s, n) {
52994
52995
  className: A,
52995
52996
  ref: p,
52996
52997
  onDragOver: k,
52997
- onDragLeave: B,
52998
+ onDragLeave: H,
52998
52999
  children: [
52999
53000
  /* @__PURE__ */ h.jsxs(
53000
53001
  "label",
@@ -53073,8 +53074,8 @@ const mV = function(t, s, n) {
53073
53074
  () => ({
53074
53075
  accept: [Ad],
53075
53076
  drop(D) {
53076
- const I = D.files, E = [...t, ...I], T = n?.(I) ?? !1, k = i?.(I) ?? !1, B = C?.(I) ?? !1;
53077
- if (u(T), g(k), T || k || B) {
53077
+ const I = D.files, E = [...t, ...I], T = n?.(I) ?? !1, k = i?.(I) ?? !1, H = C?.(I) ?? !1;
53078
+ if (u(T), g(k), T || k || H) {
53078
53079
  m(I.length);
53079
53080
  return;
53080
53081
  }
@@ -53437,9 +53438,9 @@ const fC = ({
53437
53438
  Dt.Replace
53438
53439
  ])
53439
53440
  )
53440
- ), [k, B] = L(
53441
+ ), [k, H] = L(
53441
53442
  void 0
53442
- ), A = m ? r : a, H = /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
53443
+ ), A = m ? r : a, B = /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
53443
53444
  "Item with the name ",
53444
53445
  /* @__PURE__ */ h.jsxs("span", { className: "text-primary", children: [
53445
53446
  '"',
@@ -53448,7 +53449,7 @@ const fC = ({
53448
53449
  ] }),
53449
53450
  " ",
53450
53451
  "already exists in this destination."
53451
- ] }), V = `${o.length} items with the same names already exist in this destination.`, N = l ?? (m ? H : V), q = _(
53452
+ ] }), V = `${o.length} items with the same names already exist in this destination.`, N = l ?? (m ? B : V), q = _(
53452
53453
  () => [
53453
53454
  {
53454
53455
  id: Dt.Replace,
@@ -53532,13 +53533,13 @@ const fC = ({
53532
53533
  ee.data.path,
53533
53534
  me
53534
53535
  ), K;
53535
- }), B(void 0);
53536
+ }), H(void 0);
53536
53537
  },
53537
53538
  placement: "bottom-start",
53538
53539
  matchReferenceWidth: !1,
53539
53540
  allowedPlacements: ["bottom-start", "top-start"],
53540
53541
  onOpenChange: (me) => {
53541
- B(me ? ee.data.path : void 0);
53542
+ H(me ? ee.data.path : void 0);
53542
53543
  },
53543
53544
  children: /* @__PURE__ */ h.jsxs("button", { type: "button", className: "flex items-center gap-2", children: [
53544
53545
  /* @__PURE__ */ h.jsxs("span", { className: "flex items-center gap-2", children: [
@@ -56573,10 +56574,10 @@ const XV = (e) => {
56573
56574
  (b, x, y, S) => {
56574
56575
  const R = e(b), F = new Set(R.map(mh));
56575
56576
  return x.filter((I) => y.get(I.path) !== Dt.Cancel).map((I) => {
56576
- const E = y.get(I.path), T = F.has(I.name), k = E === Dt.Replace && T, B = k ? I.name : bC(I.name, F, I.nodeType);
56577
- return k || F.add(B), {
56577
+ const E = y.get(I.path), T = F.has(I.name), k = E === Dt.Replace && T, H = k ? I.name : bC(I.name, F, I.nodeType);
56578
+ return k || F.add(H), {
56578
56579
  sourceUrl: I.path,
56579
- destinationUrl: `${b}/${B}`,
56580
+ destinationUrl: `${b}/${H}`,
56580
56581
  overwrite: k,
56581
56582
  nodeType: I.nodeType ?? Ie.ITEM,
56582
56583
  ...S ?? {}
@@ -56698,7 +56699,7 @@ const XV = (e) => {
56698
56699
  handleReplaceAll: E,
56699
56700
  handleDuplicateAll: T,
56700
56701
  handleCancelAll: k,
56701
- handleDecideForEach: B
56702
+ handleDecideForEach: H
56702
56703
  } = S0({
56703
56704
  getDestinationFiles: e,
56704
56705
  onResolve: (se, me) => {
@@ -56710,7 +56711,7 @@ const XV = (e) => {
56710
56711
  }
56711
56712
  }), A = P(() => {
56712
56713
  u([]), g([]), b(null), C(void 0);
56713
- }, []), H = P(
56714
+ }, []), B = P(
56714
56715
  (se) => {
56715
56716
  const me = R(se, d, {
56716
56717
  type: Pt.Copy
@@ -56764,9 +56765,9 @@ const XV = (e) => {
56764
56765
  k(), A();
56765
56766
  }, [k, A]), O = P(
56766
56767
  (se) => {
56767
- B(se), A();
56768
+ H(se), A();
56768
56769
  },
56769
- [B, A]
56770
+ [H, A]
56770
56771
  ), U = P(
56771
56772
  (se) => {
56772
56773
  const me = se.at(0)?.parentPath ?? "/", j = F(
@@ -56806,7 +56807,7 @@ const XV = (e) => {
56806
56807
  handleDuplicate: U,
56807
56808
  handleCloseDestinationFolderPopup: ne,
56808
56809
  handleOpenDestinationFolderPopup: X,
56809
- handleCopyTo: H,
56810
+ handleCopyTo: B,
56810
56811
  handleMoveTo: V,
56811
56812
  openDestinationFolderPopup: l,
56812
56813
  destinationFolderMode: f,
@@ -56917,9 +56918,9 @@ const XV = (e) => {
56917
56918
  hasActiveConflictRef: E,
56918
56919
  startConflictResolution: T,
56919
56920
  closeConflictResolution: k,
56920
- openConflictResolution: B,
56921
+ openConflictResolution: H,
56921
56922
  handleReplaceAll: A,
56922
- handleDuplicateAll: H,
56923
+ handleDuplicateAll: B,
56923
56924
  handleCancelAll: V,
56924
56925
  handleDecideForEach: N
56925
56926
  } = S0({
@@ -57038,8 +57039,8 @@ const XV = (e) => {
57038
57039
  ), U = P(() => {
57039
57040
  A(), F();
57040
57041
  }, [A, F]), X = P(() => {
57041
- H(), F();
57042
- }, [H, F]), ne = P(() => {
57042
+ B(), F();
57043
+ }, [B, F]), ne = P(() => {
57043
57044
  V(), F();
57044
57045
  }, [V, F]), xe = P(
57045
57046
  (Y) => {
@@ -57224,7 +57225,7 @@ const XV = (e) => {
57224
57225
  uploadConflictingFiles: D,
57225
57226
  uploadConflictResolutionOpen: I,
57226
57227
  hasActiveUploadConflictRef: E,
57227
- openUploadConflictResolution: B,
57228
+ openUploadConflictResolution: H,
57228
57229
  closeUploadConflictResolution: ee,
57229
57230
  handleUploadConflictReplace: U,
57230
57231
  handleUploadConflictDuplicate: X,
@@ -57501,25 +57502,25 @@ const pj = ({
57501
57502
  C.current = e?.path || "/";
57502
57503
  const T = `__new_folder_${Date.now()}`, k = (e?.items ?? []).filter(
57503
57504
  (A) => A.nodeType === Ie.FOLDER
57504
- ), B = Kr(k);
57505
- l(T), v(B), r(!0), d(Ts.Folder), p(e || null);
57505
+ ), H = Kr(k);
57506
+ l(T), v(H), r(!0), d(Ts.Folder), p(e || null);
57506
57507
  }, [o, e]), y = P(
57507
57508
  (T) => {
57508
57509
  if (o) return;
57509
57510
  C.current = T?.parentPath || "/";
57510
57511
  const k = `__new_folder_${Date.now()}`, A = (Qo(i, T?.parentPath || "/")?.items ?? []).filter(
57511
57512
  (V) => V.nodeType === Ie.FOLDER
57512
- ), H = Kr(A);
57513
- v(H), l(k), r(!0), d(Ts.Sibling), p(T), f(T?.parentPath || "/");
57513
+ ), B = Kr(A);
57514
+ v(B), l(k), r(!0), d(Ts.Sibling), p(T), f(T?.parentPath || "/");
57514
57515
  },
57515
57516
  [o, i]
57516
57517
  ), S = P(
57517
57518
  (T) => {
57518
57519
  if (o) return;
57519
57520
  C.current = T.path;
57520
- const k = `__new_folder_${Date.now()}`, B = (T?.items ?? []).filter(
57521
- (H) => H.nodeType === Ie.FOLDER
57522
- ), A = Kr(B);
57521
+ const k = `__new_folder_${Date.now()}`, H = (T?.items ?? []).filter(
57522
+ (B) => B.nodeType === Ie.FOLDER
57523
+ ), A = Kr(H);
57523
57524
  v(A), l(k), r(!0), d(Ts.Child), p(T), f(T?.path || "/");
57524
57525
  },
57525
57526
  [o]
@@ -57527,9 +57528,9 @@ const pj = ({
57527
57528
  (T) => {
57528
57529
  if (o) return;
57529
57530
  C.current = T?.parentPath || "/";
57530
- const B = (Qo(i, T?.parentPath || "/")?.items ?? []).filter(
57531
- (H) => H.nodeType === Ie.FOLDER
57532
- ), A = Kr(B);
57531
+ const H = (Qo(i, T?.parentPath || "/")?.items ?? []).filter(
57532
+ (B) => B.nodeType === Ie.FOLDER
57533
+ ), A = Kr(H);
57533
57534
  v(A), d(Ts.Sibling), p(T), f(T?.parentPath || "/"), r(!0);
57534
57535
  },
57535
57536
  [o, i]
@@ -57539,8 +57540,8 @@ const pj = ({
57539
57540
  C.current = T.path;
57540
57541
  const k = (T?.items ?? []).filter(
57541
57542
  (A) => A.nodeType === Ie.FOLDER
57542
- ), B = Kr(k);
57543
- v(B), d(Ts.Child), p(T), f(T?.path || "/"), r(!0);
57543
+ ), H = Kr(k);
57544
+ v(H), d(Ts.Child), p(T), f(T?.path || "/"), r(!0);
57544
57545
  },
57545
57546
  [o]
57546
57547
  ), D = P(() => {
@@ -57559,9 +57560,9 @@ const pj = ({
57559
57560
  ).has(k.toLowerCase()))
57560
57561
  return w.duplicateName;
57561
57562
  if (s && b) {
57562
- const B = s(k, b);
57563
- if (B)
57564
- return B;
57563
+ const H = s(k, b);
57564
+ if (H)
57565
+ return H;
57565
57566
  }
57566
57567
  return null;
57567
57568
  },
@@ -57572,13 +57573,13 @@ const pj = ({
57572
57573
  if (!k)
57573
57574
  return;
57574
57575
  D();
57575
- const A = `${b?.path ?? "/"}/${k}`, H = `${A}/${hh}`, N = {
57576
+ const A = `${b?.path ?? "/"}/${k}`, B = `${A}/${hh}`, N = {
57576
57577
  fileContent: new File([], hh, {
57577
57578
  type: "text/plain"
57578
57579
  }),
57579
57580
  name: hh
57580
57581
  };
57581
- t && await t(N, A, H);
57582
+ t && await t(N, A, B);
57582
57583
  },
57583
57584
  [b, t, D]
57584
57585
  );
@@ -57784,9 +57785,9 @@ const yj = ':;,=/{}%&\\"', P0 = `(\r
57784
57785
  onMoveToFiles: E,
57785
57786
  onDeleteFiles: T,
57786
57787
  onDownloadFiles: k,
57787
- onRenameValidate: B,
57788
+ onRenameValidate: H,
57788
57789
  renameValidationMessages: A,
57789
- forbiddenSymbolsRegExp: H = Rj,
57790
+ forbiddenSymbolsRegExp: B = Rj,
57790
57791
  forbiddenSymbolsTooltip: V,
57791
57792
  onUploadFiles: N,
57792
57793
  onValidateUpload: q,
@@ -57931,7 +57932,7 @@ const yj = ':;,=/{}%&\\"', P0 = `(\r
57931
57932
  getDisplayName: Fr
57932
57933
  } = pj({
57933
57934
  items: n,
57934
- onRenameValidate: B,
57935
+ onRenameValidate: H,
57935
57936
  validationMessages: A,
57936
57937
  onMoveToFiles: E
57937
57938
  }), {
@@ -58319,9 +58320,9 @@ const yj = ':;,=/{}%&\\"', P0 = `(\r
58319
58320
  } = Cj({ onGetInfo: se }), yy = P(() => {
58320
58321
  Af(), ke?.clearMetadata?.();
58321
58322
  }, [Af, ke]), Sy = _(() => {
58322
- if (H)
58323
- return Ld(H);
58324
- }, [H]), Ry = {
58323
+ if (B)
58324
+ return Ld(B);
58325
+ }, [B]), Ry = {
58325
58326
  managerLabel: e,
58326
58327
  className: s,
58327
58328
  items: n,
@@ -58590,7 +58591,7 @@ const yj = ':;,=/{}%&\\"', P0 = `(\r
58590
58591
  }) => {
58591
58592
  const [R, F] = L(!1), [D, I] = L(!1), E = z(null), T = Ga(), k = P((N) => {
58592
58593
  F(N);
58593
- }, []), B = _(() => {
58594
+ }, []), H = _(() => {
58594
58595
  const N = [];
58595
58596
  return u && N.push({
58596
58597
  key: "add-folder",
@@ -58624,7 +58625,7 @@ const yj = ':;,=/{}%&\\"', P0 = `(\r
58624
58625
  n,
58625
58626
  y
58626
58627
  ]
58627
- ), H = l === Pt.Copy ? "Copy to" : "Move to", V = _(() => !w || !v ? !1 : v === w, [w, v]);
58628
+ ), B = l === Pt.Copy ? "Copy to" : "Move to", V = _(() => !w || !v ? !1 : v === w, [w, v]);
58628
58629
  return /* @__PURE__ */ h.jsx(
58629
58630
  br,
58630
58631
  {
@@ -58640,7 +58641,7 @@ const yj = ':;,=/{}%&\\"', P0 = `(\r
58640
58641
  /* @__PURE__ */ h.jsx("div", { className: "flex items-center gap-4 min-w-0", children: T ? /* @__PURE__ */ h.jsx(
58641
58642
  Xt,
58642
58643
  {
58643
- items: B,
58644
+ items: H,
58644
58645
  open: D,
58645
58646
  onOpenChange: I,
58646
58647
  children: /* @__PURE__ */ h.jsx(
@@ -58700,7 +58701,7 @@ const yj = ':;,=/{}%&\\"', P0 = `(\r
58700
58701
  )
58701
58702
  ] })
58702
58703
  ] }),
58703
- header: m ?? H,
58704
+ header: m ?? B,
58704
58705
  children: /* @__PURE__ */ h.jsxs("div", { className: "bg-layer-2 h-full flex flex-col", children: [
58705
58706
  x && /* @__PURE__ */ h.jsx("div", { className: "px-6 mb-4 pt-4", children: /* @__PURE__ */ h.jsx(L2, { ...x }) }),
58706
58707
  /* @__PURE__ */ h.jsx("div", { className: "flex-1 min-h-0", children: /* @__PURE__ */ h.jsx(
@@ -58969,18 +58970,18 @@ const kj = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
58969
58970
  if (a) {
58970
58971
  const k = SC(a);
58971
58972
  if (k.length) {
58972
- const B = D.findIndex(
58973
- (A, H) => k.every((V, N) => D[H + N] === V)
58973
+ const H = D.findIndex(
58974
+ (A, B) => k.every((V, N) => D[B + N] === V)
58974
58975
  );
58975
- B !== -1 && (E = k.length, D = [
58976
- ...D.slice(0, B),
58977
- ...D.slice(B + k.length)
58976
+ H !== -1 && (E = k.length, D = [
58977
+ ...D.slice(0, H),
58978
+ ...D.slice(H + k.length)
58978
58979
  ]);
58979
58980
  }
58980
58981
  }
58981
58982
  if (!D.length) return [{ label: "/" }];
58982
- const T = D.map((k, B) => {
58983
- const A = B < D.length - E ? B : B + E, H = I.slice(0, A + 1), V = typeof i == "function" ? i(H, A) : void 0;
58983
+ const T = D.map((k, H) => {
58984
+ const A = H < D.length - E ? H : H + E, B = I.slice(0, A + 1), V = typeof i == "function" ? i(B, A) : void 0;
58984
58985
  return {
58985
58986
  label: k,
58986
58987
  href: V,
@@ -58990,11 +58991,11 @@ const kj = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
58990
58991
  };
58991
58992
  });
58992
58993
  if (o && r) {
58993
- const k = o.split("/").filter(Boolean), B = n.split("/").filter(Boolean);
58994
+ const k = o.split("/").filter(Boolean), H = n.split("/").filter(Boolean);
58994
58995
  if (k.every(
58995
- (H, V) => B[V] === H
58996
+ (B, V) => H[V] === B
58996
58997
  ) && T.length > 0) {
58997
- const H = T.slice(k.length);
58998
+ const B = T.slice(k.length);
58998
58999
  return [
58999
59000
  {
59000
59001
  label: r,
@@ -59003,7 +59004,7 @@ const kj = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
59003
59004
  V.preventDefault(), s(o);
59004
59005
  } : void 0
59005
59006
  },
59006
- ...H
59007
+ ...B
59007
59008
  ];
59008
59009
  }
59009
59010
  }
@@ -59647,11 +59648,11 @@ const $j = ({
59647
59648
  const { expandedPaths: I, togglePath: E } = D0({
59648
59649
  expandedPaths: s ?? /* @__PURE__ */ new Set(),
59649
59650
  onExpandedPathsChange: x
59650
- }), T = (B) => {
59651
- m?.(B), E(B.path);
59652
- }, k = (B, A, H) => {
59653
- let V = B;
59654
- return H && H.path === p && (V = [
59651
+ }), T = (H) => {
59652
+ m?.(H), E(H.path);
59653
+ }, k = (H, A, B) => {
59654
+ let V = H;
59655
+ return B && B.path === p && (V = [
59655
59656
  {
59656
59657
  folderId: Xr,
59657
59658
  id: Xr,
@@ -59661,7 +59662,7 @@ const $j = ({
59661
59662
  parentPath: p,
59662
59663
  path: `${p}/${Xr}`
59663
59664
  },
59664
- ...B
59665
+ ...H
59665
59666
  ]), V.map((N) => {
59666
59667
  const { path: q, nodeType: G, name: O, items: U } = N, X = G === Ie.FOLDER;
59667
59668
  if (!d && y0(N)) return null;
@@ -60444,9 +60445,9 @@ const tz = () => {
60444
60445
  clearSelection: E,
60445
60446
  setSelectedPaths: T,
60446
60447
  effectiveSearchValue: k,
60447
- handleBreadcrumbItemClick: B,
60448
+ handleBreadcrumbItemClick: H,
60448
60449
  handleSearchChange: A,
60449
- handleTreeItemClick: H,
60450
+ handleTreeItemClick: B,
60450
60451
  handleTableRowClick: V,
60451
60452
  handleSelectionClick: N,
60452
60453
  onGridApiChange: q,
@@ -60862,7 +60863,7 @@ const tz = () => {
60862
60863
  sharedByMePaths: v,
60863
60864
  forbiddenSymbolsRegExp: We,
60864
60865
  forbiddenSymbolsTooltip: St,
60865
- onItemClick: H,
60866
+ onItemClick: B,
60866
60867
  areHiddenFilesVisible: b,
60867
60868
  getContextMenuItems: kr,
60868
60869
  renamedPath: Ln === Xo.Tree ? ce : void 0,
@@ -60896,7 +60897,7 @@ const tz = () => {
60896
60897
  v,
60897
60898
  We,
60898
60899
  St,
60899
- H,
60900
+ B,
60900
60901
  b,
60901
60902
  kr,
60902
60903
  Ln,
@@ -61129,7 +61130,7 @@ const tz = () => {
61129
61130
  ...a ?? {},
61130
61131
  makeHref: (re) => re.join("/"),
61131
61132
  path: R,
61132
- onItemClick: B,
61133
+ onItemClick: H,
61133
61134
  rootItemPath: n?.path,
61134
61135
  rootItemLabel: n?.label,
61135
61136
  value: k,
@@ -62454,7 +62455,7 @@ const Ia = ({
62454
62455
  () => JSON.stringify(e, null, 2)
62455
62456
  );
62456
62457
  Re(() => {
62457
- typeof window < "u" && import("./JsonEditor-B9RO_Yxk.js").then((d) => {
62458
+ typeof window < "u" && import("./JsonEditor-vf6bGJXz.js").then((d) => {
62458
62459
  r(() => d.DialJsonEditor);
62459
62460
  });
62460
62461
  }, []);
@@ -62636,29 +62637,29 @@ const Ia = ({
62636
62637
  },
62637
62638
  children: /* @__PURE__ */ h.jsxs("div", { className: M("flex flex-col gap-4", n), children: [
62638
62639
  D.map(([E, T]) => {
62639
- const k = _e(T, e), B = k.title ?? T.title ?? Jc(E), A = I.includes(E), H = C[E];
62640
+ const k = _e(T, e), H = k.title ?? T.title ?? Jc(E), A = I.includes(E), B = C[E];
62640
62641
  if (a === na.Flat)
62641
62642
  return /* @__PURE__ */ h.jsx(
62642
62643
  N0,
62643
62644
  {
62644
62645
  schema: T,
62645
- value: H,
62646
+ value: B,
62646
62647
  onChange: (G) => S(E, G),
62647
62648
  path: [E],
62648
62649
  level: 0,
62649
62650
  required: A,
62650
- label: B
62651
+ label: H
62651
62652
  },
62652
62653
  E
62653
62654
  );
62654
62655
  if (a === na.FlatSections)
62655
62656
  return /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col gap-3", children: [
62656
- /* @__PURE__ */ h.jsx("h2", { className: "dial-small-semi-text text-primary", children: B }),
62657
+ /* @__PURE__ */ h.jsx("h2", { className: "dial-small-semi-text text-primary", children: H }),
62657
62658
  /* @__PURE__ */ h.jsx(
62658
62659
  Fn,
62659
62660
  {
62660
62661
  schema: T,
62661
- value: H,
62662
+ value: B,
62662
62663
  onChange: (G) => S(E, G),
62663
62664
  path: [E],
62664
62665
  level: 0,
@@ -62666,20 +62667,20 @@ const Ia = ({
62666
62667
  }
62667
62668
  )
62668
62669
  ] }, E);
62669
- const V = gn(H, k, e, E), N = E + ".", q = !p || b.has(E) || [...b].some((G) => G.startsWith(N));
62670
+ const V = gn(B, k, e, E), N = E + ".", q = !p || b.has(E) || [...b].some((G) => G.startsWith(N));
62670
62671
  return /* @__PURE__ */ h.jsx(
62671
62672
  Ia,
62672
62673
  {
62673
- title: B,
62674
+ title: H,
62674
62675
  description: k.description,
62675
62676
  level: 0,
62676
62677
  defaultExpanded: o,
62677
- errorCount: q ? A && Nd(H) ? Math.max(V.length, 1) : V.length : 0,
62678
+ errorCount: q ? A && Nd(B) ? Math.max(V.length, 1) : V.length : 0,
62678
62679
  children: /* @__PURE__ */ h.jsx(
62679
62680
  Fn,
62680
62681
  {
62681
62682
  schema: T,
62682
- value: H,
62683
+ value: B,
62683
62684
  onChange: (G) => S(E, G),
62684
62685
  path: [E],
62685
62686
  level: 1,
@@ -62695,7 +62696,7 @@ const Ia = ({
62695
62696
  B0,
62696
62697
  {
62697
62698
  value: C[E],
62698
- onChange: (B) => S(E, B),
62699
+ onChange: (H) => S(E, H),
62699
62700
  theme: g
62700
62701
  }
62701
62702
  );
@@ -63145,26 +63146,26 @@ const Rz = "en-GB", Fz = {
63145
63146
  ), I = _(() => Bz(u), [u]), E = _(
63146
63147
  () => Mz(S.getFullYear(), S.getMonth()),
63147
63148
  [S]
63148
- ), T = (H) => {
63149
+ ), T = (B) => {
63149
63150
  R(
63150
- (V) => new Date(V.getFullYear(), V.getMonth() + H, 1)
63151
+ (V) => new Date(V.getFullYear(), V.getMonth() + B, 1)
63151
63152
  );
63152
- }, k = (H, V) => {
63153
- if (IC(H, c, d)) return;
63154
- const N = e === Cs.DateTime && f ? MC(H, Kl(f)) : H;
63153
+ }, k = (B, V) => {
63154
+ if (IC(B, c, d)) return;
63155
+ const N = e === Cs.DateTime && f ? MC(B, Kl(f)) : B;
63155
63156
  s?.(N), e === Cs.Date && V();
63156
- }, B = (H) => {
63157
- s?.(MC(f ?? /* @__PURE__ */ new Date(), H));
63157
+ }, H = (B) => {
63158
+ s?.(MC(f ?? /* @__PURE__ */ new Date(), B));
63158
63159
  }, A = () => f ? e === Cs.DateTime ? `${kC(f, u)}, ${Kl(f)}` : kC(f, u) : g;
63159
63160
  if (e === Cs.Time) {
63160
- const H = typeof t == "string" ? t : f ? Kl(f) : "";
63161
+ const B = typeof t == "string" ? t : f ? Kl(f) : "";
63161
63162
  return /* @__PURE__ */ h.jsxs("div", { className: M("flex flex-col gap-y-3", l), children: [
63162
63163
  y,
63163
63164
  /* @__PURE__ */ h.jsx(
63164
63165
  LC,
63165
63166
  {
63166
63167
  id: v,
63167
- value: H,
63168
+ value: B,
63168
63169
  onChange: (V) => s?.(V),
63169
63170
  disabled: o,
63170
63171
  invalid: r,
@@ -63175,7 +63176,7 @@ const Rz = "en-GB", Fz = {
63175
63176
  ] });
63176
63177
  }
63177
63178
  if (e === Cs.Weekday) {
63178
- const H = typeof t == "string" ? t : void 0, V = I.find((N) => N.value === H);
63179
+ const B = typeof t == "string" ? t : void 0, V = I.find((N) => N.value === B);
63179
63180
  return /* @__PURE__ */ h.jsxs("div", { className: M("flex flex-col gap-y-3", l), children: [
63180
63181
  y,
63181
63182
  /* @__PURE__ */ h.jsx(
@@ -63218,11 +63219,11 @@ const Rz = "en-GB", Fz = {
63218
63219
  {
63219
63220
  type: "button",
63220
63221
  role: "option",
63221
- "aria-selected": q.value === H,
63222
+ "aria-selected": q.value === B,
63222
63223
  className: M(
63223
63224
  "flex w-full items-center rounded-lg px-3 py-2 text-left dial-small-text text-primary hover:bg-control-accent-alpha-hover",
63224
63225
  "focus-visible:outline focus-visible:outline-focus-black",
63225
- q.value === H && "bg-control-accent-alpha-hover"
63226
+ q.value === B && "bg-control-accent-alpha-hover"
63226
63227
  ),
63227
63228
  onClick: () => {
63228
63229
  s?.(q.value), N();
@@ -63261,7 +63262,7 @@ const Rz = "en-GB", Fz = {
63261
63262
  ),
63262
63263
  kz
63263
63264
  ] }),
63264
- panel: (H) => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
63265
+ panel: (B) => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
63265
63266
  /* @__PURE__ */ h.jsxs("div", { className: "flex items-center justify-between", children: [
63266
63267
  /* @__PURE__ */ h.jsx(
63267
63268
  EC,
@@ -63317,7 +63318,7 @@ const Rz = "en-GB", Fz = {
63317
63318
  q && Pz,
63318
63319
  O && "cursor-not-allowed opacity-40 hover:bg-transparent"
63319
63320
  ),
63320
- onClick: () => k(V, H),
63321
+ onClick: () => k(V, B),
63321
63322
  children: V.getDate()
63322
63323
  },
63323
63324
  V.toISOString()
@@ -63331,7 +63332,7 @@ const Rz = "en-GB", Fz = {
63331
63332
  {
63332
63333
  ariaLabel: "Time",
63333
63334
  value: f ? Kl(f) : "",
63334
- onChange: B,
63335
+ onChange: H,
63335
63336
  className: "w-[120px] px-3 py-1.5"
63336
63337
  }
63337
63338
  )
@@ -63669,7 +63670,7 @@ const Rz = "en-GB", Fz = {
63669
63670
  I || D(j), u?.(j);
63670
63671
  },
63671
63672
  [I, u]
63672
- ), B = Qt(), A = a === void 0, { refs: H, floatingStyles: V, context: N } = Ji({
63673
+ ), H = Qt(), A = a === void 0, { refs: B, floatingStyles: V, context: N } = Ji({
63673
63674
  placement: a,
63674
63675
  open: E,
63675
63676
  onOpenChange: k,
@@ -63721,7 +63722,7 @@ const Rz = "en-GB", Fz = {
63721
63722
  U
63722
63723
  ]), xe = P(
63723
63724
  (j, K) => {
63724
- H.setPositionReference({
63725
+ B.setPositionReference({
63725
63726
  getBoundingClientRect: () => ({
63726
63727
  width: 0,
63727
63728
  height: 0,
@@ -63734,7 +63735,7 @@ const Rz = "en-GB", Fz = {
63734
63735
  })
63735
63736
  });
63736
63737
  },
63737
- [H]
63738
+ [B]
63738
63739
  ), ee = P(
63739
63740
  (j) => {
63740
63741
  !r.includes(Nt.ContextMenu) || l || (j.preventDefault(), y && (xe(j.clientX, j.clientY), T.current = document.elementFromPoint(
@@ -63853,7 +63854,7 @@ const Rz = "en-GB", Fz = {
63853
63854
  });
63854
63855
  return Re(() => {
63855
63856
  if (!E) return;
63856
- const j = H.reference.current;
63857
+ const j = B.reference.current;
63857
63858
  let K = null;
63858
63859
  if (j instanceof Element ? K = j : T.current instanceof Element && (K = T.current), !K) return;
63859
63860
  const Z = new IntersectionObserver(
@@ -63863,11 +63864,11 @@ const Rz = "en-GB", Fz = {
63863
63864
  { root: null, threshold: 0 }
63864
63865
  );
63865
63866
  return Z.observe(K), () => Z.disconnect();
63866
- }, [E, H.reference, k]), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
63867
+ }, [E, B.reference, k]), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
63867
63868
  /* @__PURE__ */ h.jsx(
63868
63869
  "span",
63869
63870
  {
63870
- ref: H.setReference,
63871
+ ref: B.setReference,
63871
63872
  className: M(
63872
63873
  jz,
63873
63874
  l && "!cursor-not-allowed opacity-75",
@@ -63875,7 +63876,7 @@ const Rz = "en-GB", Fz = {
63875
63876
  ),
63876
63877
  "aria-haspopup": "menu",
63877
63878
  "aria-expanded": E,
63878
- "aria-controls": B,
63879
+ "aria-controls": H,
63879
63880
  ...me,
63880
63881
  children: e
63881
63882
  }
@@ -63890,8 +63891,8 @@ const Rz = "en-GB", Fz = {
63890
63891
  children: /* @__PURE__ */ h.jsxs(
63891
63892
  "div",
63892
63893
  {
63893
- id: B,
63894
- ref: H.setFloating,
63894
+ id: H,
63895
+ ref: B.setFloating,
63895
63896
  style: V,
63896
63897
  className: M(
63897
63898
  zz,
@@ -64396,9 +64397,9 @@ const Rz = "en-GB", Fz = {
64396
64397
  header: E,
64397
64398
  footer: T,
64398
64399
  onClose: k,
64399
- onChange: B,
64400
+ onChange: H,
64400
64401
  dismissRef: A,
64401
- onFooterClick: H,
64402
+ onFooterClick: B,
64402
64403
  open: V,
64403
64404
  onOpenChange: N,
64404
64405
  onSearchQueryChange: q,
@@ -64423,9 +64424,9 @@ const Rz = "en-GB", Fz = {
64423
64424
  }, [ke, K]);
64424
64425
  const ce = P(
64425
64426
  (le) => {
64426
- Z || Y(le), B?.(le);
64427
+ Z || Y(le), H?.(le);
64427
64428
  },
64428
- [Z, B]
64429
+ [Z, H]
64429
64430
  ), He = P(
64430
64431
  (le) => {
64431
64432
  if (t) {
@@ -64642,7 +64643,7 @@ const Rz = "en-GB", Fz = {
64642
64643
  "div",
64643
64644
  {
64644
64645
  onClick: (le) => {
64645
- H?.(le), H && se(!1);
64646
+ B?.(le), B && se(!1);
64646
64647
  },
64647
64648
  children: typeof T == "function" ? T() : T
64648
64649
  }
@@ -65287,7 +65288,7 @@ const Rz = "en-GB", Fz = {
65287
65288
  const g = Qt(), f = d ?? `file-dropzone-${g}`, m = l ? `${f}-error` : void 0, [v, C] = L(!1), w = z(0), b = P(
65288
65289
  (I) => {
65289
65290
  if (I.length === 0) return;
65290
- const E = r ? I : I.slice(0, 1), T = E.filter((B) => OC(B, o)), k = E.filter((B) => !OC(B, o));
65291
+ const E = r ? I : I.slice(0, 1), T = E.filter((H) => OC(H, o)), k = E.filter((H) => !OC(H, o));
65291
65292
  k.length > 0 && i?.(k), T.length > 0 && n(T);
65292
65293
  },
65293
65294
  [o, r, n, i]
@@ -65493,7 +65494,7 @@ const Rz = "en-GB", Fz = {
65493
65494
  }) => {
65494
65495
  const w = Qt(), b = e || w, x = n === we.Small, y = x ? we.Small : we.Standard, S = z(null), R = z([]), F = z(null), D = t !== void 0, [I, E] = L(
65495
65496
  s ?? []
65496
- ), T = D ? t : I, k = T.length, [B, A] = L(""), [H, V] = L(k), N = !d && !c, q = P(
65497
+ ), T = D ? t : I, k = T.length, [H, A] = L(""), [B, V] = L(k), N = !d && !c, q = P(
65497
65498
  (K) => {
65498
65499
  D || E(K), C?.(K);
65499
65500
  },
@@ -65542,18 +65543,18 @@ const Rz = "en-GB", Fz = {
65542
65543
  }, ne = (K) => {
65543
65544
  q(T.filter((Z) => Z !== K));
65544
65545
  }, xe = () => {
65545
- X(B), A("");
65546
+ X(H), A("");
65546
65547
  }, ee = (K) => {
65547
65548
  if (N) {
65548
65549
  if (K.key === "Enter" || K.key === ",") {
65549
65550
  K.preventDefault(), xe();
65550
65551
  return;
65551
65552
  }
65552
- K.key === "Backspace" && !B && k > 0 && (K.preventDefault(), q(T.slice(0, -1)));
65553
+ K.key === "Backspace" && !H && k > 0 && (K.preventDefault(), q(T.slice(0, -1)));
65553
65554
  }
65554
65555
  }, Ce = () => {
65555
- N && B.trim() && xe();
65556
- }, ke = u ? T.slice(0, H) : T, se = u ? T.slice(H) : [], me = se.join(", "), j = k > 0 && /* @__PURE__ */ h.jsxs(
65556
+ N && H.trim() && xe();
65557
+ }, ke = u ? T.slice(0, B) : T, se = u ? T.slice(B) : [], me = se.join(", "), j = k > 0 && /* @__PURE__ */ h.jsxs(
65557
65558
  "span",
65558
65559
  {
65559
65560
  role: "list",
@@ -65638,7 +65639,7 @@ const Rz = "en-GB", Fz = {
65638
65639
  invalid: l,
65639
65640
  disabled: c,
65640
65641
  readOnly: d,
65641
- value: B,
65642
+ value: H,
65642
65643
  placeholder: k > 0 ? void 0 : o,
65643
65644
  "aria-label": p,
65644
65645
  wrapperRef: S,
@@ -65714,7 +65715,7 @@ const Rz = "en-GB", Fz = {
65714
65715
  ) : void 0
65715
65716
  }
65716
65717
  );
65717
- }, Z_ = () => import("./JsonEditor-B9RO_Yxk.js"), X_ = () => import("./MarkdownEditor-Dwd1NKnv.js"), Q_ = () => import("./MarkdownEditor-HvvQC2kY.js");
65718
+ }, Z_ = () => import("./JsonEditor-vf6bGJXz.js"), X_ = () => import("./MarkdownEditor-rfkZ2SzC.js"), Q_ = () => import("./MarkdownEditor-CW4C7nzg.js");
65718
65719
  export {
65719
65720
  sa as $,
65720
65721
  __ as A,