@pantheon-systems/pds-toolkit-react 2.0.0-alpha.89 → 2.0.0-alpha.90

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
@@ -7825,6 +7825,17 @@ var Zr = {
7825
7825
  let r = ve(e, n);
7826
7826
  return Ee(new Date(r.year, r.month - 1, r.day), "PP", { locale: t });
7827
7827
  }, Mi = (e, t) => {
7828
+ let n = Te(t).year;
7829
+ return e.some((e) => !!e && ve(e, t).year !== n);
7830
+ }, Ni = (e, { hourCycle: t, includeYear: n, localeString: r, timeZone: i = ye() }) => e ? new Intl.DateTimeFormat(r, {
7831
+ day: "numeric",
7832
+ hour: t === 24 ? "2-digit" : "numeric",
7833
+ hourCycle: t === 24 ? "h23" : "h12",
7834
+ minute: "2-digit",
7835
+ month: "short",
7836
+ timeZone: i,
7837
+ ...n ? { year: "numeric" } : {}
7838
+ }).format(e) : "", Pi = (e, t) => {
7828
7839
  if (e.custom) return e.custom();
7829
7840
  let n = t?.timeZone ?? ye(), r = t?.locale ?? "en-US", i = Te(n);
7830
7841
  if (e.days !== void 0) return e.days < 0 ? {
@@ -7886,7 +7897,7 @@ var Zr = {
7886
7897
  to: wi(i, n)
7887
7898
  };
7888
7899
  }
7889
- }, Ni = {
7900
+ }, Fi = {
7890
7901
  clearButton: "Clear",
7891
7902
  customPresetLabel: "Custom",
7892
7903
  doneButton: "Done",
@@ -7907,7 +7918,7 @@ var Zr = {
7907
7918
  to: " to ",
7908
7919
  todayButton: "Today",
7909
7920
  utcTimeZoneLabel: "UTC"
7910
- }, Pi = ({ baseClass: t, currentMonth: n, date: r, state: i, timeZone: a }) => {
7921
+ }, Ii = ({ baseClass: t, currentMonth: n, date: r, state: i, timeZone: a }) => {
7911
7922
  let o = h(null), { buttonProps: s, cellProps: c, formattedDate: l, isDisabled: u, isOutsideVisibleRange: d, isSelected: f, isUnavailable: p } = je({ date: r }, i, o), m = r.month !== n.month || r.year !== n.year, g = "highlightedRange" in i ? i : null, _ = !!g?.highlightedRange && r.compare(g.highlightedRange.start) === 0, v = !!g?.highlightedRange && r.compare(g.highlightedRange.end) === 0, y = f && g && !_ && !v, b = d || m, x = r.compare(Te(a)) === 0;
7912
7923
  return /* @__PURE__ */ e.createElement("td", {
7913
7924
  ...c,
@@ -7929,7 +7940,7 @@ var Zr = {
7929
7940
  ]),
7930
7941
  hidden: b
7931
7942
  }, l));
7932
- }, Fi = ({ baseClass: t, monthOffset: n = 0, state: r, timeZone: i }) => {
7943
+ }, Li = ({ baseClass: t, monthOffset: n = 0, state: r, timeZone: i }) => {
7933
7944
  let a = r.visibleRange.start.add({ months: n }), { gridProps: o, headerProps: s, weekDays: c, weeksInMonth: l } = Me({ startDate: a }, r);
7934
7945
  return /* @__PURE__ */ e.createElement("table", {
7935
7946
  ...o,
@@ -7937,7 +7948,7 @@ var Zr = {
7937
7948
  }, /* @__PURE__ */ e.createElement("thead", s, /* @__PURE__ */ e.createElement("tr", null, c.map((n, r) => /* @__PURE__ */ e.createElement("th", {
7938
7949
  key: r,
7939
7950
  className: `${t}__weekday`
7940
- }, n)))), /* @__PURE__ */ e.createElement("tbody", null, [...Array(l).keys()].map((n) => /* @__PURE__ */ e.createElement("tr", { key: n }, r.getDatesInWeek(n, a).map((n, o) => n ? /* @__PURE__ */ e.createElement(Pi, {
7951
+ }, n)))), /* @__PURE__ */ e.createElement("tbody", null, [...Array(l).keys()].map((n) => /* @__PURE__ */ e.createElement("tr", { key: n }, r.getDatesInWeek(n, a).map((n, o) => n ? /* @__PURE__ */ e.createElement(Ii, {
7941
7952
  key: o,
7942
7953
  baseClass: t,
7943
7954
  currentMonth: a,
@@ -7945,9 +7956,9 @@ var Zr = {
7945
7956
  state: r,
7946
7957
  timeZone: i
7947
7958
  }) : /* @__PURE__ */ e.createElement("td", { key: o }))))));
7948
- }, Ii = ({ allowCustomRange: t = !0, allowDateRangeSelection: n = !0, className: r, defaultPresetLabel: i, disabled: a = !1, footerNote: o, hourCycle: s = 12, id: c, inputWidth: l, inputWidthMin: d, label: f, locale: p, maxDate: _, message: v, minDate: y, mode: b = "single", onChange: x, placeholder: C, presets: w, required: T = !1, showLabel: E = !0, showPresetCalendar: D = !0, showTime: O = !1, showTimeZoneSwitcher: k = !1, showTodayButton: A = !0, timeZone: j = ye(), tooltipText: M, translationStrings: N, validationMessage: P, validationStatus: F, value: I, visibleMonths: L = 2, ...R }) => {
7959
+ }, Ri = ({ allowCustomRange: t = !0, allowDateRangeSelection: n = !0, className: r, defaultPresetLabel: i, disabled: a = !1, footerNote: o, hourCycle: s = 12, id: c, inputWidth: l, inputWidthMin: d, label: f, locale: p, maxDate: _, message: v, minDate: y, mode: b = "single", onChange: x, placeholder: C, presets: w, required: T = !1, showLabel: E = !0, showPresetCalendar: D = !0, showTime: O = !1, showTimeZoneSwitcher: k = !1, showTodayButton: A = !0, timeZone: j = ye(), tooltipText: M, translationStrings: N, validationMessage: P, validationStatus: F, value: I, visibleMonths: L = 2, ...R }) => {
7949
7960
  let z = b === "range", B = {
7950
- ...Ni,
7961
+ ...Fi,
7951
7962
  ...N
7952
7963
  }, V = z && !!w && w.length > 0;
7953
7964
  k && !O && process.env.NODE_ENV !== "production" && console.warn("[Datepicker] `showTimeZoneSwitcher` has no effect unless `showTime` is also true."), w && w.length > 0 && !z && process.env.NODE_ENV !== "production" && console.warn("[Datepicker] `presets` requires `mode=\"range\"` — every preset computes a date range."), !t && !V && process.env.NODE_ENV !== "production" && console.warn("[Datepicker] `allowCustomRange` has no effect unless `presets` is also set."), i !== void 0 && !(V && w?.some((e) => e.label === i)) && process.env.NODE_ENV !== "production" && console.warn(`[Datepicker] \`defaultPresetLabel\` "${i}" matches no entry in \`presets\` — nothing is seeded as active.`);
@@ -7956,7 +7967,7 @@ var Zr = {
7956
7967
  z,
7957
7968
  w
7958
7969
  ]), W = (e) => {
7959
- let t = Mi(e, {
7970
+ let t = Pi(e, {
7960
7971
  locale: U,
7961
7972
  timeZone: j
7962
7973
  }), n = e.hours !== void 0 || e.minutes !== void 0;
@@ -8027,7 +8038,7 @@ var Zr = {
8027
8038
  let e = Te(J);
8028
8039
  Ke.setFocusedDate(e), z ? (Ge.setValue(null), K(void 0), re(void 0), x?.(void 0)) : (Ue.setValue(e), He(Oi(e, O ? de : void 0, J), void 0, !O));
8029
8040
  }, pt = (e) => {
8030
- let t = Mi(e, {
8041
+ let t = Pi(e, {
8031
8042
  locale: U,
8032
8043
  timeZone: J
8033
8044
  }), n = e.hours !== void 0 || e.minutes !== void 0;
@@ -8084,24 +8095,29 @@ var Zr = {
8084
8095
  }, [Me]), u(() => {
8085
8096
  ce.current && (ce.current.inert = !Y);
8086
8097
  }, [Y]);
8087
- let _t = w?.find((e) => e.label === ne), vt = _t && (_t.showLabelInTrigger ?? (_t.hours !== void 0 || _t.minutes !== void 0)) ? _t.label : void 0, yt = () => {
8098
+ let _t = w?.find((e) => e.label === ne), vt = _t && (_t.showLabelInTrigger ?? (_t.hours !== void 0 || _t.minutes !== void 0)) ? _t.label : void 0, yt = Mi(z ? [G?.from, G?.to] : [G], J), bt = (e) => O ? Ni(e, {
8099
+ hourCycle: s,
8100
+ includeYear: yt,
8101
+ localeString: U,
8102
+ timeZone: J
8103
+ }) : ji(e, p, J), xt = () => {
8088
8104
  if (vt !== void 0) return vt;
8089
8105
  if (z) {
8090
8106
  let t = G;
8091
- return t?.from ? t.to ? /* @__PURE__ */ e.createElement(e.Fragment, null, ji(t.from, p, J), /* @__PURE__ */ e.createElement("span", { className: `${X}__separator` }, " – "), ji(t.to, p, J)) : ji(t.from, p, J) : C || "";
8107
+ return t?.from ? t.to ? /* @__PURE__ */ e.createElement(e.Fragment, null, bt(t.from), /* @__PURE__ */ e.createElement("span", { className: `${X}__separator` }, " – "), bt(t.to)) : bt(t.from) : C || "";
8092
8108
  } else {
8093
8109
  let e = G;
8094
- return e ? ji(e, p, J) : C || "";
8110
+ return e ? bt(e) : C || "";
8095
8111
  }
8096
- }, bt = () => vt === void 0 ? z ? !G?.from : !G : !1, xt = () => {
8112
+ }, St = () => vt === void 0 ? z ? !G?.from : !G : !1, Ct = () => {
8097
8113
  if (z) {
8098
8114
  let e = G, t = Ge.anchorDate;
8099
- return !e?.from && t ? `${B.selectedStartDate}${ji(wi(t, J), p, J)}${B.pleaseSelectEndDate}` : e?.from ? e.to ? `${B.selectedDateRange}${ji(e.from, p, J)}${B.to}${ji(e.to, p, J)}` : `${B.selectedStartDate}${ji(e.from, p, J)}${B.pleaseSelectEndDate}` : B.noDateRangeSelected || "";
8115
+ return !e?.from && t ? `${B.selectedStartDate}${ji(wi(t, J), p, J)}${B.pleaseSelectEndDate}` : e?.from ? e.to ? `${B.selectedDateRange}${bt(e.from)}${B.to}${bt(e.to)}` : `${B.selectedStartDate}${bt(e.from)}${B.pleaseSelectEndDate}` : B.noDateRangeSelected || "";
8100
8116
  } else {
8101
8117
  let e = G;
8102
- return e ? `${B.selectedDate}${ji(e, p, J)}` : B.noDateSelected || "";
8118
+ return e ? `${B.selectedDate}${bt(e)}` : B.noDateSelected || "";
8103
8119
  }
8104
- }, St = z ? G : void 0, Ct = /* @__PURE__ */ e.createElement("div", {
8120
+ }, wt = z ? G : void 0, Tt = /* @__PURE__ */ e.createElement("div", {
8105
8121
  ...$e,
8106
8122
  ref: z ? We : void 0,
8107
8123
  className: `${X}__calendar`
@@ -8138,13 +8154,13 @@ var Zr = {
8138
8154
  }, /* @__PURE__ */ e.createElement(Q, {
8139
8155
  iconName: "angleRight",
8140
8156
  size: "m"
8141
- }))), /* @__PURE__ */ e.createElement(Fi, {
8157
+ }))), /* @__PURE__ */ e.createElement(Li, {
8142
8158
  baseClass: X,
8143
8159
  monthOffset: t,
8144
8160
  state: Ke,
8145
8161
  timeZone: J
8146
8162
  })))), O && /* @__PURE__ */ e.createElement("div", { className: `${X}__time-section` }, z ? /* @__PURE__ */ e.createElement("div", { className: `${X}__time-fields` }, /* @__PURE__ */ e.createElement(Si, {
8147
- anchorDate: Ci(St?.from, J),
8163
+ anchorDate: Ci(wt?.from, J),
8148
8164
  hourCycle: s,
8149
8165
  id: `${c}-start-time`,
8150
8166
  label: B.startTimeLabel || "",
@@ -8153,7 +8169,7 @@ var Zr = {
8153
8169
  timeZone: J,
8154
8170
  value: de
8155
8171
  }), /* @__PURE__ */ e.createElement(Si, {
8156
- anchorDate: Ci(St?.to, J),
8172
+ anchorDate: Ci(wt?.to, J),
8157
8173
  hourCycle: s,
8158
8174
  id: `${c}-end-time`,
8159
8175
  label: B.endTimeLabel || "",
@@ -8224,7 +8240,7 @@ var Zr = {
8224
8240
  }, /* @__PURE__ */ e.createElement(Q, {
8225
8241
  className: `${X}__trigger-icon`,
8226
8242
  iconName: "calendarDays"
8227
- }), /* @__PURE__ */ e.createElement("span", { className: Z([`${X}__trigger-text`, bt() ? `${X}__trigger-text--placeholder` : null]) }, yt()))), Se && /* @__PURE__ */ e.createElement(un, {
8243
+ }), /* @__PURE__ */ e.createElement("span", { className: Z([`${X}__trigger-text`, St() ? `${X}__trigger-text--placeholder` : null]) }, xt()))), Se && /* @__PURE__ */ e.createElement(un, {
8228
8244
  hasValidationMessage: !!P,
8229
8245
  id: c,
8230
8246
  message: Se,
@@ -8260,15 +8276,19 @@ var Zr = {
8260
8276
  }, B.customPresetLabel, !D && /* @__PURE__ */ e.createElement(Q, {
8261
8277
  iconName: "angleRight",
8262
8278
  size: "xs"
8263
- })))), O && k && Ce), /* @__PURE__ */ e.createElement("div", { className: "visually-hidden" }, xt()), V ? oe && /* @__PURE__ */ e.createElement("div", {
8279
+ })))), O && k && Ce), /* @__PURE__ */ e.createElement("div", {
8280
+ "aria-atomic": "true",
8281
+ "aria-live": "polite",
8282
+ className: "visually-hidden"
8283
+ }, Ct()), V ? oe && /* @__PURE__ */ e.createElement("div", {
8264
8284
  ref: ce,
8265
8285
  className: `${X}__calendar-wrapper`,
8266
8286
  style: { flexBasis: Y ? se : 0 }
8267
8287
  }, /* @__PURE__ */ e.createElement("div", {
8268
8288
  className: `${X}__calendar-wrapper-inner`,
8269
8289
  style: { width: se }
8270
- }, Ct)) : Ct))));
8271
- }, Li = o(({ accept: t, className: n, defaultValue: r, disabled: i = !1, fieldLabel: a, id: o, inputProps: s, inputWidth: c, inputWidthMin: l, labelStrings: d = {
8290
+ }, Tt)) : Tt))));
8291
+ }, zi = o(({ accept: t, className: n, defaultValue: r, disabled: i = !1, fieldLabel: a, id: o, inputProps: s, inputWidth: c, inputWidthMin: l, labelStrings: d = {
8272
8292
  chooseFile: "Choose file",
8273
8293
  clearButton: "Clear selected file"
8274
8294
  }, message: f, multiple: p = !1, onClear: m, onFileChange: h, required: _ = !1, showFullPath: v, showLabel: y = !0, size: b = "s", tooltipText: x = null, validationMessage: S, validationStatus: C, ...w }, T) => {
@@ -8352,7 +8372,7 @@ var Zr = {
8352
8372
  validationMessageHasDecorators: !1,
8353
8373
  validationStatus: C
8354
8374
  }));
