@pantheon-systems/pds-toolkit-react 2.0.0-alpha.57 → 2.0.0-alpha.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2,9 +2,9 @@ import e, { Children as t, cloneElement as n, createContext as r, createElement
2
2
  import _ from "hash-sum";
3
3
  import { FloatingArrow as v, FloatingFocusManager as y, FloatingOverlay as b, FloatingPortal as x, arrow as S, autoUpdate as C, flip as w, offset as T, safePolygon as E, shift as D, size as O, useClick as k, useDismiss as A, useFloating as j, useFocus as M, useHover as N, useId as P, useInteractions as F, useListNavigation as I, useRole as L, useTransitionStyles as R, useTypeahead as z } from "@floating-ui/react";
4
4
  import { useHotkeys as B } from "react-hotkeys-hook";
5
- import { Bar as V, BarChart as H, CartesianGrid as U, Cell as ee, Line as W, LineChart as G, Pie as te, PieChart as K, Rectangle as ne, ReferenceLine as re, ResponsiveContainer as ie, Tooltip as q, XAxis as ae, YAxis as oe } from "recharts";
6
- import { CodeBlock as J } from "react-code-block";
7
- import { useCombobox as Y, useMultipleSelection as X } from "downshift";
5
+ import { Bar as V, BarChart as H, CartesianGrid as U, Cell as W, Line as G, LineChart as K, Pie as ee, PieChart as q, Rectangle as te, ReferenceLine as ne, ResponsiveContainer as re, Tooltip as J, XAxis as ie, YAxis as ae } from "recharts";
6
+ import { CodeBlock as Y } from "react-code-block";
7
+ import { useCombobox as oe, useMultipleSelection as X } from "downshift";
8
8
  import { format as se } from "date-fns";
9
9
  import { DayPicker as ce } from "react-day-picker";
10
10
  import { isSafari as le } from "react-device-detect";
@@ -2461,7 +2461,8 @@ var Ve = Object.create, He = Object.defineProperty, Ue = Object.getOwnPropertyDe
2461
2461
  w(),
2462
2462
  D()
2463
2463
  ],
2464
- whileElementsMounted: C
2464
+ whileElementsMounted: C,
2465
+ strategy: "fixed"
2465
2466
  }), { getFloatingProps: O, getReferenceProps: k } = F([
2466
2467
  N(b, {
2467
2468
  restMs: 300,
@@ -2474,7 +2475,15 @@ var Ve = Object.create, He = Object.defineProperty, Ue = Object.getOwnPropertyDe
2474
2475
  M(b, { enabled: !i }),
2475
2476
  A(b),
2476
2477
  L(b, { role: "tooltip" })
2477
- ]);
2478
+ ]), { isMounted: P, styles: I } = R(b, {
2479
+ duration: {
2480
+ open: 0,
2481
+ close: 300
2482
+ },
2483
+ initial: { opacity: 0 },
2484
+ open: { opacity: 1 },
2485
+ close: { opacity: 0 }
2486
+ });
2478
2487
  return /* @__PURE__ */ e.createElement("div", {
2479
2488
  className: Z([_, t ?? ""]),
2480
2489
  ...f
@@ -2492,16 +2501,15 @@ var Ve = Object.create, He = Object.defineProperty, Ue = Object.getOwnPropertyDe
2492
2501
  className: `${_}__icon`,
2493
2502
  iconName: c,
2494
2503
  size: u
2495
- })), /* @__PURE__ */ e.createElement(x, null, /* @__PURE__ */ e.createElement("div", {
2504
+ })), P && /* @__PURE__ */ e.createElement(x, null, /* @__PURE__ */ e.createElement("div", {
2496
2505
  ref: E.setFloating,
2497
2506
  "aria-hidden": !p,
2498
2507
  className: `${_}__container`,
2499
2508
  style: {
2500
2509
  ...S,
2510
+ ...I,
2501
2511
  zIndex: d,
2502
- opacity: +!!p,
2503
- pointerEvents: p ? "auto" : "none",
2504
- transition: "var(--pds-animation-transition-reveal)"
2512
+ pointerEvents: p ? "auto" : "none"
2505
2513
  },
2506
2514
  ...O()
2507
2515
  }, n)));
@@ -3019,7 +3027,8 @@ var on = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3019
3027
  left: 24
3020
3028
  }
3021
3029
  })), e;
