@epam/ai-dial-ui-kit 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
- import { jsx as m, jsxs as V, Fragment as qe } from "react/jsx-runtime";
1
+ import { jsx as m, jsxs as V, Fragment as je } from "react/jsx-runtime";
2
2
  import fe from "classnames";
3
3
  import { IconInfoCircle as iu, IconCircleCheck as Kw, IconAlertTriangle as ef, IconAlertCircle as Yw, IconX as $i, IconMinus as Zw, IconCheck as tf, IconExclamationCircle as nu, IconClipboardX as of, IconChevronsLeft as Xw, IconChevronsRight as Qw, IconGripVertical as Jw, IconFile as sf, IconFileTypeZip as e1, IconFileTypeXml as t1, IconFileTypeXls as o1, IconFileTypeVue as s1, IconFileTypeTxt as i1, IconFileTypeTsx as n1, IconFileTypeTs as r1, IconFileTypeSvg as a1, IconFileTypeSql as l1, IconFileTypeRs as c1, IconFileTypePpt as d1, IconFileTypePng as u1, IconFileTypePhp as h1, IconFileTypePdf as g1, IconFileTypeJsx as p1, IconFileTypeJs as f1, IconFileTypeJpg as m1, IconFileTypeHtml as C1, IconFileTypeDocx as v1, IconFileTypeDoc as w1, IconFileTypeCsv as b1, IconFileTypeCss as S1, IconFileTypeBmp as y1, IconArrowUpRight as R1, IconFolder as ru, IconChevronLeft as x1, IconChevronRight as nf, IconZoomCancel as F1, IconChevronDown as Ja, IconDotsVertical as ji, IconDots as E1, IconTrashX as Hi, IconEyeOff as rf, IconEye as el, IconSearch as D1, IconPlus as af, IconChevronUp as P1, IconAlertCircleFilled as T1, IconAlertTriangleFilled as M1, IconCaretRightFilled as I1, IconArrowLeft as A1, IconFileZip as k1, IconCopyMinus as L1, IconFolderPlus as Bh, IconCopy as au, IconDownload as lu, IconUserX as cu, IconExternalLink as lf, IconPencilMinus as cf, IconCircleFilled as ia, IconFileDescription as O1 } from "@tabler/icons-react";
4
4
  import { useFloating as du, autoUpdate as df, offset as uf, flip as hf, shift as gf, arrow as N1, useHover as pf, useFocus as H1, useDismiss as uu, useRole as hu, useInteractions as gu, useMergeRefs as pu, FloatingPortal as fu, FloatingArrow as G1, autoPlacement as B1, size as V1, useClick as z1, FloatingFocusManager as ff, FloatingOverlay as W1 } from "@floating-ui/react";
5
5
  import * as Fe from "react";
6
- import X, { useState as I, useRef as L, useEffect as xe, useMemo as G, createContext as tl, useContext as ht, isValidElement as mu, cloneElement as ld, useCallback as D, memo as Rt, useLayoutEffect as ao, PureComponent as _1, Component as U1, forwardRef as Cu, useImperativeHandle as ar, createElement as Mn, Suspense as $1, useId as vu, Children as j1 } from "react";
6
+ import X, { useState as I, useRef as L, useEffect as xe, useMemo as G, createContext as tl, useContext as ht, isValidElement as mu, cloneElement as ld, useCallback as P, memo as Rt, useLayoutEffect as ao, PureComponent as _1, Component as U1, forwardRef as Cu, useImperativeHandle as ar, createElement as Mn, Suspense as $1, useId as vu, Children as j1 } from "react";
7
7
  import q1, { flushSync as K1, createPortal as wu } from "react-dom";
