@pantheon-systems/pds-toolkit-react 1.19.0 → 1.20.0

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
@@ -2,10 +2,10 @@ import e, { Children as t, Fragment as n, cloneElement as r, createContext as i,
2
2
  import g from "hash-sum";
3
3
  import { FloatingArrow as _, FloatingFocusManager as v, FloatingOverlay as y, FloatingPortal as b, arrow as x, autoUpdate as S, flip as C, offset as w, safePolygon as T, shift as E, size as D, useClick as O, useDismiss as k, useFloating as A, useFocus as j, useHover as M, useId as N, useInteractions as P, useListNavigation as F, useRole as I, useTransitionStyles as L, useTypeahead as R } from "@floating-ui/react";
4
4
  import { useHotkeys as z } from "react-hotkeys-hook";
5
- import { Bar as B, BarChart as V, CartesianGrid as H, Cell as U, Line as ee, LineChart as W, Pie as te, PieChart as ne, ReferenceLine as G, ResponsiveContainer as K, Tooltip as q, XAxis as re, YAxis as ie } from "recharts";
6
- import { CodeBlock as J } from "react-code-block";
7
- import ae from "focus-trap-react";
8
- import { createPortal as Y } from "react-dom";
5
+ import { Bar as B, BarChart as V, CartesianGrid as H, Cell as U, Line as ee, LineChart as W, Pie as te, PieChart as G, ReferenceLine as K, ResponsiveContainer as q, Tooltip as J, XAxis as ne, YAxis as re } from "recharts";
6
+ import { CodeBlock as Y } from "react-code-block";
7
+ import ie from "focus-trap-react";
8
+ import { createPortal as ae } from "react-dom";
9
9
  import { useCombobox as oe, useMultipleSelection as X } from "downshift";
10
10
  import { format as se } from "date-fns";
11
11
  import { DayPicker as ce } from "react-day-picker";
@@ -1394,7 +1394,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
1394
1394
  whileElementsMounted: S
1395
1395
  }), O = !1, k = u(bt);
1396
1396
  k && (O = k.isMobile);
1397
- let j = v === "navbar" && O, M = "pds-menu-button", N = j ? `${M}--isMobile` : null, P = y ? `${M}--navbar` : null, F = a, [I] = h(`menu-button-${a}`), L = w.floating, R = m(null), [z, B] = h(!1), [V, H] = h(!1), [U, ee] = h(""), [W, te] = h(0), ne = m([]), G = m([]), K = m([]);
1397
+ let j = v === "navbar" && O, M = "pds-menu-button", N = j ? `${M}--isMobile` : null, P = y ? `${M}--navbar` : null, F = a, [I] = h(`menu-button-${a}`), L = w.floating, R = m(null), [z, B] = h(!1), [V, H] = h(!1), [U, ee] = h(""), [W, te] = h(0), G = m([]), K = m([]), q = m([]);
1398
1398
  f(() => {
1399
1399
  window.addEventListener("mousedown", le, !0);
1400
1400
  let e = L.current;
@@ -1404,35 +1404,35 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
1404
1404
  window.removeEventListener("mousedown", le, !0);
1405
1405
  };
1406
1406
  }, [z, x]);