3022
- })()
3030
+ })(),
3031
+ strategy: "fixed"
3023
3032
  }), { getFloatingProps: P, getItemProps: B, getReferenceProps: V } = F([
3024
3033
  k(x, {
3025
3034
  enabled: t,
@@ -3535,12 +3544,12 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
3535
3544
  return e.forEach((t, o) => {
3536
3545
  t === i ? (n.push(a), a = [], a.push(t), i = r.shift()) : (a.push(t), o + 1 === e.length && n.push(a));
3537
3546
  }), n.filter((e) => e.length > 0);
3538
- }, H, U = u === "m" ? "s" : "xs", ee = f ? /* @__PURE__ */ e.createElement(e.Fragment, null, s, /* @__PURE__ */ e.createElement(an, {
3547
+ }, H, U = u === "m" ? "s" : "xs", W = f ? /* @__PURE__ */ e.createElement(e.Fragment, null, s, /* @__PURE__ */ e.createElement(an, {
3539
3548
  className: "pds-button__tally",
3540
3549
  label: f.label,
3541
3550
  size: U,
3542
3551
  type: f.type
3543
- })) : s, W = f ? /* @__PURE__ */ e.createElement("span", { className: `${j}__accordion-label` }, s, /* @__PURE__ */ e.createElement(an, {
3552
+ })) : s, G = f ? /* @__PURE__ */ e.createElement("span", { className: `${j}__accordion-label` }, s, /* @__PURE__ */ e.createElement(an, {
3544
3553
  className: `${j}__tally`,
3545
3554
  label: f.label,
3546
3555
  size: "s",
@@ -3557,7 +3566,7 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
3557
3566
  iconName: "angleDown",
3558
3567
  id: M,
3559
3568
  isSplitButton: o,
3560
- label: ee,
3569
+ label: W,
3561
3570
  size: u,
3562
3571
  statusDot: d,
3563
3572
  type: "button",
@@ -3582,18 +3591,18 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
3582
3591
  ...C({ onClick: L })
3583
3592
  });
3584
3593
  }
3585
- let G = i ? /* @__PURE__ */ e.createElement("span", { className: `${j}__icon-label` }, /* @__PURE__ */ e.createElement(Q, { iconName: r }), " ", s) : W, te = T ? `${j}--expanded` : null;
3594
+ let K = i ? /* @__PURE__ */ e.createElement("span", { className: `${j}__icon-label` }, /* @__PURE__ */ e.createElement(Q, { iconName: r }), " ", s) : G, ee = T ? `${j}--expanded` : null;
3586
3595
  return /* @__PURE__ */ e.createElement("span", {
3587
3596
  className: Z([
3588
3597
  j,
3589
- te,
3598
+ ee,
3590
3599
  t
3591
3600
  ]),
3592
3601
  "data-testid": p,
3593
3602
  ..._
3594
3603
  }, A ? /* @__PURE__ */ e.createElement(An, {
3595
3604
  disabled: n,
3596
- label: G
3605
+ label: K
3597
3606
  }, /* @__PURE__ */ e.createElement("ul", {
3598
3607
  className: `${j}__mobile-menu`,
3599
3608
  role: "menu"
@@ -4167,25 +4176,25 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4167
4176
  }, message: d, onBlur: f, onFocus: p, onOptionSelect: m, options: g, required: _ = !1, showLabel: v = !0, showSelectedIcon: y = !0, size: b = "s", tooltipText: x = null, validationMessage: S, validationStatus: C, value: w, ...T }) => {
4168
4177
  let E = Bt(s), D = "pds-select", O = t ? `${D}--auto-width` : null, k = b === "s" ? null : `${D}--${b}`, A = i ? $.disabled : null, j = _ && !i ? $.required : null, M = C === "error" ? $.error : null, N = C === "success" ? $.success : null, P = null;
4169
4178
  C === "error" && (P = "error"), C === "success" && (P = "success");
4170
- let F = S || d, I = w !== void 0, L = r !== void 0, R = ((e) => e.reduce((e, t) => Zt(t) ? [...e, ...t.options] : [...e, t], []))(g), z = (e) => R.findIndex((t) => t.value === e), B = I && z(w) >= 0 ? z(w) : null, V = L ? z(r) : null, [H, U] = h((B || V) ?? null), { activeIndex: ee, floatingStyles: W, getFloatingProps: G, getItemProps: te, getReferenceProps: K, isMounted: ne, listRef: re, refs: ie, setIsOpen: q, transitionStyles: ae } = _n({
4179
+ let F = S || d, I = w !== void 0, L = r !== void 0, R = ((e) => e.reduce((e, t) => Zt(t) ? [...e, ...t.options] : [...e, t], []))(g), z = (e) => R.findIndex((t) => t.value === e), B = I && z(w) >= 0 ? z(w) : null, V = L ? z(r) : null, [H, U] = h((B || V) ?? null), { activeIndex: W, floatingStyles: G, getFloatingProps: K, getItemProps: ee, getReferenceProps: q, isMounted: te, listRef: ne, refs: re, setIsOpen: J, transitionStyles: ie } = _n({
4171
4180
  enableClick: !i,
4172
4181
  enableTypeahead: !0,
4173
4182
  role: "listbox",
4174
4183
  selectedIndex: H,
4175
4184
  variant: "input"
4176
- }), oe = H === null ? void 0 : R[H]?.label, J = H === null ? void 0 : R[H]?.icon, Y = H === null ? void 0 : R[H]?.value, X = (e) => {
4185
+ }), ae = H === null ? void 0 : R[H]?.label, Y = H === null ? void 0 : R[H]?.icon, oe = H === null ? void 0 : R[H]?.value, X = (e) => {
4177
4186
  let t = R[e];
4178
- I || (U(e), q(!1)), m && m(t);
4187
+ I || (U(e), J(!1)), m && m(t);
4179
4188
  };
4180
4189
  l(() => {
4181
- I && (U(z(w)), q(!1));
4190
+ I && (U(z(w)), J(!1));
4182
4191
  }, [w]);
4183
4192
  let se = () => {
4184
- f && f(Y);
4193
+ f && f(oe);
4185
4194
  }, ce = () => {
4186
- p && p(Y);
4195
+ p && p(oe);
4187
4196
  }, le = () => {
4188
- ie.reference.current.focus();
4197
+ re.reference.current.focus();
4189
4198
  }, ue = (t, n) => t === "google" || t === "microsoft" ? /* @__PURE__ */ e.createElement(Hn, {
4190
4199
  className: n,
4191
4200
  platformType: t,
@@ -4203,17 +4212,17 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4203
4212
  return /* @__PURE__ */ e.createElement(Qt, {
4204
4213
  key: r,
4205
4214
  ref: (e) => {
4206
- re.current[r] = e;
4215
+ ne.current[r] = e;
4207
4216
  },
4208
4217
  "aria-disabled": t?.disabled,
4209
- "aria-selected": r === H && r === ee,
4210
- tabIndex: r === ee ? 0 : -1,
4211
- ...!t?.disabled && te({
4218
+ "aria-selected": r === H && r === W,
4219
+ tabIndex: r === W ? 0 : -1,
4220
+ ...!t?.disabled && ee({
4212
4221
  onClick() {
4213
4222
  X(r);
4214
4223
  },
4215
4224
  onKeyDown(e) {
4216
- e.key === "Enter" && (e.preventDefault(), X(r), ie.reference.current.focus()), e.key === "Escape" && (e.preventDefault(), ie.reference.current.focus());
4225
+ e.key === "Enter" && (e.preventDefault(), X(r), re.reference.current.focus()), e.key === "Escape" && (e.preventDefault(), re.reference.current.focus());
4217
4226
  }
4218
4227
  })
4219
4228
  }, /* @__PURE__ */ e.createElement("span", { className: `${D}__option-label` }, t.icon && ue(t.icon, `${D}__option-icon`), t.label), y && H === r && /* @__PURE__ */ e.createElement(On, null));
@@ -4227,17 +4236,17 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4227
4236
  return /* @__PURE__ */ e.createElement(Qt, {
4228
4237
  key: r,
4229
4238
  ref: (e) => {
4230
- re.current[r] = e;
4239
+ ne.current[r] = e;
4231
4240
  },
4232
4241
  "aria-disabled": t?.disabled,
4233
- "aria-selected": r === H && r === ee,
4234
- tabIndex: r === ee ? 0 : -1,
4235
- ...!t?.disabled && te({
4242
+ "aria-selected": r === H && r === W,
4243
+ tabIndex: r === W ? 0 : -1,
4244
+ ...!t?.disabled && ee({
4236
4245
  onClick() {
4237
4246
  X(r);
4238
4247
  },
4239
4248
  onKeyDown(e) {
4240
- e.key === "Enter" && (e.preventDefault(), X(r), ie.reference.current.focus()), e.key === "Escape" && (e.preventDefault(), ie.reference.current.focus());
4249
+ e.key === "Enter" && (e.preventDefault(), X(r), re.reference.current.focus()), e.key === "Escape" && (e.preventDefault(), re.reference.current.focus());
4241
4250
  }
4242
4251
  })
4243
4252
  }, /* @__PURE__ */ e.createElement("span", { className: `${D}__option-label` }, t.icon && ue(t.icon, `${D}__option-icon`), t.label), y && H === r && /* @__PURE__ */ e.createElement(On, null));
@@ -4274,29 +4283,29 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4274
4283
  showLabel: v,
4275
4284
  tooltipText: x
4276
4285
  }), /* @__PURE__ */ e.createElement("span", {
4277
- ref: ie.setReference,
4286
+ ref: re.setReference,
4278
4287
  "aria-autocomplete": "none",
4279
4288
  "aria-labelledby": `${o}-label`,
4280
4289
  className: `${D}__input-wrapper`,
4281
4290
  id: o,
4282
4291
  tabIndex: 0,
4283
- ...K({
4292
+ ...q({
4284
4293
  onClick: le,
4285
4294
  onBlur: se,
4286
4295
  onFocus: ce
4287
4296
  })
4288
- }, P && /* @__PURE__ */ e.createElement(Kt, { variant: P }), /* @__PURE__ */ e.createElement("span", { className: `${D}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${D}__option-text` }, (J || !oe && a) && ue(J || a, `${D}__icon`), /* @__PURE__ */ e.createElement("span", { className: `${D}__option-label-text` }, oe ?? u.selectOptionText)), /* @__PURE__ */ e.createElement(Q, {
4297
+ }, P && /* @__PURE__ */ e.createElement(Kt, { variant: P }), /* @__PURE__ */ e.createElement("span", { className: `${D}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${D}__option-text` }, (Y || !ae && a) && ue(Y || a, `${D}__icon`), /* @__PURE__ */ e.createElement("span", { className: `${D}__option-label-text` }, ae ?? u.selectOptionText)), /* @__PURE__ */ e.createElement(Q, {
4289
4298
  className: `${D}__trigger-icon`,
4290
4299
  iconName: "angleDown"
4291
- }))), ne && /* @__PURE__ */ e.createElement("div", {
4292
- ref: ie.setFloating,
4300
+ }))), te && /* @__PURE__ */ e.createElement("div", {
4301
+ ref: re.setFloating,
4293
4302
  className: `pds-dropdown__panel ${D}__dropdown`,
4294
4303
  style: {
4295
- ...W,
4304
+ ...G,
4296
4305
  zIndex: "var(--pds-z-index-dropdown)"
4297
4306
  },
4298
- ...G()
4299
- }, /* @__PURE__ */ e.createElement("div", { style: { ...ae } }, /* @__PURE__ */ e.createElement("ul", {
4307
+ ...K()
4308
+ }, /* @__PURE__ */ e.createElement("div", { style: { ...ie } }, /* @__PURE__ */ e.createElement("ul", {
4300
4309
  className: `${D}__options`,
4301
4310
  role: "group"
4302
4311
  }, de(g)))), F && /* @__PURE__ */ e.createElement(Wt, {
@@ -4608,7 +4617,7 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4608
4617
  let t = Math.abs(e);
4609
4618
  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);
4610
4619
  }, _r = ({ 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: S, showTooltip: E, timePeriodOptions: O, tooltipContent: k, variant: A = "stacked", xAxisLabel: M, xAxisTickInterval: N, yAxisDomain: P, yAxisFormatter: F = gr, yAxisLabel: I, yAxisTickInterval: L, ...z }) => {
4611
- let { accessibleTableDescription: B = "Bar chart data", emptyStateHeading: ee = "No data available", emptyStateMessage: W, legendTableHeader: G, loadingLabel: te = "Loading chart data" } = d, K = m(null), re = tr(a, sr(K, a)), J = n ?? (u ? 60 : 360), Y = r ?? (u ? 60 : void 0), X = x ?? !u, se = b ?? !u, ce = S ?? !u, le = E ?? !u, ue = y ?? !0, [de, fe] = h(null), pe = m(de);
4620
+ let { accessibleTableDescription: B = "Bar chart data", emptyStateHeading: W = "No data available", emptyStateMessage: G, legendTableHeader: K, loadingLabel: ee = "Loading chart data" } = d, q = m(null), ne = tr(a, sr(q, a)), Y = n ?? (u ? 60 : 360), oe = r ?? (u ? 60 : void 0), X = x ?? !u, se = b ?? !u, ce = S ?? !u, le = E ?? !u, ue = y ?? !0, [de, fe] = h(null), pe = m(de);
4612
4621
  de && (pe.current = de);
4613
4622
  let me = m({ getBoundingClientRect: () => ({
4614
4623
  bottom: 0,
@@ -4656,36 +4665,36 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4656
4665
  fe(null);
4657
4666
  }, []);
4658
4667
  if (c) return /* @__PURE__ */ e.createElement("div", {
4659
- ref: K,
4668
+ ref: q,
4660
4669
  "aria-busy": "true",
4661
- "aria-label": te,
4670
+ "aria-label": ee,
4662
4671
  className: Z([
4663
4672
  xe,
4664
4673
  `${xe}--loading`,
4665
4674
  i ?? ""
4666
4675
  ]),
4667
- style: { maxWidth: Y },
4676
+ style: { maxWidth: oe },
4668
4677
  ...z
4669
4678
  }, /* @__PURE__ */ e.createElement(hr, {
4670
- height: J,
4679
+ height: Y,
4671
4680
  legendVariant: p,
4672
4681
  showLegend: ce
4673
4682
  }));
4674
4683
  if (!o || o.length === 0) return /* @__PURE__ */ e.createElement("div", {
4675
- ref: K,
4684
+ ref: q,
4676
4685
  className: Z([
4677
4686
  xe,
4678
4687
  `${xe}--empty`,
4679
4688
  i ?? ""
4680
4689
  ]),
4681
4690
  style: {
4682
- height: J,
4683
- maxWidth: Y
4691
+ height: Y,
4692
+ maxWidth: oe
4684
4693
  },
4685
4694
  ...z
4686
4695
  }, /* @__PURE__ */ e.createElement(Zn, {
4687
- heading: ee,
4688
- message: W
4696
+ heading: W,
4697
+ message: G
4689
4698
  }));
4690
4699
  let Te = f === "vertical", Ee = (e) => A === "grouped" || A === "stacked" && e === v.length - 1 ? Te ? [
4691
4700
  0,
@@ -4699,7 +4708,7 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4699
4708
  0
4700
4709
  ] : 0, De = (t) => ({ fill: n, height: r, radius: i, width: a, x: o, y: s }) => {
4701
4710
  let c = t > 0, l = t < v.length - 1;
4702
- return /* @__PURE__ */ e.createElement("g", null, /* @__PURE__ */ e.createElement(ne, {
4711
+ return /* @__PURE__ */ e.createElement("g", null, /* @__PURE__ */ e.createElement(te, {
4703
4712
  fill: n,
4704
4713
  height: r,
4705
4714
  radius: i,
@@ -4737,9 +4746,9 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4737
4746
  })));
4738
4747
  };
4739
4748
  return /* @__PURE__ */ e.createElement("div", {
4740
- ref: K,
4749
+ ref: q,
4741
4750
  className: Z([xe, i ?? ""]),
4742
- style: Y ? { maxWidth: Y } : void 0,
4751
+ style: oe ? { maxWidth: oe } : void 0,
4743
4752
  ...z
4744
4753
  }, !u && O && O.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${xe}__header` }, /* @__PURE__ */ e.createElement($n, {
4745
4754
  autoWidth: !0,
@@ -4758,12 +4767,12 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4758
4767
  onMouseMove: le && !k ? Ce : void 0,
4759
4768
  style: {
4760
4769
  contain: "layout size",
4761
- height: J
4770
+ height: Y
4762
4771
  }
4763
- }, /* @__PURE__ */ e.createElement(ie, {
4772
+ }, /* @__PURE__ */ e.createElement(re, {
4764
4773
  debounce: 150,
4765
- height: J,
4766
- minHeight: J,
4774
+ height: Y,
4775
+ minHeight: Y,
4767
4776
  minWidth: 50,
4768
4777
  width: "100%"
4769
4778
  }, /* @__PURE__ */ e.createElement(H, {
@@ -4788,7 +4797,7 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4788
4797
  stroke: "var(--pds-color-border-default)",
4789
4798
  strokeDasharray: "3 3",
4790
4799
  vertical: Te
4791
- }), /* @__PURE__ */ e.createElement(ae, {
4800
+ }), /* @__PURE__ */ e.createElement(ie, {
4792
4801
  axisLine: se,
4793
4802
  dataKey: Te ? void 0 : "label",
4794
4803
  hide: !se,
@@ -4805,7 +4814,7 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4805
4814
  tickLine: !1,
4806
4815
  tickMargin: 10,
4807
4816
  type: Te ? "number" : "category"
4808
- }), /* @__PURE__ */ e.createElement(oe, {
4817
+ }), /* @__PURE__ */ e.createElement(ae, {
4809
4818
  axisLine: se,
4810
4819
  dataKey: Te ? "label" : void 0,
4811
4820
  domain: P,
@@ -4824,7 +4833,7 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4824
4833
  tickLine: !1,
4825
4834
  tickMargin: 6,
4826
4835
  type: Te ? "category" : "number"
4827
- }), le && k && /* @__PURE__ */ e.createElement(q, {
4836
+ }), le && k && /* @__PURE__ */ e.createElement(J, {
4828
4837
  content: (e) => !e.active || !e.payload?.length ? null : k({
4829
4838
  entries: e.payload.map((e) => ({
4830
4839
  color: String(e.color ?? ""),
@@ -4838,12 +4847,12 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4838
4847
  }), v.map((t, n) => /* @__PURE__ */ e.createElement(V, {
4839
4848
  key: t.dataKey,
4840
4849
  dataKey: t.dataKey,
4841
- fill: ar(n, re, t.color, nr(a, t.paletteIndex)),
4850
+ fill: ar(n, ne, t.color, nr(a, t.paletteIndex)),
4842
4851
  name: t.label,
4843
4852
  onMouseEnter: k ? void 0 : (e) => {
4844
4853
  let r = e.payload;
4845
4854
  le && r && fe({
4846
- color: ar(n, re, t.color, nr(a, t.paletteIndex)),
4855
+ color: ar(n, ne, t.color, nr(a, t.paletteIndex)),
4847
4856
  label: String(r.label ?? ""),
4848
4857
  name: t.label,
4849
4858
  value: Number(r[t.dataKey] ?? 0)
@@ -4870,8 +4879,8 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4870
4879
  ariaHidden: p === "table" && ue,
4871
4880
  data: o,
4872
4881
  series: v,
4873
- seriesColors: re,
4874
- tableHeader: G,
4882
+ seriesColors: ne,
4883
+ tableHeader: K,
4875
4884
  valueFormatter: F,
4876
4885
  variant: p
4877
4886
  }), ue && /* @__PURE__ */ e.createElement(ur, {
@@ -4886,14 +4895,14 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4886
4895
  default: return;
4887
4896
  }
4888
4897
  }, yr = ({ 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 = gr, yAxisLabel: k, yAxisTickInterval: A, ...j }) => {
4889
- 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 = tr(a, sr(L, a)), z = n ?? (c ? 60 : 360), B = r ?? (c ? 60 : void 0), V = b ?? !c, H = v ?? !c, ee = x ?? !c, te = S ?? !c, K = y ?? !c, ne = _ ?? !0, J = "pds-line-chart";
4898
+ 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 = tr(a, sr(L, a)), z = n ?? (c ? 60 : 360), B = r ?? (c ? 60 : void 0), V = b ?? !c, H = v ?? !c, W = x ?? !c, ee = S ?? !c, q = y ?? !c, te = _ ?? !0, Y = "pds-line-chart";
4890
4899
  return s ? /* @__PURE__ */ e.createElement("div", {
4891
4900
  ref: L,
4892
4901
  "aria-busy": "true",
4893
4902
  "aria-label": I,
4894
4903
  className: Z([
4895
- J,
4896
- `${J}--loading`,
4904
+ Y,
4905
+ `${Y}--loading`,
4897
4906
  i ?? ""
4898
4907
  ]),
4899
4908
  style: { maxWidth: B },
@@ -4901,12 +4910,12 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4901
4910
  }, /* @__PURE__ */ e.createElement(hr, {
4902
4911
  height: z,
4903
4912
  legendVariant: u,
4904
- showLegend: ee
4913
+ showLegend: W
4905
4914
  })) : !o || o.length === 0 ? /* @__PURE__ */ e.createElement("div", {
4906
4915
  ref: L,
4907
4916
  className: Z([
4908
- J,
4909
- `${J}--empty`,
4917
+ Y,
4918
+ `${Y}--empty`,
4910
4919
  i ?? ""
4911
4920
  ]),
4912
4921
  style: {
@@ -4919,12 +4928,12 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4919
4928
  message: P
4920
4929
  })) : /* @__PURE__ */ e.createElement("div", {
4921
4930
  ref: L,
4922
- className: Z([J, i ?? ""]),
4931
+ className: Z([Y, i ?? ""]),
4923
4932
  style: B ? { maxWidth: B } : void 0,
4924
4933
  ...j
4925
- }, !c && C && C.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${J}__header` }, /* @__PURE__ */ e.createElement($n, {
4934
+ }, !c && C && C.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${Y}__header` }, /* @__PURE__ */ e.createElement($n, {
4926
4935
  autoWidth: !0,
4927
- id: `${J}-time-period`,
4936
+ id: `${Y}-time-period`,
4928
4937
  label: "Time period",
4929
4938
  onOptionSelect: (e) => f?.(e.value),
4930
4939
  options: C.map((e) => ({
@@ -4939,13 +4948,13 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4939
4948
  contain: "layout size",
4940
4949
  height: z
4941
4950
  }
4942
- }, /* @__PURE__ */ e.createElement(ie, {
4951
+ }, /* @__PURE__ */ e.createElement(re, {
4943
4952
  debounce: 150,
4944
4953
  height: z,
4945
4954
  minHeight: z,
4946
4955
  minWidth: 50,
4947
4956
  width: "100%"
4948
- }, /* @__PURE__ */ e.createElement(G, {
4957
+ }, /* @__PURE__ */ e.createElement(K, {
4949
4958
  accessibilityLayer: !1,
4950
4959
  data: o,
4951
4960
  margin: c ? {
@@ -4962,7 +4971,7 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4962
4971
  }, V && /* @__PURE__ */ e.createElement(U, {
4963
4972
  stroke: "var(--pds-color-border-default)",
4964
4973
  strokeDasharray: "3 3"
4965
- }), /* @__PURE__ */ e.createElement(ae, {
4974
+ }), /* @__PURE__ */ e.createElement(ie, {
4966
4975
  axisLine: H,
4967
4976
  dataKey: "label",
4968
4977
  hide: !H,
@@ -4976,7 +4985,7 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4976
4985
  tick: H ? cr : !1,
4977
4986
  tickLine: !1,
4978
4987
  tickMargin: 10
4979
- }), /* @__PURE__ */ e.createElement(oe, {
4988
+ }), /* @__PURE__ */ e.createElement(ae, {
4980
4989
  axisLine: H,
4981
4990
  domain: D,
4982
4991
  hide: !H,
@@ -4992,7 +5001,7 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4992
5001
  tickFormatter: O,
4993
5002
  tickLine: !1,
4994
5003
  tickMargin: 6
4995
- }), te && /* @__PURE__ */ e.createElement(q, { content: (t) => {
5004
+ }), ee && /* @__PURE__ */ e.createElement(J, { content: (t) => {
4996
5005
  if (!t.active || !t.payload?.length) return null;
4997
5006
  let n = t.payload.map((e) => ({
4998
5007
  color: String(e.color ?? ""),
@@ -5010,11 +5019,11 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5010
5019
  className: "recharts-tooltip-item__color",
5011
5020
  style: { backgroundColor: t.color }
5012
5021
  }), t.name, /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-separator" }, " ", ":", " "), O(t.value))));
5013
- } }), g.map((t, n) => /* @__PURE__ */ e.createElement(W, {
5022
+ } }), g.map((t, n) => /* @__PURE__ */ e.createElement(G, {
5014
5023
  key: t.dataKey,
5015
- activeDot: K ? { r: 6 } : !1,
5024
+ activeDot: q ? { r: 6 } : !1,
5016
5025
  dataKey: t.dataKey,
5017
- dot: K ? {
5026
+ dot: q ? {
5018
5027
  fill: ar(n, R, t.color, nr(a, t.paletteIndex)),
5019
5028
  r: 4,
5020
5029
  strokeWidth: 0
@@ -5026,7 +5035,7 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5026
5035
  type: d === "straight" ? "linear" : "monotone"
5027
5036
  })), !c && p?.map((t, n) => {
5028
5037
  let r = t.color ?? "var(--pds-color-foreground-default-secondary)";
5029
- return /* @__PURE__ */ e.createElement(re, {
5038
+ return /* @__PURE__ */ e.createElement(ne, {
5030
5039
  key: `ref-y-${n}`,
5031
5040
  label: ({ viewBox: n }) => {
5032
5041
  let r = (n?.x ?? 0) + (n?.width ?? 0) / 2, i = (n?.y ?? 0) - 8;
@@ -5046,7 +5055,7 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5046
5055
  });
5047
5056
  }), !c && t?.map((t, n) => {
5048
5057
  let r = t.color ?? "var(--pds-color-foreground-default-secondary)";
5049
- return /* @__PURE__ */ e.createElement(re, {
5058
+ return /* @__PURE__ */ e.createElement(ne, {
5050
5059
  key: `annotation-${n}`,
5051
5060
  label: ({ viewBox: n }) => {
5052
5061
  let r = (n?.x ?? 0) + (n?.width ?? 0) / 2, i = (n?.y ?? 0) - 8;
@@ -5064,15 +5073,15 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5064
5073
  strokeDasharray: vr(t.strokeStyle ?? "dashed"),
5065
5074
  x: t.atLabel
5066
5075
  });
5067
- })))), ee && /* @__PURE__ */ e.createElement(dr, {
5068
- ariaHidden: u === "table" && ne,
5076
+ })))), W && /* @__PURE__ */ e.createElement(dr, {
5077
+ ariaHidden: u === "table" && te,
5069
5078
  data: o,
5070
5079
  series: g,
5071
5080
  seriesColors: R,
5072
5081
  tableHeader: F,
5073
5082
  valueFormatter: O,
5074
5083
  variant: u
5075
- }), ne && /* @__PURE__ */ e.createElement(ur, {
5084
+ }), te && /* @__PURE__ */ e.createElement(ur, {
5076
5085
  data: o,
5077
5086
  description: M,
5078
5087
  series: g,
@@ -5155,13 +5164,13 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5155
5164
  margin: "0 auto",
5156
5165
  width: `min(100%, ${w}px)`
5157
5166
  }
5158
- }, /* @__PURE__ */ e.createElement(ie, {
5167
+ }, /* @__PURE__ */ e.createElement(re, {
5159
5168
  debounce: 150,
5160
5169
  height: w,
5161
5170
  minHeight: w,
5162
5171
  minWidth: 50,
5163
5172
  width: "100%"
5164
- }, /* @__PURE__ */ e.createElement(K, { accessibilityLayer: !1 }, /* @__PURE__ */ e.createElement(te, {
5173
+ }, /* @__PURE__ */ e.createElement(q, { accessibilityLayer: !1 }, /* @__PURE__ */ e.createElement(ee, {
5165
5174
  cx: "50%",
5166
5175
  cy: "50%",
5167
5176
  data: A,
@@ -5170,10 +5179,10 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5170
5179
  isAnimationActive: !s,
5171
5180
  outerRadius: "80%",
5172
5181
  stroke: "none"
5173
- }, a.map((t, n) => /* @__PURE__ */ e.createElement(ee, {
5182
+ }, a.map((t, n) => /* @__PURE__ */ e.createElement(W, {
5174
5183
  key: t.label,
5175
5184
  fill: k(n, t)
5176
- }))), D && /* @__PURE__ */ e.createElement(q, {
5185
+ }))), D && /* @__PURE__ */ e.createElement(J, {
5177
5186
  content: (t) => {
5178
5187
  if (!t.active || !t.payload?.length) return null;
5179
5188
  let n = t.payload[0], r = Number(n.value ?? 0), i = O > 0 ? Math.round(r / O * 100) : 0, a = String(n.payload?.fill ?? "");
@@ -5220,7 +5229,7 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5220
5229
  width: 0,
5221
5230
  x: 0,
5222
5231
  y: 0
5223
- }) }), { context: V, floatingStyles: H, refs: U, update: ee } = j({
5232
+ }) }), { context: V, floatingStyles: H, refs: U, update: W } = j({
5224
5233
  middleware: [
5225
5234
  T(8),
5226
5235
  w(),
@@ -5229,7 +5238,7 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5229
5238
  open: !!I,
5230
5239
  placement: "top",
5231
5240
  whileElementsMounted: C
5232
- }), { isMounted: W, styles: G } = R(V, {
5241
+ }), { isMounted: G, styles: K } = R(V, {
5233
5242
  duration: {
5234
5243
  close: 150,
5235
5244
  open: 150
@@ -5239,7 +5248,7 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5239
5248
  l(() => {
5240
5249
  U.setReference(B.current);
5241
5250
  }, [U]);
5242
- let te = s((e) => {
5251
+ let ee = s((e) => {
5243
5252
  B.current.getBoundingClientRect = () => ({
5244
5253
  bottom: e.clientY,
5245
5254
  height: 0,
@@ -5249,8 +5258,8 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5249
5258
  width: 0,
5250
5259
  x: e.clientX,
5251
5260
  y: e.clientY
5252
- }), ee();
5253
- }, [ee]), K = s(() => {
5261
+ }), W();
5262
+ }, [W]), q = s(() => {
5254
5263
  L(null);
5255
5264
  }, []);
5256
5265
  return o ? /* @__PURE__ */ e.createElement("div", {
@@ -5288,8 +5297,8 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5288
5297
  }, /* @__PURE__ */ e.createElement("div", {
5289
5298
  "aria-hidden": "true",
5290
5299
  className: `${k}__track`,
5291
- onMouseLeave: N ? K : void 0,
5292
- onMouseMove: N ? te : void 0,
5300
+ onMouseLeave: N ? q : void 0,
5301
+ onMouseMove: N ? ee : void 0,
5293
5302
  style: { height: t }
5294
5303
  }, a.map((t, n) => {
5295
5304
  let r = F(n, t), i = Math.round(t.value / P * 100);
@@ -5307,13 +5316,13 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5307
5316
  flex: t.value
5308
5317
  }
5309
5318
  });
5310
- })), N && W && z.current && /* @__PURE__ */ e.createElement("div", {
5319
+ })), N && G && z.current && /* @__PURE__ */ e.createElement("div", {
5311
5320
  ref: U.setFloating,
5312
5321
  className: "recharts-default-tooltip",
5313
5322
  role: "tooltip",
5314
5323
  style: {
5315
5324
  ...H,
5316
- ...G,
5325
+ ...K,
5317
5326
  pointerEvents: "none",
5318
5327
  zIndex: "var(--pds-z-index-notifications)"
5319
5328
  }
@@ -5629,6 +5638,8 @@ var On = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5629
5638
  }(typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {});
5630
5639
  t !== void 0 && t.exports && (t.exports = n), typeof global < "u" && (global.Prism = n);
5631
5640
  })))(), 1);
5641
+ typeof globalThis < "u" && (globalThis.Prism = wr.default);
5642
+ var Tr = wr.default;
5632
5643
  //#endregion
5633
5644
  //#region node_modules/prismjs/components/prism-diff.js
5634
5645
  Prism.languages.markup = {
@@ -6298,7 +6309,7 @@ Prism.languages.markup = {
6298
6309
  })(Prism);
6299
6310
  //#endregion
6300
6311
  //#region src/components/CodeBlock/themes/pds.ts
6301
- var Tr = {
6312
+ var Er = {
6302
6313
  plain: {
6303
6314
  color: "var(--pds-color-code-block-foreground)",
6304
6315
  backgroundColor: "var(--pds-color-code-block-background)"
@@ -6374,7 +6385,7 @@ var Tr = {
6374
6385
  style: { color: "var(--pds-color-code-block-syntax-inserted)" }
6375
6386
  }
6376
6387
  ]
6377
- }, Er = ({ 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 }) => {
6388
+ }, Dr = ({ 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 }) => {
6378
6389
  let g = "pds-code-block", _ = m ? `${g}__line-wrapped` : "", v = {};
6379
6390
  s && (v.height = `${s}rem`), d && (v.maxHeight = `${d}rem`);
6380
6391
  let y = /* @__PURE__ */ e.createElement("div", { className: `${g}__code` }, /* @__PURE__ */ e.createElement(pr, {
@@ -6418,17 +6429,17 @@ var Tr = {
6418
6429
  variant: "reverse"
6419
6430
  }))));
6420
6431
  }
6421
- let C = /* @__PURE__ */ e.createElement(J.LineContent, null, /* @__PURE__ */ e.createElement(J.Token, null)), w = /* @__PURE__ */ e.createElement("div", { className: `${g}__line ${_}` }, /* @__PURE__ */ e.createElement(J.LineNumber, { className: `${g}__number` }), C), T = /* @__PURE__ */ e.createElement("div", { className: `${g}__line` }, /* @__PURE__ */ e.createElement("span", { className: `${g}__prompt` }, f), C);
6432
+ let C = /* @__PURE__ */ e.createElement(Y.LineContent, null, /* @__PURE__ */ e.createElement(Y.Token, null)), w = /* @__PURE__ */ e.createElement("div", { className: `${g}__line ${_}` }, /* @__PURE__ */ e.createElement(Y.LineNumber, { className: `${g}__number` }), C), T = /* @__PURE__ */ e.createElement("div", { className: `${g}__line` }, /* @__PURE__ */ e.createElement("span", { className: `${g}__prompt` }, f), C);
6422
6433
  return /* @__PURE__ */ e.createElement("div", {
6423
6434
  className: Z([g, t ?? ""]),
6424
6435
  style: v,
6425
6436
  ...h
6426
- }, c ? y : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(J, {
6437
+ }, c ? y : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(Y, {
6427
6438
  code: n,
6428
6439
  language: l || "",
6429
- prism: wr.default,
6430
- theme: Tr
6431
- }, /* @__PURE__ */ e.createElement(J.Code, {
6440
+ prism: Tr,
6441
+ theme: Er
6442
+ }, /* @__PURE__ */ e.createElement(Y.Code, {
6432
6443
  className: `${g}__code`,
6433
6444
  tabIndex: 0
6434
6445
  }, a || o ? a ? w : T : C)), i && /* @__PURE__ */ e.createElement("div", { className: `${g}__copy` }, /* @__PURE__ */ e.createElement(mn, {
@@ -6436,11 +6447,11 @@ var Tr = {
6436
6447
  clipboardText: n,
6437
6448
  variant: "reverse"
6438
6449
  }))));
6439
- }, Dr = {
6450
+ }, Or = {
6440
6451
  addon: "circlePlus",
6441
6452
  included: "circleCheck",
6442
6453
  notIncluded: "xmark"
6443
- }, Or = ({ className: t, listItems: n, listLabel: r, moreLink: i, renderTypeLabels: a = !0, showBorder: o = !1, size: s = "s", typeLabels: c = {
6454
+ }, kr = ({ className: t, listItems: n, listLabel: r, moreLink: i, renderTypeLabels: a = !0, showBorder: o = !1, size: s = "s", typeLabels: c = {
6444
6455
  addon: "Add-on",
6445
6456
  included: "Included",
6446
6457
  notIncluded: "Not included"
@@ -6459,10 +6470,10 @@ var Tr = {
6459
6470
  className: `${u}__list-item ${u}__list-item--${t.type}`
6460
6471
  }, /* @__PURE__ */ e.createElement("div", { className: `${u}__item-icon-wrapper` }, /* @__PURE__ */ e.createElement(Q, {
6461
6472
  className: `${u}__item-icon`,
6462
- iconName: Dr[t.type],
6473
+ iconName: Or[t.type],
6463
6474
  size: s
6464
6475
  })), a && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, c[t.type], ":", " "), t.text))), i && /* @__PURE__ */ e.createElement("div", { className: `${u}__more-link` }, i));
6465
- }, kr = ({ className: t, platform: n, videoId: r, videoTitle: i, ...a }) => {
6476
+ }, Ar = ({ className: t, platform: n, videoId: r, videoTitle: i, ...a }) => {
6466
6477
  let o = /* @__PURE__ */ e.createElement("iframe", {
6467
6478
  allow: "autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media",
6468
6479
  src: `https://fast.wistia.net/embed/iframe/${r}`,
@@ -6493,7 +6504,7 @@ var Tr = {
6493
6504
  className: Z(["pds-video-embed", t ?? ""]),
6494
6505
  ...a
6495
6506
  }, l);
6496
- }, Ar = ({ alignment: t = "center", className: n, ctaRegion: r, hasIndentedContent: i, heading: a, headingLevel: o = "h1", image: s, imageMarginLeft: c = "0", imageWidth: l = "40%", maxWidth: u = "100%", message: d, video: f, ...p }) => {
6507
+ }, jr = ({ alignment: t = "center", className: n, ctaRegion: r, hasIndentedContent: i, heading: a, headingLevel: o = "h1", image: s, imageMarginLeft: c = "0", imageWidth: l = "40%", maxWidth: u = "100%", message: d, video: f, ...p }) => {
6497
6508
  let m = "pds-horizontal-empty-state", h = `${m}--${t}`, g = i ? `${m}--indented-content` : null, _ = f ? `${m}--video` : null, v = {
6498
6509
  marginInlineStart: c,
6499
6510
  width: l
@@ -6519,11 +6530,11 @@ var Tr = {
6519
6530
  alt: "",
6520
6531
  className: `${m}__image`,
6521
6532
  src: s
6522
- }) : s), f && /* @__PURE__ */ e.createElement("div", { className: `${m}__media ${m}__media--video` }, /* @__PURE__ */ e.createElement(kr, {
6533
+ }) : s), f && /* @__PURE__ */ e.createElement("div", { className: `${m}__media ${m}__media--video` }, /* @__PURE__ */ e.createElement(Ar, {
6523
6534
  platform: f.platform,
6524
6535
  videoId: f.videoId
6525
6536
  })));
6526
- }, jr = ({ className: t, ctaRegion: n, heading: r, headingLevel: i = "h2", image: a, imageHeight: o = "120", imageWidth: s = "auto", message: c, ...l }) => {
6537
+ }, Mr = ({ className: t, ctaRegion: n, heading: r, headingLevel: i = "h2", image: a, imageHeight: o = "120", imageWidth: s = "auto", message: c, ...l }) => {
6527
6538
  let u = "pds-vertical-empty-state";
6528
6539
  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", {
6529
6540
  className: Z([u, t ?? ""]),
@@ -6538,7 +6549,7 @@ var Tr = {
6538
6549
  baseClass: u,
6539
6550
  level: i
6540
6551
  }, r), c && c), n && /* @__PURE__ */ e.createElement("div", { className: `${u}__cta` }, n));
6541
- }, Mr = ({ additions: t = 4, className: n, componentWidth: r, deletions: i = 2, translationStrings: a = {
6552
+ }, Nr = ({ additions: t = 4, className: n, componentWidth: r, deletions: i = 2, translationStrings: a = {
6542
6553
  linesChanged: "lines changed",
6543
6554
  additions: "additions",
6544
6555
  deletions: "deletions"
@@ -6570,7 +6581,7 @@ var Tr = {
6570
6581
  customTrigger: /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement("div", { className: `${s}__ahead-bar` })),
6571
6582
  preferredPlacement: "top"
6572
6583
  }))));
6573
- }, Nr = {
6584
+ }, Pr = {
6574
6585
  amex: /* @__PURE__ */ e.createElement("svg", {
6575
6586
  fill: "none",
6576
6587
  height: "42",
@@ -6788,7 +6799,7 @@ var Tr = {
6788
6799
  height: "42",
6789
6800
  width: "70"
6790
6801
  }))))
6791
- }, Pr = ({ className: t, paymentType: n, size: r = "2xl", ...i }) => {
6802
+ }, Fr = ({ className: t, paymentType: n, size: r = "2xl", ...i }) => {
6792
6803
  let a = "pds-payment-icon", o = `${a}--${r}`;
6793
6804
  return /* @__PURE__ */ e.createElement("div", {
6794
6805
  className: Z([
@@ -6797,8 +6808,8 @@ var Tr = {
6797
6808
  t ?? ""
6798
6809
  ]),
6799
6810
  ...i
6800
- }, Nr[n]);
6801
- }, Fr = ({ avatarProps: t, className: n, isSidebarCollapsed: r, isSingleLine: i, primaryText: a, secondaryText: o, ...c }) => {
6811
+ }, Pr[n]);
6812
+ }, Ir = ({ avatarProps: t, className: n, isSidebarCollapsed: r, isSingleLine: i, primaryText: a, secondaryText: o, ...c }) => {
6802
6813
  let u = "pds-identity-block", d = r ? `${u}--collapsed` : null, f = i ? `${u}--single-line` : null, p = t ? {
6803
6814
  ...t,
6804
6815
  size: i ? "s" : "m"
@@ -6837,7 +6848,7 @@ var Tr = {
6837
6848
  className: `${u}__secondary-text`,
6838
6849
  title: x ? o : void 0
6839
6850
  }, o)));
6840
- }, Ir = 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) => {
6851
+ }, Lr = 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) => {
6841
6852
  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) => {
6842
6853
  F || L(e.target.checked), g && g(e);
6843
6854
  }, B = `${D}__box`, V = o ? null : R ? `${B}--checked` : null, H = o ? `${B}--indeterminate` : null, U = s(() => {
@@ -6909,7 +6920,7 @@ var Tr = {
6909
6920
  message: P,
6910
6921
  validationStatus: S
6911
6922
  }));
6912
- }), Lr = ({ children: t, className: n, disabled: r = !1, fieldsetProps: i, id: a, inputWidth: o, label: s, labelVariant: c, message: l, required: u = !1, showLabel: d = !0, tooltipText: f = null, validationMessage: p, validationStatus: m, ...h }) => {
6923
+ }), Rr = ({ children: t, className: n, disabled: r = !1, fieldsetProps: i, id: a, inputWidth: o, label: s, labelVariant: c, message: l, required: u = !1, showLabel: d = !0, tooltipText: f = null, validationMessage: p, validationStatus: m, ...h }) => {
6913
6924
  let g = o ? { width: `${o / 16}rem` } : null, _ = "pds-checkbox-group", v = r ? $.disabled : null, y = u && !r ? $.required : null, b = m === "error" ? $.error : null, x = m === "success" ? $.success : null, S = p || l;
6914
6925
  return /* @__PURE__ */ e.createElement("div", {
6915
6926
  className: Z([
@@ -6942,7 +6953,7 @@ var Tr = {
6942
6953
  message: S,
6943
6954
  validationStatus: m
6944
6955
  }));
6945
- }, Rr = ({ className: t, disabled: n = !1, fieldsetProps: r, id: i, inputWidth: a, label: o, labelVariant: s, message: c, onGroupBlur: u, onValueChange: d, options: f, required: p = !1, showLabel: g = !0, tooltipText: _ = null, validationMessage: v, validationStatus: y, ...b }) => {
6956
+ }, zr = ({ className: t, disabled: n = !1, fieldsetProps: r, id: i, inputWidth: a, label: o, labelVariant: s, message: c, onGroupBlur: u, onValueChange: d, options: f, required: p = !1, showLabel: g = !0, tooltipText: _ = null, validationMessage: v, validationStatus: y, ...b }) => {
6946
6957
  let x = a ? { width: `${a / 16}rem` } : null, S = "pds-checkbox-group", C = n ? $.disabled : null, w = p && !n ? $.required : null, T = y === "error" ? $.error : null, E = y === "success" ? $.success : null, D = v || c;
6947
6958
  f.map((e) => {
6948
6959
  e.id || (e.id = e.value);
@@ -6991,7 +7002,7 @@ var Tr = {
6991
7002
  required: p,
6992
7003
  showLabel: g,
6993
7004
  tooltipText: _
6994
- }), /* @__PURE__ */ e.createElement("div", { className: `${S}__options` }, f.map((t) => /* @__PURE__ */ e.createElement(Ir, {
7005
+ }), /* @__PURE__ */ e.createElement("div", { className: `${S}__options` }, f.map((t) => /* @__PURE__ */ e.createElement(Lr, {
6995
7006
  key: t.id,
6996
7007
  checked: t.checked,
6997
7008
  className: `${S}__checkbox`,
@@ -7009,21 +7020,21 @@ var Tr = {
7009
7020
  message: D,
7010
7021
  validationStatus: y
7011
7022
  }));
7012
- }, zr = 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: _ = {
7023
+ }, 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: _ = {
7013
7024
  clearButton: "Clear input text",
7014
7025
  inputInstructions: "Type to search options",
7015
7026
  searchShortcut: "Press / to focus the search field",
7016
7027
  triggerButton: "Toggle dropdown menu"
7017
7028
  }, loadingText: v = "Loading results...", message: y, noResultsText: b = "No results found", onBlur: x, onChange: S, onClear: E, onFocus: D, onOptionSelect: k, options: A, placeholder: M, required: N = !1, showLabel: P = !0, showUnfilteredOptions: F = !1, size: I = "s", tooltipText: L = null, validationMessage: z, validationStatus: B, value: V, ...H }, U) => {
7018
- let ee = Bt(d), W = "pds-combobox", G = I === "s" ? null : `${W}--${I}`, te = r ? $.disabled : null, K = N && !r ? $.required : null, ne = B === "error" ? $.error : null, re = B === "success" ? $.success : null, ie = null;
7019
- o && (ie = "search"), B === "error" && (ie = "error"), B === "success" && (ie = "success");
7020
- let q = z || y, ae = V !== void 0, oe = n !== void 0, J = (e) => {
7029
+ let W = Bt(d), G = "pds-combobox", K = I === "s" ? null : `${G}--${I}`, ee = r ? $.disabled : null, q = N && !r ? $.required : null, te = B === "error" ? $.error : null, ne = B === "success" ? $.success : null, re = null;
7030
+ o && (re = "search"), B === "error" && (re = "error"), B === "success" && (re = "success");
7031
+ let J = z || y, ie = V !== void 0, ae = n !== void 0, Y = (e) => {
7021
7032
  let t = A.find((t) => t.value === e);
7022
7033
  return t ? t.label : "";
7023
- }, [X, se] = h(oe ? n : void 0), [ce, le] = h(ae ? V ?? "" : oe ? J(n) : "");
7034
+ }, [X, se] = h(ae ? n : void 0), [ce, le] = h(ie ? V ?? "" : ae ? Y(n) : "");
7024
7035
  l(() => {
7025
- ae && le(V ?? "");
7026
- }, [ae, V]);
7036
+ ie && le(V ?? "");
7037
+ }, [ie, V]);
7027
7038
  let ue = m(null), de = (e) => e.map(({ label: e, optionDisplay: t, searchIndex: n, value: r, ...i }) => {
7028
7039
  let a = r || e, o = [e, r];
7029
7040
  return n && o.push(...n), {
@@ -7043,7 +7054,7 @@ var Tr = {
7043
7054
  ce,
7044
7055
  F,
7045
7056
  f
7046
- ]), { getInputProps: pe, getItemProps: me, getMenuProps: he, highlightedIndex: ge, isOpen: _e, openMenu: ve, reset: ye } = Y({
7057
+ ]), { getInputProps: pe, getItemProps: me, getMenuProps: he, highlightedIndex: ge, isOpen: _e, openMenu: ve, reset: ye } = oe({
7047
7058
  id: u,
7048
7059
  inputId: `input-${u}`,
7049
7060
  items: fe,
@@ -7053,14 +7064,14 @@ var Tr = {
7053
7064
  le(e ?? "");
7054
7065
  },
7055
7066
  onSelectedItemChange: ({ selectedItem: e }) => {
7056
- e && (ae || le(e.label), se(e.value), k?.(e));
7067
+ e && (ie || le(e.label), se(e.value), k?.(e));
7057
7068
  },
7058
7069
  stateReducer: (e, { changes: t, type: n }) => {
7059
- if (n === Y.stateChangeTypes.InputBlur) return {
7070
+ if (n === oe.stateChangeTypes.InputBlur) return {
7060
7071
  ...t,
7061
7072
  inputValue: e.inputValue
7062
7073
  };
7063
- if (n === Y.stateChangeTypes.InputClick) {
7074
+ if (n === oe.stateChangeTypes.InputClick) {
7064
7075
  if (F) return {
7065
7076
  ...t,
7066
7077
  isOpen: !0
@@ -7109,7 +7120,7 @@ var Tr = {
7109
7120
  }, [U, Se]), Ee = () => {
7110
7121
  _e ? ye() : ve();
7111
7122
  }, De = () => {
7112
- ae || le(""), se(void 0), ye(), ue.current?.focus(), F && ve(), E?.();
7123
+ ie || le(""), se(void 0), ye(), ue.current?.focus(), F && ve(), E?.();
7113
7124
  }, Oe = (e) => {
7114
7125
  x?.(X);
7115
7126
  }, ke = (e) => {
@@ -7121,19 +7132,19 @@ var Tr = {
7121
7132
  item: t,
7122
7133
  index: n
7123
7134
  })
7124
- }, /* @__PURE__ */ e.createElement("span", { className: `${W}__option-label` }, t.optionDisplay || t.label)));
7135
+ }, /* @__PURE__ */ e.createElement("span", { className: `${G}__option-label` }, t.optionDisplay || t.label)));
7125
7136
  return /* @__PURE__ */ e.createElement("div", {
7126
7137
  className: Z([
7127
7138
  $.base,
7128
- W,
7129
7139
  G,
7130
- te,
7131
7140
  K,
7141
+ ee,
7142
+ q,
7143
+ te,
7132
7144
  ne,
7133
- re,
7134
7145
  t ?? ""
7135
7146
  ]),
7136
- style: d ? ee : null,
7147
+ style: d ? W : null,
7137
7148
  ...H
7138
7149
  }, /* @__PURE__ */ e.createElement(Ut, {
7139
7150
  disabled: r,
@@ -7144,16 +7155,16 @@ var Tr = {
7144
7155
  tooltipText: L
7145
7156
  }), /* @__PURE__ */ e.createElement("span", {
7146
7157
  ref: Te,
7147
- "aria-describedby": q ? `${u}__message` : null,
7158
+ "aria-describedby": J ? `${u}__message` : null,
7148
7159
  "aria-disabled": r ? !0 : null,
7149
7160
  "aria-invalid": B === "error" ? !0 : null,
7150
7161
  "aria-required": N ? !0 : null,
7151
- className: `${W}__input-wrapper`,
7162
+ className: `${G}__input-wrapper`,
7152
7163
  id: u
7153
- }, ie && /* @__PURE__ */ e.createElement(Kt, { variant: ie }), /* @__PURE__ */ e.createElement("input", {
7164
+ }, re && /* @__PURE__ */ e.createElement(Kt, { variant: re }), /* @__PURE__ */ e.createElement("input", {
7154
7165
  ref: ue,
7155
7166
  autoComplete: "off",
7156
- className: `${W}__input`,
7167
+ className: `${G}__input`,
7157
7168
  id: `input-${u}`,
7158
7169
  ...pe({
7159
7170
  "aria-label": _.inputInstructions,
@@ -7175,40 +7186,40 @@ var Tr = {
7175
7186
  }), a && /* @__PURE__ */ e.createElement("button", {
7176
7187
  "aria-expanded": _e,
7177
7188
  "aria-label": _.triggerButton,
7178
- className: `${W}__trigger`,
7189
+ className: `${G}__trigger`,
7179
7190
  disabled: r,
7180
7191
  onClick: Ee,
7181
7192
  type: "button"
7182
7193
  }, /* @__PURE__ */ e.createElement(Q, {
7183
- className: `${W}__trigger-icon`,
7194
+ className: `${G}__trigger-icon`,
7184
7195
  iconName: "angleDown",
7185
7196
  size: "m"
7186
7197
  }))), /* @__PURE__ */ e.createElement("div", {
7187
7198
  ref: Se.setFloating,
7188
- className: `pds-dropdown__panel ${W}__dropdown`,
7199
+ className: `pds-dropdown__panel ${G}__dropdown`,
7189
7200
  style: Ce ? {
7190
7201
  ...xe,
7191
7202
  ...we,
7192
7203
  zIndex: "var(--pds-z-index-dropdown)"
7193
7204
  } : { display: "none" }
7194
- }, Ce && f && /* @__PURE__ */ e.createElement("div", { className: `${W}__loading` }, v), Ce && !f && fe.length === 0 && /* @__PURE__ */ e.createElement("div", { className: "pds-dropdown__no-results" }, b), /* @__PURE__ */ e.createElement("ul", {
7195
- className: `${W}__options`,
7205
+ }, Ce && f && /* @__PURE__ */ e.createElement("div", { className: `${G}__loading` }, v), Ce && !f && fe.length === 0 && /* @__PURE__ */ e.createElement("div", { className: "pds-dropdown__no-results" }, b), /* @__PURE__ */ e.createElement("ul", {
7206
+ className: `${G}__options`,
7196
7207
  ...he(),
7197
7208
  style: Ce && !f && fe.length > 0 ? void 0 : { display: "none" }
7198
- }, Ce && !f && Ae())), q && /* @__PURE__ */ e.createElement(Wt, {
7209
+ }, Ce && !f && Ae())), J && /* @__PURE__ */ e.createElement(Wt, {
7199
7210
  hasValidationMessage: !!z,
7200
7211
  id: u,
7201
- message: q,
7212
+ message: J,
7202
7213
  validationMessageHasDecorators: !1,
7203
7214
  validationStatus: B
7204
7215
  }));
7205
- }), Br = (e, t, n) => {
7216
+ }), Vr = (e, t, n) => {
7206
7217
  let r = n.toLowerCase();
7207
7218
  return e.filter((e) => e.label.toLowerCase().includes(r)).map((e) => ({
7208
7219
  ...e,
7209
7220
  isAlreadySelected: t.some((t) => t.id === e.id)
7210
7221
  })).sort((e, t) => e.badge && !t.badge ? -1 : !e.badge && t.badge ? 1 : 0);
7211
- }, Vr = ({ aiSuggestions: t, className: n, disabled: r = !1, id: i, initialSelectedItems: a = [], inputWidth: o, isLoading: s = !1, label: c = "Lorem ipsum dolor sit:", labelStrings: l = {
7222
+ }, Hr = ({ aiSuggestions: t, className: n, disabled: r = !1, id: i, initialSelectedItems: a = [], inputWidth: o, isLoading: s = !1, label: c = "Lorem ipsum dolor sit:", labelStrings: l = {
7212
7223
  aiBadgeLabel: "Suggested",
7213
7224
  aiPanelButton: "Show AI suggestions",
7214
7225
  aiPanelClose: "Close suggestions panel",
@@ -7216,16 +7227,16 @@ var Tr = {
7216
7227
  inputInstructions: "Type to search options",
7217
7228
  triggerButton: "Toggle dropdown menu"
7218
7229
  }, 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", ...S }) => {
7219
- let E = Bt(o), D = "pds-combobox-multi", k = x === "s" ? null : `${D}--${x}`, M = r ? $.disabled : null, N = v && !r ? $.required : null, P = y ? `${D}--show-all-tags` : null, [I, L] = h(""), [R, z] = h(a), [B, V] = h(null), [H, U] = h(!1), ee = p(() => Br(g, R, I), [
7230
+ let E = Bt(o), D = "pds-combobox-multi", k = x === "s" ? null : `${D}--${x}`, M = r ? $.disabled : null, N = v && !r ? $.required : null, P = y ? `${D}--show-all-tags` : null, [I, L] = h(""), [R, z] = h(a), [B, V] = h(null), [H, U] = h(!1), W = p(() => Vr(g, R, I), [
7220
7231
  g,
7221
7232
  R,
7222
7233
  I
7223
- ]), W = p(() => t?.items?.map((e) => ({
7234
+ ]), G = p(() => t?.items?.map((e) => ({
7224
7235
  ...e,
7225
7236
  isAlreadySelected: R.some((t) => t.id === e.id)
7226
- })) || [], [t?.items, R]), G = (e) => {
7237
+ })) || [], [t?.items, R]), K = (e) => {
7227
7238
  z(e), f?.(e);
7228
- }, { getDropdownProps: te, getSelectedItemProps: K, removeSelectedItem: ne } = X({
7239
+ }, { getDropdownProps: ee, getSelectedItemProps: q, removeSelectedItem: te } = X({
7229
7240
  selectedItems: R,
7230
7241
  onStateChange: ({ selectedItems: e, type: t }) => {
7231
7242
  if (!r) switch (t) {
@@ -7233,13 +7244,13 @@ var Tr = {
7233
7244
  case X.stateChangeTypes.SelectedItemKeyDownDelete:
7234
7245
  case X.stateChangeTypes.DropdownKeyDownBackspace:
7235
7246
  case X.stateChangeTypes.FunctionRemoveSelectedItem:
7236
- G(e || []);
7247
+ K(e || []);
7237
7248
  break;
7238
7249
  default: break;
7239
7250
  }
7240
7251
  }
7241
- }), { closeMenu: re, getInputProps: ie, getItemProps: q, getMenuProps: ae, getToggleButtonProps: oe, highlightedIndex: J, isOpen: se, openMenu: ce, selectedItem: le } = Y({
7242
- items: ee,
7252
+ }), { closeMenu: ne, getInputProps: re, getItemProps: J, getMenuProps: ie, getToggleButtonProps: ae, highlightedIndex: Y, isOpen: se, openMenu: ce, selectedItem: le } = oe({
7253
+ items: W,
7243
7254
  itemToString: (e) => e ? e.label : "",
7244
7255
  selectedItem: null,
7245
7256
  inputValue: I,
@@ -7247,8 +7258,8 @@ var Tr = {
7247
7258
  stateReducer: (e, { changes: t, type: n }) => {
7248
7259
  if (r) return e;
7249
7260
  switch (n) {
7250
- case Y.stateChangeTypes.InputKeyDownEnter:
7251
- case Y.stateChangeTypes.ItemClick: return {
7261
+ case oe.stateChangeTypes.InputKeyDownEnter:
7262
+ case oe.stateChangeTypes.ItemClick: return {
7252
7263
  ...t,
7253
7264
  isOpen: !0,
7254
7265
  highlightedIndex: e.highlightedIndex
@@ -7258,16 +7269,16 @@ var Tr = {
7258
7269
  },
7259
7270
  onStateChange: ({ inputValue: e, isOpen: t, selectedItem: n, type: i }) => {
7260
7271
  if (!r) switch (i) {
7261
- case Y.stateChangeTypes.InputKeyDownEnter:
7262
- case Y.stateChangeTypes.ItemClick:
7263
- case Y.stateChangeTypes.InputBlur:
7264
- n && (n.isAlreadySelected ? G(R.filter((e) => e.id !== n.id)) : G([...R, n]), L(""), V(null));
7272
+ case oe.stateChangeTypes.InputKeyDownEnter:
7273
+ case oe.stateChangeTypes.ItemClick:
7274
+ case oe.stateChangeTypes.InputBlur:
7275
+ n && (n.isAlreadySelected ? K(R.filter((e) => e.id !== n.id)) : K([...R, n]), L(""), V(null));
7265
7276
  break;
7266
- case Y.stateChangeTypes.InputChange:
7277
+ case oe.stateChangeTypes.InputChange:
7267
7278
  L(e || ""), V(null);
7268
7279
  break;
7269
- case Y.stateChangeTypes.ToggleButtonClick:
7270
- case Y.stateChangeTypes.FunctionOpenMenu:
7280
+ case oe.stateChangeTypes.ToggleButtonClick:
7281
+ case oe.stateChangeTypes.FunctionOpenMenu:
7271
7282
  t && U(!1);
7272
7283
  break;
7273
7284
  default: break;
@@ -7309,9 +7320,9 @@ var Tr = {
7309
7320
  }), { getFloatingProps: he } = F([A(fe)]), ge = (e) => {
7310
7321
  if (e.stopPropagation(), r) return;
7311
7322
  let t = !H;
7312
- U(t), t && se && re();
7323
+ U(t), t && se && ne();
7313
7324
  }, _e = (e) => {
7314
- r || (e.isAlreadySelected ? G(R.filter((t) => t.id !== e.id)) : G([...R, e]));
7325
+ r || (e.isAlreadySelected ? K(R.filter((t) => t.id !== e.id)) : K([...R, e]));
7315
7326
  }, ve = () => {
7316
7327
  U(!1), t?.onClose?.();
7317
7328
  }, ye = () => {
@@ -7320,16 +7331,16 @@ var Tr = {
7320
7331
  if (B === null) V(R.length - 1);
7321
7332
  else {
7322
7333
  let e = [...R];
7323
- e.splice(B, 1), G(e), V(null);
7334
+ e.splice(B, 1), K(e), V(null);
7324
7335
  }
7325
7336
  }, xe = m(!1), Se = () => {
7326
- r || (xe.current ? re() : ce());
7337
+ r || (xe.current ? ne() : ce());
7327
7338
  }, Ce = (e) => {
7328
7339
  xe.current = se, !r && e.currentTarget.setAttribute("data-focus-method", "mouse");
7329
7340
  }, we = (e) => {
7330
7341
  e.currentTarget.setAttribute("data-focus-method", "keyboard"), !r && ((e.key === "Backspace" || e.key === "Delete") && !I && R.length > 0 && (e.preventDefault(), be()), e.key === "Enter" && B !== null && (e.preventDefault(), be()), !se && (e.key === "Enter" || e.key === "ArrowDown") && (e.preventDefault(), ce()));
7331
- }, Te = ie({
7332
- ...te({ preventKeyAction: se }),
7342
+ }, Te = re({
7343
+ ...ee({ preventKeyAction: se }),
7333
7344
  disabled: r,
7334
7345
  onKeyDown: we
7335
7346
  }), Ee = R.length === 2 ? /* @__PURE__ */ e.createElement("span", { className: `${D}__counter-item` }, R.length - 1) : R.length === 3 ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${D}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${D}__counter-item` }, R.length - 1)) : R.length > 3 ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${D}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${D}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${D}__counter-item` }, R.length - 1)) : "";
@@ -7368,7 +7379,7 @@ var Tr = {
7368
7379
  ${D}__selected-item
7369
7380
  ${n === B ? `${D}__selected-item--marked-for-deletion` : ""}
7370
7381
  `,
7371
- ...K({
7382
+ ...q({
7372
7383
  selectedItem: t,
7373
7384
  index: n
7374
7385
  }),
@@ -7377,7 +7388,7 @@ var Tr = {
7377
7388
  "aria-label": `Remove ${t.label}`,
7378
7389
  className: `${D}__selected-item-remove`,
7379
7390
  onClick: (e) => {
7380
- e.stopPropagation(), ne(t);
7391
+ e.stopPropagation(), te(t);
7381
7392
  },
7382
7393
  onKeyDown: (e) => {
7383
7394
  (e.key === "Enter" || e.key === " ") && e.stopPropagation();
@@ -7401,13 +7412,13 @@ var Tr = {
7401
7412
  className: `${D}__trigger ${M}`,
7402
7413
  disabled: r,
7403
7414
  type: "button",
7404
- ...oe({ onClick: (e) => e.stopPropagation() })
7415
+ ...ae({ onClick: (e) => e.stopPropagation() })
7405
7416
  }, /* @__PURE__ */ e.createElement(Q, {
7406
7417
  className: `${D}__trigger-icon`,
7407
7418
  iconName: "angleDown",
7408
7419
  size: "m"
7409
7420
  })))), /* @__PURE__ */ e.createElement("div", {
7410
- ...te(),
7421
+ ...ee(),
7411
7422
  ref: de.setFloating,
7412
7423
  className: `pds-dropdown__panel ${D}__dropdown`,
7413
7424
  style: se ? {
@@ -7422,17 +7433,17 @@ var Tr = {
7422
7433
  onClick: (e) => {
7423
7434
  e.stopPropagation();
7424
7435
  }
7425
- })), se && s && /* @__PURE__ */ e.createElement("div", { className: `${D}__loading` }, u), se && !s && ee.length === 0 && /* @__PURE__ */ e.createElement("div", { className: "pds-dropdown__no-results" }, d), /* @__PURE__ */ e.createElement("ul", {
7436
+ })), se && s && /* @__PURE__ */ e.createElement("div", { className: `${D}__loading` }, u), se && !s && W.length === 0 && /* @__PURE__ */ e.createElement("div", { className: "pds-dropdown__no-results" }, d), /* @__PURE__ */ e.createElement("ul", {
7426
7437
  className: `${D}__dropdown-list`,
7427
- ...ae(),
7428
- style: se && !s && ee.length > 0 ? void 0 : { display: "none" }
7429
- }, se && !s && ee.map((t, n) => /* @__PURE__ */ e.createElement(Qt, {
7438
+ ...ie(),
7439
+ style: se && !s && W.length > 0 ? void 0 : { display: "none" }
7440
+ }, se && !s && W.map((t, n) => /* @__PURE__ */ e.createElement(Qt, {
7430
7441
  key: `${t.id}-${n}`,
7431
7442
  className: `${D}__dropdown-item
7432
- ${J === n ? "pds-dropdown__item--focused" : ""}
7443
+ ${Y === n ? "pds-dropdown__item--focused" : ""}
7433
7444
  ${le === t ? `${D}__dropdown-item--selected` : ""}
7434
7445
  ${t.isAlreadySelected ? "pds-dropdown__item--active" : ""}`,
7435
- ...q({
7446
+ ...J({
7436
7447
  item: t,
7437
7448
  index: n
7438
7449
  })
@@ -7451,7 +7462,7 @@ var Tr = {
7451
7462
  className: `${D}__aux-panel-icon`,
7452
7463
  iconName: "sparkles",
7453
7464
  size: "m"
7454
- }), /* @__PURE__ */ e.createElement("div", { className: `${D}__aux-panel-items` }, W.map((t) => /* @__PURE__ */ e.createElement("button", {
7465
+ }), /* @__PURE__ */ e.createElement("div", { className: `${D}__aux-panel-items` }, G.map((t) => /* @__PURE__ */ e.createElement("button", {
7455
7466
  key: t.id,
7456
7467
  className: Z([`${D}__aux-panel-item`, t.isAlreadySelected ? `${D}__aux-panel-item--selected` : ""]),
7457
7468
  onClick: () => _e(t),
@@ -7475,7 +7486,7 @@ var Tr = {
7475
7486
  iconName: "xmark",
7476
7487
  size: "m"
7477
7488
  })))));
7478
- }, Hr = (e, t) => e ? se(e, "PP", { locale: t }) : "", Ur = (e) => {
7489
+ }, Ur = (e, t) => e ? se(e, "PP", { locale: t }) : "", Wr = (e) => {
7479
7490
  if (e.custom) return e.custom();
7480
7491
  let t = /* @__PURE__ */ new Date();
7481
7492
  if (t.setHours(0, 0, 0, 0), e.days !== void 0) {
@@ -7528,7 +7539,7 @@ var Tr = {
7528
7539
  to: t
7529
7540
  };
7530
7541
  }
7531
- }, Wr = {
7542
+ }, Gr = {
7532
7543
  clearButton: "Clear",
7533
7544
  doneButton: "Done",
7534
7545
  noDateSelected: "No date selected",
@@ -7539,11 +7550,11 @@ var Tr = {
7539
7550
  selectedDateRange: "Selected date range: ",
7540
7551
  to: " to ",
7541
7552
  todayButton: "Today"
7542
- }, Gr = ({ 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, ...S }) => {
7553
+ }, Kr = ({ 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, ...S }) => {
7543
7554
  let E = {
7544
- ...Wr,
7555
+ ...Gr,
7545
7556
  ...v
7546
- }, [O, k] = h(x), [A, M] = h(!1), [N, P] = h(null), [F, I] = h(r ? x?.from : x), L = Bt(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: ee, refs: W } = j({
7557
+ }, [O, k] = h(x), [A, M] = h(!1), [N, P] = h(null), [F, I] = h(r ? x?.from : x), L = Bt(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 } = j({
7547
7558
  open: A,
7548
7559
  onOpenChange: M,
7549
7560
  placement: "bottom-start",
@@ -7553,22 +7564,22 @@ var Tr = {
7553
7564
  D({ padding: 8 })
7554
7565
  ],
7555
7566
  whileElementsMounted: C
7556
- }), G = (e) => {
7567
+ }), K = (e) => {
7557
7568
  k(e), f?.(e), r || setTimeout(() => {
7558
7569
  M(!1);
7559
7570
  }, 300);
7560
- }, te = (e) => {
7561
- G(e);
7562
- }, K = (e) => {
7563
- G(e);
7564
- }, ne = () => {
7571
+ }, ee = (e) => {
7572
+ K(e);
7573
+ }, q = (e) => {
7574
+ K(e);
7575
+ }, te = () => {
7565
7576
  k(void 0), f?.(void 0);
7566
- }, re = () => {
7577
+ }, ne = () => {
7567
7578
  M(!1);
7568
- }, ie = () => {
7579
+ }, re = () => {
7569
7580
  let e = /* @__PURE__ */ new Date();
7570
7581
  I(e), r ? (k(void 0), f?.(void 0)) : (k(e), f?.(e));
7571
- }, q = () => r ? O?.from : O, ae = ({ className: t, orientation: n }) => n === "left" ? /* @__PURE__ */ e.createElement(Q, {
7582
+ }, J = () => r ? O?.from : O, ie = ({ className: t, orientation: n }) => n === "left" ? /* @__PURE__ */ e.createElement(Q, {
7572
7583
  className: t,
7573
7584
  iconName: "angleLeft",
7574
7585
  size: "m"
@@ -7576,27 +7587,27 @@ var Tr = {
7576
7587
  className: t,
7577
7588
  iconName: "angleRight",
7578
7589
  size: "m"
7579
- }), oe = (e) => se(e, "EEEEE", { locale: s }), J = () => {
7590
+ }), ae = (e) => se(e, "EEEEE", { locale: s }), Y = () => {
7580
7591
  let e = [];
7581
7592
  return d && e.push({ before: d }), c && e.push({ after: c }), e.length > 0 ? e : void 0;
7582
- }, Y = () => {
7593
+ }, oe = () => {
7583
7594
  if (r) {
7584
7595
  let t = O;
7585
- return t?.from ? t.to ? /* @__PURE__ */ e.createElement(e.Fragment, null, Hr(t.from, s), /* @__PURE__ */ e.createElement("span", { className: `${R}__separator` }, " – "), Hr(t.to, s)) : Hr(t.from, s) : p || "";
7596
+ return t?.from ? t.to ? /* @__PURE__ */ e.createElement(e.Fragment, null, Ur(t.from, s), /* @__PURE__ */ e.createElement("span", { className: `${R}__separator` }, " – "), Ur(t.to, s)) : Ur(t.from, s) : p || "";
7586
7597
  } else {
7587
7598
  let e = O;
7588
- return e ? Hr(e, s) : p || "";
7599
+ return e ? Ur(e, s) : p || "";
7589
7600
  }
7590
7601
  }, X = () => r ? !O?.from : !O, le = () => {
7591
7602
  if (r) {
7592
7603
  let e = O;
7593
- return e?.from ? e.to ? `${E.selectedDateRange}${Hr(e.from, s)}${E.to}${Hr(e.to, s)}` : `${E.selectedStartDate}${Hr(e.from, s)}${E.pleaseSelectEndDate}` : E.noDateRangeSelected || "";
7604
+ return e?.from ? e.to ? `${E.selectedDateRange}${Ur(e.from, s)}${E.to}${Ur(e.to, s)}` : `${E.selectedStartDate}${Ur(e.from, s)}${E.pleaseSelectEndDate}` : E.noDateRangeSelected || "";
7594
7605
  } else {
7595
7606
  let e = O;
7596
- return e ? `${E.selectedDate}${Hr(e, s)}` : E.noDateSelected || "";
7607
+ return e ? `${E.selectedDate}${Ur(e, s)}` : E.noDateSelected || "";
7597
7608
  }
7598
7609
  }, ue = (e) => {
7599
- W.floating.current && !W.floating.current.contains(e.target) && N && !N.contains(e.target) && M(!1);
7610
+ G.floating.current && !G.floating.current.contains(e.target) && N && !N.contains(e.target) && M(!1);
7600
7611
  };
7601
7612
  return l(() => {
7602
7613
  k(x);
@@ -7623,7 +7634,7 @@ var Tr = {
7623
7634
  tooltipText: _
7624
7635
  }), /* @__PURE__ */ e.createElement("div", { className: `${R}__input-wrapper` }, /* @__PURE__ */ e.createElement("button", {
7625
7636
  ref: (e) => {
7626
- W.setReference(e), P(e);
7637
+ G.setReference(e), P(e);
7627
7638
  },
7628
7639
  "aria-describedby": U ? `${i}__message` : null,
7629
7640
  "aria-expanded": A,
@@ -7632,70 +7643,70 @@ var Tr = {
7632
7643
  className: Z([`${R}__trigger`, A ? `${R}__trigger--open` : null]),
7633
7644
  disabled: n,
7634
7645
  onClick: () => {
7635
- A || I(q() ?? /* @__PURE__ */ new Date()), M(!A);
7646
+ A || I(J() ?? /* @__PURE__ */ new Date()), M(!A);
7636
7647
  },
7637
7648
  type: "button"
7638
7649
  }, /* @__PURE__ */ e.createElement(Q, {
7639
7650
  className: `${R}__trigger-icon`,
7640
7651
  iconName: "calendarDays"
7641
- }), /* @__PURE__ */ e.createElement("span", { className: Z([`${R}__trigger-text`, X() ? `${R}__trigger-text--placeholder` : null]) }, Y()))), U && /* @__PURE__ */ e.createElement(Wt, {
7652
+ }), /* @__PURE__ */ e.createElement("span", { className: Z([`${R}__trigger-text`, X() ? `${R}__trigger-text--placeholder` : null]) }, oe()))), U && /* @__PURE__ */ e.createElement(Wt, {
7642
7653
  hasValidationMessage: !!y,
7643
7654
  id: i,
7644
7655
  message: U,
7645
7656
  validationStatus: b
7646
7657
  }), A && /* @__PURE__ */ e.createElement("div", {
7647
- ref: W.setFloating,
7658
+ ref: G.setFloating,
7648
7659
  className: `${R}__popover`,
7649
- style: ee
7660
+ style: W
7650
7661
  }, /* @__PURE__ */ e.createElement("div", { className: `${R}__calendar` }, r ? /* @__PURE__ */ e.createElement(ce, {
7651
- components: { Chevron: ae },
7652
- disabled: J(),
7662
+ components: { Chevron: ie },
7663
+ disabled: Y(),
7653
7664
  footer: /* @__PURE__ */ e.createElement("div", { className: "visually-hidden" }, le()),
7654
- formatters: { formatWeekdayName: oe },
7665
+ formatters: { formatWeekdayName: ae },
7655
7666
  locale: s,
7656
7667
  mode: "range",
7657
7668
  month: F,
7658
7669
  navLayout: "around",
7659
7670
  numberOfMonths: 2,
7660
7671
  onMonthChange: I,
7661
- onSelect: te,
7672
+ onSelect: ee,
7662
7673
  selected: O
7663
7674
  }) : /* @__PURE__ */ e.createElement(ce, {
7664
- components: { Chevron: ae },
7665
- disabled: J(),
7675
+ components: { Chevron: ie },
7676
+ disabled: Y(),
7666
7677
  footer: /* @__PURE__ */ e.createElement("div", { className: "visually-hidden" }, le()),
7667
- formatters: { formatWeekdayName: oe },
7678
+ formatters: { formatWeekdayName: ae },
7668
7679
  locale: s,
7669
7680
  mode: "single",
7670
7681
  month: F,
7671
7682
  navLayout: "around",
7672
7683
  numberOfMonths: 1,
7673
7684
  onMonthChange: I,
7674
- onSelect: K,
7685
+ onSelect: q,
7675
7686
  selected: O
7676
7687
  })), /* @__PURE__ */ e.createElement("div", { className: `${R}__actions` }, /* @__PURE__ */ e.createElement(un, {
7677
7688
  className: `${R}__action-button ${R}__action-button--today`,
7678
7689
  label: E.todayButton,
7679
- onClick: ie,
7690
+ onClick: re,
7680
7691
  size: "s",
7681
7692
  type: "button",
7682
7693
  variant: "secondary"
7683
7694
  }), /* @__PURE__ */ e.createElement("div", { className: `${R}__actions-group` }, /* @__PURE__ */ e.createElement(un, {
7684
7695
  className: `${R}__action-button ${R}__action-button--clear`,
7685
7696
  label: E.clearButton,
7686
- onClick: ne,
7697
+ onClick: te,
7687
7698
  size: "s",
7688
7699
  type: "button",
7689
7700
  variant: "secondary"
7690
7701
  }), r && /* @__PURE__ */ e.createElement(un, {
7691
7702
  className: `${R}__action-button ${R}__action-button--done`,
7692
7703
  label: E.doneButton,
7693
- onClick: re,
7704
+ onClick: ne,
7694
7705
  size: "s",
7695
7706
  type: "button",
7696
7707
  variant: "highlight"
7697
7708
  })))));
7698
- }, Kr = a(({ accept: t, className: n, defaultValue: r, disabled: i = !1, fieldLabel: a, id: o, inputProps: s, inputWidth: c, labelStrings: u = {
7709
+ }, qr = a(({ accept: t, className: n, defaultValue: r, disabled: i = !1, fieldLabel: a, id: o, inputProps: s, inputWidth: c, labelStrings: u = {
7699
7710
  chooseFile: "Choose file",
7700
7711
  clearButton: "Clear selected file"
7701
7712
  }, 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) => {
@@ -7714,13 +7725,13 @@ var Tr = {
7714
7725
  if (!e || !r) return;
7715
7726
  let t = new DataTransfer();
7716
7727
  t.items.add(H), e.files = t.files, E(!0);
7717
- }, ee = (e) => {
7728
+ }, W = (e) => {
7718
7729
  if (e.target.files.length === 0) {
7719
7730
  r ? U() : E(!1);
7720
7731
  return;
7721
7732
  }
7722
7733
  le && r && (r === e.target.value ? O(!0) : O(!1)), m && m(e.target.files), E(!0);
7723
- }, W = () => {
7734
+ }, G = () => {
7724
7735
  let e = document.getElementById(`${o}--input`);
7725
7736
  e.value = "", le && O(!1), p && p(), E(!1), e.focus();
7726
7737
  };
@@ -7764,13 +7775,13 @@ var Tr = {
7764
7775
  disabled: i,
7765
7776
  id: `${o}--input`,
7766
7777
  multiple: f,
7767
- onChange: ee,
7778
+ onChange: W,
7768
7779
  required: g,
7769
7780
  type: "file",
7770
7781
  ...s
7771
7782
  }), T && /* @__PURE__ */ e.createElement(Jt, {
7772
7783
  clearLabel: u.clearButton,
7773
- handleClearInput: W,
7784
+ handleClearInput: G,
7774
7785
  id: o
7775
7786
  })), R && /* @__PURE__ */ e.createElement(Wt, {
7776
7787
  hasValidationMessage: !!x,
@@ -7779,7 +7790,7 @@ var Tr = {
7779
7790
  validationMessageHasDecorators: !1,
7780
7791
  validationStatus: S
7781
7792
  }));
7782
- }), qr = ({ children: t, className: n, ...r }) => {
7793
+ }), Jr = ({ children: t, className: n, ...r }) => {
7783
7794
  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;
7784
7795
  return /* @__PURE__ */ e.createElement("div", {
7785
7796
  className: Z([
@@ -7796,7 +7807,7 @@ var Tr = {
7796
7807
  validationMessageHasDecorators: !1,
7797
7808
  validationStatus: l
7798
7809
  }));
7799
- }, Jr = ({ className: t, defaultValue: n, disabled: r = !1, fieldsetProps: i, id: a, inputWidth: o, label: s, labelVariant: c, message: l, onBlur: u, onChange: d, onValueChange: f, options: p, required: m = !1, showLabel: g = !0, tooltipText: _ = null, validationMessage: v, validationStatus: y, value: b, ...x }) => {
7810
+ }, Yr = ({ className: t, defaultValue: n, disabled: r = !1, fieldsetProps: i, id: a, inputWidth: o, label: s, labelVariant: c, message: l, onBlur: u, onChange: d, onValueChange: f, options: p, required: m = !1, showLabel: g = !0, tooltipText: _ = null, validationMessage: v, validationStatus: y, value: b, ...x }) => {
7800
7811
  let S = "pds-radio-group", C = r ? $.disabled : null, w = m && !r ? $.required : null, T = y === "error" ? $.error : null, E = y === "success" ? $.success : null, D = b !== void 0, [O, k] = h(n === void 0 ? "" : n), A = v || l, j = (e) => {
7801
7812
  D || k(e.target.value), d && d(e), f && f(e.target.value);
7802
7813
  }, M = (e) => {
@@ -7846,7 +7857,7 @@ var Tr = {
7846
7857
  message: A,
7847
7858
  validationStatus: y
7848
7859
  }));
7849
- }, Yr = a(({ checked: t, className: n, defaultChecked: r, disabled: i = !1, id: a, inputProps: o, inputWidth: s, label: c, message: l, offLabel: u = "Off", onChange: d, onLabel: f = "On", required: p = !1, showLabel: m = !0, showStatusLabel: g = !0, statusLabelPlacement: _ = "right", switchPlacement: v = "right", ...y }, b) => {
7860
+ }, Xr = a(({ checked: t, className: n, defaultChecked: r, disabled: i = !1, id: a, inputProps: o, inputWidth: s, label: c, message: l, offLabel: u = "Off", onChange: d, onLabel: f = "On", required: p = !1, showLabel: m = !0, showStatusLabel: g = !0, statusLabelPlacement: _ = "right", switchPlacement: v = "right", ...y }, b) => {
7850
7861
  let x = Bt(s), S = "pds-switch", C = `${S}--${v}`, w = l ? `${S}--message` : null, T = i ? $.disabled : null, E = p && !i ? $.required : null, D = t !== void 0, [O, k] = h(!D && r ? r : !1), A = t || O ? f : u, j = (e) => {
7851
7862
  D || k(e.target.checked), d && d(e);
7852
7863
  }, M = g ? /* @__PURE__ */ e.createElement("span", {
@@ -7901,7 +7912,7 @@ var Tr = {
7901
7912
  required: p,
7902
7913
  showLabel: m
7903
7914
  }), /* @__PURE__ */ e.createElement("div", { className: `${S}__content` }, F, P));
7904
- }), Xr = ({ 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 }) => {
7915
+ }), Zr = ({ 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 }) => {
7905
7916
  let y = m(null), b = "pds-tags-input__tag";
7906
7917
  l(() => {
7907
7918
  r === i && y.current && y.current.focus();
@@ -7968,50 +7979,50 @@ var Tr = {
7968
7979
  iconName: "xmark",
7969
7980
  size: "s"
7970
7981
  })));
7971
- }, Zr = 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 = {
7982
+ }, Qr = 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 = {
7972
7983
  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.",
7973
7984
  tagAriaLabel: "tag {index} of {total}. Press Shift plus arrow keys to reorder, Delete to remove.",
7974
7985
  tagAriaLabelSimple: "tag {index} of {total}. Press Delete to remove.",
7975
7986
  tagRemove: "Remove {value}",
7976
7987
  tagsListLabel: "Current tags"
7977
7988
  }, validationMessage: b, validationStatus: x, ...S }, C) => {
7978
- let w = Bt(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(""), ee = m(null), W = _.length > 0 ? t : d, G = (e) => {
7989
+ let w = Bt(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) => {
7979
7990
  U(e), setTimeout(() => U(""), 1e3);
7980
- }, te = (e) => {
7991
+ }, ee = (e) => {
7981
7992
  u(e);
7982
- }, K = (e) => {
7993
+ }, q = (e) => {
7983
7994
  F(e);
7984
- }, ne = () => {
7995
+ }, te = () => {
7985
7996
  F(null), L(null), z(null);
7986
- }, re = (e, t) => {
7997
+ }, ne = (e, t) => {
7987
7998
  P === null || P === e || (L(e), z(t));
7988
- }, ie = (e) => {
7999
+ }, re = (e) => {
7989
8000
  if (e.preventDefault(), P === null || I === null || R === null) return;
7990
8001
  let t = _.findIndex((e) => e.id === P), n = _.findIndex((e) => e.id === I);
7991
8002
  if (t === -1 || n === -1) return;
7992
8003
  let r = [..._], [i] = r.splice(t, 1), a = n;
7993
- a = R === "after" ? t < n ? n : n + 1 : n, r.splice(a, 0, i), te(r), G("Tag reordered"), F(null), L(null), z(null);
7994
- }, q = (e, t) => {
8004
+ a = R === "after" ? t < n ? n : n + 1 : n, r.splice(a, 0, i), ee(r), K("Tag reordered"), F(null), L(null), z(null);
8005
+ }, J = (e, t) => {
7995
8006
  let n = [..._], [r] = n.splice(e, 1);
7996
- n.splice(t, 0, r), G(`${r.value} moved to position ${t + 1} of ${_.length}`), te(n);
7997
- }, ae = (e) => {
8007
+ n.splice(t, 0, r), K(`${r.value} moved to position ${t + 1} of ${_.length}`), ee(n);
8008
+ }, ie = (e) => {
7998
8009
  let t = _.find((t) => t.id === e);
7999
- te(_.filter((t) => t.id !== e)), t && G(`${t.value} removed`);
8000
- }, oe = () => {
8010
+ ee(_.filter((t) => t.id !== e)), t && K(`${t.value} removed`);
8011
+ }, ae = () => {
8001
8012
  V(null), setTimeout(() => {
8002
- ee.current?.focus();
8013
+ W.current?.focus();
8003
8014
  }, 0);
8004
- }, J = (e) => {
8015
+ }, Y = (e) => {
8005
8016
  if (!r) if (e.key === "Enter" && M.trim()) {
8006
8017
  e.preventDefault();
8007
8018
  let t = {
8008
8019
  id: Date.now().toString(),
8009
8020
  value: M.trim()
8010
8021
  };
8011
- te([..._, t]), G(`${M.trim()} added`), N("");
8022
+ ee([..._, t]), K(`${M.trim()} added`), N("");
8012
8023
  } else if (e.key === "Backspace" && !M && _.length > 0) {
8013
8024
  let e = _[_.length - 1];
8014
- te(_.slice(0, -1)), G(`${e.value} removed`);
8025
+ ee(_.slice(0, -1)), K(`${e.value} removed`);
8015
8026
  } else e.key === "ArrowLeft" && !M && _.length > 0 && (e.preventDefault(), V(_.length - 1));
8016
8027
  };
8017
8028
  return /* @__PURE__ */ e.createElement("div", {
@@ -8047,26 +8058,26 @@ var Tr = {
8047
8058
  "aria-label": y.tagsListLabel,
8048
8059
  className: `${T}__tags`,
8049
8060
  onDragOver: s ? (e) => e.preventDefault() : void 0,
8050
- onDrop: s ? ie : void 0,
8061
+ onDrop: s ? re : void 0,
8051
8062
  role: "list"
8052
8063
  }, _.map((t, n) => {
8053
8064
  let i = null;
8054
8065
  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", {
8055
8066
  key: t.id,
8056
8067
  role: "listitem"
8057
- }, /* @__PURE__ */ e.createElement(Xr, {
8068
+ }, /* @__PURE__ */ e.createElement(Zr, {
8058
8069
  disabled: r,
8059
8070
  dropTargetDirection: i,
8060
8071
  focusedIndex: B,
8061
8072
  index: n,
8062
8073
  isDragging: P === t.id,
8063
8074
  isSortable: s,
8064
- onDragEnd: ne,
8065
- onDragOver: re,
8066
- onDragStart: K,
8067
- onFocusInput: oe,
8068
- onKeyboardMove: q,
8069
- onRemove: ae,
8075
+ onDragEnd: te,
8076
+ onDragOver: ne,
8077
+ onDragStart: q,
8078
+ onFocusInput: ae,
8079
+ onKeyboardMove: J,
8080
+ onRemove: ie,
8070
8081
  setFocusedIndex: V,
8071
8082
  tag: t,
8072
8083
  totalTags: _.length,
@@ -8074,7 +8085,7 @@ var Tr = {
8074
8085
  }));
8075
8086
  })), /* @__PURE__ */ e.createElement("input", {
8076
8087
  ref: (e) => {
8077
- ee.current = e, typeof C == "function" ? C(e) : C && (C.current = e);
8088
+ W.current = e, typeof C == "function" ? C(e) : C && (C.current = e);
8078
8089
  },
8079
8090
  "aria-describedby": `${i}__instructions`,
8080
8091
  "aria-invalid": x === "error" ? !0 : null,
@@ -8083,8 +8094,8 @@ var Tr = {
8083
8094
  id: i,
8084
8095
  name: i,
8085
8096
  onChange: (e) => N(e.target.value),
8086
- onKeyDown: J,
8087
- placeholder: W,
8097
+ onKeyDown: Y,
8098
+ placeholder: G,
8088
8099
  required: f,
8089
8100
  type: "text",
8090
8101
  value: M
@@ -8098,7 +8109,7 @@ var Tr = {
8098
8109
  validationMessageHasDecorators: !1,
8099
8110
  validationStatus: x
8100
8111
  }));
8101
- }), Qr = 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 = {
8112
+ }), $r = 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 = {
8102
8113
  clearButton: "Clear input text",
8103
8114
  counterOverLimit: "Character limit exceeded by",
8104
8115
  searchShortcut: "Press / to focus the search field",
@@ -8162,7 +8173,7 @@ var Tr = {
8162
8173
  message: L,
8163
8174
  validationStatus: w
8164
8175
  }));
8165
- }), $r = () => /* @__PURE__ */ e.createElement("div", { className: "pds-text-input__url-prefix" }, "https://"), ei = 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 = {
8176
+ }), ei = () => /* @__PURE__ */ e.createElement("div", { className: "pds-text-input__url-prefix" }, "https://"), ti = 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 = {
8166
8177
  clearButton: "Clear input text",
8167
8178
  counterOverLimit: "Character limit exceeded by",
8168
8179
  searchShortcut: "Press / to focus the search field",
@@ -8172,8 +8183,8 @@ var Tr = {
8172
8183
  }, type: O = "text", validationMessage: k, validationStatus: A, value: j, ...M }, N) => {
8173
8184
  let P = Bt(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;
8174
8185
  O === "search" && (U = "search"), O === "search" && S === "filter" && (U = "filter"), A === "error" && (U = "error"), A === "success" && (U = "success");
8175
- let ee = k || p, W = j !== void 0, [G, te] = h(i === void 0 ? "" : i), K = j || G, ne = (e) => {
8176
- if (w && q && ae(!1), c && O === "url") {
8186
+ let W = k || p, G = j !== void 0, [K, ee] = h(i === void 0 ? "" : i), q = j || K, te = (e) => {
8187
+ if (w && J && ie(!1), c && O === "url") {
8177
8188
  let t = Vt(e.target.value), n = {
8178
8189
  ...e,
8179
8190
  target: {
@@ -8183,7 +8194,7 @@ var Tr = {
8183
8194
  };
8184
8195
  m && m(n);
8185
8196
  } else m && m(e);
8186
- }, re = (e) => {
8197
+ }, ne = (e) => {
8187
8198
  if (c && O === "url") {
8188
8199
  let t = Vt(e.target.value), n = {
8189
8200
  ...e,
@@ -8192,18 +8203,18 @@ var Tr = {
8192
8203
  value: t
8193
8204
  }
8194
8205
  };
8195
- W || te(t), g && g(n);
8196
- } else W || te(e.target.value), g && g(e);
8197
- }, ie = () => {
8198
- W || te(""), _ && _();
8206
+ G || ee(t), g && g(n);
8207
+ } else G || ee(e.target.value), g && g(e);
8208
+ }, re = () => {
8209
+ G || ee(""), _ && _();
8199
8210
  let e = document.getElementById(l);
8200
8211
  e && e.focus();
8201
- }, [q, ae] = h(!1), oe = () => {
8202
- ae((e) => !e);
8212
+ }, [J, ie] = h(!1), ae = () => {
8213
+ ie((e) => !e);
8203
8214
  let e = document.getElementById(l);
8204
8215
  e && e.focus();
8205
- }, J = O;
8206
- return w && O === "password" && (J = q ? "text" : "password"), /* @__PURE__ */ e.createElement("div", {
8216
+ }, Y = O;
8217
+ return w && O === "password" && (Y = J ? "text" : "password"), /* @__PURE__ */ e.createElement("div", {
8207
8218
  className: Z([
8208
8219
  $.base,
8209
8220
  F,
@@ -8228,59 +8239,59 @@ var Tr = {
8228
8239
  }), w && O === "password" && /* @__PURE__ */ e.createElement("div", {
8229
8240
  "aria-live": "polite",
8230
8241
  className: "visually-hidden"
8231
- }, `${D.visibilityStatus} ${q ? "visible" : "hidden"}.`), /* @__PURE__ */ e.createElement("div", { className: `${F}__input-wrapper ${c && O === "url" ? `${F}__input-wrapper--has-prefix` : ""}` }, U && /* @__PURE__ */ e.createElement(Kt, { variant: U }), c && O === "url" && /* @__PURE__ */ e.createElement($r, null), /* @__PURE__ */ e.createElement("input", {
8242
+ }, `${D.visibilityStatus} ${J ? "visible" : "hidden"}.`), /* @__PURE__ */ e.createElement("div", { className: `${F}__input-wrapper ${c && O === "url" ? `${F}__input-wrapper--has-prefix` : ""}` }, U && /* @__PURE__ */ e.createElement(Kt, { variant: U }), c && O === "url" && /* @__PURE__ */ e.createElement(ei, null), /* @__PURE__ */ e.createElement("input", {
8232
8243
  ref: N,
8233
- "aria-describedby": ee ? `${l}__message` : null,
8244
+ "aria-describedby": W ? `${l}__message` : null,
8234
8245
  "aria-invalid": A === "error" ? !0 : null,
8235
8246
  autoComplete: O === "password" ? "off" : t,
8236
8247
  className: `${F}__input ${c && O === "url" ? `${F}__input--has-prefix` : ""}`,
8237
8248
  disabled: a,
8238
8249
  id: l,
8239
8250
  name: l,
8240
- onBlur: ne,
8241
- onChange: re,
8251
+ onBlur: te,
8252
+ onChange: ne,
8242
8253
  onFocus: v,
8243
8254
  placeholder: y,
8244
8255
  readOnly: b,
8245
8256
  required: x,
8246
- type: J,
8247
- value: W ? j : G,
8257
+ type: Y,
8258
+ value: G ? j : K,
8248
8259
  ...u
8249
- }), o && K && /* @__PURE__ */ e.createElement(Jt, {
8260
+ }), o && q && /* @__PURE__ */ e.createElement(Jt, {
8250
8261
  clearLabel: D.clearButton,
8251
- handleClearInput: ie,
8262
+ handleClearInput: re,
8252
8263
  id: l
8253
8264
  }), w && O === "password" && /* @__PURE__ */ e.createElement("button", {
8254
8265
  "aria-controls": l,
8255
8266
  className: `${F}__visibility-toggle`,
8256
- onClick: oe,
8267
+ onClick: ae,
8257
8268
  onMouseDown: (e) => e.preventDefault(),
8258
- title: q ? D.visibilityToggleHide : D.visibilityToggleShow,
8269
+ title: J ? D.visibilityToggleHide : D.visibilityToggleShow,
8259
8270
  type: "button"
8260
8271
  }, /* @__PURE__ */ e.createElement(Q, {
8261
- iconName: q ? "eyeSlash" : "eye",
8272
+ iconName: J ? "eyeSlash" : "eye",
8262
8273
  size: "m"
8263
- })), s && O === "search" && !K && /* @__PURE__ */ e.createElement(qt, {
8274
+ })), s && O === "search" && !q && /* @__PURE__ */ e.createElement(qt, {
8264
8275
  inputId: l,
8265
8276
  shortcutLabel: D.searchShortcut
8266
8277
  }), r && O !== "password" && /* @__PURE__ */ e.createElement(Yt, {
8267
- currentLength: K.length,
8278
+ currentLength: q.length,
8268
8279
  id: l,
8269
8280
  maxLength: r,
8270
8281
  overLimitMessage: D.counterOverLimit
8271
- })), ee && /* @__PURE__ */ e.createElement(Wt, {
8282
+ })), W && /* @__PURE__ */ e.createElement(Wt, {
8272
8283
  hasValidationMessage: !!k,
8273
8284
  id: l,
8274
- message: ee,
8285
+ message: W,
8275
8286
  validationMessageHasDecorators: !1,
8276
8287
  validationStatus: A
8277
8288
  }));
8278
- }), ti = (e) => String(e).padStart(2, "0"), ni = (e) => {
8289
+ }), ni = (e) => String(e).padStart(2, "0"), ri = (e) => {
8279
8290
  let t = e ? /^(\d{1,2}):(\d{2})$/.exec(e) : null;
8280
8291
  if (!t) return null;
8281
8292
  let n = parseInt(t[1], 10), r = parseInt(t[2], 10);
8282
8293
  return n > 23 || r > 59 ? null : new ue(n, r);
8283
- }, ri = (e) => e ? `${ti(e.hour)}:${ti(e.minute)}` : void 0, ii = ({ baseClass: t, segment: n, state: r }) => {
8294
+ }, ii = (e) => e ? `${ni(e.hour)}:${ni(e.minute)}` : void 0, ai = ({ baseClass: t, segment: n, state: r }) => {
8284
8295
  let i = m(null), { segmentProps: a } = ge(n, r, i), { focusProps: o, isFocusVisible: s } = _e(), c = n.isPlaceholder ? n.type === "dayPeriod" ? "--" : "00" : n.text;
8285
8296
  return /* @__PURE__ */ e.createElement("div", {
8286
8297
  ...he(a, o),
@@ -8291,7 +8302,7 @@ var Tr = {
8291
8302
  s ? `${t}__segment--focus-visible` : null
8292
8303
  ])
8293
8304
  }, c);
8294
- }, ai = ({ anchorDate: t, className: n, defaultValue: r, disabled: i = !1, hourCycle: a = 12, id: o, inputWidth: s, label: c, message: u, onBlur: d, onChange: f, onFocus: g, required: _ = !1, showLabel: v = !0, size: y = "s", timeZone: b, tooltipText: x = null, validationMessage: S, validationStatus: C, value: w }) => {
8305
+ }, oi = ({ anchorDate: t, className: n, defaultValue: r, disabled: i = !1, hourCycle: a = 12, id: o, inputWidth: s, label: c, message: u, onBlur: d, onChange: f, onFocus: g, required: _ = !1, showLabel: v = !0, size: y = "s", timeZone: b, tooltipText: x = null, validationMessage: S, validationStatus: C, value: w }) => {
8295
8306
  let T = Bt(s), E = "pds-time-input", D = y === "s" ? null : `${E}--${y}`, O = i ? $.disabled : null, k = _ && !i ? $.required : null, A = C === "error" ? $.error : null, j = C === "success" ? $.success : null, M = S || u, N = w !== void 0, { locale: P } = ve(), [F, I] = h(r), L = N ? w : F, R = be({
8296
8307
  granularity: "minute",
8297
8308
  hourCycle: a,
@@ -8299,14 +8310,14 @@ var Tr = {
8299
8310
  locale: P,
8300
8311
  onBlur: d,
8301
8312
  onChange: (e) => {
8302
- let t = ri(e);
8313
+ let t = ii(e);
8303
8314
  t && (N || I(t), f && f(t));
8304
8315
  },
8305
8316
  onFocusChange: (e) => {
8306
8317
  e && g && g();
8307
8318
  },
8308
8319
  shouldForceLeadingZeros: !0,
8309
- value: p(() => ni(L), [L])
8320
+ value: p(() => ri(L), [L])
8310
8321
  }), z = m(null), { fieldProps: B } = ye({
8311
8322
  "aria-describedby": M ? `${o}__message` : void 0,
8312
8323
  "aria-labelledby": `${o}-label`,
@@ -8317,7 +8328,7 @@ var Tr = {
8317
8328
  if (V.current = b, !b || !e || b === e) return;
8318
8329
  let n = R.value;
8319
8330
  if (!n) return;
8320
- let r = fe(pe(de(t ?? me(e), n), e), b), i = ri(new ue(r.hour, r.minute));
8331
+ let r = fe(pe(de(t ?? me(e), n), e), b), i = ii(new ue(r.hour, r.minute));
8321
8332
  i && (N || I(i), f && f(i));
8322
8333
  }, [b]);
8323
8334
  let H = p(() => {
@@ -8335,7 +8346,7 @@ var Tr = {
8335
8346
  t,
8336
8347
  P,
8337
8348
  b
8338
- ]), { focusProps: U, isFocusVisible: ee } = _e({ within: !0 }), W = R.value !== null;
8349
+ ]), { focusProps: U, isFocusVisible: W } = _e({ within: !0 }), G = R.value !== null;
8339
8350
  return /* @__PURE__ */ e.createElement("div", {
8340
8351
  className: Z([
8341
8352
  $.base,
@@ -8358,7 +8369,7 @@ var Tr = {
8358
8369
  }), /* @__PURE__ */ e.createElement("div", {
8359
8370
  ...he(B, U),
8360
8371
  ref: z,
8361
- className: Z([`${E}__input-wrapper`, ee ? `${E}__input-wrapper--focus-visible` : null]),
8372
+ className: Z([`${E}__input-wrapper`, W ? `${E}__input-wrapper--focus-visible` : null]),
8362
8373
  id: o
8363
8374
  }, /* @__PURE__ */ e.createElement(Q, {
8364
8375
  className: `${E}__icon`,
@@ -8367,19 +8378,19 @@ var Tr = {
8367
8378
  }), /* @__PURE__ */ e.createElement("div", { className: `${E}__value` }, R.segments.map((t, n) => t.type === "literal" ? /* @__PURE__ */ e.createElement("div", {
8368
8379
  key: n,
8369
8380
  className: Z([`${E}__separator`, t.text === ":" ? `${E}__separator--colon` : null])
8370
- }, t.text) : /* @__PURE__ */ e.createElement(ii, {
8381
+ }, t.text) : /* @__PURE__ */ e.createElement(ai, {
8371
8382
  key: n,
8372
8383
  baseClass: E,
8373
8384
  segment: t,
8374
8385
  state: R
8375
- })), H && W && /* @__PURE__ */ e.createElement("div", { className: `${E}__timezone` }, H))), M && /* @__PURE__ */ e.createElement(Wt, {
8386
+ })), H && G && /* @__PURE__ */ e.createElement("div", { className: `${E}__timezone` }, H))), M && /* @__PURE__ */ e.createElement(Wt, {
8376
8387
  hasValidationMessage: !!S,
8377
8388
  id: o,
8378
8389
  message: M,
8379
8390
  validationMessageHasDecorators: !1,
8380
8391
  validationStatus: C
8381
8392
  }));
8382
- }, oi = ({ className: t, linkContent: n, size: r = "s", ...i }) => {
8393
+ }, si = ({ className: t, linkContent: n, size: r = "s", ...i }) => {
8383
8394
  let a = "pds-cta-link", o = r === "s" ? null : `${a}--${r}`;
8384
8395
  return /* @__PURE__ */ e.createElement("div", {
8385
8396
  className: Z([
@@ -8393,7 +8404,7 @@ var Tr = {
8393
8404
  iconName: "arrowRight",
8394
8405
  size: r === "xs" ? "s" : r === "s" ? "m" : "l"
8395
8406
  }));
8396
- }, si = ({ children: t, className: n, fontSize: r, isLoading: i, newWindowText: a = "opens in a new window", url: o, ...s }) => {
8407
+ }, ci = ({ children: t, className: n, fontSize: r, isLoading: i, newWindowText: a = "opens in a new window", url: o, ...s }) => {
8397
8408
  let c = "pds-link-new-window", l = r ? `${c}--${r}` : null;
8398
8409
  return i ? /* @__PURE__ */ e.createElement("span", {
8399
8410
  "aria-hidden": "true",
@@ -8420,11 +8431,11 @@ var Tr = {
8420
8431
  className: `${c}__icon`,
8421
8432
  iconName: "externalLink"
8422
8433
  }));
8423
- }, ci = ({ className: t, destination: n = "main", text: r = "Skip to main content", ...i }) => /* @__PURE__ */ e.createElement("a", {
8434
+ }, li = ({ className: t, destination: n = "main", text: r = "Skip to main content", ...i }) => /* @__PURE__ */ e.createElement("a", {
8424
8435
  className: Z(["pds-skiplink", t]),
8425
8436
  href: `#${n}`,
8426
8437
  ...i
8427
- }, r), li = ({ alt: t = "", className: n, height: r, srcFallback: i, srcWebp: a, width: o, ...s }) => {
8438
+ }, r), ui = ({ alt: t = "", className: n, height: r, srcFallback: i, srcWebp: a, width: o, ...s }) => {
8428
8439
  let c = "pds-picture";
8429
8440
  return /* @__PURE__ */ e.createElement("picture", { className: Z([c, n ?? ""]) }, /* @__PURE__ */ e.createElement("source", {
8430
8441
  srcSet: a,
@@ -8437,7 +8448,7 @@ var Tr = {
8437
8448
  width: o,
8438
8449
  ...s
8439
8450
  }));
8440
- }, ui = ({ ariaLabel: t = "Breadcrumb", className: r, crumbs: i, ...a }) => {
8451
+ }, di = ({ ariaLabel: t = "Breadcrumb", className: r, crumbs: i, ...a }) => {
8441
8452
  let s = "pds-breadcrumb", c = i.length, l = i.map((t, r) => {
8442
8453
  if (r < c - 1) return /* @__PURE__ */ e.createElement("li", {
8443
8454
  key: r,
@@ -8456,36 +8467,36 @@ var Tr = {
8456
8467
  className: Z([s, r]),
8457
8468
  ...a
8458
8469
  }, /* @__PURE__ */ e.createElement("ol", { className: `${s}__crumbs` }, l));
8459
- }, di = (e) => {
8470
+ }, fi = (e) => {
8460
8471
  if (!e) return null;
8461
8472
  for (let t = 0; t < e.length; t++) {
8462
- if (pi(e[t])) return typeof e[t].linkContent == "string" ? null : e[t].linkContent;
8473
+ if (mi(e[t])) return typeof e[t].linkContent == "string" ? null : e[t].linkContent;
8463
8474
  if (e[t].links) {
8464
- let n = di(e[t].links);
8475
+ let n = fi(e[t].links);
8465
8476
  if (n) return n;
8466
8477
  }
8467
8478
  }
8468
8479
  return null;
8469
- }, fi = (e) => typeof e == "string" ? e : e.props.children, pi = (e) => e.isSeparator || e.isHeading || typeof e.linkContent == "string" ? !1 : !!(e.isActive || e.linkContent.props.className && e.linkContent.props.className.includes("pds-isActive")), mi = (e) => {
8470
- if (pi(e)) return !0;
8480
+ }, pi = (e) => typeof e == "string" ? e : e.props.children, mi = (e) => e.isSeparator || e.isHeading || typeof e.linkContent == "string" ? !1 : !!(e.isActive || e.linkContent.props.className && e.linkContent.props.className.includes("pds-isActive")), hi = (e) => {
8481
+ if (mi(e)) return !0;
8471
8482
  if (e.links) {
8472
- for (let t = 0; t < e.links.length; t++) if (mi(e.links[t])) return !0;
8483
+ for (let t = 0; t < e.links.length; t++) if (hi(e.links[t])) return !0;
8473
8484
  }
8474
8485
  return !1;
8475
- }, hi = (e) => e.map((e) => `${pi(e)}${e.links ? `[${hi(e.links)}]` : ""}`).join("|"), gi = (e) => {
8486
+ }, gi = (e) => e.map((e) => `${mi(e)}${e.links ? `[${gi(e.links)}]` : ""}`).join("|"), _i = (e) => {
8476
8487
  if (o(e)) {
8477
8488
  let t = e.type;
8478
8489
  return t === "a" || typeof t == "string" && t.toLowerCase() === "a" || (typeof t == "function" || typeof t == "object") && t?.displayName === "Link";
8479
8490
  }
8480
8491
  return !1;
8481
- }, _i = (e, t) => {
8492
+ }, vi = (e, t) => {
8482
8493
  let r = null;
8483
8494
  if (typeof e == "string" && t) {
8484
8495
  let i = t ? t[0].linkContent : null;
8485
8496
  o(i) && (r = n(i, { ...typeof e == "string" ? { children: e } : {} }));
8486
8497
  } else r = e;
8487
8498
  return r;
8488
- }, vi = (t, r, i, a) => {
8499
+ }, yi = (t, r, i, a) => {
8489
8500
  let s = null;
8490
8501
  if (typeof r == "string") {
8491
8502
  let c = a ? [/* @__PURE__ */ e.createElement("span", {
@@ -8510,7 +8521,7 @@ var Tr = {
8510
8521
  iconName: a,
8511
8522
  size: "m"
8512
8523
  })), /* @__PURE__ */ e.createElement("span", { className: `${t}__link-label` }, r.props.children))] })) : r), s;
8513
- }, yi = ({ ariaLabel: t, border: n = !1, className: r, menuItems: i, ...a }) => {
8524
+ }, bi = ({ ariaLabel: t, border: n = !1, className: r, menuItems: i, ...a }) => {
8514
8525
  let o = m(null), s = "pds-button-nav", c = n ? `${s}--bordered` : null;
8515
8526
  l(() => {
8516
8527
  let e = (e) => {
@@ -8529,11 +8540,11 @@ var Tr = {
8529
8540
  return /* @__PURE__ */ e.createElement("li", { className: Z([r, t ? `${r}--active` : null]) }, n);
8530
8541
  }, d = i.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${s}__menu` }, i.map((t, n) => /* @__PURE__ */ e.createElement(u, {
8531
8542
  key: n,
8532
- isActive: mi(t),
8543
+ isActive: hi(t),
8533
8544
  linkContent: t.linkContent
8534
8545
  }))) : null, f = [];
8535
8546
  i.map((e) => {
8536
- e.linkContent && (mi(e) ? f.unshift({
8547
+ e.linkContent && (hi(e) ? f.unshift({
8537
8548
  linkContent: e.linkContent,
8538
8549
  isLink: !0
8539
8550
  }) : f.push({
@@ -8557,8 +8568,8 @@ var Tr = {
8557
8568
  ]),
8558
8569
  ...a
8559
8570
  }, d, p);
8560
- }, bi = ({ className: t, headingText: r, menuItems: i, selectTextFallback: a = "Navigate to...", ...o }) => {
8561
- let s = "pds-dropdown-menu", c = di(i), l = c ? c.props.children : a, u = /* @__PURE__ */ e.createElement(On, { 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 } = _n({
8571
+ }, xi = ({ className: t, headingText: r, menuItems: i, selectTextFallback: a = "Navigate to...", ...o }) => {
8572
+ let s = "pds-dropdown-menu", c = fi(i), l = c ? c.props.children : a, u = /* @__PURE__ */ e.createElement(On, { 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 } = _n({
8562
8573
  enableShift: !1,
8563
8574
  enableTypeahead: !0,
8564
8575
  role: "menu"
@@ -8567,7 +8578,7 @@ var Tr = {
8567
8578
  }, C = (e) => {
8568
8579
  e.key === "Enter" && _.current[d]?.querySelector("a")?.click();
8569
8580
  }, w = ({ item: e, level: t }) => {
8570
- let r = _i(e.linkContent, e.links);
8581
+ let r = vi(e.linkContent, e.links);
8571
8582
  return {
8572
8583
  ...e,
8573
8584
  level: t,
@@ -8658,7 +8669,7 @@ var Tr = {
8658
8669
  tabIndex: d === n ? 0 : -1,
8659
8670
  ...m({ onKeyDown: C })
8660
8671
  }, t.linkContent, t.isActive === !0 && u)))));
8661
- }, xi = ({ children: t, className: n, width: r = "standard", ...i }) => {
8672
+ }, Si = ({ children: t, className: n, width: r = "standard", ...i }) => {
8662
8673
  let a = "pds-container", o = r === "standard" ? null : `${a}--${r}`;
8663
8674
  return /* @__PURE__ */ e.createElement("div", {
8664
8675
  className: Z([
@@ -8668,7 +8679,7 @@ var Tr = {
8668
8679
  ]),
8669
8680
  ...i
8670
8681
  }, t);
8671
- }, Si = ({ children: t, className: n, colorType: r = "default", containerWidth: i = "x-wide", hideBorder: a, inlinePadding: o, translationStrings: s = {
8682
+ }, Ci = ({ children: t, className: n, colorType: r = "default", containerWidth: i = "x-wide", hideBorder: a, inlinePadding: o, translationStrings: s = {
8672
8683
  closeMobileNav: "Close navigation area",
8673
8684
  openMobileNav: "Open navigation area"
8674
8685
  }, ...c }) => {
@@ -8724,7 +8735,7 @@ var Tr = {
8724
8735
  n ?? ""
8725
8736
  ]),
8726
8737
  ...c
8727
- }, f ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${g}__bar-mobile` }, /* @__PURE__ */ e.createElement(xi, null, /* @__PURE__ */ e.createElement("div", { className: `${g}__inner-mobile` }, C, k && A))), /* @__PURE__ */ e.createElement(xe, {
8738
+ }, f ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${g}__bar-mobile` }, /* @__PURE__ */ e.createElement(Si, null, /* @__PURE__ */ e.createElement("div", { className: `${g}__inner-mobile` }, C, k && A))), /* @__PURE__ */ e.createElement(xe, {
8728
8739
  active: u,
8729
8740
  focusTrapOptions: {
8730
8741
  clickOutsideDeactivates: !0,
@@ -8734,11 +8745,11 @@ var Tr = {
8734
8745
  }, /* @__PURE__ */ e.createElement("div", {
8735
8746
  className: Z([`${g}__mobile`, u ? `${g}__mobile--open` : null]),
8736
8747
  inert: u ? void 0 : ""
8737
- }, /* @__PURE__ */ e.createElement(xi, null, /* @__PURE__ */ e.createElement("button", {
8748
+ }, /* @__PURE__ */ e.createElement(Si, null, /* @__PURE__ */ e.createElement("button", {
8738
8749
  className: "visually-hidden",
8739
8750
  onClick: b,
8740
8751
  type: "button"
8741
- }, s.closeMobileNav), w, T, E)))) : /* @__PURE__ */ e.createElement(xi, {
8752
+ }, s.closeMobileNav), w, T, E)))) : /* @__PURE__ */ e.createElement(Si, {
8742
8753
  className: `${g}__inner`,
8743
8754
  style: o ? { paddingInline: o } : void 0,
8744
8755
  width: i
@@ -8746,14 +8757,14 @@ var Tr = {
8746
8757
  "aria-hidden": "true",
8747
8758
  className: `${g}__separator`
8748
8759
  }), w && /* @__PURE__ */ e.createElement("div", { className: `${g}__items-left` }, w)), T && /* @__PURE__ */ e.createElement("div", { className: `${g}__items-center` }, T), E && /* @__PURE__ */ e.createElement("div", { className: `${g}__items-right` }, E)));
8749
- }, Ci = ({ ariaLabel: t, className: r, hasMobileDropdown: i = !1, headingText: a, labels: s = {
8760
+ }, wi = ({ ariaLabel: t, className: r, hasMobileDropdown: i = !1, headingText: a, labels: s = {
8750
8761
  submenu: "submenu",
8751
8762
  toggle: "Toggle"
8752
8763
  }, menuItems: c, mobileMenuSelectTextFallback: u = "Navigate to...", ...d }) => {
8753
8764
  let f = "pds-side-nav", p = i ? `${f}--has-mobile-dropdown` : null, m = `${f}__item`, g = `${f}__menu`, [_, v] = h({});
8754
8765
  l(() => {
8755
8766
  v((e) => Object.keys(e).length ? {} : e);
8756
- }, [hi(c)]);
8767
+ }, [gi(c)]);
8757
8768
  let y = (e, t) => t in _ ? _[t] : e, b = (e, t) => {
8758
8769
  v((n) => {
8759
8770
  let r = t in n ? n[t] : e;
@@ -8763,7 +8774,7 @@ var Tr = {
8763
8774
  };
8764
8775
  });
8765
8776
  }, x = (t, r) => {
8766
- let { linkContent: i, links: a } = t, c = mi(t), l = gi(i), u = y(c, r);
8777
+ let { linkContent: i, links: a } = t, c = hi(t), l = _i(i), u = y(c, r);
8767
8778
  return /* @__PURE__ */ e.createElement("li", {
8768
8779
  key: r,
8769
8780
  className: Z([
@@ -8776,7 +8787,7 @@ var Tr = {
8776
8787
  `${f}__row`,
8777
8788
  `${f}__row--expandable`,
8778
8789
  `${m}-wrapper`
8779
- ]) }, _i(i, a), /* @__PURE__ */ e.createElement("button", {
8790
+ ]) }, vi(i, a), /* @__PURE__ */ e.createElement("button", {
8780
8791
  "aria-expanded": u,
8781
8792
  className: Z([`${f}__toggle`, u ? `${f}__toggle--expanded` : null]),
8782
8793
  onClick: () => b(c, r),
@@ -8784,7 +8795,7 @@ var Tr = {
8784
8795
  }, /* @__PURE__ */ e.createElement(Q, {
8785
8796
  iconName: "angleDown",
8786
8797
  size: "m"
8787
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${s.toggle} ${fi(i)} ${s.submenu}`))), /* @__PURE__ */ e.createElement("ul", { className: Z([
8798
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${s.toggle} ${pi(i)} ${s.submenu}`))), /* @__PURE__ */ e.createElement("ul", { className: Z([
8788
8799
  g,
8789
8800
  `${g}--second-level`,
8790
8801
  u ? `${g}--expanded` : null
@@ -8793,9 +8804,9 @@ var Tr = {
8793
8804
  className: Z([
8794
8805
  m,
8795
8806
  `${m}--second-level`,
8796
- mi(t) ? `${m}--active` : null
8807
+ hi(t) ? `${m}--active` : null
8797
8808
  ])
8798
- }, _i(t.linkContent, t.links))))) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("button", {
8809
+ }, vi(t.linkContent, t.links))))) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("button", {
8799
8810
  "aria-expanded": u,
8800
8811
  className: Z([
8801
8812
  `${f}__row`,
@@ -8809,7 +8820,7 @@ var Tr = {
8809
8820
  }, 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, {
8810
8821
  iconName: "angleDown",
8811
8822
  size: "m"
8812
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${s.toggle} ${fi(i)} ${s.submenu}`)), /* @__PURE__ */ e.createElement("ul", { className: Z([
8823
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${s.toggle} ${pi(i)} ${s.submenu}`)), /* @__PURE__ */ e.createElement("ul", { className: Z([
8813
8824
  g,
8814
8825
  `${g}--second-level`,
8815
8826
  u ? `${g}--expanded` : null
@@ -8818,10 +8829,10 @@ var Tr = {
8818
8829
  className: Z([
8819
8830
  m,
8820
8831
  `${m}--second-level`,
8821
- mi(t) ? `${m}--active` : null
8832
+ hi(t) ? `${m}--active` : null
8822
8833
  ])
8823
- }, _i(t.linkContent, t.links))))) : i);
8824
- }, 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(bi, {
8834
+ }, vi(t.linkContent, t.links))))) : i);
8835
+ }, 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(xi, {
8825
8836
  className: `${f}__mobile`,
8826
8837
  headingText: a,
8827
8838
  menuItems: c,
@@ -8836,8 +8847,8 @@ var Tr = {
8836
8847
  ]),
8837
8848
  ...d
8838
8849
  }, S, i && C);
8839
- }, wi = ({ icon: t, isActive: n, isExpanded: r, isSidebarCollapsed: i, labels: a, linkContent: o, links: s, onExpandSidebar: c, onToggleExpand: u }) => {
8840
- let d = "pds-side-nav-global", f = `${d}__item`, p = `${d}__menu`, g = /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, vi(d, o, s, t)), _ = (t, n) => /* @__PURE__ */ e.createElement("ul", { className: Z([
8850
+ }, Ti = ({ icon: t, isActive: n, isExpanded: r, isSidebarCollapsed: i, labels: a, linkContent: o, links: s, onExpandSidebar: c, onToggleExpand: u }) => {
8851
+ let d = "pds-side-nav-global", f = `${d}__item`, p = `${d}__menu`, g = /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, yi(d, o, s, t)), _ = (t, n) => /* @__PURE__ */ e.createElement("ul", { className: Z([
8841
8852
  p,
8842
8853
  `${p}--${n}`,
8843
8854
  r ? `${p}--expanded` : null
@@ -8846,7 +8857,7 @@ var Tr = {
8846
8857
  className: Z([
8847
8858
  f,
8848
8859
  `${f}--${n}`,
8849
- mi(t) ? `${f}--active` : null
8860
+ hi(t) ? `${f}--active` : null
8850
8861
  ])
8851
8862
  }, t.linkContent))), [v, y] = h(!1), b = m(v), S = m(!1), { context: O, floatingStyles: k, refs: M } = j({
8852
8863
  placement: "right-start",
@@ -8900,7 +8911,7 @@ var Tr = {
8900
8911
  ...I(),
8901
8912
  onClick: z,
8902
8913
  onKeyDown: R
8903
- }, s ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, vi(d, o, s, t), !i && /* @__PURE__ */ e.createElement("button", {
8914
+ }, s ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, yi(d, o, s, t), !i && /* @__PURE__ */ e.createElement("button", {
8904
8915
  "aria-expanded": r,
8905
8916
  className: Z([`${d}__toggle`, r ? `${d}__toggle--expanded` : null]),
8906
8917
  onClick: u,
@@ -8908,13 +8919,13 @@ var Tr = {
8908
8919
  }, /* @__PURE__ */ e.createElement(Q, {
8909
8920
  iconName: "angleDown",
8910
8921
  size: "m"
8911
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${a.toggle} ${fi(o)} ${a.submenu}`))), !i && _(s, "second-level"), i && v && /* @__PURE__ */ e.createElement(x, null, /* @__PURE__ */ e.createElement("div", {
8922
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${a.toggle} ${pi(o)} ${a.submenu}`))), !i && _(s, "second-level"), i && v && /* @__PURE__ */ e.createElement(x, null, /* @__PURE__ */ e.createElement("div", {
8912
8923
  ref: M.setFloating,
8913
8924
  className: `${d}__flyout`,
8914
8925
  style: k,
8915
8926
  ...P()
8916
- }, /* @__PURE__ */ e.createElement("div", { className: `${d}__flyout-heading` }, fi(o)), _(s, "second-level-flyout")))) : /* @__PURE__ */ e.createElement(e.Fragment, null, i ? /* @__PURE__ */ e.createElement(zt, {
8917
- content: fi(o),
8927
+ }, /* @__PURE__ */ e.createElement("div", { className: `${d}__flyout-heading` }, pi(o)), _(s, "second-level-flyout")))) : /* @__PURE__ */ e.createElement(e.Fragment, null, i ? /* @__PURE__ */ e.createElement(zt, {
8928
+ content: pi(o),
8918
8929
  customTrigger: g,
8919
8930
  offsetValue: {
8920
8931
  mainAxis: 8,
@@ -8922,14 +8933,14 @@ var Tr = {
8922
8933
  },
8923
8934
  preferredPlacement: "right"
8924
8935
  }) : g));
8925
- }, Ti = ({ ariaLabel: t, className: n, isSidebarCollapsed: r, labels: i = {
8936
+ }, Ei = ({ ariaLabel: t, className: n, isSidebarCollapsed: r, labels: i = {
8926
8937
  submenu: "submenu",
8927
8938
  toggle: "Toggle"
8928
8939
  }, menuItems: a, onExpandSidebar: o, ...s }) => {
8929
8940
  let c = "pds-side-nav-global", u = r ? `${c}--collapsed` : `${c}--expanded`, [d, f] = h({});
8930
8941
  l(() => {
8931
8942
  f((e) => Object.keys(e).length ? {} : e);
8932
- }, [hi(a)]);
8943
+ }, [gi(a)]);
8933
8944
  let p = (e, t) => t in d ? d[t] : e, m = (e, t) => {
8934
8945
  f((n) => {
8935
8946
  let r = t in n ? n[t] : e;
@@ -8950,8 +8961,8 @@ var Tr = {
8950
8961
  className: `${c}__section-label`,
8951
8962
  role: "presentation"
8952
8963
  }, t.label);
8953
- let a = mi(t);
8954
- return /* @__PURE__ */ e.createElement(wi, {
8964
+ let a = hi(t);
8965
+ return /* @__PURE__ */ e.createElement(Ti, {
8955
8966
  key: n,
8956
8967
  icon: t.icon,
8957
8968
  isActive: a,
@@ -8973,7 +8984,7 @@ var Tr = {
8973
8984
  ]),
8974
8985
  ...s
8975
8986
  }, g);
8976
- }, Ei = ({ items: t, label: n }) => {
8987
+ }, Di = ({ items: t, label: n }) => {
8977
8988
  let r = m(null), i = "pds-nav-menu", a = t && t.length > 0, { floatingStyles: o, getFloatingProps: s, getReferenceProps: c, isOpen: l, refs: u } = _n({
8978
8989
  offsetValue: 8,
8979
8990
  openOnHover: !Nt()
@@ -9010,7 +9021,7 @@ var Tr = {
9010
9021
  key: n,
9011
9022
  className: `${i}__item ${t.isSeparator ? "pds-dropdown__separator" : `pds-dropdown__item${f(t) ? " pds-dropdown__item--active" : ""}`}`
9012
9023
  }, !t.isSeparator && t.linkContent)))));
9013
- }, Di = ({ ariaLabel: t = "Main Navigation", className: n, menuItems: r, ...i }) => {
9024
+ }, Oi = ({ ariaLabel: t = "Main Navigation", className: n, menuItems: r, ...i }) => {
9014
9025
  let [a, o] = h(null), [s, c] = h(-1), [d, f] = h(null), [p, g] = h({
9015
9026
  container: null,
9016
9027
  containerChildren: []
@@ -9057,7 +9068,7 @@ var Tr = {
9057
9068
  },
9058
9069
  className: `${v}__item ${v}__item--top-level ${v}__item--has-children ${x(t) === !0 ? `${v}__item--active` : ""}`,
9059
9070
  id: i
9060
- }, /* @__PURE__ */ e.createElement(Ei, {
9071
+ }, /* @__PURE__ */ e.createElement(Di, {
9061
9072
  items: t.links,
9062
9073
  label: t.label
9063
9074
  }))) : S.push(/* @__PURE__ */ e.createElement("li", {
@@ -9076,14 +9087,14 @@ var Tr = {
9076
9087
  },
9077
9088
  ...i
9078
9089
  }, /* @__PURE__ */ e.createElement("ul", { className: `${v}__menu` }, S));
9079
- }, Oi = ({ buttonLabel: t = "Toggle dropdown", filterLabel: n = "Filter items", filterPlaceholder: r = "Filter items...", links: i, minFilterItems: a = 5, noResultsText: o = "No results found" }) => {
9090
+ }, ki = ({ buttonLabel: t = "Toggle dropdown", filterLabel: n = "Filter items", filterPlaceholder: r = "Filter items...", links: i, minFilterItems: a = 5, noResultsText: o = "No results found" }) => {
9080
9091
  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: S, getReferenceProps: C, isMounted: w, isOpen: T, listRef: E, refs: D, setActiveIndex: O, transitionStyles: k } = _n({
9081
9092
  offsetValue: 8,
9082
9093
  placement: "bottom-start",
9083
9094
  role: "listbox"
9084
9095
  }), A = (e) => {
9085
9096
  e.preventDefault(), e.key === "Enter" && E.current[v].querySelector("a")?.click(), e.key === "Tab" && e.shiftKey && f && document.getElementById("links-filter").focus();
9086
- }, j = (e, t) => fi(e.linkContent).toLowerCase().includes(t.toLowerCase()), M = (e) => {
9097
+ }, j = (e, t) => pi(e.linkContent).toLowerCase().includes(t.toLowerCase()), M = (e) => {
9087
9098
  let t = e.target.value;
9088
9099
  d(t), c(i.filter((e) => j(e, t)));
9089
9100
  };
@@ -9094,11 +9105,11 @@ var Tr = {
9094
9105
  d(""), c(i);
9095
9106
  }, P = {
9096
9107
  minWidth: "13rem",
9097
- width: `${fi(i.reduce((e, t) => fi(e.linkContent).length > fi(t.linkContent).length ? e : t).linkContent).length + 2}ch`
9108
+ width: `${pi(i.reduce((e, t) => pi(e.linkContent).length > pi(t.linkContent).length ? e : t).linkContent).length + 2}ch`
9098
9109
  }, F = /* @__PURE__ */ e.createElement(Q, {
9099
9110
  className: `${p}__active-icon`,
9100
9111
  iconName: "check"
9101
- }), I = f && /* @__PURE__ */ e.createElement("div", { className: `${p}__filter` }, /* @__PURE__ */ e.createElement(ei, {
9112
+ }), I = f && /* @__PURE__ */ e.createElement("div", { className: `${p}__filter` }, /* @__PURE__ */ e.createElement(ti, {
9102
9113
  hasClearButton: !0,
9103
9114
  autoComplete: "off",
9104
9115
  id: "links-filter",
@@ -9141,9 +9152,9 @@ var Tr = {
9141
9152
  zIndex: "var(--pds-z-index-dropdown)"
9142
9153
  } })
9143
9154
  }, /* @__PURE__ */ e.createElement("div", { style: { ...k } }, I, /* @__PURE__ */ e.createElement("ul", { className: Z([m, g]) }, L.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${p}__no-results` }, o) : L)))));
9144
- }, ki = ({ ariaLabel: t, className: r, menuItems: i, ...a }) => {
9155
+ }, Ai = ({ ariaLabel: t, className: r, menuItems: i, ...a }) => {
9145
9156
  let s = "pds-tab-menu", c = ({ dropdownSettings: t, icon: r, isActive: i, linkContent: a, links: c, promoteActiveChildLink: l = !1 }) => {
9146
- let u = `${s}__item`, d = di(c);
9157
+ let u = `${s}__item`, d = fi(c);
9147
9158
  return /* @__PURE__ */ e.createElement("li", { className: Z([u, i ? `${u}--active` : null]) }, ((t, r) => {
9148
9159
  let i = null;
9149
9160
  return o(t) && (i = r ? n(t, Object.assign({}, t.props, { children: [/* @__PURE__ */ e.createElement("span", {
@@ -9154,7 +9165,7 @@ var Tr = {
9154
9165
  iconName: r,
9155
9166
  size: "m"
9156
9167
  }), t.props.children)] })) : t), i;
9157
- })(l ? d : a, r), c && /* @__PURE__ */ e.createElement(Oi, {
9168
+ })(l ? d : a, r), c && /* @__PURE__ */ e.createElement(ki, {
9158
9169
  buttonLabel: t?.buttonLabel,
9159
9170
  filterLabel: t?.filterLabel,
9160
9171
  filterPlaceholder: t?.filterPlaceholder,
@@ -9166,7 +9177,7 @@ var Tr = {
9166
9177
  key: n,
9167
9178
  dropdownSettings: t.dropdownSettings,
9168
9179
  icon: t.icon,
9169
- isActive: mi(t),
9180
+ isActive: hi(t),
9170
9181
  linkContent: t.linkContent,
9171
9182
  links: t.links,
9172
9183
  promoteActiveChildLink: t.promoteActiveChildLink
@@ -9176,11 +9187,11 @@ var Tr = {
9176
9187
  className: Z([s, r ?? ""]),
9177
9188
  ...a
9178
9189
  }, /* @__PURE__ */ e.createElement("div", { className: `${s}__mobile-menu-wrapper` }, l));
9179
- }, Ai = {
9190
+ }, ji = {
9180
9191
  2: "second",
9181
9192
  3: "third",
9182
9193
  4: "fourth"
9183
- }, ji = ({ ariaLabel: t, className: n, headingText: r, labels: i = {
9194
+ }, Mi = ({ ariaLabel: t, className: n, headingText: r, labels: i = {
9184
9195
  submenu: "submenu",
9185
9196
  toggle: "Toggle"
9186
9197
  }, menuItems: a, ...o }) => {
@@ -9300,7 +9311,7 @@ var Tr = {
9300
9311
  display: "none"
9301
9312
  }), b();
9302
9313
  }, j = (t, n, r) => {
9303
- let a = Ai[t], o = `${u}--${a}-level`, l = `${c}--${a}-level`, d = t + 1, f = mi(n);
9314
+ let a = ji[t], o = `${u}--${a}-level`, l = `${c}--${a}-level`, d = t + 1, f = hi(n);
9304
9315
  if (_.current && n.path) {
9305
9316
  let e = _.current.querySelector(`.${c}[data-item-path="${n.path}"]`);
9306
9317
  if (e) {
@@ -9317,7 +9328,7 @@ var Tr = {
9317
9328
  iconName: "angleDown",
9318
9329
  size: "s",
9319
9330
  verticalAlign: "-0.0625rem"
9320
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${i.toggle} ${fi(n.linkContent)} ${i.submenu}`)), _i(n.linkContent, n.links)), /* @__PURE__ */ e.createElement("ul", {
9331
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${i.toggle} ${pi(n.linkContent)} ${i.submenu}`)), vi(n.linkContent, n.links)), /* @__PURE__ */ e.createElement("ul", {
9321
9332
  className: Z([
9322
9333
  u,
9323
9334
  o,
@@ -9325,7 +9336,7 @@ var Tr = {
9325
9336
  ]),
9326
9337
  role: "group"
9327
9338
  }, n.links.map((t, n) => {
9328
- let r = mi(t);
9339
+ let r = hi(t);
9329
9340
  return /* @__PURE__ */ e.createElement("li", {
9330
9341
  key: `${n}-${a}`,
9331
9342
  "aria-expanded": t.links ? r : void 0,
@@ -9337,10 +9348,10 @@ var Tr = {
9337
9348
  ]),
9338
9349
  "data-item-path": t.path || "",
9339
9350
  role: "treeitem"
9340
- }, t.links && d in Ai ? j(d, t, t.links) : t.linkContent);
9351
+ }, t.links && d in ji ? j(d, t, t.links) : t.linkContent);
9341
9352
  })));
9342
9353
  }, M = (t, n) => {
9343
- let { linkContent: r, links: i } = t, a = mi(t);
9354
+ let { linkContent: r, links: i } = t, a = hi(t);
9344
9355
  return /* @__PURE__ */ e.createElement("li", {
9345
9356
  key: n,
9346
9357
  "aria-expanded": i ? a : void 0,
@@ -9369,11 +9380,11 @@ var Tr = {
9369
9380
  className: `${s}__menu ${s}__menu--top-level`,
9370
9381
  role: "tree"
9371
9382
  }, a.map((e, t) => M(e, t))));
9372
- }, Mi = {
9383
+ }, Ni = {
9373
9384
  light: "sunBright",
9374
9385
  dark: "moon",
9375
9386
  system: "circleHalfStroke"
9376
- }, Ni = ({ className: t, id: n = "theme-switcher-menu", labelStrings: r = {
9387
+ }, Pi = ({ className: t, id: n = "theme-switcher-menu", labelStrings: r = {
9377
9388
  light: "Light",
9378
9389
  dark: "Dark",
9379
9390
  system: "System"
@@ -9385,7 +9396,7 @@ var Tr = {
9385
9396
  ];
9386
9397
  if (s === "toggle") {
9387
9398
  let s = d.map((e) => ({
9388
- iconName: Mi[e],
9399
+ iconName: Ni[e],
9389
9400
  label: r[e],
9390
9401
  value: e
9391
9402
  }));
@@ -9404,7 +9415,7 @@ var Tr = {
9404
9415
  }
9405
9416
  let f = d.map((e) => ({
9406
9417
  callback: () => i?.(e),
9407
- iconName: Mi[e],
9418
+ iconName: Ni[e],
9408
9419
  iconSize: "m",
9409
9420
  label: r[e]
9410
9421
  }));
@@ -9416,7 +9427,7 @@ var Tr = {
9416
9427
  customTrigger: /* @__PURE__ */ e.createElement(Rn, {
9417
9428
  iconOnly: !0,
9418
9429
  "aria-label": u,
9419
- iconName: Mi[o],
9430
+ iconName: Ni[o],
9420
9431
  id: n,
9421
9432
  label: "",
9422
9433
  menuItems: f,
@@ -9425,7 +9436,7 @@ var Tr = {
9425
9436
  offsetValue: 0,
9426
9437
  preferredPlacement: "top"
9427
9438
  }));
9428
- }, Pi = ({ ariaLabel: t = "User menu", className: n, menuItems: r = [], onThemeChange: i, theme: a, themeLabel: o = "Theme", themeLabelStrings: s, userEmail: c, userImageSrc: l, userName: d, ...f }) => {
9439
+ }, Fi = ({ ariaLabel: t = "User menu", className: n, menuItems: r = [], onThemeChange: i, theme: a, themeLabel: o = "Theme", themeLabelStrings: s, userEmail: c, userImageSrc: l, userName: d, ...f }) => {
9429
9440
  let [p, g] = h(null), [_, v] = h(!1), y = m([]), b = m([]), S = u(), E = "pds-user-menu", O = `${E}__menu`, { context: M, floatingStyles: N, refs: P } = j({
9430
9441
  placement: "bottom-end",
9431
9442
  open: _,
@@ -9435,8 +9446,9 @@ var Tr = {
9435
9446
  w(),
9436
9447
  D()
9437
9448
  ],
9438
- whileElementsMounted: C
9439
- }), z = k(M, { event: "mousedown" }), B = A(M), V = L(M, { role: "menu" }), H = m([]), { getFloatingProps: U, getItemProps: ee, getReferenceProps: W } = F([
9449
+ whileElementsMounted: C,
9450
+ strategy: "fixed"
9451
+ }), z = k(M, { event: "mousedown" }), B = A(M), V = L(M, { role: "menu" }), H = m([]), { getFloatingProps: U, getItemProps: W, getReferenceProps: G } = F([
9440
9452
  B,
9441
9453
  V,
9442
9454
  z,
@@ -9449,7 +9461,7 @@ var Tr = {
9449
9461
  focusItemOnOpen: !1,
9450
9462
  focusItemOnHover: !0
9451
9463
  })
9452
- ]), { isMounted: G, styles: te } = R(M, {
9464
+ ]), { isMounted: K, styles: ee } = R(M, {
9453
9465
  duration: {
9454
9466
  open: 300,
9455
9467
  close: 150
@@ -9457,19 +9469,19 @@ var Tr = {
9457
9469
  initial: { opacity: 0 },
9458
9470
  open: { opacity: 1 },
9459
9471
  close: { opacity: 0 }
9460
- }), K = /* @__PURE__ */ e.createElement(rt, {
9472
+ }), q = /* @__PURE__ */ e.createElement(rt, {
9461
9473
  hasUserFallback: !0,
9462
9474
  className: `${E}__avatar`,
9463
9475
  imageSrc: l,
9464
9476
  size: "s",
9465
9477
  uniqueId: c
9466
- }), ne = /* @__PURE__ */ e.createElement("li", {
9478
+ }), te = /* @__PURE__ */ e.createElement("li", {
9467
9479
  className: `${E}__user-details`,
9468
9480
  role: "presentation"
9469
- }, /* @__PURE__ */ e.createElement("div", { className: `${E}__user-name` }, d), /* @__PURE__ */ e.createElement("div", { className: `${E}__user-email` }, c)), re = a !== void 0 && typeof i == "function" ? /* @__PURE__ */ e.createElement("li", {
9481
+ }, /* @__PURE__ */ e.createElement("div", { className: `${E}__user-name` }, d), /* @__PURE__ */ e.createElement("div", { className: `${E}__user-email` }, c)), ne = a !== void 0 && typeof i == "function" ? /* @__PURE__ */ e.createElement("li", {
9470
9482
  className: `${E}__theme-row`,
9471
9483
  role: "presentation"
9472
- }, /* @__PURE__ */ e.createElement("span", { className: `${E}__theme-label` }, o), /* @__PURE__ */ e.createElement(Ni, {
9484
+ }, /* @__PURE__ */ e.createElement("span", { className: `${E}__theme-label` }, o), /* @__PURE__ */ e.createElement(Pi, {
9473
9485
  id: `${S}-theme`,
9474
9486
  labelStrings: s,
9475
9487
  onChange: i,
@@ -9481,14 +9493,14 @@ var Tr = {
9481
9493
  let n = e.id ? e.id : `${S}-item-${t}`;
9482
9494
  y.current.push(n), b.current.push(e);
9483
9495
  });
9484
- let ie = (e) => {
9496
+ let re = (e) => {
9485
9497
  let t = y.current.indexOf(e), n = b.current[t];
9486
9498
  n.linkContent && !n.disabled && (H.current[t].querySelector("a").click(), v(!1)), n.callback && !n.disabled && (n.callback(), v(!1));
9487
- }, q = (e) => {
9488
- e.preventDefault(), e.key === "Enter" && ie(e.currentTarget.id);
9489
- }, ae = (e) => {
9490
- ie(e.currentTarget.id);
9491
- }, oe = r.map((t, n) => {
9499
+ }, J = (e) => {
9500
+ e.preventDefault(), e.key === "Enter" && re(e.currentTarget.id);
9501
+ }, ie = (e) => {
9502
+ re(e.currentTarget.id);
9503
+ }, ae = r.map((t, n) => {
9492
9504
  let r = y.current[n], i = `${E}__item`, a = t.disabled ? `${i}--disabled` : null;
9493
9505
  return /* @__PURE__ */ e.createElement("li", {
9494
9506
  key: r,
@@ -9498,16 +9510,16 @@ var Tr = {
9498
9510
  "aria-disabled": t.disabled || void 0,
9499
9511
  className: Z([i, a]),
9500
9512
  id: r,
9501
- onKeyDown: q,
9513
+ onKeyDown: J,
9502
9514
  role: "menuitem",
9503
9515
  tabIndex: p === n ? 0 : -1,
9504
- ...ee({ onClick: (e) => ae(e) })
9516
+ ...W({ onClick: (e) => ie(e) })
9505
9517
  }, t.linkContent ? t.linkContent : t.label, t.iconName && /* @__PURE__ */ e.createElement(Q, {
9506
9518
  className: `${E}__icon`,
9507
9519
  iconName: t.iconName,
9508
9520
  size: "m"
9509
9521
  }));
9510
- }), J = r.map((t, n) => {
9522
+ }), Y = r.map((t, n) => {
9511
9523
  let r = y.current[n], i = `${E}__item`, a = t.disabled ? `${i}--disabled` : null;
9512
9524
  return /* @__PURE__ */ e.createElement("li", {
9513
9525
  key: r,
@@ -9523,20 +9535,20 @@ var Tr = {
9523
9535
  iconName: t.iconName,
9524
9536
  size: "m"
9525
9537
  }));
9526
- }), Y = /* @__PURE__ */ e.createElement("span", { className: `${E}__toggle-left` }, K, d ?? c);
9538
+ }), oe = /* @__PURE__ */ e.createElement("span", { className: `${E}__toggle-left` }, q, d ?? c);
9527
9539
  return /* @__PURE__ */ e.createElement("span", {
9528
9540
  className: Z([E, n ?? ""]),
9529
9541
  ...f
9530
- }, /* @__PURE__ */ e.createElement(An, { label: Y }, /* @__PURE__ */ e.createElement("ul", {
9542
+ }, /* @__PURE__ */ e.createElement(An, { label: oe }, /* @__PURE__ */ e.createElement("ul", {
9531
9543
  className: Z([O, `${O}--mobile`]),
9532
9544
  role: "menu"
9533
- }, ne, /* @__PURE__ */ e.createElement("li", { role: "separator" }), re, J)), /* @__PURE__ */ e.createElement("button", {
9545
+ }, te, /* @__PURE__ */ e.createElement("li", { role: "separator" }), ne, Y)), /* @__PURE__ */ e.createElement("button", {
9534
9546
  ref: P.setReference,
9535
9547
  "aria-label": t,
9536
9548
  className: `${E}__trigger`,
9537
9549
  type: "button",
9538
- ...W()
9539
- }, K), G && /* @__PURE__ */ e.createElement(x, null, /* @__PURE__ */ e.createElement("div", {
9550
+ ...G()
9551
+ }, q), K && /* @__PURE__ */ e.createElement(x, null, /* @__PURE__ */ e.createElement("div", {
9540
9552
  ref: P.setFloating,
9541
9553
  className: `${E}__dropdown`,
9542
9554
  style: {
@@ -9544,37 +9556,50 @@ var Tr = {
9544
9556
  zIndex: "var(--pds-z-index-dropdown)"
9545
9557
  },
9546
9558
  ...U()
9547
- }, /* @__PURE__ */ e.createElement("div", { style: { ...te } }, /* @__PURE__ */ e.createElement("ul", {
9559
+ }, /* @__PURE__ */ e.createElement("div", { style: { ...ee } }, /* @__PURE__ */ e.createElement("ul", {
9548
9560
  className: O,
9549
9561
  role: "menu"
9550
- }, ne, /* @__PURE__ */ e.createElement("li", { role: "separator" }), re, oe)))));
9551
- }, 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 }) => {
9552
- let [d, f] = h(""), [g, _] = h(""), v = m(null), y = l.length >= s, b = "pds-workspace-selector", S = `${b}__menu`, C = y ? `${S}--scroll` : null, { activeIndex: w, floatingStyles: T, getFloatingProps: E, getItemProps: D, getReferenceProps: O, isMounted: k, listRef: A, refs: j, setIsOpen: M, transitionStyles: N } = _n({
9553
- enableTypeahead: !y,
9562
+ }, te, /* @__PURE__ */ e.createElement("li", { role: "separator" }), ne, ae)))));
9563
+ }, Ii = ({ 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 }) => {
9564
+ let [d, g] = h(""), [_, v] = h(""), y = m(null), b = l.length >= s, S = "pds-workspace-selector", C = `${S}__menu`, w = b ? `${C}--scroll` : null, { activeIndex: T, floatingStyles: E, getFloatingProps: D, getItemProps: O, getReferenceProps: k, isMounted: A, listRef: j, refs: M, setIsOpen: N, transitionStyles: P } = _n({
9565
+ enableTypeahead: !b,
9554
9566
  role: "menu"
9555
- }), P = l.find((e) => e.isActive);
9556
- P || (P = l[0]);
9557
- let F = p(() => {
9567
+ }), F = l.find((e) => e.isActive);
9568
+ F || (F = l[0]);
9569
+ let I = m(null);
9570
+ f(() => {
9571
+ let e = I.current, t = e?.parentElement;
9572
+ if (!e || !t) return;
9573
+ let n = () => {
9574
+ t.style.width = "";
9575
+ let n = document.createRange();
9576
+ n.selectNodeContents(e);
9577
+ let r = Array.from(n.getClientRects()).slice(0, 2), i = Math.max(0, ...r.map((e) => e.width));
9578
+ i > 0 && (t.style.width = `${Math.ceil(i)}px`);
9579
+ };
9580
+ n(), document.fonts?.ready.then(n);
9581
+ }, [F?.displayName]);
9582
+ let L = p(() => {
9558
9583
  if (!d) return l;
9559
9584
  let e = d.toLowerCase();
9560
9585
  return l.filter((t) => t.displayName?.toLowerCase().includes(e));
9561
- }, [l, d]), I = p(() => {
9562
- if (!g) return l;
9563
- let e = g.toLowerCase();
9586
+ }, [l, d]), R = p(() => {
9587
+ if (!_) return l;
9588
+ let e = _.toLowerCase();
9564
9589
  return l.filter((t) => t.displayName?.toLowerCase().includes(e));
9565
- }, [l, g]), L = (e) => {
9566
- e.preventDefault(), e.key === "Enter" && (A.current[w]?.querySelector("a") || A.current[w]?.querySelector("button"))?.click(), e.key === "Tab" && (e.shiftKey ? y ? document.getElementById("workspace-filter")?.focus() : M(!1) : r ? v.current?.querySelector("a")?.focus() : M(!1));
9567
- }, R = (t) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${b}__item-content` }, /* @__PURE__ */ e.createElement(rt, {
9568
- className: `${b}__list-avatar`,
9590
+ }, [l, _]), z = (e) => {
9591
+ e.preventDefault(), e.key === "Enter" && (j.current[T]?.querySelector("a") || j.current[T]?.querySelector("button"))?.click(), e.key === "Tab" && (e.shiftKey ? b ? document.getElementById("workspace-filter")?.focus() : N(!1) : r ? y.current?.querySelector("a")?.focus() : N(!1));
9592
+ }, B = (t) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${S}__item-content` }, /* @__PURE__ */ e.createElement(rt, {
9593
+ className: `${S}__list-avatar`,
9569
9594
  imageSrc: t.imageSrc,
9570
9595
  size: "s",
9571
9596
  uniqueId: t.workspaceId
9572
- }), 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, {
9573
- className: `${b}__lock-icon`,
9597
+ }), t.displayName, t.isRestricted && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, t.restrictedLabel ?? "Restricted")), (t.isRestricted || t.isActive) && /* @__PURE__ */ e.createElement("div", { className: `${S}__icons` }, t.isRestricted && /* @__PURE__ */ e.createElement(Q, {
9598
+ className: `${S}__lock-icon`,
9574
9599
  iconName: "lock"
9575
- }), t.isActive && /* @__PURE__ */ e.createElement(On, null))), z = F.map((t, n) => {
9576
- let r = `${b}__item`, i = t.workspaceId, a = t.isRestricted && t.onRestrictedSelection, o = t.workspaceLink?.type, s = t.isUnprivileged ? null : (e) => {
9577
- A.current[n] = e;
9600
+ }), t.isActive && /* @__PURE__ */ e.createElement(On, null))), V = L.map((t, n) => {
9601
+ let r = `${S}__item`, i = t.workspaceId, a = t.isRestricted && t.onRestrictedSelection, o = t.workspaceLink?.type, s = t.isUnprivileged ? null : (e) => {
9602
+ j.current[n] = e;
9578
9603
  };
9579
9604
  return /* @__PURE__ */ e.createElement("li", {
9580
9605
  key: i,
@@ -9588,18 +9613,18 @@ var Tr = {
9588
9613
  t.isRestricted ? `${r}--restricted` : null
9589
9614
  ]),
9590
9615
  id: i,
9591
- onKeyDown: L,
9616
+ onKeyDown: z,
9592
9617
  role: "menuitem",
9593
- tabIndex: w === n ? 0 : -1,
9594
- ...D()
9618
+ tabIndex: T === n ? 0 : -1,
9619
+ ...O()
9595
9620
  }, a ? /* @__PURE__ */ e.createElement("button", {
9596
9621
  onClick: () => {
9597
- t.onRestrictedSelection(), M(!1);
9622
+ t.onRestrictedSelection(), N(!1);
9598
9623
  },
9599
9624
  type: "button"
9600
- }, R(t)) : o ? /* @__PURE__ */ e.createElement(o, Object.assign({}, t.workspaceLink.props, { onClick: () => M(!1) }), R(t)) : null);
9601
- }), B = I.map((t) => {
9602
- let n = `${b}__item`, r = t.workspaceId, i = t.isRestricted && t.onRestrictedSelection, a = t.workspaceLink?.type;
9625
+ }, B(t)) : o ? /* @__PURE__ */ e.createElement(o, Object.assign({}, t.workspaceLink.props, { onClick: () => N(!1) }), B(t)) : null);
9626
+ }), H = R.map((t) => {
9627
+ let n = `${S}__item`, r = t.workspaceId, i = t.isRestricted && t.onRestrictedSelection, a = t.workspaceLink?.type;
9603
9628
  return /* @__PURE__ */ e.createElement("li", {
9604
9629
  key: `${r}-accordion`,
9605
9630
  className: Z([
@@ -9615,85 +9640,88 @@ var Tr = {
9615
9640
  }, i ? /* @__PURE__ */ e.createElement("button", {
9616
9641
  onClick: () => t.onRestrictedSelection(),
9617
9642
  type: "button"
9618
- }, R(t)) : a ? /* @__PURE__ */ e.createElement(a, Object.assign({}, t.workspaceLink?.props), R(t)) : null);
9619
- }), V = r && /* @__PURE__ */ e.createElement("div", {
9620
- ref: v,
9621
- className: `${b}__create-link`
9643
+ }, B(t)) : a ? /* @__PURE__ */ e.createElement(a, Object.assign({}, t.workspaceLink?.props), B(t)) : null);
9644
+ }), U = r && /* @__PURE__ */ e.createElement("div", {
9645
+ ref: y,
9646
+ className: `${S}__create-link`
9622
9647
  }, /* @__PURE__ */ e.createElement("span", {
9623
- className: `${b}__create-link-inner`,
9624
- onBlur: () => M(!1),
9625
- onClick: () => M(!1)
9648
+ className: `${S}__create-link-inner`,
9649
+ onBlur: () => N(!1),
9650
+ onClick: () => N(!1)
9626
9651
  }, r, /* @__PURE__ */ e.createElement(Q, {
9627
9652
  iconName: "plus",
9628
9653
  size: "s"
9629
- }))), H = P ? /* @__PURE__ */ e.createElement("div", { className: `${b}__button-content` }, /* @__PURE__ */ e.createElement(rt, {
9630
- className: `${b}__avatar`,
9631
- imageSrc: P.imageSrc,
9654
+ }))), W = (t) => F ? /* @__PURE__ */ e.createElement("div", { className: `${S}__button-content` }, /* @__PURE__ */ e.createElement(rt, {
9655
+ className: `${S}__avatar`,
9656
+ imageSrc: F.imageSrc,
9632
9657
  size: "s",
9633
- uniqueId: P.workspaceId
9634
- }), /* @__PURE__ */ e.createElement("span", { className: `${b}__name` }, /* @__PURE__ */ e.createElement("span", { className: `${b}__name-text` }, P.displayName))) : null;
9658
+ uniqueId: F.workspaceId
9659
+ }), /* @__PURE__ */ e.createElement("span", { className: `${S}__name` }, /* @__PURE__ */ e.createElement("span", {
9660
+ ref: t,
9661
+ className: `${S}__name-text`
9662
+ }, F.displayName))) : null;
9635
9663
  return /* @__PURE__ */ e.createElement("span", {
9636
- className: Z([b, n]),
9664
+ className: Z([S, n]),
9637
9665
  ...u
9638
- }, /* @__PURE__ */ e.createElement(An, { label: H }, y && /* @__PURE__ */ e.createElement("div", { className: `${b}__filter` }, /* @__PURE__ */ e.createElement(ei, {
9666
+ }, /* @__PURE__ */ e.createElement(An, { label: W() }, b && /* @__PURE__ */ e.createElement("div", { className: `${S}__filter` }, /* @__PURE__ */ e.createElement(ti, {
9639
9667
  hasClearButton: !0,
9640
9668
  id: "workspace-filter-mobile",
9641
9669
  label: i,
9642
- onChange: (e) => _(e.target.value),
9643
- onClear: () => _(""),
9670
+ onChange: (e) => v(e.target.value),
9671
+ onClear: () => v(""),
9644
9672
  placeholder: a,
9645
9673
  showLabel: !1,
9646
9674
  type: "search"
9647
9675
  })), /* @__PURE__ */ e.createElement("ul", {
9648
- className: Z([S, `${S}--mobile`]),
9676
+ className: Z([C, `${C}--mobile`]),
9649
9677
  role: "menu"
9650
9678
  }, /* @__PURE__ */ e.createElement("li", {
9651
- className: `pds-dropdown__heading ${b}__item-heading`,
9679
+ className: `pds-dropdown__heading ${S}__item-heading`,
9652
9680
  role: "presentation"
9653
- }, o), B.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: "pds-dropdown__no-results" }, c) : B), r && /* @__PURE__ */ e.createElement("div", { className: `${b}__create-link` }, /* @__PURE__ */ e.createElement("span", { className: `${b}__create-link-inner` }, r, /* @__PURE__ */ e.createElement(Q, {
9681
+ }, o), H.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: "pds-dropdown__no-results" }, c) : H), r && /* @__PURE__ */ e.createElement("div", { className: `${S}__create-link` }, /* @__PURE__ */ e.createElement("span", { className: `${S}__create-link-inner` }, r, /* @__PURE__ */ e.createElement(Q, {
9654
9682
  iconName: "plus",
9655
9683
  size: "s"
9656
9684
  })))), /* @__PURE__ */ e.createElement("button", {
9657
- ref: j.setReference,
9685
+ ref: M.setReference,
9658
9686
  "aria-label": t,
9659
- className: `${b}__trigger`,
9687
+ className: `${S}__trigger`,
9660
9688
  type: "button",
9661
- ...O()
9662
- }, H, /* @__PURE__ */ e.createElement(Q, {
9663
- className: `${b}__trigger-icon`,
9689
+ ...k()
9690
+ }, W(I), /* @__PURE__ */ e.createElement(Q, {
9691
+ className: `${S}__trigger-icon`,
9664
9692
  iconName: "angleDown",
9665
9693
  size: "m"
9666
- })), k && /* @__PURE__ */ e.createElement(x, null, /* @__PURE__ */ e.createElement("div", {
9667
- ref: j.setFloating,
9668
- className: `pds-dropdown__panel ${b}__dropdown`,
9694
+ })), A && /* @__PURE__ */ e.createElement(x, null, /* @__PURE__ */ e.createElement("div", {
9695
+ ref: M.setFloating,
9696
+ className: `pds-dropdown__panel ${S}__dropdown`,
9669
9697
  style: {
9670
- ...T,
9671
- ...N,
9698
+ ...E,
9699
+ ...P,
9672
9700
  zIndex: "var(--pds-z-index-dropdown)"
9673
9701
  },
9674
- ...E()
9675
- }, y && /* @__PURE__ */ e.createElement("div", { className: `${b}__filter` }, /* @__PURE__ */ e.createElement(ei, {
9702
+ ...D()
9703
+ }, b && /* @__PURE__ */ e.createElement("div", { className: `${S}__filter` }, /* @__PURE__ */ e.createElement(ti, {
9676
9704
  hasClearButton: !0,
9677
9705
  id: "workspace-filter",
9678
9706
  label: i,
9679
- onChange: (e) => f(e.target.value),
9680
- onClear: () => f(""),
9707
+ onChange: (e) => g(e.target.value),
9708
+ onClear: () => g(""),
9681
9709
  placeholder: a,
9682
9710
  showLabel: !1,
9683
9711
  type: "search"
9684
9712
  })), /* @__PURE__ */ e.createElement("ul", {
9685
- className: Z([S, C]),
9713
+ className: Z([C, w]),
9686
9714
  role: "menu"
9687
9715
  }, /* @__PURE__ */ e.createElement("li", {
9688
- className: `pds-dropdown__heading ${b}__item-heading`,
9716
+ className: `pds-dropdown__heading ${S}__item-heading`,
9689
9717
  role: "presentation"
9690
- }, o), z.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: "pds-dropdown__no-results" }, c) : z), V)));
9691
- }, Ii = {
9718
+ }, o), V.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: "pds-dropdown__no-results" }, c) : V), U)));
9719
+ }, Li = {
9692
9720
  info: "circleInfo",
9693
9721
  warning: "triangleExclamation",
9694
9722
  critical: "diamondExclamation",
9695
9723
  discovery: "bullhorn"
9696
- }, Li = 200, Ri = 50, zi = ({ banners: t, className: n, dataContext: r = "product", dismissLabel: i = "Dismiss", labelNext: a = "Go to next message", labelPrevious: o = "Go to previous message", typeLabels: s = {
9724
+ }, Ri = 200, zi = 50, Bi = ({ banners: t, className: n, dataContext: r = "product", dismissLabel: i = "Dismiss", labelNext: a = "Go to next message", labelPrevious: o = "Go to previous message", typeLabels: s = {
9697
9725
  ...jn,
9698
9726
  neutral: "Notice"
9699
9727
  }, ...c }) => {
@@ -9712,21 +9740,21 @@ var Tr = {
9712
9740
  }, w = d[0].type, T = w ? `${x}-group--${w}` : null, E = (e) => 500 - e, D = (e) => e === 0 ? 0 : -1, O = () => {
9713
9741
  m(d[0].id), setTimeout(() => {
9714
9742
  f((e) => [...e.slice(1), e[0]]), m(null);
9715
- }, Li);
9743
+ }, Ri);
9716
9744
  }, k = () => {
9717
9745
  y({
9718
9746
  [d[0].id]: 502,
9719
9747
  [d[b - 1].id]: 501
9720
9748
  }), setTimeout(() => {
9721
9749
  m(d[0].id);
9722
- }, Ri), setTimeout(() => {
9750
+ }, zi), setTimeout(() => {
9723
9751
  f((e) => [e[e.length - 1], ...e.slice(0, e.length - 1)]), m(null), y({});
9724
- }, Li);
9752
+ }, Ri);
9725
9753
  }, A = (t, n) => {
9726
9754
  let { iconName: r, id: a, isDismissible: o, message: c, onDismiss: l, type: d } = t, m = d === "critical" ? "alert" : "status", h = `${s[d]}: `, y = (e) => {
9727
9755
  e.preventDefault(), _(a), setTimeout(() => {
9728
9756
  l?.(), _(null), f((e) => e.filter((e) => e.id !== a));
9729
- }, Li);
9757
+ }, Ri);
9730
9758
  }, b = v[a] ?? E(n);
9731
9759
  return /* @__PURE__ */ e.createElement("div", {
9732
9760
  key: a,
@@ -9741,7 +9769,7 @@ var Tr = {
9741
9769
  style: { zIndex: b }
9742
9770
  }, /* @__PURE__ */ e.createElement("div", { className: `${x}__content` }, /* @__PURE__ */ e.createElement(Q, {
9743
9771
  className: `${x}__icon ${x}__icon--${t.type}`,
9744
- iconName: d === "neutral" ? r : Ii[d],
9772
+ iconName: d === "neutral" ? r : Li[d],
9745
9773
  size: u ? "l" : "m"
9746
9774
  }), /* @__PURE__ */ e.createElement("div", { className: `${x}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, h, " "), c)), o && /* @__PURE__ */ e.createElement("button", {
9747
9775
  className: `${x}__dismiss-button`,
@@ -9772,12 +9800,12 @@ var Tr = {
9772
9800
  onClick: O,
9773
9801
  size: "m"
9774
9802
  }), d.map((e, t) => A(e, t))) : A(d[0], 0));
9775
- }, Bi = {
9803
+ }, Vi = {
9776
9804
  info: "circleInfo",
9777
9805
  warning: "triangleExclamation",
9778
9806
  success: "circleCheck",
9779
9807
  critical: "diamondExclamation"
9780
- }, Vi = ({ className: t, message: n, title: r, type: i, typeLabels: a = {
9808
+ }, Hi = ({ className: t, message: n, title: r, type: i, typeLabels: a = {
9781
9809
  ...jn,
9782
9810
  working: "Working"
9783
9811
  }, ...o }) => {
@@ -9798,16 +9826,16 @@ var Tr = {
9798
9826
  role: l,
9799
9827
  ...o
9800
9828
  }, /* @__PURE__ */ e.createElement("div", { className: `${s}__icon ${s}__icon-${i}` }, i === "working" ? /* @__PURE__ */ e.createElement(nn, { size: "m" }) : /* @__PURE__ */ e.createElement(Q, {
9801
- iconName: `${i}` in Bi ? Bi[i] : Bi.info,
9829
+ iconName: `${i}` in Vi ? Vi[i] : Vi.info,
9802
9830
  size: "m"
9803
9831
  })), /* @__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)));
9804
- }, Hi = {
9832
+ }, Ui = {
9805
9833
  info: "circleInfo",
9806
9834
  warning: "triangleExclamation",
9807
9835
  success: "circleCheck",
9808
9836
  critical: "diamondExclamation",
9809
9837
  discovery: "squareQuestion"
9810
- }, Ui = ({ className: t, ctaButton: n, dataContext: r = "product", dismissLabel: i = "Dismiss", id: a, isDismissible: o, message: s, onDismiss: c, title: u, type: d = "info", typeLabels: f = jn, ...p }) => {
9838
+ }, Wi = ({ className: t, ctaButton: n, dataContext: r = "product", dismissLabel: i = "Dismiss", id: a, isDismissible: o, message: s, onDismiss: c, title: u, type: d = "info", typeLabels: f = jn, ...p }) => {
9811
9839
  let h = r === "marketing", g = m(null), _ = m(void 0), v = "pds-section-message", y = {
9812
9840
  error: `${v}--error`,
9813
9841
  success: `${v}--success`,
@@ -9844,7 +9872,7 @@ var Tr = {
9844
9872
  role: S,
9845
9873
  ...p
9846
9874
  }, /* @__PURE__ */ e.createElement("div", { className: `${v}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${v}__icon ${v}__icon-${d}` }, /* @__PURE__ */ e.createElement(Q, {
9847
- iconName: `${d}` in Hi ? Hi[d] : Hi.info,
9875
+ iconName: `${d}` in Ui ? Ui[d] : Ui.info,
9848
9876
  size: h ? "xl" : "l"
9849
9877
  })), /* @__PURE__ */ e.createElement("div", { className: `${v}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, C), u && /* @__PURE__ */ e.createElement("div", { className: `${v}__title` }, u), /* @__PURE__ */ e.createElement("div", { className: `${v}__message` }, w))), (n || o) && /* @__PURE__ */ e.createElement("div", { className: `${v}__actions` }, n && /* @__PURE__ */ e.createElement(un, {
9850
9878
  ...n,
@@ -9857,10 +9885,10 @@ var Tr = {
9857
9885
  onClick: D,
9858
9886
  size: h ? "l" : "m"
9859
9887
  })));
9860
- }, Wi = 3e4, Gi = {
9888
+ }, Gi = 3e4, Ki = {
9861
9889
  pause: "Pause notification",
9862
9890
  resume: "Resume notification"
9863
- }, Ki = r({ labelStrings: Gi }), qi = ({ ariaLabel: t, closeToast: n }) => /* @__PURE__ */ e.createElement(hn, {
9891
+ }, qi = r({ labelStrings: Ki }), Ji = ({ ariaLabel: t, closeToast: n }) => /* @__PURE__ */ e.createElement(hn, {
9864
9892
  ariaLabel: t || "Close",
9865
9893
  className: "pds-toast__close-button",
9866
9894
  onClick: (e) => {
@@ -9868,13 +9896,13 @@ var Tr = {
9868
9896
  },
9869
9897
  size: "s",
9870
9898
  tabIndex: 0
9871
- }), Ji = ({ className: t, labelStrings: n = Gi, limit: r = 5, position: i = "bottom-right" }) => {
9899
+ }), Yi = ({ className: t, labelStrings: n = Ki, limit: r = 5, position: i = "bottom-right" }) => {
9872
9900
  let a = Z(["pds-toaster", t]);
9873
- return /* @__PURE__ */ e.createElement(Ki.Provider, { value: { labelStrings: n } }, /* @__PURE__ */ e.createElement(Ce, {
9901
+ return /* @__PURE__ */ e.createElement(qi.Provider, { value: { labelStrings: n } }, /* @__PURE__ */ e.createElement(Ce, {
9874
9902
  newestOnTop: !0,
9875
9903
  autoClose: !1,
9876
9904
  className: a,
9877
- closeButton: qi,
9905
+ closeButton: Ji,
9878
9906
  draggable: !1,
9879
9907
  icon: !1,
9880
9908
  limit: r,
@@ -9884,25 +9912,25 @@ var Tr = {
9884
9912
  role: "status",
9885
9913
  transition: Se
9886
9914
  }));
9887
- }, Yi = {
9915
+ }, Xi = {
9888
9916
  info: "circleInfo",
9889
9917
  success: "circleCheck",
9890
9918
  warning: "triangleExclamation",
9891
9919
  critical: "diamondExclamation"
9892
- }, Xi = {
9920
+ }, Zi = {
9893
9921
  info: "Information",
9894
9922
  success: "Success",
9895
9923
  warning: "Warning",
9896
9924
  critical: "Critical",
9897
9925
  working: "Working..."
9898
- }, Zi = ({ autoCloseDuration: t, children: n, className: r, id: i, toastId: a, type: o = "info", typeLabels: s = Xi }) => {
9926
+ }, Qi = ({ autoCloseDuration: t, children: n, className: r, id: i, toastId: a, type: o = "info", typeLabels: s = Zi }) => {
9899
9927
  let l = "pds-toast", u = {
9900
9928
  critical: `${l}--critical`,
9901
9929
  info: `${l}--info`,
9902
9930
  success: `${l}--success`,
9903
9931
  warning: `${l}--warning`,
9904
9932
  working: `${l}--working`
9905
- }, d = `${s[o]} `, { labelStrings: f } = c(Ki), [p, m] = h(!1), g = a !== void 0 && o !== "critical" && o !== "working" && typeof t == "number";
9933
+ }, d = `${s[o]} `, { labelStrings: f } = c(qi), [p, m] = h(!1), g = a !== void 0 && o !== "critical" && o !== "working" && typeof t == "number";
9906
9934
  return /* @__PURE__ */ e.createElement("div", {
9907
9935
  className: Z([
9908
9936
  l,
@@ -9912,7 +9940,7 @@ var Tr = {
9912
9940
  id: i
9913
9941
  }, /* @__PURE__ */ e.createElement("div", { className: `${l}__icon-container` }, o === "working" ? /* @__PURE__ */ e.createElement(nn, { size: "xl" }) : /* @__PURE__ */ e.createElement(Q, {
9914
9942
  className: `${l}__icon ${l}__icon--${o}`,
9915
- iconName: Yi[o],
9943
+ iconName: Xi[o],
9916
9944
  size: "l"
9917
9945
  })), /* @__PURE__ */ e.createElement("div", { className: `${l}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, d), n), g && /* @__PURE__ */ e.createElement("button", {
9918
9946
  "aria-label": p ? f.resume : f.pause,
@@ -9927,11 +9955,11 @@ var Tr = {
9927
9955
  iconName: p ? "play" : "pause",
9928
9956
  size: "m"
9929
9957
  })));
9930
- }, Qi = /* @__PURE__ */ function(e) {
9958
+ }, $i = /* @__PURE__ */ function(e) {
9931
9959
  return e.Critical = "critical", e.Info = "info", e.Success = "success", e.Warning = "warning", e.Working = "working", e;
9932
- }({}), $i = () => [
9960
+ }({}), ea = () => [
9933
9961
  (t, n, r = {}) => {
9934
- let i = r.toastId ?? crypto.randomUUID(), a = typeof r.autoClose == "number" ? Math.max(Wi, r.autoClose) : !1, o = /* @__PURE__ */ e.createElement(Zi, {
9962
+ let i = r.toastId ?? crypto.randomUUID(), a = typeof r.autoClose == "number" ? Math.max(Gi, r.autoClose) : !1, o = /* @__PURE__ */ e.createElement(Qi, {
9935
9963
  autoCloseDuration: a || void 0,
9936
9964
  toastId: i,
9937
9965
  type: t
@@ -9956,7 +9984,7 @@ var Tr = {
9956
9984
  enter: "pds-toast--bounceInPlace",
9957
9985
  exit: "pds-toast--slideOut"
9958
9986
  })
9959
- ], ea = ({ 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, ..._ }) => {
9987
+ ], ta = ({ 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, ..._ }) => {
9960
9988
  let v = Xe(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 } = Lt();
9961
9989
  l(() => {
9962
9990
  c ? E(!0) : O(!1);
@@ -10021,7 +10049,7 @@ var Tr = {
10021
10049
  onClick: M,
10022
10050
  size: "m"
10023
10051
  })), /* @__PURE__ */ e.createElement("div", { className: `${x}__content` }, y), b && /* @__PURE__ */ e.createElement("div", { className: `${x}__footer` }, b)))), document.body) : null;
10024
- }, ta = ({ ariaLabel: t, background: n = "default", children: r, className: i, closeButtonLabel: a = "Close", closeIconName: o = "compress", hasCloseButton: s = !0, isOpen: c, onClose: u, ...d }) => {
10052
+ }, na = ({ ariaLabel: t, background: n = "default", children: r, className: i, closeButtonLabel: a = "Close", closeIconName: o = "compress", hasCloseButton: s = !0, isOpen: c, onClose: u, ...d }) => {
10025
10053
  let f = "pds-full-screen-overlay", p = n === "default" ? null : `${f}--bg-${n}`, { closeOverlay: m, openOverlay: h } = Lt();
10026
10054
  l(() => {
10027
10055
  if (!(!h || !m) && c) return h(), () => m();
@@ -10086,7 +10114,7 @@ var Tr = {
10086
10114
  }),
10087
10115
  zIndex: 9999
10088
10116
  }), /* @__PURE__ */ e.createElement("div", { className: `${f}__content` }, r)))), document.body) : null;
10089
- }, na = ({ 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 }) => {
10117
+ }, ra = ({ 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 }) => {
10090
10118
  let m = Xe(n), g = m.__unslotted, _ = m.footer, v = "pds-modal", x = d === "m" ? null : `${v}--${d}`, S = a ? {
10091
10119
  maxHeight: a,
10092
10120
  paddingInlineEnd: "1rem",
@@ -10162,27 +10190,27 @@ var Tr = {
10162
10190
  className: `${v}__content`,
10163
10191
  style: S
10164
10192
  }, g), _ && /* @__PURE__ */ e.createElement("div", { className: `${v}__footer` }, _)))), document.body) : null;
10165
- }, ra = (e, t) => {
10193
+ }, ia = (e, t) => {
10166
10194
  let n = t - e + 1;
10167
10195
  return Array.from({ length: n }, (t, n) => n + e);
10168
- }, ia = ({ bufferCount: e = 1, currentPage: t, itemsPerPage: n, totalItemCount: r }) => p(() => {
10196
+ }, aa = ({ bufferCount: e = 1, currentPage: t, itemsPerPage: n, totalItemCount: r }) => p(() => {
10169
10197
  let i = Math.ceil(r / n), a = e + 5, o = i;
10170
- if (a >= i) return ra(1, i);
10198
+ if (a >= i) return ia(1, i);
10171
10199
  let s = Math.max(t - e, 1), c = Math.min(t + e, i), l = s > 2, u = c < i - 2;
10172
10200
  if (!l && u) return [
10173
- ...ra(1, 3 + 2 * e),
10201
+ ...ia(1, 3 + 2 * e),
10174
10202
  "...",
10175
10203
  i
10176
10204
  ];
10177
10205
  if (l && !u) return [
10178
10206
  1,
10179
10207
  "...",
10180
- ...ra(i - (3 + 2 * e) + 1, i)
10208
+ ...ia(i - (3 + 2 * e) + 1, i)
10181
10209
  ];
10182
10210
  if (l && u) return [
10183
10211
  1,
10184
10212
  "...",
10185
- ...ra(s, c),
10213
+ ...ia(s, c),
10186
10214
  "...",
10187
10215
  o
10188
10216
  ];
@@ -10191,11 +10219,11 @@ var Tr = {
10191
10219
  n,
10192
10220
  e,
10193
10221
  t
10194
- ]), aa = ({ bufferCount: t = 1, className: n, currentPage: r, headingLevel: i = "h2", headingText: a = "Pagination", itemsPerPage: o = 10, labelStrings: s = {
10222
+ ]), oa = ({ bufferCount: t = 1, className: n, currentPage: r, headingLevel: i = "h2", headingText: a = "Pagination", itemsPerPage: o = 10, labelStrings: s = {
10195
10223
  previous: "Go to previous page",
10196
10224
  next: "Go to next page"
10197
10225
  }, onPageChange: c, size: l = "m", totalItemCount: u, ...d }) => {
10198
- let f = ia({
10226
+ let f = aa({
10199
10227
  currentPage: r,
10200
10228
  totalItemCount: u,
10201
10229
  bufferCount: t,
@@ -10249,7 +10277,7 @@ var Tr = {
10249
10277
  size: "m"
10250
10278
  }))
10251
10279
  }))));
10252
- }, oa = ({ className: t, currentPage: n, headingLevel: r = "h2", headingText: i = "Pagination", itemsPerPage: a = 10, labelStrings: o = {
10280
+ }, sa = ({ className: t, currentPage: n, headingLevel: r = "h2", headingText: i = "Pagination", itemsPerPage: a = 10, labelStrings: o = {
10253
10281
  next: "Next",
10254
10282
  previous: "Previous"
10255
10283
  }, nextPage: s, onPageChange: c, previousPage: l, totalItemCount: u, ...d }) => {
@@ -10278,7 +10306,7 @@ var Tr = {
10278
10306
  iconName: "angleRight",
10279
10307
  size: "m"
10280
10308
  }))));
10281
- }, sa = ({ className: t, currentPage: n, headingLevel: r = "h2", headingText: i = "Pagination", itemsPerPage: a = 10, labelStrings: o = {
10309
+ }, ca = ({ className: t, currentPage: n, headingLevel: r = "h2", headingText: i = "Pagination", itemsPerPage: a = 10, labelStrings: o = {
10282
10310
  next: "Go to next page",
10283
10311
  of: "of",
10284
10312
  page: "Page",
@@ -10314,7 +10342,7 @@ var Tr = {
10314
10342
  className: "visually-hidden",
10315
10343
  id: "pagination-compact",
10316
10344
  level: r
10317
- }, i), o.page && /* @__PURE__ */ e.createElement("span", { className: `${b}__count` }, o.page), c === "input" ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(ei, {
10345
+ }, i), o.page && /* @__PURE__ */ e.createElement("span", { className: `${b}__count` }, o.page), c === "input" ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(ti, {
10318
10346
  className: C ? `${b}__page-input--error` : void 0,
10319
10347
  id: m,
10320
10348
  inputProps: {
@@ -10382,7 +10410,7 @@ var Tr = {
10382
10410
  size: "m"
10383
10411
  }))
10384
10412
  })));
10385
- }, ca = ({ children: t, className: n, id: r, isOpen: i = !1, showBorder: a = !0, summary: o, ...s }) => {
10413
+ }, la = ({ children: t, className: n, id: r, isOpen: i = !1, showBorder: a = !0, summary: o, ...s }) => {
10386
10414
  let [c, d] = h(i), f = u(), p = r ?? `expansion-panel-${f}`, g = "pds-expansion-panel", _ = a ? null : `${g}--no-border`, v = m(null);
10387
10415
  return l(() => {
10388
10416
  let e = v.current;
@@ -10406,7 +10434,7 @@ var Tr = {
10406
10434
  className: `${g}__icon ${c ? "rotated" : ""}`,
10407
10435
  iconName: "angleDown"
10408
10436
  })), /* @__PURE__ */ e.createElement("div", { className: `${g}__content` }, t)));
10409
- }, la = ({ children: t, className: n, displayType: r = "standard", ...i }) => {
10437
+ }, ua = ({ children: t, className: n, displayType: r = "standard", ...i }) => {
10410
10438
  let a = "pds-expansion-panel-group", o = r === "standard" ? null : `${a}--${r}`;
10411
10439
  return /* @__PURE__ */ e.createElement("div", {
10412
10440
  className: Z([
@@ -10416,7 +10444,7 @@ var Tr = {
10416
10444
  ]),
10417
10445
  ...i
10418
10446
  }, t);
10419
- }, ua = ({ children: t, className: n, padding: r = "standard", variant: i = "default", ...a }) => {
10447
+ }, da = ({ children: t, className: n, padding: r = "standard", variant: i = "default", ...a }) => {
10420
10448
  let o = "pds-panel", s = i === "default" ? null : `${o}--${i}`, c = `${o}__content`, l = r === "standard" ? null : `${c}--pad-${r}`;
10421
10449
  return /* @__PURE__ */ e.createElement("div", {
10422
10450
  className: Z([
@@ -10426,7 +10454,7 @@ var Tr = {
10426
10454
  ]),
10427
10455
  ...a
10428
10456
  }, /* @__PURE__ */ e.createElement("div", { className: Z([c, l]) }, t));
10429
- }, da = ({ background: t = "default", children: n, className: r, hasBorder: i = !0, paddingSize: a = "m", ...o }) => {
10457
+ }, fa = ({ background: t = "default", children: n, className: r, hasBorder: i = !0, paddingSize: a = "m", ...o }) => {
10430
10458
  let s = "pds-panel-list", c = `pds-panel-list--${a}`, l = t === "default" ? null : `${s}--${t}`, u = i ? null : `${s}--borderless`;
10431
10459
  return /* @__PURE__ */ e.createElement("ul", {
10432
10460
  className: Z([
@@ -10438,7 +10466,7 @@ var Tr = {
10438
10466
  ]),
10439
10467
  ...o
10440
10468
  }, n);
10441
- }, fa = ({ children: t, className: n, expandButtonAriaLabel: r, isExpandable: i = !1, ...a }) => {
10469
+ }, pa = ({ children: t, className: n, expandButtonAriaLabel: r, isExpandable: i = !1, ...a }) => {
10442
10470
  let o = "pds-panel-row", [s, c] = h(!1), l = Xe(t), u = l["items-left"], d = l["items-right"], f = l["items-below"], p = () => {
10443
10471
  c((e) => !e);
10444
10472
  };
@@ -10469,7 +10497,10 @@ var Tr = {
10469
10497
  opacity: "0"
10470
10498
  }
10471
10499
  }, /* @__PURE__ */ e.createElement("div", { className: `${o}__items-inside` }, f)));
10472
- }, pa = /* @__PURE__ */ e.createElement("svg", {
10500
+ }, ma = ({ children: t, className: n, ...r }) => /* @__PURE__ */ e.createElement("div", {
10501
+ className: Z(["pds-panel-stack", n ?? ""]),
10502
+ ...r
10503
+ }, t), ha = /* @__PURE__ */ e.createElement("svg", {
10473
10504
  "aria-label": "Pantheon",
10474
10505
  fill: "none",
10475
10506
  focusable: "false",
@@ -10531,7 +10562,7 @@ var Tr = {
10531
10562
  }), /* @__PURE__ */ e.createElement("path", {
10532
10563
  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",
10533
10564
  fill: "var(--pds-color-foreground-default)"
10534
- })), ma = /* @__PURE__ */ e.createElement("svg", {
10565
+ })), ga = /* @__PURE__ */ e.createElement("svg", {
10535
10566
  "aria-label": "Pantheon",
10536
10567
  fill: "none",
10537
10568
  focusable: "false",
@@ -10566,7 +10597,7 @@ var Tr = {
10566
10597
  }), /* @__PURE__ */ e.createElement("path", {
10567
10598
  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",
10568
10599
  fill: "var(--pds-color-foreground-default)"
10569
- })), ha = /* @__PURE__ */ e.createElement("svg", {
10600
+ })), _a = /* @__PURE__ */ e.createElement("svg", {
10570
10601
  "aria-label": "Pantheon",
10571
10602
  fill: "none",
10572
10603
  focusable: "false",
@@ -10601,17 +10632,17 @@ var Tr = {
10601
10632
  }), /* @__PURE__ */ e.createElement("path", {
10602
10633
  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",
10603
10634
  fill: "var(--pds-color-foreground-default)"
10604
- })), ga = ({ className: t, colorType: n = "default", displayType: r = "full", linkContent: i, size: a = "m", ...s }) => {
10635
+ })), va = ({ className: t, colorType: n = "default", displayType: r = "full", linkContent: i, size: a = "m", ...s }) => {
10605
10636
  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;
10606
10637
  switch (r) {
10607
10638
  case "full":
10608
- f = pa;
10639
+ f = ha;
10609
10640
  break;
10610
10641
  case "icon":
10611
- f = ma;
10642
+ f = ga;
10612
10643
  break;
10613
10644
  case "wordmark":
10614
- f = ha;
10645
+ f = _a;
10615
10646
  break;
10616
10647
  }
10617
10648
  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, {
@@ -10628,14 +10659,14 @@ var Tr = {
10628
10659
  ]),
10629
10660
  ...s
10630
10661
  }, i ? h : f);
10631
- }, _a = 8, va = 14, ya = ({ 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: _ = "circleInfo", triggerIconSize: b = "m", ...E }) => {
10662
+ }, ya = 8, ba = 14, xa = ({ 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: _ = "circleInfo", triggerIconSize: b = "m", ...E }) => {
10632
10663
  let [O, M] = h(d);
10633
10664
  l(() => {
10634
10665
  M(d);
10635
10666
  }, [d]), l(() => {
10636
10667
  f(O);
10637
10668
  }, [O]);
10638
- let N = typeof a, P = "pds-popover", I = Z([`${P}__trigger-custom`, N === "string" ? `${P}__trigger-text` : ""]), z = a ? s : 0, B = m(null), { context: V, floatingStyles: H, middlewareData: U, refs: ee } = j({
10669
+ let N = typeof a, P = "pds-popover", I = Z([`${P}__trigger-custom`, N === "string" ? `${P}__trigger-text` : ""]), z = a ? s : 0, B = m(null), { context: V, floatingStyles: H, middlewareData: U, refs: W } = j({
10639
10670
  placement: u,
10640
10671
  open: O,
10641
10672
  onOpenChange(e) {
@@ -10647,67 +10678,68 @@ var Tr = {
10647
10678
  D({ padding: 8 }),
10648
10679
  S({ element: B })
10649
10680
  ],
10650
- whileElementsMounted: C
10651
- }), W = () => {
10681
+ whileElementsMounted: C,
10682
+ strategy: "fixed"
10683
+ }), G = () => {
10652
10684
  M(!1), c && c();
10653
- }, { getFloatingProps: G, getReferenceProps: te } = F([
10685
+ }, { getFloatingProps: K, getReferenceProps: ee } = F([
10654
10686
  k(V),
10655
10687
  A(V),
10656
10688
  L(V)
10657
- ]), K = U.arrow?.x ?? 0, ne = U.arrow?.y ?? 0, re = K + va / 2, ie = ne + _a, { isMounted: q } = R(V, {
10689
+ ]), q = U.arrow?.x ?? 0, te = U.arrow?.y ?? 0, ne = q + ba / 2, re = te + ya, { isMounted: J } = R(V, {
10658
10690
  initial: { transform: "scale(0)" },
10659
10691
  common: ({ side: e }) => ({ transformOrigin: {
10660
- top: `${re}px calc(100% + ${_a}px)`,
10661
- bottom: `${re}px -8px`,
10662
- left: `calc(100% + ${_a}px) ${ie}px`,
10663
- right: `-8px ${ie}px`
10692
+ top: `${ne}px calc(100% + ${ya}px)`,
10693
+ bottom: `${ne}px -8px`,
10694
+ left: `calc(100% + ${ya}px) ${re}px`,
10695
+ right: `-8px ${re}px`
10664
10696
  }[e] })
10665
10697
  });
10666
10698
  return /* @__PURE__ */ e.createElement("div", {
10667
10699
  className: Z([P, t]),
10668
10700
  ...E
10669
10701
  }, /* @__PURE__ */ e.createElement("span", {
10670
- ref: ee.setReference,
10702
+ ref: W.setReference,
10671
10703
  className: `${P}__trigger`,
10672
10704
  role: "button",
10673
10705
  tabIndex: 0,
10674
- ...te(),
10706
+ ...ee(),
10675
10707
  ...E
10676
10708
  }, a ? /* @__PURE__ */ e.createElement("span", { className: I }, a) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, g), /* @__PURE__ */ e.createElement(Q, {
10677
10709
  className: `${P}__icon`,
10678
10710
  iconName: _,
10679
10711
  size: b
10680
- }))), q && /* @__PURE__ */ e.createElement(x, null, /* @__PURE__ */ e.createElement(y, {
10712
+ }))), J && /* @__PURE__ */ e.createElement(x, null, /* @__PURE__ */ e.createElement(y, {
10681
10713
  context: V,
10682
10714
  initialFocus: -1,
10683
10715
  modal: o
10684
10716
  }, /* @__PURE__ */ e.createElement("div", {
10685
- ref: ee.setFloating,
10717
+ ref: W.setFloating,
10686
10718
  className: Z([`${P}__container`, n]),
10687
10719
  style: H,
10688
- ...G()
10720
+ ...K()
10689
10721
  }, /* @__PURE__ */ e.createElement(v, {
10690
10722
  ref: B,
10691
10723
  className: `${P}__arrow`,
10692
10724
  context: V,
10693
10725
  fill: "var(--pds-color-surface-default)",
10694
- height: _a,
10726
+ height: ya,
10695
10727
  stroke: "var(--pds-color-popover-border)",
10696
10728
  strokeWidth: 1,
10697
10729
  tipRadius: 0,
10698
- width: va
10730
+ width: ba
10699
10731
  }), /* @__PURE__ */ e.createElement("div", { className: `${P}__container-inner` }, p && /* @__PURE__ */ e.createElement("div", { className: `${P}__title` }, p), i && /* @__PURE__ */ e.createElement("div", { className: `${P}__content` }, i), o && /* @__PURE__ */ e.createElement("div", { className: `${P}__close-wrapper` }, /* @__PURE__ */ e.createElement(hn, {
10700
10732
  ariaLabel: r,
10701
- onClick: W,
10733
+ onClick: G,
10702
10734
  size: "s"
10703
10735
  })))))));
10704
- }, ba = {
10736
+ }, Sa = {
10705
10737
  neutral: "--pds-color-status-neutral-indicator",
10706
10738
  info: "--pds-color-status-info-fill",
10707
10739
  success: "--pds-color-status-success-fill",
10708
10740
  warning: "--pds-color-status-warning-fill",
10709
10741
  critical: "--pds-color-status-critical-fill"
10710
- }, xa = ({ className: t, colorBreakpoints: n = [{
10742
+ }, Ca = ({ className: t, colorBreakpoints: n = [{
10711
10743
  colorType: "info",
10712
10744
  percentage: 0
10713
10745
  }, {
@@ -10728,7 +10760,7 @@ var Tr = {
10728
10760
  id: m
10729
10761
  }, i), (x || l) && /* @__PURE__ */ e.createElement("div", { className: `${h}__details` }, x && b, l && /* @__PURE__ */ e.createElement("div", {
10730
10762
  className: `${h}__percentage`,
10731
- style: { color: `hsl(from var(${ba[y]}) h s calc(l - 7))` }
10763
+ style: { color: `hsl(from var(${Sa[y]}) h s calc(l - 7))` }
10732
10764
  }, s, "%")), /* @__PURE__ */ e.createElement("div", { className: `${h}__wrapper` }, /* @__PURE__ */ e.createElement("div", {
10733
10765
  "aria-labelledby": m,
10734
10766
  "aria-valuenow": v,
@@ -10738,16 +10770,16 @@ var Tr = {
10738
10770
  className: `${h}__bar`,
10739
10771
  style: {
10740
10772
  width: `${v}%`,
10741
- backgroundColor: `var(${ba[y]})`
10773
+ backgroundColor: `var(${Sa[y]})`
10742
10774
  }
10743
10775
  }))), S && b);
10744
- }, Sa = {
10776
+ }, wa = {
10745
10777
  neutral: "--pds-color-status-neutral-indicator",
10746
10778
  info: "--pds-color-status-info-fill",
10747
10779
  success: "--pds-color-status-success-fill",
10748
10780
  warning: "--pds-color-status-warning-fill",
10749
10781
  critical: "--pds-color-status-critical-fill"
10750
- }, Ca = ({ className: t, colorBreakpoints: n = [{
10782
+ }, Ta = ({ className: t, colorBreakpoints: n = [{
10751
10783
  colorType: "info",
10752
10784
  percentage: 0
10753
10785
  }, {
@@ -10796,7 +10828,7 @@ var Tr = {
10796
10828
  strokeDasharray: x,
10797
10829
  strokeDashoffset: S,
10798
10830
  strokeWidth: y,
10799
- style: { stroke: `var(${Sa[C]})` },
10831
+ style: { stroke: `var(${wa[C]})` },
10800
10832
  transform: `rotate(-90 ${v / 2} ${v / 2})`
10801
10833
  }), /* @__PURE__ */ e.createElement("text", {
10802
10834
  alignmentBaseline: "middle",
@@ -10806,22 +10838,22 @@ var Tr = {
10806
10838
  x: "50%",
10807
10839
  y: "51%"
10808
10840
  }, w))));
10809
- }, wa = {
10841
+ }, Ea = {
10810
10842
  of: "of",
10811
10843
  showing: "Showing",
10812
10844
  unitPlural: "results",
10813
10845
  unitSingular: "result"
10814
- }, Ta = (e, t, n, r) => new Intl.PluralRules(r).select(e) === "one" ? t : n, Ea = ({ className: t, countMatching: n, countTotal: r, labelStrings: i, locale: a, ...o }) => {
10846
+ }, Da = (e, t, n, r) => new Intl.PluralRules(r).select(e) === "one" ? t : n, Oa = ({ className: t, countMatching: n, countTotal: r, labelStrings: i, locale: a, ...o }) => {
10815
10847
  let s = "pds-result-count", c = `${s}__number`, { of: l, showing: u, unitPlural: d, unitSingular: f } = {
10816
- ...wa,
10848
+ ...Ea,
10817
10849
  ...i
10818
- }, p = n !== void 0, m = Ta(r, f, d, a);
10850
+ }, p = n !== void 0, m = Da(r, f, d, a);
10819
10851
  return /* @__PURE__ */ e.createElement("div", {
10820
10852
  "aria-live": "polite",
10821
10853
  className: Z([s, t ?? ""]),
10822
10854
  ...o
10823
10855
  }, /* @__PURE__ */ e.createElement("span", null, p && /* @__PURE__ */ e.createElement(e.Fragment, null, u && `${u} `, /* @__PURE__ */ e.createElement("span", { className: c }, n), ` ${l} `), /* @__PURE__ */ e.createElement("span", { className: c }, r), ` ${m}`));
10824
- }, Da = ({ as: t = "div", children: n, className: r, containerWidth: i = "full", hasTopBorder: a, legalLinks: o = [
10856
+ }, ka = ({ as: t = "div", children: n, className: r, containerWidth: i = "full", hasTopBorder: a, legalLinks: o = [
10825
10857
  "privacy",
10826
10858
  "dataSubjectRequest",
10827
10859
  "cookiePolicy",
@@ -10839,7 +10871,7 @@ var Tr = {
10839
10871
  ]),
10840
10872
  ...c
10841
10873
  }, /* @__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"))));
10842
- }, Oa = ({ className: t, option: n, ...r }) => {
10874
+ }, Aa = ({ className: t, option: n, ...r }) => {
10843
10875
  let i = "pds-site-option-display", a = n.type ? Ln[n.type] : "boltSolid", o = m(null), [s] = De(o), c = s.width / 16 - 7.5, l, u;
10844
10876
  n.status === "active" && (l = "Active", u = "success"), n.status === "frozen" && (l = "Frozen", u = "frozen"), n.status === "restricted" && (l = "Restricted", u = "critical");
10845
10877
  let d = /* @__PURE__ */ e.createElement(rn, {
@@ -10862,7 +10894,7 @@ var Tr = {
10862
10894
  className: `${i}__status`,
10863
10895
  style: { pointerEvents: "none" }
10864
10896
  }, d));
10865
- }, ka = ({ className: t, disabled: n = !1, id: r, isLoading: i = !1, label: a = "Search sites", labelStrings: o = {
10897
+ }, ja = ({ className: t, disabled: n = !1, id: r, isLoading: i = !1, label: a = "Search sites", labelStrings: o = {
10866
10898
  clearButton: "Clear input text",
10867
10899
  inputInstructions: "Type to search options"
10868
10900
  }, loadingText: s = "Loading results...", noResultsText: c = "No results found", onFocus: l, onOptionSelect: u, placeholder: d = "Search sites", siteList: f, ...p }) => {
@@ -10874,7 +10906,7 @@ var Tr = {
10874
10906
  id: n,
10875
10907
  label: i,
10876
10908
  value: r ?? i,
10877
- optionDisplay: /* @__PURE__ */ e.createElement(Oa, { option: t }),
10909
+ optionDisplay: /* @__PURE__ */ e.createElement(Aa, { option: t }),
10878
10910
  siteData: t
10879
10911
  };
10880
10912
  });
@@ -10882,7 +10914,7 @@ var Tr = {
10882
10914
  className: Z([_, t ?? ""]),
10883
10915
  id: r,
10884
10916
  ...p
10885
- }, /* @__PURE__ */ e.createElement("div", { className: `${_}__inner` }, /* @__PURE__ */ e.createElement(zr, {
10917
+ }, /* @__PURE__ */ e.createElement("div", { className: `${_}__inner` }, /* @__PURE__ */ e.createElement(Br, {
10886
10918
  hasClearButton: !0,
10887
10919
  hasSearchShortcut: !0,
10888
10920
  className: `${_}__combobox`,
@@ -10903,7 +10935,7 @@ var Tr = {
10903
10935
  };
10904
10936
  //#endregion
10905
10937
  //#region src/components/SortableList/sortable-utils.ts
10906
- function Aa(e, t, n = null, r = 0, i = []) {
10938
+ function Ma(e, t, n = null, r = 0, i = []) {
10907
10939
  return e.reduce((e, a, o) => {
10908
10940
  let s = !!a.children?.length, c = t.has(a.id);
10909
10941
  return e.push({
@@ -10915,10 +10947,10 @@ function Aa(e, t, n = null, r = 0, i = []) {
10915
10947
  index: o,
10916
10948
  isExpanded: c,
10917
10949
  parentId: n
10918
- }), s && c && a.children && e.push(...Aa(a.children, t, a.id, r + 1, [...i, a.id])), e;
10950
+ }), s && c && a.children && e.push(...Ma(a.children, t, a.id, r + 1, [...i, a.id])), e;
10919
10951
  }, []);
10920
10952
  }
10921
- function ja(e) {
10953
+ function Na(e) {
10922
10954
  let t = /* @__PURE__ */ new Map(), n = new Set(e.map((e) => e.id)), r = [];
10923
10955
  for (let i of e) {
10924
10956
  let e = i.data.children ?? [], a = e.length > 0 && !e.some((e) => n.has(e.id)), o = {
@@ -10931,28 +10963,28 @@ function ja(e) {
10931
10963
  e && (e.children || (e.children = []), e.children.push(o));
10932
10964
  }
10933
10965
  }
10934
- return Ma(r);
10966
+ return Pa(r);
10935
10967
  }
10936
- function Ma(e) {
10968
+ function Pa(e) {
10937
10969
  return e.map((e) => {
10938
10970
  if (e.children?.length) return {
10939
10971
  ...e,
10940
- children: Ma(e.children)
10972
+ children: Pa(e.children)
10941
10973
  };
10942
10974
  let { children: t, ...n } = e;
10943
10975
  return n;
10944
10976
  });
10945
10977
  }
10946
- function Na(e, t) {
10978
+ function Fa(e, t) {
10947
10979
  for (let n of e) {
10948
10980
  if (n.id === t) return n;
10949
10981
  if (n.children) {
10950
- let e = Na(n.children, t);
10982
+ let e = Fa(n.children, t);
10951
10983
  if (e) return e;
10952
10984
  }
10953
10985
  }
10954
10986
  }
10955
- function Pa(e, t, n, r, i, a, o) {
10987
+ function Ia(e, t, n, r, i, a, o) {
10956
10988
  let s = e.findIndex((e) => e.id === n);
10957
10989
  if (s === -1) return 0;
10958
10990
  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;
@@ -10960,7 +10992,7 @@ function Pa(e, t, n, r, i, a, o) {
10960
10992
  }
10961
10993
  //#endregion
10962
10994
  //#region src/components/SortableList/SortableListHeader.tsx
10963
- var Fa = ({ children: t, className: n, columns: r, ...i }) => {
10995
+ var La = ({ children: t, className: n, columns: r, ...i }) => {
10964
10996
  if (!r && !t) return null;
10965
10997
  let a = r ? {
10966
10998
  display: "grid",
@@ -10981,13 +11013,13 @@ var Fa = ({ children: t, className: n, columns: r, ...i }) => {
10981
11013
  };
10982
11014
  //#endregion
10983
11015
  //#region src/components/SortableList/useSortableTree.ts
10984
- function Ia({ defaultItems: e, isDragEnabled: t = !1, items: n, onReorder: r }) {
11016
+ function Ra({ defaultItems: e, isDragEnabled: t = !1, items: n, onReorder: r }) {
10985
11017
  let i = n !== void 0, [a, o] = h(() => n ?? e ?? []), [c, l] = h(/* @__PURE__ */ new Set()), u = m(null), d = m(t);
10986
11018
  t && !d.current && (u.current = {
10987
11019
  items: i ? n : a,
10988
11020
  expandedIds: c
10989
- }), t || (u.current = null), d.current = t, process.env.NODE_ENV !== "production" && n !== void 0 && e !== void 0 && Ra("SortableList received both `items` and `defaultItems`. `items` will be used and `defaultItems` will be ignored.");
10990
- let f = i ? n : a, g = p(() => Aa(f, c), [f, c]), _ = p(() => g.map((e) => e.id), [g]), v = s((e) => {
11021
+ }), t || (u.current = null), d.current = t, process.env.NODE_ENV !== "production" && n !== void 0 && e !== void 0 && Ba("SortableList received both `items` and `defaultItems`. `items` will be used and `defaultItems` will be ignored.");
11022
+ let f = i ? n : a, g = p(() => Ma(f, c), [f, c]), _ = p(() => g.map((e) => e.id), [g]), v = s((e) => {
10991
11023
  l((t) => {
10992
11024
  let n = new Set(t);
10993
11025
  return n.has(e) ? n.delete(e) : n.add(e), n;
@@ -11005,7 +11037,7 @@ function Ia({ defaultItems: e, isDragEnabled: t = !1, items: n, onReorder: r })
11005
11037
  }, []),
11006
11038
  flatNodes: g,
11007
11039
  handleReorder: s((e) => {
11008
- let t = ja(e);
11040
+ let t = Na(e);
11009
11041
  i || o(t), r?.(t);
11010
11042
  }, [i, r]),
11011
11043
  resetToSnapshot: s(() => {
@@ -11017,149 +11049,149 @@ function Ia({ defaultItems: e, isDragEnabled: t = !1, items: n, onReorder: r })
11017
11049
  toggleExpand: v
11018
11050
  };
11019
11051
  }
11020
- var La = /* @__PURE__ */ new Set();
11021
- function Ra(e) {
11022
- La.has(e) || (La.add(e), console.warn(e));
11052
+ var za = /* @__PURE__ */ new Set();
11053
+ function Ba(e) {
11054
+ za.has(e) || (za.add(e), console.warn(e));
11023
11055
  }
11024
11056
  //#endregion
11025
11057
  //#region src/components/SortableList/SortableList.tsx
11026
- var za = 24, Ba = { droppable: { strategy: je.Always } }, Va = 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) {
11027
- 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), ee = s((e, t) => {
11058
+ var Va = 24, Ha = { droppable: { strategy: je.Always } }, Ua = 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) {
11059
+ 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) => {
11028
11060
  if (_ > 0 && (e.key === "ArrowLeft" || e.key === "ArrowRight")) {
11029
11061
  e.preventDefault();
11030
11062
  let n = e.key === "ArrowRight" ? 1 : -1, r = B.current, i = Math.max(-_, Math.min(_, r + n)), a = i - r;
11031
11063
  return B.current = i, z(i), {
11032
- x: t.currentCoordinates.x + a * za,
11064
+ x: t.currentCoordinates.x + a * Va,
11033
11065
  y: t.currentCoordinates.y
11034
11066
  };
11035
11067
  }
11036
11068
  return Le(e, t);
11037
- }, [_]), W = b === "always" || b === "toggle" && (l ?? !1), { currentItems: G, expandItem: te, flatNodes: K, handleReorder: ne, resetToSnapshot: re, sortableIds: ie, toggleExpand: q } = Ia({
11069
+ }, [_]), G = b === "always" || b === "toggle" && (l ?? !1), { currentItems: K, expandItem: ee, flatNodes: q, handleReorder: te, resetToSnapshot: ne, sortableIds: re, toggleExpand: J } = Ra({
11038
11070
  defaultItems: a,
11039
- isDragEnabled: W,
11071
+ isDragEnabled: G,
11040
11072
  items: g,
11041
11073
  onReorder: v
11042
11074
  });
11043
- d(C, () => ({ resetToSnapshot: re }), [re]);
11044
- let ae = Fe(Pe(Me, { activationConstraint: { distance: 5 } }), Pe(Ae, { coordinateGetter: ee })), oe = W ? `${w}--reorder-active` : null, J = p(() => new Set(K.filter((e) => u(e.data)).map((e) => e.id)), [K, u]), Y = p(() => new Set(K.filter((e) => f(e.data)).map((e) => e.id)), [K, f]), X = s((e) => {
11045
- if (_ === 0 || Y.has(String(e))) return !1;
11046
- let t = K.find((t) => t.id === e);
11075
+ d(C, () => ({ resetToSnapshot: ne }), [ne]);
11076
+ let ie = Fe(Pe(Me, { activationConstraint: { distance: 5 } }), Pe(Ae, { coordinateGetter: W })), ae = G ? `${w}--reorder-active` : null, Y = p(() => new Set(q.filter((e) => u(e.data)).map((e) => e.id)), [q, u]), oe = p(() => new Set(q.filter((e) => f(e.data)).map((e) => e.id)), [q, f]), X = s((e) => {
11077
+ if (_ === 0 || oe.has(String(e))) return !1;
11078
+ let t = q.find((t) => t.id === e);
11047
11079
  return !t || t.depth >= _ ? !1 : t.hasChildren ? !t.isExpanded : !0;
11048
11080
  }, [
11049
- K,
11081
+ q,
11050
11082
  _,
11051
- Y
11083
+ oe
11052
11084
  ]), se = s((e) => j && X(j) ? null : ze(e), [X, j]), ce = p(() => {
11053
- if (!T || !j || J.size === 0 || T === j || X(j)) return /* @__PURE__ */ new Set();
11054
- let e = K.findIndex((e) => e.id === T), t = K.findIndex((e) => e.id === j);
11085
+ if (!T || !j || Y.size === 0 || T === j || X(j)) return /* @__PURE__ */ new Set();
11086
+ let e = q.findIndex((e) => e.id === T), t = q.findIndex((e) => e.id === j);
11055
11087
  if (e === -1 || t === -1) return /* @__PURE__ */ new Set();
11056
11088
  let [n, r] = e < t ? [e + 1, t - 1] : [t + 1, e - 1];
11057
- return new Set(K.slice(n, r + 1).filter((e) => J.has(e.id)).map((e) => e.id));
11089
+ return new Set(q.slice(n, r + 1).filter((e) => Y.has(e.id)).map((e) => e.id));
11058
11090
  }, [
11059
11091
  T,
11060
- K,
11092
+ q,
11061
11093
  X,
11062
- J,
11094
+ Y,
11063
11095
  j
11064
- ]).size > 0, le = p(() => T ? K.find((e) => e.id === T) ?? null : null, [T, K]), ue = p(() => T ? Na(G, String(T)) ?? null : null, [T, G]), de = p(() => {
11096
+ ]).size > 0, le = p(() => T ? q.find((e) => e.id === T) ?? null : null, [T, q]), ue = p(() => T ? Fa(K, String(T)) ?? null : null, [T, K]), de = p(() => {
11065
11097
  let e = le?.depth ?? 0;
11066
- return !T || !j || O || _ === 0 ? e : Pa(K, String(T), String(j), V * za, za, _);
11098
+ return !T || !j || O || _ === 0 ? e : Ia(q, String(T), String(j), V * Va, Va, _);
11067
11099
  }, [
11068
11100
  T,
11069
11101
  le,
11070
11102
  V,
11071
- K,
11103
+ q,
11072
11104
  O,
11073
11105
  _,
11074
11106
  j
11075
11107
  ]), fe = p(() => {
11076
11108
  if (!T || O || de === 0 || j && X(j)) return null;
11077
- let e = K.findIndex((e) => e.id === T);
11078
- return e === -1 ? null : Ha(K, e, de);
11109
+ let e = q.findIndex((e) => e.id === T);
11110
+ return e === -1 ? null : Wa(q, e, de);
11079
11111
  }, [
11080
11112
  T,
11081
- K,
11113
+ q,
11082
11114
  X,
11083
11115
  O,
11084
11116
  j,
11085
11117
  de
11086
11118
  ]), pe = s((e) => {
11087
- let { active: t } = e, n = F.current === "keyboard", r = K.find((e) => e.id === t.id);
11088
- E(t.id), D.current = t.id, k(n), A.current = n, I.current = r?.depth ?? 0, M(null), N.current = 0, P.current = 0, U.current = 0, H(0), B.current = 0, z(0), r?.hasChildren && r?.isExpanded && (q(String(t.id)), L.current = String(t.id));
11089
- }, [K, q]), me = s((e) => {
11119
+ let { active: t } = e, n = F.current === "keyboard", r = q.find((e) => e.id === t.id);
11120
+ E(t.id), D.current = t.id, k(n), A.current = n, I.current = r?.depth ?? 0, M(null), N.current = 0, P.current = 0, U.current = 0, H(0), B.current = 0, z(0), r?.hasChildren && r?.isExpanded && (J(String(t.id)), L.current = String(t.id));
11121
+ }, [q, J]), me = s((e) => {
11090
11122
  let t = Ne(e);
11091
- if (!t.length || !D.current || J.size === 0) return t;
11092
- let n = K.findIndex((e) => e.id === D.current);
11123
+ if (!t.length || !D.current || Y.size === 0) return t;
11124
+ let n = q.findIndex((e) => e.id === D.current);
11093
11125
  for (let e of t) {
11094
11126
  let t = e.id;
11095
11127
  if (t === D.current) return [e];
11096
- let r = K.findIndex((e) => e.id === t);
11128
+ let r = q.findIndex((e) => e.id === t);
11097
11129
  if (n === -1 || r === -1) return [e];
11098
- if (J.has(String(t))) {
11130
+ if (Y.has(String(t))) {
11099
11131
  if (n > r) continue;
11100
- let e = !Y.has(String(t)), i = _ > 0 && U.current > 0;
11132
+ let e = !oe.has(String(t)), i = _ > 0 && U.current > 0;
11101
11133
  if (!X(t) && (!e || !i)) continue;
11102
11134
  }
11103
11135
  let [i, a] = n < r ? [n + 1, r - 1] : [r + 1, n - 1];
11104
- if (!K.slice(i, a + 1).some((e) => J.has(e.id))) return [e];
11136
+ if (!q.slice(i, a + 1).some((e) => Y.has(e.id))) return [e];
11105
11137
  }
11106
11138
  return [];
11107
11139
  }, [
11108
- K,
11109
- J,
11110
- Y
11140
+ q,
11141
+ Y,
11142
+ oe
11111
11143
  ]), he = s((e) => {
11112
11144
  let t = e.over?.id ?? null, n = D.current;
11113
- if (t && n && t !== n && J.size > 0) {
11114
- let e = K.findIndex((e) => e.id === n), r = K.findIndex((e) => e.id === t);
11145
+ if (t && n && t !== n && Y.size > 0) {
11146
+ let e = q.findIndex((e) => e.id === n), r = q.findIndex((e) => e.id === t);
11115
11147
  if (e !== -1 && r !== -1) {
11116
11148
  let [t, n] = e < r ? [e + 1, r] : [r, e - 1];
11117
- if (K.slice(t, n + 1).some((e) => J.has(e.id))) return;
11149
+ if (q.slice(t, n + 1).some((e) => Y.has(e.id))) return;
11118
11150
  }
11119
11151
  }
11120
11152
  M(t);
11121
- }, [K, J]), ge = s((e) => {
11153
+ }, [q, Y]), ge = s((e) => {
11122
11154
  let t = e.delta.x;
11123
11155
  if (P.current = t, A.current || _ === 0) return;
11124
- let n = Math.floor(t / za), r = U.current;
11125
- (n > r || n < r && t < r * za - za * .4) && (U.current = n, H(n));
11156
+ let n = Math.floor(t / Va), r = U.current;
11157
+ (n > r || n < r && t < r * Va - Va * .4) && (U.current = n, H(n));
11126
11158
  }, [_]), _e = s((e) => {
11127
11159
  let { active: t, over: n } = e, r = A.current, i = B.current, a = U.current;
11128
- E(null), D.current = null, k(!1), A.current = !1, M(null), U.current = 0, H(0), L.current && (te(L.current), L.current = null);
11129
- let o = K.findIndex((e) => e.id === t.id), s = r ? i * za : a * za, c = !n || t.id === n.id, l = n?.id ?? null;
11130
- if (r && i > 0 && c && o > 0 && (l = K[o - 1].id), !l || t.id === l) {
11160
+ E(null), D.current = null, k(!1), A.current = !1, M(null), U.current = 0, H(0), L.current && (ee(L.current), L.current = null);
11161
+ let o = q.findIndex((e) => e.id === t.id), s = r ? i * Va : a * Va, c = !n || t.id === n.id, l = n?.id ?? null;
11162
+ if (r && i > 0 && c && o > 0 && (l = q[o - 1].id), !l || t.id === l) {
11131
11163
  if (o === -1) return;
11132
- let e = K[o];
11164
+ let e = q[o];
11133
11165
  if (!e) return;
11134
- let n = Pa(K, String(t.id), String(t.id), s, za, _);
11166
+ let n = Ia(q, String(t.id), String(t.id), s, Va, _);
11135
11167
  if (n === e.depth) return;
11136
- let r = [...K], [i] = r.splice(o, 1), a = Ha(r, o, n);
11137
- if (a && Y.has(a)) return;
11168
+ let r = [...q], [i] = r.splice(o, 1), a = Wa(r, o, n);
11169
+ if (a && oe.has(a)) return;
11138
11170
  let c = {
11139
11171
  ...i,
11140
11172
  depth: n,
11141
11173
  parentId: a
11142
11174
  };
11143
11175
  r.splice(o, 0, c);
11144
- let l = K.filter((e) => e.id !== t.id).map((e) => e.id), u = r.filter((e) => e.id !== t.id).map((e) => e.id);
11145
- if (l.some((e, t) => J.has(e) ? u.indexOf(e) !== t : !1)) return;
11146
- ne(r), n > 0 && a && te(a);
11176
+ let l = q.filter((e) => e.id !== t.id).map((e) => e.id), u = r.filter((e) => e.id !== t.id).map((e) => e.id);
11177
+ if (l.some((e, t) => Y.has(e) ? u.indexOf(e) !== t : !1)) return;
11178
+ te(r), n > 0 && a && ee(a);
11147
11179
  return;
11148
11180
  }
11149
- let u = K.findIndex((e) => e.id === l);
11181
+ let u = q.findIndex((e) => e.id === l);
11150
11182
  if (o === -1 || u === -1) return;
11151
- let d = [...K], f = d[o].depth, [p] = d.splice(o, 1), m = [];
11183
+ let d = [...q], f = d[o].depth, [p] = d.splice(o, 1), m = [];
11152
11184
  for (; d.length > o && d[o].depth > f;) m.push(d.splice(o, 1)[0]);
11153
11185
  let h = d.findIndex((e) => e.id === l), g, v;
11154
11186
  if (X(l)) {
11155
- let e = K[u];
11187
+ let e = q[u];
11156
11188
  g = Math.min(e.depth + 1, _), v = String(l);
11157
11189
  } else {
11158
- g = Pa(d, String(t.id), String(l), s, za, _, p.depth);
11190
+ g = Ia(d, String(t.id), String(l), s, Va, _, p.depth);
11159
11191
  let e = d[h];
11160
- v = e && e.depth === g - 1 ? String(l) : Ha(d, h, g);
11192
+ v = e && e.depth === g - 1 ? String(l) : Wa(d, h, g);
11161
11193
  }
11162
- if (v && Y.has(v)) return;
11194
+ if (v && oe.has(v)) return;
11163
11195
  let y = {
11164
11196
  ...p,
11165
11197
  depth: g,
@@ -11167,65 +11199,65 @@ var za = 24, Ba = { droppable: { strategy: je.Always } }, Va = a(function({ chil
11167
11199
  }, b = d[h], x = b && b.depth === g - 1 && v === String(l) || o < u ? h + 1 : h;
11168
11200
  d.splice(x, 0, y, ...m);
11169
11201
  let S = new Set([String(t.id), ...m.map((e) => e.id)]);
11170
- K.some((e, t) => !J.has(e.id) || S.has(e.id) || e.id === v ? !1 : d.findIndex((t) => t.id === e.id) !== t) || (ne(d), g > 0 && v !== null && te(v));
11202
+ q.some((e, t) => !Y.has(e.id) || S.has(e.id) || e.id === v ? !1 : d.findIndex((t) => t.id === e.id) !== t) || (te(d), g > 0 && v !== null && ee(v));
11171
11203
  }, [
11204
+ ee,
11205
+ q,
11172
11206
  te,
11173
- K,
11174
- ne,
11175
11207
  X,
11176
- J,
11208
+ Y,
11177
11209
  _,
11178
- Y
11210
+ oe
11179
11211
  ]), ve = s(() => {
11180
- 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 && (te(L.current), L.current = null);
11181
- }, [te]), ye = p(() => ({
11212
+ 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 && (ee(L.current), L.current = null);
11213
+ }, [ee]), ye = p(() => ({
11182
11214
  onDragStart({ active: e }) {
11183
- let t = K.find((t) => t.id === e.id), n = Na(G, String(e.id));
11184
- return `Picked up ${n ? c(n) : String(e.id)}. Current position: ${t ? K.indexOf(t) + 1 : "?"} of ${K.length} at depth ${t?.depth ?? 0}.`;
11215
+ let t = q.find((t) => t.id === e.id), n = Fa(K, String(e.id));
11216
+ return `Picked up ${n ? c(n) : String(e.id)}. Current position: ${t ? q.indexOf(t) + 1 : "?"} of ${q.length} at depth ${t?.depth ?? 0}.`;
11185
11217
  },
11186
11218
  onDragOver({ active: e, over: t }) {
11187
11219
  if (!t) return;
11188
- let n = K.findIndex((e) => e.id === t.id);
11220
+ let n = q.findIndex((e) => e.id === t.id);
11189
11221
  if (n === -1) return;
11190
- let r = Na(G, String(e.id)), i = r ? c(r) : String(e.id), a = Pa(K, String(e.id), String(t.id), P.current, za, _);
11191
- return `Moving ${i}. Target position: ${n + 1} of ${K.length} at depth ${a}.`;
11222
+ let r = Fa(K, String(e.id)), i = r ? c(r) : String(e.id), a = Ia(q, String(e.id), String(t.id), P.current, Va, _);
11223
+ return `Moving ${i}. Target position: ${n + 1} of ${q.length} at depth ${a}.`;
11192
11224
  },
11193
11225
  onDragEnd({ active: e, over: t }) {
11194
- let n = Na(G, String(e.id)), r = n ? c(n) : String(e.id);
11226
+ let n = Fa(K, String(e.id)), r = n ? c(n) : String(e.id);
11195
11227
  if (!t || e.id === t.id) return `${r} dropped. No change in position.`;
11196
- let i = K.findIndex((e) => e.id === t.id), a = Pa(K, String(e.id), String(t.id), P.current, za, _);
11197
- return `${r} dropped at position ${i + 1} of ${K.length} at depth ${a}.`;
11228
+ let i = q.findIndex((e) => e.id === t.id), a = Ia(q, String(e.id), String(t.id), P.current, Va, _);
11229
+ return `${r} dropped at position ${i + 1} of ${q.length} at depth ${a}.`;
11198
11230
  },
11199
11231
  onDragCancel({ active: e }) {
11200
- let t = K.find((t) => t.id === e.id), n = Na(G, String(e.id));
11201
- return `Sorting cancelled. ${n ? c(n) : String(e.id)} returned to position ${t ? K.indexOf(t) + 1 : "?"} of ${K.length}.`;
11232
+ let t = q.find((t) => t.id === e.id), n = Fa(K, String(e.id));
11233
+ return `Sorting cancelled. ${n ? c(n) : String(e.id)} returned to position ${t ? q.indexOf(t) + 1 : "?"} of ${q.length}.`;
11202
11234
  }
11203
11235
  }), [
11204
- G,
11205
11236
  K,
11237
+ q,
11206
11238
  c,
11207
11239
  _
11208
- ]), be = { columns: i }, xe = t.map(n, (t) => o(t) && t.type === Fa ? e.cloneElement(t, be) : t);
11240
+ ]), be = { columns: i }, xe = t.map(n, (t) => o(t) && t.type === La ? e.cloneElement(t, be) : t);
11209
11241
  return /* @__PURE__ */ e.createElement(Oe, {
11210
11242
  accessibility: {
11211
11243
  announcements: ye,
11212
11244
  ...x ? { screenReaderInstructions: { draggable: x } } : {}
11213
11245
  },
11214
11246
  collisionDetection: me,
11215
- measuring: Ba,
11247
+ measuring: Ha,
11216
11248
  onDragCancel: ve,
11217
11249
  onDragEnd: _e,
11218
11250
  onDragMove: ge,
11219
11251
  onDragOver: he,
11220
11252
  onDragStart: pe,
11221
- sensors: ae
11253
+ sensors: ie
11222
11254
  }, /* @__PURE__ */ e.createElement(Ie, {
11223
- items: ie,
11255
+ items: re,
11224
11256
  strategy: se
11225
11257
  }, /* @__PURE__ */ e.createElement("div", {
11226
11258
  className: Z([
11227
11259
  w,
11228
- oe,
11260
+ ae,
11229
11261
  r ?? ""
11230
11262
  ]),
11231
11263
  onKeyDownCapture: () => {
@@ -11236,26 +11268,26 @@ var za = 24, Ba = { droppable: { strategy: je.Always } }, Va = a(function({ chil
11236
11268
  },
11237
11269
  role: "list",
11238
11270
  ...S
11239
- }, xe, K.map((t) => {
11271
+ }, xe, q.map((t) => {
11240
11272
  let n = {
11241
11273
  depth: t.depth,
11242
11274
  hasChildren: t.hasChildren,
11243
11275
  index: t.index,
11244
11276
  isDragging: t.id === T,
11245
11277
  isExpanded: t.isExpanded,
11246
- isLocked: J.has(t.id),
11247
- toggleExpand: () => q(t.id)
11278
+ isLocked: Y.has(t.id),
11279
+ toggleExpand: () => J(t.id)
11248
11280
  }, r = y(t.data, n), a = t.id === T, s = {
11249
11281
  columns: i,
11250
11282
  depth: t.depth,
11251
11283
  hasChildren: t.hasChildren,
11252
- isDragActive: W,
11284
+ isDragActive: G,
11253
11285
  isDragging: a,
11254
11286
  isDropTarget: t.id === j && X(t.id),
11255
- isProjectedParent: t.id === fe && !Y.has(t.id),
11287
+ isProjectedParent: t.id === fe && !oe.has(t.id),
11256
11288
  isExpanded: t.isExpanded,
11257
- ...J.has(t.id) ? { isLocked: !0 } : {},
11258
- onToggleExpand: () => q(t.id),
11289
+ ...Y.has(t.id) ? { isLocked: !0 } : {},
11290
+ onToggleExpand: () => J(t.id),
11259
11291
  ...a && !O && _ > 0 ? { projectedDepthDelta: de - t.depth } : {}
11260
11292
  };
11261
11293
  return o(r) ? e.cloneElement(r, {
@@ -11287,14 +11319,14 @@ var za = 24, Ba = { droppable: { strategy: je.Always } }, Va = a(function({ chil
11287
11319
  return o(a) ? e.cloneElement(a, s) : a;
11288
11320
  })()) : null));
11289
11321
  });
11290
- function Ha(e, t, n) {
11322
+ function Wa(e, t, n) {
11291
11323
  if (n === 0) return null;
11292
11324
  for (let r = t - 1; r >= 0; r--) if (e[r].depth === n - 1) return e[r].id;
11293
11325
  return null;
11294
11326
  }
11295
11327
  //#endregion
11296
11328
  //#region src/components/SortableList/SortableRow.tsx
11297
- var Ua = ({ 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 }) => {
11329
+ 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 }) => {
11298
11330
  let { attributes: g, isDragging: _, listeners: v, setNodeRef: y, transform: b, transition: x } = Re({
11299
11331
  attributes: {
11300
11332
  role: "listitem",
@@ -11349,11 +11381,11 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11349
11381
  key: t.id,
11350
11382
  className: `${w}__cell`
11351
11383
  }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, t.label, ": "), j[t.id] ?? null)) : t));
11352
- }, Wa = [
11384
+ }, Ka = [
11353
11385
  "default",
11354
11386
  "working",
11355
11387
  "checked"
11356
- ], Ga = ({ alignment: t = "left", className: n, componentWidth: r, labelStrings: i = {}, lastChecked: a, onCheck: o, state: s = "default", ...c }) => {
11388
+ ], qa = ({ alignment: t = "left", className: n, componentWidth: r, labelStrings: i = {}, lastChecked: a, onCheck: o, state: s = "default", ...c }) => {
11357
11389
  let l = {
11358
11390
  checkForUpdates: "Check for updates",
11359
11391
  checking: "Checking...",
@@ -11400,7 +11432,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11400
11432
  triggerIconColor: "default",
11401
11433
  triggerIconSize: "s"
11402
11434
  }), t === "left" && g));
11403
- }, Ka = ({ className: t, label: n = null, linkContent: r, type: i = "neutral", ...a }) => {
11435
+ }, Ja = ({ className: t, label: n = null, linkContent: r, type: i = "neutral", ...a }) => {
11404
11436
  let s = "pds-status-indicator", c = `${s}--${i}`, l = /* @__PURE__ */ e.createElement(e.Fragment, null, i === "working" ? /* @__PURE__ */ e.createElement(nn, {
11405
11437
  className: `${s}__spinner`,
11406
11438
  size: "m"
@@ -11417,7 +11449,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11417
11449
  ]),
11418
11450
  ...a
11419
11451
  }, r ? d : l);
11420
- }, qa = ({ className: t, contentAlignment: n = "indented", layoutDirection: r = "vertical", steps: i, ...a }) => {
11452
+ }, Ya = ({ className: t, contentAlignment: n = "indented", layoutDirection: r = "vertical", steps: i, ...a }) => {
11421
11453
  let o = "pds-step-list", s = `${o}--${n}`, c = r === "horizontal" ? `${o}--horizontal` : "", l = i.map(({ content: t, header: r }, i) => {
11422
11454
  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`;
11423
11455
  return /* @__PURE__ */ e.createElement("li", {
@@ -11435,7 +11467,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11435
11467
  style: r === "horizontal" ? { "--step-list-columns": i.length } : void 0,
11436
11468
  ...a
11437
11469
  }, l);
11438
- }, Ja = ({ className: t, steps: n, translatableLabels: r = {
11470
+ }, Xa = ({ className: t, steps: n, translatableLabels: r = {
11439
11471
  step: "Step",
11440
11472
  completed: "completed",
11441
11473
  hasError: "has an error",
@@ -11499,7 +11531,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11499
11531
  key: t.id,
11500
11532
  className: `${o}__step`,
11501
11533
  id: `${t.id}--mobile`
11502
- }, /* @__PURE__ */ e.createElement("div", { className: `${o}__progress-indicator` }, /* @__PURE__ */ e.createElement(Ca, {
11534
+ }, /* @__PURE__ */ e.createElement("div", { className: `${o}__progress-indicator` }, /* @__PURE__ */ e.createElement(Ta, {
11503
11535
  innerLabel: n,
11504
11536
  label: "Step progress",
11505
11537
  percentage: i,
@@ -11524,7 +11556,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11524
11556
  "data-steps": d,
11525
11557
  ...i
11526
11558
  }, /* @__PURE__ */ e.createElement("div", { className: `${o}__steps` }, h)));
11527
- }, Ya = ({ _isFirstStep: t, backButton: n, forwardButton: r, hasError: i, id: a, isComplete: o, isCurrent: s, label: c, stepContent: l, ...u }) => {
11559
+ }, Za = ({ _isFirstStep: t, backButton: n, forwardButton: r, hasError: i, id: a, isComplete: o, isCurrent: s, label: c, stepContent: l, ...u }) => {
11528
11560
  let d = "pds-vert-stepper", f = `${d}__step`, p = [f];
11529
11561
  return s && p.push(`${f}--current`), o && p.push(`${f}--complete`), i && p.push(`${f}--error`), /* @__PURE__ */ e.createElement("li", {
11530
11562
  className: Z([...p]),
@@ -11550,14 +11582,14 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11550
11582
  size: "s",
11551
11583
  variant: "highlight"
11552
11584
  })))));
11553
- }, Xa = ({ className: t, labelStrings: n = {
11585
+ }, Qa = ({ className: t, labelStrings: n = {
11554
11586
  step: "Step",
11555
11587
  completed: "completed",
11556
11588
  hasError: "has an error"
11557
11589
  }, steps: r, ...i }) => {
11558
11590
  let a = "pds-vert-stepper", o = r.length, s = r.findIndex((e) => e.isCurrent), c = r.map((t, r) => {
11559
11591
  let i = r + 1, a = r === s, c = r === 0, l = t.isComplete || !1, u = t.hasError && a, d = `${n.step} ${i}`;
11560
- return l && (d = `${n.step} ${i}, ${n.completed}`), u && (d = `${n.step} ${i}, ${n.hasError}`), /* @__PURE__ */ e.createElement(Ya, {
11592
+ return l && (d = `${n.step} ${i}, ${n.completed}`), u && (d = `${n.step} ${i}, ${n.hasError}`), /* @__PURE__ */ e.createElement(Za, {
11561
11593
  key: `s${i}`,
11562
11594
  _isFirstStep: c,
11563
11595
  "aria-current": a ? "step" : null,
@@ -11578,8 +11610,8 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11578
11610
  className: Z([a, t ?? ""]),
11579
11611
  ...i
11580
11612
  }, /* @__PURE__ */ e.createElement("ol", { className: `${a}__steps` }, r && c));
11581
- }, Za = ({ 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: g = "No results found.", emptyStateMessage: _, footer: v, getPageSizeLabel: y = (e) => `Show ${e} rows per page`, getRowClassName: b, getRowId: x, getRowSelectDisabledReason: S, getSelectRowLabel: C = (e, t) => `Select row ${t}`, getSortLabel: w = (e) => `Sort by ${e}`, inspectedRowId: T, isLoading: E = !1, isRowSelectable: D = () => !0, itemsPerPage: O, loadingRowCount: k = 5, nextDetailPanelRowLabel: A = "Next row", onDetailPanelNext: j, onDetailPanelPrev: M, onPageChange: N, onPageSizeChange: P, onRowInspect: F, onRowSelectionChange: I, onSort: L, pageSizeOptions: R, pageSizeSelectLabel: z = "Rows per page", paginationLabels: B, panel: V, prevDetailPanelRowLabel: H = "Previous row", renderDetailPanel: U, renderDetailPanelFooter: ee, rowData: W, selectAllLabel: G = "Select all rows", selectedRows: te, sortKey: K, sortOrder: ne, totalItemCount: re, ...ie }) => {
11582
- let q = "pds-table", ae = u(), oe = u(), J = m(null), Y = L !== void 0, X = N !== void 0, se = P !== void 0, ce = X || O !== void 0 || R !== void 0, le = W.length > 0 || X && (re ?? 0) > 0, [ue, de] = h({
11613
+ }, $a = ({ 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: g = "No results found.", emptyStateMessage: _, footer: v, getPageSizeLabel: y = (e) => `Show ${e} rows per page`, getRowClassName: b, getRowId: x, getRowSelectDisabledReason: S, getSelectRowLabel: C = (e, t) => `Select row ${t}`, getSortLabel: w = (e) => `Sort by ${e}`, inspectedRowId: T, isLoading: E = !1, isRowSelectable: D = () => !0, itemsPerPage: O, loadingRowCount: k = 5, nextDetailPanelRowLabel: A = "Next row", onDetailPanelNext: j, onDetailPanelPrev: M, onPageChange: N, onPageSizeChange: P, onRowInspect: F, onRowSelectionChange: I, onSort: L, pageSizeOptions: R, pageSizeSelectLabel: z = "Rows per page", paginationLabels: B, panel: V, prevDetailPanelRowLabel: H = "Previous row", renderDetailPanel: U, renderDetailPanelFooter: W, rowData: G, selectAllLabel: K = "Select all rows", selectedRows: ee, sortKey: q, sortOrder: te, totalItemCount: ne, ...re }) => {
11614
+ let J = "pds-table", ie = u(), ae = u(), Y = m(null), oe = L !== void 0, X = N !== void 0, se = P !== void 0, ce = X || O !== void 0 || R !== void 0, le = G.length > 0 || X && (ne ?? 0) > 0, [ue, de] = h({
11583
11615
  key: a ?? "",
11584
11616
  order: a === void 0 ? "asc" : o
11585
11617
  }), [fe, pe] = h(1), [me, he] = h(O ?? R?.[0] ?? 10), [ge, _e] = h(null), ve = T ?? ge, ye = !!ve && !!U, be = X ? O ?? 10 : me, xe = (e) => {
@@ -11587,25 +11619,25 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11587
11619
  };
11588
11620
  l(() => {
11589
11621
  X || pe(1);
11590
- }, [W.length, X]), l(() => {
11622
+ }, [G.length, X]), l(() => {
11591
11623
  process.env.NODE_ENV !== "production" && i !== void 0 && !N && console.warn("[Table] `currentPage` was provided without `onPageChange`. Controlled pagination requires both props. The table is running in uncontrolled mode.");
11592
11624
  }, []);
11593
- let Se = I !== void 0, Ce = te !== void 0, [we, Te] = h(/* @__PURE__ */ new Set()), Ee = Ce ? new Set(te) : we, De = p(() => new Map(W.map((e, t) => [e, t])), [W]), Oe = (e, t) => x ? x(e) : String(De.get(e) ?? t), ke = p(() => W.findIndex((e, t) => (x ? x(e) : String(De.get(e) ?? t)) === ve), [
11594
- W,
11625
+ let Se = I !== void 0, Ce = ee !== void 0, [we, Te] = h(/* @__PURE__ */ new Set()), Ee = Ce ? new Set(ee) : we, De = p(() => new Map(G.map((e, t) => [e, t])), [G]), Oe = (e, t) => x ? x(e) : String(De.get(e) ?? t), ke = p(() => G.findIndex((e, t) => (x ? x(e) : String(De.get(e) ?? t)) === ve), [
11626
+ G,
11595
11627
  ve,
11596
11628
  x,
11597
11629
  De
11598
- ]), Ae = ke >= 0 ? W[ke] : null, je = (e, t) => {
11630
+ ]), Ae = ke >= 0 ? G[ke] : null, je = (e, t) => {
11599
11631
  U && T === void 0 && _e(t), F?.(e, t);
11600
11632
  }, Me = () => {
11601
11633
  T === void 0 && _e(null);
11602
11634
  }, Ne = () => {
11603
11635
  if (ke <= 0) return;
11604
- let e = W[ke - 1], t = Oe(e, ke - 1);
11636
+ let e = G[ke - 1], t = Oe(e, ke - 1);
11605
11637
  T === void 0 && _e(t), F?.(e, t), M?.(e, t);
11606
11638
  }, Pe = () => {
11607
- if (ke >= W.length - 1) return;
11608
- let e = W[ke + 1], t = Oe(e, ke + 1);
11639
+ if (ke >= G.length - 1) return;
11640
+ let e = G[ke + 1], t = Oe(e, ke + 1);
11609
11641
  T === void 0 && _e(t), F?.(e, t), j?.(e, t);
11610
11642
  }, Fe = (e) => {
11611
11643
  if (!ye || e.key !== "ArrowUp" && e.key !== "ArrowDown") return;
@@ -11614,21 +11646,21 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11614
11646
  };
11615
11647
  l(() => {
11616
11648
  if (!ye) return;
11617
- let e = J.current, t = e?.querySelector(`.${q}__row--inspected`);
11649
+ let e = Y.current, t = e?.querySelector(`.${J}__row--inspected`);
11618
11650
  if (!e || !t) return;
11619
11651
  let n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), i = e.querySelector("thead")?.getBoundingClientRect().height ?? 0, a = n.top + i;
11620
11652
  r.top < a ? e.scrollTop -= a - r.top : r.bottom > n.bottom && (e.scrollTop += r.bottom - n.bottom);
11621
11653
  let o = document.activeElement;
11622
- o instanceof HTMLElement && o.classList.contains(`${q}__row--inspectable`) && t.focus({ preventScroll: !0 });
11654
+ o instanceof HTMLElement && o.classList.contains(`${J}__row--inspectable`) && t.focus({ preventScroll: !0 });
11623
11655
  }, [
11624
11656
  ve,
11625
11657
  ye,
11626
- q
11658
+ J
11627
11659
  ]);
11628
- let Ie = Y ? K ?? "" : ue.key, Le = Y ? ne ?? "asc" : ue.order, Re = p(() => {
11660
+ let Ie = oe ? q ?? "" : ue.key, Le = oe ? te ?? "asc" : ue.order, Re = p(() => {
11629
11661
  if (E) return [];
11630
- let e = W;
11631
- if (!Y && ue.key !== "") {
11662
+ let e = G;
11663
+ if (!oe && ue.key !== "") {
11632
11664
  let t = r.find((e) => e.id === ue.key)?.sortKey ?? ue.key;
11633
11665
  e = [...e].sort((e, n) => {
11634
11666
  let r = String(e[t]).localeCompare(String(n[t]));
@@ -11641,21 +11673,21 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11641
11673
  }
11642
11674
  return e;
11643
11675
  }, [
11644
- W,
11676
+ G,
11645
11677
  ue,
11646
- Y,
11678
+ oe,
11647
11679
  X,
11648
11680
  ce,
11649
11681
  fe,
11650
11682
  be,
11651
11683
  E
11652
11684
  ]), ze = (e) => {
11653
- Y ? L(e, K === e && ne === "asc" ? "desc" : "asc") : de((t) => ({
11685
+ oe ? L(e, q === e && te === "asc" ? "desc" : "asc") : de((t) => ({
11654
11686
  key: e,
11655
11687
  order: t.key === e && t.order === "asc" ? "desc" : "asc"
11656
11688
  }));
11657
11689
  }, Be = (e) => Ie === e ? Le === "asc" ? "ascending" : "descending" : "none", Ve = (e, t) => {
11658
- let n = `${q}__sort-button-${t}`, r = !E && Re.length === 0;
11690
+ let n = `${J}__sort-button-${t}`, r = !E && Re.length === 0;
11659
11691
  if (E || r || Ie === "") return t === "top" ? `${n}--inactive` : "";
11660
11692
  let i = Ie === e;
11661
11693
  return t === "top" ? i && Le === "asc" ? "" : `${n}--inactive` : i && Le === "desc" ? `${n}--desc` : "";
@@ -11690,8 +11722,8 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11690
11722
  key: `row-${i}`,
11691
11723
  "aria-selected": a ? o : void 0,
11692
11724
  className: Z([
11693
- a ? `${q}__row--inspectable` : null,
11694
- o ? `${q}__row--inspected` : null,
11725
+ a ? `${J}__row--inspectable` : null,
11726
+ o ? `${J}__row--inspected` : null,
11695
11727
  b?.(t, i) ?? null
11696
11728
  ]),
11697
11729
  onClick: a ? () => je(t, i) : void 0,
@@ -11699,10 +11731,10 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11699
11731
  (e.key === "Enter" || e.key === " ") && (e.preventDefault(), je(t, i));
11700
11732
  } : void 0,
11701
11733
  tabIndex: a ? 0 : void 0
11702
- }, Se && /* @__PURE__ */ e.createElement("td", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(Ir, {
11734
+ }, Se && /* @__PURE__ */ e.createElement("td", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(Lr, {
11703
11735
  checked: Ee.has(i),
11704
11736
  disabled: !s,
11705
- id: `${oe}-row-${i}`,
11737
+ id: `${ae}-row-${i}`,
11706
11738
  inputProps: c ? { title: c } : void 0,
11707
11739
  label: u,
11708
11740
  onChange: () => Ge(i),
@@ -11715,17 +11747,17 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11715
11747
  className: Z(["pds-table-wrapper__content", ye ? "pds-table-wrapper__content--panel-open" : null]),
11716
11748
  style: Xe
11717
11749
  }, /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__table-column" }, /* @__PURE__ */ e.createElement("div", {
11718
- ref: J,
11750
+ ref: Y,
11719
11751
  className: "pds-table-wrapper__table-area"
11720
11752
  }, /* @__PURE__ */ e.createElement("table", {
11721
11753
  "aria-busy": E,
11722
- className: Z([q, t]),
11723
- ...ie
11724
- }, /* @__PURE__ */ e.createElement("thead", null, /* @__PURE__ */ e.createElement("tr", null, Se && /* @__PURE__ */ e.createElement("th", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(Ir, {
11754
+ className: Z([J, t]),
11755
+ ...re
11756
+ }, /* @__PURE__ */ e.createElement("thead", null, /* @__PURE__ */ e.createElement("tr", null, Se && /* @__PURE__ */ e.createElement("th", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(Lr, {
11725
11757
  checked: Ue,
11726
- id: oe,
11758
+ id: ae,
11727
11759
  indeterminate: We,
11728
- label: G,
11760
+ label: K,
11729
11761
  onChange: Ke,
11730
11762
  showLabel: !1
11731
11763
  })), r.map((t) => /* @__PURE__ */ e.createElement("th", {
@@ -11733,21 +11765,21 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11733
11765
  "aria-sort": t.sortable ? Be(t.id) : void 0
11734
11766
  }, t.sortable ? /* @__PURE__ */ e.createElement("button", {
11735
11767
  "aria-label": w(ln(t.header)),
11736
- className: `${q}__sort-button`,
11768
+ className: `${J}__sort-button`,
11737
11769
  onClick: () => ze(t.id),
11738
11770
  type: "button"
11739
11771
  }, t.header, /* @__PURE__ */ e.createElement("span", {
11740
11772
  "aria-hidden": "true",
11741
- className: `${q}__sort-icons`
11742
- }, /* @__PURE__ */ e.createElement("span", { className: Z([`${q}__sort-button-top`, Ve(t.id, "top")]) }, /* @__PURE__ */ e.createElement(Q, {
11773
+ className: `${J}__sort-icons`
11774
+ }, /* @__PURE__ */ e.createElement("span", { className: Z([`${J}__sort-button-top`, Ve(t.id, "top")]) }, /* @__PURE__ */ e.createElement(Q, {
11743
11775
  iconName: "caretUp",
11744
11776
  size: "m"
11745
- })), /* @__PURE__ */ e.createElement("span", { className: Z([`${q}__sort-button-bottom`, Ve(t.id, "bottom")]) }, /* @__PURE__ */ e.createElement(Q, {
11777
+ })), /* @__PURE__ */ e.createElement("span", { className: Z([`${J}__sort-button-bottom`, Ve(t.id, "bottom")]) }, /* @__PURE__ */ e.createElement(Q, {
11746
11778
  iconName: "caretDown",
11747
11779
  size: "m"
11748
11780
  })))) : /* @__PURE__ */ e.createElement("span", null, t.header))))), /* @__PURE__ */ e.createElement("tbody", null, E ? Array.from({ length: k }, (e, t) => qe(t)) : Re.length === 0 ? Je() : Re.map((e, t) => Ye(e, t))))), ce && !E && le && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__pagination" }, R && R.length > 0 && /* @__PURE__ */ e.createElement($n, {
11749
11781
  autoWidth: !0,
11750
- id: ae,
11782
+ id: ie,
11751
11783
  label: z,
11752
11784
  onOptionSelect: (e) => xe(Number(e.value)),
11753
11785
  options: R.map((e) => ({
@@ -11757,12 +11789,12 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11757
11789
  showLabel: !1,
11758
11790
  size: "s",
11759
11791
  value: String(be)
11760
- }), /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__pagination-controls" }, /* @__PURE__ */ e.createElement(sa, {
11792
+ }), /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__pagination-controls" }, /* @__PURE__ */ e.createElement(ca, {
11761
11793
  currentPage: X ? i ?? 1 : fe,
11762
11794
  itemsPerPage: be,
11763
11795
  labelStrings: B,
11764
11796
  onPageChange: X ? N : pe,
11765
- totalItemCount: X ? re ?? 0 : W.length
11797
+ totalItemCount: X ? ne ?? 0 : G.length
11766
11798
  }))), v && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__footer" }, v)), U && /* @__PURE__ */ e.createElement("div", { className: Z(["pds-table-wrapper__detail-panel", ye ? "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(hn, {
11767
11799
  ariaLabel: n,
11768
11800
  onClick: Me,
@@ -11773,9 +11805,9 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11773
11805
  onPrev: Ne,
11774
11806
  onNext: Pe,
11775
11807
  hasPrev: ke > 0,
11776
- hasNext: ke < W.length - 1
11777
- }))), ye && Ae && (ee || s) && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-footer" }, ee ? ee(Ae, {
11778
- hasNext: ke < W.length - 1,
11808
+ hasNext: ke < G.length - 1
11809
+ }))), ye && Ae && (W || s) && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-footer" }, W ? W(Ae, {
11810
+ hasNext: ke < G.length - 1,
11779
11811
  hasPrev: ke > 0,
11780
11812
  onClose: Me,
11781
11813
  onNext: Pe,
@@ -11792,14 +11824,14 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11792
11824
  }), /* @__PURE__ */ e.createElement(pn, {
11793
11825
  hasBorder: !0,
11794
11826
  ariaLabel: A,
11795
- disabled: ke >= W.length - 1,
11827
+ disabled: ke >= G.length - 1,
11796
11828
  iconName: "angleDown",
11797
11829
  onClick: Pe,
11798
11830
  size: "s",
11799
11831
  variant: "standard"
11800
11832
  }))))));
11801
- return V ? /* @__PURE__ */ e.createElement(ua, { padding: "none" }, Ze) : Ze;
11802
- }, Qa = [
11833
+ return V ? /* @__PURE__ */ e.createElement(da, { padding: "none" }, Ze) : Ze;
11834
+ }, eo = [
11803
11835
  " ",
11804
11836
  "/",
11805
11837
  ".",
@@ -11817,7 +11849,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11817
11849
  "=",
11818
11850
  "|",
11819
11851
  "~"
11820
- ], $a = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), eo = (e) => {
11852
+ ], to = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), no = (e) => {
11821
11853
  let t = [];
11822
11854
  return e.forEach((e) => {
11823
11855
  let { id: n, innerText: r } = e;
@@ -11830,18 +11862,18 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11830
11862
  title: r
11831
11863
  });
11832
11864
  }), t;
11833
- }, to = (e, t, n) => {
11865
+ }, ro = (e, t, n) => {
11834
11866
  let [r, i] = h([]);
11835
11867
  return l(() => {
11836
11868
  let r = `#${e} h2:not(.${t}), #${e} h3:not(.${t})`, a = () => {
11837
11869
  let e = Array.from(document.querySelectorAll(r));
11838
11870
  e.forEach((e) => {
11839
- Qa.forEach((t) => {
11840
- e.id.includes(t) && (e.id = e.id.replace(new RegExp($a(t), "g"), "-"));
11871
+ eo.forEach((t) => {
11872
+ e.id.includes(t) && (e.id = e.id.replace(new RegExp(to(t), "g"), "-"));
11841
11873
  });
11842
11874
  }), e.forEach((e, t) => {
11843
11875
  e.id || (e.id = `${n}-item-${t}`);
11844
- }), i(eo(e));
11876
+ }), i(no(e));
11845
11877
  };
11846
11878
  a();
11847
11879
  let o = document.getElementById(e);
@@ -11857,7 +11889,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11857
11889
  t,
11858
11890
  n
11859
11891
  ]), { nestedHeadings: r };
11860
- }, no = (e, t) => {
11892
+ }, io = (e, t) => {
11861
11893
  let [n, r] = h(void 0), i = m({});
11862
11894
  return l(() => {
11863
11895
  let n = `#${e} h2:not(.${t}), #${e} h3:not(.${t})`, a = Array.from(document.querySelectorAll(n));
@@ -11876,7 +11908,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11876
11908
  o.disconnect(), r(void 0);
11877
11909
  };
11878
11910
  }, [e, t]), n;
11879
- }, ro = ({ 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", {
11911
+ }, ao = ({ 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", {
11880
11912
  key: r.id,
11881
11913
  className: `${n}__list-item`
11882
11914
  }, /* @__PURE__ */ e.createElement("a", {
@@ -11892,8 +11924,8 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11892
11924
  className: Z([`${n}__link`, r.id === t ? `${n}__link--active` : null]),
11893
11925
  href: `#${r.id}`,
11894
11926
  onClick: (e) => i(e, r.id)
11895
- }, r.title))))))), io = ({ 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 }) => {
11896
- let d = "pds-toc", { nestedHeadings: f } = to(c, o, u()), p = no(c, o), m = (e) => {
11927
+ }, r.title))))))), oo = ({ 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 }) => {
11928
+ let d = "pds-toc", { nestedHeadings: f } = ro(c, o, u()), p = io(c, o), m = (e) => {
11897
11929
  typeof window < "u" && window.location.hash !== `#${e}` && window.history.pushState({}, "", `#${e}`);
11898
11930
  }, h = (e) => {
11899
11931
  document.querySelector(`#${e}`)?.scrollIntoView({
@@ -11911,13 +11943,13 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11911
11943
  baseClass: d,
11912
11944
  className: `${s ? "" : "visually-hidden"}`,
11913
11945
  level: i
11914
- }, a), /* @__PURE__ */ e.createElement(ro, {
11946
+ }, a), /* @__PURE__ */ e.createElement(ao, {
11915
11947
  activeID: p,
11916
11948
  baseClass: d,
11917
11949
  headings: f,
11918
11950
  onLinkClick: g
11919
11951
  }));
11920
- }, ao = ({ ariaLabel: t, className: n, defaultSelected: r = 0, onActiveTabChange: i = () => {}, selectedTab: a, tabs: o, ...s }) => {
11952
+ }, so = ({ ariaLabel: t, className: n, defaultSelected: r = 0, onActiveTabChange: i = () => {}, selectedTab: a, tabs: o, ...s }) => {
11921
11953
  let c = "pds-tabs", [u, d] = h(a ?? r);
11922
11954
  l(() => {
11923
11955
  a !== void 0 && d(a);
@@ -12031,7 +12063,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12031
12063
  className: `${c}__panel-content`,
12032
12064
  hidden: o !== u
12033
12065
  }, r)))));
12034
- }, oo = [
12066
+ }, co = [
12035
12067
  "orange",
12036
12068
  "stone",
12037
12069
  "gold",
@@ -12044,21 +12076,25 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12044
12076
  "purple",
12045
12077
  "magenta",
12046
12078
  "rose",
12047
- "red",
12048
- "silver"
12049
- ], so = [
12079
+ "red"
12080
+ ], lo = [
12050
12081
  "orange-solid",
12051
12082
  "teal-solid",
12052
12083
  "indigo-solid",
12053
12084
  "magenta-solid",
12054
12085
  "rose-solid",
12086
+ "gold-solid",
12087
+ "lime-solid",
12088
+ "sky-solid",
12089
+ "slate-solid"
12090
+ ], uo = [
12055
12091
  "success-solid",
12056
12092
  "warning-solid",
12057
12093
  "critical-solid",
12058
12094
  "info-solid",
12059
12095
  "discovery-solid"
12060
- ], co = (e) => oo[parseInt(_(e), 16) % oo.length], lo = (e, t) => e.length > t ? e.slice(0, t) + " ..." : e, uo = ({ className: t, isRemovable: n, linkContent: r, onRemove: i, removeLabel: a = "Remove tag", size: s = "s", tagColor: c, tagLabel: l, truncationLength: u = 20, ...d }) => {
12061
- let [f, p] = h(!0), m = "pds-tag", g = c ? `${m}--${c}` : `${m}--${co(l)}`, _ = s === "m" ? null : `${m}--${s}`, v = f ? null : "pds-tag--hide", y = () => {
12096
+ ], fo = [...lo, ...uo], po = [...co, ...lo], mo = (e) => po[parseInt(_(e), 16) % po.length], ho = (e, t) => e.length > t ? e.slice(0, t) + " ..." : e, go = ({ className: t, isRemovable: n, linkContent: r, onRemove: i, removeLabel: a = "Remove tag", size: s = "s", tagColor: c, tagLabel: l, truncationLength: u = 20, ...d }) => {
12097
+ let [f, p] = h(!0), m = "pds-tag", g = c ? `${m}--${c}` : `${m}--${mo(l)}`, _ = s === "m" ? null : `${m}--${s}`, v = f ? null : "pds-tag--hide", y = () => {
12062
12098
  p((e) => !e);
12063
12099
  }, b, x, S;
12064
12100
  if (r && !n && o(r)) {
@@ -12080,7 +12116,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12080
12116
  }, /* @__PURE__ */ e.createElement("span", {
12081
12117
  className: `${m}__label`,
12082
12118
  title: l
12083
- }, u > 0 ? lo(l, u) : l), n ? /* @__PURE__ */ e.createElement("button", {
12119
+ }, u > 0 ? ho(l, u) : l), n ? /* @__PURE__ */ e.createElement("button", {
12084
12120
  "aria-label": `${a}: ${l}`,
12085
12121
  className: `${m}__remove`,
12086
12122
  onClick: () => {
@@ -12092,7 +12128,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12092
12128
  iconName: "xmark",
12093
12129
  size: "m"
12094
12130
  })) : null);
12095
- }, fo = ({ backgroundColor: t = "transparent", children: n, className: r, padding: i = "none", ...a }) => {
12131
+ }, _o = ({ backgroundColor: t = "transparent", children: n, className: r, padding: i = "none", ...a }) => {
12096
12132
  let o = "pds-utility-bar", s = t === "transparent" ? null : `${o}--bg-${t}`, c = i === "none" ? null : `${o}--pad-${i}`, l = Xe(n), u = l["items-left"], d = l["items-right"] ?? l.__unslotted;
12097
12133
  return /* @__PURE__ */ e.createElement("div", {
12098
12134
  className: Z([
@@ -12103,7 +12139,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12103
12139
  ]),
12104
12140
  ...a
12105
12141
  }, /* @__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)));
12106
- }, po = () => {
12142
+ }, vo = () => {
12107
12143
  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");
12108
12144
  return l(() => {
12109
12145
  if (!e) return;
@@ -12114,7 +12150,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12114
12150
  window.removeEventListener("resize", n);
12115
12151
  };
12116
12152
  }, []), n;
12117
- }, mo = ({ children: t, className: n, drawerContent: r, drawerProps: a, hasDrawerToggle: o, hasSidebarToggle: s, isDrawerOpen: c = !1, isSidebarCollapsed: u, keyboardShortcuts: d = !0, labels: p, mainBackground: g, mainContentElement: _ = "main", mainContentMaxWidth: v = 1600, mainContentProps: y, onDrawerToggle: b, onSidebarToggle: x, scrollableContent: S, sidebarBackground: C, sidebarCollapsedWidth: w = 4, sidebarExpandedWidth: T = "15%", sidebarExpandedWidthMax: E = 18, sidebarExpandedWidthMin: D = 14.75, sidebarProps: O, topOffset: k, ...A }) => {
12153
+ }, yo = ({ children: t, className: n, drawerContent: r, drawerProps: a, hasDrawerToggle: o, hasSidebarToggle: s, isDrawerOpen: c = !1, isSidebarCollapsed: u, keyboardShortcuts: d = !0, labels: p, mainBackground: g, mainContentElement: _ = "main", mainContentMaxWidth: v = 1600, mainContentProps: y, onDrawerToggle: b, onSidebarToggle: x, scrollableContent: S, sidebarBackground: C, sidebarCollapsedWidth: w = 4, sidebarExpandedWidth: T = "15%", sidebarExpandedWidthMax: E = 18, sidebarExpandedWidthMin: D = 14.75, sidebarProps: O, topOffset: k, ...A }) => {
12118
12154
  let [j, M] = h(u || !1);
12119
12155
  l(() => {
12120
12156
  M(u || !1);
@@ -12136,19 +12172,19 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12136
12172
  return;
12137
12173
  }
12138
12174
  M(!j);
12139
- }, U = po();
12175
+ }, U = vo();
12140
12176
  l(() => {
12141
12177
  U === "sm" && !j ? (V.current = !0, x ? x() : M(!0)) : U !== "sm" && V.current && (V.current = !1, x ? x() : M(!1));
12142
12178
  }, [U]);
12143
- let ee = d && s;
12179
+ let W = d && s;
12144
12180
  Rt("[", (e) => {
12145
12181
  e.preventDefault(), j || H();
12146
- }, { enabled: ee }), Rt("]", (e) => {
12182
+ }, { enabled: W }), Rt("]", (e) => {
12147
12183
  e.preventDefault(), j && H();
12148
- }, { enabled: ee });
12149
- let W = m(null);
12184
+ }, { enabled: W });
12185
+ let G = m(null);
12150
12186
  f(() => {
12151
- let e = W.current;
12187
+ let e = G.current;
12152
12188
  if (!e) return;
12153
12189
  if (R != null) {
12154
12190
  e.style.setProperty("--pds-app-layout-top-offset", R);
@@ -12166,14 +12202,14 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12166
12202
  r.disconnect(), i?.disconnect(), window.removeEventListener("resize", t);
12167
12203
  };
12168
12204
  }, [R]);
12169
- let G = Xe(t), te = G.__unslotted, K = G.header, ne = G.footer, re = G.sidebar, ie = G.identity, q = G["content-top"], ae = G.navigation, oe = G["content-bottom"], J = ie || q || ae || oe, Y = J ? /* @__PURE__ */ e.createElement(e.Fragment, null, (ie || o) && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-identity` }, ie, o && !j && /* @__PURE__ */ e.createElement(pn, {
12205
+ let K = Xe(t), ee = K.__unslotted, q = K.header, te = K.footer, ne = K.sidebar, re = K.identity, J = K["content-top"], ie = K.navigation, ae = K["content-bottom"], Y = re || J || ie || ae, oe = Y ? /* @__PURE__ */ e.createElement(e.Fragment, null, (re || o) && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-identity` }, re, o && !j && /* @__PURE__ */ e.createElement(pn, {
12170
12206
  hasBorder: !0,
12171
12207
  ariaLabel: F.drawerToggle,
12172
12208
  className: `${N}__drawer-toggle`,
12173
12209
  iconName: "sidebar",
12174
12210
  onClick: b,
12175
12211
  size: "s"
12176
- })), q && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-content-top` }, q), ae && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-navigation` }, ae), oe && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-content-bottom` }, oe)) : re, X = i(_, {
12212
+ })), J && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-content-top` }, J), ie && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-navigation` }, ie), ae && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-content-bottom` }, ae)) : ne, X = i(_, {
12177
12213
  ...y,
12178
12214
  className: Z([`${N}__main`, y?.className]),
12179
12215
  id: I,
@@ -12185,13 +12221,13 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12185
12221
  }, /* @__PURE__ */ e.createElement("div", {
12186
12222
  className: `${N}__main-inner`,
12187
12223
  style: { maxWidth: L }
12188
- }, te)), se = /* @__PURE__ */ e.createElement("div", {
12224
+ }, ee)), se = /* @__PURE__ */ e.createElement("div", {
12189
12225
  className: `${N}__content-column`,
12190
12226
  style: { backgroundColor: g || void 0 }
12191
- }, X, ne && /* @__PURE__ */ e.createElement("div", { className: `${N}__footer` }, /* @__PURE__ */ e.createElement("div", {
12227
+ }, X, te && /* @__PURE__ */ e.createElement("div", { className: `${N}__footer` }, /* @__PURE__ */ e.createElement("div", {
12192
12228
  className: `${N}__footer-inner`,
12193
12229
  style: { maxWidth: L }
12194
- }, ne))), ce = /* @__PURE__ */ e.createElement(e.Fragment, null, (re || J) && /* @__PURE__ */ e.createElement("div", {
12230
+ }, te))), ce = /* @__PURE__ */ e.createElement(e.Fragment, null, (ne || Y) && /* @__PURE__ */ e.createElement("div", {
12195
12231
  ...O,
12196
12232
  className: Z([
12197
12233
  `${N}__sidebar`,
@@ -12218,20 +12254,20 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12218
12254
  crossAxis: -96
12219
12255
  },
12220
12256
  preferredPlacement: "right-end"
12221
- }), /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-inner` }, Y)), se);
12257
+ }), /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-inner` }, oe)), se);
12222
12258
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", {
12223
- ref: W,
12259
+ ref: G,
12224
12260
  className: Z([
12225
12261
  N,
12226
12262
  P,
12227
- K ? `${N}--has-header` : null,
12263
+ q ? `${N}--has-header` : null,
12228
12264
  n ?? ""
12229
12265
  ]),
