@pantheon-systems/pds-toolkit-react 1.0.0-alpha.3 → 1.0.0-alpha.4

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/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import './index.css';var jt = Object.defineProperty, Xt = Object.defineProperties;
2
- var Kt = Object.getOwnPropertyDescriptors;
1
+ import './index.css';var jt = Object.defineProperty, Kt = Object.defineProperties;
2
+ var Xt = Object.getOwnPropertyDescriptors;
3
3
  var w2 = Object.getOwnPropertySymbols;
4
4
  var it = Object.prototype.hasOwnProperty, dt = Object.prototype.propertyIsEnumerable;
5
5
  var ot = (t, n, s) => n in t ? jt(t, n, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[n] = s, w = (t, n) => {
@@ -9,7 +9,7 @@ var ot = (t, n, s) => n in t ? jt(t, n, { enumerable: !0, configurable: !0, writ
9
9
  for (var s of w2(n))
10
10
  dt.call(n, s) && ot(t, s, n[s]);
11
11
  return t;
12
- }, ne = (t, n) => Xt(t, Kt(n));
12
+ }, ne = (t, n) => Kt(t, Xt(n));
13
13
  var T = (t, n) => {
14
14
  var s = {};
15
15
  for (var a in t)
@@ -35,9 +35,9 @@ var mt = (t, n, s) => new Promise((a, r) => {
35
35
  }, l = (i) => i.done ? a(i.value) : Promise.resolve(i.value).then(d, c);
36
36
  l((s = s.apply(t, n)).next());
37
37
  });
38
- import e, { Children as Yt, isValidElement as Le, useState as U, cloneElement as Oe, createElement as kt, forwardRef as Ue, useEffect as ae, useRef as oe, createContext as Nt, useContext as He, useCallback as U2, useMemo as zt, createRef as Qt, Fragment as Jt } from "react";
38
+ import e, { Children as Yt, isValidElement as He, useState as U, cloneElement as Oe, createElement as kt, forwardRef as Ue, useEffect as ae, useRef as oe, createContext as Nt, useContext as Me, useCallback as U2, useMemo as zt, createRef as Qt, Fragment as Jt } from "react";
39
39
  import xt from "hash-sum";
40
- import { useFloating as Ie, offset as s2, flip as l2, shift as v2, autoUpdate as Fe, useHover as C2, useFocus as K2, useDismiss as Ae, useRole as Te, useInteractions as De, FloatingPortal as Vt, useId as e1, useClick as je, useListNavigation as a2, useTypeahead as Y2, useTransitionStyles as Xe, size as t1, FloatingOverlay as n1, FloatingFocusManager as St, safePolygon as Q2, arrow as s1, FloatingArrow as l1 } from "@floating-ui/react";
40
+ import { useFloating as Ie, offset as s2, flip as l2, shift as v2, autoUpdate as Fe, useHover as C2, useFocus as X2, useDismiss as Ae, useRole as Te, useInteractions as De, FloatingPortal as Vt, useId as e1, useClick as je, useListNavigation as a2, useTypeahead as Y2, useTransitionStyles as Ke, size as t1, FloatingOverlay as n1, FloatingFocusManager as St, safePolygon as Q2, arrow as s1, FloatingArrow as l1 } from "@floating-ui/react";
41
41
  import { useHotkeys as a1 } from "react-hotkeys-hook";
42
42
  import { CodeBlock as m2 } from "react-code-block";
43
43
  import { useMultipleSelection as u2, useCombobox as t2 } from "downshift";
@@ -55,7 +55,7 @@ const c2 = () => Math.random().toString(32).substring(2, 13), It = (t, n) => {
55
55
  }, Pe = (t) => {
56
56
  const n = {}, s = [];
57
57
  return Yt.forEach(t, (a) => {
58
- if (Le(a)) {
58
+ if (He(a)) {
59
59
  const r = a.props.slot;
60
60
  r ? n[r] ? n[r].push(a) : n[r] = [a] : s.push(a);
61
61
  } else
@@ -818,7 +818,7 @@ const c2 = () => Math.random().toString(32).substring(2, 13), It = (t, n) => {
818
818
  ], m1 = (t) => {
819
819
  const n = parseInt(xt(t), 16);
820
820
  return pt[n % pt.length];
821
- }, X2 = (i) => {
821
+ }, K2 = (i) => {
822
822
  var m = i, {
823
823
  ariaLabel: t,
824
824
  hasUserFallback: n = !1,
@@ -853,7 +853,7 @@ const c2 = () => Math.random().toString(32).substring(2, 13), It = (t, n) => {
853
853
  onLoad: () => _(!1),
854
854
  onError: () => _(!0)
855
855
  }
856
- ) : /* @__PURE__ */ e.createElement("span", { style: C }, n && /* @__PURE__ */ e.createElement(Z, { iconName: "user", className: `${g}__user-icon` })), h = /* @__PURE__ */ e.createElement("span", { className: `${g}__content` }, v), o = Le(a) ? Oe(
856
+ ) : /* @__PURE__ */ e.createElement("span", { style: C }, n && /* @__PURE__ */ e.createElement(Z, { iconName: "user", className: `${g}__user-icon` })), h = /* @__PURE__ */ e.createElement("span", { className: `${g}__content` }, v), o = He(a) ? Oe(
857
857
  a,
858
858
  ne(w({}, a.props), {
859
859
  className: `${g}__content ${g}__content--link`,
@@ -986,7 +986,7 @@ const O2 = 500, u1 = 700, Se = (u) => {
986
986
  restMs: 300,
987
987
  delay: { open: 500, close: 0 },
988
988
  move: !1
989
- }), M = K2(E), H = Ae(E), L = Te(E, { role: "tooltip" }), { getReferenceProps: k, getFloatingProps: z } = De([
989
+ }), M = X2(E), H = Ae(E), L = Te(E, { role: "tooltip" }), { getReferenceProps: k, getFloatingProps: z } = De([
990
990
  $,
991
991
  M,
992
992
  H,
@@ -1370,7 +1370,7 @@ const O2 = 500, u1 = 700, Se = (u) => {
1370
1370
  p,
1371
1371
  b,
1372
1372
  _
1373
- ]), C = Le(a) ? a.props.children : null, v = /* @__PURE__ */ e.createElement(
1373
+ ]), C = He(a) ? a.props.children : null, v = /* @__PURE__ */ e.createElement(
1374
1374
  Z,
1375
1375
  {
1376
1376
  iconName: s,
@@ -1381,7 +1381,7 @@ const O2 = 500, u1 = 700, Se = (u) => {
1381
1381
  );
1382
1382
  let h = [C];
1383
1383
  n === "icon-start" && s ? h = [v, C] : n === "icon-end" && s && (h = [C, v]);
1384
- const o = Le(a) ? Oe(a, {
1384
+ const o = He(a) ? Oe(a, {
1385
1385
  className: y,
1386
1386
  children: h
1387
1387
  }) : null;
@@ -1583,7 +1583,7 @@ const O2 = 500, u1 = 700, Se = (u) => {
1583
1583
  window.removeEventListener("resize", a);
1584
1584
  };
1585
1585
  }, []), n;
1586
- }, Ne = Nt(null), f1 = ({
1586
+ }, ze = Nt(null), f1 = ({
1587
1587
  children: t,
1588
1588
  mobileMenuMaxWidth: n = 640
1589
1589
  }) => {
@@ -1594,7 +1594,7 @@ const O2 = 500, u1 = 700, Se = (u) => {
1594
1594
  };
1595
1595
  return ae(() => {
1596
1596
  a ? document.body.classList.add("pds-no-scroll-x") : document.body.classList.remove("pds-no-scroll-x");
1597
- }, [a]), /* @__PURE__ */ e.createElement(Ne.Provider, { value: r }, t);
1597
+ }, [a]), /* @__PURE__ */ e.createElement(ze.Provider, { value: r }, t);
1598
1598
  }, r2 = (t) => "isSeparator" in t && t.isSeparator === !0, o2 = (t) => "isHeading" in t && t.isHeading === !0, L2 = (t) => "isLink" in t && t.isLink === !0, p2 = (t) => "isNode" in t && t.isNode === !0, Ft = (C) => {
1599
1599
  var v = C, {
1600
1600
  disabled: t,
@@ -1629,8 +1629,8 @@ const O2 = 500, u1 = 700, Se = (u) => {
1629
1629
  "withinNavbar",
1630
1630
  "className"
1631
1631
  ]);
1632
- var Ke;
1633
- const h = He(Ne), o = (Ke = h == null ? void 0 : h.isMobile) != null ? Ke : !1, f = p === "navbar" && o, E = "pds-menu-button", $ = f ? `${E}--isMobile` : null, M = b ? `${E}--navbar` : null, H = a, [L] = U(`menu-button-${a}`), [k, z] = U(!1), [x, O] = U(null), S = oe(!1), q = oe(null), R = oe([]), I = oe([]), F = oe([]), W = () => {
1632
+ var Xe;
1633
+ const h = Me(ze), o = (Xe = h == null ? void 0 : h.isMobile) != null ? Xe : !1, f = p === "navbar" && o, E = "pds-menu-button", $ = f ? `${E}--isMobile` : null, M = b ? `${E}--navbar` : null, H = a, [L] = U(`menu-button-${a}`), [k, z] = U(!1), [x, O] = U(null), S = oe(!1), q = oe(null), R = oe([]), I = oe([]), F = oe([]), W = () => {
1634
1634
  const G = [];
1635
1635
  let ie = 0;
1636
1636
  return c.forEach((he) => {
@@ -1646,16 +1646,16 @@ const O2 = 500, u1 = 700, Se = (u) => {
1646
1646
  G == null || G.focus();
1647
1647
  }, 0), S.current = !1) : O(null);
1648
1648
  }, [k]);
1649
- const { context: X, refs: J, floatingStyles: K } = Ie({
1649
+ const { context: K, refs: J, floatingStyles: X } = Ie({
1650
1650
  placement: l === "end" ? "bottom-end" : "bottom-start",
1651
1651
  open: k,
1652
1652
  onOpenChange: z,
1653
1653
  whileElementsMounted: Fe,
1654
1654
  middleware: [s2(b ? 0 : 12), l2()]
1655
- }), Q = je(X, {
1655
+ }), Q = je(K, {
1656
1656
  enabled: !t,
1657
1657
  event: "mousedown"
1658
- }), Y = Ae(X), B = Te(X, { role: "menu" }), D = a2(X, {
1658
+ }), Y = Ae(K), B = Te(K, { role: "menu" }), D = a2(K, {
1659
1659
  listRef: R,
1660
1660
  activeIndex: x,
1661
1661
  onNavigate: O,
@@ -1663,7 +1663,7 @@ const O2 = 500, u1 = 700, Se = (u) => {
1663
1663
  disabledIndices: F.current,
1664
1664
  openOnArrowKeyDown: !1,
1665
1665
  focusItemOnHover: !1
1666
- }), V = Y2(X, {
1666
+ }), V = Y2(K, {
1667
1667
  listRef: R,
1668
1668
  activeIndex: x,
1669
1669
  selectedIndex: null,
@@ -1672,9 +1672,9 @@ const O2 = 500, u1 = 700, Se = (u) => {
1672
1672
  },
1673
1673
  findMatch: (G, ie) => {
1674
1674
  const he = ie.toLowerCase();
1675
- return G.find((be) => {
1675
+ return G.find((we) => {
1676
1676
  var me, fe;
1677
- const se = be;
1677
+ const se = we;
1678
1678
  return (se == null ? void 0 : se.getAttribute("aria-disabled")) === "true" ? !1 : ((fe = (me = se == null ? void 0 : se.textContent) == null ? void 0 : me.trim().toLowerCase()) != null ? fe : "").startsWith(he);
1679
1679
  });
1680
1680
  }
@@ -1687,7 +1687,7 @@ const O2 = 500, u1 = 700, Se = (u) => {
1687
1687
  (ie.key === "Enter" || ie.key === " " || ie.key === "ArrowDown" || ie.key === "ArrowUp") && (S.current = !0), G.onKeyDown && typeof G.onKeyDown == "function" && G.onKeyDown(ie);
1688
1688
  }
1689
1689
  });
1690
- }, { isMounted: ge, styles: Ce } = Xe(X, {
1690
+ }, { isMounted: ge, styles: Ce } = Ke(K, {
1691
1691
  duration: {
1692
1692
  open: 300,
1693
1693
  close: 300
@@ -1706,18 +1706,18 @@ const O2 = 500, u1 = 700, Se = (u) => {
1706
1706
  if (!("disabled" in G && G.disabled)) {
1707
1707
  if ("callback" in G && G.callback && G.callback(G), L2(G) && G.linkContent) {
1708
1708
  const he = G.linkContent;
1709
- Le(he) && ((ie = he.props) != null && ie.onClick) && he.props.onClick();
1709
+ He(he) && ((ie = he.props) != null && ie.onClick) && he.props.onClick();
1710
1710
  }
1711
1711
  f || z(!1);
1712
1712
  }
1713
1713
  }, ve = (G, ie) => {
1714
1714
  const he = [];
1715
- let be = ie.shift(), se = [];
1715
+ let we = ie.shift(), se = [];
1716
1716
  return G.forEach((de, me) => {
1717
- de !== be ? (se.push(de), me + 1 === G.length && he.push(se)) : (he.push(se), se = [], se.push(de), be = ie.shift());
1717
+ de !== we ? (se.push(de), me + 1 === G.length && he.push(se)) : (he.push(se), se = [], se.push(de), we = ie.shift());
1718
1718
  }), he.filter((de) => de.length > 0);
1719
- }, ce = (G, ie, he, be = "", se = "") => {
1720
- const de = be ? `-group-${be}` : "", me = H + de + "-item-" + (ie + 1), fe = "id" in G && G.id ? G.id : me;
1719
+ }, ce = (G, ie, he, we = "", se = "") => {
1720
+ const de = we ? `-group-${we}` : "", me = H + de + "-item-" + (ie + 1), fe = "id" in G && G.id ? G.id : me;
1721
1721
  if (r2(G))
1722
1722
  return /* @__PURE__ */ e.createElement("li", { role: "separator", key: fe });
1723
1723
  if (o2(G))
@@ -1734,10 +1734,10 @@ const O2 = 500, u1 = 700, Se = (u) => {
1734
1734
  if (p2(G))
1735
1735
  return /* @__PURE__ */ e.createElement("li", { role: "presentation", key: fe }, G.nodeContent);
1736
1736
  if (L2(G) || "label" in G && G.label) {
1737
- const $e = x === he;
1737
+ const ye = x === he;
1738
1738
  let le;
1739
- if ("label" in G && G.label && (le = [G.label]), L2(G) && Le(G.linkContent) && (le = [G.linkContent.props.children]), "iconName" in G && G.iconName) {
1740
- const Me = /* @__PURE__ */ e.createElement(
1739
+ if ("label" in G && G.label && (le = [G.label]), L2(G) && He(G.linkContent) && (le = [G.linkContent.props.children]), "iconName" in G && G.iconName) {
1740
+ const be = /* @__PURE__ */ e.createElement(
1741
1741
  Z,
1742
1742
  {
1743
1743
  key: `icon-${H}-${ie}`,
@@ -1745,44 +1745,48 @@ const O2 = 500, u1 = 700, Se = (u) => {
1745
1745
  iconSize: "md"
1746
1746
  }
1747
1747
  );
1748
- le.unshift(Me);
1748
+ le.unshift(be);
1749
1749
  }
1750
1750
  let re;
1751
1751
  "description" in G && G.description && (re = /* @__PURE__ */ e.createElement("span", { className: `${E}__item-description` }, G.description));
1752
- let we;
1753
- if (L2(G) && Le(G.linkContent)) {
1754
- const Me = G.linkContent.type;
1755
- we = /* @__PURE__ */ e.createElement(Me, w({ tabIndex: -1 }, G.linkContent.props), /* @__PURE__ */ e.createElement("span", { className: `${E}__item-label` }, le), re);
1752
+ let Le;
1753
+ if (L2(G) && He(G.linkContent)) {
1754
+ const be = G.linkContent.type;
1755
+ Le = /* @__PURE__ */ e.createElement(be, w({ tabIndex: -1 }, G.linkContent.props), /* @__PURE__ */ e.createElement("span", { className: `${E}__item-label` }, le), re);
1756
1756
  } else
1757
- we = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${E}__item-label` }, le), re);
1758
- const xe = j();
1757
+ Le = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${E}__item-label` }, le), re);
1758
+ const ke = j();
1759
1759
  return /* @__PURE__ */ e.createElement(
1760
1760
  "li",
1761
1761
  ne(w({
1762
1762
  id: fe,
1763
1763
  key: fe,
1764
1764
  "data-testid": "testId" in G ? G.testId : void 0,
1765
- className: $e ? `${E}__item-focused` : null,
1765
+ className: ye ? `${E}__item-focused` : null,
1766
1766
  role: "menuitem",
1767
- tabIndex: $e ? 0 : -1,
1768
- ref: (Me) => {
1769
- R.current[he] = Me;
1767
+ tabIndex: ye ? 0 : -1,
1768
+ ref: (be) => {
1769
+ R.current[he] = be;
1770
1770
  },
1771
1771
  "aria-disabled": "disabled" in G && G.disabled || null
1772
- }, xe), {
1773
- onPointerDown: (Me) => {
1774
- var ye;
1775
- (ye = xe.onPointerDown) == null || ye.call(xe, Me), "disabled" in G && G.disabled || Ee(G);
1772
+ }, ke), {
1773
+ onPointerDown: (be) => {
1774
+ var $e;
1775
+ ($e = ke.onPointerDown) == null || $e.call(ke, be), be.preventDefault(), "disabled" in G && G.disabled || Ee(G);
1776
+ },
1777
+ onKeyDown: (be) => {
1778
+ var $e;
1779
+ ($e = ke.onKeyDown) == null || $e.call(ke, be), be.preventDefault(), be.key === "Enter" && !("disabled" in G && G.disabled) && Ee(G);
1776
1780
  }
1777
1781
  }),
1778
- we
1782
+ Le
1779
1783
  );
1780
1784
  }
1781
1785
  }, _e = (G) => {
1782
1786
  const ie = G.filter(
1783
1787
  (de) => o2(de) || r2(de)
1784
- ), he = ie.length > 0, be = [`${E}__listbox`];
1785
- b && be.push(`${E}__listbox--navbar`), l === "end" && be.push(`${E}__listbox--end`), n === "icon-only" && be.push(`${E}__listbox--icon-only`);
1788
+ ), he = ie.length > 0, we = [`${E}__listbox`];
1789
+ b && we.push(`${E}__listbox--navbar`), l === "end" && we.push(`${E}__listbox--end`), n === "icon-only" && we.push(`${E}__listbox--icon-only`);
1786
1790
  let se = 0;
1787
1791
  if (he) {
1788
1792
  const de = ve(G, [
@@ -1791,35 +1795,35 @@ const O2 = 500, u1 = 700, Se = (u) => {
1791
1795
  return I.current = de.map(() => c2()), /* @__PURE__ */ e.createElement(
1792
1796
  "div",
1793
1797
  ne(w({
1794
- className: N(be),
1798
+ className: N(we),
1795
1799
  id: L,
1796
1800
  role: "menu",
1797
1801
  tabIndex: -1,
1798
1802
  "aria-labelledby": H,
1799
- style: ne(w(w({}, K), Ce), {
1803
+ style: ne(w(w({}, X), Ce), {
1800
1804
  zIndex: "var(--pds-z-index-dropdown)"
1801
1805
  })
1802
1806
  }, P()), {
1803
1807
  ref: J.setFloating
1804
1808
  }),
1805
1809
  de.map((me, fe) => {
1806
- var Me;
1807
- const $e = I.current[fe], le = (Me = me[0]) == null ? void 0 : Me.isHeading, re = le ? `${H}-group-${$e}-heading` : "", we = `${H}-group-${$e}`, xe = le ? null : `${u} ${fe + 1}`;
1810
+ var be;
1811
+ const ye = I.current[fe], le = (be = me[0]) == null ? void 0 : be.isHeading, re = le ? `${H}-group-${ye}-heading` : "", Le = `${H}-group-${ye}`, ke = le ? null : `${u} ${fe + 1}`;
1808
1812
  return /* @__PURE__ */ e.createElement(
1809
1813
  "ul",
1810
1814
  {
1811
1815
  role: "group",
1812
1816
  "aria-labelledby": re || null,
1813
- "aria-label": xe,
1814
- key: we
1817
+ "aria-label": ke,
1818
+ key: Le
1815
1819
  },
1816
- me.map((ye, $2) => {
1817
- const D2 = !r2(ye) && !o2(ye) && !p2(ye), R2 = se;
1820
+ me.map(($e, $2) => {
1821
+ const D2 = !r2($e) && !o2($e) && !p2($e), R2 = se;
1818
1822
  return D2 && se++, ce(
1819
- ye,
1823
+ $e,
1820
1824
  $2,
1821
1825
  R2,
1822
- $e,
1826
+ ye,
1823
1827
  re
1824
1828
  );
1825
1829
  })
@@ -1830,20 +1834,20 @@ const O2 = 500, u1 = 700, Se = (u) => {
1830
1834
  return /* @__PURE__ */ e.createElement(
1831
1835
  "ul",
1832
1836
  ne(w({
1833
- className: N(be),
1837
+ className: N(we),
1834
1838
  id: L,
1835
1839
  role: "menu",
1836
1840
  tabIndex: -1,
1837
1841
  "aria-labelledby": H,
1838
- style: ne(w(w({}, K), Ce), {
1842
+ style: ne(w(w({}, X), Ce), {
1839
1843
  zIndex: "var(--pds-z-index-dropdown)"
1840
1844
  })
1841
1845
  }, P()), {
1842
1846
  ref: J.setFloating
1843
1847
  }),
1844
1848
  G.map((de, me) => {
1845
- const fe = !r2(de) && !o2(de) && !p2(de), $e = se;
1846
- return fe && se++, ce(de, me, $e);
1849
+ const fe = !r2(de) && !o2(de) && !p2(de), ye = se;
1850
+ return fe && se++, ce(de, me, ye);
1847
1851
  })
1848
1852
  );
1849
1853
  };
@@ -1899,11 +1903,11 @@ const O2 = 500, u1 = 700, Se = (u) => {
1899
1903
  );
1900
1904
  const he = ie.nextElementSibling;
1901
1905
  he && he.classList.toggle(`${E}__mobile-menu--expanded`);
1902
- }, ze = () => {
1906
+ }, xe = () => {
1903
1907
  let G = 0;
1904
1908
  return /* @__PURE__ */ e.createElement("ul", { className: `${E}__mobile-menu`, role: "menu" }, c.map((ie, he) => {
1905
- const be = !r2(ie) && !o2(ie) && !p2(ie), se = G;
1906
- return be && G++, ce(ie, he, se);
1909
+ const we = !r2(ie) && !o2(ie) && !p2(ie), se = G;
1910
+ return we && G++, ce(ie, he, se);
1907
1911
  }));
1908
1912
  };
1909
1913
  let Re;
@@ -1945,7 +1949,7 @@ const O2 = 500, u1 = 700, Se = (u) => {
1945
1949
  "data-testid": g,
1946
1950
  ref: q
1947
1951
  }, y),
1948
- f ? /* @__PURE__ */ e.createElement(e.Fragment, null, Re, /* @__PURE__ */ e.createElement(ze, null)) : /* @__PURE__ */ e.createElement(e.Fragment, null, ue, ge && _e(c))
1952
+ f ? /* @__PURE__ */ e.createElement(e.Fragment, null, Re, /* @__PURE__ */ e.createElement(xe, null)) : /* @__PURE__ */ e.createElement(e.Fragment, null, ue, ge && _e(c))
1949
1953
  );
1950
1954
  }, Un = (g) => {
1951
1955
  var u = g, {
@@ -2157,7 +2161,7 @@ const O2 = 500, u1 = 700, Se = (u) => {
2157
2161
  discovery: "squareQuestion",
2158
2162
  code: "squareTerminal",
2159
2163
  earlyAccess: "leaf"
2160
- }, Xn = (c) => {
2164
+ }, Kn = (c) => {
2161
2165
  var l = c, {
2162
2166
  children: t,
2163
2167
  title: n,
@@ -2247,7 +2251,7 @@ const O2 = 500, u1 = 700, Se = (u) => {
2247
2251
  }, d),
2248
2252
  a
2249
2253
  );
2250
- }, Kn = (m) => {
2254
+ }, Xn = (m) => {
2251
2255
  var g = m, {
2252
2256
  id: t,
2253
2257
  defaultValue: n,
@@ -3184,15 +3188,15 @@ const O2 = 500, u1 = 700, Se = (u) => {
3184
3188
  "value",
3185
3189
  "className"
3186
3190
  ]);
3187
- var he, be;
3191
+ var he, we;
3188
3192
  const E = Je(a), $ = "pds-select", M = n ? te.disabled : null, H = u && !n ? te.required : null, L = y === "error" ? te.error : null, k = y === "success" ? te.success : null;
3189
3193
  let z = null;
3190
3194
  y === "error" && (z = "error"), y === "success" && (z = "success");
3191
- const x = _ || c, O = typeof C != "undefined", S = typeof t != "undefined", R = ((se) => se.reduce((de, me) => ft(me) ? [...de, ...me.options] : [...de, me], []))(g), I = (se) => R.findIndex((de) => de.value === se), F = O && I(C) >= 0 ? I(C) : null, W = S ? I(t) : null, X = F || W, [J, K] = U(!1), [Q, Y] = U(null), [B, D] = U(
3192
- X != null ? X : null
3193
- ), V = B !== null ? (he = R[B]) == null ? void 0 : he.label : void 0, A = B !== null ? (be = R[B]) == null ? void 0 : be.value : void 0, P = oe([]), { context: j, refs: ee, floatingStyles: ge } = Ie({
3195
+ const x = _ || c, O = typeof C != "undefined", S = typeof t != "undefined", R = ((se) => se.reduce((de, me) => ft(me) ? [...de, ...me.options] : [...de, me], []))(g), I = (se) => R.findIndex((de) => de.value === se), F = O && I(C) >= 0 ? I(C) : null, W = S ? I(t) : null, K = F || W, [J, X] = U(!1), [Q, Y] = U(null), [B, D] = U(
3196
+ K != null ? K : null
3197
+ ), V = B !== null ? (he = R[B]) == null ? void 0 : he.label : void 0, A = B !== null ? (we = R[B]) == null ? void 0 : we.value : void 0, P = oe([]), { context: j, refs: ee, floatingStyles: ge } = Ie({
3194
3198
  open: J,
3195
- onOpenChange: K,
3199
+ onOpenChange: X,
3196
3200
  whileElementsMounted: Fe,
3197
3201
  middleware: [
3198
3202
  s2(({ placement: se }) => se.startsWith("top") ? 16 : 0),
@@ -3220,7 +3224,7 @@ const O2 = 500, u1 = 700, Se = (u) => {
3220
3224
  activeIndex: Q,
3221
3225
  selectedIndex: B,
3222
3226
  onMatch: (se) => {
3223
- J || K(!0), Y(se);
3227
+ J || X(!0), Y(se);
3224
3228
  },
3225
3229
  findMatch: (se, de) => {
3226
3230
  const me = de.toLowerCase();
@@ -3229,9 +3233,9 @@ const O2 = 500, u1 = 700, Se = (u) => {
3229
3233
  return ((re = (le = fe == null ? void 0 : fe.textContent) == null ? void 0 : le.trim().toLowerCase()) != null ? re : "").startsWith(me);
3230
3234
  });
3231
3235
  }
3232
- }), { getReferenceProps: ue, getFloatingProps: pe, getItemProps: ze } = De(
3236
+ }), { getReferenceProps: ue, getFloatingProps: pe, getItemProps: xe } = De(
3233
3237
  [ve, Ee, ce, Ce, _e]
3234
- ), { isMounted: Re, styles: We } = Xe(j, {
3238
+ ), { isMounted: Re, styles: We } = Ke(j, {
3235
3239
  duration: {
3236
3240
  open: 300,
3237
3241
  close: 150
@@ -3247,17 +3251,17 @@ const O2 = 500, u1 = 700, Se = (u) => {
3247
3251
  }
3248
3252
  }), Ze = (se) => {
3249
3253
  const de = R[se];
3250
- O || (D(se), K(!1)), m && m(de);
3254
+ O || (D(se), X(!1)), m && m(de);
3251
3255
  };
3252
3256
  ae(() => {
3253
3257
  if (O) {
3254
3258
  const se = I(C);
3255
- D(se), K(!1);
3259
+ D(se), X(!1);
3256
3260
  }
3257
3261
  }, [C]);
3258
3262
  const e2 = () => {
3259
3263
  l && l(A);
3260
- }, Ke = () => {
3264
+ }, Xe = () => {
3261
3265
  i && i(A);
3262
3266
  }, G = () => {
3263
3267
  ee.reference.current.focus();
@@ -3265,24 +3269,24 @@ const O2 = 500, u1 = 700, Se = (u) => {
3265
3269
  let de = 0;
3266
3270
  return se.map((me) => {
3267
3271
  if (ft(me)) {
3268
- const $e = me.options.map((le) => {
3272
+ const ye = me.options.map((le) => {
3269
3273
  const re = de++;
3270
3274
  return /* @__PURE__ */ e.createElement(
3271
3275
  x2,
3272
3276
  w({
3273
3277
  key: re,
3274
- ref: (we) => {
3275
- P.current[re] = we;
3278
+ ref: (Le) => {
3279
+ P.current[re] = Le;
3276
3280
  },
3277
3281
  tabIndex: re === Q ? 0 : -1,
3278
3282
  "aria-selected": re === B && re === Q,
3279
3283
  "aria-disabled": le == null ? void 0 : le.disabled
3280
- }, !(le != null && le.disabled) && ze({
3284
+ }, !(le != null && le.disabled) && xe({
3281
3285
  onClick() {
3282
3286
  Ze(re);
3283
3287
  },
3284
- onKeyDown(we) {
3285
- we.key === "Enter" && (we.preventDefault(), Ze(re), ee.reference.current.focus()), we.key === "Escape" && (we.preventDefault(), ee.reference.current.focus());
3288
+ onKeyDown(Le) {
3289
+ Le.key === "Enter" && (Le.preventDefault(), Ze(re), ee.reference.current.focus()), Le.key === "Escape" && (Le.preventDefault(), ee.reference.current.focus());
3286
3290
  }
3287
3291
  })),
3288
3292
  le.label,
@@ -3295,25 +3299,25 @@ const O2 = 500, u1 = 700, Se = (u) => {
3295
3299
  )
3296
3300
  );
3297
3301
  });
3298
- return /* @__PURE__ */ e.createElement(b1, { key: me.groupLabel, label: me.groupLabel }, $e);
3302
+ return /* @__PURE__ */ e.createElement(b1, { key: me.groupLabel, label: me.groupLabel }, ye);
3299
3303
  }
3300
3304
  const fe = de++;
3301
3305
  return /* @__PURE__ */ e.createElement(
3302
3306
  x2,
3303
3307
  w({
3304
3308
  key: fe,
3305
- ref: ($e) => {
3306
- P.current[fe] = $e;
3309
+ ref: (ye) => {
3310
+ P.current[fe] = ye;
3307
3311
  },
3308
3312
  tabIndex: fe === Q ? 0 : -1,
3309
3313
  "aria-selected": fe === B && fe === Q,
3310
3314
  "aria-disabled": me == null ? void 0 : me.disabled
3311
- }, !(me != null && me.disabled) && ze({
3315
+ }, !(me != null && me.disabled) && xe({
3312
3316
  onClick() {
3313
3317
  Ze(fe);
3314
3318
  },
3315
- onKeyDown($e) {
3316
- $e.key === "Enter" && ($e.preventDefault(), Ze(fe), ee.reference.current.focus()), $e.key === "Escape" && ($e.preventDefault(), ee.reference.current.focus());
3319
+ onKeyDown(ye) {
3320
+ ye.key === "Enter" && (ye.preventDefault(), Ze(fe), ee.reference.current.focus()), ye.key === "Escape" && (ye.preventDefault(), ee.reference.current.focus());
3317
3321
  }
3318
3322
  })),
3319
3323
  me.label,
@@ -3358,7 +3362,7 @@ const O2 = 500, u1 = 700, Se = (u) => {
3358
3362
  }, ue({
3359
3363
  onClick: G,
3360
3364
  onBlur: e2,
3361
- onFocus: Ke
3365
+ onFocus: Xe
3362
3366
  })),
3363
3367
  z && /* @__PURE__ */ e.createElement(d2, { variant: z }),
3364
3368
  /* @__PURE__ */ e.createElement("span", { className: `${$}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${$}__option-text` }, V != null ? V : d.selectOptionText), /* @__PURE__ */ e.createElement(Z, { iconName: "angleDown", className: `${$}__trigger-icon` }))
@@ -3587,7 +3591,7 @@ const O2 = 500, u1 = 700, Se = (u) => {
3587
3591
  level: n,
3588
3592
  text: r
3589
3593
  }
3590
- ), _), /* @__PURE__ */ e.createElement("div", { className: `${u}__plan` }, d))), C = Le(a) ? Oe(a, ne(w({}, a.props), {
3594
+ ), _), /* @__PURE__ */ e.createElement("div", { className: `${u}__plan` }, d))), C = He(a) ? Oe(a, ne(w({}, a.props), {
3591
3595
  className: `${u}__link`,
3592
3596
  children: y,
3593
3597
  "aria-label": `${t} ${r} dashboard`
@@ -4228,25 +4232,25 @@ var Pt = { exports: {} };
4228
4232
  z.pattern = RegExp(z.pattern.source, R + "g");
4229
4233
  }
4230
4234
  for (var I = z.pattern || z, F = E.next, W = $; F !== o.tail && !(M && W >= M.reach); W += F.value.length, F = F.next) {
4231
- var X = F.value;
4235
+ var K = F.value;
4232
4236
  if (o.length > h.length)
4233
4237
  return;
4234
- if (!(X instanceof i)) {
4235
- var J = 1, K;
4238
+ if (!(K instanceof i)) {
4239
+ var J = 1, X;
4236
4240
  if (S) {
4237
- if (K = m(I, W, h, O), !K || K.index >= h.length)
4241
+ if (X = m(I, W, h, O), !X || X.index >= h.length)
4238
4242
  break;
4239
- var D = K.index, Q = K.index + K[0].length, Y = W;
4243
+ var D = X.index, Q = X.index + X[0].length, Y = W;
4240
4244
  for (Y += F.value.length; D >= Y; )
4241
4245
  F = F.next, Y += F.value.length;
4242
4246
  if (Y -= F.value.length, W = Y, F.value instanceof i)
4243
4247
  continue;
4244
4248
  for (var B = F; B !== o.tail && (Y < Q || typeof B.value == "string"); B = B.next)
4245
4249
  J++, Y += B.value.length;
4246
- J--, X = h.slice(W, Y), K.index -= W;
4247
- } else if (K = m(I, 0, X, O), !K)
4250
+ J--, K = h.slice(W, Y), X.index -= W;
4251
+ } else if (X = m(I, 0, K, O), !X)
4248
4252
  continue;
4249
- var D = K.index, V = K[0], A = X.slice(0, D), P = X.slice(D + V.length), j = W + X.length;
4253
+ var D = X.index, V = X[0], A = K.slice(0, D), P = K.slice(D + V.length), j = W + K.length;
4250
4254
  M && j > M.reach && (M.reach = j);
4251
4255
  var ee = F.prev;
4252
4256
  A && (ee = p(o, ee, A), W += A.length), b(o, ee, J);
@@ -4483,7 +4487,7 @@ const L1 = /* @__PURE__ */ w1(y1), H1 = {
4483
4487
  SPACING_6XL: Zt,
4484
4488
  SPACING_7XL: Gt,
4485
4489
  SPACING_8XL: O1
4486
- }, F1 = 0.64, P1 = 0.8, B1 = 1, Z1 = 1.25, G1 = 1.563, W1 = 1.953, q1 = 2.441, U1 = 3.052, j1 = 3.815, X1 = 4.678, K1 = 5.96, Y1 = 7.451, Q1 = 6.192, bt = {
4490
+ }, F1 = 0.64, P1 = 0.8, B1 = 1, Z1 = 1.25, G1 = 1.563, W1 = 1.953, q1 = 2.441, U1 = 3.052, j1 = 3.815, K1 = 4.678, X1 = 5.96, Y1 = 7.451, Q1 = 6.192, bt = {
4487
4491
  TYPE_SCALE_XS: F1,
4488
4492
  TYPE_SCALE_S: P1,
4489
4493
  TYPE_SCALE_M: B1,
@@ -4493,8 +4497,8 @@ const L1 = /* @__PURE__ */ w1(y1), H1 = {
4493
4497
  TYPE_SCALE_3XL: q1,
4494
4498
  TYPE_SCALE_4XL: U1,
4495
4499
  TYPE_SCALE_5XL: j1,
4496
- TYPE_SCALE_6XL: X1,
4497
- TYPE_SCALE_7XL: K1,
4500
+ TYPE_SCALE_6XL: K1,
4501
+ TYPE_SCALE_7XL: X1,
4498
4502
  TYPE_SCALE_8XL: Y1,
4499
4503
  TYPE_SCALE_9XL: Q1
4500
4504
  }, J1 = (m) => {
@@ -4554,8 +4558,8 @@ const L1 = /* @__PURE__ */ w1(y1), H1 = {
4554
4558
  const S = Math.ceil(E / 2), q = Math.max(0, S - 1);
4555
4559
  if (x < q)
4556
4560
  return 1;
4557
- const R = E - q, I = x - q, F = 1 - 0.1, W = I / R, X = 1 - F * W;
4558
- return Math.max(0.1, X);
4561
+ const R = E - q, I = x - q, F = 1 - 0.1, W = I / R, K = 1 - F * W;
4562
+ return Math.max(0.1, K);
4559
4563
  }, z = /* @__PURE__ */ e.createElement(
4560
4564
  "div",
4561
4565
  w({
@@ -5187,7 +5191,7 @@ const s4 = (C) => {
5187
5191
  "className"
5188
5192
  ]);
5189
5193
  let _ = !1;
5190
- const y = He(Ne);
5194
+ const y = Me(ze);
5191
5195
  y && (_ = y.isMobile);
5192
5196
  const C = "pds-horizontal-empty-state", v = `${C}--${t}`, h = _ ? `${C}--isMobile` : null, o = a ? `${C}--panel` : null, f = l ? `${C}--video` : null, E = {
5193
5197
  width: i,
@@ -5469,11 +5473,11 @@ const s4 = (C) => {
5469
5473
  "value",
5470
5474
  "className"
5471
5475
  ]);
5472
- const L = c ? { width: `${c / 16}rem` } : null, k = "pds-checkbox", z = s ? te.disabled : null, x = h === "error" ? te.error : null, O = g > 0 ? `${k}--indent-${g}` : null, S = _ && !s ? te.required : null, q = C === "S" ? `${k}--sm` : null, R = h === "success" ? te.success : null, I = v || i, F = typeof t != "undefined", W = typeof n != "undefined", [X, J] = U(
5476
+ const L = c ? { width: `${c / 16}rem` } : null, k = "pds-checkbox", z = s ? te.disabled : null, x = h === "error" ? te.error : null, O = g > 0 ? `${k}--indent-${g}` : null, S = _ && !s ? te.required : null, q = C === "S" ? `${k}--sm` : null, R = h === "success" ? te.success : null, I = v || i, F = typeof t != "undefined", W = typeof n != "undefined", [K, J] = U(
5473
5477
  W ? n : !1
5474
- ), K = t || X, Q = (A) => {
5478
+ ), X = t || K, Q = (A) => {
5475
5479
  F || J(A.target.checked), p && p(A);
5476
- }, Y = `${k}__box`, B = r ? null : K ? `${Y}--checked` : null, D = r ? `${Y}--indeterminate` : null, V = U2(() => {
5480
+ }, Y = `${k}__box`, B = r ? null : X ? `${Y}--checked` : null, D = r ? `${Y}--indeterminate` : null, V = U2(() => {
5477
5481
  if (r)
5478
5482
  return /* @__PURE__ */ e.createElement(
5479
5483
  Z,
@@ -5483,7 +5487,7 @@ const s4 = (C) => {
5483
5487
  className: `${k}__icon ${k}__icon--indeterminate`
5484
5488
  }
5485
5489
  );
5486
- if (K)
5490
+ if (X)
5487
5491
  return /* @__PURE__ */ e.createElement(
5488
5492
  Z,
5489
5493
  {
@@ -5492,7 +5496,7 @@ const s4 = (C) => {
5492
5496
  className: `${k}__icon ${k}__icon--checked`
5493
5497
  }
5494
5498
  );
5495
- }, [r, K]);
5499
+ }, [r, X]);
5496
5500
  return /* @__PURE__ */ e.createElement(
5497
5501
  "div",
5498
5502
  w({
@@ -5515,8 +5519,8 @@ const s4 = (C) => {
5515
5519
  id: a,
5516
5520
  name: m,
5517
5521
  type: "checkbox",
5518
- checked: F ? t : X,
5519
- "aria-checked": r ? "mixed" : K ? "true" : "false"
5522
+ checked: F ? t : K,
5523
+ "aria-checked": r ? "mixed" : X ? "true" : "false"
5520
5524
  }, o ? { value: o } : {}), {
5521
5525
  disabled: s,
5522
5526
  required: _,
@@ -5797,11 +5801,11 @@ const s4 = (C) => {
5797
5801
  "validationStatus",
5798
5802
  "className"
5799
5803
  ]);
5800
- const R = Je(l), I = "pds-combobox", F = n ? te.disabled : null, W = E && !n ? te.required : null, X = k === "error" ? te.error : null, J = k === "success" ? te.success : null;
5801
- let K = null;
5802
- r && (K = "search"), k === "error" && (K = "error"), k === "success" && (K = "success");
5804
+ const R = Je(l), I = "pds-combobox", F = n ? te.disabled : null, W = E && !n ? te.required : null, K = k === "error" ? te.error : null, J = k === "success" ? te.success : null;
5805
+ let X = null;
5806
+ r && (X = "search"), k === "error" && (X = "error"), k === "success" && (X = "success");
5803
5807
  const Q = L || p, Y = typeof H != "undefined", B = typeof t != "undefined", D = (le) => {
5804
- const re = o.find((we) => we.value === le);
5808
+ const re = o.find((Le) => Le.value === le);
5805
5809
  return re ? re.label : "";
5806
5810
  }, [V, A] = U(!1), [P, j] = U(null), [ee, ge] = U(
5807
5811
  B ? D(t) : ""
@@ -5809,14 +5813,14 @@ const s4 = (C) => {
5809
5813
  open: V,
5810
5814
  onOpenChange: A,
5811
5815
  whileElementsMounted: Fe
5812
- }), pe = Te(_e, { role: "listbox" }), ze = Ae(_e), Re = a2(_e, {
5816
+ }), pe = Te(_e, { role: "listbox" }), xe = Ae(_e), Re = a2(_e, {
5813
5817
  listRef: ce,
5814
5818
  activeIndex: P,
5815
5819
  onNavigate: j,
5816
5820
  virtual: !0,
5817
5821
  loop: !0,
5818
5822
  allowEscape: !0
5819
- }), { getReferenceProps: We, getFloatingProps: Ze, getItemProps: e2 } = De([pe, ze, Re]), { isMounted: Ke, styles: G } = Xe(_e, {
5823
+ }), { getReferenceProps: We, getFloatingProps: Ze, getItemProps: e2 } = De([pe, xe, Re]), { isMounted: Xe, styles: G } = Ke(_e, {
5820
5824
  duration: {
5821
5825
  open: 300,
5822
5826
  close: 150
@@ -5835,7 +5839,7 @@ const s4 = (C) => {
5835
5839
  }, he = () => {
5836
5840
  var le;
5837
5841
  !Y && ge(""), j(null), A(!0), (le = ue.domReference.current) == null || le.focus(), C && C();
5838
- }, be = (le) => {
5842
+ }, we = (le) => {
5839
5843
  let re = le.target.value;
5840
5844
  _ && _(le), Y || (re.length > 0 && (re = re.trimStart()), ge(re)), re ? (j(null), A(!0)) : A(!1);
5841
5845
  }, se = (le) => {
@@ -5845,47 +5849,47 @@ const s4 = (C) => {
5845
5849
  }, me = (le) => {
5846
5850
  const re = Ce[le];
5847
5851
  !Y && ge(re.label), j(null), A(!1), h && h(re);
5848
- }, fe = (le) => le.map((we) => {
5849
- const rt = we, { label: xe, optionDisplay: Me, value: ye, searchIndex: $2 } = rt, D2 = T(rt, ["label", "optionDisplay", "value", "searchIndex"]), R2 = ye || xe, ct = [xe, ye];
5852
+ }, fe = (le) => le.map((Le) => {
5853
+ const rt = Le, { label: ke, optionDisplay: be, value: $e, searchIndex: $2 } = rt, D2 = T(rt, ["label", "optionDisplay", "value", "searchIndex"]), R2 = $e || ke, ct = [ke, $e];
5850
5854
  return $2 && ct.push(...$2), w({
5851
- label: xe,
5855
+ label: ke,
5852
5856
  value: R2,
5853
5857
  searchIndex: ct,
5854
- optionDisplay: Me
5858
+ optionDisplay: be
5855
5859
  }, D2);
5856
5860
  });
5857
5861
  ae(() => {
5858
5862
  const le = fe(o).filter(
5859
5863
  (re) => {
5860
- var Me;
5861
- const we = (Me = re.searchIndex) == null ? void 0 : Me.map(
5862
- (ye) => ye.toLowerCase()
5863
- ), xe = ve.toLowerCase();
5864
- return we.some((ye) => ye.includes(xe));
5864
+ var be;
5865
+ const Le = (be = re.searchIndex) == null ? void 0 : be.map(
5866
+ ($e) => $e.toLowerCase()
5867
+ ), ke = ve.toLowerCase();
5868
+ return Le.some(($e) => $e.includes(ke));
5865
5869
  }
5866
5870
  );
5867
5871
  Ee(le);
5868
5872
  }, [ve, i, o]);
5869
- const $e = Ce.map((le, re) => {
5870
- const { label: we, value: xe, optionDisplay: Me } = le;
5873
+ const ye = Ce.map((le, re) => {
5874
+ const { label: Le, value: ke, optionDisplay: be } = le;
5871
5875
  return /* @__PURE__ */ e.createElement(
5872
5876
  x2,
5873
5877
  ne(w({
5874
5878
  key: le
5875
5879
  }, e2({
5876
- key: xe,
5877
- ref(ye) {
5878
- ce.current[re] = ye;
5880
+ key: ke,
5881
+ ref($e) {
5882
+ ce.current[re] = $e;
5879
5883
  },
5880
5884
  onClick() {
5881
- var ye;
5882
- me(re), (ye = ue.domReference.current) == null || ye.focus();
5885
+ var $e;
5886
+ me(re), ($e = ue.domReference.current) == null || $e.focus();
5883
5887
  }
5884
5888
  })), {
5885
5889
  tabIndex: P === re ? 0 : -1,
5886
5890
  isActive: P === re
5887
5891
  }),
5888
- Me || we
5892
+ be || Le
5889
5893
  );
5890
5894
  });
5891
5895
  return /* @__PURE__ */ e.createElement(
@@ -5896,7 +5900,7 @@ const s4 = (C) => {
5896
5900
  I,
5897
5901
  F,
5898
5902
  W,
5899
- X,
5903
+ K,
5900
5904
  J,
5901
5905
  z != null ? z : ""
5902
5906
  ]),
@@ -5924,7 +5928,7 @@ const s4 = (C) => {
5924
5928
  "aria-invalid": k === "error" ? !0 : null,
5925
5929
  "aria-describedby": Q ? `${c}__message` : null
5926
5930
  },
5927
- K && /* @__PURE__ */ e.createElement(d2, { variant: K }),
5931
+ X && /* @__PURE__ */ e.createElement(d2, { variant: X }),
5928
5932
  /* @__PURE__ */ e.createElement(
5929
5933
  "input",
5930
5934
  w({
@@ -5939,7 +5943,7 @@ const s4 = (C) => {
5939
5943
  placeholder: f,
5940
5944
  value: ve,
5941
5945
  onBlur: se,
5942
- onChange: be,
5946
+ onChange: we,
5943
5947
  onFocus: de,
5944
5948
  onKeyDown(le) {
5945
5949
  le.key === "Enter" && P != null && Ce[P] && me(P);
@@ -5983,7 +5987,7 @@ const s4 = (C) => {
5983
5987
  )
5984
5988
  )
5985
5989
  ),
5986
- Ke && /* @__PURE__ */ e.createElement(
5990
+ Xe && /* @__PURE__ */ e.createElement(
5987
5991
  "div",
5988
5992
  w({
5989
5993
  ref: ue.setFloating,
@@ -5993,7 +5997,7 @@ const s4 = (C) => {
5993
5997
  zIndex: "var(--pds-z-index-dropdown)"
5994
5998
  }
5995
5999
  })),
5996
- /* @__PURE__ */ e.createElement("div", { style: w({}, G) }, i ? /* @__PURE__ */ e.createElement("div", { className: `${I}__loading` }, u) : Ce.length > 0 ? /* @__PURE__ */ e.createElement("ul", { role: "group", className: `${I}__options` }, $e) : /* @__PURE__ */ e.createElement("div", { className: `${I}__no-results` }, b))
6000
+ /* @__PURE__ */ e.createElement("div", { style: w({}, G) }, i ? /* @__PURE__ */ e.createElement("div", { className: `${I}__loading` }, u) : Ce.length > 0 ? /* @__PURE__ */ e.createElement("ul", { role: "group", className: `${I}__options` }, ye) : /* @__PURE__ */ e.createElement("div", { className: `${I}__no-results` }, b))
5997
6001
  ),
5998
6002
  Q && /* @__PURE__ */ e.createElement(
5999
6003
  Be,
@@ -6077,9 +6081,9 @@ const s4 = (C) => {
6077
6081
  isOpen: I,
6078
6082
  highlightedIndex: F,
6079
6083
  selectedItem: W,
6080
- getToggleButtonProps: X,
6084
+ getToggleButtonProps: K,
6081
6085
  getMenuProps: J,
6082
- getInputProps: K,
6086
+ getInputProps: X,
6083
6087
  getItemProps: Q
6084
6088
  } = t2({
6085
6089
  items: x,
@@ -6130,9 +6134,9 @@ const s4 = (C) => {
6130
6134
  if (!t && ((A.key === "Backspace" || A.key === "Delete") && !$ && H.length > 0 && (A.preventDefault(), Y()), A.key === "Enter" && k !== null && (A.preventDefault(), Y()), A.key === "ArrowDown" && !I)) {
6131
6135
  A.preventDefault();
6132
6136
  const ee = A.nativeEvent;
6133
- (j = (P = X()).onClick) == null || j.call(P, ee);
6137
+ (j = (P = K()).onClick) == null || j.call(P, ee);
6134
6138
  }
6135
- }, D = K(ne(w({}, q({
6139
+ }, D = X(ne(w({}, q({
6136
6140
  preventKeyAction: I
6137
6141
  })), {
6138
6142
  disabled: t,
@@ -6202,7 +6206,7 @@ const s4 = (C) => {
6202
6206
  disabled: t,
6203
6207
  tabIndex: -1,
6204
6208
  type: "button"
6205
- }, X()),
6209
+ }, K()),
6206
6210
  /* @__PURE__ */ e.createElement(Z, { iconName: "angleDown", className: `${o}__trigger-icon` })
6207
6211
  )
6208
6212
  ),
@@ -6293,14 +6297,14 @@ const s4 = (C) => {
6293
6297
  ), z = Je(c), x = "pds-file-upload", O = s ? te.disabled : null, S = p && !s ? te.required : null, q = v === "error" ? te.error : null, R = v === "success" ? te.success : null, I = L ? `${x}--safari-default` : null;
6294
6298
  let F = null;
6295
6299
  v === "error" && (F = "error"), v === "success" && (F = "success");
6296
- const W = C || i, X = n ? [n] : null, J = n ? n.split("/").pop() : null, K = b ? n : J, Q = n ? new File(X, K) : null;
6300
+ const W = C || i, K = n ? [n] : null, J = n ? n.split("/").pop() : null, X = b ? n : J, Q = n ? new File(K, X) : null;
6297
6301
  ae(() => {
6298
6302
  const V = new DataTransfer();
6299
6303
  if (Q && V.items.add(Q), V.files.length > 0) {
6300
6304
  const A = document.getElementById(
6301
6305
  `${r}--input`
6302
6306
  );
6303
- A.files = V.files, y2 && (A.dataset.file = `${K}`), H(!0);
6307
+ A.files = V.files, y2 && (A.dataset.file = `${X}`), H(!0);
6304
6308
  }
6305
6309
  }, [n, b]);
6306
6310
  const Y = () => {
@@ -6625,8 +6629,8 @@ const s4 = (C) => {
6625
6629
  className: "pds-input-message--switch"
6626
6630
  }
6627
6631
  );
6628
- let W, X;
6629
- return L ? W = /* @__PURE__ */ e.createElement(e.Fragment, null, I, F, R) : k && (X = "pds-switch--placement-right", W = i ? /* @__PURE__ */ e.createElement(e.Fragment, null, I, /* @__PURE__ */ e.createElement("div", { className: "pds-switch__toggle-message-container" }, F, /* @__PURE__ */ e.createElement("div", null, R))) : /* @__PURE__ */ e.createElement(
6632
+ let W, K;
6633
+ return L ? W = /* @__PURE__ */ e.createElement(e.Fragment, null, I, F, R) : k && (K = "pds-switch--placement-right", W = i ? /* @__PURE__ */ e.createElement(e.Fragment, null, I, /* @__PURE__ */ e.createElement("div", { className: "pds-switch__toggle-message-container" }, F, /* @__PURE__ */ e.createElement("div", null, R))) : /* @__PURE__ */ e.createElement(
6630
6634
  "div",
6631
6635
  {
6632
6636
  className: N([
@@ -6644,7 +6648,7 @@ const s4 = (C) => {
6644
6648
  E,
6645
6649
  $,
6646
6650
  M,
6647
- X,
6651
+ K,
6648
6652
  y
6649
6653
  ]),
6650
6654
  style: d ? f : null
@@ -6710,10 +6714,10 @@ const s4 = (C) => {
6710
6714
  "value",
6711
6715
  "className"
6712
6716
  ]);
6713
- const z = Je(r), x = "pds-textarea", O = d ? "pds-is-resizable" : null, S = s ? te.disabled : null, q = b && !s ? te.required : null, R = f === "error" ? te.error : null, I = f === "success" ? te.success : null, F = p ? te.readonly : null, W = o || l, X = E != null && m !== void 0, J = typeof n != "undefined", [K, Q] = U(
6717
+ const z = Je(r), x = "pds-textarea", O = d ? "pds-is-resizable" : null, S = s ? te.disabled : null, q = b && !s ? te.required : null, R = f === "error" ? te.error : null, I = f === "success" ? te.success : null, F = p ? te.readonly : null, W = o || l, K = E != null && m !== void 0, J = typeof n != "undefined", [X, Q] = U(
6714
6718
  J ? n : ""
6715
- ), Y = E || K, B = (V) => {
6716
- X || Q(V.target.value), m && m(V);
6719
+ ), Y = E || X, B = (V) => {
6720
+ K || Q(V.target.value), m && m(V);
6717
6721
  }, D = (V) => {
6718
6722
  i && i(V);
6719
6723
  };
@@ -6763,7 +6767,7 @@ const s4 = (C) => {
6763
6767
  required: b,
6764
6768
  readOnly: p,
6765
6769
  disabled: s,
6766
- value: X ? E : K,
6770
+ value: K ? E : X,
6767
6771
  rows: _,
6768
6772
  onChange: B,
6769
6773
  onBlur: D,
@@ -6854,28 +6858,28 @@ const s4 = (C) => {
6854
6858
  "value",
6855
6859
  "className"
6856
6860
  ]);
6857
- const I = Je(m), F = "pds-text-input", W = a ? te.disabled : null, X = h && !a ? te.required : null, J = k === "error" ? te.error : null, K = k === "success" ? te.success : null, Q = v ? te.readonly : null, Y = c && H === "url" ? `${F}--has-url-prefix` : null;
6861
+ const I = Je(m), F = "pds-text-input", W = a ? te.disabled : null, K = h && !a ? te.required : null, J = k === "error" ? te.error : null, X = k === "success" ? te.success : null, Q = v ? te.readonly : null, Y = c && H === "url" ? `${F}--has-url-prefix` : null;
6858
6862
  let B = null;
6859
6863
  H === "search" && (B = "search"), H === "search" && o === "filter" && (B = "filter"), k === "error" && (B = "error"), k === "success" && (B = "success");
6860
6864
  const D = L || u, V = typeof z != "undefined", A = typeof s != "undefined", [P, j] = U(
6861
6865
  A ? s : ""
6862
6866
  ), ee = z || P, ge = (pe) => {
6863
6867
  if (E && ve && ce(!1), c && H === "url") {
6864
- const ze = ht(pe.target.value), Re = ne(w({}, pe), {
6868
+ const xe = ht(pe.target.value), Re = ne(w({}, pe), {
6865
6869
  target: ne(w({}, pe.target), {
6866
- value: ze
6870
+ value: xe
6867
6871
  })
6868
6872
  });
6869
6873
  p && p(Re);
6870
6874
  } else p && p(pe);
6871
6875
  }, Ce = (pe) => {
6872
6876
  if (c && H === "url") {
6873
- const ze = ht(pe.target.value), Re = ne(w({}, pe), {
6877
+ const xe = ht(pe.target.value), Re = ne(w({}, pe), {
6874
6878
  target: ne(w({}, pe.target), {
6875
- value: ze
6879
+ value: xe
6876
6880
  })
6877
6881
  });
6878
- V || j(ze), b && b(Re);
6882
+ V || j(xe), b && b(Re);
6879
6883
  } else
6880
6884
  V || j(pe.target.value), b && b(pe);
6881
6885
  }, Ee = () => {
@@ -6883,7 +6887,7 @@ const s4 = (C) => {
6883
6887
  const pe = document.getElementById(l);
6884
6888
  pe && pe.focus();
6885
6889
  }, [ve, ce] = U(!1), _e = () => {
6886
- ce((ze) => !ze);
6890
+ ce((xe) => !xe);
6887
6891
  const pe = document.getElementById(l);
6888
6892
  pe && pe.focus();
6889
6893
  };
@@ -6895,9 +6899,9 @@ const s4 = (C) => {
6895
6899
  te.base,
6896
6900
  F,
6897
6901
  W,
6898
- X,
6899
- J,
6900
6902
  K,
6903
+ J,
6904
+ X,
6901
6905
  Q,
6902
6906
  Y,
6903
6907
  x != null ? x : ""
@@ -7078,7 +7082,7 @@ const s4 = (C) => {
7078
7082
  onOpenChange: E
7079
7083
  }), L = je(M), k = r ? void 0 : Ae(M, {
7080
7084
  outsidePressEvent: "mousedown"
7081
- }), z = Te(M), { getFloatingProps: x } = De([L, k, z]), { isMounted: O, styles: S } = Xe(M, {
7085
+ }), z = Te(M), { getFloatingProps: x } = De([L, k, z]), { isMounted: O, styles: S } = Ke(M, {
7082
7086
  duration: {
7083
7087
  open: 300,
7084
7088
  close: 300
@@ -7146,7 +7150,7 @@ const s4 = (C) => {
7146
7150
  if (g < l - 1)
7147
7151
  return /* @__PURE__ */ e.createElement("li", { key: g, className: `${c}__crumb` }, m);
7148
7152
  {
7149
- const u = Le(m) ? Oe(m, {
7153
+ const u = He(m) ? Oe(m, {
7150
7154
  "aria-current": "page"
7151
7155
  }) : null;
7152
7156
  return /* @__PURE__ */ e.createElement(
@@ -7183,17 +7187,17 @@ const s4 = (C) => {
7183
7187
  }, Ve = (t) => {
7184
7188
  let n = t;
7185
7189
  return typeof t == "object" && (n = t.props.children), n;
7186
- }, qt = (t) => typeof t.linkContent != "string" ? !!(t.isActive || t.linkContent.props.className && t.linkContent.props.className.includes("pds-isActive")) : !1, ke = (t) => {
7190
+ }, qt = (t) => typeof t.linkContent != "string" ? !!(t.isActive || t.linkContent.props.className && t.linkContent.props.className.includes("pds-isActive")) : !1, Ne = (t) => {
7187
7191
  if (qt(t))
7188
7192
  return !0;
7189
7193
  if (t.links) {
7190
7194
  for (let n = 0; n < t.links.length; n++)
7191
- if (ke(t.links[n]))
7195
+ if (Ne(t.links[n]))
7192
7196
  return !0;
7193
7197
  }
7194
7198
  return !1;
7195
7199
  }, dn = (t) => {
7196
- if (Le(t)) {
7200
+ if (He(t)) {
7197
7201
  const n = t.type;
7198
7202
  if (n === "a" || typeof n == "string" && n.toLowerCase() === "a")
7199
7203
  return !0;
@@ -7223,7 +7227,7 @@ const s4 = (C) => {
7223
7227
  ];
7224
7228
  if (s) {
7225
7229
  const c = s[0].linkContent;
7226
- Le(c) && (r = Oe(c, w({}, typeof n == "string" ? { children: d } : {})));
7230
+ He(c) && (r = Oe(c, w({}, typeof n == "string" ? { children: d } : {})));
7227
7231
  } else
7228
7232
  r = null;
7229
7233
  }
@@ -7245,7 +7249,7 @@ const s4 = (C) => {
7245
7249
  "className"
7246
7250
  ]);
7247
7251
  let l = !1;
7248
- const i = He(Ne);
7252
+ const i = Me(ze);
7249
7253
  i && (l = i.isMobile);
7250
7254
  const m = oe(null), g = "pds-button-nav", u = l ? `${g}--isMobile` : null, p = s !== "md" ? `${g}--${s}` : null;
7251
7255
  ae(() => {
@@ -7291,11 +7295,11 @@ const s4 = (C) => {
7291
7295
  {
7292
7296
  key: h,
7293
7297
  linkContent: v.linkContent,
7294
- isActive: ke(v)
7298
+ isActive: Ne(v)
7295
7299
  }
7296
7300
  ))) : null, y = [];
7297
7301
  n.map((v) => {
7298
- v.linkContent && (ke(v) ? y.unshift({
7302
+ v.linkContent && (Ne(v) ? y.unshift({
7299
7303
  linkContent: v.linkContent,
7300
7304
  isLink: !0
7301
7305
  }) : y.push({
@@ -7371,7 +7375,7 @@ const s4 = (C) => {
7371
7375
  "setIsSidebarExpanded",
7372
7376
  "className"
7373
7377
  ]);
7374
- const { isMobile: _, windowWidth: y } = He(Ne), [C, v] = U(() => i !== void 0 ? i : y > 1440), h = oe(), [o] = S2(h), f = o.width;
7378
+ const { isMobile: _, windowWidth: y } = Me(ze), [C, v] = U(() => i !== void 0 ? i : y > 1440), h = oe(), [o] = S2(h), f = o.width;
7375
7379
  ae(() => {
7376
7380
  i !== void 0 && v(i);
7377
7381
  }, [i]), ae(() => {
@@ -7390,7 +7394,7 @@ const s4 = (C) => {
7390
7394
  transition: "width 200ms ease-in-out"
7391
7395
  }, O = () => {
7392
7396
  v(!C);
7393
- }, S = Pe(t), q = S.header, R = S.sidebar, I = S.main, F = S.footer, W = /* @__PURE__ */ e.createElement(e.Fragment, null, q, /* @__PURE__ */ e.createElement("aside", { className: `${$}__sidebar` }, R), /* @__PURE__ */ e.createElement("main", { id: "main", className: `${$}__main` }, I), F && /* @__PURE__ */ e.createElement("footer", { className: `${$}__footer` }, F)), X = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("aside", { className: `${$}__sidebar`, style: z }, n && /* @__PURE__ */ e.createElement(
7397
+ }, S = Pe(t), q = S.header, R = S.sidebar, I = S.main, F = S.footer, W = /* @__PURE__ */ e.createElement(e.Fragment, null, q, /* @__PURE__ */ e.createElement("aside", { className: `${$}__sidebar` }, R), /* @__PURE__ */ e.createElement("main", { id: "main", className: `${$}__main` }, I), F && /* @__PURE__ */ e.createElement("footer", { className: `${$}__footer` }, F)), K = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("aside", { className: `${$}__sidebar`, style: z }, n && /* @__PURE__ */ e.createElement(
7394
7398
  "button",
7395
7399
  {
7396
7400
  className: `${$}__sidebar-toggle-button`,
@@ -7421,7 +7425,7 @@ const s4 = (C) => {
7421
7425
  g != null ? g : ""
7422
7426
  ])
7423
7427
  }, u),
7424
- _ ? W : X
7428
+ _ ? W : K
7425
7429
  ));
7426
7430
  }, Ye = "ease-out", $t = 0, un = ({
7427
7431
  icon: t,
@@ -7447,7 +7451,7 @@ const s4 = (C) => {
7447
7451
  className: N([
7448
7452
  l,
7449
7453
  `${l}--${k}`,
7450
- ke(z) ? `${l}--active` : null
7454
+ Ne(z) ? `${l}--active` : null
7451
7455
  ])
7452
7456
  },
7453
7457
  z.linkContent
@@ -7461,7 +7465,7 @@ const s4 = (C) => {
7461
7465
  }), C = C2(y, {
7462
7466
  move: !1,
7463
7467
  handleClose: Q2()
7464
- }), v = K2(y), h = Ae(y), o = Te(y, { role: "menu" }), { getReferenceProps: f, getFloatingProps: E } = De([
7468
+ }), v = X2(y), h = Ae(y), o = Te(y, { role: "menu" }), { getReferenceProps: f, getFloatingProps: E } = De([
7465
7469
  C,
7466
7470
  v,
7467
7471
  h,
@@ -7622,15 +7626,15 @@ const s4 = (C) => {
7622
7626
  const I = [];
7623
7627
  return R.forEach((F) => {
7624
7628
  F.links ? (I.push(v({ item: F, level: "top-level" })), F.links.forEach((W) => {
7625
- W.links ? (I.push(v({ item: W, level: "second-level" })), W.links.forEach((X) => {
7626
- X.links && (I.push(
7627
- v({ item: X, level: "third-level" })
7628
- ), X.links.forEach((J) => {
7629
+ W.links ? (I.push(v({ item: W, level: "second-level" })), W.links.forEach((K) => {
7630
+ K.links && (I.push(
7631
+ v({ item: K, level: "third-level" })
7632
+ ), K.links.forEach((J) => {
7629
7633
  I.push(
7630
7634
  v({ item: J, level: "fourth-level" })
7631
7635
  );
7632
7636
  })), I.push(
7633
- v({ item: X, level: "third-level" })
7637
+ v({ item: K, level: "third-level" })
7634
7638
  );
7635
7639
  })) : I.push(v({ item: W, level: "second-level" }));
7636
7640
  })) : I.push(v({ item: F, level: "top-level" }));
@@ -7657,13 +7661,13 @@ const s4 = (C) => {
7657
7661
  findMatch: (R, I) => {
7658
7662
  const F = I.toLowerCase();
7659
7663
  return R.find((W) => {
7660
- var J, K;
7661
- return ((K = (J = W == null ? void 0 : W.textContent) == null ? void 0 : J.trim().toLowerCase()) != null ? K : "").startsWith(F);
7664
+ var J, X;
7665
+ return ((X = (J = W == null ? void 0 : W.textContent) == null ? void 0 : J.trim().toLowerCase()) != null ? X : "").startsWith(F);
7662
7666
  });
7663
7667
  }
7664
7668
  }), { getReferenceProps: z, getFloatingProps: x, getItemProps: O } = De(
7665
7669
  [H, L, M, $, k]
7666
- ), { isMounted: S, styles: q } = Xe(f, {
7670
+ ), { isMounted: S, styles: q } = Ke(f, {
7667
7671
  duration: {
7668
7672
  open: 300,
7669
7673
  close: 300
@@ -8073,9 +8077,9 @@ const s4 = (C) => {
8073
8077
  "className"
8074
8078
  ]);
8075
8079
  let i = !1;
8076
- const m = He(Ne);
8080
+ const m = Me(ze);
8077
8081
  m && (i = m.isMobile);
8078
- const g = He(A2);
8082
+ const g = Me(A2);
8079
8083
  let u = !0, p = null;
8080
8084
  g && (u = g.isSidebarExpanded, p = g.logoLinkContent);
8081
8085
  const b = "pds-dashboard-nav", _ = u ? `${b}--expanded` : `${b}--collapsed`, y = /* @__PURE__ */ e.createElement(e.Fragment, null, s.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${b}__menu ${b}__menu--top-level` }, s.map((h, o) => /* @__PURE__ */ e.createElement(
@@ -8083,7 +8087,7 @@ const s4 = (C) => {
8083
8087
  {
8084
8088
  key: o,
8085
8089
  icon: h.icon,
8086
- isActive: ke(h),
8090
+ isActive: Ne(h),
8087
8091
  isSidebarExpanded: u,
8088
8092
  labels: n,
8089
8093
  linkContent: h.linkContent,
@@ -8226,10 +8230,10 @@ const s4 = (C) => {
8226
8230
  ]);
8227
8231
  const [C, v] = U(!1), [h, o] = U(null), f = oe(null);
8228
8232
  let E = !1;
8229
- const $ = He(Ne);
8233
+ const $ = Me(ze);
8230
8234
  $ && (E = $.isMobile);
8231
8235
  let M = null, H = !1;
8232
- const L = He(A2);
8236
+ const L = Me(A2);
8233
8237
  L && (M = L.navbarWidth, H = L.isAdmin);
8234
8238
  const k = 2.25, z = 22, x = H ? 14.5 : 9.625, O = M > 900 ? z : M / 16 - (x + u) - k * 0.675;
8235
8239
  let S = k;
@@ -8245,7 +8249,7 @@ const s4 = (C) => {
8245
8249
  setTimeout(() => {
8246
8250
  v(!1);
8247
8251
  }, 150);
8248
- }, X = (B) => {
8252
+ }, K = (B) => {
8249
8253
  o(B.value), i && i(B);
8250
8254
  };
8251
8255
  ae(() => {
@@ -8269,7 +8273,7 @@ const s4 = (C) => {
8269
8273
  value: V != null ? V : A,
8270
8274
  optionDisplay: /* @__PURE__ */ e.createElement(gn, { option: B })
8271
8275
  };
8272
- }), K = /* @__PURE__ */ e.createElement("div", { ref: f, className: `${R}__combobox-wrapper` }, /* @__PURE__ */ e.createElement(
8276
+ }), X = /* @__PURE__ */ e.createElement("div", { ref: f, className: `${R}__combobox-wrapper` }, /* @__PURE__ */ e.createElement(
8273
8277
  ln,
8274
8278
  {
8275
8279
  disabled: t,
@@ -8282,7 +8286,7 @@ const s4 = (C) => {
8282
8286
  loadingText: d,
8283
8287
  noResultsText: c,
8284
8288
  onFocus: l,
8285
- onOptionSelect: X,
8289
+ onOptionSelect: K,
8286
8290
  placeholder: m,
8287
8291
  options: J,
8288
8292
  showLabel: !1,
@@ -8293,7 +8297,7 @@ const s4 = (C) => {
8293
8297
  {
8294
8298
  style: C ? { visibility: "visible" } : { visibility: "hidden" }
8295
8299
  },
8296
- K
8300
+ X
8297
8301
  ), /* @__PURE__ */ e.createElement(
8298
8302
  "button",
8299
8303
  {
@@ -8316,7 +8320,7 @@ const s4 = (C) => {
8316
8320
  )
8317
8321
  }
8318
8322
  )
8319
- )), Y = /* @__PURE__ */ e.createElement("div", { className: `${R}--mobile-inner` }, K);
8323
+ )), Y = /* @__PURE__ */ e.createElement("div", { className: `${R}--mobile-inner` }, X);
8320
8324
  return /* @__PURE__ */ e.createElement(
8321
8325
  "div",
8322
8326
  w({
@@ -8378,9 +8382,9 @@ const s4 = (C) => {
8378
8382
  ]);
8379
8383
  const [_, y] = U(!1);
8380
8384
  let C = !1;
8381
- const v = He(Ne);
8385
+ const v = Me(ze);
8382
8386
  v && (C = v.isMobile);
8383
- const h = He(A2);
8387
+ const h = Me(A2);
8384
8388
  h && (c = h.logoLinkContent);
8385
8389
  const o = "pds-navbar", f = a ? `${o}--noBorder` : "", E = n !== "default" ? `${o}--${n}` : "", $ = C ? `${o}--isMobile` : `${o}--notMobile`, M = (Q) => {
8386
8390
  const Y = Q.key;
@@ -8425,7 +8429,7 @@ const s4 = (C) => {
8425
8429
  const z = Pe(t), x = z["items-left"], O = z["items-right"];
8426
8430
  let S = "default";
8427
8431
  (n === "reverse" || n === "reverse-transparent") && (S = "reverse");
8428
- const q = Le(c) ? c.props.children : null, R = Le(c) && q ? Oe(c, {
8432
+ const q = He(c) ? c.props.children : null, R = He(c) && q ? Oe(c, {
8429
8433
  children: /* @__PURE__ */ e.createElement("img", { className: `${o}__custom-logo`, src: l }),
8430
8434
  "aria-label": q || null
8431
8435
  }) : /* @__PURE__ */ e.createElement("img", { className: `${o}__custom-logo`, src: l, alt: "" }), I = () => l ? R : /* @__PURE__ */ e.createElement(
@@ -8446,9 +8450,9 @@ const s4 = (C) => {
8446
8450
  },
8447
8451
  /* @__PURE__ */ e.createElement(Z, { iconName: _ ? "xmark" : "bars", iconSize: "lg" })
8448
8452
  ), W = e.Children.toArray(t).sort((Q, Y) => {
8449
- const B = Le(Q) && parseInt(Q.props["data-mobile-order"], 10) || 1 / 0, D = Le(Y) && parseInt(Y.props["data-mobile-order"], 10) || 1 / 0;
8453
+ const B = He(Q) && parseInt(Q.props["data-mobile-order"], 10) || 1 / 0, D = He(Y) && parseInt(Y.props["data-mobile-order"], 10) || 1 / 0;
8450
8454
  return B - D;
8451
- }), X = /* @__PURE__ */ e.createElement(
8455
+ }), K = /* @__PURE__ */ e.createElement(
8452
8456
  "div",
8453
8457
  {
8454
8458
  className: _ ? `${o}__mobile ${o}__mobile--open` : `${o}__mobile ${o}__mobile--closed`,
@@ -8463,8 +8467,8 @@ const s4 = (C) => {
8463
8467
  initialFocus: !1
8464
8468
  }
8465
8469
  },
8466
- /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(h2, { className: `${o}__bar-mobile` }, /* @__PURE__ */ e.createElement("div", { className: `${o}__inner-mobile` }, I(), t && F)), /* @__PURE__ */ e.createElement(h2, null, t && X))
8467
- ), K = /* @__PURE__ */ e.createElement(h2, { width: s, className: `${o}__inner` }, !r && /* @__PURE__ */ e.createElement("div", { className: `${o}__logo` }, I()), /* @__PURE__ */ e.createElement("div", { className: `${o}__content` }, x ? /* @__PURE__ */ e.createElement("div", { className: `${o}__items-left` }, x) : /* @__PURE__ */ e.createElement("span", null), O && /* @__PURE__ */ e.createElement("div", { className: `${o}__items-right` }, O)));
8470
+ /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(h2, { className: `${o}__bar-mobile` }, /* @__PURE__ */ e.createElement("div", { className: `${o}__inner-mobile` }, I(), t && F)), /* @__PURE__ */ e.createElement(h2, null, t && K))
8471
+ ), X = /* @__PURE__ */ e.createElement(h2, { width: s, className: `${o}__inner` }, !r && /* @__PURE__ */ e.createElement("div", { className: `${o}__logo` }, I()), /* @__PURE__ */ e.createElement("div", { className: `${o}__content` }, x ? /* @__PURE__ */ e.createElement("div", { className: `${o}__items-left` }, x) : /* @__PURE__ */ e.createElement("span", null), O && /* @__PURE__ */ e.createElement("div", { className: `${o}__items-right` }, O)));
8468
8472
  return /* @__PURE__ */ e.createElement(
8469
8473
  "header",
8470
8474
  w({
@@ -8476,7 +8480,7 @@ const s4 = (C) => {
8476
8480
  g != null ? g : ""
8477
8481
  ])
8478
8482
  }, u),
8479
- C ? J : K
8483
+ C ? J : X
8480
8484
  );
8481
8485
  }, Cn = ({
8482
8486
  items: t,
@@ -8581,12 +8585,12 @@ const s4 = (C) => {
8581
8585
  u(-1), b(p === 0 ? x : p - 1);
8582
8586
  },
8583
8587
  ArrowDown: () => {
8584
- var J, K, Q, Y;
8588
+ var J, X, Q, Y;
8585
8589
  y("down");
8586
- const W = z.target.parentNode.children[1], X = ((K = (J = z.target) == null ? void 0 : J.parentNode.children[1]) == null ? void 0 : K.children) || ((Y = (Q = z.target) == null ? void 0 : Q.parentNode.parentNode.children[1]) == null ? void 0 : Y.children);
8590
+ const W = z.target.parentNode.children[1], K = ((X = (J = z.target) == null ? void 0 : J.parentNode.children[1]) == null ? void 0 : X.children) || ((Y = (Q = z.target) == null ? void 0 : Q.parentNode.parentNode.children[1]) == null ? void 0 : Y.children);
8587
8591
  C.container != W && W != null && v({
8588
8592
  container: W,
8589
- containerChildren: [...X]
8593
+ containerChildren: [...K]
8590
8594
  }), g === null || g == C.containerChildren.length - 1 ? u(0) : u(parseInt(g) + 1);
8591
8595
  },
8592
8596
  ArrowUp: () => {
@@ -8674,7 +8678,7 @@ const s4 = (C) => {
8674
8678
  const f = v.getAttribute("aria-expanded") === "false";
8675
8679
  v.classList.toggle(`${m}__toggle--expanded`, f), v.setAttribute("aria-expanded", f ? "true" : "false"), h.classList.toggle(`${u}--expanded`, f);
8676
8680
  }, b = (C, v) => {
8677
- const { linkContent: h, links: o } = C, f = ke(C), E = dn(h), $ = f;
8681
+ const { linkContent: h, links: o } = C, f = Ne(C), E = dn(h), $ = f;
8678
8682
  return /* @__PURE__ */ e.createElement(
8679
8683
  "li",
8680
8684
  {
@@ -8715,7 +8719,7 @@ const s4 = (C) => {
8715
8719
  className: N([
8716
8720
  g,
8717
8721
  `${g}--second-level`,
8718
- ke(M) ? `${g}--active` : null
8722
+ Ne(M) ? `${g}--active` : null
8719
8723
  ])
8720
8724
  },
8721
8725
  g2(
@@ -8737,7 +8741,7 @@ const s4 = (C) => {
8737
8741
  onClick: p,
8738
8742
  type: "button"
8739
8743
  },
8740
- Le(h) && h.type === "span" ? (
8744
+ He(h) && h.type === "span" ? (
8741
8745
  // If linkContent is already a span, clone it and add the toggle-content class.
8742
8746
  Oe(h, {
8743
8747
  className: N([
@@ -8767,7 +8771,7 @@ const s4 = (C) => {
8767
8771
  className: N([
8768
8772
  g,
8769
8773
  `${g}--second-level`,
8770
- ke(M) ? `${g}--active` : null
8774
+ Ne(M) ? `${g}--active` : null
8771
8775
  ])
8772
8776
  },
8773
8777
  g2(
@@ -8984,7 +8988,7 @@ const s4 = (C) => {
8984
8988
  ).indexOf(j);
8985
8989
  o((Ee) => P && !Ee.includes(Ce) && Ce !== -1 ? [...Ee, Ce] : P ? Ee : Ee.filter((ve) => ve !== Ce));
8986
8990
  }
8987
- P ? W(A) : X(A);
8991
+ P ? W(A) : K(A);
8988
8992
  }, W = (D) => {
8989
8993
  D.style.display = "flex", D.style.height = "auto";
8990
8994
  const V = `${D.scrollHeight}px`;
@@ -9009,7 +9013,7 @@ const s4 = (C) => {
9009
9013
  marginBlockStart: `${k2}rem`
9010
9014
  }), D.classList.add(`${b}--expanded`), k();
9011
9015
  };
9012
- }, X = (D) => {
9016
+ }, K = (D) => {
9013
9017
  const V = `${D.scrollHeight}px`, A = D.animate(
9014
9018
  [
9015
9019
  {
@@ -9034,9 +9038,9 @@ const s4 = (C) => {
9034
9038
  marginBlockStart: "0"
9035
9039
  }), k();
9036
9040
  };
9037
- }, J = { 2: "second", 3: "third", 4: "fourth" }, K = (D, V, A) => {
9041
+ }, J = { 2: "second", 3: "third", 4: "fourth" }, X = (D, V, A) => {
9038
9042
  var ce, _e;
9039
- const P = J[D], j = `${b}--${P}-level`, ee = `${p}--${P}-level`, ge = D + 1, Ce = ke(V);
9043
+ const P = J[D], j = `${b}--${P}-level`, ee = `${p}--${P}-level`, ge = D + 1, Ce = Ne(V);
9040
9044
  let Ee = !1;
9041
9045
  const ve = (ce = f.current) == null ? void 0 : ce.querySelector(
9042
9046
  `.${p}--top-level[data-item-path="${V.path}"]`
@@ -9051,10 +9055,10 @@ const s4 = (C) => {
9051
9055
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${p}-wrapper` }, /* @__PURE__ */ e.createElement(
9052
9056
  "button",
9053
9057
  {
9054
- "aria-expanded": ke(V),
9058
+ "aria-expanded": Ne(V),
9055
9059
  className: N([
9056
9060
  `${u}__toggle`,
9057
- ke(V) ? `${u}__toggle--expanded` : null
9061
+ Ne(V) ? `${u}__toggle--expanded` : null
9058
9062
  ]),
9059
9063
  onClick: F,
9060
9064
  type: "button"
@@ -9084,11 +9088,11 @@ const s4 = (C) => {
9084
9088
  className: N([
9085
9089
  p,
9086
9090
  ee,
9087
- ke(ue) ? `${p}--active` : null
9091
+ Ne(ue) ? `${p}--active` : null
9088
9092
  ]),
9089
9093
  "data-item-path": ue.path || ""
9090
9094
  },
9091
- ue.links && ge in J ? K(
9095
+ ue.links && ge in J ? X(
9092
9096
  ge,
9093
9097
  ue,
9094
9098
  ue.links
@@ -9104,11 +9108,11 @@ const s4 = (C) => {
9104
9108
  className: N([
9105
9109
  p,
9106
9110
  `${p}--top-level`,
9107
- ke(D) ? `${p}--active` : null
9111
+ Ne(D) ? `${p}--active` : null
9108
9112
  ]),
9109
9113
  "data-item-path": D.path || ""
9110
9114
  },
9111
- P ? K(2, D) : A
9115
+ P ? X(2, D) : A
9112
9116
  );
9113
9117
  }, Y = /* @__PURE__ */ e.createElement(e.Fragment, null, s && /* @__PURE__ */ e.createElement("h2", { className: `${u}__heading pds-ts-l` }, s), r.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${u}__menu ${u}__menu--top-level` }, r.map((D, V) => Q(D, V)))), B = /* @__PURE__ */ e.createElement(
9114
9118
  T2,
@@ -9157,7 +9161,7 @@ const s4 = (C) => {
9157
9161
  className: N([
9158
9162
  l,
9159
9163
  `${l}--${H}`,
9160
- ke(L) ? `${l}--active` : null
9164
+ Ne(L) ? `${l}--active` : null
9161
9165
  ])
9162
9166
  },
9163
9167
  L.linkContent
@@ -9171,7 +9175,7 @@ const s4 = (C) => {
9171
9175
  }), C = C2(y, {
9172
9176
  move: !1,
9173
9177
  handleClose: Q2()
9174
- }), v = K2(y), h = Ae(y), o = Te(y, { role: "menu" }), { getReferenceProps: f, getFloatingProps: E } = De([
9178
+ }), v = X2(y), h = Ae(y), o = Te(y, { role: "menu" }), { getReferenceProps: f, getFloatingProps: E } = De([
9175
9179
  C,
9176
9180
  v,
9177
9181
  h,
@@ -9270,7 +9274,7 @@ const s4 = (C) => {
9270
9274
  {
9271
9275
  key: v,
9272
9276
  icon: C.icon,
9273
- isActive: ke(C),
9277
+ isActive: Ne(C),
9274
9278
  isSidebarCollapsed: s,
9275
9279
  labels: a,
9276
9280
  linkContent: C.linkContent,
@@ -9323,7 +9327,7 @@ const s4 = (C) => {
9323
9327
  focusItemOnOpen: !1
9324
9328
  }), { getReferenceProps: k, getFloatingProps: z, getItemProps: x } = De(
9325
9329
  [H, M, L, $]
9326
- ), { isMounted: O, styles: S } = Xe(f, {
9330
+ ), { isMounted: O, styles: S } = Ke(f, {
9327
9331
  duration: {
9328
9332
  open: 300,
9329
9333
  close: 150
@@ -9359,7 +9363,7 @@ const s4 = (C) => {
9359
9363
  width: `${Ve(
9360
9364
  W.linkContent
9361
9365
  ).length + 2}ch`
9362
- }, K = /* @__PURE__ */ e.createElement(Z, { iconName: "check", className: `${y}__active-icon` }), Q = _ && /* @__PURE__ */ e.createElement("div", { className: `${y}__filter` }, /* @__PURE__ */ e.createElement(
9366
+ }, X = /* @__PURE__ */ e.createElement(Z, { iconName: "check", className: `${y}__active-icon` }), Q = _ && /* @__PURE__ */ e.createElement("div", { className: `${y}__filter` }, /* @__PURE__ */ e.createElement(
9363
9367
  Wt,
9364
9368
  {
9365
9369
  hasClearButton: !0,
@@ -9386,7 +9390,7 @@ const s4 = (C) => {
9386
9390
  onKeyDown: q
9387
9391
  }, x()),
9388
9392
  B.linkContent,
9389
- B.isActive && K
9393
+ B.isActive && X
9390
9394
  );
9391
9395
  });
9392
9396
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
@@ -9430,7 +9434,7 @@ const s4 = (C) => {
9430
9434
  "className"
9431
9435
  ]);
9432
9436
  let c = !1;
9433
- const l = He(Ne);
9437
+ const l = Me(ze);
9434
9438
  l && (c = l.isMobile);
9435
9439
  const i = "pds-tab-menu", m = c ? `${i}--isMobile` : null, g = ({
9436
9440
  dropdownSettings: p,
@@ -9482,7 +9486,7 @@ const s4 = (C) => {
9482
9486
  key: b,
9483
9487
  dropdownSettings: p.dropdownSettings,
9484
9488
  icon: p.icon,
9485
- isActive: ke(p),
9489
+ isActive: Ne(p),
9486
9490
  linkContent: p.linkContent,
9487
9491
  links: p.links,
9488
9492
  promoteActiveChildLink: p.promoteActiveChildLink
@@ -9516,7 +9520,7 @@ const s4 = (C) => {
9516
9520
  ]);
9517
9521
  const [g, u] = U(null), [p, b] = U(!1), _ = oe([]), y = oe([]);
9518
9522
  let C = !1;
9519
- const v = He(Ne);
9523
+ const v = Me(ze);
9520
9524
  v && (C = v.isMobile);
9521
9525
  const h = d && C, o = "pds-user-menu", f = h ? `${o}--isMobile` : null, E = `${o}__menu`, { refs: $, floatingStyles: M, context: H } = Ie({
9522
9526
  placement: "bottom-end",
@@ -9534,7 +9538,7 @@ const s4 = (C) => {
9534
9538
  focusItemOnHover: !0
9535
9539
  }), { getReferenceProps: S, getFloatingProps: q, getItemProps: R } = De(
9536
9540
  [k, z, L, O]
9537
- ), { isMounted: I, styles: F } = Xe(H, {
9541
+ ), { isMounted: I, styles: F } = Ke(H, {
9538
9542
  duration: {
9539
9543
  open: 300,
9540
9544
  close: 150
@@ -9549,7 +9553,7 @@ const s4 = (C) => {
9549
9553
  opacity: 0
9550
9554
  }
9551
9555
  }), W = /* @__PURE__ */ e.createElement(
9552
- X2,
9556
+ K2,
9553
9557
  {
9554
9558
  hasUserFallback: !0,
9555
9559
  imageSrc: a,
@@ -9557,18 +9561,18 @@ const s4 = (C) => {
9557
9561
  uniqueId: s,
9558
9562
  className: `${o}__avatar`
9559
9563
  }
9560
- ), X = /* @__PURE__ */ e.createElement(Z, { iconName: "angleDown", className: `${o}__trigger-icon` }), J = /* @__PURE__ */ e.createElement("li", { className: `${o}__user-details`, role: "presentation" }, h ? null : /* @__PURE__ */ e.createElement("div", { className: `${o}__user-name` }, r), /* @__PURE__ */ e.createElement("div", { className: `${o}__user-email` }, s));
9564
+ ), K = /* @__PURE__ */ e.createElement(Z, { iconName: "angleDown", className: `${o}__trigger-icon` }), J = /* @__PURE__ */ e.createElement("li", { className: `${o}__user-details`, role: "presentation" }, h ? null : /* @__PURE__ */ e.createElement("div", { className: `${o}__user-name` }, r), /* @__PURE__ */ e.createElement("div", { className: `${o}__user-email` }, s));
9561
9565
  n.forEach((P) => {
9562
9566
  const j = P.id ? P.id : c2();
9563
9567
  _.current.push(j), y.current.push(P);
9564
9568
  });
9565
- const K = (P) => {
9569
+ const X = (P) => {
9566
9570
  const j = _.current.indexOf(P), ee = y.current[j];
9567
9571
  ee.linkContent && !ee.disabled && (x.current[j].querySelector("a").click(), b(!1)), ee.callback && !ee.disabled && (ee.callback(ee), b(!1));
9568
9572
  }, Q = (P) => {
9569
- P.preventDefault(), P.key === "Enter" && K(P.currentTarget.id);
9573
+ P.preventDefault(), P.key === "Enter" && X(P.currentTarget.id);
9570
9574
  }, Y = (P) => {
9571
- K(P.currentTarget.id);
9575
+ X(P.currentTarget.id);
9572
9576
  }, B = n.map((P, j) => {
9573
9577
  const ee = _.current[j], ge = `${o}__item`, Ce = P.disabled ? `${ge}--disabled` : null;
9574
9578
  return /* @__PURE__ */ e.createElement(
@@ -9628,7 +9632,7 @@ const s4 = (C) => {
9628
9632
  onClick: V
9629
9633
  },
9630
9634
  /* @__PURE__ */ e.createElement("span", { className: `${o}__toggle-left` }, W, r || s),
9631
- X
9635
+ K
9632
9636
  ), /* @__PURE__ */ e.createElement("div", { className: `${o}__mobile-menu` }, /* @__PURE__ */ e.createElement(
9633
9637
  "ul",
9634
9638
  {
@@ -9677,7 +9681,7 @@ const s4 = (C) => {
9677
9681
  ]);
9678
9682
  const [b, _] = U(!1), [y, C] = U(null), [v, h] = U(i), o = oe([]), f = oe(null), E = i.length >= d;
9679
9683
  let $ = !1;
9680
- const M = He(Ne);
9684
+ const M = Me(ze);
9681
9685
  M && ($ = M.isMobile);
9682
9686
  const H = l && $, L = "pds-workspace-selector", k = H ? `${L}--isMobile` : null, z = `${L}__menu`, x = E ? `${z}--scroll` : null, { refs: O, floatingStyles: S, context: q } = Ie({
9683
9687
  open: b,
@@ -9691,9 +9695,9 @@ const s4 = (C) => {
9691
9695
  openOnArrowKeyDown: !0,
9692
9696
  focusItemOnHover: !0,
9693
9697
  focusItemOnOpen: !1
9694
- }), { getReferenceProps: X, getFloatingProps: J, getItemProps: K } = De(
9698
+ }), { getReferenceProps: K, getFloatingProps: J, getItemProps: X } = De(
9695
9699
  [I, F, R, W]
9696
- ), { isMounted: Q, styles: Y } = Xe(q, {
9700
+ ), { isMounted: Q, styles: Y } = Ke(q, {
9697
9701
  duration: {
9698
9702
  open: 300,
9699
9703
  close: 150
@@ -9723,7 +9727,7 @@ const s4 = (C) => {
9723
9727
  const V = (ce) => {
9724
9728
  ce.preventDefault(), ce.key === "Enter" && o.current[y].querySelector("a").click(), ce.key === "Tab" && (ce.shiftKey ? E ? document.getElementById("workspace-filter").focus() : _(!1) : n ? f.current.querySelector("a").focus() : _(!1));
9725
9729
  }, A = /* @__PURE__ */ e.createElement("div", { className: `${L}__button-content` }, /* @__PURE__ */ e.createElement(
9726
- X2,
9730
+ K2,
9727
9731
  {
9728
9732
  size: "sm",
9729
9733
  uniqueId: B.workspaceId,
@@ -9758,8 +9762,8 @@ const s4 = (C) => {
9758
9762
  }
9759
9763
  )), ee = v.map(
9760
9764
  (ce, _e) => {
9761
- const ue = `${L}__item`, pe = ce.isActive ? `${ue}--active` : null, ze = ce.isUnprivileged ? `${ue}--unprivileged` : null, Re = /* @__PURE__ */ e.createElement(Z, { iconName: "check", className: `${L}__active-icon` }), We = ce.workspaceId, Ze = ce.workspaceLink.type, e2 = ce.isUnprivileged ? null : (Ke) => {
9762
- o.current[_e] = Ke;
9765
+ const ue = `${L}__item`, pe = ce.isActive ? `${ue}--active` : null, xe = ce.isUnprivileged ? `${ue}--unprivileged` : null, Re = /* @__PURE__ */ e.createElement(Z, { iconName: "check", className: `${L}__active-icon` }), We = ce.workspaceId, Ze = ce.workspaceLink.type, e2 = ce.isUnprivileged ? null : (Xe) => {
9766
+ o.current[_e] = Xe;
9763
9767
  };
9764
9768
  return /* @__PURE__ */ e.createElement(
9765
9769
  "li",
@@ -9769,20 +9773,20 @@ const s4 = (C) => {
9769
9773
  className: N([
9770
9774
  ue,
9771
9775
  pe,
9772
- ze
9776
+ xe
9773
9777
  ]),
9774
9778
  role: "menuitem",
9775
9779
  tabIndex: y === _e ? 0 : -1,
9776
9780
  ref: e2,
9777
9781
  onKeyDown: V
9778
- }, K()),
9782
+ }, X()),
9779
9783
  /* @__PURE__ */ e.createElement(
9780
9784
  Ze,
9781
9785
  ne(w({}, ce.workspaceLink.props), {
9782
9786
  onClick: () => _(!1)
9783
9787
  }),
9784
9788
  /* @__PURE__ */ e.createElement("div", { className: `${L}__item-content` }, /* @__PURE__ */ e.createElement(
9785
- X2,
9789
+ K2,
9786
9790
  {
9787
9791
  size: "sm",
9788
9792
  uniqueId: ce.workspaceId,
@@ -9811,7 +9815,7 @@ const s4 = (C) => {
9811
9815
  "aria-label": t,
9812
9816
  ref: O.setReference,
9813
9817
  type: "button"
9814
- }, X()),
9818
+ }, K()),
9815
9819
  A,
9816
9820
  P
9817
9821
  ), Q && /* @__PURE__ */ e.createElement(
@@ -9924,7 +9928,7 @@ const s4 = (C) => {
9924
9928
  return;
9925
9929
  }
9926
9930
  g(
9927
- (W) => W.filter((X) => X.id !== L)
9931
+ (W) => W.filter((K) => K.id !== L)
9928
9932
  );
9929
9933
  }, 200);
9930
9934
  };
@@ -10692,14 +10696,14 @@ const P4 = () => {
10692
10696
  O,
10693
10697
  S,
10694
10698
  q
10695
- ]), F = (Y = (Q = z.arrow) == null ? void 0 : Q.x) != null ? Y : 0, W = (D = (B = z.arrow) == null ? void 0 : B.y) != null ? D : 0, X = F + Lt / 2, J = W + n2, { isMounted: K } = Xe(k, {
10699
+ ]), F = (Y = (Q = z.arrow) == null ? void 0 : Q.x) != null ? Y : 0, W = (D = (B = z.arrow) == null ? void 0 : B.y) != null ? D : 0, K = F + Lt / 2, J = W + n2, { isMounted: X } = Ke(k, {
10696
10700
  initial: {
10697
10701
  transform: "scale(0)"
10698
10702
  },
10699
10703
  common: ({ side: V }) => ({
10700
10704
  transformOrigin: {
10701
- top: `${X}px calc(100% + ${n2}px)`,
10702
- bottom: `${X}px ${-n2}px`,
10705
+ top: `${K}px calc(100% + ${n2}px)`,
10706
+ bottom: `${K}px ${-n2}px`,
10703
10707
  left: `calc(100% + ${n2}px) ${J}px`,
10704
10708
  right: `${-n2}px ${J}px`
10705
10709
  }[V]
@@ -10721,7 +10725,7 @@ const P4 = () => {
10721
10725
  iconSize: "md"
10722
10726
  }
10723
10727
  ))
10724
- ), K && /* @__PURE__ */ e.createElement(Vt, null, /* @__PURE__ */ e.createElement(
10728
+ ), X && /* @__PURE__ */ e.createElement(Vt, null, /* @__PURE__ */ e.createElement(
10725
10729
  St,
10726
10730
  {
10727
10731
  context: k,
@@ -10768,7 +10772,7 @@ const P4 = () => {
10768
10772
  success: "--pds-color-status-success-foreground",
10769
10773
  warning: "--pds-color-status-warning-foreground",
10770
10774
  critical: "--pds-color-status-critical-foreground"
10771
- }, X4 = (u) => {
10775
+ }, K4 = (u) => {
10772
10776
  var p = u, {
10773
10777
  colorBreakpoints: t = [
10774
10778
  { colorType: "info", percentage: 0 },
@@ -10931,7 +10935,7 @@ const P4 = () => {
10931
10935
  )
10932
10936
  )
10933
10937
  );
10934
- }, K4 = (c) => {
10938
+ }, X4 = (c) => {
10935
10939
  var l = c, {
10936
10940
  attribution: t,
10937
10941
  image: n,
@@ -11222,7 +11226,7 @@ const Y4 = (i) => {
11222
11226
  $ && F.push(`${I}--current`), M && F.push(`${I}--complete`), H && F.push(`${I}--error`);
11223
11227
  let W = `${n.step} ${E}`;
11224
11228
  M && (W = `${n.step} ${E}, ${n.completed}`), H && (W = `${n.step} ${E}, ${n.hasError}`);
11225
- const X = M ? /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${c}__step-indicator` }, /* @__PURE__ */ e.createElement(
11229
+ const K = M ? /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${c}__step-indicator` }, /* @__PURE__ */ e.createElement(
11226
11230
  Z,
11227
11231
  {
11228
11232
  iconName: "check",
@@ -11230,12 +11234,12 @@ const Y4 = (i) => {
11230
11234
  className: `${c}__step-complete-icon`
11231
11235
  }
11232
11236
  )) : /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${c}__step-indicator` }), J = /* @__PURE__ */ e.createElement("div", { className: `${c}__step-label` }, o.label);
11233
- let K = /* @__PURE__ */ e.createElement("div", { className: `${c}__step-content` }, J, X);
11237
+ let X = /* @__PURE__ */ e.createElement("div", { className: `${c}__step-content` }, J, K);
11234
11238
  if (M && o.callback) {
11235
11239
  const Q = (Y) => {
11236
11240
  o.callback(o), Y.preventDefault();
11237
11241
  };
11238
- K = /* @__PURE__ */ e.createElement(
11242
+ X = /* @__PURE__ */ e.createElement(
11239
11243
  "button",
11240
11244
  {
11241
11245
  className: `${c}__step-content`,
@@ -11243,7 +11247,7 @@ const Y4 = (i) => {
11243
11247
  type: "button"
11244
11248
  },
11245
11249
  J,
11246
- X
11250
+ K
11247
11251
  );
11248
11252
  }
11249
11253
  return /* @__PURE__ */ e.createElement(
@@ -11268,7 +11272,7 @@ const Y4 = (i) => {
11268
11272
  }
11269
11273
  }
11270
11274
  ),
11271
- K,
11275
+ X,
11272
11276
  !q && /* @__PURE__ */ e.createElement(
11273
11277
  "span",
11274
11278
  {
@@ -11781,7 +11785,7 @@ const Y4 = (i) => {
11781
11785
  u((o) => !o);
11782
11786
  };
11783
11787
  let C, v, h;
11784
- return t && !n && Le(t) ? (C = t.type, v = t.props.href ? "href" : "to", h = v === "href" ? t.props.href : t.props.to) : (C = "span", v = null, h = null), /* @__PURE__ */ e.createElement(
11788
+ return t && !n && He(t) ? (C = t.type, v = t.props.href ? "href" : "to", h = v === "href" ? t.props.href : t.props.to) : (C = "span", v = null, h = null), /* @__PURE__ */ e.createElement(
11785
11789
  C,
11786
11790
  w({
11787
11791
  href: v === "href" ? h : null,
@@ -11891,7 +11895,7 @@ const Y4 = (i) => {
11891
11895
  name: p,
11892
11896
  title: b,
11893
11897
  org: _
11894
- }) => /* @__PURE__ */ e.createElement(e.Fragment, null, g && /* @__PURE__ */ e.createElement("div", { className: `${c}__image ${c}__image--avatar` }, /* @__PURE__ */ e.createElement("img", { src: g, alt: u })), p && /* @__PURE__ */ e.createElement("div", { className: `${c}__name` }, p), b && /* @__PURE__ */ e.createElement("div", { className: `${c}__title` }, b), _ && /* @__PURE__ */ e.createElement("div", { className: `${c}__org` }, _)), i = (g) => Le(g.linkContent) ? Oe(g.linkContent, {
11898
+ }) => /* @__PURE__ */ e.createElement(e.Fragment, null, g && /* @__PURE__ */ e.createElement("div", { className: `${c}__image ${c}__image--avatar` }, /* @__PURE__ */ e.createElement("img", { src: g, alt: u })), p && /* @__PURE__ */ e.createElement("div", { className: `${c}__name` }, p), b && /* @__PURE__ */ e.createElement("div", { className: `${c}__title` }, b), _ && /* @__PURE__ */ e.createElement("div", { className: `${c}__org` }, _)), i = (g) => He(g.linkContent) ? Oe(g.linkContent, {
11895
11899
  children: /* @__PURE__ */ e.createElement(l, w({}, g)),
11896
11900
  className: `${c}__item`
11897
11901
  }) : /* @__PURE__ */ e.createElement("span", { className: `${c}__item` }, /* @__PURE__ */ e.createElement(l, w({}, g))), m = () => t.map((g, u) => /* @__PURE__ */ e.createElement(Jt, { key: `tile-${u}` }, i(g), /* @__PURE__ */ e.createElement("div", { className: "pds-tile__separator" })));
@@ -12022,7 +12026,7 @@ const Y4 = (i) => {
12022
12026
  "className"
12023
12027
  ]);
12024
12028
  let C = !1;
12025
- const v = He(Ne);
12029
+ const v = Me(ze);
12026
12030
  v && (C = v.isMobile);
12027
12031
  const [h, o] = U(
12028
12032
  a || !1
@@ -12103,7 +12107,7 @@ const Y4 = (i) => {
12103
12107
  "hasContentSpacing",
12104
12108
  "className"
12105
12109
  ]);
12106
- const { isMobile: c } = He(Ne), l = "pds-dashboard-inner", i = c ? `${l}--isMobile` : `${l}--notMobile`, m = Pe(t), g = m["header-left"], u = m["header-right"], p = m.content;
12110
+ const { isMobile: c } = Me(ze), l = "pds-dashboard-inner", i = c ? `${l}--isMobile` : `${l}--notMobile`, m = Pe(t), g = m["header-left"], u = m["header-right"], p = m.content;
12107
12111
  return /* @__PURE__ */ e.createElement(
12108
12112
  "div",
12109
12113
  w({
@@ -12131,7 +12135,7 @@ const Y4 = (i) => {
12131
12135
  "className"
12132
12136
  ]);
12133
12137
  let l = !1;
12134
- const i = He(Ne);
12138
+ const i = Me(ze);
12135
12139
  i && (l = i.isMobile);
12136
12140
  const m = "pds-docs-layout", g = l ? `${m}--isMobile` : null, u = {
12137
12141
  width: n,
@@ -12182,7 +12186,7 @@ const Y4 = (i) => {
12182
12186
  "className"
12183
12187
  ]);
12184
12188
  let h = Ot() <= 640;
12185
- const o = He(Ne);
12189
+ const o = Me(ze);
12186
12190
  o && (h = o.isMobile);
12187
12191
  const f = "pds-flex", E = `${f}-container`, $ = h ? `${E}--mobile` : null;
12188
12192
  let M = null;
@@ -12234,7 +12238,7 @@ const Y4 = (i) => {
12234
12238
  ]);
12235
12239
  const m = "pds-sidebar-layout", g = `pds-grid pds-grid--${n}`, u = `${m}--${r}`;
12236
12240
  let p = !1;
12237
- const b = He(Ne);
12241
+ const b = Me(ze);
12238
12242
  b && (p = b.isMobile);
12239
12243
  const _ = Pe(t);
12240
12244
  let y = "pds-grid-item pds-grid-item--md-8 pds-grid-item--lg-9 pds-grid-item--xl-10", C = "pds-grid-item pds-grid-item--md-4 pds-grid-item--lg-3 pds-grid-item--xl-2";
@@ -12382,7 +12386,7 @@ const Y4 = (i) => {
12382
12386
  };
12383
12387
  export {
12384
12388
  ds as AppLayout,
12385
- X2 as Avatar,
12389
+ K2 as Avatar,
12386
12390
  os as AvatarTileList,
12387
12391
  D4 as Banner,
12388
12392
  qn as BranchDiff,
@@ -12392,10 +12396,10 @@ export {
12392
12396
  y4 as ButtonNav,
12393
12397
  en as CTALink,
12394
12398
  l4 as CTASlice,
12395
- Xn as Callout,
12399
+ Kn as Callout,
12396
12400
  I2 as Card,
12397
12401
  st as CardHeading,
12398
- Kn as CardSelectGroup,
12402
+ Xn as CardSelectGroup,
12399
12403
  sn as Checkbox,
12400
12404
  p4 as CheckboxFieldset,
12401
12405
  h4 as CheckboxGroup,
@@ -12450,13 +12454,13 @@ export {
12450
12454
  C1 as PlatformIcon,
12451
12455
  Mn as Popover,
12452
12456
  t4 as PricingCard,
12453
- X4 as ProgressBar,
12457
+ K4 as ProgressBar,
12454
12458
  kn as ProgressRing,
12455
- K4 as PullQuote,
12459
+ X4 as PullQuote,
12456
12460
  _4 as RadioGroup,
12457
12461
  Y4 as RefreshChecker,
12458
12462
  Nn as RefreshCheckerState,
12459
- Ne as ResponsiveContext,
12463
+ ze as ResponsiveContext,
12460
12464
  O4 as SectionMessage,
12461
12465
  Un as SegmentedButton,
12462
12466
  $1 as Select,