8355
- }), Ri = ({ children: t, className: n, ...r }) => {
8375
+ }), Bi = ({ children: t, className: n, ...r }) => {
8356
8376
  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;
8357
8377
  return /* @__PURE__ */ e.createElement("div", {
8358
8378
  className: Z([
@@ -8369,7 +8389,7 @@ var Zr = {
8369
8389
  validationMessageHasDecorators: !1,
8370
8390
  validationStatus: l
8371
8391
  }));
8372
- }, zi = ({ className: t, defaultValue: n, disabled: r = !1, fieldsetProps: i, id: a, inputWidth: o, inputWidthMin: s, label: c, labelVariant: l, message: u, onBlur: d, onChange: f, onValueChange: p, options: m, required: h = !1, showLabel: _ = !0, tooltipText: v = null, validationMessage: y, validationStatus: b, value: x, ...S }) => {
8392
+ }, Vi = ({ className: t, defaultValue: n, disabled: r = !1, fieldsetProps: i, id: a, inputWidth: o, inputWidthMin: s, label: c, labelVariant: l, message: u, onBlur: d, onChange: f, onValueChange: p, options: m, required: h = !1, showLabel: _ = !0, tooltipText: v = null, validationMessage: y, validationStatus: b, value: x, ...S }) => {
8373
8393
  let C = "pds-radio-group", w = r ? $.disabled : null, T = h && !r ? $.required : null, E = b === "error" ? $.error : null, D = b === "success" ? $.success : null, O = x !== void 0, [k, A] = g(n === void 0 ? "" : n), j = y || u, M = (e) => {
8374
8394
  O || A(e.target.value), f && f(e), p && p(e.target.value);
8375
8395
  }, N = (e) => {
@@ -8419,7 +8439,7 @@ var Zr = {
8419
8439
  message: j,
8420
8440
  validationStatus: b
8421
8441
  }));
8422
- }, Bi = o(({ checked: t, className: n, defaultChecked: r, disabled: i = !1, id: a, inputProps: o, inputWidth: s, inputWidthMin: c, label: l, message: u, offLabel: d = "Off", onChange: f, onLabel: p = "On", required: m = !1, showLabel: h = !0, showStatusLabel: _ = !0, statusLabelPlacement: v = "right", switchPlacement: y = "right", ...b }, x) => {
8442
+ }, Hi = o(({ checked: t, className: n, defaultChecked: r, disabled: i = !1, id: a, inputProps: o, inputWidth: s, inputWidthMin: c, label: l, message: u, offLabel: d = "Off", onChange: f, onLabel: p = "On", required: m = !1, showLabel: h = !0, showStatusLabel: _ = !0, statusLabelPlacement: v = "right", switchPlacement: y = "right", ...b }, x) => {
8423
8443
  let S = on(s, c), C = "pds-switch", w = `${C}--${y}`, T = u ? `${C}--message` : null, E = i ? $.disabled : null, D = m && !i ? $.required : null, O = t !== void 0, [k, A] = g(!O && r ? r : !1), j = t || k ? p : d, M = (e) => {
8424
8444
  O || A(e.target.checked), f && f(e);
8425
8445
  }, N = _ ? /* @__PURE__ */ e.createElement("span", {
@@ -8474,7 +8494,7 @@ var Zr = {
8474
8494
  required: m,
8475
8495
  showLabel: h
8476
8496
  }), /* @__PURE__ */ e.createElement("div", { className: `${C}__content` }, I, F));
8477
- }), Vi = ({ disabled: t, dropTargetDirection: n, focusedIndex: r, index: i, isDragging: a, isSortable: o, onDragEnd: s, onDragOver: c, onDragStart: l, onFocusInput: d, onKeyboardMove: f, onRemove: p, setFocusedIndex: m, tag: g, totalTags: _, translationStrings: v }) => {
8497
+ }), Ui = ({ disabled: t, dropTargetDirection: n, focusedIndex: r, index: i, isDragging: a, isSortable: o, onDragEnd: s, onDragOver: c, onDragStart: l, onFocusInput: d, onKeyboardMove: f, onRemove: p, setFocusedIndex: m, tag: g, totalTags: _, translationStrings: v }) => {
8478
8498
  let y = h(null), b = "pds-tags-input__tag";
8479
8499
  u(() => {
8480
8500
  r === i && y.current && y.current.focus();
@@ -8541,7 +8561,7 @@ var Zr = {
8541
8561
  iconName: "xmark",
8542
8562
  size: "xs"
8543
8563
  })));
8544
- }, Hi = o(({ addMorePlaceholder: t = "Add another", className: n, disabled: r = !1, id: i, inputMinHeight: a, inputWidth: o, inputWidthMin: s, isSortable: c = !1, label: l, message: u, onChange: d, placeholder: f, required: p = !1, showLabel: m = !0, size: _ = "s", tags: v, tooltipText: y = null, translationStrings: b = {
8564
+ }, Wi = o(({ addMorePlaceholder: t = "Add another", className: n, disabled: r = !1, id: i, inputMinHeight: a, inputWidth: o, inputWidthMin: s, isSortable: c = !1, label: l, message: u, onChange: d, placeholder: f, required: p = !1, showLabel: m = !0, size: _ = "s", tags: v, tooltipText: y = null, translationStrings: b = {
8545
8565
  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.",
8546
8566
  tagAriaLabel: "tag {index} of {total}. Press Shift plus arrow keys to reorder, Delete to remove.",
8547
8567
  tagAriaLabelSimple: "tag {index} of {total}. Press Delete to remove.",
@@ -8627,7 +8647,7 @@ var Zr = {
8627
8647
  return F && F !== t.id && (L === t.id && z === "before" ? i = "before" : L === t.id && z === "after" && n === v.length - 1 ? i = "after" : n > 0 && L === v[n - 1].id && z === "after" && (i = "before")), /* @__PURE__ */ e.createElement("div", {
8628
8648
  key: t.id,
8629
8649
  role: "listitem"
8630
- }, /* @__PURE__ */ e.createElement(Vi, {
8650
+ }, /* @__PURE__ */ e.createElement(Ui, {
8631
8651
  disabled: r,
8632
8652
  dropTargetDirection: i,
8633
8653
  focusedIndex: V,
@@ -8671,7 +8691,7 @@ var Zr = {
8671
8691
  validationMessageHasDecorators: !1,
8672
8692
  validationStatus: S
8673
8693
  }));
8674
- }), Ui = o(({ className: t, counterMaxLength: n, defaultValue: r, disabled: i = !1, id: a, inputWidth: o, inputWidthMin: s, isResizable: c = !0, label: l, message: u, onBlur: d, onChange: f, onFocus: p, placeholder: m, readonly: h = !1, required: _ = !1, rows: v = 5, showLabel: y, size: b = "s", textareaProps: x, tooltipText: S = null, translationStrings: C = {
8694
+ }), Gi = o(({ className: t, counterMaxLength: n, defaultValue: r, disabled: i = !1, id: a, inputWidth: o, inputWidthMin: s, isResizable: c = !0, label: l, message: u, onBlur: d, onChange: f, onFocus: p, placeholder: m, readonly: h = !1, required: _ = !1, rows: v = 5, showLabel: y, size: b = "s", textareaProps: x, tooltipText: S = null, translationStrings: C = {
8675
8695
  clearButton: "Clear input text",
8676
8696
  counterOverLimit: "Character limit exceeded by",
8677
8697
  searchShortcut: "Press / to focus the search field",
@@ -8738,7 +8758,7 @@ var Zr = {
8738
8758
  message: R,
8739
8759
  validationStatus: T
8740
8760
  }));
8741
- }), Wi = () => /* @__PURE__ */ e.createElement("div", { className: "pds-text-input__url-prefix" }, "https://"), Gi = o(({ 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, inputWidthMin: f, label: p, message: m, onBlur: h, onChange: _, onClear: v, onFocus: y, placeholder: b, readonly: x = !1, required: S = !1, searchIcon: C = "search", showLabel: w = !0, showVisibilityToggle: T = !1, size: E = "s", tooltipText: D = null, translationStrings: O = {
8761
+ }), Ki = () => /* @__PURE__ */ e.createElement("div", { className: "pds-text-input__url-prefix" }, "https://"), qi = o(({ 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, inputWidthMin: f, label: p, message: m, onBlur: h, onChange: _, onClear: v, onFocus: y, placeholder: b, readonly: x = !1, required: S = !1, searchIcon: C = "search", showLabel: w = !0, showVisibilityToggle: T = !1, size: E = "s", tooltipText: D = null, translationStrings: O = {
8742
8762
  clearButton: "Clear input text",
8743
8763
  counterOverLimit: "Character limit exceeded by",
8744
8764
  searchShortcut: "Press / to focus the search field",
@@ -8810,7 +8830,7 @@ var Zr = {
8810
8830
  `${I}__input-wrapper`,
8811
8831
  c && k === "url" ? `${I}__input-wrapper--has-prefix` : null,
8812
8832
  J ? `${I}__input-wrapper--has-search-shortcut` : null
8813
- ]) }, ee && /* @__PURE__ */ e.createElement(fn, { variant: ee }), c && k === "url" && /* @__PURE__ */ e.createElement(Wi, null), /* @__PURE__ */ e.createElement("input", {
8833
+ ]) }, ee && /* @__PURE__ */ e.createElement(fn, { variant: ee }), c && k === "url" && /* @__PURE__ */ e.createElement(Ki, null), /* @__PURE__ */ e.createElement("input", {
8814
8834
  ref: P,
8815
8835
  "aria-describedby": W ? `${l}__message` : null,
8816
8836
  "aria-invalid": j === "error" ? !0 : null,
@@ -8858,7 +8878,7 @@ var Zr = {
8858
8878
  validationMessageHasDecorators: !1,
8859
8879
  validationStatus: j
8860
8880
  }));
8861
- }), Ki = ({ className: t, linkContent: n, size: r = "s", ...i }) => {
8881
+ }), Ji = ({ className: t, linkContent: n, size: r = "s", ...i }) => {
8862
8882
  let a = "pds-cta-link", o = r === "s" ? null : `${a}--${r}`;
8863
8883
  return /* @__PURE__ */ e.createElement("div", {
8864
8884
  className: Z([
@@ -8872,7 +8892,7 @@ var Zr = {
8872
8892
  iconName: "arrowRight",
8873
8893
  size: r === "m" ? "m" : "xs"
8874
8894
  }));
8875
- }, qi = ({ children: t, className: n, fontSize: r, isLoading: i, newWindowText: a = "opens in a new window", url: o, ...s }) => {
8895
+ }, Yi = ({ children: t, className: n, fontSize: r, isLoading: i, newWindowText: a = "opens in a new window", url: o, ...s }) => {
8876
8896
  let c = "pds-link-new-window", l = r ? `${c}--${r}` : null;
8877
8897
  return i ? /* @__PURE__ */ e.createElement("span", {
8878
8898
  "aria-hidden": "true",
@@ -8899,11 +8919,11 @@ var Zr = {
8899
8919
  className: `${c}__icon`,
8900
8920
  iconName: "externalLink"
8901
8921
  }));
8902
- }, Ji = ({ className: t, destination: n = "main", text: r = "Skip to main content", ...i }) => /* @__PURE__ */ e.createElement("a", {
8922
+ }, Xi = ({ className: t, destination: n = "main", text: r = "Skip to main content", ...i }) => /* @__PURE__ */ e.createElement("a", {
8903
8923
  className: Z(["pds-skiplink", t]),
8904
8924
  href: `#${n}`,
8905
8925
  ...i
8906
- }, r), Yi = ({ alt: t = "", className: n, height: r, srcFallback: i, srcWebp: a, width: o, ...s }) => {
8926
+ }, r), Zi = ({ alt: t = "", className: n, height: r, srcFallback: i, srcWebp: a, width: o, ...s }) => {
8907
8927
  let c = "pds-picture";
8908
8928
  return /* @__PURE__ */ e.createElement("picture", { className: Z([c, n ?? ""]) }, /* @__PURE__ */ e.createElement("source", {
8909
8929
  srcSet: a,
@@ -8916,7 +8936,7 @@ var Zr = {
8916
8936
  width: o,
8917
8937
  ...s
8918
8938
  }));
8919
- }, Xi = ({ children: t, className: n, menuAriaLabel: r, menuItems: i, variant: a = "dropdown", ...o }) => {
8939
+ }, Qi = ({ children: t, className: n, menuAriaLabel: r, menuItems: i, variant: a = "dropdown", ...o }) => {
8920
8940
  let s = "pds-row-actions-menu", c = a === "dropdown" ? null : `${s}--${a}`, l = d(), u = h(null);
8921
8941
  return /* @__PURE__ */ e.createElement("div", {
8922
8942
  className: Z([
@@ -8943,7 +8963,7 @@ var Zr = {
8943
8963
  size: "s",
8944
8964
  variant: "subtle"
8945
8965
  })));
8946
- }, Zi = (e, t = {}) => {
8966
+ }, $i = (e, t = {}) => {
8947
8967
  let { getRemoveCriticalLabel: n = (e) => `Remove ${e.title}`, removeLabel: r = "Remove", renameLabel: i = "Rename" } = t, a = [];
8948
8968
  return e.onRename && a.push({
8949
8969
  callback: e.onRename,
@@ -8956,11 +8976,11 @@ var Zr = {
8956
8976
  isCritical: !0,
8957
8977
  label: r
8958
8978
  }), a;
8959
- }, Qi = ({ text: t }) => /* @__PURE__ */ e.createElement("div", { className: "pds-bookmarks-empty-state" }, /* @__PURE__ */ e.createElement(Q, {
8979
+ }, ea = ({ text: t }) => /* @__PURE__ */ e.createElement("div", { className: "pds-bookmarks-empty-state" }, /* @__PURE__ */ e.createElement(Q, {
8960
8980
  className: "pds-bookmarks-empty-state__icon",
8961
8981
  iconName: "bookmark",
8962
8982
  size: "2xl"
8963
- }), /* @__PURE__ */ e.createElement("p", { className: "pds-bookmarks-empty-state__text" }, t)), $i = "Bookmark pages you visit often for quick access. Use the bookmark icon in the top bar to save your first one.", ea = ({ ariaLabel: t = "Bookmarks", bookmarks: n = [], className: r, createLabel: i = "Create", getMenuAriaLabel: a = (e) => `Actions for ${e.title}`, getRemoveCriticalLabel: o, heading: s = "Bookmarks", isBookmarked: c = !1, isMobileAccordion: l = !1, maxHeightValue: u, noResultsText: d = $i, onCreateBookmark: f, removeLabel: p, renameLabel: m, ...h }) => {
8983
+ }), /* @__PURE__ */ e.createElement("p", { className: "pds-bookmarks-empty-state__text" }, t)), ta = "Bookmark pages you visit often for quick access. Use the bookmark icon in the top bar to save your first one.", na = ({ ariaLabel: t = "Bookmarks", bookmarks: n = [], className: r, createLabel: i = "Create", getMenuAriaLabel: a = (e) => `Actions for ${e.title}`, getRemoveCriticalLabel: o, heading: s = "Bookmarks", isBookmarked: c = !1, isMobileAccordion: l = !1, maxHeightValue: u, noResultsText: d = ta, onCreateBookmark: f, removeLabel: p, renameLabel: m, ...h }) => {
8964
8984
  let g = "pds-bookmarks-menu", _ = Zt(), v = l && _, y = f && /* @__PURE__ */ e.createElement(kn, {
8965
8985
  displayType: "icon-start",
8966
8986
  iconName: "plus",
@@ -8975,7 +8995,7 @@ var Zr = {
8975
8995
  }, v ? /* @__PURE__ */ e.createElement(Ln, { label: /* @__PURE__ */ e.createElement("span", { className: `${g}__mobile-label` }, /* @__PURE__ */ e.createElement(Q, {
8976
8996
  iconName: c ? "bookmarkSolid" : "bookmark",
8977
8997
  size: "m"
8978
- }), s) }, n.length === 0 ? /* @__PURE__ */ e.createElement(Qi, { text: d }) : /* @__PURE__ */ e.createElement("ul", {
8998
+ }), s) }, n.length === 0 ? /* @__PURE__ */ e.createElement(ea, { text: d }) : /* @__PURE__ */ e.createElement("ul", {
8979
8999
  className: `${g}__mobile-list`,
8980
9000
  role: "menu"
8981
9001
  }, n.map((t) => {
@@ -8983,9 +9003,9 @@ var Zr = {
8983
9003
  return /* @__PURE__ */ e.createElement("li", {
8984
9004
  key: t.id ?? t.title,
8985
9005
  className: `${g}__mobile-item`
8986
- }, /* @__PURE__ */ e.createElement(Xi, {
9006
+ }, /* @__PURE__ */ e.createElement(Qi, {
8987
9007
  menuAriaLabel: a(t),
8988
- menuItems: Zi(t, {
9008
+ menuItems: $i(t, {
8989
9009
  getRemoveCriticalLabel: o,
8990
9010
  removeLabel: p,
8991
9011
  renameLabel: m
@@ -9005,13 +9025,13 @@ var Zr = {
9005
9025
  }, /* @__PURE__ */ e.createElement(Qn.Trigger, { "aria-label": t }, /* @__PURE__ */ e.createElement(Q, {
9006
9026
  iconName: c ? "bookmarkSolid" : "bookmark",
9007
9027
  size: "m"
9008
- })), /* @__PURE__ */ e.createElement(Qn.Panel, { className: `${g}__panel` }, /* @__PURE__ */ e.createElement(Qn.Heading, { className: `${g}__header` }, s, y), n.length === 0 ? /* @__PURE__ */ e.createElement(Qn.Heading, { className: `${g}__empty` }, /* @__PURE__ */ e.createElement(Qi, { text: d })) : n.map((t, n) => /* @__PURE__ */ e.createElement(Qn.ActionItem, {
9028
+ })), /* @__PURE__ */ e.createElement(Qn.Panel, { className: `${g}__panel` }, /* @__PURE__ */ e.createElement(Qn.Heading, { className: `${g}__header` }, s, y), n.length === 0 ? /* @__PURE__ */ e.createElement(Qn.Heading, { className: `${g}__empty` }, /* @__PURE__ */ e.createElement(ea, { text: d })) : n.map((t, n) => /* @__PURE__ */ e.createElement(Qn.ActionItem, {
9009
9029
  key: t.id ?? t.title,
9010
9030
  description: t.subtitle && /* @__PURE__ */ e.createElement("span", { title: t.subtitle }, t.subtitle),
9011
9031
  index: n,
9012
9032
  linkContent: t.linkContent,
9013
9033
  menuAriaLabel: a(t),
9014
- menuItems: Zi(t, {
9034
+ menuItems: $i(t, {
9015
9035
  getRemoveCriticalLabel: o,
9016
9036
  removeLabel: p,
9017
9037
  renameLabel: m
@@ -9020,7 +9040,7 @@ var Zr = {
9020
9040
  className: `${g}__item-title`,
9021
9041
  title: t.title
9022
9042
  }, t.title))))));
9023
- }, ta = ({ ariaLabel: t = "Breadcrumb", className: n, crumbs: i, ...a }) => {
9043
+ }, ra = ({ ariaLabel: t = "Breadcrumb", className: n, crumbs: i, ...a }) => {
9024
9044
  let o = "pds-breadcrumb", c = i.length, l = i.map((t, n) => {
9025
9045
  if (n < c - 1) return /* @__PURE__ */ e.createElement("li", {
9026
9046
  key: n,
@@ -9039,23 +9059,23 @@ var Zr = {
9039
9059
  className: Z([o, n]),
9040
9060
  ...a
9041
9061
  }, /* @__PURE__ */ e.createElement("ol", { className: `${o}__crumbs` }, l));
9042
- }, na = (e) => {
9062
+ }, ia = (e) => {
9043
9063
  if (!e) return null;
9044
9064
  for (let t = 0; t < e.length; t++) {
9045
- if (ia(e[t])) return typeof e[t].linkContent == "string" ? null : e[t].linkContent;
9065
+ if (oa(e[t])) return typeof e[t].linkContent == "string" ? null : e[t].linkContent;
9046
9066
  if (e[t].links) {
9047
- let n = na(e[t].links);
9067
+ let n = ia(e[t].links);
9048
9068
  if (n) return n;
9049
9069
  }
9050
9070
  }
9051
9071
  return null;
9052
- }, ra = (e) => typeof e == "string" ? e : e.props.children, ia = (e) => e.isSeparator || e.isHeading || typeof e.linkContent == "string" ? !1 : !!(e.isActive || e.linkContent.props.className && e.linkContent.props.className.includes("pds-isActive")), aa = (e) => {
9053
- if (ia(e)) return !0;
9072
+ }, aa = (e) => typeof e == "string" ? e : e.props.children, oa = (e) => e.isSeparator || e.isHeading || typeof e.linkContent == "string" ? !1 : !!(e.isActive || e.linkContent.props.className && e.linkContent.props.className.includes("pds-isActive")), sa = (e) => {
9073
+ if (oa(e)) return !0;
9054
9074
  if (e.links) {
9055
- for (let t = 0; t < e.links.length; t++) if (aa(e.links[t])) return !0;
9075
+ for (let t = 0; t < e.links.length; t++) if (sa(e.links[t])) return !0;
9056
9076
  }
9057
9077
  return !1;
9058
- }, oa = (e) => e.map((e) => `${ia(e)}${e.links ? `[${oa(e.links)}]` : ""}`).join("|"), sa = (e) => {
9078
+ }, ca = (e) => e.map((e) => `${oa(e)}${e.links ? `[${ca(e.links)}]` : ""}`).join("|"), la = (e) => {
9059
9079
  if (s(e)) {
9060
9080
  let t = e.type;
9061
9081
  if (t === "a" || typeof t == "string" && t.toLowerCase() === "a" || (typeof t == "function" || typeof t == "object") && t?.displayName === "Link") return !0;
@@ -9063,14 +9083,14 @@ var Zr = {
9063
9083
  return n.to !== void 0 || n.href !== void 0;
9064
9084
  }
9065
9085
  return !1;
9066
- }, ca = (e, t) => {
9086
+ }, ua = (e, t) => {
9067
9087
  let n = null;
9068
9088
  if (typeof e == "string" && t) {
9069
9089
  let i = t ? t[0].linkContent : null;
9070
9090
  s(i) && (n = r(i, { ...typeof e == "string" ? { children: e } : {} }));
9071
9091
  } else n = e;
9072
9092
  return n;
9073
- }, la = (t, n, i, a) => {
9093
+ }, da = (t, n, i, a) => {
9074
9094
  let o = null;
9075
9095
  if (typeof n == "string") {
9076
9096
  let c = a ? [/* @__PURE__ */ e.createElement("span", {
@@ -9095,8 +9115,8 @@ var Zr = {
9095
9115
  iconName: a,
9096
9116
  size: "m"
9097
9117
  })), /* @__PURE__ */ e.createElement("span", { className: `${t}__link-label` }, n.props.children))] })) : n), o;
9098
- }, ua = ({ className: t, headingText: n, menuItems: i, selectTextFallback: a = "Navigate to...", ...o }) => {
9099
- let s = "pds-dropdown-menu", c = na(i), l = c ? c.props.children : a, u = /* @__PURE__ */ e.createElement(cr, { 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 } = In({
9118
+ }, fa = ({ className: t, headingText: n, menuItems: i, selectTextFallback: a = "Navigate to...", ...o }) => {
9119
+ let s = "pds-dropdown-menu", c = ia(i), l = c ? c.props.children : a, u = /* @__PURE__ */ e.createElement(cr, { 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 } = In({
9100
9120
  enableTypeahead: !0,
9101
9121
  matchReferenceWidth: !0,
9102
9122
  role: "menu"
@@ -9105,7 +9125,7 @@ var Zr = {
9105
9125
  }, w = (e) => {
9106
9126
  e.key === "Enter" && _.current[d]?.querySelector("a")?.click();
9107
9127
  }, T = ({ item: e, level: t }) => {
9108
- let n = ca(e.linkContent, e.links);
9128
+ let n = ua(e.linkContent, e.links);
9109
9129
  return {
9110
9130
  ...e,
9111
9131
  level: t,
@@ -9196,7 +9216,7 @@ var Zr = {
9196
9216
  tabIndex: d === n ? 0 : -1,
9197
9217
  ...m({ onKeyDown: w })
9198
9218
  }, t.linkContent, t.isActive === !0 && u)))));
9199
- }, da = ({ ariaLabel: t, className: n, hasBorder: r = !1, hasMobileDropdown: i = !1, menuItems: a, ...o }) => {
9219
+ }, pa = ({ ariaLabel: t, className: n, hasBorder: r = !1, hasMobileDropdown: i = !1, menuItems: a, ...o }) => {
9200
9220
  let s = h(null), c = "pds-button-nav", l = r ? `${c}--bordered` : null, d = i ? `${c}--has-mobile-dropdown` : null;
9201
9221
  u(() => {
9202
9222
  let e = (e) => {
@@ -9215,9 +9235,9 @@ var Zr = {
9215
9235
  return /* @__PURE__ */ e.createElement("li", { className: Z([r, t ? `${r}--active` : null]) }, n);
9216
9236
  }, p = a.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${c}__menu` }, a.map((t, n) => /* @__PURE__ */ e.createElement(f, {
9217
9237
  key: n,
9218
- isActive: aa(t),
9238
+ isActive: sa(t),
9219
9239
  linkContent: t.linkContent
9220
- }))) : null, m = /* @__PURE__ */ e.createElement(ua, {
9240
+ }))) : null, m = /* @__PURE__ */ e.createElement(fa, {
9221
9241
  className: `${c}__mobile`,
9222
9242
  menuItems: a,
9223
9243
  selectTextFallback: t
@@ -9233,7 +9253,7 @@ var Zr = {
9233
9253
  ]),
9234
9254
  ...o
9235
9255
  }, p, i && m);
9236
- }, fa = ({ children: t, className: n, width: r = "standard", ...i }) => {
9256
+ }, ma = ({ children: t, className: n, width: r = "standard", ...i }) => {
9237
9257
  let a = "pds-container", o = r === "standard" ? null : `${a}--${r}`;
9238
9258
  return /* @__PURE__ */ e.createElement("div", {
9239
9259
  className: Z([
@@ -9243,7 +9263,7 @@ var Zr = {
9243
9263
  ]),
9244
9264
  ...i
9245
9265
  }, t);
9246
- }, pa = (e) => e === "m" ? void 0 : { columnGap: e === "none" ? "0" : `var(--pds-spacing-${e})` }, ma = ({ children: t, className: n, colorType: r = "default", containerWidth: i = "x-wide", hideBorder: a, inlinePadding: o, itemsCenterGap: s = "m", itemsLeftGap: c = "m", itemsRightGap: l = "m", translationStrings: d = {
9266
+ }, ha = (e) => e === "m" ? void 0 : { columnGap: e === "none" ? "0" : `var(--pds-spacing-${e})` }, ga = ({ children: t, className: n, colorType: r = "default", containerWidth: i = "x-wide", hideBorder: a, inlinePadding: o, itemsCenterGap: s = "m", itemsLeftGap: c = "m", itemsRightGap: l = "m", translationStrings: d = {
9247
9267
  closeMobileNav: "Close navigation area",
9248
9268
  openMobileNav: "Open navigation area"
9249
9269
  }, ...f }) => {
@@ -9299,7 +9319,7 @@ var Zr = {
9299
9319
  n ?? ""
9300
9320
  ]),
9301
9321
  ...f
9302
- }, h ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${y}__bar-mobile` }, /* @__PURE__ */ e.createElement(fa, null, /* @__PURE__ */ e.createElement("div", { className: `${y}__inner-mobile` }, E, M && N))), /* @__PURE__ */ e.createElement(Rn.Provider, { value: !0 }, /* @__PURE__ */ e.createElement(He, {
9322
+ }, h ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${y}__bar-mobile` }, /* @__PURE__ */ e.createElement(ma, null, /* @__PURE__ */ e.createElement("div", { className: `${y}__inner-mobile` }, E, M && N))), /* @__PURE__ */ e.createElement(Rn.Provider, { value: !0 }, /* @__PURE__ */ e.createElement(He, {
9303
9323
  active: p,
9304
9324
  focusTrapOptions: {
9305
9325
  clickOutsideDeactivates: !0,
@@ -9309,11 +9329,11 @@ var Zr = {
9309
9329
  }, /* @__PURE__ */ e.createElement("div", {
9310
9330
  className: Z([`${y}__mobile`, p ? `${y}__mobile--open` : null]),
9311
9331
  inert: p ? void 0 : ""
9312
- }, /* @__PURE__ */ e.createElement(fa, null, /* @__PURE__ */ e.createElement("button", {
9332
+ }, /* @__PURE__ */ e.createElement(ma, null, /* @__PURE__ */ e.createElement("button", {
9313
9333
  className: "visually-hidden",
9314
9334
  onClick: C,
9315
9335
  type: "button"
9316
- }, d.closeMobileNav), D, O, k))))) : /* @__PURE__ */ e.createElement(fa, {
9336
+ }, d.closeMobileNav), D, O, k))))) : /* @__PURE__ */ e.createElement(ma, {
9317
9337
  className: `${y}__inner`,
9318
9338
  style: o ? { paddingInline: o } : void 0,
9319
9339
  width: i
@@ -9322,22 +9342,22 @@ var Zr = {
9322
9342
  className: `${y}__separator`
9323
9343
  }), D && /* @__PURE__ */ e.createElement("div", {
9324
9344
  className: `${y}__items-left`,
9325
- style: pa(c)
9345
+ style: ha(c)
9326
9346
  }, D)), O && /* @__PURE__ */ e.createElement("div", {
9327
9347
  className: `${y}__items-center`,
9328
- style: pa(s)
9348
+ style: ha(s)
9329
9349
  }, O), k && /* @__PURE__ */ e.createElement("div", {
9330
9350
  className: `${y}__items-right`,
9331
- style: pa(l)
9351
+ style: ha(l)
9332
9352
  }, k)));
9333
- }, ha = ({ ariaLabel: t, className: n, hasMobileDropdown: i = !1, headingText: a, labels: o = {
9353
+ }, _a = ({ ariaLabel: t, className: n, hasMobileDropdown: i = !1, headingText: a, labels: o = {
9334
9354
  submenu: "submenu",
9335
9355
  toggle: "Toggle"
9336
9356
  }, menuItems: c, mobileMenuSelectTextFallback: l = "Navigate to...", ...d }) => {
9337
9357
  let f = "pds-side-nav", p = i ? `${f}--has-mobile-dropdown` : null, m = `${f}__item`, h = `${f}__menu`, [_, v] = g({});
9338
9358
  u(() => {
9339
9359
  v((e) => Object.keys(e).length ? {} : e);
9340
- }, [oa(c)]);
9360
+ }, [ca(c)]);
9341
9361
  let y = (e, t) => t in _ ? _[t] : e, b = (e, t) => {
9342
9362
  v((n) => {
9343
9363
  let r = t in n ? n[t] : e;
@@ -9347,7 +9367,7 @@ var Zr = {
9347
9367
  };
9348
9368
  });
9349
9369
  }, x = (t, n) => {
9350
- let { linkContent: i, links: a } = t, c = aa(t), l = sa(i), u = y(c, n);
9370
+ let { linkContent: i, links: a } = t, c = sa(t), l = la(i), u = y(c, n);
9351
9371
  return /* @__PURE__ */ e.createElement("li", {
9352
9372
  key: n,
9353
9373
  className: Z([
@@ -9360,7 +9380,7 @@ var Zr = {
9360
9380
  `${f}__row`,
9361
9381
  `${f}__row--expandable`,
9362
9382
  `${m}-wrapper`
9363
- ]) }, ca(i, a), /* @__PURE__ */ e.createElement("button", {
9383
+ ]) }, ua(i, a), /* @__PURE__ */ e.createElement("button", {
9364
9384
  "aria-expanded": u,
9365
9385
  className: Z([`${f}__toggle`, u ? `${f}__toggle--expanded` : null]),
9366
9386
  onClick: () => b(c, n),
@@ -9368,7 +9388,7 @@ var Zr = {
9368
9388
  }, /* @__PURE__ */ e.createElement(Q, {
9369
9389
  iconName: "angleDown",
9370
9390
  size: "m"
9371
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${o.toggle} ${ra(i)} ${o.submenu}`))), /* @__PURE__ */ e.createElement("ul", { className: Z([
9391
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${o.toggle} ${aa(i)} ${o.submenu}`))), /* @__PURE__ */ e.createElement("ul", { className: Z([
9372
9392
  h,
9373
9393
  `${h}--second-level`,
9374
9394
  u ? `${h}--expanded` : null
@@ -9377,9 +9397,9 @@ var Zr = {
9377
9397
  className: Z([
9378
9398
  m,
9379
9399
  `${m}--second-level`,
9380
- aa(t) ? `${m}--active` : null
9400
+ sa(t) ? `${m}--active` : null
9381
9401
  ])
9382
- }, ca(t.linkContent, t.links))))) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("button", {
9402
+ }, ua(t.linkContent, t.links))))) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("button", {
9383
9403
  "aria-expanded": u,
9384
9404
  className: Z([
9385
9405
  `${f}__row`,
@@ -9393,7 +9413,7 @@ var Zr = {
9393
9413
  }, s(i) && i.type === "span" ? r(i, { className: Z([i.props.className, `${f}__toggle-content`]) }) : /* @__PURE__ */ e.createElement("span", { className: `${f}__toggle-content` }, i), /* @__PURE__ */ e.createElement(Q, {
9394
9414
  iconName: "angleDown",
9395
9415
  size: "m"
9396
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${o.toggle} ${ra(i)} ${o.submenu}`)), /* @__PURE__ */ e.createElement("ul", { className: Z([
9416
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${o.toggle} ${aa(i)} ${o.submenu}`)), /* @__PURE__ */ e.createElement("ul", { className: Z([
9397
9417
  h,
9398
9418
  `${h}--second-level`,
9399
9419
  u ? `${h}--expanded` : null
@@ -9402,10 +9422,10 @@ var Zr = {
9402
9422
  className: Z([
9403
9423
  m,
9404
9424
  `${m}--second-level`,
9405
- aa(t) ? `${m}--active` : null
9425
+ sa(t) ? `${m}--active` : null
9406
9426
  ])
9407
- }, ca(t.linkContent, t.links))))) : i);
9408
- }, 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(ua, {
9427
+ }, ua(t.linkContent, t.links))))) : i);
9428
+ }, 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(fa, {
9409
9429
  className: `${f}__mobile`,
9410
9430
  headingText: a,
9411
9431
  menuItems: c,
@@ -9420,7 +9440,7 @@ var Zr = {
9420
9440
  ]),
9421
9441
  ...d
9422
9442
  }, S, i && C);
9423
- }, ga = () => {
9443
+ }, va = () => {
9424
9444
  let e = typeof window < "u", t = (e) => e >= 1440 ? "xl" : e >= 1280 ? "lg" : e >= 768 ? "md" : "sm", [n, r] = g(e ? t(window.innerWidth) : "lg");
9425
9445
  return u(() => {
9426
9446
  if (!e) return;
@@ -9431,8 +9451,8 @@ var Zr = {
9431
9451
  window.removeEventListener("resize", n);
9432
9452
  };
9433
9453
  }, []), n;
9434
- }, _a = ({ icon: t, isActive: n, isExpanded: r, isSidebarCollapsed: i, labels: a, linkContent: o, links: s, onExpandSidebar: c, onToggleExpand: l }) => {
9435
- let d = "pds-side-nav-global", f = `${d}__item`, p = `${d}__menu`, m = /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, la(d, o, s, t)), _ = (t, n, i = !1) => /* @__PURE__ */ e.createElement("ul", { className: Z([
9454
+ }, ya = ({ icon: t, isActive: n, isExpanded: r, isSidebarCollapsed: i, labels: a, linkContent: o, links: s, onExpandSidebar: c, onToggleExpand: l }) => {
9455
+ let d = "pds-side-nav-global", f = `${d}__item`, p = `${d}__menu`, m = /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, da(d, o, s, t)), _ = (t, n, i = !1) => /* @__PURE__ */ e.createElement("ul", { className: Z([
9436
9456
  p,
9437
9457
  `${p}--${n}`,
9438
9458
  r ? `${p}--expanded` : null
@@ -9444,7 +9464,7 @@ var Zr = {
9444
9464
  className: Z([
9445
9465
  f,
9446
9466
  `${f}--${n}`,
9447
- aa(t) ? `${f}--active` : null
9467
+ sa(t) ? `${f}--active` : null
9448
9468
  ]),
9449
9469
  role: i ? "menuitem" : void 0,
9450
9470
  tabIndex: i ? b === r ? 0 : -1 : void 0,
@@ -9500,7 +9520,7 @@ var Zr = {
9500
9520
  (C.current[e]?.querySelector("a"))?.click(), y(!1);
9501
9521
  }, G = (e, t) => {
9502
9522
  e.key === "Enter" && (e.preventDefault(), W(t));
9503
- }, K = ga() === "sm", q = (e) => {
9523
+ }, K = va() === "sm", q = (e) => {
9504
9524
  if (!(!i || !s) && e.nativeEvent.pointerType === "touch") {
9505
9525
  if (K) {
9506
9526
  e.preventDefault(), e.stopPropagation(), y(!0);
@@ -9513,7 +9533,7 @@ var Zr = {
9513
9533
  className: `${d}__flyout`,
9514
9534
  style: P,
9515
9535
  ...R({ onKeyDown: I })
9516
- }, /* @__PURE__ */ e.createElement("div", { className: `${d}__flyout-heading` }, ra(o)), _(s, "second-level-flyout", !0)));
9536
+ }, /* @__PURE__ */ e.createElement("div", { className: `${d}__flyout-heading` }, aa(o)), _(s, "second-level-flyout", !0)));
9517
9537
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("li", {
9518
9538
  ref: i ? F.setReference : null,
9519
9539
  className: Z([
@@ -9527,7 +9547,7 @@ var Zr = {
9527
9547
  onClick: q,
9528
9548
  onKeyDown: ee
9529
9549
  })
9530
- }, s ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, la(d, o, s, t), !i && /* @__PURE__ */ e.createElement("button", {
9550
+ }, s ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, da(d, o, s, t), !i && /* @__PURE__ */ e.createElement("button", {
9531
9551
  "aria-expanded": r,
9532
9552
  className: Z([`${d}__toggle`, r ? `${d}__toggle--expanded` : null]),
9533
9553
  onClick: l,
@@ -9535,9 +9555,9 @@ var Zr = {
9535
9555
  }, /* @__PURE__ */ e.createElement(Q, {
9536
9556
  iconName: "angleDown",
9537
9557
  size: "m"
9538
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${a.toggle} ${ra(o)} ${a.submenu}`))), !i && _(s, "second-level")) : /* @__PURE__ */ e.createElement(e.Fragment, null, i ? /* @__PURE__ */ e.createElement(an, {
9558
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${a.toggle} ${aa(o)} ${a.submenu}`))), !i && _(s, "second-level")) : /* @__PURE__ */ e.createElement(e.Fragment, null, i ? /* @__PURE__ */ e.createElement(an, {
9539
9559
  disableTapTrigger: !0,
9540
- content: ra(o),
9560
+ content: aa(o),
9541
9561
  customTrigger: m,
9542
9562
  offsetValue: {
9543
9563
  mainAxis: 8,
@@ -9545,14 +9565,14 @@ var Zr = {
9545
9565
  },
9546
9566
  preferredPlacement: "right"
9547
9567
  }) : m)), te);
9548
- }, va = ({ ariaLabel: t, className: n, isSidebarCollapsed: r, labels: i = {
9568
+ }, ba = ({ ariaLabel: t, className: n, isSidebarCollapsed: r, labels: i = {
9549
9569
  submenu: "submenu",
9550
9570
  toggle: "Toggle"
9551
9571
  }, menuItems: a, onExpandSidebar: o, ...s }) => {
9552
9572
  let c = "pds-side-nav-global", l = r ? `${c}--collapsed` : `${c}--expanded`, [d, f] = g({});
9553
9573
  u(() => {
9554
9574
  f((e) => Object.keys(e).length ? {} : e);
9555
- }, [oa(a)]);
9575
+ }, [ca(a)]);
9556
9576
  let p = (e, t) => t in d ? d[t] : e, m = (e, t) => {
9557
9577
  f((n) => {
9558
9578
  let r = t in n ? n[t] : e;
@@ -9573,8 +9593,8 @@ var Zr = {
9573
9593
  className: `${c}__section-label`,
9574
9594
  role: "presentation"
9575
9595
  }, t.label);
9576
- let a = aa(t);
9577
- return /* @__PURE__ */ e.createElement(_a, {
9596
+ let a = sa(t);
9597
+ return /* @__PURE__ */ e.createElement(ya, {
9578
9598
  key: n,
9579
9599
  icon: t.icon,
9580
9600
  isActive: a,
@@ -9596,7 +9616,7 @@ var Zr = {
9596
9616
  ]),
9597
9617
  ...s
9598
9618
  }, h);
9599
- }, ya = ({ items: t, label: n }) => {
9619
+ }, xa = ({ items: t, label: n }) => {
9600
9620
  let r = h(null), i = "pds-nav-menu", a = t && t.length > 0, { floatingStyles: o, getFloatingProps: s, getReferenceProps: c, isOpen: l, refs: u } = In({
9601
9621
  offsetValue: 8,
9602
9622
  openOnHover: !Zt()
@@ -9633,7 +9653,7 @@ var Zr = {
9633
9653
  key: n,
9634
9654
  className: `${i}__item ${t.isSeparator ? "pds-dropdown__separator" : `pds-dropdown__item${p(t) ? " pds-dropdown__item--active" : ""}`}`
9635
9655
  }, !t.isSeparator && t.linkContent)))));
9636
- }, ba = ({ ariaLabel: t = "Main Navigation", className: n, menuItems: r, ...i }) => {
9656
+ }, Sa = ({ ariaLabel: t = "Main Navigation", className: n, menuItems: r, ...i }) => {
9637
9657
  let [a, o] = g(null), [s, c] = g(-1), [l, f] = g(null), [p, m] = g({
9638
9658
  container: null,
9639
9659
  containerChildren: []
@@ -9680,7 +9700,7 @@ var Zr = {
9680
9700
  },
9681
9701
  className: `${v}__item ${v}__item--top-level ${v}__item--has-children ${x(t) === !0 ? `${v}__item--active` : ""}`,
9682
9702
  id: i
9683
- }, /* @__PURE__ */ e.createElement(ya, {
9703
+ }, /* @__PURE__ */ e.createElement(xa, {
9684
9704
  items: t.links,
9685
9705
  label: t.label
9686
9706
  }))) : S.push(/* @__PURE__ */ e.createElement("li", {
@@ -9699,72 +9719,67 @@ var Zr = {
9699
9719
  },
9700
9720
  ...i
9701
9721
  }, /* @__PURE__ */ e.createElement("ul", { className: `${v}__menu` }, S));
9702
- }, xa = ({ buttonLabel: t = "Toggle dropdown", filterLabel: n = "Filter items", filterPlaceholder: r = "Filter items...", links: i, minFilterItems: a = 5, noResultsText: o = "No results found" }) => {
9703
- let [s, c] = g(i), [l, d] = g(""), f = i.length >= a, p = "pds-tab-menu", m = `${p}__dropdown-menu`, h = f ? `${m}--scroll` : null, _ = `${p}__dropdown-item`, { activeIndex: v, floatingStyles: y, getFloatingProps: b, getItemProps: x, getReferenceProps: C, isMounted: w, isOpen: T, listRef: E, refs: D, setActiveIndex: O, transitionStyles: k } = In({
9722
+ }, Ca = ({ buttonLabel: t = "Toggle dropdown", filterLabel: n = "Filter items", filterPlaceholder: r = "Filter items...", links: i, minFilterItems: a = 5, noResultsText: o = "No results found" }) => {
9723
+ let [s, c] = g(""), l = i.length >= a, u = "pds-tab-menu", d = `${u}__dropdown-menu`, f = l ? `${d}--scroll` : null, p = `${u}__dropdown-item`, { activeIndex: h, floatingStyles: _, getFloatingProps: v, getItemProps: y, getReferenceProps: b, isMounted: x, isOpen: C, listRef: w, refs: T, setActiveIndex: E, transitionStyles: D } = In({
9704
9724
  offsetValue: 8,
9705
9725
  placement: "bottom-start",
9706
9726
  role: "listbox"
9707
- }), A = Bn("var(--pds-z-index-dropdown)"), j = (e) => {
9708
- e.preventDefault(), e.key === "Enter" && E.current[v].querySelector("a")?.click(), e.key === "Tab" && e.shiftKey && f && document.getElementById("links-filter").focus();
9709
- }, M = (e, t) => ra(e.linkContent).toLowerCase().includes(t.toLowerCase()), N = (e) => {
9710
- let t = e.target.value;
9711
- d(t), c(i.filter((e) => M(e, t)));
9712
- };
9713
- u(() => {
9714
- c(i.filter((e) => M(e, l)));
9715
- }, [i]);
9716
- let P = () => {
9717
- d(""), c(i);
9718
- }, F = {
9727
+ }), O = Bn("var(--pds-z-index-dropdown)"), k = (e) => {
9728
+ e.preventDefault(), e.key === "Enter" && w.current[h].querySelector("a")?.click(), e.key === "Tab" && e.shiftKey && l && document.getElementById("links-filter").focus();
9729
+ }, A = (e, t) => aa(e.linkContent).toLowerCase().includes(t.toLowerCase()), j = m(() => i.filter((e) => A(e, s)), [s, i]), M = (e) => {
9730
+ c(e.target.value);
9731
+ }, N = () => {
9732
+ c("");
9733
+ }, P = {
9719
9734
  minWidth: "13rem",
9720
- width: `${ra(i.reduce((e, t) => ra(e.linkContent).length > ra(t.linkContent).length ? e : t).linkContent).length + 2}ch`
9721
- }, I = /* @__PURE__ */ e.createElement(Q, {
9722
- className: `${p}__active-icon`,
9735
+ width: `${aa(i.reduce((e, t) => aa(e.linkContent).length > aa(t.linkContent).length ? e : t).linkContent).length + 2}ch`
9736
+ }, F = /* @__PURE__ */ e.createElement(Q, {
9737
+ className: `${u}__active-icon`,
9723
9738
  iconName: "check"
9724
- }), L = f && /* @__PURE__ */ e.createElement("div", { className: `${p}__filter` }, /* @__PURE__ */ e.createElement(Gi, {
9739
+ }), I = l && /* @__PURE__ */ e.createElement("div", { className: `${u}__filter` }, /* @__PURE__ */ e.createElement(qi, {
9725
9740
  hasClearButton: !0,
9726
9741
  autoComplete: "off",
9727
9742
  id: "links-filter",
9728
9743
  label: n,
9729
- onChange: N,
9730
- onClear: P,
9744
+ onChange: M,
9745
+ onClear: N,
9731
9746
  placeholder: r,
9732
9747
  showLabel: !1,
9733
9748
  type: "search"
9734
- })), R = s.map((t, n) => {
9735
- let r = t.isActive ? `${_}--active` : null;
9749
+ })), L = j.map((t, n) => {
9750
+ let r = t.isActive ? `${p}--active` : null;
9736
9751
  return /* @__PURE__ */ e.createElement("li", {
9737
9752
  key: n,
9738
9753
  ref: (e) => {
9739
- E.current[n] = e;
9754
+ w.current[n] = e;
9740
9755
  },
9741
- className: Z([_, r]),
9742
- onKeyDown: j,
9743
- tabIndex: n === v ? 0 : -1,
9744
- ...x()
9745
- }, t.linkContent, t.isActive && I);
9756
+ className: Z([p, r]),
9757
+ onKeyDown: k,
9758
+ tabIndex: n === h ? 0 : -1,
9759
+ ...y()
9760
+ }, t.linkContent, t.isActive && F);
9746
9761
  });
9747
9762
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("button", {
9748
- ref: D.setReference,
9749
- className: `${p}__dropdown-trigger`,
9763
+ ref: T.setReference,
9764
+ className: `${u}__dropdown-trigger`,
9750
9765
  type: "button",
9751
- ...C({
9752
- "aria-expanded": T,
9766
+ ...b({
9767
+ "aria-expanded": C,
9753
9768
  "aria-label": t
9754
9769
  })
9755
9770
  }, /* @__PURE__ */ e.createElement(Q, {
9756
- className: `${p}__dropdown-trigger-icon`,
9771
+ className: `${u}__dropdown-trigger-icon`,
9757
9772
  iconName: "angleDown"
9758
- })), w && /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
9759
- ref: D.setFloating,
9760
- className: `${p}__dropdown`,
9761
- ...b({ style: {
9762
- ...y,
9763
- ...F,
9764
- zIndex: A
9773
+ })), x && /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
9774
+ ref: T.setFloating,
9775
+ className: `${u}__dropdown`,
9776
+ ...v({ style: {
9777
+ ..._,
9778
+ ...P,
9779
+ zIndex: O
9765
9780
  } })
9766
- }, /* @__PURE__ */ e.createElement("div", { style: { ...k } }, L, /* @__PURE__ */ e.createElement("ul", { className: Z([m, h]) }, R.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${p}__no-results` }, o) : R)))));
9767
- }, Sa = ({ ariaLabel: t, className: n, menuItems: i, ...a }) => {
9781
+ }, /* @__PURE__ */ e.createElement("div", { style: { ...D } }, I, /* @__PURE__ */ e.createElement("ul", { className: Z([d, f]) }, L.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${u}__no-results` }, o) : L)))));
9782
+ }, wa = ({ ariaLabel: t, className: n, menuItems: i, ...a }) => {
9768
9783
  let o = "pds-tab-menu", c = h(null), l = h(null);
9769
9784
  u(() => {
9770
9785
  let e = l.current, t = c.current;
@@ -9777,7 +9792,7 @@ var Zr = {
9777
9792
  return r.observe(e), () => r.disconnect();
9778
9793
  }, [i]);
9779
9794
  let d = ({ dropdownSettings: t, icon: n, isActive: i, linkContent: a, links: c, promoteActiveChildLink: l = !1 }) => {
9780
- let u = `${o}__item`, d = na(c);
9795
+ let u = `${o}__item`, d = ia(c);
9781
9796
  return /* @__PURE__ */ e.createElement("li", { className: Z([u, i ? `${u}--active` : null]) }, ((t, n) => {
9782
9797
  let i = null;
9783
9798
  return s(t) && (i = n ? r(t, Object.assign({}, t.props, { children: [/* @__PURE__ */ e.createElement("span", {
@@ -9788,7 +9803,7 @@ var Zr = {
9788
9803
  iconName: n,
9789
9804
  size: "m"
9790
9805
  }), t.props.children)] })) : t), i;
9791
- })(l ? d : a, n), c && /* @__PURE__ */ e.createElement(xa, {
9806
+ })(l ? d : a, n), c && /* @__PURE__ */ e.createElement(Ca, {
9792
9807
  buttonLabel: t?.buttonLabel,
9793
9808
  filterLabel: t?.filterLabel,
9794
9809
  filterPlaceholder: t?.filterPlaceholder,
@@ -9803,7 +9818,7 @@ var Zr = {
9803
9818
  key: n,
9804
9819
  dropdownSettings: t.dropdownSettings,
9805
9820
  icon: t.icon,
9806
- isActive: aa(t),
9821
+ isActive: sa(t),
9807
9822
  linkContent: t.linkContent,
9808
9823
  links: t.links,
9809
9824
  promoteActiveChildLink: t.promoteActiveChildLink
@@ -9816,11 +9831,11 @@ var Zr = {
9816
9831
  ref: c,
9817
9832
  className: `${o}__mobile-menu-wrapper`
9818
9833
  }, f));
9819
- }, Ca = {
9834
+ }, Ta = {
9820
9835
  2: "second",
9821
9836
  3: "third",
9822
9837
  4: "fourth"
9823
- }, wa = ({ ariaLabel: t, className: n, headingText: r, labels: i = {
9838
+ }, Ea = ({ ariaLabel: t, className: n, headingText: r, labels: i = {
9824
9839
  submenu: "submenu",
9825
9840
  toggle: "Toggle"
9826
9841
  }, menuItems: a, ...o }) => {
@@ -9931,7 +9946,7 @@ var Zr = {
9931
9946
  t !== -1 && (f(!0), y.current = t);
9932
9947
  }
9933
9948
  }, M = (t, n, r) => {
9934
- let a = Ca[t], o = `${l}--${a}-level`, u = `${c}--${a}-level`, d = t + 1, { isExpanded: f, itemIndex: p } = S(n, aa(n));
9949
+ let a = Ta[t], o = `${l}--${a}-level`, u = `${c}--${a}-level`, d = t + 1, { isExpanded: f, itemIndex: p } = S(n, sa(n));
9935
9950
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` }, /* @__PURE__ */ e.createElement("button", {
9936
9951
  "aria-expanded": f,
9937
9952
  className: Z([`${s}__toggle`, f ? `${s}__toggle--expanded` : null]),
@@ -9941,7 +9956,7 @@ var Zr = {
9941
9956
  iconName: "angleDown",
9942
9957
  size: "xs",
9943
9958
  verticalAlign: "-0.0625rem"
9944
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${i.toggle} ${ra(n.linkContent)} ${i.submenu}`)), ca(n.linkContent, n.links)), /* @__PURE__ */ e.createElement("ul", {
9959
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${i.toggle} ${aa(n.linkContent)} ${i.submenu}`)), ua(n.linkContent, n.links)), /* @__PURE__ */ e.createElement("ul", {
9945
9960
  className: Z([
9946
9961
  l,
9947
9962
  o,
@@ -9949,7 +9964,7 @@ var Zr = {
9949
9964
  ]),
9950
9965
  role: "group"
9951
9966
  }, n.links.map((t, n) => {
9952
- let r = aa(t), { isExpanded: i } = S(t, r);
9967
+ let r = sa(t), { isExpanded: i } = S(t, r);
9953
9968
  return /* @__PURE__ */ e.createElement("li", {
9954
9969
  key: `${n}-${a}`,
9955
9970
  "aria-expanded": t.links ? i : void 0,
@@ -9961,10 +9976,10 @@ var Zr = {
9961
9976
  ]),
9962
9977
  "data-item-path": t.path || "",
9963
9978
  role: "treeitem"
9964
- }, t.links && d in Ca ? M(d, t, t.links) : t.linkContent);
9979
+ }, t.links && d in Ta ? M(d, t, t.links) : t.linkContent);
9965
9980
  })));
9966
9981
  }, N = (t, n) => {
9967
- let { linkContent: r, links: i } = t, a = aa(t), { isExpanded: o } = S(t, a);
9982
+ let { linkContent: r, links: i } = t, a = sa(t), { isExpanded: o } = S(t, a);
9968
9983
  return /* @__PURE__ */ e.createElement("li", {
9969
9984
  key: n,
9970
9985
  "aria-expanded": i ? o : void 0,
@@ -9993,11 +10008,11 @@ var Zr = {
9993
10008
  className: `${s}__menu ${s}__menu--top-level`,
9994
10009
  role: "tree"
9995
10010
  }, a.map((e, t) => N(e, t))));
9996
- }, Ta = {
10011
+ }, Da = {
9997
10012
  light: "sunBright",
9998
10013
  dark: "moon",
9999
10014
  system: "circleHalfStroke"
10000
- }, Ea = ({ className: t, id: n = "theme-switcher-menu", labelStrings: r = {
10015
+ }, Oa = ({ className: t, id: n = "theme-switcher-menu", labelStrings: r = {
10001
10016
  light: "Light",
10002
10017
  dark: "Dark",
10003
10018
  system: "System"
@@ -10009,7 +10024,7 @@ var Zr = {
10009
10024
  ];
10010
10025
  if (s === "toggle") {
10011
10026
  let s = d.map((e) => ({
10012
- iconName: Ta[e],
10027
+ iconName: Da[e],
10013
10028
  label: r[e],
10014
10029
  value: e
10015
10030
  }));
@@ -10028,7 +10043,7 @@ var Zr = {
10028
10043
  }
10029
10044
  let f = d.map((e) => ({
10030
10045
  callback: () => i?.(e),
10031
- iconName: Ta[e],
10046
+ iconName: Da[e],
10032
10047
  iconSize: "m",
10033
10048
  label: r[e]
10034
10049
  }));
@@ -10041,7 +10056,7 @@ var Zr = {
10041
10056
  customTrigger: /* @__PURE__ */ e.createElement(Jn, {
10042
10057
  iconOnly: !0,
10043
10058
  "aria-label": u,
10044
- iconName: Ta[o],
10059
+ iconName: Da[o],
10045
10060
  id: n,
10046
10061
  label: "",
10047
10062
  menuItems: f,
@@ -10050,7 +10065,7 @@ var Zr = {
10050
10065
  offsetValue: 0,
10051
10066
  preferredPlacement: "top"
10052
10067
  }));
10053
- }, Da = ({ ariaLabel: t = "User menu", className: n, isMobileAccordion: r = !1, menuItems: i = [], onThemeChange: a, theme: o, themeLabel: s = "Theme", themeLabelStrings: c, userEmail: l, userImageSrc: u, userName: f, ...p }) => {
10068
+ }, ka = ({ ariaLabel: t = "User menu", className: n, isMobileAccordion: r = !1, menuItems: i = [], onThemeChange: a, theme: o, themeLabel: s = "Theme", themeLabelStrings: c, userEmail: l, userImageSrc: u, userName: f, ...p }) => {
10054
10069
  let [m, _] = g(null), [v, y] = g(!1), b = Zt(), x = r && b, C = h([]), w = h([]), O = d(), A = "pds-user-menu", P = `${A}__menu`, { context: F, floatingStyles: I, refs: L } = N({
10055
10070
  placement: "bottom-end",
10056
10071
  open: v,
@@ -10095,7 +10110,7 @@ var Zr = {
10095
10110
  }, /* @__PURE__ */ e.createElement("div", { className: `${A}__user-name` }, f), /* @__PURE__ */ e.createElement("div", { className: `${A}__user-email` }, l)), ae = o !== void 0 && typeof a == "function" ? /* @__PURE__ */ e.createElement("li", {
10096
10111
  className: `${A}__theme-row`,
10097
10112
  role: "presentation"
10098
- }, /* @__PURE__ */ e.createElement("span", { className: `${A}__theme-label` }, s), /* @__PURE__ */ e.createElement(Ea, {
10113
+ }, /* @__PURE__ */ e.createElement("span", { className: `${A}__theme-label` }, s), /* @__PURE__ */ e.createElement(Oa, {
10099
10114
  id: `${O}-theme`,
10100
10115
  labelStrings: c,
10101
10116
  onChange: a,
@@ -10174,7 +10189,7 @@ var Zr = {
10174
10189
  className: P,
10175
10190
  role: "menu"
10176
10191
  }, ie, /* @__PURE__ */ e.createElement("li", { role: "separator" }), ae, ce))))));
10177
- }, Oa = ({ avatarSize: t = "m", className: n, showActiveState: r = !0, workspace: i, ...a }) => {
10192
+ }, Aa = ({ avatarSize: t = "m", className: n, showActiveState: r = !0, workspace: i, ...a }) => {
10178
10193
  let o = "pds-workspace-list-item";
10179
10194
  return /* @__PURE__ */ e.createElement("div", {
10180
10195
  className: Z([o, n ?? ""]),
@@ -10188,7 +10203,7 @@ var Zr = {
10188
10203
  className: `${o}__lock-icon`,
10189
10204
  iconName: "lock"
10190
10205
  }), r && i.isActive && /* @__PURE__ */ e.createElement(cr, null)));
10191
- }, ka = ({ ariaLabel: t = "Workspace selector menu", className: n, createWorkspaceLink: r, filterLabel: i = "Filter workspaces", filterPlaceholder: a = "Find workspace...", isMobileAccordion: o = !1, menuHeading: s = "Workspaces", minFilterItems: c = 8, noResultsText: l = "No results found", workspaceList: u = [], ...d }) => {
10206
+ }, ja = ({ ariaLabel: t = "Workspace selector menu", className: n, createWorkspaceLink: r, filterLabel: i = "Filter workspaces", filterPlaceholder: a = "Find workspace...", isMobileAccordion: o = !1, menuHeading: s = "Workspaces", minFilterItems: c = 8, noResultsText: l = "No results found", workspaceList: u = [], ...d }) => {
10192
10207
  let [f, _] = g(""), [v, y] = g(""), b = h(null), x = u.length >= c, C = Zt(), w = o && C, T = "pds-workspace-selector", E = `${T}__menu`, D = x ? `${E}--scroll` : null, { activeIndex: O, floatingStyles: k, getFloatingProps: A, getItemProps: j, getReferenceProps: M, isMounted: N, listRef: P, refs: F, setIsOpen: I, transitionStyles: L } = In({
10193
10208
  enableTypeahead: !x,
10194
10209
  role: "menu"
@@ -10242,7 +10257,7 @@ var Zr = {
10242
10257
  t.onRestrictedSelection(), I(!1);
10243
10258
  },
10244
10259
  type: "button"
10245
- }, /* @__PURE__ */ e.createElement(Oa, { workspace: t })) : o ? /* @__PURE__ */ e.createElement(o, Object.assign({}, t.workspaceLink.props, { onClick: () => I(!1) }), /* @__PURE__ */ e.createElement(Oa, { workspace: t })) : null);
10260
+ }, /* @__PURE__ */ e.createElement(Aa, { workspace: t })) : o ? /* @__PURE__ */ e.createElement(o, Object.assign({}, t.workspaceLink.props, { onClick: () => I(!1) }), /* @__PURE__ */ e.createElement(Aa, { workspace: t })) : null);
10246
10261
  }), W = H.map((t) => {
10247
10262
  let n = `${T}__item`, r = t.workspaceId, i = t.isRestricted && t.onRestrictedSelection, a = t.workspaceLink?.type;
10248
10263
  return /* @__PURE__ */ e.createElement("li", {
@@ -10260,7 +10275,7 @@ var Zr = {
10260
10275
  }, i ? /* @__PURE__ */ e.createElement("button", {
10261
10276
  onClick: () => t.onRestrictedSelection(),
10262
10277
  type: "button"
10263
- }, /* @__PURE__ */ e.createElement(Oa, { workspace: t })) : a ? /* @__PURE__ */ e.createElement(a, Object.assign({}, t.workspaceLink?.props), /* @__PURE__ */ e.createElement(Oa, { workspace: t })) : null);
10278
+ }, /* @__PURE__ */ e.createElement(Aa, { workspace: t })) : a ? /* @__PURE__ */ e.createElement(a, Object.assign({}, t.workspaceLink?.props), /* @__PURE__ */ e.createElement(Aa, { workspace: t })) : null);
10264
10279
  }), G = r && /* @__PURE__ */ e.createElement("div", {
10265
10280
  ref: b,
10266
10281
  className: `${T}__create-link`
@@ -10285,7 +10300,7 @@ var Zr = {
10285
10300
  return /* @__PURE__ */ e.createElement("span", {
10286
10301
  className: Z([T, n]),
10287
10302
  ...d
10288
- }, w ? /* @__PURE__ */ e.createElement(Ln, { label: K() }, x && /* @__PURE__ */ e.createElement("div", { className: `${T}__filter` }, /* @__PURE__ */ e.createElement(Gi, {
10303
+ }, w ? /* @__PURE__ */ e.createElement(Ln, { label: K() }, x && /* @__PURE__ */ e.createElement("div", { className: `${T}__filter` }, /* @__PURE__ */ e.createElement(qi, {
10289
10304
  hasClearButton: !0,
10290
10305
  id: "workspace-filter-mobile",
10291
10306
  label: i,
@@ -10326,7 +10341,7 @@ var Zr = {
10326
10341
  zIndex: R
10327
10342
  },
10328
10343
  ...A()
10329
- }, x && /* @__PURE__ */ e.createElement("div", { className: `${T}__filter` }, /* @__PURE__ */ e.createElement(Gi, {
10344
+ }, x && /* @__PURE__ */ e.createElement("div", { className: `${T}__filter` }, /* @__PURE__ */ e.createElement(qi, {
10330
10345
  hasClearButton: !0,
10331
10346
  id: "workspace-filter",
10332
10347
  label: i,
@@ -10342,12 +10357,12 @@ var Zr = {
10342
10357
  className: `pds-dropdown__heading ${T}__item-heading`,
10343
10358
  role: "presentation"
10344
10359
  }, s), ee.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: "pds-dropdown__no-results" }, l) : ee), G))));
10345
- }, Aa = {
10360
+ }, Ma = {
10346
10361
  info: "circleInfo",
10347
10362
  warning: "triangleExclamation",
10348
10363
  critical: "diamondExclamation",
10349
10364
  discovery: "bullhorn"
10350
- }, ja = 200, Ma = 50, Na = ({ banners: t, className: n, dataContext: r = "product", dismissLabel: i = "Dismiss", labelNext: a = "Go to next message", labelPrevious: o = "Go to previous message", typeLabels: s = {
10365
+ }, Na = 200, Pa = 50, Fa = ({ banners: t, className: n, dataContext: r = "product", dismissLabel: i = "Dismiss", labelNext: a = "Go to next message", labelPrevious: o = "Go to previous message", typeLabels: s = {
10351
10366
  ...Vn,
10352
10367
  neutral: "Notice"
10353
10368
  }, ...c }) => {
@@ -10372,21 +10387,21 @@ var Zr = {
10372
10387
  }, E = d[0].type, D = E ? `${C}-group--${E}` : null, O = (e) => 500 - e, k = (e) => e === 0 ? 0 : -1, A = () => {
10373
10388
  m(d[0].id), setTimeout(() => {
10374
10389
  f((e) => [...e.slice(1), e[0]]), m(null);
10375
- }, ja);
10390
+ }, Na);
10376
10391
  }, j = () => {
10377
10392
  b({
10378
10393
  [d[0].id]: 502,
10379
10394
  [d[S - 1].id]: 501
10380
10395
  }), setTimeout(() => {
10381
10396
  m(d[0].id);
10382
- }, Ma), setTimeout(() => {
10397
+ }, Pa), setTimeout(() => {
10383
10398
  f((e) => [e[e.length - 1], ...e.slice(0, e.length - 1)]), m(null), b({});
10384
- }, ja);
10399
+ }, Na);
10385
10400
  }, M = (t, n) => {
10386
10401
  let { iconName: r, id: a, isDismissible: o, message: c, onDismiss: u, type: d } = t, m = d === "critical" ? "alert" : "status", h = `${s[d]}: `, g = (e) => {
10387
10402
  e.preventDefault(), v(a), setTimeout(() => {
10388
10403
  u?.(), v(null), x.current.add(a), f((e) => e.filter((e) => e.id !== a));
10389
- }, ja);
10404
+ }, Na);
10390
10405
  }, b = y[a] ?? O(n);
10391
10406
  return /* @__PURE__ */ e.createElement("div", {
10392
10407
  key: a,
@@ -10401,7 +10416,7 @@ var Zr = {
10401
10416
  style: { zIndex: b }
10402
10417
  }, /* @__PURE__ */ e.createElement("div", { className: `${C}__content` }, /* @__PURE__ */ e.createElement(Q, {
10403
10418
  className: `${C}__icon ${C}__icon--${t.type}`,
10404
- iconName: d === "neutral" ? r : Aa[d],
10419
+ iconName: d === "neutral" ? r : Ma[d],
10405
10420
  size: l ? "2xl" : "l"
10406
10421
  }), /* @__PURE__ */ e.createElement("div", { className: `${C}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, h, " "), c)), o && /* @__PURE__ */ e.createElement("button", {
10407
10422
  className: `${C}__dismiss-button`,
@@ -10432,12 +10447,12 @@ var Zr = {
10432
10447
  onClick: A,
10433
10448
  size: "m"
10434
10449
  }), d.map((e, t) => M(e, t))) : M(d[0], 0));
10435
- }, Pa = {
10450
+ }, Ia = {
10436
10451
  info: "circleInfo",
10437
10452
  warning: "triangleExclamation",
10438
10453
  success: "circleCheck",
10439
10454
  critical: "diamondExclamation"
10440
- }, Fa = ({ className: t, message: n, title: r, type: i, typeLabels: a = {
10455
+ }, La = ({ className: t, message: n, title: r, type: i, typeLabels: a = {
10441
10456
  ...Vn,
10442
10457
  working: "Working"
10443
10458
  }, ...o }) => {
@@ -10458,16 +10473,16 @@ var Zr = {
10458
10473
  role: l,
10459
10474
  ...o
10460
10475
  }, /* @__PURE__ */ e.createElement("div", { className: `${s}__icon ${s}__icon-${i}` }, i === "working" ? /* @__PURE__ */ e.createElement(Sn, { size: "l" }) : /* @__PURE__ */ e.createElement(Q, {
10461
- iconName: `${i}` in Pa ? Pa[i] : Pa.info,
10476
+ iconName: `${i}` in Ia ? Ia[i] : Ia.info,
10462
10477
  size: "xl"
10463
10478
  })), /* @__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)));
10464
- }, Ia = {
10479
+ }, Ra = {
10465
10480
  info: "circleInfo",
10466
10481
  warning: "triangleExclamation",
10467
10482
  success: "circleCheck",
10468
10483
  critical: "diamondExclamation",
10469
10484
  discovery: "squareQuestion"
10470
- }, La = ({ className: t, ctaButton: n, ctaIcon: r, dismissLabel: i = "Dismiss", id: a, isDismissible: o, message: s, onDismiss: c, secondaryCta: l, title: d, type: f = "info", typeLabels: p = Vn, ...m }) => {
10485
+ }, za = ({ className: t, ctaButton: n, ctaIcon: r, dismissLabel: i = "Dismiss", id: a, isDismissible: o, message: s, onDismiss: c, secondaryCta: l, title: d, type: f = "info", typeLabels: p = Vn, ...m }) => {
10471
10486
  let g = h(null), _ = h(void 0), v = "pds-section-message", y = {
10472
10487
  error: `${v}--error`,
10473
10488
  success: `${v}--success`,
@@ -10503,7 +10518,7 @@ var Zr = {
10503
10518
  role: S,
10504
10519
  ...m
10505
10520
  }, /* @__PURE__ */ e.createElement("div", { className: `${v}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${v}__icon ${v}__icon-${f}` }, /* @__PURE__ */ e.createElement(Q, {
10506
- iconName: `${f}` in Ia ? Ia[f] : Ia.info,
10521
+ iconName: `${f}` in Ra ? Ra[f] : Ra.info,
10507
10522
  size: "xl"
10508
10523
  })), /* @__PURE__ */ e.createElement("div", { className: `${v}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, C), d && /* @__PURE__ */ e.createElement("div", { className: `${v}__title` }, d), /* @__PURE__ */ e.createElement("div", { className: `${v}__message` }, w))), (n || l || o) && /* @__PURE__ */ e.createElement("div", { className: `${v}__actions` }, l && /* @__PURE__ */ e.createElement(kn, {
10509
10524
  variant: "link",
@@ -10523,10 +10538,10 @@ var Zr = {
10523
10538
  onClick: D,
10524
10539
  size: "m"
10525
10540
  })));
10526
- }, Ra = 3e4, za = {
10541
+ }, Ba = 3e4, Va = {
10527
10542
  pause: "Pause notification",
10528
10543
  resume: "Resume notification"
10529
- }, Ba = i({ labelStrings: za }), Va = ({ ariaLabel: t, closeToast: n }) => /* @__PURE__ */ e.createElement(Pn, {
10544
+ }, Ha = i({ labelStrings: Va }), Ua = ({ ariaLabel: t, closeToast: n }) => /* @__PURE__ */ e.createElement(Pn, {
10530
10545
  ariaLabel: t || "Close",
10531
10546
  className: "pds-toast__close-button",
10532
10547
  onClick: (e) => {
@@ -10534,13 +10549,13 @@ var Zr = {
10534
10549
  },
10535
10550
  size: "s",
10536
10551
  tabIndex: 0
10537
- }), Ha = ({ className: t, labelStrings: n = za, limit: r = 5, position: i = "bottom-right" }) => {
10552
+ }), Wa = ({ className: t, labelStrings: n = Va, limit: r = 5, position: i = "bottom-right" }) => {
10538
10553
  let a = Z(["pds-toaster", t]);
10539
- return /* @__PURE__ */ e.createElement(Ba.Provider, { value: { labelStrings: n } }, /* @__PURE__ */ e.createElement(We, {
10554
+ return /* @__PURE__ */ e.createElement(Ha.Provider, { value: { labelStrings: n } }, /* @__PURE__ */ e.createElement(We, {
10540
10555
  newestOnTop: !0,
10541
10556
  autoClose: !1,
10542
10557
  className: a,
10543
- closeButton: Va,
10558
+ closeButton: Ua,
10544
10559
  draggable: !1,
10545
10560
  icon: !1,
10546
10561
  limit: r,
@@ -10550,25 +10565,25 @@ var Zr = {
10550
10565
  role: "status",
10551
10566
  transition: Ue
10552
10567
  }));
10553
- }, Ua = {
10568
+ }, Ga = {
10554
10569
  info: "circleInfo",
10555
10570
  success: "circleCheck",
10556
10571
  warning: "triangleExclamation",
10557
10572
  critical: "diamondExclamation"
10558
- }, Wa = {
10573
+ }, Ka = {
10559
10574
  info: "Information",
10560
10575
  success: "Success",
10561
10576
  warning: "Warning",
10562
10577
  critical: "Critical",
10563
10578
  working: "Working..."
10564
- }, Ga = ({ autoCloseDuration: t, children: n, className: r, id: i, toastId: a, type: o = "info", typeLabels: s = Wa }) => {
10579
+ }, qa = ({ autoCloseDuration: t, children: n, className: r, id: i, toastId: a, type: o = "info", typeLabels: s = Ka }) => {
10565
10580
  let c = "pds-toast", u = {
10566
10581
  critical: `${c}--critical`,
10567
10582
  info: `${c}--info`,
10568
10583
  success: `${c}--success`,
10569
10584
  warning: `${c}--warning`,
10570
10585
  working: `${c}--working`
10571
- }, d = `${s[o]} `, { labelStrings: f } = l(Ba), [p, m] = g(!1), h = a !== void 0 && o !== "critical" && o !== "working" && typeof t == "number";
10586
+ }, d = `${s[o]} `, { labelStrings: f } = l(Ha), [p, m] = g(!1), h = a !== void 0 && o !== "critical" && o !== "working" && typeof t == "number";
10572
10587
  return /* @__PURE__ */ e.createElement("div", {
10573
10588
  className: Z([
10574
10589
  c,
@@ -10578,7 +10593,7 @@ var Zr = {
10578
10593
  id: i
10579
10594
  }, /* @__PURE__ */ e.createElement("div", { className: `${c}__icon-container` }, o === "working" ? /* @__PURE__ */ e.createElement(Sn, { size: "l" }) : /* @__PURE__ */ e.createElement(Q, {
10580
10595
  className: `${c}__icon ${c}__icon--${o}`,
10581
- iconName: Ua[o],
10596
+ iconName: Ga[o],
10582
10597
  size: "xl"
10583
10598
  })), /* @__PURE__ */ e.createElement("div", { className: `${c}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, d), n), h && /* @__PURE__ */ e.createElement("button", {
10584
10599
  "aria-label": p ? f.resume : f.pause,
@@ -10593,11 +10608,11 @@ var Zr = {
10593
10608
  iconName: p ? "play" : "pause",
10594
10609
  size: "m"
10595
10610
  })));
10596
- }, Ka = /* @__PURE__ */ function(e) {
10611
+ }, Ja = /* @__PURE__ */ function(e) {
10597
10612
  return e.Critical = "critical", e.Info = "info", e.Success = "success", e.Warning = "warning", e.Working = "working", e;
10598
- }({}), qa = () => [
10613
+ }({}), Ya = () => [
10599
10614
  (t, n, r = {}) => {
10600
- let i = r.toastId ?? crypto.randomUUID(), a = typeof r.autoClose == "number" ? Math.max(Ra, r.autoClose) : !1, o = /* @__PURE__ */ e.createElement(Ga, {
10615
+ let i = r.toastId ?? crypto.randomUUID(), a = typeof r.autoClose == "number" ? Math.max(Ba, r.autoClose) : !1, o = /* @__PURE__ */ e.createElement(qa, {
10601
10616
  autoCloseDuration: a || void 0,
10602
10617
  toastId: i,
10603
10618
  type: t
@@ -10622,7 +10637,7 @@ var Zr = {
10622
10637
  enter: "pds-toast--bounceInPlace",
10623
10638
  exit: "pds-toast--slideOut"
10624
10639
  })
10625
- ], Ja = .35, Ya = .78, Xa = 80, Za = 4, Qa = ({ ariaLabel: t, children: n, className: r, closeButtonLabel: i = "Close", disableOutsideClick: a, expandedHeight: o, hasCloseButton: s = !0, height: l, isOpen: d = !1, resizeLabel: f = "Close sheet", setIsOpen: p = () => {}, title: m, ..._ }) => {
10640
+ ], Xa = .35, Za = .78, Qa = 80, $a = 4, eo = ({ ariaLabel: t, children: n, className: r, closeButtonLabel: i = "Close", disableOutsideClick: a, expandedHeight: o, hasCloseButton: s = !0, height: l, isOpen: d = !1, resizeLabel: f = "Close sheet", setIsOpen: p = () => {}, title: m, ..._ }) => {
10626
10641
  let v = gt(n), y = v.__unslotted, b = v.footer, x = "pds-bottom-sheet", C = o !== null, w = {
10627
10642
  "--pds-bottom-sheet-height": l,
10628
10643
  "--pds-bottom-sheet-expanded-height": o
@@ -10677,15 +10692,15 @@ var Zr = {
10677
10692
  let t = F.current, n = N.current;
10678
10693
  if (!t || !n) return;
10679
10694
  let r = e.clientY - t.startY, i = C ? window.innerHeight * .96 : t.startHeight;
10680
- n.style.height = `${Math.min(i, Math.max(Xa, t.startHeight - r))}px`;
10695
+ n.style.height = `${Math.min(i, Math.max(Qa, t.startHeight - r))}px`;
10681
10696
  }, [C]), W = c((e) => {
10682
10697
  let t = F.current, n = N.current;
10683
10698
  if (F.current = null, M(!1), !t || !n) return;
10684
- let r = Math.abs(e.clientY - t.startY) > Za, i = n.getBoundingClientRect().height;
10699
+ let r = Math.abs(e.clientY - t.startY) > $a, i = n.getBoundingClientRect().height;
10685
10700
  if (n.style.height = "", !r) return;
10686
10701
  I.current = !0;
10687
10702
  let a = window.innerHeight;
10688
- i < a * Ja ? z() : C && i > a * Ya ? A(!0) : A(!1);
10703
+ i < a * Xa ? z() : C && i > a * Za ? A(!0) : A(!1);
10689
10704
  }, [C, z]);
10690
10705
  return T ? /* @__PURE__ */ e.createElement(Rn.Provider, { value: !0 }, /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement(He, {
10691
10706
  active: D,
@@ -10729,7 +10744,7 @@ var Zr = {
10729
10744
  onClick: z,
10730
10745
  size: "s"
10731
10746
  }))), /* @__PURE__ */ e.createElement("div", { className: `${x}__content` }, y), b && /* @__PURE__ */ e.createElement("div", { className: `${x}__footer` }, b)))))) : null;
10732
- }, $a = ({ children: t, className: n, clearLabel: r = "Clear selection", count: i, getCountLabel: a = (e) => `${e} selected`, onClear: o, ...s }) => {
10747
+ }, to = ({ children: t, className: n, clearLabel: r = "Clear selection", count: i, getCountLabel: a = (e) => `${e} selected`, onClear: o, ...s }) => {
10733
10748
  let c = "pds-bulk-action-bar";
10734
10749
  return /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
10735
10750
  className: Z([c, n ?? ""]),
@@ -10746,7 +10761,7 @@ var Zr = {
10746
10761
  size: "s",
10747
10762
  variant: "reverse"
10748
10763
  })), /* @__PURE__ */ e.createElement("div", { className: `${c}__actions` }, t)));
10749
- }, eo = ({ ariaLabel: t, children: n, className: r, closeButtonLabel: i = "Close drawer", disableOutsideClick: a, hasCloseButton: o = !0, isOpen: s = !1, placement: l = "right", setIsOpen: d = () => {}, size: f = "m", title: p, width: m, ..._ }) => {
10764
+ }, no = ({ ariaLabel: t, children: n, className: r, closeButtonLabel: i = "Close drawer", disableOutsideClick: a, hasCloseButton: o = !0, isOpen: s = !1, placement: l = "right", setIsOpen: d = () => {}, size: f = "m", title: p, width: m, ..._ }) => {
10750
10765
  let v = gt(n), y = v.__unslotted, b = v.footer, x = "pds-drawer", C = m ? null : `${x}--${f}`, w = `${x}--${l}`, T = m ? { width: m } : void 0, [E, D] = g(s), [O, k] = g(!1), A = h(null), { closeOverlay: j, openOverlay: M } = tn();
10751
10766
  u(() => {
10752
10767
  s ? D(!0) : k(!1);
@@ -10811,7 +10826,7 @@ var Zr = {
10811
10826
  onClick: N,
10812
10827
  size: "m"
10813
10828
  })), /* @__PURE__ */ e.createElement("div", { className: `${x}__content` }, y), b && /* @__PURE__ */ e.createElement("div", { className: `${x}__footer` }, b)))))) : null;
10814
- }, to = ({ ariaLabel: t, background: n = "default", children: r, className: i, closeButtonLabel: a = "Close", closeIconName: o = "compress", hasCloseButton: s = !0, isOpen: c, onClose: l, ...d }) => {
10829
+ }, ro = ({ ariaLabel: t, background: n = "default", children: r, className: i, closeButtonLabel: a = "Close", closeIconName: o = "compress", hasCloseButton: s = !0, isOpen: c, onClose: l, ...d }) => {
10815
10830
  let f = "pds-full-screen-overlay", p = n === "default" ? null : `${f}--bg-${n}`, { closeOverlay: m, openOverlay: h } = tn();
10816
10831
  u(() => {
10817
10832
  if (!(!h || !m) && c) return h(), () => m();
@@ -10877,7 +10892,7 @@ var Zr = {
10877
10892
  }),
10878
10893
  zIndex: 9999
10879
10894
  }), /* @__PURE__ */ e.createElement("div", { className: `${f}__content` }, r)))))) : null;
10880
- }, no = ({ ariaLabel: t, children: n, className: r, closeButtonLabel: i = "Close modal", contentMaxHeight: a, disableOutsideClick: o, hasCloseButton: s = !0, modalIsOpen: c = !1, setModalIsOpen: l = () => {}, size: d = "m", title: f, ...p }) => {
10895
+ }, io = ({ ariaLabel: t, children: n, className: r, closeButtonLabel: i = "Close modal", contentMaxHeight: a, disableOutsideClick: o, hasCloseButton: s = !0, modalIsOpen: c = !1, setModalIsOpen: l = () => {}, size: d = "m", title: f, ...p }) => {
10881
10896
  let m = gt(n), h = m.__unslotted, _ = m.footer, v = "pds-modal", b = d === "m" ? null : `${v}--${d}`, C = a ? {
10882
10897
  maxHeight: a,
10883
10898
  paddingInlineEnd: "1rem",
@@ -10953,27 +10968,27 @@ var Zr = {
10953
10968
  className: `${v}__content`,
10954
10969
  style: C
10955
10970
  }, h), _ && /* @__PURE__ */ e.createElement("div", { className: `${v}__footer` }, _)))))) : null;
10956
- }, ro = (e, t) => {
10971
+ }, ao = (e, t) => {
10957
10972
  let n = t - e + 1;
10958
10973
  return Array.from({ length: n }, (t, n) => n + e);
10959
- }, io = ({ bufferCount: e = 1, currentPage: t, itemsPerPage: n, totalItemCount: r }) => m(() => {
10974
+ }, oo = ({ bufferCount: e = 1, currentPage: t, itemsPerPage: n, totalItemCount: r }) => m(() => {
10960
10975
  let i = Math.ceil(r / n), a = e + 5, o = i;
10961
- if (a >= i) return ro(1, i);
10976
+ if (a >= i) return ao(1, i);
10962
10977
  let s = Math.max(t - e, 1), c = Math.min(t + e, i), l = s > 2, u = c < i - 2;
10963
10978
  if (!l && u) return [
10964
- ...ro(1, 3 + 2 * e),
10979
+ ...ao(1, 3 + 2 * e),
10965
10980
  "...",
10966
10981
  i
10967
10982
  ];
10968
10983
  if (l && !u) return [
10969
10984
  1,
10970
10985
  "...",
10971
- ...ro(i - (3 + 2 * e) + 1, i)
10986
+ ...ao(i - (3 + 2 * e) + 1, i)
10972
10987
  ];
10973
10988
  if (l && u) return [
10974
10989
  1,
10975
10990
  "...",
10976
- ...ro(s, c),
10991
+ ...ao(s, c),
10977
10992
  "...",
10978
10993
  o
10979
10994
  ];
@@ -10982,11 +10997,11 @@ var Zr = {
10982
10997
  n,
10983
10998
  e,
10984
10999
  t
10985
- ]), ao = ({ bufferCount: t = 1, className: n, currentPage: r, headingLevel: i = "h2", headingText: a = "Pagination", itemsPerPage: o = 10, labelStrings: s = {
11000
+ ]), so = ({ bufferCount: t = 1, className: n, currentPage: r, headingLevel: i = "h2", headingText: a = "Pagination", itemsPerPage: o = 10, labelStrings: s = {
10986
11001
  previous: "Go to previous page",
10987
11002
  next: "Go to next page"
10988
11003
  }, onPageChange: c, size: l = "m", totalItemCount: u, ...d }) => {
10989
- let f = io({
11004
+ let f = oo({
10990
11005
  currentPage: r,
10991
11006
  totalItemCount: u,
10992
11007
  bufferCount: t,
@@ -11042,7 +11057,7 @@ var Zr = {
11042
11057
  size: "m"
11043
11058
  }))
11044
11059
  }))));
11045
- }, oo = ({ className: t, currentPage: n, headingLevel: r = "h2", headingText: i = "Pagination", itemsPerPage: a = 10, labelStrings: o = {
11060
+ }, co = ({ className: t, currentPage: n, headingLevel: r = "h2", headingText: i = "Pagination", itemsPerPage: a = 10, labelStrings: o = {
11046
11061
  next: "Next",
11047
11062
  previous: "Previous"
11048
11063
  }, nextPage: s, onPageChange: c, previousPage: l, totalItemCount: u, ...d }) => {
@@ -11071,7 +11086,7 @@ var Zr = {
11071
11086
  iconName: "angleRight",
11072
11087
  size: "m"
11073
11088
  }))));
11074
- }, so = ({ className: t, currentPage: n, headingLevel: r = "h2", headingText: i = "Pagination", itemsPerPage: a = 10, labelStrings: o = {
11089
+ }, lo = ({ className: t, currentPage: n, headingLevel: r = "h2", headingText: i = "Pagination", itemsPerPage: a = 10, labelStrings: o = {
11075
11090
  next: "Go to next page",
11076
11091
  of: "of",
11077
11092
  page: "Page",
@@ -11136,7 +11151,7 @@ var Zr = {
11136
11151
  className: "visually-hidden",
11137
11152
  id: "pagination-compact",
11138
11153
  level: r
11139
- }, i), o.page && /* @__PURE__ */ e.createElement("span", { className: `${b}__count` }, o.page), c === "input" ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(Gi, {
11154
+ }, i), o.page && /* @__PURE__ */ e.createElement("span", { className: `${b}__count` }, o.page), c === "input" ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(qi, {
11140
11155
  className: C ? `${b}__page-input--error` : void 0,
11141
11156
  id: p,
11142
11157
  inputProps: {
@@ -11166,7 +11181,7 @@ var Zr = {
11166
11181
  size: "s",
11167
11182
  value: String(n)
11168
11183
  }), /* @__PURE__ */ e.createElement("span", { className: `${b}__count` }, o.of, " ", h), /* @__PURE__ */ e.createElement("div", { className: `${b}__nav` }, k("prev"), k("next")));
11169
- }, co = ({ children: t, className: n, contentMaxHeight: r, heading: i, icon: a, ...o }) => {
11184
+ }, uo = ({ children: t, className: n, contentMaxHeight: r, heading: i, icon: a, ...o }) => {
11170
11185
  let s = "pds-widget-panel", c = gt(t), l = c.__unslotted, u = c.footer, d = r ? { maxHeight: r } : void 0;
11171
11186
  return /* @__PURE__ */ e.createElement("div", {
11172
11187
  className: Z([s, n ?? ""]),
@@ -11179,15 +11194,15 @@ var Zr = {
11179
11194
  className: `${s}__content`,
11180
11195
  style: d
11181
11196
  }, l), _t(u) && /* @__PURE__ */ e.createElement("div", { className: `${s}__footer` }, u));
11182
- }, lo = "Bookmark pages you visit often for quick access.", uo = ({ bookmarks: t = [], className: n, contentMaxHeight: r, createLabel: i = "Create bookmark", getMenuAriaLabel: a = (e) => `Actions for ${e.title}`, getRemoveCriticalLabel: o, heading: s = "Bookmarks", noResultsText: c = lo, onCreateBookmark: l, removeLabel: u, renameLabel: d, ...f }) => {
11197
+ }, fo = "Bookmark pages you visit often for quick access.", po = ({ bookmarks: t = [], className: n, contentMaxHeight: r, createLabel: i = "Create bookmark", getMenuAriaLabel: a = (e) => `Actions for ${e.title}`, getRemoveCriticalLabel: o, heading: s = "Bookmarks", noResultsText: c = fo, onCreateBookmark: l, removeLabel: u, renameLabel: d, ...f }) => {
11183
11198
  let p = "pds-bookmarks-panel", m = `${p}__item`, h = t.map((t) => {
11184
11199
  let n = t.linkContent, r = n.type;
11185
11200
  return /* @__PURE__ */ e.createElement("li", {
11186
11201
  key: t.id ?? t.title,
11187
11202
  className: m
11188
- }, /* @__PURE__ */ e.createElement(Xi, {
11203
+ }, /* @__PURE__ */ e.createElement(Qi, {
11189
11204
  menuAriaLabel: a(t),
11190
- menuItems: Zi(t, {
11205
+ menuItems: $i(t, {
11191
11206
  getRemoveCriticalLabel: o,
11192
11207
  removeLabel: u,
11193
11208
  renameLabel: d
@@ -11209,14 +11224,14 @@ var Zr = {
11209
11224
  slot: "footer",
11210
11225
  variant: "link"
11211
11226
  });
11212
- return /* @__PURE__ */ e.createElement(co, {
11227
+ return /* @__PURE__ */ e.createElement(uo, {
11213
11228
  className: Z([p, n ?? ""]),
11214
11229
  contentMaxHeight: r,
11215
11230
  heading: s,
11216
11231
  icon: "bookmark",
11217
11232
  ...f
11218
- }, t.length === 0 ? /* @__PURE__ */ e.createElement(Qi, { text: c }) : /* @__PURE__ */ e.createElement("ul", { className: `${p}__list` }, h), g);
11219
- }, fo = ({ children: t, className: n, id: r, isOpen: i = !1, showBorder: a = !0, summary: o, ...s }) => {
11233
+ }, t.length === 0 ? /* @__PURE__ */ e.createElement(ea, { text: c }) : /* @__PURE__ */ e.createElement("ul", { className: `${p}__list` }, h), g);
11234
+ }, mo = ({ children: t, className: n, id: r, isOpen: i = !1, showBorder: a = !0, summary: o, ...s }) => {
11220
11235
  let [c, l] = g(i), f = d(), p = r ?? `expansion-panel-${f}`, m = "pds-expansion-panel", _ = a ? null : `${m}--no-border`, v = h(null);
11221
11236
  return u(() => {
11222
11237
  let e = v.current;
@@ -11240,7 +11255,7 @@ var Zr = {
11240
11255
  className: `${m}__icon ${c ? "rotated" : ""}`,
11241
11256
  iconName: "angleDown"
11242
11257
  })), /* @__PURE__ */ e.createElement("div", { className: `${m}__content` }, t)));
11243
- }, po = ({ children: t, className: n, displayType: r = "standard", ...i }) => {
11258
+ }, ho = ({ children: t, className: n, displayType: r = "standard", ...i }) => {
11244
11259
  let a = "pds-expansion-panel-group", o = r === "standard" ? null : `${a}--${r}`;
11245
11260
  return /* @__PURE__ */ e.createElement("div", {
11246
11261
  className: Z([
@@ -11250,7 +11265,7 @@ var Zr = {
11250
11265
  ]),
11251
11266
  ...i
11252
11267
  }, t);
11253
- }, mo = ({ className: t, content: n, cta: r, dismissLabel: i = "Close", heading: a, image: o, imageVariant: s = "bleed", isDismissible: c, layout: l = "vertical", onDismiss: u, ...d }) => {
11268
+ }, go = ({ className: t, content: n, cta: r, dismissLabel: i = "Close", heading: a, image: o, imageVariant: s = "bleed", isDismissible: c, layout: l = "vertical", onDismiss: u, ...d }) => {
11254
11269
  let f = "pds-feature-panel", p = l === "vertical" ? null : `${f}--${l}`, m = s === "bleed" ? null : `${f}--image-${s}`, h = c ? `${f}--hasDismiss` : null, g = o ? `${f}--has-image` : null, _ = r && "linkContent" in r;
11255
11270
  return /* @__PURE__ */ e.createElement("div", {
11256
11271
  className: Z([
@@ -11277,7 +11292,7 @@ var Zr = {
11277
11292
  size: "s",
11278
11293
  variant: "brand"
11279
11294
  }))));
11280
- }, ho = ({ children: t, className: n, padding: r = "standard", variant: i = "default", ...a }) => {
11295
+ }, _o = ({ children: t, className: n, padding: r = "standard", variant: i = "default", ...a }) => {
11281
11296
  let o = "pds-panel", s = i === "default" ? null : `${o}--${i}`, c = `${o}__content`, l = r === "standard" ? null : `${c}--pad-${r}`;
11282
11297
  return /* @__PURE__ */ e.createElement("div", {
11283
11298
  className: Z([
@@ -11287,7 +11302,7 @@ var Zr = {
11287
11302
  ]),
11288
11303
  ...a
11289
11304
  }, /* @__PURE__ */ e.createElement("div", { className: Z([c, l]) }, t));
11290
- }, go = ({ background: t = "default", children: n, className: r, hasBorder: i = !0, paddingSize: a = "m", ...o }) => {
11305
+ }, vo = ({ background: t = "default", children: n, className: r, hasBorder: i = !0, paddingSize: a = "m", ...o }) => {
11291
11306
  let s = "pds-panel-list", c = `pds-panel-list--${a}`, l = t === "default" ? null : `${s}--${t}`, u = i ? null : `${s}--borderless`;
11292
11307
  return /* @__PURE__ */ e.createElement("ul", {
11293
11308
  className: Z([
@@ -11299,7 +11314,7 @@ var Zr = {
11299
11314
  ]),
11300
11315
  ...o
11301
11316
  }, n);
11302
- }, _o = ({ children: t, className: n, expandButtonAriaLabel: r, isExpandable: i = !1, stackBelow: a = "m", ...o }) => {
11317
+ }, yo = ({ children: t, className: n, expandButtonAriaLabel: r, isExpandable: i = !1, stackBelow: a = "m", ...o }) => {
11303
11318
  let s = "pds-panel-row", c = `${s}--stack-${a}`, [l, u] = g(!1), d = gt(t), f = d["items-left"], p = d["items-right"], m = d["items-below"], h = () => {
11304
11319
  u((e) => !e);
11305
11320
  };
@@ -11331,10 +11346,10 @@ var Zr = {
11331
11346
  opacity: "0"
11332
11347
  }
11333
11348
  }, /* @__PURE__ */ e.createElement("div", { className: `${s}__items-inside` }, m)));
11334
- }, vo = ({ children: t, className: n, ...r }) => /* @__PURE__ */ e.createElement("div", {
11349
+ }, bo = ({ children: t, className: n, ...r }) => /* @__PURE__ */ e.createElement("div", {
11335
11350
  className: Z(["pds-panel-stack", n ?? ""]),
11336
11351
  ...r
11337
- }, t), yo = ({ className: t, contentMaxHeight: n, createWorkspaceLink: r, filterLabel: i = "Filter workspaces", filterPlaceholder: a = "Find workspace...", heading: o = "Workspaces", minFilterItems: s = 8, noResultsText: c = "No results found", workspaceList: l = [], ...u }) => {
11352
+ }, t), xo = ({ className: t, contentMaxHeight: n, createWorkspaceLink: r, filterLabel: i = "Filter workspaces", filterPlaceholder: a = "Find workspace...", heading: o = "Workspaces", minFilterItems: s = 8, noResultsText: c = "No results found", workspaceList: l = [], ...u }) => {
11338
11353
  let d = "pds-workspace-selector-panel", f = `${d}__item`, [p, h] = g(""), _ = l.length >= s, v = m(() => {
11339
11354
  if (!p) return l;
11340
11355
  let e = p.toLowerCase();
@@ -11351,10 +11366,10 @@ var Zr = {
11351
11366
  }, n ? /* @__PURE__ */ e.createElement("button", {
11352
11367
  onClick: () => t.onRestrictedSelection(),
11353
11368
  type: "button"
11354
- }, /* @__PURE__ */ e.createElement(Oa, {
11369
+ }, /* @__PURE__ */ e.createElement(Aa, {
11355
11370
  showActiveState: !1,
11356
11371
  workspace: t
11357
- })) : r ? /* @__PURE__ */ e.createElement(r, Object.assign({}, t.workspaceLink?.props), /* @__PURE__ */ e.createElement(Oa, {
11372
+ })) : r ? /* @__PURE__ */ e.createElement(r, Object.assign({}, t.workspaceLink?.props), /* @__PURE__ */ e.createElement(Aa, {
11358
11373
  showActiveState: !1,
11359
11374
  workspace: t
11360
11375
  })) : null);
@@ -11367,13 +11382,13 @@ var Zr = {
11367
11382
  slot: "footer",
11368
11383
  variant: "link"
11369
11384
  });
11370
- return /* @__PURE__ */ e.createElement(co, {
11385
+ return /* @__PURE__ */ e.createElement(uo, {
11371
11386
  className: Z([d, t ?? ""]),
11372
11387
  contentMaxHeight: n,
11373
11388
  heading: o,
11374
11389
  icon: "folders",
11375
11390
  ...u
11376
- }, _ && /* @__PURE__ */ e.createElement("div", { className: `${d}__filter` }, /* @__PURE__ */ e.createElement(Gi, {
11391
+ }, _ && /* @__PURE__ */ e.createElement("div", { className: `${d}__filter` }, /* @__PURE__ */ e.createElement(qi, {
11377
11392
  hasClearButton: !0,
11378
11393
  id: "workspace-selector-panel-filter",
11379
11394
  label: i,
@@ -11386,7 +11401,7 @@ var Zr = {
11386
11401
  "aria-label": o,
11387
11402
  className: `${d}__nav`
11388
11403
  }, v.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${d}__no-results` }, c) : /* @__PURE__ */ e.createElement("ul", { className: `${d}__list` }, v)), y);
11389
- }, bo = /* @__PURE__ */ e.createElement("svg", {
11404
+ }, So = /* @__PURE__ */ e.createElement("svg", {
11390
11405
  "aria-label": "Pantheon",
11391
11406
  fill: "none",
11392
11407
  focusable: "false",
@@ -11448,7 +11463,7 @@ var Zr = {
11448
11463
  }), /* @__PURE__ */ e.createElement("path", {
11449
11464
  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",
11450
11465
  fill: "var(--pds-color-foreground-default)"
11451
- })), xo = /* @__PURE__ */ e.createElement("svg", {
11466
+ })), Co = /* @__PURE__ */ e.createElement("svg", {
11452
11467
  "aria-label": "Pantheon",
11453
11468
  fill: "none",
11454
11469
  focusable: "false",
@@ -11483,7 +11498,7 @@ var Zr = {
11483
11498
  }), /* @__PURE__ */ e.createElement("path", {
11484
11499
  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",
11485
11500
  fill: "var(--pds-color-foreground-default)"
11486
- })), So = /* @__PURE__ */ e.createElement("svg", {
11501
+ })), wo = /* @__PURE__ */ e.createElement("svg", {
11487
11502
  "aria-label": "Pantheon",
11488
11503
  fill: "none",
11489
11504
  focusable: "false",
@@ -11518,17 +11533,17 @@ var Zr = {
11518
11533
  }), /* @__PURE__ */ e.createElement("path", {
11519
11534
  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",
11520
11535
  fill: "var(--pds-color-foreground-default)"
11521
- })), Co = ({ className: t, colorType: n = "default", displayType: r = "full", linkContent: i, size: a = "m", ...o }) => {
11536
+ })), To = ({ className: t, colorType: n = "default", displayType: r = "full", linkContent: i, size: a = "m", ...o }) => {
11522
11537
  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;
11523
11538
  switch (r) {
11524
11539
  case "full":
11525
- f = bo;
11540
+ f = So;
11526
11541
  break;
11527
11542
  case "icon":
11528
- f = xo;
11543
+ f = Co;
11529
11544
  break;
11530
11545
  case "wordmark":
11531
- f = So;
11546
+ f = wo;
11532
11547
  break;
11533
11548
  }
11534
11549
  let p = s(i) && typeof i.props.children == "string" ? i.props.children : "", m = s(i) ? i.type : null, h = s(i) && m ? /* @__PURE__ */ e.createElement(m, Object.assign({}, i.props, {
@@ -11545,7 +11560,7 @@ var Zr = {
11545
11560
  ]),
11546
11561
  ...o
11547
11562
  }, i ? h : f);
11548
- }, wo = 8, To = 14, Eo = ({ className: t, classNameContainer: n, closeButtonLabel: r = "Close", content: i, customTrigger: a = !1, hasCloseButton: o = !1, offsetValue: s = 0, onClose: c = () => {}, placement: l = "top", popoverIsOpen: d = !1, setPopoverIsOpen: f = () => {}, title: p, triggerAccessibleText: m = "Show more information", triggerIcon: _ = "circleInfo", triggerIconSize: b = "m", ...x }) => {
11563
+ }, Eo = 8, Do = 14, Oo = ({ className: t, classNameContainer: n, closeButtonLabel: r = "Close", content: i, customTrigger: a = !1, hasCloseButton: o = !1, offsetValue: s = 0, onClose: c = () => {}, placement: l = "top", popoverIsOpen: d = !1, setPopoverIsOpen: f = () => {}, title: p, triggerAccessibleText: m = "Show more information", triggerIcon: _ = "circleInfo", triggerIconSize: b = "m", ...x }) => {
11549
11564
  let [C, O] = g(d);
11550
11565
  u(() => {
11551
11566
  O(d);
@@ -11572,12 +11587,12 @@ var Zr = {
11572
11587
  j(R),
11573
11588
  M(R),
11574
11589
  H(R)
11575
- ]), te = V.arrow?.x ?? 0, J = V.arrow?.y ?? 0, ne = te + To / 2, re = J + wo, { isMounted: ie } = U(R, {
11590
+ ]), te = V.arrow?.x ?? 0, J = V.arrow?.y ?? 0, ne = te + Do / 2, re = J + Eo, { isMounted: ie } = U(R, {
11576
11591
  initial: { transform: "scale(0)" },
11577
11592
  common: ({ side: e }) => ({ transformOrigin: {
11578
- top: `${ne}px calc(100% + ${wo}px)`,
11593
+ top: `${ne}px calc(100% + ${Eo}px)`,
11579
11594
  bottom: `${ne}px -8px`,
11580
- left: `calc(100% + ${wo}px) ${re}px`,
11595
+ left: `calc(100% + ${Eo}px) ${re}px`,
11581
11596
  right: `-8px ${re}px`
11582
11597
  }[e] })
11583
11598
  });
@@ -11612,23 +11627,23 @@ var Zr = {
11612
11627
  className: `${P}__arrow`,
11613
11628
  context: R,
11614
11629
  fill: "var(--pds-color-surface-default)",
11615
- height: wo,
11630
+ height: Eo,
11616
11631
  stroke: "var(--pds-color-border-default)",
11617
11632
  strokeWidth: 1,
11618
11633
  tipRadius: 0,
11619
- width: To
11634
+ width: Do
11620
11635
  }), /* @__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(Pn, {
11621
11636
  ariaLabel: r,
11622
11637
  onClick: G,
11623
11638
  size: "s"
11624
11639
  })))))));
11625
- }, Do = {
11640
+ }, ko = {
11626
11641
  neutral: "--pds-color-status-neutral-indicator",
11627
11642
  info: "--pds-color-status-info-fill",
11628
11643
  success: "--pds-color-status-success-fill",
11629
11644
  warning: "--pds-color-status-warning-fill",
11630
11645
  critical: "--pds-color-status-critical-fill"
11631
- }, Oo = ({ className: t, colorBreakpoints: n = [{
11646
+ }, Ao = ({ className: t, colorBreakpoints: n = [{
11632
11647
  colorType: "info",
11633
11648
  percentage: 0
11634
11649
  }, {
@@ -11649,7 +11664,7 @@ var Zr = {
11649
11664
  id: m
11650
11665
  }, i), (x || l) && /* @__PURE__ */ e.createElement("div", { className: `${h}__details` }, x && b, l && /* @__PURE__ */ e.createElement("div", {
11651
11666
  className: `${h}__percentage`,
11652
- style: { color: `hsl(from var(${Do[y]}) h s calc(l - 7))` }
11667
+ style: { color: `hsl(from var(${ko[y]}) h s calc(l - 7))` }
11653
11668
  }, s, "%")), /* @__PURE__ */ e.createElement("div", { className: `${h}__wrapper` }, /* @__PURE__ */ e.createElement("div", {
11654
11669
  "aria-labelledby": m,
11655
11670
  "aria-valuenow": v,
@@ -11659,16 +11674,16 @@ var Zr = {
11659
11674
  className: `${h}__bar`,
11660
11675
  style: {
11661
11676
  width: `${v}%`,
11662
- backgroundColor: `var(${Do[y]})`
11677
+ backgroundColor: `var(${ko[y]})`
11663
11678
  }
11664
11679
  }))), S && b);
11665
- }, ko = {
11680
+ }, jo = {
11666
11681
  neutral: "--pds-color-status-neutral-indicator",
11667
11682
  info: "--pds-color-status-info-fill",
11668
11683
  success: "--pds-color-status-success-fill",
11669
11684
  warning: "--pds-color-status-warning-fill",
11670
11685
  critical: "--pds-color-status-critical-fill"
11671
- }, Ao = ({ className: t, colorBreakpoints: n = [{
11686
+ }, Mo = ({ className: t, colorBreakpoints: n = [{
11672
11687
  colorType: "info",
11673
11688
  percentage: 0
11674
11689
  }, {
@@ -11717,7 +11732,7 @@ var Zr = {
11717
11732
  strokeDasharray: x,
11718
11733
  strokeDashoffset: S,
11719
11734
  strokeWidth: y,
11720
- style: { stroke: `var(${ko[C]})` },
11735
+ style: { stroke: `var(${jo[C]})` },
11721
11736
  transform: `rotate(-90 ${v / 2} ${v / 2})`
11722
11737
  }), /* @__PURE__ */ e.createElement("text", {
11723
11738
  alignmentBaseline: "middle",
@@ -11727,29 +11742,29 @@ var Zr = {
11727
11742
  x: "50%",
11728
11743
  y: "51%"
11729
11744
  }, w))));
11730
- }, jo = {
11745
+ }, No = {
11731
11746
  of: "of",
11732
11747
  showing: "Showing",
11733
11748
  unitPlural: "results",
11734
11749
  unitSingular: "result"
11735
- }, Mo = (e, t, n, r) => new Intl.PluralRules(r).select(e) === "one" ? t : n, No = ({ className: t, countMatching: n, countTotal: r, labelStrings: i, locale: a, ...o }) => {
11750
+ }, Po = (e, t, n, r) => new Intl.PluralRules(r).select(e) === "one" ? t : n, Fo = ({ className: t, countMatching: n, countTotal: r, labelStrings: i, locale: a, ...o }) => {
11736
11751
  let s = "pds-result-count", c = `${s}__number`, { of: l, showing: u, unitPlural: d, unitSingular: f } = {
11737
- ...jo,
11752
+ ...No,
11738
11753
  ...i
11739
- }, p = n !== void 0, m = Mo(r, f, d, a);
11754
+ }, p = n !== void 0, m = Po(r, f, d, a);
11740
11755
  return /* @__PURE__ */ e.createElement("div", {
11741
11756
  "aria-live": "polite",
11742
11757
  className: Z([s, t ?? ""]),
11743
11758
  ...o
11744
11759
  }, /* @__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}`));
11745
- }, Po = {
11760
+ }, Io = {
11746
11761
  privacy: /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Privacy Policy"),
11747
11762
  dataSubjectRequest: /* @__PURE__ */ e.createElement("a", { href: "http://pantheon.io/data-subject-request" }, "Data Subject Request"),
11748
11763
  cookiePolicy: /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Cookie Policy"),
11749
11764
  termsOfUse: /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Terms of Use"),
11750
11765
  acceptableUse: /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Acceptable Use Policy"),
11751
11766
  accessibilityStatement: /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/accessibility-statement" }, "Accessibility Statement")
11752
- }, Fo = (e) => typeof e == "string", Io = ({ as: t = "div", children: n, className: r, containerWidth: i = "full", hasTopBorder: a, legalLinks: o = [
11767
+ }, Lo = (e) => typeof e == "string", Ro = ({ as: t = "div", children: n, className: r, containerWidth: i = "full", hasTopBorder: a, legalLinks: o = [
11753
11768
  "privacy",
11754
11769
  "dataSubjectRequest",
11755
11770
  "cookiePolicy",
@@ -11766,8 +11781,8 @@ var Zr = {
11766
11781
  r ?? ""
11767
11782
  ]),
11768
11783
  ...c
11769
- }, /* @__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."), o.map((t, n) => Fo(t) ? /* @__PURE__ */ e.createElement(e.Fragment, { key: t }, Po[t]) : /* @__PURE__ */ e.createElement(e.Fragment, { key: n }, t)))));
11770
- }, Lo = ({ className: t, option: n, ...r }) => {
11784
+ }, /* @__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."), o.map((t, n) => Lo(t) ? /* @__PURE__ */ e.createElement(e.Fragment, { key: t }, Io[t]) : /* @__PURE__ */ e.createElement(e.Fragment, { key: n }, t)))));
11785
+ }, zo = ({ className: t, option: n, ...r }) => {
11771
11786
  let i = "pds-site-option-display", a = n.type ? qn[n.type] : "boltSolid", o = h(null), [s] = qe(o), c = s.width / 16 - 7.5, l, u;
11772
11787
  n.status === "active" && (l = "Active", u = "success"), n.status === "frozen" && (l = "Frozen", u = "frozen"), n.status === "restricted" && (l = "Restricted", u = "critical");
11773
11788
  let d = /* @__PURE__ */ e.createElement(Cn, {
@@ -11790,7 +11805,7 @@ var Zr = {
11790
11805
  className: `${i}__status`,
11791
11806
  style: { pointerEvents: "none" }
11792
11807
  }, d));
11793
- }, Ro = ({ className: t, disabled: n = !1, id: r, isLoading: i = !1, label: a = "Search sites", labelStrings: o = {
11808
+ }, Bo = ({ className: t, disabled: n = !1, id: r, isLoading: i = !1, label: a = "Search sites", labelStrings: o = {
11794
11809
  clearButton: "Clear input text",
11795
11810
  inputInstructions: "Type to search options"
11796
11811
  }, loadingText: s = "Loading results...", noResultsText: c = "No results found", onFocus: l, onOptionSelect: u, placeholder: d = "Search sites", siteList: f, ...p }) => {
@@ -11802,7 +11817,7 @@ var Zr = {
11802
11817
  id: n,
11803
11818
  label: i,
11804
11819
  value: r ?? i,
11805
- optionDisplay: /* @__PURE__ */ e.createElement(Lo, { option: t }),
11820
+ optionDisplay: /* @__PURE__ */ e.createElement(zo, { option: t }),
11806
11821
  siteData: t
11807
11822
  };
11808
11823
  });
@@ -11831,7 +11846,7 @@ var Zr = {
11831
11846
  };
11832
11847
  //#endregion
11833
11848
  //#region src/components/SortableList/sortable-utils.ts
11834
- function zo(e, t, n = null, r = 0, i = []) {
11849
+ function Vo(e, t, n = null, r = 0, i = []) {
11835
11850
  return e.reduce((e, a, o) => {
11836
11851
  let s = !!a.children?.length, c = t.has(a.id);
11837
11852
  return e.push({
@@ -11843,10 +11858,10 @@ function zo(e, t, n = null, r = 0, i = []) {
11843
11858
  index: o,
11844
11859
  isExpanded: c,
11845
11860
  parentId: n
11846
- }), s && c && a.children && e.push(...zo(a.children, t, a.id, r + 1, [...i, a.id])), e;
11861
+ }), s && c && a.children && e.push(...Vo(a.children, t, a.id, r + 1, [...i, a.id])), e;
11847
11862
  }, []);
11848
11863
  }
11849
- function Bo(e) {
11864
+ function Ho(e) {
11850
11865
  let t = /* @__PURE__ */ new Map(), n = new Set(e.map((e) => e.id)), r = [];
11851
11866
  for (let i of e) {
11852
11867
  let e = i.data.children ?? [], a = e.length > 0 && !e.some((e) => n.has(e.id)), o = {
@@ -11859,28 +11874,28 @@ function Bo(e) {
11859
11874
  e && (e.children || (e.children = []), e.children.push(o));
11860
11875
  }
11861
11876
  }
11862
- return Vo(r);
11877
+ return Uo(r);
11863
11878
  }
11864
- function Vo(e) {
11879
+ function Uo(e) {
11865
11880
  return e.map((e) => {
11866
11881
  if (e.children?.length) return {
11867
11882
  ...e,
11868
- children: Vo(e.children)
11883
+ children: Uo(e.children)
11869
11884
  };
11870
11885
  let { children: t, ...n } = e;
11871
11886
  return n;
11872
11887
  });
11873
11888
  }
11874
- function Ho(e, t) {
11889
+ function Wo(e, t) {
11875
11890
  for (let n of e) {
11876
11891
  if (n.id === t) return n;
11877
11892
  if (n.children) {
11878
- let e = Ho(n.children, t);
11893
+ let e = Wo(n.children, t);
11879
11894
  if (e) return e;
11880
11895
  }
11881
11896
  }
11882
11897
  }
11883
- function Uo(e, t, n, r, i, a, o) {
11898
+ function Go(e, t, n, r, i, a, o) {
11884
11899
  let s = e.findIndex((e) => e.id === n);
11885
11900
  if (s === -1) return 0;
11886
11901
  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;
@@ -11888,7 +11903,7 @@ function Uo(e, t, n, r, i, a, o) {
11888
11903
  }
11889
11904
  //#endregion
11890
11905
  //#region src/components/SortableList/SortableListHeader.tsx
11891
- var Wo = ({ children: t, className: n, columns: r, ...i }) => {
11906
+ var Ko = ({ children: t, className: n, columns: r, ...i }) => {
11892
11907
  if (!r && !t) return null;
11893
11908
  let a = r ? {
11894
11909
  display: "grid",
@@ -11909,13 +11924,13 @@ var Wo = ({ children: t, className: n, columns: r, ...i }) => {
11909
11924
  };
11910
11925
  //#endregion
11911
11926
  //#region src/components/SortableList/useSortableTree.ts
11912
- function Go({ defaultItems: e, isDragEnabled: t = !1, items: n, onReorder: r }) {
11927
+ function qo({ defaultItems: e, isDragEnabled: t = !1, items: n, onReorder: r }) {
11913
11928
  let i = n !== void 0, [a, o] = g(() => n ?? e ?? []), [s, l] = g(/* @__PURE__ */ new Set()), u = h(null), d = h(t);
11914
11929
  t && !d.current && (u.current = {
11915
11930
  items: i ? n : a,
11916
11931
  expandedIds: s
11917
- }), t || (u.current = null), d.current = t, process.env.NODE_ENV !== "production" && n !== void 0 && e !== void 0 && qo("SortableList received both `items` and `defaultItems`. `items` will be used and `defaultItems` will be ignored.");
11918
- let f = i ? n : a, p = m(() => zo(f, s), [f, s]), _ = m(() => p.map((e) => e.id), [p]), v = c((e) => {
11932
+ }), t || (u.current = null), d.current = t, process.env.NODE_ENV !== "production" && n !== void 0 && e !== void 0 && Yo("SortableList received both `items` and `defaultItems`. `items` will be used and `defaultItems` will be ignored.");
11933
+ let f = i ? n : a, p = m(() => Vo(f, s), [f, s]), _ = m(() => p.map((e) => e.id), [p]), v = c((e) => {
11919
11934
  l((t) => {
11920
11935
  let n = new Set(t);
11921
11936
  return n.has(e) ? n.delete(e) : n.add(e), n;
@@ -11933,7 +11948,7 @@ function Go({ defaultItems: e, isDragEnabled: t = !1, items: n, onReorder: r })
11933
11948
  }, []),
11934
11949
  flatNodes: p,
11935
11950
  handleReorder: c((e) => {
11936
- let t = Bo(e);
11951
+ let t = Ho(e);
11937
11952
  i || o(t), r?.(t);
11938
11953
  }, [i, r]),
11939
11954
  resetToSnapshot: c(() => {
@@ -11945,24 +11960,24 @@ function Go({ defaultItems: e, isDragEnabled: t = !1, items: n, onReorder: r })
11945
11960
  toggleExpand: v
11946
11961
  };
11947
11962
  }
11948
- var Ko = /* @__PURE__ */ new Set();
11949
- function qo(e) {
11950
- Ko.has(e) || (Ko.add(e), console.warn(e));
11963
+ var Jo = /* @__PURE__ */ new Set();
11964
+ function Yo(e) {
11965
+ Jo.has(e) || (Jo.add(e), console.warn(e));
11951
11966
  }
11952
11967
  //#endregion
11953
11968
  //#region src/components/SortableList/SortableList.tsx
11954
- var Jo = 24, Yo = { droppable: { strategy: Ze.Always } }, Xo = o(function({ children: n, className: r, columns: i, defaultItems: a, getItemLabel: o = (e) => String(e.id), isDragEnabled: l, isItemLocked: u = () => !1, isNestingLocked: d = () => !1, items: p, maxDepth: _ = 0, onReorder: v, renderRow: y, reorderMode: b = "always", screenReaderInstructions: x, ...S }, C) {
11969
+ var Xo = 24, Zo = { droppable: { strategy: Ze.Always } }, Qo = o(function({ children: n, className: r, columns: i, defaultItems: a, getItemLabel: o = (e) => String(e.id), isDragEnabled: l, isItemLocked: u = () => !1, isNestingLocked: d = () => !1, items: p, maxDepth: _ = 0, onReorder: v, renderRow: y, reorderMode: b = "always", screenReaderInstructions: x, ...S }, C) {
11955
11970
  let w = "pds-sortable-list", [T, E] = g(null), D = h(null), [O, k] = g(!1), A = h(!1), [j, M] = g(null), N = h(0), P = h(0), F = h("pointer"), I = h(0), L = h(null), [R, z] = g(0), B = h(0), [V, H] = g(0), U = h(0), ee = c((e, t) => {
11956
11971
  if (_ > 0 && (e.key === "ArrowLeft" || e.key === "ArrowRight")) {
11957
11972
  e.preventDefault();
11958
11973
  let n = e.key === "ArrowRight" ? 1 : -1, r = B.current, i = Math.max(-_, Math.min(_, r + n)), a = i - r;
11959
11974
  return B.current = i, z(i), {
11960
- x: t.currentCoordinates.x + a * Jo,
11975
+ x: t.currentCoordinates.x + a * Xo,
11961
11976
  y: t.currentCoordinates.y
11962
11977
  };
11963
11978
  }
11964
11979
  return rt(e, t);
11965
- }, [_]), W = b === "always" || b === "toggle" && (l ?? !1), { currentItems: G, expandItem: K, flatNodes: q, handleReorder: te, resetToSnapshot: J, sortableIds: ne, toggleExpand: re } = Go({
11980
+ }, [_]), W = b === "always" || b === "toggle" && (l ?? !1), { currentItems: G, expandItem: K, flatNodes: q, handleReorder: te, resetToSnapshot: J, sortableIds: ne, toggleExpand: re } = qo({
11966
11981
  defaultItems: a,
11967
11982
  isDragEnabled: W,
11968
11983
  items: p,
@@ -11989,9 +12004,9 @@ var Jo = 24, Yo = { droppable: { strategy: Ze.Always } }, Xo = o(function({ chil
11989
12004
  se,
11990
12005
  Y,
11991
12006
  j
11992
- ]).size > 0, ue = m(() => T ? q.find((e) => e.id === T) ?? null : null, [T, q]), de = m(() => T ? Ho(G, String(T)) ?? null : null, [T, G]), fe = m(() => {
12007
+ ]).size > 0, ue = m(() => T ? q.find((e) => e.id === T) ?? null : null, [T, q]), de = m(() => T ? Wo(G, String(T)) ?? null : null, [T, G]), fe = m(() => {
11993
12008
  let e = ue?.depth ?? 0;
11994
- return !T || !j || O || _ === 0 ? e : Uo(q, String(T), String(j), V * Jo, Jo, _);
12009
+ return !T || !j || O || _ === 0 ? e : Go(q, String(T), String(j), V * Xo, Xo, _);
11995
12010
  }, [
11996
12011
  T,
11997
12012
  ue,
@@ -12003,7 +12018,7 @@ var Jo = 24, Yo = { droppable: { strategy: Ze.Always } }, Xo = o(function({ chil
12003
12018
  ]), pe = m(() => {
12004
12019
  if (!T || O || fe === 0 || j && se(j)) return null;
12005
12020
  let e = q.findIndex((e) => e.id === T);
12006
- return e === -1 ? null : Zo(q, e, fe);
12021
+ return e === -1 ? null : $o(q, e, fe);
12007
12022
  }, [
12008
12023
  T,
12009
12024
  q,
@@ -12049,19 +12064,19 @@ var Jo = 24, Yo = { droppable: { strategy: Ze.Always } }, Xo = o(function({ chil
12049
12064
  }, [q, Y]), X = c((e) => {
12050
12065
  let t = e.delta.x;
12051
12066
  if (P.current = t, A.current || _ === 0) return;
12052
- let n = Math.floor(t / Jo), r = U.current;
12053
- (n > r || n < r && t < r * Jo - Jo * .4) && (U.current = n, H(n));
12067
+ let n = Math.floor(t / Xo), r = U.current;
12068
+ (n > r || n < r && t < r * Xo - Xo * .4) && (U.current = n, H(n));
12054
12069
  }, [_]), _e = c((e) => {
12055
12070
  let { active: t, over: n } = e, r = A.current, i = B.current, a = U.current;
12056
12071
  E(null), D.current = null, k(!1), A.current = !1, M(null), U.current = 0, H(0), L.current && (K(L.current), L.current = null);
12057
- let o = q.findIndex((e) => e.id === t.id), s = r ? i * Jo : a * Jo, c = !n || t.id === n.id, l = n?.id ?? null;
12072
+ let o = q.findIndex((e) => e.id === t.id), s = r ? i * Xo : a * Xo, c = !n || t.id === n.id, l = n?.id ?? null;
12058
12073
  if (r && i > 0 && c && o > 0 && (l = q[o - 1].id), !l || t.id === l) {
12059
12074
  if (o === -1) return;
12060
12075
  let e = q[o];
12061
12076
  if (!e) return;
12062
- let n = Uo(q, String(t.id), String(t.id), s, Jo, _);
12077
+ let n = Go(q, String(t.id), String(t.id), s, Xo, _);
12063
12078
  if (n === e.depth) return;
12064
- let r = [...q], [i] = r.splice(o, 1), a = Zo(r, o, n);
12079
+ let r = [...q], [i] = r.splice(o, 1), a = $o(r, o, n);
12065
12080
  if (a && oe.has(a)) return;
12066
12081
  let c = {
12067
12082
  ...i,
@@ -12083,9 +12098,9 @@ var Jo = 24, Yo = { droppable: { strategy: Ze.Always } }, Xo = o(function({ chil
12083
12098
  let e = q[u];
12084
12099
  g = Math.min(e.depth + 1, _), v = String(l);
12085
12100
  } else {
12086
- g = Uo(d, String(t.id), String(l), s, Jo, _, p.depth);
12101
+ g = Go(d, String(t.id), String(l), s, Xo, _, p.depth);
12087
12102
  let e = d[h];
12088
- v = e && e.depth === g - 1 ? String(l) : Zo(d, h, g);
12103
+ v = e && e.depth === g - 1 ? String(l) : $o(d, h, g);
12089
12104
  }
12090
12105
  if (v && oe.has(v)) return;
12091
12106
  let y = {
@@ -12108,24 +12123,24 @@ var Jo = 24, Yo = { droppable: { strategy: Ze.Always } }, Xo = o(function({ chil
12108
12123
  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 && (K(L.current), L.current = null);
12109
12124
  }, [K]), ye = m(() => ({
12110
12125
  onDragStart({ active: e }) {
12111
- let t = q.find((t) => t.id === e.id), n = Ho(G, String(e.id));
12126
+ let t = q.find((t) => t.id === e.id), n = Wo(G, String(e.id));
12112
12127
  return `Picked up ${n ? o(n) : String(e.id)}. Current position: ${t ? q.indexOf(t) + 1 : "?"} of ${q.length} at depth ${t?.depth ?? 0}.`;
12113
12128
  },
12114
12129
  onDragOver({ active: e, over: t }) {
12115
12130
  if (!t) return;
12116
12131
  let n = q.findIndex((e) => e.id === t.id);
12117
12132
  if (n === -1) return;
12118
- let r = Ho(G, String(e.id)), i = r ? o(r) : String(e.id), a = Uo(q, String(e.id), String(t.id), P.current, Jo, _);
12133
+ let r = Wo(G, String(e.id)), i = r ? o(r) : String(e.id), a = Go(q, String(e.id), String(t.id), P.current, Xo, _);
12119
12134
  return `Moving ${i}. Target position: ${n + 1} of ${q.length} at depth ${a}.`;
12120
12135
  },
12121
12136
  onDragEnd({ active: e, over: t }) {
12122
- let n = Ho(G, String(e.id)), r = n ? o(n) : String(e.id);
12137
+ let n = Wo(G, String(e.id)), r = n ? o(n) : String(e.id);
12123
12138
  if (!t || e.id === t.id) return `${r} dropped. No change in position.`;
12124
- let i = q.findIndex((e) => e.id === t.id), a = Uo(q, String(e.id), String(t.id), P.current, Jo, _);
12139
+ let i = q.findIndex((e) => e.id === t.id), a = Go(q, String(e.id), String(t.id), P.current, Xo, _);
12125
12140
  return `${r} dropped at position ${i + 1} of ${q.length} at depth ${a}.`;
12126
12141
  },
12127
12142
  onDragCancel({ active: e }) {
12128
- let t = q.find((t) => t.id === e.id), n = Ho(G, String(e.id));
12143
+ let t = q.find((t) => t.id === e.id), n = Wo(G, String(e.id));
12129
12144
  return `Sorting cancelled. ${n ? o(n) : String(e.id)} returned to position ${t ? q.indexOf(t) + 1 : "?"} of ${q.length}.`;
12130
12145
  }
12131
12146
  }), [
@@ -12133,14 +12148,14 @@ var Jo = 24, Yo = { droppable: { strategy: Ze.Always } }, Xo = o(function({ chil
12133
12148
  q,
12134
12149
  o,
12135
12150
  _
12136
- ]), be = { columns: i }, xe = t.map(n, (t) => s(t) && t.type === Wo ? e.cloneElement(t, be) : t);
12151
+ ]), be = { columns: i }, xe = t.map(n, (t) => s(t) && t.type === Ko ? e.cloneElement(t, be) : t);
12137
12152
  return /* @__PURE__ */ e.createElement(Je, {
12138
12153
  accessibility: {
12139
12154
  announcements: ye,
12140
12155
  ...x ? { screenReaderInstructions: { draggable: x } } : {}
12141
12156
  },
12142
12157
  collisionDetection: he,
12143
- measuring: Yo,
12158
+ measuring: Zo,
12144
12159
  onDragCancel: ve,
12145
12160
  onDragEnd: _e,
12146
12161
  onDragMove: X,
@@ -12215,14 +12230,14 @@ var Jo = 24, Yo = { droppable: { strategy: Ze.Always } }, Xo = o(function({ chil
12215
12230
  return s(a) ? e.cloneElement(a, o) : a;
12216
12231
  })()) : null));
12217
12232
  });
12218
- function Zo(e, t, n) {
12233
+ function $o(e, t, n) {
12219
12234
  if (n === 0) return null;
12220
12235
  for (let r = t - 1; r >= 0; r--) if (e[r].depth === n - 1) return e[r].id;
12221
12236
  return null;
12222
12237
  }
12223
12238
  //#endregion
12224
12239
  //#region src/components/SortableList/SortableRow.tsx
12225
- var Qo = ({ 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 }) => {
12240
+ var es = ({ 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 }) => {
12226
12241
  let { attributes: g, isDragging: _, listeners: v, setNodeRef: y, transform: b, transition: x } = it({
12227
12242
  attributes: {
12228
12243
  role: "listitem",
@@ -12277,7 +12292,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12277
12292
  key: t.id,
12278
12293
  className: `${w}__cell`
12279
12294
  }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, t.label, ": "), j[t.id] ?? null)) : t));
12280
- }, $o = ({ actionCallback: t, actionIcon: n = "barsFilter", actionLabel: r, className: i, description: a, icon: o, iconColor: s = "neutral", isActive: c = !1, isLoading: l = !1, stat: u, title: f, ...p }) => {
12295
+ }, ts = ({ actionCallback: t, actionIcon: n = "barsFilter", actionLabel: r, className: i, description: a, icon: o, iconColor: s = "neutral", isActive: c = !1, isLoading: l = !1, stat: u, title: f, ...p }) => {
12281
12296
  let m = "pds-stat-panel", h = s === "neutral" ? null : `${m}--${s}`, g = c ? `${m}--active` : null, _ = d(), v = n && r && t;
12282
12297
  return /* @__PURE__ */ e.createElement("div", {
12283
12298
  "aria-labelledby": _,
@@ -12313,11 +12328,11 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12313
12328
  size: { width: 6 },
12314
12329
  textSize: "xl"
12315
12330
  }) : u && /* @__PURE__ */ e.createElement("span", { className: `${m}__stat` }, u)), a && /* @__PURE__ */ e.createElement("p", { className: `${m}__description` }, a));
12316
- }, es = [
12331
+ }, ns = [
12317
12332
  "default",
12318
12333
  "working",
12319
12334
  "checked"
12320
- ], ts = ({ alignment: t = "left", className: n, componentWidth: r, labelStrings: i = {}, lastChecked: a, onCheck: o, state: s = "default", ...c }) => {
12335
+ ], rs = ({ alignment: t = "left", className: n, componentWidth: r, labelStrings: i = {}, lastChecked: a, onCheck: o, state: s = "default", ...c }) => {
12321
12336
  let l = {
12322
12337
  checkForUpdates: "Check for updates",
12323
12338
  checking: "Checking...",
@@ -12365,7 +12380,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12365
12380
  triggerIconColor: "default",
12366
12381
  triggerIconSize: "xs"
12367
12382
  }), t === "left" && g));
12368
- }, ns = ({ className: t, label: n = null, linkContent: r, type: i = "neutral", ...a }) => {
12383
+ }, is = ({ className: t, label: n = null, linkContent: r, type: i = "neutral", ...a }) => {
12369
12384
  let o = "pds-status-indicator", c = `${o}--${i}`, l = /* @__PURE__ */ e.createElement(e.Fragment, null, i === "working" ? /* @__PURE__ */ e.createElement(Sn, {
12370
12385
  className: `${o}__spinner`,
12371
12386
  size: "m"
@@ -12382,23 +12397,23 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12382
12397
  ]),
12383
12398
  ...a
12384
12399
  }, r ? d : l);
12385
- }, rs = {
12400
+ }, as = {
12386
12401
  frozen: "snowflake",
12387
12402
  restricted: "lock"
12388
- }, is = {
12403
+ }, os = {
12389
12404
  frozen: "Frozen",
12390
12405
  restricted: "Restricted"
12391
- }, as = ({ className: t, label: n, status: r, ...i }) => {
12406
+ }, ss = ({ className: t, label: n, status: r, ...i }) => {
12392
12407
  let a = "pds-status-scrim";
12393
12408
  return /* @__PURE__ */ e.createElement("div", {
12394
12409
  className: Z([a, t ?? ""]),
12395
12410
  ...i
12396
12411
  }, /* @__PURE__ */ e.createElement(Q, {
12397
12412
  className: `${a}__icon`,
12398
- iconName: rs[r],
12413
+ iconName: as[r],
12399
12414
  size: "3xl"
12400
- }), /* @__PURE__ */ e.createElement("span", { className: `${a}__label` }, n ?? is[r]));
12401
- }, os = ({ className: t, contentAlignment: n = "indented", layoutDirection: r = "vertical", steps: i, ...a }) => {
12415
+ }), /* @__PURE__ */ e.createElement("span", { className: `${a}__label` }, n ?? os[r]));
12416
+ }, cs = ({ className: t, contentAlignment: n = "indented", layoutDirection: r = "vertical", steps: i, ...a }) => {
12402
12417
  let o = "pds-step-list", s = `${o}--${n}`, c = r === "horizontal" ? `${o}--horizontal` : "", l = i.map(({ content: t, header: r }, i) => {
12403
12418
  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`;
12404
12419
  return /* @__PURE__ */ e.createElement("li", {
@@ -12416,7 +12431,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12416
12431
  style: r === "horizontal" ? { "--step-list-columns": i.length } : void 0,
12417
12432
  ...a
12418
12433
  }, l);
12419
- }, ss = ({ className: t, steps: n, translatableLabels: r = {
12434
+ }, ls = ({ className: t, steps: n, translatableLabels: r = {
12420
12435
  step: "Step",
12421
12436
  completed: "completed",
12422
12437
  hasError: "has an error",
@@ -12480,7 +12495,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12480
12495
  key: t.id,
12481
12496
  className: `${o}__step`,
12482
12497
  id: `${t.id}--mobile`
12483
- }, /* @__PURE__ */ e.createElement("div", { className: `${o}__progress-indicator` }, /* @__PURE__ */ e.createElement(Ao, {
12498
+ }, /* @__PURE__ */ e.createElement("div", { className: `${o}__progress-indicator` }, /* @__PURE__ */ e.createElement(Mo, {
12484
12499
  innerLabel: n,
12485
12500
  label: "Step progress",
12486
12501
  percentage: i,
@@ -12506,7 +12521,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12506
12521
  "data-steps": u,
12507
12522
  ...i
12508
12523
  }, /* @__PURE__ */ e.createElement("div", { className: `${o}__steps` }, p)));
12509
- }, cs = ({ _isFirstStep: t, backButton: n, forwardButton: r, hasError: i, id: a, isComplete: o, isCurrent: s, label: c, stepContent: l, ...u }) => {
12524
+ }, us = ({ _isFirstStep: t, backButton: n, forwardButton: r, hasError: i, id: a, isComplete: o, isCurrent: s, label: c, stepContent: l, ...u }) => {
12510
12525
  let d = "pds-vert-stepper", f = `${d}__step`, p = [f];
12511
12526
  return s && p.push(`${f}--current`), o && p.push(`${f}--complete`), i && p.push(`${f}--error`), /* @__PURE__ */ e.createElement("li", {
12512
12527
  className: Z([...p]),
@@ -12532,14 +12547,14 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12532
12547
  size: "s",
12533
12548
  variant: "highlight"
12534
12549
  })))));
12535
- }, ls = ({ className: t, labelStrings: n = {
12550
+ }, ds = ({ className: t, labelStrings: n = {
12536
12551
  step: "Step",
12537
12552
  completed: "completed",
12538
12553
  hasError: "has an error"
12539
12554
  }, steps: r, ...i }) => {
12540
12555
  let a = "pds-vert-stepper", o = r.length, s = r.findIndex((e) => e.isCurrent), c = r.map((t, r) => {
12541
12556
  let i = r + 1, a = r === s, c = r === 0, l = t.isComplete || !1, u = t.hasError && a, d = `${n.step} ${i}`;
12542
- return l && (d = `${n.step} ${i}, ${n.completed}`), u && (d = `${n.step} ${i}, ${n.hasError}`), /* @__PURE__ */ e.createElement(cs, {
12557
+ return l && (d = `${n.step} ${i}, ${n.completed}`), u && (d = `${n.step} ${i}, ${n.hasError}`), /* @__PURE__ */ e.createElement(us, {
12543
12558
  key: `s${i}`,
12544
12559
  _isFirstStep: c,
12545
12560
  "aria-current": a ? "step" : null,
@@ -12560,8 +12575,8 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12560
12575
  className: Z([a, t ?? ""]),
12561
12576
  ...i
12562
12577
  }, /* @__PURE__ */ e.createElement("ol", { className: `${a}__steps` }, r && c));
12563
- }, us = ({ className: t, closeDetailPanelLabel: n = "Close detail panel", columns: r, currentPage: i, defaultSortKey: a, defaultSortOrder: o = "asc", density: s = "standard", detailPanelNav: c = !0, detailPanelTitle: l, detailPanelWidth: f, emptyState: p, emptyStateHeading: _ = "No results found.", emptyStateMessage: v, footer: y, getDetailPanelPositionLabel: b = (e, t) => `${e} of ${t}`, getPageSizeLabel: x = (e) => `Show ${e} rows per page`, getRowClassName: S, getRowId: C, getRowSelectDisabledReason: w, getSelectRowLabel: T = (e, t) => `Select row ${t}`, getSortLabel: E = (e) => `Sort by ${e}`, hasDesktopDetailPanel: D = !1, hasMobileCards: O = !1, hasMobileDetailSheet: k = !0, hasPanel: A = !1, inspectedRowId: j, isLoading: M = !1, isRowSelectable: N = () => !0, itemsPerPage: P, loadingRowCount: F = 5, maxHeight: I, minHeight: L, nextDetailPanelRowLabel: R = "Next row", onDetailPanelNext: z, onDetailPanelPrev: B, onPageChange: V, onPageSizeChange: H, onRowInspect: U, onRowSelectionChange: ee, onSort: W, pageSizeOptions: G, pageSizeSelectLabel: K = "Rows per page", paginationLabels: q, prevDetailPanelRowLabel: te = "Previous row", renderDetailPanel: J, renderDetailPanelFooter: ne, rowData: re, selectAllLabel: ie = "Select all rows", selectedRows: ae, sortKey: Y, sortOrder: oe, totalItemCount: se, ...ce }) => {
12564
- let le = "pds-table", ue = d(), de = d(), fe = h(null), pe = ga() === "sm" && O, me = A && !pe, he = r.some((e) => e.cardVisible) ? r.filter((e) => e.cardVisible) : r.slice(0, 1), ge = J !== void 0 || U === void 0 && k, X = J !== void 0 || U !== void 0 || k, _e = W !== void 0, ve = V !== void 0, ye = H !== void 0, be = ve || P !== void 0 || G !== void 0, xe = re.length > 0 || ve && (se ?? 0) > 0, [Se, Ce] = g({
12578
+ }, fs = ({ className: t, closeDetailPanelLabel: n = "Close detail panel", columns: r, currentPage: i, defaultSortKey: a, defaultSortOrder: o = "asc", density: s = "standard", detailPanelNav: c = !0, detailPanelTitle: l, detailPanelWidth: f, emptyState: p, emptyStateHeading: _ = "No results found.", emptyStateMessage: v, footer: y, getDetailPanelPositionLabel: b = (e, t) => `${e} of ${t}`, getPageSizeLabel: x = (e) => `Show ${e} rows per page`, getRowClassName: S, getRowId: C, getRowSelectDisabledReason: w, getSelectRowLabel: T = (e, t) => `Select row ${t}`, getSortLabel: E = (e) => `Sort by ${e}`, hasDesktopDetailPanel: D = !1, hasMobileCards: O = !1, hasMobileDetailSheet: k = !0, hasPanel: A = !1, inspectedRowId: j, isLoading: M = !1, isRowSelectable: N = () => !0, itemsPerPage: P, loadingRowCount: F = 5, maxHeight: I, minHeight: L, nextDetailPanelRowLabel: R = "Next row", onDetailPanelNext: z, onDetailPanelPrev: B, onPageChange: V, onPageSizeChange: H, onRowInspect: U, onRowSelectionChange: ee, onSort: W, pageSizeOptions: G, pageSizeSelectLabel: K = "Rows per page", paginationLabels: q, prevDetailPanelRowLabel: te = "Previous row", renderDetailPanel: J, renderDetailPanelFooter: ne, rowData: re, selectAllLabel: ie = "Select all rows", selectedRows: ae, sortKey: Y, sortOrder: oe, totalItemCount: se, ...ce }) => {
12579
+ let le = "pds-table", ue = d(), de = d(), fe = h(null), pe = va() === "sm" && O, me = A && !pe, he = r.some((e) => e.cardVisible) ? r.filter((e) => e.cardVisible) : r.slice(0, 1), ge = J !== void 0 || U === void 0 && k, X = J !== void 0 || U !== void 0 || k, _e = W !== void 0, ve = V !== void 0, ye = H !== void 0, be = ve || P !== void 0 || G !== void 0, xe = re.length > 0 || ve && (se ?? 0) > 0, [Se, Ce] = g({
12565
12580
  key: a ?? "",
12566
12581
  order: a === void 0 ? "asc" : o
12567
12582
  }), we = m(() => {
@@ -12830,7 +12845,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12830
12845
  showLabel: !1,
12831
12846
  size: "s",
12832
12847
  value: String(Ie)
12833
- }), /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__pagination-controls" }, /* @__PURE__ */ e.createElement(so, {
12848
+ }), /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__pagination-controls" }, /* @__PURE__ */ e.createElement(lo, {
12834
12849
  currentPage: ve ? i ?? 1 : Te,
12835
12850
  itemsPerPage: Ie,
12836
12851
  labelStrings: q,
@@ -12857,7 +12872,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12857
12872
  onClick: Xe,
12858
12873
  size: "s",
12859
12874
  variant: "standard"
12860
- })))), pe && /* @__PURE__ */ e.createElement(Qa, {
12875
+ })))), pe && /* @__PURE__ */ e.createElement(eo, {
12861
12876
  closeButtonLabel: n,
12862
12877
  isOpen: Ne,
12863
12878
  setIsOpen: (e) => {
@@ -12884,8 +12899,8 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12884
12899
  size: "s",
12885
12900
  variant: "standard"
12886
12901
  }))))));
12887
- return me ? /* @__PURE__ */ e.createElement(ho, { padding: "none" }, Ct) : Ct;
12888
- }, ds = [
12902
+ return me ? /* @__PURE__ */ e.createElement(_o, { padding: "none" }, Ct) : Ct;
12903
+ }, ps = [
12889
12904
  " ",
12890
12905
  "/",
12891
12906
  ".",
@@ -12903,7 +12918,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12903
12918
  "=",
12904
12919
  "|",
12905
12920
  "~"
12906
- ], fs = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), ps = (e) => {
12921
+ ], ms = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), hs = (e) => {
12907
12922
  let t = [];
12908
12923
  return e.forEach((e) => {
12909
12924
  let { id: n, innerText: r } = e;
@@ -12916,18 +12931,18 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12916
12931
  title: r
12917
12932
  });
12918
12933
  }), t;
12919
- }, ms = (e, t, n) => {
12934
+ }, gs = (e, t, n) => {
12920
12935
  let [r, i] = g([]);
12921
12936
  return u(() => {
12922
12937
  let r = `#${e} h2:not(.${t}), #${e} h3:not(.${t})`, a = () => {
12923
12938
  let e = Array.from(document.querySelectorAll(r));
12924
12939
  e.forEach((e) => {
12925
- ds.forEach((t) => {
12926
- e.id.includes(t) && (e.id = e.id.replace(new RegExp(fs(t), "g"), "-"));
12940
+ ps.forEach((t) => {
12941
+ e.id.includes(t) && (e.id = e.id.replace(new RegExp(ms(t), "g"), "-"));
12927
12942
  });
12928
12943
  }), e.forEach((e, t) => {
12929
12944
  e.id || (e.id = `${n}-item-${t}`);
12930
- }), i(ps(e));
12945
+ }), i(hs(e));
12931
12946
  };
12932
12947
  a();
12933
12948
  let o = document.getElementById(e);
@@ -12943,7 +12958,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12943
12958
  t,
12944
12959
  n
12945
12960
  ]), { nestedHeadings: r };
12946
- }, hs = (e, t) => {
12961
+ }, _s = (e, t) => {
12947
12962
  let [n, r] = g(void 0), i = h({});
12948
12963
  return u(() => {
12949
12964
  let n = `#${e} h2:not(.${t}), #${e} h3:not(.${t})`, a = Array.from(document.querySelectorAll(n));
@@ -12962,7 +12977,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12962
12977
  o.disconnect(), r(void 0);
12963
12978
  };
12964
12979
  }, [e, t]), n;
12965
- }, gs = ({ 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", {
12980
+ }, vs = ({ 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", {
12966
12981
  key: r.id,
12967
12982
  className: `${n}__list-item`
12968
12983
  }, /* @__PURE__ */ e.createElement("a", {
@@ -12978,8 +12993,8 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12978
12993
  className: Z([`${n}__link`, r.id === t ? `${n}__link--active` : null]),
12979
12994
  href: `#${r.id}`,
12980
12995
  onClick: (e) => i(e, r.id)
12981
- }, r.title))))))), _s = ({ 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 }) => {
12982
- let u = "pds-toc", { nestedHeadings: f } = ms(c, o, d()), p = hs(c, o), m = (e) => {
12996
+ }, r.title))))))), ys = ({ 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 }) => {
12997
+ let u = "pds-toc", { nestedHeadings: f } = gs(c, o, d()), p = _s(c, o), m = (e) => {
12983
12998
  typeof window < "u" && window.location.hash !== `#${e}` && window.history.pushState({}, "", `#${e}`);
12984
12999
  }, h = (e) => {
12985
13000
  document.querySelector(`#${e}`)?.scrollIntoView({
@@ -12997,13 +13012,13 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12997
13012
  baseClass: u,
12998
13013
  className: `${s ? "" : "visually-hidden"}`,
12999
13014
  level: i
13000
- }, a), /* @__PURE__ */ e.createElement(gs, {
13015
+ }, a), /* @__PURE__ */ e.createElement(vs, {
13001
13016
  activeID: p,
13002
13017
  baseClass: u,
13003
13018
  headings: f,
13004
13019
  onLinkClick: g
13005
13020
  }));
13006
- }, vs = ({ ariaLabel: t, className: n, defaultSelected: r = 0, onActiveTabChange: i = () => {}, selectedTab: a, tabs: o, ...s }) => {
13021
+ }, bs = ({ ariaLabel: t, className: n, defaultSelected: r = 0, onActiveTabChange: i = () => {}, selectedTab: a, tabs: o, ...s }) => {
13007
13022
  let c = "pds-tabs", [l, d] = g(a ?? r);
13008
13023
  u(() => {
13009
13024
  a !== void 0 && d(a);
@@ -13117,7 +13132,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13117
13132
  className: `${c}__panel-content`,
13118
13133
  hidden: o !== l
13119
13134
  }, r)))));
13120
- }, ys = [
13135
+ }, xs = [
13121
13136
  "orange",
13122
13137
  "stone",
13123
13138
  "gold",
@@ -13131,7 +13146,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13131
13146
  "magenta",
13132
13147
  "rose",
13133
13148
  "red"
13134
- ], bs = [
13149
+ ], Ss = [
13135
13150
  "orange-solid",
13136
13151
  "teal-solid",
13137
13152
  "indigo-solid",
@@ -13141,14 +13156,14 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13141
13156
  "lime-solid",
13142
13157
  "sky-solid",
13143
13158
  "slate-solid"
13144
- ], xs = [
13159
+ ], Cs = [
13145
13160
  "success-solid",
13146
13161
  "warning-solid",
13147
13162
  "critical-solid",
13148
13163
  "info-solid",
13149
13164
  "discovery-solid"
13150
- ], Ss = [...bs, ...xs], Cs = [...ys, ...bs], ws = (e) => Cs[parseInt(de(e), 16) % Cs.length], Ts = (e, t) => e.length > t ? e.slice(0, t) + " ..." : e, Es = ({ className: t, isRemovable: n, linkContent: r, onRemove: i, removeLabel: a = "Remove tag", size: o = "s", tagColor: c, tagLabel: l, truncationLength: u = 18, ...d }) => {
13151
- let [f, p] = g(!0), m = "pds-tag", h = c ? `${m}--${c}` : `${m}--${ws(l)}`, _ = `${m}--${o}`, v = f ? null : "pds-tag--hide", y = () => {
13165
+ ], ws = [...Ss, ...Cs], Ts = [...xs, ...Ss], Es = (e) => Ts[parseInt(de(e), 16) % Ts.length], Ds = (e, t) => e.length > t ? e.slice(0, t) + " ..." : e, Os = ({ className: t, isRemovable: n, linkContent: r, onRemove: i, removeLabel: a = "Remove tag", size: o = "s", tagColor: c, tagLabel: l, truncationLength: u = 18, ...d }) => {
13166
+ let [f, p] = g(!0), m = "pds-tag", h = c ? `${m}--${c}` : `${m}--${Es(l)}`, _ = `${m}--${o}`, v = f ? null : "pds-tag--hide", y = () => {
13152
13167
  p((e) => !e);
13153
13168
  }, b, x, S;
13154
13169
  if (r && !n && s(r)) {
@@ -13170,7 +13185,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13170
13185
  }, /* @__PURE__ */ e.createElement("span", {
13171
13186
  className: `${m}__label`,
13172
13187
  title: l
13173
- }, u > 0 ? Ts(l, u) : l), n ? /* @__PURE__ */ e.createElement("button", {
13188
+ }, u > 0 ? Ds(l, u) : l), n ? /* @__PURE__ */ e.createElement("button", {
13174
13189
  "aria-label": `${a}: ${l}`,
13175
13190
  className: `${m}__remove`,
13176
13191
  onClick: () => {
@@ -13182,7 +13197,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13182
13197
  iconName: "xmark",
13183
13198
  size: "m"
13184
13199
  })) : null);
13185
- }, Ds = ({ backgroundColor: t = "transparent", children: n, className: r, padding: i = "none", ...a }) => {
13200
+ }, ks = ({ backgroundColor: t = "transparent", children: n, className: r, padding: i = "none", ...a }) => {
13186
13201
  let o = "pds-utility-bar", s = t === "transparent" ? null : `${o}--bg-${t}`, c = i === "none" ? null : `${o}--pad-${i}`, l = gt(n), u = l["items-left"], d = l["items-right"] ?? l.__unslotted;
13187
13202
  return /* @__PURE__ */ e.createElement("div", {
13188
13203
  className: Z([
@@ -13193,7 +13208,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13193
13208
  ]),
13194
13209
  ...a
13195
13210
  }, /* @__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)));
13196
- }, Os = ({ children: t, className: n, drawerContent: r, drawerProps: i, hasDrawerToggle: o, hasSidebarToggle: s, isDrawerOpen: c = !1, isSidebarCollapsed: l, keyboardShortcuts: d = !0, labels: f, mainBackground: m, 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 }) => {
13211
+ }, As = ({ children: t, className: n, drawerContent: r, drawerProps: i, hasDrawerToggle: o, hasSidebarToggle: s, isDrawerOpen: c = !1, isSidebarCollapsed: l, keyboardShortcuts: d = !0, labels: f, mainBackground: m, 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 }) => {
13197
13212
  let [j, M] = g(l || !1);
13198
13213
  u(() => {
13199
13214
  M(l || !1);
@@ -13209,7 +13224,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13209
13224
  maxWidth: j ? void 0 : `${E}rem`,
13210
13225
  minWidth: j ? `${w}rem` : `${D}rem`,
13211
13226
  width: z
13212
- }, V = h(!1), H = ga(), U = H === "sm", ee = () => {
13227
+ }, V = h(!1), H = va(), U = H === "sm", ee = () => {
13213
13228
  if (!U) {
13214
13229
  if (V.current = !1, x) {
13215
13230
  x();
@@ -13310,10 +13325,10 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13310
13325
  n ?? ""
13311
13326
  ]),
13312
13327
  ...A
13313
- }, /* @__PURE__ */ e.createElement(Ji, {
13328
+ }, /* @__PURE__ */ e.createElement(Xi, {
13314
13329
  destination: I,
13315
13330
  text: F.skipToContent
13316
- }), te ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${N}__header` }, te), /* @__PURE__ */ e.createElement("div", { className: `${N}__body` }, ue)) : ue), o && /* @__PURE__ */ e.createElement(eo, {
13331
+ }), te ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${N}__header` }, te), /* @__PURE__ */ e.createElement("div", { className: `${N}__body` }, ue)) : ue), o && /* @__PURE__ */ e.createElement(no, {
13317
13332
  ...i,
13318
13333
  isOpen: c,
13319
13334
  placement: "left",
@@ -13321,7 +13336,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13321
13336
  !e && c && b && b();
13322
13337
  }
13323
13338
  }, r));
13324
- }, ks = ({ children: t, className: n, sidebarWidth: r = "18%", sidebarWidthMax: i = 20, sidebarWidthMin: a = 15, style: o, ...s }) => {
13339
+ }, js = ({ children: t, className: n, sidebarWidth: r = "18%", sidebarWidthMax: i = 20, sidebarWidthMin: a = 15, style: o, ...s }) => {
13325
13340
  let c = "pds-docs-layout", l = {
13326
13341
  "--docs-sidebar-max-width": `${i}rem`,
13327
13342
  "--docs-sidebar-min-width": `${a}rem`,
@@ -13339,7 +13354,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13339
13354
  },
13340
13355
  ...s
13341
13356
  }, 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));
13342
- }, As = ({ children: t, className: n, gridGap: r = "xl", mobileGridGap: i, secondSidebarMobileLocation: a = "after", secondSidebarWidth: o, secondSidebarWidthMax: s, secondSidebarWidthMin: c, sidebarLocation: l = "right", sidebarMobileLocation: u = "after", sidebarWidth: d = "33%", sidebarWidthMax: f = 25, sidebarWidthMin: p = 15, ...m }) => {
13357
+ }, Ms = ({ children: t, className: n, gridGap: r = "xl", mobileGridGap: i, secondSidebarMobileLocation: a = "after", secondSidebarWidth: o, secondSidebarWidthMax: s, secondSidebarWidthMin: c, sidebarLocation: l = "right", sidebarMobileLocation: u = "after", sidebarWidth: d = "33%", sidebarWidthMax: f = 25, sidebarWidthMin: p = 15, ...m }) => {
13343
13358
  let h = "pds-sidebar-layout", g = (e) => e === "none" ? "0" : `var(--pds-spacing-${e})`, _ = g(r), v = g(i ?? r), y = gt(t), b = !!y["second-sidebar"];
13344
13359
  return /* @__PURE__ */ e.createElement("div", {
13345
13360
  className: Z([h, n ?? ""]),
@@ -13358,7 +13373,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13358
13373
  },
13359
13374
  ...m
13360
13375
  }, /* @__PURE__ */ e.createElement("div", { className: `${h}__main` }, y.__unslotted || y.content), /* @__PURE__ */ e.createElement("div", { className: `${h}__side` }, y.sidebar), b && /* @__PURE__ */ e.createElement("div", { className: `${h}__second-side` }, y["second-sidebar"]));
13361
- }, js = ({ children: n, className: r, maxColumns: i = 3, style: a, ...o }) => {
13376
+ }, Ns = ({ children: n, className: r, maxColumns: i = 3, style: a, ...o }) => {
13362
13377
  let s = "pds-stat-panel-group", c = `${s}--max-${i}`, l = {
13363
13378
  "--max-columns": i,
13364
13379
  ...a
@@ -13377,8 +13392,8 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13377
13392
  className: `${s}__item`,
13378
13393
  role: "listitem"
13379
13394
  }, t))));
13380
- }, Ms = ({ children: t, className: n, formWidth: r = "standard", hasPanel: i = !1, ...a }) => {
13381
- let o = gt(t), s = o.stepper, c = o.form, l = "pds-stepper-layout", u = r === "full" ? `${l}--full-width` : null, d = /* @__PURE__ */ e.createElement(fa, {
13395
+ }, Ps = ({ children: t, className: n, formWidth: r = "standard", hasPanel: i = !1, ...a }) => {
13396
+ let o = gt(t), s = o.stepper, c = o.form, l = "pds-stepper-layout", u = r === "full" ? `${l}--full-width` : null, d = /* @__PURE__ */ e.createElement(ma, {
13382
13397
  className: Z([
13383
13398
  l,
13384
13399
  u,
@@ -13387,8 +13402,8 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13387
13402
  width: "wide",
13388
13403
  ...a
13389
13404
  }, s && /* @__PURE__ */ e.createElement("div", { className: `${l}__stepper-container` }, s), c && /* @__PURE__ */ e.createElement("div", { className: `${l}__form-container` }, c));
13390
- return i ? /* @__PURE__ */ e.createElement(ho, null, d) : d;
13391
- }, Ns = ({ children: t, className: n, gridGap: r = "xl", verticalAlign: i = "start", ...a }) => {
13405
+ return i ? /* @__PURE__ */ e.createElement(_o, null, d) : d;
13406
+ }, Fs = ({ children: t, className: n, gridGap: r = "xl", verticalAlign: i = "start", ...a }) => {
13392
13407
  let o = "pds-three-item-layout", s = r === "xl" ? "pds-grid" : `pds-grid pds-grid--gap-${r}`, c = `${o}--${i}`, l = gt(t), u = [
13393
13408
  l["first-item"],
13394
13409
  l["second-item"],
@@ -13406,7 +13421,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13406
13421
  key: n,
13407
13422
  className: "pds-grid-item pds-grid-item--sm-12 pds-grid-item--md-4 pds-grid-item--lg-4"
13408
13423
  }, t)));
13409
- }, Ps = ({ children: t, className: n, gridGap: r = "xl", layoutVariant: i = "equal", verticalAlign: a = "start", ...o }) => {
13424
+ }, Is = ({ children: t, className: n, gridGap: r = "xl", layoutVariant: i = "equal", verticalAlign: a = "start", ...o }) => {
13410
13425
  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;
13411
13426
  switch (i) {
13412
13427
  case "equal":
@@ -13427,7 +13442,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13427
13442
  ]),
13428
13443
  ...o
13429
13444
  }, /* @__PURE__ */ e.createElement("div", { className: m.join(" ").trim() }, _), /* @__PURE__ */ e.createElement("div", { className: h.join(" ").trim() }, v));
13430
- }, Fs = ({ 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, mobileFlexWrap: f, mobileGap: p, mobileJustifyContent: m, style: h, ...g }) => {
13445
+ }, Ls = ({ 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, mobileFlexWrap: f, mobileGap: p, mobileJustifyContent: m, style: h, ...g }) => {
13431
13446
  let _ = "pds-flex", v = `${_}-container`, y = {
13432
13447
  "--pds-flex-align-content": t,
13433
13448
  "--pds-flex-align-items": n,
@@ -13453,20 +13468,20 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13453
13468
  },
13454
13469
  ...g
13455
13470
  }, r);
13456
- }, Is = [
13471
+ }, Rs = [
13457
13472
  "light",
13458
13473
  "dark",
13459
13474
  "system"
13460
- ], Ls = (e) => typeof e == "string" && Is.includes(e), Rs = i(null), zs = {
13475
+ ], zs = (e) => typeof e == "string" && Rs.includes(e), Bs = i(null), Vs = {
13461
13476
  resolvedTheme: "light",
13462
13477
  setTheme: () => {},
13463
13478
  theme: "light"
13464
- }, Bs = ({ 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){}})();`, Vs = ({ children: t, defaultTheme: n = "light", disableInitScript: r = !1, nodeRef: i, onThemeChange: a, persist: o = !0, storageKey: s = "pds-theme", theme: l }) => {
13479
+ }, Hs = ({ 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){}})();`, Us = ({ children: t, defaultTheme: n = "light", disableInitScript: r = !1, nodeRef: i, onThemeChange: a, persist: o = !0, storageKey: s = "pds-theme", theme: l }) => {
13465
13480
  let d = l !== void 0, f = !r && !d && o && !i, [p, m] = g(n), [h, _] = g(!1), v = d ? l : p, y = rn("(prefers-color-scheme: dark)"), b = v === "system" ? h && y ? "dark" : "light" : v;
13466
13481
  u(() => {
13467
13482
  if (_(!0), !(d || !o || typeof window > "u")) try {
13468
13483
  let e = window.localStorage.getItem(s);
13469
- Ls(e) && m(e);
13484
+ zs(e) && m(e);
13470
13485
  } catch {}
13471
13486
  }, []), u(() => {
13472
13487
  typeof document > "u" || (i?.current ?? document.documentElement).setAttribute("data-theme", b);
@@ -13486,20 +13501,20 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13486
13501
  ]),
13487
13502
  theme: v
13488
13503
  };
13489
- return /* @__PURE__ */ e.createElement(Rs.Provider, { value: x }, f && /* @__PURE__ */ e.createElement("script", { dangerouslySetInnerHTML: { __html: Bs({
13504
+ return /* @__PURE__ */ e.createElement(Bs.Provider, { value: x }, f && /* @__PURE__ */ e.createElement("script", { dangerouslySetInnerHTML: { __html: Hs({
13490
13505
  defaultTheme: n,
13491
13506
  storageKey: s
13492
13507
  }) } }), t);
13493
- }, Hs = () => l(Rs) ?? zs, Us = ({ children: t, enableThemeSwitching: n = !1, mobileMaxWidth: r = 767, themeProps: i = {} }) => {
13508
+ }, Ws = () => l(Bs) ?? Vs, Gs = ({ children: t, enableThemeSwitching: n = !1, mobileMaxWidth: r = 767, themeProps: i = {} }) => {
13494
13509
  u(() => {
13495
13510
  let e = document.documentElement, t = () => {
13496
13511
  window.innerWidth <= r ? e.setAttribute("data-pds-mobile", "") : e.removeAttribute("data-pds-mobile");
13497
13512
  };
13498
13513
  return t(), window.addEventListener("resize", t), () => window.removeEventListener("resize", t);
13499
13514
  }, [r]);
13500
- let a = n ? /* @__PURE__ */ e.createElement(Vs, i, t) : t;
13515
+ let a = n ? /* @__PURE__ */ e.createElement(Us, i, t) : t;
13501
13516
  return /* @__PURE__ */ e.createElement(en, null, a);
13502
- }, Ws = ({ children: t, className: n, gap: r = "xl", itemMinWidth: i, maxColumns: a, mobileGap: o, ...s }) => {
13517
+ }, Ks = ({ children: t, className: n, gap: r = "xl", itemMinWidth: i, maxColumns: a, mobileGap: o, ...s }) => {
13503
13518
  let c = "pds-auto-grid", l = r === "xl" ? null : `${c}--gap-${r}`, u = a ? `${c}--capped` : null, d = o ?? r, f = d === r ? null : `${c}-gap-mobile--${d}`;
13504
13519
  return /* @__PURE__ */ e.createElement("div", {
13505
13520
  className: Z([
@@ -13515,7 +13530,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13515
13530
  },
13516
13531
  ...s
13517
13532
  }, t);
13518
- }, Gs = ({ asContainer: t = !1, children: n, className: r, dense: i = !1, gap: a = "xl", mobileGap: o, stackBelow: s, ...c }) => {
13533
+ }, qs = ({ asContainer: t = !1, children: n, className: r, dense: i = !1, gap: a = "xl", mobileGap: o, stackBelow: s, ...c }) => {
13519
13534
  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}`;
13520
13535
  return /* @__PURE__ */ e.createElement("div", {
13521
13536
  className: Z([
@@ -13529,7 +13544,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13529
13544
  ]),
13530
13545
  ...c
13531
13546
  }, n);
13532
- }, Ks = ({ children: t, className: n, rowSpanLg: r, rowSpanMd: i, rowSpanSm: a, rowSpanXl: o, spanLg: s, spanMd: c, spanSm: l, spanXl: u, ...d }) => {
13547
+ }, Js = ({ children: t, className: n, rowSpanLg: r, rowSpanMd: i, rowSpanSm: a, rowSpanXl: o, spanLg: s, spanMd: c, spanSm: l, spanXl: u, ...d }) => {
13533
13548
  let f = "pds-grid-item", p = [
13534
13549
  l ? `${f}--sm-${l}` : null,
13535
13550
  c ? `${f}--md-${c}` : null,
@@ -13548,7 +13563,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13548
13563
  ]),
13549
13564
  ...d
13550
13565
  }, t);
13551
- }, qs = (e, t, n) => {
13566
+ }, Ys = (e, t, n) => {
13552
13567
  let { altKey: r = !1, ctrlKey: i = !1, enabled: a = !0, metaKey: o = !1, shiftKey: s = !1 } = n ?? {}, [l, d] = g(!1), f = c((e) => e.altKey === r && e.ctrlKey === i && e.metaKey === o && e.shiftKey === s, [
13553
13568
  r,
13554
13569
  i,
@@ -13572,7 +13587,7 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13572
13587
  m,
13573
13588
  a
13574
13589
  ]), l;
13575
- }, Js = () => {
13590
+ }, Xs = () => {
13576
13591
  let e = typeof window < "u", [t, n] = g(e && window.innerWidth !== void 0 ? window.innerWidth : 1024);
13577
13592
  return u(() => {
13578
13593
  if (!e) return;
@@ -13586,6 +13601,6 @@ var Qo = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13586
13601
  }, []), t;
13587
13602
  };
13588
13603
  //#endregion
13589
- export { yr as ActionCard, Os as AppLayout, Ws as AutoGrid, li as Avatar, ui as AvatarLabel, Ct as Badge, Na as Banner, Hr as BarChart, Qi as BookmarksEmptyState, ea as BookmarksMenu, uo as BookmarksPanel, Qa as BottomSheet, Tn as BranchDiff, ta as Breadcrumb, $a as BulkActionBar, kn as Button, An as ButtonLink, da as ButtonNav, Ki as CTALink, vr as Callout, br as Card, xr as CardSelect, fi as Checkbox, pi as CheckboxFieldset, mi as CheckboxGroup, Nn as ClipboardButton, Pn as CloseButton, Qr as CodeBlock, hi as Combobox, _i as ComboboxMultiselect, Sr as CompactEmptyState, ei as ComparisonList, fa as Container, Ii as Datepicker, ks as DocsLayout, eo as Drawer, Qn as Dropdown, ua as DropdownMenu, fo as ExpansionPanel, po as ExpansionPanelGroup, mo as FeaturePanel, ii as FileDiff, Li as FileUpload, lr as FilterButton, Fs as FlexContainer, to as FullScreenOverlay, Us as GlobalWrapper, Gs as Grid, Ks as GridItem, ni as HorizontalEmptyState, Q as Icon, Mn as IconButton, di as IdentityBlock, Fa as InlineMessage, Ri as InputGroup, Wr as LineChart, qi as LinkNewWindow, Ra as MIN_AUTO_CLOSE_DURATION, Jn as MenuButton, no as Modal, ma as Navbar, ao as Pagination, oo as PaginationChapter, so as PaginationCompact, ho as Panel, go as PanelList, _o as PanelRow, vo as PanelStack, Co as PantheonLogo, oi as PaymentIcon, Yi as Picture, Kr as PieChart, pr as PlatformIcon, Eo as Popover, Oo as ProgressBar, Ao as ProgressRing, Jr as ProportionBar, zi as RadioGroup, No as ResultCount, Xi as RowActionsMenu, hr as SSOButton, La as SectionMessage, ur as SegmentedButton, wr as Select, dr as SelectButton, Cr as SelectOptionGroup, ha as SideNav, va as SideNavGlobal, _a as SideNavGlobalItem, As as SidebarLayout, Io as SiteFooter, ba as SiteMenu, Lo as SiteOptionDisplay, Ro as SiteSearch, qn as SiteTypeIcon, Kn as SiteTypeLabel, Rr as Skeleton, Ji as Skiplink, Xo as SortableList, Wo as SortableListHeader, Qo as SortableRow, Sn as Spinner, fr as SplitButton, $o as StatPanel, js as StatPanelGroup, Cn as StatusBadge, ts as StatusChecker, ns as StatusIndicator, as as StatusScrim, Vn as StatusTypeLabels, os as StepList, ss as Stepper, Ms as StepperLayout, Bi as Switch, Sa as TabMenu, us as Table, _s as TableOfContents, vs as Tabs, Es as Tag, Hi as TagsInput, wn as Tally, Gi as TextInput, Ui as Textarea, Rs as ThemeContext, Vs as ThemeContextProvider, Ea as ThemeSwitcher, Ns as ThreeItemLayout, Si as Timepicker, Ga as Toast, Ka as ToastType, Ha as Toaster, Ba as ToasterContext, an as Tooltip, wa as TreeNav, Ps as TwoItemLayout, Da as UserMenu, Ds as UtilityBar, gr as UtilityButton, ri as VerticalEmptyState, ls as VerticalStepper, ti as VideoEmbed, co as WidgetPanel, ka as WorkspaceSelector, yo as WorkspaceSelectorPanel, Zi as buildBookmarkMenuItems, Mi as getPresetDateRange, Bs as getThemeInitScript, xt as iconList, Un as isHeadingItemType, Wn as isLinkItemType, Gn as isNodeItemType, Hn as isSeparatorItemType, es as statusCheckerStates, ys as tagColors, Ss as tagSolidColors, bs as tagSolidHueColors, xs as tagSolidStatusColors, ga as useBreakpoint, jn as useClipboard, In as useDropdown, Zt as useIsMobile, qs as useKeyPress, nn as useKeyboardShortcut, rn as useMediaQuery, Hs as useTheme, qa as useToast, Js as useWindowWidth };
13604
+ export { yr as ActionCard, As as AppLayout, Ks as AutoGrid, li as Avatar, ui as AvatarLabel, Ct as Badge, Fa as Banner, Hr as BarChart, ea as BookmarksEmptyState, na as BookmarksMenu, po as BookmarksPanel, eo as BottomSheet, Tn as BranchDiff, ra as Breadcrumb, to as BulkActionBar, kn as Button, An as ButtonLink, pa as ButtonNav, Ji as CTALink, vr as Callout, br as Card, xr as CardSelect, fi as Checkbox, pi as CheckboxFieldset, mi as CheckboxGroup, Nn as ClipboardButton, Pn as CloseButton, Qr as CodeBlock, hi as Combobox, _i as ComboboxMultiselect, Sr as CompactEmptyState, ei as ComparisonList, ma as Container, Ri as Datepicker, js as DocsLayout, no as Drawer, Qn as Dropdown, fa as DropdownMenu, mo as ExpansionPanel, ho as ExpansionPanelGroup, go as FeaturePanel, ii as FileDiff, zi as FileUpload, lr as FilterButton, Ls as FlexContainer, ro as FullScreenOverlay, Gs as GlobalWrapper, qs as Grid, Js as GridItem, ni as HorizontalEmptyState, Q as Icon, Mn as IconButton, di as IdentityBlock, La as InlineMessage, Bi as InputGroup, Wr as LineChart, Yi as LinkNewWindow, Ba as MIN_AUTO_CLOSE_DURATION, Jn as MenuButton, io as Modal, ga as Navbar, so as Pagination, co as PaginationChapter, lo as PaginationCompact, _o as Panel, vo as PanelList, yo as PanelRow, bo as PanelStack, To as PantheonLogo, oi as PaymentIcon, Zi as Picture, Kr as PieChart, pr as PlatformIcon, Oo as Popover, Ao as ProgressBar, Mo as ProgressRing, Jr as ProportionBar, Vi as RadioGroup, Fo as ResultCount, Qi as RowActionsMenu, hr as SSOButton, za as SectionMessage, ur as SegmentedButton, wr as Select, dr as SelectButton, Cr as SelectOptionGroup, _a as SideNav, ba as SideNavGlobal, ya as SideNavGlobalItem, Ms as SidebarLayout, Ro as SiteFooter, Sa as SiteMenu, zo as SiteOptionDisplay, Bo as SiteSearch, qn as SiteTypeIcon, Kn as SiteTypeLabel, Rr as Skeleton, Xi as Skiplink, Qo as SortableList, Ko as SortableListHeader, es as SortableRow, Sn as Spinner, fr as SplitButton, ts as StatPanel, Ns as StatPanelGroup, Cn as StatusBadge, rs as StatusChecker, is as StatusIndicator, ss as StatusScrim, Vn as StatusTypeLabels, cs as StepList, ls as Stepper, Ps as StepperLayout, Hi as Switch, wa as TabMenu, fs as Table, ys as TableOfContents, bs as Tabs, Os as Tag, Wi as TagsInput, wn as Tally, qi as TextInput, Gi as Textarea, Bs as ThemeContext, Us as ThemeContextProvider, Oa as ThemeSwitcher, Fs as ThreeItemLayout, Si as Timepicker, qa as Toast, Ja as ToastType, Wa as Toaster, Ha as ToasterContext, an as Tooltip, Ea as TreeNav, Is as TwoItemLayout, ka as UserMenu, ks as UtilityBar, gr as UtilityButton, ri as VerticalEmptyState, ds as VerticalStepper, ti as VideoEmbed, uo as WidgetPanel, ja as WorkspaceSelector, xo as WorkspaceSelectorPanel, $i as buildBookmarkMenuItems, Pi as getPresetDateRange, Hs as getThemeInitScript, xt as iconList, Un as isHeadingItemType, Wn as isLinkItemType, Gn as isNodeItemType, Hn as isSeparatorItemType, ns as statusCheckerStates, xs as tagColors, ws as tagSolidColors, Ss as tagSolidHueColors, Cs as tagSolidStatusColors, va as useBreakpoint, jn as useClipboard, In as useDropdown, Zt as useIsMobile, Ys as useKeyPress, nn as useKeyboardShortcut, rn as useMediaQuery, Ws as useTheme, Ya as useToast, Xs as useWindowWidth };
13590
13605
 
13591
13606
  //# sourceMappingURL=index.js.map