12230
12266
  ...A
12231
- }, /* @__PURE__ */ e.createElement(ci, {
12267
+ }, /* @__PURE__ */ e.createElement(li, {
12232
12268
  destination: I,
12233
12269
  text: F.skipToContent
12234
- }), K ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${N}__header` }, K), /* @__PURE__ */ e.createElement("div", { className: `${N}__body` }, ce)) : ce), o && /* @__PURE__ */ e.createElement(ea, {
12270
+ }), q ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${N}__header` }, q), /* @__PURE__ */ e.createElement("div", { className: `${N}__body` }, ce)) : ce), o && /* @__PURE__ */ e.createElement(ta, {
12235
12271
  ...a,
12236
12272
  isOpen: c,
12237
12273
  placement: "left",
@@ -12239,7 +12275,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12239
12275
  !e && c && b && b();
12240
12276
  }
12241
12277
  }, r));
12242
- }, ho = ({ children: t, className: n, sidebarWidth: r = "18%", sidebarWidthMax: i = 20, sidebarWidthMin: a = 15, style: o, ...s }) => {
12278
+ }, bo = ({ children: t, className: n, sidebarWidth: r = "18%", sidebarWidthMax: i = 20, sidebarWidthMin: a = 15, style: o, ...s }) => {
12243
12279
  let c = "pds-docs-layout", l = {
12244
12280
  "--docs-sidebar-max-width": `${i}rem`,
12245
12281
  "--docs-sidebar-min-width": `${a}rem`,
@@ -12257,7 +12293,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12257
12293
  },
12258
12294
  ...s
12259
12295
  }, 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));
