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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import e, { Children as t, Fragment as n, cloneElement as r, createContext as i, createElement as a, forwardRef as o, isValidElement as s, useCallback as c, useContext as l, useEffect as u, useId as d, useImperativeHandle as f, useLayoutEffect as p, useMemo as m, useRef as h, useState as g, useSyncExternalStore as _ } from "react";
2
- import { FloatingArrow as v, FloatingFocusManager as y, FloatingNode as b, FloatingOverlay as x, FloatingPortal as S, FloatingTree as C, arrow as w, autoUpdate as T, flip as E, offset as D, safePolygon as O, shift as k, size as A, useClick as j, useDismiss as M, useFloating as N, useFloatingNodeId as P, useFloatingParentNodeId as F, useFocus as I, useHover as L, useId as R, useInteractions as z, useListNavigation as B, useMergeRefs as V, useRole as H, useTransitionStyles as U, useTypeahead as ee } from "@floating-ui/react";
2
+ import { FloatingArrow as v, FloatingFocusManager as y, FloatingNode as b, FloatingOverlay as x, FloatingPortal as S, FloatingTree as C, arrow as w, autoUpdate as T, flip as E, offset as D, safePolygon as O, shift as k, size as A, useClick as j, useDismiss as M, useFloating as N, useFloatingNodeId as P, useFloatingParentNodeId as F, useFocus as I, useHover as L, useId as R, useInteractions as z, useListNavigation as ee, useMergeRefs as B, useRole as V, useTransitionStyles as H, useTypeahead as U } from "@floating-ui/react";
3
3
  import { useHotkeys as W } from "react-hotkeys-hook";
4
- import { Bar as G, BarChart as K, CartesianGrid as q, Cell as te, Line as J, LineChart as ne, Pie as re, PieChart as ie, Rectangle as ae, ReferenceLine as Y, ResponsiveContainer as oe, Tooltip as se, XAxis as ce, YAxis as le } from "recharts";
4
+ import { Bar as G, BarChart as K, CartesianGrid as q, Cell as te, Line as ne, LineChart as re, Pie as J, PieChart as ie, Rectangle as ae, ReferenceLine as Y, ResponsiveContainer as oe, Tooltip as se, XAxis as ce, YAxis as le } from "recharts";
5
5
  import { CodeBlock as ue } from "react-code-block";
6
6
  import de from "hash-sum";
7
7
  import { useCombobox as fe, useMultipleSelection as pe } from "downshift";
8
- import { CalendarDate as me, Time as he, createCalendar as ge, endOfMonth as X, endOfWeek as _e, fromDate as ve, getLocalTimeZone as ye, startOfMonth as be, startOfWeek as xe, toCalendarDateTime as Se, toTimeZone as Ce, toZoned as we, today as Te } from "@internationalized/date";
8
+ import { CalendarDate as me, Time as he, createCalendar as ge, endOfMonth as _e, endOfWeek as ve, fromDate as X, getLocalTimeZone as ye, startOfMonth as be, startOfWeek as xe, toCalendarDateTime as Se, toTimeZone as Ce, toZoned as we, today as Te } from "@internationalized/date";
9
9
  import { format as Ee } from "date-fns";
10
10
  import { I18nProvider as De, mergeProps as Oe, useButton as ke, useCalendar as Ae, useCalendarCell as je, useCalendarGrid as Me, useDateSegment as Ne, useFocusRing as Pe, useLocale as Fe, useRangeCalendar as Ie, useTimeField as Le } from "react-aria";
11
11
  import { useCalendarState as Re, useRangeCalendarState as ze, useTimeFieldState as Be } from "react-stately";
@@ -124,6 +124,12 @@ var st = Object.create, ct = Object.defineProperty, lt = Object.getOwnPropertyDe
124
124
  svgPathData: "M289.771 226.425C293.918 226.425 296.703 231.118 295.035 235.301L235.921 413.714L405.679 224.541C409.261 220.543 420.16 208.132 422.713 203.926L511.022 108.127C513.575 103.92 510.832 98.2854 506.239 98.2854H295.649C294.855 98.2854 294.075 98.3754 293.317 98.5481C292.797 98.3779 292.239 98.2854 291.65 98.2854H81.0613C76.4469 98.2854 72.2795 101.323 70.48 106.003L27.4902 217.627C25.8806 221.801 28.6614 226.425 32.7787 226.425H75.183C79.3291 226.425 82.1152 231.118 80.4459 235.301L21.3334 413.714L191.09 224.541C194.672 220.543 205.571 208.132 208.125 203.926L275.507 130.829L242.078 217.627C240.468 221.801 243.249 226.425 247.366 226.425H289.771Z",
125
125
  type: "path",
126
126
  width: 512
127
+ },
128
+ zappy: {
129
+ height: 512,
130
+ svgPathData: "M0 291.5748L240.7741 0L212.7775 227.4007H373.76L131.586 512L166.5823 291.5748H0Z",
131
+ type: "path",
132
+ width: 374
127
133
  }
128
134
  }, bt = {
129
135
  angleDown: {
@@ -2384,8 +2390,19 @@ var st = Object.create, ct = Object.defineProperty, lt = Object.getOwnPropertyDe
2384
2390
  height: 512,
2385
2391
  svgPathData: "M549.7 124.1C543.5 100.4 524.9 81.8 501.4 75.5 458.9 64 288.1 64 288.1 64S117.3 64 74.7 75.5C51.2 81.8 32.7 100.4 26.4 124.1 15 167 15 256.4 15 256.4s0 89.4 11.4 132.3c6.3 23.6 24.8 41.5 48.3 47.8 42.6 11.5 213.4 11.5 213.4 11.5s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zM232.2 337.6l0-162.4 142.7 81.2-142.7 81.2z",
2386
2392
  width: 576
2393
+ },
2394
+ zappy: {
2395
+ aliases: [
2396
+ "ai",
2397
+ "agent",
2398
+ "bolt"
2399
+ ],
2400
+ categories: ["custom", "status"],
2401
+ height: 512,
2402
+ svgPathData: "M0 291.5748L240.7741 0L212.7775 227.4007H373.76L131.586 512L166.5823 291.5748H0Z",
2403
+ width: 374
2387
2404
  }
2388
- }, xt = /* @__PURE__ */ "angleDown.angleLeft.angleRight.anglesDown.anglesLeft.anglesRight.anglesUp.angleUp.arrowDownToLine.arrowDownWideShort.arrowLeft.arrowRight.arrowsRetweet.arrowUpShortWide.asterisk.banBug.bars.barsFilter.barsStaggered.bell.billboard.bitbucket.bluesky.bolt.boltPantheon.boltSolid.book.bookmark.bookmarkSolid.books.box.bracketRight.bracketsSquare.brainCircuit.broomWide.building.buildings.bullhorn.calendarDays.caretDown.caretLeft.caretRight.caretUp.ccAmex.ccApplePay.ccDiscover.ccGeneric.ccMC.ccPaypal.ccVisa.chartLine.chartNetwork.chartSimple.check.circle.circleCheck.circleExclamation.circleExclamationSolid.circleHalfStroke.circleInfo.circleInfoSolid.circleMinus.circleNotch.circlePlus.circleQuestion.circleQuestionSolid.circleUser.circleXmark.claude.clock.cloud.cloudArrowDown.cloudArrowUp.cloudPlus.code.codeBranch.codeMerge.collapseToCenter.command.comment.compress.copy.desktop.diagramVenn.diamondExclamation.diamonds4.discourse.display.dollarSign.download.drupal.ellipsis.ellipsisVertical.emptySet.envelope.envelopeOpen.exclamation.expand.expandFromCenter.externalLink.eye.eyeSlash.facebook.file.fileCheck.fileContract.fileCSV.fileDiff.fileExport.fileImport.fileLines.filePDF.files.fileZip.floppyDisk.folder.folders.folderTree.gear.gem.github.gitlab.globe.graduationCap.grid.grid2.gripDots.gripDotsVertical.heart.heartSolid.house.idCard.image.inputText.instagram.keySkeleton.landmark.laptop.laptopCode.leaf.lifeRing.link.linkedin.list.listCheck.locationCrosshairs.lock.lockOpen.magnifyingGlass.medal.memo.messages.minus.moon.move.nextJs.octagonExclamation.openai.paperclip.paperPlane.pause.pen.penField.penPaintbrush.phone.play.plus.question.quotesLeft.quotesRight.rectangleList.rectanglesMixed.reply.robot.rocketLaunch.rotate.rotateClock.rotateLeft.rotateRight.rss.save.server.shareNodes.shield.shieldQuartered.shovel.sidebar.siren.sirenOn.sitemap.slack.slashForward.slider.slidersSimple.snowflake.sparkles.squareCheck.squareCode.squareDashed.squareMinus.squarePen.squareQuestion.squareTerminal.star.starSolid.sun.sunBright.table.tableColumns.tableRows.terminal.text.threads.thumbsDown.thumbsUp.trash.triangleExclamation.twitter.unlink.upload.user.userAstronaut.userGear.userPlus.users.userSolid.video.wavePulse.windowRestore.wordpress.wreathLaurel.wrench.xmark.xmarkLarge.xTwitter.youtube".split("."), Q = ({ className: t, display: n = "inline-block", iconName: r, size: i = "xl", style: a, verticalAlign: o = "middle", ...s }) => {
2405
+ }, xt = /* @__PURE__ */ "angleDown.angleLeft.angleRight.anglesDown.anglesLeft.anglesRight.anglesUp.angleUp.arrowDownToLine.arrowDownWideShort.arrowLeft.arrowRight.arrowsRetweet.arrowUpShortWide.asterisk.banBug.bars.barsFilter.barsStaggered.bell.billboard.bitbucket.bluesky.bolt.boltPantheon.boltSolid.book.bookmark.bookmarkSolid.books.box.bracketRight.bracketsSquare.brainCircuit.broomWide.building.buildings.bullhorn.calendarDays.caretDown.caretLeft.caretRight.caretUp.ccAmex.ccApplePay.ccDiscover.ccGeneric.ccMC.ccPaypal.ccVisa.chartLine.chartNetwork.chartSimple.check.circle.circleCheck.circleExclamation.circleExclamationSolid.circleHalfStroke.circleInfo.circleInfoSolid.circleMinus.circleNotch.circlePlus.circleQuestion.circleQuestionSolid.circleUser.circleXmark.claude.clock.cloud.cloudArrowDown.cloudArrowUp.cloudPlus.code.codeBranch.codeMerge.collapseToCenter.command.comment.compress.copy.desktop.diagramVenn.diamondExclamation.diamonds4.discourse.display.dollarSign.download.drupal.ellipsis.ellipsisVertical.emptySet.envelope.envelopeOpen.exclamation.expand.expandFromCenter.externalLink.eye.eyeSlash.facebook.file.fileCheck.fileContract.fileCSV.fileDiff.fileExport.fileImport.fileLines.filePDF.files.fileZip.floppyDisk.folder.folders.folderTree.gear.gem.github.gitlab.globe.graduationCap.grid.grid2.gripDots.gripDotsVertical.heart.heartSolid.house.idCard.image.inputText.instagram.keySkeleton.landmark.laptop.laptopCode.leaf.lifeRing.link.linkedin.list.listCheck.locationCrosshairs.lock.lockOpen.magnifyingGlass.medal.memo.messages.minus.moon.move.nextJs.octagonExclamation.openai.paperclip.paperPlane.pause.pen.penField.penPaintbrush.phone.play.plus.question.quotesLeft.quotesRight.rectangleList.rectanglesMixed.reply.robot.rocketLaunch.rotate.rotateClock.rotateLeft.rotateRight.rss.save.server.shareNodes.shield.shieldQuartered.shovel.sidebar.siren.sirenOn.sitemap.slack.slashForward.slider.slidersSimple.snowflake.sparkles.squareCheck.squareCode.squareDashed.squareMinus.squarePen.squareQuestion.squareTerminal.star.starSolid.sun.sunBright.table.tableColumns.tableRows.terminal.text.threads.thumbsDown.thumbsUp.trash.triangleExclamation.twitter.unlink.upload.user.userAstronaut.userGear.userPlus.users.userSolid.video.wavePulse.windowRestore.wordpress.wreathLaurel.wrench.xmark.xmarkLarge.xTwitter.youtube.zappy".split("."), Q = ({ className: t, display: n = "inline-block", iconName: r, size: i = "xl", style: a, verticalAlign: o = "middle", ...s }) => {
2389
2406
  let c = "pds-icon", l = `${c} ${c}--${i} ${c}--${r}`, u = bt[r], d = `0 0 ${u.width} ${u.height}`, f = r in yt ? yt[r] : null, p;
2390
2407
  if (f?.type === "complex") p = f.render();
2391
2408
  else {
@@ -2503,7 +2520,7 @@ var st = Object.create, ct = Object.defineProperty, lt = Object.getOwnPropertyDe
2503
2520
  r(n.matches);
2504
2521
  };
2505
2522
  return r(n.matches), n.addEventListener ? (n.addEventListener("change", i), () => n.removeEventListener("change", i)) : (n.addListener(i), () => n.removeListener(i));
2506
- }, [e]), n;
2523
+ }, [t, e]), n;
2507
2524
  }, an = ({ className: t, content: n, customTrigger: r = null, disableFocusTrigger: i = !1, disableTapTrigger: a = !1, offsetValue: o = 6, preferredPlacement: s = "top", triggerAccessibleText: c = "Show more information", triggerIcon: l = "circleInfo", triggerIconColor: u = "default", triggerIconSize: d = "m", zIndex: f = Vt, ...p }) => {
2508
2525
  let [m, h] = g(!1), _ = typeof r, v = "pds-tooltip", y = Z([`${v}__trigger-custom`, _ === "string" ? `${v}__trigger-text` : null]), b = Z([`${v}__trigger`, `${v}__trigger--${u}`]), x = rn("(hover: hover)"), { context: C, floatingStyles: w, refs: O } = N({
2509
2526
  placement: s,
@@ -2529,9 +2546,9 @@ var st = Object.create, ct = Object.defineProperty, lt = Object.getOwnPropertyDe
2529
2546
  }),
2530
2547
  I(C, { enabled: !i }),
2531
2548
  M(C),
2532
- H(C, { role: "tooltip" }),
2549
+ V(C, { role: "tooltip" }),
2533
2550
  j(C, { enabled: !a && !x })
2534
- ]), { isMounted: F, styles: R } = U(C, {
2551
+ ]), { isMounted: F, styles: R } = H(C, {
2535
2552
  duration: {
2536
2553
  open: 0,
2537
2554
  close: 300
@@ -3069,7 +3086,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3069
3086
  let n = t.toLowerCase();
3070
3087
  return e.find((e) => (e?.textContent?.trim().toLowerCase() ?? "").startsWith(n));
3071
3088
  }, In = ({ allowEscape: e = !1, enableClick: t = !0, enableListNavigation: n = !0, enableShift: r = !0, enableTransition: i = !0, enableTypeahead: a = !1, matchReferenceWidth: o = !1, maxHeightValue: s, offsetValue: c = 0, openOnHover: l = !1, placement: u = "bottom-start", role: d = "menu", selectedIndex: f = null, shiftPadding: p = 24, variant: m = "default", virtual: _ = !1 } = {}) => {
3072
- let [v, y] = g(!1), [b, x] = g(null), S = h([]), C = P(), w = m === "input", F = w || o, { context: I, floatingStyles: R, refs: V } = N({
3089
+ let [v, y] = g(!1), [b, x] = g(null), S = h([]), C = P(), w = m === "input", F = w || o, { context: I, floatingStyles: R, refs: B } = N({
3073
3090
  nodeId: C,
3074
3091
  open: v,
3075
3092
  onOpenChange: y,
@@ -3105,7 +3122,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3105
3122
  event: "mousedown"
3106
3123
  }),
3107
3124
  M(I),
3108
- H(I, { role: d }),
3125
+ V(I, { role: d }),
3109
3126
  L(I, {
3110
3127
  enabled: l,
3111
3128
  move: !1,
@@ -3119,7 +3136,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3119
3136
  blockPointerEvents: !0
3120
3137
  })
3121
3138
  }),
3122
- B(I, {
3139
+ ee(I, {
3123
3140
  enabled: n,
3124
3141
  listRef: S,
3125
3142
  activeIndex: b,
@@ -3129,7 +3146,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3129
3146
  allowEscape: e,
3130
3147
  focusItemOnHover: !_
3131
3148
  }),
3132
- ee(I, {
3149
+ U(I, {
3133
3150
  enabled: a,
3134
3151
  listRef: S,
3135
3152
  activeIndex: b,
@@ -3139,7 +3156,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3139
3156
  },
3140
3157
  findMatch: Fn
3141
3158
  })
3142
- ]), { isMounted: q, styles: te } = U(I, i ? {
3159
+ ]), { isMounted: q, styles: te } = H(I, i ? {
3143
3160
  duration: {
3144
3161
  open: 300,
3145
3162
  close: 150
@@ -3158,7 +3175,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3158
3175
  isMounted: q,
3159
3176
  listRef: S,
3160
3177
  nodeId: C,
3161
- refs: V,
3178
+ refs: B,
3162
3179
  setActiveIndex: x,
3163
3180
  setIsOpen: y,
3164
3181
  transitionStyles: te
@@ -3215,7 +3232,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3215
3232
  }
3216
3233
  f?.(M);
3217
3234
  }, [M]);
3218
- let B = Zt(), V = o && B, H = "pds-menu-button", U = w === "navbar", ee = U ? "subtle" : w, W = a, [G] = g(`menu-button-${a}`), K = [], q = [];
3235
+ let ee = Zt(), B = o && ee, V = "pds-menu-button", H = w === "navbar", U = H ? "subtle" : w, W = a, [G] = g(`menu-button-${a}`), K = [], q = [];
3219
3236
  ((e) => {
3220
3237
  e.forEach((e) => {
3221
3238
  !Hn(e) && !Un(e) && !Gn(e) && q.push(e);
@@ -3223,9 +3240,9 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3223
3240
  })(l);
3224
3241
  let te = (e) => {
3225
3242
  "disabled" in e && e.disabled || ("callback" in e && e.callback && e.callback(e), I(!1));
3226
- }, J = () => {
3243
+ }, ne = () => {
3227
3244
  d && d();
3228
- }, ne = (t, n, r = "", i = "") => {
3245
+ }, re = (t, n, r = "", i = "") => {
3229
3246
  let a = W + (r ? `-group-${r}` : "") + "-item-" + (n + 1), o = "id" in t && t.id ? t.id : a;
3230
3247
  if (Hn(t)) return /* @__PURE__ */ e.createElement("li", {
3231
3248
  key: o,
@@ -3234,7 +3251,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3234
3251
  });
3235
3252
  if (Un(t)) return /* @__PURE__ */ e.createElement("li", {
3236
3253
  key: i || o,
3237
- className: `pds-dropdown__heading ${H}__listbox-heading`,
3254
+ className: `pds-dropdown__heading ${V}__listbox-heading`,
3238
3255
  id: i || void 0,
3239
3256
  role: "presentation"
3240
3257
  }, t.label);
@@ -3263,8 +3280,8 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3263
3280
  tabIndex: -1,
3264
3281
  ...n.props,
3265
3282
  onClick: () => I(!1)
3266
- }, /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${H}__item-label` }, s), c));
3267
- } else l = /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${H}__item-label` }, s), c);
3283
+ }, /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${V}__item-label` }, s), c));
3284
+ } else l = /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${V}__item-label` }, s), c);
3268
3285
  let u = Z([
3269
3286
  "pds-dropdown__item",
3270
3287
  r ? "pds-dropdown__item--focused" : null,
@@ -3291,7 +3308,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3291
3308
  })
3292
3309
  }, l);
3293
3310
  }
3294
- }, re = (t, n) => {
3311
+ }, J = (t, n) => {
3295
3312
  let r = "id" in t && t.id ? t.id : `${W}-accordion-item-${n + 1}`;
3296
3313
  if (Hn(t)) return /* @__PURE__ */ e.createElement("li", {
3297
3314
  key: r,
@@ -3300,7 +3317,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3300
3317
  });
3301
3318
  if (Un(t)) return /* @__PURE__ */ e.createElement("li", {
3302
3319
  key: r,
3303
- className: `pds-dropdown__heading ${H}__listbox-heading`,
3320
+ className: `pds-dropdown__heading ${V}__listbox-heading`,
3304
3321
  role: "presentation"
3305
3322
  }, t.label);
3306
3323
  if (Gn(t)) return /* @__PURE__ */ e.createElement("li", {
@@ -3327,8 +3344,8 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3327
3344
  c = /* @__PURE__ */ e.createElement(r, {
3328
3345
  tabIndex: -1,
3329
3346
  ...n.props
3330
- }, /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${H}__item-label` }, o), s));
3331
- } else c = /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${H}__item-label` }, o), s);
3347
+ }, /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${V}__item-label` }, o), s));
3348
+ } else c = /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${V}__item-label` }, o), s);
3332
3349
  return /* @__PURE__ */ e.createElement("li", {
3333
3350
  key: r,
3334
3351
  "aria-disabled": t.disabled || void 0,
@@ -3344,8 +3361,8 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3344
3361
  }, ie = (t) => {
3345
3362
  let n = t.filter(Un || Hn), r = n.length > 0, a = Z([
3346
3363
  "pds-dropdown__panel",
3347
- `${H}__listbox`,
3348
- i ? `${H}__listbox--icon-only` : null
3364
+ `${V}__listbox`,
3365
+ i ? `${V}__listbox--icon-only` : null
3349
3366
  ]), o = 0;
3350
3367
  if (r) {
3351
3368
  let r = ae(t, n);
@@ -3371,7 +3388,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3371
3388
  "aria-labelledby": a || void 0,
3372
3389
  role: "group"
3373
3390
  }, t.map((e) => {
3374
- let t = ne(e, o, r, a);
3391
+ let t = re(e, o, r, a);
3375
3392
  return !Hn(e) && !Un(e) && !Gn(e) && o++, t;
3376
3393
  }));
3377
3394
  }));
@@ -3388,7 +3405,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3388
3405
  },
3389
3406
  ...O()
