@pantheon-systems/pds-toolkit-react 2.0.0-alpha.10 → 2.0.0-alpha.11

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,20 +1,20 @@
1
- import e, { Children as L2, isValidElement as a1, useState as j, cloneElement as h1, useContext as C1, useCallback as m1, useEffect as K, createContext as b2, forwardRef as L1, useRef as t1, useLayoutEffect as F2, createElement as B2 } from "react";
1
+ import e, { Children as L2, isValidElement as l1, useState as j, cloneElement as h1, useContext as C1, useCallback as m1, useEffect as K, createContext as b2, forwardRef as L1, useRef as t1, useLayoutEffect as A2, createElement as B2 } from "react";
2
2
  import R2 from "hash-sum";
3
- import { useFloating as H1, autoUpdate as A1, offset as M2, flip as r2, shift as w2, useHover as E2, useFocus as q2, useDismiss as F1, useRole as B1, useInteractions as R1, FloatingPortal as G2, useId as W2, useClick as $2, useTransitionStyles as _2, FloatingOverlay as U2, FloatingFocusManager as K2, useListNavigation as Y2, useTypeahead as X2, safePolygon as Q2 } from "@floating-ui/react";
3
+ import { useFloating as H1, autoUpdate as T1, offset as M2, flip as r2, shift as w2, useHover as E2, useFocus as q2, useDismiss as A1, useRole as B1, useInteractions as R1, FloatingPortal as G2, useId as W2, useClick as $2, useTransitionStyles as _2, FloatingOverlay as U2, FloatingFocusManager as K2, useListNavigation as Y2, useTypeahead as X2, safePolygon as Q2 } from "@floating-ui/react";
4
4
  import J2 from "focus-trap-react";
5
5
  import { createPortal as e4 } from "react-dom";