12260
- }, go = ({ children: t, className: n, gridGap: r = "xl", sidebarLocation: i = "right", sidebarMobileLocation: a = "after", sidebarWidth: o = "33%", sidebarWidthMax: s = 25, sidebarWidthMin: c = 15, ...l }) => {
12296
+ }, xo = ({ children: t, className: n, gridGap: r = "xl", sidebarLocation: i = "right", sidebarMobileLocation: a = "after", sidebarWidth: o = "33%", sidebarWidthMax: s = 25, sidebarWidthMin: c = 15, ...l }) => {
12261
12297
  let u = "pds-sidebar-layout", d = r === "none" ? "0" : `var(--pds-spacing-${r})`, f = Xe(t);
12262
12298
  return /* @__PURE__ */ e.createElement("div", {
12263
12299
  className: Z([u, n ?? ""]),
@@ -12271,8 +12307,8 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12271
12307
  },
12272
12308
  ...l
12273
12309
  }, /* @__PURE__ */ e.createElement("div", { className: `${u}__main` }, f.__unslotted || f.content), /* @__PURE__ */ e.createElement("div", { className: `${u}__side` }, f.sidebar));
12274
- }, _o = ({ children: t, className: n, formWidth: r = "standard", hasPanel: i = !1, ...a }) => {
12275
- let o = Xe(t), s = o.stepper, c = o.form, l = "pds-stepper-layout", u = r === "full" ? `${l}--full-width` : null, d = /* @__PURE__ */ e.createElement(xi, {
12310
+ }, So = ({ children: t, className: n, formWidth: r = "standard", hasPanel: i = !1, ...a }) => {
12311
+ let o = Xe(t), s = o.stepper, c = o.form, l = "pds-stepper-layout", u = r === "full" ? `${l}--full-width` : null, d = /* @__PURE__ */ e.createElement(Si, {
12276
12312
  className: Z([
12277
12313
  l,
12278
12314
  u,
@@ -12281,8 +12317,8 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12281
12317
  width: "wide",
12282
12318
  ...a
12283
12319
  }, s && /* @__PURE__ */ e.createElement("div", { className: `${l}__stepper-container` }, s), c && /* @__PURE__ */ e.createElement("div", { className: `${l}__form-container` }, c));
12284
- return i ? /* @__PURE__ */ e.createElement(ua, null, d) : d;
12285
- }, vo = ({ children: t, className: n, gridGap: r = "xl", verticalAlign: i = "start", ...a }) => {
12320
+ return i ? /* @__PURE__ */ e.createElement(da, null, d) : d;
12321
+ }, Co = ({ children: t, className: n, gridGap: r = "xl", verticalAlign: i = "start", ...a }) => {
12286
12322
  let o = "pds-three-item-layout", s = r === "xl" ? "pds-grid" : `pds-grid pds-grid--gap-${r}`, c = `${o}--${i}`, l = Xe(t), u = [
12287
12323
  l["first-item"],
12288
12324
  l["second-item"],
@@ -12300,7 +12336,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12300
12336
  key: n,
12301
12337
  className: "pds-grid-item pds-grid-item--sm-12 pds-grid-item--md-4 pds-grid-item--lg-4"
12302
12338
  }, t)));
12303
- }, yo = ({ children: t, className: n, gridGap: r = "xl", layoutVariant: i = "equal", verticalAlign: a = "start", ...o }) => {
12339
+ }, wo = ({ children: t, className: n, gridGap: r = "xl", layoutVariant: i = "equal", verticalAlign: a = "start", ...o }) => {
12304
12340
  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;
12305
12341
  switch (i) {
12306
12342
  case "equal":
@@ -12321,7 +12357,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12321
12357
  ]),
12322
12358
  ...o
12323
12359
  }, /* @__PURE__ */ e.createElement("div", { className: m.join(" ").trim() }, _), /* @__PURE__ */ e.createElement("div", { className: h.join(" ").trim() }, v));