3390
3407
  }, t.map((e) => {
3391
- let t = ne(e, o);
3408
+ let t = re(e, o);
3392
3409
  return !Hn(e) && !Un(e) && !Gn(e) && o++, t;
3393
3410
  }));
3394
3411
  }, ae = (e, t) => {
@@ -3401,8 +3418,8 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3401
3418
  label: y.label,
3402
3419
  size: oe,
3403
3420
  type: y.type
3404
- })) : c, ce = y ? /* @__PURE__ */ e.createElement("span", { className: `${H}__accordion-label` }, c, /* @__PURE__ */ e.createElement(wn, {
3405
- className: `${H}__tally`,
3421
+ })) : c, ce = y ? /* @__PURE__ */ e.createElement("span", { className: `${V}__accordion-label` }, c, /* @__PURE__ */ e.createElement(wn, {
3422
+ className: `${V}__tally`,
3406
3423
  label: y.label,
3407
3424
  size: "s",
3408
3425
  type: y.type
@@ -3412,7 +3429,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3412
3429
  "aria-controls": G,
3413
3430
  "aria-expanded": M,
3414
3431
  "aria-haspopup": "true",
3415
- className: Z([`${H}__trigger`, U ? `${H}__trigger--navbar` : null]),
3432
+ className: Z([`${V}__trigger`, H ? `${V}__trigger--navbar` : null]),
3416
3433
  disabled: n,
3417
3434
  displayType: "icon-end",
3418
3435
  iconName: "angleDown",
@@ -3422,8 +3439,8 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3422
3439
  size: _,
3423
3440
  statusDot: v,
3424
3441
  type: "button",
3425
- variant: ee,
3426
- ...A({ onClick: J })
3442
+ variant: U,
3443
+ ...A({ onClick: ne })
3427
3444
  })), i) {
3428
3445
  let t = On(c);
3429
3446
  Y = /* @__PURE__ */ e.createElement(Mn, {
@@ -3432,7 +3449,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3432
3449
  "aria-expanded": M,
3433
3450
  "aria-haspopup": "true",
3434
3451
  ariaLabel: t,
3435
- className: `${H}__trigger ${H}__trigger--icon-only`,
3452
+ className: `${V}__trigger ${V}__trigger--icon-only`,
3436
3453
  disabled: n,
3437
3454
  hasTooltip: !1,
3438
3455
  iconName: r,
@@ -3440,25 +3457,25 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3440
3457
  size: _,
3441
3458
  type: "button",
3442
3459
  variant: "standard",
3443
- ...A({ onClick: J })
3460
+ ...A({ onClick: ne })
3444
3461
  });
3445
3462
  }
