@purpurds/table 6.12.1 → 6.12.3

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.
package/dist/table.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as d, jsxs as C, Fragment as H } from "react/jsx-runtime";
2
2
  import * as c from "react";
3
- import eo, { forwardRef as G, useState as L, useRef as ie, useCallback as to, cloneElement as Tp, useEffect as Q, isValidElement as Dp, useLayoutEffect as $u, useId as xu, createContext as Lp, useContext as Ip, Children as jp } from "react";
3
+ import eo, { forwardRef as G, useState as L, useRef as ie, useCallback as to, cloneElement as Tp, useEffect as Q, isValidElement as Dp, useLayoutEffect as $u, useId as xu, createContext as Lp, useContext as Ip, Children as zp } from "react";
4
4
  import * as Mo from "react-dom";
5
5
  import Su from "react-dom";
6
6
  /**
@@ -40,10 +40,10 @@ function ae(e, n) {
40
40
  function Qr(e) {
41
41
  return e instanceof Function;
42
42
  }
43
- function Vp(e) {
43
+ function jp(e) {
44
44
  return Array.isArray(e) && e.every((n) => typeof n == "number");
45
45
  }
46
- function zp(e, n) {
46
+ function Vp(e, n) {
47
47
  const r = [], o = (i) => {
48
48
  i.forEach((t) => {
49
49
  r.push(t);
@@ -293,7 +293,7 @@ const Fo = (e, n, r, o, i, t, a) => {
293
293
  return (s = l.getValue(u)) != null ? s : e.options.renderFallbackValue;
294
294
  },
295
295
  subRows: [],
296
- getLeafRows: () => zp(l.subRows, (u) => u.subRows),
296
+ getLeafRows: () => Vp(l.subRows, (u) => u.subRows),
297
297
  getParentRow: () => l.parentId ? e.getRow(l.parentId, !0) : void 0,
298
298
  getParentRows: () => {
299
299
  let u = [], s = l;
@@ -491,7 +491,7 @@ const Zp = (e, n, r) => r.reduce((o, i) => {
491
491
  if (!n.length)
492
492
  return;
493
493
  const r = n.map((t) => t.getValue(e));
494
- if (!Vp(r))
494
+ if (!jp(r))
495
495
  return;
496
496
  if (r.length === 1)
497
497
  return r[0];
@@ -1407,7 +1407,7 @@ function Mu(e, n) {
1407
1407
  }
1408
1408
  return r.length - o.length;
1409
1409
  }
1410
- const jt = {
1410
+ const zt = {
1411
1411
  alphanumeric: hd,
1412
1412
  alphanumericCaseSensitive: vd,
1413
1413
  text: md,
@@ -1434,11 +1434,11 @@ const jt = {
1434
1434
  for (const i of r) {
1435
1435
  const t = i == null ? void 0 : i.getValue(e.id);
1436
1436
  if (Object.prototype.toString.call(t) === "[object Date]")
1437
- return jt.datetime;
1437
+ return zt.datetime;
1438
1438
  if (typeof t == "string" && (o = !0, t.split(ao).length > 1))
1439
- return jt.alphanumeric;
1439
+ return zt.alphanumeric;
1440
1440
  }
1441
- return o ? jt.text : jt.basic;
1441
+ return o ? zt.text : zt.basic;
1442
1442
  }, e.getAutoSortDir = () => {
1443
1443
  const r = n.getFilteredRowModel().flatRows[0];
1444
1444
  return typeof (r == null ? void 0 : r.getValue(e.id)) == "string" ? "asc" : "desc";
@@ -1446,7 +1446,7 @@ const jt = {
1446
1446
  var r, o;
1447
1447
  if (!e)
1448
1448
  throw new Error();
1449
- return Qr(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : (r = (o = n.options.sortingFns) == null ? void 0 : o[e.columnDef.sortingFn]) != null ? r : jt[e.columnDef.sortingFn];
1449
+ return Qr(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : (r = (o = n.options.sortingFns) == null ? void 0 : o[e.columnDef.sortingFn]) != null ? r : zt[e.columnDef.sortingFn];
1450
1450
  }, e.toggleSorting = (r, o) => {
1451
1451
  const i = e.getNextSortingOrder(), t = typeof r < "u" && r !== null;
1452
1452
  n.setSorting((a) => {
@@ -1958,8 +1958,8 @@ function Id() {
1958
1958
  })();
1959
1959
  }(fi)), fi.exports;
1960
1960
  }
1961
- var jd = Id();
1962
- const Vd = /* @__PURE__ */ Ld(jd), Er = {
1961
+ var zd = Id();
1962
+ const jd = /* @__PURE__ */ Ld(zd), Er = {
1963
1963
  "purpur-heading": "_purpur-heading_k9fhq_1",
1964
1964
  "purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
1965
1965
  "purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
@@ -1975,7 +1975,7 @@ const Vd = /* @__PURE__ */ Ld(jd), Er = {
1975
1975
  "purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
1976
1976
  "purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
1977
1977
  "purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
1978
- }, zd = {
1978
+ }, Vd = {
1979
1979
  TITLE100: "title-100"
1980
1980
  }, Nr = "purpur-heading", en = ({
1981
1981
  children: e,
@@ -1983,10 +1983,10 @@ const Vd = /* @__PURE__ */ Ld(jd), Er = {
1983
1983
  enableHyphenation: r = !1,
1984
1984
  negative: o = !1,
1985
1985
  tag: i,
1986
- variant: t = zd.TITLE100,
1986
+ variant: t = Vd.TITLE100,
1987
1987
  ...a
1988
1988
  }) => {
1989
- const l = i, u = Vd([
1989
+ const l = i, u = jd([
1990
1990
  n,
1991
1991
  Er[Nr],
1992
1992
  Er[`${Nr}--${t}`],
@@ -2041,7 +2041,7 @@ function Hd() {
2041
2041
  }(_i)), _i.exports;
2042
2042
  }
2043
2043
  var Bd = Hd();
2044
- const Wd = /* @__PURE__ */ qd(Bd), Vt = {
2044
+ const Wd = /* @__PURE__ */ qd(Bd), jt = {
2045
2045
  "purpur-paragraph": "_purpur-paragraph_1rh57_1",
2046
2046
  "purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
2047
2047
  "purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
@@ -2058,7 +2058,7 @@ const Wd = /* @__PURE__ */ qd(Bd), Vt = {
2058
2058
  "purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
2059
2059
  }, Gd = {
2060
2060
  PARAGRAPH100: "paragraph-100"
2061
- }, zt = "purpur-paragraph", se = ({
2061
+ }, Vt = "purpur-paragraph", se = ({
2062
2062
  ["data-testid"]: e,
2063
2063
  children: n,
2064
2064
  className: r,
@@ -2070,12 +2070,12 @@ const Wd = /* @__PURE__ */ qd(Bd), Vt = {
2070
2070
  }) => {
2071
2071
  const u = Wd([
2072
2072
  r,
2073
- Vt[zt],
2074
- Vt[`${zt}--${a}`],
2073
+ jt[Vt],
2074
+ jt[`${Vt}--${a}`],
2075
2075
  {
2076
- [Vt[`${zt}--hyphens`]]: i,
2077
- [Vt[`${zt}--disabled`]]: o,
2078
- [Vt[`${zt}--negative`]]: t
2076
+ [jt[`${Vt}--hyphens`]]: i,
2077
+ [jt[`${Vt}--disabled`]]: o,
2078
+ [jt[`${Vt}--negative`]]: t
2079
2079
  }
2080
2080
  ]);
2081
2081
  return /* @__PURE__ */ d("p", { ...l, className: u, "data-testid": e, children: n });
@@ -2124,52 +2124,52 @@ function Ud() {
2124
2124
  }(Cn)), Cn.exports;
2125
2125
  }
2126
2126
  var Xd = Ud();
2127
- const z = /* @__PURE__ */ Zd(Xd), Z = {
2128
- "purpur-table": "_purpur-table_1l370_1",
2129
- "purpur-table__container": "_purpur-table__container_1l370_13",
2130
- "purpur-table-column-header-cell__first-header-visible": "_purpur-table-column-header-cell__first-header-visible_1l370_17",
2131
- "purpur-table-column-header-cell__last-header-visible": "_purpur-table-column-header-cell__last-header-visible_1l370_20",
2132
- "purpur-table-row-cell__last-row-first-cell-visible": "_purpur-table-row-cell__last-row-first-cell-visible_1l370_23",
2133
- "purpur-table-row-cell__last-row-last-cell-visible": "_purpur-table-row-cell__last-row-last-cell-visible_1l370_26",
2134
- "purpur-table__table": "_purpur-table__table_1l370_30",
2135
- "purpur-table-header": "_purpur-table-header_1l370_37",
2136
- "purpur-table-column-header-cell": "_purpur-table-column-header-cell_1l370_17",
2137
- "purpur-table-column-header-cell__sticky-header": "_purpur-table-column-header-cell__sticky-header_1l370_46",
2138
- "purpur-table-column-header-cell__sticky-column": "_purpur-table-column-header-cell__sticky-column_1l370_52",
2139
- "purpur-table-header--has-filters": "_purpur-table-header--has-filters_1l370_55",
2140
- "purpur-table-row": "_purpur-table-row_1l370_23",
2141
- "purpur-table-column-header-cell__checkbox": "_purpur-table-column-header-cell__checkbox_1l370_64",
2142
- "purpur-table-column-header-cell__border-radius-first-cell": "_purpur-table-column-header-cell__border-radius-first-cell_1l370_67",
2143
- "purpur-table-column-header-cell__border-radius-last-cell": "_purpur-table-column-header-cell__border-radius-last-cell_1l370_70",
2144
- "purpur-table-column-header-cell__content": "_purpur-table-column-header-cell__content_1l370_73",
2145
- "purpur-table-column-header-cell__title": "_purpur-table-column-header-cell__title_1l370_79",
2146
- "purpur-table-column-header-cell__sortable-title": "_purpur-table-column-header-cell__sortable-title_1l370_85",
2147
- "purpur-table-column-header-cell__filter-wrapper": "_purpur-table-column-header-cell__filter-wrapper_1l370_88",
2148
- "purpur-table-row-cell": "_purpur-table-row-cell_1l370_23",
2149
- "purpur-table-row-cell__border-radius-first-cell": "_purpur-table-row-cell__border-radius-first-cell_1l370_103",
2150
- "purpur-table-row-cell__border-radius-last-cell": "_purpur-table-row-cell__border-radius-last-cell_1l370_106",
2151
- "purpur-table-row-cell__row-selection": "_purpur-table-row-cell__row-selection_1l370_112",
2152
- "purpur-table-row-cell__row-toggle": "_purpur-table-row-cell__row-toggle_1l370_112",
2153
- "purpur-table-row--selected": "_purpur-table-row--selected_1l370_121",
2154
- "purpur-table-row-cell__sticky-column": "_purpur-table-row-cell__sticky-column_1l370_132",
2155
- "purpur-table-column-header-cell__sticky-column__with-sticky-border": "_purpur-table-column-header-cell__sticky-column__with-sticky-border_1l370_143",
2156
- "purpur-table-row-cell__sticky-column__with-sticky-border": "_purpur-table-row-cell__sticky-column__with-sticky-border_1l370_144",
2157
- "purpur-table-row-cell__date": "_purpur-table-row-cell__date_1l370_157",
2158
- "purpur-table-row-cell__icon-text": "_purpur-table-row-cell__icon-text_1l370_163",
2159
- "purpur-table-row-cell__error-message": "_purpur-table-row-cell__error-message_1l370_170",
2160
- "purpur-table-row-cell__warning-message": "_purpur-table-row-cell__warning-message_1l370_170",
2161
- "purpur-table-row-cell__right-align": "_purpur-table-row-cell__right-align_1l370_202",
2162
- "purpur-table-row-cell__truncate": "_purpur-table-row-cell__truncate_1l370_205",
2163
- "purpur-table-row-cell__skeleton": "_purpur-table-row-cell__skeleton_1l370_221",
2164
- "purpur-table-row-cell__tooltip-content": "_purpur-table-row-cell__tooltip-content_1l370_225",
2165
- "purpur-table--primary": "_purpur-table--primary_1l370_229",
2166
- "purpur-table-body": "_purpur-table-body_1l370_232",
2167
- "purpur-table--secondary": "_purpur-table--secondary_1l370_239",
2168
- "purpur-table__empty-section": "_purpur-table__empty-section_1l370_249",
2169
- "purpur-table__empty-section__icon": "_purpur-table__empty-section__icon_1l370_258",
2170
- "purpur-table__empty-section__texts": "_purpur-table__empty-section__texts_1l370_264",
2171
- "purpur-table__empty-section--primary": "_purpur-table__empty-section--primary_1l370_271",
2172
- "purpur-table__empty-section--secondary": "_purpur-table__empty-section--secondary_1l370_274"
2127
+ const V = /* @__PURE__ */ Zd(Xd), Z = {
2128
+ "purpur-table": "_purpur-table_dsz58_1",
2129
+ "purpur-table__container": "_purpur-table__container_dsz58_13",
2130
+ "purpur-table-column-header-cell__first-header-visible": "_purpur-table-column-header-cell__first-header-visible_dsz58_17",
2131
+ "purpur-table-column-header-cell__last-header-visible": "_purpur-table-column-header-cell__last-header-visible_dsz58_20",
2132
+ "purpur-table-row-cell__last-row-first-cell-visible": "_purpur-table-row-cell__last-row-first-cell-visible_dsz58_23",
2133
+ "purpur-table-row-cell__last-row-last-cell-visible": "_purpur-table-row-cell__last-row-last-cell-visible_dsz58_26",
2134
+ "purpur-table__table": "_purpur-table__table_dsz58_30",
2135
+ "purpur-table-header": "_purpur-table-header_dsz58_37",
2136
+ "purpur-table-column-header-cell": "_purpur-table-column-header-cell_dsz58_17",
2137
+ "purpur-table-column-header-cell__sticky-header": "_purpur-table-column-header-cell__sticky-header_dsz58_46",
2138
+ "purpur-table-column-header-cell__sticky-column": "_purpur-table-column-header-cell__sticky-column_dsz58_52",
2139
+ "purpur-table-header--has-filters": "_purpur-table-header--has-filters_dsz58_55",
2140
+ "purpur-table-row": "_purpur-table-row_dsz58_23",
2141
+ "purpur-table-column-header-cell__checkbox": "_purpur-table-column-header-cell__checkbox_dsz58_64",
2142
+ "purpur-table-column-header-cell__border-radius-first-cell": "_purpur-table-column-header-cell__border-radius-first-cell_dsz58_67",
2143
+ "purpur-table-column-header-cell__border-radius-last-cell": "_purpur-table-column-header-cell__border-radius-last-cell_dsz58_70",
2144
+ "purpur-table-column-header-cell__content": "_purpur-table-column-header-cell__content_dsz58_73",
2145
+ "purpur-table-column-header-cell__title": "_purpur-table-column-header-cell__title_dsz58_79",
2146
+ "purpur-table-column-header-cell__sortable-title": "_purpur-table-column-header-cell__sortable-title_dsz58_85",
2147
+ "purpur-table-column-header-cell__filter-wrapper": "_purpur-table-column-header-cell__filter-wrapper_dsz58_88",
2148
+ "purpur-table-row-cell": "_purpur-table-row-cell_dsz58_23",
2149
+ "purpur-table-row-cell__border-radius-first-cell": "_purpur-table-row-cell__border-radius-first-cell_dsz58_103",
2150
+ "purpur-table-row-cell__border-radius-last-cell": "_purpur-table-row-cell__border-radius-last-cell_dsz58_106",
2151
+ "purpur-table-row-cell__row-selection": "_purpur-table-row-cell__row-selection_dsz58_112",
2152
+ "purpur-table-row-cell__row-toggle": "_purpur-table-row-cell__row-toggle_dsz58_112",
2153
+ "purpur-table-row--selected": "_purpur-table-row--selected_dsz58_121",
2154
+ "purpur-table-row-cell__sticky-column": "_purpur-table-row-cell__sticky-column_dsz58_132",
2155
+ "purpur-table-column-header-cell__sticky-column__with-sticky-border": "_purpur-table-column-header-cell__sticky-column__with-sticky-border_dsz58_143",
2156
+ "purpur-table-row-cell__sticky-column__with-sticky-border": "_purpur-table-row-cell__sticky-column__with-sticky-border_dsz58_144",
2157
+ "purpur-table-row-cell__date": "_purpur-table-row-cell__date_dsz58_157",
2158
+ "purpur-table-row-cell__icon-text": "_purpur-table-row-cell__icon-text_dsz58_163",
2159
+ "purpur-table-row-cell__error-message": "_purpur-table-row-cell__error-message_dsz58_170",
2160
+ "purpur-table-row-cell__warning-message": "_purpur-table-row-cell__warning-message_dsz58_170",
2161
+ "purpur-table-row-cell__right-align": "_purpur-table-row-cell__right-align_dsz58_202",
2162
+ "purpur-table-row-cell__truncate": "_purpur-table-row-cell__truncate_dsz58_205",
2163
+ "purpur-table-row-cell__skeleton": "_purpur-table-row-cell__skeleton_dsz58_228",
2164
+ "purpur-table-row-cell__tooltip-content": "_purpur-table-row-cell__tooltip-content_dsz58_232",
2165
+ "purpur-table--primary": "_purpur-table--primary_dsz58_236",
2166
+ "purpur-table-body": "_purpur-table-body_dsz58_239",
2167
+ "purpur-table--secondary": "_purpur-table--secondary_dsz58_246",
2168
+ "purpur-table__empty-section": "_purpur-table__empty-section_dsz58_256",
2169
+ "purpur-table__empty-section__icon": "_purpur-table__empty-section__icon_dsz58_265",
2170
+ "purpur-table__empty-section__texts": "_purpur-table__empty-section__texts_dsz58_271",
2171
+ "purpur-table__empty-section--primary": "_purpur-table__empty-section--primary_dsz58_278",
2172
+ "purpur-table__empty-section--secondary": "_purpur-table__empty-section--secondary_dsz58_281"
2173
2173
  }, Yd = {
2174
2174
  LG: "lg"
2175
2175
  };
@@ -2663,8 +2663,8 @@ function If() {
2663
2663
  })();
2664
2664
  }(Pi)), Pi.exports;
2665
2665
  }
2666
- var jf = If();
2667
- const Vf = /* @__PURE__ */ Lf(jf), Bt = {
2666
+ var zf = If();
2667
+ const jf = /* @__PURE__ */ Lf(zf), Bt = {
2668
2668
  "purpur-paragraph": "_purpur-paragraph_1rh57_1",
2669
2669
  "purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
2670
2670
  "purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
@@ -2679,7 +2679,7 @@ const Vf = /* @__PURE__ */ Lf(jf), Bt = {
2679
2679
  "purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
2680
2680
  "purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
2681
2681
  "purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
2682
- }, zf = {
2682
+ }, Vf = {
2683
2683
  PARAGRAPH100: "paragraph-100"
2684
2684
  }, Wt = "purpur-paragraph", Iu = ({
2685
2685
  ["data-testid"]: e,
@@ -2688,10 +2688,10 @@ const Vf = /* @__PURE__ */ Lf(jf), Bt = {
2688
2688
  disabled: o,
2689
2689
  enableHyphenation: i = !1,
2690
2690
  negative: t = !1,
2691
- variant: a = zf.PARAGRAPH100,
2691
+ variant: a = Vf.PARAGRAPH100,
2692
2692
  ...l
2693
2693
  }) => {
2694
- const u = Vf([
2694
+ const u = jf([
2695
2695
  r,
2696
2696
  Bt[Wt],
2697
2697
  Bt[`${Wt}--${a}`],
@@ -2715,7 +2715,7 @@ function Oi(e, n) {
2715
2715
  return e(n);
2716
2716
  e != null && (e.current = n);
2717
2717
  }
2718
- function ju(...e) {
2718
+ function zu(...e) {
2719
2719
  return (n) => {
2720
2720
  let r = !1;
2721
2721
  const o = e.map((i) => {
@@ -2732,7 +2732,7 @@ function ju(...e) {
2732
2732
  };
2733
2733
  }
2734
2734
  function Hf(...e) {
2735
- return c.useCallback(ju(...e), e);
2735
+ return c.useCallback(zu(...e), e);
2736
2736
  }
2737
2737
  function Bf(e, n = []) {
2738
2738
  let r = [];
@@ -2784,7 +2784,7 @@ function Wf(...e) {
2784
2784
  };
2785
2785
  return r.scopeName = n.scopeName, r;
2786
2786
  }
2787
- function Vu(e) {
2787
+ function ju(e) {
2788
2788
  const n = c.useRef(e);
2789
2789
  return c.useEffect(() => {
2790
2790
  n.current = e;
@@ -2799,7 +2799,7 @@ function Gf({
2799
2799
  onChange: r = () => {
2800
2800
  }
2801
2801
  }) {
2802
- const [o, i] = Zf({ defaultProp: n, onChange: r }), t = e !== void 0, a = t ? e : o, l = Vu(r), u = c.useCallback(
2802
+ const [o, i] = Zf({ defaultProp: n, onChange: r }), t = e !== void 0, a = t ? e : o, l = ju(r), u = c.useCallback(
2803
2803
  (s) => {
2804
2804
  if (t) {
2805
2805
  const p = typeof s == "function" ? s(e) : s;
@@ -2815,7 +2815,7 @@ function Zf({
2815
2815
  defaultProp: e,
2816
2816
  onChange: n
2817
2817
  }) {
2818
- const r = c.useState(e), [o] = r, i = c.useRef(o), t = Vu(n);
2818
+ const r = c.useState(e), [o] = r, i = c.useRef(o), t = ju(n);
2819
2819
  return c.useEffect(() => {
2820
2820
  i.current !== o && (t(o), i.current = o);
2821
2821
  }, [o, i, t]), r;
@@ -2848,7 +2848,7 @@ function Yf(e) {
2848
2848
  r(void 0);
2849
2849
  }, [e]), n;
2850
2850
  }
2851
- var zu = c.forwardRef((e, n) => {
2851
+ var Vu = c.forwardRef((e, n) => {
2852
2852
  const { children: r, ...o } = e, i = c.Children.toArray(r), t = i.find(Jf);
2853
2853
  if (t) {
2854
2854
  const a = t.props.children, l = i.map((u) => u === t ? c.Children.count(a) > 1 ? c.Children.only(null) : c.isValidElement(a) ? a.props.children : null : u);
@@ -2856,12 +2856,12 @@ var zu = c.forwardRef((e, n) => {
2856
2856
  }
2857
2857
  return /* @__PURE__ */ d(uo, { ...o, ref: n, children: r });
2858
2858
  });
2859
- zu.displayName = "Slot";
2859
+ Vu.displayName = "Slot";
2860
2860
  var uo = c.forwardRef((e, n) => {
2861
2861
  const { children: r, ...o } = e;
2862
2862
  if (c.isValidElement(r)) {
2863
2863
  const i = eg(r), t = Qf(o, r.props);
2864
- return r.type !== c.Fragment && (t.ref = n ? ju(n, i) : i), c.cloneElement(r, t);
2864
+ return r.type !== c.Fragment && (t.ref = n ? zu(n, i) : i), c.cloneElement(r, t);
2865
2865
  }
2866
2866
  return c.Children.count(r) > 1 ? c.Children.only(null) : null;
2867
2867
  });
@@ -2904,7 +2904,7 @@ var tg = [
2904
2904
  "ul"
2905
2905
  ], qu = tg.reduce((e, n) => {
2906
2906
  const r = c.forwardRef((o, i) => {
2907
- const { asChild: t, ...a } = o, l = t ? zu : n;
2907
+ const { asChild: t, ...a } = o, l = t ? Vu : n;
2908
2908
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ d(l, { ...a, ref: i });
2909
2909
  });
2910
2910
  return r.displayName = `Primitive.${n}`, { ...e, [n]: r };
@@ -3232,7 +3232,7 @@ const fg = ({ checked: e, onChange: n }) => {
3232
3232
  ] });
3233
3233
  }, tn = G(gg);
3234
3234
  tn.displayName = "Toggle";
3235
- const zr = {
3235
+ const Vr = {
3236
3236
  "purpur-table-action-bar": "_purpur-table-action-bar_1gs9x_1",
3237
3237
  "purpur-table-action-bar--is-visible": "_purpur-table-action-bar--is-visible_1gs9x_20",
3238
3238
  "purpur-table-action-bar__selected-wrapper": "_purpur-table-action-bar__selected-wrapper_1gs9x_24",
@@ -3249,7 +3249,7 @@ const zr = {
3249
3249
  }
3250
3250
  return window.addEventListener("resize", o), o(), () => window.removeEventListener("resize", o);
3251
3251
  }, []), { isLgOrSmaller: e };
3252
- }, Gt = "purpur-table-action-bar", Pr = z.bind(zr), dt = "purpur-table-action-bar", mg = ({
3252
+ }, Gt = "purpur-table-action-bar", Pr = V.bind(Vr), dt = "purpur-table-action-bar", mg = ({
3253
3253
  rowCount: e,
3254
3254
  selectedRowsCount: n,
3255
3255
  copy: r,
@@ -3266,7 +3266,7 @@ const zr = {
3266
3266
  "data-testid": dt,
3267
3267
  className: Pr(Gt, { [`${Gt}--is-visible`]: o }),
3268
3268
  children: [
3269
- /* @__PURE__ */ C("div", { className: Pr(zr[`${Gt}__selected-wrapper`]), children: [
3269
+ /* @__PURE__ */ C("div", { className: Pr(Vr[`${Gt}__selected-wrapper`]), children: [
3270
3270
  /* @__PURE__ */ C(se, { "data-testid": `${dt}-selected-text`, children: [
3271
3271
  /* @__PURE__ */ d("span", { children: n }),
3272
3272
  " ",
@@ -3286,7 +3286,7 @@ const zr = {
3286
3286
  }
3287
3287
  )
3288
3288
  ] }),
3289
- /* @__PURE__ */ C("div", { className: Pr(zr[`${Gt}__button-group`]), children: [
3289
+ /* @__PURE__ */ C("div", { className: Pr(Vr[`${Gt}__button-group`]), children: [
3290
3290
  /* @__PURE__ */ d(
3291
3291
  ne,
3292
3292
  {
@@ -3297,7 +3297,7 @@ const zr = {
3297
3297
  children: r.buttons.cancel
3298
3298
  }
3299
3299
  ),
3300
- /* @__PURE__ */ C("div", { className: Pr(zr[`${Gt}__primary-secondary-buttons`]), children: [
3300
+ /* @__PURE__ */ C("div", { className: Pr(Vr[`${Gt}__primary-secondary-buttons`]), children: [
3301
3301
  l && r.buttons.secondary && /* @__PURE__ */ d(
3302
3302
  ne,
3303
3303
  {
@@ -3323,7 +3323,7 @@ const zr = {
3323
3323
  ]
3324
3324
  }
3325
3325
  );
3326
- }, wg = z.bind(Z), yg = "purpur-table-body", bg = ({ children: e, className: n, ...r }) => {
3326
+ }, wg = V.bind(Z), yg = "purpur-table-body", bg = ({ children: e, className: n, ...r }) => {
3327
3327
  const o = wg([n, yg]);
3328
3328
  return /* @__PURE__ */ d("tbody", { className: o, ...r, children: e });
3329
3329
  };
@@ -3336,9 +3336,9 @@ var Ii = { exports: {} };
3336
3336
  Licensed under the MIT License (MIT), see
3337
3337
  http://jedwatson.github.io/classnames
3338
3338
  */
3339
- var ji;
3339
+ var zi;
3340
3340
  function xg() {
3341
- return ji || (ji = 1, function(e) {
3341
+ return zi || (zi = 1, function(e) {
3342
3342
  (function() {
3343
3343
  var n = {}.hasOwnProperty;
3344
3344
  function r() {
@@ -3378,7 +3378,7 @@ const Cg = /* @__PURE__ */ $g(Sg), Rg = {
3378
3378
  "purpur-icon--md": "_purpur-icon--md_8u1lq_16",
3379
3379
  "purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
3380
3380
  "purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
3381
- }, Eg = Cg.bind(Rg), Vi = "purpur-icon", Ng = "md", Pg = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), kg = ({ content: e = "", title: n } = {}) => {
3381
+ }, Eg = Cg.bind(Rg), ji = "purpur-icon", Ng = "md", Pg = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), kg = ({ content: e = "", title: n } = {}) => {
3382
3382
  const r = [
3383
3383
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
3384
3384
  { name: "fill", value: "currentColor" },
@@ -3397,7 +3397,7 @@ const Cg = /* @__PURE__ */ $g(Sg), Rg = {
3397
3397
  const a = kg({
3398
3398
  content: Og(n.svg),
3399
3399
  title: r
3400
- }), l = Eg(o, Vi, `${Vi}--${i}`);
3400
+ }), l = Eg(o, ji, `${ji}--${i}`);
3401
3401
  return /* @__PURE__ */ d(
3402
3402
  "span",
3403
3403
  {
@@ -3419,7 +3419,7 @@ const Ag = {
3419
3419
  function Mg(e) {
3420
3420
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
3421
3421
  }
3422
- var zi = { exports: {} };
3422
+ var Vi = { exports: {} };
3423
3423
  /*!
3424
3424
  Copyright (c) 2018 Jed Watson.
3425
3425
  Licensed under the MIT License (MIT), see
@@ -3456,7 +3456,7 @@ function Fg() {
3456
3456
  }
3457
3457
  e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
3458
3458
  })();
3459
- }(zi)), zi.exports;
3459
+ }(Vi)), Vi.exports;
3460
3460
  }
3461
3461
  var Tg = Fg();
3462
3462
  const Dg = /* @__PURE__ */ Mg(Tg), Hi = {
@@ -3490,7 +3490,7 @@ var Wi = { exports: {} };
3490
3490
  http://jedwatson.github.io/classnames
3491
3491
  */
3492
3492
  var Gi;
3493
- function jg() {
3493
+ function zg() {
3494
3494
  return Gi || (Gi = 1, function(e) {
3495
3495
  (function() {
3496
3496
  var n = {}.hasOwnProperty;
@@ -3522,8 +3522,8 @@ function jg() {
3522
3522
  })();
3523
3523
  }(Wi)), Wi.exports;
3524
3524
  }
3525
- var Vg = jg();
3526
- const zg = /* @__PURE__ */ Ig(Vg), qg = {
3525
+ var jg = zg();
3526
+ const Vg = /* @__PURE__ */ Ig(jg), qg = {
3527
3527
  "purpur-icon": "_purpur-icon_8u1lq_1",
3528
3528
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
3529
3529
  "purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
@@ -3531,7 +3531,7 @@ const zg = /* @__PURE__ */ Ig(Vg), qg = {
3531
3531
  "purpur-icon--md": "_purpur-icon--md_8u1lq_16",
3532
3532
  "purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
3533
3533
  "purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
3534
- }, Hg = zg.bind(qg), Zi = "purpur-icon", Bg = "md", Wg = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), Gg = ({ content: e = "", title: n } = {}) => {
3534
+ }, Hg = Vg.bind(qg), Zi = "purpur-icon", Bg = "md", Wg = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), Gg = ({ content: e = "", title: n } = {}) => {
3535
3535
  const r = [
3536
3536
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
3537
3537
  { name: "fill", value: "currentColor" },
@@ -4085,7 +4085,7 @@ var N_ = [
4085
4085
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ d(l, { ...a, ref: i });
4086
4086
  });
4087
4087
  return r.displayName = `Primitive.${n}`, { ...e, [n]: r };
4088
- }, {}), jo = "Checkbox", [P_, Gx] = __(jo), [k_, O_] = P_(jo), ns = c.forwardRef(
4088
+ }, {}), zo = "Checkbox", [P_, Gx] = __(zo), [k_, O_] = P_(zo), ns = c.forwardRef(
4089
4089
  (e, n) => {
4090
4090
  const {
4091
4091
  __scopeCheckbox: r,
@@ -4149,7 +4149,7 @@ var N_ = [
4149
4149
  ] });
4150
4150
  }
4151
4151
  );
4152
- ns.displayName = jo;
4152
+ ns.displayName = zo;
4153
4153
  var os = "CheckboxIndicator", is = c.forwardRef(
4154
4154
  (e, n) => {
4155
4155
  const { __scopeCheckbox: r, forceMount: o, ...i } = e, t = O_(os, r);
@@ -4246,7 +4246,7 @@ function D_() {
4246
4246
  }(ta)), ta.exports;
4247
4247
  }
4248
4248
  var L_ = D_();
4249
- const I_ = /* @__PURE__ */ T_(L_), j_ = {
4249
+ const I_ = /* @__PURE__ */ T_(L_), z_ = {
4250
4250
  "purpur-checkbox": "_purpur-checkbox_m4999_1",
4251
4251
  "purpur-checkbox__box": "_purpur-checkbox__box_m4999_7",
4252
4252
  "purpur-checkbox--error": "_purpur-checkbox--error_m4999_16",
@@ -4255,7 +4255,7 @@ const I_ = /* @__PURE__ */ T_(L_), j_ = {
4255
4255
  "purpur-checkbox__label": "_purpur-checkbox__label_m4999_70",
4256
4256
  "purpur-checkbox__wrapper": "_purpur-checkbox__wrapper_m4999_73",
4257
4257
  "purpur-checkbox__container": "_purpur-checkbox__container_m4999_79"
4258
- }, ft = I_.bind(j_), Le = "purpur-checkbox", V_ = ({
4258
+ }, ft = I_.bind(z_), Le = "purpur-checkbox", j_ = ({
4259
4259
  ["data-testid"]: e,
4260
4260
  checked: n,
4261
4261
  className: r,
@@ -4313,9 +4313,9 @@ const I_ = /* @__PURE__ */ T_(L_), j_ = {
4313
4313
  ] }),
4314
4314
  s && /* @__PURE__ */ d(Lg, { "data-testid": e && `${e}-error-text`, children: i })
4315
4315
  ] });
4316
- }, Vo = G(V_);
4317
- Vo.displayName = "Checkbox";
4318
- function z_(e) {
4316
+ }, jo = G(j_);
4317
+ jo.displayName = "Checkbox";
4318
+ function V_(e) {
4319
4319
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4320
4320
  }
4321
4321
  var na = { exports: {} };
@@ -4358,7 +4358,7 @@ function q_() {
4358
4358
  }(na)), na.exports;
4359
4359
  }
4360
4360
  var H_ = q_();
4361
- const B_ = /* @__PURE__ */ z_(H_), W_ = {
4361
+ const B_ = /* @__PURE__ */ V_(H_), W_ = {
4362
4362
  "purpur-icon": "_purpur-icon_8u1lq_1",
4363
4363
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
4364
4364
  "purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
@@ -4693,7 +4693,7 @@ const Sh = /* @__PURE__ */ bh(xh), Ch = {
4693
4693
  n ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
4694
4694
  ], o = n ? `<title>${n}</title>` : "";
4695
4695
  return `<svg ${Nh(r)}>${o}${e}</svg>`;
4696
- }, kh = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), zo = ({
4696
+ }, kh = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Vo = ({
4697
4697
  ["data-testid"]: e,
4698
4698
  svg: n,
4699
4699
  allyTitle: r,
@@ -4716,20 +4716,20 @@ const Sh = /* @__PURE__ */ bh(xh), Ch = {
4716
4716
  }
4717
4717
  );
4718
4718
  };
4719
- zo.displayName = "Icon";
4719
+ Vo.displayName = "Icon";
4720
4720
  const Oh = {
4721
4721
  name: "check-circle-filled",
4722
4722
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm4.712-12.491a.875.875 0 1 0-1.424-1.018l-4.4 6.16-2.27-2.27a.875.875 0 0 0-1.237 1.238l3 3a.875.875 0 0 0 1.331-.11l5-7Z" clip-rule="evenodd"/></svg>',
4723
4723
  keywords: ["check-circle-filled"],
4724
4724
  category: "status"
4725
- }, ps = (e) => /* @__PURE__ */ d(zo, { ...e, svg: Oh });
4725
+ }, ps = (e) => /* @__PURE__ */ d(Vo, { ...e, svg: Oh });
4726
4726
  ps.displayName = "IconCheckCircleFilled";
4727
4727
  const Ah = {
4728
4728
  name: "chevron-down",
4729
4729
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.136 7.864a.9.9 0 0 0-1.272 0L12 14.727 5.136 7.864a.9.9 0 0 0-1.272 1.272l7.5 7.5a.9.9 0 0 0 1.272 0l7.5-7.5a.9.9 0 0 0 0-1.272Z" clip-rule="evenodd"/></svg>',
4730
4730
  keywords: ["chevron-down"],
4731
4731
  category: "utility"
4732
- }, ds = (e) => /* @__PURE__ */ d(zo, { ...e, svg: Ah });
4732
+ }, ds = (e) => /* @__PURE__ */ d(Vo, { ...e, svg: Ah });
4733
4733
  ds.displayName = "IconChevronDown";
4734
4734
  function ya(e, n) {
4735
4735
  if (typeof e == "function")
@@ -4806,14 +4806,14 @@ var Ih = [
4806
4806
  "span",
4807
4807
  "svg",
4808
4808
  "ul"
4809
- ], jh = Ih.reduce((e, n) => {
4809
+ ], zh = Ih.reduce((e, n) => {
4810
4810
  const r = c.forwardRef((o, i) => {
4811
4811
  const { asChild: t, ...a } = o, l = t ? fs : n;
4812
4812
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ d(l, { ...a, ref: i });
4813
4813
  });
4814
4814
  return r.displayName = `Primitive.${n}`, { ...e, [n]: r };
4815
- }, {}), Vh = "Label", gs = c.forwardRef((e, n) => /* @__PURE__ */ d(
4816
- jh.label,
4815
+ }, {}), jh = "Label", gs = c.forwardRef((e, n) => /* @__PURE__ */ d(
4816
+ zh.label,
4817
4817
  {
4818
4818
  ...e,
4819
4819
  ref: n,
@@ -4823,8 +4823,8 @@ var Ih = [
4823
4823
  }
4824
4824
  }
4825
4825
  ));
4826
- gs.displayName = Vh;
4827
- var zh = gs;
4826
+ gs.displayName = jh;
4827
+ var Vh = gs;
4828
4828
  function qh(e) {
4829
4829
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4830
4830
  }
@@ -4888,7 +4888,7 @@ const Wh = /* @__PURE__ */ qh(Bh), On = {
4888
4888
  [On[`${An}--negative`]]: i
4889
4889
  }
4890
4890
  ]);
4891
- return /* @__PURE__ */ d(zh, { className: a, htmlFor: r, ...t, children: e });
4891
+ return /* @__PURE__ */ d(Vh, { className: a, htmlFor: r, ...t, children: e });
4892
4892
  };
4893
4893
  function Zh(e) {
4894
4894
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -5032,7 +5032,7 @@ const nv = /* @__PURE__ */ ev(rv), ov = {
5032
5032
  "purpur-select__select-icon--readonly": "_purpur-select__select-icon--readonly_kutgv_106",
5033
5033
  "purpur-select__select-icon--disabled": "_purpur-select__select-icon--disabled_kutgv_106",
5034
5034
  "purpur-select__valid-icon": "_purpur-select__valid-icon_kutgv_109"
5035
- }, pe = nv.bind(ov), V = "purpur-select", iv = ({
5035
+ }, pe = nv.bind(ov), j = "purpur-select", iv = ({
5036
5036
  label: e,
5037
5037
  options: n,
5038
5038
  className: r,
@@ -5046,31 +5046,31 @@ const nv = /* @__PURE__ */ ev(rv), ov = {
5046
5046
  ...p
5047
5047
  }, _) => {
5048
5048
  const g = (y) => l ? `${l}-${y}` : void 0, f = u && !o, v = xu(), h = p.id ?? v, m = i ? `${h}-helper-text` : void 0, w = pe([
5049
- `${V}__select-container`,
5049
+ `${j}__select-container`,
5050
5050
  {
5051
- [`${V}__select-container--disabled`]: p.disabled,
5052
- [`${V}__select-container--readonly`]: a && !p.disabled
5051
+ [`${j}__select-container--disabled`]: p.disabled,
5052
+ [`${j}__select-container--readonly`]: a && !p.disabled
5053
5053
  }
5054
5054
  ]);
5055
5055
  return pe([
5056
- `${V}__select-icon`,
5056
+ `${j}__select-icon`,
5057
5057
  {
5058
- [`${V}__select-icon--disabled`]: p.disabled,
5059
- [`${V}__select-icon--readonly`]: a && !p.disabled,
5060
- [`${V}__select-icon--is-valid`]: f
5058
+ [`${j}__select-icon--disabled`]: p.disabled,
5059
+ [`${j}__select-icon--readonly`]: a && !p.disabled,
5060
+ [`${j}__select-icon--is-valid`]: f
5061
5061
  }
5062
- ]), f && pe(`${V}__valid-icon`), /* @__PURE__ */ C("div", { className: pe(V, r), children: [
5062
+ ]), f && pe(`${j}__valid-icon`), /* @__PURE__ */ C("div", { className: pe(j, r), children: [
5063
5063
  e && /* @__PURE__ */ d(
5064
5064
  Gh,
5065
5065
  {
5066
5066
  htmlFor: h,
5067
- className: pe(`${V}__label`),
5067
+ className: pe(`${j}__label`),
5068
5068
  "data-testid": g("label"),
5069
5069
  disabled: p.disabled,
5070
5070
  children: `${p.required ? "* " : ""}${e}`
5071
5071
  }
5072
5072
  ),
5073
- /* @__PURE__ */ d("div", { className: pe(`${V}__field-row`), children: /* @__PURE__ */ C("div", { className: w, children: [
5073
+ /* @__PURE__ */ d("div", { className: pe(`${j}__field-row`), children: /* @__PURE__ */ C("div", { className: w, children: [
5074
5074
  /* @__PURE__ */ C(
5075
5075
  "select",
5076
5076
  {
@@ -5084,10 +5084,10 @@ const nv = /* @__PURE__ */ ev(rv), ov = {
5084
5084
  "aria-disabled": p["aria-disabled"] || p.disabled,
5085
5085
  "aria-readonly": p["aria-readonly"] || a && !p.disabled,
5086
5086
  className: pe([
5087
- `${V}__select`,
5087
+ `${j}__select`,
5088
5088
  {
5089
- [`${V}__select--error`]: !!o,
5090
- [`${V}__select--is-valid`]: f
5089
+ [`${j}__select--error`]: !!o,
5090
+ [`${j}__select--is-valid`]: f
5091
5091
  }
5092
5092
  ]),
5093
5093
  children: [
@@ -5098,7 +5098,7 @@ const nv = /* @__PURE__ */ ev(rv), ov = {
5098
5098
  ]
5099
5099
  }
5100
5100
  ),
5101
- /* @__PURE__ */ C("div", { className: pe(`${V}__end-adornments`), children: [
5101
+ /* @__PURE__ */ C("div", { className: pe(`${j}__end-adornments`), children: [
5102
5102
  s ? /* @__PURE__ */ d(
5103
5103
  Qh,
5104
5104
  {
@@ -5111,11 +5111,11 @@ const nv = /* @__PURE__ */ ev(rv), ov = {
5111
5111
  ds,
5112
5112
  {
5113
5113
  className: pe([
5114
- `${V}__select-icon`,
5114
+ `${j}__select-icon`,
5115
5115
  {
5116
- [`${V}__select-icon--disabled`]: p.disabled,
5117
- [`${V}__select-icon--readonly`]: a && !p.disabled,
5118
- [`${V}__select-icon--is-valid`]: f
5116
+ [`${j}__select-icon--disabled`]: p.disabled,
5117
+ [`${j}__select-icon--readonly`]: a && !p.disabled,
5118
+ [`${j}__select-icon--is-valid`]: f
5119
5119
  }
5120
5120
  ]),
5121
5121
  "data-testid": g("dropdown-icon"),
@@ -5127,12 +5127,12 @@ const nv = /* @__PURE__ */ ev(rv), ov = {
5127
5127
  ps,
5128
5128
  {
5129
5129
  "data-testid": g("valid-icon"),
5130
- className: pe(`${V}__valid-icon`)
5130
+ className: pe(`${j}__valid-icon`)
5131
5131
  },
5132
5132
  "valid-icon"
5133
5133
  )
5134
5134
  ] }),
5135
- /* @__PURE__ */ d("div", { className: pe(`${V}__frame`) })
5135
+ /* @__PURE__ */ d("div", { className: pe(`${j}__frame`) })
5136
5136
  ] }) }),
5137
5137
  m && /* @__PURE__ */ d(
5138
5138
  yh,
@@ -5496,7 +5496,7 @@ var Dv = Tv();
5496
5496
  const Lv = /* @__PURE__ */ Fv(Dv), Ia = {
5497
5497
  "purpur-field-error-text": "_purpur-field-error-text_1lj7e_1",
5498
5498
  "purpur-field-error-text__icon": "_purpur-field-error-text__icon_1lj7e_11"
5499
- }, ja = "purpur-field-error-text", Iv = ({
5499
+ }, za = "purpur-field-error-text", Iv = ({
5500
5500
  children: e,
5501
5501
  className: n,
5502
5502
  relevant: r = "additions text",
@@ -5504,28 +5504,28 @@ const Lv = /* @__PURE__ */ Fv(Dv), Ia = {
5504
5504
  }) => /* @__PURE__ */ C(
5505
5505
  "div",
5506
5506
  {
5507
- className: Lv([n, Ia[ja]]),
5507
+ className: Lv([n, Ia[za]]),
5508
5508
  "aria-live": "assertive",
5509
5509
  "aria-relevant": r,
5510
5510
  ...o,
5511
5511
  children: [
5512
- /* @__PURE__ */ d(ms, { svg: Mv, size: "xs", className: Ia[`${ja}__icon`] }),
5512
+ /* @__PURE__ */ d(ms, { svg: Mv, size: "xs", className: Ia[`${za}__icon`] }),
5513
5513
  e
5514
5514
  ]
5515
5515
  }
5516
5516
  );
5517
- function jv(e) {
5517
+ function zv(e) {
5518
5518
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
5519
5519
  }
5520
- var Va = { exports: {} };
5520
+ var ja = { exports: {} };
5521
5521
  /*!
5522
5522
  Copyright (c) 2018 Jed Watson.
5523
5523
  Licensed under the MIT License (MIT), see
5524
5524
  http://jedwatson.github.io/classnames
5525
5525
  */
5526
- var za;
5527
- function Vv() {
5528
- return za || (za = 1, function(e) {
5526
+ var Va;
5527
+ function jv() {
5528
+ return Va || (Va = 1, function(e) {
5529
5529
  (function() {
5530
5530
  var n = {}.hasOwnProperty;
5531
5531
  function r() {
@@ -5554,10 +5554,10 @@ function Vv() {
5554
5554
  }
5555
5555
  e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
5556
5556
  })();
5557
- }(Va)), Va.exports;
5557
+ }(ja)), ja.exports;
5558
5558
  }
5559
- var zv = Vv();
5560
- const qv = /* @__PURE__ */ jv(zv), qa = {
5559
+ var Vv = jv();
5560
+ const qv = /* @__PURE__ */ zv(Vv), qa = {
5561
5561
  "purpur-field-helper-text": "_purpur-field-helper-text_atw6b_1",
5562
5562
  "purpur-field-helper-text--disabled": "_purpur-field-helper-text--disabled_atw6b_9"
5563
5563
  }, Ha = "purpur-field-helper-text", Hv = ({
@@ -6204,17 +6204,17 @@ var Tm = [
6204
6204
  );
6205
6205
  Cs.displayName = Lm;
6206
6206
  var Im = Cs;
6207
- const jm = ({
6207
+ const zm = ({
6208
6208
  asChild: e,
6209
6209
  children: n,
6210
6210
  className: r = "",
6211
6211
  ["data-testid"]: o
6212
- }) => /* @__PURE__ */ d(Im, { asChild: e, "data-testid": o, className: r, children: n }), Vm = (e) => {
6212
+ }) => /* @__PURE__ */ d(Im, { asChild: e, "data-testid": o, className: r, children: n }), jm = (e) => {
6213
6213
  const r = 16 / (Number(
6214
6214
  getComputedStyle(document.documentElement).getPropertyValue("--purpur-rescale") || "1"
6215
6215
  ) || 1);
6216
6216
  return e / r;
6217
- }, At = (e) => `${Vm(e)}rem`, cr = z.bind(Z), te = "purpur-table-column-header-cell", zm = ({
6217
+ }, At = (e) => `${jm(e)}rem`, cr = V.bind(Z), te = "purpur-table-column-header-cell", Vm = ({
6218
6218
  className: e,
6219
6219
  enableSorting: n,
6220
6220
  header: r,
@@ -6314,7 +6314,7 @@ const jm = ({
6314
6314
  );
6315
6315
  if (i) {
6316
6316
  const p = ((s = (u = e.column.columnDef.meta) == null ? void 0 : u.rowSelectionAriaLabels) == null ? void 0 : s.header) ?? "";
6317
- return /* @__PURE__ */ d(jm, { children: p });
6317
+ return /* @__PURE__ */ d(zm, { children: p });
6318
6318
  }
6319
6319
  return r && t ? /* @__PURE__ */ C(
6320
6320
  ne,
@@ -6339,7 +6339,7 @@ const jm = ({
6339
6339
  }) => {
6340
6340
  const o = r.getIsSomeRowsSelected() ? "indeterminate" : r.getIsAllPageRowsSelected();
6341
6341
  return /* @__PURE__ */ d(
6342
- Vo,
6342
+ jo,
6343
6343
  {
6344
6344
  id: e,
6345
6345
  onChange: () => r.toggleAllPageRowsSelected(),
@@ -6748,15 +6748,15 @@ var Dn = "focusScope.autoFocusOnMount", Ln = "focusScope.autoFocusOnUnmount", al
6748
6748
  let h = function(b) {
6749
6749
  if (f.paused || !l) return;
6750
6750
  const $ = b.target;
6751
- l.contains($) ? _.current = $ : Ve(_.current, { select: !0 });
6751
+ l.contains($) ? _.current = $ : je(_.current, { select: !0 });
6752
6752
  }, m = function(b) {
6753
6753
  if (f.paused || !l) return;
6754
6754
  const $ = b.relatedTarget;
6755
- $ !== null && (l.contains($) || Ve(_.current, { select: !0 }));
6755
+ $ !== null && (l.contains($) || je(_.current, { select: !0 }));
6756
6756
  }, w = function(b) {
6757
6757
  if (document.activeElement === document.body)
6758
6758
  for (const $ of b)
6759
- $.removedNodes.length > 0 && Ve(l);
6759
+ $.removedNodes.length > 0 && je(l);
6760
6760
  };
6761
6761
  document.addEventListener("focusin", h), document.addEventListener("focusout", m);
6762
6762
  const y = new MutationObserver(w);
@@ -6770,12 +6770,12 @@ var Dn = "focusScope.autoFocusOnMount", Ln = "focusScope.autoFocusOnUnmount", al
6770
6770
  const h = document.activeElement;
6771
6771
  if (!l.contains(h)) {
6772
6772
  const m = new CustomEvent(Dn, al);
6773
- l.addEventListener(Dn, s), l.dispatchEvent(m), m.defaultPrevented || (g1(w1(As(l)), { select: !0 }), document.activeElement === h && Ve(l));
6773
+ l.addEventListener(Dn, s), l.dispatchEvent(m), m.defaultPrevented || (g1(w1(As(l)), { select: !0 }), document.activeElement === h && je(l));
6774
6774
  }
6775
6775
  return () => {
6776
6776
  l.removeEventListener(Dn, s), setTimeout(() => {
6777
6777
  const m = new CustomEvent(Ln, al);
6778
- l.addEventListener(Ln, p), l.dispatchEvent(m), m.defaultPrevented || Ve(h ?? document.body, { select: !0 }), l.removeEventListener(Ln, p), ul.remove(f);
6778
+ l.addEventListener(Ln, p), l.dispatchEvent(m), m.defaultPrevented || je(h ?? document.body, { select: !0 }), l.removeEventListener(Ln, p), ul.remove(f);
6779
6779
  }, 0);
6780
6780
  };
6781
6781
  }
@@ -6786,7 +6786,7 @@ var Dn = "focusScope.autoFocusOnMount", Ln = "focusScope.autoFocusOnUnmount", al
6786
6786
  const m = h.key === "Tab" && !h.altKey && !h.ctrlKey && !h.metaKey, w = document.activeElement;
6787
6787
  if (m && w) {
6788
6788
  const y = h.currentTarget, [b, $] = _1(y);
6789
- b && $ ? !h.shiftKey && w === $ ? (h.preventDefault(), r && Ve(b, { select: !0 })) : h.shiftKey && w === b && (h.preventDefault(), r && Ve($, { select: !0 })) : w === y && h.preventDefault();
6789
+ b && $ ? !h.shiftKey && w === $ ? (h.preventDefault(), r && je(b, { select: !0 })) : h.shiftKey && w === b && (h.preventDefault(), r && je($, { select: !0 })) : w === y && h.preventDefault();
6790
6790
  }
6791
6791
  },
6792
6792
  [r, o, f.paused]
@@ -6797,7 +6797,7 @@ Os.displayName = f1;
6797
6797
  function g1(e, { select: n = !1 } = {}) {
6798
6798
  const r = document.activeElement;
6799
6799
  for (const o of e)
6800
- if (Ve(o, { select: n }), document.activeElement !== r) return;
6800
+ if (je(o, { select: n }), document.activeElement !== r) return;
6801
6801
  }
6802
6802
  function _1(e) {
6803
6803
  const n = As(e), r = ll(n, e), o = ll(n.reverse(), e);
@@ -6829,7 +6829,7 @@ function h1(e, { upTo: n }) {
6829
6829
  function v1(e) {
6830
6830
  return e instanceof HTMLInputElement && "select" in e;
6831
6831
  }
6832
- function Ve(e, { select: n = !1 } = {}) {
6832
+ function je(e, { select: n = !1 } = {}) {
6833
6833
  if (e && e.focus) {
6834
6834
  const r = document.activeElement;
6835
6835
  e.focus({ preventScroll: !0 }), e !== r && v1(e) && n && e.select();
@@ -6965,7 +6965,7 @@ function C1(e, n, r) {
6965
6965
  return e.concat(t || Array.prototype.slice.call(n));
6966
6966
  }
6967
6967
  var qr = "right-scroll-bar-position", Hr = "width-before-scroll-bar", R1 = "with-scroll-bars-hidden", E1 = "--removed-body-scroll-bar-size";
6968
- function jn(e, n) {
6968
+ function zn(e, n) {
6969
6969
  return typeof e == "function" ? e(n) : e && (e.current = n), e;
6970
6970
  }
6971
6971
  function N1(e, n) {
@@ -6993,7 +6993,7 @@ var P1 = typeof window < "u" ? c.useLayoutEffect : c.useEffect, pl = /* @__PURE_
6993
6993
  function k1(e, n) {
6994
6994
  var r = N1(null, function(o) {
6995
6995
  return e.forEach(function(i) {
6996
- return jn(i, o);
6996
+ return zn(i, o);
6997
6997
  });
6998
6998
  });
6999
6999
  return P1(function() {
@@ -7001,9 +7001,9 @@ function k1(e, n) {
7001
7001
  if (o) {
7002
7002
  var i = new Set(o), t = new Set(e), a = r.current;
7003
7003
  i.forEach(function(l) {
7004
- t.has(l) || jn(l, null);
7004
+ t.has(l) || zn(l, null);
7005
7005
  }), t.forEach(function(l) {
7006
- i.has(l) || jn(l, a);
7006
+ i.has(l) || zn(l, a);
7007
7007
  });
7008
7008
  }
7009
7009
  pl.set(r, e);
@@ -7085,12 +7085,12 @@ Ts.isSideCarExport = !0;
7085
7085
  function F1(e, n) {
7086
7086
  return e.useMedium(n), Ts;
7087
7087
  }
7088
- var Ds = M1(), Vn = function() {
7088
+ var Ds = M1(), jn = function() {
7089
7089
  }, rn = c.forwardRef(function(e, n) {
7090
7090
  var r = c.useRef(null), o = c.useState({
7091
- onScrollCapture: Vn,
7092
- onWheelCapture: Vn,
7093
- onTouchMoveCapture: Vn
7091
+ onScrollCapture: jn,
7092
+ onWheelCapture: jn,
7093
+ onTouchMoveCapture: jn
7094
7094
  }), i = o[0], t = o[1], a = e.forwardProps, l = e.children, u = e.className, s = e.removeScrollBar, p = e.enabled, _ = e.shards, g = e.sideCar, f = e.noIsolation, v = e.inert, h = e.allowPinchZoom, m = e.as, w = m === void 0 ? "div" : m, y = e.gapMode, b = Fs(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), $ = g, x = k1([r, n]), R = he(he({}, b), i);
7095
7095
  return c.createElement(
7096
7096
  c.Fragment,
@@ -7127,7 +7127,7 @@ function I1(e) {
7127
7127
  var n = document.head || document.getElementsByTagName("head")[0];
7128
7128
  n.appendChild(e);
7129
7129
  }
7130
- var j1 = function() {
7130
+ var z1 = function() {
7131
7131
  var e = 0, n = null;
7132
7132
  return {
7133
7133
  add: function(r) {
@@ -7137,8 +7137,8 @@ var j1 = function() {
7137
7137
  e--, !e && n && (n.parentNode && n.parentNode.removeChild(n), n = null);
7138
7138
  }
7139
7139
  };
7140
- }, V1 = function() {
7141
- var e = j1();
7140
+ }, j1 = function() {
7141
+ var e = z1();
7142
7142
  return function(n, r) {
7143
7143
  c.useEffect(function() {
7144
7144
  return e.add(n), function() {
@@ -7147,24 +7147,24 @@ var j1 = function() {
7147
7147
  }, [n && r]);
7148
7148
  };
7149
7149
  }, Ls = function() {
7150
- var e = V1(), n = function(r) {
7150
+ var e = j1(), n = function(r) {
7151
7151
  var o = r.styles, i = r.dynamic;
7152
7152
  return e(o, i), null;
7153
7153
  };
7154
7154
  return n;
7155
- }, z1 = {
7155
+ }, V1 = {
7156
7156
  left: 0,
7157
7157
  top: 0,
7158
7158
  right: 0,
7159
7159
  gap: 0
7160
- }, zn = function(e) {
7160
+ }, Vn = function(e) {
7161
7161
  return parseInt(e || "", 10) || 0;
7162
7162
  }, q1 = function(e) {
7163
7163
  var n = window.getComputedStyle(document.body), r = n[e === "padding" ? "paddingLeft" : "marginLeft"], o = n[e === "padding" ? "paddingTop" : "marginTop"], i = n[e === "padding" ? "paddingRight" : "marginRight"];
7164
- return [zn(r), zn(o), zn(i)];
7164
+ return [Vn(r), Vn(o), Vn(i)];
7165
7165
  }, H1 = function(e) {
7166
7166
  if (e === void 0 && (e = "margin"), typeof window > "u")
7167
- return z1;
7167
+ return V1;
7168
7168
  var n = q1(e), r = document.documentElement.clientWidth, o = window.innerWidth;
7169
7169
  return {
7170
7170
  left: n[0],
@@ -7264,9 +7264,9 @@ var gt = wo ? { passive: !1 } : !1, U1 = function(e) {
7264
7264
  var r = n.ownerDocument, o = n;
7265
7265
  do {
7266
7266
  typeof ShadowRoot < "u" && o instanceof ShadowRoot && (o = o.host);
7267
- var i = js(e, o);
7267
+ var i = zs(e, o);
7268
7268
  if (i) {
7269
- var t = Vs(e, o), a = t[1], l = t[2];
7269
+ var t = js(e, o), a = t[1], l = t[2];
7270
7270
  if (a > l)
7271
7271
  return !0;
7272
7272
  }
@@ -7287,17 +7287,17 @@ var gt = wo ? { passive: !1 } : !1, U1 = function(e) {
7287
7287
  r,
7288
7288
  o
7289
7289
  ];
7290
- }, js = function(e, n) {
7290
+ }, zs = function(e, n) {
7291
7291
  return e === "v" ? X1(n) : Y1(n);
7292
- }, Vs = function(e, n) {
7292
+ }, js = function(e, n) {
7293
7293
  return e === "v" ? K1(n) : J1(n);
7294
7294
  }, Q1 = function(e, n) {
7295
7295
  return e === "h" && n === "rtl" ? -1 : 1;
7296
7296
  }, e0 = function(e, n, r, o, i) {
7297
7297
  var t = Q1(e, window.getComputedStyle(n).direction), a = t * o, l = r.target, u = n.contains(l), s = !1, p = a > 0, _ = 0, g = 0;
7298
7298
  do {
7299
- var f = Vs(e, l), v = f[0], h = f[1], m = f[2], w = h - m - t * v;
7300
- (v || w) && js(e, l) && (_ += w, g += v), l instanceof ShadowRoot ? l = l.host : l = l.parentNode;
7299
+ var f = js(e, l), v = f[0], h = f[1], m = f[2], w = h - m - t * v;
7300
+ (v || w) && zs(e, l) && (_ += w, g += v), l instanceof ShadowRoot ? l = l.host : l = l.parentNode;
7301
7301
  } while (
7302
7302
  // portaled content
7303
7303
  !u && l !== document.body || // self content
@@ -7406,10 +7406,10 @@ function i0(e) {
7406
7406
  return n;
7407
7407
  }
7408
7408
  const a0 = F1(Ds, o0);
7409
- var zs = c.forwardRef(function(e, n) {
7409
+ var Vs = c.forwardRef(function(e, n) {
7410
7410
  return c.createElement(rn, he({}, e, { ref: n, sideCar: a0 }));
7411
7411
  });
7412
- zs.classNames = rn.classNames;
7412
+ Vs.classNames = rn.classNames;
7413
7413
  var l0 = function(e) {
7414
7414
  if (typeof document > "u")
7415
7415
  return null;
@@ -7528,7 +7528,7 @@ var f0 = c.forwardRef(
7528
7528
  return (
7529
7529
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
7530
7530
  // ie. when `Overlay` and `Content` are siblings
7531
- /* @__PURE__ */ d(zs, { as: Ho, allowPinchZoom: !0, shards: [i.contentRef], children: /* @__PURE__ */ d(
7531
+ /* @__PURE__ */ d(Vs, { as: Ho, allowPinchZoom: !0, shards: [i.contentRef], children: /* @__PURE__ */ d(
7532
7532
  ee.div,
7533
7533
  {
7534
7534
  "data-state": Zo(i.open),
@@ -7776,7 +7776,7 @@ const L0 = {
7776
7776
  "purpur-drawer-frame__content-container--no-footer": "_purpur-drawer-frame__content-container--no-footer_1gdvv_44"
7777
7777
  }, I0 = {
7778
7778
  "purpur-drawer-handle": "_purpur-drawer-handle_3n0ew_1"
7779
- }, j0 = (e, n, r, o, i, t) => ({
7779
+ }, z0 = (e, n, r, o, i, t) => ({
7780
7780
  onPointerDown: (a) => {
7781
7781
  e.current = { y: a.clientY };
7782
7782
  },
@@ -7795,7 +7795,7 @@ const L0 = {
7795
7795
  });
7796
7796
  }
7797
7797
  }
7798
- }), ml = (e, n = 0) => Math.abs(e.y) > n, V0 = at.bind(I0), z0 = "purpur-drawer-handle", ac = G(
7798
+ }), ml = (e, n = 0) => Math.abs(e.y) > n, j0 = at.bind(I0), V0 = "purpur-drawer-handle", ac = G(
7799
7799
  ({
7800
7800
  ["data-testid"]: e = "purpur-drawer-handle",
7801
7801
  className: n,
@@ -7805,7 +7805,7 @@ const L0 = {
7805
7805
  onSwipeEnd: t,
7806
7806
  ...a
7807
7807
  }, l) => {
7808
- const u = V0([n, z0]), s = eo.useRef(null), p = eo.useRef(null), { onPointerDown: _, onPointerMove: g, onPointerUp: f } = j0(
7808
+ const u = j0([n, V0]), s = eo.useRef(null), p = eo.useRef(null), { onPointerDown: _, onPointerMove: g, onPointerUp: f } = z0(
7809
7809
  p,
7810
7810
  s,
7811
7811
  r,
@@ -8805,9 +8805,9 @@ var Fw = c.forwardRef((e, n) => {
8805
8805
  }), Gr = "ScrollAreaThumb", yc = c.forwardRef(
8806
8806
  (e, n) => {
8807
8807
  const { forceMount: r, ...o } = e, i = mc(Gr, e.__scopeScrollArea);
8808
- return /* @__PURE__ */ d(Ue, { present: r || i.hasThumb, children: /* @__PURE__ */ d(jw, { ref: n, ...o }) });
8808
+ return /* @__PURE__ */ d(Ue, { present: r || i.hasThumb, children: /* @__PURE__ */ d(zw, { ref: n, ...o }) });
8809
8809
  }
8810
- ), jw = c.forwardRef(
8810
+ ), zw = c.forwardRef(
8811
8811
  (e, n) => {
8812
8812
  const { __scopeScrollArea: r, style: o, ...i } = e, t = ce(Gr, r), a = mc(Gr, r), { onThumbPositionChange: l } = a, u = le(
8813
8813
  n,
@@ -8847,14 +8847,14 @@ var Fw = c.forwardRef((e, n) => {
8847
8847
  }
8848
8848
  );
8849
8849
  yc.displayName = Gr;
8850
- var Ko = "ScrollAreaCorner", Vw = c.forwardRef(
8850
+ var Ko = "ScrollAreaCorner", jw = c.forwardRef(
8851
8851
  (e, n) => {
8852
8852
  const r = ce(Ko, e.__scopeScrollArea), o = !!(r.scrollbarX && r.scrollbarY);
8853
- return r.type !== "scroll" && o ? /* @__PURE__ */ d(zw, { ...e, ref: n }) : null;
8853
+ return r.type !== "scroll" && o ? /* @__PURE__ */ d(Vw, { ...e, ref: n }) : null;
8854
8854
  }
8855
8855
  );
8856
- Vw.displayName = Ko;
8857
- var zw = c.forwardRef((e, n) => {
8856
+ jw.displayName = Ko;
8857
+ var Vw = c.forwardRef((e, n) => {
8858
8858
  const { __scopeScrollArea: r, ...o } = e, i = ce(Ko, r), [t, a] = c.useState(0), [l, u] = c.useState(0), s = !!(t && l);
8859
8859
  return Nt(i.scrollbarX, () => {
8860
8860
  var p;
@@ -9242,7 +9242,7 @@ nt.Content = Cc;
9242
9242
  nt.displayName = "Drawer";
9243
9243
  const Jw = {
9244
9244
  "purpur-table-export-drawer__content": "_purpur-table-export-drawer__content_1soij_1"
9245
- }, Qw = "purpur-table-export-drawer", ey = z.bind(Jw), Wn = "purpur-table-export-drawer", ty = ({
9245
+ }, Qw = "purpur-table-export-drawer", ey = V.bind(Jw), Wn = "purpur-table-export-drawer", ty = ({
9246
9246
  exportFormats: e,
9247
9247
  isOpen: n,
9248
9248
  copy: r,
@@ -9268,7 +9268,7 @@ const Jw = {
9268
9268
  t
9269
9269
  )) })
9270
9270
  }
9271
- ) }) }), ry = z.bind(Z), Al = "purpur-table-header", ny = ({
9271
+ ) }) }), ry = V.bind(Z), Al = "purpur-table-header", ny = ({
9272
9272
  children: e,
9273
9273
  className: n,
9274
9274
  columnFiltersEnabled: r,
@@ -9282,7 +9282,7 @@ const Jw = {
9282
9282
  }
9283
9283
  ]);
9284
9284
  return /* @__PURE__ */ d("thead", { className: i, ...o, children: e });
9285
- }, oy = z.bind(Z), Ml = "purpur-table-row", Ur = ({
9285
+ }, oy = V.bind(Z), Ml = "purpur-table-row", Ur = ({
9286
9286
  children: e,
9287
9287
  className: n,
9288
9288
  ["data-testid"]: r,
@@ -9462,7 +9462,7 @@ function Sy() {
9462
9462
  }(Ll)), Ll.exports;
9463
9463
  }
9464
9464
  var Cy = Sy();
9465
- const jl = /* @__PURE__ */ xy(Cy), Gn = {
9465
+ const zl = /* @__PURE__ */ xy(Cy), Gn = {
9466
9466
  "purpur-badge": "_purpur-badge_1mlzj_1",
9467
9467
  "purpur-badge__icon": "_purpur-badge__icon_1mlzj_13",
9468
9468
  "purpur-badge--attention": "_purpur-badge--attention_1mlzj_17",
@@ -9515,7 +9515,7 @@ const jl = /* @__PURE__ */ xy(Cy), Gn = {
9515
9515
  className: t = "",
9516
9516
  ...a
9517
9517
  }) => {
9518
- const l = Ry(r), u = jl([t, Gn[Zn], Gn[`${Zn}--${r}`]]);
9518
+ const l = Ry(r), u = zl([t, Gn[Zn], Gn[`${Zn}--${r}`]]);
9519
9519
  return /* @__PURE__ */ C("span", { "aria-label": i, className: u, "data-testid": o, ...a, children: [
9520
9520
  n && l && /* @__PURE__ */ d(
9521
9521
  Ec,
@@ -9524,7 +9524,7 @@ const jl = /* @__PURE__ */ xy(Cy), Gn = {
9524
9524
  allyTitle: i,
9525
9525
  size: "xs",
9526
9526
  svg: l,
9527
- className: jl(Gn[`${Zn}__icon`])
9527
+ className: zl(Gn[`${Zn}__icon`])
9528
9528
  }
9529
9529
  ),
9530
9530
  e
@@ -9541,15 +9541,15 @@ const jl = /* @__PURE__ */ xy(Cy), Gn = {
9541
9541
  function ky(e) {
9542
9542
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
9543
9543
  }
9544
- var Vl = { exports: {} };
9544
+ var jl = { exports: {} };
9545
9545
  /*!
9546
9546
  Copyright (c) 2018 Jed Watson.
9547
9547
  Licensed under the MIT License (MIT), see
9548
9548
  http://jedwatson.github.io/classnames
9549
9549
  */
9550
- var zl;
9550
+ var Vl;
9551
9551
  function Oy() {
9552
- return zl || (zl = 1, function(e) {
9552
+ return Vl || (Vl = 1, function(e) {
9553
9553
  (function() {
9554
9554
  var n = {}.hasOwnProperty;
9555
9555
  function r() {
@@ -9578,7 +9578,7 @@ function Oy() {
9578
9578
  }
9579
9579
  e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
9580
9580
  })();
9581
- }(Vl)), Vl.exports;
9581
+ }(jl)), jl.exports;
9582
9582
  }
9583
9583
  var Ay = Oy();
9584
9584
  const ql = /* @__PURE__ */ ky(Ay), My = "_rotate_1xozj_1", Fy = "_dash_1xozj_1", ar = {
@@ -9663,8 +9663,8 @@ function Iy() {
9663
9663
  })();
9664
9664
  }(Hl)), Hl.exports;
9665
9665
  }
9666
- var jy = Iy();
9667
- const Vy = /* @__PURE__ */ Ly(jy), zy = {
9666
+ var zy = Iy();
9667
+ const jy = /* @__PURE__ */ Ly(zy), Vy = {
9668
9668
  "purpur-button": "_purpur-button_w455q_1",
9669
9669
  "purpur-button--xs": "_purpur-button--xs_w455q_33",
9670
9670
  "purpur-button--icon-only": "_purpur-button--icon-only_w455q_36",
@@ -9688,7 +9688,7 @@ const Vy = /* @__PURE__ */ Ly(jy), zy = {
9688
9688
  "purpur-button--text": "_purpur-button--text_w455q_181"
9689
9689
  }, qy = {
9690
9690
  TERTIARY_PURPLE: "tertiary-purple"
9691
- }, Hy = Vy.bind(zy), tt = "purpur-button", By = ({
9691
+ }, Hy = jy.bind(Vy), tt = "purpur-button", By = ({
9692
9692
  children: e,
9693
9693
  className: n,
9694
9694
  ["data-testid"]: r,
@@ -10147,7 +10147,7 @@ function wb(e, n = globalThis == null ? void 0 : globalThis.document) {
10147
10147
  const t = (l) => {
10148
10148
  if (l.target && !o.current) {
10149
10149
  let u = function() {
10150
- jc(
10150
+ zc(
10151
10151
  _b,
10152
10152
  r,
10153
10153
  s,
@@ -10174,7 +10174,7 @@ function yb(e, n = globalThis == null ? void 0 : globalThis.document) {
10174
10174
  const r = Mt(e), o = c.useRef(!1);
10175
10175
  return c.useEffect(() => {
10176
10176
  const i = (t) => {
10177
- t.target && !o.current && jc(hb, r, { originalEvent: t }, {
10177
+ t.target && !o.current && zc(hb, r, { originalEvent: t }, {
10178
10178
  discrete: !1
10179
10179
  });
10180
10180
  };
@@ -10188,7 +10188,7 @@ function Jl() {
10188
10188
  const e = new CustomEvent(Ro);
10189
10189
  document.dispatchEvent(e);
10190
10190
  }
10191
- function jc(e, n, r, { discrete: o }) {
10191
+ function zc(e, n, r, { discrete: o }) {
10192
10192
  const i = r.originalEvent.target, t = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: r });
10193
10193
  n && i.addEventListener(e, n, { once: !0 }), o ? db(i, t) : i.dispatchEvent(t);
10194
10194
  }
@@ -10201,7 +10201,7 @@ function xb(e) {
10201
10201
  r((o) => o ?? String($b++));
10202
10202
  }, [e]), n ? `radix-${n}` : "";
10203
10203
  }
10204
- const Sb = ["top", "right", "bottom", "left"], ve = Math.min, re = Math.max, Xr = Math.round, jr = Math.floor, We = (e) => ({
10204
+ const Sb = ["top", "right", "bottom", "left"], ve = Math.min, re = Math.max, Xr = Math.round, zr = Math.floor, We = (e) => ({
10205
10205
  x: e,
10206
10206
  y: e
10207
10207
  }), Cb = {
@@ -10280,7 +10280,7 @@ function Ob(e) {
10280
10280
  ...e
10281
10281
  };
10282
10282
  }
10283
- function Vc(e) {
10283
+ function jc(e) {
10284
10284
  return typeof e != "number" ? Ob(e) : {
10285
10285
  top: e,
10286
10286
  right: e,
@@ -10431,7 +10431,7 @@ async function gr(e, n) {
10431
10431
  elementContext: _ = "floating",
10432
10432
  altBoundary: g = !1,
10433
10433
  padding: f = 0
10434
- } = Ae(n, e), v = Vc(f), h = l[g ? _ === "floating" ? "reference" : "floating" : _], m = Kr(await t.getClippingRect({
10434
+ } = Ae(n, e), v = jc(f), h = l[g ? _ === "floating" ? "reference" : "floating" : _], m = Kr(await t.getClippingRect({
10435
10435
  element: (r = await (t.isElement == null ? void 0 : t.isElement(h))) == null || r ? h : h.contextElement || await (t.getDocumentElement == null ? void 0 : t.getDocumentElement(l.floating)),
10436
10436
  boundary: s,
10437
10437
  rootBoundary: p,
@@ -10478,7 +10478,7 @@ const Mb = (e) => ({
10478
10478
  } = Ae(e, n) || {};
10479
10479
  if (s == null)
10480
10480
  return {};
10481
- const _ = Vc(p), g = {
10481
+ const _ = jc(p), g = {
10482
10482
  x: r,
10483
10483
  y: o
10484
10484
  }, f = ei(i), v = Qo(f), h = await a.getDimensions(s), m = f === "y", w = m ? "top" : "left", y = m ? "bottom" : "right", b = m ? "clientHeight" : "clientWidth", $ = t.reference[v] + t.reference[f] - g[f] - t.floating[v], x = g[f] - t.reference[f], R = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(s));
@@ -10732,7 +10732,7 @@ const Lb = function(e) {
10732
10732
  };
10733
10733
  }
10734
10734
  };
10735
- }, jb = function(e) {
10735
+ }, zb = function(e) {
10736
10736
  return e === void 0 && (e = {}), {
10737
10737
  options: e,
10738
10738
  fn(n) {
@@ -10774,7 +10774,7 @@ const Lb = function(e) {
10774
10774
  };
10775
10775
  }
10776
10776
  };
10777
- }, Vb = function(e) {
10777
+ }, jb = function(e) {
10778
10778
  return e === void 0 && (e = {}), {
10779
10779
  name: "size",
10780
10780
  options: e,
@@ -10815,7 +10815,7 @@ const Lb = function(e) {
10815
10815
  };
10816
10816
  };
10817
10817
  function Tt(e) {
10818
- return zc(e) ? (e.nodeName || "").toLowerCase() : "#document";
10818
+ return Vc(e) ? (e.nodeName || "").toLowerCase() : "#document";
10819
10819
  }
10820
10820
  function oe(e) {
10821
10821
  var n;
@@ -10823,9 +10823,9 @@ function oe(e) {
10823
10823
  }
10824
10824
  function Fe(e) {
10825
10825
  var n;
10826
- return (n = (zc(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : n.documentElement;
10826
+ return (n = (Vc(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : n.documentElement;
10827
10827
  }
10828
- function zc(e) {
10828
+ function Vc(e) {
10829
10829
  return e instanceof Node || e instanceof oe(e).Node;
10830
10830
  }
10831
10831
  function fe(e) {
@@ -10846,7 +10846,7 @@ function hr(e) {
10846
10846
  } = ge(e);
10847
10847
  return /auto|scroll|overlay|hidden|clip/.test(n + o + r) && !["inline", "contents"].includes(i);
10848
10848
  }
10849
- function zb(e) {
10849
+ function Vb(e) {
10850
10850
  return ["table", "td", "th"].includes(Tt(e));
10851
10851
  }
10852
10852
  function an(e) {
@@ -11151,7 +11151,7 @@ function Zc(e, n) {
11151
11151
  return r;
11152
11152
  }
11153
11153
  let o = ou(e, n);
11154
- for (; o && zb(o) && Un(o); )
11154
+ for (; o && Vb(o) && Un(o); )
11155
11155
  o = ou(o, n);
11156
11156
  return o && Pt(o) && Un(o) && !ti(o) ? r : o || qb(e) || r;
11157
11157
  }
@@ -11199,7 +11199,7 @@ function n$(e, n) {
11199
11199
  } = e.getBoundingClientRect();
11200
11200
  if (l || n(), !_ || !g)
11201
11201
  return;
11202
- const f = jr(p), v = jr(i.clientWidth - (s + _)), h = jr(i.clientHeight - (p + g)), m = jr(s), w = {
11202
+ const f = zr(p), v = zr(i.clientWidth - (s + _)), h = zr(i.clientHeight - (p + g)), m = zr(s), w = {
11203
11203
  rootMargin: -f + "px " + -v + "px " + -h + "px " + -m + "px",
11204
11204
  threshold: re(0, ve(1, u)) || 1
11205
11205
  };
@@ -11264,7 +11264,7 @@ function o$(e, n, r, o) {
11264
11264
  }), _ == null || _(), (w = f) == null || w.disconnect(), f = null, u && cancelAnimationFrame(v);
11265
11265
  };
11266
11266
  }
11267
- const i$ = Lb, a$ = Ib, l$ = Fb, u$ = Vb, s$ = Tb, iu = Mb, c$ = jb, p$ = (e, n, r) => {
11267
+ const i$ = Lb, a$ = Ib, l$ = Fb, u$ = jb, s$ = Tb, iu = Mb, c$ = zb, p$ = (e, n, r) => {
11268
11268
  const o = /* @__PURE__ */ new Map(), i = {
11269
11269
  platform: r$,
11270
11270
  ...r
@@ -11560,8 +11560,8 @@ var ii = "PopperContent", [C$, R$] = Yc(ii), rp = c.forwardRef(
11560
11560
  m$({
11561
11561
  ...I,
11562
11562
  apply: ({ elements: Ke, rects: pt, availableWidth: pn, availableHeight: dn }) => {
11563
- const { width: fn, height: gn } = pt.reference, j = Ke.floating.style;
11564
- j.setProperty("--radix-popper-available-width", `${pn}px`), j.setProperty("--radix-popper-available-height", `${dn}px`), j.setProperty("--radix-popper-anchor-width", `${fn}px`), j.setProperty("--radix-popper-anchor-height", `${gn}px`);
11563
+ const { width: fn, height: gn } = pt.reference, z = Ke.floating.style;
11564
+ z.setProperty("--radix-popper-available-width", `${pn}px`), z.setProperty("--radix-popper-available-height", `${dn}px`), z.setProperty("--radix-popper-anchor-width", `${fn}px`), z.setProperty("--radix-popper-anchor-height", `${gn}px`);
11565
11565
  }
11566
11566
  }),
11567
11567
  O && y$({ element: O, padding: f }),
@@ -11729,19 +11729,19 @@ function D$(e) {
11729
11729
  }
11730
11730
  });
11731
11731
  return c.useEffect(() => {
11732
- const s = Vr(o.current);
11732
+ const s = jr(o.current);
11733
11733
  t.current = l === "mounted" ? s : "none";
11734
11734
  }, [l]), ot(() => {
11735
11735
  const s = o.current, p = i.current;
11736
11736
  if (p !== e) {
11737
- const _ = t.current, g = Vr(s);
11737
+ const _ = t.current, g = jr(s);
11738
11738
  e ? u("MOUNT") : g === "none" || (s == null ? void 0 : s.display) === "none" ? u("UNMOUNT") : u(p && _ !== g ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
11739
11739
  }
11740
11740
  }, [e, u]), ot(() => {
11741
11741
  if (n) {
11742
11742
  let s;
11743
11743
  const p = n.ownerDocument.defaultView ?? window, _ = (f) => {
11744
- const v = Vr(o.current).includes(f.animationName);
11744
+ const v = jr(o.current).includes(f.animationName);
11745
11745
  if (f.target === n && v && (u("ANIMATION_END"), !i.current)) {
11746
11746
  const h = n.style.animationFillMode;
11747
11747
  n.style.animationFillMode = "forwards", s = p.setTimeout(() => {
@@ -11749,7 +11749,7 @@ function D$(e) {
11749
11749
  });
11750
11750
  }
11751
11751
  }, g = (f) => {
11752
- f.target === n && (t.current = Vr(o.current));
11752
+ f.target === n && (t.current = jr(o.current));
11753
11753
  };
11754
11754
  return n.addEventListener("animationstart", g), n.addEventListener("animationcancel", _), n.addEventListener("animationend", _), () => {
11755
11755
  p.clearTimeout(s), n.removeEventListener("animationstart", g), n.removeEventListener("animationcancel", _), n.removeEventListener("animationend", _);
@@ -11763,7 +11763,7 @@ function D$(e) {
11763
11763
  }, [])
11764
11764
  };
11765
11765
  }
11766
- function Vr(e) {
11766
+ function jr(e) {
11767
11767
  return (e == null ? void 0 : e.animationName) || "none";
11768
11768
  }
11769
11769
  function L$(e) {
@@ -11777,7 +11777,7 @@ function I$({
11777
11777
  onChange: r = () => {
11778
11778
  }
11779
11779
  }) {
11780
- const [o, i] = j$({ defaultProp: n, onChange: r }), t = e !== void 0, a = t ? e : o, l = Mt(r), u = c.useCallback(
11780
+ const [o, i] = z$({ defaultProp: n, onChange: r }), t = e !== void 0, a = t ? e : o, l = Mt(r), u = c.useCallback(
11781
11781
  (s) => {
11782
11782
  if (t) {
11783
11783
  const p = typeof s == "function" ? s(e) : s;
@@ -11789,7 +11789,7 @@ function I$({
11789
11789
  );
11790
11790
  return [a, u];
11791
11791
  }
11792
- function j$({
11792
+ function z$({
11793
11793
  defaultProp: e,
11794
11794
  onChange: n
11795
11795
  }) {
@@ -11798,7 +11798,7 @@ function j$({
11798
11798
  i.current !== o && (t(o), i.current = o);
11799
11799
  }, [o, i, t]), r;
11800
11800
  }
11801
- var V$ = "VisuallyHidden", lp = c.forwardRef(
11801
+ var j$ = "VisuallyHidden", lp = c.forwardRef(
11802
11802
  (e, n) => /* @__PURE__ */ d(
11803
11803
  Xe.span,
11804
11804
  {
@@ -11821,8 +11821,8 @@ var V$ = "VisuallyHidden", lp = c.forwardRef(
11821
11821
  }
11822
11822
  )
11823
11823
  );
11824
- lp.displayName = V$;
11825
- var z$ = lp, [un, Yx] = Fc("Tooltip", [
11824
+ lp.displayName = j$;
11825
+ var V$ = lp, [un, Yx] = Fc("Tooltip", [
11826
11826
  Kc
11827
11827
  ]), sn = Kc(), up = "TooltipProvider", q$ = 700, ko = "tooltip.open", [H$, li] = un(up), sp = (e) => {
11828
11828
  const {
@@ -12020,7 +12020,7 @@ var kt = "TooltipContent", fp = c.forwardRef(
12020
12020
  },
12021
12021
  children: [
12022
12022
  /* @__PURE__ */ d(Dc, { children: o }),
12023
- /* @__PURE__ */ d(U$, { scope: r, isInside: !0, children: /* @__PURE__ */ d(z$, { id: u.contentId, role: "tooltip", children: i || o }) })
12023
+ /* @__PURE__ */ d(U$, { scope: r, isInside: !0, children: /* @__PURE__ */ d(V$, { id: u.contentId, role: "tooltip", children: i || o }) })
12024
12024
  ]
12025
12025
  }
12026
12026
  )
@@ -12229,7 +12229,7 @@ const p2 = /* @__PURE__ */ u2(c2), d2 = "_slideDownAndFade_fkagk_1", f2 = "_slid
12229
12229
  onClick: (m) => {
12230
12230
  m.preventDefault(), f(!0);
12231
12231
  },
12232
- children: jp.count(s) === 0 ? h : s
12232
+ children: zp.count(s) === 0 ? h : s
12233
12233
  }
12234
12234
  ),
12235
12235
  /* @__PURE__ */ d(i2, { children: /* @__PURE__ */ C(
@@ -12306,7 +12306,7 @@ const vp = (e) => {
12306
12306
  }, onMouseLeave: () => {
12307
12307
  a(!1);
12308
12308
  }, showPopover: t };
12309
- }, cu = z.bind(Z), w2 = ({ cell: e }) => {
12309
+ }, cu = V.bind(Z), w2 = ({ cell: e }) => {
12310
12310
  const n = e.getValue(), { divRef: r, showPopover: o, onMouseLeave: i, onMouseEnter: t } = vp(e);
12311
12311
  if (!n)
12312
12312
  return /* @__PURE__ */ d(ue, {});
@@ -12342,7 +12342,7 @@ const vp = (e) => {
12342
12342
  return /* @__PURE__ */ d(ue, {});
12343
12343
  const r = (t = e.column.columnDef.meta) == null ? void 0 : t.onClick, { children: o, ...i } = n;
12344
12344
  return /* @__PURE__ */ d(ne, { type: "button", onClick: () => r == null ? void 0 : r(e), size: "sm", ...i, children: o });
12345
- }, b2 = z.bind(Z), $2 = ({ cell: e }) => {
12345
+ }, b2 = V.bind(Z), $2 = ({ cell: e }) => {
12346
12346
  const n = e.row.original[e.column.id];
12347
12347
  return !n || !Array.isArray(n) || n.length === 0 ? /* @__PURE__ */ d(ue, {}) : /* @__PURE__ */ d("div", { className: b2("purpur-table-row-cell__button-group"), children: n.map((r, o) => {
12348
12348
  const { icon: i, ariaLabel: t, variant: a, ...l } = r;
@@ -12513,8 +12513,8 @@ function I2() {
12513
12513
  })();
12514
12514
  }(gu)), gu.exports;
12515
12515
  }
12516
- var j2 = I2();
12517
- const V2 = /* @__PURE__ */ L2(j2), z2 = {
12516
+ var z2 = I2();
12517
+ const j2 = /* @__PURE__ */ L2(z2), V2 = {
12518
12518
  "purpur-cta-link": "_purpur-cta-link_1e75l_1",
12519
12519
  "purpur-cta-link--xs": "_purpur-cta-link--xs_1e75l_33",
12520
12520
  "purpur-cta-link--icon-only": "_purpur-cta-link--icon-only_1e75l_36",
@@ -12529,7 +12529,7 @@ const V2 = /* @__PURE__ */ L2(j2), z2 = {
12529
12529
  "purpur-cta-link--secondary-negative": "_purpur-cta-link--secondary-negative_1e75l_93",
12530
12530
  "purpur-cta-link--expressive": "_purpur-cta-link--expressive_1e75l_104",
12531
12531
  "purpur-cta-link--expressive-negative": "_purpur-cta-link--expressive-negative_1e75l_114"
12532
- }, q2 = V2.bind(z2), bt = "purpur-cta-link", H2 = {
12532
+ }, q2 = j2.bind(V2), bt = "purpur-cta-link", H2 = {
12533
12533
  forward: F2,
12534
12534
  external: T2,
12535
12535
  back: M2,
@@ -12579,7 +12579,7 @@ const B2 = ({ cell: e }) => {
12579
12579
  return /* @__PURE__ */ d(ue, {});
12580
12580
  const { variant: r, children: o, ...i } = n;
12581
12581
  return /* @__PURE__ */ d(mp, { variant: r, ...i, children: o });
12582
- }, W2 = z.bind(Z), G2 = ({ cell: e }) => {
12582
+ }, W2 = V.bind(Z), G2 = ({ cell: e }) => {
12583
12583
  var t;
12584
12584
  const n = e.getValue();
12585
12585
  if (!n)
@@ -12597,7 +12597,7 @@ const B2 = ({ cell: e }) => {
12597
12597
  category: "status"
12598
12598
  }, wp = (e) => /* @__PURE__ */ d(we, { ...e, svg: Z2 });
12599
12599
  wp.displayName = "IconError";
12600
- const U2 = z.bind(Z), X2 = ({
12600
+ const U2 = V.bind(Z), X2 = ({
12601
12601
  cell: e
12602
12602
  }) => {
12603
12603
  const n = e.getValue();
@@ -12605,7 +12605,7 @@ const U2 = z.bind(Z), X2 = ({
12605
12605
  /* @__PURE__ */ d(wp, { "data-testid": "error-icon" }),
12606
12606
  /* @__PURE__ */ d(se, { children: n })
12607
12607
  ] }) : /* @__PURE__ */ d(ue, {});
12608
- }, Y2 = z.bind(Z), K2 = ({ cell: e }) => {
12608
+ }, Y2 = V.bind(Z), K2 = ({ cell: e }) => {
12609
12609
  const n = e.getValue();
12610
12610
  if (!n)
12611
12611
  return /* @__PURE__ */ d(ue, {});
@@ -12721,7 +12721,7 @@ const rx = /* @__PURE__ */ Q2(tx), nx = {
12721
12721
  )
12722
12722
  );
12723
12723
  yp.displayName = "Link";
12724
- const mu = z.bind(Z), ix = ({ cell: e }) => {
12724
+ const mu = V.bind(Z), ix = ({ cell: e }) => {
12725
12725
  const n = e.getValue(), { divRef: r, showPopover: o, onMouseLeave: i, onMouseEnter: t } = vp(e);
12726
12726
  if (!n)
12727
12727
  return /* @__PURE__ */ d(ue, {});
@@ -12736,7 +12736,7 @@ const mu = z.bind(Z), ix = ({ cell: e }) => {
12736
12736
  },
12737
12737
  onMouseEnter: t,
12738
12738
  onMouseLeave: i,
12739
- children: /* @__PURE__ */ d(yp, { variant: u, href: l, ...s, children: a })
12739
+ children: /* @__PURE__ */ d(yp, { variant: u ?? "text", href: l, ...s, children: a })
12740
12740
  }
12741
12741
  );
12742
12742
  return /* @__PURE__ */ d(
@@ -12750,14 +12750,14 @@ const mu = z.bind(Z), ix = ({ cell: e }) => {
12750
12750
  children: a
12751
12751
  }
12752
12752
  );
12753
- }, ax = z.bind(Z), lx = ({ cell: e }) => {
12753
+ }, ax = V.bind(Z), lx = ({ cell: e }) => {
12754
12754
  var o;
12755
12755
  const n = e.getValue(), r = ((o = e.column.columnDef.meta) == null ? void 0 : o.numberCellAlignment) === "right";
12756
12756
  return n ? /* @__PURE__ */ d(se, { className: ax({ "purpur-table-row-cell__right-align": r }), children: n }) : /* @__PURE__ */ d(ue, {});
12757
- }, ux = z.bind(Z), sx = ({ cell: e }) => {
12757
+ }, ux = V.bind(Z), sx = ({ cell: e }) => {
12758
12758
  var n, r;
12759
12759
  return /* @__PURE__ */ d(
12760
- Vo,
12760
+ jo,
12761
12761
  {
12762
12762
  id: e.id,
12763
12763
  className: ux("purpur-table-row-cell__row-selection"),
@@ -12767,7 +12767,7 @@ const mu = z.bind(Z), ix = ({ cell: e }) => {
12767
12767
  "aria-label": (r = (n = e.column.columnDef.meta) == null ? void 0 : n.rowSelectionAriaLabels) == null ? void 0 : r.row
12768
12768
  }
12769
12769
  );
12770
- }, cx = z.bind(Z), px = ({ cell: e }) => {
12770
+ }, cx = V.bind(Z), px = ({ cell: e }) => {
12771
12771
  var n, r;
12772
12772
  return /* @__PURE__ */ d(
12773
12773
  "input",
@@ -12792,7 +12792,7 @@ const mu = z.bind(Z), ix = ({ cell: e }) => {
12792
12792
  category: "status"
12793
12793
  }, bp = (e) => /* @__PURE__ */ d(we, { ...e, svg: fx });
12794
12794
  bp.displayName = "IconAlert";
12795
- const gx = z.bind(Z), _x = ({
12795
+ const gx = V.bind(Z), _x = ({
12796
12796
  cell: e
12797
12797
  }) => {
12798
12798
  const n = e.getValue();
@@ -12800,7 +12800,7 @@ const gx = z.bind(Z), _x = ({
12800
12800
  /* @__PURE__ */ d(bp, { "data-testid": "alert-icon" }),
12801
12801
  /* @__PURE__ */ d(se, { children: n })
12802
12802
  ] }) : /* @__PURE__ */ d(ue, {});
12803
- }, $p = z.bind(Z), ze = "purpur-table-row-cell", xp = ({
12803
+ }, $p = V.bind(Z), Ve = "purpur-table-row-cell", xp = ({
12804
12804
  className: e,
12805
12805
  ["data-testid"]: n,
12806
12806
  cell: r,
@@ -12831,14 +12831,14 @@ const gx = z.bind(Z), _x = ({
12831
12831
  }, []);
12832
12832
  const v = $p([
12833
12833
  e,
12834
- ze,
12834
+ Ve,
12835
12835
  {
12836
- [`${ze}__sticky-column`]: o,
12837
- [`${ze}__sticky-column__with-sticky-border`]: a && l,
12838
- [`${ze}__border-radius-first-cell`]: s && u,
12839
- [`${ze}__border-radius-last-cell`]: p && u,
12840
- [`${ze}__last-row-first-cell-visible`]: ((r == null ? void 0 : r.column.getIsFirstColumn()) || s) && _ && u,
12841
- [`${ze}__last-row-last-cell-visible`]: ((r == null ? void 0 : r.column.getIsLastColumn()) || p) && _ && u
12836
+ [`${Ve}__sticky-column`]: o,
12837
+ [`${Ve}__sticky-column__with-sticky-border`]: a && l,
12838
+ [`${Ve}__border-radius-first-cell`]: s && u,
12839
+ [`${Ve}__border-radius-last-cell`]: p && u,
12840
+ [`${Ve}__last-row-first-cell-visible`]: ((r == null ? void 0 : r.column.getIsFirstColumn()) || s) && _ && u,
12841
+ [`${Ve}__last-row-last-cell-visible`]: ((r == null ? void 0 : r.column.getIsLastColumn()) || p) && _ && u
12842
12842
  }
12843
12843
  ]), h = r ? {
12844
12844
  width: At(r.column.getSize())
@@ -12897,7 +12897,7 @@ const gx = z.bind(Z), _x = ({
12897
12897
  return /* @__PURE__ */ d(
12898
12898
  "div",
12899
12899
  {
12900
- className: $p(`${ze}__truncate`),
12900
+ className: $p(`${Ve}__truncate`),
12901
12901
  style: {
12902
12902
  width: "100%",
12903
12903
  maxWidth: i,
@@ -12979,7 +12979,7 @@ const yx = /* @__PURE__ */ vx(wx), bx = "_loading_93tal_1", Yn = {
12979
12979
  return /* @__PURE__ */ d("div", { className: a, style: o, "data-testid": n, ...t });
12980
12980
  };
12981
12981
  Sp.displayName = "Skeleton";
12982
- const bu = z.bind(Z), je = "purpur-table-row-cell", $x = ({
12982
+ const bu = V.bind(Z), ze = "purpur-table-row-cell", $x = ({
12983
12983
  isLastRow: e,
12984
12984
  isFirstCell: n,
12985
12985
  isLastCell: r,
@@ -12989,14 +12989,14 @@ const bu = z.bind(Z), je = "purpur-table-row-cell", $x = ({
12989
12989
  cellWidth: a
12990
12990
  }) => {
12991
12991
  const l = bu([
12992
- je,
12992
+ ze,
12993
12993
  {
12994
- [`${je}__sticky-column`]: o,
12995
- [`${je}__sticky-column__with-sticky-border`]: i && t,
12996
- [`${je}__border-radius-first-cell`]: n && e,
12997
- [`${je}__border-radius-last-cell`]: r && e,
12998
- [`${je}__last-row-first-cell-visible`]: n && e,
12999
- [`${je}__last-row-last-cell-visible`]: r && e
12994
+ [`${ze}__sticky-column`]: o,
12995
+ [`${ze}__sticky-column__with-sticky-border`]: i && t,
12996
+ [`${ze}__border-radius-first-cell`]: n && e,
12997
+ [`${ze}__border-radius-last-cell`]: r && e,
12998
+ [`${ze}__last-row-first-cell-visible`]: n && e,
12999
+ [`${ze}__last-row-last-cell-visible`]: r && e
13000
13000
  }
13001
13001
  ]), u = typeof a == "string" ? a : At(a);
13002
13002
  return /* @__PURE__ */ d(
@@ -13011,7 +13011,7 @@ const bu = z.bind(Z), je = "purpur-table-row-cell", $x = ({
13011
13011
  Sp,
13012
13012
  {
13013
13013
  "data-testid": "purpur-table-cell-skeleton",
13014
- className: bu(`${je}__skeleton`)
13014
+ className: bu(`${ze}__skeleton`)
13015
13015
  }
13016
13016
  )
13017
13017
  }
@@ -13029,7 +13029,7 @@ const Sx = {
13029
13029
  "purpur-table-settings-drawer__visible-columns": "_purpur-table-settings-drawer__visible-columns_spgbp_8",
13030
13030
  "purpur-table-settings-drawer__button-group": "_purpur-table-settings-drawer__button-group_spgbp_15",
13031
13031
  "purpur-table-settings-drawer__toggle": "_purpur-table-settings-drawer__toggle_spgbp_18"
13032
- }, mr = "purpur-table-settings-drawer", wr = z.bind(Sx), Ot = "purpur-table-settings-drawer", Cx = ({
13032
+ }, mr = "purpur-table-settings-drawer", wr = V.bind(Sx), Ot = "purpur-table-settings-drawer", Cx = ({
13033
13033
  columnFiltersEnabled: e,
13034
13034
  copy: n,
13035
13035
  isDrawerOpen: r,
@@ -13207,7 +13207,7 @@ Np.displayName = "IconSettings";
13207
13207
  const Ax = {
13208
13208
  "purpur-table-toolbar": "_purpur-table-toolbar_8vziu_1",
13209
13209
  "purpur-table-toolbar__content": "_purpur-table-toolbar__content_8vziu_12"
13210
- }, Jn = "purpur-table-toolbar", Qn = z.bind(Ax), xt = "purpur-table-toolbar", Mx = ({
13210
+ }, Jn = "purpur-table-toolbar", Qn = V.bind(Ax), xt = "purpur-table-toolbar", Mx = ({
13211
13211
  onExportData: e,
13212
13212
  onResetColumnFilters: n,
13213
13213
  onSetDrawerIsOpen: r,
@@ -13302,7 +13302,7 @@ const Ax = {
13302
13302
  }, Dx = (e, n, r) => {
13303
13303
  const o = n.getValue(r), i = e.getValue(r), t = o.children;
13304
13304
  return i.children.localeCompare(t);
13305
- }, Et = z.bind(Z), Oe = "purpur-table", Lx = ({
13305
+ }, Et = V.bind(Z), Oe = "purpur-table", Lx = ({
13306
13306
  actionbarCopy: e,
13307
13307
  actionBarTotalRowCount: n,
13308
13308
  className: r,
@@ -13367,7 +13367,7 @@ const Ax = {
13367
13367
  },
13368
13368
  ...o
13369
13369
  ]);
13370
- const { filterFns: dn, sortingFns: fn, ...gn } = A, j = Dd({
13370
+ const { filterFns: dn, sortingFns: fn, ...gn } = A, z = Dd({
13371
13371
  columns: o,
13372
13372
  data: i,
13373
13373
  state: b,
@@ -13399,36 +13399,36 @@ const Ax = {
13399
13399
  xe && xe.removeEventListener("scroll", D);
13400
13400
  };
13401
13401
  }, []), Q(() => {
13402
- m ? (ct.current || j.setPageIndex(0), ct.current = m) : (ct.current && j.setPageIndex(0), ct.current = m);
13403
- }, [m, j]), Q(() => {
13404
- E && E(j.getRowCount());
13405
- }, [b, E, j]), Q(() => {
13402
+ m ? (ct.current || z.setPageIndex(0), ct.current = m) : (ct.current && z.setPageIndex(0), ct.current = m);
13403
+ }, [m, z]), Q(() => {
13404
+ E && E(z.getRowCount());
13405
+ }, [b, E, z]), Q(() => {
13406
13406
  if (b != null && b.rowSelection) {
13407
13407
  const D = Object.keys(b.rowSelection).length;
13408
13408
  U(D), W(D > 0);
13409
13409
  }
13410
13410
  }, [b == null ? void 0 : b.rowSelection]);
13411
13411
  const Pp = () => {
13412
- j.resetRowSelection(), B == null || B(!1);
13412
+ z.resetRowSelection(), B == null || B(!1);
13413
13413
  }, kp = () => {
13414
13414
  B && B((D) => !D);
13415
13415
  }, _n = (D) => A.enableRowSelection ? D <= 1 : D === 0, Op = () => {
13416
- j.resetColumnFilters();
13416
+ z.resetColumnFilters();
13417
13417
  }, Ap = () => {
13418
13418
  typeof _ == "string" ? ci(_) : yr((D) => !D);
13419
13419
  }, ci = (D) => {
13420
13420
  k == null || k(D);
13421
13421
  }, Mp = () => {
13422
- $e(!0), br(!0), $r(!0), xr(!0), j.resetColumnVisibility();
13423
- }, hn = j.getRowModel().rows, vn = hn.length === 0 && !!t, Fp = g && w ? /* @__PURE__ */ d(
13424
- jx,
13422
+ $e(!0), br(!0), $r(!0), xr(!0), z.resetColumnVisibility();
13423
+ }, hn = z.getRowModel().rows, vn = hn.length === 0 && !!t, Fp = g && w ? /* @__PURE__ */ d(
13424
+ zx,
13425
13425
  {
13426
13426
  rowCount: w,
13427
13427
  getStickyColumn: _n,
13428
13428
  stickyFirstColumn: Ye,
13429
13429
  isScrolled: Te,
13430
13430
  rowSelectionEnabled: Lt,
13431
- cellWidths: j.getAllColumns().map((D) => D.getSize() || "100%")
13431
+ cellWidths: z.getAllColumns().map((D) => D.getSize() || "100%")
13432
13432
  }
13433
13433
  ) : vn && t && a ? /* @__PURE__ */ d(
13434
13434
  Ix,
@@ -13437,7 +13437,7 @@ const Ax = {
13437
13437
  tag: a,
13438
13438
  title: t.title,
13439
13439
  description: t.description,
13440
- colSpan: j.getVisibleLeafColumns().length,
13440
+ colSpan: z.getVisibleLeafColumns().length,
13441
13441
  icon: l
13442
13442
  }
13443
13443
  ) : hn.map((D, xe) => /* @__PURE__ */ d(Ur, { isSelected: D.getIsSelected(), children: D.getVisibleCells().map((De, It) => /* @__PURE__ */ d(
@@ -13461,14 +13461,14 @@ const Ax = {
13461
13461
  onResetColumnFilters: Op,
13462
13462
  onToggleExpand: O,
13463
13463
  onExportData: Ap,
13464
- totalRowCount: x ?? j.getRowCount(),
13465
- visibleRowCount: j.getRowModel().rows.length,
13464
+ totalRowCount: x ?? z.getRowCount(),
13465
+ visibleRowCount: z.getRowModel().rows.length,
13466
13466
  toolbarCopy: $,
13467
13467
  isSettingsDrawerOpen: I,
13468
13468
  hasExportsDrawer: Array.isArray(_),
13469
13469
  isExportDrawerOpen: Dt,
13470
13470
  showFilters: be,
13471
- disableClearFilters: j.getState().columnFilters.length === 0
13471
+ disableClearFilters: z.getState().columnFilters.length === 0
13472
13472
  }
13473
13473
  ),
13474
13474
  /* @__PURE__ */ d(
@@ -13479,11 +13479,11 @@ const Ax = {
13479
13479
  }),
13480
13480
  ref: pt,
13481
13481
  children: /* @__PURE__ */ C("table", { className: Et(`${Oe}__table`), children: [
13482
- /* @__PURE__ */ d(ny, { columnFiltersEnabled: be, children: j.getHeaderGroups().map((D) => /* @__PURE__ */ d(Ur, { children: D.headers.map((xe, De) => /* @__PURE__ */ d(
13483
- zm,
13482
+ /* @__PURE__ */ d(ny, { columnFiltersEnabled: be, children: z.getHeaderGroups().map((D) => /* @__PURE__ */ d(Ur, { children: D.headers.map((xe, De) => /* @__PURE__ */ d(
13483
+ Vm,
13484
13484
  {
13485
13485
  header: xe,
13486
- tanstackTable: j,
13486
+ tanstackTable: z,
13487
13487
  stickyColumn: !vn && Ye && _n(De),
13488
13488
  stickyHeaders: !vn && st,
13489
13489
  isScrolled: Te,
@@ -13517,7 +13517,7 @@ const Ax = {
13517
13517
  setShowColumnFiltersEnabled: $e,
13518
13518
  setStickyFirstColumn: br,
13519
13519
  setStickyHeaders: $r,
13520
- getAllColumns: j.getAllColumns,
13520
+ getAllColumns: z.getAllColumns,
13521
13521
  isDrawerOpen: I,
13522
13522
  showColumnFilters: be,
13523
13523
  stickyFirstColumn: Ye,
@@ -13558,7 +13558,7 @@ const Ix = ({ variant: e, tag: n, title: r, description: o, colSpan: i, icon: t
13558
13558
  ] })
13559
13559
  ]
13560
13560
  }
13561
- ) }) }), jx = ({
13561
+ ) }) }), zx = ({
13562
13562
  rowCount: e,
13563
13563
  // cellCount,
13564
13564
  getStickyColumn: n,