@elmethis/solid 0.3.2 → 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.
@@ -4,22 +4,21 @@ import { clsx as F } from "clsx";
4
4
  import { mdiAlertCircleOutline as ee, mdiApplicationOutline as te, mdiArrowDownDropCircleOutline as ne, mdiChevronRight as re, mdiClipboardCheckOutline as ie, mdiClipboardOutline as ae, mdiDownload as oe, mdiEyeOffOutline as se, mdiEyeOutline as ce, mdiFastForward10 as le, mdiFile as ue, mdiFolderOpen as de, mdiHome as I, mdiLinkVariant as fe, mdiMenuDown as pe, mdiMessageImageOutline as L, mdiMusicNote as me, mdiOpenInNew as he, mdiPause as ge, mdiPlay as _e, mdiPlus as ve, mdiRewind10 as ye, mdiText as be, mdiTextLong as xe, mdiTrashCanOutline as Se, mdiVolumeHigh as Ce, mdiVolumeLow as we, mdiVolumeMedium as Te, mdiVolumeOff as Ee } from "@mdi/js";
5
5
  import { AudioApi as De, BlockImageApi as Oe, BlockQuoteApi as ke, BookmarkApi as Ae, CalloutApi as je, CodeBlockApi as Me, ColumnApi as Ne, ColumnListApi as Pe, ContentTabApi as Fe, ContentTabsApi as Ie, DividerApi as Le, FileApi as Re, HeadingApi as ze, HtmlApi as Be, IconApi as Ve, KatexApi as He, LinkTextApi as Ue, ListApi as We, ListItemApi as Ge, MermaidApi as Ke, NOTION_BLOCK_CATALOG_ID as qe, NotionCalloutApi as Je, ParagraphApi as Ye, RichTextApi as Xe, TableApi as Ze, TableCellApi as Qe, TableRowApi as $e, ToggleApi as et, UnsupportedApi as tt, VideoApi as nt, languageIcons as rt, normalizeLanguage as it } from "@elmethis/core";
6
6
  import { renderToString as at } from "katex";
7
- import { bundledLanguages as ot, createHighlighter as st } from "shiki";
8
- import ct from "@46ki75/ikuma-theme/dark";
9
- import lt from "@46ki75/ikuma-theme/light";
10
- import { marked as ut } from "marked";
11
- import { Catalog as dt, ComponentContext as ft, GenericBinder as pt, MessageProcessor as mt } from "@a2ui/web_core/v0_9";
12
- import { AudioPlayerApi as ht, BASIC_FUNCTIONS as gt, ButtonApi as _t, CardApi as vt, CheckBoxApi as yt, ChoicePickerApi as bt, ColumnApi as xt, DateTimeInputApi as St, DividerApi as Ct, IconApi as wt, ImageApi as Tt, ListApi as Et, ModalApi as Dt, RowApi as Ot, SliderApi as kt, TabsApi as At, TextApi as jt, TextFieldApi as Mt, VideoApi as Nt } from "@a2ui/web_core/v0_9/basic_catalog";
13
- import { createStore as Pt, reconcile as Ft } from "solid-js/store";
7
+ import ot from "@46ki75/ikuma-theme/dark";
8
+ import st from "@46ki75/ikuma-theme/light";
9
+ import { marked as ct } from "marked";
10
+ import { Catalog as lt, ComponentContext as ut, GenericBinder as dt, MessageProcessor as ft } from "@a2ui/web_core/v0_9";
11
+ import { AudioPlayerApi as pt, BASIC_FUNCTIONS as mt, ButtonApi as ht, CardApi as gt, CheckBoxApi as _t, ChoicePickerApi as vt, ColumnApi as yt, DateTimeInputApi as bt, DividerApi as xt, IconApi as St, ImageApi as Ct, ListApi as wt, ModalApi as Tt, RowApi as Et, SliderApi as Dt, TabsApi as Ot, TextApi as kt, TextFieldApi as At, VideoApi as jt } from "@a2ui/web_core/v0_9/basic_catalog";
12
+ import { createStore as Mt, reconcile as Nt } from "solid-js/store";
14
13
  //#region src/components/fallback/elm-block-fallback.module.css
15
- var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, R = (e, t) => typeof e == "string" ? [Object.entries(t).filter((e) => e[1] != null).map(([e, t]) => `${e}:${String(t)}`).join(";"), e.trim()].filter(Boolean).join(";") : {
14
+ var Pt = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, R = (e, t) => typeof e == "string" ? [Object.entries(t).filter((e) => e[1] != null).map(([e, t]) => `${e}:${String(t)}`).join(";"), e.trim()].filter(Boolean).join(";") : {
16
15
  ...t,
17
16
  ...e ?? {}
18
- }, Lt = {
17
+ }, Ft = {
19
18
  "elm-dot-loading-icon": "_elm-dot-loading-icon_qjgj2_15",
20
19
  dot: "_dot_qjgj2_25",
21
20
  bounce: "_bounce_qjgj2_1"
22
- }, Rt = /* @__PURE__ */ m("<span><span aria-hidden=true></span><span aria-hidden=true></span><span aria-hidden=true>"), zt = (e) => {
21
+ }, It = /* @__PURE__ */ m("<span><span aria-hidden=true></span><span aria-hidden=true></span><span aria-hidden=true>"), Lt = (e) => {
23
22
  let [t, n] = M(O({ size: "4em" }, e), [
24
23
  "class",
25
24
  "style",
@@ -27,16 +26,16 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, R = (e, t) =>
27
26
  "size"
28
27
  ]);
29
28
  return (() => {
30
- var e = Rt(), i = e.firstChild, a = i.nextSibling, s = a.nextSibling;
29
+ var e = It(), i = e.firstChild, a = i.nextSibling, s = a.nextSibling;
31
30
  return f(e, l({
32
31
  get class() {
33
- return F(Lt["elm-dot-loading-icon"], t.class);
32
+ return F(Ft["elm-dot-loading-icon"], t.class);
34
33
  },
35
34
  get style() {
36
35
  return R(t.style, { "--elmethis-scoped-size": t.size });
37
36
  }
38
37
  }, n), !1, !0), o((e) => {
39
- var t = Lt.dot, n = Lt.dot, o = Lt.dot;
38
+ var t = Ft.dot, n = Ft.dot, o = Ft.dot;
40
39
  return t !== e.e && r(i, e.e = t), n !== e.t && r(a, e.t = n), o !== e.a && r(s, e.a = o), e;
41
40
  }, {
42
41
  e: void 0,
@@ -44,18 +43,18 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, R = (e, t) =>
44
43
  a: void 0
45
44
  }), e;
46
45
  })();
47
- }, Bt = {
46
+ }, Rt = {
48
47
  "elm-rectangle-wave": "_elm-rectangle-wave_70gad_21",
49
48
  wave: "_wave_70gad_1"
50
- }, Vt = /* @__PURE__ */ m("<div aria-hidden=true>"), Ht = (e) => {
49
+ }, zt = /* @__PURE__ */ m("<div aria-hidden=true>"), Bt = (e) => {
51
50
  let [t, n] = M(e, ["class", "children"]);
52
51
  return (() => {
53
- var e = Vt();
52
+ var e = zt();
54
53
  return f(e, l({ get class() {
55
- return F(Bt["elm-rectangle-wave"], t.class);
54
+ return F(Rt["elm-rectangle-wave"], t.class);
56
55
  } }, n), !1, !1), e;
57
56
  })();
58
- }, Ut = /* @__PURE__ */ m("<div>"), Wt = (e) => {
57
+ }, Vt = /* @__PURE__ */ m("<div>"), Ht = (e) => {
59
58
  let [t, n] = M(O({ height: "16rem" }, e), [
60
59
  "class",
61
60
  "style",
@@ -63,22 +62,22 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, R = (e, t) =>
63
62
  "height"
64
63
  ]);
65
64
  return (() => {
66
- var e = Ut();
65
+ var e = Vt();
67
66
  return f(e, l({
68
67
  get class() {
69
- return F(It["elm-block-fallback"], t.class);
68
+ return F(Pt["elm-block-fallback"], t.class);
70
69
  },
71
70
  get style() {
72
71
  return R(t.style, { "--elmethis-scoped-height": t.height });
73
72
  }
74
- }, n), !1, !0), s(e, i(zt, {}), null), s(e, i(Ht, {}), null), e;
73
+ }, n), !1, !0), s(e, i(Lt, {}), null), s(e, i(Bt, {}), null), e;
75
74
  })();