1407
- let q = (e, t) => {
1407
+ let J = (e, t) => {
1408
1408
  ee(e), te(t);
1409
- }, re = () => {
1409
+ }, ne = () => {
1410
1410
  B(!0), H(!0);
1411
- }, ie = () => {
1412
- B(!1), q(void 0, -1), (R.current?.querySelector(`#${F}`))?.focus();
1413
- }, J = (e) => {
1411
+ }, re = () => {
1412
+ B(!1), J(void 0, -1), (R.current?.querySelector(`#${F}`))?.focus();
1413
+ }, Y = (e) => {
1414
1414
  e = e.toLowerCase();
1415
1415
  let t = !1;
1416
- for (let n = W + 1; n < K.current.length; n++) if (K.current[n].label.toLowerCase().startsWith(e)) {
1417
- q(G.current[n], n), t = !0;
1416
+ for (let n = W + 1; n < q.current.length; n++) if (q.current[n].label.toLowerCase().startsWith(e)) {
1417
+ J(K.current[n], n), t = !0;
1418
1418
  break;
1419
1419
  }
1420
1420
  if (t === !1) {
1421
- for (let t = 0; t < W; t++) if (K.current[t].label.toLowerCase().startsWith(e)) {
1422
- q(G.current[t], t);
1421
+ for (let t = 0; t < W; t++) if (q.current[t].label.toLowerCase().startsWith(e)) {
1422
+ J(K.current[t], t);
1423
1423
  break;
1424
1424
  }
1425
1425
  }
1426
- }, ae = (e) => {
1427
- let t = G.current.indexOf(e), n = K.current[t];
1426
+ }, ie = (e) => {
1427
+ let t = K.current.indexOf(e), n = q.current[t];
1428
1428
  n.callback && !n.disabled && n.callback(n), n.linkContent && !n.disabled && (R.current?.querySelector(`#${e} a`))?.click();
1429
- }, Y = () => {
1430
- let e = G.current[W];
1431
- ae(e);
1429
+ }, ae = () => {
1430
+ let e = K.current[W];
1431
+ ie(e);
1432
1432
  }, oe = (e) => {
1433
- z ? ie() : re(), d && d(), e.stopPropagation(), e.preventDefault();
1433
+ z ? re() : ne(), d && d(), e.stopPropagation(), e.preventDefault();
1434
1434
  }, X = (e) => {
1435
- ae(e.currentTarget.id), j || ie();
1435
+ ie(e.currentTarget.id), j || re();
1436
1436
  }, se = (e) => {
1437
1437
  let t = e.key, n = !1;
1438
1438
  switch (t) {
@@ -1440,28 +1440,28 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
1440
1440
  case "Enter":
1441
1441
  case "ArrowDown":
1442
1442
  case "Down": {
1443
- re();
1443
+ ne();
1444
1444
  let e = 0;
1445
- for (let t = 0; t < K.current.length; t++) if (!K.current[t]?.disabled) {
1445
+ for (let t = 0; t < q.current.length; t++) if (!q.current[t]?.disabled) {
1446
1446
  e = t;
1447
1447
  break;
1448
1448
  }
1449
- q(G.current[e], e), n = !0, d && d();
1449
+ J(K.current[e], e), n = !0, d && d();
1450
1450
  break;
1451
1451
  }
1452
1452
  case "Esc":
1453
1453
  case "Escape":
1454
- ie(), n = !0;
1454
+ re(), n = !0;
1455
1455
  break;
1456
1456
  case "Up":
1457
1457
  case "ArrowUp": {
1458
- re();
1459
- let e = G.current.length - 1;
1460
- for (let t = G.current.length - 1; t >= 0; t--) if (!K.current[t]?.disabled) {
1458
+ ne();
1459
+ let e = K.current.length - 1;
1460
+ for (let t = K.current.length - 1; t >= 0; t--) if (!q.current[t]?.disabled) {
1461
1461
  e = t;
1462
1462
  break;
1463
1463
  }
1464
- q(G.current[e], e), n = !0;
1464
+ J(K.current[e], e), n = !0;
1465
1465
  break;
1466
1466
  }
1467
1467
  default: break;
@@ -1473,61 +1473,61 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
1473
1473
  return e.length === 1 && e.match(/\S/);
1474
1474
  }
1475
1475
  if (!(e.ctrlKey || e.altKey || e.metaKey)) {
1476
- if (e.shiftKey) a(t) && (J(t), n = !0), e.key === "Tab" && (ie(), n = !0);
1476
+ if (e.shiftKey) a(t) && (Y(t), n = !0), e.key === "Tab" && (re(), n = !0);
1477
1477
  else switch (t) {
1478
1478
  case " ":
1479
1479
  case "Enter":
1480
- ie(), Y(), n = !0;
1480
+ re(), ae(), n = !0;
1481
1481
  break;
1482
1482
  case "Esc":
1483
1483
  case "Escape":
1484
- ie(), n = !0;
1484
+ re(), n = !0;
1485
1485
  break;
1486
1486
  case "Up":
1487
1487
  case "ArrowUp": {
1488
- let e = 0, t = G.current.length;
1489
- for (i = W - 1; e < t && (i < 0 && (i = G.current.length - 1), K.current[i]?.disabled);) i--, e++;
1490
- r = G.current[i], q(r, i), n = !0;
1488
+ let e = 0, t = K.current.length;
1489
+ for (i = W - 1; e < t && (i < 0 && (i = K.current.length - 1), q.current[i]?.disabled);) i--, e++;
1490
+ r = K.current[i], J(r, i), n = !0;
1491
1491
  break;
1492
1492
  }
1493
1493
  case "ArrowDown":
1494
1494
  case "Down": {
1495
- let e = 0, t = G.current.length;
1496
- for (i = W + 1; e < t && (i > G.current.length - 1 && (i = 0), K.current[i]?.disabled);) i++, e++;
1497
- r = G.current[i], q(r, i), n = !0;
1495
+ let e = 0, t = K.current.length;
1496
+ for (i = W + 1; e < t && (i > K.current.length - 1 && (i = 0), q.current[i]?.disabled);) i++, e++;
1497
+ r = K.current[i], J(r, i), n = !0;
1498
1498
  break;
1499
1499
  }
1500
1500
  case "Home":
1501
1501
  case "PageUp": {
1502
1502
  let e = 0;
1503
- for (let t = 0; t < K.current.length; t++) if (!K.current[t]?.disabled) {
1503
+ for (let t = 0; t < q.current.length; t++) if (!q.current[t]?.disabled) {
1504
1504
  e = t;
1505
1505
  break;
1506
1506
  }
1507
- q(G.current[e], e), n = !0;
1507
+ J(K.current[e], e), n = !0;
1508
1508
  break;
1509
1509
  }
1510
1510
  case "End":
1511
1511
  case "PageDown": {
1512
- let e = G.current.length - 1;
1513
- for (let t = G.current.length - 1; t >= 0; t--) if (!K.current[t]?.disabled) {
1512
+ let e = K.current.length - 1;
1513
+ for (let t = K.current.length - 1; t >= 0; t--) if (!q.current[t]?.disabled) {
1514
1514
  e = t;
1515
1515
  break;
1516
1516
  }
1517
- q(G.current[e], e), n = !0;
1517
+ J(K.current[e], e), n = !0;
1518
1518
  break;
1519
1519
  }
1520
1520
  case "Tab":
1521
- ie();
1521
+ re();
1522
1522
  break;
1523
1523
  default:
1524
- a(t) && (J(t), n = !0);
1524
+ a(t) && (Y(t), n = !0);
1525
1525
  break;
1526
1526
  }
1527
1527
  n && (e.stopPropagation(), e.preventDefault());
1528
1528
  }
1529
1529
  }, le = (e) => {
1530
- R.current && !R.current.contains(e.target) && z && ie();
1530
+ R.current && !R.current.contains(e.target) && z && re();
1531
1531
  }, ue = (t, n, r = "", i = "", ...a) => {
1532
1532
  let o = F + (r ? `-group-${r}` : "") + "-item-" + (n + 1), s = "id" in t && t.id ? t.id : o;
1533
1533
  if (ft(t)) return /* @__PURE__ */ e.createElement("li", {
@@ -1545,7 +1545,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
1545
1545
  role: "presentation"
1546
1546
  }, t.nodeContent);
1547
1547
  if (mt(t) || "label" in t && t.label) {
1548
- G.current.push(s), K.current.push(t);
1548
+ K.current.push(s), q.current.push(t);
1549
1549
  let n = !1;
1550
1550
  U !== "" && !t.disabled && (n = U === s);
1551
1551
  let r = "isCritical" in t && t.isCritical, i = "criticalLabel" in t ? t.criticalLabel : void 0, o = [];
@@ -1590,14 +1590,14 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
1590
1590
  t === i ? (n.push(a), a = [], a.push(t), i = r.shift()) : (a.push(t), o + 1 === e.length && n.push(a));
1591
1591
  }), n.filter((e) => e.length > 0);
1592
1592
  }, fe = (t) => {
1593
- G.current = [], K.current = [];
1593
+ K.current = [], q.current = [];
1594
1594
  let n = t, i = t.filter(pt || ft), a = i.length > 0, o = [`${M}__listbox`];
1595
1595
  if (y && o.push(`${M}__listbox--navbar`), l === "end" && o.push(`${M}__listbox--end`), r === "icon-only" && o.push(`${M}__listbox--icon-only`), o = Z(o), a) {
1596
1596
  let n = de(t, i);
1597
1597
  n.forEach(() => {
1598
- ne.current.push(we());
1598
+ G.current.push(we());
1599
1599
  });
1600
- let r = ne.current[0], a = n[0].findIndex((e) => !ft(e) && !pt(e)), s = `${F}-group-${r}-item-${a + 1}`;
1600
+ let r = G.current[0], a = n[0].findIndex((e) => !ft(e) && !pt(e)), s = `${F}-group-${r}-item-${a + 1}`;
1601
1601
  return /* @__PURE__ */ e.createElement("div", {
1602
1602
  ref: w.setFloating,
1603
1603
  "aria-activedescendant": U === "" ? s : U,
@@ -1616,7 +1616,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
1616
1616
  },
1617
1617
  tabIndex: -1
1618
1618
  }, n.map((t, n) => {
1619
- r = ne.current[n];
1619
+ r = G.current[n];
1620
1620
  let i = "isHeading" in t[0] && t[0].isHeading, a = i ? `${F}-group-${r}-heading` : "", o = `${F}-group-${r}`, s = i ? null : `${_} ${n + 1}`;
1621
1621
  return /* @__PURE__ */ e.createElement("ul", {
1622
1622
  key: o,
@@ -2750,9 +2750,9 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
2750
2750
  }, message: u, onBlur: f, onFocus: p, onOptionSelect: g, options: _, required: v = !1, showLabel: y = !0, tooltipText: b = null, validationMessage: x, validationStatus: T, value: E, ...j }) => {
2751
2751
  let M = Ge(s), N = "pds-select", z = t ? `${N}--auto-width` : null, B = i ? $.disabled : null, V = v && !i ? $.required : null, H = T === "error" ? $.error : null, U = T === "success" ? $.success : null, ee = null;
2752
2752
  T === "error" && (ee = "error"), T === "success" && (ee = "success");
2753
- let W = x || u, te = E !== void 0, ne = r !== void 0, G = ((e) => e.reduce((e, t) => nt(t) ? [...e, ...t.options] : [...e, t], []))(_), K = (e) => G.findIndex((t) => t.value === e), q = te && K(E) >= 0 ? K(E) : null, re = ne ? K(r) : null, ie = q || re, [J, ae] = h(!1), [Y, oe] = h(null), [X, se] = h(ie ?? null), ce = X === null ? void 0 : G[X]?.label, le = X === null ? void 0 : G[X]?.icon, ue = X === null ? void 0 : G[X]?.value, de = m([]), { context: fe, floatingStyles: pe, refs: me } = A({
2754
- open: J,
2755
- onOpenChange: ae,
2753
+ let W = x || u, te = E !== void 0, G = r !== void 0, K = ((e) => e.reduce((e, t) => nt(t) ? [...e, ...t.options] : [...e, t], []))(_), q = (e) => K.findIndex((t) => t.value === e), J = te && q(E) >= 0 ? q(E) : null, ne = G ? q(r) : null, re = J || ne, [Y, ie] = h(!1), [ae, oe] = h(null), [X, se] = h(re ?? null), ce = X === null ? void 0 : K[X]?.label, le = X === null ? void 0 : K[X]?.icon, ue = X === null ? void 0 : K[X]?.value, de = m([]), { context: fe, floatingStyles: pe, refs: me } = A({
2754
+ open: Y,
2755
+ onOpenChange: ie,
2756
2756
  whileElementsMounted: S,
2757
2757
  placement: "bottom-start",
2758
2758
  strategy: "absolute",
@@ -2782,7 +2782,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
2782
2782
  ge,
2783
2783
  F(fe, {
2784
2784
  listRef: de,
2785
- activeIndex: Y,
2785
+ activeIndex: ae,
2786
2786
  selectedIndex: X,
2787
2787
  onNavigate: oe,
2788
2788
  loop: !0
@@ -2790,10 +2790,10 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
2790
2790
  he,
2791
2791
  R(fe, {
2792
2792
  listRef: de,
2793
- activeIndex: Y,
2793
+ activeIndex: ae,
2794
2794
  selectedIndex: X,
2795
2795
  onMatch: (e) => {
2796
- J || ae(!0), oe(e);
2796
+ Y || ie(!0), oe(e);
2797
2797
  },
2798
2798
  findMatch: (e, t) => {
2799
2799
  let n = t.toLowerCase();
@@ -2809,11 +2809,11 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
2809
2809
  open: { opacity: 1 },
2810
2810
  close: { opacity: 0 }
2811
2811
  }), Se = (e) => {
2812
- let t = G[e];
2813
- te || (se(e), ae(!1)), g && g(t);
2812
+ let t = K[e];
2813
+ te || (se(e), ie(!1)), g && g(t);
2814
2814
  };
2815
2815
  d(() => {
2816
- te && (se(K(E)), ae(!1));
2816
+ te && (se(q(E)), ie(!1));
2817
2817
  }, [E]);
2818
2818
  let Ce = () => {
2819
2819
  f && f(ue);
@@ -2840,8 +2840,8 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
2840
2840
  de.current[r] = e;
2841
2841
  },
2842
2842
  "aria-disabled": t?.disabled,
2843
- "aria-selected": r === X && r === Y,
2844
- tabIndex: r === Y ? 0 : -1,
2843
+ "aria-selected": r === X && r === ae,
2844
+ tabIndex: r === ae ? 0 : -1,
2845
2845
  ...!t?.disabled && ve({
2846
2846
  onClick() {
2847
2847
  Se(r);
@@ -2867,8 +2867,8 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
2867
2867
  de.current[r] = e;
2868
2868
  },
2869
2869
  "aria-disabled": t?.disabled,
2870
- "aria-selected": r === X && r === Y,
2871
- tabIndex: r === Y ? 0 : -1,
2870
+ "aria-selected": r === X && r === ae,
2871
+ tabIndex: r === ae ? 0 : -1,
2872
2872
  ...!t?.disabled && ve({
2873
2873
  onClick() {
2874
2874
  Se(r);
@@ -2899,7 +2899,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
2899
2899
  }, t && !s && /* @__PURE__ */ e.createElement("div", {
2900
2900
  "aria-hidden": "true",
2901
2901
  className: `${N}__sizer`
2902
- }, G.map((t) => /* @__PURE__ */ e.createElement("span", {
2902
+ }, K.map((t) => /* @__PURE__ */ e.createElement("span", {
2903
2903
  key: t.value,
2904
2904
  className: `${N}__input-wrapper`
2905
2905
  }, T !== void 0 && /* @__PURE__ */ e.createElement(Ze, { variant: "error" }), /* @__PURE__ */ e.createElement("span", { className: `${N}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${N}__option-text` }, t.icon && Ee(t.icon, `${N}__icon`), t.label), /* @__PURE__ */ e.createElement(Q, {
@@ -3440,7 +3440,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3440
3440
  let t = Math.abs(e);
3441
3441
  return t >= 1e9 ? `${(e / 1e9).toFixed(1).replace(/\.0$/, "")}B` : t >= 1e6 ? `${(e / 1e6).toFixed(1).replace(/\.0$/, "")}M` : t >= 1e3 ? `${(e / 1e3).toFixed(1).replace(/\.0$/, "")}K` : String(e);
3442
3442
  }, Nn = ({ barRadius: t = 2, chartHeight: n, chartWidth: r, className: i, colorPalette: a = "categorical", data: o = [], isLoading: s = !1, isThumbnail: c = !1, labelStrings: u = {}, layout: f = "horizontal", legendVariant: p = "inline", onTimePeriodChange: g, selectedTimePeriod: _, series: v = [], showAccessibleTable: y, showAxisLines: b, showGrid: x, showLegend: T, showTooltip: D, timePeriodOptions: O, tooltipContent: k, variant: j = "stacked", xAxisLabel: M, xAxisTickInterval: N, yAxisDomain: P, yAxisFormatter: F = Mn, yAxisLabel: I, yAxisTickInterval: R, ...z }) => {
3443
- let { accessibleTableDescription: U = "Bar chart data", emptyStateHeading: ee = "No data available", emptyStateMessage: W, legendTableHeader: te, loadingLabel: ne = "Loading chart data" } = u, G = m(null), J = $t(a, on(G, a)), ae = n ?? (c ? 60 : 360), Y = r ?? (c ? 60 : void 0), oe = x ?? !c, X = b ?? !c, se = T ?? !c, ce = D ?? !c, le = y ?? !0, [ue, de] = h(null), fe = m(ue);
3443
+ let { accessibleTableDescription: U = "Bar chart data", emptyStateHeading: ee = "No data available", emptyStateMessage: W, legendTableHeader: te, loadingLabel: G = "Loading chart data" } = u, K = m(null), Y = $t(a, on(K, a)), ie = n ?? (c ? 60 : 360), ae = r ?? (c ? 60 : void 0), oe = x ?? !c, X = b ?? !c, se = T ?? !c, ce = D ?? !c, le = y ?? !0, [ue, de] = h(null), fe = m(ue);
3444
3444
  ue && (fe.current = ue);
3445
3445
  let pe = m({ getBoundingClientRect: () => ({
3446
3446
  bottom: 0,
@@ -3485,31 +3485,31 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3485
3485
  de(null);
3486
3486
  }, []);
3487
3487
  if (s) return /* @__PURE__ */ e.createElement("div", {
3488
- ref: G,
3488
+ ref: K,
3489
3489
  "aria-busy": "true",
3490
- "aria-label": ne,
3490
+ "aria-label": G,
3491
3491
  className: Z([
3492
3492
  be,
3493
3493
  `${be}--loading`,
3494
3494
  i ?? ""
3495
3495
  ]),
3496
- style: { maxWidth: Y },
3496
+ style: { maxWidth: ae },
3497
3497
  ...z
3498
3498
  }, /* @__PURE__ */ e.createElement(jn, {
3499
- height: ae,
3499
+ height: ie,
3500
3500
  legendVariant: p,
3501
3501
  showLegend: se
3502
3502
  }));
3503
3503
  if (!o || o.length === 0) return /* @__PURE__ */ e.createElement("div", {
3504
- ref: G,
3504
+ ref: K,
3505
3505
  className: Z([
3506
3506
  be,
3507
3507
  `${be}--empty`,
3508
3508
  i ?? ""
3509
3509
  ]),
3510
3510
  style: {
3511
- height: ae,
3512
- maxWidth: Y
3511
+ height: ie,
3512
+ maxWidth: ae
3513
3513
  },
3514
3514
  ...z
3515
3515
  }, /* @__PURE__ */ e.createElement(Zt, {
@@ -3528,9 +3528,9 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3528
3528
  0
3529
3529
  ] : 0;
3530
3530
  return /* @__PURE__ */ e.createElement("div", {
3531
- ref: G,
3531
+ ref: K,
3532
3532
  className: Z([be, i ?? ""]),
3533
- style: Y ? { maxWidth: Y } : void 0,
3533
+ style: ae ? { maxWidth: ae } : void 0,
3534
3534
  ...z
3535
3535
  }, !c && O && O.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${be}__header` }, /* @__PURE__ */ e.createElement(Jt, {
3536
3536
  autoWidth: !0,
@@ -3547,8 +3547,8 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3547
3547
  "aria-hidden": "true",
3548
3548
  onMouseLeave: k ? void 0 : Ce,
3549
3549
  onMouseMove: ce && !k ? Se : void 0
3550
- }, /* @__PURE__ */ e.createElement(K, {
3551
- height: ae,
3550
+ }, /* @__PURE__ */ e.createElement(q, {
3551
+ height: ie,
3552
3552
  width: "100%"
3553
3553
  }, /* @__PURE__ */ e.createElement(V, {
3554
3554
  barGap: 6,
@@ -3570,7 +3570,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3570
3570
  stroke: "var(--pds-color-border-default)",
3571
3571
  strokeDasharray: "3 3",
3572
3572
  vertical: we
3573
- }), /* @__PURE__ */ e.createElement(re, {
3573
+ }), /* @__PURE__ */ e.createElement(ne, {
3574
3574
  axisLine: X,
3575
3575
  dataKey: we ? void 0 : "label",
3576
3576
  hide: !X,
@@ -3586,7 +3586,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3586
3586
  tickLine: !1,
3587
3587
  tickMargin: 10,
3588
3588
  type: we ? "number" : "category"
3589
- }), /* @__PURE__ */ e.createElement(ie, {
3589
+ }), /* @__PURE__ */ e.createElement(re, {
3590
3590
  axisLine: X,
3591
3591
  dataKey: we ? "label" : void 0,
3592
3592
  domain: P,
@@ -3604,7 +3604,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3604
3604
  tickLine: !1,
3605
3605
  tickMargin: 6,
3606
3606
  type: we ? "category" : "number"
3607
- }), ce && k && /* @__PURE__ */ e.createElement(q, {
3607
+ }), ce && k && /* @__PURE__ */ e.createElement(J, {
3608
3608
  content: (e) => !e.active || !e.payload?.length ? null : k({
3609
3609
  entries: e.payload.map((e) => ({
3610
3610
  color: String(e.color ?? ""),
@@ -3618,12 +3618,12 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3618
3618
  }), v.map((t, n) => /* @__PURE__ */ e.createElement(B, {
3619
3619
  key: t.dataKey,
3620
3620
  dataKey: t.dataKey,
3621
- fill: rn(n, J, t.color, en(a, t.paletteIndex)),
3621
+ fill: rn(n, Y, t.color, en(a, t.paletteIndex)),
3622
3622
  name: t.label,
3623
3623
  onMouseEnter: k ? void 0 : (e) => {
3624
3624
  let r = e;
3625
3625
  ce && r && de({
3626
- color: rn(n, J, t.color, en(a, t.paletteIndex)),
3626
+ color: rn(n, Y, t.color, en(a, t.paletteIndex)),
3627
3627
  label: String(r.label ?? ""),
3628
3628
  name: t.label,
3629
3629
  value: Number(r[t.dataKey] ?? 0)
@@ -3648,7 +3648,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3648
3648
  }), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-name" }, fe.current.name), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-separator" }, ": "), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-value" }, F(fe.current.value)))), se && /* @__PURE__ */ e.createElement(un, {
3649
3649
  data: o,
3650
3650
  series: v,
3651
- seriesColors: J,
3651
+ seriesColors: Y,
3652
3652
  tableHeader: te,
3653
3653
  valueFormatter: F,
3654
3654
  variant: p
@@ -3664,14 +3664,14 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3664
3664
  default: return;
3665
3665
  }
3666
3666
  }, Fn = ({ annotations: t, chartHeight: n, chartWidth: r, className: i, colorPalette: a = "categorical", data: o = [], isLoading: s = !1, isThumbnail: c = !1, labelStrings: l = {}, legendVariant: u = "inline", lineStyle: d = "smooth", onTimePeriodChange: f, referenceLines: p, selectedTimePeriod: h, series: g = [], showAccessibleTable: _, showAxisLines: v, showDataPoints: y, showGrid: b, showLegend: x, showTooltip: S, timePeriodOptions: C, tooltipContent: w, xAxisLabel: T, xAxisTickInterval: E, yAxisDomain: D, yAxisFormatter: O = Mn, yAxisLabel: k, yAxisTickInterval: A, ...j }) => {
3667
- let { accessibleTableDescription: M = "Line chart data", emptyStateHeading: N = "No data available", emptyStateMessage: P, legendTableHeader: F, loadingLabel: I = "Loading chart data" } = l, L = m(null), R = $t(a, on(L, a)), z = n ?? (c ? 60 : 360), B = r ?? (c ? 60 : void 0), V = b ?? !c, U = v ?? !c, te = x ?? !c, ne = S ?? !c, J = y ?? !c, ae = _ ?? !0, Y = "pds-line-chart";
3667
+ let { accessibleTableDescription: M = "Line chart data", emptyStateHeading: N = "No data available", emptyStateMessage: P, legendTableHeader: F, loadingLabel: I = "Loading chart data" } = l, L = m(null), R = $t(a, on(L, a)), z = n ?? (c ? 60 : 360), B = r ?? (c ? 60 : void 0), V = b ?? !c, U = v ?? !c, te = x ?? !c, G = S ?? !c, Y = y ?? !c, ie = _ ?? !0, ae = "pds-line-chart";
3668
3668
  return s ? /* @__PURE__ */ e.createElement("div", {
3669
3669
  ref: L,
3670
3670
  "aria-busy": "true",
3671
3671
  "aria-label": I,
3672
3672
  className: Z([
3673
- Y,
3674
- `${Y}--loading`,
3673
+ ae,
3674
+ `${ae}--loading`,
3675
3675
  i ?? ""
3676
3676
  ]),
3677
3677
  style: { maxWidth: B },
@@ -3683,8 +3683,8 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3683
3683
  })) : !o || o.length === 0 ? /* @__PURE__ */ e.createElement("div", {
3684
3684
  ref: L,
3685
3685
  className: Z([
3686
- Y,
3687
- `${Y}--empty`,
3686
+ ae,
3687
+ `${ae}--empty`,
3688
3688
  i ?? ""
3689
3689
  ]),
3690
3690
  style: {
@@ -3697,12 +3697,12 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3697
3697
  message: P
3698
3698
  })) : /* @__PURE__ */ e.createElement("div", {
3699
3699
  ref: L,
3700
- className: Z([Y, i ?? ""]),
3700
+ className: Z([ae, i ?? ""]),
3701
3701
  style: B ? { maxWidth: B } : void 0,
3702
3702
  ...j
3703
- }, !c && C && C.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${Y}__header` }, /* @__PURE__ */ e.createElement(Jt, {
3703
+ }, !c && C && C.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${ae}__header` }, /* @__PURE__ */ e.createElement(Jt, {
3704
3704
  autoWidth: !0,
3705
- id: `${Y}-time-period`,
3705
+ id: `${ae}-time-period`,
3706
3706
  label: "Time period",
3707
3707
  onOptionSelect: (e) => f?.(e.value),
3708
3708
  options: C.map((e) => ({
@@ -3711,7 +3711,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3711
3711
  })),
3712
3712
  showLabel: !1,
3713
3713
  value: h
3714
- })), /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true" }, /* @__PURE__ */ e.createElement(K, {
3714
+ })), /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true" }, /* @__PURE__ */ e.createElement(q, {
3715
3715
  height: z,
3716
3716
  width: "100%"
3717
3717
  }, /* @__PURE__ */ e.createElement(W, {
@@ -3730,7 +3730,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3730
3730
  }, V && /* @__PURE__ */ e.createElement(H, {
3731
3731
  stroke: "var(--pds-color-border-default)",
3732
3732
  strokeDasharray: "3 3"
3733
- }), /* @__PURE__ */ e.createElement(re, {
3733
+ }), /* @__PURE__ */ e.createElement(ne, {
3734
3734
  axisLine: U,
3735
3735
  dataKey: "label",
3736
3736
  hide: !U,
@@ -3744,7 +3744,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3744
3744
  tick: U ? sn : !1,
3745
3745
  tickLine: !1,
3746
3746
  tickMargin: 10
3747
- }), /* @__PURE__ */ e.createElement(ie, {
3747
+ }), /* @__PURE__ */ e.createElement(re, {
3748
3748
  axisLine: U,
3749
3749
  domain: D,
3750
3750
  hide: !U,
@@ -3760,7 +3760,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3760
3760
  tickFormatter: O,
3761
3761
  tickLine: !1,
3762
3762
  tickMargin: 6
3763
- }), ne && /* @__PURE__ */ e.createElement(q, { content: (t) => {
3763
+ }), G && /* @__PURE__ */ e.createElement(J, { content: (t) => {
3764
3764
  if (!t.active || !t.payload?.length) return null;
3765
3765
  let n = t.payload.map((e) => ({
3766
3766
  color: String(e.color ?? ""),
@@ -3780,9 +3780,9 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3780
3780
  }), t.name, /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-separator" }, " ", ":", " "), O(t.value))));
3781
3781
  } }), g.map((t, n) => /* @__PURE__ */ e.createElement(ee, {
3782
3782
  key: t.dataKey,
3783
- activeDot: J ? { r: 6 } : !1,
3783
+ activeDot: Y ? { r: 6 } : !1,
3784
3784
  dataKey: t.dataKey,
3785
- dot: J ? {
3785
+ dot: Y ? {
3786
3786
  fill: rn(n, R, t.color, en(a, t.paletteIndex)),
3787
3787
  r: 4,
3788
3788
  strokeWidth: 0
@@ -3794,7 +3794,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3794
3794
  type: d === "straight" ? "linear" : "monotone"
3795
3795
  })), !c && p?.map((t, n) => {
3796
3796
  let r = t.color ?? "var(--pds-color-fg-default-secondary)";
3797
- return /* @__PURE__ */ e.createElement(G, {
3797
+ return /* @__PURE__ */ e.createElement(K, {
3798
3798
  key: `ref-y-${n}`,
3799
3799
  label: ({ viewBox: n }) => {
3800
3800
  let r = (n?.x ?? 0) + (n?.width ?? 0) / 2, i = (n?.y ?? 0) - 8;
@@ -3814,7 +3814,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3814
3814
  });
3815
3815
  }), !c && t?.map((t, n) => {
3816
3816
  let r = t.color ?? "var(--pds-color-fg-default-secondary)";
3817
- return /* @__PURE__ */ e.createElement(G, {
3817
+ return /* @__PURE__ */ e.createElement(K, {
3818
3818
  key: `annotation-${n}`,
3819
3819
  label: ({ viewBox: n }) => {
3820
3820
  let r = (n?.x ?? 0) + (n?.width ?? 0) / 2, i = (n?.y ?? 0) - 8;
@@ -3839,7 +3839,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3839
3839
  tableHeader: F,
3840
3840
  valueFormatter: O,
3841
3841
  variant: u
3842
- }), ae && /* @__PURE__ */ e.createElement(ln, {
3842
+ }), ie && /* @__PURE__ */ e.createElement(ln, {
3843
3843
  data: o,
3844
3844
  description: M,
3845
3845
  series: g,
@@ -3876,7 +3876,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3876
3876
  d(() => {
3877
3877
  U.setReference(B.current);
3878
3878
  }, [U]);
3879
- let ne = l((e) => {
3879
+ let G = l((e) => {
3880
3880
  B.current.getBoundingClientRect = () => ({
3881
3881
  bottom: e.clientY,
3882
3882
  height: 0,
@@ -3887,7 +3887,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3887
3887
  x: e.clientX,
3888
3888
  y: e.clientY
3889
3889
  }), ee();
3890
- }, [ee]), G = l(() => {
3890
+ }, [ee]), K = l(() => {
3891
3891
  R(null);
3892
3892
  }, []);
3893
3893
  return o ? /* @__PURE__ */ e.createElement("div", {
@@ -3925,8 +3925,8 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
3925
3925
  }, /* @__PURE__ */ e.createElement("div", {
3926
3926
  "aria-hidden": "true",
3927
3927
  className: `${k}__track`,
3928
- onMouseLeave: N ? G : void 0,
3929
- onMouseMove: N ? ne : void 0,
3928
+ onMouseLeave: N ? K : void 0,
3929
+ onMouseMove: N ? G : void 0,
3930
3930
  style: { height: t }
3931
3931
  }, a.map((t, n) => {
3932
3932
  let r = F(n, t), i = Math.round(t.value / P * 100);
@@ -4267,6 +4267,8 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
4267
4267
  }(typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {});
4268
4268
  t !== void 0 && t.exports && (t.exports = n), typeof global < "u" && (global.Prism = n);
4269
4269
  })))(), 1);
4270
+ typeof globalThis < "u" && (globalThis.Prism = Rn.default);
4271
+ var zn = Rn.default;
4270
4272
  //#endregion
4271
4273
  //#region node_modules/prismjs/components/prism-diff.js
4272
4274
  (function(e) {
@@ -4475,7 +4477,7 @@ var Ie = "cubic-bezier(.2, 0, 0, 1)", Le = "cubic-bezier(.2, 0, 0, 1)", Re = ({
4475
4477
  })(Prism);
4476
4478
  //#endregion
4477
4479
  //#region src/components/CodeBlock/themes/pdsDark.ts
4478
- var zn = {
4480
+ var Bn = {
4479
4481
  plain: {
4480
4482
  color: "var(--pds-color-code-block-dark-foreground)",
4481
4483
  backgroundColor: "var(--pds-color-code-block-dark-background)"
@@ -4551,7 +4553,7 @@ var zn = {
4551
4553
  style: { color: "#a0f76e" }
4552
4554
  }
4553
4555
  ]
4554
- }, Bn = {
4556
+ }, Vn = {
4555
4557
  plain: {
4556
4558
  color: "var(--pds-color-code-block-light-foreground)",
4557
4559
  backgroundColor: "#f4f4f4"
@@ -4627,10 +4629,10 @@ var zn = {
4627
4629
  style: { color: "#217A37" }
4628
4630
  }
4629
4631
  ]
4630
- }, Vn = ({ className: t, code: n, colorType: r = "dark", copyButtonLabel: i = "Copy to clipboard", hasCopyButton: a, hasLineNumbers: o, hasPrompt: s, height: c, isLoading: l, language: u, loadingLineCount: d = 1, maxHeight: f, promptSymbol: p = "$", renderAsLegacy: m = !1, shouldWrap: h = !1, ...g }) => {
4632
+ }, Hn = ({ className: t, code: n, colorType: r = "dark", copyButtonLabel: i = "Copy to clipboard", hasCopyButton: a, hasLineNumbers: o, hasPrompt: s, height: c, isLoading: l, language: u, loadingLineCount: d = 1, maxHeight: f, promptSymbol: p = "$", renderAsLegacy: m = !1, shouldWrap: h = !1, ...g }) => {
4631
4633
  let _ = "pds-code-block", v = `${_}--${r}`, y = h ? `${_}__line-wrapped` : "", b = {};
4632
4634
  c && (b.height = `${c}rem`), f && (b.maxHeight = `${f}rem`);
4633
- let x = r === "dark" ? "reverse" : "standard", S = r === "dark" ? zn : Bn, C = /* @__PURE__ */ e.createElement("div", { className: `${_}__code` }, /* @__PURE__ */ e.createElement(kn, {
4635
+ let x = r === "dark" ? "reverse" : "standard", S = r === "dark" ? Bn : Vn, C = /* @__PURE__ */ e.createElement("div", { className: `${_}__code` }, /* @__PURE__ */ e.createElement(kn, {
4634
4636
  className: `${_}__skeleton`,
4635
4637
  colorType: r === "dark" ? "bold" : "regular",
4636
4638
  shape: o || s ? "code-block-prefix" : "code-block",
@@ -4675,7 +4677,7 @@ var zn = {
4675
4677
  variant: x
4676
4678
  }))));
4677
4679
  }
4678
- let D = /* @__PURE__ */ e.createElement(J.LineContent, null, /* @__PURE__ */ e.createElement(J.Token, null)), O = /* @__PURE__ */ e.createElement("div", { className: `${_}__line ${y}` }, /* @__PURE__ */ e.createElement(J.LineNumber, { className: `${_}__number` }), D), k = /* @__PURE__ */ e.createElement("div", { className: `${_}__line` }, /* @__PURE__ */ e.createElement("span", { className: `${_}__prompt` }, p), D);
4680
+ let D = /* @__PURE__ */ e.createElement(Y.LineContent, null, /* @__PURE__ */ e.createElement(Y.Token, null)), O = /* @__PURE__ */ e.createElement("div", { className: `${_}__line ${y}` }, /* @__PURE__ */ e.createElement(Y.LineNumber, { className: `${_}__number` }), D), k = /* @__PURE__ */ e.createElement("div", { className: `${_}__line` }, /* @__PURE__ */ e.createElement("span", { className: `${_}__prompt` }, p), D);
4679
4681
  return /* @__PURE__ */ e.createElement("div", {
4680
4682
  className: Z([
4681
4683
  _,
@@ -4684,12 +4686,12 @@ var zn = {
4684
4686
  ]),
4685
4687
  style: b,
4686
4688
  ...g
4687
- }, l ? C : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(J, {
4689
+ }, l ? C : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(Y, {
4688
4690
  code: n,
4689
4691
  language: u || "",
4690
- prism: Rn.default,
4692
+ prism: zn,
4691
4693
  theme: S
4692
- }, /* @__PURE__ */ e.createElement(J.Code, {
4694
+ }, /* @__PURE__ */ e.createElement(Y.Code, {
4693
4695
  className: `${_}__code`,
4694
4696
  tabIndex: 0
4695
4697
  }, o || s ? o ? O : k : D)), a && /* @__PURE__ */ e.createElement("div", { className: `${_}__copy` }, /* @__PURE__ */ e.createElement(lt, {
@@ -4697,7 +4699,7 @@ var zn = {
4697
4699
  clipboardText: n,
4698
4700
  variant: x
4699
4701
  }))));
4700
- }, Hn = ({ className: t, linkContent: n, size: r = "md", ...i }) => {
4702
+ }, Un = ({ className: t, linkContent: n, size: r = "md", ...i }) => {
4701
4703
  let a = "pds-cta-link", o = r == "md" ? null : `${a}--${r}`;
4702
4704
  return /* @__PURE__ */ e.createElement("div", {
4703
4705
  className: Z([
@@ -4711,7 +4713,7 @@ var zn = {
4711
4713
  iconName: "arrowRight",
4712
4714
  iconSize: r === "sm" ? "md" : "lg"
4713
4715
  }));
4714
- }, Un = ({ backgroundColor: t = "default", className: n, containerWidth: r = "standard", headingLevel: i = "h2", headingText: a, leadText: o, primaryLinkContent: s, secondaryLinkContent: c, ...l }) => {
4716
+ }, Wn = ({ backgroundColor: t = "default", className: n, containerWidth: r = "standard", headingLevel: i = "h2", headingText: a, leadText: o, primaryLinkContent: s, secondaryLinkContent: c, ...l }) => {
4715
4717
  let u = "pds-cta-slice", d = t && t !== "default" ? `${u}--${t}` : null, f = r && r !== "standard" ? `pds-container pds-container--${r}` : "pds-container";
4716
4718
  return /* @__PURE__ */ e.createElement("div", {
4717
4719
  className: Z([
@@ -4725,7 +4727,7 @@ var zn = {
4725
4727
  className: "pds-ts-4xl",
4726
4728
  level: i
4727
4729
  }, a), o && /* @__PURE__ */ e.createElement("div", { className: `${u}__lead-text pds-lead-text pds-lead-text--sm` }, o), s && /* @__PURE__ */ e.createElement("div", { className: `${u}__links pds-button-group pds-button-group--lg` }, s, c)));
4728
- }, Wn = ({ className: t, stat: n, status: r, title: i, ...a }) => {
4730
+ }, Gn = ({ className: t, stat: n, status: r, title: i, ...a }) => {
4729
4731
  let o = "pds-dashboard-stat", s = {
4730
4732
  success: "circleCheck",
4731
4733
  warning: "diamondExclamation",
@@ -4741,7 +4743,7 @@ var zn = {
4741
4743
  className: `${o}__stat-status ${o}__stat-status--${r}`,
4742
4744
  iconName: s[r]
4743
4745
  }), n && /* @__PURE__ */ e.createElement("div", { className: `${o}__stat-value` }, n)));
4744
- }, Gn = ({ ariaLabel: t, children: n, className: r, closeButtonLabel: i = "Close drawer", disableOutsideClick: a, hasCloseButton: o = !0, isOpen: s = !1, placement: c = "right", setIsOpen: u = () => {}, size: f = "md", title: p, width: g, ..._ }) => {
4746
+ }, Kn = ({ ariaLabel: t, children: n, className: r, closeButtonLabel: i = "Close drawer", disableOutsideClick: a, hasCloseButton: o = !0, isOpen: s = !1, placement: c = "right", setIsOpen: u = () => {}, size: f = "md", title: p, width: g, ..._ }) => {
4745
4747
  let v = "pds-drawer", y = g ? null : `${v}--${f}`, b = `${v}--${c}`, x = g ? { width: g } : void 0, [S, C] = h(s), [w, T] = h(!1), E = m(null), { closeOverlay: D, openOverlay: O } = We();
4746
4748
  d(() => {
4747
4749
  s ? C(!0) : T(!1);
@@ -4777,7 +4779,7 @@ var zn = {
4777
4779
  e.key === "Escape" && k();
4778
4780
  };
4779
4781
  return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
4780
- }, [S, k]), S ? Y(/* @__PURE__ */ e.createElement(ae, {
4782
+ }, [S, k]), S ? ae(/* @__PURE__ */ e.createElement(ie, {
4781
4783
  active: w,
4782
4784
  focusTrapOptions: {
4783
4785
  clickOutsideDeactivates: !a,
@@ -4807,7 +4809,7 @@ var zn = {
4807
4809
  ariaLabel: i,
4808
4810
  onClick: k
4809
4811
  })), /* @__PURE__ */ e.createElement("div", { className: `${v}__content` }, n)))), document.body) : null;
4810
- }, Kn = ({ className: t, platform: n, videoId: r, videoTitle: i, ...a }) => {
4812
+ }, qn = ({ className: t, platform: n, videoId: r, videoTitle: i, ...a }) => {
4811
4813
  let o = /* @__PURE__ */ e.createElement("iframe", {
4812
4814
  allow: "autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media",
4813
4815
  src: `https://fast.wistia.net/embed/iframe/${r}`,
@@ -4838,7 +4840,7 @@ var zn = {
4838
4840
  className: Z(["pds-video-embed", t ?? ""]),
4839
4841
  ...a
4840
4842
  }, l);
4841
- }, qn = ({ alignment: t = "center", className: n, ctaRegion: r, heading: i, headingLevel: a = "h1", image: o, imageMarginLeft: s = "0", imageWidth: c = "40%", isWithinPanel: l, maxWidth: d = "1200px", message: f, video: p, ...m }) => {
4843
+ }, Jn = ({ alignment: t = "center", className: n, ctaRegion: r, heading: i, headingLevel: a = "h1", image: o, imageMarginLeft: s = "0", imageWidth: c = "40%", isWithinPanel: l, maxWidth: d = "1200px", message: f, video: p, ...m }) => {
4842
4844
  let h = !1, g = u(bt);
4843
4845
  g && (h = g.isMobile);
4844
4846
  let _ = "pds-horizontal-empty-state", v = `${_}--${t}`, y = h ? `${_}--isMobile` : null, b = l ? `${_}--panel` : null, x = p ? `${_}--video` : null, S = {
@@ -4846,7 +4848,7 @@ var zn = {
4846
4848
  marginLeft: s
4847
4849
  };
4848
4850
  f = typeof f == "string" ? /* @__PURE__ */ e.createElement("p", { className: `${_}__message` }, f) : /* @__PURE__ */ e.createElement("div", { className: `${_}__message` }, f);
4849
- let C = p && /* @__PURE__ */ e.createElement("div", { className: `${_}__media` }, /* @__PURE__ */ e.createElement(Kn, {
4851
+ let C = p && /* @__PURE__ */ e.createElement("div", { className: `${_}__media` }, /* @__PURE__ */ e.createElement(qn, {
4850
4852
  platform: p.platform,
4851
4853
  videoId: p.videoId
4852
4854
  }));
@@ -4873,7 +4875,7 @@ var zn = {
4873
4875
  className: `${_}__image`,
4874
4876
  src: o
4875
4877
  }) : o), !h && p && C);
4876
- }, Jn = ({ className: t, ctaRegion: n, heading: r, headingLevel: i = "h2", image: a, imageHeight: o = "120", imageWidth: s = "auto", message: c, ...l }) => {
4878
+ }, Yn = ({ className: t, ctaRegion: n, heading: r, headingLevel: i = "h2", image: a, imageHeight: o = "120", imageWidth: s = "auto", message: c, ...l }) => {
4877
4879
  let u = "pds-vertical-empty-state";
4878
4880
  return c = typeof c == "string" ? /* @__PURE__ */ e.createElement("p", { className: `${u}__message` }, c) : /* @__PURE__ */ e.createElement("div", { className: `${u}__message` }, c), /* @__PURE__ */ e.createElement("div", {
4879
4881
  className: Z([u, t ?? ""]),
@@ -4889,7 +4891,7 @@ var zn = {
4889
4891
  className: "pds-ts-2xl pds-fw-bold",
4890
4892
  level: i
4891
4893
  }, r), c && c), n && /* @__PURE__ */ e.createElement("div", { className: `${u}__cta` }, n));
4892
- }, Yn = ({ additions: t = 4, className: n, componentWidth: r, deletions: i = 2, labelStrings: a = {
4894
+ }, Xn = ({ additions: t = 4, className: n, componentWidth: r, deletions: i = 2, labelStrings: a = {
4893
4895
  linesChanged: "lines changed",
4894
4896
  additions: "additions",
4895
4897
  deletions: "deletions"
@@ -4921,7 +4923,7 @@ var zn = {
4921
4923
  customTrigger: /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement("div", { className: `${s}__ahead-bar` })),
4922
4924
  preferredPlacement: "top"
4923
4925
  }))));
4924
- }, Xn = ({ className: t, contentAlignment: n = "indented", layoutDirection: r = "vertical", steps: i, ...a }) => {
4926
+ }, Zn = ({ className: t, contentAlignment: n = "indented", layoutDirection: r = "vertical", steps: i, ...a }) => {
4925
4927
  let o = "pds-flow-steps", s = `${o}--${n}`, c = r === "horizontal" ? `${o}--horizontal` : "", l = i.map(({ content: t, header: r }, i) => {
4926
4928
  let a = /* @__PURE__ */ e.createElement("div", { className: `${o}__number` }, /* @__PURE__ */ e.createElement("span", null, i + 1)), s = /* @__PURE__ */ e.createElement("div", { className: `${o}__header` }, r), c = t ? /* @__PURE__ */ e.createElement("div", { className: `${o}__content` }, t) : null, l = `${o}__step`;
4927
4929
  return /* @__PURE__ */ e.createElement("li", {
@@ -4939,7 +4941,7 @@ var zn = {
4939
4941
  style: r === "horizontal" ? { "--flow-steps-columns": i.length } : void 0,
4940
4942
  ...a
4941
4943
  }, l);
4942
- }, Zn = ({ className: t, headingLevel: n = "h3", headingText: r, ...i }) => {
4944
+ }, Qn = ({ className: t, headingLevel: n = "h3", headingText: r, ...i }) => {
4943
4945
  let a = n;
4944
4946
  return /* @__PURE__ */ e.createElement(a, {
4945
4947
  className: Z([
@@ -4949,12 +4951,12 @@ var zn = {
4949
4951
  ]),
4950
4952
  ...i
4951
4953
  }, r);
4952
- }, Qn = ({ className: t, headingLevel: n, headingText: r, linkItems: i, ...a }) => {
4954
+ }, $n = ({ className: t, headingLevel: n, headingText: r, linkItems: i, ...a }) => {
4953
4955
  let o = "pds-footer-links";
4954
4956
  return /* @__PURE__ */ e.createElement("div", {
4955
4957
  className: Z([o, t]),
4956
4958
  ...a
4957
- }, r && /* @__PURE__ */ e.createElement(Zn, {
4959
+ }, r && /* @__PURE__ */ e.createElement(Qn, {
4958
4960
  className: `${o}__heading`,
4959
4961
  headingLevel: n,
4960
4962
  headingText: r
@@ -4965,7 +4967,14 @@ var zn = {
4965
4967
  key: n,
4966
4968
  className: `${o}__item`
4967
4969
  }, t))));
4968
- }, $n = ({ as: t = "div", children: n, className: r, containerWidth: i = "standard", hasTopBorder: a, legalLinks: o = [
4970
+ }, er = {
4971
+ privacy: /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Privacy Policy"),
4972
+ dataSubjectRequest: /* @__PURE__ */ e.createElement("a", { href: "http://pantheon.io/data-subject-request" }, "Data Subject Request"),
4973
+ cookiePolicy: /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Cookie Policy"),
4974
+ termsOfUse: /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Terms of Use"),
4975
+ acceptableUse: /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Acceptable Use Policy"),
4976
+ accessibilityStatement: /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/accessibility-statement" }, "Accessibility Statement")
4977
+ }, tr = (e) => typeof e == "string", nr = ({ as: t = "div", children: n, className: r, containerWidth: i = "standard", hasTopBorder: a, legalLinks: o = [
4969
4978
  "privacy",
4970
4979
  "dataSubjectRequest",
4971
4980
  "cookiePolicy",
@@ -4973,7 +4982,7 @@ var zn = {
4973
4982
  "acceptableUse",
4974
4983
  "accessibilityStatement"
4975
4984
  ], ...s }) => {
4976
- let c = "pds-site-footer", l = a ? `${c}--border` : null, u = i && i !== "standard" ? `pds-container pds-container--${i}` : "pds-container", d = (/* @__PURE__ */ new Date()).getFullYear(), f = o.includes("privacy"), p = o.includes("dataSubjectRequest"), m = o.includes("cookiePolicy"), h = o.includes("termsOfUse"), g = o.includes("acceptableUse"), _ = o.includes("accessibilityStatement");
4985
+ let c = "pds-site-footer", l = a ? `${c}--border` : null, u = i && i !== "standard" ? `pds-container pds-container--${i}` : "pds-container", d = (/* @__PURE__ */ new Date()).getFullYear();
4977
4986
  return /* @__PURE__ */ e.createElement(t, {
4978
4987
  className: Z([
4979
4988
  c,
@@ -4981,8 +4990,8 @@ var zn = {
4981
4990
  r ?? ""
4982
4991
  ]),
4983
4992
  ...s
4984
- }, /* @__PURE__ */ e.createElement("div", { className: u }, n && /* @__PURE__ */ e.createElement("div", { className: `${c}__content` }, n), /* @__PURE__ */ e.createElement("div", { className: `${c}__legal` }, /* @__PURE__ */ e.createElement("span", { className: `${c}__copyright` }, "© ", d, " Pantheon Systems, Inc."), f && /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Privacy Policy"), p && /* @__PURE__ */ e.createElement("a", { href: "http://pantheon.io/data-subject-request" }, "Data Subject Request"), m && /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Cookie Policy"), h && /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Terms of Use"), g && /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Acceptable Use Policy"), _ && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/accessibility-statement" }, "Accessibility Statement"))));
4985
- }, er = s(({ checked: t, className: n, defaultChecked: r, disabled: i, id: a, indeterminate: o, inputProps: s, inputWidth: c, label: u, message: d, name: f, nestingLevel: p = 0, onBlur: m, onChange: g, onFocus: _, required: v, showLabel: y = !0, size: b = "M", validationMessage: x, validationStatus: S, value: C, ...w }, T) => {
4993
+ }, /* @__PURE__ */ e.createElement("div", { className: u }, n && /* @__PURE__ */ e.createElement("div", { className: `${c}__content` }, n), /* @__PURE__ */ e.createElement("div", { className: `${c}__legal` }, /* @__PURE__ */ e.createElement("span", { className: `${c}__copyright` }, "© ", d, " Pantheon Systems, Inc."), o.map((t, n) => tr(t) ? /* @__PURE__ */ e.createElement(e.Fragment, { key: t }, er[t]) : /* @__PURE__ */ e.createElement(e.Fragment, { key: n }, t)))));
4994
+ }, rr = s(({ checked: t, className: n, defaultChecked: r, disabled: i, id: a, indeterminate: o, inputProps: s, inputWidth: c, label: u, message: d, name: f, nestingLevel: p = 0, onBlur: m, onChange: g, onFocus: _, required: v, showLabel: y = !0, size: b = "M", validationMessage: x, validationStatus: S, value: C, ...w }, T) => {
4986
4995
  let E = c ? { width: `${c / 16}rem` } : null, D = "pds-checkbox", O = i ? $.disabled : null, k = S === "error" ? $.error : null, A = p > 0 ? `${D}--indent-${p}` : null, j = v && !i ? $.required : null, M = b === "S" ? `${D}--sm` : null, N = S === "success" ? $.success : null, P = x || d, F = t !== void 0, [I, L] = h(r === void 0 ? !1 : r), R = t || I, z = (e) => {
4987
4996
  F || L(e.target.checked), g && g(e);
4988
4997
  }, B = `${D}__box`, V = o ? null : R ? `${B}--checked` : null, H = o ? `${B}--indeterminate` : null, U = l(() => {
@@ -5040,7 +5049,7 @@ var zn = {
5040
5049
  message: P,
5041
5050
  validationStatus: S
5042
5051
  }));
5043
- }), tr = ({ children: t, className: n, disabled: r = !1, fieldsetProps: i, id: a, inputWidth: o, label: s, message: c, required: l = !1, showLabel: u = !0, tooltipText: d = null, validationMessage: f, validationStatus: p, ...m }) => {
5052
+ }), ir = ({ children: t, className: n, disabled: r = !1, fieldsetProps: i, id: a, inputWidth: o, label: s, message: c, required: l = !1, showLabel: u = !0, tooltipText: d = null, validationMessage: f, validationStatus: p, ...m }) => {
5044
5053
  let h = o ? { width: `${o / 16}rem` } : null, g = "pds-checkbox-group", _ = r ? $.disabled : null, v = l && !r ? $.required : null, y = p === "error" ? $.error : null, b = p === "success" ? $.success : null, x = f || c;
5045
5054
  return /* @__PURE__ */ e.createElement("div", {
5046
5055
  className: Z([
@@ -5072,7 +5081,7 @@ var zn = {
5072
5081
  message: x,
5073
5082
  validationStatus: p
5074
5083
  }));
5075
- }, nr = ({ className: t, disabled: n = !1, fieldsetProps: r, id: i, inputWidth: a, label: o, message: s, onGroupBlur: c, onValueChange: l, options: u, required: d = !1, showLabel: f = !0, tooltipText: p = null, validationMessage: m, validationStatus: g, ..._ }) => {
5084
+ }, ar = ({ className: t, disabled: n = !1, fieldsetProps: r, id: i, inputWidth: a, label: o, message: s, onGroupBlur: c, onValueChange: l, options: u, required: d = !1, showLabel: f = !0, tooltipText: p = null, validationMessage: m, validationStatus: g, ..._ }) => {
5076
5085
  let v = a ? { width: `${a / 16}rem` } : null, y = "pds-checkbox-group", b = n ? $.disabled : null, x = d && !n ? $.required : null, S = g === "error" ? $.error : null, C = g === "success" ? $.success : null, w = m || s;
5077
5086
  u.map((e) => {
5078
5087
  e.id || (e.id = e.value);
@@ -5116,7 +5125,7 @@ var zn = {
5116
5125
  required: d,
5117
5126
  showLabel: f,
5118
5127
  tooltipText: p
5119
- }), /* @__PURE__ */ e.createElement("div", { className: `${y}__options` }, u.map((t) => /* @__PURE__ */ e.createElement(er, {
5128
+ }), /* @__PURE__ */ e.createElement("div", { className: `${y}__options` }, u.map((t) => /* @__PURE__ */ e.createElement(rr, {
5120
5129
  key: t.id,
5121
5130
  checked: t.checked,
5122
5131
  className: `${y}__checkbox`,
@@ -5134,18 +5143,18 @@ var zn = {
5134
5143
  message: w,
5135
5144
  validationStatus: g
5136
5145
  }));
5137
- }, rr = s(({ className: t, defaultValue: n, disabled: r = !1, hasClearButton: i = !0, hasDropdownTrigger: a = !1, hasSearchIcon: o = !0, hasSearchShortcut: s = !1, id: c, inputWidth: u, isLoading: f = !1, label: p, labelStrings: g = {
5146
+ }, or = s(({ className: t, defaultValue: n, disabled: r = !1, hasClearButton: i = !0, hasDropdownTrigger: a = !1, hasSearchIcon: o = !0, hasSearchShortcut: s = !1, id: c, inputWidth: u, isLoading: f = !1, label: p, labelStrings: g = {
5138
5147
  clearButton: "Clear input text",
5139
5148
  inputInstructions: "Type to search options",
5140
5149
  searchShortcut: "Press / to focus the search field",
5141
5150
  triggerButton: "Toggle dropdown menu"
5142
5151
  }, loadingText: _ = "Loading results...", message: v, noResultsText: y = "No results found", onBlur: b, onChange: x, onClear: T, onFocus: E, onOptionSelect: O, options: j, placeholder: M, required: N = !1, showLabel: R = !0, showUnfilteredOptions: z = !1, tooltipText: B = null, validationMessage: V, validationStatus: H, value: U, ...ee }, W) => {
5143
- let te = Ge(u), ne = "pds-combobox", G = r ? $.disabled : null, K = N && !r ? $.required : null, q = H === "error" ? $.error : null, re = H === "success" ? $.success : null, ie = null;
5144
- o && (ie = "search"), H === "error" && (ie = "error"), H === "success" && (ie = "success");
5145
- let J = V || v, ae = U !== void 0, Y = n !== void 0, oe = (e) => {
5152
+ let te = Ge(u), G = "pds-combobox", K = r ? $.disabled : null, q = N && !r ? $.required : null, J = H === "error" ? $.error : null, ne = H === "success" ? $.success : null, re = null;
5153
+ o && (re = "search"), H === "error" && (re = "error"), H === "success" && (re = "success");
5154
+ let Y = V || v, ie = U !== void 0, ae = n !== void 0, oe = (e) => {
5146
5155
  let t = j.find((t) => t.value === e);
5147
5156
  return t ? t.label : "";
5148
- }, [X, se] = h(!1), [ce, le] = h(null), [ue, de] = h(Y ? oe(n) : ""), [fe, pe] = h([]), me = ae ? U : ue, he = m([]), ge = m(null), { context: _e, floatingStyles: ve, refs: ye } = A({
5157
+ }, [X, se] = h(!1), [ce, le] = h(null), [ue, de] = h(ae ? oe(n) : ""), [fe, pe] = h([]), me = ie ? U : ue, he = m([]), ge = m(null), { context: _e, floatingStyles: ve, refs: ye } = A({
5149
5158
  open: X,
5150
5159
  onOpenChange: se,
5151
5160
  whileElementsMounted: S,
@@ -5193,17 +5202,17 @@ var zn = {
5193
5202
  }, [W, ye]), Ee = () => {
5194
5203
  se(!X);
5195
5204
  }, De = () => {
5196
- ae || de(""), le(null), se(!0), ge.current?.focus(), T && T();
5205
+ ie || de(""), le(null), se(!0), ge.current?.focus(), T && T();
5197
5206
  }, Oe = (e) => {
5198
5207
  let t = e.target.value;
5199
- x && x(e), ae || (t.length > 0 && (t = t.trimStart()), de(t)), t ? (le(null), se(!0)) : z || se(!1);
5208
+ x && x(e), ie || (t.length > 0 && (t = t.trimStart()), de(t)), t ? (le(null), se(!0)) : z || se(!1);
5200
5209
  }, ke = (e) => {
5201
5210
  b?.(e);
5202
5211
  }, Ae = (e) => {
5203
5212
  z && se(!0), E?.(e);
5204
5213
  }, je = (e) => {
5205
5214
  let t = fe[e];
5206
- ae || de(t.label), le(null), se(!1), O && O(t);
5215
+ ie || de(t.label), le(null), se(!1), O && O(t);
5207
5216
  }, Me = (e) => e.map((e) => {
5208
5217
  let { label: t, optionDisplay: n, searchIndex: r, value: i, ...a } = e, o = i || t, s = [t, i];
5209
5218
  return r && s.push(...r), {
@@ -5244,11 +5253,11 @@ var zn = {
5244
5253
  return /* @__PURE__ */ e.createElement("div", {
5245
5254
  className: Z([
5246
5255
  $.base,
5247
- ne,
5248
5256
  G,
5249
5257
  K,
5250
5258
  q,
5251
- re,
5259
+ J,
5260
+ ne,
5252
5261
  t ?? ""
5253
5262
  ]),
5254
5263
  style: u ? te : null,
@@ -5262,16 +5271,16 @@ var zn = {
5262
5271
  tooltipText: B
5263
5272
  }), /* @__PURE__ */ e.createElement("span", {
5264
5273
  ref: Te,
5265
- "aria-describedby": J ? `${c}__message` : null,
5274
+ "aria-describedby": Y ? `${c}__message` : null,
5266
5275
  "aria-disabled": r ? !0 : null,
5267
5276
  "aria-invalid": H === "error" ? !0 : null,
5268
5277
  "aria-required": N ? !0 : null,
5269
- className: `${ne}__input-wrapper`,
5278
+ className: `${G}__input-wrapper`,
5270
5279
  id: c
5271
- }, ie && /* @__PURE__ */ e.createElement(Ze, { variant: ie }), /* @__PURE__ */ e.createElement("input", {
5280
+ }, re && /* @__PURE__ */ e.createElement(Ze, { variant: re }), /* @__PURE__ */ e.createElement("input", {
5272
5281
  ref: ge,
5273
5282
  autoComplete: "off",
5274
- className: `${ne}__input`,
5283
+ className: `${G}__input`,
5275
5284
  id: `input-${c}`,
5276
5285
  ...Se({
5277
5286
  "aria-autocomplete": "list",
@@ -5296,38 +5305,38 @@ var zn = {
5296
5305
  }), a && /* @__PURE__ */ e.createElement("button", {
5297
5306
  "aria-expanded": X,
5298
5307
  "aria-label": g.triggerButton,
5299
- className: `${ne}__trigger`,
5308
+ className: `${G}__trigger`,
5300
5309
  disabled: r,
5301
5310
  onClick: Ee,
5302
5311
  type: "button"
5303
5312
  }, /* @__PURE__ */ e.createElement(Q, {
5304
- className: `${ne}__trigger-icon`,
5313
+ className: `${G}__trigger-icon`,
5305
5314
  iconName: "angleDown"
5306
5315
  }))), Ce && /* @__PURE__ */ e.createElement("div", {
5307
5316
  ref: ye.setFloating,
5308
- className: `${ne}__dropdown`,
5317
+ className: `${G}__dropdown`,
5309
5318
  style: {
5310
5319
  ...ve,
5311
5320
  zIndex: "var(--pds-z-index-dropdown)"
5312
5321
  },
5313
5322
  ...be()
5314
- }, /* @__PURE__ */ e.createElement("div", { style: { ...we } }, f ? /* @__PURE__ */ e.createElement("div", { className: `${ne}__loading` }, _) : fe.length > 0 ? /* @__PURE__ */ e.createElement("ul", {
5315
- className: `${ne}__options`,
5323
+ }, /* @__PURE__ */ e.createElement("div", { style: { ...we } }, f ? /* @__PURE__ */ e.createElement("div", { className: `${G}__loading` }, _) : fe.length > 0 ? /* @__PURE__ */ e.createElement("ul", {
5324
+ className: `${G}__options`,
5316
5325
  role: "group"
5317
- }, Ne) : /* @__PURE__ */ e.createElement("div", { className: `${ne}__no-results` }, y))), J && /* @__PURE__ */ e.createElement(Ye, {
5326
+ }, Ne) : /* @__PURE__ */ e.createElement("div", { className: `${G}__no-results` }, y))), Y && /* @__PURE__ */ e.createElement(Ye, {
5318
5327
  hasValidationMessage: !!V,
5319
5328
  id: c,
5320
- message: J,
5329
+ message: Y,
5321
5330
  validationMessageHasDecorators: !1,
5322
5331
  validationStatus: H
5323
5332
  }));
5324
- }), ir = (e, t, n) => {
5333
+ }), sr = (e, t, n) => {
5325
5334
  let r = n.toLowerCase();
5326
5335
  return e.filter((e) => e.label.toLowerCase().includes(r)).map((e) => ({
5327
5336
  ...e,
5328
5337
  isAlreadySelected: t.some((t) => t.id === e.id)
5329
5338
  })).sort((e, t) => e.badge && !t.badge ? -1 : !e.badge && t.badge ? 1 : 0);
5330
- }, ar = ({ auxiliaryPanel: t, className: n, disabled: r = !1, id: i, initialSelectedItems: a = [], inputWidth: o, isLoading: s = !1, label: c = "Lorem ipsum dolor sit:", labelStrings: l = {
5339
+ }, cr = ({ auxiliaryPanel: t, className: n, disabled: r = !1, id: i, initialSelectedItems: a = [], inputWidth: o, isLoading: s = !1, label: c = "Lorem ipsum dolor sit:", labelStrings: l = {
5331
5340
  aiBadgeLabel: "Suggested",
5332
5341
  aiPanelButton: "Show AI suggestions",
5333
5342
  aiPanelClose: "Close suggestions panel",
@@ -5335,7 +5344,7 @@ var zn = {
5335
5344
  inputInstructions: "Type to search options",
5336
5345
  triggerButton: "Toggle dropdown menu"
5337
5346
  }, loadingText: u = "Loading results...", noResultsText: d = "No results found", onChange: f, options: m, placeholder: g = "Filter", required: _ = !1, showAllTags: v = !1, showLabel: y = !0, ...b }) => {
5338
- let x = Ge(o), T = "pds-combobox-multi", E = r ? $.disabled : null, O = _ && !r ? $.required : null, j = v ? `${T}--show-all-tags` : null, [M, N] = h(""), [F, I] = h(a), [L, R] = h(null), [z, B] = h(!1), V = p(() => ir(m, F, M), [
5347
+ let x = Ge(o), T = "pds-combobox-multi", E = r ? $.disabled : null, O = _ && !r ? $.required : null, j = v ? `${T}--show-all-tags` : null, [M, N] = h(""), [F, I] = h(a), [L, R] = h(null), [z, B] = h(!1), V = p(() => sr(m, F, M), [
5339
5348
  m,
5340
5349
  F,
5341
5350
  M
@@ -5357,7 +5366,7 @@ var zn = {
5357
5366
  default: break;
5358
5367
  }
5359
5368
  }
5360
- }), { closeMenu: ne, getInputProps: G, getItemProps: K, getMenuProps: q, getToggleButtonProps: re, highlightedIndex: ie, isOpen: J, selectedItem: ae } = oe({
5369
+ }), { closeMenu: G, getInputProps: K, getItemProps: q, getMenuProps: J, getToggleButtonProps: ne, highlightedIndex: re, isOpen: Y, selectedItem: ie } = oe({
5361
5370
  items: V,
5362
5371
  itemToString: (e) => e ? e.label : "",
5363
5372
  selectedItem: null,
@@ -5391,8 +5400,8 @@ var zn = {
5391
5400
  default: break;
5392
5401
  }
5393
5402
  }
5394
- }), { floatingStyles: Y, refs: se } = A({
5395
- open: J,
5403
+ }), { floatingStyles: ae, refs: se } = A({
5404
+ open: Y,
5396
5405
  whileElementsMounted: S,
5397
5406
  placement: "bottom-start",
5398
5407
  strategy: "absolute",
@@ -5427,7 +5436,7 @@ var zn = {
5427
5436
  }), { getFloatingProps: de } = P([k(ce)]), fe = () => {
5428
5437
  if (r) return;
5429
5438
  let e = !z;
5430
- B(e), e && J && ne();
5439
+ B(e), e && Y && G();
5431
5440
  }, pe = (e) => {
5432
5441
  r || (e.isAlreadySelected ? U(F.filter((t) => t.id !== e.id)) : U([...F, e]));
5433
5442
  }, me = () => {
@@ -5443,13 +5452,13 @@ var zn = {
5443
5452
  }, _e = (e) => {
5444
5453
  r || e.currentTarget.setAttribute("data-focus-method", "mouse");
5445
5454
  }, ve = (e) => {
5446
- if (e.currentTarget.setAttribute("data-focus-method", "keyboard"), !r && ((e.key === "Backspace" || e.key === "Delete") && !M && F.length > 0 && (e.preventDefault(), ge()), e.key === "Enter" && L !== null && (e.preventDefault(), ge()), e.key === "ArrowDown" && !J)) {
5455
+ if (e.currentTarget.setAttribute("data-focus-method", "keyboard"), !r && ((e.key === "Backspace" || e.key === "Delete") && !M && F.length > 0 && (e.preventDefault(), ge()), e.key === "Enter" && L !== null && (e.preventDefault(), ge()), e.key === "ArrowDown" && !Y)) {
5447
5456
  e.preventDefault();
5448
5457
  let t = e.nativeEvent;
5449
- re().onClick?.(t);
5458
+ ne().onClick?.(t);
5450
5459
  }
5451
- }, ye = G({
5452
- ...ee({ preventKeyAction: J }),
5460
+ }, ye = K({
5461
+ ...ee({ preventKeyAction: Y }),
5453
5462
  disabled: r,
5454
5463
  onKeyDown: ve
5455
5464
  }), be = F.length === 2 ? /* @__PURE__ */ e.createElement("span", { className: `${T}__counter-item` }, F.length - 1) : F.length === 3 ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${T}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${T}__counter-item` }, F.length - 1)) : F.length > 3 ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${T}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${T}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${T}__counter-item` }, F.length - 1)) : "";
@@ -5510,16 +5519,16 @@ var zn = {
5510
5519
  className: `${T}__trigger ${E}`,
5511
5520
  disabled: r,
5512
5521
  type: "button",
5513
- ...re()
5522
+ ...ne()
5514
5523
  }, /* @__PURE__ */ e.createElement(Q, {
5515
5524
  className: `${T}__trigger-icon`,
5516
5525
  iconName: "angleDown"
5517
- }))), J && /* @__PURE__ */ e.createElement("div", {
5526
+ }))), Y && /* @__PURE__ */ e.createElement("div", {
5518
5527
  ...ee(),
5519
5528
  ref: se.setFloating,
5520
5529
  className: `${T}__dropdown`,
5521
5530
  style: {
5522
- ...Y,
5531
+ ...ae,
5523
5532
  zIndex: "var(--pds-z-index-dropdown)"
5524
5533
  }
5525
5534
  }, /* @__PURE__ */ e.createElement("div", { className: `${T}__dropdown-input-wrapper` }, /* @__PURE__ */ e.createElement(Ze, { variant: "search" }), /* @__PURE__ */ e.createElement("input", {
@@ -5532,14 +5541,14 @@ var zn = {
5532
5541
  }
5533
5542
  })), s ? /* @__PURE__ */ e.createElement("div", { className: `${T}__loading` }, u) : V.length > 0 ? /* @__PURE__ */ e.createElement("ul", {
5534
5543
  className: `${T}__dropdown-list`,
5535
- ...q()
5544
+ ...J()
5536
5545
  }, V.map((t, n) => /* @__PURE__ */ e.createElement(rt, {
5537
5546
  key: `${t.id}-${n}`,
5538
5547
  className: `${T}__dropdown-item
5539
- ${ie === n ? `${T}__dropdown-item--highlighted` : ""}
5540
- ${ae === t ? `${T}__dropdown-item--selected` : ""}
5548
+ ${re === n ? `${T}__dropdown-item--highlighted` : ""}
5549
+ ${ie === t ? `${T}__dropdown-item--selected` : ""}
5541
5550
  ${t.isAlreadySelected ? `${T}__dropdown-item--active` : ""}`,
5542
- ...K({
5551
+ ...q({
5543
5552
  item: t,
5544
5553
  index: n
5545
5554
  })
@@ -5580,7 +5589,7 @@ var zn = {
5580
5589
  onClick: me,
5581
5590
  type: "button"
5582
5591
  }, /* @__PURE__ */ e.createElement(Q, { iconName: "xmark" })))));
5583
- }, or = (e, t) => e ? se(e, "PP", { locale: t }) : "", sr = {
5592
+ }, lr = (e, t) => e ? se(e, "PP", { locale: t }) : "", ur = {
5584
5593
  clearButton: "Clear",
5585
5594
  doneButton: "Done",
5586
5595
  noDateSelected: "No date selected",
@@ -5590,7 +5599,7 @@ var zn = {
5590
5599
  pleaseSelectEndDate: ". Please select an end date.",
5591
5600
  selectedDateRange: "Selected date range: ",
5592
5601
  to: " to "
5593
- }, cr = ({ className: t, disabled: n = !1, hasDateRange: r, id: i, inputWidth: a, label: o, locale: s, maxDate: c, minDate: l, onChange: u, onInitialize: f, placeholder: p, presets: m, required: g = !1, showLabel: _ = !0, tooltipText: v, translationStrings: y = sr, value: b, ...x }) => {
5602
+ }, dr = ({ className: t, disabled: n = !1, hasDateRange: r, id: i, inputWidth: a, label: o, locale: s, maxDate: c, minDate: l, onChange: u, onInitialize: f, placeholder: p, presets: m, required: g = !1, showLabel: _ = !0, tooltipText: v, translationStrings: y = ur, value: b, ...x }) => {
5594
5603
  let T = () => {
5595
5604
  if (!m || !r) return "";
5596
5605
  let e = m.find((e) => e.active);
@@ -5668,9 +5677,9 @@ var zn = {
5668
5677
  U(e);
5669
5678
  }, te = () => {
5670
5679
  O(void 0), u?.(void 0), F("");
5671
- }, ne = () => {
5680
+ }, G = () => {
5672
5681
  j(!1);
5673
- }, G = (e) => {
5682
+ }, K = (e) => {
5674
5683
  let t = m?.find((t) => t.label === e);
5675
5684
  if (!t) return;
5676
5685
  F(e);
@@ -5678,7 +5687,7 @@ var zn = {
5678
5687
  O(n), u?.(n), r || setTimeout(() => {
5679
5688
  j(!1);
5680
5689
  }, 300);
5681
- }, K = () => r ? D?.from : D, q = ({ className: t, orientation: n }) => n === "left" ? /* @__PURE__ */ e.createElement(Q, {
5690
+ }, q = () => r ? D?.from : D, J = ({ className: t, orientation: n }) => n === "left" ? /* @__PURE__ */ e.createElement(Q, {
5682
5691
  className: t,
5683
5692
  iconName: "angleLeft",
5684
5693
  iconSize: "md"
@@ -5686,24 +5695,24 @@ var zn = {
5686
5695
  className: t,
5687
5696
  iconName: "angleRight",
5688
5697
  iconSize: "md"
5689
- }), re = (e) => se(e, "EEEEE", { locale: s }), ie = () => {
5698
+ }), ne = (e) => se(e, "EEEEE", { locale: s }), re = () => {
5690
5699
  let e = [];
5691
5700
  return l && e.push({ before: l }), c && e.push({ after: c }), e.length > 0 ? e : void 0;
5692
- }, J = () => {
5701
+ }, Y = () => {
5693
5702
  if (r) {
5694
5703
  let t = D;
5695
- return t?.from ? t.to ? /* @__PURE__ */ e.createElement(e.Fragment, null, or(t.from, s), /* @__PURE__ */ e.createElement("span", { className: `${L}__separator` }, " – "), or(t.to, s)) : or(t.from, s) : p || "";
5704
+ return t?.from ? t.to ? /* @__PURE__ */ e.createElement(e.Fragment, null, lr(t.from, s), /* @__PURE__ */ e.createElement("span", { className: `${L}__separator` }, " – "), lr(t.to, s)) : lr(t.from, s) : p || "";
5696
5705
  } else {
5697
5706
  let e = D;
5698
- return e ? or(e, s) : p || "";
5707
+ return e ? lr(e, s) : p || "";
5699
5708
  }
5700
- }, ae = () => r ? !D?.from : !D, Y = () => {
5709
+ }, ie = () => r ? !D?.from : !D, ae = () => {
5701
5710
  if (r) {
5702
5711
  let e = D;
5703
- return e?.from ? e.to ? `${y.selectedDateRange}${or(e.from, s)}${y.to}${or(e.to, s)}` : `${y.selectedStartDate}${or(e.from, s)}${y.pleaseSelectEndDate}` : y.noDateRangeSelected || "";
5712
+ return e?.from ? e.to ? `${y.selectedDateRange}${lr(e.from, s)}${y.to}${lr(e.to, s)}` : `${y.selectedStartDate}${lr(e.from, s)}${y.pleaseSelectEndDate}` : y.noDateRangeSelected || "";
5704
5713
  } else {
5705
5714
  let e = D;
5706
- return e ? `${y.selectedDate}${or(e, s)}` : y.noDateSelected || "";
5715
+ return e ? `${y.selectedDate}${lr(e, s)}` : y.noDateSelected || "";
5707
5716
  }
5708
5717
  }, oe = (e) => {
5709
5718
  V.floating.current && !V.floating.current.contains(e.target) && M && !M.contains(e.target) && j(!1);
@@ -5739,7 +5748,7 @@ var zn = {
5739
5748
  disabled: n,
5740
5749
  id: `${i}-presets`,
5741
5750
  label: "Date range presets",
5742
- onChange: G,
5751
+ onChange: K,
5743
5752
  options: m.map((e) => ({
5744
5753
  value: e.label,
5745
5754
  label: e.label
@@ -5759,16 +5768,16 @@ var zn = {
5759
5768
  }, /* @__PURE__ */ e.createElement(Q, {
5760
5769
  className: `${L}__trigger-icon`,
5761
5770
  iconName: "calendarDays"
5762
- }), /* @__PURE__ */ e.createElement("span", { className: Z([`${L}__trigger-text`, ae() ? `${L}__trigger-text--placeholder` : null]) }, J()))), k && /* @__PURE__ */ e.createElement("div", {
5771
+ }), /* @__PURE__ */ e.createElement("span", { className: Z([`${L}__trigger-text`, ie() ? `${L}__trigger-text--placeholder` : null]) }, Y()))), k && /* @__PURE__ */ e.createElement("div", {
5763
5772
  ref: V.setFloating,
5764
5773
  className: `${L}__popover`,
5765
5774
  style: B
5766
5775
  }, /* @__PURE__ */ e.createElement("div", { className: `${L}__calendar` }, r ? /* @__PURE__ */ e.createElement(ce, {
5767
- components: { Chevron: q },
5768
- defaultMonth: K(),
5769
- disabled: ie(),
5770
- footer: /* @__PURE__ */ e.createElement("div", { className: "visually-hidden" }, Y()),
5771
- formatters: { formatWeekdayName: re },
5776
+ components: { Chevron: J },
5777
+ defaultMonth: q(),
5778
+ disabled: re(),
5779
+ footer: /* @__PURE__ */ e.createElement("div", { className: "visually-hidden" }, ae()),
5780
+ formatters: { formatWeekdayName: ne },
5772
5781
  locale: s,
5773
5782
  mode: "range",
5774
5783
  navLayout: "around",
@@ -5776,11 +5785,11 @@ var zn = {
5776
5785
  onSelect: ee,
5777
5786
  selected: D
5778
5787
  }) : /* @__PURE__ */ e.createElement(ce, {
5779
- components: { Chevron: q },
5780
- defaultMonth: K(),
5781
- disabled: ie(),
5782
- footer: /* @__PURE__ */ e.createElement("div", { className: "visually-hidden" }, Y()),
5783
- formatters: { formatWeekdayName: re },
5788
+ components: { Chevron: J },
5789
+ defaultMonth: q(),
5790
+ disabled: re(),
5791
+ footer: /* @__PURE__ */ e.createElement("div", { className: "visually-hidden" }, ae()),
5792
+ formatters: { formatWeekdayName: ne },
5784
5793
  locale: s,
5785
5794
  mode: "single",
5786
5795
  navLayout: "around",
@@ -5804,12 +5813,12 @@ var zn = {
5804
5813
  }), /* @__PURE__ */ e.createElement(at, {
5805
5814
  className: `${L}__action-button ${L}__action-button--done`,
5806
5815
  label: y.doneButton,
5807
- onClick: ne,
5816
+ onClick: G,
5808
5817
  size: "sm",
5809
5818
  type: "button",
5810
5819
  variant: "primary"
5811
5820
  }))));
5812
- }, lr = s(({ accept: t, className: n, defaultValue: r, disabled: i = !1, fieldLabel: a, id: o, inputProps: s, inputWidth: c, labelStrings: l = {
5821
+ }, fr = s(({ accept: t, className: n, defaultValue: r, disabled: i = !1, fieldLabel: a, id: o, inputProps: s, inputWidth: c, labelStrings: l = {
5813
5822
  chooseFile: "Choose file",
5814
5823
  clearButton: "Clear selected file"
5815
5824
  }, message: u, multiple: f = !1, onClear: p, onFileChange: m, required: g = !1, showFullPath: _, showLabel: v = !0, tooltipText: y = null, validationMessage: b, validationStatus: x, ...S }, C) => {
@@ -5892,7 +5901,7 @@ var zn = {
5892
5901
  validationMessageHasDecorators: !1,
5893
5902
  validationStatus: x
5894
5903
  }));
5895
- }), ur = ({ children: t, className: n, ...r }) => {
5904
+ }), pr = ({ children: t, className: n, ...r }) => {
5896
5905
  let i = "pds-input-group", a = [t[0], t[1]], o = t[0].props.id ?? null, s = t[0].props.message ?? null, c = t[0].props.validationMessage ?? null, l = t[0].props.validationStatus ?? null, u = c || s, d = u ? `${i}--has-message` : null;
5897
5906
  return /* @__PURE__ */ e.createElement("div", {
5898
5907
  className: Z([
@@ -5909,7 +5918,7 @@ var zn = {
5909
5918
  validationMessageHasDecorators: !1,
5910
5919
  validationStatus: l
5911
5920
  }));
5912
- }, dr = ({ className: t, defaultValue: n, disabled: r = !1, fieldsetProps: i, id: a, inputWidth: o, label: s, message: c, onBlur: l, onChange: u, onValueChange: d, options: f, required: p = !1, showLabel: m = !0, tooltipText: g = null, validationMessage: _, validationStatus: v, value: y, ...b }) => {
5921
+ }, mr = ({ className: t, defaultValue: n, disabled: r = !1, fieldsetProps: i, id: a, inputWidth: o, label: s, message: c, onBlur: l, onChange: u, onValueChange: d, options: f, required: p = !1, showLabel: m = !0, tooltipText: g = null, validationMessage: _, validationStatus: v, value: y, ...b }) => {
5913
5922
  let x = "pds-radio-group", S = r ? $.disabled : null, C = p && !r ? $.required : null, w = v === "error" ? $.error : null, T = v === "success" ? $.success : null, E = y !== void 0, [D, O] = h(n === void 0 ? "" : n), k = _ || c, A = (e) => {
5914
5923
  E || O(e.target.value), u && u(e), d && d(e.target.value);
5915
5924
  }, j = (e) => {
@@ -5958,7 +5967,7 @@ var zn = {
5958
5967
  message: k,
5959
5968
  validationStatus: v
5960
5969
  }));
5961
- }, fr = s(({ checked: t, className: n, defaultChecked: r, disabled: i = !1, id: a, inputProps: o, inputWidth: s, label: c, message: l, offLabel: u = "Off", onChange: d, onLabel: f = "On", required: p = !1, showLabel: m = !0, showStatusLabel: g = !0, statusLabelPlacement: _ = "right", switchPlacement: v = "right", ...y }, b) => {
5970
+ }, hr = s(({ checked: t, className: n, defaultChecked: r, disabled: i = !1, id: a, inputProps: o, inputWidth: s, label: c, message: l, offLabel: u = "Off", onChange: d, onLabel: f = "On", required: p = !1, showLabel: m = !0, showStatusLabel: g = !0, statusLabelPlacement: _ = "right", switchPlacement: v = "right", ...y }, b) => {
5962
5971
  let x = Ge(s), S = "pds-switch", C = `${S}--${v}`, w = l ? `${S}--message` : null, T = i ? $.disabled : null, E = p && !i ? $.required : null, D = t !== void 0, [O, k] = h(!D && r ? r : !1), A = t || O ? f : u, j = (e) => {
5963
5972
  D || k(e.target.checked), d && d(e);
5964
5973
  }, M = g ? /* @__PURE__ */ e.createElement("span", {
@@ -6025,7 +6034,7 @@ var zn = {
6025
6034
  required: p,
6026
6035
  showLabel: m
6027
6036
  }), /* @__PURE__ */ e.createElement("div", { className: `${S}__content` }, F, P));
6028
- }), pr = ({ disabled: t, dropTargetDirection: n, focusedIndex: r, index: i, isDragging: a, isSortable: o, onDragEnd: s, onDragOver: c, onDragStart: l, onKeyboardMove: u, onRemove: f, setFocusedIndex: p, tag: h, totalTags: g, translationStrings: _ }) => {
6037
+ }), gr = ({ disabled: t, dropTargetDirection: n, focusedIndex: r, index: i, isDragging: a, isSortable: o, onDragEnd: s, onDragOver: c, onDragStart: l, onKeyboardMove: u, onRemove: f, setFocusedIndex: p, tag: h, totalTags: g, translationStrings: _ }) => {
6029
6038
  let v = m(null), y = "pds-tags-input__tag";
6030
6039
  d(() => {
6031
6040
  r === i && v.current && v.current.focus();
@@ -6091,7 +6100,7 @@ var zn = {
6091
6100
  iconName: "xmark",
6092
6101
  iconSize: "md"
6093
6102
  })));
6094
- }, mr = s(({ addMorePlaceholder: t = "Add another", className: n, disabled: r = !1, id: i, inputMinHeight: a = 80, inputWidth: o, isSortable: s = !1, label: c, message: l, onChange: u, placeholder: d, required: f = !1, showLabel: p = !0, tags: g, tooltipText: _ = null, translationStrings: v = {
6103
+ }, _r = s(({ addMorePlaceholder: t = "Add another", className: n, disabled: r = !1, id: i, inputMinHeight: a = 80, inputWidth: o, isSortable: s = !1, label: c, message: l, onChange: u, placeholder: d, required: f = !1, showLabel: p = !0, tags: g, tooltipText: _ = null, translationStrings: v = {
6095
6104
  inputInstructions: "Type a tag name and press Enter to add. Press Backspace on empty input to remove last tag. Press left arrow on empty input to navigate to tags.",
6096
6105
  tagAriaLabel: "tag {index} of {total}. Press Shift plus arrow keys to reorder, Delete to remove.",
6097
6106
  tagAriaLabelSimple: "tag {index} of {total}. Press Delete to remove.",
@@ -6104,25 +6113,25 @@ var zn = {
6104
6113
  u(e);
6105
6114
  }, te = (e) => {
6106
6115
  N(e);
6107
- }, ne = () => {
6116
+ }, G = () => {
6108
6117
  N(null), F(null), L(null);
6109
- }, G = (e, t) => {
6118
+ }, K = (e, t) => {
6110
6119
  M === null || M === e || (F(e), L(t));
6111
- }, K = (e) => {
6120
+ }, q = (e) => {
6112
6121
  if (e.preventDefault(), M === null || P === null || I === null) return;
6113
6122
  let t = g.findIndex((e) => e.id === M), n = g.findIndex((e) => e.id === P);
6114
6123
  if (t === -1 || n === -1) return;
6115
6124
  let r = [...g], [i] = r.splice(t, 1), a = n;
6116
6125
  a = I === "after" ? t < n ? n : n + 1 : n, r.splice(a, 0, i), W(r), ee("Tag reordered"), N(null), F(null), L(null);
6117
- }, q = (e, t) => {
6126
+ }, J = (e, t) => {
6118
6127
  let n = [...g], [r] = n.splice(e, 1);
6119
6128
  n.splice(t, 0, r), ee(`${r.value} moved to position ${t + 1} of ${g.length}`), W(n);
6120
- }, re = (e) => {
6129
+ }, ne = (e) => {
6121
6130
  let t = g.find((t) => t.id === e);
6122
6131
  W(g.filter((t) => t.id !== e)), t && ee(`${t.value} removed`), setTimeout(() => {
6123
6132
  H.current && H.current.focus();
6124
6133
  }, 0);
6125
- }, ie = (e) => {
6134
+ }, re = (e) => {
6126
6135
  if (!r) if (e.key === "Enter" && A.trim()) {
6127
6136
  e.preventDefault();
6128
6137
  let t = {
@@ -6166,25 +6175,25 @@ var zn = {
6166
6175
  }, g.length > 0 && /* @__PURE__ */ e.createElement("div", {
6167
6176
  "aria-label": v.tagsListLabel,
6168
6177
  className: `${w}__tags`,
6169
- onDrop: s ? K : void 0,
6178
+ onDrop: s ? q : void 0,
6170
6179
  role: "list"
6171
6180
  }, g.map((t, n) => {
6172
6181
  let i = null;
6173
6182
  return M && M !== t.id && (P === t.id && I === "before" ? i = "before" : P === t.id && I === "after" && n === g.length - 1 ? i = "after" : n > 0 && P === g[n - 1].id && I === "after" && (i = "before")), /* @__PURE__ */ e.createElement("div", {
6174
6183
  key: t.id,
6175
6184
  role: "listitem"
6176
- }, /* @__PURE__ */ e.createElement(pr, {
6185
+ }, /* @__PURE__ */ e.createElement(gr, {
6177
6186
  disabled: r,
6178
6187
  dropTargetDirection: i,
6179
6188
  focusedIndex: R,
6180
6189
  index: n,
6181
6190
  isDragging: M === t.id,
6182
6191
  isSortable: s,
6183
- onDragEnd: ne,
6184
- onDragOver: G,
6192
+ onDragEnd: G,
6193
+ onDragOver: K,
6185
6194
  onDragStart: te,
6186
- onKeyboardMove: q,
6187
- onRemove: re,
6195
+ onKeyboardMove: J,
6196
+ onRemove: ne,
6188
6197
  setFocusedIndex: z,
6189
6198
  tag: t,
6190
6199
  totalTags: g.length,
@@ -6201,7 +6210,7 @@ var zn = {
6201
6210
  id: i,
6202
6211
  name: i,
6203
6212
  onChange: (e) => j(e.target.value),
6204
- onKeyDown: ie,
6213
+ onKeyDown: re,
6205
6214
  placeholder: U,
6206
6215
  required: f,
6207
6216
  type: "text",
@@ -6216,7 +6225,7 @@ var zn = {
6216
6225
  validationMessageHasDecorators: !1,
6217
6226
  validationStatus: b
6218
6227
  }));
6219
- }), hr = s(({ className: t, counterMaxLength: n, defaultValue: r, disabled: i = !1, id: a, inputWidth: o, isResizable: s = !0, label: c, message: l, onBlur: u, onChange: d, onFocus: f, placeholder: p, readonly: m = !1, required: g = !1, rows: _ = 5, showLabel: v, textareaProps: y, tooltipText: b = null, translationStrings: x = {
6228
+ }), vr = s(({ className: t, counterMaxLength: n, defaultValue: r, disabled: i = !1, id: a, inputWidth: o, isResizable: s = !0, label: c, message: l, onBlur: u, onChange: d, onFocus: f, placeholder: p, readonly: m = !1, required: g = !1, rows: _ = 5, showLabel: v, textareaProps: y, tooltipText: b = null, translationStrings: x = {
6220
6229
  clearButton: "Clear input text",
6221
6230
  counterOverLimit: "Character limit exceeded by",
6222
6231
  searchShortcut: "Press / to focus the search field",
@@ -6279,7 +6288,7 @@ var zn = {
6279
6288
  message: F,
6280
6289
  validationStatus: C
6281
6290
  }));
6282
- }), gr = () => /* @__PURE__ */ e.createElement("div", { className: "pds-text-input__url-prefix" }, "https://"), _r = s(({ autoComplete: t, className: n, counterMaxLength: r, defaultValue: i, disabled: a = !1, hasClearButton: o = !1, hasSearchShortcut: s = !1, hasUrlPrefix: c = !1, id: l, inputProps: u, inputWidth: d, label: f, message: p, onBlur: m, onChange: g, onClear: _, onFocus: v, placeholder: y, readonly: b = !1, required: x = !1, searchIcon: S = "search", showLabel: C = !0, showVisibilityToggle: w = !1, tooltipText: T = null, translationStrings: E = {
6291
+ }), yr = () => /* @__PURE__ */ e.createElement("div", { className: "pds-text-input__url-prefix" }, "https://"), br = s(({ autoComplete: t, className: n, counterMaxLength: r, defaultValue: i, disabled: a = !1, hasClearButton: o = !1, hasSearchShortcut: s = !1, hasUrlPrefix: c = !1, id: l, inputProps: u, inputWidth: d, label: f, message: p, onBlur: m, onChange: g, onClear: _, onFocus: v, placeholder: y, readonly: b = !1, required: x = !1, searchIcon: S = "search", showLabel: C = !0, showVisibilityToggle: w = !1, tooltipText: T = null, translationStrings: E = {
6283
6292
  clearButton: "Clear input text",
6284
6293
  counterOverLimit: "Character limit exceeded by",
6285
6294
  searchShortcut: "Press / to focus the search field",
@@ -6289,8 +6298,8 @@ var zn = {
6289
6298
  }, type: D = "text", validationMessage: O, validationStatus: k, value: A, ...j }, M) => {
6290
6299
  let N = Ge(d), P = "pds-text-input", F = a ? $.disabled : null, I = x && !a ? $.required : null, L = k === "error" ? $.error : null, R = k === "success" ? $.success : null, z = b ? $.readonly : null, B = c && D === "url" ? `${P}--has-url-prefix` : null, V = null;
6291
6300
  D === "search" && (V = "search"), D === "search" && S === "filter" && (V = "filter"), k === "error" && (V = "error"), k === "success" && (V = "success");
6292
- let H = O || p, U = A !== void 0, [ee, W] = h(i === void 0 ? "" : i), te = A || ee, ne = (e) => {
6293
- if (w && q && re(!1), c && D === "url") {
6301
+ let H = O || p, U = A !== void 0, [ee, W] = h(i === void 0 ? "" : i), te = A || ee, G = (e) => {
6302
+ if (w && J && ne(!1), c && D === "url") {
6294
6303
  let t = Ke(e.target.value), n = {
6295
6304
  ...e,
6296
6305
  target: {
@@ -6300,7 +6309,7 @@ var zn = {
6300
6309
  };
6301
6310
  m && m(n);
6302
6311
  } else m && m(e);
6303
- }, G = (e) => {
6312
+ }, K = (e) => {
6304
6313
  if (c && D === "url") {
6305
6314
  let t = Ke(e.target.value), n = {
6306
6315
  ...e,
@@ -6311,16 +6320,16 @@ var zn = {
6311
6320
  };
6312
6321
  U || W(t), g && g(n);
6313
6322
  } else U || W(e.target.value), g && g(e);
6314
- }, K = () => {
6323
+ }, q = () => {
6315
6324
  U || W(""), _ && _();
6316
6325
  let e = document.getElementById(l);
6317
6326
  e && e.focus();
6318
- }, [q, re] = h(!1), ie = () => {
6319
- re((e) => !e);
6327
+ }, [J, ne] = h(!1), re = () => {
6328
+ ne((e) => !e);
6320
6329
  let e = document.getElementById(l);
6321
6330
  e && e.focus();
6322
- }, J = D;
6323
- return w && D === "password" && (J = q ? "text" : "password"), /* @__PURE__ */ e.createElement("div", {
6331
+ }, Y = D;
6332
+ return w && D === "password" && (Y = J ? "text" : "password"), /* @__PURE__ */ e.createElement("div", {
6324
6333
  className: Z([
6325
6334
  $.base,
6326
6335
  P,
@@ -6344,7 +6353,7 @@ var zn = {
6344
6353
  }), w && D === "password" && /* @__PURE__ */ e.createElement("div", {
6345
6354
  "aria-live": "polite",
6346
6355
  className: "visually-hidden"
6347
- }, `${E.visibilityStatus} ${q ? "visible" : "hidden"}.`), /* @__PURE__ */ e.createElement("div", { className: `${P}__input-wrapper ${c && D === "url" ? `${P}__input-wrapper--has-prefix` : ""}` }, V && /* @__PURE__ */ e.createElement(Ze, { variant: V }), c && D === "url" && /* @__PURE__ */ e.createElement(gr, null), /* @__PURE__ */ e.createElement("input", {
6356
+ }, `${E.visibilityStatus} ${J ? "visible" : "hidden"}.`), /* @__PURE__ */ e.createElement("div", { className: `${P}__input-wrapper ${c && D === "url" ? `${P}__input-wrapper--has-prefix` : ""}` }, V && /* @__PURE__ */ e.createElement(Ze, { variant: V }), c && D === "url" && /* @__PURE__ */ e.createElement(yr, null), /* @__PURE__ */ e.createElement("input", {
6348
6357
  ref: M,
6349
6358
  "aria-describedby": H ? `${l}__message` : null,
6350
6359
  "aria-invalid": k === "error" ? !0 : null,
@@ -6353,28 +6362,28 @@ var zn = {
6353
6362
  disabled: a,
6354
6363
  id: l,
6355
6364
  name: l,
6356
- onBlur: ne,
6357
- onChange: G,
6365
+ onBlur: G,
6366
+ onChange: K,
6358
6367
  onFocus: v,
6359
6368
  placeholder: y,
6360
6369
  readOnly: b,
6361
6370
  required: x,
6362
- type: J,
6371
+ type: Y,
6363
6372
  value: U ? A : ee,
6364
6373
  ...u
6365
6374
  }), o && te && /* @__PURE__ */ e.createElement($e, {
6366
6375
  clearLabel: E.clearButton,
6367
- handleClearInput: K,
6376
+ handleClearInput: q,
6368
6377
  id: l
6369
6378
  }), w && D === "password" && /* @__PURE__ */ e.createElement("button", {
6370
6379
  "aria-controls": l,
6371
6380
  className: `${P}__visibility-toggle`,
6372
- onClick: ie,
6381
+ onClick: re,
6373
6382
  onMouseDown: (e) => e.preventDefault(),
6374
- title: q ? E.visibilityToggleHide : E.visibilityToggleShow,
6383
+ title: J ? E.visibilityToggleHide : E.visibilityToggleShow,
6375
6384
  type: "button"
6376
6385
  }, /* @__PURE__ */ e.createElement(Q, {
6377
- iconName: q ? "eyeSlash" : "eye",
6386
+ iconName: J ? "eyeSlash" : "eye",
6378
6387
  iconSize: "md"
6379
6388
  })), s && D === "search" && !te && /* @__PURE__ */ e.createElement(Qe, {
6380
6389
  inputId: l,
@@ -6391,7 +6400,7 @@ var zn = {
6391
6400
  validationMessageHasDecorators: !1,
6392
6401
  validationStatus: k
6393
6402
  }));
6394
- }), vr = ({ children: t, className: n, fontSize: r, isLoading: i, newWindowText: a = "opens in a new window", url: o, ...s }) => {
6403
+ }), xr = ({ children: t, className: n, fontSize: r, isLoading: i, newWindowText: a = "opens in a new window", url: o, ...s }) => {
6395
6404
  let c = "pds-link-new-window", l = r ? `${c}--${r}` : null;
6396
6405
  return i ? /* @__PURE__ */ e.createElement("span", {
6397
6406
  "aria-hidden": "true",
@@ -6418,7 +6427,7 @@ var zn = {
6418
6427
  className: `${c}__icon`,
6419
6428
  iconName: "externalLink"
6420
6429
  }));
6421
- }, yr = ({ ariaLabel: t, children: n, className: r, closeButtonLabel: i = "Close modal", contentMaxHeight: a, disableOutsideClick: o, hasCloseButton: s = !0, modalIsOpen: c = !1, setModalIsOpen: l = () => {}, size: u = "md", title: f, ...p }) => {
6430
+ }, Sr = ({ ariaLabel: t, children: n, className: r, closeButtonLabel: i = "Close modal", contentMaxHeight: a, disableOutsideClick: o, hasCloseButton: s = !0, modalIsOpen: c = !1, setModalIsOpen: l = () => {}, size: u = "md", title: f, ...p }) => {
6422
6431
  let m = Ee(n), g = m.__unslotted, _ = m.footer, b = "pds-modal", x = u === "md" ? null : `${b}--${u}`, S = a ? {
6423
6432
  maxHeight: a,
6424
6433
  paddingInlineEnd: "1rem",
@@ -6494,7 +6503,7 @@ var zn = {
6494
6503
  className: `${b}__content`,
6495
6504
  style: S
6496
6505
  }, g), _ && /* @__PURE__ */ e.createElement("div", { className: `${b}__footer` }, _)))));
6497
- }, br = ({ ariaLabel: t = "Breadcrumb", className: n, crumbs: i, ...a }) => {
6506
+ }, Cr = ({ ariaLabel: t = "Breadcrumb", className: n, crumbs: i, ...a }) => {
6498
6507
  let o = "pds-breadcrumb", s = i.length, l = i.map((t, n) => {
6499
6508
  if (n < s - 1) return /* @__PURE__ */ e.createElement("li", {
6500
6509
  key: n,
@@ -6513,36 +6522,36 @@ var zn = {
6513
6522
  className: Z([o, n ?? ""]),
6514
6523
  ...a
6515
6524
  }, /* @__PURE__ */ e.createElement("ol", { className: `${o}__crumbs` }, l));
6516
- }, xr = (e) => {
6525
+ }, wr = (e) => {
6517
6526
  if (!e) return null;
6518
6527
  for (let t = 0; t < e.length; t++) {
6519
- if (Cr(e[t])) return typeof e[t].linkContent == "string" ? null : e[t].linkContent;
6528
+ if (Er(e[t])) return typeof e[t].linkContent == "string" ? null : e[t].linkContent;
6520
6529
  if (e[t].links) {
6521
- let n = xr(e[t].links);
6530
+ let n = wr(e[t].links);
6522
6531
  if (n) return n;
6523
6532
  }
6524
6533
  }
6525
6534
  return null;
6526
- }, Sr = (e) => typeof e == "string" ? e : e.props.children, Cr = (e) => typeof e.linkContent == "string" ? !1 : !!(e.isActive || e.linkContent.props.className && e.linkContent.props.className.includes("pds-isActive")), wr = (e) => {
6527
- if (Cr(e)) return !0;
6535
+ }, Tr = (e) => typeof e == "string" ? e : e.props.children, Er = (e) => typeof e.linkContent == "string" ? !1 : !!(e.isActive || e.linkContent.props.className && e.linkContent.props.className.includes("pds-isActive")), Dr = (e) => {
6536
+ if (Er(e)) return !0;
6528
6537
  if (e.links) {
6529
- for (let t = 0; t < e.links.length; t++) if (wr(e.links[t])) return !0;
6538
+ for (let t = 0; t < e.links.length; t++) if (Dr(e.links[t])) return !0;
6530
6539
  }
6531
6540
  return !1;
6532
- }, Tr = (e) => {
6541
+ }, Or = (e) => {
6533
6542
  if (c(e)) {
6534
6543
  let t = e.type;
6535
6544
  return t === "a" || typeof t == "string" && t.toLowerCase() === "a" || (typeof t == "function" || typeof t == "object") && t?.displayName === "Link";
6536
6545
  }
6537
6546
  return !1;
6538
- }, Er = (e, t) => {
6547
+ }, kr = (e, t) => {
6539
6548
  let n = null;
6540
6549
  if (typeof e == "string" && t) {
6541
6550
  let i = t ? t[0].linkContent : null;
6542
6551
  c(i) && (n = r(i, { ...typeof e == "string" ? { children: e } : {} }));
6543
6552
  } else n = e;
6544
6553
  return n;
6545
- }, Dr = (t, n, i, a) => {
6554
+ }, Ar = (t, n, i, a) => {
6546
6555
  let o = null;
6547
6556
  if (typeof n == "string") {
6548
6557
  let s = a ? [/* @__PURE__ */ e.createElement("span", {
@@ -6567,7 +6576,7 @@ var zn = {
6567
6576
  iconName: a,
6568
6577
  iconSize: "md"
6569
6578
  })), /* @__PURE__ */ e.createElement("span", { className: `${t}__link-label` }, n.props.children))] })) : n), o;
6570
- }, Or = ({ ariaLabel: t, className: n, menuItems: r, size: i = "md", ...a }) => {
6579
+ }, jr = ({ ariaLabel: t, className: n, menuItems: r, size: i = "md", ...a }) => {
6571
6580
  let o = !1, s = u(bt);
6572
6581
  s && (o = s.isMobile);
6573
6582
  let c = m(null), l = "pds-button-nav", f = o ? `${l}--isMobile` : null, p = i === "md" ? null : `${l}--${i}`;
@@ -6590,11 +6599,11 @@ var zn = {
6590
6599
  return /* @__PURE__ */ e.createElement("li", { className: Z([r, t ? `${r}--active` : null]) }, n);
6591
6600
  }, g = r.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${l}__menu` }, r.map((t, n) => /* @__PURE__ */ e.createElement(h, {
6592
6601
  key: n,
6593
- isActive: wr(t),
6602
+ isActive: Dr(t),
6594
6603
  linkContent: t.linkContent
6595
6604
  }))) : null, _ = [];
6596
6605
  r.map((e) => {
6597
- e.linkContent && (wr(e) ? _.unshift({
6606
+ e.linkContent && (Dr(e) ? _.unshift({
6598
6607
  linkContent: e.linkContent,
6599
6608
  isLink: !0
6600
6609
  }) : _.push({
@@ -6619,11 +6628,11 @@ var zn = {
6619
6628
  ]),
6620
6629
  ...a
6621
6630
  }, o ? v : g);
6622
- }, kr = ({ className: t, destination: n = "main", text: r = "Skip to main content", ...i }) => /* @__PURE__ */ e.createElement("a", {
6631
+ }, Mr = ({ className: t, destination: n = "main", text: r = "Skip to main content", ...i }) => /* @__PURE__ */ e.createElement("a", {
6623
6632
  className: Z(["pds-skiplink", t]),
6624
6633
  href: `#${n}`,
6625
6634
  ...i
6626
- }, r), Ar = i(null), jr = ({ children: t, className: n, hasSidebarToggle: r = !0, isAdmin: i, isSidebarExpanded: a, logoLinkContent: o, setIsSidebarExpanded: s = () => {}, sidebarCollapsedWidth: c = 2.125, sidebarExpandedWidth: l = 12, sidebarToggleLabel: f = "Toggle sidebar", skiplinkText: p = "Skip to main content", ...g }) => {
6635
+ }, r), Nr = i(null), Pr = ({ children: t, className: n, hasSidebarToggle: r = !0, isAdmin: i, isSidebarExpanded: a, logoLinkContent: o, setIsSidebarExpanded: s = () => {}, sidebarCollapsedWidth: c = 2.125, sidebarExpandedWidth: l = 12, sidebarToggleLabel: f = "Toggle sidebar", skiplinkText: p = "Skip to main content", ...g }) => {
6627
6636
  let { isMobile: _, windowWidth: v } = u(bt), [y, b] = h(() => a === void 0 ? v > 1440 : a), x = m(null), [S] = ue(x), C = S.width;
6628
6637
  d(() => {
6629
6638
  a !== void 0 && b(a);
@@ -6665,7 +6674,7 @@ var zn = {
6665
6674
  className: `${T}__main`,
6666
6675
  id: "main"
6667
6676
  }, I), L && /* @__PURE__ */ e.createElement("footer", { className: `${T}__footer` }, L))));
6668
- return /* @__PURE__ */ e.createElement(Ar.Provider, { value: w }, /* @__PURE__ */ e.createElement(kr, {
6677
+ return /* @__PURE__ */ e.createElement(Nr.Provider, { value: w }, /* @__PURE__ */ e.createElement(Mr, {
6669
6678
  destination: "main",
6670
6679
  text: p
6671
6680
  }), /* @__PURE__ */ e.createElement("div", {
@@ -6679,8 +6688,8 @@ var zn = {
6679
6688
  ]),
6680
6689
  ...g
6681
6690
  }, _ ? R : z));
6682
- }, Mr = ({ className: t, headingText: n, menuItems: i, selectTextFallback: a = "Navigate to...", ...o }) => {
6683
- let s = "pds-dropdown-menu", [c, l] = h(!1), [u, f] = h(null), p = xr(i), g = p ? p.props.children : a, _ = /* @__PURE__ */ e.createElement(Q, {
6691
+ }, Fr = ({ className: t, headingText: n, menuItems: i, selectTextFallback: a = "Navigate to...", ...o }) => {
6692
+ let s = "pds-dropdown-menu", [c, l] = h(!1), [u, f] = h(null), p = wr(i), g = p ? p.props.children : a, _ = /* @__PURE__ */ e.createElement(Q, {
6684
6693
  className: `${s}__active-icon`,
6685
6694
  iconName: "check",
6686
6695
  iconSize: "md"
@@ -6698,7 +6707,7 @@ var zn = {
6698
6707
  }
6699
6708
  }, [c]);
6700
6709
  let b = ({ item: e, level: t }) => {
6701
- let n = Er(e.linkContent, e.links);
6710
+ let n = kr(e.linkContent, e.links);
6702
6711
  return {
6703
6712
  ...e,
6704
6713
  level: t,
@@ -6819,8 +6828,8 @@ var zn = {
6819
6828
  tabIndex: u === n ? 0 : -1,
6820
6829
  ...M()
6821
6830
  }, t.linkContent, t.isActive === !0 && _))));
6822
- }, Nr = ({ icon: t, isActive: n, isSidebarExpanded: r, labels: i, linkContent: a, links: o }) => {
6823
- let s = "pds-dashboard-nav", c = `${s}__item`, l = `${s}__menu`, u = /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` }, Dr(s, a, o, t)), f = (t, r) => /* @__PURE__ */ e.createElement("ul", { className: Z([
6831
+ }, Ir = ({ icon: t, isActive: n, isSidebarExpanded: r, labels: i, linkContent: a, links: o }) => {
6832
+ let s = "pds-dashboard-nav", c = `${s}__item`, l = `${s}__menu`, u = /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` }, Ar(s, a, o, t)), f = (t, r) => /* @__PURE__ */ e.createElement("ul", { className: Z([
6824
6833
  l,
6825
6834
  `${l}--${r}`,
6826
6835
  n ? `${l}--expanded` : null
@@ -6829,7 +6838,7 @@ var zn = {
6829
6838
  className: Z([
6830
6839
  c,
6831
6840
  `${c}--${r}`,
6832
- wr(t) ? `${c}--active` : null
6841
+ Dr(t) ? `${c}--active` : null
6833
6842
  ])
6834
6843
  }, t.linkContent))), [p, g] = h(!1), _ = m(p), { context: v, floatingStyles: y, refs: b } = A({
6835
6844
  placement: "right-start",
@@ -6920,7 +6929,7 @@ var zn = {
6920
6929
  ]),
6921
6930
  ...D(),
6922
6931
  onKeyDown: O
6923
- }, o ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` }, Dr(s, a, o, t), r && /* @__PURE__ */ e.createElement("button", {
6932
+ }, o ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` }, Ar(s, a, o, t), r && /* @__PURE__ */ e.createElement("button", {
6924
6933
  "aria-expanded": n,
6925
6934
  className: Z([`${s}__toggle`, n ? `${s}__toggle--expanded` : null]),
6926
6935
  onClick: j,
@@ -6928,13 +6937,13 @@ var zn = {
6928
6937
  }, /* @__PURE__ */ e.createElement(Q, {
6929
6938
  iconName: "angleDown",
6930
6939
  iconSize: "md"
6931
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${i.toggle} ${Sr(a)} ${i.submenu}`))), r && f(o, "second-level"), !r && p && /* @__PURE__ */ e.createElement("div", {
6940
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${i.toggle} ${Tr(a)} ${i.submenu}`))), r && f(o, "second-level"), !r && p && /* @__PURE__ */ e.createElement("div", {
6932
6941
  ref: b.setFloating,
6933
6942
  className: `${s}__flyout`,
6934
6943
  style: y,
6935
6944
  ...x()
6936
- }, /* @__PURE__ */ e.createElement("div", { className: `${s}__flyout-heading` }, Sr(a)), f(o, "second-level-flyout"))) : /* @__PURE__ */ e.createElement(e.Fragment, null, r ? u : /* @__PURE__ */ e.createElement(Re, {
6937
- content: Sr(a),
6945
+ }, /* @__PURE__ */ e.createElement("div", { className: `${s}__flyout-heading` }, Tr(a)), f(o, "second-level-flyout"))) : /* @__PURE__ */ e.createElement(e.Fragment, null, r ? u : /* @__PURE__ */ e.createElement(Re, {
6946
+ content: Tr(a),
6938
6947
  customTrigger: u,
6939
6948
  offsetValue: {
6940
6949
  mainAxis: 8,
@@ -6942,18 +6951,18 @@ var zn = {
6942
6951
  },
6943
6952
  preferredPlacement: "right"
6944
6953
  })));
6945
- }, Pr = ({ ariaLabel: t, className: n, labels: r = {
6954
+ }, Lr = ({ ariaLabel: t, className: n, labels: r = {
6946
6955
  submenu: "submenu",
6947
6956
  toggle: "Toggle"
6948
6957
  }, menuItems: i, mobileMenuSelectTextFallback: a = "Navigate to...", secondaryMenuItems: o, secondaryMenuLabel: s, ...c }) => {
6949
6958
  let l = !1, d = u(bt);
6950
6959
  d && (l = d.isMobile);
6951
- let f = u(Ar), p = !0, m = null;
6960
+ let f = u(Nr), p = !0, m = null;
6952
6961
  f && (p = f.isSidebarExpanded, m = f.logoLinkContent);
6953
- let h = "pds-dashboard-nav", g = p ? `${h}--expanded` : `${h}--collapsed`, _ = /* @__PURE__ */ e.createElement(e.Fragment, null, i.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${h}__menu ${h}__menu--top-level` }, i.map((t, n) => /* @__PURE__ */ e.createElement(Nr, {
6962
+ let h = "pds-dashboard-nav", g = p ? `${h}--expanded` : `${h}--collapsed`, _ = /* @__PURE__ */ e.createElement(e.Fragment, null, i.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${h}__menu ${h}__menu--top-level` }, i.map((t, n) => /* @__PURE__ */ e.createElement(Ir, {
6954
6963
  key: n,
6955
6964
  icon: t.icon,
6956
- isActive: wr(t),
6965
+ isActive: Dr(t),
6957
6966
  isSidebarExpanded: p,
6958
6967
  labels: r,
6959
6968
  linkContent: t.linkContent,
@@ -6964,22 +6973,22 @@ var zn = {
6964
6973
  }), s && /* @__PURE__ */ e.createElement("div", {
6965
6974
  "aria-hidden": "true",
6966
6975
  className: `${h}__section-label`
6967
- }, s), /* @__PURE__ */ e.createElement("ul", { className: `${h}__menu ${h}__menu--top-level` }, o.map((t, n) => /* @__PURE__ */ e.createElement(Nr, {
6976
+ }, s), /* @__PURE__ */ e.createElement("ul", { className: `${h}__menu ${h}__menu--top-level` }, o.map((t, n) => /* @__PURE__ */ e.createElement(Ir, {
6968
6977
  key: n,
6969
6978
  icon: t.icon,
6970
- isActive: wr(t),
6979
+ isActive: Dr(t),
6971
6980
  isSidebarExpanded: p,
6972
6981
  labels: r,
6973
6982
  linkContent: t.linkContent,
6974
6983
  links: t.links
6975
6984
  }))))), v = (e) => e.map((e) => ({
6976
6985
  ...e,
6977
- linkContent: Dr(h, e.linkContent, e.links, e.icon)
6986
+ linkContent: Ar(h, e.linkContent, e.links, e.icon)
6978
6987
  })), y = o && o.length > 0 ? [
6979
6988
  ...v(i),
6980
6989
  { isSeparator: !0 },
6981
6990
  ...v(o)
6982
- ] : v(i), b = /* @__PURE__ */ e.createElement(Mr, {
6991
+ ] : v(i), b = /* @__PURE__ */ e.createElement(Fr, {
6983
6992
  menuItems: y,
6984
6993
  selectTextFallback: a
6985
6994
  });
@@ -6996,7 +7005,7 @@ var zn = {
6996
7005
  displayType: p ? "full" : "icon",
6997
7006
  linkContent: m
6998
7007
  }), l ? b : _);
6999
- }, Fr = ({ className: t, option: n, ...r }) => {
7008
+ }, Rr = ({ className: t, option: n, ...r }) => {
7000
7009
  let i = "pds-site-option-display", a = n.type ? vt[n.type] : "bolt", o = m(null), [s] = ue(o), c = s.width / 16 - 7.5, l, u;
7001
7010
  n.status === "active" && (l = "Active", u = "success"), n.status === "frozen" && (l = "Frozen", u = "frozen"), n.status === "restricted" && (l = "Restricted", u = "critical");
7002
7011
  let d = /* @__PURE__ */ e.createElement(Pe, {
@@ -7019,7 +7028,7 @@ var zn = {
7019
7028
  className: `${i}__status`,
7020
7029
  style: { pointerEvents: "none" }
7021
7030
  }, d));
7022
- }, Ir = ({ className: t, disabled: n = !1, horizontalOffset: r = 0, id: i, isLoading: a = !1, label: o = "Search sites", labelStrings: s = {
7031
+ }, zr = ({ className: t, disabled: n = !1, horizontalOffset: r = 0, id: i, isLoading: a = !1, label: o = "Search sites", labelStrings: s = {
7023
7032
  clearButton: "Clear input text",
7024
7033
  inputInstructions: "Type to search options"
7025
7034
  }, loadingText: c = "Loading results...", noResultsText: l = "No results found", onFocus: d, onOptionSelect: f, placeholder: p = "Search sites", siteList: m, ...g }) => {
@@ -7033,10 +7042,10 @@ var zn = {
7033
7042
  id: n,
7034
7043
  label: i,
7035
7044
  value: r ?? i,
7036
- optionDisplay: /* @__PURE__ */ e.createElement(Fr, { option: t }),
7045
+ optionDisplay: /* @__PURE__ */ e.createElement(Rr, { option: t }),
7037
7046
  siteData: t
7038
7047
  };
7039
- }), T = /* @__PURE__ */ e.createElement(rr, {
7048
+ }), T = /* @__PURE__ */ e.createElement(or, {
7040
7049
  hasClearButton: !0,
7041
7050
  hasSearchShortcut: !0,
7042
7051
  className: `${x}__combobox`,
@@ -7063,7 +7072,7 @@ var zn = {
7063
7072
  id: i,
7064
7073
  ...g
7065
7074
  }, y ? D : E);
7066
- }, Lr = ({ children: t, className: n, width: r = "standard", ...i }) => {
7075
+ }, Br = ({ children: t, className: n, width: r = "standard", ...i }) => {
7067
7076
  let a = "pds-container", o = r === "standard" ? null : `${a}--${r}`;
7068
7077
  return /* @__PURE__ */ e.createElement("div", {
7069
7078
  className: Z([
@@ -7073,13 +7082,13 @@ var zn = {
7073
7082
  ]),
7074
7083
  ...i
7075
7084
  }, t);
7076
- }, Rr = ({ children: n, className: i, colorType: a = "default", containerWidth: s = "x-wide", hideBorder: l, hideLogo: f = !1, logoDisplayType: p = "full", logoLinkContent: m, logoSrc: g, logoSubBrand: _, translationStrings: v = {
7085
+ }, Vr = ({ children: n, className: i, colorType: a = "default", containerWidth: s = "x-wide", hideBorder: l, hideLogo: f = !1, logoDisplayType: p = "full", logoLinkContent: m, logoSrc: g, logoSubBrand: _, translationStrings: v = {
7077
7086
  closeMobileNav: "Close navigation area",
7078
7087
  openMobileNav: "Open navigation area"
7079
7088
  }, ...y }) => {
7080
7089
  let [b, x] = h(!1), S = !1, C = u(bt);
7081
7090
  C && (S = C.isMobile);
7082
- let { closeOverlay: w, openOverlay: T } = We(), E = u(Ar);
7091
+ let { closeOverlay: w, openOverlay: T } = We(), E = u(Nr);
7083
7092
  E && (m = E.logoLinkContent);
7084
7093
  let D = "pds-navbar", O = l ? `${D}--noBorder` : "", k = a === "default" ? "" : `${D}--${a}`, A = S ? `${D}--isMobile` : `${D}--notMobile`, j = (e) => {
7085
7094
  let t = e.key, n = !1;
@@ -7159,14 +7168,14 @@ var zn = {
7159
7168
  })), U = t.toArray(n).sort((e, t) => (c(e) && parseInt(e.props["data-mobile-order"], 10) || Infinity) - (c(t) && parseInt(t.props["data-mobile-order"], 10) || Infinity)), ee = /* @__PURE__ */ e.createElement("div", {
7160
7169
  ref: N,
7161
7170
  className: b ? `${D}__mobile ${D}__mobile--open` : `${D}__mobile ${D}__mobile--closed`
7162
- }, /* @__PURE__ */ e.createElement(Lr, null, U)), W = /* @__PURE__ */ e.createElement(ae, {
7171
+ }, /* @__PURE__ */ e.createElement(Br, null, U)), W = /* @__PURE__ */ e.createElement(ie, {
7163
7172
  active: b,
7164
7173
  focusTrapOptions: {
7165
7174
  clickOutsideDeactivates: !0,
7166
7175
  initialFocus: !1,
7167
7176
  returnFocusOnDeactivate: !1
7168
7177
  }
7169
- }, /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(Lr, { className: `${D}__bar-mobile` }, /* @__PURE__ */ e.createElement("div", { className: `${D}__inner-mobile` }, V(), n && H)), /* @__PURE__ */ e.createElement(Lr, null, n && ee))), te = /* @__PURE__ */ e.createElement(Lr, {
7178
+ }, /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(Br, { className: `${D}__bar-mobile` }, /* @__PURE__ */ e.createElement("div", { className: `${D}__inner-mobile` }, V(), n && H)), /* @__PURE__ */ e.createElement(Br, null, n && ee))), te = /* @__PURE__ */ e.createElement(Br, {
7170
7179
  className: `${D}__inner`,
7171
7180
  width: s
7172
7181
  }, !f && /* @__PURE__ */ e.createElement("div", { className: `${D}__logo` }, V()), /* @__PURE__ */ e.createElement("div", { className: `${D}__content` }, I ? /* @__PURE__ */ e.createElement("div", { className: `${D}__items-left` }, I) : /* @__PURE__ */ e.createElement("span", null), L && /* @__PURE__ */ e.createElement("div", { className: `${D}__items-right` }, L)));
@@ -7180,7 +7189,7 @@ var zn = {
7180
7189
  ]),
7181
7190
  ...y
7182
7191
  }, S ? W : te);
7183
- }, zr = ({ items: t, label: n, mobileMenuMaxWidth: r = 640 }) => {
7192
+ }, Hr = ({ items: t, label: n, mobileMenuMaxWidth: r = 640 }) => {
7184
7193
  let [i, a] = h(!1), [o, s] = h(0);
7185
7194
  d(() => (s(window.innerWidth), window.addEventListener("resize", c), () => {
7186
7195
  window.removeEventListener("resize", c);
@@ -7224,7 +7233,7 @@ var zn = {
7224
7233
  className: `${u}__item ${t.isSeparator ? `${u}__dropdown--separator` : `${u}__item--second-level`} ${x(t) ? `${u}__item--active` : null}`,
7225
7234
  role: t.isSeparator ? "separator" : "menuitem"
7226
7235
  }, !t.isSeparator && t.linkContent))));
7227
- }, Br = ({ ariaLabel: t = "Main Navigation", className: n, colorType: r = "default", menuItems: i, mobileMenuMaxWidth: a = 640, ...o }) => {
7236
+ }, Ur = ({ ariaLabel: t = "Main Navigation", className: n, colorType: r = "default", menuItems: i, mobileMenuMaxWidth: a = 640, ...o }) => {
7228
7237
  let [s, c] = h(1025), [l, u] = h(null), [f, p] = h(-1), [g, _] = h(null), [v, y] = h({
7229
7238
  container: null,
7230
7239
  containerChildren: []
@@ -7277,7 +7286,7 @@ var zn = {
7277
7286
  },
7278
7287
  className: `${S}__item ${S}__item--top-level ${S}__item--has-children ${D(t) === !0 ? `${S}__item--active` : ""}`,
7279
7288
  id: i
7280
- }, /* @__PURE__ */ e.createElement(zr, {
7289
+ }, /* @__PURE__ */ e.createElement(Hr, {
7281
7290
  items: t.links,
7282
7291
  label: t.label,
7283
7292
  mobileMenuMaxWidth: a
@@ -7302,7 +7311,7 @@ var zn = {
7302
7311
  },
7303
7312
  ...o
7304
7313
  }, /* @__PURE__ */ e.createElement("ul", { className: `${S}__menu` }, O));
7305
- }, Vr = ({ ariaLabel: t, className: n, headingText: i, labels: a = {
7314
+ }, Wr = ({ ariaLabel: t, className: n, headingText: i, labels: a = {
7306
7315
  submenu: "submenu",
7307
7316
  toggle: "Toggle"
7308
7317
  }, menuItems: o, mobileMenuSelectTextFallback: s = "Navigate to...", ...l }) => {
@@ -7312,7 +7321,7 @@ var zn = {
7312
7321
  let i = t.getAttribute("aria-expanded") === "false";
7313
7322
  t.classList.toggle(`${u}__toggle--expanded`, i), t.setAttribute("aria-expanded", i ? "true" : "false"), n.classList.toggle(`${f}--expanded`, i);
7314
7323
  }, m = (t, n) => {
7315
- let { linkContent: i, links: o } = t, s = wr(t), l = Tr(i), m = s;
7324
+ let { linkContent: i, links: o } = t, s = Dr(t), l = Or(i), m = s;
7316
7325
  return /* @__PURE__ */ e.createElement("li", {
7317
7326
  key: n,
7318
7327
  className: Z([
@@ -7321,7 +7330,7 @@ var zn = {
7321
7330
  o ? `${d}--has-children` : null,
7322
7331
  s ? `${d}--active` : null
7323
7332
  ])
7324
- }, o ? l ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${d}-wrapper` }, Er(i, o), /* @__PURE__ */ e.createElement("button", {
7333
+ }, o ? l ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${d}-wrapper` }, kr(i, o), /* @__PURE__ */ e.createElement("button", {
7325
7334
  "aria-expanded": m,
7326
7335
  className: Z([`${u}__toggle`, m ? `${u}__toggle--expanded` : null]),
7327
7336
  onClick: p,
@@ -7329,7 +7338,7 @@ var zn = {
7329
7338
  }, /* @__PURE__ */ e.createElement(Q, {
7330
7339
  iconName: "angleDown",
7331
7340
  iconSize: "md"
7332
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${a.toggle} ${Sr(i)} ${a.submenu}`))), /* @__PURE__ */ e.createElement("ul", { className: Z([
7341
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${a.toggle} ${Tr(i)} ${a.submenu}`))), /* @__PURE__ */ e.createElement("ul", { className: Z([
7333
7342
  f,
7334
7343
  `${f}--second-level`,
7335
7344
  m ? `${f}--expanded` : null
@@ -7338,9 +7347,9 @@ var zn = {
7338
7347
  className: Z([
7339
7348
  d,
7340
7349
  `${d}--second-level`,
7341
- wr(t) ? `${d}--active` : null
7350
+ Dr(t) ? `${d}--active` : null
7342
7351
  ])
7343
- }, Er(t.linkContent, t.links))))) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("button", {
7352
+ }, kr(t.linkContent, t.links))))) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("button", {
7344
7353
  "aria-expanded": m,
7345
7354
  className: Z([
7346
7355
  `${u}__toggle`,
@@ -7352,7 +7361,7 @@ var zn = {
7352
7361
  }, c(i) && i.type === "span" ? r(i, { className: Z([i.props.className, `${u}__toggle-content`]) }) : /* @__PURE__ */ e.createElement("span", { className: `${u}__toggle-content` }, i), /* @__PURE__ */ e.createElement(Q, {
7353
7362
  iconName: "angleDown",
7354
7363
  iconSize: "md"
7355
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${a.toggle} ${Sr(i)} ${a.submenu}`)), /* @__PURE__ */ e.createElement("ul", { className: Z([
7364
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${a.toggle} ${Tr(i)} ${a.submenu}`)), /* @__PURE__ */ e.createElement("ul", { className: Z([
7356
7365
  f,
7357
7366
  `${f}--second-level`,
7358
7367
  m ? `${f}--expanded` : null
@@ -7361,10 +7370,10 @@ var zn = {
7361
7370
  className: Z([
7362
7371
  d,
7363
7372
  `${d}--second-level`,
7364
- wr(t) ? `${d}--active` : null
7373
+ Dr(t) ? `${d}--active` : null
7365
7374
  ])
7366
- }, Er(t.linkContent, t.links))))) : i);
7367
- }, h = /* @__PURE__ */ e.createElement(e.Fragment, null, i && /* @__PURE__ */ e.createElement("h2", { className: `${u}__heading pds-ts-l` }, i), o.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${u}__menu ${u}__menu--top-level` }, o.map((e, t) => m(e, t)))), g = /* @__PURE__ */ e.createElement(Mr, {
7375
+ }, kr(t.linkContent, t.links))))) : i);
7376
+ }, h = /* @__PURE__ */ e.createElement(e.Fragment, null, i && /* @__PURE__ */ e.createElement("h2", { className: `${u}__heading pds-ts-l` }, i), o.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${u}__menu ${u}__menu--top-level` }, o.map((e, t) => m(e, t)))), g = /* @__PURE__ */ e.createElement(Fr, {
7368
7377
  className: `${u}__mobile`,
7369
7378
  headingText: i,
7370
7379
  menuItems: o,
@@ -7375,7 +7384,7 @@ var zn = {
7375
7384
  className: Z([u, n ?? ""]),
7376
7385
  ...l
7377
7386
  }, h, g);
7378
- }, Hr = 0, Ur = ({ ariaLabel: t, className: n, hasMobileMenu: r = !0, headingText: i, labels: a = {
7387
+ }, Gr = 0, Kr = ({ ariaLabel: t, className: n, hasMobileMenu: r = !0, headingText: i, labels: a = {
7379
7388
  submenu: "submenu",
7380
7389
  toggle: "Toggle"
7381
7390
  }, menuItems: o, mobileMenuMaxWidth: s = 640, mobileMenuSelectTextFallback: c = "Navigate to...", ...l }) => {
@@ -7457,7 +7466,7 @@ var zn = {
7457
7466
  O();
7458
7467
  let n = e.querySelector("a") || t;
7459
7468
  n && (n.focus(), T.current = w.current.indexOf(n));
7460
- }, Hr));
7469
+ }, Gr));
7461
7470
  }
7462
7471
  } else if (j(t)) {
7463
7472
  let e = t.classList.contains(`${u}__toggle`) ? t : k(t);
@@ -7507,7 +7516,7 @@ var zn = {
7507
7516
  opacity: "1",
7508
7517
  marginBlockStart: `${hn}rem`
7509
7518
  }], {
7510
- duration: Hr,
7519
+ duration: Gr,
7511
7520
  easing: Le
7512
7521
  }).onfinish = () => {
7513
7522
  Object.assign(e.style, {
@@ -7527,7 +7536,7 @@ var zn = {
7527
7536
  opacity: "0",
7528
7537
  marginBlockStart: "0"
7529
7538
  }], {
7530
- duration: Hr,
7539
+ duration: Gr,
7531
7540
  easing: Le
7532
7541
  });
7533
7542
  n.onfinish = () => {
@@ -7543,21 +7552,21 @@ var zn = {
7543
7552
  3: "third",
7544
7553
  4: "fourth"
7545
7554
  }, B = (t, n, r) => {
7546
- let i = z[t], o = `${p}--${i}-level`, s = `${f}--${i}-level`, c = t + 1, l = wr(n), d = !1, m = S.current?.querySelector(`.${f}--top-level[data-item-path="${n.path}"]`);
7555
+ let i = z[t], o = `${p}--${i}-level`, s = `${f}--${i}-level`, c = t + 1, l = Dr(n), d = !1, m = S.current?.querySelector(`.${f}--top-level[data-item-path="${n.path}"]`);
7547
7556
  if (m) {
7548
7557
  let e = Array.from(S.current?.querySelectorAll(`.${f}--top-level`) || []).indexOf(m);
7549
7558
  d = b.includes(e);
7550
7559
  } else d = l;
7551
7560
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, /* @__PURE__ */ e.createElement("button", {
7552
- "aria-expanded": wr(n),
7553
- className: Z([`${u}__toggle`, wr(n) ? `${u}__toggle--expanded` : null]),
7561
+ "aria-expanded": Dr(n),
7562
+ className: Z([`${u}__toggle`, Dr(n) ? `${u}__toggle--expanded` : null]),
7554
7563
  onClick: I,
7555
7564
  type: "button"
7556
7565
  }, /* @__PURE__ */ e.createElement(Q, {
7557
7566
  iconName: "caretDown",
7558
7567
  iconSize: "md",
7559
7568
  verticalAlign: "-0.0625rem"
7560
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${a.toggle} ${Sr(n.linkContent)} ${a.submenu}`)), Er(n.linkContent, n.links)), /* @__PURE__ */ e.createElement("ul", { className: Z([
7569
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${a.toggle} ${Tr(n.linkContent)} ${a.submenu}`)), kr(n.linkContent, n.links)), /* @__PURE__ */ e.createElement("ul", { className: Z([
7561
7570
  p,
7562
7571
  o,
7563
7572
  d ? `${p}--expanded` : null
@@ -7566,7 +7575,7 @@ var zn = {
7566
7575
  className: Z([
7567
7576
  f,
7568
7577
  s,
7569
- wr(t) ? `${f}--active` : null
7578
+ Dr(t) ? `${f}--active` : null
7570
7579
  ]),
7571
7580
  "data-item-path": t.path || ""
7572
7581
  }, t.links && c in z ? B(c, t, t.links) : t.linkContent))));
@@ -7577,11 +7586,11 @@ var zn = {
7577
7586
  className: Z([
7578
7587
  f,
7579
7588
  `${f}--top-level`,
7580
- wr(t) ? `${f}--active` : null
7589
+ Dr(t) ? `${f}--active` : null
7581
7590
  ]),
7582
7591
  "data-item-path": t.path || ""
7583
7592
  }, i ? B(2, t, i) : r);
7584
- }, H = /* @__PURE__ */ e.createElement(e.Fragment, null, i && /* @__PURE__ */ e.createElement("h2", { className: `${u}__heading pds-ts-l` }, i), o.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${u}__menu ${u}__menu--top-level` }, o.map((e, t) => V(e, t)))), U = /* @__PURE__ */ e.createElement(Mr, {
7593
+ }, H = /* @__PURE__ */ e.createElement(e.Fragment, null, i && /* @__PURE__ */ e.createElement("h2", { className: `${u}__heading pds-ts-l` }, i), o.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${u}__menu ${u}__menu--top-level` }, o.map((e, t) => V(e, t)))), U = /* @__PURE__ */ e.createElement(Fr, {
7585
7594
  headingText: i,
7586
7595
  menuItems: o,
7587
7596
  selectTextFallback: c
@@ -7598,8 +7607,8 @@ var zn = {
7598
7607
  tabIndex: 0,
7599
7608
  ...l
7600
7609
  }, D && r ? U : H);
7601
- }, Wr = ({ icon: t, isActive: n, isSidebarCollapsed: r, labels: i, linkContent: a, links: o }) => {
7602
- let s = "pds-side-nav-global", c = `${s}__item`, l = `${s}__menu`, u = /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` }, Dr(s, a, o, t)), f = (t, r) => /* @__PURE__ */ e.createElement("ul", { className: Z([
7610
+ }, qr = ({ icon: t, isActive: n, isSidebarCollapsed: r, labels: i, linkContent: a, links: o }) => {
7611
+ let s = "pds-side-nav-global", c = `${s}__item`, l = `${s}__menu`, u = /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` }, Ar(s, a, o, t)), f = (t, r) => /* @__PURE__ */ e.createElement("ul", { className: Z([
7603
7612
  l,
7604
7613
  `${l}--${r}`,
7605
7614
  n ? `${l}--expanded` : null
@@ -7608,7 +7617,7 @@ var zn = {
7608
7617
  className: Z([
7609
7618
  c,
7610
7619
  `${c}--${r}`,
7611
- wr(t) ? `${c}--active` : null
7620
+ Dr(t) ? `${c}--active` : null
7612
7621
  ])
7613
7622
  }, t.linkContent))), [p, g] = h(!1), _ = m(p), { context: v, floatingStyles: y, refs: b } = A({
7614
7623
  placement: "right-start",
@@ -7662,7 +7671,7 @@ var zn = {
7662
7671
  ]),
7663
7672
  ...D(),
7664
7673
  onKeyDown: O
7665
- }, o ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` }, Dr(s, a, o, t), !r && /* @__PURE__ */ e.createElement("button", {
7674
+ }, o ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` }, Ar(s, a, o, t), !r && /* @__PURE__ */ e.createElement("button", {
7666
7675
  "aria-expanded": n,
7667
7676
  className: Z([`${s}__toggle`, n ? `${s}__toggle--expanded` : null]),
7668
7677
  onClick: j,
@@ -7670,13 +7679,13 @@ var zn = {
7670
7679
  }, /* @__PURE__ */ e.createElement(Q, {
7671
7680
  iconName: "angleDown",
7672
7681
  iconSize: "md"
7673
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${i.toggle} ${Sr(a)} ${i.submenu}`))), !r && f(o, "second-level"), r && p && /* @__PURE__ */ e.createElement("div", {
7682
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${i.toggle} ${Tr(a)} ${i.submenu}`))), !r && f(o, "second-level"), r && p && /* @__PURE__ */ e.createElement("div", {
7674
7683
  ref: b.setFloating,
7675
7684
  className: `${s}__flyout`,
7676
7685
  style: y,
7677
7686
  ...x()
7678
- }, /* @__PURE__ */ e.createElement("div", { className: `${s}__flyout-heading` }, Sr(a)), f(o, "second-level-flyout"))) : /* @__PURE__ */ e.createElement(e.Fragment, null, r ? /* @__PURE__ */ e.createElement(Re, {
7679
- content: Sr(a),
7687
+ }, /* @__PURE__ */ e.createElement("div", { className: `${s}__flyout-heading` }, Tr(a)), f(o, "second-level-flyout"))) : /* @__PURE__ */ e.createElement(e.Fragment, null, r ? /* @__PURE__ */ e.createElement(Re, {
7688
+ content: Tr(a),
7680
7689
  customTrigger: u,
7681
7690
  offsetValue: {
7682
7691
  mainAxis: 8,
@@ -7684,7 +7693,7 @@ var zn = {
7684
7693
  },
7685
7694
  preferredPlacement: "right"
7686
7695
  }) : u));
7687
- }, Gr = ({ ariaLabel: t, className: n, hasLogo: r, isSidebarCollapsed: i, labels: a = {
7696
+ }, Jr = ({ ariaLabel: t, className: n, hasLogo: r, isSidebarCollapsed: i, labels: a = {
7688
7697
  submenu: "submenu",
7689
7698
  toggle: "Toggle"
7690
7699
  }, logoLinkContent: o, menuItems: s, mobileMenuSelectTextFallback: c = "Navigate to...", ...l }) => {
@@ -7692,18 +7701,18 @@ var zn = {
7692
7701
  className: `${u}__logo`,
7693
7702
  displayType: i ? "icon" : "full",
7694
7703
  linkContent: o
7695
- })), s.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${u}__menu ${u}__menu--top-level` }, s.map((t, n) => /* @__PURE__ */ e.createElement(Wr, {
7704
+ })), s.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${u}__menu ${u}__menu--top-level` }, s.map((t, n) => /* @__PURE__ */ e.createElement(qr, {
7696
7705
  key: n,
7697
7706
  icon: t.icon,
7698
- isActive: wr(t),
7707
+ isActive: Dr(t),
7699
7708
  isSidebarCollapsed: i,
7700
7709
  labels: a,
7701
7710
  linkContent: t.linkContent,
7702
7711
  links: t.links
7703
7712
  })))), p = s.map((e) => ({
7704
7713
  ...e,
7705
- linkContent: Dr(u, e.linkContent, e.links, e.icon)
7706
- })), m = /* @__PURE__ */ e.createElement(Mr, {
7714
+ linkContent: Ar(u, e.linkContent, e.links, e.icon)
7715
+ })), m = /* @__PURE__ */ e.createElement(Fr, {
7707
7716
  className: `${u}__dropdown-menu`,
7708
7717
  menuItems: p,
7709
7718
  selectTextFallback: c
@@ -7717,7 +7726,7 @@ var zn = {
7717
7726
  ]),
7718
7727
  ...l
7719
7728
  }, f, m);
7720
- }, Kr = ({ buttonLabel: t = "Toggle dropdown", filterLabel: n = "Filter items", filterPlaceholder: r = "Filter items...", links: i, minFilterItems: a = 5, noResultsText: o = "No results found" }) => {
7729
+ }, Yr = ({ buttonLabel: t = "Toggle dropdown", filterLabel: n = "Filter items", filterPlaceholder: r = "Filter items...", links: i, minFilterItems: a = 5, noResultsText: o = "No results found" }) => {
7721
7730
  let [s, c] = h(!1), [l, u] = h(null), [f, p] = h(i), [g, _] = h(""), v = i.length >= a, y = "pds-tab-menu", b = `${y}__dropdown-menu`, x = v ? `${b}--scroll` : null, C = `${y}__dropdown-item`, w = m([]), { context: T, refs: E } = A({
7722
7731
  open: s,
7723
7732
  onOpenChange: c,
@@ -7744,7 +7753,7 @@ var zn = {
7744
7753
  close: { opacity: 0 }
7745
7754
  }), V = (e) => {
7746
7755
  e.preventDefault(), e.key === "Enter" && w.current[l].querySelector("a")?.click(), e.key === "Tab" && e.shiftKey && (v ? document.getElementById("links-filter").focus() : c(!1));
7747
- }, H = (e, t) => Sr(e.linkContent).toLowerCase().includes(t.toLowerCase()), U = (e) => {
7756
+ }, H = (e, t) => Tr(e.linkContent).toLowerCase().includes(t.toLowerCase()), U = (e) => {
7748
7757
  let t = e.target.value;
7749
7758
  _(t), p(i.filter((e) => H(e, t)));
7750
7759
  };
@@ -7755,11 +7764,11 @@ var zn = {
7755
7764
  _(""), p(i);
7756
7765
  }, W = {
7757
7766
  minWidth: "13rem",
7758
- width: `${Sr(i.reduce((e, t) => Sr(e.linkContent).length > Sr(t.linkContent).length ? e : t).linkContent).length + 2}ch`
7767
+ width: `${Tr(i.reduce((e, t) => Tr(e.linkContent).length > Tr(t.linkContent).length ? e : t).linkContent).length + 2}ch`
7759
7768
  }, te = /* @__PURE__ */ e.createElement(Q, {
7760
7769
  className: `${y}__active-icon`,
7761
7770
  iconName: "check"
7762
- }), ne = v && /* @__PURE__ */ e.createElement("div", { className: `${y}__filter` }, /* @__PURE__ */ e.createElement(_r, {
7771
+ }), G = v && /* @__PURE__ */ e.createElement("div", { className: `${y}__filter` }, /* @__PURE__ */ e.createElement(br, {
7763
7772
  hasClearButton: !0,
7764
7773
  autoComplete: "off",
7765
7774
  id: "links-filter",
@@ -7769,7 +7778,7 @@ var zn = {
7769
7778
  placeholder: r,
7770
7779
  showLabel: !1,
7771
7780
  type: "search"
7772
- })), G = f.map((t, n) => {
7781
+ })), K = f.map((t, n) => {
7773
7782
  let r = t.isActive ? `${C}--active` : null;
7774
7783
  return /* @__PURE__ */ e.createElement("li", {
7775
7784
  key: n,
@@ -7800,12 +7809,12 @@ var zn = {
7800
7809
  zIndex: "var(--pds-z-index-dropdown)",
7801
7810
  ...W
7802
7811
  } })
7803
- }, /* @__PURE__ */ e.createElement("div", { style: { ...B } }, ne, /* @__PURE__ */ e.createElement("ul", { className: Z([b, x]) }, G.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${y}__no-results` }, o) : G))));
7804
- }, qr = ({ ariaLabel: t, className: n, menuItems: i, ...a }) => {
7812
+ }, /* @__PURE__ */ e.createElement("div", { style: { ...B } }, G, /* @__PURE__ */ e.createElement("ul", { className: Z([b, x]) }, K.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${y}__no-results` }, o) : K))));
7813
+ }, Xr = ({ ariaLabel: t, className: n, menuItems: i, ...a }) => {
7805
7814
  let o = !1, s = u(bt);
7806
7815
  s && (o = s.isMobile);
7807
7816
  let l = "pds-tab-menu", d = o ? `${l}--isMobile` : null, f = ({ dropdownSettings: t, icon: n, isActive: i, linkContent: a, links: s, promoteActiveChildLink: u = !1 }) => {
7808
- let d = `${l}__item`, f = xr(s);
7817
+ let d = `${l}__item`, f = wr(s);
7809
7818
  return /* @__PURE__ */ e.createElement("li", { className: Z([d, i ? `${d}--active` : null]) }, ((t, n) => {
7810
7819
  let i = null;
7811
7820
  return c(t) && (i = n ? r(t, Object.assign({}, t.props, { children: [/* @__PURE__ */ e.createElement("span", {
@@ -7816,7 +7825,7 @@ var zn = {
7816
7825
  iconName: n,
7817
7826
  iconSize: o ? "sm" : "md"
7818
7827
  }), t.props.children)] })) : t), i;
7819
- })(u ? f : a, n), s && /* @__PURE__ */ e.createElement(Kr, {
7828
+ })(u ? f : a, n), s && /* @__PURE__ */ e.createElement(Yr, {
7820
7829
  buttonLabel: t?.buttonLabel,
7821
7830
  filterLabel: t?.filterLabel,
7822
7831
  filterPlaceholder: t?.filterPlaceholder,
@@ -7828,7 +7837,7 @@ var zn = {
7828
7837
  key: n,
7829
7838
  dropdownSettings: t.dropdownSettings,
7830
7839
  icon: t.icon,
7831
- isActive: wr(t),
7840
+ isActive: Dr(t),
7832
7841
  linkContent: t.linkContent,
7833
7842
  links: t.links,
7834
7843
  promoteActiveChildLink: t.promoteActiveChildLink
@@ -7842,7 +7851,7 @@ var zn = {
7842
7851
  ]),
7843
7852
  ...a
7844
7853
  }, o ? /* @__PURE__ */ e.createElement("div", { className: `${l}__mobile-menu-wrapper` }, p) : p);
7845
- }, Jr = ({ ariaLabel: t = "User menu", className: n, menuItems: r, userEmail: i, userImageSrc: a, userName: o, withinNavbar: s = !0, ...c }) => {
7854
+ }, Zr = ({ ariaLabel: t = "User menu", className: n, menuItems: r, userEmail: i, userImageSrc: a, userName: o, withinNavbar: s = !0, ...c }) => {
7846
7855
  let [l, d] = h(null), [f, p] = h(!1), g = m([]), _ = m([]), v = !1, y = u(bt);
7847
7856
  y && (v = y.isMobile);
7848
7857
  let b = s && v, x = "pds-user-menu", T = b ? `${x}--isMobile` : null, D = `${x}__menu`, { context: j, floatingStyles: M, refs: N } = A({
@@ -7876,16 +7885,16 @@ var zn = {
7876
7885
  initial: { opacity: 0 },
7877
7886
  open: { opacity: 1 },
7878
7887
  close: { opacity: 0 }
7879
- }), ne = /* @__PURE__ */ e.createElement(Me, {
7888
+ }), G = /* @__PURE__ */ e.createElement(Me, {
7880
7889
  hasUserFallback: !0,
7881
7890
  className: `${x}__avatar`,
7882
7891
  imageSrc: a,
7883
7892
  size: "sm",
7884
7893
  uniqueId: i
7885
- }), G = /* @__PURE__ */ e.createElement(Q, {
7894
+ }), K = /* @__PURE__ */ e.createElement(Q, {
7886
7895
  className: `${x}__trigger-icon`,
7887
7896
  iconName: "angleDown"
7888
- }), K = /* @__PURE__ */ e.createElement("li", {
7897
+ }), q = /* @__PURE__ */ e.createElement("li", {
7889
7898
  className: `${x}__user-details`,
7890
7899
  role: "presentation"
7891
7900
  }, b ? null : /* @__PURE__ */ e.createElement("div", { className: `${x}__user-name` }, o), /* @__PURE__ */ e.createElement("div", { className: `${x}__user-email` }, i));
@@ -7893,14 +7902,14 @@ var zn = {
7893
7902
  let t = e.id ? e.id : we();
7894
7903
  g.current.push(t), _.current.push(e);
7895
7904
  });
7896
- let q = (e) => {
7905
+ let J = (e) => {
7897
7906
  let t = g.current.indexOf(e), n = _.current[t];
7898
7907
  n.linkContent && !n.disabled && (V.current[t].querySelector("a").click(), p(!1)), n.callback && !n.disabled && (n.callback(n), p(!1));
7908
+ }, ne = (e) => {
7909
+ e.preventDefault(), e.key === "Enter" && J(e.currentTarget.id);
7899
7910
  }, re = (e) => {
7900
- e.preventDefault(), e.key === "Enter" && q(e.currentTarget.id);
7901
- }, ie = (e) => {
7902
- q(e.currentTarget.id);
7903
- }, J = r.map((t, n) => {
7911
+ J(e.currentTarget.id);
7912
+ }, Y = r.map((t, n) => {
7904
7913
  let r = g.current[n], i = `${x}__item`, a = t.disabled ? `${i}--disabled` : null;
7905
7914
  return /* @__PURE__ */ e.createElement("li", {
7906
7915
  key: r,
@@ -7909,22 +7918,22 @@ var zn = {
7909
7918
  },
7910
7919
  className: Z([i, a]),
7911
7920
  id: r,
7912
- onKeyDown: re,
7921
+ onKeyDown: ne,
7913
7922
  role: "menuitem",
7914
7923
  tabIndex: l === n ? 0 : -1,
7915
- ...U({ onClick: (e) => ie(e) })
7924
+ ...U({ onClick: (e) => re(e) })
7916
7925
  }, t.iconName && /* @__PURE__ */ e.createElement(Q, {
7917
7926
  className: `${x}__icon`,
7918
7927
  iconName: t.iconName,
7919
7928
  iconSize: "sm"
7920
7929
  }), t.linkContent ? t.linkContent : t.label);
7921
- }), ae = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("button", {
7930
+ }), ie = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("button", {
7922
7931
  ref: N.setReference,
7923
7932
  "aria-label": t,
7924
7933
  className: `${x}__trigger`,
7925
7934
  type: "button",
7926
7935
  ...ee()
7927
- }, ne), W && /* @__PURE__ */ e.createElement("div", {
7936
+ }, G), W && /* @__PURE__ */ e.createElement("div", {
7928
7937
  ref: N.setFloating,
7929
7938
  className: `${x}__dropdown`,
7930
7939
  style: {
@@ -7935,7 +7944,7 @@ var zn = {
7935
7944
  }, /* @__PURE__ */ e.createElement("div", { style: { ...te } }, /* @__PURE__ */ e.createElement("ul", {
7936
7945
  className: D,
7937
7946
  role: "menu"
7938
- }, K, /* @__PURE__ */ e.createElement("li", { role: "separator" }), J)))), Y = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("button", {
7947
+ }, q, /* @__PURE__ */ e.createElement("li", { role: "separator" }), Y)))), ae = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("button", {
7939
7948
  "aria-expanded": !1,
7940
7949
  "aria-label": t,
7941
7950
  className: `${x}__toggle`,
@@ -7943,10 +7952,10 @@ var zn = {
7943
7952
  let t = e.currentTarget;
7944
7953
  t.classList.toggle(`${x}__toggle--expanded`), t.setAttribute("aria-expanded", t.getAttribute("aria-expanded") === "true" ? "false" : "true"), t.nextElementSibling.classList.toggle(`${x}__mobile-menu--expanded`);
7945
7954
  }
7946
- }, /* @__PURE__ */ e.createElement("span", { className: `${x}__toggle-left` }, ne, o || i), G), /* @__PURE__ */ e.createElement("div", { className: `${x}__mobile-menu` }, /* @__PURE__ */ e.createElement("ul", {
7955
+ }, /* @__PURE__ */ e.createElement("span", { className: `${x}__toggle-left` }, G, o || i), K), /* @__PURE__ */ e.createElement("div", { className: `${x}__mobile-menu` }, /* @__PURE__ */ e.createElement("ul", {
7947
7956
  className: Z([D, `${D}--isMobile`]),
7948
7957
  role: "menu"
7949
- }, K, /* @__PURE__ */ e.createElement("li", { role: "separator" }), J)));
7958
+ }, q, /* @__PURE__ */ e.createElement("li", { role: "separator" }), Y)));
7950
7959
  return /* @__PURE__ */ e.createElement("span", {
7951
7960
  className: Z([
7952
7961
  x,
@@ -7954,8 +7963,8 @@ var zn = {
7954
7963
  n ?? ""
7955
7964
  ]),
7956
7965
  ...c
7957
- }, b ? Y : ae);
7958
- }, Yr = {
7966
+ }, b ? ae : ie);
7967
+ }, Qr = {
7959
7968
  silver: "Silver",
7960
7969
  gold: "Gold",
7961
7970
  platinum: "Platinum",
@@ -7964,14 +7973,14 @@ var zn = {
7964
7973
  standard: "Standard",
7965
7974
  premium: "Premium",
7966
7975
  priority: "Priority"
7967
- }, Xr = ({ ariaLabel: t = "Workspace selector menu", className: n, createWorkspaceLink: r, filterLabel: i = "Filter workspaces", filterPlaceholder: a = "Find workspace...", menuHeading: o = "Workspaces", minFilterItems: s = 8, noResultsText: c = "No results found", withinNavbar: l = !0, workspaceList: d, ...f }) => {
7976
+ }, $r = ({ ariaLabel: t = "Workspace selector menu", className: n, createWorkspaceLink: r, filterLabel: i = "Filter workspaces", filterPlaceholder: a = "Find workspace...", menuHeading: o = "Workspaces", minFilterItems: s = 8, noResultsText: c = "No results found", withinNavbar: l = !0, workspaceList: d, ...f }) => {
7968
7977
  let [g, _] = h(!1), [v, y] = h(null), [b, x] = h(""), C = m([]), w = m(null), T = d.length >= s, E = !1, D = u(bt);
7969
7978
  D && (E = D.isMobile);
7970
7979
  let j = l && E, M = "pds-workspace-selector", N = j ? `${M}--isMobile` : null, z = `${M}__menu`, B = T ? `${z}--scroll` : null, { context: V, floatingStyles: H, refs: U } = A({
7971
7980
  open: g,
7972
7981
  onOpenChange: _,
7973
7982
  whileElementsMounted: S
7974
- }), ee = O(V, { event: "mousedown" }), { getFloatingProps: W, getItemProps: te, getReferenceProps: ne } = P([
7983
+ }), ee = O(V, { event: "mousedown" }), { getFloatingProps: W, getItemProps: te, getReferenceProps: G } = P([
7975
7984
  k(V),
7976
7985
  I(V, { role: "menu" }),
7977
7986
  ee,
@@ -7996,7 +8005,7 @@ var zn = {
7996
8005
  return e.find((e) => (e?.textContent?.trim().toLowerCase() ?? "").startsWith(n));
7997
8006
  }
7998
8007
  })
7999
- ]), { isMounted: G, styles: K } = L(V, {
8008
+ ]), { isMounted: K, styles: q } = L(V, {
8000
8009
  duration: {
8001
8010
  open: 300,
8002
8011
  close: 150
@@ -8004,28 +8013,28 @@ var zn = {
8004
8013
  initial: { opacity: 0 },
8005
8014
  open: { opacity: 1 },
8006
8015
  close: { opacity: 0 }
8007
- }), q = d.find((e) => e.isActive);
8008
- q || (q = d[0]);
8009
- let re = p(() => {
8016
+ }), J = d.find((e) => e.isActive);
8017
+ J || (J = d[0]);
8018
+ let ne = p(() => {
8010
8019
  if (!b) return d;
8011
8020
  let e = b.toLowerCase();
8012
8021
  return d.filter((t) => t.displayName.toLowerCase().includes(e));
8013
- }, [d, b]), ie = (e) => {
8022
+ }, [d, b]), re = (e) => {
8014
8023
  e.preventDefault(), e.key === "Enter" && (C.current[v].querySelector("a") || C.current[v].querySelector("button"))?.click(), e.key === "Tab" && (e.shiftKey ? T ? document.getElementById("workspace-filter").focus() : _(!1) : r ? w.current.querySelector("a").focus() : _(!1));
8015
- }, J = /* @__PURE__ */ e.createElement("div", { className: `${M}__button-content` }, /* @__PURE__ */ e.createElement(Me, {
8024
+ }, Y = /* @__PURE__ */ e.createElement("div", { className: `${M}__button-content` }, /* @__PURE__ */ e.createElement(Me, {
8016
8025
  className: `${M}__avatar`,
8017
- imageSrc: q.imageSrc,
8026
+ imageSrc: J.imageSrc,
8018
8027
  size: "sm",
8019
- uniqueId: q.workspaceId
8020
- }), /* @__PURE__ */ e.createElement("span", { className: `${M}__name` }, q.displayName), q.planTier && /* @__PURE__ */ e.createElement(Ne, {
8021
- color: q.planTier,
8022
- label: Yr[q.planTier],
8028
+ uniqueId: J.workspaceId
8029
+ }), /* @__PURE__ */ e.createElement("span", { className: `${M}__name` }, J.displayName), J.planTier && /* @__PURE__ */ e.createElement(Ne, {
8030
+ color: J.planTier,
8031
+ label: Qr[J.planTier],
8023
8032
  size: "sm"
8024
- })), ae = /* @__PURE__ */ e.createElement(Q, {
8033
+ })), ie = /* @__PURE__ */ e.createElement(Q, {
8025
8034
  className: `${M}__trigger-icon`,
8026
8035
  iconName: "angleDown",
8027
8036
  iconSize: "md"
8028
- }), Y = T && /* @__PURE__ */ e.createElement("div", { className: `${M}__filter` }, /* @__PURE__ */ e.createElement(_r, {
8037
+ }), ae = T && /* @__PURE__ */ e.createElement("div", { className: `${M}__filter` }, /* @__PURE__ */ e.createElement(br, {
8029
8038
  hasClearButton: !0,
8030
8039
  id: "workspace-filter",
8031
8040
  label: i,
@@ -8034,7 +8043,7 @@ var zn = {
8034
8043
  placeholder: a,
8035
8044
  showLabel: !1,
8036
8045
  type: "search"
8037
- })), oe = re.map((t, n) => {
8046
+ })), oe = ne.map((t, n) => {
8038
8047
  let r = `${M}__item`, i = t.isActive ? `${r}--active` : null, a = t.isUnprivileged ? `${r}--unprivileged` : null, o = t.isRestricted ? `${r}--restricted` : null, s = /* @__PURE__ */ e.createElement(Q, {
8039
8048
  className: `${M}__active-icon`,
8040
8049
  iconName: "check"
@@ -8059,7 +8068,7 @@ var zn = {
8059
8068
  o
8060
8069
  ]),
8061
8070
  id: l,
8062
- onKeyDown: ie,
8071
+ onKeyDown: re,
8063
8072
  role: "menuitem",
8064
8073
  tabIndex: v === n ? 0 : -1,
8065
8074
  ...te()
@@ -8084,13 +8093,13 @@ var zn = {
8084
8093
  "aria-label": t,
8085
8094
  className: `${M}__trigger`,
8086
8095
  type: "button",
8087
- ...ne()
8088
- }, J, ae), G && /* @__PURE__ */ e.createElement("div", {
8096
+ ...G()
8097
+ }, Y, ie), K && /* @__PURE__ */ e.createElement("div", {
8089
8098
  ref: U.setFloating,
8090
8099
  className: `${M}__dropdown`,
8091
8100
  style: { zIndex: "var(--pds-z-index-dropdown)" },
8092
8101
  ...W()
8093
- }, /* @__PURE__ */ e.createElement("div", { style: { ...K } }, Y, /* @__PURE__ */ e.createElement("ul", {
8102
+ }, /* @__PURE__ */ e.createElement("div", { style: { ...q } }, ae, /* @__PURE__ */ e.createElement("ul", {
8094
8103
  className: Z([z, B]),
8095
8104
  role: "menu"
8096
8105
  }, /* @__PURE__ */ e.createElement("li", {
@@ -8105,7 +8114,7 @@ var zn = {
8105
8114
  t.classList.toggle(`${M}__toggle--expanded`), t.setAttribute("aria-expanded", t.getAttribute("aria-expanded") === "true" ? "false" : "true"), t.nextElementSibling.classList.toggle(`${M}__mobile-menu--expanded`);
8106
8115
  },
8107
8116
  type: "button"
8108
- }, J, ae), /* @__PURE__ */ e.createElement("div", { className: `${M}__mobile-menu` }, Y, /* @__PURE__ */ e.createElement("ul", {
8117
+ }, Y, ie), /* @__PURE__ */ e.createElement("div", { className: `${M}__mobile-menu` }, ae, /* @__PURE__ */ e.createElement("ul", {
8109
8118
  className: Z([z, `${z}--isMobile`]),
8110
8119
  role: "menu"
8111
8120
  }, /* @__PURE__ */ e.createElement("li", {
@@ -8120,11 +8129,11 @@ var zn = {
8120
8129
  ]),
8121
8130
  ...f
8122
8131
  }, j ? ce : se);
8123
- }, Zr = {
8132
+ }, ei = {
8124
8133
  info: "circleInfo",
8125
8134
  warning: "triangleExclamation",
8126
8135
  critical: "diamondExclamation"
8127
- }, Qr = ({ banners: t, className: n, dismissLabel: r = "Dismiss", labelNext: i = "Go to next message", labelPrevious: a = "Go to previous message", typeLabels: o = dt, ...s }) => {
8136
+ }, ti = ({ banners: t, className: n, dismissLabel: r = "Dismiss", labelNext: i = "Go to next message", labelPrevious: a = "Go to previous message", typeLabels: o = dt, ...s }) => {
8128
8137
  let [c, l] = h(t);
8129
8138
  d(() => {
8130
8139
  l(t);
@@ -8158,7 +8167,7 @@ var zn = {
8158
8167
  style: { zIndex: v(n).zIndex }
8159
8168
  }, /* @__PURE__ */ e.createElement("div", { className: `${f}__content` }, /* @__PURE__ */ e.createElement(Q, {
8160
8169
  className: `${f}__icon ${f}__icon--${t.type}`,
8161
- iconName: Zr[d],
8170
+ iconName: ei[d],
8162
8171
  iconSize: "md"
8163
8172
  }), /* @__PURE__ */ e.createElement("div", { className: `${f}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, h, " "), s)), a && /* @__PURE__ */ e.createElement("button", {
8164
8173
  className: `${f}__dismiss-button`,
@@ -8196,12 +8205,12 @@ var zn = {
8196
8205
  onClick: x,
8197
8206
  size: "lg"
8198
8207
  }), c.map((e, t) => C(e, t))) : C(c[0], 0));
8199
- }, $r = {
8208
+ }, ni = {
8200
8209
  info: "circleInfo",
8201
8210
  warning: "triangleExclamation",
8202
8211
  success: "circleCheck",
8203
8212
  critical: "diamondExclamation"
8204
- }, ei = ({ className: t, message: n, title: r, type: i, typeLabels: a = {
8213
+ }, ri = ({ className: t, message: n, title: r, type: i, typeLabels: a = {
8205
8214
  ...dt,
8206
8215
  working: "Working"
8207
8216
  }, ...o }) => {
@@ -8225,16 +8234,16 @@ var zn = {
8225
8234
  colorType: "monochromatic",
8226
8235
  size: "lg"
8227
8236
  }) : /* @__PURE__ */ e.createElement(Q, {
8228
- iconName: `${i}` in $r ? $r[i] : $r.info,
8237
+ iconName: `${i}` in ni ? ni[i] : ni.info,
8229
8238
  iconSize: "lg"
8230
8239
  })), /* @__PURE__ */ e.createElement("div", { className: `${s}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, u), /* @__PURE__ */ e.createElement("div", { className: `${s}__title` }, r), /* @__PURE__ */ e.createElement("div", { className: `${s}__message` }, d)));
8231
- }, ti = {
8240
+ }, ii = {
8232
8241
  info: "circleInfo",
8233
8242
  warning: "triangleExclamation",
8234
8243
  success: "circleCheck",
8235
8244
  critical: "diamondExclamation",
8236
8245
  discovery: "squareQuestion"
8237
- }, ni = ({ className: t, ctaButton: n, dismissLabel: r = "Dismiss", id: i, isDismissible: a, message: o, onDismiss: s, title: c, type: l = "info", typeLabels: u = dt, ...d }) => {
8246
+ }, ai = ({ className: t, ctaButton: n, dismissLabel: r = "Dismiss", id: i, isDismissible: a, message: o, onDismiss: s, title: c, type: l = "info", typeLabels: u = dt, ...d }) => {
8238
8247
  let f = m(null), p = "pds-section-message", h = {
8239
8248
  error: `${p}--error`,
8240
8249
  success: `${p}--success`,
@@ -8266,7 +8275,7 @@ var zn = {
8266
8275
  role: v,
8267
8276
  ...d
8268
8277
  }, /* @__PURE__ */ e.createElement("div", { className: `${p}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${p}__icon ${p}__icon-${l}` }, /* @__PURE__ */ e.createElement(Q, {
8269
- iconName: `${l}` in ti ? ti[l] : ti.info,
8278
+ iconName: `${l}` in ii ? ii[l] : ii.info,
8270
8279
  iconSize: "lg"
8271
8280
  })), /* @__PURE__ */ e.createElement("div", { className: `${p}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, y), c && /* @__PURE__ */ e.createElement("div", { className: `${p}__title` }, c), /* @__PURE__ */ e.createElement("div", { className: `${p}__message` }, b))), (n || a) && /* @__PURE__ */ e.createElement("div", { className: `${p}__actions` }, n && /* @__PURE__ */ e.createElement(at, {
8272
8281
  ...n,
@@ -8283,10 +8292,10 @@ var zn = {
8283
8292
  iconName: "xmark",
8284
8293
  iconSize: "lg"
8285
8294
  }))));
8286
- }, ri = 3e4, ii = {
8295
+ }, oi = 3e4, si = {
8287
8296
  pause: "Pause notification",
8288
8297
  resume: "Resume notification"
8289
- }, ai = i({ labelStrings: ii }), oi = ({ ariaLabel: t, closeToast: n }) => /* @__PURE__ */ e.createElement("button", {
8298
+ }, ci = i({ labelStrings: si }), li = ({ ariaLabel: t, closeToast: n }) => /* @__PURE__ */ e.createElement("button", {
8290
8299
  "aria-label": t ?? "Close",
8291
8300
  className: "pds-toast__close-button",
8292
8301
  onClick: (e) => {
@@ -8297,13 +8306,13 @@ var zn = {
8297
8306
  }, /* @__PURE__ */ e.createElement(Q, {
8298
8307
  iconName: "xmark",
8299
8308
  iconSize: "md"
8300
- })), si = ({ className: t, labelStrings: n = ii, limit: r = 5, position: i = "bottom-right" }) => {
8309
+ })), ui = ({ className: t, labelStrings: n = si, limit: r = 5, position: i = "bottom-right" }) => {
8301
8310
  let a = Z(["pds-toaster", t]);
8302
- return /* @__PURE__ */ e.createElement(ai.Provider, { value: { labelStrings: n } }, /* @__PURE__ */ e.createElement(fe, {
8311
+ return /* @__PURE__ */ e.createElement(ci.Provider, { value: { labelStrings: n } }, /* @__PURE__ */ e.createElement(fe, {
8303
8312
  newestOnTop: !0,
8304
8313
  autoClose: !1,
8305
8314
  className: a,
8306
- closeButton: oi,
8315
+ closeButton: li,
8307
8316
  draggable: !1,
8308
8317
  icon: !1,
8309
8318
  limit: r,
@@ -8312,18 +8321,18 @@ var zn = {
8312
8321
  role: "status",
8313
8322
  transition: de
8314
8323
  }));
8315
- }, ci = {
8324
+ }, di = {
8316
8325
  info: "circleInfo",
8317
8326
  success: "check",
8318
8327
  warning: "triangleExclamation",
8319
8328
  critical: "diamondExclamation"
8320
- }, li = {
8329
+ }, fi = {
8321
8330
  info: "Information",
8322
8331
  success: "Success",
8323
8332
  warning: "Warning",
8324
8333
  critical: "Critical",
8325
8334
  working: "Working..."
8326
- }, ui = ({ autoCloseDuration: t, children: n, className: r, id: i, toastId: a, type: o = "info", typeLabels: s = li }) => {
8335
+ }, pi = ({ autoCloseDuration: t, children: n, className: r, id: i, toastId: a, type: o = "info", typeLabels: s = fi }) => {
8327
8336
  let c = "pds-toast", l = {
8328
8337
  info: `${c}--info`,
8329
8338
  success: `${c}--success`,
@@ -8333,7 +8342,7 @@ var zn = {
8333
8342
  dismissing: `${c}--dismissing`,
8334
8343
  dismissed: `${c}--dismissed`,
8335
8344
  transition: `${c}--transition`
8336
- }, d = `${s[o]} `, { labelStrings: f } = u(ai), [p, m] = h(!1), g = a !== void 0 && o !== "critical" && o !== "working" && typeof t == "number";
8345
+ }, d = `${s[o]} `, { labelStrings: f } = u(ci), [p, m] = h(!1), g = a !== void 0 && o !== "critical" && o !== "working" && typeof t == "number";
8337
8346
  return /* @__PURE__ */ e.createElement("div", {
8338
8347
  className: Z([
8339
8348
  c,
@@ -8346,7 +8355,7 @@ var zn = {
8346
8355
  size: "lg"
8347
8356
  }) : /* @__PURE__ */ e.createElement(Q, {
8348
8357
  className: `${c}__icon ${c}__icon--${o}`,
8349
- iconName: `${o}` in ci ? ci[o] : ci.info
8358
+ iconName: `${o}` in di ? di[o] : di.info
8350
8359
  })), /* @__PURE__ */ e.createElement("div", { className: `${c}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, d), n), g && /* @__PURE__ */ e.createElement("button", {
8351
8360
  "aria-label": p ? f.resume : f.pause,
8352
8361
  className: `${c}__pause-button`,
@@ -8357,11 +8366,11 @@ var zn = {
8357
8366
  },
8358
8367
  type: "button"
8359
8368
  }, /* @__PURE__ */ e.createElement(Q, { iconName: p ? "play" : "pause" })));
8360
- }, di = /* @__PURE__ */ function(e) {
8369
+ }, mi = /* @__PURE__ */ function(e) {
8361
8370
  return e.Critical = "critical", e.Info = "info", e.Success = "success", e.Warning = "warning", e.Working = "working", e;
8362
- }({}), fi = () => [
8371
+ }({}), hi = () => [
8363
8372
  (t, n, r = {}) => {
8364
- let i = r.toastId ?? we(), a = typeof r.autoClose == "number" ? Math.max(ri, r.autoClose) : !1, o = /* @__PURE__ */ e.createElement(ui, {
8373
+ let i = r.toastId ?? we(), a = typeof r.autoClose == "number" ? Math.max(oi, r.autoClose) : !1, o = /* @__PURE__ */ e.createElement(pi, {
8365
8374
  autoCloseDuration: a || void 0,
8366
8375
  toastId: i,
8367
8376
  type: t
@@ -8386,27 +8395,27 @@ var zn = {
8386
8395
  enter: "pds-toast--bounceInPlace",
8387
8396
  exit: "pds-toast--slideOut"
8388
8397
  })
8389
- ], pi = (e, t) => {
8398
+ ], gi = (e, t) => {
8390
8399
  let n = t - e + 1;
8391
8400
  return Array.from({ length: n }, (t, n) => n + e);
8392
- }, mi = ({ bufferCount: e = 1, currentPage: t, itemsPerPage: n, totalItemCount: r }) => p(() => {
8401
+ }, _i = ({ bufferCount: e = 1, currentPage: t, itemsPerPage: n, totalItemCount: r }) => p(() => {
8393
8402
  let i = Math.ceil(r / n), a = e + 5, o = i;
8394
- if (a >= i) return pi(1, i);
8403
+ if (a >= i) return gi(1, i);
8395
8404
  let s = Math.max(t - e, 1), c = Math.min(t + e, i), l = s > 2, u = c < i - 2;
8396
8405
  if (!l && u) return [
8397
- ...pi(1, 3 + 2 * e),
8406
+ ...gi(1, 3 + 2 * e),
8398
8407
  "...",
8399
8408
  i
8400
8409
  ];
8401
8410
  if (l && !u) return [
8402
8411
  1,
8403
8412
  "...",
8404
- ...pi(i - (3 + 2 * e) + 1, i)
8413
+ ...gi(i - (3 + 2 * e) + 1, i)
8405
8414
  ];
8406
8415
  if (l && u) return [
8407
8416
  1,
8408
8417
  "...",
8409
- ...pi(s, c),
8418
+ ...gi(s, c),
8410
8419
  "...",
8411
8420
  o
8412
8421
  ];
@@ -8415,11 +8424,11 @@ var zn = {
8415
8424
  n,
8416
8425
  e,
8417
8426
  t
8418
- ]), hi = ({ bufferCount: t = 1, className: n, currentPage: r, headingLevel: i = "h2", headingText: a = "Pagination", itemsPerPage: o = 10, labelStrings: s = {
8427
+ ]), vi = ({ bufferCount: t = 1, className: n, currentPage: r, headingLevel: i = "h2", headingText: a = "Pagination", itemsPerPage: o = 10, labelStrings: s = {
8419
8428
  previous: "Go to previous page",
8420
8429
  next: "Go to next page"
8421
8430
  }, onPageChange: c, totalItemCount: l, ...u }) => {
8422
- let d = mi({
8431
+ let d = _i({
8423
8432
  currentPage: r,
8424
8433
  totalItemCount: l,
8425
8434
  bufferCount: t,
@@ -8467,7 +8476,7 @@ var zn = {
8467
8476
  onClick: r === f ? void 0 : p,
8468
8477
  type: "button"
8469
8478
  }, /* @__PURE__ */ e.createElement(Q, { iconName: "arrowRight" })))));
8470
- }, gi = 0, _i = ({ children: t, className: n, id: r, isOpen: i = !1, showBorder: a = !0, summary: o, ...s }) => {
8479
+ }, yi = 0, bi = ({ children: t, className: n, id: r, isOpen: i = !1, showBorder: a = !0, summary: o, ...s }) => {
8471
8480
  let [c, l] = h(i), u = m(r || `expansion-panel-${we()}`).current, f = "pds-expansion-panel", p = a ? null : `${f}--no-border`, g = m(null), _ = m(null), v = m(null);
8472
8481
  return d(() => {
8473
8482
  let e = g.current, t = _.current, n = v.current;
@@ -8478,7 +8487,7 @@ var zn = {
8478
8487
  i = !0, l(!1);
8479
8488
  let n = `${e.offsetHeight}px`, a = `${t.offsetHeight}px`;
8480
8489
  r && r.cancel(), r = e.animate({ height: [n, a] }, {
8481
- duration: gi,
8490
+ duration: yi,
8482
8491
  easing: Le
8483
8492
  }), r.onfinish = () => d(!1), r.oncancel = () => i = !1;
8484
8493
  }, c = () => {
@@ -8487,7 +8496,7 @@ var zn = {
8487
8496
  a = !0;
8488
8497
  let i = `${e.offsetHeight}px`, o = `${t.offsetHeight + n.offsetHeight}px`;
8489
8498
  r && r.cancel(), r = e.animate({ height: [i, o] }, {
8490
- duration: gi,
8499
+ duration: yi,
8491
8500
  easing: Le
8492
8501
  }), r.onfinish = () => d(!0), r.oncancel = () => a = !1;
8493
8502
  }, d = (t) => {
@@ -8513,7 +8522,7 @@ var zn = {
8513
8522
  ref: v,
8514
8523
  className: `${f}__content`
8515
8524
  }, t)));
8516
- }, vi = ({ children: t, className: n, displayType: r = "standard", ...i }) => {
8525
+ }, xi = ({ children: t, className: n, displayType: r = "standard", ...i }) => {
8517
8526
  let a = "pds-expansion-panel-group", o = `${a}--${r}`;
8518
8527
  return /* @__PURE__ */ e.createElement("div", {
8519
8528
  className: Z([
@@ -8523,7 +8532,7 @@ var zn = {
8523
8532
  ]),
8524
8533
  ...i
8525
8534
  }, t);
8526
- }, yi = ({ children: t, className: n, hasStatusIndicator: r = !1, padding: i = "standard", statusType: a, typeLabels: o = dt, variant: s = "default", ...c }) => {
8535
+ }, Si = ({ children: t, className: n, hasStatusIndicator: r = !1, padding: i = "standard", statusType: a, typeLabels: o = dt, variant: s = "default", ...c }) => {
8527
8536
  let l = "pds-panel", u = r ? `${l}__status ${l}__status-${a}` : null, d = `${l}--${s}`, f = `${l}__content`, p = i === "standard" ? null : `${f}--pad-${i}`, m = a && a !== "neutral" ? `${o[a]}: ` : null;
8528
8537
  return /* @__PURE__ */ e.createElement("div", {
8529
8538
  className: Z([
@@ -8533,7 +8542,7 @@ var zn = {
8533
8542
  ]),
8534
8543
  ...c
8535
8544
  }, r && a && /* @__PURE__ */ e.createElement("span", { className: u }, m && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, m)), /* @__PURE__ */ e.createElement("div", { className: Z([f, p]) }, t));
8536
- }, bi = ({ background: t = "default", children: n, className: r, hasBorder: i = !0, paddingSize: a = "md", ...o }) => {
8545
+ }, Ci = ({ background: t = "default", children: n, className: r, hasBorder: i = !0, paddingSize: a = "md", ...o }) => {
8537
8546
  let s = "pds-panel-list", c = `pds-panel-list--${a}`, l = t === "default" ? null : `${s}--${t}`, u = i ? null : `${s}--borderless`;
8538
8547
  return /* @__PURE__ */ e.createElement("ul", {
8539
8548
  className: Z([
@@ -8545,7 +8554,7 @@ var zn = {
8545
8554
  ]),
8546
8555
  ...o
8547
8556
  }, n);
8548
- }, xi = 0, Si = ({ children: t, className: n, expandButtonAriaLabel: r, isExpandable: i = !1, ...a }) => {
8557
+ }, wi = 0, Ti = ({ children: t, className: n, expandButtonAriaLabel: r, isExpandable: i = !1, ...a }) => {
8549
8558
  let o = "pds-panel-row", [s, c] = h(!1), l = m(null), u = m(null), d = Ee(t), f = d["items-left"], p = d["items-right"], g = d["items-below"], _ = () => {
8550
8559
  let e = u.current, t = l.current;
8551
8560
  if (!e || !t) return;
@@ -8560,7 +8569,7 @@ var zn = {
8560
8569
  height: n,
8561
8570
  opacity: "1"
8562
8571
  }], {
8563
- duration: xi,
8572
+ duration: wi,
8564
8573
  easing: Le
8565
8574
  }).onfinish = () => {
8566
8575
  Object.assign(e.style, {
@@ -8577,7 +8586,7 @@ var zn = {
8577
8586
  height: "0px",
8578
8587
  opacity: "0"
8579
8588
  }], {
8580
- duration: xi,
8589
+ duration: wi,
8581
8590
  easing: Le
8582
8591
  }).onfinish = () => {
8583
8592
  Object.assign(e.style, {
@@ -8609,7 +8618,7 @@ var zn = {
8609
8618
  opacity: "0"
8610
8619
  }
8611
8620
  }, /* @__PURE__ */ e.createElement("div", { className: `${o}__items-inside` }, g)));
8612
- }, Ci = ({ alt: t = "", className: n, height: r, srcFallback: i, srcWebp: a, width: o, ...s }) => {
8621
+ }, Ei = ({ alt: t = "", className: n, height: r, srcFallback: i, srcWebp: a, width: o, ...s }) => {
8613
8622
  let c = "pds-picture";
8614
8623
  return /* @__PURE__ */ e.createElement("picture", { className: Z([c, n ?? ""]) }, /* @__PURE__ */ e.createElement("source", {
8615
8624
  srcSet: a,
@@ -8622,7 +8631,7 @@ var zn = {
8622
8631
  width: o,
8623
8632
  ...s
8624
8633
  }));
8625
- }, wi = 8, Ti = 14, Ei = ({ className: t, classNameContainer: n, closeButtonLabel: r = "Close", content: i, customTrigger: a = !1, hasCloseButton: o = !1, offsetValue: s = 0, onClose: c = () => {}, placement: l = "top", popoverIsOpen: u = !1, setPopoverIsOpen: f = () => {}, title: p, triggerAccessibleText: g = "Show more information", triggerIcon: y = "circleInfo", ...T }) => {
8634
+ }, Di = 8, Oi = 14, ki = ({ className: t, classNameContainer: n, closeButtonLabel: r = "Close", content: i, customTrigger: a = !1, hasCloseButton: o = !1, offsetValue: s = 0, onClose: c = () => {}, placement: l = "top", popoverIsOpen: u = !1, setPopoverIsOpen: f = () => {}, title: p, triggerAccessibleText: g = "Show more information", triggerIcon: y = "circleInfo", ...T }) => {
8626
8635
  let [D, j] = h(u);
8627
8636
  d(() => {
8628
8637
  j(u);
@@ -8648,13 +8657,13 @@ var zn = {
8648
8657
  O(B),
8649
8658
  k(B),
8650
8659
  I(B)
8651
- ]), ne = H.arrow?.x ?? 0, G = H.arrow?.y ?? 0, K = ne + Ti / 2, q = G + wi, { isMounted: re } = L(B, {
8660
+ ]), G = H.arrow?.x ?? 0, K = H.arrow?.y ?? 0, q = G + Oi / 2, J = K + Di, { isMounted: ne } = L(B, {
8652
8661
  initial: { transform: "scale(0)" },
8653
8662
  common: ({ side: e }) => ({ transformOrigin: {
8654
- top: `${K}px calc(100% + ${wi}px)`,
8655
- bottom: `${K}px -8px`,
8656
- left: `calc(100% + ${wi}px) ${q}px`,
8657
- right: `-8px ${q}px`
8663
+ top: `${q}px calc(100% + ${Di}px)`,
8664
+ bottom: `${q}px -8px`,
8665
+ left: `calc(100% + ${Di}px) ${J}px`,
8666
+ right: `-8px ${J}px`
8658
8667
  }[e] })
8659
8668
  });
8660
8669
  return /* @__PURE__ */ e.createElement("div", {
@@ -8671,7 +8680,7 @@ var zn = {
8671
8680
  className: `${N}__icon`,
8672
8681
  iconName: y,
8673
8682
  iconSize: "md"
8674
- }))), re && /* @__PURE__ */ e.createElement(b, null, /* @__PURE__ */ e.createElement(v, {
8683
+ }))), ne && /* @__PURE__ */ e.createElement(b, null, /* @__PURE__ */ e.createElement(v, {
8675
8684
  context: B,
8676
8685
  initialFocus: -1,
8677
8686
  modal: o
@@ -8685,23 +8694,23 @@ var zn = {
8685
8694
  className: `${N}__arrow`,
8686
8695
  context: B,
8687
8696
  fill: "var(--pds-color-bg-default)",
8688
- height: wi,
8697
+ height: Di,
8689
8698
  stroke: "var(--pds-color-border-default)",
8690
8699
  strokeWidth: 1,
8691
8700
  tipRadius: 0,
8692
- width: Ti
8701
+ width: Oi
8693
8702
  }), /* @__PURE__ */ e.createElement("div", { className: `${N}__container-inner` }, p && /* @__PURE__ */ e.createElement("div", { className: `${N}__title` }, p), i && /* @__PURE__ */ e.createElement("div", { className: `${N}__content` }, i), o && /* @__PURE__ */ e.createElement("div", { className: `${N}__close-wrapper` }, /* @__PURE__ */ e.createElement(ut, {
8694
8703
  ariaLabel: r,
8695
8704
  iconSize: "lg",
8696
8705
  onClick: ee
8697
8706
  })))))));
8698
- }, Di = {
8707
+ }, Ai = {
8699
8708
  neutral: "--pds-color-status-neutral-utility",
8700
8709
  info: "--pds-color-status-info-foreground",
8701
8710
  success: "--pds-color-status-success-foreground",
8702
8711
  warning: "--pds-color-status-warning-foreground",
8703
8712
  critical: "--pds-color-status-critical-foreground"
8704
- }, Oi = ({ className: t, colorBreakpoints: n = [{
8713
+ }, ji = ({ className: t, colorBreakpoints: n = [{
8705
8714
  colorType: "info",
8706
8715
  percentage: 0
8707
8716
  }, {
@@ -8722,7 +8731,7 @@ var zn = {
8722
8731
  id: f
8723
8732
  }, i), (y || l) && /* @__PURE__ */ e.createElement("div", { className: `${p}__details` }, y && v, l && /* @__PURE__ */ e.createElement("div", {
8724
8733
  className: `${p}__percentage`,
8725
- style: { color: `hsl(from var(${Di[_]}) h s calc(l - 7))` }
8734
+ style: { color: `hsl(from var(${Ai[_]}) h s calc(l - 7))` }
8726
8735
  }, s, "%")), /* @__PURE__ */ e.createElement("div", { className: `${p}__wrapper` }, /* @__PURE__ */ e.createElement("div", {
8727
8736
  "aria-labelledby": f,
8728
8737
  "aria-valuenow": g,
@@ -8732,10 +8741,10 @@ var zn = {
8732
8741
  className: `${p}__bar`,
8733
8742
  style: {
8734
8743
  width: `${g}%`,
8735
- backgroundColor: `var(${Di[_]})`
8744
+ backgroundColor: `var(${Ai[_]})`
8736
8745
  }
8737
8746
  }))), b && v);
8738
- }, ki = ({ className: t, id: n, innerLabel: r, label: i, percentage: a, showLabel: o = !1, showPercentage: s = !1, size: c = "md", ...l }) => {
8747
+ }, Mi = ({ className: t, id: n, innerLabel: r, label: i, percentage: a, showLabel: o = !1, showPercentage: s = !1, size: c = "md", ...l }) => {
8739
8748
  let u = n || we(), d = "pds-progress-ring", f = o ? `${d}__label` : "visually-hidden", p = `${d}__loading-text ${d}__loading-text--${c}`, m = (e) => e * 16, h = m(wn), g = 7;
8740
8749
  c === "sm" && (h = m(Cn), g /= 1.25), c === "lg" && (h = m(Tn), g *= 1.25);
8741
8750
  let _ = h / 2 - g / 2, v = 2 * Math.PI * _, y = v - v * a / 100, b;
@@ -8784,7 +8793,7 @@ var zn = {
8784
8793
  x: "50%",
8785
8794
  y: "51%"
8786
8795
  }, b))));
8787
- }, Ai = ({ attribution: t, className: n, image: r, layoutType: i = "stand-alone", quote: a, ...o }) => {
8796
+ }, Ni = ({ attribution: t, className: n, image: r, layoutType: i = "stand-alone", quote: a, ...o }) => {
8788
8797
  let s = "pds-pull-quote", c = `${s}--${i}`;
8789
8798
  return /* @__PURE__ */ e.createElement("div", {
8790
8799
  className: Z([
@@ -8803,9 +8812,9 @@ var zn = {
8803
8812
  iconName: "quotesRight",
8804
8813
  iconSize: "4xl"
8805
8814
  }))));
8806
- }, ji = /* @__PURE__ */ function(e) {
8815
+ }, Pi = /* @__PURE__ */ function(e) {
8807
8816
  return e.CHECKED = "checked", e.DEFAULT = "default", e.WORKING = "working", e;
8808
- }({}), Mi = ({ alignment: t = "left", className: n, componentWidth: r, labelStrings: i = {}, lastChecked: a, onCheck: o, state: s, ...c }) => {
8817
+ }({}), Fi = ({ alignment: t = "left", className: n, componentWidth: r, labelStrings: i = {}, lastChecked: a, onCheck: o, state: s, ...c }) => {
8809
8818
  let l = s ?? "default", u = {
8810
8819
  checkForUpdates: "Check for updates",
8811
8820
  checking: "Checking...",
@@ -8854,7 +8863,7 @@ var zn = {
8854
8863
  triggerIconColor: "default",
8855
8864
  triggerIconSize: "sm"
8856
8865
  }), t === "left" && v));
8857
- }, Ni = ({ className: t, handleUpgradeClick: n, popoverContent: r, popoverIsOpen: i, popoverTitle: a, setPopoverIsOpen: o, siteName: s, sitePlanLevel: c, siteType: l, triggerProps: u, upgradeLabel: d, workspaceName: f, ...p }) => {
8866
+ }, Ii = ({ className: t, handleUpgradeClick: n, popoverContent: r, popoverIsOpen: i, popoverTitle: a, setPopoverIsOpen: o, siteName: s, sitePlanLevel: c, siteType: l, triggerProps: u, upgradeLabel: d, workspaceName: f, ...p }) => {
8858
8867
  let m = "pds-site-dashboard-heading", h = c && c in gt ? gt[c] : c, g = l ? vt[l] : "bolt";
8859
8868
  return /* @__PURE__ */ e.createElement("div", {
8860
8869
  className: Z([m, t ?? ""]),
@@ -8873,7 +8882,7 @@ var zn = {
8873
8882
  color: "neutral",
8874
8883
  label: h,
8875
8884
  size: "md"
8876
- }), r && /* @__PURE__ */ e.createElement(Ei, {
8885
+ }), r && /* @__PURE__ */ e.createElement(ki, {
8877
8886
  content: r,
8878
8887
  placement: "bottom",
8879
8888
  popoverIsOpen: i,
@@ -8882,7 +8891,7 @@ var zn = {
8882
8891
  triggerIcon: "circleInfo",
8883
8892
  ...u
8884
8893
  })))));
8885
- }, Pi = {
8894
+ }, Li = {
8886
8895
  bluesky: {
8887
8896
  icon: "bluesky",
8888
8897
  url: "https://bsky.app/profile/pantheon.io",
@@ -8918,7 +8927,7 @@ var zn = {
8918
8927
  url: "https://www.youtube.com/user/GetPantheon",
8919
8928
  label: "Pantheon on YouTube"
8920
8929
  }
8921
- }, Fi = ({ className: t, linkItems: n = [
8930
+ }, Ri = ({ className: t, linkItems: n = [
8922
8931
  "facebook",
8923
8932
  "x",
8924
8933
  "bluesky",
@@ -8934,15 +8943,15 @@ var zn = {
8934
8943
  key: n,
8935
8944
  className: `${i}__item`
8936
8945
  }, /* @__PURE__ */ e.createElement("a", {
8937
- "aria-label": Pi[t].label,
8938
- href: Pi[t].url,
8946
+ "aria-label": Li[t].label,
8947
+ href: Li[t].url,
8939
8948
  rel: "noreferrer",
8940
8949
  target: "_blank"
8941
8950
  }, /* @__PURE__ */ e.createElement(Q, {
8942
- iconName: Pi[t].icon,
8951
+ iconName: Li[t].icon,
8943
8952
  iconSize: "xl"
8944
8953
  })))));
8945
- }, Ii = ({ className: t, label: n = null, size: r = "md", type: i = "neutral", ...a }) => {
8954
+ }, zi = ({ className: t, label: n = null, size: r = "md", type: i = "neutral", ...a }) => {
8946
8955
  let o = "pds-status-indicator", s = `${o}--${i}`, c = `${o}--${r}`;
8947
8956
  return /* @__PURE__ */ e.createElement("div", {
8948
8957
  className: Z([
@@ -8961,7 +8970,7 @@ var zn = {
8961
8970
  className: `${o}__icon`,
8962
8971
  role: "img"
8963
8972
  }), n && /* @__PURE__ */ e.createElement("span", { className: "pds-status-indicator__label" }, n));
8964
- }, Li = ({ className: t, steps: n, translatableLabels: r = {
8973
+ }, Bi = ({ className: t, steps: n, translatableLabels: r = {
8965
8974
  step: "Step",
8966
8975
  completed: "completed",
8967
8976
  hasError: "has an error",
@@ -9021,7 +9030,7 @@ var zn = {
9021
9030
  key: t.id,
9022
9031
  className: `${o}__step`,
9023
9032
  id: `${t.id}--mobile`
9024
- }, /* @__PURE__ */ e.createElement("div", { className: `${o}__progress-indicator` }, /* @__PURE__ */ e.createElement(ki, {
9033
+ }, /* @__PURE__ */ e.createElement("div", { className: `${o}__progress-indicator` }, /* @__PURE__ */ e.createElement(Mi, {
9025
9034
  innerLabel: n,
9026
9035
  label: "Step progress",
9027
9036
  percentage: i,
@@ -9046,7 +9055,7 @@ var zn = {
9046
9055
  "data-steps": d,
9047
9056
  ...i
9048
9057
  }, /* @__PURE__ */ e.createElement("div", { className: `${o}__steps` }, h)));
9049
- }, Ri = ({ _isFirstStep: t, backButton: n, forwardButton: r, hasError: i, id: a, isComplete: o, isCurrent: s, label: c, stepContent: l, ...u }) => {
9058
+ }, Vi = ({ _isFirstStep: t, backButton: n, forwardButton: r, hasError: i, id: a, isComplete: o, isCurrent: s, label: c, stepContent: l, ...u }) => {
9050
9059
  let d = "pds-vert-stepper", f = `${d}__step`, p = [f];
9051
9060
  return s && p.push(`${f}--current`), o && p.push(`${f}--complete`), i && p.push(`${f}--error`), /* @__PURE__ */ e.createElement("li", {
9052
9061
  className: Z([...p]),
@@ -9068,14 +9077,14 @@ var zn = {
9068
9077
  size: "sm",
9069
9078
  variant: "primary"
9070
9079
  })))));
9071
- }, zi = ({ className: t, labelStrings: n = {
9080
+ }, Hi = ({ className: t, labelStrings: n = {
9072
9081
  step: "Step",
9073
9082
  completed: "completed",
9074
9083
  hasError: "has an error"
9075
9084
  }, steps: r, ...i }) => {
9076
9085
  let a = "pds-vert-stepper", o = r.length, s = r.findIndex((e) => e.isCurrent), c = r.map((t, r) => {
9077
9086
  let i = r + 1, a = r === s, c = r === 0, l = t.isComplete || !1, u = t.hasError && a, d = `${n.step} ${i}`;
9078
- return l && (d = `${n.step} ${i}, ${n.completed}`), u && (d = `${n.step} ${i}, ${n.hasError}`), /* @__PURE__ */ e.createElement(Ri, {
9087
+ return l && (d = `${n.step} ${i}, ${n.completed}`), u && (d = `${n.step} ${i}, ${n.hasError}`), /* @__PURE__ */ e.createElement(Vi, {
9079
9088
  key: `s${i}`,
9080
9089
  _isFirstStep: c,
9081
9090
  "aria-current": a ? "step" : null,
@@ -9096,7 +9105,7 @@ var zn = {
9096
9105
  className: Z([a, t ?? ""]),
9097
9106
  ...i
9098
9107
  }, /* @__PURE__ */ e.createElement("ol", { className: `${a}__steps` }, r && c));
9099
- }, Bi = ({ className: t, headers: n, rowData: r, ...i }) => {
9108
+ }, Ui = ({ className: t, headers: n, rowData: r, ...i }) => {
9100
9109
  let [a] = h(n), [o, s] = h(r), [c, l] = h({
9101
9110
  order: "asc",
9102
9111
  key: ""
@@ -9137,7 +9146,7 @@ var zn = {
9137
9146
  iconName: "caretDown",
9138
9147
  iconSize: "sm"
9139
9148
  })))) : /* @__PURE__ */ e.createElement("span", null, t.title))))), /* @__PURE__ */ e.createElement("tbody", null, o.map((e, t) => p(e, t)))));
9140
- }, Vi = ({ appendIds: t = !1, ariaLabel: n = "Table of contents", className: r, headingLevel: i = "h2", headingText: a = "Table of contents", ignoreClass: o = "pds-toc-ignore", showHeading: s = !1, sourceID: c = "pds-toc-source", ...l }) => {
9149
+ }, Wi = ({ appendIds: t = !1, ariaLabel: n = "Table of contents", className: r, headingLevel: i = "h2", headingText: a = "Table of contents", ignoreClass: o = "pds-toc-ignore", showHeading: s = !1, sourceID: c = "pds-toc-source", ...l }) => {
9141
9150
  let u = "pds-toc", f = [
9142
9151
  " ",
9143
9152
  "/",
@@ -9239,7 +9248,7 @@ var zn = {
9239
9248
  activeID: b,
9240
9249
  headings: y
9241
9250
  }));
9242
- }, Hi = ({ ariaLabel: t, className: n, defaultSelected: r = 0, onActiveTabChange: i = () => {}, selectedTab: a, tabs: o, ...s }) => {
9251
+ }, Gi = ({ ariaLabel: t, className: n, defaultSelected: r = 0, onActiveTabChange: i = () => {}, selectedTab: a, tabs: o, ...s }) => {
9243
9252
  let c = "pds-tabs", [l, u] = h(a ?? r);
9244
9253
  d(() => {
9245
9254
  a !== void 0 && u(a);
@@ -9358,7 +9367,7 @@ var zn = {
9358
9367
  className: `${c}__panel-content`,
9359
9368
  hidden: s != l
9360
9369
  }, r)))));
9361
- }, Ui = [
9370
+ }, Ki = [
9362
9371
  "color-1",
9363
9372
  "color-2",
9364
9373
  "color-3",
@@ -9379,8 +9388,8 @@ var zn = {
9379
9388
  "color-18",
9380
9389
  "color-19",
9381
9390
  "color-20"
9382
- ], Wi = (e) => Ui[parseInt(g(e), 16) % Ui.length], Gi = (e, t) => e.length > t ? e.slice(0, t) + " ..." : e, Ki = ({ className: t, isRemovable: n, linkContent: r, onRemove: i, removeLabel: a = "Remove tag", tagColor: o, tagLabel: s, ...l }) => {
9383
- let [u, d] = h(!0), f = "pds-tag", p = o ? `${f}--${o}` : `${f}--${Wi(s)}`, m = u ? null : "pds-tag--hide", g = () => {
9391
+ ], qi = (e) => Ki[parseInt(g(e), 16) % Ki.length], Ji = (e, t) => e.length > t ? e.slice(0, t) + " ..." : e, Yi = ({ className: t, isRemovable: n, linkContent: r, onRemove: i, removeLabel: a = "Remove tag", tagColor: o, tagLabel: s, ...l }) => {
9392
+ let [u, d] = h(!0), f = "pds-tag", p = o ? `${f}--${o}` : `${f}--${qi(s)}`, m = u ? null : "pds-tag--hide", g = () => {
9384
9393
  d((e) => !e);
9385
9394
  }, _, v, y;
9386
9395
  if (r && !n && c(r)) {
@@ -9401,7 +9410,7 @@ var zn = {
9401
9410
  }, /* @__PURE__ */ e.createElement("span", {
9402
9411
  className: `${f}__label`,
9403
9412
  title: s
9404
- }, Gi(s, 20)), n ? /* @__PURE__ */ e.createElement("button", {
9413
+ }, Ji(s, 20)), n ? /* @__PURE__ */ e.createElement("button", {
9405
9414
  "aria-label": `${a}: ${s}`,
9406
9415
  className: `${f}__remove`,
9407
9416
  onClick: () => {
@@ -9413,7 +9422,7 @@ var zn = {
9413
9422
  iconName: "xmark",
9414
9423
  iconSize: "md"
9415
9424
  })) : null);
9416
- }, qi = ({ className: t, onChange: n, theme: r = "light", translations: i = {
9425
+ }, Xi = ({ className: t, onChange: n, theme: r = "light", translations: i = {
9417
9426
  light: "Light",
9418
9427
  dark: "Dark",
9419
9428
  system: "System"
@@ -9467,7 +9476,7 @@ var zn = {
9467
9476
  offsetValue: 0,
9468
9477
  preferredPlacement: "top"
9469
9478
  }));
9470
- }, Ji = ({ className: t, listItems: r, ...i }) => {
9479
+ }, Zi = ({ className: t, listItems: r, ...i }) => {
9471
9480
  let o = "pds-tile-list", s = ({ alt: t, image: n, name: r, org: i, title: a }) => /* @__PURE__ */ e.createElement(e.Fragment, null, n && /* @__PURE__ */ e.createElement("div", { className: `${o}__image ${o}__image--avatar` }, /* @__PURE__ */ e.createElement("img", {
9472
9481
  alt: t,
9473
9482
  src: n
@@ -9489,7 +9498,7 @@ var zn = {
9489
9498
  ]),
9490
9499
  ...i
9491
9500
  }, u());
9492
- }, Yi = ({ className: t, displayType: n = "border", headingLevel: r = "span", headingText: i, imageSrc: a, linkContent: o, summary: s, ...c }) => {
9501
+ }, Qi = ({ className: t, displayType: n = "border", headingLevel: r = "span", headingText: i, imageSrc: a, linkContent: o, summary: s, ...c }) => {
9493
9502
  let l = "pds-tile", u = `${l}--${n}`;
9494
9503
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", {
9495
9504
  className: Z([
@@ -9505,12 +9514,12 @@ var zn = {
9505
9514
  baseClass: l,
9506
9515
  className: "pds-ts-xl",
9507
9516
  level: r
9508
- }, i), s && /* @__PURE__ */ e.createElement("div", { className: `${l}__summary` }, /* @__PURE__ */ e.createElement("p", null, s)), o && (n == "border" || n == "clean") && /* @__PURE__ */ e.createElement(Hn, {
9517
+ }, i), s && /* @__PURE__ */ e.createElement("div", { className: `${l}__summary` }, /* @__PURE__ */ e.createElement("p", null, s)), o && (n == "border" || n == "clean") && /* @__PURE__ */ e.createElement(Un, {
9509
9518
  className: `${l}__cta`,
9510
9519
  linkContent: o,
9511
9520
  size: "sm"
9512
9521
  })), /* @__PURE__ */ e.createElement("span", { className: `${l}__separator` }));
9513
- }, Xi = ({ className: t, displayType: n = "border", headingLevel: r = "h2", tiles: i, ...a }) => {
9522
+ }, $i = ({ className: t, displayType: n = "border", headingLevel: r = "h2", tiles: i, ...a }) => {
9514
9523
  let o = i.length, s = "pds-tile-grid", c = `${s}--${n}`, l = o === 2 || o === 4 ? `${s}--two-column` : null;
9515
9524
  return /* @__PURE__ */ e.createElement("div", {
9516
9525
  className: Z([
@@ -9520,7 +9529,7 @@ var zn = {
9520
9529
  t ?? ""
9521
9530
  ]),
9522
9531
  ...a
9523
- }, i.map((t, i) => /* @__PURE__ */ e.createElement(Yi, {
9532
+ }, i.map((t, i) => /* @__PURE__ */ e.createElement(Qi, {
9524
9533
  key: i,
9525
9534
  className: t.className,
9526
9535
  displayType: n,
@@ -9530,7 +9539,7 @@ var zn = {
9530
9539
  linkContent: t.linkContent,
9531
9540
  summary: t.summary
9532
9541
  })));
9533
- }, Zi = ({ children: t, className: n, containerWidth: r = "x-wide", hasSidebarToggle: i, isSidebarCollapsed: o, labels: s = {
9542
+ }, ea = ({ children: t, className: n, containerWidth: r = "x-wide", hasSidebarToggle: i, isSidebarCollapsed: o, labels: s = {
9534
9543
  collapseSidebar: "Collapse sidebar",
9535
9544
  expandSidebar: "Expand sidebar"
9536
9545
  }, mainContentElement: c = "main", mainContentProps: l, onSidebarToggle: f, sidebarCollapsedWidth: p = 3.5, sidebarExpandedWidth: m = "15%", sidebarExpandedWidthMin: g = 13, sidebarProps: _, ...v }) => {
@@ -9581,7 +9590,7 @@ var zn = {
9581
9590
  ]),
9582
9591
  ...v
9583
9592
  }, y ? M : N);
9584
- }, Qi = ({ children: t, className: n, hasContentSpacing: r, ...i }) => {
9593
+ }, ta = ({ children: t, className: n, hasContentSpacing: r, ...i }) => {
9585
9594
  let { isMobile: a } = u(bt), o = "pds-dashboard-inner", s = a ? `${o}--isMobile` : `${o}--notMobile`, c = Ee(t), l = c["header-left"], d = c["header-right"], f = c.__unslotted || c.content;
9586
9595
  return /* @__PURE__ */ e.createElement("div", {
9587
9596
  className: Z([
@@ -9591,7 +9600,7 @@ var zn = {
9591
9600
  ]),
9592
9601
  ...i
9593
9602
  }, (l || d) && /* @__PURE__ */ e.createElement("div", { className: `${o}__header` }, l && /* @__PURE__ */ e.createElement("div", { className: `${o}__header-left` }, l), d && /* @__PURE__ */ e.createElement("div", { className: `${o}__header-right` }, d)), f && /* @__PURE__ */ e.createElement("div", { className: r ? `${o}__content ${o}__content--with-spacing` : `${o}__content` }, f));
9594
- }, $i = ({ children: t, className: n, sidebarMinWidth: r = 14.5, sidebarWidth: i = "18%", ...a }) => {
9603
+ }, na = ({ children: t, className: n, sidebarMinWidth: r = 14.5, sidebarWidth: i = "18%", ...a }) => {
9595
9604
  let o = !1, s = u(bt);
9596
9605
  s && (o = s.isMobile);
9597
9606
  let c = "pds-docs-layout", l = o ? `${c}--isMobile` : null, d = {
@@ -9610,7 +9619,7 @@ var zn = {
9610
9619
  ]),
9611
9620
  ...a
9612
9621
  }, o ? h : g);
9613
- }, ea = ({ alignContent: t = "flex-start", alignItems: n = "stretch", children: r, className: i, flexDirection: a = "row", flexWrap: o = "nowrap", gap: s = "standard", justifyContent: c = "flex-start", mobileAlignContent: l, mobileAlignItems: d, mobileFlexDirection: f = "column", mobileFlexWrap: p, mobileGap: m, mobileJustifyContent: h, ...g }) => {
9622
+ }, ra = ({ alignContent: t = "flex-start", alignItems: n = "stretch", children: r, className: i, flexDirection: a = "row", flexWrap: o = "nowrap", gap: s = "standard", justifyContent: c = "flex-start", mobileAlignContent: l, mobileAlignItems: d, mobileFlexDirection: f = "column", mobileFlexWrap: p, mobileGap: m, mobileJustifyContent: h, ...g }) => {
9614
9623
  let _ = yt() <= 640, v = u(bt);
9615
9624
  v && (_ = v.isMobile);
9616
9625
  let y = "pds-flex", b = `${y}-container`, x = _ ? `${b}--mobile` : null, S = null;
@@ -9638,7 +9647,7 @@ var zn = {
9638
9647
  ]),
9639
9648
  ...g
9640
9649
  }, r);
9641
- }, ta = ({ children: t, mobileMenuMaxWidth: n = 640 }) => /* @__PURE__ */ e.createElement(xt, { mobileMenuMaxWidth: n }, /* @__PURE__ */ e.createElement(Ue, null, t)), na = ({ children: t, className: n, gridGap: r = "standard", sidebarLocation: i = "right", sidebarMobileLocation: a = "after", sidebarWidth: o = "standard", ...s }) => {
9650
+ }, ia = ({ children: t, mobileMenuMaxWidth: n = 640 }) => /* @__PURE__ */ e.createElement(xt, { mobileMenuMaxWidth: n }, /* @__PURE__ */ e.createElement(Ue, null, t)), aa = ({ children: t, className: n, gridGap: r = "standard", sidebarLocation: i = "right", sidebarMobileLocation: a = "after", sidebarWidth: o = "standard", ...s }) => {
9642
9651
  let c = "pds-sidebar-layout", l = `pds-grid pds-grid--${r}`, d = `${c}--${o}`, f = !1, p = u(bt);
9643
9652
  p && (f = p.isMobile);
9644
9653
  let m = Ee(t), h = "pds-grid-item pds-grid-item--md-8 pds-grid-item--lg-9 pds-grid-item--xl-10", g = "pds-grid-item pds-grid-item--md-4 pds-grid-item--lg-3 pds-grid-item--xl-2";
@@ -9659,18 +9668,18 @@ var zn = {
9659
9668
  ]),
9660
9669
  ...s
9661
9670
  }, f ? a === "before" ? /* @__PURE__ */ e.createElement(e.Fragment, null, v, _) : /* @__PURE__ */ e.createElement(e.Fragment, null, _, v) : i === "left" ? /* @__PURE__ */ e.createElement(e.Fragment, null, v, _) : /* @__PURE__ */ e.createElement(e.Fragment, null, _, v));
9662
- }, ra = ({ children: t, className: n, ...r }) => {
9671
+ }, oa = ({ children: t, className: n, ...r }) => {
9663
9672
  let i = Ee(t), a = i.stepper, o = i.form, s = m(null), [c] = ue(s), l = c.width;
9664
9673
  document.documentElement.style.setProperty("--stepper-layout-max-width", l + "px");
9665
9674
  let u = "pds-stepper-layout";
9666
- return /* @__PURE__ */ e.createElement(Lr, {
9675
+ return /* @__PURE__ */ e.createElement(Br, {
9667
9676
  className: Z([u, n]),
9668
9677
  ...r
9669
9678
  }, a && /* @__PURE__ */ e.createElement("div", {
9670
9679
  ref: s,
9671
9680
  className: `${u}__stepper-container`
9672
9681
  }, a), o && /* @__PURE__ */ e.createElement("div", { className: `${u}__form-container` }, o));
9673
- }, ia = ({ children: t, className: n, gridGap: r = "standard", verticalAlign: i = "start", ...a }) => {
9682
+ }, sa = ({ children: t, className: n, gridGap: r = "standard", verticalAlign: i = "start", ...a }) => {
9674
9683
  let o = "pds-three-item-layout", s = r === "standard" ? "pds-grid" : `pds-grid pds-grid--${r}`, c = `${o}--${i}`, l = Ee(t), u = [
9675
9684
  l["first-item"],
9676
9685
  l["second-item"],
@@ -9688,7 +9697,7 @@ var zn = {
9688
9697
  key: n,
9689
9698
  className: "pds-grid-item pds-grid-item--sm-12 pds-grid-item--md-4 pds-grid-item--lg-4"
9690
9699
  }, t)));
9691
- }, aa = ({ children: t, className: n, gridGap: r = "standard", layoutVariant: i = "equal", verticalAlign: a = "start", ...o }) => {
9700
+ }, ca = ({ children: t, className: n, gridGap: r = "standard", layoutVariant: i = "equal", verticalAlign: a = "start", ...o }) => {
9692
9701
  let s = "pds-two-item-layout", c = r === "standard" ? "pds-grid" : `pds-grid pds-grid--${r}`, l = `${s}--${a}`, u = ["pds-grid-item--md-6"], d = ["pds-grid-item--md-4", "pds-grid-item--lg-3"], f = ["pds-grid-item--md-8", "pds-grid-item--lg-9"], p = ["pds-grid-item", "pds-grid-item--sm-4"], m, h;
9693
9702
  switch (i) {
9694
9703
  case "equal":
@@ -9709,7 +9718,7 @@ var zn = {
9709
9718
  ]),
9710
9719
  ...o
9711
9720
  }, /* @__PURE__ */ e.createElement("div", { className: m.join(" ").trim() }, _), /* @__PURE__ */ e.createElement("div", { className: h.join(" ").trim() }, v));
9712
- }, oa = (e, t) => `(${t > 0 ? Math.round(e / t * 100) : 0}%)`, sa = ({ chartHeight: t, chartWidth: n, className: r, colorPalette: i = "categorical", data: a = [], isLoading: o = !1, isThumbnail: s = !1, labelStrings: c = {}, legendVariant: l = "inline", showAccessibleTable: u = !0, showLegend: d, showTooltip: f, valueFormatter: p = oa, variant: h = "pie", ...g }) => {
9721
+ }, la = (e, t) => `(${t > 0 ? Math.round(e / t * 100) : 0}%)`, ua = ({ chartHeight: t, chartWidth: n, className: r, colorPalette: i = "categorical", data: a = [], isLoading: o = !1, isThumbnail: s = !1, labelStrings: c = {}, legendVariant: l = "inline", showAccessibleTable: u = !0, showLegend: d, showTooltip: f, valueFormatter: p = la, variant: h = "pie", ...g }) => {
9713
9722
  let { accessibleTableDescription: _ = "Pie chart data", emptyStateHeading: v = "No data available", emptyStateMessage: y, loadingLabel: b = "Loading chart data" } = c, x = m(null), S = $t(i, on(x, i)), C = "pds-pie-chart", w = t ?? (s ? 80 : 300), T = n ?? (s ? 80 : void 0), E = d ?? !s, D = f ?? !s, O = a.reduce((e, t) => e + t.value, 0), k = (e, t) => rn(e, S, t.color, en(i, t.paletteIndex));
9714
9723
  if (o) {
9715
9724
  let t = `${Math.round(w * .8)}px`;
@@ -9784,10 +9793,10 @@ var zn = {
9784
9793
  margin: "0 auto",
9785
9794
  width: `min(100%, ${w}px)`
9786
9795
  }
9787
- }, /* @__PURE__ */ e.createElement(K, {
9796
+ }, /* @__PURE__ */ e.createElement(q, {
9788
9797
  height: w,
9789
9798
  width: "100%"
9790
- }, /* @__PURE__ */ e.createElement(ne, null, /* @__PURE__ */ e.createElement(te, {
9799
+ }, /* @__PURE__ */ e.createElement(G, null, /* @__PURE__ */ e.createElement(te, {
9791
9800
  cx: "50%",
9792
9801
  cy: "50%",
9793
9802
  data: A,
@@ -9799,7 +9808,7 @@ var zn = {
9799
9808
  }, a.map((t, n) => /* @__PURE__ */ e.createElement(U, {
9800
9809
  key: t.label,
9801
9810
  fill: k(n, t)
9802
- }))), D && /* @__PURE__ */ e.createElement(q, {
9811
+ }))), D && /* @__PURE__ */ e.createElement(J, {
9803
9812
  content: (t) => {
9804
9813
  if (!t.active || !t.payload?.length) return null;
9805
9814
  let n = t.payload[0], r = Number(n.value ?? 0), i = O > 0 ? Math.round(r / O * 100) : 0, a = String(n.payload?.fill ?? "");
@@ -9832,7 +9841,7 @@ var zn = {
9832
9841
  let n = O > 0 ? Math.round(t.value / O * 100) : 0;
9833
9842
  return /* @__PURE__ */ e.createElement("tr", { key: t.label }, /* @__PURE__ */ e.createElement("td", null, t.label), /* @__PURE__ */ e.createElement("td", null, t.value.toLocaleString()), /* @__PURE__ */ e.createElement("td", null, n, "%"));
9834
9843
  }))));
9835
- }, ca = (e, t) => {
9844
+ }, da = (e, t) => {
9836
9845
  let [n, r] = h(!1), i = l((n) => {
9837
9846
  n.key === e && (r(!0), t && t(n));
9838
9847
  }, [e, t]), a = l((t) => {
@@ -9843,6 +9852,6 @@ var zn = {
9843
9852
  }), [i, a]), n;
9844
9853
  };
9845
9854
  //#endregion
9846
- export { Zi as AppLayout, Me as Avatar, Ji as AvatarTileList, Qr as Banner, Nn as BarChart, ze as BranchDiff, br as Breadcrumb, at as Button, ot as ButtonLink, Or as ButtonNav, Hn as CTALink, Un as CTASlice, Dt as Callout, Ot as Card, kt as CardHeading, At as CardSelectGroup, er as Checkbox, tr as CheckboxFieldset, nr as CheckboxGroup, lt as ClipboardButton, ut as CloseButton, Vn as CodeBlock, rr as Combobox, ar as ComboboxMultiselect, Zt as CompactEmptyState, Kt as ComparisonList, Lr as Container, Ar as DashboardContext, jr as DashboardGlobal, Qi as DashboardInner, Pr as DashboardNav, Nr as DashboardNavItem, Ir as DashboardSearch, Wn as DashboardStat, cr as Datepicker, $i as DocsLayout, Gn as Drawer, Mr as DropdownMenu, jt as EmptyStateCard, _i as ExpansionPanel, vi as ExpansionPanelGroup, Yn as FileDiff, lr as FileUpload, ea as FlexContainer, Xn as FlowSteps, Zn as FooterHeading, Qn as FooterLinks, ta as GlobalWrapper, qn as HorizontalEmptyState, Q as Icon, ct as IconButton, Ne as IndicatorBadge, ei as InlineMessage, ur as InputGroup, Fn as LineChart, vr as LinkNewWindow, Mt as LinksCard, ri as MIN_AUTO_CLOSE_DURATION, St as MenuButton, yr as Modal, Br as NavMenu, Rr as Navbar, Vt as NewSiteCard, hi as Pagination, yi as Panel, bi as PanelList, Si as PanelRow, zt as PantheonLogo, Wt as PaymentCard, Ut as PaymentIcon, Ci as Picture, sa as PieChart, Pt as PlatformIcon, Ei as Popover, Yt as PricingCard, Oi as ProgressBar, ki as ProgressRing, Ln as ProportionBar, Ai as PullQuote, dr as RadioGroup, Mi as RefreshChecker, ji as RefreshCheckerState, bt as ResponsiveContext, ni as SectionMessage, Ct as SegmentedButton, Jt as Select, qt as SelectOptionGroup, Vr as SideNav, Ur as SideNavCompact, Gr as SideNavGlobal, Wr as SideNavGlobalItem, na as SidebarLayout, Xt as SiteCard, Ni as SiteDashboardHeading, $n as SiteFooter, Fr as SiteOptionDisplay, gt as SitePlanLevelLabel, vt as SiteTypeIcon, _t as SiteTypeLabel, kn as Skeleton, kr as Skiplink, Fi as SocialLinks, it as Spinner, wt as SplitButton, Pe as StatusBadge, Ii as StatusIndicator, dt as StatusTypeLabels, Li as Stepper, ra as StepperLayout, fr as Switch, qr as TabMenu, Bi as Table, Vi as TableOfContents, Hi as Tabs, Ki as Tag, mr as TagsInput, Fe as Tally, _r as TextInput, hr as Textarea, qi as ThemeSwitcher, ia as ThreeItemLayout, Yi as Tile, Xi as TileGrid, ui as Toast, di as ToastType, si as Toaster, ai as ToasterContext, Re as Tooltip, aa as TwoItemLayout, Jr as UserMenu, Tt as UtilityButton, Jn as VerticalEmptyState, zi as VerticalStepper, Kn as VideoEmbed, Xr as WorkspaceSelector, Bt as badgeTypes, ke as iconList, pt as isHeadingItemType, mt as isLinkItemType, ht as isNodeItemType, ft as isSeparatorItemType, Ui as tagColors, st as useClipboard, ca as useKeyPress, fi as useToast, yt as useWindowWidth };
9855
+ export { ea as AppLayout, Me as Avatar, Zi as AvatarTileList, ti as Banner, Nn as BarChart, ze as BranchDiff, Cr as Breadcrumb, at as Button, ot as ButtonLink, jr as ButtonNav, Un as CTALink, Wn as CTASlice, Dt as Callout, Ot as Card, kt as CardHeading, At as CardSelectGroup, rr as Checkbox, ir as CheckboxFieldset, ar as CheckboxGroup, lt as ClipboardButton, ut as CloseButton, Hn as CodeBlock, or as Combobox, cr as ComboboxMultiselect, Zt as CompactEmptyState, Kt as ComparisonList, Br as Container, Nr as DashboardContext, Pr as DashboardGlobal, ta as DashboardInner, Lr as DashboardNav, Ir as DashboardNavItem, zr as DashboardSearch, Gn as DashboardStat, dr as Datepicker, na as DocsLayout, Kn as Drawer, Fr as DropdownMenu, jt as EmptyStateCard, bi as ExpansionPanel, xi as ExpansionPanelGroup, Xn as FileDiff, fr as FileUpload, ra as FlexContainer, Zn as FlowSteps, Qn as FooterHeading, $n as FooterLinks, ia as GlobalWrapper, Jn as HorizontalEmptyState, Q as Icon, ct as IconButton, Ne as IndicatorBadge, ri as InlineMessage, pr as InputGroup, Fn as LineChart, xr as LinkNewWindow, Mt as LinksCard, oi as MIN_AUTO_CLOSE_DURATION, St as MenuButton, Sr as Modal, Ur as NavMenu, Vr as Navbar, Vt as NewSiteCard, vi as Pagination, Si as Panel, Ci as PanelList, Ti as PanelRow, zt as PantheonLogo, Wt as PaymentCard, Ut as PaymentIcon, Ei as Picture, ua as PieChart, Pt as PlatformIcon, ki as Popover, Yt as PricingCard, ji as ProgressBar, Mi as ProgressRing, Ln as ProportionBar, Ni as PullQuote, mr as RadioGroup, Fi as RefreshChecker, Pi as RefreshCheckerState, bt as ResponsiveContext, ai as SectionMessage, Ct as SegmentedButton, Jt as Select, qt as SelectOptionGroup, Wr as SideNav, Kr as SideNavCompact, Jr as SideNavGlobal, qr as SideNavGlobalItem, aa as SidebarLayout, Xt as SiteCard, Ii as SiteDashboardHeading, nr as SiteFooter, Rr as SiteOptionDisplay, gt as SitePlanLevelLabel, vt as SiteTypeIcon, _t as SiteTypeLabel, kn as Skeleton, Mr as Skiplink, Ri as SocialLinks, it as Spinner, wt as SplitButton, Pe as StatusBadge, zi as StatusIndicator, dt as StatusTypeLabels, Bi as Stepper, oa as StepperLayout, hr as Switch, Xr as TabMenu, Ui as Table, Wi as TableOfContents, Gi as Tabs, Yi as Tag, _r as TagsInput, Fe as Tally, br as TextInput, vr as Textarea, Xi as ThemeSwitcher, sa as ThreeItemLayout, Qi as Tile, $i as TileGrid, pi as Toast, mi as ToastType, ui as Toaster, ci as ToasterContext, Re as Tooltip, ca as TwoItemLayout, Zr as UserMenu, Tt as UtilityButton, Yn as VerticalEmptyState, Hi as VerticalStepper, qn as VideoEmbed, $r as WorkspaceSelector, Bt as badgeTypes, ke as iconList, pt as isHeadingItemType, mt as isLinkItemType, ht as isNodeItemType, ft as isSeparatorItemType, Ki as tagColors, st as useClipboard, da as useKeyPress, hi as useToast, yt as useWindowWidth };
9847
9856
 
9848
9857
  //# sourceMappingURL=index.js.map