12324
- }, bo = ({ 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 }) => {
12360
+ }, To = ({ 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 }) => {
12325
12361
  let _ = "pds-flex", v = `${_}-container`, y = {
12326
12362
  "--pds-flex-align-content": t,
12327
12363
  "--pds-flex-align-items": n,
@@ -12347,7 +12383,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12347
12383
  },
12348
12384
  ...g
12349
12385
  }, r);
12350
- }, xo = (e) => {
12386
+ }, Eo = (e) => {
12351
12387
  let t = typeof window < "u", [n, r] = h(((e) => t ? window.matchMedia(e).matches : !1)(e));
12352
12388
  return l(() => {
12353
12389
  if (!t) return;
@@ -12356,20 +12392,20 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12356
12392
  };
12357
12393
  return r(n.matches), n.addEventListener ? (n.addEventListener("change", i), () => n.removeEventListener("change", i)) : (n.addListener(i), () => n.removeListener(i));
12358
12394
  }, [e]), n;
12359
- }, So = [
12395
+ }, Do = [
12360
12396
  "light",
12361
12397
  "dark",
12362
12398
  "system"
12363
- ], Co = (e) => typeof e == "string" && So.includes(e), wo = r(null), To = {
12399
+ ], Oo = (e) => typeof e == "string" && Do.includes(e), ko = r(null), Ao = {
12364
12400
  resolvedTheme: "light",
12365
12401
  setTheme: () => {},
12366
12402
  theme: "light"
12367
- }, Eo = ({ defaultTheme: e = "light", storageKey: t = "pds-theme" } = {}) => `(function(){try{var t=localStorage.getItem(${JSON.stringify(t)})||${JSON.stringify(e)};if(t==='system'){t=matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light';}document.documentElement.setAttribute('data-theme',t);}catch(e){}})();`, Do = ({ children: t, defaultTheme: n = "light", disableInitScript: r = !1, nodeRef: i, onThemeChange: a, persist: o = !0, storageKey: c = "pds-theme", theme: u }) => {
12368
- let d = u !== void 0, f = !r && !d && o && !i, [p, m] = h(n), [g, _] = h(!1), v = d ? u : p, y = xo("(prefers-color-scheme: dark)"), b = v === "system" ? g && y ? "dark" : "light" : v;
12403
+ }, jo = ({ defaultTheme: e = "light", storageKey: t = "pds-theme" } = {}) => `(function(){try{var t=localStorage.getItem(${JSON.stringify(t)})||${JSON.stringify(e)};if(t==='system'){t=matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light';}document.documentElement.setAttribute('data-theme',t);}catch(e){}})();`, Mo = ({ children: t, defaultTheme: n = "light", disableInitScript: r = !1, nodeRef: i, onThemeChange: a, persist: o = !0, storageKey: c = "pds-theme", theme: u }) => {
12404
+ let d = u !== void 0, f = !r && !d && o && !i, [p, m] = h(n), [g, _] = h(!1), v = d ? u : p, y = Eo("(prefers-color-scheme: dark)"), b = v === "system" ? g && y ? "dark" : "light" : v;
12369
12405
  l(() => {
12370
12406
  if (_(!0), !(d || !o || typeof window > "u")) try {
12371
12407
  let e = window.localStorage.getItem(c);
12372
- Co(e) && m(e);
12408
+ Oo(e) && m(e);
12373
12409
  } catch {}
12374
12410
  }, []), l(() => {
12375
12411
  typeof document > "u" || (i?.current ?? document.documentElement).setAttribute("data-theme", b);
@@ -12389,20 +12425,20 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12389
12425
  ]),
12390
12426
  theme: v
12391
12427
  };
