@elmethis/solid 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +1,25 @@
1
1
  import { Dynamic as e, addEventListener as t, classList as n, className as r, createComponent as i, delegateEvents as a, effect as o, insert as s, memo as c, mergeProps as l, setAttribute as u, setStyleProperty as d, spread as f, style as p, template as m, use as h } from "solid-js/web";
2
2
  import { For as g, Match as _, Show as v, Switch as y, children as b, createContext as x, createEffect as S, createMemo as C, createSignal as w, createUniqueId as T, getOwner as E, mergeProps as D, on as O, onCleanup as k, onMount as A, splitProps as j, untrack as M, useContext as N } from "solid-js";
3
3
  import { clsx as P } from "clsx";
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 fe, mdiLinkVariant as F, mdiMenuDown as pe, mdiMessageImageOutline as me, mdiMusicNote as I, 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
- 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
- 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";
4
+ import { mdiAlertCircleOutline as ee, mdiApplicationOutline as F, mdiArrowDownDropCircleOutline as te, mdiChevronRight as ne, mdiClipboardCheckOutline as re, mdiClipboardOutline as ie, mdiDownload as ae, mdiEyeOffOutline as oe, mdiEyeOutline as se, mdiFastForward10 as ce, mdiFile as le, mdiFolderOpen as ue, mdiHome as de, mdiLinkVariant as I, mdiMenuDown as L, mdiMessageImageOutline as fe, mdiMusicNote as R, mdiOpenInNew as pe, mdiPause as me, mdiPlay as he, mdiPlus as ge, mdiRewind10 as _e, mdiText as ve, mdiTextLong as ye, mdiTrashCanOutline as be, mdiVolumeHigh as xe, mdiVolumeLow as Se, mdiVolumeMedium as Ce, mdiVolumeOff as we } from "@mdi/js";
5
+ import { AudioApi as Te, BlockImageApi as Ee, BlockQuoteApi as De, BookmarkApi as Oe, CalloutApi as ke, CodeBlockApi as Ae, ColumnApi as je, ColumnListApi as Me, ContentTabApi as Ne, ContentTabsApi as Pe, DividerApi as Fe, FileApi as Ie, HeadingApi as Le, HtmlApi as Re, IconApi as ze, KatexApi as Be, LinkTextApi as Ve, ListApi as He, ListItemApi as Ue, MermaidApi as We, NOTION_BLOCK_CATALOG_ID as Ge, NotionCalloutApi as Ke, ParagraphApi as qe, RichTextApi as Je, TableApi as Ye, TableCellApi as Xe, TableRowApi as Ze, ToggleApi as Qe, UnsupportedApi as $e, VideoApi as et, languageIcons as tt, normalizeLanguage as nt } from "@elmethis/core";
6
+ import { renderToString as rt } from "katex";
7
+ import { bundledLanguages as it, createHighlighter as at } from "shiki";
8
+ import ot from "@46ki75/ikuma-theme/dark";
9
+ import st from "@46ki75/ikuma-theme/light";
10
+ import { marked as ct } from "marked";
11
+ import { Catalog as lt, ComponentContext as ut, GenericBinder as dt, MessageProcessor as ft } from "@a2ui/web_core/v0_9";
12
+ 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";
13
+ import { createStore as Mt, reconcile as Nt } from "solid-js/store";
14
14
  //#region src/components/fallback/elm-block-fallback.module.css
15
- var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, L = (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(";") : {
15
+ var Pt = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, z = (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
16
  ...t,
17
17
  ...e ?? {}
18
- }, Lt = {
18
+ }, Ft = {
19
19
  "elm-dot-loading-icon": "_elm-dot-loading-icon_qjgj2_15",
20
20
  dot: "_dot_qjgj2_25",
21
21
  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) => {
22
+ }, It = /* @__PURE__ */ m("<span><span aria-hidden=true></span><span aria-hidden=true></span><span aria-hidden=true>"), Lt = (e) => {
23
23
  let [t, n] = j(D({ size: "4em" }, e), [
24
24
  "class",
25
25
  "style",
@@ -27,16 +27,16 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, L = (e, t) =>
27
27
  "size"
28
28
  ]);
29
29
  return (() => {
30
- var e = Rt(), i = e.firstChild, a = i.nextSibling, s = a.nextSibling;
30
+ var e = It(), i = e.firstChild, a = i.nextSibling, s = a.nextSibling;
31
31
  return f(e, l({
32
32
  get class() {
33
- return P(Lt["elm-dot-loading-icon"], t.class);
33
+ return P(Ft["elm-dot-loading-icon"], t.class);
34
34
  },
35
35
  get style() {
36
- return L(t.style, { "--elmethis-scoped-size": t.size });
36
+ return z(t.style, { "--elmethis-scoped-size": t.size });
37
37
  }
38
38
  }, n), !1, !0), o((e) => {
39
- var t = Lt.dot, n = Lt.dot, o = Lt.dot;
39
+ var t = Ft.dot, n = Ft.dot, o = Ft.dot;
40
40
  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
41
  }, {
42
42
  e: void 0,
@@ -44,18 +44,18 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, L = (e, t) =>
44
44
  a: void 0
45
45
  }), e;
46
46
  })();
47
- }, Bt = {
47
+ }, Rt = {
48
48
  "elm-rectangle-wave": "_elm-rectangle-wave_70gad_21",
49
49
  wave: "_wave_70gad_1"
50
- }, Vt = /* @__PURE__ */ m("<div aria-hidden=true>"), Ht = (e) => {
50
+ }, zt = /* @__PURE__ */ m("<div aria-hidden=true>"), Bt = (e) => {
51
51
  let [t, n] = j(e, ["class", "children"]);
52
52
  return (() => {
53
- var e = Vt();
53
+ var e = zt();
54
54
  return f(e, l({ get class() {
55
- return P(Bt["elm-rectangle-wave"], t.class);
55
+ return P(Rt["elm-rectangle-wave"], t.class);
56
56
  } }, n), !1, !1), e;
57
57
  })();
58
- }, Ut = /* @__PURE__ */ m("<div>"), Wt = (e) => {
58
+ }, Vt = /* @__PURE__ */ m("<div>"), Ht = (e) => {
59
59
  let [t, n] = j(D({ height: "16rem" }, e), [
60
60
  "class",
61
61
  "style",
@@ -63,22 +63,22 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, L = (e, t) =>
63
63
  "height"
64
64
  ]);
65
65
  return (() => {
66
- var e = Ut();
66
+ var e = Vt();
67
67
  return f(e, l({
68
68
  get class() {
69
- return P(It["elm-block-fallback"], t.class);
69
+ return P(Pt["elm-block-fallback"], t.class);
70
70
  },
71
71
  get style() {
72
- return L(t.style, { "--elmethis-scoped-height": t.height });
72
+ return z(t.style, { "--elmethis-scoped-height": t.height });
73
73
  }
74
- }, n), !1, !0), s(e, i(zt, {}), null), s(e, i(Ht, {}), null), e;
74
+ }, n), !1, !0), s(e, i(Lt, {}), null), s(e, i(Bt, {}), null), e;
75
75
  })();
76
- }, Gt = {
76
+ }, Ut = {
77
77
  "elm-unsupported-block": "_elm-unsupported-block_8bkk1_1",
78
78
  message: "_message_8bkk1_13",
79
79
  icon: "_icon_8bkk1_20",
80
80
  details: "_details_8bkk1_24"
81
- }, Kt = {
81
+ }, Wt = {
82
82
  "elm-inline-text": "_elm-inline-text_uf3sg_1",
83
83
  code: "_code_uf3sg_13",
84
84
  kbd: "_kbd_uf3sg_25",
@@ -87,7 +87,7 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, L = (e, t) =>
87
87
  "ogp-text": "_ogp-text_uf3sg_104",
88
88
  "ogp-title": "_ogp-title_uf3sg_109",
89
89
  "ogp-description": "_ogp-description_uf3sg_115"
90
- }, R = { text: "_text_zme4t_1" }, qt = { "elm-inline-icon": "_elm-inline-icon_1qs0i_1" }, Jt = /* @__PURE__ */ m("<span><img>"), Yt = (e) => {
90
+ }, B = { text: "_text_zme4t_1" }, Gt = { "elm-inline-icon": "_elm-inline-icon_1qs0i_1" }, Kt = /* @__PURE__ */ m("<span><img>"), qt = (e) => {
91
91
  let [t, n] = j(D({ size: 16 }, e), [
92
92
  "class",
93
93
  "children",
@@ -98,11 +98,11 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, L = (e, t) =>
98
98
  "size"
99
99
  ]);
100
100
  return (() => {
101
- var e = Jt(), i = e.firstChild;
101
+ var e = Kt(), i = e.firstChild;
102
102
  return f(e, l(n, { get class() {
103
- return P(qt["elm-inline-icon"], t.class);
103
+ return P(Gt["elm-inline-icon"], t.class);
104
104
  } }), !1, !0), o((e) => {
105
- var n = t.src, a = t.alt, o = qt["elm-inline-icon"], s = t.width ?? t.size, c = t.height ?? t.size;
105
+ var n = t.src, a = t.alt, o = Gt["elm-inline-icon"], s = t.width ?? t.size, c = t.height ?? t.size;
106
106
  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
107
  }, {
108
108
  e: void 0,
@@ -112,14 +112,14 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, L = (e, t) =>
112
112
  i: void 0
113
113
  }), e;
114
114
  })();
115
- }, Xt = /* @__PURE__ */ m("<a target=_blank rel=\"noopener noreferrer\">"), Zt = /* @__PURE__ */ m("<kbd>"), Qt = /* @__PURE__ */ m("<del>"), $t = /* @__PURE__ */ m("<em>"), en = /* @__PURE__ */ m("<ins>"), tn = /* @__PURE__ */ m("<strong>"), nn = /* @__PURE__ */ m("<code>"), rn = /* @__PURE__ */ m("<ruby><span></span><rt>"), an = /* @__PURE__ */ m("<span>"), on = (e, t) => {
115
+ }, 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
116
  if (typeof e != "string") return {
117
117
  ...e ?? {},
118
118
  ...t
119
119
  };
120
120
  let n = Object.entries(t).filter((e) => e[1] != null).map(([e, t]) => `${e}:${String(t)}`).join(";");
121
121
  return [e.trim().replace(/;$/, ""), n].filter(Boolean).join(";");
