@handamade/psi-react 0.23.0 → 0.25.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.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { jsx as t, jsxs as _, Fragment as ie } from "react/jsx-runtime";
2
- import { Children as q, useId as R, isValidElement as Y, Fragment as pe, cloneElement as de, createContext as Z, useContext as j, useRef as L, useEffect as C, useState as se, useCallback as w, useMemo as ae, useLayoutEffect as qe } from "react";
3
- const Re = "_button_a3yli_3", He = "_disabled_a3yli_30", Ve = "_size24_a3yli_50", Oe = "_size32_a3yli_63", Fe = "_size40_a3yli_76", Ke = "_size48_a3yli_89", Ue = "_accent_a3yli_105", Ge = "_accentSubtle_a3yli_117", Ye = "_neutral_a3yli_129", Ze = "_neutralSubtle_a3yli_141", Xe = "_ghost_a3yli_153", Je = "_danger_a3yli_165", Qe = "_dangerSubtle_a3yli_177", en = "_outline_a3yli_189", B = {
1
+ import { jsx as t, jsxs as _, Fragment as se } from "react/jsx-runtime";
2
+ import { Children as P, useId as R, isValidElement as Y, Fragment as pe, cloneElement as de, createContext as Z, useContext as j, useRef as L, useEffect as C, useState as ae, useCallback as x, useMemo as ce, useLayoutEffect as Pe } from "react";
3
+ const Re = "_button_1rxq8_3", He = "_disabled_1rxq8_45", Ve = "_size24_1rxq8_70", Oe = "_size32_1rxq8_88", Fe = "_size40_1rxq8_106", Ke = "_size48_1rxq8_124", Ue = "_accent_1rxq8_145", Ge = "_accentSubtle_1rxq8_157", Ye = "_neutral_1rxq8_169", Ze = "_neutralSubtle_1rxq8_181", Xe = "_ghost_1rxq8_193", Je = "_danger_1rxq8_205", Qe = "_dangerSubtle_1rxq8_217", en = "_outline_1rxq8_229", B = {
4
4
  button: Re,
5
5
  disabled: He,
6
6
  size24: Ve,
@@ -30,7 +30,7 @@ const Re = "_button_a3yli_3", He = "_disabled_a3yli_30", Ve = "_size24_a3yli_50"
30
30
  40: B.size40,
31
31
  48: B.size48
32
32
  };
33
- function ce({
33
+ function le({
34
34
  variant: e = "neutral",
35
35
  size: n = 32,
36
36
  href: i,
@@ -136,15 +136,15 @@ function te({
136
136
  }
137
137
  );
138
138
  }
139
- const gn = "_card_1btb3_1", mn = "_stacked_1btb3_8", bn = "_featured_1btb3_10", vn = "_media_1btb3_22", yn = "_body_1btb3_23", wn = "_hoverLift_1btb3_31", H = {
139
+ const gn = "_card_1btb3_1", mn = "_stacked_1btb3_8", bn = "_featured_1btb3_10", vn = "_media_1btb3_22", yn = "_body_1btb3_23", xn = "_hoverLift_1btb3_31", H = {
140
140
  card: gn,
141
141
  stacked: mn,
142
142
  featured: bn,
143
143
  media: vn,
144
144
  body: yn,
145
- hoverLift: wn
145
+ hoverLift: xn
146
146
  };
147
- function Or({
147
+ function Fr({
148
148
  variant: e = "stacked",
149
149
  media: n,
150
150
  hoverLift: i = !1,
@@ -164,21 +164,21 @@ function Or({
164
164
  /* @__PURE__ */ t("div", { className: H.body, children: s })
165
165
  ] });
166
166
  }
167
- const xn = "_panel_jn8w4_1", kn = "_padding16_jn8w4_8", ke = {
168
- panel: xn,
167
+ const wn = "_panel_jn8w4_1", kn = "_padding16_jn8w4_8", ke = {
168
+ panel: wn,
169
169
  padding16: kn
170
170
  };
171
- function Fr({ padding: e = 24, className: n, children: i, ref: a, ...s }) {
171
+ function Kr({ padding: e = 24, className: n, children: i, ref: a, ...s }) {
172
172
  const r = [ke.panel, e === 16 ? ke.padding16 : void 0, n].filter(Boolean).join(" ");
173
173
  return /* @__PURE__ */ t("div", { ref: a, className: r, ...s, children: i });
174
174
  }
175
- const Nn = "_list_1lh3q_8", $n = "_item_1lh3q_26", Bn = "_term_1lh3q_44", Ln = "_value_1lh3q_50", re = {
175
+ const Nn = "_list_1lh3q_8", $n = "_item_1lh3q_26", Bn = "_term_1lh3q_44", Ln = "_value_1lh3q_50", ie = {
176
176
  list: Nn,
177
177
  item: $n,
178
178
  term: Bn,
179
179
  value: Ln
180
180
  };
181
- function Kr({
181
+ function Ur({
182
182
  layout: e = "stacked",
183
183
  gap: n = 12,
184
184
  className: i,
@@ -190,7 +190,7 @@ function Kr({
190
190
  "dl",
191
191
  {
192
192
  ref: s,
193
- className: [re.list, i].filter(Boolean).join(" "),
193
+ className: [ie.list, i].filter(Boolean).join(" "),
194
194
  "data-layout": e,
195
195
  "data-gap": n,
196
196
  ...r,
@@ -198,10 +198,10 @@ function Kr({
198
198
  }
199
199
  );
200
200
  }
201
- function Ur({ term: e, className: n, children: i, ref: a, ...s }) {
202
- return /* @__PURE__ */ _("div", { ref: a, className: [re.item, n].filter(Boolean).join(" "), ...s, children: [
203
- /* @__PURE__ */ t("dt", { className: re.term, children: e }),
204
- /* @__PURE__ */ t("dd", { className: re.value, children: i })
201
+ function Gr({ term: e, className: n, children: i, ref: a, ...s }) {
202
+ return /* @__PURE__ */ _("div", { ref: a, className: [ie.item, n].filter(Boolean).join(" "), ...s, children: [
203
+ /* @__PURE__ */ t("dt", { className: ie.term, children: e }),
204
+ /* @__PURE__ */ t("dd", { className: ie.value, children: i })
205
205
  ] });
206
206
  }
207
207
  const Cn = "_navbar_1w24e_1", Sn = "_inner_1w24e_12", jn = "_fluid_1w24e_20", Tn = "_brand_1w24e_22", zn = "_links_1w24e_23", In = "_actions_1w24e_53", V = {
@@ -212,59 +212,59 @@ const Cn = "_navbar_1w24e_1", Sn = "_inner_1w24e_12", jn = "_fluid_1w24e_20", Tn
212
212
  links: zn,
213
213
  actions: In
214
214
  };
215
- function Gr({ brand: e, actions: n, children: i, navLabel: a, fluid: s = !1, className: r, ref: o, ...c }) {
216
- const d = [V.navbar, r].filter(Boolean).join(" "), l = q.toArray(i).length > 0;
215
+ function Yr({ brand: e, actions: n, children: i, navLabel: a, fluid: s = !1, className: r, ref: o, ...c }) {
216
+ const d = [V.navbar, r].filter(Boolean).join(" "), l = P.toArray(i).length > 0;
217
217
  return /* @__PURE__ */ t("header", { ref: o, className: d, ...c, children: /* @__PURE__ */ _("div", { className: `${s ? V.fluid : "psi-container"} ${V.inner}`, children: [
218
218
  e != null && /* @__PURE__ */ t("div", { className: V.brand, children: e }),
219
219
  l && /* @__PURE__ */ t("nav", { className: V.links, "aria-label": a, children: i }),
220
220
  n != null && /* @__PURE__ */ t("div", { className: V.actions, children: n })
221
221
  ] }) });
222
222
  }
223
- const En = "_skipLink_1fn0y_4", An = {
223
+ const En = "_skipLink_1fn0y_4", qn = {
224
224
  skipLink: En
225
225
  };
226
- function Yr({ className: e, ref: n, children: i, ...a }) {
227
- const s = [An.skipLink, e].filter(Boolean).join(" ");
226
+ function Zr({ className: e, ref: n, children: i, ...a }) {
227
+ const s = [qn.skipLink, e].filter(Boolean).join(" ");
228
228
  return /* @__PURE__ */ t("a", { ref: n, className: s, ...a, children: i });
229
229
  }
230
- const Mn = "_navTree_y5m3t_7", Wn = "_list_y5m3t_11", Dn = "_groupList_y5m3t_12", Pn = "_item_y5m3t_23", qn = "_groupButton_y5m3t_70", Rn = "_groupLabel_y5m3t_99", Hn = "_chevron_y5m3t_103", D = {
230
+ const Mn = "_navTree_1ktoe_7", An = "_list_1ktoe_11", Wn = "_groupList_1ktoe_12", Dn = "_item_1ktoe_23", Pn = "_groupButton_1ktoe_79", Rn = "_groupLabel_1ktoe_108", Hn = "_chevron_1ktoe_112", W = {
231
231
  navTree: Mn,
232
- list: Wn,
233
- groupList: Dn,
234
- item: Pn,
235
- groupButton: qn,
232
+ list: An,
233
+ groupList: Wn,
234
+ item: Dn,
235
+ groupButton: Pn,
236
236
  groupLabel: Rn,
237
237
  chevron: Hn
238
238
  };
239
- function Zr({ children: e, className: n, ref: i, ...a }) {
240
- const s = [D.navTree, n].filter(Boolean).join(" ");
241
- return /* @__PURE__ */ t("nav", { ref: i, className: s, ...a, children: /* @__PURE__ */ t("ul", { className: D.list, children: e }) });
239
+ function Xr({ children: e, className: n, ref: i, ...a }) {
240
+ const s = [W.navTree, n].filter(Boolean).join(" ");
241
+ return /* @__PURE__ */ t("nav", { ref: i, className: s, ...a, children: /* @__PURE__ */ t("ul", { className: W.list, children: e }) });
242
242
  }
243
243
  function Vn({ size: e = 20, ...n }) {
244
244
  return /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: /* @__PURE__ */ t("polyline", { points: "6 9 12 15 18 9" }) });
245
245
  }
246
- function Xr({ label: e, open: n, onOpenChange: i, children: a, className: s }) {
247
- const r = R(), o = [D.group, s].filter(Boolean).join(" ");
246
+ function Jr({ label: e, open: n, onOpenChange: i, children: a, className: s }) {
247
+ const r = R(), o = [W.group, s].filter(Boolean).join(" ");
248
248
  return /* @__PURE__ */ _("li", { className: o, children: [
249
249
  /* @__PURE__ */ _(
250
250
  "button",
251
251
  {
252
252
  type: "button",
253
- className: D.groupButton,
253
+ className: W.groupButton,
254
254
  "aria-expanded": n,
255
255
  "aria-controls": r,
256
256
  onClick: () => i(!n),
257
257
  children: [
258
- /* @__PURE__ */ t("span", { className: D.groupLabel, children: e }),
259
- /* @__PURE__ */ t(Vn, { size: 16, className: D.chevron, "aria-hidden": "true" })
258
+ /* @__PURE__ */ t("span", { className: W.groupLabel, children: e }),
259
+ /* @__PURE__ */ t(Vn, { size: 16, className: W.chevron, "aria-hidden": "true" })
260
260
  ]
261
261
  }
262
262
  ),
263
- /* @__PURE__ */ t("ul", { id: r, className: D.groupList, hidden: !n, children: a })
263
+ /* @__PURE__ */ t("ul", { id: r, className: W.groupList, hidden: !n, children: a })
264
264
  ] });
265
265
  }
266
- function Jr({ children: e, href: n, current: i, className: a, ref: s, ...r }) {
267
- const o = [D.item, a].filter(Boolean).join(" "), c = n === void 0 && i && Y(e) && e.type !== pe ? e : null;
266
+ function Qr({ children: e, href: n, current: i, className: a, ref: s, ...r }) {
267
+ const o = [W.item, a].filter(Boolean).join(" "), c = n === void 0 && i && Y(e) && e.type !== pe ? e : null;
268
268
  return /* @__PURE__ */ t("li", { ref: s, className: o, ...r, children: n !== void 0 ? /* @__PURE__ */ t("a", { href: n, "aria-current": i ? "page" : void 0, children: e }) : c ? de(c, { "aria-current": "page" }) : e });
269
269
  }
270
270
  const On = "_appShell_i1tds_10", Fn = "_sidebarClosed_i1tds_18", Kn = "_header_i1tds_22", Un = "_sidebar_i1tds_18", Gn = "_main_i1tds_45", Q = {
@@ -274,7 +274,7 @@ const On = "_appShell_i1tds_10", Fn = "_sidebarClosed_i1tds_18", Kn = "_header_i
274
274
  sidebar: Un,
275
275
  main: Gn
276
276
  };
277
- function Qr({
277
+ function ei({
278
278
  skipLink: e,
279
279
  header: n,
280
280
  sidebar: i,
@@ -298,11 +298,11 @@ function Qr({
298
298
  const Yn = "_frame_et4fc_1", Zn = {
299
299
  frame: Yn
300
300
  };
301
- function ei({ ratio: e, className: n, style: i, children: a, ref: s, ...r }) {
301
+ function ni({ ratio: e, className: n, style: i, children: a, ref: s, ...r }) {
302
302
  const o = [Zn.frame, n].filter(Boolean).join(" ");
303
303
  return /* @__PURE__ */ t("div", { ref: s, className: o, style: { aspectRatio: String(e), ...i }, ...r, children: a });
304
304
  }
305
- const Xn = "_field_x989o_1", Jn = "_label_x989o_10", Qn = "_marker_x989o_19", et = "_requiredText_x989o_25", nt = "_message_x989o_30", tt = "_invalid_x989o_36", P = {
305
+ const Xn = "_field_x989o_1", Jn = "_label_x989o_10", Qn = "_marker_x989o_19", et = "_requiredText_x989o_25", nt = "_message_x989o_30", tt = "_invalid_x989o_36", D = {
306
306
  field: Xn,
307
307
  label: Jn,
308
308
  marker: Qn,
@@ -310,7 +310,7 @@ const Xn = "_field_x989o_1", Jn = "_label_x989o_10", Qn = "_marker_x989o_19", et
310
310
  message: nt,
311
311
  invalid: tt
312
312
  }, ue = Z(null);
313
- function ni({
313
+ function ti({
314
314
  label: e,
315
315
  description: n,
316
316
  error: i,
@@ -324,29 +324,29 @@ function ni({
324
324
  ref: u,
325
325
  ...h
326
326
  }) {
327
- const f = R(), g = o ?? f, b = !!i, v = b ? i : n, N = v != null && v !== !1 ? `${g}-message` : void 0, y = e != null && !r ? `${g}-label` : void 0, x = [P.field, b && P.invalid, d].filter(Boolean).join(" "), A = e != null ? /* @__PURE__ */ _(ie, { children: [
327
+ const f = R(), g = o ?? f, b = !!i, v = b ? i : n, N = v != null && v !== !1 ? `${g}-message` : void 0, y = e != null && !r ? `${g}-label` : void 0, w = [D.field, b && D.invalid, d].filter(Boolean).join(" "), q = e != null ? /* @__PURE__ */ _(se, { children: [
328
328
  e,
329
- a && (s !== void 0 ? /* @__PURE__ */ _("span", { "aria-hidden": "true", className: P.requiredText, children: [
329
+ a && (s !== void 0 ? /* @__PURE__ */ _("span", { "aria-hidden": "true", className: D.requiredText, children: [
330
330
  " ",
331
331
  s
332
- ] }) : /* @__PURE__ */ t("span", { "aria-hidden": "true", className: P.marker, children: " *" }))
333
- ] }) : null, J = /* @__PURE__ */ _(ie, { children: [
334
- A != null && (r ? /* @__PURE__ */ t("legend", { className: P.label, children: A }) : /* @__PURE__ */ t("label", { id: y, className: P.label, htmlFor: g, children: A })),
332
+ ] }) : /* @__PURE__ */ t("span", { "aria-hidden": "true", className: D.marker, children: " *" }))
333
+ ] }) : null, J = /* @__PURE__ */ _(se, { children: [
334
+ q != null && (r ? /* @__PURE__ */ t("legend", { className: D.label, children: q }) : /* @__PURE__ */ t("label", { id: y, className: D.label, htmlFor: g, children: q })),
335
335
  /* @__PURE__ */ t(ue.Provider, { value: { id: g, labelId: y, describedBy: N, invalid: b, required: a }, children: l }),
336
- N && /* @__PURE__ */ t("p", { id: N, className: P.message, "aria-live": c ? "polite" : void 0, children: v })
336
+ N && /* @__PURE__ */ t("p", { id: N, className: D.message, "aria-live": c ? "polite" : void 0, children: v })
337
337
  ] });
338
338
  return r ? /* @__PURE__ */ t(
339
339
  "fieldset",
340
340
  {
341
341
  ref: u,
342
- className: x,
342
+ className: w,
343
343
  "aria-describedby": N,
344
344
  ...h,
345
345
  children: J
346
346
  }
347
- ) : /* @__PURE__ */ t("div", { ref: u, className: x, ...h, children: J });
347
+ ) : /* @__PURE__ */ t("div", { ref: u, className: w, ...h, children: J });
348
348
  }
349
- function ti() {
349
+ function oi() {
350
350
  const e = j(ue);
351
351
  return e ? {
352
352
  id: e.id,
@@ -356,13 +356,13 @@ function ti() {
356
356
  ...e.required ? { "aria-required": !0, required: !0 } : {}
357
357
  } : {};
358
358
  }
359
- function oi({ size: e = 20, ...n }) {
359
+ function ri({ size: e = 20, ...n }) {
360
360
  return /* @__PURE__ */ _("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
361
361
  /* @__PURE__ */ t("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
362
362
  /* @__PURE__ */ t("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
363
363
  ] });
364
364
  }
365
- function ri({ size: e = 20, ...n }) {
365
+ function ii({ size: e = 20, ...n }) {
366
366
  return /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: /* @__PURE__ */ t("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) });
367
367
  }
368
368
  function me({ size: e = 20, ...n }) {
@@ -380,31 +380,31 @@ function rt({ size: e = 20, ...n }) {
380
380
  function it({ size: e = 20, ...n }) {
381
381
  return /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: /* @__PURE__ */ t("polyline", { points: "15 18 9 12 15 6" }) });
382
382
  }
383
- function ii({ size: e = 20, ...n }) {
383
+ function si({ size: e = 20, ...n }) {
384
384
  return /* @__PURE__ */ _("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
385
385
  /* @__PURE__ */ t("circle", { cx: "11", cy: "11", r: "8" }),
386
386
  /* @__PURE__ */ t("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
387
387
  ] });
388
388
  }
389
- function si({ size: e = 20, ...n }) {
389
+ function ai({ size: e = 20, ...n }) {
390
390
  return /* @__PURE__ */ _("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
391
391
  /* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "3" }),
392
392
  /* @__PURE__ */ t("path", { d: "M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z" })
393
393
  ] });
394
394
  }
395
- function ai({ size: e = 20, ...n }) {
395
+ function ci({ size: e = 20, ...n }) {
396
396
  return /* @__PURE__ */ _("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
397
397
  /* @__PURE__ */ t("path", { d: "M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2" }),
398
398
  /* @__PURE__ */ t("circle", { cx: "12", cy: "7", r: "4" })
399
399
  ] });
400
400
  }
401
- function ci({ size: e = 20, ...n }) {
401
+ function li({ size: e = 20, ...n }) {
402
402
  return /* @__PURE__ */ _("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
403
403
  /* @__PURE__ */ t("path", { d: "M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" }),
404
404
  /* @__PURE__ */ t("path", { d: "M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z" })
405
405
  ] });
406
406
  }
407
- function li({ size: e = 20, ...n }) {
407
+ function di({ size: e = 20, ...n }) {
408
408
  return /* @__PURE__ */ _("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
409
409
  /* @__PURE__ */ t("polyline", { points: "3 6 5 6 21 6" }),
410
410
  /* @__PURE__ */ t("path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" })
@@ -416,20 +416,20 @@ function st({ size: e = 20, ...n }) {
416
416
  /* @__PURE__ */ t("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
417
417
  ] });
418
418
  }
419
- function di({ size: e = 20, ...n }) {
419
+ function ui({ size: e = 20, ...n }) {
420
420
  return /* @__PURE__ */ _("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
421
421
  /* @__PURE__ */ t("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }),
422
422
  /* @__PURE__ */ t("polyline", { points: "15 3 21 3 21 9" }),
423
423
  /* @__PURE__ */ t("line", { x1: "10", y1: "14", x2: "21", y2: "3" })
424
424
  ] });
425
425
  }
426
- function ui({ size: e = 20, ...n }) {
426
+ function hi({ size: e = 20, ...n }) {
427
427
  return /* @__PURE__ */ _("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
428
428
  /* @__PURE__ */ t("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
429
429
  /* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "3" })
430
430
  ] });
431
431
  }
432
- function hi({ size: e = 20, ...n }) {
432
+ function _i({ size: e = 20, ...n }) {
433
433
  return /* @__PURE__ */ _("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
434
434
  /* @__PURE__ */ t("path", { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94" }),
435
435
  /* @__PURE__ */ t("path", { d: "M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19" }),
@@ -437,7 +437,7 @@ function hi({ size: e = 20, ...n }) {
437
437
  /* @__PURE__ */ t("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
438
438
  ] });
439
439
  }
440
- function _i({ size: e = 20, ...n }) {
440
+ function fi({ size: e = 20, ...n }) {
441
441
  return /* @__PURE__ */ _("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
442
442
  /* @__PURE__ */ t("line", { x1: "12", y1: "2", x2: "12", y2: "6" }),
443
443
  /* @__PURE__ */ t("line", { x1: "12", y1: "18", x2: "12", y2: "22" }),
@@ -449,28 +449,28 @@ function _i({ size: e = 20, ...n }) {
449
449
  /* @__PURE__ */ t("line", { x1: "16.24", y1: "7.76", x2: "19.07", y2: "4.93" })
450
450
  ] });
451
451
  }
452
- function fi({ size: e = 20, ...n }) {
452
+ function pi({ size: e = 20, ...n }) {
453
453
  return /* @__PURE__ */ _("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
454
454
  /* @__PURE__ */ t("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
455
455
  /* @__PURE__ */ t("polyline", { points: "19 12 12 19 5 12" })
456
456
  ] });
457
457
  }
458
- function pi({ size: e = 20, ...n }) {
458
+ function gi({ size: e = 20, ...n }) {
459
459
  return /* @__PURE__ */ _("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
460
460
  /* @__PURE__ */ t("line", { x1: "7", y1: "17", x2: "17", y2: "7" }),
461
461
  /* @__PURE__ */ t("polyline", { points: "7 7 17 7 17 17" })
462
462
  ] });
463
463
  }
464
- function gi({ size: e = 20, ...n }) {
464
+ function mi({ size: e = 20, ...n }) {
465
465
  return /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", ...n, children: /* @__PURE__ */ t("path", { d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" }) });
466
466
  }
467
- function mi({ size: e = 20, ...n }) {
467
+ function bi({ size: e = 20, ...n }) {
468
468
  return /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", ...n, children: /* @__PURE__ */ t("path", { d: "M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" }) });
469
469
  }
470
- function bi({ size: e = 20, ...n }) {
470
+ function vi({ size: e = 20, ...n }) {
471
471
  return /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", ...n, children: /* @__PURE__ */ t("path", { d: "M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z" }) });
472
472
  }
473
- function vi({ size: e = 20, ...n }) {
473
+ function yi({ size: e = 20, ...n }) {
474
474
  return /* @__PURE__ */ _("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
475
475
  /* @__PURE__ */ t("rect", { x: "2", y: "2", width: "20", height: "20", rx: "5", ry: "5" }),
476
476
  /* @__PURE__ */ t("path", { d: "M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z" }),
@@ -498,7 +498,7 @@ function lt({ size: e = 20, ...n }) {
498
498
  /* @__PURE__ */ t("line", { x1: "12", y1: "16", x2: "12", y2: "16" })
499
499
  ] });
500
500
  }
501
- function yi({ size: e = 20, ...n }) {
501
+ function xi({ size: e = 20, ...n }) {
502
502
  return /* @__PURE__ */ _("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
503
503
  /* @__PURE__ */ t("circle", { cx: "5", cy: "12", r: "1.5", fill: "currentColor", stroke: "none" }),
504
504
  /* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "1.5", fill: "currentColor", stroke: "none" }),
@@ -512,14 +512,14 @@ function wi({ size: e = 20, ...n }) {
512
512
  /* @__PURE__ */ t("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
513
513
  ] });
514
514
  }
515
- function xi({ size: e = 20, ...n }) {
515
+ function ki({ size: e = 20, ...n }) {
516
516
  return /* @__PURE__ */ _("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
517
517
  /* @__PURE__ */ t("path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }),
518
518
  /* @__PURE__ */ t("polyline", { points: "16 17 21 12 16 7" }),
519
519
  /* @__PURE__ */ t("line", { x1: "21", y1: "12", x2: "9", y2: "12" })
520
520
  ] });
521
521
  }
522
- function ki({ size: e = 20, ...n }) {
522
+ function Ni({ size: e = 20, ...n }) {
523
523
  return /* @__PURE__ */ _("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
524
524
  /* @__PURE__ */ t("path", { d: "M6 2h9l5 5v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z" }),
525
525
  /* @__PURE__ */ t("rect", { x: "8", y: "11", width: "8", height: "7", rx: "1" }),
@@ -538,16 +538,16 @@ const dt = "_dialog_qg38y_2", ut = "_panel_qg38y_20", ht = "_center_qg38y_42", _
538
538
  header: bt,
539
539
  title: vt,
540
540
  footer: yt
541
- }, wt = {
541
+ }, xt = {
542
542
  400: z.w400,
543
543
  560: z.w560,
544
544
  720: z.w720
545
- }, xt = {
545
+ }, wt = {
546
546
  center: z.center,
547
547
  "inline-start": z.inlineStart,
548
548
  "inline-end": z.inlineEnd
549
549
  };
550
- function Ni({
550
+ function $i({
551
551
  open: e,
552
552
  onClose: n,
553
553
  title: i,
@@ -577,7 +577,7 @@ function Ni({
577
577
  y.preventDefault(), o && n("esc");
578
578
  }, v = (y) => {
579
579
  o && y.target === h.current && n("backdrop");
580
- }, N = [z.dialog, wt[s], xt[r], c].filter(Boolean).join(" ");
580
+ }, N = [z.dialog, xt[s], wt[r], c].filter(Boolean).join(" ");
581
581
  return /* @__PURE__ */ t(
582
582
  "dialog",
583
583
  {
@@ -621,7 +621,7 @@ const kt = "_input_pmr7w_3", Nt = "_size24_pmr7w_43", $t = "_size32_pmr7w_49", B
621
621
  40: F.size40,
622
622
  48: F.size48
623
623
  };
624
- function $i({ size: e = 32, error: n = !1, type: i = "text", className: a, ref: s, ...r }) {
624
+ function Bi({ size: e = 32, error: n = !1, type: i = "text", className: a, ref: s, ...r }) {
625
625
  const o = j(ue), c = n || ((o == null ? void 0 : o.invalid) ?? !1), d = [o == null ? void 0 : o.describedBy, r["aria-describedby"]].filter(Boolean).join(" ") || void 0, l = [F.input, St[e], c && F.error, a].filter(Boolean).join(" ");
626
626
  return /* @__PURE__ */ t(
627
627
  "input",
@@ -637,20 +637,20 @@ function $i({ size: e = 32, error: n = !1, type: i = "text", className: a, ref:
637
637
  }
638
638
  );
639
639
  }
640
- const jt = "_select_1eqz1_3", Tt = "_size24_1eqz1_57", zt = "_size32_1eqz1_67", It = "_size40_1eqz1_77", Et = "_size48_1eqz1_87", At = "_error_1eqz1_99", K = {
640
+ const jt = "_select_1eqz1_3", Tt = "_size24_1eqz1_57", zt = "_size32_1eqz1_67", It = "_size40_1eqz1_77", Et = "_size48_1eqz1_87", qt = "_error_1eqz1_99", K = {
641
641
  select: jt,
642
642
  size24: Tt,
643
643
  size32: zt,
644
644
  size40: It,
645
645
  size48: Et,
646
- error: At
646
+ error: qt
647
647
  }, Mt = {
648
648
  24: K.size24,
649
649
  32: K.size32,
650
650
  40: K.size40,
651
651
  48: K.size48
652
652
  };
653
- function Bi({
653
+ function Li({
654
654
  size: e = 32,
655
655
  error: n = !1,
656
656
  className: i,
@@ -678,11 +678,11 @@ function Bi({
678
678
  }
679
679
  );
680
680
  }
681
- const Wt = "_label_1jm35_3", Dt = "_disabled_1jm35_13", Pt = "_indicator_1jm35_26", qt = "_input_1jm35_42", Rt = "_text_1jm35_67", ee = {
682
- label: Wt,
683
- disabled: Dt,
684
- indicator: Pt,
685
- input: qt,
681
+ const At = "_label_1jm35_3", Wt = "_disabled_1jm35_13", Dt = "_indicator_1jm35_26", Pt = "_input_1jm35_42", Rt = "_text_1jm35_67", ee = {
682
+ label: At,
683
+ disabled: Wt,
684
+ indicator: Dt,
685
+ input: Pt,
686
686
  text: Rt
687
687
  };
688
688
  function Ce({
@@ -716,7 +716,7 @@ const Ht = "_label_yv464_3", Vt = "_disabled_yv464_13", Ot = "_track_yv464_26",
716
716
  thumb: Kt,
717
717
  text: Ut
718
718
  };
719
- function Li({
719
+ function Ci({
720
720
  children: e,
721
721
  className: n,
722
722
  disabled: i,
@@ -766,7 +766,7 @@ const Gt = "_tag_1r2xw_3", Yt = "_dismiss_1r2xw_17", Zt = "_neutral_1r2xw_43", X
766
766
  warning: S.warningSubtle,
767
767
  danger: S.dangerSubtle
768
768
  };
769
- function Ci({
769
+ function Si({
770
770
  variant: e = "neutral",
771
771
  subtle: n = !1,
772
772
  onDismiss: i,
@@ -820,14 +820,14 @@ const co = "_wrapper_1eu6z_3", lo = "_tooltip_1eu6z_10", uo = "_top_1eu6z_24", h
820
820
  left: U.left,
821
821
  right: U.right
822
822
  }, go = 150;
823
- function Si({
823
+ function ji({
824
824
  content: e,
825
825
  children: n,
826
826
  placement: i = "top"
827
827
  }) {
828
- const [a, s] = se(!1), r = R(), o = L(void 0), c = w(() => {
828
+ const [a, s] = ae(!1), r = R(), o = L(void 0), c = x(() => {
829
829
  o.current !== void 0 && (window.clearTimeout(o.current), o.current = void 0);
830
- }, []), d = w(() => s(!0), []), l = w(() => s(!1), []);
830
+ }, []), d = x(() => s(!0), []), l = x(() => s(!1), []);
831
831
  C(() => c, [c]), C(() => {
832
832
  if (!a) return;
833
833
  const h = (f) => {
@@ -871,19 +871,19 @@ function Si({
871
871
  )
872
872
  ] });
873
873
  }
874
- const mo = "_toolbar_8bwkv_1", bo = "_gap8_8bwkv_7", vo = "_gap12_8bwkv_8", yo = "_gap16_8bwkv_9", wo = "_alignEnd_8bwkv_13", xo = "_alignStart_8bwkv_19", G = {
874
+ const mo = "_toolbar_8bwkv_1", bo = "_gap8_8bwkv_7", vo = "_gap12_8bwkv_8", yo = "_gap16_8bwkv_9", xo = "_alignEnd_8bwkv_13", wo = "_alignStart_8bwkv_19", G = {
875
875
  toolbar: mo,
876
876
  gap8: bo,
877
877
  gap12: vo,
878
878
  gap16: yo,
879
- alignEnd: wo,
880
- alignStart: xo
879
+ alignEnd: xo,
880
+ alignStart: wo
881
881
  }, ko = { 8: G.gap8, 12: G.gap12, 16: G.gap16 }, No = {
882
882
  center: void 0,
883
883
  end: G.alignEnd,
884
884
  start: G.alignStart
885
885
  };
886
- function ji({ gap: e = 8, align: n = "center", as: i = "div", className: a, children: s, ref: r, ...o }) {
886
+ function Ti({ gap: e = 8, align: n = "center", as: i = "div", className: a, children: s, ref: r, ...o }) {
887
887
  const c = [G.toolbar, ko[e], No[n], a].filter(Boolean).join(" ");
888
888
  return i === "form" ? /* @__PURE__ */ t("form", { ref: r, className: c, ...o, children: s }) : /* @__PURE__ */ t(
889
889
  "div",
@@ -896,19 +896,20 @@ function ji({ gap: e = 8, align: n = "center", as: i = "div", className: a, chil
896
896
  }
897
897
  );
898
898
  }
899
- const $o = "_trigger_uxpyi_4", Bo = "_menu_uxpyi_16", Lo = "_item_uxpyi_37", Co = "_separator_uxpyi_82", le = {
899
+ const $o = "_trigger_pivae_4", Bo = "_menu_pivae_16", Lo = "_item_pivae_37", Co = "_text_pivae_85", So = "_separator_pivae_93", oe = {
900
900
  trigger: $o,
901
901
  menu: Bo,
902
902
  item: Lo,
903
- separator: Co
904
- }, So = 500;
905
- function jo({ popoverRef: e, triggerRef: n, open: i, onEsc: a }) {
906
- const s = L(""), r = L(0), o = w(() => {
903
+ text: Co,
904
+ separator: So
905
+ }, jo = 500;
906
+ function To({ popoverRef: e, triggerRef: n, open: i, onEsc: a }) {
907
+ const s = L(""), r = L(0), o = x(() => {
907
908
  const l = e.current;
908
909
  return l ? Array.from(
909
910
  l.querySelectorAll('[data-psi-menu-item]:not([aria-disabled="true"])')
910
911
  ) : [];
911
- }, [e]), c = w(
912
+ }, [e]), c = x(
912
913
  (l) => {
913
914
  if (l) {
914
915
  for (const u of o()) u.tabIndex = u === l ? 0 : -1;
@@ -916,7 +917,7 @@ function jo({ popoverRef: e, triggerRef: n, open: i, onEsc: a }) {
916
917
  }
917
918
  },
918
919
  [o]
919
- ), d = w(() => {
920
+ ), d = x(() => {
920
921
  var u;
921
922
  const l = (u = n.current) == null ? void 0 : u.querySelector("button, a, [tabindex]");
922
923
  l == null || l.focus();
@@ -928,7 +929,7 @@ function jo({ popoverRef: e, triggerRef: n, open: i, onEsc: a }) {
928
929
  var u;
929
930
  (u = e.current) != null && u.contains(document.activeElement) && d();
930
931
  };
931
- }, [i, e, o, c, d]), w(
932
+ }, [i, e, o, c, d]), x(
932
933
  (l) => {
933
934
  if (l.key === "Escape") {
934
935
  l.preventDefault(), a();
@@ -953,7 +954,7 @@ function jo({ popoverRef: e, triggerRef: n, open: i, onEsc: a }) {
953
954
  }
954
955
  if (l.key.length !== 1 || l.metaKey || l.ctrlKey || l.altKey) return;
955
956
  const f = Date.now();
956
- s.current = f - r.current > So ? l.key.toLowerCase() : s.current + l.key.toLowerCase(), r.current = f;
957
+ s.current = f - r.current > jo ? l.key.toLowerCase() : s.current + l.key.toLowerCase(), r.current = f;
957
958
  const g = u.find(
958
959
  (b) => (b.textContent ?? "").trim().toLowerCase().startsWith(s.current)
959
960
  );
@@ -962,15 +963,15 @@ function jo({ popoverRef: e, triggerRef: n, open: i, onEsc: a }) {
962
963
  [o, c, a]
963
964
  );
964
965
  }
965
- function To() {
966
+ function zo() {
966
967
  return typeof CSS < "u" && CSS.supports("anchor-name", "--x");
967
968
  }
968
- function zo({ popoverRef: e, triggerRef: n, open: i, placement: a, anchorName: s }) {
969
+ function Io({ popoverRef: e, triggerRef: n, open: i, placement: a, anchorName: s }) {
969
970
  C(() => {
970
971
  const r = n.current, o = e.current;
971
972
  !r || !o || (r.style.setProperty("anchor-name", s), o.style.setProperty("position-anchor", s));
972
973
  }, [e, n, s]), C(() => {
973
- if (!i || To()) return;
974
+ if (!i || zo()) return;
974
975
  const r = n.current, o = e.current;
975
976
  if (!r || !o) return;
976
977
  const c = () => {
@@ -987,7 +988,7 @@ const Se = Z({ close: () => {
987
988
  function Ne(e) {
988
989
  return e.hasAttribute("data-open") || e.matches(":popover-open");
989
990
  }
990
- function Ti({
991
+ function zi({
991
992
  open: e,
992
993
  onClose: n,
993
994
  trigger: i,
@@ -998,33 +999,33 @@ function Ti({
998
999
  ...c
999
1000
  }) {
1000
1001
  const d = L(null), l = L(null), u = L(!1), h = `--psi-menu-${R().replace(/:/g, "")}`;
1001
- zo({ popoverRef: d, triggerRef: l, open: e, placement: a, anchorName: h });
1002
- const f = (x) => {
1003
- d.current = x, typeof o == "function" ? o(x) : o && (o.current = x);
1002
+ Io({ popoverRef: d, triggerRef: l, open: e, placement: a, anchorName: h });
1003
+ const f = (w) => {
1004
+ d.current = w, typeof o == "function" ? o(w) : o && (o.current = w);
1004
1005
  };
1005
1006
  C(() => {
1006
- const x = d.current;
1007
- if (!x) return;
1008
- const A = Ne(x);
1009
- e && !A ? x.showPopover() : !e && A && (u.current = !0, x.hidePopover());
1007
+ const w = d.current;
1008
+ if (!w) return;
1009
+ const q = Ne(w);
1010
+ e && !q ? w.showPopover() : !e && q && (u.current = !0, w.hidePopover());
1010
1011
  }, [e]);
1011
- const g = w(() => {
1012
- const x = d.current;
1013
- if (x) {
1012
+ const g = x(() => {
1013
+ const w = d.current;
1014
+ if (w) {
1014
1015
  if (u.current) {
1015
1016
  u.current = !1;
1016
1017
  return;
1017
1018
  }
1018
- Ne(x) || e && n("outside");
1019
+ Ne(w) || e && n("outside");
1019
1020
  }
1020
- }, [n, e]), b = jo({
1021
+ }, [n, e]), b = To({
1021
1022
  popoverRef: d,
1022
1023
  triggerRef: l,
1023
1024
  open: e,
1024
1025
  onEsc: () => n("esc")
1025
- }), v = w(
1026
- (x) => {
1027
- n(x);
1026
+ }), v = x(
1027
+ (w) => {
1028
+ n(w);
1028
1029
  },
1029
1030
  [n]
1030
1031
  ), N = Y(i);
@@ -1034,8 +1035,8 @@ function Ti({
1034
1035
  );
1035
1036
  }, [N]);
1036
1037
  const y = N ? de(i, { "aria-haspopup": "menu", "aria-expanded": e }) : i;
1037
- return /* @__PURE__ */ _(ie, { children: [
1038
- /* @__PURE__ */ t("div", { ref: l, className: le.trigger, "data-psi-menu-trigger": !0, children: y }),
1038
+ return /* @__PURE__ */ _(se, { children: [
1039
+ /* @__PURE__ */ t("div", { ref: l, className: oe.trigger, "data-psi-menu-trigger": !0, children: y }),
1039
1040
  /* @__PURE__ */ t(
1040
1041
  "div",
1041
1042
  {
@@ -1045,7 +1046,7 @@ function Ti({
1045
1046
  role: "menu",
1046
1047
  "data-psi-menu": !0,
1047
1048
  "data-placement": a,
1048
- className: [le.menu, r].filter(Boolean).join(" "),
1049
+ className: [oe.menu, r].filter(Boolean).join(" "),
1049
1050
  onToggle: g,
1050
1051
  onKeyDown: b,
1051
1052
  children: /* @__PURE__ */ t(Se.Provider, { value: { close: v }, children: s })
@@ -1053,7 +1054,7 @@ function Ti({
1053
1054
  )
1054
1055
  ] });
1055
1056
  }
1056
- function zi({ children: e, onSelect: n, variant: i = "neutral", disabled: a = !1 }) {
1057
+ function Ii({ children: e, onSelect: n, variant: i = "neutral", disabled: a = !1 }) {
1057
1058
  const { close: s } = j(Se);
1058
1059
  return /* @__PURE__ */ t(
1059
1060
  "button",
@@ -1064,7 +1065,7 @@ function zi({ children: e, onSelect: n, variant: i = "neutral", disabled: a = !1
1064
1065
  "data-variant": i,
1065
1066
  "aria-disabled": a || void 0,
1066
1067
  tabIndex: -1,
1067
- className: le.item,
1068
+ className: oe.item,
1068
1069
  onClick: () => {
1069
1070
  a || (n(), s("item-select"));
1070
1071
  },
@@ -1072,22 +1073,25 @@ function zi({ children: e, onSelect: n, variant: i = "neutral", disabled: a = !1
1072
1073
  }
1073
1074
  );
1074
1075
  }
1075
- function Ii() {
1076
- return /* @__PURE__ */ t("div", { role: "separator", "data-psi-menu-separator": !0, className: le.separator });
1076
+ function Ei() {
1077
+ return /* @__PURE__ */ t("div", { role: "separator", "data-psi-menu-separator": !0, className: oe.separator });
1078
+ }
1079
+ function qi({ children: e, id: n }) {
1080
+ return /* @__PURE__ */ t("div", { id: n, "data-psi-menu-text": !0, className: oe.text, children: e });
1077
1081
  }
1078
- const Io = "_table_1maek_3", Eo = "_caption_1maek_19", Ao = "_captionDetail_1maek_27", Mo = "_headerCell_1maek_38", Wo = "_cell_1maek_44", Do = "_rowHeader_1maek_51", Po = "_sortButton_1maek_62", qo = "_sortIndicator_1maek_79", Ro = "_selectCell_1maek_123", Ho = "_body_1maek_130", Vo = "_row_1maek_51", Oo = "_sticky_1maek_155", $ = {
1079
- table: Io,
1080
- caption: Eo,
1081
- captionDetail: Ao,
1082
- headerCell: Mo,
1082
+ const Eo = "_table_1maek_3", qo = "_caption_1maek_19", Mo = "_captionDetail_1maek_27", Ao = "_headerCell_1maek_38", Wo = "_cell_1maek_44", Do = "_rowHeader_1maek_51", Po = "_sortButton_1maek_62", Ro = "_sortIndicator_1maek_79", Ho = "_selectCell_1maek_123", Vo = "_body_1maek_130", Oo = "_row_1maek_51", Fo = "_sticky_1maek_155", $ = {
1083
+ table: Eo,
1084
+ caption: qo,
1085
+ captionDetail: Mo,
1086
+ headerCell: Ao,
1083
1087
  cell: Wo,
1084
1088
  rowHeader: Do,
1085
1089
  sortButton: Po,
1086
- sortIndicator: qo,
1087
- selectCell: Ro,
1088
- body: Ho,
1089
- row: Vo,
1090
- sticky: Oo
1090
+ sortIndicator: Ro,
1091
+ selectCell: Ho,
1092
+ body: Vo,
1093
+ row: Oo,
1094
+ sticky: Fo
1091
1095
  }, je = /* @__PURE__ */ new Set(), X = Z({
1092
1096
  size: 40,
1093
1097
  sortable: !1,
@@ -1095,34 +1099,34 @@ const Io = "_table_1maek_3", Eo = "_caption_1maek_19", Ao = "_captionDetail_1mae
1095
1099
  selectable: !1,
1096
1100
  selected: je
1097
1101
  }), Te = Z([]);
1098
- function Fo({ children: e, className: n, ref: i, ...a }) {
1102
+ function Ko({ children: e, className: n, ref: i, ...a }) {
1099
1103
  return /* @__PURE__ */ t("tbody", { ...a, ref: i, className: [$.body, n].filter(Boolean).join(" "), children: e });
1100
1104
  }
1101
- function Ko(e) {
1105
+ function Uo(e) {
1102
1106
  const n = [];
1103
1107
  let i = !1, a = !1;
1104
1108
  const s = (r) => {
1105
- q.forEach(r, function o(c) {
1109
+ P.forEach(r, function o(c) {
1106
1110
  if (!Y(c)) return;
1107
1111
  if (c.type === pe) {
1108
- q.forEach(c.props.children, o);
1112
+ P.forEach(c.props.children, o);
1109
1113
  return;
1110
1114
  }
1111
1115
  const d = c.props.rowId;
1112
1116
  typeof d == "string" ? n.push(d) : a = !0;
1113
1117
  });
1114
1118
  };
1115
- return q.forEach(e, function r(o) {
1119
+ return P.forEach(e, function r(o) {
1116
1120
  if (Y(o)) {
1117
1121
  if (o.type === pe) {
1118
- q.forEach(o.props.children, r);
1122
+ P.forEach(o.props.children, r);
1119
1123
  return;
1120
1124
  }
1121
- o.type === Fo && (i = !0, s(o.props.children));
1125
+ o.type === Ko && (i = !0, s(o.props.children));
1122
1126
  }
1123
1127
  }), { ids: n, sawBody: i, hasRowWithoutId: a };
1124
1128
  }
1125
- function Ei({
1129
+ function Mi({
1126
1130
  size: e = 40,
1127
1131
  stickyHeader: n,
1128
1132
  sortable: i = !1,
@@ -1136,17 +1140,17 @@ function Ei({
1136
1140
  ref: u,
1137
1141
  ...h
1138
1142
  }) {
1139
- const f = [$.table, n && $.sticky, l].filter(Boolean).join(" "), { ids: g, sawBody: b, hasRowWithoutId: v } = ae(() => Ko(d), [d]);
1143
+ const f = [$.table, n && $.sticky, l].filter(Boolean).join(" "), { ids: g, sawBody: b, hasRowWithoutId: v } = ce(() => Uo(d), [d]);
1140
1144
  return process.env.NODE_ENV !== "production" && (i && !s && console.warn("Psi Table: `sortable` is set without `onSortChange`; sorting will not respond."), r && !c && console.warn("Psi Table: `selectable` is set without `onSelectionChange`; selection will not respond."), r && !b && console.warn("Psi Table: `selectable` is set but no `TableBody` is visible to `Table`. Wrapping `TableBody` in a component other than a Fragment hides its rows, and select-all will clear the selection instead of filling it."), r && v && console.warn("Psi Table: `selectable` is set but a row in `TableBody` has no `rowId`. That row will render without a selection checkbox and select-all will not include it.")), /* @__PURE__ */ t(X.Provider, { value: { size: e, sortable: i, sort: a, onSortChange: s, selectable: r, selected: o, onSelectionChange: c }, children: /* @__PURE__ */ t(Te.Provider, { value: g, children: /* @__PURE__ */ t("table", { ...h, ref: u, className: f, "data-size": e, children: d }) }) });
1141
1145
  }
1142
- function Uo({ rowId: e, label: n }) {
1146
+ function Go({ rowId: e, label: n }) {
1143
1147
  const { selected: i, onSelectionChange: a } = j(X), s = () => {
1144
1148
  const r = new Set(i);
1145
1149
  r.has(e) ? r.delete(e) : r.add(e), a == null || a(r);
1146
1150
  };
1147
1151
  return /* @__PURE__ */ t("td", { className: `${$.cell} ${$.selectCell}`, children: /* @__PURE__ */ t(Ce, { "aria-label": n, checked: i.has(e), onChange: s }) });
1148
1152
  }
1149
- function Go() {
1153
+ function Yo() {
1150
1154
  const { selected: e, onSelectionChange: n } = j(X), i = j(Te), a = L(null), s = i.length > 0 && i.every((c) => e.has(c)), r = i.some((c) => e.has(c));
1151
1155
  C(() => {
1152
1156
  a.current && (a.current.indeterminate = r && !s);
@@ -1160,22 +1164,22 @@ function Go() {
1160
1164
  function Ai({ children: e, className: n, ref: i, ...a }) {
1161
1165
  const { selectable: s } = j(X);
1162
1166
  let r = !1;
1163
- const o = s ? q.map(e, (c) => {
1167
+ const o = s ? P.map(e, (c) => {
1164
1168
  if (r || !Y(c)) return c;
1165
1169
  r = !0;
1166
1170
  const d = c;
1167
1171
  return de(
1168
1172
  d,
1169
1173
  void 0,
1170
- /* @__PURE__ */ _(ie, { children: [
1171
- /* @__PURE__ */ t(Go, {}),
1174
+ /* @__PURE__ */ _(se, { children: [
1175
+ /* @__PURE__ */ t(Yo, {}),
1172
1176
  d.props.children
1173
1177
  ] })
1174
1178
  );
1175
1179
  }) : e;
1176
1180
  return /* @__PURE__ */ t("thead", { ...a, ref: i, className: [$.head, n].filter(Boolean).join(" "), children: o });
1177
1181
  }
1178
- function Mi({ rowId: e, selectLabel: n, children: i, className: a, ref: s, ...r }) {
1182
+ function Wi({ rowId: e, selectLabel: n, children: i, className: a, ref: s, ...r }) {
1179
1183
  const { selectable: o, selected: c } = j(X), d = e !== void 0 && c.has(e);
1180
1184
  return /* @__PURE__ */ _(
1181
1185
  "tr",
@@ -1186,13 +1190,13 @@ function Mi({ rowId: e, selectLabel: n, children: i, className: a, ref: s, ...r
1186
1190
  "data-row-id": e,
1187
1191
  "data-selected": d || void 0,
1188
1192
  children: [
1189
- o && e !== void 0 && /* @__PURE__ */ t(Uo, { rowId: e, label: n ?? `Select row ${e}` }),
1193
+ o && e !== void 0 && /* @__PURE__ */ t(Go, { rowId: e, label: n ?? `Select row ${e}` }),
1190
1194
  i
1191
1195
  ]
1192
1196
  }
1193
1197
  );
1194
1198
  }
1195
- function Wi({ sortKey: e, numeric: n, children: i, className: a, ref: s, ...r }) {
1199
+ function Di({ sortKey: e, numeric: n, children: i, className: a, ref: s, ...r }) {
1196
1200
  const { sortable: o, sort: c, onSortChange: d } = j(X), l = o && e !== void 0, u = l && (c == null ? void 0 : c.key) === e, h = l ? u ? c.direction === "asc" ? "ascending" : "descending" : "none" : void 0, f = () => {
1197
1201
  if (!e) return;
1198
1202
  const g = u && c.direction === "asc" ? "desc" : "asc";
@@ -1214,24 +1218,24 @@ function Wi({ sortKey: e, numeric: n, children: i, className: a, ref: s, ...r })
1214
1218
  }
1215
1219
  );
1216
1220
  }
1217
- function Di({ numeric: e, colSpan: n, rowHeader: i, children: a, className: s, ref: r, ...o }) {
1221
+ function Pi({ numeric: e, colSpan: n, rowHeader: i, children: a, className: s, ref: r, ...o }) {
1218
1222
  const c = [$.cell, i && $.rowHeader, s].filter(Boolean).join(" ");
1219
1223
  return i ? /* @__PURE__ */ t("th", { ...o, ref: r, scope: "row", colSpan: n, className: c, "data-numeric": e || void 0, children: a }) : /* @__PURE__ */ t("td", { ...o, ref: r, colSpan: n, className: c, "data-numeric": e || void 0, children: a });
1220
1224
  }
1221
- function Pi({ children: e, detail: n, className: i, ref: a, ...s }) {
1225
+ function Ri({ children: e, detail: n, className: i, ref: a, ...s }) {
1222
1226
  return /* @__PURE__ */ _("caption", { ...s, ref: a, className: [$.caption, i].filter(Boolean).join(" "), children: [
1223
1227
  e,
1224
1228
  n != null && /* @__PURE__ */ t("span", { className: $.captionDetail, children: n })
1225
1229
  ] });
1226
1230
  }
1227
- const Yo = "_nav_166vs_6", Zo = "_ellipsis_166vs_12", $e = {
1228
- nav: Yo,
1229
- ellipsis: Zo
1231
+ const Zo = "_nav_166vs_6", Xo = "_ellipsis_166vs_12", $e = {
1232
+ nav: Zo,
1233
+ ellipsis: Xo
1230
1234
  };
1231
1235
  function ne(e, n) {
1232
1236
  return Array.from({ length: n - e + 1 }, (i, a) => e + a);
1233
1237
  }
1234
- function Xo(e, n, i) {
1238
+ function Jo(e, n, i) {
1235
1239
  const a = Math.max(0, i), s = a * 2 + 1, r = s + 4;
1236
1240
  if (n <= r)
1237
1241
  return ne(1, n);
@@ -1246,7 +1250,7 @@ function Xo(e, n, i) {
1246
1250
  }
1247
1251
  return d && l ? [1, "ellipsis", ...ne(o, c), "ellipsis", n] : ne(1, n);
1248
1252
  }
1249
- function qi({
1253
+ function Hi({
1250
1254
  page: e,
1251
1255
  pageCount: n,
1252
1256
  onPageChange: i,
@@ -1258,7 +1262,7 @@ function qi({
1258
1262
  process.env.NODE_ENV !== "production" && (!o || e !== d) && console.warn(
1259
1263
  `Psi Pagination: \`page\` ${e} is out of range for \`pageCount\` ${n}; rendering page ${o ? d : "none"}. Clamp \`page\` when \`pageCount\` shrinks — e.g. after filtering.`
1260
1264
  );
1261
- const l = o ? Xo(d, n, a) : [];
1265
+ const l = o ? Jo(d, n, a) : [];
1262
1266
  return /* @__PURE__ */ _("nav", { "aria-label": s, className: [$e.nav, r].filter(Boolean).join(" "), children: [
1263
1267
  /* @__PURE__ */ t(
1264
1268
  te,
@@ -1273,7 +1277,7 @@ function qi({
1273
1277
  ),
1274
1278
  l.map(
1275
1279
  (u, h) => u === "ellipsis" ? /* @__PURE__ */ t("span", { className: $e.ellipsis, "aria-hidden": "true", children: "…" }, `e${h}`) : /* @__PURE__ */ t(
1276
- ce,
1280
+ le,
1277
1281
  {
1278
1282
  size: 32,
1279
1283
  variant: u === d ? "accent-subtle" : "ghost",
@@ -1297,10 +1301,10 @@ function qi({
1297
1301
  )
1298
1302
  ] });
1299
1303
  }
1300
- const Jo = "_nav_jbhk1_5", Qo = {
1301
- nav: Jo
1304
+ const Qo = "_nav_jbhk1_5", er = {
1305
+ nav: Qo
1302
1306
  };
1303
- function Ri({
1307
+ function Vi({
1304
1308
  hasPrevious: e,
1305
1309
  hasNext: n,
1306
1310
  onPrevious: i,
@@ -1311,12 +1315,12 @@ function Ri({
1311
1315
  "aria-label": c = "Pagination",
1312
1316
  className: d
1313
1317
  }) {
1314
- return /* @__PURE__ */ _("nav", { "aria-label": c, className: [Qo.nav, d].filter(Boolean).join(" "), children: [
1315
- /* @__PURE__ */ _(ce, { variant: "ghost", size: o, disabled: !e, onClick: i, children: [
1318
+ return /* @__PURE__ */ _("nav", { "aria-label": c, className: [er.nav, d].filter(Boolean).join(" "), children: [
1319
+ /* @__PURE__ */ _(le, { variant: "ghost", size: o, disabled: !e, onClick: i, children: [
1316
1320
  /* @__PURE__ */ t(it, { size: 16, "aria-hidden": "true" }),
1317
1321
  /* @__PURE__ */ t("span", { children: s })
1318
1322
  ] }),
1319
- /* @__PURE__ */ _(ce, { variant: "ghost", size: o, disabled: !n, onClick: a, children: [
1323
+ /* @__PURE__ */ _(le, { variant: "ghost", size: o, disabled: !n, onClick: a, children: [
1320
1324
  /* @__PURE__ */ t("span", { children: r }),
1321
1325
  /* @__PURE__ */ t(rt, { size: 16, "aria-hidden": "true" })
1322
1326
  ] })
@@ -1327,27 +1331,27 @@ const be = {
1327
1331
  success: ot,
1328
1332
  warning: ct,
1329
1333
  danger: lt
1330
- }, er = {
1334
+ }, nr = {
1331
1335
  neutral: null,
1332
1336
  success: "Success:",
1333
1337
  warning: "Warning:",
1334
1338
  danger: "Error:"
1335
1339
  };
1336
1340
  function ve(e, n) {
1337
- return n === void 0 ? er[e] : n;
1338
- }
1339
- const nr = "_toast_1gxg8_10", tr = "_icon_1gxg8_39", or = "_iconNeutral_1gxg8_44", rr = "_iconSuccess_1gxg8_45", ir = "_iconWarning_1gxg8_46", sr = "_iconDanger_1gxg8_47", ar = "_body_1gxg8_51", cr = "_action_1gxg8_55", lr = "_region_1gxg8_61", dr = "_live_1gxg8_91", I = {
1340
- toast: nr,
1341
- icon: tr,
1342
- iconNeutral: or,
1343
- iconSuccess: rr,
1344
- iconWarning: ir,
1345
- iconDanger: sr,
1346
- body: ar,
1347
- action: cr,
1348
- region: lr,
1349
- live: dr
1350
- }, ur = {
1341
+ return n === void 0 ? nr[e] : n;
1342
+ }
1343
+ const tr = "_toast_1gxg8_10", or = "_icon_1gxg8_39", rr = "_iconNeutral_1gxg8_44", ir = "_iconSuccess_1gxg8_45", sr = "_iconWarning_1gxg8_46", ar = "_iconDanger_1gxg8_47", cr = "_body_1gxg8_51", lr = "_action_1gxg8_55", dr = "_region_1gxg8_61", ur = "_live_1gxg8_91", I = {
1344
+ toast: tr,
1345
+ icon: or,
1346
+ iconNeutral: rr,
1347
+ iconSuccess: ir,
1348
+ iconWarning: sr,
1349
+ iconDanger: ar,
1350
+ body: cr,
1351
+ action: lr,
1352
+ region: dr,
1353
+ live: ur
1354
+ }, hr = {
1351
1355
  neutral: I.iconNeutral,
1352
1356
  success: I.iconSuccess,
1353
1357
  warning: I.iconWarning,
@@ -1364,7 +1368,7 @@ function ge({
1364
1368
  }) {
1365
1369
  const c = be[e], d = ve(e, s), l = [I.toast, r].filter(Boolean).join(" ");
1366
1370
  return /* @__PURE__ */ _("div", { ref: o, className: l, "data-variant": e, "data-psi-toast": !0, children: [
1367
- /* @__PURE__ */ t("span", { className: [I.icon, ur[e]].join(" "), children: /* @__PURE__ */ t(c, { size: 20, "aria-hidden": "true" }) }),
1371
+ /* @__PURE__ */ t("span", { className: [I.icon, hr[e]].join(" "), children: /* @__PURE__ */ t(c, { size: 20, "aria-hidden": "true" }) }),
1368
1372
  /* @__PURE__ */ _("div", { className: I.body, children: [
1369
1373
  d && /* @__PURE__ */ t("span", { className: "psi-sr-only", children: d }),
1370
1374
  n
@@ -1385,13 +1389,13 @@ function ge({
1385
1389
  function ze({ children: e }) {
1386
1390
  return /* @__PURE__ */ t("div", { className: "psi-sr-only", "data-psi-announcement": !0, children: e });
1387
1391
  }
1388
- const hr = /* @__PURE__ */ new Set(["warning", "danger"]);
1392
+ const _r = /* @__PURE__ */ new Set(["warning", "danger"]);
1389
1393
  function Be(e) {
1390
1394
  if (!Y(e) || e.type !== ge && e.type !== ze) return !1;
1391
1395
  const { politeness: n, variant: i } = e.props;
1392
- return n !== void 0 ? n === "assertive" : e.type === ge && hr.has(i ?? "neutral");
1396
+ return n !== void 0 ? n === "assertive" : e.type === ge && _r.has(i ?? "neutral");
1393
1397
  }
1394
- function _r({
1398
+ function fr({
1395
1399
  placement: e = "bottom-end",
1396
1400
  "aria-label": n = "Notifications",
1397
1401
  children: i,
@@ -1411,7 +1415,7 @@ function _r({
1411
1415
  (g = h.hidePopover) == null || g.call(h);
1412
1416
  };
1413
1417
  }, []);
1414
- const d = q.toArray(i), l = d.filter(Be), u = d.filter((h) => !Be(h));
1418
+ const d = P.toArray(i), l = d.filter(Be), u = d.filter((h) => !Be(h));
1415
1419
  return /* @__PURE__ */ _(
1416
1420
  "div",
1417
1421
  {
@@ -1431,7 +1435,7 @@ function _r({
1431
1435
  );
1432
1436
  }
1433
1437
  const Ie = Z(null);
1434
- function Hi() {
1438
+ function Oi() {
1435
1439
  const e = j(Ie);
1436
1440
  if (!e)
1437
1441
  throw new Error(
@@ -1439,8 +1443,8 @@ function Hi() {
1439
1443
  );
1440
1444
  return e;
1441
1445
  }
1442
- const fr = 1e3;
1443
- function Vi({
1446
+ const pr = 1e3;
1447
+ function Fi({
1444
1448
  limit: e = 3,
1445
1449
  duration: n = 5e3,
1446
1450
  actionDuration: i = 1e4,
@@ -1448,42 +1452,42 @@ function Vi({
1448
1452
  children: s,
1449
1453
  ...r
1450
1454
  }) {
1451
- const [o, c] = se([]), [d, l] = se([]), u = L(/* @__PURE__ */ new Map()), h = L(!1), f = L(0), g = R(), b = w((p) => {
1455
+ const [o, c] = ae([]), [d, l] = ae([]), u = L(/* @__PURE__ */ new Map()), h = L(!1), f = L(0), g = R(), b = x((p) => {
1452
1456
  const m = u.current.get(p);
1453
1457
  (m == null ? void 0 : m.handle) !== void 0 && clearTimeout(m.handle), u.current.delete(p), c((k) => k.some((T) => T.id === p) ? k.filter((T) => T.id !== p) : k), l((k) => k.some((T) => T.id === p) ? k.filter((T) => T.id !== p) : k);
1454
- }, []), v = w(
1458
+ }, []), v = x(
1455
1459
  (p, m) => {
1456
1460
  const k = h.current ? { handle: void 0, remaining: m, startedAt: void 0 } : { handle: setTimeout(() => b(p), m), remaining: m, startedAt: Date.now() };
1457
1461
  u.current.set(p, k);
1458
1462
  },
1459
1463
  [b]
1460
- ), N = w(
1461
- ({ variant: p = "neutral", message: m, action: k, politeness: T, statusLabel: De }) => {
1462
- const _e = `${g}-${f.current++}`, we = k != null ? i : n;
1463
- return c((Pe) => {
1464
+ ), N = x(
1465
+ ({ variant: p = "neutral", message: m, action: k, politeness: T, statusLabel: We }) => {
1466
+ const _e = `${g}-${f.current++}`, xe = k != null ? i : n;
1467
+ return c((De) => {
1464
1468
  const fe = [
1465
- ...Pe,
1466
- { id: _e, variant: p, message: m, action: k, politeness: T, statusLabel: De, duration: we }
1469
+ ...De,
1470
+ { id: _e, variant: p, message: m, action: k, politeness: T, statusLabel: We, duration: xe }
1467
1471
  ];
1468
1472
  for (; fe.length > e; ) {
1469
- const xe = fe.shift(), oe = u.current.get(xe.id);
1470
- (oe == null ? void 0 : oe.handle) !== void 0 && clearTimeout(oe.handle), u.current.delete(xe.id);
1473
+ const we = fe.shift(), re = u.current.get(we.id);
1474
+ (re == null ? void 0 : re.handle) !== void 0 && clearTimeout(re.handle), u.current.delete(we.id);
1471
1475
  }
1472
1476
  return fe;
1473
- }), v(_e, we), _e;
1477
+ }), v(_e, xe), _e;
1474
1478
  },
1475
1479
  [i, v, n, g, e]
1476
- ), y = w(
1480
+ ), y = x(
1477
1481
  (p, { politeness: m = "polite" } = {}) => {
1478
1482
  const k = `${g}-${f.current++}`;
1479
- return l((T) => [...T, { id: k, message: p, politeness: m }]), v(k, fr), k;
1483
+ return l((T) => [...T, { id: k, message: p, politeness: m }]), v(k, pr), k;
1480
1484
  },
1481
1485
  [v, g]
1482
- ), x = w(() => {
1486
+ ), w = x(() => {
1483
1487
  for (const p of u.current.values())
1484
1488
  p.handle !== void 0 && clearTimeout(p.handle);
1485
1489
  u.current.clear(), c([]), l([]);
1486
- }, []), A = w(() => {
1490
+ }, []), q = x(() => {
1487
1491
  if (!h.current) {
1488
1492
  h.current = !0;
1489
1493
  for (const [p, m] of u.current) {
@@ -1497,7 +1501,7 @@ function Vi({
1497
1501
  });
1498
1502
  }
1499
1503
  }
1500
- }, []), J = w(() => {
1504
+ }, []), J = x(() => {
1501
1505
  if (h.current) {
1502
1506
  h.current = !1;
1503
1507
  for (const [p, m] of u.current)
@@ -1516,20 +1520,20 @@ function Vi({
1516
1520
  p.clear();
1517
1521
  };
1518
1522
  }, []);
1519
- const We = ae(
1520
- () => ({ show: N, announce: y, dismiss: b, clear: x }),
1521
- [N, y, b, x]
1523
+ const Ae = ce(
1524
+ () => ({ show: N, announce: y, dismiss: b, clear: w }),
1525
+ [N, y, b, w]
1522
1526
  );
1523
- return /* @__PURE__ */ _(Ie.Provider, { value: We, children: [
1527
+ return /* @__PURE__ */ _(Ie.Provider, { value: Ae, children: [
1524
1528
  s,
1525
1529
  /* @__PURE__ */ t(
1526
1530
  "div",
1527
1531
  {
1528
- onPointerEnter: A,
1532
+ onPointerEnter: q,
1529
1533
  onPointerLeave: J,
1530
- onFocusCapture: A,
1534
+ onFocusCapture: q,
1531
1535
  onBlurCapture: J,
1532
- children: /* @__PURE__ */ _(_r, { ...r, placement: a, children: [
1536
+ children: /* @__PURE__ */ _(fr, { ...r, placement: a, children: [
1533
1537
  o.map((p) => /* @__PURE__ */ t(
1534
1538
  ge,
1535
1539
  {
@@ -1548,23 +1552,23 @@ function Vi({
1548
1552
  )
1549
1553
  ] });
1550
1554
  }
1551
- const pr = "_banner_pco49_7", gr = "_icon_pco49_26", mr = "_iconNeutral_pco49_31", br = "_iconSuccess_pco49_32", vr = "_iconWarning_pco49_33", yr = "_iconDanger_pco49_34", wr = "_body_pco49_36", xr = "_title_pco49_40", kr = "_action_pco49_45", M = {
1552
- banner: pr,
1553
- icon: gr,
1554
- iconNeutral: mr,
1555
- iconSuccess: br,
1556
- iconWarning: vr,
1557
- iconDanger: yr,
1555
+ const gr = "_banner_15y1f_7", mr = "_icon_15y1f_26", br = "_iconNeutral_15y1f_31", vr = "_iconSuccess_15y1f_32", yr = "_iconWarning_15y1f_33", xr = "_iconDanger_15y1f_34", wr = "_body_15y1f_36", kr = "_title_15y1f_50", Nr = "_action_15y1f_55", M = {
1556
+ banner: gr,
1557
+ icon: mr,
1558
+ iconNeutral: br,
1559
+ iconSuccess: vr,
1560
+ iconWarning: yr,
1561
+ iconDanger: xr,
1558
1562
  body: wr,
1559
- title: xr,
1560
- action: kr
1561
- }, Nr = {
1563
+ title: kr,
1564
+ action: Nr
1565
+ }, $r = {
1562
1566
  neutral: M.iconNeutral,
1563
1567
  success: M.iconSuccess,
1564
1568
  warning: M.iconWarning,
1565
1569
  danger: M.iconDanger
1566
1570
  };
1567
- function Oi({
1571
+ function Ki({
1568
1572
  variant: e = "neutral",
1569
1573
  title: n,
1570
1574
  children: i,
@@ -1577,7 +1581,7 @@ function Oi({
1577
1581
  }) {
1578
1582
  const l = be[e], u = ve(e, r), h = [M.banner, o].filter(Boolean).join(" ");
1579
1583
  return /* @__PURE__ */ _("div", { ...d, ref: c, className: h, "data-variant": e, "data-psi-banner": !0, children: [
1580
- /* @__PURE__ */ t("span", { className: [M.icon, Nr[e]].join(" "), children: /* @__PURE__ */ t(l, { size: 20, "aria-hidden": "true" }) }),
1584
+ /* @__PURE__ */ t("span", { className: [M.icon, $r[e]].join(" "), children: /* @__PURE__ */ t(l, { size: 20, "aria-hidden": "true" }) }),
1581
1585
  /* @__PURE__ */ _("div", { className: M.body, children: [
1582
1586
  u && /* @__PURE__ */ t("span", { className: "psi-sr-only", children: u }),
1583
1587
  n != null && /* @__PURE__ */ t("strong", { className: M.title, children: n }),
@@ -1587,23 +1591,23 @@ function Oi({
1587
1591
  s && /* @__PURE__ */ t(te, { variant: "ghost", size: 32, "aria-label": "Dismiss", onClick: s, children: /* @__PURE__ */ t(me, { "aria-hidden": "true" }) })
1588
1592
  ] });
1589
1593
  }
1590
- const $r = "_inlineAlert_1tt2h_7", Br = "_icon_1tt2h_38", Lr = "_iconNeutral_1tt2h_43", Cr = "_iconSuccess_1tt2h_44", Sr = "_iconWarning_1tt2h_45", jr = "_iconDanger_1tt2h_46", Tr = "_body_1tt2h_48", zr = "_title_1tt2h_52", Ir = "_action_1tt2h_57", W = {
1591
- inlineAlert: $r,
1592
- icon: Br,
1593
- iconNeutral: Lr,
1594
- iconSuccess: Cr,
1595
- iconWarning: Sr,
1596
- iconDanger: jr,
1597
- body: Tr,
1598
- title: zr,
1599
- action: Ir
1600
- }, Er = {
1601
- neutral: W.iconNeutral,
1602
- success: W.iconSuccess,
1603
- warning: W.iconWarning,
1604
- danger: W.iconDanger
1594
+ const Br = "_inlineAlert_16390_7", Lr = "_icon_16390_38", Cr = "_iconNeutral_16390_43", Sr = "_iconSuccess_16390_44", jr = "_iconWarning_16390_45", Tr = "_iconDanger_16390_46", zr = "_body_16390_48", Ir = "_title_16390_62", Er = "_action_16390_67", A = {
1595
+ inlineAlert: Br,
1596
+ icon: Lr,
1597
+ iconNeutral: Cr,
1598
+ iconSuccess: Sr,
1599
+ iconWarning: jr,
1600
+ iconDanger: Tr,
1601
+ body: zr,
1602
+ title: Ir,
1603
+ action: Er
1604
+ }, qr = {
1605
+ neutral: A.iconNeutral,
1606
+ success: A.iconSuccess,
1607
+ warning: A.iconWarning,
1608
+ danger: A.iconDanger
1605
1609
  };
1606
- function Fi({
1610
+ function Ui({
1607
1611
  variant: e = "neutral",
1608
1612
  title: n,
1609
1613
  children: i,
@@ -1613,22 +1617,22 @@ function Fi({
1613
1617
  ref: o,
1614
1618
  ...c
1615
1619
  }) {
1616
- const d = be[e], l = ve(e, s), u = [W.inlineAlert, r].filter(Boolean).join(" ");
1620
+ const d = be[e], l = ve(e, s), u = [A.inlineAlert, r].filter(Boolean).join(" ");
1617
1621
  return /* @__PURE__ */ _("div", { ...c, ref: o, className: u, "data-variant": e, "data-psi-inline-alert": !0, children: [
1618
- /* @__PURE__ */ t("span", { className: [W.icon, Er[e]].join(" "), children: /* @__PURE__ */ t(d, { size: 20, "aria-hidden": "true" }) }),
1619
- /* @__PURE__ */ _("div", { className: W.body, children: [
1622
+ /* @__PURE__ */ t("span", { className: [A.icon, qr[e]].join(" "), children: /* @__PURE__ */ t(d, { size: 20, "aria-hidden": "true" }) }),
1623
+ /* @__PURE__ */ _("div", { className: A.body, children: [
1620
1624
  l && /* @__PURE__ */ t("span", { className: "psi-sr-only", children: l }),
1621
- n != null && /* @__PURE__ */ t("strong", { className: W.title, children: n }),
1625
+ n != null && /* @__PURE__ */ t("strong", { className: A.title, children: n }),
1622
1626
  i
1623
1627
  ] }),
1624
- a != null && /* @__PURE__ */ t("div", { className: W.action, children: a })
1628
+ a != null && /* @__PURE__ */ t("div", { className: A.action, children: a })
1625
1629
  ] });
1626
1630
  }
1627
- const Ar = "_skeleton_1yo7t_12", Mr = "_line_1yo7t_28", Le = {
1628
- skeleton: Ar,
1629
- line: Mr
1631
+ const Mr = "_skeleton_1yo7t_12", Ar = "_line_1yo7t_28", Le = {
1632
+ skeleton: Mr,
1633
+ line: Ar
1630
1634
  };
1631
- function Ki({
1635
+ function Gi({
1632
1636
  variant: e = "text",
1633
1637
  lines: n = 1,
1634
1638
  size: i = 40,
@@ -1651,7 +1655,7 @@ function Ki({
1651
1655
  }
1652
1656
  );
1653
1657
  }
1654
- function Ui({
1658
+ function Yi({
1655
1659
  value: e,
1656
1660
  label: n = "Copy",
1657
1661
  size: i = 32,
@@ -1660,7 +1664,7 @@ function Ui({
1660
1664
  className: r
1661
1665
  }) {
1662
1666
  return /* @__PURE__ */ _(
1663
- ce,
1667
+ le,
1664
1668
  {
1665
1669
  type: "button",
1666
1670
  variant: a,
@@ -1684,11 +1688,11 @@ function Ui({
1684
1688
  }
1685
1689
  );
1686
1690
  }
1687
- const Wr = "_tabs_1x9om_8", Dr = "_list_1x9om_21", Pr = "_tab_1x9om_8", qr = "_panel_1x9om_99", he = {
1691
+ const Wr = "_tabs_1x9om_8", Dr = "_list_1x9om_21", Pr = "_tab_1x9om_8", Rr = "_panel_1x9om_99", he = {
1688
1692
  tabs: Wr,
1689
1693
  list: Dr,
1690
1694
  tab: Pr,
1691
- panel: qr
1695
+ panel: Rr
1692
1696
  }, Ee = Z(null);
1693
1697
  function ye(e) {
1694
1698
  const n = j(Ee);
@@ -1698,7 +1702,7 @@ function ye(e) {
1698
1702
  );
1699
1703
  return n;
1700
1704
  }
1701
- function Gi({
1705
+ function Zi({
1702
1706
  value: e,
1703
1707
  onValueChange: n,
1704
1708
  orientation: i = "horizontal",
@@ -1706,7 +1710,7 @@ function Gi({
1706
1710
  className: s,
1707
1711
  ref: r
1708
1712
  }) {
1709
- const o = R(), [c, d] = se([]), l = w((g) => (d((b) => [...b, g]), () => d((b) => b.filter((v) => v !== g))), []), { tabStop: u, unmatched: h } = ae(() => {
1713
+ const o = R(), [c, d] = ae([]), l = x((g) => (d((b) => [...b, g]), () => d((b) => b.filter((v) => v !== g))), []), { tabStop: u, unmatched: h } = ce(() => {
1710
1714
  if (c.length === 0) return { tabStop: e, unmatched: !1 };
1711
1715
  if (c.some((v) => v.value === e)) return { tabStop: e, unmatched: !1 };
1712
1716
  const g = [...c].sort(
@@ -1719,7 +1723,7 @@ function Gi({
1719
1723
  `Tabs: value "${e}" matches no tab; the first enabled tab takes the tab stop.`
1720
1724
  );
1721
1725
  }, [h, e]);
1722
- const f = ae(
1726
+ const f = ce(
1723
1727
  () => ({ value: e, onValueChange: n, orientation: i, idPrefix: o, tabStop: u, registerTab: l }),
1724
1728
  [e, n, i, o, u, l]
1725
1729
  );
@@ -1733,19 +1737,19 @@ function Gi({
1733
1737
  }
1734
1738
  ) });
1735
1739
  }
1736
- function Ae(e, n) {
1740
+ function qe(e, n) {
1737
1741
  return `${e}tab-${n}`;
1738
1742
  }
1739
1743
  function Me(e, n) {
1740
1744
  return `${e}panel-${n}`;
1741
1745
  }
1742
- function Rr({ listRef: e, orientation: n, onValueChange: i }) {
1743
- const a = w(() => {
1746
+ function Hr({ listRef: e, orientation: n, onValueChange: i }) {
1747
+ const a = x(() => {
1744
1748
  const r = e.current;
1745
1749
  return r ? Array.from(
1746
1750
  r.querySelectorAll('[data-psi-tab]:not([aria-disabled="true"])')
1747
1751
  ) : [];
1748
- }, [e]), s = w(
1752
+ }, [e]), s = x(
1749
1753
  (r) => {
1750
1754
  if (!r) return;
1751
1755
  for (const c of a()) c.tabIndex = c === r ? 0 : -1;
@@ -1755,7 +1759,7 @@ function Rr({ listRef: e, orientation: n, onValueChange: i }) {
1755
1759
  },
1756
1760
  [a, i]
1757
1761
  );
1758
- return w(
1762
+ return x(
1759
1763
  (r) => {
1760
1764
  const o = a();
1761
1765
  if (o.length === 0) return;
@@ -1778,10 +1782,10 @@ function Rr({ listRef: e, orientation: n, onValueChange: i }) {
1778
1782
  [s, a, n]
1779
1783
  );
1780
1784
  }
1781
- function Yi({ "aria-label": e, children: n, className: i, ref: a }) {
1785
+ function Xi({ "aria-label": e, children: n, className: i, ref: a }) {
1782
1786
  const { orientation: s, onValueChange: r } = ye("TabList"), o = L(null), c = (l) => {
1783
1787
  o.current = l, typeof a == "function" ? a(l) : a && (a.current = l);
1784
- }, d = Rr({ listRef: o, orientation: s, onValueChange: r });
1788
+ }, d = Hr({ listRef: o, orientation: s, onValueChange: r });
1785
1789
  return /* @__PURE__ */ t(
1786
1790
  "div",
1787
1791
  {
@@ -1795,11 +1799,11 @@ function Yi({ "aria-label": e, children: n, className: i, ref: a }) {
1795
1799
  }
1796
1800
  );
1797
1801
  }
1798
- function Zi({ value: e, children: n, disabled: i = !1, className: a, ref: s }) {
1802
+ function Ji({ value: e, children: n, disabled: i = !1, className: a, ref: s }) {
1799
1803
  const r = ye("Tab"), o = r.value === e, c = L(null), { registerTab: d } = r, l = (u) => {
1800
1804
  c.current = u, typeof s == "function" ? s(u) : s && (s.current = u);
1801
1805
  };
1802
- return qe(
1806
+ return Pe(
1803
1807
  () => d == null ? void 0 : d({ value: e, disabled: i, el: c.current }),
1804
1808
  [d, e, i]
1805
1809
  ), /* @__PURE__ */ t(
@@ -1808,7 +1812,7 @@ function Zi({ value: e, children: n, disabled: i = !1, className: a, ref: s }) {
1808
1812
  ref: l,
1809
1813
  type: "button",
1810
1814
  role: "tab",
1811
- id: Ae(r.idPrefix, e),
1815
+ id: qe(r.idPrefix, e),
1812
1816
  "data-psi-tab": !0,
1813
1817
  "data-value": e,
1814
1818
  "aria-selected": o,
@@ -1823,7 +1827,7 @@ function Zi({ value: e, children: n, disabled: i = !1, className: a, ref: s }) {
1823
1827
  }
1824
1828
  );
1825
1829
  }
1826
- function Xi({ value: e, children: n, className: i, ref: a }) {
1830
+ function Qi({ value: e, children: n, className: i, ref: a }) {
1827
1831
  const s = ye("TabPanel"), r = s.value === e;
1828
1832
  return /* @__PURE__ */ t(
1829
1833
  "div",
@@ -1831,7 +1835,7 @@ function Xi({ value: e, children: n, className: i, ref: a }) {
1831
1835
  ref: a,
1832
1836
  role: "tabpanel",
1833
1837
  id: Me(s.idPrefix, e),
1834
- "aria-labelledby": Ae(s.idPrefix, e),
1838
+ "aria-labelledby": qe(s.idPrefix, e),
1835
1839
  hidden: !r,
1836
1840
  tabIndex: 0,
1837
1841
  className: [he.panel, i].filter(Boolean).join(" "),
@@ -1841,23 +1845,23 @@ function Xi({ value: e, children: n, className: i, ref: a }) {
1841
1845
  }
1842
1846
  export {
1843
1847
  ze as Announcement,
1844
- Qr as AppShell,
1845
- ei as AspectRatio,
1846
- Oi as Banner,
1847
- ce as Button,
1848
- Or as Card,
1848
+ ei as AppShell,
1849
+ ni as AspectRatio,
1850
+ Ki as Banner,
1851
+ le as Button,
1852
+ Fr as Card,
1849
1853
  Ce as Checkbox,
1850
- Ui as CopyButton,
1851
- Ri as CursorPagination,
1852
- Ur as DescriptionItem,
1853
- Kr as DescriptionList,
1854
- Ni as Dialog,
1855
- ni as Field,
1854
+ Yi as CopyButton,
1855
+ Vi as CursorPagination,
1856
+ Gr as DescriptionItem,
1857
+ Ur as DescriptionList,
1858
+ $i as Dialog,
1859
+ ti as Field,
1856
1860
  ue as FieldContext,
1857
1861
  lt as IconAlertCircle,
1858
1862
  ct as IconAlertTriangle,
1859
- fi as IconArrowDown,
1860
- pi as IconArrowUpRight,
1863
+ pi as IconArrowDown,
1864
+ gi as IconArrowUpRight,
1861
1865
  te as IconButton,
1862
1866
  ot as IconCheck,
1863
1867
  Vn as IconChevronDown,
@@ -1865,61 +1869,62 @@ export {
1865
1869
  rt as IconChevronRight,
1866
1870
  me as IconClose,
1867
1871
  st as IconCopy,
1868
- ci as IconEdit,
1869
- di as IconExternalLink,
1870
- ui as IconEye,
1871
- hi as IconEyeOff,
1872
- mi as IconGitHub,
1872
+ li as IconEdit,
1873
+ ui as IconExternalLink,
1874
+ hi as IconEye,
1875
+ _i as IconEyeOff,
1876
+ bi as IconGitHub,
1873
1877
  at as IconInfo,
1874
- vi as IconInstagram,
1875
- gi as IconLinkedIn,
1876
- _i as IconLoader,
1877
- xi as IconLogOut,
1878
+ yi as IconInstagram,
1879
+ mi as IconLinkedIn,
1880
+ fi as IconLoader,
1881
+ ki as IconLogOut,
1878
1882
  wi as IconMenu,
1879
- ri as IconMinus,
1880
- yi as IconMoreHorizontal,
1881
- oi as IconPlus,
1882
- ii as IconSearch,
1883
- si as IconSettings,
1884
- ki as IconSimCard,
1885
- li as IconTrash,
1886
- ai as IconUser,
1887
- bi as IconX,
1888
- Fi as InlineAlert,
1889
- $i as Input,
1890
- Ti as Menu,
1883
+ ii as IconMinus,
1884
+ xi as IconMoreHorizontal,
1885
+ ri as IconPlus,
1886
+ si as IconSearch,
1887
+ ai as IconSettings,
1888
+ Ni as IconSimCard,
1889
+ di as IconTrash,
1890
+ ci as IconUser,
1891
+ vi as IconX,
1892
+ Ui as InlineAlert,
1893
+ Bi as Input,
1894
+ zi as Menu,
1891
1895
  Se as MenuContext,
1892
- zi as MenuItem,
1893
- Ii as MenuSeparator,
1894
- Gr as NavBar,
1895
- Xr as NavGroup,
1896
- Jr as NavItem,
1897
- Zr as NavTree,
1898
- qi as Pagination,
1899
- Fr as Panel,
1900
- Bi as Select,
1901
- Ki as Skeleton,
1902
- Yr as SkipLink,
1903
- Li as Switch,
1904
- Zi as Tab,
1905
- Yi as TabList,
1906
- Xi as TabPanel,
1907
- Ei as Table,
1908
- Fo as TableBody,
1909
- Pi as TableCaption,
1910
- Di as TableCell,
1896
+ Ii as MenuItem,
1897
+ Ei as MenuSeparator,
1898
+ qi as MenuText,
1899
+ Yr as NavBar,
1900
+ Jr as NavGroup,
1901
+ Qr as NavItem,
1902
+ Xr as NavTree,
1903
+ Hi as Pagination,
1904
+ Kr as Panel,
1905
+ Li as Select,
1906
+ Gi as Skeleton,
1907
+ Zr as SkipLink,
1908
+ Ci as Switch,
1909
+ Ji as Tab,
1910
+ Xi as TabList,
1911
+ Qi as TabPanel,
1912
+ Mi as Table,
1913
+ Ko as TableBody,
1914
+ Ri as TableCaption,
1915
+ Pi as TableCell,
1911
1916
  Ai as TableHead,
1912
- Wi as TableHeaderCell,
1913
- Mi as TableRow,
1914
- Gi as Tabs,
1917
+ Di as TableHeaderCell,
1918
+ Wi as TableRow,
1919
+ Zi as Tabs,
1915
1920
  Ee as TabsContext,
1916
- Ci as Tag,
1921
+ Si as Tag,
1917
1922
  ge as Toast,
1918
1923
  Ie as ToastContext,
1919
- Vi as ToastProvider,
1920
- _r as ToastRegion,
1921
- ji as Toolbar,
1922
- Si as Tooltip,
1923
- ti as useFieldControl,
1924
- Hi as useToast
1924
+ Fi as ToastProvider,
1925
+ fr as ToastRegion,
1926
+ Ti as Toolbar,
1927
+ ji as Tooltip,
1928
+ oi as useFieldControl,
1929
+ Oi as useToast
1925
1930
  };