@pantheon-systems/pds-toolkit-react 2.0.0-alpha.41 → 2.0.0-alpha.42

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
@@ -2414,7 +2414,11 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2414
2414
  TYPOGRAPHY_SIZE_6XL: "3rem",
2415
2415
  TYPOGRAPHY_SIZE_7XL: "3.75rem",
2416
2416
  TYPOGRAPHY_SIZE_8XL: "4.5rem"
2417
- }, gt = r(null), _t = ({ children: t }) => {
2417
+ }, gt = r(null), _t = {
2418
+ closeOverlay: () => {},
2419
+ hasOpenOverlay: !1,
2420
+ openOverlay: () => {}
2421
+ }, vt = ({ children: t }) => {
2418
2422
  let [n, r] = h(0), i = s(() => {
2419
2423
  r((e) => e + 1);
2420
2424
  }, []), a = s(() => {
@@ -2439,11 +2443,7 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2439
2443
  openOverlay: i
2440
2444
  };
2441
2445
  return /* @__PURE__ */ e.createElement(gt.Provider, { value: c }, t);
2442
- }, vt = () => {
2443
- let e = c(gt);
2444
- if (!e) throw Error("useOverlayContext must be used within OverlayContextProvider");
2445
- return e;
2446
- }, yt = (e, t, n) => {
2446
+ }, yt = () => c(gt) ?? _t, bt = (e, t, n) => {
2447
2447
  let { altKey: r = !1, ctrlKey: i = !1, enabled: a = !0, metaKey: o = !1, shiftKey: c = !1 } = n ?? {}, [u, d] = h(!1), f = s((e) => e.altKey === r && e.ctrlKey === i && e.metaKey === o && e.shiftKey === c, [
2448
2448
  r,
2449
2449
  i,
@@ -2467,7 +2467,7 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2467
2467
  m,
2468
2468
  a
2469
2469
  ]), u;
2470
- }, bt = ({ className: t, content: n, customTrigger: r = null, disableFocusTrigger: i = !1, offsetValue: a = 6, preferredPlacement: o = "top", triggerAccessibleText: s = "Show more information", triggerIcon: c = "circleInfo", triggerIconColor: l = "default", triggerIconSize: u = "m", zIndex: d = lt, ...f }) => {
2470
+ }, xt = ({ className: t, content: n, customTrigger: r = null, disableFocusTrigger: i = !1, offsetValue: a = 6, preferredPlacement: o = "top", triggerAccessibleText: s = "Show more information", triggerIcon: c = "circleInfo", triggerIconColor: l = "default", triggerIconSize: u = "m", zIndex: d = lt, ...f }) => {
2471
2471
  let [p, m] = h(!1), g = typeof r, _ = "pds-tooltip", v = Z([`${_}__trigger-custom`, g === "string" ? `${_}__trigger-text` : null]), y = Z([`${_}__trigger`, `${_}__trigger--${l}`]), { context: x, floatingStyles: T, refs: D } = A({
2472
2472
  placement: o,
2473
2473
  open: p,
@@ -2528,16 +2528,16 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2528
2528
  error: "pds-has-error",
2529
2529
  success: "pds-has-success",
2530
2530
  readonly: "pds-is-readonly"
2531
- }, xt = (e) => e ? { width: `${e / 16}rem` } : null, St = (e) => e.replace(/^(https?:\/\/)/, ""), Ct = () => /* @__PURE__ */ e.createElement("span", { className: "pds-input-label__required" }, /* @__PURE__ */ e.createElement(Q, {
2531
+ }, St = (e) => e ? { width: `${e / 16}rem` } : null, Ct = (e) => e.replace(/^(https?:\/\/)/, ""), wt = () => /* @__PURE__ */ e.createElement("span", { className: "pds-input-label__required" }, /* @__PURE__ */ e.createElement(Q, {
2532
2532
  className: "pds-input-label__required-icon",
2533
2533
  iconName: "asterisk",
2534
2534
  size: "s"
2535
- })), wt = ({ className: t, disabled: n, id: r, isLegend: i, isPseudoLabel: a, label: o, required: s, showLabel: c = !0, tooltipText: l = null }) => {
2535
+ })), Tt = ({ className: t, disabled: n, id: r, isLegend: i, isPseudoLabel: a, label: o, required: s, showLabel: c = !0, tooltipText: l = null }) => {
2536
2536
  let u = Z([
2537
2537
  "pds-input-label",
2538
2538
  c ? null : "visually-hidden",
2539
2539
  t ?? ""
2540
- ]), d = /* @__PURE__ */ e.createElement(e.Fragment, null, o, s && !n && /* @__PURE__ */ e.createElement(Ct, null), l && /* @__PURE__ */ e.createElement(bt, {
2540
+ ]), d = /* @__PURE__ */ e.createElement(e.Fragment, null, o, s && !n && /* @__PURE__ */ e.createElement(wt, null), l && /* @__PURE__ */ e.createElement(xt, {
2541
2541
  content: l,
2542
2542
  triggerIcon: "circleInfoSolid",
2543
2543
  triggerIconSize: "s"
@@ -2553,7 +2553,7 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2553
2553
  htmlFor: r,
2554
2554
  id: `${r}-label`
2555
2555
  }, d);
2556
- }, Tt = ({ className: t, forInputGroup: n = !1, hasValidationMessage: r, id: i, message: a, validationMessageHasDecorators: o, validationStatus: s }) => {
2556
+ }, Et = ({ className: t, forInputGroup: n = !1, hasValidationMessage: r, id: i, message: a, validationMessageHasDecorators: o, validationStatus: s }) => {
2557
2557
  let c = "pds-input-message", l = s && r ? `${c}--${s}` : null;
2558
2558
  return /* @__PURE__ */ e.createElement("div", {
2559
2559
  className: Z([
@@ -2563,29 +2563,29 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2563
2563
  ]),
2564
2564
  id: n ? `${i}__message-hidden` : `${i}__message`,
2565
2565
  role: s === "error" ? "alert" : null
2566
- }, o && s && /* @__PURE__ */ e.createElement(Dt, { variant: s }), /* @__PURE__ */ e.createElement("div", { className: `${c}__text` }, a));
2567
- }, Et = {
2566
+ }, o && s && /* @__PURE__ */ e.createElement(Ot, { variant: s }), /* @__PURE__ */ e.createElement("div", { className: `${c}__text` }, a));
2567
+ }, Dt = {
2568
2568
  search: "magnifyingGlass",
2569
2569
  error: "triangleExclamation",
2570
2570
  success: "check",
2571
2571
  filter: "barsFilter"
2572
- }, Dt = ({ variant: t }) => {
2572
+ }, Ot = ({ variant: t }) => {
2573
2573
  let n = "pds-input-prefix";
2574
2574
  return /* @__PURE__ */ e.createElement("div", { className: Z([n, `${n}--${t}`]) }, /* @__PURE__ */ e.createElement(Q, {
2575
2575
  className: `${n}__icon`,
2576
- iconName: Et[t],
2576
+ iconName: Dt[t],
2577
2577
  size: "m"
2578
2578
  }));
2579
- }, Ot = ({ inputId: t, shortcutLabel: n }) => {
2580
- let { hasOpenOverlay: r } = vt();
2581
- return yt("/", (e) => {
2579
+ }, kt = ({ inputId: t, shortcutLabel: n }) => {
2580
+ let { hasOpenOverlay: r } = yt();
2581
+ return bt("/", (e) => {
2582
2582
  let n = document.getElementById(t);
2583
2583
  n && n.focus(), e.preventDefault();
2584
2584
  }, { enabled: !r }), /* @__PURE__ */ e.createElement("div", { className: "pds-input-search-shortcut" }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, n), /* @__PURE__ */ e.createElement(Q, {
2585
2585
  iconName: "slashForward",
2586
2586
  size: "s"
2587
2587
  }));
2588
- }, kt = ({ clearLabel: t, handleClearInput: n, id: r }) => /* @__PURE__ */ e.createElement("button", {
2588
+ }, At = ({ clearLabel: t, handleClearInput: n, id: r }) => /* @__PURE__ */ e.createElement("button", {
2589
2589
  "aria-controls": r,
2590
2590
  className: "pds-input-clear-button",
2591
2591
  onClick: n,
@@ -2594,7 +2594,7 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2594
2594
  }, /* @__PURE__ */ e.createElement(Q, {
2595
2595
  iconName: "xmark",
2596
2596
  size: "m"
2597
- })), At = ({ currentLength: t, id: n, maxLength: r, overLimitMessage: i = "Character limit exceeded by" }) => {
2597
+ })), jt = ({ currentLength: t, id: n, maxLength: r, overLimitMessage: i = "Character limit exceeded by" }) => {
2598
2598
  let a = t > r, o = t - r, s = "pds-input-character-counter", c = a ? `${s}--overLimit` : null;
2599
2599
  return /* @__PURE__ */ e.createElement("div", {
2600
2600
  className: Z([s, c]),
@@ -2603,10 +2603,10 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2603
2603
  "aria-live": "polite",
2604
2604
  className: "visually-hidden"
2605
2605
  }, a && `${i} ${o}`));
2606
- }, jt = ({ label: t, ...n }) => /* @__PURE__ */ e.createElement("span", {
2606
+ }, Mt = ({ label: t, ...n }) => /* @__PURE__ */ e.createElement("span", {
2607
2607
  className: "visually-hidden",
2608
2608
  ...n
2609
- }, t), Mt = (e) => "options" in e, Nt = a(({ children: t, className: n, isActive: r, ...i }, a) => {
2609
+ }, t), Nt = (e) => "options" in e, Pt = a(({ children: t, className: n, isActive: r, ...i }, a) => {
2610
2610
  let o = N(), s = r ? "pds-dropdown__item--active" : null;
2611
2611
  return /* @__PURE__ */ e.createElement("li", {
2612
2612
  ref: a,
@@ -2620,7 +2620,7 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2620
2620
  role: "option",
2621
2621
  ...i
2622
2622
  }, t);
2623
- }), Pt = {
2623
+ }), Ft = {
2624
2624
  s: rt,
2625
2625
  m: nt,
2626
2626
  l: tt,
@@ -2630,7 +2630,7 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2630
2630
  "4xl": Ze,
2631
2631
  "5xl": Xe,
2632
2632
  "6xl": Ye
2633
- }, Ft = {
2633
+ }, It = {
2634
2634
  s: ft,
2635
2635
  m: ft,
2636
2636
  l: ft,
@@ -2640,7 +2640,7 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2640
2640
  "4xl": pt,
2641
2641
  "5xl": mt,
2642
2642
  "6xl": mt
2643
- }, It = {
2643
+ }, Lt = {
2644
2644
  s: it,
2645
2645
  m: it,
2646
2646
  l: it,
@@ -2650,8 +2650,8 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2650
2650
  "4xl": rt,
2651
2651
  "5xl": nt,
2652
2652
  "6xl": tt
2653
- }, Lt = ({ className: t = "", color: n, isInline: r = !1, label: i = "Loading", showLabel: a = !1, size: o = "3xl", ...s }) => {
2654
- let c = "pds-spinner", l = r ? `${c}--inline` : null, u = Pt[o], d = Ft[o], f = It[o], p = {
2653
+ }, Rt = ({ className: t = "", color: n, isInline: r = !1, label: i = "Loading", showLabel: a = !1, size: o = "3xl", ...s }) => {
2654
+ let c = "pds-spinner", l = r ? `${c}--inline` : null, u = Ft[o], d = It[o], f = Lt[o], p = {
2655
2655
  "--spinner-size": u,
2656
2656
  ...n ? { "--spinner-color": n } : {}
2657
2657
  }, m = {
@@ -2686,8 +2686,8 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2686
2686
  }))), a && !r ? /* @__PURE__ */ e.createElement("span", {
2687
2687
  className: `${c}__label`,
2688
2688
  style: m
2689
- }, i) : /* @__PURE__ */ e.createElement(jt, { label: i }));
2690
- }, Rt = ({ className: t, color: n = "transparent", hasStatusIndicator: r = !1, label: i, statusIndicatorText: a = "Status indicator: ", statusType: o, ...s }) => {
2689
+ }, i) : /* @__PURE__ */ e.createElement(Mt, { label: i }));
2690
+ }, zt = ({ className: t, color: n = "transparent", hasStatusIndicator: r = !1, label: i, statusIndicatorText: a = "Status indicator: ", statusType: o, ...s }) => {
2691
2691
  let c = "pds-status-badge", l = `${c}--${n}`, u = `${c}__status`, d = o ? `${u}--${o}` : null;
2692
2692
  return /* @__PURE__ */ e.createElement("div", {
2693
2693
  className: Z([
@@ -2696,13 +2696,13 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2696
2696
  t ?? ""
2697
2697
  ]),
2698
2698
  ...s
2699
- }, r === !0 && (o === "working" ? /* @__PURE__ */ e.createElement(Lt, {
2699
+ }, r === !0 && (o === "working" ? /* @__PURE__ */ e.createElement(Rt, {
2700
2700
  isInline: !0,
2701
2701
  className: `${c}__spinner`,
2702
2702
  color: "currentColor",
2703
2703
  size: "s"
2704
2704
  }) : /* @__PURE__ */ e.createElement("span", { className: Z([u, d]) }, o && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, a, " ", o))), /* @__PURE__ */ e.createElement("span", { className: `${c}__label` }, i));
2705
- }, zt = ({ className: t, label: n, size: r = "s", type: i = "neutral", typeLabels: a = {
2705
+ }, Bt = ({ className: t, label: n, size: r = "s", type: i = "neutral", typeLabels: a = {
2706
2706
  info: "Information",
2707
2707
  success: "Success",
2708
2708
  warning: "Warning",
@@ -2720,10 +2720,10 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2720
2720
  ...o
2721
2721
  }, /* @__PURE__ */ e.createElement("div", { className: `${s}__label` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, u), n));
2722
2722
  };
2723
- zt.displayName = "Tally";
2723
+ Bt.displayName = "Tally";
2724
2724
  //#endregion
2725
2725
  //#region src/components/BranchDiff/BranchDiff.tsx
2726
- var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loading...", numberAhead: a, numberAheadDescription: o = "commits ahead of main", numberBehind: s, numberBehindDescription: c = "commits behind main", ...l }) => {
2726
+ var Vt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loading...", numberAhead: a, numberAheadDescription: o = "commits ahead of main", numberBehind: s, numberBehindDescription: c = "commits behind main", ...l }) => {
2727
2727
  let u = "pds-branch-diff", d = r ? `${u}--loading` : null, f = r ? "pds-pulse" : null, p = n !== null && n > 0 ? `${n}rem` : "100%", m = Math.max(0, a), h = Math.max(0, s);
2728
2728
  r && (m = 1, h = 1);
2729
2729
  let g = Math.max(m, h), _ = g > 0 ? h / g * 100 : 0, v = g > 0 ? m / g * 100 : 0;
@@ -2737,7 +2737,7 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2737
2737
  ]),
2738
2738
  style: { width: p },
2739
2739
  ...l
2740
- }, /* @__PURE__ */ e.createElement(bt, {
2740
+ }, /* @__PURE__ */ e.createElement(xt, {
2741
2741
  content: y,
2742
2742
  customTrigger: /* @__PURE__ */ e.createElement("div", { className: `${u}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${u}__segment ${u}__segment--behind` }, /* @__PURE__ */ e.createElement("div", { className: `${u}__number` }, !r && h), h > 0 && /* @__PURE__ */ e.createElement("div", {
2743
2743
  className: Z([`${u}__line ${u}__line--behind`, f]),
@@ -2748,7 +2748,7 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2748
2748
  }))),
2749
2749
  preferredPlacement: "top"
2750
2750
  }));
2751
- }, Vt = ({ className: t, status: n, ...r }) => {
2751
+ }, Ht = ({ className: t, status: n, ...r }) => {
2752
2752
  let i = "pds-status-dot";
2753
2753
  return /* @__PURE__ */ e.createElement("span", {
2754
2754
  className: Z([
@@ -2758,18 +2758,18 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2758
2758
  ]),
2759
2759
  ...r
2760
2760
  });
2761
- }, Ht = ({ baseClass: e, children: t, className: n, id: r, level: a, ...o }) => i(a, {
2761
+ }, Ut = ({ baseClass: e, children: t, className: n, id: r, level: a, ...o }) => i(a, {
2762
2762
  className: Z([e ? `${e}__heading` : null, n]),
2763
2763
  id: r,
2764
2764
  ...o
2765
- }, t), Ut = (e) => {
2765
+ }, t), Wt = (e) => {
2766
2766
  if (typeof e == "string" || typeof e == "number") return String(e);
2767
2767
  if (o(e)) {
2768
2768
  let n = e.props;
2769
- return t.toArray(n.children).map(Ut).join("");
2769
+ return t.toArray(n.children).map(Wt).join("");
2770
2770
  }
2771
2771
  return "";
2772
- }, Wt = a(({ ariaLabel: t, buttonType: n = "button", className: r = "", disabled: i = !1, displayType: a = "label-only", iconName: o, isFullWidth: s = !1, isLoading: c = !1, isSplitButton: l = !1, isWorking: u = !1, label: d, onClick: f, size: p = "s", statusDot: m, tally: h, tooltipText: g, variant: _ = "primary", ...v }, y) => {
2772
+ }, Gt = a(({ ariaLabel: t, buttonType: n = "button", className: r = "", disabled: i = !1, displayType: a = "label-only", iconName: o, isFullWidth: s = !1, isLoading: c = !1, isSplitButton: l = !1, isWorking: u = !1, label: d, onClick: f, size: p = "s", statusDot: m, tally: h, tooltipText: g, variant: _ = "primary", ...v }, y) => {
2773
2773
  let b = "pds-button", x = `${b}--${p}`, S = `${b}--${_}`, C = s ? `${b}--full-width` : null, w = c ? `${b}--loading` : null, T = c ? "pds-pulse" : null, E, D, O;
2774
2774
  switch (p) {
2775
2775
  case "xs":
@@ -2804,17 +2804,17 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2804
2804
  iconName: o,
2805
2805
  size: E
2806
2806
  }), P = [];
2807
- m && M ? P.push(/* @__PURE__ */ e.createElement(Vt, {
2807
+ m && M ? P.push(/* @__PURE__ */ e.createElement(Ht, {
2808
2808
  key: "status-dot",
2809
2809
  className: `${b}__icon`,
2810
2810
  status: m
2811
- })) : a === "icon-start" && o && P.push(N), P.push(d), h && A ? P.push(/* @__PURE__ */ e.createElement(zt, {
2811
+ })) : a === "icon-start" && o && P.push(N), P.push(d), h && A ? P.push(/* @__PURE__ */ e.createElement(Bt, {
2812
2812
  key: "tally",
2813
2813
  className: `${b}__tally`,
2814
2814
  label: h.label,
2815
2815
  size: O,
2816
2816
  type: h.type
2817
- })) : a === "icon-end" && o && P.push(N), l && (P = [N], t = Ut(d));
2817
+ })) : a === "icon-end" && o && P.push(N), l && (P = [N], t = Wt(d));
2818
2818
  let F = /* @__PURE__ */ e.createElement("button", {
2819
2819
  ref: y,
2820
2820
  "aria-label": t,
@@ -2831,16 +2831,16 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2831
2831
  onClick: f,
2832
2832
  type: n,
2833
2833
  ...v
2834
- }, u && !c && /* @__PURE__ */ e.createElement(Lt, {
2834
+ }, u && !c && /* @__PURE__ */ e.createElement(Rt, {
2835
2835
  className: `${b}__working-indicator`,
2836
2836
  color: "currentColor",
2837
2837
  size: D
2838
2838
  }), P);
2839
- return (i || c || u) && g ? /* @__PURE__ */ e.createElement(bt, {
2839
+ return (i || c || u) && g ? /* @__PURE__ */ e.createElement(xt, {
2840
2840
  content: g,
2841
2841
  customTrigger: F
2842
2842
  }) : /* @__PURE__ */ e.createElement(e.Fragment, null, F);
2843
- }), Gt = ({ className: t, disabled: r = !1, displayType: i = "label-only", iconName: a, linkContent: s, size: c = "s", tooltipText: l, variant: u = "primary", ...d }) => {
2843
+ }), Kt = ({ className: t, disabled: r = !1, displayType: i = "label-only", iconName: a, linkContent: s, size: c = "s", tooltipText: l, variant: u = "primary", ...d }) => {
2844
2844
  let f = "pds-button-link", p = "pds-button", m = Z([
2845
2845
  p,
2846
2846
  `${p}--${c}`,
@@ -2874,7 +2874,7 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2874
2874
  className: m,
2875
2875
  children: v
2876
2876
  })) : null;
2877
- return r ? /* @__PURE__ */ e.createElement(Wt, {
2877
+ return r ? /* @__PURE__ */ e.createElement(Gt, {
2878
2878
  disabled: !0,
2879
2879
  className: Z([f, t ?? ""]),
2880
2880
  label: v,
@@ -2885,7 +2885,7 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2885
2885
  className: Z([f, t ?? ""]),
2886
2886
  ...d
2887
2887
  }, y);
2888
- }, Kt = (e, t) => {
2888
+ }, qt = (e, t) => {
2889
2889
  let [n, r] = h(!1), i = t?.duration;
2890
2890
  return l(() => {
2891
2891
  let e;
@@ -2899,7 +2899,7 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2899
2899
  await navigator.clipboard.writeText(e), r(!0);
2900
2900
  } catch {}
2901
2901
  }];
2902
- }, qt = a(({ ariaLabel: t, buttonType: n = "button", className: r, disabled: i = !1, hasBorder: a = !1, hasTooltip: o = !0, icon2Name: s = null, iconName: c, isPressed: l, onClick: u, pressedIconName: d, size: f = "s", variant: p = "standard", ...h }, g) => {
2902
+ }, Jt = a(({ ariaLabel: t, buttonType: n = "button", className: r, disabled: i = !1, hasBorder: a = !1, hasTooltip: o = !0, icon2Name: s = null, iconName: c, isPressed: l, onClick: u, pressedIconName: d, size: f = "s", variant: p = "standard", ...h }, g) => {
2903
2903
  let _ = "pds-icon-button", v = f === "s" ? null : `${_}--${f}`, y = p === "standard" ? null : `${_}--${p}`, b = a ? `${_}--has-border` : null, x = l ? `${_}--pressed` : null, S = {
2904
2904
  fadeOut: `${_}--fadeOut`,
2905
2905
  hide: `${_}--hide`,
@@ -2958,15 +2958,15 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2958
2958
  title: o && !i ? null : t,
2959
2959
  type: n,
2960
2960
  ...h
2961
- }, o && !i ? /* @__PURE__ */ e.createElement(bt, {
2961
+ }, o && !i ? /* @__PURE__ */ e.createElement(xt, {
2962
2962
  className: `${_}__tooltip`,
2963
2963
  content: t,
2964
2964
  customTrigger: j,
2965
2965
  offsetValue: C
2966
2966
  }) : j);
2967
- }), Jt = ({ ariaLabel: t = "Copy to clipboard", className: n, clipboardText: r = "", disabled: i, hasBorder: a = !1, variant: o = "standard", ...s }) => {
2968
- let [c, l] = Kt(r);
2969
- return /* @__PURE__ */ e.createElement(qt, {
2967
+ }), Yt = ({ ariaLabel: t = "Copy to clipboard", className: n, clipboardText: r = "", disabled: i, hasBorder: a = !1, variant: o = "standard", ...s }) => {
2968
+ let [c, l] = qt(r);
2969
+ return /* @__PURE__ */ e.createElement(Jt, {
2970
2970
  ariaLabel: t,
2971
2971
  buttonType: "button",
2972
2972
  className: Z(["pds-clipboard-button", n ?? ""]),
@@ -2979,7 +2979,7 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2979
2979
  variant: o,
2980
2980
  ...s
2981
2981
  });
2982
- }, Yt = ({ ariaLabel: t = "Close", className: n, onClick: r, size: i = "m", ...a }) => {
2982
+ }, Xt = ({ ariaLabel: t = "Close", className: n, onClick: r, size: i = "m", ...a }) => {
2983
2983
  let o = "pds-close-button", s = `${o}--${i}`, c = /* @__PURE__ */ e.createElement("button", {
2984
2984
  "aria-label": t,
2985
2985
  className: Z([
@@ -2994,17 +2994,17 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2994
2994
  className: `${o}__icon`,
2995
2995
  iconName: "xmarkLarge"
2996
2996
  }));
2997
- return /* @__PURE__ */ e.createElement(bt, {
2997
+ return /* @__PURE__ */ e.createElement(xt, {
2998
2998
  disableFocusTrigger: !0,
2999
2999
  content: t,
3000
3000
  customTrigger: c,
3001
3001
  preferredPlacement: "bottom",
3002
3002
  zIndex: lt
3003
3003
  });
3004
- }, Xt = (e, t) => {
3004
+ }, Zt = (e, t) => {
3005
3005
  let n = t.toLowerCase();
3006
3006
  return e.find((e) => (e?.textContent?.trim().toLowerCase() ?? "").startsWith(n));
3007
- }, Zt = ({ allowEscape: e = !1, enableClick: t = !0, enableListNavigation: n = !0, enableShift: r = !0, enableTransition: i = !0, enableTypeahead: a = !1, offsetValue: o = 0, openOnHover: s = !1, placement: c = "bottom-start", role: l = "menu", selectedIndex: u = null, variant: d = "default", virtual: f = !1 } = {}) => {
3007
+ }, Qt = ({ allowEscape: e = !1, enableClick: t = !0, enableListNavigation: n = !0, enableShift: r = !0, enableTransition: i = !0, enableTypeahead: a = !1, offsetValue: o = 0, openOnHover: s = !1, placement: c = "bottom-start", role: l = "menu", selectedIndex: u = null, variant: d = "default", virtual: f = !1 } = {}) => {
3008
3008
  let [p, g] = h(!1), [_, v] = h(null), y = m([]), b = d === "input", { context: x, floatingStyles: j, refs: N } = A({
3009
3009
  open: p,
3010
3010
  onOpenChange: g,
@@ -3068,7 +3068,7 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3068
3068
  onMatch: (e) => {
3069
3069
  p || g(!0), v(e);
3070
3070
  },
3071
- findMatch: Xt
3071
+ findMatch: Zt
3072
3072
  })
3073
3073
  ]), { isMounted: H, styles: U } = L(x, i ? {
3074
3074
  duration: {
@@ -3093,19 +3093,19 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3093
3093
  setIsOpen: g,
3094
3094
  transitionStyles: U
3095
3095
  };
3096
- }, Qt = r(null), $t = () => {
3097
- let e = c(Qt);
3096
+ }, $t = r(null), en = () => {
3097
+ let e = c($t);
3098
3098
  if (!e) throw Error("Dropdown sub-components must be used within a <Dropdown> provider.");
3099
3099
  return e;
3100
- }, en = ({ children: t, className: n, inline: r, ...i }) => {
3101
- let a = Zt(i), o = "pds-dropdown", s = r ? `${o}--inline` : null;
3102
- return /* @__PURE__ */ e.createElement(Qt.Provider, { value: a }, /* @__PURE__ */ e.createElement("div", { className: Z([
3100
+ }, tn = ({ children: t, className: n, inline: r, ...i }) => {
3101
+ let a = Qt(i), o = "pds-dropdown", s = r ? `${o}--inline` : null;
3102
+ return /* @__PURE__ */ e.createElement($t.Provider, { value: a }, /* @__PURE__ */ e.createElement("div", { className: Z([
3103
3103
  o,
3104
3104
  s,
3105
3105
  n ?? ""
3106
3106
  ]) }, t));
3107
- }, tn = ({ children: t, className: n, showTriggerIcon: r = !1, ...i }) => {
3108
- let { getReferenceProps: a, refs: o } = $t(), s = "pds-dropdown";
3107
+ }, nn = ({ children: t, className: n, showTriggerIcon: r = !1, ...i }) => {
3108
+ let { getReferenceProps: a, refs: o } = en(), s = "pds-dropdown";
3109
3109
  return /* @__PURE__ */ e.createElement("button", {
3110
3110
  ref: o.setReference,
3111
3111
  className: Z([`${s}__trigger`, n ?? ""]),
@@ -3117,8 +3117,8 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3117
3117
  iconName: "angleDown",
3118
3118
  size: "s"
3119
3119
  }));
3120
- }, nn = ({ children: t, className: n, ...r }) => {
3121
- let { floatingStyles: i, getFloatingProps: a, isMounted: o, refs: s, transitionStyles: c } = $t();
3120
+ }, rn = ({ children: t, className: n, ...r }) => {
3121
+ let { floatingStyles: i, getFloatingProps: a, isMounted: o, refs: s, transitionStyles: c } = en();
3122
3122
  return o ? /* @__PURE__ */ e.createElement("ul", {
3123
3123
  ref: s.setFloating,
3124
3124
  className: Z(["pds-dropdown__panel", n ?? ""]),
@@ -3129,8 +3129,8 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3129
3129
  ...a(),
3130
3130
  ...r
3131
3131
  }, t) : null;
3132
- }, rn = ({ children: t, className: n, description: r, disabled: i, icon: a, index: o, isActive: s, isCritical: c, onClick: l, trailingIcon: u, ...d }) => {
3133
- let { activeIndex: f, getItemProps: p, listRef: m } = $t(), h = "pds-dropdown", g = f === o, _ = g ? `${h}__item--focused` : null, v = s ? `${h}__item--active` : null, y = c ? `${h}__item--critical` : null, b = i ? `${h}__item--disabled` : null;
3132
+ }, an = ({ children: t, className: n, description: r, disabled: i, icon: a, index: o, isActive: s, isCritical: c, onClick: l, trailingIcon: u, ...d }) => {
3133
+ let { activeIndex: f, getItemProps: p, listRef: m } = en(), h = "pds-dropdown", g = f === o, _ = g ? `${h}__item--focused` : null, v = s ? `${h}__item--active` : null, y = c ? `${h}__item--critical` : null, b = i ? `${h}__item--disabled` : null;
3134
3134
  return /* @__PURE__ */ e.createElement("li", {
3135
3135
  ref: (e) => {
3136
3136
  m.current[o] = e;
@@ -3149,8 +3149,8 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3149
3149
  ...p({ onClick: i ? void 0 : l }),
3150
3150
  ...d
3151
3151
  }, /* @__PURE__ */ e.createElement("span", { className: `${h}__item-content` }, a && /* @__PURE__ */ e.createElement("span", { className: `${h}__item-icon` }, a), /* @__PURE__ */ e.createElement("span", { className: `${h}__item-label` }, t, r && /* @__PURE__ */ e.createElement("span", { className: `${h}__item-description` }, r))), u && /* @__PURE__ */ e.createElement("span", { className: `${h}__item-trailing` }, u));
3152
- }, an = ({ checked: t = !1, children: n, className: r, description: i, disabled: a, indeterminate: o = !1, index: s, onCheckedChange: c, onClick: l, onKeyDown: u, ...d }) => {
3153
- let { activeIndex: f, getItemProps: p, listRef: m } = $t(), h = "pds-dropdown", g = f === s, _ = g ? `${h}__item--focused` : null, v = a ? `${h}__item--disabled` : null, y = Z([
3152
+ }, on = ({ checked: t = !1, children: n, className: r, description: i, disabled: a, indeterminate: o = !1, index: s, onCheckedChange: c, onClick: l, onKeyDown: u, ...d }) => {
3153
+ let { activeIndex: f, getItemProps: p, listRef: m } = en(), h = "pds-dropdown", g = f === s, _ = g ? `${h}__item--focused` : null, v = a ? `${h}__item--disabled` : null, y = Z([
3154
3154
  `${h}__checkbox-box`,
3155
3155
  t && !o ? `${h}__checkbox-box--checked` : null,
3156
3156
  o ? `${h}__checkbox-box--indeterminate` : null
@@ -3203,19 +3203,19 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3203
3203
  width: "12",
3204
3204
  xmlns: "http://www.w3.org/2000/svg"
3205
3205
  }, /* @__PURE__ */ e.createElement("path", { d: "M9.85474 3.64666C10.1032 3.32078 10.0258 2.86817 9.67727 2.63583C9.32878 2.4035 8.84476 2.47591 8.5963 2.80179L4.8694 7.65977L3.32056 6.21143C3.01724 5.9278 2.52677 5.9278 2.22669 6.21143C1.9266 6.49506 1.92337 6.9537 2.22346 7.23734L4.41765 9.28916C4.57899 9.44003 4.80164 9.51546 5.02751 9.49736C5.25338 9.47925 5.4599 9.37063 5.59219 9.19864L9.85151 3.64666H9.85474Z" }))), /* @__PURE__ */ e.createElement("span", { className: `${h}__item-label` }, n, i && /* @__PURE__ */ e.createElement("span", { className: `${h}__item-description` }, i))));
3206
- }, on = ({ children: t, className: n, ...r }) => /* @__PURE__ */ e.createElement("li", {
3206
+ }, sn = ({ children: t, className: n, ...r }) => /* @__PURE__ */ e.createElement("li", {
3207
3207
  className: Z(["pds-dropdown__heading", n ?? ""]),
3208
3208
  role: "presentation",
3209
3209
  ...r
3210
- }, t), sn = ({ className: t, ...n }) => /* @__PURE__ */ e.createElement("li", {
3210
+ }, t), cn = ({ className: t, ...n }) => /* @__PURE__ */ e.createElement("li", {
3211
3211
  className: Z(["pds-dropdown__separator", t ?? ""]),
3212
3212
  role: "separator",
3213
3213
  ...n
3214
- }), cn = {
3214
+ }), ln = {
3215
3215
  filter: "barsFilter",
3216
3216
  search: "magnifyingGlass"
3217
3217
  };
3218
- en.Trigger = tn, en.Panel = nn, en.Item = rn, en.CheckboxItem = an, en.Heading = on, en.Separator = sn, en.Filter = ({ className: t, filterIcon: n = "search", label: r = "Filter items", noResultsText: i = "No results found", onFilterChange: a, placeholder: o = "Filter items...", showNoResults: s = !1, ...c }) => {
3218
+ tn.Trigger = nn, tn.Panel = rn, tn.Item = an, tn.CheckboxItem = on, tn.Heading = sn, tn.Separator = cn, tn.Filter = ({ className: t, filterIcon: n = "search", label: r = "Filter items", noResultsText: i = "No results found", onFilterChange: a, placeholder: o = "Filter items...", showNoResults: s = !1, ...c }) => {
3219
3219
  let l = "pds-dropdown", u = n !== "none";
3220
3220
  return /* @__PURE__ */ e.createElement("li", {
3221
3221
  className: Z([`${l}__filter`, t ?? ""]),
@@ -3223,7 +3223,7 @@ en.Trigger = tn, en.Panel = nn, en.Item = rn, en.CheckboxItem = an, en.Heading =
3223
3223
  ...c
3224
3224
  }, /* @__PURE__ */ e.createElement("div", { className: `${l}__filter-wrapper` }, u && /* @__PURE__ */ e.createElement(Q, {
3225
3225
  className: `${l}__filter-icon`,
3226
- iconName: cn[n],
3226
+ iconName: ln[n],
3227
3227
  size: "s"
3228
3228
  }), /* @__PURE__ */ e.createElement("input", {
3229
3229
  "aria-label": r,
@@ -3232,20 +3232,20 @@ en.Trigger = tn, en.Panel = nn, en.Item = rn, en.CheckboxItem = an, en.Heading =
3232
3232
  placeholder: o,
3233
3233
  type: "search"
3234
3234
  })), s && /* @__PURE__ */ e.createElement("p", { className: `${l}__no-results` }, i));
3235
- }, en.Footer = ({ children: t, className: n, ...r }) => /* @__PURE__ */ e.createElement("li", {
3235
+ }, tn.Footer = ({ children: t, className: n, ...r }) => /* @__PURE__ */ e.createElement("li", {
3236
3236
  className: Z(["pds-dropdown__footer", n ?? ""]),
3237
3237
  role: "presentation",
3238
3238
  ...r
3239
3239
  }, t);
3240
3240
  //#endregion
3241
3241
  //#region src/components/buttons/FilterButton/FilterButton.tsx
3242
- var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey: i, id: a, minFilterItems: o = 8, noResultsText: s = "No results found", onSelectionChange: c, options: l, searchLabel: u = "Filter options", searchPlaceholder: d = "Search...", selectedValues: f }) => {
3242
+ var un = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey: i, id: a, minFilterItems: o = 8, noResultsText: s = "No results found", onSelectionChange: c, options: l, searchLabel: u = "Filter options", searchPlaceholder: d = "Search...", selectedValues: f }) => {
3243
3243
  let p = "pds-filter-button", [m, g] = h(""), _ = f.length, v = _ > 0, y = _ === 1, b = _ > 1, x = l.length >= o, S = y ? l.find((e) => e.value === f[0])?.label ?? f[0] : null, C = x && m ? l.filter((e) => e.label.toLowerCase().includes(m.toLowerCase())) : l, w = (e) => {
3244
3244
  c(f.includes(e) ? f.filter((t) => t !== e) : [...f, e]);
3245
3245
  }, T = () => {
3246
3246
  c([]);
3247
3247
  }, E = b ? `${p}--multiple` : y ? `${p}--single` : null, D = x ? `${p}--has-search` : null;
3248
- return /* @__PURE__ */ e.createElement(en, {
3248
+ return /* @__PURE__ */ e.createElement(tn, {
3249
3249
  inline: !0,
3250
3250
  className: Z([
3251
3251
  p,
@@ -3256,7 +3256,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3256
3256
  enableShift: !1,
3257
3257
  offsetValue: 8,
3258
3258
  placement: "bottom-start"
3259
- }, /* @__PURE__ */ e.createElement(en.Trigger, {
3259
+ }, /* @__PURE__ */ e.createElement(tn.Trigger, {
3260
3260
  showTriggerIcon: !0,
3261
3261
  className: `${p}__trigger`,
3262
3262
  disabled: r,
@@ -3264,7 +3264,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3264
3264
  }, !v && /* @__PURE__ */ e.createElement("span", { className: `${p}__label` }, `Filter by ${i}`), y && /* @__PURE__ */ e.createElement("span", { className: `${p}__label` }, /* @__PURE__ */ e.createElement("span", { className: `${p}__key` }, i), /* @__PURE__ */ e.createElement("span", {
3265
3265
  "aria-hidden": "true",
3266
3266
  className: `${p}__divider`
3267
- }), /* @__PURE__ */ e.createElement("span", { className: `${p}__value` }, S)), b && /* @__PURE__ */ e.createElement("span", { className: `${p}__label` }, /* @__PURE__ */ e.createElement("span", { className: `${p}__key` }, i), /* @__PURE__ */ e.createElement(zt, {
3267
+ }), /* @__PURE__ */ e.createElement("span", { className: `${p}__value` }, S)), b && /* @__PURE__ */ e.createElement("span", { className: `${p}__label` }, /* @__PURE__ */ e.createElement("span", { className: `${p}__key` }, i), /* @__PURE__ */ e.createElement(Bt, {
3268
3268
  className: `${p}__tally`,
3269
3269
  label: _,
3270
3270
  size: "s",
@@ -3278,24 +3278,24 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3278
3278
  }, /* @__PURE__ */ e.createElement(Q, {
3279
3279
  iconName: "xmark",
3280
3280
  size: "s"
3281
- })), /* @__PURE__ */ e.createElement(en.Panel, { className: `${p}__panel` }, x && /* @__PURE__ */ e.createElement(en.Filter, {
3281
+ })), /* @__PURE__ */ e.createElement(tn.Panel, { className: `${p}__panel` }, x && /* @__PURE__ */ e.createElement(tn.Filter, {
3282
3282
  label: u,
3283
3283
  noResultsText: s,
3284
3284
  onFilterChange: g,
3285
3285
  placeholder: d,
3286
3286
  showNoResults: C.length === 0
3287
- }), C.map((t, n) => /* @__PURE__ */ e.createElement(en.CheckboxItem, {
3287
+ }), C.map((t, n) => /* @__PURE__ */ e.createElement(tn.CheckboxItem, {
3288
3288
  key: t.value,
3289
3289
  checked: f.includes(t.value),
3290
3290
  disabled: t.disabled,
3291
3291
  index: n,
3292
3292
  onCheckedChange: () => w(t.value)
3293
- }, t.label)), v && /* @__PURE__ */ e.createElement(en.Footer, null, /* @__PURE__ */ e.createElement("button", {
3293
+ }, t.label)), v && /* @__PURE__ */ e.createElement(tn.Footer, null, /* @__PURE__ */ e.createElement("button", {
3294
3294
  "aria-label": `Clear ${i} filter`,
3295
3295
  onClick: T,
3296
3296
  type: "button"
3297
3297
  }, n))));
3298
- }, un = ({ children: t, className: n, disabled: r, label: i }) => {
3298
+ }, dn = ({ children: t, className: n, disabled: r, label: i }) => {
3299
3299
  let [a, o] = h(!1), s = "pds-nav-accordion";
3300
3300
  return /* @__PURE__ */ e.createElement("div", { className: Z([s, n ?? ""]) }, /* @__PURE__ */ e.createElement("button", {
3301
3301
  "aria-expanded": a,
@@ -3308,24 +3308,24 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3308
3308
  iconName: "angleDown",
3309
3309
  size: "m"
3310
3310
  })), /* @__PURE__ */ e.createElement("div", { className: Z([`${s}__content`, a ? `${s}__content--expanded` : null]) }, t));
3311
- }, dn = {
3311
+ }, fn = {
3312
3312
  info: "Information",
3313
3313
  success: "Success",
3314
3314
  warning: "Warning",
3315
3315
  critical: "Critical",
3316
3316
  discovery: "Discovery"
3317
- }, fn = (e) => "isSeparator" in e && e.isSeparator, pn = (e) => "isHeading" in e && e.isHeading, mn = (e) => "isLink" in e && e.isLink, hn = (e) => "isNode" in e && e.isNode, gn = {
3317
+ }, pn = (e) => "isSeparator" in e && e.isSeparator, mn = (e) => "isHeading" in e && e.isHeading, hn = (e) => "isLink" in e && e.isLink, gn = (e) => "isNode" in e && e.isNode, _n = {
3318
3318
  drupal: "Drupal",
3319
3319
  wordpress: "WordPress",
3320
3320
  gatsby: "Gatsby",
3321
3321
  nextjs: "Next.js"
3322
- }, _n = {
3322
+ }, vn = {
3323
3323
  drupal: "drupal",
3324
3324
  wordpress: "wordpress",
3325
3325
  gatsby: "boltSolid",
3326
3326
  nextjs: "boltSolid"
3327
- }, vn = ({ className: t, disabled: n, iconName: r = "ellipsisVertical", iconOnly: i = !1, id: a, isSplitButton: o = !1, label: s, menuItems: c, menuPosition: l = "start", onClick: u, size: d = "s", statusDot: f, tally: p, testId: m, undefinedLabel: g = "Unlabeled group", variant: _ = "primary", ...v }) => {
3328
- let { activeIndex: y, floatingStyles: b, getFloatingProps: x, getItemProps: S, getReferenceProps: C, isMounted: w, isOpen: T, listRef: E, refs: D, setIsOpen: O, transitionStyles: k } = Zt({
3327
+ }, yn = ({ className: t, disabled: n, iconName: r = "ellipsisVertical", iconOnly: i = !1, id: a, isSplitButton: o = !1, label: s, menuItems: c, menuPosition: l = "start", onClick: u, size: d = "s", statusDot: f, tally: p, testId: m, undefinedLabel: g = "Unlabeled group", variant: _ = "primary", ...v }) => {
3328
+ let { activeIndex: y, floatingStyles: b, getFloatingProps: x, getItemProps: S, getReferenceProps: C, isMounted: w, isOpen: T, listRef: E, refs: D, setIsOpen: O, transitionStyles: k } = Qt({
3329
3329
  enableClick: !n,
3330
3330
  enableShift: !1,
3331
3331
  enableTypeahead: !0,
@@ -3334,7 +3334,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3334
3334
  }), A = "pds-menu-button", j = a, [M] = h(`menu-button-${a}`), N = [], P = [];
3335
3335
  ((e) => {
3336
3336
  e.forEach((e) => {
3337
- !fn(e) && !pn(e) && !hn(e) && P.push(e);
3337
+ !pn(e) && !mn(e) && !gn(e) && P.push(e);
3338
3338
  });
3339
3339
  })(c);
3340
3340
  let F = (e) => {
@@ -3343,24 +3343,24 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3343
3343
  u && u();
3344
3344
  }, L = (t, n, r = "", i = "") => {
3345
3345
  let a = j + (r ? `-group-${r}` : "") + "-item-" + (n + 1), o = "id" in t && t.id ? t.id : a;
3346
- if (fn(t)) return /* @__PURE__ */ e.createElement("li", {
3346
+ if (pn(t)) return /* @__PURE__ */ e.createElement("li", {
3347
3347
  key: o,
3348
3348
  className: "pds-dropdown__separator",
3349
3349
  role: "separator"
3350
3350
  });
3351
- if (pn(t)) return /* @__PURE__ */ e.createElement("li", {
3351
+ if (mn(t)) return /* @__PURE__ */ e.createElement("li", {
3352
3352
  key: i || o,
3353
3353
  className: `pds-dropdown__heading ${A}__listbox-heading`,
3354
3354
  id: i || void 0,
3355
3355
  role: "presentation"
3356
3356
  }, t.label);
3357
- if (hn(t)) return /* @__PURE__ */ e.createElement("li", {
3357
+ if (gn(t)) return /* @__PURE__ */ e.createElement("li", {
3358
3358
  key: o,
3359
3359
  role: "presentation"
3360
3360
  }, t.nodeContent);
3361
- if (mn(t) || "label" in t && t.label) {
3361
+ if (hn(t) || "label" in t && t.label) {
3362
3362
  let n = P.indexOf(t), r = y === n, i = "isCritical" in t && t.isCritical, a = "criticalLabel" in t ? t.criticalLabel : void 0, s = [];
3363
- if ("label" in t && t.label && s.push(t.label), mn(t) && t.linkContent) {
3363
+ if ("label" in t && t.label && s.push(t.label), hn(t) && t.linkContent) {
3364
3364
  let e = t.linkContent;
3365
3365
  s.push(e.props.children);
3366
3366
  }
@@ -3373,7 +3373,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3373
3373
  className: "visually-hidden"
3374
3374
  }, a));
3375
3375
  let c = t.description ? /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-description" }, t.description) : null, l;
3376
- if (mn(t) && t.linkContent) {
3376
+ if (hn(t) && t.linkContent) {
3377
3377
  let n = t.linkContent, r = n.type;
3378
3378
  l = /* @__PURE__ */ e.createElement(r, {
3379
3379
  tabIndex: -1,
@@ -3399,33 +3399,33 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3399
3399
  tabIndex: r ? 0 : -1,
3400
3400
  ...S({
3401
3401
  onClick: () => {
3402
- mn(t) || F(t), O(!1);
3402
+ hn(t) || F(t), O(!1);
3403
3403
  },
3404
3404
  onKeyDown: (e) => {
3405
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), mn(t) && t.linkContent ? e.currentTarget.querySelector("a")?.click() : F(t));
3405
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), hn(t) && t.linkContent ? e.currentTarget.querySelector("a")?.click() : F(t));
3406
3406
  }
3407
3407
  })
3408
3408
  }, l);
3409
3409
  }
3410
3410
  }, R = (t, n) => {
3411
3411
  let r = "id" in t && t.id ? t.id : `${j}-accordion-item-${n + 1}`;
3412
- if (fn(t)) return /* @__PURE__ */ e.createElement("li", {
3412
+ if (pn(t)) return /* @__PURE__ */ e.createElement("li", {
3413
3413
  key: r,
3414
3414
  className: "pds-dropdown__separator",
3415
3415
  role: "separator"
3416
3416
  });
3417
- if (pn(t)) return /* @__PURE__ */ e.createElement("li", {
3417
+ if (mn(t)) return /* @__PURE__ */ e.createElement("li", {
3418
3418
  key: r,
3419
3419
  className: `pds-dropdown__heading ${A}__listbox-heading`,
3420
3420
  role: "presentation"
3421
3421
  }, t.label);
3422
- if (hn(t)) return /* @__PURE__ */ e.createElement("li", {
3422
+ if (gn(t)) return /* @__PURE__ */ e.createElement("li", {
3423
3423
  key: r,
3424
3424
  role: "presentation"
3425
3425
  }, t.nodeContent);
3426
- if (mn(t) || "label" in t && t.label) {
3426
+ if (hn(t) || "label" in t && t.label) {
3427
3427
  let i = "isCritical" in t && t.isCritical, a = "criticalLabel" in t ? t.criticalLabel : void 0, o = [];
3428
- if ("label" in t && t.label && o.push(t.label), mn(t) && t.linkContent) {
3428
+ if ("label" in t && t.label && o.push(t.label), hn(t) && t.linkContent) {
3429
3429
  let e = t.linkContent;
3430
3430
  o.push(e.props.children);
3431
3431
  }
@@ -3438,7 +3438,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3438
3438
  className: "visually-hidden"
3439
3439
  }, a));
3440
3440
  let s = t.description ? /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-description" }, t.description) : null, c;
3441
- if (mn(t) && t.linkContent) {
3441
+ if (hn(t) && t.linkContent) {
3442
3442
  let n = t.linkContent, r = n.type;
3443
3443
  c = /* @__PURE__ */ e.createElement(r, {
3444
3444
  tabIndex: -1,
@@ -3451,13 +3451,13 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3451
3451
  className: Z(["pds-dropdown__item", i ? "pds-dropdown__item--critical" : null]),
3452
3452
  id: r,
3453
3453
  onClick: () => {
3454
- mn(t) || F(t);
3454
+ hn(t) || F(t);
3455
3455
  },
3456
3456
  role: "menuitem"
3457
3457
  }, c);
3458
3458
  }
3459
3459
  }, z = (t) => {
3460
- let n = t.filter(pn || fn), r = n.length > 0, a = Z([
3460
+ let n = t.filter(mn || pn), r = n.length > 0, a = Z([
3461
3461
  "pds-dropdown__panel",
3462
3462
  `${A}__listbox`,
3463
3463
  l === "end" ? `${A}__listbox--end` : null,
@@ -3488,7 +3488,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3488
3488
  role: "group"
3489
3489
  }, t.map((e) => {
3490
3490
  let t = L(e, o, r, a);
3491
- return !fn(e) && !pn(e) && !hn(e) && o++, t;
3491
+ return !pn(e) && !mn(e) && !gn(e) && o++, t;
3492
3492
  }));
3493
3493
  }));
3494
3494
  } else return /* @__PURE__ */ e.createElement("ul", {
@@ -3505,25 +3505,25 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3505
3505
  ...x()
3506
3506
  }, t.map((e) => {
3507
3507
  let t = L(e, o);
3508
- return !fn(e) && !pn(e) && !hn(e) && o++, t;
3508
+ return !pn(e) && !mn(e) && !gn(e) && o++, t;
3509
3509
  }));
3510
3510
  }, B = (e, t) => {
3511
3511
  let n = [], r = [...t], i = r.shift(), a = [];
3512
3512
  return e.forEach((t, o) => {
3513
3513
  t === i ? (n.push(a), a = [], a.push(t), i = r.shift()) : (a.push(t), o + 1 === e.length && n.push(a));
3514
3514
  }), n.filter((e) => e.length > 0);
3515
- }, V, H = d === "m" ? "s" : "xs", U = p ? /* @__PURE__ */ e.createElement(e.Fragment, null, s, /* @__PURE__ */ e.createElement(zt, {
3515
+ }, V, H = d === "m" ? "s" : "xs", U = p ? /* @__PURE__ */ e.createElement(e.Fragment, null, s, /* @__PURE__ */ e.createElement(Bt, {
3516
3516
  className: "pds-button__tally",
3517
3517
  label: p.label,
3518
3518
  size: H,
3519
3519
  type: p.type
3520
- })) : s, W = p ? /* @__PURE__ */ e.createElement("span", { className: `${A}__accordion-label` }, s, /* @__PURE__ */ e.createElement(zt, {
3520
+ })) : s, W = p ? /* @__PURE__ */ e.createElement("span", { className: `${A}__accordion-label` }, s, /* @__PURE__ */ e.createElement(Bt, {
3521
3521
  className: `${A}__tally`,
3522
3522
  label: p.label,
3523
3523
  size: "s",
3524
3524
  type: p.type
3525
3525
  })) : s;
3526
- if (i || (V = /* @__PURE__ */ e.createElement(Wt, {
3526
+ if (i || (V = /* @__PURE__ */ e.createElement(Gt, {
3527
3527
  ref: D.setReference,
3528
3528
  "aria-controls": M,
3529
3529
  "aria-expanded": T,
@@ -3541,8 +3541,8 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3541
3541
  variant: _,
3542
3542
  ...C({ onClick: I })
3543
3543
  })), i) {
3544
- let t = Ut(s);
3545
- V = /* @__PURE__ */ e.createElement(qt, {
3544
+ let t = Wt(s);
3545
+ V = /* @__PURE__ */ e.createElement(Jt, {
3546
3546
  ref: D.setReference,
3547
3547
  "aria-controls": M,
3548
3548
  "aria-expanded": T,
@@ -3568,14 +3568,14 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3568
3568
  ]),
3569
3569
  "data-testid": m,
3570
3570
  ...v
3571
- }, /* @__PURE__ */ e.createElement(un, {
3571
+ }, /* @__PURE__ */ e.createElement(dn, {
3572
3572
  disabled: n,
3573
3573
  label: G
3574
3574
  }, /* @__PURE__ */ e.createElement("ul", {
3575
3575
  className: `${A}__mobile-menu`,
3576
3576
  role: "menu"
3577
3577
  }, c.map((e, t) => R(e, t)))), V, w && z(c));
3578
- }, yn = ({ border: t = !1, className: n, defaultValue: r, disabled: i = !1, iconOnly: a = !1, id: o, label: s, onChange: c, options: l, size: u = "m", value: d, ...f }) => {
3578
+ }, bn = ({ border: t = !1, className: n, defaultValue: r, disabled: i = !1, iconOnly: a = !1, id: o, label: s, onChange: c, options: l, size: u = "m", value: d, ...f }) => {
3579
3579
  let p = "pds-segmented-button", m = u === "m" ? null : `${p}--${u}`, g = t ? `${p}--bordered` : null, _ = a ? `${p}--icon-only` : null;
3580
3580
  a && process.env.NODE_ENV !== "production" && l.some((e) => !e.iconName) && console.warn("[SegmentedButton] `iconOnly` mode requires every option to have an `iconName`. Options without one will render an empty segment.");
3581
3581
  let v = d !== void 0, [y, b] = h(r === void 0 ? "" : r), x = (e) => {
@@ -3591,7 +3591,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3591
3591
  ]),
3592
3592
  ...f
3593
3593
  }, /* @__PURE__ */ e.createElement("legend", { className: "visually-hidden" }, s), /* @__PURE__ */ e.createElement("div", { className: `${p}__track` }, l.map((t, n) => {
3594
- let r = v ? d === t.value : y === t.value, s = i || !!t.disabled, c = t.id ?? `${o}-option-${n}`, l = a && !s, u = /* @__PURE__ */ e.createElement(e.Fragment, null, t.isLoading && /* @__PURE__ */ e.createElement(Lt, {
3594
+ let r = v ? d === t.value : y === t.value, s = i || !!t.disabled, c = t.id ?? `${o}-option-${n}`, l = a && !s, u = /* @__PURE__ */ e.createElement(e.Fragment, null, t.isLoading && /* @__PURE__ */ e.createElement(Rt, {
3595
3595
  isInline: !0,
3596
3596
  className: `${p}__spinner`,
3597
3597
  color: "currentColor",
@@ -3599,7 +3599,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3599
3599
  }), t.iconName && !t.isLoading && /* @__PURE__ */ e.createElement(Q, {
3600
3600
  className: `${p}__icon`,
3601
3601
  iconName: t.iconName
3602
- }), /* @__PURE__ */ e.createElement("span", { className: Z([`${p}__label-text`, a ? "visually-hidden" : null]) }, t.label), t.tally && /* @__PURE__ */ e.createElement(zt, {
3602
+ }), /* @__PURE__ */ e.createElement("span", { className: Z([`${p}__label-text`, a ? "visually-hidden" : null]) }, t.label), t.tally && /* @__PURE__ */ e.createElement(Bt, {
3603
3603
  className: `${p}__tally`,
3604
3604
  label: t.tally.label,
3605
3605
  size: "s",
@@ -3624,23 +3624,23 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3624
3624
  }), /* @__PURE__ */ e.createElement("label", {
3625
3625
  htmlFor: c,
3626
3626
  title: l ? void 0 : t.label
3627
- }, l ? /* @__PURE__ */ e.createElement(bt, {
3627
+ }, l ? /* @__PURE__ */ e.createElement(xt, {
3628
3628
  className: `${p}__tooltip`,
3629
3629
  content: t.label,
3630
3630
  customTrigger: u,
3631
3631
  offsetValue: 8
3632
3632
  }) : u));
3633
3633
  })));
3634
- }, bn = ({ actionItems: t, className: n, disabled: r, id: i, moreActionsLabel: a = "More actions", size: o = "s", variant: s = "primary", ...c }) => {
3634
+ }, xn = ({ actionItems: t, className: n, disabled: r, id: i, moreActionsLabel: a = "More actions", size: o = "s", variant: s = "primary", ...c }) => {
3635
3635
  let l = "pds-split-button", u = `${l}--${s}`, d = t[0], f = t.slice(1), p = null;
3636
- return "isLink" in d && d.isLink === !0 ? p = /* @__PURE__ */ e.createElement(Gt, {
3636
+ return "isLink" in d && d.isLink === !0 ? p = /* @__PURE__ */ e.createElement(Kt, {
3637
3637
  className: `${l}__primary-action`,
3638
3638
  disabled: r,
3639
3639
  displayType: "label-only",
3640
3640
  linkContent: d.linkContent,
3641
3641
  size: o,
3642
3642
  variant: s
3643
- }) : "label" in d && (p = /* @__PURE__ */ e.createElement(Wt, {
3643
+ }) : "label" in d && (p = /* @__PURE__ */ e.createElement(Gt, {
3644
3644
  className: `${l}__primary-action`,
3645
3645
  disabled: r,
3646
3646
  label: d.label,
@@ -3655,7 +3655,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3655
3655
  ]),
3656
3656
  id: i,
3657
3657
  ...c
3658
- }, p, /* @__PURE__ */ e.createElement(vn, {
3658
+ }, p, /* @__PURE__ */ e.createElement(yn, {
3659
3659
  isSplitButton: !0,
3660
3660
  className: `${l}__menu-button`,
3661
3661
  disabled: r,
@@ -3666,7 +3666,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3666
3666
  testId: null,
3667
3667
  variant: s
3668
3668
  }));
3669
- }, xn = {
3669
+ }, Sn = {
3670
3670
  drupal: "Drupal",
3671
3671
  drupal7: "Drupal 7",
3672
3672
  "front-end-sites": "Next.js and Gatsby",
@@ -3681,7 +3681,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3681
3681
  splunk: "Splunk",
3682
3682
  "sumo-logic": "Sumo Logic",
3683
3683
  wordpress: "WordPress"
3684
- }, Sn = ({ className: t, platformType: r, size: i = "2xl", ...a }) => {
3684
+ }, Cn = ({ className: t, platformType: r, size: i = "2xl", ...a }) => {
3685
3685
  let o = "pds-platform-icon", s = `pds-platform-icon--${r}`, c = `pds-platform-icon--${i}`, l;
3686
3686
  if ([
3687
3687
  "front-end-sites",
@@ -3705,11 +3705,11 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3705
3705
  break;
3706
3706
  }
3707
3707
  l = /* @__PURE__ */ e.createElement("span", {
3708
- "aria-label": xn[r],
3708
+ "aria-label": Sn[r],
3709
3709
  className: `${o}__group`,
3710
3710
  role: "img"
3711
- }, n(Cn[t[0]], { "aria-hidden": "true" }), n(Cn[t[1]], { "aria-hidden": "true" }));
3712
- } else l = Cn[r];
3711
+ }, n(wn[t[0]], { "aria-hidden": "true" }), n(wn[t[1]], { "aria-hidden": "true" }));
3712
+ } else l = wn[r];
3713
3713
  return /* @__PURE__ */ e.createElement("div", {
3714
3714
  className: Z([
3715
3715
  o,
@@ -3719,7 +3719,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3719
3719
  ]),
3720
3720
  ...a
3721
3721
  }, l);
3722
- }, Cn = {
3722
+ }, wn = {
3723
3723
  drupal: /* @__PURE__ */ e.createElement("svg", {
3724
3724
  "aria-label": "Drupal",
3725
3725
  fill: "none",
@@ -3946,8 +3946,8 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3946
3946
  d: "M17 10.5V15H21.5C22.0312 15 22.5 15.4688 22.5 16C22.5 16.5625 22.0312 17 21.5 17H17V21.5C17 22.0625 16.5312 22.5 16 22.5C15.4375 22.5 15 22.0625 15 21.5V17H10.5C9.9375 17 9.5 16.5625 9.5 16C9.5 15.4688 9.9375 15 10.5 15H15V10.5C15 9.96875 15.4375 9.5 16 9.5C16.5312 9.5 17 9.96875 17 10.5Z",
3947
3947
  fill: "var(--pds-color-foreground-reverse)"
3948
3948
  }))
3949
- }, wn = ({ buttonType: t = "button", className: n = "", disabled: r = !1, label: i, onClick: a, platform: o, size: s = "m", ...c }) => {
3950
- let l = "pds-sso-button", u = `${l}--${s}`, d = s === "m" ? "l" : "2xl", f = /* @__PURE__ */ e.createElement(Sn, {
3949
+ }, Tn = ({ buttonType: t = "button", className: n = "", disabled: r = !1, label: i, onClick: a, platform: o, size: s = "m", ...c }) => {
3950
+ let l = "pds-sso-button", u = `${l}--${s}`, d = s === "m" ? "l" : "2xl", f = /* @__PURE__ */ e.createElement(Cn, {
3951
3951
  className: `${l}__icon`,
3952
3952
  platformType: o,
3953
3953
  size: d
@@ -3963,12 +3963,12 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3963
3963
  type: t,
3964
3964
  ...c
3965
3965
  }, f, i);
3966
- }, Tn = ({ buttonProps: t, className: r, disabled: i = !1, hasBorder: a = !1, iconName: s, iconPosition: c = "before", isCritical: l = !1, isLoading: u, isMonospace: d = !1, isWorking: f, label: p, linkContent: m, onClick: h, tooltipText: g, ..._ }) => {
3966
+ }, En = ({ buttonProps: t, className: r, disabled: i = !1, hasBorder: a = !1, iconName: s, iconPosition: c = "before", isCritical: l = !1, isLoading: u, isMonospace: d = !1, isWorking: f, label: p, linkContent: m, onClick: h, tooltipText: g, ..._ }) => {
3967
3967
  let v = "pds-utility-button", y = u ? "pds-pulse" : null, b = (t) => s && !f ? /* @__PURE__ */ e.createElement(Q, {
3968
3968
  key: t,
3969
3969
  className: `${v}__icon`,
3970
3970
  iconName: s
3971
- }) : null, x = () => f ? /* @__PURE__ */ e.createElement(Lt, {
3971
+ }) : null, x = () => f ? /* @__PURE__ */ e.createElement(Rt, {
3972
3972
  key: "spinner",
3973
3973
  className: `${v}__spinner`,
3974
3974
  size: "m"
@@ -3987,7 +3987,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3987
3987
  f ? `${v}--working` : null,
3988
3988
  d ? `${v}--monospace` : null,
3989
3989
  r ?? ""
3990
- ]), T = (t) => g ? /* @__PURE__ */ e.createElement(bt, {
3990
+ ]), T = (t) => g ? /* @__PURE__ */ e.createElement(xt, {
3991
3991
  content: g,
3992
3992
  customTrigger: t
3993
3993
  }) : t;
@@ -4016,7 +4016,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4016
4016
  className: w,
4017
4017
  ..._
4018
4018
  }, T(E));
4019
- }, En = {
4019
+ }, Dn = {
4020
4020
  info: "circleInfo",
4021
4021
  warning: "triangleExclamation",
4022
4022
  success: "circleCheck",
@@ -4024,8 +4024,8 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4024
4024
  discovery: "squareQuestion",
4025
4025
  code: "squareTerminal",
4026
4026
  earlyAccess: "leaf"
4027
- }, Dn = ({ children: t, className: n, headingLevel: r = "span", title: i, type: a = "info", typeLabels: o = {
4028
- ...dn,
4027
+ }, On = ({ children: t, className: n, headingLevel: r = "span", title: i, type: a = "info", typeLabels: o = {
4028
+ ...fn,
4029
4029
  code: "Code",
4030
4030
  earlyAccess: "Early Access"
4031
4031
  }, ...s }) => {
@@ -4038,13 +4038,13 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4038
4038
  ]),
4039
4039
  ...s
4040
4040
  }, /* @__PURE__ */ e.createElement("div", { className: `${c}__inner` }, /* @__PURE__ */ e.createElement("div", { className: `${c}__icon ${c}__icon--${a}` }, /* @__PURE__ */ e.createElement(Q, {
4041
- iconName: `${a}` in En ? En[a] : En.info,
4041
+ iconName: `${a}` in Dn ? Dn[a] : Dn.info,
4042
4042
  size: "xl"
4043
- })), /* @__PURE__ */ e.createElement("div", { className: `${c}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, u), i && /* @__PURE__ */ e.createElement(Ht, {
4043
+ })), /* @__PURE__ */ e.createElement("div", { className: `${c}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, u), i && /* @__PURE__ */ e.createElement(Ut, {
4044
4044
  baseClass: c,
4045
4045
  level: r
4046
4046
  }, i), t && /* @__PURE__ */ e.createElement("div", { className: `${c}__main-content` }, t))));
4047
- }, On = ({ background: t = "default", children: r, className: i, imageVariant: a = "bleed", padding: s = "standard", primaryAction: c, ...l }) => {
4047
+ }, kn = ({ background: t = "default", children: r, className: i, imageVariant: a = "bleed", padding: s = "standard", primaryAction: c, ...l }) => {
4048
4048
  let u = "pds-action-card", d = t === "default" ? null : `${u}--${t}`, f = a === "bleed" ? null : `${u}--image-${a}`, p = s === "standard" ? null : `${u}--pad-${s}`, m = Ie(r), h = m.image, g = m.__unslotted || m.main, _ = m.footer, v = `${u}__primary`, y = c.linkContent && o(c.linkContent) ? n(c.linkContent, {
4049
4049
  "aria-label": c.label,
4050
4050
  className: v
@@ -4064,7 +4064,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4064
4064
  ]),
4065
4065
  ...l
4066
4066
  }, y, /* @__PURE__ */ e.createElement("div", { className: `${u}__inner` }, h && /* @__PURE__ */ e.createElement("div", { className: `${u}__image` }, h[0]), g && /* @__PURE__ */ e.createElement("div", { className: `${u}__main` }, g), _ && /* @__PURE__ */ e.createElement("div", { className: `${u}__footer` }, _)));
4067
- }, kn = ({ background: t = "default", children: n, className: r, imageVariant: i = "bleed", padding: a = "standard", ...o }) => {
4067
+ }, An = ({ background: t = "default", children: n, className: r, imageVariant: i = "bleed", padding: a = "standard", ...o }) => {
4068
4068
  let s = "pds-card", c = t === "default" ? null : `${s}--${t}`, l = i === "bleed" ? null : `${s}--image-${i}`, u = a === "standard" ? null : `${s}--pad-${a}`, d = Ie(n), f = d.image, p = d.__unslotted || d.main, m = d.footer;
4069
4069
  return /* @__PURE__ */ e.createElement("div", {
4070
4070
  className: Z([
@@ -4076,7 +4076,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4076
4076
  ]),
4077
4077
  ...o
4078
4078
  }, f && /* @__PURE__ */ e.createElement("div", { className: `${s}__image` }, f[0]), p && /* @__PURE__ */ e.createElement("div", { className: `${s}__main` }, p), m && /* @__PURE__ */ e.createElement("div", { className: `${s}__footer` }, m));
4079
- }, An = ({ className: t, defaultValue: n, id: r, label: i, labelDisplay: a = "left", layout: o = "auto", onChange: s, options: c, size: l = "m", ...u }) => {
4079
+ }, jn = ({ className: t, defaultValue: n, id: r, label: i, labelDisplay: a = "left", layout: o = "auto", onChange: s, options: c, size: l = "m", ...u }) => {
4080
4080
  let d = "pds-card-select", f = l === "m" ? null : `${d}--${l}`, p = `${d}__legend`;
4081
4081
  a === "center" && (p = `${d}__legend ${d}__legend--center`), a === "hidden" && (p = `${d}__legend visually-hidden`);
4082
4082
  let [m, g] = h(n), _ = (e) => {
@@ -4108,7 +4108,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4108
4108
  iconName: m === t.value ? "circleCheck" : "circle",
4109
4109
  size: "l"
4110
4110
  })), /* @__PURE__ */ e.createElement("span", { className: `${d}__option-label-text` }, t.label), t.children && /* @__PURE__ */ e.createElement("div", { className: `${d}__option-children` }, t.children))))));
4111
- }, jn = ({ className: t, heading: n, headingLevel: r = "span", iconName: i, linkContent: a, message: o, ...s }) => {
4111
+ }, Mn = ({ className: t, heading: n, headingLevel: r = "span", iconName: i, linkContent: a, message: o, ...s }) => {
4112
4112
  let c = "pds-compact-empty-state";
4113
4113
  return /* @__PURE__ */ e.createElement("div", {
4114
4114
  className: Z([c, t ?? ""]),
@@ -4117,11 +4117,11 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4117
4117
  className: `${c}__icon`,
4118
4118
  iconName: i,
4119
4119
  size: "xl"
4120
- }), /* @__PURE__ */ e.createElement("div", { className: `${c}__text` }, /* @__PURE__ */ e.createElement(Ht, {
4120
+ }), /* @__PURE__ */ e.createElement("div", { className: `${c}__text` }, /* @__PURE__ */ e.createElement(Ut, {
4121
4121
  baseClass: c,
4122
4122
  level: r
4123
4123
  }, n), o && /* @__PURE__ */ e.createElement("p", { className: `${c}__message` }, o)), a && /* @__PURE__ */ e.createElement("div", { className: `${c}__link` }, a));
4124
- }, Mn = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e.createElement("svg", {
4124
+ }, Nn = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e.createElement("svg", {
4125
4125
  "aria-hidden": "true",
4126
4126
  className: t,
4127
4127
  fill: "currentColor",
@@ -4129,7 +4129,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4129
4129
  viewBox: "0 0 24 22",
4130
4130
  width: "0.875em",
4131
4131
  xmlns: "http://www.w3.org/2000/svg"
4132
- }, /* @__PURE__ */ e.createElement("path", { d: "M23.5642 3.60378C24.3096 2.57959 24.0773 1.15711 23.0318 0.426908C21.9863 -0.303298 20.5343 -0.0757017 19.7889 0.948483L8.6082 16.2164L3.96167 11.6645C3.05173 10.7731 1.58032 10.7731 0.680059 11.6645C-0.220207 12.5559 -0.229887 13.9974 0.670378 14.8888L7.25296 21.3373C7.73698 21.8115 8.40492 22.0486 9.08253 21.9917C9.76015 21.9348 10.3797 21.5934 10.7766 21.0529L23.5545 3.60378H23.5642Z" })), Nn = ({ children: t, label: n }) => {
4132
+ }, /* @__PURE__ */ e.createElement("path", { d: "M23.5642 3.60378C24.3096 2.57959 24.0773 1.15711 23.0318 0.426908C21.9863 -0.303298 20.5343 -0.0757017 19.7889 0.948483L8.6082 16.2164L3.96167 11.6645C3.05173 10.7731 1.58032 10.7731 0.680059 11.6645C-0.220207 12.5559 -0.229887 13.9974 0.670378 14.8888L7.25296 21.3373C7.73698 21.8115 8.40492 22.0486 9.08253 21.9917C9.76015 21.9348 10.3797 21.5934 10.7766 21.0529L23.5545 3.60378H23.5642Z" })), Pn = ({ children: t, label: n }) => {
4133
4133
  let r = "pds-select";
4134
4134
  return /* @__PURE__ */ e.createElement("li", {
4135
4135
  className: `${r}__group`,
@@ -4138,13 +4138,13 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4138
4138
  className: `${r}__group-options`,
4139
4139
  role: "group"
4140
4140
  }, t));
4141
- }, Pn = ({ autoWidth: t = !1, className: n, defaultValue: r, disabled: i, icon: a, id: o, inputWidth: s, label: c, labelStrings: u = {
4141
+ }, Fn = ({ autoWidth: t = !1, className: n, defaultValue: r, disabled: i, icon: a, id: o, inputWidth: s, label: c, labelStrings: u = {
4142
4142
  selectOptionText: "Select an option...",
4143
4143
  triggerButton: "Toggle dropdown menu"
4144
4144
  }, message: d, onBlur: f, onFocus: p, onOptionSelect: m, options: g, required: _ = !1, showLabel: v = !0, size: y = "s", tooltipText: b = null, validationMessage: x, validationStatus: S, value: C, ...w }) => {
4145
- let T = xt(s), E = "pds-select", D = t ? `${E}--auto-width` : null, O = y === "s" ? null : `${E}--${y}`, k = i ? $.disabled : null, A = _ && !i ? $.required : null, j = S === "error" ? $.error : null, M = S === "success" ? $.success : null, N = null;
4145
+ let T = St(s), E = "pds-select", D = t ? `${E}--auto-width` : null, O = y === "s" ? null : `${E}--${y}`, k = i ? $.disabled : null, A = _ && !i ? $.required : null, j = S === "error" ? $.error : null, M = S === "success" ? $.success : null, N = null;
4146
4146
  S === "error" && (N = "error"), S === "success" && (N = "success");
4147
- let P = x || d, F = C !== void 0, I = r !== void 0, L = ((e) => e.reduce((e, t) => Mt(t) ? [...e, ...t.options] : [...e, t], []))(g), R = (e) => L.findIndex((t) => t.value === e), z = F && R(C) >= 0 ? R(C) : null, B = I ? R(r) : null, [V, H] = h((z || B) ?? null), { activeIndex: U, floatingStyles: W, getFloatingProps: G, getItemProps: K, getReferenceProps: q, isMounted: J, listRef: ee, refs: te, setIsOpen: ne, transitionStyles: re } = Zt({
4147
+ let P = x || d, F = C !== void 0, I = r !== void 0, L = ((e) => e.reduce((e, t) => Nt(t) ? [...e, ...t.options] : [...e, t], []))(g), R = (e) => L.findIndex((t) => t.value === e), z = F && R(C) >= 0 ? R(C) : null, B = I ? R(r) : null, [V, H] = h((z || B) ?? null), { activeIndex: U, floatingStyles: W, getFloatingProps: G, getItemProps: K, getReferenceProps: q, isMounted: J, listRef: ee, refs: te, setIsOpen: ne, transitionStyles: re } = Qt({
4148
4148
  enableClick: !i,
4149
4149
  enableTypeahead: !0,
4150
4150
  role: "listbox",
@@ -4163,7 +4163,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4163
4163
  p && p(Y);
4164
4164
  }, ce = () => {
4165
4165
  te.reference.current.focus();
4166
- }, le = (t, n) => t === "google" || t === "microsoft" ? /* @__PURE__ */ e.createElement(Sn, {
4166
+ }, le = (t, n) => t === "google" || t === "microsoft" ? /* @__PURE__ */ e.createElement(Cn, {
4167
4167
  className: n,
4168
4168
  platformType: t,
4169
4169
  size: "m"
@@ -4174,10 +4174,10 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4174
4174
  }), ue = (t) => {
4175
4175
  let n = 0;
4176
4176
  return t.map((t) => {
4177
- if (Mt(t)) {
4177
+ if (Nt(t)) {
4178
4178
  let r = t.options.map((t) => {
4179
4179
  let r = n++;
4180
- return /* @__PURE__ */ e.createElement(Nt, {
4180
+ return /* @__PURE__ */ e.createElement(Pt, {
4181
4181
  key: r,
4182
4182
  ref: (e) => {
4183
4183
  ee.current[r] = e;
@@ -4193,15 +4193,15 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4193
4193
  e.key === "Enter" && (e.preventDefault(), oe(r), te.reference.current.focus()), e.key === "Escape" && (e.preventDefault(), te.reference.current.focus());
4194
4194
  }
4195
4195
  })
4196
- }, /* @__PURE__ */ e.createElement("span", { className: `${E}__option-label` }, t.icon && le(t.icon, `${E}__option-icon`), t.label), V === r && /* @__PURE__ */ e.createElement(Mn, null));
4196
+ }, /* @__PURE__ */ e.createElement("span", { className: `${E}__option-label` }, t.icon && le(t.icon, `${E}__option-icon`), t.label), V === r && /* @__PURE__ */ e.createElement(Nn, null));
4197
4197
  });
4198
- return /* @__PURE__ */ e.createElement(Nn, {
4198
+ return /* @__PURE__ */ e.createElement(Pn, {
4199
4199
  key: t.groupLabel,
4200
4200
  label: t.groupLabel
4201
4201
  }, r);
4202
4202
  }
4203
4203
  let r = n++;
4204
- return /* @__PURE__ */ e.createElement(Nt, {
4204
+ return /* @__PURE__ */ e.createElement(Pt, {
4205
4205
  key: r,
4206
4206
  ref: (e) => {
4207
4207
  ee.current[r] = e;
@@ -4217,7 +4217,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4217
4217
  e.key === "Enter" && (e.preventDefault(), oe(r), te.reference.current.focus()), e.key === "Escape" && (e.preventDefault(), te.reference.current.focus());
4218
4218
  }
4219
4219
  })
4220
- }, /* @__PURE__ */ e.createElement("span", { className: `${E}__option-label` }, t.icon && le(t.icon, `${E}__option-icon`), t.label), V === r && /* @__PURE__ */ e.createElement(Mn, null));
4220
+ }, /* @__PURE__ */ e.createElement("span", { className: `${E}__option-label` }, t.icon && le(t.icon, `${E}__option-icon`), t.label), V === r && /* @__PURE__ */ e.createElement(Nn, null));
4221
4221
  });
4222
4222
  };
4223
4223
  return /* @__PURE__ */ e.createElement("div", {
@@ -4240,10 +4240,10 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4240
4240
  }, L.map((t) => /* @__PURE__ */ e.createElement("span", {
4241
4241
  key: t.value,
4242
4242
  className: `${E}__input-wrapper`
4243
- }, S !== void 0 && /* @__PURE__ */ e.createElement(Dt, { variant: "error" }), /* @__PURE__ */ e.createElement("span", { className: `${E}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${E}__option-text` }, t.icon && le(t.icon, `${E}__icon`), t.label), /* @__PURE__ */ e.createElement(Q, {
4243
+ }, S !== void 0 && /* @__PURE__ */ e.createElement(Ot, { variant: "error" }), /* @__PURE__ */ e.createElement("span", { className: `${E}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${E}__option-text` }, t.icon && le(t.icon, `${E}__icon`), t.label), /* @__PURE__ */ e.createElement(Q, {
4244
4244
  className: `${E}__trigger-icon`,
4245
4245
  iconName: "angleDown"
4246
- }))))), /* @__PURE__ */ e.createElement(wt, {
4246
+ }))))), /* @__PURE__ */ e.createElement(Tt, {
4247
4247
  disabled: i,
4248
4248
  id: o,
4249
4249
  label: c,
@@ -4262,7 +4262,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4262
4262
  onBlur: X,
4263
4263
  onFocus: se
4264
4264
  })
4265
- }, N && /* @__PURE__ */ e.createElement(Dt, { variant: N }), /* @__PURE__ */ e.createElement("span", { className: `${E}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${E}__option-text` }, (ae || !ie && a) && le(ae || a, `${E}__icon`), /* @__PURE__ */ e.createElement("span", { className: `${E}__option-label-text` }, ie ?? u.selectOptionText)), /* @__PURE__ */ e.createElement(Q, {
4265
+ }, N && /* @__PURE__ */ e.createElement(Ot, { variant: N }), /* @__PURE__ */ e.createElement("span", { className: `${E}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${E}__option-text` }, (ae || !ie && a) && le(ae || a, `${E}__icon`), /* @__PURE__ */ e.createElement("span", { className: `${E}__option-label-text` }, ie ?? u.selectOptionText)), /* @__PURE__ */ e.createElement(Q, {
4266
4266
  className: `${E}__trigger-icon`,
4267
4267
  iconName: "angleDown"
4268
4268
  }))), J && /* @__PURE__ */ e.createElement("div", {
@@ -4276,24 +4276,24 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4276
4276
  }, /* @__PURE__ */ e.createElement("div", { style: { ...re } }, /* @__PURE__ */ e.createElement("ul", {
4277
4277
  className: `${E}__options`,
4278
4278
  role: "group"
4279
- }, ue(g)))), P && /* @__PURE__ */ e.createElement(Tt, {
4279
+ }, ue(g)))), P && /* @__PURE__ */ e.createElement(Et, {
4280
4280
  hasValidationMessage: !!x,
4281
4281
  id: o,
4282
4282
  message: P,
4283
4283
  validationMessageHasDecorators: !1,
4284
4284
  validationStatus: S
4285
4285
  }));
4286
- }, Fn = {
4286
+ }, In = {
4287
4287
  "sequential-iris": 2,
4288
4288
  "sequential-multi": 2
4289
- }, In = (e, t) => {
4290
- let n = Fn[e];
4291
- return n ? t.slice(n) : t;
4292
4289
  }, Ln = (e, t) => {
4290
+ let n = In[e];
4291
+ return n ? t.slice(n) : t;
4292
+ }, Rn = (e, t) => {
4293
4293
  if (t === void 0) return;
4294
- let n = Fn[e];
4294
+ let n = In[e];
4295
4295
  return n ? Math.max(t, n + 1) - n : t;
4296
- }, Rn = {
4296
+ }, zn = {
4297
4297
  categorical: [
4298
4298
  "--pds-color-datavis-categorical-1",
4299
4299
  "--pds-color-datavis-categorical-2",
@@ -4357,7 +4357,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4357
4357
  "--pds-color-datavis-status-discovery",
4358
4358
  "--pds-color-datavis-status-neutral"
4359
4359
  ]
4360
- }, zn = {
4360
+ }, Bn = {
4361
4361
  categorical: [
4362
4362
  "#00b29e",
4363
4363
  "#3778d7",
@@ -4421,34 +4421,34 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4421
4421
  "#6f20a5",
4422
4422
  "#6a6e7a"
4423
4423
  ]
4424
- }, Bn = (e, t, n, r) => n || (r === void 0 ? t[e % t.length] : t[(r - 1) % t.length]), Vn = (e, t) => {
4425
- let n = zn[t];
4424
+ }, Vn = (e, t, n, r) => n || (r === void 0 ? t[e % t.length] : t[(r - 1) % t.length]), Hn = (e, t) => {
4425
+ let n = Bn[t];
4426
4426
  if (!e) return n;
4427
4427
  let r = getComputedStyle(e);
4428
- return Rn[t].map((e, t) => r.getPropertyValue(e).trim() || n[t]);
4429
- }, Hn = (e, t = "categorical") => {
4430
- let [n, r] = h(zn[t]);
4428
+ return zn[t].map((e, t) => r.getPropertyValue(e).trim() || n[t]);
4429
+ }, Un = (e, t = "categorical") => {
4430
+ let [n, r] = h(Bn[t]);
4431
4431
  return l(() => {
4432
4432
  if (!e.current) return;
4433
- r(Vn(e.current, t));
4433
+ r(Hn(e.current, t));
4434
4434
  let n = new MutationObserver(() => {
4435
- e.current && r(Vn(e.current, t));
4435
+ e.current && r(Hn(e.current, t));
4436
4436
  });
4437
4437
  return n.observe(document.documentElement, {
4438
4438
  attributeFilter: ["data-theme"],
4439
4439
  attributes: !0
4440
4440
  }), () => n.disconnect();
4441
4441
  }, [e, t]), n;
4442
- }, Un = {
4442
+ }, Wn = {
4443
4443
  fill: "var(--pds-color-foreground-default-secondary)",
4444
4444
  fontFamily: "var(--pds-typography-ff-default)",
4445
4445
  fontSize: "var(--pds-typography-size-xs)"
4446
- }, Wn = {
4446
+ }, Gn = {
4447
4447
  fill: "var(--pds-color-foreground-default-secondary)",
4448
4448
  fontFamily: "var(--pds-typography-ff-default)",
4449
4449
  fontSize: "var(--pds-typography-size-xs)",
4450
4450
  fontWeight: "var(--pds-typography-fw-semibold)"
4451
- }, Gn = ({ data: t, description: n, series: r, valueFormatter: i }) => {
4451
+ }, Kn = ({ data: t, description: n, series: r, valueFormatter: i }) => {
4452
4452
  let a = (e) => typeof e == "number" && i ? i(e) : typeof e == "number" ? e.toLocaleString() : String(e);
4453
4453
  return /* @__PURE__ */ e.createElement("table", {
4454
4454
  "aria-label": n,
@@ -4458,7 +4458,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4458
4458
  key: t.dataKey,
4459
4459
  scope: "col"
4460
4460
  }, t.label)))), /* @__PURE__ */ e.createElement("tbody", null, t.map((t, n) => /* @__PURE__ */ e.createElement("tr", { key: `${t.label}-${n}` }, /* @__PURE__ */ e.createElement("td", null, t.label), r.map((n) => /* @__PURE__ */ e.createElement("td", { key: n.dataKey }, a(t[n.dataKey])))))));
4461
- }, Kn = ({ data: t = [], series: n, seriesColors: r, tableHeader: i = "Total", valueFormatter: a = (e) => e.toLocaleString(), variant: o = "inline" }) => {
4461
+ }, qn = ({ data: t = [], series: n, seriesColors: r, tableHeader: i = "Total", valueFormatter: a = (e) => e.toLocaleString(), variant: o = "inline" }) => {
4462
4462
  let s = "pds-chart-legend", c = (e, t, n) => t || (n === void 0 ? r[e % r.length] : r[(n - 1) % r.length]);
4463
4463
  if (o === "table") {
4464
4464
  let r = n.map((e) => t.reduce((t, n) => {
@@ -4480,12 +4480,12 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4480
4480
  className: `${s}__swatch`,
4481
4481
  style: { backgroundColor: c(n, t.color, t.paletteIndex) }
4482
4482
  }), t.label)));
4483
- }, qn = (e) => typeof e == "number" ? `${e}rem` : typeof e == "string" && e.endsWith("%") ? e : `${ut[`SPACING_${e.toUpperCase()}`]}rem`, Jn = ({ className: t, colorType: n = "regular", isAnimated: r = !0, shape: i = "rounded", size: a, textIsJustified: o, textLineCount: s = 1, textSize: c = "m", ...l }) => {
4483
+ }, Jn = (e) => typeof e == "number" ? `${e}rem` : typeof e == "string" && e.endsWith("%") ? e : `${ut[`SPACING_${e.toUpperCase()}`]}rem`, Yn = ({ className: t, colorType: n = "regular", isAnimated: r = !0, shape: i = "rounded", size: a, textIsJustified: o, textLineCount: s = 1, textSize: c = "m", ...l }) => {
4484
4484
  let u = "pds-skeleton", d = `${u}--${i}`, f = r ? `pds-pulse pds-pulse--${n}` : `${u}--${n}`, p = [
4485
4485
  "text-block",
4486
4486
  "code-block",
4487
4487
  "code-block-prefix"
4488
- ], m = a?.height ? qn(a.height) : "1rem", h = a?.width ? qn(a.width) : "100%", g = {
4488
+ ], m = a?.height ? Jn(a.height) : "1rem", h = a?.width ? Jn(a.width) : "100%", g = {
4489
4489
  height: m,
4490
4490
  width: h
4491
4491
  };
@@ -4557,13 +4557,13 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4557
4557
  }
4558
4558
  }))));
4559
4559
  return p.includes(i) ? w : _;
4560
- }, Yn = () => /* @__PURE__ */ e.createElement("div", { className: "pds-chart__skeleton-legend pds-chart__skeleton-legend--table" }, /* @__PURE__ */ e.createElement(Jn, {
4560
+ }, Xn = () => /* @__PURE__ */ e.createElement("div", { className: "pds-chart__skeleton-legend pds-chart__skeleton-legend--table" }, /* @__PURE__ */ e.createElement(Yn, {
4561
4561
  shape: "rounded",
4562
4562
  size: {
4563
4563
  height: 4,
4564
4564
  width: "100%"
4565
4565
  }
4566
- })), Xn = ({ borderRadius: t, height: n, legendAlignment: r = "center", legendVariant: i = "inline", showLegend: a = !0 }) => /* @__PURE__ */ e.createElement("div", { className: "pds-chart__skeleton" }, /* @__PURE__ */ e.createElement("div", {
4566
+ })), Zn = ({ borderRadius: t, height: n, legendAlignment: r = "center", legendVariant: i = "inline", showLegend: a = !0 }) => /* @__PURE__ */ e.createElement("div", { className: "pds-chart__skeleton" }, /* @__PURE__ */ e.createElement("div", {
4567
4567
  className: "pds-chart__skeleton-area",
4568
4568
  style: { height: n }
4569
4569
  }, t ? /* @__PURE__ */ e.createElement("div", { style: {
@@ -4571,41 +4571,41 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4571
4571
  height: "100%",
4572
4572
  overflow: "hidden",
4573
4573
  width: "100%"
4574
- } }, /* @__PURE__ */ e.createElement(Jn, {
4574
+ } }, /* @__PURE__ */ e.createElement(Yn, {
4575
4575
  shape: "rectangular",
4576
4576
  size: {
4577
4577
  height: "100%",
4578
4578
  width: "100%"
4579
4579
  }
4580
- })) : /* @__PURE__ */ e.createElement(Jn, {
4580
+ })) : /* @__PURE__ */ e.createElement(Yn, {
4581
4581
  shape: "rounded",
4582
4582
  size: {
4583
4583
  height: "100%",
4584
4584
  width: "100%"
4585
4585
  }
4586
- })), a && (i === "table" ? /* @__PURE__ */ e.createElement(Yn, null) : /* @__PURE__ */ e.createElement("div", { className: `pds-chart__skeleton-legend pds-chart__skeleton-legend--inline${r === "left" ? "-left" : ""}` }, /* @__PURE__ */ e.createElement(Jn, {
4586
+ })), a && (i === "table" ? /* @__PURE__ */ e.createElement(Xn, null) : /* @__PURE__ */ e.createElement("div", { className: `pds-chart__skeleton-legend pds-chart__skeleton-legend--inline${r === "left" ? "-left" : ""}` }, /* @__PURE__ */ e.createElement(Yn, {
4587
4587
  shape: "rounded",
4588
4588
  size: {
4589
4589
  height: .75,
4590
4590
  width: 5
4591
4591
  }
4592
- }), /* @__PURE__ */ e.createElement(Jn, {
4592
+ }), /* @__PURE__ */ e.createElement(Yn, {
4593
4593
  shape: "rounded",
4594
4594
  size: {
4595
4595
  height: .75,
4596
4596
  width: 5
4597
4597
  }
4598
- }), /* @__PURE__ */ e.createElement(Jn, {
4598
+ }), /* @__PURE__ */ e.createElement(Yn, {
4599
4599
  shape: "rounded",
4600
4600
  size: {
4601
4601
  height: .75,
4602
4602
  width: 5
4603
4603
  }
4604
- })))), Zn = (e) => {
4604
+ })))), Qn = (e) => {
4605
4605
  let t = Math.abs(e);
4606
4606
  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);
4607
- }, Qn = ({ barRadius: t = 2, chartHeight: n, chartWidth: r, className: i, colorPalette: a = "categorical", data: o = [], isLoading: c = !1, isThumbnail: u = !1, labelStrings: d = {}, 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 = Zn, yAxisLabel: I, yAxisTickInterval: R, ...H }) => {
4608
- let { accessibleTableDescription: U = "Bar chart data", emptyStateHeading: W = "No data available", emptyStateMessage: G, legendTableHeader: K, loadingLabel: q = "Loading chart data" } = d, re = m(null), ie = In(a, Hn(re, a)), ae = n ?? (u ? 60 : 360), Y = r ?? (u ? 60 : void 0), oe = x ?? !u, X = b ?? !u, se = T ?? !u, ce = D ?? !u, le = y ?? !0, [ue, de] = h(null), fe = m(ue);
4607
+ }, $n = ({ barRadius: t = 2, chartHeight: n, chartWidth: r, className: i, colorPalette: a = "categorical", data: o = [], isLoading: c = !1, isThumbnail: u = !1, labelStrings: d = {}, 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 = Qn, yAxisLabel: I, yAxisTickInterval: R, ...H }) => {
4608
+ let { accessibleTableDescription: U = "Bar chart data", emptyStateHeading: W = "No data available", emptyStateMessage: G, legendTableHeader: K, loadingLabel: q = "Loading chart data" } = d, re = m(null), ie = Ln(a, Un(re, a)), ae = n ?? (u ? 60 : 360), Y = r ?? (u ? 60 : void 0), oe = x ?? !u, X = b ?? !u, se = T ?? !u, ce = D ?? !u, le = y ?? !0, [ue, de] = h(null), fe = m(ue);
4609
4609
  ue && (fe.current = ue);
4610
4610
  let pe = m({ getBoundingClientRect: () => ({
4611
4611
  bottom: 0,
@@ -4663,7 +4663,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4663
4663
  ]),
4664
4664
  style: { maxWidth: Y },
4665
4665
  ...H
4666
- }, /* @__PURE__ */ e.createElement(Xn, {
4666
+ }, /* @__PURE__ */ e.createElement(Zn, {
4667
4667
  height: ae,
4668
4668
  legendVariant: p,
4669
4669
  showLegend: se
@@ -4680,7 +4680,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4680
4680
  maxWidth: Y
4681
4681
  },
4682
4682
  ...H
4683
- }, /* @__PURE__ */ e.createElement(jn, {
4683
+ }, /* @__PURE__ */ e.createElement(Mn, {
4684
4684
  heading: W,
4685
4685
  message: G
4686
4686
  }));
@@ -4700,7 +4700,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4700
4700
  className: Z([be, i ?? ""]),
4701
4701
  style: Y ? { maxWidth: Y } : void 0,
4702
4702
  ...H
4703
- }, !u && O && O.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${be}__header` }, /* @__PURE__ */ e.createElement(Pn, {
4703
+ }, !u && O && O.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${be}__header` }, /* @__PURE__ */ e.createElement(Fn, {
4704
4704
  autoWidth: !0,
4705
4705
  id: `${be}-time-period`,
4706
4706
  label: "Time period",
@@ -4744,12 +4744,12 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4744
4744
  hide: !X,
4745
4745
  interval: N,
4746
4746
  label: M && X ? {
4747
- ...Wn,
4747
+ ...Gn,
4748
4748
  offset: -15,
4749
4749
  position: "insideBottom",
4750
4750
  value: M
4751
4751
  } : void 0,
4752
- tick: X ? Un : !1,
4752
+ tick: X ? Wn : !1,
4753
4753
  tickFormatter: we ? F : void 0,
4754
4754
  tickLine: !1,
4755
4755
  tickMargin: 10,
@@ -4761,13 +4761,13 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4761
4761
  hide: !X,
4762
4762
  interval: R,
4763
4763
  label: I && X ? {
4764
- ...Wn,
4764
+ ...Gn,
4765
4765
  angle: -90,
4766
4766
  dx: -44,
4767
4767
  position: "center",
4768
4768
  value: I
4769
4769
  } : void 0,
4770
- tick: X ? Un : !1,
4770
+ tick: X ? Wn : !1,
4771
4771
  tickFormatter: we ? void 0 : F,
4772
4772
  tickLine: !1,
4773
4773
  tickMargin: 6,
@@ -4786,12 +4786,12 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4786
4786
  }), v.map((t, n) => /* @__PURE__ */ e.createElement(z, {
4787
4787
  key: t.dataKey,
4788
4788
  dataKey: t.dataKey,
4789
- fill: Bn(n, ie, t.color, Ln(a, t.paletteIndex)),
4789
+ fill: Vn(n, ie, t.color, Rn(a, t.paletteIndex)),
4790
4790
  name: t.label,
4791
4791
  onMouseEnter: k ? void 0 : (e) => {
4792
4792
  let r = e;
4793
4793
  ce && r && de({
4794
- color: Bn(n, ie, t.color, Ln(a, t.paletteIndex)),
4794
+ color: Vn(n, ie, t.color, Rn(a, t.paletteIndex)),
4795
4795
  label: String(r.label ?? ""),
4796
4796
  name: t.label,
4797
4797
  value: Number(r[t.dataKey] ?? 0)
@@ -4813,26 +4813,26 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4813
4813
  }, /* @__PURE__ */ e.createElement("p", { className: "recharts-tooltip-label" }, fe.current.label), /* @__PURE__ */ e.createElement("p", { className: "recharts-tooltip-item" }, /* @__PURE__ */ e.createElement("span", {
4814
4814
  className: "recharts-tooltip-item__color",
4815
4815
  style: { backgroundColor: fe.current.color }
4816
- }), /* @__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(Kn, {
4816
+ }), /* @__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(qn, {
4817
4817
  data: o,
4818
4818
  series: v,
4819
4819
  seriesColors: ie,
4820
4820
  tableHeader: K,
4821
4821
  valueFormatter: F,
4822
4822
  variant: p
4823
- }), le && /* @__PURE__ */ e.createElement(Gn, {
4823
+ }), le && /* @__PURE__ */ e.createElement(Kn, {
4824
4824
  data: o,
4825
4825
  description: U,
4826
4826
  series: v,
4827
4827
  valueFormatter: F
4828
4828
  }));
4829
- }, $n = (e) => {
4829
+ }, er = (e) => {
4830
4830
  switch (e) {
4831
4831
  case "dashed": return "8 4";
4832
4832
  default: return;
4833
4833
  }
4834
- }, er = ({ 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 = Zn, yAxisLabel: k, yAxisTickInterval: A, ...j }) => {
4835
- 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 = In(a, Hn(L, a)), z = n ?? (c ? 60 : 360), B = r ?? (c ? 60 : void 0), H = b ?? !c, G = v ?? !c, K = x ?? !c, re = S ?? !c, ie = y ?? !c, ae = _ ?? !0, Y = "pds-line-chart";
4834
+ }, tr = ({ 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 = Qn, yAxisLabel: k, yAxisTickInterval: A, ...j }) => {
4835
+ 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 = Ln(a, Un(L, a)), z = n ?? (c ? 60 : 360), B = r ?? (c ? 60 : void 0), H = b ?? !c, G = v ?? !c, K = x ?? !c, re = S ?? !c, ie = y ?? !c, ae = _ ?? !0, Y = "pds-line-chart";
4836
4836
  return s ? /* @__PURE__ */ e.createElement("div", {
4837
4837
  ref: L,
4838
4838
  "aria-busy": "true",
@@ -4844,7 +4844,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4844
4844
  ]),
4845
4845
  style: { maxWidth: B },
4846
4846
  ...j
4847
- }, /* @__PURE__ */ e.createElement(Xn, {
4847
+ }, /* @__PURE__ */ e.createElement(Zn, {
4848
4848
  height: z,
4849
4849
  legendVariant: u,
4850
4850
  showLegend: K
@@ -4860,7 +4860,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4860
4860
  maxWidth: B
4861
4861
  },
4862
4862
  ...j
4863
- }, /* @__PURE__ */ e.createElement(jn, {
4863
+ }, /* @__PURE__ */ e.createElement(Mn, {
4864
4864
  heading: N,
4865
4865
  message: P
4866
4866
  })) : /* @__PURE__ */ e.createElement("div", {
@@ -4868,7 +4868,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4868
4868
  className: Z([Y, i ?? ""]),
4869
4869
  style: B ? { maxWidth: B } : void 0,
4870
4870
  ...j
4871
- }, !c && C && C.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${Y}__header` }, /* @__PURE__ */ e.createElement(Pn, {
4871
+ }, !c && C && C.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${Y}__header` }, /* @__PURE__ */ e.createElement(Fn, {
4872
4872
  autoWidth: !0,
4873
4873
  id: `${Y}-time-period`,
4874
4874
  label: "Time period",
@@ -4904,12 +4904,12 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4904
4904
  hide: !G,
4905
4905
  interval: E,
4906
4906
  label: T && G ? {
4907
- ...Wn,
4907
+ ...Gn,
4908
4908
  offset: -15,
4909
4909
  position: "insideBottom",
4910
4910
  value: T
4911
4911
  } : void 0,
4912
- tick: G ? Un : !1,
4912
+ tick: G ? Wn : !1,
4913
4913
  tickLine: !1,
4914
4914
  tickMargin: 10
4915
4915
  }), /* @__PURE__ */ e.createElement(ne, {
@@ -4918,13 +4918,13 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4918
4918
  hide: !G,
4919
4919
  interval: A,
4920
4920
  label: k && G ? {
4921
- ...Wn,
4921
+ ...Gn,
4922
4922
  angle: -90,
4923
4923
  dx: -44,
4924
4924
  position: "center",
4925
4925
  value: k
4926
4926
  } : void 0,
4927
- tick: G ? Un : !1,
4927
+ tick: G ? Wn : !1,
4928
4928
  tickFormatter: O,
4929
4929
  tickLine: !1,
4930
4930
  tickMargin: 6
@@ -4951,13 +4951,13 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4951
4951
  activeDot: ie ? { r: 6 } : !1,
4952
4952
  dataKey: t.dataKey,
4953
4953
  dot: ie ? {
4954
- fill: Bn(n, R, t.color, Ln(a, t.paletteIndex)),
4954
+ fill: Vn(n, R, t.color, Rn(a, t.paletteIndex)),
4955
4955
  r: 4,
4956
4956
  strokeWidth: 0
4957
4957
  } : !1,
4958
4958
  name: t.label,
4959
- stroke: Bn(n, R, t.color, Ln(a, t.paletteIndex)),
4960
- strokeDasharray: $n(t.strokeStyle),
4959
+ stroke: Vn(n, R, t.color, Rn(a, t.paletteIndex)),
4960
+ strokeDasharray: er(t.strokeStyle),
4961
4961
  strokeWidth: 2,
4962
4962
  type: d === "straight" ? "linear" : "monotone"
4963
4963
  })), !c && p?.map((t, n) => {
@@ -4977,7 +4977,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4977
4977
  }, t.label.toUpperCase());
4978
4978
  },
4979
4979
  stroke: r,
4980
- strokeDasharray: $n(t.strokeStyle ?? "dashed"),
4980
+ strokeDasharray: er(t.strokeStyle ?? "dashed"),
4981
4981
  y: t.value
4982
4982
  });
4983
4983
  }), !c && t?.map((t, n) => {
@@ -4997,24 +4997,24 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4997
4997
  }, t.text.toUpperCase());
4998
4998
  },
4999
4999
  stroke: r,
5000
- strokeDasharray: $n(t.strokeStyle ?? "dashed"),
5000
+ strokeDasharray: er(t.strokeStyle ?? "dashed"),
5001
5001
  x: t.atLabel
5002
5002
  });
5003
- })))), K && /* @__PURE__ */ e.createElement(Kn, {
5003
+ })))), K && /* @__PURE__ */ e.createElement(qn, {
5004
5004
  data: o,
5005
5005
  series: g,
5006
5006
  seriesColors: R,
5007
5007
  tableHeader: F,
5008
5008
  valueFormatter: O,
5009
5009
  variant: u
5010
- }), ae && /* @__PURE__ */ e.createElement(Gn, {
5010
+ }), ae && /* @__PURE__ */ e.createElement(Kn, {
5011
5011
  data: o,
5012
5012
  description: M,
5013
5013
  series: g,
5014
5014
  valueFormatter: O
5015
5015
  }));
5016
- }, tr = (e, t) => `(${t > 0 ? Math.round(e / t * 100) : 0}%)`, nr = ({ 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 = tr, variant: h = "pie", ...g }) => {
5017
- let { accessibleTableDescription: _ = "Pie chart data", emptyStateHeading: v = "No data available", emptyStateMessage: y, loadingLabel: b = "Loading chart data" } = c, x = m(null), S = In(i, Hn(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) => Bn(e, S, t.color, Ln(i, t.paletteIndex));
5016
+ }, nr = (e, t) => `(${t > 0 ? Math.round(e / t * 100) : 0}%)`, rr = ({ 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 = nr, variant: h = "pie", ...g }) => {
5017
+ let { accessibleTableDescription: _ = "Pie chart data", emptyStateHeading: v = "No data available", emptyStateMessage: y, loadingLabel: b = "Loading chart data" } = c, x = m(null), S = Ln(i, Un(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) => Vn(e, S, t.color, Rn(i, t.paletteIndex));
5018
5018
  if (o) {
5019
5019
  let t = `${Math.round(w * .8)}px`;
5020
5020
  return /* @__PURE__ */ e.createElement("div", {
@@ -5031,25 +5031,25 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
5031
5031
  }, /* @__PURE__ */ e.createElement("div", { className: `${C}__skeleton` }, /* @__PURE__ */ e.createElement("div", {
5032
5032
  className: `${C}__skeleton-chart`,
5033
5033
  style: { height: w }
5034
- }, /* @__PURE__ */ e.createElement(Jn, {
5034
+ }, /* @__PURE__ */ e.createElement(Yn, {
5035
5035
  shape: "circular",
5036
5036
  style: {
5037
5037
  height: t,
5038
5038
  width: t
5039
5039
  }
5040
- })), E && /* @__PURE__ */ e.createElement("div", { className: "pds-chart__skeleton-legend pds-chart__skeleton-legend--inline" }, /* @__PURE__ */ e.createElement(Jn, {
5040
+ })), E && /* @__PURE__ */ e.createElement("div", { className: "pds-chart__skeleton-legend pds-chart__skeleton-legend--inline" }, /* @__PURE__ */ e.createElement(Yn, {
5041
5041
  shape: "rounded",
5042
5042
  size: {
5043
5043
  height: .75,
5044
5044
  width: 5
5045
5045
  }
5046
- }), /* @__PURE__ */ e.createElement(Jn, {
5046
+ }), /* @__PURE__ */ e.createElement(Yn, {
5047
5047
  shape: "rounded",
5048
5048
  size: {
5049
5049
  height: .75,
5050
5050
  width: 5
5051
5051
  }
5052
- }), /* @__PURE__ */ e.createElement(Jn, {
5052
+ }), /* @__PURE__ */ e.createElement(Yn, {
5053
5053
  shape: "rounded",
5054
5054
  size: {
5055
5055
  height: .75,
@@ -5069,7 +5069,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
5069
5069
  maxWidth: T
5070
5070
  },
5071
5071
  ...g
5072
- }, /* @__PURE__ */ e.createElement(jn, {
5072
+ }, /* @__PURE__ */ e.createElement(Mn, {
5073
5073
  heading: v,
5074
5074
  message: y
5075
5075
  }));
@@ -5136,8 +5136,8 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
5136
5136
  let n = O > 0 ? Math.round(t.value / O * 100) : 0;
5137
5137
  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, "%"));
5138
5138
  }))));
5139
- }, rr = (e, t) => `(${t > 0 ? Math.round(e / t * 100) : 0}%)`, ir = ({ barHeight: t = 16, chartWidth: n, className: r, colorPalette: i = "categorical", data: a = [], isLoading: o = !1, isThumbnail: c = !1, labelStrings: u = {}, legendAlignment: d = "left", showAccessibleTable: f = !0, showLegend: p, showTooltip: g, valueFormatter: _ = rr, ...v }) => {
5140
- let { accessibleTableDescription: y = "Proportion bar data", emptyStateHeading: b = "No data available", emptyStateMessage: x, loadingLabel: T = "Loading chart data" } = u, D = m(null), O = In(i, Hn(D, i)), k = "pds-proportion-bar", j = n ?? (c ? 200 : void 0), M = p ?? !c, N = g ?? !c, P = a.reduce((e, t) => e + t.value, 0), F = (e, t) => Bn(e, O, t.color, Ln(i, t.paletteIndex)), [I, R] = h(null), z = m(I);
5139
+ }, ir = (e, t) => `(${t > 0 ? Math.round(e / t * 100) : 0}%)`, ar = ({ barHeight: t = 16, chartWidth: n, className: r, colorPalette: i = "categorical", data: a = [], isLoading: o = !1, isThumbnail: c = !1, labelStrings: u = {}, legendAlignment: d = "left", showAccessibleTable: f = !0, showLegend: p, showTooltip: g, valueFormatter: _ = ir, ...v }) => {
5140
+ let { accessibleTableDescription: y = "Proportion bar data", emptyStateHeading: b = "No data available", emptyStateMessage: x, loadingLabel: T = "Loading chart data" } = u, D = m(null), O = Ln(i, Un(D, i)), k = "pds-proportion-bar", j = n ?? (c ? 200 : void 0), M = p ?? !c, N = g ?? !c, P = a.reduce((e, t) => e + t.value, 0), F = (e, t) => Vn(e, O, t.color, Rn(i, t.paletteIndex)), [I, R] = h(null), z = m(I);
5141
5141
  I && (z.current = I);
5142
5142
  let B = m({ getBoundingClientRect: () => ({
5143
5143
  bottom: 0,
@@ -5192,7 +5192,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
5192
5192
  ]),
5193
5193
  style: j ? { maxWidth: j } : void 0,
5194
5194
  ...v
5195
- }, /* @__PURE__ */ e.createElement(Xn, {
5195
+ }, /* @__PURE__ */ e.createElement(Zn, {
5196
5196
  borderRadius: "var(--pds-border-radius-bar)",
5197
5197
  height: t,
5198
5198
  legendAlignment: d,
@@ -5205,7 +5205,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
5205
5205
  r ?? ""
5206
5206
  ]),
5207
5207
  ...v
5208
- }, /* @__PURE__ */ e.createElement(jn, {
5208
+ }, /* @__PURE__ */ e.createElement(Mn, {
5209
5209
  heading: b,
5210
5210
  message: x
5211
5211
  })) : /* @__PURE__ */ e.createElement("div", {
@@ -5265,7 +5265,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
5265
5265
  let n = P > 0 ? Math.round(t.value / P * 100) : 0;
5266
5266
  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, "%"));
5267
5267
  }))));
5268
- }, ar = /* @__PURE__ */ Fe((/* @__PURE__ */ Ne(((e, t) => {
5268
+ }, or = /* @__PURE__ */ Fe((/* @__PURE__ */ Ne(((e, t) => {
5269
5269
  var n = function(e) {
5270
5270
  var t = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, n = 0, r = {}, i = {
5271
5271
  manual: e.Prism && e.Prism.manual,
@@ -6227,7 +6227,7 @@ Prism.languages.markup = {
6227
6227
  })(Prism);
6228
6228
  //#endregion
6229
6229
  //#region src/components/CodeBlock/themes/pds.ts
6230
- var or = {
6230
+ var sr = {
6231
6231
  plain: {
6232
6232
  color: "var(--pds-color-code-block-foreground)",
6233
6233
  backgroundColor: "var(--pds-color-code-block-background)"
@@ -6303,10 +6303,10 @@ var or = {
6303
6303
  style: { color: "var(--pds-color-code-block-syntax-inserted)" }
6304
6304
  }
6305
6305
  ]
6306
- }, sr = ({ className: t, code: n, copyButtonLabel: r = "Copy to clipboard", hasCopyButton: i, hasLineNumbers: a, hasPrompt: o, height: s, isLoading: c, language: l, loadingLineCount: u = 1, maxHeight: d, promptSymbol: f = "$", renderAsLegacy: p = !1, shouldWrap: m = !1, ...h }) => {
6306
+ }, cr = ({ className: t, code: n, copyButtonLabel: r = "Copy to clipboard", hasCopyButton: i, hasLineNumbers: a, hasPrompt: o, height: s, isLoading: c, language: l, loadingLineCount: u = 1, maxHeight: d, promptSymbol: f = "$", renderAsLegacy: p = !1, shouldWrap: m = !1, ...h }) => {
6307
6307
  let g = "pds-code-block", _ = m ? `${g}__line-wrapped` : "", v = {};
6308
6308
  s && (v.height = `${s}rem`), d && (v.maxHeight = `${d}rem`);
6309
- let y = /* @__PURE__ */ e.createElement("div", { className: `${g}__code` }, /* @__PURE__ */ e.createElement(Jn, {
6309
+ let y = /* @__PURE__ */ e.createElement("div", { className: `${g}__code` }, /* @__PURE__ */ e.createElement(Yn, {
6310
6310
  className: `${g}__skeleton`,
6311
6311
  colorType: "bold",
6312
6312
  shape: a || o ? "code-block-prefix" : "code-block",
@@ -6341,7 +6341,7 @@ var or = {
6341
6341
  }, a || o ? a ? /* @__PURE__ */ e.createElement(e.Fragment, null, x(n)) : /* @__PURE__ */ e.createElement(e.Fragment, null, S(n)) : /* @__PURE__ */ e.createElement("div", {
6342
6342
  className: `${g}__content`,
6343
6343
  dangerouslySetInnerHTML: { __html: n }
6344
- })), i && /* @__PURE__ */ e.createElement("div", { className: `${g}__copy` }, /* @__PURE__ */ e.createElement(Jt, {
6344
+ })), i && /* @__PURE__ */ e.createElement("div", { className: `${g}__copy` }, /* @__PURE__ */ e.createElement(Yt, {
6345
6345
  ariaLabel: r,
6346
6346
  clipboardText: s,
6347
6347
  variant: "reverse"
@@ -6355,21 +6355,21 @@ var or = {
6355
6355
  }, c ? y : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(re, {
6356
6356
  code: n,
6357
6357
  language: l || "",
6358
- prism: ar.default,
6359
- theme: or
6358
+ prism: or.default,
6359
+ theme: sr
6360
6360
  }, /* @__PURE__ */ e.createElement(re.Code, {
6361
6361
  className: `${g}__code`,
6362
6362
  tabIndex: 0
6363
- }, a || o ? a ? w : T : C)), i && /* @__PURE__ */ e.createElement("div", { className: `${g}__copy` }, /* @__PURE__ */ e.createElement(Jt, {
6363
+ }, a || o ? a ? w : T : C)), i && /* @__PURE__ */ e.createElement("div", { className: `${g}__copy` }, /* @__PURE__ */ e.createElement(Yt, {
6364
6364
  ariaLabel: r,
6365
6365
  clipboardText: n,
6366
6366
  variant: "reverse"
6367
6367
  }))));
6368
- }, cr = {
6368
+ }, lr = {
6369
6369
  addon: "circlePlus",
6370
6370
  included: "circleCheck",
6371
6371
  notIncluded: "xmark"
6372
- }, lr = ({ className: t, listItems: n, listLabel: r, moreLink: i, renderTypeLabels: a = !0, showBorder: o = !1, size: s = "s", typeLabels: c = {
6372
+ }, ur = ({ className: t, listItems: n, listLabel: r, moreLink: i, renderTypeLabels: a = !0, showBorder: o = !1, size: s = "s", typeLabels: c = {
6373
6373
  addon: "Add-on",
6374
6374
  included: "Included",
6375
6375
  notIncluded: "Not included"
@@ -6388,10 +6388,10 @@ var or = {
6388
6388
  className: `${u}__list-item ${u}__list-item--${t.type}`
6389
6389
  }, /* @__PURE__ */ e.createElement("div", { className: `${u}__item-icon-wrapper` }, /* @__PURE__ */ e.createElement(Q, {
6390
6390
  className: `${u}__item-icon`,
6391
- iconName: cr[t.type],
6391
+ iconName: lr[t.type],
6392
6392
  size: s
6393
6393
  })), a && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, c[t.type], ":", " "), t.text))), i && /* @__PURE__ */ e.createElement("div", { className: `${u}__more-link` }, i));
6394
- }, ur = ({ className: t, platform: n, videoId: r, videoTitle: i, ...a }) => {
6394
+ }, dr = ({ className: t, platform: n, videoId: r, videoTitle: i, ...a }) => {
6395
6395
  let o = /* @__PURE__ */ e.createElement("iframe", {
6396
6396
  allow: "autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media",
6397
6397
  src: `https://fast.wistia.net/embed/iframe/${r}`,
@@ -6422,7 +6422,7 @@ var or = {
6422
6422
  className: Z(["pds-video-embed", t ?? ""]),
6423
6423
  ...a
6424
6424
  }, l);
6425
- }, dr = ({ alignment: t = "center", className: n, ctaRegion: r, heading: i, headingLevel: a = "h1", image: o, imageMarginLeft: s = "0", imageWidth: c = "40%", isWithinPanel: l, maxWidth: u = "1200px", message: d, video: f, ...p }) => {
6425
+ }, fr = ({ alignment: t = "center", className: n, ctaRegion: r, heading: i, headingLevel: a = "h1", image: o, imageMarginLeft: s = "0", imageWidth: c = "40%", isWithinPanel: l, maxWidth: u = "1200px", message: d, video: f, ...p }) => {
6426
6426
  let m = "pds-horizontal-empty-state", h = `${m}--${t}`, g = l ? `${m}--panel` : null, _ = f ? `${m}--video` : null, v = {
6427
6427
  marginInlineStart: s,
6428
6428
  width: c
@@ -6437,7 +6437,7 @@ var or = {
6437
6437
  ]),
6438
6438
  style: { maxWidth: u },
6439
6439
  ...p
6440
- }, /* @__PURE__ */ e.createElement("div", { className: `${m}__content` }, /* @__PURE__ */ e.createElement(Ht, {
6440
+ }, /* @__PURE__ */ e.createElement("div", { className: `${m}__content` }, /* @__PURE__ */ e.createElement(Ut, {
6441
6441
  baseClass: m,
6442
6442
  className: `${l ? "pds-ts-2xl" : "pds-ts-4xl"} pds-fw-bold`,
6443
6443
  level: a
@@ -6448,11 +6448,11 @@ var or = {
6448
6448
  alt: "",
6449
6449
  className: `${m}__image`,
6450
6450
  src: o
6451
- }) : o), f && /* @__PURE__ */ e.createElement("div", { className: `${m}__media ${m}__media--video` }, /* @__PURE__ */ e.createElement(ur, {
6451
+ }) : o), f && /* @__PURE__ */ e.createElement("div", { className: `${m}__media ${m}__media--video` }, /* @__PURE__ */ e.createElement(dr, {
6452
6452
  platform: f.platform,
6453
6453
  videoId: f.videoId
6454
6454
  })));
6455
- }, fr = ({ className: t, ctaRegion: n, heading: r, headingLevel: i = "h2", image: a, imageHeight: o = "120", imageWidth: s = "auto", message: c, ...l }) => {
6455
+ }, pr = ({ className: t, ctaRegion: n, heading: r, headingLevel: i = "h2", image: a, imageHeight: o = "120", imageWidth: s = "auto", message: c, ...l }) => {
6456
6456
  let u = "pds-vertical-empty-state";
6457
6457
  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", {
6458
6458
  className: Z([u, t ?? ""]),
@@ -6463,11 +6463,11 @@ var or = {
6463
6463
  height: o,
6464
6464
  src: a,
6465
6465
  width: s
6466
- }), /* @__PURE__ */ e.createElement("div", { className: `${u}__text` }, /* @__PURE__ */ e.createElement(Ht, {
6466
+ }), /* @__PURE__ */ e.createElement("div", { className: `${u}__text` }, /* @__PURE__ */ e.createElement(Ut, {
6467
6467
  baseClass: u,
6468
6468
  level: i
6469
6469
  }, r), c && c), n && /* @__PURE__ */ e.createElement("div", { className: `${u}__cta` }, n));
6470
- }, pr = ({ additions: t = 4, className: n, componentWidth: r, deletions: i = 2, translationStrings: a = {
6470
+ }, mr = ({ additions: t = 4, className: n, componentWidth: r, deletions: i = 2, translationStrings: a = {
6471
6471
  linesChanged: "lines changed",
6472
6472
  additions: "additions",
6473
6473
  deletions: "deletions"
@@ -6477,7 +6477,7 @@ var or = {
6477
6477
  className: Z([s, n ?? ""]),
6478
6478
  style: { width: d },
6479
6479
  ...o
6480
- }, /* @__PURE__ */ e.createElement("div", { className: `${s}__total-changes` }, /* @__PURE__ */ e.createElement(bt, {
6480
+ }, /* @__PURE__ */ e.createElement("div", { className: `${s}__total-changes` }, /* @__PURE__ */ e.createElement(xt, {
6481
6481
  className: `${s}__tooltip`,
6482
6482
  content: `${c} ${a.linesChanged}`,
6483
6483
  customTrigger: /* @__PURE__ */ e.createElement("div", { className: `${s}__total-changes-number` }, c, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, ` ${a.linesChanged}`)),
@@ -6485,7 +6485,7 @@ var or = {
6485
6485
  })), /* @__PURE__ */ e.createElement("div", { className: `${s}__bars` }, /* @__PURE__ */ e.createElement("div", {
6486
6486
  className: `${s}__behind`,
6487
6487
  style: { width: `${l}%` }
6488
- }, /* @__PURE__ */ e.createElement(bt, {
6488
+ }, /* @__PURE__ */ e.createElement(xt, {
6489
6489
  className: `${s}__tooltip`,
6490
6490
  content: `${i} ${a.deletions}`,
6491
6491
  customTrigger: /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement("div", { className: `${s}__behind-bar` })),
@@ -6493,13 +6493,13 @@ var or = {
6493
6493
  })), /* @__PURE__ */ e.createElement("div", {
6494
6494
  className: `${s}__ahead`,
6495
6495
  style: { width: `${u}%` }
6496
- }, /* @__PURE__ */ e.createElement(bt, {
6496
+ }, /* @__PURE__ */ e.createElement(xt, {
6497
6497
  className: `${s}__tooltip`,
6498
6498
  content: `${t} ${a.additions}`,
6499
6499
  customTrigger: /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement("div", { className: `${s}__ahead-bar` })),
6500
6500
  preferredPlacement: "top"
6501
6501
  }))));
6502
- }, mr = {
6502
+ }, hr = {
6503
6503
  amex: /* @__PURE__ */ e.createElement("svg", {
6504
6504
  fill: "none",
6505
6505
  height: "42",
@@ -6717,7 +6717,7 @@ var or = {
6717
6717
  height: "42",
6718
6718
  width: "70"
6719
6719
  }))))
6720
- }, hr = ({ className: t, paymentType: n, size: r = "2xl", ...i }) => {
6720
+ }, gr = ({ className: t, paymentType: n, size: r = "2xl", ...i }) => {
6721
6721
  let a = "pds-payment-icon", o = `${a}--${r}`;
6722
6722
  return /* @__PURE__ */ e.createElement("div", {
6723
6723
  className: Z([
@@ -6726,8 +6726,8 @@ var or = {
6726
6726
  t ?? ""
6727
6727
  ]),
6728
6728
  ...i
6729
- }, mr[n]);
6730
- }, gr = ({ avatarProps: t, className: n, isSidebarCollapsed: r, isSingleLine: i, primaryText: a, secondaryText: o, ...c }) => {
6729
+ }, hr[n]);
6730
+ }, _r = ({ avatarProps: t, className: n, isSidebarCollapsed: r, isSingleLine: i, primaryText: a, secondaryText: o, ...c }) => {
6731
6731
  let u = "pds-identity-block", d = r ? `${u}--collapsed` : null, f = i ? `${u}--single-line` : null, p = t ? {
6732
6732
  ...t,
6733
6733
  size: i ? "s" : "m"
@@ -6753,7 +6753,7 @@ var or = {
6753
6753
  n ?? ""
6754
6754
  ]),
6755
6755
  ...c
6756
- }, T && (r && w ? /* @__PURE__ */ e.createElement(bt, {
6756
+ }, T && (r && w ? /* @__PURE__ */ e.createElement(xt, {
6757
6757
  content: w,
6758
6758
  customTrigger: T,
6759
6759
  preferredPlacement: "right"
@@ -6766,7 +6766,7 @@ var or = {
6766
6766
  className: `${u}__secondary-text`,
6767
6767
  title: x ? o : void 0
6768
6768
  }, o)));
6769
- }, _r = a(({ checked: t, className: n, defaultChecked: r, disabled: i, id: a, indeterminate: o, inputProps: c, inputWidth: l, label: u, message: d, name: f, nestingLevel: p = 0, onBlur: m, onChange: g, onFocus: _, required: v, showLabel: y = !0, size: b = "s", validationMessage: x, validationStatus: S, value: C, ...w }, T) => {
6769
+ }, vr = a(({ checked: t, className: n, defaultChecked: r, disabled: i, id: a, indeterminate: o, inputProps: c, inputWidth: l, label: u, message: d, name: f, nestingLevel: p = 0, onBlur: m, onChange: g, onFocus: _, required: v, showLabel: y = !0, size: b = "s", validationMessage: x, validationStatus: S, value: C, ...w }, T) => {
6770
6770
  let E = l ? { width: `${l / 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" ? null : `${D}--${b}`, 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) => {
6771
6771
  F || L(e.target.checked), g && g(e);
6772
6772
  }, B = `${D}__box`, V = o ? null : R ? `${B}--checked` : null, H = o ? `${B}--indeterminate` : null, U = s(() => {
@@ -6831,14 +6831,14 @@ var or = {
6831
6831
  B,
6832
6832
  V,
6833
6833
  H
6834
- ]) }, /* @__PURE__ */ e.createElement(U, null)), /* @__PURE__ */ e.createElement("div", { className: Z([`${D}__label-text`, y ? "" : "visually-hidden"]) }, u, " ", v && !i && /* @__PURE__ */ e.createElement(Ct, null)))), P && /* @__PURE__ */ e.createElement(Tt, {
6834
+ ]) }, /* @__PURE__ */ e.createElement(U, null)), /* @__PURE__ */ e.createElement("div", { className: Z([`${D}__label-text`, y ? "" : "visually-hidden"]) }, u, " ", v && !i && /* @__PURE__ */ e.createElement(wt, null)))), P && /* @__PURE__ */ e.createElement(Et, {
6835
6835
  validationMessageHasDecorators: !0,
6836
6836
  hasValidationMessage: !!x,
6837
6837
  id: a,
6838
6838
  message: P,
6839
6839
  validationStatus: S
6840
6840
  }));
6841
- }), vr = ({ 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 }) => {
6841
+ }), yr = ({ 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 }) => {
6842
6842
  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;
6843
6843
  return /* @__PURE__ */ e.createElement("div", {
6844
6844
  className: Z([
@@ -6855,7 +6855,7 @@ var or = {
6855
6855
  className: `${g}__fieldset`,
6856
6856
  id: a,
6857
6857
  ...i
6858
- }, /* @__PURE__ */ e.createElement(wt, {
6858
+ }, /* @__PURE__ */ e.createElement(Tt, {
6859
6859
  isLegend: !0,
6860
6860
  disabled: r,
6861
6861
  id: a,
@@ -6863,14 +6863,14 @@ var or = {
6863
6863
  required: l,
6864
6864
  showLabel: u,
6865
6865
  tooltipText: d
6866
- }), /* @__PURE__ */ e.createElement("div", { className: `${g}__options` }, t)), x && /* @__PURE__ */ e.createElement(Tt, {
6866
+ }), /* @__PURE__ */ e.createElement("div", { className: `${g}__options` }, t)), x && /* @__PURE__ */ e.createElement(Et, {
6867
6867
  validationMessageHasDecorators: !0,
6868
6868
  hasValidationMessage: !!f,
6869
6869
  id: a,
6870
6870
  message: x,
6871
6871
  validationStatus: p
6872
6872
  }));
6873
- }, yr = ({ 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, ..._ }) => {
6873
+ }, br = ({ 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, ..._ }) => {
6874
6874
  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;
6875
6875
  u.map((e) => {
6876
6876
  e.id || (e.id = e.value);
@@ -6906,7 +6906,7 @@ var or = {
6906
6906
  className: `${y}__fieldset`,
6907
6907
  id: i,
6908
6908
  ...r
6909
- }, /* @__PURE__ */ e.createElement(wt, {
6909
+ }, /* @__PURE__ */ e.createElement(Tt, {
6910
6910
  isLegend: !0,
6911
6911
  disabled: n,
6912
6912
  id: i,
@@ -6914,7 +6914,7 @@ var or = {
6914
6914
  required: d,
6915
6915
  showLabel: f,
6916
6916
  tooltipText: p
6917
- }), /* @__PURE__ */ e.createElement("div", { className: `${y}__options` }, u.map((t) => /* @__PURE__ */ e.createElement(_r, {
6917
+ }), /* @__PURE__ */ e.createElement("div", { className: `${y}__options` }, u.map((t) => /* @__PURE__ */ e.createElement(vr, {
6918
6918
  key: t.id,
6919
6919
  checked: t.checked,
6920
6920
  className: `${y}__checkbox`,
@@ -6925,20 +6925,20 @@ var or = {
6925
6925
  onBlur: k,
6926
6926
  onChange: O,
6927
6927
  value: t.value
6928
- })))), w && /* @__PURE__ */ e.createElement(Tt, {
6928
+ })))), w && /* @__PURE__ */ e.createElement(Et, {
6929
6929
  validationMessageHasDecorators: !0,
6930
6930
  hasValidationMessage: !!m,
6931
6931
  id: i,
6932
6932
  message: w,
6933
6933
  validationStatus: g
6934
6934
  }));
6935
- }, br = a(({ className: t, defaultValue: n, disabled: r = !1, hasClearButton: i = !0, hasDropdownTrigger: a = !1, hasSearchIcon: o = !0, hasSearchShortcut: c = !1, id: u, inputWidth: d, isLoading: f = !1, label: g, labelStrings: _ = {
6935
+ }, xr = a(({ className: t, defaultValue: n, disabled: r = !1, hasClearButton: i = !0, hasDropdownTrigger: a = !1, hasSearchIcon: o = !0, hasSearchShortcut: c = !1, id: u, inputWidth: d, isLoading: f = !1, label: g, labelStrings: _ = {
6936
6936
  clearButton: "Clear input text",
6937
6937
  inputInstructions: "Type to search options",
6938
6938
  searchShortcut: "Press / to focus the search field",
6939
6939
  triggerButton: "Toggle dropdown menu"
6940
6940
  }, loadingText: v = "Loading results...", message: y, noResultsText: b = "No results found", onBlur: x, onChange: T, onClear: E, onFocus: O, onOptionSelect: k, options: j, placeholder: M, required: N = !1, showLabel: P = !0, showUnfilteredOptions: F = !1, size: I = "s", tooltipText: R = null, validationMessage: z, validationStatus: B, value: V, ...H }, U) => {
6941
- let W = xt(d), G = "pds-combobox", K = I === "s" ? null : `${G}--${I}`, q = r ? $.disabled : null, J = N && !r ? $.required : null, ee = B === "error" ? $.error : null, te = B === "success" ? $.success : null, ne = null;
6941
+ let W = St(d), G = "pds-combobox", K = I === "s" ? null : `${G}--${I}`, q = r ? $.disabled : null, J = N && !r ? $.required : null, ee = B === "error" ? $.error : null, te = B === "success" ? $.success : null, ne = null;
6942
6942
  o && (ne = "search"), B === "error" && (ne = "error"), B === "success" && (ne = "success");
6943
6943
  let re = z || y, ae = V !== void 0, Y = n !== void 0, oe = (e) => {
6944
6944
  let t = j.find((t) => t.value === e);
@@ -7037,7 +7037,7 @@ var or = {
7037
7037
  x?.(X);
7038
7038
  }, ke = (e) => {
7039
7039
  F && ve(), O?.(X);
7040
- }, Ae = () => fe.map((t, n) => /* @__PURE__ */ e.createElement(Nt, {
7040
+ }, Ae = () => fe.map((t, n) => /* @__PURE__ */ e.createElement(Pt, {
7041
7041
  key: t.value,
7042
7042
  className: ge === n ? "pds-dropdown__item--focused" : "",
7043
7043
  ...me({
@@ -7058,7 +7058,7 @@ var or = {
7058
7058
  ]),
7059
7059
  style: d ? W : null,
7060
7060
  ...H
7061
- }, /* @__PURE__ */ e.createElement(wt, {
7061
+ }, /* @__PURE__ */ e.createElement(Tt, {
7062
7062
  disabled: r,
7063
7063
  id: `input-${u}`,
7064
7064
  label: g,
@@ -7073,7 +7073,7 @@ var or = {
7073
7073
  "aria-required": N ? !0 : null,
7074
7074
  className: `${G}__input-wrapper`,
7075
7075
  id: u
7076
- }, ne && /* @__PURE__ */ e.createElement(Dt, { variant: ne }), /* @__PURE__ */ e.createElement("input", {
7076
+ }, ne && /* @__PURE__ */ e.createElement(Ot, { variant: ne }), /* @__PURE__ */ e.createElement("input", {
7077
7077
  ref: ue,
7078
7078
  autoComplete: "off",
7079
7079
  className: `${G}__input`,
@@ -7088,11 +7088,11 @@ var or = {
7088
7088
  },
7089
7089
  onFocus: ke
7090
7090
  })
7091
- }), ce && i && /* @__PURE__ */ e.createElement(kt, {
7091
+ }), ce && i && /* @__PURE__ */ e.createElement(At, {
7092
7092
  clearLabel: _.clearButton,
7093
7093
  handleClearInput: De,
7094
7094
  id: `input-${u}`
7095
- }), c && !ce && /* @__PURE__ */ e.createElement(Ot, {
7095
+ }), c && !ce && /* @__PURE__ */ e.createElement(kt, {
7096
7096
  inputId: `input-${u}`,
7097
7097
  shortcutLabel: _.searchShortcut
7098
7098
  }), a && /* @__PURE__ */ e.createElement("button", {
@@ -7118,20 +7118,20 @@ var or = {
7118
7118
  className: `${G}__options`,
7119
7119
  ...he(),
7120
7120
  style: Ce && !f && fe.length > 0 ? void 0 : { display: "none" }
7121
- }, Ce && !f && Ae())), re && /* @__PURE__ */ e.createElement(Tt, {
7121
+ }, Ce && !f && Ae())), re && /* @__PURE__ */ e.createElement(Et, {
7122
7122
  hasValidationMessage: !!z,
7123
7123
  id: u,
7124
7124
  message: re,
7125
7125
  validationMessageHasDecorators: !1,
7126
7126
  validationStatus: B
7127
7127
  }));
7128
- }), xr = (e, t, n) => {
7128
+ }), Sr = (e, t, n) => {
7129
7129
  let r = n.toLowerCase();
7130
7130
  return e.filter((e) => e.label.toLowerCase().includes(r)).map((e) => ({
7131
7131
  ...e,
7132
7132
  isAlreadySelected: t.some((t) => t.id === e.id)
7133
7133
  })).sort((e, t) => e.badge && !t.badge ? -1 : !e.badge && t.badge ? 1 : 0);
7134
- }, Sr = ({ aiSuggestions: t, className: n, disabled: r = !1, id: i, initialSelectedItems: a = [], inputWidth: o, isLoading: s = !1, label: c = "Lorem ipsum dolor sit:", labelStrings: l = {
7134
+ }, Cr = ({ aiSuggestions: t, className: n, disabled: r = !1, id: i, initialSelectedItems: a = [], inputWidth: o, isLoading: s = !1, label: c = "Lorem ipsum dolor sit:", labelStrings: l = {
7135
7135
  aiBadgeLabel: "Suggested",
7136
7136
  aiPanelButton: "Show AI suggestions",
7137
7137
  aiPanelClose: "Close suggestions panel",
@@ -7139,7 +7139,7 @@ var or = {
7139
7139
  inputInstructions: "Type to search options",
7140
7140
  triggerButton: "Toggle dropdown menu"
7141
7141
  }, loadingText: u = "Loading results...", noResultsText: d = "No results found", onChange: f, options: g, placeholder: _ = "Filter", required: v = !1, showAllTags: y = !1, showLabel: b = !0, size: x = "s", ...T }) => {
7142
- let E = xt(o), O = "pds-combobox-multi", j = x === "s" ? null : `${O}--${x}`, M = r ? $.disabled : null, N = v && !r ? $.required : null, F = y ? `${O}--show-all-tags` : null, [I, L] = h(""), [R, z] = h(a), [B, V] = h(null), [H, U] = h(!1), W = p(() => xr(g, R, I), [
7142
+ let E = St(o), O = "pds-combobox-multi", j = x === "s" ? null : `${O}--${x}`, M = r ? $.disabled : null, N = v && !r ? $.required : null, F = y ? `${O}--show-all-tags` : null, [I, L] = h(""), [R, z] = h(a), [B, V] = h(null), [H, U] = h(!1), W = p(() => Sr(g, R, I), [
7143
7143
  g,
7144
7144
  R,
7145
7145
  I
@@ -7268,7 +7268,7 @@ var or = {
7268
7268
  ]),
7269
7269
  style: o ? E : null,
7270
7270
  ...T
7271
- }, /* @__PURE__ */ e.createElement(wt, {
7271
+ }, /* @__PURE__ */ e.createElement(Tt, {
7272
7272
  disabled: r,
7273
7273
  id: i,
7274
7274
  label: c,
@@ -7337,7 +7337,7 @@ var or = {
7337
7337
  ...ue,
7338
7338
  zIndex: "var(--pds-z-index-dropdown)"
7339
7339
  } : { display: "none" }
7340
- }, /* @__PURE__ */ e.createElement("div", { className: `${O}__dropdown-input-wrapper` }, /* @__PURE__ */ e.createElement(Dt, { variant: "search" }), /* @__PURE__ */ e.createElement("input", {
7340
+ }, /* @__PURE__ */ e.createElement("div", { className: `${O}__dropdown-input-wrapper` }, /* @__PURE__ */ e.createElement(Ot, { variant: "search" }), /* @__PURE__ */ e.createElement("input", {
7341
7341
  "aria-label": l.inputInstructions,
7342
7342
  className: `${O}__dropdown-input`,
7343
7343
  placeholder: _,
@@ -7349,7 +7349,7 @@ var or = {
7349
7349
  className: `${O}__dropdown-list`,
7350
7350
  ...Y(),
7351
7351
  style: se && !s && W.length > 0 ? void 0 : { display: "none" }
7352
- }, se && !s && W.map((t, n) => /* @__PURE__ */ e.createElement(Nt, {
7352
+ }, se && !s && W.map((t, n) => /* @__PURE__ */ e.createElement(Pt, {
7353
7353
  key: `${t.id}-${n}`,
7354
7354
  className: `${O}__dropdown-item
7355
7355
  ${X === n ? "pds-dropdown__item--focused" : ""}
@@ -7362,7 +7362,7 @@ var or = {
7362
7362
  }, /* @__PURE__ */ e.createElement("span", { className: `${O}__dropdown-item-label` }, /* @__PURE__ */ e.createElement("span", { className: `${O}__dropdown-item-text` }, t.label, t.badge === "ai" && /* @__PURE__ */ e.createElement("span", { className: `${O}__dropdown-item-badge` }, /* @__PURE__ */ e.createElement(Q, {
7363
7363
  iconName: "sparkles",
7364
7364
  size: "s"
7365
- }), /* @__PURE__ */ e.createElement("span", null, l.aiBadgeLabel))), t.isAlreadySelected && /* @__PURE__ */ e.createElement(Mn, null)))))), H && t && /* @__PURE__ */ e.createElement("div", {
7365
+ }), /* @__PURE__ */ e.createElement("span", null, l.aiBadgeLabel))), t.isAlreadySelected && /* @__PURE__ */ e.createElement(Nn, null)))))), H && t && /* @__PURE__ */ e.createElement("div", {
7366
7366
  ref: me.setFloating,
7367
7367
  className: `${O}__aux-panel`,
7368
7368
  style: {
@@ -7398,7 +7398,7 @@ var or = {
7398
7398
  iconName: "xmark",
7399
7399
  size: "m"
7400
7400
  })))));
7401
- }, Cr = (e, t) => e ? Y(e, "PP", { locale: t }) : "", wr = (e) => {
7401
+ }, wr = (e, t) => e ? Y(e, "PP", { locale: t }) : "", Tr = (e) => {
7402
7402
  if (e.custom) return e.custom();
7403
7403
  let t = /* @__PURE__ */ new Date();
7404
7404
  if (t.setHours(0, 0, 0, 0), e.days !== void 0) {
@@ -7451,7 +7451,7 @@ var or = {
7451
7451
  to: t
7452
7452
  };
7453
7453
  }
7454
- }, Tr = {
7454
+ }, Er = {
7455
7455
  clearButton: "Clear",
7456
7456
  doneButton: "Done",
7457
7457
  noDateSelected: "No date selected",
@@ -7462,11 +7462,11 @@ var or = {
7462
7462
  selectedDateRange: "Selected date range: ",
7463
7463
  to: " to ",
7464
7464
  todayButton: "Today"
7465
- }, Er = ({ className: t, disabled: n = !1, hasDateRange: r, id: i, inputWidth: a, label: o, locale: s, maxDate: c, message: u, minDate: d, onChange: f, placeholder: p, required: m = !1, showLabel: g = !0, tooltipText: _, translationStrings: v, validationMessage: y, validationStatus: b, value: x, ...T }) => {
7465
+ }, Dr = ({ className: t, disabled: n = !1, hasDateRange: r, id: i, inputWidth: a, label: o, locale: s, maxDate: c, message: u, minDate: d, onChange: f, placeholder: p, required: m = !1, showLabel: g = !0, tooltipText: _, translationStrings: v, validationMessage: y, validationStatus: b, value: x, ...T }) => {
7466
7466
  let D = {
7467
- ...Tr,
7467
+ ...Er,
7468
7468
  ...v
7469
- }, [O, k] = h(x), [j, M] = h(!1), [N, P] = h(null), [F, I] = h(r ? x?.from : x), L = xt(a), R = "pds-datepicker", z = n ? $.disabled : null, B = m && !n ? $.required : null, V = b === "error" ? $.error : null, H = b === "success" ? $.success : null, U = y || u, { floatingStyles: W, refs: G } = A({
7469
+ }, [O, k] = h(x), [j, M] = h(!1), [N, P] = h(null), [F, I] = h(r ? x?.from : x), L = St(a), R = "pds-datepicker", z = n ? $.disabled : null, B = m && !n ? $.required : null, V = b === "error" ? $.error : null, H = b === "success" ? $.success : null, U = y || u, { floatingStyles: W, refs: G } = A({
7470
7470
  open: j,
7471
7471
  onOpenChange: M,
7472
7472
  placement: "bottom-start",
@@ -7505,18 +7505,18 @@ var or = {
7505
7505
  }, se = () => {
7506
7506
  if (r) {
7507
7507
  let t = O;
7508
- return t?.from ? t.to ? /* @__PURE__ */ e.createElement(e.Fragment, null, Cr(t.from, s), /* @__PURE__ */ e.createElement("span", { className: `${R}__separator` }, " – "), Cr(t.to, s)) : Cr(t.from, s) : p || "";
7508
+ return t?.from ? t.to ? /* @__PURE__ */ e.createElement(e.Fragment, null, wr(t.from, s), /* @__PURE__ */ e.createElement("span", { className: `${R}__separator` }, " – "), wr(t.to, s)) : wr(t.from, s) : p || "";
7509
7509
  } else {
7510
7510
  let e = O;
7511
- return e ? Cr(e, s) : p || "";
7511
+ return e ? wr(e, s) : p || "";
7512
7512
  }
7513
7513
  }, ce = () => r ? !O?.from : !O, le = () => {
7514
7514
  if (r) {
7515
7515
  let e = O;
7516
- return e?.from ? e.to ? `${D.selectedDateRange}${Cr(e.from, s)}${D.to}${Cr(e.to, s)}` : `${D.selectedStartDate}${Cr(e.from, s)}${D.pleaseSelectEndDate}` : D.noDateRangeSelected || "";
7516
+ return e?.from ? e.to ? `${D.selectedDateRange}${wr(e.from, s)}${D.to}${wr(e.to, s)}` : `${D.selectedStartDate}${wr(e.from, s)}${D.pleaseSelectEndDate}` : D.noDateRangeSelected || "";
7517
7517
  } else {
7518
7518
  let e = O;
7519
- return e ? `${D.selectedDate}${Cr(e, s)}` : D.noDateSelected || "";
7519
+ return e ? `${D.selectedDate}${wr(e, s)}` : D.noDateSelected || "";
7520
7520
  }
7521
7521
  }, ue = (e) => {
7522
7522
  G.floating.current && !G.floating.current.contains(e.target) && N && !N.contains(e.target) && M(!1);
@@ -7537,7 +7537,7 @@ var or = {
7537
7537
  ]),
7538
7538
  style: a ? L : null,
7539
7539
  ...T
7540
- }, /* @__PURE__ */ e.createElement(wt, {
7540
+ }, /* @__PURE__ */ e.createElement(Tt, {
7541
7541
  disabled: n,
7542
7542
  id: i,
7543
7543
  label: o,
@@ -7561,7 +7561,7 @@ var or = {
7561
7561
  }, /* @__PURE__ */ e.createElement(Q, {
7562
7562
  className: `${R}__trigger-icon`,
7563
7563
  iconName: "calendarDays"
7564
- }), /* @__PURE__ */ e.createElement("span", { className: Z([`${R}__trigger-text`, ce() ? `${R}__trigger-text--placeholder` : null]) }, se()))), U && /* @__PURE__ */ e.createElement(Tt, {
7564
+ }), /* @__PURE__ */ e.createElement("span", { className: Z([`${R}__trigger-text`, ce() ? `${R}__trigger-text--placeholder` : null]) }, se()))), U && /* @__PURE__ */ e.createElement(Et, {
7565
7565
  hasValidationMessage: !!y,
7566
7566
  id: i,
7567
7567
  message: U,
@@ -7596,21 +7596,21 @@ var or = {
7596
7596
  onMonthChange: I,
7597
7597
  onSelect: J,
7598
7598
  selected: O
7599
- })), /* @__PURE__ */ e.createElement("div", { className: `${R}__actions` }, /* @__PURE__ */ e.createElement(Wt, {
7599
+ })), /* @__PURE__ */ e.createElement("div", { className: `${R}__actions` }, /* @__PURE__ */ e.createElement(Gt, {
7600
7600
  className: `${R}__action-button ${R}__action-button--today`,
7601
7601
  label: D.todayButton,
7602
7602
  onClick: ne,
7603
7603
  size: "s",
7604
7604
  type: "button",
7605
7605
  variant: "secondary"
7606
- }), /* @__PURE__ */ e.createElement("div", { className: `${R}__actions-group` }, /* @__PURE__ */ e.createElement(Wt, {
7606
+ }), /* @__PURE__ */ e.createElement("div", { className: `${R}__actions-group` }, /* @__PURE__ */ e.createElement(Gt, {
7607
7607
  className: `${R}__action-button ${R}__action-button--clear`,
7608
7608
  label: D.clearButton,
7609
7609
  onClick: ee,
7610
7610
  size: "s",
7611
7611
  type: "button",
7612
7612
  variant: "secondary"
7613
- }), r && /* @__PURE__ */ e.createElement(Wt, {
7613
+ }), r && /* @__PURE__ */ e.createElement(Gt, {
7614
7614
  className: `${R}__action-button ${R}__action-button--done`,
7615
7615
  label: D.doneButton,
7616
7616
  onClick: te,
@@ -7618,11 +7618,11 @@ var or = {
7618
7618
  type: "button",
7619
7619
  variant: "highlight"
7620
7620
  })))));
7621
- }, Dr = a(({ accept: t, className: n, defaultValue: r, disabled: i = !1, fieldLabel: a, id: o, inputProps: s, inputWidth: c, labelStrings: u = {
7621
+ }, Or = a(({ accept: t, className: n, defaultValue: r, disabled: i = !1, fieldLabel: a, id: o, inputProps: s, inputWidth: c, labelStrings: u = {
7622
7622
  chooseFile: "Choose file",
7623
7623
  clearButton: "Clear selected file"
7624
7624
  }, message: d, multiple: f = !1, onClear: p, onFileChange: m, required: g = !1, showFullPath: _, showLabel: v = !0, size: y = "s", tooltipText: b = null, validationMessage: x, validationStatus: S, ...C }, w) => {
7625
- let [T, E] = h(!1), [D, O] = h(!!(X && r)), k = xt(c), A = "pds-file-upload", j = y === "s" ? null : `${A}--${y}`, M = i ? $.disabled : null, N = g && !i ? $.required : null, P = S === "error" ? $.error : null, F = S === "success" ? $.success : null, I = D ? `${A}--safari-default` : null, L = null;
7625
+ let [T, E] = h(!1), [D, O] = h(!!(X && r)), k = St(c), A = "pds-file-upload", j = y === "s" ? null : `${A}--${y}`, M = i ? $.disabled : null, N = g && !i ? $.required : null, P = S === "error" ? $.error : null, F = S === "success" ? $.success : null, I = D ? `${A}--safari-default` : null, L = null;
7626
7626
  S === "error" && (L = "error"), S === "success" && (L = "success");
7627
7627
  let R = x || d, z = r ? [r] : null, B = r ? r.split("/").pop() : null, V = _ ? r : B, H = r ? new File(z, V) : null;
7628
7628
  l(() => {
@@ -7661,7 +7661,7 @@ var or = {
7661
7661
  ]),
7662
7662
  style: c ? k : null,
7663
7663
  ...C
7664
- }, /* @__PURE__ */ e.createElement(wt, {
7664
+ }, /* @__PURE__ */ e.createElement(Tt, {
7665
7665
  isPseudoLabel: !0,
7666
7666
  disabled: i,
7667
7667
  id: o,
@@ -7672,7 +7672,7 @@ var or = {
7672
7672
  }), /* @__PURE__ */ e.createElement("span", {
7673
7673
  className: `${A}__input-wrapper`,
7674
7674
  id: o
7675
- }, L && /* @__PURE__ */ e.createElement(Dt, { variant: L }), /* @__PURE__ */ e.createElement("label", {
7675
+ }, L && /* @__PURE__ */ e.createElement(Ot, { variant: L }), /* @__PURE__ */ e.createElement("label", {
7676
7676
  className: T ? "visually-hidden" : `${A}__input-label`,
7677
7677
  htmlFor: `${o}--input`
7678
7678
  }, /* @__PURE__ */ e.createElement(Q, {
@@ -7691,18 +7691,18 @@ var or = {
7691
7691
  required: g,
7692
7692
  type: "file",
7693
7693
  ...s
7694
- }), T && /* @__PURE__ */ e.createElement(kt, {
7694
+ }), T && /* @__PURE__ */ e.createElement(At, {
7695
7695
  clearLabel: u.clearButton,
7696
7696
  handleClearInput: G,
7697
7697
  id: o
7698
- })), R && /* @__PURE__ */ e.createElement(Tt, {
7698
+ })), R && /* @__PURE__ */ e.createElement(Et, {
7699
7699
  hasValidationMessage: !!x,
7700
7700
  id: o,
7701
7701
  message: R,
7702
7702
  validationMessageHasDecorators: !1,
7703
7703
  validationStatus: S
7704
7704
  }));
7705
- }), Or = ({ children: t, className: n, ...r }) => {
7705
+ }), kr = ({ children: t, className: n, ...r }) => {
7706
7706
  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;
7707
7707
  return /* @__PURE__ */ e.createElement("div", {
7708
7708
  className: Z([
@@ -7711,7 +7711,7 @@ var or = {
7711
7711
  n ?? ""
7712
7712
  ]),
7713
7713
  ...r
7714
- }, /* @__PURE__ */ e.createElement("div", { className: `${i}__inner` }, a), u && /* @__PURE__ */ e.createElement(Tt, {
7714
+ }, /* @__PURE__ */ e.createElement("div", { className: `${i}__inner` }, a), u && /* @__PURE__ */ e.createElement(Et, {
7715
7715
  forInputGroup: !0,
7716
7716
  hasValidationMessage: !!c,
7717
7717
  id: o,
@@ -7719,7 +7719,7 @@ var or = {
7719
7719
  validationMessageHasDecorators: !1,
7720
7720
  validationStatus: l
7721
7721
  }));
7722
- }, kr = ({ 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 }) => {
7722
+ }, Ar = ({ 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 }) => {
7723
7723
  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) => {
7724
7724
  E || O(e.target.value), u && u(e), d && d(e.target.value);
7725
7725
  }, j = (e) => {
@@ -7734,13 +7734,13 @@ var or = {
7734
7734
  T,
7735
7735
  t ?? ""
7736
7736
  ]),
7737
- style: xt(o),
7737
+ style: St(o),
7738
7738
  ...b
7739
7739
  }, /* @__PURE__ */ e.createElement("fieldset", {
7740
7740
  className: `${x}__fieldset`,
7741
7741
  id: a,
7742
7742
  ...i
7743
- }, /* @__PURE__ */ e.createElement(wt, {
7743
+ }, /* @__PURE__ */ e.createElement(Tt, {
7744
7744
  isLegend: !0,
7745
7745
  disabled: r,
7746
7746
  id: a,
@@ -7761,15 +7761,15 @@ var or = {
7761
7761
  required: p,
7762
7762
  type: "radio",
7763
7763
  value: t.value
7764
- }), /* @__PURE__ */ e.createElement("label", { htmlFor: t.id ? t.id : `${a}-option-${n}` }, t.label))))), k && /* @__PURE__ */ e.createElement(Tt, {
7764
+ }), /* @__PURE__ */ e.createElement("label", { htmlFor: t.id ? t.id : `${a}-option-${n}` }, t.label))))), k && /* @__PURE__ */ e.createElement(Et, {
7765
7765
  validationMessageHasDecorators: !0,
7766
7766
  hasValidationMessage: !!_,
7767
7767
  id: a,
7768
7768
  message: k,
7769
7769
  validationStatus: v
7770
7770
  }));
7771
- }, Ar = a(({ checked: t, className: n, defaultChecked: r, disabled: i = !1, id: a, inputProps: o, inputWidth: s, label: c, message: l, onChange: u, required: d = !1, showLabel: f = !0, switchPlacement: p = "right", ...m }, g) => {
7772
- let _ = xt(s), v = "pds-switch", y = `${v}--${p}`, b = l ? `${v}--message` : null, x = i ? $.disabled : null, S = d && !i ? $.required : null, C = t !== void 0, [w, T] = h(!C && r ? r : !1), E = (e) => {
7771
+ }, jr = a(({ checked: t, className: n, defaultChecked: r, disabled: i = !1, id: a, inputProps: o, inputWidth: s, label: c, message: l, onChange: u, required: d = !1, showLabel: f = !0, switchPlacement: p = "right", ...m }, g) => {
7772
+ let _ = St(s), v = "pds-switch", y = `${v}--${p}`, b = l ? `${v}--message` : null, x = i ? $.disabled : null, S = d && !i ? $.required : null, C = t !== void 0, [w, T] = h(!C && r ? r : !1), E = (e) => {
7773
7773
  C || T(e.target.checked), u && u(e);
7774
7774
  }, D = () => {
7775
7775
  i || document.getElementById(a)?.click();
@@ -7790,7 +7790,7 @@ var or = {
7790
7790
  "aria-hidden": "true",
7791
7791
  className: `${v}__track`,
7792
7792
  onClick: D
7793
- }, /* @__PURE__ */ e.createElement("span", { className: `${v}__thumb` })))), k = l ? /* @__PURE__ */ e.createElement(Tt, {
7793
+ }, /* @__PURE__ */ e.createElement("span", { className: `${v}__thumb` })))), k = l ? /* @__PURE__ */ e.createElement(Et, {
7794
7794
  className: "pds-input-message--switch",
7795
7795
  hasValidationMessage: !1,
7796
7796
  id: a,
@@ -7809,7 +7809,7 @@ var or = {
7809
7809
  ]),
7810
7810
  style: s ? _ : null,
7811
7811
  ...m
7812
- }, /* @__PURE__ */ e.createElement(wt, {
7812
+ }, /* @__PURE__ */ e.createElement(Tt, {
7813
7813
  className: `${v}__label`,
7814
7814
  disabled: i,
7815
7815
  id: a,
@@ -7817,7 +7817,7 @@ var or = {
7817
7817
  required: d,
7818
7818
  showLabel: f
7819
7819
  }), /* @__PURE__ */ e.createElement("div", { className: `${v}__content` }, k, O));
7820
- }), jr = ({ disabled: t, dropTargetDirection: n, focusedIndex: r, index: i, isDragging: a, isSortable: o, onDragEnd: s, onDragOver: c, onDragStart: u, onFocusInput: d, onKeyboardMove: f, onRemove: p, setFocusedIndex: h, tag: g, totalTags: _, translationStrings: v }) => {
7820
+ }), Mr = ({ disabled: t, dropTargetDirection: n, focusedIndex: r, index: i, isDragging: a, isSortable: o, onDragEnd: s, onDragOver: c, onDragStart: u, onFocusInput: d, onKeyboardMove: f, onRemove: p, setFocusedIndex: h, tag: g, totalTags: _, translationStrings: v }) => {
7821
7821
  let y = m(null), b = "pds-tags-input__tag";
7822
7822
  l(() => {
7823
7823
  r === i && y.current && y.current.focus();
@@ -7883,14 +7883,14 @@ var or = {
7883
7883
  iconName: "xmark",
7884
7884
  size: "s"
7885
7885
  })));
7886
- }, Mr = a(({ addMorePlaceholder: t = "Add another", className: n, disabled: r = !1, id: i, inputMinHeight: a, inputWidth: o, isSortable: s = !1, label: c, message: l, onChange: u, placeholder: d, required: f = !1, showLabel: p = !0, size: g = "s", tags: _, tooltipText: v = null, translationStrings: y = {
7886
+ }, Nr = a(({ addMorePlaceholder: t = "Add another", className: n, disabled: r = !1, id: i, inputMinHeight: a, inputWidth: o, isSortable: s = !1, label: c, message: l, onChange: u, placeholder: d, required: f = !1, showLabel: p = !0, size: g = "s", tags: _, tooltipText: v = null, translationStrings: y = {
7887
7887
  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.",
7888
7888
  tagAriaLabel: "tag {index} of {total}. Press Shift plus arrow keys to reorder, Delete to remove.",
7889
7889
  tagAriaLabelSimple: "tag {index} of {total}. Press Delete to remove.",
7890
7890
  tagRemove: "Remove {value}",
7891
7891
  tagsListLabel: "Current tags"
7892
7892
  }, validationMessage: b, validationStatus: x, ...S }, C) => {
7893
- let w = xt(o), T = "pds-tags-input", E = g === "s" ? null : `${T}--${g}`, D = r ? $.disabled : null, O = f && !r ? $.required : null, k = x === "error" ? $.error : null, A = x === "success" ? $.success : null, j = b || l, [M, N] = h(""), [P, F] = h(null), [I, L] = h(null), [R, z] = h(null), [B, V] = h(null), [H, U] = h(""), W = m(null), G = _.length > 0 ? t : d, K = (e) => {
7893
+ let w = St(o), T = "pds-tags-input", E = g === "s" ? null : `${T}--${g}`, D = r ? $.disabled : null, O = f && !r ? $.required : null, k = x === "error" ? $.error : null, A = x === "success" ? $.success : null, j = b || l, [M, N] = h(""), [P, F] = h(null), [I, L] = h(null), [R, z] = h(null), [B, V] = h(null), [H, U] = h(""), W = m(null), G = _.length > 0 ? t : d, K = (e) => {
7894
7894
  U(e), setTimeout(() => U(""), 1e3);
7895
7895
  }, q = (e) => {
7896
7896
  u(e);
@@ -7942,7 +7942,7 @@ var or = {
7942
7942
  ]),
7943
7943
  style: o ? w : null,
7944
7944
  ...S
7945
- }, /* @__PURE__ */ e.createElement(wt, {
7945
+ }, /* @__PURE__ */ e.createElement(Tt, {
7946
7946
  disabled: r,
7947
7947
  id: i,
7948
7948
  label: c,
@@ -7969,7 +7969,7 @@ var or = {
7969
7969
  return P && P !== t.id && (I === t.id && R === "before" ? i = "before" : I === t.id && R === "after" && n === _.length - 1 ? i = "after" : n > 0 && I === _[n - 1].id && R === "after" && (i = "before")), /* @__PURE__ */ e.createElement("div", {
7970
7970
  key: t.id,
7971
7971
  role: "listitem"
7972
- }, /* @__PURE__ */ e.createElement(jr, {
7972
+ }, /* @__PURE__ */ e.createElement(Mr, {
7973
7973
  disabled: r,
7974
7974
  dropTargetDirection: i,
7975
7975
  focusedIndex: B,
@@ -8006,14 +8006,14 @@ var or = {
8006
8006
  }), /* @__PURE__ */ e.createElement("div", {
8007
8007
  className: "visually-hidden",
8008
8008
  id: `${i}__instructions`
8009
- }, y.inputInstructions)), j && /* @__PURE__ */ e.createElement(Tt, {
8009
+ }, y.inputInstructions)), j && /* @__PURE__ */ e.createElement(Et, {
8010
8010
  hasValidationMessage: !!b,
8011
8011
  id: i,
8012
8012
  message: j,
8013
8013
  validationMessageHasDecorators: !1,
8014
8014
  validationStatus: x
8015
8015
  }));
8016
- }), Nr = a(({ 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, size: y = "s", textareaProps: b, tooltipText: x = null, translationStrings: S = {
8016
+ }), Pr = a(({ 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, size: y = "s", textareaProps: b, tooltipText: x = null, translationStrings: S = {
8017
8017
  clearButton: "Clear input text",
8018
8018
  counterOverLimit: "Character limit exceeded by",
8019
8019
  searchShortcut: "Press / to focus the search field",
@@ -8021,7 +8021,7 @@ var or = {
8021
8021
  visibilityToggleHide: "Hide input value",
8022
8022
  visibilityToggleShow: "Show input value"
8023
8023
  }, validationMessage: C, validationStatus: w, value: T, ...E }, D) => {
8024
- let O = xt(o), k = "pds-textarea", A = s ? "pds-is-resizable" : null, j = i ? $.disabled : null, M = g && !i ? $.required : null, N = w === "error" ? $.error : null, P = w === "success" ? $.success : null, F = y === "s" ? null : `${k}--${y}`, I = m ? $.readonly : null, L = C || l, R = T != null && d !== void 0, [z, B] = h(r === void 0 ? "" : r), V = T || z, H = (e) => {
8024
+ let O = St(o), k = "pds-textarea", A = s ? "pds-is-resizable" : null, j = i ? $.disabled : null, M = g && !i ? $.required : null, N = w === "error" ? $.error : null, P = w === "success" ? $.success : null, F = y === "s" ? null : `${k}--${y}`, I = m ? $.readonly : null, L = C || l, R = T != null && d !== void 0, [z, B] = h(r === void 0 ? "" : r), V = T || z, H = (e) => {
8025
8025
  R || B(e.target.value), d && d(e);
8026
8026
  }, U = (e) => {
8027
8027
  u && u(e);
@@ -8040,7 +8040,7 @@ var or = {
8040
8040
  ]),
8041
8041
  style: o ? O : null,
8042
8042
  ...E
8043
- }, /* @__PURE__ */ e.createElement("div", { className: `${k}__inputlabel-wrapper` }, /* @__PURE__ */ e.createElement(wt, {
8043
+ }, /* @__PURE__ */ e.createElement("div", { className: `${k}__inputlabel-wrapper` }, /* @__PURE__ */ e.createElement(Tt, {
8044
8044
  className: `${k}__inputlabel`,
8045
8045
  disabled: i,
8046
8046
  id: a,
@@ -8048,7 +8048,7 @@ var or = {
8048
8048
  required: g,
8049
8049
  showLabel: v,
8050
8050
  tooltipText: x
8051
- }), n && /* @__PURE__ */ e.createElement(At, {
8051
+ }), n && /* @__PURE__ */ e.createElement(jt, {
8052
8052
  currentLength: V.length,
8053
8053
  id: a,
8054
8054
  maxLength: n,
@@ -8070,14 +8070,14 @@ var or = {
8070
8070
  rows: _,
8071
8071
  value: R ? T : z,
8072
8072
  ...b
8073
- })), L && /* @__PURE__ */ e.createElement(Tt, {
8073
+ })), L && /* @__PURE__ */ e.createElement(Et, {
8074
8074
  validationMessageHasDecorators: !0,
8075
8075
  hasValidationMessage: !!C,
8076
8076
  id: a,
8077
8077
  message: L,
8078
8078
  validationStatus: w
8079
8079
  }));
8080
- }), Pr = () => /* @__PURE__ */ e.createElement("div", { className: "pds-text-input__url-prefix" }, "https://"), Fr = a(({ 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, size: T = "s", tooltipText: E = null, translationStrings: D = {
8080
+ }), Fr = () => /* @__PURE__ */ e.createElement("div", { className: "pds-text-input__url-prefix" }, "https://"), Ir = a(({ 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, size: T = "s", tooltipText: E = null, translationStrings: D = {
8081
8081
  clearButton: "Clear input text",
8082
8082
  counterOverLimit: "Character limit exceeded by",
8083
8083
  searchShortcut: "Press / to focus the search field",
@@ -8085,11 +8085,11 @@ var or = {
8085
8085
  visibilityToggleHide: "Hide input value",
8086
8086
  visibilityToggleShow: "Show input value"
8087
8087
  }, type: O = "text", validationMessage: k, validationStatus: A, value: j, ...M }, N) => {
8088
- let P = xt(d), F = "pds-text-input", I = a ? $.disabled : null, L = x && !a ? $.required : null, R = A === "error" ? $.error : null, z = A === "success" ? $.success : null, B = b ? $.readonly : null, V = T === "s" ? null : `${F}--${T}`, H = c && O === "url" ? `${F}--has-url-prefix` : null, U = null;
8088
+ let P = St(d), F = "pds-text-input", I = a ? $.disabled : null, L = x && !a ? $.required : null, R = A === "error" ? $.error : null, z = A === "success" ? $.success : null, B = b ? $.readonly : null, V = T === "s" ? null : `${F}--${T}`, H = c && O === "url" ? `${F}--has-url-prefix` : null, U = null;
8089
8089
  O === "search" && (U = "search"), O === "search" && S === "filter" && (U = "filter"), A === "error" && (U = "error"), A === "success" && (U = "success");
8090
8090
  let W = k || p, G = j !== void 0, [K, q] = h(i === void 0 ? "" : i), J = j || K, ee = (e) => {
8091
8091
  if (w && re && ie(!1), c && O === "url") {
8092
- let t = St(e.target.value), n = {
8092
+ let t = Ct(e.target.value), n = {
8093
8093
  ...e,
8094
8094
  target: {
8095
8095
  ...e.target,
@@ -8100,7 +8100,7 @@ var or = {
8100
8100
  } else m && m(e);
8101
8101
  }, te = (e) => {
8102
8102
  if (c && O === "url") {
8103
- let t = St(e.target.value), n = {
8103
+ let t = Ct(e.target.value), n = {
8104
8104
  ...e,
8105
8105
  target: {
8106
8106
  ...e.target,
@@ -8133,7 +8133,7 @@ var or = {
8133
8133
  ]),
8134
8134
  style: d ? P : null,
8135
8135
  ...M
8136
- }, /* @__PURE__ */ e.createElement(wt, {
8136
+ }, /* @__PURE__ */ e.createElement(Tt, {
8137
8137
  disabled: a,
8138
8138
  id: l,
8139
8139
  label: f,
@@ -8143,7 +8143,7 @@ var or = {
8143
8143
  }), w && O === "password" && /* @__PURE__ */ e.createElement("div", {
8144
8144
  "aria-live": "polite",
8145
8145
  className: "visually-hidden"
8146
- }, `${D.visibilityStatus} ${re ? "visible" : "hidden"}.`), /* @__PURE__ */ e.createElement("div", { className: `${F}__input-wrapper ${c && O === "url" ? `${F}__input-wrapper--has-prefix` : ""}` }, U && /* @__PURE__ */ e.createElement(Dt, { variant: U }), c && O === "url" && /* @__PURE__ */ e.createElement(Pr, null), /* @__PURE__ */ e.createElement("input", {
8146
+ }, `${D.visibilityStatus} ${re ? "visible" : "hidden"}.`), /* @__PURE__ */ e.createElement("div", { className: `${F}__input-wrapper ${c && O === "url" ? `${F}__input-wrapper--has-prefix` : ""}` }, U && /* @__PURE__ */ e.createElement(Ot, { variant: U }), c && O === "url" && /* @__PURE__ */ e.createElement(Fr, null), /* @__PURE__ */ e.createElement("input", {
8147
8147
  ref: N,
8148
8148
  "aria-describedby": W ? `${l}__message` : null,
8149
8149
  "aria-invalid": A === "error" ? !0 : null,
@@ -8161,7 +8161,7 @@ var or = {
8161
8161
  type: Y,
8162
8162
  value: G ? j : K,
8163
8163
  ...u
8164
- }), o && J && /* @__PURE__ */ e.createElement(kt, {
8164
+ }), o && J && /* @__PURE__ */ e.createElement(At, {
8165
8165
  clearLabel: D.clearButton,
8166
8166
  handleClearInput: ne,
8167
8167
  id: l
@@ -8175,22 +8175,22 @@ var or = {
8175
8175
  }, /* @__PURE__ */ e.createElement(Q, {
8176
8176
  iconName: re ? "eyeSlash" : "eye",
8177
8177
  size: "m"
8178
- })), s && O === "search" && !J && /* @__PURE__ */ e.createElement(Ot, {
8178
+ })), s && O === "search" && !J && /* @__PURE__ */ e.createElement(kt, {
8179
8179
  inputId: l,
8180
8180
  shortcutLabel: D.searchShortcut
8181
- }), r && O !== "password" && /* @__PURE__ */ e.createElement(At, {
8181
+ }), r && O !== "password" && /* @__PURE__ */ e.createElement(jt, {
8182
8182
  currentLength: J.length,
8183
8183
  id: l,
8184
8184
  maxLength: r,
8185
8185
  overLimitMessage: D.counterOverLimit
8186
- })), W && /* @__PURE__ */ e.createElement(Tt, {
8186
+ })), W && /* @__PURE__ */ e.createElement(Et, {
8187
8187
  hasValidationMessage: !!k,
8188
8188
  id: l,
8189
8189
  message: W,
8190
8190
  validationMessageHasDecorators: !1,
8191
8191
  validationStatus: A
8192
8192
  }));
8193
- }), Ir = ({ className: t, linkContent: n, size: r = "s", ...i }) => {
8193
+ }), Lr = ({ className: t, linkContent: n, size: r = "s", ...i }) => {
8194
8194
  let a = "pds-cta-link", o = r === "s" ? null : `${a}--${r}`;
8195
8195
  return /* @__PURE__ */ e.createElement("div", {
8196
8196
  className: Z([
@@ -8204,7 +8204,7 @@ var or = {
8204
8204
  iconName: "arrowRight",
8205
8205
  size: r === "xs" ? "s" : r === "s" ? "m" : "l"
8206
8206
  }));
8207
- }, Lr = ({ children: t, className: n, fontSize: r, isLoading: i, newWindowText: a = "opens in a new window", url: o, ...s }) => {
8207
+ }, Rr = ({ children: t, className: n, fontSize: r, isLoading: i, newWindowText: a = "opens in a new window", url: o, ...s }) => {
8208
8208
  let c = "pds-link-new-window", l = r ? `${c}--${r}` : null;
8209
8209
  return i ? /* @__PURE__ */ e.createElement("span", {
8210
8210
  "aria-hidden": "true",
@@ -8231,11 +8231,11 @@ var or = {
8231
8231
  className: `${c}__icon`,
8232
8232
  iconName: "externalLink"
8233
8233
  }));
8234
- }, Rr = ({ className: t, destination: n = "main", text: r = "Skip to main content", ...i }) => /* @__PURE__ */ e.createElement("a", {
8234
+ }, zr = ({ className: t, destination: n = "main", text: r = "Skip to main content", ...i }) => /* @__PURE__ */ e.createElement("a", {
8235
8235
  className: Z(["pds-skiplink", t]),
8236
8236
  href: `#${n}`,
8237
8237
  ...i
8238
- }, r), zr = ({ alt: t = "", className: n, height: r, srcFallback: i, srcWebp: a, width: o, ...s }) => {
8238
+ }, r), Br = ({ alt: t = "", className: n, height: r, srcFallback: i, srcWebp: a, width: o, ...s }) => {
8239
8239
  let c = "pds-picture";
8240
8240
  return /* @__PURE__ */ e.createElement("picture", { className: Z([c, n ?? ""]) }, /* @__PURE__ */ e.createElement("source", {
8241
8241
  srcSet: a,
@@ -8248,7 +8248,7 @@ var or = {
8248
8248
  width: o,
8249
8249
  ...s
8250
8250
  }));
8251
- }, Br = ({ ariaLabel: t = "Breadcrumb", className: r, crumbs: i, ...a }) => {
8251
+ }, Vr = ({ ariaLabel: t = "Breadcrumb", className: r, crumbs: i, ...a }) => {
8252
8252
  let s = "pds-breadcrumb", c = i.length, l = i.map((t, r) => {
8253
8253
  if (r < c - 1) return /* @__PURE__ */ e.createElement("li", {
8254
8254
  key: r,
@@ -8267,36 +8267,36 @@ var or = {
8267
8267
  className: Z([s, r]),
8268
8268
  ...a
8269
8269
  }, /* @__PURE__ */ e.createElement("ol", { className: `${s}__crumbs` }, l));
8270
- }, Vr = (e) => {
8270
+ }, Hr = (e) => {
8271
8271
  if (!e) return null;
8272
8272
  for (let t = 0; t < e.length; t++) {
8273
- if (Ur(e[t])) return typeof e[t].linkContent == "string" ? null : e[t].linkContent;
8273
+ if (Wr(e[t])) return typeof e[t].linkContent == "string" ? null : e[t].linkContent;
8274
8274
  if (e[t].links) {
8275
- let n = Vr(e[t].links);
8275
+ let n = Hr(e[t].links);
8276
8276
  if (n) return n;
8277
8277
  }
8278
8278
  }
8279
8279
  return null;
8280
- }, Hr = (e) => typeof e == "string" ? e : e.props.children, Ur = (e) => typeof e.linkContent == "string" ? !1 : !!(e.isActive || e.linkContent.props.className && e.linkContent.props.className.includes("pds-isActive")), Wr = (e) => {
8281
- if (Ur(e)) return !0;
8280
+ }, Ur = (e) => typeof e == "string" ? e : e.props.children, Wr = (e) => typeof e.linkContent == "string" ? !1 : !!(e.isActive || e.linkContent.props.className && e.linkContent.props.className.includes("pds-isActive")), Gr = (e) => {
8281
+ if (Wr(e)) return !0;
8282
8282
  if (e.links) {
8283
- for (let t = 0; t < e.links.length; t++) if (Wr(e.links[t])) return !0;
8283
+ for (let t = 0; t < e.links.length; t++) if (Gr(e.links[t])) return !0;
8284
8284
  }
8285
8285
  return !1;
8286
- }, Gr = (e) => e.map((e) => `${Ur(e)}${e.links ? `[${Gr(e.links)}]` : ""}`).join("|"), Kr = (e) => {
8286
+ }, Kr = (e) => e.map((e) => `${Wr(e)}${e.links ? `[${Kr(e.links)}]` : ""}`).join("|"), qr = (e) => {
8287
8287
  if (o(e)) {
8288
8288
  let t = e.type;
8289
8289
  return t === "a" || typeof t == "string" && t.toLowerCase() === "a" || (typeof t == "function" || typeof t == "object") && t?.displayName === "Link";
8290
8290
  }
8291
8291
  return !1;
8292
- }, qr = (e, t) => {
8292
+ }, Jr = (e, t) => {
8293
8293
  let r = null;
8294
8294
  if (typeof e == "string" && t) {
8295
8295
  let i = t ? t[0].linkContent : null;
8296
8296
  o(i) && (r = n(i, { ...typeof e == "string" ? { children: e } : {} }));
8297
8297
  } else r = e;
8298
8298
  return r;
8299
- }, Jr = (t, r, i, a) => {
8299
+ }, Yr = (t, r, i, a) => {
8300
8300
  let s = null;
8301
8301
  if (typeof r == "string") {
8302
8302
  let c = a ? [/* @__PURE__ */ e.createElement("span", {
@@ -8321,7 +8321,7 @@ var or = {
8321
8321
  iconName: a,
8322
8322
  size: "m"
8323
8323
  })), /* @__PURE__ */ e.createElement("span", { className: `${t}__link-label` }, r.props.children))] })) : r), s;
8324
- }, Yr = ({ ariaLabel: t, border: n = !1, className: r, menuItems: i, ...a }) => {
8324
+ }, Xr = ({ ariaLabel: t, border: n = !1, className: r, menuItems: i, ...a }) => {
8325
8325
  let o = m(null), s = "pds-button-nav", c = n ? `${s}--bordered` : null;
8326
8326
  l(() => {
8327
8327
  let e = (e) => {
@@ -8340,11 +8340,11 @@ var or = {
8340
8340
  return /* @__PURE__ */ e.createElement("li", { className: Z([r, t ? `${r}--active` : null]) }, n);
8341
8341
  }, d = i.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${s}__menu` }, i.map((t, n) => /* @__PURE__ */ e.createElement(u, {
8342
8342
  key: n,
8343
- isActive: Wr(t),
8343
+ isActive: Gr(t),
8344
8344
  linkContent: t.linkContent
8345
8345
  }))) : null, f = [];
8346
8346
  i.map((e) => {
8347
- e.linkContent && (Wr(e) ? f.unshift({
8347
+ e.linkContent && (Gr(e) ? f.unshift({
8348
8348
  linkContent: e.linkContent,
8349
8349
  isLink: !0
8350
8350
  }) : f.push({
@@ -8352,7 +8352,7 @@ var or = {
8352
8352
  isLink: !0
8353
8353
  }));
8354
8354
  });
8355
- let p = f.length > 0 ? /* @__PURE__ */ e.createElement("div", { className: `${s}__mobile` }, /* @__PURE__ */ e.createElement(bn, {
8355
+ let p = f.length > 0 ? /* @__PURE__ */ e.createElement("div", { className: `${s}__mobile` }, /* @__PURE__ */ e.createElement(xn, {
8356
8356
  actionItems: f,
8357
8357
  id: "mobile-nav-split-button",
8358
8358
  size: "s",
@@ -8368,8 +8368,8 @@ var or = {
8368
8368
  ]),
8369
8369
  ...a
8370
8370
  }, d, p);
8371
- }, Xr = ({ className: t, headingText: r, menuItems: i, selectTextFallback: a = "Navigate to...", ...o }) => {
8372
- let s = "pds-dropdown-menu", c = Vr(i), l = c ? c.props.children : a, u = /* @__PURE__ */ e.createElement(Mn, { className: `pds-dropdown__selected-icon ${s}__active-icon` }), { activeIndex: d, floatingStyles: f, getFloatingProps: p, getItemProps: m, getReferenceProps: h, isMounted: g, listRef: _, refs: v, setIsOpen: y, transitionStyles: b } = Zt({
8371
+ }, Zr = ({ className: t, headingText: r, menuItems: i, selectTextFallback: a = "Navigate to...", ...o }) => {
8372
+ let s = "pds-dropdown-menu", c = Hr(i), l = c ? c.props.children : a, u = /* @__PURE__ */ e.createElement(Nn, { className: `pds-dropdown__selected-icon ${s}__active-icon` }), { activeIndex: d, floatingStyles: f, getFloatingProps: p, getItemProps: m, getReferenceProps: h, isMounted: g, listRef: _, refs: v, setIsOpen: y, transitionStyles: b } = Qt({
8373
8373
  enableShift: !1,
8374
8374
  enableTypeahead: !0,
8375
8375
  role: "menu"
@@ -8378,7 +8378,7 @@ var or = {
8378
8378
  }, S = (e) => {
8379
8379
  e.key === "Enter" && _.current[d]?.querySelector("a")?.click();
8380
8380
  }, C = ({ item: e, level: t }) => {
8381
- let r = qr(e.linkContent, e.links);
8381
+ let r = Jr(e.linkContent, e.links);
8382
8382
  return {
8383
8383
  ...e,
8384
8384
  level: t,
@@ -8469,7 +8469,7 @@ var or = {
8469
8469
  tabIndex: d === n ? 0 : -1,
8470
8470
  ...m({ onKeyDown: S })
8471
8471
  }, t.linkContent, t.isActive === !0 && u))));
8472
- }, Zr = ({ children: t, className: n, width: r = "standard", ...i }) => {
8472
+ }, Qr = ({ children: t, className: n, width: r = "standard", ...i }) => {
8473
8473
  let a = "pds-container", o = r === "standard" ? null : `${a}--${r}`;
8474
8474
  return /* @__PURE__ */ e.createElement("div", {
8475
8475
  className: Z([
@@ -8479,11 +8479,11 @@ var or = {
8479
8479
  ]),
8480
8480
  ...i
8481
8481
  }, t);
8482
- }, Qr = ({ children: t, className: n, colorType: r = "default", containerWidth: i = "x-wide", hideBorder: a, inlinePadding: o, translationStrings: s = {
8482
+ }, $r = ({ children: t, className: n, colorType: r = "default", containerWidth: i = "x-wide", hideBorder: a, inlinePadding: o, translationStrings: s = {
8483
8483
  closeMobileNav: "Close navigation area",
8484
8484
  openMobileNav: "Open navigation area"
8485
8485
  }, ...c }) => {
8486
- let [u, d] = h(!1), { closeOverlay: f, openOverlay: p } = vt(), m = "pds-navbar", g = a ? `${m}--noBorder` : "", _ = r === "default" ? "" : `${m}--${r}`, v = (e) => {
8486
+ let [u, d] = h(!1), { closeOverlay: f, openOverlay: p } = yt(), m = "pds-navbar", g = a ? `${m}--noBorder` : "", _ = r === "default" ? "" : `${m}--${r}`, v = (e) => {
8487
8487
  let t = e.key, n = !1;
8488
8488
  switch (t) {
8489
8489
  case "Esc":
@@ -8533,7 +8533,7 @@ var or = {
8533
8533
  n ?? ""
8534
8534
  ]),
8535
8535
  ...c
8536
- }, /* @__PURE__ */ e.createElement("div", { className: `${m}__bar-mobile` }, /* @__PURE__ */ e.createElement(Zr, null, /* @__PURE__ */ e.createElement("div", { className: `${m}__inner-mobile` }, S, O && k))), /* @__PURE__ */ e.createElement(se, {
8536
+ }, /* @__PURE__ */ e.createElement("div", { className: `${m}__bar-mobile` }, /* @__PURE__ */ e.createElement(Qr, null, /* @__PURE__ */ e.createElement("div", { className: `${m}__inner-mobile` }, S, O && k))), /* @__PURE__ */ e.createElement(se, {
8537
8537
  active: u,
8538
8538
  focusTrapOptions: {
8539
8539
  clickOutsideDeactivates: !0,
@@ -8543,11 +8543,11 @@ var or = {
8543
8543
  }, /* @__PURE__ */ e.createElement("div", {
8544
8544
  className: Z([`${m}__mobile`, u ? `${m}__mobile--open` : null]),
8545
8545
  inert: u ? void 0 : !0
8546
- }, /* @__PURE__ */ e.createElement(Zr, null, /* @__PURE__ */ e.createElement("button", {
8546
+ }, /* @__PURE__ */ e.createElement(Qr, null, /* @__PURE__ */ e.createElement("button", {
8547
8547
  className: "visually-hidden",
8548
8548
  onClick: y,
8549
8549
  type: "button"
8550
- }, s.closeMobileNav), C, w, T))), /* @__PURE__ */ e.createElement(Zr, {
8550
+ }, s.closeMobileNav), C, w, T))), /* @__PURE__ */ e.createElement(Qr, {
8551
8551
  className: `${m}__inner`,
8552
8552
  style: o ? { paddingInline: o } : void 0,
8553
8553
  width: i
@@ -8555,14 +8555,14 @@ var or = {
8555
8555
  "aria-hidden": "true",
8556
8556
  className: `${m}__separator`
8557
8557
  }), C && /* @__PURE__ */ e.createElement("div", { className: `${m}__items-left` }, C)), w && /* @__PURE__ */ e.createElement("div", { className: `${m}__items-center` }, w), T && /* @__PURE__ */ e.createElement("div", { className: `${m}__items-right` }, T)));
8558
- }, $r = ({ ariaLabel: t, className: r, hasMobileDropdown: i = !1, headingText: a, labels: s = {
8558
+ }, ei = ({ ariaLabel: t, className: r, hasMobileDropdown: i = !1, headingText: a, labels: s = {
8559
8559
  submenu: "submenu",
8560
8560
  toggle: "Toggle"
8561
8561
  }, menuItems: c, mobileMenuSelectTextFallback: u = "Navigate to...", ...d }) => {
8562
8562
  let f = "pds-side-nav", p = i ? `${f}--has-mobile-dropdown` : null, m = `${f}__item`, g = `${f}__menu`, [_, v] = h({});
8563
8563
  l(() => {
8564
8564
  v((e) => Object.keys(e).length ? {} : e);
8565
- }, [Gr(c)]);
8565
+ }, [Kr(c)]);
8566
8566
  let y = (e, t) => t in _ ? _[t] : e, b = (e, t) => {
8567
8567
  v((n) => {
8568
8568
  let r = t in n ? n[t] : e;
@@ -8572,7 +8572,7 @@ var or = {
8572
8572
  };
8573
8573
  });
8574
8574
  }, x = (t, r) => {
8575
- let { linkContent: i, links: a } = t, c = Wr(t), l = Kr(i), u = y(c, r);
8575
+ let { linkContent: i, links: a } = t, c = Gr(t), l = qr(i), u = y(c, r);
8576
8576
  return /* @__PURE__ */ e.createElement("li", {
8577
8577
  key: r,
8578
8578
  className: Z([
@@ -8585,7 +8585,7 @@ var or = {
8585
8585
  `${f}__row`,
8586
8586
  `${f}__row--expandable`,
8587
8587
  `${m}-wrapper`
8588
- ]) }, qr(i, a), /* @__PURE__ */ e.createElement("button", {
8588
+ ]) }, Jr(i, a), /* @__PURE__ */ e.createElement("button", {
8589
8589
  "aria-expanded": u,
8590
8590
  className: Z([`${f}__toggle`, u ? `${f}__toggle--expanded` : null]),
8591
8591
  onClick: () => b(c, r),
@@ -8593,7 +8593,7 @@ var or = {
8593
8593
  }, /* @__PURE__ */ e.createElement(Q, {
8594
8594
  iconName: "angleDown",
8595
8595
  size: "m"
8596
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${s.toggle} ${Hr(i)} ${s.submenu}`))), /* @__PURE__ */ e.createElement("ul", { className: Z([
8596
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${s.toggle} ${Ur(i)} ${s.submenu}`))), /* @__PURE__ */ e.createElement("ul", { className: Z([
8597
8597
  g,
8598
8598
  `${g}--second-level`,
8599
8599
  u ? `${g}--expanded` : null
@@ -8602,9 +8602,9 @@ var or = {
8602
8602
  className: Z([
8603
8603
  m,
8604
8604
  `${m}--second-level`,
8605
- Wr(t) ? `${m}--active` : null
8605
+ Gr(t) ? `${m}--active` : null
8606
8606
  ])
8607
- }, qr(t.linkContent, t.links))))) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("button", {
8607
+ }, Jr(t.linkContent, t.links))))) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("button", {
8608
8608
  "aria-expanded": u,
8609
8609
  className: Z([
8610
8610
  `${f}__row`,
@@ -8618,7 +8618,7 @@ var or = {
8618
8618
  }, o(i) && i.type === "span" ? n(i, { className: Z([i.props.className, `${f}__toggle-content`]) }) : /* @__PURE__ */ e.createElement("span", { className: `${f}__toggle-content` }, i), /* @__PURE__ */ e.createElement(Q, {
8619
8619
  iconName: "angleDown",
8620
8620
  size: "m"
8621
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${s.toggle} ${Hr(i)} ${s.submenu}`)), /* @__PURE__ */ e.createElement("ul", { className: Z([
8621
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${s.toggle} ${Ur(i)} ${s.submenu}`)), /* @__PURE__ */ e.createElement("ul", { className: Z([
8622
8622
  g,
8623
8623
  `${g}--second-level`,
8624
8624
  u ? `${g}--expanded` : null
@@ -8627,10 +8627,10 @@ var or = {
8627
8627
  className: Z([
8628
8628
  m,
8629
8629
  `${m}--second-level`,
8630
- Wr(t) ? `${m}--active` : null
8630
+ Gr(t) ? `${m}--active` : null
8631
8631
  ])
8632
- }, qr(t.linkContent, t.links))))) : i);
8633
- }, S = /* @__PURE__ */ e.createElement(e.Fragment, null, a && /* @__PURE__ */ e.createElement("h2", { className: `${f}__heading` }, a), c.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${f}__menu ${f}__menu--top-level` }, c.map((e, t) => x(e, t)))), C = /* @__PURE__ */ e.createElement(Xr, {
8632
+ }, Jr(t.linkContent, t.links))))) : i);
8633
+ }, S = /* @__PURE__ */ e.createElement(e.Fragment, null, a && /* @__PURE__ */ e.createElement("h2", { className: `${f}__heading` }, a), c.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${f}__menu ${f}__menu--top-level` }, c.map((e, t) => x(e, t)))), C = /* @__PURE__ */ e.createElement(Zr, {
8634
8634
  className: `${f}__mobile`,
8635
8635
  headingText: a,
8636
8636
  menuItems: c,
@@ -8645,8 +8645,8 @@ var or = {
8645
8645
  ]),
8646
8646
  ...d
8647
8647
  }, S, i && C);
8648
- }, ei = ({ icon: t, isActive: n, isExpanded: r, isSidebarCollapsed: i, labels: a, linkContent: o, links: s, onExpandSidebar: c, onToggleExpand: u }) => {
8649
- let d = "pds-side-nav-global", f = `${d}__item`, p = `${d}__menu`, g = /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, Jr(d, o, s, t)), _ = (t, n) => /* @__PURE__ */ e.createElement("ul", { className: Z([
8648
+ }, ti = ({ icon: t, isActive: n, isExpanded: r, isSidebarCollapsed: i, labels: a, linkContent: o, links: s, onExpandSidebar: c, onToggleExpand: u }) => {
8649
+ let d = "pds-side-nav-global", f = `${d}__item`, p = `${d}__menu`, g = /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, Yr(d, o, s, t)), _ = (t, n) => /* @__PURE__ */ e.createElement("ul", { className: Z([
8650
8650
  p,
8651
8651
  `${p}--${n}`,
8652
8652
  r ? `${p}--expanded` : null
@@ -8655,7 +8655,7 @@ var or = {
8655
8655
  className: Z([
8656
8656
  f,
8657
8657
  `${f}--${n}`,
8658
- Wr(t) ? `${f}--active` : null
8658
+ Gr(t) ? `${f}--active` : null
8659
8659
  ])
8660
8660
  }, t.linkContent))), [v, y] = h(!1), b = m(v), x = m(!1), { context: D, floatingStyles: O, refs: j } = A({
8661
8661
  placement: "right-start",
@@ -8709,7 +8709,7 @@ var or = {
8709
8709
  ...F(),
8710
8710
  onClick: R,
8711
8711
  onKeyDown: L
8712
- }, s ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, Jr(d, o, s, t), !i && /* @__PURE__ */ e.createElement("button", {
8712
+ }, s ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, Yr(d, o, s, t), !i && /* @__PURE__ */ e.createElement("button", {
8713
8713
  "aria-expanded": r,
8714
8714
  className: Z([`${d}__toggle`, r ? `${d}__toggle--expanded` : null]),
8715
8715
  onClick: u,
@@ -8717,13 +8717,13 @@ var or = {
8717
8717
  }, /* @__PURE__ */ e.createElement(Q, {
8718
8718
  iconName: "angleDown",
8719
8719
  size: "m"
8720
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${a.toggle} ${Hr(o)} ${a.submenu}`))), !i && _(s, "second-level"), i && v && /* @__PURE__ */ e.createElement("div", {
8720
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${a.toggle} ${Ur(o)} ${a.submenu}`))), !i && _(s, "second-level"), i && v && /* @__PURE__ */ e.createElement("div", {
8721
8721
  ref: j.setFloating,
8722
8722
  className: `${d}__flyout`,
8723
8723
  style: O,
8724
8724
  ...N()
8725
- }, /* @__PURE__ */ e.createElement("div", { className: `${d}__flyout-heading` }, Hr(o)), _(s, "second-level-flyout"))) : /* @__PURE__ */ e.createElement(e.Fragment, null, i ? /* @__PURE__ */ e.createElement(bt, {
8726
- content: Hr(o),
8725
+ }, /* @__PURE__ */ e.createElement("div", { className: `${d}__flyout-heading` }, Ur(o)), _(s, "second-level-flyout"))) : /* @__PURE__ */ e.createElement(e.Fragment, null, i ? /* @__PURE__ */ e.createElement(xt, {
8726
+ content: Ur(o),
8727
8727
  customTrigger: g,
8728
8728
  offsetValue: {
8729
8729
  mainAxis: 8,
@@ -8731,14 +8731,14 @@ var or = {
8731
8731
  },
8732
8732
  preferredPlacement: "right"
8733
8733
  }) : g));
8734
- }, ti = ({ ariaLabel: t, className: n, isSidebarCollapsed: r, labels: i = {
8734
+ }, ni = ({ ariaLabel: t, className: n, isSidebarCollapsed: r, labels: i = {
8735
8735
  submenu: "submenu",
8736
8736
  toggle: "Toggle"
8737
8737
  }, menuItems: a, onExpandSidebar: o, ...s }) => {
8738
8738
  let c = "pds-side-nav-global", u = r ? `${c}--collapsed` : `${c}--expanded`, [d, f] = h({});
8739
8739
  l(() => {
8740
8740
  f((e) => Object.keys(e).length ? {} : e);
8741
- }, [Gr(a)]);
8741
+ }, [Kr(a)]);
8742
8742
  let p = (e, t) => t in d ? d[t] : e, m = (e, t) => {
8743
8743
  f((n) => {
8744
8744
  let r = t in n ? n[t] : e;
@@ -8748,8 +8748,8 @@ var or = {
8748
8748
  };
8749
8749
  });
8750
8750
  }, g = /* @__PURE__ */ e.createElement(e.Fragment, null, a.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${c}__menu ${c}__menu--top-level` }, a.map((t, n) => {
8751
- let a = Wr(t);
8752
- return /* @__PURE__ */ e.createElement(ei, {
8751
+ let a = Gr(t);
8752
+ return /* @__PURE__ */ e.createElement(ti, {
8753
8753
  key: n,
8754
8754
  icon: t.icon,
8755
8755
  isActive: a,
@@ -8771,7 +8771,7 @@ var or = {
8771
8771
  ]),
8772
8772
  ...s
8773
8773
  }, g);
8774
- }, ni = ({ items: t, label: n }) => {
8774
+ }, ri = ({ items: t, label: n }) => {
8775
8775
  let r = m(null), i = "pds-nav-menu", a = t && t.length > 0, [o, s] = h(() => typeof document < "u" && document.documentElement.hasAttribute("data-pds-mobile"));
8776
8776
  l(() => {
8777
8777
  let e = new MutationObserver(() => {
@@ -8782,7 +8782,7 @@ var or = {
8782
8782
  attributeFilter: ["data-pds-mobile"]
8783
8783
  }), () => e.disconnect();
8784
8784
  }, []);
8785
- let { floatingStyles: c, getFloatingProps: u, getReferenceProps: d, isOpen: f, refs: p } = Zt({
8785
+ let { floatingStyles: c, getFloatingProps: u, getReferenceProps: d, isOpen: f, refs: p } = Qt({
8786
8786
  offsetValue: 8,
8787
8787
  openOnHover: !o
8788
8788
  }), g = (e) => {
@@ -8795,7 +8795,7 @@ var or = {
8795
8795
  key: n,
8796
8796
  className: `${i}__item ${t.isSeparator ? "pds-dropdown__separator" : `pds-dropdown__item${_(t) ? " pds-dropdown__item--active" : ""}`}`
8797
8797
  }, !t.isSeparator && t.linkContent)));
8798
- return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(un, { label: n }, v), /* @__PURE__ */ e.createElement("button", {
8798
+ return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(dn, { label: n }, v), /* @__PURE__ */ e.createElement("button", {
8799
8799
  ref: p.setReference,
8800
8800
  className: `${i}__trigger`,
8801
8801
  type: "button",
@@ -8818,7 +8818,7 @@ var or = {
8818
8818
  key: n,
8819
8819
  className: `${i}__item ${t.isSeparator ? "pds-dropdown__separator" : `pds-dropdown__item${_(t) ? " pds-dropdown__item--active" : ""}`}`
8820
8820
  }, !t.isSeparator && t.linkContent))));
8821
- }, ri = ({ ariaLabel: t = "Main Navigation", className: n, menuItems: r, ...i }) => {
8821
+ }, ii = ({ ariaLabel: t = "Main Navigation", className: n, menuItems: r, ...i }) => {
8822
8822
  let [a, o] = h(null), [s, c] = h(-1), [d, f] = h(null), [p, g] = h({
8823
8823
  container: null,
8824
8824
  containerChildren: []
@@ -8865,7 +8865,7 @@ var or = {
8865
8865
  },
8866
8866
  className: `${v}__item ${v}__item--top-level ${v}__item--has-children ${x(t) === !0 ? `${v}__item--active` : ""}`,
8867
8867
  id: i
8868
- }, /* @__PURE__ */ e.createElement(ni, {
8868
+ }, /* @__PURE__ */ e.createElement(ri, {
8869
8869
  items: t.links,
8870
8870
  label: t.label
8871
8871
  }))) : S.push(/* @__PURE__ */ e.createElement("li", {
@@ -8884,14 +8884,14 @@ var or = {
8884
8884
  },
8885
8885
  ...i
8886
8886
  }, /* @__PURE__ */ e.createElement("ul", { className: `${v}__menu` }, S));
8887
- }, ii = ({ buttonLabel: t = "Toggle dropdown", filterLabel: n = "Filter items", filterPlaceholder: r = "Filter items...", links: i, minFilterItems: a = 5, noResultsText: o = "No results found" }) => {
8888
- let [s, c] = h(i), [u, d] = h(""), f = i.length >= a, p = "pds-tab-menu", m = `${p}__dropdown-menu`, g = f ? `${m}--scroll` : null, _ = `${p}__dropdown-item`, { activeIndex: v, floatingStyles: y, getFloatingProps: b, getItemProps: x, getReferenceProps: S, isMounted: C, isOpen: w, listRef: T, refs: E, setActiveIndex: D, transitionStyles: O } = Zt({
8887
+ }, ai = ({ buttonLabel: t = "Toggle dropdown", filterLabel: n = "Filter items", filterPlaceholder: r = "Filter items...", links: i, minFilterItems: a = 5, noResultsText: o = "No results found" }) => {
8888
+ let [s, c] = h(i), [u, d] = h(""), f = i.length >= a, p = "pds-tab-menu", m = `${p}__dropdown-menu`, g = f ? `${m}--scroll` : null, _ = `${p}__dropdown-item`, { activeIndex: v, floatingStyles: y, getFloatingProps: b, getItemProps: x, getReferenceProps: S, isMounted: C, isOpen: w, listRef: T, refs: E, setActiveIndex: D, transitionStyles: O } = Qt({
8889
8889
  offsetValue: 8,
8890
8890
  placement: "bottom-start",
8891
8891
  role: "listbox"
8892
8892
  }), k = (e) => {
8893
8893
  e.preventDefault(), e.key === "Enter" && T.current[v].querySelector("a")?.click(), e.key === "Tab" && e.shiftKey && f && document.getElementById("links-filter").focus();
8894
- }, A = (e, t) => Hr(e.linkContent).toLowerCase().includes(t.toLowerCase()), j = (e) => {
8894
+ }, A = (e, t) => Ur(e.linkContent).toLowerCase().includes(t.toLowerCase()), j = (e) => {
8895
8895
  let t = e.target.value;
8896
8896
  d(t), c(i.filter((e) => A(e, t)));
8897
8897
  };
@@ -8902,11 +8902,11 @@ var or = {
8902
8902
  d(""), c(i);
8903
8903
  }, N = {
8904
8904
  minWidth: "13rem",
8905
- width: `${Hr(i.reduce((e, t) => Hr(e.linkContent).length > Hr(t.linkContent).length ? e : t).linkContent).length + 2}ch`
8905
+ width: `${Ur(i.reduce((e, t) => Ur(e.linkContent).length > Ur(t.linkContent).length ? e : t).linkContent).length + 2}ch`
8906
8906
  }, P = /* @__PURE__ */ e.createElement(Q, {
8907
8907
  className: `${p}__active-icon`,
8908
8908
  iconName: "check"
8909
- }), F = f && /* @__PURE__ */ e.createElement("div", { className: `${p}__filter` }, /* @__PURE__ */ e.createElement(Fr, {
8909
+ }), F = f && /* @__PURE__ */ e.createElement("div", { className: `${p}__filter` }, /* @__PURE__ */ e.createElement(Ir, {
8910
8910
  hasClearButton: !0,
8911
8911
  autoComplete: "off",
8912
8912
  id: "links-filter",
@@ -8949,9 +8949,9 @@ var or = {
8949
8949
  zIndex: "var(--pds-z-index-dropdown)"
8950
8950
  } })
8951
8951
  }, /* @__PURE__ */ e.createElement("div", { style: { ...O } }, F, /* @__PURE__ */ e.createElement("ul", { className: Z([m, g]) }, I.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${p}__no-results` }, o) : I))));
8952
- }, ai = ({ ariaLabel: t, className: r, menuItems: i, ...a }) => {
8952
+ }, oi = ({ ariaLabel: t, className: r, menuItems: i, ...a }) => {
8953
8953
  let s = "pds-tab-menu", c = ({ dropdownSettings: t, icon: r, isActive: i, linkContent: a, links: c, promoteActiveChildLink: l = !1 }) => {
8954
- let u = `${s}__item`, d = Vr(c);
8954
+ let u = `${s}__item`, d = Hr(c);
8955
8955
  return /* @__PURE__ */ e.createElement("li", { className: Z([u, i ? `${u}--active` : null]) }, ((t, r) => {
8956
8956
  let i = null;
8957
8957
  return o(t) && (i = r ? n(t, Object.assign({}, t.props, { children: [/* @__PURE__ */ e.createElement("span", {
@@ -8962,7 +8962,7 @@ var or = {
8962
8962
  iconName: r,
8963
8963
  size: "m"
8964
8964
  }), t.props.children)] })) : t), i;
8965
- })(l ? d : a, r), c && /* @__PURE__ */ e.createElement(ii, {
8965
+ })(l ? d : a, r), c && /* @__PURE__ */ e.createElement(ai, {
8966
8966
  buttonLabel: t?.buttonLabel,
8967
8967
  filterLabel: t?.filterLabel,
8968
8968
  filterPlaceholder: t?.filterPlaceholder,
@@ -8974,7 +8974,7 @@ var or = {
8974
8974
  key: n,
8975
8975
  dropdownSettings: t.dropdownSettings,
8976
8976
  icon: t.icon,
8977
- isActive: Wr(t),
8977
+ isActive: Gr(t),
8978
8978
  linkContent: t.linkContent,
8979
8979
  links: t.links,
8980
8980
  promoteActiveChildLink: t.promoteActiveChildLink
@@ -8984,11 +8984,11 @@ var or = {
8984
8984
  className: Z([s, r ?? ""]),
8985
8985
  ...a
8986
8986
  }, /* @__PURE__ */ e.createElement("div", { className: `${s}__mobile-menu-wrapper` }, l));
8987
- }, oi = {
8987
+ }, si = {
8988
8988
  2: "second",
8989
8989
  3: "third",
8990
8990
  4: "fourth"
8991
- }, si = ({ ariaLabel: t, className: n, headingText: r, labels: i = {
8991
+ }, ci = ({ ariaLabel: t, className: n, headingText: r, labels: i = {
8992
8992
  submenu: "submenu",
8993
8993
  toggle: "Toggle"
8994
8994
  }, menuItems: a, ...o }) => {
@@ -9108,7 +9108,7 @@ var or = {
9108
9108
  display: "none"
9109
9109
  }), b();
9110
9110
  }, j = (t, n, r) => {
9111
- let a = oi[t], o = `${u}--${a}-level`, l = `${c}--${a}-level`, d = t + 1, f = Wr(n);
9111
+ let a = si[t], o = `${u}--${a}-level`, l = `${c}--${a}-level`, d = t + 1, f = Gr(n);
9112
9112
  if (_.current && n.path) {
9113
9113
  let e = _.current.querySelector(`.${c}[data-item-path="${n.path}"]`);
9114
9114
  if (e) {
@@ -9125,7 +9125,7 @@ var or = {
9125
9125
  iconName: "angleDown",
9126
9126
  size: "s",
9127
9127
  verticalAlign: "-0.0625rem"
9128
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${i.toggle} ${Hr(n.linkContent)} ${i.submenu}`)), qr(n.linkContent, n.links)), /* @__PURE__ */ e.createElement("ul", {
9128
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${i.toggle} ${Ur(n.linkContent)} ${i.submenu}`)), Jr(n.linkContent, n.links)), /* @__PURE__ */ e.createElement("ul", {
9129
9129
  className: Z([
9130
9130
  u,
9131
9131
  o,
@@ -9133,7 +9133,7 @@ var or = {
9133
9133
  ]),
9134
9134
  role: "group"
9135
9135
  }, n.links.map((t, n) => {
9136
- let r = Wr(t);
9136
+ let r = Gr(t);
9137
9137
  return /* @__PURE__ */ e.createElement("li", {
9138
9138
  key: `${n}-${a}`,
9139
9139
  "aria-expanded": t.links ? r : void 0,
@@ -9145,10 +9145,10 @@ var or = {
9145
9145
  ]),
9146
9146
  "data-item-path": t.path || "",
9147
9147
  role: "treeitem"
9148
- }, t.links && d in oi ? j(d, t, t.links) : t.linkContent);
9148
+ }, t.links && d in si ? j(d, t, t.links) : t.linkContent);
9149
9149
  })));
9150
9150
  }, M = (t, n) => {
9151
- let { linkContent: r, links: i } = t, a = Wr(t);
9151
+ let { linkContent: r, links: i } = t, a = Gr(t);
9152
9152
  return /* @__PURE__ */ e.createElement("li", {
9153
9153
  key: n,
9154
9154
  "aria-expanded": i ? a : void 0,
@@ -9177,11 +9177,11 @@ var or = {
9177
9177
  className: `${s}__menu ${s}__menu--top-level`,
9178
9178
  role: "tree"
9179
9179
  }, a.map((e, t) => M(e, t))));
9180
- }, ci = {
9180
+ }, li = {
9181
9181
  light: "sunBright",
9182
9182
  dark: "moon",
9183
9183
  system: "circleHalfStroke"
9184
- }, li = ({ className: t, id: n = "theme-switcher-menu", labelStrings: r = {
9184
+ }, ui = ({ className: t, id: n = "theme-switcher-menu", labelStrings: r = {
9185
9185
  light: "Light",
9186
9186
  dark: "Dark",
9187
9187
  system: "System"
@@ -9193,14 +9193,14 @@ var or = {
9193
9193
  ];
9194
9194
  if (s === "toggle") {
9195
9195
  let s = d.map((e) => ({
9196
- iconName: ci[e],
9196
+ iconName: li[e],
9197
9197
  label: r[e],
9198
9198
  value: e
9199
9199
  }));
9200
9200
  return /* @__PURE__ */ e.createElement("div", {
9201
9201
  className: Z([l, t]),
9202
9202
  ...c
9203
- }, /* @__PURE__ */ e.createElement(yn, {
9203
+ }, /* @__PURE__ */ e.createElement(bn, {
9204
9204
  iconOnly: !0,
9205
9205
  id: n,
9206
9206
  label: u,
@@ -9212,19 +9212,19 @@ var or = {
9212
9212
  }
9213
9213
  let f = d.map((e) => ({
9214
9214
  callback: () => i?.(e),
9215
- iconName: ci[e],
9215
+ iconName: li[e],
9216
9216
  iconSize: "m",
9217
9217
  label: r[e]
9218
9218
  }));
9219
9219
  return /* @__PURE__ */ e.createElement("div", {
9220
9220
  className: Z([l, t]),
9221
9221
  ...c
9222
- }, /* @__PURE__ */ e.createElement(bt, {
9222
+ }, /* @__PURE__ */ e.createElement(xt, {
9223
9223
  content: u,
9224
- customTrigger: /* @__PURE__ */ e.createElement(vn, {
9224
+ customTrigger: /* @__PURE__ */ e.createElement(yn, {
9225
9225
  iconOnly: !0,
9226
9226
  "aria-label": u,
9227
- iconName: ci[o],
9227
+ iconName: li[o],
9228
9228
  id: n,
9229
9229
  label: "",
9230
9230
  menuItems: f,
@@ -9233,7 +9233,7 @@ var or = {
9233
9233
  offsetValue: 0,
9234
9234
  preferredPlacement: "top"
9235
9235
  }));
9236
- }, ui = ({ ariaLabel: t = "User menu", className: n, menuItems: r = [], onThemeChange: i, theme: a, themeLabel: o = "Theme", themeLabelStrings: s, userEmail: c, userImageSrc: l, userName: d, ...f }) => {
9236
+ }, di = ({ ariaLabel: t = "User menu", className: n, menuItems: r = [], onThemeChange: i, theme: a, themeLabel: o = "Theme", themeLabelStrings: s, userEmail: c, userImageSrc: l, userName: d, ...f }) => {
9237
9237
  let [p, g] = h(null), [_, v] = h(!1), y = m([]), b = m([]), x = u(), T = "pds-user-menu", D = `${T}__menu`, { context: j, floatingStyles: M, refs: N } = A({
9238
9238
  placement: "bottom-end",
9239
9239
  open: _,
@@ -9277,7 +9277,7 @@ var or = {
9277
9277
  }, /* @__PURE__ */ e.createElement("div", { className: `${T}__user-name` }, d), /* @__PURE__ */ e.createElement("div", { className: `${T}__user-email` }, c)), ee = a !== void 0 && typeof i == "function" ? /* @__PURE__ */ e.createElement("li", {
9278
9278
  className: `${T}__theme-row`,
9279
9279
  role: "presentation"
9280
- }, /* @__PURE__ */ e.createElement("span", { className: `${T}__theme-label` }, o), /* @__PURE__ */ e.createElement(li, {
9280
+ }, /* @__PURE__ */ e.createElement("span", { className: `${T}__theme-label` }, o), /* @__PURE__ */ e.createElement(ui, {
9281
9281
  id: `${x}-theme`,
9282
9282
  labelStrings: s,
9283
9283
  onChange: i,
@@ -9333,7 +9333,7 @@ var or = {
9333
9333
  return /* @__PURE__ */ e.createElement("span", {
9334
9334
  className: Z([T, n ?? ""]),
9335
9335
  ...f
9336
- }, /* @__PURE__ */ e.createElement(un, { label: Y }, /* @__PURE__ */ e.createElement("ul", {
9336
+ }, /* @__PURE__ */ e.createElement(dn, { label: Y }, /* @__PURE__ */ e.createElement("ul", {
9337
9337
  className: Z([D, `${D}--mobile`]),
9338
9338
  role: "menu"
9339
9339
  }, J, /* @__PURE__ */ e.createElement("li", { role: "separator" }), ee, ae)), /* @__PURE__ */ e.createElement("button", {
@@ -9354,8 +9354,8 @@ var or = {
9354
9354
  className: D,
9355
9355
  role: "menu"
9356
9356
  }, J, /* @__PURE__ */ e.createElement("li", { role: "separator" }), ee, ie))));
9357
- }, di = ({ 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", workspaceList: l = [], ...u }) => {
9358
- let [d, f] = h(""), [g, _] = h(""), v = m(null), y = l.length >= s, b = "pds-workspace-selector", x = `${b}__menu`, S = y ? `${x}--scroll` : null, { activeIndex: C, floatingStyles: w, getFloatingProps: T, getItemProps: E, getReferenceProps: D, isMounted: O, listRef: k, refs: A, setIsOpen: j, transitionStyles: M } = Zt({
9357
+ }, fi = ({ 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", workspaceList: l = [], ...u }) => {
9358
+ let [d, f] = h(""), [g, _] = h(""), v = m(null), y = l.length >= s, b = "pds-workspace-selector", x = `${b}__menu`, S = y ? `${x}--scroll` : null, { activeIndex: C, floatingStyles: w, getFloatingProps: T, getItemProps: E, getReferenceProps: D, isMounted: O, listRef: k, refs: A, setIsOpen: j, transitionStyles: M } = Qt({
9359
9359
  enableTypeahead: !y,
9360
9360
  role: "menu"
9361
9361
  }), N = l.find((e) => e.isActive);
@@ -9378,7 +9378,7 @@ var or = {
9378
9378
  }), t.displayName, t.isRestricted && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, t.restrictedLabel ?? "Restricted")), (t.isRestricted || t.isActive) && /* @__PURE__ */ e.createElement("div", { className: `${b}__icons` }, t.isRestricted && /* @__PURE__ */ e.createElement(Q, {
9379
9379
  className: `${b}__lock-icon`,
9380
9380
  iconName: "lock"
9381
- }), t.isActive && /* @__PURE__ */ e.createElement(Mn, null))), R = P.map((t, n) => {
9381
+ }), t.isActive && /* @__PURE__ */ e.createElement(Nn, null))), R = P.map((t, n) => {
9382
9382
  let r = `${b}__item`, i = t.workspaceId, a = t.isRestricted && t.onRestrictedSelection, o = t.workspaceLink?.type, s = t.isUnprivileged ? null : (e) => {
9383
9383
  k.current[n] = e;
9384
9384
  };
@@ -9441,7 +9441,7 @@ var or = {
9441
9441
  return /* @__PURE__ */ e.createElement("span", {
9442
9442
  className: Z([b, n]),
9443
9443
  ...u
9444
- }, /* @__PURE__ */ e.createElement(un, { label: V }, y && /* @__PURE__ */ e.createElement("div", { className: `${b}__filter` }, /* @__PURE__ */ e.createElement(Fr, {
9444
+ }, /* @__PURE__ */ e.createElement(dn, { label: V }, y && /* @__PURE__ */ e.createElement("div", { className: `${b}__filter` }, /* @__PURE__ */ e.createElement(Ir, {
9445
9445
  hasClearButton: !0,
9446
9446
  id: "workspace-filter-mobile",
9447
9447
  label: i,
@@ -9478,7 +9478,7 @@ var or = {
9478
9478
  zIndex: "var(--pds-z-index-dropdown)"
9479
9479
  },
9480
9480
  ...T()
9481
- }, y && /* @__PURE__ */ e.createElement("div", { className: `${b}__filter` }, /* @__PURE__ */ e.createElement(Fr, {
9481
+ }, y && /* @__PURE__ */ e.createElement("div", { className: `${b}__filter` }, /* @__PURE__ */ e.createElement(Ir, {
9482
9482
  hasClearButton: !0,
9483
9483
  id: "workspace-filter",
9484
9484
  label: i,
@@ -9494,13 +9494,13 @@ var or = {
9494
9494
  className: `pds-dropdown__heading ${b}__item-heading`,
9495
9495
  role: "presentation"
9496
9496
  }, o), R.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: "pds-dropdown__no-results" }, c) : R), B));
9497
- }, fi = {
9497
+ }, pi = {
9498
9498
  info: "circleInfo",
9499
9499
  warning: "triangleExclamation",
9500
9500
  critical: "diamondExclamation",
9501
9501
  discovery: "bullhorn"
9502
- }, pi = 200, mi = 50, hi = ({ banners: t, className: n, dataContext: r = "product", dismissLabel: i = "Dismiss", labelNext: a = "Go to next message", labelPrevious: o = "Go to previous message", typeLabels: s = {
9503
- ...dn,
9502
+ }, mi = 200, hi = 50, gi = ({ banners: t, className: n, dataContext: r = "product", dismissLabel: i = "Dismiss", labelNext: a = "Go to next message", labelPrevious: o = "Go to previous message", typeLabels: s = {
9503
+ ...fn,
9504
9504
  neutral: "Notice"
9505
9505
  }, ...c }) => {
9506
9506
  let u = r === "marketing", [d, f] = h(t), [p, m] = h(null), [g, _] = h(null), [v, y] = h({});
@@ -9518,21 +9518,21 @@ var or = {
9518
9518
  }, w = d[0].type, T = w ? `${x}-group--${w}` : null, E = (e) => 500 - e, D = (e) => e === 0 ? 0 : -1, O = () => {
9519
9519
  m(d[0].id), setTimeout(() => {
9520
9520
  f((e) => [...e.slice(1), e[0]]), m(null);
9521
- }, pi);
9521
+ }, mi);
9522
9522
  }, k = () => {
9523
9523
  y({
9524
9524
  [d[0].id]: 502,
9525
9525
  [d[b - 1].id]: 501
9526
9526
  }), setTimeout(() => {
9527
9527
  m(d[0].id);
9528
- }, mi), setTimeout(() => {
9528
+ }, hi), setTimeout(() => {
9529
9529
  f((e) => [e[e.length - 1], ...e.slice(0, e.length - 1)]), m(null), y({});
9530
- }, pi);
9530
+ }, mi);
9531
9531
  }, A = (t, n) => {
9532
9532
  let { iconName: r, id: a, isDismissible: o, message: c, onDismiss: l, type: d } = t, m = d === "critical" ? "alert" : "status", h = `${s[d]}: `, y = (e) => {
9533
9533
  e.preventDefault(), _(a), setTimeout(() => {
9534
9534
  l?.(), _(null), f((e) => e.filter((e) => e.id !== a));
9535
- }, pi);
9535
+ }, mi);
9536
9536
  }, b = v[a] ?? E(n);
9537
9537
  return /* @__PURE__ */ e.createElement("div", {
9538
9538
  key: a,
@@ -9547,7 +9547,7 @@ var or = {
9547
9547
  style: { zIndex: b }
9548
9548
  }, /* @__PURE__ */ e.createElement("div", { className: `${x}__content` }, /* @__PURE__ */ e.createElement(Q, {
9549
9549
  className: `${x}__icon ${x}__icon--${t.type}`,
9550
- iconName: d === "neutral" ? r : fi[d],
9550
+ iconName: d === "neutral" ? r : pi[d],
9551
9551
  size: u ? "l" : "m"
9552
9552
  }), /* @__PURE__ */ e.createElement("div", { className: `${x}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, h, " "), c)), o && /* @__PURE__ */ e.createElement("button", {
9553
9553
  className: `${x}__dismiss-button`,
@@ -9565,26 +9565,26 @@ var or = {
9565
9565
  ]),
9566
9566
  "data-context": r,
9567
9567
  ...c
9568
- }, b > 1 ? /* @__PURE__ */ e.createElement("div", { className: `${x}__navigation` }, /* @__PURE__ */ e.createElement(qt, {
9568
+ }, b > 1 ? /* @__PURE__ */ e.createElement("div", { className: `${x}__navigation` }, /* @__PURE__ */ e.createElement(Jt, {
9569
9569
  ariaLabel: o,
9570
9570
  className: `${x}__nav-button ${x}__nav-button--prev`,
9571
9571
  iconName: "angleLeft",
9572
9572
  onClick: k,
9573
9573
  size: "m"
9574
- }), /* @__PURE__ */ e.createElement(qt, {
9574
+ }), /* @__PURE__ */ e.createElement(Jt, {
9575
9575
  ariaLabel: a,
9576
9576
  className: `${x}__nav-button ${x}__nav-button--next`,
9577
9577
  iconName: "angleRight",
9578
9578
  onClick: O,
9579
9579
  size: "m"
9580
9580
  }), d.map((e, t) => A(e, t))) : A(d[0], 0));
9581
- }, gi = {
9581
+ }, _i = {
9582
9582
  info: "circleInfo",
9583
9583
  warning: "triangleExclamation",
9584
9584
  success: "circleCheck",
9585
9585
  critical: "diamondExclamation"
9586
- }, _i = ({ className: t, message: n, title: r, type: i, typeLabels: a = {
9587
- ...dn,
9586
+ }, vi = ({ className: t, message: n, title: r, type: i, typeLabels: a = {
9587
+ ...fn,
9588
9588
  working: "Working"
9589
9589
  }, ...o }) => {
9590
9590
  let s = "pds-inline-message", c = {
@@ -9603,17 +9603,17 @@ var or = {
9603
9603
  ]),
9604
9604
  role: l,
9605
9605
  ...o
9606
- }, /* @__PURE__ */ e.createElement("div", { className: `${s}__icon ${s}__icon-${i}` }, i === "working" ? /* @__PURE__ */ e.createElement(Lt, { size: "m" }) : /* @__PURE__ */ e.createElement(Q, {
9607
- iconName: `${i}` in gi ? gi[i] : gi.info,
9606
+ }, /* @__PURE__ */ e.createElement("div", { className: `${s}__icon ${s}__icon-${i}` }, i === "working" ? /* @__PURE__ */ e.createElement(Rt, { size: "m" }) : /* @__PURE__ */ e.createElement(Q, {
9607
+ iconName: `${i}` in _i ? _i[i] : _i.info,
9608
9608
  size: "m"
9609
9609
  })), /* @__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)));
9610
- }, vi = {
9610
+ }, yi = {
9611
9611
  info: "circleInfo",
9612
9612
  warning: "triangleExclamation",
9613
9613
  success: "circleCheck",
9614
9614
  critical: "diamondExclamation",
9615
9615
  discovery: "squareQuestion"
9616
- }, yi = ({ className: t, ctaButton: n, dataContext: r = "product", dismissLabel: i = "Dismiss", id: a, isDismissible: o, message: s, onDismiss: c, title: l, type: u = "info", typeLabels: d = dn, ...f }) => {
9616
+ }, bi = ({ className: t, ctaButton: n, dataContext: r = "product", dismissLabel: i = "Dismiss", id: a, isDismissible: o, message: s, onDismiss: c, title: l, type: u = "info", typeLabels: d = fn, ...f }) => {
9617
9617
  let p = r === "marketing", h = m(null), g = "pds-section-message", _ = {
9618
9618
  error: `${g}--error`,
9619
9619
  success: `${g}--success`,
@@ -9646,23 +9646,23 @@ var or = {
9646
9646
  role: b,
9647
9647
  ...f
9648
9648
  }, /* @__PURE__ */ e.createElement("div", { className: `${g}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${g}__icon ${g}__icon-${u}` }, /* @__PURE__ */ e.createElement(Q, {
9649
- iconName: `${u}` in vi ? vi[u] : vi.info,
9649
+ iconName: `${u}` in yi ? yi[u] : yi.info,
9650
9650
  size: p ? "xl" : "l"
9651
- })), /* @__PURE__ */ e.createElement("div", { className: `${g}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, x), l && /* @__PURE__ */ e.createElement("div", { className: `${g}__title` }, l), /* @__PURE__ */ e.createElement("div", { className: `${g}__message` }, S))), (n || o) && /* @__PURE__ */ e.createElement("div", { className: `${g}__actions` }, n && /* @__PURE__ */ e.createElement(Wt, {
9651
+ })), /* @__PURE__ */ e.createElement("div", { className: `${g}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, x), l && /* @__PURE__ */ e.createElement("div", { className: `${g}__title` }, l), /* @__PURE__ */ e.createElement("div", { className: `${g}__message` }, S))), (n || o) && /* @__PURE__ */ e.createElement("div", { className: `${g}__actions` }, n && /* @__PURE__ */ e.createElement(Gt, {
9652
9652
  ...n,
9653
9653
  className: `${g}__cta`,
9654
9654
  size: p ? "m" : "s",
9655
9655
  variant: "secondary"
9656
- }), o && /* @__PURE__ */ e.createElement(Yt, {
9656
+ }), o && /* @__PURE__ */ e.createElement(Xt, {
9657
9657
  ariaLabel: i,
9658
9658
  className: `${g}__dismiss`,
9659
9659
  onClick: T,
9660
9660
  size: p ? "l" : "m"
9661
9661
  })));
9662
- }, bi = 3e4, xi = {
9662
+ }, xi = 3e4, Si = {
9663
9663
  pause: "Pause notification",
9664
9664
  resume: "Resume notification"
9665
- }, Si = r({ labelStrings: xi }), Ci = ({ ariaLabel: t, closeToast: n }) => /* @__PURE__ */ e.createElement(Yt, {
9665
+ }, Ci = r({ labelStrings: Si }), wi = ({ ariaLabel: t, closeToast: n }) => /* @__PURE__ */ e.createElement(Xt, {
9666
9666
  ariaLabel: t || "Close",
9667
9667
  className: "pds-toast__close-button",
9668
9668
  onClick: (e) => {
@@ -9670,13 +9670,13 @@ var or = {
9670
9670
  },
9671
9671
  size: "s",
9672
9672
  tabIndex: 0
9673
- }), wi = ({ className: t, labelStrings: n = xi, limit: r = 5, position: i = "bottom-right" }) => {
9673
+ }), Ti = ({ className: t, labelStrings: n = Si, limit: r = 5, position: i = "bottom-right" }) => {
9674
9674
  let a = Z(["pds-toaster", t]);
9675
- return /* @__PURE__ */ e.createElement(Si.Provider, { value: { labelStrings: n } }, /* @__PURE__ */ e.createElement(le, {
9675
+ return /* @__PURE__ */ e.createElement(Ci.Provider, { value: { labelStrings: n } }, /* @__PURE__ */ e.createElement(le, {
9676
9676
  newestOnTop: !0,
9677
9677
  autoClose: !1,
9678
9678
  className: a,
9679
- closeButton: Ci,
9679
+ closeButton: wi,
9680
9680
  draggable: !1,
9681
9681
  icon: !1,
9682
9682
  limit: r,
@@ -9686,25 +9686,25 @@ var or = {
9686
9686
  role: "status",
9687
9687
  transition: ce
9688
9688
  }));
9689
- }, Ti = {
9689
+ }, Ei = {
9690
9690
  info: "circleInfo",
9691
9691
  success: "circleCheck",
9692
9692
  warning: "triangleExclamation",
9693
9693
  critical: "diamondExclamation"
9694
- }, Ei = {
9694
+ }, Di = {
9695
9695
  info: "Information",
9696
9696
  success: "Success",
9697
9697
  warning: "Warning",
9698
9698
  critical: "Critical",
9699
9699
  working: "Working..."
9700
- }, Di = ({ autoCloseDuration: t, children: n, className: r, id: i, toastId: a, type: o = "info", typeLabels: s = Ei }) => {
9700
+ }, Oi = ({ autoCloseDuration: t, children: n, className: r, id: i, toastId: a, type: o = "info", typeLabels: s = Di }) => {
9701
9701
  let l = "pds-toast", u = {
9702
9702
  critical: `${l}--critical`,
9703
9703
  info: `${l}--info`,
9704
9704
  success: `${l}--success`,
9705
9705
  warning: `${l}--warning`,
9706
9706
  working: `${l}--working`
9707
- }, d = `${s[o]} `, { labelStrings: f } = c(Si), [p, m] = h(!1), g = a !== void 0 && o !== "critical" && o !== "working" && typeof t == "number";
9707
+ }, d = `${s[o]} `, { labelStrings: f } = c(Ci), [p, m] = h(!1), g = a !== void 0 && o !== "critical" && o !== "working" && typeof t == "number";
9708
9708
  return /* @__PURE__ */ e.createElement("div", {
9709
9709
  className: Z([
9710
9710
  l,
@@ -9712,9 +9712,9 @@ var or = {
9712
9712
  r
9713
9713
  ]),
9714
9714
  id: i
9715
- }, /* @__PURE__ */ e.createElement("div", { className: `${l}__icon-container` }, o === "working" ? /* @__PURE__ */ e.createElement(Lt, { size: "xl" }) : /* @__PURE__ */ e.createElement(Q, {
9715
+ }, /* @__PURE__ */ e.createElement("div", { className: `${l}__icon-container` }, o === "working" ? /* @__PURE__ */ e.createElement(Rt, { size: "xl" }) : /* @__PURE__ */ e.createElement(Q, {
9716
9716
  className: `${l}__icon ${l}__icon--${o}`,
9717
- iconName: Ti[o],
9717
+ iconName: Ei[o],
9718
9718
  size: "l"
9719
9719
  })), /* @__PURE__ */ e.createElement("div", { className: `${l}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, d), n), g && /* @__PURE__ */ e.createElement("button", {
9720
9720
  "aria-label": p ? f.resume : f.pause,
@@ -9729,11 +9729,11 @@ var or = {
9729
9729
  iconName: p ? "play" : "pause",
9730
9730
  size: "m"
9731
9731
  })));
9732
- }, Oi = /* @__PURE__ */ function(e) {
9732
+ }, ki = /* @__PURE__ */ function(e) {
9733
9733
  return e.Critical = "critical", e.Info = "info", e.Success = "success", e.Warning = "warning", e.Working = "working", e;
9734
- }({}), ki = () => [
9734
+ }({}), Ai = () => [
9735
9735
  (t, n, r = {}) => {
9736
- let i = r.toastId ?? crypto.randomUUID(), a = typeof r.autoClose == "number" ? Math.max(bi, r.autoClose) : !1, o = /* @__PURE__ */ e.createElement(Di, {
9736
+ let i = r.toastId ?? crypto.randomUUID(), a = typeof r.autoClose == "number" ? Math.max(xi, r.autoClose) : !1, o = /* @__PURE__ */ e.createElement(Oi, {
9737
9737
  autoCloseDuration: a || void 0,
9738
9738
  toastId: i,
9739
9739
  type: t
@@ -9758,8 +9758,8 @@ var or = {
9758
9758
  enter: "pds-toast--bounceInPlace",
9759
9759
  exit: "pds-toast--slideOut"
9760
9760
  })
9761
- ], Ai = ({ ariaLabel: t, children: n, className: r, closeButtonLabel: i = "Close drawer", disableOutsideClick: a, hasCloseButton: o = !0, isOpen: c = !1, placement: u = "right", setIsOpen: d = () => {}, size: f = "m", title: p, width: g, ..._ }) => {
9762
- let v = Ie(n), y = v.__unslotted, b = v.footer, x = "pds-drawer", S = g ? null : `${x}--${f}`, C = `${x}--${u}`, w = g ? { width: g } : void 0, [T, E] = h(c), [D, O] = h(!1), k = m(null), { closeOverlay: A, openOverlay: j } = vt();
9761
+ ], ji = ({ ariaLabel: t, children: n, className: r, closeButtonLabel: i = "Close drawer", disableOutsideClick: a, hasCloseButton: o = !0, isOpen: c = !1, placement: u = "right", setIsOpen: d = () => {}, size: f = "m", title: p, width: g, ..._ }) => {
9762
+ let v = Ie(n), y = v.__unslotted, b = v.footer, x = "pds-drawer", S = g ? null : `${x}--${f}`, C = `${x}--${u}`, w = g ? { width: g } : void 0, [T, E] = h(c), [D, O] = h(!1), k = m(null), { closeOverlay: A, openOverlay: j } = yt();
9763
9763
  l(() => {
9764
9764
  c ? E(!0) : O(!1);
9765
9765
  }, [c]), l(() => {
@@ -9818,13 +9818,13 @@ var or = {
9818
9818
  role: "dialog",
9819
9819
  style: w,
9820
9820
  ..._
9821
- }, /* @__PURE__ */ e.createElement("div", { className: `${x}__header` }, p && /* @__PURE__ */ e.createElement("div", { className: `${x}__title` }, p), o && /* @__PURE__ */ e.createElement(Yt, {
9821
+ }, /* @__PURE__ */ e.createElement("div", { className: `${x}__header` }, p && /* @__PURE__ */ e.createElement("div", { className: `${x}__title` }, p), o && /* @__PURE__ */ e.createElement(Xt, {
9822
9822
  ariaLabel: i,
9823
9823
  onClick: M,
9824
9824
  size: "m"
9825
9825
  })), /* @__PURE__ */ e.createElement("div", { className: `${x}__content` }, y), b && /* @__PURE__ */ e.createElement("div", { className: `${x}__footer` }, b)))), document.body) : null;
9826
- }, ji = ({ ariaLabel: t, background: n = "default", children: r, className: i, closeButtonLabel: a = "Close", closeIconName: o = "compress", hasCloseButton: s = !0, isOpen: c, onClose: u, ...d }) => {
9827
- let f = "pds-full-screen-overlay", p = n === "default" ? null : `${f}--bg-${n}`, { closeOverlay: m, openOverlay: h } = vt();
9826
+ }, Mi = ({ ariaLabel: t, background: n = "default", children: r, className: i, closeButtonLabel: a = "Close", closeIconName: o = "compress", hasCloseButton: s = !0, isOpen: c, onClose: u, ...d }) => {
9827
+ let f = "pds-full-screen-overlay", p = n === "default" ? null : `${f}--bg-${n}`, { closeOverlay: m, openOverlay: h } = yt();
9828
9828
  l(() => {
9829
9829
  if (!(!h || !m) && c) return h(), () => m();
9830
9830
  }, [
@@ -9875,10 +9875,10 @@ var or = {
9875
9875
  style: S,
9876
9876
  ...b(),
9877
9877
  ...d
9878
- }, s && /* @__PURE__ */ e.createElement(bt, {
9878
+ }, s && /* @__PURE__ */ e.createElement(xt, {
9879
9879
  className: `${f}__close-button`,
9880
9880
  content: a,
9881
- customTrigger: /* @__PURE__ */ e.createElement(qt, {
9881
+ customTrigger: /* @__PURE__ */ e.createElement(Jt, {
9882
9882
  hasBorder: !0,
9883
9883
  ariaLabel: a,
9884
9884
  hasTooltip: !1,
@@ -9888,13 +9888,13 @@ var or = {
9888
9888
  }),
9889
9889
  zIndex: 9999
9890
9890
  }), /* @__PURE__ */ e.createElement("div", { className: `${f}__content` }, r)))), document.body) : null;
9891
- }, Mi = ({ ariaLabel: t, children: n, className: r, closeButtonLabel: i = "Close modal", contentMaxHeight: a, disableOutsideClick: o, hasCloseButton: s = !0, modalIsOpen: c = !1, setModalIsOpen: u = () => {}, size: d = "m", title: f, ...p }) => {
9891
+ }, Ni = ({ ariaLabel: t, children: n, className: r, closeButtonLabel: i = "Close modal", contentMaxHeight: a, disableOutsideClick: o, hasCloseButton: s = !0, modalIsOpen: c = !1, setModalIsOpen: u = () => {}, size: d = "m", title: f, ...p }) => {
9892
9892
  let m = Ie(n), g = m.__unslotted, _ = m.footer, b = "pds-modal", x = d === "m" ? null : `${b}--${d}`, S = a ? {
9893
9893
  maxHeight: a,
9894
9894
  paddingInlineEnd: "1rem",
9895
9895
  marginInlineEnd: "-1rem",
9896
9896
  overflowY: "auto"
9897
- } : null, [C, w] = h(c), { closeOverlay: T, openOverlay: E } = vt();
9897
+ } : null, [C, w] = h(c), { closeOverlay: T, openOverlay: E } = yt();
9898
9898
  l(() => {
9899
9899
  w(c);
9900
9900
  }, [c]), l(() => {
@@ -9956,7 +9956,7 @@ var or = {
9956
9956
  top: "5%"
9957
9957
  },
9958
9958
  ...p
9959
- }, s && /* @__PURE__ */ e.createElement("div", { className: `${b}__close-wrapper` }, /* @__PURE__ */ e.createElement(Yt, {
9959
+ }, s && /* @__PURE__ */ e.createElement("div", { className: `${b}__close-wrapper` }, /* @__PURE__ */ e.createElement(Xt, {
9960
9960
  ariaLabel: i,
9961
9961
  onClick: () => w(!1),
9962
9962
  size: "l"
@@ -9964,27 +9964,27 @@ var or = {
9964
9964
  className: `${b}__content`,
9965
9965
  style: S
9966
9966
  }, g), _ && /* @__PURE__ */ e.createElement("div", { className: `${b}__footer` }, _)))));
9967
- }, Ni = (e, t) => {
9967
+ }, Pi = (e, t) => {
9968
9968
  let n = t - e + 1;
9969
9969
  return Array.from({ length: n }, (t, n) => n + e);
9970
- }, Pi = ({ bufferCount: e = 1, currentPage: t, itemsPerPage: n, totalItemCount: r }) => p(() => {
9970
+ }, Fi = ({ bufferCount: e = 1, currentPage: t, itemsPerPage: n, totalItemCount: r }) => p(() => {
9971
9971
  let i = Math.ceil(r / n), a = e + 5, o = i;
9972
- if (a >= i) return Ni(1, i);
9972
+ if (a >= i) return Pi(1, i);
9973
9973
  let s = Math.max(t - e, 1), c = Math.min(t + e, i), l = s > 2, u = c < i - 2;
9974
9974
  if (!l && u) return [
9975
- ...Ni(1, 3 + 2 * e),
9975
+ ...Pi(1, 3 + 2 * e),
9976
9976
  "...",
9977
9977
  i
9978
9978
  ];
9979
9979
  if (l && !u) return [
9980
9980
  1,
9981
9981
  "...",
9982
- ...Ni(i - (3 + 2 * e) + 1, i)
9982
+ ...Pi(i - (3 + 2 * e) + 1, i)
9983
9983
  ];
9984
9984
  if (l && u) return [
9985
9985
  1,
9986
9986
  "...",
9987
- ...Ni(s, c),
9987
+ ...Pi(s, c),
9988
9988
  "...",
9989
9989
  o
9990
9990
  ];
@@ -9993,11 +9993,11 @@ var or = {
9993
9993
  n,
9994
9994
  e,
9995
9995
  t
9996
- ]), Fi = ({ bufferCount: t = 1, className: n, currentPage: r, headingLevel: i = "h2", headingText: a = "Pagination", itemsPerPage: o = 10, labelStrings: s = {
9996
+ ]), Ii = ({ bufferCount: t = 1, className: n, currentPage: r, headingLevel: i = "h2", headingText: a = "Pagination", itemsPerPage: o = 10, labelStrings: s = {
9997
9997
  previous: "Go to previous page",
9998
9998
  next: "Go to next page"
9999
9999
  }, onPageChange: c, size: l = "m", totalItemCount: u, ...d }) => {
10000
- let f = Pi({
10000
+ let f = Fi({
10001
10001
  currentPage: r,
10002
10002
  totalItemCount: u,
10003
10003
  bufferCount: t,
@@ -10015,12 +10015,12 @@ var or = {
10015
10015
  n ?? ""
10016
10016
  ]),
10017
10017
  ...d
10018
- }, /* @__PURE__ */ e.createElement(Ht, {
10018
+ }, /* @__PURE__ */ e.createElement(Ut, {
10019
10019
  baseClass: g,
10020
10020
  className: "visually-hidden",
10021
10021
  id: "pagination",
10022
10022
  level: i
10023
- }, a), /* @__PURE__ */ e.createElement("ul", { className: `${g}__list` }, r !== 1 && /* @__PURE__ */ e.createElement("li", { className: Z([_, `${_}--prev`]) }, /* @__PURE__ */ e.createElement(bt, {
10023
+ }, a), /* @__PURE__ */ e.createElement("ul", { className: `${g}__list` }, r !== 1 && /* @__PURE__ */ e.createElement("li", { className: Z([_, `${_}--prev`]) }, /* @__PURE__ */ e.createElement(xt, {
10024
10024
  content: s.previous,
10025
10025
  customTrigger: /* @__PURE__ */ e.createElement("button", {
10026
10026
  "aria-label": s.previous,
@@ -10040,7 +10040,7 @@ var or = {
10040
10040
  "aria-current": r === t ? "page" : void 0,
10041
10041
  onClick: () => c(Number(t)),
10042
10042
  type: "button"
10043
- }, t))), r !== p && /* @__PURE__ */ e.createElement("li", { className: Z([_, `${_}--next`]) }, /* @__PURE__ */ e.createElement(bt, {
10043
+ }, t))), r !== p && /* @__PURE__ */ e.createElement("li", { className: Z([_, `${_}--next`]) }, /* @__PURE__ */ e.createElement(xt, {
10044
10044
  content: s.next,
10045
10045
  customTrigger: /* @__PURE__ */ e.createElement("button", {
10046
10046
  "aria-label": s.next,
@@ -10051,7 +10051,7 @@ var or = {
10051
10051
  size: "m"
10052
10052
  }))
10053
10053
  }))));
10054
- }, Ii = ({ className: t, currentPage: n, headingLevel: r = "h2", headingText: i = "Pagination", itemsPerPage: a = 10, labelStrings: o = {
10054
+ }, Li = ({ className: t, currentPage: n, headingLevel: r = "h2", headingText: i = "Pagination", itemsPerPage: a = 10, labelStrings: o = {
10055
10055
  next: "Go to next page",
10056
10056
  of: "of",
10057
10057
  pageSelect: "Go to page",
@@ -10065,12 +10065,12 @@ var or = {
10065
10065
  "aria-labelledby": "pagination-compact",
10066
10066
  className: Z([_, t ?? ""]),
10067
10067
  ...l
10068
- }, /* @__PURE__ */ e.createElement(Ht, {
10068
+ }, /* @__PURE__ */ e.createElement(Ut, {
10069
10069
  baseClass: _,
10070
10070
  className: "visually-hidden",
10071
10071
  id: "pagination-compact",
10072
10072
  level: r
10073
- }, i), /* @__PURE__ */ e.createElement(Pn, {
10073
+ }, i), /* @__PURE__ */ e.createElement(Fn, {
10074
10074
  autoWidth: !0,
10075
10075
  id: d,
10076
10076
  label: o.pageSelect,
@@ -10079,7 +10079,7 @@ var or = {
10079
10079
  showLabel: !1,
10080
10080
  size: "s",
10081
10081
  value: String(n)
10082
- }), /* @__PURE__ */ e.createElement("span", { className: `${_}__count` }, o.of, " ", f), /* @__PURE__ */ e.createElement("div", { className: `${_}__nav` }, /* @__PURE__ */ e.createElement(bt, {
10082
+ }), /* @__PURE__ */ e.createElement("span", { className: `${_}__count` }, o.of, " ", f), /* @__PURE__ */ e.createElement("div", { className: `${_}__nav` }, /* @__PURE__ */ e.createElement(xt, {
10083
10083
  content: o.previous,
10084
10084
  customTrigger: /* @__PURE__ */ e.createElement("button", {
10085
10085
  "aria-disabled": h ? !0 : void 0,
@@ -10091,7 +10091,7 @@ var or = {
10091
10091
  iconName: "angleLeft",
10092
10092
  size: "m"
10093
10093
  }))
10094
- }), /* @__PURE__ */ e.createElement(bt, {
10094
+ }), /* @__PURE__ */ e.createElement(xt, {
10095
10095
  content: o.next,
10096
10096
  customTrigger: /* @__PURE__ */ e.createElement("button", {
10097
10097
  "aria-disabled": g ? !0 : void 0,
@@ -10104,7 +10104,7 @@ var or = {
10104
10104
  size: "m"
10105
10105
  }))
10106
10106
  })));
10107
- }, Li = ({ className: t, currentPage: n, headingLevel: r = "h2", headingText: i = "Pagination", itemsPerPage: a = 10, labelStrings: o = {
10107
+ }, Ri = ({ className: t, currentPage: n, headingLevel: r = "h2", headingText: i = "Pagination", itemsPerPage: a = 10, labelStrings: o = {
10108
10108
  next: "Next",
10109
10109
  previous: "Previous"
10110
10110
  }, nextPage: s, onPageChange: c, previousPage: l, totalItemCount: u, ...d }) => {
@@ -10113,7 +10113,7 @@ var or = {
10113
10113
  "aria-labelledby": "pagination-mini",
10114
10114
  className: Z([g, t ?? ""]),
10115
10115
  ...d
10116
- }, /* @__PURE__ */ e.createElement(Ht, {
10116
+ }, /* @__PURE__ */ e.createElement(Ut, {
10117
10117
  baseClass: g,
10118
10118
  className: "visually-hidden",
10119
10119
  id: "pagination-mini",
@@ -10133,7 +10133,7 @@ var or = {
10133
10133
  iconName: "angleRight",
10134
10134
  size: "m"
10135
10135
  }))));
10136
- }, Ri = ({ children: t, className: n, id: r, isOpen: i = !1, showBorder: a = !0, summary: o, ...s }) => {
10136
+ }, zi = ({ children: t, className: n, id: r, isOpen: i = !1, showBorder: a = !0, summary: o, ...s }) => {
10137
10137
  let [c, d] = h(i), f = u(), p = r ?? `expansion-panel-${f}`, g = "pds-expansion-panel", _ = a ? null : `${g}--no-border`, v = m(null);
10138
10138
  return l(() => {
10139
10139
  let e = v.current;
@@ -10157,7 +10157,7 @@ var or = {
10157
10157
  className: `${g}__icon ${c ? "rotated" : ""}`,
10158
10158
  iconName: "angleDown"
10159
10159
  })), /* @__PURE__ */ e.createElement("div", { className: `${g}__content` }, t)));
10160
- }, zi = ({ children: t, className: n, displayType: r = "standard", ...i }) => {
10160
+ }, Bi = ({ children: t, className: n, displayType: r = "standard", ...i }) => {
10161
10161
  let a = "pds-expansion-panel-group", o = r === "standard" ? null : `${a}--${r}`;
10162
10162
  return /* @__PURE__ */ e.createElement("div", {
10163
10163
  className: Z([
@@ -10167,7 +10167,7 @@ var or = {
10167
10167
  ]),
10168
10168
  ...i
10169
10169
  }, t);
10170
- }, Bi = ({ children: t, className: n, padding: r = "standard", variant: i = "default", ...a }) => {
10170
+ }, Vi = ({ children: t, className: n, padding: r = "standard", variant: i = "default", ...a }) => {
10171
10171
  let o = "pds-panel", s = i === "default" ? null : `${o}--${i}`, c = `${o}__content`, l = r === "standard" ? null : `${c}--pad-${r}`;
10172
10172
  return /* @__PURE__ */ e.createElement("div", {
10173
10173
  className: Z([
@@ -10177,7 +10177,7 @@ var or = {
10177
10177
  ]),
10178
10178
  ...a
10179
10179
  }, /* @__PURE__ */ e.createElement("div", { className: Z([c, l]) }, t));
10180
- }, Vi = ({ background: t = "default", children: n, className: r, hasBorder: i = !0, paddingSize: a = "m", ...o }) => {
10180
+ }, Hi = ({ background: t = "default", children: n, className: r, hasBorder: i = !0, paddingSize: a = "m", ...o }) => {
10181
10181
  let s = "pds-panel-list", c = `pds-panel-list--${a}`, l = t === "default" ? null : `${s}--${t}`, u = i ? null : `${s}--borderless`;
10182
10182
  return /* @__PURE__ */ e.createElement("ul", {
10183
10183
  className: Z([
@@ -10189,7 +10189,7 @@ var or = {
10189
10189
  ]),
10190
10190
  ...o
10191
10191
  }, n);
10192
- }, Hi = ({ children: t, className: n, expandButtonAriaLabel: r, isExpandable: i = !1, ...a }) => {
10192
+ }, Ui = ({ children: t, className: n, expandButtonAriaLabel: r, isExpandable: i = !1, ...a }) => {
10193
10193
  let o = "pds-panel-row", [s, c] = h(!1), l = Ie(t), u = l["items-left"], d = l["items-right"], f = l["items-below"], p = () => {
10194
10194
  c((e) => !e);
10195
10195
  };
@@ -10220,7 +10220,7 @@ var or = {
10220
10220
  opacity: "0"
10221
10221
  }
10222
10222
  }, /* @__PURE__ */ e.createElement("div", { className: `${o}__items-inside` }, f)));
10223
- }, Ui = /* @__PURE__ */ e.createElement("svg", {
10223
+ }, Wi = /* @__PURE__ */ e.createElement("svg", {
10224
10224
  "aria-label": "Pantheon",
10225
10225
  fill: "none",
10226
10226
  focusable: "false",
@@ -10283,7 +10283,7 @@ var or = {
10283
10283
  }), /* @__PURE__ */ e.createElement("path", {
10284
10284
  d: "M161.5 16.65H161V16.35H162.5V16.65H162V18.25H161.6V16.65H161.5ZM163.6 18.25L163.1 16.75V18.25H162.7V16.35H163.3L163.8 17.85L164.3 16.35H164.9V18.25H164.5V16.75L164 18.25H163.6Z",
10285
10285
  fill: "var(--pds-color-foreground-default)"
10286
- })), Wi = /* @__PURE__ */ e.createElement("svg", {
10286
+ })), Gi = /* @__PURE__ */ e.createElement("svg", {
10287
10287
  "aria-label": "Pantheon",
10288
10288
  fill: "none",
10289
10289
  focusable: "false",
@@ -10319,7 +10319,7 @@ var or = {
10319
10319
  }), /* @__PURE__ */ e.createElement("path", {
10320
10320
  d: "M5.4 24.2L3.7 19.9H7.6L9.4 24.2H13.1L9.8 16.3H1.7C1.1 16.3 0.7 16.3 0.4 17.2C0.0999996 18.3 0 20.4 0 24.5C0 28.6 -3.8743e-07 30.7 0.4 31.8C0.7 32.7 1 32.7 1.7 32.7H8.8L5.4 24.2Z",
10321
10321
  fill: "var(--pds-color-foreground-default)"
10322
- })), Gi = /* @__PURE__ */ e.createElement("svg", {
10322
+ })), Ki = /* @__PURE__ */ e.createElement("svg", {
10323
10323
  "aria-label": "Pantheon",
10324
10324
  fill: "none",
10325
10325
  focusable: "false",
@@ -10355,17 +10355,17 @@ var or = {
10355
10355
  }), /* @__PURE__ */ e.createElement("path", {
10356
10356
  d: "M135.7 0.299999H135.2V0H136.7V0.299999H136.2V1.9H135.8V0.299999H135.7ZM137.8 1.9L137.3 0.4V1.9H136.9V0H137.5L138 1.5L138.5 0H139.1V1.9H138.7V0.4L138.2 1.9H137.8Z",
10357
10357
  fill: "var(--pds-color-foreground-default)"
10358
- })), Ki = ({ className: t, colorType: n = "default", displayType: r = "full", linkContent: i, size: a = "m", ...s }) => {
10358
+ })), qi = ({ className: t, colorType: n = "default", displayType: r = "full", linkContent: i, size: a = "m", ...s }) => {
10359
10359
  let c = "pds-pantheon-logo", l = r && r !== "full" ? `${c}--${r}` : null, u = n && n !== "default" ? `${c}--${n}` : null, d = a === "m" ? null : `${c}--${a}`, f;
10360
10360
  switch (r) {
10361
10361
  case "full":
10362
- f = Ui;
10362
+ f = Wi;
10363
10363
  break;
10364
10364
  case "icon":
10365
- f = Wi;
10365
+ f = Gi;
10366
10366
  break;
10367
10367
  case "wordmark":
10368
- f = Gi;
10368
+ f = Ki;
10369
10369
  break;
10370
10370
  }
10371
10371
  let p = o(i) && typeof i.props.children == "string" ? i.props.children : "", m = o(i) ? i.type : null, h = o(i) && m ? /* @__PURE__ */ e.createElement(m, Object.assign({}, i.props, {
@@ -10382,7 +10382,7 @@ var or = {
10382
10382
  ]),
10383
10383
  ...s
10384
10384
  }, i ? h : f);
10385
- }, qi = 8, Ji = 14, Yi = ({ className: t, classNameContainer: n, closeButtonLabel: r = "Close", content: i, customTrigger: a = !1, hasCloseButton: o = !1, offsetValue: s = 0, onClose: c = () => {}, placement: u = "top", popoverIsOpen: d = !1, setPopoverIsOpen: f = () => {}, title: p, triggerAccessibleText: g = "Show more information", triggerIcon: y = "circleInfo", triggerIconSize: T = "m", ...D }) => {
10385
+ }, Ji = 8, Yi = 14, Xi = ({ className: t, classNameContainer: n, closeButtonLabel: r = "Close", content: i, customTrigger: a = !1, hasCloseButton: o = !1, offsetValue: s = 0, onClose: c = () => {}, placement: u = "top", popoverIsOpen: d = !1, setPopoverIsOpen: f = () => {}, title: p, triggerAccessibleText: g = "Show more information", triggerIcon: y = "circleInfo", triggerIconSize: T = "m", ...D }) => {
10386
10386
  let [j, M] = h(d);
10387
10387
  l(() => {
10388
10388
  M(d);
@@ -10408,12 +10408,12 @@ var or = {
10408
10408
  O(V),
10409
10409
  k(V),
10410
10410
  I(V)
10411
- ]), J = U.arrow?.x ?? 0, ee = U.arrow?.y ?? 0, te = J + Ji / 2, ne = ee + qi, { isMounted: re } = L(V, {
10411
+ ]), J = U.arrow?.x ?? 0, ee = U.arrow?.y ?? 0, te = J + Yi / 2, ne = ee + Ji, { isMounted: re } = L(V, {
10412
10412
  initial: { transform: "scale(0)" },
10413
10413
  common: ({ side: e }) => ({ transformOrigin: {
10414
- top: `${te}px calc(100% + ${qi}px)`,
10414
+ top: `${te}px calc(100% + ${Ji}px)`,
10415
10415
  bottom: `${te}px -8px`,
10416
- left: `calc(100% + ${qi}px) ${ne}px`,
10416
+ left: `calc(100% + ${Ji}px) ${ne}px`,
10417
10417
  right: `-8px ${ne}px`
10418
10418
  }[e] })
10419
10419
  });
@@ -10445,23 +10445,23 @@ var or = {
10445
10445
  className: `${F}__arrow`,
10446
10446
  context: V,
10447
10447
  fill: "var(--pds-color-surface-default)",
10448
- height: qi,
10448
+ height: Ji,
10449
10449
  stroke: "var(--pds-color-popover-border)",
10450
10450
  strokeWidth: 1,
10451
10451
  tipRadius: 0,
10452
- width: Ji
10453
- }), /* @__PURE__ */ e.createElement("div", { className: `${F}__container-inner` }, p && /* @__PURE__ */ e.createElement("div", { className: `${F}__title` }, p), i && /* @__PURE__ */ e.createElement("div", { className: `${F}__content` }, i), o && /* @__PURE__ */ e.createElement("div", { className: `${F}__close-wrapper` }, /* @__PURE__ */ e.createElement(Yt, {
10452
+ width: Yi
10453
+ }), /* @__PURE__ */ e.createElement("div", { className: `${F}__container-inner` }, p && /* @__PURE__ */ e.createElement("div", { className: `${F}__title` }, p), i && /* @__PURE__ */ e.createElement("div", { className: `${F}__content` }, i), o && /* @__PURE__ */ e.createElement("div", { className: `${F}__close-wrapper` }, /* @__PURE__ */ e.createElement(Xt, {
10454
10454
  ariaLabel: r,
10455
10455
  onClick: G,
10456
10456
  size: "s"
10457
10457
  })))))));
10458
- }, Xi = {
10458
+ }, Zi = {
10459
10459
  neutral: "--pds-color-status-neutral-indicator",
10460
10460
  info: "--pds-color-status-info-fill",
10461
10461
  success: "--pds-color-status-success-fill",
10462
10462
  warning: "--pds-color-status-warning-fill",
10463
10463
  critical: "--pds-color-status-critical-fill"
10464
- }, Zi = ({ className: t, colorBreakpoints: n = [{
10464
+ }, Qi = ({ className: t, colorBreakpoints: n = [{
10465
10465
  colorType: "info",
10466
10466
  percentage: 0
10467
10467
  }, {
@@ -10482,7 +10482,7 @@ var or = {
10482
10482
  id: m
10483
10483
  }, i), (x || l) && /* @__PURE__ */ e.createElement("div", { className: `${h}__details` }, x && b, l && /* @__PURE__ */ e.createElement("div", {
10484
10484
  className: `${h}__percentage`,
10485
- style: { color: `hsl(from var(${Xi[y]}) h s calc(l - 7))` }
10485
+ style: { color: `hsl(from var(${Zi[y]}) h s calc(l - 7))` }
10486
10486
  }, s, "%")), /* @__PURE__ */ e.createElement("div", { className: `${h}__wrapper` }, /* @__PURE__ */ e.createElement("div", {
10487
10487
  "aria-labelledby": m,
10488
10488
  "aria-valuenow": v,
@@ -10492,16 +10492,16 @@ var or = {
10492
10492
  className: `${h}__bar`,
10493
10493
  style: {
10494
10494
  width: `${v}%`,
10495
- backgroundColor: `var(${Xi[y]})`
10495
+ backgroundColor: `var(${Zi[y]})`
10496
10496
  }
10497
10497
  }))), S && b);
10498
- }, Qi = {
10498
+ }, $i = {
10499
10499
  neutral: "--pds-color-status-neutral-indicator",
10500
10500
  info: "--pds-color-status-info-fill",
10501
10501
  success: "--pds-color-status-success-fill",
10502
10502
  warning: "--pds-color-status-warning-fill",
10503
10503
  critical: "--pds-color-status-critical-fill"
10504
- }, $i = ({ className: t, colorBreakpoints: n = [{
10504
+ }, ea = ({ className: t, colorBreakpoints: n = [{
10505
10505
  colorType: "info",
10506
10506
  percentage: 0
10507
10507
  }, {
@@ -10550,7 +10550,7 @@ var or = {
10550
10550
  strokeDasharray: x,
10551
10551
  strokeDashoffset: S,
10552
10552
  strokeWidth: y,
10553
- style: { stroke: `var(${Qi[C]})` },
10553
+ style: { stroke: `var(${$i[C]})` },
10554
10554
  transform: `rotate(-90 ${v / 2} ${v / 2})`
10555
10555
  }), /* @__PURE__ */ e.createElement("text", {
10556
10556
  alignmentBaseline: "middle",
@@ -10560,7 +10560,7 @@ var or = {
10560
10560
  x: "50%",
10561
10561
  y: "51%"
10562
10562
  }, w))));
10563
- }, ea = ({ as: t = "div", children: n, className: r, containerWidth: i = "full", hasTopBorder: a, legalLinks: o = [
10563
+ }, ta = ({ as: t = "div", children: n, className: r, containerWidth: i = "full", hasTopBorder: a, legalLinks: o = [
10564
10564
  "privacy",
10565
10565
  "dataSubjectRequest",
10566
10566
  "cookiePolicy",
@@ -10578,10 +10578,10 @@ var or = {
10578
10578
  ]),
10579
10579
  ...c
10580
10580
  }, /* @__PURE__ */ e.createElement("div", { className: f }, n && /* @__PURE__ */ e.createElement("div", { className: `${l}__content` }, n), /* @__PURE__ */ e.createElement("div", { className: `${l}__legal` }, /* @__PURE__ */ e.createElement("span", { className: `${l}__copyright` }, "© ", p, " Pantheon Systems, Inc."), m && /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Privacy Policy"), h && /* @__PURE__ */ e.createElement("a", { href: "http://pantheon.io/data-subject-request" }, "Data Subject Request"), g && /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Cookie Policy"), _ && /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Terms of Use"), v && /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Acceptable Use Policy"), y && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/accessibility-statement" }, "Accessibility Statement"))));
10581
- }, ta = ({ className: t, option: n, ...r }) => {
10582
- let i = "pds-site-option-display", a = n.type ? _n[n.type] : "boltSolid", o = m(null), [s] = pe(o), c = s.width / 16 - 7.5, l, u;
10581
+ }, na = ({ className: t, option: n, ...r }) => {
10582
+ let i = "pds-site-option-display", a = n.type ? vn[n.type] : "boltSolid", o = m(null), [s] = pe(o), c = s.width / 16 - 7.5, l, u;
10583
10583
  n.status === "active" && (l = "Active", u = "success"), n.status === "frozen" && (l = "Frozen", u = "frozen"), n.status === "restricted" && (l = "Restricted", u = "critical");
10584
- let d = /* @__PURE__ */ e.createElement(Rt, {
10584
+ let d = /* @__PURE__ */ e.createElement(zt, {
10585
10585
  hasStatusIndicator: !0,
10586
10586
  label: l,
10587
10587
  statusType: u
@@ -10601,7 +10601,7 @@ var or = {
10601
10601
  className: `${i}__status`,
10602
10602
  style: { pointerEvents: "none" }
10603
10603
  }, d));
10604
- }, na = ({ className: t, disabled: n = !1, id: r, isLoading: i = !1, label: a = "Search sites", labelStrings: o = {
10604
+ }, ra = ({ className: t, disabled: n = !1, id: r, isLoading: i = !1, label: a = "Search sites", labelStrings: o = {
10605
10605
  clearButton: "Clear input text",
10606
10606
  inputInstructions: "Type to search options"
10607
10607
  }, loadingText: s = "Loading results...", noResultsText: c = "No results found", onFocus: l, onOptionSelect: u, placeholder: d = "Search sites", siteList: f, ...p }) => {
@@ -10613,7 +10613,7 @@ var or = {
10613
10613
  id: n,
10614
10614
  label: i,
10615
10615
  value: r ?? i,
10616
- optionDisplay: /* @__PURE__ */ e.createElement(ta, { option: t }),
10616
+ optionDisplay: /* @__PURE__ */ e.createElement(na, { option: t }),
10617
10617
  siteData: t
10618
10618
  };
10619
10619
  });
@@ -10621,7 +10621,7 @@ var or = {
10621
10621
  className: Z([_, t ?? ""]),
10622
10622
  id: r,
10623
10623
  ...p
10624
- }, /* @__PURE__ */ e.createElement("div", { className: `${_}__inner` }, /* @__PURE__ */ e.createElement(br, {
10624
+ }, /* @__PURE__ */ e.createElement("div", { className: `${_}__inner` }, /* @__PURE__ */ e.createElement(xr, {
10625
10625
  hasClearButton: !0,
10626
10626
  hasSearchShortcut: !0,
10627
10627
  className: `${_}__combobox`,
@@ -10642,7 +10642,7 @@ var or = {
10642
10642
  };
10643
10643
  //#endregion
10644
10644
  //#region src/components/SortableList/sortable-utils.ts
10645
- function ra(e, t, n = null, r = 0, i = []) {
10645
+ function ia(e, t, n = null, r = 0, i = []) {
10646
10646
  return e.reduce((e, a, o) => {
10647
10647
  let s = !!a.children?.length, c = t.has(a.id);
10648
10648
  return e.push({
@@ -10654,10 +10654,10 @@ function ra(e, t, n = null, r = 0, i = []) {
10654
10654
  index: o,
10655
10655
  isExpanded: c,
10656
10656
  parentId: n
10657
- }), s && c && a.children && e.push(...ra(a.children, t, a.id, r + 1, [...i, a.id])), e;
10657
+ }), s && c && a.children && e.push(...ia(a.children, t, a.id, r + 1, [...i, a.id])), e;
10658
10658
  }, []);
10659
10659
  }
10660
- function ia(e) {
10660
+ function aa(e) {
10661
10661
  let t = /* @__PURE__ */ new Map(), n = new Set(e.map((e) => e.id)), r = [];
10662
10662
  for (let i of e) {
10663
10663
  let e = i.data.children ?? [], a = e.length > 0 && !e.some((e) => n.has(e.id)), o = {
@@ -10670,28 +10670,28 @@ function ia(e) {
10670
10670
  e && (e.children || (e.children = []), e.children.push(o));
10671
10671
  }
10672
10672
  }
10673
- return aa(r);
10673
+ return oa(r);
10674
10674
  }
10675
- function aa(e) {
10675
+ function oa(e) {
10676
10676
  return e.map((e) => {
10677
10677
  if (e.children?.length) return {
10678
10678
  ...e,
10679
- children: aa(e.children)
10679
+ children: oa(e.children)
10680
10680
  };
10681
10681
  let { children: t, ...n } = e;
10682
10682
  return n;
10683
10683
  });
10684
10684
  }
10685
- function oa(e, t) {
10685
+ function sa(e, t) {
10686
10686
  for (let n of e) {
10687
10687
  if (n.id === t) return n;
10688
10688
  if (n.children) {
10689
- let e = oa(n.children, t);
10689
+ let e = sa(n.children, t);
10690
10690
  if (e) return e;
10691
10691
  }
10692
10692
  }
10693
10693
  }
10694
- function sa(e, t, n, r, i, a, o) {
10694
+ function ca(e, t, n, r, i, a, o) {
10695
10695
  let s = e.findIndex((e) => e.id === n);
10696
10696
  if (s === -1) return 0;
10697
10697
  let c = e[s], l = Math.round(r / i), u = e.find((e) => e.id === t), d = (o ?? u?.depth ?? c.depth) + l, f = e[s - 1], p = f ? f.depth + 1 : 0, m = e.slice(s + 1).find((e) => e.id !== t && !e.ancestorIds.includes(t) && !e.ancestorIds.includes(n)), h = m ? m.depth : 0;
@@ -10699,7 +10699,7 @@ function sa(e, t, n, r, i, a, o) {
10699
10699
  }
10700
10700
  //#endregion
10701
10701
  //#region src/components/SortableList/SortableListHeader.tsx
10702
- var ca = ({ children: t, className: n, columns: r, ...i }) => {
10702
+ var la = ({ children: t, className: n, columns: r, ...i }) => {
10703
10703
  if (!r && !t) return null;
10704
10704
  let a = r ? {
10705
10705
  display: "grid",
@@ -10720,13 +10720,13 @@ var ca = ({ children: t, className: n, columns: r, ...i }) => {
10720
10720
  };
10721
10721
  //#endregion
10722
10722
  //#region src/components/SortableList/useSortableTree.ts
10723
- function la({ defaultItems: e, isDragEnabled: t = !1, items: n, onReorder: r }) {
10723
+ function ua({ defaultItems: e, isDragEnabled: t = !1, items: n, onReorder: r }) {
10724
10724
  let i = n !== void 0, [a, o] = h(() => n ?? e ?? []), [c, l] = h(/* @__PURE__ */ new Set()), u = m(null), d = m(t);
10725
10725
  t && !d.current && (u.current = {
10726
10726
  items: i ? n : a,
10727
10727
  expandedIds: c
10728
- }), t || (u.current = null), d.current = t, process.env.NODE_ENV !== "production" && n !== void 0 && e !== void 0 && da("SortableList received both `items` and `defaultItems`. `items` will be used and `defaultItems` will be ignored.");
10729
- let f = i ? n : a, g = p(() => ra(f, c), [f, c]), _ = p(() => g.map((e) => e.id), [g]), v = s((e) => {
10728
+ }), t || (u.current = null), d.current = t, process.env.NODE_ENV !== "production" && n !== void 0 && e !== void 0 && fa("SortableList received both `items` and `defaultItems`. `items` will be used and `defaultItems` will be ignored.");
10729
+ let f = i ? n : a, g = p(() => ia(f, c), [f, c]), _ = p(() => g.map((e) => e.id), [g]), v = s((e) => {
10730
10730
  l((t) => {
10731
10731
  let n = new Set(t);
10732
10732
  return n.has(e) ? n.delete(e) : n.add(e), n;
@@ -10744,7 +10744,7 @@ function la({ defaultItems: e, isDragEnabled: t = !1, items: n, onReorder: r })
10744
10744
  }, []),
10745
10745
  flatNodes: g,
10746
10746
  handleReorder: s((e) => {
10747
- let t = ia(e);
10747
+ let t = aa(e);
10748
10748
  i || o(t), r?.(t);
10749
10749
  }, [i, r]),
10750
10750
  resetToSnapshot: s(() => {
@@ -10756,24 +10756,24 @@ function la({ defaultItems: e, isDragEnabled: t = !1, items: n, onReorder: r })
10756
10756
  toggleExpand: v
10757
10757
  };
10758
10758
  }
10759
- var ua = /* @__PURE__ */ new Set();
10760
- function da(e) {
10761
- ua.has(e) || (ua.add(e), console.warn(e));
10759
+ var da = /* @__PURE__ */ new Set();
10760
+ function fa(e) {
10761
+ da.has(e) || (da.add(e), console.warn(e));
10762
10762
  }
10763
10763
  //#endregion
10764
10764
  //#region src/components/SortableList/SortableList.tsx
10765
- var fa = 24, pa = { droppable: { strategy: _e.Always } }, ma = a(function({ children: n, className: r, columns: i, defaultItems: a, getItemLabel: c = (e) => String(e.id), isDragEnabled: l, isItemLocked: u = () => !1, isNestingLocked: f = () => !1, items: g, maxDepth: _ = 0, onReorder: v, renderRow: y, reorderMode: b = "always", screenReaderInstructions: x, ...S }, C) {
10765
+ var pa = 24, ma = { droppable: { strategy: _e.Always } }, ha = a(function({ children: n, className: r, columns: i, defaultItems: a, getItemLabel: c = (e) => String(e.id), isDragEnabled: l, isItemLocked: u = () => !1, isNestingLocked: f = () => !1, items: g, maxDepth: _ = 0, onReorder: v, renderRow: y, reorderMode: b = "always", screenReaderInstructions: x, ...S }, C) {
10766
10766
  let w = "pds-sortable-list", [T, E] = h(null), D = m(null), [O, k] = h(!1), A = m(!1), [j, M] = h(null), N = m(0), P = m(0), F = m("pointer"), I = m(0), L = m(null), [R, z] = h(0), B = m(0), [V, H] = h(0), U = m(0), W = s((e, t) => {
10767
10767
  if (_ > 0 && (e.key === "ArrowLeft" || e.key === "ArrowRight")) {
10768
10768
  e.preventDefault();
10769
10769
  let n = e.key === "ArrowRight" ? 1 : -1, r = B.current, i = Math.max(-_, Math.min(_, r + n)), a = i - r;
10770
10770
  return B.current = i, z(i), {
10771
- x: t.currentCoordinates.x + a * fa,
10771
+ x: t.currentCoordinates.x + a * pa,
10772
10772
  y: t.currentCoordinates.y
10773
10773
  };
10774
10774
  }
10775
10775
  return Ce(e, t);
10776
- }, [_]), G = b === "always" || b === "toggle" && (l ?? !1), { currentItems: K, expandItem: q, flatNodes: J, handleReorder: ee, resetToSnapshot: te, sortableIds: ne, toggleExpand: re } = la({
10776
+ }, [_]), G = b === "always" || b === "toggle" && (l ?? !1), { currentItems: K, expandItem: q, flatNodes: J, handleReorder: ee, resetToSnapshot: te, sortableIds: ne, toggleExpand: re } = ua({
10777
10777
  defaultItems: a,
10778
10778
  isDragEnabled: G,
10779
10779
  items: g,
@@ -10800,9 +10800,9 @@ var fa = 24, pa = { droppable: { strategy: _e.Always } }, ma = a(function({ chil
10800
10800
  X,
10801
10801
  Y,
10802
10802
  j
10803
- ]).size > 0, le = p(() => T ? J.find((e) => e.id === T) ?? null : null, [T, J]), ue = p(() => T ? oa(K, String(T)) ?? null : null, [T, K]), de = p(() => {
10803
+ ]).size > 0, le = p(() => T ? J.find((e) => e.id === T) ?? null : null, [T, J]), ue = p(() => T ? sa(K, String(T)) ?? null : null, [T, K]), de = p(() => {
10804
10804
  let e = le?.depth ?? 0;
10805
- return !T || !j || O || _ === 0 ? e : sa(J, String(T), String(j), V * fa, fa, _);
10805
+ return !T || !j || O || _ === 0 ? e : ca(J, String(T), String(j), V * pa, pa, _);
10806
10806
  }, [
10807
10807
  T,
10808
10808
  le,
@@ -10814,7 +10814,7 @@ var fa = 24, pa = { droppable: { strategy: _e.Always } }, ma = a(function({ chil
10814
10814
  ]), fe = p(() => {
10815
10815
  if (!T || O || de === 0 || j && X(j)) return null;
10816
10816
  let e = J.findIndex((e) => e.id === T);
10817
- return e === -1 ? null : ha(J, e, de);
10817
+ return e === -1 ? null : ga(J, e, de);
10818
10818
  }, [
10819
10819
  T,
10820
10820
  J,
@@ -10860,19 +10860,19 @@ var fa = 24, pa = { droppable: { strategy: _e.Always } }, ma = a(function({ chil
10860
10860
  }, [J, Y]), Ee = s((e) => {
10861
10861
  let t = e.delta.x;
10862
10862
  if (P.current = t, A.current || _ === 0) return;
10863
- let n = Math.floor(t / fa), r = U.current;
10864
- (n > r || n < r && t < r * fa - fa * .4) && (U.current = n, H(n));
10863
+ let n = Math.floor(t / pa), r = U.current;
10864
+ (n > r || n < r && t < r * pa - pa * .4) && (U.current = n, H(n));
10865
10865
  }, [_]), De = s((e) => {
10866
10866
  let { active: t, over: n } = e, r = A.current, i = B.current, a = U.current;
10867
10867
  E(null), D.current = null, k(!1), A.current = !1, M(null), U.current = 0, H(0), L.current && (q(L.current), L.current = null);
10868
- let o = J.findIndex((e) => e.id === t.id), s = r ? i * fa : a * fa, c = !n || t.id === n.id, l = n?.id ?? null;
10868
+ let o = J.findIndex((e) => e.id === t.id), s = r ? i * pa : a * pa, c = !n || t.id === n.id, l = n?.id ?? null;
10869
10869
  if (r && i > 0 && c && o > 0 && (l = J[o - 1].id), !l || t.id === l) {
10870
10870
  if (o === -1) return;
10871
10871
  let e = J[o];
10872
10872
  if (!e) return;
10873
- let n = sa(J, String(t.id), String(t.id), s, fa, _);
10873
+ let n = ca(J, String(t.id), String(t.id), s, pa, _);
10874
10874
  if (n === e.depth) return;
10875
- let r = [...J], [i] = r.splice(o, 1), a = ha(r, o, n);
10875
+ let r = [...J], [i] = r.splice(o, 1), a = ga(r, o, n);
10876
10876
  if (a && oe.has(a)) return;
10877
10877
  let c = {
10878
10878
  ...i,
@@ -10894,9 +10894,9 @@ var fa = 24, pa = { droppable: { strategy: _e.Always } }, ma = a(function({ chil
10894
10894
  let e = J[u];
10895
10895
  g = Math.min(e.depth + 1, _), v = String(l);
10896
10896
  } else {
10897
- g = sa(d, String(t.id), String(l), s, fa, _, p.depth);
10897
+ g = ca(d, String(t.id), String(l), s, pa, _, p.depth);
10898
10898
  let e = d[h];
10899
- v = e && e.depth === g - 1 ? String(l) : ha(d, h, g);
10899
+ v = e && e.depth === g - 1 ? String(l) : ga(d, h, g);
10900
10900
  }
10901
10901
  if (v && oe.has(v)) return;
10902
10902
  let y = {
@@ -10919,24 +10919,24 @@ var fa = 24, pa = { droppable: { strategy: _e.Always } }, ma = a(function({ chil
10919
10919
  E(null), D.current = null, k(!1), A.current = !1, M(null), P.current = 0, U.current = 0, H(0), B.current = 0, z(0), L.current && (q(L.current), L.current = null);
10920
10920
  }, [q]), ke = p(() => ({
10921
10921
  onDragStart({ active: e }) {
10922
- let t = J.find((t) => t.id === e.id), n = oa(K, String(e.id));
10922
+ let t = J.find((t) => t.id === e.id), n = sa(K, String(e.id));
10923
10923
  return `Picked up ${n ? c(n) : String(e.id)}. Current position: ${t ? J.indexOf(t) + 1 : "?"} of ${J.length} at depth ${t?.depth ?? 0}.`;
10924
10924
  },
10925
10925
  onDragOver({ active: e, over: t }) {
10926
10926
  if (!t) return;
10927
10927
  let n = J.findIndex((e) => e.id === t.id);
10928
10928
  if (n === -1) return;
10929
- let r = oa(K, String(e.id)), i = r ? c(r) : String(e.id), a = sa(J, String(e.id), String(t.id), P.current, fa, _);
10929
+ let r = sa(K, String(e.id)), i = r ? c(r) : String(e.id), a = ca(J, String(e.id), String(t.id), P.current, pa, _);
10930
10930
  return `Moving ${i}. Target position: ${n + 1} of ${J.length} at depth ${a}.`;
10931
10931
  },
10932
10932
  onDragEnd({ active: e, over: t }) {
10933
- let n = oa(K, String(e.id)), r = n ? c(n) : String(e.id);
10933
+ let n = sa(K, String(e.id)), r = n ? c(n) : String(e.id);
10934
10934
  if (!t || e.id === t.id) return `${r} dropped. No change in position.`;
10935
- let i = J.findIndex((e) => e.id === t.id), a = sa(J, String(e.id), String(t.id), P.current, fa, _);
10935
+ let i = J.findIndex((e) => e.id === t.id), a = ca(J, String(e.id), String(t.id), P.current, pa, _);
10936
10936
  return `${r} dropped at position ${i + 1} of ${J.length} at depth ${a}.`;
10937
10937
  },
10938
10938
  onDragCancel({ active: e }) {
10939
- let t = J.find((t) => t.id === e.id), n = oa(K, String(e.id));
10939
+ let t = J.find((t) => t.id === e.id), n = sa(K, String(e.id));
10940
10940
  return `Sorting cancelled. ${n ? c(n) : String(e.id)} returned to position ${t ? J.indexOf(t) + 1 : "?"} of ${J.length}.`;
10941
10941
  }
10942
10942
  }), [
@@ -10944,14 +10944,14 @@ var fa = 24, pa = { droppable: { strategy: _e.Always } }, ma = a(function({ chil
10944
10944
  J,
10945
10945
  c,
10946
10946
  _
10947
- ]), Ae = { columns: i }, je = t.map(n, (t) => o(t) && t.type === ca ? e.cloneElement(t, Ae) : t);
10947
+ ]), Ae = { columns: i }, je = t.map(n, (t) => o(t) && t.type === la ? e.cloneElement(t, Ae) : t);
10948
10948
  return /* @__PURE__ */ e.createElement(me, {
10949
10949
  accessibility: {
10950
10950
  announcements: ke,
10951
10951
  ...x ? { screenReaderInstructions: { draggable: x } } : {}
10952
10952
  },
10953
10953
  collisionDetection: _e,
10954
- measuring: pa,
10954
+ measuring: ma,
10955
10955
  onDragCancel: Oe,
10956
10956
  onDragEnd: De,
10957
10957
  onDragMove: Ee,
@@ -11026,14 +11026,14 @@ var fa = 24, pa = { droppable: { strategy: _e.Always } }, ma = a(function({ chil
11026
11026
  return o(a) ? e.cloneElement(a, s) : a;
11027
11027
  })()) : null));
11028
11028
  });
11029
- function ha(e, t, n) {
11029
+ function ga(e, t, n) {
11030
11030
  if (n === 0) return null;
11031
11031
  for (let r = t - 1; r >= 0; r--) if (e[r].depth === n - 1) return e[r].id;
11032
11032
  return null;
11033
11033
  }
11034
11034
  //#endregion
11035
11035
  //#region src/components/SortableList/SortableRow.tsx
11036
- var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a = !1, id: o, isDragActive: s = !1, isDragging: c = !1, isDropTarget: l = !1, isExpanded: u = !1, isLocked: d = !1, isProjectedParent: f = !1, onToggleExpand: p, projectedDepthDelta: m, ...h }) => {
11036
+ var _a = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a = !1, id: o, isDragActive: s = !1, isDragging: c = !1, isDropTarget: l = !1, isExpanded: u = !1, isLocked: d = !1, isProjectedParent: f = !1, onToggleExpand: p, projectedDepthDelta: m, ...h }) => {
11037
11037
  let { attributes: g, isDragging: _, listeners: v, setNodeRef: y, transform: b, transition: x } = we({
11038
11038
  attributes: {
11039
11039
  role: "listitem",
@@ -11088,7 +11088,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11088
11088
  key: t.id,
11089
11089
  className: `${w}__cell`
11090
11090
  }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, t.label, ": "), j[t.id] ?? null)) : t));
11091
- }, _a = ({ alignment: t = "left", className: n, componentWidth: r, labelStrings: i = {}, lastChecked: a, onCheck: o, state: s = "default", ...c }) => {
11091
+ }, va = ({ alignment: t = "left", className: n, componentWidth: r, labelStrings: i = {}, lastChecked: a, onCheck: o, state: s = "default", ...c }) => {
11092
11092
  let l = {
11093
11093
  checkForUpdates: "Check for updates",
11094
11094
  checking: "Checking...",
@@ -11129,14 +11129,14 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11129
11129
  className: p,
11130
11130
  onClick: o,
11131
11131
  type: "button"
11132
- }, t === "right" && g, /* @__PURE__ */ e.createElement(bt, {
11132
+ }, t === "right" && g, /* @__PURE__ */ e.createElement(xt, {
11133
11133
  content: l.tooltipContent || l.ariaLabel,
11134
11134
  customTrigger: h,
11135
11135
  triggerIconColor: "default",
11136
11136
  triggerIconSize: "s"
11137
11137
  }), t === "left" && g));
11138
- }, va = ({ className: t, label: n = null, linkContent: r, type: i = "neutral", ...a }) => {
11139
- let s = "pds-status-indicator", c = `${s}--${i}`, l = /* @__PURE__ */ e.createElement(e.Fragment, null, i === "working" ? /* @__PURE__ */ e.createElement(Lt, {
11138
+ }, ya = ({ className: t, label: n = null, linkContent: r, type: i = "neutral", ...a }) => {
11139
+ let s = "pds-status-indicator", c = `${s}--${i}`, l = /* @__PURE__ */ e.createElement(e.Fragment, null, i === "working" ? /* @__PURE__ */ e.createElement(Rt, {
11140
11140
  className: `${s}__spinner`,
11141
11141
  size: "m"
11142
11142
  }) : /* @__PURE__ */ e.createElement("span", {
@@ -11152,7 +11152,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11152
11152
  ]),
11153
11153
  ...a
11154
11154
  }, r ? d : l);
11155
- }, ya = ({ className: t, contentAlignment: n = "indented", layoutDirection: r = "vertical", steps: i, ...a }) => {
11155
+ }, ba = ({ className: t, contentAlignment: n = "indented", layoutDirection: r = "vertical", steps: i, ...a }) => {
11156
11156
  let o = "pds-step-list", s = `${o}--${n}`, c = r === "horizontal" ? `${o}--horizontal` : "", l = i.map(({ content: t, header: r }, i) => {
11157
11157
  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`;
11158
11158
  return /* @__PURE__ */ e.createElement("li", {
@@ -11170,7 +11170,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11170
11170
  style: r === "horizontal" ? { "--step-list-columns": i.length } : void 0,
11171
11171
  ...a
11172
11172
  }, l);
11173
- }, ba = ({ className: t, steps: n, translatableLabels: r = {
11173
+ }, xa = ({ className: t, steps: n, translatableLabels: r = {
11174
11174
  step: "Step",
11175
11175
  completed: "completed",
11176
11176
  hasError: "has an error",
@@ -11234,7 +11234,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11234
11234
  key: t.id,
11235
11235
  className: `${o}__step`,
11236
11236
  id: `${t.id}--mobile`
11237
- }, /* @__PURE__ */ e.createElement("div", { className: `${o}__progress-indicator` }, /* @__PURE__ */ e.createElement($i, {
11237
+ }, /* @__PURE__ */ e.createElement("div", { className: `${o}__progress-indicator` }, /* @__PURE__ */ e.createElement(ea, {
11238
11238
  innerLabel: n,
11239
11239
  label: "Step progress",
11240
11240
  percentage: i,
@@ -11259,7 +11259,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11259
11259
  "data-steps": d,
11260
11260
  ...i
11261
11261
  }, /* @__PURE__ */ e.createElement("div", { className: `${o}__steps` }, h)));
11262
- }, xa = ({ _isFirstStep: t, backButton: n, forwardButton: r, hasError: i, id: a, isComplete: o, isCurrent: s, label: c, stepContent: l, ...u }) => {
11262
+ }, Sa = ({ _isFirstStep: t, backButton: n, forwardButton: r, hasError: i, id: a, isComplete: o, isCurrent: s, label: c, stepContent: l, ...u }) => {
11263
11263
  let d = "pds-vert-stepper", f = `${d}__step`, p = [f];
11264
11264
  return s && p.push(`${f}--current`), o && p.push(`${f}--complete`), i && p.push(`${f}--error`), /* @__PURE__ */ e.createElement("li", {
11265
11265
  className: Z([...p]),
@@ -11276,23 +11276,23 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11276
11276
  viewBox: "0 0 12 12",
11277
11277
  width: "14",
11278
11278
  xmlns: "http://www.w3.org/2000/svg"
11279
- }, /* @__PURE__ */ e.createElement("path", { d: "M9.85474 3.64666C10.1032 3.32078 10.0258 2.86817 9.67727 2.63583C9.32878 2.4035 8.84476 2.47591 8.5963 2.80179L4.8694 7.65977L3.32056 6.21143C3.01724 5.9278 2.52677 5.9278 2.22669 6.21143C1.9266 6.49506 1.92337 6.9537 2.22346 7.23734L4.41765 9.28916C4.57899 9.44003 4.80164 9.51546 5.02751 9.49736C5.25338 9.47925 5.4599 9.37063 5.59219 9.19864L9.85151 3.64666H9.85474Z" }))), /* @__PURE__ */ e.createElement("div", { className: `${d}__step-label` }, c)), /* @__PURE__ */ e.createElement("div", { className: `${d}__step-content` }, /* @__PURE__ */ e.createElement("div", { className: `${d}__step-content-inner` }, l, (n || r) && /* @__PURE__ */ e.createElement("div", { className: `${d}__step-buttons` }, n && !t && /* @__PURE__ */ e.createElement(Wt, {
11279
+ }, /* @__PURE__ */ e.createElement("path", { d: "M9.85474 3.64666C10.1032 3.32078 10.0258 2.86817 9.67727 2.63583C9.32878 2.4035 8.84476 2.47591 8.5963 2.80179L4.8694 7.65977L3.32056 6.21143C3.01724 5.9278 2.52677 5.9278 2.22669 6.21143C1.9266 6.49506 1.92337 6.9537 2.22346 7.23734L4.41765 9.28916C4.57899 9.44003 4.80164 9.51546 5.02751 9.49736C5.25338 9.47925 5.4599 9.37063 5.59219 9.19864L9.85151 3.64666H9.85474Z" }))), /* @__PURE__ */ e.createElement("div", { className: `${d}__step-label` }, c)), /* @__PURE__ */ e.createElement("div", { className: `${d}__step-content` }, /* @__PURE__ */ e.createElement("div", { className: `${d}__step-content-inner` }, l, (n || r) && /* @__PURE__ */ e.createElement("div", { className: `${d}__step-buttons` }, n && !t && /* @__PURE__ */ e.createElement(Gt, {
11280
11280
  ...n,
11281
11281
  size: "s",
11282
11282
  variant: "secondary"
11283
- }), r && /* @__PURE__ */ e.createElement(Wt, {
11283
+ }), r && /* @__PURE__ */ e.createElement(Gt, {
11284
11284
  ...r,
11285
11285
  size: "s",
11286
11286
  variant: "highlight"
11287
11287
  })))));
11288
- }, Sa = ({ className: t, labelStrings: n = {
11288
+ }, Ca = ({ className: t, labelStrings: n = {
11289
11289
  step: "Step",
11290
11290
  completed: "completed",
11291
11291
  hasError: "has an error"
11292
11292
  }, steps: r, ...i }) => {
11293
11293
  let a = "pds-vert-stepper", o = r.length, s = r.findIndex((e) => e.isCurrent), c = r.map((t, r) => {
11294
11294
  let i = r + 1, a = r === s, c = r === 0, l = t.isComplete || !1, u = t.hasError && a, d = `${n.step} ${i}`;
11295
- return l && (d = `${n.step} ${i}, ${n.completed}`), u && (d = `${n.step} ${i}, ${n.hasError}`), /* @__PURE__ */ e.createElement(xa, {
11295
+ return l && (d = `${n.step} ${i}, ${n.completed}`), u && (d = `${n.step} ${i}, ${n.hasError}`), /* @__PURE__ */ e.createElement(Sa, {
11296
11296
  key: `s${i}`,
11297
11297
  _isFirstStep: c,
11298
11298
  "aria-current": a ? "step" : null,
@@ -11313,7 +11313,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11313
11313
  className: Z([a, t ?? ""]),
11314
11314
  ...i
11315
11315
  }, /* @__PURE__ */ e.createElement("ol", { className: `${a}__steps` }, r && c));
11316
- }, Ca = ({ className: t, closeDetailPanelLabel: n = "Close detail panel", columns: r, currentPage: i, defaultSortKey: a, defaultSortOrder: o = "asc", detailPanelNav: s = !0, detailPanelTitle: c, detailPanelWidth: d, emptyState: f, emptyStateHeading: m = "No results found.", emptyStateMessage: g, footer: _, getPageSizeLabel: v = (e) => `Show ${e} rows per page`, getRowClassName: y, getRowId: b, getSelectRowLabel: x = (e, t) => `Select row ${t}`, getSortLabel: S = (e) => `Sort by ${e}`, inspectedRowId: C, isLoading: w = !1, itemsPerPage: T, loadingRowCount: E = 5, nextDetailPanelRowLabel: D = "Next row", onDetailPanelNext: O, onDetailPanelPrev: k, onPageChange: A, onPageSizeChange: j, onRowInspect: M, onRowSelectionChange: N, onSort: P, pageSizeOptions: F, panel: I, prevDetailPanelRowLabel: L = "Previous row", renderDetailPanel: R, renderDetailPanelFooter: z, rowData: B, selectAllLabel: V = "Select all rows", selectedRows: H, sortKey: U, sortOrder: W, totalItemCount: G, ...K }) => {
11316
+ }, wa = ({ className: t, closeDetailPanelLabel: n = "Close detail panel", columns: r, currentPage: i, defaultSortKey: a, defaultSortOrder: o = "asc", detailPanelNav: s = !0, detailPanelTitle: c, detailPanelWidth: d, emptyState: f, emptyStateHeading: m = "No results found.", emptyStateMessage: g, footer: _, getPageSizeLabel: v = (e) => `Show ${e} rows per page`, getRowClassName: y, getRowId: b, getSelectRowLabel: x = (e, t) => `Select row ${t}`, getSortLabel: S = (e) => `Sort by ${e}`, inspectedRowId: C, isLoading: w = !1, itemsPerPage: T, loadingRowCount: E = 5, nextDetailPanelRowLabel: D = "Next row", onDetailPanelNext: O, onDetailPanelPrev: k, onPageChange: A, onPageSizeChange: j, onRowInspect: M, onRowSelectionChange: N, onSort: P, pageSizeOptions: F, panel: I, prevDetailPanelRowLabel: L = "Previous row", renderDetailPanel: R, renderDetailPanelFooter: z, rowData: B, selectAllLabel: V = "Select all rows", selectedRows: H, sortKey: U, sortOrder: W, totalItemCount: G, ...K }) => {
11317
11317
  let q = "pds-table", J = u(), ee = u(), te = P !== void 0, ne = A !== void 0, re = j !== void 0, ie = ne || T !== void 0 || F !== void 0, [ae, Y] = h({
11318
11318
  key: a ?? "",
11319
11319
  order: a === void 0 ? "asc" : o
@@ -11382,19 +11382,19 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11382
11382
  }, Re = () => {
11383
11383
  let e = new Set(ye);
11384
11384
  Fe || Ie ? Pe.forEach((t) => e.delete(t)) : Pe.forEach((t) => e.add(t)), ge || ve(e), N?.(Array.from(e));
11385
- }, ze = (t) => /* @__PURE__ */ e.createElement("tr", { key: `skeleton-${t}` }, he && /* @__PURE__ */ e.createElement("td", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(Jn, {
11385
+ }, ze = (t) => /* @__PURE__ */ e.createElement("tr", { key: `skeleton-${t}` }, he && /* @__PURE__ */ e.createElement("td", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(Yn, {
11386
11386
  shape: "rounded",
11387
11387
  size: {
11388
11388
  height: 1,
11389
11389
  width: 1
11390
11390
  }
11391
- })), r.map((n) => /* @__PURE__ */ e.createElement("td", { key: `skeleton-${t}-${n.id}` }, /* @__PURE__ */ e.createElement(Jn, {
11391
+ })), r.map((n) => /* @__PURE__ */ e.createElement("td", { key: `skeleton-${t}-${n.id}` }, /* @__PURE__ */ e.createElement(Yn, {
11392
11392
  shape: "rounded",
11393
11393
  size: { height: 1 }
11394
11394
  })))), Be = () => /* @__PURE__ */ e.createElement("tr", null, /* @__PURE__ */ e.createElement("td", {
11395
11395
  className: "pds-table__empty-cell",
11396
11396
  colSpan: r.length + +!!he
11397
- }, f ?? /* @__PURE__ */ e.createElement(jn, {
11397
+ }, f ?? /* @__PURE__ */ e.createElement(Mn, {
11398
11398
  heading: m,
11399
11399
  iconName: "emptySet",
11400
11400
  message: g
@@ -11413,7 +11413,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11413
11413
  (e.key === "Enter" || e.key === " ") && (e.preventDefault(), we(t, i));
11414
11414
  } : void 0,
11415
11415
  tabIndex: a ? 0 : void 0
11416
- }, he && /* @__PURE__ */ e.createElement("td", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(_r, {
11416
+ }, he && /* @__PURE__ */ e.createElement("td", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(vr, {
11417
11417
  checked: ye.has(i),
11418
11418
  id: `${ee}-row-${i}`,
11419
11419
  label: x(t, n + 1),
@@ -11427,7 +11427,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11427
11427
  "aria-busy": w,
11428
11428
  className: Z([q, t]),
11429
11429
  ...K
11430
- }, /* @__PURE__ */ e.createElement("thead", null, /* @__PURE__ */ e.createElement("tr", null, he && /* @__PURE__ */ e.createElement("th", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(_r, {
11430
+ }, /* @__PURE__ */ e.createElement("thead", null, /* @__PURE__ */ e.createElement("tr", null, he && /* @__PURE__ */ e.createElement("th", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(vr, {
11431
11431
  checked: Fe,
11432
11432
  id: ee,
11433
11433
  indeterminate: Ie,
@@ -11438,7 +11438,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11438
11438
  key: t.id,
11439
11439
  "aria-sort": t.sortable ? Me(t.id) : void 0
11440
11440
  }, t.sortable ? /* @__PURE__ */ e.createElement("button", {
11441
- "aria-label": S(Ut(t.header)),
11441
+ "aria-label": S(Wt(t.header)),
11442
11442
  className: `${q}__sort-button`,
11443
11443
  onClick: () => je(t.id),
11444
11444
  type: "button"
@@ -11451,7 +11451,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11451
11451
  })), /* @__PURE__ */ e.createElement("span", { className: Z([`${q}__sort-button-bottom`, Ne(t.id, "bottom")]) }, /* @__PURE__ */ e.createElement(Q, {
11452
11452
  iconName: "caretDown",
11453
11453
  size: "m"
11454
- })))) : /* @__PURE__ */ e.createElement("span", null, t.header))))), /* @__PURE__ */ e.createElement("tbody", null, w ? Array.from({ length: E }, (e, t) => ze(t)) : Ae.length === 0 ? Be() : Ae.map((e, t) => Ve(e, t))))), ie && !w && (ne || B.length > 0) && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__pagination" }, F && F.length > 0 && /* @__PURE__ */ e.createElement(Pn, {
11454
+ })))) : /* @__PURE__ */ e.createElement("span", null, t.header))))), /* @__PURE__ */ e.createElement("tbody", null, w ? Array.from({ length: E }, (e, t) => ze(t)) : Ae.length === 0 ? Be() : Ae.map((e, t) => Ve(e, t))))), ie && !w && (ne || B.length > 0) && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__pagination" }, F && F.length > 0 && /* @__PURE__ */ e.createElement(Fn, {
11455
11455
  autoWidth: !0,
11456
11456
  id: J,
11457
11457
  label: "Rows per page",
@@ -11463,12 +11463,12 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11463
11463
  showLabel: !1,
11464
11464
  size: "s",
11465
11465
  value: String(pe)
11466
- }), /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__pagination-controls" }, /* @__PURE__ */ e.createElement(Ii, {
11466
+ }), /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__pagination-controls" }, /* @__PURE__ */ e.createElement(Li, {
11467
11467
  currentPage: ne ? i ?? 1 : oe,
11468
11468
  itemsPerPage: pe,
11469
11469
  onPageChange: ne ? A : X,
11470
11470
  totalItemCount: ne ? G ?? 0 : B.length
11471
- }))), _ && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__footer" }, _)), R && /* @__PURE__ */ e.createElement("div", { className: Z(["pds-table-wrapper__detail-panel", fe ? "pds-table-wrapper__detail-panel--open" : null]) }, /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-upper" }, /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-header" }, c && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-title" }, c), /* @__PURE__ */ e.createElement(Yt, {
11471
+ }))), _ && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__footer" }, _)), R && /* @__PURE__ */ e.createElement("div", { className: Z(["pds-table-wrapper__detail-panel", fe ? "pds-table-wrapper__detail-panel--open" : null]) }, /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-upper" }, /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-header" }, c && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-title" }, c), /* @__PURE__ */ e.createElement(Xt, {
11472
11472
  ariaLabel: n,
11473
11473
  onClick: Te,
11474
11474
  size: "s"
@@ -11486,7 +11486,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11486
11486
  onNext: De,
11487
11487
  onPrev: Ee,
11488
11488
  rowId: de
11489
- }) : /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-nav" }, /* @__PURE__ */ e.createElement(qt, {
11489
+ }) : /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-nav" }, /* @__PURE__ */ e.createElement(Jt, {
11490
11490
  hasBorder: !0,
11491
11491
  ariaLabel: L,
11492
11492
  disabled: Se <= 0,
@@ -11494,7 +11494,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11494
11494
  onClick: Ee,
11495
11495
  size: "s",
11496
11496
  variant: "standard"
11497
- }), /* @__PURE__ */ e.createElement(qt, {
11497
+ }), /* @__PURE__ */ e.createElement(Jt, {
11498
11498
  hasBorder: !0,
11499
11499
  ariaLabel: D,
11500
11500
  disabled: Se >= B.length - 1,
@@ -11503,8 +11503,8 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11503
11503
  size: "s",
11504
11504
  variant: "standard"
11505
11505
  }))))));
11506
- return I ? /* @__PURE__ */ e.createElement(Bi, { padding: "none" }, Ue) : Ue;
11507
- }, wa = [
11506
+ return I ? /* @__PURE__ */ e.createElement(Vi, { padding: "none" }, Ue) : Ue;
11507
+ }, Ta = [
11508
11508
  " ",
11509
11509
  "/",
11510
11510
  ".",
@@ -11522,7 +11522,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11522
11522
  "=",
11523
11523
  "|",
11524
11524
  "~"
11525
- ], Ta = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), Ea = (e) => {
11525
+ ], Ea = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), Da = (e) => {
11526
11526
  let t = [];
11527
11527
  return e.forEach((e) => {
11528
11528
  let { id: n, innerText: r } = e;
@@ -11535,18 +11535,18 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11535
11535
  title: r
11536
11536
  });
11537
11537
  }), t;
11538
- }, Da = (e, t, n) => {
11538
+ }, Oa = (e, t, n) => {
11539
11539
  let [r, i] = h([]);
11540
11540
  return l(() => {
11541
11541
  let r = `#${e} h2:not(.${t}), #${e} h3:not(.${t})`, a = () => {
11542
11542
  let e = Array.from(document.querySelectorAll(r));
11543
11543
  e.forEach((e) => {
11544
- wa.forEach((t) => {
11545
- e.id.includes(t) && (e.id = e.id.replace(new RegExp(Ta(t), "g"), "-"));
11544
+ Ta.forEach((t) => {
11545
+ e.id.includes(t) && (e.id = e.id.replace(new RegExp(Ea(t), "g"), "-"));
11546
11546
  });
11547
11547
  }), e.forEach((e, t) => {
11548
11548
  e.id || (e.id = `${n}-item-${t}`);
11549
- }), i(Ea(e));
11549
+ }), i(Da(e));
11550
11550
  };
11551
11551
  a();
11552
11552
  let o = document.getElementById(e);
@@ -11562,7 +11562,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11562
11562
  t,
11563
11563
  n
11564
11564
  ]), { nestedHeadings: r };
11565
- }, Oa = (e, t) => {
11565
+ }, ka = (e, t) => {
11566
11566
  let [n, r] = h(void 0), i = m({});
11567
11567
  return l(() => {
11568
11568
  let n = `#${e} h2:not(.${t}), #${e} h3:not(.${t})`, a = Array.from(document.querySelectorAll(n));
@@ -11581,7 +11581,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11581
11581
  o.disconnect(), r(void 0);
11582
11582
  };
11583
11583
  }, [e, t]), n;
11584
- }, ka = ({ activeID: t, baseClass: n, headings: r, onLinkClick: i }) => /* @__PURE__ */ e.createElement("ul", { className: `${n}__list ${n}__list--top-level` }, r.map((r) => /* @__PURE__ */ e.createElement("li", {
11584
+ }, Aa = ({ activeID: t, baseClass: n, headings: r, onLinkClick: i }) => /* @__PURE__ */ e.createElement("ul", { className: `${n}__list ${n}__list--top-level` }, r.map((r) => /* @__PURE__ */ e.createElement("li", {
11585
11585
  key: r.id,
11586
11586
  className: `${n}__list-item`
11587
11587
  }, /* @__PURE__ */ e.createElement("a", {
@@ -11597,8 +11597,8 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11597
11597
  className: Z([`${n}__link`, r.id === t ? `${n}__link--active` : null]),
11598
11598
  href: `#${r.id}`,
11599
11599
  onClick: (e) => i(e, r.id)
11600
- }, r.title))))))), Aa = ({ 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 }) => {
11601
- let d = "pds-toc", { nestedHeadings: f } = Da(c, o, u()), p = Oa(c, o), m = (e) => {
11600
+ }, r.title))))))), ja = ({ 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 }) => {
11601
+ let d = "pds-toc", { nestedHeadings: f } = Oa(c, o, u()), p = ka(c, o), m = (e) => {
11602
11602
  typeof window < "u" && window.location.hash !== `#${e}` && window.history.pushState({}, "", `#${e}`);
11603
11603
  }, h = (e) => {
11604
11604
  document.querySelector(`#${e}`)?.scrollIntoView({
@@ -11612,17 +11612,17 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11612
11612
  "aria-label": n,
11613
11613
  className: Z([d, r]),
11614
11614
  ...l
11615
- }, a && /* @__PURE__ */ e.createElement(Ht, {
11615
+ }, a && /* @__PURE__ */ e.createElement(Ut, {
11616
11616
  baseClass: d,
11617
11617
  className: `${s ? "" : "visually-hidden"}`,
11618
11618
  level: i
11619
- }, a), /* @__PURE__ */ e.createElement(ka, {
11619
+ }, a), /* @__PURE__ */ e.createElement(Aa, {
11620
11620
  activeID: p,
11621
11621
  baseClass: d,
11622
11622
  headings: f,
11623
11623
  onLinkClick: g
11624
11624
  }));
11625
- }, ja = ({ ariaLabel: t, className: n, defaultSelected: r = 0, onActiveTabChange: i = () => {}, selectedTab: a, tabs: o, ...s }) => {
11625
+ }, Ma = ({ ariaLabel: t, className: n, defaultSelected: r = 0, onActiveTabChange: i = () => {}, selectedTab: a, tabs: o, ...s }) => {
11626
11626
  let c = "pds-tabs", [u, d] = h(a ?? r);
11627
11627
  l(() => {
11628
11628
  a !== void 0 && d(a);
@@ -11696,7 +11696,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11696
11696
  }, /* @__PURE__ */ e.createElement("div", { className: `${c}__tab-label` }, n && /* @__PURE__ */ e.createElement(Q, {
11697
11697
  iconName: n,
11698
11698
  size: "m"
11699
- }), i, a && /* @__PURE__ */ e.createElement(zt, {
11699
+ }), i, a && /* @__PURE__ */ e.createElement(Bt, {
11700
11700
  label: a.label,
11701
11701
  size: "s",
11702
11702
  type: a.type
@@ -11721,7 +11721,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11721
11721
  }, /* @__PURE__ */ e.createElement("div", { className: `${c}__tab-label` }, n && /* @__PURE__ */ e.createElement(Q, {
11722
11722
  iconName: n,
11723
11723
  size: "m"
11724
- }), i, a && /* @__PURE__ */ e.createElement(zt, {
11724
+ }), i, a && /* @__PURE__ */ e.createElement(Bt, {
11725
11725
  label: a.label,
11726
11726
  size: "s",
11727
11727
  type: a.type
@@ -11733,7 +11733,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11733
11733
  className: `${c}__panel-content`,
11734
11734
  hidden: o !== u
11735
11735
  }, r)))));
11736
- }, Ma = [
11736
+ }, Na = [
11737
11737
  "orange",
11738
11738
  "stone",
11739
11739
  "gold",
@@ -11748,7 +11748,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11748
11748
  "rose",
11749
11749
  "red",
11750
11750
  "silver"
11751
- ], Na = [
11751
+ ], Pa = [
11752
11752
  "orange-solid",
11753
11753
  "teal-solid",
11754
11754
  "indigo-solid",
@@ -11759,8 +11759,8 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11759
11759
  "critical-solid",
11760
11760
  "info-solid",
11761
11761
  "discovery-solid"
11762
- ], Pa = (e) => Ma[parseInt(g(e), 16) % Ma.length], Fa = (e, t) => e.length > t ? e.slice(0, t) + " ..." : e, Ia = ({ className: t, isRemovable: n, linkContent: r, onRemove: i, removeLabel: a = "Remove tag", size: s = "s", tagColor: c, tagLabel: l, truncationLength: u = 20, ...d }) => {
11763
- let [f, p] = h(!0), m = "pds-tag", g = c ? `${m}--${c}` : `${m}--${Pa(l)}`, _ = s === "m" ? null : `${m}--${s}`, v = f ? null : "pds-tag--hide", y = () => {
11762
+ ], Fa = (e) => Na[parseInt(g(e), 16) % Na.length], Ia = (e, t) => e.length > t ? e.slice(0, t) + " ..." : e, La = ({ className: t, isRemovable: n, linkContent: r, onRemove: i, removeLabel: a = "Remove tag", size: s = "s", tagColor: c, tagLabel: l, truncationLength: u = 20, ...d }) => {
11763
+ let [f, p] = h(!0), m = "pds-tag", g = c ? `${m}--${c}` : `${m}--${Fa(l)}`, _ = s === "m" ? null : `${m}--${s}`, v = f ? null : "pds-tag--hide", y = () => {
11764
11764
  p((e) => !e);
11765
11765
  }, b, x, S;
11766
11766
  if (r && !n && o(r)) {
@@ -11782,7 +11782,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11782
11782
  }, /* @__PURE__ */ e.createElement("span", {
11783
11783
  className: `${m}__label`,
11784
11784
  title: l
11785
- }, u > 0 ? Fa(l, u) : l), n ? /* @__PURE__ */ e.createElement("button", {
11785
+ }, u > 0 ? Ia(l, u) : l), n ? /* @__PURE__ */ e.createElement("button", {
11786
11786
  "aria-label": `${a}: ${l}`,
11787
11787
  className: `${m}__remove`,
11788
11788
  onClick: () => {
@@ -11794,7 +11794,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11794
11794
  iconName: "xmark",
11795
11795
  size: "m"
11796
11796
  })) : null);
11797
- }, La = ({ backgroundColor: t = "transparent", children: n, className: r, padding: i = "none", ...a }) => {
11797
+ }, Ra = ({ backgroundColor: t = "transparent", children: n, className: r, padding: i = "none", ...a }) => {
11798
11798
  let o = "pds-utility-bar", s = t === "transparent" ? null : `${o}--bg-${t}`, c = i === "none" ? null : `${o}--pad-${i}`, l = Ie(n), u = l["items-left"], d = l["items-right"] ?? l.__unslotted;
11799
11799
  return /* @__PURE__ */ e.createElement("div", {
11800
11800
  className: Z([
@@ -11805,7 +11805,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11805
11805
  ]),
11806
11806
  ...a
11807
11807
  }, /* @__PURE__ */ e.createElement("div", { className: `${o}__layout` }, /* @__PURE__ */ e.createElement("div", { className: `${o}__items-left` }, u), /* @__PURE__ */ e.createElement("div", { className: `${o}__items-right` }, d)));
11808
- }, Ra = () => {
11808
+ }, za = () => {
11809
11809
  let e = typeof window < "u", t = (e) => e >= 1440 ? "xl" : e >= 1280 ? "lg" : e >= 768 ? "md" : "sm", [n, r] = h(e ? t(window.innerWidth) : "lg");
11810
11810
  return l(() => {
11811
11811
  if (!e) return;
@@ -11816,7 +11816,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11816
11816
  window.removeEventListener("resize", n);
11817
11817
  };
11818
11818
  }, []), n;
11819
- }, za = ({ children: t, className: n, drawerContent: r, drawerProps: a, hasDrawerToggle: o, hasSidebarToggle: c, isDrawerOpen: u = !1, isSidebarCollapsed: d, keyboardShortcuts: p = !0, labels: g = {
11819
+ }, Ba = ({ children: t, className: n, drawerContent: r, drawerProps: a, hasDrawerToggle: o, hasSidebarToggle: c, isDrawerOpen: u = !1, isSidebarCollapsed: d, keyboardShortcuts: p = !0, labels: g = {
11820
11820
  collapseSidebar: "Press [ to collapse sidebar",
11821
11821
  drawerToggle: "Open account menu",
11822
11822
  expandSidebar: "Press ] to expand sidebar"
@@ -11836,7 +11836,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11836
11836
  return;
11837
11837
  }
11838
11838
  M(!j);
11839
- }, B = Ra();
11839
+ }, B = za();
11840
11840
  l(() => {
11841
11841
  B === "sm" && !j ? (R.current = !0, S ? S() : M(!0)) : B !== "sm" && R.current && (R.current = !1, S ? S() : M(!1));
11842
11842
  }, [B]);
@@ -11858,9 +11858,9 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11858
11858
  }
11859
11859
  return e.isContentEditable;
11860
11860
  }, []), H = p && c;
11861
- yt("[", (e) => {
11861
+ bt("[", (e) => {
11862
11862
  V() || (e.preventDefault(), j || z());
11863
- }, { enabled: H }), yt("]", (e) => {
11863
+ }, { enabled: H }), bt("]", (e) => {
11864
11864
  V() || (e.preventDefault(), j && z());
11865
11865
  }, { enabled: H });
11866
11866
  let U = m(null);
@@ -11874,7 +11874,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11874
11874
  let t = new ResizeObserver(e);
11875
11875
  return t.observe(document.documentElement), () => t.disconnect();
11876
11876
  }, []);
11877
- let W = Ie(t), G = W.__unslotted, K = W.header, q = W.footer, J = W.sidebar, ee = W.identity, te = W["content-top"], ne = W.navigation, re = W["content-bottom"], ie = ee || te || ne || re, ae = ie ? /* @__PURE__ */ e.createElement(e.Fragment, null, (ee || o) && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-identity` }, ee, o && !j && /* @__PURE__ */ e.createElement(qt, {
11877
+ let W = Ie(t), G = W.__unslotted, K = W.header, q = W.footer, J = W.sidebar, ee = W.identity, te = W["content-top"], ne = W.navigation, re = W["content-bottom"], ie = ee || te || ne || re, ae = ie ? /* @__PURE__ */ e.createElement(e.Fragment, null, (ee || o) && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-identity` }, ee, o && !j && /* @__PURE__ */ e.createElement(Jt, {
11878
11878
  hasBorder: !0,
11879
11879
  ariaLabel: g.drawerToggle,
11880
11880
  className: `${N}__drawer-toggle`,
@@ -11905,7 +11905,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11905
11905
  k?.className
11906
11906
  ]),
11907
11907
  style: L
11908
- }, c && /* @__PURE__ */ e.createElement(bt, {
11908
+ }, c && /* @__PURE__ */ e.createElement(xt, {
11909
11909
  className: `${N}__sidebar-toggle-tooltip`,
11910
11910
  content: j ? g.expandSidebar : g.collapseSidebar,
11911
11911
  customTrigger: /* @__PURE__ */ e.createElement("button", {
@@ -11934,7 +11934,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11934
11934
  n ?? ""
11935
11935
  ]),
11936
11936
  ...A
11937
- }, K ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${N}__header` }, K), /* @__PURE__ */ e.createElement("div", { className: `${N}__body` }, X)) : X), o && /* @__PURE__ */ e.createElement(Ai, {
11937
+ }, K ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${N}__header` }, K), /* @__PURE__ */ e.createElement("div", { className: `${N}__body` }, X)) : X), o && /* @__PURE__ */ e.createElement(ji, {
11938
11938
  ...a,
11939
11939
  isOpen: u,
11940
11940
  placement: "left",
@@ -11942,7 +11942,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11942
11942
  !e && u && x && x();
11943
11943
  }
11944
11944
  }, r));
11945
- }, Ba = ({ children: t, className: n, sidebarWidth: r = "18%", sidebarWidthMax: i = 20, sidebarWidthMin: a = 15, style: o, ...s }) => {
11945
+ }, Va = ({ children: t, className: n, sidebarWidth: r = "18%", sidebarWidthMax: i = 20, sidebarWidthMin: a = 15, style: o, ...s }) => {
11946
11946
  let c = "pds-docs-layout", l = {
11947
11947
  "--docs-sidebar-max-width": `${i}rem`,
11948
11948
  "--docs-sidebar-min-width": `${a}rem`,
@@ -11960,7 +11960,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11960
11960
  },
11961
11961
  ...s
11962
11962
  }, f && /* @__PURE__ */ e.createElement("aside", { className: `${c}__sidebar` }, /* @__PURE__ */ e.createElement("div", { className: `${c}__sidebar-inner` }, f)), /* @__PURE__ */ e.createElement("div", { className: `${c}__content` }, d));
11963
- }, Va = ({ children: t, className: n, gridGap: r = "xl", sidebarLocation: i = "right", sidebarMobileLocation: a = "after", sidebarWidth: o = "33%", sidebarWidthMax: s = 25, sidebarWidthMin: c = 15, ...l }) => {
11963
+ }, Ha = ({ children: t, className: n, gridGap: r = "xl", sidebarLocation: i = "right", sidebarMobileLocation: a = "after", sidebarWidth: o = "33%", sidebarWidthMax: s = 25, sidebarWidthMin: c = 15, ...l }) => {
11964
11964
  let u = "pds-sidebar-layout", d = r === "none" ? "0" : `var(--pds-spacing-${r})`, f = Ie(t);
11965
11965
  return /* @__PURE__ */ e.createElement("div", {
11966
11966
  className: Z([u, n ?? ""]),
@@ -11974,18 +11974,18 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11974
11974
  },
11975
11975
  ...l
11976
11976
  }, /* @__PURE__ */ e.createElement("div", { className: `${u}__main` }, f.__unslotted || f.content), /* @__PURE__ */ e.createElement("div", { className: `${u}__side` }, f.sidebar));
11977
- }, Ha = ({ children: t, className: n, ...r }) => {
11977
+ }, Ua = ({ children: t, className: n, ...r }) => {
11978
11978
  let i = Ie(t), a = i.stepper, o = i.form, s = m(null), [c] = pe(s), l = c.width;
11979
11979
  document.documentElement.style.setProperty("--stepper-layout-max-width", l + "px");
11980
11980
  let u = "pds-stepper-layout";
11981
- return /* @__PURE__ */ e.createElement(Zr, {
11981
+ return /* @__PURE__ */ e.createElement(Qr, {
11982
11982
  className: Z([u, n]),
11983
11983
  ...r
11984
11984
  }, a && /* @__PURE__ */ e.createElement("div", {
11985
11985
  ref: s,
11986
11986
  className: `${u}__stepper-container`
11987
11987
  }, a), o && /* @__PURE__ */ e.createElement("div", { className: `${u}__form-container` }, o));
11988
- }, Ua = ({ children: t, className: n, gridGap: r = "xl", verticalAlign: i = "start", ...a }) => {
11988
+ }, Wa = ({ children: t, className: n, gridGap: r = "xl", verticalAlign: i = "start", ...a }) => {
11989
11989
  let o = "pds-three-item-layout", s = r === "xl" ? "pds-grid" : `pds-grid pds-grid--gap-${r}`, c = `${o}--${i}`, l = Ie(t), u = [
11990
11990
  l["first-item"],
11991
11991
  l["second-item"],
@@ -12003,7 +12003,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12003
12003
  key: n,
12004
12004
  className: "pds-grid-item pds-grid-item--sm-12 pds-grid-item--md-4 pds-grid-item--lg-4"
12005
12005
  }, t)));
12006
- }, Wa = ({ children: t, className: n, gridGap: r = "xl", layoutVariant: i = "equal", verticalAlign: a = "start", ...o }) => {
12006
+ }, Ga = ({ children: t, className: n, gridGap: r = "xl", layoutVariant: i = "equal", verticalAlign: a = "start", ...o }) => {
12007
12007
  let s = "pds-two-item-layout", c = r === "xl" ? "pds-grid" : `pds-grid pds-grid--gap-${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;
12008
12008
  switch (i) {
12009
12009
  case "equal":
@@ -12024,7 +12024,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12024
12024
  ]),
12025
12025
  ...o
12026
12026
  }, /* @__PURE__ */ e.createElement("div", { className: m.join(" ").trim() }, _), /* @__PURE__ */ e.createElement("div", { className: h.join(" ").trim() }, v));
12027
- }, Ga = ({ alignContent: t = "flex-start", alignItems: n = "stretch", children: r, className: i, flexDirection: a = "row", flexWrap: o = "nowrap", gap: s = "xl", justifyContent: c = "flex-start", mobileAlignContent: l, mobileAlignItems: u, mobileFlexDirection: d = "column", mobileFlexWrap: f, mobileGap: p, mobileJustifyContent: m, style: h, ...g }) => {
12027
+ }, Ka = ({ alignContent: t = "flex-start", alignItems: n = "stretch", children: r, className: i, flexDirection: a = "row", flexWrap: o = "nowrap", gap: s = "xl", justifyContent: c = "flex-start", mobileAlignContent: l, mobileAlignItems: u, mobileFlexDirection: d = "column", mobileFlexWrap: f, mobileGap: p, mobileJustifyContent: m, style: h, ...g }) => {
12028
12028
  let _ = "pds-flex", v = `${_}-container`, y = {
12029
12029
  "--pds-flex-align-content": t,
12030
12030
  "--pds-flex-align-items": n,
@@ -12050,12 +12050,12 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12050
12050
  },
12051
12051
  ...g
12052
12052
  }, r);
12053
- }, Ka = ({ children: t, mobileMaxWidth: n = 767 }) => (l(() => {
12053
+ }, qa = ({ children: t, mobileMaxWidth: n = 767 }) => (l(() => {
12054
12054
  let e = document.documentElement, t = () => {
12055
12055
  window.innerWidth <= n ? e.setAttribute("data-pds-mobile", "") : e.removeAttribute("data-pds-mobile");
12056
12056
  };
12057
12057
  return t(), window.addEventListener("resize", t), () => window.removeEventListener("resize", t);
12058
- }, [n]), /* @__PURE__ */ e.createElement(_t, null, t)), qa = ({ asContainer: t = !1, children: n, className: r, dense: i = !1, gap: a = "xl", mobileGap: o, stackBelow: s, ...c }) => {
12058
+ }, [n]), /* @__PURE__ */ e.createElement(vt, null, t)), Ja = ({ asContainer: t = !1, children: n, className: r, dense: i = !1, gap: a = "xl", mobileGap: o, stackBelow: s, ...c }) => {
12059
12059
  let l = "pds-grid", u = a === "xl" ? null : `${l}--gap-${a}`, d = i ? `${l}--dense` : null, f = t || s ? `${l}--container` : null, p = s ? `${l}--stack-${s}` : null, m = o ?? a, h = m === a ? null : `${l}-gap-mobile--${m}`;
12060
12060
  return /* @__PURE__ */ e.createElement("div", {
12061
12061
  className: Z([
@@ -12069,7 +12069,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12069
12069
  ]),
12070
12070
  ...c
12071
12071
  }, n);
12072
- }, Ja = ({ children: t, className: n, rowSpanLg: r, rowSpanMd: i, rowSpanSm: a, rowSpanXl: o, spanLg: s, spanMd: c, spanSm: l, spanXl: u, ...d }) => {
12072
+ }, Ya = ({ children: t, className: n, rowSpanLg: r, rowSpanMd: i, rowSpanSm: a, rowSpanXl: o, spanLg: s, spanMd: c, spanSm: l, spanXl: u, ...d }) => {
12073
12073
  let f = "pds-grid-item", p = [
12074
12074
  l ? `${f}--sm-${l}` : null,
12075
12075
  c ? `${f}--md-${c}` : null,
@@ -12088,7 +12088,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12088
12088
  ]),
12089
12089
  ...d
12090
12090
  }, t);
12091
- }, Ya = (e) => {
12091
+ }, Xa = (e) => {
12092
12092
  let t = typeof window < "u", [n, r] = h(((e) => t ? window.matchMedia(e).matches : !1)(e));
12093
12093
  return l(() => {
12094
12094
  if (!t) return;
@@ -12097,7 +12097,7 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12097
12097
  };
12098
12098
  return r(n.matches), n.addEventListener ? (n.addEventListener("change", i), () => n.removeEventListener("change", i)) : (n.addListener(i), () => n.removeListener(i));
12099
12099
  }, [e]), n;
12100
- }, Xa = () => {
12100
+ }, Za = () => {
12101
12101
  let e = typeof window < "u", [t, n] = h(e && window.innerWidth !== void 0 ? window.innerWidth : 1024);
12102
12102
  return l(() => {
12103
12103
  if (!e) return;
@@ -12111,6 +12111,6 @@ var ga = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12111
12111
  }, []), t;
12112
12112
  };
12113
12113
  //#endregion
12114
- export { On as ActionCard, za as AppLayout, Ue as Avatar, We as Badge, hi as Banner, Qn as BarChart, Bt as BranchDiff, Br as Breadcrumb, Wt as Button, Gt as ButtonLink, Yr as ButtonNav, Ir as CTALink, Dn as Callout, kn as Card, An as CardSelect, _r as Checkbox, vr as CheckboxFieldset, yr as CheckboxGroup, Jt as ClipboardButton, Yt as CloseButton, sr as CodeBlock, br as Combobox, Sr as ComboboxMultiselect, jn as CompactEmptyState, lr as ComparisonList, Zr as Container, Er as Datepicker, Ba as DocsLayout, Ai as Drawer, en as Dropdown, Xr as DropdownMenu, Ri as ExpansionPanel, zi as ExpansionPanelGroup, pr as FileDiff, Dr as FileUpload, ln as FilterButton, Ga as FlexContainer, ji as FullScreenOverlay, Ka as GlobalWrapper, qa as Grid, Ja as GridItem, dr as HorizontalEmptyState, Q as Icon, qt as IconButton, gr as IdentityBlock, _i as InlineMessage, Or as InputGroup, er as LineChart, Lr as LinkNewWindow, bi as MIN_AUTO_CLOSE_DURATION, vn as MenuButton, Mi as Modal, Qr as Navbar, Fi as Pagination, Ii as PaginationCompact, Li as PaginationMini, Bi as Panel, Vi as PanelList, Hi as PanelRow, Ki as PantheonLogo, hr as PaymentIcon, zr as Picture, nr as PieChart, Sn as PlatformIcon, Yi as Popover, Zi as ProgressBar, $i as ProgressRing, ir as ProportionBar, kr as RadioGroup, wn as SSOButton, yi as SectionMessage, yn as SegmentedButton, Pn as Select, Nn as SelectOptionGroup, $r as SideNav, ti as SideNavGlobal, ei as SideNavGlobalItem, Va as SidebarLayout, ea as SiteFooter, ri as SiteMenu, ta as SiteOptionDisplay, na as SiteSearch, _n as SiteTypeIcon, gn as SiteTypeLabel, Jn as Skeleton, Rr as Skiplink, ma as SortableList, ca as SortableListHeader, ga as SortableRow, Lt as Spinner, bn as SplitButton, Rt as StatusBadge, _a as StatusChecker, va as StatusIndicator, dn as StatusTypeLabels, ya as StepList, ba as Stepper, Ha as StepperLayout, Ar as Switch, ai as TabMenu, Ca as Table, Aa as TableOfContents, ja as Tabs, Ia as Tag, Mr as TagsInput, zt as Tally, Fr as TextInput, Nr as Textarea, li as ThemeSwitcher, Ua as ThreeItemLayout, Di as Toast, Oi as ToastType, wi as Toaster, Si as ToasterContext, bt as Tooltip, si as TreeNav, Wa as TwoItemLayout, ui as UserMenu, La as UtilityBar, Tn as UtilityButton, fr as VerticalEmptyState, Sa as VerticalStepper, ur as VideoEmbed, di as WorkspaceSelector, wr as getPresetDateRange, Be as iconList, pn as isHeadingItemType, mn as isLinkItemType, hn as isNodeItemType, fn as isSeparatorItemType, Ma as tagColors, Na as tagSolidColors, Ra as useBreakpoint, Kt as useClipboard, Zt as useDropdown, yt as useKeyPress, Ya as useMediaQuery, ki as useToast, Xa as useWindowWidth };
12114
+ export { kn as ActionCard, Ba as AppLayout, Ue as Avatar, We as Badge, gi as Banner, $n as BarChart, Vt as BranchDiff, Vr as Breadcrumb, Gt as Button, Kt as ButtonLink, Xr as ButtonNav, Lr as CTALink, On as Callout, An as Card, jn as CardSelect, vr as Checkbox, yr as CheckboxFieldset, br as CheckboxGroup, Yt as ClipboardButton, Xt as CloseButton, cr as CodeBlock, xr as Combobox, Cr as ComboboxMultiselect, Mn as CompactEmptyState, ur as ComparisonList, Qr as Container, Dr as Datepicker, Va as DocsLayout, ji as Drawer, tn as Dropdown, Zr as DropdownMenu, zi as ExpansionPanel, Bi as ExpansionPanelGroup, mr as FileDiff, Or as FileUpload, un as FilterButton, Ka as FlexContainer, Mi as FullScreenOverlay, qa as GlobalWrapper, Ja as Grid, Ya as GridItem, fr as HorizontalEmptyState, Q as Icon, Jt as IconButton, _r as IdentityBlock, vi as InlineMessage, kr as InputGroup, tr as LineChart, Rr as LinkNewWindow, xi as MIN_AUTO_CLOSE_DURATION, yn as MenuButton, Ni as Modal, $r as Navbar, Ii as Pagination, Li as PaginationCompact, Ri as PaginationMini, Vi as Panel, Hi as PanelList, Ui as PanelRow, qi as PantheonLogo, gr as PaymentIcon, Br as Picture, rr as PieChart, Cn as PlatformIcon, Xi as Popover, Qi as ProgressBar, ea as ProgressRing, ar as ProportionBar, Ar as RadioGroup, Tn as SSOButton, bi as SectionMessage, bn as SegmentedButton, Fn as Select, Pn as SelectOptionGroup, ei as SideNav, ni as SideNavGlobal, ti as SideNavGlobalItem, Ha as SidebarLayout, ta as SiteFooter, ii as SiteMenu, na as SiteOptionDisplay, ra as SiteSearch, vn as SiteTypeIcon, _n as SiteTypeLabel, Yn as Skeleton, zr as Skiplink, ha as SortableList, la as SortableListHeader, _a as SortableRow, Rt as Spinner, xn as SplitButton, zt as StatusBadge, va as StatusChecker, ya as StatusIndicator, fn as StatusTypeLabels, ba as StepList, xa as Stepper, Ua as StepperLayout, jr as Switch, oi as TabMenu, wa as Table, ja as TableOfContents, Ma as Tabs, La as Tag, Nr as TagsInput, Bt as Tally, Ir as TextInput, Pr as Textarea, ui as ThemeSwitcher, Wa as ThreeItemLayout, Oi as Toast, ki as ToastType, Ti as Toaster, Ci as ToasterContext, xt as Tooltip, ci as TreeNav, Ga as TwoItemLayout, di as UserMenu, Ra as UtilityBar, En as UtilityButton, pr as VerticalEmptyState, Ca as VerticalStepper, dr as VideoEmbed, fi as WorkspaceSelector, Tr as getPresetDateRange, Be as iconList, mn as isHeadingItemType, hn as isLinkItemType, gn as isNodeItemType, pn as isSeparatorItemType, Na as tagColors, Pa as tagSolidColors, za as useBreakpoint, qt as useClipboard, Qt as useDropdown, bt as useKeyPress, Xa as useMediaQuery, Ai as useToast, Za as useWindowWidth };
12115
12115
 
12116
12116
  //# sourceMappingURL=index.js.map