@amsterdamdatalabs/enact-design-system 0.1.7 → 0.1.12

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.
Files changed (30) hide show
  1. package/README.md +168 -0
  2. package/dist/components/data/Accordion/Accordion.d.ts +23 -0
  3. package/dist/components/data/Accordion/index.d.ts +1 -0
  4. package/dist/components/data/List/List.d.ts +19 -0
  5. package/dist/components/data/List/index.d.ts +1 -0
  6. package/dist/components/data/MetricCard/MetricCard.d.ts +19 -0
  7. package/dist/components/data/MetricCard/index.d.ts +1 -0
  8. package/dist/components/data/Table/Table.d.ts +49 -0
  9. package/dist/components/data/Table/index.d.ts +1 -0
  10. package/dist/components/feedback/Skeleton/Skeleton.d.ts +12 -0
  11. package/dist/components/feedback/Skeleton/index.d.ts +1 -0
  12. package/dist/components/forms/Radio/Radio.d.ts +19 -0
  13. package/dist/components/forms/Radio/index.d.ts +1 -0
  14. package/dist/components/forms/Textarea/Textarea.d.ts +8 -0
  15. package/dist/components/forms/Textarea/index.d.ts +1 -0
  16. package/dist/components/layout/Divider/Divider.d.ts +11 -0
  17. package/dist/components/layout/Divider/index.d.ts +1 -0
  18. package/dist/components/navigation/Pagination/Pagination.d.ts +11 -0
  19. package/dist/components/navigation/Pagination/index.d.ts +1 -0
  20. package/dist/components/overlay/Modal/Modal.d.ts +17 -0
  21. package/dist/components/overlay/Modal/index.d.ts +1 -0
  22. package/dist/components/overlay/Popover/Popover.d.ts +25 -0
  23. package/dist/components/overlay/Popover/index.d.ts +1 -0
  24. package/dist/components/system/ThemeProvider/index.d.ts +1 -0
  25. package/dist/components/system/ThemeProvider/themeInitScript.d.ts +37 -0
  26. package/dist/enact-design-system.css +1 -1
  27. package/dist/index.d.ts +12 -1
  28. package/dist/index.js +1786 -785
  29. package/dist/tokens.css +14 -0
  30. package/package.json +3 -2
