rl-react-components 2.9.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import e, { createContext as t, useCallback as n, useContext as r, useEffect as i, useId as a, useMemo as o, useRef as s, useState as c } from "react";
3
- import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
4
- import f from "react-markdown";
5
- import p from "remark-gfm";
6
- var m = {
2
+ import e, { createContext as t, useCallback as n, useContext as r, useEffect as i, useId as a, useImperativeHandle as o, useMemo as s, useRef as c, useState as l } from "react";
3
+ import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
4
+ import p from "react-markdown";
5
+ import m from "remark-gfm";
6
+ var h = {
7
7
  accordion: "_accordion_1dh6o_1",
8
8
  item: "_item_1dh6o_9",
9
9
  summary: "_summary_1dh6o_32",
@@ -12,22 +12,22 @@ var m = {
12
12
  content: "_content_1dh6o_73"
13
13
  };
14
14
  // src/components/Accordion/Accordion.tsx
15
- function h({ items: e, defaultOpen: t = [], singleOpen: n = !1, headingLevel: r, className: i }) {
16
- let o = a(), [s] = c(() => new Set(n ? t.slice(0, 1) : t)), l = r ? `h${r}` : "span";
17
- return /* @__PURE__ */ u("div", {
18
- className: [m.accordion, i].filter(Boolean).join(" "),
19
- children: e.map((e) => /* @__PURE__ */ d("details", {
20
- className: m.item,
15
+ function g({ items: e, defaultOpen: t = [], singleOpen: n = !1, headingLevel: r, className: i }) {
16
+ let o = a(), [s] = l(() => new Set(n ? t.slice(0, 1) : t)), c = r ? `h${r}` : "span";
17
+ return /* @__PURE__ */ d("div", {
18
+ className: [h.accordion, i].filter(Boolean).join(" "),
19
+ children: e.map((e) => /* @__PURE__ */ f("details", {
20
+ className: h.item,
21
21
  name: n ? o : void 0,
22
22
  open: s.has(e.id),
23
23
  suppressHydrationWarning: !0,
24
- children: [/* @__PURE__ */ d("summary", {
25
- className: m.summary,
26
- children: [/* @__PURE__ */ u(l, {
27
- className: m.title,
24
+ children: [/* @__PURE__ */ f("summary", {
25
+ className: h.summary,
26
+ children: [/* @__PURE__ */ d(c, {
27
+ className: h.title,
28
28
  children: e.title
29
- }), /* @__PURE__ */ u("svg", {
30
- className: m.chevron,
29
+ }), /* @__PURE__ */ d("svg", {
30
+ className: h.chevron,
31
31
  width: 18,
32
32
  height: 18,
33
33
  viewBox: "0 0 24 24",
@@ -38,41 +38,41 @@ function h({ items: e, defaultOpen: t = [], singleOpen: n = !1, headingLevel: r,
38
38
  strokeLinejoin: "round",
39
39
  "aria-hidden": "true",
40
40
  focusable: "false",
41
- children: /* @__PURE__ */ u("path", { d: "M6 9l6 6 6-6" })
41
+ children: /* @__PURE__ */ d("path", { d: "M6 9l6 6 6-6" })
42
42
  })]
43
- }), /* @__PURE__ */ u("div", {
44
- className: m.content,
43
+ }), /* @__PURE__ */ d("div", {
44
+ className: h.content,
45
45
  children: e.content
46
46
  })]
47
47
  }, e.id))
48
48
  });
49
49
  }
50
- var g = {
51
- button: "_button_1vh0a_1",
52
- content: "_content_1vh0a_37",
53
- primary: "_primary_1vh0a_45",
54
- secondary: "_secondary_1vh0a_56",
55
- ghost: "_ghost_1vh0a_66",
56
- danger: "_danger_1vh0a_76",
57
- small: "_small_1vh0a_86",
58
- large: "_large_1vh0a_91",
59
- fullWidth: "_fullWidth_1vh0a_96",
60
- link: "_link_1vh0a_100"
50
+ var _ = {
51
+ button: "_button_1kl03_1",
52
+ content: "_content_1kl03_37",
53
+ primary: "_primary_1kl03_45",
54
+ secondary: "_secondary_1kl03_56",
55
+ ghost: "_ghost_1kl03_66",
56
+ danger: "_danger_1kl03_76",
57
+ small: "_small_1kl03_86",
58
+ large: "_large_1kl03_91",
59
+ fullWidth: "_fullWidth_1kl03_96",
60
+ link: "_link_1kl03_100"
61
61
  };
62
62
  // src/components/Button/Button.tsx
63
- function _(e) {
63
+ function v(e) {
64
64
  return Object.fromEntries(Object.entries(e).filter(([e]) => !/^on[A-Z]/.test(e) && e !== "tabIndex"));
65
65
  }
66
- function v({ variant: e = "primary", size: t = "medium", fullWidth: n = !1, children: r, className: i, href: a, target: o, rel: s, as: c, type: l, disabled: d, onClick: f, ...p }) {
66
+ function y({ variant: e = "primary", size: t = "medium", fullWidth: n = !1, children: r, className: i, href: a, target: o, rel: s, as: c, type: l, disabled: u, onClick: f, ...p }) {
67
67
  let m = a !== void 0, h = [
68
- g.button,
69
- g[e],
70
- t !== "medium" && g[t],
71
- n && g.fullWidth,
72
- m && g.link,
68
+ _.button,
69
+ _[e],
70
+ t !== "medium" && _[t],
71
+ n && _.fullWidth,
72
+ m && _.link,
73
73
  i
74
- ].filter(Boolean).join(" "), v = m && !!d, y = v ? "a" : c ?? (m ? "a" : "button"), b;
75
- return b = v ? {
74
+ ].filter(Boolean).join(" "), g = m && !!u, y = g ? "a" : c ?? (m ? "a" : "button"), b;
75
+ return b = g ? {
76
76
  role: "link",
77
77
  "aria-disabled": !0
78
78
  } : m ? {
@@ -81,21 +81,21 @@ function v({ variant: e = "primary", size: t = "medium", fullWidth: n = !1, chil
81
81
  rel: s
82
82
  } : {
83
83
  type: l,
84
- disabled: d
85
- }, /* @__PURE__ */ u(y, {
84
+ disabled: u
85
+ }, /* @__PURE__ */ d(y, {
86
86
  className: h,
87
- ...v ? _(p) : {
87
+ ...g ? v(p) : {
88
88
  ...p,
89
89
  onClick: f
90
90
  },
91
91
  ...b,
92
- children: /* @__PURE__ */ u("span", {
93
- className: g.content,
92
+ children: /* @__PURE__ */ d("span", {
93
+ className: _.content,
94
94
  children: r
95
95
  })
96
96
  });
97
97
  }
98
- var y = {
98
+ var b = {
99
99
  card: "_card_vtakk_1",
100
100
  link: "_link_vtakk_21",
101
101
  arrow: "_arrow_vtakk_41",
@@ -106,17 +106,17 @@ var y = {
106
106
  title: "_title_vtakk_86"
107
107
  };
108
108
  // src/components/Card/Card.tsx
109
- function b(e) {
109
+ function x(e) {
110
110
  let t = e.currentTarget, n = t.getBoundingClientRect();
111
111
  t.style.setProperty("--spot-x", `${e.clientX - n.left}px`), t.style.setProperty("--spot-y", `${e.clientY - n.top}px`);
112
112
  }
113
- function x({ title: e, description: t, icon: n, eyebrow: r, href: i, target: o, rel: s, headingLevel: c, as: l, children: f, className: p, style: m, id: h }) {
114
- let g = a(), _ = a(), v = i !== void 0, x = l ?? (v ? "a" : "div"), S = c ? `h${c}` : "span", C = [
115
- y.card,
116
- v && y.link,
113
+ function S({ title: e, description: t, icon: n, eyebrow: r, href: i, target: o, rel: s, headingLevel: c, as: l, children: u, className: p, style: m, id: h }) {
114
+ let g = a(), _ = a(), v = i !== void 0, y = l ?? (v ? "a" : "div"), S = c ? `h${c}` : "span", C = [
115
+ b.card,
116
+ v && b.link,
117
117
  p
118
118
  ].filter(Boolean).join(" ");
119
- return /* @__PURE__ */ d(x, {
119
+ return /* @__PURE__ */ f(y, {
120
120
  className: C,
121
121
  style: m,
122
122
  id: h,
@@ -124,35 +124,35 @@ function x({ title: e, description: t, icon: n, eyebrow: r, href: i, target: o,
124
124
  href: i,
125
125
  target: o,
126
126
  rel: s,
127
- onPointerMove: b,
127
+ onPointerMove: x,
128
128
  "aria-labelledby": g,
129
129
  "aria-describedby": t ? _ : void 0
130
130
  } : {},
131
131
  children: [
132
- (n || r) && /* @__PURE__ */ d("span", {
133
- className: y.top,
134
- children: [n && /* @__PURE__ */ u("span", {
135
- className: y.icon,
132
+ (n || r) && /* @__PURE__ */ f("span", {
133
+ className: b.top,
134
+ children: [n && /* @__PURE__ */ d("span", {
135
+ className: b.icon,
136
136
  "aria-hidden": "true",
137
137
  children: n
138
- }), r && /* @__PURE__ */ u("span", {
139
- className: y.eyebrow,
138
+ }), r && /* @__PURE__ */ d("span", {
139
+ className: b.eyebrow,
140
140
  children: r
141
141
  })]
142
142
  }),
143
- /* @__PURE__ */ u(S, {
143
+ /* @__PURE__ */ d(S, {
144
144
  id: g,
145
- className: y.title,
145
+ className: b.title,
146
146
  children: e
147
147
  }),
148
- t && /* @__PURE__ */ u("span", {
148
+ t && /* @__PURE__ */ d("span", {
149
149
  id: _,
150
- className: y.description,
150
+ className: b.description,
151
151
  children: t
152
152
  }),
153
- f,
154
- v && /* @__PURE__ */ u("svg", {
155
- className: y.arrow,
153
+ u,
154
+ v && /* @__PURE__ */ d("svg", {
155
+ className: b.arrow,
156
156
  width: 16,
157
157
  height: 16,
158
158
  viewBox: "0 0 24 24",
@@ -163,29 +163,29 @@ function x({ title: e, description: t, icon: n, eyebrow: r, href: i, target: o,
163
163
  strokeLinejoin: "round",
164
164
  "aria-hidden": "true",
165
165
  focusable: "false",
166
- children: /* @__PURE__ */ u("path", { d: "M5 12h14M13 6l6 6-6 6" })
166
+ children: /* @__PURE__ */ d("path", { d: "M5 12h14M13 6l6 6-6 6" })
167
167
  })
168
168
  ]
169
169
  });
170
170
  }
171
- var S = {
171
+ var C = {
172
172
  checkbox: "_checkbox_10gcb_2",
173
173
  input: "_input_10gcb_9",
174
174
  tile: "_tile_10gcb_22",
175
175
  box: "_box_10gcb_44"
176
176
  };
177
177
  // src/components/Checkbox/Checkbox.tsx
178
- function C({ label: e, className: t, ...n }) {
179
- return /* @__PURE__ */ d("label", {
180
- className: `${S.checkbox} ${t || ""}`,
181
- children: [/* @__PURE__ */ u("input", {
178
+ function ee({ label: e, className: t, ...n }) {
179
+ return /* @__PURE__ */ f("label", {
180
+ className: `${C.checkbox} ${t || ""}`,
181
+ children: [/* @__PURE__ */ d("input", {
182
182
  ...n,
183
183
  type: "checkbox",
184
- className: S.input
185
- }), /* @__PURE__ */ d("span", {
186
- className: S.tile,
187
- children: [/* @__PURE__ */ u("span", {
188
- className: S.box,
184
+ className: C.input
185
+ }), /* @__PURE__ */ f("span", {
186
+ className: C.tile,
187
+ children: [/* @__PURE__ */ d("span", {
188
+ className: C.box,
189
189
  "aria-hidden": "true"
190
190
  }), e]
191
191
  })]
@@ -207,63 +207,63 @@ function T({ children: e, size: t, className: n, as: r = "div" }) {
207
207
  i,
208
208
  n
209
209
  ].filter(Boolean).join(" ");
210
- return /* @__PURE__ */ u(r, {
210
+ return /* @__PURE__ */ d(r, {
211
211
  className: a,
212
212
  children: e
213
213
  });
214
214
  }
215
- var ee = { icon: "_icon_veg5e_1" }, E = {
216
- sun: /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("circle", {
215
+ var E = { icon: "_icon_veg5e_1" }, D = {
216
+ sun: /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ d("circle", {
217
217
  cx: "12",
218
218
  cy: "12",
219
219
  r: "4"
220
- }), /* @__PURE__ */ u("path", { d: "M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41" })] }),
221
- moon: /* @__PURE__ */ u("path", { d: "M20 14.5A8.5 8.5 0 0 1 9.5 4a8.5 8.5 0 1 0 10.5 10.5Z" }),
222
- copy: /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("rect", {
220
+ }), /* @__PURE__ */ d("path", { d: "M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41" })] }),
221
+ moon: /* @__PURE__ */ d("path", { d: "M20 14.5A8.5 8.5 0 0 1 9.5 4a8.5 8.5 0 1 0 10.5 10.5Z" }),
222
+ copy: /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ d("rect", {
223
223
  x: "9",
224
224
  y: "9",
225
225
  width: "12",
226
226
  height: "12",
227
227
  rx: "2"
228
- }), /* @__PURE__ */ u("path", { d: "M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1" })] }),
229
- check: /* @__PURE__ */ u("path", { d: "m5 12.5 4.5 4.5L19 7.5" }),
230
- arrowRight: /* @__PURE__ */ u("path", { d: "M5 12h14M13 6l6 6-6 6" }),
231
- arrowUpRight: /* @__PURE__ */ u("path", { d: "M7 17 17 7M8 7h9v9" }),
232
- code: /* @__PURE__ */ u("path", { d: "m8 7-5 5 5 5M16 7l5 5-5 5M14 4l-4 16" }),
233
- book: /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("path", { d: "M4 5.5A2.5 2.5 0 0 1 6.5 3H20v15H6.5A2.5 2.5 0 0 0 4 20.5Z" }), /* @__PURE__ */ u("path", { d: "M4 20.5A2.5 2.5 0 0 0 6.5 23H20v-5" })] }),
234
- layout: /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("rect", {
228
+ }), /* @__PURE__ */ d("path", { d: "M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1" })] }),
229
+ check: /* @__PURE__ */ d("path", { d: "m5 12.5 4.5 4.5L19 7.5" }),
230
+ arrowRight: /* @__PURE__ */ d("path", { d: "M5 12h14M13 6l6 6-6 6" }),
231
+ arrowUpRight: /* @__PURE__ */ d("path", { d: "M7 17 17 7M8 7h9v9" }),
232
+ code: /* @__PURE__ */ d("path", { d: "m8 7-5 5 5 5M16 7l5 5-5 5M14 4l-4 16" }),
233
+ book: /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ d("path", { d: "M4 5.5A2.5 2.5 0 0 1 6.5 3H20v15H6.5A2.5 2.5 0 0 0 4 20.5Z" }), /* @__PURE__ */ d("path", { d: "M4 20.5A2.5 2.5 0 0 0 6.5 23H20v-5" })] }),
234
+ layout: /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ d("rect", {
235
235
  x: "3",
236
236
  y: "3",
237
237
  width: "18",
238
238
  height: "18",
239
239
  rx: "2"
240
- }), /* @__PURE__ */ u("path", { d: "M3 9h18M9 9v12" })] }),
241
- compass: /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("circle", {
240
+ }), /* @__PURE__ */ d("path", { d: "M3 9h18M9 9v12" })] }),
241
+ compass: /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ d("circle", {
242
242
  cx: "12",
243
243
  cy: "12",
244
244
  r: "9"
245
- }), /* @__PURE__ */ u("path", { d: "m15.5 8.5-2 5-5 2 2-5Z" })] }),
246
- input: /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("rect", {
245
+ }), /* @__PURE__ */ d("path", { d: "m15.5 8.5-2 5-5 2 2-5Z" })] }),
246
+ input: /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ d("rect", {
247
247
  x: "3",
248
248
  y: "6",
249
249
  width: "18",
250
250
  height: "12",
251
251
  rx: "2"
252
- }), /* @__PURE__ */ u("path", { d: "M7 10v4" })] }),
253
- tag: /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("path", { d: "M3 12V4a1 1 0 0 1 1-1h8l9 9-9 9Z" }), /* @__PURE__ */ u("circle", {
252
+ }), /* @__PURE__ */ d("path", { d: "M7 10v4" })] }),
253
+ tag: /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ d("path", { d: "M3 12V4a1 1 0 0 1 1-1h8l9 9-9 9Z" }), /* @__PURE__ */ d("circle", {
254
254
  cx: "8",
255
255
  cy: "8",
256
256
  r: "1.5"
257
257
  })] }),
258
- document: /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("path", { d: "M6 2h9l5 5v15H6Z" }), /* @__PURE__ */ u("path", { d: "M14 2v6h6M9 13h7M9 17h5" })] }),
259
- bell: /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("path", { d: "M6 16V11a6 6 0 0 1 12 0v5l2 2H4Z" }), /* @__PURE__ */ u("path", { d: "M10 21h4" })] }),
260
- sparkle: /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("path", { d: "M12 3c.6 4.5 2.5 6.4 7 7-4.5.6-6.4 2.5-7 7-.6-4.5-2.5-6.4-7-7 4.5-.6 6.4-2.5 7-7Z" }), /* @__PURE__ */ u("path", { d: "M19 16c.2 1.6.9 2.3 2.5 2.5-1.6.2-2.3.9-2.5 2.5-.2-1.6-.9-2.3-2.5-2.5 1.6-.2 2.3-.9 2.5-2.5Z" })] }),
261
- braces: /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("path", { d: "M8 3H7a2 2 0 0 0-2 2v4a3 3 0 0 1-2 3 3 3 0 0 1 2 3v4a2 2 0 0 0 2 2h1" }), /* @__PURE__ */ u("path", { d: "M16 3h1a2 2 0 0 1 2 2v4a3 3 0 0 0 2 3 3 3 0 0 0-2 3v4a2 2 0 0 1-2 2h-1" })] }),
262
- type: /* @__PURE__ */ u("path", { d: "M5 7V4h14v3M12 4v16M9 20h6" })
263
- }, te = Object.keys(E);
264
- function ne({ name: e, size: t = 18, className: n }) {
265
- let r = [ee.icon, n].filter(Boolean).join(" ");
266
- return /* @__PURE__ */ u("svg", {
258
+ document: /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ d("path", { d: "M6 2h9l5 5v15H6Z" }), /* @__PURE__ */ d("path", { d: "M14 2v6h6M9 13h7M9 17h5" })] }),
259
+ bell: /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ d("path", { d: "M6 16V11a6 6 0 0 1 12 0v5l2 2H4Z" }), /* @__PURE__ */ d("path", { d: "M10 21h4" })] }),
260
+ sparkle: /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ d("path", { d: "M12 3c.6 4.5 2.5 6.4 7 7-4.5.6-6.4 2.5-7 7-.6-4.5-2.5-6.4-7-7 4.5-.6 6.4-2.5 7-7Z" }), /* @__PURE__ */ d("path", { d: "M19 16c.2 1.6.9 2.3 2.5 2.5-1.6.2-2.3.9-2.5 2.5-.2-1.6-.9-2.3-2.5-2.5 1.6-.2 2.3-.9 2.5-2.5Z" })] }),
261
+ braces: /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ d("path", { d: "M8 3H7a2 2 0 0 0-2 2v4a3 3 0 0 1-2 3 3 3 0 0 1 2 3v4a2 2 0 0 0 2 2h1" }), /* @__PURE__ */ d("path", { d: "M16 3h1a2 2 0 0 1 2 2v4a3 3 0 0 0 2 3 3 3 0 0 0-2 3v4a2 2 0 0 1-2 2h-1" })] }),
262
+ type: /* @__PURE__ */ d("path", { d: "M5 7V4h14v3M12 4v16M9 20h6" })
263
+ }, O = Object.keys(D);
264
+ function k({ name: e, size: t = 18, className: n }) {
265
+ let r = [E.icon, n].filter(Boolean).join(" ");
266
+ return /* @__PURE__ */ d("svg", {
267
267
  className: r,
268
268
  width: t,
269
269
  height: t,
@@ -275,56 +275,81 @@ function ne({ name: e, size: t = 18, className: n }) {
275
275
  strokeLinejoin: "round",
276
276
  "aria-hidden": "true",
277
277
  focusable: "false",
278
- children: E[e]
278
+ children: D[e]
279
279
  });
280
280
  }
281
- var D = {
281
+ var A = {
282
282
  iconButton: "_iconButton_uxox6_1",
283
283
  icon: "_icon_uxox6_1",
284
284
  default: "_default_uxox6_25",
285
285
  danger: "_danger_uxox6_30"
286
286
  };
287
287
  // src/components/IconButton/IconButton.tsx
288
- function re({ label: e, icon: t, variant: n = "default", type: r = "button", title: i = e, className: a, ...o }) {
288
+ function j({ label: e, icon: t, variant: n = "default", type: r = "button", title: i = e, className: a, ...o }) {
289
289
  let s = [
290
- D.iconButton,
291
- D[n],
290
+ A.iconButton,
291
+ A[n],
292
292
  a
293
293
  ].filter(Boolean).join(" ");
294
- return /* @__PURE__ */ u("button", {
294
+ return /* @__PURE__ */ d("button", {
295
295
  ...o,
296
296
  type: r,
297
297
  className: s,
298
298
  "aria-label": e,
299
299
  "aria-labelledby": void 0,
300
300
  title: i,
301
- children: /* @__PURE__ */ u("span", {
302
- className: D.icon,
301
+ children: /* @__PURE__ */ d("span", {
302
+ className: A.icon,
303
303
  "aria-hidden": "true",
304
304
  children: t
305
305
  })
306
306
  });
307
307
  }
308
+ var M = {
309
+ levelChip: "_levelChip_9gobv_1",
310
+ label: "_label_9gobv_38",
311
+ dots: "_dots_9gobv_42",
312
+ dot: "_dot_9gobv_42",
313
+ filledDot: "_filledDot_9gobv_49"
314
+ };
315
+ // src/components/LevelChip/LevelChip.tsx
316
+ function te({ label: e, level: t, max: n = 5, levelLabel: r, className: i, ...a }) {
317
+ let o = Math.max(1, Math.floor(n)), s = Math.min(Math.max(Math.floor(t), 0), o);
318
+ return /* @__PURE__ */ f("span", {
319
+ ...a,
320
+ className: [M.levelChip, i].filter(Boolean).join(" "),
321
+ children: [/* @__PURE__ */ d("span", {
322
+ className: M.label,
323
+ children: e
324
+ }), /* @__PURE__ */ d("span", {
325
+ className: M.dots,
326
+ role: "img",
327
+ "aria-label": r,
328
+ title: r,
329
+ children: Array.from({ length: o }, (e, t) => /* @__PURE__ */ d("span", { className: t < s ? M.filledDot : M.dot }, t))
330
+ })]
331
+ });
332
+ }
308
333
  // src/components/Markdown/Markdown.tsx
309
- function ie({ node: e, ...t }) {
310
- return /* @__PURE__ */ u("a", {
334
+ function ne({ node: e, ...t }) {
335
+ return /* @__PURE__ */ d("a", {
311
336
  ...t,
312
337
  target: "_blank",
313
338
  rel: "noopener noreferrer"
314
339
  });
315
340
  }
316
- var ae = { a: ie }, oe = [p];
317
- function O({ children: e, className: t }) {
318
- return /* @__PURE__ */ u("div", {
341
+ var re = { a: ne }, ie = [m];
342
+ function ae({ children: e, className: t }) {
343
+ return /* @__PURE__ */ d("div", {
319
344
  className: t,
320
- children: /* @__PURE__ */ u(f, {
321
- remarkPlugins: oe,
322
- components: ae,
345
+ children: /* @__PURE__ */ d(p, {
346
+ remarkPlugins: ie,
347
+ components: re,
323
348
  children: e
324
349
  })
325
350
  });
326
351
  }
327
- var k = {
352
+ var N = {
328
353
  editor: "_editor_spixg_1",
329
354
  label: "_label_spixg_7",
330
355
  toolbar: "_toolbar_spixg_15",
@@ -337,7 +362,7 @@ var k = {
337
362
  previewHeader: "_previewHeader_spixg_111",
338
363
  previewDot: "_previewDot_spixg_125",
339
364
  preview: "_preview_spixg_104"
340
- }, se = 200, ce = " ", le = [
365
+ }, oe = 200, se = " ", ce = [
341
366
  [
342
367
  {
343
368
  action: "bold",
@@ -437,14 +462,14 @@ var k = {
437
462
  }
438
463
  ]
439
464
  ];
440
- function ue({ value: t, onChange: r, labels: o, label: c, placeholder: l }) {
441
- let f = s(null), p = s(!1), m = a(), h = a();
465
+ function le({ value: t, onChange: r, labels: o, label: s, placeholder: l }) {
466
+ let u = c(null), p = c(!1), m = a(), h = a();
442
467
  i(() => {
443
- let e = f.current;
444
- e && (e.style.height = "auto", e.style.height = `${Math.max(se, e.scrollHeight)}px`);
468
+ let e = u.current;
469
+ e && (e.style.height = "auto", e.style.height = `${Math.max(oe, e.scrollHeight)}px`);
445
470
  }, [t]);
446
471
  let g = n((e) => {
447
- let t = f.current;
472
+ let t = u.current;
448
473
  if (!t) return;
449
474
  let [n, i] = e(t.selectionStart, t.selectionEnd);
450
475
  r(n), requestAnimationFrame(() => {
@@ -459,18 +484,18 @@ function ue({ value: t, onChange: r, labels: o, label: c, placeholder: l }) {
459
484
  let a = i || o.sampleText;
460
485
  return [t.substring(0, n) + e.prefix + a + e.suffix + t.substring(r), n + e.prefix.length + a.length];
461
486
  });
462
- return /* @__PURE__ */ d("div", {
463
- className: k.editor,
487
+ return /* @__PURE__ */ f("div", {
488
+ className: N.editor,
464
489
  children: [
465
- /* @__PURE__ */ u("label", {
466
- className: k.label,
490
+ /* @__PURE__ */ d("label", {
491
+ className: N.label,
467
492
  htmlFor: m,
468
- children: c
493
+ children: s
469
494
  }),
470
- /* @__PURE__ */ u("div", {
471
- className: k.toolbar,
472
- children: le.map((t, n) => /* @__PURE__ */ d(e.Fragment, { children: [n > 0 && /* @__PURE__ */ u("div", { className: k.separator }), t.map((e) => /* @__PURE__ */ u("button", {
473
- className: k.toolBtn,
495
+ /* @__PURE__ */ d("div", {
496
+ className: N.toolbar,
497
+ children: ce.map((t, n) => /* @__PURE__ */ f(e.Fragment, { children: [n > 0 && /* @__PURE__ */ d("div", { className: N.separator }), t.map((e) => /* @__PURE__ */ d("button", {
498
+ className: N.toolBtn,
474
499
  onClick: () => _(e),
475
500
  title: o.actions[e.action],
476
501
  "aria-label": o.actions[e.action],
@@ -478,36 +503,36 @@ function ue({ value: t, onChange: r, labels: o, label: c, placeholder: l }) {
478
503
  children: e.icon
479
504
  }, e.action))] }, n))
480
505
  }),
481
- /* @__PURE__ */ d("div", {
482
- className: k.content,
483
- children: [/* @__PURE__ */ u("textarea", {
506
+ /* @__PURE__ */ f("div", {
507
+ className: N.content,
508
+ children: [/* @__PURE__ */ d("textarea", {
484
509
  id: m,
485
- ref: f,
486
- className: k.textarea,
510
+ ref: u,
511
+ className: N.textarea,
487
512
  value: t,
488
513
  onChange: (e) => r(e.target.value),
489
514
  onKeyDown: (e) => {
490
515
  let n = p.current;
491
- p.current = e.key === "Escape", !(e.key !== "Tab" || e.shiftKey || n) && (e.preventDefault(), g((e, n) => [t.substring(0, e) + ce + t.substring(n), e + 2]));
516
+ p.current = e.key === "Escape", !(e.key !== "Tab" || e.shiftKey || n) && (e.preventDefault(), g((e, n) => [t.substring(0, e) + se + t.substring(n), e + 2]));
492
517
  },
493
518
  onBlur: () => {
494
519
  p.current = !1;
495
520
  },
496
521
  placeholder: l,
497
522
  "aria-describedby": o.tabHint ? h : void 0
498
- }), o.tabHint && /* @__PURE__ */ u("span", {
523
+ }), o.tabHint && /* @__PURE__ */ d("span", {
499
524
  id: h,
500
- className: k.visuallyHidden,
525
+ className: N.visuallyHidden,
501
526
  children: o.tabHint
502
527
  })]
503
528
  }),
504
- t.trim() && /* @__PURE__ */ d("div", {
505
- className: k.previewSection,
506
- children: [/* @__PURE__ */ d("div", {
507
- className: k.previewHeader,
508
- children: [/* @__PURE__ */ u("span", { className: k.previewDot }), o.preview]
509
- }), /* @__PURE__ */ u(O, {
510
- className: k.preview,
529
+ t.trim() && /* @__PURE__ */ f("div", {
530
+ className: N.previewSection,
531
+ children: [/* @__PURE__ */ f("div", {
532
+ className: N.previewHeader,
533
+ children: [/* @__PURE__ */ d("span", { className: N.previewDot }), o.preview]
534
+ }), /* @__PURE__ */ d(ae, {
535
+ className: N.preview,
511
536
  children: t
512
537
  })]
513
538
  })
@@ -515,7 +540,7 @@ function ue({ value: t, onChange: r, labels: o, label: c, placeholder: l }) {
515
540
  });
516
541
  }
517
542
  // src/components/MatrixContainer/matrixConfig.ts
518
- var A = {
543
+ var P = {
519
544
  fontSize: 20,
520
545
  columnDensity: .5,
521
546
  trailLength: 10,
@@ -524,7 +549,7 @@ var A = {
524
549
  headOpacity: 1,
525
550
  trailOpacityMax: .8,
526
551
  chars: Array.from("アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワン0123456789")
527
- }, de = {
552
+ }, ue = {
528
553
  drizzle: {
529
554
  columnDensity: .15,
530
555
  tickMs: 250,
@@ -546,7 +571,7 @@ var A = {
546
571
  headOpacity: .9,
547
572
  trailOpacityMax: .8
548
573
  }
549
- }, fe = {
574
+ }, de = {
550
575
  dark: {
551
576
  fontSize: 14,
552
577
  columnDensity: 1,
@@ -563,15 +588,15 @@ var A = {
563
588
  headOpacity: .42,
564
589
  trailOpacityMax: .24
565
590
  }
566
- }, j = {
591
+ }, F = {
567
592
  wrapper: "_wrapper_c93oc_1",
568
593
  canvas: "_canvas_c93oc_6",
569
594
  content: "_content_c93oc_16"
570
- }, M = e.forwardRef(({ children: e, config: t, canvasOpacity: n = 1, paused: r = !1, className: a, style: o, id: c, as: l = "div" }, f) => {
571
- let p = s(null), m = s(r), h = s({
572
- ...A,
595
+ }, fe = e.forwardRef(({ children: e, config: t, canvasOpacity: n = 1, paused: r = !1, className: a, style: o, id: s, as: l = "div" }, u) => {
596
+ let p = c(null), m = c(r), h = c({
597
+ ...P,
573
598
  ...t
574
- }), g = s(null);
599
+ }), g = c(null);
575
600
  i(() => {
576
601
  let e = p.current;
577
602
  if (!e) return;
@@ -615,33 +640,33 @@ var A = {
615
640
  };
616
641
  }, []), i(() => {
617
642
  let e = {
618
- ...A,
643
+ ...P,
619
644
  ...t
620
645
  }, n = e.fontSize !== h.current.fontSize || e.columnDensity !== h.current.columnDensity;
621
646
  Object.assign(h.current, e), n ? g.current?.regrid(!0) : g.current?.redraw();
622
647
  }, [t]), i(() => {
623
648
  m.current = r, g.current?.syncMotion();
624
649
  }, [r]);
625
- let _ = [j.wrapper, a].filter(Boolean).join(" ");
626
- return /* @__PURE__ */ d(l, {
627
- ref: f,
650
+ let _ = [F.wrapper, a].filter(Boolean).join(" ");
651
+ return /* @__PURE__ */ f(l, {
652
+ ref: u,
628
653
  className: _,
629
654
  style: o,
630
- id: c,
631
- children: [/* @__PURE__ */ u("canvas", {
655
+ id: s,
656
+ children: [/* @__PURE__ */ d("canvas", {
632
657
  ref: p,
633
- className: j.canvas,
658
+ className: F.canvas,
634
659
  "aria-hidden": "true",
635
660
  style: n === 1 ? void 0 : { opacity: n }
636
- }), /* @__PURE__ */ u("div", {
637
- className: j.content,
661
+ }), /* @__PURE__ */ d("div", {
662
+ className: F.content,
638
663
  children: e
639
664
  })]
640
665
  });
641
666
  });
642
- M.displayName = "MatrixContainer";
667
+ fe.displayName = "MatrixContainer";
643
668
  // src/components/OrbitalDots/orbitalDotsConfig.ts
644
- var N = {
669
+ var pe = {
645
670
  dotCount: 38,
646
671
  maxLineDistance: 110,
647
672
  dotMinRadius: 1.5,
@@ -662,13 +687,13 @@ var N = {
662
687
  symbolFontScale: .035,
663
688
  tickMs: 30,
664
689
  color: "180,220,50"
665
- }, P = {
690
+ }, I = {
666
691
  wrapper: "_wrapper_c93oc_1",
667
692
  canvas: "_canvas_c93oc_6",
668
693
  content: "_content_c93oc_16"
669
- }, F = e.forwardRef(({ children: e, config: t, canvasOpacity: n = 1, paused: r = !1, className: a, style: o, id: c, as: l = "div" }, f) => {
670
- let p = s(null), m = s(r), h = s(null), g = s({
671
- ...N,
694
+ }, me = e.forwardRef(({ children: e, config: t, canvasOpacity: n = 1, paused: r = !1, className: a, style: o, id: s, as: l = "div" }, u) => {
695
+ let p = c(null), m = c(r), h = c(null), g = c({
696
+ ...pe,
672
697
  ...t
673
698
  });
674
699
  i(() => {
@@ -762,39 +787,39 @@ var N = {
762
787
  }, []), i(() => {
763
788
  m.current = r, h.current?.();
764
789
  }, [r]);
765
- let _ = [P.wrapper, a].filter(Boolean).join(" ");
766
- return /* @__PURE__ */ d(l, {
767
- ref: f,
790
+ let _ = [I.wrapper, a].filter(Boolean).join(" ");
791
+ return /* @__PURE__ */ f(l, {
792
+ ref: u,
768
793
  className: _,
769
794
  style: o,
770
- id: c,
771
- children: [/* @__PURE__ */ u("canvas", {
795
+ id: s,
796
+ children: [/* @__PURE__ */ d("canvas", {
772
797
  ref: p,
773
- className: P.canvas,
798
+ className: I.canvas,
774
799
  "aria-hidden": "true",
775
800
  style: n === 1 ? void 0 : { opacity: n }
776
- }), /* @__PURE__ */ u("div", {
777
- className: P.content,
801
+ }), /* @__PURE__ */ d("div", {
802
+ className: I.content,
778
803
  children: e
779
804
  })]
780
805
  });
781
806
  });
782
- F.displayName = "OrbitalDots";
783
- var I = {
807
+ me.displayName = "OrbitalDots";
808
+ var L = {
784
809
  section: "_section_1tryt_1",
785
810
  noPadding: "_noPadding_1tryt_11",
786
811
  dark: "_dark_1tryt_15",
787
812
  elevated: "_elevated_1tryt_19"
788
813
  };
789
814
  // src/components/Section/Section.tsx
790
- function L({ children: e, variant: t = "dark", noPadding: n, className: r, id: i, "aria-labelledby": a, "aria-label": o }) {
815
+ function he({ children: e, variant: t = "dark", noPadding: n, className: r, id: i, "aria-labelledby": a, "aria-label": o }) {
791
816
  let s = [
792
- I.section,
793
- I[t],
794
- n && I.noPadding,
817
+ L.section,
818
+ L[t],
819
+ n && L.noPadding,
795
820
  r
796
821
  ].filter(Boolean).join(" ");
797
- return /* @__PURE__ */ u("section", {
822
+ return /* @__PURE__ */ d("section", {
798
823
  className: s,
799
824
  id: i,
800
825
  "aria-labelledby": a,
@@ -815,49 +840,49 @@ var R = {
815
840
  heroSubtitle: "_heroSubtitle_1b7du_137"
816
841
  };
817
842
  // src/components/PageHero/PageHero.tsx
818
- function pe({ eyebrow: e, title: t, subtitle: n, count: r, countLabel: i }) {
819
- return /* @__PURE__ */ u(L, {
843
+ function ge({ eyebrow: e, title: t, subtitle: n, count: r, countLabel: i }) {
844
+ return /* @__PURE__ */ d(he, {
820
845
  noPadding: !0,
821
- children: /* @__PURE__ */ u("div", {
846
+ children: /* @__PURE__ */ d("div", {
822
847
  className: R.hero,
823
- children: /* @__PURE__ */ u(T, { children: /* @__PURE__ */ d("div", {
848
+ children: /* @__PURE__ */ d(T, { children: /* @__PURE__ */ f("div", {
824
849
  className: R.heroInner,
825
850
  children: [
826
- /* @__PURE__ */ d("div", {
851
+ /* @__PURE__ */ f("div", {
827
852
  className: R.heroCount,
828
- children: [/* @__PURE__ */ u("span", {
853
+ children: [/* @__PURE__ */ d("span", {
829
854
  className: R.countNum,
830
855
  children: r
831
- }), /* @__PURE__ */ u("span", {
856
+ }), /* @__PURE__ */ d("span", {
832
857
  className: R.countLabel,
833
858
  children: i
834
859
  })]
835
860
  }),
836
- /* @__PURE__ */ u("span", {
861
+ /* @__PURE__ */ d("span", {
837
862
  className: R.heroEyebrow,
838
863
  children: e
839
864
  }),
840
- /* @__PURE__ */ u("h1", {
865
+ /* @__PURE__ */ d("h1", {
841
866
  className: R.heroTitle,
842
867
  children: t
843
868
  }),
844
- /* @__PURE__ */ u("p", {
869
+ /* @__PURE__ */ d("p", {
845
870
  className: R.heroSubtitle,
846
871
  children: n
847
872
  }),
848
- /* @__PURE__ */ u("div", { className: R.heroLine })
873
+ /* @__PURE__ */ d("div", { className: R.heroLine })
849
874
  ]
850
875
  }) })
851
876
  })
852
877
  });
853
878
  }
854
- var z = {
879
+ var _e = {
855
880
  wrapper: "_wrapper_1rdu6_1",
856
881
  visible: "_visible_1rdu6_6"
857
882
  };
858
883
  // src/components/PageTransition/PageTransition.tsx
859
- function B({ children: e, transitionKey: t, appear: n = !0 }) {
860
- let [r, a] = c(!n), [o, s] = c(t);
884
+ function ve({ children: e, transitionKey: t, appear: n = !0 }) {
885
+ let [r, a] = l(!n), [o, s] = l(t);
861
886
  return t !== o && (s(t), a(!1)), i(() => {
862
887
  if (r) return;
863
888
  let e, t = requestAnimationFrame(() => {
@@ -866,12 +891,50 @@ function B({ children: e, transitionKey: t, appear: n = !0 }) {
866
891
  return () => {
867
892
  cancelAnimationFrame(t), cancelAnimationFrame(e);
868
893
  };
869
- }, [r]), /* @__PURE__ */ u("div", {
870
- className: `${z.wrapper} ${r ? z.visible : ""}`,
894
+ }, [r]), /* @__PURE__ */ d("div", {
895
+ className: `${_e.wrapper} ${r ? _e.visible : ""}`,
871
896
  children: e
872
897
  });
873
898
  }
874
- var V = {
899
+ var z = {
900
+ segmentedControl: "_segmentedControl_unreu_1",
901
+ label: "_label_unreu_9",
902
+ hiddenLabel: "_hiddenLabel_unreu_20",
903
+ options: "_options_unreu_32",
904
+ segment: "_segment_unreu_1",
905
+ input: "_input_unreu_51",
906
+ option: "_option_unreu_32"
907
+ };
908
+ // src/components/SegmentedControl/SegmentedControl.tsx
909
+ function ye({ label: e, hideLabel: t = !1, options: n, value: r, defaultValue: i, onChange: o, name: s, disabled: c, className: l }) {
910
+ let u = a();
911
+ return /* @__PURE__ */ f("fieldset", {
912
+ className: [z.segmentedControl, l].filter(Boolean).join(" "),
913
+ disabled: c,
914
+ children: [/* @__PURE__ */ d("legend", {
915
+ className: t ? z.hiddenLabel : z.label,
916
+ children: e
917
+ }), /* @__PURE__ */ d("div", {
918
+ className: z.options,
919
+ children: n.map((e) => /* @__PURE__ */ f("label", {
920
+ className: z.segment,
921
+ lang: e.lang,
922
+ children: [/* @__PURE__ */ d("input", {
923
+ type: "radio",
924
+ className: z.input,
925
+ name: s ?? u,
926
+ value: e.value,
927
+ ...r === void 0 ? { defaultChecked: e.value === i } : { checked: e.value === r },
928
+ onChange: () => o?.(e.value)
929
+ }), /* @__PURE__ */ d("span", {
930
+ className: z.option,
931
+ children: e.label
932
+ })]
933
+ }, e.value))
934
+ })]
935
+ });
936
+ }
937
+ var B = {
875
938
  wrapper: "_wrapper_19o1i_1",
876
939
  label: "_label_19o1i_7",
877
940
  hint: "_hint_19o1i_15",
@@ -879,42 +942,42 @@ var V = {
879
942
  compact: "_compact_19o1i_50"
880
943
  };
881
944
  // src/components/Select/Select.tsx
882
- function me({ label: e, hint: t, placeholder: n, options: r, compact: i = !1, className: o, id: s, "aria-describedby": c, ...l }) {
883
- let f = a(), p = s ?? f, m = `${p}-hint`, h = [c, t && m].filter(Boolean).join(" ") || void 0;
884
- return /* @__PURE__ */ d("div", {
945
+ function be({ label: e, hint: t, placeholder: n, options: r, compact: i = !1, className: o, id: s, "aria-describedby": c, ...l }) {
946
+ let u = a(), p = s ?? u, m = `${p}-hint`, h = [c, t && m].filter(Boolean).join(" ") || void 0;
947
+ return /* @__PURE__ */ f("div", {
885
948
  className: [
886
- V.wrapper,
887
- i && V.compact,
949
+ B.wrapper,
950
+ i && B.compact,
888
951
  o
889
952
  ].filter(Boolean).join(" "),
890
953
  children: [
891
- e && /* @__PURE__ */ u("label", {
892
- className: V.label,
954
+ e && /* @__PURE__ */ d("label", {
955
+ className: B.label,
893
956
  htmlFor: p,
894
957
  children: e
895
958
  }),
896
- /* @__PURE__ */ d("select", {
959
+ /* @__PURE__ */ f("select", {
897
960
  id: p,
898
- className: V.select,
961
+ className: B.select,
899
962
  "aria-describedby": h,
900
963
  ...l,
901
- children: [n !== void 0 && /* @__PURE__ */ u("option", {
964
+ children: [n !== void 0 && /* @__PURE__ */ d("option", {
902
965
  value: "",
903
966
  children: n
904
- }), r.map((e) => /* @__PURE__ */ u("option", {
967
+ }), r.map((e) => /* @__PURE__ */ d("option", {
905
968
  value: e.value,
906
969
  children: e.label
907
970
  }, e.value))]
908
971
  }),
909
- t && /* @__PURE__ */ u("span", {
972
+ t && /* @__PURE__ */ d("span", {
910
973
  id: m,
911
- className: V.hint,
974
+ className: B.hint,
912
975
  children: t
913
976
  })
914
977
  ]
915
978
  });
916
979
  }
917
- var H = {
980
+ var V = {
918
981
  frame: "_frame_btbpz_1",
919
982
  shimmer: "_shimmer_btbpz_7",
920
983
  sweep: "_sweep_btbpz_1",
@@ -923,24 +986,24 @@ var H = {
923
986
  loaded: "_loaded_btbpz_38"
924
987
  };
925
988
  // src/components/ShimmerImage/ShimmerImage.tsx
926
- function he({ src: e, alt: t, fallback: n, className: r, onError: i, ...a }) {
927
- let [o, s] = c(null), f = o === e, [p, m] = c(null);
989
+ function xe({ src: e, alt: t, fallback: n, className: r, onError: i, ...a }) {
990
+ let [o, s] = l(null), c = o === e, [p, m] = l(null);
928
991
  p !== null && p !== e && m(null);
929
992
  let h = (t) => {
930
993
  t?.complete && (t.naturalWidth > 0 ? s(e) : t.decode?.().then(() => s(e), () => {
931
994
  n !== void 0 && m(e);
932
995
  }));
933
996
  };
934
- return n !== void 0 && (!e || p === e) ? /* @__PURE__ */ u(l, { children: n }) : /* @__PURE__ */ d("div", {
935
- className: `${H.frame} ${f ? H.loaded : ""}`,
936
- children: [/* @__PURE__ */ u("div", { className: H.shimmer }), /* @__PURE__ */ u("div", {
937
- className: H.reveal,
938
- children: /* @__PURE__ */ u("img", {
997
+ return n !== void 0 && (!e || p === e) ? /* @__PURE__ */ d(u, { children: n }) : /* @__PURE__ */ f("div", {
998
+ className: `${V.frame} ${c ? V.loaded : ""}`,
999
+ children: [/* @__PURE__ */ d("div", { className: V.shimmer }), /* @__PURE__ */ d("div", {
1000
+ className: V.reveal,
1001
+ children: /* @__PURE__ */ d("img", {
939
1002
  ...a,
940
1003
  ref: h,
941
1004
  src: e,
942
1005
  alt: t,
943
- className: [H.image, r].filter(Boolean).join(" "),
1006
+ className: [V.image, r].filter(Boolean).join(" "),
944
1007
  onLoad: () => s(e),
945
1008
  onError: (t) => {
946
1009
  m(e), i?.(t);
@@ -949,7 +1012,7 @@ function he({ src: e, alt: t, fallback: n, className: r, onError: i, ...a }) {
949
1012
  })]
950
1013
  });
951
1014
  }
952
- var U = {
1015
+ var H = {
953
1016
  sideNav: "_sideNav_1ljaj_1",
954
1017
  list: "_list_1ljaj_10",
955
1018
  group: "_group_1ljaj_16",
@@ -958,11 +1021,11 @@ var U = {
958
1021
  active: "_active_1ljaj_64",
959
1022
  icon: "_icon_1ljaj_76",
960
1023
  label: "_label_1ljaj_81"
961
- }, W = 24;
962
- function ge(e) {
1024
+ }, U = 24;
1025
+ function Se(e) {
963
1026
  return "items" in e;
964
1027
  }
965
- function _e(e) {
1028
+ function Ce(e) {
966
1029
  let { body: t, documentElement: n } = e.ownerDocument;
967
1030
  for (let r = e.parentElement; r; r = r.parentElement) {
968
1031
  if (r === t || r === n) return null;
@@ -971,56 +1034,56 @@ function _e(e) {
971
1034
  }
972
1035
  return null;
973
1036
  }
974
- function ve(e, t) {
1037
+ function we(e, t) {
975
1038
  let n = e.getBoundingClientRect(), r = t.getBoundingClientRect().top + t.clientTop, i = n.top - r + t.scrollTop, a = i + n.height;
976
- i - W < t.scrollTop ? t.scrollTo({ top: i - W }) : a + W > t.scrollTop + t.clientHeight && t.scrollTo({ top: a + W - t.clientHeight });
1039
+ i - U < t.scrollTop ? t.scrollTo({ top: i - U }) : a + U > t.scrollTop + t.clientHeight && t.scrollTo({ top: a + U - t.clientHeight });
977
1040
  }
978
- function ye({ label: e, items: t, activeHref: n, ariaCurrent: r = "page", keepActiveInView: o = !1, as: c = "a", onItemClick: l, className: f }) {
979
- let p = a(), m = s(null);
1041
+ function Te({ label: e, items: t, activeHref: n, ariaCurrent: r = "page", keepActiveInView: o = !1, as: s = "a", onItemClick: l, className: u }) {
1042
+ let p = a(), m = c(null);
980
1043
  i(() => {
981
1044
  let e = m.current;
982
1045
  if (!o || !e) return;
983
- let t = e.querySelector("[aria-current]"), n = _e(e);
984
- t && n && ve(t, n);
1046
+ let t = e.querySelector("[aria-current]"), n = Ce(e);
1047
+ t && n && we(t, n);
985
1048
  }, [n, o]);
986
1049
  let h = (e) => {
987
1050
  let t = e.href === n;
988
- return /* @__PURE__ */ u("li", { children: /* @__PURE__ */ d(c, {
1051
+ return /* @__PURE__ */ d("li", { children: /* @__PURE__ */ f(s, {
989
1052
  href: e.href,
990
- className: [U.link, t && U.active].filter(Boolean).join(" "),
1053
+ className: [H.link, t && H.active].filter(Boolean).join(" "),
991
1054
  "aria-current": t ? r : void 0,
992
1055
  onClick: l ? (t) => l(e, t) : void 0,
993
- children: [e.icon && /* @__PURE__ */ u("span", {
994
- className: U.icon,
1056
+ children: [e.icon && /* @__PURE__ */ d("span", {
1057
+ className: H.icon,
995
1058
  "aria-hidden": "true",
996
1059
  children: e.icon
997
- }), /* @__PURE__ */ u("span", {
998
- className: U.label,
1060
+ }), /* @__PURE__ */ d("span", {
1061
+ className: H.label,
999
1062
  children: e.label
1000
1063
  })]
1001
1064
  }) }, e.href);
1002
1065
  };
1003
- return /* @__PURE__ */ u("nav", {
1066
+ return /* @__PURE__ */ d("nav", {
1004
1067
  ref: m,
1005
- className: [U.sideNav, f].filter(Boolean).join(" "),
1068
+ className: [H.sideNav, u].filter(Boolean).join(" "),
1006
1069
  "aria-label": e,
1007
- children: /* @__PURE__ */ u("ul", {
1008
- className: U.list,
1070
+ children: /* @__PURE__ */ d("ul", {
1071
+ className: H.list,
1009
1072
  children: t.map((e, t) => {
1010
- if (!ge(e)) return h(e);
1073
+ if (!Se(e)) return h(e);
1011
1074
  let n = `${p}-group-${t}`;
1012
- return /* @__PURE__ */ d("li", {
1013
- className: U.group,
1014
- children: [/* @__PURE__ */ d("span", {
1075
+ return /* @__PURE__ */ f("li", {
1076
+ className: H.group,
1077
+ children: [/* @__PURE__ */ f("span", {
1015
1078
  id: n,
1016
- className: U.groupTitle,
1017
- children: [e.icon && /* @__PURE__ */ u("span", {
1018
- className: U.icon,
1079
+ className: H.groupTitle,
1080
+ children: [e.icon && /* @__PURE__ */ d("span", {
1081
+ className: H.icon,
1019
1082
  "aria-hidden": "true",
1020
1083
  children: e.icon
1021
1084
  }), e.title]
1022
- }), /* @__PURE__ */ u("ul", {
1023
- className: U.list,
1085
+ }), /* @__PURE__ */ d("ul", {
1086
+ className: H.list,
1024
1087
  "aria-labelledby": n,
1025
1088
  children: e.items.map(h)
1026
1089
  })]
@@ -1029,7 +1092,177 @@ function ye({ label: e, items: t, activeHref: n, ariaCurrent: r = "page", keepAc
1029
1092
  })
1030
1093
  });
1031
1094
  }
1095
+ var W = {
1096
+ slider: "_slider_17r1j_1",
1097
+ header: "_header_17r1j_10",
1098
+ label: "_label_17r1j_17",
1099
+ hiddenLabel: "_hiddenLabel_17r1j_25",
1100
+ value: "_value_17r1j_37",
1101
+ input: "_input_17r1j_51",
1102
+ marks: "_marks_17r1j_122",
1103
+ mark: "_mark_17r1j_122",
1104
+ hint: "_hint_17r1j_138"
1105
+ };
1106
+ // src/components/Slider/Slider.tsx
1107
+ function Ee(e, t, n, r) {
1108
+ let i = Math.min(Math.max(e, t), Math.max(t, n));
1109
+ if (!(r > 0)) return i;
1110
+ let a = t + Math.round((i - t) / r) * r;
1111
+ return a > n && (a -= r), Number(a.toFixed(10));
1112
+ }
1113
+ function De({ label: e, hideLabel: t = !1, value: n, defaultValue: r, min: s = 0, max: u = 100, step: p = 1, formatValue: m, showValue: h = !0, marks: g, hint: _, className: v, id: y, style: b, onChange: x, ref: S, "aria-describedby": C, "aria-valuetext": ee, ...w }) {
1114
+ let T = a(), E = y ?? T, D = `${E}-hint`, O = c(null);
1115
+ o(S, () => O.current, []);
1116
+ let [k] = l(() => Ee(r ?? s + (u - s) / 2, s, u, p)), [A, j] = l(k), M = Ee(n ?? A, s, u, p), te = u > s ? (M - s) / (u - s) : 0;
1117
+ return i(() => {
1118
+ let e = O.current, t = e?.form;
1119
+ if (!e || !t) return;
1120
+ let n, r = () => {
1121
+ n = setTimeout(() => j(Number(e.value)));
1122
+ };
1123
+ return t.addEventListener("reset", r), () => {
1124
+ clearTimeout(n), t.removeEventListener("reset", r);
1125
+ };
1126
+ }, []), /* @__PURE__ */ f("div", {
1127
+ className: [W.slider, v].filter(Boolean).join(" "),
1128
+ children: [
1129
+ /* @__PURE__ */ f("div", {
1130
+ className: W.header,
1131
+ children: [/* @__PURE__ */ d("label", {
1132
+ className: t ? W.hiddenLabel : W.label,
1133
+ htmlFor: E,
1134
+ children: e
1135
+ }), h && /* @__PURE__ */ d("span", {
1136
+ className: W.value,
1137
+ "aria-hidden": "true",
1138
+ children: m ? m(M) : M
1139
+ })]
1140
+ }),
1141
+ /* @__PURE__ */ d("input", {
1142
+ ...w,
1143
+ ref: O,
1144
+ id: E,
1145
+ type: "range",
1146
+ className: W.input,
1147
+ min: s,
1148
+ max: u,
1149
+ step: p,
1150
+ ...n === void 0 ? { defaultValue: k } : { value: n },
1151
+ onChange: (e) => {
1152
+ j(Number(e.target.value)), x?.(e);
1153
+ },
1154
+ "aria-valuetext": ee ?? m?.(M),
1155
+ "aria-describedby": [C, _ && D].filter(Boolean).join(" ") || void 0,
1156
+ style: {
1157
+ ...b,
1158
+ "--slider-share": te
1159
+ }
1160
+ }),
1161
+ g && /* @__PURE__ */ d("div", {
1162
+ className: W.marks,
1163
+ "aria-hidden": "true",
1164
+ children: g.filter((e) => e >= s && e <= u).map((e) => /* @__PURE__ */ d("span", {
1165
+ className: W.mark,
1166
+ style: { "--mark-share": u > s ? (e - s) / (u - s) : 0 },
1167
+ children: e
1168
+ }, e))
1169
+ }),
1170
+ _ && /* @__PURE__ */ d("span", {
1171
+ id: D,
1172
+ className: W.hint,
1173
+ children: _
1174
+ })
1175
+ ]
1176
+ });
1177
+ }
1032
1178
  var G = {
1179
+ switch: "_switch_1lve1_1",
1180
+ input: "_input_1lve1_10",
1181
+ track: "_track_1lve1_23",
1182
+ label: "_label_1lve1_47",
1183
+ hiddenLabel: "_hiddenLabel_1lve1_53"
1184
+ };
1185
+ // src/components/Switch/Switch.tsx
1186
+ function Oe({ label: e, hideLabel: t = !1, className: n, ...r }) {
1187
+ return /* @__PURE__ */ f("label", {
1188
+ className: [G.switch, n].filter(Boolean).join(" "),
1189
+ children: [
1190
+ /* @__PURE__ */ d("input", {
1191
+ ...r,
1192
+ type: "checkbox",
1193
+ role: "switch",
1194
+ className: G.input
1195
+ }),
1196
+ /* @__PURE__ */ d("span", {
1197
+ className: G.track,
1198
+ "aria-hidden": "true"
1199
+ }),
1200
+ /* @__PURE__ */ d("span", {
1201
+ className: t ? G.hiddenLabel : G.label,
1202
+ children: e
1203
+ })
1204
+ ]
1205
+ });
1206
+ }
1207
+ var K = {
1208
+ tabs: "_tabs_1qw8i_1",
1209
+ list: "_list_1qw8i_7",
1210
+ tab: "_tab_1qw8i_1",
1211
+ icon: "_icon_1qw8i_51",
1212
+ panel: "_panel_1qw8i_55"
1213
+ };
1214
+ // src/components/Tabs/Tabs.tsx
1215
+ function ke({ label: e, items: t, activeId: n, defaultActiveId: r, onChange: i, className: o }) {
1216
+ let s = a(), [c, u] = l(r), p = n ?? c, m = Math.max(0, t.findIndex((e) => e.id === p)), h = (e) => `${s}-tab-${e}`, g = (e) => `${s}-panel-${e}`, _ = (e) => {
1217
+ if (e === m) return;
1218
+ let { id: n } = t[e];
1219
+ u(n), i?.(n);
1220
+ };
1221
+ return /* @__PURE__ */ f("div", {
1222
+ className: [K.tabs, o].filter(Boolean).join(" "),
1223
+ children: [/* @__PURE__ */ d("div", {
1224
+ className: K.list,
1225
+ role: "tablist",
1226
+ "aria-label": e,
1227
+ onKeyDown: (e) => {
1228
+ if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey) return;
1229
+ let t = [...e.currentTarget.querySelectorAll("[role=\"tab\"]")], n = t.indexOf(e.target);
1230
+ if (n < 0) return;
1231
+ let r = {
1232
+ ArrowRight: (n + 1) % t.length,
1233
+ ArrowLeft: (n - 1 + t.length) % t.length,
1234
+ Home: 0,
1235
+ End: t.length - 1
1236
+ }[e.key];
1237
+ r !== void 0 && (e.preventDefault(), t[r].focus(), _(r));
1238
+ },
1239
+ children: t.map((e, t) => /* @__PURE__ */ f("button", {
1240
+ type: "button",
1241
+ role: "tab",
1242
+ id: h(t),
1243
+ className: K.tab,
1244
+ "aria-selected": t === m,
1245
+ "aria-controls": g(t),
1246
+ tabIndex: t === m ? 0 : -1,
1247
+ onClick: () => _(t),
1248
+ children: [e.icon && /* @__PURE__ */ d("span", {
1249
+ className: K.icon,
1250
+ "aria-hidden": "true",
1251
+ children: e.icon
1252
+ }), e.label]
1253
+ }, e.id))
1254
+ }), t.map((e, t) => /* @__PURE__ */ d("div", {
1255
+ role: "tabpanel",
1256
+ id: g(t),
1257
+ className: K.panel,
1258
+ "aria-labelledby": h(t),
1259
+ hidden: t !== m,
1260
+ tabIndex: 0,
1261
+ children: t === m && e.content
1262
+ }, e.id))]
1263
+ });
1264
+ }
1265
+ var q = {
1033
1266
  tag: "_tag_1tw86_1",
1034
1267
  clickable: "_clickable_1tw86_20",
1035
1268
  active: "_active_1tw86_29",
@@ -1037,66 +1270,66 @@ var G = {
1037
1270
  removeBtn: "_removeBtn_1tw86_44"
1038
1271
  };
1039
1272
  // src/components/Tag/Tag.tsx
1040
- function K({ label: e, active: t, onClick: n, onRemove: r, removeLabel: i }) {
1273
+ function J({ label: e, active: t, onClick: n, onRemove: r, removeLabel: i }) {
1041
1274
  let a = [
1042
- G.tag,
1043
- n && G.clickable,
1044
- t && G.active,
1045
- r && G.removable
1275
+ q.tag,
1276
+ n && q.clickable,
1277
+ t && q.active,
1278
+ r && q.removable
1046
1279
  ].filter(Boolean).join(" ");
1047
- return n ? /* @__PURE__ */ u("button", {
1280
+ return n ? /* @__PURE__ */ d("button", {
1048
1281
  type: "button",
1049
1282
  className: a,
1050
1283
  onClick: n,
1051
1284
  "aria-pressed": !!t,
1052
1285
  children: e
1053
- }) : /* @__PURE__ */ d("span", {
1286
+ }) : /* @__PURE__ */ f("span", {
1054
1287
  className: a,
1055
- children: [e, r && /* @__PURE__ */ u("button", {
1288
+ children: [e, r && /* @__PURE__ */ d("button", {
1056
1289
  type: "button",
1057
- className: G.removeBtn,
1290
+ className: q.removeBtn,
1058
1291
  onClick: r,
1059
1292
  "aria-label": i,
1060
1293
  children: "×"
1061
1294
  })]
1062
1295
  });
1063
1296
  }
1064
- var be = { tagFilter: "_tagFilter_1mu0a_1" };
1297
+ var Ae = { tagFilter: "_tagFilter_1mu0a_1" };
1065
1298
  // src/components/TagFilter/TagFilter.tsx
1066
- function xe({ tags: e, activeTag: t, onTagClick: n, allLabel: r, groupLabel: i }) {
1067
- return /* @__PURE__ */ d("div", {
1068
- className: be.tagFilter,
1299
+ function je({ tags: e, activeTag: t, onTagClick: n, allLabel: r, groupLabel: i }) {
1300
+ return /* @__PURE__ */ f("div", {
1301
+ className: Ae.tagFilter,
1069
1302
  role: i ? "group" : void 0,
1070
1303
  "aria-label": i,
1071
- children: [/* @__PURE__ */ u(K, {
1304
+ children: [/* @__PURE__ */ d(J, {
1072
1305
  label: r,
1073
1306
  active: t === null,
1074
1307
  onClick: () => n(null)
1075
- }), e.map((e) => /* @__PURE__ */ u(K, {
1308
+ }), e.map((e) => /* @__PURE__ */ d(J, {
1076
1309
  label: e,
1077
1310
  active: t === e,
1078
1311
  onClick: () => n(e)
1079
1312
  }, e))]
1080
1313
  });
1081
1314
  }
1082
- var q = {
1315
+ var Y = {
1083
1316
  tagGroup: "_tagGroup_sens0_1",
1084
1317
  label: "_label_sens0_9",
1085
1318
  tags: "_tags_sens0_20"
1086
1319
  };
1087
1320
  // src/components/TagGroup/TagGroup.tsx
1088
- function Se(e) {
1321
+ function Me(e) {
1089
1322
  let { label: t, options: n, className: r } = e, i = (t) => e.selection === "single" ? e.selected === t : e.selected.includes(t), a = (t) => {
1090
1323
  e.selection === "single" ? e.onChange(e.selected === t ? null : t) : e.onChange(e.selected.includes(t) ? e.selected.filter((e) => e !== t) : [...e.selected, t]);
1091
1324
  };
1092
- return /* @__PURE__ */ d("fieldset", {
1093
- className: [q.tagGroup, r].filter(Boolean).join(" "),
1094
- children: [/* @__PURE__ */ u("legend", {
1095
- className: q.label,
1325
+ return /* @__PURE__ */ f("fieldset", {
1326
+ className: [Y.tagGroup, r].filter(Boolean).join(" "),
1327
+ children: [/* @__PURE__ */ d("legend", {
1328
+ className: Y.label,
1096
1329
  children: t
1097
- }), /* @__PURE__ */ u("div", {
1098
- className: q.tags,
1099
- children: n.map((e) => /* @__PURE__ */ u(K, {
1330
+ }), /* @__PURE__ */ d("div", {
1331
+ className: Y.tags,
1332
+ children: n.map((e) => /* @__PURE__ */ d(J, {
1100
1333
  label: e.label,
1101
1334
  active: i(e.value),
1102
1335
  onClick: () => a(e.value)
@@ -1104,7 +1337,7 @@ function Se(e) {
1104
1337
  })]
1105
1338
  });
1106
1339
  }
1107
- var J = {
1340
+ var X = {
1108
1341
  text: "_text_dq0aw_1",
1109
1342
  body: "_body_dq0aw_13",
1110
1343
  display: "_display_dq0aw_17",
@@ -1141,61 +1374,61 @@ var J = {
1141
1374
  clamp: "_clamp_dq0aw_156"
1142
1375
  };
1143
1376
  // src/components/Text/Text.tsx
1144
- function Ce({ as: e = "p", variant: t = "body", size: n, weight: r, italic: i = !1, tone: a, align: o, truncate: s, className: c, style: l, children: d, ...f }) {
1377
+ function Ne({ as: e = "p", variant: t = "body", size: n, weight: r, italic: i = !1, tone: a, align: o, truncate: s, className: c, style: l, children: u, ...f }) {
1145
1378
  let p = typeof s == "number" && s >= 1 ? Math.floor(s) : void 0, m = [
1146
- J.text,
1147
- J[t],
1148
- n && J[`size-${n}`],
1149
- r && J[`weight-${r}`],
1150
- i && J.italic,
1151
- a && J[`tone-${a}`],
1152
- o && J[`align-${o}`],
1153
- s === !0 && J.truncate,
1154
- p !== void 0 && J.clamp,
1379
+ X.text,
1380
+ X[t],
1381
+ n && X[`size-${n}`],
1382
+ r && X[`weight-${r}`],
1383
+ i && X.italic,
1384
+ a && X[`tone-${a}`],
1385
+ o && X[`align-${o}`],
1386
+ s === !0 && X.truncate,
1387
+ p !== void 0 && X.clamp,
1155
1388
  c
1156
1389
  ].filter(Boolean).join(" "), h = p === void 0 ? l : {
1157
1390
  ...l,
1158
1391
  "--text-lines": p
1159
1392
  };
1160
- return /* @__PURE__ */ u(e, {
1393
+ return /* @__PURE__ */ d(e, {
1161
1394
  className: m,
1162
1395
  style: h,
1163
1396
  ...f,
1164
- children: d
1397
+ children: u
1165
1398
  });
1166
1399
  }
1167
- var Y = {
1400
+ var Z = {
1168
1401
  wrapper: "_wrapper_m6u21_1",
1169
1402
  label: "_label_m6u21_7",
1170
1403
  hint: "_hint_m6u21_15",
1171
1404
  textarea: "_textarea_m6u21_21"
1172
1405
  };
1173
1406
  // src/components/TextArea/TextArea.tsx
1174
- function we({ label: e, hint: t, className: n, id: r, "aria-describedby": i, ...o }) {
1175
- let s = a(), c = r ?? s, l = `${c}-hint`, f = [i, t && l].filter(Boolean).join(" ") || void 0;
1176
- return /* @__PURE__ */ d("div", {
1177
- className: `${Y.wrapper} ${n || ""}`,
1407
+ function Pe({ label: e, hint: t, className: n, id: r, "aria-describedby": i, ...o }) {
1408
+ let s = a(), c = r ?? s, l = `${c}-hint`, u = [i, t && l].filter(Boolean).join(" ") || void 0;
1409
+ return /* @__PURE__ */ f("div", {
1410
+ className: `${Z.wrapper} ${n || ""}`,
1178
1411
  children: [
1179
- e && /* @__PURE__ */ u("label", {
1180
- className: Y.label,
1412
+ e && /* @__PURE__ */ d("label", {
1413
+ className: Z.label,
1181
1414
  htmlFor: c,
1182
1415
  children: e
1183
1416
  }),
1184
- /* @__PURE__ */ u("textarea", {
1417
+ /* @__PURE__ */ d("textarea", {
1185
1418
  id: c,
1186
- className: Y.textarea,
1187
- "aria-describedby": f,
1419
+ className: Z.textarea,
1420
+ "aria-describedby": u,
1188
1421
  ...o
1189
1422
  }),
1190
- t && /* @__PURE__ */ u("span", {
1423
+ t && /* @__PURE__ */ d("span", {
1191
1424
  id: l,
1192
- className: Y.hint,
1425
+ className: Z.hint,
1193
1426
  children: t
1194
1427
  })
1195
1428
  ]
1196
1429
  });
1197
1430
  }
1198
- var X = {
1431
+ var Q = {
1199
1432
  wrapper: "_wrapper_1y6l7_1",
1200
1433
  label: "_label_1y6l7_7",
1201
1434
  input: "_input_1y6l7_15",
@@ -1205,46 +1438,46 @@ var X = {
1205
1438
  errorMessage: "_errorMessage_1y6l7_51"
1206
1439
  };
1207
1440
  // src/components/TextInput/TextInput.tsx
1208
- function Te({ label: e, hint: t, error: n, compact: r = !1, className: i, id: o, "aria-describedby": s, "aria-invalid": c, ...l }) {
1209
- let f = a(), p = o ?? f, m = `${p}-hint`, h = `${p}-error`, g = [
1441
+ function Fe({ label: e, hint: t, error: n, compact: r = !1, className: i, id: o, "aria-describedby": s, "aria-invalid": c, ...l }) {
1442
+ let u = a(), p = o ?? u, m = `${p}-hint`, h = `${p}-error`, g = [
1210
1443
  s,
1211
1444
  t && m,
1212
1445
  n && h
1213
1446
  ].filter(Boolean).join(" ") || void 0;
1214
- return /* @__PURE__ */ d("div", {
1447
+ return /* @__PURE__ */ f("div", {
1215
1448
  className: [
1216
- X.wrapper,
1217
- r && X.compact,
1218
- n && X.error,
1449
+ Q.wrapper,
1450
+ r && Q.compact,
1451
+ n && Q.error,
1219
1452
  i
1220
1453
  ].filter(Boolean).join(" "),
1221
1454
  children: [
1222
- e && /* @__PURE__ */ u("label", {
1223
- className: X.label,
1455
+ e && /* @__PURE__ */ d("label", {
1456
+ className: Q.label,
1224
1457
  htmlFor: p,
1225
1458
  children: e
1226
1459
  }),
1227
- /* @__PURE__ */ u("input", {
1460
+ /* @__PURE__ */ d("input", {
1228
1461
  id: p,
1229
- className: X.input,
1462
+ className: Q.input,
1230
1463
  "aria-describedby": g,
1231
1464
  "aria-invalid": n ? !0 : c,
1232
1465
  ...l
1233
1466
  }),
1234
- t && /* @__PURE__ */ u("span", {
1467
+ t && /* @__PURE__ */ d("span", {
1235
1468
  id: m,
1236
- className: X.hint,
1469
+ className: Q.hint,
1237
1470
  children: t
1238
1471
  }),
1239
- n && /* @__PURE__ */ u("span", {
1472
+ n && /* @__PURE__ */ d("span", {
1240
1473
  id: h,
1241
- className: X.errorMessage,
1474
+ className: Q.errorMessage,
1242
1475
  children: n
1243
1476
  })
1244
1477
  ]
1245
1478
  });
1246
1479
  }
1247
- var Z = {
1480
+ var $ = {
1248
1481
  container: "_container_m3x4i_1",
1249
1482
  toast: "_toast_m3x4i_14",
1250
1483
  slideIn: "_slideIn_m3x4i_1",
@@ -1262,78 +1495,78 @@ var Z = {
1262
1495
  progress: "_progress_m3x4i_153",
1263
1496
  toastInner: "_toastInner_m3x4i_181",
1264
1497
  toastBody: "_toastBody_m3x4i_187"
1265
- }, Q = 220, Ee = {
1498
+ }, Ie = 220, Le = {
1266
1499
  success: "✓",
1267
1500
  error: "✕",
1268
1501
  warning: "⚠",
1269
1502
  info: "ℹ"
1270
- }, $ = t({ addToast: () => {} });
1271
- function De() {
1272
- return r($);
1503
+ }, Re = t({ addToast: () => {} });
1504
+ function ze() {
1505
+ return r(Re);
1273
1506
  }
1274
- function Oe({ dismissLabel: e, children: t }) {
1275
- let [r, a] = c([]), l = s(0), f = s(/* @__PURE__ */ new Map());
1507
+ function Be({ dismissLabel: e, children: t }) {
1508
+ let [r, a] = l([]), o = c(0), u = c(/* @__PURE__ */ new Map());
1276
1509
  i(() => {
1277
- let e = f.current;
1510
+ let e = u.current;
1278
1511
  return () => e.forEach((e) => clearTimeout(e));
1279
1512
  }, []);
1280
1513
  let p = n((e) => {
1281
- clearTimeout(f.current.get(e)), f.current.delete(e), a((t) => t.map((t) => t.id === e ? {
1514
+ clearTimeout(u.current.get(e)), u.current.delete(e), a((t) => t.map((t) => t.id === e ? {
1282
1515
  ...t,
1283
1516
  isExiting: !0
1284
1517
  } : t)), setTimeout(() => {
1285
1518
  a((t) => t.filter((t) => t.id !== e));
1286
- }, Q);
1519
+ }, Ie);
1287
1520
  }, []), m = n((e, t = "success", n = 4e3) => {
1288
- let r = String(l.current++);
1521
+ let r = String(o.current++);
1289
1522
  a((i) => [...i, {
1290
1523
  id: r,
1291
1524
  message: e,
1292
1525
  variant: t,
1293
1526
  duration: n,
1294
1527
  isExiting: !1
1295
- }]), f.current.set(r, setTimeout(() => p(r), n));
1296
- }, [p]), h = o(() => ({ addToast: m }), [m]);
1297
- return /* @__PURE__ */ d($.Provider, {
1528
+ }]), u.current.set(r, setTimeout(() => p(r), n));
1529
+ }, [p]), h = s(() => ({ addToast: m }), [m]);
1530
+ return /* @__PURE__ */ f(Re.Provider, {
1298
1531
  value: h,
1299
- children: [t, /* @__PURE__ */ u(ke, {
1532
+ children: [t, /* @__PURE__ */ d(Ve, {
1300
1533
  toasts: r,
1301
1534
  onDismiss: p,
1302
1535
  dismissLabel: e
1303
1536
  })]
1304
1537
  });
1305
1538
  }
1306
- function ke({ toasts: e, onDismiss: t, dismissLabel: n }) {
1307
- return /* @__PURE__ */ u("div", {
1308
- className: Z.container,
1539
+ function Ve({ toasts: e, onDismiss: t, dismissLabel: n }) {
1540
+ return /* @__PURE__ */ d("div", {
1541
+ className: $.container,
1309
1542
  role: "status",
1310
1543
  "aria-atomic": "false",
1311
- children: e.map((e) => /* @__PURE__ */ d("div", {
1312
- className: `${Z.toast} ${Z[e.variant]} ${e.isExiting ? Z.exiting : ""}`,
1544
+ children: e.map((e) => /* @__PURE__ */ f("div", {
1545
+ className: `${$.toast} ${$[e.variant]} ${e.isExiting ? $.exiting : ""}`,
1313
1546
  children: [
1314
- /* @__PURE__ */ u("div", {
1315
- className: Z.toastInner,
1316
- children: /* @__PURE__ */ d("div", {
1317
- className: Z.toastBody,
1318
- children: [/* @__PURE__ */ u("span", {
1319
- className: Z.icon,
1547
+ /* @__PURE__ */ d("div", {
1548
+ className: $.toastInner,
1549
+ children: /* @__PURE__ */ f("div", {
1550
+ className: $.toastBody,
1551
+ children: [/* @__PURE__ */ d("span", {
1552
+ className: $.icon,
1320
1553
  "aria-hidden": "true",
1321
- children: Ee[e.variant]
1322
- }), /* @__PURE__ */ u("span", {
1323
- className: Z.message,
1554
+ children: Le[e.variant]
1555
+ }), /* @__PURE__ */ d("span", {
1556
+ className: $.message,
1324
1557
  children: e.message
1325
1558
  })]
1326
1559
  })
1327
1560
  }),
1328
- /* @__PURE__ */ u("button", {
1561
+ /* @__PURE__ */ d("button", {
1329
1562
  type: "button",
1330
- className: Z.close,
1563
+ className: $.close,
1331
1564
  onClick: () => t(e.id),
1332
1565
  "aria-label": n,
1333
1566
  children: "×"
1334
1567
  }),
1335
- /* @__PURE__ */ u("div", {
1336
- className: Z.progress,
1568
+ /* @__PURE__ */ d("div", {
1569
+ className: $.progress,
1337
1570
  style: { animationDuration: `${e.duration}ms` }
1338
1571
  })
1339
1572
  ]
@@ -1341,8 +1574,8 @@ function ke({ toasts: e, onDismiss: t, dismissLabel: n }) {
1341
1574
  });
1342
1575
  }
1343
1576
  // src/hooks/useDragReorder.ts
1344
- function Ae(e, t) {
1345
- let [n, r] = c(null), [i, a] = c(null), o = () => {
1577
+ function He(e, t) {
1578
+ let [n, r] = l(null), [i, a] = l(null), o = () => {
1346
1579
  r(null), a(null);
1347
1580
  }, s = (n, r) => {
1348
1581
  let i = (t) => t >= 0 && t < e.length;
@@ -1370,15 +1603,15 @@ function Ae(e, t) {
1370
1603
  };
1371
1604
  }
1372
1605
  // src/hooks/useRotatingMessage.ts
1373
- var je = 300;
1374
- function Me(e, t = 1e4, n = !1) {
1375
- let [r, a] = c(0), [o, s] = c(!1);
1606
+ var Ue = 300;
1607
+ function We(e, t = 1e4, n = !1) {
1608
+ let [r, a] = l(0), [o, s] = l(!1);
1376
1609
  return i(() => {
1377
1610
  if (e.length <= 1 || n) return;
1378
1611
  let r, i = setInterval(() => {
1379
1612
  s(!0), r = setTimeout(() => {
1380
1613
  r = void 0, a((t) => (t + 1) % e.length), s(!1);
1381
- }, je);
1614
+ }, Ue);
1382
1615
  }, t);
1383
1616
  return () => {
1384
1617
  clearInterval(i), r !== void 0 && (clearTimeout(r), s(!1));
@@ -1392,4 +1625,4 @@ function Me(e, t = 1e4, n = !1) {
1392
1625
  isFading: o
1393
1626
  };
1394
1627
  }
1395
- export { h as Accordion, v as Button, x as Card, C as Checkbox, T as Container, te as ICON_NAMES, ne as Icon, re as IconButton, A as MATRIX_CONFIG, de as MATRIX_PRESETS, fe as MATRIX_THEME_CONFIG, O as Markdown, ue as MarkdownEditor, M as MatrixContainer, N as ORBITAL_DOTS_CONFIG, F as OrbitalDots, pe as PageHero, B as PageTransition, L as Section, me as Select, he as ShimmerImage, ye as SideNav, K as Tag, xe as TagFilter, Se as TagGroup, Ce as Text, we as TextArea, Te as TextInput, Oe as ToastProvider, Ae as useDragReorder, Me as useRotatingMessage, De as useToast };
1628
+ export { g as Accordion, y as Button, S as Card, ee as Checkbox, T as Container, O as ICON_NAMES, k as Icon, j as IconButton, te as LevelChip, P as MATRIX_CONFIG, ue as MATRIX_PRESETS, de as MATRIX_THEME_CONFIG, ae as Markdown, le as MarkdownEditor, fe as MatrixContainer, pe as ORBITAL_DOTS_CONFIG, me as OrbitalDots, ge as PageHero, ve as PageTransition, he as Section, ye as SegmentedControl, be as Select, xe as ShimmerImage, Te as SideNav, De as Slider, Oe as Switch, ke as Tabs, J as Tag, je as TagFilter, Me as TagGroup, Ne as Text, Pe as TextArea, Fe as TextInput, Be as ToastProvider, He as useDragReorder, We as useRotatingMessage, ze as useToast };