6
- import { ToastContainer as t4, Slide as s4, cssTransition as a4, toast as g2 } from "react-toastify";
7
- import { useMeasure as l4 } from "@reactuses/core";
6
+ import { ToastContainer as t4, Slide as s4, cssTransition as l4, toast as g2 } from "react-toastify";
7
+ import { useMeasure as a4 } from "@reactuses/core";
8
8
  import './index.css';const c4 = () => Math.random().toString(32).substring(2, 13), p1 = (t) => {
9
- const l = {}, a = [];
9
+ const a = {}, l = [];
10
10
  return L2.forEach(t, (c) => {
11
- if (a1(c)) {
11
+ if (l1(c)) {
12
12
  const n = c.props.slot;
13
- n ? l[n] ? l[n].push(c) : l[n] = [c] : a.push(c);
13
+ n ? a[n] ? a[n].push(c) : a[n] = [c] : l.push(c);
14
14
  } else
15
- a.push(c);
16
- }), a.length > 0 && (l.__unslotted = a), l;
17
- }, M = (t) => t.join(" ").trim().replace(/\s+/g, " "), n4 = (t) => t ? t.startsWith("data:") ? /^data:image\/(png|jpeg|jpg|gif|bmp|webp);base64,[A-Za-z0-9+/]+=*$/.test(t) : !0 : !1, p2 = {
15
+ l.push(c);
16
+ }), l.length > 0 && (a.__unslotted = l), a;
17
+ }, w = (t) => t.join(" ").trim().replace(/\s+/g, " "), n4 = (t) => t ? t.startsWith("data:") ? /^data:image\/(png|jpeg|jpg|gif|bmp|webp);base64,[A-Za-z0-9+/]+=*$/.test(t) : !0 : !1, p2 = {
18
18
  boltPantheon: {
19
19
  height: 512,
20
20
  svgPathData: "M183.215 0L254.271 277.176H204.614L302 512L46.228 187.779H135.272L0 0.434418L144.526 0.459972L145.968 0H183.215Z",
@@ -1724,32 +1724,32 @@ import './index.css';const c4 = () => Math.random().toString(32).substring(2, 13
1724
1724
  "youtube"
1725
1725
  ], O = ({
1726
1726
  className: t,
1727
- display: l = "inline-block",
1728
- iconName: a,
1727
+ display: a = "inline-block",
1728
+ iconName: l,
1729
1729
  iconSize: c = "l",
1730
1730
  style: n,
1731
1731
  verticalAlign: s = "middle",
1732
1732
  ...i
1733
1733
  }) => {
1734
- const r = "pds-icon", d = `${r} ${r}--${c} ${r}--${a}`, o = i4[a], m = `0 0 ${o.width} ${o.height}`, z = a in p2 ? p2[a] : null;
1735
- let p;
1736
- if (z?.type === "complex")
1737
- p = z.render();
1734
+ const r = "pds-icon", d = `${r} ${r}--${c} ${r}--${l}`, o = i4[l], m = `0 0 ${o.width} ${o.height}`, C = l in p2 ? p2[l] : null;
1735
+ let g;
1736
+ if (C?.type === "complex")
1737
+ g = C.render();
1738
1738
  else {
1739
- const f = z?.type === "path" ? z.svgPathData : o.svgPathData;
1740
- p = Array.isArray(f) ? f.map((u, h) => /* @__PURE__ */ e.createElement("path", { key: h, d: u, fill: "currentColor" })) : /* @__PURE__ */ e.createElement("path", { d: f, fill: "currentColor" });
1739
+ const f = C?.type === "path" ? C.svgPathData : o.svgPathData;
1740
+ g = Array.isArray(f) ? f.map((u, h) => /* @__PURE__ */ e.createElement("path", { key: h, d: u, fill: "currentColor" })) : /* @__PURE__ */ e.createElement("path", { d: f, fill: "currentColor" });
1741
1741
  }
1742
1742
  return /* @__PURE__ */ e.createElement(
1743
1743
  "svg",
1744
1744
  {
1745
1745
  "aria-hidden": "true",
1746
- className: M([d, t ?? ""]),
1746
+ className: w([d, t ?? ""]),
1747
1747
  fill: "none",
1748
1748
  focusable: "false",
1749
1749
  preserveAspectRatio: "xMidYMid meet",
1750
1750
  role: "img",
1751
1751
  style: {
1752
- display: l,
1752
+ display: a,
1753
1753
  verticalAlign: s,
1754
1754
  ...n
1755
1755
  },
@@ -1757,7 +1757,7 @@ import './index.css';const c4 = () => Math.random().toString(32).substring(2, 13
1757
1757
  xmlns: "http://www.w3.org/2000/svg",
1758
1758
  ...i
1759
1759
  },
1760
- p
1760
+ g
1761
1761
  );
1762
1762
  }, f2 = [
1763
1763
  "dawn",
@@ -1777,19 +1777,19 @@ import './index.css';const c4 = () => Math.random().toString(32).substring(2, 13
1777
1777
  "twilight",
1778
1778
  "winter"
1779
1779
  ], r4 = (t) => {
1780
- const l = parseInt(R2(t), 16);
1781
- return f2[l % f2.length];
1780
+ const a = parseInt(R2(t), 16);
1781
+ return f2[a % f2.length];
1782
1782
  }, i0 = ({
1783
1783
  ariaLabel: t,
1784
- className: l,
1785
- hasUserFallback: a = !1,
1784
+ className: a,
1785
+ hasUserFallback: l = !1,
1786
1786
  imageSrc: c,
1787
1787
  linkContent: n,
1788
1788
  size: s = "s",
1789
1789
  uniqueId: i,
1790
1790
  ...r
1791
1791
  }) => {
1792
- const d = "pds-avatar", o = `${d}--${s}`, m = c ? `${d}--image` : null, [z, p] = j(void 0), u = {
1792
+ const d = "pds-avatar", o = `${d}--${s}`, m = c ? `${d}--image` : null, [C, g] = j(void 0), u = {
1793
1793
  backgroundImage: i ? `var(--pds-gradient-avatar-${r4(i)})` : null,
1794
1794
  borderRadius: "100%",
1795
1795
  height: "100%",
@@ -1797,16 +1797,16 @@ import './index.css';const c4 = () => Math.random().toString(32).substring(2, 13
1797
1797
  display: "flex",
1798
1798
  alignItems: "center",
1799
1799
  justifyContent: "center"
1800
- }, h = n4(c) && !z ? /* @__PURE__ */ e.createElement(
1800
+ }, h = n4(c) && !C ? /* @__PURE__ */ e.createElement(
1801
1801
  "img",
1802
1802
  {
1803
1803
  alt: "",
1804
1804
  className: `${d}__image`,
1805
- onError: () => p(!0),
1806
- onLoad: () => p(!1),
1805
+ onError: () => g(!0),
1806
+ onLoad: () => g(!1),
1807
1807
  src: `${c}`
1808
1808
  }
1809
- ) : /* @__PURE__ */ e.createElement("span", { style: u }, a && /* @__PURE__ */ e.createElement(O, { className: `${d}__user-icon`, iconName: "user" })), w = /* @__PURE__ */ e.createElement("span", { className: `${d}__content` }, h), g = n && a1(n) ? h1(
1809
+ ) : /* @__PURE__ */ e.createElement("span", { style: u }, l && /* @__PURE__ */ e.createElement(O, { className: `${d}__user-icon`, iconName: "user" })), M = /* @__PURE__ */ e.createElement("span", { className: `${d}__content` }, h), v = n && l1(n) ? h1(
1810
1810
  n,
1811
1811
  Object.assign({}, n.props, {
1812
1812
  className: `${d}__content ${d}__content--link`,
@@ -1817,23 +1817,23 @@ import './index.css';const c4 = () => Math.random().toString(32).substring(2, 13
1817
1817
  return /* @__PURE__ */ e.createElement(
1818
1818
  "div",
1819
1819
  {
1820
- className: M([d, o, m, l]),
1820
+ className: w([d, o, m, a]),
1821
1821
  ...r
1822
1822
  },
1823
- n ? g : w
1823
+ n ? v : M
1824
1824
  );
1825
1825
  }, r0 = ({
1826
1826
  className: t,
1827
- color: l = "gaia",
1828
- label: a,
1827
+ color: a = "gaia",
1828
+ label: l,
1829
1829
  size: c = "m",
1830
1830
  ...n
1831
1831
  }) => {
1832
- const s = "pds-badge", i = `${s}--${l}`, r = c !== "m" ? `${s}--${c}` : null;
1832
+ const s = "pds-badge", i = `${s}--${a}`, r = c !== "m" ? `${s}--${c}` : null;
1833
1833
  return /* @__PURE__ */ e.createElement(
1834
1834
  "span",
1835
1835
  {
1836
- className: M([
1836
+ className: w([
1837
1837
  s,
1838
1838
  i,
1839
1839
  r,
@@ -1841,31 +1841,31 @@ import './index.css';const c4 = () => Math.random().toString(32).substring(2, 13
1841
1841
  ]),
1842
1842
  ...n
1843
1843
  },
1844
- /* @__PURE__ */ e.createElement("span", { className: `${s}__label` }, a)
1844
+ /* @__PURE__ */ e.createElement("span", { className: `${s}__label` }, l)
1845
1845
  );
1846
1846
  }, o4 = ({
1847
1847
  className: t,
1848
- color: l = "transparent",
1849
- hasStatusIndicator: a = !1,
1848
+ color: a = "transparent",
1849
+ hasStatusIndicator: l = !1,
1850
1850
  label: c,
1851
1851
  statusIndicatorText: n = "Status indicator: ",
1852
1852
  statusType: s,
1853
1853
  ...i
1854
1854
  }) => {
1855
- const r = "pds-status-badge", d = `${r}--${l}`, o = `${r}__status`, m = s ? `${o}--${s}` : null;
1855
+ const r = "pds-status-badge", d = `${r}--${a}`, o = `${r}__status`, m = s ? `${o}--${s}` : null;
1856
1856
  return /* @__PURE__ */ e.createElement(
1857
1857
  "div",
1858
1858
  {
1859
- className: M([r, d, t ?? ""]),
1859
+ className: w([r, d, t ?? ""]),
1860
1860
  ...i
1861
1861
  },
1862
- a === !0 && /* @__PURE__ */ e.createElement("span", { className: M([o, m]) }, s && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, n, " ", s)),
1862
+ l === !0 && /* @__PURE__ */ e.createElement("span", { className: w([o, m]) }, s && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, n, " ", s)),
1863
1863
  /* @__PURE__ */ e.createElement("span", { className: `${r}__label` }, c)
1864
1864
  );
1865
1865
  }, y2 = ({
1866
1866
  className: t,
1867
- label: l,
1868
- size: a = "s",
1867
+ label: a,
1868
+ size: l = "s",
1869
1869
  type: c = "neutral",
1870
1870
  typeLabels: n = {
1871
1871
  info: "Information",
@@ -1876,11 +1876,11 @@ import './index.css';const c4 = () => Math.random().toString(32).substring(2, 13
1876
1876
  },
1877
1877
  ...s
1878
1878
  }) => {
1879
- const i = "pds-tally", r = `${i}--${c}`, d = `${i}--${a}`, o = `${n[c]}: `;
1879
+ const i = "pds-tally", r = `${i}--${c}`, d = `${i}--${l}`, o = `${n[c]}: `;
1880
1880
  return /* @__PURE__ */ e.createElement(
1881
1881
  "div",
1882
1882
  {
1883
- className: M([
1883
+ className: w([
1884
1884
  i,
1885
1885
  r,
1886
1886
  d,
@@ -1888,26 +1888,26 @@ import './index.css';const c4 = () => Math.random().toString(32).substring(2, 13
1888
1888
  ]),
1889
1889
  ...s
1890
1890
  },
1891
- /* @__PURE__ */ e.createElement("div", { className: `${i}__label` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, o), l)
1891
+ /* @__PURE__ */ e.createElement("div", { className: `${i}__label` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, o), a)
1892
1892
  );
1893
1893
  };
1894
1894
  y2.displayName = "Tally";
1895
1895
  const o2 = (t) => {
1896
1896
  if (typeof t == "string" || typeof t == "number")
1897
1897
  return String(t);
1898
- if (a1(t)) {
1899
- const l = t.props;
1900
- return L2.toArray(l.children).map(o2).join("");
1898
+ if (l1(t)) {
1899
+ const a = t.props;
1900
+ return L2.toArray(a.children).map(o2).join("");
1901
1901
  }
1902
1902
  return "";
1903
1903
  }, d4 = 768, m4 = 1280, h4 = 1440, u4 = "5rem", g4 = "4rem", p4 = "3rem", f4 = "2.5rem", v4 = "2rem", z4 = "1.5rem", k2 = "1.25rem", x2 = "1rem", n2 = "0.75rem", D1 = "0.625rem", Y1 = 500, C4 = 700, P1 = "0.75rem", v2 = "0.875rem", z2 = "1rem", N2 = b2(null), L4 = ({
1904
1904
  children: t
1905
1905
  }) => {
1906
- const [l, a] = j(0), c = m1(() => {
1907
- a((r) => r + 1);
1906
+ const [a, l] = j(0), c = m1(() => {
1907
+ l((r) => r + 1);
1908
1908
  }, []), n = m1(() => {
1909
- a((r) => Math.max(0, r - 1));
1910
- }, []), s = l > 0;
1909
+ l((r) => Math.max(0, r - 1));
1910
+ }, []), s = a > 0;
1911
1911
  K(() => {
1912
1912
  if (!s)
1913
1913
  return;
@@ -1931,22 +1931,22 @@ const o2 = (t) => {
1931
1931
  "useOverlayContext must be used within OverlayContextProvider"
1932
1932
  );
1933
1933
  return t;
1934
- }, b4 = (t, l, a) => {
1934
+ }, b4 = (t, a, l) => {
1935
1935
  const {
1936
1936
  altKey: c = !1,
1937
1937
  ctrlKey: n = !1,
1938
1938
  enabled: s = !0,
1939
1939
  metaKey: i = !1,
1940
1940
  shiftKey: r = !1
1941
- } = a ?? {}, [d, o] = j(!1), m = m1(
1941
+ } = l ?? {}, [d, o] = j(!1), m = m1(
1942
1942
  (f) => f.altKey === c && f.ctrlKey === n && f.metaKey === i && f.shiftKey === r,
1943
1943
  [c, n, i, r]
1944
- ), z = m1(
1944
+ ), C = m1(
1945
1945
  (f) => {
1946
- f.key === t && m(f) && (o(!0), l && l(f));
1946
+ f.key === t && m(f) && (o(!0), a && a(f));
1947
1947
  },
1948
- [t, l, m]
1949
- ), p = m1(
1948
+ [t, a, m]
1949
+ ), g = m1(
1950
1950
  (f) => {
1951
1951
  f.key === t && m(f) && o(!1);
1952
1952
  },
@@ -1954,14 +1954,14 @@ const o2 = (t) => {
1954
1954
  );
1955
1955
  return K(() => {
1956
1956
  if (s)
1957
- return window.addEventListener("keydown", z), window.addEventListener("keyup", p), () => {
1958
- window.removeEventListener("keydown", z), window.removeEventListener("keyup", p);
1957
+ return window.addEventListener("keydown", C), window.addEventListener("keyup", g), () => {
1958
+ window.removeEventListener("keydown", C), window.removeEventListener("keyup", g);
1959
1959
  };
1960
- }, [z, p, s]), d;
1960
+ }, [C, g, s]), d;
1961
1961
  }, I1 = ({
1962
1962
  className: t,
1963
- content: l,
1964
- customTrigger: a = null,
1963
+ content: a,
1964
+ customTrigger: l = null,
1965
1965
  offsetValue: c = 6,
1966
1966
  preferredPlacement: n = "top",
1967
1967
  triggerAccessibleText: s = "Show more information",
@@ -1971,42 +1971,42 @@ const o2 = (t) => {
1971
1971
  zIndex: o = C4,
1972
1972
  ...m
1973
1973
  }) => {
1974
- const [z, p] = j(!1), f = typeof a, u = "pds-tooltip", h = M([
1974
+ const [C, g] = j(!1), f = typeof l, u = "pds-tooltip", h = w([
1975
1975
  `${u}__trigger-custom`,
1976
1976
  f === "string" ? `${u}__trigger-text` : null
1977
- ]), w = M([
1977
+ ]), M = w([
1978
1978
  `${u}__trigger`,
1979
1979
  `${u}__trigger--${r}`
1980
- ]), { context: g, floatingStyles: C, refs: L } = H1({
1980
+ ]), { context: v, floatingStyles: z, refs: L } = H1({
1981
1981
  placement: n,
1982
- open: z,
1983
- onOpenChange: p,
1982
+ open: C,
1983
+ onOpenChange: g,
1984
1984
  middleware: [M2(c), r2(), w2()],
1985
- whileElementsMounted: A1
1986
- }), _ = E2(g, {
1985
+ whileElementsMounted: T1
1986
+ }), $ = E2(v, {
1987
1987
  restMs: 300,
1988
1988
  delay: { open: 100, close: 0 },
1989
1989
  move: !1
1990
- }), D = q2(g), k = F1(g), y = B1(g, { role: "tooltip" }), { getFloatingProps: v, getReferenceProps: x } = R1([
1991
- _,
1990
+ }), D = q2(v), k = A1(v), y = B1(v, { role: "tooltip" }), { getFloatingProps: p, getReferenceProps: x } = R1([
1991
+ $,
1992
1992
  D,
1993
1993
  k,
1994
1994
  y
1995
1995
  ]);
1996
- return /* @__PURE__ */ e.createElement("div", { className: M([u, t ?? ""]), ...m }, a ? /* @__PURE__ */ e.createElement(
1996
+ return /* @__PURE__ */ e.createElement("div", { className: w([u, t ?? ""]), ...m }, l ? /* @__PURE__ */ e.createElement(
1997
1997
  "span",
1998
1998
  {
1999
1999
  ref: L.setReference,
2000
2000
  className: h,
2001
2001
  ...x()
2002
2002
  },
2003
- a
2003
+ l
2004
2004
  ) : /* @__PURE__ */ e.createElement(
2005
2005
  "button",
2006
2006
  {
2007
2007
  ref: L.setReference,
2008
2008
  "aria-label": s,
2009
- className: w,
2009
+ className: M,
2010
2010
  type: "button",
2011
2011
  ...x()
2012
2012
  },
@@ -2022,20 +2022,20 @@ const o2 = (t) => {
2022
2022
  "div",
2023
2023
  {
2024
2024
  ref: L.setFloating,
2025
- "aria-hidden": !z,
2025
+ "aria-hidden": !C,
2026
2026
  className: `${u}__container`,
2027
2027
  style: {
2028
- ...C,
2028
+ ...z,
2029
2029
  zIndex: o,
2030
- opacity: z ? 1 : 0,
2031
- pointerEvents: z ? "auto" : "none",
2030
+ opacity: C ? 1 : 0,
2031
+ pointerEvents: C ? "auto" : "none",
2032
2032
  transition: "var(--pds-animation-transition-reveal)"
2033
2033
  },
2034
- ...v()
2034
+ ...p()
2035
2035
  },
2036
- l
2036
+ a
2037
2037
  )));
2038
- }, A = {
2038
+ }, T = {
2039
2039
  base: "pds-input",
2040
2040
  disabled: "pds-is-disabled",
2041
2041
  required: "pds-is-required",
@@ -2051,8 +2051,8 @@ const o2 = (t) => {
2051
2051
  }
2052
2052
  )), V1 = ({
2053
2053
  className: t,
2054
- disabled: l,
2055
- id: a,
2054
+ disabled: a,
2055
+ id: l,
2056
2056
  isLegend: c,
2057
2057
  isPseudoLabel: n,
2058
2058
  label: s,
@@ -2060,27 +2060,27 @@ const o2 = (t) => {
2060
2060
  showLabel: r = !0,
2061
2061
  tooltipText: d = null
2062
2062
  }) => {
2063
- const o = M([
2063
+ const o = w([
2064
2064
  "pds-input-label",
2065
2065
  r ? null : "visually-hidden",
2066
2066
  t ?? ""
2067
- ]), m = /* @__PURE__ */ e.createElement(e.Fragment, null, s, i && !l && /* @__PURE__ */ e.createElement(D2, null), d && /* @__PURE__ */ e.createElement(I1, { content: d }, /* @__PURE__ */ e.createElement("span", null, /* @__PURE__ */ e.createElement(O, { iconName: "circleInfo", iconSize: "s" }))));
2068
- return c ? /* @__PURE__ */ e.createElement("legend", { className: o, id: `${a}-legend` }, m) : n ? /* @__PURE__ */ e.createElement("span", { className: o, id: `${a}-field-label` }, m) : /* @__PURE__ */ e.createElement("label", { className: o, htmlFor: a, id: `${a}-label` }, m);
2067
+ ]), m = /* @__PURE__ */ e.createElement(e.Fragment, null, s, i && !a && /* @__PURE__ */ e.createElement(D2, null), d && /* @__PURE__ */ e.createElement(I1, { content: d }, /* @__PURE__ */ e.createElement("span", null, /* @__PURE__ */ e.createElement(O, { iconName: "circleInfo", iconSize: "s" }))));
2068
+ return c ? /* @__PURE__ */ e.createElement("legend", { className: o, id: `${l}-legend` }, m) : n ? /* @__PURE__ */ e.createElement("span", { className: o, id: `${l}-field-label` }, m) : /* @__PURE__ */ e.createElement("label", { className: o, htmlFor: l, id: `${l}-label` }, m);
2069
2069
  }, b1 = ({
2070
2070
  className: t,
2071
- forInputGroup: l = !1,
2072
- hasValidationMessage: a,
2071
+ forInputGroup: a = !1,
2072
+ hasValidationMessage: l,
2073
2073
  id: c,
2074
2074
  message: n,
2075
2075
  validationMessageHasDecorators: s,
2076
2076
  validationStatus: i
2077
2077
  }) => {
2078
- const r = "pds-input-message", d = i && a ? `${r}--${i}` : null;
2078
+ const r = "pds-input-message", d = i && l ? `${r}--${i}` : null;
2079
2079
  return /* @__PURE__ */ e.createElement(
2080
2080
  "div",
2081
2081
  {
2082
- className: M([r, d, t ?? ""]),
2083
- id: l ? `${c}__message-hidden` : `${c}__message`,
2082
+ className: w([r, d, t ?? ""]),
2083
+ id: a ? `${c}__message-hidden` : `${c}__message`,
2084
2084
  role: i === "error" ? "alert" : null
2085
2085
  },
2086
2086
  s && i && /* @__PURE__ */ e.createElement(P2, { variant: i }),
@@ -2092,68 +2092,68 @@ const o2 = (t) => {
2092
2092
  success: "check",
2093
2093
  filter: "barsFilter"
2094
2094
  }, P2 = ({ variant: t }) => {
2095
- const l = "pds-input-prefix";
2096
- return /* @__PURE__ */ e.createElement("div", { className: M([l, `${l}--${t}`]) }, /* @__PURE__ */ e.createElement(
2095
+ const a = "pds-input-prefix";
2096
+ return /* @__PURE__ */ e.createElement("div", { className: w([a, `${a}--${t}`]) }, /* @__PURE__ */ e.createElement(
2097
2097
  O,
2098
2098
  {
2099
- className: `${l}__icon`,
2099
+ className: `${a}__icon`,
2100
2100
  iconName: M4[t],
2101
2101
  iconSize: "m"
2102
2102
  }
2103
2103
  ));
2104
2104
  }, w4 = ({
2105
2105
  inputId: t,
2106
- shortcutLabel: l
2106
+ shortcutLabel: a
2107
2107
  }) => {
2108
- const { hasOpenOverlay: a } = d2();
2108
+ const { hasOpenOverlay: l } = d2();
2109
2109
  return b4("/", (n) => {
2110
2110
  const s = document.getElementById(t);
2111
2111
  s && s.focus(), n.preventDefault();
2112
2112
  }, {
2113
- enabled: !a
2114
- }), /* @__PURE__ */ e.createElement("div", { className: "pds-input-search-shortcut" }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, l), /* @__PURE__ */ e.createElement(O, { iconName: "slashForward", iconSize: "s" }));
2113
+ enabled: !l
2114
+ }), /* @__PURE__ */ e.createElement("div", { className: "pds-input-search-shortcut" }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, a), /* @__PURE__ */ e.createElement(O, { iconName: "slashForward", iconSize: "s" }));
2115
2115
  }, E4 = ({
2116
2116
  clearLabel: t,
2117
- handleClearInput: l,
2118
- id: a
2117
+ handleClearInput: a,
2118
+ id: l
2119
2119
  }) => /* @__PURE__ */ e.createElement(
2120
2120
  "button",
2121
2121
  {
2122
- "aria-controls": a,
2122
+ "aria-controls": l,
2123
2123
  className: "pds-input-clear-button",
2124
- onClick: l,
2124
+ onClick: a,
2125
2125
  title: t,
2126
2126
  type: "button"
2127
2127
  },
2128
2128
  /* @__PURE__ */ e.createElement(O, { iconName: "xmark", iconSize: "m" })
2129
2129
  ), S2 = ({
2130
2130
  currentLength: t,
2131
- id: l,
2132
- maxLength: a,
2131
+ id: a,
2132
+ maxLength: l,
2133
2133
  overLimitMessage: c = "Character limit exceeded by"
2134
2134
  }) => {
2135
- const n = t > a, s = t - a, i = "pds-input-character-counter", r = n ? `${i}--overLimit` : null;
2135
+ const n = t > l, s = t - l, i = "pds-input-character-counter", r = n ? `${i}--overLimit` : null;
2136
2136
  return /* @__PURE__ */ e.createElement(
2137
2137
  "div",
2138
2138
  {
2139
- className: M([i, r]),
2140
- id: `${l}__counter`
2139
+ className: w([i, r]),
2140
+ id: `${a}__counter`
2141
2141
  },
2142
2142
  t,
2143
2143
  "/",
2144
- a,
2144
+ l,
2145
2145
  /* @__PURE__ */ e.createElement("span", { "aria-live": "polite", className: "visually-hidden" }, n && `${c} ${s}`)
2146
2146
  );
2147
- }, $4 = ({ label: t, ...l }) => /* @__PURE__ */ e.createElement("span", { className: "visually-hidden", ...l }, t);
2147
+ }, $4 = ({ label: t, ...a }) => /* @__PURE__ */ e.createElement("span", { className: "visually-hidden", ...a }, t);
2148
2148
  L1(
2149
- ({ children: t, className: l, isActive: a, ...c }, n) => {
2150
- const s = W2(), i = "pds-input__select-option", r = a ? `${i}--active` : null;
2149
+ ({ children: t, className: a, isActive: l, ...c }, n) => {
2150
+ const s = W2(), i = "pds-input__select-option", r = l ? `${i}--active` : null;
2151
2151
  return /* @__PURE__ */ e.createElement(
2152
2152
  "li",
2153
2153
  {
2154
2154
  ref: n,
2155
- "aria-selected": a,
2156
- className: M([i, r, l ?? ""]),
2155
+ "aria-selected": l,
2156
+ className: w([i, r, a ?? ""]),
2157
2157
  id: s,
2158
2158
  role: "option",
2159
2159
  ...c
@@ -2194,37 +2194,37 @@ const _4 = {
2194
2194
  "6xl": k2
2195
2195
  }, j1 = ({
2196
2196
  className: t = "",
2197
- colorType: l = "full-color",
2198
- isInline: a = !1,
2197
+ colorType: a = "full-color",
2198
+ isInline: l = !1,
2199
2199
  label: c = "Loading",
2200
2200
  showLabel: n = !1,
2201
2201
  size: s = "3xl",
2202
2202
  ...i
2203
2203
  }) => {
2204
- const r = "pds-spinner", d = l !== "full-color" ? `${r}--${l}` : null, o = a ? `${r}--inline` : null, m = _4[s], z = y4[s], p = k4[s], f = Math.ceil(parseFloat(m) * 16 * 0.13), u = {
2204
+ const r = "pds-spinner", d = a !== "full-color" ? `${r}--${a}` : null, o = l ? `${r}--inline` : null, m = _4[s], C = y4[s], g = k4[s], f = Math.ceil(parseFloat(m) * 16 * 0.13), u = {
2205
2205
  "--spinner-size": m,
2206
2206
  "--spinner-line": `${f}px`
2207
2207
  }, h = {
2208
- fontSize: z,
2209
- marginBlockStart: p
2208
+ fontSize: C,
2209
+ marginBlockStart: g
2210
2210
  };
2211
2211
  return /* @__PURE__ */ e.createElement(
2212
2212
  "span",
2213
2213
  {
2214
2214
  "aria-hidden": "true",
2215
- className: M([r, d, o, t]),
2215
+ className: w([r, d, o, t]),
2216
2216
  role: "status",
2217
2217
  style: u,
2218
2218
  ...i
2219
2219
  },
2220
2220
  /* @__PURE__ */ e.createElement("span", { className: `${r}__icon` }),
2221
- n && !a ? /* @__PURE__ */ e.createElement("span", { className: `${r}__label`, style: h }, c) : /* @__PURE__ */ e.createElement($4, { label: c })
2221
+ n && !l ? /* @__PURE__ */ e.createElement("span", { className: `${r}__label`, style: h }, c) : /* @__PURE__ */ e.createElement($4, { label: c })
2222
2222
  );
2223
2223
  }, q1 = L1(
2224
2224
  ({
2225
2225
  ariaLabel: t,
2226
- buttonType: l = "button",
2227
- className: a = "",
2226
+ buttonType: a = "button",
2227
+ className: l = "",
2228
2228
  disabled: c = !1,
2229
2229
  displayType: n = "label-only",
2230
2230
  iconName: s,
@@ -2233,29 +2233,29 @@ const _4 = {
2233
2233
  isSplitButton: d = !1,
2234
2234
  isWorking: o = !1,
2235
2235
  label: m,
2236
- onClick: z,
2237
- size: p = "s",
2236
+ onClick: C,
2237
+ size: g = "s",
2238
2238
  tooltipText: f,
2239
2239
  variant: u = "primary",
2240
2240
  ...h
2241
- }, w) => {
2242
- const g = "pds-button", C = `${g}--${p}`, L = `${g}--${u}`, _ = i ? `${g}--full-width` : null, D = r ? `${g}--loading` : null, k = r ? "pds-pulse" : null;
2243
- let y, v;
2244
- switch (p) {
2241
+ }, M) => {
2242
+ const v = "pds-button", z = `${v}--${g}`, L = `${v}--${u}`, $ = i ? `${v}--full-width` : null, D = r ? `${v}--loading` : null, k = r ? "pds-pulse" : null;
2243
+ let y, p;
2244
+ switch (g) {
2245
2245
  case "xs":
2246
- y = "s", v = "s";
2246
+ y = "s", p = "s";
2247
2247
  break;
2248
2248
  case "s":
2249
- y = "m", v = "m";
2249
+ y = "m", p = "m";
2250
2250
  break;
2251
2251
  case "m":
2252
- y = "m", v = "m";
2252
+ y = "m", p = "m";
2253
2253
  break;
2254
2254
  case "l":
2255
- y = "m", v = "l";
2255
+ y = "m", p = "l";
2256
2256
  break;
2257
2257
  case "xl":
2258
- y = "l", v = "l";
2258
+ y = "l", p = "l";
2259
2259
  break;
2260
2260
  }
2261
2261
  let x = "monochromatic";
@@ -2264,7 +2264,7 @@ const _4 = {
2264
2264
  O,
2265
2265
  {
2266
2266
  key: "icon",
2267
- className: `${g}__icon`,
2267
+ className: `${v}__icon`,
2268
2268
  iconName: s,
2269
2269
  iconSize: y
2270
2270
  }
@@ -2274,28 +2274,28 @@ const _4 = {
2274
2274
  const Z = /* @__PURE__ */ e.createElement(
2275
2275
  "button",
2276
2276
  {
2277
- ref: w,
2277
+ ref: M,
2278
2278
  "aria-label": t,
2279
- className: M([
2280
- g,
2281
- C,
2279
+ className: w([
2280
+ v,
2281
+ z,
2282
2282
  L,
2283
- _,
2283
+ $,
2284
2284
  D,
2285
2285
  k,
2286
- a
2286
+ l
2287
2287
  ]),
2288
2288
  disabled: c || r || o,
2289
- onClick: z,
2290
- type: l,
2289
+ onClick: C,
2290
+ type: a,
2291
2291
  ...h
2292
2292
  },
2293
2293
  o && !r && /* @__PURE__ */ e.createElement(
2294
2294
  j1,
2295
2295
  {
2296
- className: `${g}__working-indicator`,
2296
+ className: `${v}__working-indicator`,
2297
2297
  colorType: x,
2298
- size: v
2298
+ size: p
2299
2299
  }
2300
2300
  ),
2301
2301
  E
@@ -2304,8 +2304,8 @@ const _4 = {
2304
2304
  }
2305
2305
  ), x4 = ({
2306
2306
  className: t,
2307
- disabled: l = !1,
2308
- displayType: a = "label-only",
2307
+ disabled: a = !1,
2308
+ displayType: l = "label-only",
2309
2309
  iconName: c,
2310
2310
  linkContent: n,
2311
2311
  size: s = "s",
@@ -2313,11 +2313,11 @@ const _4 = {
2313
2313
  variant: r = "primary",
2314
2314
  ...d
2315
2315
  }) => {
2316
- const o = "pds-button-link", m = "pds-button", z = `${m}--${s}`, p = `${m}--${r}`, f = M([
2316
+ const o = "pds-button-link", m = "pds-button", C = `${m}--${s}`, g = `${m}--${r}`, f = w([
2317
2317
  m,
2318
- z,
2319
- p
2320
- ]), u = a1(n) ? n.props.children : null;
2318
+ C,
2319
+ g
2320
+ ]), u = l1(n) ? n.props.children : null;
2321
2321
  let h;
2322
2322
  switch (s) {
2323
2323
  case "xs":
@@ -2339,7 +2339,7 @@ const _4 = {
2339
2339
  h = "m";
2340
2340
  break;
2341
2341
  }
2342
- const w = /* @__PURE__ */ e.createElement(
2342
+ const M = /* @__PURE__ */ e.createElement(
2343
2343
  O,
2344
2344
  {
2345
2345
  key: c,
@@ -2348,47 +2348,47 @@ const _4 = {
2348
2348
  iconSize: h
2349
2349
  }
2350
2350
  );
2351
- let g = [u];
2352
- a === "icon-start" && c ? g = [w, u] : a === "icon-end" && c && (g = [u, w]);
2353
- const C = a1(n) ? h1(
2351
+ let v = [u];
2352
+ l === "icon-start" && c ? v = [M, u] : l === "icon-end" && c && (v = [u, M]);
2353
+ const z = l1(n) ? h1(
2354
2354
  n,
2355
2355
  Object.assign({}, n.props, {
2356
2356
  className: f,
2357
- children: g
2357
+ children: v
2358
2358
  })
2359
2359
  ) : null;
2360
- return l ? /* @__PURE__ */ e.createElement(
2360
+ return a ? /* @__PURE__ */ e.createElement(
2361
2361
  q1,
2362
2362
  {
2363
2363
  disabled: !0,
2364
- className: M([o, t ?? ""]),
2365
- label: g,
2364
+ className: w([o, t ?? ""]),
2365
+ label: v,
2366
2366
  size: s,
2367
2367
  tooltipText: i ?? null,
2368
2368
  variant: r
2369
2369
  }
2370
- ) : /* @__PURE__ */ e.createElement("span", { className: M([o, t ?? ""]), ...d }, C);
2371
- }, N4 = (t, l) => {
2372
- const [a, c] = j(!1), n = l?.duration;
2370
+ ) : /* @__PURE__ */ e.createElement("span", { className: w([o, t ?? ""]), ...d }, z);
2371
+ }, N4 = (t, a) => {
2372
+ const [l, c] = j(!1), n = a?.duration;
2373
2373
  return K(() => {
2374
2374
  let i;
2375
- return a && n && (i = setTimeout(() => {
2375
+ return l && n && (i = setTimeout(() => {
2376
2376
  c(!1);
2377
2377
  }, n)), () => {
2378
2378
  i && clearTimeout(i);
2379
2379
  };
2380
- }, [a, n]), [a, async () => {
2380
+ }, [l, n]), [l, async () => {
2381
2381
  if (navigator.clipboard)
2382
2382
  try {
2383
2383
  await navigator.clipboard.writeText(t), c(!0);
2384
2384
  } catch {
2385
2385
  }
2386
2386
  }];
2387
- }, T1 = L1(
2387
+ }, F1 = L1(
2388
2388
  ({
2389
2389
  ariaLabel: t,
2390
- buttonType: l = "button",
2391
- className: a,
2390
+ buttonType: a = "button",
2391
+ className: l,
2392
2392
  disabled: c = !1,
2393
2393
  hasTooltip: n = !0,
2394
2394
  icon2Name: s = null,
@@ -2397,105 +2397,105 @@ const _4 = {
2397
2397
  size: d = "s",
2398
2398
  variant: o = "standard",
2399
2399
  ...m
2400
- }, z) => {
2401
- const p = "pds-icon-button", f = d !== "s" ? `${p}--${d}` : null, u = o !== "standard" ? `${p}--${o}` : null, h = {
2402
- fadeOut: `${p}--fadeOut`,
2403
- hide: `${p}--hide`,
2404
- scaleIn: `${p}--scaleIn`
2400
+ }, C) => {
2401
+ const g = "pds-icon-button", f = d !== "s" ? `${g}--${d}` : null, u = o !== "standard" ? `${g}--${o}` : null, h = {
2402
+ fadeOut: `${g}--fadeOut`,
2403
+ hide: `${g}--hide`,
2404
+ scaleIn: `${g}--scaleIn`
2405
2405
  };
2406
- let w, g;
2406
+ let M, v;
2407
2407
  switch (d) {
2408
2408
  case "s":
2409
- g = "m", w = 8;
2409
+ v = "m", M = 8;
2410
2410
  break;
2411
2411
  case "m":
2412
- g = "l", w = 11;
2412
+ v = "l", M = 11;
2413
2413
  break;
2414
2414
  default:
2415
- g = "m", w = 8;
2415
+ v = "m", M = 8;
2416
2416
  break;
2417
2417
  }
2418
- const C = s !== null, L = t1(null), _ = t1(null), D = () => {
2419
- L.current.classList.add(h.fadeOut), L.current.classList.add(h.hide), _.current.classList.remove(h.hide), _.current.classList.add(h.scaleIn), setTimeout(() => {
2418
+ const z = s !== null, L = t1(null), $ = t1(null), D = () => {
2419
+ L.current.classList.add(h.fadeOut), L.current.classList.add(h.hide), $.current.classList.remove(h.hide), $.current.classList.add(h.scaleIn), setTimeout(() => {
2420
2420
  L.current.classList.remove(
2421
2421
  h.fadeOut,
2422
2422
  h.hide
2423
- ), L.current.classList.add(h.scaleIn), _.current.classList.remove(h.scaleIn), _.current.classList.add(h.hide);
2423
+ ), L.current.classList.add(h.scaleIn), $.current.classList.remove(h.scaleIn), $.current.classList.add(h.hide);
2424
2424
  }, 2e3);
2425
- }, k = (v) => {
2426
- C && D(), r && r(v);
2427
- }, y = C ? /* @__PURE__ */ e.createElement("div", { className: `${p}__content` }, /* @__PURE__ */ e.createElement("div", { ref: L, className: `${p}__icon-wrapper` }, /* @__PURE__ */ e.createElement(
2425
+ }, k = (p) => {
2426
+ z && D(), r && r(p);
2427
+ }, y = z ? /* @__PURE__ */ e.createElement("div", { className: `${g}__content` }, /* @__PURE__ */ e.createElement("div", { ref: L, className: `${g}__icon-wrapper` }, /* @__PURE__ */ e.createElement(
2428
2428
  O,
2429
2429
  {
2430
- className: `${p}__icon`,
2430
+ className: `${g}__icon`,
2431
2431
  iconName: i,
2432
- iconSize: g
2432
+ iconSize: v
2433
2433
  }
2434
2434
  )), /* @__PURE__ */ e.createElement(
2435
2435
  "div",
2436
2436
  {
2437
- ref: _,
2438
- className: `${p}__icon-wrapper ${h.hide}`
2437
+ ref: $,
2438
+ className: `${g}__icon-wrapper ${h.hide}`
2439
2439
  },
2440
2440
  /* @__PURE__ */ e.createElement(
2441
2441
  O,
2442
2442
  {
2443
- className: `${p}__icon`,
2443
+ className: `${g}__icon`,
2444
2444
  iconName: s,
2445
- iconSize: g
2445
+ iconSize: v
2446
2446
  }
2447
2447
  )
2448
- )) : /* @__PURE__ */ e.createElement("div", { className: `${p}__content` }, /* @__PURE__ */ e.createElement(
2448
+ )) : /* @__PURE__ */ e.createElement("div", { className: `${g}__content` }, /* @__PURE__ */ e.createElement(
2449
2449
  O,
2450
2450
  {
2451
- className: `${p}__icon`,
2451
+ className: `${g}__icon`,
2452
2452
  iconName: i,
2453
- iconSize: g
2453
+ iconSize: v
2454
2454
  }
2455
2455
  ));
2456
2456
  return /* @__PURE__ */ e.createElement(
2457
2457
  "button",
2458
2458
  {
2459
- ref: z,
2459
+ ref: C,
2460
2460
  "aria-label": t,
2461
- className: M([
2462
- p,
2461
+ className: w([
2462
+ g,
2463
2463
  f,
2464
2464
  u,
2465
- a
2465
+ l
2466
2466
  ]),
2467
2467
  disabled: c,
2468
2468
  onClick: k,
2469
2469
  title: n && !c ? null : t,
2470
- type: l,
2470
+ type: a,
2471
2471
  ...m
2472
2472
  },
2473
2473
  n && !c ? /* @__PURE__ */ e.createElement(
2474
2474
  I1,
2475
2475
  {
2476
- className: `${p}__tooltip`,
2476
+ className: `${g}__tooltip`,
2477
2477
  content: t,
2478
2478
  customTrigger: y,
2479
- offsetValue: w
2479
+ offsetValue: M
2480
2480
  }
2481
2481
  ) : y
2482
2482
  );
2483
2483
  }
2484
2484
  ), o0 = ({
2485
2485
  ariaLabel: t = "Copy to clipboard",
2486
- className: l,
2487
- clipboardText: a = "",
2486
+ className: a,
2487
+ clipboardText: l = "",
2488
2488
  disabled: c,
2489
2489
  variant: n = "standard",
2490
2490
  ...s
2491
2491
  }) => {
2492
- const i = "pds-clipboard-button", [r, d] = N4(a);
2492
+ const i = "pds-clipboard-button", [r, d] = N4(l);
2493
2493
  return /* @__PURE__ */ e.createElement(
2494
- T1,
2494
+ F1,
2495
2495
  {
2496
2496
  ariaLabel: t,
2497
2497
  buttonType: "button",
2498
- className: M([i, l ?? ""]),
2498
+ className: w([i, a ?? ""]),
2499
2499
  disabled: c,
2500
2500
  icon2Name: "check",
2501
2501
  iconName: "copy",
@@ -2507,8 +2507,8 @@ const _4 = {
2507
2507
  );
2508
2508
  }, G1 = ({
2509
2509
  ariaLabel: t = "Close",
2510
- className: l,
2511
- onClick: a,
2510
+ className: a,
2511
+ onClick: l,
2512
2512
  size: c = "l",
2513
2513
  ...n
2514
2514
  }) => {
@@ -2517,8 +2517,8 @@ const _4 = {
2517
2517
  "button",
2518
2518
  {
2519
2519
  "aria-label": t,
2520
- className: M([s, i, l ?? ""]),
2521
- onClick: a,
2520
+ className: w([s, i, a ?? ""]),
2521
+ onClick: l,
2522
2522
  type: "button",
2523
2523
  ...n
2524
2524
  },
@@ -2553,35 +2553,35 @@ const _4 = {
2553
2553
  gatsby: "bolt",
2554
2554
  nextjs: "bolt"
2555
2555
  }, H2 = () => {
2556
- const t = typeof window < "u", [l, a] = j(
2556
+ const t = typeof window < "u", [a, l] = j(
2557
2557
  t && window.innerWidth !== void 0 ? window.innerWidth : 1024
2558
2558
  );
2559
2559
  return K(() => {
2560
2560
  if (!t) return;
2561
- a(window.innerWidth);
2561
+ l(window.innerWidth);
2562
2562
  const c = () => {
2563
- a(window.innerWidth);
2563
+ l(window.innerWidth);
2564
2564
  };
2565
2565
  return window.addEventListener("resize", c), () => {
2566
2566
  window.removeEventListener("resize", c);
2567
2567
  };
2568
- }, []), l;
2568
+ }, []), a;
2569
2569
  }, M1 = b2(null), S4 = ({
2570
2570
  children: t,
2571
- mobileMenuMaxWidth: l = 640
2571
+ mobileMenuMaxWidth: a = 640
2572
2572
  }) => {
2573
- const a = H2(), c = a <= l, n = {
2573
+ const l = H2(), c = l <= a, n = {
2574
2574
  isMobile: c,
2575
- mobileMenuMaxWidth: l,
2576
- windowWidth: a
2575
+ mobileMenuMaxWidth: a,
2576
+ windowWidth: l
2577
2577
  };
2578
2578
  return K(() => {
2579
2579
  c ? document.body.classList.add("pds-no-scroll-x") : document.body.classList.remove("pds-no-scroll-x");
2580
2580
  }, [c]), /* @__PURE__ */ e.createElement(M1.Provider, { value: n }, t);
2581
2581
  }, H4 = ({
2582
2582
  className: t,
2583
- disabled: l,
2584
- displayType: a = "icon-end",
2583
+ disabled: a,
2584
+ displayType: l = "icon-end",
2585
2585
  iconName: c = "ellipsisVertical",
2586
2586
  id: n,
2587
2587
  isSplitButton: s = !1,
@@ -2590,68 +2590,68 @@ const _4 = {
2590
2590
  menuPosition: d = "start",
2591
2591
  onClick: o,
2592
2592
  size: m = "s",
2593
- testId: z,
2594
- undefinedLabel: p = "Unlabeled group",
2593
+ testId: C,
2594
+ undefinedLabel: g = "Unlabeled group",
2595
2595
  variant: f = "primary",
2596
2596
  withinNavbar: u,
2597
2597
  ...h
2598
2598
  }) => {
2599
- const { placement: w, refs: g, strategy: C, x: L, y: _ } = H1({
2599
+ const { placement: M, refs: v, strategy: z, x: L, y: $ } = H1({
2600
2600
  placement: "bottom-start",
2601
2601
  middleware: [r2()],
2602
- whileElementsMounted: A1
2602
+ whileElementsMounted: T1
2603
2603
  });
2604
2604
  let D = !1;
2605
2605
  const k = C1(M1);
2606
2606
  k && (D = k.isMobile);
2607
- const y = f === "navbar" && D, v = "pds-menu-button", x = y ? `${v}--isMobile` : null, P = u ? `${v}--navbar` : null, N = n, [E] = j(`menu-button-${n}`), Z = g.floating, H = t1(null), [$, F] = j(!1), [W, Q] = j(!1), [U, l1] = j(""), [s1, c1] = j(0), n1 = t1([]), T = t1([]), B = t1([]);
2608
- F2(() => {
2607
+ const y = f === "navbar" && D, p = "pds-menu-button", x = y ? `${p}--isMobile` : null, P = u ? `${p}--navbar` : null, N = n, [E] = j(`menu-button-${n}`), Z = v.floating, S = t1(null), [_, A] = j(!1), [W, Q] = j(!1), [U, a1] = j(""), [s1, c1] = j(0), n1 = t1([]), F = t1([]), B = t1([]);
2608
+ A2(() => {
2609
2609
  window.addEventListener("mousedown", $1, !0);
2610
2610
  const b = Z.current;
2611
- return b && (b.dataset.fuiPlacement = w), W && (setTimeout(() => {
2611
+ return b && (b.dataset.fuiPlacement = M), W && (setTimeout(() => {
2612
2612
  b.focus();
2613
2613
  }, 0), Q(!1)), () => {
2614
2614
  window.removeEventListener("mousedown", $1, !0);
2615
2615
  };
2616
- }, [$, w]);
2616
+ }, [_, M]);
2617
2617
  const X = (b, R) => {
2618
- l1(b), c1(R);
2618
+ a1(b), c1(R);
2619
2619
  }, e1 = () => {
2620
- F(!0), Q(!0);
2620
+ A(!0), Q(!0);
2621
2621
  }, i1 = () => {
2622
- F(!1), X(void 0, -1), H.current?.querySelector(
2622
+ A(!1), X(void 0, -1), S.current?.querySelector(
2623
2623
  `#${N}`
2624
2624
  )?.focus();
2625
2625
  }, w1 = (b) => {
2626
2626
  b = b.toLowerCase();
2627
2627
  let R = !1;
2628
- for (let S = s1 + 1; S < B.current.length; S++)
2629
- if (B.current[S].label.toLowerCase().startsWith(b)) {
2630
- X(T.current[S], S), R = !0;
2628
+ for (let H = s1 + 1; H < B.current.length; H++)
2629
+ if (B.current[H].label.toLowerCase().startsWith(b)) {
2630
+ X(F.current[H], H), R = !0;
2631
2631
  break;
2632
2632
  }
2633
2633
  if (R === !1) {
2634
- for (let S = 0; S < s1; S++)
2635
- if (B.current[S].label.toLowerCase().startsWith(b)) {
2636
- X(T.current[S], S);
2634
+ for (let H = 0; H < s1; H++)
2635
+ if (B.current[H].label.toLowerCase().startsWith(b)) {
2636
+ X(F.current[H], H);
2637
2637
  break;
2638
2638
  }
2639
2639
  }
2640
2640
  }, f1 = (b) => {
2641
- const R = T.current.indexOf(b), S = B.current[R];
2642
- S.callback && !S.disabled && S.callback(S), S.linkContent && !S.disabled && H.current?.querySelector(
2641
+ const R = F.current.indexOf(b), H = B.current[R];
2642
+ H.callback && !H.disabled && H.callback(H), H.linkContent && !H.disabled && S.current?.querySelector(
2643
2643
  `#${b} a`
2644
2644
  )?.click();
2645
2645
  }, E1 = () => {
2646
- const b = T.current[s1];
2646
+ const b = F.current[s1];
2647
2647
  f1(b);
2648
2648
  }, O1 = (b) => {
2649
- $ ? i1() : e1(), o && o(), b.stopPropagation(), b.preventDefault();
2649
+ _ ? i1() : e1(), o && o(), b.stopPropagation(), b.preventDefault();
2650
2650
  }, W1 = (b) => {
2651
2651
  f1(b.currentTarget.id), y || i1();
2652
2652
  }, Z1 = (b) => {
2653
2653
  const R = b.key;
2654
- let S = !1;
2654
+ let H = !1;
2655
2655
  switch (R) {
2656
2656
  // open menu and focus on first menu item
2657
2657
  case " ":
@@ -2666,69 +2666,69 @@ const _4 = {
2666
2666
  break;
2667
2667
  }
2668
2668
  X(
2669
- T.current[G],
2669
+ F.current[G],
2670
2670
  G
2671
- ), S = !0, o && o();
2671
+ ), H = !0, o && o();
2672
2672
  break;
2673
2673
  }
2674
2674
  // close menu
2675
2675
  case "Esc":
2676
2676
  case "Escape":
2677
- i1(), S = !0;
2677
+ i1(), H = !0;
2678
2678
  break;
2679
2679
  // open menu and focus on last menu item
2680
2680
  case "Up":
2681
2681
  case "ArrowUp": {
2682
2682
  e1();
2683
- let G = T.current.length - 1;
2684
- for (let I = T.current.length - 1; I >= 0; I--)
2683
+ let G = F.current.length - 1;
2684
+ for (let I = F.current.length - 1; I >= 0; I--)
2685
2685
  if (!B.current[I]?.disabled) {
2686
2686
  G = I;
2687
2687
  break;
2688
2688
  }
2689
2689
  X(
2690
- T.current[G],
2690
+ F.current[G],
2691
2691
  G
2692
- ), S = !0;
2692
+ ), H = !0;
2693
2693
  break;
2694
2694
  }
2695
2695
  }
2696
- S && (b.stopPropagation(), b.preventDefault());
2696
+ H && (b.stopPropagation(), b.preventDefault());
2697
2697
  }, u1 = (b) => {
2698
2698
  const R = b.key;
2699
- let S = !1, G = "", I = 0;
2699
+ let H = !1, G = "", I = 0;
2700
2700
  function J(V) {
2701
2701
  return V.length === 1 && V.match(/\S/);
2702
2702
  }
2703
2703
  if (!(b.ctrlKey || b.altKey || b.metaKey)) {
2704
2704
  if (b.shiftKey)
2705
- J(R) && (w1(R), S = !0), b.key === "Tab" && (i1(), S = !0);
2705
+ J(R) && (w1(R), H = !0), b.key === "Tab" && (i1(), H = !0);
2706
2706
  else
2707
2707
  switch (R) {
2708
2708
  case " ":
2709
2709
  case "Enter":
2710
- i1(), E1(), S = !0;
2710
+ i1(), E1(), H = !0;
2711
2711
  break;
2712
2712
  case "Esc":
2713
2713
  case "Escape":
2714
- i1(), S = !0;
2714
+ i1(), H = !0;
2715
2715
  break;
2716
2716
  case "Up":
2717
2717
  case "ArrowUp": {
2718
2718
  let V = 0;
2719
- const q = T.current.length;
2720
- for (I = s1 - 1; V < q && (I < 0 && (I = T.current.length - 1), !!B.current[I]?.disabled); )
2719
+ const q = F.current.length;
2720
+ for (I = s1 - 1; V < q && (I < 0 && (I = F.current.length - 1), !!B.current[I]?.disabled); )
2721
2721
  I--, V++;
2722
- G = T.current[I], X(G, I), S = !0;
2722
+ G = F.current[I], X(G, I), H = !0;
2723
2723
  break;
2724
2724
  }
2725
2725
  case "ArrowDown":
2726
2726
  case "Down": {
2727
2727
  let V = 0;
2728
- const q = T.current.length;
2729
- for (I = s1 + 1; V < q && (I > T.current.length - 1 && (I = 0), !!B.current[I]?.disabled); )
2728
+ const q = F.current.length;
2729
+ for (I = s1 + 1; V < q && (I > F.current.length - 1 && (I = 0), !!B.current[I]?.disabled); )
2730
2730
  I++, V++;
2731
- G = T.current[I], X(G, I), S = !0;
2731
+ G = F.current[I], X(G, I), H = !0;
2732
2732
  break;
2733
2733
  }
2734
2734
  case "Home":
@@ -2740,38 +2740,38 @@ const _4 = {
2740
2740
  break;
2741
2741
  }
2742
2742
  X(
2743
- T.current[V],
2743
+ F.current[V],
2744
2744
  V
2745
- ), S = !0;
2745
+ ), H = !0;
2746
2746
  break;
2747
2747
  }
2748
2748
  case "End":
2749
2749
  case "PageDown": {
2750
- let V = T.current.length - 1;
2751
- for (let q = T.current.length - 1; q >= 0; q--)
2750
+ let V = F.current.length - 1;
2751
+ for (let q = F.current.length - 1; q >= 0; q--)
2752
2752
  if (!B.current[q]?.disabled) {
2753
2753
  V = q;
2754
2754
  break;
2755
2755
  }
2756
2756
  X(
2757
- T.current[V],
2757
+ F.current[V],
2758
2758
  V
2759
- ), S = !0;
2759
+ ), H = !0;
2760
2760
  break;
2761
2761
  }
2762
2762
  case "Tab":
2763
2763
  i1();
2764
2764
  break;
2765
2765
  default:
2766
- J(R) && (w1(R), S = !0);
2766
+ J(R) && (w1(R), H = !0);
2767
2767
  break;
2768
2768
  }
2769
- S && (b.stopPropagation(), b.preventDefault());
2769
+ H && (b.stopPropagation(), b.preventDefault());
2770
2770
  }
2771
2771
  }, $1 = (b) => {
2772
- H.current && !H.current.contains(b.target) && $ && i1();
2773
- }, _1 = (b, R, S = "", G = "", ...I) => {
2774
- const J = S ? `-group-${S}` : "", V = N + J + "-item-" + (R + 1), q = "id" in b && b.id ? b.id : V;
2772
+ S.current && !S.current.contains(b.target) && _ && i1();
2773
+ }, _1 = (b, R, H = "", G = "", ...I) => {
2774
+ const J = H ? `-group-${H}` : "", V = N + J + "-item-" + (R + 1), q = "id" in b && b.id ? b.id : V;
2775
2775
  if (X1(b))
2776
2776
  return /* @__PURE__ */ e.createElement("li", { key: q, role: "separator" });
2777
2777
  if (Q1(b))
@@ -2779,7 +2779,7 @@ const _4 = {
2779
2779
  "li",
2780
2780
  {
2781
2781
  key: G,
2782
- className: `${v}__listbox-heading`,
2782
+ className: `${p}__listbox-heading`,
2783
2783
  id: G || null,
2784
2784
  role: "presentation"
2785
2785
  },
@@ -2788,7 +2788,7 @@ const _4 = {
2788
2788
  if (D4(b))
2789
2789
  return /* @__PURE__ */ e.createElement("li", { key: q, role: "presentation" }, b.nodeContent);
2790
2790
  if (J1(b) || "label" in b && b.label) {
2791
- T.current.push(q), B.current.push(b);
2791
+ F.current.push(q), B.current.push(b);
2792
2792
  let v1 = !1;
2793
2793
  U !== "" && !b.disabled && (v1 = U === q);
2794
2794
  const o1 = "isCritical" in b && b.isCritical, x1 = "criticalLabel" in b ? b.criticalLabel : void 0;
@@ -2808,16 +2808,16 @@ const _4 = {
2808
2808
  /* @__PURE__ */ e.createElement("span", { key: `critical-${N}`, className: "visually-hidden" }, x1)
2809
2809
  );
2810
2810
  let z1;
2811
- b.description && (z1 = /* @__PURE__ */ e.createElement("span", { className: `${v}__item-description` }, b.description));
2811
+ b.description && (z1 = /* @__PURE__ */ e.createElement("span", { className: `${p}__item-description` }, b.description));
2812
2812
  let N1;
2813
2813
  if (J1(b) && b.linkContent) {
2814
2814
  const g1 = b.linkContent, K1 = g1.type;
2815
- N1 = /* @__PURE__ */ e.createElement(K1, { tabIndex: -1, ...g1.props }, /* @__PURE__ */ e.createElement("span", { className: `${v}__item-label` }, d1), z1);
2815
+ N1 = /* @__PURE__ */ e.createElement(K1, { tabIndex: -1, ...g1.props }, /* @__PURE__ */ e.createElement("span", { className: `${p}__item-label` }, d1), z1);
2816
2816
  } else
2817
- N1 = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${v}__item-label` }, d1), z1);
2818
- const U1 = M([
2819
- v1 ? `${v}__item-focused` : null,
2820
- o1 ? `${v}__item-critical` : null
2817
+ N1 = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${p}__item-label` }, d1), z1);
2818
+ const U1 = w([
2819
+ v1 ? `${p}__item-focused` : null,
2820
+ o1 ? `${p}__item-critical` : null
2821
2821
  ]);
2822
2822
  return /* @__PURE__ */ e.createElement(
2823
2823
  "li",
@@ -2836,19 +2836,19 @@ const _4 = {
2836
2836
  );
2837
2837
  }
2838
2838
  }, y1 = (b, R) => {
2839
- const S = [], G = [...R];
2839
+ const H = [], G = [...R];
2840
2840
  let I = G.shift(), J = [];
2841
2841
  return b.map((V, q) => {
2842
- V !== I ? (J.push(V), q + 1 === b.length && S.push(J)) : (S.push(J), J = [], J.push(V), I = G.shift());
2843
- }), S.filter((V) => V.length > 0);
2842
+ V !== I ? (J.push(V), q + 1 === b.length && H.push(J)) : (H.push(J), J = [], J.push(V), I = G.shift());
2843
+ }), H.filter((V) => V.length > 0);
2844
2844
  }, Y = (b) => {
2845
- T.current = [], B.current = [];
2846
- const R = b, S = b.filter(
2845
+ F.current = [], B.current = [];
2846
+ const R = b, H = b.filter(
2847
2847
  Q1 || X1
2848
- ), G = S.length > 0;
2849
- let I = [`${v}__listbox`];
2850
- if (u && I.push(`${v}__listbox--navbar`), d === "end" && I.push(`${v}__listbox--end`), a === "icon-only" && I.push(`${v}__listbox--icon-only`), I = M(I), G) {
2851
- const J = y1(b, S);
2848
+ ), G = H.length > 0;
2849
+ let I = [`${p}__listbox`];
2850
+ if (u && I.push(`${p}__listbox--navbar`), d === "end" && I.push(`${p}__listbox--end`), l === "icon-only" && I.push(`${p}__listbox--icon-only`), I = w(I), G) {
2851
+ const J = y1(b, H);
2852
2852
  J.forEach(() => {
2853
2853
  n1.current.push(c4());
2854
2854
  });
@@ -2859,7 +2859,7 @@ const _4 = {
2859
2859
  return /* @__PURE__ */ e.createElement(
2860
2860
  "div",
2861
2861
  {
2862
- ref: g.setFloating,
2862
+ ref: v.setFloating,
2863
2863
  "aria-activedescendant": U !== "" ? U : v1,
2864
2864
  "aria-labelledby": N,
2865
2865
  className: I.toString(),
@@ -2867,18 +2867,18 @@ const _4 = {
2867
2867
  onKeyDown: u1,
2868
2868
  role: "menu",
2869
2869
  style: {
2870
- visibility: $ ? "visible" : "hidden",
2871
- opacity: $ ? "1" : "0",
2870
+ visibility: _ ? "visible" : "hidden",
2871
+ opacity: _ ? "1" : "0",
2872
2872
  transition: "var(--pds-animation-transition-reveal)",
2873
- position: C,
2874
- transform: `translate(${Math.round(L)}px,${Math.round(_)}px)`,
2873
+ position: z,
2874
+ transform: `translate(${Math.round(L)}px,${Math.round($)}px)`,
2875
2875
  zIndex: "var(--pds-z-index-dropdown)"
2876
2876
  },
2877
2877
  tabIndex: -1
2878
2878
  },
2879
2879
  J.map((o1, x1) => {
2880
2880
  V = n1.current[x1];
2881
- const d1 = "isHeading" in o1[0] && o1[0].isHeading, z1 = d1 ? `${N}-group-${V}-heading` : "", N1 = `${N}-group-${V}`, U1 = d1 ? null : `${p} ${x1 + 1}`;
2881
+ const d1 = "isHeading" in o1[0] && o1[0].isHeading, z1 = d1 ? `${N}-group-${V}-heading` : "", N1 = `${N}-group-${V}`, U1 = d1 ? null : `${g} ${x1 + 1}`;
2882
2882
  return /* @__PURE__ */ e.createElement(
2883
2883
  "ul",
2884
2884
  {
@@ -2901,7 +2901,7 @@ const _4 = {
2901
2901
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
2902
2902
  "ul",
2903
2903
  {
2904
- ref: g.setFloating,
2904
+ ref: v.setFloating,
2905
2905
  "aria-activedescendant": U !== "" ? U : J,
2906
2906
  "aria-labelledby": N,
2907
2907
  className: I.toString(),
@@ -2909,11 +2909,11 @@ const _4 = {
2909
2909
  onKeyDown: u1,
2910
2910
  role: "menu",
2911
2911
  style: {
2912
- visibility: $ ? "visible" : "hidden",
2913
- opacity: $ ? "1" : "0",
2912
+ visibility: _ ? "visible" : "hidden",
2913
+ opacity: _ ? "1" : "0",
2914
2914
  transition: "var(--pds-animation-transition-reveal)",
2915
- position: C,
2916
- transform: `translate(${Math.round(L)}px,${Math.round(_)}px)`
2915
+ position: z,
2916
+ transform: `translate(${Math.round(L)}px,${Math.round($)}px)`
2917
2917
  },
2918
2918
  tabIndex: -1
2919
2919
  },
@@ -2922,16 +2922,16 @@ const _4 = {
2922
2922
  }
2923
2923
  };
2924
2924
  let r1;
2925
- if (a === "icon-end" && (r1 = /* @__PURE__ */ e.createElement(
2925
+ if (l === "icon-end" && (r1 = /* @__PURE__ */ e.createElement(
2926
2926
  q1,
2927
2927
  {
2928
- ref: g.setReference,
2928
+ ref: v.setReference,
2929
2929
  "aria-controls": E,
2930
- "aria-expanded": $,
2930
+ "aria-expanded": _,
2931
2931
  "aria-haspopup": "true",
2932
- className: `${v}__trigger`,
2933
- disabled: l,
2934
- displayType: a,
2932
+ className: `${p}__trigger`,
2933
+ disabled: a,
2934
+ displayType: l,
2935
2935
  iconName: "angleDown",
2936
2936
  id: N,
2937
2937
  isSplitButton: s,
@@ -2942,18 +2942,18 @@ const _4 = {
2942
2942
  type: "button",
2943
2943
  variant: f
2944
2944
  }
2945
- )), a === "icon-only") {
2945
+ )), l === "icon-only") {
2946
2946
  const b = o2(i);
2947
2947
  r1 = /* @__PURE__ */ e.createElement(
2948
- T1,
2948
+ F1,
2949
2949
  {
2950
- ref: g.setReference,
2950
+ ref: v.setReference,
2951
2951
  "aria-controls": E,
2952
- "aria-expanded": $,
2952
+ "aria-expanded": _,
2953
2953
  "aria-haspopup": "true",
2954
2954
  ariaLabel: b,
2955
- className: `${v}__trigger ${v}__trigger--icon-only`,
2956
- disabled: l,
2955
+ className: `${p}__trigger ${p}__trigger--icon-only`,
2956
+ disabled: a,
2957
2957
  hasTooltip: !1,
2958
2958
  iconName: c,
2959
2959
  id: N,
@@ -2967,14 +2967,14 @@ const _4 = {
2967
2967
  }
2968
2968
  const k1 = (b) => {
2969
2969
  const R = b.target;
2970
- R.classList.toggle(`${v}__toggle--expanded`), R.setAttribute(
2970
+ R.classList.toggle(`${p}__toggle--expanded`), R.setAttribute(
2971
2971
  "aria-expanded",
2972
2972
  R.getAttribute("aria-expanded") === "true" ? "false" : "true"
2973
- ), R.nextElementSibling.classList.toggle(`${v}__mobile-menu--expanded`);
2974
- }, j2 = () => /* @__PURE__ */ e.createElement("ul", { className: `${v}__mobile-menu`, role: "menu" }, r.map((b, R) => _1(b, R)));
2973
+ ), R.nextElementSibling.classList.toggle(`${p}__mobile-menu--expanded`);
2974
+ }, j2 = () => /* @__PURE__ */ e.createElement("ul", { className: `${p}__mobile-menu`, role: "menu" }, r.map((b, R) => _1(b, R)));
2975
2975
  let u2;
2976
- const O2 = a === "icon-end" ? "pds-button pds-button--navbar" : null, Z2 = M([
2977
- `${v}__toggle`,
2976
+ const O2 = l === "icon-end" ? "pds-button pds-button--navbar" : null, Z2 = w([
2977
+ `${p}__toggle`,
2978
2978
  O2
2979
2979
  ]);
2980
2980
  y && (u2 = /* @__PURE__ */ e.createElement(
@@ -2982,42 +2982,42 @@ const _4 = {
2982
2982
  {
2983
2983
  "aria-expanded": !1,
2984
2984
  className: Z2,
2985
- disabled: l,
2985
+ disabled: a,
2986
2986
  id: N,
2987
2987
  onClick: k1,
2988
2988
  type: "button"
2989
2989
  },
2990
- a === "icon-only" ? /* @__PURE__ */ e.createElement("span", { className: `${v}__icon-label` }, /* @__PURE__ */ e.createElement(O, { iconName: c }), " ", i) : i,
2990
+ l === "icon-only" ? /* @__PURE__ */ e.createElement("span", { className: `${p}__icon-label` }, /* @__PURE__ */ e.createElement(O, { iconName: c }), " ", i) : i,
2991
2991
  /* @__PURE__ */ e.createElement(
2992
2992
  O,
2993
2993
  {
2994
- className: `${v}__toggle-icon ${v}__toggle-icon--${a}`,
2994
+ className: `${p}__toggle-icon ${p}__toggle-icon--${l}`,
2995
2995
  iconName: "angleDown",
2996
2996
  iconSize: "m"
2997
2997
  }
2998
2998
  )
2999
2999
  ));
3000
- const T2 = u2, A2 = $ ? `${v}--expanded` : null;
3000
+ const F2 = u2, T2 = _ ? `${p}--expanded` : null;
3001
3001
  return /* @__PURE__ */ e.createElement(
3002
3002
  "span",
3003
3003
  {
3004
- ref: H,
3005
- className: M([
3006
- v,
3004
+ ref: S,
3005
+ className: w([
3006
+ p,
3007
3007
  P,
3008
3008
  x,
3009
- A2,
3009
+ T2,
3010
3010
  t
3011
3011
  ]),
3012
- "data-testid": z,
3012
+ "data-testid": C,
3013
3013
  ...h
3014
3014
  },
3015
- y ? /* @__PURE__ */ e.createElement(e.Fragment, null, T2, /* @__PURE__ */ e.createElement(j2, null)) : /* @__PURE__ */ e.createElement(e.Fragment, null, r1, Y(r))
3015
+ y ? /* @__PURE__ */ e.createElement(e.Fragment, null, F2, /* @__PURE__ */ e.createElement(j2, null)) : /* @__PURE__ */ e.createElement(e.Fragment, null, r1, Y(r))
3016
3016
  );
3017
3017
  }, h0 = ({
3018
3018
  className: t,
3019
- defaultValue: l,
3020
- disabled: a = !1,
3019
+ defaultValue: a,
3020
+ disabled: l = !1,
3021
3021
  id: c,
3022
3022
  label: n,
3023
3023
  onChange: s,
@@ -3026,41 +3026,41 @@ const _4 = {
3026
3026
  value: d,
3027
3027
  ...o
3028
3028
  }) => {
3029
- const m = "pds-segmented-button", z = a ? "pds-is-disabled" : null, p = `${m}--${r}`, f = r === "s" ? "s" : "m", u = typeof d < "u", h = typeof l < "u", [w, g] = j(
3030
- h ? l : ""
3031
- ), C = (L) => {
3032
- g(L.target.value), s && s(L.target.value);
3029
+ const m = "pds-segmented-button", C = l ? "pds-is-disabled" : null, g = `${m}--${r}`, f = r === "s" ? "s" : "m", u = typeof d < "u", h = typeof a < "u", [M, v] = j(
3030
+ h ? a : ""
3031
+ ), z = (L) => {
3032
+ v(L.target.value), s && s(L.target.value);
3033
3033
  };
3034
3034
  if (i.length >= 2 && i.length <= 6)
3035
3035
  return /* @__PURE__ */ e.createElement(
3036
3036
  "fieldset",
3037
3037
  {
3038
- className: M([
3038
+ className: w([
3039
3039
  m,
3040
- p,
3041
- z,
3040
+ g,
3041
+ C,
3042
3042
  t ?? ""
3043
3043
  ]),
3044
3044
  ...o
3045
3045
  },
3046
3046
  /* @__PURE__ */ e.createElement("legend", { className: "visually-hidden" }, n),
3047
- /* @__PURE__ */ e.createElement("div", { className: `${m}__options` }, i.map((L, _) => {
3048
- const D = u ? d === L.value : w === L.value, k = `${m}__option`, y = D ? `${k}--checked` : null;
3047
+ /* @__PURE__ */ e.createElement("div", { className: `${m}__options` }, i.map((L, $) => {
3048
+ const D = u ? d === L.value : M === L.value, k = `${m}__option`, y = D ? `${k}--checked` : null;
3049
3049
  return /* @__PURE__ */ e.createElement(
3050
3050
  "div",
3051
3051
  {
3052
- key: `${c}-option-${_}`,
3053
- className: M([k, y])
3052
+ key: `${c}-option-${$}`,
3053
+ className: w([k, y])
3054
3054
  },
3055
3055
  /* @__PURE__ */ e.createElement(
3056
3056
  "input",
3057
3057
  {
3058
3058
  checked: D,
3059
3059
  className: "visually-hidden",
3060
- disabled: a || L.disabled,
3061
- id: L.id ? L.id : `${c}-option-${_}`,
3060
+ disabled: l || L.disabled,
3061
+ id: L.id ? L.id : `${c}-option-${$}`,
3062
3062
  name: c,
3063
- onChange: C,
3063
+ onChange: z,
3064
3064
  type: "radio",
3065
3065
  value: L.value
3066
3066
  }
@@ -3068,7 +3068,7 @@ const _4 = {
3068
3068
  /* @__PURE__ */ e.createElement(
3069
3069
  "label",
3070
3070
  {
3071
- htmlFor: L.id ? L.id : `${c}-option-${_}`,
3071
+ htmlFor: L.id ? L.id : `${c}-option-${$}`,
3072
3072
  title: L.label
3073
3073
  },
3074
3074
  L.iconName && /* @__PURE__ */ e.createElement(
@@ -3094,31 +3094,31 @@ const _4 = {
3094
3094
  );
3095
3095
  }, I4 = ({
3096
3096
  actionItems: t,
3097
- className: l,
3098
- disabled: a,
3097
+ className: a,
3098
+ disabled: l,
3099
3099
  id: c,
3100
3100
  moreActionsLabel: n = "More actions",
3101
3101
  size: s = "s",
3102
3102
  variant: i = "primary",
3103
3103
  ...r
3104
3104
  }) => {
3105
- const d = "pds-split-button", o = `${d}--${i}`, m = t[0], z = t.slice(1);
3106
- let p = null;
3107
- return "isLink" in m && m.isLink === !0 ? p = /* @__PURE__ */ e.createElement(
3105
+ const d = "pds-split-button", o = `${d}--${i}`, m = t[0], C = t.slice(1);
3106
+ let g = null;
3107
+ return "isLink" in m && m.isLink === !0 ? g = /* @__PURE__ */ e.createElement(
3108
3108
  x4,
3109
3109
  {
3110
3110
  className: `${d}__primary-action`,
3111
- disabled: a,
3111
+ disabled: l,
3112
3112
  displayType: "label-only",
3113
3113
  linkContent: m.linkContent,
3114
3114
  size: s,
3115
3115
  variant: i
3116
3116
  }
3117
- ) : "label" in m && (p = /* @__PURE__ */ e.createElement(
3117
+ ) : "label" in m && (g = /* @__PURE__ */ e.createElement(
3118
3118
  q1,
3119
3119
  {
3120
3120
  className: `${d}__primary-action`,
3121
- disabled: a,
3121
+ disabled: l,
3122
3122
  label: m.label,
3123
3123
  onClick: () => m.callback(),
3124
3124
  size: s,
@@ -3127,21 +3127,21 @@ const _4 = {
3127
3127
  )), /* @__PURE__ */ e.createElement(
3128
3128
  "span",
3129
3129
  {
3130
- className: M([d, o, l]),
3130
+ className: w([d, o, a]),
3131
3131
  id: c,
3132
3132
  ...r
3133
3133
  },
3134
- p,
3134
+ g,
3135
3135
  /* @__PURE__ */ e.createElement(
3136
3136
  H4,
3137
3137
  {
3138
3138
  isSplitButton: !0,
3139
3139
  className: `${d}__menu-button`,
3140
- disabled: a,
3140
+ disabled: l,
3141
3141
  displayType: "icon-end",
3142
3142
  id: `${c}-menu`,
3143
3143
  label: n,
3144
- menuItems: z,
3144
+ menuItems: C,
3145
3145
  size: s,
3146
3146
  testId: null,
3147
3147
  variant: i,
@@ -3166,15 +3166,15 @@ const _4 = {
3166
3166
  wordpress: "WordPress"
3167
3167
  }, j4 = ({
3168
3168
  className: t,
3169
- iconSize: l = "2xl",
3170
- platformType: a,
3169
+ iconSize: a = "2xl",
3170
+ platformType: l,
3171
3171
  ...c
3172
3172
  }) => {
3173
- const n = "pds-platform-icon", s = `pds-platform-icon--${a}`, i = `pds-platform-icon--${l}`;
3173
+ const n = "pds-platform-icon", s = `pds-platform-icon--${l}`, i = `pds-platform-icon--${a}`;
3174
3174
  let r;
3175
- if (["front-end-sites", "gatsby-wp", "next-drupal", "next-wp"].includes(a)) {
3175
+ if (["front-end-sites", "gatsby-wp", "next-drupal", "next-wp"].includes(l)) {
3176
3176
  let o = [];
3177
- switch (a) {
3177
+ switch (l) {
3178
3178
  case "front-end-sites":
3179
3179
  o = ["next", "gatsby"];
3180
3180
  break;
@@ -3191,7 +3191,7 @@ const _4 = {
3191
3191
  r = /* @__PURE__ */ e.createElement(
3192
3192
  "span",
3193
3193
  {
3194
- "aria-label": V4[a],
3194
+ "aria-label": V4[l],
3195
3195
  className: `${n}__group`,
3196
3196
  role: "img"
3197
3197
  },
@@ -3199,11 +3199,11 @@ const _4 = {
3199
3199
  h1(e2[o[1]], { "aria-hidden": "true" })
3200
3200
  );
3201
3201
  } else
3202
- r = e2[a];
3202
+ r = e2[l];
3203
3203
  return /* @__PURE__ */ e.createElement(
3204
3204
  "div",
3205
3205
  {
3206
- className: M([n, s, i, t]),
3206
+ className: w([n, s, i, t]),
3207
3207
  ...c
3208
3208
  },
3209
3209
  r
@@ -3504,15 +3504,15 @@ const _4 = {
3504
3504
  )
3505
3505
  }, u0 = ({
3506
3506
  buttonType: t = "button",
3507
- className: l = "",
3508
- disabled: a = !1,
3507
+ className: a = "",
3508
+ disabled: l = !1,
3509
3509
  label: c,
3510
3510
  onClick: n,
3511
3511
  platform: s,
3512
3512
  size: i = "m",
3513
3513
  ...r
3514
3514
  }) => {
3515
- const d = "pds-sso-button", o = `${d}--${i}`, m = i === "m" ? "l" : "2xl", z = /* @__PURE__ */ e.createElement(
3515
+ const d = "pds-sso-button", o = `${d}--${i}`, m = i === "m" ? "l" : "2xl", C = /* @__PURE__ */ e.createElement(
3516
3516
  j4,
3517
3517
  {
3518
3518
  className: `${d}__icon`,
@@ -3523,19 +3523,19 @@ const _4 = {
3523
3523
  return /* @__PURE__ */ e.createElement(
3524
3524
  "button",
3525
3525
  {
3526
- className: M([d, o, l]),
3527
- disabled: a,
3526
+ className: w([d, o, a]),
3527
+ disabled: l,
3528
3528
  onClick: n,
3529
3529
  type: t,
3530
3530
  ...r
3531
3531
  },
3532
- z,
3532
+ C,
3533
3533
  c
3534
3534
  );
3535
3535
  }, g0 = ({
3536
3536
  buttonProps: t,
3537
- className: l,
3538
- disabled: a = !1,
3537
+ className: a,
3538
+ disabled: l = !1,
3539
3539
  hasBorder: c = !1,
3540
3540
  iconName: n,
3541
3541
  iconPosition: s = "before",
@@ -3544,12 +3544,12 @@ const _4 = {
3544
3544
  isMonospace: d = !1,
3545
3545
  isWorking: o,
3546
3546
  label: m,
3547
- linkContent: z,
3548
- onClick: p,
3547
+ linkContent: C,
3548
+ onClick: g,
3549
3549
  tooltipText: f,
3550
3550
  ...u
3551
3551
  }) => {
3552
- const h = "pds-utility-button", w = r ? "pds-pulse" : null, g = (v) => n && !o ? /* @__PURE__ */ e.createElement(O, { key: v, className: `${h}__icon`, iconName: n }) : null, C = () => o ? /* @__PURE__ */ e.createElement(
3552
+ const h = "pds-utility-button", M = r ? "pds-pulse" : null, v = (p) => n && !o ? /* @__PURE__ */ e.createElement(O, { key: p, className: `${h}__icon`, iconName: n }) : null, z = () => o ? /* @__PURE__ */ e.createElement(
3553
3553
  j1,
3554
3554
  {
3555
3555
  key: "spinner",
@@ -3557,63 +3557,63 @@ const _4 = {
3557
3557
  colorType: "monochromatic",
3558
3558
  size: "s"
3559
3559
  }
3560
- ) : null, L = (v) => {
3560
+ ) : null, L = (p) => {
3561
3561
  const x = [];
3562
- return s === "before" && x.push(g("icon-before")), x.push(C()), x.push(
3563
- /* @__PURE__ */ e.createElement("span", { key: "label", className: `${h}__label` }, v)
3564
- ), s === "after" && x.push(g("icon-after")), x.filter(Boolean);
3565
- }, _ = z && a1(z) ? z.props.children : m, D = M([
3562
+ return s === "before" && x.push(v("icon-before")), x.push(z()), x.push(
3563
+ /* @__PURE__ */ e.createElement("span", { key: "label", className: `${h}__label` }, p)
3564
+ ), s === "after" && x.push(v("icon-after")), x.filter(Boolean);
3565
+ }, $ = C && l1(C) ? C.props.children : m, D = w([
3566
3566
  h,
3567
3567
  c ? `${h}--border` : null,
3568
3568
  i ? `${h}--critical` : null,
3569
- a ? `${h}--disabled` : null,
3569
+ l ? `${h}--disabled` : null,
3570
3570
  r ? `${h}--loading` : null,
3571
3571
  o ? `${h}--working` : null,
3572
3572
  d ? `${h}--monospace` : null,
3573
- l ?? ""
3574
- ]), k = (v) => f ? /* @__PURE__ */ e.createElement(I1, { content: f, customTrigger: v }) : v;
3575
- if (z && !a) {
3576
- const v = a1(z) ? h1(
3577
- z,
3578
- Object.assign({}, z.props, {
3579
- className: M([
3573
+ a ?? ""
3574
+ ]), k = (p) => f ? /* @__PURE__ */ e.createElement(I1, { content: f, customTrigger: p }) : p;
3575
+ if (C && !l) {
3576
+ const p = l1(C) ? h1(
3577
+ C,
3578
+ Object.assign({}, C.props, {
3579
+ className: w([
3580
3580
  `${h}__button`,
3581
- w,
3582
- z.props.className ?? ""
3581
+ M,
3582
+ C.props.className ?? ""
3583
3583
  ]),
3584
- children: L(_)
3584
+ children: L($)
3585
3585
  })
3586
3586
  ) : null;
3587
- return /* @__PURE__ */ e.createElement("div", { className: D, ...u }, k(v));
3587
+ return /* @__PURE__ */ e.createElement("div", { className: D, ...u }, k(p));
3588
3588
  }
3589
3589
  const y = /* @__PURE__ */ e.createElement(
3590
3590
  "button",
3591
3591
  {
3592
- "aria-disabled": a || r || o,
3593
- className: M([`${h}__button`, w]),
3594
- onClick: a ? void 0 : p,
3592
+ "aria-disabled": l || r || o,
3593
+ className: w([`${h}__button`, M]),
3594
+ onClick: l ? void 0 : g,
3595
3595
  type: "button",
3596
3596
  ...t
3597
3597
  },
3598
- L(_)
3598
+ L($)
3599
3599
  );
3600
3600
  return /* @__PURE__ */ e.createElement("div", { className: D, ...u }, k(y));
3601
3601
  }, p0 = ({
3602
3602
  background: t = "default",
3603
- children: l,
3604
- className: a,
3603
+ children: a,
3604
+ className: l,
3605
3605
  padding: c = "standard",
3606
3606
  ...n
3607
3607
  }) => {
3608
- const s = "pds-card", i = t !== "default" ? `${s}--${t}` : null, r = c !== "standard" ? `${s}--pad-${c}` : null, d = p1(l), o = d.image, m = d.__unslotted || d.main;
3608
+ const s = "pds-card", i = t !== "default" ? `${s}--${t}` : null, r = c !== "standard" ? `${s}--pad-${c}` : null, d = p1(a), o = d.image, m = d.__unslotted || d.main;
3609
3609
  return /* @__PURE__ */ e.createElement(
3610
3610
  "div",
3611
3611
  {
3612
- className: M([
3612
+ className: w([
3613
3613
  s,
3614
3614
  i,
3615
3615
  r,
3616
- a ?? ""
3616
+ l ?? ""
3617
3617
  ]),
3618
3618
  ...n
3619
3619
  },
@@ -3622,8 +3622,8 @@ const _4 = {
3622
3622
  );
3623
3623
  }, f0 = ({
3624
3624
  ariaLabel: t,
3625
- children: l,
3626
- className: a,
3625
+ children: a,
3626
+ className: l,
3627
3627
  closeButtonLabel: c = "Close drawer",
3628
3628
  disableOutsideClick: n,
3629
3629
  hasCloseButton: s = !0,
@@ -3633,43 +3633,43 @@ const _4 = {
3633
3633
  },
3634
3634
  size: o = "m",
3635
3635
  title: m,
3636
- width: z,
3637
- ...p
3636
+ width: C,
3637
+ ...g
3638
3638
  }) => {
3639
- const f = "pds-drawer", u = z ? null : `${f}--${o}`, h = `${f}--${r}`, w = z ? { width: z } : void 0, [g, C] = j(i), [L, _] = j(!1), D = t1(null), { closeOverlay: k, openOverlay: y } = d2();
3639
+ const f = "pds-drawer", u = C ? null : `${f}--${o}`, h = `${f}--${r}`, M = C ? { width: C } : void 0, [v, z] = j(i), [L, $] = j(!1), D = t1(null), { closeOverlay: k, openOverlay: y } = d2();
3640
3640
  K(() => {
3641
- i ? C(!0) : _(!1);
3641
+ i ? z(!0) : $(!1);
3642
3642
  }, [i]), K(() => {
3643
- g && requestAnimationFrame(() => {
3643
+ v && requestAnimationFrame(() => {
3644
3644
  requestAnimationFrame(() => {
3645
- _(!0);
3645
+ $(!0);
3646
3646
  });
3647
3647
  });
3648
- }, [g]), K(() => {
3649
- d(g);
3650
- }, [g]), K(() => {
3651
- if (!(!y || !k) && g)
3648
+ }, [v]), K(() => {
3649
+ d(v);
3650
+ }, [v]), K(() => {
3651
+ if (!(!y || !k) && v)
3652
3652
  return y(), () => k();
3653
- }, [g, y, k]), K(() => {
3654
- if (g)
3653
+ }, [v, y, k]), K(() => {
3654
+ if (v)
3655
3655
  return document.body.style.overflow = "hidden", () => {
3656
3656
  document.body.style.overflow = "";
3657
3657
  };
3658
- }, [g]);
3659
- const v = m1(() => {
3660
- _(!1);
3658
+ }, [v]);
3659
+ const p = m1(() => {
3660
+ $(!1);
3661
3661
  }, []), x = m1(() => {
3662
- L || C(!1);
3662
+ L || z(!1);
3663
3663
  }, [L]), P = m1(() => {
3664
- n || v();
3665
- }, [n, v]);
3664
+ n || p();
3665
+ }, [n, p]);
3666
3666
  return K(() => {
3667
- if (!g) return;
3667
+ if (!v) return;
3668
3668
  const N = (E) => {
3669
- E.key === "Escape" && v();
3669
+ E.key === "Escape" && p();
3670
3670
  };
3671
3671
  return document.addEventListener("keydown", N), () => document.removeEventListener("keydown", N);
3672
- }, [g, v]), g ? e4(
3672
+ }, [v, p]), v ? e4(
3673
3673
  /* @__PURE__ */ e.createElement(
3674
3674
  J2,
3675
3675
  {
@@ -3683,7 +3683,7 @@ const _4 = {
3683
3683
  /* @__PURE__ */ e.createElement("div", { className: `${f}__wrapper` }, /* @__PURE__ */ e.createElement(
3684
3684
  "div",
3685
3685
  {
3686
- className: M([
3686
+ className: w([
3687
3687
  `${f}__overlay`,
3688
3688
  L ? `${f}__overlay--visible` : null
3689
3689
  ]),
@@ -3694,27 +3694,27 @@ const _4 = {
3694
3694
  {
3695
3695
  ref: D,
3696
3696
  "aria-label": t || m,
3697
- className: M([
3697
+ className: w([
3698
3698
  f,
3699
3699
  u,
3700
3700
  h,
3701
3701
  L ? `${f}--open` : null,
3702
- a
3702
+ l
3703
3703
  ]),
3704
3704
  onTransitionEnd: x,
3705
3705
  role: "dialog",
3706
- style: w,
3707
- ...p
3706
+ style: M,
3707
+ ...g
3708
3708
  },
3709
3709
  /* @__PURE__ */ e.createElement("div", { className: `${f}__header` }, m && /* @__PURE__ */ e.createElement("div", { className: `${f}__title` }, m), s && /* @__PURE__ */ e.createElement(
3710
3710
  G1,
3711
3711
  {
3712
3712
  ariaLabel: c,
3713
- onClick: v,
3713
+ onClick: p,
3714
3714
  size: "l"
3715
3715
  }
3716
3716
  )),
3717
- /* @__PURE__ */ e.createElement("div", { className: `${f}__content` }, l)
3717
+ /* @__PURE__ */ e.createElement("div", { className: `${f}__content` }, a)
3718
3718
  ))
3719
3719
  ),
3720
3720
  document.body
@@ -3722,8 +3722,8 @@ const _4 = {
3722
3722
  }, O4 = L1(
3723
3723
  ({
3724
3724
  checked: t,
3725
- className: l,
3726
- defaultChecked: a,
3725
+ className: a,
3726
+ defaultChecked: l,
3727
3727
  disabled: c,
3728
3728
  id: n,
3729
3729
  indeterminate: s,
@@ -3732,29 +3732,29 @@ const _4 = {
3732
3732
  label: d,
3733
3733
  message: o,
3734
3734
  name: m,
3735
- nestingLevel: z = 0,
3736
- onBlur: p,
3735
+ nestingLevel: C = 0,
3736
+ onBlur: g,
3737
3737
  onChange: f,
3738
3738
  onFocus: u,
3739
3739
  required: h,
3740
- showLabel: w = !0,
3741
- size: g = "s",
3742
- validationMessage: C,
3740
+ showLabel: M = !0,
3741
+ size: v = "s",
3742
+ validationMessage: z,
3743
3743
  validationStatus: L,
3744
- value: _,
3744
+ value: $,
3745
3745
  ...D
3746
3746
  }, k) => {
3747
- const y = r ? { width: `${r / 16}rem` } : null, v = "pds-checkbox", x = c ? A.disabled : null, P = L === "error" ? A.error : null, N = z > 0 ? `${v}--indent-${z}` : null, E = h && !c ? A.required : null, Z = g !== "s" ? `${v}--${g}` : null, H = L === "success" ? A.success : null, $ = C || o, F = typeof t < "u", W = typeof a < "u", [Q, U] = j(
3748
- W ? a : !1
3749
- ), l1 = t || Q, s1 = (X) => {
3750
- F || U(X.target.checked), f && f(X);
3751
- }, c1 = `${v}__box`, n1 = s ? null : l1 ? `${c1}--checked` : null, T = s ? `${c1}--indeterminate` : null, B = m1(() => {
3747
+ const y = r ? { width: `${r / 16}rem` } : null, p = "pds-checkbox", x = c ? T.disabled : null, P = L === "error" ? T.error : null, N = C > 0 ? `${p}--indent-${C}` : null, E = h && !c ? T.required : null, Z = v !== "s" ? `${p}--${v}` : null, S = L === "success" ? T.success : null, _ = z || o, A = typeof t < "u", W = typeof l < "u", [Q, U] = j(
3748
+ W ? l : !1
3749
+ ), a1 = t || Q, s1 = (X) => {
3750
+ A || U(X.target.checked), f && f(X);
3751
+ }, c1 = `${p}__box`, n1 = s ? null : a1 ? `${c1}--checked` : null, F = s ? `${c1}--indeterminate` : null, B = m1(() => {
3752
3752
  if (s)
3753
3753
  return /* @__PURE__ */ e.createElement(
3754
3754
  "svg",
3755
3755
  {
3756
3756
  "aria-hidden": "true",
3757
- className: `${v}__icon ${v}__icon--indeterminate`,
3757
+ className: `${p}__icon ${p}__icon--indeterminate`,
3758
3758
  fill: "currentColor",
3759
3759
  height: "12",
3760
3760
  viewBox: "0 0 12 12",
@@ -3763,12 +3763,12 @@ const _4 = {
3763
3763
  },
3764
3764
  /* @__PURE__ */ e.createElement("rect", { height: "2", rx: "1", width: "8", x: "2", y: "5" })
3765
3765
  );
3766
- if (l1)
3766
+ if (a1)
3767
3767
  return /* @__PURE__ */ e.createElement(
3768
3768
  "svg",
3769
3769
  {
3770
3770
  "aria-hidden": "true",
3771
- className: `${v}__icon ${v}__icon--checked`,
3771
+ className: `${p}__icon ${p}__icon--checked`,
3772
3772
  fill: "currentColor",
3773
3773
  height: "12",
3774
3774
  viewBox: "0 0 12 12",
@@ -3777,71 +3777,71 @@ const _4 = {
3777
3777
  },
3778
3778
  /* @__PURE__ */ e.createElement("path", { d: "M9.85474 3.64666C10.1032 3.32078 10.0258 2.86817 9.67727 2.63583C9.32878 2.4035 8.84476 2.47591 8.5963 2.80179L4.8694 7.65977L3.32056 6.21143C3.01724 5.9278 2.52677 5.9278 2.22669 6.21143C1.9266 6.49506 1.92337 6.9537 2.22346 7.23734L4.41765 9.28916C4.57899 9.44003 4.80164 9.51546 5.02751 9.49736C5.25338 9.47925 5.4599 9.37063 5.59219 9.19864L9.85151 3.64666H9.85474Z" })
3779
3779
  );
3780
- }, [s, l1]);
3780
+ }, [s, a1]);
3781
3781
  return /* @__PURE__ */ e.createElement(
3782
3782
  "div",
3783
3783
  {
3784
- className: M([
3785
- v,
3784
+ className: w([
3785
+ p,
3786
3786
  x,
3787
3787
  E,
3788
3788
  P,
3789
- H,
3789
+ S,
3790
3790
  Z,
3791
3791
  N,
3792
- l ?? ""
3792
+ a ?? ""
3793
3793
  ]),
3794
3794
  style: r ? y : null,
3795
3795
  ...D
3796
3796
  },
3797
- /* @__PURE__ */ e.createElement("div", { className: `${v}__input-wrapper` }, /* @__PURE__ */ e.createElement(
3797
+ /* @__PURE__ */ e.createElement("div", { className: `${p}__input-wrapper` }, /* @__PURE__ */ e.createElement(
3798
3798
  "input",
3799
3799
  {
3800
3800
  ref: k,
3801
3801
  "aria-checked": s ? "mixed" : void 0,
3802
- checked: F ? t : Q,
3802
+ checked: A ? t : Q,
3803
3803
  id: n,
3804
3804
  name: m,
3805
3805
  type: "checkbox",
3806
- ..._ ? { value: _ } : {},
3807
- "aria-describedby": $ ? `${n}__message` : null,
3806
+ ...$ ? { value: $ } : {},
3807
+ "aria-describedby": _ ? `${n}__message` : null,
3808
3808
  "aria-invalid": L === "error" ? !0 : null,
3809
3809
  disabled: c,
3810
- onBlur: p,
3810
+ onBlur: g,
3811
3811
  onChange: s1,
3812
3812
  onFocus: u,
3813
3813
  required: h,
3814
3814
  ...i
3815
3815
  }
3816
- ), /* @__PURE__ */ e.createElement("label", { className: `${v}__label`, htmlFor: n }, /* @__PURE__ */ e.createElement(
3816
+ ), /* @__PURE__ */ e.createElement("label", { className: `${p}__label`, htmlFor: n }, /* @__PURE__ */ e.createElement(
3817
3817
  "div",
3818
3818
  {
3819
- className: M([
3819
+ className: w([
3820
3820
  c1,
3821
3821
  n1,
3822
- T
3822
+ F
3823
3823
  ])
3824
3824
  },
3825
3825
  /* @__PURE__ */ e.createElement(B, null)
3826
3826
  ), /* @__PURE__ */ e.createElement(
3827
3827
  "div",
3828
3828
  {
3829
- className: M([
3830
- `${v}__label-text`,
3831
- w ? "" : "visually-hidden"
3829
+ className: w([
3830
+ `${p}__label-text`,
3831
+ M ? "" : "visually-hidden"
3832
3832
  ])
3833
3833
  },
3834
3834
  d,
3835
3835
  " ",
3836
3836
  h && !c && /* @__PURE__ */ e.createElement(D2, null)
3837
3837
  ))),
3838
- $ && /* @__PURE__ */ e.createElement(
3838
+ _ && /* @__PURE__ */ e.createElement(
3839
3839
  b1,
3840
3840
  {
3841
3841
  validationMessageHasDecorators: !0,
3842
- hasValidationMessage: !!C,
3842
+ hasValidationMessage: !!z,
3843
3843
  id: n,
3844
- message: $,
3844
+ message: _,
3845
3845
  validationStatus: L
3846
3846
  }
3847
3847
  )
@@ -3849,8 +3849,8 @@ const _4 = {
3849
3849
  }
3850
3850
  ), v0 = ({
3851
3851
  children: t,
3852
- className: l,
3853
- disabled: a = !1,
3852
+ className: a,
3853
+ disabled: l = !1,
3854
3854
  fieldsetProps: c,
3855
3855
  id: n,
3856
3856
  inputWidth: s,
@@ -3859,21 +3859,21 @@ const _4 = {
3859
3859
  required: d = !1,
3860
3860
  showLabel: o = !0,
3861
3861
  tooltipText: m = null,
3862
- validationMessage: z,
3863
- validationStatus: p,
3862
+ validationMessage: C,
3863
+ validationStatus: g,
3864
3864
  ...f
3865
3865
  }) => {
3866
- const u = s ? { width: `${s / 16}rem` } : null, h = "pds-checkbox-group", w = a ? A.disabled : null, g = d && !a ? A.required : null, C = p === "error" ? A.error : null, L = p === "success" ? A.success : null, _ = z || r;
3866
+ const u = s ? { width: `${s / 16}rem` } : null, h = "pds-checkbox-group", M = l ? T.disabled : null, v = d && !l ? T.required : null, z = g === "error" ? T.error : null, L = g === "success" ? T.success : null, $ = C || r;
3867
3867
  return /* @__PURE__ */ e.createElement(
3868
3868
  "div",
3869
3869
  {
3870
- className: M([
3870
+ className: w([
3871
3871
  h,
3872
- w,
3873
- g,
3874
- C,
3872
+ M,
3873
+ v,
3874
+ z,
3875
3875
  L,
3876
- l ?? ""
3876
+ a ?? ""
3877
3877
  ]),
3878
3878
  style: s ? u : null,
3879
3879
  ...f
@@ -3882,7 +3882,7 @@ const _4 = {
3882
3882
  V1,
3883
3883
  {
3884
3884
  isLegend: !0,
3885
- disabled: a,
3885
+ disabled: l,
3886
3886
  id: n,
3887
3887
  label: i,
3888
3888
  required: d,
@@ -3890,21 +3890,21 @@ const _4 = {
3890
3890
  tooltipText: m
3891
3891
  }
3892
3892
  ), /* @__PURE__ */ e.createElement("div", { className: `${h}__options` }, t)),
3893
- _ && /* @__PURE__ */ e.createElement(
3893
+ $ && /* @__PURE__ */ e.createElement(
3894
3894
  b1,
3895
3895
  {
3896
3896
  validationMessageHasDecorators: !0,
3897
- hasValidationMessage: !!z,
3897
+ hasValidationMessage: !!C,
3898
3898
  id: n,
3899
- message: _,
3900
- validationStatus: p
3899
+ message: $,
3900
+ validationStatus: g
3901
3901
  }
3902
3902
  )
3903
3903
  );
3904
3904
  }, z0 = ({
3905
3905
  className: t,
3906
- disabled: l = !1,
3907
- fieldsetProps: a,
3906
+ disabled: a = !1,
3907
+ fieldsetProps: l,
3908
3908
  id: c,
3909
3909
  inputWidth: n,
3910
3910
  label: s,
@@ -3913,13 +3913,13 @@ const _4 = {
3913
3913
  onValueChange: d,
3914
3914
  options: o,
3915
3915
  required: m = !1,
3916
- showLabel: z = !0,
3917
- tooltipText: p = null,
3916
+ showLabel: C = !0,
3917
+ tooltipText: g = null,
3918
3918
  validationMessage: f,
3919
3919
  validationStatus: u,
3920
3920
  ...h
3921
3921
  }) => {
3922
- const w = n ? { width: `${n / 16}rem` } : null, g = "pds-checkbox-group", C = l ? A.disabled : null, L = m && !l ? A.required : null, _ = u === "error" ? A.error : null, D = u === "success" ? A.success : null, k = f || i;
3922
+ const M = n ? { width: `${n / 16}rem` } : null, v = "pds-checkbox-group", z = a ? T.disabled : null, L = m && !a ? T.required : null, $ = u === "error" ? T.error : null, D = u === "success" ? T.success : null, k = f || i;
3923
3923
  o.map((E) => {
3924
3924
  E.id || (E.id = E.value);
3925
3925
  });
@@ -3927,50 +3927,50 @@ const _4 = {
3927
3927
  o.map((E) => {
3928
3928
  E.checked === !0 && y.push(E.value);
3929
3929
  });
3930
- const [v, x] = j(y), P = (E) => {
3931
- const { value: Z } = E.target, H = v.includes(Z) ? v.filter(($) => $ !== Z) : [...v, Z];
3932
- x(H), d && d(H);
3930
+ const [p, x] = j(y), P = (E) => {
3931
+ const { value: Z } = E.target, S = p.includes(Z) ? p.filter((_) => _ !== Z) : [...p, Z];
3932
+ x(S), d && d(S);
3933
3933
  };
3934
3934
  o.map((E) => {
3935
- v.includes(E.value) ? E.checked = !0 : E.checked = !1;
3935
+ p.includes(E.value) ? E.checked = !0 : E.checked = !1;
3936
3936
  });
3937
3937
  const N = () => {
3938
3938
  r && setTimeout(() => {
3939
- o.some((E) => E.id === document.activeElement.id) || r(v);
3939
+ o.some((E) => E.id === document.activeElement.id) || r(p);
3940
3940
  }, 1500);
3941
3941
  };
3942
3942
  return /* @__PURE__ */ e.createElement(
3943
3943
  "div",
3944
3944
  {
3945
- className: M([
3946
- g,
3947
- C,
3945
+ className: w([
3946
+ v,
3947
+ z,
3948
3948
  L,
3949
- _,
3949
+ $,
3950
3950
  D,
3951
3951
  t ?? ""
3952
3952
  ]),
3953
- style: n ? w : null,
3953
+ style: n ? M : null,
3954
3954
  ...h
3955
3955
  },
3956
- /* @__PURE__ */ e.createElement("fieldset", { className: `${g}__fieldset`, id: c, ...a }, /* @__PURE__ */ e.createElement(
3956
+ /* @__PURE__ */ e.createElement("fieldset", { className: `${v}__fieldset`, id: c, ...l }, /* @__PURE__ */ e.createElement(
3957
3957
  V1,
3958
3958
  {
3959
3959
  isLegend: !0,
3960
- disabled: l,
3960
+ disabled: a,
3961
3961
  id: c,
3962
3962
  label: s,
3963
3963
  required: m,
3964
- showLabel: z,
3965
- tooltipText: p
3964
+ showLabel: C,
3965
+ tooltipText: g
3966
3966
  }
3967
- ), /* @__PURE__ */ e.createElement("div", { className: `${g}__options` }, o.map((E) => /* @__PURE__ */ e.createElement(
3967
+ ), /* @__PURE__ */ e.createElement("div", { className: `${v}__options` }, o.map((E) => /* @__PURE__ */ e.createElement(
3968
3968
  O4,
3969
3969
  {
3970
3970
  key: E.id,
3971
3971
  checked: E.checked,
3972
- className: `${g}__checkbox`,
3973
- disabled: E.disabled || l,
3972
+ className: `${v}__checkbox`,
3973
+ disabled: E.disabled || a,
3974
3974
  id: E.id,
3975
3975
  label: E.label,
3976
3976
  name: E.name,
@@ -3992,8 +3992,8 @@ const _4 = {
3992
3992
  );
3993
3993
  }, C0 = ({
3994
3994
  className: t,
3995
- defaultValue: l,
3996
- disabled: a = !1,
3995
+ defaultValue: a,
3996
+ disabled: l = !1,
3997
3997
  fieldsetProps: c,
3998
3998
  id: n,
3999
3999
  inputWidth: s,
@@ -4002,68 +4002,68 @@ const _4 = {
4002
4002
  onBlur: d,
4003
4003
  onChange: o,
4004
4004
  onValueChange: m,
4005
- options: z,
4006
- required: p = !1,
4005
+ options: C,
4006
+ required: g = !1,
4007
4007
  showLabel: f = !0,
4008
4008
  tooltipText: u = null,
4009
4009
  validationMessage: h,
4010
- validationStatus: w,
4011
- value: g,
4012
- ...C
4010
+ validationStatus: M,
4011
+ value: v,
4012
+ ...z
4013
4013
  }) => {
4014
- const L = "pds-radio-group", _ = a ? A.disabled : null, D = p && !a ? A.required : null, k = w === "error" ? A.error : null, y = w === "success" ? A.success : null, v = typeof g < "u", x = typeof l < "u", [P, N] = j(
4015
- x ? l : ""
4016
- ), E = h || r, Z = ($) => {
4017
- v || N($.target.value), o && o($), m && m($.target.value);
4018
- }, H = ($) => {
4019
- d?.($);
4014
+ const L = "pds-radio-group", $ = l ? T.disabled : null, D = g && !l ? T.required : null, k = M === "error" ? T.error : null, y = M === "success" ? T.success : null, p = typeof v < "u", x = typeof a < "u", [P, N] = j(
4015
+ x ? a : ""
4016
+ ), E = h || r, Z = (_) => {
4017
+ p || N(_.target.value), o && o(_), m && m(_.target.value);
4018
+ }, S = (_) => {
4019
+ d?.(_);
4020
4020
  };
4021
4021
  return /* @__PURE__ */ e.createElement(
4022
4022
  "div",
4023
4023
  {
4024
- className: M([
4024
+ className: w([
4025
4025
  L,
4026
- _,
4026
+ $,
4027
4027
  D,
4028
4028
  k,
4029
4029
  y,
4030
4030
  t ?? ""
4031
4031
  ]),
4032
4032
  style: m2(s),
4033
- ...C
4033
+ ...z
4034
4034
  },
4035
4035
  /* @__PURE__ */ e.createElement("fieldset", { className: `${L}__fieldset`, id: n, ...c }, /* @__PURE__ */ e.createElement(
4036
4036
  V1,
4037
4037
  {
4038
4038
  isLegend: !0,
4039
- disabled: a,
4039
+ disabled: l,
4040
4040
  id: n,
4041
4041
  label: i,
4042
- required: p,
4042
+ required: g,
4043
4043
  showLabel: f,
4044
4044
  tooltipText: u
4045
4045
  }
4046
- ), /* @__PURE__ */ e.createElement("div", { className: `${L}__options` }, z.map(($, F) => /* @__PURE__ */ e.createElement(
4046
+ ), /* @__PURE__ */ e.createElement("div", { className: `${L}__options` }, C.map((_, A) => /* @__PURE__ */ e.createElement(
4047
4047
  "div",
4048
4048
  {
4049
- key: `${n}-option-${F}`,
4049
+ key: `${n}-option-${A}`,
4050
4050
  className: `${L}__option`
4051
4051
  },
4052
4052
  /* @__PURE__ */ e.createElement(
4053
4053
  "input",
4054
4054
  {
4055
- checked: v ? g === $.value : P === $.value,
4056
- disabled: a || $.disabled,
4057
- id: $.id ? $.id : `${n}-option-${F}`,
4055
+ checked: p ? v === _.value : P === _.value,
4056
+ disabled: l || _.disabled,
4057
+ id: _.id ? _.id : `${n}-option-${A}`,
4058
4058
  name: n,
4059
- onBlur: H,
4059
+ onBlur: S,
4060
4060
  onChange: Z,
4061
- required: p,
4061
+ required: g,
4062
4062
  type: "radio",
4063
- value: $.value
4063
+ value: _.value
4064
4064
  }
4065
4065
  ),
4066
- /* @__PURE__ */ e.createElement("label", { htmlFor: $.id ? $.id : `${n}-option-${F}` }, $.label)
4066
+ /* @__PURE__ */ e.createElement("label", { htmlFor: _.id ? _.id : `${n}-option-${A}` }, _.label)
4067
4067
  )))),
4068
4068
  E && /* @__PURE__ */ e.createElement(
4069
4069
  b1,
@@ -4072,15 +4072,15 @@ const _4 = {
4072
4072
  hasValidationMessage: !!h,
4073
4073
  id: n,
4074
4074
  message: E,
4075
- validationStatus: w
4075
+ validationStatus: M
4076
4076
  }
4077
4077
  )
4078
4078
  );
4079
4079
  }, L0 = L1(
4080
4080
  ({
4081
4081
  className: t,
4082
- counterMaxLength: l,
4083
- defaultValue: a,
4082
+ counterMaxLength: a,
4083
+ defaultValue: l,
4084
4084
  disabled: c = !1,
4085
4085
  id: n,
4086
4086
  inputWidth: s,
@@ -4089,16 +4089,16 @@ const _4 = {
4089
4089
  message: d,
4090
4090
  onBlur: o,
4091
4091
  onChange: m,
4092
- onFocus: z,
4093
- placeholder: p,
4092
+ onFocus: C,
4093
+ placeholder: g,
4094
4094
  readonly: f = !1,
4095
4095
  required: u = !1,
4096
4096
  rows: h = 5,
4097
- showLabel: w,
4098
- size: g = "s",
4099
- textareaProps: C,
4097
+ showLabel: M,
4098
+ size: v = "s",
4099
+ textareaProps: z,
4100
4100
  tooltipText: L = null,
4101
- translationStrings: _ = {
4101
+ translationStrings: $ = {
4102
4102
  clearButton: "Clear input text",
4103
4103
  counterOverLimit: "Character limit exceeded by",
4104
4104
  searchShortcut: "Press / to focus the search field",
@@ -4109,31 +4109,31 @@ const _4 = {
4109
4109
  validationMessage: D,
4110
4110
  validationStatus: k,
4111
4111
  value: y,
4112
- ...v
4112
+ ...p
4113
4113
  }, x) => {
4114
- const P = m2(s), N = "pds-textarea", E = i ? "pds-is-resizable" : null, Z = c ? A.disabled : null, H = u && !c ? A.required : null, $ = k === "error" ? A.error : null, F = k === "success" ? A.success : null, W = g !== "s" ? `${N}--${g}` : null, Q = f ? A.readonly : null, U = D || d, l1 = y != null && m !== void 0, s1 = typeof a < "u", [c1, n1] = j(
4115
- s1 ? a : ""
4116
- ), T = y || c1, B = (e1) => {
4117
- l1 || n1(e1.target.value), m && m(e1);
4114
+ const P = m2(s), N = "pds-textarea", E = i ? "pds-is-resizable" : null, Z = c ? T.disabled : null, S = u && !c ? T.required : null, _ = k === "error" ? T.error : null, A = k === "success" ? T.success : null, W = v !== "s" ? `${N}--${v}` : null, Q = f ? T.readonly : null, U = D || d, a1 = y != null && m !== void 0, s1 = typeof l < "u", [c1, n1] = j(
4115
+ s1 ? l : ""
4116
+ ), F = y || c1, B = (e1) => {
4117
+ a1 || n1(e1.target.value), m && m(e1);
4118
4118
  }, X = (e1) => {
4119
4119
  o && o(e1);
4120
4120
  };
4121
4121
  return /* @__PURE__ */ e.createElement(
4122
4122
  "div",
4123
4123
  {
4124
- className: M([
4125
- A.base,
4124
+ className: w([
4125
+ T.base,
4126
4126
  N,
4127
4127
  W,
4128
4128
  Z,
4129
- H,
4130
- $,
4131
- F,
4129
+ S,
4130
+ _,
4131
+ A,
4132
4132
  Q,
4133
4133
  t ?? ""
4134
4134
  ]),
4135
4135
  style: s ? P : null,
4136
- ...v
4136
+ ...p
4137
4137
  },
4138
4138
  /* @__PURE__ */ e.createElement("div", { className: `${N}__inputlabel-wrapper` }, /* @__PURE__ */ e.createElement(
4139
4139
  V1,
@@ -4143,16 +4143,16 @@ const _4 = {
4143
4143
  id: n,
4144
4144
  label: r,
4145
4145
  required: u,
4146
- showLabel: w,
4146
+ showLabel: M,
4147
4147
  tooltipText: L
4148
4148
  }
4149
- ), l && /* @__PURE__ */ e.createElement(
4149
+ ), a && /* @__PURE__ */ e.createElement(
4150
4150
  S2,
4151
4151
  {
4152
- currentLength: T.length,
4152
+ currentLength: F.length,
4153
4153
  id: n,
4154
- maxLength: l,
4155
- overLimitMessage: _.counterOverLimit
4154
+ maxLength: a,
4155
+ overLimitMessage: $.counterOverLimit
4156
4156
  }
4157
4157
  )),
4158
4158
  /* @__PURE__ */ e.createElement("div", { className: `${N}__input-wrapper` }, /* @__PURE__ */ e.createElement(
@@ -4161,19 +4161,19 @@ const _4 = {
4161
4161
  ref: x,
4162
4162
  "aria-describedby": U ? `${n}__message` : null,
4163
4163
  "aria-invalid": k === "error",
4164
- className: M([`${N}--textarea`, E]),
4164
+ className: w([`${N}--textarea`, E]),
4165
4165
  disabled: c,
4166
4166
  id: n,
4167
4167
  name: n,
4168
4168
  onBlur: X,
4169
4169
  onChange: B,
4170
- onFocus: z,
4171
- placeholder: p,
4170
+ onFocus: C,
4171
+ placeholder: g,
4172
4172
  readOnly: f,
4173
4173
  required: u,
4174
4174
  rows: h,
4175
- value: l1 ? y : c1,
4176
- ...C
4175
+ value: a1 ? y : c1,
4176
+ ...z
4177
4177
  }
4178
4178
  )),
4179
4179
  U && /* @__PURE__ */ e.createElement(
@@ -4191,8 +4191,8 @@ const _4 = {
4191
4191
  ), Z4 = () => /* @__PURE__ */ e.createElement("div", { className: "pds-text-input__url-prefix" }, "https://"), b0 = L1(
4192
4192
  ({
4193
4193
  autoComplete: t,
4194
- className: l,
4195
- counterMaxLength: a,
4194
+ className: a,
4195
+ counterMaxLength: l,
4196
4196
  defaultValue: c,
4197
4197
  disabled: n = !1,
4198
4198
  hasClearButton: s = !1,
@@ -4201,20 +4201,20 @@ const _4 = {
4201
4201
  id: d,
4202
4202
  inputProps: o,
4203
4203
  inputWidth: m,
4204
- label: z,
4205
- message: p,
4204
+ label: C,
4205
+ message: g,
4206
4206
  onBlur: f,
4207
4207
  onChange: u,
4208
4208
  onClear: h,
4209
- onFocus: w,
4210
- placeholder: g,
4211
- readonly: C = !1,
4209
+ onFocus: M,
4210
+ placeholder: v,
4211
+ readonly: z = !1,
4212
4212
  required: L = !1,
4213
- searchIcon: _ = "search",
4213
+ searchIcon: $ = "search",
4214
4214
  showLabel: D = !0,
4215
4215
  showVisibilityToggle: k = !1,
4216
4216
  size: y = "s",
4217
- tooltipText: v = null,
4217
+ tooltipText: p = null,
4218
4218
  translationStrings: x = {
4219
4219
  clearButton: "Clear input text",
4220
4220
  counterOverLimit: "Character limit exceeded by",
@@ -4227,12 +4227,12 @@ const _4 = {
4227
4227
  validationMessage: N,
4228
4228
  validationStatus: E,
4229
4229
  value: Z,
4230
- ...H
4231
- }, $) => {
4232
- const F = m2(m), W = "pds-text-input", Q = n ? A.disabled : null, U = L && !n ? A.required : null, l1 = E === "error" ? A.error : null, s1 = E === "success" ? A.success : null, c1 = C ? A.readonly : null, n1 = y !== "s" ? `${W}--${y}` : null, T = r && P === "url" ? `${W}--has-url-prefix` : null;
4230
+ ...S
4231
+ }, _) => {
4232
+ const A = m2(m), W = "pds-text-input", Q = n ? T.disabled : null, U = L && !n ? T.required : null, a1 = E === "error" ? T.error : null, s1 = E === "success" ? T.success : null, c1 = z ? T.readonly : null, n1 = y !== "s" ? `${W}--${y}` : null, F = r && P === "url" ? `${W}--has-url-prefix` : null;
4233
4233
  let B = null;
4234
- P === "search" && (B = "search"), P === "search" && _ === "filter" && (B = "filter"), E === "error" && (B = "error"), E === "success" && (B = "success");
4235
- const X = N || p, e1 = typeof Z < "u", i1 = typeof c < "u", [w1, f1] = j(
4234
+ P === "search" && (B = "search"), P === "search" && $ === "filter" && (B = "filter"), E === "error" && (B = "error"), E === "success" && (B = "success");
4235
+ const X = N || g, e1 = typeof Z < "u", i1 = typeof c < "u", [w1, f1] = j(
4236
4236
  i1 ? c : ""
4237
4237
  ), E1 = Z || w1, O1 = (Y) => {
4238
4238
  if (k && u1 && $1(!1), r && P === "url") {
@@ -4270,30 +4270,30 @@ const _4 = {
4270
4270
  return k && P === "password" && (u1 ? y1 = "text" : y1 = "password"), /* @__PURE__ */ e.createElement(
4271
4271
  "div",
4272
4272
  {
4273
- className: M([
4274
- A.base,
4273
+ className: w([
4274
+ T.base,
4275
4275
  W,
4276
4276
  n1,
4277
4277
  Q,
4278
4278
  U,
4279
- l1,
4279
+ a1,
4280
4280
  s1,
4281
4281
  c1,
4282
- T,
4283
- l ?? ""
4282
+ F,
4283
+ a ?? ""
4284
4284
  ]),
4285
- style: m ? F : null,
4286
- ...H
4285
+ style: m ? A : null,
4286
+ ...S
4287
4287
  },
4288
4288
  /* @__PURE__ */ e.createElement(
4289
4289
  V1,
4290
4290
  {
4291
4291
  disabled: n,
4292
4292
  id: d,
4293
- label: z,
4293
+ label: C,
4294
4294
  required: L,
4295
4295
  showLabel: D,
4296
- tooltipText: v
4296
+ tooltipText: p
4297
4297
  }
4298
4298
  ),
4299
4299
  k && P === "password" && /* @__PURE__ */ e.createElement("div", { "aria-live": "polite", className: "visually-hidden" }, `${x.visibilityStatus} ${u1 ? "visible" : "hidden"}.`),
@@ -4307,7 +4307,7 @@ const _4 = {
4307
4307
  /* @__PURE__ */ e.createElement(
4308
4308
  "input",
4309
4309
  {
4310
- ref: $,
4310
+ ref: _,
4311
4311
  "aria-describedby": X ? `${d}__message` : null,
4312
4312
  "aria-invalid": E === "error" ? !0 : null,
4313
4313
  autoComplete: P === "password" ? "off" : t,
@@ -4317,9 +4317,9 @@ const _4 = {
4317
4317
  name: d,
4318
4318
  onBlur: O1,
4319
4319
  onChange: W1,
4320
- onFocus: w,
4321
- placeholder: g,
4322
- readOnly: C,
4320
+ onFocus: M,
4321
+ placeholder: v,
4322
+ readOnly: z,
4323
4323
  required: L,
4324
4324
  type: y1,
4325
4325
  value: e1 ? Z : w1,
@@ -4353,12 +4353,12 @@ const _4 = {
4353
4353
  shortcutLabel: x.searchShortcut
4354
4354
  }
4355
4355
  ),
4356
- a && P !== "password" && /* @__PURE__ */ e.createElement(
4356
+ l && P !== "password" && /* @__PURE__ */ e.createElement(
4357
4357
  S2,
4358
4358
  {
4359
4359
  currentLength: E1.length,
4360
4360
  id: d,
4361
- maxLength: a,
4361
+ maxLength: l,
4362
4362
  overLimitMessage: x.counterOverLimit
4363
4363
  }
4364
4364
  )
@@ -4377,8 +4377,8 @@ const _4 = {
4377
4377
  }
4378
4378
  ), M0 = ({
4379
4379
  ariaLabel: t,
4380
- children: l,
4381
- className: a,
4380
+ children: a,
4381
+ className: l,
4382
4382
  closeButtonLabel: c = "Close modal",
4383
4383
  contentMaxHeight: n,
4384
4384
  disableOutsideClick: s,
@@ -4388,28 +4388,28 @@ const _4 = {
4388
4388
  },
4389
4389
  size: o = "m",
4390
4390
  title: m,
4391
- ...z
4391
+ ...C
4392
4392
  }) => {
4393
- const p = p1(l), f = p.__unslotted, u = p.footer, h = "pds-modal", w = o !== "m" ? `${h}--${o}` : null, g = n ? {
4393
+ const g = p1(a), f = g.__unslotted, u = g.footer, h = "pds-modal", M = o !== "m" ? `${h}--${o}` : null, v = n ? {
4394
4394
  maxHeight: n,
4395
4395
  paddingInlineEnd: "1rem",
4396
4396
  marginInlineEnd: "-1rem",
4397
4397
  overflowY: "auto"
4398
- } : null, [C, L] = j(r), { closeOverlay: _, openOverlay: D } = d2();
4398
+ } : null, [z, L] = j(r), { closeOverlay: $, openOverlay: D } = d2();
4399
4399
  K(() => {
4400
4400
  L(r);
4401
4401
  }, [r]), K(() => {
4402
- d(C);
4403
- }, [C]), K(() => {
4404
- if (!(!D || !_) && C)
4405
- return D(), () => _();
4406
- }, [C, D, _]);
4407
- const { context: k, floatingStyles: y, refs: v } = H1({
4408
- open: C,
4402
+ d(z);
4403
+ }, [z]), K(() => {
4404
+ if (!(!D || !$) && z)
4405
+ return D(), () => $();
4406
+ }, [z, D, $]);
4407
+ const { context: k, floatingStyles: y, refs: p } = H1({
4408
+ open: z,
4409
4409
  onOpenChange: L
4410
- }), x = $2(k), P = s ? void 0 : F1(k, {
4410
+ }), x = $2(k), P = s ? void 0 : A1(k, {
4411
4411
  outsidePressEvent: "mousedown"
4412
- }), N = B1(k), { getFloatingProps: E } = R1([x, P, N]), { isMounted: Z, styles: H } = _2(k, {
4412
+ }), N = B1(k), { getFloatingProps: E } = R1([x, P, N]), { isMounted: Z, styles: S } = _2(k, {
4413
4413
  duration: {
4414
4414
  open: 300,
4415
4415
  close: 300
@@ -4442,17 +4442,17 @@ const _4 = {
4442
4442
  /* @__PURE__ */ e.createElement(K2, { context: k }, /* @__PURE__ */ e.createElement(
4443
4443
  "div",
4444
4444
  {
4445
- ref: v.setFloating,
4445
+ ref: p.setFloating,
4446
4446
  "aria-label": t || m,
4447
4447
  ...E(),
4448
- className: M([h, w, a]),
4448
+ className: w([h, M, l]),
4449
4449
  style: {
4450
4450
  ...y,
4451
- ...H,
4451
+ ...S,
4452
4452
  position: "relative",
4453
4453
  top: "5%"
4454
4454
  },
4455
- ...z
4455
+ ...C
4456
4456
  },
4457
4457
  i && /* @__PURE__ */ e.createElement("div", { className: `${h}__close-wrapper` }, /* @__PURE__ */ e.createElement(
4458
4458
  G1,
@@ -4463,20 +4463,20 @@ const _4 = {
4463
4463
  }
4464
4464
  )),
4465
4465
  /* @__PURE__ */ e.createElement("div", { className: `${h}__title` }, m),
4466
- /* @__PURE__ */ e.createElement("div", { className: `${h}__content`, style: g }, f),
4466
+ /* @__PURE__ */ e.createElement("div", { className: `${h}__content`, style: v }, f),
4467
4467
  u && /* @__PURE__ */ e.createElement("div", { className: `${h}__footer` }, u)
4468
4468
  ))
4469
4469
  ));
4470
4470
  }, I2 = (t) => {
4471
4471
  if (!t)
4472
4472
  return null;
4473
- for (let l = 0; l < t.length; l++) {
4474
- if (V2(t[l]))
4475
- return typeof t[l].linkContent == "string" ? null : t[l].linkContent;
4476
- if (t[l].links) {
4477
- const a = I2(t[l].links);
4478
- if (a)
4479
- return a;
4473
+ for (let a = 0; a < t.length; a++) {
4474
+ if (V2(t[a]))
4475
+ return typeof t[a].linkContent == "string" ? null : t[a].linkContent;
4476
+ if (t[a].links) {
4477
+ const l = I2(t[a].links);
4478
+ if (l)
4479
+ return l;
4480
4480
  }
4481
4481
  }
4482
4482
  return null;
@@ -4486,49 +4486,49 @@ const _4 = {
4486
4486
  if (V2(t))
4487
4487
  return !0;
4488
4488
  if (t.links) {
4489
- for (let l = 0; l < t.links.length; l++)
4490
- if (S1(t.links[l]))
4489
+ for (let a = 0; a < t.links.length; a++)
4490
+ if (S1(t.links[a]))
4491
4491
  return !0;
4492
4492
  }
4493
4493
  return !1;
4494
- }, T4 = (t, l) => {
4495
- let a = null;
4496
- if (typeof t == "string" && l) {
4497
- const c = l ? l[0].linkContent : null;
4498
- a1(c) && (a = h1(c, {
4494
+ }, F4 = (t, a) => {
4495
+ let l = null;
4496
+ if (typeof t == "string" && a) {
4497
+ const c = a ? a[0].linkContent : null;
4498
+ l1(c) && (l = h1(c, {
4499
4499
  ...typeof t == "string" ? { children: t } : {}
4500
4500
  }));
4501
4501
  } else
4502
- a = t;
4503
- return a;
4504
- }, i2 = (t, l, a, c) => {
4502
+ l = t;
4503
+ return l;
4504
+ }, i2 = (t, a, l, c) => {
4505
4505
  let n = null;
4506
- if (typeof l == "string") {
4506
+ if (typeof a == "string") {
4507
4507
  const s = c ? [
4508
- /* @__PURE__ */ e.createElement("span", { key: l, className: `${t}__item-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${t}__link-icon` }, /* @__PURE__ */ e.createElement(O, { iconName: c, iconSize: "m" })), /* @__PURE__ */ e.createElement("span", { className: `${t}__link-label` }, l))
4508
+ /* @__PURE__ */ e.createElement("span", { key: a, className: `${t}__item-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${t}__link-icon` }, /* @__PURE__ */ e.createElement(O, { iconName: c, iconSize: "m" })), /* @__PURE__ */ e.createElement("span", { className: `${t}__link-label` }, a))
4509
4509
  ] : [
4510
- /* @__PURE__ */ e.createElement("span", { key: l, className: `${t}__item-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${t}__link-label` }, l))
4510
+ /* @__PURE__ */ e.createElement("span", { key: a, className: `${t}__item-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${t}__link-label` }, a))
4511
4511
  ];
4512
- if (a) {
4513
- const i = a[0].linkContent;
4514
- a1(i) && (n = h1(i, {
4515
- ...typeof l == "string" ? { children: s } : {}
4512
+ if (l) {
4513
+ const i = l[0].linkContent;
4514
+ l1(i) && (n = h1(i, {
4515
+ ...typeof a == "string" ? { children: s } : {}
4516
4516
  }));
4517
4517
  } else
4518
4518
  n = null;
4519
4519
  }
4520
- return a1(l) && (c ? n = h1(
4521
- l,
4522
- Object.assign({}, l.props, {
4520
+ return l1(a) && (c ? n = h1(
4521
+ a,
4522
+ Object.assign({}, a.props, {
4523
4523
  children: [
4524
- /* @__PURE__ */ e.createElement("span", { key: c, className: `${t}__item-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${t}__link-icon` }, /* @__PURE__ */ e.createElement(O, { iconName: c, iconSize: "m" })), /* @__PURE__ */ e.createElement("span", { className: `${t}__link-label` }, l.props.children))
4524
+ /* @__PURE__ */ e.createElement("span", { key: c, className: `${t}__item-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${t}__link-icon` }, /* @__PURE__ */ e.createElement(O, { iconName: c, iconSize: "m" })), /* @__PURE__ */ e.createElement("span", { className: `${t}__link-label` }, a.props.children))
4525
4525
  ]
4526
4526
  })
4527
- ) : n = l), n;
4527
+ ) : n = a), n;
4528
4528
  }, w0 = ({
4529
4529
  ariaLabel: t,
4530
- className: l,
4531
- menuItems: a,
4530
+ className: a,
4531
+ menuItems: l,
4532
4532
  size: c = "s",
4533
4533
  ...n
4534
4534
  }) => {
@@ -4537,24 +4537,24 @@ const _4 = {
4537
4537
  i && (s = i.isMobile);
4538
4538
  const r = t1(null), d = "pds-button-nav", o = s ? `${d}--isMobile` : null, m = `${d}--${c}`;
4539
4539
  K(() => {
4540
- const h = (w) => {
4540
+ const h = (M) => {
4541
4541
  if (s) return;
4542
- const g = r.current;
4543
- if (!g) return;
4544
- const C = Array.from(
4545
- g.querySelectorAll('a, button, [tabindex]:not([tabindex="-1"])')
4542
+ const v = r.current;
4543
+ if (!v) return;
4544
+ const z = Array.from(
4545
+ v.querySelectorAll('a, button, [tabindex]:not([tabindex="-1"])')
4546
4546
  );
4547
- if (C.length === 0) return;
4548
- const L = document.activeElement, _ = C.indexOf(L);
4549
- if (_ !== -1) {
4550
- if (w.key === "ArrowRight") {
4551
- w.preventDefault();
4552
- const D = (_ + 1) % C.length;
4553
- C[D].focus();
4554
- } else if (w.key === "ArrowLeft") {
4555
- w.preventDefault();
4556
- const D = (_ - 1 + C.length) % C.length;
4557
- C[D].focus();
4547
+ if (z.length === 0) return;
4548
+ const L = document.activeElement, $ = z.indexOf(L);
4549
+ if ($ !== -1) {
4550
+ if (M.key === "ArrowRight") {
4551
+ M.preventDefault();
4552
+ const D = ($ + 1) % z.length;
4553
+ z[D].focus();
4554
+ } else if (M.key === "ArrowLeft") {
4555
+ M.preventDefault();
4556
+ const D = ($ - 1 + z.length) % z.length;
4557
+ z[D].focus();
4558
4558
  }
4559
4559
  }
4560
4560
  };
@@ -4562,27 +4562,27 @@ const _4 = {
4562
4562
  document.removeEventListener("keydown", h);
4563
4563
  };
4564
4564
  }, [s]);
4565
- const z = ({ isActive: h, linkContent: w }) => {
4566
- const g = `${d}__item`;
4565
+ const C = ({ isActive: h, linkContent: M }) => {
4566
+ const v = `${d}__item`;
4567
4567
  return /* @__PURE__ */ e.createElement(
4568
4568
  "li",
4569
4569
  {
4570
- className: M([
4571
- g,
4572
- h ? `${g}--active` : null
4570
+ className: w([
4571
+ v,
4572
+ h ? `${v}--active` : null
4573
4573
  ])
4574
4574
  },
4575
- w
4575
+ M
4576
4576
  );
4577
- }, p = a.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${d}__menu` }, a.map((h, w) => /* @__PURE__ */ e.createElement(
4578
- z,
4577
+ }, g = l.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${d}__menu` }, l.map((h, M) => /* @__PURE__ */ e.createElement(
4578
+ C,
4579
4579
  {
4580
- key: w,
4580
+ key: M,
4581
4581
  isActive: S1(h),
4582
4582
  linkContent: h.linkContent
4583
4583
  }
4584
4584
  ))) : null, f = [];
4585
- a.map((h) => {
4585
+ l.map((h) => {
4586
4586
  h.linkContent && (S1(h) ? f.unshift({
4587
4587
  linkContent: h.linkContent,
4588
4588
  isLink: !0
@@ -4605,104 +4605,104 @@ const _4 = {
4605
4605
  {
4606
4606
  ref: r,
4607
4607
  "aria-label": t,
4608
- className: M([
4608
+ className: w([
4609
4609
  d,
4610
4610
  m,
4611
4611
  o,
4612
- l ?? ""
4612
+ a ?? ""
4613
4613
  ]),
4614
4614
  ...n
4615
4615
  },
4616
- s ? u : p
4616
+ s ? u : g
4617
4617
  );
4618
- }, A4 = ({
4618
+ }, T4 = ({
4619
4619
  className: t,
4620
- headingText: l,
4621
- menuItems: a,
4620
+ headingText: a,
4621
+ menuItems: l,
4622
4622
  selectTextFallback: c = "Navigate to...",
4623
4623
  ...n
4624
4624
  }) => {
4625
- const s = "pds-dropdown-menu", [i, r] = j(!1), [d, o] = j(null), m = I2(a), z = m ? m.props.children : c, p = /* @__PURE__ */ e.createElement(
4625
+ const s = "pds-dropdown-menu", [i, r] = j(!1), [d, o] = j(null), m = I2(l), C = m ? m.props.children : c, g = /* @__PURE__ */ e.createElement(
4626
4626
  O,
4627
4627
  {
4628
4628
  className: `${s}__active-icon`,
4629
4629
  iconName: "check",
4630
4630
  iconSize: "m"
4631
4631
  }
4632
- ), f = (H) => {
4633
- H.key === "Enter" && L.current[d].querySelector("a")?.click();
4634
- }, u = (H) => {
4635
- H.target.nodeName === "A" && r(!1);
4632
+ ), f = (S) => {
4633
+ S.key === "Enter" && L.current[d].querySelector("a")?.click();
4634
+ }, u = (S) => {
4635
+ S.target.nodeName === "A" && r(!1);
4636
4636
  };
4637
4637
  K(() => {
4638
4638
  if (i) {
4639
- const H = document.querySelector(".pds-dropdown-menu__dropdown");
4640
- return H.addEventListener("click", u), () => {
4641
- H.removeEventListener("click", u);
4639
+ const S = document.querySelector(".pds-dropdown-menu__dropdown");
4640
+ return S.addEventListener("click", u), () => {
4641
+ S.removeEventListener("click", u);
4642
4642
  };
4643
4643
  }
4644
4644
  }, [i]);
4645
4645
  const h = ({
4646
- item: H,
4647
- level: $
4646
+ item: S,
4647
+ level: _
4648
4648
  }) => {
4649
- const F = T4(
4650
- H.linkContent,
4651
- H.links
4649
+ const A = F4(
4650
+ S.linkContent,
4651
+ S.links
4652
4652
  );
4653
4653
  return {
4654
- ...H,
4655
- level: $,
4654
+ ...S,
4655
+ level: _,
4656
4656
  linkContent: h1(
4657
- F,
4658
- Object.assign({}, F.props, {
4657
+ A,
4658
+ Object.assign({}, A.props, {
4659
4659
  tabIndex: -1
4660
4660
  })
4661
4661
  )
4662
4662
  };
4663
- }, w = (H) => {
4664
- const $ = [];
4665
- return H.forEach((F) => {
4666
- F.links ? ($.push(h({ item: F, level: "top-level" })), F.links.forEach((W) => {
4667
- W.links ? ($.push(h({ item: W, level: "second-level" })), W.links.forEach((Q) => {
4668
- Q.links && ($.push(
4663
+ }, M = (S) => {
4664
+ const _ = [];
4665
+ return S.forEach((A) => {
4666
+ A.links ? (_.push(h({ item: A, level: "top-level" })), A.links.forEach((W) => {
4667
+ W.links ? (_.push(h({ item: W, level: "second-level" })), W.links.forEach((Q) => {
4668
+ Q.links && (_.push(
4669
4669
  h({ item: Q, level: "third-level" })
4670
4670
  ), Q.links.forEach((U) => {
4671
- $.push(
4671
+ _.push(
4672
4672
  h({ item: U, level: "fourth-level" })
4673
4673
  );
4674
- })), $.push(
4674
+ })), _.push(
4675
4675
  h({ item: Q, level: "third-level" })
4676
4676
  );
4677
- })) : $.push(h({ item: W, level: "second-level" }));
4678
- })) : $.push(h({ item: F, level: "top-level" }));
4679
- }), $;
4680
- }, { context: g, refs: C } = H1({
4677
+ })) : _.push(h({ item: W, level: "second-level" }));
4678
+ })) : _.push(h({ item: A, level: "top-level" }));
4679
+ }), _;
4680
+ }, { context: v, refs: z } = H1({
4681
4681
  placement: "bottom-start",
4682
4682
  open: i,
4683
4683
  onOpenChange: r,
4684
- whileElementsMounted: A1
4685
- }), L = t1([]), _ = Y2(g, {
4684
+ whileElementsMounted: T1
4685
+ }), L = t1([]), $ = Y2(v, {
4686
4686
  listRef: L,
4687
4687
  activeIndex: d,
4688
4688
  onNavigate: o,
4689
4689
  loop: !0,
4690
4690
  openOnArrowKeyDown: !0,
4691
4691
  focusItemOnHover: !0
4692
- }), D = $2(g, { event: "mousedown" }), k = F1(g), y = B1(g, { role: "menu" }), v = X2(g, {
4692
+ }), D = $2(v, { event: "mousedown" }), k = A1(v), y = B1(v, { role: "menu" }), p = X2(v, {
4693
4693
  listRef: L,
4694
4694
  activeIndex: d,
4695
4695
  selectedIndex: null,
4696
- onMatch: (H) => {
4697
- i || r(!0), o(H);
4696
+ onMatch: (S) => {
4697
+ i || r(!0), o(S);
4698
4698
  },
4699
- findMatch: (H, $) => {
4700
- const F = $.toLowerCase();
4701
- return H.find((W) => (W?.textContent?.trim().toLowerCase() ?? "").startsWith(F));
4699
+ findMatch: (S, _) => {
4700
+ const A = _.toLowerCase();
4701
+ return S.find((W) => (W?.textContent?.trim().toLowerCase() ?? "").startsWith(A));
4702
4702
  }
4703
4703
  }), { getFloatingProps: x, getItemProps: P, getReferenceProps: N } = R1(
4704
- [k, y, D, _, v]
4705
- ), { isMounted: E, styles: Z } = _2(g, {
4704
+ [k, y, D, $, p]
4705
+ ), { isMounted: E, styles: Z } = _2(v, {
4706
4706
  duration: {
4707
4707
  open: 300,
4708
4708
  close: 300
@@ -4717,15 +4717,15 @@ const _4 = {
4717
4717
  opacity: 0
4718
4718
  }
4719
4719
  });
4720
- return /* @__PURE__ */ e.createElement("div", { className: M([s, t ?? ""]), ...n }, l && /* @__PURE__ */ e.createElement("h2", { className: `${s}__heading pds-ts-m` }, l), /* @__PURE__ */ e.createElement(
4720
+ return /* @__PURE__ */ e.createElement("div", { className: w([s, t ?? ""]), ...n }, a && /* @__PURE__ */ e.createElement("h2", { className: `${s}__heading pds-ts-m` }, a), /* @__PURE__ */ e.createElement(
4721
4721
  "button",
4722
4722
  {
4723
- ref: C.setReference,
4723
+ ref: z.setReference,
4724
4724
  className: `${s}__trigger`,
4725
4725
  type: "button",
4726
4726
  ...N()
4727
4727
  },
4728
- /* @__PURE__ */ e.createElement("span", { className: `${s}__active-label` }, z),
4728
+ /* @__PURE__ */ e.createElement("span", { className: `${s}__active-label` }, C),
4729
4729
  /* @__PURE__ */ e.createElement(
4730
4730
  O,
4731
4731
  {
@@ -4737,7 +4737,7 @@ const _4 = {
4737
4737
  ), E && /* @__PURE__ */ e.createElement(
4738
4738
  "ul",
4739
4739
  {
4740
- ref: C.setFloating,
4740
+ ref: z.setFloating,
4741
4741
  className: `${s}__dropdown ${s}__menu ${s}__menu--top-level`,
4742
4742
  style: {
4743
4743
  ...Z,
@@ -4745,23 +4745,23 @@ const _4 = {
4745
4745
  },
4746
4746
  ...x()
4747
4747
  },
4748
- w(a).map((H, $) => /* @__PURE__ */ e.createElement(
4748
+ M(l).map((S, _) => /* @__PURE__ */ e.createElement(
4749
4749
  "li",
4750
4750
  {
4751
- key: $,
4752
- ref: (F) => {
4753
- L.current[$] = F;
4751
+ key: _,
4752
+ ref: (A) => {
4753
+ L.current[_] = A;
4754
4754
  },
4755
- className: `${s}__item ${s}__item--${H.level} ${H.isActive === !0 ? `${s}__item--active` : ""}`,
4755
+ className: `${s}__item ${s}__item--${S.level} ${S.isActive === !0 ? `${s}__item--active` : ""}`,
4756
4756
  onKeyDown: f,
4757
- tabIndex: d === $ ? 0 : -1,
4757
+ tabIndex: d === _ ? 0 : -1,
4758
4758
  ...P()
4759
4759
  },
4760
- H.linkContent,
4761
- H.isActive === !0 && p
4760
+ S.linkContent,
4761
+ S.isActive === !0 && g
4762
4762
  ))
4763
4763
  ));
4764
- }, F4 = /* @__PURE__ */ e.createElement(
4764
+ }, A4 = /* @__PURE__ */ e.createElement(
4765
4765
  "svg",
4766
4766
  {
4767
4767
  "aria-label": "Pantheon",
@@ -4773,18 +4773,12 @@ const _4 = {
4773
4773
  viewBox: "0 0 165 50",
4774
4774
  xmlns: "http://www.w3.org/2000/svg"
4775
4775
  },
4776
- /* @__PURE__ */ e.createElement(
4777
- "path",
4778
- {
4779
- d: "M2.2 0L6.6 10.6H1L2.8 15.2H14.2L2.2 0Z",
4780
- fill: "var(--pds-color-brand-secondary-default)"
4781
- }
4782
- ),
4776
+ /* @__PURE__ */ e.createElement("path", { d: "M2.2 0L6.6 10.6H1L2.8 15.2H14.2L2.2 0Z", fill: "#FFDC28" }),
4783
4777
  /* @__PURE__ */ e.createElement(
4784
4778
  "path",
4785
4779
  {
4786
4780
  d: "M17.1 38.5L15.2 33.9H12.6L7.20001 20.8H4.90001L10.3 33.9H3.70001L15.9 49.1L11.5 38.5H17.1Z",
4787
- fill: "var(--pds-color-brand-secondary-default)"
4781
+ fill: "#FFDC28"
4788
4782
  }
4789
4783
  ),
4790
4784
  /* @__PURE__ */ e.createElement(
@@ -4911,18 +4905,12 @@ const _4 = {
4911
4905
  viewBox: "0 0 20 50",
4912
4906
  xmlns: "http://www.w3.org/2000/svg"
4913
4907
  },
4914
- /* @__PURE__ */ e.createElement(
4915
- "path",
4916
- {
4917
- d: "M2.2 0L6.6 10.6H1L2.8 15.2H14.2L2.2 0Z",
4918
- fill: "var(--pds-color-brand-secondary-default)"
4919
- }
4920
- ),
4908
+ /* @__PURE__ */ e.createElement("path", { d: "M2.2 0L6.6 10.6H1L2.8 15.2H14.2L2.2 0Z", fill: "#FFDC28" }),
4921
4909
  /* @__PURE__ */ e.createElement(
4922
4910
  "path",
4923
4911
  {
4924
4912
  d: "M17.1 38.5L15.2 33.9H12.6L7.20001 20.8H4.90001L10.3 33.9H3.70001L15.9 49.1L11.5 38.5H17.1Z",
4925
- fill: "var(--pds-color-brand-secondary-default)"
4913
+ fill: "#FFDC28"
4926
4914
  }
4927
4915
  ),
4928
4916
  /* @__PURE__ */ e.createElement(
@@ -5051,17 +5039,17 @@ const _4 = {
5051
5039
  )
5052
5040
  ), R4 = ({
5053
5041
  className: t,
5054
- colorType: l = "default",
5055
- displayType: a = "full",
5042
+ colorType: a = "default",
5043
+ displayType: l = "full",
5056
5044
  linkContent: c,
5057
5045
  subBrand: n,
5058
5046
  ...s
5059
5047
  }) => {
5060
- const i = "pds-pantheon-logo", r = a && a !== "full" ? `${i}--${a}` : null, d = l && l !== "default" ? `${i}--${l}` : null;
5048
+ const i = "pds-pantheon-logo", r = l && l !== "full" ? `${i}--${l}` : null, d = a && a !== "default" ? `${i}--${a}` : null;
5061
5049
  let o;
5062
- switch (a) {
5050
+ switch (l) {
5063
5051
  case "full":
5064
- o = F4;
5052
+ o = A4;
5065
5053
  break;
5066
5054
  case "icon":
5067
5055
  o = s2;
@@ -5075,8 +5063,8 @@ const _4 = {
5075
5063
  case "sub-brand-small":
5076
5064
  o = s2;
5077
5065
  }
5078
- const m = a1(c) && typeof c.props.children == "string" ? c.props.children : "", z = a1(c) ? c.type : null, p = a1(c) && z ? /* @__PURE__ */ e.createElement(
5079
- z,
5066
+ const m = l1(c) && typeof c.props.children == "string" ? c.props.children : "", C = l1(c) ? c.type : null, g = l1(c) && C ? /* @__PURE__ */ e.createElement(
5067
+ C,
5080
5068
  {
5081
5069
  ...Object.assign({}, c.props, {
5082
5070
  children: o,
@@ -5087,7 +5075,7 @@ const _4 = {
5087
5075
  return /* @__PURE__ */ e.createElement(
5088
5076
  "div",
5089
5077
  {
5090
- className: M([
5078
+ className: w([
5091
5079
  i,
5092
5080
  r,
5093
5081
  d,
@@ -5095,31 +5083,31 @@ const _4 = {
5095
5083
  ]),
5096
5084
  ...s
5097
5085
  },
5098
- c ? p : o,
5086
+ c ? g : o,
5099
5087
  n && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: "pds-pantheon-logo__separator" }), /* @__PURE__ */ e.createElement("div", { className: "pds-pantheon-logo__sub-brand-wordmark" }, n))
5100
5088
  );
5101
5089
  }, q4 = ({
5102
5090
  icon: t,
5103
- isActive: l,
5104
- isSidebarCollapsed: a,
5091
+ isActive: a,
5092
+ isSidebarCollapsed: l,
5105
5093
  labels: c,
5106
5094
  linkContent: n,
5107
5095
  links: s
5108
5096
  }) => {
5109
- const i = "pds-side-nav-global", r = `${i}__item`, d = `${i}__menu`, o = /* @__PURE__ */ e.createElement("div", { className: `${r}-wrapper` }, i2(i, n, s, t)), m = (v, x) => /* @__PURE__ */ e.createElement(
5097
+ const i = "pds-side-nav-global", r = `${i}__item`, d = `${i}__menu`, o = /* @__PURE__ */ e.createElement("div", { className: `${r}-wrapper` }, i2(i, n, s, t)), m = (p, x) => /* @__PURE__ */ e.createElement(
5110
5098
  "ul",
5111
5099
  {
5112
- className: M([
5100
+ className: w([
5113
5101
  d,
5114
5102
  `${d}--${x}`,
5115
- l ? `${d}--expanded` : null
5103
+ a ? `${d}--expanded` : null
5116
5104
  ])
5117
5105
  },
5118
- v.map((P, N) => /* @__PURE__ */ e.createElement(
5106
+ p.map((P, N) => /* @__PURE__ */ e.createElement(
5119
5107
  "li",
5120
5108
  {
5121
5109
  key: N,
5122
- className: M([
5110
+ className: w([
5123
5111
  r,
5124
5112
  `${r}--${x}`,
5125
5113
  S1(P) ? `${r}--active` : null
@@ -5127,32 +5115,32 @@ const _4 = {
5127
5115
  },
5128
5116
  P.linkContent
5129
5117
  ))
5130
- ), [z, p] = j(!1), f = t1(z), { context: u, floatingStyles: h, refs: w } = H1({
5118
+ ), [C, g] = j(!1), f = t1(C), { context: u, floatingStyles: h, refs: M } = H1({
5131
5119
  placement: "right-start",
5132
- open: z,
5133
- onOpenChange: p,
5120
+ open: C,
5121
+ onOpenChange: g,
5134
5122
  middleware: [M2(8), r2(), w2()],
5135
- whileElementsMounted: A1
5123
+ whileElementsMounted: T1
5136
5124
  });
5137
5125
  K(() => {
5138
- if (f.current && !z && a && w.reference.current) {
5139
- const v = w.reference.current;
5140
- v instanceof HTMLElement && v.querySelector("a")?.focus();
5126
+ if (f.current && !C && l && M.reference.current) {
5127
+ const p = M.reference.current;
5128
+ p instanceof HTMLElement && p.querySelector("a")?.focus();
5141
5129
  }
5142
- f.current = z;
5143
- }, [z, a, w.reference]);
5144
- const g = E2(u, {
5130
+ f.current = C;
5131
+ }, [C, l, M.reference]);
5132
+ const v = E2(u, {
5145
5133
  move: !1,
5146
5134
  delay: { open: 100, close: 0 },
5147
5135
  handleClose: Q2()
5148
- }), C = F1(u), L = B1(u, { role: "menu" }), { getFloatingProps: _, getReferenceProps: D } = R1([
5149
- g,
5150
- C,
5136
+ }), z = A1(u), L = B1(u, { role: "menu" }), { getFloatingProps: $, getReferenceProps: D } = R1([
5137
+ v,
5138
+ z,
5151
5139
  L
5152
- ]), k = (v) => {
5153
- a && s && (v.key === "ArrowDown" || v.key === "ArrowRight" || v.key === " " || v.key === "Spacebar") && (v.preventDefault(), p(!0));
5154
- }, y = (v) => {
5155
- const x = v.currentTarget, P = x.parentElement?.nextElementSibling;
5140
+ ]), k = (p) => {
5141
+ l && s && (p.key === "ArrowDown" || p.key === "ArrowRight" || p.key === " " || p.key === "Spacebar") && (p.preventDefault(), g(!0));
5142
+ }, y = (p) => {
5143
+ const x = p.currentTarget, P = x.parentElement?.nextElementSibling;
5156
5144
  if (!P) return;
5157
5145
  const N = x.getAttribute("aria-expanded") === "false";
5158
5146
  x.classList.toggle(`${i}__toggle--expanded`, N), x.setAttribute("aria-expanded", N ? "true" : "false"), P.classList.toggle(`${d}--expanded`, N);
@@ -5160,13 +5148,13 @@ const _4 = {
5160
5148
  return /* @__PURE__ */ e.createElement(
5161
5149
  "li",
5162
5150
  {
5163
- ref: a ? w.setReference : null,
5164
- className: M([
5151
+ ref: l ? M.setReference : null,
5152
+ className: w([
5165
5153
  r,
5166
5154
  `${r}--top-level`,
5167
5155
  s ? `${r}--has-children` : null,
5168
- a ? `${r}--collapsed` : null,
5169
- l ? `${r}--active` : null
5156
+ l ? `${r}--collapsed` : null,
5157
+ a ? `${r}--active` : null
5170
5158
  ]),
5171
5159
  ...D(),
5172
5160
  onKeyDown: k
@@ -5176,30 +5164,30 @@ const _4 = {
5176
5164
  n,
5177
5165
  s,
5178
5166
  t
5179
- ), !a && /* @__PURE__ */ e.createElement(
5167
+ ), !l && /* @__PURE__ */ e.createElement(
5180
5168
  "button",
5181
5169
  {
5182
- "aria-expanded": l,
5183
- className: M([
5170
+ "aria-expanded": a,
5171
+ className: w([
5184
5172
  `${i}__toggle`,
5185
- l ? `${i}__toggle--expanded` : null
5173
+ a ? `${i}__toggle--expanded` : null
5186
5174
  ]),
5187
5175
  onClick: y,
5188
5176
  type: "button"
5189
5177
  },
5190
5178
  /* @__PURE__ */ e.createElement(O, { iconName: "angleDown", iconSize: "m" }),
5191
5179
  /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${c.toggle} ${t2(n)} ${c.submenu}`)
5192
- )), !a && m(s, "second-level"), a && z && /* @__PURE__ */ e.createElement(
5180
+ )), !l && m(s, "second-level"), l && C && /* @__PURE__ */ e.createElement(
5193
5181
  "div",
5194
5182
  {
5195
- ref: w.setFloating,
5183
+ ref: M.setFloating,
5196
5184
  className: `${i}__flyout`,
5197
5185
  style: h,
5198
- ..._()
5186
+ ...$()
5199
5187
  },
5200
5188
  /* @__PURE__ */ e.createElement("div", { className: `${i}__flyout-heading` }, t2(n)),
5201
5189
  m(s, "second-level-flyout")
5202
- )) : /* @__PURE__ */ e.createElement(e.Fragment, null, a ? /* @__PURE__ */ e.createElement(
5190
+ )) : /* @__PURE__ */ e.createElement(e.Fragment, null, l ? /* @__PURE__ */ e.createElement(
5203
5191
  I1,
5204
5192
  {
5205
5193
  content: t2(n),
@@ -5214,8 +5202,8 @@ const _4 = {
5214
5202
  );
5215
5203
  }, E0 = ({
5216
5204
  ariaLabel: t,
5217
- className: l,
5218
- hasLogo: a,
5205
+ className: a,
5206
+ hasLogo: l,
5219
5207
  isSidebarCollapsed: c,
5220
5208
  labels: n = {
5221
5209
  submenu: "submenu",
@@ -5226,7 +5214,7 @@ const _4 = {
5226
5214
  mobileMenuSelectTextFallback: r = "Navigate to...",
5227
5215
  ...d
5228
5216
  }) => {
5229
- const o = "pds-side-nav-global", m = c ? `${o}--collapsed` : `${o}--expanded`, z = /* @__PURE__ */ e.createElement(e.Fragment, null, a && /* @__PURE__ */ e.createElement("div", { className: `${o}__logo-wrapper` }, /* @__PURE__ */ e.createElement(
5217
+ const o = "pds-side-nav-global", m = c ? `${o}--collapsed` : `${o}--expanded`, C = /* @__PURE__ */ e.createElement(e.Fragment, null, l && /* @__PURE__ */ e.createElement("div", { className: `${o}__logo-wrapper` }, /* @__PURE__ */ e.createElement(
5230
5218
  R4,
5231
5219
  {
5232
5220
  className: `${o}__logo`,
@@ -5244,7 +5232,7 @@ const _4 = {
5244
5232
  linkContent: u.linkContent,
5245
5233
  links: u.links
5246
5234
  }
5247
- )))), p = i.map((u) => ({
5235
+ )))), g = i.map((u) => ({
5248
5236
  ...u,
5249
5237
  linkContent: i2(
5250
5238
  o,
@@ -5253,10 +5241,10 @@ const _4 = {
5253
5241
  u.icon
5254
5242
  )
5255
5243
  })), f = /* @__PURE__ */ e.createElement(
5256
- A4,
5244
+ T4,
5257
5245
  {
5258
5246
  className: `${o}__dropdown-menu`,
5259
- menuItems: p,
5247
+ menuItems: g,
5260
5248
  selectTextFallback: r
5261
5249
  }
5262
5250
  );
@@ -5264,10 +5252,10 @@ const _4 = {
5264
5252
  "nav",
5265
5253
  {
5266
5254
  "aria-label": t,
5267
- className: M([o, m, l]),
5255
+ className: w([o, m, a]),
5268
5256
  ...d
5269
5257
  },
5270
- z,
5258
+ C,
5271
5259
  f
5272
5260
  );
5273
5261
  }, G4 = {
@@ -5275,84 +5263,84 @@ const _4 = {
5275
5263
  warning: "triangleExclamation",
5276
5264
  critical: "diamondExclamation",
5277
5265
  discovery: "bullhorn"
5278
- }, a2 = 200, W4 = 50, $0 = ({
5266
+ }, l2 = 200, W4 = 50, $0 = ({
5279
5267
  banners: t,
5280
- className: l,
5281
- dataContext: a = "product",
5268
+ className: a,
5269
+ dataContext: l = "product",
5282
5270
  dismissLabel: c = "Dismiss",
5283
5271
  labelNext: n = "Go to next message",
5284
5272
  labelPrevious: s = "Go to previous message",
5285
5273
  typeLabels: i = { ...h2, neutral: "Notice" },
5286
5274
  ...r
5287
5275
  }) => {
5288
- const d = a === "marketing", [o, m] = j(t), [z, p] = j(null), [f, u] = j(null), [h, w] = j({});
5276
+ const d = l === "marketing", [o, m] = j(t), [C, g] = j(null), [f, u] = j(null), [h, M] = j({});
5289
5277
  K(() => {
5290
5278
  m(t);
5291
5279
  }, [t]);
5292
- const g = o.length;
5293
- if (g === 0)
5280
+ const v = o.length;
5281
+ if (v === 0)
5294
5282
  return null;
5295
- const C = "pds-banner", L = g > 1 ? `${C}-group--multiple` : null, _ = {
5296
- critical: `${C}--critical`,
5297
- discovery: `${C}--discovery`,
5298
- info: `${C}--info`,
5299
- neutral: `${C}--neutral`,
5300
- warning: `${C}--warning`
5301
- }, D = o[0].type, k = D ? `${C}-group--${D}` : null, y = (E) => Y1 - E, v = (E) => E === 0 ? 0 : -1, x = () => {
5302
- p(o[0].id), setTimeout(() => {
5283
+ const z = "pds-banner", L = v > 1 ? `${z}-group--multiple` : null, $ = {
5284
+ critical: `${z}--critical`,
5285
+ discovery: `${z}--discovery`,
5286
+ info: `${z}--info`,
5287
+ neutral: `${z}--neutral`,
5288
+ warning: `${z}--warning`
5289
+ }, D = o[0].type, k = D ? `${z}-group--${D}` : null, y = (E) => Y1 - E, p = (E) => E === 0 ? 0 : -1, x = () => {
5290
+ g(o[0].id), setTimeout(() => {
5303
5291
  m((E) => [
5304
5292
  ...E.slice(1),
5305
5293
  E[0]
5306
- ]), p(null);
5307
- }, a2);
5294
+ ]), g(null);
5295
+ }, l2);
5308
5296
  }, P = () => {
5309
- w({
5297
+ M({
5310
5298
  [o[0].id]: Y1 + 2,
5311
- [o[g - 1].id]: Y1 + 1
5299
+ [o[v - 1].id]: Y1 + 1
5312
5300
  }), setTimeout(() => {
5313
- p(o[0].id);
5301
+ g(o[0].id);
5314
5302
  }, W4), setTimeout(() => {
5315
5303
  m((E) => [
5316
5304
  E[E.length - 1],
5317
5305
  ...E.slice(0, E.length - 1)
5318
- ]), p(null), w({});
5319
- }, a2);
5306
+ ]), g(null), M({});
5307
+ }, l2);
5320
5308
  }, N = (E, Z) => {
5321
- const { iconName: H, id: $, isDismissible: F, message: W, onDismiss: Q, type: U } = E, l1 = U === "critical" ? "alert" : "status", s1 = `${i[U]}: `, c1 = (T) => {
5322
- T.preventDefault(), u($), setTimeout(() => {
5309
+ const { iconName: S, id: _, isDismissible: A, message: W, onDismiss: Q, type: U } = E, a1 = U === "critical" ? "alert" : "status", s1 = `${i[U]}: `, c1 = (F) => {
5310
+ F.preventDefault(), u(_), setTimeout(() => {
5323
5311
  Q?.(), u(null), m((B) => B.filter(
5324
- (e1) => e1.id !== $
5312
+ (e1) => e1.id !== _
5325
5313
  ));
5326
- }, a2);
5327
- }, n1 = h[$] ?? y(Z);
5314
+ }, l2);
5315
+ }, n1 = h[_] ?? y(Z);
5328
5316
  return /* @__PURE__ */ e.createElement(
5329
5317
  "div",
5330
5318
  {
5331
- key: $,
5332
- className: M([
5333
- C,
5334
- _[U],
5335
- z === $ ? `${C}--fading` : null,
5336
- f === $ ? `${C}--dismissing` : null
5319
+ key: _,
5320
+ className: w([
5321
+ z,
5322
+ $[U],
5323
+ C === _ ? `${z}--fading` : null,
5324
+ f === _ ? `${z}--dismissing` : null
5337
5325
  ]),
5338
- id: $,
5339
- role: l1,
5326
+ id: _,
5327
+ role: a1,
5340
5328
  style: { zIndex: n1 }
5341
5329
  },
5342
- /* @__PURE__ */ e.createElement("div", { className: `${C}__content` }, /* @__PURE__ */ e.createElement(
5330
+ /* @__PURE__ */ e.createElement("div", { className: `${z}__content` }, /* @__PURE__ */ e.createElement(
5343
5331
  O,
5344
5332
  {
5345
- className: `${C}__icon ${C}__icon--${E.type}`,
5346
- iconName: U === "neutral" ? H : G4[U],
5333
+ className: `${z}__icon ${z}__icon--${E.type}`,
5334
+ iconName: U === "neutral" ? S : G4[U],
5347
5335
  iconSize: d ? "l" : "m"
5348
5336
  }
5349
- ), /* @__PURE__ */ e.createElement("div", { className: `${C}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, s1, " "), W)),
5350
- F && /* @__PURE__ */ e.createElement(
5337
+ ), /* @__PURE__ */ e.createElement("div", { className: `${z}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, s1, " "), W)),
5338
+ A && /* @__PURE__ */ e.createElement(
5351
5339
  "button",
5352
5340
  {
5353
- className: `${C}__dismiss-button`,
5341
+ className: `${z}__dismiss-button`,
5354
5342
  onClick: c1,
5355
- tabIndex: v(Z),
5343
+ tabIndex: p(Z),
5356
5344
  type: "button"
5357
5345
  },
5358
5346
  c
@@ -5362,44 +5350,44 @@ const _4 = {
5362
5350
  return /* @__PURE__ */ e.createElement(
5363
5351
  "div",
5364
5352
  {
5365
- className: M([
5366
- `${C}-group`,
5353
+ className: w([
5354
+ `${z}-group`,
5367
5355
  k,
5368
5356
  L,
5369
- l ?? ""
5357
+ a ?? ""
5370
5358
  ]),
5371
- "data-context": a,
5359
+ "data-context": l,
5372
5360
  ...r
5373
5361
  },
5374
- g > 1 ? /* @__PURE__ */ e.createElement("div", { className: `${C}__navigation` }, /* @__PURE__ */ e.createElement(
5375
- T1,
5362
+ v > 1 ? /* @__PURE__ */ e.createElement("div", { className: `${z}__navigation` }, /* @__PURE__ */ e.createElement(
5363
+ F1,
5376
5364
  {
5377
5365
  ariaLabel: s,
5378
- className: `${C}__nav-button ${C}__nav-button--prev`,
5366
+ className: `${z}__nav-button ${z}__nav-button--prev`,
5379
5367
  iconName: "angleLeft",
5380
5368
  onClick: P,
5381
5369
  size: "m"
5382
5370
  }
5383
5371
  ), /* @__PURE__ */ e.createElement(
5384
- T1,
5372
+ F1,
5385
5373
  {
5386
5374
  ariaLabel: n,
5387
- className: `${C}__nav-button ${C}__nav-button--next`,
5375
+ className: `${z}__nav-button ${z}__nav-button--next`,
5388
5376
  iconName: "angleRight",
5389
5377
  onClick: x,
5390
5378
  size: "m"
5391
5379
  }
5392
5380
  ), o.map((E, Z) => N(E, Z))) : N(o[0], 0)
5393
5381
  );
5394
- }, l2 = {
5382
+ }, a2 = {
5395
5383
  info: "circleInfo",
5396
5384
  warning: "triangleExclamation",
5397
5385
  success: "circleCheck",
5398
5386
  critical: "diamondExclamation"
5399
5387
  }, _0 = ({
5400
5388
  className: t,
5401
- message: l,
5402
- title: a,
5389
+ message: a,
5390
+ title: l,
5403
5391
  type: c,
5404
5392
  typeLabels: n = {
5405
5393
  ...h2,
@@ -5414,22 +5402,22 @@ const _4 = {
5414
5402
  info: `${i}--info`,
5415
5403
  critical: `${i}--critical`,
5416
5404
  working: `${i}--working`
5417
- }, d = c === "critical" ? "alert" : "status", o = `${n[c]}: `, m = typeof l == "string" ? /* @__PURE__ */ e.createElement("p", null, l) : l;
5405
+ }, d = c === "critical" ? "alert" : "status", o = `${n[c]}: `, m = typeof a == "string" ? /* @__PURE__ */ e.createElement("p", null, a) : a;
5418
5406
  return /* @__PURE__ */ e.createElement(
5419
5407
  "div",
5420
5408
  {
5421
- className: M([i, r[c], t ?? ""]),
5409
+ className: w([i, r[c], t ?? ""]),
5422
5410
  role: d,
5423
5411
  ...s
5424
5412
  },
5425
5413
  /* @__PURE__ */ e.createElement("div", { className: `${i}__icon ${i}__icon-${c}` }, c === "working" ? /* @__PURE__ */ e.createElement(j1, { colorType: "monochromatic", size: "m" }) : /* @__PURE__ */ e.createElement(
5426
5414
  O,
5427
5415
  {
5428
- iconName: `${c}` in l2 ? l2[c] : l2.info,
5416
+ iconName: `${c}` in a2 ? a2[c] : a2.info,
5429
5417
  iconSize: "m"
5430
5418
  }
5431
5419
  )),
5432
- /* @__PURE__ */ e.createElement("div", { className: `${i}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, o), /* @__PURE__ */ e.createElement("div", { className: `${i}__title` }, a), /* @__PURE__ */ e.createElement("div", { className: `${i}__message` }, m))
5420
+ /* @__PURE__ */ e.createElement("div", { className: `${i}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, o), /* @__PURE__ */ e.createElement("div", { className: `${i}__title` }, l), /* @__PURE__ */ e.createElement("div", { className: `${i}__message` }, m))
5433
5421
  );
5434
5422
  }, c2 = {
5435
5423
  info: "circleInfo",
@@ -5439,8 +5427,8 @@ const _4 = {
5439
5427
  discovery: "squareQuestion"
5440
5428
  }, y0 = ({
5441
5429
  className: t,
5442
- ctaButton: l,
5443
- dataContext: a = "product",
5430
+ ctaButton: a,
5431
+ dataContext: l = "product",
5444
5432
  dismissLabel: c = "Dismiss",
5445
5433
  id: n,
5446
5434
  isDismissible: s,
@@ -5449,9 +5437,9 @@ const _4 = {
5449
5437
  title: d,
5450
5438
  type: o = "info",
5451
5439
  typeLabels: m = h2,
5452
- ...z
5440
+ ...C
5453
5441
  }) => {
5454
- const p = a === "marketing", f = t1(null), u = "pds-section-message", h = {
5442
+ const g = l === "marketing", f = t1(null), u = "pds-section-message", h = {
5455
5443
  error: `${u}--error`,
5456
5444
  success: `${u}--success`,
5457
5445
  warning: `${u}--warning`,
@@ -5460,12 +5448,12 @@ const _4 = {
5460
5448
  discovery: `${u}--discovery`,
5461
5449
  dismissing: `${u}--dismissing`,
5462
5450
  dismissed: `${u}--dismissed`
5463
- }, w = s ? `${u}--hasDismiss` : null, g = d ? `${u}--hasTitle` : null, C = o === "critical" ? "alert" : "status", L = `${m[o]}: `, _ = typeof i == "string" ? /* @__PURE__ */ e.createElement("p", null, i) : i, D = () => {
5451
+ }, M = s ? `${u}--hasDismiss` : null, v = d ? `${u}--hasTitle` : null, z = o === "critical" ? "alert" : "status", L = `${m[o]}: `, $ = typeof i == "string" ? /* @__PURE__ */ e.createElement("p", null, i) : i, D = () => {
5464
5452
  f.current.addEventListener("animationend", k, {
5465
5453
  once: !0
5466
5454
  });
5467
- }, k = (v) => {
5468
- r(v, n);
5455
+ }, k = (p) => {
5456
+ r(p, n);
5469
5457
  }, y = () => {
5470
5458
  D(), f.current.classList.toggle(h.dismissing), setTimeout(() => {
5471
5459
  f.current.classList.toggle(h.dismissing), f.current.classList.toggle(h.dismissed);
@@ -5475,31 +5463,31 @@ const _4 = {
5475
5463
  "div",
5476
5464
  {
5477
5465
  ref: f,
5478
- className: M([
5466
+ className: w([
5479
5467
  u,
5480
5468
  h[o],
5481
- w,
5482
- g,
5469
+ M,
5470
+ v,
5483
5471
  t ?? ""
5484
5472
  ]),
5485
- "data-context": a,
5473
+ "data-context": l,
5486
5474
  id: n,
5487
- role: C,
5488
- ...z
5475
+ role: z,
5476
+ ...C
5489
5477
  },
5490
5478
  /* @__PURE__ */ e.createElement("div", { className: `${u}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${u}__icon ${u}__icon-${o}` }, /* @__PURE__ */ e.createElement(
5491
5479
  O,
5492
5480
  {
5493
5481
  iconName: `${o}` in c2 ? c2[o] : c2.info,
5494
- iconSize: p ? "l" : "m"
5482
+ iconSize: g ? "l" : "m"
5495
5483
  }
5496
- )), /* @__PURE__ */ e.createElement("div", { className: `${u}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, L), d && /* @__PURE__ */ e.createElement("div", { className: `${u}__title` }, d), /* @__PURE__ */ e.createElement("div", { className: `${u}__message` }, _))),
5497
- (l || s) && /* @__PURE__ */ e.createElement("div", { className: `${u}__actions` }, l && /* @__PURE__ */ e.createElement(
5484
+ )), /* @__PURE__ */ e.createElement("div", { className: `${u}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, L), d && /* @__PURE__ */ e.createElement("div", { className: `${u}__title` }, d), /* @__PURE__ */ e.createElement("div", { className: `${u}__message` }, $))),
5485
+ (a || s) && /* @__PURE__ */ e.createElement("div", { className: `${u}__actions` }, a && /* @__PURE__ */ e.createElement(
5498
5486
  q1,
5499
5487
  {
5500
- ...l,
5488
+ ...a,
5501
5489
  className: `${u}__cta`,
5502
- size: p ? "m" : "s",
5490
+ size: g ? "m" : "s",
5503
5491
  variant: "secondary"
5504
5492
  }
5505
5493
  ), s && /* @__PURE__ */ e.createElement(
@@ -5508,7 +5496,7 @@ const _4 = {
5508
5496
  ariaLabel: c,
5509
5497
  className: `${u}__dismiss`,
5510
5498
  onClick: y,
5511
- size: p ? "xl" : "l"
5499
+ size: g ? "xl" : "l"
5512
5500
  }
5513
5501
  ))
5514
5502
  );
@@ -5525,8 +5513,8 @@ const _4 = {
5525
5513
  working: "Working..."
5526
5514
  }, Y4 = ({
5527
5515
  children: t,
5528
- className: l,
5529
- id: a,
5516
+ className: a,
5517
+ id: l,
5530
5518
  type: c = "info",
5531
5519
  typeLabels: n = K4
5532
5520
  }) => {
@@ -5540,8 +5528,8 @@ const _4 = {
5540
5528
  return /* @__PURE__ */ e.createElement(
5541
5529
  "div",
5542
5530
  {
5543
- className: M([s, i[c], l]),
5544
- id: a
5531
+ className: w([s, i[c], a]),
5532
+ id: l
5545
5533
  },
5546
5534
  /* @__PURE__ */ e.createElement("div", { className: `${s}__icon-container` }, c === "working" ? /* @__PURE__ */ e.createElement(j1, { colorType: "monochromatic-reverse", size: "l" }) : /* @__PURE__ */ e.createElement(
5547
5535
  O,
@@ -5555,25 +5543,25 @@ const _4 = {
5555
5543
  );
5556
5544
  }, X4 = ({
5557
5545
  ariaLabel: t,
5558
- closeToast: l
5546
+ closeToast: a
5559
5547
  }) => /* @__PURE__ */ e.createElement(
5560
5548
  G1,
5561
5549
  {
5562
5550
  ariaLabel: t || "Close",
5563
5551
  className: "pds-toaster__close-button",
5564
- onClick: (a) => {
5565
- a.stopPropagation(), l(a);
5552
+ onClick: (l) => {
5553
+ l.stopPropagation(), a(l);
5566
5554
  },
5567
5555
  size: "l",
5568
5556
  tabIndex: 0
5569
5557
  }
5570
5558
  ), k0 = ({
5571
5559
  autoCloseDuration: t = !1,
5572
- className: l,
5573
- limit: a = 5,
5560
+ className: a,
5561
+ limit: l = 5,
5574
5562
  position: c = "bottom-right"
5575
5563
  }) => {
5576
- const s = M(["pds-toaster", l]);
5564
+ const s = w(["pds-toaster", a]);
5577
5565
  return /* @__PURE__ */ e.createElement(
5578
5566
  t4,
5579
5567
  {
@@ -5583,7 +5571,7 @@ const _4 = {
5583
5571
  closeButton: X4,
5584
5572
  draggable: !1,
5585
5573
  icon: !1,
5586
- limit: a,
5574
+ limit: l,
5587
5575
  position: c,
5588
5576
  role: "status",
5589
5577
  transition: s4
@@ -5592,84 +5580,84 @@ const _4 = {
5592
5580
  };
5593
5581
  var Q4 = /* @__PURE__ */ ((t) => (t.Critical = "critical", t.Info = "info", t.Success = "success", t.Warning = "warning", t.Working = "working", t))(Q4 || {});
5594
5582
  const x0 = () => {
5595
- const t = (a, c, n = {}) => {
5596
- const s = /* @__PURE__ */ e.createElement(Y4, { type: a }, c);
5583
+ const t = (l, c, n = {}) => {
5584
+ const s = /* @__PURE__ */ e.createElement(Y4, { type: l }, c);
5597
5585
  let i = {
5598
5586
  ...n
5599
5587
  };
5600
- return a === "critical" && (i = {
5588
+ return l === "critical" && (i = {
5601
5589
  ...i,
5602
5590
  role: "alert"
5603
- }), a === "working" && (i = {
5591
+ }), l === "working" && (i = {
5604
5592
  ...i,
5605
5593
  closeButton: !1,
5606
5594
  closeOnClick: !1
5607
5595
  }), g2(s, i);
5608
- }, l = a4({
5596
+ }, a = l4({
5609
5597
  collapse: !1,
5610
5598
  enter: "pds-toast--bounceInPlace",
5611
5599
  exit: "pds-toast--slideOut"
5612
5600
  });
5613
- return [t, g2, l];
5601
+ return [t, g2, a];
5614
5602
  }, N0 = ({
5615
5603
  children: t,
5616
- className: l,
5617
- padding: a = "standard",
5604
+ className: a,
5605
+ padding: l = "standard",
5618
5606
  variant: c = "default",
5619
5607
  ...n
5620
5608
  }) => {
5621
- const s = "pds-panel", i = c !== "default" ? `${s}--${c}` : null, r = `${s}__content`, d = a !== "standard" ? `${r}--pad-${a}` : null;
5609
+ const s = "pds-panel", i = c !== "default" ? `${s}--${c}` : null, r = `${s}__content`, d = l !== "standard" ? `${r}--pad-${l}` : null;
5622
5610
  return /* @__PURE__ */ e.createElement(
5623
5611
  "div",
5624
5612
  {
5625
- className: M([s, i, l ?? ""]),
5613
+ className: w([s, i, a ?? ""]),
5626
5614
  ...n
5627
5615
  },
5628
- /* @__PURE__ */ e.createElement("div", { className: M([r, d]) }, t)
5616
+ /* @__PURE__ */ e.createElement("div", { className: w([r, d]) }, t)
5629
5617
  );
5630
5618
  }, D0 = ({
5631
5619
  children: t,
5632
- className: l,
5633
- expandButtonAriaLabel: a,
5620
+ className: a,
5621
+ expandButtonAriaLabel: l,
5634
5622
  isExpandable: c = !1,
5635
5623
  ...n
5636
5624
  }) => {
5637
- const s = "pds-panel-row", [i, r] = j(!1), d = t1(null), o = t1(null), m = p1(t), z = m["items-left"], p = m["items-right"], f = m["items-below"], u = () => {
5638
- const h = o.current, w = d.current;
5639
- if (!h || !w) return;
5640
- const g = !i;
5641
- r(g), g ? (Object.assign(h.style, {
5625
+ const s = "pds-panel-row", [i, r] = j(!1), d = t1(null), o = t1(null), m = p1(t), C = m["items-left"], g = m["items-right"], f = m["items-below"], u = () => {
5626
+ const h = o.current, M = d.current;
5627
+ if (!h || !M) return;
5628
+ const v = !i;
5629
+ r(v), v ? (Object.assign(h.style, {
5642
5630
  display: "block",
5643
5631
  height: "auto",
5644
5632
  opacity: "1"
5645
- }), w.classList.add("is-expanded")) : (Object.assign(h.style, {
5633
+ }), M.classList.add("is-expanded")) : (Object.assign(h.style, {
5646
5634
  height: "0",
5647
5635
  opacity: "0",
5648
5636
  display: "none"
5649
- }), w.classList.remove("is-expanded"));
5637
+ }), M.classList.remove("is-expanded"));
5650
5638
  };
5651
5639
  return /* @__PURE__ */ e.createElement(
5652
5640
  "li",
5653
5641
  {
5654
- className: M([s, l ?? ""]),
5642
+ className: w([s, a ?? ""]),
5655
5643
  ...n,
5656
5644
  ref: d
5657
5645
  },
5658
5646
  /* @__PURE__ */ e.createElement(
5659
5647
  "div",
5660
5648
  {
5661
- className: M([
5649
+ className: w([
5662
5650
  `${s}__main`,
5663
5651
  c ? "is-expandable" : ""
5664
5652
  ])
5665
5653
  },
5666
- z && /* @__PURE__ */ e.createElement("div", { className: `${s}__items ${s}__items--left` }, z),
5667
- p && /* @__PURE__ */ e.createElement("div", { className: `${s}__items ${s}__items--right` }, p),
5654
+ C && /* @__PURE__ */ e.createElement("div", { className: `${s}__items ${s}__items--left` }, C),
5655
+ g && /* @__PURE__ */ e.createElement("div", { className: `${s}__items ${s}__items--right` }, g),
5668
5656
  c && /* @__PURE__ */ e.createElement(
5669
5657
  "button",
5670
5658
  {
5671
5659
  "aria-expanded": i,
5672
- "aria-label": a,
5660
+ "aria-label": l,
5673
5661
  className: `${s}__expand-button`,
5674
5662
  onClick: u
5675
5663
  },
@@ -5694,20 +5682,20 @@ const x0 = () => {
5694
5682
  );
5695
5683
  }, P0 = ({
5696
5684
  alt: t = "",
5697
- className: l,
5698
- height: a,
5685
+ className: a,
5686
+ height: l,
5699
5687
  srcFallback: c,
5700
5688
  srcWebp: n,
5701
5689
  width: s,
5702
5690
  ...i
5703
5691
  }) => {
5704
5692
  const r = "pds-picture";
5705
- return /* @__PURE__ */ e.createElement("picture", { className: M([r, l ?? ""]) }, /* @__PURE__ */ e.createElement("source", { srcSet: n, type: "image/webp" }), /* @__PURE__ */ e.createElement(
5693
+ return /* @__PURE__ */ e.createElement("picture", { className: w([r, a ?? ""]) }, /* @__PURE__ */ e.createElement("source", { srcSet: n, type: "image/webp" }), /* @__PURE__ */ e.createElement(
5706
5694
  "img",
5707
5695
  {
5708
5696
  alt: t,
5709
5697
  className: `${r}__img`,
5710
- height: a,
5698
+ height: l,
5711
5699
  src: c,
5712
5700
  width: s,
5713
5701
  ...i
@@ -5715,29 +5703,29 @@ const x0 = () => {
5715
5703
  ));
5716
5704
  }, S0 = ({
5717
5705
  className: t,
5718
- destination: l = "main",
5719
- text: a = "Skip to main content",
5706
+ destination: a = "main",
5707
+ text: l = "Skip to main content",
5720
5708
  ...c
5721
5709
  }) => /* @__PURE__ */ e.createElement(
5722
5710
  "a",
5723
5711
  {
5724
- className: M(["pds-skiplink", t]),
5725
- href: `#${l}`,
5712
+ className: w(["pds-skiplink", t]),
5713
+ href: `#${a}`,
5726
5714
  ...c
5727
5715
  },
5728
- a
5716
+ l
5729
5717
  ), H0 = ({
5730
5718
  className: t,
5731
- label: l = null,
5732
- size: a = "s",
5719
+ label: a = null,
5720
+ size: l = "s",
5733
5721
  type: c = "neutral",
5734
5722
  ...n
5735
5723
  }) => {
5736
- const s = "pds-status-indicator", i = `${s}--${c}`, r = a !== "s" ? `${s}--${a}` : null;
5724
+ const s = "pds-status-indicator", i = `${s}--${c}`, r = l !== "s" ? `${s}--${l}` : null;
5737
5725
  return /* @__PURE__ */ e.createElement(
5738
5726
  "div",
5739
5727
  {
5740
- className: M([
5728
+ className: w([
5741
5729
  s,
5742
5730
  i,
5743
5731
  r,
@@ -5753,12 +5741,12 @@ const x0 = () => {
5753
5741
  size: "m"
5754
5742
  }
5755
5743
  ) : /* @__PURE__ */ e.createElement("span", { "aria-hidden": "true", className: `${s}__icon`, role: "img" }),
5756
- l && /* @__PURE__ */ e.createElement("span", { className: "pds-status-indicator__label" }, l)
5744
+ a && /* @__PURE__ */ e.createElement("span", { className: "pds-status-indicator__label" }, a)
5757
5745
  );
5758
5746
  }, I0 = ({
5759
5747
  className: t,
5760
- platform: l,
5761
- videoId: a,
5748
+ platform: a,
5749
+ videoId: l,
5762
5750
  videoTitle: c,
5763
5751
  ...n
5764
5752
  }) => {
@@ -5766,14 +5754,14 @@ const x0 = () => {
5766
5754
  "iframe",
5767
5755
  {
5768
5756
  allow: "autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media",
5769
- src: `https://fast.wistia.net/embed/iframe/${a}`,
5757
+ src: `https://fast.wistia.net/embed/iframe/${l}`,
5770
5758
  title: `Wistia video player${c ? `: ${c}` : ""}`
5771
5759
  }
5772
5760
  ), r = /* @__PURE__ */ e.createElement(
5773
5761
  "iframe",
5774
5762
  {
5775
5763
  allow: "autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media",
5776
- src: `https://player.vimeo.com/video/${a}`,
5764
+ src: `https://player.vimeo.com/video/${l}`,
5777
5765
  title: `Vimeo video player${c ? `: ${c}` : ""}`
5778
5766
  }
5779
5767
  ), d = /* @__PURE__ */ e.createElement(
@@ -5782,12 +5770,12 @@ const x0 = () => {
5782
5770
  allowFullScreen: !0,
5783
5771
  allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",
5784
5772
  referrerPolicy: "strict-origin-when-cross-origin",
5785
- src: `https://www.youtube.com/embed/${a}`,
5773
+ src: `https://www.youtube.com/embed/${l}`,
5786
5774
  title: `YouTube video player${c ? `: ${c}` : ""}`
5787
5775
  }
5788
5776
  );
5789
5777
  let o;
5790
- switch (l) {
5778
+ switch (a) {
5791
5779
  case "vimeo":
5792
5780
  o = r;
5793
5781
  break;
@@ -5798,15 +5786,15 @@ const x0 = () => {
5798
5786
  o = d;
5799
5787
  break;
5800
5788
  }
5801
- return /* @__PURE__ */ e.createElement("div", { className: M([s, t ?? ""]), ...n }, o);
5789
+ return /* @__PURE__ */ e.createElement("div", { className: w([s, t ?? ""]), ...n }, o);
5802
5790
  }, V0 = ({
5803
5791
  className: t,
5804
- option: l,
5805
- ...a
5792
+ option: a,
5793
+ ...l
5806
5794
  }) => {
5807
- const c = "pds-site-option-display", n = l.type ? P4[l.type] : "bolt", s = t1(null), [i] = l4(s), r = i.width / 16 - 7.5;
5795
+ const c = "pds-site-option-display", n = a.type ? P4[a.type] : "bolt", s = t1(null), [i] = a4(s), r = i.width / 16 - 7.5;
5808
5796
  let d, o;
5809
- l.status === "active" && (d = "Active", o = "success"), l.status === "frozen" && (d = "Frozen", o = "frozen"), l.status === "restricted" && (d = "Restricted", o = "critical");
5797
+ a.status === "active" && (d = "Active", o = "success"), a.status === "frozen" && (d = "Frozen", o = "frozen"), a.status === "restricted" && (d = "Restricted", o = "critical");
5810
5798
  const m = /* @__PURE__ */ e.createElement(
5811
5799
  o4,
5812
5800
  {
@@ -5819,9 +5807,9 @@ const x0 = () => {
5819
5807
  "div",
5820
5808
  {
5821
5809
  ref: s,
5822
- className: M([c, t ?? ""]),
5823
- title: l.name,
5824
- ...a
5810
+ className: w([c, t ?? ""]),
5811
+ title: a.name,
5812
+ ...l
5825
5813
  },
5826
5814
  /* @__PURE__ */ e.createElement("div", { className: `${c}__inner`, style: { pointerEvents: "none" } }, /* @__PURE__ */ e.createElement("div", { className: `${c}__icon` }, /* @__PURE__ */ e.createElement(O, { iconName: n })), /* @__PURE__ */ e.createElement(
5827
5815
  "div",
@@ -5829,14 +5817,14 @@ const x0 = () => {
5829
5817
  className: `${c}__label`,
5830
5818
  style: { maxWidth: `${r}rem` }
5831
5819
  },
5832
- l.name
5820
+ a.name
5833
5821
  )),
5834
5822
  /* @__PURE__ */ e.createElement("div", { className: `${c}__status`, style: { pointerEvents: "none" } }, m)
5835
5823
  );
5836
5824
  }, j0 = ({
5837
5825
  children: t,
5838
- className: l,
5839
- hasSidebarToggle: a,
5826
+ className: a,
5827
+ hasSidebarToggle: l,
5840
5828
  isSidebarCollapsed: c,
5841
5829
  labels: n = {
5842
5830
  collapseSidebar: "Collapse sidebar",
@@ -5846,39 +5834,40 @@ const x0 = () => {
5846
5834
  mainContentElement: i = "main",
5847
5835
  mainContentProps: r,
5848
5836
  onSidebarToggle: d,
5849
- sidebarBackground: o,
5850
- sidebarCollapsedWidth: m = 3.875,
5851
- sidebarExpandedWidth: z = "15%",
5852
- sidebarExpandedWidthMin: p = 13,
5853
- sidebarProps: f,
5854
- ...u
5837
+ scrollableContent: o,
5838
+ sidebarBackground: m,
5839
+ sidebarCollapsedWidth: C = 3.875,
5840
+ sidebarExpandedWidth: g = "15%",
5841
+ sidebarExpandedWidthMin: f = 13,
5842
+ sidebarProps: u,
5843
+ ...h
5855
5844
  }) => {
5856
- let h = !1;
5857
- const w = C1(M1);
5858
- w && (h = w.isMobile);
5859
- const [g, C] = j(
5845
+ let M = !1;
5846
+ const v = C1(M1);
5847
+ v && (M = v.isMobile);
5848
+ const [z, L] = j(
5860
5849
  c || !1
5861
5850
  );
5862
5851
  K(() => {
5863
- C(c || !1);
5852
+ L(c || !1);
5864
5853
  }, [c]);
5865
- const L = "pds-app-layout", _ = h ? `${L}--isMobile` : null, D = g ? `${m}rem` : `${z}`, k = {
5866
- backgroundColor: o || void 0,
5867
- minWidth: g ? `${m}rem` : `${p}rem`,
5854
+ const $ = "pds-app-layout", D = M ? `${$}--isMobile` : null, k = o ? `${$}--scrollable` : null, y = z ? `${C}rem` : `${g}`, p = {
5855
+ backgroundColor: m || void 0,
5856
+ minWidth: z ? `${C}rem` : `${f}rem`,
5868
5857
  transition: "all 200ms ease-in-out",
5869
- width: D
5870
- }, y = () => {
5858
+ width: y
5859
+ }, x = () => {
5871
5860
  if (d) {
5872
5861
  d();
5873
5862
  return;
5874
5863
  }
5875
- C(!g);
5876
- }, v = p1(t), x = v.__unslotted, P = v.sidebar, N = B2(
5864
+ L(!z);
5865
+ }, P = p1(t), N = P.__unslotted, E = P.sidebar, Z = B2(
5877
5866
  i,
5878
5867
  {
5879
5868
  ...r,
5880
- className: M([
5881
- `${L}__main`,
5869
+ className: w([
5870
+ `${$}__main`,
5882
5871
  r?.className
5883
5872
  ]),
5884
5873
  style: {
@@ -5886,73 +5875,78 @@ const x0 = () => {
5886
5875
  backgroundColor: s || void 0
5887
5876
  }
5888
5877
  },
5889
- x
5890
- ), E = /* @__PURE__ */ e.createElement(e.Fragment, null, P && /* @__PURE__ */ e.createElement(
5878
+ N
5879
+ ), S = /* @__PURE__ */ e.createElement(e.Fragment, null, E && /* @__PURE__ */ e.createElement(
5891
5880
  "div",
5892
5881
  {
5893
- ...f,
5894
- className: M([
5895
- `${L}__sidebar`,
5896
- f?.className
5882
+ ...u,
5883
+ className: w([
5884
+ `${$}__sidebar`,
5885
+ u?.className
5897
5886
  ]),
5898
5887
  style: {
5899
- ...f?.style,
5900
- backgroundColor: o || void 0
5888
+ ...u?.style,
5889
+ backgroundColor: m || void 0
5901
5890
  }
5902
5891
  },
5903
- P
5904
- ), N), Z = /* @__PURE__ */ e.createElement(e.Fragment, null, P && /* @__PURE__ */ e.createElement(
5892
+ E
5893
+ ), Z), _ = /* @__PURE__ */ e.createElement(e.Fragment, null, E && /* @__PURE__ */ e.createElement(
5905
5894
  "div",
5906
5895
  {
5907
- ...f,
5908
- className: M([
5909
- `${L}__sidebar`,
5910
- g ? `${L}__sidebar--collapsed` : null,
5911
- f?.className
5896
+ ...u,
5897
+ className: w([
5898
+ `${$}__sidebar`,
5899
+ z ? `${$}__sidebar--collapsed` : null,
5900
+ u?.className
5912
5901
  ]),
5913
- style: k
5902
+ style: p
5914
5903
  },
5915
- a && /* @__PURE__ */ e.createElement(
5904
+ l && /* @__PURE__ */ e.createElement(
5916
5905
  "button",
5917
5906
  {
5918
- "aria-expanded": !g,
5919
- "aria-label": g ? n.expandSidebar : n.collapseSidebar,
5920
- className: `${L}__sidebar-toggle-button`,
5921
- onClick: y,
5922
- title: g ? n.expandSidebar : n.collapseSidebar,
5907
+ "aria-expanded": !z,
5908
+ "aria-label": z ? n.expandSidebar : n.collapseSidebar,
5909
+ className: `${$}__sidebar-toggle-button`,
5910
+ onClick: x,
5911
+ title: z ? n.expandSidebar : n.collapseSidebar,
5923
5912
  type: "button"
5924
5913
  },
5925
- /* @__PURE__ */ e.createElement("span", { className: `${L}__sidebar-toggle-icon` }, /* @__PURE__ */ e.createElement(O, { iconName: "angleLeft", iconSize: "s", verticalAlign: "-1px" }))
5914
+ /* @__PURE__ */ e.createElement("span", { className: `${$}__sidebar-toggle-icon` }, /* @__PURE__ */ e.createElement(O, { iconName: "angleLeft", iconSize: "s", verticalAlign: "-1px" }))
5926
5915
  ),
5927
- /* @__PURE__ */ e.createElement("div", { className: `${L}__sidebar-inner` }, P)
5928
- ), N);
5916
+ /* @__PURE__ */ e.createElement("div", { className: `${$}__sidebar-inner` }, E)
5917
+ ), Z);
5929
5918
  return /* @__PURE__ */ e.createElement(
5930
5919
  "div",
5931
5920
  {
5932
- className: M([L, _, l ?? ""]),
5933
- ...u
5921
+ className: w([
5922
+ $,
5923
+ D,
5924
+ k,
5925
+ a ?? ""
5926
+ ]),
5927
+ ...h
5934
5928
  },
5935
- h ? E : Z
5929
+ M ? S : _
5936
5930
  );
5937
5931
  }, O0 = ({
5938
5932
  children: t,
5939
- className: l,
5940
- width: a = "standard",
5933
+ className: a,
5934
+ width: l = "standard",
5941
5935
  ...c
5942
5936
  }) => {
5943
- const n = "pds-container", s = a !== "standard" ? `${n}--${a}` : null;
5937
+ const n = "pds-container", s = l !== "standard" ? `${n}--${l}` : null;
5944
5938
  return /* @__PURE__ */ e.createElement(
5945
5939
  "div",
5946
5940
  {
5947
- className: M([n, s, l ?? ""]),
5941
+ className: w([n, s, a ?? ""]),
5948
5942
  ...c
5949
5943
  },
5950
5944
  t
5951
5945
  );
5952
5946
  }, Z0 = ({
5953
5947
  children: t,
5954
- className: l,
5955
- sidebarMinWidth: a = 14.5,
5948
+ className: a,
5949
+ sidebarMinWidth: l = 14.5,
5956
5950
  sidebarWidth: c = "18%",
5957
5951
  ...n
5958
5952
  }) => {
@@ -5961,25 +5955,25 @@ const x0 = () => {
5961
5955
  i && (s = i.isMobile);
5962
5956
  const r = "pds-docs-layout", d = s ? `${r}--isMobile` : null, o = {
5963
5957
  width: c,
5964
- minWidth: `${a}rem`
5965
- }, m = p1(t), z = m.__unslotted || m.content, p = m.sidebar, f = /* @__PURE__ */ e.createElement(e.Fragment, null, p && /* @__PURE__ */ e.createElement("aside", { className: `${r}__sidebar` }, p), /* @__PURE__ */ e.createElement("div", { className: `${r}__content` }, z)), u = /* @__PURE__ */ e.createElement(e.Fragment, null, p && /* @__PURE__ */ e.createElement("aside", { className: `${r}__sidebar`, style: o }, /* @__PURE__ */ e.createElement("div", { className: `${r}__sidebar-inner` }, p)), /* @__PURE__ */ e.createElement("div", { className: `${r}__content` }, z));
5958
+ minWidth: `${l}rem`
5959
+ }, m = p1(t), C = m.__unslotted || m.content, g = m.sidebar, f = /* @__PURE__ */ e.createElement(e.Fragment, null, g && /* @__PURE__ */ e.createElement("aside", { className: `${r}__sidebar` }, g), /* @__PURE__ */ e.createElement("div", { className: `${r}__content` }, C)), u = /* @__PURE__ */ e.createElement(e.Fragment, null, g && /* @__PURE__ */ e.createElement("aside", { className: `${r}__sidebar`, style: o }, /* @__PURE__ */ e.createElement("div", { className: `${r}__sidebar-inner` }, g)), /* @__PURE__ */ e.createElement("div", { className: `${r}__content` }, C));
5966
5960
  return /* @__PURE__ */ e.createElement(
5967
5961
  "div",
5968
5962
  {
5969
- className: M([
5963
+ className: w([
5970
5964
  r,
5971
5965
  d,
5972
5966
  "pds-container pds-container--x-wide",
5973
- l ?? ""
5967
+ a ?? ""
5974
5968
  ]),
5975
5969
  ...n
5976
5970
  },
5977
5971
  s ? f : u
5978
5972
  );
5979
- }, T0 = ({
5973
+ }, F0 = ({
5980
5974
  alignContent: t = "flex-start",
5981
- alignItems: l = "stretch",
5982
- children: a,
5975
+ alignItems: a = "stretch",
5976
+ children: l,
5983
5977
  className: c,
5984
5978
  flexDirection: n = "row",
5985
5979
  flexWrap: s = "nowrap",
@@ -5988,55 +5982,55 @@ const x0 = () => {
5988
5982
  mobileAlignContent: d,
5989
5983
  mobileAlignItems: o,
5990
5984
  mobileFlexDirection: m = "column",
5991
- mobileFlexWrap: z,
5992
- mobileGap: p,
5985
+ mobileFlexWrap: C,
5986
+ mobileGap: g,
5993
5987
  mobileJustifyContent: f,
5994
5988
  ...u
5995
5989
  }) => {
5996
- let w = H2() <= 640;
5997
- const g = C1(M1);
5998
- g && (w = g.isMobile);
5999
- const C = "pds-flex", L = `${C}-container`, _ = w ? `${L}--mobile` : null;
5990
+ let M = H2() <= 640;
5991
+ const v = C1(M1);
5992
+ v && (M = v.isMobile);
5993
+ const z = "pds-flex", L = `${z}-container`, $ = M ? `${L}--mobile` : null;
6000
5994
  let D = null;
6001
- w ? D = `${C}-direction--${m}` : n !== "row" && (D = `${C}-direction--${n}`);
5995
+ M ? D = `${z}-direction--${m}` : n !== "row" && (D = `${z}-direction--${n}`);
6002
5996
  let k = null;
6003
- w ? z ? z !== "nowrap" && (k = `${C}-wrap--${z}`) : s !== "nowrap" && (k = `${C}-wrap--${s}`) : s !== "nowrap" && (k = `${C}-wrap--${s}`);
5997
+ M ? C ? C !== "nowrap" && (k = `${z}-wrap--${C}`) : s !== "nowrap" && (k = `${z}-wrap--${s}`) : s !== "nowrap" && (k = `${z}-wrap--${s}`);
6004
5998
  let y = null;
6005
- w ? f ? f !== "flex-start" && (y = `${C}-justify--${f}`) : r !== "flex-start" && (y = `${C}-justify--${r}`) : r !== "flex-start" && (y = `${C}-justify--${r}`);
6006
- let v = null;
6007
- w ? o ? o !== "stretch" && (v = `${C}-align-items--${o}`) : l !== "stretch" && (v = `${C}-align-items--${l}`) : l !== "stretch" && (v = `${C}-align-items--${l}`);
5999
+ M ? f ? f !== "flex-start" && (y = `${z}-justify--${f}`) : r !== "flex-start" && (y = `${z}-justify--${r}`) : r !== "flex-start" && (y = `${z}-justify--${r}`);
6000
+ let p = null;
6001
+ M ? o ? o !== "stretch" && (p = `${z}-align-items--${o}`) : a !== "stretch" && (p = `${z}-align-items--${a}`) : a !== "stretch" && (p = `${z}-align-items--${a}`);
6008
6002
  let x = null;
6009
- w ? d ? d !== "flex-start" && (x = `${C}-align-content--${d}`) : t !== "flex-start" && (x = `${C}-align-content--${t}`) : t !== "flex-start" && (x = `${C}-align-content--${t}`);
6003
+ M ? d ? d !== "flex-start" && (x = `${z}-align-content--${d}`) : t !== "flex-start" && (x = `${z}-align-content--${t}`) : t !== "flex-start" && (x = `${z}-align-content--${t}`);
6010
6004
  let P = null;
6011
- return w ? p ? p !== "none" && (P = `${C}-gap--${p}`) : i !== "none" && (P = `${C}-gap--${i}`) : i !== "none" && (P = `${C}-gap--${i}`), /* @__PURE__ */ e.createElement(
6005
+ return M ? g ? g !== "none" && (P = `${z}-gap--${g}`) : i !== "none" && (P = `${z}-gap--${i}`) : i !== "none" && (P = `${z}-gap--${i}`), /* @__PURE__ */ e.createElement(
6012
6006
  "div",
6013
6007
  {
6014
- className: M([
6008
+ className: w([
6015
6009
  L,
6016
- _,
6010
+ $,
6017
6011
  D,
6018
6012
  k,
6019
6013
  y,
6020
- v,
6014
+ p,
6021
6015
  x,
6022
6016
  P,
6023
6017
  c ?? ""
6024
6018
  ]),
6025
6019
  ...u
6026
6020
  },
6027
- a
6021
+ l
6028
6022
  );
6029
- }, A0 = ({
6023
+ }, T0 = ({
6030
6024
  children: t,
6031
- mobileMenuMaxWidth: l = 640
6032
- }) => /* @__PURE__ */ e.createElement(S4, { mobileMenuMaxWidth: l }, /* @__PURE__ */ e.createElement(L4, null, t)), F0 = ({
6025
+ mobileMenuMaxWidth: a = 640
6026
+ }) => /* @__PURE__ */ e.createElement(S4, { mobileMenuMaxWidth: a }, /* @__PURE__ */ e.createElement(L4, null, t)), A0 = ({
6033
6027
  children: t,
6034
- className: l,
6035
- gridGap: a = "standard",
6028
+ className: a,
6029
+ gridGap: l = "standard",
6036
6030
  verticalAlign: c = "start",
6037
6031
  ...n
6038
6032
  }) => {
6039
- const s = "pds-three-item-layout", i = a === "standard" ? "pds-grid" : `pds-grid pds-grid--${a}`, r = `${s}--${c}`, d = p1(t), o = [
6033
+ const s = "pds-three-item-layout", i = l === "standard" ? "pds-grid" : `pds-grid pds-grid--${l}`, r = `${s}--${c}`, d = p1(t), o = [
6040
6034
  d["first-item"],
6041
6035
  d["second-item"],
6042
6036
  d["third-item"]
@@ -6044,18 +6038,18 @@ const x0 = () => {
6044
6038
  return /* @__PURE__ */ e.createElement(
6045
6039
  "div",
6046
6040
  {
6047
- className: M([
6041
+ className: w([
6048
6042
  s,
6049
6043
  i,
6050
6044
  r,
6051
- l
6045
+ a
6052
6046
  ]),
6053
6047
  ...n
6054
6048
  },
6055
- o.map((m, z) => /* @__PURE__ */ e.createElement(
6049
+ o.map((m, C) => /* @__PURE__ */ e.createElement(
6056
6050
  "div",
6057
6051
  {
6058
- key: z,
6052
+ key: C,
6059
6053
  className: "pds-grid-item pds-grid-item--sm-12 pds-grid-item--md-4 pds-grid-item--lg-4"
6060
6054
  },
6061
6055
  m
@@ -6063,56 +6057,56 @@ const x0 = () => {
6063
6057
  );
6064
6058
  }, B0 = ({
6065
6059
  children: t,
6066
- className: l,
6067
- gridGap: a = "standard",
6060
+ className: a,
6061
+ gridGap: l = "standard",
6068
6062
  layoutVariant: c = "equal",
6069
6063
  verticalAlign: n = "start",
6070
6064
  ...s
6071
6065
  }) => {
6072
- const i = "pds-two-item-layout", r = a === "standard" ? "pds-grid" : `pds-grid pds-grid--${a}`, d = `${i}--${n}`, o = ["pds-grid-item--md-6"], m = ["pds-grid-item--md-4", "pds-grid-item--lg-3"], z = ["pds-grid-item--md-8", "pds-grid-item--lg-9"], p = ["pds-grid-item", "pds-grid-item--sm-4"];
6066
+ const i = "pds-two-item-layout", r = l === "standard" ? "pds-grid" : `pds-grid pds-grid--${l}`, d = `${i}--${n}`, o = ["pds-grid-item--md-6"], m = ["pds-grid-item--md-4", "pds-grid-item--lg-3"], C = ["pds-grid-item--md-8", "pds-grid-item--lg-9"], g = ["pds-grid-item", "pds-grid-item--sm-4"];
6073
6067
  let f, u;
6074
6068
  switch (c) {
6075
6069
  case "equal":
6076
- f = p.concat(o), u = p.concat(o);
6070
+ f = g.concat(o), u = g.concat(o);
6077
6071
  break;
6078
6072
  case "one-third-start":
6079
- f = p.concat(m), u = p.concat(z);
6073
+ f = g.concat(m), u = g.concat(C);
6080
6074
  break;
6081
6075
  case "one-third-end":
6082
- f = p.concat(z), u = p.concat(m);
6076
+ f = g.concat(C), u = g.concat(m);
6083
6077
  }
6084
- const h = p1(t), w = h["first-item"], g = h["second-item"];
6078
+ const h = p1(t), M = h["first-item"], v = h["second-item"];
6085
6079
  return /* @__PURE__ */ e.createElement(
6086
6080
  "div",
6087
6081
  {
6088
- className: M([
6082
+ className: w([
6089
6083
  i,
6090
6084
  r,
6091
6085
  d,
6092
- l
6086
+ a
6093
6087
  ]),
6094
6088
  ...s
6095
6089
  },
6096
- /* @__PURE__ */ e.createElement("div", { className: f.join(" ").trim() }, w),
6097
- /* @__PURE__ */ e.createElement("div", { className: u.join(" ").trim() }, g)
6090
+ /* @__PURE__ */ e.createElement("div", { className: f.join(" ").trim() }, M),
6091
+ /* @__PURE__ */ e.createElement("div", { className: u.join(" ").trim() }, v)
6098
6092
  );
6099
6093
  }, R0 = () => {
6100
- const t = typeof window < "u", l = (n) => n >= h4 ? "xl" : n >= m4 ? "lg" : n >= d4 ? "md" : "sm", [a, c] = j(
6101
- t ? l(window.innerWidth) : "lg"
6094
+ const t = typeof window < "u", a = (n) => n >= h4 ? "xl" : n >= m4 ? "lg" : n >= d4 ? "md" : "sm", [l, c] = j(
6095
+ t ? a(window.innerWidth) : "lg"
6102
6096
  );
6103
6097
  return K(() => {
6104
6098
  if (!t) return;
6105
6099
  const n = () => {
6106
- c(l(window.innerWidth));
6100
+ c(a(window.innerWidth));
6107
6101
  };
6108
6102
  return n(), window.addEventListener("resize", n), () => {
6109
6103
  window.removeEventListener("resize", n);
6110
6104
  };
6111
- }, []), a;
6105
+ }, []), l;
6112
6106
  }, q0 = (t) => {
6113
- const l = typeof window < "u", a = (s) => l ? window.matchMedia(s).matches : !1, [c, n] = j(a(t));
6107
+ const a = typeof window < "u", l = (s) => a ? window.matchMedia(s).matches : !1, [c, n] = j(l(t));
6114
6108
  return K(() => {
6115
- if (!l) return;
6109
+ if (!a) return;
6116
6110
  const s = window.matchMedia(t), i = () => {
6117
6111
  n(s.matches);
6118
6112
  };
@@ -6136,15 +6130,16 @@ export {
6136
6130
  O0 as Container,
6137
6131
  Z0 as DocsLayout,
6138
6132
  f0 as Drawer,
6139
- T0 as FlexContainer,
6140
- A0 as GlobalWrapper,
6133
+ F0 as FlexContainer,
6134
+ T0 as GlobalWrapper,
6141
6135
  O as Icon,
6142
- T1 as IconButton,
6136
+ F1 as IconButton,
6143
6137
  _0 as InlineMessage,
6144
6138
  H4 as MenuButton,
6145
6139
  M0 as Modal,
6146
6140
  N0 as Panel,
6147
6141
  D0 as PanelRow,
6142
+ R4 as PantheonLogo,
6148
6143
  P0 as Picture,
6149
6144
  C0 as RadioGroup,
6150
6145
  M1 as ResponsiveContext,
@@ -6167,7 +6162,7 @@ export {
6167
6162
  y2 as Tally,
6168
6163
  b0 as TextInput,
6169
6164
  L0 as Textarea,
6170
- F0 as ThreeItemLayout,
6165
+ A0 as ThreeItemLayout,
6171
6166
  Y4 as Toast,
6172
6167
  Q4 as ToastType,
6173
6168
  k0 as Toaster,