76
- }, Gt = {
75
+ }, Ut = {
77
76
  "elm-unsupported-block": "_elm-unsupported-block_8bkk1_1",
78
77
  message: "_message_8bkk1_13",
79
78
  icon: "_icon_8bkk1_20",
80
79
  details: "_details_8bkk1_24"
81
- }, Kt = {
80
+ }, Wt = {
82
81
  "elm-inline-text": "_elm-inline-text_uf3sg_1",
83
82
  code: "_code_uf3sg_13",
84
83
  kbd: "_kbd_uf3sg_25",
@@ -87,7 +86,7 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, R = (e, t) =>
87
86
  "ogp-text": "_ogp-text_uf3sg_104",
88
87
  "ogp-title": "_ogp-title_uf3sg_109",
89
88
  "ogp-description": "_ogp-description_uf3sg_115"
90
- }, qt = { text: "_text_zme4t_1" }, Jt = { "elm-inline-icon": "_elm-inline-icon_1qs0i_1" }, Yt = /* @__PURE__ */ m("<span><img>"), Xt = (e) => {
89
+ }, z = { text: "_text_zme4t_1" }, Gt = { "elm-inline-icon": "_elm-inline-icon_1qs0i_1" }, Kt = /* @__PURE__ */ m("<span><img>"), qt = (e) => {
91
90
  let [t, n] = M(O({ size: 16 }, e), [
92
91
  "class",
93
92
  "children",
@@ -98,11 +97,11 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, R = (e, t) =>
98
97
  "size"
99
98
  ]);
100
99
  return (() => {
101
- var e = Yt(), i = e.firstChild;
100
+ var e = Kt(), i = e.firstChild;
102
101
  return f(e, l(n, { get class() {
103
- return F(Jt["elm-inline-icon"], t.class);
102
+ return F(Gt["elm-inline-icon"], t.class);
104
103
  } }), !1, !0), o((e) => {
105
- var n = t.src, a = t.alt, o = Jt["elm-inline-icon"], s = t.width ?? t.size, c = t.height ?? t.size;
104
+ var n = t.src, a = t.alt, o = Gt["elm-inline-icon"], s = t.width ?? t.size, c = t.height ?? t.size;
106
105
  return n !== e.e && u(i, "src", e.e = n), a !== e.t && u(i, "alt", e.t = a), o !== e.a && r(i, e.a = o), s !== e.o && u(i, "width", e.o = s), c !== e.i && u(i, "height", e.i = c), e;
107
106
  }, {
108
107
  e: void 0,
@@ -112,14 +111,14 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, R = (e, t) =>
112
111
  i: void 0
113
112
  }), e;
114
113
  })();
115
- }, Zt = /* @__PURE__ */ m("<a target=_blank rel=\"noopener noreferrer\">"), Qt = /* @__PURE__ */ m("<kbd>"), $t = /* @__PURE__ */ m("<del>"), en = /* @__PURE__ */ m("<em>"), tn = /* @__PURE__ */ m("<ins>"), nn = /* @__PURE__ */ m("<strong>"), rn = /* @__PURE__ */ m("<code>"), an = /* @__PURE__ */ m("<ruby><span></span><rt>"), on = /* @__PURE__ */ m("<span>"), sn = (e, t) => {
114
+ }, Jt = /* @__PURE__ */ m("<a target=_blank rel=\"noopener noreferrer\">"), Yt = /* @__PURE__ */ m("<kbd>"), Xt = /* @__PURE__ */ m("<del>"), Zt = /* @__PURE__ */ m("<em>"), Qt = /* @__PURE__ */ m("<ins>"), $t = /* @__PURE__ */ m("<strong>"), en = /* @__PURE__ */ m("<code>"), tn = /* @__PURE__ */ m("<ruby><span></span><rt>"), nn = /* @__PURE__ */ m("<span>"), rn = (e, t) => {
116
115
  if (typeof e != "string") return {
117
116
  ...e ?? {},
118
117
  ...t
119
118
  };
120
119
  let n = Object.entries(t).filter((e) => e[1] != null).map(([e, t]) => `${e}:${String(t)}`).join(";");
121
120
  return [e.trim().replace(/;$/, ""), n].filter(Boolean).join(";");
122
- }, z = (e) => {
121
+ }, B = (e) => {
123
122
  let [t, n] = M(O({ size: "1em" }, e), [
124
123
  "class",
125
124
  "style",
@@ -139,89 +138,89 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, R = (e, t) =>
139
138
  ]), a = b(() => t.children), d = C(() => {
140
139
  let e = a();
141
140
  return t.href && (e = (() => {
142
- var n = Zt();
141
+ var n = Jt();
143
142
  return s(n, (() => {
144
143
  var e = c(() => !!t.favicon);
145
- return () => e() && i(Xt, {
144
+ return () => e() && i(qt, {
146
145
  get src() {
147
146
  return t.favicon;
148
147
  },
149
148
  alt: "favicon"
150
149
  });
151
150
  })(), null), s(n, e, null), o((e) => {
152
- var i = Kt.link, a = t.href;
151
+ var i = Wt.link, a = t.href;
153
152
  return i !== e.e && r(n, e.e = i), a !== e.t && u(n, "href", e.t = a), e;
154
153
  }, {
155
154
  e: void 0,
156
155
  t: void 0
157
156
  }), n;
158
157
  })()), t.kbd && (e = (() => {
159
- var t = Qt();
160
- return s(t, e), o(() => r(t, Kt.kbd)), t;
158
+ var t = Yt();
159
+ return s(t, e), o(() => r(t, Wt.kbd)), t;
161
160
  })()), t.strikethrough && (e = (() => {
162
- var t = $t();
161
+ var t = Xt();
163
162
  return s(t, e), t;
164
163
  })()), t.italic && (e = (() => {
165
- var t = en();
164
+ var t = Zt();
166
165
  return s(t, e), t;
167
166
  })()), t.underline && (e = (() => {
168
- var t = tn();
167
+ var t = Qt();
169
168
  return s(t, e), t;
170
169
  })()), t.bold && (e = (() => {
171
- var t = nn();
170
+ var t = $t();
172
171
  return s(t, e), t;
173
172
  })()), t.code && (e = (() => {
174
- var t = rn();
175
- return s(t, e), o(() => r(t, Kt.code)), t;
173
+ var t = en();
174
+ return s(t, e), o(() => r(t, Wt.code)), t;
176
175
  })()), t.ruby && (e = (() => {
177
- var n = an(), i = n.firstChild, a = i.nextSibling;
178
- return s(i, e), s(a, () => t.ruby), o(() => r(n, Kt["elm-inline-text"])), n;
176
+ var n = tn(), i = n.firstChild, a = i.nextSibling;
177
+ return s(i, e), s(a, () => t.ruby), o(() => r(n, Wt["elm-inline-text"])), n;
179
178
  })()), e;
180
- }), p = C(() => sn(t.style, {
179
+ }), p = C(() => rn(t.style, {
181
180
  "--elmethis-scoped-color": t.color,
182
181
  "--elmethis-scoped-font-size": t.size,
183
182
  "--elmethis-scoped-background-color": t.backgroundColor
184
183
  }));
185
184
  return (() => {
186
- var e = on();
185
+ var e = nn();
187
186
  return f(e, l(n, {
188
187
  get class() {
189
- return F(Kt["elm-inline-text"], qt.text, t.class);
188
+ return F(Wt["elm-inline-text"], z.text, t.class);
190
189
  },
191
190
  get style() {
192
191
  return p();
193
192
  }
194
193
  }), !1, !0), s(e, d), e;
195
194
  })();
196
- }, cn = /* @__PURE__ */ m("<div><div><svg viewBox=\"0 0 24 24\"width=1.25rem height=1.25rem><path d=\"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z\">"), ln = /* @__PURE__ */ m("<div>"), un = (e) => {
195
+ }, an = /* @__PURE__ */ m("<div><div><svg viewBox=\"0 0 24 24\"width=1.25rem height=1.25rem><path d=\"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z\">"), on = /* @__PURE__ */ m("<div>"), sn = (e) => {
197
196
  let [t, n] = M(e, [
198
197
  "class",
199
198
  "children",
200
199
  "details"
201
200
  ]);
202
201
  return (() => {
203
- var e = cn(), a = e.firstChild, d = a.firstChild;
202
+ var e = an(), a = e.firstChild, d = a.firstChild;
204
203
  return f(e, l({ get class() {
205
- return F(Gt["elm-unsupported-block"], t.class);
206
- } }, n), !1, !0), s(a, i(z, { children: "UNSUPPORTED BLOCK" }), null), s(e, (() => {
204
+ return F(Ut["elm-unsupported-block"], t.class);
205
+ } }, n), !1, !0), s(a, i(B, { children: "UNSUPPORTED BLOCK" }), null), s(e, (() => {
207
206
  var e = c(() => !!t.details);
208
207
  return () => e() && (() => {
209
- var e = ln();
210
- return s(e, i(z, { get children() {
208
+ var e = on();
209
+ return s(e, i(B, { get children() {
211
210
  return t.details;
212
- } })), o(() => r(e, Gt.details)), e;
211
+ } })), o(() => r(e, Ut.details)), e;
213
212
  })();
214
213
  })(), null), o((e) => {
215
- var t = Gt.message, n = Gt.icon;
214
+ var t = Ut.message, n = Ut.icon;
216
215
  return t !== e.e && r(a, e.e = t), n !== e.t && u(d, "class", e.t = n), e;
217
216
  }, {
218
217
  e: void 0,
219
218
  t: void 0
220
219
  }), e;
221
220
  })();
222
- }, B = (e, t) => {
221
+ }, V = (e, t) => {
223
222
  typeof e == "function" ? e(t) : e && e[0](e[1], t);
224
- }, dn = {
223
+ }, cn = {
225
224
  "elm-button": "_elm-button_9qh0y_1",
226
225
  normal: "_normal_9qh0y_22",
227
226
  primary: "_primary_9qh0y_29",
@@ -230,7 +229,7 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, R = (e, t) =>
230
229
  flex: "_flex_9qh0y_59",
231
230
  ripple: "_ripple_9qh0y_83",
232
231
  "button-ripple": "_button-ripple_9qh0y_1"
233
- }, fn = /* @__PURE__ */ m("<span>"), pn = /* @__PURE__ */ m("<button>"), mn = (e) => {
232
+ }, ln = /* @__PURE__ */ m("<span>"), un = /* @__PURE__ */ m("<button>"), dn = (e) => {
234
233
  let [t, n] = M(e, [
235
234
  "class",
236
235
  "style",
@@ -244,17 +243,17 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, R = (e, t) =>
244
243
  ]), [a, c] = T(!1), u;
245
244
  A(() => clearTimeout(u));
246
245
  let d = (e) => {
247
- t.isLoading || t.disabled || !t.onClick || (c(!0), clearTimeout(u), u = setTimeout(() => c(!1), 300), B(t.onClick, e));
246
+ t.isLoading || t.disabled || !t.onClick || (c(!0), clearTimeout(u), u = setTimeout(() => c(!1), 300), V(t.onClick, e));
248
247
  };
249
248
  return (() => {
250
- var e = pn();
249
+ var e = un();
251
250
  return f(e, l(n, {
252
251
  onClick: d,
253
252
  get disabled() {
254
253
  return t.disabled;
255
254
  },
256
255
  get class() {
257
- return F(dn["elm-button"], !t.isLoading && !t.disabled && dn.enable, t.color && dn.colored, !t.color && !t.primary && dn.normal, !t.color && t.primary && dn.primary, t.class);
256
+ return F(cn["elm-button"], !t.isLoading && !t.disabled && cn.enable, t.color && cn.colored, !t.color && !t.primary && cn.normal, !t.color && t.primary && cn.primary, t.class);
258
257
  },
259
258
  get style() {
260
259
  return R(t.style, {
@@ -270,26 +269,26 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, R = (e, t) =>
270
269
  return a();
271
270
  },
272
271
  get children() {
273
- var e = fn();
274
- return o(() => r(e, dn.ripple)), e;
272
+ var e = ln();
273
+ return o(() => r(e, cn.ripple)), e;
275
274
  }
276
275
  }), null), s(e, i(v, {
277
276
  get when() {
278
277
  return !t.isLoading;
279
278
  },
280
279
  get fallback() {
281
- return i(zt, { size: "1.5rem" });
280
+ return i(Lt, { size: "1.5rem" });
282
281
  },
283
282
  get children() {
284
- var e = fn();
285
- return s(e, () => t.children), o(() => r(e, dn.flex)), e;
283
+ var e = ln();
284
+ return s(e, () => t.children), o(() => r(e, cn.flex)), e;
286
285
  }
287
286
  }), null), e;
288
287
  })();
289
288
  };
290
289
  //#endregion
291
290
  //#region src/primitives/create-controllable-signal.ts
292
- function hn(e) {
291
+ function fn(e) {
293
292
  let t = e.defaultValue(), [n, r] = T(t, { equals: Object.is }), i = C(() => {
294
293
  let t = e.value?.();
295
294
  return t === void 0 ? n() : t;
@@ -299,7 +298,7 @@ function hn(e) {
299
298
  return Object.is(a, n) ? a : (e.value?.() === void 0 && r((() => a)), e.onChange?.(a), a);
300
299
  }))];
301
300
  }
302
- var gn = {
301
+ var pn = {
303
302
  "elm-checkbox": "_elm-checkbox_18dfs_1",
304
303
  disabled: "_disabled_18dfs_12",
305
304
  checkbox: "_checkbox_18dfs_22",
@@ -309,7 +308,7 @@ var gn = {
309
308
  "loading-dot": "_loading-dot_18dfs_39",
310
309
  "check-line": "_check-line_18dfs_54",
311
310
  "elmethis-checkbox-check-line": "_elmethis-checkbox-check-line_18dfs_1"
312
- }, _n = /* @__PURE__ */ m("<svg><polyline points=\"5,12 10,17 19,8\"stroke-width=1.5 fill=transparent></svg>", !1, !0, !1), vn = /* @__PURE__ */ m("<div><div style=display:flex;align-items:center;gap:0.5rem><svg width=24 height=24><circle cx=0 cy=0 r=2><animate attributeName=cx values=\"4; 20; 20; 4; 4\"dur=1.2s repeatCount=indefinite keySplines=\"0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1\"calcMode=spline></animate><animate attributeName=cy values=\"4; 4; 20; 20; 4\"dur=1.2s repeatCount=indefinite keySplines=\"0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1\"calcMode=spline></animate></circle><circle cx=20 cy=20 r=2><animate attributeName=cx values=\"20; 4; 4; 20; 20\"dur=1.2s repeatCount=indefinite keySplines=\"0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1\"calcMode=spline></animate><animate attributeName=cy values=\"20; 20; 4; 4; 20\"dur=1.2s repeatCount=indefinite keySplines=\"0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1\"calcMode=spline></animate></circle><rect x=4 y=4 width=16 height=16 stroke-width=0.8></rect><line x1=0 y1=1 x2=4 y2=1 stroke-width=2 fill=transparent></line><line x1=4 y1=0 x2=24 y2=0 stroke-width=1 fill=transparent></line><line x1=0 y1=4 x2=0 y2=16 stroke-width=1 fill=transparent></line><line x1=0 y1=18 x2=0 y2=20 stroke-width=1 fill=transparent></line><line x1=0 y1=24 x2=20 y2=24 stroke-width=1 fill=transparent></line><line x1=20 y1=23 x2=24 y2=23 stroke-width=1.5 fill=transparent></line><line x1=24 y1=4 x2=24 y2=20 fill=transparent style=stroke-width:1px>"), yn = (e) => {
311
+ }, mn = /* @__PURE__ */ m("<svg><polyline points=\"5,12 10,17 19,8\"stroke-width=1.5 fill=transparent></svg>", !1, !0, !1), hn = /* @__PURE__ */ m("<div><div style=display:flex;align-items:center;gap:0.5rem><svg width=24 height=24><circle cx=0 cy=0 r=2><animate attributeName=cx values=\"4; 20; 20; 4; 4\"dur=1.2s repeatCount=indefinite keySplines=\"0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1\"calcMode=spline></animate><animate attributeName=cy values=\"4; 4; 20; 20; 4\"dur=1.2s repeatCount=indefinite keySplines=\"0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1\"calcMode=spline></animate></circle><circle cx=20 cy=20 r=2><animate attributeName=cx values=\"20; 4; 4; 20; 20\"dur=1.2s repeatCount=indefinite keySplines=\"0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1\"calcMode=spline></animate><animate attributeName=cy values=\"20; 20; 4; 4; 20\"dur=1.2s repeatCount=indefinite keySplines=\"0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1\"calcMode=spline></animate></circle><rect x=4 y=4 width=16 height=16 stroke-width=0.8></rect><line x1=0 y1=1 x2=4 y2=1 stroke-width=2 fill=transparent></line><line x1=4 y1=0 x2=24 y2=0 stroke-width=1 fill=transparent></line><line x1=0 y1=4 x2=0 y2=16 stroke-width=1 fill=transparent></line><line x1=0 y1=18 x2=0 y2=20 stroke-width=1 fill=transparent></line><line x1=0 y1=24 x2=20 y2=24 stroke-width=1 fill=transparent></line><line x1=20 y1=23 x2=24 y2=23 stroke-width=1.5 fill=transparent></line><line x1=24 y1=4 x2=24 y2=20 fill=transparent style=stroke-width:1px>"), gn = (e) => {
313
312
  let [t, n] = M(e, [
314
313
  "class",
315
314
  "onClick",
@@ -320,18 +319,18 @@ var gn = {
320
319
  "defaultChecked",
321
320
  "onCheckedChange",
322
321
  "children"
323
- ]), [r, a] = hn({
322
+ ]), [r, a] = fn({
324
323
  value: () => t.checked,
325
324
  defaultValue: () => t.defaultChecked ?? !1,
326
325
  onChange: (e) => t.onCheckedChange?.(e)
327
326
  }), c = (e) => {
328
- B(t.onClick, e), !e.defaultPrevented && !t.isLoading && !t.disabled && a((e) => !e);
327
+ V(t.onClick, e), !e.defaultPrevented && !t.isLoading && !t.disabled && a((e) => !e);
329
328
  };
330
329
  return (() => {
331
- var e = vn(), a = e.firstChild, p = a.firstChild, m = p.firstChild, h = m.nextSibling, g = h.nextSibling, _ = g.nextSibling;
330
+ var e = hn(), a = e.firstChild, p = a.firstChild, m = p.firstChild, h = m.nextSibling, g = h.nextSibling, _ = g.nextSibling;
332
331
  return _.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling, f(e, l(n, {
333
332
  get class() {
334
- return F(gn["elm-checkbox"], t.disabled && gn.disabled, t.class);
333
+ return F(pn["elm-checkbox"], t.disabled && pn.disabled, t.class);
335
334
  },
336
335
  onClick: c
337
336
  }), !1, !0), s(p, i(v, {
@@ -339,13 +338,13 @@ var gn = {
339
338
  return r();
340
339
  },
341
340
  get children() {
342
- var e = _n();
343
- return o(() => u(e, "class", gn["check-line"])), e;
341
+ var e = mn();
342
+ return o(() => u(e, "class", pn["check-line"])), e;
344
343
  }
345
- }), _), s(a, i(z, { get children() {
344
+ }), _), s(a, i(B, { get children() {
346
345
  return t.label;
347
346
  } }), null), o((e) => {
348
- var n = gn.checkbox, i = gn["loading-dot"], a = +!!t.isLoading, o = gn["loading-dot"], s = +!!t.isLoading, c = F(gn.rect, r() && gn.checked, t.isLoading && gn.loading);
347
+ var n = pn.checkbox, i = pn["loading-dot"], a = +!!t.isLoading, o = pn["loading-dot"], s = +!!t.isLoading, c = F(pn.rect, r() && pn.checked, t.isLoading && pn.loading);
349
348
  return n !== e.e && u(p, "class", e.e = n), i !== e.t && u(m, "class", e.t = i), a !== e.a && d(m, "opacity", e.a = a), o !== e.o && u(h, "class", e.o = o), s !== e.i && d(h, "opacity", e.i = s), c !== e.n && u(g, "class", e.n = c), e;
350
349
  }, {
351
350
  e: void 0,
@@ -356,13 +355,13 @@ var gn = {
356
355
  n: void 0
357
356
  }), e;
358
357
  })();
359
- }, bn = {
358
+ }, _n = {
360
359
  switch: "_switch_9s4vz_1",
361
360
  bar: "_bar_9s4vz_5",
362
361
  checked: "_checked_9s4vz_21",
363
362
  disabled: "_disabled_9s4vz_26",
364
363
  circle: "_circle_9s4vz_31"
365
- }, xn = /* @__PURE__ */ m("<div><input type=checkbox readonly><div><div>"), Sn = (e) => {
364
+ }, vn = /* @__PURE__ */ m("<div><input type=checkbox readonly><div><div>"), yn = (e) => {
366
365
  let [t, n] = M(O({
367
366
  color: "var(--elmethis-color-primary)",
368
367
  size: "18px"
@@ -377,10 +376,10 @@ var gn = {
377
376
  "onCheckedChange",
378
377
  "children"
379
378
  ]), i = (e) => {
380
- B(t.onClick, e), !e.defaultPrevented && !t.disabled && t.onCheckedChange?.(!t.checked);
379
+ V(t.onClick, e), !e.defaultPrevented && !t.disabled && t.onCheckedChange?.(!t.checked);
381
380
  };
382
381
  return (() => {
383
- var e = xn(), a = e.firstChild, s = a.nextSibling, c = s.firstChild;
382
+ var e = vn(), a = e.firstChild, s = a.nextSibling, c = s.firstChild;
384
383
  return f(e, l(n, {
385
384
  onClick: i,
386
385
  get class() {
@@ -395,7 +394,7 @@ var gn = {
395
394
  });
396
395
  }
397
396
  }), !1, !0), o((e) => {
398
- var n = bn.switch, i = t.disabled, o = F(bn.bar, t.checked && bn.checked, t.disabled && bn.disabled), l = F(bn.circle, t.checked && bn.checked, t.disabled && bn.disabled);
397
+ var n = _n.switch, i = t.disabled, o = F(_n.bar, t.checked && _n.checked, t.disabled && _n.disabled), l = F(_n.circle, t.checked && _n.checked, t.disabled && _n.disabled);
399
398
  return n !== e.e && r(a, e.e = n), i !== e.t && (a.disabled = e.t = i), o !== e.a && r(s, e.a = o), l !== e.o && r(c, e.o = l), e;
400
399
  }, {
401
400
  e: void 0,
@@ -404,7 +403,7 @@ var gn = {
404
403
  o: void 0
405
404
  }), o(() => a.checked = t.checked), e;
406
405
  })();
407
- }, Cn = { "elm-mdi-icon": "_elm-mdi-icon_ihskx_1" }, wn = /* @__PURE__ */ m("<svg viewBox=\"0 0 24 24\"xmlns=http://www.w3.org/2000/svg role=img><path>"), Tn = { focusable: "false" }, V = (e) => {
406
+ }, bn = { "elm-mdi-icon": "_elm-mdi-icon_ihskx_1" }, xn = /* @__PURE__ */ m("<svg viewBox=\"0 0 24 24\"xmlns=http://www.w3.org/2000/svg role=img><path>"), Sn = { focusable: "false" }, H = (e) => {
408
407
  let [t, n] = M(O({
409
408
  size: "1em",
410
409
  color: "currentColor"
@@ -419,10 +418,10 @@ var gn = {
419
418
  "darkColor"
420
419
  ]);
421
420
  return (() => {
422
- var e = wn(), r = e.firstChild;
421
+ var e = xn(), r = e.firstChild;
423
422
  return f(e, l({
424
423
  get class() {
425
- return F(Cn["elm-mdi-icon"], t.class);
424
+ return F(bn["elm-mdi-icon"], t.class);
426
425
  },
427
426
  get style() {
428
427
  return R(t.style, {
@@ -439,9 +438,9 @@ var gn = {
439
438
  get fill() {
440
439
  return t.color;
441
440
  }
442
- }, Tn, n), !0, !0), o(() => u(r, "d", t.d)), e;
441
+ }, Sn, n), !0, !0), o(() => u(r, "d", t.d)), e;
443
442
  })();
444
- }, En = { "elm-validation": "_elm-validation_1cigg_1" }, Dn = /* @__PURE__ */ m("<div>"), On = "M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z", kn = "M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M12 20C7.59 20 4 16.41 4 12S7.59 4 12 4 20 7.59 20 12 16.41 20 12 20M16.59 7.58L10 14.17L7.41 11.59L6 13L10 17L18 9L16.59 7.58Z", An = (e) => {
443
+ }, Cn = { "elm-validation": "_elm-validation_1cigg_1" }, wn = /* @__PURE__ */ m("<div>"), Tn = "M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z", En = "M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M12 20C7.59 20 4 16.41 4 12S7.59 4 12 4 20 7.59 20 12 16.41 20 12 20M16.59 7.58L10 14.17L7.41 11.59L6 13L10 17L18 9L16.59 7.58Z", Dn = (e) => {
445
444
  let [t, n] = M(O({ validColor: "var(--elmethis-color-accent-success)" }, e), [
446
445
  "class",
447
446
  "style",
@@ -450,22 +449,22 @@ var gn = {
450
449
  "isValid"
451
450
  ]);
452
451
  return (() => {
453
- var e = Dn();
452
+ var e = wn();
454
453
  return f(e, l(n, {
455
454
  get class() {
456
- return F(En["elm-validation"], t.class);
455
+ return F(Cn["elm-validation"], t.class);
457
456
  },
458
457
  get style() {
459
458
  return R(t.style, { "--elmethis-scoped-opacity": t.isValid ? 1 : .5 });
460
459
  }
461
- }), !1, !0), s(e, i(V, {
460
+ }), !1, !0), s(e, i(H, {
462
461
  get d() {
463
- return t.isValid ? On : kn;
462
+ return t.isValid ? Tn : En;
464
463
  },
465
464
  get color() {
466
465
  return c(() => !!t.isValid)() ? t.validColor : void 0;
467
466
  }
468
- }), null), s(e, i(z, {
467
+ }), null), s(e, i(B, {
469
468
  get color() {
470
469
  return c(() => !!t.isValid)() ? t.validColor : void 0;
471
470
  },
@@ -477,7 +476,7 @@ var gn = {
477
476
  };
478
477
  //#endregion
479
478
  //#region src/primitives/create-clipboard.ts
480
- function jn(e) {
479
+ function On(e) {
481
480
  let [t, n] = T(!1), r, i = !1;
482
481
  return A(() => {
483
482
  i = !0, r !== void 0 && clearTimeout(r);
@@ -502,10 +501,10 @@ function jn(e) {
502
501
  }
503
502
  //#endregion
504
503
  //#region src/components/icon/elm-copy-icon.module.css
505
- var Mn = {
504
+ var kn = {
506
505
  "elm-copy-icon": "_elm-copy-icon_1mzoy_1",
507
506
  "elm-copy-icon-copied": "_elm-copy-icon-copied_1mzoy_29"
508
- }, Nn = /* @__PURE__ */ m("<button>"), Pn = (e) => {
507
+ }, An = /* @__PURE__ */ m("<button>"), jn = (e) => {
509
508
  let [t, n] = M(e, [
510
509
  "class",
511
510
  "style",
@@ -513,7 +512,7 @@ var Mn = {
513
512
  "onClick",
514
513
  "type",
515
514
  "aria-label"
516
- ]), r = jn({ get content() {
515
+ ]), r = On({ get content() {
517
516
  return t.content;
518
517
  } }), a = (e) => {
519
518
  r.copy().catch(() => void 0);
@@ -521,13 +520,13 @@ var Mn = {
521
520
  typeof n == "function" ? n(e) : n?.[0](n[1], e);
522
521
  };
523
522
  return (() => {
524
- var e = Nn();
523
+ var e = An();
525
524
  return e.$$click = a, f(e, l({
526
525
  get type() {
527
526
  return t.type ?? "button";
528
527
  },
529
528
  get class() {
530
- return F(Mn["elm-copy-icon"], t.class);
529
+ return F(kn["elm-copy-icon"], t.class);
531
530
  },
532
531
  get style() {
533
532
  return t.style;
@@ -535,11 +534,11 @@ var Mn = {
535
534
  get "aria-label"() {
536
535
  return t["aria-label"] ?? (r.copied() ? "Copied" : "Copy to clipboard");
537
536
  }
538
- }, n), !1, !0), s(e, i(V, {
537
+ }, n), !1, !0), s(e, i(H, {
539
538
  "aria-hidden": "true",
540
539
  role: "presentation",
541
540
  get class() {
542
- return F(r.copied() && Mn["elm-copy-icon-copied"]);
541
+ return F(r.copied() && kn["elm-copy-icon-copied"]);
543
542
  },
544
543
  get d() {
545
544
  return r.copied() ? ie : ae;
@@ -551,9 +550,9 @@ var Mn = {
551
550
  a(["click"]);
552
551
  //#endregion
553
552
  //#region src/components/icon/language-glyph.tsx
554
- var Fn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), In = (e, t, n) => t === "id" ? `${e}-${n}` : e.replace(/url\(#([^)]+)\)/g, `url(#$1-${n})`), Ln = (t, n) => {
553
+ var Mn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), Nn = (e, t, n) => t === "id" ? `${e}-${n}` : e.replace(/url\(#([^)]+)\)/g, `url(#$1-${n})`), Pn = (t, n) => {
555
554
  let r = {};
556
- for (let [e, i] of Object.entries(t.attrs ?? {})) r[e] = In(i, e, n);
555
+ for (let [e, i] of Object.entries(t.attrs ?? {})) r[e] = Nn(i, e, n);
557
556
  return i(e, l({ get component() {
558
557
  return t.tag;
559
558
  } }, r, {
@@ -565,11 +564,11 @@ var Fn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), In = (e, t
565
564
  get each() {
566
565
  return t.children;
567
566
  },
568
- children: (e) => Ln(e, n)
567
+ children: (e) => Pn(e, n)
569
568
  });
570
569
  }
571
570
  }));
572
- }, Rn = (e) => {
571
+ }, Fn = (e) => {
573
572
  let [t] = M(O({ size: 24 }, e), [
574
573
  "icon",
575
574
  "size",
@@ -577,7 +576,7 @@ var Fn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), In = (e, t
577
576
  "style"
578
577
  ]), n = E(), r = C(() => t.icon.attrs ?? {});
579
578
  return (() => {
580
- var e = Fn();
579
+ var e = Mn();
581
580
  return f(e, l({
582
581
  get viewBox() {
583
582
  return t.icon.viewBox;
@@ -598,10 +597,10 @@ var Fn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), In = (e, t
598
597
  get each() {
599
598
  return t.icon.children;
600
599
  },
601
- children: (e) => Ln(e, n)
600
+ children: (e) => Pn(e, n)
602
601
  })), e;
603
602
  })();
604
- }, zn = "M14.6,16.6L19.2,12L14.6,7.4L16,6L22,12L16,18L14.6,16.6M9.4,16.6L4.8,12L9.4,7.4L8,6L2,12L8,18L9.4,16.6Z", Bn = (e) => {
603
+ }, In = "M14.6,16.6L19.2,12L14.6,7.4L16,6L22,12L16,18L14.6,16.6M9.4,16.6L4.8,12L9.4,7.4L8,6L2,12L8,18L9.4,16.6Z", Ln = (e) => {
605
604
  let t = O({ size: 24 }, e), n = C(() => {
606
605
  let e = it(t.language);
607
606
  return e === "file" ? void 0 : rt[e];
@@ -612,8 +611,8 @@ var Fn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), In = (e, t
612
611
  },
613
612
  keyed: !0,
614
613
  get fallback() {
615
- return i(V, {
616
- d: zn,
614
+ return i(H, {
615
+ d: In,
617
616
  get size() {
618
617
  return String(t.size);
619
618
  },
@@ -625,7 +624,7 @@ var Fn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), In = (e, t
625
624
  }
626
625
  });
627
626
  },
628
- children: (e) => i(Rn, {
627
+ children: (e) => i(Fn, {
629
628
  icon: e,
630
629
  get size() {
631
630
  return t.size;
@@ -638,11 +637,11 @@ var Fn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), In = (e, t
638
637
  }
639
638
  })
640
639
  });
641
- }, Vn = {
640
+ }, Rn = {
642
641
  "elm-square-loading-icon": "_elm-square-loading-icon_m72nq_19",
643
642
  square: "_square_m72nq_28",
644
643
  appear: "_appear_m72nq_1"
645
- }, Hn = /* @__PURE__ */ m("<span>"), Un = 1200, Wn = (e) => {
644
+ }, zn = /* @__PURE__ */ m("<span>"), Bn = 1200, Vn = (e) => {
646
645
  let [t, n] = M(O({
647
646
  size: "3rem",
648
647
  dimensions: 4
@@ -654,16 +653,16 @@ var Fn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), In = (e, t
654
653
  "dimensions"
655
654
  ]), a = C(() => Array(t.dimensions).fill(null).map((e, t) => t));
656
655
  return (() => {
657
- var e = Hn();
656
+ var e = zn();
658
657
  return f(e, l({
659
658
  get class() {
660
- return F(Vn["elm-square-loading-icon"], t.class);
659
+ return F(Rn["elm-square-loading-icon"], t.class);
661
660
  },
662
661
  get style() {
663
662
  return R(t.style, {
664
663
  "--elmethis-scoped-size": t.size,
665
664
  "--elmethis-scoped-dimensions": t.dimensions,
666
- "--elmethis-scoped-duration": `${Un}ms`
665
+ "--elmethis-scoped-duration": `${Bn}ms`
667
666
  });
668
667
  }
669
668
  }, n), !1, !0), s(e, i(g, {
@@ -675,9 +674,9 @@ var Fn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), In = (e, t
675
674
  return a();
676
675
  },
677
676
  children: (n) => (() => {
678
- var i = Hn();
677
+ var i = zn();
679
678
  return o((a) => {
680
- var o = Vn.square, s = `${Un / (t.dimensions * 3) * (e + n)}ms`;
679
+ var o = Rn.square, s = `${Bn / (t.dimensions * 3) * (e + n)}ms`;
681
680
  return o !== a.e && r(i, a.e = o), s !== a.t && d(i, "--elmethis-scoped-delay", a.t = s), a;
682
681
  }, {
683
682
  e: void 0,
@@ -687,52 +686,52 @@ var Fn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), In = (e, t
687
686
  })
688
687
  })), e;
689
688
  })();
690
- }, Gn = "elmethis-theme", Kn = "(prefers-color-scheme: dark)", qn = "elmethis-theme-change", Jn = (e) => e === "dark" ? "dark" : e === "light" ? "light" : null, Yn = () => {
689
+ }, Hn = "elmethis-theme", Un = "(prefers-color-scheme: dark)", Wn = "elmethis-theme-change", Gn = (e) => e === "dark" ? "dark" : e === "light" ? "light" : null, Kn = () => {
691
690
  try {
692
- return Jn(window.localStorage.getItem(Gn));
691
+ return Gn(window.localStorage.getItem(Hn));
693
692
  } catch {
694
693
  return null;
695
694
  }
696
- }, Xn = (e, t) => {
695
+ }, qn = (e, t) => {
697
696
  let n = document.documentElement;
698
697
  if (e === null ? (n.style.removeProperty("color-scheme"), n.removeAttribute("data-theme")) : (n.style.colorScheme = e, n.setAttribute("data-theme", e)), t) try {
699
- e === null ? window.localStorage.removeItem(Gn) : window.localStorage.setItem(Gn, e);
698
+ e === null ? window.localStorage.removeItem(Hn) : window.localStorage.setItem(Hn, e);
700
699
  } catch {}
701
- window.dispatchEvent(new CustomEvent(qn, { detail: e }));
700
+ window.dispatchEvent(new CustomEvent(Wn, { detail: e }));
702
701
  };
703
- function Zn() {
702
+ function Jn() {
704
703
  let [e, t] = T(!1), n, r = () => n?.matches ?? !1;
705
704
  return j(() => {
706
- typeof window.matchMedia == "function" && (n = window.matchMedia(Kn));
705
+ typeof window.matchMedia == "function" && (n = window.matchMedia(Un));
707
706
  let e = (e) => {
708
707
  let n = e.detail;
709
708
  t(n === null ? r() : n === "dark");
710
709
  }, i = (e) => {
711
- if (e.key !== null && e.key !== Gn) return;
712
- let n = Jn(e.newValue);
713
- t(n === null ? r() : n === "dark"), Xn(n, !1);
710
+ if (e.key !== null && e.key !== Hn) return;
711
+ let n = Gn(e.newValue);
712
+ t(n === null ? r() : n === "dark"), qn(n, !1);
714
713
  }, a = (e) => {
715
- Yn() === null && t(e.matches);
714
+ Kn() === null && t(e.matches);
716
715
  };
717
- window.addEventListener(qn, e), window.addEventListener("storage", i), n?.addEventListener("change", a);
718
- let o = Yn();
719
- t(o === null ? r() : o === "dark"), o !== null && Xn(o, !1), A(() => {
720
- window.removeEventListener(qn, e), window.removeEventListener("storage", i), n?.removeEventListener("change", a), n = void 0;
716
+ window.addEventListener(Wn, e), window.addEventListener("storage", i), n?.addEventListener("change", a);
717
+ let o = Kn();
718
+ t(o === null ? r() : o === "dark"), o !== null && qn(o, !1), A(() => {
719
+ window.removeEventListener(Wn, e), window.removeEventListener("storage", i), n?.removeEventListener("change", a), n = void 0;
721
720
  });
722
721
  }), {
723
722
  isDarkTheme: e,
724
723
  toggleTheme: () => {
725
724
  let n = e() ? "light" : "dark";
726
- t(n === "dark"), Xn(n, !0);
725
+ t(n === "dark"), qn(n, !0);
727
726
  }
728
727
  };
729
728
  }
730
729
  //#endregion
731
730
  //#region src/components/icon/elm-toggle-theme.module.css
732
- var Qn = { "elm-toggle-theme": "_elm-toggle-theme_1none_1" }, $n = /* @__PURE__ */ m("<svg><g fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=2><path stroke-dasharray=2 stroke-dashoffset=2 d=\"M12 19v1M19 12h1M12 5v-1M5 12h-1\"><animate fill=freeze attributeName=d begin=1.2s dur=0.2s values=\"M12 19v1M19 12h1M12 5v-1M5 12h-1;M12 21v1M21 12h1M12 3v-1M3 12h-1\"></animate><animate fill=freeze attributeName=stroke-dashoffset begin=1.2s dur=0.2s values=2;0></animate></path><path stroke-dasharray=2 stroke-dashoffset=2 d=\"M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5\"><animate fill=freeze attributeName=d begin=1.4s dur=0.2s values=\"M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5;M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5\"></animate><animate fill=freeze attributeName=stroke-dashoffset begin=1.4s dur=0.2s values=2;0></animate></path><animateTransform attributeName=transform dur=30s repeatCount=indefinite type=rotate values=\"0 12 12;360 12 12\"></animateTransform></g><g fill=currentColor><path d=\"M15.22 6.03L17.75 4.09L14.56 4L13.5 1L12.44 4L9.25 4.09L11.78 6.03L10.87 9.09L13.5 7.28L16.13 9.09L15.22 6.03Z\"><animate fill=freeze attributeName=fill-opacity dur=0.4s values=1;0></animate></path><path d=\"M19.61 12.25L21.25 11L19.19 10.95L18.5 9L17.81 10.95L15.75 11L17.39 12.25L16.8 14.23L18.5 13.06L20.2 14.23L19.61 12.25Z\"><animate fill=freeze attributeName=fill-opacity begin=0.2s dur=0.4s values=1;0></animate></path></g><path fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=2 d=\"M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z\"><set></set></path><mask><circle cx=12 cy=12 r=12 fill=#fff></circle><circle cx=12 cy=12 r=8><animate fill=freeze attributeName=r begin=0.6s dur=0.4s values=8;4></animate></circle><circle cx=18 cy=6 r=12 fill=#fff><animate fill=freeze attributeName=cx begin=0.6s dur=0.4s values=18;22></animate><animate fill=freeze attributeName=cy begin=0.6s dur=0.4s values=6;2></animate><animate fill=freeze attributeName=r begin=0.6s dur=0.4s values=12;3></animate></circle><circle cx=18 cy=6 r=10><animate fill=freeze attributeName=cx begin=0.6s dur=0.4s values=18;22></animate><animate fill=freeze attributeName=cy begin=0.6s dur=0.4s values=6;2></animate><animate fill=freeze attributeName=r begin=0.6s dur=0.4s values=10;1></animate></circle></mask><circle cx=12 cy=12 r=10 opacity=0 fill=currentColor><animate fill=freeze attributeName=r begin=0.6s dur=0.4s values=10;6></animate><set>"), er = /* @__PURE__ */ m("<svg><path fill-opacity=0 d=\"M15.22 6.03l2.53-1.94L14.56 4L13.5 1l-1.06 3l-3.19.09l2.53 1.94l-.91 3.06l2.63-1.81l2.63 1.81z\"fill=currentColor><animate fill=freeze attributeName=fill-opacity dur=0.4s values=0;1></animate><animate fill=freeze attributeName=fill-opacity dur=0.4s values=1;0></animate></path><path fill-opacity=0 d=\"M13.61 5.25L15.25 4l-2.06-.05L12.5 2l-.69 1.95L9.75 4l1.64 1.25l-.59 1.98l1.7-1.17l1.7 1.17z\"fill=currentColor><animate fill=freeze attributeName=fill-opacity dur=0.4s values=0;1></animate><animate fill=freeze attributeName=fill-opacity dur=0.4s values=1;0></animate></path><path fill-opacity=0 d=\"M19.61 12.25L21.25 11l-2.06-.05L18.5 9l-.69 1.95l-2.06.05l1.64 1.25l-.59 1.98l1.7-1.17l1.7 1.17z\"fill=currentColor><animate fill=freeze attributeName=fill-opacity dur=0.4s values=0;1></animate><animate fill=freeze attributeName=fill-opacity dur=0.4s values=1;0></animate></path><path fill-opacity=0 d=\"M20.828 9.731l1.876-1.439l-2.366-.067L19.552 6l-.786 2.225l-2.366.067l1.876 1.439L17.601 12l1.951-1.342L21.503 12z\"fill=currentColor><animate fill=freeze attributeName=fill-opacity dur=0.4s values=0;1></animate><animate fill=freeze attributeName=fill-opacity dur=0.4s values=1;0></animate></path><g fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=2><g><path stroke-dasharray=2 stroke-dashoffset=4 d=\"M12 21v1M21 12h1M12 3v-1M3 12h-1\"><animate fill=freeze attributeName=stroke-dashoffset dur=0.2s values=4;2></animate></path><path stroke-dasharray=2 stroke-dashoffset=4 d=\"M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5\"><animate fill=freeze attributeName=stroke-dashoffset begin=0.2s dur=0.2s values=4;2></animate></path><set></set></g><path d=\"M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z\"opacity=0><set></set></path></g><mask><circle cx=12 cy=12 r=12 fill=#fff></circle><circle cx=12 cy=12 r=4><animate fill=freeze attributeName=r begin=0.1s dur=0.4s values=4;8></animate></circle><circle cx=22 cy=2 r=3 fill=#fff><animate fill=freeze attributeName=cx begin=0.1s dur=0.4s values=22;18></animate><animate fill=freeze attributeName=cy begin=0.1s dur=0.4s values=2;6></animate><animate fill=freeze attributeName=r begin=0.1s dur=0.4s values=3;12></animate></circle><circle cx=22 cy=2 r=1><animate fill=freeze attributeName=cx begin=0.1s dur=0.4s values=22;18></animate><animate fill=freeze attributeName=cy begin=0.1s dur=0.4s values=2;6></animate><animate fill=freeze attributeName=r begin=0.1s dur=0.4s values=1;10></animate></circle></mask><circle cx=12 cy=12 r=6 fill=currentColor><animate fill=freeze attributeName=r begin=0.1s dur=0.4s values=6;10></animate><set>"), tr = (e) => ({
731
+ var Yn = { "elm-toggle-theme": "_elm-toggle-theme_1none_1" }, Xn = /* @__PURE__ */ m("<svg><g fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=2><path stroke-dasharray=2 stroke-dashoffset=2 d=\"M12 19v1M19 12h1M12 5v-1M5 12h-1\"><animate fill=freeze attributeName=d begin=1.2s dur=0.2s values=\"M12 19v1M19 12h1M12 5v-1M5 12h-1;M12 21v1M21 12h1M12 3v-1M3 12h-1\"></animate><animate fill=freeze attributeName=stroke-dashoffset begin=1.2s dur=0.2s values=2;0></animate></path><path stroke-dasharray=2 stroke-dashoffset=2 d=\"M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5\"><animate fill=freeze attributeName=d begin=1.4s dur=0.2s values=\"M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5;M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5\"></animate><animate fill=freeze attributeName=stroke-dashoffset begin=1.4s dur=0.2s values=2;0></animate></path><animateTransform attributeName=transform dur=30s repeatCount=indefinite type=rotate values=\"0 12 12;360 12 12\"></animateTransform></g><g fill=currentColor><path d=\"M15.22 6.03L17.75 4.09L14.56 4L13.5 1L12.44 4L9.25 4.09L11.78 6.03L10.87 9.09L13.5 7.28L16.13 9.09L15.22 6.03Z\"><animate fill=freeze attributeName=fill-opacity dur=0.4s values=1;0></animate></path><path d=\"M19.61 12.25L21.25 11L19.19 10.95L18.5 9L17.81 10.95L15.75 11L17.39 12.25L16.8 14.23L18.5 13.06L20.2 14.23L19.61 12.25Z\"><animate fill=freeze attributeName=fill-opacity begin=0.2s dur=0.4s values=1;0></animate></path></g><path fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=2 d=\"M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z\"><set></set></path><mask><circle cx=12 cy=12 r=12 fill=#fff></circle><circle cx=12 cy=12 r=8><animate fill=freeze attributeName=r begin=0.6s dur=0.4s values=8;4></animate></circle><circle cx=18 cy=6 r=12 fill=#fff><animate fill=freeze attributeName=cx begin=0.6s dur=0.4s values=18;22></animate><animate fill=freeze attributeName=cy begin=0.6s dur=0.4s values=6;2></animate><animate fill=freeze attributeName=r begin=0.6s dur=0.4s values=12;3></animate></circle><circle cx=18 cy=6 r=10><animate fill=freeze attributeName=cx begin=0.6s dur=0.4s values=18;22></animate><animate fill=freeze attributeName=cy begin=0.6s dur=0.4s values=6;2></animate><animate fill=freeze attributeName=r begin=0.6s dur=0.4s values=10;1></animate></circle></mask><circle cx=12 cy=12 r=10 opacity=0 fill=currentColor><animate fill=freeze attributeName=r begin=0.6s dur=0.4s values=10;6></animate><set>"), Zn = /* @__PURE__ */ m("<svg><path fill-opacity=0 d=\"M15.22 6.03l2.53-1.94L14.56 4L13.5 1l-1.06 3l-3.19.09l2.53 1.94l-.91 3.06l2.63-1.81l2.63 1.81z\"fill=currentColor><animate fill=freeze attributeName=fill-opacity dur=0.4s values=0;1></animate><animate fill=freeze attributeName=fill-opacity dur=0.4s values=1;0></animate></path><path fill-opacity=0 d=\"M13.61 5.25L15.25 4l-2.06-.05L12.5 2l-.69 1.95L9.75 4l1.64 1.25l-.59 1.98l1.7-1.17l1.7 1.17z\"fill=currentColor><animate fill=freeze attributeName=fill-opacity dur=0.4s values=0;1></animate><animate fill=freeze attributeName=fill-opacity dur=0.4s values=1;0></animate></path><path fill-opacity=0 d=\"M19.61 12.25L21.25 11l-2.06-.05L18.5 9l-.69 1.95l-2.06.05l1.64 1.25l-.59 1.98l1.7-1.17l1.7 1.17z\"fill=currentColor><animate fill=freeze attributeName=fill-opacity dur=0.4s values=0;1></animate><animate fill=freeze attributeName=fill-opacity dur=0.4s values=1;0></animate></path><path fill-opacity=0 d=\"M20.828 9.731l1.876-1.439l-2.366-.067L19.552 6l-.786 2.225l-2.366.067l1.876 1.439L17.601 12l1.951-1.342L21.503 12z\"fill=currentColor><animate fill=freeze attributeName=fill-opacity dur=0.4s values=0;1></animate><animate fill=freeze attributeName=fill-opacity dur=0.4s values=1;0></animate></path><g fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=2><g><path stroke-dasharray=2 stroke-dashoffset=4 d=\"M12 21v1M21 12h1M12 3v-1M3 12h-1\"><animate fill=freeze attributeName=stroke-dashoffset dur=0.2s values=4;2></animate></path><path stroke-dasharray=2 stroke-dashoffset=4 d=\"M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5\"><animate fill=freeze attributeName=stroke-dashoffset begin=0.2s dur=0.2s values=4;2></animate></path><set></set></g><path d=\"M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z\"opacity=0><set></set></path></g><mask><circle cx=12 cy=12 r=12 fill=#fff></circle><circle cx=12 cy=12 r=4><animate fill=freeze attributeName=r begin=0.1s dur=0.4s values=4;8></animate></circle><circle cx=22 cy=2 r=3 fill=#fff><animate fill=freeze attributeName=cx begin=0.1s dur=0.4s values=22;18></animate><animate fill=freeze attributeName=cy begin=0.1s dur=0.4s values=2;6></animate><animate fill=freeze attributeName=r begin=0.1s dur=0.4s values=3;12></animate></circle><circle cx=22 cy=2 r=1><animate fill=freeze attributeName=cx begin=0.1s dur=0.4s values=22;18></animate><animate fill=freeze attributeName=cy begin=0.1s dur=0.4s values=2;6></animate><animate fill=freeze attributeName=r begin=0.1s dur=0.4s values=1;10></animate></circle></mask><circle cx=12 cy=12 r=6 fill=currentColor><animate fill=freeze attributeName=r begin=0.1s dur=0.4s values=6;10></animate><set>"), Qn = (e) => ({
733
732
  attributeName: "opacity",
734
733
  to: e
735
- }), nr = (e) => {
734
+ }), $n = (e) => {
736
735
  let [t, n] = M(O({ size: "2rem" }, e), [
737
736
  "class",
738
737
  "style",
@@ -744,7 +743,7 @@ var Qn = { "elm-toggle-theme": "_elm-toggle-theme_1none_1" }, $n = /* @__PURE__
744
743
  "tabIndex",
745
744
  "aria-label",
746
745
  "children"
747
- ]), r = Zn(), i = E(), a = `elm-toggle-theme-moon-mask-${i}`, o = `elm-toggle-theme-sun-animation-${i}`, s = `elm-toggle-theme-sun-mask-${i}`, d = (e) => {
746
+ ]), r = Jn(), i = E(), a = `elm-toggle-theme-moon-mask-${i}`, o = `elm-toggle-theme-sun-animation-${i}`, s = `elm-toggle-theme-sun-mask-${i}`, d = (e) => {
748
747
  r.toggleTheme();
749
748
  let n = t.onClick;
750
749
  typeof n == "function" ? n(e) : n?.[0](n[1], e);
@@ -757,7 +756,7 @@ var Qn = { "elm-toggle-theme": "_elm-toggle-theme_1none_1" }, $n = /* @__PURE__
757
756
  viewBox: "0 0 24 24"
758
757
  };
759
758
  return c(() => c(() => !r.isDarkTheme())() ? (() => {
760
- var e = $n(), r = e.firstChild.nextSibling.nextSibling, i = r.firstChild, o = r.nextSibling, s = o.nextSibling, c = s.firstChild.nextSibling;
759
+ var e = Xn(), r = e.firstChild.nextSibling.nextSibling, i = r.firstChild, o = r.nextSibling, s = o.nextSibling, c = s.firstChild.nextSibling;
761
760
  return f(e, l(m, {
762
761
  get width() {
763
762
  return t.size;
@@ -766,7 +765,7 @@ var Qn = { "elm-toggle-theme": "_elm-toggle-theme_1none_1" }, $n = /* @__PURE__
766
765
  return t.size;
767
766
  },
768
767
  get class() {
769
- return F(Qn["elm-toggle-theme"], t.class);
768
+ return F(Yn["elm-toggle-theme"], t.class);
770
769
  },
771
770
  get style() {
772
771
  return t.style;
@@ -782,15 +781,15 @@ var Qn = { "elm-toggle-theme": "_elm-toggle-theme_1none_1" }, $n = /* @__PURE__
782
781
  },
783
782
  onClick: d,
784
783
  onKeyDown: p
785
- }, n), !0, !0), f(i, l(() => tr("0"), {
784
+ }, n), !0, !0), f(i, l(() => Qn("0"), {
786
785
  fill: "freeze",
787
786
  begin: "0.6s"
788
- }), !0, !1), u(o, "id", a), u(s, "mask", `url(#${a})`), f(c, l(() => tr("1"), {
787
+ }), !0, !1), u(o, "id", a), u(s, "mask", `url(#${a})`), f(c, l(() => Qn("1"), {
789
788
  fill: "freeze",
790
789
  begin: "0.6s"
791
790
  }), !0, !1), e;
792
791
  })() : (() => {
793
- var e = er(), r = e.firstChild, i = r.firstChild, a = i.nextSibling, c = r.nextSibling, h = c.firstChild, g = h.nextSibling, _ = c.nextSibling, v = _.firstChild, y = v.nextSibling, b = _.nextSibling, x = b.firstChild, S = x.nextSibling, C = b.nextSibling, w = C.firstChild, T = w.firstChild.nextSibling.nextSibling, E = w.nextSibling.firstChild, D = C.nextSibling, O = D.nextSibling, k = O.firstChild.nextSibling;
792
+ var e = Zn(), r = e.firstChild, i = r.firstChild, a = i.nextSibling, c = r.nextSibling, h = c.firstChild, g = h.nextSibling, _ = c.nextSibling, v = _.firstChild, y = v.nextSibling, b = _.nextSibling, x = b.firstChild, S = x.nextSibling, C = b.nextSibling, w = C.firstChild, T = w.firstChild.nextSibling.nextSibling, E = w.nextSibling.firstChild, D = C.nextSibling, O = D.nextSibling, k = O.firstChild.nextSibling;
794
793
  return f(e, l(m, {
795
794
  get width() {
796
795
  return t.size;
@@ -799,7 +798,7 @@ var Qn = { "elm-toggle-theme": "_elm-toggle-theme_1none_1" }, $n = /* @__PURE__
799
798
  return t.size;
800
799
  },
801
800
  get class() {
802
- return F(Qn["elm-toggle-theme"], t.class);
801
+ return F(Yn["elm-toggle-theme"], t.class);
803
802
  },
804
803
  get style() {
805
804
  return t.style;
@@ -815,27 +814,27 @@ var Qn = { "elm-toggle-theme": "_elm-toggle-theme_1none_1" }, $n = /* @__PURE__
815
814
  },
816
815
  onClick: d,
817
816
  onKeyDown: p
818
- }, n), !0, !0), u(i, "id", o), u(i, "begin", `0.6s;${o}.begin+6s`), u(a, "begin", `${o}.begin+2.2s`), u(h, "begin", `${o}.begin+3s`), u(g, "begin", `${o}.begin+5.2s`), u(v, "begin", `${o}.begin+0.4s`), u(y, "begin", `${o}.begin+2.8s`), u(x, "begin", `${o}.begin+3.4s`), u(S, "begin", `${o}.begin+5.6s`), f(T, l(() => tr("0"), {
817
+ }, n), !0, !0), u(i, "id", o), u(i, "begin", `0.6s;${o}.begin+6s`), u(a, "begin", `${o}.begin+2.2s`), u(h, "begin", `${o}.begin+3s`), u(g, "begin", `${o}.begin+5.2s`), u(v, "begin", `${o}.begin+0.4s`), u(y, "begin", `${o}.begin+2.8s`), u(x, "begin", `${o}.begin+3.4s`), u(S, "begin", `${o}.begin+5.6s`), f(T, l(() => Qn("0"), {
819
818
  fill: "freeze",
820
819
  begin: "0.5s"
821
- }), !0, !1), f(E, l(() => tr("1"), {
820
+ }), !0, !1), f(E, l(() => Qn("1"), {
822
821
  fill: "freeze",
823
822
  begin: "0.5s"
824
- }), !0, !1), u(D, "id", s), u(O, "mask", `url(#${s})`), f(k, l(() => tr("0"), {
823
+ }), !0, !1), u(D, "id", s), u(O, "mask", `url(#${s})`), f(k, l(() => Qn("0"), {
825
824
  fill: "freeze",
826
825
  begin: "0.5s"
827
826
  }), !0, !1), e;
828
827
  })());
829
- }, rr = {
828
+ }, er = {
830
829
  "elm-file": "_elm-file_aoaqq_1",
831
830
  "file-size": "_file-size_aoaqq_12",
832
831
  "download-icon": "_download-icon_aoaqq_17"
833
- }, ir = /* @__PURE__ */ m("<div><div></div><div></div><div></div><div>");
834
- function ar(e) {
832
+ }, tr = /* @__PURE__ */ m("<div><div></div><div></div><div></div><div>");
833
+ function nr(e) {
835
834
  let t = e.split(/[?#]/)[0].split("/").filter(Boolean);
836
835
  return t.length > 0 ? t[t.length - 1] : null;
837
836
  }
838
- var or = (e) => {
837
+ var rr = (e) => {
839
838
  let [t, n] = M(e, [
840
839
  "class",
841
840
  "name",
@@ -855,27 +854,27 @@ var or = (e) => {
855
854
  let i = URL.createObjectURL(r);
856
855
  a && URL.revokeObjectURL(a), a = i;
857
856
  let o = document.createElement("a");
858
- o.href = a, o.download = n ?? ar(e) ?? "file", o.click();
857
+ o.href = a, o.download = n ?? nr(e) ?? "file", o.click();
859
858
  } catch (e) {
860
859
  console.error("ERROR:", e);
861
860
  }
862
861
  };
863
862
  return (() => {
864
- var e = ir(), a = e.firstChild, c = a.nextSibling, d = c.nextSibling, p = d.nextSibling;
863
+ var e = tr(), a = e.firstChild, c = a.nextSibling, d = c.nextSibling, p = d.nextSibling;
865
864
  return f(e, l({ get class() {
866
- return F(rr["elm-file"], t.class);
867
- } }, n), !1, !0), s(a, i(V, {
865
+ return F(er["elm-file"], t.class);
866
+ } }, n), !1, !0), s(a, i(H, {
868
867
  d: ue,
869
868
  size: "1.25rem"
870
- })), s(c, i(z, { get children() {
871
- return t.name ?? ar(t.src);
872
- } })), s(d, i(z, { get children() {
869
+ })), s(c, i(B, { get children() {
870
+ return t.name ?? nr(t.src);
871
+ } })), s(d, i(B, { get children() {
873
872
  return t.filesize;
874
- } })), p.$$click = () => void u(), s(p, i(V, {
873
+ } })), p.$$click = () => void u(), s(p, i(H, {
875
874
  d: oe,
876
875
  size: "1.25rem"
877
876
  })), o((e) => {
878
- var t = rr["file-size"], n = rr["download-icon"];
877
+ var t = er["file-size"], n = er["download-icon"];
879
878
  return t !== e.e && r(d, e.e = t), n !== e.t && r(p, e.t = n), e;
880
879
  }, {
881
880
  e: void 0,
@@ -884,7 +883,7 @@ var or = (e) => {
884
883
  })();
885
884
  };
886
885
  a(["click"]);
887
- var sr = {
886
+ var ir = {
888
887
  "elm-bookmark": "_elm-bookmark_cbkg4_1",
889
888
  container: "_container_cbkg4_23",
890
889
  image: "_image_cbkg4_35",
@@ -892,10 +891,10 @@ var sr = {
892
891
  title: "_title_cbkg4_71",
893
892
  description: "_description_cbkg4_75",
894
893
  link: "_link_cbkg4_80"
895
- }, cr = /* @__PURE__ */ m("<div><a target=_blank rel=\"noopener noreferrer\"><img alt=\"OGP Image\"><div><div></div><div></div><div>"), lr = {
894
+ }, ar = /* @__PURE__ */ m("<div><a target=_blank rel=\"noopener noreferrer\"><img alt=\"OGP Image\"><div><div></div><div></div><div>"), or = {
896
895
  visibility: "hidden",
897
896
  width: "0"
898
- }, ur = (e) => {
897
+ }, sr = (e) => {
899
898
  let [t, n] = M(e, [
900
899
  "class",
901
900
  "title",
@@ -905,34 +904,34 @@ var sr = {
905
904
  "favicon"
906
905
  ]), [a, d] = T(!1);
907
906
  return S(k(() => t.image, () => d(!1), { defer: !0 })), (() => {
908
- var e = cr(), m = e.firstChild, h = m.firstChild, g = h.nextSibling, _ = g.firstChild, v = _.nextSibling, y = v.nextSibling;
907
+ var e = ar(), m = e.firstChild, h = m.firstChild, g = h.nextSibling, _ = g.firstChild, v = _.nextSibling, y = v.nextSibling;
909
908
  return f(e, l({ get class() {
910
- return F(sr["elm-bookmark"], t.class);
911
- } }, n), !1, !0), h.addEventListener("error", () => d(!0)), s(_, i(z, {
909
+ return F(ir["elm-bookmark"], t.class);
910
+ } }, n), !1, !0), h.addEventListener("error", () => d(!0)), s(_, i(B, {
912
911
  bold: !0,
913
912
  get children() {
914
913
  return t.title;
915
914
  }
916
- })), s(v, i(z, {
915
+ })), s(v, i(B, {
917
916
  size: "0.75rem",
918
917
  get children() {
919
918
  return t.description;
920
919
  }
921
920
  })), s(y, (() => {
922
921
  var e = c(() => !!t.favicon);
923
- return () => e() ? i(Xt, { get src() {
922
+ return () => e() ? i(qt, { get src() {
924
923
  return t.favicon;
925
- } }) : i(V, {
924
+ } }) : i(H, {
926
925
  d: fe,
927
926
  color: "var(--elmethis-color-accent-info)"
928
927
  });
929
- })(), null), s(y, i(z, {
928
+ })(), null), s(y, i(B, {
930
929
  size: "0.75rem",
931
930
  get children() {
932
931
  return t.url;
933
932
  }
934
933
  }), null), o((e) => {
935
- var n = sr.container, i = t.url, o = sr.image, s = t.image, c = a() || t.image == null ? lr : void 0, l = sr.content, d = sr.title, f = sr.description, b = sr.link;
934
+ var n = ir.container, i = t.url, o = ir.image, s = t.image, c = a() || t.image == null ? or : void 0, l = ir.content, d = ir.title, f = ir.description, b = ir.link;
936
935
  return n !== e.e && r(m, e.e = n), i !== e.t && u(m, "href", e.t = i), o !== e.a && r(h, e.a = o), s !== e.o && u(h, "src", e.o = s), e.i = p(h, c, e.i), l !== e.n && r(g, e.n = l), d !== e.s && r(_, e.s = d), f !== e.h && r(v, e.h = f), b !== e.r && r(y, e.r = b), e;
937
936
  }, {
938
937
  e: void 0,
@@ -946,27 +945,27 @@ var sr = {
946
945
  r: void 0
947
946
  }), e;
948
947
  })();
949
- }, dr = {
948
+ }, cr = {
950
949
  "elm-breadcrumb": "_elm-breadcrumb_13oke_1",
951
950
  "link-container": "_link-container_13oke_9",
952
951
  icon: "_icon_13oke_23",
953
952
  chunk: "_chunk_13oke_36",
954
953
  chevron: "_chevron_13oke_41"
955
- }, fr = /* @__PURE__ */ m("<nav>"), pr = /* @__PURE__ */ m("<span style=display:contents><span><span>"), mr = (e) => {
954
+ }, lr = /* @__PURE__ */ m("<nav>"), ur = /* @__PURE__ */ m("<span style=display:contents><span><span>"), dr = (e) => {
956
955
  let [n, a] = M(e, ["class", "links"]);
957
956
  return (() => {
958
- var e = fr();
957
+ var e = lr();
959
958
  return f(e, l({ get class() {
960
- return F(dr["elm-breadcrumb"], n.class);
959
+ return F(cr["elm-breadcrumb"], n.class);
961
960
  } }, a), !1, !0), s(e, i(g, {
962
961
  get each() {
963
962
  return n.links;
964
963
  },
965
964
  children: (e, a) => (() => {
966
- var l = pr(), u = l.firstChild, d = u.firstChild;
967
- return t(u, "click", e.onClick, !0), s(u, i(V, {
965
+ var l = ur(), u = l.firstChild, d = u.firstChild;
966
+ return t(u, "click", e.onClick, !0), s(u, i(H, {
968
967
  get class() {
969
- return dr.icon;
968
+ return cr.icon;
970
969
  },
971
970
  get d() {
972
971
  return c(() => a() === 0)() ? I : a() === n.links.length - 1 ? te : de;
@@ -974,15 +973,15 @@ var sr = {
974
973
  size: "1rem"
975
974
  }), d), s(d, () => e.text), s(l, (() => {
976
975
  var e = c(() => n.links.length !== a() + 1);
977
- return () => e() && i(V, {
976
+ return () => e() && i(H, {
978
977
  get class() {
979
- return dr.chevron;
978
+ return cr.chevron;
980
979
  },
981
980
  d: re,
982
981
  size: "1rem"
983
982
  });
984
983
  })(), null), o((e) => {
985
- var t = dr["link-container"], n = dr.chunk;
984
+ var t = cr["link-container"], n = cr.chunk;
986
985
  return t !== e.e && r(u, e.e = t), n !== e.t && r(d, e.t = n), e;
987
986
  }, {
988
987
  e: void 0,
@@ -993,13 +992,13 @@ var sr = {
993
992
  })();
994
993
  };
995
994
  a(["click"]);
996
- var hr = {
995
+ var fr = {
997
996
  "elm-page-top": "_elm-page-top_u2nu8_1",
998
997
  move: "_move_u2nu8_1",
999
998
  visible: "_visible_u2nu8_35",
1000
999
  partial: "_partial_u2nu8_42",
1001
1000
  text: "_text_u2nu8_79"
1002
- }, gr = /* @__PURE__ */ m("<nav><div aria-hidden=true></div><div aria-hidden=true></div><div aria-hidden=true></div><span>Back to Top"), _r = (e) => {
1001
+ }, pr = /* @__PURE__ */ m("<nav><div aria-hidden=true></div><div aria-hidden=true></div><div aria-hidden=true></div><span>Back to Top"), mr = (e) => {
1003
1002
  let [t, n] = M(O({ position: "right" }, e), [
1004
1003
  "class",
1005
1004
  "style",
@@ -1028,10 +1027,10 @@ var hr = {
1028
1027
  typeof n == "function" ? n(e) : n?.[0](n[1], e);
1029
1028
  };
1030
1029
  return (() => {
1031
- var e = gr(), a = e.firstChild, s = a.nextSibling, p = s.nextSibling, m = p.nextSibling;
1030
+ var e = pr(), a = e.firstChild, s = a.nextSibling, p = s.nextSibling, m = p.nextSibling;
1032
1031
  return e.$$keydown = d, e.$$click = u, f(e, l({
1033
1032
  get class() {
1034
- return F(hr["elm-page-top"], i() && hr.visible, t.class);
1033
+ return F(fr["elm-page-top"], i() && fr.visible, t.class);
1035
1034
  },
1036
1035
  get style() {
1037
1036
  return R(t.style, {
@@ -1050,7 +1049,7 @@ var hr = {
1050
1049
  return c(() => !!i())() ? t.tabindex ?? t.tabIndex ?? 0 : -1;
1051
1050
  }
1052
1051
  }, n), !1, !0), o((e) => {
1053
- var t = hr.partial, n = hr.partial, i = hr.partial, o = hr.text;
1052
+ var t = fr.partial, n = fr.partial, i = fr.partial, o = fr.text;
1054
1053
  return t !== e.e && r(a, e.e = t), n !== e.t && r(s, e.t = n), i !== e.a && r(p, e.a = i), o !== e.o && r(m, e.o = o), e;
1055
1054
  }, {
1056
1055
  e: void 0,
@@ -1061,7 +1060,7 @@ var hr = {
1061
1060
  })();
1062
1061
  };
1063
1062
  a(["click", "keydown"]);
1064
- var vr = {
1063
+ var hr = {
1065
1064
  "elm-notion-callout": "_elm-notion-callout_15idh_1",
1066
1065
  icon: "_icon_15idh_9",
1067
1066
  content: "_content_15idh_15",
@@ -1077,7 +1076,7 @@ var vr = {
1077
1076
  blue: "_blue_15idh_74",
1078
1077
  purple: "_purple_15idh_79",
1079
1078
  magenta: "_magenta_15idh_86"
1080
- }, yr = /* @__PURE__ */ m("<div><div>"), br = /* @__PURE__ */ m("<span role=img>"), xr = (e) => {
1079
+ }, gr = /* @__PURE__ */ m("<div><div>"), _r = /* @__PURE__ */ m("<span role=img>"), vr = (e) => {
1081
1080
  let [t, n] = M(O({
1082
1081
  color: "gray",
1083
1082
  variant: "filled"
@@ -1089,17 +1088,17 @@ var vr = {
1089
1088
  "variant"
1090
1089
  ]);
1091
1090
  return (() => {
1092
- var e = yr(), a = e.firstChild;
1091
+ var e = gr(), a = e.firstChild;
1093
1092
  return f(e, l(n, { get class() {
1094
- return F(vr["elm-notion-callout"], vr[t.color], vr[t.variant], t.class);
1093
+ return F(hr["elm-notion-callout"], hr[t.color], hr[t.variant], t.class);
1095
1094
  } }), !1, !0), s(e, (() => {
1096
1095
  var e = c(() => t.icon?.kind === "emoji");
1097
1096
  return () => e() ? (() => {
1098
- var e = br();
1099
- return s(e, () => t.icon.emoji), o(() => r(e, vr.icon)), e;
1100
- })() : c(() => t.icon?.kind === "image")() ? i(Xt, {
1097
+ var e = _r();
1098
+ return s(e, () => t.icon.emoji), o(() => r(e, hr.icon)), e;
1099
+ })() : c(() => t.icon?.kind === "image")() ? i(qt, {
1101
1100
  get class() {
1102
- return vr.icon;
1101
+ return hr.icon;
1103
1102
  },
1104
1103
  get src() {
1105
1104
  return t.icon.src;
@@ -1109,9 +1108,9 @@ var vr = {
1109
1108
  },
1110
1109
  size: 20
1111
1110
  }) : null;
1112
- })(), a), s(a, () => t.children), o(() => r(a, vr.content)), e;
1111
+ })(), a), s(a, () => t.children), o(() => r(a, hr.content)), e;
1113
1112
  })();
1114
- }, H = {
1113
+ }, U = {
1115
1114
  "elm-color-primitive-sample": "_elm-color-primitive-sample_vuro0_1",
1116
1115
  toolbar: "_toolbar_vuro0_6",
1117
1116
  "mode-toggle": "_mode-toggle_vuro0_11",
@@ -1122,12 +1121,12 @@ var vr = {
1122
1121
  swatch: "_swatch_vuro0_52",
1123
1122
  "swatch-name": "_swatch-name_vuro0_55",
1124
1123
  "swatch-bg": "_swatch-bg_vuro0_60"
1125
- }, Sr = (e) => {
1124
+ }, yr = (e) => {
1126
1125
  let t = e.match(/\d+(?:\.\d+)?/g);
1127
1126
  if (!t || t.length < 3) return null;
1128
1127
  let n = (e) => Math.max(0, Math.min(255, Math.round(Number(e)))).toString(16).padStart(2, "0");
1129
1128
  return `#${n(t[0])}${n(t[1])}${n(t[2])}`;
1130
- }, Cr = () => {
1129
+ }, br = () => {
1131
1130
  let [e, t] = T(null), [n, r] = T("variable"), i, a = !1;
1132
1131
  return A(() => {
1133
1132
  a = !0, i !== void 0 && clearTimeout(i);
@@ -1145,7 +1144,7 @@ var vr = {
1145
1144
  let e = r.closest("[data-theme]") ?? r.ownerDocument.documentElement, t = r.ownerDocument.createElement("span");
1146
1145
  t.style.color = `var(${o})`, t.style.display = "none", e.append(t);
1147
1146
  try {
1148
- l = Sr(s.getComputedStyle(t).color) ?? o;
1147
+ l = yr(s.getComputedStyle(t).color) ?? o;
1149
1148
  } finally {
1150
1149
  t.remove();
1151
1150
  }
@@ -1155,11 +1154,11 @@ var vr = {
1155
1154
  }, 1500));
1156
1155
  }
1157
1156
  };
1158
- }, wr = /* @__PURE__ */ m("<div><div><button type=button>Copy: "), Tr = /* @__PURE__ */ m("<div><span></span><div>"), Er = /* @__PURE__ */ m("<div><div></div><code>"), Dr = "M19,11.5C19,11.5 17,13.67 17,15A2,2 0 0,0 19,17A2,2 0 0,0 21,15C21,13.67 19,11.5 19,11.5M5.21,10L10,5.21L14.79,10M16.56,8.94L7.62,0L6.21,1.41L8.59,3.79L3.44,8.94C2.85,9.5 2.85,10.47 3.44,11.06L8.94,16.56C9.23,16.85 9.62,17 10,17C10.38,17 10.77,16.85 11.06,16.56L16.56,11.06C17.15,10.47 17.15,9.5 16.56,8.94Z", Or = "M7 7C5.9 7 5 7.9 5 9V15C5 16.11 5.9 17 7 17H9C10.11 17 11 16.11 11 15V9C11 7.9 10.11 7 9 7H7M7 9H9V15H7V9M17.6 17L15.5 14.9L13.4 17L12 15.6L14.1 13.5L12 11.4L13.4 10L15.5 12.1L17.6 10L19 11.4L16.9 13.5L19 15.6L17.6 17Z", kr = [
1157
+ }, xr = /* @__PURE__ */ m("<div><div><button type=button>Copy: "), Sr = /* @__PURE__ */ m("<div><span></span><div>"), Cr = /* @__PURE__ */ m("<div><div></div><code>"), wr = "M19,11.5C19,11.5 17,13.67 17,15A2,2 0 0,0 19,17A2,2 0 0,0 21,15C21,13.67 19,11.5 19,11.5M5.21,10L10,5.21L14.79,10M16.56,8.94L7.62,0L6.21,1.41L8.59,3.79L3.44,8.94C2.85,9.5 2.85,10.47 3.44,11.06L8.94,16.56C9.23,16.85 9.62,17 10,17C10.38,17 10.77,16.85 11.06,16.56L16.56,11.06C17.15,10.47 17.15,9.5 16.56,8.94Z", Tr = "M7 7C5.9 7 5 7.9 5 9V15C5 16.11 5.9 17 7 17H9C10.11 17 11 16.11 11 15V9C11 7.9 10.11 7 9 7H7M7 9H9V15H7V9M17.6 17L15.5 14.9L13.4 17L12 15.6L14.1 13.5L12 11.4L13.4 10L15.5 12.1L17.6 10L19 11.4L16.9 13.5L19 15.6L17.6 17Z", Er = [
1159
1158
  100,
1160
1159
  500,
1161
1160
  900
1162
- ], Ar = [
1161
+ ], Dr = [
1163
1162
  100,
1164
1163
  200,
1165
1164
  300,
@@ -1169,71 +1168,71 @@ var vr = {
1169
1168
  700,
1170
1169
  800,
1171
1170
  900
1172
- ], jr = [
1171
+ ], Or = [
1173
1172
  {
1174
1173
  hue: "red",
1175
- steps: kr
1174
+ steps: Er
1176
1175
  },
1177
1176
  {
1178
1177
  hue: "orange",
1179
- steps: kr
1178
+ steps: Er
1180
1179
  },
1181
1180
  {
1182
1181
  hue: "yellow",
1183
- steps: kr
1182
+ steps: Er
1184
1183
  },
1185
1184
  {
1186
1185
  hue: "green",
1187
- steps: kr
1186
+ steps: Er
1188
1187
  },
1189
1188
  {
1190
1189
  hue: "cyan",
1191
- steps: kr
1190
+ steps: Er
1192
1191
  },
1193
1192
  {
1194
1193
  hue: "blue",
1195
- steps: kr
1194
+ steps: Er
1196
1195
  },
1197
1196
  {
1198
1197
  hue: "purple",
1199
- steps: kr
1198
+ steps: Er
1200
1199
  },
1201
1200
  {
1202
1201
  hue: "magenta",
1203
- steps: kr
1202
+ steps: Er
1204
1203
  },
1205
1204
  {
1206
1205
  hue: "slate",
1207
- steps: Ar
1206
+ steps: Dr
1208
1207
  },
1209
1208
  {
1210
1209
  hue: "gold",
1211
- steps: Ar
1210
+ steps: Dr
1212
1211
  }
1213
- ], Mr = (e) => {
1214
- let [n, a] = M(e, ["class", "style"]), c = Cr();
1212
+ ], kr = (e) => {
1213
+ let [n, a] = M(e, ["class", "style"]), c = br();
1215
1214
  return (() => {
1216
- var e = wr(), p = e.firstChild, m = p.firstChild, h = m.firstChild;
1215
+ var e = xr(), p = e.firstChild, m = p.firstChild, h = m.firstChild;
1217
1216
  return f(e, l(a, {
1218
1217
  get class() {
1219
- return F(H["elm-color-primitive-sample"], n.class);
1218
+ return F(U["elm-color-primitive-sample"], n.class);
1220
1219
  },
1221
1220
  get style() {
1222
1221
  return n.style;
1223
1222
  },
1224
1223
  "on:click": (e) => void c.copyToken(e)
1225
- }), !1, !0), t(m, "click", c.toggleCopyMode, !0), s(m, i(V, {
1224
+ }), !1, !0), t(m, "click", c.toggleCopyMode, !0), s(m, i(H, {
1226
1225
  get class() {
1227
- return H["mode-toggle-icon"];
1226
+ return U["mode-toggle-icon"];
1228
1227
  },
1229
1228
  get d() {
1230
- return c.copyMode() === "hex" ? Or : Dr;
1229
+ return c.copyMode() === "hex" ? Tr : wr;
1231
1230
  },
1232
1231
  size: "1.25rem"
1233
1232
  }), h), s(m, () => c.copyMode() === "hex" ? "hex value" : "variable name", null), s(e, i(g, {
1234
- each: jr,
1233
+ each: Or,
1235
1234
  children: (e) => (() => {
1236
- var t = Tr(), n = t.firstChild, a = n.nextSibling;
1235
+ var t = Sr(), n = t.firstChild, a = n.nextSibling;
1237
1236
  return s(n, () => e.hue), s(a, i(g, {
1238
1237
  get each() {
1239
1238
  return e.steps;
@@ -1241,9 +1240,9 @@ var vr = {
1241
1240
  children: (t) => {
1242
1241
  let n = `--elmethis-primitive-color-${e.hue}-${t}`;
1243
1242
  return (() => {
1244
- var e = Er(), i = e.firstChild, a = i.nextSibling;
1243
+ var e = Cr(), i = e.firstChild, a = i.nextSibling;
1245
1244
  return u(e, "data-copy-token", n), u(e, "title", n), d(i, "background-color", `var(${n})`), s(a, () => c.copiedToken() === n ? "copied!" : t), o((n) => {
1246
- var o = H.swatch, s = String(t / 100), c = H["swatch-bg"], l = H["swatch-name"];
1245
+ var o = U.swatch, s = String(t / 100), c = U["swatch-bg"], l = U["swatch-name"];
1247
1246
  return o !== n.e && r(e, n.e = o), s !== n.t && d(e, "grid-column", n.t = s), c !== n.a && r(i, n.a = c), l !== n.o && r(a, n.o = l), n;
1248
1247
  }, {
1249
1248
  e: void 0,
@@ -1254,7 +1253,7 @@ var vr = {
1254
1253
  })();
1255
1254
  }
1256
1255
  })), o((e) => {
1257
- var i = H.group, o = H["section-title"], s = H.scale;
1256
+ var i = U.group, o = U["section-title"], s = U.scale;
1258
1257
  return i !== e.e && r(t, e.e = i), o !== e.t && r(n, e.t = o), s !== e.a && r(a, e.a = s), e;
1259
1258
  }, {
1260
1259
  e: void 0,
@@ -1263,7 +1262,7 @@ var vr = {
1263
1262
  }), t;
1264
1263
  })()
1265
1264
  }), null), o((e) => {
1266
- var t = H.toolbar, n = H["mode-toggle"];
1265
+ var t = U.toolbar, n = U["mode-toggle"];
1267
1266
  return t !== e.e && r(p, e.e = t), n !== e.t && r(m, e.t = n), e;
1268
1267
  }, {
1269
1268
  e: void 0,
@@ -1272,7 +1271,7 @@ var vr = {
1272
1271
  })();
1273
1272
  };
1274
1273
  a(["click"]);
1275
- var U = {
1274
+ var W = {
1276
1275
  "elm-color-semantic-sample": "_elm-color-semantic-sample_6i1j1_1",
1277
1276
  toolbar: "_toolbar_6i1j1_6",
1278
1277
  "mode-toggle": "_mode-toggle_6i1j1_11",
@@ -1291,11 +1290,11 @@ var U = {
1291
1290
  "color-sample": "_color-sample_6i1j1_112",
1292
1291
  "color-sample-bg": "_color-sample-bg_6i1j1_121",
1293
1292
  "color-sample-name": "_color-sample-name_6i1j1_127"
1294
- }, Nr = /* @__PURE__ */ m("<div>"), Pr = /* @__PURE__ */ m("<div><div></div><code>"), Fr = /* @__PURE__ */ m("<div><div style=background-color:var(--elmethis-color-surface-base)><header style=background-color:var(--elmethis-color-surface-sunken)><span data-copy-token=--elmethis-color-surface-sunken></span></header><div><div><span>Surface</span></div><div><span>Foreground</span></div><div><span>Accent</span></div><div><span>Neutral</span></div><div><span>Primary</span></div><div><span>Display"), Ir = /* @__PURE__ */ m("<span>"), Lr = /* @__PURE__ */ m("<div><span></span><span>"), Rr = /* @__PURE__ */ m("<div><div><button type=button>Copy: </button></div><div>"), zr = "M19,11.5C19,11.5 17,13.67 17,15A2,2 0 0,0 19,17A2,2 0 0,0 21,15C21,13.67 19,11.5 19,11.5M5.21,10L10,5.21L14.79,10M16.56,8.94L7.62,0L6.21,1.41L8.59,3.79L3.44,8.94C2.85,9.5 2.85,10.47 3.44,11.06L8.94,16.56C9.23,16.85 9.62,17 10,17C10.38,17 10.77,16.85 11.06,16.56L16.56,11.06C17.15,10.47 17.15,9.5 16.56,8.94Z", Br = "M7 7C5.9 7 5 7.9 5 9V15C5 16.11 5.9 17 7 17H9C10.11 17 11 16.11 11 15V9C11 7.9 10.11 7 9 7H7M7 9H9V15H7V9M17.6 17L15.5 14.9L13.4 17L12 15.6L14.1 13.5L12 11.4L13.4 10L15.5 12.1L17.6 10L19 11.4L16.9 13.5L19 15.6L17.6 17Z", Vr = [
1293
+ }, Ar = /* @__PURE__ */ m("<div>"), jr = /* @__PURE__ */ m("<div><div></div><code>"), Mr = /* @__PURE__ */ m("<div><div style=background-color:var(--elmethis-color-surface-base)><header style=background-color:var(--elmethis-color-surface-sunken)><span data-copy-token=--elmethis-color-surface-sunken></span></header><div><div><span>Surface</span></div><div><span>Foreground</span></div><div><span>Accent</span></div><div><span>Neutral</span></div><div><span>Primary</span></div><div><span>Display"), Nr = /* @__PURE__ */ m("<span>"), Pr = /* @__PURE__ */ m("<div><span></span><span>"), Fr = /* @__PURE__ */ m("<div><div><button type=button>Copy: </button></div><div>"), Ir = "M19,11.5C19,11.5 17,13.67 17,15A2,2 0 0,0 19,17A2,2 0 0,0 21,15C21,13.67 19,11.5 19,11.5M5.21,10L10,5.21L14.79,10M16.56,8.94L7.62,0L6.21,1.41L8.59,3.79L3.44,8.94C2.85,9.5 2.85,10.47 3.44,11.06L8.94,16.56C9.23,16.85 9.62,17 10,17C10.38,17 10.77,16.85 11.06,16.56L16.56,11.06C17.15,10.47 17.15,9.5 16.56,8.94Z", Lr = "M7 7C5.9 7 5 7.9 5 9V15C5 16.11 5.9 17 7 17H9C10.11 17 11 16.11 11 15V9C11 7.9 10.11 7 9 7H7M7 9H9V15H7V9M17.6 17L15.5 14.9L13.4 17L12 15.6L14.1 13.5L12 11.4L13.4 10L15.5 12.1L17.6 10L19 11.4L16.9 13.5L19 15.6L17.6 17Z", Rr = [
1295
1294
  "--elmethis-color-surface-sunken",
1296
1295
  "--elmethis-color-surface-base",
1297
1296
  "--elmethis-color-surface-raised"
1298
- ], Hr = [
1297
+ ], zr = [
1299
1298
  "--elmethis-color-neutral-weak",
1300
1299
  "--elmethis-color-neutral",
1301
1300
  "--elmethis-color-neutral-strong",
@@ -1304,15 +1303,15 @@ var U = {
1304
1303
  "--elmethis-color-primary-strong",
1305
1304
  "--elmethis-color-accent-link",
1306
1305
  "--elmethis-color-accent-link-visited"
1307
- ], Ur = [
1306
+ ], Br = [
1308
1307
  "--elmethis-color-neutral-weak",
1309
1308
  "--elmethis-color-neutral",
1310
1309
  "--elmethis-color-neutral-strong"
1311
- ], Wr = [
1310
+ ], Vr = [
1312
1311
  "--elmethis-color-primary-weak",
1313
1312
  "--elmethis-color-primary",
1314
1313
  "--elmethis-color-primary-strong"
1315
- ], Gr = [
1314
+ ], Hr = [
1316
1315
  {
1317
1316
  foreground: "--elmethis-color-accent-info",
1318
1317
  surface: "--elmethis-color-accent-info-surface"
@@ -1333,7 +1332,7 @@ var U = {
1333
1332
  foreground: "--elmethis-color-accent-error",
1334
1333
  surface: "--elmethis-color-accent-error-surface"
1335
1334
  }
1336
- ], Kr = [
1335
+ ], Ur = [
1337
1336
  "red",
1338
1337
  "orange",
1339
1338
  "yellow",
@@ -1344,15 +1343,15 @@ var U = {
1344
1343
  ].map((e) => ({
1345
1344
  foreground: `--elmethis-color-display-${e}`,
1346
1345
  surface: `--elmethis-color-display-${e}-surface`
1347
- })), qr = (e) => {
1348
- let [n, a] = M(e, ["class", "style"]), c = Cr(), p = (e) => c.copiedToken() === e ? "copied!" : e, m = (e) => (() => {
1349
- var t = Nr();
1346
+ })), Wr = (e) => {
1347
+ let [n, a] = M(e, ["class", "style"]), c = br(), p = (e) => c.copiedToken() === e ? "copied!" : e, m = (e) => (() => {
1348
+ var t = Ar();
1350
1349
  return s(t, i(g, {
1351
1350
  each: e,
1352
1351
  children: (e) => (() => {
1353
- var t = Pr(), n = t.firstChild, i = n.nextSibling;
1352
+ var t = jr(), n = t.firstChild, i = n.nextSibling;
1354
1353
  return u(t, "data-copy-token", e), d(n, "background-color", `var(${e})`), s(i, () => p(e)), o((e) => {
1355
- var a = U["color-sample"], o = U["color-sample-bg"], s = U["color-sample-name"];
1354
+ var a = W["color-sample"], o = W["color-sample-bg"], s = W["color-sample-name"];
1356
1355
  return a !== e.e && r(t, e.e = a), o !== e.t && r(n, e.t = o), s !== e.a && r(i, e.a = s), e;
1357
1356
  }, {
1358
1357
  e: void 0,
@@ -1360,27 +1359,27 @@ var U = {
1360
1359
  a: void 0
1361
1360
  }), t;
1362
1361
  })()
1363
- })), o(() => r(t, U["color-sample-container"])), t;
1362
+ })), o(() => r(t, W["color-sample-container"])), t;
1364
1363
  })(), h = (e) => (() => {
1365
- var t = Fr(), n = t.firstChild, a = n.firstChild, c = a.firstChild, l = a.nextSibling, f = l.firstChild, h = f.firstChild, _ = f.nextSibling, v = _.firstChild, y = _.nextSibling, b = y.firstChild, x = y.nextSibling, S = x.firstChild, C = x.nextSibling, w = C.firstChild, T = C.nextSibling, E = T.firstChild;
1364
+ var t = Mr(), n = t.firstChild, a = n.firstChild, c = a.firstChild, l = a.nextSibling, f = l.firstChild, h = f.firstChild, _ = f.nextSibling, v = _.firstChild, y = _.nextSibling, b = y.firstChild, x = y.nextSibling, S = x.firstChild, C = x.nextSibling, w = C.firstChild, T = C.nextSibling, E = T.firstChild;
1366
1365
  return u(t, "data-theme", e), d(t, "color-scheme", e), s(c, () => p("--elmethis-color-surface-sunken")), s(f, i(g, {
1367
- each: Vr,
1366
+ each: Rr,
1368
1367
  children: (e) => (() => {
1369
- var t = Nr();
1370
- return d(t, "background-color", `var(${e})`), u(t, "data-copy-token", e), s(t, () => p(e)), o(() => r(t, U.surface)), t;
1368
+ var t = Ar();
1369
+ return d(t, "background-color", `var(${e})`), u(t, "data-copy-token", e), s(t, () => p(e)), o(() => r(t, W.surface)), t;
1371
1370
  })()
1372
1371
  }), null), s(_, i(g, {
1373
- each: Hr,
1372
+ each: zr,
1374
1373
  children: (e) => (() => {
1375
- var t = Ir();
1376
- return d(t, "color", `var(${e})`), u(t, "data-copy-token", e), s(t, () => p(e)), o(() => r(t, U.foreground)), t;
1374
+ var t = Nr();
1375
+ return d(t, "color", `var(${e})`), u(t, "data-copy-token", e), s(t, () => p(e)), o(() => r(t, W.foreground)), t;
1377
1376
  })()
1378
1377
  }), null), s(y, i(g, {
1379
- each: Gr,
1378
+ each: Hr,
1380
1379
  children: (e) => (() => {
1381
- var t = Lr(), n = t.firstChild, i = n.nextSibling;
1380
+ var t = Pr(), n = t.firstChild, i = n.nextSibling;
1382
1381
  return s(n, () => p(e.foreground)), s(i, () => p(e.surface)), o((a) => {
1383
- var o = U["accent-pair"], s = `var(${e.foreground})`, c = `var(${e.surface})`, l = e.foreground, f = e.surface;
1382
+ var o = W["accent-pair"], s = `var(${e.foreground})`, c = `var(${e.surface})`, l = e.foreground, f = e.surface;
1384
1383
  return o !== a.e && r(t, a.e = o), s !== a.t && d(t, "color", a.t = s), c !== a.a && d(t, "background-color", a.a = c), l !== a.o && u(n, "data-copy-token", a.o = l), f !== a.i && u(i, "data-copy-token", a.i = f), a;
1385
1384
  }, {
1386
1385
  e: void 0,
@@ -1390,12 +1389,12 @@ var U = {
1390
1389
  i: void 0
1391
1390
  }), t;
1392
1391
  })()
1393
- }), null), s(x, () => m(Ur), null), s(C, () => m(Wr), null), s(T, i(g, {
1394
- each: Kr,
1392
+ }), null), s(x, () => m(Br), null), s(C, () => m(Vr), null), s(T, i(g, {
1393
+ each: Ur,
1395
1394
  children: (e) => (() => {
1396
- var t = Lr(), n = t.firstChild, i = n.nextSibling;
1395
+ var t = Pr(), n = t.firstChild, i = n.nextSibling;
1397
1396
  return s(n, () => p(e.foreground)), s(i, () => p(e.surface)), o((a) => {
1398
- var o = U["accent-pair"], s = `var(${e.foreground})`, c = `var(${e.surface})`, l = e.foreground, f = e.surface;
1397
+ var o = W["accent-pair"], s = `var(${e.foreground})`, c = `var(${e.surface})`, l = e.foreground, f = e.surface;
1399
1398
  return o !== a.e && r(t, a.e = o), s !== a.t && d(t, "color", a.t = s), c !== a.a && d(t, "background-color", a.a = c), l !== a.o && u(n, "data-copy-token", a.o = l), f !== a.i && u(i, "data-copy-token", a.i = f), a;
1400
1399
  }, {
1401
1400
  e: void 0,
@@ -1406,7 +1405,7 @@ var U = {
1406
1405
  }), t;
1407
1406
  })()
1408
1407
  }), null), o((e) => {
1409
- var i = U.panel, o = U["panel-body"], s = U.header, c = U.body, u = U.group, d = U["section-title"], p = U.group, m = U["section-title"], g = U.group, D = U["section-title"], O = U.group, k = U["section-title"], A = U.group, j = U["section-title"], M = U.group, N = U["section-title"];
1408
+ var i = W.panel, o = W["panel-body"], s = W.header, c = W.body, u = W.group, d = W["section-title"], p = W.group, m = W["section-title"], g = W.group, D = W["section-title"], O = W.group, k = W["section-title"], A = W.group, j = W["section-title"], M = W.group, N = W["section-title"];
1410
1409
  return i !== e.e && r(t, e.e = i), o !== e.t && r(n, e.t = o), s !== e.a && r(a, e.a = s), c !== e.o && r(l, e.o = c), u !== e.i && r(f, e.i = u), d !== e.n && r(h, e.n = d), p !== e.s && r(_, e.s = p), m !== e.h && r(v, e.h = m), g !== e.r && r(y, e.r = g), D !== e.d && r(b, e.d = D), O !== e.l && r(x, e.l = O), k !== e.u && r(S, e.u = k), A !== e.c && r(C, e.c = A), j !== e.w && r(w, e.w = j), M !== e.m && r(T, e.m = M), N !== e.f && r(E, e.f = N), e;
1411
1410
  }, {
1412
1411
  e: void 0,
@@ -1428,24 +1427,24 @@ var U = {
1428
1427
  }), t;
1429
1428
  })();
1430
1429
  return (() => {
1431
- var e = Rr(), u = e.firstChild, d = u.firstChild, p = d.firstChild, m = u.nextSibling;
1430
+ var e = Fr(), u = e.firstChild, d = u.firstChild, p = d.firstChild, m = u.nextSibling;
1432
1431
  return f(e, l(a, {
1433
1432
  get class() {
1434
- return F(U["elm-color-semantic-sample"], n.class);
1433
+ return F(W["elm-color-semantic-sample"], n.class);
1435
1434
  },
1436
1435
  get style() {
1437
1436
  return n.style;
1438
1437
  }
1439
- }), !1, !0), t(d, "click", c.toggleCopyMode, !0), s(d, i(V, {
1438
+ }), !1, !0), t(d, "click", c.toggleCopyMode, !0), s(d, i(H, {
1440
1439
  get class() {
1441
- return U["mode-toggle-icon"];
1440
+ return W["mode-toggle-icon"];
1442
1441
  },
1443
1442
  get d() {
1444
- return c.copyMode() === "hex" ? Br : zr;
1443
+ return c.copyMode() === "hex" ? Lr : Ir;
1445
1444
  },
1446
1445
  size: "1.25rem"
1447
1446
  }), p), s(d, () => c.copyMode() === "hex" ? "hex value" : "variable name", null), m.$$click = (e) => void c.copyToken(e), s(m, () => h("light"), null), s(m, () => h("dark"), null), o((e) => {
1448
- var t = U.toolbar, n = U["mode-toggle"], i = U.panels;
1447
+ var t = W.toolbar, n = W["mode-toggle"], i = W.panels;
1449
1448
  return t !== e.e && r(u, e.e = t), n !== e.t && r(d, e.t = n), i !== e.a && r(m, e.a = i), e;
1450
1449
  }, {
1451
1450
  e: void 0,
@@ -1455,20 +1454,20 @@ var U = {
1455
1454
  })();
1456
1455
  };
1457
1456
  a(["click"]);
1458
- var Jr = {
1457
+ var Gr = {
1459
1458
  "elm-block-quote": "_elm-block-quote_1ez87_1",
1460
1459
  body: "_body_1ez87_19",
1461
1460
  icon: "_icon_1ez87_28",
1462
1461
  "icon-top-left": "_icon-top-left_1ez87_33",
1463
1462
  "icon-bottom-right": "_icon-bottom-right_1ez87_37"
1464
- }, Yr = /* @__PURE__ */ m("<blockquote><div></div><div></div><div>"), Xr = "M10,7L8,11H11V17H5V11L7,7H10M18,7L16,11H19V17H13V11L15,7H18Z", Zr = "M14,17H17L19,13V7H13V13H16M6,17H9L11,13V7H5V13H8L6,17Z", Qr = (e) => {
1463
+ }, Kr = /* @__PURE__ */ m("<blockquote><div></div><div></div><div>"), qr = "M10,7L8,11H11V17H5V11L7,7H10M18,7L16,11H19V17H13V11L15,7H18Z", Jr = "M14,17H17L19,13V7H13V13H16M6,17H9L11,13V7H5V13H8L6,17Z", Yr = (e) => {
1465
1464
  let [t, n] = M(e, ["class", "children"]);
1466
1465
  return (() => {
1467
- var e = Yr(), a = e.firstChild, c = a.nextSibling, u = c.nextSibling;
1466
+ var e = Kr(), a = e.firstChild, c = a.nextSibling, u = c.nextSibling;
1468
1467
  return f(e, l(n, { get class() {
1469
- return F(Jr["elm-block-quote"], qt.text, t.class);
1470
- } }), !1, !0), s(a, i(V, { d: Xr })), s(c, () => t.children), s(u, i(V, { d: Zr })), o((e) => {
1471
- var t = F(Jr.icon, Jr["icon-top-left"]), n = Jr.body, i = F(Jr.icon, Jr["icon-bottom-right"]);
1468
+ return F(Gr["elm-block-quote"], z.text, t.class);
1469
+ } }), !1, !0), s(a, i(H, { d: qr })), s(c, () => t.children), s(u, i(H, { d: Jr })), o((e) => {
1470
+ var t = F(Gr.icon, Gr["icon-top-left"]), n = Gr.body, i = F(Gr.icon, Gr["icon-bottom-right"]);
1472
1471
  return t !== e.e && r(a, e.e = t), n !== e.t && r(c, e.t = n), i !== e.a && r(u, e.a = i), e;
1473
1472
  }, {
1474
1473
  e: void 0,
@@ -1476,7 +1475,7 @@ var Jr = {
1476
1475
  a: void 0
1477
1476
  }), e;
1478
1477
  })();
1479
- }, $r = {
1478
+ }, Xr = {
1480
1479
  "elm-callout": "_elm-callout_1nsmp_1",
1481
1480
  header: "_header_1nsmp_26",
1482
1481
  content: "_content_1nsmp_35",
@@ -1486,60 +1485,60 @@ var Jr = {
1486
1485
  important: "_important_1nsmp_55",
1487
1486
  warning: "_warning_1nsmp_59",
1488
1487
  caution: "_caution_1nsmp_63"
1489
- }, ei = /* @__PURE__ */ m("<aside><div><span></span></div><div>"), ti = Object.freeze({
1488
+ }, Zr = /* @__PURE__ */ m("<aside><div><span></span></div><div>"), Qr = Object.freeze({
1490
1489
  note: "M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",
1491
1490
  tip: "M12,6A6,6 0 0,1 18,12C18,14.22 16.79,16.16 15,17.2V19A1,1 0 0,1 14,20H10A1,1 0 0,1 9,19V17.2C7.21,16.16 6,14.22 6,12A6,6 0 0,1 12,6M14,21V22A1,1 0 0,1 13,23H11A1,1 0 0,1 10,22V21H14M20,11H23V13H20V11M1,11H4V13H1V11M13,1V4H11V1H13M4.92,3.5L7.05,5.64L5.63,7.05L3.5,4.93L4.92,3.5M16.95,5.63L19.07,3.5L20.5,4.93L18.37,7.05L16.95,5.63Z",
1492
1491
  important: "M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5M11,7H13V13H11M11,15H13V17H11",
1493
1492
  warning: "M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",
1494
1493
  caution: "M2.2,16.06L3.88,12L2.2,7.94L6.26,6.26L7.94,2.2L12,3.88L16.06,2.2L17.74,6.26L21.8,7.94L20.12,12L21.8,16.06L17.74,17.74L16.06,21.8L12,20.12L7.94,21.8L6.26,17.74L2.2,16.06M13,17V15H11V17H13M13,13V7H11V13H13Z"
1495
- }), ni = (e) => {
1494
+ }), $r = (e) => {
1496
1495
  let [t, n] = M(O({ type: "note" }, e), [
1497
1496
  "class",
1498
1497
  "children",
1499
1498
  "type"
1500
1499
  ]);
1501
1500
  return (() => {
1502
- var e = ei(), a = e.firstChild, c = a.firstChild, u = a.nextSibling;
1501
+ var e = Zr(), a = e.firstChild, c = a.firstChild, u = a.nextSibling;
1503
1502
  return f(e, l(n, { get class() {
1504
- return F($r["elm-callout"], $r[t.type], t.class);
1505
- } }), !1, !0), s(a, i(V, {
1503
+ return F(Xr["elm-callout"], Xr[t.type], t.class);
1504
+ } }), !1, !0), s(a, i(H, {
1506
1505
  get class() {
1507
- return $r.icon;
1506
+ return Xr.icon;
1508
1507
  },
1509
1508
  get d() {
1510
- return ti[t.type];
1509
+ return Qr[t.type];
1511
1510
  },
1512
1511
  size: "1.25rem"
1513
1512
  }), c), s(c, () => t.type), s(u, () => t.children), o((e) => {
1514
- var t = $r.header, n = $r.content;
1513
+ var t = Xr.header, n = Xr.content;
1515
1514
  return t !== e.e && r(a, e.e = t), n !== e.t && r(u, e.t = n), e;
1516
1515
  }, {
1517
1516
  e: void 0,
1518
1517
  t: void 0
1519
1518
  }), e;
1520
1519
  })();
1521
- }, ri = { "elm-divider": "_elm-divider_9m6gb_1" }, ii = /* @__PURE__ */ m("<hr>"), ai = (e) => {
1520
+ }, ei = { "elm-divider": "_elm-divider_9m6gb_1" }, ti = /* @__PURE__ */ m("<hr>"), ni = (e) => {
1522
1521
  let [t, n] = M(e, ["class"]);
1523
1522
  return (() => {
1524
- var e = ii();
1523
+ var e = ti();
1525
1524
  return f(e, l({ get class() {
1526
- return F(ri["elm-divider"], t.class);
1525
+ return F(ei["elm-divider"], t.class);
1527
1526
  } }, n), !1, !1), e;
1528
1527
  })();
1529
- }, oi = { "elm-fragment-identifier": "_elm-fragment-identifier_xb2v4_1" }, si = /* @__PURE__ */ m("<span>#"), ci = (e) => {
1528
+ }, ri = { "elm-fragment-identifier": "_elm-fragment-identifier_xb2v4_1" }, ii = /* @__PURE__ */ m("<span>#"), ai = (e) => {
1530
1529
  let [t, n] = M(e, ["class", "id"]), r = () => {
1531
1530
  let e = new URL(window.location.href);
1532
1531
  e.hash = t.id, window.history.replaceState(null, "", e.toString()), document.getElementById(t.id)?.scrollIntoView({ behavior: "smooth" });
1533
1532
  };
1534
1533
  return (() => {
1535
- var e = si();
1534
+ var e = ii();
1536
1535
  return e.$$click = r, f(e, l({ get class() {
1537
- return F(oi["elm-fragment-identifier"], t.class);
1536
+ return F(ri["elm-fragment-identifier"], t.class);
1538
1537
  } }, n), !1, !0), e;
1539
1538
  })();
1540
1539
  };
1541
1540
  a(["click"]);
1542
- var li = {
1541
+ var oi = {
1543
1542
  "elm-heading": "_elm-heading_1fuld_1",
1544
1543
  h1: "_h1_1fuld_12",
1545
1544
  h2: "_h2_1fuld_34",
@@ -1548,14 +1547,14 @@ var li = {
1548
1547
  h4: "_h4_1fuld_86",
1549
1548
  h5: "_h5_1fuld_90",
1550
1549
  h6: "_h6_1fuld_94"
1551
- }, ui = /* @__PURE__ */ m("<span>"), di = /* @__PURE__ */ m("<span style=padding:0.5rem>"), fi = /* @__PURE__ */ m("<span aria-hidden=true>"), pi = Object.freeze({
1550
+ }, si = /* @__PURE__ */ m("<span>"), ci = /* @__PURE__ */ m("<span style=padding:0.5rem>"), li = /* @__PURE__ */ m("<span aria-hidden=true>"), ui = Object.freeze({
1552
1551
  1: 1.5,
1553
1552
  2: 1.4,
1554
1553
  3: 1.3,
1555
1554
  4: 1.2,
1556
1555
  5: 1.15,
1557
1556
  6: 1.1
1558
- }), mi = (t) => {
1557
+ }), di = (t) => {
1559
1558
  let [n, a] = M(t, [
1560
1559
  "class",
1561
1560
  "style",
@@ -1568,10 +1567,10 @@ var li = {
1568
1567
  return `h${n.level}`;
1569
1568
  } }, a, {
1570
1569
  get class() {
1571
- return F(li["elm-heading"], qt.text, li[`h${n.level}`], n.class);
1570
+ return F(oi["elm-heading"], z.text, oi[`h${n.level}`], n.class);
1572
1571
  },
1573
1572
  get style() {
1574
- return R(n.style, { "--elmethis-scoped-font-size": `${pi[n.level]}em` });
1573
+ return R(n.style, { "--elmethis-scoped-font-size": `${ui[n.level]}em` });
1575
1574
  },
1576
1575
  get id() {
1577
1576
  return n.id;
@@ -1579,28 +1578,28 @@ var li = {
1579
1578
  get children() {
1580
1579
  return [
1581
1580
  (() => {
1582
- var e = ui();
1581
+ var e = si();
1583
1582
  return s(e, () => n.text), e;
1584
1583
  })(),
1585
1584
  c(() => n.children),
1586
1585
  c(() => c(() => !!n.id)() && (() => {
1587
- var e = di();
1588
- return s(e, i(ci, { get id() {
1586
+ var e = ci();
1587
+ return s(e, i(ai, { get id() {
1589
1588
  return n.id;
1590
1589
  } })), e;
1591
1590
  })()),
1592
1591
  c(() => c(() => n.level === 2)() && (() => {
1593
- var e = fi();
1594
- return o(() => r(e, li["h2-underline"])), e;
1592
+ var e = li();
1593
+ return o(() => r(e, oi["h2-underline"])), e;
1595
1594
  })())
1596
1595
  ];
1597
1596
  }
1598
1597
  }));
1599
- }, hi = {
1598
+ }, fi = {
1600
1599
  "elm-list": "_elm-list_brpi5_1",
1601
1600
  bulleted: "_bulleted_brpi5_8",
1602
1601
  numbered: "_numbered_brpi5_57"
1603
- }, gi = (t) => {
1602
+ }, pi = (t) => {
1604
1603
  let [n, r] = M(O({ listStyle: "unordered" }, t), [
1605
1604
  "class",
1606
1605
  "children",
@@ -1610,13 +1609,13 @@ var li = {
1610
1609
  return n.listStyle === "ordered" ? "ol" : "ul";
1611
1610
  } }, r, {
1612
1611
  get class() {
1613
- return F(qt.text, hi["elm-list"], n.listStyle === "ordered" ? hi.numbered : hi.bulleted, n.class);
1612
+ return F(z.text, fi["elm-list"], n.listStyle === "ordered" ? fi.numbered : fi.bulleted, n.class);
1614
1613
  },
1615
1614
  get children() {
1616
1615
  return n.children;
1617
1616
  }
1618
1617
  }));
1619
- }, _i = { "elm-paragraph": "_elm-paragraph_y4o6n_1" }, vi = /* @__PURE__ */ m("<p>"), yi = (e) => {
1618
+ }, mi = { "elm-paragraph": "_elm-paragraph_y4o6n_1" }, hi = /* @__PURE__ */ m("<p>"), gi = (e) => {
1620
1619
  let [t, n] = M(e, [
1621
1620
  "class",
1622
1621
  "style",
@@ -1625,10 +1624,10 @@ var li = {
1625
1624
  "backgroundColor"
1626
1625
  ]);
1627
1626
  return (() => {
1628
- var e = vi();
1627
+ var e = hi();
1629
1628
  return f(e, l(n, {
1630
1629
  get class() {
1631
- return F(_i["elm-paragraph"], qt.text, t.class);
1630
+ return F(mi["elm-paragraph"], z.text, t.class);
1632
1631
  },
1633
1632
  get style() {
1634
1633
  return R(t.style, {
@@ -1641,7 +1640,7 @@ var li = {
1641
1640
  };
1642
1641
  //#endregion
1643
1642
  //#region src/primitives/create-async-state.ts
1644
- function bi(e, t, n = {}) {
1643
+ function _i(e, t, n = {}) {
1645
1644
  let [r, i] = T(t, { equals: Object.is }), [a, o] = T(!1), [s, c] = T(!1), [l, u] = T(void 0, { equals: Object.is }), d = /* @__PURE__ */ new Map(), f = 0, p = !1, m = (e) => new Promise((t) => {
1646
1645
  let n = setTimeout(() => {
1647
1646
  d.delete(n), t();
@@ -1676,7 +1675,7 @@ function bi(e, t, n = {}) {
1676
1675
  }
1677
1676
  //#endregion
1678
1677
  //#region src/primitives/create-auto-animate.ts
1679
- function xi(e) {
1678
+ function vi(e) {
1680
1679
  let [t, n] = T(e?.enabled ?? !0), [r, i] = T(), a = !1, o, s, c = 0, l = () => {
1681
1680
  let e = s;
1682
1681
  s = void 0, i(void 0), e?.destroy?.();
@@ -1707,7 +1706,7 @@ function xi(e) {
1707
1706
  }
1708
1707
  //#endregion
1709
1708
  //#region src/primitives/create-debounced.ts
1710
- function Si(e, t) {
1709
+ function yi(e, t) {
1711
1710
  let [n, r] = T(e, { equals: Object.is }), [i, a] = T(e, { equals: Object.is }), o, s = () => {
1712
1711
  o !== void 0 && (clearTimeout(o), o = void 0);
1713
1712
  };
@@ -1725,7 +1724,7 @@ function Si(e, t) {
1725
1724
  }
1726
1725
  //#endregion
1727
1726
  //#region src/primitives/create-delayed-signal.ts
1728
- function Ci(e) {
1727
+ function bi(e) {
1729
1728
  let [t, n] = T(e, { equals: Object.is }), [r, i] = T(e, { equals: Object.is }), [a, o] = T(!1), s, c = () => {
1730
1729
  s !== void 0 && (clearTimeout(s), s = void 0);
1731
1730
  };
@@ -1746,48 +1745,48 @@ function Ci(e) {
1746
1745
  }
1747
1746
  //#endregion
1748
1747
  //#region src/primitives/create-storage.ts
1749
- var wi = "elmethis-local-storage-change", Ti = "elmethis:sessionStorage:", Ei = (e) => JSON.parse(e), Di = (e) => {
1748
+ var xi = "elmethis-local-storage-change", Si = "elmethis:sessionStorage:", Ci = (e) => JSON.parse(e), wi = (e) => {
1750
1749
  let t = JSON.stringify(e);
1751
1750
  if (t === void 0) throw TypeError("The storage value is not JSON-serializable");
1752
1751
  return t;
1753
- }, Oi = (e) => {
1752
+ }, Ti = (e) => {
1754
1753
  if (typeof e != "object" || !e) return !1;
1755
1754
  let t = e;
1756
1755
  return t.protocol === "elmethis-storage-v1" && typeof t.key == "string" && (t.type === "remove" || t.type === "set" && typeof t.value == "string");
1757
- }, ki = (e, t, n) => {
1756
+ }, Ei = (e, t, n) => {
1758
1757
  console.warn(`createStorage: failed to ${e} "${t}"`, n);
1759
1758
  };
1760
- function Ai(e, t) {
1759
+ function Di(e, t) {
1761
1760
  let [n, r] = T(t.initialValue), i = {}, a, o, s = !1, c = (e) => r((() => e)), l = (e) => {
1762
1761
  if (e.type === "remove") {
1763
1762
  c(t.initialValue);
1764
1763
  return;
1765
1764
  }
1766
1765
  try {
1767
- c(Ei(e.value));
1766
+ c(Ci(e.value));
1768
1767
  } catch (e) {
1769
- ki("parse", t.key, e);
1768
+ Ei("parse", t.key, e);
1770
1769
  }
1771
1770
  }, u = (n) => {
1772
1771
  if (!s) return;
1773
1772
  if (a) try {
1774
1773
  n.type === "remove" ? a.removeItem(t.key) : a.setItem(t.key, n.value);
1775
1774
  } catch (e) {
1776
- ki(n.type === "remove" ? "remove" : "write", t.key, e);
1775
+ Ei(n.type === "remove" ? "remove" : "write", t.key, e);
1777
1776
  }
1778
1777
  let r = {
1779
1778
  protocol: "elmethis-storage-v1",
1780
1779
  key: t.key,
1781
1780
  ...n
1782
1781
  };
1783
- if (e === "local") window.dispatchEvent(new CustomEvent(wi, { detail: {
1782
+ if (e === "local") window.dispatchEvent(new CustomEvent(xi, { detail: {
1784
1783
  ...r,
1785
1784
  source: i
1786
1785
  } }));
1787
1786
  else if (o) try {
1788
1787
  o.postMessage(r);
1789
1788
  } catch (e) {
1790
- ki("broadcast", t.key, e);
1789
+ Ei("broadcast", t.key, e);
1791
1790
  }
1792
1791
  };
1793
1792
  return j(() => {
@@ -1796,16 +1795,16 @@ function Ai(e, t) {
1796
1795
  a = e === "local" ? window.localStorage : window.sessionStorage;
1797
1796
  let n = a.getItem(t.key);
1798
1797
  if (n === null) try {
1799
- a.setItem(t.key, Di(t.initialValue));
1798
+ a.setItem(t.key, wi(t.initialValue));
1800
1799
  } catch (e) {
1801
- ki("write", t.key, e);
1800
+ Ei("write", t.key, e);
1802
1801
  }
1803
1802
  else l({
1804
1803
  type: "set",
1805
1804
  value: n
1806
1805
  });
1807
1806
  } catch (e) {
1808
- a = void 0, ki("read", t.key, e);
1807
+ a = void 0, Ei("read", t.key, e);
1809
1808
  }
1810
1809
  let n = (e) => {
1811
1810
  e.key !== t.key || e.storageArea !== null && e.storageArea !== a || l(e.newValue === null ? { type: "remove" } : {
@@ -1814,22 +1813,22 @@ function Ai(e, t) {
1814
1813
  });
1815
1814
  }, r = (e) => {
1816
1815
  let n = e.detail;
1817
- n?.source === i || !Oi(n) || n.key !== t.key || l(n);
1816
+ n?.source === i || !Ti(n) || n.key !== t.key || l(n);
1818
1817
  };
1819
- if (window.addEventListener("storage", n), e === "local") window.addEventListener(wi, r);
1818
+ if (window.addEventListener("storage", n), e === "local") window.addEventListener(xi, r);
1820
1819
  else if (typeof BroadcastChannel < "u") try {
1821
- o = new BroadcastChannel(`${Ti}${t.key}`), o.addEventListener("message", (e) => {
1822
- if (!(!Oi(e.data) || e.data.key !== t.key) && (l(e.data), a)) try {
1820
+ o = new BroadcastChannel(`${Si}${t.key}`), o.addEventListener("message", (e) => {
1821
+ if (!(!Ti(e.data) || e.data.key !== t.key) && (l(e.data), a)) try {
1823
1822
  e.data.type === "remove" ? a.removeItem(t.key) : a.setItem(t.key, e.data.value);
1824
1823
  } catch (e) {
1825
- ki("mirror", t.key, e);
1824
+ Ei("mirror", t.key, e);
1826
1825
  }
1827
1826
  });
1828
1827
  } catch (e) {
1829
- o = void 0, ki("open broadcast channel for", t.key, e);
1828
+ o = void 0, Ei("open broadcast channel for", t.key, e);
1830
1829
  }
1831
1830
  A(() => {
1832
- s = !1, a = void 0, window.removeEventListener("storage", n), window.removeEventListener(wi, r), o?.close(), o = void 0;
1831
+ s = !1, a = void 0, window.removeEventListener("storage", n), window.removeEventListener(xi, r), o?.close(), o = void 0;
1833
1832
  });
1834
1833
  }), {
1835
1834
  state: n,
@@ -1838,10 +1837,10 @@ function Ai(e, t) {
1838
1837
  try {
1839
1838
  u({
1840
1839
  type: "set",
1841
- value: Di(n)
1840
+ value: wi(n)
1842
1841
  });
1843
1842
  } catch (e) {
1844
- ki("serialize", t.key, e);
1843
+ Ei("serialize", t.key, e);
1845
1844
  }
1846
1845
  return n;
1847
1846
  }),
@@ -1850,10 +1849,10 @@ function Ai(e, t) {
1850
1849
  }
1851
1850
  };
1852
1851
  }
1853
- var ji = (e) => Ai("local", e), Mi = (e) => Ai("session", e);
1852
+ var Oi = (e) => Di("local", e), ki = (e) => Di("session", e);
1854
1853
  //#endregion
1855
1854
  //#region src/primitives/create-throttled.ts
1856
- function Ni(e, t) {
1855
+ function Ai(e, t) {
1857
1856
  let [n, r] = T(e, { equals: Object.is }), [i, a] = T(e, { equals: Object.is }), [o, s] = T(!1), c, l = !1, u = () => {
1858
1857
  s(!0), c = setTimeout(() => {
1859
1858
  if (c = void 0, l) return;
@@ -1875,36 +1874,36 @@ function Ni(e, t) {
1875
1874
  }
1876
1875
  //#endregion
1877
1876
  //#region \0@oxc-project+runtime@0.123.0/helpers/typeof.js
1878
- function Pi(e) {
1877
+ function ji(e) {
1879
1878
  "@babel/helpers - typeof";
1880
- return Pi = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1879
+ return ji = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1881
1880
  return typeof e;
1882
1881
  } : function(e) {
1883
1882
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1884
- }, Pi(e);
1883
+ }, ji(e);
1885
1884
  }
1886
1885
  //#endregion
1887
1886
  //#region \0@oxc-project+runtime@0.123.0/helpers/toPrimitive.js
1888
- function Fi(e, t) {
1889
- if (Pi(e) != "object" || !e) return e;
1887
+ function Mi(e, t) {
1888
+ if (ji(e) != "object" || !e) return e;
1890
1889
  var n = e[Symbol.toPrimitive];
1891
1890
  if (n !== void 0) {
1892
1891
  var r = n.call(e, t || "default");
1893
- if (Pi(r) != "object") return r;
1892
+ if (ji(r) != "object") return r;
1894
1893
  throw TypeError("@@toPrimitive must return a primitive value.");
1895
1894
  }
1896
1895
  return (t === "string" ? String : Number)(e);
1897
1896
  }
1898
1897
  //#endregion
1899
1898
  //#region \0@oxc-project+runtime@0.123.0/helpers/toPropertyKey.js
1900
- function Ii(e) {
1901
- var t = Fi(e, "string");
1902
- return Pi(t) == "symbol" ? t : t + "";
1899
+ function Ni(e) {
1900
+ var t = Mi(e, "string");
1901
+ return ji(t) == "symbol" ? t : t + "";
1903
1902
  }
1904
1903
  //#endregion
1905
1904
  //#region \0@oxc-project+runtime@0.123.0/helpers/defineProperty.js
1906
- function Li(e, t, n) {
1907
- return (t = Ii(t)) in e ? Object.defineProperty(e, t, {
1905
+ function Pi(e, t, n) {
1906
+ return (t = Ni(t)) in e ? Object.defineProperty(e, t, {
1908
1907
  value: n,
1909
1908
  enumerable: !0,
1910
1909
  configurable: !0,
@@ -1913,9 +1912,9 @@ function Li(e, t, n) {
1913
1912
  }
1914
1913
  //#endregion
1915
1914
  //#region src/primitives/create-throttled-queue.ts
1916
- var Ri = class {
1915
+ var Fi = class {
1917
1916
  constructor(e = 200) {
1918
- Li(this, "queue", []), Li(this, "minInterval", void 0), Li(this, "lastFinishedAt", 0), Li(this, "running", !1), Li(this, "destroyed", !1), Li(this, "timer", void 0), this.minInterval = Math.max(0, e);
1917
+ Pi(this, "queue", []), Pi(this, "minInterval", void 0), Pi(this, "lastFinishedAt", 0), Pi(this, "running", !1), Pi(this, "destroyed", !1), Pi(this, "timer", void 0), this.minInterval = Math.max(0, e);
1919
1918
  }
1920
1919
  push(e) {
1921
1920
  return this.destroyed ? Promise.reject(/* @__PURE__ */ Error("ThrottledQueue is destroyed")) : new Promise((t, n) => {
@@ -1954,14 +1953,14 @@ var Ri = class {
1954
1953
  }, t);
1955
1954
  }
1956
1955
  };
1957
- function zi(e = 200) {
1956
+ function Ii(e = 200) {
1958
1957
  if (!D()) throw Error("createThrottledQueue requires a reactive owner");
1959
- let t = new Ri(e);
1958
+ let t = new Fi(e);
1960
1959
  return A(() => t.destroy("owner disposed")), t;
1961
1960
  }
1962
1961
  //#endregion
1963
1962
  //#region src/components/code/elm-katex.module.css
1964
- var Bi = { "elm-katex": "_elm-katex_11clp_3" }, Vi = /* @__PURE__ */ m("<div>"), Hi = (e) => {
1963
+ var Li = { "elm-katex": "_elm-katex_11clp_3" }, Ri = /* @__PURE__ */ m("<div>"), zi = (e) => {
1965
1964
  let [t, n] = M(e, [
1966
1965
  "class",
1967
1966
  "expression",
@@ -1971,30 +1970,30 @@ var Bi = { "elm-katex": "_elm-katex_11clp_3" }, Vi = /* @__PURE__ */ m("<div>"),
1971
1970
  output: "mathml"
1972
1971
  }));
1973
1972
  return (() => {
1974
- var e = Vi();
1973
+ var e = Ri();
1975
1974
  return f(e, l({
1976
1975
  get class() {
1977
- return F(qt.text, t.block && Bi["elm-katex"], t.class);
1976
+ return F(z.text, t.block && Li["elm-katex"], t.class);
1978
1977
  },
1979
1978
  get innerHTML() {
1980
1979
  return r();
1981
1980
  }
1982
1981
  }, n), !1, !1), e;
1983
1982
  })();
1984
- }, Ui = {
1983
+ }, Bi = {
1985
1984
  "elm-collapse": "_elm-collapse_19v9o_1",
1986
1985
  row: "_row_19v9o_5",
1987
1986
  open: "_open_19v9o_11",
1988
1987
  column: "_column_19v9o_16",
1989
1988
  both: "_both_19v9o_27",
1990
1989
  inner: "_inner_19v9o_44"
1991
- }, Wi = /* @__PURE__ */ m("<div><div>"), Gi = (e, t) => {
1990
+ }, Vi = /* @__PURE__ */ m("<div><div>"), Hi = (e, t) => {
1992
1991
  let n = { "--elmethis-scoped-transition-timing-function": t };
1993
1992
  return typeof e == "string" ? [e.trim().replace(/;$/, ""), `--elmethis-scoped-transition-timing-function:${String(t)}`].filter(Boolean).join(";") : {
1994
1993
  ...e ?? {},
1995
1994
  ...n
1996
1995
  };
1997
- }, Ki = (e) => {
1996
+ }, Ui = (e) => {
1998
1997
  let [t, n] = M(O({
1999
1998
  direction: "row",
2000
1999
  transitionTimingFunction: "ease-in-out"
@@ -2007,27 +2006,27 @@ var Bi = { "elm-katex": "_elm-katex_11clp_3" }, Vi = /* @__PURE__ */ m("<div>"),
2007
2006
  "transitionTimingFunction"
2008
2007
  ]);
2009
2008
  return (() => {
2010
- var e = Wi(), i = e.firstChild;
2009
+ var e = Vi(), i = e.firstChild;
2011
2010
  return f(e, l(n, {
2012
2011
  get class() {
2013
- return F(Ui["elm-collapse"], t.isOpen && Ui.open, t.direction === "row" && Ui.row, t.direction === "column" && Ui.column, t.direction === "both" && Ui.both, t.class);
2012
+ return F(Bi["elm-collapse"], t.isOpen && Bi.open, t.direction === "row" && Bi.row, t.direction === "column" && Bi.column, t.direction === "both" && Bi.both, t.class);
2014
2013
  },
2015
2014
  get style() {
2016
- return Gi(t.style, t.transitionTimingFunction);
2015
+ return Hi(t.style, t.transitionTimingFunction);
2017
2016
  }
2018
- }), !1, !0), s(i, () => t.children), o(() => r(i, Ui.inner)), e;
2017
+ }), !1, !0), s(i, () => t.children), o(() => r(i, Bi.inner)), e;
2019
2018
  })();
2020
- }, qi = {
2019
+ }, Wi = {
2021
2020
  "elm-parallax": "_elm-parallax_1uz2b_1",
2022
2021
  parallax: "_parallax_1uz2b_6"
2023
- }, Ji = /* @__PURE__ */ m("<div>"), Yi = /* @__PURE__ */ m("<div aria-hidden=true style=transform-origin:bottom>"), Xi = (e, t) => `scale(1.2) translateY(${e / (1e3 * (t + 1))}%)`, Zi = (e) => {
2022
+ }, Gi = /* @__PURE__ */ m("<div>"), Ki = /* @__PURE__ */ m("<div aria-hidden=true style=transform-origin:bottom>"), qi = (e, t) => `scale(1.2) translateY(${e / (1e3 * (t + 1))}%)`, Ji = (e) => {
2024
2023
  let [t, n] = M(e, ["class", "images"]), a, c = 0;
2025
2024
  return j(() => {
2026
2025
  let e = window.matchMedia("(prefers-reduced-motion: reduce)"), t, n = window.scrollY, r = () => {
2027
2026
  t = void 0;
2028
2027
  let r = e.matches ? 0 : n;
2029
- c = r, a?.querySelectorAll(`.${qi.parallax}`).forEach((e, t) => {
2030
- e.style.transform = Xi(r, t);
2028
+ c = r, a?.querySelectorAll(`.${Wi.parallax}`).forEach((e, t) => {
2029
+ e.style.transform = qi(r, t);
2031
2030
  });
2032
2031
  }, i = () => {
2033
2032
  n = window.scrollY, t ?? (t = window.requestAnimationFrame(r));
@@ -2036,19 +2035,19 @@ var Bi = { "elm-katex": "_elm-katex_11clp_3" }, Vi = /* @__PURE__ */ m("<div>"),
2036
2035
  window.removeEventListener("scroll", i), e.removeEventListener("change", i), t !== void 0 && window.cancelAnimationFrame(t);
2037
2036
  });
2038
2037
  }), (() => {
2039
- var e = Ji();
2038
+ var e = Gi();
2040
2039
  return h((e) => {
2041
2040
  a = e;
2042
2041
  }, e), f(e, l({ get class() {
2043
- return F(qi["elm-parallax"], t.class);
2042
+ return F(Wi["elm-parallax"], t.class);
2044
2043
  } }, n), !1, !0), s(e, i(g, {
2045
2044
  get each() {
2046
2045
  return t.images;
2047
2046
  },
2048
2047
  children: (e, t) => (() => {
2049
- var n = Yi();
2048
+ var n = Ki();
2050
2049
  return o((i) => {
2051
- var a = qi.parallax, o = `url(${JSON.stringify(e)})`, s = Xi(c, t());
2050
+ var a = Wi.parallax, o = `url(${JSON.stringify(e)})`, s = qi(c, t());
2052
2051
  return a !== i.e && r(n, i.e = a), o !== i.t && d(n, "background-image", i.t = o), s !== i.a && d(n, "transform", i.a = s), i;
2053
2052
  }, {
2054
2053
  e: void 0,
@@ -2058,10 +2057,10 @@ var Bi = { "elm-katex": "_elm-katex_11clp_3" }, Vi = /* @__PURE__ */ m("<div>"),
2058
2057
  })()
2059
2058
  })), e;
2060
2059
  })();
2061
- }, Qi = {
2060
+ }, Yi = {
2062
2061
  "elm-modal": "_elm-modal_scrq9_1",
2063
2062
  shown: "_shown_scrq9_14"
2064
- }, $i = /* @__PURE__ */ m("<dialog><div>"), ea = (e) => {
2063
+ }, Xi = /* @__PURE__ */ m("<dialog><div>"), Zi = (e) => {
2065
2064
  let [t, n] = M(O({
2066
2065
  delay: 200,
2067
2066
  closedby: "none"
@@ -2098,19 +2097,19 @@ var Bi = { "elm-katex": "_elm-katex_11clp_3" }, Vi = /* @__PURE__ */ m("<div>"),
2098
2097
  }
2099
2098
  }), A(c);
2100
2099
  let u = (e) => {
2101
- B(t.onClick, e), !(e.defaultPrevented || e.target !== e.currentTarget) && t.onClose?.(e, e.currentTarget);
2100
+ V(t.onClick, e), !(e.defaultPrevented || e.target !== e.currentTarget) && t.onClose?.(e, e.currentTarget);
2102
2101
  }, d = (e) => {
2103
- B(t.onCancel, e), !e.defaultPrevented && (e.preventDefault(), t.onClose?.(e, e.currentTarget));
2102
+ V(t.onCancel, e), !e.defaultPrevented && (e.preventDefault(), t.onClose?.(e, e.currentTarget));
2104
2103
  }, p = (e) => {
2105
2104
  c(), i(!1), t.isOpen && t.onClose?.(e, e.currentTarget);
2106
2105
  };
2107
2106
  return (() => {
2108
- var e = $i(), i = e.firstChild;
2107
+ var e = Xi(), i = e.firstChild;
2109
2108
  return h((e) => {
2110
2109
  a = e, typeof t.ref == "function" && t.ref(e);
2111
2110
  }, e), f(e, l(n, {
2112
2111
  get class() {
2113
- return F(Qi["elm-modal"], r() && Qi.shown, t.class);
2112
+ return F(Yi["elm-modal"], r() && Yi.shown, t.class);
2114
2113
  },
2115
2114
  get style() {
2116
2115
  return R(t.style, { "--elmethis-scoped-modal-delay": `${t.delay}ms` });
@@ -2122,18 +2121,18 @@ var Bi = { "elm-katex": "_elm-katex_11clp_3" }, Vi = /* @__PURE__ */ m("<div>"),
2122
2121
  })();
2123
2122
  };
2124
2123
  a(["click"]);
2125
- var ta = {
2124
+ var Qi = {
2126
2125
  "elm-tabs": "_elm-tabs_whoym_1",
2127
2126
  "tab-container": "_tab-container_whoym_13",
2128
2127
  tab: "_tab_whoym_13",
2129
2128
  active: "_active_whoym_41",
2130
2129
  "tab-content": "_tab-content_whoym_52",
2131
2130
  "tab-content-inner": "_tab-content-inner_whoym_57"
2132
- }, na = /* @__PURE__ */ m("<div>"), ra = x(), ia = () => {
2133
- let e = P(ra);
2131
+ }, $i = /* @__PURE__ */ m("<div>"), ea = x(), ta = () => {
2132
+ let e = P(ea);
2134
2133
  if (e === void 0) throw Error("ElmTabs subcomponents must be used within <ElmTabs>");
2135
2134
  return e;
2136
- }, aa = (e) => {
2135
+ }, na = (e) => {
2137
2136
  let [t, n] = M(O({ transitionTimingFunction: "linear" }, e), [
2138
2137
  "class",
2139
2138
  "children",
@@ -2141,7 +2140,7 @@ var ta = {
2141
2140
  "defaultValue",
2142
2141
  "onValueChange",
2143
2142
  "transitionTimingFunction"
2144
- ]), [r, a] = hn({
2143
+ ]), [r, a] = fn({
2145
2144
  value: () => t.value,
2146
2145
  defaultValue: () => t.defaultValue ?? "",
2147
2146
  onChange: (e) => t.onValueChange?.(e)
@@ -2152,52 +2151,52 @@ var ta = {
2152
2151
  },
2153
2152
  transitionTimingFunction: () => t.transitionTimingFunction
2154
2153
  };
2155
- return i(ra.Provider, {
2154
+ return i(ea.Provider, {
2156
2155
  value: o,
2157
2156
  get children() {
2158
- var e = na();
2157
+ var e = $i();
2159
2158
  return f(e, l(n, { get class() {
2160
- return F(ta["elm-tabs"], t.class);
2159
+ return F(Qi["elm-tabs"], t.class);
2161
2160
  } }), !1, !0), s(e, () => t.children), e;
2162
2161
  }
2163
2162
  });
2164
- }, oa = (e) => {
2163
+ }, ra = (e) => {
2165
2164
  let [t, n] = M(e, ["class", "children"]);
2166
2165
  return (() => {
2167
- var e = na();
2166
+ var e = $i();
2168
2167
  return f(e, l(n, { get class() {
2169
- return F(ta["tab-container"], t.class);
2168
+ return F(Qi["tab-container"], t.class);
2170
2169
  } }), !1, !0), s(e, () => t.children), e;
2171
2170
  })();
2172
- }, sa = (e) => {
2173
- let t = ia(), [n, r] = M(e, [
2171
+ }, ia = (e) => {
2172
+ let t = ta(), [n, r] = M(e, [
2174
2173
  "class",
2175
2174
  "children",
2176
2175
  "value",
2177
2176
  "onClick"
2178
2177
  ]), i = (e) => {
2179
- t.setSelectedValue(n.value), B(n.onClick, e);
2178
+ t.setSelectedValue(n.value), V(n.onClick, e);
2180
2179
  };
2181
2180
  return (() => {
2182
- var e = na();
2181
+ var e = $i();
2183
2182
  return f(e, l(r, {
2184
2183
  get class() {
2185
- return F(ta.tab, t.selectedValue() === n.value && ta.active, n.class);
2184
+ return F(Qi.tab, t.selectedValue() === n.value && Qi.active, n.class);
2186
2185
  },
2187
2186
  onClick: i
2188
2187
  }), !1, !0), s(e, () => n.children), e;
2189
2188
  })();
2190
- }, ca = (e) => {
2191
- let t = ia(), [n, a] = M(e, [
2189
+ }, aa = (e) => {
2190
+ let t = ta(), [n, a] = M(e, [
2192
2191
  "class",
2193
2192
  "children",
2194
2193
  "value"
2195
2194
  ]);
2196
2195
  return (() => {
2197
- var e = na();
2196
+ var e = $i();
2198
2197
  return f(e, l(a, { get class() {
2199
- return F(ta["tab-content"], n.class);
2200
- } }), !1, !0), s(e, i(Ki, {
2198
+ return F(Qi["tab-content"], n.class);
2199
+ } }), !1, !0), s(e, i(Ui, {
2201
2200
  direction: "row",
2202
2201
  get isOpen() {
2203
2202
  return t.selectedValue() === n.value;
@@ -2206,12 +2205,12 @@ var ta = {
2206
2205
  return t.transitionTimingFunction();
2207
2206
  },
2208
2207
  get children() {
2209
- var e = na();
2210
- return s(e, () => n.children), o(() => r(e, ta["tab-content-inner"])), e;
2208
+ var e = $i();
2209
+ return s(e, () => n.children), o(() => r(e, Qi["tab-content-inner"])), e;
2211
2210
  }
2212
2211
  })), e;
2213
2212
  })();
2214
- }, W = {
2213
+ }, G = {
2215
2214
  "elm-toggle": "_elm-toggle_qfazq_1",
2216
2215
  open: "_open_qfazq_8",
2217
2216
  summary: "_summary_qfazq_13",
@@ -2221,7 +2220,7 @@ var ta = {
2221
2220
  cross: "_cross_qfazq_62",
2222
2221
  border: "_border_qfazq_76",
2223
2222
  content: "_content_qfazq_84"
2224
- }, la = /* @__PURE__ */ m("<div><div><div><span></span><div></div></div><hr><span></span></div><div></div><div>"), ua = (e) => {
2223
+ }, oa = /* @__PURE__ */ m("<div><div><div><span></span><div></div></div><hr><span></span></div><div></div><div>"), sa = (e) => {
2225
2224
  let [t, n] = M(e, [
2226
2225
  "class",
2227
2226
  "children",
@@ -2230,7 +2229,7 @@ var ta = {
2230
2229
  "isOpen",
2231
2230
  "onOpenChange",
2232
2231
  "monochrome"
2233
- ]), [a, u] = hn({
2232
+ ]), [a, u] = fn({
2234
2233
  value: () => t.isOpen,
2235
2234
  defaultValue: () => t.defaultIsOpen ?? !1,
2236
2235
  onChange: (e) => t.onOpenChange?.(e)
@@ -2238,10 +2237,10 @@ var ta = {
2238
2237
  e.preventDefault(), u((e) => !e);
2239
2238
  };
2240
2239
  return (() => {
2241
- var e = la(), u = e.firstChild, p = u.firstChild, m = p.firstChild, h = m.nextSibling, g = p.nextSibling, _ = g.nextSibling, v = u.nextSibling, y = v.nextSibling;
2240
+ var e = oa(), u = e.firstChild, p = u.firstChild, m = p.firstChild, h = m.nextSibling, g = p.nextSibling, _ = g.nextSibling, v = u.nextSibling, y = v.nextSibling;
2242
2241
  return f(e, l(n, { get class() {
2243
- return F(W["elm-toggle"], a() && W.open, t.class);
2244
- } }), !1, !0), u.$$click = d, s(m, i(V, {
2242
+ return F(G["elm-toggle"], a() && G.open, t.class);
2243
+ } }), !1, !0), u.$$click = d, s(m, i(H, {
2245
2244
  d: re,
2246
2245
  get color() {
2247
2246
  return t.monochrome ? "var(--elmethis-color-neutral-weak)" : "var(--elmethis-color-primary)";
@@ -2249,17 +2248,17 @@ var ta = {
2249
2248
  size: "1rem"
2250
2249
  })), s(h, (() => {
2251
2250
  var e = c(() => typeof t.summary == "string");
2252
- return () => e() ? i(z, { get children() {
2251
+ return () => e() ? i(B, { get children() {
2253
2252
  return t.summary;
2254
2253
  } }) : t.summary;
2255
- })()), s(_, i(V, {
2254
+ })()), s(_, i(H, {
2256
2255
  d: ve,
2257
2256
  size: "1rem",
2258
2257
  get color() {
2259
2258
  return c(() => !!t.monochrome)() ? "var(--elmethis-color-neutral-weak)" : a() ? "var(--elmethis-color-accent-error)" : "var(--elmethis-color-primary)";
2260
2259
  }
2261
2260
  })), s(y, () => t.children), o((e) => {
2262
- var t = W.summary, n = W["summary-left"], i = F(W.chevron, a() && W.open), o = W.divider, s = F(W.cross, a() && W.open), c = W.border, l = F(W.content, a() && W.open);
2261
+ var t = G.summary, n = G["summary-left"], i = F(G.chevron, a() && G.open), o = G.divider, s = F(G.cross, a() && G.open), c = G.border, l = F(G.content, a() && G.open);
2263
2262
  return t !== e.e && r(u, e.e = t), n !== e.t && r(p, e.t = n), i !== e.a && r(m, e.a = i), o !== e.o && r(g, e.o = o), s !== e.i && r(_, e.i = s), c !== e.n && r(v, e.n = c), l !== e.s && r(y, e.s = l), e;
2264
2263
  }, {
2265
2264
  e: void 0,
@@ -2273,11 +2272,11 @@ var ta = {
2273
2272
  })();
2274
2273
  };
2275
2274
  a(["click"]);
2276
- var da = {
2275
+ var ca = {
2277
2276
  "elm-tooltip": "_elm-tooltip_1b13f_1",
2278
2277
  tooltip: "_tooltip_1b13f_5",
2279
2278
  show: "_show_1b13f_18"
2280
- }, fa = /* @__PURE__ */ m("<span><div>"), pa = (e) => {
2279
+ }, la = /* @__PURE__ */ m("<span><div>"), ua = (e) => {
2281
2280
  let [t, n] = M(e, [
2282
2281
  "class",
2283
2282
  "ref",
@@ -2301,31 +2300,31 @@ var da = {
2301
2300
  left: `${e.x}px`
2302
2301
  }), a(!0);
2303
2302
  }
2304
- B(t.onMouseOver, e);
2303
+ V(t.onMouseOver, e);
2305
2304
  }, v = (e) => {
2306
2305
  m === void 0 && (m = setTimeout(() => {
2307
2306
  m = void 0, a(!1);
2308
- }, 250)), B(t.onMouseLeave, e);
2307
+ }, 250)), V(t.onMouseLeave, e);
2309
2308
  };
2310
2309
  return (() => {
2311
- var e = fa(), a = e.firstChild;
2310
+ var e = la(), a = e.firstChild;
2312
2311
  return h((e) => {
2313
2312
  d = e, typeof t.ref == "function" && t.ref(e);
2314
2313
  }, e), f(e, l(n, {
2315
2314
  get class() {
2316
- return F(da["elm-tooltip"], t.class);
2315
+ return F(ca["elm-tooltip"], t.class);
2317
2316
  },
2318
2317
  onMouseOver: _,
2319
2318
  onMouseLeave: v
2320
2319
  }), !1, !0), s(e, () => t.original, a), s(a, () => t.tooltip), o((e) => {
2321
- var t = F(da.tooltip, i() && da.show), n = c();
2320
+ var t = F(ca.tooltip, i() && ca.show), n = c();
2322
2321
  return t !== e.e && r(a, e.e = t), e.t = p(a, n, e.t), e;
2323
2322
  }, {
2324
2323
  e: void 0,
2325
2324
  t: void 0
2326
2325
  }), e;
2327
2326
  })();
2328
- }, G = {
2327
+ }, da = {
2329
2328
  "elm-button-dropdown": "_elm-button-dropdown_1v68r_1",
2330
2329
  block: "_block_1v68r_7",
2331
2330
  main: "_main_1v68r_11",
@@ -2335,7 +2334,7 @@ var da = {
2335
2334
  item: "_item_1v68r_48",
2336
2335
  selected: "_selected_1v68r_68",
2337
2336
  "item-disabled": "_item-disabled_1v68r_76"
2338
- }, ma = /* @__PURE__ */ m("<div>"), ha = (e) => {
2337
+ }, fa = /* @__PURE__ */ m("<div>"), pa = (e) => {
2339
2338
  let [t, n] = M(O({
2340
2339
  defaultSelectedOptionId: null,
2341
2340
  primary: !0,
@@ -2364,7 +2363,7 @@ var da = {
2364
2363
  "onClick",
2365
2364
  "onItemClick",
2366
2365
  "onOpenChange"
2367
- ]), [a, d] = hn({
2366
+ ]), [a, d] = fn({
2368
2367
  value: () => t.selectedOptionId,
2369
2368
  defaultValue: () => t.defaultSelectedOptionId,
2370
2369
  onChange: (e) => t.onSelectedOptionIdChange?.(e)
@@ -2381,19 +2380,19 @@ var da = {
2381
2380
  e.disabled || (d(e.id), e.onClick?.(), t.onItemClick?.(e), t.autoClose && b(!1));
2382
2381
  };
2383
2382
  return (() => {
2384
- var e = ma();
2383
+ var e = fa();
2385
2384
  return h((e) => {
2386
2385
  y = e, typeof t.ref == "function" && t.ref(e);
2387
2386
  }, e), f(e, l(n, {
2388
2387
  get class() {
2389
- return F(G["elm-button-dropdown"], t.block && G.block, t.class);
2388
+ return F(da["elm-button-dropdown"], t.block && da.block, t.class);
2390
2389
  },
2391
2390
  get style() {
2392
2391
  return t.style;
2393
2392
  }
2394
- }), !1, !0), s(e, i(mn, {
2393
+ }), !1, !0), s(e, i(dn, {
2395
2394
  get class() {
2396
- return F(G.main, G.segment);
2395
+ return F(da.main, da.segment);
2397
2396
  },
2398
2397
  type: "button",
2399
2398
  get primary() {
@@ -2423,13 +2422,13 @@ var da = {
2423
2422
  return e.icon;
2424
2423
  },
2425
2424
  keyed: !0,
2426
- children: (e) => i(Xt, { src: e })
2425
+ children: (e) => i(qt, { src: e })
2427
2426
  }), c(() => e.label)]
2428
2427
  });
2429
2428
  }
2430
- }), null), s(e, i(mn, {
2429
+ }), null), s(e, i(dn, {
2431
2430
  get class() {
2432
- return F(G.caret, G.segment);
2431
+ return F(da.caret, da.segment);
2433
2432
  },
2434
2433
  type: "button",
2435
2434
  get primary() {
@@ -2449,19 +2448,19 @@ var da = {
2449
2448
  return m();
2450
2449
  },
2451
2450
  get children() {
2452
- return i(V, {
2451
+ return i(H, {
2453
2452
  get d() {
2454
2453
  return t.dropdownIcon;
2455
2454
  },
2456
2455
  size: "1.25rem"
2457
2456
  });
2458
2457
  }
2459
- }), null), s(e, i(Ki, {
2458
+ }), null), s(e, i(Ui, {
2460
2459
  get isOpen() {
2461
2460
  return m();
2462
2461
  },
2463
2462
  get class() {
2464
- return G.menu;
2463
+ return da.menu;
2465
2464
  },
2466
2465
  get children() {
2467
2466
  return i(g, {
@@ -2469,10 +2468,10 @@ var da = {
2469
2468
  return t.items;
2470
2469
  },
2471
2470
  children: (e) => (() => {
2472
- var t = ma();
2471
+ var t = fa();
2473
2472
  return t.$$click = (t) => {
2474
2473
  t.stopPropagation(), w(e);
2475
- }, s(t, i(V, {
2474
+ }, s(t, i(H, {
2476
2475
  d: re,
2477
2476
  color: "var(--elmethis-color-primary-weak)",
2478
2477
  size: "0.75em"
@@ -2481,11 +2480,11 @@ var da = {
2481
2480
  return e.icon;
2482
2481
  },
2483
2482
  keyed: !0,
2484
- children: (e) => i(Xt, { src: e })
2485
- }), null), s(t, i(z, { get children() {
2483
+ children: (e) => i(qt, { src: e })
2484
+ }), null), s(t, i(B, { get children() {
2486
2485
  return e.label;
2487
2486
  } }), null), o((n) => {
2488
- var i = F(G.item, qt.text, e.id === a() && G.selected, e.disabled && G["item-disabled"]), o = e.id === a();
2487
+ var i = F(da.item, z.text, e.id === a() && da.selected, e.disabled && da["item-disabled"]), o = e.id === a();
2489
2488
  return i !== n.e && r(t, n.e = i), o !== n.t && u(t, "aria-selected", n.t = o), n;
2490
2489
  }, {
2491
2490
  e: void 0,
@@ -2510,7 +2509,7 @@ var K = {
2510
2509
  fallback: "_fallback_akem7_66",
2511
2510
  pulldown: "_pulldown_akem7_74",
2512
2511
  option: "_option_akem7_59"
2513
- }, ga = /* @__PURE__ */ m("<div><span></span><div><div>"), _a = /* @__PURE__ */ m("<div><span>"), va = /* @__PURE__ */ m("<div>"), ya = (e) => {
2512
+ }, ma = /* @__PURE__ */ m("<div><span></span><div><div>"), ha = /* @__PURE__ */ m("<div><span>"), ga = /* @__PURE__ */ m("<div>"), _a = (e) => {
2514
2513
  let [t, n] = M(e, [
2515
2514
  "ref",
2516
2515
  "class",
@@ -2526,7 +2525,7 @@ var K = {
2526
2525
  "defaultSelectedOptionId",
2527
2526
  "onSelectedOptionIdChange",
2528
2527
  "icon"
2529
- ]), [a, c] = hn({
2528
+ ]), [a, c] = fn({
2530
2529
  value: () => t.selectedOptionId,
2531
2530
  defaultValue: () => t.defaultSelectedOptionId ?? null,
2532
2531
  onChange: (e) => t.onSelectedOptionIdChange?.(e)
@@ -2538,10 +2537,10 @@ var K = {
2538
2537
  document.addEventListener("click", e), A(() => document.removeEventListener("click", e));
2539
2538
  });
2540
2539
  let _ = (e) => {
2541
- B(t.onClick, e), !e.defaultPrevented && !t.disabled && !t.isLoading && p((e) => !e);
2540
+ V(t.onClick, e), !e.defaultPrevented && !t.disabled && !t.isLoading && p((e) => !e);
2542
2541
  };
2543
2542
  return (() => {
2544
- var e = ga(), a = e.firstChild, y = a.nextSibling, b = y.firstChild;
2543
+ var e = ma(), a = e.firstChild, y = a.nextSibling, b = y.firstChild;
2545
2544
  return h((e) => {
2546
2545
  m = e, typeof t.ref == "function" && t.ref(e);
2547
2546
  }, e), f(e, l(n, {
@@ -2552,7 +2551,7 @@ var K = {
2552
2551
  return t.style;
2553
2552
  },
2554
2553
  onClick: _
2555
- }), !1, !0), s(a, () => t.icon ?? i(V, {
2554
+ }), !1, !0), s(a, () => t.icon ?? i(H, {
2556
2555
  d: ne,
2557
2556
  size: "0.75rem"
2558
2557
  }), null), s(a, () => t.label, null), s(b, i(v, {
@@ -2562,26 +2561,26 @@ var K = {
2562
2561
  keyed: !0,
2563
2562
  get fallback() {
2564
2563
  return (() => {
2565
- var e = _a(), n = e.firstChild;
2564
+ var e = ha(), n = e.firstChild;
2566
2565
  return s(n, () => t.placeholder ?? "Select an option"), o(() => r(e, K.fallback)), e;
2567
2566
  })();
2568
2567
  },
2569
2568
  children: (e) => (() => {
2570
- var t = va();
2569
+ var t = ga();
2571
2570
  return s(t, i(v, {
2572
2571
  get when() {
2573
2572
  return e.icon;
2574
2573
  },
2575
2574
  keyed: !0,
2576
- children: (e) => i(Xt, { src: e })
2577
- }), null), s(t, i(z, { get children() {
2575
+ children: (e) => i(qt, { src: e })
2576
+ }), null), s(t, i(B, { get children() {
2578
2577
  return e.label;
2579
2578
  } }), null), o(() => r(t, K["option-content"])), t;
2580
2579
  })()
2581
- })), s(y, i(V, {
2580
+ })), s(y, i(H, {
2582
2581
  d: pe,
2583
2582
  size: "1.5rem"
2584
- }), null), s(y, i(Ki, {
2583
+ }), null), s(y, i(Ui, {
2585
2584
  get isOpen() {
2586
2585
  return d();
2587
2586
  },
@@ -2594,10 +2593,10 @@ var K = {
2594
2593
  return t.options;
2595
2594
  },
2596
2595
  children: (e) => (() => {
2597
- var t = va();
2596
+ var t = ga();
2598
2597
  return t.$$click = (t) => {
2599
2598
  t.stopPropagation(), c(e.id), p(!1);
2600
- }, s(t, i(V, {
2599
+ }, s(t, i(H, {
2601
2600
  d: re,
2602
2601
  color: "var(--elmethis-color-primary-weak)",
2603
2602
  size: "0.75em"
@@ -2606,15 +2605,15 @@ var K = {
2606
2605
  return e.icon;
2607
2606
  },
2608
2607
  keyed: !0,
2609
- children: (e) => i(Xt, { src: e })
2610
- }), null), s(t, i(z, { get children() {
2608
+ children: (e) => i(qt, { src: e })
2609
+ }), null), s(t, i(B, { get children() {
2611
2610
  return e.label;
2612
- } }), null), o(() => r(t, F(K.option, qt.text))), t;
2611
+ } }), null), o(() => r(t, F(K.option, z.text))), t;
2613
2612
  })()
2614
2613
  });
2615
2614
  }
2616
2615
  }), null), o((e) => {
2617
- var t = F(K.label, d() && K["label-active"]), n = K.body, i = F(K["selected-option"], qt.text);
2616
+ var t = F(K.label, d() && K["label-active"]), n = K.body, i = F(K["selected-option"], z.text);
2618
2617
  return t !== e.e && r(a, e.e = t), n !== e.t && r(y, e.t = n), i !== e.a && r(b, e.a = i), e;
2619
2618
  }, {
2620
2619
  e: void 0,
@@ -2626,10 +2625,10 @@ var K = {
2626
2625
  a(["click"]);
2627
2626
  //#endregion
2628
2627
  //#region src/primitives/create-modal.tsx
2629
- var ba = (e = {}) => {
2628
+ var va = (e = {}) => {
2630
2629
  let [t, n] = T(!1), r = () => n(!0), a = () => n(!1);
2631
2630
  return {
2632
- Modal: (n) => i(ea, {
2631
+ Modal: (n) => i(Zi, {
2633
2632
  get isOpen() {
2634
2633
  return t();
2635
2634
  },
@@ -2646,13 +2645,13 @@ var ba = (e = {}) => {
2646
2645
  hide: a,
2647
2646
  toggle: () => n((e) => !e)
2648
2647
  };
2649
- }, xa = {
2648
+ }, ya = {
2650
2649
  "elm-block-image": "_elm-block-image_cvjuh_1",
2651
2650
  "image-container": "_image-container_cvjuh_11",
2652
2651
  image: "_image_cvjuh_11",
2653
2652
  "caption-box": "_caption-box_cvjuh_33",
2654
2653
  "caption-icon": "_caption-icon_cvjuh_41"
2655
- }, Sa = /* @__PURE__ */ m("<img>", !0, !1, !1), Ca = /* @__PURE__ */ m("<figure><div>"), wa = /* @__PURE__ */ m("<figcaption><span>"), Ta = (e) => {
2654
+ }, ba = /* @__PURE__ */ m("<img>", !0, !1, !1), xa = /* @__PURE__ */ m("<figure><div>"), Sa = /* @__PURE__ */ m("<figcaption><span>"), Ca = (e) => {
2656
2655
  let [n, a] = M(O({ enableModal: !0 }, e), [
2657
2656
  "class",
2658
2657
  "children",
@@ -2664,12 +2663,12 @@ var ba = (e = {}) => {
2664
2663
  "caption",
2665
2664
  "width",
2666
2665
  "height"
2667
- ]), { Modal: p, isOpen: m, show: h, hide: g } = ba(), _ = () => {
2666
+ ]), { Modal: p, isOpen: m, show: h, hide: g } = va(), _ = () => {
2668
2667
  n.enableModal && h();
2669
2668
  }, y = (e) => (() => {
2670
- var i = Sa();
2669
+ var i = ba();
2671
2670
  return t(i, "click", e ? g : void 0, !0), u(i, "loading", e ? "lazy" : void 0), u(i, "fetchpriority", e ? "low" : "auto"), o((t) => {
2672
- var a = xa.image, o = n.src, s = n.alt ?? n.caption ?? "Image", c = e ? void 0 : n.srcSet, l = e ? void 0 : n.sizes, f = n.width, p = n.height, h = n.enableModal ? m() ? "zoom-out" : "zoom-in" : "default", g = n.width && n.height ? `${n.width} / ${n.height}` : "auto";
2671
+ var a = ya.image, o = n.src, s = n.alt ?? n.caption ?? "Image", c = e ? void 0 : n.srcSet, l = e ? void 0 : n.sizes, f = n.width, p = n.height, h = n.enableModal ? m() ? "zoom-out" : "zoom-in" : "default", g = n.width && n.height ? `${n.width} / ${n.height}` : "auto";
2673
2672
  return a !== t.e && r(i, t.e = a), o !== t.t && u(i, "src", t.t = o), s !== t.a && u(i, "alt", t.a = s), c !== t.o && u(i, "srcset", t.o = c), l !== t.i && u(i, "sizes", t.i = l), f !== t.n && u(i, "width", t.n = f), p !== t.s && u(i, "height", t.s = p), h !== t.h && d(i, "--elmethis-scoped-cursor", t.h = h), g !== t.r && d(i, "--elmethis-scoped-aspect-ratio", t.r = g), t;
2674
2673
  }, {
2675
2674
  e: void 0,
@@ -2684,25 +2683,25 @@ var ba = (e = {}) => {
2684
2683
  }), i;
2685
2684
  })();
2686
2685
  return (() => {
2687
- var e = Ca(), t = e.firstChild;
2686
+ var e = xa(), t = e.firstChild;
2688
2687
  return f(e, l(a, { get class() {
2689
- return F(xa["elm-block-image"], n.class);
2688
+ return F(ya["elm-block-image"], n.class);
2690
2689
  } }), !1, !0), t.$$click = _, s(t, () => y(!1)), s(e, i(v, {
2691
2690
  get when() {
2692
2691
  return n.caption;
2693
2692
  },
2694
2693
  children: (e) => (() => {
2695
- var t = wa(), n = t.firstChild;
2696
- return s(n, i(V, {
2694
+ var t = Sa(), n = t.firstChild;
2695
+ return s(n, i(H, {
2697
2696
  d: L,
2698
2697
  size: "1.25rem"
2699
- })), s(t, i(z, {
2698
+ })), s(t, i(B, {
2700
2699
  size: "1rem",
2701
2700
  get children() {
2702
2701
  return e();
2703
2702
  }
2704
2703
  }), null), o((e) => {
2705
- var i = xa["caption-box"], a = xa["caption-icon"];
2704
+ var i = ya["caption-box"], a = ya["caption-icon"];
2706
2705
  return i !== e.e && r(t, e.e = i), a !== e.t && r(n, e.t = a), e;
2707
2706
  }, {
2708
2707
  e: void 0,
@@ -2711,11 +2710,11 @@ var ba = (e = {}) => {
2711
2710
  })()
2712
2711
  }), null), s(e, i(p, { get children() {
2713
2712
  return c(() => !!m())() && y(!0);
2714
- } }), null), o(() => r(t, xa["image-container"])), e;
2713
+ } }), null), o(() => r(t, ya["image-container"])), e;
2715
2714
  })();
2716
2715
  };
2717
2716
  a(["click"]);
2718
- var Ea = {
2717
+ var wa = {
2719
2718
  "elm-table-frame": "_elm-table-frame_19sta_2",
2720
2719
  "elm-table-scroll": "_elm-table-scroll_19sta_45",
2721
2720
  "elm-table": "_elm-table_19sta_2",
@@ -2723,7 +2722,7 @@ var Ea = {
2723
2722
  "caption-inner": "_caption-inner_19sta_73",
2724
2723
  spacing: "_spacing_19sta_80",
2725
2724
  "sticky-row-header": "_sticky-row-header_19sta_86"
2726
- }, Da = x(() => !1), Oa = x(() => "body"), ka = /* @__PURE__ */ m("<div><div><table>"), Aa = /* @__PURE__ */ m("<caption><span><span></span><span></span><span>"), ja = (e) => {
2725
+ }, Ta = x(() => !1), Ea = x(() => "body"), Da = /* @__PURE__ */ m("<div><div><table>"), Oa = /* @__PURE__ */ m("<caption><span><span></span><span></span><span>"), ka = (e) => {
2727
2726
  let [t, n] = M(e, [
2728
2727
  "class",
2729
2728
  "caption",
@@ -2742,24 +2741,24 @@ var Ea = {
2742
2741
  n?.observe(e), A(() => {
2743
2742
  e.removeEventListener("scroll", t), n?.disconnect();
2744
2743
  });
2745
- }), i(Da.Provider, {
2744
+ }), i(Ta.Provider, {
2746
2745
  value: _,
2747
2746
  get children() {
2748
- var e = ka(), c = e.firstChild, p = c.firstChild;
2747
+ var e = Da(), c = e.firstChild, p = c.firstChild;
2749
2748
  return h((e) => {
2750
2749
  y = e;
2751
2750
  }, c), f(p, l(n, { get class() {
2752
- return F(Ea["elm-table"], qt.text, t.hasRowHeader && Ea["sticky-row-header"], t.class);
2751
+ return F(wa["elm-table"], z.text, t.hasRowHeader && wa["sticky-row-header"], t.class);
2753
2752
  } }), !1, !0), s(p, i(v, {
2754
2753
  get when() {
2755
2754
  return t.caption;
2756
2755
  },
2757
2756
  children: (e) => (() => {
2758
- var t = Aa(), n = t.firstChild, a = n.firstChild, c = a.nextSibling, l = c.nextSibling;
2759
- return s(c, i(z, { get children() {
2757
+ var t = Oa(), n = t.firstChild, a = n.firstChild, c = a.nextSibling, l = c.nextSibling;
2758
+ return s(c, i(B, { get children() {
2760
2759
  return e();
2761
2760
  } })), o((e) => {
2762
- var t = Ea.caption, i = Ea.spacing, o = Ea["caption-inner"], s = Ea.spacing;
2761
+ var t = wa.caption, i = wa.spacing, o = wa["caption-inner"], s = wa.spacing;
2763
2762
  return t !== e.e && r(n, e.e = t), i !== e.t && r(a, e.t = i), o !== e.a && r(c, e.a = o), s !== e.o && r(l, e.o = s), e;
2764
2763
  }, {
2765
2764
  e: void 0,
@@ -2769,7 +2768,7 @@ var Ea = {
2769
2768
  }), t;
2770
2769
  })()
2771
2770
  }), null), s(p, () => t.children, null), o((n) => {
2772
- var i = Ea["elm-table-frame"], o = a() && !d() ? "" : void 0, s = a() && !m() ? "" : void 0, l = Ea["elm-table-scroll"], f = a() ? 0 : void 0, p = a() && t.caption != null ? "region" : void 0, h = a() && t.caption != null ? t.caption : void 0;
2771
+ var i = wa["elm-table-frame"], o = a() && !d() ? "" : void 0, s = a() && !m() ? "" : void 0, l = wa["elm-table-scroll"], f = a() ? 0 : void 0, p = a() && t.caption != null ? "region" : void 0, h = a() && t.caption != null ? t.caption : void 0;
2773
2772
  return i !== n.e && r(e, n.e = i), o !== n.t && u(e, "data-overflow-start", n.t = o), s !== n.a && u(e, "data-overflow-end", n.a = s), l !== n.o && r(c, n.o = l), f !== n.i && u(c, "tabindex", n.i = f), p !== n.n && u(c, "role", n.n = p), h !== n.s && u(c, "aria-label", n.s = h), n;
2774
2773
  }, {
2775
2774
  e: void 0,
@@ -2782,20 +2781,20 @@ var Ea = {
2782
2781
  }), e;
2783
2782
  }
2784
2783
  });
2785
- }, Ma = /* @__PURE__ */ m("<tbody>"), Na = (e) => {
2784
+ }, Aa = /* @__PURE__ */ m("<tbody>"), ja = (e) => {
2786
2785
  let [t, n] = M(e, ["children"]);
2787
- return i(Oa.Provider, {
2786
+ return i(Ea.Provider, {
2788
2787
  value: () => "body",
2789
2788
  get children() {
2790
- var e = Ma();
2789
+ var e = Aa();
2791
2790
  return f(e, n, !1, !0), s(e, () => t.children), e;
2792
2791
  }
2793
2792
  });
2794
- }, Pa = {
2793
+ }, Ma = {
2795
2794
  "elm-table-cell": "_elm-table-cell_1a21f_1",
2796
2795
  td: "_td_1a21f_20",
2797
2796
  th: "_th_1a21f_25"
2798
- }, Fa = (t) => {
2797
+ }, Na = (t) => {
2799
2798
  let [n, r] = M(t, [
2800
2799
  "class",
2801
2800
  "children",
@@ -2803,12 +2802,12 @@ var Ea = {
2803
2802
  "columnIndex",
2804
2803
  "text",
2805
2804
  "scope"
2806
- ]), a = P(Oa), o = P(Da), s = C(() => a() === "head"), u = C(() => !s() && !n.isHeader && n.columnIndex === 0 && o()), d = C(() => s() || !!n.isHeader || u()), f = C(() => d() ? n.scope ?? (s() ? "col" : u() ? "row" : void 0) : void 0);
2805
+ ]), a = P(Ea), o = P(Ta), s = C(() => a() === "head"), u = C(() => !s() && !n.isHeader && n.columnIndex === 0 && o()), d = C(() => s() || !!n.isHeader || u()), f = C(() => d() ? n.scope ?? (s() ? "col" : u() ? "row" : void 0) : void 0);
2807
2806
  return i(e, l({ get component() {
2808
2807
  return d() ? "th" : "td";
2809
2808
  } }, r, {
2810
2809
  get class() {
2811
- return F(Pa["elm-table-cell"], d() ? Pa.th : Pa.td, n.class);
2810
+ return F(Ma["elm-table-cell"], d() ? Ma.th : Ma.td, n.class);
2812
2811
  },
2813
2812
  get scope() {
2814
2813
  return f();
@@ -2817,28 +2816,30 @@ var Ea = {
2817
2816
  return c(() => n.text != null)() ? n.text : n.children;
2818
2817
  }
2819
2818
  }));
2820
- }, Ia = { "elm-table-header": "_elm-table-header_jhft7_1" }, La = /* @__PURE__ */ m("<thead>"), Ra = (e) => {
2819
+ }, Pa = { "elm-table-header": "_elm-table-header_jhft7_1" }, Fa = /* @__PURE__ */ m("<thead>"), Ia = (e) => {
2821
2820
  let [t, n] = M(e, ["class", "children"]);
2822
- return i(Oa.Provider, {
2821
+ return i(Ea.Provider, {
2823
2822
  value: () => "head",
2824
2823
  get children() {
2825
- var e = La();
2824
+ var e = Fa();
2826
2825
  return f(e, l(n, { get class() {
2827
- return F(Ia["elm-table-header"], t.class);
2826
+ return F(Pa["elm-table-header"], t.class);
2828
2827
  } }), !1, !0), s(e, () => t.children), e;
2829
2828
  }
2830
2829
  });
2831
- }, za = { "elm-table-row": "_elm-table-row_mkm0q_1" }, Ba = /* @__PURE__ */ m("<tr>"), Va = (e) => {
2830
+ }, La = { "elm-table-row": "_elm-table-row_mkm0q_1" }, Ra = /* @__PURE__ */ m("<tr>"), za = (e) => {
2832
2831
  let [t, n] = M(e, ["class", "children"]);
2833
2832
  return (() => {
2834
- var e = Ba();
2833
+ var e = Ra();
2835
2834
  return f(e, l(n, { get class() {
2836
- return F(za["elm-table-row"], t.class);
2835
+ return F(La["elm-table-row"], t.class);
2837
2836
  } }), !1, !0), s(e, () => t.children), e;
2838
2837
  })();
2839
- }, Ha = { "elm-shiki-highlighter": "_elm-shiki-highlighter_slumv_1" }, Ua = /* @__PURE__ */ m("<pre>"), Wa = (e) => {
2840
- let t = e.trim().toLowerCase();
2841
- return t in ot ? t : "text";
2838
+ }, Ba = { "elm-shiki-highlighter": "_elm-shiki-highlighter_slumv_1" }, Va = /* @__PURE__ */ m("<pre>"), Ha, Ua = () => Ha ?? (Ha = import("shiki").catch((e) => {
2839
+ throw Ha = void 0, e;
2840
+ })), Wa = (e, t) => {
2841
+ let n = e.trim().toLowerCase();
2842
+ return n in t ? n : "text";
2842
2843
  }, Ga = (e) => e.replaceAll("&", "&amp;").replaceAll("<", "&lt;"), Ka = (e) => {
2843
2844
  let [t, n] = M(O({ language: "txt" }, e), [
2844
2845
  "class",
@@ -2847,7 +2848,7 @@ var Ea = {
2847
2848
  ]), [r, i] = T(Ga(N(() => t.code))), a = 0, o = !1;
2848
2849
  return j(() => {
2849
2850
  S(() => {
2850
- let e = t.code, n = Wa(t.language), r = ++a;
2851
+ let e = t.code, n = t.language, r = ++a, s = () => o || r !== a;
2851
2852
  if (!e) {
2852
2853
  i("");
2853
2854
  return;
@@ -2855,15 +2856,18 @@ var Ea = {
2855
2856
  (async () => {
2856
2857
  let t;
2857
2858
  try {
2858
- if (t = await st({
2859
- themes: [ct, lt],
2860
- langs: n === "text" ? [] : [n]
2861
- }), o || r !== a) return;
2862
- let s = t.codeToHtml(e, {
2863
- lang: n,
2859
+ let { bundledLanguages: r, createHighlighter: a } = await Ua();
2860
+ if (s()) return;
2861
+ let o = Wa(n, r);
2862
+ if (t = await a({
2863
+ themes: [ot, st],
2864
+ langs: o === "text" ? [] : [o]
2865
+ }), s()) return;
2866
+ let c = t.codeToHtml(e, {
2867
+ lang: o,
2864
2868
  themes: {
2865
- dark: ct,
2866
- light: lt
2869
+ dark: ot,
2870
+ light: st
2867
2871
  },
2868
2872
  defaultColor: !1,
2869
2873
  colorReplacements: {
@@ -2871,9 +2875,9 @@ var Ea = {
2871
2875
  "#121212": "transparent"
2872
2876
  }
2873
2877
  });
2874
- !o && r === a && i(s);
2878
+ s() || i(c);
2875
2879
  } catch {
2876
- !o && r === a && i(`<pre>${Ga(e)}</pre>`);
2880
+ s() || i(`<pre>${Ga(e)}</pre>`);
2877
2881
  } finally {
2878
2882
  t?.dispose();
2879
2883
  }
@@ -2882,10 +2886,10 @@ var Ea = {
2882
2886
  }), A(() => {
2883
2887
  o = !0, a += 1;
2884
2888
  }), (() => {
2885
- var e = Ua();
2889
+ var e = Va();
2886
2890
  return f(e, l(n, {
2887
2891
  get class() {
2888
- return F(Ha["elm-shiki-highlighter"], t.class);
2892
+ return F(Ba["elm-shiki-highlighter"], t.class);
2889
2893
  },
2890
2894
  get innerHTML() {
2891
2895
  return r();
@@ -2911,11 +2915,11 @@ var Ea = {
2911
2915
  var e = Ja(), a = e.firstChild, u = a.nextSibling, d = u.nextSibling, p = d.nextSibling, m = p.nextSibling;
2912
2916
  return f(e, l(n, { get class() {
2913
2917
  return F(qa["elm-code-block"], t.class);
2914
- } }), !1, !0), s(a, i(Bn, { get language() {
2918
+ } }), !1, !0), s(a, i(Ln, { get language() {
2915
2919
  return t.language;
2916
- } })), s(u, i(z, { get children() {
2920
+ } })), s(u, i(B, { get children() {
2917
2921
  return [c(() => t.caption || t.language), c(() => t.children)];
2918
- } })), s(d, i(Pn, { get content() {
2922
+ } })), s(d, i(jn, { get content() {
2919
2923
  return t.code;
2920
2924
  } })), s(m, i(Ka, {
2921
2925
  get code() {
@@ -2943,7 +2947,7 @@ var Ea = {
2943
2947
  }), to = (e) => "tokens" in e && Array.isArray(e.tokens) ? e.tokens : [], no = (e) => "text" in e && typeof e.text == "string" ? e.text : "", ro = (e) => {
2944
2948
  let t = to(e), n = () => t.length > 0 ? i(eo, { tokens: t }) : no(e);
2945
2949
  switch (e.type) {
2946
- case "blockquote": return t.length > 0 ? i(Qr, { get children() {
2950
+ case "blockquote": return t.length > 0 ? i(Yr, { get children() {
2947
2951
  return i(eo, { tokens: t });
2948
2952
  } }) : void 0;
2949
2953
  case "br": return Za();
@@ -2955,26 +2959,26 @@ var Ea = {
2955
2959
  return e.lang ?? "txt";
2956
2960
  }
2957
2961
  });
2958
- case "codespan": return i(z, {
2962
+ case "codespan": return i(B, {
2959
2963
  code: !0,
2960
2964
  get children() {
2961
2965
  return e.text;
2962
2966
  }
2963
2967
  });
2964
- case "del": return i(z, {
2968
+ case "del": return i(B, {
2965
2969
  strikethrough: !0,
2966
2970
  get children() {
2967
2971
  return n();
2968
2972
  }
2969
2973
  });
2970
- case "em": return i(z, {
2974
+ case "em": return i(B, {
2971
2975
  italic: !0,
2972
2976
  get children() {
2973
2977
  return n();
2974
2978
  }
2975
2979
  });
2976
2980
  case "escape": return e.text;
2977
- case "heading": return i(mi, {
2981
+ case "heading": return i(di, {
2978
2982
  get level() {
2979
2983
  return e.depth;
2980
2984
  },
@@ -2982,9 +2986,9 @@ var Ea = {
2982
2986
  return n();
2983
2987
  }
2984
2988
  });
2985
- case "hr": return i(ai, {});
2989
+ case "hr": return i(ni, {});
2986
2990
  case "html": return;
2987
- case "image": return i(Ta, {
2991
+ case "image": return i(Ca, {
2988
2992
  enableModal: !0,
2989
2993
  get src() {
2990
2994
  return e.href;
@@ -2993,7 +2997,7 @@ var Ea = {
2993
2997
  return e.text;
2994
2998
  }
2995
2999
  });
2996
- case "link": return i(z, {
3000
+ case "link": return i(B, {
2997
3001
  get href() {
2998
3002
  return e.href;
2999
3003
  },
@@ -3001,7 +3005,7 @@ var Ea = {
3001
3005
  return n();
3002
3006
  }
3003
3007
  });
3004
- case "list": return i(gi, {
3008
+ case "list": return i(pi, {
3005
3009
  get listStyle() {
3006
3010
  return e.ordered ? "ordered" : "unordered";
3007
3011
  },
@@ -3026,38 +3030,38 @@ var Ea = {
3026
3030
  return () => n() ? i(eo, { tokens: t }) : e.text;
3027
3031
  })()), n;
3028
3032
  })();
3029
- case "paragraph": return i(yi, { get children() {
3033
+ case "paragraph": return i(gi, { get children() {
3030
3034
  return n();
3031
3035
  } });
3032
- case "strong": return i(z, {
3036
+ case "strong": return i(B, {
3033
3037
  bold: !0,
3034
3038
  get children() {
3035
3039
  return n();
3036
3040
  }
3037
3041
  });
3038
- case "table": return i(ja, { get children() {
3039
- return [i(Ra, { get children() {
3040
- return i(Va, { get children() {
3042
+ case "table": return i(ka, { get children() {
3043
+ return [i(Ia, { get children() {
3044
+ return i(za, { get children() {
3041
3045
  return i(g, {
3042
3046
  get each() {
3043
3047
  return e.header;
3044
3048
  },
3045
- children: (e) => i(Fa, { get children() {
3049
+ children: (e) => i(Na, { get children() {
3046
3050
  return i(eo, { get tokens() {
3047
3051
  return e.tokens;
3048
3052
  } });
3049
3053
  } })
3050
3054
  });
3051
3055
  } });
3052
- } }), i(Na, { get children() {
3056
+ } }), i(ja, { get children() {
3053
3057
  return i(g, {
3054
3058
  get each() {
3055
3059
  return e.rows;
3056
3060
  },
3057
- children: (e) => i(Va, { get children() {
3061
+ children: (e) => i(za, { get children() {
3058
3062
  return i(g, {
3059
3063
  each: e,
3060
- children: (e) => i(Fa, { get children() {
3064
+ children: (e) => i(Na, { get children() {
3061
3065
  return i(eo, { get tokens() {
3062
3066
  return e.tokens;
3063
3067
  } });
@@ -3076,7 +3080,7 @@ var Ea = {
3076
3080
  "markdown",
3077
3081
  "isStreaming"
3078
3082
  ]), r = [], a = C(() => {
3079
- let e = t.markdown, n = ut.lexer(e, { gfm: !0 });
3083
+ let e = t.markdown, n = ct.lexer(e, { gfm: !0 });
3080
3084
  if (!(t.isStreaming && n.length > 0)) return r = n, {
3081
3085
  stable: n,
3082
3086
  tail: []
@@ -3341,10 +3345,10 @@ var ho = (e) => {
3341
3345
  var e = vo(), a = e.firstChild, c = a.firstChild, p = c.nextSibling, m = a.nextSibling, h = m.nextSibling;
3342
3346
  return f(e, l(n, { get class() {
3343
3347
  return F(_o["elm-html-viewer"], t.class);
3344
- } }), !1, !0), c.$$click = d, s(c, i(V, {
3348
+ } }), !1, !0), c.$$click = d, s(c, i(H, {
3345
3349
  d: oe,
3346
3350
  size: "1.25rem"
3347
- })), p.$$click = u, s(p, i(V, {
3351
+ })), p.$$click = u, s(p, i(H, {
3348
3352
  d: he,
3349
3353
  size: "1.25rem"
3350
3354
  })), s(h, i(go, {
@@ -3454,7 +3458,7 @@ var q = {
3454
3458
  ]), a = () => t.min ?? 0, c = () => t.max ?? 100, u = () => t.step ?? 1, m = () => t.orientation ?? "horizontal", _ = C(() => Math.min(a(), c())), y = C(() => Math.max(a(), c())), b = C(() => To(t.innerMin ?? _(), _(), y())), x = C(() => To(t.innerMax ?? y(), b(), y())), w = (e) => To(Eo(e), b(), x()), E = (e) => {
3455
3459
  let t = Math.abs(u());
3456
3460
  return w(t === 0 ? e : a() + Math.round((e - a()) / t) * t);
3457
- }, D = (e) => c() === a() ? 0 : To((e - a()) / (c() - a()), 0, 1), [O, k] = hn({
3461
+ }, D = (e) => c() === a() ? 0 : To((e - a()) / (c() - a()), 0, 1), [O, k] = fn({
3458
3462
  value: () => t.value,
3459
3463
  defaultValue: () => w(t.defaultValue ?? (b() + x()) / 2),
3460
3464
  onChange: (e) => t.onValueChange?.(e)
@@ -3491,21 +3495,21 @@ var q = {
3491
3495
  let n = pe.getBoundingClientRect(), r = m() === "vertical" ? n.height === 0 ? 0 : To((n.bottom - t) / n.height, 0, 1) : n.width === 0 ? 0 : To((e - n.left) / n.width, 0, 1);
3492
3496
  return E(a() + r * (c() - a()));
3493
3497
  }, ve = (e) => {
3494
- t.disabled || (L !== void 0 && L !== e.pointerId && ge(), e.currentTarget.setPointerCapture(e.pointerId), L = e.pointerId, k(_e(e.clientX, e.clientY)), B(t.onPointerDown, e));
3498
+ t.disabled || (L !== void 0 && L !== e.pointerId && ge(), e.currentTarget.setPointerCapture(e.pointerId), L = e.pointerId, k(_e(e.clientX, e.clientY)), V(t.onPointerDown, e));
3495
3499
  }, ye = (e) => {
3496
3500
  if (!t.disabled) {
3497
3501
  if (L !== e.pointerId || !e.currentTarget.hasPointerCapture(e.pointerId)) {
3498
- B(t.onPointerMove, e);
3502
+ V(t.onPointerMove, e);
3499
3503
  return;
3500
3504
  }
3501
- k(_e(e.clientX, e.clientY)), B(t.onPointerMove, e);
3505
+ k(_e(e.clientX, e.clientY)), V(t.onPointerMove, e);
3502
3506
  }
3503
3507
  }, be = (e) => {
3504
- t.disabled || (ge(e.pointerId), B(t.onPointerUp, e));
3508
+ t.disabled || (ge(e.pointerId), V(t.onPointerUp, e));
3505
3509
  }, xe = (e) => {
3506
- t.disabled || (ge(e.pointerId), B(t.onPointerCancel, e));
3510
+ t.disabled || (ge(e.pointerId), V(t.onPointerCancel, e));
3507
3511
  }, Se = (e) => {
3508
- L === e.pointerId && (L = void 0), t.disabled || B(t.onLostPointerCapture, e);
3512
+ L === e.pointerId && (L = void 0), t.disabled || V(t.onLostPointerCapture, e);
3509
3513
  }, Ce = (e) => {
3510
3514
  if (t.disabled) return;
3511
3515
  let n = Math.abs(u());
@@ -3531,7 +3535,7 @@ var q = {
3531
3535
  e.preventDefault(), k(x());
3532
3536
  break;
3533
3537
  }
3534
- B(t.onKeyDown, e);
3538
+ V(t.onKeyDown, e);
3535
3539
  };
3536
3540
  return (() => {
3537
3541
  var e = xo(), a = e.firstChild, c = a.firstChild, u = c.firstChild, _ = u.nextSibling, y = _.nextSibling, S = c.nextSibling;
@@ -3665,7 +3669,7 @@ var q = {
3665
3669
  };
3666
3670
  return (() => {
3667
3671
  var e = Mo(), u = e.firstChild, m = u.firstChild, g = u.nextSibling, w = g.firstChild, T = g.nextSibling;
3668
- return s(u, () => t.icon ?? i(V, {
3672
+ return s(u, () => t.icon ?? i(H, {
3669
3673
  d: xe,
3670
3674
  size: "0.75rem"
3671
3675
  }), m), s(m, () => t.label, null), s(m, i(v, {
@@ -3681,7 +3685,7 @@ var q = {
3681
3685
  return _();
3682
3686
  },
3683
3687
  get children() {
3684
- return i(z, {
3688
+ return i(B, {
3685
3689
  get color() {
3686
3690
  return t.maxLength != null && y() > t.maxLength ? "var(--elmethis-color-accent-error)" : "gray";
3687
3691
  },
@@ -3788,7 +3792,7 @@ var q = {
3788
3792
  };
3789
3793
  return (() => {
3790
3794
  var e = Fo(), m = e.firstChild, T = m.firstChild, E = m.nextSibling, D = E.firstChild, O = D.nextSibling, k = O.firstChild, A = k.nextSibling, j = A.nextSibling, M = E.nextSibling;
3791
- return s(m, () => t.icon ?? i(V, {
3795
+ return s(m, () => t.icon ?? i(H, {
3792
3796
  d: be,
3793
3797
  size: "0.75rem"
3794
3798
  }), T), s(T, () => t.label, null), s(T, i(v, {
@@ -3804,7 +3808,7 @@ var q = {
3804
3808
  return t.value != null;
3805
3809
  },
3806
3810
  get children() {
3807
- return i(z, {
3811
+ return i(B, {
3808
3812
  get color() {
3809
3813
  return t.maxLength != null && String(t.value).length > t.maxLength ? "var(--elmethis-color-accent-error)" : "gray";
3810
3814
  },
@@ -3862,17 +3866,17 @@ var q = {
3862
3866
  return t.suffix != null;
3863
3867
  },
3864
3868
  get children() {
3865
- return i(z, { get children() {
3869
+ return i(B, { get children() {
3866
3870
  return t.suffix;
3867
3871
  } });
3868
3872
  }
3869
- })), A.$$click = () => _((e) => e === "text" ? "password" : "text"), s(A, i(V, {
3873
+ })), A.$$click = () => _((e) => e === "text" ? "password" : "text"), s(A, i(H, {
3870
3874
  get d() {
3871
3875
  return g() === "text" ? ce : se;
3872
3876
  },
3873
3877
  size: "1.25rem",
3874
3878
  color: "gray"
3875
- })), j.$$click = () => b(""), s(j, i(V, {
3879
+ })), j.$$click = () => b(""), s(j, i(H, {
3876
3880
  d: Se,
3877
3881
  size: "1.25rem",
3878
3882
  color: "gray"
@@ -4026,7 +4030,7 @@ var Y = {
4026
4030
  E(e.currentTarget.duration), N(e.currentTarget.volume), te(e.currentTarget.muted), y(!1);
4027
4031
  }), h((e) => {
4028
4032
  a = e;
4029
- }, S), s(T, i(V, {
4033
+ }, S), s(T, i(H, {
4030
4034
  get d() {
4031
4035
  return b() ? ee : me;
4032
4036
  },
@@ -4041,7 +4045,7 @@ var Y = {
4041
4045
  var e = c(() => !!b());
4042
4046
  return () => e() ? (() => {
4043
4047
  var e = Bo(), n = e.firstChild;
4044
- return s(e, i(V, {
4048
+ return s(e, i(H, {
4045
4049
  d: ee,
4046
4050
  size: "1.25rem"
4047
4051
  }), n), s(n, () => t.errorMessage), o((t) => {
@@ -4070,18 +4074,18 @@ var Y = {
4070
4074
  }), e;
4071
4075
  })(), (() => {
4072
4076
  var e = Ho(), n = e.firstChild, a = n.nextSibling, c = a.firstChild, l = c.nextSibling, f = l.nextSibling, p = a.nextSibling, m = p.firstChild, h = m.nextSibling, _ = p.nextSibling;
4073
- return s(n, () => Uo(D())), c.$$click = () => I(D() - t.seekStep), s(c, i(V, {
4077
+ return s(n, () => Uo(D())), c.$$click = () => I(D() - t.seekStep), s(c, i(H, {
4074
4078
  d: ye,
4075
4079
  size: "1.25rem"
4076
- })), l.$$click = de, s(l, i(V, {
4080
+ })), l.$$click = de, s(l, i(H, {
4077
4081
  get d() {
4078
4082
  return g() ? ge : _e;
4079
4083
  },
4080
4084
  size: "1.5rem"
4081
- })), f.$$click = () => I(D() + t.seekStep), s(f, i(V, {
4085
+ })), f.$$click = () => I(D() + t.seekStep), s(f, i(H, {
4082
4086
  d: le,
4083
4087
  size: "1.25rem"
4084
- })), m.$$click = be, s(m, i(V, {
4088
+ })), m.$$click = be, s(m, i(H, {
4085
4089
  get d() {
4086
4090
  return oe();
4087
4091
  },
@@ -4431,7 +4435,7 @@ function Q(e, t) {
4431
4435
  }
4432
4436
  var ls = class e {
4433
4437
  constructor(e = [], t = []) {
4434
- Li(this, "components", void 0), Li(this, "functions", void 0);
4438
+ Pi(this, "components", void 0), Pi(this, "functions", void 0);
4435
4439
  let n = /* @__PURE__ */ new Map();
4436
4440
  for (let t of e) n.set(t.name, t);
4437
4441
  this.components = n, this.functions = [...t];
@@ -4451,7 +4455,7 @@ var ls = class e {
4451
4455
  return new e(n.values(), [...r.values()]);
4452
4456
  }
4453
4457
  toCatalog(e) {
4454
- return new dt(e, [...this.components.values()], [...this.functions]);
4458
+ return new lt(e, [...this.components.values()], [...this.functions]);
4455
4459
  }
4456
4460
  }, us = {
4457
4461
  start: "flex-start",
@@ -4502,9 +4506,9 @@ var ls = class e {
4502
4506
  }), t;
4503
4507
  }
4504
4508
  }), Is = new ls([
4505
- Q(jt, (e) => i(y, {
4509
+ Q(kt, (e) => i(y, {
4506
4510
  get fallback() {
4507
- return i(mi, {
4511
+ return i(di, {
4508
4512
  get level() {
4509
4513
  return Ps(e.props.variant ?? "h1");
4510
4514
  },
@@ -4519,7 +4523,7 @@ var ls = class e {
4519
4523
  return e.props.variant === "caption";
4520
4524
  },
4521
4525
  get children() {
4522
- return i(z, { get children() {
4526
+ return i(B, { get children() {
4523
4527
  return e.props.text;
4524
4528
  } });
4525
4529
  }
@@ -4528,14 +4532,14 @@ var ls = class e {
4528
4532
  return (e.props.variant ?? "body") === "body";
4529
4533
  },
4530
4534
  get children() {
4531
- return i(yi, { get children() {
4535
+ return i(gi, { get children() {
4532
4536
  return e.props.text;
4533
4537
  } });
4534
4538
  }
4535
4539
  })];
4536
4540
  }
4537
4541
  })),
4538
- Q(Ot, (e) => (() => {
4542
+ Q(Et, (e) => (() => {
4539
4543
  var t = hs();
4540
4544
  return s(t, i(g, {
4541
4545
  get each() {
@@ -4557,7 +4561,7 @@ var ls = class e {
4557
4561
  a: void 0
4558
4562
  }), t;
4559
4563
  })()),
4560
- Q(xt, (e) => (() => {
4564
+ Q(yt, (e) => (() => {
4561
4565
  var t = hs();
4562
4566
  return s(t, i(g, {
4563
4567
  get each() {
@@ -4572,7 +4576,7 @@ var ls = class e {
4572
4576
  })
4573
4577
  })), o(() => r(t, Z.column)), t;
4574
4578
  })()),
4575
- Q(Et, (e) => (() => {
4579
+ Q(wt, (e) => (() => {
4576
4580
  var t = hs();
4577
4581
  return s(t, i(g, {
4578
4582
  get each() {
@@ -4596,11 +4600,11 @@ var ls = class e {
4596
4600
  t: void 0
4597
4601
  }), t;
4598
4602
  })()),
4599
- Q(vt, (e) => (() => {
4603
+ Q(gt, (e) => (() => {
4600
4604
  var t = hs();
4601
4605
  return s(t, () => e.renderChild(e.props.child)), o(() => r(t, Z.card)), t;
4602
4606
  })()),
4603
- Q(_t, (e) => {
4607
+ Q(ht, (e) => {
4604
4608
  let t = () => `${e.instanceId}-errors`, a = () => e.props.isValid === !1;
4605
4609
  return (() => {
4606
4610
  var c = gs(), l = c.firstChild;
@@ -4631,7 +4635,7 @@ var ls = class e {
4631
4635
  }), c;
4632
4636
  })();
4633
4637
  }),
4634
- Q(Tt, (e) => (() => {
4638
+ Q(Ct, (e) => (() => {
4635
4639
  var t = _s();
4636
4640
  return o((n) => {
4637
4641
  var i = Z.image, a = e.props.url, o = e.props.description ?? "", s = fs[e.props.fit ?? "cover"];
@@ -4643,7 +4647,7 @@ var ls = class e {
4643
4647
  o: void 0
4644
4648
  }), t;
4645
4649
  })()),
4646
- Q(wt, (e) => {
4650
+ Q(St, (e) => {
4647
4651
  let t = C(() => typeof e.props.name == "string" ? e.props.name : "custom"), n = C(() => typeof e.props.name == "object" && e.props.name != null && "svgPath" in e.props.name ? e.props.name.svgPath : void 0);
4648
4652
  return i(v, {
4649
4653
  get when() {
@@ -4675,7 +4679,7 @@ var ls = class e {
4675
4679
  })()
4676
4680
  });
4677
4681
  }),
4678
- Q(Ct, (e) => (() => {
4682
+ Q(xt, (e) => (() => {
4679
4683
  var t = bs();
4680
4684
  return o((i) => {
4681
4685
  var a = Z.divider, o = { [Z["divider-vertical"]]: e.props.axis === "vertical" };
@@ -4685,7 +4689,7 @@ var ls = class e {
4685
4689
  t: void 0
4686
4690
  }), t;
4687
4691
  })()),
4688
- Q(Mt, (e) => (() => {
4692
+ Q(At, (e) => (() => {
4689
4693
  var t = Ss(), n = t.firstChild;
4690
4694
  return s(n, () => e.props.label), s(t, i(v, {
4691
4695
  get when() {
@@ -4734,7 +4738,7 @@ var ls = class e {
4734
4738
  a: void 0
4735
4739
  }), t;
4736
4740
  })()),
4737
- Q(yt, (e) => (() => {
4741
+ Q(_t, (e) => (() => {
4738
4742
  var t = ws(), n = t.firstChild, a = n.firstChild, c = a.nextSibling;
4739
4743
  return a.addEventListener("change", (t) => e.props.setValue(t.currentTarget.checked)), s(c, () => e.props.label), s(t, i(Fs, {
4740
4744
  get id() {
@@ -4754,7 +4758,7 @@ var ls = class e {
4754
4758
  i: void 0
4755
4759
  }), o(() => a.checked = !!e.props.value), t;
4756
4760
  })()),
4757
- Q(kt, (e) => (() => {
4761
+ Q(Dt, (e) => (() => {
4758
4762
  var t = Ts(), n = t.firstChild;
4759
4763
  return n.$$input = (t) => e.props.setValue(Number(t.currentTarget.value)), s(t, i(Fs, {
4760
4764
  get id() {
@@ -4776,15 +4780,15 @@ var ls = class e {
4776
4780
  s: void 0
4777
4781
  }), o(() => n.value = Number(e.props.value ?? 0)), t;
4778
4782
  })()),
4779
- Q(At, (e) => i(aa, {
4783
+ Q(Ot, (e) => i(na, {
4780
4784
  defaultValue: "0",
4781
4785
  get children() {
4782
- return [i(oa, { get children() {
4786
+ return [i(ra, { get children() {
4783
4787
  return i(g, {
4784
4788
  get each() {
4785
4789
  return e.props.tabs;
4786
4790
  },
4787
- children: (e, t) => i(sa, {
4791
+ children: (e, t) => i(ia, {
4788
4792
  get value() {
4789
4793
  return String(t());
4790
4794
  },
@@ -4797,7 +4801,7 @@ var ls = class e {
4797
4801
  get each() {
4798
4802
  return e.props.tabs;
4799
4803
  },
4800
- children: (t, n) => i(ca, {
4804
+ children: (t, n) => i(aa, {
4801
4805
  get value() {
4802
4806
  return String(n());
4803
4807
  },
@@ -4808,7 +4812,7 @@ var ls = class e {
4808
4812
  })];
4809
4813
  }
4810
4814
  })),
4811
- Q(Dt, (e) => {
4815
+ Q(Tt, (e) => {
4812
4816
  let [t, n] = T(!1), a = () => n(!0);
4813
4817
  return [(() => {
4814
4818
  var t = Es();
@@ -4820,7 +4824,7 @@ var ls = class e {
4820
4824
  return t();
4821
4825
  },
4822
4826
  get children() {
4823
- return i(ea, {
4827
+ return i(Zi, {
4824
4828
  isOpen: !0,
4825
4829
  delay: 0,
4826
4830
  onClose: () => n(!1),
@@ -4831,7 +4835,7 @@ var ls = class e {
4831
4835
  }
4832
4836
  })];
4833
4837
  }),
4834
- Q(Nt, (e) => (() => {
4838
+ Q(jt, (e) => (() => {
4835
4839
  var t = Ds();
4836
4840
  return o((n) => {
4837
4841
  var i = Z.video, a = e.props.url;
@@ -4841,7 +4845,7 @@ var ls = class e {
4841
4845
  t: void 0
4842
4846
  }), t;
4843
4847
  })()),
4844
- Q(ht, (e) => (() => {
4848
+ Q(pt, (e) => (() => {
4845
4849
  var t = Os();
4846
4850
  return o((n) => {
4847
4851
  var i = Z.audio, a = e.props.url;
@@ -4851,7 +4855,7 @@ var ls = class e {
4851
4855
  t: void 0
4852
4856
  }), t;
4853
4857
  })()),
4854
- Q(bt, (e) => {
4858
+ Q(vt, (e) => {
4855
4859
  let t = C(() => Array.isArray(e.props.value) ? e.props.value : []), n = C(() => e.props.variant === "multipleSelection");
4856
4860
  return (() => {
4857
4861
  var a = ks(), c = a.firstChild;
@@ -4899,7 +4903,7 @@ var ls = class e {
4899
4903
  }), a;
4900
4904
  })();
4901
4905
  }),
4902
- Q(St, (e) => {
4906
+ Q(bt, (e) => {
4903
4907
  let t = C(() => e.props.enableDate && e.props.enableTime ? "datetime-local" : e.props.enableDate ? "date" : e.props.enableTime ? "time" : "text");
4904
4908
  return (() => {
4905
4909
  var n = Ms(), a = n.firstChild;
@@ -4932,7 +4936,7 @@ var ls = class e {
4932
4936
  }), o(() => a.value = e.props.value ?? ""), n;
4933
4937
  })();
4934
4938
  })
4935
- ], [...gt]);
4939
+ ], [...mt]);
4936
4940
  a([
4937
4941
  "click",
4938
4942
  "keydown",
@@ -4967,7 +4971,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
4967
4971
  a({});
4968
4972
  return;
4969
4973
  }
4970
- let n = new pt(new ft(e.surface, e.id, e.basePath), Fe.schema);
4974
+ let n = new dt(new ut(e.surface, e.id, e.basePath), Fe.schema);
4971
4975
  a({ ...n.snapshot });
4972
4976
  let r = n.subscribe((e) => a({ ...e }));
4973
4977
  A(() => {
@@ -4991,7 +4995,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
4991
4995
  return !e.props.decoration?.includes("katex");
4992
4996
  },
4993
4997
  get fallback() {
4994
- return i(Hi, {
4998
+ return i(zi, {
4995
4999
  get expression() {
4996
5000
  return e.props.text;
4997
5001
  },
@@ -4999,7 +5003,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
4999
5003
  });
5000
5004
  },
5001
5005
  get children() {
5002
- return i(z, {
5006
+ return i(B, {
5003
5007
  get bold() {
5004
5008
  return e.props.decoration?.includes("bold");
5005
5009
  },
@@ -5027,7 +5031,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5027
5031
  });
5028
5032
  }
5029
5033
  })),
5030
- Q(Ue, (e) => i(z, {
5034
+ Q(Ue, (e) => i(B, {
5031
5035
  get href() {
5032
5036
  return e.props.href;
5033
5037
  },
@@ -5038,7 +5042,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5038
5042
  return e.props.text;
5039
5043
  }
5040
5044
  })),
5041
- Q(Ve, (e) => i(Xt, {
5045
+ Q(Ve, (e) => i(qt, {
5042
5046
  get src() {
5043
5047
  return e.props.src;
5044
5048
  },
@@ -5083,7 +5087,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5083
5087
  })
5084
5088
  })), t;
5085
5089
  })()),
5086
- Q(ze, (e) => i(mi, {
5090
+ Q(ze, (e) => i(di, {
5087
5091
  get level() {
5088
5092
  return e.props.level;
5089
5093
  },
@@ -5102,7 +5106,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5102
5106
  });
5103
5107
  }
5104
5108
  })),
5105
- Q(Ye, (e) => i(yi, {
5109
+ Q(Ye, (e) => i(gi, {
5106
5110
  get color() {
5107
5111
  return e.props.color;
5108
5112
  },
@@ -5124,7 +5128,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5124
5128
  });
5125
5129
  }
5126
5130
  })),
5127
- Q(We, (e) => i(gi, {
5131
+ Q(We, (e) => i(pi, {
5128
5132
  get listStyle() {
5129
5133
  return e.props.style ?? "unordered";
5130
5134
  },
@@ -5158,7 +5162,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5158
5162
  }
5159
5163
  })
5160
5164
  })),
5161
- Q(ke, (e) => i(Qr, {
5165
+ Q(ke, (e) => i(Yr, {
5162
5166
  get cite() {
5163
5167
  return e.props.cite;
5164
5168
  },
@@ -5177,7 +5181,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5177
5181
  });
5178
5182
  }
5179
5183
  })),
5180
- Q(je, (e) => i(ni, {
5184
+ Q(je, (e) => i($r, {
5181
5185
  get type() {
5182
5186
  return e.props.type;
5183
5187
  },
@@ -5196,7 +5200,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5196
5200
  });
5197
5201
  }
5198
5202
  })),
5199
- Q(Je, (e) => i(xr, {
5203
+ Q(Je, (e) => i(vr, {
5200
5204
  get icon() {
5201
5205
  return e.props.icon;
5202
5206
  },
@@ -5221,8 +5225,8 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5221
5225
  });
5222
5226
  }
5223
5227
  })),
5224
- Q(Le, () => i(ai, {})),
5225
- Q(et, (e) => i(ua, {
5228
+ Q(Le, () => i(ni, {})),
5229
+ Q(et, (e) => i(sa, {
5226
5230
  get summary() {
5227
5231
  return i(g, {
5228
5232
  get each() {
@@ -5252,7 +5256,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5252
5256
  });
5253
5257
  }
5254
5258
  })),
5255
- Q(Ae, (e) => i(ur, {
5259
+ Q(Ae, (e) => i(sr, {
5256
5260
  get url() {
5257
5261
  return e.props.url;
5258
5262
  },
@@ -5266,7 +5270,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5266
5270
  return e.props.image;
5267
5271
  }
5268
5272
  })),
5269
- Q(Re, (e) => i(or, {
5273
+ Q(Re, (e) => i(rr, {
5270
5274
  get src() {
5271
5275
  return e.props.src;
5272
5276
  },
@@ -5318,7 +5322,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5318
5322
  h: void 0
5319
5323
  }), t;
5320
5324
  })()),
5321
- Q(Oe, (e) => i(Ta, {
5325
+ Q(Oe, (e) => i(Ca, {
5322
5326
  get src() {
5323
5327
  return e.props.src;
5324
5328
  },
@@ -5370,7 +5374,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5370
5374
  return e.props.caption;
5371
5375
  }
5372
5376
  })),
5373
- Q(He, (e) => i(Hi, {
5377
+ Q(He, (e) => i(zi, {
5374
5378
  get expression() {
5375
5379
  return e.props.expression;
5376
5380
  },
@@ -5385,15 +5389,15 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5385
5389
  Q(Fe, () => null),
5386
5390
  Q(Ie, (e) => {
5387
5391
  let t = () => e.childRefs(e.props.children);
5388
- return i(aa, {
5392
+ return i(na, {
5389
5393
  defaultValue: "0",
5390
5394
  get children() {
5391
- return [i(oa, { get children() {
5395
+ return [i(ra, { get children() {
5392
5396
  return i(g, {
5393
5397
  get each() {
5394
5398
  return t();
5395
5399
  },
5396
- children: (t, n) => i(sa, {
5400
+ children: (t, n) => i(ia, {
5397
5401
  get value() {
5398
5402
  return String(n());
5399
5403
  },
@@ -5420,7 +5424,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5420
5424
  get each() {
5421
5425
  return t();
5422
5426
  },
5423
- children: (t, n) => i(ca, {
5427
+ children: (t, n) => i(aa, {
5424
5428
  get value() {
5425
5429
  return String(n());
5426
5430
  },
@@ -5446,7 +5450,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5446
5450
  }
5447
5451
  });
5448
5452
  }),
5449
- Q(Ze, (e) => i(ja, {
5453
+ Q(Ze, (e) => i(ka, {
5450
5454
  get caption() {
5451
5455
  return c(() => e.props.caption == null)() ? void 0 : String(e.props.caption);
5452
5456
  },
@@ -5459,7 +5463,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5459
5463
  return e.props.header?.length;
5460
5464
  },
5461
5465
  get children() {
5462
- return i(Ra, { get children() {
5466
+ return i(Ia, { get children() {
5463
5467
  return i(g, {
5464
5468
  get each() {
5465
5469
  return e.childRefs(e.props.header);
@@ -5474,7 +5478,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5474
5478
  });
5475
5479
  } });
5476
5480
  }
5477
- }), i(Na, { get children() {
5481
+ }), i(ja, { get children() {
5478
5482
  return i(g, {
5479
5483
  get each() {
5480
5484
  return e.childRefs(e.props.body);
@@ -5490,7 +5494,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5490
5494
  } })];
5491
5495
  }
5492
5496
  })),
5493
- Q($e, (e) => i(Va, { get children() {
5497
+ Q($e, (e) => i(za, { get children() {
5494
5498
  return i(g, {
5495
5499
  get each() {
5496
5500
  return e.childRefs(e.props.children);
@@ -5504,7 +5508,7 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5504
5508
  })
5505
5509
  });
5506
5510
  } })),
5507
- Q(Qe, (e) => i(Fa, {
5511
+ Q(Qe, (e) => i(Na, {
5508
5512
  get isHeader() {
5509
5513
  return e.props.isHeader;
5510
5514
  },
@@ -5526,11 +5530,11 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5526
5530
  });
5527
5531
  }
5528
5532
  })),
5529
- Q(tt, (e) => i(un, { get details() {
5533
+ Q(tt, (e) => i(sn, { get details() {
5530
5534
  return c(() => !!e.props.details)() ? `Unsupported component type: ${String(e.props.details)}` : "Unsupported component type";
5531
5535
  } }))
5532
5536
  ], Gs = Is.extend(...Ws), Ks = [...Gs.components.values()], qs = [...Gs.functions], Js = /* @__PURE__ */ m("<span data-a2ui-state=loading class=a2ui-loading>[Loading <!>…]"), Ys = /* @__PURE__ */ m("<span data-a2ui-state=unknown class=a2ui-unknown>Unknown component: "), Xs = /* @__PURE__ */ m("<span style=display:contents>"), Zs = "root", Qs = x(), $s = x(), ec = (...e) => `a2ui-${encodeURIComponent(JSON.stringify(e))}`, tc = (e) => {
5533
- let t = P(Qs), n = P($s), r = () => e.ancestors ?? [], a = () => r().includes(e.id), [l, d] = T(), [f, p] = T(!1), [m, h] = T(), [g, _] = Pt({});
5537
+ let t = P(Qs), n = P($s), r = () => e.ancestors ?? [], a = () => r().includes(e.id), [l, d] = T(), [f, p] = T(!1), [m, h] = T(), [g, _] = Mt({});
5534
5538
  w(() => {
5535
5539
  let n = e.id, r = t?.();
5536
5540
  if (a() || r == null) {
@@ -5550,16 +5554,16 @@ var Ls = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5550
5554
  }), w(() => {
5551
5555
  let r = l(), i = t?.(), o = r == null ? void 0 : n?.().get(r.type);
5552
5556
  if (r == null || o == null || i == null || a()) {
5553
- h(void 0), _(Ft({}));
5557
+ h(void 0), _(Nt({}));
5554
5558
  return;
5555
5559
  }
5556
- let s = new ft(i, e.id, e.basePath), c = new pt(s, o.schema);
5557
- _(Ft({ ...c.snapshot })), h({
5560
+ let s = new ut(i, e.id, e.basePath), c = new dt(s, o.schema);
5561
+ _(Nt({ ...c.snapshot })), h({
5558
5562
  entry: o,
5559
5563
  context: s
5560
5564
  });
5561
5565
  let u = c.subscribe((e) => {
5562
- _(Ft({ ...e }));
5566
+ _(Nt({ ...e }));
5563
5567
  });
5564
5568
  A(() => {
5565
5569
  u.unsubscribe(), c.dispose();
@@ -5773,7 +5777,7 @@ var rc = /* @__PURE__ */ m("<div>"), ic = "https://a2ui.org/specification/v0_9/b
5773
5777
  let e = t.createSurface?.catalogId;
5774
5778
  e && a.add(e);
5775
5779
  }
5776
- let o = new mt([...a].map((e) => i.toCatalog(e))), s = /* @__PURE__ */ new Map(), l = () => c([...s.values()]);
5780
+ let o = new ft([...a].map((e) => i.toCatalog(e))), s = /* @__PURE__ */ new Map(), l = () => c([...s.values()]);
5777
5781
  u = {
5778
5782
  processor: o,
5779
5783
  subscriptions: [o.model.onSurfaceCreated.subscribe((e) => {
@@ -5815,4 +5819,4 @@ var rc = /* @__PURE__ */ m("<div>"), ic = "https://a2ui.org/specification/v0_9/b
5815
5819
  })();
5816
5820
  };
5817
5821
  //#endregion
5818
- export { $s as A2uiCatalogContext, ac as A2uiSurface, Qs as A2uiSurfaceContext, ls as CatalogRenderer, tc as ComponentHost, oc as ElmA2ui, Go as ElmAudioPlayer, Wt as ElmBlockFallback, Ta as ElmBlockImage, Qr as ElmBlockQuote, ur as ElmBookmark, mr as ElmBreadcrumb, mn as ElmButton, ha as ElmButtonDropdown, ni as ElmCallout, yn as ElmCheckbox, Ya as ElmCodeBlock, Ki as ElmCollapse, Mr as ElmColorPrimitiveSample, qr as ElmColorSemanticSample, Pn as ElmCopyIcon, ai as ElmDivider, zt as ElmDotLoadingIcon, or as ElmFile, ci as ElmFragmentIdentifier, mi as ElmHeading, go as ElmHtml, yo as ElmHtmlViewer, Xt as ElmInlineIcon, z as ElmInlineText, Hi as ElmKatex, Bn as ElmLanguageIcon, gi as ElmList, io as ElmMarkdown, V as ElmMdiIcon, ea as ElmModal, xr as ElmNotionCallout, _r as ElmPageTop, yi as ElmParagraph, Zi as ElmParallax, Ht as ElmRectangleWave, ya as ElmSelect, Ka as ElmShikiHighlighter, ko as ElmSlider, Wn as ElmSquareLoadingIcon, Sn as ElmSwitch, sa as ElmTab, oa as ElmTabList, ca as ElmTabPanel, ja as ElmTable, Na as ElmTableBody, Fa as ElmTableCell, Ra as ElmTableHeader, Va as ElmTableRow, aa as ElmTabs, No as ElmTextArea, Lo as ElmTextField, ua as ElmToggle, nr as ElmToggleTheme, pa as ElmTooltip, un as ElmUnsupportedBlock, An as ElmValidation, Da as HasRowHeaderContext, Zs as ROOT_COMPONENT_ID, qn as THEME_CHANGE_EVENT, Oa as TableSectionContext, Ri as ThrottledQueue, Is as basicCatalog, bi as createAsyncState, xi as createAutoAnimate, jn as createClipboard, hn as createControllableSignal, Si as createDebounced, Ci as createDelayedSignal, Zn as createElmethisTheme, ji as createLocalStorage, ba as createModal, Mi as createSessionStorage, Ni as createThrottled, zi as createThrottledQueue, Q as defineRenderer, Gs as notionBlockCatalog, Ks as notionBlockComponents, qs as notionBlockFunctions, ss as useWordle };
5822
+ export { $s as A2uiCatalogContext, ac as A2uiSurface, Qs as A2uiSurfaceContext, ls as CatalogRenderer, tc as ComponentHost, oc as ElmA2ui, Go as ElmAudioPlayer, Ht as ElmBlockFallback, Ca as ElmBlockImage, Yr as ElmBlockQuote, sr as ElmBookmark, dr as ElmBreadcrumb, dn as ElmButton, pa as ElmButtonDropdown, $r as ElmCallout, gn as ElmCheckbox, Ya as ElmCodeBlock, Ui as ElmCollapse, kr as ElmColorPrimitiveSample, Wr as ElmColorSemanticSample, jn as ElmCopyIcon, ni as ElmDivider, Lt as ElmDotLoadingIcon, rr as ElmFile, ai as ElmFragmentIdentifier, di as ElmHeading, go as ElmHtml, yo as ElmHtmlViewer, qt as ElmInlineIcon, B as ElmInlineText, zi as ElmKatex, Ln as ElmLanguageIcon, pi as ElmList, io as ElmMarkdown, H as ElmMdiIcon, Zi as ElmModal, vr as ElmNotionCallout, mr as ElmPageTop, gi as ElmParagraph, Ji as ElmParallax, Bt as ElmRectangleWave, _a as ElmSelect, Ka as ElmShikiHighlighter, ko as ElmSlider, Vn as ElmSquareLoadingIcon, yn as ElmSwitch, ia as ElmTab, ra as ElmTabList, aa as ElmTabPanel, ka as ElmTable, ja as ElmTableBody, Na as ElmTableCell, Ia as ElmTableHeader, za as ElmTableRow, na as ElmTabs, No as ElmTextArea, Lo as ElmTextField, sa as ElmToggle, $n as ElmToggleTheme, ua as ElmTooltip, sn as ElmUnsupportedBlock, Dn as ElmValidation, Ta as HasRowHeaderContext, Zs as ROOT_COMPONENT_ID, Wn as THEME_CHANGE_EVENT, Ea as TableSectionContext, Fi as ThrottledQueue, Is as basicCatalog, _i as createAsyncState, vi as createAutoAnimate, On as createClipboard, fn as createControllableSignal, yi as createDebounced, bi as createDelayedSignal, Jn as createElmethisTheme, Oi as createLocalStorage, va as createModal, ki as createSessionStorage, Ai as createThrottled, Ii as createThrottledQueue, Q as defineRenderer, Gs as notionBlockCatalog, Ks as notionBlockComponents, qs as notionBlockFunctions, ss as useWordle };