8
8
  const bu = "-", Y1 = (e) => {
9
9
  const t = X1(e), {
@@ -246,7 +246,7 @@ function lb(e, ...t) {
246
246
  const lt = (e) => {
247
247
  const t = (o) => o[e] || [];
248
248
  return t.isThemeGetter = !0, t;
249
- }, vf = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, wf = /^\((?:(\w[\w-]*):)?(.+)\)$/i, cb = /^\d+\/\d+$/, db = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ub = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, hb = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, gb = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, pb = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, di = (e) => cb.test(e), Le = (e) => !!e && !Number.isNaN(Number(e)), Xo = (e) => !!e && Number.isInteger(Number(e)), ac = (e) => e.endsWith("%") && Le(e.slice(0, -1)), Io = (e) => db.test(e), fb = () => !0, mb = (e) => (
249
+ }, vf = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, wf = /^\((?:(\w[\w-]*):)?(.+)\)$/i, cb = /^\d+\/\d+$/, db = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ub = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, hb = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, gb = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, pb = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, di = (e) => cb.test(e), Le = (e) => !!e && !Number.isNaN(Number(e)), Qo = (e) => !!e && Number.isInteger(Number(e)), ac = (e) => e.endsWith("%") && Le(e.slice(0, -1)), Io = (e) => db.test(e), fb = () => !0, mb = (e) => (
250
250
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
251
251
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
252
252
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
@@ -276,9 +276,9 @@ const lt = (e) => {
276
276
  "bottom-left",
277
277
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
278
278
  "left-bottom"
279
- ], y = () => [...S(), Ce, me], x = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", "contain", "none"], F = () => [Ce, me, l], E = () => [di, "full", "auto", ...F()], P = () => [Xo, "none", "subgrid", Ce, me], T = () => ["auto", {
280
- span: ["full", Xo, Ce, me]
281
- }, Xo, Ce, me], M = () => [Xo, "auto", Ce, me], k = () => ["auto", "min", "max", "fr", Ce, me], B = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], O = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], $ = () => ["auto", ...F()], K = () => [di, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...F()], N = () => [e, Ce, me], pe = () => [...S(), _h, Wh, {
279
+ ], y = () => [...S(), Ce, me], x = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", "contain", "none"], F = () => [Ce, me, l], E = () => [di, "full", "auto", ...F()], D = () => [Qo, "none", "subgrid", Ce, me], T = () => ["auto", {
280
+ span: ["full", Qo, Ce, me]
281
+ }, Qo, Ce, me], M = () => [Qo, "auto", Ce, me], k = () => ["auto", "min", "max", "fr", Ce, me], B = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], O = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], $ = () => ["auto", ...F()], K = () => [di, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...F()], N = () => [e, Ce, me], pe = () => [...S(), _h, Wh, {
282
282
  position: [Ce, me]
283
283
  }], z = () => ["no-repeat", {
284
284
  repeat: ["", "x", "y", "space", "round"]
@@ -545,7 +545,7 @@ const lt = (e) => {
545
545
  * @see https://tailwindcss.com/docs/z-index
546
546
  */
547
547
  z: [{
548
- z: [Xo, "auto", Ce, me]
548
+ z: [Qo, "auto", Ce, me]
549
549
  }],
550
550
  // ------------------------
551
551
  // --- Flexbox and Grid ---
@@ -597,14 +597,14 @@ const lt = (e) => {
597
597
  * @see https://tailwindcss.com/docs/order
598
598
  */
599
599
  order: [{
600
- order: [Xo, "first", "last", "none", Ce, me]
600
+ order: [Qo, "first", "last", "none", Ce, me]
601
601
  }],
602
602
  /**
603
603
  * Grid Template Columns
604
604
  * @see https://tailwindcss.com/docs/grid-template-columns
605
605
  */
606
606
  "grid-cols": [{
607
- "grid-cols": P()
607
+ "grid-cols": D()
608
608
  }],
609
609
  /**
610
610
  * Grid Column Start / End
@@ -632,7 +632,7 @@ const lt = (e) => {
632
632
  * @see https://tailwindcss.com/docs/grid-template-rows
633
633
  */
634
634
  "grid-rows": [{
635
- "grid-rows": P()
635
+ "grid-rows": D()
636
636
  }],
637
637
  /**
638
638
  * Grid Row Start / End
@@ -1275,9 +1275,9 @@ const lt = (e) => {
1275
1275
  bg: ["none", {
1276
1276
  linear: [{
1277
1277
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1278
- }, Xo, Ce, me],
1278
+ }, Qo, Ce, me],
1279
1279
  radial: ["", Ce, me],
1280
- conic: [Xo, Ce, me]
1280
+ conic: [Qo, Ce, me]
1281
1281
  }, xb, Sb]
1282
1282
  }],
1283
1283
  /**
@@ -2749,7 +2749,7 @@ const ol = ({
2749
2749
  ),
2750
2750
  children: e
2751
2751
  }
2752
- ) : null, as = ({
2752
+ ) : null, Go = ({
2753
2753
  ...e
2754
2754
  }) => /* @__PURE__ */ m(ol, { ...e, variant: Ra.Error });
2755
2755
  var $e = /* @__PURE__ */ ((e) => (e.Primary = "primary", e.Neutral = "neutral", e.Error = "error", e.Success = "Success", e.Secondary = "secondary", e.Tertiary = "tertiary", e))($e || {}), Oe = /* @__PURE__ */ ((e) => (e.Solid = "solid", e.Outlined = "outlined", e.Ghost = "ghost", e.Link = "link", e))(Oe || {});
@@ -3131,7 +3131,7 @@ const Lb = (e) => ({
3131
3131
  u(v.textContent ?? "");
3132
3132
  const w = v.clientWidth, b = v.scrollWidth, S = Math.ceil(v.getBoundingClientRect().width);
3133
3133
  c(b > w || b > S);
3134
- }, p = D(() => {
3134
+ }, p = P(() => {
3135
3135
  h.current && cancelAnimationFrame(h.current), h.current = requestAnimationFrame(g);
3136
3136
  }, []);
3137
3137
  xe(() => {
@@ -3194,7 +3194,7 @@ const Lb = (e) => ({
3194
3194
  className: a,
3195
3195
  ...l
3196
3196
  }) => {
3197
- const c = D(
3197
+ const c = P(
3198
3198
  (g) => {
3199
3199
  r?.(g.target.checked, t);
3200
3200
  },
@@ -3402,7 +3402,7 @@ const $b = "w-full flex gap-2", jb = {
3402
3402
  defaultEmptyText: p,
3403
3403
  children: f
3404
3404
  }) => {
3405
- const C = `${e}-label`, v = s ? `${e}-desc` : void 0, w = i ? `${e}-err` : void 0, b = `${e}-caption-desc`, S = [v, w].filter(Boolean).join(" ") || void 0, y = D(() => typeof i == "boolean" ? null : typeof i == "string" || typeof i > "u" ? i ? /* @__PURE__ */ m("div", { id: w, "aria-live": "polite", className: c, children: /* @__PURE__ */ m(as, { text: i }) }) : null : /* @__PURE__ */ m(
3405
+ const C = `${e}-label`, v = s ? `${e}-desc` : void 0, w = i ? `${e}-err` : void 0, b = `${e}-caption-desc`, S = [v, w].filter(Boolean).join(" ") || void 0, y = P(() => typeof i == "boolean" ? null : typeof i == "string" || typeof i > "u" ? i ? /* @__PURE__ */ m("div", { id: w, "aria-live": "polite", className: c, children: /* @__PURE__ */ m(Go, { text: i }) }) : null : /* @__PURE__ */ m(
3406
3406
  "div",
3407
3407
  {
3408
3408
  id: w,
@@ -3411,7 +3411,7 @@ const $b = "w-full flex gap-2", jb = {
3411
3411
  className: c,
3412
3412
  children: i
3413
3413
  }
3414
- ), [i, c, w]), x = D(() => g ? typeof g == "string" || typeof g == "number" ? /* @__PURE__ */ m("span", { "aria-readonly": "true", children: g }) : g : /* @__PURE__ */ m("span", { className: "flex min-h-4", "aria-readonly": "true", children: p ?? "None" }), [g, p]);
3414
+ ), [i, c, w]), x = P(() => g ? typeof g == "string" || typeof g == "number" ? /* @__PURE__ */ m("span", { "aria-readonly": "true", children: g }) : g : /* @__PURE__ */ m("span", { className: "flex min-h-4", "aria-readonly": "true", children: p ?? "None" }), [g, p]);
3415
3415
  return /* @__PURE__ */ V(
3416
3416
  "div",
3417
3417
  {
@@ -4856,7 +4856,7 @@ const xS = /* @__PURE__ */ SS(RS), Hs = typeof window < "u" ? ao : xe;
4856
4856
  function FS(e, t, o) {
4857
4857
  const [s, i] = I(
4858
4858
  () => t(e)
4859
- ), n = D(() => {
4859
+ ), n = P(() => {
4860
4860
  const r = t(e);
4861
4861
  xS(s, r) || (i(r), o && o());
4862
4862
  }, [
@@ -5738,9 +5738,9 @@ var Ea = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(Ea ||
5738
5738
  bottomLeft: nt(nt({}, Br), { left: "-10px", bottom: "-10px", cursor: "sw-resize" }),
5739
5739
  topLeft: nt(nt({}, Br), { left: "-10px", top: "-10px", cursor: "nw-resize" })
5740
5740
  }, ly = Rt(function(e) {
5741
- var t = e.onResizeStart, o = e.direction, s = e.children, i = e.replaceStyles, n = e.className, r = D(function(c) {
5741
+ var t = e.onResizeStart, o = e.direction, s = e.children, i = e.replaceStyles, n = e.className, r = P(function(c) {
5742
5742
  t(c, o);
5743
- }, [t, o]), a = D(function(c) {
5743
+ }, [t, o]), a = P(function(c) {
5744
5744
  t(c, o);
5745
5745
  }, [t, o]), l = G(function() {
5746
5746
  return nt(nt({ position: "absolute", userSelect: "none" }, ay[o]), i ?? {});
@@ -6061,8 +6061,8 @@ var Ea = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(Ea ||
6061
6061
  this.props.snap && this.props.snap.x && (S = lg(S, this.props.snap.x, this.props.snapGap)), this.props.snap && this.props.snap.y && (b = lg(b, this.props.snap.y, this.props.snapGap));
6062
6062
  var x = this.calculateNewSizeFromAspectRatio(S, b, { width: y.maxWidth, height: y.maxHeight }, { width: a, height: l });
6063
6063
  if (S = x.newWidth, b = x.newHeight, this.props.grid) {
6064
- var R = ag(S, this.props.grid[0], this.props.gridGap ? this.props.gridGap[0] : 0), F = ag(b, this.props.grid[1], this.props.gridGap ? this.props.gridGap[1] : 0), E = this.props.snapGap || 0, P = E === 0 || Math.abs(R - S) <= E ? R : S, T = E === 0 || Math.abs(F - b) <= E ? F : b;
6065
- S = P, b = T;
6064
+ var R = ag(S, this.props.grid[0], this.props.gridGap ? this.props.gridGap[0] : 0), F = ag(b, this.props.grid[1], this.props.gridGap ? this.props.gridGap[1] : 0), E = this.props.snapGap || 0, D = E === 0 || Math.abs(R - S) <= E ? R : S, T = E === 0 || Math.abs(F - b) <= E ? F : b;
6065
+ S = D, b = T;
6066
6066
  }
6067
6067
  var M = {
6068
6068
  width: S - g.width,
@@ -6190,9 +6190,9 @@ const my = ({ side: e, className: t }) => {
6190
6190
  resizeHandlerClassName: l,
6191
6191
  resizeHandler: c
6192
6192
  }) => {
6193
- const [d, u] = I(!1), [h, g] = I(i), p = s !== void 0, f = p ? s : h, C = L(null), v = D(() => {
6193
+ const [d, u] = I(!1), [h, g] = I(i), p = s !== void 0, f = p ? s : h, C = L(null), v = P(() => {
6194
6194
  u(!0);
6195
- }, []), w = D(() => {
6195
+ }, []), w = P(() => {
6196
6196
  u(!1);
6197
6197
  const S = C.current?.resizable?.getBoundingClientRect(), y = S ? Math.round(S.width) : t;
6198
6198
  p || g(y), n?.(y);
@@ -6275,7 +6275,7 @@ const by = (e) => {
6275
6275
  ...d
6276
6276
  }) => {
6277
6277
  if (!i && n)
6278
- return /* @__PURE__ */ m(qe, { children: n });
6278
+ return /* @__PURE__ */ m(je, { children: n });
6279
6279
  const u = ae(
6280
6280
  "bg-layer-3",
6281
6281
  e && "animate-pulse",
@@ -6402,7 +6402,7 @@ var Gs = class {
6402
6402
  t();
6403
6403
  }
6404
6404
  };
6405
- function Go(e) {
6405
+ function Bo(e) {
6406
6406
  return e == null || e === "" ? null : e;
6407
6407
  }
6408
6408
  function te(e) {
@@ -6583,7 +6583,7 @@ function dl(e, t) {
6583
6583
  }
6584
6584
  var Wy = "[tabindex], input, select, button, textarea, [href]", Jf = "[disabled], .ag-disabled:not(.ag-button), .ag-disabled *";
6585
6585
  function Nn(e) {
6586
- return !e || !e.matches("input, select, button, textarea") || !e.matches(Jf) ? !1 : $o(e);
6586
+ return !e || !e.matches("input, select, button, textarea") || !e.matches(Jf) ? !1 : jo(e);
6587
6587
  }
6588
6588
  function Je(e, t, o = {}) {
6589
6589
  const { skipAriaHidden: s } = o;
@@ -6691,7 +6691,7 @@ function ls(e) {
6691
6691
  function om(e) {
6692
6692
  return !!e.offsetParent;
6693
6693
  }
6694
- function $o(e) {
6694
+ function jo(e) {
6695
6695
  return e.checkVisibility ? e.checkVisibility({ checkVisibilityCSS: !0 }) : !(!om(e) || window.getComputedStyle(e).visibility !== "visible");
6696
6696
  }
6697
6697
  function Ou(e) {
@@ -6728,11 +6728,11 @@ function Gu(e) {
6728
6728
  function zt(e, t, o) {
6729
6729
  o == null || o === "" ? e.removeAttribute(t) : e.setAttribute(t, o.toString());
6730
6730
  }
6731
- function jo(e, t, o) {
6731
+ function qo(e, t, o) {
6732
6732
  const i = $f(e).ResizeObserver, n = i ? new i(o) : null;
6733
6733
  return n?.observe(t), () => n?.disconnect();
6734
6734
  }
6735
- function qo(e, t) {
6735
+ function Ko(e, t) {
6736
6736
  const o = $f(e);
6737
6737
  o.requestAnimationFrame ? o.requestAnimationFrame(t) : o.webkitRequestAnimationFrame ? o.webkitRequestAnimationFrame(t) : o.setTimeout(t, 0);
6738
6738
  }
@@ -6836,7 +6836,7 @@ var la = (e, ...t) => {
6836
6836
  t.removeEventListener(o, s, i);
6837
6837
  e.length = 0;
6838
6838
  }
6839
- }, ts = (e) => {
6839
+ }, os = (e) => {
6840
6840
  e.cancelable && e.preventDefault();
6841
6841
  };
6842
6842
  function Qy(e, t) {
@@ -7046,7 +7046,7 @@ function Sd(e, t = "setTimeout", o) {
7046
7046
  for (const r of n)
7047
7047
  r();
7048
7048
  };
7049
- t === "raf" ? qo(o, i) : window.setTimeout(i, 0);
7049
+ t === "raf" ? Ko(o, i) : window.setTimeout(i, 0);
7050
7050
  }
7051
7051
  function ut(e, t, o) {
7052
7052
  let s;
@@ -8286,7 +8286,7 @@ function bg(e, t, o) {
8286
8286
  for (let s = t.length - 1; s >= 0; s--)
8287
8287
  e.splice(o, 0, t[s]);
8288
8288
  }
8289
- var is = "ag-Grid-AutoColumn", $u = "ag-Grid-SelectionColumn", ju = "ag-Grid-RowNumbersColumn";
8289
+ var ns = "ag-Grid-AutoColumn", $u = "ag-Grid-SelectionColumn", ju = "ag-Grid-RowNumbersColumn";
8290
8290
  function Mm(e) {
8291
8291
  const t = [], o = (s) => {
8292
8292
  for (let i = 0; i < s.length; i++) {
@@ -8303,25 +8303,25 @@ function Ha(e, t, o) {
8303
8303
  const s = {};
8304
8304
  if (!t)
8305
8305
  return;
8306
- Vo(null, t, (n) => {
8306
+ zo(null, t, (n) => {
8307
8307
  s[n.getInstanceId()] = n;
8308
- }), o && Vo(null, o, (n) => {
8308
+ }), o && zo(null, o, (n) => {
8309
8309
  s[n.getInstanceId()] = null;
8310
8310
  });
8311
8311
  const i = Object.values(s).filter((n) => n != null);
8312
8312
  e.context.destroyBeans(i);
8313
8313
  }
8314
8314
  function qu(e) {
8315
- return e.getId().startsWith(is);
8315
+ return e.getId().startsWith(ns);
8316
8316
  }
8317
- function Ko(e) {
8317
+ function Yo(e) {
8318
8318
  return (typeof e == "string" ? e : "getColId" in e ? e.getColId() : e.colId)?.startsWith($u) ?? !1;
8319
8319
  }
8320
- function Bo(e) {
8320
+ function Vo(e) {
8321
8321
  return (typeof e == "string" ? e : "getColId" in e ? e.getColId() : e.colId)?.startsWith(ju) ?? !1;
8322
8322
  }
8323
8323
  function WR(e) {
8324
- return Ko(e) || Bo(e);
8324
+ return Yo(e) || Vo(e);
8325
8325
  }
8326
8326
  function Ga(e) {
8327
8327
  let t = [];
@@ -8365,14 +8365,14 @@ function qR(e, t = null, o, s, i) {
8365
8365
  a,
8366
8366
  i
8367
8367
  ), { colGroupSvc: d } = e, u = d?.findMaxDepth(c, 0) ?? 0, h = d ? d.balanceColumnTree(c, 0, u, n) : c;
8368
- return Vo(null, h, jR), {
8368
+ return zo(null, h, jR), {
8369
8369
  columnTree: h,
8370
8370
  treeDepth: u
8371
8371
  };
8372
8372
  }
8373
8373
  function KR(e) {
8374
8374
  const t = [], o = [], s = [];
8375
- return e && Vo(null, e, (i) => {
8375
+ return e && zo(null, e, (i) => {
8376
8376
  if (bt(i)) {
8377
8377
  const n = i;
8378
8378
  o.push(n);
@@ -8492,11 +8492,11 @@ function JR(e, t, o) {
8492
8492
  function e2(e) {
8493
8493
  return e.children !== void 0;
8494
8494
  }
8495
- function Vo(e, t, o) {
8495
+ function zo(e, t, o) {
8496
8496
  if (t)
8497
8497
  for (let s = 0; s < t.length; s++) {
8498
8498
  const i = t[s];
8499
- bt(i) && Vo(i, i.getChildren(), o), o(i, e);
8499
+ bt(i) && zo(i, i.getChildren(), o), o(i, e);
8500
8500
  }
8501
8501
  }
8502
8502
  function km(e, t) {
@@ -8508,7 +8508,7 @@ function km(e, t) {
8508
8508
  }
8509
8509
  function Lm(e, t) {
8510
8510
  let o = !0;
8511
- return Vo(null, t, (s) => {
8511
+ return zo(null, t, (s) => {
8512
8512
  if (!bt(s))
8513
8513
  return;
8514
8514
  const i = s;
@@ -8597,43 +8597,43 @@ function lo(e, t, o) {
8597
8597
  const v = (y, x, R, F, E) => {
8598
8598
  if (!y)
8599
8599
  return;
8600
- const P = $R(x, t.defaultState), T = P("flex").value1;
8600
+ const D = $R(x, t.defaultState), T = D("flex").value1;
8601
8601
  if (Am(
8602
8602
  e,
8603
8603
  y,
8604
- P("hide").value1,
8605
- P("sort").value1,
8606
- P("sortIndex").value1,
8607
- P("pinned").value1,
8604
+ D("hide").value1,
8605
+ D("sort").value1,
8606
+ D("sortIndex").value1,
8607
+ D("pinned").value1,
8608
8608
  T,
8609
8609
  o
8610
8610
  ), T == null) {
8611
- const M = P("width").value1;
8611
+ const M = D("width").value1;
8612
8612
  if (M != null) {
8613
8613
  const k = y.getColDef().minWidth ?? u.getDefaultColumnMinWidth();
8614
8614
  k != null && M >= k && y.setActualWidth(M, o);
8615
8615
  }
8616
8616
  }
8617
- E || !y.isPrimary() || (h?.syncColumnWithState(y, o, P), i?.syncColumnWithState(y, o, P, R), n?.syncColumnWithState(y, o, P, F));
8617
+ E || !y.isPrimary() || (h?.syncColumnWithState(y, o, D), i?.syncColumnWithState(y, o, D, R), n?.syncColumnWithState(y, o, D, F));
8618
8618
  }, w = (y, x, R) => {
8619
- const F = Hm(e, o), E = x.slice(), P = {}, T = {}, M = [], k = [], B = [];
8619
+ const F = Hm(e, o), E = x.slice(), D = {}, T = {}, M = [], k = [], B = [];
8620
8620
  let O = 0;
8621
8621
  const $ = i?.columns.slice() ?? [], K = n?.columns.slice() ?? [];
8622
8622
  for (const z of y) {
8623
8623
  const ne = z.colId;
8624
- if (ne.startsWith(is)) {
8624
+ if (ne.startsWith(ns)) {
8625
8625
  M.push(z), B.push(z);
8626
8626
  continue;
8627
8627
  }
8628
- if (Ko(ne)) {
8628
+ if (Yo(ne)) {
8629
8629
  k.push(z), B.push(z);
8630
8630
  continue;
8631
8631
  }
8632
8632
  const se = R(ne);
8633
- se ? (v(se, z, P, T, !1), co(E, se)) : (B.push(z), O += 1);
8633
+ se ? (v(se, z, D, T, !1), co(E, se)) : (B.push(z), O += 1);
8634
8634
  }
8635
- const N = (z) => v(z, null, P, T, !1);
8636
- E.forEach(N), i?.sortColumns(Sg.bind(i, P, $)), n?.sortColumns(Sg.bind(n, T, K)), s.refreshCols(!1, o);
8635
+ const N = (z) => v(z, null, D, T, !1);
8636
+ E.forEach(N), i?.sortColumns(Sg.bind(i, D, $)), n?.sortColumns(Sg.bind(n, T, K)), s.refreshCols(!1, o);
8637
8637
  const pe = (z, ne, oe = []) => {
8638
8638
  for (const se of ne) {
8639
8639
  const we = z(se.colId);
@@ -8694,8 +8694,8 @@ function Hm(e, t) {
8694
8694
  d[u.colId] = u;
8695
8695
  return () => {
8696
8696
  const u = (x, R, F, E) => {
8697
- const P = R.map(E), T = F.map(E);
8698
- if (gs(P, T))
8697
+ const D = R.map(E), T = F.map(E);
8698
+ if (gs(D, T))
8699
8699
  return;
8700
8700
  const k = new Set(R);
8701
8701
  for (const O of F)
@@ -8726,8 +8726,8 @@ function Hm(e, t) {
8726
8726
  g
8727
8727
  );
8728
8728
  const f = h((x, R) => {
8729
- const F = x.aggFunc != null, E = F != R.isValueActive(), P = F && x.aggFunc != R.getAggFunc();
8730
- return E || P;
8729
+ const F = x.aggFunc != null, E = F != R.isValueActive(), D = F && x.aggFunc != R.getAggFunc();
8730
+ return E || D;
8731
8731
  });
8732
8732
  f.length > 0 && o2(a, "columnValueChanged", f, t), zi(a, h((x, R) => x.width != R.getActualWidth()), !0, t), Nm(a, h((x, R) => x.pinned != R.getPinned()), t), t2(a, h((x, R) => x.hide == R.isVisible()), t);
8733
8733
  const S = h((x, R) => x.sort != R.getSort() || x.sortIndex != R.getSortIndex());
@@ -8812,7 +8812,7 @@ function n2(e, t, o, s) {
8812
8812
  const l = a.getColId();
8813
8813
  if (n[l] != null)
8814
8814
  continue;
8815
- l.startsWith(is) ? i.splice(r++, 0, a) : i.push(a);
8815
+ l.startsWith(ns) ? i.splice(r++, 0, a) : i.push(a);
8816
8816
  }
8817
8817
  if (i = km(i, s), !Lm(i, o.getColTree())) {
8818
8818
  U(39);
@@ -8958,7 +8958,7 @@ var Sg = (e, t, o, s) => {
8958
8958
  const c = qu(l);
8959
8959
  if (s) {
8960
8960
  const d = r?.includes(l);
8961
- return c || d || i && Ko(l) || n && Bo(l);
8961
+ return c || d || i && Yo(l) || n && Vo(l);
8962
8962
  } else
8963
8963
  return c || l.isVisible();
8964
8964
  });
@@ -9874,7 +9874,7 @@ function Ti(e, t, o = !1) {
9874
9874
  const s = Wy;
9875
9875
  let i = Jf;
9876
9876
  t && (i += ", " + t), o && (i += ', [tabindex="-1"]');
9877
- const n = Array.prototype.slice.apply(e.querySelectorAll(s)).filter((l) => $o(l)), r = Array.prototype.slice.apply(e.querySelectorAll(i));
9877
+ const n = Array.prototype.slice.apply(e.querySelectorAll(s)).filter((l) => jo(l)), r = Array.prototype.slice.apply(e.querySelectorAll(i));
9878
9878
  return r.length ? ((l, c) => l.filter((d) => c.indexOf(d) === -1))(n, r) : n;
9879
9879
  }
9880
9880
  function Ws(e, t = !1, o = !1, s = !1) {
@@ -10469,7 +10469,7 @@ var Ps = class extends Zm {
10469
10469
  }
10470
10470
  highlightItem(e) {
10471
10471
  const t = e.getGui();
10472
- if (!$o(t))
10472
+ if (!jo(t))
10473
10473
  return;
10474
10474
  this.clearHighlighted(), e.setHighlighted(!0), this.highlightedItem = e;
10475
10475
  const o = this.getGui(), { scrollTop: s, clientHeight: i } = o, { offsetTop: n, offsetHeight: r } = t;
@@ -10855,7 +10855,7 @@ var Ps = class extends Zm {
10855
10855
  }, Eg, Mi = (Eg = typeof window == "object" ? window : {}).agStyleInjectionState ?? (Eg.agStyleInjectionState = {
10856
10856
  map: /* @__PURE__ */ new WeakMap(),
10857
10857
  grids: /* @__PURE__ */ new Set()
10858
- }), Dt = (e) => new Jm(e), os = "$default", yx = 0, Jm = class {
10858
+ }), Dt = (e) => new Jm(e), ss = "$default", yx = 0, Jm = class {
10859
10859
  constructor({ feature: e, params: t, modeParams: o = {}, css: s, cssImports: i }) {
10860
10860
  this.feature = e, this.css = s, this.cssImports = i, this.modeParams = {
10861
10861
  // NOTE: it's important that default is defined first, putting it
@@ -10863,8 +10863,8 @@ var Ps = class extends Zm {
10863
10863
  // params override any prior modal params, so modal params in this
10864
10864
  // part need to come after default params to prevent them from being
10865
10865
  // immediately overridden.
10866
- [os]: {
10867
- ...o[os] ?? {},
10866
+ [ss]: {
10867
+ ...o[ss] ?? {},
10868
10868
  ...t ?? {}
10869
10869
  },
10870
10870
  ...o
@@ -11050,7 +11050,7 @@ ${i}`;
11050
11050
  withoutPart(t) {
11051
11051
  return this.withPart(Dt({ feature: t }));
11052
11052
  }
11053
- withParams(t, o = os) {
11053
+ withParams(t, o = ss) {
11054
11054
  return this.withPart(
11055
11055
  Dt({
11056
11056
  modeParams: { [o]: t }
@@ -11087,7 +11087,7 @@ ${i}`;
11087
11087
  // NOTE: defining the default mode here is important, it ensures
11088
11088
  // that the default mode is first in iteration order, which puts
11089
11089
  // it first in outputted CSS, allowing other modes to override it
11090
- [os]: { ...Dx }
11090
+ [ss]: { ...Dx }
11091
11091
  };
11092
11092
  for (const s of Pg(this.parts))
11093
11093
  for (const i of Object.keys(s.modeParams)) {
@@ -11098,10 +11098,10 @@ ${i}`;
11098
11098
  const c = n[l];
11099
11099
  c !== void 0 && (r[l] = c, a.add(l));
11100
11100
  }
11101
- if (i === os)
11101
+ if (i === ss)
11102
11102
  for (const l of Object.keys(o)) {
11103
11103
  const c = o[l];
11104
- if (l !== os)
11104
+ if (l !== ss)
11105
11105
  for (const d of a)
11106
11106
  delete c[d];
11107
11107
  }
@@ -11126,7 +11126,7 @@ ${i}`;
11126
11126
  const r = this._getModeParams();
11127
11127
  for (const l of Object.keys(r)) {
11128
11128
  const c = r[l];
11129
- if (l !== os) {
11129
+ if (l !== ss) {
11130
11130
  const u = `:where([data-ag-theme-mode="${typeof CSS == "object" ? CSS.escape(l) : l}"]) & {
11131
11131
  `;
11132
11132
  i += u, n += u;
@@ -11142,7 +11142,7 @@ ${i}`;
11142
11142
  `;
11143
11143
  }
11144
11144
  }
11145
- l !== os && (i += `}
11145
+ l !== ss && (i += `}
11146
11146
  `, n += `}
11147
11147
  `);
11148
11148
  }
@@ -11731,7 +11731,7 @@ ${n}}
11731
11731
  )), t.style.left = `${d}px`, t.style.top = `${u}px`, e.postProcessCallback && e.postProcessCallback());
11732
11732
  };
11733
11733
  if (l(), !n) {
11734
- const c = jo(this.beans, t, () => l(!0));
11734
+ const c = qo(this.beans, t, () => l(!0));
11735
11735
  setTimeout(() => c(), Qx);
11736
11736
  }
11737
11737
  }
@@ -12038,7 +12038,7 @@ ${n}}
12038
12038
  const o = this.beans, s = (a) => this.onScroll(a), i = (a) => this.onKeyDown(a), n = no(o), r = ft(o);
12039
12039
  la(
12040
12040
  e.handlers,
12041
- [n, "contextmenu", ts],
12041
+ [n, "contextmenu", os],
12042
12042
  [n, "keydown", i],
12043
12043
  [r, "scroll", s, { capture: !0 }],
12044
12044
  [r.defaultView || window, "scroll", s],
@@ -12078,8 +12078,8 @@ ${n}}
12078
12078
  [i, "pointerup", c],
12079
12079
  [i, "pointercancel", d],
12080
12080
  [i, "pointermove", l, { passive: !1 }],
12081
- [i, "touchmove", ts, { passive: !1 }],
12082
- [n, "mousemove", ts, { passive: !1 }]
12081
+ [i, "touchmove", os, { passive: !1 }],
12082
+ [n, "mousemove", os, { passive: !1 }]
12083
12083
  ), e.dragStartPixels === 0 ? this.onMouseOrPointerMove(t) : Ao(t);
12084
12084
  }
12085
12085
  // gets called whenever mouse down on any drag source
@@ -12087,14 +12087,14 @@ ${n}}
12087
12087
  if (this.gos.get("suppressTouch") || !e.includeTouch || !Ao(t) || Nn(Dc(t)))
12088
12088
  return;
12089
12089
  if (e.stopPropagationForTouch && t.stopPropagation(), this.isPointer()) {
12090
- ts(t);
12090
+ os(t);
12091
12091
  return;
12092
12092
  }
12093
12093
  this.destroyDrag();
12094
12094
  const s = this.beans, i = no(s), n = new Ec(i, e, t.touches[0]), r = (c) => this.onTouchMove(c), a = (c) => this.onTouchUp(c), l = t.target ?? e.eElement;
12095
12095
  this.initDrag(
12096
12096
  n,
12097
- [no(s), "touchmove", ts, { passive: !1 }],
12097
+ [no(s), "touchmove", os, { passive: !1 }],
12098
12098
  [l, "touchmove", r, { passive: !0 }],
12099
12099
  [l, "touchend", a, { passive: !0 }],
12100
12100
  [l, "touchcancel", a, { passive: !0 }]
@@ -12117,7 +12117,7 @@ ${n}}
12117
12117
  }
12118
12118
  /** only gets called after a mouse down - as this is only added after mouseDown and is removed when mouseUp happens */
12119
12119
  onMouseOrPointerMove(e) {
12120
- Ao(e) && (ps() && ft(this.beans).getSelection()?.removeAllRanges(), this.shouldPreventMouseEvent(e) && ts(e), this.onMove(e));
12120
+ Ao(e) && (ps() && ft(this.beans).getSelection()?.removeAllRanges(), this.shouldPreventMouseEvent(e) && os(e), this.onMove(e));
12121
12121
  }
12122
12122
  onTouchMove(e) {
12123
12123
  const t = this.drag;
@@ -12921,7 +12921,7 @@ var cF = /* @__PURE__ */ new Set([
12921
12921
  agDateColumnFilter: "agDateColumnFilterHandler",
12922
12922
  agTextColumnFilter: "agTextColumnFilterHandler"
12923
12923
  }, uF = new Set(Object.values(uC));
12924
- function Qo(e, t) {
12924
+ function Jo(e, t) {
12925
12925
  const o = e.filterUi;
12926
12926
  if (!o)
12927
12927
  return null;
@@ -13115,7 +13115,7 @@ var pF = class extends tt {
13115
13115
  filterSummaryInRangeValues: (e) => `(${e[0]}, ${e[1]})`,
13116
13116
  filterSummaryTextQuote: (e) => `"${e[0]}"`
13117
13117
  };
13118
- function ss(e, t, o) {
13118
+ function is(e, t, o) {
13119
13119
  return Jy(e, fF, t, o);
13120
13120
  }
13121
13121
  function nh(e, t) {
@@ -13172,7 +13172,7 @@ var mF = class extends tt {
13172
13172
  if (l) {
13173
13173
  const d = n.map((u) => {
13174
13174
  const h = `${u}Filter`;
13175
- return { type: u, label: ss(this, h) };
13175
+ return { type: u, label: is(this, h) };
13176
13176
  });
13177
13177
  if (this.applyActive = gl(this.params), !c) {
13178
13178
  c = this.createBean(new pF()), this.appendChild(c.getGui());
@@ -13446,7 +13446,7 @@ var SF = {
13446
13446
  function RF(e, t = !1) {
13447
13447
  return (t ? yF : SF)[e ?? "text"];
13448
13448
  }
13449
- var pC = "ag-resizer-wrapper", Jo = (e, t) => ({
13449
+ var pC = "ag-resizer-wrapper", es = (e, t) => ({
13450
13450
  tag: "div",
13451
13451
  ref: `${e}Resizer`,
13452
13452
  cls: `ag-resizer ag-resizer-${t}`
@@ -13454,14 +13454,14 @@ var pC = "ag-resizer-wrapper", Jo = (e, t) => ({
13454
13454
  tag: "div",
13455
13455
  cls: pC,
13456
13456
  children: [
13457
- Jo("eTopLeft", "topLeft"),
13458
- Jo("eTop", "top"),
13459
- Jo("eTopRight", "topRight"),
13460
- Jo("eRight", "right"),
13461
- Jo("eBottomRight", "bottomRight"),
13462
- Jo("eBottom", "bottom"),
13463
- Jo("eBottomLeft", "bottomLeft"),
13464
- Jo("eLeft", "left")
13457
+ es("eTopLeft", "topLeft"),
13458
+ es("eTop", "top"),
13459
+ es("eTopRight", "topRight"),
13460
+ es("eRight", "right"),
13461
+ es("eBottomRight", "bottomRight"),
13462
+ es("eBottom", "bottom"),
13463
+ es("eBottomLeft", "bottomLeft"),
13464
+ es("eLeft", "left")
13465
13465
  ]
13466
13466
  }, FF = class extends H {
13467
13467
  constructor(e, t) {
@@ -13489,7 +13489,7 @@ var pC = "ag-resizer-wrapper", Jo = (e, t) => ({
13489
13489
  const { centered: t, forcePopupParentAsOffsetParent: o, minWidth: s, width: i, minHeight: n, height: r, x: a, y: l } = this.config;
13490
13490
  this.offsetParent || this.setOffsetParent();
13491
13491
  let c = 0, d = 0;
13492
- const u = $o(this.element);
13492
+ const u = jo(this.element);
13493
13493
  if (u) {
13494
13494
  const h = this.findBoundaryElement(), g = window.getComputedStyle(h);
13495
13495
  if (g.minWidth != null) {
@@ -13629,7 +13629,7 @@ var pC = "ag-resizer-wrapper", Jo = (e, t) => ({
13629
13629
  const o = this.getAvailableHeight();
13630
13630
  this.element.style.setProperty("max-height", `${o}px`);
13631
13631
  };
13632
- e && this.popupSvc ? (this.resizeObserverSubscriber?.(), this.resizeObserverSubscriber = jo(
13632
+ e && this.popupSvc ? (this.resizeObserverSubscriber?.(), this.resizeObserverSubscriber = qo(
13633
13633
  this.beans,
13634
13634
  this.popupSvc?.getPopupParent(),
13635
13635
  t
@@ -13817,7 +13817,7 @@ var pC = "ag-resizer-wrapper", Jo = (e, t) => ({
13817
13817
  function _s(e) {
13818
13818
  e[fC] = !0;
13819
13819
  }
13820
- function zo(e) {
13820
+ function Wo(e) {
13821
13821
  return e[fC] === !0;
13822
13822
  }
13823
13823
  var EF = "ag-focus-managed", Ji = class extends H {
@@ -13843,7 +13843,7 @@ var EF = "ag-focus-managed", Ji = class extends H {
13843
13843
  addKeyDownListeners(e) {
13844
13844
  this.addManagedElementListeners(e, {
13845
13845
  keydown: (t) => {
13846
- if (t.defaultPrevented || zo(t))
13846
+ if (t.defaultPrevented || Wo(t))
13847
13847
  return;
13848
13848
  const { callbacks: o } = this;
13849
13849
  if (o.shouldStopEventPropagation(t)) {
@@ -14002,7 +14002,7 @@ var EF = "ag-focus-managed", Ji = class extends H {
14002
14002
  this.positionableFeature = this.destroyBean(this.positionableFeature), super.destroy();
14003
14003
  }
14004
14004
  translate(e) {
14005
- return ss(this, e);
14005
+ return is(this, e);
14006
14006
  }
14007
14007
  // override to control positionable feature
14008
14008
  getPositionableElement() {
@@ -14048,7 +14048,7 @@ var pa = {
14048
14048
  }, o = t.autoHeight ? pa.AUTO_HEIGHT : t.print ? pa.PRINT : pa.NORMAL;
14049
14049
  this.view.updateLayoutClasses(o, t);
14050
14050
  }
14051
- }, es = "Viewport", Hg = "fakeVScrollComp", Pc = [
14051
+ }, ts = "Viewport", Hg = "fakeVScrollComp", Pc = [
14052
14052
  "fakeHScrollComp",
14053
14053
  "centerHeader",
14054
14054
  "topCenter",
@@ -14107,7 +14107,7 @@ var pa = {
14107
14107
  }
14108
14108
  addHorizontalScrollListeners() {
14109
14109
  this.addManagedElementListeners(this.centerRowsCtrl.eViewport, {
14110
- scroll: this.onHScroll.bind(this, es)
14110
+ scroll: this.onHScroll.bind(this, ts)
14111
14111
  });
14112
14112
  for (const e of Pc) {
14113
14113
  const t = this.ctrlsSvc.get(e);
@@ -14115,7 +14115,7 @@ var pa = {
14115
14115
  }
14116
14116
  }
14117
14117
  addVerticalScrollListeners() {
14118
- const e = this.ctrlsSvc.get("fakeVScrollComp"), t = this.gos.get("debounceVerticalScrollbar"), o = t ? ut(this, this.onVScroll.bind(this, es), Gg) : this.onVScroll.bind(this, es), s = t ? ut(this, this.onVScroll.bind(this, Hg), Gg) : this.onVScroll.bind(this, Hg);
14118
+ const e = this.ctrlsSvc.get("fakeVScrollComp"), t = this.gos.get("debounceVerticalScrollbar"), o = t ? ut(this, this.onVScroll.bind(this, ts), Gg) : this.onVScroll.bind(this, ts), s = t ? ut(this, this.onVScroll.bind(this, Hg), Gg) : this.onVScroll.bind(this, Hg);
14119
14119
  this.addManagedElementListeners(this.eBodyViewport, { scroll: o }), this.registerScrollPartner(e, s);
14120
14120
  }
14121
14121
  registerScrollPartner(e, t) {
@@ -14128,7 +14128,7 @@ var pa = {
14128
14128
  this.centerRowsCtrl != null && (e === void 0 && (e = this.centerRowsCtrl.getCenterViewportScrollLeft()), this.setScrollLeftForAllContainersExceptCurrent(Math.abs(e)));
14129
14129
  }
14130
14130
  setScrollLeftForAllContainersExceptCurrent(e) {
14131
- for (const t of [...Pc, es]) {
14131
+ for (const t of [...Pc, ts]) {
14132
14132
  if (this.lastScrollSource[
14133
14133
  1
14134
14134
  /* Horizontal */
@@ -14139,7 +14139,7 @@ var pa = {
14139
14139
  }
14140
14140
  }
14141
14141
  getViewportForSource(e) {
14142
- return e === es ? this.centerRowsCtrl.eViewport : this.ctrlsSvc.get(e).eViewport;
14142
+ return e === ts ? this.centerRowsCtrl.eViewport : this.ctrlsSvc.get(e).eViewport;
14143
14143
  }
14144
14144
  isControllingScroll(e, t) {
14145
14145
  return this.lastScrollSource[t] == null ? (t === 0 ? this.lastScrollSource[0] = e : this.lastScrollSource[1] = e, !0) : this.lastScrollSource[t] === e;
@@ -14165,10 +14165,10 @@ var pa = {
14165
14165
  ))
14166
14166
  return;
14167
14167
  let t;
14168
- if (e === es ? t = this.eBodyViewport.scrollTop : t = this.ctrlsSvc.get("fakeVScrollComp").getScrollPosition(), this.shouldBlockScrollUpdate(0, t, !0))
14168
+ if (e === ts ? t = this.eBodyViewport.scrollTop : t = this.ctrlsSvc.get("fakeVScrollComp").getScrollPosition(), this.shouldBlockScrollUpdate(0, t, !0))
14169
14169
  return;
14170
14170
  const { animationFrameSvc: o } = this;
14171
- o?.setScrollTop(t), this.nextScrollTop = t, e === es ? this.ctrlsSvc.get("fakeVScrollComp").setScrollPosition(t) : this.eBodyViewport.scrollTop = t, o?.active ? o.schedule() : this.scrollGridIfNeeded(!0), this.resetLastVScrollDebounced();
14171
+ o?.setScrollTop(t), this.nextScrollTop = t, e === ts ? this.ctrlsSvc.get("fakeVScrollComp").setScrollPosition(t) : this.eBodyViewport.scrollTop = t, o?.active ? o.schedule() : this.scrollGridIfNeeded(!0), this.resetLastVScrollDebounced();
14172
14172
  }
14173
14173
  doHorizontalScroll(e) {
14174
14174
  const t = this.ctrlsSvc.get("fakeHScrollComp").getScrollPosition();
@@ -14230,7 +14230,7 @@ var pa = {
14230
14230
  t = !0;
14231
14231
  break;
14232
14232
  }
14233
- t && this.onHScroll(es);
14233
+ t && this.onHScroll(ts);
14234
14234
  }
14235
14235
  scrollGridIfNeeded(e = !1) {
14236
14236
  const t = this.scrollTop != this.nextScrollTop;
@@ -14323,9 +14323,9 @@ var pa = {
14323
14323
  let u, h, g = 0;
14324
14324
  this.invalidateVerticalScroll();
14325
14325
  do {
14326
- const { stickyTopHeight: p, stickyBottomHeight: f } = c, C = d.rowTop, v = d.rowHeight, w = r.getPixelOffset(), b = d.rowTop - w, S = b + d.rowHeight, y = this.getVScrollPosition(), x = a.divStretchOffset, R = y.top + x, F = y.bottom + x, E = F - R, P = a.getScrollPositionForPixel(b), T = a.getScrollPositionForPixel(S - E), M = Math.min((P + T) / 2, b), k = R + p > b, B = F - f < S;
14326
+ const { stickyTopHeight: p, stickyBottomHeight: f } = c, C = d.rowTop, v = d.rowHeight, w = r.getPixelOffset(), b = d.rowTop - w, S = b + d.rowHeight, y = this.getVScrollPosition(), x = a.divStretchOffset, R = y.top + x, F = y.bottom + x, E = F - R, D = a.getScrollPositionForPixel(b), T = a.getScrollPositionForPixel(S - E), M = Math.min((D + T) / 2, b), k = R + p > b, B = F - f < S;
14327
14327
  let O = null;
14328
- t === "top" ? O = P - p : t === "bottom" ? O = T + f : t === "middle" ? O = M : k ? O = P - p : B && (T - P > E ? O = P - p : O = T + f), O !== null && (this.setVerticalScrollPosition(O), l.redraw({ afterScroll: !0 })), u = C !== d.rowTop || v !== d.rowHeight, h = p !== c.stickyTopHeight || f !== c.stickyBottomHeight, g++;
14328
+ t === "top" ? O = D - p : t === "bottom" ? O = T + f : t === "middle" ? O = M : k ? O = D - p : B && (T - D > E ? O = D - p : O = T + f), O !== null && (this.setVerticalScrollPosition(O), l.redraw({ afterScroll: !0 })), u = C !== d.rowTop || v !== d.rowHeight, h = p !== c.stickyTopHeight || f !== c.stickyBottomHeight, g++;
14329
14329
  } while ((u || h) && g < 10);
14330
14330
  if (this.animationFrameSvc?.flushAllFrames(), o < 10 && (d?.stub || !this.beans.rowAutoHeight?.areRowsMeasured())) {
14331
14331
  const p = this.getVScrollPosition().top;
@@ -14415,7 +14415,7 @@ var pa = {
14415
14415
  }
14416
14416
  listenForResize() {
14417
14417
  const { beans: e, centerContainerCtrl: t, gridBodyCtrl: o } = this, s = () => {
14418
- qo(e, () => {
14418
+ Ko(e, () => {
14419
14419
  this.onCenterViewportResized();
14420
14420
  });
14421
14421
  };
@@ -14582,7 +14582,7 @@ var zF = class extends H {
14582
14582
  }
14583
14583
  }
14584
14584
  processMouseEvent(e, t) {
14585
- if (!Yn(this.beans, t) || zo(t))
14585
+ if (!Yn(this.beans, t) || Wo(t))
14586
14586
  return;
14587
14587
  const { cellCtrl: o, rowCtrl: s } = this.getControlsForEventTarget(t.target);
14588
14588
  e === "contextmenu" ? (o?.column && o.dispatchCellContextMenuEvent(t), this.beans.contextMenuSvc?.handleContextMenuMouseEvent(t, void 0, s, o)) : (o && o.onMouseEvent(e, t), s && s.onMouseEvent(e, t));
@@ -14962,7 +14962,7 @@ var UF = ["topCenter", "topLeft", "topRight"], $F = ["bottomCenter", "bottomLeft
14962
14962
  return Pa(this.eViewport, this.enableRtl);
14963
14963
  }
14964
14964
  registerViewportResizeListener(e) {
14965
- const t = jo(this.beans, this.eViewport, e);
14965
+ const t = qo(this.beans, this.eViewport, e);
14966
14966
  this.addDestroyFunc(() => t());
14967
14967
  }
14968
14968
  isViewportInTheDOMTree() {
@@ -15050,7 +15050,7 @@ var UF = ["topCenter", "topLeft", "topRight"], $F = ["bottomCenter", "bottomLeft
15050
15050
  const { scrollVisibleSvc: e } = this, t = e.verticalScrollShowing;
15051
15051
  this.setVerticalScrollPaddingVisible(t), this.setStickyWidth(t), this.setStickyBottomOffsetBottom();
15052
15052
  const o = t && e.getScrollbarWidth() || 0, s = qm() ? 16 : 0, i = `calc(100% + ${o + s}px)`;
15053
- qo(this.beans, () => this.comp.setBodyViewportWidth(i)), this.updateScrollingClasses();
15053
+ Ko(this.beans, () => this.comp.setBodyViewportWidth(i)), this.updateScrollingClasses();
15054
15054
  }
15055
15055
  setGridRootRole() {
15056
15056
  const { rowGroupColsSvc: e, colModel: t } = this;
@@ -15274,7 +15274,7 @@ var RC = class extends tt {
15274
15274
  });
15275
15275
  }
15276
15276
  onScrollVisibilityChanged() {
15277
- this.invisibleScrollbar === void 0 && this.initialiseInvisibleScrollbar(), qo(this.beans, () => this.setScrollVisible());
15277
+ this.invisibleScrollbar === void 0 && this.initialiseInvisibleScrollbar(), Ko(this.beans, () => this.setScrollVisible());
15278
15278
  }
15279
15279
  hideAndShowInvisibleScrollAsNeeded() {
15280
15280
  this.addManagedEventListeners({
@@ -15292,7 +15292,7 @@ var RC = class extends tt {
15292
15292
  const t = this.eViewport;
15293
15293
  rR(
15294
15294
  this,
15295
- () => $o(t),
15295
+ () => jo(t),
15296
15296
  () => this.setScrollPosition(e),
15297
15297
  100
15298
15298
  );
@@ -15363,7 +15363,7 @@ var RC = class extends tt {
15363
15363
  return Pa(this.eViewport, this.enableRtl);
15364
15364
  }
15365
15365
  setScrollPosition(e) {
15366
- $o(this.eViewport) || this.attemptSettingScrollPosition(e), Ta(this.eViewport, e, this.enableRtl);
15366
+ jo(this.eViewport) || this.attemptSettingScrollPosition(e), Ta(this.eViewport, e, this.enableRtl);
15367
15367
  }
15368
15368
  }, aE = {
15369
15369
  tag: "div",
@@ -15400,7 +15400,7 @@ var RC = class extends tt {
15400
15400
  return this.eViewport.scrollTop;
15401
15401
  }
15402
15402
  setScrollPosition(e, t) {
15403
- !t && !$o(this.eViewport) && this.attemptSettingScrollPosition(e), this.eViewport.scrollTop = e;
15403
+ !t && !jo(this.eViewport) && this.attemptSettingScrollPosition(e), this.eViewport.scrollTop = e;
15404
15404
  }
15405
15405
  }, cE = "ag-column-first", dE = "ag-column-last";
15406
15406
  function xC(e, t, o, s) {
@@ -15538,7 +15538,7 @@ var wE = class extends H {
15538
15538
  headerRowsChanged: e,
15539
15539
  columnHeaderHeightChanged: e,
15540
15540
  // add this to the animation frame to avoid a feedback loop
15541
- columnGroupHeaderHeightChanged: () => qo(this.beans, () => e()),
15541
+ columnGroupHeaderHeightChanged: () => Ko(this.beans, () => e()),
15542
15542
  gridStylesChanged: e,
15543
15543
  advancedFilterEnabledChanged: e
15544
15544
  });
@@ -15719,7 +15719,7 @@ var wE = class extends H {
15719
15719
  const u = this.column.isAutoHeaderHeight();
15720
15720
  u && !r && c(), !u && r && d();
15721
15721
  }, c = () => {
15722
- r = !0, this.comp.toggleCss("ag-header-cell-auto-height", !0), n(0), a = jo(this.beans, t, () => n(0));
15722
+ r = !0, this.comp.toggleCss("ag-header-cell-auto-height", !0), n(0), a = qo(this.beans, t, () => n(0));
15723
15723
  }, d = () => {
15724
15724
  r = !1, a && a(), this.comp.toggleCss("ag-header-cell-auto-height", !1), a = void 0;
15725
15725
  };
@@ -16510,7 +16510,7 @@ var yE = 0, kc = class extends H {
16510
16510
  e?.showMenuAfterMouseEvent(r, a, o, n, s);
16511
16511
  } else if (r) {
16512
16512
  const a = this.beans, l = a.ctrlsSvc;
16513
- l.getScrollFeature().ensureColumnVisible(r, "auto"), qo(a, () => {
16513
+ l.getScrollFeature().ensureColumnVisible(r, "auto"), Ko(a, () => {
16514
16514
  const c = l.getHeaderRowContainerCtrl(r.getPinned())?.getHeaderCtrlForColumn(r);
16515
16515
  c && e?.showMenuAfterButtonClick(
16516
16516
  r,
@@ -16549,7 +16549,7 @@ var fl = class extends Yu {
16549
16549
  cls: "ag-overlay-loading-center"
16550
16550
  }, EE = class extends TC {
16551
16551
  init() {
16552
- const e = Go(this.gos.get("overlayLoadingTemplate")?.trim());
16552
+ const e = Bo(this.gos.get("overlayLoadingTemplate")?.trim());
16553
16553
  if (this.setTemplate(e ?? FE), !e) {
16554
16554
  const o = this.getLocaleTextFunc()("loadingOoo", "Loading...");
16555
16555
  this.getGui().textContent = o, this.beans.ariaAnnounce.announceValue(o, "overlay");
@@ -16557,7 +16557,7 @@ var fl = class extends Yu {
16557
16557
  }
16558
16558
  }, DE = { tag: "span", cls: "ag-overlay-no-rows-center" }, PE = class extends TC {
16559
16559
  init() {
16560
- const e = Go(this.gos.get("overlayNoRowsTemplate")?.trim());
16560
+ const e = Bo(this.gos.get("overlayNoRowsTemplate")?.trim());
16561
16561
  if (this.setTemplate(e ?? DE), !e) {
16562
16562
  const o = this.getLocaleTextFunc()("noRowsToShow", "No Rows To Show");
16563
16563
  this.getGui().textContent = o, this.beans.ariaAnnounce.announceValue(o, "overlay");
@@ -16709,7 +16709,7 @@ var ME = (
16709
16709
  t = s;
16710
16710
  else {
16711
16711
  const u = i.getColId();
16712
- u.startsWith(is) ? t = s == null || s === "" ? void 0 : s === "true" : n.aggData && n.aggData[u] !== void 0 || n.sourceRowIndex >= 0 ? t = s ?? void 0 : o = !1;
16712
+ u.startsWith(ns) ? t = s == null || s === "" ? void 0 : s === "true" : n.aggData && n.aggData[u] !== void 0 || n.sourceRowIndex >= 0 ? t = s ?? void 0 : o = !1;
16713
16713
  }
16714
16714
  else
16715
16715
  t = s ?? void 0;
@@ -17585,7 +17585,7 @@ function IC({ gos: e, selectionColSvc: t }, o) {
17585
17585
  const s = e.get("rowSelection"), i = o.getColDef(), { headerCheckboxSelection: n } = i;
17586
17586
  let r = !1;
17587
17587
  if (typeof s == "object") {
17588
- const l = Ko(o), c = qu(o);
17588
+ const l = Yo(o), c = qu(o);
17589
17589
  (ka(s) === "autoGroupColumn" && c || l && t?.isSelectionColumnEnabled()) && (r = da(s));
17590
17590
  } else typeof n == "function" ? r = n(Re(e, { column: o, colDef: i })) : r = !!n;
17591
17591
  return r;
@@ -17703,7 +17703,7 @@ var KE = class extends H {
17703
17703
  isCellCheckboxSelection(e, t) {
17704
17704
  const o = this.gos.get("rowSelection");
17705
17705
  if (o && typeof o != "string") {
17706
- const s = Ko(e) && Di(o);
17706
+ const s = Yo(e) && Di(o);
17707
17707
  return e.isColumnFunc(t, s);
17708
17708
  } else
17709
17709
  return e.isColumnFunc(t, e.colDef.checkboxSelection);
@@ -18022,7 +18022,7 @@ var KE = class extends H {
18022
18022
  [i, "touchcancel", a, l],
18023
18023
  // we set passive=false, as we want to prevent default on this event
18024
18024
  [i, "touchend", r, c],
18025
- [i, "contextmenu", ts, c]
18025
+ [i, "contextmenu", os, c]
18026
18026
  );
18027
18027
  }
18028
18028
  this.clearLongPress(), this.longPressTimer = window.setTimeout(() => {
@@ -18038,7 +18038,7 @@ var KE = class extends H {
18038
18038
  }
18039
18039
  onTouchEnd(e) {
18040
18040
  const t = this.touchStart;
18041
- !t || !Gn(t, e.changedTouches) || (this.moved || (this.eventSvc?.dispatchEvent({ type: "tap", touchStart: t }), this.checkDoubleTap(t)), this.preventClick && ts(e), this.cancel());
18041
+ !t || !Gn(t, e.changedTouches) || (this.moved || (this.eventSvc?.dispatchEvent({ type: "tap", touchStart: t }), this.checkDoubleTap(t)), this.preventClick && os(e), this.cancel());
18042
18042
  }
18043
18043
  onTouchCancel(e) {
18044
18044
  const t = this.touchStart;
@@ -18211,7 +18211,7 @@ var n3 = class extends H {
18211
18211
  this.view = e, this.eGridHostDiv = t, this.eGui = o, this.eGui.setAttribute("grid-id", this.beans.context.getId());
18212
18212
  const { dragAndDrop: s, ctrlsSvc: i } = this.beans;
18213
18213
  s?.registerGridDropTarget(() => this.eGui, this), this.createManagedBean(new rh(this.view)), this.view.setRtlClass(this.gos.get("enableRtl") ? "ag-rtl" : "ag-ltr");
18214
- const n = jo(this.beans, this.eGridHostDiv, this.onGridSizeChanged.bind(this));
18214
+ const n = qo(this.beans, this.eGridHostDiv, this.onGridSizeChanged.bind(this));
18215
18215
  this.addDestroyFunc(() => n()), i.register("gridCtrl", this);
18216
18216
  }
18217
18217
  isDetailGrid() {
@@ -19020,7 +19020,7 @@ function P3(e) {
19020
19020
  const { pinnedRowModel: s, pageBounds: i } = e, n = s?.getPinnedBottomRowCount(), r = s?.getPinnedTopRowCount();
19021
19021
  return n ? (o = "bottom", t = n - 1) : e.rowModel.getRowCount() ? t = i.getLastRow() : r && (o = "top", t = r - 1), t === void 0 ? null : { rowIndex: t, rowPinned: o };
19022
19022
  }
19023
- function _o(e, t) {
19023
+ function Uo(e, t) {
19024
19024
  switch (t.rowPinned) {
19025
19025
  case "top":
19026
19026
  return e.pinnedRowModel?.getPinnedTopRow(t.rowIndex);
@@ -20852,8 +20852,8 @@ var hD = class extends H {
20852
20852
  const F = R === w.length - 1;
20853
20853
  let E;
20854
20854
  F ? E = S : (E = Math.round(g[R] * u * y), S -= E);
20855
- const P = x.getMinWidth(), T = x.getMaxWidth();
20856
- E < P ? (E = P, f[x.getId()] = !0, C = !0) : T > 0 && E > T && (E = T, f[x.getId()] = !0, C = !0), p[x.getId()] = E;
20855
+ const D = x.getMinWidth(), T = x.getMaxWidth();
20856
+ E < D ? (E = D, f[x.getId()] = !0, C = !0) : T > 0 && E > T && (E = T, f[x.getId()] = !0, C = !0), p[x.getId()] = E;
20857
20857
  });
20858
20858
  }
20859
20859
  for (const w of h) {
@@ -21390,7 +21390,7 @@ var AD = class extends H {
21390
21390
  }
21391
21391
  getColumnGroupState() {
21392
21392
  const e = [], t = this.beans.colModel.getColTree();
21393
- return Vo(null, t, (o) => {
21393
+ return zo(null, t, (o) => {
21394
21394
  bt(o) && e.push({
21395
21395
  groupId: o.getGroupId(),
21396
21396
  open: o.isExpanded()
@@ -21402,7 +21402,7 @@ var AD = class extends H {
21402
21402
  if (!t)
21403
21403
  return;
21404
21404
  const o = [];
21405
- Vo(null, t, (s) => {
21405
+ zo(null, t, (s) => {
21406
21406
  if (bt(s)) {
21407
21407
  const i = s.getColGroupDef(), n = {
21408
21408
  groupId: s.getGroupId(),
@@ -21435,7 +21435,7 @@ var AD = class extends H {
21435
21435
  }
21436
21436
  getProvidedColGroup(e) {
21437
21437
  let t = null;
21438
- return Vo(null, this.beans.colModel.getColTree(), (o) => {
21438
+ return zo(null, this.beans.colModel.getColTree(), (o) => {
21439
21439
  bt(o) && o.getId() === e && (t = o);
21440
21440
  }), t;
21441
21441
  }
@@ -23555,7 +23555,7 @@ var g5 = class extends $x {
23555
23555
  )) : t.style.width = `var(${e.cssName}, ${zc}px)`, o.appendChild(t), this.sizeEls.set(e, t);
23556
23556
  let n = this.measureSizeEl(e);
23557
23557
  n === "no-styles" && !i && U(9, { variable: e });
23558
- const r = jo(this.beans, t, () => {
23558
+ const r = qo(this.beans, t, () => {
23559
23559
  const a = this.measureSizeEl(e);
23560
23560
  a === "detached" || a === "no-styles" || (this.lastKnownValues.set(e, a), a !== n && (n = a, this.fireStylesChangedEvent(e.changeKey)));
23561
23561
  });
@@ -23904,7 +23904,7 @@ var v5 = class extends H {
23904
23904
  }
23905
23905
  this.focusedCell = {
23906
23906
  rowIndex: o,
23907
- rowPinned: Go(s),
23907
+ rowPinned: Bo(s),
23908
23908
  column: a
23909
23909
  };
23910
23910
  const l = this.getFocusEventParams(this.focusedCell);
@@ -24034,7 +24034,7 @@ var v5 = class extends H {
24034
24034
  return !!this.focusedCell;
24035
24035
  }
24036
24036
  isRowFocused(e, t) {
24037
- return this.focusedCell == null ? !1 : this.focusedCell.rowIndex === e && this.focusedCell.rowPinned === Go(t);
24037
+ return this.focusedCell == null ? !1 : this.focusedCell.rowIndex === e && this.focusedCell.rowPinned === Bo(t);
24038
24038
  }
24039
24039
  focusOverlay(e) {
24040
24040
  const t = this.overlays?.isVisible() && this.overlays.eWrapper?.getGui();
@@ -24048,7 +24048,7 @@ var v5 = class extends H {
24048
24048
  return t && !Os(this.beans) ? this.focusLastHeader() : o && this.focusOverlay(t) ? !0 : t ? !1 : _i(this.beans, t);
24049
24049
  const i = t ? P3(this.beans) : D3(this.beans);
24050
24050
  if (i) {
24051
- const n = e.column ?? this.focusedHeader?.column, { rowIndex: r, rowPinned: a } = i, l = _o(this.beans, i);
24051
+ const n = e.column ?? this.focusedHeader?.column, { rowIndex: r, rowPinned: a } = i, l = Uo(this.beans, i);
24052
24052
  if (!n || !l || r == null)
24053
24053
  return !1;
24054
24054
  if (n.isSuppressNavigable(l)) {
@@ -24064,7 +24064,7 @@ var v5 = class extends H {
24064
24064
  return this.navigation?.ensureCellVisible({ rowIndex: r, column: n, rowPinned: a }), t && this.rowRenderer.getRowByPosition(i)?.isFullWidth() && this.navigation?.tryToFocusFullWidthRow(i, t) || (this.setFocusedCell({
24065
24065
  rowIndex: r,
24066
24066
  column: n,
24067
- rowPinned: Go(a),
24067
+ rowPinned: Bo(a),
24068
24068
  forceBrowserFocus: !0
24069
24069
  }), this.beans.rangeSvc?.setRangeToCell({ rowIndex: r, rowPinned: a, column: n })), !0;
24070
24070
  }
@@ -26039,7 +26039,7 @@ var j5 = rv(!0), q5 = rv(!1), K5 = class extends tt {
26039
26039
  } = this;
26040
26040
  this.addInIcon("columnGroupOpened", e), this.addInIcon("columnGroupClosed", t);
26041
26041
  const i = (l) => {
26042
- if (zo(l))
26042
+ if (Wo(l))
26043
26043
  return;
26044
26044
  const c = !o.isExpanded();
26045
26045
  s.colGroupSvc.setColumnGroupOpened(
@@ -26191,7 +26191,7 @@ var j5 = rv(!0), q5 = rv(!1), K5 = class extends tt {
26191
26191
  }
26192
26192
  requestFrame() {
26193
26193
  const e = this.executeFrame.bind(this, 60);
26194
- qo(this.beans, e);
26194
+ Ko(this.beans, e);
26195
26195
  }
26196
26196
  isQueueEmpty() {
26197
26197
  return !this.ticking;
@@ -27187,7 +27187,7 @@ var S4 = class extends H {
27187
27187
  super(), this.cellCtrl = e, this.column = o, this.beans = t;
27188
27188
  }
27189
27189
  onMouseEvent(e, t) {
27190
- if (!zo(t))
27190
+ if (!Wo(t))
27191
27191
  switch (e) {
27192
27192
  case "click":
27193
27193
  this.onCellClicked(t);
@@ -27259,7 +27259,7 @@ var S4 = class extends H {
27259
27259
  }
27260
27260
  if (this.isRightClickInExistingRange(e))
27261
27261
  return;
27262
- const w = l && !l.isEmpty(), b = this.containsWidget(i), S = Bo(g);
27262
+ const w = l && !l.isEmpty(), b = this.containsWidget(i), S = Vo(g);
27263
27263
  if (c && S && !c.handleMouseDownOnCell(f, e)) {
27264
27264
  l && e.preventDefault(), e.stopImmediatePropagation();
27265
27265
  return;
@@ -27430,7 +27430,7 @@ var S4 = class extends H {
27430
27430
  const { beans: e } = this;
27431
27431
  this.positionFeature = new R4(this, e), this.customStyleFeature = e.cellStyles?.createCellCustomStyleFeature(this, e), this.editStyleFeature = e.editSvc?.createCellStyleFeature(this, e), this.mouseListener = new y4(this, e, this.column), this.keyboardListener = new S4(this, e, this.rowNode, this.rowCtrl), this.enableTooltipFeature();
27432
27432
  const { rangeSvc: t } = e;
27433
- t && ds(e.gos) && (this.rangeFeature = t.createCellRangeFeature(e, this)), Bo(this.column) && (this.rowResizeFeature = this.beans.rowNumbersSvc.createRowNumbersRowResizerFeature(e, this));
27433
+ t && ds(e.gos) && (this.rangeFeature = t.createCellRangeFeature(e, this)), Vo(this.column) && (this.rowResizeFeature = this.beans.rowNumbersSvc.createRowNumbersRowResizerFeature(e, this));
27434
27434
  }
27435
27435
  isCellSpanning() {
27436
27436
  return !1;
@@ -27501,7 +27501,7 @@ var S4 = class extends H {
27501
27501
  const c = i.stub && i.groupData?.[s.getId()] == null, d = s.getColDef();
27502
27502
  if (c || this.isCellRenderer()) {
27503
27503
  const u = this.createCellRendererParams();
27504
- !c || Bo(s) ? l = Rg(r, d, u) : l = xg(r, d, u);
27504
+ !c || Vo(s) ? l = Rg(r, d, u) : l = xg(r, d, u);
27505
27505
  }
27506
27506
  if (!l && !c && o.findSvc?.isMatch(i, s)) {
27507
27507
  const u = this.createCellRendererParams();
@@ -27515,7 +27515,7 @@ var S4 = class extends H {
27515
27515
  const u = this.editSvc.prepDetailsDuringBatch(this, { compDetails: l, valueToDisplay: a });
27516
27516
  u && (u.compDetails ? l = u.compDetails : u.valueToDisplay && (a = u.valueToDisplay));
27517
27517
  }
27518
- this.comp.setRenderDetails(l, a, e), this.customRowDragComp?.refreshVisibility(), !t && n && qo(o, () => n?.refreshHandle()), this.rowResizeFeature?.refreshRowResizer();
27518
+ this.comp.setRenderDetails(l, a, e), this.customRowDragComp?.refreshVisibility(), !t && n && Ko(o, () => n?.refreshHandle()), this.rowResizeFeature?.refreshRowResizer();
27519
27519
  }
27520
27520
  setupControlComps() {
27521
27521
  const e = this.column.getColDef();
@@ -27540,7 +27540,7 @@ var S4 = class extends H {
27540
27540
  return (this.rowNode.rowPinned == null || t && pr(this.rowNode)) && !!e;
27541
27541
  }
27542
27542
  isCheckboxSelection(e) {
27543
- const { rowSelection: t, groupDisplayType: o } = this.beans.gridOptions, s = ka(t), i = Ko(this.column);
27543
+ const { rowSelection: t, groupDisplayType: o } = this.beans.gridOptions, s = ka(t), i = Yo(this.column);
27544
27544
  return o === "custom" && s !== "selectionColumn" && i ? !1 : e.checkboxSelection || i && typeof t == "object" && Di(t);
27545
27545
  }
27546
27546
  refreshShouldDestroy() {
@@ -27734,7 +27734,7 @@ var S4 = class extends H {
27734
27734
  }
27735
27735
  onSuppressCellFocusChanged(e) {
27736
27736
  const t = this.eGui;
27737
- t && (Bo(this.column) && (e = !0), zt(t, "tabindex", e ? void 0 : -1));
27737
+ t && (Vo(this.column) && (e = !0), zt(t, "tabindex", e ? void 0 : -1));
27738
27738
  }
27739
27739
  onFirstRightPinnedChanged() {
27740
27740
  if (!this.comp)
@@ -27784,7 +27784,7 @@ var S4 = class extends H {
27784
27784
  const { rowIndex: e, rowPinned: t } = this.rowNode;
27785
27785
  this.cellPosition = {
27786
27786
  rowIndex: e,
27787
- rowPinned: Go(t),
27787
+ rowPinned: Bo(t),
27788
27788
  column: this.column
27789
27789
  };
27790
27790
  }
@@ -28362,7 +28362,7 @@ var k4 = class extends H {
28362
28362
  }
28363
28363
  getRowPosition() {
28364
28364
  return {
28365
- rowPinned: Go(this.rowNode.rowPinned),
28365
+ rowPinned: Bo(this.rowNode.rowPinned),
28366
28366
  rowIndex: this.rowNode.rowIndex
28367
28367
  };
28368
28368
  }
@@ -28381,7 +28381,7 @@ var k4 = class extends H {
28381
28381
  l?.navigateToNextCell(e, e.key, d, !0), e.preventDefault();
28382
28382
  }
28383
28383
  onTabKeyDown(e) {
28384
- if (e.defaultPrevented || zo(e))
28384
+ if (e.defaultPrevented || Wo(e))
28385
28385
  return;
28386
28386
  const t = this.allRowGuis.find(
28387
28387
  (a) => a.element.contains(e.target)
@@ -28395,7 +28395,7 @@ var k4 = class extends H {
28395
28395
  return this.fullWidthGui ? this.fullWidthGui.element : null;
28396
28396
  }
28397
28397
  getRowYPosition() {
28398
- const e = this.allRowGuis.find((t) => $o(t.element))?.element;
28398
+ const e = this.allRowGuis.find((t) => jo(t.element))?.element;
28399
28399
  return e ? e.getBoundingClientRect().top : 0;
28400
28400
  }
28401
28401
  onSuppressCellFocusChanged(e) {
@@ -28456,7 +28456,7 @@ var k4 = class extends H {
28456
28456
  return o.source = this, o;
28457
28457
  }
28458
28458
  onRowDblClick(e) {
28459
- if (zo(e))
28459
+ if (Wo(e))
28460
28460
  return;
28461
28461
  const t = this.createRowEventWithSource("rowDoubleClicked", e);
28462
28462
  t.isEventHandlingSuppressed = this.isSuppressMouseEvent(e), this.beans.eventSvc.dispatchEvent(t);
@@ -28516,7 +28516,7 @@ var k4 = class extends H {
28516
28516
  return s != null && fa(t, s.column, o, e);
28517
28517
  }
28518
28518
  onRowClick(e) {
28519
- if (zo(e) || this.lastMouseDownOnDragger)
28519
+ if (Wo(e) || this.lastMouseDownOnDragger)
28520
28520
  return;
28521
28521
  const o = this.isSuppressMouseEvent(e), { eventSvc: s, selectionSvc: i } = this.beans, n = this.createRowEventWithSource("rowClicked", e);
28522
28522
  n.isEventHandlingSuppressed = o, s.dispatchEvent(n), !o && i?.handleSelectionEvent(e, this.rowNode, "rowClicked");
@@ -29170,7 +29170,7 @@ var k4 = class extends H {
29170
29170
  }), o?.setRangeToCell(e);
29171
29171
  }
29172
29172
  isValidNavigateCell(e) {
29173
- return !!_o(this.beans, e);
29173
+ return !!Uo(this.beans, e);
29174
29174
  }
29175
29175
  getLastCellOfColSpan(e) {
29176
29176
  const t = yi(this.beans, e);
@@ -29309,7 +29309,7 @@ var N4 = {
29309
29309
  !r.length && !n || (s && (r = s({
29310
29310
  columns: r,
29311
29311
  viewportWidth: t
29312
- })), r?.length && (r = r.filter((a) => !Bo(a)), this.setColsPinned(r, null, "viewportSizeFeature")));
29312
+ })), r?.length && (r = r.filter((a) => !Vo(a)), this.setColsPinned(r, null, "viewportSizeFeature")));
29313
29313
  }
29314
29314
  createPinnedWidthFeature(e, ...t) {
29315
29315
  return new V4(e, t);
@@ -29507,7 +29507,7 @@ var X4 = (
29507
29507
  super(Q4), this.eOverlayWrapper = be, this.activePromise = null, this.activeOverlay = null, this.updateListenerDestroyFunc = null, this.activeCssClass = null, this.elToFocusAfter = null, this.registerCSS(X4);
29508
29508
  }
29509
29509
  handleKeyDown(e) {
29510
- if (e.key !== A.TAB || e.defaultPrevented || zo(e))
29510
+ if (e.key !== A.TAB || e.defaultPrevented || Wo(e))
29511
29511
  return;
29512
29512
  const t = this.beans;
29513
29513
  if (Zs(t, this.eOverlayWrapper, !1, e.shiftKey))
@@ -30386,8 +30386,8 @@ var X4 = (
30386
30386
  const d = this.getRowBufferInPixels(), u = this.ctrlsSvc.getScrollFeature(), h = this.gos.get("suppressRowVirtualisation");
30387
30387
  let g = !1, p, f;
30388
30388
  do {
30389
- const S = t.getPixelOffset(), { pageFirstPixel: y, pageLastPixel: x } = t.getCurrentPagePixelRange(), R = e.divStretchOffset, F = u.getVScrollPosition(), E = F.top, P = F.bottom;
30390
- h ? (p = y + R, f = x + R) : (p = Math.max(E + S - d, y) + R, f = Math.min(P + S + d, x) + R), this.firstVisibleVPixel = Math.max(E + S, y) + R, this.lastVisibleVPixel = Math.min(P + S, x) + R, g = this.ensureAllRowsInRangeHaveHeightsCalculated(p, f);
30389
+ const S = t.getPixelOffset(), { pageFirstPixel: y, pageLastPixel: x } = t.getCurrentPagePixelRange(), R = e.divStretchOffset, F = u.getVScrollPosition(), E = F.top, D = F.bottom;
30390
+ h ? (p = y + R, f = x + R) : (p = Math.max(E + S - d, y) + R, f = Math.min(D + S + d, x) + R), this.firstVisibleVPixel = Math.max(E + S, y) + R, this.lastVisibleVPixel = Math.min(D + S, x) + R, g = this.ensureAllRowsInRangeHaveHeightsCalculated(p, f);
30391
30391
  } while (g);
30392
30392
  let C = o.getRowIndexAtPixel(p), v = o.getRowIndexAtPixel(f);
30393
30393
  const w = t.getFirstRow(), b = t.getLastRow();
@@ -30408,7 +30408,7 @@ var X4 = (
30408
30408
  * but not execute the event until all of the data has finished being rendered to the dom.
30409
30409
  */
30410
30410
  dispatchFirstDataRenderedEvent() {
30411
- this.dataFirstRenderedFired || (this.dataFirstRenderedFired = !0, qo(this.beans, () => {
30411
+ this.dataFirstRenderedFired || (this.dataFirstRenderedFired = !0, Ko(this.beans, () => {
30412
30412
  this.beans.eventSvc.dispatchEvent({
30413
30413
  type: "firstDataRendered",
30414
30414
  firstRow: this.firstRenderedRow,
@@ -32910,7 +32910,7 @@ var s6 = {
32910
32910
  return this.popupList.some((e) => e.isAnchored);
32911
32911
  }
32912
32912
  isStopPropagation(e) {
32913
- return zo(e);
32913
+ return Wo(e);
32914
32914
  }
32915
32915
  }, Cl = {
32916
32916
  moduleName: "Popup",
@@ -33130,7 +33130,7 @@ var C6 = {
33130
33130
  })
33131
33131
  );
33132
33132
  else {
33133
- const h = Qo(c);
33133
+ const h = Jo(c);
33134
33134
  h && l.push(
33135
33135
  h.then((g) => {
33136
33136
  a(d, e(g), {
@@ -33161,7 +33161,7 @@ var C6 = {
33161
33161
  })
33162
33162
  );
33163
33163
  else {
33164
- const n = Qo(s);
33164
+ const n = Jo(s);
33165
33165
  n && o.push(
33166
33166
  n.then((r) => {
33167
33167
  this.setColFilterActive(
@@ -33223,7 +33223,7 @@ var C6 = {
33223
33223
  () => this.updateFilterFlagInColumns("filterChanged", o).then(() => {
33224
33224
  this.allColumnFilters.forEach((i) => {
33225
33225
  const { column: n, isHandler: r } = i;
33226
- s !== n.getColId() && (r && i.handler.onAnyFilterChanged?.(), Qo(i, r)?.then((a) => {
33226
+ s !== n.getColId() && (r && i.handler.onAnyFilterChanged?.(), Jo(i, r)?.then((a) => {
33227
33227
  typeof a?.onAnyFilterChanged == "function" && a.onAnyFilterChanged();
33228
33228
  }));
33229
33229
  }), this.processingFilterChange = !0;
@@ -33241,7 +33241,7 @@ var C6 = {
33241
33241
  this.allColumnFilters.forEach((o) => {
33242
33242
  const s = o.isHandler;
33243
33243
  s && o.handler.onNewRowsLoaded?.();
33244
- const i = Qo(o, s);
33244
+ const i = Jo(o, s);
33245
33245
  i && t.push(
33246
33246
  i.then((n) => {
33247
33247
  n.onNewRowsLoaded?.();
@@ -33275,13 +33275,13 @@ var C6 = {
33275
33275
  }
33276
33276
  getOrCreateFilterUi(e) {
33277
33277
  const t = this.getOrCreateFilterWrapper(e, !0);
33278
- return t ? Qo(t) : null;
33278
+ return t ? Jo(t) : null;
33279
33279
  }
33280
33280
  getFilterUiForDisplay(e) {
33281
33281
  const t = this.getOrCreateFilterWrapper(e, !0);
33282
33282
  if (!t)
33283
33283
  return null;
33284
- const o = Qo(t);
33284
+ const o = Jo(t);
33285
33285
  return o ? o.then((s) => ({
33286
33286
  comp: s,
33287
33287
  params: t.filterUi.filterParams,
@@ -33646,7 +33646,7 @@ var C6 = {
33646
33646
  this.destroyFilterUi(o, i, g, p);
33647
33647
  return;
33648
33648
  }
33649
- o.filterUi.filterParams = f, Qo(o, h)?.then((C) => {
33649
+ o.filterUi.filterParams = f, Jo(o, h)?.then((C) => {
33650
33650
  (C?.refresh ? C.refresh(f) : !0) === !1 ? this.destroyFilterUi(o, i, g, p) : this.dispatchLocalEvent({
33651
33651
  type: "filterParamsChanged",
33652
33652
  column: i,
@@ -33778,7 +33778,7 @@ var C6 = {
33778
33778
  this.refreshHandlerAndUi(n, t, "api").then(() => s());
33779
33779
  return;
33780
33780
  }
33781
- const i = Qo(e);
33781
+ const i = Jo(e);
33782
33782
  if (i) {
33783
33783
  i.then((n) => {
33784
33784
  if (typeof n?.setModel != "function") {
@@ -34161,7 +34161,7 @@ var S6 = class extends H {
34161
34161
  const c = () => r?.afterGuiDetached(), d = LR(this.gos) ? s ?? this.beans.ctrlsSvc.getGridBodyCtrl().eGridBody : void 0, u = (f) => {
34162
34162
  zg(e, !1, "contextMenu");
34163
34163
  const C = f instanceof KeyboardEvent;
34164
- this.tabListener && (this.tabListener = this.tabListener()), C && s && $o(s) && Ym(s)?.focus({ preventScroll: !0 }), c(), this.destroyBean(this.activeMenu), this.dispatchVisibleChangedEvent(!1, o, e), n?.();
34164
+ this.tabListener && (this.tabListener = this.tabListener()), C && s && jo(s) && Ym(s)?.focus({ preventScroll: !0 }), c(), this.destroyBean(this.activeMenu), this.dispatchVisibleChangedEvent(!1, o, e), n?.();
34165
34165
  }, h = this.getLocaleTextFunc(), g = i && o !== "columnFilter" ? h("ariaLabelColumnMenu", "Column Menu") : h("ariaLabelColumnFilter", "Column Filter"), p = this.popupSvc?.addPopup({
34166
34166
  modal: !0,
34167
34167
  eChild: a,
@@ -35063,13 +35063,13 @@ var yp = 1e3, Rp = 1 / 0, T6 = class extends bh {
35063
35063
  getModelAsString(e, t) {
35064
35064
  const o = this.getLocaleTextFunc(), s = t === "filterToolPanel";
35065
35065
  if (!e)
35066
- return s ? ss(this, "filterSummaryInactive") : null;
35066
+ return s ? is(this, "filterSummaryInactive") : null;
35067
35067
  if (e.operator != null) {
35068
35068
  const n = e, a = (n.conditions ?? []).map((c) => this.getModelAsString(c, t)), l = n.operator === "AND" ? "andCondition" : "orCondition";
35069
- return a.join(` ${ss(this, l)} `);
35069
+ return a.join(` ${is(this, l)} `);
35070
35070
  } else {
35071
35071
  if (e.type === "blank" || e.type === "notBlank")
35072
- return s ? ss(this, e.type === "blank" ? "filterSummaryBlank" : "filterSummaryNotBlank") : o(e.type, e.type);
35072
+ return s ? is(this, e.type === "blank" ? "filterSummaryBlank" : "filterSummaryNotBlank") : o(e.type, e.type);
35073
35073
  {
35074
35074
  const n = e, r = this.optionsFactory.getCustomOption(n.type), { displayKey: a, displayName: l, numberOfInputs: c } = r || {};
35075
35075
  return a && l && c === 0 ? o(a, l) : this.conditionToString(
@@ -35089,7 +35089,7 @@ var yp = 1e3, Rp = 1 / 0, T6 = class extends bh {
35089
35089
  conditionForToolPanel(e, t, o, s, i, n) {
35090
35090
  let r;
35091
35091
  const a = this.getTypeKey(e);
35092
- return a && (r = ss(this, a)), i && n && (r = this.getLocaleTextFunc()(i, n)), r != null ? t ? `${r} ${ss(this, "filterSummaryInRangeValues", [o(), s()])}` : `${r} ${o()}` : null;
35092
+ return a && (r = is(this, a)), i && n && (r = this.getLocaleTextFunc()(i, n)), r != null ? t ? `${r} ${is(this, "filterSummaryInRangeValues", [o(), s()])}` : `${r} ${o()}` : null;
35093
35093
  }
35094
35094
  getTypeKey(e) {
35095
35095
  const t = this.filterTypeKeys[e];
@@ -35426,7 +35426,7 @@ var H6 = class extends bh {
35426
35426
  stringToFloat(e) {
35427
35427
  if (typeof e == "number")
35428
35428
  return e;
35429
- let t = Go(e);
35429
+ let t = Bo(e);
35430
35430
  t != null && t.trim() === "" && (t = null);
35431
35431
  const o = this.params.numberParser;
35432
35432
  return o ? o(t) : t == null || t.trim() === "-" ? null : Number.parseFloat(t);
@@ -35673,7 +35673,7 @@ var B6 = {
35673
35673
  getValues(e) {
35674
35674
  const t = [];
35675
35675
  return this.forEachPositionInput(e, (o, s, i, n) => {
35676
- s < n && t.push(Go(o.getValue()));
35676
+ s < n && t.push(Bo(o.getValue()));
35677
35677
  }), t;
35678
35678
  }
35679
35679
  createEValue() {
@@ -35695,7 +35695,7 @@ var B6 = {
35695
35695
  conditionToString(e, t, o, s, i) {
35696
35696
  const { filter: n, filterTo: r, type: a } = e;
35697
35697
  if (t) {
35698
- const l = (d) => () => ss(this, "filterSummaryTextQuote", [d]), c = this.conditionForToolPanel(
35698
+ const l = (d) => () => is(this, "filterSummaryTextQuote", [d]), c = this.conditionForToolPanel(
35699
35699
  a,
35700
35700
  o,
35701
35701
  l(n),
@@ -36303,7 +36303,7 @@ var X6 = class extends H {
36303
36303
  }
36304
36304
  processAction(e, t, o) {
36305
36305
  for (const s of e.cellValueChanges) {
36306
- const { rowIndex: i, rowPinned: n, columnId: r } = s, a = { rowIndex: i, rowPinned: n }, l = _o(this.beans, a);
36306
+ const { rowIndex: i, rowPinned: n, columnId: r } = s, a = { rowIndex: i, rowPinned: n }, l = Uo(this.beans, a);
36307
36307
  l.displayed && l.setDataValue(r, t(s), o);
36308
36308
  }
36309
36309
  }
@@ -36331,7 +36331,7 @@ var X6 = class extends H {
36331
36331
  });
36332
36332
  }
36333
36333
  processCell(e) {
36334
- const t = e[0], { rowIndex: o, rowPinned: s } = t, i = { rowIndex: o, rowPinned: s }, n = _o(this.beans, i), r = {
36334
+ const t = e[0], { rowIndex: o, rowPinned: s } = t, i = { rowIndex: o, rowPinned: s }, n = Uo(this.beans, i), r = {
36335
36335
  rowPinned: t.rowPinned,
36336
36336
  rowIndex: n.rowIndex,
36337
36337
  columnId: t.columnId
@@ -36935,7 +36935,7 @@ function GM(e, t) {
36935
36935
  U(12, { colKey: s });
36936
36936
  return;
36937
36937
  }
36938
- const d = _o(e, {
36938
+ const d = Uo(e, {
36939
36939
  rowIndex: i,
36940
36940
  rowPinned: n || null
36941
36941
  });
@@ -37431,7 +37431,7 @@ var qM = class extends H {
37431
37431
  const r = this.model.getEditMap(!0), a = r.get(e)?.get(t)?.pendingValue;
37432
37432
  this.batch || this.eventSvc.dispatchEvent({ type: "bulkEditingStarted" }), o.forEach((c) => {
37433
37433
  if (i?.forEachRowInRange(c, (d) => {
37434
- const u = _o(s, d);
37434
+ const u = Uo(s, d);
37435
37435
  if (u === void 0)
37436
37436
  return;
37437
37437
  const h = r.get(u) ?? /* @__PURE__ */ new Map();
@@ -37477,7 +37477,7 @@ var qM = class extends H {
37477
37477
  const g = r ? s.getCol(r) : l ? s.getCol(l) : a;
37478
37478
  if (!g)
37479
37479
  continue;
37480
- const p = _o(o, { rowIndex: c, rowPinned: d });
37480
+ const p = Uo(o, { rowIndex: c, rowPinned: d });
37481
37481
  if (!p)
37482
37482
  continue;
37483
37483
  const f = i.getValue(g, p, !0, "api");
@@ -37538,7 +37538,7 @@ var zv = class extends H {
37538
37538
  if (s.isEditing(void 0, { withOpenEditor: !0 })) {
37539
37539
  const { column: c, rowIndex: d, rowPinned: u } = e, h = {
37540
37540
  column: c,
37541
- rowNode: _o(i, { rowIndex: d, rowPinned: u })
37541
+ rowNode: Uo(i, { rowIndex: d, rowPinned: u })
37542
37542
  }, g = r.get("invalidEditValueMode") === "block";
37543
37543
  if (g)
37544
37544
  return;
@@ -37791,7 +37791,7 @@ var zv = class extends H {
37791
37791
  return super.stop(e, t), this.rowNode = void 0, this.column = void 0, !0;
37792
37792
  }
37793
37793
  onCellFocusChanged(e) {
37794
- const { colModel: t, editSvc: o } = this.beans, { rowIndex: s, column: i, rowPinned: n } = e, r = _o(this.beans, { rowIndex: s, rowPinned: n }), a = $d(i), l = t.getCol(a), c = e.previousParams;
37794
+ const { colModel: t, editSvc: o } = this.beans, { rowIndex: s, column: i, rowPinned: n } = e, r = Uo(this.beans, { rowIndex: s, rowPinned: n }), a = $d(i), l = t.getCol(a), c = e.previousParams;
37795
37795
  if (c) {
37796
37796
  const d = $d(c.column);
37797
37797
  if (c?.rowIndex === s && d === a && c?.rowPinned === n)
@@ -37948,7 +37948,7 @@ var zv = class extends H {
37948
37948
  }, t((h) => {
37949
37949
  if (!h)
37950
37950
  return null;
37951
- const g = h.filter((p) => !Ko(p));
37951
+ const g = h.filter((p) => !Yo(p));
37952
37952
  return [...r, ...g];
37953
37953
  });
37954
37954
  }
@@ -39784,7 +39784,7 @@ var aA = {
39784
39784
  };
39785
39785
  }
39786
39786
  getColumnsToExport(e) {
39787
- const { allColumns: t = !1, skipRowGroups: o = !1, exportRowNumbers: s = !1, columnKeys: i } = e, { colModel: n, gos: r, visibleCols: a } = this, l = n.isPivotMode(), c = (h) => Ko(h) ? !1 : !Bo(h) || s;
39787
+ const { allColumns: t = !1, skipRowGroups: o = !1, exportRowNumbers: s = !1, columnKeys: i } = e, { colModel: n, gos: r, visibleCols: a } = this, l = n.isPivotMode(), c = (h) => Yo(h) ? !1 : !Vo(h) || s;
39788
39788
  if (i?.length)
39789
39789
  return n.getColsForKeys(i).filter(c);
39790
39790
  const d = r.get("treeData");
@@ -40861,11 +40861,11 @@ var VA = class extends H {
40861
40861
  B.flex = M ?? null, B.width = k;
40862
40862
  }
40863
40863
  (R || !o) && (C.flex = null);
40864
- const F = u?.orderedColIds, E = !!F?.length && !s?.has("columnOrder"), P = E ? F.map((T) => f(T)) : Object.values(p);
40865
- (P.length || h) && (this.columnStates = P, lo(
40864
+ const F = u?.orderedColIds, E = !!F?.length && !s?.has("columnOrder"), D = E ? F.map((T) => f(T)) : Object.values(p);
40865
+ (D.length || h) && (this.columnStates = D, lo(
40866
40866
  this.beans,
40867
40867
  {
40868
- state: P,
40868
+ state: D,
40869
40869
  applyOrder: E,
40870
40870
  defaultState: C
40871
40871
  },
@@ -41810,7 +41810,7 @@ var Pk = class extends H {
41810
41810
  if (!e.scaleUpToFitGridWidth)
41811
41811
  return i(s);
41812
41812
  const n = Mp(this.beans), r = (c) => o.leftCols.some((d) => Vn(d, c)), a = (c) => o.rightCols.some((d) => Vn(d, c)), l = e.colKeys.filter(
41813
- (c) => !Ko(c) && !Bo(c) && !r(c) && !a(c)
41813
+ (c) => !Yo(c) && !Vo(c) && !r(c) && !a(c)
41814
41814
  );
41815
41815
  this.sizeColumnsToFit(n, e.source, !0, {
41816
41816
  defaultMaxWidth: e.defaultMaxWidth,
@@ -41860,8 +41860,8 @@ var Pk = class extends H {
41860
41860
  if (F > 0) {
41861
41861
  const E = w[R.colId] ?? {};
41862
41862
  E.minWidth ?? (E.minWidth = l), E.maxWidth ?? (E.maxWidth = a);
41863
- const P = Tk(R, F, E);
41864
- R.setActualWidth(P, d), C.add(R), v++;
41863
+ const D = Tk(R, F, E);
41864
+ R.setActualWidth(D, d), C.add(R), v++;
41865
41865
  }
41866
41866
  y.push(R);
41867
41867
  }
@@ -41985,8 +41985,8 @@ var Pk = class extends H {
41985
41985
  let C = p;
41986
41986
  for (let v = l.length - 1; v >= 0; v--) {
41987
41987
  const w = l[v], b = i?.[w.getId()], S = b?.minWidth ?? s?.defaultMinWidth, y = b?.maxWidth ?? s?.defaultMaxWidth, x = w.getMinWidth(), R = w.getMaxWidth(), F = typeof S == "number" && S > x ? S : x, E = typeof y == "number" && y < R ? y : R;
41988
- let P = Math.round(w.getActualWidth() * f);
41989
- P < F ? (P = F, h(w), u = !1) : P > E ? (P = E, h(w), u = !1) : v === 0 && (P = C), w.setActualWidth(P, t, !0), C -= P;
41988
+ let D = Math.round(w.getActualWidth() * f);
41989
+ D < F ? (D = F, h(w), u = !1) : D > E ? (D = E, h(w), u = !1) : v === 0 && (D = C), w.setActualWidth(D, t, !0), C -= D;
41990
41990
  }
41991
41991
  }
41992
41992
  }
@@ -42859,7 +42859,7 @@ var n8 = {
42859
42859
  this.setRowAutoHeight(i, v, n);
42860
42860
  }, l = () => a(0);
42861
42861
  l();
42862
- const c = jo(r, t, l);
42862
+ const c = qo(r, t, l);
42863
42863
  return o.addDestroyFunc(() => {
42864
42864
  c(), this.setRowAutoHeight(i, void 0, n);
42865
42865
  }), !0;
@@ -43056,7 +43056,7 @@ var ie = {
43056
43056
  return ue("ag-cell", { "row-id": e, colId: t });
43057
43057
  },
43058
43058
  autoGroupCell(e) {
43059
- return ie.cell(e, is);
43059
+ return ie.cell(e, ns);
43060
43060
  },
43061
43061
  checkbox(e, t) {
43062
43062
  return ue("ag-selection-checkbox", { "row-id": e, colId: t });
@@ -43065,7 +43065,7 @@ var ie = {
43065
43065
  return ie.checkbox(e, $u);
43066
43066
  },
43067
43067
  autoGroupColumnCheckbox(e) {
43068
- return ie.checkbox(e, is);
43068
+ return ie.checkbox(e, ns);
43069
43069
  },
43070
43070
  dragHandle(e, t) {
43071
43071
  return ue("ag-drag-handle", { "row-id": e, colId: t });
@@ -43077,10 +43077,10 @@ var ie = {
43077
43077
  return ue("ag-group-expanded", { "row-id": e, colId: t });
43078
43078
  },
43079
43079
  autoGroupContracted(e) {
43080
- return ie.groupContracted(e, is);
43080
+ return ie.groupContracted(e, ns);
43081
43081
  },
43082
43082
  autoGroupExpanded(e) {
43083
- return ie.groupExpanded(e, is);
43083
+ return ie.groupExpanded(e, ns);
43084
43084
  },
43085
43085
  rowNumber(e) {
43086
43086
  return ie.cell(e, ju);
@@ -43571,7 +43571,7 @@ var ew = Cu((e, t) => {
43571
43571
  return !1;
43572
43572
  }
43573
43573
  })), ao(() => fr(d, s, n.current), [d]);
43574
- const F = D((K) => {
43574
+ const F = P((K) => {
43575
43575
  if (i.current = K, !K || s.isDestroyed()) {
43576
43576
  c.current = s.destroyBean(c.current);
43577
43577
  return;
@@ -43596,7 +43596,7 @@ var ew = Cu((e, t) => {
43596
43596
  ew,
43597
43597
  e
43598
43598
  ));
43599
- }, []), E = G(() => `ag-cell-wrapper ${C.toString()}`, [C]), P = G(() => `ag-group-expanded ${w.toString()}`, [w]), T = G(
43599
+ }, []), E = G(() => `ag-cell-wrapper ${C.toString()}`, [C]), D = G(() => `ag-group-expanded ${w.toString()}`, [w]), T = G(
43600
43600
  () => `ag-group-contracted ${S.toString()}`,
43601
43601
  [S]
43602
43602
  ), M = G(() => `ag-group-checkbox ${x.toString()}`, [x]), k = d?.componentFromFramework, B = k ? d.componentClass : void 0, O = d == null && p != null, $ = Xi(p);
@@ -43607,7 +43607,7 @@ var ew = Cu((e, t) => {
43607
43607
  ref: F,
43608
43608
  ...e.colDef ? {} : { role: c.current?.getCellAriaRole() }
43609
43609
  },
43610
- /* @__PURE__ */ X.createElement("span", { className: P, ref: a }),
43610
+ /* @__PURE__ */ X.createElement("span", { className: D, ref: a }),
43611
43611
  /* @__PURE__ */ X.createElement("span", { className: T, ref: l }),
43612
43612
  /* @__PURE__ */ X.createElement("span", { className: M, ref: r }),
43613
43613
  /* @__PURE__ */ X.createElement("span", { className: "ag-group-value", ref: n }, O ? $ : k ? /* @__PURE__ */ X.createElement(B, { ...d.params }) : null),
@@ -44064,7 +44064,7 @@ var O8 = 1e3, N8 = class {
44064
44064
  }, H8 = ({ ctrl: e }) => {
44065
44065
  const t = e.isAlive(), { context: o } = ht(xt), [s, i] = I(), [n, r] = I(), a = L(), l = L(null), c = L(null), d = L(null), u = L(), h = L();
44066
44066
  t && !h.current && (h.current = new dr(() => l.current));
44067
- const g = D((v) => {
44067
+ const g = P((v) => {
44068
44068
  if (l.current = v, !v || !e.isAlive() || o.isDestroyed()) {
44069
44069
  a.current = o.destroyBean(a.current);
44070
44070
  return;
@@ -44120,7 +44120,7 @@ var O8 = 1e3, N8 = class {
44120
44120
  () => new to("ag-floating-filter-button", "ag-hidden")
44121
44121
  ), [u, h] = I("false"), [g, p] = I(), [, f] = I(1), C = L(), v = L(null), w = L(null), b = L(null), S = L(null), y = L(), x = L(), R = (z) => {
44122
44122
  z != null && y.current && y.current(z);
44123
- }, F = D((z) => {
44123
+ }, F = P((z) => {
44124
44124
  if (v.current = z, !z || !e.isAlive() || t.isDestroyed()) {
44125
44125
  C.current = t.destroyBean(C.current);
44126
44126
  return;
@@ -44148,7 +44148,7 @@ var O8 = 1e3, N8 = class {
44148
44148
  () => fr(g, t, w.current, R),
44149
44149
  [g]
44150
44150
  );
44151
- const E = G(() => n.toString(), [n]), P = G(() => a.toString(), [a]), T = G(() => c.toString(), [c]), M = G(() => !!(g && g.componentFromFramework && en(g.componentClass)), [g]), k = G(() => o.get("reactiveCustomComponents"), []), B = G(() => o.get("enableFilterHandlers"), []), [O, $] = I();
44151
+ const E = G(() => n.toString(), [n]), D = G(() => a.toString(), [a]), T = G(() => c.toString(), [c]), M = G(() => !!(g && g.componentFromFramework && en(g.componentClass)), [g]), k = G(() => o.get("reactiveCustomComponents"), []), B = G(() => o.get("enableFilterHandlers"), []), [O, $] = I();
44152
44152
  xe(() => {
44153
44153
  if (g?.componentFromFramework)
44154
44154
  if (k) {
@@ -44158,7 +44158,7 @@ var O8 = 1e3, N8 = class {
44158
44158
  Dh();
44159
44159
  }, [g]);
44160
44160
  const K = O?.getProps(), N = g?.componentFromFramework, pe = g?.componentClass;
44161
- return /* @__PURE__ */ X.createElement("div", { ref: F, style: s, className: E, role: "gridcell" }, /* @__PURE__ */ X.createElement("div", { ref: w, className: P, role: "presentation" }, N ? k ? K && /* @__PURE__ */ X.createElement(
44161
+ return /* @__PURE__ */ X.createElement("div", { ref: F, style: s, className: E, role: "gridcell" }, /* @__PURE__ */ X.createElement("div", { ref: w, className: D, role: "presentation" }, N ? k ? K && /* @__PURE__ */ X.createElement(
44162
44162
  Eh.Provider,
44163
44163
  {
44164
44164
  value: {
@@ -44186,13 +44186,13 @@ var O8 = 1e3, N8 = class {
44186
44186
  )
44187
44187
  ));
44188
44188
  }, z8 = Rt(V8), W8 = ({ ctrl: e }) => {
44189
- const { context: t } = ht(xt), [o, s] = I(), [i, n] = I(() => new to()), [r, a] = I(() => new to()), [l, c] = I("false"), [d, u] = I(), [h, g] = I(), p = L(), f = L(null), C = L(null), v = L(null), w = L(), b = D((E) => {
44189
+ const { context: t } = ht(xt), [o, s] = I(), [i, n] = I(() => new to()), [r, a] = I(() => new to()), [l, c] = I("false"), [d, u] = I(), [h, g] = I(), p = L(), f = L(null), C = L(null), v = L(null), w = L(), b = P((E) => {
44190
44190
  if (f.current = E, !E || !e.isAlive() || t.isDestroyed()) {
44191
44191
  p.current = t.destroyBean(p.current);
44192
44192
  return;
44193
44193
  }
44194
44194
  p.current = t.createBean(new Qi());
44195
- const P = {
44195
+ const D = {
44196
44196
  setWidth: (T) => {
44197
44197
  f.current && (f.current.style.width = T);
44198
44198
  },
@@ -44213,7 +44213,7 @@ var O8 = 1e3, N8 = class {
44213
44213
  setAriaExpanded: (T) => u(T),
44214
44214
  getUserCompInstance: () => w.current || void 0
44215
44215
  };
44216
- e.setComp(P, E, C.current, v.current, p.current);
44216
+ e.setComp(D, E, C.current, v.current, p.current);
44217
44217
  }, []);
44218
44218
  ao(() => fr(h, t, v.current), [h]), xe(() => {
44219
44219
  f.current && e.setDragSource(f.current);
@@ -44224,7 +44224,7 @@ var O8 = 1e3, N8 = class {
44224
44224
  ), R = h?.componentFromFramework, F = h?.componentClass;
44225
44225
  return /* @__PURE__ */ X.createElement("div", { ref: b, style: o, className: y, role: "columnheader", "aria-expanded": d }, /* @__PURE__ */ X.createElement("div", { ref: v, className: "ag-header-cell-comp-wrapper", role: "presentation" }, R ? S ? /* @__PURE__ */ X.createElement(F, { ...h.params }) : /* @__PURE__ */ X.createElement(F, { ...h.params, ref: w }) : null), /* @__PURE__ */ X.createElement("div", { ref: C, "aria-hidden": l, className: x }));
44226
44226
  }, _8 = Rt(W8), U8 = ({ ctrl: e }) => {
44227
- const { gos: t, context: o } = ht(xt), { topOffset: s, rowHeight: i } = G(() => e.getTopAndHeight(), []), n = G(() => t.get("tabIndex"), []), [r, a] = I(() => e.getAriaRowIndex()), l = e.headerRowClass, [c, d] = I(() => i + "px"), [u, h] = I(() => s + "px"), g = L(null), [p, f] = I(() => e.getUpdatedHeaderCtrls()), C = L(), v = L(null), w = D((y) => {
44227
+ const { gos: t, context: o } = ht(xt), { topOffset: s, rowHeight: i } = G(() => e.getTopAndHeight(), []), n = G(() => t.get("tabIndex"), []), [r, a] = I(() => e.getAriaRowIndex()), l = e.headerRowClass, [c, d] = I(() => i + "px"), [u, h] = I(() => s + "px"), g = L(null), [p, f] = I(() => e.getUpdatedHeaderCtrls()), C = L(), v = L(null), w = P((y) => {
44228
44228
  if (v.current = y, !y || !e.isAlive() || o.isDestroyed()) {
44229
44229
  C.current = o.destroyBean(C.current);
44230
44230
  return;
@@ -44234,8 +44234,8 @@ var O8 = 1e3, N8 = class {
44234
44234
  setHeight: (R) => d(R),
44235
44235
  setTop: (R) => h(R),
44236
44236
  setHeaderCtrls: (R, F, E) => {
44237
- const P = g.current, T = Za(P, R, F);
44238
- T !== P && (g.current = T, sr(E, () => f(T)));
44237
+ const D = g.current, T = Za(D, R, F);
44238
+ T !== D && (g.current = T, sr(E, () => f(T)));
44239
44239
  },
44240
44240
  setWidth: (R) => {
44241
44241
  v.current && (v.current.style.width = R);
@@ -44251,7 +44251,7 @@ var O8 = 1e3, N8 = class {
44251
44251
  top: u
44252
44252
  }),
44253
44253
  [c, u]
44254
- ), S = D((y) => {
44254
+ ), S = P((y) => {
44255
44255
  switch (e.type) {
44256
44256
  case "group":
44257
44257
  return /* @__PURE__ */ X.createElement(_8, { ctrl: y, key: y.instanceId });
@@ -44274,7 +44274,7 @@ var O8 = 1e3, N8 = class {
44274
44274
  p.map(S)
44275
44275
  );
44276
44276
  }, $8 = Rt(U8), j8 = ({ pinned: e }) => {
44277
- const [t, o] = I(!0), [s, i] = I([]), { context: n } = ht(xt), r = L(null), a = L(null), l = L(), c = e === "left", d = e === "right", u = !c && !d, h = D((f) => {
44277
+ const [t, o] = I(!0), [s, i] = I([]), { context: n } = ht(xt), r = L(null), a = L(null), l = L(), c = e === "left", d = e === "right", u = !c && !d, h = P((f) => {
44278
44278
  if (r.current = f, !f || n.isDestroyed()) {
44279
44279
  l.current = n.destroyBean(l.current);
44280
44280
  return;
@@ -44299,7 +44299,7 @@ var O8 = 1e3, N8 = class {
44299
44299
  }, []), g = t ? "" : "ag-hidden", p = () => s.map((f) => /* @__PURE__ */ X.createElement($8, { ctrl: f, key: f.instanceId }));
44300
44300
  return c ? /* @__PURE__ */ X.createElement("div", { ref: h, className: "ag-pinned-left-header " + g, "aria-hidden": !t, role: "rowgroup" }, p()) : d ? /* @__PURE__ */ X.createElement("div", { ref: h, className: "ag-pinned-right-header " + g, "aria-hidden": !t, role: "rowgroup" }, p()) : u ? /* @__PURE__ */ X.createElement("div", { ref: h, className: "ag-header-viewport " + g, role: "rowgroup", tabIndex: -1 }, /* @__PURE__ */ X.createElement("div", { ref: a, className: "ag-header-container", role: "presentation" }, p())) : null;
44301
44301
  }, Kc = Rt(j8), q8 = () => {
44302
- const [e, t] = I(() => new to()), [o, s] = I(), { context: i } = ht(xt), n = L(null), r = L(), a = D((d) => {
44302
+ const [e, t] = I(() => new to()), [o, s] = I(), { context: i } = ht(xt), n = L(null), r = L(), a = P((d) => {
44303
44303
  if (n.current = d, !d || i.isDestroyed()) {
44304
44304
  r.current = i.destroyBean(r.current);
44305
44305
  return;
@@ -44443,7 +44443,7 @@ var O8 = 1e3, N8 = class {
44443
44443
  }
44444
44444
  ) : c && i ? /* @__PURE__ */ X.createElement(Lp, { editDetails: e, cellCtrl: s, eParentCell: o, jsChildComp: i }) : null;
44445
44445
  }, tL = (e, t, o, s, i, n) => {
44446
- const { context: r } = ht(xt), a = D(() => {
44446
+ const { context: r } = ht(xt), a = P(() => {
44447
44447
  const l = i.current;
44448
44448
  if (!l)
44449
44449
  return;
@@ -44499,9 +44499,9 @@ var O8 = 1e3, N8 = class {
44499
44499
  instanceId: r
44500
44500
  } = e, a = L(), [l, c] = I(
44501
44501
  () => e.isCellRenderer() ? void 0 : { compDetails: void 0, value: e.getValueToDisplay(), force: !1 }
44502
- ), [d, u] = I(), [h, g] = I(1), [p, f] = I(), [C, v] = I(!1), [w, b] = I(!1), [S, y] = I(!1), [x, R] = I(), F = G(() => e.isForceWrapper(), [e]), E = G(() => e.getCellAriaRole(), [e]), P = L(null), T = L(null), M = L(null), k = L(), B = L(), O = L(), $ = L([]), K = L(), N = L(), [pe, z] = I(0), ne = D((de) => {
44502
+ ), [d, u] = I(), [h, g] = I(1), [p, f] = I(), [C, v] = I(!1), [w, b] = I(!1), [S, y] = I(!1), [x, R] = I(), F = G(() => e.isForceWrapper(), [e]), E = G(() => e.getCellAriaRole(), [e]), D = L(null), T = L(null), M = L(null), k = L(), B = L(), O = L(), $ = L([]), K = L(), N = L(), [pe, z] = I(0), ne = P((de) => {
44503
44503
  N.current = de, z((Se) => Se + 1);
44504
- }, []), oe = l != null && (C || S || w) && (d == null || !!d.popup), se = F || oe, we = G(() => e.getCellValueClass(), [e]), Pe = D(
44504
+ }, []), oe = l != null && (C || S || w) && (d == null || !!d.popup), se = F || oe, we = G(() => e.getCellValueClass(), [e]), Pe = P(
44505
44505
  (de) => {
44506
44506
  if (B.current = de, de) {
44507
44507
  const Se = de.isCancelBeforeStart && de.isCancelBeforeStart();
@@ -44512,7 +44512,7 @@ var O8 = 1e3, N8 = class {
44512
44512
  },
44513
44513
  [e]
44514
44514
  ), ce = L();
44515
- ce.current || (ce.current = new dr(() => P.current)), sw(l, se, N.current, pe, k, P);
44515
+ ce.current || (ce.current = new dr(() => D.current)), sw(l, se, N.current, pe, k, D);
44516
44516
  const j = L();
44517
44517
  ao(() => {
44518
44518
  const de = j.current, Se = l;
@@ -44531,7 +44531,7 @@ var O8 = 1e3, N8 = class {
44531
44531
  if (!ye)
44532
44532
  return;
44533
44533
  const ke = ye.getGui();
44534
- Pe(ye), Te || ((F ? O : P).current?.appendChild(ke), ye.afterGuiAttached?.()), R(ye);
44534
+ Pe(ye), Te || ((F ? O : D).current?.appendChild(ke), ye.afterGuiAttached?.()), R(ye);
44535
44535
  }), () => {
44536
44536
  Ge.then((ye) => {
44537
44537
  const ke = ye.getGui();
@@ -44539,7 +44539,7 @@ var O8 = 1e3, N8 = class {
44539
44539
  });
44540
44540
  };
44541
44541
  }, [d]);
44542
- const Me = D(
44542
+ const Me = P(
44543
44543
  (de) => {
44544
44544
  if (O.current = de, !de || i.isDestroyed() || !e.isAlive()) {
44545
44545
  const Ge = $.current;
@@ -44557,8 +44557,8 @@ var O8 = 1e3, N8 = class {
44557
44557
  C && Te(e.createSelectionCheckbox()), S && Te(e.createDndSource()), w && (Se = e.createRowDragComp(), K.current = Se, Se && (Te(Se), Se.refreshVisibility()));
44558
44558
  },
44559
44559
  [e, i, S, w, C]
44560
- ), le = D(() => {
44561
- const de = !e.isCellSpanning() || T.current, Se = P.current;
44560
+ ), le = P(() => {
44561
+ const de = !e.isCellSpanning() || T.current, Se = D.current;
44562
44562
  if (!Se || !de || !e || !e.isAlive() || i.isDestroyed()) {
44563
44563
  a.current = i.destroyBean(a.current);
44564
44564
  return;
@@ -44567,27 +44567,27 @@ var O8 = 1e3, N8 = class {
44567
44567
  const Te = {
44568
44568
  toggleCss: (ye, ke) => ce.current.toggleCss(ye, ke),
44569
44569
  setUserStyles: (ye) => f(ye),
44570
- getFocusableElement: () => P.current,
44570
+ getFocusableElement: () => D.current,
44571
44571
  setIncludeSelection: (ye) => v(ye),
44572
44572
  setIncludeRowDrag: (ye) => b(ye),
44573
44573
  setIncludeDndSource: (ye) => y(ye),
44574
44574
  getCellEditor: () => B.current ?? null,
44575
44575
  getCellRenderer: () => M.current ?? k.current,
44576
- getParentOfValue: () => N.current ?? O.current ?? P.current,
44576
+ getParentOfValue: () => N.current ?? O.current ?? D.current,
44577
44577
  setRenderDetails: (ye, ke, Ke) => {
44578
44578
  const _e = () => {
44579
- c((je) => je?.compDetails !== ye || je?.value !== ke || je?.force !== Ke ? {
44579
+ c((qe) => qe?.compDetails !== ye || qe?.value !== ke || qe?.force !== Ke ? {
44580
44580
  value: ke,
44581
44581
  compDetails: ye,
44582
44582
  force: Ke
44583
- } : je);
44583
+ } : qe);
44584
44584
  };
44585
44585
  if (ye?.params?.deferRender && !e.rowNode.group) {
44586
- const { loadingComp: je, onReady: $t } = e.getDeferLoadingCellRenderer();
44587
- if (je) {
44586
+ const { loadingComp: qe, onReady: $t } = e.getDeferLoadingCellRenderer();
44587
+ if (qe) {
44588
44588
  c({
44589
44589
  value: void 0,
44590
- compDetails: je,
44590
+ compDetails: qe,
44591
44591
  force: !1
44592
44592
  }), $t.then(() => m8(_e));
44593
44593
  return;
@@ -44597,21 +44597,21 @@ var O8 = 1e3, N8 = class {
44597
44597
  },
44598
44598
  setEditDetails: (ye, ke, Ke, _e) => {
44599
44599
  if (ye) {
44600
- let je;
44601
- ye.componentFromFramework && (_e ? je = new Z8(
44600
+ let qe;
44601
+ ye.componentFromFramework && (_e ? qe = new Z8(
44602
44602
  ye.params,
44603
44603
  () => g(($t) => $t + 1)
44604
44604
  ) : Dh()), u({
44605
44605
  compDetails: ye,
44606
44606
  popup: ke,
44607
44607
  popupPosition: Ke,
44608
- compProxy: je
44608
+ compProxy: qe
44609
44609
  }), ke || c(void 0);
44610
44610
  } else
44611
44611
  e.hasBrowserFocus() && Te.getFocusableElement().focus({ preventScroll: !0 }), B.current = void 0, u(void 0);
44612
44612
  },
44613
44613
  refreshEditStyles: (ye, ke) => {
44614
- if (!P.current)
44614
+ if (!D.current)
44615
44615
  return;
44616
44616
  const { current: Ke } = ce;
44617
44617
  Ke.toggleCss("ag-cell-value", !se), Ke.toggleCss("ag-cell-inline-editing", !!ye && !ke), Ke.toggleCss("ag-cell-popup-editing", !!ye && !!ke), Ke.toggleCss("ag-cell-not-inline-editing", !ye || !!ke);
@@ -44626,13 +44626,13 @@ var O8 = 1e3, N8 = class {
44626
44626
  o,
44627
44627
  a.current
44628
44628
  );
44629
- }, []), Y = D((de) => {
44630
- P.current = de, le();
44631
- }, []), Z = D((de) => {
44629
+ }, []), Y = P((de) => {
44630
+ D.current = de, le();
44631
+ }, []), Z = P((de) => {
44632
44632
  T.current = de, le();
44633
44633
  }, []), re = G(() => !!(l?.compDetails?.componentFromFramework && en(l.compDetails.componentClass)), [l]);
44634
44634
  ao(() => {
44635
- if (!P.current)
44635
+ if (!D.current)
44636
44636
  return;
44637
44637
  const { current: de } = ce;
44638
44638
  de.toggleCss("ag-cell-value", !se), de.toggleCss("ag-cell-inline-editing", !!d && !d.popup), de.toggleCss("ag-cell-popup-editing", !!d && !!d.popup), de.toggleCss("ag-cell-not-inline-editing", !d || !!d.popup);
@@ -44643,10 +44643,10 @@ var O8 = 1e3, N8 = class {
44643
44643
  return Se?.toString?.() ?? Se;
44644
44644
  if (de.componentFromFramework) {
44645
44645
  const Te = de.componentClass;
44646
- return /* @__PURE__ */ X.createElement($1, { fallback: /* @__PURE__ */ X.createElement(oL, { cellCtrl: e, parent: P }) }, re ? /* @__PURE__ */ X.createElement(Te, { ...de.params, key: h }) : /* @__PURE__ */ X.createElement(Te, { ...de.params, key: h, ref: M }));
44646
+ return /* @__PURE__ */ X.createElement($1, { fallback: /* @__PURE__ */ X.createElement(oL, { cellCtrl: e, parent: D }) }, re ? /* @__PURE__ */ X.createElement(Te, { ...de.params, key: h }) : /* @__PURE__ */ X.createElement(Te, { ...de.params, key: h, ref: M }));
44647
44647
  }
44648
44648
  }, ve = () => {
44649
- const de = () => l == null ? null : se ? /* @__PURE__ */ X.createElement("span", { role: "presentation", id: `cell-${r}`, className: we, ref: ne }, W()) : W(), Se = (Te) => eL(Te, Pe, P.current, e, x);
44649
+ const de = () => l == null ? null : se ? /* @__PURE__ */ X.createElement("span", { role: "presentation", id: `cell-${r}`, className: we, ref: ne }, W()) : W(), Se = (Te) => eL(Te, Pe, D.current, e, x);
44650
44650
  return d != null ? d.popup ? /* @__PURE__ */ X.createElement(X.Fragment, null, de(), Se(d)) : Se(d) : de();
44651
44651
  }, he = () => /* @__PURE__ */ X.createElement("div", { ref: Y, style: p, role: E, "col-id": n }, se ? /* @__PURE__ */ X.createElement("div", { className: "ag-cell-wrapper", role: "presentation", ref: Me }, ve()) : ve());
44652
44652
  return e.isCellSpanning() ? /* @__PURE__ */ X.createElement("div", { ref: Z, className: "ag-spanned-cell-wrapper", role: "presentation" }, he()) : he();
@@ -44655,7 +44655,7 @@ var O8 = 1e3, N8 = class {
44655
44655
  () => c ? e.rowNode.getRowIndexString() : null
44656
44656
  ), [h, g] = I(() => e.rowId), [p, f] = I(() => e.businessKey), [C, v] = I(() => e.rowStyles), w = L(null), [b, S] = I(() => null), [y, x] = I(), [R, F] = I(
44657
44657
  () => c ? e.getInitialRowTop(t) : void 0
44658
- ), [E, P] = I(
44658
+ ), [E, D] = I(
44659
44659
  () => c ? e.getInitialTransform(t) : void 0
44660
44660
  ), T = L(null), M = L(), k = L(), B = L(!1), [O, $] = I(0);
44661
44661
  xe(() => {
@@ -44667,14 +44667,14 @@ var O8 = 1e3, N8 = class {
44667
44667
  const K = L();
44668
44668
  K.current || (K.current = new dr(() => T.current));
44669
44669
  const N = L(() => {
44670
- }), pe = D((Y) => (N.current = Y, () => {
44670
+ }), pe = P((Y) => (N.current = Y, () => {
44671
44671
  N.current = () => {
44672
44672
  };
44673
44673
  }), []), z = C8(
44674
44674
  pe,
44675
44675
  () => w.current,
44676
44676
  []
44677
- ), ne = n ? z : b, oe = D((Y) => {
44677
+ ), ne = n ? z : b, oe = P((Y) => {
44678
44678
  if (T.current = Y, r.current = Y ? o.createBean(new Qi()) : o.destroyBean(r.current), !Y) {
44679
44679
  e.unsetComp(t);
44680
44680
  return;
@@ -44685,7 +44685,7 @@ var O8 = 1e3, N8 = class {
44685
44685
  // the rowTop is managed by state, instead of direct style manipulation by rowCtrl (like all the other styles)
44686
44686
  // as we need to have an initial value when it's placed into he DOM for the first time, for animation to work.
44687
44687
  setTop: F,
44688
- setTransform: P,
44688
+ setTransform: D,
44689
44689
  // i found using React for managing classes at the row level was to slow, as modifying classes caused a lot of
44690
44690
  // React code to execute, so avoiding React for managing CSS Classes made the grid go much faster.
44691
44691
  toggleCss: (re, W) => K.current.toggleCss(re, W),
@@ -44753,10 +44753,10 @@ var O8 = 1e3, N8 = class {
44753
44753
  }, Np = Rt(nL), rL = ({ name: e }) => {
44754
44754
  const { context: t, gos: o } = ht(xt), s = G(() => hr(e), [e]), i = L(null), n = L(null), r = L(null), a = L([]), l = L([]), [c, d] = I(() => []), u = !!o.get("enableCellSpan") && !!s.getSpannedRowCtrls, h = L([]), g = L([]), [p, f] = I(() => []), C = L(!1), v = L(), w = G(() => Yt("ag-viewport", bC(e)), [e]), b = G(() => Yt(ma(e)), [e]), S = G(() => Yt("ag-spanning-container", _F(e)), [e]), y = s.type === "center" || u, x = y ? i : n;
44755
44755
  Ds(" AG Row Container " + e + " ", x);
44756
- const R = D(() => {
44756
+ const R = P(() => {
44757
44757
  const O = !y || i.current != null, $ = n.current != null, K = !u || r.current != null;
44758
44758
  return O && $ && K;
44759
- }, []), F = D(() => i.current == null && n.current == null && r.current == null, []), E = D(() => {
44759
+ }, []), F = P(() => i.current == null && n.current == null && r.current == null, []), E = P(() => {
44760
44760
  if (F() && (v.current = t.destroyBean(v.current)), !t.isDestroyed() && R()) {
44761
44761
  const O = (N) => {
44762
44762
  const pe = Za(
@@ -44804,17 +44804,17 @@ var O8 = 1e3, N8 = class {
44804
44804
  i.current
44805
44805
  );
44806
44806
  }
44807
- }, [R, F]), P = D(
44807
+ }, [R, F]), D = P(
44808
44808
  (O) => {
44809
44809
  n.current = O, E();
44810
44810
  },
44811
44811
  [E]
44812
- ), T = D(
44812
+ ), T = P(
44813
44813
  (O) => {
44814
44814
  r.current = O, E();
44815
44815
  },
44816
44816
  [E]
44817
- ), M = D(
44817
+ ), M = P(
44818
44818
  (O) => {
44819
44819
  i.current = O, E();
44820
44820
  },
@@ -44823,7 +44823,7 @@ var O8 = 1e3, N8 = class {
44823
44823
  "div",
44824
44824
  {
44825
44825
  className: b,
44826
- ref: P,
44826
+ ref: D,
44827
44827
  role: y ? "presentation" : "rowgroup"
44828
44828
  },
44829
44829
  c.map((O) => /* @__PURE__ */ X.createElement(Np, { rowCtrl: O, containerType: s.type, key: O.instanceId }))
@@ -44833,11 +44833,11 @@ var O8 = 1e3, N8 = class {
44833
44833
  const B = () => /* @__PURE__ */ X.createElement("div", { className: S, ref: T, role: "presentation" }, p.map((O) => /* @__PURE__ */ X.createElement(Np, { rowCtrl: O, containerType: s.type, key: O.instanceId })));
44834
44834
  return /* @__PURE__ */ X.createElement("div", { className: w, ref: M, role: "rowgroup" }, k(), u ? B() : null);
44835
44835
  }, aL = Rt(rL), lL = () => {
44836
- const e = ht(xt), { context: t, overlays: o } = e, [s, i] = I(""), [n, r] = I(0), [a, l] = I(0), [c, d] = I("0px"), [u, h] = I("0px"), [g, p] = I("100%"), [f, C] = I("0px"), [v, w] = I("0px"), [b, S] = I("100%"), [y, x] = I(!0), [R, F] = I(!0), [E, P] = I(null), [T, M] = I(""), [k, B] = I(null), [O, $] = I("ag-layout-normal"), K = L();
44836
+ const e = ht(xt), { context: t, overlays: o } = e, [s, i] = I(""), [n, r] = I(0), [a, l] = I(0), [c, d] = I("0px"), [u, h] = I("0px"), [g, p] = I("100%"), [f, C] = I("0px"), [v, w] = I("0px"), [b, S] = I("100%"), [y, x] = I(!0), [R, F] = I(!0), [E, D] = I(null), [T, M] = I(""), [k, B] = I(null), [O, $] = I("ag-layout-normal"), K = L();
44837
44837
  K.current || (K.current = new dr(() => N.current));
44838
44838
  const N = L(null), pe = L(null), z = L(null), ne = L(null), oe = L(null), se = L(null), we = L(null), Pe = L([]), ce = L([]);
44839
44839
  Ds(" AG Grid Body ", N), Ds(" AG Pinned Top ", pe), Ds(" AG Sticky Top ", z), Ds(" AG Middle ", se), Ds(" AG Pinned Bottom ", we);
44840
- const j = D((ke) => {
44840
+ const j = P((ke) => {
44841
44841
  if (N.current = ke, !ke || t.isDestroyed()) {
44842
44842
  Pe.current = t.destroyBeans(Pe.current);
44843
44843
  for (const _ of ce.current)
@@ -44850,12 +44850,12 @@ var O8 = 1e3, N8 = class {
44850
44850
  }, _e = (_) => {
44851
44851
  const Ie = t.createBean(new _());
44852
44852
  return Pe.current.push(Ie), Ie;
44853
- }, je = (_, Ie, Ht) => {
44853
+ }, qe = (_, Ie, Ht) => {
44854
44854
  Ke(_, document.createComment(Ht)), Ke(_, _e(Ie).getGui());
44855
44855
  };
44856
- je(ke, rE, " AG Fake Horizontal Scroll ");
44856
+ qe(ke, rE, " AG Fake Horizontal Scroll ");
44857
44857
  const $t = o?.getOverlayWrapperCompClass();
44858
- $t && je(ke, $t, " AG Overlay Wrapper "), oe.current && je(oe.current, lE, " AG Fake Vertical Scroll ");
44858
+ $t && qe(ke, $t, " AG Overlay Wrapper "), oe.current && qe(oe.current, lE, " AG Fake Vertical Scroll ");
44859
44859
  const jt = {
44860
44860
  setRowAnimationCssOnBodyViewport: i,
44861
44861
  setColumnCount: (_) => {
@@ -44873,7 +44873,7 @@ var O8 = 1e3, N8 = class {
44873
44873
  setBottomInvisible: F,
44874
44874
  setColumnMovingCss: (_, Ie) => K.current.toggleCss(_, Ie),
44875
44875
  updateLayoutClasses: $,
44876
- setAlwaysVerticalScrollClass: P,
44876
+ setAlwaysVerticalScrollClass: D,
44877
44877
  setPinnedTopBottomOverflowY: M,
44878
44878
  setCellSelectableCss: (_, Ie) => B(Ie ? _ : null),
44879
44879
  setBodyViewportWidth: (_) => {
@@ -44881,7 +44881,7 @@ var O8 = 1e3, N8 = class {
44881
44881
  },
44882
44882
  registerBodyViewportResizeListener: (_) => {
44883
44883
  if (se.current) {
44884
- const Ie = jo(e, se.current, _);
44884
+ const Ie = qo(e, se.current, _);
44885
44885
  ce.current.push(() => Ie());
44886
44886
  }
44887
44887
  },
@@ -44949,8 +44949,8 @@ var O8 = 1e3, N8 = class {
44949
44949
  section: ke,
44950
44950
  children: Ke,
44951
44951
  className: _e,
44952
- style: je
44953
- }) => /* @__PURE__ */ X.createElement("div", { ref: ke, className: _e, role: "presentation", style: je }, Ke.map(Ge));
44952
+ style: qe
44953
+ }) => /* @__PURE__ */ X.createElement("div", { ref: ke, className: _e, role: "presentation", style: qe }, Ke.map(Ge));
44954
44954
  return /* @__PURE__ */ X.createElement("div", { ref: j, className: Me }, /* @__PURE__ */ X.createElement(K8, null), ye({
44955
44955
  section: pe,
44956
44956
  className: Z,
@@ -44987,7 +44987,7 @@ var O8 = 1e3, N8 = class {
44987
44987
  u.current?.forceFocusOutOfContainer(v);
44988
44988
  }
44989
44989
  }));
44990
- const g = D(() => {
44990
+ const g = P(() => {
44991
44991
  const v = c.current, w = d.current;
44992
44992
  if (!v && !w || l.isDestroyed()) {
44993
44993
  u.current = l.destroyBean(u.current);
@@ -45010,12 +45010,12 @@ var O8 = 1e3, N8 = class {
45010
45010
  })
45011
45011
  );
45012
45012
  }
45013
- }, []), p = D(
45013
+ }, []), p = P(
45014
45014
  (v) => {
45015
45015
  c.current = v, g();
45016
45016
  },
45017
45017
  [g]
45018
- ), f = D(
45018
+ ), f = P(
45019
45019
  (v) => {
45020
45020
  d.current = v, g();
45021
45021
  },
@@ -45034,10 +45034,10 @@ var O8 = 1e3, N8 = class {
45034
45034
  return /* @__PURE__ */ X.createElement(X.Fragment, null, C("top"), o, C("bottom"));
45035
45035
  }, uL = Cu(dL), hL = Rt(uL), gL = ({ context: e }) => {
45036
45036
  const [t, o] = I(""), [s, i] = I(""), [n, r] = I(null), [a, l] = I(null), [c, d] = I(!1), [u, h] = I(), g = L(), p = L(null), f = L(), [C, v] = I(null), w = L(() => {
45037
- }), b = L(), S = L([]), y = D(() => {
45037
+ }), b = L(), S = L([]), y = P(() => {
45038
45038
  }, []);
45039
45039
  Ds(" AG Grid ", p);
45040
- const x = D((M) => {
45040
+ const x = P((M) => {
45041
45041
  if (p.current = M, g.current = M ? e.createBean(new n3()) : e.destroyBean(g.current), !M || e.isDestroyed())
45042
45042
  return;
45043
45043
  const k = g.current;
@@ -45113,13 +45113,13 @@ var O8 = 1e3, N8 = class {
45113
45113
  cursor: n ?? ""
45114
45114
  }),
45115
45115
  [a, n]
45116
- ), P = D((M) => {
45116
+ ), D = P((M) => {
45117
45117
  f.current = M, h(M !== null);
45118
- }, []), T = D(() => !g.current?.isFocusable(), []);
45118
+ }, []), T = P(() => !g.current?.isFocusable(), []);
45119
45119
  return /* @__PURE__ */ X.createElement("div", { ref: x, className: R, style: E, role: "presentation" }, /* @__PURE__ */ X.createElement("div", { className: F, ref: v, role: "presentation" }, c && C && !e.isDestroyed() && /* @__PURE__ */ X.createElement(xt.Provider, { value: e.getBeans() }, /* @__PURE__ */ X.createElement(
45120
45120
  hL,
45121
45121
  {
45122
- ref: P,
45122
+ ref: D,
45123
45123
  eFocusableElement: C,
45124
45124
  onTabKeyDown: y,
45125
45125
  gridCtrl: g.current,
@@ -45172,7 +45172,7 @@ var O8 = 1e3, N8 = class {
45172
45172
  componentWrappingElement: void 0,
45173
45173
  ...iw
45174
45174
  }, nw = new Set(Object.keys(mL)), CL = new Set(Object.keys(iw)), rw = (e) => {
45175
- const t = L(), o = L(null), s = L(null), i = L([]), n = L([]), r = L(e), a = L(), l = L(), c = L(!1), [d, u] = I(void 0), [, h] = I(0), g = D((v) => {
45175
+ const t = L(), o = L(null), s = L(null), i = L([]), n = L([]), r = L(e), a = L(), l = L(), c = L(!1), [d, u] = I(void 0), [, h] = I(0), g = P((v) => {
45176
45176
  if (o.current = v, !v) {
45177
45177
  for (const T of i.current)
45178
45178
  T();
@@ -45237,8 +45237,8 @@ var O8 = 1e3, N8 = class {
45237
45237
  n.current.length = 0, c.current = !0;
45238
45238
  }
45239
45239
  );
45240
- }, P = new IT();
45241
- b.gridId ?? (b.gridId = l.current), t.current = P.create(
45240
+ }, D = new IT();
45241
+ b.gridId ?? (b.gridId = l.current), t.current = D.create(
45242
45242
  v,
45243
45243
  b,
45244
45244
  F,
@@ -45250,7 +45250,7 @@ var O8 = 1e3, N8 = class {
45250
45250
  }, []), p = G(() => ({
45251
45251
  height: "100%",
45252
45252
  ...e.containerStyle || {}
45253
- }), [e.containerStyle]), f = D((v) => {
45253
+ }), [e.containerStyle]), f = P((v) => {
45254
45254
  c.current && !a.current?.shouldQueueUpdates() ? v() : n.current.push(v);
45255
45255
  }, []);
45256
45256
  xe(() => {
@@ -45337,20 +45337,20 @@ var wL = class extends NT {
45337
45337
  return f.current?.refresh() ?? !1;
45338
45338
  }
45339
45339
  })), e.template && U(230);
45340
- const y = D((R) => {
45340
+ const y = P((R) => {
45341
45341
  if (C.current = R, !R || i.isDestroyed()) {
45342
45342
  f.current = i.destroyBean(f.current), v.current?.();
45343
45343
  return;
45344
45344
  }
45345
45345
  const F = {
45346
- toggleCss: (P, T) => l((M) => M.setClass(P, T)),
45347
- toggleDetailGridCss: (P, T) => d((M) => M.setClass(P, T)),
45348
- setDetailGrid: (P) => h(P),
45349
- setRowData: (P) => p(P),
45346
+ toggleCss: (D, T) => l((M) => M.setClass(D, T)),
45347
+ toggleDetailGridCss: (D, T) => d((M) => M.setClass(D, T)),
45348
+ setDetailGrid: (D) => h(D),
45349
+ setRowData: (D) => p(D),
45350
45350
  getGui: () => C.current
45351
45351
  }, E = s.createDynamicBean("detailCellRendererCtrl", !0);
45352
45352
  if (E && (i.createBean(E), E.init(F, e), f.current = E, n.get("detailRowAutoHeight"))) {
45353
- const P = () => {
45353
+ const D = () => {
45354
45354
  if (C.current == null)
45355
45355
  return;
45356
45356
  const T = C.current.clientHeight;
@@ -45358,9 +45358,9 @@ var wL = class extends NT {
45358
45358
  e.node.setRowHeight(T), (ot(n) || Ks(n)) && r.onRowHeightChanged();
45359
45359
  }, 0);
45360
45360
  };
45361
- v.current = jo(o, R, P), P();
45361
+ v.current = qo(o, R, D), D();
45362
45362
  }
45363
- }, []), x = D((R) => {
45363
+ }, []), x = P((R) => {
45364
45364
  f.current?.registerDetailWithMaster(R);
45365
45365
  }, []);
45366
45366
  return /* @__PURE__ */ X.createElement("div", { className: b, ref: y }, u && /* @__PURE__ */ X.createElement(
@@ -45471,19 +45471,19 @@ const xL = fe(
45471
45471
  matchReferenceWidth: v = !0,
45472
45472
  maxDropdownHeight: w
45473
45473
  }) => {
45474
- const [b, S] = I(a), y = r !== void 0, x = y ? !!r : b, R = L(null), F = D(
45474
+ const [b, S] = I(a), y = r !== void 0, x = y ? !!r : b, R = L(null), F = P(
45475
45475
  (j) => {
45476
45476
  y || S(j), l?.(j);
45477
45477
  },
45478
45478
  [y, l]
45479
- ), E = vu(), P = i === void 0, T = (j) => "clientWidth" in j ? j.clientWidth : j.getBoundingClientRect?.()?.width ?? 0, { refs: M, floatingStyles: k, context: B } = du({
45479
+ ), E = vu(), D = i === void 0, T = (j) => "clientWidth" in j ? j.clientWidth : j.getBoundingClientRect?.()?.width ?? 0, { refs: M, floatingStyles: k, context: B } = du({
45480
45480
  placement: i,
45481
45481
  open: x,
45482
45482
  onOpenChange: F,
45483
45483
  whileElementsMounted: df,
45484
45484
  middleware: [
45485
45485
  uf({ mainAxis: Dn, crossAxis: 0 }),
45486
- P ? B1({
45486
+ D ? B1({
45487
45487
  alignment: "start",
45488
45488
  crossAxis: !0,
45489
45489
  padding: Dn,
@@ -45526,7 +45526,7 @@ const xL = fe(
45526
45526
  $,
45527
45527
  K,
45528
45528
  N
45529
- ]), ne = D(
45529
+ ]), ne = P(
45530
45530
  (j, Me) => {
45531
45531
  M.setPositionReference({
45532
45532
  getBoundingClientRect: () => ({
@@ -45542,7 +45542,7 @@ const xL = fe(
45542
45542
  });
45543
45543
  },
45544
45544
  [M]
45545
- ), oe = D(
45545
+ ), oe = P(
45546
45546
  (j) => {
45547
45547
  !s.includes(Qt.ContextMenu) || n || (j.preventDefault(), C && (ne(j.clientX, j.clientY), R.current = document.elementFromPoint(
45548
45548
  j.clientX,
@@ -45550,7 +45550,7 @@ const xL = fe(
45550
45550
  )), F(!0));
45551
45551
  },
45552
45552
  [C, n, F, ne, s]
45553
- ), se = D(
45553
+ ), se = P(
45554
45554
  (j) => {
45555
45555
  !C || n || (s.includes(Qt.ContextMenu) && x && F(!1), ne(j.clientX, j.clientY), R.current = document.elementFromPoint(
45556
45556
  j.clientX,
@@ -45562,13 +45562,13 @@ const xL = fe(
45562
45562
  xe(() => {
45563
45563
  n && x && F(!1);
45564
45564
  }, [n, x, F]);
45565
- const we = D(
45565
+ const we = P(
45566
45566
  (j) => (Me) => {
45567
45567
  j.disabled || (j.onClick?.({ key: j.key, domEvent: Me }), t?.onClick?.({ key: j.key, domEvent: Me }), F(!1));
45568
45568
  },
45569
45569
  [t, F]
45570
- ), Pe = G(() => o ? o() : t ? /* @__PURE__ */ V(qe, { children: [
45571
- t.header && /* @__PURE__ */ m(qe, { children: typeof t.header == "function" ? t.header() : t.header }),
45570
+ ), Pe = G(() => o ? o() : t ? /* @__PURE__ */ V(je, { children: [
45571
+ t.header && /* @__PURE__ */ m(je, { children: typeof t.header == "function" ? t.header() : t.header }),
45572
45572
  /* @__PURE__ */ m("div", { role: "none", className: "py-1", "aria-label": "dropdown", children: t.items.map((j) => j.type === ir.Divider ? /* @__PURE__ */ m(
45573
45573
  "div",
45574
45574
  {
@@ -45627,7 +45627,7 @@ const xL = fe(
45627
45627
  },
45628
45628
  j.key
45629
45629
  )) }),
45630
- t.footer && /* @__PURE__ */ m(qe, { children: typeof t.footer == "function" ? t.footer() : t.footer })
45630
+ t.footer && /* @__PURE__ */ m(je, { children: typeof t.footer == "function" ? t.footer() : t.footer })
45631
45631
  ] }) : null, [we, t, o]), ce = pe({
45632
45632
  onContextMenu: oe,
45633
45633
  onMouseDown: se
@@ -45644,7 +45644,7 @@ const xL = fe(
45644
45644
  { root: null, threshold: 0 }
45645
45645
  );
45646
45646
  return le.observe(Me), () => le.disconnect();
45647
- }, [x, M.reference, F]), /* @__PURE__ */ V(qe, { children: [
45647
+ }, [x, M.reference, F]), /* @__PURE__ */ V(je, { children: [
45648
45648
  /* @__PURE__ */ m(
45649
45649
  "span",
45650
45650
  {
@@ -45775,7 +45775,7 @@ const uw = ({
45775
45775
  allowDisabledContextMenu: y = !1,
45776
45776
  selectionMode: x
45777
45777
  }) => {
45778
- const [R, F] = I(Zc), [E, P] = I(), T = vu(), M = L(/* @__PURE__ */ new Set()), k = L(
45778
+ const [R, F] = I(Zc), [E, D] = I(), T = vu(), M = L(/* @__PURE__ */ new Set()), k = L(
45779
45779
  void 0
45780
45780
  ), B = G(
45781
45781
  () => ({
@@ -45784,9 +45784,9 @@ const uw = ({
45784
45784
  wrapperBorder: b
45785
45785
  }),
45786
45786
  [g, b]
45787
- ), O = D((Z) => {
45787
+ ), O = P((Z) => {
45788
45788
  Z.api.sizeColumnsToFit(), F(Zc);
45789
- }, []), $ = D(
45789
+ }, []), $ = P(
45790
45790
  (Z) => {
45791
45791
  if (Z.data) {
45792
45792
  const re = h(Z.data), W = a?.has(re) ?? !1, ve = W && !y, he = Z.value == null ? "" : String(Z.value), de = s?.(Z.data) ?? [];
@@ -45812,10 +45812,10 @@ const uw = ({
45812
45812
  }
45813
45813
  },
45814
45814
  [s, a, h, y]
45815
- ), K = D(
45815
+ ), K = P(
45816
45816
  (Z) => Z === Es.API || Z === Es.ROW_DATA_CHANGED,
45817
45817
  []
45818
- ), N = D(
45818
+ ), N = P(
45819
45819
  (Z) => {
45820
45820
  if (!E)
45821
45821
  return;
@@ -45826,7 +45826,7 @@ const uw = ({
45826
45826
  ), pe = G(() => OL(
45827
45827
  (Z) => N?.(Z),
45828
45828
  100
45829
- ), [N]), z = D(
45829
+ ), [N]), z = P(
45830
45830
  (Z) => {
45831
45831
  if (!Z.data) return null;
45832
45832
  const re = h(Z.data), W = Z.node.isSelected(), ve = a?.has(re), he = `row-select-${re}`;
@@ -45850,7 +45850,7 @@ const uw = ({
45850
45850
  ) });
45851
45851
  },
45852
45852
  [h, a]
45853
- ), ne = D((Z) => {
45853
+ ), ne = P((Z) => {
45854
45854
  const re = "dial-row-select", W = "dial-row-select-visible";
45855
45855
  return Z ? re : `${re} ${W}`;
45856
45856
  }, []), oe = G(() => {
@@ -45876,7 +45876,7 @@ const uw = ({
45876
45876
  x,
45877
45877
  c,
45878
45878
  ne
45879
- ]), se = D(
45879
+ ]), se = P(
45880
45880
  (Z) => {
45881
45881
  const re = typeof r == "function" ? r(Z) : !!r;
45882
45882
  if (!Z.cellRenderer)
@@ -45944,12 +45944,12 @@ const uw = ({
45944
45944
  ...ve,
45945
45945
  sort: void 0
45946
45946
  }));
45947
- Z.api.updateGridOptions({ columnDefs: W, rowData: t }), Z.api.sizeColumnsToFit(), P(Z.api), o?.onGridReady?.(Z), u?.(Z.api);
45947
+ Z.api.updateGridOptions({ columnDefs: W, rowData: t }), Z.api.sizeColumnsToFit(), D(Z.api), o?.onGridReady?.(Z), u?.(Z.api);
45948
45948
  };
45949
45949
  xe(() => {
45950
45950
  E && E.redrawRows();
45951
45951
  }, [E]);
45952
- const j = D(
45952
+ const j = P(
45953
45953
  () => /* @__PURE__ */ m(
45954
45954
  il,
45955
45955
  {
@@ -45989,10 +45989,10 @@ const uw = ({
45989
45989
  re && !re.isSelected() && re.setSelected(!0, !1, Es.API);
45990
45990
  }));
45991
45991
  }, [E, l]);
45992
- const le = D(
45992
+ const le = P(
45993
45993
  (Z) => Z.data ? h(Z.data) : "",
45994
45994
  [h]
45995
- ), Y = D(() => {
45995
+ ), Y = P(() => {
45996
45996
  document.querySelectorAll(`.ag-row ${Hp}`).forEach((Z) => {
45997
45997
  Z.setAttribute("aria-description", hd);
45998
45998
  });
@@ -46105,13 +46105,13 @@ const ea = ({
46105
46105
  }
46106
46106
  );
46107
46107
  }, NL = 12;
46108
- var ns = /* @__PURE__ */ ((e) => (e.Undefined = "undefined", e.Mobile = "mobile", e.Tablet = "tablet", e.Desktop = "desktop", e))(ns || {});
46108
+ var rs = /* @__PURE__ */ ((e) => (e.Undefined = "undefined", e.Mobile = "mobile", e.Tablet = "tablet", e.Desktop = "desktop", e))(rs || {});
46109
46109
  const Gp = () => typeof window < "u" && window.innerWidth < 640, Qc = () => {
46110
- if (typeof window > "u") return ns.Undefined;
46110
+ if (typeof window > "u") return rs.Undefined;
46111
46111
  const e = window.innerWidth;
46112
- return e >= 1024 ? ns.Desktop : e < 640 ? ns.Mobile : ns.Tablet;
46112
+ return e >= 1024 ? rs.Desktop : e < 640 ? rs.Mobile : rs.Tablet;
46113
46113
  }, HL = () => {
46114
- const [e, t] = I(() => typeof window > "u" ? ns.Desktop : Qc());
46114
+ const [e, t] = I(() => typeof window > "u" ? rs.Desktop : Qc());
46115
46115
  return xe(() => {
46116
46116
  t(Qc());
46117
46117
  const o = () => t(Qc());
@@ -46128,19 +46128,19 @@ const Gp = () => typeof window < "u" && window.innerWidth < 640, Qc = () => {
46128
46128
  desktopDropdownClassName: a,
46129
46129
  desktopTabClassName: l
46130
46130
  }) => {
46131
- const [c, d] = I(!1), [u, h] = I(!1), [g, p] = I(!1), f = HL(), C = f === ns.Mobile || i === Xa.Tablet && f === ns.Tablet, v = s === eu.Horizontal, w = L(null), b = L(null), S = L(null), y = e.find((P) => P.id === t), x = G(
46131
+ const [c, d] = I(!1), [u, h] = I(!1), [g, p] = I(!1), f = HL(), C = f === rs.Mobile || i === Xa.Tablet && f === rs.Tablet, v = s === eu.Horizontal, w = L(null), b = L(null), S = L(null), y = e.find((D) => D.id === t), x = G(
46132
46132
  () => fe(
46133
46133
  "flex gap-2",
46134
46134
  v ? "flex-row flex-nowrap overflow-x-auto" : "flex-col flex-wrap w-full"
46135
46135
  ),
46136
46136
  [v]
46137
- ), R = D(() => {
46138
- const P = b.current;
46139
- P && p(P.scrollWidth > P.clientWidth);
46140
- }, []), F = D(() => {
46141
- const P = S.current, T = b.current;
46142
- if (!P || !T) return;
46143
- const M = P.getBoundingClientRect(), k = T.getBoundingClientRect();
46137
+ ), R = P(() => {
46138
+ const D = b.current;
46139
+ D && p(D.scrollWidth > D.clientWidth);
46140
+ }, []), F = P(() => {
46141
+ const D = S.current, T = b.current;
46142
+ if (!D || !T) return;
46143
+ const M = D.getBoundingClientRect(), k = T.getBoundingClientRect();
46144
46144
  if (M.width === 0 || k.width === 0) return;
46145
46145
  const B = NL;
46146
46146
  let O = T.scrollLeft;
@@ -46158,16 +46158,16 @@ const Gp = () => typeof window < "u" && window.innerWidth < 640, Qc = () => {
46158
46158
  left: O,
46159
46159
  behavior: "smooth"
46160
46160
  });
46161
- }, []), E = D(
46162
- (P) => {
46163
- o(P), P === t && F();
46161
+ }, []), E = P(
46162
+ (D) => {
46163
+ o(D), D === t && F();
46164
46164
  },
46165
46165
  [o, t, F]
46166
46166
  );
46167
46167
  return xe(() => {
46168
46168
  R();
46169
- const P = new ResizeObserver(() => R()), T = b.current;
46170
- return T && P.observe(T), () => P.disconnect();
46169
+ const D = new ResizeObserver(() => R()), T = b.current;
46170
+ return T && D.observe(T), () => D.disconnect();
46171
46171
  }, [e, R]), xe(() => {
46172
46172
  F();
46173
46173
  }, [t, F]), C ? /* @__PURE__ */ m(
@@ -46186,11 +46186,11 @@ const Gp = () => typeof window < "u" && window.innerWidth < 640, Qc = () => {
46186
46186
  onOpenChange: d,
46187
46187
  placement: "bottom-start",
46188
46188
  allowedPlacements: ["bottom-start", "top-start"],
46189
- renderOverlay: () => e.map((P) => /* @__PURE__ */ m(
46189
+ renderOverlay: () => e.map((D) => /* @__PURE__ */ m(
46190
46190
  ea,
46191
46191
  {
46192
- tab: P,
46193
- active: P.id === t,
46192
+ tab: D,
46193
+ active: D.id === t,
46194
46194
  onClick: (T) => {
46195
46195
  E(T), d(!1);
46196
46196
  },
@@ -46199,7 +46199,7 @@ const Gp = () => typeof window < "u" && window.innerWidth < 640, Qc = () => {
46199
46199
  r
46200
46200
  )
46201
46201
  },
46202
- P.id
46202
+ D.id
46203
46203
  )),
46204
46204
  children: /* @__PURE__ */ V("div", { className: "flex gap-2 items-center h-11 cursor-pointer", children: [
46205
46205
  /* @__PURE__ */ m(
@@ -46229,23 +46229,23 @@ const Gp = () => typeof window < "u" && window.innerWidth < 640, Qc = () => {
46229
46229
  ) : (
46230
46230
  // Desktop
46231
46231
  /* @__PURE__ */ V("div", { ref: w, className: "flex w-full items-start", children: [
46232
- /* @__PURE__ */ m("div", { ref: b, role: "tablist", className: x, children: e.map((P) => /* @__PURE__ */ m(
46232
+ /* @__PURE__ */ m("div", { ref: b, role: "tablist", className: x, children: e.map((D) => /* @__PURE__ */ m(
46233
46233
  "div",
46234
46234
  {
46235
- ref: t === P.id ? S : void 0,
46235
+ ref: t === D.id ? S : void 0,
46236
46236
  className: "w-full",
46237
46237
  children: /* @__PURE__ */ m(
46238
46238
  ea,
46239
46239
  {
46240
- tab: P,
46241
- active: t === P.id,
46240
+ tab: D,
46241
+ active: t === D.id,
46242
46242
  onClick: E,
46243
46243
  horizontal: v,
46244
46244
  className: ae("w-full", l)
46245
46245
  }
46246
46246
  )
46247
46247
  },
46248
- P.id
46248
+ D.id
46249
46249
  )) }),
46250
46250
  g && /* @__PURE__ */ m("div", { className: "flex items-center ml-2", children: /* @__PURE__ */ m(
46251
46251
  Nt,
@@ -46254,17 +46254,17 @@ const Gp = () => typeof window < "u" && window.innerWidth < 640, Qc = () => {
46254
46254
  open: u,
46255
46255
  onOpenChange: h,
46256
46256
  placement: "bottom-end",
46257
- renderOverlay: () => e.map((P) => /* @__PURE__ */ m(
46257
+ renderOverlay: () => e.map((D) => /* @__PURE__ */ m(
46258
46258
  ea,
46259
46259
  {
46260
- tab: P,
46261
- active: P.id === t,
46260
+ tab: D,
46261
+ active: D.id === t,
46262
46262
  onClick: (T) => {
46263
46263
  E(T), h(!1);
46264
46264
  },
46265
46265
  className: "w-full rounded-none h-8 items-center px-3 py-2"
46266
46266
  },
46267
- P.id
46267
+ D.id
46268
46268
  )),
46269
46269
  children: /* @__PURE__ */ m(
46270
46270
  uo,
@@ -46367,7 +46367,7 @@ const Gp = () => typeof window < "u" && window.innerWidth < 640, Qc = () => {
46367
46367
  const a = G(() => e?.length ? e : j1.toArray(i).filter(mu).map((d) => {
46368
46368
  const u = d.props, { labelClassName: h, isLast: g, separator: p, ...f } = u;
46369
46369
  return f;
46370
- }), [e, i]), l = D(
46370
+ }), [e, i]), l = P(
46371
46371
  async (d) => {
46372
46372
  const u = parseInt(d.key, 10), h = a[u];
46373
46373
  if (r && !await r()) {
@@ -46398,7 +46398,7 @@ const Gp = () => typeof window < "u" && window.innerWidth < 640, Qc = () => {
46398
46398
  label: typeof f.label == "string" ? f.label : `Item ${C + 1}`,
46399
46399
  disabled: f.disabled
46400
46400
  }));
46401
- return /* @__PURE__ */ V(qe, { children: [
46401
+ return /* @__PURE__ */ V(je, { children: [
46402
46402
  /* @__PURE__ */ Mn(
46403
46403
  ta,
46404
46404
  {
@@ -46483,10 +46483,10 @@ const Gp = () => typeof window < "u" && window.innerWidth < 640, Qc = () => {
46483
46483
  variant: s || t,
46484
46484
  appearance: e
46485
46485
  }
46486
- ), Wo = Ph(
46486
+ ), _o = Ph(
46487
46487
  $e.Primary,
46488
46488
  Oe.Solid
46489
- ), Uo = Ph(
46489
+ ), $o = Ph(
46490
46490
  $e.Neutral,
46491
46491
  Oe.Outlined
46492
46492
  ), qL = Ph(
@@ -46583,7 +46583,7 @@ const Gp = () => typeof window < "u" && window.innerWidth < 640, Qc = () => {
46583
46583
  ...c
46584
46584
  }
46585
46585
  ),
46586
- /* @__PURE__ */ m(as, { text: s }),
46586
+ /* @__PURE__ */ m(Go, { text: s }),
46587
46587
  !s && /* @__PURE__ */ m(ol, { text: a })
46588
46588
  ] });
46589
46589
  }, mw = ({
@@ -46599,7 +46599,7 @@ const Gp = () => typeof window < "u" && window.innerWidth < 640, Qc = () => {
46599
46599
  o ? "flex-row-reverse" : "flex-row",
46600
46600
  s ? "pointer-events-none" : "",
46601
46601
  s ? o ? "bg-controls-disable" : "bg-layer-4" : o ? "bg-accent-primary" : "bg-layer-4"
46602
- ), a = D(
46602
+ ), a = P(
46603
46603
  (l) => {
46604
46604
  l.stopPropagation(), i?.(!o);
46605
46605
  },
@@ -46804,7 +46804,7 @@ const e7 = "flex justify-end gap-2 px-6 py-4", t7 = "text-secondary dial-small-1
46804
46804
  }) => {
46805
46805
  const w = r ? null : /* @__PURE__ */ V("div", { className: e7, children: [
46806
46806
  /* @__PURE__ */ m(
46807
- Uo,
46807
+ $o,
46808
46808
  {
46809
46809
  label: n,
46810
46810
  onClick: () => h ? h() : d?.()
@@ -46821,7 +46821,7 @@ const e7 = "flex justify-end gap-2 px-6 py-4", t7 = "text-secondary dial-small-1
46821
46821
  onClick: () => u()
46822
46822
  }
46823
46823
  )
46824
- ] }), b = D(() => r ? /* @__PURE__ */ m("div", { className: "px-6 py-4 h-[120px]", children: /* @__PURE__ */ m(sl, { size: 50 }) }) : g ?? (t ? /* @__PURE__ */ m(
46824
+ ] }), b = P(() => r ? /* @__PURE__ */ m("div", { className: "px-6 py-4 h-[120px]", children: /* @__PURE__ */ m(sl, { size: 50 }) }) : g ?? (t ? /* @__PURE__ */ m(
46825
46825
  "div",
46826
46826
  {
46827
46827
  className: fe(t7, o),
@@ -46872,7 +46872,7 @@ const e7 = "flex justify-end gap-2 px-6 py-4", t7 = "text-secondary dial-small-1
46872
46872
  placeholder: u
46873
46873
  }) => {
46874
46874
  const h = Array.isArray(s) && s.length > 0, g = typeof s == "string" && !!s.trim(), p = h || g ? s : u ? void 0 : d, f = o ? void 0 : r;
46875
- return /* @__PURE__ */ V(qe, { children: [
46875
+ return /* @__PURE__ */ V(je, { children: [
46876
46876
  h ? /* @__PURE__ */ m("div", { className: "w-full", onClick: f, children: /* @__PURE__ */ V(
46877
46877
  "div",
46878
46878
  {
@@ -46903,7 +46903,7 @@ const e7 = "flex justify-end gap-2 px-6 py-4", t7 = "text-secondary dial-small-1
46903
46903
  ) })
46904
46904
  ]
46905
46905
  }
46906
- ) }) : /* @__PURE__ */ V(qe, { children: [
46906
+ ) }) : /* @__PURE__ */ V(je, { children: [
46907
46907
  /* @__PURE__ */ m(
46908
46908
  "button",
46909
46909
  {
@@ -46941,7 +46941,7 @@ const e7 = "flex justify-end gap-2 px-6 py-4", t7 = "text-secondary dial-small-1
46941
46941
  )
46942
46942
  }
46943
46943
  ),
46944
- /* @__PURE__ */ m(as, { text: l })
46944
+ /* @__PURE__ */ m(Go, { text: l })
46945
46945
  ] }),
46946
46946
  t && wu(e, document.body)
46947
46947
  ] });
@@ -46967,11 +46967,11 @@ const e7 = "flex justify-end gap-2 px-6 py-4", t7 = "text-secondary dial-small-1
46967
46967
  id: w,
46968
46968
  size: b = oo.Md
46969
46969
  }) => {
46970
- const [S, y] = I(!1), x = D(() => {
46970
+ const [S, y] = I(!1), x = P(() => {
46971
46971
  o || y(!0);
46972
- }, [o]), R = D(() => {
46972
+ }, [o]), R = P(() => {
46973
46973
  y(!1), c?.();
46974
- }, [c]), F = D(() => {
46974
+ }, [c]), F = P(() => {
46975
46975
  h(), R();
46976
46976
  }, [h, R]);
46977
46977
  return /* @__PURE__ */ V("div", { className: "flex flex-col gap-2", children: [
@@ -46996,14 +46996,14 @@ const e7 = "flex justify-end gap-2 px-6 py-4", t7 = "text-secondary dial-small-1
46996
46996
  size: b,
46997
46997
  footer: /* @__PURE__ */ V("div", { className: "flex flex-row items-center justify-end gap-2 px-6 py-4", children: [
46998
46998
  /* @__PURE__ */ m(
46999
- Uo,
46999
+ $o,
47000
47000
  {
47001
47001
  label: g,
47002
47002
  onClick: R
47003
47003
  }
47004
47004
  ),
47005
47005
  /* @__PURE__ */ m(
47006
- Wo,
47006
+ _o,
47007
47007
  {
47008
47008
  label: p,
47009
47009
  onClick: F,
@@ -47046,14 +47046,14 @@ const e7 = "flex justify-end gap-2 px-6 py-4", t7 = "text-secondary dial-small-1
47046
47046
  }) => {
47047
47047
  const f = i ? null : /* @__PURE__ */ V("div", { className: c7, children: [
47048
47048
  /* @__PURE__ */ m(
47049
- Uo,
47049
+ $o,
47050
47050
  {
47051
47051
  label: s,
47052
47052
  onClick: () => d ? d() : l?.()
47053
47053
  }
47054
47054
  ),
47055
47055
  /* @__PURE__ */ m(
47056
- Wo,
47056
+ _o,
47057
47057
  {
47058
47058
  className: a,
47059
47059
  label: o,
@@ -47061,7 +47061,7 @@ const e7 = "flex justify-end gap-2 px-6 py-4", t7 = "text-secondary dial-small-1
47061
47061
  onClick: () => c()
47062
47062
  }
47063
47063
  )
47064
- ] }), C = D(() => i ? /* @__PURE__ */ m("div", { className: "px-6 py-4 h-[120px]", children: /* @__PURE__ */ m(sl, { size: 50 }) }) : u ?? null, [u, i]);
47064
+ ] }), C = P(() => i ? /* @__PURE__ */ m("div", { className: "px-6 py-4 h-[120px]", children: /* @__PURE__ */ m(sl, { size: 50 }) }) : u ?? null, [u, i]);
47065
47065
  return /* @__PURE__ */ m(
47066
47066
  on,
47067
47067
  {
@@ -47144,7 +47144,7 @@ const e7 = "flex justify-end gap-2 px-6 py-4", t7 = "text-secondary dial-small-1
47144
47144
  }) => /* @__PURE__ */ V("div", { className: ae("flex flex-col gap-y-2", i), children: [
47145
47145
  e && /* @__PURE__ */ m(Yi, { ...e, htmlFor: s }),
47146
47146
  /* @__PURE__ */ m(Cw, { id: s, ...n }),
47147
- /* @__PURE__ */ m(as, { text: t }),
47147
+ /* @__PURE__ */ m(Go, { text: t }),
47148
47148
  !t && /* @__PURE__ */ m(ol, { text: o })
47149
47149
  ] }), Cw = ({
47150
47150
  invalid: e,
@@ -47270,7 +47270,7 @@ const e7 = "flex justify-end gap-2 px-6 py-4", t7 = "text-secondary dial-small-1
47270
47270
  "aria-label": "show"
47271
47271
  }
47272
47272
  ), WO = ({ ...e }) => {
47273
- const [t, o] = I(!1), s = D((i) => {
47273
+ const [t, o] = I(!1), s = P((i) => {
47274
47274
  o(i);
47275
47275
  }, []);
47276
47276
  return /* @__PURE__ */ m(
@@ -47307,12 +47307,12 @@ const e7 = "flex justify-end gap-2 px-6 py-4", t7 = "text-secondary dial-small-1
47307
47307
  xe(() => {
47308
47308
  r(o || "");
47309
47309
  }, [o]);
47310
- const a = D(
47310
+ const a = P(
47311
47311
  (u) => {
47312
47312
  r(u || ""), s?.(u || "");
47313
47313
  },
47314
47314
  [s]
47315
- ), l = v7[e], c = D(() => {
47315
+ ), l = v7[e], c = P(() => {
47316
47316
  a("");
47317
47317
  }, [a]), d = G(() => {
47318
47318
  if (n)
@@ -47356,9 +47356,9 @@ const e7 = "flex justify-end gap-2 px-6 py-4", t7 = "text-secondary dial-small-1
47356
47356
  collapseTagOverflow: c = !1,
47357
47357
  onChange: d
47358
47358
  }) => {
47359
- const u = L(null), h = L([]), g = L(null), [p, f] = I(e), [C, v] = I(""), [w, b] = I(!1), [S, y] = I(e.length), x = D((k) => (B) => {
47359
+ const u = L(null), h = L([]), g = L(null), [p, f] = I(e), [C, v] = I(""), [w, b] = I(!1), [S, y] = I(e.length), x = P((k) => (B) => {
47360
47360
  h.current[k] = B;
47361
- }, []), R = D(() => {
47361
+ }, []), R = P(() => {
47362
47362
  if (!c) return;
47363
47363
  const k = u.current;
47364
47364
  if (!k) return;
@@ -47388,12 +47388,12 @@ const e7 = "flex justify-end gap-2 px-6 py-4", t7 = "text-secondary dial-small-1
47388
47388
  }
47389
47389
  }, E = (k) => {
47390
47390
  (k.key === "," || k.key === "Enter") && (k.preventDefault(), F(C), v(""));
47391
- }, P = () => {
47391
+ }, D = () => {
47392
47392
  C.trim() && (F(C), v(""));
47393
47393
  }, T = (k) => {
47394
47394
  const B = p.filter((O, $) => $ !== k);
47395
47395
  f(B), d?.(B);
47396
- }, M = () => r ? /* @__PURE__ */ m(as, { text: r }) : n ? /* @__PURE__ */ m(ol, { text: n }) : null;
47396
+ }, M = () => r ? /* @__PURE__ */ m(Go, { text: r }) : n ? /* @__PURE__ */ m(ol, { text: n }) : null;
47397
47397
  return xe(() => {
47398
47398
  if (c) return;
47399
47399
  const k = new ResizeObserver(() => {
@@ -47462,7 +47462,7 @@ const e7 = "flex justify-end gap-2 px-6 py-4", t7 = "text-secondary dial-small-1
47462
47462
  value: C,
47463
47463
  onChange: (k) => v(k.target.value),
47464
47464
  onKeyDown: E,
47465
- onBlur: P,
47465
+ onBlur: D,
47466
47466
  className: fe(
47467
47467
  "dial-input outline-none !border-none w-full flex-1 !p-1 !h-auto",
47468
47468
  c ? "min-w-0" : "min-w-[100px]"
@@ -47548,21 +47548,21 @@ const E7 = ({
47548
47548
  footer: R,
47549
47549
  onClose: F,
47550
47550
  onChange: E,
47551
- inlineSearch: P = !1,
47551
+ inlineSearch: D = !1,
47552
47552
  dismissRef: T,
47553
47553
  onFooterClick: M,
47554
47554
  open: k,
47555
47555
  onOpenChange: B,
47556
47556
  onInlineQueryChange: O
47557
47557
  }) => {
47558
- const $ = vu(), [K, N] = I(!1), pe = k !== void 0, z = pe ? !!k : K, ne = D(
47558
+ const $ = vu(), [K, N] = I(!1), pe = k !== void 0, z = pe ? !!k : K, ne = P(
47559
47559
  (_) => {
47560
47560
  pe || N(_), B?.(_);
47561
47561
  },
47562
47562
  [pe, B]
47563
47563
  ), [oe, se] = I(
47564
- P && l || ""
47565
- ), we = L(null), Pe = D(
47564
+ D && l || ""
47565
+ ), we = L(null), Pe = P(
47566
47566
  (_) => {
47567
47567
  _ !== oe && (se(_ || ""), O?.(_ || ""));
47568
47568
  },
@@ -47572,23 +47572,23 @@ const E7 = ({
47572
47572
  return _ ? e.filter((Ie) => Ie.label.toLowerCase().includes(_)) : e;
47573
47573
  }, [e, oe]);
47574
47574
  xe(() => {
47575
- !z && !P && Pe("");
47576
- }, [P, z, Pe]), xe(() => {
47577
- P && !z && l && Pe(l || "");
47578
- }, [l, P, z, Pe]);
47579
- const re = D(
47575
+ !z && !D && Pe("");
47576
+ }, [D, z, Pe]), xe(() => {
47577
+ D && !z && l && Pe(l || "");
47578
+ }, [l, D, z, Pe]);
47579
+ const re = P(
47580
47580
  (_) => {
47581
47581
  ce || Me(_), E?.(_);
47582
47582
  },
47583
47583
  [ce, E]
47584
- ), W = D(
47584
+ ), W = P(
47585
47585
  (_) => {
47586
47586
  if (t) {
47587
47587
  const Ie = new Set(Y);
47588
47588
  Ie.has(_) ? Ie.delete(_) : Ie.add(_), re(Array.from(Ie));
47589
47589
  return;
47590
47590
  }
47591
- if (re(_), P) {
47591
+ if (re(_), D) {
47592
47592
  const Ie = e.find((Ht) => Ht.value === _);
47593
47593
  Ie && (Pe(Ie.label), O?.(Ie.label));
47594
47594
  }
@@ -47597,14 +47597,14 @@ const E7 = ({
47597
47597
  [
47598
47598
  t,
47599
47599
  re,
47600
- P,
47600
+ D,
47601
47601
  ne,
47602
47602
  Y,
47603
47603
  e,
47604
47604
  Pe,
47605
47605
  O
47606
47606
  ]
47607
- ), ve = D(
47607
+ ), ve = P(
47608
47608
  (_, Ie) => {
47609
47609
  if (_.stopPropagation(), !t) {
47610
47610
  re("");
@@ -47621,7 +47621,7 @@ const E7 = ({
47621
47621
  () => he.filter((_) => Y.includes(_.value)).length,
47622
47622
  [he, Y]
47623
47623
  ), Se = (_) => {
47624
- P && !t && !_ && W(oe), ne(_);
47624
+ D && !t && !_ && W(oe), ne(_);
47625
47625
  }, Te = he.length > 0 && de === he.length, Ge = de > 0 && !Te, ye = () => {
47626
47626
  if (!(!t || he.length === 0))
47627
47627
  if (Te) {
@@ -47633,25 +47633,25 @@ const E7 = ({
47633
47633
  }
47634
47634
  }, ke = Y.length > 0;
47635
47635
  xe(() => {
47636
- z && P && !t && !w && requestAnimationFrame(() => {
47636
+ z && D && !t && !w && requestAnimationFrame(() => {
47637
47637
  const _ = we.current;
47638
47638
  if (!_) return;
47639
47639
  _.focus();
47640
47640
  const Ie = _.value?.length ?? 0;
47641
47641
  _.setSelectionRange?.(Ie, Ie);
47642
47642
  });
47643
- }, [z, P, t, w]);
47643
+ }, [z, D, t, w]);
47644
47644
  const Ke = !t && ke ? Y[0] : void 0, _e = G(
47645
47645
  () => Ke ? e.find((_) => _.value === Ke) : void 0,
47646
47646
  [e, Ke]
47647
- ), je = D(() => !t || Y.length === 0 ? null : /* @__PURE__ */ m(
47647
+ ), qe = P(() => !t || Y.length === 0 ? null : /* @__PURE__ */ m(
47648
47648
  ww,
47649
47649
  {
47650
47650
  options: e,
47651
47651
  selectedValues: Y,
47652
47652
  handleRemoveTag: ve
47653
47653
  }
47654
- ), [t, e, Y, ve]), $t = D(() => t ? ke ? je() : /* @__PURE__ */ m("span", { className: "text-secondary truncate", children: c }) : _e ? /* @__PURE__ */ V(qe, { children: [
47654
+ ), [t, e, Y, ve]), $t = P(() => t ? ke ? qe() : /* @__PURE__ */ m("span", { className: "text-secondary truncate", children: c }) : _e ? /* @__PURE__ */ V(je, { children: [
47655
47655
  _e.icon && /* @__PURE__ */ m(st, { icon: _e.icon }),
47656
47656
  /* @__PURE__ */ m(
47657
47657
  St,
@@ -47667,7 +47667,7 @@ const E7 = ({
47667
47667
  a,
47668
47668
  s,
47669
47669
  c,
47670
- je,
47670
+ qe,
47671
47671
  _e
47672
47672
  ]);
47673
47673
  ar(T, () => ({
@@ -47675,13 +47675,13 @@ const E7 = ({
47675
47675
  ne(!1);
47676
47676
  }
47677
47677
  }));
47678
- const jt = D(() => {
47678
+ const jt = P(() => {
47679
47679
  Pe(
47680
47680
  Y.length === 1 ? _e?.label ?? oe : ""
47681
47681
  );
47682
- }, [oe, Y.length, Pe, _e?.label]), po = D(() => {
47683
- w || (ne(!z), P && !t && (jt(), we.current?.focus()));
47684
- }, [w, P, z, t, jt, ne]);
47682
+ }, [oe, Y.length, Pe, _e?.label]), po = P(() => {
47683
+ w || (ne(!z), D && !t && (jt(), we.current?.focus()));
47684
+ }, [w, D, z, t, jt, ne]);
47685
47685
  return /* @__PURE__ */ m(
47686
47686
  Nt,
47687
47687
  {
@@ -47702,7 +47702,7 @@ const E7 = ({
47702
47702
  "aria-multiselectable": t || void 0,
47703
47703
  className: S7,
47704
47704
  children: [
47705
- x && /* @__PURE__ */ m(qe, { children: typeof x == "function" ? x() : x }),
47705
+ x && /* @__PURE__ */ m(je, { children: typeof x == "function" ? x() : x }),
47706
47706
  (d || y) && e.length > 8 && /* @__PURE__ */ V("div", { className: "flex items-center gap-2 px-2 pt-2", children: [
47707
47707
  d && /* @__PURE__ */ m(
47708
47708
  vw,
@@ -47742,9 +47742,9 @@ const E7 = ({
47742
47742
  {
47743
47743
  className: fe(
47744
47744
  "overflow-y-auto max-h-[352px]",
47745
- P && Z.length === 0 ? "" : "py-1"
47745
+ D && Z.length === 0 ? "" : "py-1"
47746
47746
  ),
47747
- children: Z.length === 0 ? !P && /* @__PURE__ */ m("div", { className: "px-2 py-3", children: /* @__PURE__ */ m(
47747
+ children: Z.length === 0 ? !D && /* @__PURE__ */ m("div", { className: "px-2 py-3", children: /* @__PURE__ */ m(
47748
47748
  il,
47749
47749
  {
47750
47750
  icon: v ?? /* @__PURE__ */ m(
@@ -47845,7 +47845,7 @@ const E7 = ({
47845
47845
  b
47846
47846
  ),
47847
47847
  onMouseDown: (_) => {
47848
- w || P && !t && (jt(), _.preventDefault());
47848
+ w || D && !t && (jt(), _.preventDefault());
47849
47849
  },
47850
47850
  onClick: () => {
47851
47851
  po();
@@ -47854,7 +47854,7 @@ const E7 = ({
47854
47854
  (_.key === " " || _.code === "Space") && (_.preventDefault(), po());
47855
47855
  },
47856
47856
  children: [
47857
- P && !t ? /* @__PURE__ */ m("div", { className: "flex min-w-0 items-center gap-2 text-primary flex-1", children: /* @__PURE__ */ m(
47857
+ D && !t ? /* @__PURE__ */ m("div", { className: "flex min-w-0 items-center gap-2 text-primary flex-1", children: /* @__PURE__ */ m(
47858
47858
  "input",
47859
47859
  {
47860
47860
  id: `inline-${o || $}`,
@@ -47879,7 +47879,7 @@ const E7 = ({
47879
47879
  autoComplete: "off"
47880
47880
  }
47881
47881
  ) }) : /* @__PURE__ */ m("div", { className: "flex w-full min-w-0 items-center gap-2 text-primary", children: $t() }),
47882
- !P && /* @__PURE__ */ m(
47882
+ !D && /* @__PURE__ */ m(
47883
47883
  st,
47884
47884
  {
47885
47885
  icon: F7,
@@ -47905,7 +47905,7 @@ const E7 = ({
47905
47905
  defaultEmptyText: d,
47906
47906
  ...u
47907
47907
  }) => {
47908
- const h = D(() => {
47908
+ const h = P(() => {
47909
47909
  if (!c || Array.isArray(c) && c.length === 0)
47910
47910
  return d ?? "None";
47911
47911
  if (Array.isArray(c))
@@ -48524,7 +48524,7 @@ const V7 = function(t, o, s) {
48524
48524
  getIsFileFormatError: d,
48525
48525
  getIsFileSizeError: u
48526
48526
  }) => {
48527
- const h = L(null), g = L(null), [p, f] = I([]), [C, v] = I(!1), [w, b] = I(!1), S = D(
48527
+ const h = L(null), g = L(null), [p, f] = I([]), [C, v] = I(!1), [w, b] = I(!1), S = P(
48528
48528
  ($) => {
48529
48529
  const K = $.target.files;
48530
48530
  if (K && K.length > 0) {
@@ -48533,12 +48533,12 @@ const V7 = function(t, o, s) {
48533
48533
  }
48534
48534
  },
48535
48535
  [d, u, e]
48536
- ), y = D(
48536
+ ), y = P(
48537
48537
  ($) => n && $?.length > n,
48538
48538
  [n]
48539
48539
  ), x = G(() => C || w || y(p), [C, w, y, p]), R = () => {
48540
48540
  f([]), v(!1), b(!1);
48541
- }, F = G(() => C ? /* @__PURE__ */ m(as, { text: a }) : w ? /* @__PURE__ */ m(as, { text: c }) : y(p) ? /* @__PURE__ */ m(as, { text: l }) : null, [
48541
+ }, F = G(() => C ? /* @__PURE__ */ m(Go, { text: a }) : w ? /* @__PURE__ */ m(Go, { text: c }) : y(p) ? /* @__PURE__ */ m(Go, { text: l }) : null, [
48542
48542
  l,
48543
48543
  a,
48544
48544
  c,
@@ -48550,7 +48550,7 @@ const V7 = function(t, o, s) {
48550
48550
  xe(() => {
48551
48551
  R();
48552
48552
  }, [i]);
48553
- const [{ isOver: E, canDrop: P }, T] = Wf(
48553
+ const [{ isOver: E, canDrop: D }, T] = Wf(
48554
48554
  () => ({
48555
48555
  accept: [Th],
48556
48556
  drop($) {
@@ -48573,11 +48573,11 @@ const V7 = function(t, o, s) {
48573
48573
  $.target === $.currentTarget && R();
48574
48574
  }, O = fe(
48575
48575
  "border border-dashed rounded w-full cursor-pointer relative h-full hover:border-hover",
48576
- !P && !x && "border-primary",
48577
- P && (E ? "border-accent-primary" : "border-hover"),
48576
+ !D && !x && "border-primary",
48577
+ D && (E ? "border-accent-primary" : "border-hover"),
48578
48578
  x && "border-error"
48579
48579
  );
48580
- return T(h), /* @__PURE__ */ V(qe, { children: [
48580
+ return T(h), /* @__PURE__ */ V(je, { children: [
48581
48581
  /* @__PURE__ */ V(
48582
48582
  "div",
48583
48583
  {
@@ -48597,7 +48597,7 @@ const V7 = function(t, o, s) {
48597
48597
  t && /* @__PURE__ */ m("p", { className: "mb-1", children: t }),
48598
48598
  o && /* @__PURE__ */ m("p", { className: "mb-0.5", children: o }),
48599
48599
  s && /* @__PURE__ */ m(
48600
- Wo,
48600
+ _o,
48601
48601
  {
48602
48602
  appearance: Oe.Ghost,
48603
48603
  label: s,
@@ -48622,7 +48622,7 @@ const V7 = function(t, o, s) {
48622
48622
  ]
48623
48623
  }
48624
48624
  ),
48625
- /* @__PURE__ */ m(qe, { children: F })
48625
+ /* @__PURE__ */ m(je, { children: F })
48626
48626
  ] });
48627
48627
  }, W7 = ({
48628
48628
  iconBefore: e,
@@ -48652,30 +48652,35 @@ const V7 = function(t, o, s) {
48652
48652
  onChange: i,
48653
48653
  isInvalid: n,
48654
48654
  errorText: r,
48655
- removeButtonAriaLabel: a
48656
- } = e, l = (u, h) => {
48657
- u.stopPropagation(), i(t?.filter((g) => g.name !== h) || []);
48658
- }, c = (u) => /* @__PURE__ */ m(
48655
+ removeButtonAriaLabel: a,
48656
+ getIsMultiFilesSizeError: l,
48657
+ multiFilesSizeError: c
48658
+ } = e, d = (g, p) => {
48659
+ g.stopPropagation(), i(t?.filter((f) => f.name !== p) || []);
48660
+ }, u = (g) => /* @__PURE__ */ m(
48659
48661
  ZL,
48660
48662
  {
48661
48663
  "aria-label": a,
48662
- onClick: (h) => l(h, u)
48664
+ onClick: (p) => d(p, g)
48663
48665
  }
48664
- ), d = (u) => {
48665
- i(u);
48666
+ ), h = (g) => {
48667
+ i(g);
48666
48668
  };
48667
- return !t || t.length === 0 ? /* @__PURE__ */ m(vS, { backend: V7, children: /* @__PURE__ */ m(z7, { ...e, onChange: d }) }) : /* @__PURE__ */ m("div", { className: "flex-1 min-h-0 border border-solid border-primary rounded p-2 overflow-y-auto", children: t && t.length > 0 && /* @__PURE__ */ m("div", { className: "flex flex-col gap-y-1", children: t.map((u, h) => /* @__PURE__ */ m(
48668
- W7,
48669
- {
48670
- id: u.name,
48671
- value: u.name,
48672
- iconAfter: c(u.name),
48673
- iconBefore: o || s?.(u.name),
48674
- invalid: n?.(u),
48675
- error: r
48676
- },
48677
- u.name + h
48678
- )) }) });
48669
+ return !t || t.length === 0 ? /* @__PURE__ */ m(vS, { backend: V7, children: /* @__PURE__ */ m(z7, { ...e, onChange: h }) }) : /* @__PURE__ */ V(je, { children: [
48670
+ /* @__PURE__ */ m("div", { className: "flex-1 min-h-0 border border-solid border-primary rounded p-2 overflow-y-auto", children: t && t.length > 0 && /* @__PURE__ */ m("div", { className: "flex flex-col gap-y-1", children: t.map((g, p) => /* @__PURE__ */ m(
48671
+ W7,
48672
+ {
48673
+ id: g.name,
48674
+ value: g.name,
48675
+ iconAfter: u(g.name),
48676
+ iconBefore: o || s?.(g.name),
48677
+ invalid: n?.(g),
48678
+ error: r
48679
+ },
48680
+ g.name + p
48681
+ )) }) }),
48682
+ l?.(t) && /* @__PURE__ */ m(Go, { text: c })
48683
+ ] });
48679
48684
  }, $O = ({
48680
48685
  onChange: e,
48681
48686
  fieldTitle: t,
@@ -48683,72 +48688,82 @@ const V7 = function(t, o, s) {
48683
48688
  files: s,
48684
48689
  maxFilesCount: i,
48685
48690
  maxFileSize: n,
48686
- fileFormatError: r,
48687
- fileCountError: a,
48688
- fileSizeError: l,
48689
- multiple: c = !0,
48690
- acceptTypes: d,
48691
- deleteAllButtonLabel: u,
48692
- addButtonLabel: h,
48693
- additionalActionButtons: g,
48694
- ...p
48691
+ maxMultiFilesSize: r,
48692
+ fileFormatError: a,
48693
+ fileCountError: l,
48694
+ fileSizeError: c,
48695
+ multiFilesSizeError: d,
48696
+ multiple: u = !0,
48697
+ acceptTypes: h,
48698
+ deleteAllButtonLabel: g,
48699
+ addButtonLabel: p,
48700
+ additionalActionButtons: f,
48701
+ ...C
48695
48702
  }) => {
48696
- const f = L(null), C = () => f.current?.click(), v = () => {
48703
+ const v = L(null), w = () => v.current?.click(), b = () => {
48697
48704
  e([]);
48698
- }, w = D(
48699
- (y) => y?.some(
48700
- (x) => !(d === "/" || d?.toLowerCase()?.includes(x?.type?.toLowerCase()))
48705
+ }, S = P(
48706
+ (F) => F?.some(
48707
+ (E) => !(h === "/" || h?.toLowerCase()?.includes(E?.type?.toLowerCase()))
48701
48708
  ),
48702
- [d]
48703
- ), b = D(
48704
- (y) => {
48709
+ [h]
48710
+ ), y = P(
48711
+ (F) => {
48705
48712
  if (!n)
48706
48713
  return !1;
48707
- const x = n * (1024 * 1024);
48708
- return y?.some((R) => {
48709
- const F = R.size;
48710
- return !!F && F > x;
48714
+ const E = n * (1024 * 1024);
48715
+ return F?.some((D) => {
48716
+ const T = D.size;
48717
+ return !!T && T > E;
48711
48718
  });
48712
48719
  },
48713
48720
  [n]
48714
- ), S = D(
48715
- (y) => {
48716
- const x = y.target.files;
48717
- if (x && x.length > 0) {
48718
- const R = Array.from(x), F = w(R), E = b(R);
48719
- !F && !E && e([...s || [], ...R]);
48721
+ ), x = P(
48722
+ (F) => {
48723
+ if (!r || !u)
48724
+ return !1;
48725
+ const E = r * 1024 * 1024;
48726
+ return F.reduce((T, M) => T + M.size, 0) > E;
48727
+ },
48728
+ [r, u]
48729
+ ), R = P(
48730
+ (F) => {
48731
+ const E = F.target.files;
48732
+ if (E && E.length > 0) {
48733
+ const D = Array.from(E), T = S(D), M = y(D);
48734
+ !T && !M && e([...s || [], ...D]);
48720
48735
  }
48721
48736
  },
48722
- [w, b, e, s]
48737
+ [S, y, e, s]
48723
48738
  );
48724
48739
  return /* @__PURE__ */ V("div", { className: "h-full flex flex-col", children: [
48725
48740
  /* @__PURE__ */ V("div", { className: "flex justify-between items-center pb-1 min-h-[42px]", children: [
48726
48741
  /* @__PURE__ */ m(
48727
48742
  Yi,
48728
48743
  {
48729
- label: `${t}: ${c ? s?.length || 0 : ""}`,
48744
+ label: `${t}: ${u ? s?.length || 0 : ""}`,
48730
48745
  htmlFor: o
48731
48746
  }
48732
48747
  ),
48733
- c && !!s?.length && /* @__PURE__ */ V("div", { className: "flex flex-row items-center gap-x-2", children: [
48748
+ u && !!s?.length && /* @__PURE__ */ V("div", { className: "flex flex-row items-center gap-x-2", children: [
48734
48749
  /* @__PURE__ */ m(
48735
- Uo,
48750
+ $o,
48736
48751
  {
48737
- label: u,
48752
+ label: g,
48738
48753
  iconBefore: /* @__PURE__ */ m(Hi, { ...ee }),
48739
- onClick: v
48754
+ onClick: b
48740
48755
  }
48741
48756
  ),
48742
48757
  (i ? i > s?.length : !0) && /* @__PURE__ */ m(
48743
- Wo,
48758
+ _o,
48744
48759
  {
48745
48760
  appearance: Oe.Ghost,
48746
48761
  iconBefore: /* @__PURE__ */ m(af, { ...ee }),
48747
- label: h,
48748
- onClick: C
48762
+ label: p,
48763
+ onClick: w
48749
48764
  }
48750
48765
  ),
48751
- g
48766
+ f
48752
48767
  ] })
48753
48768
  ] }),
48754
48769
  s && s.length > 0 && /* @__PURE__ */ m(
@@ -48756,11 +48771,11 @@ const V7 = function(t, o, s) {
48756
48771
  {
48757
48772
  id: "file",
48758
48773
  type: "file",
48759
- multiple: c,
48760
- ref: f,
48774
+ multiple: u,
48775
+ ref: v,
48761
48776
  hidden: !0,
48762
- accept: d,
48763
- onChange: S
48777
+ accept: h,
48778
+ onChange: R
48764
48779
  }
48765
48780
  ),
48766
48781
  /* @__PURE__ */ m(
@@ -48768,15 +48783,17 @@ const V7 = function(t, o, s) {
48768
48783
  {
48769
48784
  files: s,
48770
48785
  onChange: e,
48771
- acceptTypes: d,
48786
+ acceptTypes: h,
48772
48787
  maxFilesCount: i,
48773
- multiple: c,
48774
- fileFormatError: r,
48775
- fileCountError: a,
48776
- fileSizeError: l,
48777
- getIsFileFormatError: w,
48778
- getIsFileSizeError: b,
48779
- ...p
48788
+ multiple: u,
48789
+ fileFormatError: a,
48790
+ fileCountError: l,
48791
+ fileSizeError: c,
48792
+ multiFilesSizeError: d,
48793
+ getIsFileFormatError: S,
48794
+ getIsFileSizeError: y,
48795
+ getIsMultiFilesSizeError: x,
48796
+ ...C
48780
48797
  }
48781
48798
  )
48782
48799
  ] });
@@ -48807,7 +48824,7 @@ const V7 = function(t, o, s) {
48807
48824
  ) });
48808
48825
  };
48809
48826
  var kn = /* @__PURE__ */ ((e) => (e.MyFiles = "my_files", e.Shared = "shared", e.Organization = "organization", e))(kn || {}), Q = /* @__PURE__ */ ((e) => (e.AddSibling = "addSibling", e.AddChild = "addChild", e.Duplicate = "duplicate", e.Copy = "copy", e.Move = "move", e.Download = "download", e.Delete = "delete", e.Rename = "rename", e.Info = "info", e.Unshare = "unshare", e.RemoveAccess = "removeAccess", e.ManagePermissions = "managePermissions", e.Preview = "preview", e))(Q || {}), ct = /* @__PURE__ */ ((e) => (e.Replace = "replace", e.Duplicate = "duplicate", e.Cancel = "cancel", e))(ct || {}), Vt = /* @__PURE__ */ ((e) => (e.ReplaceAll = "replaceAll", e.DuplicateAll = "duplicateAll", e.DecideForEach = "decideForEach", e))(Vt || {}), dt = /* @__PURE__ */ ((e) => (e.Copy = "copy", e.Move = "move", e))(dt || {}), Oi = /* @__PURE__ */ ((e) => (e.Tree = "tree", e.Grid = "grid", e))(Oi || {}), pt = /* @__PURE__ */ ((e) => (e.Name = "name", e.UpdatedAt = "updatedAt", e.Size = "size", e.Author = "author", e.Owner = "owner", e.Path = "path", e.Actions = "__actions", e.Version = "version", e))(pt || {});
48810
- const j7 = "w-full h-full grid grid-rows-[auto_1fr] gap-5 p-6 overflow-hidden min-w-0 bg-layer-1", qp = "w-full text-secondary flex items-center gap-2", q7 = "flex min-h-0 min-w-0 h-full gap-4 overflow-hidden", K7 = "flex flex-col flex-1 min-h-0 min-w-0 h-full gap-4", Y7 = "h-full rounded bg-layer-3 text-secondary min-w-0", Z7 = "flex-1 w-full rounded text-secondary overflow-auto min-h-0 min-w-0", X7 = "opacity-0 pointer-events-none group-hover/grid-row:opacity-100 group-hover/grid-row:pointer-events-auto", Q7 = 280, J7 = "Files", rs = 20, e9 = "Files", id = ".dial_folder", t9 = 280, o9 = 460, nd = 44, s9 = 56, i9 = 800, n9 = [
48827
+ const j7 = "w-full h-full grid grid-rows-[auto_1fr] gap-5 p-6 overflow-hidden min-w-0 bg-layer-1", qp = "w-full text-secondary flex items-center gap-2", q7 = "flex min-h-0 min-w-0 h-full gap-4 overflow-hidden", K7 = "flex flex-col flex-1 min-h-0 min-w-0 h-full gap-4", Y7 = "h-full rounded bg-layer-3 text-secondary min-w-0", Z7 = "flex-1 w-full rounded text-secondary overflow-auto min-h-0 min-w-0", X7 = "opacity-0 pointer-events-none group-hover/grid-row:opacity-100 group-hover/grid-row:pointer-events-auto", Q7 = 280, J7 = "Files", as = 20, e9 = "Files", id = ".dial_folder", t9 = 280, o9 = 460, nd = 44, s9 = 56, i9 = 800, n9 = [
48811
48828
  pt.Name,
48812
48829
  pt.UpdatedAt,
48813
48830
  pt.Size,
@@ -49030,9 +49047,9 @@ function g9({
49030
49047
  onSave: i,
49031
49048
  onCancel: n
49032
49049
  }) {
49033
- const [r, a] = I(e), [l, c] = I(!1), [d, u] = I(""), h = L(null), g = D((w = !1, b = "") => {
49050
+ const [r, a] = I(e), [l, c] = I(!1), [d, u] = I(""), h = L(null), g = P((w = !1, b = "") => {
49034
49051
  c(w), u(b);
49035
- }, []), p = D(
49052
+ }, []), p = P(
49036
49053
  (w) => {
49037
49054
  if (!s)
49038
49055
  return g(), !0;
@@ -49040,15 +49057,15 @@ function g9({
49040
49057
  return b ? b.startsWith(`${Oo.Warning}__`) ? (g(!1, b), !0) : (g(!0, b), !1) : (g(), !0);
49041
49058
  },
49042
49059
  [s, g]
49043
- ), f = D(
49060
+ ), f = P(
49044
49061
  (w) => {
49045
49062
  const b = w ?? "";
49046
49063
  a(b), p(b);
49047
49064
  },
49048
49065
  [p]
49049
- ), C = D(() => {
49066
+ ), C = P(() => {
49050
49067
  p(r) ? i?.(r) : h.current?.focus();
49051
- }, [p, i, r]), v = D(() => {
49068
+ }, [p, i, r]), v = P(() => {
49052
49069
  o && a(e), g(), n?.();
49053
49070
  }, [e, n, o, g]);
49054
49071
  return xe(() => {
@@ -49167,26 +49184,26 @@ const Qa = ({
49167
49184
  xe(() => {
49168
49185
  s && e?.expandedPaths && o(new Set(e.expandedPaths));
49169
49186
  }, [s, e?.expandedPaths]);
49170
- const n = D(
49187
+ const n = P(
49171
49188
  (d) => {
49172
49189
  s ? e?.onExpandedPathsChange?.(d) : o(d);
49173
49190
  },
49174
49191
  [s, e]
49175
- ), r = D(
49192
+ ), r = P(
49176
49193
  (d) => {
49177
49194
  const u = new Set(i);
49178
49195
  u.has(d) ? u.delete(d) : u.add(d), n(u);
49179
49196
  },
49180
49197
  [i, n]
49181
- ), a = D(() => {
49198
+ ), a = P(() => {
49182
49199
  n(/* @__PURE__ */ new Set());
49183
- }, [n]), l = D(
49200
+ }, [n]), l = P(
49184
49201
  (d) => {
49185
49202
  const u = new Set(i);
49186
49203
  u.add(d), n(u);
49187
49204
  },
49188
49205
  [i, n]
49189
- ), c = D(
49206
+ ), c = P(
49190
49207
  (d) => {
49191
49208
  const u = new Set(i);
49192
49209
  u.delete(d), n(u);
@@ -49229,9 +49246,9 @@ const Qa = ({
49229
49246
  const { expandedPaths: x, togglePath: R } = Tw({
49230
49247
  expandedPaths: o ?? /* @__PURE__ */ new Set(),
49231
49248
  onExpandedPathsChange: b
49232
- }), F = (P) => {
49233
- p?.(P), R(P.path);
49234
- }, E = (P, T) => P.map((M) => {
49249
+ }), F = (D) => {
49250
+ p?.(D), R(D.path);
49251
+ }, E = (D, T) => D.map((M) => {
49235
49252
  const { path: k, nodeType: B, name: O, items: $ } = M, K = B === Ee.FOLDER;
49236
49253
  if (!d && Dw(M)) return null;
49237
49254
  if (!K && !t) return;
@@ -49270,7 +49287,7 @@ const Qa = ({
49270
49287
  {
49271
49288
  className: "relative flex flex-row truncate items-center w-fit h-6 gap-x-1 pl-1",
49272
49289
  onClick: () => !oe && F(M),
49273
- children: /* @__PURE__ */ V(qe, { children: [
49290
+ children: /* @__PURE__ */ V(je, { children: [
49274
49291
  K && /* @__PURE__ */ m(
49275
49292
  I1,
49276
49293
  {
@@ -49294,7 +49311,7 @@ const Qa = ({
49294
49311
  "group-hover/item:bg-accent-primary-alpha",
49295
49312
  z && "bg-accent-primary-alpha"
49296
49313
  ),
49297
- iconSize: rs,
49314
+ iconSize: as,
49298
49315
  forbiddenSymbolsRegExp: S,
49299
49316
  forbiddenSymbolsTooltip: le,
49300
49317
  ...!Pe && {
@@ -49371,7 +49388,7 @@ const Qa = ({
49371
49388
  const b = G(() => {
49372
49389
  if (!s) return;
49373
49390
  let E = Yp(s);
49374
- const P = [...E];
49391
+ const D = [...E];
49375
49392
  let T = 0;
49376
49393
  if (a) {
49377
49394
  const k = Yp(a);
@@ -49387,7 +49404,7 @@ const Qa = ({
49387
49404
  }
49388
49405
  if (!E.length) return [{ label: "/" }];
49389
49406
  const M = E.map((k, B) => {
49390
- const O = B < E.length - T ? B : B + T, $ = P.slice(0, O + 1), K = typeof i == "function" ? i($, O) : void 0;
49407
+ const O = B < E.length - T ? B : B + T, $ = D.slice(0, O + 1), K = typeof i == "function" ? i($, O) : void 0;
49391
49408
  return {
49392
49409
  label: k,
49393
49410
  href: K,
@@ -49422,16 +49439,16 @@ const Qa = ({
49422
49439
  r,
49423
49440
  i,
49424
49441
  o
49425
- ]), [S, y] = I(!1), x = D(() => {
49442
+ ]), [S, y] = I(!1), x = P(() => {
49426
49443
  if (w && !S) {
49427
49444
  y(!0);
49428
49445
  const E = document.getElementById(h);
49429
49446
  E && E.focus();
49430
49447
  }
49431
- }, [h, S, w]), R = D(() => {
49448
+ }, [h, S, w]), R = P(() => {
49432
49449
  (!u || String(u).trim() === "") && f?.("");
49433
- }, [u, f]), F = D(() => w && S ? /* @__PURE__ */ m(
49434
- Uo,
49450
+ }, [u, f]), F = P(() => w && S ? /* @__PURE__ */ m(
49451
+ $o,
49435
49452
  {
49436
49453
  className: "!p-[9px]",
49437
49454
  iconBefore: /* @__PURE__ */ m(A1, { ...ee }),
@@ -49543,8 +49560,8 @@ const Qa = ({
49543
49560
  smallScreenContainerClassName: "w-fit bg-transparent h-[38px] overflow-hidden",
49544
49561
  smallScreenDropdownItemClassName: "px-3 h-[38px]"
49545
49562
  }
49546
- ) : null, w = () => /* @__PURE__ */ V(qe, { children: [
49547
- g && /* @__PURE__ */ V(qe, { children: [
49563
+ ) : null, w = () => /* @__PURE__ */ V(je, { children: [
49564
+ g && /* @__PURE__ */ V(je, { children: [
49548
49565
  /* @__PURE__ */ m(
49549
49566
  mw,
49550
49567
  {
@@ -49571,7 +49588,7 @@ const Qa = ({
49571
49588
  )
49572
49589
  }
49573
49590
  )
49574
- ] }), b = () => /* @__PURE__ */ V(qe, { children: [
49591
+ ] }), b = () => /* @__PURE__ */ V(je, { children: [
49575
49592
  /* @__PURE__ */ m(
49576
49593
  Nt,
49577
49594
  {
@@ -49635,16 +49652,16 @@ function y9({
49635
49652
  const C = () => {
49636
49653
  f && cancelAnimationFrame(f), f = requestAnimationFrame(() => {
49637
49654
  const w = r.current, b = l.current?.offsetWidth ?? 0, S = c.current?.offsetWidth ?? 0, y = b + S, R = w.getBoundingClientRect().width - y - o - s * 2 - i * 2, F = d.current;
49638
- let E = 0, P = 0;
49655
+ let E = 0, D = 0;
49639
49656
  if (t === Ri.Reverse)
49640
49657
  for (let T = F.length - 1; T >= 0 && (E += F[T] + s, !(E > R)); T--)
49641
- P++;
49658
+ D++;
49642
49659
  else
49643
49660
  for (const T of F) {
49644
49661
  if (E += T + s, E > R) break;
49645
- P++;
49662
+ D++;
49646
49663
  }
49647
- h(P);
49664
+ h(D);
49648
49665
  });
49649
49666
  }, v = new ResizeObserver(C);
49650
49667
  return v.observe(r.current), C(), () => {
@@ -49675,14 +49692,14 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
49675
49692
  actionsGap: b9,
49676
49693
  containerPadding: S9
49677
49694
  }), d = e(s);
49678
- return /* @__PURE__ */ V(qe, { children: [
49695
+ return /* @__PURE__ */ V(je, { children: [
49679
49696
  /* @__PURE__ */ m(
49680
49697
  "div",
49681
49698
  {
49682
49699
  ref: a,
49683
49700
  className: "absolute top-0 left-0 invisible pointer-events-none overflow-hidden whitespace-nowrap flex gap-3",
49684
49701
  children: o.map(({ key: u, icon: h, title: g }) => /* @__PURE__ */ m(
49685
- Uo,
49702
+ $o,
49686
49703
  {
49687
49704
  iconBefore: h,
49688
49705
  label: g,
@@ -49701,7 +49718,7 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
49701
49718
  "aria-label": "File bulk actions",
49702
49719
  children: [
49703
49720
  /* @__PURE__ */ m("div", { ref: r, children: /* @__PURE__ */ m(
49704
- Wo,
49721
+ _o,
49705
49722
  {
49706
49723
  label: d,
49707
49724
  onClick: t,
@@ -49733,7 +49750,7 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
49733
49750
  ),
49734
49751
  l.map(
49735
49752
  ({ key: u, icon: h, tooltip: g, title: p, onClick: f, disabled: C }) => /* @__PURE__ */ m(
49736
- Uo,
49753
+ $o,
49737
49754
  {
49738
49755
  className: "!p-[9px]",
49739
49756
  iconBefore: h,
@@ -49752,12 +49769,12 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
49752
49769
  )
49753
49770
  ] });
49754
49771
  }, kh = (e) => /* @__PURE__ */ Fe.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Fe.createElement("path", { d: "M3.009 12.5527C2.77901 12.4216 2.5877 12.2321 2.45443 12.0034C2.32116 11.7746 2.25064 11.5147 2.25 11.25V3.75C2.25 2.925 2.925 2.25 3.75 2.25H11.25C11.8125 2.25 12.1185 2.53875 12.375 3M10.5 15.75H7.25025C6.98757 15.75 6.72747 15.6983 6.48479 15.5977C6.24211 15.4972 6.0216 15.3499 5.83586 15.1641C5.65012 14.9784 5.50278 14.7579 5.40226 14.5152C5.30174 14.2725 5.25 14.0124 5.25 13.7498V7.25025C5.25 6.71975 5.46074 6.21098 5.83586 5.83586C6.21098 5.46074 6.71975 5.25 7.25025 5.25H13.7498C14.0124 5.25 14.2725 5.30174 14.5152 5.40226C14.7579 5.50278 14.9784 5.65012 15.1641 5.83586C15.3499 6.0216 15.4972 6.24211 15.5977 6.48479C15.6983 6.72747 15.75 6.98757 15.75 7.25025V10.5M12.75 16.5L16.5 12.75M16.5 12.75V16.125M16.5 12.75H13.125", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Lh = (e) => /* @__PURE__ */ Fe.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Fe.createElement("path", { d: "M9.75 14.25H3.75C3.35218 14.25 2.97064 14.092 2.68934 13.8107C2.40804 13.5294 2.25 13.1478 2.25 12.75V4.5C2.25 4.10218 2.40804 3.72064 2.68934 3.43934C2.97064 3.15804 3.35218 3 3.75 3H6.75L9 5.25H14.25C14.6478 5.25 15.0294 5.40804 15.3107 5.68934C15.592 5.97064 15.75 6.35218 15.75 6.75V9.75M12 16.5L15.75 12.75M15.75 12.75V16.125M15.75 12.75H12.375", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Mw = (e) => /* @__PURE__ */ Fe.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Fe.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15.1812 1.2002H2.80615C2.43319 1.2002 2.07551 1.34835 1.81178 1.61208C1.54806 1.8758 1.3999 2.23348 1.3999 2.60645V5.48145C1.3999 5.85441 1.54806 6.21209 1.81178 6.47581C2.07551 6.73954 2.43319 6.8877 2.80615 6.8877H15.1812C15.5541 6.8877 15.9118 6.73954 16.1755 6.47581C16.4392 6.21209 16.5874 5.85441 16.5874 5.48145V2.60645C16.5874 2.23348 16.4392 1.8758 16.1755 1.61208C15.9118 1.34835 15.5541 1.2002 15.1812 1.2002ZM14.8999 5.2002H3.0874V2.8877H14.8999V5.2002ZM12 7.80017C12.3107 7.80017 12.5625 8.05201 12.5625 8.36267V11.7377H15.9375C16.2482 11.7377 16.5 11.9895 16.5 12.3002C16.5 12.6108 16.2482 12.8627 15.9375 12.8627H12.5625V16.2377C12.5625 16.5483 12.3107 16.8002 12 16.8002C11.6893 16.8002 11.4375 16.5483 11.4375 16.2377V12.8627H8.0625C7.75184 12.8627 7.5 12.6108 7.5 12.3002C7.5 11.9895 7.75184 11.7377 8.0625 11.7377H11.4375V8.36267C11.4375 8.05201 11.6893 7.80017 12 7.80017ZM2.41188 12.5883C2.14816 12.3246 2 11.9669 2 11.5939V9.00018H3.6875V11.3127H6.1001V13.0002H3.40625C3.03329 13.0002 2.6756 12.852 2.41188 12.5883Z", fill: "currentColor" })), Iw = (e) => /* @__PURE__ */ Fe.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Fe.createElement("path", { d: "M9.00049 7.7998C9.3108 7.80007 9.56279 8.05198 9.56299 8.3623V11.7373H12.938C13.2483 11.7376 13.5003 11.9895 13.5005 12.2998C13.5005 12.6103 13.2484 12.862 12.938 12.8623H9.56299V16.2373C9.56299 16.5478 9.31092 16.7995 9.00049 16.7998C8.68983 16.7998 8.43799 16.548 8.43799 16.2373V12.8623H5.06299C4.75233 12.8623 4.50049 12.6105 4.50049 12.2998C4.50069 11.9893 4.75245 11.7373 5.06299 11.7373H8.43799V8.3623C8.43819 8.05181 8.68995 7.7998 9.00049 7.7998ZM15.1812 1.2002C15.5541 1.2002 15.9116 1.34858 16.1753 1.6123C16.439 1.87603 16.5874 2.23348 16.5874 2.60645V5.48145C16.5874 5.85441 16.439 6.21186 16.1753 6.47559C15.9116 6.73931 15.5541 6.8877 15.1812 6.8877H2.80615C2.43319 6.8877 2.07573 6.73931 1.81201 6.47559C1.54829 6.21186 1.3999 5.85441 1.3999 5.48145V2.60645C1.3999 2.23348 1.54829 1.87603 1.81201 1.6123C2.07573 1.34858 2.43319 1.2002 2.80615 1.2002H15.1812ZM3.0874 2.8877V5.2002H14.8999V2.8877H3.0874Z", fill: "currentColor" })), x9 = (e) => {
49755
- const [t, o] = I(e?.showHiddenFiles ?? !1), s = !!e?.onShowHiddenFilesChange, i = s ? e.showHiddenFiles ?? !1 : t, n = D(
49772
+ const [t, o] = I(e?.showHiddenFiles ?? !1), s = !!e?.onShowHiddenFilesChange, i = s ? e.showHiddenFiles ?? !1 : t, n = P(
49756
49773
  (a) => {
49757
49774
  s ? e?.onShowHiddenFilesChange?.(a) : o(a);
49758
49775
  },
49759
49776
  [s, e]
49760
- ), r = D(() => {
49777
+ ), r = P(() => {
49761
49778
  const a = !i;
49762
49779
  s ? e?.onShowHiddenFilesChange?.(a) : o(a);
49763
49780
  }, [i, s, e]);
@@ -49769,12 +49786,12 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
49769
49786
  }, F9 = (e) => {
49770
49787
  const [t, o] = I(
49771
49788
  e?.collapsed ?? !1
49772
- ), s = !!e?.onCollapseChange, i = s ? e.collapsed ?? !1 : t, n = D(
49789
+ ), s = !!e?.onCollapseChange, i = s ? e.collapsed ?? !1 : t, n = P(
49773
49790
  (a) => {
49774
49791
  s ? e?.onCollapseChange?.(a) : o(a);
49775
49792
  },
49776
49793
  [s, e]
49777
- ), r = D(() => {
49794
+ ), r = P(() => {
49778
49795
  const a = !i;
49779
49796
  s ? e?.onCollapseChange?.(a) : o(a);
49780
49797
  }, [i, s, e]);
@@ -49798,11 +49815,11 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
49798
49815
  getDestinationFiles: e,
49799
49816
  onResolve: t
49800
49817
  }) => {
49801
- const [o, s] = I([]), [i, n] = I(!1), [r, a] = I(null), l = L(!1), c = D((b) => {
49818
+ const [o, s] = I([]), [i, n] = I(!1), [r, a] = I(null), l = L(!1), c = P((b) => {
49802
49819
  l.current = !0, s(b), n(!0);
49803
- }, []), d = D(() => {
49820
+ }, []), d = P(() => {
49804
49821
  l.current = !1, n(!1), s([]), a(null);
49805
- }, []), u = D(
49822
+ }, []), u = P(
49806
49823
  (b, S) => {
49807
49824
  const y = e(b), x = new Set(y.map(rd)), R = S.filter((F) => x.has(F.name));
49808
49825
  return {
@@ -49811,11 +49828,11 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
49811
49828
  };
49812
49829
  },
49813
49830
  [e]
49814
- ), h = D(
49831
+ ), h = P(
49815
49832
  (b, S, y, x) => {
49816
49833
  const R = e(b), F = new Set(R.map(rd));
49817
49834
  return S.map((E) => {
49818
- const P = E.name, T = F.has(P), M = y && T ? P : Zp(P, F, E.nodeType);
49835
+ const D = E.name, T = F.has(D), M = y && T ? D : Zp(D, F, E.nodeType);
49819
49836
  return (!y || !T) && F.add(M), {
49820
49837
  sourceUrl: E.path,
49821
49838
  destinationUrl: `${b}/${M}`,
@@ -49826,22 +49843,22 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
49826
49843
  });
49827
49844
  },
49828
49845
  [e]
49829
- ), g = D(
49846
+ ), g = P(
49830
49847
  (b, S, y, x) => {
49831
49848
  const R = e(b), F = new Set(R.map(rd));
49832
- return S.filter((P) => y.get(P.path) !== ct.Cancel).map((P) => {
49833
- const T = y.get(P.path), M = F.has(P.name), k = T === ct.Replace && M, B = k ? P.name : Zp(P.name, F, P.nodeType);
49849
+ return S.filter((D) => y.get(D.path) !== ct.Cancel).map((D) => {
49850
+ const T = y.get(D.path), M = F.has(D.name), k = T === ct.Replace && M, B = k ? D.name : Zp(D.name, F, D.nodeType);
49834
49851
  return k || F.add(B), {
49835
- sourceUrl: P.path,
49852
+ sourceUrl: D.path,
49836
49853
  destinationUrl: `${b}/${B}`,
49837
49854
  overwrite: k,
49838
- nodeType: P.nodeType ?? Ee.ITEM,
49855
+ nodeType: D.nodeType ?? Ee.ITEM,
49839
49856
  ...x ?? {}
49840
49857
  };
49841
49858
  });
49842
49859
  },
49843
49860
  [e]
49844
- ), p = D(
49861
+ ), p = P(
49845
49862
  (b, S, y) => {
49846
49863
  const x = u(b, S);
49847
49864
  return x.hasConflicts && (a({
@@ -49851,7 +49868,7 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
49851
49868
  }), c(x.conflicts)), x;
49852
49869
  },
49853
49870
  [u, c]
49854
- ), f = D(() => {
49871
+ ), f = P(() => {
49855
49872
  if (!r) return;
49856
49873
  const { files: b, destinationFolder: S, metadata: y } = r, x = h(
49857
49874
  S,
@@ -49865,7 +49882,7 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
49865
49882
  h,
49866
49883
  t,
49867
49884
  d
49868
- ]), C = D(() => {
49885
+ ]), C = P(() => {
49869
49886
  if (!r) return;
49870
49887
  const { files: b, destinationFolder: S, metadata: y } = r, x = h(
49871
49888
  S,
@@ -49879,7 +49896,7 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
49879
49896
  h,
49880
49897
  t,
49881
49898
  d
49882
- ]), v = D(() => {
49899
+ ]), v = P(() => {
49883
49900
  if (!r) return;
49884
49901
  const { files: b, destinationFolder: S, metadata: y } = r, x = g(
49885
49902
  S,
@@ -49899,7 +49916,7 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
49899
49916
  t,
49900
49917
  r,
49901
49918
  g
49902
- ]), w = D(
49919
+ ]), w = P(
49903
49920
  (b) => {
49904
49921
  if (!r) return;
49905
49922
  const { files: S, destinationFolder: y, metadata: x } = r, R = new Map(
@@ -49951,7 +49968,7 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
49951
49968
  startConflictResolution: R,
49952
49969
  resolveConflictsWithStrategy: F,
49953
49970
  closeConflictResolution: E,
49954
- openConflictResolution: P,
49971
+ openConflictResolution: D,
49955
49972
  handleReplaceAll: T,
49956
49973
  handleDuplicateAll: M,
49957
49974
  handleCancelAll: k,
@@ -49965,9 +49982,9 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
49965
49982
  Y
49966
49983
  ), i?.());
49967
49984
  }
49968
- }), O = D(() => {
49985
+ }), O = P(() => {
49969
49986
  u([]), g([]), b(null), v(void 0);
49970
- }, []), $ = D(
49987
+ }, []), $ = P(
49971
49988
  (le) => {
49972
49989
  const Y = R(le, d, {
49973
49990
  type: dt.Copy
@@ -49989,7 +50006,7 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
49989
50006
  s,
49990
50007
  O
49991
50008
  ]
49992
- ), K = D(
50009
+ ), K = P(
49993
50010
  (le, Y) => {
49994
50011
  const Z = Y || (w?.sourceFolder ?? "/");
49995
50012
  if (!R(le, h, {
@@ -50013,18 +50030,18 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
50013
50030
  O,
50014
50031
  w
50015
50032
  ]
50016
- ), N = D(() => {
50033
+ ), N = P(() => {
50017
50034
  T(), O();
50018
- }, [T, O]), pe = D(() => {
50035
+ }, [T, O]), pe = P(() => {
50019
50036
  M(), O();
50020
- }, [M, O]), z = D(() => {
50037
+ }, [M, O]), z = P(() => {
50021
50038
  k(), O();
50022
- }, [k, O]), ne = D(
50039
+ }, [k, O]), ne = P(
50023
50040
  (le) => {
50024
50041
  B(le), O();
50025
50042
  },
50026
50043
  [B, O]
50027
- ), oe = D(
50044
+ ), oe = P(
50028
50045
  (le) => {
50029
50046
  const Y = le.at(0)?.parentPath ?? "/", Z = F(
50030
50047
  Y,
@@ -50034,21 +50051,21 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
50034
50051
  t?.(Z, Y), n?.();
50035
50052
  },
50036
50053
  [t, n, F]
50037
- ), se = D(
50054
+ ), se = P(
50038
50055
  (le) => {
50039
50056
  f(le), c(!0);
50040
50057
  },
50041
50058
  []
50042
- ), we = D(() => {
50059
+ ), we = P(() => {
50043
50060
  c(!1), x.current || O();
50044
- }, [O, x]), [Pe, ce] = I(), j = D(
50061
+ }, [O, x]), [Pe, ce] = I(), j = P(
50045
50062
  (le) => {
50046
50063
  u(le);
50047
50064
  const Y = le[0]?.parentPath ?? le[0]?.folderId;
50048
50065
  v(Y), r && le.length > 0 ? ce(r(le.length, le[0]?.name)) : ce(void 0);
50049
50066
  },
50050
50067
  [r]
50051
- ), Me = D(
50068
+ ), Me = P(
50052
50069
  (le) => {
50053
50070
  g(le);
50054
50071
  const Y = le[0]?.parentPath ?? le[0]?.folderId;
@@ -50073,7 +50090,7 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
50073
50090
  clearState: O,
50074
50091
  conflictingFiles: S,
50075
50092
  conflictResolutionOpen: y,
50076
- openConflictResolution: P,
50093
+ openConflictResolution: D,
50077
50094
  closeConflictResolution: E,
50078
50095
  handleConflictReplace: N,
50079
50096
  handleConflictCancel: z,
@@ -50089,12 +50106,12 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
50089
50106
  }) => {
50090
50107
  const i = e !== void 0, [n, r] = I(
50091
50108
  t
50092
- ), a = i ? e : n, l = D(
50109
+ ), a = i ? e : n, l = P(
50093
50110
  (d) => {
50094
50111
  i || r(d), o?.(d);
50095
50112
  },
50096
50113
  [i, o]
50097
- ), c = D(
50114
+ ), c = P(
50098
50115
  (d) => {
50099
50116
  l(d), s?.();
50100
50117
  },
@@ -50109,14 +50126,14 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
50109
50126
  onDeleteFiles: e,
50110
50127
  onDeleteSuccess: t
50111
50128
  }) => {
50112
- const [o, s] = I(!1), [i, n] = I([]), [r, a] = I(""), l = D(
50129
+ const [o, s] = I(!1), [i, n] = I([]), [r, a] = I(""), l = P(
50113
50130
  (u, h) => {
50114
50131
  n(u), a(h), s(!0);
50115
50132
  },
50116
50133
  []
50117
- ), c = D(() => {
50134
+ ), c = P(() => {
50118
50135
  s(!1), n([]);
50119
- }, []), d = D(() => {
50136
+ }, []), d = P(() => {
50120
50137
  if (e && i.length > 0) {
50121
50138
  const u = i.map((h) => ({
50122
50139
  sourceUrl: h.path,
@@ -50143,7 +50160,7 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
50143
50160
  onDownloadFiles: e,
50144
50161
  onDownloadSuccess: t
50145
50162
  }) => ({
50146
- handleDownloadFiles: D(
50163
+ handleDownloadFiles: P(
50147
50164
  (s) => {
50148
50165
  e && s.length > 0 && (e(s), t?.());
50149
50166
  },
@@ -50159,17 +50176,17 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
50159
50176
  uploadEnabled: r = !0,
50160
50177
  currentFolder: a
50161
50178
  } = {}) => {
50162
- const [l, c] = I(!1), [d, u] = I(!1), [h, g] = I(), p = L(null), f = L(""), C = L([]), v = G(() => !!a?.permissions?.includes(sn.WRITE), [a]), [w, b] = I(/* @__PURE__ */ new Map()), [S, y] = I(null), x = D(
50179
+ const [l, c] = I(!1), [d, u] = I(!1), [h, g] = I(), p = L(null), f = L(""), C = L([]), v = G(() => !!a?.permissions?.includes(sn.WRITE), [a]), [w, b] = I(/* @__PURE__ */ new Map()), [S, y] = I(null), x = P(
50163
50180
  (W) => !s || s.includes("*/*") ? W : W.filter(
50164
50181
  ({ fileContent: ve, name: he }) => Pw(s, ve.type, he)
50165
50182
  ),
50166
50183
  [s]
50167
- ), R = D(() => {
50184
+ ), R = P(() => {
50168
50185
  b(/* @__PURE__ */ new Map()), y(null);
50169
50186
  }, []), {
50170
50187
  conflictingFiles: F,
50171
50188
  conflictResolutionOpen: E,
50172
- hasActiveConflictRef: P,
50189
+ hasActiveConflictRef: D,
50173
50190
  startConflictResolution: T,
50174
50191
  closeConflictResolution: M,
50175
50192
  openConflictResolution: k,
@@ -50221,10 +50238,10 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
50221
50238
  window.removeEventListener("dragenter", ve), window.removeEventListener("dragleave", he), window.removeEventListener("drop", de), window.removeEventListener("dragover", Se);
50222
50239
  };
50223
50240
  }, [r, v]);
50224
- const N = D(
50241
+ const N = P(
50225
50242
  (W) => o ? W.filter((ve) => ve.fileContent.size > o).map((ve) => ve.name) : [],
50226
50243
  [o]
50227
- ), pe = D(
50244
+ ), pe = P(
50228
50245
  (W, ve) => W.map((he) => ({
50229
50246
  id: he.name,
50230
50247
  name: he.name,
@@ -50235,7 +50252,7 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
50235
50252
  contentLength: he.fileContent.size
50236
50253
  })),
50237
50254
  []
50238
- ), z = D(
50255
+ ), z = P(
50239
50256
  async (W, ve, he) => {
50240
50257
  if (!r || !v) return !1;
50241
50258
  g(void 0), C.current = he;
@@ -50279,25 +50296,25 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
50279
50296
  R,
50280
50297
  v
50281
50298
  ]
50282
- ), ne = D(() => {
50299
+ ), ne = P(() => {
50283
50300
  B(), R();
50284
- }, [B, R]), oe = D(() => {
50301
+ }, [B, R]), oe = P(() => {
50285
50302
  O(), R();
50286
- }, [O, R]), se = D(() => {
50303
+ }, [O, R]), se = P(() => {
50287
50304
  $(), R();
50288
- }, [$, R]), we = D(
50305
+ }, [$, R]), we = P(
50289
50306
  (W) => {
50290
50307
  K(W), R();
50291
50308
  },
50292
50309
  [K, R]
50293
- ), Pe = D(() => {
50294
- M(), P.current || R();
50295
- }, [M, P, R]), ce = D(
50310
+ ), Pe = P(() => {
50311
+ M(), D.current || R();
50312
+ }, [M, D, R]), ce = P(
50296
50313
  (W) => {
50297
50314
  !r || !v || (W.preventDefault(), W.stopPropagation(), W.dataTransfer.types.includes("Files") && c(!0));
50298
50315
  },
50299
50316
  [r, v]
50300
- ), j = D(
50317
+ ), j = P(
50301
50318
  (W) => {
50302
50319
  if (!r || !v) return;
50303
50320
  W.preventDefault(), W.stopPropagation();
@@ -50305,12 +50322,12 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
50305
50322
  (he <= ve.left || he >= ve.right || de <= ve.top || de >= ve.bottom) && c(!1);
50306
50323
  },
50307
50324
  [r, v]
50308
- ), Me = D(
50325
+ ), Me = P(
50309
50326
  (W) => {
50310
50327
  !r || !v || (W.preventDefault(), W.stopPropagation(), W.dataTransfer.types.includes("Files") && (W.dataTransfer.dropEffect = "copy"));
50311
50328
  },
50312
50329
  [r, v]
50313
- ), le = D(
50330
+ ), le = P(
50314
50331
  async (W, ve, he) => {
50315
50332
  if (!r || !v || (W.preventDefault(), W.stopPropagation(), c(!1), !W.dataTransfer.types.includes("Files")))
50316
50333
  return;
@@ -50373,12 +50390,12 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
50373
50390
  i,
50374
50391
  v
50375
50392
  ]);
50376
- const Y = D(
50393
+ const Y = P(
50377
50394
  (W, ve) => {
50378
50395
  !r || !v || (f.current = W, C.current = ve, p.current && p.current.click());
50379
50396
  },
50380
50397
  [r, v]
50381
- ), Z = D(
50398
+ ), Z = P(
50382
50399
  (W, ve) => {
50383
50400
  if (!n || !r || !v) return;
50384
50401
  const he = document.createElement("input");
@@ -50407,7 +50424,7 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
50407
50424
  he.addEventListener("change", de), document.body.appendChild(he), he.click();
50408
50425
  },
50409
50426
  [r, n, i, v]
50410
- ), re = D(() => {
50427
+ ), re = P(() => {
50411
50428
  g(void 0);
50412
50429
  }, []);
50413
50430
  return {
@@ -50425,7 +50442,7 @@ const R9 = ({ getSelectionLabel: e, onClearSelection: t, actions: o, selectedCou
50425
50442
  fileInputRef: p,
50426
50443
  uploadConflictingFiles: F,
50427
50444
  uploadConflictResolutionOpen: E,
50428
- hasActiveUploadConflictRef: P,
50445
+ hasActiveUploadConflictRef: D,
50429
50446
  openUploadConflictResolution: k,
50430
50447
  closeUploadConflictResolution: Pe,
50431
50448
  handleUploadConflictReplace: ne,
@@ -50467,15 +50484,15 @@ const N9 = ({
50467
50484
  ...o
50468
50485
  }),
50469
50486
  [o]
50470
- ), a = G(() => i?.path, [i]), l = D(
50487
+ ), a = G(() => i?.path, [i]), l = P(
50471
50488
  (g) => {
50472
50489
  const p = $s(e, g);
50473
50490
  p && n(p);
50474
50491
  },
50475
50492
  [e]
50476
- ), c = D(() => {
50493
+ ), c = P(() => {
50477
50494
  n(void 0);
50478
- }, []), d = D(
50495
+ }, []), d = P(
50479
50496
  (g) => {
50480
50497
  if (!i || !s) {
50481
50498
  n(void 0);
@@ -50507,7 +50524,7 @@ const N9 = ({
50507
50524
  s([w], v, v), n(void 0);
50508
50525
  },
50509
50526
  [i, s]
50510
- ), u = D(
50527
+ ), u = P(
50511
50528
  (g, p) => {
50512
50529
  const f = g.trim();
50513
50530
  if (!f)
@@ -50536,7 +50553,7 @@ const N9 = ({
50536
50553
  return null;
50537
50554
  },
50538
50555
  [t, r, e]
50539
- ), h = D((g) => g.nodeType === Ee.ITEM ? O9(g.name) : g.name, []);
50556
+ ), h = P((g) => g.nodeType === Ee.ITEM ? O9(g.name) : g.name, []);
50540
50557
  return {
50541
50558
  renamedPath: a,
50542
50559
  renamedItem: i,
@@ -50624,12 +50641,12 @@ const N9 = ({
50624
50641
  const p = e?.path;
50625
50642
  l.current !== p && i && (n(!1), a(null)), l.current = p;
50626
50643
  }, [e?.path, i]);
50627
- const d = D(() => {
50644
+ const d = P(() => {
50628
50645
  const p = `__new_folder_${Date.now()}`;
50629
50646
  a(p), n(!0);
50630
- }, []), u = D(() => {
50647
+ }, []), u = P(() => {
50631
50648
  n(!1), a(null);
50632
- }, []), h = D(
50649
+ }, []), h = P(
50633
50650
  (p) => {
50634
50651
  const f = p.trim();
50635
50652
  if (!f)
@@ -50646,7 +50663,7 @@ const N9 = ({
50646
50663
  return null;
50647
50664
  },
50648
50665
  [e, o, c]
50649
- ), g = D(
50666
+ ), g = P(
50650
50667
  async (p) => {
50651
50668
  const f = p.trim();
50652
50669
  if (!f)
@@ -50681,7 +50698,7 @@ const N9 = ({
50681
50698
  "hover:text-accent-primary",
50682
50699
  s && "controls-secondary-disable hover:controls-secondary-disable disabled:hover:cursor-default"
50683
50700
  ]);
50684
- return /* @__PURE__ */ V(qe, { children: [
50701
+ return /* @__PURE__ */ V(je, { children: [
50685
50702
  e,
50686
50703
  /* @__PURE__ */ m(
50687
50704
  js,
@@ -50698,12 +50715,12 @@ const N9 = ({
50698
50715
  }, [e, s, o])
50699
50716
  };
50700
50717
  }, z9 = ({ onGetInfo: e }) => {
50701
- const [t, o] = I(!1), [s, i] = I(void 0), n = D(
50718
+ const [t, o] = I(!1), [s, i] = I(void 0), n = P(
50702
50719
  async (a) => {
50703
50720
  i(a), o(!0), e && await e(a);
50704
50721
  },
50705
50722
  [e]
50706
- ), r = D(() => {
50723
+ ), r = P(() => {
50707
50724
  o(!1), i(void 0);
50708
50725
  }, []);
50709
50726
  return {
@@ -50742,7 +50759,7 @@ function _9({
50742
50759
  }, [n]);
50743
50760
  const C = String(
50744
50761
  n ?? c ?? ""
50745
- ).trim(), v = h.current && (i || s.length > 0 || C !== ""), w = D(
50762
+ ).trim(), v = h.current && (i || s.length > 0 || C !== ""), w = P(
50746
50763
  (x) => {
50747
50764
  const R = x.trim();
50748
50765
  if (!R) {
@@ -50752,9 +50769,9 @@ function _9({
50752
50769
  h.current = !0, e && o && !u.current && (u.current = !0, e(o, R));
50753
50770
  },
50754
50771
  [e, o]
50755
- ), b = D(() => {
50772
+ ), b = P(() => {
50756
50773
  u.current = !1, h.current = !1, g.current = [], d(""), r?.(""), t?.();
50757
- }, [t, r]), S = D(
50774
+ }, [t, r]), S = P(
50758
50775
  (x) => {
50759
50776
  const R = String(x ?? "");
50760
50777
  d(R), r?.(R), R.trim() ? w(R) : b();
@@ -50800,13 +50817,13 @@ function U9({
50800
50817
  const s = e !== void 0, [i, n] = I(() => t ?? /* @__PURE__ */ new Set()), r = G(
50801
50818
  () => s ? e : i,
50802
50819
  [s, e, i]
50803
- ), a = D(
50820
+ ), a = P(
50804
50821
  (c) => {
50805
50822
  const d = new Set(c);
50806
50823
  o?.(d), s || n(d);
50807
50824
  },
50808
50825
  [s, o]
50809
- ), l = D(() => {
50826
+ ), l = P(() => {
50810
50827
  a(/* @__PURE__ */ new Set());
50811
50828
  }, [a]);
50812
50829
  return {
@@ -50847,7 +50864,7 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
50847
50864
  onTableFileClick: R,
50848
50865
  handleSelectionClick: F,
50849
50866
  onGridApiChange: E,
50850
- onCopyFiles: P,
50867
+ onCopyFiles: D,
50851
50868
  onMoveToFiles: T,
50852
50869
  onDeleteFiles: M,
50853
50870
  onDownloadFiles: k,
@@ -50881,7 +50898,7 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
50881
50898
  getDisabledTooltip: ke,
50882
50899
  fileTooLargeTooltip: Ke,
50883
50900
  unsupportedFileTypeTooltip: _e,
50884
- emptyStateIcon: je,
50901
+ emptyStateIcon: qe,
50885
50902
  emptyStateTitle: $t,
50886
50903
  emptyStateDescription: jt,
50887
50904
  sharedWithMeIds: po,
@@ -50925,7 +50942,7 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
50925
50942
  ...Mt
50926
50943
  } = v || {};
50927
50944
  return { showFiles: Ve, showFolders: Bt, ...Mt };
50928
- }, [v]), cn = ln.showFiles, dn = ln.showFolders, [Tl, Ml] = I(), Il = S?.destinationFolderPath ?? Tl, un = D(
50945
+ }, [v]), cn = ln.showFiles, dn = ln.showFolders, [Tl, Ml] = I(), Il = S?.destinationFolderPath ?? Tl, un = P(
50929
50946
  (Ve) => {
50930
50947
  S?.setDestinationFolderPath ? S.setDestinationFolderPath(Ve) : Ml(Ve);
50931
50948
  },
@@ -50990,7 +51007,7 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
50990
51007
  sourceFolder: Wl
50991
51008
  } = E9({
50992
51009
  getDestinationFiles: (Ve) => Kp(s, Ve)?.items ?? [],
50993
- onCopyFiles: P,
51010
+ onCopyFiles: D,
50994
51011
  onMoveToFiles: T,
50995
51012
  onCopySuccess: fo,
50996
51013
  onMoveSuccess: fo,
@@ -51024,7 +51041,7 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
51024
51041
  clearError: li,
51025
51042
  openFileDialog: ws,
51026
51043
  fileInputRef: Mo,
51027
- openArchiveDialog: Yo,
51044
+ openArchiveDialog: Zo,
51028
51045
  uploadConflictingFiles: bs,
51029
51046
  uploadConflictResolutionOpen: vn,
51030
51047
  closeUploadConflictResolution: Xl,
@@ -51041,23 +51058,23 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
51041
51058
  validationMessages: se,
51042
51059
  uploadEnabled: oe,
51043
51060
  currentFolder: at
51044
- }), Jl = D(
51061
+ }), Jl = P(
51045
51062
  (Ve) => {
51046
51063
  const Bt = vt ?? "", Mt = at?.items ?? [];
51047
51064
  vs(Ve, Bt, Mt);
51048
51065
  },
51049
51066
  [vt, at, vs]
51050
- ), Ir = D(() => {
51067
+ ), Ir = P(() => {
51051
51068
  const Ve = vt ?? "", Bt = at?.items ?? [];
51052
51069
  ws(Ve, Bt);
51053
- }, [vt, at, ws]), Ar = D(() => {
51070
+ }, [vt, at, ws]), Ar = P(() => {
51054
51071
  const Ve = vt ?? "", Bt = at?.items ?? [];
51055
- Yo(Ve, Bt);
51056
- }, [vt, at, Yo]), ec = D(() => {
51072
+ Zo(Ve, Bt);
51073
+ }, [vt, at, Zo]), ec = P(() => {
51057
51074
  Qs?.(vt, at);
51058
- }, [Qs, vt, at]), tc = D(() => {
51075
+ }, [Qs, vt, at]), tc = P(() => {
51059
51076
  rn?.(vt, at);
51060
- }, [rn, vt, at]), kr = D(
51077
+ }, [rn, vt, at]), kr = P(
51061
51078
  (Ve) => {
51062
51079
  Js?.(Ve);
51063
51080
  },
@@ -51157,17 +51174,17 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
51157
51174
  ys,
51158
51175
  cn,
51159
51176
  dn
51160
- ]), Zo = D(
51177
+ ]), Xo = P(
51161
51178
  (Ve) => {
51162
51179
  To(Ve.path);
51163
51180
  },
51164
51181
  [To]
51165
- ), Nw = D(
51182
+ ), Nw = P(
51166
51183
  (Ve) => {
51167
51184
  To(Ve);
51168
51185
  },
51169
51186
  [To]
51170
- ), Hw = D(
51187
+ ), Hw = P(
51171
51188
  (Ve) => {
51172
51189
  Ve.nodeType === Ee.FOLDER ? To(Ve.path) : R?.(Ve);
51173
51190
  },
@@ -51184,7 +51201,7 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
51184
51201
  selectedFileForMetadata: Ww,
51185
51202
  openMetadataPopup: _w,
51186
51203
  closeMetadataPopup: Gh
51187
- } = z9({ onGetInfo: Y }), Uw = D(() => {
51204
+ } = z9({ onGetInfo: Y }), Uw = P(() => {
51188
51205
  Gh(), le?.clearMetadata?.();
51189
51206
  }, [Gh, le]), $w = G(() => {
51190
51207
  if (N)
@@ -51262,7 +51279,7 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
51262
51279
  deleteConfirmationOpen: _l,
51263
51280
  itemsToDelete: Ul,
51264
51281
  handlePathChange: To,
51265
- handleTreeItemClick: Zo,
51282
+ handleTreeItemClick: Xo,
51266
51283
  handleBreadcrumbItemClick: Nw,
51267
51284
  handleSearchChange: Hl,
51268
51285
  handleTableRowClick: Hw,
@@ -51321,7 +51338,7 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
51321
51338
  searchResults: de,
51322
51339
  clearSearchResults: Te,
51323
51340
  isSearchMode: si,
51324
- emptyStateIcon: je,
51341
+ emptyStateIcon: qe,
51325
51342
  emptyStateTitle: $t,
51326
51343
  emptyStateDescription: jt,
51327
51344
  gridClassName: xl,
@@ -51358,7 +51375,7 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
51358
51375
  contentRenderer: a
51359
51376
  }) => {
51360
51377
  const l = t.map((g) => g.name), d = r?.(l) || "Confirm Deleting Items", u = /* @__PURE__ */ V("div", { className: "px-6 py-3 dial-small", children: [
51361
- /* @__PURE__ */ m("p", { className: "text-secondary mb-3", children: t.length === 1 ? /* @__PURE__ */ V(qe, { children: [
51378
+ /* @__PURE__ */ m("p", { className: "text-secondary mb-3", children: t.length === 1 ? /* @__PURE__ */ V(je, { children: [
51362
51379
  "Do you want to delete file or folder",
51363
51380
  " ",
51364
51381
  /* @__PURE__ */ V("span", { className: "text-primary break-all", children: [
@@ -51367,13 +51384,13 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
51367
51384
  '"'
51368
51385
  ] }),
51369
51386
  "?"
51370
- ] }) : /* @__PURE__ */ V(qe, { children: [
51387
+ ] }) : /* @__PURE__ */ V(je, { children: [
51371
51388
  "Do you want to delete the following",
51372
51389
  " ",
51373
51390
  /* @__PURE__ */ m("span", { className: "text-primary", children: t.length }),
51374
51391
  " items?"
51375
51392
  ] }) }),
51376
- t.length > 1 && /* @__PURE__ */ m(qe, { children: t.length <= 10 ? /* @__PURE__ */ m("ul", { className: "space-y-1 text-primary list-none", children: t.map((g) => /* @__PURE__ */ m("li", { className: "truncate", children: g.name }, g.path)) }) : /* @__PURE__ */ V(qe, { children: [
51393
+ t.length > 1 && /* @__PURE__ */ m(je, { children: t.length <= 10 ? /* @__PURE__ */ m("ul", { className: "space-y-1 text-primary list-none", children: t.map((g) => /* @__PURE__ */ m("li", { className: "truncate", children: g.name }, g.path)) }) : /* @__PURE__ */ V(je, { children: [
51377
51394
  /* @__PURE__ */ m("ul", { className: "space-y-1 text-primary list-none mb-2", children: t.slice(0, 10).map((g) => /* @__PURE__ */ m("li", { className: "truncate", children: g.name }, g.path)) }),
51378
51395
  /* @__PURE__ */ V("p", { className: "text-secondary italic", children: [
51379
51396
  "... and ",
@@ -51417,7 +51434,7 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
51417
51434
  alertProps: w,
51418
51435
  ...b
51419
51436
  }) => {
51420
- const [S, y] = I(!1), [x, R] = I(!1), F = L(null), E = Ah(), P = D((O) => {
51437
+ const [S, y] = I(!1), [x, R] = I(!1), F = L(null), E = Ah(), D = P((O) => {
51421
51438
  y(O);
51422
51439
  }, []), T = G(
51423
51440
  () => [
@@ -51439,7 +51456,7 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
51439
51456
  }
51440
51457
  ],
51441
51458
  [a, c]
51442
- ), M = D(
51459
+ ), M = P(
51443
51460
  (O) => {
51444
51461
  O && (o?.(O), s?.(O));
51445
51462
  },
@@ -51478,9 +51495,9 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
51478
51495
  }
51479
51496
  )
51480
51497
  }
51481
- ) : /* @__PURE__ */ V(qe, { children: [
51498
+ ) : /* @__PURE__ */ V(je, { children: [
51482
51499
  /* @__PURE__ */ m(
51483
- Wo,
51500
+ _o,
51484
51501
  {
51485
51502
  label: a,
51486
51503
  appearance: Oe.Ghost,
@@ -51496,15 +51513,15 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
51496
51513
  {
51497
51514
  label: c,
51498
51515
  isOn: S,
51499
- onChange: P,
51516
+ onChange: D,
51500
51517
  switchId: "hidden-files-switch"
51501
51518
  }
51502
51519
  ) })
51503
51520
  ] }) }),
51504
51521
  /* @__PURE__ */ V("div", { className: "flex space-x-4 items-center", children: [
51505
- /* @__PURE__ */ m(Uo, { onClick: e, label: "Cancel" }),
51522
+ /* @__PURE__ */ m($o, { onClick: e, label: "Cancel" }),
51506
51523
  B ? /* @__PURE__ */ m(kt, { tooltip: f, children: /* @__PURE__ */ m(
51507
- Wo,
51524
+ _o,
51508
51525
  {
51509
51526
  onClick: t,
51510
51527
  label: l === "copy" ? n : r,
@@ -51512,7 +51529,7 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
51512
51529
  "aria-disabled": B
51513
51530
  }
51514
51531
  ) }) : /* @__PURE__ */ m(
51515
- Wo,
51532
+ _o,
51516
51533
  {
51517
51534
  onClick: t,
51518
51535
  label: l === "copy" ? n : r
@@ -51535,7 +51552,7 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
51535
51552
  actionsRef: F,
51536
51553
  path: C,
51537
51554
  showHiddenFiles: S,
51538
- onShowHiddenFilesChange: P,
51555
+ onShowHiddenFilesChange: D,
51539
51556
  treeOptions: {
51540
51557
  ...b.treeOptions,
51541
51558
  collapsed: v,
@@ -51781,8 +51798,8 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
51781
51798
  icon: /* @__PURE__ */ m(lf, { ...ee, className: "text-secondary" }),
51782
51799
  onClick: () => p?.(S.path)
51783
51800
  });
51784
- const F = S.name.split("."), E = F.length > 1 ? F[F.length - 1] : "", P = E && C?.includes(`.${E}`);
51785
- e[Q.Preview] && typeof f == "function" && S.nodeType === Ee.ITEM && P && !x && y.push({
51801
+ const F = S.name.split("."), E = F.length > 1 ? F[F.length - 1] : "", D = E && C?.includes(`.${E}`);
51802
+ e[Q.Preview] && typeof f == "function" && S.nodeType === Ee.ITEM && D && !x && y.push({
51786
51803
  key: Q.Preview,
51787
51804
  label: e[Q.Preview],
51788
51805
  icon: /* @__PURE__ */ m(el, { ...ee, className: "text-secondary" }),
@@ -51864,7 +51881,7 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
51864
51881
  }) => {
51865
51882
  const f = n.length === 1, C = f ? n[0]?.name : "", v = c?.[ct.Replace] ?? "Replace", w = c?.[ct.Duplicate] ?? "Duplicate", b = c?.[ct.Cancel] ?? "Cancel", S = d?.[Vt.ReplaceAll] ?? "Replace all", y = d?.[Vt.DuplicateAll] ?? "Duplicate all", x = d?.[Vt.DecideForEach] ?? "Decide for each", [R, F] = I(
51866
51883
  ct.Replace
51867
- ), [E, P] = I(
51884
+ ), [E, D] = I(
51868
51885
  Vt.ReplaceAll
51869
51886
  ), [T, M] = I(
51870
51887
  new Map(
@@ -51875,7 +51892,7 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
51875
51892
  )
51876
51893
  ), [k, B] = I(
51877
51894
  void 0
51878
- ), O = f ? r : a, $ = /* @__PURE__ */ V(qe, { children: [
51895
+ ), O = f ? r : a, $ = /* @__PURE__ */ V(je, { children: [
51879
51896
  "Item with the name ",
51880
51897
  /* @__PURE__ */ V("span", { className: "text-primary", children: [
51881
51898
  '"',
@@ -51915,13 +51932,13 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
51915
51932
  Au,
51916
51933
  {
51917
51934
  name: ce.data.name,
51918
- iconSize: rs
51935
+ iconSize: as
51919
51936
  }
51920
51937
  ) : /* @__PURE__ */ m(
51921
51938
  Iu,
51922
51939
  {
51923
51940
  name: ce.data.name,
51924
- iconSize: rs
51941
+ iconSize: as
51925
51942
  }
51926
51943
  )
51927
51944
  },
@@ -52041,8 +52058,8 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
52041
52058
  ne,
52042
52059
  z
52043
52060
  ]
52044
- ), se = D(() => {
52045
- F(ct.Replace), P(Vt.ReplaceAll), M(
52061
+ ), se = P(() => {
52062
+ F(ct.Replace), D(Vt.ReplaceAll), M(
52046
52063
  new Map(
52047
52064
  n.map((ce) => [
52048
52065
  ce.path,
@@ -52050,9 +52067,9 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
52050
52067
  ])
52051
52068
  )
52052
52069
  );
52053
- }, [n]), we = D(() => {
52070
+ }, [n]), we = P(() => {
52054
52071
  se(), t();
52055
- }, [se, t]), Pe = D(() => {
52072
+ }, [se, t]), Pe = P(() => {
52056
52073
  if (se(), f)
52057
52074
  R === ct.Replace ? o() : s();
52058
52075
  else if (E === Vt.ReplaceAll)
@@ -52090,8 +52107,8 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
52090
52107
  dividers: !1,
52091
52108
  preventKeyboardOnOpen: !0,
52092
52109
  footer: /* @__PURE__ */ V("div", { className: "flex justify-end gap-3 py-4 px-6 border-t border-tertiary", children: [
52093
- /* @__PURE__ */ m(Uo, { onClick: we, label: h }),
52094
- /* @__PURE__ */ m(Wo, { onClick: Pe, label: u })
52110
+ /* @__PURE__ */ m($o, { onClick: we, label: h }),
52111
+ /* @__PURE__ */ m(_o, { onClick: Pe, label: u })
52095
52112
  ] }),
52096
52113
  children: /* @__PURE__ */ V("div", { className: "px-6 py-4", children: [
52097
52114
  /* @__PURE__ */ m("p", { className: "text-secondary mb-4 break-words", children: N }),
@@ -52111,7 +52128,7 @@ const $9 = ':;,=/{}%&\\"', Lw = `(\r
52111
52128
  radioButtons: oe,
52112
52129
  activeRadioButton: E,
52113
52130
  orientation: Gi.Column,
52114
- onChange: (ce) => P(ce),
52131
+ onChange: (ce) => D(ce),
52115
52132
  formItemChildrenClassName: "gap-3"
52116
52133
  }
52117
52134
  )
@@ -52141,7 +52158,7 @@ const tO = ({
52141
52158
  xe(() => {
52142
52159
  n.current = e;
52143
52160
  }, [e]);
52144
- const r = D(
52161
+ const r = P(
52145
52162
  (l) => {
52146
52163
  if (!l.data || t(
52147
52164
  l.data,
@@ -52187,12 +52204,12 @@ const tO = ({
52187
52204
  }, oO = ({
52188
52205
  onRename: e
52189
52206
  }) => {
52190
- const [t, o] = I(Oi.Grid), s = D(
52207
+ const [t, o] = I(Oi.Grid), s = P(
52191
52208
  (n) => {
52192
52209
  e(n), o(Oi.Grid);
52193
52210
  },
52194
52211
  [e]
52195
- ), i = D(
52212
+ ), i = P(
52196
52213
  (n) => {
52197
52214
  e(n), o(Oi.Tree);
52198
52215
  },
@@ -52229,7 +52246,7 @@ const tO = ({
52229
52246
  {
52230
52247
  className: "grid gap-x-4 gap-y-4 items-center dial-small",
52231
52248
  style: { gridTemplateColumns: `${sO}px 1fr` },
52232
- children: s ? /* @__PURE__ */ V(qe, { children: [
52249
+ children: s ? /* @__PURE__ */ V(je, { children: [
52233
52250
  /* @__PURE__ */ m("div", { className: vo, children: n }),
52234
52251
  /* @__PURE__ */ m(
52235
52252
  Sn,
@@ -52280,7 +52297,7 @@ const tO = ({
52280
52297
  className: Tn
52281
52298
  }
52282
52299
  )
52283
- ] }) : o ? /* @__PURE__ */ V(qe, { children: [
52300
+ ] }) : o ? /* @__PURE__ */ V(je, { children: [
52284
52301
  /* @__PURE__ */ m("div", { className: vo, children: n }),
52285
52302
  /* @__PURE__ */ m("div", { className: sa, children: /* @__PURE__ */ m(St, { text: o.name }) }),
52286
52303
  /* @__PURE__ */ m("div", { className: vo, children: a }),
@@ -52366,7 +52383,7 @@ const Ow = ({
52366
52383
  name: t,
52367
52384
  elementId: e,
52368
52385
  shared: a,
52369
- iconSize: rs,
52386
+ iconSize: as,
52370
52387
  sharedIndicatorClassName: l,
52371
52388
  hideTooltip: c,
52372
52389
  forbiddenSymbolsRegExp: d,
@@ -52415,7 +52432,7 @@ const Ow = ({
52415
52432
  editing: !0,
52416
52433
  shared: g,
52417
52434
  sharedIndicatorClassName: C,
52418
- iconSize: rs,
52435
+ iconSize: as,
52419
52436
  validate: a,
52420
52437
  onSave: r,
52421
52438
  onCancel: l,
@@ -52435,18 +52452,18 @@ const Ow = ({
52435
52452
  onRenameCancel: R
52436
52453
  } = i.context;
52437
52454
  if (v === Oi.Grid && w === i.data?.path && b && i.data) {
52438
- const P = S(b);
52455
+ const D = S(b);
52439
52456
  return /* @__PURE__ */ m(
52440
52457
  Qa,
52441
52458
  {
52442
- name: P,
52459
+ name: D,
52443
52460
  type: n === Ee.FOLDER ? so.Folder : so.File,
52444
52461
  fileExtension: b.name.split(".").pop(),
52445
52462
  elementId: `rename-${i.data.id}`,
52446
52463
  editing: !0,
52447
52464
  shared: g,
52448
52465
  sharedIndicatorClassName: C,
52449
- iconSize: rs,
52466
+ iconSize: as,
52450
52467
  validate: (T) => y(T, b),
52451
52468
  onSave: x,
52452
52469
  onCancel: R,
@@ -52490,7 +52507,7 @@ const Ow = ({
52490
52507
  name: i.data.name,
52491
52508
  shared: g,
52492
52509
  sharedIndicatorClassName: C,
52493
- iconSize: rs,
52510
+ iconSize: as,
52494
52511
  hideTooltip: f,
52495
52512
  isInvalidName: !!E,
52496
52513
  tooltipContent: E
@@ -52501,7 +52518,7 @@ const Ow = ({
52501
52518
  name: i.data.name,
52502
52519
  shared: g,
52503
52520
  sharedIndicatorClassName: C,
52504
- iconSize: rs,
52521
+ iconSize: as,
52505
52522
  hideTooltip: f,
52506
52523
  isInvalidName: !!E,
52507
52524
  tooltipContent: E
@@ -52662,7 +52679,7 @@ const hO = (e) => /* @__PURE__ */ m(K9, { ...e, children: /* @__PURE__ */ m(gO,
52662
52679
  currentPath: R,
52663
52680
  gridRows: F,
52664
52681
  selectedPaths: E,
52665
- selectedFiles: P,
52682
+ selectedFiles: D,
52666
52683
  clearSelection: T,
52667
52684
  setSelectedPaths: M,
52668
52685
  effectiveSearchValue: k,
@@ -52696,7 +52713,7 @@ const hO = (e) => /* @__PURE__ */ m(K9, { ...e, children: /* @__PURE__ */ m(gO,
52696
52713
  onRenameCancel: ke,
52697
52714
  onRenameValidate: Ke,
52698
52715
  forbiddenSymbolsRegExp: _e,
52699
- forbiddenSymbolsTooltip: je,
52716
+ forbiddenSymbolsTooltip: qe,
52700
52717
  getDisplayName: $t,
52701
52718
  isDragging: jt,
52702
52719
  isDraggingOverWindow: po,
@@ -52779,7 +52796,7 @@ const hO = (e) => /* @__PURE__ */ m(K9, { ...e, children: /* @__PURE__ */ m(gO,
52779
52796
  pt.Name,
52780
52797
  pt.Path,
52781
52798
  pt.Actions
52782
- ] : Tr, [hn, Tr]), vs = D(
52799
+ ] : Tr, [hn, Tr]), vs = P(
52783
52800
  (q, Be, ze) => {
52784
52801
  if (q.nodeType === Ee.FOLDER) return;
52785
52802
  const Tt = !q.contentLength || ze == null || q.contentLength <= ze;
@@ -52789,7 +52806,7 @@ const hO = (e) => /* @__PURE__ */ m(K9, { ...e, children: /* @__PURE__ */ m(gO,
52789
52806
  return Sr ?? `File is too large. Maximum size: ${rr(ze)}.`;
52790
52807
  },
52791
52808
  [Sr, yr]
52792
- ), li = D(
52809
+ ), li = P(
52793
52810
  (q, Be, ze) => !!vs(
52794
52811
  q,
52795
52812
  Be,
@@ -52801,28 +52818,28 @@ const hO = (e) => /* @__PURE__ */ m(K9, { ...e, children: /* @__PURE__ */ m(gO,
52801
52818
  for (const Be of F)
52802
52819
  li(Be, v, w) && q.add(Be.path);
52803
52820
  return q;
52804
- }, [v, w, F, li]), [Mo, Yo] = I(null), [bs, vn] = I(null);
52821
+ }, [v, w, F, li]), [Mo, Zo] = I(null), [bs, vn] = I(null);
52805
52822
  xe(() => {
52806
52823
  const q = () => {
52807
- Yo(null), vn(null);
52824
+ Zo(null), vn(null);
52808
52825
  };
52809
52826
  return window.addEventListener("scroll", q, !0), () => window.removeEventListener("scroll", q, !0);
52810
52827
  }, []);
52811
- const Xl = D(
52828
+ const Xl = P(
52812
52829
  (q) => {
52813
52830
  const Be = q.target.closest(
52814
52831
  ".ag-row"
52815
52832
  );
52816
52833
  if (!Be) {
52817
- Mo && Yo(null);
52834
+ Mo && Zo(null);
52818
52835
  return;
52819
52836
  }
52820
52837
  const ze = Be.getAttribute("row-id");
52821
- ze && ws.has(ze) ? Mo !== ze && (Yo(ze), vn(Be.getBoundingClientRect())) : Mo && Yo(null);
52838
+ ze && ws.has(ze) ? Mo !== ze && (Zo(ze), vn(Be.getBoundingClientRect())) : Mo && Zo(null);
52822
52839
  },
52823
52840
  [ws, Mo]
52824
- ), Ql = D(() => {
52825
- Yo(null), vn(null);
52841
+ ), Ql = P(() => {
52842
+ Zo(null), vn(null);
52826
52843
  }, []), Ss = G(() => {
52827
52844
  if (Mo)
52828
52845
  return F.find((q) => q.path === Mo);
@@ -52839,9 +52856,9 @@ const hO = (e) => /* @__PURE__ */ m(K9, { ...e, children: /* @__PURE__ */ m(gO,
52839
52856
  vs,
52840
52857
  v,
52841
52858
  w
52842
- ]), Mr = D(
52859
+ ]), Mr = P(
52843
52860
  (q) => {
52844
- const Be = [], ze = [], Tt = !q.parentPath, Zo = _e?.test(
52861
+ const Be = [], ze = [], Tt = !q.parentPath, Xo = _e?.test(
52845
52862
  q.name
52846
52863
  );
52847
52864
  return n?.actionLabels && (n.actionLabels[Q.AddSibling] && typeof le == "function" && q.nodeType === Ee.FOLDER && !Tt && Be.push({
@@ -52856,7 +52873,7 @@ const hO = (e) => /* @__PURE__ */ m(K9, { ...e, children: /* @__PURE__ */ m(gO,
52856
52873
  }
52857
52874
  ),
52858
52875
  onClick: () => le([q])
52859
- }), n.actionLabels[Q.AddChild] && typeof Y == "function" && q.nodeType === Ee.FOLDER && !Zo && Be.push({
52876
+ }), n.actionLabels[Q.AddChild] && typeof Y == "function" && q.nodeType === Ee.FOLDER && !Xo && Be.push({
52860
52877
  key: "addChild",
52861
52878
  label: n.actionLabels[Q.AddChild],
52862
52879
  icon: /* @__PURE__ */ m(
@@ -52868,12 +52885,12 @@ const hO = (e) => /* @__PURE__ */ m(K9, { ...e, children: /* @__PURE__ */ m(gO,
52868
52885
  }
52869
52886
  ),
52870
52887
  onClick: () => Y([q])
52871
- }), n.actionLabels[Q.Duplicate] && !Tt && !Zo && ze.push({
52888
+ }), n.actionLabels[Q.Duplicate] && !Tt && !Xo && ze.push({
52872
52889
  key: "duplicate",
52873
52890
  label: n.actionLabels[Q.Duplicate],
52874
52891
  icon: /* @__PURE__ */ m(au, { ...ee, className: "text-secondary" }),
52875
52892
  onClick: () => ce([q])
52876
- }), n.actionLabels[Q.Copy] && !Tt && !Zo && ze.push({
52893
+ }), n.actionLabels[Q.Copy] && !Tt && !Xo && ze.push({
52877
52894
  key: dt.Copy,
52878
52895
  label: n.actionLabels[Q.Copy],
52879
52896
  icon: /* @__PURE__ */ m(
@@ -52887,7 +52904,7 @@ const hO = (e) => /* @__PURE__ */ m(K9, { ...e, children: /* @__PURE__ */ m(gO,
52887
52904
  onClick: () => {
52888
52905
  we([q]), z(dt.Copy);
52889
52906
  }
52890
- }), n.actionLabels[Q.Move] && !Tt && !Zo && ze.push({
52907
+ }), n.actionLabels[Q.Move] && !Tt && !Xo && ze.push({
52891
52908
  key: dt.Move,
52892
52909
  label: n.actionLabels[Q.Move],
52893
52910
  icon: /* @__PURE__ */ m(
@@ -52901,7 +52918,7 @@ const hO = (e) => /* @__PURE__ */ m(K9, { ...e, children: /* @__PURE__ */ m(gO,
52901
52918
  onClick: () => {
52902
52919
  Pe([q]), z(dt.Move);
52903
52920
  }
52904
- }), n.actionLabels[Q.Download] && !Tt && !Zo && ze.push({
52921
+ }), n.actionLabels[Q.Download] && !Tt && !Xo && ze.push({
52905
52922
  key: "download",
52906
52923
  label: n.actionLabels[Q.Download],
52907
52924
  icon: /* @__PURE__ */ m(lu, { ...ee, className: "text-secondary" }),
@@ -52982,14 +52999,14 @@ const hO = (e) => /* @__PURE__ */ m(K9, { ...e, children: /* @__PURE__ */ m(gO,
52982
52999
  ]
52983
53000
  ), Jl = G(() => {
52984
53001
  const q = /* @__PURE__ */ new Set();
52985
- return P.forEach((Be, ze) => q.add(ze)), q;
52986
- }, [P]), Ir = D(
53002
+ return D.forEach((Be, ze) => q.add(ze)), q;
53003
+ }, [D]), Ir = P(
52987
53004
  (q, Be) => {
52988
53005
  M(q), N?.(Be);
52989
53006
  },
52990
53007
  [N, M]
52991
53008
  ), Ar = Q9({
52992
- selectedFiles: P,
53009
+ selectedFiles: D,
52993
53010
  actionLabels: d?.actionLabels,
52994
53011
  onDuplicate: ce,
52995
53012
  onCopy: (q) => {
@@ -53006,7 +53023,7 @@ const hO = (e) => /* @__PURE__ */ m(K9, { ...e, children: /* @__PURE__ */ m(gO,
53006
53023
  sharedWithMeIds: ii,
53007
53024
  sharedByMePaths: C,
53008
53025
  onClearSelection: T
53009
- }), ec = D(() => c && E.size === 0 ? /* @__PURE__ */ V(
53026
+ }), ec = P(() => c && E.size === 0 ? /* @__PURE__ */ V(
53010
53027
  "div",
53011
53028
  {
53012
53029
  className: qp,
@@ -53063,7 +53080,7 @@ const hO = (e) => /* @__PURE__ */ m(K9, { ...e, children: /* @__PURE__ */ m(gO,
53063
53080
  }),
53064
53081
  [fo]
53065
53082
  );
53066
- const tc = D(() => Gt ? null : /* @__PURE__ */ m(
53083
+ const tc = P(() => Gt ? null : /* @__PURE__ */ m(
53067
53084
  "aside",
53068
53085
  {
53069
53086
  role: "region",
@@ -53099,7 +53116,7 @@ const hO = (e) => /* @__PURE__ */ m(K9, { ...e, children: /* @__PURE__ */ m(gO,
53099
53116
  selectedPath: R,
53100
53117
  sharedByMePaths: C,
53101
53118
  forbiddenSymbolsRegExp: _e,
53102
- forbiddenSymbolsTooltip: je,
53119
+ forbiddenSymbolsTooltip: qe,
53103
53120
  onItemClick: $,
53104
53121
  areHiddenFilesVisible: b,
53105
53122
  getContextMenuItems: Mr,
@@ -53129,7 +53146,7 @@ const hO = (e) => /* @__PURE__ */ m(K9, { ...e, children: /* @__PURE__ */ m(gO,
53129
53146
  R,
53130
53147
  C,
53131
53148
  _e,
53132
- je,
53149
+ qe,
53133
53150
  $,
53134
53151
  b,
53135
53152
  Mr,
@@ -53163,13 +53180,13 @@ const hO = (e) => /* @__PURE__ */ m(K9, { ...e, children: /* @__PURE__ */ m(gO,
53163
53180
  isRenameFileAvailable: at,
53164
53181
  isDuplicateFolderAvailable: Gl,
53165
53182
  forbiddenSymbolsRegExp: _e
53166
- }), ci = D(
53183
+ }), ci = P(
53167
53184
  (q) => {
53168
53185
  const Be = $s(o, q.path);
53169
53186
  return Be ? kr(Be) : [];
53170
53187
  },
53171
53188
  [o, kr]
53172
- ), ys = D(
53189
+ ), ys = P(
53173
53190
  (q, Be, ze) => Cn ? !1 : li(q, Be, ze),
53174
53191
  [Cn, li]
53175
53192
  ), { actionsColumnDef: Lr } = tO({
@@ -53188,14 +53205,14 @@ const hO = (e) => /* @__PURE__ */ m(K9, { ...e, children: /* @__PURE__ */ m(gO,
53188
53205
  actionsColumnDef: Lr,
53189
53206
  rootItemLabel: s?.label,
53190
53207
  rootItemPath: s?.path
53191
- }), oc = D(
53208
+ }), oc = P(
53192
53209
  (q) => {
53193
53210
  q.colDef.colId === "ag-Grid-SelectionColumn" || q.colDef.colId === pt.Actions || Se && q.data?.path === Se || q.data?.isTemporary || Cs && Cs.includes(
53194
53211
  q.colDef.colId
53195
53212
  ) || q.data && K(q.data);
53196
53213
  },
53197
53214
  [Se, K, Cs]
53198
- ), sc = D(
53215
+ ), sc = P(
53199
53216
  () => /* @__PURE__ */ m(
53200
53217
  il,
53201
53218
  {
@@ -53315,7 +53332,7 @@ const hO = (e) => /* @__PURE__ */ m(K9, { ...e, children: /* @__PURE__ */ m(gO,
53315
53332
  selectedPaths: E,
53316
53333
  disabledRowIds: ws,
53317
53334
  forbiddenSymbolsRegExp: _e,
53318
- forbiddenSymbolsTooltip: je
53335
+ forbiddenSymbolsTooltip: qe
53319
53336
  }
53320
53337
  },
53321
53338
  selectedRowIds: Jl,
@@ -53555,7 +53572,7 @@ export {
53555
53572
  St as DialEllipsisTooltip,
53556
53573
  qL as DialErrorButton,
53557
53574
  YL as DialErrorIconButton,
53558
- as as DialErrorText,
53575
+ Go as DialErrorText,
53559
53576
  _f as DialFileIcon,
53560
53577
  hO as DialFileManager,
53561
53578
  Q as DialFileManagerActions,
@@ -53581,13 +53598,13 @@ export {
53581
53598
  _7 as DialLoadFileArea,
53582
53599
  $O as DialLoadFileAreaField,
53583
53600
  sl as DialLoader,
53584
- Uo as DialNeutralButton,
53601
+ $o as DialNeutralButton,
53585
53602
  kO as DialNeutralIconButton,
53586
53603
  il as DialNoDataContent,
53587
53604
  zO as DialNumberInput,
53588
53605
  WO as DialPasswordInput,
53589
53606
  on as DialPopup,
53590
- Wo as DialPrimaryButton,
53607
+ _o as DialPrimaryButton,
53591
53608
  AO as DialPrimaryIconButton,
53592
53609
  Tf as DialRadioButton,
53593
53610
  gd as DialRadioGroup,