122
- }, z = (e) => {
122
+ }, V = (e) => {
123
123
  let [t, n] = j(D({ size: "1em" }, e), [
124
124
  "class",
125
125
  "style",
@@ -139,89 +139,89 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, L = (e, t) =>
139
139
  ]), a = b(() => t.children), d = C(() => {
140
140
  let e = a();
141
141
  return t.href && (e = (() => {
142
- var n = Xt();
142
+ var n = Jt();
143
143
  return s(n, (() => {
144
144
  var e = c(() => !!t.favicon);
145
- return () => e() && i(Yt, {
145
+ return () => e() && i(qt, {
146
146
  get src() {
147
147
  return t.favicon;
148
148
  },
149
149
  alt: "favicon"
150
150
  });
151
151
  })(), null), s(n, e, null), o((e) => {
152
- var i = Kt.link, a = t.href;
152
+ var i = Wt.link, a = t.href;
153
153
  return i !== e.e && r(n, e.e = i), a !== e.t && u(n, "href", e.t = a), e;
154
154
  }, {
155
155
  e: void 0,
156
156
  t: void 0
157
157
  }), n;
158
158
  })()), t.kbd && (e = (() => {
159
- var t = Zt();
160
- return s(t, e), o(() => r(t, Kt.kbd)), t;
159
+ var t = Yt();
160
+ return s(t, e), o(() => r(t, Wt.kbd)), t;
161
161
  })()), t.strikethrough && (e = (() => {
162
- var t = Qt();
162
+ var t = Xt();
163
163
  return s(t, e), t;
164
164
  })()), t.italic && (e = (() => {
165
- var t = $t();
165
+ var t = Zt();
166
166
  return s(t, e), t;
167
167
  })()), t.underline && (e = (() => {
168
- var t = en();
168
+ var t = Qt();
169
169
  return s(t, e), t;
170
170
  })()), t.bold && (e = (() => {
171
- var t = tn();
171
+ var t = $t();
172
172
  return s(t, e), t;
173
173
  })()), t.code && (e = (() => {
174
- var t = nn();
175
- return s(t, e), o(() => r(t, Kt.code)), t;
174
+ var t = en();
175
+ return s(t, e), o(() => r(t, Wt.code)), t;
176
176
  })()), t.ruby && (e = (() => {
177
- var n = rn(), i = n.firstChild, a = i.nextSibling;
178
- return s(i, e), s(a, () => t.ruby), o(() => r(n, Kt["elm-inline-text"])), n;
177
+ var n = tn(), i = n.firstChild, a = i.nextSibling;
178
+ return s(i, e), s(a, () => t.ruby), o(() => r(n, Wt["elm-inline-text"])), n;
179
179
  })()), e;
180
- }), p = C(() => on(t.style, {
180
+ }), p = C(() => rn(t.style, {
181
181
  "--elmethis-scoped-color": t.color,
182
182
  "--elmethis-scoped-font-size": t.size,
183
183
  "--elmethis-scoped-background-color": t.backgroundColor
184
184
  }));
185
185
  return (() => {
186
- var e = an();
186
+ var e = nn();
187
187
  return f(e, l(n, {
188
188
  get class() {
189
- return P(Kt["elm-inline-text"], R.text, t.class);
189
+ return P(Wt["elm-inline-text"], B.text, t.class);
190
190
  },
191
191
  get style() {
192
192
  return p();
193
193
  }
194
194
  }), !1, !0), s(e, d), e;
195
195
  })();
196
- }, sn = /* @__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\">"), cn = /* @__PURE__ */ m("<div>"), ln = (e) => {
196
+ }, 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
197
  let [t, n] = j(e, [
198
198
  "class",
199
199
  "children",
200
200
  "details"
201
201
  ]);
202
202
  return (() => {
203
- var e = sn(), a = e.firstChild, d = a.firstChild;
203
+ var e = an(), a = e.firstChild, d = a.firstChild;
204
204
  return f(e, l({ get class() {
205
- return P(Gt["elm-unsupported-block"], t.class);
206
- } }, n), !1, !0), s(a, i(z, { children: "UNSUPPORTED BLOCK" }), null), s(e, (() => {
205
+ return P(Ut["elm-unsupported-block"], t.class);
206
+ } }, n), !1, !0), s(a, i(V, { children: "UNSUPPORTED BLOCK" }), null), s(e, (() => {
207
207
  var e = c(() => !!t.details);
208
208
  return () => e() && (() => {
209
- var e = cn();
210
- return s(e, i(z, { get children() {
209
+ var e = on();
210
+ return s(e, i(V, { get children() {
211
211
  return t.details;
212
- } })), o(() => r(e, Gt.details)), e;
212
+ } })), o(() => r(e, Ut.details)), e;
213
213
  })();
214
214
  })(), null), o((e) => {
215
- var t = Gt.message, n = Gt.icon;
215
+ var t = Ut.message, n = Ut.icon;
216
216
  return t !== e.e && r(a, e.e = t), n !== e.t && u(d, "class", e.t = n), e;
217
217
  }, {
218
218
  e: void 0,
219
219
  t: void 0
220
220
  }), e;
221
221
  })();
222
- }, B = (e, t) => {
222
+ }, H = (e, t) => {
223
223
  typeof e == "function" ? e(t) : e && e[0](e[1], t);
224
- }, un = {
224
+ }, cn = {
225
225
  "elm-button": "_elm-button_9qh0y_1",
226
226
  normal: "_normal_9qh0y_22",
227
227
  primary: "_primary_9qh0y_29",
@@ -230,7 +230,7 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, L = (e, t) =>
230
230
  flex: "_flex_9qh0y_59",
231
231
  ripple: "_ripple_9qh0y_83",
232
232
  "button-ripple": "_button-ripple_9qh0y_1"
233
- }, dn = /* @__PURE__ */ m("<span>"), fn = /* @__PURE__ */ m("<button>"), pn = (e) => {
233
+ }, ln = /* @__PURE__ */ m("<span>"), un = /* @__PURE__ */ m("<button>"), dn = (e) => {
234
234
  let [t, n] = j(e, [
235
235
  "class",
236
236
  "style",
@@ -244,20 +244,20 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, L = (e, t) =>
244
244
  ]), [a, c] = w(!1), u;
245
245
  k(() => clearTimeout(u));
246
246
  let d = (e) => {
247
- t.isLoading || t.disabled || !t.onClick || (c(!0), clearTimeout(u), u = setTimeout(() => c(!1), 300), B(t.onClick, e));
247
+ t.isLoading || t.disabled || !t.onClick || (c(!0), clearTimeout(u), u = setTimeout(() => c(!1), 300), H(t.onClick, e));
248
248
  };
249
249
  return (() => {
250
- var e = fn();
250
+ var e = un();
251
251
  return f(e, l(n, {
252
252
  onClick: d,
253
253
  get disabled() {
254
254
  return t.disabled;
255
255
  },
256
256
  get class() {
257
- return P(un["elm-button"], !t.isLoading && !t.disabled && un.enable, t.color && un.colored, !t.color && !t.primary && un.normal, !t.color && t.primary && un.primary, t.class);
257
+ return P(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
258
  },
259
259
  get style() {
260
- return L(t.style, {
260
+ return z(t.style, {
261
261
  display: t.block ? "flex" : "inline-flex",
262
262
  width: t.block ? "100%" : "auto",
263
263
  cursor: t.disabled ? "not-allowed" : t.isLoading ? "progress" : "pointer",
@@ -270,26 +270,26 @@ var It = { "elm-block-fallback": "_elm-block-fallback_1sx02_1" }, L = (e, t) =>
270
270
  return a();
271
271
  },
272
272
  get children() {
273
- var e = dn();
274
- return o(() => r(e, un.ripple)), e;
273
+ var e = ln();
274
+ return o(() => r(e, cn.ripple)), e;
275
275
  }
276
276
  }), null), s(e, i(v, {
277
277
  get when() {
278
278
  return !t.isLoading;
279
279
  },
280
280
  get fallback() {
281
- return i(zt, { size: "1.5rem" });
281
+ return i(Lt, { size: "1.5rem" });
282
282
  },
283
283
  get children() {
284
- var e = dn();
285
- return s(e, () => t.children), o(() => r(e, un.flex)), e;
284
+ var e = ln();
285
+ return s(e, () => t.children), o(() => r(e, cn.flex)), e;
286
286
  }
287
287
  }), null), e;
288
288
  })();
289
289
  };
290
290
  //#endregion
291
291
  //#region src/primitives/create-controllable-signal.ts
292
- function mn(e) {
292
+ function fn(e) {
293
293
  let t = e.defaultValue(), [n, r] = w(t, { equals: Object.is }), i = C(() => {
294
294
  let t = e.value?.();
295
295
  return t === void 0 ? n() : t;
@@ -299,7 +299,7 @@ function mn(e) {
299
299
  return Object.is(a, n) ? a : (e.value?.() === void 0 && r((() => a)), e.onChange?.(a), a);
300
300
  }))];
301
301
  }
302
- var hn = {
302
+ var pn = {
303
303
  "elm-checkbox": "_elm-checkbox_18dfs_1",
304
304
  disabled: "_disabled_18dfs_12",
305
305
  checkbox: "_checkbox_18dfs_22",
@@ -309,7 +309,7 @@ var hn = {
309
309
  "loading-dot": "_loading-dot_18dfs_39",
310
310
  "check-line": "_check-line_18dfs_54",
311
311
  "elmethis-checkbox-check-line": "_elmethis-checkbox-check-line_18dfs_1"
312
- }, gn = /* @__PURE__ */ m("<svg><polyline points=\"5,12 10,17 19,8\"stroke-width=1.5 fill=transparent></svg>", !1, !0, !1), _n = /* @__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>"), vn = (e) => {
312
+ }, 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
313
  let [t, n] = j(e, [
314
314
  "class",
315
315
  "onClick",
@@ -320,18 +320,18 @@ var hn = {
320
320
  "defaultChecked",
321
321
  "onCheckedChange",
322
322
  "children"
323
- ]), [r, a] = mn({
323
+ ]), [r, a] = fn({
324
324
  value: () => t.checked,
325
325
  defaultValue: () => t.defaultChecked ?? !1,
326
326
  onChange: (e) => t.onCheckedChange?.(e)
327
327
  }), c = (e) => {
328
- B(t.onClick, e), !e.defaultPrevented && !t.isLoading && !t.disabled && a((e) => !e);
328
+ H(t.onClick, e), !e.defaultPrevented && !t.isLoading && !t.disabled && a((e) => !e);
329
329
  };
330
330
  return (() => {
331
- var e = _n(), a = e.firstChild, p = a.firstChild, m = p.firstChild, h = m.nextSibling, g = h.nextSibling, _ = g.nextSibling;
331
+ var e = hn(), a = e.firstChild, p = a.firstChild, m = p.firstChild, h = m.nextSibling, g = h.nextSibling, _ = g.nextSibling;
332
332
  return _.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling, f(e, l(n, {
333
333
  get class() {
334
- return P(hn["elm-checkbox"], t.disabled && hn.disabled, t.class);
334
+ return P(pn["elm-checkbox"], t.disabled && pn.disabled, t.class);
335
335
  },
336
336
  onClick: c
337
337
  }), !1, !0), s(p, i(v, {
@@ -339,13 +339,13 @@ var hn = {
339
339
  return r();
340
340
  },
341
341
  get children() {
342
- var e = gn();
343
- return o(() => u(e, "class", hn["check-line"])), e;
342
+ var e = mn();
343
+ return o(() => u(e, "class", pn["check-line"])), e;
344
344
  }
345
- }), _), s(a, i(z, { get children() {
345
+ }), _), s(a, i(V, { get children() {
346
346
  return t.label;
347
347
  } }), null), o((e) => {
348
- var n = hn.checkbox, i = hn["loading-dot"], a = +!!t.isLoading, o = hn["loading-dot"], s = +!!t.isLoading, c = P(hn.rect, r() && hn.checked, t.isLoading && hn.loading);
348
+ var n = pn.checkbox, i = pn["loading-dot"], a = +!!t.isLoading, o = pn["loading-dot"], s = +!!t.isLoading, c = P(pn.rect, r() && pn.checked, t.isLoading && pn.loading);
349
349
  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
350
  }, {
351
351
  e: void 0,
@@ -356,13 +356,13 @@ var hn = {
356
356
  n: void 0
357
357
  }), e;
358
358
  })();
359
- }, yn = {
359
+ }, _n = {
360
360
  switch: "_switch_9s4vz_1",
361
361
  bar: "_bar_9s4vz_5",
362
362
  checked: "_checked_9s4vz_21",
363
363
  disabled: "_disabled_9s4vz_26",
364
364
  circle: "_circle_9s4vz_31"
365
- }, bn = /* @__PURE__ */ m("<div><input type=checkbox readonly><div><div>"), xn = (e) => {
365
+ }, vn = /* @__PURE__ */ m("<div><input type=checkbox readonly><div><div>"), yn = (e) => {
366
366
  let [t, n] = j(D({
367
367
  color: "var(--elmethis-color-primary)",
368
368
  size: "18px"
@@ -377,17 +377,17 @@ var hn = {
377
377
  "onCheckedChange",
378
378
  "children"
379
379
  ]), i = (e) => {
380
- B(t.onClick, e), !e.defaultPrevented && !t.disabled && t.onCheckedChange?.(!t.checked);
380
+ H(t.onClick, e), !e.defaultPrevented && !t.disabled && t.onCheckedChange?.(!t.checked);
381
381
  };
382
382
  return (() => {
383
- var e = bn(), a = e.firstChild, s = a.nextSibling, c = s.firstChild;
383
+ var e = vn(), a = e.firstChild, s = a.nextSibling, c = s.firstChild;
384
384
  return f(e, l(n, {
385
385
  onClick: i,
386
386
  get class() {
387
387
  return t.class;
388
388
  },
389
389
  get style() {
390
- return L(t.style, {
390
+ return z(t.style, {
391
391
  "--elmethis-scoped-color": t.color,
392
392
  "--elmethis-scoped-padding": "2px",
393
393
  "--elmethis-scoped-size": t.size,
@@ -395,7 +395,7 @@ var hn = {
395
395
  });
396
396
  }
397
397
  }), !1, !0), o((e) => {
398
- var n = yn.switch, i = t.disabled, o = P(yn.bar, t.checked && yn.checked, t.disabled && yn.disabled), l = P(yn.circle, t.checked && yn.checked, t.disabled && yn.disabled);
398
+ var n = _n.switch, i = t.disabled, o = P(_n.bar, t.checked && _n.checked, t.disabled && _n.disabled), l = P(_n.circle, t.checked && _n.checked, t.disabled && _n.disabled);
399
399
  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
400
  }, {
401
401
  e: void 0,
@@ -404,7 +404,7 @@ var hn = {
404
404
  o: void 0
405
405
  }), o(() => a.checked = t.checked), e;
406
406
  })();
407
- }, Sn = { "elm-mdi-icon": "_elm-mdi-icon_ihskx_1" }, Cn = /* @__PURE__ */ m("<svg viewBox=\"0 0 24 24\"xmlns=http://www.w3.org/2000/svg role=img><path>"), wn = { focusable: "false" }, V = (e) => {
407
+ }, 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" }, U = (e) => {
408
408
  let [t, n] = j(D({
409
409
  size: "1em",
410
410
  color: "currentColor"
@@ -419,13 +419,13 @@ var hn = {
419
419
  "darkColor"
420
420
  ]);
421
421
  return (() => {
422
- var e = Cn(), r = e.firstChild;
422
+ var e = xn(), r = e.firstChild;
423
423
  return f(e, l({
424
424
  get class() {
425
- return P(Sn["elm-mdi-icon"], t.class);
425
+ return P(bn["elm-mdi-icon"], t.class);
426
426
  },
427
427
  get style() {
428
- return L(t.style, {
428
+ return z(t.style, {
429
429
  "--elmethis-scoped-color": t.lightColor ?? t.color,
430
430
  "--dark-color": t.darkColor ?? t.color
431
431
  });
@@ -439,9 +439,9 @@ var hn = {
439
439
  get fill() {
440
440
  return t.color;
441
441
  }
442
- }, wn, n), !0, !0), o(() => u(r, "d", t.d)), e;
442
+ }, Sn, n), !0, !0), o(() => u(r, "d", t.d)), e;
443
443
  })();
444
- }, Tn = { "elm-validation": "_elm-validation_1cigg_1" }, En = /* @__PURE__ */ m("<div>"), Dn = "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", On = "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", kn = (e) => {
444
+ }, 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
445
  let [t, n] = j(D({ validColor: "var(--elmethis-color-accent-success)" }, e), [
446
446
  "class",
447
447
  "style",
@@ -450,22 +450,22 @@ var hn = {
450
450
  "isValid"
451
451
  ]);
452
452
  return (() => {
453
- var e = En();
453
+ var e = wn();
454
454
  return f(e, l(n, {
455
455
  get class() {
456
- return P(Tn["elm-validation"], t.class);
456
+ return P(Cn["elm-validation"], t.class);
457
457
  },
458
458
  get style() {
459
- return L(t.style, { "--elmethis-scoped-opacity": t.isValid ? 1 : .5 });
459
+ return z(t.style, { "--elmethis-scoped-opacity": t.isValid ? 1 : .5 });
460
460
  }
461
- }), !1, !0), s(e, i(V, {
461
+ }), !1, !0), s(e, i(U, {
462
462
  get d() {
463
- return t.isValid ? Dn : On;
463
+ return t.isValid ? Tn : En;
464
464
  },
465
465
  get color() {
466
466
  return c(() => !!t.isValid)() ? t.validColor : void 0;
467
467
  }
468
- }), null), s(e, i(z, {
468
+ }), null), s(e, i(V, {
469
469
  get color() {
470
470
  return c(() => !!t.isValid)() ? t.validColor : void 0;
471
471
  },
@@ -477,7 +477,7 @@ var hn = {
477
477
  };
478
478
  //#endregion
479
479
  //#region src/primitives/create-clipboard.ts
480
- function An(e) {
480
+ function On(e) {
481
481
  let [t, n] = w(!1), r, i = !1;
482
482
  return k(() => {
483
483
  i = !0, r !== void 0 && clearTimeout(r);
@@ -502,10 +502,10 @@ function An(e) {
502
502
  }
503
503
  //#endregion
504
504
  //#region src/components/icon/elm-copy-icon.module.css
505
- var jn = {
505
+ var kn = {
506
506
  "elm-copy-icon": "_elm-copy-icon_1mzoy_1",
507
507
  "elm-copy-icon-copied": "_elm-copy-icon-copied_1mzoy_29"
508
- }, Mn = /* @__PURE__ */ m("<button>"), Nn = (e) => {
508
+ }, An = /* @__PURE__ */ m("<button>"), jn = (e) => {
509
509
  let [t, n] = j(e, [
510
510
  "class",
511
511
  "style",
@@ -513,7 +513,7 @@ var jn = {
513
513
  "onClick",
514
514
  "type",
515
515
  "aria-label"
516
- ]), r = An({ get content() {
516
+ ]), r = On({ get content() {
517
517
  return t.content;
518
518
  } }), a = (e) => {
519
519
  r.copy().catch(() => void 0);
@@ -521,13 +521,13 @@ var jn = {
521
521
  typeof n == "function" ? n(e) : n?.[0](n[1], e);
522
522
  };
523
523
  return (() => {
524
- var e = Mn();
524
+ var e = An();
525
525
  return e.$$click = a, f(e, l({
526
526
  get type() {
527
527
  return t.type ?? "button";
528
528
  },
529
529
  get class() {
530
- return P(jn["elm-copy-icon"], t.class);
530
+ return P(kn["elm-copy-icon"], t.class);
531
531
  },
532
532
  get style() {
533
533
  return t.style;
@@ -535,14 +535,14 @@ var jn = {
535
535
  get "aria-label"() {
536
536
  return t["aria-label"] ?? (r.copied() ? "Copied" : "Copy to clipboard");
537
537
  }
538
- }, n), !1, !0), s(e, i(V, {
538
+ }, n), !1, !0), s(e, i(U, {
539
539
  "aria-hidden": "true",
540
540
  role: "presentation",
541
541
  get class() {
542
- return P(r.copied() && jn["elm-copy-icon-copied"]);
542
+ return P(r.copied() && kn["elm-copy-icon-copied"]);
543
543
  },
544
544
  get d() {
545
- return r.copied() ? ie : ae;
545
+ return r.copied() ? re : ie;
546
546
  },
547
547
  size: "1.25rem"
548
548
  })), e;
@@ -551,9 +551,9 @@ var jn = {
551
551
  a(["click"]);
552
552
  //#endregion
553
553
  //#region src/components/icon/language-glyph.tsx
554
- var Pn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), Fn = (e, t, n) => t === "id" ? `${e}-${n}` : e.replace(/url\(#([^)]+)\)/g, `url(#$1-${n})`), In = (t, n) => {
554
+ 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
555
  let r = {};
556
- for (let [e, i] of Object.entries(t.attrs ?? {})) r[e] = Fn(i, e, n);
556
+ for (let [e, i] of Object.entries(t.attrs ?? {})) r[e] = Nn(i, e, n);
557
557
  return i(e, l({ get component() {
558
558
  return t.tag;
559
559
  } }, r, {
@@ -565,11 +565,11 @@ var Pn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), Fn = (e, t
565
565
  get each() {
566
566
  return t.children;
567
567
  },
568
- children: (e) => In(e, n)
568
+ children: (e) => Pn(e, n)
569
569
  });
570
570
  }
571
571
  }));
572
- }, Ln = (e) => {
572
+ }, Fn = (e) => {
573
573
  let [t] = j(D({ size: 24 }, e), [
574
574
  "icon",
575
575
  "size",
@@ -577,7 +577,7 @@ var Pn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), Fn = (e, t
577
577
  "style"
578
578
  ]), n = T(), r = C(() => t.icon.attrs ?? {});
579
579
  return (() => {
580
- var e = Pn();
580
+ var e = Mn();
581
581
  return f(e, l({
582
582
  get viewBox() {
583
583
  return t.icon.viewBox;
@@ -598,13 +598,13 @@ var Pn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), Fn = (e, t
598
598
  get each() {
599
599
  return t.icon.children;
600
600
  },
601
- children: (e) => In(e, n)
601
+ children: (e) => Pn(e, n)
602
602
  })), e;
603
603
  })();
604
- }, Rn = "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", zn = (e) => {
604
+ }, 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
605
  let t = D({ size: 24 }, e), n = C(() => {
606
- let e = it(t.language);
607
- return e === "file" ? void 0 : rt[e];
606
+ let e = nt(t.language);
607
+ return e === "file" ? void 0 : tt[e];
608
608
  });
609
609
  return i(v, {
610
610
  get when() {
@@ -612,8 +612,8 @@ var Pn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), Fn = (e, t
612
612
  },
613
613
  keyed: !0,
614
614
  get fallback() {
615
- return i(V, {
616
- d: Rn,
615
+ return i(U, {
616
+ d: In,
617
617
  get size() {
618
618
  return String(t.size);
619
619
  },
@@ -625,7 +625,7 @@ var Pn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), Fn = (e, t
625
625
  }
626
626
  });
627
627
  },
628
- children: (e) => i(Ln, {
628
+ children: (e) => i(Fn, {
629
629
  icon: e,
630
630
  get size() {
631
631
  return t.size;
@@ -638,11 +638,11 @@ var Pn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), Fn = (e, t
638
638
  }
639
639
  })
640
640
  });
641
- }, Bn = {
641
+ }, Rn = {
642
642
  "elm-square-loading-icon": "_elm-square-loading-icon_m72nq_19",
643
643
  square: "_square_m72nq_28",
644
644
  appear: "_appear_m72nq_1"
645
- }, Vn = /* @__PURE__ */ m("<span>"), Hn = 1200, Un = (e) => {
645
+ }, zn = /* @__PURE__ */ m("<span>"), Bn = 1200, Vn = (e) => {
646
646
  let [t, n] = j(D({
647
647
  size: "3rem",
648
648
  dimensions: 4
@@ -654,16 +654,16 @@ var Pn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), Fn = (e, t
654
654
  "dimensions"
655
655
  ]), a = C(() => Array(t.dimensions).fill(null).map((e, t) => t));
656
656
  return (() => {
657
- var e = Vn();
657
+ var e = zn();
658
658
  return f(e, l({
659
659
  get class() {
660
- return P(Bn["elm-square-loading-icon"], t.class);
660
+ return P(Rn["elm-square-loading-icon"], t.class);
661
661
  },
662
662
  get style() {
663
- return L(t.style, {
663
+ return z(t.style, {
664
664
  "--elmethis-scoped-size": t.size,
665
665
  "--elmethis-scoped-dimensions": t.dimensions,
666
- "--elmethis-scoped-duration": `${Hn}ms`
666
+ "--elmethis-scoped-duration": `${Bn}ms`
667
667
  });
668
668
  }
669
669
  }, n), !1, !0), s(e, i(g, {
@@ -675,9 +675,9 @@ var Pn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), Fn = (e, t
675
675
  return a();
676
676
  },
677
677
  children: (n) => (() => {
678
- var i = Vn();
678
+ var i = zn();
679
679
  return o((a) => {
680
- var o = Bn.square, s = `${Hn / (t.dimensions * 3) * (e + n)}ms`;
680
+ var o = Rn.square, s = `${Bn / (t.dimensions * 3) * (e + n)}ms`;
681
681
  return o !== a.e && r(i, a.e = o), s !== a.t && d(i, "--elmethis-scoped-delay", a.t = s), a;
682
682
  }, {
683
683
  e: void 0,
@@ -687,52 +687,52 @@ var Pn = /* @__PURE__ */ m("<svg xmlns=http://www.w3.org/2000/svg>"), Fn = (e, t
687
687
  })
688
688
  })), e;
689
689
  })();
690
- }, Wn = "elmethis-theme", Gn = "(prefers-color-scheme: dark)", Kn = "elmethis-theme-change", qn = (e) => e === "dark" ? "dark" : e === "light" ? "light" : null, Jn = () => {
690
+ }, Hn = "elmethis-theme", Un = "(prefers-color-scheme: dark)", Wn = "elmethis-theme-change", Gn = (e) => e === "dark" ? "dark" : e === "light" ? "light" : null, Kn = () => {
691
691
  try {
692
- return qn(window.localStorage.getItem(Wn));
692
+ return Gn(window.localStorage.getItem(Hn));
693
693
  } catch {
694
694
  return null;
695
695
  }
696
- }, Yn = (e, t) => {
696
+ }, qn = (e, t) => {
697
697
  let n = document.documentElement;
698
698
  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(Wn) : window.localStorage.setItem(Wn, e);
699
+ e === null ? window.localStorage.removeItem(Hn) : window.localStorage.setItem(Hn, e);
700
700
  } catch {}
701
- window.dispatchEvent(new CustomEvent(Kn, { detail: e }));
701
+ window.dispatchEvent(new CustomEvent(Wn, { detail: e }));
702
702
  };
703
- function Xn() {
703
+ function Jn() {
704
704
  let [e, t] = w(!1), n, r = () => n?.matches ?? !1;
705
705
  return A(() => {
706
- typeof window.matchMedia == "function" && (n = window.matchMedia(Gn));
706
+ typeof window.matchMedia == "function" && (n = window.matchMedia(Un));
707
707
  let e = (e) => {
708
708
  let n = e.detail;
709
709
  t(n === null ? r() : n === "dark");
710
710
  }, i = (e) => {
711
- if (e.key !== null && e.key !== Wn) return;
712
- let n = qn(e.newValue);
713
- t(n === null ? r() : n === "dark"), Yn(n, !1);
711
+ if (e.key !== null && e.key !== Hn) return;
712
+ let n = Gn(e.newValue);
713
+ t(n === null ? r() : n === "dark"), qn(n, !1);
714
714
  }, a = (e) => {
715
- Jn() === null && t(e.matches);
715
+ Kn() === null && t(e.matches);
716
716
  };
717
- window.addEventListener(Kn, e), window.addEventListener("storage", i), n?.addEventListener("change", a);
718
- let o = Jn();
719
- t(o === null ? r() : o === "dark"), o !== null && Yn(o, !1), k(() => {
720
- window.removeEventListener(Kn, e), window.removeEventListener("storage", i), n?.removeEventListener("change", a), n = void 0;
717
+ window.addEventListener(Wn, e), window.addEventListener("storage", i), n?.addEventListener("change", a);
718
+ let o = Kn();
719
+ t(o === null ? r() : o === "dark"), o !== null && qn(o, !1), k(() => {
720
+ window.removeEventListener(Wn, e), window.removeEventListener("storage", i), n?.removeEventListener("change", a), n = void 0;
721
721
  });
722
722
  }), {
723
723
  isDarkTheme: e,
724
724
  toggleTheme: () => {
725
725
  let n = e() ? "light" : "dark";
726
- t(n === "dark"), Yn(n, !0);
726
+ t(n === "dark"), qn(n, !0);
727
727
  }
728
728
  };
729
729
  }
730
730
  //#endregion
731
731
  //#region src/components/icon/elm-toggle-theme.module.css
732
- var Zn = { "elm-toggle-theme": "_elm-toggle-theme_1none_1" }, Qn = /* @__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>"), $n = /* @__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>"), er = (e) => ({
732
+ 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
733
  attributeName: "opacity",
734
734
  to: e
735
- }), tr = (e) => {
735
+ }), $n = (e) => {
736
736
  let [t, n] = j(D({ size: "2rem" }, e), [
737
737
  "class",
738
738
  "style",
@@ -744,7 +744,7 @@ var Zn = { "elm-toggle-theme": "_elm-toggle-theme_1none_1" }, Qn = /* @__PURE__
744
744
  "tabIndex",
745
745
  "aria-label",
746
746
  "children"
747
- ]), r = Xn(), i = T(), a = `elm-toggle-theme-moon-mask-${i}`, o = `elm-toggle-theme-sun-animation-${i}`, s = `elm-toggle-theme-sun-mask-${i}`, d = (e) => {
747
+ ]), r = Jn(), i = T(), a = `elm-toggle-theme-moon-mask-${i}`, o = `elm-toggle-theme-sun-animation-${i}`, s = `elm-toggle-theme-sun-mask-${i}`, d = (e) => {
748
748
  r.toggleTheme();
749
749
  let n = t.onClick;
750
750
  typeof n == "function" ? n(e) : n?.[0](n[1], e);
@@ -757,7 +757,7 @@ var Zn = { "elm-toggle-theme": "_elm-toggle-theme_1none_1" }, Qn = /* @__PURE__
757
757
  viewBox: "0 0 24 24"
758
758
  };
759
759
  return c(() => c(() => !r.isDarkTheme())() ? (() => {
760
- var e = Qn(), r = e.firstChild.nextSibling.nextSibling, i = r.firstChild, o = r.nextSibling, s = o.nextSibling, c = s.firstChild.nextSibling;
760
+ var e = Xn(), r = e.firstChild.nextSibling.nextSibling, i = r.firstChild, o = r.nextSibling, s = o.nextSibling, c = s.firstChild.nextSibling;
761
761
  return f(e, l(m, {
762
762
  get width() {
763
763
  return t.size;
@@ -766,7 +766,7 @@ var Zn = { "elm-toggle-theme": "_elm-toggle-theme_1none_1" }, Qn = /* @__PURE__
766
766
  return t.size;
767
767
  },
768
768
  get class() {
769
- return P(Zn["elm-toggle-theme"], t.class);
769
+ return P(Yn["elm-toggle-theme"], t.class);
770
770
  },
771
771
  get style() {
772
772
  return t.style;
@@ -782,15 +782,15 @@ var Zn = { "elm-toggle-theme": "_elm-toggle-theme_1none_1" }, Qn = /* @__PURE__
782
782
  },
783
783
  onClick: d,
784
784
  onKeyDown: p
785
- }, n), !0, !0), f(i, l(() => er("0"), {
785
+ }, n), !0, !0), f(i, l(() => Qn("0"), {
786
786
  fill: "freeze",
787
787
  begin: "0.6s"
788
- }), !0, !1), u(o, "id", a), u(s, "mask", `url(#${a})`), f(c, l(() => er("1"), {
788
+ }), !0, !1), u(o, "id", a), u(s, "mask", `url(#${a})`), f(c, l(() => Qn("1"), {
789
789
  fill: "freeze",
790
790
  begin: "0.6s"
791
791
  }), !0, !1), e;
792
792
  })() : (() => {
793
- var e = $n(), 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;
793
+ 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
794
  return f(e, l(m, {
795
795
  get width() {
796
796
  return t.size;
@@ -799,7 +799,7 @@ var Zn = { "elm-toggle-theme": "_elm-toggle-theme_1none_1" }, Qn = /* @__PURE__
799
799
  return t.size;
800
800
  },
801
801
  get class() {
802
- return P(Zn["elm-toggle-theme"], t.class);
802
+ return P(Yn["elm-toggle-theme"], t.class);
803
803
  },
804
804
  get style() {
805
805
  return t.style;
@@ -815,27 +815,27 @@ var Zn = { "elm-toggle-theme": "_elm-toggle-theme_1none_1" }, Qn = /* @__PURE__
815
815
  },
816
816
  onClick: d,
817
817
  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(() => er("0"), {
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(() => Qn("0"), {
819
819
  fill: "freeze",
820
820
  begin: "0.5s"
821
- }), !0, !1), f(E, l(() => er("1"), {
821
+ }), !0, !1), f(E, l(() => Qn("1"), {
822
822
  fill: "freeze",
823
823
  begin: "0.5s"
824
- }), !0, !1), u(D, "id", s), u(O, "mask", `url(#${s})`), f(k, l(() => er("0"), {
824
+ }), !0, !1), u(D, "id", s), u(O, "mask", `url(#${s})`), f(k, l(() => Qn("0"), {
825
825
  fill: "freeze",
826
826
  begin: "0.5s"
827
827
  }), !0, !1), e;
828
828
  })());
829
- }, nr = {
829
+ }, er = {
830
830
  "elm-file": "_elm-file_aoaqq_1",
831
831
  "file-size": "_file-size_aoaqq_12",
832
832
  "download-icon": "_download-icon_aoaqq_17"
833
- }, rr = /* @__PURE__ */ m("<div><div></div><div></div><div></div><div>");
834
- function ir(e) {
833
+ }, tr = /* @__PURE__ */ m("<div><div></div><div></div><div></div><div>");
834
+ function nr(e) {
835
835
  let t = e.split(/[?#]/)[0].split("/").filter(Boolean);
836
836
  return t.length > 0 ? t[t.length - 1] : null;
837
837
  }
838
- var ar = (e) => {
838
+ var rr = (e) => {
839
839
  let [t, n] = j(e, [
840
840
  "class",
841
841
  "name",
@@ -855,27 +855,27 @@ var ar = (e) => {
855
855
  let i = URL.createObjectURL(r);
856
856
  a && URL.revokeObjectURL(a), a = i;
857
857
  let o = document.createElement("a");
858
- o.href = a, o.download = n ?? ir(e) ?? "file", o.click();
858
+ o.href = a, o.download = n ?? nr(e) ?? "file", o.click();
859
859
  } catch (e) {
860
860
  console.error("ERROR:", e);
861
861
  }
862
862
  };
863
863
  return (() => {
864
- var e = rr(), a = e.firstChild, c = a.nextSibling, d = c.nextSibling, p = d.nextSibling;
864
+ var e = tr(), a = e.firstChild, c = a.nextSibling, d = c.nextSibling, p = d.nextSibling;
865
865
  return f(e, l({ get class() {
866
- return P(nr["elm-file"], t.class);
867
- } }, n), !1, !0), s(a, i(V, {
868
- d: ue,
866
+ return P(er["elm-file"], t.class);
867
+ } }, n), !1, !0), s(a, i(U, {
868
+ d: le,
869
869
  size: "1.25rem"
870
- })), s(c, i(z, { get children() {
871
- return t.name ?? ir(t.src);
872
- } })), s(d, i(z, { get children() {
870
+ })), s(c, i(V, { get children() {
871
+ return t.name ?? nr(t.src);
872
+ } })), s(d, i(V, { get children() {
873
873
  return t.filesize;
874
- } })), p.$$click = () => void u(), s(p, i(V, {
875
- d: oe,
874
+ } })), p.$$click = () => void u(), s(p, i(U, {
875
+ d: ae,
876
876
  size: "1.25rem"
877
877
  })), o((e) => {
878
- var t = nr["file-size"], n = nr["download-icon"];
878
+ var t = er["file-size"], n = er["download-icon"];
879
879
  return t !== e.e && r(d, e.e = t), n !== e.t && r(p, e.t = n), e;
880
880
  }, {
881
881
  e: void 0,
@@ -884,7 +884,7 @@ var ar = (e) => {
884
884
  })();
885
885
  };
886
886
  a(["click"]);
887
- var or = {
887
+ var ir = {
888
888
  "elm-bookmark": "_elm-bookmark_cbkg4_1",
889
889
  container: "_container_cbkg4_23",
890
890
  image: "_image_cbkg4_35",
@@ -892,10 +892,10 @@ var or = {
892
892
  title: "_title_cbkg4_71",
893
893
  description: "_description_cbkg4_75",
894
894
  link: "_link_cbkg4_80"
895
- }, sr = /* @__PURE__ */ m("<div><a target=_blank rel=\"noopener noreferrer\"><img alt=\"OGP Image\"><div><div></div><div></div><div>"), cr = {
895
+ }, ar = /* @__PURE__ */ m("<div><a target=_blank rel=\"noopener noreferrer\"><img alt=\"OGP Image\"><div><div></div><div></div><div>"), or = {
896
896
  visibility: "hidden",
897
897
  width: "0"
898
- }, lr = (e) => {
898
+ }, sr = (e) => {
899
899
  let [t, n] = j(e, [
900
900
  "class",
901
901
  "title",
@@ -905,34 +905,34 @@ var or = {
905
905
  "favicon"
906
906
  ]), [a, d] = w(!1);
907
907
  return S(O(() => t.image, () => d(!1), { defer: !0 })), (() => {
908
- var e = sr(), m = e.firstChild, h = m.firstChild, g = h.nextSibling, _ = g.firstChild, v = _.nextSibling, y = v.nextSibling;
908
+ var e = ar(), m = e.firstChild, h = m.firstChild, g = h.nextSibling, _ = g.firstChild, v = _.nextSibling, y = v.nextSibling;
909
909
  return f(e, l({ get class() {
910
- return P(or["elm-bookmark"], t.class);
911
- } }, n), !1, !0), h.addEventListener("error", () => d(!0)), s(_, i(z, {
910
+ return P(ir["elm-bookmark"], t.class);
911
+ } }, n), !1, !0), h.addEventListener("error", () => d(!0)), s(_, i(V, {
912
912
  bold: !0,
913
913
  get children() {
914
914
  return t.title;
915
915
  }
916
- })), s(v, i(z, {
916
+ })), s(v, i(V, {
917
917
  size: "0.75rem",
918
918
  get children() {
919
919
  return t.description;
920
920
  }
921
921
  })), s(y, (() => {
922
922
  var e = c(() => !!t.favicon);
923
- return () => e() ? i(Yt, { get src() {
923
+ return () => e() ? i(qt, { get src() {
924
924
  return t.favicon;
925
- } }) : i(V, {
926
- d: F,
925
+ } }) : i(U, {
926
+ d: I,
927
927
  color: "var(--elmethis-color-accent-info)"
928
928
  });
929
- })(), null), s(y, i(z, {
929
+ })(), null), s(y, i(V, {
930
930
  size: "0.75rem",
931
931
  get children() {
932
932
  return t.url;
933
933
  }
934
934
  }), null), o((e) => {
935
- var n = or.container, i = t.url, o = or.image, s = t.image, c = a() || t.image == null ? cr : void 0, l = or.content, d = or.title, f = or.description, b = or.link;
935
+ 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
936
  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
937
  }, {
938
938
  e: void 0,
@@ -946,43 +946,43 @@ var or = {
946
946
  r: void 0
947
947
  }), e;
948
948
  })();
949
- }, ur = {
949
+ }, cr = {
950
950
  "elm-breadcrumb": "_elm-breadcrumb_13oke_1",
951
951
  "link-container": "_link-container_13oke_9",
952
952
  icon: "_icon_13oke_23",
953
953
  chunk: "_chunk_13oke_36",
954
954
  chevron: "_chevron_13oke_41"
955
- }, dr = /* @__PURE__ */ m("<nav>"), fr = /* @__PURE__ */ m("<span style=display:contents><span><span>"), pr = (e) => {
955
+ }, lr = /* @__PURE__ */ m("<nav>"), ur = /* @__PURE__ */ m("<span style=display:contents><span><span>"), dr = (e) => {
956
956
  let [n, a] = j(e, ["class", "links"]);
957
957
  return (() => {
958
- var e = dr();
958
+ var e = lr();
959
959
  return f(e, l({ get class() {
960
- return P(ur["elm-breadcrumb"], n.class);
960
+ return P(cr["elm-breadcrumb"], n.class);
961
961
  } }, a), !1, !0), s(e, i(g, {
962
962
  get each() {
963
963
  return n.links;
964
964
  },
965
965
  children: (e, a) => (() => {
966
- var l = fr(), u = l.firstChild, d = u.firstChild;
967
- return t(u, "click", e.onClick, !0), s(u, i(V, {
966
+ var l = ur(), u = l.firstChild, d = u.firstChild;
967
+ return t(u, "click", e.onClick, !0), s(u, i(U, {
968
968
  get class() {
969
- return ur.icon;
969
+ return cr.icon;
970
970
  },
971
971
  get d() {
972
- return c(() => a() === 0)() ? fe : a() === n.links.length - 1 ? te : de;
972
+ return c(() => a() === 0)() ? de : a() === n.links.length - 1 ? F : ue;
973
973
  },
974
974
  size: "1rem"
975
975
  }), d), s(d, () => e.text), s(l, (() => {
976
976
  var e = c(() => n.links.length !== a() + 1);
977
- return () => e() && i(V, {
977
+ return () => e() && i(U, {
978
978
  get class() {
979
- return ur.chevron;
979
+ return cr.chevron;
980
980
  },
981
- d: re,
981
+ d: ne,
982
982
  size: "1rem"
983
983
  });
984
984
  })(), null), o((e) => {
985
- var t = ur["link-container"], n = ur.chunk;
985
+ var t = cr["link-container"], n = cr.chunk;
986
986
  return t !== e.e && r(u, e.e = t), n !== e.t && r(d, e.t = n), e;
987
987
  }, {
988
988
  e: void 0,
@@ -993,13 +993,13 @@ var or = {
993
993
  })();
994
994
  };
995
995
  a(["click"]);
996
- var mr = {
996
+ var fr = {
997
997
  "elm-page-top": "_elm-page-top_u2nu8_1",
998
998
  move: "_move_u2nu8_1",
999
999
  visible: "_visible_u2nu8_35",
1000
1000
  partial: "_partial_u2nu8_42",
1001
1001
  text: "_text_u2nu8_79"
1002
- }, hr = /* @__PURE__ */ m("<nav><div aria-hidden=true></div><div aria-hidden=true></div><div aria-hidden=true></div><span>Back to Top"), gr = (e) => {
1002
+ }, 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
1003
  let [t, n] = j(D({ position: "right" }, e), [
1004
1004
  "class",
1005
1005
  "style",
@@ -1028,13 +1028,13 @@ var mr = {
1028
1028
  typeof n == "function" ? n(e) : n?.[0](n[1], e);
1029
1029
  };
1030
1030
  return (() => {
1031
- var e = hr(), a = e.firstChild, s = a.nextSibling, p = s.nextSibling, m = p.nextSibling;
1031
+ var e = pr(), a = e.firstChild, s = a.nextSibling, p = s.nextSibling, m = p.nextSibling;
1032
1032
  return e.$$keydown = d, e.$$click = u, f(e, l({
1033
1033
  get class() {
1034
- return P(mr["elm-page-top"], i() && mr.visible, t.class);
1034
+ return P(fr["elm-page-top"], i() && fr.visible, t.class);
1035
1035
  },
1036
1036
  get style() {
1037
- return L(t.style, {
1037
+ return z(t.style, {
1038
1038
  "--elmethis-scoped-size": "64px",
1039
1039
  left: t.position === "left" ? "0" : "auto",
1040
1040
  right: t.position === "right" ? "0" : "auto"
@@ -1050,7 +1050,7 @@ var mr = {
1050
1050
  return c(() => !!i())() ? t.tabindex ?? t.tabIndex ?? 0 : -1;
1051
1051
  }
1052
1052
  }, n), !1, !0), o((e) => {
1053
- var t = mr.partial, n = mr.partial, i = mr.partial, o = mr.text;
1053
+ var t = fr.partial, n = fr.partial, i = fr.partial, o = fr.text;
1054
1054
  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
1055
  }, {
1056
1056
  e: void 0,
@@ -1061,7 +1061,7 @@ var mr = {
1061
1061
  })();
1062
1062
  };
1063
1063
  a(["click", "keydown"]);
1064
- var _r = {
1064
+ var hr = {
1065
1065
  "elm-notion-callout": "_elm-notion-callout_15idh_1",
1066
1066
  icon: "_icon_15idh_9",
1067
1067
  content: "_content_15idh_15",
@@ -1077,7 +1077,7 @@ var _r = {
1077
1077
  blue: "_blue_15idh_74",
1078
1078
  purple: "_purple_15idh_79",
1079
1079
  magenta: "_magenta_15idh_86"
1080
- }, vr = /* @__PURE__ */ m("<div><div>"), yr = /* @__PURE__ */ m("<span role=img>"), br = (e) => {
1080
+ }, gr = /* @__PURE__ */ m("<div><div>"), _r = /* @__PURE__ */ m("<span role=img>"), vr = (e) => {
1081
1081
  let [t, n] = j(D({
1082
1082
  color: "gray",
1083
1083
  variant: "filled"
@@ -1089,17 +1089,17 @@ var _r = {
1089
1089
  "variant"
1090
1090
  ]);
1091
1091
  return (() => {
1092
- var e = vr(), a = e.firstChild;
1092
+ var e = gr(), a = e.firstChild;
1093
1093
  return f(e, l(n, { get class() {
1094
- return P(_r["elm-notion-callout"], _r[t.color], _r[t.variant], t.class);
1094
+ return P(hr["elm-notion-callout"], hr[t.color], hr[t.variant], t.class);
1095
1095
  } }), !1, !0), s(e, (() => {
1096
1096
  var e = c(() => t.icon?.kind === "emoji");
1097
1097
  return () => e() ? (() => {
1098
- var e = yr();
1099
- return s(e, () => t.icon.emoji), o(() => r(e, _r.icon)), e;
1100
- })() : c(() => t.icon?.kind === "image")() ? i(Yt, {
1098
+ var e = _r();
1099
+ return s(e, () => t.icon.emoji), o(() => r(e, hr.icon)), e;
1100
+ })() : c(() => t.icon?.kind === "image")() ? i(qt, {
1101
1101
  get class() {
1102
- return _r.icon;
1102
+ return hr.icon;
1103
1103
  },
1104
1104
  get src() {
1105
1105
  return t.icon.src;
@@ -1109,9 +1109,9 @@ var _r = {
1109
1109
  },
1110
1110
  size: 20
1111
1111
  }) : null;
1112
- })(), a), s(a, () => t.children), o(() => r(a, _r.content)), e;
1112
+ })(), a), s(a, () => t.children), o(() => r(a, hr.content)), e;
1113
1113
  })();
1114
- }, H = {
1114
+ }, yr = {
1115
1115
  "elm-color-primitive-sample": "_elm-color-primitive-sample_vuro0_1",
1116
1116
  toolbar: "_toolbar_vuro0_6",
1117
1117
  "mode-toggle": "_mode-toggle_vuro0_11",
@@ -1122,12 +1122,12 @@ var _r = {
1122
1122
  swatch: "_swatch_vuro0_52",
1123
1123
  "swatch-name": "_swatch-name_vuro0_55",
1124
1124
  "swatch-bg": "_swatch-bg_vuro0_60"
1125
- }, xr = (e) => {
1125
+ }, br = (e) => {
1126
1126
  let t = e.match(/\d+(?:\.\d+)?/g);
1127
1127
  if (!t || t.length < 3) return null;
1128
1128
  let n = (e) => Math.max(0, Math.min(255, Math.round(Number(e)))).toString(16).padStart(2, "0");
1129
1129
  return `#${n(t[0])}${n(t[1])}${n(t[2])}`;
1130
- }, Sr = () => {
1130
+ }, xr = () => {
1131
1131
  let [e, t] = w(null), [n, r] = w("variable"), i, a = !1;
1132
1132
  return k(() => {
1133
1133
  a = !0, i !== void 0 && clearTimeout(i);
@@ -1145,7 +1145,7 @@ var _r = {
1145
1145
  let e = r.closest("[data-theme]") ?? r.ownerDocument.documentElement, t = r.ownerDocument.createElement("span");
1146
1146
  t.style.color = `var(${o})`, t.style.display = "none", e.append(t);
1147
1147
  try {
1148
- l = xr(s.getComputedStyle(t).color) ?? o;
1148
+ l = br(s.getComputedStyle(t).color) ?? o;
1149
1149
  } finally {
1150
1150
  t.remove();
1151
1151
  }
@@ -1155,11 +1155,11 @@ var _r = {
1155
1155
  }, 1500));
1156
1156
  }
1157
1157
  };
1158
- }, Cr = /* @__PURE__ */ m("<div><div><button type=button>Copy: "), wr = /* @__PURE__ */ m("<div><span></span><div>"), Tr = /* @__PURE__ */ m("<div><div></div><code>"), Er = "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", Dr = "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", Or = [
1158
+ }, Sr = /* @__PURE__ */ m("<div><div><button type=button>Copy: "), Cr = /* @__PURE__ */ m("<div><span></span><div>"), wr = /* @__PURE__ */ m("<div><div></div><code>"), Tr = "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", Er = "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", Dr = [
1159
1159
  100,
1160
1160
  500,
1161
1161
  900
1162
- ], kr = [
1162
+ ], Or = [
1163
1163
  100,
1164
1164
  200,
1165
1165
  300,
@@ -1169,71 +1169,71 @@ var _r = {
1169
1169
  700,
1170
1170
  800,
1171
1171
  900
1172
- ], Ar = [
1172
+ ], kr = [
1173
1173
  {
1174
1174
  hue: "red",
1175
- steps: Or
1175
+ steps: Dr
1176
1176
  },
1177
1177
  {
1178
1178
  hue: "orange",
1179
- steps: Or
1179
+ steps: Dr
1180
1180
  },
1181
1181
  {
1182
1182
  hue: "yellow",
1183
- steps: Or
1183
+ steps: Dr
1184
1184
  },
1185
1185
  {
1186
1186
  hue: "green",
1187
- steps: Or
1187
+ steps: Dr
1188
1188
  },
1189
1189
  {
1190
1190
  hue: "cyan",
1191
- steps: Or
1191
+ steps: Dr
1192
1192
  },
1193
1193
  {
1194
1194
  hue: "blue",
1195
- steps: Or
1195
+ steps: Dr
1196
1196
  },
1197
1197
  {
1198
1198
  hue: "purple",
1199
- steps: Or
1199
+ steps: Dr
1200
1200
  },
1201
1201
  {
1202
1202
  hue: "magenta",
1203
- steps: Or
1203
+ steps: Dr
1204
1204
  },
1205
1205
  {
1206
1206
  hue: "slate",
1207
- steps: kr
1207
+ steps: Or
1208
1208
  },
1209
1209
  {
1210
1210
  hue: "gold",
1211
- steps: kr
1211
+ steps: Or
1212
1212
  }
1213
- ], jr = (e) => {
1214
- let [n, a] = j(e, ["class", "style"]), c = Sr();
1213
+ ], Ar = (e) => {
1214
+ let [n, a] = j(e, ["class", "style"]), c = xr();
1215
1215
  return (() => {
1216
- var e = Cr(), p = e.firstChild, m = p.firstChild, h = m.firstChild;
1216
+ var e = Sr(), p = e.firstChild, m = p.firstChild, h = m.firstChild;
1217
1217
  return f(e, l(a, {
1218
1218
  get class() {
1219
- return P(H["elm-color-primitive-sample"], n.class);
1219
+ return P(yr["elm-color-primitive-sample"], n.class);
1220
1220
  },
1221
1221
  get style() {
1222
1222
  return n.style;
1223
1223
  },
1224
1224
  "on:click": (e) => void c.copyToken(e)
1225
- }), !1, !0), t(m, "click", c.toggleCopyMode, !0), s(m, i(V, {
1225
+ }), !1, !0), t(m, "click", c.toggleCopyMode, !0), s(m, i(U, {
1226
1226
  get class() {
1227
- return H["mode-toggle-icon"];
1227
+ return yr["mode-toggle-icon"];
1228
1228
  },
1229
1229
  get d() {
1230
- return c.copyMode() === "hex" ? Dr : Er;
1230
+ return c.copyMode() === "hex" ? Er : Tr;
1231
1231
  },
1232
1232
  size: "1.25rem"
1233
1233
  }), h), s(m, () => c.copyMode() === "hex" ? "hex value" : "variable name", null), s(e, i(g, {
1234
- each: Ar,
1234
+ each: kr,
1235
1235
  children: (e) => (() => {
1236
- var t = wr(), n = t.firstChild, a = n.nextSibling;
1236
+ var t = Cr(), n = t.firstChild, a = n.nextSibling;
1237
1237
  return s(n, () => e.hue), s(a, i(g, {
1238
1238
  get each() {
1239
1239
  return e.steps;
@@ -1241,9 +1241,9 @@ var _r = {
1241
1241
  children: (t) => {
1242
1242
  let n = `--elmethis-primitive-color-${e.hue}-${t}`;
1243
1243
  return (() => {
1244
- var e = Tr(), i = e.firstChild, a = i.nextSibling;
1244
+ var e = wr(), i = e.firstChild, a = i.nextSibling;
1245
1245
  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"];
1246
+ var o = yr.swatch, s = String(t / 100), c = yr["swatch-bg"], l = yr["swatch-name"];
1247
1247
  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
1248
  }, {
1249
1249
  e: void 0,
@@ -1254,7 +1254,7 @@ var _r = {
1254
1254
  })();
1255
1255
  }
1256
1256
  })), o((e) => {
1257
- var i = H.group, o = H["section-title"], s = H.scale;
1257
+ var i = yr.group, o = yr["section-title"], s = yr.scale;
1258
1258
  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
1259
  }, {
1260
1260
  e: void 0,
@@ -1263,7 +1263,7 @@ var _r = {
1263
1263
  }), t;
1264
1264
  })()
1265
1265
  }), null), o((e) => {
1266
- var t = H.toolbar, n = H["mode-toggle"];
1266
+ var t = yr.toolbar, n = yr["mode-toggle"];
1267
1267
  return t !== e.e && r(p, e.e = t), n !== e.t && r(m, e.t = n), e;
1268
1268
  }, {
1269
1269
  e: void 0,
@@ -1272,7 +1272,7 @@ var _r = {
1272
1272
  })();
1273
1273
  };
1274
1274
  a(["click"]);
1275
- var U = {
1275
+ var W = {
1276
1276
  "elm-color-semantic-sample": "_elm-color-semantic-sample_6i1j1_1",
1277
1277
  toolbar: "_toolbar_6i1j1_6",
1278
1278
  "mode-toggle": "_mode-toggle_6i1j1_11",
@@ -1291,11 +1291,11 @@ var U = {
1291
1291
  "color-sample": "_color-sample_6i1j1_112",
1292
1292
  "color-sample-bg": "_color-sample-bg_6i1j1_121",
1293
1293
  "color-sample-name": "_color-sample-name_6i1j1_127"
1294
- }, Mr = /* @__PURE__ */ m("<div>"), Nr = /* @__PURE__ */ m("<div><div></div><code>"), Pr = /* @__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"), Fr = /* @__PURE__ */ m("<span>"), Ir = /* @__PURE__ */ m("<div><span></span><span>"), Lr = /* @__PURE__ */ m("<div><div><button type=button>Copy: </button></div><div>"), Rr = "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", zr = "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", Br = [
1294
+ }, jr = /* @__PURE__ */ m("<div>"), Mr = /* @__PURE__ */ m("<div><div></div><code>"), Nr = /* @__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"), Pr = /* @__PURE__ */ m("<span>"), Fr = /* @__PURE__ */ m("<div><span></span><span>"), Ir = /* @__PURE__ */ m("<div><div><button type=button>Copy: </button></div><div>"), Lr = "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", Rr = "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", zr = [
1295
1295
  "--elmethis-color-surface-sunken",
1296
1296
  "--elmethis-color-surface-base",
1297
1297
  "--elmethis-color-surface-raised"
1298
- ], Vr = [
1298
+ ], Br = [
1299
1299
  "--elmethis-color-neutral-weak",
1300
1300
  "--elmethis-color-neutral",
1301
1301
  "--elmethis-color-neutral-strong",
@@ -1304,15 +1304,15 @@ var U = {
1304
1304
  "--elmethis-color-primary-strong",
1305
1305
  "--elmethis-color-accent-link",
1306
1306
  "--elmethis-color-accent-link-visited"
1307
- ], Hr = [
1307
+ ], Vr = [
1308
1308
  "--elmethis-color-neutral-weak",
1309
1309
  "--elmethis-color-neutral",
1310
1310
  "--elmethis-color-neutral-strong"
1311
- ], Ur = [
1311
+ ], Hr = [
1312
1312
  "--elmethis-color-primary-weak",
1313
1313
  "--elmethis-color-primary",
1314
1314
  "--elmethis-color-primary-strong"
1315
- ], Wr = [
1315
+ ], Ur = [
1316
1316
  {
1317
1317
  foreground: "--elmethis-color-accent-info",
1318
1318
  surface: "--elmethis-color-accent-info-surface"
@@ -1333,7 +1333,7 @@ var U = {
1333
1333
  foreground: "--elmethis-color-accent-error",
1334
1334
  surface: "--elmethis-color-accent-error-surface"
1335
1335
  }
1336
- ], Gr = [
1336
+ ], Wr = [
1337
1337
  "red",
1338
1338
  "orange",
1339
1339
  "yellow",
@@ -1344,15 +1344,15 @@ var U = {
1344
1344
  ].map((e) => ({
1345
1345
  foreground: `--elmethis-color-display-${e}`,
1346
1346
  surface: `--elmethis-color-display-${e}-surface`
1347
- })), Kr = (e) => {
1348
- let [n, a] = j(e, ["class", "style"]), c = Sr(), p = (e) => c.copiedToken() === e ? "copied!" : e, m = (e) => (() => {
1349
- var t = Mr();
1347
+ })), Gr = (e) => {
1348
+ let [n, a] = j(e, ["class", "style"]), c = xr(), p = (e) => c.copiedToken() === e ? "copied!" : e, m = (e) => (() => {
1349
+ var t = jr();
1350
1350
  return s(t, i(g, {
1351
1351
  each: e,
1352
1352
  children: (e) => (() => {
1353
- var t = Nr(), n = t.firstChild, i = n.nextSibling;
1353
+ var t = Mr(), n = t.firstChild, i = n.nextSibling;
1354
1354
  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"];
1355
+ var a = W["color-sample"], o = W["color-sample-bg"], s = W["color-sample-name"];
1356
1356
  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
1357
  }, {
1358
1358
  e: void 0,
@@ -1360,27 +1360,27 @@ var U = {
1360
1360
  a: void 0
1361
1361
  }), t;
1362
1362
  })()
1363
- })), o(() => r(t, U["color-sample-container"])), t;
1363
+ })), o(() => r(t, W["color-sample-container"])), t;
1364
1364
  })(), h = (e) => (() => {
1365
- var t = Pr(), 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;
1365
+ var t = Nr(), 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
1366
  return u(t, "data-theme", e), d(t, "color-scheme", e), s(c, () => p("--elmethis-color-surface-sunken")), s(f, i(g, {
1367
- each: Br,
1367
+ each: zr,
1368
1368
  children: (e) => (() => {
1369
- var t = Mr();
1370
- return d(t, "background-color", `var(${e})`), u(t, "data-copy-token", e), s(t, () => p(e)), o(() => r(t, U.surface)), t;
1369
+ var t = jr();
1370
+ return d(t, "background-color", `var(${e})`), u(t, "data-copy-token", e), s(t, () => p(e)), o(() => r(t, W.surface)), t;
1371
1371
  })()
1372
1372
  }), null), s(_, i(g, {
1373
- each: Vr,
1373
+ each: Br,
1374
1374
  children: (e) => (() => {
1375
- var t = Fr();
1376
- return d(t, "color", `var(${e})`), u(t, "data-copy-token", e), s(t, () => p(e)), o(() => r(t, U.foreground)), t;
1375
+ var t = Pr();
1376
+ return d(t, "color", `var(${e})`), u(t, "data-copy-token", e), s(t, () => p(e)), o(() => r(t, W.foreground)), t;
1377
1377
  })()
1378
1378
  }), null), s(y, i(g, {
1379
- each: Wr,
1379
+ each: Ur,
1380
1380
  children: (e) => (() => {
1381
- var t = Ir(), n = t.firstChild, i = n.nextSibling;
1381
+ var t = Fr(), n = t.firstChild, i = n.nextSibling;
1382
1382
  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;
1383
+ var o = W["accent-pair"], s = `var(${e.foreground})`, c = `var(${e.surface})`, l = e.foreground, f = e.surface;
1384
1384
  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
1385
  }, {
1386
1386
  e: void 0,
@@ -1390,12 +1390,12 @@ var U = {
1390
1390
  i: void 0
1391
1391
  }), t;
1392
1392
  })()
1393
- }), null), s(x, () => m(Hr), null), s(C, () => m(Ur), null), s(T, i(g, {
1394
- each: Gr,
1393
+ }), null), s(x, () => m(Vr), null), s(C, () => m(Hr), null), s(T, i(g, {
1394
+ each: Wr,
1395
1395
  children: (e) => (() => {
1396
- var t = Ir(), n = t.firstChild, i = n.nextSibling;
1396
+ var t = Fr(), n = t.firstChild, i = n.nextSibling;
1397
1397
  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;
1398
+ var o = W["accent-pair"], s = `var(${e.foreground})`, c = `var(${e.surface})`, l = e.foreground, f = e.surface;
1399
1399
  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
1400
  }, {
1401
1401
  e: void 0,
@@ -1406,7 +1406,7 @@ var U = {
1406
1406
  }), t;
1407
1407
  })()
1408
1408
  }), 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"];
1409
+ 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
1410
  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
1411
  }, {
1412
1412
  e: void 0,
@@ -1428,24 +1428,24 @@ var U = {
1428
1428
  }), t;
1429
1429
  })();
1430
1430
  return (() => {
1431
- var e = Lr(), u = e.firstChild, d = u.firstChild, p = d.firstChild, m = u.nextSibling;
1431
+ var e = Ir(), u = e.firstChild, d = u.firstChild, p = d.firstChild, m = u.nextSibling;
1432
1432
  return f(e, l(a, {
1433
1433
  get class() {
1434
- return P(U["elm-color-semantic-sample"], n.class);
1434
+ return P(W["elm-color-semantic-sample"], n.class);
1435
1435
  },
1436
1436
  get style() {
1437
1437
  return n.style;
1438
1438
  }
1439
- }), !1, !0), t(d, "click", c.toggleCopyMode, !0), s(d, i(V, {
1439
+ }), !1, !0), t(d, "click", c.toggleCopyMode, !0), s(d, i(U, {
1440
1440
  get class() {
1441
- return U["mode-toggle-icon"];
1441
+ return W["mode-toggle-icon"];
1442
1442
  },
1443
1443
  get d() {
1444
- return c.copyMode() === "hex" ? zr : Rr;
1444
+ return c.copyMode() === "hex" ? Rr : Lr;
1445
1445
  },
1446
1446
  size: "1.25rem"
1447
1447
  }), 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;
1448
+ var t = W.toolbar, n = W["mode-toggle"], i = W.panels;
1449
1449
  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
1450
  }, {
1451
1451
  e: void 0,
@@ -1455,20 +1455,20 @@ var U = {
1455
1455
  })();
1456
1456
  };
1457
1457
  a(["click"]);
1458
- var qr = {
1458
+ var Kr = {
1459
1459
  "elm-block-quote": "_elm-block-quote_1ez87_1",
1460
1460
  body: "_body_1ez87_19",
1461
1461
  icon: "_icon_1ez87_28",
1462
1462
  "icon-top-left": "_icon-top-left_1ez87_33",
1463
1463
  "icon-bottom-right": "_icon-bottom-right_1ez87_37"
1464
- }, Jr = /* @__PURE__ */ m("<blockquote><div></div><div></div><div>"), Yr = "M10,7L8,11H11V17H5V11L7,7H10M18,7L16,11H19V17H13V11L15,7H18Z", Xr = "M14,17H17L19,13V7H13V13H16M6,17H9L11,13V7H5V13H8L6,17Z", Zr = (e) => {
1464
+ }, qr = /* @__PURE__ */ m("<blockquote><div></div><div></div><div>"), Jr = "M10,7L8,11H11V17H5V11L7,7H10M18,7L16,11H19V17H13V11L15,7H18Z", Yr = "M14,17H17L19,13V7H13V13H16M6,17H9L11,13V7H5V13H8L6,17Z", Xr = (e) => {
1465
1465
  let [t, n] = j(e, ["class", "children"]);
1466
1466
  return (() => {
1467
- var e = Jr(), a = e.firstChild, c = a.nextSibling, u = c.nextSibling;
1467
+ var e = qr(), a = e.firstChild, c = a.nextSibling, u = c.nextSibling;
1468
1468
  return f(e, l(n, { get class() {
1469
- return P(qr["elm-block-quote"], R.text, t.class);
1470
- } }), !1, !0), s(a, i(V, { d: Yr })), s(c, () => t.children), s(u, i(V, { d: Xr })), o((e) => {
1471
- var t = P(qr.icon, qr["icon-top-left"]), n = qr.body, i = P(qr.icon, qr["icon-bottom-right"]);
1469
+ return P(Kr["elm-block-quote"], B.text, t.class);
1470
+ } }), !1, !0), s(a, i(U, { d: Jr })), s(c, () => t.children), s(u, i(U, { d: Yr })), o((e) => {
1471
+ var t = P(Kr.icon, Kr["icon-top-left"]), n = Kr.body, i = P(Kr.icon, Kr["icon-bottom-right"]);
1472
1472
  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
1473
  }, {
1474
1474
  e: void 0,
@@ -1476,7 +1476,7 @@ var qr = {
1476
1476
  a: void 0
1477
1477
  }), e;
1478
1478
  })();
1479
- }, Qr = {
1479
+ }, Zr = {
1480
1480
  "elm-callout": "_elm-callout_1nsmp_1",
1481
1481
  header: "_header_1nsmp_26",
1482
1482
  content: "_content_1nsmp_35",
@@ -1486,60 +1486,60 @@ var qr = {
1486
1486
  important: "_important_1nsmp_55",
1487
1487
  warning: "_warning_1nsmp_59",
1488
1488
  caution: "_caution_1nsmp_63"
1489
- }, $r = /* @__PURE__ */ m("<aside><div><span></span></div><div>"), ei = Object.freeze({
1489
+ }, Qr = /* @__PURE__ */ m("<aside><div><span></span></div><div>"), $r = Object.freeze({
1490
1490
  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
1491
  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
1492
  important: "M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5M11,7H13V13H11M11,15H13V17H11",
1493
1493
  warning: "M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",
1494
1494
  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
- }), ti = (e) => {
1495
+ }), ei = (e) => {
1496
1496
  let [t, n] = j(D({ type: "note" }, e), [
1497
1497
  "class",
1498
1498
  "children",
1499
1499
  "type"
1500
1500
  ]);
1501
1501
  return (() => {
1502
- var e = $r(), a = e.firstChild, c = a.firstChild, u = a.nextSibling;
1502
+ var e = Qr(), a = e.firstChild, c = a.firstChild, u = a.nextSibling;
1503
1503
  return f(e, l(n, { get class() {
1504
- return P(Qr["elm-callout"], Qr[t.type], t.class);
1505
- } }), !1, !0), s(a, i(V, {
1504
+ return P(Zr["elm-callout"], Zr[t.type], t.class);
1505
+ } }), !1, !0), s(a, i(U, {
1506
1506
  get class() {
1507
- return Qr.icon;
1507
+ return Zr.icon;
1508
1508
  },
1509
1509
  get d() {
1510
- return ei[t.type];
1510
+ return $r[t.type];
1511
1511
  },
1512
1512
  size: "1.25rem"
1513
1513
  }), c), s(c, () => t.type), s(u, () => t.children), o((e) => {
1514
- var t = Qr.header, n = Qr.content;
1514
+ var t = Zr.header, n = Zr.content;
1515
1515
  return t !== e.e && r(a, e.e = t), n !== e.t && r(u, e.t = n), e;
1516
1516
  }, {
1517
1517
  e: void 0,
1518
1518
  t: void 0
1519
1519
  }), e;
1520
1520
  })();
1521
- }, ni = { "elm-divider": "_elm-divider_9m6gb_1" }, ri = /* @__PURE__ */ m("<hr>"), ii = (e) => {
1521
+ }, ti = { "elm-divider": "_elm-divider_9m6gb_1" }, ni = /* @__PURE__ */ m("<hr>"), ri = (e) => {
1522
1522
  let [t, n] = j(e, ["class"]);
1523
1523
  return (() => {
1524
- var e = ri();
1524
+ var e = ni();
1525
1525
  return f(e, l({ get class() {
1526
- return P(ni["elm-divider"], t.class);
1526
+ return P(ti["elm-divider"], t.class);
1527
1527
  } }, n), !1, !1), e;
1528
1528
  })();
1529
- }, ai = { "elm-fragment-identifier": "_elm-fragment-identifier_xb2v4_1" }, oi = /* @__PURE__ */ m("<span>#"), si = (e) => {
1529
+ }, ii = { "elm-fragment-identifier": "_elm-fragment-identifier_xb2v4_1" }, ai = /* @__PURE__ */ m("<span>#"), oi = (e) => {
1530
1530
  let [t, n] = j(e, ["class", "id"]), r = () => {
1531
1531
  let e = new URL(window.location.href);
1532
1532
  e.hash = t.id, window.history.replaceState(null, "", e.toString()), document.getElementById(t.id)?.scrollIntoView({ behavior: "smooth" });
1533
1533
  };
1534
1534
  return (() => {
1535
- var e = oi();
1535
+ var e = ai();
1536
1536
  return e.$$click = r, f(e, l({ get class() {
1537
- return P(ai["elm-fragment-identifier"], t.class);
1537
+ return P(ii["elm-fragment-identifier"], t.class);
1538
1538
  } }, n), !1, !0), e;
1539
1539
  })();
1540
1540
  };
1541
1541
  a(["click"]);
1542
- var ci = {
1542
+ var si = {
1543
1543
  "elm-heading": "_elm-heading_1fuld_1",
1544
1544
  h1: "_h1_1fuld_12",
1545
1545
  h2: "_h2_1fuld_34",
@@ -1548,14 +1548,14 @@ var ci = {
1548
1548
  h4: "_h4_1fuld_86",
1549
1549
  h5: "_h5_1fuld_90",
1550
1550
  h6: "_h6_1fuld_94"
1551
- }, li = /* @__PURE__ */ m("<span>"), ui = /* @__PURE__ */ m("<span style=padding:0.5rem>"), di = /* @__PURE__ */ m("<span aria-hidden=true>"), fi = Object.freeze({
1551
+ }, ci = /* @__PURE__ */ m("<span>"), li = /* @__PURE__ */ m("<span style=padding:0.5rem>"), ui = /* @__PURE__ */ m("<span aria-hidden=true>"), di = Object.freeze({
1552
1552
  1: 1.5,
1553
1553
  2: 1.4,
1554
1554
  3: 1.3,
1555
1555
  4: 1.2,
1556
1556
  5: 1.15,
1557
1557
  6: 1.1
1558
- }), pi = (t) => {
1558
+ }), fi = (t) => {
1559
1559
  let [n, a] = j(t, [
1560
1560
  "class",
1561
1561
  "style",
@@ -1568,10 +1568,10 @@ var ci = {
1568
1568
  return `h${n.level}`;
1569
1569
  } }, a, {
1570
1570
  get class() {
1571
- return P(ci["elm-heading"], R.text, ci[`h${n.level}`], n.class);
1571
+ return P(si["elm-heading"], B.text, si[`h${n.level}`], n.class);
1572
1572
  },
1573
1573
  get style() {
1574
- return L(n.style, { "--elmethis-scoped-font-size": `${fi[n.level]}em` });
1574
+ return z(n.style, { "--elmethis-scoped-font-size": `${di[n.level]}em` });
1575
1575
  },
1576
1576
  get id() {
1577
1577
  return n.id;
@@ -1579,28 +1579,28 @@ var ci = {
1579
1579
  get children() {
1580
1580
  return [
1581
1581
  (() => {
1582
- var e = li();
1582
+ var e = ci();
1583
1583
  return s(e, () => n.text), e;
1584
1584
  })(),
1585
1585
  c(() => n.children),
1586
1586
  c(() => c(() => !!n.id)() && (() => {
1587
- var e = ui();
1588
- return s(e, i(si, { get id() {
1587
+ var e = li();
1588
+ return s(e, i(oi, { get id() {
1589
1589
  return n.id;
1590
1590
  } })), e;
1591
1591
  })()),
1592
1592
  c(() => c(() => n.level === 2)() && (() => {
1593
- var e = di();
1594
- return o(() => r(e, ci["h2-underline"])), e;
1593
+ var e = ui();
1594
+ return o(() => r(e, si["h2-underline"])), e;
1595
1595
  })())
1596
1596
  ];
1597
1597
  }
1598
1598
  }));
1599
- }, mi = {
1599
+ }, pi = {
1600
1600
  "elm-list": "_elm-list_brpi5_1",
1601
1601
  bulleted: "_bulleted_brpi5_8",
1602
1602
  numbered: "_numbered_brpi5_57"
1603
- }, hi = (t) => {
1603
+ }, mi = (t) => {
1604
1604
  let [n, r] = j(D({ listStyle: "unordered" }, t), [
1605
1605
  "class",
1606
1606
  "children",
@@ -1610,13 +1610,13 @@ var ci = {
1610
1610
  return n.listStyle === "ordered" ? "ol" : "ul";
1611
1611
  } }, r, {
1612
1612
  get class() {
1613
- return P(R.text, mi["elm-list"], n.listStyle === "ordered" ? mi.numbered : mi.bulleted, n.class);
1613
+ return P(B.text, pi["elm-list"], n.listStyle === "ordered" ? pi.numbered : pi.bulleted, n.class);
1614
1614
  },
1615
1615
  get children() {
1616
1616
  return n.children;
1617
1617
  }
1618
1618
  }));
1619
- }, gi = { "elm-paragraph": "_elm-paragraph_y4o6n_1" }, _i = /* @__PURE__ */ m("<p>"), vi = (e) => {
1619
+ }, hi = { "elm-paragraph": "_elm-paragraph_y4o6n_1" }, gi = /* @__PURE__ */ m("<p>"), _i = (e) => {
1620
1620
  let [t, n] = j(e, [
1621
1621
  "class",
1622
1622
  "style",
@@ -1625,13 +1625,13 @@ var ci = {
1625
1625
  "backgroundColor"
1626
1626
  ]);
1627
1627
  return (() => {
1628
- var e = _i();
1628
+ var e = gi();
1629
1629
  return f(e, l(n, {
1630
1630
  get class() {
1631
- return P(gi["elm-paragraph"], R.text, t.class);
1631
+ return P(hi["elm-paragraph"], B.text, t.class);
1632
1632
  },
1633
1633
  get style() {
1634
- return L(t.style, {
1634
+ return z(t.style, {
1635
1635
  "--elmethis-scoped-color": t.color,
1636
1636
  "--elmethis-scoped-background-color": t.backgroundColor
1637
1637
  });
@@ -1641,7 +1641,7 @@ var ci = {
1641
1641
  };
1642
1642
  //#endregion
1643
1643
  //#region src/primitives/create-async-state.ts
1644
- function yi(e, t, n = {}) {
1644
+ function vi(e, t, n = {}) {
1645
1645
  let [r, i] = w(t, { equals: Object.is }), [a, o] = w(!1), [s, c] = w(!1), [l, u] = w(void 0, { equals: Object.is }), d = /* @__PURE__ */ new Map(), f = 0, p = !1, m = (e) => new Promise((t) => {
1646
1646
  let n = setTimeout(() => {
1647
1647
  d.delete(n), t();
@@ -1676,7 +1676,7 @@ function yi(e, t, n = {}) {
1676
1676
  }
1677
1677
  //#endregion
1678
1678
  //#region src/primitives/create-auto-animate.ts
1679
- function bi(e) {
1679
+ function yi(e) {
1680
1680
  let [t, n] = w(e?.enabled ?? !0), [r, i] = w(), a = !1, o, s, c = 0, l = () => {
1681
1681
  let e = s;
1682
1682
  s = void 0, i(void 0), e?.destroy?.();
@@ -1707,7 +1707,7 @@ function bi(e) {
1707
1707
  }
1708
1708
  //#endregion
1709
1709
  //#region src/primitives/create-debounced.ts
1710
- function xi(e, t) {
1710
+ function bi(e, t) {
1711
1711
  let [n, r] = w(e, { equals: Object.is }), [i, a] = w(e, { equals: Object.is }), o, s = () => {
1712
1712
  o !== void 0 && (clearTimeout(o), o = void 0);
1713
1713
  };
@@ -1725,7 +1725,7 @@ function xi(e, t) {
1725
1725
  }
1726
1726
  //#endregion
1727
1727
  //#region src/primitives/create-delayed-signal.ts
1728
- function Si(e) {
1728
+ function xi(e) {
1729
1729
  let [t, n] = w(e, { equals: Object.is }), [r, i] = w(e, { equals: Object.is }), [a, o] = w(!1), s, c = () => {
1730
1730
  s !== void 0 && (clearTimeout(s), s = void 0);
1731
1731
  };
@@ -1746,48 +1746,48 @@ function Si(e) {
1746
1746
  }
1747
1747
  //#endregion
1748
1748
  //#region src/primitives/create-storage.ts
1749
- var Ci = "elmethis-local-storage-change", wi = "elmethis:sessionStorage:", Ti = (e) => JSON.parse(e), Ei = (e) => {
1749
+ var Si = "elmethis-local-storage-change", Ci = "elmethis:sessionStorage:", wi = (e) => JSON.parse(e), Ti = (e) => {
1750
1750
  let t = JSON.stringify(e);
1751
1751
  if (t === void 0) throw TypeError("The storage value is not JSON-serializable");
1752
1752
  return t;
1753
- }, Di = (e) => {
1753
+ }, Ei = (e) => {
1754
1754
  if (typeof e != "object" || !e) return !1;
1755
1755
  let t = e;
1756
1756
  return t.protocol === "elmethis-storage-v1" && typeof t.key == "string" && (t.type === "remove" || t.type === "set" && typeof t.value == "string");
1757
- }, Oi = (e, t, n) => {
1757
+ }, Di = (e, t, n) => {
1758
1758
  console.warn(`createStorage: failed to ${e} "${t}"`, n);
1759
1759
  };
1760
- function ki(e, t) {
1760
+ function Oi(e, t) {
1761
1761
  let [n, r] = w(t.initialValue), i = {}, a, o, s = !1, c = (e) => r((() => e)), l = (e) => {
1762
1762
  if (e.type === "remove") {
1763
1763
  c(t.initialValue);
1764
1764
  return;
1765
1765
  }
1766
1766
  try {
1767
- c(Ti(e.value));
1767
+ c(wi(e.value));
1768
1768
  } catch (e) {
1769
- Oi("parse", t.key, e);
1769
+ Di("parse", t.key, e);
1770
1770
  }
1771
1771
  }, u = (n) => {
1772
1772
  if (!s) return;
1773
1773
  if (a) try {
1774
1774
  n.type === "remove" ? a.removeItem(t.key) : a.setItem(t.key, n.value);
1775
1775
  } catch (e) {
1776
- Oi(n.type === "remove" ? "remove" : "write", t.key, e);
1776
+ Di(n.type === "remove" ? "remove" : "write", t.key, e);
1777
1777
  }
1778
1778
  let r = {
1779
1779
  protocol: "elmethis-storage-v1",
1780
1780
  key: t.key,
1781
1781
  ...n
1782
1782
  };
1783
- if (e === "local") window.dispatchEvent(new CustomEvent(Ci, { detail: {
1783
+ if (e === "local") window.dispatchEvent(new CustomEvent(Si, { detail: {
1784
1784
  ...r,
1785
1785
  source: i
1786
1786
  } }));
1787
1787
  else if (o) try {
1788
1788
  o.postMessage(r);
1789
1789
  } catch (e) {
1790
- Oi("broadcast", t.key, e);
1790
+ Di("broadcast", t.key, e);
1791
1791
  }
1792
1792
  };
1793
1793
  return A(() => {
@@ -1796,16 +1796,16 @@ function ki(e, t) {
1796
1796
  a = e === "local" ? window.localStorage : window.sessionStorage;
1797
1797
  let n = a.getItem(t.key);
1798
1798
  if (n === null) try {
1799
- a.setItem(t.key, Ei(t.initialValue));
1799
+ a.setItem(t.key, Ti(t.initialValue));
1800
1800
  } catch (e) {
1801
- Oi("write", t.key, e);
1801
+ Di("write", t.key, e);
1802
1802
  }
1803
1803
  else l({
1804
1804
  type: "set",
1805
1805
  value: n
1806
1806
  });
1807
1807
  } catch (e) {
1808
- a = void 0, Oi("read", t.key, e);
1808
+ a = void 0, Di("read", t.key, e);
1809
1809
  }
1810
1810
  let n = (e) => {
1811
1811
  e.key !== t.key || e.storageArea !== null && e.storageArea !== a || l(e.newValue === null ? { type: "remove" } : {
@@ -1814,22 +1814,22 @@ function ki(e, t) {
1814
1814
  });
1815
1815
  }, r = (e) => {
1816
1816
  let n = e.detail;
1817
- n?.source === i || !Di(n) || n.key !== t.key || l(n);
1817
+ n?.source === i || !Ei(n) || n.key !== t.key || l(n);
1818
1818
  };
1819
- if (window.addEventListener("storage", n), e === "local") window.addEventListener(Ci, r);
1819
+ if (window.addEventListener("storage", n), e === "local") window.addEventListener(Si, r);
1820
1820
  else if (typeof BroadcastChannel < "u") try {
1821
- o = new BroadcastChannel(`${wi}${t.key}`), o.addEventListener("message", (e) => {
1822
- if (!(!Di(e.data) || e.data.key !== t.key) && (l(e.data), a)) try {
1821
+ o = new BroadcastChannel(`${Ci}${t.key}`), o.addEventListener("message", (e) => {
1822
+ if (!(!Ei(e.data) || e.data.key !== t.key) && (l(e.data), a)) try {
1823
1823
  e.data.type === "remove" ? a.removeItem(t.key) : a.setItem(t.key, e.data.value);
1824
1824
  } catch (e) {
1825
- Oi("mirror", t.key, e);
1825
+ Di("mirror", t.key, e);
1826
1826
  }
1827
1827
  });
1828
1828
  } catch (e) {
1829
- o = void 0, Oi("open broadcast channel for", t.key, e);
1829
+ o = void 0, Di("open broadcast channel for", t.key, e);
1830
1830
  }
1831
1831
  k(() => {
1832
- s = !1, a = void 0, window.removeEventListener("storage", n), window.removeEventListener(Ci, r), o?.close(), o = void 0;
1832
+ s = !1, a = void 0, window.removeEventListener("storage", n), window.removeEventListener(Si, r), o?.close(), o = void 0;
1833
1833
  });
1834
1834
  }), {
1835
1835
  state: n,
@@ -1838,10 +1838,10 @@ function ki(e, t) {
1838
1838
  try {
1839
1839
  u({
1840
1840
  type: "set",
1841
- value: Ei(n)
1841
+ value: Ti(n)
1842
1842
  });
1843
1843
  } catch (e) {
1844
- Oi("serialize", t.key, e);
1844
+ Di("serialize", t.key, e);
1845
1845
  }
1846
1846
  return n;
1847
1847
  }),
@@ -1850,10 +1850,10 @@ function ki(e, t) {
1850
1850
  }
1851
1851
  };
1852
1852
  }
1853
- var Ai = (e) => ki("local", e), ji = (e) => ki("session", e);
1853
+ var ki = (e) => Oi("local", e), Ai = (e) => Oi("session", e);
1854
1854
  //#endregion
1855
1855
  //#region src/primitives/create-throttled.ts
1856
- function Mi(e, t) {
1856
+ function ji(e, t) {
1857
1857
  let [n, r] = w(e, { equals: Object.is }), [i, a] = w(e, { equals: Object.is }), [o, s] = w(!1), c, l = !1, u = () => {
1858
1858
  s(!0), c = setTimeout(() => {
1859
1859
  if (c = void 0, l) return;
@@ -1875,36 +1875,36 @@ function Mi(e, t) {
1875
1875
  }
1876
1876
  //#endregion
1877
1877
  //#region \0@oxc-project+runtime@0.123.0/helpers/typeof.js
1878
- function Ni(e) {
1878
+ function Mi(e) {
1879
1879
  "@babel/helpers - typeof";
1880
- return Ni = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1880
+ return Mi = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1881
1881
  return typeof e;
1882
1882
  } : function(e) {
1883
1883
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1884
- }, Ni(e);
1884
+ }, Mi(e);
1885
1885
  }
1886
1886
  //#endregion
1887
1887
  //#region \0@oxc-project+runtime@0.123.0/helpers/toPrimitive.js
1888
- function Pi(e, t) {
1889
- if (Ni(e) != "object" || !e) return e;
1888
+ function Ni(e, t) {
1889
+ if (Mi(e) != "object" || !e) return e;
1890
1890
  var n = e[Symbol.toPrimitive];
1891
1891
  if (n !== void 0) {
1892
1892
  var r = n.call(e, t || "default");
1893
- if (Ni(r) != "object") return r;
1893
+ if (Mi(r) != "object") return r;
1894
1894
  throw TypeError("@@toPrimitive must return a primitive value.");
1895
1895
  }
1896
1896
  return (t === "string" ? String : Number)(e);
1897
1897
  }
1898
1898
  //#endregion
1899
1899
  //#region \0@oxc-project+runtime@0.123.0/helpers/toPropertyKey.js
1900
- function Fi(e) {
1901
- var t = Pi(e, "string");
1902
- return Ni(t) == "symbol" ? t : t + "";
1900
+ function Pi(e) {
1901
+ var t = Ni(e, "string");
1902
+ return Mi(t) == "symbol" ? t : t + "";
1903
1903
  }
1904
1904
  //#endregion
1905
1905
  //#region \0@oxc-project+runtime@0.123.0/helpers/defineProperty.js
1906
- function Ii(e, t, n) {
1907
- return (t = Fi(t)) in e ? Object.defineProperty(e, t, {
1906
+ function Fi(e, t, n) {
1907
+ return (t = Pi(t)) in e ? Object.defineProperty(e, t, {
1908
1908
  value: n,
1909
1909
  enumerable: !0,
1910
1910
  configurable: !0,
@@ -1913,9 +1913,9 @@ function Ii(e, t, n) {
1913
1913
  }
1914
1914
  //#endregion
1915
1915
  //#region src/primitives/create-throttled-queue.ts
1916
- var Li = class {
1916
+ var Ii = class {
1917
1917
  constructor(e = 200) {
1918
- Ii(this, "queue", []), Ii(this, "minInterval", void 0), Ii(this, "lastFinishedAt", 0), Ii(this, "running", !1), Ii(this, "destroyed", !1), Ii(this, "timer", void 0), this.minInterval = Math.max(0, e);
1918
+ Fi(this, "queue", []), Fi(this, "minInterval", void 0), Fi(this, "lastFinishedAt", 0), Fi(this, "running", !1), Fi(this, "destroyed", !1), Fi(this, "timer", void 0), this.minInterval = Math.max(0, e);
1919
1919
  }
1920
1920
  push(e) {
1921
1921
  return this.destroyed ? Promise.reject(/* @__PURE__ */ Error("ThrottledQueue is destroyed")) : new Promise((t, n) => {
@@ -1954,47 +1954,47 @@ var Li = class {
1954
1954
  }, t);
1955
1955
  }
1956
1956
  };
1957
- function Ri(e = 200) {
1957
+ function Li(e = 200) {
1958
1958
  if (!E()) throw Error("createThrottledQueue requires a reactive owner");
1959
- let t = new Li(e);
1959
+ let t = new Ii(e);
1960
1960
  return k(() => t.destroy("owner disposed")), t;
1961
1961
  }
1962
1962
  //#endregion
1963
1963
  //#region src/components/code/elm-katex.module.css
1964
- var zi = { "elm-katex": "_elm-katex_11clp_3" }, Bi = /* @__PURE__ */ m("<div>"), Vi = (e) => {
1964
+ var Ri = { "elm-katex": "_elm-katex_11clp_3" }, zi = /* @__PURE__ */ m("<div>"), Bi = (e) => {
1965
1965
  let [t, n] = j(e, [
1966
1966
  "class",
1967
1967
  "expression",
1968
1968
  "block"
1969
- ]), r = C(() => at(t.expression, {
1969
+ ]), r = C(() => rt(t.expression, {
1970
1970
  displayMode: t.block ?? !1,
1971
1971
  output: "mathml"
1972
1972
  }));
1973
1973
  return (() => {
1974
- var e = Bi();
1974
+ var e = zi();
1975
1975
  return f(e, l({
1976
1976
  get class() {
1977
- return P(R.text, t.block && zi["elm-katex"], t.class);
1977
+ return P(B.text, t.block && Ri["elm-katex"], t.class);
1978
1978
  },
1979
1979
  get innerHTML() {
1980
1980
  return r();
1981
1981
  }
1982
1982
  }, n), !1, !1), e;
1983
1983
  })();
1984
- }, Hi = {
1984
+ }, Vi = {
1985
1985
  "elm-collapse": "_elm-collapse_19v9o_1",
1986
1986
  row: "_row_19v9o_5",
1987
1987
  open: "_open_19v9o_11",
1988
1988
  column: "_column_19v9o_16",
1989
1989
  both: "_both_19v9o_27",
1990
1990
  inner: "_inner_19v9o_44"
1991
- }, Ui = /* @__PURE__ */ m("<div><div>"), Wi = (e, t) => {
1991
+ }, Hi = /* @__PURE__ */ m("<div><div>"), Ui = (e, t) => {
1992
1992
  let n = { "--elmethis-scoped-transition-timing-function": t };
1993
1993
  return typeof e == "string" ? [e.trim().replace(/;$/, ""), `--elmethis-scoped-transition-timing-function:${String(t)}`].filter(Boolean).join(";") : {
1994
1994
  ...e ?? {},
1995
1995
  ...n
1996
1996
  };
1997
- }, Gi = (e) => {
1997
+ }, Wi = (e) => {
1998
1998
  let [t, n] = j(D({
1999
1999
  direction: "row",
2000
2000
  transitionTimingFunction: "ease-in-out"
@@ -2007,37 +2007,37 @@ var zi = { "elm-katex": "_elm-katex_11clp_3" }, Bi = /* @__PURE__ */ m("<div>"),
2007
2007
  "transitionTimingFunction"
2008
2008
  ]);
2009
2009
  return (() => {
2010
- var e = Ui(), i = e.firstChild;
2010
+ var e = Hi(), i = e.firstChild;
2011
2011
  return f(e, l(n, {
2012
2012
  get class() {
2013
- return P(Hi["elm-collapse"], t.isOpen && Hi.open, t.direction === "row" && Hi.row, t.direction === "column" && Hi.column, t.direction === "both" && Hi.both, t.class);
2013
+ return P(Vi["elm-collapse"], t.isOpen && Vi.open, t.direction === "row" && Vi.row, t.direction === "column" && Vi.column, t.direction === "both" && Vi.both, t.class);
2014
2014
  },
2015
2015
  get style() {
2016
- return Wi(t.style, t.transitionTimingFunction);
2016
+ return Ui(t.style, t.transitionTimingFunction);
2017
2017
  }
2018
- }), !1, !0), s(i, () => t.children), o(() => r(i, Hi.inner)), e;
2018
+ }), !1, !0), s(i, () => t.children), o(() => r(i, Vi.inner)), e;
2019
2019
  })();
2020
- }, Ki = {
2020
+ }, Gi = {
2021
2021
  "elm-parallax": "_elm-parallax_1fg1r_1",
2022
2022
  "parallax-watcher": "_parallax-watcher_1fg1r_6",
2023
2023
  parallax: "_parallax_1fg1r_6"
2024
- }, qi = /* @__PURE__ */ m("<div><div>"), Ji = /* @__PURE__ */ m("<div aria-hidden=true style=transform-origin:bottom>"), Yi = (e) => {
2024
+ }, Ki = /* @__PURE__ */ m("<div><div>"), qi = /* @__PURE__ */ m("<div aria-hidden=true style=transform-origin:bottom>"), Ji = (e) => {
2025
2025
  let [t, n] = j(e, ["class", "images"]), [a, c] = w(0);
2026
2026
  return A(() => {
2027
2027
  let e = () => c(window.scrollY);
2028
2028
  window.addEventListener("scroll", e, { passive: !0 }), k(() => window.removeEventListener("scroll", e));
2029
2029
  }), (() => {
2030
- var e = qi(), c = e.firstChild;
2030
+ var e = Ki(), c = e.firstChild;
2031
2031
  return f(e, l({ get class() {
2032
- return P(Ki["elm-parallax"], t.class);
2032
+ return P(Gi["elm-parallax"], t.class);
2033
2033
  } }, n), !1, !0), s(e, i(g, {
2034
2034
  get each() {
2035
2035
  return t.images;
2036
2036
  },
2037
2037
  children: (e, t) => (() => {
2038
- var n = Ji();
2038
+ var n = qi();
2039
2039
  return o((i) => {
2040
- var o = Ki.parallax, s = `url(${JSON.stringify(e)})`, c = `scale(1.2) translateY(${a() / (1e3 * (t() + 1))}%)`;
2040
+ var o = Gi.parallax, s = `url(${JSON.stringify(e)})`, c = `scale(1.2) translateY(${a() / (1e3 * (t() + 1))}%)`;
2041
2041
  return o !== i.e && r(n, i.e = o), s !== i.t && d(n, "background-image", i.t = s), c !== i.a && d(n, "transform", i.a = c), i;
2042
2042
  }, {
2043
2043
  e: void 0,
@@ -2045,12 +2045,12 @@ var zi = { "elm-katex": "_elm-katex_11clp_3" }, Bi = /* @__PURE__ */ m("<div>"),
2045
2045
  a: void 0
2046
2046
  }), n;
2047
2047
  })()
2048
- }), null), o(() => r(c, Ki["parallax-watcher"])), e;
2048
+ }), null), o(() => r(c, Gi["parallax-watcher"])), e;
2049
2049
  })();
2050
- }, Xi = {
2050
+ }, Yi = {
2051
2051
  "elm-modal": "_elm-modal_scrq9_1",
2052
2052
  shown: "_shown_scrq9_14"
2053
- }, Zi = /* @__PURE__ */ m("<dialog><div>"), Qi = (e) => {
2053
+ }, Xi = /* @__PURE__ */ m("<dialog><div>"), Zi = (e) => {
2054
2054
  let [t, n] = j(D({
2055
2055
  delay: 200,
2056
2056
  closedby: "none"
@@ -2087,22 +2087,22 @@ var zi = { "elm-katex": "_elm-katex_11clp_3" }, Bi = /* @__PURE__ */ m("<div>"),
2087
2087
  }
2088
2088
  }), k(c);
2089
2089
  let u = (e) => {
2090
- B(t.onClick, e), !(e.defaultPrevented || e.target !== e.currentTarget) && t.onClose?.(e, e.currentTarget);
2090
+ H(t.onClick, e), !(e.defaultPrevented || e.target !== e.currentTarget) && t.onClose?.(e, e.currentTarget);
2091
2091
  }, d = (e) => {
2092
- B(t.onCancel, e), !e.defaultPrevented && (e.preventDefault(), t.onClose?.(e, e.currentTarget));
2092
+ H(t.onCancel, e), !e.defaultPrevented && (e.preventDefault(), t.onClose?.(e, e.currentTarget));
2093
2093
  }, p = (e) => {
2094
2094
  c(), i(!1), t.isOpen && t.onClose?.(e, e.currentTarget);
2095
2095
  };
2096
2096
  return (() => {
2097
- var e = Zi(), i = e.firstChild;
2097
+ var e = Xi(), i = e.firstChild;
2098
2098
  return h((e) => {
2099
2099
  a = e, typeof t.ref == "function" && t.ref(e);
2100
2100
  }, e), f(e, l(n, {
2101
2101
  get class() {
2102
- return P(Xi["elm-modal"], r() && Xi.shown, t.class);
2102
+ return P(Yi["elm-modal"], r() && Yi.shown, t.class);
2103
2103
  },
2104
2104
  get style() {
2105
- return L(t.style, { "--elmethis-scoped-modal-delay": `${t.delay}ms` });
2105
+ return z(t.style, { "--elmethis-scoped-modal-delay": `${t.delay}ms` });
2106
2106
  },
2107
2107
  onClick: u,
2108
2108
  onCancel: d,
@@ -2111,18 +2111,18 @@ var zi = { "elm-katex": "_elm-katex_11clp_3" }, Bi = /* @__PURE__ */ m("<div>"),
2111
2111
  })();
2112
2112
  };
2113
2113
  a(["click"]);
2114
- var $i = {
2114
+ var Qi = {
2115
2115
  "elm-tabs": "_elm-tabs_whoym_1",
2116
2116
  "tab-container": "_tab-container_whoym_13",
2117
2117
  tab: "_tab_whoym_13",
2118
2118
  active: "_active_whoym_41",
2119
2119
  "tab-content": "_tab-content_whoym_52",
2120
2120
  "tab-content-inner": "_tab-content-inner_whoym_57"
2121
- }, ea = /* @__PURE__ */ m("<div>"), ta = x(), na = () => {
2122
- let e = N(ta);
2121
+ }, $i = /* @__PURE__ */ m("<div>"), ea = x(), ta = () => {
2122
+ let e = N(ea);
2123
2123
  if (e === void 0) throw Error("ElmTabs subcomponents must be used within <ElmTabs>");
2124
2124
  return e;
2125
- }, ra = (e) => {
2125
+ }, na = (e) => {
2126
2126
  let [t, n] = j(D({ transitionTimingFunction: "linear" }, e), [
2127
2127
  "class",
2128
2128
  "children",
@@ -2130,7 +2130,7 @@ var $i = {
2130
2130
  "defaultValue",
2131
2131
  "onValueChange",
2132
2132
  "transitionTimingFunction"
2133
- ]), [r, a] = mn({
2133
+ ]), [r, a] = fn({
2134
2134
  value: () => t.value,
2135
2135
  defaultValue: () => t.defaultValue ?? "",
2136
2136
  onChange: (e) => t.onValueChange?.(e)
@@ -2141,52 +2141,52 @@ var $i = {
2141
2141
  },
2142
2142
  transitionTimingFunction: () => t.transitionTimingFunction
2143
2143
  };
2144
- return i(ta.Provider, {
2144
+ return i(ea.Provider, {
2145
2145
  value: o,
2146
2146
  get children() {
2147
- var e = ea();
2147
+ var e = $i();
2148
2148
  return f(e, l(n, { get class() {
2149
- return P($i["elm-tabs"], t.class);
2149
+ return P(Qi["elm-tabs"], t.class);
2150
2150
  } }), !1, !0), s(e, () => t.children), e;
2151
2151
  }
2152
2152
  });
2153
- }, ia = (e) => {
2153
+ }, ra = (e) => {
2154
2154
  let [t, n] = j(e, ["class", "children"]);
2155
2155
  return (() => {
2156
- var e = ea();
2156
+ var e = $i();
2157
2157
  return f(e, l(n, { get class() {
2158
- return P($i["tab-container"], t.class);
2158
+ return P(Qi["tab-container"], t.class);
2159
2159
  } }), !1, !0), s(e, () => t.children), e;
2160
2160
  })();
2161
- }, aa = (e) => {
2162
- let t = na(), [n, r] = j(e, [
2161
+ }, ia = (e) => {
2162
+ let t = ta(), [n, r] = j(e, [
2163
2163
  "class",
2164
2164
  "children",
2165
2165
  "value",
2166
2166
  "onClick"
2167
2167
  ]), i = (e) => {
2168
- t.setSelectedValue(n.value), B(n.onClick, e);
2168
+ t.setSelectedValue(n.value), H(n.onClick, e);
2169
2169
  };
2170
2170
  return (() => {
2171
- var e = ea();
2171
+ var e = $i();
2172
2172
  return f(e, l(r, {
2173
2173
  get class() {
2174
- return P($i.tab, t.selectedValue() === n.value && $i.active, n.class);
2174
+ return P(Qi.tab, t.selectedValue() === n.value && Qi.active, n.class);
2175
2175
  },
2176
2176
  onClick: i
2177
2177
  }), !1, !0), s(e, () => n.children), e;
2178
2178
  })();
2179
- }, oa = (e) => {
2180
- let t = na(), [n, a] = j(e, [
2179
+ }, aa = (e) => {
2180
+ let t = ta(), [n, a] = j(e, [
2181
2181
  "class",
2182
2182
  "children",
2183
2183
  "value"
2184
2184
  ]);
2185
2185
  return (() => {
2186
- var e = ea();
2186
+ var e = $i();
2187
2187
  return f(e, l(a, { get class() {
2188
- return P($i["tab-content"], n.class);
2189
- } }), !1, !0), s(e, i(Gi, {
2188
+ return P(Qi["tab-content"], n.class);
2189
+ } }), !1, !0), s(e, i(Wi, {
2190
2190
  direction: "row",
2191
2191
  get isOpen() {
2192
2192
  return t.selectedValue() === n.value;
@@ -2195,12 +2195,12 @@ var $i = {
2195
2195
  return t.transitionTimingFunction();
2196
2196
  },
2197
2197
  get children() {
2198
- var e = ea();
2199
- return s(e, () => n.children), o(() => r(e, $i["tab-content-inner"])), e;
2198
+ var e = $i();
2199
+ return s(e, () => n.children), o(() => r(e, Qi["tab-content-inner"])), e;
2200
2200
  }
2201
2201
  })), e;
2202
2202
  })();
2203
- }, W = {
2203
+ }, G = {
2204
2204
  "elm-toggle": "_elm-toggle_qfazq_1",
2205
2205
  open: "_open_qfazq_8",
2206
2206
  summary: "_summary_qfazq_13",
@@ -2210,7 +2210,7 @@ var $i = {
2210
2210
  cross: "_cross_qfazq_62",
2211
2211
  border: "_border_qfazq_76",
2212
2212
  content: "_content_qfazq_84"
2213
- }, sa = /* @__PURE__ */ m("<div><div><div><span></span><div></div></div><hr><span></span></div><div></div><div>"), ca = (e) => {
2213
+ }, oa = /* @__PURE__ */ m("<div><div><div><span></span><div></div></div><hr><span></span></div><div></div><div>"), sa = (e) => {
2214
2214
  let [t, n] = j(e, [
2215
2215
  "class",
2216
2216
  "children",
@@ -2219,7 +2219,7 @@ var $i = {
2219
2219
  "isOpen",
2220
2220
  "onOpenChange",
2221
2221
  "monochrome"
2222
- ]), [a, u] = mn({
2222
+ ]), [a, u] = fn({
2223
2223
  value: () => t.isOpen,
2224
2224
  defaultValue: () => t.defaultIsOpen ?? !1,
2225
2225
  onChange: (e) => t.onOpenChange?.(e)
@@ -2227,28 +2227,28 @@ var $i = {
2227
2227
  e.preventDefault(), u((e) => !e);
2228
2228
  };
2229
2229
  return (() => {
2230
- var e = sa(), u = e.firstChild, p = u.firstChild, m = p.firstChild, h = m.nextSibling, g = p.nextSibling, _ = g.nextSibling, v = u.nextSibling, y = v.nextSibling;
2230
+ 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;
2231
2231
  return f(e, l(n, { get class() {
2232
- return P(W["elm-toggle"], a() && W.open, t.class);
2233
- } }), !1, !0), u.$$click = d, s(m, i(V, {
2234
- d: re,
2232
+ return P(G["elm-toggle"], a() && G.open, t.class);
2233
+ } }), !1, !0), u.$$click = d, s(m, i(U, {
2234
+ d: ne,
2235
2235
  get color() {
2236
2236
  return t.monochrome ? "var(--elmethis-color-neutral-weak)" : "var(--elmethis-color-primary)";
2237
2237
  },
2238
2238
  size: "1rem"
2239
2239
  })), s(h, (() => {
2240
2240
  var e = c(() => typeof t.summary == "string");
2241
- return () => e() ? i(z, { get children() {
2241
+ return () => e() ? i(V, { get children() {
2242
2242
  return t.summary;
2243
2243
  } }) : t.summary;
2244
- })()), s(_, i(V, {
2245
- d: ve,
2244
+ })()), s(_, i(U, {
2245
+ d: ge,
2246
2246
  size: "1rem",
2247
2247
  get color() {
2248
2248
  return c(() => !!t.monochrome)() ? "var(--elmethis-color-neutral-weak)" : a() ? "var(--elmethis-color-accent-error)" : "var(--elmethis-color-primary)";
2249
2249
  }
2250
2250
  })), s(y, () => t.children), o((e) => {
2251
- var t = W.summary, n = W["summary-left"], i = P(W.chevron, a() && W.open), o = W.divider, s = P(W.cross, a() && W.open), c = W.border, l = P(W.content, a() && W.open);
2251
+ var t = G.summary, n = G["summary-left"], i = P(G.chevron, a() && G.open), o = G.divider, s = P(G.cross, a() && G.open), c = G.border, l = P(G.content, a() && G.open);
2252
2252
  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;
2253
2253
  }, {
2254
2254
  e: void 0,
@@ -2262,11 +2262,11 @@ var $i = {
2262
2262
  })();
2263
2263
  };
2264
2264
  a(["click"]);
2265
- var la = {
2265
+ var ca = {
2266
2266
  "elm-tooltip": "_elm-tooltip_1b13f_1",
2267
2267
  tooltip: "_tooltip_1b13f_5",
2268
2268
  show: "_show_1b13f_18"
2269
- }, ua = /* @__PURE__ */ m("<span><div>"), da = (e) => {
2269
+ }, la = /* @__PURE__ */ m("<span><div>"), ua = (e) => {
2270
2270
  let [t, n] = j(e, [
2271
2271
  "class",
2272
2272
  "ref",
@@ -2290,31 +2290,31 @@ var la = {
2290
2290
  left: `${e.x}px`
2291
2291
  }), a(!0);
2292
2292
  }
2293
- B(t.onMouseOver, e);
2293
+ H(t.onMouseOver, e);
2294
2294
  }, v = (e) => {
2295
2295
  m === void 0 && (m = setTimeout(() => {
2296
2296
  m = void 0, a(!1);
2297
- }, 250)), B(t.onMouseLeave, e);
2297
+ }, 250)), H(t.onMouseLeave, e);
2298
2298
  };
2299
2299
  return (() => {
2300
- var e = ua(), a = e.firstChild;
2300
+ var e = la(), a = e.firstChild;
2301
2301
  return h((e) => {
2302
2302
  d = e, typeof t.ref == "function" && t.ref(e);
2303
2303
  }, e), f(e, l(n, {
2304
2304
  get class() {
2305
- return P(la["elm-tooltip"], t.class);
2305
+ return P(ca["elm-tooltip"], t.class);
2306
2306
  },
2307
2307
  onMouseOver: _,
2308
2308
  onMouseLeave: v
2309
2309
  }), !1, !0), s(e, () => t.original, a), s(a, () => t.tooltip), o((e) => {
2310
- var t = P(la.tooltip, i() && la.show), n = c();
2310
+ var t = P(ca.tooltip, i() && ca.show), n = c();
2311
2311
  return t !== e.e && r(a, e.e = t), e.t = p(a, n, e.t), e;
2312
2312
  }, {
2313
2313
  e: void 0,
2314
2314
  t: void 0
2315
2315
  }), e;
2316
2316
  })();
2317
- }, G = {
2317
+ }, da = {
2318
2318
  "elm-button-dropdown": "_elm-button-dropdown_1v68r_1",
2319
2319
  block: "_block_1v68r_7",
2320
2320
  main: "_main_1v68r_11",
@@ -2329,7 +2329,7 @@ var la = {
2329
2329
  defaultSelectedOptionId: null,
2330
2330
  primary: !0,
2331
2331
  autoClose: !0,
2332
- dropdownIcon: pe
2332
+ dropdownIcon: L
2333
2333
  }, e), [
2334
2334
  "ref",
2335
2335
  "class",
@@ -2353,7 +2353,7 @@ var la = {
2353
2353
  "onClick",
2354
2354
  "onItemClick",
2355
2355
  "onOpenChange"
2356
- ]), [a, d] = mn({
2356
+ ]), [a, d] = fn({
2357
2357
  value: () => t.selectedOptionId,
2358
2358
  defaultValue: () => t.defaultSelectedOptionId,
2359
2359
  onChange: (e) => t.onSelectedOptionIdChange?.(e)
@@ -2375,14 +2375,14 @@ var la = {
2375
2375
  y = e, typeof t.ref == "function" && t.ref(e);
2376
2376
  }, e), f(e, l(n, {
2377
2377
  get class() {
2378
- return P(G["elm-button-dropdown"], t.block && G.block, t.class);
2378
+ return P(da["elm-button-dropdown"], t.block && da.block, t.class);
2379
2379
  },
2380
2380
  get style() {
2381
2381
  return t.style;
2382
2382
  }
2383
- }), !1, !0), s(e, i(pn, {
2383
+ }), !1, !0), s(e, i(dn, {
2384
2384
  get class() {
2385
- return P(G.main, G.segment);
2385
+ return P(da.main, da.segment);
2386
2386
  },
2387
2387
  type: "button",
2388
2388
  get primary() {
@@ -2412,13 +2412,13 @@ var la = {
2412
2412
  return e.icon;
2413
2413
  },
2414
2414
  keyed: !0,
2415
- children: (e) => i(Yt, { src: e })
2415
+ children: (e) => i(qt, { src: e })
2416
2416
  }), c(() => e.label)]
2417
2417
  });
2418
2418
  }
2419
- }), null), s(e, i(pn, {
2419
+ }), null), s(e, i(dn, {
2420
2420
  get class() {
2421
- return P(G.caret, G.segment);
2421
+ return P(da.caret, da.segment);
2422
2422
  },
2423
2423
  type: "button",
2424
2424
  get primary() {
@@ -2438,19 +2438,19 @@ var la = {
2438
2438
  return m();
2439
2439
  },
2440
2440
  get children() {
2441
- return i(V, {
2441
+ return i(U, {
2442
2442
  get d() {
2443
2443
  return t.dropdownIcon;
2444
2444
  },
2445
2445
  size: "1.25rem"
2446
2446
  });
2447
2447
  }
2448
- }), null), s(e, i(Gi, {
2448
+ }), null), s(e, i(Wi, {
2449
2449
  get isOpen() {
2450
2450
  return m();
2451
2451
  },
2452
2452
  get class() {
2453
- return G.menu;
2453
+ return da.menu;
2454
2454
  },
2455
2455
  get children() {
2456
2456
  return i(g, {
@@ -2461,8 +2461,8 @@ var la = {
2461
2461
  var t = fa();
2462
2462
  return t.$$click = (t) => {
2463
2463
  t.stopPropagation(), T(e);
2464
- }, s(t, i(V, {
2465
- d: re,
2464
+ }, s(t, i(U, {
2465
+ d: ne,
2466
2466
  color: "var(--elmethis-color-primary-weak)",
2467
2467
  size: "0.75em"
2468
2468
  }), null), s(t, i(v, {
@@ -2470,11 +2470,11 @@ var la = {
2470
2470
  return e.icon;
2471
2471
  },
2472
2472
  keyed: !0,
2473
- children: (e) => i(Yt, { src: e })
2474
- }), null), s(t, i(z, { get children() {
2473
+ children: (e) => i(qt, { src: e })
2474
+ }), null), s(t, i(V, { get children() {
2475
2475
  return e.label;
2476
2476
  } }), null), o((n) => {
2477
- var i = P(G.item, R.text, e.id === a() && G.selected, e.disabled && G["item-disabled"]), o = e.id === a();
2477
+ var i = P(da.item, B.text, e.id === a() && da.selected, e.disabled && da["item-disabled"]), o = e.id === a();
2478
2478
  return i !== n.e && r(t, n.e = i), o !== n.t && u(t, "aria-selected", n.t = o), n;
2479
2479
  }, {
2480
2480
  e: void 0,
@@ -2515,7 +2515,7 @@ var K = {
2515
2515
  "defaultSelectedOptionId",
2516
2516
  "onSelectedOptionIdChange",
2517
2517
  "icon"
2518
- ]), [a, c] = mn({
2518
+ ]), [a, c] = fn({
2519
2519
  value: () => t.selectedOptionId,
2520
2520
  defaultValue: () => t.defaultSelectedOptionId ?? null,
2521
2521
  onChange: (e) => t.onSelectedOptionIdChange?.(e)
@@ -2527,7 +2527,7 @@ var K = {
2527
2527
  document.addEventListener("click", e), k(() => document.removeEventListener("click", e));
2528
2528
  });
2529
2529
  let _ = (e) => {
2530
- B(t.onClick, e), !e.defaultPrevented && !t.disabled && !t.isLoading && p((e) => !e);
2530
+ H(t.onClick, e), !e.defaultPrevented && !t.disabled && !t.isLoading && p((e) => !e);
2531
2531
  };
2532
2532
  return (() => {
2533
2533
  var e = ma(), a = e.firstChild, y = a.nextSibling, b = y.firstChild;
@@ -2541,8 +2541,8 @@ var K = {
2541
2541
  return t.style;
2542
2542
  },
2543
2543
  onClick: _
2544
- }), !1, !0), s(a, () => t.icon ?? i(V, {
2545
- d: ne,
2544
+ }), !1, !0), s(a, () => t.icon ?? i(U, {
2545
+ d: te,
2546
2546
  size: "0.75rem"
2547
2547
  }), null), s(a, () => t.label, null), s(b, i(v, {
2548
2548
  get when() {
@@ -2562,15 +2562,15 @@ var K = {
2562
2562
  return e.icon;
2563
2563
  },
2564
2564
  keyed: !0,
2565
- children: (e) => i(Yt, { src: e })
2566
- }), null), s(t, i(z, { get children() {
2565
+ children: (e) => i(qt, { src: e })
2566
+ }), null), s(t, i(V, { get children() {
2567
2567
  return e.label;
2568
2568
  } }), null), o(() => r(t, K["option-content"])), t;
2569
2569
  })()
2570
- })), s(y, i(V, {
2571
- d: pe,
2570
+ })), s(y, i(U, {
2571
+ d: L,
2572
2572
  size: "1.5rem"
2573
- }), null), s(y, i(Gi, {
2573
+ }), null), s(y, i(Wi, {
2574
2574
  get isOpen() {
2575
2575
  return d();
2576
2576
  },
@@ -2586,8 +2586,8 @@ var K = {
2586
2586
  var t = ga();
2587
2587
  return t.$$click = (t) => {
2588
2588
  t.stopPropagation(), c(e.id), p(!1);
2589
- }, s(t, i(V, {
2590
- d: re,
2589
+ }, s(t, i(U, {
2590
+ d: ne,
2591
2591
  color: "var(--elmethis-color-primary-weak)",
2592
2592
  size: "0.75em"
2593
2593
  }), null), s(t, i(v, {
@@ -2595,15 +2595,15 @@ var K = {
2595
2595
  return e.icon;
2596
2596
  },
2597
2597
  keyed: !0,
2598
- children: (e) => i(Yt, { src: e })
2599
- }), null), s(t, i(z, { get children() {
2598
+ children: (e) => i(qt, { src: e })
2599
+ }), null), s(t, i(V, { get children() {
2600
2600
  return e.label;
2601
- } }), null), o(() => r(t, P(K.option, R.text))), t;
2601
+ } }), null), o(() => r(t, P(K.option, B.text))), t;
2602
2602
  })()
2603
2603
  });
2604
2604
  }
2605
2605
  }), null), o((e) => {
2606
- var t = P(K.label, d() && K["label-active"]), n = K.body, i = P(K["selected-option"], R.text);
2606
+ var t = P(K.label, d() && K["label-active"]), n = K.body, i = P(K["selected-option"], B.text);
2607
2607
  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;
2608
2608
  }, {
2609
2609
  e: void 0,
@@ -2618,7 +2618,7 @@ a(["click"]);
2618
2618
  var va = (e = {}) => {
2619
2619
  let [t, n] = w(!1), r = () => n(!0), a = () => n(!1);
2620
2620
  return {
2621
- Modal: (n) => i(Qi, {
2621
+ Modal: (n) => i(Zi, {
2622
2622
  get isOpen() {
2623
2623
  return t();
2624
2624
  },
@@ -2682,10 +2682,10 @@ var va = (e = {}) => {
2682
2682
  },
2683
2683
  children: (e) => (() => {
2684
2684
  var t = Sa(), n = t.firstChild;
2685
- return s(n, i(V, {
2686
- d: me,
2685
+ return s(n, i(U, {
2686
+ d: fe,
2687
2687
  size: "1.25rem"
2688
- })), s(t, i(z, {
2688
+ })), s(t, i(V, {
2689
2689
  size: "1rem",
2690
2690
  get children() {
2691
2691
  return e();
@@ -2738,14 +2738,14 @@ var wa = {
2738
2738
  return h((e) => {
2739
2739
  y = e;
2740
2740
  }, c), f(p, l(n, { get class() {
2741
- return P(wa["elm-table"], R.text, t.hasRowHeader && wa["sticky-row-header"], t.class);
2741
+ return P(wa["elm-table"], B.text, t.hasRowHeader && wa["sticky-row-header"], t.class);
2742
2742
  } }), !1, !0), s(p, i(v, {
2743
2743
  get when() {
2744
2744
  return t.caption;
2745
2745
  },
2746
2746
  children: (e) => (() => {
2747
2747
  var t = Oa(), n = t.firstChild, a = n.firstChild, c = a.nextSibling, l = c.nextSibling;
2748
- return s(c, i(z, { get children() {
2748
+ return s(c, i(V, { get children() {
2749
2749
  return e();
2750
2750
  } })), o((e) => {
2751
2751
  var t = wa.caption, i = wa.spacing, o = wa["caption-inner"], s = wa.spacing;
@@ -2827,13 +2827,13 @@ var wa = {
2827
2827
  })();
2828
2828
  }, Ba = { "elm-shiki-highlighter": "_elm-shiki-highlighter_slumv_1" }, Va = /* @__PURE__ */ m("<pre>"), Ha = (e) => {
2829
2829
  let t = e.trim().toLowerCase();
2830
- return t in ot ? t : "text";
2830
+ return t in it ? t : "text";
2831
2831
  }, Ua = (e) => e.replaceAll("&", "&amp;").replaceAll("<", "&lt;"), Wa = (e) => {
2832
2832
  let [t, n] = j(D({ language: "txt" }, e), [
2833
2833
  "class",
2834
2834
  "code",
2835
2835
  "language"
2836
- ]), [r, i] = w(""), a = 0, o = !1;
2836
+ ]), [r, i] = w(Ua(M(() => t.code))), a = 0, o = !1;
2837
2837
  return A(() => {
2838
2838
  S(() => {
2839
2839
  let e = t.code, n = Ha(t.language), r = ++a;
@@ -2844,15 +2844,15 @@ var wa = {
2844
2844
  (async () => {
2845
2845
  let t;
2846
2846
  try {
2847
- if (t = await st({
2848
- themes: [ct, lt],
2847
+ if (t = await at({
2848
+ themes: [ot, st],
2849
2849
  langs: n === "text" ? [] : [n]
2850
2850
  }), o || r !== a) return;
2851
2851
  let s = t.codeToHtml(e, {
2852
2852
  lang: n,
2853
2853
  themes: {
2854
- dark: ct,
2855
- light: lt
2854
+ dark: ot,
2855
+ light: st
2856
2856
  },
2857
2857
  defaultColor: !1,
2858
2858
  colorReplacements: {
@@ -2900,11 +2900,11 @@ var wa = {
2900
2900
  var e = Ka(), a = e.firstChild, u = a.nextSibling, d = u.nextSibling, p = d.nextSibling, m = p.nextSibling;
2901
2901
  return f(e, l(n, { get class() {
2902
2902
  return P(Ga["elm-code-block"], t.class);
2903
- } }), !1, !0), s(a, i(zn, { get language() {
2903
+ } }), !1, !0), s(a, i(Ln, { get language() {
2904
2904
  return t.language;
2905
- } })), s(u, i(z, { get children() {
2905
+ } })), s(u, i(V, { get children() {
2906
2906
  return [c(() => t.caption || t.language), c(() => t.children)];
2907
- } })), s(d, i(Nn, { get content() {
2907
+ } })), s(d, i(jn, { get content() {
2908
2908
  return t.code;
2909
2909
  } })), s(m, i(Wa, {
2910
2910
  get code() {
@@ -2932,7 +2932,7 @@ var wa = {
2932
2932
  }), $a = (e) => "tokens" in e && Array.isArray(e.tokens) ? e.tokens : [], eo = (e) => "text" in e && typeof e.text == "string" ? e.text : "", to = (e) => {
2933
2933
  let t = $a(e), n = () => t.length > 0 ? i(Qa, { tokens: t }) : eo(e);
2934
2934
  switch (e.type) {
2935
- case "blockquote": return t.length > 0 ? i(Zr, { get children() {
2935
+ case "blockquote": return t.length > 0 ? i(Xr, { get children() {
2936
2936
  return i(Qa, { tokens: t });
2937
2937
  } }) : void 0;
2938
2938
  case "br": return Ya();
@@ -2944,26 +2944,26 @@ var wa = {
2944
2944
  return e.lang ?? "txt";
2945
2945
  }
2946
2946
  });
2947
- case "codespan": return i(z, {
2947
+ case "codespan": return i(V, {
2948
2948
  code: !0,
2949
2949
  get children() {
2950
2950
  return e.text;
2951
2951
  }
2952
2952
  });
2953
- case "del": return i(z, {
2953
+ case "del": return i(V, {
2954
2954
  strikethrough: !0,
2955
2955
  get children() {
2956
2956
  return n();
2957
2957
  }
2958
2958
  });
2959
- case "em": return i(z, {
2959
+ case "em": return i(V, {
2960
2960
  italic: !0,
2961
2961
  get children() {
2962
2962
  return n();
2963
2963
  }
2964
2964
  });
2965
2965
  case "escape": return e.text;
2966
- case "heading": return i(pi, {
2966
+ case "heading": return i(fi, {
2967
2967
  get level() {
2968
2968
  return e.depth;
2969
2969
  },
@@ -2971,7 +2971,7 @@ var wa = {
2971
2971
  return n();
2972
2972
  }
2973
2973
  });
2974
- case "hr": return i(ii, {});
2974
+ case "hr": return i(ri, {});
2975
2975
  case "html": return;
2976
2976
  case "image": return i(Ca, {
2977
2977
  enableModal: !0,
@@ -2982,7 +2982,7 @@ var wa = {
2982
2982
  return e.text;
2983
2983
  }
2984
2984
  });
2985
- case "link": return i(z, {
2985
+ case "link": return i(V, {
2986
2986
  get href() {
2987
2987
  return e.href;
2988
2988
  },
@@ -2990,7 +2990,7 @@ var wa = {
2990
2990
  return n();
2991
2991
  }
2992
2992
  });
2993
- case "list": return i(hi, {
2993
+ case "list": return i(mi, {
2994
2994
  get listStyle() {
2995
2995
  return e.ordered ? "ordered" : "unordered";
2996
2996
  },
@@ -3015,10 +3015,10 @@ var wa = {
3015
3015
  return () => n() ? i(Qa, { tokens: t }) : e.text;
3016
3016
  })()), n;
3017
3017
  })();
3018
- case "paragraph": return i(vi, { get children() {
3018
+ case "paragraph": return i(_i, { get children() {
3019
3019
  return n();
3020
3020
  } });
3021
- case "strong": return i(z, {
3021
+ case "strong": return i(V, {
3022
3022
  bold: !0,
3023
3023
  get children() {
3024
3024
  return n();
@@ -3065,7 +3065,7 @@ var wa = {
3065
3065
  "markdown",
3066
3066
  "isStreaming"
3067
3067
  ]), r = [], a = C(() => {
3068
- let e = t.markdown, n = ut.lexer(e, { gfm: !0 });
3068
+ let e = t.markdown, n = ct.lexer(e, { gfm: !0 });
3069
3069
  if (!(t.isStreaming && n.length > 0)) return r = n, {
3070
3070
  stable: n,
3071
3071
  tail: []
@@ -3330,11 +3330,11 @@ var po = (e) => {
3330
3330
  var e = go(), a = e.firstChild, c = a.firstChild, p = c.nextSibling, m = a.nextSibling, h = m.nextSibling;
3331
3331
  return f(e, l(n, { get class() {
3332
3332
  return P(ho["elm-html-viewer"], t.class);
3333
- } }), !1, !0), c.$$click = d, s(c, i(V, {
3334
- d: oe,
3333
+ } }), !1, !0), c.$$click = d, s(c, i(U, {
3334
+ d: ae,
3335
3335
  size: "1.25rem"
3336
- })), p.$$click = u, s(p, i(V, {
3337
- d: he,
3336
+ })), p.$$click = u, s(p, i(U, {
3337
+ d: pe,
3338
3338
  size: "1.25rem"
3339
3339
  })), s(h, i(mo, {
3340
3340
  get html() {
@@ -3443,11 +3443,11 @@ var q = {
3443
3443
  ]), 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(() => Co(t.innerMin ?? _(), _(), y())), x = C(() => Co(t.innerMax ?? y(), b(), y())), T = (e) => Co(wo(e), b(), x()), E = (e) => {
3444
3444
  let t = Math.abs(u());
3445
3445
  return T(t === 0 ? e : a() + Math.round((e - a()) / t) * t);
3446
- }, D = (e) => c() === a() ? 0 : Co((e - a()) / (c() - a()), 0, 1), [O, M] = mn({
3446
+ }, D = (e) => c() === a() ? 0 : Co((e - a()) / (c() - a()), 0, 1), [O, M] = fn({
3447
3447
  value: () => t.value,
3448
3448
  defaultValue: () => T(t.defaultValue ?? (b() + x()) / 2),
3449
3449
  onChange: (e) => t.onValueChange?.(e)
3450
- }), N = C(() => T(O())), ee = C(() => D(N())), te = C(() => D(b())), ne = C(() => D(x())), re = C(() => Math.min(te(), ne())), ie = C(() => Math.max(te(), ne())), ae = C(() => Math.min(ee(), te())), oe = C(() => Math.abs(ee() - te())), se = C(() => !!(t.markers || t.markerLabels)), ce = C(() => Eo(se(), a(), c(), u())), le = C(() => ce().map((e) => {
3450
+ }), N = C(() => T(O())), ee = C(() => D(N())), F = C(() => D(b())), te = C(() => D(x())), ne = C(() => Math.min(F(), te())), re = C(() => Math.max(F(), te())), ie = C(() => Math.min(ee(), F())), ae = C(() => Math.abs(ee() - F())), oe = C(() => !!(t.markers || t.markerLabels)), se = C(() => Eo(oe(), a(), c(), u())), ce = C(() => se().map((e) => {
3451
3451
  let n = C(() => {
3452
3452
  if (t.markerLabels) return t.formatMarkerLabel?.(e.value) ?? e.value;
3453
3453
  });
@@ -3455,47 +3455,47 @@ var q = {
3455
3455
  ...e,
3456
3456
  label: n
3457
3457
  };
3458
- })), ue = C(() => le().reduce((e, t) => Math.max(e, To(t.label())), 0)), [de, fe] = w(0), F = /* @__PURE__ */ new Set(), pe, me, I, he = () => {
3458
+ })), le = C(() => ce().reduce((e, t) => Math.max(e, To(t.label())), 0)), [ue, de] = w(0), I = /* @__PURE__ */ new Set(), L, fe, R, pe = () => {
3459
3459
  let e = 0;
3460
- for (let t of F) e = Math.max(e, t.getBoundingClientRect().width);
3461
- fe(Math.ceil(e));
3462
- }, ge = (e) => {
3463
- F.add(e), pe?.observe(e), k(() => {
3464
- F.delete(e), pe?.unobserve(e), he();
3460
+ for (let t of I) e = Math.max(e, t.getBoundingClientRect().width);
3461
+ de(Math.ceil(e));
3462
+ }, me = (e) => {
3463
+ I.add(e), L?.observe(e), k(() => {
3464
+ I.delete(e), L?.unobserve(e), pe();
3465
3465
  });
3466
- }, _e = (e = I) => {
3467
- e === void 0 || e !== I || (me?.hasPointerCapture(e) && me.releasePointerCapture(e), I === e && (I = void 0));
3466
+ }, he = (e = R) => {
3467
+ e === void 0 || e !== R || (fe?.hasPointerCapture(e) && fe.releasePointerCapture(e), R === e && (R = void 0));
3468
3468
  };
3469
3469
  A(() => {
3470
- pe = typeof ResizeObserver > "u" ? void 0 : new ResizeObserver(he);
3471
- for (let e of F) pe?.observe(e);
3472
- he(), k(() => {
3473
- _e(), pe?.disconnect(), pe = void 0, F.clear();
3470
+ L = typeof ResizeObserver > "u" ? void 0 : new ResizeObserver(pe);
3471
+ for (let e of I) L?.observe(e);
3472
+ pe(), k(() => {
3473
+ he(), L?.disconnect(), L = void 0, I.clear();
3474
3474
  });
3475
3475
  }), S(() => {
3476
- t.disabled && _e();
3476
+ t.disabled && he();
3477
3477
  });
3478
- let ve = (e, t) => {
3479
- if (me == null) return N();
3480
- let n = me.getBoundingClientRect(), r = m() === "vertical" ? n.height === 0 ? 0 : Co((n.bottom - t) / n.height, 0, 1) : n.width === 0 ? 0 : Co((e - n.left) / n.width, 0, 1);
3478
+ let ge = (e, t) => {
3479
+ if (fe == null) return N();
3480
+ let n = fe.getBoundingClientRect(), r = m() === "vertical" ? n.height === 0 ? 0 : Co((n.bottom - t) / n.height, 0, 1) : n.width === 0 ? 0 : Co((e - n.left) / n.width, 0, 1);
3481
3481
  return E(a() + r * (c() - a()));
3482
- }, ye = (e) => {
3483
- t.disabled || (I !== void 0 && I !== e.pointerId && _e(), e.currentTarget.setPointerCapture(e.pointerId), I = e.pointerId, M(ve(e.clientX, e.clientY)), B(t.onPointerDown, e));
3484
- }, be = (e) => {
3482
+ }, _e = (e) => {
3483
+ t.disabled || (R !== void 0 && R !== e.pointerId && he(), e.currentTarget.setPointerCapture(e.pointerId), R = e.pointerId, M(ge(e.clientX, e.clientY)), H(t.onPointerDown, e));
3484
+ }, ve = (e) => {
3485
3485
  if (!t.disabled) {
3486
- if (I !== e.pointerId || !e.currentTarget.hasPointerCapture(e.pointerId)) {
3487
- B(t.onPointerMove, e);
3486
+ if (R !== e.pointerId || !e.currentTarget.hasPointerCapture(e.pointerId)) {
3487
+ H(t.onPointerMove, e);
3488
3488
  return;
3489
3489
  }
3490
- M(ve(e.clientX, e.clientY)), B(t.onPointerMove, e);
3490
+ M(ge(e.clientX, e.clientY)), H(t.onPointerMove, e);
3491
3491
  }
3492
+ }, ye = (e) => {
3493
+ t.disabled || (he(e.pointerId), H(t.onPointerUp, e));
3494
+ }, be = (e) => {
3495
+ t.disabled || (he(e.pointerId), H(t.onPointerCancel, e));
3492
3496
  }, xe = (e) => {
3493
- t.disabled || (_e(e.pointerId), B(t.onPointerUp, e));
3497
+ R === e.pointerId && (R = void 0), t.disabled || H(t.onLostPointerCapture, e);
3494
3498
  }, Se = (e) => {
3495
- t.disabled || (_e(e.pointerId), B(t.onPointerCancel, e));
3496
- }, Ce = (e) => {
3497
- I === e.pointerId && (I = void 0), t.disabled || B(t.onLostPointerCapture, e);
3498
- }, we = (e) => {
3499
3499
  if (t.disabled) return;
3500
3500
  let n = Math.abs(u());
3501
3501
  switch (e.key) {
@@ -3520,12 +3520,12 @@ var q = {
3520
3520
  e.preventDefault(), M(x());
3521
3521
  break;
3522
3522
  }
3523
- B(t.onKeyDown, e);
3523
+ H(t.onKeyDown, e);
3524
3524
  };
3525
3525
  return (() => {
3526
3526
  var e = yo(), a = e.firstChild, c = a.firstChild, u = c.firstChild, _ = u.nextSibling, y = _.nextSibling, S = c.nextSibling;
3527
3527
  return h((e) => {
3528
- me = e, typeof t.ref == "function" && t.ref(e);
3528
+ fe = e, typeof t.ref == "function" && t.ref(e);
3529
3529
  }, a), f(a, l({ get tabIndex() {
3530
3530
  return t.disabled ? -1 : 0;
3531
3531
  } }, n, {
@@ -3548,21 +3548,21 @@ var q = {
3548
3548
  get "aria-disabled"() {
3549
3549
  return t.disabled || void 0;
3550
3550
  },
3551
- onPointerDown: ye,
3552
- onPointerMove: be,
3553
- onPointerUp: xe,
3554
- onPointerCancel: Se,
3555
- onLostPointerCapture: Ce,
3556
- onKeyDown: we
3551
+ onPointerDown: _e,
3552
+ onPointerMove: ve,
3553
+ onPointerUp: ye,
3554
+ onPointerCancel: be,
3555
+ onLostPointerCapture: xe,
3556
+ onKeyDown: Se
3557
3557
  }), !1, !0), s(a, i(v, {
3558
3558
  get when() {
3559
- return le().length > 0;
3559
+ return ce().length > 0;
3560
3560
  },
3561
3561
  get children() {
3562
3562
  var e = vo();
3563
3563
  return s(e, i(g, {
3564
3564
  get each() {
3565
- return le();
3565
+ return ce();
3566
3566
  },
3567
3567
  children: (e, n) => (() => {
3568
3568
  var a = xo();
@@ -3580,10 +3580,10 @@ var q = {
3580
3580
  },
3581
3581
  get children() {
3582
3582
  var t = xo();
3583
- return h(ge, t), s(t, () => e.label()), o(() => r(t, q["mark-label"])), t;
3583
+ return h(me, t), s(t, () => e.label()), o(() => r(t, q["mark-label"])), t;
3584
3584
  }
3585
3585
  }), null), o((t) => {
3586
- var i = P(q.mark, n() === 0 && q["mark-start"], n() === le().length - 1 && q["mark-end"], (e.value < b() || e.value > x()) && q["mark-restricted"]), o = e.ratio;
3586
+ var i = P(q.mark, n() === 0 && q["mark-start"], n() === ce().length - 1 && q["mark-end"], (e.value < b() || e.value > x()) && q["mark-restricted"]), o = e.ratio;
3587
3587
  return i !== t.e && r(a, t.e = i), o !== t.t && d(a, "--elmethis-scoped-marker-ratio", t.t = o), t;
3588
3588
  }, {
3589
3589
  e: void 0,
@@ -3593,14 +3593,14 @@ var q = {
3593
3593
  })), o(() => r(e, q.marks)), e;
3594
3594
  }
3595
3595
  }), S), o((n) => {
3596
- var i = P(q["elm-slider"], m() === "vertical" && q.vertical, t.disabled && q.disabled, t.markers && q["has-markers"], t.markerLabels && q["has-marker-labels"], t.class), a = L(t.style, {
3596
+ var i = P(q["elm-slider"], m() === "vertical" && q.vertical, t.disabled && q.disabled, t.markers && q["has-markers"], t.markerLabels && q["has-marker-labels"], t.class), a = z(t.style, {
3597
3597
  "--elmethis-scoped-value-ratio": ee(),
3598
- "--elmethis-scoped-inner-min-ratio": re(),
3599
- "--elmethis-scoped-inner-max-ratio": ie(),
3600
- "--elmethis-scoped-fill-start-ratio": ae(),
3601
- "--elmethis-scoped-fill-size-ratio": oe(),
3602
- "--elmethis-scoped-max-marker-label-chars": ue(),
3603
- "--elmethis-scoped-max-marker-label-width": `${de()}px`
3598
+ "--elmethis-scoped-inner-min-ratio": ne(),
3599
+ "--elmethis-scoped-inner-max-ratio": re(),
3600
+ "--elmethis-scoped-fill-start-ratio": ie(),
3601
+ "--elmethis-scoped-fill-size-ratio": ae(),
3602
+ "--elmethis-scoped-max-marker-label-chars": le(),
3603
+ "--elmethis-scoped-max-marker-label-width": `${ue()}px`
3604
3604
  }), o = q.rail, s = q["restricted-start"], l = q.fill, d = q["restricted-end"], f = q.thumb;
3605
3605
  return i !== n.e && r(e, n.e = i), n.t = p(e, a, n.t), o !== n.a && r(c, n.a = o), s !== n.o && r(u, n.o = s), l !== n.i && r(_, n.i = l), d !== n.n && r(y, n.n = d), f !== n.s && r(S, n.s = f), n;
3606
3606
  }, {
@@ -3654,8 +3654,8 @@ var q = {
3654
3654
  };
3655
3655
  return (() => {
3656
3656
  var e = Ao(), u = e.firstChild, m = u.firstChild, g = u.nextSibling, w = g.firstChild, T = g.nextSibling;
3657
- return s(u, () => t.icon ?? i(V, {
3658
- d: xe,
3657
+ return s(u, () => t.icon ?? i(U, {
3658
+ d: ye,
3659
3659
  size: "0.75rem"
3660
3660
  }), m), s(m, () => t.label, null), s(m, i(v, {
3661
3661
  get when() {
@@ -3670,7 +3670,7 @@ var q = {
3670
3670
  return _();
3671
3671
  },
3672
3672
  get children() {
3673
- return i(z, {
3673
+ return i(V, {
3674
3674
  get color() {
3675
3675
  return t.maxLength != null && y() > t.maxLength ? "var(--elmethis-color-accent-error)" : "gray";
3676
3676
  },
@@ -3777,8 +3777,8 @@ var q = {
3777
3777
  };
3778
3778
  return (() => {
3779
3779
  var e = No(), m = e.firstChild, w = m.firstChild, E = m.nextSibling, D = E.firstChild, O = D.nextSibling, k = O.firstChild, A = k.nextSibling, j = A.nextSibling, M = E.nextSibling;
3780
- return s(m, () => t.icon ?? i(V, {
3781
- d: be,
3780
+ return s(m, () => t.icon ?? i(U, {
3781
+ d: ve,
3782
3782
  size: "0.75rem"
3783
3783
  }), w), s(w, () => t.label, null), s(w, i(v, {
3784
3784
  get when() {
@@ -3793,7 +3793,7 @@ var q = {
3793
3793
  return t.value != null;
3794
3794
  },
3795
3795
  get children() {
3796
- return i(z, {
3796
+ return i(V, {
3797
3797
  get color() {
3798
3798
  return t.maxLength != null && String(t.value).length > t.maxLength ? "var(--elmethis-color-accent-error)" : "gray";
3799
3799
  },
@@ -3851,18 +3851,18 @@ var q = {
3851
3851
  return t.suffix != null;
3852
3852
  },
3853
3853
  get children() {
3854
- return i(z, { get children() {
3854
+ return i(V, { get children() {
3855
3855
  return t.suffix;
3856
3856
  } });
3857
3857
  }
3858
- })), A.$$click = () => _((e) => e === "text" ? "password" : "text"), s(A, i(V, {
3858
+ })), A.$$click = () => _((e) => e === "text" ? "password" : "text"), s(A, i(U, {
3859
3859
  get d() {
3860
- return g() === "text" ? ce : se;
3860
+ return g() === "text" ? se : oe;
3861
3861
  },
3862
3862
  size: "1.25rem",
3863
3863
  color: "gray"
3864
- })), j.$$click = () => b(""), s(j, i(V, {
3865
- d: Se,
3864
+ })), j.$$click = () => b(""), s(j, i(U, {
3865
+ d: be,
3866
3866
  size: "1.25rem",
3867
3867
  color: "gray"
3868
3868
  })), o((n) => {
@@ -3942,50 +3942,50 @@ var Y = {
3942
3942
  "seekStep",
3943
3943
  "loop",
3944
3944
  "autoPlay"
3945
- ]), a, p, m = null, [g, _] = w(!1), [v, y] = w(!0), [b, x] = w(!1), [T, E] = w(0), [O, A] = w(0), [M, N] = w(1), [te, ne] = w(!1), [re, ie] = w(null), ae = C(() => T() > 0 ? Math.min(1, O() / T()) : 0), oe = C(() => t.title ?? Ho(t.src)), se = C(() => te() || M() === 0 ? Ee : M() < .34 ? we : M() < .67 ? Te : Ce), ce = () => {
3945
+ ]), a, p, m = null, [g, _] = w(!1), [v, y] = w(!0), [b, x] = w(!1), [T, E] = w(0), [O, A] = w(0), [M, N] = w(1), [F, te] = w(!1), [ne, re] = w(null), ie = C(() => T() > 0 ? Math.min(1, O() / T()) : 0), ae = C(() => t.title ?? Ho(t.src)), oe = C(() => F() || M() === 0 ? we : M() < .34 ? Se : M() < .67 ? Ce : xe), se = () => {
3946
3946
  m != null && (cancelAnimationFrame(m), m = null);
3947
- }, ue = () => {
3947
+ }, le = () => {
3948
3948
  if (m != null) return;
3949
3949
  let e = () => {
3950
3950
  a && A(a.currentTime), m = requestAnimationFrame(e);
3951
3951
  };
3952
3952
  m = requestAnimationFrame(e);
3953
3953
  };
3954
- k(ce);
3955
- let de;
3954
+ k(se);
3955
+ let ue;
3956
3956
  S(() => {
3957
3957
  let e = t.src;
3958
- if (de === void 0) {
3959
- de = e;
3958
+ if (ue === void 0) {
3959
+ ue = e;
3960
3960
  return;
3961
3961
  }
3962
- e !== de && (de = e, ce(), _(!1), y(!0), x(!1), E(0), A(0), ie(null));
3962
+ e !== ue && (ue = e, se(), _(!1), y(!0), x(!1), E(0), A(0), re(null));
3963
3963
  });
3964
- let fe = () => {
3964
+ let de = () => {
3965
3965
  a && (a.paused ? a.play().catch(() => _(!1)) : a.pause());
3966
- }, F = (e) => {
3966
+ }, I = (e) => {
3967
3967
  let t = T();
3968
3968
  if (!a || !Number.isFinite(t) || t <= 0) return;
3969
3969
  let n = Math.max(0, Math.min(t, e));
3970
3970
  a.currentTime = n, A(n);
3971
- }, pe = (e) => {
3971
+ }, L = (e) => {
3972
3972
  if (!p) return 0;
3973
3973
  let t = p.getBoundingClientRect();
3974
3974
  return t.width === 0 ? 0 : Math.max(0, Math.min(1, (e - t.left) / t.width));
3975
- }, me = (e) => {
3976
- e.currentTarget.setPointerCapture(e.pointerId), F(pe(e.clientX) * T());
3977
- }, he = (e) => {
3978
- let t = pe(e.clientX);
3979
- ie(t), e.currentTarget.hasPointerCapture(e.pointerId) && F(t * T());
3975
+ }, fe = (e) => {
3976
+ e.currentTarget.setPointerCapture(e.pointerId), I(L(e.clientX) * T());
3977
+ }, pe = (e) => {
3978
+ let t = L(e.clientX);
3979
+ re(t), e.currentTarget.hasPointerCapture(e.pointerId) && I(t * T());
3980
+ }, ge = (e) => {
3981
+ e.key === "ArrowRight" ? (e.preventDefault(), I(O() + t.seekStep)) : e.key === "ArrowLeft" ? (e.preventDefault(), I(O() - t.seekStep)) : e.key === "Home" ? (e.preventDefault(), I(0)) : e.key === "End" && (e.preventDefault(), I(T()));
3980
3982
  }, ve = (e) => {
3981
- e.key === "ArrowRight" ? (e.preventDefault(), F(O() + t.seekStep)) : e.key === "ArrowLeft" ? (e.preventDefault(), F(O() - t.seekStep)) : e.key === "Home" ? (e.preventDefault(), F(0)) : e.key === "End" && (e.preventDefault(), F(T()));
3982
- }, be = (e) => {
3983
3983
  let t = Math.max(0, Math.min(1, e));
3984
- a && (a.volume = t, a.muted = t === 0), N(t), ne(t === 0);
3985
- }, xe = () => {
3984
+ a && (a.volume = t, a.muted = t === 0), N(t), te(t === 0);
3985
+ }, ye = () => {
3986
3986
  if (!a) return;
3987
3987
  let e = !a.muted;
3988
- a.muted = e, ne(e);
3988
+ a.muted = e, te(e);
3989
3989
  };
3990
3990
  return (() => {
3991
3991
  var e = Io(), S = e.firstChild, C = S.nextSibling, w = C.firstChild, D = w.nextSibling, k = D.firstChild, j = D.nextSibling;
@@ -3994,33 +3994,33 @@ var Y = {
3994
3994
  return P(Y["elm-audio-player"], g() && Y.playing, v() && Y.loading, b() && Y.errored, t.class);
3995
3995
  },
3996
3996
  get style() {
3997
- return L(t.style, {
3998
- "--elmethis-scoped-progress": ae(),
3999
- "--elmethis-scoped-hover": re() ?? 0
3997
+ return z(t.style, {
3998
+ "--elmethis-scoped-progress": ie(),
3999
+ "--elmethis-scoped-hover": ne() ?? 0
4000
4000
  });
4001
4001
  }
4002
4002
  }), !1, !0), S.addEventListener("error", () => {
4003
- ce(), _(!1), x(!0), y(!1);
4003
+ se(), _(!1), x(!0), y(!1);
4004
4004
  }), S.addEventListener("volumechange", (e) => {
4005
- N(e.currentTarget.volume), ne(e.currentTarget.muted);
4005
+ N(e.currentTarget.volume), te(e.currentTarget.muted);
4006
4006
  }), S.addEventListener("ended", () => {
4007
- _(!1), ce();
4007
+ _(!1), se();
4008
4008
  }), S.addEventListener("pause", () => {
4009
- _(!1), ce();
4009
+ _(!1), se();
4010
4010
  }), S.addEventListener("play", () => {
4011
- _(!0), ue();
4011
+ _(!0), le();
4012
4012
  }), S.addEventListener("timeupdate", (e) => {
4013
4013
  m ?? A(e.currentTarget.currentTime);
4014
4014
  }), S.addEventListener("playing", () => y(!1)), S.addEventListener("waiting", () => y(!0)), S.addEventListener("canplay", () => y(!1)), S.addEventListener("durationchange", (e) => E(e.currentTarget.duration)), S.addEventListener("loadedmetadata", (e) => {
4015
- E(e.currentTarget.duration), N(e.currentTarget.volume), ne(e.currentTarget.muted), y(!1);
4015
+ E(e.currentTarget.duration), N(e.currentTarget.volume), te(e.currentTarget.muted), y(!1);
4016
4016
  }), h((e) => {
4017
4017
  a = e;
4018
- }, S), s(w, i(V, {
4018
+ }, S), s(w, i(U, {
4019
4019
  get d() {
4020
- return b() ? ee : I;
4020
+ return b() ? ee : R;
4021
4021
  },
4022
4022
  size: "1.25rem"
4023
- })), s(k, oe), s(D, (() => {
4023
+ })), s(k, ae), s(D, (() => {
4024
4024
  var e = c(() => !!t.artist);
4025
4025
  return () => e() && (() => {
4026
4026
  var e = Lo();
@@ -4030,7 +4030,7 @@ var Y = {
4030
4030
  var e = c(() => !!b());
4031
4031
  return () => e() ? (() => {
4032
4032
  var e = Ro(), n = e.firstChild;
4033
- return s(e, i(V, {
4033
+ return s(e, i(U, {
4034
4034
  d: ee,
4035
4035
  size: "1.25rem"
4036
4036
  }), n), s(n, () => t.errorMessage), o((t) => {
@@ -4042,7 +4042,7 @@ var Y = {
4042
4042
  }), e;
4043
4043
  })() : [(() => {
4044
4044
  var e = zo(), t = e.firstChild, n = t.firstChild, i = t.nextSibling, a = i.nextSibling;
4045
- return e.$$keydown = ve, e.addEventListener("pointerleave", () => ie(null)), e.$$pointermove = he, e.$$pointerdown = me, h((e) => {
4045
+ return e.$$keydown = ge, e.addEventListener("pointerleave", () => re(null)), e.$$pointermove = pe, e.$$pointerdown = fe, h((e) => {
4046
4046
  p = e;
4047
4047
  }, e), o((o) => {
4048
4048
  var s = Y.seekbar, c = Math.round(T()) || 0, l = Math.round(O()), d = `${Vo(O())} of ${Vo(T())}`, f = Y.track, p = Y.fill, m = Y["hover-thumb"], h = Y.thumb;
@@ -4059,24 +4059,24 @@ var Y = {
4059
4059
  }), e;
4060
4060
  })(), (() => {
4061
4061
  var e = Bo(), 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;
4062
- return s(n, () => Vo(O())), c.$$click = () => F(O() - t.seekStep), s(c, i(V, {
4063
- d: ye,
4062
+ return s(n, () => Vo(O())), c.$$click = () => I(O() - t.seekStep), s(c, i(U, {
4063
+ d: _e,
4064
4064
  size: "1.25rem"
4065
- })), l.$$click = fe, s(l, i(V, {
4065
+ })), l.$$click = de, s(l, i(U, {
4066
4066
  get d() {
4067
- return g() ? ge : _e;
4067
+ return g() ? me : he;
4068
4068
  },
4069
4069
  size: "1.5rem"
4070
- })), f.$$click = () => F(O() + t.seekStep), s(f, i(V, {
4071
- d: le,
4070
+ })), f.$$click = () => I(O() + t.seekStep), s(f, i(U, {
4071
+ d: ce,
4072
4072
  size: "1.25rem"
4073
- })), m.$$click = xe, s(m, i(V, {
4073
+ })), m.$$click = ye, s(m, i(U, {
4074
4074
  get d() {
4075
- return se();
4075
+ return oe();
4076
4076
  },
4077
4077
  size: "1.25rem"
4078
- })), h.$$input = (e) => be(e.currentTarget.valueAsNumber), s(_, () => Vo(T())), o((i) => {
4079
- var o = Y.controls, s = P(Y.time, Y["time-current"]), v = Y.transport, y = Y["icon-button"], b = `Back ${t.seekStep} seconds`, x = Y["play-button"], S = g() ? "Pause" : "Play", C = g(), w = Y["icon-button"], T = `Forward ${t.seekStep} seconds`, E = Y.volume, D = Y["icon-button"], O = te() ? "Unmute" : "Mute", k = te(), A = Y["volume-slider"], j = te() ? 0 : M(), N = P(Y.time, Y["time-total"]);
4078
+ })), h.$$input = (e) => ve(e.currentTarget.valueAsNumber), s(_, () => Vo(T())), o((i) => {
4079
+ var o = Y.controls, s = P(Y.time, Y["time-current"]), v = Y.transport, y = Y["icon-button"], b = `Back ${t.seekStep} seconds`, x = Y["play-button"], S = g() ? "Pause" : "Play", C = g(), w = Y["icon-button"], T = `Forward ${t.seekStep} seconds`, E = Y.volume, D = Y["icon-button"], O = F() ? "Unmute" : "Mute", k = F(), A = Y["volume-slider"], j = F() ? 0 : M(), N = P(Y.time, Y["time-total"]);
4080
4080
  return o !== i.e && r(e, i.e = o), s !== i.t && r(n, i.t = s), v !== i.a && r(a, i.a = v), y !== i.o && r(c, i.o = y), b !== i.i && u(c, "aria-label", i.i = b), x !== i.n && r(l, i.n = x), S !== i.s && u(l, "aria-label", i.s = S), C !== i.h && u(l, "aria-pressed", i.h = C), w !== i.r && r(f, i.r = w), T !== i.d && u(f, "aria-label", i.d = T), E !== i.l && r(p, i.l = E), D !== i.u && r(m, i.u = D), O !== i.c && u(m, "aria-label", i.c = O), k !== i.w && u(m, "aria-pressed", i.w = k), A !== i.m && r(h, i.m = A), j !== i.f && d(h, "--elmethis-scoped-volume", i.f = j), N !== i.y && r(_, i.y = N), i;
4081
4081
  }, {
4082
4082
  e: void 0,
@@ -4096,10 +4096,10 @@ var Y = {
4096
4096
  m: void 0,
4097
4097
  f: void 0,
4098
4098
  y: void 0
4099
- }), o(() => h.value = te() ? 0 : M()), e;
4099
+ }), o(() => h.value = F() ? 0 : M()), e;
4100
4100
  })()];
4101
4101
  })(), null), o((e) => {
4102
- var n = Y["native-audio"], i = t.src, a = t.loop, o = t.autoPlay, s = Y.header, c = P(Y.artwork, b() && Y["artwork-error"]), l = Y.meta, d = Y.title, f = oe(), p = Y.equalizer;
4102
+ var n = Y["native-audio"], i = t.src, a = t.loop, o = t.autoPlay, s = Y.header, c = P(Y.artwork, b() && Y["artwork-error"]), l = Y.meta, d = Y.title, f = ae(), p = Y.equalizer;
4103
4103
  return n !== e.e && r(S, e.e = n), i !== e.t && u(S, "src", e.t = i), a !== e.a && (S.loop = e.a = a), o !== e.o && (S.autoplay = e.o = o), s !== e.i && r(C, e.i = s), c !== e.n && r(w, e.n = c), l !== e.s && r(D, e.s = l), d !== e.h && r(k, e.h = d), f !== e.r && u(k, "title", e.r = f), p !== e.d && r(j, e.d = p), e;
4104
4104
  }, {
4105
4105
  e: void 0,
@@ -4420,7 +4420,7 @@ function Q(e, t) {
4420
4420
  }
4421
4421
  var ss = class e {
4422
4422
  constructor(e = [], t = []) {
4423
- Ii(this, "components", void 0), Ii(this, "functions", void 0);
4423
+ Fi(this, "components", void 0), Fi(this, "functions", void 0);
4424
4424
  let n = /* @__PURE__ */ new Map();
4425
4425
  for (let t of e) n.set(t.name, t);
4426
4426
  this.components = n, this.functions = [...t];
@@ -4440,7 +4440,7 @@ var ss = class e {
4440
4440
  return new e(n.values(), [...r.values()]);
4441
4441
  }
4442
4442
  toCatalog(e) {
4443
- return new dt(e, [...this.components.values()], [...this.functions]);
4443
+ return new lt(e, [...this.components.values()], [...this.functions]);
4444
4444
  }
4445
4445
  }, cs = {
4446
4446
  start: "flex-start",
@@ -4491,9 +4491,9 @@ var ss = class e {
4491
4491
  }), t;
4492
4492
  }
4493
4493
  }), Ps = new ss([
4494
- Q(jt, (e) => i(y, {
4494
+ Q(kt, (e) => i(y, {
4495
4495
  get fallback() {
4496
- return i(pi, {
4496
+ return i(fi, {
4497
4497
  get level() {
4498
4498
  return Ms(e.props.variant ?? "h1");
4499
4499
  },
@@ -4508,7 +4508,7 @@ var ss = class e {
4508
4508
  return e.props.variant === "caption";
4509
4509
  },
4510
4510
  get children() {
4511
- return i(z, { get children() {
4511
+ return i(V, { get children() {
4512
4512
  return e.props.text;
4513
4513
  } });
4514
4514
  }
@@ -4517,14 +4517,14 @@ var ss = class e {
4517
4517
  return (e.props.variant ?? "body") === "body";
4518
4518
  },
4519
4519
  get children() {
4520
- return i(vi, { get children() {
4520
+ return i(_i, { get children() {
4521
4521
  return e.props.text;
4522
4522
  } });
4523
4523
  }
4524
4524
  })];
4525
4525
  }
4526
4526
  })),
4527
- Q(Ot, (e) => (() => {
4527
+ Q(Et, (e) => (() => {
4528
4528
  var t = ps();
4529
4529
  return s(t, i(g, {
4530
4530
  get each() {
@@ -4546,7 +4546,7 @@ var ss = class e {
4546
4546
  a: void 0
4547
4547
  }), t;
4548
4548
  })()),
4549
- Q(xt, (e) => (() => {
4549
+ Q(yt, (e) => (() => {
4550
4550
  var t = ps();
4551
4551
  return s(t, i(g, {
4552
4552
  get each() {
@@ -4561,7 +4561,7 @@ var ss = class e {
4561
4561
  })
4562
4562
  })), o(() => r(t, Z.column)), t;
4563
4563
  })()),
4564
- Q(Et, (e) => (() => {
4564
+ Q(wt, (e) => (() => {
4565
4565
  var t = ps();
4566
4566
  return s(t, i(g, {
4567
4567
  get each() {
@@ -4585,11 +4585,11 @@ var ss = class e {
4585
4585
  t: void 0
4586
4586
  }), t;
4587
4587
  })()),
4588
- Q(vt, (e) => (() => {
4588
+ Q(gt, (e) => (() => {
4589
4589
  var t = ps();
4590
4590
  return s(t, () => e.renderChild(e.props.child)), o(() => r(t, Z.card)), t;
4591
4591
  })()),
4592
- Q(_t, (e) => {
4592
+ Q(ht, (e) => {
4593
4593
  let t = () => `${e.instanceId}-errors`, a = () => e.props.isValid === !1;
4594
4594
  return (() => {
4595
4595
  var c = ms(), l = c.firstChild;
@@ -4620,7 +4620,7 @@ var ss = class e {
4620
4620
  }), c;
4621
4621
  })();
4622
4622
  }),
4623
- Q(Tt, (e) => (() => {
4623
+ Q(Ct, (e) => (() => {
4624
4624
  var t = hs();
4625
4625
  return o((n) => {
4626
4626
  var i = Z.image, a = e.props.url, o = e.props.description ?? "", s = us[e.props.fit ?? "cover"];
@@ -4632,7 +4632,7 @@ var ss = class e {
4632
4632
  o: void 0
4633
4633
  }), t;
4634
4634
  })()),
4635
- Q(wt, (e) => {
4635
+ Q(St, (e) => {
4636
4636
  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);
4637
4637
  return i(v, {
4638
4638
  get when() {
@@ -4664,7 +4664,7 @@ var ss = class e {
4664
4664
  })()
4665
4665
  });
4666
4666
  }),
4667
- Q(Ct, (e) => (() => {
4667
+ Q(xt, (e) => (() => {
4668
4668
  var t = vs();
4669
4669
  return o((i) => {
4670
4670
  var a = Z.divider, o = { [Z["divider-vertical"]]: e.props.axis === "vertical" };
@@ -4674,7 +4674,7 @@ var ss = class e {
4674
4674
  t: void 0
4675
4675
  }), t;
4676
4676
  })()),
4677
- Q(Mt, (e) => (() => {
4677
+ Q(At, (e) => (() => {
4678
4678
  var t = bs(), n = t.firstChild;
4679
4679
  return s(n, () => e.props.label), s(t, i(v, {
4680
4680
  get when() {
@@ -4723,7 +4723,7 @@ var ss = class e {
4723
4723
  a: void 0
4724
4724
  }), t;
4725
4725
  })()),
4726
- Q(yt, (e) => (() => {
4726
+ Q(_t, (e) => (() => {
4727
4727
  var t = Ss(), n = t.firstChild, a = n.firstChild, c = a.nextSibling;
4728
4728
  return a.addEventListener("change", (t) => e.props.setValue(t.currentTarget.checked)), s(c, () => e.props.label), s(t, i(Ns, {
4729
4729
  get id() {
@@ -4743,7 +4743,7 @@ var ss = class e {
4743
4743
  i: void 0
4744
4744
  }), o(() => a.checked = !!e.props.value), t;
4745
4745
  })()),
4746
- Q(kt, (e) => (() => {
4746
+ Q(Dt, (e) => (() => {
4747
4747
  var t = Cs(), n = t.firstChild;
4748
4748
  return n.$$input = (t) => e.props.setValue(Number(t.currentTarget.value)), s(t, i(Ns, {
4749
4749
  get id() {
@@ -4765,15 +4765,15 @@ var ss = class e {
4765
4765
  s: void 0
4766
4766
  }), o(() => n.value = Number(e.props.value ?? 0)), t;
4767
4767
  })()),
4768
- Q(At, (e) => i(ra, {
4768
+ Q(Ot, (e) => i(na, {
4769
4769
  defaultValue: "0",
4770
4770
  get children() {
4771
- return [i(ia, { get children() {
4771
+ return [i(ra, { get children() {
4772
4772
  return i(g, {
4773
4773
  get each() {
4774
4774
  return e.props.tabs;
4775
4775
  },
4776
- children: (e, t) => i(aa, {
4776
+ children: (e, t) => i(ia, {
4777
4777
  get value() {
4778
4778
  return String(t());
4779
4779
  },
@@ -4786,7 +4786,7 @@ var ss = class e {
4786
4786
  get each() {
4787
4787
  return e.props.tabs;
4788
4788
  },
4789
- children: (t, n) => i(oa, {
4789
+ children: (t, n) => i(aa, {
4790
4790
  get value() {
4791
4791
  return String(n());
4792
4792
  },
@@ -4797,7 +4797,7 @@ var ss = class e {
4797
4797
  })];
4798
4798
  }
4799
4799
  })),
4800
- Q(Dt, (e) => {
4800
+ Q(Tt, (e) => {
4801
4801
  let [t, n] = w(!1), a = () => n(!0);
4802
4802
  return [(() => {
4803
4803
  var t = ws();
@@ -4809,7 +4809,7 @@ var ss = class e {
4809
4809
  return t();
4810
4810
  },
4811
4811
  get children() {
4812
- return i(Qi, {
4812
+ return i(Zi, {
4813
4813
  isOpen: !0,
4814
4814
  delay: 0,
4815
4815
  onClose: () => n(!1),
@@ -4820,7 +4820,7 @@ var ss = class e {
4820
4820
  }
4821
4821
  })];
4822
4822
  }),
4823
- Q(Nt, (e) => (() => {
4823
+ Q(jt, (e) => (() => {
4824
4824
  var t = Ts();
4825
4825
  return o((n) => {
4826
4826
  var i = Z.video, a = e.props.url;
@@ -4830,7 +4830,7 @@ var ss = class e {
4830
4830
  t: void 0
4831
4831
  }), t;
4832
4832
  })()),
4833
- Q(ht, (e) => (() => {
4833
+ Q(pt, (e) => (() => {
4834
4834
  var t = Es();
4835
4835
  return o((n) => {
4836
4836
  var i = Z.audio, a = e.props.url;
@@ -4840,7 +4840,7 @@ var ss = class e {
4840
4840
  t: void 0
4841
4841
  }), t;
4842
4842
  })()),
4843
- Q(bt, (e) => {
4843
+ Q(vt, (e) => {
4844
4844
  let t = C(() => Array.isArray(e.props.value) ? e.props.value : []), n = C(() => e.props.variant === "multipleSelection");
4845
4845
  return (() => {
4846
4846
  var a = Ds(), c = a.firstChild;
@@ -4888,7 +4888,7 @@ var ss = class e {
4888
4888
  }), a;
4889
4889
  })();
4890
4890
  }),
4891
- Q(St, (e) => {
4891
+ Q(bt, (e) => {
4892
4892
  let t = C(() => e.props.enableDate && e.props.enableTime ? "datetime-local" : e.props.enableDate ? "date" : e.props.enableTime ? "time" : "text");
4893
4893
  return (() => {
4894
4894
  var n = As(), a = n.firstChild;
@@ -4921,7 +4921,7 @@ var ss = class e {
4921
4921
  }), o(() => a.value = e.props.value ?? ""), n;
4922
4922
  })();
4923
4923
  })
4924
- ], [...gt]);
4924
+ ], [...mt]);
4925
4925
  a([
4926
4926
  "click",
4927
4927
  "keydown",
@@ -4956,7 +4956,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
4956
4956
  a({});
4957
4957
  return;
4958
4958
  }
4959
- let n = new pt(new ft(e.surface, e.id, e.basePath), Fe.schema);
4959
+ let n = new dt(new ut(e.surface, e.id, e.basePath), Ne.schema);
4960
4960
  a({ ...n.snapshot });
4961
4961
  let r = n.subscribe((e) => a({ ...e }));
4962
4962
  k(() => {
@@ -4975,12 +4975,12 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
4975
4975
  })
4976
4976
  });
4977
4977
  }, Hs = [
4978
- Q(Xe, (e) => i(v, {
4978
+ Q(Je, (e) => i(v, {
4979
4979
  get when() {
4980
4980
  return !e.props.decoration?.includes("katex");
4981
4981
  },
4982
4982
  get fallback() {
4983
- return i(Vi, {
4983
+ return i(Bi, {
4984
4984
  get expression() {
4985
4985
  return e.props.text;
4986
4986
  },
@@ -4988,7 +4988,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
4988
4988
  });
4989
4989
  },
4990
4990
  get children() {
4991
- return i(z, {
4991
+ return i(V, {
4992
4992
  get bold() {
4993
4993
  return e.props.decoration?.includes("bold");
4994
4994
  },
@@ -5016,7 +5016,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5016
5016
  });
5017
5017
  }
5018
5018
  })),
5019
- Q(Ue, (e) => i(z, {
5019
+ Q(Ve, (e) => i(V, {
5020
5020
  get href() {
5021
5021
  return e.props.href;
5022
5022
  },
@@ -5027,7 +5027,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5027
5027
  return e.props.text;
5028
5028
  }
5029
5029
  })),
5030
- Q(Ve, (e) => i(Yt, {
5030
+ Q(ze, (e) => i(qt, {
5031
5031
  get src() {
5032
5032
  return e.props.src;
5033
5033
  },
@@ -5035,7 +5035,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5035
5035
  return e.props.alt;
5036
5036
  }
5037
5037
  })),
5038
- Q(Ne, (e) => (() => {
5038
+ Q(je, (e) => (() => {
5039
5039
  var t = Fs();
5040
5040
  return s(t, i(g, {
5041
5041
  get each() {
@@ -5057,7 +5057,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5057
5057
  a: void 0
5058
5058
  }), t;
5059
5059
  })()),
5060
- Q(Pe, (e) => (() => {
5060
+ Q(Me, (e) => (() => {
5061
5061
  var t = Is();
5062
5062
  return p(t, Bs), s(t, i(g, {
5063
5063
  get each() {
@@ -5072,7 +5072,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5072
5072
  })
5073
5073
  })), t;
5074
5074
  })()),
5075
- Q(ze, (e) => i(pi, {
5075
+ Q(Le, (e) => i(fi, {
5076
5076
  get level() {
5077
5077
  return e.props.level;
5078
5078
  },
@@ -5091,7 +5091,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5091
5091
  });
5092
5092
  }
5093
5093
  })),
5094
- Q(Ye, (e) => i(vi, {
5094
+ Q(qe, (e) => i(_i, {
5095
5095
  get color() {
5096
5096
  return e.props.color;
5097
5097
  },
@@ -5113,7 +5113,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5113
5113
  });
5114
5114
  }
5115
5115
  })),
5116
- Q(We, (e) => i(hi, {
5116
+ Q(He, (e) => i(mi, {
5117
5117
  get listStyle() {
5118
5118
  return e.props.style ?? "unordered";
5119
5119
  },
@@ -5135,7 +5135,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5135
5135
  });
5136
5136
  }
5137
5137
  })),
5138
- Q(Ge, (e) => i(g, {
5138
+ Q(Ue, (e) => i(g, {
5139
5139
  get each() {
5140
5140
  return e.childRefs(e.props.children);
5141
5141
  },
@@ -5147,7 +5147,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5147
5147
  }
5148
5148
  })
5149
5149
  })),
5150
- Q(ke, (e) => i(Zr, {
5150
+ Q(De, (e) => i(Xr, {
5151
5151
  get cite() {
5152
5152
  return e.props.cite;
5153
5153
  },
@@ -5166,7 +5166,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5166
5166
  });
5167
5167
  }
5168
5168
  })),
5169
- Q(je, (e) => i(ti, {
5169
+ Q(ke, (e) => i(ei, {
5170
5170
  get type() {
5171
5171
  return e.props.type;
5172
5172
  },
@@ -5185,7 +5185,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5185
5185
  });
5186
5186
  }
5187
5187
  })),
5188
- Q(Je, (e) => i(br, {
5188
+ Q(Ke, (e) => i(vr, {
5189
5189
  get icon() {
5190
5190
  return e.props.icon;
5191
5191
  },
@@ -5210,8 +5210,8 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5210
5210
  });
5211
5211
  }
5212
5212
  })),
5213
- Q(Le, () => i(ii, {})),
5214
- Q(et, (e) => i(ca, {
5213
+ Q(Fe, () => i(ri, {})),
5214
+ Q(Qe, (e) => i(sa, {
5215
5215
  get summary() {
5216
5216
  return i(g, {
5217
5217
  get each() {
@@ -5241,7 +5241,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5241
5241
  });
5242
5242
  }
5243
5243
  })),
5244
- Q(Ae, (e) => i(lr, {
5244
+ Q(Oe, (e) => i(sr, {
5245
5245
  get url() {
5246
5246
  return e.props.url;
5247
5247
  },
@@ -5255,7 +5255,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5255
5255
  return e.props.image;
5256
5256
  }
5257
5257
  })),
5258
- Q(Re, (e) => i(ar, {
5258
+ Q(Ie, (e) => i(rr, {
5259
5259
  get src() {
5260
5260
  return e.props.src;
5261
5261
  },
@@ -5263,7 +5263,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5263
5263
  return e.props.name;
5264
5264
  }
5265
5265
  })),
5266
- Q(De, (e) => i(Uo, {
5266
+ Q(Te, (e) => i(Uo, {
5267
5267
  get src() {
5268
5268
  return e.props.src;
5269
5269
  },
@@ -5283,7 +5283,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5283
5283
  return e.props.autoPlay;
5284
5284
  }
5285
5285
  })),
5286
- Q(nt, (e) => (() => {
5286
+ Q(et, (e) => (() => {
5287
5287
  var t = Rs(), n = t.firstChild;
5288
5288
  return s(t, i(v, {
5289
5289
  get when() {
@@ -5307,7 +5307,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5307
5307
  h: void 0
5308
5308
  }), t;
5309
5309
  })()),
5310
- Q(Oe, (e) => i(Ca, {
5310
+ Q(Ee, (e) => i(Ca, {
5311
5311
  get src() {
5312
5312
  return e.props.src;
5313
5313
  },
@@ -5331,7 +5331,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5331
5331
  },
5332
5332
  enableModal: !0
5333
5333
  })),
5334
- Q(Be, (e) => i(_o, {
5334
+ Q(Re, (e) => i(_o, {
5335
5335
  get html() {
5336
5336
  return e.props.html;
5337
5337
  },
@@ -5348,7 +5348,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5348
5348
  return e.props.height ?? 400;
5349
5349
  }
5350
5350
  })),
5351
- Q(Me, (e) => i(qa, {
5351
+ Q(Ae, (e) => i(qa, {
5352
5352
  get code() {
5353
5353
  return e.props.code;
5354
5354
  },
@@ -5359,30 +5359,30 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5359
5359
  return e.props.caption;
5360
5360
  }
5361
5361
  })),
5362
- Q(He, (e) => i(Vi, {
5362
+ Q(Be, (e) => i(Bi, {
5363
5363
  get expression() {
5364
5364
  return e.props.expression;
5365
5365
  },
5366
5366
  block: !0
5367
5367
  })),
5368
- Q(Ke, (e) => i(qa, {
5368
+ Q(We, (e) => i(qa, {
5369
5369
  get code() {
5370
5370
  return e.props.code;
5371
5371
  },
5372
5372
  language: "mermaid"
5373
5373
  })),
5374
- Q(Fe, () => null),
5375
- Q(Ie, (e) => {
5374
+ Q(Ne, () => null),
5375
+ Q(Pe, (e) => {
5376
5376
  let t = () => e.childRefs(e.props.children);
5377
- return i(ra, {
5377
+ return i(na, {
5378
5378
  defaultValue: "0",
5379
5379
  get children() {
5380
- return [i(ia, { get children() {
5380
+ return [i(ra, { get children() {
5381
5381
  return i(g, {
5382
5382
  get each() {
5383
5383
  return t();
5384
5384
  },
5385
- children: (t, n) => i(aa, {
5385
+ children: (t, n) => i(ia, {
5386
5386
  get value() {
5387
5387
  return String(n());
5388
5388
  },
@@ -5409,7 +5409,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5409
5409
  get each() {
5410
5410
  return t();
5411
5411
  },
5412
- children: (t, n) => i(oa, {
5412
+ children: (t, n) => i(aa, {
5413
5413
  get value() {
5414
5414
  return String(n());
5415
5415
  },
@@ -5435,7 +5435,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5435
5435
  }
5436
5436
  });
5437
5437
  }),
5438
- Q(Ze, (e) => i(ka, {
5438
+ Q(Ye, (e) => i(ka, {
5439
5439
  get caption() {
5440
5440
  return c(() => e.props.caption == null)() ? void 0 : String(e.props.caption);
5441
5441
  },
@@ -5479,7 +5479,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5479
5479
  } })];
5480
5480
  }
5481
5481
  })),
5482
- Q($e, (e) => i(za, { get children() {
5482
+ Q(Ze, (e) => i(za, { get children() {
5483
5483
  return i(g, {
5484
5484
  get each() {
5485
5485
  return e.childRefs(e.props.children);
@@ -5493,7 +5493,7 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5493
5493
  })
5494
5494
  });
5495
5495
  } })),
5496
- Q(Qe, (e) => i(Na, {
5496
+ Q(Xe, (e) => i(Na, {
5497
5497
  get isHeader() {
5498
5498
  return e.props.isHeader;
5499
5499
  },
@@ -5515,11 +5515,11 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5515
5515
  });
5516
5516
  }
5517
5517
  })),
5518
- Q(tt, (e) => i(ln, { get details() {
5518
+ Q($e, (e) => i(sn, { get details() {
5519
5519
  return c(() => !!e.props.details)() ? `Unsupported component type: ${String(e.props.details)}` : "Unsupported component type";
5520
5520
  } }))
5521
5521
  ], Us = Ps.extend(...Hs), Ws = [...Us.components.values()], Gs = [...Us.functions], Ks = /* @__PURE__ */ m("<span data-a2ui-state=loading class=a2ui-loading>[Loading <!>…]"), qs = /* @__PURE__ */ m("<span data-a2ui-state=unknown class=a2ui-unknown>Unknown component: "), Js = /* @__PURE__ */ m("<span style=display:contents>"), Ys = "root", Xs = x(), Zs = x(), Qs = (...e) => `a2ui-${encodeURIComponent(JSON.stringify(e))}`, $s = (e) => {
5522
- let t = N(Xs), n = N(Zs), r = () => e.ancestors ?? [], a = () => r().includes(e.id), [l, d] = w(), [f, p] = w(!1), [m, h] = w(), [g, _] = Pt({});
5522
+ let t = N(Xs), n = N(Zs), r = () => e.ancestors ?? [], a = () => r().includes(e.id), [l, d] = w(), [f, p] = w(!1), [m, h] = w(), [g, _] = Mt({});
5523
5523
  S(() => {
5524
5524
  let n = e.id, r = t?.();
5525
5525
  if (a() || r == null) {
@@ -5539,16 +5539,16 @@ var Fs = /* @__PURE__ */ m("<div style=display:flex;flex-direction:column;box-si
5539
5539
  }), S(() => {
5540
5540
  let r = l(), i = t?.(), o = r == null ? void 0 : n?.().get(r.type);
5541
5541
  if (r == null || o == null || i == null || a()) {
5542
- h(void 0), _(Ft({}));
5542
+ h(void 0), _(Nt({}));
5543
5543
  return;
5544
5544
  }
5545
- let s = new ft(i, e.id, e.basePath), c = new pt(s, o.schema);
5546
- _(Ft({ ...c.snapshot })), h({
5545
+ let s = new ut(i, e.id, e.basePath), c = new dt(s, o.schema);
5546
+ _(Nt({ ...c.snapshot })), h({
5547
5547
  entry: o,
5548
5548
  context: s
5549
5549
  });
5550
5550
  let u = c.subscribe((e) => {
5551
- _(Ft({ ...e }));
5551
+ _(Nt({ ...e }));
5552
5552
  });
5553
5553
  k(() => {
5554
5554
  u.unsubscribe(), c.dispose();
@@ -5756,13 +5756,13 @@ var tc = /* @__PURE__ */ m("<div>"), nc = "https://a2ui.org/specification/v0_9/b
5756
5756
  return;
5757
5757
  }
5758
5758
  d();
5759
- let a = new Set([nc, qe]);
5759
+ let a = new Set([nc, Ge]);
5760
5760
  n && a.add(n);
5761
5761
  for (let t of e) if (typeof t == "object" && t && "createSurface" in t) {
5762
5762
  let e = t.createSurface?.catalogId;
5763
5763
  e && a.add(e);
5764
5764
  }
5765
- let o = new mt([...a].map((e) => i.toCatalog(e))), s = /* @__PURE__ */ new Map(), l = () => c([...s.values()]);
5765
+ let o = new ft([...a].map((e) => i.toCatalog(e))), s = /* @__PURE__ */ new Map(), l = () => c([...s.values()]);
5766
5766
  u = {
5767
5767
  processor: o,
5768
5768
  subscriptions: [o.model.onSurfaceCreated.subscribe((e) => {
@@ -5804,4 +5804,4 @@ var tc = /* @__PURE__ */ m("<div>"), nc = "https://a2ui.org/specification/v0_9/b
5804
5804
  })();
5805
5805
  };
5806
5806
  //#endregion
5807
- export { Zs as A2uiCatalogContext, rc as A2uiSurface, Xs as A2uiSurfaceContext, ss as CatalogRenderer, $s as ComponentHost, ic as ElmA2ui, Uo as ElmAudioPlayer, Wt as ElmBlockFallback, Ca as ElmBlockImage, Zr as ElmBlockQuote, lr as ElmBookmark, pr as ElmBreadcrumb, pn as ElmButton, pa as ElmButtonDropdown, ti as ElmCallout, vn as ElmCheckbox, qa as ElmCodeBlock, Gi as ElmCollapse, jr as ElmColorPrimitiveSample, Kr as ElmColorSemanticSample, Nn as ElmCopyIcon, ii as ElmDivider, zt as ElmDotLoadingIcon, ar as ElmFile, si as ElmFragmentIdentifier, pi as ElmHeading, mo as ElmHtml, _o as ElmHtmlViewer, Yt as ElmInlineIcon, z as ElmInlineText, Vi as ElmKatex, zn as ElmLanguageIcon, hi as ElmList, no as ElmMarkdown, V as ElmMdiIcon, Qi as ElmModal, br as ElmNotionCallout, gr as ElmPageTop, vi as ElmParagraph, Yi as ElmParallax, Ht as ElmRectangleWave, _a as ElmSelect, Wa as ElmShikiHighlighter, Do as ElmSlider, Un as ElmSquareLoadingIcon, xn as ElmSwitch, aa as ElmTab, ia as ElmTabList, oa as ElmTabPanel, ka as ElmTable, ja as ElmTableBody, Na as ElmTableCell, Ia as ElmTableHeader, za as ElmTableRow, ra as ElmTabs, jo as ElmTextArea, Fo as ElmTextField, ca as ElmToggle, tr as ElmToggleTheme, da as ElmTooltip, ln as ElmUnsupportedBlock, kn as ElmValidation, Ta as HasRowHeaderContext, Ys as ROOT_COMPONENT_ID, Kn as THEME_CHANGE_EVENT, Ea as TableSectionContext, Li as ThrottledQueue, Ps as basicCatalog, yi as createAsyncState, bi as createAutoAnimate, An as createClipboard, mn as createControllableSignal, xi as createDebounced, Si as createDelayedSignal, Xn as createElmethisTheme, Ai as createLocalStorage, va as createModal, ji as createSessionStorage, Mi as createThrottled, Ri as createThrottledQueue, Q as defineRenderer, Us as notionBlockCatalog, Ws as notionBlockComponents, Gs as notionBlockFunctions, as as useWordle };
5807
+ export { Zs as A2uiCatalogContext, rc as A2uiSurface, Xs as A2uiSurfaceContext, ss as CatalogRenderer, $s as ComponentHost, ic as ElmA2ui, Uo as ElmAudioPlayer, Ht as ElmBlockFallback, Ca as ElmBlockImage, Xr as ElmBlockQuote, sr as ElmBookmark, dr as ElmBreadcrumb, dn as ElmButton, pa as ElmButtonDropdown, ei as ElmCallout, gn as ElmCheckbox, qa as ElmCodeBlock, Wi as ElmCollapse, Ar as ElmColorPrimitiveSample, Gr as ElmColorSemanticSample, jn as ElmCopyIcon, ri as ElmDivider, Lt as ElmDotLoadingIcon, rr as ElmFile, oi as ElmFragmentIdentifier, fi as ElmHeading, mo as ElmHtml, _o as ElmHtmlViewer, qt as ElmInlineIcon, V as ElmInlineText, Bi as ElmKatex, Ln as ElmLanguageIcon, mi as ElmList, no as ElmMarkdown, U as ElmMdiIcon, Zi as ElmModal, vr as ElmNotionCallout, mr as ElmPageTop, _i as ElmParagraph, Ji as ElmParallax, Bt as ElmRectangleWave, _a as ElmSelect, Wa as ElmShikiHighlighter, Do 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, jo as ElmTextArea, Fo as ElmTextField, sa as ElmToggle, $n as ElmToggleTheme, ua as ElmTooltip, sn as ElmUnsupportedBlock, Dn as ElmValidation, Ta as HasRowHeaderContext, Ys as ROOT_COMPONENT_ID, Wn as THEME_CHANGE_EVENT, Ea as TableSectionContext, Ii as ThrottledQueue, Ps as basicCatalog, vi as createAsyncState, yi as createAutoAnimate, On as createClipboard, fn as createControllableSignal, bi as createDebounced, xi as createDelayedSignal, Jn as createElmethisTheme, ki as createLocalStorage, va as createModal, Ai as createSessionStorage, ji as createThrottled, Li as createThrottledQueue, Q as defineRenderer, Us as notionBlockCatalog, Ws as notionBlockComponents, Gs as notionBlockFunctions, as as useWordle };