@sakaniui/react 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
- import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as ee, U as te, V as b, W as x, X as S, Y as C, Z as ne, _ as re, a as ie, at as ae, b as oe, c as se, ct as ce, d as le, dt as ue, et as de, f as fe, ft as w, g as pe, h as me, i as he, it as ge, j as _e, k as ve, l as ye, lt as be, m as xe, n as Se, nt as T, o as Ce, ot as we, p as Te, q as Ee, r as De, rt as Oe, s as ke, st as Ae, t as je, tt as Me, u as Ne, ut as Pe, v as Fe, w as Ie, x as Le, y as Re, z as ze } from "./TopBar-B88BmNES.js";
2
- import E from "react";
3
- import { Fragment as Be, jsx as D, jsxs as O } from "react/jsx-runtime";
4
- import { ArrowRight as Ve, ChartColumn as He, Check as Ue, ChevronDown as We, ChevronLeft as Ge, ChevronRight as Ke, Copy as qe, EllipsisVertical as Je, File as Ye, Info as Xe, LogOut as Ze, Menu as Qe, Minus as $e, MoreHorizontal as et, Play as tt, Plus as nt, Quote as rt, Receipt as it, Search as at, Sparkles as ot, TrendingDown as st, TrendingUp as ct, TriangleAlert as lt, UploadCloud as ut, X as dt } from "lucide-react";
5
- import { Area as ft, AreaChart as pt, Bar as mt, BarChart as ht, CartesianGrid as gt, Cell as k, Legend as _t, Line as vt, LineChart as yt, Pie as bt, PieChart as xt, PolarAngleAxis as St, PolarGrid as Ct, PolarRadiusAxis as wt, Radar as Tt, RadarChart as Et, RadialBar as Dt, RadialBarChart as Ot, Rectangle as kt, ResponsiveContainer as A, Sector as At, Tooltip as jt, XAxis as Mt, YAxis as Nt } from "recharts";
6
- var Pt = {
1
+ import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, V as S, W as C, X as w, Y as T, Z as ee, _ as E, a as te, at as ne, b as re, c as ie, ct as ae, d as oe, dt as D, et as se, f as ce, g as le, h as ue, i as de, it as fe, j as pe, k as me, l as he, lt as ge, m as _e, n as ve, nt as ye, o as be, ot as xe, p as Se, q as Ce, r as we, rt as Te, s as Ee, st as De, t as Oe, tt as ke, u as Ae, ut as je, v as Me, w as Ne, x as Pe, y as Fe, z as Ie } from "./TopBar-CgWKcAb7.js";
2
+ import O, { useEffect as Le, useState as Re } from "react";
3
+ import { Fragment as ze, jsx as k, jsxs as A } from "react/jsx-runtime";
4
+ import { ArrowRight as Be, ChartColumn as Ve, Check as He, ChevronDown as Ue, ChevronLeft as We, ChevronRight as Ge, Copy as Ke, EllipsisVertical as qe, File as Je, Info as Ye, LogOut as Xe, Menu as Ze, Minus as Qe, MoreHorizontal as $e, Play as et, Plus as tt, Quote as nt, Receipt as rt, Search as it, Sparkles as at, TrendingDown as ot, TrendingUp as st, TriangleAlert as ct, UploadCloud as lt, X as ut } from "lucide-react";
5
+ import { Area as dt, AreaChart as ft, Bar as pt, BarChart as mt, CartesianGrid as ht, Cell as gt, Legend as _t, Line as vt, LineChart as yt, Pie as bt, PieChart as xt, PolarAngleAxis as St, PolarGrid as Ct, PolarRadiusAxis as wt, Radar as Tt, RadarChart as Et, RadialBar as Dt, RadialBarChart as Ot, Rectangle as kt, ResponsiveContainer as At, Sector as jt, Tooltip as Mt, XAxis as Nt, YAxis as Pt } from "recharts";
6
+ var Ft = {
7
7
  announcement: "_announcement_1ba3c_1",
8
8
  "announcement--neutral": "_announcement--neutral_1ba3c_13",
9
9
  "announcement--urgent": "_announcement--urgent_1ba3c_16",
@@ -12,43 +12,43 @@ var Pt = {
12
12
  icon__neutral: "_icon__neutral_1ba3c_32",
13
13
  message: "_message_1ba3c_36",
14
14
  link: "_link_1ba3c_52"
15
- }, Ft = ({ message: e, linkLabel: t, linkHref: n, onLinkClick: r, onDismiss: i, variant: a = "neutral", className: o }) => {
15
+ }, It = ({ message: e, linkLabel: t, linkHref: n, onLinkClick: r, onDismiss: i, variant: a = "neutral", className: o }) => {
16
16
  let s = a === "urgent";
17
- return /* @__PURE__ */ O("div", {
17
+ return /* @__PURE__ */ A("div", {
18
18
  className: [
19
- Pt.announcement,
20
- Pt[`announcement--${a}`],
19
+ Ft.announcement,
20
+ Ft[`announcement--${a}`],
21
21
  o ?? ""
22
22
  ].filter(Boolean).join(" "),
23
- children: [/* @__PURE__ */ O("div", {
24
- className: Pt.content,
23
+ children: [/* @__PURE__ */ A("div", {
24
+ className: Ft.content,
25
25
  children: [
26
- /* @__PURE__ */ D("span", {
27
- className: Pt.icon,
26
+ /* @__PURE__ */ k("span", {
27
+ className: Ft.icon,
28
28
  "aria-hidden": "true",
29
- children: s ? /* @__PURE__ */ D(lt, {
29
+ children: s ? /* @__PURE__ */ k(ct, {
30
30
  size: 24,
31
31
  strokeWidth: 1.5,
32
32
  style: {
33
33
  fill: "var(--color-info-solid)",
34
34
  stroke: "var(--color-info-bg)"
35
35
  }
36
- }) : /* @__PURE__ */ D(ot, {
36
+ }) : /* @__PURE__ */ k(at, {
37
37
  size: 24,
38
38
  strokeWidth: 1.5,
39
39
  fill: "currentColor",
40
40
  stroke: "currentColor",
41
- className: Pt.icon__neutral
41
+ className: Ft.icon__neutral
42
42
  })
43
43
  }),
44
- /* @__PURE__ */ D("p", {
45
- className: Pt.message,
44
+ /* @__PURE__ */ k("p", {
45
+ className: Ft.message,
46
46
  children: e
47
47
  }),
48
- !s && t && /* @__PURE__ */ D(we, {
48
+ !s && t && /* @__PURE__ */ k(ne, {
49
49
  href: n,
50
50
  onClick: r,
51
- className: Pt.link,
51
+ className: Ft.link,
52
52
  style: {
53
53
  color: "var(--color-brand-fg)",
54
54
  fontSize: 16,
@@ -57,8 +57,8 @@ var Pt = {
57
57
  children: t
58
58
  })
59
59
  ]
60
- }), i && /* @__PURE__ */ D(ae, {
61
- icon: dt,
60
+ }), i && /* @__PURE__ */ k(fe, {
61
+ icon: ut,
62
62
  size: "sm",
63
63
  variant: "ghost",
64
64
  "aria-label": "Dismiss",
@@ -74,7 +74,7 @@ var Pt = {
74
74
  tokenString: "_tokenString_1ao90_43",
75
75
  editableBody: "_editableBody_1ao90_50",
76
76
  textarea: "_textarea_1ao90_55"
77
- }, It = [
77
+ }, Lt = [
78
78
  "import",
79
79
  "export",
80
80
  "from",
@@ -96,30 +96,30 @@ var Pt = {
96
96
  "as",
97
97
  "of",
98
98
  "in"
99
- ], Lt = RegExp(`('(?:[^'\\\\]|\\\\.)*'|"(?:[^"\\\\]|\\\\.)*"|\`(?:[^\`\\\\]|\\\\.)*\`|\\b(?:${It.join("|")})\\b)`, "g"), Rt = (e) => e.split(Lt).map((e, t) => {
99
+ ], Rt = RegExp(`('(?:[^'\\\\]|\\\\.)*'|"(?:[^"\\\\]|\\\\.)*"|\`(?:[^\`\\\\]|\\\\.)*\`|\\b(?:${Lt.join("|")})\\b)`, "g"), zt = (e) => e.split(Rt).map((e, t) => {
100
100
  if (!e) return null;
101
- let n = /^['"`]/.test(e), r = !n && It.includes(e);
102
- return n ? /* @__PURE__ */ D("span", {
101
+ let n = /^['"`]/.test(e), r = !n && Lt.includes(e);
102
+ return n ? /* @__PURE__ */ k("span", {
103
103
  className: j.tokenString,
104
104
  children: e
105
- }, t) : r ? /* @__PURE__ */ D("span", {
105
+ }, t) : r ? /* @__PURE__ */ k("span", {
106
106
  className: j.tokenKeyword,
107
107
  children: e
108
- }, t) : /* @__PURE__ */ D(E.Fragment, { children: e }, t);
109
- }), zt = ({ code: e, filename: t, onCopy: n, editable: r = !1, onChange: i, placeholder: a, className: o }) => {
110
- let [s, c] = E.useState(!1), [l, u] = E.useState(e);
111
- E.useEffect(() => u(e), [e]);
108
+ }, t) : /* @__PURE__ */ k(O.Fragment, { children: e }, t);
109
+ }), Bt = ({ code: e, filename: t, onCopy: n, editable: r = !1, onChange: i, placeholder: a, className: o }) => {
110
+ let [s, c] = O.useState(!1), [l, u] = O.useState(e);
111
+ O.useEffect(() => u(e), [e]);
112
112
  let d = () => {
113
113
  navigator.clipboard?.writeText(l), n?.(l), c(!0), window.setTimeout(() => c(!1), 1500);
114
114
  }, f = (e) => {
115
115
  u(e), i?.(e);
116
- }, p = r ? /* @__PURE__ */ O("div", {
116
+ }, p = r ? /* @__PURE__ */ A("div", {
117
117
  className: j.editableBody,
118
- children: [/* @__PURE__ */ D("pre", {
118
+ children: [/* @__PURE__ */ k("pre", {
119
119
  className: j.body,
120
120
  "aria-hidden": "true",
121
- children: Rt(l)
122
- }), /* @__PURE__ */ D("textarea", {
121
+ children: zt(l)
122
+ }), /* @__PURE__ */ k("textarea", {
123
123
  className: j.textarea,
124
124
  value: l,
125
125
  placeholder: a,
@@ -134,30 +134,30 @@ var Pt = {
134
134
  });
135
135
  }
136
136
  })]
137
- }) : /* @__PURE__ */ D("pre", {
137
+ }) : /* @__PURE__ */ k("pre", {
138
138
  className: j.body,
139
- children: Rt(l)
139
+ children: zt(l)
140
140
  });
141
- return t ? /* @__PURE__ */ O("div", {
141
+ return t ? /* @__PURE__ */ A("div", {
142
142
  className: [j.snippet, o ?? ""].filter(Boolean).join(" "),
143
- children: [/* @__PURE__ */ O("div", {
143
+ children: [/* @__PURE__ */ A("div", {
144
144
  className: j.header,
145
- children: [/* @__PURE__ */ D("p", {
145
+ children: [/* @__PURE__ */ k("p", {
146
146
  className: j.filename,
147
147
  children: t
148
- }), /* @__PURE__ */ D(ae, {
149
- icon: s ? Ue : qe,
148
+ }), /* @__PURE__ */ k(fe, {
149
+ icon: s ? He : Ke,
150
150
  variant: "ghost",
151
151
  size: "sm",
152
152
  "aria-label": s ? "Copied" : "Copy code",
153
153
  onClick: d
154
154
  })]
155
155
  }), p]
156
- }) : /* @__PURE__ */ D("div", {
156
+ }) : /* @__PURE__ */ k("div", {
157
157
  className: [j.snippet, o ?? ""].filter(Boolean).join(" "),
158
158
  children: p
159
159
  });
160
- }, Bt = {
160
+ }, Vt = {
161
161
  expenses: "_expenses_1imiq_1",
162
162
  row: "_row_1imiq_10",
163
163
  top: "_top_1imiq_18",
@@ -165,65 +165,65 @@ var Pt = {
165
165
  icon: "_icon_1imiq_32",
166
166
  label: "_label_1imiq_44",
167
167
  amount: "_amount_1imiq_55"
168
- }, Vt = (e) => e.toLocaleString("en-US", {
168
+ }, Ht = (e) => e.toLocaleString("en-US", {
169
169
  style: "currency",
170
170
  currency: "USD"
171
- }), Ht = ({ categories: e, variant: t = "default", formatAmount: n = Vt, className: r }) => {
171
+ }), Ut = ({ categories: e, variant: t = "default", formatAmount: n = Ht, className: r }) => {
172
172
  let i = t === "compact", a = Math.max(1, ...e.map((e) => e.amount));
173
- return /* @__PURE__ */ D("div", {
174
- className: [Bt.expenses, r ?? ""].filter(Boolean).join(" "),
175
- children: e.map((e, t) => /* @__PURE__ */ O("div", {
176
- className: Bt.row,
177
- children: [/* @__PURE__ */ O("div", {
178
- className: Bt.top,
179
- children: [/* @__PURE__ */ O("div", {
180
- className: Bt.left,
181
- children: [/* @__PURE__ */ D("span", {
182
- className: Bt.icon,
173
+ return /* @__PURE__ */ k("div", {
174
+ className: [Vt.expenses, r ?? ""].filter(Boolean).join(" "),
175
+ children: e.map((e, t) => /* @__PURE__ */ A("div", {
176
+ className: Vt.row,
177
+ children: [/* @__PURE__ */ A("div", {
178
+ className: Vt.top,
179
+ children: [/* @__PURE__ */ A("div", {
180
+ className: Vt.left,
181
+ children: [/* @__PURE__ */ k("span", {
182
+ className: Vt.icon,
183
183
  "aria-hidden": "true",
184
184
  children: e.icon
185
- }), /* @__PURE__ */ D("p", {
186
- className: Bt.label,
185
+ }), /* @__PURE__ */ k("p", {
186
+ className: Vt.label,
187
187
  children: e.label
188
188
  })]
189
- }), /* @__PURE__ */ D("p", {
190
- className: Bt.amount,
189
+ }), /* @__PURE__ */ k("p", {
190
+ className: Vt.amount,
191
191
  children: n(e.amount)
192
192
  })]
193
- }), !i && /* @__PURE__ */ D(de, {
193
+ }), !i && /* @__PURE__ */ k(se, {
194
194
  value: e.amount / a * 100,
195
195
  size: "lg",
196
196
  label: `${e.label} spending`
197
197
  })]
198
198
  }, e.id ?? t))
199
199
  });
200
- }, Ut = {
200
+ }, Wt = {
201
201
  hint: "_hint_49nyi_1",
202
202
  bar: "_bar_49nyi_9",
203
203
  "hint--neutral": "_hint--neutral_49nyi_15",
204
204
  "hint--warning": "_hint--warning_49nyi_16",
205
205
  icon: "_icon_49nyi_18",
206
206
  message: "_message_49nyi_24"
207
- }, Wt = 14, Gt = ({ message: e, variant: t = "neutral", className: n }) => {
208
- let r = t === "warning" ? lt : Xe;
209
- return /* @__PURE__ */ O("div", {
207
+ }, Gt = 14, Kt = ({ message: e, variant: t = "neutral", className: n }) => {
208
+ let r = t === "warning" ? ct : Ye;
209
+ return /* @__PURE__ */ A("div", {
210
210
  className: [
211
- Ut.hint,
212
- Ut[`hint--${t}`],
211
+ Wt.hint,
212
+ Wt[`hint--${t}`],
213
213
  n ?? ""
214
214
  ].filter(Boolean).join(" "),
215
215
  children: [
216
- /* @__PURE__ */ D("span", {
217
- className: Ut.bar,
216
+ /* @__PURE__ */ k("span", {
217
+ className: Wt.bar,
218
218
  "aria-hidden": "true"
219
219
  }),
220
- /* @__PURE__ */ D(r, {
221
- size: Wt,
222
- strokeWidth: w(Wt),
223
- className: Ut.icon
220
+ /* @__PURE__ */ k(r, {
221
+ size: Gt,
222
+ strokeWidth: D(Gt),
223
+ className: Wt.icon
224
224
  }),
225
- /* @__PURE__ */ D("p", {
226
- className: Ut.message,
225
+ /* @__PURE__ */ k("p", {
226
+ className: Wt.message,
227
227
  children: e
228
228
  })
229
229
  ]
@@ -240,177 +240,205 @@ var Pt = {
240
240
  text: "_text_mg6gs_59",
241
241
  title: "_title_mg6gs_65",
242
242
  description: "_description_mg6gs_73"
243
- }, Kt = ({ step: e, title: t, description: n, completed: r = !1, orientation: i = "horizontal", isLast: a = !1, className: o }) => {
244
- let s = i === "vertical", c = /* @__PURE__ */ D("span", {
243
+ }, qt = ({ step: e, title: t, description: n, completed: r = !1, orientation: i = "horizontal", isLast: a = !1, className: o }) => {
244
+ let s = i === "vertical", c = /* @__PURE__ */ k("span", {
245
245
  className: M.value,
246
246
  "aria-hidden": "true",
247
- children: r ? /* @__PURE__ */ D(Ue, {
247
+ children: r ? /* @__PURE__ */ k(He, {
248
248
  size: 14,
249
- strokeWidth: w(14)
249
+ strokeWidth: D(14)
250
250
  }) : e
251
- }), l = /* @__PURE__ */ O("div", {
251
+ }), l = /* @__PURE__ */ A("div", {
252
252
  className: M.text,
253
- children: [/* @__PURE__ */ D("p", {
253
+ children: [/* @__PURE__ */ k("p", {
254
254
  className: M.title,
255
255
  children: t
256
- }), n && /* @__PURE__ */ D("p", {
256
+ }), n && /* @__PURE__ */ k("p", {
257
257
  className: M.description,
258
258
  children: n
259
259
  })]
260
260
  });
261
- return s ? /* @__PURE__ */ O("div", {
261
+ return s ? /* @__PURE__ */ A("div", {
262
262
  className: [
263
263
  M.item,
264
264
  M["item--vertical"],
265
265
  o ?? ""
266
266
  ].filter(Boolean).join(" "),
267
- children: [/* @__PURE__ */ O("div", {
267
+ children: [/* @__PURE__ */ A("div", {
268
268
  className: M.rail,
269
- children: [c, !a && /* @__PURE__ */ D("div", { className: M.connectorVertical })]
269
+ children: [c, !a && /* @__PURE__ */ k("div", { className: M.connectorVertical })]
270
270
  }), l]
271
- }) : /* @__PURE__ */ O("div", {
271
+ }) : /* @__PURE__ */ A("div", {
272
272
  className: [
273
273
  M.item,
274
274
  M["item--horizontal"],
275
275
  o ?? ""
276
276
  ].filter(Boolean).join(" "),
277
- children: [/* @__PURE__ */ O("div", {
277
+ children: [/* @__PURE__ */ A("div", {
278
278
  className: M.topRow,
279
- children: [c, !a && /* @__PURE__ */ D("div", { className: M.connectorHorizontal })]
279
+ children: [c, !a && /* @__PURE__ */ k("div", { className: M.connectorHorizontal })]
280
280
  }), l]
281
281
  });
282
- }, qt = {
282
+ }, Jt = {
283
283
  separator: "_separator_pcfo8_1",
284
284
  line: "_line_pcfo8_9",
285
285
  overline: "_overline_pcfo8_19",
286
286
  badge: "_badge_pcfo8_31",
287
287
  iconWrap: "_iconWrap_pcfo8_37"
288
- }, Jt = ({ children: t, label: n, className: r }) => /* @__PURE__ */ O("div", {
289
- className: [qt.separator, r ?? ""].filter(Boolean).join(" "),
288
+ }, Yt = ({ children: t, label: n, className: r }) => /* @__PURE__ */ A("div", {
289
+ className: [Jt.separator, r ?? ""].filter(Boolean).join(" "),
290
290
  role: "separator",
291
291
  children: [
292
- /* @__PURE__ */ D(e, { className: qt.line }),
293
- t ?? (n && /* @__PURE__ */ D("span", {
294
- className: qt.overline,
292
+ /* @__PURE__ */ k(e, { className: Jt.line }),
293
+ t ?? (n && /* @__PURE__ */ k("span", {
294
+ className: Jt.overline,
295
295
  children: n
296
296
  })),
297
- /* @__PURE__ */ D(e, { className: qt.line })
297
+ /* @__PURE__ */ k(e, { className: Jt.line })
298
298
  ]
299
- }), Yt = {
299
+ });
300
+ //#endregion
301
+ //#region src/lib/useChartTokens.ts
302
+ function N(e) {
303
+ let [, t] = Re(0);
304
+ return Le(() => {
305
+ if (typeof document > "u") return;
306
+ t((e) => e + 1);
307
+ let n = new MutationObserver(() => t((e) => e + 1)), r = /* @__PURE__ */ new Set([document.documentElement]);
308
+ for (let t = e.current; t; t = t.parentElement) r.add(t);
309
+ return r.forEach((e) => n.observe(e, {
310
+ attributes: !0,
311
+ attributeFilter: ["class"]
312
+ })), () => n.disconnect();
313
+ }, [e]), (t) => {
314
+ if (typeof window > "u") return;
315
+ let n = e.current ?? document.documentElement;
316
+ return getComputedStyle(n).getPropertyValue(t).trim() || void 0;
317
+ };
318
+ }
319
+ //#endregion
320
+ //#region src/lib/chartPalette.ts
321
+ var Xt = [
322
+ "#ff4700",
323
+ "#5b92dd",
324
+ "#47a8a2",
325
+ "#9179d6",
326
+ "#dca84f",
327
+ "#12b76a"
328
+ ], Zt = {
300
329
  tooltip: "_tooltip_ic16u_3",
301
330
  title: "_title_ic16u_23",
302
331
  row: "_row_ic16u_27",
303
332
  dot: "_dot_ic16u_34",
304
333
  label: "_label_ic16u_41",
305
334
  value: "_value_ic16u_42"
306
- }, Xt = ({ active: e, payload: t, label: n, formatter: r }) => !e || !t || t.length === 0 ? null : /* @__PURE__ */ O("div", {
307
- className: Yt.tooltip,
308
- children: [n !== void 0 && n !== "" && /* @__PURE__ */ D("span", {
309
- className: Yt.title,
335
+ }, Qt = ({ active: e, payload: t, label: n, formatter: r }) => !e || !t || t.length === 0 ? null : /* @__PURE__ */ A("div", {
336
+ className: Zt.tooltip,
337
+ children: [n !== void 0 && n !== "" && /* @__PURE__ */ k("span", {
338
+ className: Zt.title,
310
339
  children: n
311
- }), t.map((e, t) => /* @__PURE__ */ O("div", {
312
- className: Yt.row,
340
+ }), t.map((e, t) => /* @__PURE__ */ A("div", {
341
+ className: Zt.row,
313
342
  children: [
314
- /* @__PURE__ */ D("span", {
315
- className: Yt.dot,
343
+ /* @__PURE__ */ k("span", {
344
+ className: Zt.dot,
316
345
  style: { background: e.color ?? e.payload?.fill ?? e.fill }
317
346
  }),
318
- /* @__PURE__ */ D("span", {
319
- className: Yt.label,
347
+ /* @__PURE__ */ k("span", {
348
+ className: Zt.label,
320
349
  children: e.name
321
350
  }),
322
- /* @__PURE__ */ D("span", {
323
- className: Yt.value,
351
+ /* @__PURE__ */ k("span", {
352
+ className: Zt.value,
324
353
  children: r ? r(e.value, e.name) : e.value
325
354
  })
326
355
  ]
327
356
  }, t))]
328
- }), Zt = {
357
+ }), $t = {
329
358
  chart: "_chart_1s6lv_2",
330
359
  legend: "_legend_1s6lv_31",
331
360
  legendItem: "_legendItem_1s6lv_41",
332
361
  legendSwatch: "_legendSwatch_1s6lv_46"
333
- }, Qt = {
362
+ }, en = {
334
363
  sm: 180,
335
364
  md: 240,
336
365
  lg: 320,
337
366
  xl: 420
338
- }, N = 6, $t = (e) => typeof window < "u" && getComputedStyle(document.documentElement).getPropertyValue(e).trim() || void 0, en = (e) => {
367
+ }, P = 6, tn = (e) => {
339
368
  if (e <= 0) return 1;
340
369
  let t = 10 ** Math.floor(Math.log10(e)), n = e / t;
341
370
  return (n <= 1 ? 1 : n <= 2 ? 2 : n <= 5 ? 5 : 10) * t;
342
- }, tn = ({ data: e, variant: t = "default", size: n = "md", seriesLabels: r = ["Value", "Value 2"], className: i }) => {
343
- let [a, o] = E.useState(null), [s, c] = E.useState(null);
344
- T();
345
- let l = $t("--color-chart-2") ?? "#2e90fa", u = $t("--color-chart-5") ?? "#78716a", d = $t("--color-chart-1") ?? "#ff4700", f = [
371
+ }, nn = ({ data: e, variant: t = "default", size: n = "md", seriesLabels: r = ["Value", "Value 2"], className: i }) => {
372
+ let [a, o] = O.useState(null), [s, c] = O.useState(null), l = O.useRef(null), u = N(l), d = u("--color-chart-2") ?? "#5b92dd", f = u("--color-chart-5") ?? "#dca84f", p = u("--color-chart-1") ?? "#ff4700", m = [
346
373
  1,
347
374
  2,
348
375
  3,
349
376
  4,
350
377
  5,
351
378
  6
352
- ].map((e) => $t(`--color-chart-${e}`) ?? "#ff4700"), p = $t("--color-border-subtle") ?? "#e5e4e7", m = $t("--color-fg-muted") ?? "#6b6375", h = t === "multiple" || t === "stacked", g = h && e.some((e) => e.value2 !== void 0), _ = $t("--color-bg-canvas") ?? "#fafaf9", v = en(Math.max(1, ...e.map((e) => Math.abs(e.value)))), y = [
353
- -v,
354
- -v / 2,
379
+ ].map((e) => u(`--color-chart-${e}`) ?? Xt[e - 1]), h = u("--color-border-subtle") ?? "#e7e5e1", g = u("--color-fg-muted") ?? "#78716a", _ = t === "multiple" || t === "stacked", v = _ && e.some((e) => e.value2 !== void 0), y = u("--color-bg-canvas") ?? "#fafaf9", b = tn(Math.max(1, ...e.map((e) => Math.abs(e.value)))), x = [
380
+ -b,
381
+ -b / 2,
355
382
  0,
356
- v / 2,
357
- v
358
- ], ee = /* @__PURE__ */ D(jt, {
383
+ b / 2,
384
+ b
385
+ ], S = /* @__PURE__ */ k(Mt, {
359
386
  cursor: !1,
360
- content: /* @__PURE__ */ D(Xt, {}),
387
+ content: /* @__PURE__ */ k(Qt, {}),
361
388
  wrapperStyle: { zIndex: 50 },
362
389
  position: s ? { y: s.y } : void 0
363
- }), te = (n) => t === "active" ? f[n % f.length] : t === "negative" && e[n].value < 0 ? d : l, b = (e) => a !== null && e !== a ? .45 : 1, x = (e, t, n, r, i, a) => ({
390
+ }), C = (n) => t === "active" ? m[n % m.length] : t === "negative" && e[n].value < 0 ? p : d, w = (e) => a !== null && e !== a ? .45 : 1, T = (e, t, n, r, i, a) => ({
364
391
  x: e ? t + r : t + r / 2,
365
392
  y: e ? n + i / 2 : a < 0 ? n + i : n
366
- }), S = (n) => (r) => {
367
- let { x: i, y: a, width: o, height: s, fill: c, radius: u } = r, d = Number(e[r.index]?.[n] ?? 0), { x: f, y: p } = x(t === "horizontal", i, a, o, s, d);
368
- return t === "stacked" && n === "value" ? /* @__PURE__ */ D(kt, {
393
+ }), ee = (n) => (r) => {
394
+ let { x: i, y: a, width: o, height: s, fill: c, radius: l } = r, u = Number(e[r.index]?.[n] ?? 0), { x: f, y: p } = T(t === "horizontal", i, a, o, s, u);
395
+ return t === "stacked" && n === "value" ? /* @__PURE__ */ k(kt, {
369
396
  x: i,
370
397
  y: a,
371
398
  width: o,
372
399
  height: s,
373
400
  fill: c,
374
- radius: u
375
- }) : /* @__PURE__ */ O("g", { children: [
376
- /* @__PURE__ */ D(kt, {
401
+ radius: l
402
+ }) : /* @__PURE__ */ A("g", { children: [
403
+ /* @__PURE__ */ k(kt, {
377
404
  x: i,
378
405
  y: a,
379
406
  width: o,
380
407
  height: s,
381
408
  fill: c,
382
- radius: u
409
+ radius: l
383
410
  }),
384
- /* @__PURE__ */ D("circle", {
411
+ /* @__PURE__ */ k("circle", {
385
412
  cx: f,
386
413
  cy: p,
387
414
  r: 4,
388
415
  fill: c,
389
- stroke: _,
416
+ stroke: y,
390
417
  strokeWidth: 1.5
391
418
  }),
392
- t === "stacked" && n === "value2" && /* @__PURE__ */ D("circle", {
419
+ t === "stacked" && n === "value2" && /* @__PURE__ */ k("circle", {
393
420
  cx: i + o / 2,
394
421
  cy: a + s,
395
422
  r: 4,
396
- fill: l,
397
- stroke: _,
423
+ fill: d,
424
+ stroke: y,
398
425
  strokeWidth: 1.5
399
426
  })
400
427
  ] });
401
- }, C = (n) => (r, i) => {
428
+ }, E = (n) => (r, i) => {
402
429
  o(i);
403
430
  let a = Number(e[i]?.[n] ?? 0);
404
- c(x(t === "horizontal", r.x, r.y, r.width, r.height, a));
405
- }, ne = () => {
431
+ c(T(t === "horizontal", r.x, r.y, r.width, r.height, a));
432
+ }, te = () => {
406
433
  o(null), c(null);
407
434
  };
408
- return /* @__PURE__ */ D("div", {
409
- className: [Zt.chart, i ?? ""].filter(Boolean).join(" "),
410
- children: /* @__PURE__ */ D(A, {
435
+ return /* @__PURE__ */ k("div", {
436
+ ref: l,
437
+ className: [$t.chart, i ?? ""].filter(Boolean).join(" "),
438
+ children: /* @__PURE__ */ k(At, {
411
439
  width: "100%",
412
- height: Qt[n],
413
- children: /* @__PURE__ */ O(ht, {
440
+ height: en[n],
441
+ children: /* @__PURE__ */ A(mt, {
414
442
  data: e,
415
443
  layout: t === "horizontal" ? "vertical" : "horizontal",
416
444
  margin: {
@@ -420,125 +448,125 @@ var Pt = {
420
448
  left: t === "horizontal" ? 8 : 0
421
449
  },
422
450
  children: [
423
- /* @__PURE__ */ D(gt, {
451
+ /* @__PURE__ */ k(ht, {
424
452
  strokeDasharray: "3 3",
425
- stroke: p,
453
+ stroke: h,
426
454
  horizontal: !0,
427
455
  vertical: t === "horizontal"
428
456
  }),
429
- t === "horizontal" ? /* @__PURE__ */ O(Be, { children: [/* @__PURE__ */ D(Mt, {
457
+ t === "horizontal" ? /* @__PURE__ */ A(ze, { children: [/* @__PURE__ */ k(Nt, {
430
458
  type: "number",
431
- stroke: m,
459
+ stroke: g,
432
460
  fontSize: 12,
433
461
  tickLine: !1,
434
462
  axisLine: !1
435
- }), /* @__PURE__ */ D(Nt, {
463
+ }), /* @__PURE__ */ k(Pt, {
436
464
  type: "category",
437
465
  dataKey: "label",
438
- stroke: m,
466
+ stroke: g,
439
467
  fontSize: 12,
440
468
  tickLine: !1,
441
469
  axisLine: !1,
442
470
  width: 64
443
- })] }) : /* @__PURE__ */ D(Mt, {
471
+ })] }) : /* @__PURE__ */ k(Nt, {
444
472
  dataKey: "label",
445
- stroke: m,
473
+ stroke: g,
446
474
  fontSize: 12,
447
475
  tickLine: !1,
448
476
  axisLine: !1,
449
477
  interval: 0
450
478
  }),
451
- t === "negative" && /* @__PURE__ */ D(Nt, {
479
+ t === "negative" && /* @__PURE__ */ k(Pt, {
452
480
  hide: !0,
453
- domain: [-v, v],
454
- ticks: y
481
+ domain: [-b, b],
482
+ ticks: x
455
483
  }),
456
- ee,
457
- h && /* @__PURE__ */ D(_t, { content: (e) => /* @__PURE__ */ D("ul", {
458
- className: Zt.legend,
459
- children: e.payload?.map((e) => /* @__PURE__ */ O("li", {
460
- className: Zt.legendItem,
461
- children: [/* @__PURE__ */ D("span", {
462
- className: Zt.legendSwatch,
484
+ S,
485
+ _ && /* @__PURE__ */ k(_t, { content: (e) => /* @__PURE__ */ k("ul", {
486
+ className: $t.legend,
487
+ children: e.payload?.map((e) => /* @__PURE__ */ A("li", {
488
+ className: $t.legendItem,
489
+ children: [/* @__PURE__ */ k("span", {
490
+ className: $t.legendSwatch,
463
491
  style: { background: e.color }
464
- }), /* @__PURE__ */ D("span", {
492
+ }), /* @__PURE__ */ k("span", {
465
493
  style: { color: e.color },
466
494
  children: e.value
467
495
  })]
468
496
  }, e.value))
469
497
  }) }),
470
- h ? /* @__PURE__ */ O(Be, { children: [/* @__PURE__ */ D(mt, {
498
+ _ ? /* @__PURE__ */ A(ze, { children: [/* @__PURE__ */ k(pt, {
471
499
  dataKey: "value",
472
500
  name: r[0] ?? "Value",
473
- fill: l,
501
+ fill: d,
474
502
  stackId: t === "stacked" ? "stack" : void 0,
475
503
  radius: t === "stacked" ? [
476
504
  0,
477
505
  0,
478
- N,
479
- N
506
+ P,
507
+ P
480
508
  ] : [
481
- N,
482
- N,
483
- N,
484
- N
509
+ P,
510
+ P,
511
+ P,
512
+ P
485
513
  ],
486
514
  isAnimationActive: !1,
487
- activeBar: S("value"),
488
- onMouseEnter: C("value"),
489
- onMouseLeave: ne,
490
- children: e.map((e, t) => /* @__PURE__ */ D(k, {
491
- fill: l,
515
+ activeBar: ee("value"),
516
+ onMouseEnter: E("value"),
517
+ onMouseLeave: te,
518
+ children: e.map((e, t) => /* @__PURE__ */ k(gt, {
519
+ fill: d,
492
520
  fillOpacity: a !== null && t !== a ? .45 : 1
493
521
  }, t))
494
- }), g && /* @__PURE__ */ D(mt, {
522
+ }), v && /* @__PURE__ */ k(pt, {
495
523
  dataKey: "value2",
496
524
  name: r[1] ?? "Value 2",
497
- fill: u,
525
+ fill: f,
498
526
  stackId: t === "stacked" ? "stack" : void 0,
499
527
  radius: t === "stacked" ? [
500
- N,
501
- N,
528
+ P,
529
+ P,
502
530
  0,
503
531
  0
504
532
  ] : [
505
- N,
506
- N,
507
- N,
508
- N
533
+ P,
534
+ P,
535
+ P,
536
+ P
509
537
  ],
510
538
  isAnimationActive: !1,
511
- activeBar: S("value2"),
512
- onMouseEnter: C("value2"),
513
- onMouseLeave: ne,
514
- children: e.map((e, t) => /* @__PURE__ */ D(k, {
515
- fill: u,
539
+ activeBar: ee("value2"),
540
+ onMouseEnter: E("value2"),
541
+ onMouseLeave: te,
542
+ children: e.map((e, t) => /* @__PURE__ */ k(gt, {
543
+ fill: f,
516
544
  fillOpacity: a !== null && t !== a ? .45 : 1
517
545
  }, t))
518
- })] }) : /* @__PURE__ */ D(mt, {
546
+ })] }) : /* @__PURE__ */ k(pt, {
519
547
  dataKey: "value",
520
548
  name: "Value",
521
- fill: a === null ? l : te(a),
549
+ fill: a === null ? d : C(a),
522
550
  radius: [
523
- N,
524
- N,
525
- N,
526
- N
551
+ P,
552
+ P,
553
+ P,
554
+ P
527
555
  ],
528
556
  isAnimationActive: !1,
529
- activeBar: S("value"),
530
- onMouseEnter: C("value"),
531
- onMouseLeave: ne,
532
- children: e.map((e, t) => /* @__PURE__ */ D(k, {
533
- fill: te(t),
534
- fillOpacity: b(t)
557
+ activeBar: ee("value"),
558
+ onMouseEnter: E("value"),
559
+ onMouseLeave: te,
560
+ children: e.map((e, t) => /* @__PURE__ */ k(gt, {
561
+ fill: C(t),
562
+ fillOpacity: w(t)
535
563
  }, t))
536
564
  })
537
565
  ]
538
566
  })
539
567
  })
540
568
  });
541
- }, P = {
569
+ }, F = {
542
570
  row: "_row_5wjem_2",
543
571
  left: "_left_5wjem_16",
544
572
  logo: "_logo_5wjem_23",
@@ -564,133 +592,133 @@ var Pt = {
564
592
  changeRowLg: "_changeRowLg_5wjem_153",
565
593
  changeTextLg: "_changeTextLg_5wjem_158",
566
594
  chart: "_chart_5wjem_165"
567
- }, nn = (e) => Math.abs(e).toLocaleString("en-US", {
595
+ }, rn = (e) => Math.abs(e).toLocaleString("en-US", {
568
596
  style: "currency",
569
597
  currency: "USD"
570
- }), rn = ({ logo: e, symbol: t, name: n, price: r, change: i, formatAmount: a = nn, chart: o, periodLabel: s = "Last 6 months", onPeriodClick: c, className: l }) => {
571
- let u = i.amount >= 0, d = u ? ct : st, f = u ? "+" : "-", p = `${f}${a(i.amount)} (${f}${Math.abs(i.percent)}%)`, m = u ? P.trendUp : P.trendDown;
572
- return o ? /* @__PURE__ */ O("div", {
573
- className: [P.card, l ?? ""].filter(Boolean).join(" "),
598
+ }), an = ({ logo: e, symbol: t, name: n, price: r, change: i, formatAmount: a = rn, chart: o, periodLabel: s = "Last 6 months", onPeriodClick: c, className: l }) => {
599
+ let u = i.amount >= 0, d = u ? st : ot, f = u ? "+" : "-", p = `${f}${a(i.amount)} (${f}${Math.abs(i.percent)}%)`, m = u ? F.trendUp : F.trendDown;
600
+ return o ? /* @__PURE__ */ A("div", {
601
+ className: [F.card, l ?? ""].filter(Boolean).join(" "),
574
602
  children: [
575
- /* @__PURE__ */ O("div", {
576
- className: P.header,
577
- children: [/* @__PURE__ */ D(He, {
603
+ /* @__PURE__ */ A("div", {
604
+ className: F.header,
605
+ children: [/* @__PURE__ */ k(Ve, {
578
606
  size: 16,
579
- strokeWidth: w(16),
580
- className: P.headerIcon
581
- }), /* @__PURE__ */ D("span", {
582
- className: P.headerLabel,
607
+ strokeWidth: D(16),
608
+ className: F.headerIcon
609
+ }), /* @__PURE__ */ k("span", {
610
+ className: F.headerLabel,
583
611
  children: "Stock market"
584
612
  })]
585
613
  }),
586
- /* @__PURE__ */ O("div", {
587
- className: P.tickerRow,
588
- children: [/* @__PURE__ */ D("span", {
589
- className: P.logoLg,
614
+ /* @__PURE__ */ A("div", {
615
+ className: F.tickerRow,
616
+ children: [/* @__PURE__ */ k("span", {
617
+ className: F.logoLg,
590
618
  "aria-hidden": "true",
591
619
  children: e
592
- }), /* @__PURE__ */ O("div", {
593
- className: P.text,
594
- children: [/* @__PURE__ */ D("p", {
595
- className: P.symbol,
620
+ }), /* @__PURE__ */ A("div", {
621
+ className: F.text,
622
+ children: [/* @__PURE__ */ k("p", {
623
+ className: F.symbol,
596
624
  children: t
597
- }), /* @__PURE__ */ D("p", {
598
- className: P.name,
625
+ }), /* @__PURE__ */ k("p", {
626
+ className: F.name,
599
627
  children: n
600
628
  })]
601
629
  })]
602
630
  }),
603
- /* @__PURE__ */ O("div", {
604
- className: P.body,
605
- children: [/* @__PURE__ */ O("div", {
606
- className: P.priceRow,
607
- children: [/* @__PURE__ */ O("div", {
608
- className: P.priceGroup,
609
- children: [/* @__PURE__ */ D("p", {
610
- className: P.priceLg,
631
+ /* @__PURE__ */ A("div", {
632
+ className: F.body,
633
+ children: [/* @__PURE__ */ A("div", {
634
+ className: F.priceRow,
635
+ children: [/* @__PURE__ */ A("div", {
636
+ className: F.priceGroup,
637
+ children: [/* @__PURE__ */ k("p", {
638
+ className: F.priceLg,
611
639
  children: a(r)
612
- }), /* @__PURE__ */ O("div", {
613
- className: P.changeRowLg,
614
- children: [/* @__PURE__ */ D(d, {
640
+ }), /* @__PURE__ */ A("div", {
641
+ className: F.changeRowLg,
642
+ children: [/* @__PURE__ */ k(d, {
615
643
  size: 24,
616
- strokeWidth: w(24),
644
+ strokeWidth: D(24),
617
645
  className: m
618
- }), /* @__PURE__ */ D("span", {
619
- className: [P.changeTextLg, m].join(" "),
646
+ }), /* @__PURE__ */ k("span", {
647
+ className: [F.changeTextLg, m].join(" "),
620
648
  children: p
621
649
  })]
622
650
  })]
623
- }), /* @__PURE__ */ D(ge, {
651
+ }), /* @__PURE__ */ k(Te, {
624
652
  variant: "outline",
625
653
  size: "sm",
626
- rightIcon: /* @__PURE__ */ D(We, {
654
+ rightIcon: /* @__PURE__ */ k(Ue, {
627
655
  size: 16,
628
- strokeWidth: w(16)
656
+ strokeWidth: D(16)
629
657
  }),
630
658
  onClick: c,
631
659
  children: s
632
660
  })]
633
- }), /* @__PURE__ */ D(tn, {
661
+ }), /* @__PURE__ */ k(nn, {
634
662
  data: o,
635
- className: P.chart
663
+ className: F.chart
636
664
  })]
637
665
  })
638
666
  ]
639
- }) : /* @__PURE__ */ O("div", {
640
- className: [P.row, l ?? ""].filter(Boolean).join(" "),
641
- children: [/* @__PURE__ */ O("div", {
642
- className: P.left,
643
- children: [/* @__PURE__ */ D("span", {
644
- className: P.logo,
667
+ }) : /* @__PURE__ */ A("div", {
668
+ className: [F.row, l ?? ""].filter(Boolean).join(" "),
669
+ children: [/* @__PURE__ */ A("div", {
670
+ className: F.left,
671
+ children: [/* @__PURE__ */ k("span", {
672
+ className: F.logo,
645
673
  "aria-hidden": "true",
646
674
  children: e
647
- }), /* @__PURE__ */ O("div", {
648
- className: P.text,
649
- children: [/* @__PURE__ */ D("p", {
650
- className: P.symbol,
675
+ }), /* @__PURE__ */ A("div", {
676
+ className: F.text,
677
+ children: [/* @__PURE__ */ k("p", {
678
+ className: F.symbol,
651
679
  children: t
652
- }), /* @__PURE__ */ D("p", {
653
- className: P.name,
680
+ }), /* @__PURE__ */ k("p", {
681
+ className: F.name,
654
682
  children: n
655
683
  })]
656
684
  })]
657
- }), /* @__PURE__ */ O("div", {
658
- className: P.right,
659
- children: [/* @__PURE__ */ D("p", {
660
- className: P.price,
685
+ }), /* @__PURE__ */ A("div", {
686
+ className: F.right,
687
+ children: [/* @__PURE__ */ k("p", {
688
+ className: F.price,
661
689
  children: a(r)
662
- }), /* @__PURE__ */ O("div", {
663
- className: P.changeRow,
664
- children: [/* @__PURE__ */ D(d, {
690
+ }), /* @__PURE__ */ A("div", {
691
+ className: F.changeRow,
692
+ children: [/* @__PURE__ */ k(d, {
665
693
  size: 20,
666
- strokeWidth: w(20),
694
+ strokeWidth: D(20),
667
695
  className: m
668
- }), /* @__PURE__ */ D("span", {
669
- className: [P.changeText, m].join(" "),
696
+ }), /* @__PURE__ */ k("span", {
697
+ className: [F.changeText, m].join(" "),
670
698
  children: p
671
699
  })]
672
700
  })]
673
701
  })]
674
702
  });
675
- }, an = {
703
+ }, on = {
676
704
  tags: "_tags_acsad_1",
677
705
  remove: "_remove_acsad_8"
678
- }, on = ({ tags: e, onRemove: t, className: n }) => /* @__PURE__ */ D("div", {
679
- className: [an.tags, n ?? ""].filter(Boolean).join(" "),
680
- children: e.map((e, n) => /* @__PURE__ */ D(u, {
681
- rightIcon: t && /* @__PURE__ */ D("button", {
706
+ }, sn = ({ tags: e, onRemove: t, className: n }) => /* @__PURE__ */ k("div", {
707
+ className: [on.tags, n ?? ""].filter(Boolean).join(" "),
708
+ children: e.map((e, n) => /* @__PURE__ */ k(u, {
709
+ rightIcon: t && /* @__PURE__ */ k("button", {
682
710
  type: "button",
683
- className: an.remove,
711
+ className: on.remove,
684
712
  onClick: () => t(e, n),
685
713
  "aria-label": `Remove ${e}`,
686
- children: /* @__PURE__ */ D(dt, {
714
+ children: /* @__PURE__ */ k(ut, {
687
715
  size: 12,
688
- strokeWidth: w(12)
716
+ strokeWidth: D(12)
689
717
  })
690
718
  }),
691
719
  children: e
692
720
  }, e))
693
- }), F = {
721
+ }), I = {
694
722
  ticker: "_ticker_6xnxy_1",
695
723
  track: "_track_6xnxy_9",
696
724
  "ticker-scroll": "_ticker-scroll_6xnxy_1",
@@ -702,33 +730,33 @@ var Pt = {
702
730
  trendDown: "_trendDown_6xnxy_58",
703
731
  fadeLeft: "_fadeLeft_6xnxy_60",
704
732
  fadeRight: "_fadeRight_6xnxy_61"
705
- }, sn = (e) => `${e >= 0 ? "+" : ""}${e}%`, cn = ({ items: e, formatChange: t, ariaHidden: n }) => /* @__PURE__ */ D("div", {
706
- className: F.row,
733
+ }, cn = (e) => `${e >= 0 ? "+" : ""}${e}%`, ln = ({ items: e, formatChange: t, ariaHidden: n }) => /* @__PURE__ */ k("div", {
734
+ className: I.row,
707
735
  "aria-hidden": n,
708
736
  children: e.map((e, n) => {
709
- let r = e.changePercent >= 0, i = r ? ct : st, a = r ? F.trendUp : F.trendDown;
710
- return /* @__PURE__ */ O("div", {
711
- className: F.item,
737
+ let r = e.changePercent >= 0, i = r ? st : ot, a = r ? I.trendUp : I.trendDown;
738
+ return /* @__PURE__ */ A("div", {
739
+ className: I.item,
712
740
  children: [
713
- /* @__PURE__ */ D("span", {
714
- className: F.symbol,
741
+ /* @__PURE__ */ k("span", {
742
+ className: I.symbol,
715
743
  children: e.symbol
716
744
  }),
717
- /* @__PURE__ */ D(i, {
745
+ /* @__PURE__ */ k(i, {
718
746
  size: 14,
719
- strokeWidth: w(14),
747
+ strokeWidth: D(14),
720
748
  className: a
721
749
  }),
722
- /* @__PURE__ */ D("span", {
723
- className: [F.change, a].join(" "),
750
+ /* @__PURE__ */ k("span", {
751
+ className: [I.change, a].join(" "),
724
752
  children: t(e.changePercent)
725
753
  })
726
754
  ]
727
755
  }, `${e.symbol}-${n}`);
728
756
  })
729
- }), ln = ({ items: e, speed: t = 40, formatChange: n = sn, className: r }) => {
730
- let i = E.useRef(null), [a, o] = E.useState(20);
731
- return E.useEffect(() => {
757
+ }), un = ({ items: e, speed: t = 40, formatChange: n = cn, className: r }) => {
758
+ let i = O.useRef(null), [a, o] = O.useState(20);
759
+ return O.useEffect(() => {
732
760
  let e = i.current;
733
761
  if (!e) return;
734
762
  let n = e.firstElementChild;
@@ -740,33 +768,33 @@ var Pt = {
740
768
  r();
741
769
  let a = new ResizeObserver(r);
742
770
  return a.observe(n), () => a.disconnect();
743
- }, [e, t]), /* @__PURE__ */ O("div", {
744
- className: [F.ticker, r ?? ""].filter(Boolean).join(" "),
771
+ }, [e, t]), /* @__PURE__ */ A("div", {
772
+ className: [I.ticker, r ?? ""].filter(Boolean).join(" "),
745
773
  children: [
746
- /* @__PURE__ */ O("div", {
774
+ /* @__PURE__ */ A("div", {
747
775
  ref: i,
748
- className: F.track,
776
+ className: I.track,
749
777
  style: { "--ticker-duration": `${a}s` },
750
- children: [/* @__PURE__ */ D(cn, {
778
+ children: [/* @__PURE__ */ k(ln, {
751
779
  items: e,
752
780
  formatChange: n
753
- }), /* @__PURE__ */ D(cn, {
781
+ }), /* @__PURE__ */ k(ln, {
754
782
  items: e,
755
783
  formatChange: n,
756
784
  ariaHidden: !0
757
785
  })]
758
786
  }),
759
- /* @__PURE__ */ D("div", {
760
- className: F.fadeLeft,
787
+ /* @__PURE__ */ k("div", {
788
+ className: I.fadeLeft,
761
789
  "aria-hidden": "true"
762
790
  }),
763
- /* @__PURE__ */ D("div", {
764
- className: F.fadeRight,
791
+ /* @__PURE__ */ k("div", {
792
+ className: I.fadeRight,
765
793
  "aria-hidden": "true"
766
794
  })
767
795
  ]
768
796
  });
769
- }, I = {
797
+ }, L = {
770
798
  list: "_list_ovxee_1",
771
799
  row: "_row_ovxee_9",
772
800
  rowLast: "_rowLast_ovxee_18",
@@ -782,55 +810,55 @@ var Pt = {
782
810
  emptyIcon: "_emptyIcon_ovxee_86",
783
811
  emptyTitle: "_emptyTitle_ovxee_89",
784
812
  emptyDesc: "_emptyDesc_ovxee_96"
785
- }, un = (e) => `${e >= 0 ? "+" : "-"}${Math.abs(e).toLocaleString("en-US", {
813
+ }, dn = (e) => `${e >= 0 ? "+" : "-"}${Math.abs(e).toLocaleString("en-US", {
786
814
  style: "currency",
787
815
  currency: "USD"
788
- })}`, dn = ({ transactions: e, formatAmount: t = un, emptyTitle: n = "No transactions yet", emptyDescription: r = "Your activity will show up here.", className: i }) => e.length === 0 ? /* @__PURE__ */ O("div", {
789
- className: [I.empty, i ?? ""].filter(Boolean).join(" "),
816
+ })}`, fn = ({ transactions: e, formatAmount: t = dn, emptyTitle: n = "No transactions yet", emptyDescription: r = "Your activity will show up here.", className: i }) => e.length === 0 ? /* @__PURE__ */ A("div", {
817
+ className: [L.empty, i ?? ""].filter(Boolean).join(" "),
790
818
  children: [
791
- /* @__PURE__ */ D(it, {
819
+ /* @__PURE__ */ k(rt, {
792
820
  size: 24,
793
- strokeWidth: w(24),
794
- className: I.emptyIcon
821
+ strokeWidth: D(24),
822
+ className: L.emptyIcon
795
823
  }),
796
- /* @__PURE__ */ D("p", {
797
- className: I.emptyTitle,
824
+ /* @__PURE__ */ k("p", {
825
+ className: L.emptyTitle,
798
826
  children: n
799
827
  }),
800
- /* @__PURE__ */ D("p", {
801
- className: I.emptyDesc,
828
+ /* @__PURE__ */ k("p", {
829
+ className: L.emptyDesc,
802
830
  children: r
803
831
  })
804
832
  ]
805
- }) : /* @__PURE__ */ D("div", {
806
- className: [I.list, i ?? ""].filter(Boolean).join(" "),
833
+ }) : /* @__PURE__ */ k("div", {
834
+ className: [L.list, i ?? ""].filter(Boolean).join(" "),
807
835
  children: e.map((n, r) => {
808
836
  let i = n.amount >= 0;
809
- return /* @__PURE__ */ O("div", {
810
- className: [I.row, r === e.length - 1 ? I.rowLast : ""].filter(Boolean).join(" "),
811
- children: [/* @__PURE__ */ O("div", {
812
- className: I.left,
813
- children: [/* @__PURE__ */ D("span", {
814
- className: I.iconWrap,
837
+ return /* @__PURE__ */ A("div", {
838
+ className: [L.row, r === e.length - 1 ? L.rowLast : ""].filter(Boolean).join(" "),
839
+ children: [/* @__PURE__ */ A("div", {
840
+ className: L.left,
841
+ children: [/* @__PURE__ */ k("span", {
842
+ className: L.iconWrap,
815
843
  "aria-hidden": "true",
816
844
  children: n.icon
817
- }), /* @__PURE__ */ O("div", {
818
- className: I.info,
819
- children: [/* @__PURE__ */ D("p", {
820
- className: I.name,
845
+ }), /* @__PURE__ */ A("div", {
846
+ className: L.info,
847
+ children: [/* @__PURE__ */ k("p", {
848
+ className: L.name,
821
849
  children: n.name
822
- }), /* @__PURE__ */ D("p", {
823
- className: I.category,
850
+ }), /* @__PURE__ */ k("p", {
851
+ className: L.category,
824
852
  children: n.category
825
853
  })]
826
854
  })]
827
- }), /* @__PURE__ */ D("p", {
828
- className: [I.amount, i ? I.amountUp : I.amountDown].join(" "),
855
+ }), /* @__PURE__ */ k("p", {
856
+ className: [L.amount, i ? L.amountUp : L.amountDown].join(" "),
829
857
  children: t(n.amount)
830
858
  })]
831
859
  }, n.id ?? `${n.name}-${r}`);
832
860
  })
833
- }), L = {
861
+ }), R = {
834
862
  root: "_root_19qxp_1",
835
863
  rootAttributed: "_rootAttributed_19qxp_10",
836
864
  rootSimple: "_rootSimple_19qxp_18",
@@ -844,57 +872,57 @@ var Pt = {
844
872
  author: "_author_19qxp_77",
845
873
  authorText: "_authorText_19qxp_83",
846
874
  authorName: "_authorName_19qxp_91"
847
- }, fn = ({ quote: t, author: n, className: r }) => {
875
+ }, pn = ({ quote: t, author: n, className: r }) => {
848
876
  let i = !!n;
849
- return /* @__PURE__ */ O("div", {
877
+ return /* @__PURE__ */ A("div", {
850
878
  className: [
851
- L.root,
852
- i ? L.rootAttributed : L.rootSimple,
879
+ R.root,
880
+ i ? R.rootAttributed : R.rootSimple,
853
881
  r ?? ""
854
882
  ].filter(Boolean).join(" "),
855
- children: [/* @__PURE__ */ D(e, {
883
+ children: [/* @__PURE__ */ k(e, {
856
884
  orientation: "vertical",
857
- className: L.rail
858
- }), /* @__PURE__ */ O("div", {
859
- className: L.body,
885
+ className: R.rail
886
+ }), /* @__PURE__ */ A("div", {
887
+ className: R.body,
860
888
  children: [
861
- i && /* @__PURE__ */ D("span", {
862
- className: L.markRow,
889
+ i && /* @__PURE__ */ k("span", {
890
+ className: R.markRow,
863
891
  "aria-hidden": "true",
864
- children: /* @__PURE__ */ D(rt, {
892
+ children: /* @__PURE__ */ k(nt, {
865
893
  size: 12,
866
- strokeWidth: w(12),
867
- className: L.mark,
894
+ strokeWidth: D(12),
895
+ className: R.mark,
868
896
  fill: "currentColor"
869
897
  })
870
898
  }),
871
- /* @__PURE__ */ D("p", {
872
- className: i ? L.quoteAttributed : L.quoteSimple,
899
+ /* @__PURE__ */ k("p", {
900
+ className: i ? R.quoteAttributed : R.quoteSimple,
873
901
  children: i ? t : `"${t}"`
874
902
  }),
875
- i && /* @__PURE__ */ D("span", {
876
- className: [L.markRow, L.markRowEnd].join(" "),
903
+ i && /* @__PURE__ */ k("span", {
904
+ className: [R.markRow, R.markRowEnd].join(" "),
877
905
  "aria-hidden": "true",
878
- children: /* @__PURE__ */ D(rt, {
906
+ children: /* @__PURE__ */ k(nt, {
879
907
  size: 12,
880
- strokeWidth: w(12),
881
- className: L.mark,
908
+ strokeWidth: D(12),
909
+ className: R.mark,
882
910
  fill: "currentColor"
883
911
  })
884
912
  }),
885
- n && /* @__PURE__ */ O("div", {
886
- className: L.author,
887
- children: [/* @__PURE__ */ D(be, {
913
+ n && /* @__PURE__ */ A("div", {
914
+ className: R.author,
915
+ children: [/* @__PURE__ */ k(ae, {
888
916
  size: "sm",
889
917
  src: n.avatarSrc,
890
918
  alt: n.avatarAlt ?? n.name
891
- }), /* @__PURE__ */ O("p", {
892
- className: L.authorText,
893
- children: [/* @__PURE__ */ D("span", {
894
- className: L.authorName,
919
+ }), /* @__PURE__ */ A("p", {
920
+ className: R.authorText,
921
+ children: [/* @__PURE__ */ k("span", {
922
+ className: R.authorName,
895
923
  children: n.name
896
- }), /* @__PURE__ */ O("span", {
897
- className: L.authorRole,
924
+ }), /* @__PURE__ */ A("span", {
925
+ className: R.authorRole,
898
926
  children: [", ", n.role]
899
927
  })]
900
928
  })]
@@ -902,51 +930,51 @@ var Pt = {
902
930
  ]
903
931
  })]
904
932
  });
905
- }, pn = {
933
+ }, mn = {
906
934
  root: "_root_btuyr_1",
907
935
  rootLeft: "_rootLeft_btuyr_13",
908
936
  rootTop: "_rootTop_btuyr_19",
909
937
  ruleLeft: "_ruleLeft_btuyr_24",
910
938
  ruleTop: "_ruleTop_btuyr_31",
911
939
  text: "_text_btuyr_39"
912
- }, mn = ({ text: e, align: t = "left", className: n }) => /* @__PURE__ */ O("div", {
940
+ }, hn = ({ text: e, align: t = "left", className: n }) => /* @__PURE__ */ A("div", {
913
941
  className: [
914
- pn.root,
915
- t === "top" ? pn.rootTop : pn.rootLeft,
942
+ mn.root,
943
+ t === "top" ? mn.rootTop : mn.rootLeft,
916
944
  n ?? ""
917
945
  ].filter(Boolean).join(" "),
918
- children: [/* @__PURE__ */ D("span", {
919
- className: t === "top" ? pn.ruleTop : pn.ruleLeft,
946
+ children: [/* @__PURE__ */ k("span", {
947
+ className: t === "top" ? mn.ruleTop : mn.ruleLeft,
920
948
  "aria-hidden": "true"
921
- }), /* @__PURE__ */ D("p", {
922
- className: pn.text,
949
+ }), /* @__PURE__ */ k("p", {
950
+ className: mn.text,
923
951
  children: e
924
952
  })]
925
- }), hn = {
953
+ }), gn = {
926
954
  root: "_root_awxwk_1",
927
955
  imageWrap: "_imageWrap_awxwk_10",
928
956
  "root--large": "_root--large_awxwk_27",
929
957
  "root--small": "_root--small_awxwk_33",
930
958
  image: "_image_awxwk_10",
931
959
  caption: "_caption_awxwk_47"
932
- }, gn = ({ src: e, alt: t = "", size: n = "large", caption: r, className: i }) => /* @__PURE__ */ O("figure", {
960
+ }, _n = ({ src: e, alt: t = "", size: n = "large", caption: r, className: i }) => /* @__PURE__ */ A("figure", {
933
961
  className: [
934
- hn.root,
935
- hn[`root--${n}`],
962
+ gn.root,
963
+ gn[`root--${n}`],
936
964
  i ?? ""
937
965
  ].filter(Boolean).join(" "),
938
- children: [/* @__PURE__ */ D("span", {
939
- className: hn.imageWrap,
940
- children: /* @__PURE__ */ D("img", {
966
+ children: [/* @__PURE__ */ k("span", {
967
+ className: gn.imageWrap,
968
+ children: /* @__PURE__ */ k("img", {
941
969
  src: e,
942
970
  alt: t,
943
- className: hn.image
971
+ className: gn.image
944
972
  })
945
- }), r && /* @__PURE__ */ D("figcaption", {
946
- className: hn.caption,
973
+ }), r && /* @__PURE__ */ k("figcaption", {
974
+ className: gn.caption,
947
975
  children: r
948
976
  })]
949
- }), R = {
977
+ }), z = {
950
978
  root: "_root_uc5r9_1",
951
979
  rootCenter: "_rootCenter_uc5r9_10",
952
980
  rootLeft: "_rootLeft_uc5r9_15",
@@ -955,107 +983,107 @@ var Pt = {
955
983
  ctaRow: "_ctaRow_uc5r9_39",
956
984
  avatarBlock: "_avatarBlock_uc5r9_45",
957
985
  avatarsCaption: "_avatarsCaption_uc5r9_57"
958
- }, _n = ({ title: e, description: t, badgeLabel: n, primaryCta: r, secondaryCta: i, avatars: a, avatarsCaption: o, align: s = "center", className: c }) => {
986
+ }, vn = ({ title: e, description: t, badgeLabel: n, primaryCta: r, secondaryCta: i, avatars: a, avatarsCaption: o, align: s = "center", className: c }) => {
959
987
  let l = !!(r || i), d = !!(a && a.length > 0);
960
- return /* @__PURE__ */ O("div", {
988
+ return /* @__PURE__ */ A("div", {
961
989
  className: [
962
- R.root,
963
- s === "left" ? R.rootLeft : R.rootCenter,
990
+ z.root,
991
+ s === "left" ? z.rootLeft : z.rootCenter,
964
992
  c ?? ""
965
993
  ].filter(Boolean).join(" "),
966
994
  children: [
967
- n && /* @__PURE__ */ D(u, {
995
+ n && /* @__PURE__ */ k(u, {
968
996
  variant: "accent",
969
997
  emphasis: "subtle",
970
998
  children: n
971
999
  }),
972
- /* @__PURE__ */ D("p", {
973
- className: R.title,
1000
+ /* @__PURE__ */ k("p", {
1001
+ className: z.title,
974
1002
  children: e
975
1003
  }),
976
- t && /* @__PURE__ */ D("p", {
977
- className: R.description,
1004
+ t && /* @__PURE__ */ k("p", {
1005
+ className: z.description,
978
1006
  children: t
979
1007
  }),
980
- l && /* @__PURE__ */ O("div", {
981
- className: R.ctaRow,
982
- children: [r && /* @__PURE__ */ D(ge, {
1008
+ l && /* @__PURE__ */ A("div", {
1009
+ className: z.ctaRow,
1010
+ children: [r && /* @__PURE__ */ k(Te, {
983
1011
  variant: "primary",
984
1012
  onClick: r.onClick,
985
1013
  children: r.label
986
- }), i && /* @__PURE__ */ D(ge, {
1014
+ }), i && /* @__PURE__ */ k(Te, {
987
1015
  variant: "secondary",
988
- leftIcon: /* @__PURE__ */ D(tt, {
1016
+ leftIcon: /* @__PURE__ */ k(et, {
989
1017
  size: 16,
990
- strokeWidth: w(16),
1018
+ strokeWidth: D(16),
991
1019
  fill: "currentColor"
992
1020
  }),
993
1021
  onClick: i.onClick,
994
1022
  children: i.label
995
1023
  })]
996
1024
  }),
997
- d && /* @__PURE__ */ O("div", {
998
- className: R.avatarBlock,
999
- children: [/* @__PURE__ */ D(_e, {
1025
+ d && /* @__PURE__ */ A("div", {
1026
+ className: z.avatarBlock,
1027
+ children: [/* @__PURE__ */ k(pe, {
1000
1028
  size: "md",
1001
1029
  avatars: a
1002
- }), o && /* @__PURE__ */ D("p", {
1003
- className: R.avatarsCaption,
1030
+ }), o && /* @__PURE__ */ k("p", {
1031
+ className: z.avatarsCaption,
1004
1032
  children: o
1005
1033
  })]
1006
1034
  })
1007
1035
  ]
1008
1036
  });
1009
- }, vn = {
1037
+ }, yn = {
1010
1038
  root: "_root_5kajg_1",
1011
1039
  item: "_item_5kajg_12",
1012
1040
  marker: "_marker_5kajg_18",
1013
1041
  dot: "_dot_5kajg_26",
1014
1042
  label: "_label_5kajg_34"
1015
- }, yn = ({ items: e, style: t = "check", className: n }) => /* @__PURE__ */ D("ul", {
1016
- className: [vn.root, n ?? ""].filter(Boolean).join(" "),
1017
- children: e.map((e, n) => /* @__PURE__ */ O("li", {
1018
- className: vn.item,
1019
- children: [/* @__PURE__ */ O("span", {
1020
- className: vn.marker,
1043
+ }, bn = ({ items: e, style: t = "check", className: n }) => /* @__PURE__ */ k("ul", {
1044
+ className: [yn.root, n ?? ""].filter(Boolean).join(" "),
1045
+ children: e.map((e, n) => /* @__PURE__ */ A("li", {
1046
+ className: yn.item,
1047
+ children: [/* @__PURE__ */ A("span", {
1048
+ className: yn.marker,
1021
1049
  "aria-hidden": "true",
1022
1050
  children: [
1023
- t === "check" && /* @__PURE__ */ D(Ue, {
1051
+ t === "check" && /* @__PURE__ */ k(He, {
1024
1052
  size: 18,
1025
- strokeWidth: w(18)
1053
+ strokeWidth: D(18)
1026
1054
  }),
1027
- t === "arrow" && /* @__PURE__ */ D(Ve, {
1055
+ t === "arrow" && /* @__PURE__ */ k(Be, {
1028
1056
  size: 16,
1029
- strokeWidth: w(16)
1057
+ strokeWidth: D(16)
1030
1058
  }),
1031
- t === "bullet" && /* @__PURE__ */ D("span", { className: vn.dot })
1059
+ t === "bullet" && /* @__PURE__ */ k("span", { className: yn.dot })
1032
1060
  ]
1033
- }), /* @__PURE__ */ D("span", {
1034
- className: vn.label,
1061
+ }), /* @__PURE__ */ k("span", {
1062
+ className: yn.label,
1035
1063
  children: e
1036
1064
  })]
1037
1065
  }, n))
1038
- }), bn = {
1066
+ }), xn = {
1039
1067
  marquee: "_marquee_1pc4i_1",
1040
1068
  track: "_track_1pc4i_13",
1041
1069
  row: "_row_1pc4i_19",
1042
1070
  item: "_item_1pc4i_25",
1043
1071
  fadeLeft: "_fadeLeft_1pc4i_31",
1044
1072
  fadeRight: "_fadeRight_1pc4i_32"
1045
- }, xn = ({ items: e, gap: t, ariaHidden: n }) => /* @__PURE__ */ D("div", {
1046
- className: bn.row,
1073
+ }, Sn = ({ items: e, gap: t, ariaHidden: n }) => /* @__PURE__ */ k("div", {
1074
+ className: xn.row,
1047
1075
  style: {
1048
1076
  gap: t,
1049
1077
  paddingRight: t
1050
1078
  },
1051
1079
  "aria-hidden": n,
1052
- children: e.map((e, t) => /* @__PURE__ */ D("div", {
1053
- className: bn.item,
1080
+ children: e.map((e, t) => /* @__PURE__ */ k("div", {
1081
+ className: xn.item,
1054
1082
  children: e
1055
1083
  }, t))
1056
- }), Sn = ({ items: e, speed: t = 40, gap: n, className: r }) => {
1057
- let i = E.useRef(null), a = E.useRef(0), o = E.useRef(0), s = E.useRef(!1);
1058
- return E.useEffect(() => {
1084
+ }), Cn = ({ items: e, speed: t = 40, gap: n, className: r }) => {
1085
+ let i = O.useRef(null), a = O.useRef(0), o = O.useRef(0), s = O.useRef(!1);
1086
+ return O.useEffect(() => {
1059
1087
  let e = i.current?.firstElementChild;
1060
1088
  if (!e) return;
1061
1089
  let t = () => {
@@ -1064,7 +1092,7 @@ var Pt = {
1064
1092
  t();
1065
1093
  let n = new ResizeObserver(t);
1066
1094
  return n.observe(e), () => n.disconnect();
1067
- }, [e, n]), E.useEffect(() => {
1095
+ }, [e, n]), O.useEffect(() => {
1068
1096
  let e = i.current;
1069
1097
  if (!e || window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
1070
1098
  let n, r = performance.now(), c = () => {
@@ -1074,8 +1102,8 @@ var Pt = {
1074
1102
  d > 0 && (o.current = (o.current + u * l) % d, e.style.transform = `translateX(-${o.current}px)`), n = setTimeout(c, 16);
1075
1103
  };
1076
1104
  return n = setTimeout(c, 16), () => clearTimeout(n);
1077
- }, [t]), /* @__PURE__ */ O("div", {
1078
- className: [bn.marquee, r ?? ""].filter(Boolean).join(" "),
1105
+ }, [t]), /* @__PURE__ */ A("div", {
1106
+ className: [xn.marquee, r ?? ""].filter(Boolean).join(" "),
1079
1107
  onMouseEnter: () => {
1080
1108
  s.current = !0;
1081
1109
  },
@@ -1083,29 +1111,29 @@ var Pt = {
1083
1111
  s.current = !1;
1084
1112
  },
1085
1113
  children: [
1086
- /* @__PURE__ */ O("div", {
1114
+ /* @__PURE__ */ A("div", {
1087
1115
  ref: i,
1088
- className: bn.track,
1089
- children: [/* @__PURE__ */ D(xn, {
1116
+ className: xn.track,
1117
+ children: [/* @__PURE__ */ k(Sn, {
1090
1118
  items: e,
1091
1119
  gap: n
1092
- }), /* @__PURE__ */ D(xn, {
1120
+ }), /* @__PURE__ */ k(Sn, {
1093
1121
  items: e,
1094
1122
  gap: n,
1095
1123
  ariaHidden: !0
1096
1124
  })]
1097
1125
  }),
1098
- /* @__PURE__ */ D("div", {
1099
- className: bn.fadeLeft,
1126
+ /* @__PURE__ */ k("div", {
1127
+ className: xn.fadeLeft,
1100
1128
  "aria-hidden": "true"
1101
1129
  }),
1102
- /* @__PURE__ */ D("div", {
1103
- className: bn.fadeRight,
1130
+ /* @__PURE__ */ k("div", {
1131
+ className: xn.fadeRight,
1104
1132
  "aria-hidden": "true"
1105
1133
  })
1106
1134
  ]
1107
1135
  });
1108
- }, Cn = {
1136
+ }, wn = {
1109
1137
  root: "_root_17a1b_1",
1110
1138
  numRow: "_numRow_17a1b_9",
1111
1139
  value: "_value_17a1b_15",
@@ -1113,32 +1141,32 @@ var Pt = {
1113
1141
  trendUp: "_trendUp_17a1b_35",
1114
1142
  trendDown: "_trendDown_17a1b_39",
1115
1143
  label: "_label_17a1b_43"
1116
- }, wn = ({ value: e, label: t, trend: n, className: r }) => {
1117
- let i = n !== void 0, a = i && n >= 0, o = a ? ct : st;
1118
- return /* @__PURE__ */ O("div", {
1119
- className: [Cn.root, r ?? ""].filter(Boolean).join(" "),
1120
- children: [/* @__PURE__ */ O("div", {
1121
- className: Cn.numRow,
1122
- children: [/* @__PURE__ */ D("p", {
1123
- className: Cn.value,
1144
+ }, Tn = ({ value: e, label: t, trend: n, className: r }) => {
1145
+ let i = n !== void 0, a = i && n >= 0, o = a ? st : ot;
1146
+ return /* @__PURE__ */ A("div", {
1147
+ className: [wn.root, r ?? ""].filter(Boolean).join(" "),
1148
+ children: [/* @__PURE__ */ A("div", {
1149
+ className: wn.numRow,
1150
+ children: [/* @__PURE__ */ k("p", {
1151
+ className: wn.value,
1124
1152
  children: e
1125
- }), i && /* @__PURE__ */ O("span", {
1126
- className: [Cn.trend, a ? Cn.trendUp : Cn.trendDown].join(" "),
1153
+ }), i && /* @__PURE__ */ A("span", {
1154
+ className: [wn.trend, a ? wn.trendUp : wn.trendDown].join(" "),
1127
1155
  children: [
1128
- /* @__PURE__ */ D(o, {
1156
+ /* @__PURE__ */ k(o, {
1129
1157
  size: 24,
1130
- strokeWidth: w(24)
1158
+ strokeWidth: D(24)
1131
1159
  }),
1132
1160
  Math.abs(n),
1133
1161
  "%"
1134
1162
  ]
1135
1163
  })]
1136
- }), /* @__PURE__ */ D("p", {
1137
- className: Cn.label,
1164
+ }), /* @__PURE__ */ k("p", {
1165
+ className: wn.label,
1138
1166
  children: t
1139
1167
  })]
1140
1168
  });
1141
- }, z = {
1169
+ }, B = {
1142
1170
  root: "_root_scbx4_1",
1143
1171
  header: "_header_scbx4_13",
1144
1172
  label: "_label_scbx4_21",
@@ -1149,59 +1177,59 @@ var Pt = {
1149
1177
  collapseInner: "_collapseInner_scbx4_78",
1150
1178
  navLinks: "_navLinks_scbx4_91",
1151
1179
  navLink: "_navLink_scbx4_91"
1152
- }, Tn = ({ label: t, links: n, ctaLabel: r = "Get started", onCtaClick: i, open: a, defaultOpen: o = !1, onOpenChange: s, className: c }) => {
1153
- let l = a !== void 0, [u, d] = E.useState(o), f = l ? a : u, p = () => {
1180
+ }, En = ({ label: t, links: n, ctaLabel: r = "Get started", onCtaClick: i, open: a, defaultOpen: o = !1, onOpenChange: s, className: c }) => {
1181
+ let l = a !== void 0, [u, d] = O.useState(o), f = l ? a : u, p = () => {
1154
1182
  let e = !f;
1155
1183
  l || d(e), s?.(e);
1156
- }, m = E.useRef(null), [h, g] = E.useState(0);
1157
- return E.useEffect(() => {
1184
+ }, m = O.useRef(null), [h, g] = O.useState(0);
1185
+ return O.useEffect(() => {
1158
1186
  let e = m.current;
1159
1187
  if (!e) return;
1160
1188
  let t = () => g(e.scrollHeight);
1161
1189
  t();
1162
1190
  let n = new ResizeObserver(t);
1163
1191
  return n.observe(e), () => n.disconnect();
1164
- }, [n, r]), /* @__PURE__ */ O("div", {
1165
- className: [z.root, c ?? ""].filter(Boolean).join(" "),
1166
- children: [/* @__PURE__ */ O("div", {
1167
- className: z.header,
1168
- children: [/* @__PURE__ */ D("p", {
1169
- className: z.label,
1192
+ }, [n, r]), /* @__PURE__ */ A("div", {
1193
+ className: [B.root, c ?? ""].filter(Boolean).join(" "),
1194
+ children: [/* @__PURE__ */ A("div", {
1195
+ className: B.header,
1196
+ children: [/* @__PURE__ */ k("p", {
1197
+ className: B.label,
1170
1198
  children: t
1171
- }), /* @__PURE__ */ D("button", {
1199
+ }), /* @__PURE__ */ k("button", {
1172
1200
  type: "button",
1173
- className: z.toggle,
1201
+ className: B.toggle,
1174
1202
  onClick: p,
1175
1203
  "aria-expanded": f,
1176
1204
  "aria-label": f ? "Close menu" : "Open menu",
1177
- children: D(f ? dt : Qe, {
1205
+ children: k(f ? ut : Ze, {
1178
1206
  size: 16,
1179
- strokeWidth: w(16)
1207
+ strokeWidth: D(16)
1180
1208
  })
1181
1209
  })]
1182
- }), /* @__PURE__ */ D("div", {
1183
- className: [z.collapse, f ? z.collapseOpen : ""].filter(Boolean).join(" "),
1210
+ }), /* @__PURE__ */ k("div", {
1211
+ className: [B.collapse, f ? B.collapseOpen : ""].filter(Boolean).join(" "),
1184
1212
  style: { maxHeight: f ? `${h}px` : "0px" },
1185
1213
  "aria-hidden": !f,
1186
- children: /* @__PURE__ */ O("div", {
1214
+ children: /* @__PURE__ */ A("div", {
1187
1215
  ref: m,
1188
- className: z.collapseInner,
1216
+ className: B.collapseInner,
1189
1217
  children: [
1190
- /* @__PURE__ */ D("nav", {
1191
- className: z.navLinks,
1218
+ /* @__PURE__ */ k("nav", {
1219
+ className: B.navLinks,
1192
1220
  "aria-label": t,
1193
- children: n.map((e) => /* @__PURE__ */ D("a", {
1221
+ children: n.map((e) => /* @__PURE__ */ k("a", {
1194
1222
  href: e.href,
1195
1223
  onClick: e.onClick,
1196
- className: z.navLink,
1224
+ className: B.navLink,
1197
1225
  tabIndex: f ? void 0 : -1,
1198
1226
  children: e.label
1199
1227
  }, e.label))
1200
1228
  }),
1201
- /* @__PURE__ */ D(e, { className: z.fullWidth }),
1202
- /* @__PURE__ */ D(ge, {
1229
+ /* @__PURE__ */ k(e, { className: B.fullWidth }),
1230
+ /* @__PURE__ */ k(Te, {
1203
1231
  variant: "primary",
1204
- className: z.fullWidth,
1232
+ className: B.fullWidth,
1205
1233
  onClick: i,
1206
1234
  tabIndex: f ? void 0 : -1,
1207
1235
  children: r
@@ -1210,38 +1238,38 @@ var Pt = {
1210
1238
  })
1211
1239
  })]
1212
1240
  });
1213
- }, En = {
1241
+ }, Dn = {
1214
1242
  root: "_root_lrpdp_1",
1215
1243
  "root--sm": "_root--sm_lrpdp_14",
1216
1244
  "root--md": "_root--md_lrpdp_18",
1217
1245
  "root--lg": "_root--lg_lrpdp_22",
1218
1246
  defaultMark: "_defaultMark_lrpdp_27"
1219
- }, Dn = {
1247
+ }, On = {
1220
1248
  sm: 14,
1221
1249
  md: 16,
1222
1250
  lg: 18
1223
- }, On = ({ size: e = "md", logo: t, label: n, className: r }) => {
1224
- let i = Dn[e], a = E.isValidElement(t) ? E.cloneElement(t, {
1251
+ }, kn = ({ size: e = "md", logo: t, label: n, className: r }) => {
1252
+ let i = On[e], a = O.isValidElement(t) ? O.cloneElement(t, {
1225
1253
  size: i,
1226
- strokeWidth: w(i)
1227
- }) : t ?? /* @__PURE__ */ D("img", {
1254
+ strokeWidth: D(i)
1255
+ }) : t ?? /* @__PURE__ */ k("img", {
1228
1256
  src: "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Brands'%3e%3cg%20id='Vector'%3e%3cpath%20d='M0%206.54545C0%202.9305%202.9305%200%206.54545%200H17.4545C21.0695%200%2024%202.9305%2024%206.54545V17.4545C24%2021.0695%2021.0695%2024%2017.4545%2024H6.54545C2.9305%2024%200%2021.0695%200%2017.4545V6.54545Z'%20fill='%23FF4700'/%3e%3cpath%20d='M12.0851%2016.2829C11.3811%2016.2829%2010.7731%2016.1589%2010.2611%2015.9109C9.74909%2015.6629%209.34509%2015.3189%209.04909%2014.8789C8.76109%2014.4309%208.59309%2013.9109%208.54509%2013.3189L10.1291%2013.2229C10.1771%2013.5909%2010.2811%2013.9029%2010.4411%2014.1589C10.6091%2014.4149%2010.8291%2014.6109%2011.1011%2014.7469C11.3811%2014.8749%2011.7171%2014.9389%2012.1091%2014.9389C12.4451%2014.9389%2012.7291%2014.8989%2012.9611%2014.8189C13.2011%2014.7309%2013.3811%2014.6069%2013.5011%2014.4469C13.6291%2014.2789%2013.6931%2014.0749%2013.6931%2013.8349C13.6931%2013.6189%2013.6411%2013.4269%2013.5371%2013.2589C13.4331%2013.0829%2013.2331%2012.9269%2012.9371%2012.7909C12.6411%2012.6469%2012.2011%2012.5069%2011.6171%2012.3709C10.9131%2012.2109%2010.3491%2012.0309%209.92509%2011.8309C9.50109%2011.6229%209.19309%2011.3669%209.00109%2011.0629C8.80909%2010.7509%208.71309%2010.3629%208.71309%209.89891C8.71309%209.40291%208.83709%208.96691%209.08509%208.59091C9.33309%208.20691%209.68509%207.91091%2010.1411%207.70291C10.5971%207.48691%2011.1451%207.37891%2011.7851%207.37891C12.4651%207.37891%2013.0411%207.50291%2013.5131%207.75091C13.9851%207.99091%2014.3571%208.32291%2014.6291%208.74691C14.9011%209.17091%2015.0691%209.65891%2015.1331%2010.2109L13.5611%2010.2829C13.5211%209.97091%2013.4251%209.69891%2013.2731%209.46691C13.1291%209.23491%2012.9291%209.05491%2012.6731%208.92691C12.4251%208.79091%2012.1211%208.72291%2011.7611%208.72291C11.3131%208.72291%2010.9571%208.82691%2010.6931%209.03491C10.4371%209.23491%2010.3091%209.50291%2010.3091%209.83891C10.3091%2010.0709%2010.3611%2010.2629%2010.4651%2010.4149C10.5771%2010.5669%2010.7731%2010.6989%2011.0531%2010.8109C11.3331%2010.9149%2011.7251%2011.0269%2012.2291%2011.1469C12.9891%2011.3069%2013.5931%2011.5109%2014.0411%2011.7589C14.4891%2012.0069%2014.8091%2012.2949%2015.0011%2012.6229C15.1931%2012.9509%2015.2891%2013.3269%2015.2891%2013.7509C15.2891%2014.2709%2015.1571%2014.7229%2014.8931%2015.1069C14.6291%2015.4829%2014.2571%2015.7749%2013.7771%2015.9829C13.2971%2016.1829%2012.7331%2016.2829%2012.0851%2016.2829Z'%20fill='white'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",
1229
1257
  alt: "",
1230
1258
  width: i,
1231
1259
  height: i,
1232
- className: En.defaultMark
1260
+ className: Dn.defaultMark
1233
1261
  });
1234
- return /* @__PURE__ */ D("span", {
1262
+ return /* @__PURE__ */ k("span", {
1235
1263
  className: [
1236
- En.root,
1237
- En[`root--${e}`],
1264
+ Dn.root,
1265
+ Dn[`root--${e}`],
1238
1266
  r ?? ""
1239
1267
  ].filter(Boolean).join(" "),
1240
1268
  role: "img",
1241
1269
  "aria-label": n ?? "Logo placeholder",
1242
1270
  children: a
1243
1271
  });
1244
- }, B = {
1272
+ }, V = {
1245
1273
  root: "_root_ibchq_1",
1246
1274
  rootCompact: "_rootCompact_ibchq_7",
1247
1275
  rootDetailed: "_rootDetailed_ibchq_14",
@@ -1252,61 +1280,61 @@ var Pt = {
1252
1280
  bio: "_bio_ibchq_53",
1253
1281
  social: "_social_ibchq_63",
1254
1282
  socialBtn: "_socialBtn_ibchq_71"
1255
- }, kn = ({ name: e, role: t, avatarSrc: n, avatarAlt: r, bio: i, socialLinks: a = [], className: o }) => {
1283
+ }, An = ({ name: e, role: t, avatarSrc: n, avatarAlt: r, bio: i, socialLinks: a = [], className: o }) => {
1256
1284
  let s = !!i || a.length > 0;
1257
- return /* @__PURE__ */ O("div", {
1285
+ return /* @__PURE__ */ A("div", {
1258
1286
  className: [
1259
- B.root,
1260
- s ? B.rootDetailed : B.rootCompact,
1287
+ V.root,
1288
+ s ? V.rootDetailed : V.rootCompact,
1261
1289
  o ?? ""
1262
1290
  ].filter(Boolean).join(" "),
1263
1291
  children: [
1264
- /* @__PURE__ */ D(be, {
1292
+ /* @__PURE__ */ k(ae, {
1265
1293
  size: "xl",
1266
1294
  src: n,
1267
1295
  alt: r ?? e
1268
1296
  }),
1269
- /* @__PURE__ */ O("div", {
1270
- className: s ? B.infoDetailed : B.infoCompact,
1271
- children: [/* @__PURE__ */ D("p", {
1272
- className: B.name,
1297
+ /* @__PURE__ */ A("div", {
1298
+ className: s ? V.infoDetailed : V.infoCompact,
1299
+ children: [/* @__PURE__ */ k("p", {
1300
+ className: V.name,
1273
1301
  children: e
1274
- }), /* @__PURE__ */ D("p", {
1275
- className: B.role,
1302
+ }), /* @__PURE__ */ k("p", {
1303
+ className: V.role,
1276
1304
  children: t
1277
1305
  })]
1278
1306
  }),
1279
- s && i && /* @__PURE__ */ D("p", {
1280
- className: B.bio,
1307
+ s && i && /* @__PURE__ */ k("p", {
1308
+ className: V.bio,
1281
1309
  children: i
1282
1310
  }),
1283
- s && a.length > 0 && /* @__PURE__ */ D("div", {
1284
- className: B.social,
1285
- children: a.map((e, t) => /* @__PURE__ */ D("a", {
1311
+ s && a.length > 0 && /* @__PURE__ */ k("div", {
1312
+ className: V.social,
1313
+ children: a.map((e, t) => /* @__PURE__ */ k("a", {
1286
1314
  href: e.href,
1287
1315
  onClick: e.onClick,
1288
- className: B.socialBtn,
1316
+ className: V.socialBtn,
1289
1317
  "aria-label": e.label,
1290
1318
  children: e.icon
1291
1319
  }, e.label ?? t))
1292
1320
  })
1293
1321
  ]
1294
1322
  });
1295
- }, An = {
1323
+ }, jn = {
1296
1324
  heading: "_heading_96cdx_1",
1297
1325
  h2: "_h2_96cdx_8",
1298
1326
  h3: "_h3_96cdx_14"
1299
- }, jn = ({ children: e, level: t = "h2", className: n }) => /* @__PURE__ */ D(t, {
1327
+ }, Mn = ({ children: e, level: t = "h2", className: n }) => /* @__PURE__ */ k(t, {
1300
1328
  className: [
1301
- An.heading,
1302
- An[t],
1329
+ jn.heading,
1330
+ jn[t],
1303
1331
  n ?? ""
1304
1332
  ].filter(Boolean).join(" "),
1305
1333
  children: e
1306
- }), Mn = { paragraph: "_paragraph_8pqdi_1" }, Nn = ({ children: e, className: t }) => /* @__PURE__ */ D("p", {
1307
- className: [Mn.paragraph, t ?? ""].filter(Boolean).join(" "),
1334
+ }), Nn = { paragraph: "_paragraph_8pqdi_1" }, Pn = ({ children: e, className: t }) => /* @__PURE__ */ k("p", {
1335
+ className: [Nn.paragraph, t ?? ""].filter(Boolean).join(" "),
1308
1336
  children: e
1309
- }), V = {
1337
+ }), Fn = {
1310
1338
  rootBordered: "_rootBordered_5cgsj_1",
1311
1339
  rail: "_rail_5cgsj_12",
1312
1340
  contentHorizontal: "_contentHorizontal_5cgsj_18",
@@ -1315,45 +1343,45 @@ var Pt = {
1315
1343
  textVertical: "_textVertical_5cgsj_41",
1316
1344
  title: "_title_5cgsj_49",
1317
1345
  description: "_description_5cgsj_57"
1318
- }, Pn = ({ icon: t, title: n, description: r, layout: i = "horizontal", leftBorder: a = !1, className: o }) => {
1319
- let s = i === "vertical", c = /* @__PURE__ */ O("div", {
1320
- className: s ? V.contentVertical : V.contentHorizontal,
1321
- children: [/* @__PURE__ */ D(p, {
1346
+ }, In = ({ icon: t, title: n, description: r, layout: i = "horizontal", leftBorder: a = !1, className: o }) => {
1347
+ let s = i === "vertical", c = /* @__PURE__ */ A("div", {
1348
+ className: s ? Fn.contentVertical : Fn.contentHorizontal,
1349
+ children: [/* @__PURE__ */ k(p, {
1322
1350
  icon: t,
1323
1351
  size: "sm",
1324
1352
  variant: "light"
1325
- }), /* @__PURE__ */ O("div", {
1326
- className: s ? V.textVertical : V.textHorizontal,
1327
- children: [/* @__PURE__ */ D("p", {
1328
- className: V.title,
1353
+ }), /* @__PURE__ */ A("div", {
1354
+ className: s ? Fn.textVertical : Fn.textHorizontal,
1355
+ children: [/* @__PURE__ */ k("p", {
1356
+ className: Fn.title,
1329
1357
  children: n
1330
- }), /* @__PURE__ */ D("p", {
1331
- className: V.description,
1358
+ }), /* @__PURE__ */ k("p", {
1359
+ className: Fn.description,
1332
1360
  children: r
1333
1361
  })]
1334
1362
  })]
1335
1363
  });
1336
- return a ? /* @__PURE__ */ O("div", {
1337
- className: [V.rootBordered, o ?? ""].filter(Boolean).join(" "),
1338
- children: [/* @__PURE__ */ D(e, {
1364
+ return a ? /* @__PURE__ */ A("div", {
1365
+ className: [Fn.rootBordered, o ?? ""].filter(Boolean).join(" "),
1366
+ children: [/* @__PURE__ */ k(e, {
1339
1367
  orientation: "vertical",
1340
- className: V.rail
1368
+ className: Fn.rail
1341
1369
  }), c]
1342
- }) : E.cloneElement(c, { className: [c.props.className, o ?? ""].filter(Boolean).join(" ") });
1343
- }, Fn = { chart: "_chart_qqaox_2" }, In = {
1370
+ }) : O.cloneElement(c, { className: [c.props.className, o ?? ""].filter(Boolean).join(" ") });
1371
+ }, Ln = { chart: "_chart_qqaox_2" }, Rn = {
1344
1372
  sm: 180,
1345
1373
  md: 240,
1346
1374
  lg: 320,
1347
1375
  xl: 420
1348
- }, Ln = (e) => typeof window < "u" && getComputedStyle(document.documentElement).getPropertyValue(e).trim() || void 0, Rn = ({ data: e, variant: t = "default", seriesLabels: n = ["Value", "Value 2"], size: r = "md", height: i, className: a }) => {
1349
- T();
1350
- let o = Ln("--color-chart-5") ?? "#dca84f", s = Ln("--color-chart-2") ?? "#5b92dd", c = Ln("--color-border-subtle") ?? "#e5e4e7", l = Ln("--color-fg-muted") ?? "#6b6375", u = e.some((e) => e.value2 !== void 0), d = t === "step" ? "step" : t === "linear" ? "linear" : "monotone", f = t === "stacked" ? "stack" : void 0;
1351
- return /* @__PURE__ */ D("div", {
1352
- className: [Fn.chart, a ?? ""].filter(Boolean).join(" "),
1353
- children: /* @__PURE__ */ D(A, {
1376
+ }, zn = ({ data: e, variant: t = "default", seriesLabels: n = ["Value", "Value 2"], size: r = "md", height: i, className: a }) => {
1377
+ let o = O.useRef(null), s = N(o), c = s("--color-chart-5") ?? "#dca84f", l = s("--color-chart-2") ?? "#5b92dd", u = s("--color-border-subtle") ?? "#e7e5e1", d = s("--color-fg-muted") ?? "#78716a", f = e.some((e) => e.value2 !== void 0), p = t === "step" ? "step" : t === "linear" ? "linear" : "monotone", m = t === "stacked" ? "stack" : void 0;
1378
+ return /* @__PURE__ */ k("div", {
1379
+ ref: o,
1380
+ className: [Ln.chart, a ?? ""].filter(Boolean).join(" "),
1381
+ children: /* @__PURE__ */ k(At, {
1354
1382
  width: "100%",
1355
- height: i ?? In[r],
1356
- children: /* @__PURE__ */ O(pt, {
1383
+ height: i ?? Rn[r],
1384
+ children: /* @__PURE__ */ A(ft, {
1357
1385
  data: e,
1358
1386
  margin: {
1359
1387
  top: 8,
@@ -1362,87 +1390,87 @@ var Pt = {
1362
1390
  left: 0
1363
1391
  },
1364
1392
  children: [
1365
- /* @__PURE__ */ O("defs", { children: [/* @__PURE__ */ O("linearGradient", {
1393
+ /* @__PURE__ */ A("defs", { children: [/* @__PURE__ */ A("linearGradient", {
1366
1394
  id: "sakani-area-1",
1367
1395
  x1: "0",
1368
1396
  y1: "0",
1369
1397
  x2: "0",
1370
1398
  y2: "1",
1371
- children: [/* @__PURE__ */ D("stop", {
1399
+ children: [/* @__PURE__ */ k("stop", {
1372
1400
  offset: "5%",
1373
- stopColor: o,
1401
+ stopColor: c,
1374
1402
  stopOpacity: .35
1375
- }), /* @__PURE__ */ D("stop", {
1403
+ }), /* @__PURE__ */ k("stop", {
1376
1404
  offset: "95%",
1377
- stopColor: o,
1405
+ stopColor: c,
1378
1406
  stopOpacity: .02
1379
1407
  })]
1380
- }), /* @__PURE__ */ O("linearGradient", {
1408
+ }), /* @__PURE__ */ A("linearGradient", {
1381
1409
  id: "sakani-area-2",
1382
1410
  x1: "0",
1383
1411
  y1: "0",
1384
1412
  x2: "0",
1385
1413
  y2: "1",
1386
- children: [/* @__PURE__ */ D("stop", {
1414
+ children: [/* @__PURE__ */ k("stop", {
1387
1415
  offset: "5%",
1388
- stopColor: s,
1416
+ stopColor: l,
1389
1417
  stopOpacity: .35
1390
- }), /* @__PURE__ */ D("stop", {
1418
+ }), /* @__PURE__ */ k("stop", {
1391
1419
  offset: "95%",
1392
- stopColor: s,
1420
+ stopColor: l,
1393
1421
  stopOpacity: .02
1394
1422
  })]
1395
1423
  })] }),
1396
- /* @__PURE__ */ D(gt, {
1424
+ /* @__PURE__ */ k(ht, {
1397
1425
  strokeDasharray: "3 3",
1398
- stroke: c,
1426
+ stroke: u,
1399
1427
  vertical: !1
1400
1428
  }),
1401
- /* @__PURE__ */ D(Mt, {
1429
+ /* @__PURE__ */ k(Nt, {
1402
1430
  dataKey: "label",
1403
- stroke: l,
1431
+ stroke: d,
1404
1432
  fontSize: 12,
1405
1433
  tickLine: !1,
1406
1434
  axisLine: !1,
1407
1435
  interval: 0
1408
1436
  }),
1409
- /* @__PURE__ */ D(jt, {
1437
+ /* @__PURE__ */ k(Mt, {
1410
1438
  cursor: {
1411
- stroke: Ln("--color-border-default") ?? "#d6d3ce",
1439
+ stroke: s("--color-border-default") ?? "#dbdad7",
1412
1440
  strokeWidth: 1
1413
1441
  },
1414
- content: /* @__PURE__ */ D(Xt, {}),
1442
+ content: /* @__PURE__ */ k(Qt, {}),
1415
1443
  wrapperStyle: { zIndex: 50 }
1416
1444
  }),
1417
- u && /* @__PURE__ */ D(ft, {
1418
- type: d,
1445
+ f && /* @__PURE__ */ k(dt, {
1446
+ type: p,
1419
1447
  dataKey: "value2",
1420
1448
  name: n[1] ?? "Value 2",
1421
- stackId: f,
1422
- stroke: s,
1449
+ stackId: m,
1450
+ stroke: l,
1423
1451
  strokeWidth: 2,
1424
1452
  fill: "url(#sakani-area-2)",
1425
1453
  dot: !1,
1426
1454
  activeDot: {
1427
1455
  r: 4,
1428
- fill: s,
1429
- stroke: Ln("--color-bg-canvas"),
1456
+ fill: l,
1457
+ stroke: s("--color-bg-canvas"),
1430
1458
  strokeWidth: 1.5
1431
1459
  }
1432
1460
  }),
1433
- /* @__PURE__ */ D(ft, {
1434
- type: d,
1461
+ /* @__PURE__ */ k(dt, {
1462
+ type: p,
1435
1463
  dataKey: "value",
1436
1464
  name: n[0] ?? "Value",
1437
- stackId: f,
1438
- stroke: o,
1465
+ stackId: m,
1466
+ stroke: c,
1439
1467
  strokeWidth: 2,
1440
1468
  fill: "url(#sakani-area-1)",
1441
1469
  dot: !1,
1442
1470
  activeDot: {
1443
1471
  r: 4,
1444
- fill: o,
1445
- stroke: Ln("--color-bg-canvas"),
1472
+ fill: c,
1473
+ stroke: s("--color-bg-canvas"),
1446
1474
  strokeWidth: 1.5
1447
1475
  }
1448
1476
  })
@@ -1461,62 +1489,62 @@ var Pt = {
1461
1489
  col__body: "_col__body_1v24u_24",
1462
1490
  col__drop: "_col__drop_1v24u_25",
1463
1491
  col__add: "_col__add_1v24u_31"
1464
- }, zn = ({ state: e = "default", title: t, count: n, dotColor: r = "var(--color-chart-1)", children: i, onAdd: a, onMenu: o, className: s }) => /* @__PURE__ */ O("div", {
1492
+ }, Bn = ({ state: e = "default", title: t, count: n, dotColor: r = "var(--color-chart-1)", children: i, onAdd: a, onMenu: o, className: s }) => /* @__PURE__ */ A("div", {
1465
1493
  className: [H.col, s ?? ""].filter(Boolean).join(" "),
1466
1494
  children: [
1467
- /* @__PURE__ */ O("div", {
1495
+ /* @__PURE__ */ A("div", {
1468
1496
  className: H.col__header,
1469
1497
  children: [
1470
- /* @__PURE__ */ D("span", {
1498
+ /* @__PURE__ */ k("span", {
1471
1499
  className: H.col__dot,
1472
1500
  style: { background: r },
1473
1501
  "aria-hidden": "true"
1474
1502
  }),
1475
- /* @__PURE__ */ D("span", {
1503
+ /* @__PURE__ */ k("span", {
1476
1504
  className: H.col__title,
1477
1505
  children: t
1478
1506
  }),
1479
- n != null && /* @__PURE__ */ D("span", {
1507
+ n != null && /* @__PURE__ */ k("span", {
1480
1508
  className: H.col__count,
1481
1509
  children: n
1482
1510
  }),
1483
- /* @__PURE__ */ D("span", { className: H.col__spacer }),
1484
- /* @__PURE__ */ D("button", {
1511
+ /* @__PURE__ */ k("span", { className: H.col__spacer }),
1512
+ /* @__PURE__ */ k("button", {
1485
1513
  type: "button",
1486
1514
  className: H.col__action,
1487
1515
  onClick: a,
1488
1516
  "aria-label": "Add task",
1489
- children: /* @__PURE__ */ D(nt, {
1517
+ children: /* @__PURE__ */ k(tt, {
1490
1518
  size: 16,
1491
- strokeWidth: w(16)
1519
+ strokeWidth: D(16)
1492
1520
  })
1493
1521
  }),
1494
- /* @__PURE__ */ D("button", {
1522
+ /* @__PURE__ */ k("button", {
1495
1523
  type: "button",
1496
1524
  className: H.col__action,
1497
1525
  onClick: o,
1498
1526
  "aria-label": "Column options",
1499
- children: /* @__PURE__ */ D(et, {
1527
+ children: /* @__PURE__ */ k($e, {
1500
1528
  size: 16,
1501
- strokeWidth: w(16)
1529
+ strokeWidth: D(16)
1502
1530
  })
1503
1531
  })
1504
1532
  ]
1505
1533
  }),
1506
- /* @__PURE__ */ D("div", {
1534
+ /* @__PURE__ */ k("div", {
1507
1535
  className: H.col__body,
1508
- children: e === "empty" ? /* @__PURE__ */ D("div", {
1536
+ children: e === "empty" ? /* @__PURE__ */ k("div", {
1509
1537
  className: H.col__drop,
1510
1538
  children: "Drop tasks here"
1511
1539
  }) : i
1512
1540
  }),
1513
- /* @__PURE__ */ O("button", {
1541
+ /* @__PURE__ */ A("button", {
1514
1542
  type: "button",
1515
1543
  className: H.col__add,
1516
1544
  onClick: a,
1517
- children: [/* @__PURE__ */ D(nt, {
1545
+ children: [/* @__PURE__ */ k(tt, {
1518
1546
  size: 16,
1519
- strokeWidth: w(16),
1547
+ strokeWidth: D(16),
1520
1548
  "aria-hidden": "true"
1521
1549
  }), "Add task"]
1522
1550
  })
@@ -1539,7 +1567,7 @@ var Pt = {
1539
1567
  "day--disabled": "_day--disabled_1y1kb_49",
1540
1568
  dropdowns: "_dropdowns_1y1kb_52",
1541
1569
  dropdown: "_dropdown_1y1kb_52"
1542
- }, Bn = [
1570
+ }, Vn = [
1543
1571
  "Su",
1544
1572
  "Mo",
1545
1573
  "Tu",
@@ -1547,7 +1575,7 @@ var Pt = {
1547
1575
  "Th",
1548
1576
  "Fr",
1549
1577
  "Sa"
1550
- ], Vn = [
1578
+ ], Hn = [
1551
1579
  "January",
1552
1580
  "February",
1553
1581
  "March",
@@ -1560,19 +1588,19 @@ var Pt = {
1560
1588
  "October",
1561
1589
  "November",
1562
1590
  "December"
1563
- ], Hn = (e, t) => !!e && !!t && e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), Un = (e) => new Date(e.getFullYear(), e.getMonth(), e.getDate()), Wn = ({ mode: e = "single", value: t, onChange: n, range: r, onRangeChange: i, headerType: a = "arrows", defaultMonth: o, minDate: s, maxDate: c, className: l }) => {
1564
- let [u, d] = E.useState(() => {
1591
+ ], Un = (e, t) => !!e && !!t && e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), Wn = (e) => new Date(e.getFullYear(), e.getMonth(), e.getDate()), Gn = ({ mode: e = "single", value: t, onChange: n, range: r, onRangeChange: i, headerType: a = "arrows", defaultMonth: o, minDate: s, maxDate: c, className: l }) => {
1592
+ let [u, d] = O.useState(() => {
1565
1593
  let e = o ?? t ?? r?.from ?? /* @__PURE__ */ new Date();
1566
1594
  return new Date(e.getFullYear(), e.getMonth(), 1);
1567
- }), [f, p] = E.useState({}), m = r === void 0 ? f : r, h = /* @__PURE__ */ new Date(), g = u.getFullYear(), _ = u.getMonth(), v = new Date(g, _, 1).getDay(), y = new Date(g, _, 1 - v), ee = Array.from({ length: 42 }, (e, t) => new Date(y.getFullYear(), y.getMonth(), y.getDate() + t)), te = (e) => s && e < Un(s) || c && e > c, b = (e) => {
1595
+ }), [f, p] = O.useState({}), m = r === void 0 ? f : r, h = /* @__PURE__ */ new Date(), g = u.getFullYear(), _ = u.getMonth(), v = new Date(g, _, 1).getDay(), y = new Date(g, _, 1 - v), b = Array.from({ length: 42 }, (e, t) => new Date(y.getFullYear(), y.getMonth(), y.getDate() + t)), x = (e) => s && e < Wn(s) || c && e > c, S = (e) => {
1568
1596
  r === void 0 && p(e), i?.(e);
1569
- }, x = (t) => {
1597
+ }, C = (t) => {
1570
1598
  if (e === "single") {
1571
1599
  n?.(t);
1572
1600
  return;
1573
1601
  }
1574
1602
  let { from: r, to: i } = m;
1575
- b(!r || r && i ? {
1603
+ S(!r || r && i ? {
1576
1604
  from: t,
1577
1605
  to: void 0
1578
1606
  } : t < r ? {
@@ -1582,86 +1610,86 @@ var Pt = {
1582
1610
  from: r,
1583
1611
  to: t
1584
1612
  });
1585
- }, S = (n) => {
1586
- if (te(n)) return "disabled";
1613
+ }, w = (n) => {
1614
+ if (x(n)) return "disabled";
1587
1615
  if (e === "single") {
1588
- if (Hn(n, t)) return "selected";
1616
+ if (Un(n, t)) return "selected";
1589
1617
  } else {
1590
1618
  let { from: e, to: t } = m;
1591
- if (Hn(n, e) || Hn(n, t)) return "selected";
1619
+ if (Un(n, e) || Un(n, t)) return "selected";
1592
1620
  if (e && t && n > e && n < t) return "in-range";
1593
1621
  }
1594
- return n.getMonth() === _ ? Hn(n, h) ? "today" : "default" : "outside";
1595
- }, C = s ? s.getFullYear() : g - 10, ne = c ? c.getFullYear() : g + 10, re = Array.from({ length: ne - C + 1 }, (e, t) => C + t);
1596
- return /* @__PURE__ */ O("div", {
1622
+ return n.getMonth() === _ ? Un(n, h) ? "today" : "default" : "outside";
1623
+ }, T = s ? s.getFullYear() : g - 10, ee = c ? c.getFullYear() : g + 10, E = Array.from({ length: ee - T + 1 }, (e, t) => T + t);
1624
+ return /* @__PURE__ */ A("div", {
1597
1625
  className: [U.calendar, l ?? ""].filter(Boolean).join(" "),
1598
1626
  children: [
1599
- /* @__PURE__ */ O("div", {
1627
+ /* @__PURE__ */ A("div", {
1600
1628
  className: U.header,
1601
1629
  children: [
1602
- /* @__PURE__ */ D("button", {
1630
+ /* @__PURE__ */ k("button", {
1603
1631
  type: "button",
1604
1632
  className: U.navBtn,
1605
1633
  onClick: () => d(new Date(g, _ - 1, 1)),
1606
1634
  "aria-label": "Previous month",
1607
- children: /* @__PURE__ */ D(Ge, {
1635
+ children: /* @__PURE__ */ k(We, {
1608
1636
  size: 16,
1609
- strokeWidth: w(16)
1637
+ strokeWidth: D(16)
1610
1638
  })
1611
1639
  }),
1612
- a === "dropdowns" ? /* @__PURE__ */ O("span", {
1640
+ a === "dropdowns" ? /* @__PURE__ */ A("span", {
1613
1641
  className: U.dropdowns,
1614
- children: [/* @__PURE__ */ D("select", {
1642
+ children: [/* @__PURE__ */ k("select", {
1615
1643
  className: U.dropdown,
1616
1644
  value: _,
1617
1645
  onChange: (e) => d(new Date(g, Number(e.target.value), 1)),
1618
1646
  "aria-label": "Month",
1619
- children: Vn.map((e, t) => /* @__PURE__ */ D("option", {
1647
+ children: Hn.map((e, t) => /* @__PURE__ */ k("option", {
1620
1648
  value: t,
1621
1649
  children: e
1622
1650
  }, e))
1623
- }), /* @__PURE__ */ D("select", {
1651
+ }), /* @__PURE__ */ k("select", {
1624
1652
  className: U.dropdown,
1625
1653
  value: g,
1626
1654
  onChange: (e) => d(new Date(Number(e.target.value), _, 1)),
1627
1655
  "aria-label": "Year",
1628
- children: re.map((e) => /* @__PURE__ */ D("option", {
1656
+ children: E.map((e) => /* @__PURE__ */ k("option", {
1629
1657
  value: e,
1630
1658
  children: e
1631
1659
  }, e))
1632
1660
  })]
1633
- }) : /* @__PURE__ */ O("span", {
1661
+ }) : /* @__PURE__ */ A("span", {
1634
1662
  className: U.header__label,
1635
1663
  children: [
1636
- Vn[_],
1664
+ Hn[_],
1637
1665
  " ",
1638
1666
  g
1639
1667
  ]
1640
1668
  }),
1641
- /* @__PURE__ */ D("button", {
1669
+ /* @__PURE__ */ k("button", {
1642
1670
  type: "button",
1643
1671
  className: U.navBtn,
1644
1672
  onClick: () => d(new Date(g, _ + 1, 1)),
1645
1673
  "aria-label": "Next month",
1646
- children: /* @__PURE__ */ D(Ke, {
1674
+ children: /* @__PURE__ */ k(Ge, {
1647
1675
  size: 16,
1648
- strokeWidth: w(16)
1676
+ strokeWidth: D(16)
1649
1677
  })
1650
1678
  })
1651
1679
  ]
1652
1680
  }),
1653
- /* @__PURE__ */ D("div", {
1681
+ /* @__PURE__ */ k("div", {
1654
1682
  className: U.weekdays,
1655
- children: Bn.map((e) => /* @__PURE__ */ D("span", {
1683
+ children: Vn.map((e) => /* @__PURE__ */ k("span", {
1656
1684
  className: U.weekday,
1657
1685
  children: e
1658
1686
  }, e))
1659
1687
  }),
1660
- /* @__PURE__ */ D("div", {
1688
+ /* @__PURE__ */ k("div", {
1661
1689
  className: U.grid,
1662
- children: ee.map((e, t) => {
1663
- let n = S(e);
1664
- return /* @__PURE__ */ D("button", {
1690
+ children: b.map((e, t) => {
1691
+ let n = w(e);
1692
+ return /* @__PURE__ */ k("button", {
1665
1693
  type: "button",
1666
1694
  className: [U.day, U[`day--${n}`]].filter(Boolean).join(" "),
1667
1695
  disabled: n === "disabled",
@@ -1673,14 +1701,14 @@ var Pt = {
1673
1701
  month: "long",
1674
1702
  day: "numeric"
1675
1703
  }),
1676
- onClick: () => x(e),
1704
+ onClick: () => C(e),
1677
1705
  children: e.getDate()
1678
1706
  }, t);
1679
1707
  })
1680
1708
  })
1681
1709
  ]
1682
1710
  });
1683
- }, Gn = {
1711
+ }, Kn = {
1684
1712
  card: "_card_1mh1i_3",
1685
1713
  "card--interactive": "_card--interactive_1mh1i_16",
1686
1714
  card__header: "_card__header_1mh1i_24",
@@ -1688,29 +1716,29 @@ var Pt = {
1688
1716
  card__description: "_card__description_1mh1i_32",
1689
1717
  card__body: "_card__body_1mh1i_39",
1690
1718
  card__actions: "_card__actions_1mh1i_42"
1691
- }, Kn = ({ title: e, description: t, actions: n, interactive: r, children: i, className: a }) => /* @__PURE__ */ O("div", {
1719
+ }, qn = ({ title: e, description: t, actions: n, interactive: r, children: i, className: a }) => /* @__PURE__ */ A("div", {
1692
1720
  className: [
1693
- Gn.card,
1694
- r ? Gn["card--interactive"] : "",
1721
+ Kn.card,
1722
+ r ? Kn["card--interactive"] : "",
1695
1723
  a ?? ""
1696
1724
  ].filter(Boolean).join(" "),
1697
1725
  children: [
1698
- (e || t) && /* @__PURE__ */ O("div", {
1699
- className: Gn.card__header,
1700
- children: [e && /* @__PURE__ */ D("h3", {
1701
- className: Gn.card__title,
1726
+ (e || t) && /* @__PURE__ */ A("div", {
1727
+ className: Kn.card__header,
1728
+ children: [e && /* @__PURE__ */ k("h3", {
1729
+ className: Kn.card__title,
1702
1730
  children: e
1703
- }), t && /* @__PURE__ */ D("p", {
1704
- className: Gn.card__description,
1731
+ }), t && /* @__PURE__ */ k("p", {
1732
+ className: Kn.card__description,
1705
1733
  children: t
1706
1734
  })]
1707
1735
  }),
1708
- i && /* @__PURE__ */ D("div", {
1709
- className: Gn.card__body,
1736
+ i && /* @__PURE__ */ k("div", {
1737
+ className: Kn.card__body,
1710
1738
  children: i
1711
1739
  }),
1712
- n && /* @__PURE__ */ D("div", {
1713
- className: Gn.card__actions,
1740
+ n && /* @__PURE__ */ k("div", {
1741
+ className: Kn.card__actions,
1714
1742
  children: n
1715
1743
  })
1716
1744
  ]
@@ -1750,92 +1778,92 @@ var Pt = {
1750
1778
  panel__loading: "_panel__loading_x766e_167",
1751
1779
  panel__spinner: "_panel__spinner_x766e_171",
1752
1780
  "sakani-cb-spin": "_sakani-cb-spin_x766e_1"
1753
- }, qn = ({ options: e, mode: t = "single", size: n = "md", label: r, description: i, error: a, placeholder: o = "Select...", disabled: s, loading: c, value: l, onChange: u, className: d }) => {
1754
- let f = E.useId(), [p, m] = E.useState(!1), [h, g] = E.useState(!1), [_, v] = E.useState(0), y = E.useRef(null);
1755
- E.useEffect(() => {
1781
+ }, Jn = ({ options: e, mode: t = "single", size: n = "md", label: r, description: i, error: a, placeholder: o = "Select...", disabled: s, loading: c, value: l, onChange: u, className: d }) => {
1782
+ let f = O.useId(), [p, m] = O.useState(!1), [h, g] = O.useState(!1), [_, v] = O.useState(0), y = O.useRef(null);
1783
+ O.useEffect(() => {
1756
1784
  p && g(!0);
1757
1785
  }, [p]);
1758
- let [ee, te] = E.useState(t === "multi" ? [] : ""), b = l === void 0 ? ee : l, x = Array.isArray(b) ? b : b ? [b] : [], S = !!a;
1759
- E.useEffect(() => {
1786
+ let [b, x] = O.useState(t === "multi" ? [] : ""), S = l === void 0 ? b : l, C = Array.isArray(S) ? S : S ? [S] : [], w = !!a;
1787
+ O.useEffect(() => {
1760
1788
  let e = (e) => {
1761
1789
  y.current && !y.current.contains(e.target) && m(!1);
1762
1790
  };
1763
1791
  return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
1764
1792
  }, []);
1765
- let C = e, ne = (e) => {
1766
- l === void 0 && te(e), u?.(e);
1767
- }, re = (e) => {
1793
+ let T = e, ee = (e) => {
1794
+ l === void 0 && x(e), u?.(e);
1795
+ }, E = (e) => {
1768
1796
  if (!e.disabled) if (t === "multi") {
1769
- let t = new Set(x);
1770
- t.has(e.value) ? t.delete(e.value) : t.add(e.value), ne([...t]);
1771
- } else ne(e.value), m(!1);
1772
- }, ie = (t) => e.find((e) => e.value === t)?.label ?? t, ae = x.length ? ie(x[0]) : "", oe = (e) => {
1773
- s || (e.key === "ArrowDown" ? (e.preventDefault(), m(!0), v((e) => Math.min(e + 1, C.length - 1))) : e.key === "ArrowUp" ? (e.preventDefault(), v((e) => Math.max(e - 1, 0))) : e.key === "Enter" ? (e.preventDefault(), p && C[_] ? re(C[_]) : m(!0)) : e.key === "Escape" && m(!1));
1774
- }, se = s ? "disabled" : S ? "error" : p ? "open" : "default";
1775
- return /* @__PURE__ */ O("div", {
1797
+ let t = new Set(C);
1798
+ t.has(e.value) ? t.delete(e.value) : t.add(e.value), ee([...t]);
1799
+ } else ee(e.value), m(!1);
1800
+ }, te = (t) => e.find((e) => e.value === t)?.label ?? t, ne = C.length ? te(C[0]) : "", re = (e) => {
1801
+ s || (e.key === "ArrowDown" ? (e.preventDefault(), m(!0), v((e) => Math.min(e + 1, T.length - 1))) : e.key === "ArrowUp" ? (e.preventDefault(), v((e) => Math.max(e - 1, 0))) : e.key === "Enter" ? (e.preventDefault(), p && T[_] ? E(T[_]) : m(!0)) : e.key === "Escape" && m(!1));
1802
+ }, ie = s ? "disabled" : w ? "error" : p ? "open" : "default";
1803
+ return /* @__PURE__ */ A("div", {
1776
1804
  className: [W.field, d ?? ""].filter(Boolean).join(" "),
1777
1805
  ref: y,
1778
1806
  children: [
1779
- r && /* @__PURE__ */ D("label", {
1807
+ r && /* @__PURE__ */ k("label", {
1780
1808
  htmlFor: `${f}-trigger`,
1781
1809
  className: W.field__label,
1782
1810
  children: r
1783
1811
  }),
1784
- /* @__PURE__ */ O("div", {
1812
+ /* @__PURE__ */ A("div", {
1785
1813
  id: `${f}-trigger`,
1786
1814
  role: "combobox",
1787
1815
  tabIndex: s ? -1 : 0,
1788
1816
  "aria-haspopup": "listbox",
1789
1817
  "aria-expanded": p,
1790
1818
  "aria-controls": `${f}-panel`,
1791
- "aria-invalid": S || void 0,
1819
+ "aria-invalid": w || void 0,
1792
1820
  "aria-disabled": s || void 0,
1793
- "aria-activedescendant": p && C[_] ? `${f}-opt-${_}` : void 0,
1821
+ "aria-activedescendant": p && T[_] ? `${f}-opt-${_}` : void 0,
1794
1822
  className: [
1795
1823
  W.control,
1796
1824
  W[`control--${n}`],
1797
- W[`control--${se}`]
1825
+ W[`control--${ie}`]
1798
1826
  ].join(" "),
1799
1827
  onClick: () => !s && m((e) => !e),
1800
- onKeyDown: oe,
1828
+ onKeyDown: re,
1801
1829
  children: [
1802
- t === "multi" && x.length > 0 && /* @__PURE__ */ D("div", {
1830
+ t === "multi" && C.length > 0 && /* @__PURE__ */ k("div", {
1803
1831
  className: W.chips,
1804
- children: x.map((t) => /* @__PURE__ */ O("span", {
1832
+ children: C.map((t) => /* @__PURE__ */ A("span", {
1805
1833
  className: W.chip,
1806
- children: [ie(t), /* @__PURE__ */ D("button", {
1834
+ children: [te(t), /* @__PURE__ */ k("button", {
1807
1835
  type: "button",
1808
1836
  className: W.chip__remove,
1809
1837
  onClick: (n) => {
1810
- n.stopPropagation(), re(e.find((e) => e.value === t));
1838
+ n.stopPropagation(), E(e.find((e) => e.value === t));
1811
1839
  },
1812
- "aria-label": `Remove ${ie(t)}`,
1840
+ "aria-label": `Remove ${te(t)}`,
1813
1841
  children: "×"
1814
1842
  })]
1815
1843
  }, t))
1816
1844
  }),
1817
- !(t === "multi" && x.length > 0) && /* @__PURE__ */ D("span", {
1818
- className: [W.control__value, t === "single" && ae ? "" : W["control__value--placeholder"]].filter(Boolean).join(" "),
1819
- children: t === "single" && ae ? ae : o
1845
+ !(t === "multi" && C.length > 0) && /* @__PURE__ */ k("span", {
1846
+ className: [W.control__value, t === "single" && ne ? "" : W["control__value--placeholder"]].filter(Boolean).join(" "),
1847
+ children: t === "single" && ne ? ne : o
1820
1848
  }),
1821
- /* @__PURE__ */ D("span", {
1849
+ /* @__PURE__ */ k("span", {
1822
1850
  className: [W.control__chevron, p ? W["control__chevron--open"] : ""].join(" "),
1823
1851
  "aria-hidden": "true",
1824
- children: /* @__PURE__ */ D("svg", {
1852
+ children: /* @__PURE__ */ k("svg", {
1825
1853
  width: 16,
1826
1854
  height: 16,
1827
1855
  viewBox: "0 0 24 24",
1828
1856
  fill: "none",
1829
1857
  stroke: "currentColor",
1830
- strokeWidth: w(16),
1858
+ strokeWidth: D(16),
1831
1859
  strokeLinecap: "round",
1832
1860
  strokeLinejoin: "round",
1833
- children: /* @__PURE__ */ D("path", { d: "m6 9 6 6 6-6" })
1861
+ children: /* @__PURE__ */ k("path", { d: "m6 9 6 6 6-6" })
1834
1862
  })
1835
1863
  })
1836
1864
  ]
1837
1865
  }),
1838
- h && !s && /* @__PURE__ */ D("div", {
1866
+ h && !s && /* @__PURE__ */ k("div", {
1839
1867
  className: [W.panel, p ? W["panel--entering"] : W["panel--exiting"]].filter(Boolean).join(" "),
1840
1868
  id: `${f}-panel`,
1841
1869
  role: "listbox",
@@ -1843,18 +1871,18 @@ var Pt = {
1843
1871
  onAnimationEnd: () => {
1844
1872
  p || g(!1);
1845
1873
  },
1846
- children: c ? /* @__PURE__ */ O("div", {
1874
+ children: c ? /* @__PURE__ */ A("div", {
1847
1875
  className: W.panel__loading,
1848
- children: [/* @__PURE__ */ D("span", {
1876
+ children: [/* @__PURE__ */ k("span", {
1849
1877
  className: W.panel__spinner,
1850
1878
  "aria-hidden": "true"
1851
1879
  }), "Loading…"]
1852
- }) : C.length === 0 ? /* @__PURE__ */ D("div", {
1880
+ }) : T.length === 0 ? /* @__PURE__ */ k("div", {
1853
1881
  className: W.panel__empty,
1854
1882
  children: "No options available"
1855
- }) : C.map((e, t) => {
1856
- let n = x.includes(e.value);
1857
- return /* @__PURE__ */ O("div", {
1883
+ }) : T.map((e, t) => {
1884
+ let n = C.includes(e.value);
1885
+ return /* @__PURE__ */ A("div", {
1858
1886
  id: `${f}-opt-${t}`,
1859
1887
  role: "option",
1860
1888
  "aria-selected": n,
@@ -1865,21 +1893,21 @@ var Pt = {
1865
1893
  e.disabled ? W["option--disabled"] : ""
1866
1894
  ].filter(Boolean).join(" "),
1867
1895
  onMouseEnter: () => v(t),
1868
- onClick: () => re(e),
1896
+ onClick: () => E(e),
1869
1897
  children: [
1870
- e.icon && /* @__PURE__ */ D("span", {
1898
+ e.icon && /* @__PURE__ */ k("span", {
1871
1899
  className: W.option__icon,
1872
1900
  "aria-hidden": "true",
1873
1901
  children: e.icon
1874
1902
  }),
1875
- /* @__PURE__ */ D("span", {
1903
+ /* @__PURE__ */ k("span", {
1876
1904
  className: W.option__label,
1877
1905
  children: e.label
1878
1906
  }),
1879
- n && /* @__PURE__ */ D("span", {
1907
+ n && /* @__PURE__ */ k("span", {
1880
1908
  className: W.option__check,
1881
1909
  "aria-hidden": "true",
1882
- children: /* @__PURE__ */ D("svg", {
1910
+ children: /* @__PURE__ */ k("svg", {
1883
1911
  width: 16,
1884
1912
  height: 16,
1885
1913
  viewBox: "0 0 24 24",
@@ -1888,25 +1916,25 @@ var Pt = {
1888
1916
  strokeWidth: 2,
1889
1917
  strokeLinecap: "round",
1890
1918
  strokeLinejoin: "round",
1891
- children: /* @__PURE__ */ D("polyline", { points: "20 6 9 17 4 12" })
1919
+ children: /* @__PURE__ */ k("polyline", { points: "20 6 9 17 4 12" })
1892
1920
  })
1893
1921
  })
1894
1922
  ]
1895
1923
  }, e.value);
1896
1924
  })
1897
1925
  }),
1898
- (i || a) && /* @__PURE__ */ D("span", {
1899
- className: S ? W.field__error : W.field__description,
1926
+ (i || a) && /* @__PURE__ */ k("span", {
1927
+ className: w ? W.field__error : W.field__description,
1900
1928
  children: a || i
1901
1929
  })
1902
1930
  ]
1903
1931
  });
1904
- }, Jn = {
1932
+ }, Yn = {
1905
1933
  chart: "_chart_aiboa_2",
1906
1934
  center: "_center_aiboa_26",
1907
1935
  center__value: "_center__value_aiboa_35",
1908
1936
  center__caption: "_center__caption_aiboa_36"
1909
- }, Yn = {
1937
+ }, Xn = {
1910
1938
  sm: {
1911
1939
  h: 180,
1912
1940
  inner: 50,
@@ -1927,39 +1955,38 @@ var Pt = {
1927
1955
  inner: 98,
1928
1956
  outer: 142
1929
1957
  }
1930
- }, Xn = (e) => typeof window < "u" && getComputedStyle(document.documentElement).getPropertyValue(e).trim() || void 0, Zn = ({ data: e, size: t = "md", centerValue: n, centerCaption: r, height: i, className: a }) => {
1931
- let [o, s] = E.useState(null), [c, l] = E.useState(null), u = (e) => {
1958
+ }, Zn = ({ data: e, size: t = "md", centerValue: n, centerCaption: r, height: i, className: a }) => {
1959
+ let [o, s] = O.useState(null), [c, l] = O.useState(null), u = (e) => {
1932
1960
  let t = e.currentTarget.getBoundingClientRect();
1933
1961
  l({
1934
1962
  x: e.clientX - t.left,
1935
1963
  y: e.clientY - t.top
1936
1964
  });
1937
- };
1938
- T();
1939
- let d = [
1965
+ }, d = O.useRef(null), f = N(d), p = [
1940
1966
  1,
1941
1967
  2,
1942
1968
  3,
1943
1969
  4,
1944
1970
  5
1945
- ].map((e) => Xn(`--color-chart-${e}`) ?? "#ff4700"), f = {
1946
- ...Yn[t],
1947
- h: i ?? Yn[t].h
1948
- }, p = (f.outer - f.inner) / 2 - 7;
1949
- return /* @__PURE__ */ O("div", {
1950
- className: [Jn.chart, a ?? ""].filter(Boolean).join(" "),
1951
- style: { height: f.h },
1971
+ ].map((e) => f(`--color-chart-${e}`) ?? Xt[e - 1]), m = {
1972
+ ...Xn[t],
1973
+ h: i ?? Xn[t].h
1974
+ }, h = (m.outer - m.inner) / 2 - 7;
1975
+ return /* @__PURE__ */ A("div", {
1976
+ ref: d,
1977
+ className: [Yn.chart, a ?? ""].filter(Boolean).join(" "),
1978
+ style: { height: m.h },
1952
1979
  onMouseMove: u,
1953
- children: [/* @__PURE__ */ D(A, {
1980
+ children: [/* @__PURE__ */ k(At, {
1954
1981
  width: "100%",
1955
1982
  height: "100%",
1956
- children: /* @__PURE__ */ O(xt, { children: [/* @__PURE__ */ D(bt, {
1983
+ children: /* @__PURE__ */ A(xt, { children: [/* @__PURE__ */ k(bt, {
1957
1984
  data: e,
1958
1985
  dataKey: "value",
1959
1986
  nameKey: "label",
1960
- innerRadius: f.inner,
1961
- outerRadius: f.outer,
1962
- cornerRadius: p,
1987
+ innerRadius: m.inner,
1988
+ outerRadius: m.outer,
1989
+ cornerRadius: h,
1963
1990
  paddingAngle: 2,
1964
1991
  stroke: "none",
1965
1992
  isAnimationActive: !1,
@@ -1967,22 +1994,22 @@ var Pt = {
1967
1994
  onMouseLeave: () => {
1968
1995
  s(null), l(null);
1969
1996
  },
1970
- children: e.map((e, t) => /* @__PURE__ */ D(k, {
1971
- fill: d[t % d.length],
1997
+ children: e.map((e, t) => /* @__PURE__ */ k(gt, {
1998
+ fill: p[t % p.length],
1972
1999
  fillOpacity: o !== null && t !== o ? .45 : 1
1973
2000
  }, t))
1974
- }), /* @__PURE__ */ D(jt, {
1975
- content: /* @__PURE__ */ D(Xt, {}),
2001
+ }), /* @__PURE__ */ k(Mt, {
2002
+ content: /* @__PURE__ */ k(Qt, {}),
1976
2003
  wrapperStyle: { zIndex: 50 },
1977
2004
  position: c ?? void 0
1978
2005
  })] })
1979
- }), (n || r) && /* @__PURE__ */ O("div", {
1980
- className: Jn.center,
1981
- children: [n && /* @__PURE__ */ D("span", {
1982
- className: Jn.center__value,
2006
+ }), (n || r) && /* @__PURE__ */ A("div", {
2007
+ className: Yn.center,
2008
+ children: [n && /* @__PURE__ */ k("span", {
2009
+ className: Yn.center__value,
1983
2010
  children: n
1984
- }), r && /* @__PURE__ */ D("span", {
1985
- className: Jn.center__caption,
2011
+ }), r && /* @__PURE__ */ k("span", {
2012
+ className: Yn.center__caption,
1986
2013
  children: r
1987
2014
  })]
1988
2015
  })]
@@ -2002,16 +2029,16 @@ var Pt = {
2002
2029
  file__name: "_file__name_1b5p5_46",
2003
2030
  file__remove: "_file__remove_1b5p5_47"
2004
2031
  }, Qn = ({ accept: e, multiple: t, hint: n = "SVG, PNG, JPG or PDF (max. 2MB)", onFilesChange: r, className: i }) => {
2005
- let a = E.useRef(null), [o, s] = E.useState(!1), [c, l] = E.useState([]), u = (e) => {
2032
+ let a = O.useRef(null), [o, s] = O.useState(!1), [c, l] = O.useState([]), u = (e) => {
2006
2033
  l(e), r?.(e);
2007
2034
  }, d = (e) => {
2008
2035
  if (!e) return;
2009
2036
  let n = Array.from(e);
2010
2037
  u(t ? [...c, ...n] : n.slice(0, 1));
2011
2038
  }, f = (e) => u(c.filter((t, n) => n !== e));
2012
- return /* @__PURE__ */ O("div", {
2039
+ return /* @__PURE__ */ A("div", {
2013
2040
  className: [G.wrap, i ?? ""].filter(Boolean).join(" "),
2014
- children: [/* @__PURE__ */ O("div", {
2041
+ children: [/* @__PURE__ */ A("div", {
2015
2042
  className: [G.dropzone, o ? G["dropzone--dragging"] : ""].filter(Boolean).join(" "),
2016
2043
  onClick: () => a.current?.click(),
2017
2044
  onDragOver: (e) => {
@@ -2027,26 +2054,26 @@ var Pt = {
2027
2054
  (e.key === "Enter" || e.key === " ") && a.current?.click();
2028
2055
  },
2029
2056
  children: [
2030
- /* @__PURE__ */ D("span", {
2057
+ /* @__PURE__ */ k("span", {
2031
2058
  className: G.dropzone__icon,
2032
2059
  "aria-hidden": "true",
2033
- children: /* @__PURE__ */ D(ut, {
2060
+ children: /* @__PURE__ */ k(lt, {
2034
2061
  size: 22,
2035
- strokeWidth: w(22)
2062
+ strokeWidth: D(22)
2036
2063
  })
2037
2064
  }),
2038
- /* @__PURE__ */ O("span", {
2065
+ /* @__PURE__ */ A("span", {
2039
2066
  className: G.dropzone__label,
2040
- children: [/* @__PURE__ */ D("span", {
2067
+ children: [/* @__PURE__ */ k("span", {
2041
2068
  className: G.dropzone__link,
2042
2069
  children: "Click to upload"
2043
2070
  }), " or drag and drop"]
2044
2071
  }),
2045
- /* @__PURE__ */ D("span", {
2072
+ /* @__PURE__ */ k("span", {
2046
2073
  className: G.dropzone__hint,
2047
2074
  children: n
2048
2075
  }),
2049
- /* @__PURE__ */ D("input", {
2076
+ /* @__PURE__ */ k("input", {
2050
2077
  ref: a,
2051
2078
  type: "file",
2052
2079
  accept: e,
@@ -2055,31 +2082,31 @@ var Pt = {
2055
2082
  onChange: (e) => d(e.target.files)
2056
2083
  })
2057
2084
  ]
2058
- }), c.length > 0 && /* @__PURE__ */ D("ul", {
2085
+ }), c.length > 0 && /* @__PURE__ */ k("ul", {
2059
2086
  className: G.files,
2060
- children: c.map((e, t) => /* @__PURE__ */ O("li", {
2087
+ children: c.map((e, t) => /* @__PURE__ */ A("li", {
2061
2088
  className: G.file,
2062
2089
  children: [
2063
- /* @__PURE__ */ D("span", {
2090
+ /* @__PURE__ */ k("span", {
2064
2091
  className: G.file__icon,
2065
2092
  "aria-hidden": "true",
2066
- children: /* @__PURE__ */ D(Ye, {
2093
+ children: /* @__PURE__ */ k(Je, {
2067
2094
  size: 16,
2068
- strokeWidth: w(16)
2095
+ strokeWidth: D(16)
2069
2096
  })
2070
2097
  }),
2071
- /* @__PURE__ */ D("span", {
2098
+ /* @__PURE__ */ k("span", {
2072
2099
  className: G.file__name,
2073
2100
  children: e.name
2074
2101
  }),
2075
- /* @__PURE__ */ D("button", {
2102
+ /* @__PURE__ */ k("button", {
2076
2103
  type: "button",
2077
2104
  className: G.file__remove,
2078
2105
  onClick: () => f(t),
2079
2106
  "aria-label": `Remove ${e.name}`,
2080
- children: /* @__PURE__ */ D(dt, {
2107
+ children: /* @__PURE__ */ k(ut, {
2081
2108
  size: 14,
2082
- strokeWidth: w(14)
2109
+ strokeWidth: D(14)
2083
2110
  })
2084
2111
  })
2085
2112
  ]
@@ -2104,80 +2131,79 @@ var Pt = {
2104
2131
  md: 240,
2105
2132
  lg: 320,
2106
2133
  xl: 420
2107
- }, er = 560, tr = (e) => typeof window < "u" && getComputedStyle(document.documentElement).getPropertyValue(e).trim() || void 0, nr = .3, rr = .55, ir = ({ data: e, size: t = "md", className: n }) => {
2108
- let [r, i] = E.useState(null);
2109
- T();
2110
- let a = tr("--color-chart-1") ?? "#ff4700", o = tr("--color-bg-canvas") ?? "#fafaf9", s = e[0]?.value || 1, c = $n[t], l = c * .66, u = l / 2 + 8, d = er / e.length, f = e[0]?.value || 1, p = (e) => e / f * l, m = e.map((e) => p(e.value));
2111
- m.push(p(e[e.length - 1]?.value ?? 0) * rr);
2112
- let h = (t) => e.length <= 1 ? 1 : nr + t / (e.length - 1) * (1 - nr), g = r === null ? null : e[r], _ = r === null ? 0 : u - m[r] / 2, v = r === null ? 0 : r * d + d / 2;
2113
- return /* @__PURE__ */ O("div", {
2134
+ }, er = 560, tr = .3, nr = .55, rr = ({ data: e, size: t = "md", className: n }) => {
2135
+ let [r, i] = O.useState(null), a = O.useRef(null), o = N(a), s = o("--color-chart-1") ?? "#ff4700", c = o("--color-bg-canvas") ?? "#fafaf9", l = e[0]?.value || 1, u = $n[t], d = u * .66, f = d / 2 + 8, p = er / e.length, m = e[0]?.value || 1, h = (e) => e / m * d, g = e.map((e) => h(e.value));
2136
+ g.push(h(e[e.length - 1]?.value ?? 0) * nr);
2137
+ let _ = (t) => e.length <= 1 ? 1 : tr + t / (e.length - 1) * (1 - tr), v = r === null ? null : e[r], y = r === null ? 0 : f - g[r] / 2, b = r === null ? 0 : r * p + p / 2;
2138
+ return /* @__PURE__ */ A("div", {
2139
+ ref: a,
2114
2140
  className: [K.chart, n ?? ""].filter(Boolean).join(" "),
2115
- style: { height: c },
2141
+ style: { height: u },
2116
2142
  children: [
2117
- /* @__PURE__ */ D("svg", {
2118
- viewBox: `0 0 ${er} ${c}`,
2143
+ /* @__PURE__ */ k("svg", {
2144
+ viewBox: `0 0 ${er} ${u}`,
2119
2145
  width: "100%",
2120
- height: c,
2146
+ height: u,
2121
2147
  className: K.svg,
2122
2148
  children: e.map((e, t) => {
2123
- let n = t * d, o = (t + 1) * d, c = (n + o) / 2, l = m[t] / 2, f = m[t + 1] / 2, p = u - l, g = u - f, _ = u + l, v = u + f, y = [
2124
- `M ${n} ${p}`,
2125
- `C ${c} ${p} ${c} ${g} ${o} ${g}`,
2126
- `L ${o} ${v}`,
2127
- `C ${c} ${v} ${c} ${_} ${n} ${_}`,
2149
+ let n = t * p, a = (t + 1) * p, o = (n + a) / 2, c = g[t] / 2, u = g[t + 1] / 2, d = f - c, m = f - u, h = f + c, v = f + u, y = [
2150
+ `M ${n} ${d}`,
2151
+ `C ${o} ${d} ${o} ${m} ${a} ${m}`,
2152
+ `L ${a} ${v}`,
2153
+ `C ${o} ${v} ${o} ${h} ${n} ${h}`,
2128
2154
  "Z"
2129
- ].join(" "), ee = r === null ? h(t) : t === r ? 1 : .45, te = Math.round(e.value / s * 100);
2130
- return /* @__PURE__ */ O("g", {
2155
+ ].join(" "), b = r === null ? _(t) : t === r ? 1 : .45, x = Math.round(e.value / l * 100);
2156
+ return /* @__PURE__ */ A("g", {
2131
2157
  className: K.segment,
2132
2158
  onMouseEnter: () => i(t),
2133
2159
  onMouseLeave: () => i(null),
2134
- children: [/* @__PURE__ */ D("path", {
2160
+ children: [/* @__PURE__ */ k("path", {
2135
2161
  d: y,
2136
- fill: a,
2137
- fillOpacity: ee
2138
- }), /* @__PURE__ */ O("text", {
2139
- x: c,
2140
- y: u,
2162
+ fill: s,
2163
+ fillOpacity: b
2164
+ }), /* @__PURE__ */ A("text", {
2165
+ x: o,
2166
+ y: f,
2141
2167
  textAnchor: "middle",
2142
2168
  dominantBaseline: "middle",
2143
2169
  className: K.pctLabel,
2144
- children: [te, "%"]
2170
+ children: [x, "%"]
2145
2171
  })]
2146
2172
  }, t);
2147
2173
  })
2148
2174
  }),
2149
- /* @__PURE__ */ D("div", {
2175
+ /* @__PURE__ */ k("div", {
2150
2176
  className: K.labels,
2151
2177
  style: { gridTemplateColumns: `repeat(${e.length}, 1fr)` },
2152
- children: e.map((e, t) => /* @__PURE__ */ D("span", {
2178
+ children: e.map((e, t) => /* @__PURE__ */ k("span", {
2153
2179
  className: K.labelItem,
2154
2180
  children: e.label
2155
2181
  }, t))
2156
2182
  }),
2157
- g && /* @__PURE__ */ O("div", {
2183
+ v && /* @__PURE__ */ A("div", {
2158
2184
  className: K.tooltip,
2159
2185
  style: {
2160
- left: `${v / er * 100}%`,
2161
- top: `${_ / c * 100}%`,
2162
- background: o
2186
+ left: `${b / er * 100}%`,
2187
+ top: `${y / u * 100}%`,
2188
+ background: c
2163
2189
  },
2164
- children: [/* @__PURE__ */ D("span", {
2190
+ children: [/* @__PURE__ */ k("span", {
2165
2191
  className: K.tooltip__title,
2166
- children: g.label
2167
- }), /* @__PURE__ */ O("div", {
2192
+ children: v.label
2193
+ }), /* @__PURE__ */ A("div", {
2168
2194
  className: K.tooltip__row,
2169
2195
  children: [
2170
- /* @__PURE__ */ D("span", {
2196
+ /* @__PURE__ */ k("span", {
2171
2197
  className: K.tooltip__dot,
2172
- style: { background: a }
2198
+ style: { background: s }
2173
2199
  }),
2174
- /* @__PURE__ */ D("span", {
2200
+ /* @__PURE__ */ k("span", {
2175
2201
  className: K.tooltip__label,
2176
2202
  children: "Share"
2177
2203
  }),
2178
- /* @__PURE__ */ O("span", {
2204
+ /* @__PURE__ */ A("span", {
2179
2205
  className: K.tooltip__value,
2180
- children: [Math.round(g.value / s * 100), "%"]
2206
+ children: [Math.round(v.value / l * 100), "%"]
2181
2207
  })
2182
2208
  ]
2183
2209
  })]
@@ -2200,11 +2226,10 @@ var Pt = {
2200
2226
  tooltip__dot: "_tooltip__dot_1yc8b_84",
2201
2227
  tooltip__label: "_tooltip__label_1yc8b_91",
2202
2228
  tooltip__value: "_tooltip__value_1yc8b_92"
2203
- }, ar = (e) => typeof window < "u" && getComputedStyle(document.documentElement).getPropertyValue(e).trim() || void 0, or = .12, sr = .45, cr = ({ data: e, rowLabels: t, colLabels: n, valueLabel: r = "Value", size: i = "md", className: a }) => {
2204
- T();
2205
- let o = E.useRef(null), [s, c] = E.useState(null), l = ar("--color-chart-1") ?? "#ff4700", u = Math.max(1, ...e.flat()), d = e[0]?.length ?? 0, f = (e, t, n) => (r) => {
2206
- let i = r.currentTarget.getBoundingClientRect(), a = o.current?.getBoundingClientRect();
2207
- a && c({
2229
+ }, ir = .12, ar = .45, or = ({ data: e, rowLabels: t, colLabels: n, valueLabel: r = "Value", size: i = "md", className: a }) => {
2230
+ let o = O.useRef(null), s = N(o), c = O.useRef(null), [l, u] = O.useState(null), d = s("--color-chart-1") ?? "#ff4700", f = Math.max(1, ...e.flat()), p = e[0]?.length ?? 0, m = (e, t, n) => (r) => {
2231
+ let i = r.currentTarget.getBoundingClientRect(), a = c.current?.getBoundingClientRect();
2232
+ a && u({
2208
2233
  row: e,
2209
2234
  col: t,
2210
2235
  value: n,
@@ -2212,56 +2237,57 @@ var Pt = {
2212
2237
  top: i.top - a.top
2213
2238
  });
2214
2239
  };
2215
- return /* @__PURE__ */ D("div", {
2240
+ return /* @__PURE__ */ k("div", {
2241
+ ref: o,
2216
2242
  className: [
2217
2243
  q.chart,
2218
2244
  q[`chart--${i}`],
2219
2245
  a ?? ""
2220
2246
  ].filter(Boolean).join(" "),
2221
- children: /* @__PURE__ */ O("div", {
2222
- ref: o,
2247
+ children: /* @__PURE__ */ A("div", {
2248
+ ref: c,
2223
2249
  className: q.grid,
2224
- style: { gridTemplateColumns: `auto repeat(${d}, 1fr)` },
2250
+ style: { gridTemplateColumns: `auto repeat(${p}, 1fr)` },
2225
2251
  children: [
2226
- e.map((e, n) => /* @__PURE__ */ O(E.Fragment, { children: [/* @__PURE__ */ D("span", {
2252
+ e.map((e, n) => /* @__PURE__ */ A(O.Fragment, { children: [/* @__PURE__ */ k("span", {
2227
2253
  className: q.rowLabel,
2228
2254
  children: t?.[n] ?? ""
2229
2255
  }), e.map((e, t) => {
2230
- let r = s?.row === n && s?.col === t, i = s !== null && !r, a = r ? 1 : or + e / u * (1 - or);
2231
- return /* @__PURE__ */ D("div", {
2256
+ let r = l?.row === n && l?.col === t, i = l !== null && !r, a = r ? 1 : ir + e / f * (1 - ir);
2257
+ return /* @__PURE__ */ k("div", {
2232
2258
  className: q.cell,
2233
2259
  style: {
2234
- background: l,
2235
- opacity: i ? sr : a
2260
+ background: d,
2261
+ opacity: i ? ar : a
2236
2262
  },
2237
- onMouseEnter: f(n, t, e),
2238
- onMouseLeave: () => c(null)
2263
+ onMouseEnter: m(n, t, e),
2264
+ onMouseLeave: () => u(null)
2239
2265
  }, t);
2240
2266
  })] }, n)),
2241
- n && /* @__PURE__ */ O(Be, { children: [/* @__PURE__ */ D("span", {}), n.map((e, t) => /* @__PURE__ */ D("span", {
2267
+ n && /* @__PURE__ */ A(ze, { children: [/* @__PURE__ */ k("span", {}), n.map((e, t) => /* @__PURE__ */ k("span", {
2242
2268
  className: q.colLabel,
2243
2269
  children: e
2244
2270
  }, t))] }),
2245
- s && /* @__PURE__ */ O("div", {
2271
+ l && /* @__PURE__ */ A("div", {
2246
2272
  className: q.tooltip,
2247
2273
  style: {
2248
- left: s.left,
2249
- top: s.top
2274
+ left: l.left,
2275
+ top: l.top
2250
2276
  },
2251
- children: [/* @__PURE__ */ D("span", {
2277
+ children: [/* @__PURE__ */ k("span", {
2252
2278
  className: q.tooltip__title,
2253
- children: [t?.[s.row], n?.[s.col]].filter(Boolean).join(" · ") || `Row ${s.row + 1}, Col ${s.col + 1}`
2254
- }), /* @__PURE__ */ O("div", {
2279
+ children: [t?.[l.row], n?.[l.col]].filter(Boolean).join(" · ") || `Row ${l.row + 1}, Col ${l.col + 1}`
2280
+ }), /* @__PURE__ */ A("div", {
2255
2281
  className: q.tooltip__row,
2256
2282
  children: [
2257
- /* @__PURE__ */ D("span", { className: q.tooltip__dot }),
2258
- /* @__PURE__ */ D("span", {
2283
+ /* @__PURE__ */ k("span", { className: q.tooltip__dot }),
2284
+ /* @__PURE__ */ k("span", {
2259
2285
  className: q.tooltip__label,
2260
2286
  children: r
2261
2287
  }),
2262
- /* @__PURE__ */ D("span", {
2288
+ /* @__PURE__ */ k("span", {
2263
2289
  className: q.tooltip__value,
2264
- children: s.value
2290
+ children: l.value
2265
2291
  })
2266
2292
  ]
2267
2293
  })]
@@ -2269,66 +2295,65 @@ var Pt = {
2269
2295
  ]
2270
2296
  })
2271
2297
  });
2272
- }, lr = { kbd: "_kbd_1cz4m_3" }, ur = ({ children: e, className: t }) => /* @__PURE__ */ D("kbd", {
2273
- className: [lr.kbd, t ?? ""].filter(Boolean).join(" "),
2298
+ }, sr = { kbd: "_kbd_1cz4m_3" }, cr = ({ children: e, className: t }) => /* @__PURE__ */ k("kbd", {
2299
+ className: [sr.kbd, t ?? ""].filter(Boolean).join(" "),
2274
2300
  children: e
2275
- }), dr = {
2301
+ }), lr = {
2276
2302
  label: "_label_rcdks_3",
2277
2303
  label__required: "_label__required_rcdks_17"
2278
- }, fr = E.forwardRef(({ required: e, children: t, className: n, ...r }, i) => /* @__PURE__ */ O("label", {
2304
+ }, ur = O.forwardRef(({ required: e, children: t, className: n, ...r }, i) => /* @__PURE__ */ A("label", {
2279
2305
  ref: i,
2280
- className: [dr.label, n ?? ""].filter(Boolean).join(" "),
2306
+ className: [lr.label, n ?? ""].filter(Boolean).join(" "),
2281
2307
  ...r,
2282
- children: [t, e && /* @__PURE__ */ D("span", {
2283
- className: dr.label__required,
2308
+ children: [t, e && /* @__PURE__ */ k("span", {
2309
+ className: lr.label__required,
2284
2310
  "aria-hidden": "true",
2285
2311
  children: " *"
2286
2312
  })]
2287
2313
  }));
2288
- fr.displayName = "Label";
2289
- var pr = { chart: "_chart_18fgd_2" }, mr = {
2314
+ ur.displayName = "Label";
2315
+ var dr = { chart: "_chart_18fgd_2" }, fr = {
2290
2316
  sm: 180,
2291
2317
  md: 240,
2292
2318
  lg: 320,
2293
2319
  xl: 420
2294
- }, hr = (e) => typeof window < "u" && getComputedStyle(document.documentElement).getPropertyValue(e).trim() || void 0, gr = /* @__PURE__ */ new Set([
2320
+ }, pr = /* @__PURE__ */ new Set([
2295
2321
  "dots",
2296
2322
  "custom-dots",
2297
2323
  "dots-colors",
2298
2324
  "label",
2299
2325
  "custom-label"
2300
- ]), _r = ({ data: e, series: t, xKey: n = "label", variant: r = "default", labelKey: i, size: a = "md", height: o, showLegend: s, className: c }) => {
2301
- T();
2302
- let l = [
2326
+ ]), mr = ({ data: e, series: t, xKey: n = "label", variant: r = "default", labelKey: i, size: a = "md", height: o, showLegend: s, className: c }) => {
2327
+ let l = O.useRef(null), u = N(l), d = [
2303
2328
  1,
2304
2329
  2,
2305
2330
  3,
2306
2331
  4,
2307
2332
  5
2308
- ].map((e) => hr(`--color-chart-${e}`) ?? "#ff4700"), u = [
2309
- l[1],
2310
- l[0],
2311
- ...l.slice(2)
2312
- ], d = hr("--color-border-subtle") ?? "#e5e4e7", f = hr("--color-fg-muted") ?? "#6b6375", p = hr("--color-bg-canvas") ?? "#fafaf9", m = hr("--color-fg-default") ?? "#141414", h = r === "linear" ? "linear" : r === "step" ? "step" : "monotone", g = gr.has(r), _ = (e) => (t) => {
2333
+ ].map((e) => u(`--color-chart-${e}`) ?? Xt[e - 1]), f = [
2334
+ d[1],
2335
+ d[0],
2336
+ ...d.slice(2)
2337
+ ], p = u("--color-border-subtle") ?? "#e7e5e1", m = u("--color-fg-muted") ?? "#78716a", h = u("--color-bg-canvas") ?? "#fafaf9", g = u("--color-fg-default") ?? "#141414", _ = r === "linear" ? "linear" : r === "step" ? "step" : "monotone", v = pr.has(r), y = (e) => (t) => {
2313
2338
  let { cx: n, cy: r } = t;
2314
- return /* @__PURE__ */ O("g", {
2339
+ return /* @__PURE__ */ A("g", {
2315
2340
  stroke: e,
2316
2341
  strokeWidth: 2,
2317
2342
  strokeLinecap: "round",
2318
2343
  children: [
2319
- /* @__PURE__ */ D("line", {
2344
+ /* @__PURE__ */ k("line", {
2320
2345
  x1: n,
2321
2346
  y1: r - 3,
2322
2347
  x2: n,
2323
2348
  y2: r - 3 - 6
2324
2349
  }),
2325
- /* @__PURE__ */ D("line", {
2350
+ /* @__PURE__ */ k("line", {
2326
2351
  x1: n,
2327
2352
  y1: r + 3,
2328
2353
  x2: n,
2329
2354
  y2: r + 3 + 6
2330
2355
  }),
2331
- /* @__PURE__ */ D("circle", {
2356
+ /* @__PURE__ */ k("circle", {
2332
2357
  cx: n,
2333
2358
  cy: r,
2334
2359
  r: 3,
@@ -2337,35 +2362,36 @@ var pr = { chart: "_chart_18fgd_2" }, mr = {
2337
2362
  })
2338
2363
  ]
2339
2364
  });
2340
- }, v = (e) => {
2341
- let { cx: t, cy: n, index: r } = e, i = l[(r ?? 0) % l.length];
2342
- return /* @__PURE__ */ D("circle", {
2365
+ }, b = (e) => {
2366
+ let { cx: t, cy: n, index: r } = e, i = d[(r ?? 0) % d.length];
2367
+ return /* @__PURE__ */ k("circle", {
2343
2368
  cx: t,
2344
2369
  cy: n,
2345
2370
  r: 4,
2346
2371
  fill: i,
2347
- stroke: p,
2372
+ stroke: h,
2348
2373
  strokeWidth: 1.5
2349
2374
  });
2350
- }, y = (t) => {
2375
+ }, x = (t) => {
2351
2376
  let { x: n, y: a, value: o, index: s } = t, c = r === "custom-label" && i ? e[s]?.[i] : o;
2352
- return c === void 0 ? /* @__PURE__ */ D("g", {}) : /* @__PURE__ */ D("text", {
2377
+ return c === void 0 ? /* @__PURE__ */ k("g", {}) : /* @__PURE__ */ k("text", {
2353
2378
  x: n,
2354
2379
  y: a - 12,
2355
2380
  textAnchor: "middle",
2356
- fill: m,
2381
+ fill: g,
2357
2382
  fontSize: 12,
2358
2383
  fontWeight: 500,
2359
2384
  fontFamily: "var(--font-sans)",
2360
2385
  children: c
2361
2386
  });
2362
2387
  };
2363
- return /* @__PURE__ */ D("div", {
2364
- className: [pr.chart, c ?? ""].filter(Boolean).join(" "),
2365
- children: /* @__PURE__ */ D(A, {
2388
+ return /* @__PURE__ */ k("div", {
2389
+ ref: l,
2390
+ className: [dr.chart, c ?? ""].filter(Boolean).join(" "),
2391
+ children: /* @__PURE__ */ k(At, {
2366
2392
  width: "100%",
2367
- height: o ?? mr[a],
2368
- children: /* @__PURE__ */ O(yt, {
2393
+ height: o ?? fr[a],
2394
+ children: /* @__PURE__ */ A(yt, {
2369
2395
  data: e,
2370
2396
  margin: {
2371
2397
  top: 8,
@@ -2374,40 +2400,40 @@ var pr = { chart: "_chart_18fgd_2" }, mr = {
2374
2400
  left: 12
2375
2401
  },
2376
2402
  children: [
2377
- /* @__PURE__ */ D(gt, {
2403
+ /* @__PURE__ */ k(ht, {
2378
2404
  strokeDasharray: "3 3",
2379
- stroke: d,
2405
+ stroke: p,
2380
2406
  vertical: !1
2381
2407
  }),
2382
- /* @__PURE__ */ D(Mt, {
2408
+ /* @__PURE__ */ k(Nt, {
2383
2409
  dataKey: n,
2384
- stroke: f,
2410
+ stroke: m,
2385
2411
  fontSize: 12,
2386
2412
  tickLine: !1,
2387
2413
  axisLine: !1,
2388
2414
  interval: 0
2389
2415
  }),
2390
- /* @__PURE__ */ D(jt, {
2416
+ /* @__PURE__ */ k(Mt, {
2391
2417
  cursor: {
2392
- stroke: hr("--color-border-default") ?? "#d6d3ce",
2418
+ stroke: u("--color-border-default") ?? "#dbdad7",
2393
2419
  strokeWidth: 1
2394
2420
  },
2395
- content: /* @__PURE__ */ D(Xt, {}),
2421
+ content: /* @__PURE__ */ k(Qt, {}),
2396
2422
  wrapperStyle: { zIndex: 50 }
2397
2423
  }),
2398
- s && /* @__PURE__ */ D(_t, { wrapperStyle: {
2424
+ s && /* @__PURE__ */ k(_t, { wrapperStyle: {
2399
2425
  fontSize: 12,
2400
2426
  fontFamily: "var(--font-sans)"
2401
2427
  } }),
2402
2428
  t.map((e, t) => {
2403
- let n = u[t % u.length], i = g ? r === "custom-dots" ? _(n) : r === "dots-colors" ? v : {
2429
+ let n = f[t % f.length], i = v ? r === "custom-dots" ? y(n) : r === "dots-colors" ? b : {
2404
2430
  r: 4,
2405
2431
  fill: n,
2406
- stroke: p,
2432
+ stroke: h,
2407
2433
  strokeWidth: 1.5
2408
2434
  } : !1;
2409
- return /* @__PURE__ */ D(vt, {
2410
- type: h,
2435
+ return /* @__PURE__ */ k(vt, {
2436
+ type: _,
2411
2437
  dataKey: e,
2412
2438
  stroke: n,
2413
2439
  strokeWidth: 2,
@@ -2415,17 +2441,17 @@ var pr = { chart: "_chart_18fgd_2" }, mr = {
2415
2441
  activeDot: {
2416
2442
  r: 4,
2417
2443
  fill: n,
2418
- stroke: p,
2444
+ stroke: h,
2419
2445
  strokeWidth: 1.5
2420
2446
  },
2421
- label: r === "label" || r === "custom-label" ? y : void 0
2447
+ label: r === "label" || r === "custom-label" ? x : void 0
2422
2448
  }, e);
2423
2449
  })
2424
2450
  ]
2425
2451
  })
2426
2452
  })
2427
2453
  });
2428
- }, J = {
2454
+ }, hr = {
2429
2455
  item: "_item_1b54h_2",
2430
2456
  "item--disabled": "_item--disabled_1b54h_16",
2431
2457
  "item--selected": "_item--selected_1b54h_17",
@@ -2434,50 +2460,50 @@ var pr = { chart: "_chart_18fgd_2" }, mr = {
2434
2460
  item__title: "_item__title_1b54h_22",
2435
2461
  item__description: "_item__description_1b54h_23",
2436
2462
  item__trailing: "_item__trailing_1b54h_24"
2437
- }, vr = ({ title: e, description: t, leading: n, trailing: r, selected: i, disabled: a, onClick: o, className: s }) => /* @__PURE__ */ O("button", {
2463
+ }, gr = ({ title: e, description: t, leading: n, trailing: r, selected: i, disabled: a, onClick: o, className: s }) => /* @__PURE__ */ A("button", {
2438
2464
  type: "button",
2439
2465
  disabled: a,
2440
2466
  onClick: o,
2441
2467
  "aria-current": i ? "true" : void 0,
2442
2468
  className: [
2443
- J.item,
2444
- i ? J["item--selected"] : "",
2445
- a ? J["item--disabled"] : "",
2469
+ hr.item,
2470
+ i ? hr["item--selected"] : "",
2471
+ a ? hr["item--disabled"] : "",
2446
2472
  s ?? ""
2447
2473
  ].filter(Boolean).join(" "),
2448
2474
  children: [
2449
- n && /* @__PURE__ */ D("span", {
2450
- className: J.item__leading,
2475
+ n && /* @__PURE__ */ k("span", {
2476
+ className: hr.item__leading,
2451
2477
  children: n
2452
2478
  }),
2453
- /* @__PURE__ */ O("span", {
2454
- className: J.item__text,
2455
- children: [/* @__PURE__ */ D("span", {
2456
- className: J.item__title,
2479
+ /* @__PURE__ */ A("span", {
2480
+ className: hr.item__text,
2481
+ children: [/* @__PURE__ */ k("span", {
2482
+ className: hr.item__title,
2457
2483
  children: e
2458
- }), t && /* @__PURE__ */ D("span", {
2459
- className: J.item__description,
2484
+ }), t && /* @__PURE__ */ k("span", {
2485
+ className: hr.item__description,
2460
2486
  children: t
2461
2487
  })]
2462
2488
  }),
2463
- r && /* @__PURE__ */ D("span", {
2464
- className: J.item__trailing,
2489
+ r && /* @__PURE__ */ k("span", {
2490
+ className: hr.item__trailing,
2465
2491
  children: r
2466
2492
  })
2467
2493
  ]
2468
- }), yr = {
2494
+ }), _r = {
2469
2495
  menu: "_menu_psizn_2",
2470
2496
  divider: "_divider_psizn_12"
2471
- }, br = ({ children: e, minWidth: t = 208, className: n, ...r }) => /* @__PURE__ */ D("div", {
2497
+ }, vr = ({ children: e, minWidth: t = 208, className: n, ...r }) => /* @__PURE__ */ k("div", {
2472
2498
  role: "menu",
2473
2499
  "aria-label": r["aria-label"],
2474
2500
  style: { minWidth: t },
2475
- className: [yr.menu, n ?? ""].filter(Boolean).join(" "),
2501
+ className: [_r.menu, n ?? ""].filter(Boolean).join(" "),
2476
2502
  children: e
2477
- }), xr = () => /* @__PURE__ */ D("div", {
2478
- className: yr.divider,
2503
+ }), yr = () => /* @__PURE__ */ k("div", {
2504
+ className: _r.divider,
2479
2505
  role: "separator"
2480
- }), Sr = {
2506
+ }), br = {
2481
2507
  item: "_item_1xzse_2",
2482
2508
  item__icon: "_item__icon_1xzse_21",
2483
2509
  item__label: "_item__label_1xzse_22",
@@ -2486,9 +2512,9 @@ var pr = { chart: "_chart_18fgd_2" }, mr = {
2486
2512
  "item--checked": "_item--checked_1xzse_32",
2487
2513
  "item--disabled": "_item--disabled_1xzse_33",
2488
2514
  "item--destructive": "_item--destructive_1xzse_34"
2489
- }, Cr = ({ state: e = "default", icon: t, shortcut: n, children: r, onSelect: i, className: a }) => {
2515
+ }, xr = ({ state: e = "default", icon: t, shortcut: n, children: r, onSelect: i, className: a }) => {
2490
2516
  let o = e === "disabled";
2491
- return /* @__PURE__ */ O("div", {
2517
+ return /* @__PURE__ */ A("div", {
2492
2518
  role: "menuitem",
2493
2519
  "aria-disabled": o || void 0,
2494
2520
  "aria-checked": e === "checked" || void 0,
@@ -2498,38 +2524,38 @@ var pr = { chart: "_chart_18fgd_2" }, mr = {
2498
2524
  o || (e.key === "Enter" || e.key === " ") && (e.preventDefault(), i?.());
2499
2525
  },
2500
2526
  className: [
2501
- Sr.item,
2502
- Sr[`item--${e}`],
2527
+ br.item,
2528
+ br[`item--${e}`],
2503
2529
  a ?? ""
2504
2530
  ].filter(Boolean).join(" "),
2505
2531
  children: [
2506
- t && /* @__PURE__ */ D("span", {
2507
- className: Sr.item__icon,
2532
+ t && /* @__PURE__ */ k("span", {
2533
+ className: br.item__icon,
2508
2534
  "aria-hidden": "true",
2509
2535
  children: t
2510
2536
  }),
2511
- /* @__PURE__ */ D("span", {
2512
- className: Sr.item__label,
2537
+ /* @__PURE__ */ k("span", {
2538
+ className: br.item__label,
2513
2539
  children: r
2514
2540
  }),
2515
- n && /* @__PURE__ */ D("kbd", {
2516
- className: Sr.item__shortcut,
2541
+ n && /* @__PURE__ */ k("kbd", {
2542
+ className: br.item__shortcut,
2517
2543
  children: n
2518
2544
  }),
2519
- e === "checked" && /* @__PURE__ */ D(Ue, {
2545
+ e === "checked" && /* @__PURE__ */ k(He, {
2520
2546
  size: 16,
2521
- strokeWidth: w(16),
2522
- className: Sr.item__check,
2547
+ strokeWidth: D(16),
2548
+ className: br.item__check,
2523
2549
  "aria-hidden": "true"
2524
2550
  })
2525
2551
  ]
2526
2552
  });
2527
- }, wr = {
2553
+ }, Sr = {
2528
2554
  chart: "_chart_cc7lx_2",
2529
2555
  center: "_center_cc7lx_30",
2530
2556
  center__value: "_center__value_cc7lx_39",
2531
2557
  center__caption: "_center__caption_cc7lx_40"
2532
- }, Tr = {
2558
+ }, Cr = {
2533
2559
  sm: {
2534
2560
  h: 180,
2535
2561
  outer: 72
@@ -2546,22 +2572,21 @@ var pr = { chart: "_chart_18fgd_2" }, mr = {
2546
2572
  h: 340,
2547
2573
  outer: 142
2548
2574
  }
2549
- }, Er = (e) => typeof window < "u" && getComputedStyle(document.documentElement).getPropertyValue(e).trim() || void 0, Dr = /* @__PURE__ */ new Set([
2575
+ }, wr = /* @__PURE__ */ new Set([
2550
2576
  "donut",
2551
2577
  "donut-active",
2552
2578
  "donut-with-text",
2553
2579
  "interactive"
2554
- ]), Or = /* @__PURE__ */ new Set(["donut-active"]), kr = /* @__PURE__ */ new Set(["interactive"]), Ar = /* @__PURE__ */ new Set(["donut-with-text"]), jr = Math.PI / 180, Mr = ({ data: e, variant: t = "donut", size: n = "md", centerValue: r, centerCaption: i, className: a }) => {
2555
- T();
2556
- let [o, s] = E.useState(void 0), c = [
2580
+ ]), Tr = /* @__PURE__ */ new Set(["donut-active"]), Er = /* @__PURE__ */ new Set(["interactive"]), Dr = /* @__PURE__ */ new Set(["donut-with-text"]), Or = Math.PI / 180, kr = ({ data: e, variant: t = "donut", size: n = "md", centerValue: r, centerCaption: i, className: a }) => {
2581
+ let o = O.useRef(null), s = N(o), [c, l] = O.useState(void 0), u = [
2557
2582
  1,
2558
2583
  2,
2559
2584
  3,
2560
2585
  4,
2561
2586
  5
2562
- ].map((e) => Er(`--color-chart-${e}`) ?? "#ff4700"), l = Er("--color-bg-surface") ?? "#ffffff", u = Er("--color-fg-default") ?? "#141414", d = Tr[n], f = Dr.has(t), p = Or.has(t), m = kr.has(t), h = f ? d.outer * .6 : 0, g = Ar.has(t) && (r || i), _ = o ?? (p || m ? 0 : void 0), v = (e) => {
2563
- let { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, fill: s, index: c } = e, l = c === _, u = l && (p || m) ? 16 : 0;
2564
- return l && m ? /* @__PURE__ */ O("g", { children: [/* @__PURE__ */ D(At, {
2587
+ ].map((e) => s(`--color-chart-${e}`) ?? Xt[e - 1]), d = s("--color-bg-surface") ?? "#ffffff", f = s("--color-fg-default") ?? "#141414", p = Cr[n], m = wr.has(t), h = Tr.has(t), g = Er.has(t), _ = m ? p.outer * .6 : 0, v = Dr.has(t) && (r || i), y = c ?? (h || g ? 0 : void 0), b = (e) => {
2588
+ let { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, fill: s, index: c } = e, l = c === y, u = l && (h || g) ? 16 : 0;
2589
+ return l && g ? /* @__PURE__ */ A("g", { children: [/* @__PURE__ */ k(jt, {
2565
2590
  cx: t,
2566
2591
  cy: n,
2567
2592
  innerRadius: r,
@@ -2569,7 +2594,7 @@ var pr = { chart: "_chart_18fgd_2" }, mr = {
2569
2594
  startAngle: a,
2570
2595
  endAngle: o,
2571
2596
  fill: s
2572
- }), /* @__PURE__ */ D(At, {
2597
+ }), /* @__PURE__ */ k(jt, {
2573
2598
  cx: t,
2574
2599
  cy: n,
2575
2600
  innerRadius: i + u + 3,
@@ -2577,7 +2602,7 @@ var pr = { chart: "_chart_18fgd_2" }, mr = {
2577
2602
  startAngle: a,
2578
2603
  endAngle: o,
2579
2604
  fill: s
2580
- })] }) : /* @__PURE__ */ D(At, {
2605
+ })] }) : /* @__PURE__ */ k(jt, {
2581
2606
  cx: t,
2582
2607
  cy: n,
2583
2608
  innerRadius: r,
@@ -2586,49 +2611,49 @@ var pr = { chart: "_chart_18fgd_2" }, mr = {
2586
2611
  endAngle: o,
2587
2612
  fill: s
2588
2613
  });
2589
- }, y = (e) => {
2590
- let { cx: t, cy: n, midAngle: r, outerRadius: i } = e, a = r ?? 0, o = Math.cos(-a * jr), s = Math.sin(-a * jr), c = t + i * o, l = n + i * s, u = t + (i + 16) * o, d = n + (i + 16) * s, f = o >= 0, p = u + (f ? 14 : -14);
2614
+ }, x = (e) => {
2615
+ let { cx: t, cy: n, midAngle: r, outerRadius: i } = e, a = r ?? 0, o = Math.cos(-a * Or), s = Math.sin(-a * Or), c = t + i * o, l = n + i * s, u = t + (i + 16) * o, d = n + (i + 16) * s, f = o >= 0, p = u + (f ? 14 : -14);
2591
2616
  return {
2592
2617
  d: `M ${c} ${l} L ${u} ${d} L ${p} ${d}`,
2593
2618
  endX: p,
2594
2619
  endY: d,
2595
2620
  textAnchor: f ? "start" : "end"
2596
2621
  };
2597
- }, ee = (e) => {
2598
- let { value: t, fill: n } = e, { d: r, endX: i, endY: a, textAnchor: o } = y(e), s = i + (o === "start" ? 4 : -4);
2599
- return /* @__PURE__ */ O("g", { children: [/* @__PURE__ */ D("path", {
2622
+ }, S = (e) => {
2623
+ let { value: t, fill: n } = e, { d: r, endX: i, endY: a, textAnchor: o } = x(e), s = i + (o === "start" ? 4 : -4);
2624
+ return /* @__PURE__ */ A("g", { children: [/* @__PURE__ */ k("path", {
2600
2625
  d: r,
2601
2626
  fill: "none",
2602
2627
  stroke: n,
2603
2628
  strokeWidth: 1
2604
- }), /* @__PURE__ */ D("text", {
2629
+ }), /* @__PURE__ */ k("text", {
2605
2630
  x: s,
2606
2631
  y: a,
2607
2632
  textAnchor: o,
2608
2633
  dominantBaseline: "central",
2609
- fill: u,
2634
+ fill: f,
2610
2635
  fontSize: 12,
2611
2636
  fontFamily: "var(--font-sans)",
2612
2637
  children: t
2613
2638
  })] });
2614
- }, te = (e) => {
2639
+ }, C = (e) => {
2615
2640
  let { x: t, y: n, textAnchor: r, value: i } = e;
2616
- return /* @__PURE__ */ D("text", {
2641
+ return /* @__PURE__ */ k("text", {
2617
2642
  x: t,
2618
2643
  y: n,
2619
2644
  textAnchor: r,
2620
2645
  dominantBaseline: "central",
2621
- fill: u,
2646
+ fill: f,
2622
2647
  fontSize: 20,
2623
2648
  fontWeight: 400,
2624
2649
  fontFamily: "var(--font-sans)",
2625
2650
  children: i
2626
2651
  });
2627
- }, b = (t) => {
2652
+ }, w = (t) => {
2628
2653
  let { cx: n, cy: r, midAngle: i, innerRadius: a, outerRadius: o, index: s } = t, c = (a + o) / 2;
2629
- return /* @__PURE__ */ D("text", {
2630
- x: n + c * Math.cos(-i * jr),
2631
- y: r + c * Math.sin(-i * jr),
2654
+ return /* @__PURE__ */ k("text", {
2655
+ x: n + c * Math.cos(-i * Or),
2656
+ y: r + c * Math.sin(-i * Or),
2632
2657
  textAnchor: "middle",
2633
2658
  dominantBaseline: "central",
2634
2659
  fill: "#fff",
@@ -2639,162 +2664,183 @@ var pr = { chart: "_chart_18fgd_2" }, mr = {
2639
2664
  });
2640
2665
  };
2641
2666
  if (t === "stacked") {
2642
- let t = (e) => o !== void 0 && o !== e ? .45 : 1;
2643
- return /* @__PURE__ */ D("div", {
2644
- className: [wr.chart, a ?? ""].filter(Boolean).join(" "),
2645
- style: { height: d.h },
2646
- children: /* @__PURE__ */ D(A, {
2667
+ let t = (e) => c !== void 0 && c !== e ? .45 : 1;
2668
+ return /* @__PURE__ */ k("div", {
2669
+ ref: o,
2670
+ className: [Sr.chart, a ?? ""].filter(Boolean).join(" "),
2671
+ style: { height: p.h },
2672
+ children: /* @__PURE__ */ k(At, {
2647
2673
  width: "100%",
2648
2674
  height: "100%",
2649
- children: /* @__PURE__ */ O(xt, { children: [
2650
- /* @__PURE__ */ D(bt, {
2675
+ children: /* @__PURE__ */ A(xt, { children: [
2676
+ /* @__PURE__ */ k(bt, {
2651
2677
  data: e,
2652
2678
  dataKey: "value",
2653
2679
  nameKey: "label",
2654
- innerRadius: d.outer * .82,
2655
- outerRadius: d.outer,
2680
+ innerRadius: p.outer * .82,
2681
+ outerRadius: p.outer,
2656
2682
  paddingAngle: 0,
2657
2683
  stroke: "none",
2658
2684
  isAnimationActive: !1,
2659
- onMouseEnter: (e, t) => s(t),
2660
- onMouseLeave: () => s(void 0),
2661
- children: e.map((e, n) => /* @__PURE__ */ D(k, {
2662
- fill: c[n % c.length],
2685
+ onMouseEnter: (e, t) => l(t),
2686
+ onMouseLeave: () => l(void 0),
2687
+ children: e.map((e, n) => /* @__PURE__ */ k(gt, {
2688
+ fill: u[n % u.length],
2663
2689
  fillOpacity: t(n)
2664
2690
  }, n))
2665
2691
  }),
2666
- /* @__PURE__ */ D(bt, {
2692
+ /* @__PURE__ */ k(bt, {
2667
2693
  data: e,
2668
2694
  dataKey: "value",
2669
2695
  nameKey: "label",
2670
2696
  innerRadius: 0,
2671
- outerRadius: d.outer * .62,
2697
+ outerRadius: p.outer * .62,
2672
2698
  paddingAngle: 0,
2673
2699
  stroke: "none",
2674
2700
  isAnimationActive: !1,
2675
- onMouseEnter: (e, t) => s(t),
2676
- onMouseLeave: () => s(void 0),
2677
- children: e.map((e, n) => /* @__PURE__ */ D(k, {
2678
- fill: c[n % c.length],
2701
+ onMouseEnter: (e, t) => l(t),
2702
+ onMouseLeave: () => l(void 0),
2703
+ children: e.map((e, n) => /* @__PURE__ */ k(gt, {
2704
+ fill: u[n % u.length],
2679
2705
  fillOpacity: t(n)
2680
2706
  }, n))
2681
2707
  }),
2682
- /* @__PURE__ */ D(jt, {
2683
- content: /* @__PURE__ */ D(Xt, {}),
2708
+ /* @__PURE__ */ k(Mt, {
2709
+ content: /* @__PURE__ */ k(Qt, {}),
2684
2710
  wrapperStyle: { zIndex: 50 }
2685
2711
  })
2686
2712
  ] })
2687
2713
  })
2688
2714
  });
2689
2715
  }
2690
- return /* @__PURE__ */ O("div", {
2691
- className: [wr.chart, a ?? ""].filter(Boolean).join(" "),
2692
- style: { height: d.h },
2693
- children: [/* @__PURE__ */ D(A, {
2716
+ return /* @__PURE__ */ A("div", {
2717
+ ref: o,
2718
+ className: [Sr.chart, a ?? ""].filter(Boolean).join(" "),
2719
+ style: { height: p.h },
2720
+ children: [/* @__PURE__ */ k(At, {
2694
2721
  width: "100%",
2695
2722
  height: "100%",
2696
- children: /* @__PURE__ */ O(xt, { children: [/* @__PURE__ */ D(bt, {
2723
+ children: /* @__PURE__ */ A(xt, { children: [/* @__PURE__ */ k(bt, {
2697
2724
  data: e,
2698
2725
  dataKey: "value",
2699
2726
  nameKey: "label",
2700
- innerRadius: h,
2701
- outerRadius: d.outer,
2727
+ innerRadius: _,
2728
+ outerRadius: p.outer,
2702
2729
  paddingAngle: 0,
2703
- stroke: t === "pie" ? l : "none",
2730
+ stroke: t === "pie" ? d : "none",
2704
2731
  strokeWidth: t === "pie" ? 2 : 0,
2705
2732
  isAnimationActive: !1,
2706
- shape: p || m ? v : void 0,
2707
- label: t === "label" ? ee : t === "custom-label" ? te : t === "label-list" ? b : void 0,
2733
+ shape: h || g ? b : void 0,
2734
+ label: t === "label" ? S : t === "custom-label" ? C : t === "label-list" ? w : void 0,
2708
2735
  labelLine: !1,
2709
- onMouseEnter: (e, t) => s(t),
2710
- onMouseLeave: () => s(void 0),
2711
- children: e.map((e, t) => /* @__PURE__ */ D(k, { fill: c[t % c.length] }, t))
2712
- }), /* @__PURE__ */ D(jt, {
2713
- content: /* @__PURE__ */ D(Xt, {}),
2736
+ onMouseEnter: (e, t) => l(t),
2737
+ onMouseLeave: () => l(void 0),
2738
+ children: e.map((e, t) => /* @__PURE__ */ k(gt, { fill: u[t % u.length] }, t))
2739
+ }), /* @__PURE__ */ k(Mt, {
2740
+ content: /* @__PURE__ */ k(Qt, {}),
2714
2741
  wrapperStyle: { zIndex: 50 }
2715
2742
  })] })
2716
- }), g && /* @__PURE__ */ O("div", {
2717
- className: wr.center,
2718
- children: [r && /* @__PURE__ */ D("span", {
2719
- className: wr.center__value,
2743
+ }), v && /* @__PURE__ */ A("div", {
2744
+ className: Sr.center,
2745
+ children: [r && /* @__PURE__ */ k("span", {
2746
+ className: Sr.center__value,
2720
2747
  children: r
2721
- }), i && /* @__PURE__ */ D("span", {
2722
- className: wr.center__caption,
2748
+ }), i && /* @__PURE__ */ k("span", {
2749
+ className: Sr.center__caption,
2723
2750
  children: i
2724
2751
  })]
2725
2752
  })]
2726
2753
  });
2727
- }, Nr = {
2728
- root: "_root_l16ca_2",
2729
- trigger: "_trigger_l16ca_3",
2730
- panel: "_panel_l16ca_5",
2731
- "panel--bottom": "_panel--bottom_l16ca_22",
2732
- "panel--bottom-start": "_panel--bottom-start_l16ca_23",
2733
- "panel--bottom-end": "_panel--bottom-end_l16ca_24",
2734
- "panel--top": "_panel--top_l16ca_25",
2735
- panel__title: "_panel__title_l16ca_27",
2736
- panel__description: "_panel__description_l16ca_28",
2737
- panel__body: "_panel__body_l16ca_29",
2738
- panel__actions: "_panel__actions_l16ca_30"
2739
- }, Pr = ({ trigger: e, title: t, description: n, actions: r, placement: i = "bottom-start", children: a, className: o }) => {
2740
- let [s, c] = E.useState(!1), l = E.useRef(null), u = E.useRef(null);
2741
- return E.useEffect(() => {
2754
+ }, J = {
2755
+ root: "_root_16f5u_2",
2756
+ trigger: "_trigger_16f5u_3",
2757
+ panel: "_panel_16f5u_5",
2758
+ "panel--bottom": "_panel--bottom_16f5u_22",
2759
+ "panel--bottom-start": "_panel--bottom-start_16f5u_23",
2760
+ "panel--bottom-end": "_panel--bottom-end_16f5u_24",
2761
+ "panel--top": "_panel--top_16f5u_25",
2762
+ "panel--entering": "_panel--entering_16f5u_39",
2763
+ "sakani-popover-in": "_sakani-popover-in_16f5u_1",
2764
+ "panel--exiting": "_panel--exiting_16f5u_40",
2765
+ "sakani-popover-out": "_sakani-popover-out_16f5u_1",
2766
+ "sakani-popover-in-up": "_sakani-popover-in-up_16f5u_1",
2767
+ "sakani-popover-out-up": "_sakani-popover-out-up_16f5u_1",
2768
+ panel__title: "_panel__title_16f5u_75",
2769
+ panel__description: "_panel__description_16f5u_76",
2770
+ panel__body: "_panel__body_16f5u_77",
2771
+ panel__actions: "_panel__actions_16f5u_78"
2772
+ }, Ar = ({ trigger: e, title: t, description: n, actions: r, placement: i = "bottom-start", children: a, className: o }) => {
2773
+ let [s, c] = O.useState(!1), [l, u] = O.useState(!1), d = O.useRef(null), f = O.useRef(null);
2774
+ return O.useEffect(() => {
2775
+ s && u(!0);
2776
+ }, [s]), O.useEffect(() => {
2777
+ if (s || !l) return;
2778
+ let e = setTimeout(() => u(!1), 240);
2779
+ return () => clearTimeout(e);
2780
+ }, [s, l]), O.useEffect(() => {
2742
2781
  if (!s) return;
2743
2782
  let e = (e) => {
2744
- l.current && !l.current.contains(e.target) && c(!1);
2783
+ d.current && !d.current.contains(e.target) && c(!1);
2745
2784
  }, t = (e) => {
2746
2785
  e.key === "Escape" && c(!1);
2747
2786
  };
2748
2787
  return document.addEventListener("mousedown", e), document.addEventListener("keydown", t), () => {
2749
2788
  document.removeEventListener("mousedown", e), document.removeEventListener("keydown", t);
2750
2789
  };
2751
- }, [s]), E.useEffect(() => {
2752
- !s && u.current && (u.current.focus(), u.current = null);
2753
- }, [s]), /* @__PURE__ */ O("div", {
2754
- className: [Nr.root, o ?? ""].filter(Boolean).join(" "),
2755
- ref: l,
2756
- children: [/* @__PURE__ */ D("span", {
2757
- className: Nr.trigger,
2790
+ }, [s]), O.useEffect(() => {
2791
+ !s && f.current && (f.current.focus(), f.current = null);
2792
+ }, [s]), /* @__PURE__ */ A("div", {
2793
+ className: [J.root, o ?? ""].filter(Boolean).join(" "),
2794
+ ref: d,
2795
+ children: [/* @__PURE__ */ k("span", {
2796
+ className: J.trigger,
2758
2797
  onClick: () => {
2759
- s || (u.current = document.activeElement), c((e) => !e);
2798
+ s || (f.current = document.activeElement), c((e) => !e);
2760
2799
  },
2761
2800
  children: e
2762
- }), s && /* @__PURE__ */ O("div", {
2763
- className: [Nr.panel, Nr[`panel--${i}`]].join(" "),
2801
+ }), l && /* @__PURE__ */ A("div", {
2802
+ className: [
2803
+ J.panel,
2804
+ J[`panel--${i}`],
2805
+ s ? J["panel--entering"] : J["panel--exiting"]
2806
+ ].filter(Boolean).join(" "),
2764
2807
  role: "dialog",
2808
+ onAnimationEnd: (e) => {
2809
+ e.target === e.currentTarget && !s && u(!1);
2810
+ },
2765
2811
  children: [
2766
- t && /* @__PURE__ */ D("div", {
2767
- className: Nr.panel__title,
2812
+ t && /* @__PURE__ */ k("div", {
2813
+ className: J.panel__title,
2768
2814
  children: t
2769
2815
  }),
2770
- n && /* @__PURE__ */ D("div", {
2771
- className: Nr.panel__description,
2816
+ n && /* @__PURE__ */ k("div", {
2817
+ className: J.panel__description,
2772
2818
  children: n
2773
2819
  }),
2774
- a && /* @__PURE__ */ D("div", {
2775
- className: Nr.panel__body,
2820
+ a && /* @__PURE__ */ k("div", {
2821
+ className: J.panel__body,
2776
2822
  children: a
2777
2823
  }),
2778
- r && /* @__PURE__ */ D("div", {
2779
- className: Nr.panel__actions,
2824
+ r && /* @__PURE__ */ k("div", {
2825
+ className: J.panel__actions,
2780
2826
  children: r
2781
2827
  })
2782
2828
  ]
2783
2829
  })]
2784
2830
  });
2785
- }, Fr = {
2831
+ }, jr = {
2786
2832
  chart: "_chart_q6xhl_2",
2787
2833
  circleFillSvg: "_circleFillSvg_q6xhl_17"
2788
- }, Ir = {
2834
+ }, Mr = {
2789
2835
  sm: 200,
2790
2836
  md: 260,
2791
2837
  lg: 340,
2792
2838
  xl: 420
2793
- }, Lr = (e) => typeof window < "u" && getComputedStyle(document.documentElement).getPropertyValue(e).trim() || void 0, Rr = /* @__PURE__ */ new Set([
2839
+ }, Nr = /* @__PURE__ */ new Set([
2794
2840
  "circle-grid",
2795
2841
  "circle-grid-no-lines",
2796
2842
  "circle-grid-filled"
2797
- ]), zr = /* @__PURE__ */ new Set(["default", "grid-custom"]), Br = /* @__PURE__ */ new Set(["dots-grid-none"]), Vr = /* @__PURE__ */ new Set(["grid-filled"]), Hr = (e) => e === "circle-grid-filled", Ur = /* @__PURE__ */ new Set([
2843
+ ]), Pr = /* @__PURE__ */ new Set(["default", "grid-custom"]), Fr = /* @__PURE__ */ new Set(["dots-grid-none"]), Ir = /* @__PURE__ */ new Set(["grid-filled"]), Lr = (e) => e === "circle-grid-filled", Rr = /* @__PURE__ */ new Set([
2798
2844
  "default",
2799
2845
  "dots",
2800
2846
  "dots-grid-none",
@@ -2805,142 +2851,141 @@ var pr = { chart: "_chart_18fgd_2" }, mr = {
2805
2851
  "grid-custom",
2806
2852
  "grid-filled",
2807
2853
  "circle-grid-filled"
2808
- ]), Wr = [
2854
+ ]), zr = [
2809
2855
  1,
2810
2856
  .8,
2811
2857
  .6,
2812
2858
  .4,
2813
2859
  .2
2814
- ], Gr = ({ data: e, variant: t = "default", size: n = "md", seriesLabels: r = ["Value", "Value 2"], className: i }) => {
2815
- T();
2816
- let a = Lr("--color-chart-1") ?? "#ff4700", o = Lr("--color-chart-2") ?? "#5b92dd", s = Lr("--color-border-default") ?? "#dbdad7", c = Lr("--color-fg-subtle") ?? "#78716a", l = t === "multiple", u = t === "lines-only", d = l || t === "custom-label" || u, f = !u, p = t === "dots" || t === "dots-grid-none" || t === "circle-grid" || t === "circle-grid-no-lines", m = Vr.has(t), h = zr.has(t), g = Br.has(t), _ = Hr(t), v = E.useRef(null), [y, ee] = E.useState(0);
2817
- E.useEffect(() => {
2818
- if (!_ || !v.current) return;
2819
- let e = v.current, t = new ResizeObserver(([e]) => ee(e.contentRect.width));
2860
+ ], Br = ({ data: e, variant: t = "default", size: n = "md", seriesLabels: r = ["Value", "Value 2"], className: i }) => {
2861
+ let a = O.useRef(null), o = N(a), s = o("--color-chart-1") ?? "#ff4700", c = o("--color-chart-2") ?? "#5b92dd", l = o("--color-border-default") ?? "#dbdad7", u = o("--color-fg-subtle") ?? "#a8a29b", d = t === "multiple", f = t === "lines-only", p = d || t === "custom-label" || f, m = !f, h = t === "dots" || t === "dots-grid-none" || t === "circle-grid" || t === "circle-grid-no-lines", g = Ir.has(t), _ = Pr.has(t), v = Fr.has(t), y = Lr(t), [b, x] = O.useState(0);
2862
+ O.useEffect(() => {
2863
+ if (!y || !a.current) return;
2864
+ let e = a.current, t = new ResizeObserver(([e]) => x(e.contentRect.width));
2820
2865
  return t.observe(e), () => t.disconnect();
2821
- }, [_]);
2822
- let te = E.useMemo(() => {
2823
- if (!m) return e;
2866
+ }, [y]);
2867
+ let S = O.useMemo(() => {
2868
+ if (!g) return e;
2824
2869
  let t = Math.max(1, ...e.flatMap((e) => [e.value, e.value2 ?? 0]));
2825
2870
  return e.map((e) => {
2826
2871
  let n = {};
2827
- return Wr.forEach((e, r) => {
2872
+ return zr.forEach((e, r) => {
2828
2873
  n[`ring${r}`] = e * t;
2829
2874
  }), {
2830
2875
  ...e,
2831
2876
  ...n
2832
2877
  };
2833
2878
  });
2834
- }, [e, m]), b = (t) => {
2835
- let { x: n, y: r, cx: i, cy: a, payload: o, textAnchor: s } = t, l = e.find((e) => e.label === o?.value) ?? e[o?.index];
2836
- if (!l) return /* @__PURE__ */ D("g", {});
2837
- let u = n - i, d = r - a, f = l.value2 === void 0 ? `${l.value}` : `${l.value}/${l.value2}`, p = Math.abs(d) > Math.abs(u), m, h;
2879
+ }, [e, g]), C = (t) => {
2880
+ let { x: n, y: r, cx: i, cy: a, payload: o, textAnchor: s } = t, c = e.find((e) => e.label === o?.value) ?? e[o?.index];
2881
+ if (!c) return /* @__PURE__ */ k("g", {});
2882
+ let l = n - i, d = r - a, f = c.value2 === void 0 ? `${c.value}` : `${c.value}/${c.value2}`, p = Math.abs(d) > Math.abs(l), m, h;
2838
2883
  if (p && d < 0) h = r - 4 - 6, m = h - 16;
2839
2884
  else if (p) m = r + 4 + 10, h = m + 18;
2840
2885
  else {
2841
- let e = r + d / (Math.sqrt(u * u + d * d) || 1) * 4;
2886
+ let e = r + d / (Math.sqrt(l * l + d * d) || 1) * 4;
2842
2887
  m = e - 8, h = e + 12;
2843
2888
  }
2844
- let g = p ? n : n + u / Math.sqrt(u * u + d * d || 1) * 4;
2845
- return /* @__PURE__ */ O("g", { children: [/* @__PURE__ */ D("text", {
2889
+ let g = p ? n : n + l / Math.sqrt(l * l + d * d || 1) * 4;
2890
+ return /* @__PURE__ */ A("g", { children: [/* @__PURE__ */ k("text", {
2846
2891
  x: g,
2847
2892
  y: m,
2848
2893
  textAnchor: s,
2849
- fill: c,
2894
+ fill: u,
2850
2895
  fontSize: 15,
2851
2896
  fontWeight: 600,
2852
2897
  fontFamily: "var(--font-sans)",
2853
2898
  children: f
2854
- }), /* @__PURE__ */ D("text", {
2899
+ }), /* @__PURE__ */ k("text", {
2855
2900
  x: g,
2856
2901
  y: h,
2857
2902
  textAnchor: s,
2858
- fill: c,
2903
+ fill: u,
2859
2904
  fontSize: 13,
2860
2905
  fontFamily: "var(--font-sans)",
2861
- children: l.label
2906
+ children: c.label
2862
2907
  })] });
2863
- }, x = Ir[n], S = (y > 0 ? Math.min(y, x) / 2 - 5 : 0) * .7;
2864
- return /* @__PURE__ */ O("div", {
2865
- ref: v,
2866
- className: [Fr.chart, i ?? ""].filter(Boolean).join(" "),
2867
- children: [_ && y > 0 && /* @__PURE__ */ D("svg", {
2868
- className: Fr.circleFillSvg,
2869
- width: y,
2870
- height: x,
2871
- children: Wr.map((e) => /* @__PURE__ */ D("circle", {
2872
- cx: y / 2,
2873
- cy: x / 2,
2874
- r: S * e,
2875
- fill: o,
2908
+ }, w = Mr[n], T = (b > 0 ? Math.min(b, w) / 2 - 5 : 0) * .7;
2909
+ return /* @__PURE__ */ A("div", {
2910
+ ref: a,
2911
+ className: [jr.chart, i ?? ""].filter(Boolean).join(" "),
2912
+ children: [y && b > 0 && /* @__PURE__ */ k("svg", {
2913
+ className: jr.circleFillSvg,
2914
+ width: b,
2915
+ height: w,
2916
+ children: zr.map((e) => /* @__PURE__ */ k("circle", {
2917
+ cx: b / 2,
2918
+ cy: w / 2,
2919
+ r: T * e,
2920
+ fill: c,
2876
2921
  fillOpacity: .1
2877
2922
  }, e))
2878
- }), /* @__PURE__ */ D(A, {
2923
+ }), /* @__PURE__ */ k(At, {
2879
2924
  width: "100%",
2880
- height: x,
2881
- children: /* @__PURE__ */ O(Et, {
2882
- data: te,
2925
+ height: w,
2926
+ children: /* @__PURE__ */ A(Et, {
2927
+ data: S,
2883
2928
  outerRadius: "70%",
2884
2929
  children: [
2885
- !m && !g && /* @__PURE__ */ D(Ct, {
2886
- gridType: Rr.has(t) ? "circle" : "polygon",
2887
- radialLines: t !== "circle-grid-no-lines" && !h,
2888
- stroke: s
2930
+ !g && !v && /* @__PURE__ */ k(Ct, {
2931
+ gridType: Nr.has(t) ? "circle" : "polygon",
2932
+ radialLines: t !== "circle-grid-no-lines" && !_,
2933
+ stroke: l
2889
2934
  }),
2890
- /* @__PURE__ */ D(St, {
2935
+ /* @__PURE__ */ k(St, {
2891
2936
  dataKey: "label",
2892
2937
  axisLine: !1,
2893
- tick: t === "custom-label" ? b : {
2894
- fill: c,
2938
+ tick: t === "custom-label" ? C : {
2939
+ fill: u,
2895
2940
  fontSize: 12,
2896
2941
  fontFamily: "var(--font-sans)"
2897
2942
  }
2898
2943
  }),
2899
- /* @__PURE__ */ D(wt, {
2944
+ /* @__PURE__ */ k(wt, {
2900
2945
  tick: !1,
2901
2946
  axisLine: !1,
2902
- tickCount: h ? 2 : void 0
2947
+ tickCount: _ ? 2 : void 0
2903
2948
  }),
2904
- /* @__PURE__ */ D(jt, {
2905
- content: /* @__PURE__ */ D(Xt, {}),
2949
+ /* @__PURE__ */ k(Mt, {
2950
+ content: /* @__PURE__ */ k(Qt, {}),
2906
2951
  wrapperStyle: { zIndex: 50 }
2907
2952
  }),
2908
- l && /* @__PURE__ */ D(_t, { wrapperStyle: {
2953
+ d && /* @__PURE__ */ k(_t, { wrapperStyle: {
2909
2954
  fontSize: 12,
2910
2955
  fontFamily: "var(--font-sans)"
2911
2956
  } }),
2912
- m && Wr.map((e, t) => /* @__PURE__ */ D(Tt, {
2957
+ g && zr.map((e, t) => /* @__PURE__ */ k(Tt, {
2913
2958
  dataKey: `ring${t}`,
2914
2959
  stroke: "none",
2915
- fill: o,
2960
+ fill: c,
2916
2961
  fillOpacity: .1,
2917
2962
  isAnimationActive: !1,
2918
2963
  legendType: "none"
2919
2964
  }, `ring${t}`)),
2920
- /* @__PURE__ */ D(Tt, {
2921
- name: l ? r[0] ?? "Value" : void 0,
2965
+ /* @__PURE__ */ k(Tt, {
2966
+ name: d ? r[0] ?? "Value" : void 0,
2922
2967
  dataKey: "value",
2923
- stroke: Ur.has(t) ? "none" : o,
2924
- fill: f ? o : "none",
2925
- fillOpacity: f ? h ? 1 : d ? .45 : .5 : 0,
2926
- strokeWidth: Ur.has(t) ? 0 : 2,
2927
- dot: p ? {
2968
+ stroke: Rr.has(t) ? "none" : c,
2969
+ fill: m ? c : "none",
2970
+ fillOpacity: m ? _ ? 1 : p ? .45 : .5 : 0,
2971
+ strokeWidth: Rr.has(t) ? 0 : 2,
2972
+ dot: h ? {
2928
2973
  r: 4,
2929
- fill: o,
2974
+ fill: c,
2930
2975
  stroke: "none"
2931
2976
  } : !1,
2932
2977
  isAnimationActive: !1
2933
2978
  }),
2934
- d && /* @__PURE__ */ D(Tt, {
2935
- name: l ? r[1] ?? "Value 2" : void 0,
2979
+ p && /* @__PURE__ */ k(Tt, {
2980
+ name: d ? r[1] ?? "Value 2" : void 0,
2936
2981
  dataKey: "value2",
2937
- stroke: u ? a : "none",
2938
- fill: u ? "none" : a,
2939
- fillOpacity: u ? 0 : .8,
2940
- strokeWidth: u ? 2 : 0,
2941
- dot: p ? {
2982
+ stroke: f ? s : "none",
2983
+ fill: f ? "none" : s,
2984
+ fillOpacity: f ? 0 : .8,
2985
+ strokeWidth: f ? 2 : 0,
2986
+ dot: h ? {
2942
2987
  r: 4,
2943
- fill: a,
2988
+ fill: s,
2944
2989
  stroke: "none"
2945
2990
  } : !1,
2946
2991
  isAnimationActive: !1
@@ -2956,55 +3001,55 @@ var pr = { chart: "_chart_18fgd_2" }, mr = {
2956
3001
  center: "_center_1ogmh_36",
2957
3002
  center__value: "_center__value_1ogmh_45",
2958
3003
  center__caption: "_center__caption_1ogmh_46"
2959
- }, Kr = {
3004
+ }, Vr = {
2960
3005
  sm: 180,
2961
3006
  md: 220,
2962
3007
  lg: 280,
2963
3008
  xl: 340
2964
- }, qr = (e) => typeof window < "u" && getComputedStyle(document.documentElement).getPropertyValue(e).trim() || void 0, Jr = Math.PI / 180, Yr = {
3009
+ }, Hr = Math.PI / 180, Ur = (e) => Math.round(e * 1e3) / 1e3, Wr = {
2965
3010
  multi: ["30%", "100%"],
2966
3011
  grid: ["30%", "100%"],
2967
3012
  "stacked-label": ["30%", "100%"],
2968
3013
  text: ["76%", "100%"]
2969
- }, Xr = ({ value: e, max: t, color: n, track: r, centerValue: i, centerCaption: a }) => {
2970
- let o = Math.round(Math.min(e, t) / t * 40);
2971
- return /* @__PURE__ */ O("svg", {
3014
+ }, Gr = ({ value: e, max: t, color: n, track: r, centerValue: i, centerCaption: a, labelColor: o, captionColor: s }) => {
3015
+ let c = Math.round(Math.min(e, t) / t * 40);
3016
+ return /* @__PURE__ */ A("svg", {
2972
3017
  viewBox: "0 0 200 120",
2973
3018
  className: Y.gaugeSvg,
2974
3019
  children: [Array.from({ length: 40 }).map((e, t) => {
2975
3020
  let i = 180 + t / 39 * 180;
2976
- return /* @__PURE__ */ D("line", {
2977
- x1: 100 + 78 * Math.cos(i * Jr),
2978
- y1: 100 + 78 * Math.sin(i * Jr),
2979
- x2: 100 + 92 * Math.cos(i * Jr),
2980
- y2: 100 + 92 * Math.sin(i * Jr),
2981
- stroke: t < o ? n : r,
3021
+ return /* @__PURE__ */ k("line", {
3022
+ x1: Ur(100 + 78 * Math.cos(i * Hr)),
3023
+ y1: Ur(100 + 78 * Math.sin(i * Hr)),
3024
+ x2: Ur(100 + 92 * Math.cos(i * Hr)),
3025
+ y2: Ur(100 + 92 * Math.sin(i * Hr)),
3026
+ stroke: t < c ? n : r,
2982
3027
  strokeWidth: 2.5,
2983
3028
  strokeLinecap: "round"
2984
3029
  }, t);
2985
- }), (i || a) && /* @__PURE__ */ O("g", {
3030
+ }), (i || a) && /* @__PURE__ */ A("g", {
2986
3031
  textAnchor: "middle",
2987
3032
  fontFamily: "var(--font-sans)",
2988
- children: [i && /* @__PURE__ */ D("text", {
3033
+ children: [i && /* @__PURE__ */ k("text", {
2989
3034
  x: 100,
2990
3035
  y: 92,
2991
3036
  fontSize: 22,
2992
3037
  fontWeight: 500,
2993
- fill: qr("--color-fg-default") ?? "#141414",
3038
+ fill: o,
2994
3039
  children: i
2995
- }), a && /* @__PURE__ */ D("text", {
3040
+ }), a && /* @__PURE__ */ k("text", {
2996
3041
  x: 100,
2997
3042
  y: 112,
2998
3043
  fontSize: 12,
2999
- fill: qr("--color-fg-muted") ?? "#78716a",
3044
+ fill: s,
3000
3045
  children: a
3001
3046
  })]
3002
3047
  })]
3003
3048
  });
3004
- }, Zr = ({ rings: e, spokes: t, color: n }) => /* @__PURE__ */ O("svg", {
3049
+ }, Kr = ({ rings: e, spokes: t, color: n }) => /* @__PURE__ */ A("svg", {
3005
3050
  viewBox: "0 0 200 200",
3006
3051
  className: Y.gridSvg,
3007
- children: [Array.from({ length: e }).map((t, r) => /* @__PURE__ */ D("circle", {
3052
+ children: [Array.from({ length: e }).map((t, r) => /* @__PURE__ */ k("circle", {
3008
3053
  cx: 100,
3009
3054
  cy: 100,
3010
3055
  r: (r + 1) / e * 96,
@@ -3013,29 +3058,29 @@ var pr = { chart: "_chart_18fgd_2" }, mr = {
3013
3058
  strokeWidth: 1
3014
3059
  }, r)), Array.from({ length: t }).map((e, r) => {
3015
3060
  let i = r / t * 360, a = 99.5 * 1.1;
3016
- return /* @__PURE__ */ D("line", {
3061
+ return /* @__PURE__ */ k("line", {
3017
3062
  x1: 100,
3018
3063
  y1: 100,
3019
- x2: 100 + a * Math.cos(i * Jr),
3020
- y2: 100 + a * Math.sin(i * Jr),
3064
+ x2: Ur(100 + a * Math.cos(i * Hr)),
3065
+ y2: Ur(100 + a * Math.sin(i * Hr)),
3021
3066
  stroke: n,
3022
3067
  strokeWidth: 1
3023
3068
  }, r);
3024
3069
  })]
3025
- }), Qr = ({ data: e, palette: t, track: n, centerValue: r, centerCaption: i }) => {
3026
- let a = e[0]?.max ?? e.reduce((e, t) => e + t.value, 0), o = 210, s = e.map((e, n) => {
3027
- let r = a > 0 ? e.value / a * 240 : 0, i = o, s = o - r;
3028
- return o = s, {
3070
+ }), qr = ({ data: e, palette: t, track: n, centerValue: r, centerCaption: i, labelColor: a, captionColor: o }) => {
3071
+ let s = e[0]?.max ?? e.reduce((e, t) => e + t.value, 0), c = 210, l = e.map((e, n) => {
3072
+ let r = s > 0 ? e.value / s * 240 : 0, i = c, a = c - r;
3073
+ return c = a, {
3029
3074
  segStart: i,
3030
- segEnd: s,
3075
+ segEnd: a,
3031
3076
  fill: t[n % t.length]
3032
3077
  };
3033
3078
  });
3034
- return /* @__PURE__ */ O("svg", {
3079
+ return /* @__PURE__ */ A("svg", {
3035
3080
  viewBox: "0 0 200 160",
3036
3081
  className: Y.gaugeSvg,
3037
3082
  children: [
3038
- s.map((e, t) => /* @__PURE__ */ D(At, {
3083
+ l.map((e, t) => /* @__PURE__ */ k(jt, {
3039
3084
  cx: 100,
3040
3085
  cy: 100,
3041
3086
  innerRadius: 64,
@@ -3045,111 +3090,117 @@ var pr = { chart: "_chart_18fgd_2" }, mr = {
3045
3090
  fill: e.fill,
3046
3091
  cornerRadius: 4
3047
3092
  }, t)),
3048
- o > -29.5 && /* @__PURE__ */ D(At, {
3093
+ c > -29.5 && /* @__PURE__ */ k(jt, {
3049
3094
  cx: 100,
3050
3095
  cy: 100,
3051
3096
  innerRadius: 64,
3052
3097
  outerRadius: 88,
3053
- startAngle: o,
3098
+ startAngle: c,
3054
3099
  endAngle: -30,
3055
3100
  fill: n,
3056
3101
  cornerRadius: 4
3057
3102
  }),
3058
- (r || i) && /* @__PURE__ */ O("g", {
3103
+ (r || i) && /* @__PURE__ */ A("g", {
3059
3104
  textAnchor: "middle",
3060
3105
  fontFamily: "var(--font-sans)",
3061
- children: [r && /* @__PURE__ */ D("text", {
3106
+ children: [r && /* @__PURE__ */ k("text", {
3062
3107
  x: 100,
3063
3108
  y: 92,
3064
3109
  fontSize: 22,
3065
3110
  fontWeight: 500,
3066
- fill: qr("--color-fg-default") ?? "#141414",
3111
+ fill: a,
3067
3112
  children: r
3068
- }), i && /* @__PURE__ */ D("text", {
3113
+ }), i && /* @__PURE__ */ k("text", {
3069
3114
  x: 100,
3070
3115
  y: 112,
3071
3116
  fontSize: 12,
3072
- fill: qr("--color-fg-muted") ?? "#78716a",
3117
+ fill: o,
3073
3118
  children: i
3074
3119
  })]
3075
3120
  })
3076
3121
  ]
3077
3122
  });
3078
- }, $r = ({ data: e, variant: t = "multi", size: n = "md", centerValue: r, centerCaption: i, className: a }) => {
3079
- T();
3080
- let o = [
3123
+ }, Jr = ({ data: e, variant: t = "multi", size: n = "md", centerValue: r, centerCaption: i, className: a }) => {
3124
+ let o = O.useRef(null), s = N(o), c = [
3081
3125
  1,
3082
3126
  2,
3083
3127
  3,
3084
3128
  4,
3085
3129
  5
3086
- ].map((e) => qr(`--color-chart-${e}`) ?? "#ff4700"), s = qr("--color-bg-subtle") ?? "#f5f4f2", c = qr("--color-border-subtle") ?? "#e5e4e7", l = Kr[n];
3130
+ ].map((e) => s(`--color-chart-${e}`) ?? Xt[e - 1]), l = s("--color-bg-subtle") ?? "#f5f4f2", u = s("--color-border-subtle") ?? "#e7e5e1", d = s("--color-fg-default") ?? "#141414", f = s("--color-fg-muted") ?? "#78716a", p = Vr[n];
3087
3131
  if (t === "gauge-tick") {
3088
3132
  let t = e[0];
3089
- return /* @__PURE__ */ D("div", {
3133
+ return /* @__PURE__ */ k("div", {
3134
+ ref: o,
3090
3135
  className: [Y.chart, a ?? ""].filter(Boolean).join(" "),
3091
- style: { height: l },
3092
- children: /* @__PURE__ */ D(Xr, {
3136
+ style: { height: p },
3137
+ children: /* @__PURE__ */ k(Gr, {
3093
3138
  value: t?.value ?? 0,
3094
3139
  max: t?.max ?? 100,
3095
- color: o[0],
3096
- track: s,
3140
+ color: c[0],
3141
+ track: l,
3097
3142
  centerValue: r,
3098
- centerCaption: i
3143
+ centerCaption: i,
3144
+ labelColor: d,
3145
+ captionColor: f
3099
3146
  })
3100
3147
  });
3101
3148
  }
3102
- if (t === "shape" || t === "stacked" || t === "stacked-3-layers") return /* @__PURE__ */ D("div", {
3149
+ if (t === "shape" || t === "stacked" || t === "stacked-3-layers") return /* @__PURE__ */ k("div", {
3150
+ ref: o,
3103
3151
  className: [Y.chart, a ?? ""].filter(Boolean).join(" "),
3104
- style: { height: l },
3105
- children: /* @__PURE__ */ D(Qr, {
3152
+ style: { height: p },
3153
+ children: /* @__PURE__ */ k(qr, {
3106
3154
  data: e,
3107
- palette: o,
3108
- track: s,
3155
+ palette: c,
3156
+ track: l,
3109
3157
  centerValue: r,
3110
- centerCaption: i
3158
+ centerCaption: i,
3159
+ labelColor: d,
3160
+ captionColor: f
3111
3161
  })
3112
3162
  });
3113
- let [u, d] = Yr[t] ?? ["30%", "100%"], f = (t === "stacked-label" || t === "text") && (r || i);
3114
- return /* @__PURE__ */ O("div", {
3163
+ let [m, h] = Wr[t] ?? ["30%", "100%"], g = (t === "stacked-label" || t === "text") && (r || i);
3164
+ return /* @__PURE__ */ A("div", {
3165
+ ref: o,
3115
3166
  className: [Y.chart, a ?? ""].filter(Boolean).join(" "),
3116
- style: { height: l },
3167
+ style: { height: p },
3117
3168
  children: [
3118
- t === "grid" && /* @__PURE__ */ D(Zr, {
3169
+ t === "grid" && /* @__PURE__ */ k(Kr, {
3119
3170
  rings: 8,
3120
3171
  spokes: 12,
3121
- color: c
3172
+ color: u
3122
3173
  }),
3123
- /* @__PURE__ */ D(A, {
3174
+ /* @__PURE__ */ k(At, {
3124
3175
  width: "100%",
3125
3176
  height: "100%",
3126
- children: /* @__PURE__ */ O(Ot, {
3177
+ children: /* @__PURE__ */ A(Ot, {
3127
3178
  data: e,
3128
- innerRadius: u,
3129
- outerRadius: d,
3179
+ innerRadius: m,
3180
+ outerRadius: h,
3130
3181
  startAngle: 90,
3131
3182
  endAngle: -270,
3132
3183
  barCategoryGap: "12%",
3133
- children: [/* @__PURE__ */ D(St, {
3184
+ children: [/* @__PURE__ */ k(St, {
3134
3185
  type: "number",
3135
3186
  domain: [0, e[0]?.max ?? 100],
3136
3187
  tick: !1,
3137
3188
  axisLine: !1
3138
- }), /* @__PURE__ */ D(Dt, {
3189
+ }), /* @__PURE__ */ k(Dt, {
3139
3190
  dataKey: "value",
3140
- background: t !== "grid" && { fill: s },
3191
+ background: t !== "grid" && { fill: l },
3141
3192
  cornerRadius: 8,
3142
3193
  isAnimationActive: !1,
3143
- children: e.map((e, t) => /* @__PURE__ */ D(k, { fill: o[t % o.length] }, t))
3194
+ children: e.map((e, t) => /* @__PURE__ */ k(gt, { fill: c[t % c.length] }, t))
3144
3195
  })]
3145
3196
  })
3146
3197
  }),
3147
- f && /* @__PURE__ */ O("div", {
3198
+ g && /* @__PURE__ */ A("div", {
3148
3199
  className: Y.center,
3149
- children: [r && /* @__PURE__ */ D("span", {
3200
+ children: [r && /* @__PURE__ */ k("span", {
3150
3201
  className: Y.center__value,
3151
3202
  children: r
3152
- }), i && /* @__PURE__ */ D("span", {
3203
+ }), i && /* @__PURE__ */ k("span", {
3153
3204
  className: Y.center__caption,
3154
3205
  children: i
3155
3206
  })]
@@ -3166,9 +3217,9 @@ var pr = { chart: "_chart_18fgd_2" }, mr = {
3166
3217
  text__label: "_text__label_1px3a_55",
3167
3218
  text__description: "_text__description_1px3a_56",
3168
3219
  "wrapper--withDescription": "_wrapper--withDescription_1px3a_60"
3169
- }, ei = E.forwardRef(({ label: e, description: t, disabled: n, id: r, className: i, ...a }, o) => {
3170
- let s = E.useId(), c = r ?? s;
3171
- return /* @__PURE__ */ O("label", {
3220
+ }, Yr = O.forwardRef(({ label: e, description: t, disabled: n, id: r, className: i, ...a }, o) => {
3221
+ let s = O.useId(), c = r ?? s;
3222
+ return /* @__PURE__ */ A("label", {
3172
3223
  htmlFor: c,
3173
3224
  className: [
3174
3225
  X.wrapper,
@@ -3177,7 +3228,7 @@ var pr = { chart: "_chart_18fgd_2" }, mr = {
3177
3228
  i ?? ""
3178
3229
  ].filter(Boolean).join(" "),
3179
3230
  children: [
3180
- /* @__PURE__ */ D("input", {
3231
+ /* @__PURE__ */ k("input", {
3181
3232
  ref: o,
3182
3233
  id: c,
3183
3234
  type: "radio",
@@ -3185,17 +3236,17 @@ var pr = { chart: "_chart_18fgd_2" }, mr = {
3185
3236
  className: X.input,
3186
3237
  ...a
3187
3238
  }),
3188
- /* @__PURE__ */ D("span", {
3239
+ /* @__PURE__ */ k("span", {
3189
3240
  className: X.circle,
3190
3241
  "aria-hidden": "true",
3191
- children: /* @__PURE__ */ D("span", { className: X.dot })
3242
+ children: /* @__PURE__ */ k("span", { className: X.dot })
3192
3243
  }),
3193
- (e || t) && /* @__PURE__ */ O("span", {
3244
+ (e || t) && /* @__PURE__ */ A("span", {
3194
3245
  className: X.text,
3195
- children: [e && /* @__PURE__ */ D("span", {
3246
+ children: [e && /* @__PURE__ */ k("span", {
3196
3247
  className: X.text__label,
3197
3248
  children: e
3198
- }), t && /* @__PURE__ */ D("span", {
3249
+ }), t && /* @__PURE__ */ k("span", {
3199
3250
  className: X.text__description,
3200
3251
  children: t
3201
3252
  })]
@@ -3203,7 +3254,7 @@ var pr = { chart: "_chart_18fgd_2" }, mr = {
3203
3254
  ]
3204
3255
  });
3205
3256
  });
3206
- ei.displayName = "Radio";
3257
+ Yr.displayName = "Radio";
3207
3258
  var Z = {
3208
3259
  footer: "_footer_sh6kz_4",
3209
3260
  "footer--collapsed": "_footer--collapsed_sh6kz_12",
@@ -3212,54 +3263,54 @@ var Z = {
3212
3263
  footer__subtitle: "_footer__subtitle_sh6kz_16",
3213
3264
  footer__menu: "_footer__menu_sh6kz_17",
3214
3265
  footer__action: "_footer__action_sh6kz_24"
3215
- }, ti = ({ type: e = "user", title: t, subtitle: n, avatarSrc: r, avatarInitials: i, collapsed: a, onMenu: o, onSignOut: s }) => {
3216
- let c = /* @__PURE__ */ D(be, {
3266
+ }, Xr = ({ type: e = "user", title: t, subtitle: n, avatarSrc: r, avatarInitials: i, collapsed: a, onMenu: o, onSignOut: s }) => {
3267
+ let c = /* @__PURE__ */ k(ae, {
3217
3268
  size: "sm",
3218
3269
  src: r,
3219
3270
  initials: i,
3220
3271
  alt: t ?? "User"
3221
3272
  });
3222
- return a ? /* @__PURE__ */ D("div", {
3273
+ return a ? /* @__PURE__ */ k("div", {
3223
3274
  className: [Z.footer, Z["footer--collapsed"]].join(" "),
3224
3275
  children: c
3225
- }) : e === "actions" ? /* @__PURE__ */ D("div", {
3276
+ }) : e === "actions" ? /* @__PURE__ */ k("div", {
3226
3277
  className: Z.footer,
3227
- children: /* @__PURE__ */ O("button", {
3278
+ children: /* @__PURE__ */ A("button", {
3228
3279
  type: "button",
3229
3280
  className: Z.footer__action,
3230
3281
  onClick: s,
3231
- children: [/* @__PURE__ */ D(Ze, {
3282
+ children: [/* @__PURE__ */ k(Xe, {
3232
3283
  size: 16,
3233
- strokeWidth: w(16)
3284
+ strokeWidth: D(16)
3234
3285
  }), " Sign out"]
3235
3286
  })
3236
- }) : /* @__PURE__ */ O("div", {
3287
+ }) : /* @__PURE__ */ A("div", {
3237
3288
  className: Z.footer,
3238
3289
  children: [
3239
3290
  c,
3240
- /* @__PURE__ */ O("span", {
3291
+ /* @__PURE__ */ A("span", {
3241
3292
  className: Z.footer__text,
3242
- children: [t && /* @__PURE__ */ D("span", {
3293
+ children: [t && /* @__PURE__ */ k("span", {
3243
3294
  className: Z.footer__title,
3244
3295
  children: t
3245
- }), n && /* @__PURE__ */ D("span", {
3296
+ }), n && /* @__PURE__ */ k("span", {
3246
3297
  className: Z.footer__subtitle,
3247
3298
  children: n
3248
3299
  })]
3249
3300
  }),
3250
- e === "user-menu" && /* @__PURE__ */ D("button", {
3301
+ e === "user-menu" && /* @__PURE__ */ k("button", {
3251
3302
  type: "button",
3252
3303
  className: Z.footer__menu,
3253
3304
  onClick: o,
3254
3305
  "aria-label": "Open menu",
3255
- children: /* @__PURE__ */ D(Je, {
3306
+ children: /* @__PURE__ */ k(qe, {
3256
3307
  size: 16,
3257
- strokeWidth: w(16)
3308
+ strokeWidth: D(16)
3258
3309
  })
3259
3310
  })
3260
3311
  ]
3261
3312
  });
3262
- }, ni = {
3313
+ }, Zr = {
3263
3314
  promo: "_promo_1dicm_4",
3264
3315
  promo__head: "_promo__head_1dicm_15",
3265
3316
  promo__icon: "_promo__icon_1dicm_16",
@@ -3267,125 +3318,125 @@ var Z = {
3267
3318
  promo__dismiss: "_promo__dismiss_1dicm_18",
3268
3319
  promo__desc: "_promo__desc_1dicm_25",
3269
3320
  promo__cta: "_promo__cta_1dicm_28"
3270
- }, ri = ({ type: e = "upgrade", title: t, description: n, ctaLabel: r, onCta: i, onDismiss: a, icon: o = ot }) => /* @__PURE__ */ O("div", {
3271
- className: [ni.promo, ni[`promo--${e}`]].join(" "),
3321
+ }, Qr = ({ type: e = "upgrade", title: t, description: n, ctaLabel: r, onCta: i, onDismiss: a, icon: o = at }) => /* @__PURE__ */ A("div", {
3322
+ className: [Zr.promo, Zr[`promo--${e}`]].join(" "),
3272
3323
  children: [
3273
- /* @__PURE__ */ O("div", {
3274
- className: ni.promo__head,
3324
+ /* @__PURE__ */ A("div", {
3325
+ className: Zr.promo__head,
3275
3326
  children: [
3276
- /* @__PURE__ */ D("span", {
3277
- className: ni.promo__icon,
3327
+ /* @__PURE__ */ k("span", {
3328
+ className: Zr.promo__icon,
3278
3329
  "aria-hidden": "true",
3279
- children: /* @__PURE__ */ D(o, {
3330
+ children: /* @__PURE__ */ k(o, {
3280
3331
  size: 16,
3281
- strokeWidth: w(16)
3332
+ strokeWidth: D(16)
3282
3333
  })
3283
3334
  }),
3284
- /* @__PURE__ */ D("span", {
3285
- className: ni.promo__title,
3335
+ /* @__PURE__ */ k("span", {
3336
+ className: Zr.promo__title,
3286
3337
  children: t
3287
3338
  }),
3288
- a && /* @__PURE__ */ D("button", {
3339
+ a && /* @__PURE__ */ k("button", {
3289
3340
  type: "button",
3290
- className: ni.promo__dismiss,
3341
+ className: Zr.promo__dismiss,
3291
3342
  onClick: a,
3292
3343
  "aria-label": "Dismiss",
3293
- children: /* @__PURE__ */ D(dt, {
3344
+ children: /* @__PURE__ */ k(ut, {
3294
3345
  size: 14,
3295
- strokeWidth: w(14)
3346
+ strokeWidth: D(14)
3296
3347
  })
3297
3348
  })
3298
3349
  ]
3299
3350
  }),
3300
- n && /* @__PURE__ */ D("p", {
3301
- className: ni.promo__desc,
3351
+ n && /* @__PURE__ */ k("p", {
3352
+ className: Zr.promo__desc,
3302
3353
  children: n
3303
3354
  }),
3304
- r && /* @__PURE__ */ D("button", {
3355
+ r && /* @__PURE__ */ k("button", {
3305
3356
  type: "button",
3306
- className: ni.promo__cta,
3357
+ className: Zr.promo__cta,
3307
3358
  onClick: i,
3308
3359
  children: r
3309
3360
  })
3310
3361
  ]
3311
- }), ii = {
3362
+ }), $r = {
3312
3363
  search: "_search_cvwic_2",
3313
3364
  search__icon: "_search__icon_cvwic_18",
3314
3365
  search__input: "_search__input_cvwic_19",
3315
3366
  search__placeholder: "_search__placeholder_cvwic_31",
3316
3367
  search__kbd: "_search__kbd_cvwic_32",
3317
3368
  collapsed: "_collapsed_cvwic_42"
3318
- }, ai = ({ type: e = "field", placeholder: t = "Search…", collapsed: n, value: r, onChange: i, onClick: a }) => n ? /* @__PURE__ */ D("button", {
3369
+ }, ei = ({ type: e = "field", placeholder: t = "Search…", collapsed: n, value: r, onChange: i, onClick: a }) => n ? /* @__PURE__ */ k("button", {
3319
3370
  type: "button",
3320
- className: ii.collapsed,
3371
+ className: $r.collapsed,
3321
3372
  onClick: a,
3322
3373
  "aria-label": "Search",
3323
- children: /* @__PURE__ */ D(at, {
3374
+ children: /* @__PURE__ */ k(it, {
3324
3375
  size: 18,
3325
- strokeWidth: w(18)
3376
+ strokeWidth: D(18)
3326
3377
  })
3327
- }) : e === "command" ? /* @__PURE__ */ O("button", {
3378
+ }) : e === "command" ? /* @__PURE__ */ A("button", {
3328
3379
  type: "button",
3329
- className: ii.search,
3380
+ className: $r.search,
3330
3381
  onClick: a,
3331
3382
  children: [
3332
- /* @__PURE__ */ D(at, {
3383
+ /* @__PURE__ */ k(it, {
3333
3384
  size: 16,
3334
- strokeWidth: w(16),
3335
- className: ii.search__icon
3385
+ strokeWidth: D(16),
3386
+ className: $r.search__icon
3336
3387
  }),
3337
- /* @__PURE__ */ D("span", {
3338
- className: ii.search__placeholder,
3388
+ /* @__PURE__ */ k("span", {
3389
+ className: $r.search__placeholder,
3339
3390
  children: t
3340
3391
  }),
3341
- /* @__PURE__ */ D("kbd", {
3342
- className: ii.search__kbd,
3392
+ /* @__PURE__ */ k("kbd", {
3393
+ className: $r.search__kbd,
3343
3394
  children: "⌘K"
3344
3395
  })
3345
3396
  ]
3346
- }) : /* @__PURE__ */ O("div", {
3347
- className: ii.search,
3348
- children: [/* @__PURE__ */ D(at, {
3397
+ }) : /* @__PURE__ */ A("div", {
3398
+ className: $r.search,
3399
+ children: [/* @__PURE__ */ k(it, {
3349
3400
  size: 16,
3350
- strokeWidth: w(16),
3351
- className: ii.search__icon
3352
- }), /* @__PURE__ */ D("input", {
3353
- className: ii.search__input,
3401
+ strokeWidth: D(16),
3402
+ className: $r.search__icon
3403
+ }), /* @__PURE__ */ k("input", {
3404
+ className: $r.search__input,
3354
3405
  placeholder: t,
3355
3406
  value: r,
3356
3407
  onChange: (e) => i?.(e.target.value)
3357
3408
  })]
3358
- }), oi = {
3409
+ }), ti = {
3359
3410
  spinner: "_spinner_14r00_3",
3360
3411
  "spinner--sm": "_spinner--sm_14r00_12",
3361
3412
  "spinner--md": "_spinner--md_14r00_13",
3362
3413
  "spinner--lg": "_spinner--lg_14r00_14",
3363
3414
  spinner__svg: "_spinner__svg_14r00_17",
3364
3415
  "spinner-rotate": "_spinner-rotate_14r00_1"
3365
- }, si = ({ size: e = "md", label: t = "Loading...", className: n }) => /* @__PURE__ */ D("span", {
3416
+ }, ni = ({ size: e = "md", label: t = "Loading...", className: n }) => /* @__PURE__ */ k("span", {
3366
3417
  role: "status",
3367
3418
  "aria-label": t,
3368
3419
  className: [
3369
- oi.spinner,
3370
- oi[`spinner--${e}`],
3420
+ ti.spinner,
3421
+ ti[`spinner--${e}`],
3371
3422
  n ?? ""
3372
3423
  ].filter(Boolean).join(" "),
3373
- children: /* @__PURE__ */ O("svg", {
3424
+ children: /* @__PURE__ */ A("svg", {
3374
3425
  viewBox: "0 0 24 24",
3375
3426
  fill: "none",
3376
3427
  stroke: "currentColor",
3377
3428
  strokeWidth: 2.5,
3378
3429
  strokeLinecap: "round",
3379
3430
  "aria-hidden": "true",
3380
- className: oi.spinner__svg,
3381
- children: [/* @__PURE__ */ D("circle", {
3431
+ className: ti.spinner__svg,
3432
+ children: [/* @__PURE__ */ k("circle", {
3382
3433
  cx: 12,
3383
3434
  cy: 12,
3384
3435
  r: 9,
3385
3436
  opacity: .2
3386
- }), /* @__PURE__ */ D("path", {
3437
+ }), /* @__PURE__ */ k("path", {
3387
3438
  d: "M12 3a9 9 0 0 1 9 9",
3388
- className: oi.spinner__arc
3439
+ className: ti.spinner__arc
3389
3440
  })]
3390
3441
  })
3391
3442
  }), Q = {
@@ -3401,23 +3452,23 @@ var Z = {
3401
3452
  "card--trend-up": "_card--trend-up_bjfuf_55",
3402
3453
  "card--trend-down": "_card--trend-down_bjfuf_56",
3403
3454
  card__description: "_card__description_bjfuf_59"
3404
- }, ci = {
3405
- up: ct,
3406
- down: st,
3407
- flat: $e
3408
- }, li = {
3455
+ }, ri = {
3456
+ up: st,
3457
+ down: ot,
3458
+ flat: Qe
3459
+ }, ii = {
3409
3460
  up: "success",
3410
3461
  down: "danger",
3411
3462
  flat: "neutral"
3412
- }, ui = ({ data: e }) => {
3463
+ }, ai = ({ data: e }) => {
3413
3464
  if (e.length < 2) return null;
3414
3465
  let t = Math.min(...e), n = Math.max(...e) - t || 1;
3415
- return /* @__PURE__ */ D("svg", {
3416
- className: di,
3466
+ return /* @__PURE__ */ k("svg", {
3467
+ className: oi,
3417
3468
  viewBox: "0 0 100 32",
3418
3469
  preserveAspectRatio: "none",
3419
3470
  "aria-hidden": "true",
3420
- children: /* @__PURE__ */ D("polyline", {
3471
+ children: /* @__PURE__ */ k("polyline", {
3421
3472
  points: e.map((r, i) => `${i / (e.length - 1) * 100},${30 - (r - t) / n * 26}`).join(" "),
3422
3473
  fill: "none",
3423
3474
  strokeWidth: 2,
@@ -3426,9 +3477,9 @@ var Z = {
3426
3477
  strokeLinecap: "round"
3427
3478
  })
3428
3479
  });
3429
- }, di = Q.card__sparkline, fi = ({ title: e, value: t, description: n, sparkline: r, delta: i, trend: a = "up", badgeVariant: o, variant: s = "minimal", icon: c, showMenu: l, onMenu: d, className: f }) => {
3430
- let p = ci[a], m = (s === "icon" || s === "featured") && c;
3431
- return /* @__PURE__ */ O("div", {
3480
+ }, oi = Q.card__sparkline, si = ({ title: e, value: t, description: n, sparkline: r, delta: i, trend: a = "up", badgeVariant: o, variant: s = "minimal", icon: c, showMenu: l, onMenu: d, className: f }) => {
3481
+ let p = ri[a], m = (s === "icon" || s === "featured") && c;
3482
+ return /* @__PURE__ */ A("div", {
3432
3483
  className: [
3433
3484
  Q.card,
3434
3485
  Q[`card--${s}`],
@@ -3436,48 +3487,48 @@ var Z = {
3436
3487
  f ?? ""
3437
3488
  ].filter(Boolean).join(" "),
3438
3489
  children: [
3439
- /* @__PURE__ */ O("div", {
3490
+ /* @__PURE__ */ A("div", {
3440
3491
  className: Q.card__head,
3441
3492
  children: [
3442
- m && /* @__PURE__ */ D("span", {
3493
+ m && /* @__PURE__ */ k("span", {
3443
3494
  className: Q.card__icon,
3444
3495
  "aria-hidden": "true",
3445
- children: /* @__PURE__ */ D(c, {
3496
+ children: /* @__PURE__ */ k(c, {
3446
3497
  size: 18,
3447
- strokeWidth: w(18)
3498
+ strokeWidth: D(18)
3448
3499
  })
3449
3500
  }),
3450
- /* @__PURE__ */ D("span", {
3501
+ /* @__PURE__ */ k("span", {
3451
3502
  className: Q.card__title,
3452
3503
  children: e
3453
3504
  }),
3454
- l && /* @__PURE__ */ D("button", {
3505
+ l && /* @__PURE__ */ k("button", {
3455
3506
  type: "button",
3456
3507
  className: Q.card__menu,
3457
3508
  onClick: d,
3458
3509
  "aria-label": "More options",
3459
- children: /* @__PURE__ */ D(et, {
3510
+ children: /* @__PURE__ */ k($e, {
3460
3511
  size: 16,
3461
- strokeWidth: w(16)
3512
+ strokeWidth: D(16)
3462
3513
  })
3463
3514
  })
3464
3515
  ]
3465
3516
  }),
3466
- /* @__PURE__ */ D("div", {
3517
+ /* @__PURE__ */ k("div", {
3467
3518
  className: Q.card__value,
3468
3519
  children: t
3469
3520
  }),
3470
- r && /* @__PURE__ */ D(ui, { data: r }),
3471
- (i || n) && /* @__PURE__ */ O("div", {
3521
+ r && /* @__PURE__ */ k(ai, { data: r }),
3522
+ (i || n) && /* @__PURE__ */ A("div", {
3472
3523
  className: Q.card__meta,
3473
- children: [i && /* @__PURE__ */ D(u, {
3474
- variant: o ?? li[a],
3475
- leftIcon: /* @__PURE__ */ D(p, {
3524
+ children: [i && /* @__PURE__ */ k(u, {
3525
+ variant: o ?? ii[a],
3526
+ leftIcon: /* @__PURE__ */ k(p, {
3476
3527
  size: 12,
3477
3528
  strokeWidth: 2
3478
3529
  }),
3479
3530
  children: i
3480
- }), n && /* @__PURE__ */ D("p", {
3531
+ }), n && /* @__PURE__ */ k("p", {
3481
3532
  className: Q.card__description,
3482
3533
  children: n
3483
3534
  })]
@@ -3505,47 +3556,47 @@ var Z = {
3505
3556
  "connector--horizontal": "_connector--horizontal_kxw14_47",
3506
3557
  "connector--vertical": "_connector--vertical_kxw14_48",
3507
3558
  "connector--filled": "_connector--filled_kxw14_49"
3508
- }, pi = ({ index: e, state: t, label: n, description: r, orientation: i = "horizontal" }) => /* @__PURE__ */ O("div", {
3559
+ }, ci = ({ index: e, state: t, label: n, description: r, orientation: i = "horizontal" }) => /* @__PURE__ */ A("div", {
3509
3560
  className: [$.step, $[`step--${i}`]].join(" "),
3510
- children: [/* @__PURE__ */ D("span", {
3561
+ children: [/* @__PURE__ */ k("span", {
3511
3562
  className: [$.circle, $[`circle--${t}`]].join(" "),
3512
3563
  "aria-hidden": "true",
3513
- children: t === "completed" ? /* @__PURE__ */ D(Ue, {
3564
+ children: t === "completed" ? /* @__PURE__ */ k(He, {
3514
3565
  size: 14,
3515
- strokeWidth: w(14)
3516
- }) : /* @__PURE__ */ D("span", {
3566
+ strokeWidth: D(14)
3567
+ }) : /* @__PURE__ */ k("span", {
3517
3568
  className: $.circle__num,
3518
3569
  children: e + 1
3519
3570
  })
3520
- }), /* @__PURE__ */ O("span", {
3571
+ }), /* @__PURE__ */ A("span", {
3521
3572
  className: $.step__text,
3522
- children: [/* @__PURE__ */ D("span", {
3573
+ children: [/* @__PURE__ */ k("span", {
3523
3574
  className: [
3524
3575
  $.step__label,
3525
3576
  t === "current" ? $["step__label--current"] : "",
3526
3577
  t === "upcoming" ? $["step__label--upcoming"] : ""
3527
3578
  ].filter(Boolean).join(" "),
3528
3579
  children: n
3529
- }), r && /* @__PURE__ */ D("span", {
3580
+ }), r && /* @__PURE__ */ k("span", {
3530
3581
  className: $.step__desc,
3531
3582
  children: r
3532
3583
  })]
3533
3584
  })]
3534
- }), mi = ({ steps: e, current: t, orientation: n = "horizontal", className: r }) => {
3585
+ }), li = ({ steps: e, current: t, orientation: n = "horizontal", className: r }) => {
3535
3586
  let i = (e) => e < t ? "completed" : e === t ? "current" : "upcoming";
3536
- return /* @__PURE__ */ D("div", {
3587
+ return /* @__PURE__ */ k("div", {
3537
3588
  className: [
3538
3589
  $.stepper,
3539
3590
  $[`stepper--${n}`],
3540
3591
  r ?? ""
3541
3592
  ].filter(Boolean).join(" "),
3542
- children: e.map((r, a) => /* @__PURE__ */ O(E.Fragment, { children: [/* @__PURE__ */ D(pi, {
3593
+ children: e.map((r, a) => /* @__PURE__ */ A(O.Fragment, { children: [/* @__PURE__ */ k(ci, {
3543
3594
  index: a,
3544
3595
  state: i(a),
3545
3596
  label: r.label,
3546
3597
  description: r.description,
3547
3598
  orientation: n
3548
- }), a < e.length - 1 && /* @__PURE__ */ D("span", {
3599
+ }), a < e.length - 1 && /* @__PURE__ */ k("span", {
3549
3600
  className: [
3550
3601
  $.connector,
3551
3602
  $[`connector--${n}`],
@@ -3554,46 +3605,46 @@ var Z = {
3554
3605
  "aria-hidden": "true"
3555
3606
  })] }, a))
3556
3607
  });
3557
- }, hi = {
3608
+ }, ui = {
3558
3609
  wrapper: "_wrapper_bkgd3_3",
3559
3610
  "wrapper--disabled": "_wrapper--disabled_bkgd3_11",
3560
3611
  input: "_input_bkgd3_13",
3561
3612
  track: "_track_bkgd3_15",
3562
3613
  thumb: "_thumb_bkgd3_28",
3563
3614
  label: "_label_bkgd3_45"
3564
- }, gi = E.forwardRef(({ label: e, disabled: t, id: n, className: r, ...i }, a) => {
3565
- let o = E.useId(), s = n ?? o;
3566
- return /* @__PURE__ */ O("label", {
3615
+ }, di = O.forwardRef(({ label: e, disabled: t, id: n, className: r, ...i }, a) => {
3616
+ let o = O.useId(), s = n ?? o;
3617
+ return /* @__PURE__ */ A("label", {
3567
3618
  htmlFor: s,
3568
3619
  className: [
3569
- hi.wrapper,
3570
- t ? hi["wrapper--disabled"] : "",
3620
+ ui.wrapper,
3621
+ t ? ui["wrapper--disabled"] : "",
3571
3622
  r ?? ""
3572
3623
  ].filter(Boolean).join(" "),
3573
3624
  children: [
3574
- /* @__PURE__ */ D("input", {
3625
+ /* @__PURE__ */ k("input", {
3575
3626
  ref: a,
3576
3627
  id: s,
3577
3628
  type: "checkbox",
3578
3629
  role: "switch",
3579
3630
  disabled: t,
3580
- className: hi.input,
3631
+ className: ui.input,
3581
3632
  ...i
3582
3633
  }),
3583
- /* @__PURE__ */ D("span", {
3584
- className: hi.track,
3634
+ /* @__PURE__ */ k("span", {
3635
+ className: ui.track,
3585
3636
  "aria-hidden": "true",
3586
- children: /* @__PURE__ */ D("span", { className: hi.thumb })
3637
+ children: /* @__PURE__ */ k("span", { className: ui.thumb })
3587
3638
  }),
3588
- e && /* @__PURE__ */ D("span", {
3589
- className: hi.label,
3639
+ e && /* @__PURE__ */ k("span", {
3640
+ className: ui.label,
3590
3641
  children: e
3591
3642
  })
3592
3643
  ]
3593
3644
  });
3594
3645
  });
3595
- gi.displayName = "Switch";
3596
- var _i = {
3646
+ di.displayName = "Switch";
3647
+ var fi = {
3597
3648
  field: "_field_644oy_6",
3598
3649
  field__label: "_field__label_644oy_8",
3599
3650
  field__description: "_field__description_644oy_9",
@@ -3601,38 +3652,38 @@ var _i = {
3601
3652
  textarea: "_textarea_644oy_12",
3602
3653
  "textarea--error": "_textarea--error_644oy_37",
3603
3654
  "textarea--disabled": "_textarea--disabled_644oy_43"
3604
- }, vi = E.forwardRef(({ label: e, description: t, error: n, disabled: r, id: i, className: a, rows: o = 4, ...s }, c) => {
3605
- let l = E.useId(), u = i ?? l, d = !!n;
3606
- return /* @__PURE__ */ O("div", {
3607
- className: [_i.field, a ?? ""].filter(Boolean).join(" "),
3655
+ }, pi = O.forwardRef(({ label: e, description: t, error: n, disabled: r, id: i, className: a, rows: o = 4, ...s }, c) => {
3656
+ let l = O.useId(), u = i ?? l, d = !!n;
3657
+ return /* @__PURE__ */ A("div", {
3658
+ className: [fi.field, a ?? ""].filter(Boolean).join(" "),
3608
3659
  children: [
3609
- e && /* @__PURE__ */ D("label", {
3660
+ e && /* @__PURE__ */ k("label", {
3610
3661
  htmlFor: u,
3611
- className: _i.field__label,
3662
+ className: fi.field__label,
3612
3663
  children: e
3613
3664
  }),
3614
- /* @__PURE__ */ D("textarea", {
3665
+ /* @__PURE__ */ k("textarea", {
3615
3666
  ref: c,
3616
3667
  id: u,
3617
3668
  rows: o,
3618
3669
  disabled: r,
3619
3670
  "aria-invalid": d || void 0,
3620
3671
  className: [
3621
- _i.textarea,
3622
- d ? _i["textarea--error"] : "",
3623
- r ? _i["textarea--disabled"] : ""
3672
+ fi.textarea,
3673
+ d ? fi["textarea--error"] : "",
3674
+ r ? fi["textarea--disabled"] : ""
3624
3675
  ].filter(Boolean).join(" "),
3625
3676
  ...s
3626
3677
  }),
3627
- (t || n) && /* @__PURE__ */ D("span", {
3628
- className: d ? _i.field__error : _i.field__description,
3678
+ (t || n) && /* @__PURE__ */ k("span", {
3679
+ className: d ? fi.field__error : fi.field__description,
3629
3680
  children: n || t
3630
3681
  })
3631
3682
  ]
3632
3683
  });
3633
3684
  });
3634
- vi.displayName = "Textarea";
3635
- var yi = {
3685
+ pi.displayName = "Textarea";
3686
+ var mi = {
3636
3687
  toast: "_toast_8yqwj_3",
3637
3688
  toast__icon: "_toast__icon_8yqwj_17",
3638
3689
  "toast--success": "_toast--success_8yqwj_18",
@@ -3642,100 +3693,100 @@ var yi = {
3642
3693
  toast__title: "_toast__title_8yqwj_23",
3643
3694
  toast__description: "_toast__description_8yqwj_24",
3644
3695
  toast__dismiss: "_toast__dismiss_8yqwj_26"
3645
- }, bi = {
3646
- success: /* @__PURE__ */ O(Be, { children: [/* @__PURE__ */ D("path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }), /* @__PURE__ */ D("polyline", { points: "22 4 12 14.01 9 11.01" })] }),
3647
- error: /* @__PURE__ */ O(Be, { children: [
3648
- /* @__PURE__ */ D("circle", {
3696
+ }, hi = {
3697
+ success: /* @__PURE__ */ A(ze, { children: [/* @__PURE__ */ k("path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }), /* @__PURE__ */ k("polyline", { points: "22 4 12 14.01 9 11.01" })] }),
3698
+ error: /* @__PURE__ */ A(ze, { children: [
3699
+ /* @__PURE__ */ k("circle", {
3649
3700
  cx: "12",
3650
3701
  cy: "12",
3651
3702
  r: "10"
3652
3703
  }),
3653
- /* @__PURE__ */ D("line", {
3704
+ /* @__PURE__ */ k("line", {
3654
3705
  x1: "15",
3655
3706
  y1: "9",
3656
3707
  x2: "9",
3657
3708
  y2: "15"
3658
3709
  }),
3659
- /* @__PURE__ */ D("line", {
3710
+ /* @__PURE__ */ k("line", {
3660
3711
  x1: "9",
3661
3712
  y1: "9",
3662
3713
  x2: "15",
3663
3714
  y2: "15"
3664
3715
  })
3665
3716
  ] }),
3666
- info: /* @__PURE__ */ O(Be, { children: [
3667
- /* @__PURE__ */ D("circle", {
3717
+ info: /* @__PURE__ */ A(ze, { children: [
3718
+ /* @__PURE__ */ k("circle", {
3668
3719
  cx: "12",
3669
3720
  cy: "12",
3670
3721
  r: "10"
3671
3722
  }),
3672
- /* @__PURE__ */ D("line", {
3723
+ /* @__PURE__ */ k("line", {
3673
3724
  x1: "12",
3674
3725
  y1: "16",
3675
3726
  x2: "12",
3676
3727
  y2: "12"
3677
3728
  }),
3678
- /* @__PURE__ */ D("line", {
3729
+ /* @__PURE__ */ k("line", {
3679
3730
  x1: "12",
3680
3731
  y1: "8",
3681
3732
  x2: "12.01",
3682
3733
  y2: "8"
3683
3734
  })
3684
3735
  ] })
3685
- }, xi = ({ status: e = "info", title: t, description: n, onDismiss: r, className: i }) => /* @__PURE__ */ O("div", {
3736
+ }, gi = ({ status: e = "info", title: t, description: n, onDismiss: r, className: i }) => /* @__PURE__ */ A("div", {
3686
3737
  role: e === "error" ? "alert" : "status",
3687
3738
  "aria-live": e === "error" ? "assertive" : "polite",
3688
3739
  className: [
3689
- yi.toast,
3690
- yi[`toast--${e}`],
3740
+ mi.toast,
3741
+ mi[`toast--${e}`],
3691
3742
  i ?? ""
3692
3743
  ].filter(Boolean).join(" "),
3693
3744
  children: [
3694
- /* @__PURE__ */ D("span", {
3695
- className: yi.toast__icon,
3745
+ /* @__PURE__ */ k("span", {
3746
+ className: mi.toast__icon,
3696
3747
  "aria-hidden": "true",
3697
- children: /* @__PURE__ */ D("svg", {
3748
+ children: /* @__PURE__ */ k("svg", {
3698
3749
  viewBox: "0 0 24 24",
3699
3750
  fill: "none",
3700
3751
  stroke: "currentColor",
3701
- strokeWidth: w(18),
3752
+ strokeWidth: D(18),
3702
3753
  strokeLinecap: "round",
3703
3754
  strokeLinejoin: "round",
3704
3755
  width: 18,
3705
3756
  height: 18,
3706
- children: bi[e]
3757
+ children: hi[e]
3707
3758
  })
3708
3759
  }),
3709
- /* @__PURE__ */ O("div", {
3710
- className: yi.toast__content,
3711
- children: [t && /* @__PURE__ */ D("div", {
3712
- className: yi.toast__title,
3760
+ /* @__PURE__ */ A("div", {
3761
+ className: mi.toast__content,
3762
+ children: [t && /* @__PURE__ */ k("div", {
3763
+ className: mi.toast__title,
3713
3764
  children: t
3714
- }), n && /* @__PURE__ */ D("div", {
3715
- className: yi.toast__description,
3765
+ }), n && /* @__PURE__ */ k("div", {
3766
+ className: mi.toast__description,
3716
3767
  children: n
3717
3768
  })]
3718
3769
  }),
3719
- r && /* @__PURE__ */ D("button", {
3770
+ r && /* @__PURE__ */ k("button", {
3720
3771
  type: "button",
3721
- className: yi.toast__dismiss,
3772
+ className: mi.toast__dismiss,
3722
3773
  onClick: r,
3723
3774
  "aria-label": "Dismiss",
3724
- children: /* @__PURE__ */ O("svg", {
3775
+ children: /* @__PURE__ */ A("svg", {
3725
3776
  viewBox: "0 0 24 24",
3726
3777
  fill: "none",
3727
3778
  stroke: "currentColor",
3728
- strokeWidth: w(16),
3779
+ strokeWidth: D(16),
3729
3780
  strokeLinecap: "round",
3730
3781
  strokeLinejoin: "round",
3731
3782
  width: 16,
3732
3783
  height: 16,
3733
- children: [/* @__PURE__ */ D("line", {
3784
+ children: [/* @__PURE__ */ k("line", {
3734
3785
  x1: "18",
3735
3786
  y1: "6",
3736
3787
  x2: "6",
3737
3788
  y2: "18"
3738
- }), /* @__PURE__ */ D("line", {
3789
+ }), /* @__PURE__ */ k("line", {
3739
3790
  x1: "6",
3740
3791
  y1: "6",
3741
3792
  x2: "18",
@@ -3744,54 +3795,54 @@ var yi = {
3744
3795
  })
3745
3796
  })
3746
3797
  ]
3747
- }), Si = {
3798
+ }), _i = {
3748
3799
  bar: "_bar_14cqo_2",
3749
3800
  bar__icon: "_bar__icon_14cqo_10",
3750
3801
  bar__title: "_bar__title_14cqo_17",
3751
3802
  "bar__title--center": "_bar__title--center_14cqo_21",
3752
3803
  bar__search: "_bar__search_14cqo_22"
3753
- }, Ci = ({ type: e = "title", title: t, trailing: n, search: r, onMenu: i, onAction: a, onClose: o, className: s }) => /* @__PURE__ */ O("header", {
3754
- className: [Si.bar, s ?? ""].filter(Boolean).join(" "),
3804
+ }, vi = ({ type: e = "title", title: t, trailing: n, search: r, onMenu: i, onAction: a, onClose: o, className: s }) => /* @__PURE__ */ A("header", {
3805
+ className: [_i.bar, s ?? ""].filter(Boolean).join(" "),
3755
3806
  children: [
3756
- /* @__PURE__ */ D("button", {
3807
+ /* @__PURE__ */ k("button", {
3757
3808
  type: "button",
3758
- className: Si.bar__icon,
3809
+ className: _i.bar__icon,
3759
3810
  onClick: i,
3760
3811
  "aria-label": "Open menu",
3761
- children: /* @__PURE__ */ D(Qe, {
3812
+ children: /* @__PURE__ */ k(Ze, {
3762
3813
  size: 18,
3763
- strokeWidth: w(18)
3814
+ strokeWidth: D(18)
3764
3815
  })
3765
3816
  }),
3766
- e === "search" ? /* @__PURE__ */ D("div", {
3767
- className: Si.bar__search,
3817
+ e === "search" ? /* @__PURE__ */ k("div", {
3818
+ className: _i.bar__search,
3768
3819
  children: r
3769
- }) : /* @__PURE__ */ D("span", {
3770
- className: [Si.bar__title, e === "title-centered" ? Si["bar__title--center"] : ""].join(" "),
3820
+ }) : /* @__PURE__ */ k("span", {
3821
+ className: [_i.bar__title, e === "title-centered" ? _i["bar__title--center"] : ""].join(" "),
3771
3822
  children: t
3772
3823
  }),
3773
- e === "title-action" && /* @__PURE__ */ D("button", {
3824
+ e === "title-action" && /* @__PURE__ */ k("button", {
3774
3825
  type: "button",
3775
- className: Si.bar__icon,
3826
+ className: _i.bar__icon,
3776
3827
  onClick: a,
3777
3828
  "aria-label": "Add",
3778
- children: /* @__PURE__ */ D(nt, {
3829
+ children: /* @__PURE__ */ k(tt, {
3779
3830
  size: 18,
3780
- strokeWidth: w(18)
3831
+ strokeWidth: D(18)
3781
3832
  })
3782
3833
  }),
3783
- e === "search" && /* @__PURE__ */ D("button", {
3834
+ e === "search" && /* @__PURE__ */ k("button", {
3784
3835
  type: "button",
3785
- className: Si.bar__icon,
3836
+ className: _i.bar__icon,
3786
3837
  onClick: o,
3787
3838
  "aria-label": "Close search",
3788
- children: /* @__PURE__ */ D(dt, {
3839
+ children: /* @__PURE__ */ k(ut, {
3789
3840
  size: 18,
3790
- strokeWidth: w(18)
3841
+ strokeWidth: D(18)
3791
3842
  })
3792
3843
  }),
3793
3844
  (e === "title" || e === "title-centered") && n
3794
3845
  ]
3795
3846
  });
3796
3847
  //#endregion
3797
- export { Pe as Accordion, ue as AccordionItem, Ae as ActivityFeed, ce as ActivityFeedHighlight, a as Alert, Ft as Announcement, Rn as AreaChart, be as Avatar, _e as AvatarGroup, Oe as AvatarUpload, u as Badge, Me as Balance, tn as BarChart, fn as BlogBlockquote, mn as BlogFeatureText, gn as BlogImage, g as BlogListingCard, m as BlogListingFeaturedCard, ee as BoardCard, zn as BoardColumn, Ie as Breadcrumb, ge as Button, Wn as Calendar, Kn as Card, r as CardMetaItem, d as CartItem, y as ChatComposer, Le as Checkbox, x as CheckoutSteps, zt as CodeSnippet, c as ColorSwatch, qn as Combobox, oe as ConversationItem, s as DEFAULT_CHECKOUT_STEPS, e as Divider, Zn as DonutChart, Re as EmptyState, Ht as Expenses, p as FeaturedIcon, Qn as FileUpload, Fe as FilterChip, _n as FirstPageHeading, ir as FunnelChart, cr as HeatmapChart, ae as IconButton, Gt as InlineHint, re as Input, ve as JobListing, ur as Kbd, fr as Label, _r as LineChart, we as Link, yn as List, vr as ListItem, t as LocationDot, Sn as Marquee, br as Menu, xr as MenuDivider, Cr as MenuItem, pe as MessageBubble, wn as Metric, Tn as MobileNavigationMenu, _ as Modal, ne as NotificationItem, me as Pagination, Mr as PieChart, On as PlaceholderLogo, Pr as Popover, b as PriceDisplay, ze as ProductCard, v as ProductGallery, kn as ProfileCard, de as Progress, Kt as ProgressItem, S as ProgressStat, Ee as QuantitySelector, Gr as RadarChart, $r as RadialChart, ei as Radio, Jt as RichSeparator, jn as RichTextHeading, Nn as RichTextParagraph, h as SectionHeading, xe as SegmentedControl, Te as Select, fe as Sidebar, le as SidebarDivider, ti as SidebarFooter, Ne as SidebarGroupLabel, ye as SidebarHeader, se as SidebarItem, ri as SidebarPromo, ai as SidebarSearch, ke as SidebarSubItem, f as SizeSelector, Ce as Skeleton, ie as Slider, C as SpendingBalance, si as Spinner, l as StarRating, fi as StatCard, mi as Stepper, pi as StepperStep, rn as StockMarket, o as StockStatus, Pn as SubFeature, gi as Switch, he as Table, De as Tabs, on as Tags, i as TeamCard, vi as Textarea, ln as Ticker, xi as Toast, Se as Tooltip, je as TopBar, Ci as TopBarMobile, dn as Transactions, n as WishlistButton, te as getContrastColor, w as iconStrokeWidth };
3848
+ export { ge as Accordion, je as AccordionItem, xe as ActivityFeed, De as ActivityFeedHighlight, a as Alert, It as Announcement, zn as AreaChart, ae as Avatar, pe as AvatarGroup, ye as AvatarUpload, u as Badge, ke as Balance, nn as BarChart, pn as BlogBlockquote, hn as BlogFeatureText, _n as BlogImage, g as BlogListingCard, m as BlogListingFeaturedCard, b as BoardCard, Bn as BoardColumn, Ne as Breadcrumb, Te as Button, Gn as Calendar, qn as Card, r as CardMetaItem, d as CartItem, y as ChatComposer, Pe as Checkbox, C as CheckoutSteps, Bt as CodeSnippet, c as ColorSwatch, Jn as Combobox, re as ConversationItem, s as DEFAULT_CHECKOUT_STEPS, e as Divider, Zn as DonutChart, Fe as EmptyState, Ut as Expenses, p as FeaturedIcon, Qn as FileUpload, Me as FilterChip, vn as FirstPageHeading, rr as FunnelChart, or as HeatmapChart, fe as IconButton, Kt as InlineHint, E as Input, me as JobListing, cr as Kbd, ur as Label, mr as LineChart, ne as Link, bn as List, gr as ListItem, t as LocationDot, Cn as Marquee, vr as Menu, yr as MenuDivider, xr as MenuItem, le as MessageBubble, Tn as Metric, En as MobileNavigationMenu, _ as Modal, ee as NotificationItem, ue as Pagination, kr as PieChart, kn as PlaceholderLogo, Ar as Popover, S as PriceDisplay, Ie as ProductCard, v as ProductGallery, An as ProfileCard, se as Progress, qt as ProgressItem, w as ProgressStat, Ce as QuantitySelector, Br as RadarChart, Jr as RadialChart, Yr as Radio, Yt as RichSeparator, Mn as RichTextHeading, Pn as RichTextParagraph, h as SectionHeading, _e as SegmentedControl, Se as Select, ce as Sidebar, oe as SidebarDivider, Xr as SidebarFooter, Ae as SidebarGroupLabel, he as SidebarHeader, ie as SidebarItem, Qr as SidebarPromo, ei as SidebarSearch, Ee as SidebarSubItem, f as SizeSelector, be as Skeleton, te as Slider, T as SpendingBalance, ni as Spinner, l as StarRating, si as StatCard, li as Stepper, ci as StepperStep, an as StockMarket, o as StockStatus, In as SubFeature, di as Switch, de as Table, we as Tabs, sn as Tags, i as TeamCard, pi as Textarea, un as Ticker, gi as Toast, ve as Tooltip, Oe as TopBar, vi as TopBarMobile, fn as Transactions, n as WishlistButton, x as getContrastColor, D as iconStrokeWidth };