package/dist/index.js CHANGED
@@ -1,236 +1,237 @@
1
- import { jsx as o, jsxs as d } from "react/jsx-runtime";
2
- import { useState as M, useEffect as X, useCallback as Y, useMemo as J, useContext as V, createContext as Z } from "react";
3
- function i(...t) {
1
+ import { jsx as c, jsxs as b, Fragment as Bt } from "react/jsx-runtime";
2
+ import { useState as z, useContext as $t, useRef as T, createContext as xt, useEffect as L, useLayoutEffect as Nt, useId as zt, useCallback as R, cloneElement as Dt, useMemo as Tt } from "react";
3
+ import { createPortal as St } from "react-dom";
4
+ function d(...t) {
4
5
  return t.filter(Boolean).join(" ");
5
6
  }
6
- const K = "_avatar_yqge8_1", tt = "_hasImage_yqge8_15", nt = "_img_yqge8_19", et = "_sm_yqge8_26", st = "_md_yqge8_31", at = "_lg_yqge8_36", ot = "_xl_yqge8_41", C = {
7
- avatar: K,
8
- hasImage: tt,
9
- img: nt,
10
- sm: et,
11
- md: st,
12
- lg: at,
13
- xl: ot
14
- }, _t = /\s+/;
15
- function ct(t) {
16
- return t.split(_t).filter(Boolean).slice(0, 2).map((n) => n[0].toUpperCase()).join("");
7
+ const At = "_avatar_yqge8_1", Pt = "_hasImage_yqge8_15", Xt = "_img_yqge8_19", Ft = "_sm_yqge8_26", Wt = "_md_yqge8_31", Ut = "_lg_yqge8_36", Ht = "_xl_yqge8_41", st = {
8
+ avatar: At,
9
+ hasImage: Pt,
10
+ img: Xt,
11
+ sm: Ft,
12
+ md: Wt,
13
+ lg: Ut,
14
+ xl: Ht
15
+ }, Kt = /\s+/;
16
+ function Ot(t) {
17
+ return t.split(Kt).filter(Boolean).slice(0, 2).map((e) => e[0].toUpperCase()).join("");
17
18
  }
18
- function fo({
19
+ function Yi({
19
20
  name: t = "",
20
- src: n,
21
- size: e = "md",
22
- className: a,
23
- ref: s,
24
- ..._
21
+ src: e,
22
+ size: n = "md",
23
+ className: s,
24
+ ref: a,
25
+ ...o
25
26
  }) {
26
- const c = ct(t);
27
- return /* @__PURE__ */ o(
27
+ const i = Ot(t);
28
+ return /* @__PURE__ */ c(
28
29
  "span",
29
30
  {
30
- className: i(
31
- C.avatar,
32
- C[e],
33
- n && C.hasImage,
34
- a
31
+ className: d(
32
+ st.avatar,
33
+ st[n],
34
+ e && st.hasImage,
35
+ s
35
36
  ),
36
- ref: s,
37
+ ref: a,
37
38
  title: t,
38
- ..._,
39
- children: n ? /* @__PURE__ */ o("img", { alt: t, className: C.img, src: n }) : c || "•"
39
+ ...o,
40
+ children: e ? /* @__PURE__ */ c("img", { alt: t, className: st.img, src: e }) : i || "•"
40
41
  }
41
42
  );
42
43
  }
43
- const it = "_badge_1ndhf_1", rt = "_dot_1ndhf_15", lt = "_neutral_1ndhf_23", dt = "_brand_1ndhf_27", ut = "_info_1ndhf_31", gt = "_success_1ndhf_35", pt = "_warning_1ndhf_39", ht = "_danger_1ndhf_43", I = {
44
- badge: it,
45
- dot: rt,
46
- neutral: lt,
47
- brand: dt,
48
- info: ut,
49
- success: gt,
50
- warning: pt,
51
- danger: ht
44
+ const Gt = "_badge_1ndhf_1", Yt = "_dot_1ndhf_15", Vt = "_neutral_1ndhf_23", Jt = "_brand_1ndhf_27", Qt = "_info_1ndhf_31", Zt = "_success_1ndhf_35", te = "_warning_1ndhf_39", ee = "_danger_1ndhf_43", lt = {
45
+ badge: Gt,
46
+ dot: Yt,
47
+ neutral: Vt,
48
+ brand: Jt,
49
+ info: Qt,
50
+ success: Zt,
51
+ warning: te,
52
+ danger: ee
52
53
  };
53
- function wo({
54
+ function Vi({
54
55
  tone: t = "neutral",
55
- dot: n = !1,
56
- className: e,
57
- children: a,
58
- ref: s,
59
- ..._
56
+ dot: e = !1,
57
+ className: n,
58
+ children: s,
59
+ ref: a,
60
+ ...o
60
61
  }) {
61
- return /* @__PURE__ */ d(
62
+ return /* @__PURE__ */ b(
62
63
  "span",
63
64
  {
64
- className: i(I.badge, I[t], e),
65
- ref: s,
66
- ..._,
65
+ className: d(lt.badge, lt[t], n),
66
+ ref: a,
67
+ ...o,
67
68
  children: [
68
- n && /* @__PURE__ */ o("span", { className: I.dot }),
69
- a
69
+ e && /* @__PURE__ */ c("span", { className: lt.dot }),
70
+ s
70
71
  ]
71
72
  }
72
73
  );
73
74
  }
74
- const mt = "_btn_1m6dq_1", ft = "_fullWidth_1m6dq_20", wt = "_sm_1m6dq_26", xt = "_md_1m6dq_32", yt = "_lg_1m6dq_38", bt = "_primary_1m6dq_46", kt = "_secondary_1m6dq_57", $t = "_ghost_1m6dq_71", vt = "_danger_1m6dq_82", L = {
75
- btn: mt,
76
- fullWidth: ft,
77
- sm: wt,
78
- md: xt,
79
- lg: yt,
80
- primary: bt,
81
- secondary: kt,
82
- ghost: $t,
83
- danger: vt
75
+ const ne = "_btn_1x1y9_1", se = "_fullWidth_1x1y9_25", ae = "_sm_1x1y9_31", oe = "_md_1x1y9_37", ce = "_lg_1x1y9_43", ie = "_primary_1x1y9_51", re = "_secondary_1x1y9_62", le = "_ghost_1x1y9_76", _e = "_danger_1x1y9_87", at = {
76
+ btn: ne,
77
+ fullWidth: se,
78
+ sm: ae,
79
+ md: oe,
80
+ lg: ce,
81
+ primary: ie,
82
+ secondary: re,
83
+ ghost: le,
84
+ danger: _e
84
85
  };
85
- function xo({
86
+ function Ji({
86
87
  variant: t = "primary",
87
- size: n = "md",
88
- iconLeft: e,
89
- iconRight: a,
90
- fullWidth: s = !1,
91
- disabled: _ = !1,
92
- className: c,
88
+ size: e = "md",
89
+ iconLeft: n,
90
+ iconRight: s,
91
+ fullWidth: a = !1,
92
+ disabled: o = !1,
93
+ className: i,
93
94
  children: r,
94
- ref: u,
95
+ ref: _,
95
96
  ...l
96
97
  }) {
97
- return /* @__PURE__ */ d(
98
+ return /* @__PURE__ */ b(
98
99
  "button",
99
100
  {
100
- className: i(
101
- L.btn,
102
- L[t],
103
- L[n],
104
- s && L.fullWidth,
105
- c
101
+ className: d(
102
+ at.btn,
103
+ at[t],
104
+ at[e],
105
+ a && at.fullWidth,
106
+ i
106
107
  ),
107
- disabled: _,
108
- ref: u,
108
+ disabled: o,
109
+ ref: _,
109
110
  type: "button",
110
111
  ...l,
111
112
  children: [
112
- e,
113
+ n,
113
114
  r,
114
- a
115
+ s
115
116
  ]
116
117
  }
117
118
  );
118
119
  }
119
- const jt = "_card_1tzae_1", St = "_padNone_1tzae_9", zt = "_padSm_1tzae_12", Nt = "_padMd_1tzae_15", Mt = "_padLg_1tzae_18", Ct = "_raised_1tzae_28", Lt = "_sunken_1tzae_33", qt = "_inverse_1tzae_38", Bt = "_interactive_1tzae_49", q = {
120
- card: jt,
121
- padNone: St,
122
- padSm: zt,
123
- padMd: Nt,
124
- padLg: Mt,
120
+ const de = "_card_1tzae_1", ue = "_padNone_1tzae_9", pe = "_padSm_1tzae_12", ge = "_padMd_1tzae_15", he = "_padLg_1tzae_18", fe = "_raised_1tzae_28", me = "_sunken_1tzae_33", be = "_inverse_1tzae_38", we = "_interactive_1tzae_49", ot = {
121
+ card: de,
122
+ padNone: ue,
123
+ padSm: pe,
124
+ padMd: ge,
125
+ padLg: he,
125
126
  default: "_default_1tzae_23",
126
- raised: Ct,
127
- sunken: Lt,
128
- inverse: qt,
129
- interactive: Bt
130
- }, Et = {
127
+ raised: fe,
128
+ sunken: me,
129
+ inverse: be,
130
+ interactive: we
131
+ }, ye = {
131
132
  none: "padNone",
132
133
  sm: "padSm",
133
134
  md: "padMd",
134
135
  lg: "padLg"
135
136
  };
136
- function yo({
137
+ function Qi({
137
138
  variant: t = "default",
138
- padding: n = "md",
139
- interactive: e = !1,
140
- className: a,
141
- children: s,
142
- ref: _,
143
- ...c
139
+ padding: e = "md",
140
+ interactive: n = !1,
141
+ className: s,
142
+ children: a,
143
+ ref: o,
144
+ ...i
144
145
  }) {
145
- return /* @__PURE__ */ o(
146
+ return /* @__PURE__ */ c(
146
147
  "div",
147
148
  {
148
- className: i(
149
- q.card,
150
- q[t],
151
- q[Et[n]],
152
- e && q.interactive,
153
- a
149
+ className: d(
150
+ ot.card,
151
+ ot[t],
152
+ ot[ye[e]],
153
+ n && ot.interactive,
154
+ s
154
155
  ),
155
- ref: _,
156
- ...c,
157
- children: s
156
+ ref: o,
157
+ ...i,
158
+ children: a
158
159
  }
159
160
  );
160
161
  }
161
- const Rt = "_btn_2g73d_1", Xt = "_sm_2g73d_17", It = "_md_2g73d_21", Tt = "_lg_2g73d_25", Pt = "_ghost_2g73d_31", Wt = "_outline_2g73d_39", At = "_primary_2g73d_48", T = {
162
- btn: Rt,
163
- sm: Xt,
164
- md: It,
165
- lg: Tt,
166
- ghost: Pt,
167
- outline: Wt,
168
- primary: At
162
+ const ve = "_btn_1htkg_1", ke = "_sm_1htkg_22", $e = "_md_1htkg_26", xe = "_lg_1htkg_30", Ne = "_ghost_1htkg_36", ze = "_outline_1htkg_44", Se = "_primary_1htkg_53", _t = {
163
+ btn: ve,
164
+ sm: ke,
165
+ md: $e,
166
+ lg: xe,
167
+ ghost: Ne,
168
+ outline: ze,
169
+ primary: Se
169
170
  };
170
- function bo({
171
+ function Zi({
171
172
  label: t,
172
- size: n = "md",
173
- variant: e = "ghost",
174
- disabled: a = !1,
175
- className: s,
176
- children: _,
177
- ref: c,
173
+ size: e = "md",
174
+ variant: n = "ghost",
175
+ disabled: s = !1,
176
+ className: a,
177
+ children: o,
178
+ ref: i,
178
179
  ...r
179
180
  }) {
180
- return /* @__PURE__ */ o(
181
+ return /* @__PURE__ */ c(
181
182
  "button",
182
183
  {
183
184
  "aria-label": t,
184
- className: i(T.btn, T[e], T[n], s),
185
- disabled: a,
186
- ref: c,
185
+ className: d(_t.btn, _t[n], _t[e], a),
186
+ disabled: s,
187
+ ref: i,
187
188
  title: t,
188
189
  type: "button",
189
190
  ...r,
190
- children: _
191
+ children: o
191
192
  }
192
193
  );
193
194
  }
194
- const Dt = "_stat_1uc8c_1", Ft = "_label_1uc8c_7", Ut = "_valueRow_1uc8c_16", Ht = "_value_1uc8c_16", Ot = "_delta_1uc8c_31", Gt = "_deltaUp_1uc8c_40", Qt = "_deltaDown_1uc8c_43", Yt = "_deltaFlat_1uc8c_46", Jt = "_flip_1uc8c_50", Vt = "_caption_1uc8c_54", m = {
195
- stat: Dt,
196
- label: Ft,
197
- valueRow: Ut,
198
- value: Ht,
199
- delta: Ot,
200
- deltaUp: Gt,
201
- deltaDown: Qt,
202
- deltaFlat: Yt,
203
- flip: Jt,
204
- caption: Vt
205
- }, Zt = {
195
+ const Me = "_stat_1uc8c_1", je = "_label_1uc8c_7", Le = "_valueRow_1uc8c_16", qe = "_value_1uc8c_16", Ee = "_delta_1uc8c_31", Ce = "_deltaUp_1uc8c_40", Re = "_deltaDown_1uc8c_43", Ie = "_deltaFlat_1uc8c_46", Be = "_flip_1uc8c_50", De = "_caption_1uc8c_54", E = {
196
+ stat: Me,
197
+ label: je,
198
+ valueRow: Le,
199
+ value: qe,
200
+ delta: Ee,
201
+ deltaUp: Ce,
202
+ deltaDown: Re,
203
+ deltaFlat: Ie,
204
+ flip: Be,
205
+ caption: De
206
+ }, Te = {
206
207
  up: "deltaUp",
207
208
  down: "deltaDown",
208
209
  flat: "deltaFlat"
209
210
  };
210
- function ko({
211
+ function tr({
211
212
  label: t,
212
- value: n,
213
- delta: e,
214
- deltaDirection: a = "up",
215
- caption: s,
216
- className: _,
217
- ref: c,
213
+ value: e,
214
+ delta: n,
215
+ deltaDirection: s = "up",
216
+ caption: a,
217
+ className: o,
218
+ ref: i,
218
219
  ...r
219
220
  }) {
220
- return /* @__PURE__ */ d("div", { className: i(m.stat, _), ref: c, ...r, children: [
221
- /* @__PURE__ */ o("span", { className: m.label, children: t }),
222
- /* @__PURE__ */ d("span", { className: m.valueRow, children: [
223
- /* @__PURE__ */ o("span", { className: m.value, children: n }),
224
- e != null && /* @__PURE__ */ d(
221
+ return /* @__PURE__ */ b("div", { className: d(E.stat, o), ref: i, ...r, children: [
222
+ /* @__PURE__ */ c("span", { className: E.label, children: t }),
223
+ /* @__PURE__ */ b("span", { className: E.valueRow, children: [
224
+ /* @__PURE__ */ c("span", { className: E.value, children: e }),
225
+ n != null && /* @__PURE__ */ b(
225
226
  "span",
226
227
  {
227
- className: i(m.delta, m[Zt[a]]),
228
+ className: d(E.delta, E[Te[s]]),
228
229
  children: [
229
- a !== "flat" && /* @__PURE__ */ o(
230
+ s !== "flat" && /* @__PURE__ */ c(
230
231
  "svg",
231
232
  {
232
233
  "aria-hidden": "true",
233
- className: a === "down" ? m.flip : void 0,
234
+ className: s === "down" ? E.flip : void 0,
234
235
  fill: "none",
235
236
  height: "10",
236
237
  stroke: "currentColor",
@@ -239,32 +240,32 @@ function ko({
239
240
  strokeWidth: "1.6",
240
241
  viewBox: "0 0 10 10",
241
242
  width: "10",
242
- children: /* @__PURE__ */ o("path", { d: "M1.5 8.5l7-7M3.5 1.5h5v5" })
243
+ children: /* @__PURE__ */ c("path", { d: "M1.5 8.5l7-7M3.5 1.5h5v5" })
243
244
  }
244
245
  ),
245
- e
246
+ n
246
247
  ]
247
248
  }
248
249
  )
249
250
  ] }),
250
- s != null && /* @__PURE__ */ o("span", { className: m.caption, children: s })
251
+ a != null && /* @__PURE__ */ c("span", { className: E.caption, children: a })
251
252
  ] });
252
253
  }
253
- const Kt = "_tag_11jaq_1", tn = "_remove_11jaq_18", U = {
254
- tag: Kt,
255
- remove: tn
254
+ const Ae = "_tag_11jaq_1", Pe = "_remove_11jaq_18", wt = {
255
+ tag: Ae,
256
+ remove: Pe
256
257
  };
257
- function $o({ onRemove: t, className: n, children: e, ref: a, ...s }) {
258
- return /* @__PURE__ */ d("span", { className: i(U.tag, n), ref: a, ...s, children: [
259
- e,
260
- t && /* @__PURE__ */ o(
258
+ function er({ onRemove: t, className: e, children: n, ref: s, ...a }) {
259
+ return /* @__PURE__ */ b("span", { className: d(wt.tag, e), ref: s, ...a, children: [
260
+ n,
261
+ t && /* @__PURE__ */ c(
261
262
  "button",
262
263
  {
263
264
  "aria-label": "Remove",
264
- className: U.remove,
265
+ className: wt.remove,
265
266
  onClick: t,
266
267
  type: "button",
267
- children: /* @__PURE__ */ o(
268
+ children: /* @__PURE__ */ c(
268
269
  "svg",
269
270
  {
270
271
  "aria-hidden": "true",
@@ -275,52 +276,426 @@ function $o({ onRemove: t, className: n, children: e, ref: a, ...s }) {
275
276
  strokeWidth: "1.6",
276
277
  viewBox: "0 0 10 10",
277
278
  width: "9",
278
- children: /* @__PURE__ */ o("path", { d: "M1.5 1.5l7 7M8.5 1.5l-7 7" })
279
+ children: /* @__PURE__ */ c("path", { d: "M1.5 1.5l7 7M8.5 1.5l-7 7" })
279
280
  }
280
281
  )
281
282
  }
282
283
  )
283
284
  ] });
284
285
  }
285
- const nn = "_alert_1217n_1", en = "_icon_1217n_16", sn = "_body_1217n_22", an = "_title_1217n_26", on = "_titleSpaced_1217n_29", _n = "_dismiss_1217n_33", cn = "_info_1217n_45", rn = "_success_1217n_50", ln = "_warning_1217n_55", dn = "_danger_1217n_60", f = {
286
- alert: nn,
287
- icon: en,
288
- body: sn,
289
- title: an,
290
- titleSpaced: on,
291
- dismiss: _n,
292
- info: cn,
293
- success: rn,
294
- warning: ln,
295
- danger: dn
296
- }, un = {
286
+ const Xe = "_accordion_1if9c_1", Fe = "_item_1if9c_9", We = "_heading_1if9c_18", Ue = "_trigger_1if9c_23", He = "_chevron_1if9c_50", Ke = "_open_1if9c_62", Oe = "_panel_1if9c_67", Ge = "_panelContent_1if9c_71", C = {
287
+ accordion: Xe,
288
+ item: Fe,
289
+ heading: We,
290
+ trigger: Ue,
291
+ chevron: He,
292
+ open: Ke,
293
+ panel: Oe,
294
+ panelContent: Ge
295
+ };
296
+ function nr({
297
+ className: t,
298
+ defaultOpen: e = [],
299
+ items: n,
300
+ open: s,
301
+ onOpenChange: a,
302
+ ref: o,
303
+ type: i = "single",
304
+ ...r
305
+ }) {
306
+ const _ = s !== void 0, [l, u] = z(
307
+ new Set(e)
308
+ ), m = _ ? new Set(s) : l;
309
+ function h(g) {
310
+ const f = new Set(m);
311
+ f.has(g) ? f.delete(g) : (i === "single" && f.clear(), f.add(g)), _ ? a == null || a([...f]) : u(f);
312
+ }
313
+ function w(g, f) {
314
+ if (g.key === "Enter" || g.key === " ")
315
+ g.preventDefault(), h(n[f].id);
316
+ else if (g.key === "ArrowDown") {
317
+ g.preventDefault();
318
+ const $ = (f + 1) % n.length, p = document.getElementById(
319
+ `accordion-btn-${n[$].id}`
320
+ );
321
+ p == null || p.focus();
322
+ } else if (g.key === "ArrowUp") {
323
+ g.preventDefault();
324
+ const $ = (f - 1 + n.length) % n.length, p = document.getElementById(
325
+ `accordion-btn-${n[$].id}`
326
+ );
327
+ p == null || p.focus();
328
+ }
329
+ }
330
+ return /* @__PURE__ */ c("div", { className: d(C.accordion, t), ref: o, ...r, children: n.map((g, f) => {
331
+ const $ = m.has(g.id), p = `accordion-btn-${g.id}`, v = `accordion-panel-${g.id}`;
332
+ return /* @__PURE__ */ b("div", { className: C.item, children: [
333
+ /* @__PURE__ */ c("h3", { className: C.heading, children: /* @__PURE__ */ b(
334
+ "button",
335
+ {
336
+ "aria-controls": v,
337
+ "aria-expanded": $,
338
+ className: d(C.trigger, $ && C.open),
339
+ id: p,
340
+ onClick: () => h(g.id),
341
+ onKeyDown: (x) => w(x, f),
342
+ type: "button",
343
+ children: [
344
+ g.header,
345
+ /* @__PURE__ */ c("span", { "aria-hidden": "true", className: C.chevron })
346
+ ]
347
+ }
348
+ ) }),
349
+ $ && // biome-ignore lint/a11y/useSemanticElements: role="region" is explicit so tests can assert getAttribute("role"); <section> carries it implicitly but getAttribute returns null
350
+ /* @__PURE__ */ c(
351
+ "div",
352
+ {
353
+ "aria-labelledby": p,
354
+ className: C.panel,
355
+ id: v,
356
+ role: "region",
357
+ children: /* @__PURE__ */ c("div", { className: C.panelContent, children: g.content })
358
+ }
359
+ )
360
+ ] }, g.id);
361
+ }) });
362
+ }
363
+ const Ye = "_list_1qsit_1", Ve = "_item_1qsit_11", Je = "_dividers_1qsit_17", Qe = "_gap0_1qsit_22", Ze = "_gap1_1qsit_28", tn = "_gap2_1qsit_34", en = "_gap3_1qsit_40", nn = "_gap4_1qsit_46", sn = "_interactive_1qsit_53", an = "_selected_1qsit_69", W = {
364
+ list: Ye,
365
+ item: Ve,
366
+ dividers: Je,
367
+ gap0: Qe,
368
+ gap1: Ze,
369
+ gap2: tn,
370
+ gap3: en,
371
+ gap4: nn,
372
+ interactive: sn,
373
+ selected: an
374
+ };
375
+ function sr({
376
+ ordered: t = !1,
377
+ dividers: e = !1,
378
+ gap: n,
379
+ className: s,
380
+ children: a,
381
+ ref: o,
382
+ ...i
383
+ }) {
384
+ return /* @__PURE__ */ c(
385
+ t ? "ol" : "ul",
386
+ {
387
+ className: d(
388
+ W.list,
389
+ e && W.dividers,
390
+ n != null && W[`gap${n}`],
391
+ s
392
+ ),
393
+ ref: o,
394
+ ...i,
395
+ children: a
396
+ }
397
+ );
398
+ }
399
+ function ar({
400
+ interactive: t = !1,
401
+ selected: e = !1,
402
+ className: n,
403
+ children: s,
404
+ onClick: a,
405
+ ref: o,
406
+ ...i
407
+ }) {
408
+ const r = t || e;
409
+ function _(l) {
410
+ (l.key === "Enter" || l.key === " ") && (l.preventDefault(), a == null || a(l));
411
+ }
412
+ return (
413
+ // biome-ignore lint/a11y/noNoninteractiveElementInteractions: role="option" is set dynamically when interactive or selected; onClick is valid on option elements
414
+ // biome-ignore lint/a11y/useAriaPropsSupportedByRole: aria-selected is set only when role="option" is also present (isOption guard); Biome cannot statically infer the dynamic role
415
+ /* @__PURE__ */ c(
416
+ "li",
417
+ {
418
+ ...i,
419
+ "aria-selected": r ? e : void 0,
420
+ className: d(
421
+ W.item,
422
+ t && W.interactive,
423
+ e && W.selected,
424
+ n
425
+ ),
426
+ onClick: r ? a : void 0,
427
+ onKeyDown: t ? _ : void 0,
428
+ ref: o,
429
+ role: r ? "option" : void 0,
430
+ tabIndex: t ? 0 : void 0,
431
+ children: s
432
+ }
433
+ )
434
+ );
435
+ }
436
+ const on = "_card_dagfo_2", cn = "_header_dagfo_15", rn = "_label_dagfo_21", ln = "_icon_dagfo_29", _n = "_valueRow_dagfo_38", dn = "_value_dagfo_38", un = "_delta_dagfo_54", pn = "_deltaUp_dagfo_62", gn = "_deltaDown_dagfo_66", hn = "_deltaFlat_dagfo_70", fn = "_flip_dagfo_74", mn = "_caption_dagfo_79", bn = "_trend_dagfo_85", N = {
437
+ card: on,
438
+ header: cn,
439
+ label: rn,
440
+ icon: ln,
441
+ valueRow: _n,
442
+ value: dn,
443
+ delta: un,
444
+ deltaUp: pn,
445
+ deltaDown: gn,
446
+ deltaFlat: hn,
447
+ flip: fn,
448
+ caption: mn,
449
+ trend: bn
450
+ }, wn = {
451
+ up: "deltaUp",
452
+ down: "deltaDown",
453
+ flat: "deltaFlat"
454
+ };
455
+ function or({
456
+ caption: t,
457
+ children: e,
458
+ className: n,
459
+ delta: s,
460
+ deltaDirection: a = "up",
461
+ icon: o,
462
+ label: i,
463
+ ref: r,
464
+ value: _,
465
+ ...l
466
+ }) {
467
+ return /* @__PURE__ */ b("div", { className: d(N.card, n), ref: r, ...l, children: [
468
+ /* @__PURE__ */ b("div", { className: N.header, children: [
469
+ /* @__PURE__ */ c("span", { className: N.label, children: i }),
470
+ o != null && /* @__PURE__ */ c("span", { "aria-hidden": "true", className: N.icon, children: o })
471
+ ] }),
472
+ /* @__PURE__ */ b("div", { className: N.valueRow, children: [
473
+ /* @__PURE__ */ c("span", { className: N.value, children: _ }),
474
+ s != null && /* @__PURE__ */ b(
475
+ "span",
476
+ {
477
+ className: d(N.delta, N[wn[a]]),
478
+ children: [
479
+ a !== "flat" && /* @__PURE__ */ c(
480
+ "svg",
481
+ {
482
+ "aria-hidden": "true",
483
+ className: a === "down" ? N.flip : void 0,
484
+ fill: "none",
485
+ height: "10",
486
+ stroke: "currentColor",
487
+ strokeLinecap: "round",
488
+ strokeLinejoin: "round",
489
+ strokeWidth: "1.6",
490
+ viewBox: "0 0 10 10",
491
+ width: "10",
492
+ children: /* @__PURE__ */ c("path", { d: "M1.5 8.5l7-7M3.5 1.5h5v5" })
493
+ }
494
+ ),
495
+ s
496
+ ]
497
+ }
498
+ )
499
+ ] }),
500
+ t != null && /* @__PURE__ */ c("span", { className: N.caption, children: t }),
501
+ e != null && /* @__PURE__ */ c("div", { className: N.trend, children: e })
502
+ ] });
503
+ }
504
+ const yn = "_table_1neu4_2", vn = "_captionTop_1neu4_14", kn = "_captionBottom_1neu4_25", $n = "_srOnly_1neu4_33", xn = "_thead_1neu4_46", Nn = "_row_1neu4_52", zn = "_selectableRow_1neu4_61", Sn = "_selectedRow_1neu4_69", Mn = "_th_1neu4_46", jn = "_td_1neu4_86", Ln = "_sm_1neu4_92", qn = "_md_1neu4_97", En = "_lg_1neu4_102", Cn = "_stickyHeader_1neu4_108", Rn = "_zebra_1neu4_115", In = "_sortable_1neu4_120", Bn = "_sortButton_1neu4_124", Dn = "_sorted_1neu4_153", Tn = "_sortIcon_1neu4_167", An = "_sortAsc_1neu4_182", Pn = "_sortDesc_1neu4_183", k = {
505
+ table: yn,
506
+ captionTop: vn,
507
+ captionBottom: kn,
508
+ srOnly: $n,
509
+ thead: xn,
510
+ row: Nn,
511
+ selectableRow: zn,
512
+ selectedRow: Sn,
513
+ th: Mn,
514
+ td: jn,
515
+ sm: Ln,
516
+ md: qn,
517
+ lg: En,
518
+ stickyHeader: Cn,
519
+ zebra: Rn,
520
+ sortable: In,
521
+ sortButton: Bn,
522
+ sorted: Dn,
523
+ sortIcon: Tn,
524
+ sortAsc: An,
525
+ sortDesc: Pn
526
+ };
527
+ function cr({
528
+ caption: t,
529
+ captionSide: e = "top",
530
+ children: n,
531
+ className: s,
532
+ ref: a,
533
+ size: o = "md",
534
+ stickyHeader: i = !1,
535
+ zebra: r = !1,
536
+ ..._
537
+ }) {
538
+ let l;
539
+ return e === "sr-only" ? l = k.srOnly : e === "top" ? l = k.captionTop : l = k.captionBottom, /* @__PURE__ */ b(
540
+ "table",
541
+ {
542
+ className: d(
543
+ k.table,
544
+ k[o],
545
+ i && k.stickyHeader,
546
+ r && k.zebra,
547
+ s
548
+ ),
549
+ ref: a,
550
+ ..._,
551
+ children: [
552
+ t != null && /* @__PURE__ */ c("caption", { className: l, children: t }),
553
+ n
554
+ ]
555
+ }
556
+ );
557
+ }
558
+ function ir({
559
+ children: t,
560
+ className: e,
561
+ ref: n,
562
+ ...s
563
+ }) {
564
+ return /* @__PURE__ */ c("thead", { className: d(k.thead, e), ref: n, ...s, children: t });
565
+ }
566
+ function rr({
567
+ children: t,
568
+ className: e,
569
+ onClick: n,
570
+ ref: s,
571
+ selectable: a = !1,
572
+ selected: o,
573
+ ...i
574
+ }) {
575
+ function r(_) {
576
+ (_.key === "Enter" || _.key === " ") && (_.preventDefault(), n == null || n(_));
577
+ }
578
+ return /* @__PURE__ */ c(
579
+ "tr",
580
+ {
581
+ ...i,
582
+ "aria-selected": o ?? void 0,
583
+ className: d(
584
+ k.row,
585
+ a && k.selectableRow,
586
+ o && k.selectedRow,
587
+ e
588
+ ),
589
+ onClick: a ? n : void 0,
590
+ onKeyDown: a ? r : void 0,
591
+ ref: s,
592
+ tabIndex: a ? 0 : void 0,
593
+ children: t
594
+ }
595
+ );
596
+ }
597
+ function lr({
598
+ activeSortKey: t,
599
+ children: e,
600
+ className: n,
601
+ onSortChange: s,
602
+ ref: a,
603
+ sortDir: o = "asc",
604
+ sortKey: i,
605
+ ...r
606
+ }) {
607
+ const _ = i != null, l = _ && t === i;
608
+ let u;
609
+ _ ? l ? o === "asc" ? u = "ascending" : u = "descending" : u = "none" : u = void 0;
610
+ function m() {
611
+ if (!(_ && s))
612
+ return;
613
+ s(i, l && o === "asc" ? "desc" : "asc");
614
+ }
615
+ return /* @__PURE__ */ c(
616
+ "th",
617
+ {
618
+ "aria-sort": u,
619
+ className: d(
620
+ k.th,
621
+ _ && k.sortable,
622
+ l && k.sorted,
623
+ n
624
+ ),
625
+ ref: a,
626
+ scope: "col",
627
+ ...r,
628
+ children: _ ? /* @__PURE__ */ b(
629
+ "button",
630
+ {
631
+ className: k.sortButton,
632
+ onClick: m,
633
+ type: "button",
634
+ children: [
635
+ e,
636
+ /* @__PURE__ */ c(
637
+ "span",
638
+ {
639
+ "aria-hidden": "true",
640
+ className: d(
641
+ k.sortIcon,
642
+ l && (o === "asc" ? k.sortAsc : k.sortDesc)
643
+ )
644
+ }
645
+ )
646
+ ]
647
+ }
648
+ ) : e
649
+ }
650
+ );
651
+ }
652
+ function _r({
653
+ children: t,
654
+ className: e,
655
+ ref: n,
656
+ ...s
657
+ }) {
658
+ return /* @__PURE__ */ c("td", { className: d(k.td, e), ref: n, ...s, children: t });
659
+ }
660
+ const Xn = "_alert_1217n_1", Fn = "_icon_1217n_16", Wn = "_body_1217n_22", Un = "_title_1217n_26", Hn = "_titleSpaced_1217n_29", Kn = "_dismiss_1217n_33", On = "_info_1217n_45", Gn = "_success_1217n_50", Yn = "_warning_1217n_55", Vn = "_danger_1217n_60", I = {
661
+ alert: Xn,
662
+ icon: Fn,
663
+ body: Wn,
664
+ title: Un,
665
+ titleSpaced: Hn,
666
+ dismiss: Kn,
667
+ info: On,
668
+ success: Gn,
669
+ warning: Yn,
670
+ danger: Vn
671
+ }, Jn = {
297
672
  info: "M12 16v-4M12 8h.01M22 12a10 10 0 1 1-20 0 10 10 0 0 1 20 0z",
298
673
  success: "M22 11.08V12a10 10 0 1 1-5.93-9.14M22 4L12 14.01l-3-3",
299
674
  warning: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0zM12 9v4M12 17h.01",
300
675
  danger: "M12 8v4M12 16h.01M22 12a10 10 0 1 1-20 0 10 10 0 0 1 20 0z"
301
676
  };
302
- function vo({
677
+ function dr({
303
678
  tone: t = "info",
304
- title: n,
305
- onDismiss: e,
306
- className: a,
307
- children: s,
308
- ref: _,
309
- ...c
679
+ title: e,
680
+ onDismiss: n,
681
+ className: s,
682
+ children: a,
683
+ ref: o,
684
+ ...i
310
685
  }) {
311
- return /* @__PURE__ */ d(
686
+ return /* @__PURE__ */ b(
312
687
  "div",
313
688
  {
314
- className: i(f.alert, f[t], a),
315
- ref: _,
689
+ className: d(I.alert, I[t], s),
690
+ ref: o,
316
691
  role: "status",
317
- ...c,
692
+ ...i,
318
693
  children: [
319
- /* @__PURE__ */ o(
694
+ /* @__PURE__ */ c(
320
695
  "svg",
321
696
  {
322
697
  "aria-hidden": "true",
323
- className: f.icon,
698
+ className: I.icon,
324
699
  fill: "none",
325
700
  height: "18",
326
701
  stroke: "currentColor",
@@ -329,30 +704,30 @@ function vo({
329
704
  strokeWidth: "2",
330
705
  viewBox: "0 0 24 24",
331
706
  width: "18",
332
- children: /* @__PURE__ */ o("path", { d: un[t] })
707
+ children: /* @__PURE__ */ c("path", { d: Jn[t] })
333
708
  }
334
709
  ),
335
- /* @__PURE__ */ d("div", { className: f.body, children: [
336
- n && /* @__PURE__ */ o(
710
+ /* @__PURE__ */ b("div", { className: I.body, children: [
711
+ e && /* @__PURE__ */ c(
337
712
  "div",
338
713
  {
339
- className: i(
340
- f.title,
341
- !!s && f.titleSpaced
714
+ className: d(
715
+ I.title,
716
+ !!a && I.titleSpaced
342
717
  ),
343
- children: n
718
+ children: e
344
719
  }
345
720
  ),
346
- s
721
+ a
347
722
  ] }),
348
- e && /* @__PURE__ */ o(
723
+ n && /* @__PURE__ */ c(
349
724
  "button",
350
725
  {
351
726
  "aria-label": "Dismiss",
352
- className: f.dismiss,
353
- onClick: e,
727
+ className: I.dismiss,
728
+ onClick: n,
354
729
  type: "button",
355
- children: /* @__PURE__ */ o(
730
+ children: /* @__PURE__ */ c(
356
731
  "svg",
357
732
  {
358
733
  "aria-hidden": "true",
@@ -363,7 +738,7 @@ function vo({
363
738
  strokeWidth: "2",
364
739
  viewBox: "0 0 24 24",
365
740
  width: "14",
366
- children: /* @__PURE__ */ o("path", { d: "M18 6L6 18M6 6l12 12" })
741
+ children: /* @__PURE__ */ c("path", { d: "M18 6L6 18M6 6l12 12" })
367
742
  }
368
743
  )
369
744
  }
@@ -372,119 +747,147 @@ function vo({
372
747
  }
373
748
  );
374
749
  }
375
- const gn = "_progress_tptlj_1", pn = "_header_tptlj_7", hn = "_percent_tptlj_16", mn = "_track_tptlj_20", fn = "_fill_tptlj_27", wn = "_brand_tptlj_34", xn = "_success_tptlj_37", yn = "_warning_tptlj_40", bn = "_danger_tptlj_43", kn = "_accent_tptlj_46", y = {
376
- progress: gn,
377
- header: pn,
378
- percent: hn,
379
- track: mn,
380
- fill: fn,
381
- brand: wn,
382
- success: xn,
383
- warning: yn,
384
- danger: bn,
385
- accent: kn
750
+ const Qn = "_progress_tptlj_1", Zn = "_header_tptlj_7", ts = "_percent_tptlj_16", es = "_track_tptlj_20", ns = "_fill_tptlj_27", ss = "_brand_tptlj_34", as = "_success_tptlj_37", os = "_warning_tptlj_40", cs = "_danger_tptlj_43", is = "_accent_tptlj_46", P = {
751
+ progress: Qn,
752
+ header: Zn,
753
+ percent: ts,
754
+ track: es,
755
+ fill: ns,
756
+ brand: ss,
757
+ success: as,
758
+ warning: os,
759
+ danger: cs,
760
+ accent: is
386
761
  };
387
- function jo({
762
+ function ur({
388
763
  value: t = 0,
389
- max: n = 100,
390
- tone: e = "brand",
391
- label: a,
392
- showValue: s = !1,
393
- className: _,
394
- ref: c,
764
+ max: e = 100,
765
+ tone: n = "brand",
766
+ label: s,
767
+ showValue: a = !1,
768
+ className: o,
769
+ ref: i,
395
770
  ...r
396
771
  }) {
397
- const u = Math.min(100, Math.max(0, t / n * 100));
398
- return /* @__PURE__ */ d("div", { className: i(y.progress, _), ref: c, ...r, children: [
399
- (a || s) && /* @__PURE__ */ d("div", { className: y.header, children: [
400
- /* @__PURE__ */ o("span", { children: a }),
401
- s && /* @__PURE__ */ d("span", { className: y.percent, children: [
402
- Math.round(u),
772
+ const _ = Math.min(100, Math.max(0, t / e * 100));
773
+ return /* @__PURE__ */ b("div", { className: d(P.progress, o), ref: i, ...r, children: [
774
+ (s || a) && /* @__PURE__ */ b("div", { className: P.header, children: [
775
+ /* @__PURE__ */ c("span", { children: s }),
776
+ a && /* @__PURE__ */ b("span", { className: P.percent, children: [
777
+ Math.round(_),
403
778
  "%"
404
779
  ] })
405
780
  ] }),
406
- /* @__PURE__ */ o(
781
+ /* @__PURE__ */ c(
407
782
  "div",
408
783
  {
409
- "aria-valuemax": n,
784
+ "aria-label": s,
785
+ "aria-valuemax": e,
410
786
  "aria-valuenow": t,
411
- className: y.track,
787
+ className: P.track,
412
788
  role: "progressbar",
413
- children: /* @__PURE__ */ o(
789
+ children: /* @__PURE__ */ c(
414
790
  "div",
415
791
  {
416
- className: i(y.fill, y[e]),
417
- style: { width: `${u}%` }
792
+ className: d(P.fill, P[n]),
793
+ style: { width: `${_}%` }
418
794
  }
419
795
  )
420
796
  }
421
797
  )
422
798
  ] });
423
799
  }
424
- const $n = "_wrap_82rh0_1", vn = "_tip_82rh0_6", jn = "_top_82rh0_34", Sn = "_bottom_82rh0_39", zn = "_left_82rh0_44", Nn = "_right_82rh0_49", P = {
425
- wrap: $n,
426
- tip: vn,
427
- top: jn,
428
- bottom: Sn,
429
- left: zn,
430
- right: Nn
800
+ const rs = "_skeleton_ck0u1_11", ls = "_shimmer_ck0u1_1", _s = "_text_ck0u1_31", ds = "_rect_ck0u1_37", us = "_circle_ck0u1_43", yt = {
801
+ skeleton: rs,
802
+ shimmer: ls,
803
+ text: _s,
804
+ rect: ds,
805
+ circle: us
431
806
  };
432
- function So({
807
+ function pr({
808
+ variant: t = "text",
809
+ width: e,
810
+ height: n,
811
+ className: s,
812
+ style: a,
813
+ ref: o,
814
+ ...i
815
+ }) {
816
+ return /* @__PURE__ */ c(
817
+ "div",
818
+ {
819
+ ...i,
820
+ "aria-hidden": "true",
821
+ className: d(yt.skeleton, yt[t], s),
822
+ ref: o,
823
+ style: { width: e, height: n, ...a }
824
+ }
825
+ );
826
+ }
827
+ const ps = "_wrap_82rh0_1", gs = "_tip_82rh0_6", hs = "_top_82rh0_34", fs = "_bottom_82rh0_39", ms = "_left_82rh0_44", bs = "_right_82rh0_49", dt = {
828
+ wrap: ps,
829
+ tip: gs,
830
+ top: hs,
831
+ bottom: fs,
832
+ left: ms,
833
+ right: bs
834
+ };
835
+ function gr({
433
836
  content: t,
434
- placement: n = "top",
435
- className: e,
436
- children: a,
437
- ref: s,
438
- ..._
837
+ placement: e = "top",
838
+ className: n,
839
+ children: s,
840
+ ref: a,
841
+ ...o
439
842
  }) {
440
- return /* @__PURE__ */ d("span", { className: i(P.wrap, e), ref: s, ..._, children: [
441
- a,
442
- /* @__PURE__ */ o("span", { className: i(P.tip, P[n]), role: "tooltip", children: t })
843
+ return /* @__PURE__ */ b("span", { className: d(dt.wrap, n), ref: a, ...o, children: [
844
+ s,
845
+ /* @__PURE__ */ c("span", { className: d(dt.tip, dt[e]), role: "tooltip", children: t })
443
846
  ] });
444
847
  }
445
- const Mn = "_root_1t9ke_1", Cn = "_disabled_1t9ke_12", Ln = "_input_1t9ke_18", qn = "_box_1t9ke_25", Bn = "_checked_1t9ke_40", $ = {
446
- root: Mn,
447
- disabled: Cn,
448
- input: Ln,
449
- box: qn,
450
- checked: Bn
848
+ const ws = "_root_1t9ke_1", ys = "_disabled_1t9ke_12", vs = "_input_1t9ke_18", ks = "_box_1t9ke_25", $s = "_checked_1t9ke_40", G = {
849
+ root: ws,
850
+ disabled: ys,
851
+ input: vs,
852
+ box: ks,
853
+ checked: $s
451
854
  };
452
- function zo({
855
+ function hr({
453
856
  checked: t,
454
- defaultChecked: n = !1,
455
- onChange: e,
456
- label: a,
457
- disabled: s = !1,
458
- className: _,
459
- ref: c,
857
+ defaultChecked: e = !1,
858
+ onChange: n,
859
+ label: s,
860
+ disabled: a = !1,
861
+ className: o,
862
+ ref: i,
460
863
  ...r
461
864
  }) {
462
- const [u, l] = M(n), g = t === void 0 ? u : t, h = (x) => {
463
- s || (t === void 0 && l(!g), e == null || e(!g, x));
865
+ const [_, l] = z(e), u = t === void 0 ? _ : t, m = (h) => {
866
+ a || (t === void 0 && l(!u), n == null || n(!u, h));
464
867
  };
465
- return /* @__PURE__ */ d(
868
+ return /* @__PURE__ */ b(
466
869
  "label",
467
870
  {
468
- className: i($.root, s && $.disabled, _),
871
+ className: d(G.root, a && G.disabled, o),
469
872
  ...r,
470
873
  children: [
471
- /* @__PURE__ */ o(
874
+ /* @__PURE__ */ c(
472
875
  "input",
473
876
  {
474
- checked: g,
475
- className: $.input,
476
- disabled: s,
477
- onChange: h,
478
- ref: c,
877
+ checked: u,
878
+ className: G.input,
879
+ disabled: a,
880
+ onChange: m,
881
+ ref: i,
479
882
  type: "checkbox"
480
883
  }
481
884
  ),
482
- /* @__PURE__ */ o(
885
+ /* @__PURE__ */ c(
483
886
  "span",
484
887
  {
485
888
  "aria-hidden": "true",
486
- className: i($.box, g && $.checked),
487
- children: g && /* @__PURE__ */ o(
889
+ className: d(G.box, u && G.checked),
890
+ children: u && /* @__PURE__ */ c(
488
891
  "svg",
489
892
  {
490
893
  "aria-hidden": "true",
@@ -496,117 +899,240 @@ function zo({
496
899
  strokeWidth: "3.2",
497
900
  viewBox: "0 0 24 24",
498
901
  width: "11",
499
- children: /* @__PURE__ */ o("path", { d: "M20 6L9 17l-5-5" })
902
+ children: /* @__PURE__ */ c("path", { d: "M20 6L9 17l-5-5" })
500
903
  }
501
904
  )
502
905
  }
503
906
  ),
504
- a
907
+ s
505
908
  ]
506
909
  }
507
910
  );
508
911
  }
509
- const En = "_field_1d54c_1", Rn = "_label_1d54c_7", Xn = "_required_1d54c_14", In = "_error_1d54c_18", Tn = "_hint_1d54c_23", N = {
510
- field: En,
511
- label: Rn,
512
- required: Xn,
513
- error: In,
514
- hint: Tn
912
+ const xs = "_field_1d54c_1", Ns = "_label_1d54c_7", zs = "_required_1d54c_14", Ss = "_error_1d54c_18", Ms = "_hint_1d54c_23", et = {
913
+ field: xs,
914
+ label: Ns,
915
+ required: zs,
916
+ error: Ss,
917
+ hint: Ms
515
918
  };
516
- function Pn({ error: t, hint: n }) {
517
- return t ? /* @__PURE__ */ o("span", { className: N.error, children: t }) : n ? /* @__PURE__ */ o("span", { className: N.hint, children: n }) : null;
919
+ function js({ error: t, hint: e }) {
920
+ return t ? /* @__PURE__ */ c("span", { className: et.error, children: t }) : e ? /* @__PURE__ */ c("span", { className: et.hint, children: e }) : null;
518
921
  }
519
- function No({
922
+ function fr({
520
923
  label: t,
521
- hint: n,
522
- error: e,
523
- required: a = !1,
524
- htmlFor: s,
525
- className: _,
526
- children: c,
924
+ hint: e,
925
+ error: n,
926
+ required: s = !1,
927
+ htmlFor: a,
928
+ className: o,
929
+ children: i,
527
930
  ref: r,
528
- ...u
931
+ ..._
529
932
  }) {
530
- return /* @__PURE__ */ d("div", { className: i(N.field, _), ref: r, ...u, children: [
531
- t && /* @__PURE__ */ d("label", { className: N.label, htmlFor: s, children: [
933
+ return /* @__PURE__ */ b("div", { className: d(et.field, o), ref: r, ..._, children: [
934
+ t && /* @__PURE__ */ b("label", { className: et.label, htmlFor: a, children: [
532
935
  t,
533
- a && /* @__PURE__ */ o("span", { className: N.required, children: " *" })
936
+ s && /* @__PURE__ */ c("span", { className: et.required, children: " *" })
534
937
  ] }),
535
- c,
536
- /* @__PURE__ */ o(Pn, { error: e, hint: n })
938
+ i,
939
+ /* @__PURE__ */ c(js, { error: n, hint: e })
537
940
  ] });
538
941
  }
539
- const Wn = "_input_nhfx3_1", An = "_invalid_nhfx3_31", Dn = "_sm_nhfx3_37", Fn = "_md_nhfx3_41", Un = "_lg_nhfx3_45", W = {
540
- input: Wn,
541
- invalid: An,
542
- sm: Dn,
543
- md: Fn,
544
- lg: Un
942
+ const Ls = "_input_1s9zt_1", qs = "_invalid_1s9zt_32", Es = "_sm_1s9zt_38", Cs = "_md_1s9zt_42", Rs = "_lg_1s9zt_46", ut = {
943
+ input: Ls,
944
+ invalid: qs,
945
+ sm: Es,
946
+ md: Cs,
947
+ lg: Rs
545
948
  };
546
- function Mo({
949
+ function mr({
547
950
  size: t = "md",
548
- invalid: n = !1,
549
- disabled: e = !1,
550
- className: a,
551
- ref: s,
552
- ..._
951
+ invalid: e = !1,
952
+ disabled: n = !1,
953
+ className: s,
954
+ ref: a,
955
+ ...o
553
956
  }) {
554
- return /* @__PURE__ */ o(
957
+ return /* @__PURE__ */ c(
555
958
  "input",
556
959
  {
557
- "aria-invalid": n || void 0,
558
- className: i(
559
- W.input,
560
- W[t],
561
- n && W.invalid,
562
- a
960
+ "aria-invalid": e || void 0,
961
+ className: d(
962
+ ut.input,
963
+ ut[t],
964
+ e && ut.invalid,
965
+ s
563
966
  ),
564
- disabled: e,
565
- ref: s,
566
- ..._
967
+ disabled: n,
968
+ ref: a,
969
+ ...o
567
970
  }
568
971
  );
569
972
  }
570
- const Hn = "_wrap_1nxaj_1", On = "_select_1nxaj_7", Gn = "_invalid_1nxaj_36", Qn = "_chevron_1nxaj_41", Yn = "_sm_1nxaj_51", Jn = "_md_1nxaj_55", Vn = "_lg_1nxaj_59", v = {
571
- wrap: Hn,
572
- select: On,
573
- invalid: Gn,
574
- chevron: Qn,
575
- sm: Yn,
576
- md: Jn,
577
- lg: Vn
973
+ const Is = "_group_pkomt_1", Bs = "_vertical_pkomt_6", Ds = "_horizontal_pkomt_10", Ts = "_root_pkomt_18", As = "_disabled_pkomt_29", Ps = "_input_pkomt_35", Xs = "_dot_pkomt_43", Fs = "_checked_pkomt_68", D = {
974
+ group: Is,
975
+ vertical: Bs,
976
+ horizontal: Ds,
977
+ root: Ts,
978
+ disabled: As,
979
+ input: Ps,
980
+ dot: Xs,
981
+ checked: Fs
578
982
  };
579
- function Co({
580
- size: t = "md",
581
- invalid: n = !1,
582
- disabled: e = !1,
583
- className: a,
584
- children: s,
983
+ function Ws(t) {
984
+ return t === "ArrowDown" || t === "ArrowRight" ? "forward" : t === "ArrowUp" || t === "ArrowLeft" ? "backward" : null;
985
+ }
986
+ function Us(t, e, n) {
987
+ return n === "forward" ? t < 0 ? 0 : (t + 1) % e : t < 0 ? e - 1 : (t - 1 + e) % e;
988
+ }
989
+ const Mt = xt(null);
990
+ function br({
991
+ name: t,
992
+ value: e,
993
+ defaultValue: n,
994
+ onChange: s,
995
+ disabled: a = !1,
996
+ orientation: o = "vertical",
997
+ children: i,
998
+ className: r,
585
999
  ref: _,
586
- ...c
1000
+ ...l
1001
+ }) {
1002
+ const [u, m] = z(n), h = e !== void 0, w = h ? e : u, g = T([]);
1003
+ g.current = [];
1004
+ const f = (p) => {
1005
+ h || m(p), s == null || s(p);
1006
+ }, $ = (p) => {
1007
+ const v = Array.from(
1008
+ p.currentTarget.querySelectorAll(
1009
+ 'input[type="radio"]:not([disabled])'
1010
+ )
1011
+ );
1012
+ if (v.length === 0)
1013
+ return;
1014
+ const x = document.activeElement, A = v.indexOf(x);
1015
+ if (p.key === " " || p.key === "Enter") {
1016
+ p.preventDefault(), x && v.includes(x) && f(x.value);
1017
+ return;
1018
+ }
1019
+ const S = Ws(p.key);
1020
+ if (S === null)
1021
+ return;
1022
+ p.preventDefault();
1023
+ const M = Us(A, v.length, S), U = v[M];
1024
+ U.focus(), f(U.value);
1025
+ };
1026
+ return /* @__PURE__ */ c(
1027
+ Mt.Provider,
1028
+ {
1029
+ value: {
1030
+ disabled: a,
1031
+ enabledValues: g,
1032
+ name: t,
1033
+ onChange: f,
1034
+ selected: w
1035
+ },
1036
+ children: /* @__PURE__ */ c(
1037
+ "div",
1038
+ {
1039
+ className: d(D.group, D[o], r),
1040
+ onKeyDown: $,
1041
+ ref: _,
1042
+ role: "radiogroup",
1043
+ ...l,
1044
+ children: i
1045
+ }
1046
+ )
1047
+ }
1048
+ );
1049
+ }
1050
+ function wr({
1051
+ value: t,
1052
+ label: e,
1053
+ disabled: n,
1054
+ ref: s
1055
+ }) {
1056
+ const a = $t(Mt);
1057
+ if (!a)
1058
+ throw new Error("Radio must be rendered inside a RadioGroup");
1059
+ const {
1060
+ name: o,
1061
+ selected: i,
1062
+ disabled: r,
1063
+ onChange: _,
1064
+ enabledValues: l
1065
+ } = a, u = r || !!n, m = i === t;
1066
+ u || l.current.push(t);
1067
+ const h = l.current[0], w = i === void 0 ? t === h : m, g = () => {
1068
+ u || _(t);
1069
+ };
1070
+ return /* @__PURE__ */ b("label", { className: d(D.root, u && D.disabled), children: [
1071
+ /* @__PURE__ */ c(
1072
+ "input",
1073
+ {
1074
+ "aria-checked": m,
1075
+ checked: m,
1076
+ className: D.input,
1077
+ disabled: u,
1078
+ name: o,
1079
+ onChange: g,
1080
+ ref: s,
1081
+ tabIndex: w ? 0 : -1,
1082
+ type: "radio",
1083
+ value: t
1084
+ }
1085
+ ),
1086
+ /* @__PURE__ */ c(
1087
+ "span",
1088
+ {
1089
+ "aria-hidden": "true",
1090
+ className: d(D.dot, m && D.checked)
1091
+ }
1092
+ ),
1093
+ e
1094
+ ] });
1095
+ }
1096
+ const Hs = "_wrap_14t2q_1", Ks = "_select_14t2q_7", Os = "_invalid_14t2q_37", Gs = "_chevron_14t2q_42", Ys = "_sm_14t2q_52", Vs = "_md_14t2q_56", Js = "_lg_14t2q_60", Y = {
1097
+ wrap: Hs,
1098
+ select: Ks,
1099
+ invalid: Os,
1100
+ chevron: Gs,
1101
+ sm: Ys,
1102
+ md: Vs,
1103
+ lg: Js
1104
+ };
1105
+ function yr({
1106
+ size: t = "md",
1107
+ invalid: e = !1,
1108
+ disabled: n = !1,
1109
+ className: s,
1110
+ children: a,
1111
+ ref: o,
1112
+ ...i
587
1113
  }) {
588
- return /* @__PURE__ */ d("span", { className: v.wrap, children: [
589
- /* @__PURE__ */ o(
1114
+ return /* @__PURE__ */ b("span", { className: Y.wrap, children: [
1115
+ /* @__PURE__ */ c(
590
1116
  "select",
591
1117
  {
592
- "aria-invalid": n || void 0,
593
- className: i(
594
- v.select,
595
- v[t],
596
- n && v.invalid,
597
- a
1118
+ "aria-invalid": e || void 0,
1119
+ className: d(
1120
+ Y.select,
1121
+ Y[t],
1122
+ e && Y.invalid,
1123
+ s
598
1124
  ),
599
- disabled: e,
600
- ref: _,
601
- ...c,
602
- children: s
1125
+ disabled: n,
1126
+ ref: o,
1127
+ ...i,
1128
+ children: a
603
1129
  }
604
1130
  ),
605
- /* @__PURE__ */ o(
1131
+ /* @__PURE__ */ c(
606
1132
  "svg",
607
1133
  {
608
1134
  "aria-hidden": "true",
609
- className: v.chevron,
1135
+ className: Y.chevron,
610
1136
  fill: "none",
611
1137
  height: "14",
612
1138
  stroke: "currentColor",
@@ -615,82 +1141,138 @@ function Co({
615
1141
  strokeWidth: "2",
616
1142
  viewBox: "0 0 24 24",
617
1143
  width: "14",
618
- children: /* @__PURE__ */ o("path", { d: "M6 9l6 6 6-6" })
1144
+ children: /* @__PURE__ */ c("path", { d: "M6 9l6 6 6-6" })
619
1145
  }
620
1146
  )
621
1147
  ] });
622
1148
  }
623
- const Zn = "_root_ctdye_1", Kn = "_disabled_ctdye_12", te = "_input_ctdye_17", ne = "_track_ctdye_24", ee = "_on_ctdye_34", se = "_knob_ctdye_38", b = {
624
- root: Zn,
625
- disabled: Kn,
626
- input: te,
627
- track: ne,
628
- on: ee,
629
- knob: se
1149
+ const Qs = "_root_ctdye_1", Zs = "_disabled_ctdye_12", ta = "_input_ctdye_17", ea = "_track_ctdye_24", na = "_on_ctdye_34", sa = "_knob_ctdye_38", X = {
1150
+ root: Qs,
1151
+ disabled: Zs,
1152
+ input: ta,
1153
+ track: ea,
1154
+ on: na,
1155
+ knob: sa
630
1156
  };
631
- function Lo({
1157
+ function vr({
632
1158
  checked: t,
633
- defaultChecked: n = !1,
634
- onChange: e,
635
- label: a,
636
- disabled: s = !1,
637
- className: _,
638
- ref: c,
1159
+ defaultChecked: e = !1,
1160
+ onChange: n,
1161
+ label: s,
1162
+ disabled: a = !1,
1163
+ className: o,
1164
+ ref: i,
639
1165
  ...r
640
1166
  }) {
641
- const [u, l] = M(n), g = t === void 0 ? u : t, h = (x) => {
642
- s || (t === void 0 && l(!g), e == null || e(!g, x));
1167
+ const [_, l] = z(e), u = t === void 0 ? _ : t, m = (h) => {
1168
+ a || (t === void 0 && l(!u), n == null || n(!u, h));
643
1169
  };
644
- return /* @__PURE__ */ d(
1170
+ return /* @__PURE__ */ b(
645
1171
  "label",
646
1172
  {
647
- className: i(b.root, s && b.disabled, _),
1173
+ className: d(X.root, a && X.disabled, o),
648
1174
  ...r,
649
1175
  children: [
650
- /* @__PURE__ */ o(
1176
+ /* @__PURE__ */ c(
651
1177
  "input",
652
1178
  {
653
- "aria-checked": g,
654
- checked: g,
655
- className: b.input,
656
- disabled: s,
657
- onChange: h,
658
- ref: c,
1179
+ "aria-checked": u,
1180
+ checked: u,
1181
+ className: X.input,
1182
+ disabled: a,
1183
+ onChange: m,
1184
+ ref: i,
659
1185
  role: "switch",
660
1186
  type: "checkbox"
661
1187
  }
662
1188
  ),
663
- /* @__PURE__ */ o("span", { "aria-hidden": "true", className: i(b.track, g && b.on), children: /* @__PURE__ */ o("span", { className: b.knob }) }),
664
- a
1189
+ /* @__PURE__ */ c("span", { "aria-hidden": "true", className: d(X.track, u && X.on), children: /* @__PURE__ */ c("span", { className: X.knob }) }),
1190
+ s
665
1191
  ]
666
1192
  }
667
1193
  );
668
1194
  }
669
- const ae = "_box_1akfw_1", oe = "_pad0_1akfw_6", _e = "_pad1_1akfw_9", ce = "_pad2_1akfw_12", ie = "_pad3_1akfw_15", re = "_pad4_1akfw_18", le = "_pad5_1akfw_21", de = "_pad6_1akfw_24", ue = "_pad8_1akfw_27", ge = "_pad10_1akfw_30", pe = "_pad12_1akfw_33", he = "_pad16_1akfw_36", me = "_radiusNone_1akfw_41", fe = "_radiusXs_1akfw_44", we = "_radiusSm_1akfw_47", xe = "_radiusMd_1akfw_50", ye = "_radiusLg_1akfw_53", be = "_radiusXl_1akfw_56", ke = "_radiusFull_1akfw_59", $e = "_surfaceDefault_1akfw_64", ve = "_surfaceRaised_1akfw_67", je = "_surfaceSunken_1akfw_70", Se = "_border_1akfw_75", j = {
670
- box: ae,
671
- pad0: oe,
672
- pad1: _e,
673
- pad2: ce,
674
- pad3: ie,
675
- pad4: re,
676
- pad5: le,
677
- pad6: de,
678
- pad8: ue,
679
- pad10: ge,
680
- pad12: pe,
681
- pad16: he,
682
- radiusNone: me,
683
- radiusXs: fe,
684
- radiusSm: we,
685
- radiusMd: xe,
686
- radiusLg: ye,
687
- radiusXl: be,
688
- radiusFull: ke,
689
- surfaceDefault: $e,
690
- surfaceRaised: ve,
691
- surfaceSunken: je,
692
- border: Se
693
- }, ze = {
1195
+ const aa = "_textarea_ykspe_1", oa = "_invalid_ykspe_33", ca = "_sm_ykspe_39", ia = "_md_ykspe_44", ra = "_lg_ykspe_49", la = "_autoResize_ykspe_55", ct = {
1196
+ textarea: aa,
1197
+ invalid: oa,
1198
+ sm: ca,
1199
+ md: ia,
1200
+ lg: ra,
1201
+ autoResize: la
1202
+ }, _a = typeof document > "u" ? L : Nt;
1203
+ function kr({
1204
+ size: t = "md",
1205
+ invalid: e = !1,
1206
+ disabled: n = !1,
1207
+ autoResize: s = !1,
1208
+ className: a,
1209
+ ref: o,
1210
+ onChange: i,
1211
+ value: r,
1212
+ defaultValue: _,
1213
+ ...l
1214
+ }) {
1215
+ const u = T(null), m = (h) => {
1216
+ u.current = h, typeof o == "function" ? o(h) : o && (o.current = h);
1217
+ };
1218
+ return _a(() => {
1219
+ if (!s)
1220
+ return;
1221
+ const h = u.current;
1222
+ if (!h)
1223
+ return;
1224
+ const w = () => {
1225
+ h.style.height = "auto", h.style.height = `${h.scrollHeight}px`;
1226
+ };
1227
+ return w(), h.addEventListener("input", w), () => {
1228
+ h.removeEventListener("input", w);
1229
+ };
1230
+ }, [s, r]), /* @__PURE__ */ c(
1231
+ "textarea",
1232
+ {
1233
+ "aria-invalid": e || void 0,
1234
+ className: d(
1235
+ ct.textarea,
1236
+ ct[t],
1237
+ e && ct.invalid,
1238
+ s && ct.autoResize,
1239
+ a
1240
+ ),
1241
+ defaultValue: _,
1242
+ disabled: n,
1243
+ onChange: i,
1244
+ ref: m,
1245
+ style: s ? { resize: "none" } : void 0,
1246
+ value: r,
1247
+ ...l
1248
+ }
1249
+ );
1250
+ }
1251
+ const da = "_box_1akfw_1", ua = "_pad0_1akfw_6", pa = "_pad1_1akfw_9", ga = "_pad2_1akfw_12", ha = "_pad3_1akfw_15", fa = "_pad4_1akfw_18", ma = "_pad5_1akfw_21", ba = "_pad6_1akfw_24", wa = "_pad8_1akfw_27", ya = "_pad10_1akfw_30", va = "_pad12_1akfw_33", ka = "_pad16_1akfw_36", $a = "_radiusNone_1akfw_41", xa = "_radiusXs_1akfw_44", Na = "_radiusSm_1akfw_47", za = "_radiusMd_1akfw_50", Sa = "_radiusLg_1akfw_53", Ma = "_radiusXl_1akfw_56", ja = "_radiusFull_1akfw_59", La = "_surfaceDefault_1akfw_64", qa = "_surfaceRaised_1akfw_67", Ea = "_surfaceSunken_1akfw_70", Ca = "_border_1akfw_75", V = {
1252
+ box: da,
1253
+ pad0: ua,
1254
+ pad1: pa,
1255
+ pad2: ga,
1256
+ pad3: ha,
1257
+ pad4: fa,
1258
+ pad5: ma,
1259
+ pad6: ba,
1260
+ pad8: wa,
1261
+ pad10: ya,
1262
+ pad12: va,
1263
+ pad16: ka,
1264
+ radiusNone: $a,
1265
+ radiusXs: xa,
1266
+ radiusSm: Na,
1267
+ radiusMd: za,
1268
+ radiusLg: Sa,
1269
+ radiusXl: Ma,
1270
+ radiusFull: ja,
1271
+ surfaceDefault: La,
1272
+ surfaceRaised: qa,
1273
+ surfaceSunken: Ea,
1274
+ border: Ca
1275
+ }, Ra = {
694
1276
  0: "pad0",
695
1277
  1: "pad1",
696
1278
  2: "pad2",
@@ -702,7 +1284,7 @@ const ae = "_box_1akfw_1", oe = "_pad0_1akfw_6", _e = "_pad1_1akfw_9", ce = "_pa
702
1284
  10: "pad10",
703
1285
  12: "pad12",
704
1286
  16: "pad16"
705
- }, Ne = {
1287
+ }, Ia = {
706
1288
  none: "radiusNone",
707
1289
  xs: "radiusXs",
708
1290
  sm: "radiusSm",
@@ -710,57 +1292,57 @@ const ae = "_box_1akfw_1", oe = "_pad0_1akfw_6", _e = "_pad1_1akfw_9", ce = "_pa
710
1292
  lg: "radiusLg",
711
1293
  xl: "radiusXl",
712
1294
  full: "radiusFull"
713
- }, Me = {
1295
+ }, Ba = {
714
1296
  default: "surfaceDefault",
715
1297
  raised: "surfaceRaised",
716
1298
  sunken: "surfaceSunken"
717
1299
  };
718
- function qo({
1300
+ function $r({
719
1301
  padding: t,
720
- radius: n,
721
- surface: e,
722
- border: a = !1,
723
- className: s,
724
- children: _,
725
- ref: c,
1302
+ radius: e,
1303
+ surface: n,
1304
+ border: s = !1,
1305
+ className: a,
1306
+ children: o,
1307
+ ref: i,
726
1308
  ...r
727
1309
  }) {
728
- return /* @__PURE__ */ o(
1310
+ return /* @__PURE__ */ c(
729
1311
  "div",
730
1312
  {
731
- className: i(
732
- j.box,
733
- t != null && j[ze[t]],
734
- n != null && j[Ne[n]],
735
- e != null && j[Me[e]],
736
- a && j.border,
737
- s
1313
+ className: d(
1314
+ V.box,
1315
+ t != null && V[Ra[t]],
1316
+ e != null && V[Ia[e]],
1317
+ n != null && V[Ba[n]],
1318
+ s && V.border,
1319
+ a
738
1320
  ),
739
- ref: c,
1321
+ ref: i,
740
1322
  ...r,
741
- children: _
1323
+ children: o
742
1324
  }
743
1325
  );
744
1326
  }
745
- const Ce = "_container_opidm_1", Le = "_widthMax_opidm_8", qe = "_widthNarrow_opidm_11", Be = "_gutter0_opidm_16", Ee = "_gutter1_opidm_19", Re = "_gutter2_opidm_22", Xe = "_gutter3_opidm_25", Ie = "_gutter4_opidm_28", Te = "_gutter5_opidm_31", Pe = "_gutter6_opidm_34", We = "_gutter8_opidm_37", Ae = "_gutter10_opidm_40", De = "_gutter12_opidm_43", Fe = "_gutter16_opidm_46", A = {
746
- container: Ce,
747
- widthMax: Le,
748
- widthNarrow: qe,
749
- gutter0: Be,
750
- gutter1: Ee,
751
- gutter2: Re,
752
- gutter3: Xe,
753
- gutter4: Ie,
754
- gutter5: Te,
755
- gutter6: Pe,
756
- gutter8: We,
757
- gutter10: Ae,
758
- gutter12: De,
759
- gutter16: Fe
760
- }, Ue = {
1327
+ const Da = "_container_opidm_1", Ta = "_widthMax_opidm_8", Aa = "_widthNarrow_opidm_11", Pa = "_gutter0_opidm_16", Xa = "_gutter1_opidm_19", Fa = "_gutter2_opidm_22", Wa = "_gutter3_opidm_25", Ua = "_gutter4_opidm_28", Ha = "_gutter5_opidm_31", Ka = "_gutter6_opidm_34", Oa = "_gutter8_opidm_37", Ga = "_gutter10_opidm_40", Ya = "_gutter12_opidm_43", Va = "_gutter16_opidm_46", pt = {
1328
+ container: Da,
1329
+ widthMax: Ta,
1330
+ widthNarrow: Aa,
1331
+ gutter0: Pa,
1332
+ gutter1: Xa,
1333
+ gutter2: Fa,
1334
+ gutter3: Wa,
1335
+ gutter4: Ua,
1336
+ gutter5: Ha,
1337
+ gutter6: Ka,
1338
+ gutter8: Oa,
1339
+ gutter10: Ga,
1340
+ gutter12: Ya,
1341
+ gutter16: Va
1342
+ }, Ja = {
761
1343
  max: "widthMax",
762
1344
  narrow: "widthNarrow"
763
- }, He = {
1345
+ }, Qa = {
764
1346
  0: "gutter0",
765
1347
  1: "gutter1",
766
1348
  2: "gutter2",
@@ -773,30 +1355,68 @@ const Ce = "_container_opidm_1", Le = "_widthMax_opidm_8", qe = "_widthNarrow_op
773
1355
  12: "gutter12",
774
1356
  16: "gutter16"
775
1357
  };
776
- function Bo({
1358
+ function xr({
777
1359
  width: t = "max",
778
- gutter: n = "4",
779
- className: e,
780
- children: a,
781
- ref: s,
782
- ..._
1360
+ gutter: e = "4",
1361
+ className: n,
1362
+ children: s,
1363
+ ref: a,
1364
+ ...o
783
1365
  }) {
784
- return /* @__PURE__ */ o(
1366
+ return /* @__PURE__ */ c(
785
1367
  "div",
786
1368
  {
787
- className: i(
788
- A.container,
789
- A[Ue[t]],
790
- A[He[n]],
791
- e
1369
+ className: d(
1370
+ pt.container,
1371
+ pt[Ja[t]],
1372
+ pt[Qa[e]],
1373
+ n
792
1374
  ),
793
- ref: s,
794
- ..._,
795
- children: a
1375
+ ref: a,
1376
+ ...o,
1377
+ children: s
796
1378
  }
797
1379
  );
798
1380
  }
799
- const F = {
1381
+ const Za = "_divider_iy514_1", to = "_horizontal_iy514_10", eo = "_inset_iy514_16", no = "_vertical_iy514_22", so = "_withLabel_iy514_37", ao = "_label_iy514_48", J = {
1382
+ divider: Za,
1383
+ horizontal: to,
1384
+ inset: eo,
1385
+ vertical: no,
1386
+ withLabel: so,
1387
+ label: ao
1388
+ };
1389
+ function Nr({
1390
+ label: t,
1391
+ inset: e = !1,
1392
+ orientation: n = "horizontal",
1393
+ className: s,
1394
+ ref: a,
1395
+ ...o
1396
+ }) {
1397
+ return (
1398
+ // biome-ignore lint/a11y/useSemanticElements: <div> is required — <hr> is a void element and cannot hold the label <span> child
1399
+ // biome-ignore lint/a11y/useFocusableInteractive: a static visual divider is intentionally non-focusable
1400
+ /* @__PURE__ */ c(
1401
+ "div",
1402
+ {
1403
+ ...o,
1404
+ "aria-orientation": n,
1405
+ className: d(
1406
+ J.divider,
1407
+ J[n],
1408
+ e && J.inset,
1409
+ t != null && J.withLabel,
1410
+ s
1411
+ ),
1412
+ ref: a,
1413
+ role: "separator",
1414
+ children: t != null && /* @__PURE__ */ c("span", { className: J.label, children: t })
1415
+ }
1416
+ )
1417
+ );
1418
+ }
1419
+ const ht = {
800
1420
  0: "gap0",
801
1421
  1: "gap1",
802
1422
  2: "gap2",
@@ -808,36 +1428,36 @@ const F = {
808
1428
  10: "gap10",
809
1429
  12: "gap12",
810
1430
  16: "gap16"
811
- }, H = {
1431
+ }, jt = {
812
1432
  start: "alignStart",
813
1433
  center: "alignCenter",
814
1434
  end: "alignEnd",
815
1435
  stretch: "alignStretch"
816
- }, O = {
1436
+ }, Lt = {
817
1437
  start: "justifyStart",
818
1438
  center: "justifyCenter",
819
1439
  end: "justifyEnd",
820
1440
  between: "justifyBetween"
821
- }, Oe = "_grid_ahbs8_1", Ge = "_cols1_ahbs8_6", Qe = "_cols2_ahbs8_9", Ye = "_cols3_ahbs8_12", Je = "_cols4_ahbs8_15", Ve = "_cols6_ahbs8_18", Ze = "_cols12_ahbs8_21", Ke = "_gap0_ahbs8_26", ts = "_gap1_ahbs8_29", ns = "_gap2_ahbs8_32", es = "_gap3_ahbs8_35", ss = "_gap4_ahbs8_38", as = "_gap5_ahbs8_41", os = "_gap6_ahbs8_44", _s = "_gap8_ahbs8_47", cs = "_gap10_ahbs8_50", is = "_gap12_ahbs8_53", rs = "_gap16_ahbs8_56", D = {
822
- grid: Oe,
823
- cols1: Ge,
824
- cols2: Qe,
825
- cols3: Ye,
826
- cols4: Je,
827
- cols6: Ve,
828
- cols12: Ze,
829
- gap0: Ke,
830
- gap1: ts,
831
- gap2: ns,
832
- gap3: es,
833
- gap4: ss,
834
- gap5: as,
835
- gap6: os,
836
- gap8: _s,
837
- gap10: cs,
838
- gap12: is,
839
- gap16: rs
840
- }, ls = {
1441
+ }, oo = "_grid_ahbs8_1", co = "_cols1_ahbs8_6", io = "_cols2_ahbs8_9", ro = "_cols3_ahbs8_12", lo = "_cols4_ahbs8_15", _o = "_cols6_ahbs8_18", uo = "_cols12_ahbs8_21", po = "_gap0_ahbs8_26", go = "_gap1_ahbs8_29", ho = "_gap2_ahbs8_32", fo = "_gap3_ahbs8_35", mo = "_gap4_ahbs8_38", bo = "_gap5_ahbs8_41", wo = "_gap6_ahbs8_44", yo = "_gap8_ahbs8_47", vo = "_gap10_ahbs8_50", ko = "_gap12_ahbs8_53", $o = "_gap16_ahbs8_56", gt = {
1442
+ grid: oo,
1443
+ cols1: co,
1444
+ cols2: io,
1445
+ cols3: ro,
1446
+ cols4: lo,
1447
+ cols6: _o,
1448
+ cols12: uo,
1449
+ gap0: po,
1450
+ gap1: go,
1451
+ gap2: ho,
1452
+ gap3: fo,
1453
+ gap4: mo,
1454
+ gap5: bo,
1455
+ gap6: wo,
1456
+ gap8: yo,
1457
+ gap10: vo,
1458
+ gap12: ko,
1459
+ gap16: $o
1460
+ }, xo = {
841
1461
  1: "cols1",
842
1462
  2: "cols2",
843
1463
  3: "cols3",
@@ -845,160 +1465,160 @@ const F = {
845
1465
  6: "cols6",
846
1466
  12: "cols12"
847
1467
  };
848
- function Eo({
1468
+ function zr({
849
1469
  columns: t = 12,
850
- gap: n,
851
- className: e,
852
- children: a,
853
- ref: s,
854
- ..._
1470
+ gap: e,
1471
+ className: n,
1472
+ children: s,
1473
+ ref: a,
1474
+ ...o
855
1475
  }) {
856
- return /* @__PURE__ */ o(
1476
+ return /* @__PURE__ */ c(
857
1477
  "div",
858
1478
  {
859
- className: i(
860
- D.grid,
861
- D[ls[t]],
862
- n != null && D[F[n]],
863
- e
1479
+ className: d(
1480
+ gt.grid,
1481
+ gt[xo[t]],
1482
+ e != null && gt[ht[e]],
1483
+ n
864
1484
  ),
865
- ref: s,
866
- ..._,
867
- children: a
1485
+ ref: a,
1486
+ ...o,
1487
+ children: s
868
1488
  }
869
1489
  );
870
1490
  }
871
- const ds = "_inline_eh3ac_1", us = "_wrap_eh3ac_7", gs = "_gap0_eh3ac_12", ps = "_gap1_eh3ac_15", hs = "_gap2_eh3ac_18", ms = "_gap3_eh3ac_21", fs = "_gap4_eh3ac_24", ws = "_gap5_eh3ac_27", xs = "_gap6_eh3ac_30", ys = "_gap8_eh3ac_33", bs = "_gap10_eh3ac_36", ks = "_gap12_eh3ac_39", $s = "_gap16_eh3ac_42", vs = "_alignStart_eh3ac_47", js = "_alignCenter_eh3ac_50", Ss = "_alignEnd_eh3ac_53", zs = "_alignStretch_eh3ac_56", Ns = "_justifyStart_eh3ac_61", Ms = "_justifyCenter_eh3ac_64", Cs = "_justifyEnd_eh3ac_67", Ls = "_justifyBetween_eh3ac_70", S = {
872
- inline: ds,
873
- wrap: us,
874
- gap0: gs,
875
- gap1: ps,
876
- gap2: hs,
877
- gap3: ms,
878
- gap4: fs,
879
- gap5: ws,
880
- gap6: xs,
881
- gap8: ys,
882
- gap10: bs,
883
- gap12: ks,
884
- gap16: $s,
885
- alignStart: vs,
886
- alignCenter: js,
887
- alignEnd: Ss,
888
- alignStretch: zs,
889
- justifyStart: Ns,
890
- justifyCenter: Ms,
891
- justifyEnd: Cs,
892
- justifyBetween: Ls
1491
+ const No = "_inline_eh3ac_1", zo = "_wrap_eh3ac_7", So = "_gap0_eh3ac_12", Mo = "_gap1_eh3ac_15", jo = "_gap2_eh3ac_18", Lo = "_gap3_eh3ac_21", qo = "_gap4_eh3ac_24", Eo = "_gap5_eh3ac_27", Co = "_gap6_eh3ac_30", Ro = "_gap8_eh3ac_33", Io = "_gap10_eh3ac_36", Bo = "_gap12_eh3ac_39", Do = "_gap16_eh3ac_42", To = "_alignStart_eh3ac_47", Ao = "_alignCenter_eh3ac_50", Po = "_alignEnd_eh3ac_53", Xo = "_alignStretch_eh3ac_56", Fo = "_justifyStart_eh3ac_61", Wo = "_justifyCenter_eh3ac_64", Uo = "_justifyEnd_eh3ac_67", Ho = "_justifyBetween_eh3ac_70", Q = {
1492
+ inline: No,
1493
+ wrap: zo,
1494
+ gap0: So,
1495
+ gap1: Mo,
1496
+ gap2: jo,
1497
+ gap3: Lo,
1498
+ gap4: qo,
1499
+ gap5: Eo,
1500
+ gap6: Co,
1501
+ gap8: Ro,
1502
+ gap10: Io,
1503
+ gap12: Bo,
1504
+ gap16: Do,
1505
+ alignStart: To,
1506
+ alignCenter: Ao,
1507
+ alignEnd: Po,
1508
+ alignStretch: Xo,
1509
+ justifyStart: Fo,
1510
+ justifyCenter: Wo,
1511
+ justifyEnd: Uo,
1512
+ justifyBetween: Ho
893
1513
  };
894
- function Ro({
1514
+ function Sr({
895
1515
  gap: t,
896
- align: n,
897
- justify: e,
898
- wrap: a = !1,
899
- className: s,
900
- children: _,
901
- ref: c,
1516
+ align: e,
1517
+ justify: n,
1518
+ wrap: s = !1,
1519
+ className: a,
1520
+ children: o,
1521
+ ref: i,
902
1522
  ...r
903
1523
  }) {
904
- return /* @__PURE__ */ o(
1524
+ return /* @__PURE__ */ c(
905
1525
  "div",
906
1526
  {
907
- className: i(
908
- S.inline,
909
- t != null && S[F[t]],
910
- n != null && S[H[n]],
911
- e != null && S[O[e]],
912
- a && S.wrap,
913
- s
1527
+ className: d(
1528
+ Q.inline,
1529
+ t != null && Q[ht[t]],
1530
+ e != null && Q[jt[e]],
1531
+ n != null && Q[Lt[n]],
1532
+ s && Q.wrap,
1533
+ a
914
1534
  ),
915
- ref: c,
1535
+ ref: i,
916
1536
  ...r,
917
- children: _
1537
+ children: o
918
1538
  }
919
1539
  );
920
1540
  }
921
- const qs = "_stack_e0a6n_1", Bs = "_gap0_e0a6n_7", Es = "_gap1_e0a6n_10", Rs = "_gap2_e0a6n_13", Xs = "_gap3_e0a6n_16", Is = "_gap4_e0a6n_19", Ts = "_gap5_e0a6n_22", Ps = "_gap6_e0a6n_25", Ws = "_gap8_e0a6n_28", As = "_gap10_e0a6n_31", Ds = "_gap12_e0a6n_34", Fs = "_gap16_e0a6n_37", Us = "_alignStart_e0a6n_42", Hs = "_alignCenter_e0a6n_45", Os = "_alignEnd_e0a6n_48", Gs = "_alignStretch_e0a6n_51", Qs = "_justifyStart_e0a6n_56", Ys = "_justifyCenter_e0a6n_59", Js = "_justifyEnd_e0a6n_62", Vs = "_justifyBetween_e0a6n_65", B = {
922
- stack: qs,
923
- gap0: Bs,
924
- gap1: Es,
925
- gap2: Rs,
926
- gap3: Xs,
927
- gap4: Is,
928
- gap5: Ts,
929
- gap6: Ps,
930
- gap8: Ws,
931
- gap10: As,
932
- gap12: Ds,
933
- gap16: Fs,
934
- alignStart: Us,
935
- alignCenter: Hs,
936
- alignEnd: Os,
937
- alignStretch: Gs,
938
- justifyStart: Qs,
939
- justifyCenter: Ys,
940
- justifyEnd: Js,
941
- justifyBetween: Vs
1541
+ const Ko = "_stack_e0a6n_1", Oo = "_gap0_e0a6n_7", Go = "_gap1_e0a6n_10", Yo = "_gap2_e0a6n_13", Vo = "_gap3_e0a6n_16", Jo = "_gap4_e0a6n_19", Qo = "_gap5_e0a6n_22", Zo = "_gap6_e0a6n_25", tc = "_gap8_e0a6n_28", ec = "_gap10_e0a6n_31", nc = "_gap12_e0a6n_34", sc = "_gap16_e0a6n_37", ac = "_alignStart_e0a6n_42", oc = "_alignCenter_e0a6n_45", cc = "_alignEnd_e0a6n_48", ic = "_alignStretch_e0a6n_51", rc = "_justifyStart_e0a6n_56", lc = "_justifyCenter_e0a6n_59", _c = "_justifyEnd_e0a6n_62", dc = "_justifyBetween_e0a6n_65", it = {
1542
+ stack: Ko,
1543
+ gap0: Oo,
1544
+ gap1: Go,
1545
+ gap2: Yo,
1546
+ gap3: Vo,
1547
+ gap4: Jo,
1548
+ gap5: Qo,
1549
+ gap6: Zo,
1550
+ gap8: tc,
1551
+ gap10: ec,
1552
+ gap12: nc,
1553
+ gap16: sc,
1554
+ alignStart: ac,
1555
+ alignCenter: oc,
1556
+ alignEnd: cc,
1557
+ alignStretch: ic,
1558
+ justifyStart: rc,
1559
+ justifyCenter: lc,
1560
+ justifyEnd: _c,
1561
+ justifyBetween: dc
942
1562
  };
943
- function Xo({
1563
+ function Mr({
944
1564
  gap: t,
945
- align: n,
946
- justify: e,
947
- className: a,
948
- children: s,
949
- ref: _,
950
- ...c
1565
+ align: e,
1566
+ justify: n,
1567
+ className: s,
1568
+ children: a,
1569
+ ref: o,
1570
+ ...i
951
1571
  }) {
952
- return /* @__PURE__ */ o(
1572
+ return /* @__PURE__ */ c(
953
1573
  "div",
954
1574
  {
955
- className: i(
956
- B.stack,
957
- t != null && B[F[t]],
958
- n != null && B[H[n]],
959
- e != null && B[O[e]],
960
- a
1575
+ className: d(
1576
+ it.stack,
1577
+ t != null && it[ht[t]],
1578
+ e != null && it[jt[e]],
1579
+ n != null && it[Lt[n]],
1580
+ s
961
1581
  ),
962
- ref: _,
963
- ...c,
964
- children: s
1582
+ ref: o,
1583
+ ...i,
1584
+ children: a
965
1585
  }
966
1586
  );
967
1587
  }
968
- const Zs = "_list_1e7it_1", Ks = "_item_1e7it_12", ta = "_current_1e7it_18", na = "_link_1e7it_23", ea = "_sep_1e7it_34", z = {
969
- list: Zs,
970
- item: Ks,
971
- current: ta,
972
- link: na,
973
- sep: ea
1588
+ const uc = "_list_1gxtd_1", pc = "_item_1gxtd_12", gc = "_current_1gxtd_18", hc = "_link_1gxtd_23", fc = "_sep_1gxtd_39", Z = {
1589
+ list: uc,
1590
+ item: pc,
1591
+ current: gc,
1592
+ link: hc,
1593
+ sep: fc
974
1594
  };
975
- function Io({
1595
+ function jr({
976
1596
  items: t,
977
- className: n,
978
- ref: e,
979
- ...a
1597
+ className: e,
1598
+ ref: n,
1599
+ ...s
980
1600
  }) {
981
- return /* @__PURE__ */ o("nav", { "aria-label": "Breadcrumb", className: n, ref: e, ...a, children: /* @__PURE__ */ o("ol", { className: z.list, children: t.map((s, _) => {
982
- const c = _ === t.length - 1;
983
- return /* @__PURE__ */ d(
1601
+ return /* @__PURE__ */ c("nav", { "aria-label": "Breadcrumb", className: e, ref: n, ...s, children: /* @__PURE__ */ c("ol", { className: Z.list, children: t.map((a, o) => {
1602
+ const i = o === t.length - 1;
1603
+ return /* @__PURE__ */ b(
984
1604
  "li",
985
1605
  {
986
- className: z.item,
1606
+ className: Z.item,
987
1607
  children: [
988
- c ? /* @__PURE__ */ o("span", { "aria-current": "page", className: z.current, children: s.label }) : /* @__PURE__ */ o(
1608
+ i ? /* @__PURE__ */ c("span", { "aria-current": "page", className: Z.current, children: a.label }) : /* @__PURE__ */ c(
989
1609
  "a",
990
1610
  {
991
- className: z.link,
992
- href: s.href || "#",
993
- onClick: s.onClick,
994
- children: s.label
1611
+ className: Z.link,
1612
+ href: a.href || "#",
1613
+ onClick: a.onClick,
1614
+ children: a.label
995
1615
  }
996
1616
  ),
997
- !c && /* @__PURE__ */ o(
1617
+ !i && /* @__PURE__ */ c(
998
1618
  "svg",
999
1619
  {
1000
1620
  "aria-hidden": "true",
1001
- className: z.sep,
1621
+ className: Z.sep,
1002
1622
  fill: "none",
1003
1623
  height: "12",
1004
1624
  stroke: "currentColor",
@@ -1007,159 +1627,521 @@ function Io({
1007
1627
  strokeWidth: "2",
1008
1628
  viewBox: "0 0 24 24",
1009
1629
  width: "12",
1010
- children: /* @__PURE__ */ o("path", { d: "M9 18l6-6-6-6" })
1630
+ children: /* @__PURE__ */ c("path", { d: "M9 18l6-6-6-6" })
1011
1631
  }
1012
1632
  )
1013
1633
  ]
1014
1634
  },
1015
- `${s.label}:${s.href ?? ""}`
1635
+ `${a.label}:${a.href ?? ""}`
1016
1636
  );
1017
1637
  }) }) });
1018
1638
  }
1019
- const sa = "_tablist_1khzs_1", aa = "_tab_1khzs_1", oa = "_active_1khzs_24", _a = "_sm_1khzs_34", ca = "_md_1khzs_38", ia = "_count_1khzs_44", ra = "_countActive_1khzs_53", k = {
1020
- tablist: sa,
1021
- tab: aa,
1022
- active: oa,
1023
- sm: _a,
1024
- md: ca,
1025
- count: ia,
1026
- countActive: ra
1639
+ const mc = "_pagination_16qku_1", bc = "_btn_16qku_9", wc = "_current_16qku_47", yc = "_arrow_16qku_54", vc = "_ellipsis_16qku_60", q = {
1640
+ pagination: mc,
1641
+ btn: bc,
1642
+ current: wc,
1643
+ arrow: yc,
1644
+ ellipsis: vc
1027
1645
  };
1028
- function To({
1646
+ function kc(t, e) {
1647
+ if (e <= 7)
1648
+ return Array.from({ length: e }, (s, a) => a + 1);
1649
+ const n = [];
1650
+ if (n.push(1), t <= 4) {
1651
+ for (let s = 2; s <= Math.min(5, e - 1); s++)
1652
+ n.push(s);
1653
+ n.push("…");
1654
+ } else if (t >= e - 3) {
1655
+ n.push("…");
1656
+ for (let s = Math.max(2, e - 4); s <= e - 1; s++)
1657
+ n.push(s);
1658
+ } else {
1659
+ n.push("…");
1660
+ for (let s = t - 1; s <= t + 1; s++)
1661
+ n.push(s);
1662
+ n.push("…");
1663
+ }
1664
+ return n.push(e), n;
1665
+ }
1666
+ function Lr({
1667
+ page: t,
1668
+ pageCount: e,
1669
+ onPageChange: n,
1670
+ className: s,
1671
+ ref: a,
1672
+ ...o
1673
+ }) {
1674
+ const i = kc(t, e);
1675
+ return /* @__PURE__ */ b(
1676
+ "nav",
1677
+ {
1678
+ "aria-label": "Pagination",
1679
+ className: d(q.pagination, s),
1680
+ ref: a,
1681
+ ...o,
1682
+ children: [
1683
+ /* @__PURE__ */ c(
1684
+ "button",
1685
+ {
1686
+ "aria-label": "Previous page",
1687
+ className: d(q.btn, q.arrow),
1688
+ disabled: t <= 1,
1689
+ onClick: () => n(t - 1),
1690
+ type: "button",
1691
+ children: "‹"
1692
+ }
1693
+ ),
1694
+ i.map(
1695
+ (r, _) => r === "…" ? /* @__PURE__ */ c(
1696
+ "span",
1697
+ {
1698
+ "aria-hidden": "true",
1699
+ className: q.ellipsis,
1700
+ children: "…"
1701
+ },
1702
+ `ellipsis-${_}`
1703
+ ) : /* @__PURE__ */ c(
1704
+ "button",
1705
+ {
1706
+ "aria-current": r === t ? "page" : void 0,
1707
+ "aria-label": `Page ${r}`,
1708
+ className: d(
1709
+ q.btn,
1710
+ q.page,
1711
+ r === t && q.current
1712
+ ),
1713
+ onClick: () => n(r),
1714
+ type: "button",
1715
+ children: r
1716
+ },
1717
+ r
1718
+ )
1719
+ ),
1720
+ /* @__PURE__ */ c(
1721
+ "button",
1722
+ {
1723
+ "aria-label": "Next page",
1724
+ className: d(q.btn, q.arrow),
1725
+ disabled: t >= e,
1726
+ onClick: () => n(t + 1),
1727
+ type: "button",
1728
+ children: "›"
1729
+ }
1730
+ )
1731
+ ]
1732
+ }
1733
+ );
1734
+ }
1735
+ const $c = "_tablist_1c3fr_1", xc = "_tab_1c3fr_1", Nc = "_active_1c3fr_24", zc = "_sm_1c3fr_39", Sc = "_md_1c3fr_43", Mc = "_count_1c3fr_49", jc = "_countActive_1c3fr_58", F = {
1736
+ tablist: $c,
1737
+ tab: xc,
1738
+ active: Nc,
1739
+ sm: zc,
1740
+ md: Sc,
1741
+ count: Mc,
1742
+ countActive: jc
1743
+ };
1744
+ function qr({
1029
1745
  items: t,
1030
- active: n,
1031
- defaultActive: e,
1032
- onChange: a,
1033
- size: s = "md",
1034
- className: _,
1035
- ref: c,
1746
+ active: e,
1747
+ defaultActive: n,
1748
+ onChange: s,
1749
+ size: a = "md",
1750
+ className: o,
1751
+ ref: i,
1036
1752
  ...r
1037
1753
  }) {
1038
- var x;
1039
- const [u, l] = M(e ?? ((x = t[0]) == null ? void 0 : x.id)), g = n === void 0 ? u : n, h = (p) => {
1040
- n === void 0 && l(p), a == null || a(p);
1754
+ var h;
1755
+ const [_, l] = z(n ?? ((h = t[0]) == null ? void 0 : h.id)), u = e === void 0 ? _ : e, m = (w) => {
1756
+ e === void 0 && l(w), s == null || s(w);
1041
1757
  };
1042
- return /* @__PURE__ */ o(
1758
+ return /* @__PURE__ */ c(
1043
1759
  "div",
1044
1760
  {
1045
- className: i(k.tablist, _),
1046
- ref: c,
1761
+ className: d(F.tablist, o),
1762
+ ref: i,
1047
1763
  role: "tablist",
1048
1764
  ...r,
1049
- children: t.map((p) => {
1050
- const R = p.id === g;
1051
- return /* @__PURE__ */ d(
1765
+ children: t.map((w) => {
1766
+ const g = w.id === u;
1767
+ return /* @__PURE__ */ b(
1052
1768
  "button",
1053
1769
  {
1054
- "aria-selected": R,
1055
- className: i(k.tab, k[s], R && k.active),
1056
- onClick: () => h(p.id),
1770
+ "aria-selected": g,
1771
+ className: d(F.tab, F[a], g && F.active),
1772
+ onClick: () => m(w.id),
1057
1773
  role: "tab",
1058
1774
  type: "button",
1059
1775
  children: [
1060
- p.label,
1061
- p.count !== void 0 && /* @__PURE__ */ o(
1776
+ w.label,
1777
+ w.count !== void 0 && /* @__PURE__ */ c(
1062
1778
  "span",
1063
1779
  {
1064
- className: i(k.count, R && k.countActive),
1065
- children: p.count
1780
+ className: d(F.count, g && F.countActive),
1781
+ children: w.count
1066
1782
  }
1067
1783
  )
1068
1784
  ]
1069
1785
  },
1070
- p.id
1786
+ w.id
1071
1787
  );
1072
1788
  })
1073
1789
  }
1074
1790
  );
1075
1791
  }
1076
- const G = Z(null), Q = "(prefers-color-scheme: dark)";
1077
- function la(t) {
1792
+ const Lc = "_backdrop_8dbqx_1", qc = "_panel_8dbqx_13", Ec = "_title_8dbqx_30", Cc = "_body_8dbqx_39", Rc = "_sm_8dbqx_47", Ic = "_md_8dbqx_51", Bc = "_lg_8dbqx_54", tt = {
1793
+ backdrop: Lc,
1794
+ panel: qc,
1795
+ title: Ec,
1796
+ body: Cc,
1797
+ sm: Rc,
1798
+ md: Ic,
1799
+ lg: Bc
1800
+ }, Dc = [
1801
+ "a[href]",
1802
+ "button:not([disabled])",
1803
+ "textarea:not([disabled])",
1804
+ "input:not([disabled])",
1805
+ "select:not([disabled])",
1806
+ '[tabindex]:not([tabindex="-1"])'
1807
+ ].join(",");
1808
+ function vt(t) {
1809
+ return Array.from(
1810
+ t.querySelectorAll(Dc)
1811
+ ).filter((e) => !(e.hasAttribute("hidden") || e.getAttribute("aria-hidden") === "true"));
1812
+ }
1813
+ function Er({
1814
+ open: t,
1815
+ onClose: e,
1816
+ title: n,
1817
+ size: s = "md",
1818
+ closeOnBackdrop: a = !0,
1819
+ className: o,
1820
+ children: i,
1821
+ ref: r,
1822
+ ..._
1823
+ }) {
1824
+ const l = T(null), u = T(null), m = zt(), [h, w] = z(!1);
1825
+ L(() => {
1826
+ w(!0);
1827
+ }, []);
1828
+ const g = R(
1829
+ (p) => {
1830
+ l.current = p, typeof r == "function" ? r(p) : r && (r.current = p);
1831
+ },
1832
+ [r]
1833
+ );
1834
+ L(() => {
1835
+ if (!(t && h))
1836
+ return;
1837
+ u.current = document.activeElement instanceof HTMLElement ? document.activeElement : null;
1838
+ const p = l.current;
1839
+ return p && (vt(p)[0] ?? p).focus(), () => {
1840
+ var v;
1841
+ (v = u.current) == null || v.focus();
1842
+ };
1843
+ }, [t, h]), L(() => {
1844
+ if (!t)
1845
+ return;
1846
+ const p = document.body.style.overflow;
1847
+ return document.body.style.overflow = "hidden", () => {
1848
+ document.body.style.overflow = p;
1849
+ };
1850
+ }, [t]);
1851
+ const f = R(
1852
+ (p) => {
1853
+ if (p.key === "Escape") {
1854
+ p.stopPropagation(), e();
1855
+ return;
1856
+ }
1857
+ if (p.key !== "Tab")
1858
+ return;
1859
+ const v = l.current;
1860
+ if (!v)
1861
+ return;
1862
+ const x = vt(v);
1863
+ if (x.length === 0) {
1864
+ p.preventDefault(), v.focus();
1865
+ return;
1866
+ }
1867
+ const A = x[0], S = x.at(-1), M = document.activeElement;
1868
+ S && (p.shiftKey ? (M === A || M === v) && (p.preventDefault(), S.focus()) : M === S && (p.preventDefault(), A.focus()));
1869
+ },
1870
+ [e]
1871
+ ), $ = R(
1872
+ (p) => {
1873
+ a && p.target === p.currentTarget && e();
1874
+ },
1875
+ [a, e]
1876
+ );
1877
+ return t && h ? St(
1878
+ // The backdrop is a presentational scrim. Its click only mirrors the
1879
+ // Escape-key dismissal path that the dialog already provides for keyboard
1880
+ // users, so the keyboard-handler a11y rules do not apply here.
1881
+ // biome-ignore lint/a11y/noStaticElementInteractions: presentational scrim
1882
+ // biome-ignore lint/a11y/noNoninteractiveElementInteractions: presentational scrim
1883
+ // biome-ignore lint/a11y/useKeyWithClickEvents: Escape handles keyboard dismissal
1884
+ /* @__PURE__ */ c("div", { className: tt.backdrop, onClick: $, children: /* @__PURE__ */ b(
1885
+ "div",
1886
+ {
1887
+ ..._,
1888
+ "aria-labelledby": n ? m : void 0,
1889
+ "aria-modal": "true",
1890
+ className: d(tt.panel, tt[s], o),
1891
+ onKeyDown: f,
1892
+ ref: g,
1893
+ role: "dialog",
1894
+ tabIndex: -1,
1895
+ children: [
1896
+ n ? /* @__PURE__ */ c("h2", { className: tt.title, id: m, children: n }) : null,
1897
+ /* @__PURE__ */ c("div", { className: tt.body, children: i })
1898
+ ]
1899
+ }
1900
+ ) }),
1901
+ document.body
1902
+ ) : null;
1903
+ }
1904
+ const Tc = "_panel_134cx_3", Ac = {
1905
+ panel: Tc
1906
+ };
1907
+ function Pc(t, e, n, s) {
1908
+ const a = t.getBoundingClientRect(), o = e.getBoundingClientRect(), i = window.innerWidth, r = window.innerHeight, _ = window.scrollX, l = window.scrollY, u = n.split("-")[0], m = n.split("-")[1];
1909
+ function h(f) {
1910
+ return f === "horizontal" ? m === "start" ? { left: a.left + _ } : m === "end" ? { left: a.right + _ - o.width } : { left: a.left + _ + a.width / 2 - o.width / 2 } : m === "start" ? { top: a.top + l } : m === "end" ? { top: a.bottom + l - o.height } : { top: a.top + l + a.height / 2 - o.height / 2 };
1911
+ }
1912
+ let w = u;
1913
+ u === "top" && a.top - o.height - s < 0 ? w = "bottom" : u === "bottom" && a.bottom + o.height + s > r ? w = "top" : u === "left" && a.left - o.width - s < 0 ? w = "right" : u === "right" && a.right + o.width + s > i && (w = "left");
1914
+ let g = { top: 0, left: 0 };
1915
+ switch (w) {
1916
+ case "top": {
1917
+ const f = h("horizontal");
1918
+ g = {
1919
+ top: a.top + l - o.height - s,
1920
+ left: f.left ?? 0
1921
+ };
1922
+ break;
1923
+ }
1924
+ case "bottom": {
1925
+ const f = h("horizontal");
1926
+ g = {
1927
+ top: a.bottom + l + s,
1928
+ left: f.left ?? 0
1929
+ };
1930
+ break;
1931
+ }
1932
+ case "left": {
1933
+ g = {
1934
+ top: h("vertical").top ?? 0,
1935
+ left: a.left + _ - o.width - s
1936
+ };
1937
+ break;
1938
+ }
1939
+ case "right": {
1940
+ g = {
1941
+ top: h("vertical").top ?? 0,
1942
+ left: a.right + _ + s
1943
+ };
1944
+ break;
1945
+ }
1946
+ }
1947
+ return g.left = Math.max(
1948
+ _,
1949
+ Math.min(g.left, _ + i - o.width)
1950
+ ), g.top = Math.max(
1951
+ l,
1952
+ Math.min(g.top, l + r - o.height)
1953
+ ), g;
1954
+ }
1955
+ function Cr({
1956
+ children: t,
1957
+ closeOnOutsideClick: e = !0,
1958
+ closeOnEscape: n = !0,
1959
+ open: s,
1960
+ defaultOpen: a = !1,
1961
+ onOpenChange: o,
1962
+ offset: i = 8,
1963
+ placement: r = "bottom",
1964
+ className: _,
1965
+ ref: l,
1966
+ trigger: u,
1967
+ ...m
1968
+ }) {
1969
+ const h = s !== void 0, [w, g] = z(a), f = h ? s : w, $ = zt(), [p, v] = z(!1), [x, A] = z({ top: 0, left: 0 }), S = T(null), M = T(null), U = T(null);
1970
+ L(() => {
1971
+ v(!0);
1972
+ }, []);
1973
+ const Ct = R(
1974
+ (y) => {
1975
+ M.current = y, typeof l == "function" ? l(y) : l && (l.current = y);
1976
+ },
1977
+ [l]
1978
+ ), H = R(
1979
+ (y) => {
1980
+ h || g(y), o == null || o(y);
1981
+ },
1982
+ [h, o]
1983
+ ), nt = R(() => {
1984
+ const y = S.current, j = M.current;
1985
+ y && j && A(Pc(y, j, r, i));
1986
+ }, [r, i]);
1987
+ L(() => {
1988
+ var y;
1989
+ if (f && p)
1990
+ return U.current = document.activeElement instanceof HTMLElement ? document.activeElement : null, (y = M.current) == null || y.focus(), () => {
1991
+ var j;
1992
+ (j = U.current) == null || j.focus();
1993
+ };
1994
+ }, [f, p]), L(() => {
1995
+ if (!f)
1996
+ return;
1997
+ const y = requestAnimationFrame(() => {
1998
+ nt();
1999
+ }), j = () => nt(), O = () => nt();
2000
+ return window.addEventListener("scroll", j, { passive: !0 }), window.addEventListener("resize", O, { passive: !0 }), () => {
2001
+ cancelAnimationFrame(y), window.removeEventListener("scroll", j), window.removeEventListener("resize", O);
2002
+ };
2003
+ }, [f, nt]), L(() => {
2004
+ if (!(f && e))
2005
+ return;
2006
+ const y = (j) => {
2007
+ var mt, bt;
2008
+ const O = j.target;
2009
+ (mt = M.current) != null && mt.contains(O) || (bt = S.current) != null && bt.contains(O) || H(!1);
2010
+ };
2011
+ return document.addEventListener("mousedown", y), () => document.removeEventListener("mousedown", y);
2012
+ }, [f, e, H]);
2013
+ const Rt = R(
2014
+ (y) => {
2015
+ y.key === "Escape" && n && (y.stopPropagation(), H(!1));
2016
+ },
2017
+ [n, H]
2018
+ ), ft = u.props, K = u.ref, It = Dt(
2019
+ u,
2020
+ {
2021
+ "aria-haspopup": "dialog",
2022
+ "aria-expanded": f ? "true" : "false",
2023
+ "aria-controls": f ? $ : void 0,
2024
+ ref: (y) => {
2025
+ S.current = y, typeof K == "function" ? K(y) : K && typeof K == "object" && (K.current = y);
2026
+ },
2027
+ onClick: (y) => {
2028
+ typeof ft.onClick == "function" && ft.onClick(y), H(!f);
2029
+ }
2030
+ }
2031
+ );
2032
+ return /* @__PURE__ */ b(Bt, { children: [
2033
+ It,
2034
+ f && p ? St(
2035
+ // biome-ignore lint/a11y/noNoninteractiveElementInteractions: focus-trap keydown on dialog panel
2036
+ /* @__PURE__ */ c(
2037
+ "div",
2038
+ {
2039
+ ...m,
2040
+ className: d(Ac.panel, _),
2041
+ "data-placement": r,
2042
+ id: $,
2043
+ onKeyDown: Rt,
2044
+ ref: Ct,
2045
+ role: "dialog",
2046
+ style: { top: x.top, left: x.left },
2047
+ tabIndex: -1,
2048
+ children: t
2049
+ }
2050
+ ),
2051
+ document.body
2052
+ ) : null
2053
+ ] });
2054
+ }
2055
+ const kt = typeof document > "u" ? L : Nt, qt = xt(null), Et = "(prefers-color-scheme: dark)";
2056
+ function Xc(t) {
1078
2057
  return t === "light" || t === "dark" || t === "system";
1079
2058
  }
1080
- function da(t, n) {
2059
+ function Fc(t, e) {
1081
2060
  if (typeof window > "u")
1082
- return n;
2061
+ return e;
1083
2062
  try {
1084
- const e = window.localStorage.getItem(t);
1085
- return la(e) ? e : n;
2063
+ const n = window.localStorage.getItem(t);
2064
+ return Xc(n) ? n : e;
1086
2065
  } catch {
1087
- return n;
2066
+ return e;
1088
2067
  }
1089
2068
  }
1090
- function ua(t) {
1091
- return t !== "system" ? t : typeof window > "u" || typeof window.matchMedia != "function" ? "light" : window.matchMedia(Q).matches ? "dark" : "light";
2069
+ function Wc(t) {
2070
+ return t !== "system" ? t : typeof window > "u" || typeof window.matchMedia != "function" ? "light" : window.matchMedia(Et).matches ? "dark" : "light";
1092
2071
  }
1093
- function ga(t) {
2072
+ function Uc(t) {
1094
2073
  if (typeof document > "u")
1095
2074
  return;
1096
- const n = document.documentElement;
1097
- t === "dark" ? n.setAttribute("data-theme", "dark") : n.removeAttribute("data-theme");
2075
+ const e = document.documentElement;
2076
+ t === "dark" ? e.setAttribute("data-theme", "dark") : e.removeAttribute("data-theme");
1098
2077
  }
1099
- function Po({
2078
+ function Rr({
1100
2079
  children: t,
1101
- defaultTheme: n = "system",
1102
- storageKey: e = "enact-theme"
2080
+ defaultTheme: e = "system",
2081
+ storageKey: n = "enact-theme"
1103
2082
  }) {
1104
- const [a, s] = M(n), [_, c] = M(
1105
- n === "system" ? "light" : n
2083
+ const [s, a] = z(e), [o, i] = z(
2084
+ e === "system" ? "light" : e
1106
2085
  );
1107
- X(() => {
1108
- const l = da(e, n);
1109
- l !== n && s(l);
1110
- }, [e, n]), X(() => {
1111
- if (c(ua(a)), a !== "system" || typeof window > "u" || typeof window.matchMedia != "function")
2086
+ L(() => {
2087
+ const l = Fc(n, e);
2088
+ l !== e && a(l);
2089
+ }, [n, e]), kt(() => {
2090
+ if (i(Wc(s)), s !== "system" || typeof window > "u" || typeof window.matchMedia != "function")
1112
2091
  return;
1113
- const l = window.matchMedia(Q), g = (h) => {
1114
- c(h.matches ? "dark" : "light");
2092
+ const l = window.matchMedia(Et), u = (m) => {
2093
+ i(m.matches ? "dark" : "light");
1115
2094
  };
1116
- return l.addEventListener("change", g), () => {
1117
- l.removeEventListener("change", g);
2095
+ return l.addEventListener("change", u), () => {
2096
+ l.removeEventListener("change", u);
1118
2097
  };
1119
- }, [a]), X(() => {
1120
- ga(_);
1121
- }, [_]);
1122
- const r = Y(
2098
+ }, [s]), kt(() => {
2099
+ Uc(o);
2100
+ }, [o]);
2101
+ const r = R(
1123
2102
  (l) => {
1124
- if (s(l), typeof window < "u")
2103
+ if (a(l), typeof window < "u")
1125
2104
  try {
1126
- window.localStorage.setItem(e, l);
2105
+ window.localStorage.setItem(n, l);
1127
2106
  } catch {
1128
2107
  }
1129
2108
  },
1130
- [e]
1131
- ), u = J(
1132
- () => ({ theme: a, resolvedTheme: _, setTheme: r }),
1133
- [a, _, r]
2109
+ [n]
2110
+ ), _ = Tt(
2111
+ () => ({ theme: s, resolvedTheme: o, setTheme: r }),
2112
+ [s, o, r]
1134
2113
  );
1135
- return /* @__PURE__ */ o(G.Provider, { value: u, children: t });
2114
+ return /* @__PURE__ */ c(qt.Provider, { value: _, children: t });
1136
2115
  }
1137
- function Wo() {
1138
- const t = V(G);
2116
+ function Ir() {
2117
+ const t = $t(qt);
1139
2118
  if (t === null)
1140
2119
  throw new Error("useTheme must be used within a <ThemeProvider>");
1141
2120
  return t;
1142
2121
  }
1143
- const pa = "_heading_xq294_1", ha = "_sizeXs_xq294_9", ma = "_sizeSm_xq294_12", fa = "_sizeMd_xq294_15", wa = "_sizeLg_xq294_18", xa = "_sizeXl_xq294_21", ya = "_size2xl_xq294_24", ba = "_size3xl_xq294_27", ka = "_size4xl_xq294_30", $a = "_weightRegular_xq294_35", va = "_weightMedium_xq294_38", ja = "_weightSemibold_xq294_41", Sa = "_weightBold_xq294_44", za = "_tonePrimary_xq294_49", Na = "_toneSecondary_xq294_52", Ma = "_toneMuted_xq294_55", Ca = "_toneInverse_xq294_58", La = "_toneLink_xq294_61", E = {
1144
- heading: pa,
1145
- sizeXs: ha,
1146
- sizeSm: ma,
1147
- sizeMd: fa,
1148
- sizeLg: wa,
1149
- sizeXl: xa,
1150
- size2xl: ya,
1151
- size3xl: ba,
1152
- size4xl: ka,
1153
- weightRegular: $a,
1154
- weightMedium: va,
1155
- weightSemibold: ja,
1156
- weightBold: Sa,
1157
- tonePrimary: za,
1158
- toneSecondary: Na,
1159
- toneMuted: Ma,
1160
- toneInverse: Ca,
1161
- toneLink: La
1162
- }, qa = {
2122
+ function Hc(t = "enact-theme") {
2123
+ return `(function(){try{var k=${JSON.stringify(t)},v=localStorage.getItem(k),d=document.documentElement;if(v==="dark"){d.setAttribute("data-theme","dark")}else if(v==="light"){d.removeAttribute("data-theme")}else{if(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches){d.setAttribute("data-theme","dark")}else{d.removeAttribute("data-theme")}}}catch(e){}})();`;
2124
+ }
2125
+ const Br = Hc(), Kc = "_heading_xq294_1", Oc = "_sizeXs_xq294_9", Gc = "_sizeSm_xq294_12", Yc = "_sizeMd_xq294_15", Vc = "_sizeLg_xq294_18", Jc = "_sizeXl_xq294_21", Qc = "_size2xl_xq294_24", Zc = "_size3xl_xq294_27", ti = "_size4xl_xq294_30", ei = "_weightRegular_xq294_35", ni = "_weightMedium_xq294_38", si = "_weightSemibold_xq294_41", ai = "_weightBold_xq294_44", oi = "_tonePrimary_xq294_49", ci = "_toneSecondary_xq294_52", ii = "_toneMuted_xq294_55", ri = "_toneInverse_xq294_58", li = "_toneLink_xq294_61", rt = {
2126
+ heading: Kc,
2127
+ sizeXs: Oc,
2128
+ sizeSm: Gc,
2129
+ sizeMd: Yc,
2130
+ sizeLg: Vc,
2131
+ sizeXl: Jc,
2132
+ size2xl: Qc,
2133
+ size3xl: Zc,
2134
+ size4xl: ti,
2135
+ weightRegular: ei,
2136
+ weightMedium: ni,
2137
+ weightSemibold: si,
2138
+ weightBold: ai,
2139
+ tonePrimary: oi,
2140
+ toneSecondary: ci,
2141
+ toneMuted: ii,
2142
+ toneInverse: ri,
2143
+ toneLink: li
2144
+ }, _i = {
1163
2145
  xs: "sizeXs",
1164
2146
  sm: "sizeSm",
1165
2147
  md: "sizeMd",
@@ -1168,168 +2150,187 @@ const pa = "_heading_xq294_1", ha = "_sizeXs_xq294_9", ma = "_sizeSm_xq294_12",
1168
2150
  "2xl": "size2xl",
1169
2151
  "3xl": "size3xl",
1170
2152
  "4xl": "size4xl"
1171
- }, Ba = {
2153
+ }, di = {
1172
2154
  1: "4xl",
1173
2155
  2: "3xl",
1174
2156
  3: "2xl",
1175
2157
  4: "xl",
1176
2158
  5: "lg",
1177
2159
  6: "md"
1178
- }, Ea = {
2160
+ }, ui = {
1179
2161
  regular: "weightRegular",
1180
2162
  medium: "weightMedium",
1181
2163
  semibold: "weightSemibold",
1182
2164
  bold: "weightBold"
1183
- }, Ra = {
2165
+ }, pi = {
1184
2166
  primary: "tonePrimary",
1185
2167
  secondary: "toneSecondary",
1186
2168
  muted: "toneMuted",
1187
2169
  inverse: "toneInverse",
1188
2170
  link: "toneLink"
1189
2171
  };
1190
- function Ao({
2172
+ function Dr({
1191
2173
  level: t,
1192
- size: n,
1193
- tone: e = "primary",
1194
- weight: a = "semibold",
1195
- className: s,
1196
- children: _,
1197
- ref: c,
2174
+ size: e,
2175
+ tone: n = "primary",
2176
+ weight: s = "semibold",
2177
+ className: a,
2178
+ children: o,
2179
+ ref: i,
1198
2180
  ...r
1199
2181
  }) {
1200
- const u = `h${t}`, l = n ?? Ba[t];
1201
- return /* @__PURE__ */ o(
1202
- u,
2182
+ const _ = `h${t}`, l = e ?? di[t];
2183
+ return /* @__PURE__ */ c(
2184
+ _,
1203
2185
  {
1204
- className: i(
1205
- E.heading,
1206
- E[qa[l]],
1207
- E[Ea[a]],
1208
- E[Ra[e]],
1209
- s
2186
+ className: d(
2187
+ rt.heading,
2188
+ rt[_i[l]],
2189
+ rt[ui[s]],
2190
+ rt[pi[n]],
2191
+ a
1210
2192
  ),
1211
- ref: c,
2193
+ ref: i,
1212
2194
  ...r,
1213
- children: _
2195
+ children: o
1214
2196
  }
1215
2197
  );
1216
2198
  }
1217
- const Xa = "_text_xjn05_1", Ia = "_sizeXs_xjn05_6", Ta = "_sizeSm_xjn05_9", Pa = "_sizeMd_xjn05_12", Wa = "_sizeLg_xjn05_15", Aa = "_sizeXl_xjn05_18", Da = "_size2xl_xjn05_21", Fa = "_weightRegular_xjn05_26", Ua = "_weightMedium_xjn05_29", Ha = "_weightSemibold_xjn05_32", Oa = "_weightBold_xjn05_35", Ga = "_tonePrimary_xjn05_40", Qa = "_toneSecondary_xjn05_43", Ya = "_toneMuted_xjn05_46", Ja = "_toneInverse_xjn05_49", Va = "_toneLink_xjn05_52", Za = "_fontBody_xjn05_57", Ka = "_fontDisplay_xjn05_60", to = "_fontMono_xjn05_63", no = "_leadingTight_xjn05_68", eo = "_leadingSnug_xjn05_71", so = "_leadingNormal_xjn05_74", ao = "_leadingRelaxed_xjn05_77", oo = "_alignStart_xjn05_82", _o = "_alignCenter_xjn05_85", co = "_alignEnd_xjn05_88", w = {
1218
- text: Xa,
1219
- sizeXs: Ia,
1220
- sizeSm: Ta,
1221
- sizeMd: Pa,
1222
- sizeLg: Wa,
1223
- sizeXl: Aa,
1224
- size2xl: Da,
1225
- weightRegular: Fa,
1226
- weightMedium: Ua,
1227
- weightSemibold: Ha,
1228
- weightBold: Oa,
1229
- tonePrimary: Ga,
1230
- toneSecondary: Qa,
1231
- toneMuted: Ya,
1232
- toneInverse: Ja,
1233
- toneLink: Va,
1234
- fontBody: Za,
1235
- fontDisplay: Ka,
1236
- fontMono: to,
1237
- leadingTight: no,
1238
- leadingSnug: eo,
1239
- leadingNormal: so,
1240
- leadingRelaxed: ao,
1241
- alignStart: oo,
1242
- alignCenter: _o,
1243
- alignEnd: co
1244
- }, io = {
2199
+ const gi = "_text_xjn05_1", hi = "_sizeXs_xjn05_6", fi = "_sizeSm_xjn05_9", mi = "_sizeMd_xjn05_12", bi = "_sizeLg_xjn05_15", wi = "_sizeXl_xjn05_18", yi = "_size2xl_xjn05_21", vi = "_weightRegular_xjn05_26", ki = "_weightMedium_xjn05_29", $i = "_weightSemibold_xjn05_32", xi = "_weightBold_xjn05_35", Ni = "_tonePrimary_xjn05_40", zi = "_toneSecondary_xjn05_43", Si = "_toneMuted_xjn05_46", Mi = "_toneInverse_xjn05_49", ji = "_toneLink_xjn05_52", Li = "_fontBody_xjn05_57", qi = "_fontDisplay_xjn05_60", Ei = "_fontMono_xjn05_63", Ci = "_leadingTight_xjn05_68", Ri = "_leadingSnug_xjn05_71", Ii = "_leadingNormal_xjn05_74", Bi = "_leadingRelaxed_xjn05_77", Di = "_alignStart_xjn05_82", Ti = "_alignCenter_xjn05_85", Ai = "_alignEnd_xjn05_88", B = {
2200
+ text: gi,
2201
+ sizeXs: hi,
2202
+ sizeSm: fi,
2203
+ sizeMd: mi,
2204
+ sizeLg: bi,
2205
+ sizeXl: wi,
2206
+ size2xl: yi,
2207
+ weightRegular: vi,
2208
+ weightMedium: ki,
2209
+ weightSemibold: $i,
2210
+ weightBold: xi,
2211
+ tonePrimary: Ni,
2212
+ toneSecondary: zi,
2213
+ toneMuted: Si,
2214
+ toneInverse: Mi,
2215
+ toneLink: ji,
2216
+ fontBody: Li,
2217
+ fontDisplay: qi,
2218
+ fontMono: Ei,
2219
+ leadingTight: Ci,
2220
+ leadingSnug: Ri,
2221
+ leadingNormal: Ii,
2222
+ leadingRelaxed: Bi,
2223
+ alignStart: Di,
2224
+ alignCenter: Ti,
2225
+ alignEnd: Ai
2226
+ }, Pi = {
1245
2227
  xs: "sizeXs",
1246
2228
  sm: "sizeSm",
1247
2229
  md: "sizeMd",
1248
2230
  lg: "sizeLg",
1249
2231
  xl: "sizeXl",
1250
2232
  "2xl": "size2xl"
1251
- }, ro = {
2233
+ }, Xi = {
1252
2234
  regular: "weightRegular",
1253
2235
  medium: "weightMedium",
1254
2236
  semibold: "weightSemibold",
1255
2237
  bold: "weightBold"
1256
- }, lo = {
2238
+ }, Fi = {
1257
2239
  primary: "tonePrimary",
1258
2240
  secondary: "toneSecondary",
1259
2241
  muted: "toneMuted",
1260
2242
  inverse: "toneInverse",
1261
2243
  link: "toneLink"
1262
- }, uo = {
2244
+ }, Wi = {
1263
2245
  body: "fontBody",
1264
2246
  display: "fontDisplay",
1265
2247
  mono: "fontMono"
1266
- }, go = {
2248
+ }, Ui = {
1267
2249
  tight: "leadingTight",
1268
2250
  snug: "leadingSnug",
1269
2251
  normal: "leadingNormal",
1270
2252
  relaxed: "leadingRelaxed"
1271
- }, po = {
2253
+ }, Hi = {
1272
2254
  start: "alignStart",
1273
2255
  center: "alignCenter",
1274
2256
  end: "alignEnd"
1275
2257
  };
1276
- function Do({
2258
+ function Tr({
1277
2259
  as: t = "p",
1278
- align: n,
1279
- font: e = "body",
1280
- leading: a,
1281
- size: s,
1282
- tone: _,
1283
- weight: c,
2260
+ align: e,
2261
+ font: n = "body",
2262
+ leading: s,
2263
+ size: a,
2264
+ tone: o,
2265
+ weight: i,
1284
2266
  className: r,
1285
- children: u,
2267
+ children: _,
1286
2268
  ref: l,
1287
- ...g
2269
+ ...u
1288
2270
  }) {
1289
- return /* @__PURE__ */ o(
2271
+ return /* @__PURE__ */ c(
1290
2272
  t,
1291
2273
  {
1292
- className: i(
1293
- w.text,
1294
- w[uo[e]],
1295
- s != null && w[io[s]],
1296
- c != null && w[ro[c]],
1297
- _ != null && w[lo[_]],
1298
- a != null && w[go[a]],
1299
- n != null && w[po[n]],
2274
+ className: d(
2275
+ B.text,
2276
+ B[Wi[n]],
2277
+ a != null && B[Pi[a]],
2278
+ i != null && B[Xi[i]],
2279
+ o != null && B[Fi[o]],
2280
+ s != null && B[Ui[s]],
2281
+ e != null && B[Hi[e]],
1300
2282
  r
1301
2283
  ),
1302
2284
  ref: l,
1303
- ...g,
1304
- children: u
2285
+ ...u,
2286
+ children: _
1305
2287
  }
1306
2288
  );
1307
2289
  }
1308
2290
  export {
1309
- vo as Alert,
1310
- fo as Avatar,
1311
- wo as Badge,
1312
- qo as Box,
1313
- Io as Breadcrumb,
1314
- xo as Button,
1315
- yo as Card,
1316
- zo as Checkbox,
1317
- Bo as Container,
1318
- No as Field,
1319
- Eo as Grid,
1320
- Ao as Heading,
1321
- bo as IconButton,
1322
- Ro as Inline,
1323
- Mo as Input,
1324
- jo as Progress,
1325
- Co as Select,
1326
- Xo as Stack,
1327
- ko as Stat,
1328
- Lo as Switch,
1329
- To as Tabs,
1330
- $o as Tag,
1331
- Do as Text,
1332
- Po as ThemeProvider,
1333
- So as Tooltip,
1334
- Wo as useTheme
2291
+ nr as Accordion,
2292
+ dr as Alert,
2293
+ Yi as Avatar,
2294
+ Vi as Badge,
2295
+ $r as Box,
2296
+ jr as Breadcrumb,
2297
+ Ji as Button,
2298
+ Qi as Card,
2299
+ hr as Checkbox,
2300
+ xr as Container,
2301
+ Nr as Divider,
2302
+ fr as Field,
2303
+ zr as Grid,
2304
+ Dr as Heading,
2305
+ Zi as IconButton,
2306
+ Sr as Inline,
2307
+ mr as Input,
2308
+ sr as List,
2309
+ ar as ListItem,
2310
+ or as MetricCard,
2311
+ Er as Modal,
2312
+ Lr as Pagination,
2313
+ Cr as Popover,
2314
+ ur as Progress,
2315
+ wr as Radio,
2316
+ br as RadioGroup,
2317
+ yr as Select,
2318
+ pr as Skeleton,
2319
+ Mr as Stack,
2320
+ tr as Stat,
2321
+ vr as Switch,
2322
+ cr as Table,
2323
+ _r as TableCell,
2324
+ ir as TableHeader,
2325
+ lr as TableHeaderCell,
2326
+ rr as TableRow,
2327
+ qr as Tabs,
2328
+ er as Tag,
2329
+ Tr as Text,
2330
+ kr as Textarea,
2331
+ Rr as ThemeProvider,
2332
+ gr as Tooltip,
2333
+ Hc as getThemeInitScript,
2334
+ Br as themeInitScript,
2335
+ Ir as useTheme
1335
2336
  };