12392
- return /* @__PURE__ */ e.createElement(wo.Provider, { value: x }, f && /* @__PURE__ */ e.createElement("script", { dangerouslySetInnerHTML: { __html: Eo({
12428
+ return /* @__PURE__ */ e.createElement(ko.Provider, { value: x }, f && /* @__PURE__ */ e.createElement("script", { dangerouslySetInnerHTML: { __html: jo({
12393
12429
  defaultTheme: n,
12394
12430
  storageKey: c
12395
12431
  }) } }), t);
12396
- }, Oo = () => c(wo) ?? To, ko = ({ children: t, enableThemeSwitching: n = !1, mobileMaxWidth: r = 767, themeProps: i = {} }) => {
12432
+ }, No = () => c(ko) ?? Ao, Po = ({ children: t, enableThemeSwitching: n = !1, mobileMaxWidth: r = 767, themeProps: i = {} }) => {
12397
12433
  l(() => {
12398
12434
  let e = document.documentElement, t = () => {
12399
12435
  window.innerWidth <= r ? e.setAttribute("data-pds-mobile", "") : e.removeAttribute("data-pds-mobile");
12400
12436
  };
12401
12437
  return t(), window.addEventListener("resize", t), () => window.removeEventListener("resize", t);
12402
12438
  }, [r]);
12403
- let a = n ? /* @__PURE__ */ e.createElement(Do, i, t) : t;
12439
+ let a = n ? /* @__PURE__ */ e.createElement(Mo, i, t) : t;
12404
12440
  return /* @__PURE__ */ e.createElement(It, null, a);
12405
- }, Ao = ({ asContainer: t = !1, children: n, className: r, dense: i = !1, gap: a = "xl", mobileGap: o, stackBelow: s, ...c }) => {
12441
+ }, Fo = ({ asContainer: t = !1, children: n, className: r, dense: i = !1, gap: a = "xl", mobileGap: o, stackBelow: s, ...c }) => {
12406
12442
  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}`;
12407
12443
  return /* @__PURE__ */ e.createElement("div", {
12408
12444
  className: Z([
@@ -12416,7 +12452,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12416
12452
  ]),
12417
12453
  ...c
12418
12454
  }, n);
12419
- }, jo = ({ children: t, className: n, rowSpanLg: r, rowSpanMd: i, rowSpanSm: a, rowSpanXl: o, spanLg: s, spanMd: c, spanSm: l, spanXl: u, ...d }) => {
12455
+ }, Io = ({ children: t, className: n, rowSpanLg: r, rowSpanMd: i, rowSpanSm: a, rowSpanXl: o, spanLg: s, spanMd: c, spanSm: l, spanXl: u, ...d }) => {
12420
12456
  let f = "pds-grid-item", p = [
12421
12457
  l ? `${f}--sm-${l}` : null,
12422
12458
  c ? `${f}--md-${c}` : null,
@@ -12435,7 +12471,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12435
12471
  ]),
12436
12472
  ...d
12437
12473
  }, t);
12438
- }, Mo = (e, t, n) => {
12474
+ }, Lo = (e, t, n) => {
12439
12475
  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, [
12440
12476
  r,
12441
12477
  i,
@@ -12459,7 +12495,7 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12459
12495
  m,
12460
12496
  a
12461
12497
  ]), u;
12462
- }, No = () => {
12498
+ }, Ro = () => {
12463
12499
  let e = typeof window < "u", [t, n] = h(e && window.innerWidth !== void 0 ? window.innerWidth : 1024);
12464
12500
  return l(() => {
12465
12501
  if (!e) return;
@@ -12473,6 +12509,6 @@ var Ua = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12473
12509
  }, []), t;
12474
12510
  };
12475
12511
  //#endregion
12476
- export { Jn as ActionCard, mo as AppLayout, rt as Avatar, it as Badge, zi as Banner, _r as BarChart, on as BranchDiff, ui as Breadcrumb, un as Button, dn as ButtonLink, yi as ButtonNav, oi as CTALink, qn as Callout, Yn as Card, Xn as CardSelect, Ir as Checkbox, Lr as CheckboxFieldset, Rr as CheckboxGroup, mn as ClipboardButton, hn as CloseButton, Er as CodeBlock, zr as Combobox, Vr as ComboboxMultiselect, Zn as CompactEmptyState, Or as ComparisonList, xi as Container, Gr as Datepicker, ho as DocsLayout, ea as Drawer, bn as Dropdown, bi as DropdownMenu, ca as ExpansionPanel, la as ExpansionPanelGroup, Mr as FileDiff, Kr as FileUpload, kn as FilterButton, bo as FlexContainer, ta as FullScreenOverlay, ko as GlobalWrapper, Ao as Grid, jo as GridItem, Ar as HorizontalEmptyState, Q as Icon, pn as IconButton, Fr as IdentityBlock, Vi as InlineMessage, qr as InputGroup, yr as LineChart, si as LinkNewWindow, Wi as MIN_AUTO_CLOSE_DURATION, Rn as MenuButton, na as Modal, Si as Navbar, aa as Pagination, oa as PaginationChapter, sa as PaginationCompact, ua as Panel, da as PanelList, fa as PanelRow, ga as PantheonLogo, Pr as PaymentIcon, li as Picture, xr as PieChart, Hn as PlatformIcon, ya as Popover, xa as ProgressBar, Ca as ProgressRing, Cr as ProportionBar, Jr as RadioGroup, Ea as ResultCount, Wn as SSOButton, Ui as SectionMessage, zn as SegmentedButton, $n as Select, Qn as SelectOptionGroup, Ci as SideNav, Ti as SideNavGlobal, wi as SideNavGlobalItem, go as SidebarLayout, Da as SiteFooter, Di as SiteMenu, Oa as SiteOptionDisplay, ka as SiteSearch, Ln as SiteTypeIcon, In as SiteTypeLabel, pr as Skeleton, ci as Skiplink, Va as SortableList, Fa as SortableListHeader, Ua as SortableRow, nn as Spinner, Bn as SplitButton, rn as StatusBadge, Ga as StatusChecker, Ka as StatusIndicator, jn as StatusTypeLabels, qa as StepList, Ja as Stepper, _o as StepperLayout, Yr as Switch, ki as TabMenu, Za as Table, io as TableOfContents, ao as Tabs, uo as Tag, Zr as TagsInput, an as Tally, ei as TextInput, Qr as Textarea, wo as ThemeContext, Do as ThemeContextProvider, Ni as ThemeSwitcher, vo as ThreeItemLayout, ai as TimeInput, Zi as Toast, Qi as ToastType, Ji as Toaster, Ki as ToasterContext, zt as Tooltip, ji as TreeNav, yo as TwoItemLayout, Pi as UserMenu, fo as UtilityBar, Gn as UtilityButton, jr as VerticalEmptyState, Xa as VerticalStepper, kr as VideoEmbed, Fi as WorkspaceSelector, Ur as getPresetDateRange, Eo as getThemeInitScript, et as iconList, Nn as isHeadingItemType, Pn as isLinkItemType, Fn as isNodeItemType, Mn as isSeparatorItemType, Wa as statusCheckerStates, oo as tagColors, so as tagSolidColors, po as useBreakpoint, fn as useClipboard, _n as useDropdown, Nt as useIsMobile, Mo as useKeyPress, Rt as useKeyboardShortcut, xo as useMediaQuery, Oo as useTheme, $i as useToast, No as useWindowWidth };
12512
+ export { Jn as ActionCard, yo as AppLayout, rt as Avatar, it as Badge, Bi as Banner, _r as BarChart, on as BranchDiff, di as Breadcrumb, un as Button, dn as ButtonLink, bi as ButtonNav, si as CTALink, qn as Callout, Yn as Card, Xn as CardSelect, Lr as Checkbox, Rr as CheckboxFieldset, zr as CheckboxGroup, mn as ClipboardButton, hn as CloseButton, Dr as CodeBlock, Br as Combobox, Hr as ComboboxMultiselect, Zn as CompactEmptyState, kr as ComparisonList, Si as Container, Kr as Datepicker, bo as DocsLayout, ta as Drawer, bn as Dropdown, xi as DropdownMenu, la as ExpansionPanel, ua as ExpansionPanelGroup, Nr as FileDiff, qr as FileUpload, kn as FilterButton, To as FlexContainer, na as FullScreenOverlay, Po as GlobalWrapper, Fo as Grid, Io as GridItem, jr as HorizontalEmptyState, Q as Icon, pn as IconButton, Ir as IdentityBlock, Hi as InlineMessage, Jr as InputGroup, yr as LineChart, ci as LinkNewWindow, Gi as MIN_AUTO_CLOSE_DURATION, Rn as MenuButton, ra as Modal, Ci as Navbar, oa as Pagination, sa as PaginationChapter, ca as PaginationCompact, da as Panel, fa as PanelList, pa as PanelRow, ma as PanelStack, va as PantheonLogo, Fr as PaymentIcon, ui as Picture, xr as PieChart, Hn as PlatformIcon, xa as Popover, Ca as ProgressBar, Ta as ProgressRing, Cr as ProportionBar, Yr as RadioGroup, Oa as ResultCount, Wn as SSOButton, Wi as SectionMessage, zn as SegmentedButton, $n as Select, Qn as SelectOptionGroup, wi as SideNav, Ei as SideNavGlobal, Ti as SideNavGlobalItem, xo as SidebarLayout, ka as SiteFooter, Oi as SiteMenu, Aa as SiteOptionDisplay, ja as SiteSearch, Ln as SiteTypeIcon, In as SiteTypeLabel, pr as Skeleton, li as Skiplink, Ua as SortableList, La as SortableListHeader, Ga as SortableRow, nn as Spinner, Bn as SplitButton, rn as StatusBadge, qa as StatusChecker, Ja as StatusIndicator, jn as StatusTypeLabels, Ya as StepList, Xa as Stepper, So as StepperLayout, Xr as Switch, Ai as TabMenu, $a as Table, oo as TableOfContents, so as Tabs, go as Tag, Qr as TagsInput, an as Tally, ti as TextInput, $r as Textarea, ko as ThemeContext, Mo as ThemeContextProvider, Pi as ThemeSwitcher, Co as ThreeItemLayout, oi as TimeInput, Qi as Toast, $i as ToastType, Yi as Toaster, qi as ToasterContext, zt as Tooltip, Mi as TreeNav, wo as TwoItemLayout, Fi as UserMenu, _o as UtilityBar, Gn as UtilityButton, Mr as VerticalEmptyState, Qa as VerticalStepper, Ar as VideoEmbed, Ii as WorkspaceSelector, Wr as getPresetDateRange, jo as getThemeInitScript, et as iconList, Nn as isHeadingItemType, Pn as isLinkItemType, Fn as isNodeItemType, Mn as isSeparatorItemType, Ka as statusCheckerStates, co as tagColors, fo as tagSolidColors, lo as tagSolidHueColors, uo as tagSolidStatusColors, vo as useBreakpoint, fn as useClipboard, _n as useDropdown, Nt as useIsMobile, Lo as useKeyPress, Rt as useKeyboardShortcut, Eo as useMediaQuery, No as useTheme, ea as useToast, Ro as useWindowWidth };
12477
12513
 
12478
12514
  //# sourceMappingURL=index.js.map