3446
- let le = i ? /* @__PURE__ */ e.createElement("span", { className: `${H}__icon-label` }, /* @__PURE__ */ e.createElement(Q, { iconName: r }), " ", c) : ce, ue = M ? `${H}--expanded` : null;
3463
+ let le = i ? /* @__PURE__ */ e.createElement("span", { className: `${V}__icon-label` }, /* @__PURE__ */ e.createElement(Q, { iconName: r }), " ", c) : ce, ue = M ? `${V}--expanded` : null;
3447
3464
  return /* @__PURE__ */ e.createElement("span", {
3448
3465
  className: Z([
3449
- H,
3466
+ V,
3450
3467
  ue,
3451
3468
  t
3452
3469
  ]),
3453
3470
  "data-testid": x,
3454
3471
  ...T
3455
- }, V ? /* @__PURE__ */ e.createElement(Ln, {
3472
+ }, B ? /* @__PURE__ */ e.createElement(Ln, {
3456
3473
  disabled: n,
3457
3474
  label: le
3458
3475
  }, /* @__PURE__ */ e.createElement("ul", {
3459
- className: `${H}__mobile-menu`,
3476
+ className: `${V}__mobile-menu`,
3460
3477
  role: "menu"
3461
- }, l.map((e, t) => re(e, t)))) : /* @__PURE__ */ e.createElement(e.Fragment, null, Y, /* @__PURE__ */ e.createElement(b, { id: P }, j && /* @__PURE__ */ e.createElement(S, null, ie(l)))));
3478
+ }, l.map((e, t) => J(e, t)))) : /* @__PURE__ */ e.createElement(e.Fragment, null, Y, /* @__PURE__ */ e.createElement(b, { id: P }, j && /* @__PURE__ */ e.createElement(S, null, ie(l)))));
3462
3479
  }, Xn = i(null), Zn = () => {
3463
3480
  let e = l(Xn);
3464
3481
  if (!e) throw Error("Dropdown sub-components must be used within a <Dropdown> provider.");
@@ -4308,18 +4325,18 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4308
4325
  }, message: p, onBlur: m, onFocus: h, onOptionSelect: _, options: v, required: y = !1, showLabel: b = !0, showSelectedIcon: x = !0, size: C = "s", tooltipText: w = null, validationMessage: T, validationStatus: E, value: D, ...O }) => {
4309
4326
  let k = on(c, l), A = "pds-select", j = t ? `${A}--auto-width` : null, M = C === "s" ? null : `${A}--${C}`, N = i ? $.disabled : null, P = y && !i ? $.required : null, F = E === "error" ? $.error : null, I = E === "success" ? $.success : null, L = null;
4310
4327
  E === "error" && (L = "error"), E === "success" && (L = "success");
4311
- let R = T || p, z = D !== void 0, B = r !== void 0, V = ((e) => e.reduce((e, t) => _n(t) ? [...e, ...t.options] : [...e, t], []))(v), H = (e) => V.findIndex((t) => t.value === e), U = z && H(D) >= 0 ? H(D) : null, ee = B ? H(r) : null, [W, G] = g((U || ee) ?? null), { activeIndex: K, floatingStyles: q, getFloatingProps: te, getItemProps: J, getReferenceProps: ne, isMounted: re, listRef: ie, refs: ae, setIsOpen: Y, transitionStyles: oe } = In({
4328
+ let R = T || p, z = D !== void 0, ee = r !== void 0, B = ((e) => e.reduce((e, t) => _n(t) ? [...e, ...t.options] : [...e, t], []))(v), V = (e) => B.findIndex((t) => t.value === e), H = z && V(D) >= 0 ? V(D) : null, U = ee ? V(r) : null, [W, G] = g((H || U) ?? null), { activeIndex: K, floatingStyles: q, getFloatingProps: te, getItemProps: ne, getReferenceProps: re, isMounted: J, listRef: ie, refs: ae, setIsOpen: Y, transitionStyles: oe } = In({
4312
4329
  enableClick: !i,
4313
4330
  enableTypeahead: !0,
4314
4331
  role: "listbox",
4315
4332
  selectedIndex: W,
4316
4333
  variant: "input"
4317
- }), se = Bn("var(--pds-z-index-dropdown)"), ce = W === null ? void 0 : V[W]?.label, le = W === null ? void 0 : V[W]?.icon, ue = W === null ? void 0 : V[W]?.value, de = (e) => {
4318
- let t = V[e];
4334
+ }), se = Bn("var(--pds-z-index-dropdown)"), ce = W === null ? void 0 : B[W]?.label, le = W === null ? void 0 : B[W]?.icon, ue = W === null ? void 0 : B[W]?.value, de = (e) => {
4335
+ let t = B[e];
4319
4336
  z || (G(e), Y(!1)), _ && _(t);
4320
4337
  };
4321
4338
  u(() => {
4322
- z && (G(H(D)), Y(!1));
4339
+ z && (G(V(D)), Y(!1));
4323
4340
  }, [D]);
4324
4341
  let fe = () => {
4325
4342
  m && m(ue);
@@ -4349,7 +4366,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4349
4366
  "aria-disabled": t?.disabled,
4350
4367
  "aria-selected": r === W && r === K,
4351
4368
  tabIndex: r === K ? 0 : -1,
4352
- ...!t?.disabled && J({
4369
+ ...!t?.disabled && ne({
4353
4370
  onClick() {
4354
4371
  de(r);
4355
4372
  },
@@ -4373,7 +4390,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4373
4390
  "aria-disabled": t?.disabled,
4374
4391
  "aria-selected": r === W && r === K,
4375
4392
  tabIndex: r === K ? 0 : -1,
4376
- ...!t?.disabled && J({
4393
+ ...!t?.disabled && ne({
4377
4394
  onClick() {
4378
4395
  de(r);
4379
4396
  },
@@ -4401,7 +4418,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4401
4418
  }, t && !c && /* @__PURE__ */ e.createElement("div", {
4402
4419
  "aria-hidden": "true",
4403
4420
  className: `${A}__sizer`
4404
- }, V.map((t) => /* @__PURE__ */ e.createElement("span", {
4421
+ }, B.map((t) => /* @__PURE__ */ e.createElement("span", {
4405
4422
  key: t.value,
4406
4423
  className: `${A}__input-wrapper`
4407
4424
  }, E !== void 0 && /* @__PURE__ */ e.createElement(fn, { variant: "error" }), /* @__PURE__ */ e.createElement("span", { className: `${A}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${A}__option-text` }, t.icon && he(t.icon, `${A}__icon`), t.label), /* @__PURE__ */ e.createElement(Q, {
@@ -4421,7 +4438,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4421
4438
  className: `${A}__input-wrapper`,
4422
4439
  id: s,
4423
4440
  tabIndex: 0,
4424
- ...ne({
4441
+ ...re({
4425
4442
  onClick: me,
4426
4443
  onBlur: fe,
4427
4444
  onFocus: pe
@@ -4429,7 +4446,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4429
4446
  }, L && /* @__PURE__ */ e.createElement(fn, { variant: L }), /* @__PURE__ */ e.createElement("span", { className: `${A}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${A}__option-text` }, (le || !ce && o) && he(le || o, `${A}__icon`), /* @__PURE__ */ e.createElement("span", { className: `${A}__option-label-text` }, ce ?? f.selectOptionText)), /* @__PURE__ */ e.createElement(Q, {
4430
4447
  className: `${A}__trigger-icon`,
4431
4448
  iconName: "angleDown"
4432
- }))), re && /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
4449
+ }))), J && /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
4433
4450
  ref: ae.setFloating,
4434
4451
  className: `pds-dropdown__panel ${A}__dropdown ${a ? `${A}__dropdown--has-footer` : ""}`,
4435
4452
  style: {
@@ -4752,7 +4769,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4752
4769
  let t = Math.abs(e);
4753
4770
  return t >= 1e9 ? `${(e / 1e9).toFixed(1).replace(/\.0$/, "")}B` : t >= 1e6 ? `${(e / 1e6).toFixed(1).replace(/\.0$/, "")}M` : t >= 1e3 ? `${(e / 1e3).toFixed(1).replace(/\.0$/, "")}K` : String(e);
4754
4771
  }, Hr = ({ barRadius: t = 2, chartHeight: n, chartWidth: r, className: i, colorPalette: a = "categorical", data: o = [], isLoading: s = !1, isThumbnail: l = !1, labelStrings: d = {}, layout: f = "horizontal", legendVariant: p = "inline", onTimePeriodChange: m, selectedTimePeriod: _, series: v = [], showAccessibleTable: y, showAxisLines: b, showGrid: x, showLegend: S, showTooltip: C, timePeriodOptions: w, tooltipContent: O, variant: A = "stacked", xAxisLabel: j, xAxisTickInterval: M, yAxisDomain: P, yAxisFormatter: F = Vr, yAxisLabel: I, yAxisTickInterval: L, ...R }) => {
4755
- let { accessibleTableDescription: z = "Bar chart data", emptyStateHeading: B = "No data available", emptyStateMessage: V, legendTableHeader: H, loadingLabel: ee = "Loading chart data" } = d, W = h(null), te = Er(a, Mr(W, a)), J = n ?? (l ? 60 : 360), ne = r ?? (l ? 60 : void 0), re = x ?? !l, ie = b ?? !l, Y = S ?? !l, ue = C ?? !l, de = y ?? !0, [fe, pe] = g(null), me = h(fe);
4772
+ let { accessibleTableDescription: z = "Bar chart data", emptyStateHeading: ee = "No data available", emptyStateMessage: B, legendTableHeader: V, loadingLabel: U = "Loading chart data" } = d, W = h(null), te = Er(a, Mr(W, a)), ne = n ?? (l ? 60 : 360), re = r ?? (l ? 60 : void 0), J = x ?? !l, ie = b ?? !l, Y = S ?? !l, ue = C ?? !l, de = y ?? !0, [fe, pe] = g(null), me = h(fe);
4756
4773
  fe && (me.current = fe);
4757
4774
  let he = h({ getBoundingClientRect: () => ({
4758
4775
  bottom: 0,
@@ -4763,7 +4780,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4763
4780
  width: 0,
4764
4781
  x: 0,
4765
4782
  y: 0
4766
- }) }), { context: ge, floatingStyles: X, refs: _e, update: ve } = N({
4783
+ }) }), { context: ge, floatingStyles: _e, refs: ve, update: X } = N({
4767
4784
  middleware: [
4768
4785
  D(8),
4769
4786
  E(),
@@ -4772,7 +4789,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4772
4789
  open: !!fe,
4773
4790
  placement: "top",
4774
4791
  whileElementsMounted: T
4775
- }), { isMounted: ye, styles: be } = U(ge, {
4792
+ }), { isMounted: ye, styles: be } = H(ge, {
4776
4793
  duration: {
4777
4794
  close: 150,
4778
4795
  open: 150
@@ -4780,8 +4797,8 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4780
4797
  initial: { opacity: 0 }
4781
4798
  });
4782
4799
  u(() => {
4783
- _e.setReference(he.current);
4784
- }, [_e]), u(() => {
4800
+ ve.setReference(he.current);
4801
+ }, [ve]), u(() => {
4785
4802
  let e = () => pe(null);
4786
4803
  return window.addEventListener("scroll", e, !0), () => window.removeEventListener("scroll", e, !0);
4787
4804
  }, []);
@@ -4795,23 +4812,23 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4795
4812
  width: 0,
4796
4813
  x: e.clientX,
4797
4814
  y: e.clientY
4798
- }), ve();
4799
- }, [ve]), we = c(() => {
4815
+ }), X();
4816
+ }, [X]), we = c(() => {
4800
4817
  pe(null);
4801
4818
  }, []);
4802
4819
  if (s) return /* @__PURE__ */ e.createElement("div", {
4803
4820
  ref: W,
4804
4821
  "aria-busy": "true",
4805
- "aria-label": ee,
4822
+ "aria-label": U,
4806
4823
  className: Z([
4807
4824
  xe,
4808
4825
  `${xe}--loading`,
4809
4826
  i ?? ""
4810
4827
  ]),
4811
- style: { maxWidth: ne },
4828
+ style: { maxWidth: re },
4812
4829
  ...R
4813
4830
  }, /* @__PURE__ */ e.createElement(Br, {
4814
- height: J,
4831
+ height: ne,
4815
4832
  legendVariant: p,
4816
4833
  showLegend: Y
4817
4834
  }));
@@ -4823,13 +4840,13 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4823
4840
  i ?? ""
4824
4841
  ]),
4825
4842
  style: {
4826
- height: J,
4827
- maxWidth: ne
4843
+ height: ne,
4844
+ maxWidth: re
4828
4845
  },
4829
4846
  ...R
4830
4847
  }, /* @__PURE__ */ e.createElement(Sr, {
4831
- heading: B,
4832
- message: V
4848
+ heading: ee,
4849
+ message: B
4833
4850
  }));
4834
4851
  let Te = f === "vertical", Ee = (e) => A === "grouped" || A === "stacked" && e === v.length - 1 ? Te ? [
4835
4852
  0,
@@ -4883,7 +4900,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4883
4900
  return /* @__PURE__ */ e.createElement("div", {
4884
4901
  ref: W,
4885
4902
  className: Z([xe, i ?? ""]),
4886
- style: ne ? { maxWidth: ne } : void 0,
4903
+ style: re ? { maxWidth: re } : void 0,
4887
4904
  ...R
4888
4905
  }, !l && w && w.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${xe}__header` }, /* @__PURE__ */ e.createElement(wr, {
4889
4906
  autoWidth: !0,
@@ -4902,12 +4919,12 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4902
4919
  onMouseMove: ue && !O ? Ce : void 0,
4903
4920
  style: {
4904
4921
  contain: "layout size",
4905
- height: J
4922
+ height: ne
4906
4923
  }
4907
4924
  }, /* @__PURE__ */ e.createElement(oe, {
4908
4925
  debounce: 150,
4909
- height: J,
4910
- minHeight: J,
4926
+ height: ne,
4927
+ minHeight: ne,
4911
4928
  minWidth: 50,
4912
4929
  width: "100%"
4913
4930
  }, /* @__PURE__ */ e.createElement(K, {
@@ -4927,7 +4944,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4927
4944
  right: 4,
4928
4945
  top: 20
4929
4946
  }
4930
- }, re && /* @__PURE__ */ e.createElement(q, {
4947
+ }, J && /* @__PURE__ */ e.createElement(q, {
4931
4948
  horizontal: !Te,
4932
4949
  stroke: "var(--pds-color-border-default)",
4933
4950
  strokeDasharray: "3 3",
@@ -4998,11 +5015,11 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4998
5015
  shape: A === "stacked" ? De(n) : void 0,
4999
5016
  stackId: Se
5000
5017
  }))))), ue && !O && ye && me.current && /* @__PURE__ */ e.createElement("div", {
5001
- ref: _e.setFloating,
5018
+ ref: ve.setFloating,
5002
5019
  className: "recharts-default-tooltip",
5003
5020
  role: "tooltip",
5004
5021
  style: {
5005
- ...X,
5022
+ ..._e,
5006
5023
  ...be,
5007
5024
  pointerEvents: "none",
5008
5025
  zIndex: "var(--pds-z-index-notifications)"
@@ -5015,7 +5032,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5015
5032
  data: o,
5016
5033
  series: v,
5017
5034
  seriesColors: te,
5018
- tableHeader: H,
5035
+ tableHeader: V,
5019
5036
  valueFormatter: F,
5020
5037
  variant: p
5021
5038
  }), de && /* @__PURE__ */ e.createElement(Fr, {
@@ -5030,7 +5047,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5030
5047
  default: return;
5031
5048
  }
5032
5049
  }, Wr = ({ annotations: t, chartHeight: n, chartWidth: r, className: i, colorPalette: a = "categorical", data: o = [], isLoading: s = !1, isThumbnail: c = !1, labelStrings: l = {}, legendVariant: u = "inline", lineStyle: d = "smooth", onTimePeriodChange: f, referenceLines: p, selectedTimePeriod: m, series: g = [], showAccessibleTable: _, showAxisLines: v, showDataPoints: y, showGrid: b, showLegend: x, showTooltip: S, timePeriodOptions: C, tooltipContent: w, xAxisLabel: T, xAxisTickInterval: E, yAxisDomain: D, yAxisFormatter: O = Vr, yAxisLabel: k, yAxisTickInterval: A, ...j }) => {
5033
- let { accessibleTableDescription: M = "Line chart data", emptyStateHeading: N = "No data available", emptyStateMessage: P, legendTableHeader: F, loadingLabel: I = "Loading chart data" } = l, L = h(null), R = Er(a, Mr(L, a)), z = n ?? (c ? 60 : 360), B = r ?? (c ? 60 : void 0), V = b ?? !c, H = v ?? !c, U = x ?? !c, ee = S ?? !c, W = y ?? !c, G = _ ?? !0, K = "pds-line-chart";
5050
+ let { accessibleTableDescription: M = "Line chart data", emptyStateHeading: N = "No data available", emptyStateMessage: P, legendTableHeader: F, loadingLabel: I = "Loading chart data" } = l, L = h(null), R = Er(a, Mr(L, a)), z = n ?? (c ? 60 : 360), ee = r ?? (c ? 60 : void 0), B = b ?? !c, V = v ?? !c, H = x ?? !c, U = S ?? !c, W = y ?? !c, G = _ ?? !0, K = "pds-line-chart";
5034
5051
  return s ? /* @__PURE__ */ e.createElement("div", {
5035
5052
  ref: L,
5036
5053
  "aria-busy": "true",
@@ -5040,12 +5057,12 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5040
5057
  `${K}--loading`,
5041
5058
  i ?? ""
5042
5059
  ]),
5043
- style: { maxWidth: B },
5060
+ style: { maxWidth: ee },
5044
5061
  ...j
5045
5062
  }, /* @__PURE__ */ e.createElement(Br, {
5046
5063
  height: z,
5047
5064
  legendVariant: u,
5048
- showLegend: U
5065
+ showLegend: H
5049
5066
  })) : !o || o.length === 0 ? /* @__PURE__ */ e.createElement("div", {
5050
5067
  ref: L,
5051
5068
  className: Z([
@@ -5055,7 +5072,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5055
5072
  ]),
5056
5073
  style: {
5057
5074
  height: z,
5058
- maxWidth: B
5075
+ maxWidth: ee
5059
5076
  },
5060
5077
  ...j
5061
5078
  }, /* @__PURE__ */ e.createElement(Sr, {
@@ -5064,7 +5081,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5064
5081
  })) : /* @__PURE__ */ e.createElement("div", {
5065
5082
  ref: L,
5066
5083
  className: Z([K, i ?? ""]),
5067
- style: B ? { maxWidth: B } : void 0,
5084
+ style: ee ? { maxWidth: ee } : void 0,
5068
5085
  ...j
5069
5086
  }, !c && C && C.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${K}__header` }, /* @__PURE__ */ e.createElement(wr, {
5070
5087
  autoWidth: !0,
@@ -5089,7 +5106,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5089
5106
  minHeight: z,
5090
5107
  minWidth: 50,
5091
5108
  width: "100%"
5092
- }, /* @__PURE__ */ e.createElement(ne, {
5109
+ }, /* @__PURE__ */ e.createElement(re, {
5093
5110
  accessibilityLayer: !1,
5094
5111
  data: o,
5095
5112
  margin: c ? {
@@ -5103,40 +5120,40 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5103
5120
  right: 4,
5104
5121
  top: 20
5105
5122
  }
5106
- }, V && /* @__PURE__ */ e.createElement(q, {
5123
+ }, B && /* @__PURE__ */ e.createElement(q, {
5107
5124
  stroke: "var(--pds-color-border-default)",
5108
5125
  strokeDasharray: "3 3"
5109
5126
  }), /* @__PURE__ */ e.createElement(ce, {
5110
- axisLine: H,
5127
+ axisLine: V,
5111
5128
  dataKey: "label",
5112
- hide: !H,
5129
+ hide: !V,
5113
5130
  interval: E,
5114
- label: T && H ? {
5131
+ label: T && V ? {
5115
5132
  ...Pr,
5116
5133
  offset: -15,
5117
5134
  position: "insideBottom",
5118
5135
  value: T
5119
5136
  } : void 0,
5120
- tick: H ? Nr : !1,
5137
+ tick: V ? Nr : !1,
5121
5138
  tickLine: !1,
5122
5139
  tickMargin: 10
5123
5140
  }), /* @__PURE__ */ e.createElement(le, {
5124
- axisLine: H,
5141
+ axisLine: V,
5125
5142
  domain: D,
5126
- hide: !H,
5143
+ hide: !V,
5127
5144
  interval: A,
5128
- label: k && H ? {
5145
+ label: k && V ? {
5129
5146
  ...Pr,
5130
5147
  angle: -90,
5131
5148
  dx: -44,
5132
5149
  position: "center",
5133
5150
  value: k
5134
5151
  } : void 0,
5135
- tick: H ? Nr : !1,
5152
+ tick: V ? Nr : !1,
5136
5153
  tickFormatter: O,
5137
5154
  tickLine: !1,
5138
5155
  tickMargin: 6
5139
- }), ee && /* @__PURE__ */ e.createElement(se, { content: (t) => {
5156
+ }), U && /* @__PURE__ */ e.createElement(se, { content: (t) => {
5140
5157
  if (!t.active || !t.payload?.length) return null;
5141
5158
  let n = t.payload.map((e) => ({
5142
5159
  color: String(e.color ?? ""),
@@ -5154,7 +5171,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5154
5171
  className: "recharts-tooltip-item__color",
5155
5172
  style: { backgroundColor: t.color }
5156
5173
  }), t.name, /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-separator" }, " ", ":", " "), O(t.value))));
5157
- } }), g.map((t, n) => /* @__PURE__ */ e.createElement(J, {
5174
+ } }), g.map((t, n) => /* @__PURE__ */ e.createElement(ne, {
5158
5175
  key: t.dataKey,
5159
5176
  activeDot: W ? { r: 6 } : !1,
5160
5177
  dataKey: t.dataKey,
@@ -5208,7 +5225,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5208
5225
  strokeDasharray: Ur(t.strokeStyle ?? "dashed"),
5209
5226
  x: t.atLabel
5210
5227
  });
5211
- })))), U && /* @__PURE__ */ e.createElement(Ir, {
5228
+ })))), H && /* @__PURE__ */ e.createElement(Ir, {
5212
5229
  ariaHidden: u === "table" && G,
5213
5230
  data: o,
5214
5231
  series: g,
@@ -5305,7 +5322,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5305
5322
  minHeight: w,
5306
5323
  minWidth: 50,
5307
5324
  width: "100%"
5308
- }, /* @__PURE__ */ e.createElement(ie, { accessibilityLayer: !1 }, /* @__PURE__ */ e.createElement(re, {
5325
+ }, /* @__PURE__ */ e.createElement(ie, { accessibilityLayer: !1 }, /* @__PURE__ */ e.createElement(J, {
5309
5326
  cx: "50%",
5310
5327
  cy: "50%",
5311
5328
  data: A,
@@ -5364,7 +5381,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5364
5381
  width: 0,
5365
5382
  x: 0,
5366
5383
  y: 0
5367
- }) }), { context: B, floatingStyles: V, refs: H, update: ee } = N({
5384
+ }) }), { context: ee, floatingStyles: B, refs: V, update: U } = N({
5368
5385
  middleware: [
5369
5386
  D(8),
5370
5387
  E(),
@@ -5373,7 +5390,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5373
5390
  open: !!I,
5374
5391
  placement: "top",
5375
5392
  whileElementsMounted: T
5376
- }), { isMounted: W, styles: G } = U(B, {
5393
+ }), { isMounted: W, styles: G } = H(ee, {
5377
5394
  duration: {
5378
5395
  close: 150,
5379
5396
  open: 150
@@ -5381,8 +5398,8 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5381
5398
  initial: { opacity: 0 }
5382
5399
  });
5383
5400
  u(() => {
5384
- H.setReference(z.current);
5385
- }, [H]);
5401
+ V.setReference(z.current);
5402
+ }, [V]);
5386
5403
  let K = c((e) => {
5387
5404
  z.current.getBoundingClientRect = () => ({
5388
5405
  bottom: e.clientY,
@@ -5393,8 +5410,8 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5393
5410
  width: 0,
5394
5411
  x: e.clientX,
5395
5412
  y: e.clientY
5396
- }), ee();
5397
- }, [ee]), q = c(() => {
5413
+ }), U();
5414
+ }, [U]), q = c(() => {
5398
5415
  L(null);
5399
5416
  }, []);
5400
5417
  return o ? /* @__PURE__ */ e.createElement("div", {
@@ -5452,11 +5469,11 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5452
5469
  }
5453
5470
  });
5454
5471
  })), M && W && R.current && /* @__PURE__ */ e.createElement("div", {
5455
- ref: H.setFloating,
5472
+ ref: V.setFloating,
5456
5473
  className: "recharts-default-tooltip",
5457
5474
  role: "tooltip",
5458
5475
  style: {
5459
- ...V,
5476
+ ...B,
5460
5477
  ...G,
5461
5478
  pointerEvents: "none",
5462
5479
  zIndex: "var(--pds-z-index-notifications)"
@@ -7053,9 +7070,9 @@ var Zr = {
7053
7070
  title: x ? o : void 0
7054
7071
  }, o)));
7055
7072
  }, fi = o(({ checked: t, className: n, defaultChecked: r, disabled: i, id: a, indeterminate: o, inputProps: s, inputWidth: l, inputWidthMin: u, label: d, message: f, name: p, nestingLevel: m = 0, onBlur: h, onChange: _, onFocus: v, required: y, showLabel: b = !0, size: x = "s", validationMessage: S, validationStatus: C, value: w, ...T }, E) => {
7056
- let D = on(l, u), O = "pds-checkbox", k = i ? $.disabled : null, A = C === "error" ? $.error : null, j = m > 0 ? `${O}--indent-${m}` : null, M = y && !i ? $.required : null, N = x === "s" ? null : `${O}--${x}`, P = C === "success" ? $.success : null, F = S || f, I = t !== void 0, [L, R] = g(r === void 0 ? !1 : r), z = t || L, B = (e) => {
7073
+ let D = on(l, u), O = "pds-checkbox", k = i ? $.disabled : null, A = C === "error" ? $.error : null, j = m > 0 ? `${O}--indent-${m}` : null, M = y && !i ? $.required : null, N = x === "s" ? null : `${O}--${x}`, P = C === "success" ? $.success : null, F = S || f, I = t !== void 0, [L, R] = g(r === void 0 ? !1 : r), z = t || L, ee = (e) => {
7057
7074
  I || R(e.target.checked), _ && _(e);
7058
- }, V = `${O}__box`, H = o ? null : z ? `${V}--checked` : null, U = o ? `${V}--indeterminate` : null, ee = c(() => {
7075
+ }, B = `${O}__box`, V = o ? null : z ? `${B}--checked` : null, H = o ? `${B}--indeterminate` : null, U = c(() => {
7059
7076
  if (o) return /* @__PURE__ */ e.createElement("svg", {
7060
7077
  "aria-hidden": "true",
7061
7078
  className: `${O}__icon ${O}__icon--indeterminate`,
@@ -7106,7 +7123,7 @@ var Zr = {
7106
7123
  "aria-invalid": C === "error" ? !0 : null,
7107
7124
  disabled: i,
7108
7125
  onBlur: h,
7109
- onChange: B,
7126
+ onChange: ee,
7110
7127
  onFocus: v,
7111
7128
  required: y,
7112
7129
  ...s
@@ -7114,10 +7131,10 @@ var Zr = {
7114
7131
  className: `${O}__label`,
7115
7132
  htmlFor: a
7116
7133
  }, /* @__PURE__ */ e.createElement("div", { className: Z([
7134
+ B,
7117
7135
  V,
7118
- H,
7119
- U
7120
- ]) }, /* @__PURE__ */ e.createElement(ee, null)), /* @__PURE__ */ e.createElement("div", { className: Z([`${O}__label-text`, b ? "" : "visually-hidden"]) }, d, " ", y && !i && /* @__PURE__ */ e.createElement(cn, null)))), F && /* @__PURE__ */ e.createElement(un, {
7136
+ H
7137
+ ]) }, /* @__PURE__ */ e.createElement(U, null)), /* @__PURE__ */ e.createElement("div", { className: Z([`${O}__label-text`, b ? "" : "visually-hidden"]) }, d, " ", y && !i && /* @__PURE__ */ e.createElement(cn, null)))), F && /* @__PURE__ */ e.createElement(un, {
7121
7138
  validationMessageHasDecorators: !0,
7122
7139
  hasValidationMessage: !!S,
7123
7140
  id: a,
@@ -7229,16 +7246,16 @@ var Zr = {
7229
7246
  inputInstructions: "Type to search options",
7230
7247
  searchShortcut: "Press / to focus the search field",
7231
7248
  triggerButton: "Toggle dropdown menu"
7232
- }, loadingText: b = "Loading results...", message: x, noResultsText: C = "No results found", onBlur: w, onChange: O, onClear: k, onFocus: j, onOptionSelect: M, options: P, placeholder: F, required: I = !1, showLabel: L = !0, showUnfilteredOptions: R = !1, size: z = "s", tooltipText: B = null, validationMessage: V, validationStatus: H, value: ee, ...W }, G) => {
7233
- let K = on(f, p), q = "pds-combobox", te = z === "s" ? null : `${q}--${z}`, J = r ? $.disabled : null, ne = I && !r ? $.required : null, re = H === "error" ? $.error : null, ie = H === "success" ? $.success : null, ae = null;
7234
- s && (ae = "search"), H === "error" && (ae = "error"), H === "success" && (ae = "success");
7235
- let Y = V || x, oe = ee !== void 0, se = n !== void 0, ce = (e) => {
7249
+ }, loadingText: b = "Loading results...", message: x, noResultsText: C = "No results found", onBlur: w, onChange: O, onClear: k, onFocus: j, onOptionSelect: M, options: P, placeholder: F, required: I = !1, showLabel: L = !0, showUnfilteredOptions: R = !1, size: z = "s", tooltipText: ee = null, validationMessage: B, validationStatus: V, value: U, ...W }, G) => {
7250
+ let K = on(f, p), q = "pds-combobox", te = z === "s" ? null : `${q}--${z}`, ne = r ? $.disabled : null, re = I && !r ? $.required : null, J = V === "error" ? $.error : null, ie = V === "success" ? $.success : null, ae = null;
7251
+ s && (ae = "search"), V === "error" && (ae = "error"), V === "success" && (ae = "success");
7252
+ let Y = B || x, oe = U !== void 0, se = n !== void 0, ce = (e) => {
7236
7253
  let t = P.find((t) => t.value === e);
7237
7254
  return t ? t.label : "";
7238
- }, [le, ue] = g(se ? n : void 0), [de, pe] = g(oe ? ee ?? "" : se ? ce(n) : ""), me = l && !de;
7255
+ }, [le, ue] = g(se ? n : void 0), [de, pe] = g(oe ? U ?? "" : se ? ce(n) : ""), me = l && !de;
7239
7256
  u(() => {
7240
- oe && pe(ee ?? "");
7241
- }, [oe, ee]);
7257
+ oe && pe(U ?? "");
7258
+ }, [oe, U]);
7242
7259
  let he = h(null), ge = (e) => e.map(({ label: e, optionDisplay: t, searchIndex: n, value: r, ...i }) => {
7243
7260
  let a = r || e, o = [e, r];
7244
7261
  return n && o.push(...n), {
@@ -7248,7 +7265,7 @@ var Zr = {
7248
7265
  optionDisplay: t,
7249
7266
  ...i
7250
7267
  };
7251
- }), X = m(() => {
7268
+ }), _e = m(() => {
7252
7269
  let e = ge(P);
7253
7270
  if (!de && !R) return [];
7254
7271
  let t = (de ?? "").toLowerCase();
@@ -7256,12 +7273,11 @@ var Zr = {
7256
7273
  }, [
7257
7274
  P,
7258
7275
  de,
7259
- R,
7260
- _
7261
- ]), { getInputProps: _e, getItemProps: ve, getMenuProps: ye, highlightedIndex: be, isOpen: xe, openMenu: Se, reset: Ce } = fe({
7276
+ R
7277
+ ]), { getInputProps: ve, getItemProps: X, getMenuProps: ye, highlightedIndex: be, isOpen: xe, openMenu: Se, reset: Ce } = fe({
7262
7278
  id: d,
7263
7279
  inputId: `input-${d}`,
7264
- items: X,
7280
+ items: _e,
7265
7281
  itemToString: (e) => e ? e.label : "",
7266
7282
  inputValue: de,
7267
7283
  onInputValueChange: ({ inputValue: e }) => {
@@ -7311,7 +7327,7 @@ var Zr = {
7311
7327
  }
7312
7328
  })
7313
7329
  ]
7314
- }), { isMounted: De, styles: Oe } = U(we, {
7330
+ }), { isMounted: De, styles: Oe } = H(we, {
7315
7331
  duration: {
7316
7332
  open: 300,
7317
7333
  close: 150
@@ -7329,10 +7345,10 @@ var Zr = {
7329
7345
  w?.(le);
7330
7346
  }, Pe = (e) => {
7331
7347
  R && Se(), j?.(le);
7332
- }, Fe = () => X.map((t, n) => /* @__PURE__ */ e.createElement(vn, {
7348
+ }, Fe = () => _e.map((t, n) => /* @__PURE__ */ e.createElement(vn, {
7333
7349
  key: t.value,
7334
7350
  className: be === n ? "pds-dropdown__item--focused" : "",
7335
- ...ve({
7351
+ ...X({
7336
7352
  item: t,
7337
7353
  index: n
7338
7354
  })
@@ -7342,9 +7358,9 @@ var Zr = {
7342
7358
  $.base,
7343
7359
  q,
7344
7360
  te,
7345
- J,
7346
7361
  ne,
7347
7362
  re,
7363
+ J,
7348
7364
  ie,
7349
7365
  t ?? ""
7350
7366
  ]),
@@ -7356,12 +7372,12 @@ var Zr = {
7356
7372
  label: v,
7357
7373
  required: I,
7358
7374
  showLabel: L,
7359
- tooltipText: B
7375
+ tooltipText: ee
7360
7376
  }), /* @__PURE__ */ e.createElement("span", {
7361
7377
  ref: Ae,
7362
7378
  "aria-describedby": Y ? `${d}__message` : null,
7363
7379
  "aria-disabled": r ? !0 : null,
7364
- "aria-invalid": H === "error" ? !0 : null,
7380
+ "aria-invalid": V === "error" ? !0 : null,
7365
7381
  "aria-required": I ? !0 : null,
7366
7382
  className: Z([`${q}__input-wrapper`, me ? `${q}__input-wrapper--has-search-shortcut` : null]),
7367
7383
  id: d
@@ -7370,7 +7386,7 @@ var Zr = {
7370
7386
  autoComplete: "off",
7371
7387
  className: `${q}__input`,
7372
7388
  id: `input-${d}`,
7373
- ..._e({
7389
+ ...ve({
7374
7390
  "aria-label": y.inputInstructions,
7375
7391
  disabled: r,
7376
7392
  placeholder: F,
@@ -7406,19 +7422,19 @@ var Zr = {
7406
7422
  ...Oe,
7407
7423
  zIndex: ke
7408
7424
  } : { display: "none" }
7409
- }, De && _ && /* @__PURE__ */ e.createElement("div", { className: `${q}__loading` }, b), De && !_ && X.length === 0 && /* @__PURE__ */ e.createElement("div", { className: "pds-dropdown__no-results" }, C), /* @__PURE__ */ e.createElement("ul", {
7425
+ }, De && _ && /* @__PURE__ */ e.createElement("div", { className: `${q}__loading` }, b), De && !_ && _e.length === 0 && /* @__PURE__ */ e.createElement("div", { className: "pds-dropdown__no-results" }, C), /* @__PURE__ */ e.createElement("ul", {
7410
7426
  className: `${q}__options`,
7411
7427
  ...ye(),
7412
- style: De && (i || !_ && X.length > 0) ? void 0 : { display: "none" }
7428
+ style: De && (i || !_ && _e.length > 0) ? void 0 : { display: "none" }
7413
7429
  }, De && !_ && Fe(), De && i && /* @__PURE__ */ e.createElement("li", {
7414
7430
  className: "pds-dropdown__footer",
7415
7431
  role: "presentation"
7416
7432
  }, i)))), Y && /* @__PURE__ */ e.createElement(un, {
7417
- hasValidationMessage: !!V,
7433
+ hasValidationMessage: !!B,
7418
7434
  id: d,
7419
7435
  message: Y,
7420
7436
  validationMessageHasDecorators: !1,
7421
- validationStatus: H
7437
+ validationStatus: V
7422
7438
  }));
7423
7439
  }), gi = (e, t, n) => {
7424
7440
  let r = n.toLowerCase();
@@ -7434,24 +7450,24 @@ var Zr = {
7434
7450
  inputInstructions: "Type to search options",
7435
7451
  triggerButton: "Toggle dropdown menu"
7436
7452
  }, loadingText: f = "Loading results...", noResultsText: p = "No results found", onChange: _, options: v, placeholder: y = "Filter", required: b = !1, showAllTags: x = !1, showLabel: C = !0, size: w = "s", ...O }) => {
7437
- let k = on(s, c), j = "pds-combobox-multi", P = w === "s" ? null : `${j}--${w}`, F = r ? $.disabled : null, I = b && !r ? $.required : null, L = x ? `${j}--show-all-tags` : null, [R, B] = g(""), [H, U] = g(o), [ee, W] = g(null), [G, K] = g(!1), q = m(() => gi(v, H, R), [
7453
+ let k = on(s, c), j = "pds-combobox-multi", P = w === "s" ? null : `${j}--${w}`, F = r ? $.disabled : null, I = b && !r ? $.required : null, L = x ? `${j}--show-all-tags` : null, [R, ee] = g(""), [V, H] = g(o), [U, W] = g(null), [G, K] = g(!1), q = m(() => gi(v, V, R), [
7438
7454
  v,
7439
- H,
7455
+ V,
7440
7456
  R
7441
7457
  ]), te = m(() => t?.items?.map((e) => ({
7442
7458
  ...e,
7443
- isAlreadySelected: H.some((t) => t.id === e.id)
7444
- })) || [], [t?.items, H]), J = (e) => {
7445
- U(e), _?.(e);
7446
- }, { getDropdownProps: ne, getSelectedItemProps: re, removeSelectedItem: ie } = pe({
7447
- selectedItems: H,
7459
+ isAlreadySelected: V.some((t) => t.id === e.id)
7460
+ })) || [], [t?.items, V]), ne = (e) => {
7461
+ H(e), _?.(e);
7462
+ }, { getDropdownProps: re, getSelectedItemProps: J, removeSelectedItem: ie } = pe({
7463
+ selectedItems: V,
7448
7464
  onStateChange: ({ selectedItems: e, type: t }) => {
7449
7465
  if (!r) switch (t) {
7450
7466
  case pe.stateChangeTypes.SelectedItemKeyDownBackspace:
7451
7467
  case pe.stateChangeTypes.SelectedItemKeyDownDelete:
7452
7468
  case pe.stateChangeTypes.DropdownKeyDownBackspace:
7453
7469
  case pe.stateChangeTypes.FunctionRemoveSelectedItem:
7454
- J(e || []);
7470
+ ne(e || []);
7455
7471
  break;
7456
7472
  default: break;
7457
7473
  }
@@ -7479,10 +7495,10 @@ var Zr = {
7479
7495
  case fe.stateChangeTypes.InputKeyDownEnter:
7480
7496
  case fe.stateChangeTypes.ItemClick:
7481
7497
  case fe.stateChangeTypes.InputBlur:
7482
- n && (n.isAlreadySelected ? J(H.filter((e) => e.id !== n.id)) : J([...H, n]), B(""), W(null));
7498
+ n && (n.isAlreadySelected ? ne(V.filter((e) => e.id !== n.id)) : ne([...V, n]), ee(""), W(null));
7483
7499
  break;
7484
7500
  case fe.stateChangeTypes.InputChange:
7485
- B(e || ""), W(null);
7501
+ ee(e || ""), W(null);
7486
7502
  break;
7487
7503
  case fe.stateChangeTypes.ToggleButtonClick:
7488
7504
  case fe.stateChangeTypes.FunctionOpenMenu:
@@ -7514,7 +7530,7 @@ var Zr = {
7514
7530
  }
7515
7531
  })
7516
7532
  ]
7517
- }), { context: X, floatingStyles: _e, refs: ve } = N({
7533
+ }), { context: _e, floatingStyles: ve, refs: X } = N({
7518
7534
  open: G,
7519
7535
  onOpenChange: K,
7520
7536
  whileElementsMounted: T,
@@ -7527,33 +7543,33 @@ var Zr = {
7527
7543
  Object.assign(e.floating.style, { width: `${t.reference.width}px` });
7528
7544
  } })
7529
7545
  ]
7530
- }), { getFloatingProps: ye } = z([M(X)]), be = Bn("var(--pds-z-index-dropdown)"), xe = (e) => {
7546
+ }), { getFloatingProps: ye } = z([M(_e)]), be = Bn("var(--pds-z-index-dropdown)"), xe = (e) => {
7531
7547
  if (e.stopPropagation(), r) return;
7532
7548
  let t = !G;
7533
7549
  K(t), t && ue && ae();
7534
7550
  }, Se = (e) => {
7535
- r || (e.isAlreadySelected ? J(H.filter((t) => t.id !== e.id)) : J([...H, e]));
7551
+ r || (e.isAlreadySelected ? ne(V.filter((t) => t.id !== e.id)) : ne([...V, e]));
7536
7552
  }, Ce = () => {
7537
7553
  K(!1), t?.onClose?.();
7538
7554
  }, we = () => {
7539
7555
  t?.onRefresh?.();
7540
7556
  }, Te = () => {
7541
- if (ee === null) W(H.length - 1);
7557
+ if (U === null) W(V.length - 1);
7542
7558
  else {
7543
- let e = [...H];
7544
- e.splice(ee, 1), J(e), W(null);
7559
+ let e = [...V];
7560
+ e.splice(U, 1), ne(e), W(null);
7545
7561
  }
7546
7562
  }, Ee = h(!1), De = () => {
7547
7563
  r || (Ee.current ? ae() : de());
7548
7564
  }, Oe = (e) => {
7549
7565
  Ee.current = ue, !r && e.currentTarget.setAttribute("data-focus-method", "mouse");
7550
7566
  }, ke = (e) => {
7551
- e.currentTarget.setAttribute("data-focus-method", "keyboard"), !r && ((e.key === "Backspace" || e.key === "Delete") && !R && H.length > 0 && (e.preventDefault(), Te()), e.key === "Enter" && ee !== null && (e.preventDefault(), Te()), !ue && (e.key === "Enter" || e.key === "ArrowDown") && (e.preventDefault(), de()));
7567
+ e.currentTarget.setAttribute("data-focus-method", "keyboard"), !r && ((e.key === "Backspace" || e.key === "Delete") && !R && V.length > 0 && (e.preventDefault(), Te()), e.key === "Enter" && U !== null && (e.preventDefault(), Te()), !ue && (e.key === "Enter" || e.key === "ArrowDown") && (e.preventDefault(), de()));
7552
7568
  }, Ae = Y({
7553
- ...ne({ preventKeyAction: ue }),
7569
+ ...re({ preventKeyAction: ue }),
7554
7570
  disabled: r,
7555
7571
  onKeyDown: ke
7556
- }), je = H.length === 2 ? /* @__PURE__ */ e.createElement("span", { className: `${j}__counter-item` }, H.length - 1) : H.length === 3 ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${j}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${j}__counter-item` }, H.length - 1)) : H.length > 3 ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${j}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${j}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${j}__counter-item` }, H.length - 1)) : "", Me = ne(), Ne = V([Me.ref, ge.setFloating]);
7572
+ }), je = V.length === 2 ? /* @__PURE__ */ e.createElement("span", { className: `${j}__counter-item` }, V.length - 1) : V.length === 3 ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${j}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${j}__counter-item` }, V.length - 1)) : V.length > 3 ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${j}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${j}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${j}__counter-item` }, V.length - 1)) : "", Me = re(), Ne = B([Me.ref, ge.setFloating]);
7557
7573
  return /* @__PURE__ */ e.createElement("div", {
7558
7574
  className: Z([
7559
7575
  $.base,
@@ -7574,7 +7590,7 @@ var Zr = {
7574
7590
  showLabel: C
7575
7591
  }), /* @__PURE__ */ e.createElement("div", {
7576
7592
  ref: (e) => {
7577
- ge.setReference(e), ve.setReference(e);
7593
+ ge.setReference(e), X.setReference(e);
7578
7594
  },
7579
7595
  "aria-disabled": r ? !0 : null,
7580
7596
  "aria-required": b ? !0 : null,
@@ -7583,13 +7599,13 @@ var Zr = {
7583
7599
  onKeyDown: ke,
7584
7600
  onMouseDown: Oe,
7585
7601
  tabIndex: r ? -1 : 0
7586
- }, H.length > 1 && !x && /* @__PURE__ */ e.createElement("div", { className: `${j}__counter` }, /* @__PURE__ */ e.createElement("span", { className: `${j}__counter-wrapper` }, je)), H.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${j}__items-wrapper` }, H.map((t, n) => /* @__PURE__ */ e.createElement("span", {
7602
+ }, V.length > 1 && !x && /* @__PURE__ */ e.createElement("div", { className: `${j}__counter` }, /* @__PURE__ */ e.createElement("span", { className: `${j}__counter-wrapper` }, je)), V.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${j}__items-wrapper` }, V.map((t, n) => /* @__PURE__ */ e.createElement("span", {
7587
7603
  key: `selected-item-${n}`,
7588
7604
  className: `
7589
7605
  ${j}__selected-item
7590
- ${n === ee ? `${j}__selected-item--marked-for-deletion` : ""}
7606
+ ${n === U ? `${j}__selected-item--marked-for-deletion` : ""}
7591
7607
  `,
7592
- ...re({
7608
+ ...J({
7593
7609
  selectedItem: t,
7594
7610
  index: n
7595
7611
  }),
@@ -7664,10 +7680,10 @@ var Zr = {
7664
7680
  className: "pds-dropdown__footer",
7665
7681
  role: "presentation"
7666
7682
  }, i)))), G && t && /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
7667
- ref: ve.setFloating,
7683
+ ref: X.setFloating,
7668
7684
  className: `${j}__aux-panel`,
7669
7685
  style: {
7670
- ..._e,
7686
+ ...ve,
7671
7687
  zIndex: be
7672
7688
  },
7673
7689
  ...ye()
@@ -7731,20 +7747,20 @@ var Zr = {
7731
7747
  },
7732
7748
  shouldForceLeadingZeros: !0,
7733
7749
  value: m(() => yi(R), [R])
7734
- }), B = h(null), { fieldProps: V } = Le({
7750
+ }), ee = h(null), { fieldProps: B } = Le({
7735
7751
  "aria-describedby": N ? `${o}__message` : void 0,
7736
7752
  "aria-labelledby": `${o}-label`,
7737
7753
  isDisabled: i
7738
- }, z, B), H = h(x);
7754
+ }, z, ee), V = h(x);
7739
7755
  u(() => {
7740
- let e = H.current;
7741
- if (H.current = x, !x || !e || x === e) return;
7756
+ let e = V.current;
7757
+ if (V.current = x, !x || !e || x === e) return;
7742
7758
  let n = z.value;
7743
7759
  if (!n) return;
7744
7760
  let r = Ce(we(Se(t ?? Te(e), n), e), x), i = bi(new he(r.hour, r.minute));
7745
7761
  i && (P || L(i), p && p(i));
7746
7762
  }, [x]);
7747
- let U = m(() => {
7763
+ let H = m(() => {
7748
7764
  if (!x) return;
7749
7765
  let e = (t ?? Te(x)).toDate(x);
7750
7766
  try {
@@ -7759,7 +7775,7 @@ var Zr = {
7759
7775
  t,
7760
7776
  F,
7761
7777
  x
7762
- ]), { focusProps: ee, isFocusVisible: W } = Pe({ within: !0 }), G = z.value !== null;
7778
+ ]), { focusProps: U, isFocusVisible: W } = Pe({ within: !0 }), G = z.value !== null;
7763
7779
  return /* @__PURE__ */ e.createElement("div", {
7764
7780
  className: Z([
7765
7781
  $.base,
@@ -7780,8 +7796,8 @@ var Zr = {
7780
7796
  showLabel: y,
7781
7797
  tooltipText: S
7782
7798
  }), /* @__PURE__ */ e.createElement("div", {
7783
- ...Oe(V, ee),
7784
- ref: B,
7799
+ ...Oe(B, U),
7800
+ ref: ee,
7785
7801
  className: Z([`${D}__input-wrapper`, W ? `${D}__input-wrapper--focus-visible` : null]),
7786
7802
  id: o
7787
7803
  }, /* @__PURE__ */ e.createElement(Q, {
@@ -7796,7 +7812,7 @@ var Zr = {
7796
7812
  baseClass: D,
7797
7813
  segment: t,
7798
7814
  state: z
7799
- })), U && G && /* @__PURE__ */ e.createElement("div", { className: `${D}__timezone` }, U))), N && /* @__PURE__ */ e.createElement(un, {
7815
+ })), H && G && /* @__PURE__ */ e.createElement("div", { className: `${D}__timezone` }, H))), N && /* @__PURE__ */ e.createElement(un, {
7800
7816
  hasValidationMessage: !!C,
7801
7817
  id: o,
7802
7818
  message: N,
@@ -7805,7 +7821,7 @@ var Zr = {
7805
7821
  }));
7806
7822
  }, Ci = (e, t = ye()) => {
7807
7823
  if (!e) return;
7808
- let n = ve(e, t);
7824
+ let n = X(e, t);
7809
7825
  return new me(n.year, n.month, n.day);
7810
7826
  }, wi = (e, t = ye()) => e ? e.toDate(t) : void 0, Ti = (e) => String(e).padStart(2, "0"), Ei = (e) => {
7811
7827
  let t = e ? /^(\d{1,2}):(\d{2})$/.exec(e) : null;
@@ -7814,7 +7830,7 @@ var Zr = {
7814
7830
  if (!(n > 23 || r > 59)) return new he(n, r);
7815
7831
  }, Di = (e, t = ye()) => {
7816
7832
  if (!e) return;
7817
- let n = ve(e, t);
7833
+ let n = X(e, t);
7818
7834
  return `${Ti(n.hour)}:${Ti(n.minute)}`;
7819
7835
  }, Oi = (e, t, n = ye()) => {
7820
7836
  if (!e) return;
@@ -7822,11 +7838,11 @@ var Zr = {
7822
7838
  return r ? Se(e, r).toDate(n) : wi(e, n);
7823
7839
  }, ki = "00:00", Ai = "23:59", ji = (e, t, n = ye()) => {
7824
7840
  if (!e) return "";
7825
- let r = ve(e, n);
7841
+ let r = X(e, n);
7826
7842
  return Ee(new Date(r.year, r.month - 1, r.day), "PP", { locale: t });
7827
7843
  }, Mi = (e, t) => {
7828
7844
  let n = Te(t).year;
7829
- return e.some((e) => !!e && ve(e, t).year !== n);
7845
+ return e.some((e) => !!e && X(e, t).year !== n);
7830
7846
  }, Ni = (e, { hourCycle: t, includeYear: n, localeString: r, timeZone: i = ye() }) => e ? new Intl.DateTimeFormat(r, {
7831
7847
  day: "numeric",
7832
7848
  hour: t === 24 ? "2-digit" : "numeric",
@@ -7872,24 +7888,24 @@ var Zr = {
7872
7888
  };
7873
7889
  case "current-week": return {
7874
7890
  from: wi(xe(i, r), n),
7875
- to: wi(_e(i, r), n)
7891
+ to: wi(ve(i, r), n)
7876
7892
  };
7877
7893
  case "current-month": return {
7878
7894
  from: wi(be(i), n),
7879
- to: wi(X(i), n)
7895
+ to: wi(_e(i), n)
7880
7896
  };
7881
7897
  case "last-week": {
7882
7898
  let e = i.subtract({ weeks: 1 });
7883
7899
  return {
7884
7900
  from: wi(xe(e, r), n),
7885
- to: wi(_e(e, r), n)
7901
+ to: wi(ve(e, r), n)
7886
7902
  };
7887
7903
  }
7888
7904
  case "last-month": {
7889
7905
  let e = i.subtract({ months: 1 });
7890
7906
  return {
7891
7907
  from: wi(be(e), n),
7892
- to: wi(X(e), n)
7908
+ to: wi(_e(e), n)
7893
7909
  };
7894
7910
  }
7895
7911
  default: return {
@@ -7956,178 +7972,189 @@ var Zr = {
7956
7972
  state: r,
7957
7973
  timeZone: i
7958
7974
  }) : /* @__PURE__ */ e.createElement("td", { key: o }))))));
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 }) => {
7960
- let z = b === "range", B = {
7975
+ }, 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, defaultTimeZoneMode: y = "utc", minDate: b, mode: x = "single", onChange: C, onTimeZoneChange: w, placeholder: T, presets: E, required: D = !1, showLabel: O = !0, showPresetCalendar: k = !0, showTime: A = !1, showTimeZoneSwitcher: j = !1, showTodayButton: M = !0, timeZone: N = ye(), tooltipText: P, translationStrings: F, validationMessage: I, validationStatus: L, value: R, visibleMonths: z = 2, ...ee }) => {
7976
+ let B = x === "range", V = {
7961
7977
  ...Fi,
7962
- ...N
7963
- }, V = z && !!w && w.length > 0;
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.`);
7965
- let { locale: H } = Fe(), U = p?.code ?? H, ee = m(() => z ? w?.find((e) => e.label === i) : void 0, [
7978
+ ...F
7979
+ }, H = B && !!E && E.length > 0;
7980
+ j && !A && process.env.NODE_ENV !== "production" && console.warn("[Datepicker] `showTimeZoneSwitcher` has no effect unless `showTime` is also true."), E && E.length > 0 && !B && process.env.NODE_ENV !== "production" && console.warn("[Datepicker] `presets` requires `mode=\"range\"` — every preset computes a date range."), !t && !H && process.env.NODE_ENV !== "production" && console.warn("[Datepicker] `allowCustomRange` has no effect unless `presets` is also set."), i !== void 0 && !(H && E?.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.`);
7981
+ let { locale: U } = Fe(), W = p?.code ?? U, G = m(() => B ? E?.find((e) => e.label === i) : void 0, [
7966
7982
  i,
7967
- z,
7968
- w
7969
- ]), W = (e) => {
7983
+ B,
7984
+ E
7985
+ ]), K = (e) => {
7970
7986
  let t = Pi(e, {
7971
- locale: U,
7972
- timeZone: j
7987
+ locale: W,
7988
+ timeZone: N
7973
7989
  }), n = e.hours !== void 0 || e.minutes !== void 0;
7974
- return !O || n ? t : {
7975
- from: Oi(Ci(t.from, j), ki, j),
7976
- to: Oi(Ci(t.to, j), Ai, j)
7990
+ return !A || n ? t : {
7991
+ from: Oi(Ci(t.from, N), ki, N),
7992
+ to: Oi(Ci(t.to, N), Ai, N)
7977
7993
  };
7978
- }, [G, K] = g(() => I ?? (ee ? W(ee) : void 0)), [q, te] = g("local"), J = k && q === "utc" ? "UTC" : j, [ne, re] = g(ee?.label), [ie, ae] = g(D), Y = !V || ie, oe = !V || D || t, se = L === 1 ? z && O ? 400 : 280 : 550, ce = h(null), le = ne === void 0 && (z ? !!G?.from : !!G), ue = (e, t) => z && O ? e ?? t : e, [de, fe] = g(() => ue(Di(z ? G?.from : G, J), ki)), [pe, me] = g(() => ue(Di(G?.to, J), Ai)), he = on(l, d), X = "pds-datepicker", _e = a ? $.disabled : null, ve = T && !a ? $.required : null, be = F === "error" ? $.error : null, xe = F === "success" ? $.success : null, Se = P || v, Ce = /* @__PURE__ */ e.createElement("div", { className: `${X}__timezone-switcher` }, /* @__PURE__ */ e.createElement("span", { className: `${X}__timezone-switcher-label` }, B.timeZoneSwitcherLabel), /* @__PURE__ */ e.createElement(ur, {
7994
+ }, [q, te] = g(() => R ?? (G ? K(G) : void 0)), [ne, re] = g(y), J = j ? ne === "utc" ? "UTC" : ye() : N, [ie, ae] = g(G?.label), [Y, oe] = g(k), se = !H || Y, ce = !H || k || t, le = z === 1 ? B && A ? 400 : 280 : 550, ue = h(null), de = ie === void 0 && (B ? !!q?.from : !!q), fe = (e, t) => B && A ? e ?? t : e, [pe, me] = g(() => fe(Di(B ? q?.from : q, J), ki)), [he, _e] = g(() => fe(Di(q?.to, J), Ai)), ve = on(l, d), X = "pds-datepicker", be = a ? $.disabled : null, xe = D && !a ? $.required : null, Se = L === "error" ? $.error : null, Ce = L === "success" ? $.success : null, we = I || v, Ee = /* @__PURE__ */ e.createElement("div", { className: `${X}__timezone-switcher` }, /* @__PURE__ */ e.createElement("span", { className: `${X}__timezone-switcher-label` }, V.timeZoneSwitcherLabel), /* @__PURE__ */ e.createElement(ur, {
7979
7995
  id: `${c}-timezone-switcher`,
7980
- label: B.timeZoneSwitcherLabel || "",
7981
- onChange: (e) => te(e),
7996
+ label: V.timeZoneSwitcherLabel || "",
7997
+ onChange: (e) => {
7998
+ let t = e;
7999
+ re(t), w?.(t === "utc" ? "UTC" : ye(), t);
8000
+ },
7982
8001
  options: [{
7983
- label: B.localTimeZoneLabel || "",
8002
+ label: V.localTimeZoneLabel || "",
7984
8003
  value: "local"
7985
8004
  }, {
7986
- label: B.utcTimeZoneLabel || "",
8005
+ label: V.utcTimeZoneLabel || "",
7987
8006
  value: "utc"
7988
8007
  }],
7989
8008
  size: "s",
7990
- value: q
7991
- })), { floatingStyles: we, getFloatingProps: Ee, getReferenceProps: Oe, isMounted: je, isOpen: Me, refs: Ne, setIsOpen: Pe } = In({
8009
+ value: ne
8010
+ })), { floatingStyles: Oe, getFloatingProps: je, getReferenceProps: Me, isMounted: Ne, isOpen: Pe, refs: Le, setIsOpen: Be } = In({
7992
8011
  enableListNavigation: !1,
7993
8012
  offsetValue: 8,
7994
8013
  placement: "bottom-start",
7995
8014
  role: "dialog",
7996
8015
  shiftPadding: 16,
7997
8016
  variant: "default"
7998
- }), Le = Bn("var(--pds-z-index-overlay)"), Be = Ci(y, J), Ve = Ci(_, J), He = (e, t, n = !1) => {
7999
- K(e), re(t), x?.(e), !z && n && setTimeout(() => {
8000
- Pe(!1);
8017
+ }), Ve = Bn("var(--pds-z-index-overlay)"), He = Ci(b, J), Ue = Ci(_, J), We = (e, t, n = !1) => {
8018
+ te(e), ae(t), C?.(e), !B && n && setTimeout(() => {
8019
+ Be(!1);
8001
8020
  }, 300);
8002
- }, Ue = Re({
8021
+ }, Ge = Re({
8003
8022
  createCalendar: ge,
8004
- locale: U,
8005
- maxValue: Ve,
8006
- minValue: Be,
8023
+ locale: W,
8024
+ maxValue: Ue,
8025
+ minValue: He,
8007
8026
  onChange: (e) => {
8008
- z || He(Oi(e, O ? de : void 0, J), void 0, !O);
8027
+ B || We(Oi(e, A ? pe : void 0, J), void 0, !A);
8009
8028
  },
8010
- value: z ? null : Ci(G, J) ?? null
8011
- }), We = h(null), Ge = ze({
8029
+ value: B ? null : Ci(q, J) ?? null
8030
+ }), Ke = h(null), qe = ze({
8012
8031
  createCalendar: ge,
8013
- locale: U,
8014
- maxValue: Ve,
8015
- minValue: Be,
8016
- visibleDuration: { months: L },
8032
+ locale: W,
8033
+ maxValue: Ue,
8034
+ minValue: He,
8035
+ visibleDuration: { months: z },
8017
8036
  onChange: (e) => {
8018
- z && e && He({
8019
- from: Oi(e.start, O ? de : void 0, J),
8020
- to: Oi(e.end, O ? pe : void 0, J)
8037
+ B && e && We({
8038
+ from: Oi(e.start, A ? pe : void 0, J),
8039
+ to: Oi(e.end, A ? he : void 0, J)
8021
8040
  });
8022
8041
  },
8023
- value: z ? (() => {
8024
- let e = G, t = Ci(e?.from, J), n = Ci(e?.to, J);
8042
+ value: B ? (() => {
8043
+ let e = q, t = Ci(e?.from, J), n = Ci(e?.to, J);
8025
8044
  return t && n ? {
8026
8045
  start: t,
8027
8046
  end: n
8028
8047
  } : null;
8029
8048
  })() : null
8030
- }), Ke = z ? Ge : Ue, { calendarProps: qe, nextButtonProps: Je, prevButtonProps: Ye } = Ae({}, Ue), { calendarProps: Xe, nextButtonProps: Ze, prevButtonProps: Qe } = Ie({}, Ge, We), $e = z ? Xe : qe, et = z ? Ze : Je, tt = z ? Qe : Ye, nt = (e) => new Intl.DateTimeFormat(U, {
8049
+ }), Je = B ? qe : Ge, { calendarProps: Ye, nextButtonProps: Xe, prevButtonProps: Ze } = Ae({}, Ge), { calendarProps: Qe, nextButtonProps: $e, prevButtonProps: et } = Ie({}, qe, Ke), tt = B ? Qe : Ye, nt = B ? $e : Xe, rt = B ? et : Ze, it = (e) => new Intl.DateTimeFormat(W, {
8031
8050
  month: "long",
8032
8051
  year: "numeric"
8033
- }).format(e.toDate(ye())), rt = z ? Array.from({ length: L }, (e, t) => t) : [0], it = rt.map((e) => nt(Ke.visibleRange.start.add({ months: e }))), at = h(null), ot = h(null), { buttonProps: st } = ke(tt, at), { buttonProps: ct } = ke(et, ot), lt = () => {
8034
- K(void 0), re(void 0), x?.(void 0), O && (fe(z ? ki : void 0), me(z ? Ai : void 0)), z ? Ge.setValue(null) : Ue.setValue(null);
8035
- }, ut = () => !z || !Ge.anchorDate ? !1 : (Ge.selectDate(Ge.anchorDate), !0), dt = () => {
8036
- ut(), Pe(!1);
8037
- }, ft = () => {
8052
+ }).format(e.toDate(ye())), at = B ? Array.from({ length: z }, (e, t) => t) : [0], ot = at.map((e) => it(Je.visibleRange.start.add({ months: e }))), st = h(null), ct = h(null), { buttonProps: lt } = ke(rt, st), { buttonProps: ut } = ke(nt, ct), dt = () => {
8053
+ te(void 0), ae(void 0), C?.(void 0), A && (me(B ? ki : void 0), _e(B ? Ai : void 0)), B ? qe.setValue(null) : Ge.setValue(null);
8054
+ }, ft = () => !B || !qe.anchorDate ? !1 : (qe.selectDate(qe.anchorDate), !0), pt = () => {
8055
+ ft(), Be(!1);
8056
+ }, mt = () => {
8038
8057
  let e = Te(J);
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));
8040
- }, pt = (e) => {
8058
+ Je.setFocusedDate(e), B ? (qe.setValue(null), te(void 0), ae(void 0), C?.(void 0)) : (Ge.setValue(e), We(Oi(e, A ? pe : void 0, J), void 0, !A));
8059
+ }, ht = (e) => {
8041
8060
  let t = Pi(e, {
8042
- locale: U,
8061
+ locale: W,
8043
8062
  timeZone: J
8044
8063
  }), n = e.hours !== void 0 || e.minutes !== void 0;
8045
- ae(D), O && n ? (fe(Di(t.from, J)), me(Di(t.to, J)), He(t, e.label)) : He(O ? {
8046
- from: Oi(Ci(t.from, J), de, J),
8047
- to: Oi(Ci(t.to, J), pe, J)
8064
+ oe(k), A && n ? (me(Di(t.from, J)), _e(Di(t.to, J)), We(t, e.label)) : We(A ? {
8065
+ from: Oi(Ci(t.from, J), pe, J),
8066
+ to: Oi(Ci(t.to, J), he, J)
8048
8067
  } : t, e.label);
8049
8068
  let r = Ci(t.from, J);
8050
- r && Ke.setFocusedDate(r), D || setTimeout(() => {
8051
- Pe(!1);
8069
+ r && Je.setFocusedDate(r), k || setTimeout(() => {
8070
+ Be(!1);
8052
8071
  }, 300);
8053
- }, mt = (e) => {
8054
- if (fe(e), z) {
8055
- let t = G;
8056
- t?.from && t?.to && He({
8072
+ }, gt = (e) => {
8073
+ if (B) {
8074
+ let t = q, n = e;
8075
+ return t?.from?.getTime() === n?.from?.getTime() && t?.to?.getTime() === n?.to?.getTime();
8076
+ }
8077
+ return q?.getTime() === e?.getTime();
8078
+ }, _t = (e) => {
8079
+ gt(e) || We(e);
8080
+ }, vt = (e) => {
8081
+ if (me(e), B) {
8082
+ let t = q;
8083
+ t?.from && t?.to && _t({
8057
8084
  from: Oi(Ci(t.from, J), e, J),
8058
8085
  to: t.to
8059
8086
  });
8060
8087
  } else {
8061
- let t = G;
8062
- t && He(Oi(Ci(t, J), e, J));
8088
+ let t = q;
8089
+ t && _t(Oi(Ci(t, J), e, J));
8063
8090
  }
8064
- }, ht = (e) => {
8065
- me(e);
8066
- let t = G;
8067
- t?.from && t?.to && He({
8091
+ }, yt = (e) => {
8092
+ _e(e);
8093
+ let t = q;
8094
+ t?.from && t?.to && _t({
8068
8095
  from: t.from,
8069
8096
  to: Oi(Ci(t.to, J), e, J)
8070
8097
  });
8071
- }, gt = h(I);
8098
+ }, bt = h(R);
8072
8099
  u(() => {
8073
- gt.current !== I && (gt.current = I, K(I));
8074
- }, [I]), u(() => {
8075
- if (O) if (z) {
8076
- let e = G;
8077
- fe(Di(e?.from, J) ?? ki), me(Di(e?.to, J) ?? Ai);
8078
- } else fe(Di(G, J));
8100
+ bt.current !== R && (bt.current = R, te(R));
8101
+ }, [R]), u(() => {
8102
+ if (A) if (B) {
8103
+ let e = q;
8104
+ me(Di(e?.from, J) ?? ki), _e(Di(e?.to, J) ?? Ai);
8105
+ } else me(Di(q, J));
8079
8106
  }, [
8080
- G,
8107
+ q,
8081
8108
  J,
8082
- z,
8083
- O
8109
+ B,
8110
+ A
8084
8111
  ]), u(() => {
8085
- n || ut();
8112
+ n || ft();
8086
8113
  }, [
8087
- z,
8114
+ B,
8088
8115
  n,
8089
- Ge.anchorDate
8116
+ qe.anchorDate
8090
8117
  ]), u(() => {
8091
- if (Me) {
8092
- let e = Ci(z ? G?.from : G, J);
8093
- Ke.setFocusedDate(e ?? Te(J)), ae(D);
8118
+ if (Pe) {
8119
+ let e = Ci(B ? q?.from : q, J);
8120
+ Je.setFocusedDate(e ?? Te(J)), oe(k);
8094
8121
  }
8095
- }, [Me]), u(() => {
8096
- ce.current && (ce.current.inert = !Y);
8097
- }, [Y]);
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, {
8122
+ }, [Pe]), u(() => {
8123
+ ue.current && (ue.current.inert = !se);
8124
+ }, [se]);
8125
+ let xt = E?.find((e) => e.label === ie), St = xt && (xt.showLabelInTrigger ?? (xt.hours !== void 0 || xt.minutes !== void 0)) ? xt.label : void 0, Ct = Mi(B ? [q?.from, q?.to] : [q], J), wt = (e) => A ? Ni(e, {
8099
8126
  hourCycle: s,
8100
- includeYear: yt,
8101
- localeString: U,
8127
+ includeYear: Ct,
8128
+ localeString: W,
8102
8129
  timeZone: J
8103
- }) : ji(e, p, J), xt = () => {
8104
- if (vt !== void 0) return vt;
8105
- if (z) {
8106
- let t = G;
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 || "";
8130
+ }) : ji(e, p, J), Tt = () => {
8131
+ if (St !== void 0) return St;
8132
+ if (B) {
8133
+ let t = q;
8134
+ return t?.from ? t.to ? /* @__PURE__ */ e.createElement(e.Fragment, null, wt(t.from), /* @__PURE__ */ e.createElement("span", { className: `${X}__separator` }, " – "), wt(t.to)) : wt(t.from) : T || "";
8108
8135
  } else {
8109
- let e = G;
8110
- return e ? bt(e) : C || "";
8136
+ let e = q;
8137
+ return e ? wt(e) : T || "";
8111
8138
  }
8112
- }, St = () => vt === void 0 ? z ? !G?.from : !G : !1, Ct = () => {
8113
- if (z) {
8114
- let e = G, t = Ge.anchorDate;
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 || "";
8139
+ }, Et = () => St === void 0 ? B ? !q?.from : !q : !1, Dt = () => {
8140
+ if (B) {
8141
+ let e = q, t = qe.anchorDate;
8142
+ return !e?.from && t ? `${V.selectedStartDate}${ji(wi(t, J), p, J)}${V.pleaseSelectEndDate}` : e?.from ? e.to ? `${V.selectedDateRange}${wt(e.from)}${V.to}${wt(e.to)}` : `${V.selectedStartDate}${wt(e.from)}${V.pleaseSelectEndDate}` : V.noDateRangeSelected || "";
8116
8143
  } else {
8117
- let e = G;
8118
- return e ? `${B.selectedDate}${bt(e)}` : B.noDateSelected || "";
8144
+ let e = q;
8145
+ return e ? `${V.selectedDate}${wt(e)}` : V.noDateSelected || "";
8119
8146
  }
8120
- }, wt = z ? G : void 0, Tt = /* @__PURE__ */ e.createElement("div", {
8121
- ...$e,
8122
- ref: z ? We : void 0,
8147
+ }, Ot = B ? q : void 0, kt = /* @__PURE__ */ e.createElement("div", {
8148
+ ...tt,
8149
+ ref: B ? Ke : void 0,
8123
8150
  className: `${X}__calendar`
8124
- }, /* @__PURE__ */ e.createElement("div", { className: `${X}__grids` }, rt.map((t, n) => /* @__PURE__ */ e.createElement("div", {
8151
+ }, /* @__PURE__ */ e.createElement("div", { className: `${X}__grids` }, at.map((t, n) => /* @__PURE__ */ e.createElement("div", {
8125
8152
  key: t,
8126
8153
  className: `${X}__month`
8127
8154
  }, /* @__PURE__ */ e.createElement("div", { className: `${X}__nav` }, n === 0 ? /* @__PURE__ */ e.createElement("button", {
8128
- ...st,
8129
- ref: at,
8130
- "aria-label": B.previousMonthLabel,
8155
+ ...lt,
8156
+ ref: st,
8157
+ "aria-label": V.previousMonthLabel,
8131
8158
  className: `${X}__nav-button`,
8132
8159
  type: "button"
8133
8160
  }, /* @__PURE__ */ e.createElement(Q, {
@@ -8139,10 +8166,10 @@ var Zr = {
8139
8166
  }, /* @__PURE__ */ e.createElement(Q, {
8140
8167
  iconName: "angleLeft",
8141
8168
  size: "m"
8142
- })), /* @__PURE__ */ e.createElement("div", { className: `${X}__nav-title` }, it[n]), n === rt.length - 1 ? /* @__PURE__ */ e.createElement("button", {
8143
- ...ct,
8144
- ref: ot,
8145
- "aria-label": B.nextMonthLabel,
8169
+ })), /* @__PURE__ */ e.createElement("div", { className: `${X}__nav-title` }, ot[n]), n === at.length - 1 ? /* @__PURE__ */ e.createElement("button", {
8170
+ ...ut,
8171
+ ref: ct,
8172
+ "aria-label": V.nextMonthLabel,
8146
8173
  className: `${X}__nav-button`,
8147
8174
  type: "button"
8148
8175
  }, /* @__PURE__ */ e.createElement(Q, {
@@ -8157,159 +8184,159 @@ var Zr = {
8157
8184
  }))), /* @__PURE__ */ e.createElement(Li, {
8158
8185
  baseClass: X,
8159
8186
  monthOffset: t,
8160
- state: Ke,
8187
+ state: Je,
8161
8188
  timeZone: J
8162
- })))), O && /* @__PURE__ */ e.createElement("div", { className: `${X}__time-section` }, z ? /* @__PURE__ */ e.createElement("div", { className: `${X}__time-fields` }, /* @__PURE__ */ e.createElement(Si, {
8163
- anchorDate: Ci(wt?.from, J),
8189
+ })))), A && /* @__PURE__ */ e.createElement("div", { className: `${X}__time-section` }, B ? /* @__PURE__ */ e.createElement("div", { className: `${X}__time-fields` }, /* @__PURE__ */ e.createElement(Si, {
8190
+ anchorDate: Ci(Ot?.from, J),
8164
8191
  hourCycle: s,
8165
8192
  id: `${c}-start-time`,
8166
- label: B.startTimeLabel || "",
8167
- onChange: mt,
8193
+ label: V.startTimeLabel || "",
8194
+ onChange: vt,
8168
8195
  size: "s",
8169
8196
  timeZone: J,
8170
- value: de
8197
+ value: pe
8171
8198
  }), /* @__PURE__ */ e.createElement(Si, {
8172
- anchorDate: Ci(wt?.to, J),
8199
+ anchorDate: Ci(Ot?.to, J),
8173
8200
  hourCycle: s,
8174
8201
  id: `${c}-end-time`,
8175
- label: B.endTimeLabel || "",
8176
- onChange: ht,
8202
+ label: V.endTimeLabel || "",
8203
+ onChange: yt,
8177
8204
  size: "s",
8178
8205
  timeZone: J,
8179
- value: pe
8180
- })) : G && /* @__PURE__ */ e.createElement("div", { className: `${X}__time-fields` }, /* @__PURE__ */ e.createElement(Si, {
8181
- anchorDate: Ci(G, J),
8206
+ value: he
8207
+ })) : q && /* @__PURE__ */ e.createElement("div", { className: `${X}__time-fields` }, /* @__PURE__ */ e.createElement(Si, {
8208
+ anchorDate: Ci(q, J),
8182
8209
  hourCycle: s,
8183
8210
  id: `${c}-time`,
8184
- label: B.timeLabel || "",
8185
- onChange: mt,
8211
+ label: V.timeLabel || "",
8212
+ onChange: vt,
8186
8213
  size: "s",
8187
8214
  timeZone: J,
8188
- value: de
8189
- })), k && !V && Ce), o && /* @__PURE__ */ e.createElement("div", { className: `${X}__footer-note` }, o), /* @__PURE__ */ e.createElement("div", { className: `${X}__actions` }, A && /* @__PURE__ */ e.createElement(kn, {
8215
+ value: pe
8216
+ })), j && !H && Ee), o && /* @__PURE__ */ e.createElement("div", { className: `${X}__footer-note` }, o), /* @__PURE__ */ e.createElement("div", { className: `${X}__actions` }, M && /* @__PURE__ */ e.createElement(kn, {
8190
8217
  className: `${X}__action-button ${X}__action-button--today`,
8191
- label: B.todayButton,
8192
- onClick: ft,
8218
+ label: V.todayButton,
8219
+ onClick: mt,
8193
8220
  size: "xs",
8194
8221
  type: "button",
8195
8222
  variant: "secondary"
8196
8223
  }), /* @__PURE__ */ e.createElement("div", { className: `${X}__actions-group` }, /* @__PURE__ */ e.createElement(kn, {
8197
8224
  className: `${X}__action-button ${X}__action-button--clear`,
8198
- label: B.clearButton,
8199
- onClick: lt,
8225
+ label: V.clearButton,
8226
+ onClick: dt,
8200
8227
  size: "xs",
8201
8228
  type: "button",
8202
8229
  variant: "secondary"
8203
- }), (z || O) && /* @__PURE__ */ e.createElement(kn, {
8230
+ }), (B || A) && /* @__PURE__ */ e.createElement(kn, {
8204
8231
  className: `${X}__action-button ${X}__action-button--done`,
8205
- label: B.doneButton,
8206
- onClick: dt,
8232
+ label: V.doneButton,
8233
+ onClick: pt,
8207
8234
  size: "xs",
8208
8235
  type: "button",
8209
8236
  variant: "highlight"
8210
8237
  }))));
8211
- return /* @__PURE__ */ e.createElement(De, { locale: U }, /* @__PURE__ */ e.createElement("div", {
8238
+ return /* @__PURE__ */ e.createElement(De, { locale: W }, /* @__PURE__ */ e.createElement("div", {
8212
8239
  className: Z([
8213
8240
  $.base,
8214
8241
  X,
8215
- _e,
8216
8242
  be,
8217
- ve,
8243
+ Se,
8218
8244
  xe,
8245
+ Ce,
8219
8246
  r ?? ""
8220
8247
  ]),
8221
- style: l ? he : null,
8222
- ...R
8248
+ style: l ? ve : null,
8249
+ ...ee
8223
8250
  }, /* @__PURE__ */ e.createElement(ln, {
8224
8251
  disabled: a,
8225
8252
  id: c,
8226
8253
  label: f,
8227
- required: T,
8228
- showLabel: E,
8229
- tooltipText: M
8254
+ required: D,
8255
+ showLabel: O,
8256
+ tooltipText: P
8230
8257
  }), /* @__PURE__ */ e.createElement("div", { className: `${X}__input-wrapper` }, /* @__PURE__ */ e.createElement("button", {
8231
- ref: Ne.setReference,
8232
- "aria-describedby": Se ? `${c}__message` : null,
8233
- "aria-expanded": Me,
8258
+ ref: Le.setReference,
8259
+ "aria-describedby": we ? `${c}__message` : null,
8260
+ "aria-expanded": Pe,
8234
8261
  "aria-haspopup": "dialog",
8235
- "aria-invalid": F === "error" ? !0 : null,
8236
- className: Z([`${X}__trigger`, Me ? `${X}__trigger--open` : null]),
8262
+ "aria-invalid": L === "error" ? !0 : null,
8263
+ className: Z([`${X}__trigger`, Pe ? `${X}__trigger--open` : null]),
8237
8264
  disabled: a,
8238
8265
  type: "button",
8239
- ...Oe()
8266
+ ...Me()
8240
8267
  }, /* @__PURE__ */ e.createElement(Q, {
8241
8268
  className: `${X}__trigger-icon`,
8242
8269
  iconName: "calendarDays"
8243
- }), /* @__PURE__ */ e.createElement("span", { className: Z([`${X}__trigger-text`, St() ? `${X}__trigger-text--placeholder` : null]) }, xt()))), Se && /* @__PURE__ */ e.createElement(un, {
8244
- hasValidationMessage: !!P,
8270
+ }), /* @__PURE__ */ e.createElement("span", { className: Z([`${X}__trigger-text`, Et() ? `${X}__trigger-text--placeholder` : null]) }, Tt()))), we && /* @__PURE__ */ e.createElement(un, {
8271
+ hasValidationMessage: !!I,
8245
8272
  id: c,
8246
- message: Se,
8247
- validationStatus: F
8248
- }), je && /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
8249
- ref: Ne.setFloating,
8273
+ message: we,
8274
+ validationStatus: L
8275
+ }), Ne && /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
8276
+ ref: Le.setFloating,
8250
8277
  className: `${X}__popover`,
8251
8278
  style: {
8252
- ...we,
8253
- zIndex: Le
8279
+ ...Oe,
8280
+ zIndex: Ve
8254
8281
  },
8255
- ...Ee()
8256
- }, V && /* @__PURE__ */ e.createElement("div", { className: Z([`${X}__presets`, Y ? null : `${X}__presets--collapsed`]) }, /* @__PURE__ */ e.createElement("div", {
8257
- "aria-label": B.presetsGroupLabel,
8282
+ ...je()
8283
+ }, H && /* @__PURE__ */ e.createElement("div", { className: Z([`${X}__presets`, se ? null : `${X}__presets--collapsed`]) }, /* @__PURE__ */ e.createElement("div", {
8284
+ "aria-label": V.presetsGroupLabel,
8258
8285
  className: `${X}__preset-list`,
8259
8286
  role: "group"
8260
- }, w?.map((t) => /* @__PURE__ */ e.createElement("button", {
8287
+ }, E?.map((t) => /* @__PURE__ */ e.createElement("button", {
8261
8288
  key: t.label,
8262
- "aria-pressed": ne === t.label,
8263
- className: Z([`${X}__preset-item`, ne === t.label ? `${X}__preset-item--active` : null]),
8264
- onClick: () => pt(t),
8289
+ "aria-pressed": ie === t.label,
8290
+ className: Z([`${X}__preset-item`, ie === t.label ? `${X}__preset-item--active` : null]),
8291
+ onClick: () => ht(t),
8265
8292
  type: "button"
8266
8293
  }, t.label)), t && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", {
8267
8294
  "aria-hidden": "true",
8268
8295
  className: `${X}__preset-divider`
8269
8296
  }), /* @__PURE__ */ e.createElement("button", {
8270
- "aria-pressed": le,
8271
- className: Z([`${X}__preset-item`, le ? `${X}__preset-item--active` : null]),
8297
+ "aria-pressed": de,
8298
+ className: Z([`${X}__preset-item`, de ? `${X}__preset-item--active` : null]),
8272
8299
  onClick: () => {
8273
- re(void 0), ae(!0);
8300
+ ae(void 0), oe(!0);
8274
8301
  },
8275
8302
  type: "button"
8276
- }, B.customPresetLabel, !D && /* @__PURE__ */ e.createElement(Q, {
8303
+ }, V.customPresetLabel, !k && /* @__PURE__ */ e.createElement(Q, {
8277
8304
  iconName: "angleRight",
8278
8305
  size: "xs"
8279
- })))), O && k && Ce), /* @__PURE__ */ e.createElement("div", {
8306
+ })))), A && j && Ee), /* @__PURE__ */ e.createElement("div", {
8280
8307
  "aria-atomic": "true",
8281
8308
  "aria-live": "polite",
8282
8309
  className: "visually-hidden"
8283
- }, Ct()), V ? oe && /* @__PURE__ */ e.createElement("div", {
8284
- ref: ce,
8310
+ }, Dt()), H ? ce && /* @__PURE__ */ e.createElement("div", {
8311
+ ref: ue,
8285
8312
  className: `${X}__calendar-wrapper`,
8286
- style: { flexBasis: Y ? se : 0 }
8313
+ style: { flexBasis: se ? le : 0 }
8287
8314
  }, /* @__PURE__ */ e.createElement("div", {
8288
8315
  className: `${X}__calendar-wrapper-inner`,
8289
- style: { width: se }
8290
- }, Tt)) : Tt))));
8316
+ style: { width: le }
8317
+ }, kt)) : kt))));
8291
8318
  }, zi = o(({ accept: t, className: n, defaultValue: r, disabled: i = !1, fieldLabel: a, id: o, inputProps: s, inputWidth: c, inputWidthMin: l, labelStrings: d = {
8292
8319
  chooseFile: "Choose file",
8293
8320
  clearButton: "Clear selected file"
8294
8321
  }, 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) => {
8295
8322
  let [E, D] = g(!1), [O, k] = g(!!(Ve && r)), A = on(c, l), j = "pds-file-upload", M = b === "s" ? null : `${j}--${b}`, N = i ? $.disabled : null, P = _ && !i ? $.required : null, F = C === "error" ? $.error : null, I = C === "success" ? $.success : null, L = O ? `${j}--safari-default` : null, R = null;
8296
8323
  C === "error" && (R = "error"), C === "success" && (R = "success");
8297
- let z = S || f, B = r ? [r] : null, V = r ? r.split("/").pop() : null, H = v ? r : V, U = r ? new File(B, H) : null;
8324
+ let z = S || f, ee = r ? [r] : null, B = r ? r.split("/").pop() : null, V = v ? r : B, H = r ? new File(ee, V) : null;
8298
8325
  u(() => {
8299
8326
  let e = new DataTransfer();
8300
- if (U && e.items.add(U), e.files.length > 0) {
8327
+ if (H && e.items.add(H), e.files.length > 0) {
8301
8328
  let t = document.getElementById(`${o}--input`);
8302
- t.files = e.files, Ve && (t.dataset.file = `${H}`), D(!0);
8329
+ t.files = e.files, Ve && (t.dataset.file = `${V}`), D(!0);
8303
8330
  }
8304
8331
  }, [r, v]);
8305
- let ee = () => {
8332
+ let U = () => {
8306
8333
  let e = document.getElementById(`${o}--input`);
8307
8334
  if (!e || !r) return;
8308
8335
  let t = new DataTransfer();
8309
- t.items.add(U), e.files = t.files, D(!0);
8336
+ t.items.add(H), e.files = t.files, D(!0);
8310
8337
  }, W = (e) => {
8311
8338
  if (e.target.files.length === 0) {
8312
- r ? ee() : D(!1);
8339
+ r ? U() : D(!1);
8313
8340
  return;
8314
8341
  }
8315
8342
  Ve && r && (r === e.target.value ? k(!0) : k(!1)), h && h(e.target.files), D(!0);
@@ -8568,22 +8595,22 @@ var Zr = {
8568
8595
  tagRemove: "Remove {value}",
8569
8596
  tagsListLabel: "Current tags"
8570
8597
  }, validationMessage: x, validationStatus: S, ...C }, w) => {
8571
- let T = on(o, s), E = "pds-tags-input", D = _ === "s" ? null : `${E}--${_}`, O = r ? $.disabled : null, k = p && !r ? $.required : null, A = S === "error" ? $.error : null, j = S === "success" ? $.success : null, M = x || u, [N, P] = g(""), [F, I] = g(null), [L, R] = g(null), [z, B] = g(null), [V, H] = g(null), [U, ee] = g(""), W = h(null), G = v.length > 0 ? t : f, K = (e) => {
8572
- ee(e), setTimeout(() => ee(""), 1e3);
8598
+ let T = on(o, s), E = "pds-tags-input", D = _ === "s" ? null : `${E}--${_}`, O = r ? $.disabled : null, k = p && !r ? $.required : null, A = S === "error" ? $.error : null, j = S === "success" ? $.success : null, M = x || u, [N, P] = g(""), [F, I] = g(null), [L, R] = g(null), [z, ee] = g(null), [B, V] = g(null), [H, U] = g(""), W = h(null), G = v.length > 0 ? t : f, K = (e) => {
8599
+ U(e), setTimeout(() => U(""), 1e3);
8573
8600
  }, q = (e) => {
8574
8601
  d(e);
8575
8602
  }, te = (e) => {
8576
8603
  I(e);
8577
- }, J = () => {
8578
- I(null), R(null), B(null);
8579
- }, ne = (e, t) => {
8580
- F === null || F === e || (R(e), B(t));
8581
- }, re = (e) => {
8604
+ }, ne = () => {
8605
+ I(null), R(null), ee(null);
8606
+ }, re = (e, t) => {
8607
+ F === null || F === e || (R(e), ee(t));
8608
+ }, J = (e) => {
8582
8609
  if (e.preventDefault(), F === null || L === null || z === null) return;
8583
8610
  let t = v.findIndex((e) => e.id === F), n = v.findIndex((e) => e.id === L);
8584
8611
  if (t === -1 || n === -1) return;
8585
8612
  let r = [...v], [i] = r.splice(t, 1), a = n;
8586
- a = z === "after" ? t < n ? n : n + 1 : n, r.splice(a, 0, i), q(r), K("Tag reordered"), I(null), R(null), B(null);
8613
+ a = z === "after" ? t < n ? n : n + 1 : n, r.splice(a, 0, i), q(r), K("Tag reordered"), I(null), R(null), ee(null);
8587
8614
  }, ie = (e, t) => {
8588
8615
  let n = [...v], [r] = n.splice(e, 1);
8589
8616
  n.splice(t, 0, r), K(`${r.value} moved to position ${t + 1} of ${v.length}`), q(n);
@@ -8591,7 +8618,7 @@ var Zr = {
8591
8618
  let t = v.find((t) => t.id === e);
8592
8619
  q(v.filter((t) => t.id !== e)), t && K(`${t.value} removed`);
8593
8620
  }, Y = () => {
8594
- H(null), setTimeout(() => {
8621
+ V(null), setTimeout(() => {
8595
8622
  W.current?.focus();
8596
8623
  }, 0);
8597
8624
  }, oe = (e) => {
@@ -8605,7 +8632,7 @@ var Zr = {
8605
8632
  } else if (e.key === "Backspace" && !N && v.length > 0) {
8606
8633
  let e = v[v.length - 1];
8607
8634
  q(v.slice(0, -1)), K(`${e.value} removed`);
8608
- } else e.key === "ArrowLeft" && !N && v.length > 0 && (e.preventDefault(), H(v.length - 1));
8635
+ } else e.key === "ArrowLeft" && !N && v.length > 0 && (e.preventDefault(), V(v.length - 1));
8609
8636
  };
8610
8637
  return /* @__PURE__ */ e.createElement("div", {
8611
8638
  className: Z([
@@ -8631,7 +8658,7 @@ var Zr = {
8631
8658
  "aria-atomic": "true",
8632
8659
  "aria-live": "polite",
8633
8660
  className: "visually-hidden"
8634
- }, U), /* @__PURE__ */ e.createElement("div", {
8661
+ }, H), /* @__PURE__ */ e.createElement("div", {
8635
8662
  "aria-labelledby": `${i}-label`,
8636
8663
  className: `${E}__input-wrapper`,
8637
8664
  role: "group",
@@ -8640,7 +8667,7 @@ var Zr = {
8640
8667
  "aria-label": b.tagsListLabel,
8641
8668
  className: `${E}__tags`,
8642
8669
  onDragOver: c ? (e) => e.preventDefault() : void 0,
8643
- onDrop: c ? re : void 0,
8670
+ onDrop: c ? J : void 0,
8644
8671
  role: "list"
8645
8672
  }, v.map((t, n) => {
8646
8673
  let i = null;
@@ -8650,17 +8677,17 @@ var Zr = {
8650
8677
  }, /* @__PURE__ */ e.createElement(Ui, {
8651
8678
  disabled: r,
8652
8679
  dropTargetDirection: i,
8653
- focusedIndex: V,
8680
+ focusedIndex: B,
8654
8681
  index: n,
8655
8682
  isDragging: F === t.id,
8656
8683
  isSortable: c,
8657
- onDragEnd: J,
8658
- onDragOver: ne,
8684
+ onDragEnd: ne,
8685
+ onDragOver: re,
8659
8686
  onDragStart: te,
8660
8687
  onFocusInput: Y,
8661
8688
  onKeyboardMove: ie,
8662
8689
  onRemove: ae,
8663
- setFocusedIndex: H,
8690
+ setFocusedIndex: V,
8664
8691
  tag: t,
8665
8692
  totalTags: v.length,
8666
8693
  translationStrings: b
@@ -8699,9 +8726,9 @@ var Zr = {
8699
8726
  visibilityToggleHide: "Hide input value",
8700
8727
  visibilityToggleShow: "Show input value"
8701
8728
  }, validationMessage: w, validationStatus: T, value: E, ...D }, O) => {
8702
- let k = on(o, s), A = "pds-textarea", j = c ? "pds-is-resizable" : null, M = i ? $.disabled : null, N = _ && !i ? $.required : null, P = T === "error" ? $.error : null, F = T === "success" ? $.success : null, I = b === "s" ? null : `${A}--${b}`, L = h ? $.readonly : null, R = w || u, z = E != null && f !== void 0, [B, V] = g(r === void 0 ? "" : r), H = E || B, U = (e) => {
8703
- z || V(e.target.value), f && f(e);
8704
- }, ee = (e) => {
8729
+ let k = on(o, s), A = "pds-textarea", j = c ? "pds-is-resizable" : null, M = i ? $.disabled : null, N = _ && !i ? $.required : null, P = T === "error" ? $.error : null, F = T === "success" ? $.success : null, I = b === "s" ? null : `${A}--${b}`, L = h ? $.readonly : null, R = w || u, z = E != null && f !== void 0, [ee, B] = g(r === void 0 ? "" : r), V = E || ee, H = (e) => {
8730
+ z || B(e.target.value), f && f(e);
8731
+ }, U = (e) => {
8705
8732
  d && d(e);
8706
8733
  }, W = (e) => {
8707
8734
  h && e.preventDefault();
@@ -8729,7 +8756,7 @@ var Zr = {
8729
8756
  showLabel: y,
8730
8757
  tooltipText: S
8731
8758
  }), n && /* @__PURE__ */ e.createElement(hn, {
8732
- currentLength: H.length,
8759
+ currentLength: V.length,
8733
8760
  id: a,
8734
8761
  maxLength: n,
8735
8762
  overLimitMessage: C.counterOverLimit
@@ -8741,15 +8768,15 @@ var Zr = {
8741
8768
  disabled: i,
8742
8769
  id: a,
8743
8770
  name: a,
8744
- onBlur: ee,
8745
- onChange: U,
8771
+ onBlur: U,
8772
+ onChange: H,
8746
8773
  onFocus: p,
8747
8774
  onMouseDown: W,
8748
8775
  placeholder: m,
8749
8776
  readOnly: h,
8750
8777
  required: _,
8751
8778
  rows: v,
8752
- value: z ? E : B,
8779
+ value: z ? E : ee,
8753
8780
  ...x
8754
8781
  })), R && /* @__PURE__ */ e.createElement(un, {
8755
8782
  validationMessageHasDecorators: !0,
@@ -8766,11 +8793,11 @@ var Zr = {
8766
8793
  visibilityToggleHide: "Hide input value",
8767
8794
  visibilityToggleShow: "Show input value"
8768
8795
  }, type: k = "text", validationMessage: A, validationStatus: j, value: M, ...N }, P) => {
8769
- let F = on(d, f), I = "pds-text-input", L = a ? $.disabled : null, R = S && !a ? $.required : null, z = j === "error" ? $.error : null, B = j === "success" ? $.success : null, V = x ? $.readonly : null, H = E === "s" ? null : `${I}--${E}`, U = c && k === "url" ? `${I}--has-url-prefix` : null, ee = null;
8770
- k === "search" && (ee = "search"), k === "search" && C === "filter" && (ee = "filter"), j === "error" && (ee = "error"), j === "success" && (ee = "success");
8771
- let W = A || m, G = M !== void 0, [K, q] = g(i === void 0 ? "" : i), te = M || K, J = s && k === "search" && !te, ne = (e) => {
8796
+ let F = on(d, f), I = "pds-text-input", L = a ? $.disabled : null, R = S && !a ? $.required : null, z = j === "error" ? $.error : null, ee = j === "success" ? $.success : null, B = x ? $.readonly : null, V = E === "s" ? null : `${I}--${E}`, H = c && k === "url" ? `${I}--has-url-prefix` : null, U = null;
8797
+ k === "search" && (U = "search"), k === "search" && C === "filter" && (U = "filter"), j === "error" && (U = "error"), j === "success" && (U = "success");
8798
+ let W = A || m, G = M !== void 0, [K, q] = g(i === void 0 ? "" : i), te = M || K, ne = s && k === "search" && !te, re = (e) => {
8772
8799
  x && e.preventDefault();
8773
- }, re = (e) => {
8800
+ }, J = (e) => {
8774
8801
  if (T && Y && oe(!1), c && k === "url") {
8775
8802
  let t = sn(e.target.value), n = {
8776
8803
  ...e,
@@ -8805,13 +8832,13 @@ var Zr = {
8805
8832
  className: Z([
8806
8833
  $.base,
8807
8834
  I,
8808
- H,
8835
+ V,
8809
8836
  L,
8810
8837
  R,
8811
8838
  z,
8839
+ ee,
8812
8840
  B,
8813
- V,
8814
- U,
8841
+ H,
8815
8842
  n ?? ""
8816
8843
  ]),
8817
8844
  style: d ? F : null,
@@ -8829,8 +8856,8 @@ var Zr = {
8829
8856
  }, `${O.visibilityStatus} ${Y ? "visible" : "hidden"}.`), /* @__PURE__ */ e.createElement("div", { className: Z([
8830
8857
  `${I}__input-wrapper`,
8831
8858
  c && k === "url" ? `${I}__input-wrapper--has-prefix` : null,
8832
- J ? `${I}__input-wrapper--has-search-shortcut` : null
8833
- ]) }, ee && /* @__PURE__ */ e.createElement(fn, { variant: ee }), c && k === "url" && /* @__PURE__ */ e.createElement(Ki, null), /* @__PURE__ */ e.createElement("input", {
8859
+ ne ? `${I}__input-wrapper--has-search-shortcut` : null
8860
+ ]) }, U && /* @__PURE__ */ e.createElement(fn, { variant: U }), c && k === "url" && /* @__PURE__ */ e.createElement(Ki, null), /* @__PURE__ */ e.createElement("input", {
8834
8861
  ref: P,
8835
8862
  "aria-describedby": W ? `${l}__message` : null,
8836
8863
  "aria-invalid": j === "error" ? !0 : null,
@@ -8839,10 +8866,10 @@ var Zr = {
8839
8866
  disabled: a,
8840
8867
  id: l,
8841
8868
  name: l,
8842
- onBlur: re,
8869
+ onBlur: J,
8843
8870
  onChange: ie,
8844
8871
  onFocus: y,
8845
- onMouseDown: ne,
8872
+ onMouseDown: re,
8846
8873
  placeholder: b,
8847
8874
  readOnly: x,
8848
8875
  required: S,
@@ -8863,7 +8890,7 @@ var Zr = {
8863
8890
  }, /* @__PURE__ */ e.createElement(Q, {
8864
8891
  iconName: Y ? "eyeSlash" : "eye",
8865
8892
  size: "m"
8866
- })), J && /* @__PURE__ */ e.createElement(pn, {
8893
+ })), ne && /* @__PURE__ */ e.createElement(pn, {
8867
8894
  inputId: l,
8868
8895
  shortcutLabel: O.searchShortcut
8869
8896
  }), r && k !== "password" && /* @__PURE__ */ e.createElement(hn, {
@@ -9450,7 +9477,7 @@ var Zr = {
9450
9477
  return n(), window.addEventListener("resize", n), () => {
9451
9478
  window.removeEventListener("resize", n);
9452
9479
  };
9453
- }, []), n;
9480
+ }, [e]), n;
9454
9481
  }, ya = ({ icon: t, isActive: n, isExpanded: r, isSidebarCollapsed: i, labels: a, linkContent: o, links: s, onExpandSidebar: c, onToggleExpand: l }) => {
9455
9482
  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([
9456
9483
  p,
@@ -9468,7 +9495,7 @@ var Zr = {
9468
9495
  ]),
9469
9496
  role: i ? "menuitem" : void 0,
9470
9497
  tabIndex: i ? b === r ? 0 : -1 : void 0,
9471
- ...i ? V({ onKeyDown: (e) => G(e, r) }) : null
9498
+ ...i ? B({ onKeyDown: (e) => G(e, r) }) : null
9472
9499
  }, t.linkContent))), [v, y] = g(!1), [b, x] = g(null), C = h([]), w = h(v), A = h(!1), { context: j, floatingStyles: P, refs: F } = N({
9473
9500
  placement: "right-start",
9474
9501
  open: v,
@@ -9495,7 +9522,7 @@ var Zr = {
9495
9522
  i,
9496
9523
  F.reference
9497
9524
  ]);
9498
- let { getFloatingProps: R, getItemProps: V, getReferenceProps: U } = z([
9525
+ let { getFloatingProps: R, getItemProps: B, getReferenceProps: H } = z([
9499
9526
  L(j, {
9500
9527
  move: !1,
9501
9528
  delay: {
@@ -9505,8 +9532,8 @@ var Zr = {
9505
9532
  handleClose: O()
9506
9533
  }),
9507
9534
  M(j),
9508
- H(j, { role: "menu" }),
9509
- B(j, {
9535
+ V(j, { role: "menu" }),
9536
+ ee(j, {
9510
9537
  listRef: C,
9511
9538
  activeIndex: b,
9512
9539
  onNavigate: x,
@@ -9514,7 +9541,7 @@ var Zr = {
9514
9541
  openOnArrowKeyDown: !0,
9515
9542
  focusItemOnOpen: !1
9516
9543
  })
9517
- ]), ee = (e) => {
9544
+ ]), U = (e) => {
9518
9545
  i && s && (e.key === "ArrowRight" || e.key === " " || e.key === "Spacebar") && (e.preventDefault(), y(!0));
9519
9546
  }, W = (e) => {
9520
9547
  (C.current[e]?.querySelector("a"))?.click(), y(!1);
@@ -9543,9 +9570,9 @@ var Zr = {
9543
9570
  i ? `${f}--collapsed` : null,
9544
9571
  n ? `${f}--active` : null
9545
9572
  ]),
9546
- ...U({
9573
+ ...H({
9547
9574
  onClick: q,
9548
- onKeyDown: ee
9575
+ onKeyDown: U
9549
9576
  })
9550
9577
  }, s ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, da(d, o, s, t), !i && /* @__PURE__ */ e.createElement("button", {
9551
9578
  "aria-expanded": r,
@@ -10077,11 +10104,11 @@ var Zr = {
10077
10104
  ],
10078
10105
  whileElementsMounted: T,
10079
10106
  strategy: "fixed"
10080
- }), R = j(F, { event: "mousedown" }), V = M(F), ee = H(F, { role: "menu" }), W = h([]), { getFloatingProps: G, getItemProps: K, getReferenceProps: q } = z([
10081
- V,
10082
- ee,
10107
+ }), R = j(F, { event: "mousedown" }), B = M(F), U = V(F, { role: "menu" }), W = h([]), { getFloatingProps: G, getItemProps: K, getReferenceProps: q } = z([
10108
+ B,
10109
+ U,
10083
10110
  R,
10084
- B(F, {
10111
+ ee(F, {
10085
10112
  listRef: W,
10086
10113
  activeIndex: m,
10087
10114
  onNavigate: _,
@@ -10090,7 +10117,7 @@ var Zr = {
10090
10117
  focusItemOnOpen: !1,
10091
10118
  focusItemOnHover: !0
10092
10119
  })
10093
- ]), { isMounted: te, styles: J } = U(F, {
10120
+ ]), { isMounted: te, styles: ne } = H(F, {
10094
10121
  duration: {
10095
10122
  open: 300,
10096
10123
  close: 150
@@ -10098,7 +10125,7 @@ var Zr = {
10098
10125
  initial: { opacity: 0 },
10099
10126
  open: { opacity: 1 },
10100
10127
  close: { opacity: 0 }
10101
- }), ne = Bn("var(--pds-z-index-dropdown)"), re = /* @__PURE__ */ e.createElement(li, {
10128
+ }), re = Bn("var(--pds-z-index-dropdown)"), J = /* @__PURE__ */ e.createElement(li, {
10102
10129
  hasUserFallback: !0,
10103
10130
  className: `${A}__avatar`,
10104
10131
  imageSrc: u,
@@ -10164,7 +10191,7 @@ var Zr = {
10164
10191
  iconName: t.iconName,
10165
10192
  size: "m"
10166
10193
  }));
10167
- }), ue = /* @__PURE__ */ e.createElement("span", { className: `${A}__toggle-left` }, re, f ?? l);
10194
+ }), ue = /* @__PURE__ */ e.createElement("span", { className: `${A}__toggle-left` }, J, f ?? l);
10168
10195
  return /* @__PURE__ */ e.createElement("span", {
10169
10196
  className: Z([A, n ?? ""]),
10170
10197
  ...p
@@ -10177,15 +10204,15 @@ var Zr = {
10177
10204
  className: `${A}__trigger`,
10178
10205
  type: "button",
10179
10206
  ...q()
10180
- }, re), te && /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
10207
+ }, J), te && /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
10181
10208
  ref: L.setFloating,
10182
10209
  className: `${A}__dropdown`,
10183
10210
  style: {
10184
10211
  ...I,
10185
- zIndex: ne
10212
+ zIndex: re
10186
10213
  },
10187
10214
  ...G()
10188
- }, /* @__PURE__ */ e.createElement("div", { style: { ...J } }, /* @__PURE__ */ e.createElement("ul", {
10215
+ }, /* @__PURE__ */ e.createElement("div", { style: { ...ne } }, /* @__PURE__ */ e.createElement("ul", {
10189
10216
  className: P,
10190
10217
  role: "menu"
10191
10218
  }, ie, /* @__PURE__ */ e.createElement("li", { role: "separator" }), ae, ce))))));
@@ -10209,9 +10236,9 @@ var Zr = {
10209
10236
  role: "menu"
10210
10237
  }), R = Bn("var(--pds-z-index-dropdown)"), z = u.find((e) => e.isActive);
10211
10238
  z || (z = u[0]);
10212
- let B = h(null);
10239
+ let ee = h(null);
10213
10240
  p(() => {
10214
- let e = B.current, t = e?.parentElement;
10241
+ let e = ee.current, t = e?.parentElement;
10215
10242
  if (!e || !t) return;
10216
10243
  let n = () => {
10217
10244
  t.style.width = "";
@@ -10222,17 +10249,17 @@ var Zr = {
10222
10249
  };
10223
10250
  n(), document.fonts?.ready.then(n);
10224
10251
  }, [z?.displayName]);
10225
- let V = m(() => {
10252
+ let B = m(() => {
10226
10253
  if (!f) return u;
10227
10254
  let e = f.toLowerCase();
10228
10255
  return u.filter((t) => t.displayName?.toLowerCase().includes(e));
10229
- }, [u, f]), H = m(() => {
10256
+ }, [u, f]), V = m(() => {
10230
10257
  if (!v) return u;
10231
10258
  let e = v.toLowerCase();
10232
10259
  return u.filter((t) => t.displayName?.toLowerCase().includes(e));
10233
- }, [u, v]), U = (e) => {
10260
+ }, [u, v]), H = (e) => {
10234
10261
  e.preventDefault(), e.key === "Enter" && (P.current[O]?.querySelector("a") || P.current[O]?.querySelector("button"))?.click(), e.key === "Tab" && (e.shiftKey ? x ? document.getElementById("workspace-filter")?.focus() : I(!1) : r ? b.current?.querySelector("a")?.focus() : I(!1));
10235
- }, ee = V.map((t, n) => {
10262
+ }, U = B.map((t, n) => {
10236
10263
  let r = `${T}__item`, i = t.workspaceId, a = t.isRestricted && t.onRestrictedSelection, o = t.workspaceLink?.type, s = t.isUnprivileged ? null : (e) => {
10237
10264
  P.current[n] = e;
10238
10265
  };
@@ -10248,7 +10275,7 @@ var Zr = {
10248
10275
  t.isRestricted ? `${r}--restricted` : null
10249
10276
  ]),
10250
10277
  id: i,
10251
- onKeyDown: U,
10278
+ onKeyDown: H,
10252
10279
  role: "menuitem",
10253
10280
  tabIndex: O === n ? 0 : -1,
10254
10281
  ...j()
@@ -10258,7 +10285,7 @@ var Zr = {
10258
10285
  },
10259
10286
  type: "button"
10260
10287
  }, /* @__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);
10261
- }), W = H.map((t) => {
10288
+ }), W = V.map((t) => {
10262
10289
  let n = `${T}__item`, r = t.workspaceId, i = t.isRestricted && t.onRestrictedSelection, a = t.workspaceLink?.type;
10263
10290
  return /* @__PURE__ */ e.createElement("li", {
10264
10291
  key: `${r}-accordion`,
@@ -10328,7 +10355,7 @@ var Zr = {
10328
10355
  className: `${T}__trigger`,
10329
10356
  type: "button",
10330
10357
  ...M()
10331
- }, K(B), /* @__PURE__ */ e.createElement(Q, {
10358
+ }, K(ee), /* @__PURE__ */ e.createElement(Q, {
10332
10359
  className: `${T}__trigger-icon`,
10333
10360
  iconName: "angleDown",
10334
10361
  size: "m"
@@ -10356,7 +10383,7 @@ var Zr = {
10356
10383
  }, /* @__PURE__ */ e.createElement("li", {
10357
10384
  className: `pds-dropdown__heading ${T}__item-heading`,
10358
10385
  role: "presentation"
10359
- }, s), ee.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: "pds-dropdown__no-results" }, l) : ee), G))));
10386
+ }, s), U.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: "pds-dropdown__no-results" }, l) : U), G))));
10360
10387
  }, Ma = {
10361
10388
  info: "circleInfo",
10362
10389
  warning: "triangleExclamation",
@@ -10665,9 +10692,9 @@ var Zr = {
10665
10692
  }, [T]);
10666
10693
  let z = c(() => {
10667
10694
  O(!1);
10668
- }, []), B = c(() => {
10695
+ }, []), ee = c(() => {
10669
10696
  D || E(!1);
10670
- }, [D]), V = c(() => {
10697
+ }, [D]), B = c(() => {
10671
10698
  a || z();
10672
10699
  }, [a, z]);
10673
10700
  u(() => {
@@ -10677,18 +10704,18 @@ var Zr = {
10677
10704
  };
10678
10705
  return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
10679
10706
  }, [T, z]);
10680
- let H = c(() => {
10707
+ let V = c(() => {
10681
10708
  if (I.current) {
10682
10709
  I.current = !1;
10683
10710
  return;
10684
10711
  }
10685
10712
  z();
10686
- }, [z]), U = c((e) => {
10713
+ }, [z]), H = c((e) => {
10687
10714
  F.current = {
10688
10715
  startY: e.clientY,
10689
10716
  startHeight: N.current?.getBoundingClientRect().height ?? 0
10690
10717
  }, M(!0), P.current?.setPointerCapture(e.pointerId);
10691
- }, []), ee = c((e) => {
10718
+ }, []), U = c((e) => {
10692
10719
  let t = F.current, n = N.current;
10693
10720
  if (!t || !n) return;
10694
10721
  let r = e.clientY - t.startY, i = C ? window.innerHeight * .96 : t.startHeight;
@@ -10711,7 +10738,7 @@ var Zr = {
10711
10738
  }
10712
10739
  }, /* @__PURE__ */ e.createElement("div", { className: `${x}__wrapper` }, /* @__PURE__ */ e.createElement("div", {
10713
10740
  className: Z([`${x}__scrim`, D ? `${x}__scrim--visible` : null]),
10714
- onClick: V
10741
+ onClick: B
10715
10742
  }), /* @__PURE__ */ e.createElement("div", {
10716
10743
  ref: N,
10717
10744
  "aria-label": t || (typeof m == "string" ? m : void 0),
@@ -10722,7 +10749,7 @@ var Zr = {
10722
10749
  j ? `${x}--dragging` : null,
10723
10750
  r
10724
10751
  ]),
10725
- onTransitionEnd: B,
10752
+ onTransitionEnd: ee,
10726
10753
  role: "dialog",
10727
10754
  style: w,
10728
10755
  ..._
@@ -10730,9 +10757,9 @@ var Zr = {
10730
10757
  ref: P,
10731
10758
  "aria-label": f,
10732
10759
  className: `${x}__grabber`,
10733
- onClick: H,
10734
- onPointerDown: U,
10735
- onPointerMove: ee,
10760
+ onClick: V,
10761
+ onPointerDown: H,
10762
+ onPointerMove: U,
10736
10763
  onPointerUp: W,
10737
10764
  type: "button"
10738
10765
  }), /* @__PURE__ */ e.createElement("span", {
@@ -10840,7 +10867,7 @@ var Zr = {
10840
10867
  e || l();
10841
10868
  },
10842
10869
  open: c
10843
- }), { getFloatingProps: v } = z([M(g, { outsidePressEvent: "mousedown" }), H(g, { role: "dialog" })]), { isMounted: b, styles: C } = U(g, {
10870
+ }), { getFloatingProps: v } = z([M(g, { outsidePressEvent: "mousedown" }), V(g, { role: "dialog" })]), { isMounted: b, styles: C } = H(g, {
10844
10871
  duration: {
10845
10872
  close: 200,
10846
10873
  open: 250
@@ -10913,11 +10940,11 @@ var Zr = {
10913
10940
  let { context: O, floatingStyles: k, refs: A } = N({
10914
10941
  open: w,
10915
10942
  onOpenChange: T
10916
- }), { getFloatingProps: P } = z([
10917
- j(O),
10918
- o ? void 0 : M(O, { outsidePressEvent: "mousedown" }),
10919
- H(O)
10920
- ]), { isMounted: F, styles: I } = U(O, {
10943
+ }), P = j(O), F = M(O, { outsidePressEvent: "mousedown" }), { getFloatingProps: I } = z([
10944
+ P,
10945
+ o ? void 0 : F,
10946
+ V(O)
10947
+ ]), { isMounted: L, styles: R } = H(O, {
10921
10948
  duration: {
10922
10949
  open: 300,
10923
10950
  close: 300
@@ -10935,7 +10962,7 @@ var Zr = {
10935
10962
  transform: "translateY(1rem)"
10936
10963
  }
10937
10964
  });
10938
- return F ? /* @__PURE__ */ e.createElement(Rn.Provider, { value: !0 }, /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement(x, {
10965
+ return L ? /* @__PURE__ */ e.createElement(Rn.Provider, { value: !0 }, /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement(x, {
10939
10966
  lockScroll: !0,
10940
10967
  style: {
10941
10968
  ...k,
@@ -10947,7 +10974,7 @@ var Zr = {
10947
10974
  }, /* @__PURE__ */ e.createElement(y, { context: O }, /* @__PURE__ */ e.createElement("div", {
10948
10975
  ref: A.setFloating,
10949
10976
  "aria-label": t || f,
10950
- ...P(),
10977
+ ...I(),
10951
10978
  className: Z([
10952
10979
  v,
10953
10980
  b,
@@ -10955,7 +10982,7 @@ var Zr = {
10955
10982
  ]),
10956
10983
  style: {
10957
10984
  ...k,
10958
- ...I,
10985
+ ...R,
10959
10986
  position: "relative",
10960
10987
  top: "5%"
10961
10988
  },
@@ -11567,7 +11594,7 @@ var Zr = {
11567
11594
  }, [d]), u(() => {
11568
11595
  f(C);
11569
11596
  }, [C]);
11570
- let A = typeof a, P = "pds-popover", F = Z([`${P}__trigger-custom`, A === "string" ? `${P}__trigger-text` : ""]), I = a ? s : 0, L = h(null), { context: R, floatingStyles: B, middlewareData: V, refs: ee } = N({
11597
+ let A = typeof a, P = "pds-popover", F = Z([`${P}__trigger-custom`, A === "string" ? `${P}__trigger-text` : ""]), I = a ? s : 0, L = h(null), { context: R, floatingStyles: ee, middlewareData: B, refs: U } = N({
11571
11598
  placement: l,
11572
11599
  open: C,
11573
11600
  onOpenChange(e) {
@@ -11586,21 +11613,21 @@ var Zr = {
11586
11613
  }, { getFloatingProps: K, getReferenceProps: q } = z([
11587
11614
  j(R),
11588
11615
  M(R),
11589
- H(R)
11590
- ]), te = V.arrow?.x ?? 0, J = V.arrow?.y ?? 0, ne = te + Do / 2, re = J + Eo, { isMounted: ie } = U(R, {
11616
+ V(R)
11617
+ ]), te = B.arrow?.x ?? 0, ne = B.arrow?.y ?? 0, re = te + Do / 2, J = ne + Eo, { isMounted: ie } = H(R, {
11591
11618
  initial: { transform: "scale(0)" },
11592
11619
  common: ({ side: e }) => ({ transformOrigin: {
11593
- top: `${ne}px calc(100% + ${Eo}px)`,
11594
- bottom: `${ne}px -8px`,
11595
- left: `calc(100% + ${Eo}px) ${re}px`,
11596
- right: `-8px ${re}px`
11620
+ top: `${re}px calc(100% + ${Eo}px)`,
11621
+ bottom: `${re}px -8px`,
11622
+ left: `calc(100% + ${Eo}px) ${J}px`,
11623
+ right: `-8px ${J}px`
11597
11624
  }[e] })
11598
11625
  });
11599
11626
  return /* @__PURE__ */ e.createElement("div", {
11600
11627
  className: Z([P, t]),
11601
11628
  ...x
11602
11629
  }, /* @__PURE__ */ e.createElement("span", {
11603
- ref: ee.setReference,
11630
+ ref: U.setReference,
11604
11631
  className: `${P}__trigger`,
11605
11632
  role: "button",
11606
11633
  tabIndex: 0,
@@ -11615,10 +11642,10 @@ var Zr = {
11615
11642
  initialFocus: -1,
11616
11643
  modal: o
11617
11644
  }, /* @__PURE__ */ e.createElement("div", {
11618
- ref: ee.setFloating,
11645
+ ref: U.setFloating,
11619
11646
  className: Z([`${P}__container`, n]),
11620
11647
  style: {
11621
- ...B,
11648
+ ...ee,
11622
11649
  zIndex: W
11623
11650
  },
11624
11651
  ...K()
@@ -11967,24 +11994,24 @@ function Yo(e) {
11967
11994
  //#endregion
11968
11995
  //#region src/components/SortableList/SortableList.tsx
11969
11996
  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) {
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) => {
11997
+ 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), ee = h(0), [B, V] = g(0), H = h(0), U = c((e, t) => {
11971
11998
  if (_ > 0 && (e.key === "ArrowLeft" || e.key === "ArrowRight")) {
11972
11999
  e.preventDefault();
11973
- let n = e.key === "ArrowRight" ? 1 : -1, r = B.current, i = Math.max(-_, Math.min(_, r + n)), a = i - r;
11974
- return B.current = i, z(i), {
12000
+ let n = e.key === "ArrowRight" ? 1 : -1, r = ee.current, i = Math.max(-_, Math.min(_, r + n)), a = i - r;
12001
+ return ee.current = i, z(i), {
11975
12002
  x: t.currentCoordinates.x + a * Xo,
11976
12003
  y: t.currentCoordinates.y
11977
12004
  };
11978
12005
  }
11979
12006
  return rt(e, t);
11980
- }, [_]), W = b === "always" || b === "toggle" && (l ?? !1), { currentItems: G, expandItem: K, flatNodes: q, handleReorder: te, resetToSnapshot: J, sortableIds: ne, toggleExpand: re } = qo({
12007
+ }, [_]), W = b === "always" || b === "toggle" && (l ?? !1), { currentItems: G, expandItem: K, flatNodes: q, handleReorder: te, resetToSnapshot: ne, sortableIds: re, toggleExpand: J } = qo({
11981
12008
  defaultItems: a,
11982
12009
  isDragEnabled: W,
11983
12010
  items: p,
11984
12011
  onReorder: v
11985
12012
  });
11986
- f(C, () => ({ resetToSnapshot: J }), [J]);
11987
- let ie = tt(et(Qe, { activationConstraint: { distance: 5 } }), et(Xe, { coordinateGetter: ee })), ae = W ? `${w}--reorder-active` : null, Y = m(() => new Set(q.filter((e) => u(e.data)).map((e) => e.id)), [q, u]), oe = m(() => new Set(q.filter((e) => d(e.data)).map((e) => e.id)), [q, d]), se = c((e) => {
12013
+ f(C, () => ({ resetToSnapshot: ne }), [ne]);
12014
+ let ie = tt(et(Qe, { activationConstraint: { distance: 5 } }), et(Xe, { coordinateGetter: U })), ae = W ? `${w}--reorder-active` : null, Y = m(() => new Set(q.filter((e) => u(e.data)).map((e) => e.id)), [q, u]), oe = m(() => new Set(q.filter((e) => d(e.data)).map((e) => e.id)), [q, d]), se = c((e) => {
11988
12015
  if (_ === 0 || oe.has(String(e))) return !1;
11989
12016
  let t = q.find((t) => t.id === e);
11990
12017
  return !t || t.depth >= _ ? !1 : t.hasChildren ? !t.isExpanded : !0;
@@ -12006,11 +12033,11 @@ var Xo = 24, Zo = { droppable: { strategy: Ze.Always } }, Qo = o(function({ chil
12006
12033
  j
12007
12034
  ]).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(() => {
12008
12035
  let e = ue?.depth ?? 0;
12009
- return !T || !j || O || _ === 0 ? e : Go(q, String(T), String(j), V * Xo, Xo, _);
12036
+ return !T || !j || O || _ === 0 ? e : Go(q, String(T), String(j), B * Xo, Xo, _);
12010
12037
  }, [
12011
12038
  T,
12012
12039
  ue,
12013
- V,
12040
+ B,
12014
12041
  q,
12015
12042
  O,
12016
12043
  _,
@@ -12028,8 +12055,8 @@ var Xo = 24, Zo = { droppable: { strategy: Ze.Always } }, Qo = o(function({ chil
12028
12055
  fe
12029
12056
  ]), me = c((e) => {
12030
12057
  let { active: t } = e, n = F.current === "keyboard", r = q.find((e) => e.id === t.id);
12031
- E(t.id), D.current = t.id, k(n), A.current = n, I.current = r?.depth ?? 0, M(null), N.current = 0, P.current = 0, U.current = 0, H(0), B.current = 0, z(0), r?.hasChildren && r?.isExpanded && (re(String(t.id)), L.current = String(t.id));
12032
- }, [q, re]), he = c((e) => {
12058
+ E(t.id), D.current = t.id, k(n), A.current = n, I.current = r?.depth ?? 0, M(null), N.current = 0, P.current = 0, H.current = 0, V(0), ee.current = 0, z(0), r?.hasChildren && r?.isExpanded && (J(String(t.id)), L.current = String(t.id));
12059
+ }, [q, J]), he = c((e) => {
12033
12060
  let t = $e(e);
12034
12061
  if (!t.length || !D.current || Y.size === 0) return t;
12035
12062
  let n = q.findIndex((e) => e.id === D.current);
@@ -12040,7 +12067,7 @@ var Xo = 24, Zo = { droppable: { strategy: Ze.Always } }, Qo = o(function({ chil
12040
12067
  if (n === -1 || r === -1) return [e];
12041
12068
  if (Y.has(String(t))) {
12042
12069
  if (n > r) continue;
12043
- let e = !oe.has(String(t)), i = _ > 0 && U.current > 0;
12070
+ let e = !oe.has(String(t)), i = _ > 0 && H.current > 0;
12044
12071
  if (!se(t) && (!e || !i)) continue;
12045
12072
  }
12046
12073
  let [i, a] = n < r ? [n + 1, r - 1] : [r + 1, n - 1];
@@ -12061,14 +12088,14 @@ var Xo = 24, Zo = { droppable: { strategy: Ze.Always } }, Qo = o(function({ chil
12061
12088
  }
12062
12089
  }
12063
12090
  M(t);
12064
- }, [q, Y]), X = c((e) => {
12091
+ }, [q, Y]), _e = c((e) => {
12065
12092
  let t = e.delta.x;
12066
12093
  if (P.current = t, A.current || _ === 0) return;
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));
12069
- }, [_]), _e = c((e) => {
12070
- let { active: t, over: n } = e, r = A.current, i = B.current, a = U.current;
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);
12094
+ let n = Math.floor(t / Xo), r = H.current;
12095
+ (n > r || n < r && t < r * Xo - Xo * .4) && (H.current = n, V(n));
12096
+ }, [_]), ve = c((e) => {
12097
+ let { active: t, over: n } = e, r = A.current, i = ee.current, a = H.current;
12098
+ E(null), D.current = null, k(!1), A.current = !1, M(null), H.current = 0, V(0), L.current && (K(L.current), L.current = null);
12072
12099
  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;
12073
12100
  if (r && i > 0 && c && o > 0 && (l = q[o - 1].id), !l || t.id === l) {
12074
12101
  if (o === -1) return;
@@ -12119,8 +12146,8 @@ var Xo = 24, Zo = { droppable: { strategy: Ze.Always } }, Qo = o(function({ chil
12119
12146
  Y,
12120
12147
  _,
12121
12148
  oe
12122
- ]), ve = c(() => {
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);
12149
+ ]), X = c(() => {
12150
+ E(null), D.current = null, k(!1), A.current = !1, M(null), P.current = 0, H.current = 0, V(0), ee.current = 0, z(0), L.current && (K(L.current), L.current = null);
12124
12151
  }, [K]), ye = m(() => ({
12125
12152
  onDragStart({ active: e }) {
12126
12153
  let t = q.find((t) => t.id === e.id), n = Wo(G, String(e.id));
@@ -12156,14 +12183,14 @@ var Xo = 24, Zo = { droppable: { strategy: Ze.Always } }, Qo = o(function({ chil
12156
12183
  },
12157
12184
  collisionDetection: he,
12158
12185
  measuring: Zo,
12159
- onDragCancel: ve,
12160
- onDragEnd: _e,
12161
- onDragMove: X,
12186
+ onDragCancel: X,
12187
+ onDragEnd: ve,
12188
+ onDragMove: _e,
12162
12189
  onDragOver: ge,
12163
12190
  onDragStart: me,
12164
12191
  sensors: ie
12165
12192
  }, /* @__PURE__ */ e.createElement(nt, {
12166
- items: ne,
12193
+ items: re,
12167
12194
  strategy: ce
12168
12195
  }, /* @__PURE__ */ e.createElement("div", {
12169
12196
  className: Z([
@@ -12187,7 +12214,7 @@ var Xo = 24, Zo = { droppable: { strategy: Ze.Always } }, Qo = o(function({ chil
12187
12214
  isDragging: t.id === T,
12188
12215
  isExpanded: t.isExpanded,
12189
12216
  isLocked: Y.has(t.id),
12190
- toggleExpand: () => re(t.id)
12217
+ toggleExpand: () => J(t.id)
12191
12218
  }, r = y(t.data, n), a = t.id === T, o = {
12192
12219
  columns: i,
12193
12220
  depth: t.depth,
@@ -12198,7 +12225,7 @@ var Xo = 24, Zo = { droppable: { strategy: Ze.Always } }, Qo = o(function({ chil
12198
12225
  isProjectedParent: t.id === pe && !oe.has(t.id),
12199
12226
  isExpanded: t.isExpanded,
12200
12227
  ...Y.has(t.id) ? { isLocked: !0 } : {},
12201
- onToggleExpand: () => re(t.id),
12228
+ onToggleExpand: () => J(t.id),
12202
12229
  ...a && !O && _ > 0 ? { projectedDepthDelta: fe - t.depth } : {}
12203
12230
  };
12204
12231
  return s(r) ? e.cloneElement(r, {
@@ -12575,51 +12602,51 @@ var es = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12575
12602
  className: Z([a, t ?? ""]),
12576
12603
  ...i
12577
12604
  }, /* @__PURE__ */ e.createElement("ol", { className: `${a}__steps` }, r && c));
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({
12605
+ }, 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: ee, onPageChange: B, onPageSizeChange: V, onRowInspect: H, onRowSelectionChange: U, onSort: W, pageSizeOptions: G, pageSizeSelectLabel: K = "Rows per page", paginationLabels: q, prevDetailPanelRowLabel: te = "Previous row", renderDetailPanel: ne, renderDetailPanelFooter: re, rowData: J, selectAllLabel: ie = "Select all rows", selectedRows: ae, sortKey: Y, sortOrder: oe, totalItemCount: se, ...ce }) => {
12606
+ 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 = ne !== void 0 || H === void 0 && k, _e = ne !== void 0 || H !== void 0 || k, ve = W !== void 0, X = B !== void 0, ye = V !== void 0, be = X || P !== void 0 || G !== void 0, xe = J.length > 0 || X && (se ?? 0) > 0, [Se, Ce] = g({
12580
12607
  key: a ?? "",
12581
12608
  order: a === void 0 ? "asc" : o
12582
12609
  }), we = m(() => {
12583
- if (_e || Se.key === "") return re;
12610
+ if (ve || Se.key === "") return J;
12584
12611
  let e = r.find((e) => e.id === Se.key)?.sortKey ?? Se.key;
12585
- return [...re].sort((t, n) => {
12612
+ return [...J].sort((t, n) => {
12586
12613
  let r = String(t[e]).localeCompare(String(n[e]));
12587
12614
  return Se.order === "asc" ? r : -r;
12588
12615
  });
12589
12616
  }, [
12590
- re,
12617
+ J,
12591
12618
  Se,
12592
- _e,
12619
+ ve,
12593
12620
  r
12594
- ]), [Te, Ee] = g(1), [De, Oe] = g(P ?? G?.[0] ?? 10), [ke, Ae] = g(null), je = j ?? ke, Me = !!je && !!J && D && !pe, Ne = pe && ge && !!je, [Pe, Fe] = g(null);
12621
+ ]), [Te, Ee] = g(1), [De, Oe] = g(P ?? G?.[0] ?? 10), [ke, Ae] = g(null), je = j ?? ke, Me = !!je && !!ne && D && !pe, Ne = pe && ge && !!je, [Pe, Fe] = g(null);
12595
12622
  u(() => {
12596
12623
  je && Fe(je);
12597
12624
  }, [je]);
12598
- let Ie = ve ? P ?? 10 : De, Le = (e) => {
12599
- ye ? H(e) : Oe(e), ve || Ee(1);
12625
+ let Ie = X ? P ?? 10 : De, Le = (e) => {
12626
+ ye ? V(e) : Oe(e), X || Ee(1);
12600
12627
  };
12601
12628
  u(() => {
12602
- ve || Ee(1);
12603
- }, [re.length, ve]), u(() => {
12604
- process.env.NODE_ENV !== "production" && i !== void 0 && !V && console.warn("[Table] `currentPage` was provided without `onPageChange`. Controlled pagination requires both props. The table is running in uncontrolled mode.");
12629
+ X || Ee(1);
12630
+ }, [J.length, X]), u(() => {
12631
+ process.env.NODE_ENV !== "production" && i !== void 0 && !B && console.warn("[Table] `currentPage` was provided without `onPageChange`. Controlled pagination requires both props. The table is running in uncontrolled mode.");
12605
12632
  }, []);
12606
- let Re = ee !== void 0, ze = ae !== void 0, [Be, Ve] = g(/* @__PURE__ */ new Set()), He = ze ? new Set(ae) : Be, Ue = m(() => new Map(re.map((e, t) => [e, t])), [re]), We = (e, t) => C ? C(e) : String(Ue.get(e) ?? t), Ge = m(() => we.findIndex((e, t) => (C ? C(e) : String(Ue.get(e) ?? t)) === je), [
12633
+ let Re = U !== void 0, ze = ae !== void 0, [Be, Ve] = g(/* @__PURE__ */ new Set()), He = ze ? new Set(ae) : Be, Ue = m(() => new Map(J.map((e, t) => [e, t])), [J]), We = (e, t) => C ? C(e) : String(Ue.get(e) ?? t), Ge = m(() => we.findIndex((e, t) => (C ? C(e) : String(Ue.get(e) ?? t)) === je), [
12607
12634
  we,
12608
12635
  je,
12609
12636
  C,
12610
12637
  Ue
12611
12638
  ]), Ke = Ge >= 0 ? we[Ge] : null, qe = (e, t) => {
12612
- (pe ? ge : J !== void 0 && D) && j === void 0 && Ae(t), U?.(e, t);
12639
+ (pe ? ge : ne !== void 0 && D) && j === void 0 && Ae(t), H?.(e, t);
12613
12640
  }, Je = () => {
12614
12641
  j === void 0 && Ae(null);
12615
12642
  }, Ye = () => {
12616
12643
  if (we.length === 0) return;
12617
12644
  let e = (Ge - 1 + we.length) % we.length, t = we[e], n = We(t, e);
12618
- j === void 0 && Ae(n), U?.(t, n), B?.(t, n);
12645
+ j === void 0 && Ae(n), H?.(t, n), ee?.(t, n);
12619
12646
  }, Xe = () => {
12620
12647
  if (we.length === 0) return;
12621
12648
  let e = (Ge + 1) % we.length, t = we[e], n = We(t, e);
12622
- j === void 0 && Ae(n), U?.(t, n), z?.(t, n);
12649
+ j === void 0 && Ae(n), H?.(t, n), z?.(t, n);
12623
12650
  }, Ze = je ?? Pe, Qe = m(() => we.findIndex((e, t) => (C ? C(e) : String(Ue.get(e) ?? t)) === Ze), [
12624
12651
  we,
12625
12652
  Ze,
@@ -12661,23 +12688,23 @@ var es = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12661
12688
  Me,
12662
12689
  le
12663
12690
  ]);
12664
- let rt = _e ? Y ?? "" : Se.key, it = _e ? oe ?? "asc" : Se.order, at = m(() => {
12691
+ let rt = ve ? Y ?? "" : Se.key, it = ve ? oe ?? "asc" : Se.order, at = m(() => {
12665
12692
  if (M) return [];
12666
12693
  let e = we;
12667
- if (!ve && be && Ie) {
12694
+ if (!X && be && Ie) {
12668
12695
  let t = (Te - 1) * Ie;
12669
12696
  e = e.slice(t, t + Ie);
12670
12697
  }
12671
12698
  return e;
12672
12699
  }, [
12673
12700
  we,
12674
- ve,
12701
+ X,
12675
12702
  be,
12676
12703
  Te,
12677
12704
  Ie,
12678
12705
  M
12679
12706
  ]), ot = (e) => {
12680
- _e ? W(e, Y === e && oe === "asc" ? "desc" : "asc") : Ce((t) => ({
12707
+ ve ? W(e, Y === e && oe === "asc" ? "desc" : "asc") : Ce((t) => ({
12681
12708
  key: e,
12682
12709
  order: t.key === e && t.order === "asc" ? "desc" : "asc"
12683
12710
  }));
@@ -12691,10 +12718,10 @@ var es = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12691
12718
  return N(t, r) && e.push(r), e;
12692
12719
  }, []), ut = lt.length > 0 && lt.every((e) => He.has(e)), dt = !ut && lt.some((e) => He.has(e)), ft = (e) => {
12693
12720
  let t = new Set(He);
12694
- t.has(e) ? t.delete(e) : t.add(e), ze || Ve(t), ee?.(Array.from(t));
12721
+ t.has(e) ? t.delete(e) : t.add(e), ze || Ve(t), U?.(Array.from(t));
12695
12722
  }, pt = () => {
12696
12723
  let e = new Set(He);
12697
- ut || dt ? lt.forEach((t) => e.delete(t)) : lt.forEach((t) => e.add(t)), ze || Ve(e), ee?.(Array.from(e));
12724
+ ut || dt ? lt.forEach((t) => e.delete(t)) : lt.forEach((t) => e.add(t)), ze || Ve(e), U?.(Array.from(e));
12698
12725
  }, mt = (t) => /* @__PURE__ */ e.createElement("tr", { key: `skeleton-${t}` }, Re && /* @__PURE__ */ e.createElement("td", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(Rr, {
12699
12726
  shape: "rounded",
12700
12727
  size: {
@@ -12715,7 +12742,7 @@ var es = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12715
12742
  iconName: "emptySet",
12716
12743
  message: v
12717
12744
  }))), gt = (t, n) => {
12718
- let i = We(t, n), a = U !== void 0 && J === void 0 || J !== void 0 && D, o = a && je === i, s = N(t, i), c = s ? void 0 : w?.(t, i), l = T(t, n + 1), u = c ? `${l} (${c})` : l;
12745
+ let i = We(t, n), a = H !== void 0 && ne === void 0 || ne !== void 0 && D, o = a && je === i, s = N(t, i), c = s ? void 0 : w?.(t, i), l = T(t, n + 1), u = c ? `${l} (${c})` : l;
12719
12746
  return /* @__PURE__ */ e.createElement("tr", {
12720
12747
  key: `row-${i}`,
12721
12748
  "aria-selected": a ? o : void 0,
@@ -12749,7 +12776,7 @@ var es = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12749
12776
  iconName: "emptySet",
12750
12777
  message: v
12751
12778
  })), bt = (t, n) => {
12752
- let r = We(t, n), i = !Re && X && je === r, a = Re && He.has(r), [o, ...s] = he, c = N(t, r), l = c ? void 0 : w?.(t, r), u = T(t, n + 1), d = l ? `${u} (${l})` : u, f = /* @__PURE__ */ e.createElement("div", { className: `${le}__card-main` }, Re && /* @__PURE__ */ e.createElement("span", {
12779
+ let r = We(t, n), i = !Re && _e && je === r, a = Re && He.has(r), [o, ...s] = he, c = N(t, r), l = c ? void 0 : w?.(t, r), u = T(t, n + 1), d = l ? `${u} (${l})` : u, f = /* @__PURE__ */ e.createElement("div", { className: `${le}__card-main` }, Re && /* @__PURE__ */ e.createElement("span", {
12753
12780
  "aria-hidden": "true",
12754
12781
  className: "pds-checkbox"
12755
12782
  }, /* @__PURE__ */ e.createElement("span", { className: Z(["pds-checkbox__box", a ? "pds-checkbox__box--checked" : null]) }, a && /* @__PURE__ */ e.createElement("svg", {
@@ -12759,13 +12786,13 @@ var es = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12759
12786
  viewBox: "0 0 12 12",
12760
12787
  width: "12",
12761
12788
  xmlns: "http://www.w3.org/2000/svg"
12762
- }, /* @__PURE__ */ e.createElement("path", { d: "M9.85474 3.64666C10.1032 3.32078 10.0258 2.86817 9.67727 2.63583C9.32878 2.4035 8.84476 2.47591 8.5963 2.80179L4.8694 7.65977L3.32056 6.21143C3.01724 5.9278 2.52677 5.9278 2.22669 6.21143C1.9266 6.49506 1.92337 6.9537 2.22346 7.23734L4.41765 9.28916C4.57899 9.44003 4.80164 9.51546 5.02751 9.49736C5.25338 9.47925 5.4599 9.37063 5.59219 9.19864L9.85151 3.64666H9.85474Z" })))), /* @__PURE__ */ e.createElement("div", { className: `${le}__card-body` }, o && /* @__PURE__ */ e.createElement("div", { className: `${le}__card-title` }, t[o.id]), s.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${le}__card-meta` }, s.map((n) => /* @__PURE__ */ e.createElement(e.Fragment, { key: n.id }, /* @__PURE__ */ e.createElement("span", null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, On(n.header), ":", " "), t[n.id]))))), !Re && X && /* @__PURE__ */ e.createElement(Q, {
12789
+ }, /* @__PURE__ */ e.createElement("path", { d: "M9.85474 3.64666C10.1032 3.32078 10.0258 2.86817 9.67727 2.63583C9.32878 2.4035 8.84476 2.47591 8.5963 2.80179L4.8694 7.65977L3.32056 6.21143C3.01724 5.9278 2.52677 5.9278 2.22669 6.21143C1.9266 6.49506 1.92337 6.9537 2.22346 7.23734L4.41765 9.28916C4.57899 9.44003 4.80164 9.51546 5.02751 9.49736C5.25338 9.47925 5.4599 9.37063 5.59219 9.19864L9.85151 3.64666H9.85474Z" })))), /* @__PURE__ */ e.createElement("div", { className: `${le}__card-body` }, o && /* @__PURE__ */ e.createElement("div", { className: `${le}__card-title` }, t[o.id]), s.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${le}__card-meta` }, s.map((n) => /* @__PURE__ */ e.createElement(e.Fragment, { key: n.id }, /* @__PURE__ */ e.createElement("span", null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, On(n.header), ":", " "), t[n.id]))))), !Re && _e && /* @__PURE__ */ e.createElement(Q, {
12763
12790
  className: `${le}__card-chevron`,
12764
12791
  iconName: "angleRight",
12765
12792
  size: "m"
12766
12793
  })), p = Z([
12767
12794
  `${le}__card`,
12768
- Re ? `${le}__card--selectable` : X ? `${le}__row--inspectable` : null,
12795
+ Re ? `${le}__card--selectable` : _e ? `${le}__row--inspectable` : null,
12769
12796
  i || a ? `${le}__row--inspected` : null,
12770
12797
  S?.(t, r) ?? null
12771
12798
  ]);
@@ -12778,7 +12805,7 @@ var es = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12778
12805
  role: "checkbox",
12779
12806
  title: l,
12780
12807
  type: "button"
12781
- }, f)) : /* @__PURE__ */ e.createElement("li", { key: `card-${r}` }, X ? /* @__PURE__ */ e.createElement("button", {
12808
+ }, f)) : /* @__PURE__ */ e.createElement("li", { key: `card-${r}` }, _e ? /* @__PURE__ */ e.createElement("button", {
12782
12809
  className: p,
12783
12810
  onClick: () => qe(t, r),
12784
12811
  type: "button"
@@ -12846,17 +12873,17 @@ var es = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12846
12873
  size: "s",
12847
12874
  value: String(Ie)
12848
12875
  }), /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__pagination-controls" }, /* @__PURE__ */ e.createElement(lo, {
12849
- currentPage: ve ? i ?? 1 : Te,
12876
+ currentPage: X ? i ?? 1 : Te,
12850
12877
  itemsPerPage: Ie,
12851
12878
  labelStrings: q,
12852
- onPageChange: ve ? V : Ee,
12879
+ onPageChange: X ? B : Ee,
12853
12880
  pageControlType: pe ? "static" : "dropdown",
12854
- totalItemCount: ve ? se ?? 0 : re.length
12855
- }))), y && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__footer" }, y)), J && /* @__PURE__ */ e.createElement("div", { className: Z(["pds-table-wrapper__detail-panel", Me ? "pds-table-wrapper__detail-panel--open" : null]) }, /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-upper" }, /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-header" }, l && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-title" }, l), /* @__PURE__ */ e.createElement(Pn, {
12881
+ totalItemCount: X ? se ?? 0 : J.length
12882
+ }))), y && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__footer" }, y)), ne && /* @__PURE__ */ e.createElement("div", { className: Z(["pds-table-wrapper__detail-panel", Me ? "pds-table-wrapper__detail-panel--open" : null]) }, /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-upper" }, /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-header" }, l && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-title" }, l), /* @__PURE__ */ e.createElement(Pn, {
12856
12883
  ariaLabel: n,
12857
12884
  onClick: Je,
12858
12885
  size: "s"
12859
- })), /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-content" }, Me && Ke && J(Ke, et))), Me && Ke && (ne || c) && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-footer" }, ne ? ne(Ke, et) : /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-nav" }, /* @__PURE__ */ e.createElement(Mn, {
12886
+ })), /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-content" }, Me && Ke && ne(Ke, et))), Me && Ke && (re || c) && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-footer" }, re ? re(Ke, et) : /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-nav" }, /* @__PURE__ */ e.createElement(Mn, {
12860
12887
  hasBorder: !0,
12861
12888
  ariaLabel: te,
12862
12889
  disabled: !et.hasPrev,
@@ -12879,10 +12906,10 @@ var es = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12879
12906
  e || Je();
12880
12907
  },
12881
12908
  title: l
12882
- }, $e && (J ? J($e, tt) : _t($e)), $e && (ne || c) && /* @__PURE__ */ e.createElement("div", {
12909
+ }, $e && (ne ? ne($e, tt) : _t($e)), $e && (re || c) && /* @__PURE__ */ e.createElement("div", {
12883
12910
  className: `${le}-wrapper__mobile-sheet-nav`,
12884
12911
  slot: "footer"
12885
- }, ne ? ne($e, tt) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(Mn, {
12912
+ }, re ? re($e, tt) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(Mn, {
12886
12913
  hasBorder: !0,
12887
12914
  ariaLabel: te,
12888
12915
  disabled: !tt.hasPrev,
@@ -13219,14 +13246,14 @@ var es = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13219
13246
  expandSidebar: "Press ] to expand sidebar",
13220
13247
  skipToContent: "Skip to main content",
13221
13248
  ...f
13222
- }, I = y?.id ?? "app-layout-main", L = v == null ? void 0 : typeof v == "number" ? `${v}px` : v, R = k == null ? void 0 : typeof k == "number" ? `${k}px` : k, z = j ? `${w}rem` : `${T}`, B = {
13249
+ }, I = y?.id ?? "app-layout-main", L = v == null ? void 0 : typeof v == "number" ? `${v}px` : v, R = k == null ? void 0 : typeof k == "number" ? `${k}px` : k, z = j ? `${w}rem` : `${T}`, ee = {
13223
13250
  backgroundColor: C || void 0,
13224
13251
  maxWidth: j ? void 0 : `${E}rem`,
13225
13252
  minWidth: j ? `${w}rem` : `${D}rem`,
13226
13253
  width: z
13227
- }, V = h(!1), H = va(), U = H === "sm", ee = () => {
13228
- if (!U) {
13229
- if (V.current = !1, x) {
13254
+ }, B = h(!1), V = va(), H = V === "sm", U = () => {
13255
+ if (!H) {
13256
+ if (B.current = !1, x) {
13230
13257
  x();
13231
13258
  return;
13232
13259
  }
@@ -13234,13 +13261,13 @@ var es = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13234
13261
  }
13235
13262
  };
13236
13263
  u(() => {
13237
- H === "sm" && !j ? (V.current = !0, x ? x() : M(!0)) : H !== "sm" && V.current && (V.current = !1, x ? x() : M(!1));
13238
- }, [H]);
13239
- let W = d && s && !U;
13264
+ V === "sm" && !j ? (B.current = !0, x ? x() : M(!0)) : V !== "sm" && B.current && (B.current = !1, x ? x() : M(!1));
13265
+ }, [V]);
13266
+ let W = d && s && !H;
13240
13267
  nn("[", (e) => {
13241
- e.preventDefault(), j || ee();
13268
+ e.preventDefault(), j || U();
13242
13269
  }, { enabled: W }), nn("]", (e) => {
13243
- e.preventDefault(), j && ee();
13270
+ e.preventDefault(), j && U();
13244
13271
  }, { enabled: W });
13245
13272
  let G = h(null);
13246
13273
  p(() => {
@@ -13262,14 +13289,14 @@ var es = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13262
13289
  r.disconnect(), i?.disconnect(), window.removeEventListener("resize", t);
13263
13290
  };
13264
13291
  }, [R]);
13265
- let K = gt(t), q = K.__unslotted, te = K.header, J = K.footer, ne = K.sidebar, re = K.identity, ie = K["content-top"], ae = K.navigation, Y = K["content-bottom"], oe = re || ie || ae || Y, se = oe ? /* @__PURE__ */ e.createElement(e.Fragment, null, (re || o) && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-identity` }, re, o && !j && /* @__PURE__ */ e.createElement(Mn, {
13292
+ let K = gt(t), q = K.__unslotted, te = K.header, ne = K.footer, re = K.sidebar, J = K.identity, ie = K["content-top"], ae = K.navigation, Y = K["content-bottom"], oe = J || ie || ae || Y, se = oe ? /* @__PURE__ */ e.createElement(e.Fragment, null, (J || o) && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-identity` }, J, o && !j && /* @__PURE__ */ e.createElement(Mn, {
13266
13293
  hasBorder: !0,
13267
13294
  ariaLabel: F.drawerToggle,
13268
13295
  className: `${N}__drawer-toggle`,
13269
13296
  iconName: "sidebar",
13270
13297
  onClick: b,
13271
13298
  size: "s"
13272
- })), ie && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-content-top` }, ie), ae && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-navigation` }, ae), Y && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-content-bottom` }, Y)) : ne, ce = a(_, {
13299
+ })), ie && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-content-top` }, ie), ae && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-navigation` }, ae), Y && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-content-bottom` }, Y)) : re, ce = a(_, {
13273
13300
  ...y,
13274
13301
  className: Z([`${N}__main`, y?.className]),
13275
13302
  id: I,
@@ -13284,18 +13311,18 @@ var es = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13284
13311
  }, q)), le = /* @__PURE__ */ e.createElement("div", {
13285
13312
  className: `${N}__content-column`,
13286
13313
  style: { backgroundColor: m || void 0 }
13287
- }, ce, J && /* @__PURE__ */ e.createElement("div", { className: `${N}__footer` }, /* @__PURE__ */ e.createElement("div", {
13314
+ }, ce, ne && /* @__PURE__ */ e.createElement("div", { className: `${N}__footer` }, /* @__PURE__ */ e.createElement("div", {
13288
13315
  className: `${N}__footer-inner`,
13289
13316
  style: { maxWidth: L }
13290
- }, J))), ue = /* @__PURE__ */ e.createElement(e.Fragment, null, (ne || oe) && /* @__PURE__ */ e.createElement("div", {
13317
+ }, ne))), ue = /* @__PURE__ */ e.createElement(e.Fragment, null, (re || oe) && /* @__PURE__ */ e.createElement("div", {
13291
13318
  ...O,
13292
13319
  className: Z([
13293
13320
  `${N}__sidebar`,
13294
13321
  j ? `${N}__sidebar--collapsed` : null,
13295
13322
  O?.className
13296
13323
  ]),
13297
- style: B
13298
- }, s && !U && /* @__PURE__ */ e.createElement(an, {
13324
+ style: ee
13325
+ }, s && !H && /* @__PURE__ */ e.createElement(an, {
13299
13326
  disableTapTrigger: !0,
13300
13327
  className: `${N}__sidebar-toggle-tooltip`,
13301
13328
  content: j ? F.expandSidebar : F.collapseSidebar,
@@ -13303,7 +13330,7 @@ var es = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13303
13330
  "aria-expanded": !j,
13304
13331
  "aria-label": j ? F.expandSidebar : F.collapseSidebar,
13305
13332
  className: `${N}__sidebar-toggle-button`,
13306
- onClick: ee,
13333
+ onClick: U,
13307
13334
  type: "button"
13308
13335
  }, /* @__PURE__ */ e.createElement("span", { className: `${N}__sidebar-toggle-icon` }, /* @__PURE__ */ e.createElement(Q, {
13309
13336
  iconName: "angleLeft",
@@ -13598,7 +13625,7 @@ var es = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13598
13625
  return window.addEventListener("resize", t), () => {
13599
13626
  window.removeEventListener("resize", t);
13600
13627
  };
13601
- }, []), t;
13628
+ }, [e]), t;
13602
13629
  };
13603
13630
  //#endregion
13604
13631
  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 };