@usace/groundwork 3.10.1 → 3.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2285,7 +2285,7 @@ const ge = (e) => {
2285
2285
  const n = t[r];
2286
2286
  n !== void 0 && (e[r] = (e[r] || []).concat(n));
2287
2287
  }
2288
- }, Zi = (e, ...t) => typeof e == "function" ? Lo(jo, e, ...t) : Lo(() => Qi(jo(), e), ...t), Oo = "gw-", Ji = /^(-?)(gw\w*-)(-?)(.*)/, Y = Zi({
2288
+ }, Zi = (e, ...t) => typeof e == "function" ? Lo(jo, e, ...t) : Lo(() => Qi(jo(), e), ...t), Oo = "gw-", Ji = /^(-?)(gw\w*-)(-?)(.*)/, J = Zi({
2289
2289
  prefix: Oo,
2290
2290
  experimentalParseClassName: ({ className: e, parseClassName: t }) => {
2291
2291
  const r = t(e), n = r.baseClassName.match(Ji), o = Yi(r.baseClassName, n), l = n ? n[4] : r.baseClassName, i = l.startsWith("-") ? l.substring(1) : l, a = Oo + i, s = (o ? "-" : "") + a;
@@ -2926,7 +2926,7 @@ React keys must be passed directly to JSX without using spread:
2926
2926
  process.env.NODE_ENV === "production" ? mn.exports = $i() : mn.exports = _i();
2927
2927
  var d = mn.exports;
2928
2928
  function bl({ className: e, children: t, fluid: r }) {
2929
- const n = j(() => Y(
2929
+ const n = j(() => J(
2930
2930
  "gw-w-full gw-mx-auto gw-px-4 gw-box-border",
2931
2931
  r ? "gw-max-w-screen" : "gw-max-w-screen-2xl",
2932
2932
  e
@@ -2934,7 +2934,7 @@ function bl({ className: e, children: t, fluid: r }) {
2934
2934
  return /* @__PURE__ */ d.jsx("div", { className: n, children: t });
2935
2935
  }
2936
2936
  const No = Ar(function({ children: t, className: r, title: n, customTitle: o, id: l }, i) {
2937
- const a = o, s = "gw-mb-10 gw-relative", u = "before:gw-block before:gw-bg-usace-box-light-gray before:gw-h-8 before:gw-mb-[-12px] before:gw-w-full", c = "after:gw-block after:gw-absolute after:gw-top-0 after:gw-left-0 after:gw-bg-usace-box-red after:gw-h-[5px] after:gw-w-[50px] after:gw-z-[2]", w = j(() => Y(s, u, c, r), [r]);
2937
+ const a = o, s = "gw-mb-10 gw-relative", u = "before:gw-block before:gw-bg-usace-box-light-gray before:gw-h-8 before:gw-mb-[-12px] before:gw-w-full", c = "after:gw-block after:gw-absolute after:gw-top-0 after:gw-left-0 after:gw-bg-usace-box-red after:gw-h-[5px] after:gw-w-[50px] after:gw-z-[2]", w = j(() => J(s, u, c, r), [r]);
2938
2938
  return /* @__PURE__ */ d.jsxs("div", { ref: i, className: w, id: l, children: [
2939
2939
  /* @__PURE__ */ d.jsxs("h2", { className: "gw-font-bold gw-mb-5 gw-text-[1.3rem]", children: [
2940
2940
  n,
@@ -3599,7 +3599,7 @@ function Os(e, t) {
3599
3599
  return $({ ourProps: c, theirProps: l, slot: u, defaultTag: js, name: i.name || "Description" });
3600
3600
  }
3601
3601
  let Ps = K(Os), kr = Object.assign(Ps, {});
3602
- var J = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(J || {});
3602
+ var Y = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(Y || {});
3603
3603
  let Tr = ue(null);
3604
3604
  Tr.displayName = "LabelContext";
3605
3605
  function Rn() {
@@ -5868,7 +5868,7 @@ let Lu = K(Iu);
5868
5868
  function ju(e, t = typeof document < "u" ? document.defaultView : null, r) {
5869
5869
  let n = jt(e, "escape");
5870
5870
  zn(t, "keydown", (o) => {
5871
- n && (o.defaultPrevented || o.key === J.Escape && r(o));
5871
+ n && (o.defaultPrevented || o.key === Y.Escape && r(o));
5872
5872
  });
5873
5873
  }
5874
5874
  function Ou() {
@@ -6285,20 +6285,20 @@ function bd(e, t) {
6285
6285
  if (c) {
6286
6286
  if (a.disclosureState === 1) return;
6287
6287
  switch (N.key) {
6288
- case J.Space:
6289
- case J.Enter:
6288
+ case Y.Space:
6289
+ case Y.Enter:
6290
6290
  N.preventDefault(), N.stopPropagation(), s({ type: 0 }), (z = a.buttonElement) == null || z.focus();
6291
6291
  break;
6292
6292
  }
6293
6293
  } else switch (N.key) {
6294
- case J.Space:
6295
- case J.Enter:
6294
+ case Y.Space:
6295
+ case Y.Enter:
6296
6296
  N.preventDefault(), N.stopPropagation(), s({ type: 0 });
6297
6297
  break;
6298
6298
  }
6299
6299
  }), h = L((N) => {
6300
6300
  switch (N.key) {
6301
- case J.Space:
6301
+ case Y.Space:
6302
6302
  N.preventDefault();
6303
6303
  break;
6304
6304
  }
@@ -6477,18 +6477,18 @@ function Kd(e, t) {
6477
6477
  var r;
6478
6478
  let n = me(), { id: o = `headlessui-menu-button-${n}`, disabled: l = !1, autoFocus: i = !1, ...a } = e, [s, u] = Xr("Menu.Button"), c = wu(), w = $t(), f = se(t, na(), L((M) => u({ type: 7, element: M }))), g = L((M) => {
6479
6479
  switch (M.key) {
6480
- case J.Space:
6481
- case J.Enter:
6482
- case J.ArrowDown:
6480
+ case Y.Space:
6481
+ case Y.Enter:
6482
+ case Y.ArrowDown:
6483
6483
  M.preventDefault(), M.stopPropagation(), Xt(() => u({ type: 0 })), u({ type: 2, focus: Ce.First });
6484
6484
  break;
6485
- case J.ArrowUp:
6485
+ case Y.ArrowUp:
6486
6486
  M.preventDefault(), M.stopPropagation(), Xt(() => u({ type: 0 })), u({ type: 2, focus: Ce.Last });
6487
6487
  break;
6488
6488
  }
6489
6489
  }), p = L((M) => {
6490
6490
  switch (M.key) {
6491
- case J.Space:
6491
+ case Y.Space:
6492
6492
  M.preventDefault();
6493
6493
  break;
6494
6494
  }
@@ -6524,29 +6524,29 @@ function Jd(e, t) {
6524
6524
  let H = It(), W = L((R) => {
6525
6525
  var I, k, A;
6526
6526
  switch (H.dispose(), R.key) {
6527
- case J.Space:
6527
+ case Y.Space:
6528
6528
  if (f.searchQuery !== "") return R.preventDefault(), R.stopPropagation(), g({ type: 3, value: R.key });
6529
- case J.Enter:
6529
+ case Y.Enter:
6530
6530
  if (R.preventDefault(), R.stopPropagation(), g({ type: 1 }), f.activeItemIndex !== null) {
6531
6531
  let { dataRef: U } = f.items[f.activeItemIndex];
6532
6532
  (k = (I = U.current) == null ? void 0 : I.domRef.current) == null || k.click();
6533
6533
  }
6534
6534
  zl(f.buttonElement);
6535
6535
  break;
6536
- case J.ArrowDown:
6536
+ case Y.ArrowDown:
6537
6537
  return R.preventDefault(), R.stopPropagation(), g({ type: 2, focus: Ce.Next });
6538
- case J.ArrowUp:
6538
+ case Y.ArrowUp:
6539
6539
  return R.preventDefault(), R.stopPropagation(), g({ type: 2, focus: Ce.Previous });
6540
- case J.Home:
6541
- case J.PageUp:
6540
+ case Y.Home:
6541
+ case Y.PageUp:
6542
6542
  return R.preventDefault(), R.stopPropagation(), g({ type: 2, focus: Ce.First });
6543
- case J.End:
6544
- case J.PageDown:
6543
+ case Y.End:
6544
+ case Y.PageDown:
6545
6545
  return R.preventDefault(), R.stopPropagation(), g({ type: 2, focus: Ce.Last });
6546
- case J.Escape:
6546
+ case Y.Escape:
6547
6547
  R.preventDefault(), R.stopPropagation(), Xt(() => g({ type: 1 })), (A = f.buttonElement) == null || A.focus({ preventScroll: !0 });
6548
6548
  break;
6549
- case J.Tab:
6549
+ case Y.Tab:
6550
6550
  R.preventDefault(), R.stopPropagation(), Xt(() => g({ type: 1 })), Qs(f.buttonElement, R.shiftKey ? ce.Previous : ce.Next);
6551
6551
  break;
6552
6552
  default:
@@ -6555,7 +6555,7 @@ function Jd(e, t) {
6555
6555
  }
6556
6556
  }), X = L((R) => {
6557
6557
  switch (R.key) {
6558
- case J.Space:
6558
+ case Y.Space:
6559
6559
  R.preventDefault();
6560
6560
  break;
6561
6561
  }
@@ -6706,24 +6706,24 @@ function xg(e, t) {
6706
6706
  if (p) {
6707
6707
  if (a.popoverState === 1) return;
6708
6708
  switch (k.key) {
6709
- case J.Space:
6710
- case J.Enter:
6709
+ case Y.Space:
6710
+ case Y.Enter:
6711
6711
  k.preventDefault(), (U = (A = k.target).click) == null || U.call(A), s({ type: 1 }), (_ = a.button) == null || _.focus();
6712
6712
  break;
6713
6713
  }
6714
6714
  } else switch (k.key) {
6715
- case J.Space:
6716
- case J.Enter:
6715
+ case Y.Space:
6716
+ case Y.Enter:
6717
6717
  k.preventDefault(), k.stopPropagation(), a.popoverState === 1 && (g == null || g(a.buttonId)), s({ type: 0 });
6718
6718
  break;
6719
- case J.Escape:
6719
+ case Y.Escape:
6720
6720
  if (a.popoverState !== 0) return g == null ? void 0 : g(a.buttonId);
6721
6721
  if (!c.current || x != null && x.activeElement && !c.current.contains(x.activeElement)) return;
6722
6722
  k.preventDefault(), k.stopPropagation(), s({ type: 1 });
6723
6723
  break;
6724
6724
  }
6725
6725
  }), S = L((k) => {
6726
- p || k.key === J.Space && k.preventDefault();
6726
+ p || k.key === Y.Space && k.preventDefault();
6727
6727
  }), T = L((k) => {
6728
6728
  var A, U;
6729
6729
  Sr(k.currentTarget) || o || (p ? (s({ type: 1 }), (A = a.button) == null || A.focus()) : (k.preventDefault(), k.stopPropagation(), a.popoverState === 1 && (g == null || g(a.buttonId)), s({ type: 0 }), (U = a.button) == null || U.focus()));
@@ -6764,7 +6764,7 @@ function Cg(e, t) {
6764
6764
  let X = L((A) => {
6765
6765
  var U;
6766
6766
  switch (A.key) {
6767
- case J.Escape:
6767
+ case Y.Escape:
6768
6768
  if (c.popoverState !== 0 || !b.current || M != null && M.activeElement && !b.current.contains(M.activeElement)) return;
6769
6769
  A.preventDefault(), A.stopPropagation(), w({ type: 1 }), (U = c.button) == null || U.focus();
6770
6770
  break;
@@ -6982,22 +6982,22 @@ function Qg(e, t) {
6982
6982
  return _;
6983
6983
  }), M = L((A) => {
6984
6984
  let U = f.map((_) => _.current).filter(Boolean);
6985
- if (A.key === J.Space || A.key === J.Enter) {
6985
+ if (A.key === Y.Space || A.key === Y.Enter) {
6986
6986
  A.preventDefault(), A.stopPropagation(), p.change(T);
6987
6987
  return;
6988
6988
  }
6989
6989
  switch (A.key) {
6990
- case J.Home:
6991
- case J.PageUp:
6990
+ case Y.Home:
6991
+ case Y.PageUp:
6992
6992
  return A.preventDefault(), A.stopPropagation(), B(() => ve(U, ce.First));
6993
- case J.End:
6994
- case J.PageDown:
6993
+ case Y.End:
6994
+ case Y.PageDown:
6995
6995
  return A.preventDefault(), A.stopPropagation(), B(() => ve(U, ce.Last));
6996
6996
  }
6997
6997
  if (B(() => we(u, { vertical() {
6998
- return A.key === J.ArrowUp ? ve(U, ce.Previous | ce.WrapAround) : A.key === J.ArrowDown ? ve(U, ce.Next | ce.WrapAround) : Ue.Error;
6998
+ return A.key === Y.ArrowUp ? ve(U, ce.Previous | ce.WrapAround) : A.key === Y.ArrowDown ? ve(U, ce.Next | ce.WrapAround) : Ue.Error;
6999
6999
  }, horizontal() {
7000
- return A.key === J.ArrowLeft ? ve(U, ce.Previous | ce.WrapAround) : A.key === J.ArrowRight ? ve(U, ce.Next | ce.WrapAround) : Ue.Error;
7000
+ return A.key === Y.ArrowLeft ? ve(U, ce.Previous | ce.WrapAround) : A.key === Y.ArrowRight ? ve(U, ce.Next | ce.WrapAround) : Ue.Error;
7001
7001
  } })) === Ue.Success) return A.preventDefault();
7002
7002
  }), O = V(!1), N = L(() => {
7003
7003
  var A;
@@ -7039,7 +7039,7 @@ function il({ className: e, ...t }) {
7039
7039
  {
7040
7040
  ...t,
7041
7041
  "data-slot": "text",
7042
- className: Y(
7042
+ className: J(
7043
7043
  "gw-text-sm/6 gw-text-zinc-500 md:gw-text-base/6 dark:gw-text-zinc-400",
7044
7044
  e
7045
7045
  )
@@ -7051,7 +7051,7 @@ function h0({ className: e, ...t }) {
7051
7051
  Kr,
7052
7052
  {
7053
7053
  ...t,
7054
- className: Y(
7054
+ className: J(
7055
7055
  "gw-text-zinc-950 gw-underline gw-decoration-zinc-950/50 data-[hover]:gw-decoration-zinc-950 dark:gw-text-white dark:gw-decoration-white/50 dark:data-[hover]:decoration-white",
7056
7056
  e
7057
7057
  )
@@ -7063,7 +7063,7 @@ function b0({ className: e, ...t }) {
7063
7063
  "strong",
7064
7064
  {
7065
7065
  ...t,
7066
- className: Y(
7066
+ className: J(
7067
7067
  "gw-font-medium gw-text-zinc-950 dark:gw-text-white",
7068
7068
  e
7069
7069
  )
@@ -7075,7 +7075,7 @@ function v0({ className: e, ...t }) {
7075
7075
  "code",
7076
7076
  {
7077
7077
  ...t,
7078
- className: Y(
7078
+ className: J(
7079
7079
  "gw-rounded gw-border gw-border-zinc-950/10 gw-bg-zinc-950/[2.5%] gw-px-0.5 gw-text-sm gw-font-medium gw-text-zinc-950 sm:gw-text-[0.8125rem] dark:gw-border-white/20 dark:gw-bg-white/5 dark:gw-text-white",
7080
7080
  e
7081
7081
  )
@@ -7083,19 +7083,19 @@ function v0({ className: e, ...t }) {
7083
7083
  );
7084
7084
  }
7085
7085
  function x0({ className: e, children: t, ...r }) {
7086
- const n = j(() => Y("gw-text-3xl gw-font-bold", e), [e]);
7086
+ const n = j(() => J("gw-text-3xl gw-font-bold", e), [e]);
7087
7087
  return /* @__PURE__ */ d.jsx("h1", { className: n, ...r, children: t });
7088
7088
  }
7089
7089
  function y0({ className: e, children: t, ...r }) {
7090
- const n = j(() => Y("gw-text-2xl gw-font-bold", e), [e]);
7090
+ const n = j(() => J("gw-text-2xl gw-font-bold", e), [e]);
7091
7091
  return /* @__PURE__ */ d.jsx("h2", { className: n, ...r, children: t });
7092
7092
  }
7093
7093
  function E0({ className: e, children: t, ...r }) {
7094
- const n = j(() => Y("gw-text-xl gw-font-bold", e), [e]);
7094
+ const n = j(() => J("gw-text-xl gw-font-bold", e), [e]);
7095
7095
  return /* @__PURE__ */ d.jsx("h3", { className: n, ...r, children: t });
7096
7096
  }
7097
7097
  function A0({ className: e, children: t, ...r }) {
7098
- const n = j(() => Y("gw-text-lg gw-font-bold", e), [e]);
7098
+ const n = j(() => J("gw-text-lg gw-font-bold", e), [e]);
7099
7099
  return /* @__PURE__ */ d.jsx("h4", { className: n, ...r, children: t });
7100
7100
  }
7101
7101
  const qr = ue({
@@ -7117,14 +7117,14 @@ function S0({
7117
7117
  "div",
7118
7118
  {
7119
7119
  ...i,
7120
- className: Y(
7120
+ className: J(
7121
7121
  "gw--mx-[--gutter] gw-overflow-x-auto gw-whitespace-nowrap",
7122
7122
  o
7123
7123
  ),
7124
7124
  children: /* @__PURE__ */ d.jsx(
7125
7125
  "div",
7126
7126
  {
7127
- className: Y(
7127
+ className: J(
7128
7128
  "gw-inline-block gw-min-w-full gw-align-middle",
7129
7129
  !e && "sm:gw-px-[--gutter]"
7130
7130
  ),
@@ -7138,7 +7138,7 @@ function C0({ className: e, ...t }) {
7138
7138
  return /* @__PURE__ */ d.jsx(
7139
7139
  "thead",
7140
7140
  {
7141
- className: Y("gw-text-zinc-500 dark:gw-text-zinc-400", e),
7141
+ className: J("gw-text-zinc-500 dark:gw-text-zinc-400", e),
7142
7142
  ...t
7143
7143
  }
7144
7144
  );
@@ -7164,7 +7164,7 @@ function T0({
7164
7164
  "tr",
7165
7165
  {
7166
7166
  ...l,
7167
- className: Y(
7167
+ className: J(
7168
7168
  e && "has-[[data-row-link][data-focus]]:gw-outline has-[[data-row-link][data-focus]]:gw-outline-2 has-[[data-row-link][data-focus]]:gw--outline-offset-2 has-[[data-row-link][data-focus]]:gw-outline-blue-500 dark:focus-within:gw-bg-white/[2.5%]",
7169
7169
  i && "even:gw-bg-zinc-950/[2.5%] dark:even:gw-bg-white/[2.5%]",
7170
7170
  e && i && "hover:gw-bg-zinc-950/5 dark:hover:gw-bg-white/5",
@@ -7181,7 +7181,7 @@ function I0({ className: e, ...t }) {
7181
7181
  "th",
7182
7182
  {
7183
7183
  ...t,
7184
- className: Y(
7184
+ className: J(
7185
7185
  "gw-border-b gw-border-b-zinc-950/10 gw-px-4 gw-py-2 gw-font-medium first:gw-pl-[var(--gutter,theme(spacing.2))] last:gw-pr-[var(--gutter,theme(spacing.2))] dark:gw-border-b-white/10",
7186
7186
  n && "gw-border-l gw-border-l-zinc-950/5 first:gw-border-l-0 dark:gw-border-l-white/5",
7187
7187
  !r && "sm:first:gw-pl-2 sm:last:gw-pr-2",
@@ -7197,7 +7197,7 @@ function L0({ className: e, children: t, ...r }) {
7197
7197
  {
7198
7198
  ref: a ? w : void 0,
7199
7199
  ...r,
7200
- className: Y(
7200
+ className: J(
7201
7201
  "gw-relative gw-px-4 first:gw-pl-[var(--gutter,theme(spacing.2))] last:gw-pr-[var(--gutter,theme(spacing.2))]",
7202
7202
  !i && "gw-border-b gw-border-zinc-950/5 dark:gw-border-white/5",
7203
7203
  l && "gw-border-l gw-border-l-zinc-950/5 first:gw-border-l-0 dark:gw-border-l-white/5",
@@ -7223,7 +7223,7 @@ function L0({ className: e, children: t, ...r }) {
7223
7223
  );
7224
7224
  }
7225
7225
  function j0({ className: e, children: t, stretch: r = !1, ...n }) {
7226
- const o = j(() => Y(
7226
+ const o = j(() => J(
7227
7227
  "gw-w-full gw-p-3 gw-shadow gw-bg-white gw-rounded-md gw-border",
7228
7228
  r ? "gw-self-stretch" : "",
7229
7229
  e
@@ -7293,7 +7293,7 @@ const P0 = ({ type: e, className: t, ...r }) => {
7293
7293
  return /* @__PURE__ */ d.jsx(
7294
7294
  "div",
7295
7295
  {
7296
- className: Y(
7296
+ className: J(
7297
7297
  "gw-animate-pulse gw-rounded-md gw-bg-gray-400",
7298
7298
  n,
7299
7299
  t
@@ -7301,6 +7301,45 @@ const P0 = ({ type: e, className: t, ...r }) => {
7301
7301
  ...r
7302
7302
  }
7303
7303
  );
7304
+ }, D0 = ({
7305
+ progress: e,
7306
+ hideOnDone: t = !0,
7307
+ showProgress: r,
7308
+ bgColor: n = "gw-bg-blue-600",
7309
+ textColor: o = "gw-text-blue-100",
7310
+ className: l,
7311
+ baseDuration: i = 300,
7312
+ ...a
7313
+ }) => {
7314
+ if (typeof e != "number")
7315
+ throw new Error("Progress is expected to be a number!");
7316
+ return e < 0 && (e = 0), e > 100 && (e = 100), /* @__PURE__ */ d.jsx(
7317
+ "div",
7318
+ {
7319
+ className: J(
7320
+ "gw-w-full gw-bg-gray-200 gw-rounded-full dark:gw-bg-gray-700",
7321
+ t && e === 100 ? "gw-hidden" : ""
7322
+ ),
7323
+ children: /* @__PURE__ */ d.jsx(
7324
+ "div",
7325
+ {
7326
+ className: J(
7327
+ n,
7328
+ o,
7329
+ r && "gw-min-h-4",
7330
+ "gw-text-xs gw-font-medium gw-text-center gw-p-0.5 gw-leading-none gw-rounded-full",
7331
+ l
7332
+ ),
7333
+ style: {
7334
+ width: `${Math.round(e)}%`,
7335
+ transition: `width ${i}ms ease-in-out`
7336
+ },
7337
+ ...a,
7338
+ children: r && e > 5 ? `${e.toFixed(0)} %` : ""
7339
+ }
7340
+ )
7341
+ }
7342
+ );
7304
7343
  }, cf = (...e) => e.filter(Boolean).join(" ");
7305
7344
  function uf({ link: e, ...t }) {
7306
7345
  const [r, n] = Q(!1), o = cf(
@@ -7613,7 +7652,7 @@ const kf = [
7613
7652
  children: s,
7614
7653
  ...u
7615
7654
  }, c) {
7616
- let w = Y(
7655
+ let w = J(
7617
7656
  kf,
7618
7657
  // styles.base,
7619
7658
  // outline
@@ -7632,7 +7671,7 @@ const kf = [
7632
7671
  jl,
7633
7672
  {
7634
7673
  ...u,
7635
- className: Y(w, "cursor-default"),
7674
+ className: J(w, "cursor-default"),
7636
7675
  ref: c,
7637
7676
  children: /* @__PURE__ */ d.jsx(Er, { children: s })
7638
7677
  }
@@ -7728,7 +7767,7 @@ function Bf() {
7728
7767
  ] });
7729
7768
  }
7730
7769
  function zf({ links: e, title: t, subtitle: r, navRight: n, fluidNav: o }) {
7731
- const [l, i] = Q(!1), a = Y(
7770
+ const [l, i] = Q(!1), a = J(
7732
7771
  "gw-w-full gw-mx-auto gw-px-4 gw-box-border",
7733
7772
  o ? "gw-max-w-screen" : "gw-max-w-screen-2xl"
7734
7773
  );
@@ -8129,7 +8168,7 @@ function za(e, t, r = 0) {
8129
8168
  ) })
8130
8169
  ] }, e.id);
8131
8170
  }
8132
- function D0({
8171
+ function N0({
8133
8172
  title: e = "Contents",
8134
8173
  selectedPath: t,
8135
8174
  sidebarLinks: r,
@@ -8181,7 +8220,7 @@ function r0(...e) {
8181
8220
  return e.filter(Boolean).join(" ");
8182
8221
  }
8183
8222
  const n0 = ({ fluidNav: e }) => {
8184
- const [t, r] = Q(!1), n = Y(
8223
+ const [t, r] = Q(!1), n = J(
8185
8224
  "header_banner_inner sm:gw-my-0 sm:gw-mx-auto sm:gw-font-sm",
8186
8225
  e ? "gw-max-w-screen" : "gw-px-4 gw-max-w-screen-2xl"
8187
8226
  );
@@ -8368,7 +8407,7 @@ function a0({ warningTimeout: e }) {
8368
8407
  }
8369
8408
  );
8370
8409
  }
8371
- function N0({
8410
+ function R0({
8372
8411
  children: e,
8373
8412
  navRight: t = void 0,
8374
8413
  showFooter: r = !0,
@@ -8432,7 +8471,7 @@ function N0({
8432
8471
  D && /* @__PURE__ */ d.jsx(a0, { warningTimeout: B })
8433
8472
  ] });
8434
8473
  }
8435
- function R0({ onClick: e }) {
8474
+ function M0({ onClick: e }) {
8436
8475
  return /* @__PURE__ */ d.jsx(
8437
8476
  qe,
8438
8477
  {
@@ -8444,13 +8483,13 @@ function R0({ onClick: e }) {
8444
8483
  }
8445
8484
  );
8446
8485
  }
8447
- function M0({ onOk: e, onCancel: t }) {
8486
+ function F0({ onOk: e, onCancel: t }) {
8448
8487
  return /* @__PURE__ */ d.jsxs("div", { className: "gw-flex gw-gap-2", children: [
8449
8488
  /* @__PURE__ */ d.jsx(qe, { color: "emerald", onClick: e, children: "Ok" }),
8450
8489
  /* @__PURE__ */ d.jsx(qe, { color: "white", onClick: t, children: "Cancel" })
8451
8490
  ] });
8452
8491
  }
8453
- function F0({ onDelete: e, alignConfirm: t = "right" }) {
8492
+ function H0({ onDelete: e, alignConfirm: t = "right" }) {
8454
8493
  const [r, n] = Q(!1), o = () => {
8455
8494
  n(!0);
8456
8495
  }, l = () => {
@@ -8553,7 +8592,7 @@ function c0({ value: e, onChange: t, placeholder: r = "Search", ...n }) {
8553
8592
  }
8554
8593
  );
8555
8594
  }
8556
- function H0({ accessKey: e, affiliate: t, placeholder: r, ...n }) {
8595
+ function B0({ accessKey: e, affiliate: t, placeholder: r, ...n }) {
8557
8596
  const [o, l] = Q([]), i = (a) => {
8558
8597
  a.key === "Enter" && (window.location = `https://search.usa.gov/search?affiliate=${t}&access_key=${e}&query=${o}`), a.key === "Escape" && l("");
8559
8598
  };
@@ -8569,7 +8608,7 @@ function H0({ accessKey: e, affiliate: t, placeholder: r, ...n }) {
8569
8608
  }
8570
8609
  );
8571
8610
  }
8572
- function B0({ title: e, subtitle: t, image: r, alt: n, children: o, duration_ms: l = 12e3, imgHeight: i, imgWidth: a, opacity: s = 0.5 }) {
8611
+ function z0({ title: e, subtitle: t, image: r, alt: n, children: o, duration_ms: l = 12e3, imgHeight: i, imgWidth: a, opacity: s = 0.5 }) {
8573
8612
  const u = Array.isArray(r), c = Array.isArray(n), [w, f] = Q(u ? r[0] : r), [g, p] = Q(c ? n[0] : n);
8574
8613
  function h(b) {
8575
8614
  return Math.floor(Math.random() * b);
@@ -8607,8 +8646,8 @@ function B0({ title: e, subtitle: t, image: r, alt: n, children: o, duration_ms:
8607
8646
  function u0(e) {
8608
8647
  return je({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z" }, child: [] }] })(e);
8609
8648
  }
8610
- function z0({ className: e, href: t, text: r }) {
8611
- const n = j(() => Y(
8649
+ function U0({ className: e, href: t, text: r }) {
8650
+ const n = j(() => J(
8612
8651
  "gw-text-gray-300 hover:gw-text-gray-500 last:gw-text-gray-900",
8613
8652
  e
8614
8653
  ), [e]);
@@ -8631,8 +8670,8 @@ function z0({ className: e, href: t, text: r }) {
8631
8670
  )
8632
8671
  ] }) });
8633
8672
  }
8634
- function U0({ className: e, children: t }) {
8635
- const r = j(() => Y(
8673
+ function V0({ className: e, children: t }) {
8674
+ const r = j(() => J(
8636
8675
  "gw-flex gw-flex-nowrap gw-items-center gw-space-x-2 gw-py-4 gw-overflow-x-auto gw-hide-scrollbar",
8637
8676
  e
8638
8677
  ), [e]);
@@ -8644,13 +8683,13 @@ function U0({ className: e, children: t }) {
8644
8683
  t
8645
8684
  ] });
8646
8685
  }
8647
- function V0({ tabs: e, fill: t = !1 }) {
8686
+ function X0({ tabs: e, fill: t = !1 }) {
8648
8687
  return /* @__PURE__ */ d.jsxs(Ut.Group, { defaultIndex: 0, children: [
8649
8688
  /* @__PURE__ */ d.jsx(Ut.List, { className: "gw-flex gw-flex-wrap gw-gap-x-1 gw-text-gray-500 gw-font-semibold gw-border-b-2 gw-border-gray-300", children: e.map((r, n) => /* @__PURE__ */ d.jsx(
8650
8689
  Ut,
8651
8690
  {
8652
8691
  onClick: typeof r.onClick == "function" ? r.onClick : void 0,
8653
- className: ({ selected: o }) => Y("gw-px-4 gw-py-2 gw-shadow hover:gw-bg-gray-100", t ? "gw-flex-auto" : "", o ? "gw-bg-gray-50" : ""),
8692
+ className: ({ selected: o }) => J("gw-px-4 gw-py-2 gw-shadow hover:gw-bg-gray-100", t ? "gw-flex-auto" : "", o ? "gw-bg-gray-50" : ""),
8654
8693
  children: /* @__PURE__ */ d.jsxs(
8655
8694
  "span",
8656
8695
  {
@@ -8689,21 +8728,21 @@ const d0 = {
8689
8728
  zinc: "gw-bg-zinc-600/10 gw-text-zinc-700 group-data-[hover]:gw-bg-zinc-600/20 dark:gw-bg-white/5 dark:gw-text-zinc-400 dark:group-data-[hover]:gw-bg-white/10"
8690
8729
  };
8691
8730
  function gl({ color: e = "zinc", className: t, ...r }) {
8692
- const n = j(() => Y(
8731
+ const n = j(() => J(
8693
8732
  "gw-inline-flex gw-items-center gw-gap-x-1.5 gw-rounded-md gw-px-1.5 gw-py-0.5 gw-text-sm/5 gw-font-medium sm:gw-text-xs/5 forced-colors:gw-outline",
8694
8733
  d0[e],
8695
8734
  t
8696
8735
  ), [t]);
8697
8736
  return /* @__PURE__ */ d.jsx("span", { ...r, className: n });
8698
8737
  }
8699
- const X0 = E.forwardRef(function({ color: t = "zinc", className: r, children: n, ...o }, l) {
8700
- const i = j(() => Y(
8738
+ const W0 = E.forwardRef(function({ color: t = "zinc", className: r, children: n, ...o }, l) {
8739
+ const i = j(() => J(
8701
8740
  "gw-group gw-relative gw-inline-flex gw-rounded-md focus:gw-outline-none data-[focus]:gw-outline data-[focus]:gw-outline-2 data-[focus]:gw-outline-offset-2 data-[focus]:gw-outline-blue-500",
8702
8741
  r
8703
8742
  ), [r]);
8704
8743
  return "href" in o ? /* @__PURE__ */ d.jsx(Kr, { ...o, className: i, ref: l, children: /* @__PURE__ */ d.jsx(Er, { children: /* @__PURE__ */ d.jsx(gl, { color: t, children: n }) }) }) : /* @__PURE__ */ d.jsx(jl, { ...o, className: i, ref: l, children: /* @__PURE__ */ d.jsx(Er, { children: /* @__PURE__ */ d.jsx(gl, { color: t, children: n }) }) });
8705
8744
  });
8706
- function W0({
8745
+ function G0({
8707
8746
  heading: e,
8708
8747
  defaultOpen: t = !1,
8709
8748
  unmountOnClose: r = !1,
@@ -8714,7 +8753,7 @@ function W0({
8714
8753
  /* @__PURE__ */ d.jsxs(
8715
8754
  fn.Button,
8716
8755
  {
8717
- className: Y(
8756
+ className: J(
8718
8757
  "gw-flex gw-justify-between gw-items-center gw-w-full gw-shadow gw-px-3 gw-py-2 gw-text-sm gw-font-semibold gw-text-gray-500 gw-bg-gray-50 hover:gw-bg-gray-100",
8719
8758
  l ? "gw-rounded-t" : "gw-rounded",
8720
8759
  n
@@ -8735,12 +8774,12 @@ function W0({
8735
8774
  )
8736
8775
  ] }) });
8737
8776
  }
8738
- const g0 = ["date", "datetime-local", "month", "time", "week"], G0 = Ar(function({ className: t, ...r }, n) {
8777
+ const g0 = ["date", "datetime-local", "month", "time", "week"], Q0 = Ar(function({ className: t, ...r }, n) {
8739
8778
  return /* @__PURE__ */ d.jsx(
8740
8779
  "span",
8741
8780
  {
8742
8781
  "data-slot": "control",
8743
- className: Y([
8782
+ className: J([
8744
8783
  t,
8745
8784
  // Basic layout
8746
8785
  "gw-relative gw-block gw-w-full",
@@ -8759,7 +8798,7 @@ const g0 = ["date", "datetime-local", "month", "time", "week"], G0 = Ar(function
8759
8798
  Dd,
8760
8799
  {
8761
8800
  ref: n,
8762
- className: Y([
8801
+ className: J([
8763
8802
  // Date classes
8764
8803
  r.type && g0.includes(r.type) && [
8765
8804
  "[&::-webkit-datetime-edit-fields-wrapper]:gw-p-0",
@@ -8796,26 +8835,26 @@ const g0 = ["date", "datetime-local", "month", "time", "week"], G0 = Ar(function
8796
8835
  }
8797
8836
  );
8798
8837
  });
8799
- function Q0({ className: e, ...t }) {
8800
- const r = j(() => Y(
8838
+ function K0({ className: e, ...t }) {
8839
+ const r = j(() => J(
8801
8840
  "[&>*+[data-slot=control]]:gw-mt-6 [&>[data-slot=text]]:gw-mt-1",
8802
8841
  e
8803
8842
  ), [e]);
8804
8843
  return /* @__PURE__ */ d.jsx(jd, { ...t, className: r });
8805
8844
  }
8806
- function K0({ ...e }) {
8807
- const t = j(() => Y(
8845
+ function q0({ ...e }) {
8846
+ const t = j(() => J(
8808
8847
  "gw-text-base/6 gw-font-semibold gw-text-zinc-950 data-[disabled]:gw-opacity-50 sm:gw-text-sm/6 dark:gw-text-white",
8809
8848
  e.className
8810
8849
  ), [e.className]);
8811
8850
  return /* @__PURE__ */ d.jsx(Rd, { ...e, "data-slot": "legend", className: t });
8812
8851
  }
8813
- function q0({ className: e, ...t }) {
8814
- const r = j(() => Y("gw-space-y-8", e), [e]);
8852
+ function Z0({ className: e, ...t }) {
8853
+ const r = j(() => J("gw-space-y-8", e), [e]);
8815
8854
  return /* @__PURE__ */ d.jsx("div", { ...t, "data-slot": "control", className: r });
8816
8855
  }
8817
- function Z0({ className: e, ...t }) {
8818
- const r = j(() => Y(
8856
+ function J0({ className: e, ...t }) {
8857
+ const r = j(() => J(
8819
8858
  "[&>[data-slot=label]+[data-slot=control]]:gw-mt-3",
8820
8859
  "[&>[data-slot=label]+[data-slot=description]]:gw-mt-1",
8821
8860
  "[&>[data-slot=description]+[data-slot=control]]:gw-mt-3",
@@ -8826,15 +8865,15 @@ function Z0({ className: e, ...t }) {
8826
8865
  ), [e]);
8827
8866
  return /* @__PURE__ */ d.jsx(Td, { className: r, ...t });
8828
8867
  }
8829
- function J0({ className: e, ...t }) {
8830
- const r = j(() => Y(
8868
+ function Y0({ className: e, ...t }) {
8869
+ const r = j(() => J(
8831
8870
  "gw-select-none gw-text-base/6 gw-text-zinc-950 data-[disabled]:gw-opacity-50 sm:gw-text-sm/6 dark:gw-text-white",
8832
8871
  e
8833
8872
  ), [e]);
8834
8873
  return /* @__PURE__ */ d.jsx(Rl, { ...t, "data-slot": "label", className: r });
8835
8874
  }
8836
- function Y0({ className: e, disabled: t, ...r }) {
8837
- const n = j(() => Y(
8875
+ function $0({ className: e, disabled: t, ...r }) {
8876
+ const n = j(() => J(
8838
8877
  "gw-text-base/6 gw-text-zinc-500 data-[disabled]:gw-opacity-50 sm:gw-text-sm/6 dark:gw-text-zinc-400",
8839
8878
  e
8840
8879
  ), [e]);
@@ -8847,8 +8886,8 @@ function Y0({ className: e, disabled: t, ...r }) {
8847
8886
  }
8848
8887
  );
8849
8888
  }
8850
- function $0({ className: e, disabled: t, ...r }) {
8851
- const n = j(() => Y(
8889
+ function _0({ className: e, disabled: t, ...r }) {
8890
+ const n = j(() => J(
8852
8891
  "gw-text-base/6 gw-text-red-600 data-[disabled]:gw-opacity-50 sm:gw-text-sm/6 dark:gw-text-red-500",
8853
8892
  e
8854
8893
  ), [e]);
@@ -8861,12 +8900,12 @@ function $0({ className: e, disabled: t, ...r }) {
8861
8900
  }
8862
8901
  );
8863
8902
  }
8864
- const _0 = Ar(function({ className: t, resizable: r = !0, ...n }, o) {
8903
+ const ew = Ar(function({ className: t, resizable: r = !0, ...n }, o) {
8865
8904
  return /* @__PURE__ */ d.jsx(
8866
8905
  "span",
8867
8906
  {
8868
8907
  "data-slot": "control",
8869
- className: Y([
8908
+ className: J([
8870
8909
  t,
8871
8910
  // Basic layout
8872
8911
  "gw-relative gw-block gw-w-full",
@@ -8883,7 +8922,7 @@ const _0 = Ar(function({ className: t, resizable: r = !0, ...n }, o) {
8883
8922
  lf,
8884
8923
  {
8885
8924
  ref: o,
8886
- className: Y([
8925
+ className: J([
8887
8926
  // Basic layout
8888
8927
  "gw-relative gw-block gw-h-full gw-w-full gw-appearance-none gw-rounded-lg gw-px-[calc(theme(spacing[3.5])-1px)] gw-py-[calc(theme(spacing[2.5])-1px)] sm:gw-px-[calc(theme(spacing.3)-1px)] sm:gw-py-[calc(theme(spacing[1.5])-1px)]",
8889
8928
  // Typography
@@ -8908,40 +8947,41 @@ const _0 = Ar(function({ className: t, resizable: r = !0, ...n }, o) {
8908
8947
  );
8909
8948
  });
8910
8949
  export {
8911
- W0 as Accordion,
8950
+ G0 as Accordion,
8912
8951
  gl as Badge,
8913
- X0 as BadgeButton,
8914
- z0 as BreadcrumbItem,
8915
- U0 as Breadcrumbs,
8952
+ W0 as BadgeButton,
8953
+ U0 as BreadcrumbItem,
8954
+ V0 as Breadcrumbs,
8916
8955
  qe as Button,
8917
8956
  j0 as Card,
8918
8957
  v0 as Code,
8919
8958
  bl as Container,
8920
- F0 as DeleteConfirm,
8921
- Y0 as Description,
8959
+ H0 as DeleteConfirm,
8960
+ $0 as Description,
8922
8961
  Yf as Dropdown,
8923
- $0 as ErrorMessage,
8924
- Z0 as Field,
8925
- q0 as FieldGroup,
8926
- Q0 as Fieldset,
8962
+ _0 as ErrorMessage,
8963
+ J0 as Field,
8964
+ Z0 as FieldGroup,
8965
+ K0 as Fieldset,
8927
8966
  Zf as Footer,
8928
8967
  x0 as H1,
8929
8968
  y0 as H2,
8930
8969
  E0 as H3,
8931
8970
  A0 as H4,
8932
8971
  zf as Header,
8933
- B0 as Hero,
8934
- G0 as Input,
8935
- J0 as Label,
8936
- K0 as Legend,
8937
- R0 as LoginButton,
8938
- M0 as OkCancel,
8972
+ z0 as Hero,
8973
+ Q0 as Input,
8974
+ Y0 as Label,
8975
+ q0 as Legend,
8976
+ M0 as LoginButton,
8977
+ F0 as OkCancel,
8939
8978
  i0 as PopoutMenu,
8940
8979
  O0 as ProfileDropdown,
8980
+ D0 as ProgressBar,
8941
8981
  c0 as Search,
8942
- H0 as SearchDotGov,
8943
- D0 as Sidebar,
8944
- N0 as SiteWrapper,
8982
+ B0 as SearchDotGov,
8983
+ N0 as Sidebar,
8984
+ R0 as SiteWrapper,
8945
8985
  P0 as Skeleton,
8946
8986
  b0 as Strong,
8947
8987
  S0 as Table,
@@ -8950,12 +8990,12 @@ export {
8950
8990
  C0 as TableHead,
8951
8991
  I0 as TableHeader,
8952
8992
  T0 as TableRow,
8953
- V0 as Tabs,
8993
+ X0 as Tabs,
8954
8994
  il as Text,
8955
8995
  h0 as TextLink,
8956
- _0 as Textarea,
8996
+ ew as Textarea,
8957
8997
  Er as TouchTarget,
8958
8998
  n0 as USABanner,
8959
8999
  No as UsaceBox,
8960
- Y as gwMerge
9000
+ J as gwMerge
8961
9001
  };