@x-wave/blog 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,39 +1,39 @@
1
- import { jsxs as i, jsx as e, Fragment as U } from "react/jsx-runtime";
1
+ import { jsxs as d, jsx as e, Fragment as z } from "react/jsx-runtime";
2
2
  import { useTranslation as R } from "react-i18next";
3
- import { useLocation as Y, useNavigate as V, useParams as ae, Link as de, Navigate as fe, Routes as Ce, Route as ue } from "react-router-dom";
4
- import { X as se, Tag as xe, User as ye, CalendarBlank as Te, MagnifyingGlass as he, List as Le, Sun as me, Moon as ge, Monitor as _e, CaretDown as oe, Globe as Pe, CaretRight as Se } from "@phosphor-icons/react";
3
+ import { useLocation as Y, useNavigate as V, useParams as ae, Link as de, Navigate as fe, Routes as ke, Route as ue } from "react-router-dom";
4
+ import { X as se, Tag as Ce, User as Te, CalendarBlank as ye, MagnifyingGlass as he, List as Le, Sun as me, Moon as _e, Monitor as ge, CaretDown as oe, Globe as Pe, CaretRight as Se } from "@phosphor-icons/react";
5
5
  import { useState as P, useEffect as B, createContext as Be, useContext as Me, useRef as W } from "react";
6
6
  import De from "react-markdown";
7
- import Ee from "remark-gfm";
7
+ import Oe from "remark-gfm";
8
8
  import ne from "i18next";
9
9
  import { createPortal as ve } from "react-dom";
10
- const Oe = "_tabContainer_yggpc_1", Re = "_tab_yggpc_1", je = "_active_yggpc_45", G = {
11
- tabContainer: Oe,
10
+ const Ee = "_tabContainer_zk6h4_1", Re = "_tab_zk6h4_1", je = "_active_zk6h4_45", G = {
11
+ tabContainer: Ee,
12
12
  tab: Re,
13
13
  active: je
14
14
  };
15
15
  function Ae({ hasAdvanced: t }) {
16
- const { t: n } = R(), o = Y(), a = V();
16
+ const { t: n } = R(), o = Y(), s = V();
17
17
  if (!t) return null;
18
- const s = new URLSearchParams(o.search).has("advanced"), h = () => {
19
- if (s) {
20
- const u = new URLSearchParams(o.search);
21
- u.delete("advanced");
22
- const v = u.toString(), N = v ? `?${v}` : "";
23
- a(`${o.pathname}${N}${o.hash}`);
18
+ const a = new URLSearchParams(o.search).has("advanced"), h = () => {
19
+ if (a) {
20
+ const r = new URLSearchParams(o.search);
21
+ r.delete("advanced");
22
+ const v = r.toString(), N = v ? `?${v}` : "";
23
+ s(`${o.pathname}${N}${o.hash}`);
24
24
  }
25
- }, _ = () => {
26
- if (!s) {
27
- const u = new URLSearchParams(o.search);
28
- u.set("advanced", ""), a(`${o.pathname}?${u.toString()}${o.hash}`);
25
+ }, p = () => {
26
+ if (!a) {
27
+ const r = new URLSearchParams(o.search);
28
+ r.set("advanced", ""), s(`${o.pathname}?${r.toString()}${o.hash}`);
29
29
  }
30
30
  };
31
- return /* @__PURE__ */ i("div", { className: G.tabContainer, children: [
31
+ return /* @__PURE__ */ d("div", { className: G.tabContainer, children: [
32
32
  /* @__PURE__ */ e(
33
33
  "button",
34
34
  {
35
35
  type: "button",
36
- className: `${G.tab} ${s ? "" : G.active}`,
36
+ className: `${G.tab} ${a ? "" : G.active}`,
37
37
  onClick: h,
38
38
  children: n("ui.simple")
39
39
  }
@@ -42,66 +42,69 @@ function Ae({ hasAdvanced: t }) {
42
42
  "button",
43
43
  {
44
44
  type: "button",
45
- className: `${G.tab} ${s ? G.active : ""}`,
46
- onClick: _,
45
+ className: `${G.tab} ${a ? G.active : ""}`,
46
+ onClick: p,
47
47
  children: n("ui.advanced")
48
48
  }
49
49
  )
50
50
  ] });
51
51
  }
52
+ function He({ children: t }) {
53
+ return /* @__PURE__ */ e("div", { className: "xw-blog-root", children: t });
54
+ }
52
55
  function be(t) {
53
56
  function n(o) {
54
- const a = o.match(/^---\s*\n([\s\S]*?)\n---\s*\n/);
55
- if (!a) return { frontmatter: {}, content: o };
56
- const r = {}, s = a[1];
57
- let h = "", _ = !1;
58
- const u = [];
59
- for (const N of s.split(`
57
+ const s = o.match(/^---\s*\n([\s\S]*?)\n---\s*\n/);
58
+ if (!s) return { frontmatter: {}, content: o };
59
+ const l = {}, a = s[1];
60
+ let h = "", p = !1;
61
+ const r = [];
62
+ for (const N of a.split(`
60
63
  `)) {
61
- const g = N.trim();
62
- if (g.startsWith("-")) {
63
- if (_) {
64
- const f = g.substring(1).trim();
65
- u.push(f);
64
+ const _ = N.trim();
65
+ if (_.startsWith("-")) {
66
+ if (p) {
67
+ const f = _.substring(1).trim();
68
+ r.push(f);
66
69
  }
67
70
  continue;
68
71
  }
69
- if (_ && !g.startsWith("-") && (r[h] = u.slice(), u.length = 0, _ = !1), g != null && g.includes(":")) {
70
- const [f, ...c] = g.split(":"), p = c.join(":").trim();
71
- if (h = f.trim(), !p) {
72
- _ = !0;
72
+ if (p && !_.startsWith("-") && (l[h] = r.slice(), r.length = 0, p = !1), _ != null && _.includes(":")) {
73
+ const [f, ...c] = _.split(":"), g = c.join(":").trim();
74
+ if (h = f.trim(), !g) {
75
+ p = !0;
73
76
  continue;
74
77
  }
75
- p === "true" ? r[h] = !0 : p === "false" ? r[h] = !1 : r[h] = p;
78
+ g === "true" ? l[h] = !0 : g === "false" ? l[h] = !1 : l[h] = g;
76
79
  }
77
80
  }
78
- _ && u.length > 0 && (r[h] = u);
81
+ p && r.length > 0 && (l[h] = r);
79
82
  const v = o.replace(
80
83
  /^---\s*\n[\s\S]*?\n---\s*\n/,
81
84
  ""
82
85
  );
83
- return { frontmatter: r, content: v };
86
+ return { frontmatter: l, content: v };
84
87
  }
85
88
  return {
86
89
  /**
87
90
  * Load MDX content for a given language and slug.
88
91
  * Automatically loads the advanced variant if `advanced` is true.
89
92
  */
90
- async loadMDXContent(o, a, r = !1) {
91
- const s = r ? `${a}-advanced.mdx` : `${a}.mdx`, h = `./docs/${o}/${s}`, _ = t[h];
92
- if (!_) throw new Error(`File not found: ${h}`);
93
- const u = await _(), { frontmatter: v, content: N } = n(u);
93
+ async loadMDXContent(o, s, l = !1) {
94
+ const a = l ? `${s}-advanced.mdx` : `${s}.mdx`, h = `./docs/${o}/${a}`, p = t[h];
95
+ if (!p) throw new Error(`File not found: ${h}`);
96
+ const r = await p(), { frontmatter: v, content: N } = n(r);
94
97
  return { content: N, frontmatter: v };
95
98
  },
96
99
  /**
97
100
  * Load English content for generating consistent heading IDs.
98
101
  * All heading anchors are derived from English content for stability across translations.
99
102
  */
100
- async loadEnglishContent(o, a = !1) {
101
- const s = `./docs/en/${a ? `${o}-advanced.mdx` : `${o}.mdx`}`, h = t[s];
102
- if (!h) throw new Error(`File not found: ${s}`);
103
- const _ = await h(), { content: u } = n(_);
104
- return u;
103
+ async loadEnglishContent(o, s = !1) {
104
+ const a = `./docs/en/${s ? `${o}-advanced.mdx` : `${o}.mdx`}`, h = t[a];
105
+ if (!h) throw new Error(`File not found: ${a}`);
106
+ const p = await h(), { content: r } = n(p);
107
+ return r;
105
108
  },
106
109
  /**
107
110
  * Build a tag index from all MDX files.
@@ -111,25 +114,25 @@ function be(t) {
111
114
  * @returns Promise resolving to tag index mapping tag names to document info
112
115
  */
113
116
  async buildTagIndex(o = "en") {
114
- const a = {}, r = `./docs/${o}/`, s = Object.keys(t).filter(
115
- (h) => h.startsWith(r)
117
+ const s = {}, l = `./docs/${o}/`, a = Object.keys(t).filter(
118
+ (h) => h.startsWith(l)
116
119
  );
117
- for (const h of s)
120
+ for (const h of a)
118
121
  try {
119
- const _ = t[h], u = await _(), { frontmatter: v, content: N } = n(u), g = h.split("/").pop() || "", f = g.replace(".mdx", "").replace("-advanced", ""), c = N.match(/^#\s+(.+)$/m), p = c ? c[1].trim() : f;
120
- if (g.includes("-advanced")) continue;
121
- const l = v.tags;
122
- if (l && Array.isArray(l))
123
- for (const b of l)
124
- a[b] || (a[b] = []), a[b].some((C) => C.slug === f) || a[b].push({ slug: f, title: p });
125
- } catch (_) {
126
- console.warn(`Failed to process ${h}:`, _);
122
+ const p = t[h], r = await p(), { frontmatter: v, content: N } = n(r), _ = h.split("/").pop() || "", f = _.replace(".mdx", "").replace("-advanced", ""), c = N.match(/^#\s+(.+)$/m), g = c ? c[1].trim() : f;
123
+ if (_.includes("-advanced")) continue;
124
+ const i = v.tags;
125
+ if (i && Array.isArray(i))
126
+ for (const b of i)
127
+ s[b] || (s[b] = []), s[b].some((k) => k.slug === f) || s[b].push({ slug: f, title: g });
128
+ } catch (p) {
129
+ console.warn(`Failed to process ${h}:`, p);
127
130
  }
128
- return a;
131
+ return s;
129
132
  }
130
133
  };
131
134
  }
132
- function Do(t) {
135
+ function Oo(t) {
133
136
  const n = be(t);
134
137
  return {
135
138
  mdxFiles: t,
@@ -137,32 +140,32 @@ function Do(t) {
137
140
  loadEnglishContent: n.loadEnglishContent
138
141
  };
139
142
  }
140
- const we = "app-theme", $e = () => typeof window > "u" ? "light" : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light", pe = (t) => t === "system" ? $e() : t, He = () => typeof window > "u" ? "system" : localStorage.getItem(we) || "system", Ne = () => {
141
- const [t, n] = P(He);
143
+ const we = "app-theme", $e = () => typeof window > "u" ? "light" : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light", pe = (t) => t === "system" ? $e() : t, qe = () => typeof window > "u" ? "system" : localStorage.getItem(we) || "system", Ne = () => {
144
+ const [t, n] = P(qe);
142
145
  return B(() => {
143
- const a = pe(t), r = document.documentElement;
144
- if (r.classList.remove("light", "dark"), r.classList.add(a), document.body.classList.remove("light", "dark"), document.body.classList.add(a), t === "system") {
145
- const s = window.matchMedia("(prefers-color-scheme: dark)"), h = () => {
146
- const _ = $e();
147
- r.classList.remove("light", "dark"), r.classList.add(_), document.body.classList.remove("light", "dark"), document.body.classList.add(_);
146
+ const s = pe(t), l = document.querySelector(".xw-blog-root");
147
+ if (l && (l.classList.remove("light", "dark"), l.classList.add(s)), t === "system") {
148
+ const a = window.matchMedia("(prefers-color-scheme: dark)"), h = () => {
149
+ const p = $e(), r = document.querySelector(".xw-blog-root");
150
+ r && (r.classList.remove("light", "dark"), r.classList.add(p));
148
151
  };
149
- return s.addEventListener("change", h), () => s.removeEventListener("change", h);
152
+ return a.addEventListener("change", h), () => a.removeEventListener("change", h);
150
153
  }
151
154
  }, [t]), {
152
155
  theme: t,
153
- setTheme: (a) => {
154
- localStorage.setItem(we, a), n(a);
156
+ setTheme: (s) => {
157
+ localStorage.setItem(we, s), n(s);
155
158
  },
156
159
  effectiveTheme: pe(t)
157
160
  };
158
- }, ze = (t) => "items" in t, te = (t, n) => t.map((o) => ze(o) ? {
161
+ }, We = (t) => "items" in t, te = (t, n) => t.map((o) => We(o) ? {
159
162
  title: ne.getFixedT(n)(o.title),
160
- items: o.items.map((a) => ({
161
- title: ne.getFixedT(n)(a.title),
162
- slug: a.slug,
163
- ...a.hasAdvanced && { hasAdvanced: a.hasAdvanced },
164
- ...a.showTableOfContents !== void 0 && {
165
- showTableOfContents: a.showTableOfContents
163
+ items: o.items.map((s) => ({
164
+ title: ne.getFixedT(n)(s.title),
165
+ slug: s.slug,
166
+ ...s.hasAdvanced && { hasAdvanced: s.hasAdvanced },
167
+ ...s.showTableOfContents !== void 0 && {
168
+ showTableOfContents: s.showTableOfContents
166
169
  }
167
170
  }))
168
171
  } : {
@@ -175,35 +178,35 @@ const we = "app-theme", $e = () => typeof window > "u" ? "light" : window.matchM
175
178
  }), X = (t) => t.toString().toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/\s+/g, "-").replace(/-+/g, "-").replace(/^-+|-+$/g, ""), Ie = Be(null);
176
179
  function Eo({ children: t, config: n, blog: o }) {
177
180
  Ne();
178
- const [a, r] = P({});
181
+ const [s, l] = P({});
179
182
  B(() => {
180
- const { buildTagIndex: h } = be(o.mdxFiles), _ = n.supportedLanguages.map(async (u) => {
183
+ const { buildTagIndex: h } = be(o.mdxFiles), p = n.supportedLanguages.map(async (r) => {
181
184
  try {
182
- const v = await h(u);
183
- return { language: u, index: v };
185
+ const v = await h(r);
186
+ return { language: r, index: v };
184
187
  } catch (v) {
185
- return console.error(`Failed to build tag index for ${u}:`, v), { language: u, index: {} };
188
+ return console.error(`Failed to build tag index for ${r}:`, v), { language: r, index: {} };
186
189
  }
187
190
  });
188
- Promise.all(_).then((u) => {
191
+ Promise.all(p).then((r) => {
189
192
  const v = {};
190
- for (const N of u)
193
+ for (const N of r)
191
194
  v[N.language] = N.index;
192
- r(v);
193
- }).catch((u) => {
194
- console.error("Failed to build tag indices:", u);
195
+ l(v);
196
+ }).catch((r) => {
197
+ console.error("Failed to build tag indices:", r);
195
198
  });
196
199
  }, [o.mdxFiles, n.supportedLanguages]);
197
- const s = { ...n, tagIndex: a };
200
+ const a = { ...n, tagIndex: s };
198
201
  return /* @__PURE__ */ e(
199
202
  Ie.Provider,
200
203
  {
201
204
  value: {
202
- config: s,
205
+ config: a,
203
206
  loadContent: o.loadContent,
204
207
  loadEnglishContent: o.loadEnglishContent
205
208
  },
206
- children: t
209
+ children: /* @__PURE__ */ e(He, { children: t })
207
210
  }
208
211
  );
209
212
  }
@@ -213,68 +216,68 @@ function H() {
213
216
  throw new Error("useBlogConfig must be used within a BlogProvider");
214
217
  return t;
215
218
  }
216
- const We = "_tableOfContents_vn5e4_1", Fe = "_header_vn5e4_20", Ke = "_title_vn5e4_24", Ue = "_nav_vn5e4_33", qe = "_list_vn5e4_39", Ge = "_link_vn5e4_46", Qe = "_active_vn5e4_70", Xe = "_level1_vn5e4_86", Ye = "_level2_vn5e4_92", Ve = "_level3_vn5e4_97", Je = "_level4_vn5e4_103", Ze = "_level5_vn5e4_109", et = "_level6_vn5e4_115", A = {
217
- tableOfContents: We,
218
- header: Fe,
219
- title: Ke,
219
+ const Fe = "_tableOfContents_11q9u_1", Ke = "_header_11q9u_20", ze = "_title_11q9u_24", Ue = "_nav_11q9u_33", Ge = "_list_11q9u_39", Qe = "_link_11q9u_46", Xe = "_active_11q9u_70", Ye = "_level1_11q9u_86", Ve = "_level2_11q9u_92", Je = "_level3_11q9u_97", Ze = "_level4_11q9u_103", et = "_level5_11q9u_109", tt = "_level6_11q9u_115", A = {
220
+ tableOfContents: Fe,
221
+ header: Ke,
222
+ title: ze,
220
223
  nav: Ue,
221
- list: qe,
222
- link: Ge,
223
- active: Qe,
224
- level1: Xe,
225
- level2: Ye,
226
- level3: Ve,
227
- level4: Je,
228
- level5: Ze,
229
- level6: et
224
+ list: Ge,
225
+ link: Qe,
226
+ active: Xe,
227
+ level1: Ye,
228
+ level2: Ve,
229
+ level3: Je,
230
+ level4: Ze,
231
+ level5: et,
232
+ level6: tt
230
233
  };
231
- function tt({
234
+ function nt({
232
235
  content: t,
233
236
  englishContent: n
234
237
  }) {
235
- const { t: o } = R(), a = Y(), r = V(), [s, h] = P([]), [_, u] = P(""), v = W(null);
238
+ const { t: o } = R(), s = Y(), l = V(), [a, h] = P([]), [p, r] = P(""), v = W(null);
236
239
  B(() => {
237
- u(""), (() => {
240
+ r(""), (() => {
238
241
  const f = /^(#{1,6})\s+(.+)$/gm, c = [];
239
- let p = f.exec(t);
240
- const l = [];
241
- for (; p !== null; ) {
242
- const m = p[1].length, x = p[2].trim();
243
- l.push({ level: m, text: x }), p = f.exec(t);
242
+ let g = f.exec(t);
243
+ const i = [];
244
+ for (; g !== null; ) {
245
+ const m = g[1].length, C = g[2].trim();
246
+ i.push({ level: m, text: C }), g = f.exec(t);
244
247
  }
245
248
  const b = /^(#{1,6})\s+(.+)$/gm;
246
- let C = b.exec(n), T = 0;
247
- for (; C !== null && T < l.length; ) {
248
- const m = C[2].trim(), x = X(m);
249
+ let k = b.exec(n), y = 0;
250
+ for (; k !== null && y < i.length; ) {
251
+ const m = k[2].trim(), C = X(m);
249
252
  c.push({
250
- id: x,
251
- text: l[T].text,
253
+ id: C,
254
+ text: i[y].text,
252
255
  // Use localized text for display
253
- level: l[T].level
254
- }), T++, C = b.exec(n);
256
+ level: i[y].level
257
+ }), y++, k = b.exec(n);
255
258
  }
256
259
  h(c);
257
260
  })();
258
261
  }, [t, n]), B(() => {
259
- if (s.length === 0) return;
260
- const g = setTimeout(() => {
261
- const f = s.filter(
262
+ if (a.length === 0) return;
263
+ const _ = setTimeout(() => {
264
+ const f = a.filter(
262
265
  (c) => !document.getElementById(c.id)
263
266
  );
264
267
  f.length > 0 && console.warn("Some heading elements not found:", f);
265
268
  }, 100);
266
- return () => clearTimeout(g);
267
- }, [s]), B(() => {
268
- if (s.length === 0) return;
269
+ return () => clearTimeout(_);
270
+ }, [a]), B(() => {
271
+ if (a.length === 0) return;
269
272
  v.current && v.current.disconnect();
270
- const g = setTimeout(() => {
271
- const f = s.map((c) => document.getElementById(c.id)).filter(Boolean);
273
+ const _ = setTimeout(() => {
274
+ const f = a.map((c) => document.getElementById(c.id)).filter(Boolean);
272
275
  f.length !== 0 && (v.current = new IntersectionObserver(
273
276
  (c) => {
274
- const p = c.filter((l) => l.isIntersecting);
275
- if (p.length > 0) {
276
- const l = p.reduce((b, C) => b.boundingClientRect.top < C.boundingClientRect.top ? b : C);
277
- u(l.target.id);
277
+ const g = c.filter((i) => i.isIntersecting);
278
+ if (g.length > 0) {
279
+ const i = g.reduce((b, k) => b.boundingClientRect.top < k.boundingClientRect.top ? b : k);
280
+ r(i.target.id);
278
281
  }
279
282
  },
280
283
  {
@@ -286,17 +289,17 @@ function tt({
286
289
  }));
287
290
  }, 150);
288
291
  return () => {
289
- clearTimeout(g), v.current && v.current.disconnect();
292
+ clearTimeout(_), v.current && v.current.disconnect();
290
293
  };
291
- }, [s]), B(() => () => {
294
+ }, [a]), B(() => () => {
292
295
  v.current && v.current.disconnect();
293
296
  }, []);
294
- const N = (g) => {
295
- const f = document.getElementById(g);
297
+ const N = (_) => {
298
+ const f = document.getElementById(_);
296
299
  if (f) {
297
- const c = new URLSearchParams(a.search);
298
- c.set("a", g), r(
299
- `${a.pathname}?${c.toString()}${a.hash}`,
300
+ const c = new URLSearchParams(s.search);
301
+ c.set("a", _), l(
302
+ `${s.pathname}?${c.toString()}${s.hash}`,
300
303
  {
301
304
  replace: !0
302
305
  }
@@ -308,47 +311,47 @@ function tt({
308
311
  });
309
312
  }
310
313
  };
311
- return s.length === 0 ? null : /* @__PURE__ */ i("aside", { className: A.tableOfContents, children: [
314
+ return a.length === 0 ? null : /* @__PURE__ */ d("aside", { className: A.tableOfContents, children: [
312
315
  /* @__PURE__ */ e("div", { className: A.header, children: /* @__PURE__ */ e("span", { className: A.title, children: o("ui.onThisPage", "On this page") }) }),
313
- /* @__PURE__ */ e("nav", { className: A.nav, children: /* @__PURE__ */ e("ul", { className: A.list, children: s.map((g) => /* @__PURE__ */ e("li", { className: A.item, children: /* @__PURE__ */ e(
316
+ /* @__PURE__ */ e("nav", { className: A.nav, children: /* @__PURE__ */ e("ul", { className: A.list, children: a.map((_) => /* @__PURE__ */ e("li", { className: A.item, children: /* @__PURE__ */ e(
314
317
  "button",
315
318
  {
316
- className: `${A.link} ${A[`level${g.level}`]} ${_ === g.id ? A.active : ""}`,
317
- onClick: () => N(g.id),
319
+ className: `${A.link} ${A[`level${_.level}`]} ${p === _.id ? A.active : ""}`,
320
+ onClick: () => N(_.id),
318
321
  type: "button",
319
- children: g.text
322
+ children: _.text
320
323
  }
321
- ) }, g.id)) }) })
324
+ ) }, _.id)) }) })
322
325
  ] });
323
326
  }
324
- const nt = "_overlay_s7p1r_1", ot = "_modal_s7p1r_26", at = "_header_s7p1r_50", st = "_title_s7p1r_58", ct = "_closeButton_s7p1r_65", rt = "_results_s7p1r_86", lt = "_resultsList_s7p1r_94", it = "_resultItem_s7p1r_100", dt = "_resultTitle_s7p1r_119", ut = "_resultSlug_s7p1r_124", ht = "_noResults_s7p1r_130", E = {
325
- overlay: nt,
326
- modal: ot,
327
- header: at,
328
- title: st,
329
- closeButton: ct,
330
- results: rt,
331
- resultsList: lt,
332
- resultItem: it,
333
- resultTitle: dt,
334
- resultSlug: ut,
335
- noResults: ht
327
+ const ot = "_overlay_1e1d4_1", at = "_modal_1e1d4_26", st = "_header_1e1d4_50", ct = "_title_1e1d4_58", rt = "_closeButton_1e1d4_65", lt = "_results_1e1d4_86", it = "_resultsList_1e1d4_94", dt = "_resultItem_1e1d4_100", ut = "_resultTitle_1e1d4_119", ht = "_resultSlug_1e1d4_124", mt = "_noResults_1e1d4_130", O = {
328
+ overlay: ot,
329
+ modal: at,
330
+ header: st,
331
+ title: ct,
332
+ closeButton: rt,
333
+ results: lt,
334
+ resultsList: it,
335
+ resultItem: dt,
336
+ resultTitle: ut,
337
+ resultSlug: ht,
338
+ noResults: mt
336
339
  };
337
- function mt({
340
+ function _t({
338
341
  tag: t,
339
342
  results: n,
340
343
  language: o,
341
- onClose: a
344
+ onClose: s
342
345
  }) {
343
- const { t: r } = R(), { config: s } = H(), h = V(), _ = (u) => {
344
- const v = s.basePath || "";
345
- h(`${v}/${o}/${u}`), a();
346
+ const { t: l } = R(), { config: a } = H(), h = V(), p = (r) => {
347
+ const v = a.basePath || "";
348
+ h(`${v}/${o}/${r}`), s();
346
349
  };
347
350
  return ve(
348
- /* @__PURE__ */ e("div", { className: E.overlay, onClick: a, children: /* @__PURE__ */ i("div", { className: E.modal, onClick: (u) => u.stopPropagation(), children: [
349
- /* @__PURE__ */ i("div", { className: E.header, children: [
350
- /* @__PURE__ */ i("h2", { className: E.title, children: [
351
- r("ui.tagResults"),
351
+ /* @__PURE__ */ e("div", { className: O.overlay, onClick: s, children: /* @__PURE__ */ d("div", { className: O.modal, onClick: (r) => r.stopPropagation(), children: [
352
+ /* @__PURE__ */ d("div", { className: O.header, children: [
353
+ /* @__PURE__ */ d("h2", { className: O.title, children: [
354
+ l("ui.tagResults"),
352
355
  ": ",
353
356
  t
354
357
  ] }),
@@ -356,110 +359,110 @@ function mt({
356
359
  "button",
357
360
  {
358
361
  type: "button",
359
- className: E.closeButton,
360
- onClick: a,
362
+ className: O.closeButton,
363
+ onClick: s,
361
364
  "aria-label": "Close",
362
365
  children: /* @__PURE__ */ e(se, {})
363
366
  }
364
367
  )
365
368
  ] }),
366
- /* @__PURE__ */ e("div", { className: E.results, children: n.length === 0 ? /* @__PURE__ */ e("div", { className: E.noResults, children: r("ui.noTagResults") }) : /* @__PURE__ */ e("ul", { className: E.resultsList, children: n.map((u) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ i(
369
+ /* @__PURE__ */ e("div", { className: O.results, children: n.length === 0 ? /* @__PURE__ */ e("div", { className: O.noResults, children: l("ui.noTagResults") }) : /* @__PURE__ */ e("ul", { className: O.resultsList, children: n.map((r) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ d(
367
370
  "button",
368
371
  {
369
372
  type: "button",
370
- className: E.resultItem,
371
- onClick: () => _(u.slug),
373
+ className: O.resultItem,
374
+ onClick: () => p(r.slug),
372
375
  children: [
373
- /* @__PURE__ */ e("div", { className: E.resultTitle, children: u.title }),
374
- /* @__PURE__ */ i("div", { className: E.resultSlug, children: [
376
+ /* @__PURE__ */ e("div", { className: O.resultTitle, children: r.title }),
377
+ /* @__PURE__ */ d("div", { className: O.resultSlug, children: [
375
378
  "/",
376
- u.slug
379
+ r.slug
377
380
  ] })
378
381
  ]
379
382
  }
380
- ) }, u.slug)) }) })
383
+ ) }, r.slug)) }) })
381
384
  ] }) }),
382
385
  document.body
383
386
  );
384
387
  }
385
- const gt = "_tags_8uc6s_1", _t = "_compact_8uc6s_9", pt = "_tagLabel_8uc6s_15", ft = "_tagIcon_8uc6s_25", vt = "_tagList_8uc6s_30", bt = "_tag_8uc6s_1", K = {
388
+ const gt = "_tags_11t8a_1", pt = "_compact_11t8a_9", ft = "_tagLabel_11t8a_15", vt = "_tagIcon_11t8a_25", bt = "_tagList_11t8a_30", wt = "_tag_11t8a_1", K = {
386
389
  tags: gt,
387
- compact: _t,
388
- tagLabel: pt,
389
- tagIcon: ft,
390
- tagList: vt,
391
- tag: bt
390
+ compact: pt,
391
+ tagLabel: ft,
392
+ tagIcon: vt,
393
+ tagList: bt,
394
+ tag: wt
392
395
  };
393
- function wt({ tags: t, variant: n = "default", onTagClick: o }) {
394
- const { t: a } = R();
396
+ function $t({ tags: t, variant: n = "default", onTagClick: o }) {
397
+ const { t: s } = R();
395
398
  if (!t || t.length === 0) return null;
396
- const r = (s) => {
397
- o && o(s);
399
+ const l = (a) => {
400
+ o && o(a);
398
401
  };
399
- return /* @__PURE__ */ i(
402
+ return /* @__PURE__ */ d(
400
403
  "div",
401
404
  {
402
405
  className: `${K.tags} ${n === "compact" ? K.compact : ""}`,
403
406
  children: [
404
- n === "default" && /* @__PURE__ */ i("div", { className: K.tagLabel, children: [
405
- /* @__PURE__ */ e(xe, { className: K.tagIcon, weight: "duotone" }),
406
- /* @__PURE__ */ i("span", { children: [
407
- a("ui.tags"),
407
+ n === "default" && /* @__PURE__ */ d("div", { className: K.tagLabel, children: [
408
+ /* @__PURE__ */ e(Ce, { className: K.tagIcon, weight: "duotone" }),
409
+ /* @__PURE__ */ d("span", { children: [
410
+ s("ui.tags"),
408
411
  ":"
409
412
  ] })
410
413
  ] }),
411
- /* @__PURE__ */ e("div", { className: K.tagList, children: t.map((s) => /* @__PURE__ */ e(
414
+ /* @__PURE__ */ e("div", { className: K.tagList, children: t.map((a) => /* @__PURE__ */ e(
412
415
  "button",
413
416
  {
414
417
  type: "button",
415
418
  className: K.tag,
416
- onClick: () => r(s),
417
- "aria-label": `${a("ui.filterByTag")}: ${s}`,
418
- children: s
419
+ onClick: () => l(a),
420
+ "aria-label": `${s("ui.filterByTag")}: ${a}`,
421
+ children: a
419
422
  },
420
- s
423
+ a
421
424
  )) })
422
425
  ]
423
426
  }
424
427
  );
425
428
  }
426
- const $t = "_contentPage_godc9_1", Nt = "_metadata_godc9_20", It = "_author_godc9_30", kt = "_date_godc9_31", Ct = "_loadingContainer_godc9_48", xt = "_errorContainer_godc9_49", yt = "_skeletonTitle_godc9_71", Tt = "_skeletonParagraph_godc9_80", Lt = "_skeletonParagraphShort_godc9_93", Pt = "_errorText_godc9_107", St = "_mdxContent_godc9_112", Bt = "_withMetadata_godc9_125", Mt = "_codeBlock_godc9_300", Dt = "_codeLanguage_godc9_304", S = {
427
- contentPage: $t,
428
- metadata: Nt,
429
- author: It,
429
+ const Nt = "_contentPage_1nxj5_1", It = "_metadata_1nxj5_20", xt = "_author_1nxj5_30", kt = "_date_1nxj5_31", Ct = "_loadingContainer_1nxj5_48", Tt = "_errorContainer_1nxj5_49", yt = "_skeletonTitle_1nxj5_71", Lt = "_skeletonParagraph_1nxj5_80", Pt = "_skeletonParagraphShort_1nxj5_93", St = "_errorText_1nxj5_107", Bt = "_mdxContent_1nxj5_112", Mt = "_withMetadata_1nxj5_125", Dt = "_codeBlock_1nxj5_300", Ot = "_codeLanguage_1nxj5_304", S = {
430
+ contentPage: Nt,
431
+ metadata: It,
432
+ author: xt,
430
433
  date: kt,
431
434
  loadingContainer: Ct,
432
- errorContainer: xt,
435
+ errorContainer: Tt,
433
436
  skeletonTitle: yt,
434
- skeletonParagraph: Tt,
435
- skeletonParagraphShort: Lt,
436
- errorText: Pt,
437
- mdxContent: St,
438
- withMetadata: Bt,
439
- codeBlock: Mt,
440
- codeLanguage: Dt
437
+ skeletonParagraph: Lt,
438
+ skeletonParagraphShort: Pt,
439
+ errorText: St,
440
+ mdxContent: Bt,
441
+ withMetadata: Mt,
442
+ codeBlock: Dt,
443
+ codeLanguage: Ot
441
444
  };
442
445
  function Et({ language: t }) {
443
446
  var ie;
444
- const { slug: n } = ae(), o = Y(), { t: a } = R(), { config: r, loadContent: s, loadEnglishContent: h } = H(), [_, u] = P(""), [v, N] = P(""), [g, f] = P({}), [c, p] = P(!0), [l, b] = P(null), [C, T] = P(!0), [m, x] = P(null), M = W(0), q = W([]), J = ((d) => {
447
+ const { slug: n } = ae(), o = Y(), { t: s } = R(), { config: l, loadContent: a, loadEnglishContent: h } = H(), [p, r] = P(""), [v, N] = P(""), [_, f] = P({}), [c, g] = P(!0), [i, b] = P(null), [k, y] = P(!0), [m, C] = P(null), M = W(0), U = W([]), J = ((u) => {
445
448
  const w = {
446
449
  advanced: !1,
447
450
  anchor: ""
448
451
  };
449
- if (!d) return w;
450
- const $ = (d.startsWith("?") ? d.substring(1) : d).split("&");
451
- for (const y of $)
452
- y === "advanced" ? w.advanced = !0 : y.startsWith("a=") && (w.anchor = y.substring(2));
452
+ if (!u) return w;
453
+ const $ = (u.startsWith("?") ? u.substring(1) : u).split("&");
454
+ for (const T of $)
455
+ T === "advanced" ? w.advanced = !0 : T.startsWith("a=") && (w.anchor = T.substring(2));
453
456
  return w;
454
457
  })(o.search), j = J.advanced;
455
458
  if (B(() => {
456
459
  (async () => {
457
460
  if (!n) return;
458
- p(!0), b(null), M.current = 0;
461
+ g(!0), b(null), M.current = 0;
459
462
  let w = !0;
460
- for (const I of r.navigationData)
463
+ for (const I of l.navigationData)
461
464
  if ("items" in I) {
462
- const $ = I.items.find((y) => y.slug === n);
465
+ const $ = I.items.find((T) => T.slug === n);
463
466
  if ($) {
464
467
  w = $.showTableOfContents !== !1;
465
468
  break;
@@ -468,14 +471,14 @@ function Et({ language: t }) {
468
471
  w = I.showTableOfContents !== !1;
469
472
  break;
470
473
  }
471
- T(w);
474
+ y(w);
472
475
  try {
473
476
  let I;
474
477
  try {
475
- I = await s(t, n, j);
478
+ I = await a(t, n, j);
476
479
  } catch {
477
480
  if (j)
478
- I = await s(t, n, !1);
481
+ I = await a(t, n, !1);
479
482
  else
480
483
  throw new Error("Content not found");
481
484
  }
@@ -485,79 +488,79 @@ function Et({ language: t }) {
485
488
  } catch {
486
489
  j && ($ = await h(n, !1));
487
490
  }
488
- const y = /^(#{1,6})\s+(.+)$/gm, O = [];
489
- let F = y.exec($);
491
+ const T = /^(#{1,6})\s+(.+)$/gm, E = [];
492
+ let F = T.exec($);
490
493
  for (; F !== null; ) {
491
494
  const Z = F[2].trim();
492
- O.push(Z), F = y.exec($);
495
+ E.push(Z), F = T.exec($);
493
496
  }
494
- q.current = O, N($), u(I.content), f(I.frontmatter);
497
+ U.current = E, N($), r(I.content), f(I.frontmatter);
495
498
  } catch (I) {
496
499
  b(I instanceof Error ? I.message : "Failed to load content");
497
500
  } finally {
498
- p(!1);
501
+ g(!1);
499
502
  }
500
503
  })();
501
504
  }, [
502
505
  n,
503
506
  t,
504
507
  j,
505
- r.navigationData,
506
- s,
508
+ l.navigationData,
509
+ a,
507
510
  h
508
511
  ]), B(() => {
509
512
  if (!c && J.anchor) {
510
- const d = setTimeout(() => {
513
+ const u = setTimeout(() => {
511
514
  const w = document.getElementById(J.anchor);
512
515
  if (w) {
513
- const y = w.getBoundingClientRect().top + window.pageYOffset - 80;
516
+ const T = w.getBoundingClientRect().top + window.pageYOffset - 80;
514
517
  window.scrollTo({
515
- top: y,
518
+ top: T,
516
519
  behavior: "smooth"
517
520
  });
518
521
  }
519
522
  }, 150);
520
- return () => clearTimeout(d);
523
+ return () => clearTimeout(u);
521
524
  }
522
525
  }, [c, J.anchor]), c)
523
- return /* @__PURE__ */ e("div", { className: S.contentPage, children: /* @__PURE__ */ i("div", { className: S.loadingContainer, children: [
526
+ return /* @__PURE__ */ e("div", { className: S.contentPage, children: /* @__PURE__ */ d("div", { className: S.loadingContainer, children: [
524
527
  /* @__PURE__ */ e("div", { className: S.skeletonTitle }),
525
528
  /* @__PURE__ */ e("div", { className: S.skeletonParagraph }),
526
529
  /* @__PURE__ */ e("div", { className: S.skeletonParagraph }),
527
530
  /* @__PURE__ */ e("div", { className: S.skeletonParagraphShort })
528
531
  ] }) });
529
- if (l)
530
- return /* @__PURE__ */ e("div", { className: S.contentPage, children: /* @__PURE__ */ e("div", { className: S.errorContainer, children: /* @__PURE__ */ i("div", { className: S.errorText, children: [
532
+ if (i)
533
+ return /* @__PURE__ */ e("div", { className: S.contentPage, children: /* @__PURE__ */ e("div", { className: S.errorContainer, children: /* @__PURE__ */ d("div", { className: S.errorText, children: [
531
534
  "Error: ",
532
- l
535
+ i
533
536
  ] }) }) });
534
537
  M.current = 0;
535
538
  let le = !1;
536
- const ke = () => /* @__PURE__ */ i("div", { className: S.metadata, children: [
537
- g.author && /* @__PURE__ */ i("span", { className: S.author, children: [
538
- /* @__PURE__ */ e(ye, { size: 16, weight: "regular" }),
539
- g.author
540
- ] }),
541
- g.date && /* @__PURE__ */ i("span", { className: S.date, children: [
539
+ const xe = () => /* @__PURE__ */ d("div", { className: S.metadata, children: [
540
+ _.author && /* @__PURE__ */ d("span", { className: S.author, children: [
542
541
  /* @__PURE__ */ e(Te, { size: 16, weight: "regular" }),
543
- a("ui.lastEdited"),
542
+ _.author
543
+ ] }),
544
+ _.date && /* @__PURE__ */ d("span", { className: S.date, children: [
545
+ /* @__PURE__ */ e(ye, { size: 16, weight: "regular" }),
546
+ s("ui.lastEdited"),
544
547
  ": ",
545
- g.date
548
+ _.date
546
549
  ] })
547
550
  ] });
548
- return /* @__PURE__ */ i(U, { children: [
549
- /* @__PURE__ */ i("div", { className: S.contentPage, children: [
550
- /* @__PURE__ */ e(Ae, { hasAdvanced: g.hasAdvanced || !1 }),
551
+ return /* @__PURE__ */ d(z, { children: [
552
+ /* @__PURE__ */ d("div", { className: S.contentPage, children: [
553
+ /* @__PURE__ */ e(Ae, { hasAdvanced: _.hasAdvanced || !1 }),
551
554
  /* @__PURE__ */ e("div", { className: S.mdxContent, children: /* @__PURE__ */ e(
552
555
  De,
553
556
  {
554
- remarkPlugins: [Ee],
557
+ remarkPlugins: [Oe],
555
558
  components: {
556
- h1: ({ children: d }) => {
557
- const w = M.current++, I = q.current[w] || "", $ = X(I), y = j ? `?advanced&a=${$}` : `?a=${$}`, O = `#/${t}/${n}${y}`, F = !le;
559
+ h1: ({ children: u }) => {
560
+ const w = M.current++, I = U.current[w] || "", $ = X(I), T = j ? `?advanced&a=${$}` : `?a=${$}`, E = `#/${t}/${n}${T}`, F = !le;
558
561
  le = !0;
559
- const Z = g.date || g.author;
560
- return /* @__PURE__ */ i(U, { children: [
562
+ const Z = _.date || _.author;
563
+ return /* @__PURE__ */ d(z, { children: [
561
564
  /* @__PURE__ */ e(
562
565
  "h1",
563
566
  {
@@ -566,183 +569,183 @@ function Et({ language: t }) {
566
569
  children: /* @__PURE__ */ e(
567
570
  "a",
568
571
  {
569
- href: O,
572
+ href: E,
570
573
  style: { color: "inherit", textDecoration: "none" },
571
- children: d
574
+ children: u
572
575
  }
573
576
  )
574
577
  }
575
578
  ),
576
- F && Z && /* @__PURE__ */ e(ke, {})
579
+ F && Z && /* @__PURE__ */ e(xe, {})
577
580
  ] });
578
581
  },
579
- h2: ({ children: d }) => {
580
- const w = M.current++, I = q.current[w] || "", $ = X(I), y = j ? `?advanced&a=${$}` : `?a=${$}`, O = `#/${t}/${n}${y}`;
582
+ h2: ({ children: u }) => {
583
+ const w = M.current++, I = U.current[w] || "", $ = X(I), T = j ? `?advanced&a=${$}` : `?a=${$}`, E = `#/${t}/${n}${T}`;
581
584
  return /* @__PURE__ */ e("h2", { id: $, children: /* @__PURE__ */ e(
582
585
  "a",
583
586
  {
584
- href: O,
587
+ href: E,
585
588
  style: { color: "inherit", textDecoration: "none" },
586
- children: d
589
+ children: u
587
590
  }
588
591
  ) });
589
592
  },
590
- h3: ({ children: d }) => {
591
- const w = M.current++, I = q.current[w] || "", $ = X(I), y = j ? `?advanced&a=${$}` : `?a=${$}`, O = `#/${t}/${n}${y}`;
593
+ h3: ({ children: u }) => {
594
+ const w = M.current++, I = U.current[w] || "", $ = X(I), T = j ? `?advanced&a=${$}` : `?a=${$}`, E = `#/${t}/${n}${T}`;
592
595
  return /* @__PURE__ */ e("h3", { id: $, children: /* @__PURE__ */ e(
593
596
  "a",
594
597
  {
595
- href: O,
598
+ href: E,
596
599
  style: { color: "inherit", textDecoration: "none" },
597
- children: d
600
+ children: u
598
601
  }
599
602
  ) });
600
603
  },
601
- h4: ({ children: d }) => {
602
- const w = M.current++, I = q.current[w] || "", $ = X(I), y = j ? `?advanced&a=${$}` : `?a=${$}`, O = `#/${t}/${n}${y}`;
604
+ h4: ({ children: u }) => {
605
+ const w = M.current++, I = U.current[w] || "", $ = X(I), T = j ? `?advanced&a=${$}` : `?a=${$}`, E = `#/${t}/${n}${T}`;
603
606
  return /* @__PURE__ */ e("h4", { id: $, children: /* @__PURE__ */ e(
604
607
  "a",
605
608
  {
606
- href: O,
609
+ href: E,
607
610
  style: { color: "inherit", textDecoration: "none" },
608
- children: d
611
+ children: u
609
612
  }
610
613
  ) });
611
614
  },
612
- h5: ({ children: d }) => {
615
+ h5: ({ children: u }) => {
613
616
  const w = `h5-${M.current++}`;
614
- return /* @__PURE__ */ e("h5", { id: w, children: d });
617
+ return /* @__PURE__ */ e("h5", { id: w, children: u });
615
618
  },
616
- h6: ({ children: d }) => {
619
+ h6: ({ children: u }) => {
617
620
  const w = `h6-${M.current++}`;
618
- return /* @__PURE__ */ e("h6", { id: w, children: d });
621
+ return /* @__PURE__ */ e("h6", { id: w, children: u });
619
622
  },
620
- p: ({ children: d }) => /* @__PURE__ */ e("p", { children: d }),
621
- ul: ({ children: d }) => /* @__PURE__ */ e("ul", { children: d }),
622
- ol: ({ children: d }) => /* @__PURE__ */ e("ol", { children: d }),
623
- li: ({ children: d }) => /* @__PURE__ */ e("li", { children: d }),
624
- code: ({ className: d, children: w, ...I }) => {
625
- if (!d)
623
+ p: ({ children: u }) => /* @__PURE__ */ e("p", { children: u }),
624
+ ul: ({ children: u }) => /* @__PURE__ */ e("ul", { children: u }),
625
+ ol: ({ children: u }) => /* @__PURE__ */ e("ol", { children: u }),
626
+ li: ({ children: u }) => /* @__PURE__ */ e("li", { children: u }),
627
+ code: ({ className: u, children: w, ...I }) => {
628
+ if (!u)
626
629
  return /* @__PURE__ */ e("code", { ...I, children: w });
627
- const y = (d == null ? void 0 : d.replace("language-", "")) || "";
628
- return /* @__PURE__ */ i("div", { className: S.codeBlock, children: [
629
- y && /* @__PURE__ */ e("div", { className: S.codeLanguage, children: y }),
630
- /* @__PURE__ */ e("pre", { children: /* @__PURE__ */ e("code", { className: d, ...I, children: w }) })
630
+ const T = (u == null ? void 0 : u.replace("language-", "")) || "";
631
+ return /* @__PURE__ */ d("div", { className: S.codeBlock, children: [
632
+ T && /* @__PURE__ */ e("div", { className: S.codeLanguage, children: T }),
633
+ /* @__PURE__ */ e("pre", { children: /* @__PURE__ */ e("code", { className: u, ...I, children: w }) })
631
634
  ] });
632
635
  },
633
- pre: ({ children: d }) => /* @__PURE__ */ e(U, { children: d }),
636
+ pre: ({ children: u }) => /* @__PURE__ */ e(z, { children: u }),
634
637
  // Let code component handle pre styling
635
- blockquote: ({ children: d }) => /* @__PURE__ */ e("blockquote", { children: d }),
636
- a: ({ href: d, children: w, ...I }) => {
637
- if (d != null && d.startsWith("./")) {
638
- const $ = d.slice(2), y = `#/${t}/${$}`;
639
- return /* @__PURE__ */ e("a", { href: y, ...I, children: w });
638
+ blockquote: ({ children: u }) => /* @__PURE__ */ e("blockquote", { children: u }),
639
+ a: ({ href: u, children: w, ...I }) => {
640
+ if (u != null && u.startsWith("./")) {
641
+ const $ = u.slice(2), T = `#/${t}/${$}`;
642
+ return /* @__PURE__ */ e("a", { href: T, ...I, children: w });
640
643
  }
641
- return d != null && d.startsWith("http://") || d != null && d.startsWith("https://") ? /* @__PURE__ */ e(
644
+ return u != null && u.startsWith("http://") || u != null && u.startsWith("https://") ? /* @__PURE__ */ e(
642
645
  "a",
643
646
  {
644
- href: d,
647
+ href: u,
645
648
  target: "_blank",
646
649
  rel: "noopener noreferrer",
647
650
  ...I,
648
651
  children: w
649
652
  }
650
- ) : /* @__PURE__ */ e("a", { href: d, ...I, children: w });
653
+ ) : /* @__PURE__ */ e("a", { href: u, ...I, children: w });
651
654
  },
652
- strong: ({ children: d }) => /* @__PURE__ */ e("strong", { children: d }),
653
- em: ({ children: d }) => /* @__PURE__ */ e("em", { children: d })
655
+ strong: ({ children: u }) => /* @__PURE__ */ e("strong", { children: u }),
656
+ em: ({ children: u }) => /* @__PURE__ */ e("em", { children: u })
654
657
  },
655
- children: _
658
+ children: p
656
659
  }
657
660
  ) }),
658
- g.tags && g.tags.length > 0 && /* @__PURE__ */ e(
659
- wt,
661
+ _.tags && _.tags.length > 0 && /* @__PURE__ */ e(
662
+ $t,
660
663
  {
661
- tags: g.tags,
664
+ tags: _.tags,
662
665
  variant: "compact",
663
- onTagClick: (d) => x(d)
666
+ onTagClick: (u) => C(u)
664
667
  }
665
668
  )
666
669
  ] }),
667
- C && /* @__PURE__ */ e(tt, { content: _, englishContent: v }),
668
- m && ((ie = r.tagIndex) == null ? void 0 : ie[t]) && /* @__PURE__ */ e(
669
- mt,
670
+ k && /* @__PURE__ */ e(nt, { content: p, englishContent: v }),
671
+ m && ((ie = l.tagIndex) == null ? void 0 : ie[t]) && /* @__PURE__ */ e(
672
+ _t,
670
673
  {
671
674
  tag: m,
672
- results: r.tagIndex[t][m] || [],
675
+ results: l.tagIndex[t][m] || [],
673
676
  language: t,
674
- onClose: () => x(null)
677
+ onClose: () => C(null)
675
678
  }
676
679
  )
677
680
  ] });
678
681
  }
679
- const Ot = "_searchButton_royne_1", Rt = "_searchIcon_royne_17", jt = "_searchHint_royne_23", At = "_kbd_royne_27", Ht = "_searchOverlay_royne_42", zt = "_searchModal_royne_67", Wt = "_searchHeader_royne_91", Ft = "_searchInput_royne_105", Kt = "_closeButton_royne_123", Ut = "_searchResults_royne_144", qt = "_resultsList_royne_152", Gt = "_resultItem_royne_158", Qt = "_selected_royne_173", Xt = "_resultTitle_royne_176", Yt = "_resultSlug_royne_180", Vt = "_noResults_royne_186", Jt = "_searchHints_royne_193", Zt = "_hint_royne_210", L = {
680
- searchButton: Ot,
681
- searchIcon: Rt,
682
- searchHint: jt,
683
- kbd: At,
684
- searchOverlay: Ht,
685
- searchModal: zt,
686
- searchHeader: Wt,
687
- searchInput: Ft,
688
- closeButton: Kt,
682
+ const Rt = "_searchButton_1k9sl_1", jt = "_searchIcon_1k9sl_17", At = "_searchHint_1k9sl_23", Ht = "_kbd_1k9sl_27", qt = "_searchOverlay_1k9sl_42", Wt = "_searchModal_1k9sl_67", Ft = "_searchHeader_1k9sl_91", Kt = "_searchInput_1k9sl_105", zt = "_closeButton_1k9sl_123", Ut = "_searchResults_1k9sl_144", Gt = "_resultsList_1k9sl_152", Qt = "_resultItem_1k9sl_158", Xt = "_selected_1k9sl_173", Yt = "_resultTitle_1k9sl_176", Vt = "_resultSlug_1k9sl_180", Jt = "_noResults_1k9sl_186", Zt = "_searchHints_1k9sl_193", en = "_hint_1k9sl_210", L = {
683
+ searchButton: Rt,
684
+ searchIcon: jt,
685
+ searchHint: At,
686
+ kbd: Ht,
687
+ searchOverlay: qt,
688
+ searchModal: Wt,
689
+ searchHeader: Ft,
690
+ searchInput: Kt,
691
+ closeButton: zt,
689
692
  searchResults: Ut,
690
- resultsList: qt,
691
- resultItem: Gt,
692
- selected: Qt,
693
- resultTitle: Xt,
694
- resultSlug: Yt,
695
- noResults: Vt,
696
- searchHints: Jt,
697
- hint: Zt
693
+ resultsList: Gt,
694
+ resultItem: Qt,
695
+ selected: Xt,
696
+ resultTitle: Yt,
697
+ resultSlug: Vt,
698
+ noResults: Jt,
699
+ searchHints: Zt,
700
+ hint: en
698
701
  };
699
- function en({ language: t }) {
700
- const { t: n } = R(), { config: o } = H(), a = V(), [r, s] = P(!1), [h, _] = P(""), [u, v] = P([]), [N, g] = P(0), f = W(null), c = W(null), l = typeof navigator < "u" && /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform) ? "⌘K" : "Ctrl+K", b = te(
702
+ function tn({ language: t }) {
703
+ const { t: n } = R(), { config: o } = H(), s = V(), [l, a] = P(!1), [h, p] = P(""), [r, v] = P([]), [N, _] = P(0), f = W(null), c = W(null), i = typeof navigator < "u" && /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform) ? "⌘K" : "Ctrl+K", b = te(
701
704
  o.navigationData,
702
705
  t
703
- ).flatMap((m) => "items" in m ? m.items.map((x) => ({
704
- title: x.title,
705
- slug: x.slug
706
+ ).flatMap((m) => "items" in m ? m.items.map((C) => ({
707
+ title: C.title,
708
+ slug: C.slug
706
709
  })) : [{ title: m.title, slug: m.slug }]);
707
710
  B(() => {
708
711
  if (!h.trim()) {
709
- v([]), g(0);
712
+ v([]), _(0);
710
713
  return;
711
714
  }
712
- const m = h.toLowerCase(), x = b.filter(
715
+ const m = h.toLowerCase(), C = b.filter(
713
716
  (M) => M.title.toLowerCase().includes(m) || M.slug.toLowerCase().includes(m)
714
717
  );
715
- v(x), g(0);
718
+ v(C), _(0);
716
719
  }, [h]), B(() => {
717
- const m = (x) => {
718
- (x.metaKey || x.ctrlKey) && x.key === "k" && (x.preventDefault(), s(!0), setTimeout(() => {
720
+ const m = (C) => {
721
+ (C.metaKey || C.ctrlKey) && C.key === "k" && (C.preventDefault(), a(!0), setTimeout(() => {
719
722
  var M;
720
723
  return (M = f.current) == null ? void 0 : M.focus();
721
- }, 100)), x.key === "Escape" && r && (s(!1), _(""));
724
+ }, 100)), C.key === "Escape" && l && (a(!1), p(""));
722
725
  };
723
726
  return document.addEventListener("keydown", m), () => document.removeEventListener("keydown", m);
724
- }, [r]);
725
- const C = (m) => {
726
- m.key === "ArrowDown" ? (m.preventDefault(), g((x) => Math.min(x + 1, u.length - 1))) : m.key === "ArrowUp" ? (m.preventDefault(), g((x) => Math.max(x - 1, 0))) : m.key === "Enter" && u[N] && (m.preventDefault(), T(u[N].slug));
727
+ }, [l]);
728
+ const k = (m) => {
729
+ m.key === "ArrowDown" ? (m.preventDefault(), _((C) => Math.min(C + 1, r.length - 1))) : m.key === "ArrowUp" ? (m.preventDefault(), _((C) => Math.max(C - 1, 0))) : m.key === "Enter" && r[N] && (m.preventDefault(), y(r[N].slug));
727
730
  };
728
731
  B(() => {
729
- const m = (x) => {
730
- c.current && !c.current.contains(x.target) && (s(!1), _(""));
732
+ const m = (C) => {
733
+ c.current && !c.current.contains(C.target) && (a(!1), p(""));
731
734
  };
732
- return r && document.addEventListener("mousedown", m), () => document.removeEventListener("mousedown", m);
733
- }, [r]);
734
- const T = (m) => {
735
- const x = o.basePath || "";
736
- a(`${x}/${t}/${m}`), s(!1), _("");
735
+ return l && document.addEventListener("mousedown", m), () => document.removeEventListener("mousedown", m);
736
+ }, [l]);
737
+ const y = (m) => {
738
+ const C = o.basePath || "";
739
+ s(`${C}/${t}/${m}`), a(!1), p("");
737
740
  };
738
- return /* @__PURE__ */ i(U, { children: [
739
- /* @__PURE__ */ i(
741
+ return /* @__PURE__ */ d(z, { children: [
742
+ /* @__PURE__ */ d(
740
743
  "button",
741
744
  {
742
745
  type: "button",
743
746
  className: L.searchButton,
744
747
  onClick: () => {
745
- s(!0), setTimeout(() => {
748
+ a(!0), setTimeout(() => {
746
749
  var m;
747
750
  return (m = f.current) == null ? void 0 : m.focus();
748
751
  }, 100);
@@ -751,26 +754,26 @@ function en({ language: t }) {
751
754
  children: [
752
755
  /* @__PURE__ */ e(he, { className: L.searchIcon }),
753
756
  /* @__PURE__ */ e("span", { className: L.searchHint, children: n("ui.search") }),
754
- /* @__PURE__ */ e("kbd", { className: L.kbd, children: l })
757
+ /* @__PURE__ */ e("kbd", { className: L.kbd, children: i })
755
758
  ]
756
759
  }
757
760
  ),
758
- r && ve(
761
+ l && ve(
759
762
  /* @__PURE__ */ e(
760
763
  "div",
761
764
  {
762
765
  className: L.searchOverlay,
763
766
  onClick: () => {
764
- s(!1), _("");
767
+ a(!1), p("");
765
768
  },
766
- children: /* @__PURE__ */ i(
769
+ children: /* @__PURE__ */ d(
767
770
  "div",
768
771
  {
769
772
  className: L.searchModal,
770
773
  ref: c,
771
774
  onClick: (m) => m.stopPropagation(),
772
775
  children: [
773
- /* @__PURE__ */ i("div", { className: L.searchHeader, children: [
776
+ /* @__PURE__ */ d("div", { className: L.searchHeader, children: [
774
777
  /* @__PURE__ */ e(he, { className: L.searchIcon }),
775
778
  /* @__PURE__ */ e(
776
779
  "input",
@@ -780,8 +783,8 @@ function en({ language: t }) {
780
783
  className: L.searchInput,
781
784
  placeholder: n("ui.searchPlaceholder"),
782
785
  value: h,
783
- onChange: (m) => _(m.target.value),
784
- onKeyDown: C
786
+ onChange: (m) => p(m.target.value),
787
+ onKeyDown: k
785
788
  }
786
789
  ),
787
790
  /* @__PURE__ */ e(
@@ -790,40 +793,40 @@ function en({ language: t }) {
790
793
  type: "button",
791
794
  className: L.closeButton,
792
795
  onClick: () => {
793
- s(!1), _("");
796
+ a(!1), p("");
794
797
  },
795
798
  "aria-label": "Close search",
796
799
  children: /* @__PURE__ */ e(se, {})
797
800
  }
798
801
  )
799
802
  ] }),
800
- h && /* @__PURE__ */ e("div", { className: L.searchResults, children: u.length === 0 ? /* @__PURE__ */ e("div", { className: L.noResults, children: n("ui.noSearchResults") }) : /* @__PURE__ */ e("ul", { className: L.resultsList, children: u.map((m, x) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ i(
803
+ h && /* @__PURE__ */ e("div", { className: L.searchResults, children: r.length === 0 ? /* @__PURE__ */ e("div", { className: L.noResults, children: n("ui.noSearchResults") }) : /* @__PURE__ */ e("ul", { className: L.resultsList, children: r.map((m, C) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ d(
801
804
  "button",
802
805
  {
803
806
  type: "button",
804
- className: `${L.resultItem} ${x === N ? L.selected : ""}`,
805
- onClick: () => T(m.slug),
806
- onMouseEnter: () => g(x),
807
+ className: `${L.resultItem} ${C === N ? L.selected : ""}`,
808
+ onClick: () => y(m.slug),
809
+ onMouseEnter: () => _(C),
807
810
  children: [
808
811
  /* @__PURE__ */ e("div", { className: L.resultTitle, children: m.title }),
809
- /* @__PURE__ */ i("div", { className: L.resultSlug, children: [
812
+ /* @__PURE__ */ d("div", { className: L.resultSlug, children: [
810
813
  "/",
811
814
  m.slug
812
815
  ] })
813
816
  ]
814
817
  }
815
818
  ) }, m.slug)) }) }),
816
- !h && /* @__PURE__ */ i("div", { className: L.searchHints, children: [
817
- /* @__PURE__ */ i("div", { className: L.hint, children: [
819
+ !h && /* @__PURE__ */ d("div", { className: L.searchHints, children: [
820
+ /* @__PURE__ */ d("div", { className: L.hint, children: [
818
821
  /* @__PURE__ */ e("kbd", { children: "↑" }),
819
822
  /* @__PURE__ */ e("kbd", { children: "↓" }),
820
823
  /* @__PURE__ */ e("span", { children: n("ui.searchNavigate") })
821
824
  ] }),
822
- /* @__PURE__ */ i("div", { className: L.hint, children: [
825
+ /* @__PURE__ */ d("div", { className: L.hint, children: [
823
826
  /* @__PURE__ */ e("kbd", { children: "↵" }),
824
827
  /* @__PURE__ */ e("span", { children: n("ui.searchSelect") })
825
828
  ] }),
826
- /* @__PURE__ */ i("div", { className: L.hint, children: [
829
+ /* @__PURE__ */ d("div", { className: L.hint, children: [
827
830
  /* @__PURE__ */ e("kbd", { children: "esc" }),
828
831
  /* @__PURE__ */ e("span", { children: n("ui.searchClose") })
829
832
  ] })
@@ -837,158 +840,158 @@ function en({ language: t }) {
837
840
  )
838
841
  ] });
839
842
  }
840
- const tn = "_header_15xr7_1", nn = "_container_15xr7_24", on = "_content_15xr7_36", an = "_leftSection_15xr7_43", sn = "_mobileMenuButton_15xr7_49", cn = "_burgerIcon_15xr7_87", rn = "_logo_15xr7_92", ln = "_nav_15xr7_98", dn = "_navLink_15xr7_109", un = "_externalIcon_15xr7_135", hn = "_supportDropdown_15xr7_141", mn = "_themeDropdown_15xr7_145", gn = "_themeButton_15xr7_149", _n = "_themeIcon_15xr7_171", pn = "_supportButton_15xr7_177", fn = "_caretIcon_15xr7_198", vn = "_dropdownMenu_15xr7_208", bn = "_dropdownItem_15xr7_221", wn = "_dropdownIcon_15xr7_244", k = {
841
- header: tn,
842
- container: nn,
843
- content: on,
844
- leftSection: an,
845
- mobileMenuButton: sn,
846
- burgerIcon: cn,
847
- logo: rn,
848
- nav: ln,
849
- navLink: dn,
850
- externalIcon: un,
851
- supportDropdown: hn,
852
- themeDropdown: mn,
843
+ const nn = "_header_jrobc_1", on = "_container_jrobc_24", an = "_content_jrobc_36", sn = "_leftSection_jrobc_43", cn = "_mobileMenuButton_jrobc_49", rn = "_burgerIcon_jrobc_87", ln = "_logo_jrobc_92", dn = "_nav_jrobc_98", un = "_navLink_jrobc_109", hn = "_externalIcon_jrobc_135", mn = "_supportDropdown_jrobc_141", _n = "_themeDropdown_jrobc_145", gn = "_themeButton_jrobc_149", pn = "_themeIcon_jrobc_171", fn = "_supportButton_jrobc_177", vn = "_caretIcon_jrobc_198", bn = "_dropdownMenu_jrobc_208", wn = "_dropdownItem_jrobc_221", $n = "_dropdownIcon_jrobc_244", x = {
844
+ header: nn,
845
+ container: on,
846
+ content: an,
847
+ leftSection: sn,
848
+ mobileMenuButton: cn,
849
+ burgerIcon: rn,
850
+ logo: ln,
851
+ nav: dn,
852
+ navLink: un,
853
+ externalIcon: hn,
854
+ supportDropdown: mn,
855
+ themeDropdown: _n,
853
856
  themeButton: gn,
854
- themeIcon: _n,
855
- supportButton: pn,
856
- caretIcon: fn,
857
- dropdownMenu: vn,
858
- dropdownItem: bn,
859
- dropdownIcon: wn
857
+ themeIcon: pn,
858
+ supportButton: fn,
859
+ caretIcon: vn,
860
+ dropdownMenu: bn,
861
+ dropdownItem: wn,
862
+ dropdownIcon: $n
860
863
  };
861
- function $n({ onMobileMenuToggle: t }) {
862
- const { t: n, i18n: o } = R(), { config: a } = H(), r = a.header ?? {}, s = r.navLinks ?? [], h = r.dropdownItems ?? [], [_, u] = P(!1), [v, N] = P(!1), { theme: g, setTheme: f } = Ne(), c = W(null), p = W(null);
864
+ function Nn({ onMobileMenuToggle: t }) {
865
+ const { t: n, i18n: o } = R(), { config: s } = H(), l = s.header ?? {}, a = l.navLinks ?? [], h = l.dropdownItems ?? [], [p, r] = P(!1), [v, N] = P(!1), { theme: _, setTheme: f } = Ne(), c = W(null), g = W(null);
863
866
  return B(() => {
864
- const l = (b) => {
865
- c.current && !c.current.contains(b.target) && u(!1), p.current && !p.current.contains(b.target) && N(!1);
867
+ const i = (b) => {
868
+ c.current && !c.current.contains(b.target) && r(!1), g.current && !g.current.contains(b.target) && N(!1);
866
869
  };
867
- return document.addEventListener("mousedown", l), () => document.removeEventListener("mousedown", l);
868
- }, []), /* @__PURE__ */ e("header", { className: k.header, children: /* @__PURE__ */ e("div", { className: k.container, children: /* @__PURE__ */ i("div", { className: k.content, children: [
869
- /* @__PURE__ */ i("div", { className: k.leftSection, children: [
870
+ return document.addEventListener("mousedown", i), () => document.removeEventListener("mousedown", i);
871
+ }, []), /* @__PURE__ */ e("header", { className: x.header, children: /* @__PURE__ */ e("div", { className: x.container, children: /* @__PURE__ */ d("div", { className: x.content, children: [
872
+ /* @__PURE__ */ d("div", { className: x.leftSection, children: [
870
873
  /* @__PURE__ */ e(
871
874
  "button",
872
875
  {
873
876
  type: "button",
874
- className: k.mobileMenuButton,
877
+ className: x.mobileMenuButton,
875
878
  onClick: t,
876
879
  "aria-label": "Open menu",
877
- children: /* @__PURE__ */ e(Le, { className: k.burgerIcon })
880
+ children: /* @__PURE__ */ e(Le, { className: x.burgerIcon })
878
881
  }
879
882
  ),
880
- /* @__PURE__ */ e("div", { className: k.logo })
883
+ /* @__PURE__ */ e("div", { className: x.logo })
881
884
  ] }),
882
- /* @__PURE__ */ i("nav", { className: k.nav, children: [
883
- /* @__PURE__ */ e(en, { language: o.language }),
884
- /* @__PURE__ */ i("div", { className: k.themeDropdown, ref: p, children: [
885
- /* @__PURE__ */ i(
885
+ /* @__PURE__ */ d("nav", { className: x.nav, children: [
886
+ /* @__PURE__ */ e(tn, { language: o.language }),
887
+ /* @__PURE__ */ d("div", { className: x.themeDropdown, ref: g, children: [
888
+ /* @__PURE__ */ d(
886
889
  "button",
887
890
  {
888
891
  type: "button",
889
- className: k.themeButton,
892
+ className: x.themeButton,
890
893
  onClick: () => N(!v),
891
894
  "aria-expanded": v,
892
895
  "aria-haspopup": "true",
893
896
  "aria-label": n("ui.theme"),
894
897
  children: [
895
- g === "light" && /* @__PURE__ */ e(me, { className: k.themeIcon }),
896
- g === "dark" && /* @__PURE__ */ e(ge, { className: k.themeIcon }),
897
- g === "system" && /* @__PURE__ */ e(_e, { className: k.themeIcon }),
898
- /* @__PURE__ */ e(oe, { className: k.caretIcon })
898
+ _ === "light" && /* @__PURE__ */ e(me, { className: x.themeIcon }),
899
+ _ === "dark" && /* @__PURE__ */ e(_e, { className: x.themeIcon }),
900
+ _ === "system" && /* @__PURE__ */ e(ge, { className: x.themeIcon }),
901
+ /* @__PURE__ */ e(oe, { className: x.caretIcon })
899
902
  ]
900
903
  }
901
904
  ),
902
- v && /* @__PURE__ */ i("div", { className: k.dropdownMenu, children: [
903
- /* @__PURE__ */ i(
905
+ v && /* @__PURE__ */ d("div", { className: x.dropdownMenu, children: [
906
+ /* @__PURE__ */ d(
904
907
  "button",
905
908
  {
906
909
  type: "button",
907
910
  onClick: () => {
908
911
  f("light"), N(!1);
909
912
  },
910
- className: k.dropdownItem,
913
+ className: x.dropdownItem,
911
914
  children: [
912
- /* @__PURE__ */ e(me, { className: k.dropdownIcon }),
915
+ /* @__PURE__ */ e(me, { className: x.dropdownIcon }),
913
916
  n("ui.light")
914
917
  ]
915
918
  }
916
919
  ),
917
- /* @__PURE__ */ i(
920
+ /* @__PURE__ */ d(
918
921
  "button",
919
922
  {
920
923
  type: "button",
921
924
  onClick: () => {
922
925
  f("dark"), N(!1);
923
926
  },
924
- className: k.dropdownItem,
927
+ className: x.dropdownItem,
925
928
  children: [
926
- /* @__PURE__ */ e(ge, { className: k.dropdownIcon }),
929
+ /* @__PURE__ */ e(_e, { className: x.dropdownIcon }),
927
930
  n("ui.dark")
928
931
  ]
929
932
  }
930
933
  ),
931
- /* @__PURE__ */ i(
934
+ /* @__PURE__ */ d(
932
935
  "button",
933
936
  {
934
937
  type: "button",
935
938
  onClick: () => {
936
939
  f("system"), N(!1);
937
940
  },
938
- className: k.dropdownItem,
941
+ className: x.dropdownItem,
939
942
  children: [
940
- /* @__PURE__ */ e(_e, { className: k.dropdownIcon }),
943
+ /* @__PURE__ */ e(ge, { className: x.dropdownIcon }),
941
944
  n("ui.system")
942
945
  ]
943
946
  }
944
947
  )
945
948
  ] })
946
949
  ] }),
947
- h.length > 0 && /* @__PURE__ */ i("div", { className: k.supportDropdown, ref: c, children: [
948
- /* @__PURE__ */ i(
950
+ h.length > 0 && /* @__PURE__ */ d("div", { className: x.supportDropdown, ref: c, children: [
951
+ /* @__PURE__ */ d(
949
952
  "button",
950
953
  {
951
954
  type: "button",
952
- className: k.supportButton,
953
- onClick: () => u(!_),
954
- "aria-expanded": _,
955
+ className: x.supportButton,
956
+ onClick: () => r(!p),
957
+ "aria-expanded": p,
955
958
  "aria-haspopup": "true",
956
959
  children: [
957
960
  n("ui.support"),
958
- /* @__PURE__ */ e(oe, { className: k.caretIcon })
961
+ /* @__PURE__ */ e(oe, { className: x.caretIcon })
959
962
  ]
960
963
  }
961
964
  ),
962
- _ && /* @__PURE__ */ e("div", { className: k.dropdownMenu, children: h.map((l, b) => {
963
- const C = l.target ?? (l.url.startsWith("http") ? "_blank" : "_self"), T = l.rel ?? (C === "_blank" ? "noopener noreferrer" : void 0), m = l.icon;
964
- return /* @__PURE__ */ i(
965
+ p && /* @__PURE__ */ e("div", { className: x.dropdownMenu, children: h.map((i, b) => {
966
+ const k = i.target ?? (i.url.startsWith("http") ? "_blank" : "_self"), y = i.rel ?? (k === "_blank" ? "noopener noreferrer" : void 0), m = i.icon;
967
+ return /* @__PURE__ */ d(
965
968
  "a",
966
969
  {
967
- href: l.url,
968
- target: C,
969
- rel: T,
970
- className: k.dropdownItem,
970
+ href: i.url,
971
+ target: k,
972
+ rel: y,
973
+ className: x.dropdownItem,
971
974
  children: [
972
- m && /* @__PURE__ */ e(m, { className: k.dropdownIcon }),
973
- l.label
975
+ m && /* @__PURE__ */ e(m, { className: x.dropdownIcon }),
976
+ i.label
974
977
  ]
975
978
  },
976
979
  b
977
980
  );
978
981
  }) })
979
982
  ] }),
980
- s.map((l, b) => {
981
- const C = l.target ?? (typeof l.url == "string" && l.url.startsWith("http") ? "_blank" : "_self"), T = l.rel ?? (C === "_blank" ? "noopener noreferrer" : void 0), m = l.icon;
982
- return /* @__PURE__ */ i(
983
+ a.map((i, b) => {
984
+ const k = i.target ?? (typeof i.url == "string" && i.url.startsWith("http") ? "_blank" : "_self"), y = i.rel ?? (k === "_blank" ? "noopener noreferrer" : void 0), m = i.icon;
985
+ return /* @__PURE__ */ d(
983
986
  "a",
984
987
  {
985
- href: l.url,
986
- target: C,
987
- rel: T,
988
- className: l.className ?? k.navLink,
988
+ href: i.url,
989
+ target: k,
990
+ rel: y,
991
+ className: i.className ?? x.navLink,
989
992
  children: [
990
- l.label,
991
- m && /* @__PURE__ */ e(m, { className: k.externalIcon })
993
+ i.label,
994
+ m && /* @__PURE__ */ e(m, { className: x.externalIcon })
992
995
  ]
993
996
  },
994
997
  b
@@ -1002,40 +1005,40 @@ function ce({
1002
1005
  styles: t,
1003
1006
  onLanguageChange: n
1004
1007
  }) {
1005
- const { i18n: o } = R(), a = Y(), r = V(), { config: s } = H(), [h, _] = P(!1), u = W(null), v = o.language, N = (f) => {
1006
- const c = s.basePath || "";
1007
- let p = a.pathname;
1008
- c && p.startsWith(c) && (p = p.slice(c.length));
1009
- const l = p.split("/").filter(Boolean), b = l[0];
1010
- let C = "";
1011
- s.supportedLanguages.includes(b) ? (l[0] = f, C = `${c}/${l.join("/")}`) : C = `${c}/${f}${p}`;
1012
- const T = C + a.search + a.hash;
1013
- o.changeLanguage(f), r(T), _(!1), n == null || n();
1008
+ const { i18n: o } = R(), s = Y(), l = V(), { config: a } = H(), [h, p] = P(!1), r = W(null), v = o.language, N = (f) => {
1009
+ const c = a.basePath || "";
1010
+ let g = s.pathname;
1011
+ c && g.startsWith(c) && (g = g.slice(c.length));
1012
+ const i = g.split("/").filter(Boolean), b = i[0];
1013
+ let k = "";
1014
+ a.supportedLanguages.includes(b) ? (i[0] = f, k = `${c}/${i.join("/")}`) : k = `${c}/${f}${g}`;
1015
+ const y = k + s.search + s.hash;
1016
+ o.changeLanguage(f), l(y), p(!1), n == null || n();
1014
1017
  };
1015
1018
  B(() => {
1016
1019
  const f = (c) => {
1017
- u.current && !u.current.contains(c.target) && _(!1);
1020
+ r.current && !r.current.contains(c.target) && p(!1);
1018
1021
  };
1019
1022
  return document.addEventListener("mousedown", f), () => document.removeEventListener("mousedown", f);
1020
1023
  }, []);
1021
- const g = (f) => o.getFixedT(f)("language") || f;
1022
- return /* @__PURE__ */ i("div", { className: t.languageSelect, ref: u, children: [
1023
- /* @__PURE__ */ i(
1024
+ const _ = (f) => o.getFixedT(f)("language") || f;
1025
+ return /* @__PURE__ */ d("div", { className: t.languageSelect, ref: r, children: [
1026
+ /* @__PURE__ */ d(
1024
1027
  "button",
1025
1028
  {
1026
1029
  type: "button",
1027
1030
  className: t.languageButton,
1028
- onClick: () => _(!h),
1031
+ onClick: () => p(!h),
1029
1032
  "aria-expanded": h,
1030
1033
  "aria-haspopup": "listbox",
1031
1034
  children: [
1032
1035
  /* @__PURE__ */ e(Pe, { className: t.icon }),
1033
- g(v),
1036
+ _(v),
1034
1037
  /* @__PURE__ */ e(oe, { className: t.chevron })
1035
1038
  ]
1036
1039
  }
1037
1040
  ),
1038
- h && /* @__PURE__ */ e("div", { className: t.languageDropdown, role: "listbox", children: s.supportedLanguages.map((f) => /* @__PURE__ */ e(
1041
+ h && /* @__PURE__ */ e("div", { className: t.languageDropdown, role: "listbox", children: a.supportedLanguages.map((f) => /* @__PURE__ */ e(
1039
1042
  "button",
1040
1043
  {
1041
1044
  type: "button",
@@ -1043,71 +1046,71 @@ function ce({
1043
1046
  onClick: () => N(f),
1044
1047
  role: "option",
1045
1048
  "aria-selected": f === v,
1046
- children: g(f)
1049
+ children: _(f)
1047
1050
  },
1048
1051
  f
1049
1052
  )) })
1050
1053
  ] });
1051
1054
  }
1052
1055
  function re({ styles: t, onLinkClick: n }) {
1053
- const { i18n: o } = R(), a = Y(), { config: r } = H(), [s, h] = P(() => {
1056
+ const { i18n: o } = R(), s = Y(), { config: l } = H(), [a, h] = P(() => {
1054
1057
  const c = o.language;
1055
- return te(r.navigationData, c).reduce(
1056
- (l, b, C) => {
1058
+ return te(l.navigationData, c).reduce(
1059
+ (i, b, k) => {
1057
1060
  if (Q(b)) {
1058
- const T = r.navigationData[C], m = Q(T) && T.defaultOpen === !0;
1059
- l[b.title] = m;
1061
+ const y = l.navigationData[k], m = Q(y) && y.defaultOpen === !0;
1062
+ i[b.title] = m;
1060
1063
  }
1061
- return l;
1064
+ return i;
1062
1065
  },
1063
1066
  {}
1064
1067
  );
1065
- }), _ = o.language, u = te(
1066
- r.navigationData,
1067
- _
1068
+ }), p = o.language, r = te(
1069
+ l.navigationData,
1070
+ p
1068
1071
  );
1069
1072
  B(() => {
1070
- const p = te(
1071
- r.navigationData,
1072
- _
1073
+ const g = te(
1074
+ l.navigationData,
1075
+ p
1073
1076
  ).reduce(
1074
- (l, b, C) => {
1077
+ (i, b, k) => {
1075
1078
  if (Q(b)) {
1076
- const T = r.navigationData[C], m = Q(T) && T.defaultOpen === !0;
1077
- l[b.title] = m;
1079
+ const y = l.navigationData[k], m = Q(y) && y.defaultOpen === !0;
1080
+ i[b.title] = m;
1078
1081
  }
1079
- return l;
1082
+ return i;
1080
1083
  },
1081
1084
  {}
1082
1085
  );
1083
- h(p);
1084
- }, [_, r.navigationData]);
1086
+ h(g);
1087
+ }, [p, l.navigationData]);
1085
1088
  const v = (c) => {
1086
- h((p) => ({
1087
- ...p,
1088
- [c]: !p[c]
1089
+ h((g) => ({
1090
+ ...g,
1091
+ [c]: !g[c]
1089
1092
  }));
1090
1093
  }, N = (c) => {
1091
- const p = r.basePath || "";
1092
- let l = a.pathname;
1093
- p && l.startsWith(p) && (l = l.slice(p.length));
1094
- const b = l.split("/").filter(Boolean);
1094
+ const g = l.basePath || "";
1095
+ let i = s.pathname;
1096
+ g && i.startsWith(g) && (i = i.slice(g.length));
1097
+ const b = i.split("/").filter(Boolean);
1095
1098
  return b[b.length - 1] === c;
1096
- }, g = (c) => {
1097
- const p = r.basePath || "";
1098
- let l = a.pathname;
1099
- p && l.startsWith(p) && (l = l.slice(p.length));
1100
- const b = l.split("/").filter(Boolean);
1101
- return b[0] && r.supportedLanguages.includes(b[0]) ? `${p}/${b[0]}/${c}` : `${p}/${_}/${c}`;
1099
+ }, _ = (c) => {
1100
+ const g = l.basePath || "";
1101
+ let i = s.pathname;
1102
+ g && i.startsWith(g) && (i = i.slice(g.length));
1103
+ const b = i.split("/").filter(Boolean);
1104
+ return b[0] && l.supportedLanguages.includes(b[0]) ? `${g}/${b[0]}/${c}` : `${g}/${p}/${c}`;
1102
1105
  }, f = () => {
1103
1106
  n == null || n();
1104
1107
  };
1105
- return /* @__PURE__ */ e("div", { className: t.navigation, children: u.map((c) => Q(c) ? /* @__PURE__ */ i("div", { className: t.section, children: [
1106
- /* @__PURE__ */ i(
1108
+ return /* @__PURE__ */ e("div", { className: t.navigation, children: r.map((c) => Q(c) ? /* @__PURE__ */ d("div", { className: t.section, children: [
1109
+ /* @__PURE__ */ d(
1107
1110
  "button",
1108
1111
  {
1109
1112
  type: "button",
1110
- className: `${t.sectionButton} ${s[c.title] ? t.expanded : ""}`,
1113
+ className: `${t.sectionButton} ${a[c.title] ? t.expanded : ""}`,
1111
1114
  onClick: () => v(c.title),
1112
1115
  children: [
1113
1116
  c.title,
@@ -1115,20 +1118,20 @@ function re({ styles: t, onLinkClick: n }) {
1115
1118
  ]
1116
1119
  }
1117
1120
  ),
1118
- s[c.title] && /* @__PURE__ */ e("div", { className: t.sectionItems, children: c.items.map((p) => /* @__PURE__ */ e(
1121
+ a[c.title] && /* @__PURE__ */ e("div", { className: t.sectionItems, children: c.items.map((g) => /* @__PURE__ */ e(
1119
1122
  de,
1120
1123
  {
1121
- to: g(p.slug),
1122
- className: `${t.navItem} ${N(p.slug) ? t.active : ""}`,
1124
+ to: _(g.slug),
1125
+ className: `${t.navItem} ${N(g.slug) ? t.active : ""}`,
1123
1126
  onClick: f,
1124
- children: /* @__PURE__ */ e("div", { className: t.navItemContent, children: /* @__PURE__ */ e("span", { className: t.navItemTitle, children: p.title }) })
1127
+ children: /* @__PURE__ */ e("div", { className: t.navItemContent, children: /* @__PURE__ */ e("span", { className: t.navItemTitle, children: g.title }) })
1125
1128
  },
1126
- p.slug
1129
+ g.slug
1127
1130
  )) })
1128
1131
  ] }, c.title) : /* @__PURE__ */ e(
1129
1132
  de,
1130
1133
  {
1131
- to: g(c.slug),
1134
+ to: _(c.slug),
1132
1135
  className: `${t.navItem} ${N(c.slug) ? t.active : ""}`,
1133
1136
  onClick: f,
1134
1137
  children: /* @__PURE__ */ e("div", { className: t.navItemContent, children: /* @__PURE__ */ e("span", { className: t.navItemTitle, children: c.title }) })
@@ -1136,55 +1139,55 @@ function re({ styles: t, onLinkClick: n }) {
1136
1139
  c.slug
1137
1140
  )) });
1138
1141
  }
1139
- function Oo({
1142
+ function Ro({
1140
1143
  styles: t,
1141
1144
  onLinkClick: n,
1142
1145
  onLanguageChange: o
1143
1146
  }) {
1144
- return /* @__PURE__ */ i(U, { children: [
1147
+ return /* @__PURE__ */ d(z, { children: [
1145
1148
  /* @__PURE__ */ e(ce, { styles: t, onLanguageChange: o }),
1146
1149
  /* @__PURE__ */ e(re, { styles: t, onLinkClick: n })
1147
1150
  ] });
1148
1151
  }
1149
- const Nn = "_backdrop_17kcj_1", In = "_open_17kcj_13", kn = "_mobileMenu_17kcj_18", Cn = "_header_17kcj_37", xn = "_brand_17kcj_46", yn = "_cloudIcon_17kcj_53", Tn = "_title_17kcj_62", Ln = "_closeButton_17kcj_69", Pn = "_closeIcon_17kcj_101", Sn = "_languageSection_17kcj_106", Bn = "_languageSelect_17kcj_112", Mn = "_languageButton_17kcj_117", Dn = "_icon_17kcj_156", En = "_chevron_17kcj_162", On = "_languageDropdown_17kcj_172", Rn = "_languageOption_17kcj_185", jn = "_selected_17kcj_226", An = "_scrollArea_17kcj_231", Hn = "_navigation_17kcj_237", zn = "_section_17kcj_241", Wn = "_sectionButton_17kcj_245", Fn = "_expanded_17kcj_285", Kn = "_sectionItems_17kcj_289", Un = "_navItem_17kcj_297", qn = "_active_17kcj_310", Gn = "_navItemContent_17kcj_316", Qn = "_navItemTitle_17kcj_322", D = {
1150
- backdrop: Nn,
1151
- open: In,
1152
+ const In = "_backdrop_1a7pu_1", xn = "_open_1a7pu_13", kn = "_mobileMenu_1a7pu_18", Cn = "_header_1a7pu_37", Tn = "_brand_1a7pu_46", yn = "_cloudIcon_1a7pu_53", Ln = "_title_1a7pu_62", Pn = "_closeButton_1a7pu_69", Sn = "_closeIcon_1a7pu_101", Bn = "_languageSection_1a7pu_106", Mn = "_languageSelect_1a7pu_112", Dn = "_languageButton_1a7pu_117", On = "_icon_1a7pu_156", En = "_chevron_1a7pu_162", Rn = "_languageDropdown_1a7pu_172", jn = "_languageOption_1a7pu_185", An = "_selected_1a7pu_226", Hn = "_scrollArea_1a7pu_231", qn = "_navigation_1a7pu_237", Wn = "_section_1a7pu_241", Fn = "_sectionButton_1a7pu_245", Kn = "_expanded_1a7pu_285", zn = "_sectionItems_1a7pu_289", Un = "_navItem_1a7pu_297", Gn = "_active_1a7pu_310", Qn = "_navItemContent_1a7pu_316", Xn = "_navItemTitle_1a7pu_322", D = {
1153
+ backdrop: In,
1154
+ open: xn,
1152
1155
  mobileMenu: kn,
1153
1156
  header: Cn,
1154
- brand: xn,
1157
+ brand: Tn,
1155
1158
  cloudIcon: yn,
1156
- title: Tn,
1157
- closeButton: Ln,
1158
- closeIcon: Pn,
1159
- languageSection: Sn,
1160
- languageSelect: Bn,
1161
- languageButton: Mn,
1162
- icon: Dn,
1159
+ title: Ln,
1160
+ closeButton: Pn,
1161
+ closeIcon: Sn,
1162
+ languageSection: Bn,
1163
+ languageSelect: Mn,
1164
+ languageButton: Dn,
1165
+ icon: On,
1163
1166
  chevron: En,
1164
- languageDropdown: On,
1165
- languageOption: Rn,
1166
- selected: jn,
1167
- scrollArea: An,
1168
- navigation: Hn,
1169
- section: zn,
1170
- sectionButton: Wn,
1171
- expanded: Fn,
1172
- sectionItems: Kn,
1167
+ languageDropdown: Rn,
1168
+ languageOption: jn,
1169
+ selected: An,
1170
+ scrollArea: Hn,
1171
+ navigation: qn,
1172
+ section: Wn,
1173
+ sectionButton: Fn,
1174
+ expanded: Kn,
1175
+ sectionItems: zn,
1173
1176
  navItem: Un,
1174
- active: qn,
1175
- navItemContent: Gn,
1176
- navItemTitle: Qn
1177
+ active: Gn,
1178
+ navItemContent: Qn,
1179
+ navItemTitle: Xn
1177
1180
  };
1178
- function Xn({ isOpen: t, onClose: n }) {
1179
- const { config: o } = H(), a = o.logo;
1181
+ function Yn({ isOpen: t, onClose: n }) {
1182
+ const { config: o } = H(), s = o.logo;
1180
1183
  return B(() => (t ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
1181
1184
  document.body.style.overflow = "unset";
1182
1185
  }), [t]), B(() => {
1183
- const r = (s) => {
1184
- s.key === "Escape" && t && n();
1186
+ const l = (a) => {
1187
+ a.key === "Escape" && t && n();
1185
1188
  };
1186
- return document.addEventListener("keydown", r), () => document.removeEventListener("keydown", r);
1187
- }, [t, n]), /* @__PURE__ */ i(U, { children: [
1189
+ return document.addEventListener("keydown", l), () => document.removeEventListener("keydown", l);
1190
+ }, [t, n]), /* @__PURE__ */ d(z, { children: [
1188
1191
  /* @__PURE__ */ e(
1189
1192
  "div",
1190
1193
  {
@@ -1192,10 +1195,10 @@ function Xn({ isOpen: t, onClose: n }) {
1192
1195
  onClick: n
1193
1196
  }
1194
1197
  ),
1195
- /* @__PURE__ */ i("div", { className: `${D.mobileMenu} ${t ? D.open : ""}`, children: [
1196
- /* @__PURE__ */ i("div", { className: D.header, children: [
1197
- /* @__PURE__ */ i("div", { className: D.brand, children: [
1198
- a && /* @__PURE__ */ e(a, { className: D.cloudIcon }),
1198
+ /* @__PURE__ */ d("div", { className: `${D.mobileMenu} ${t ? D.open : ""}`, children: [
1199
+ /* @__PURE__ */ d("div", { className: D.header, children: [
1200
+ /* @__PURE__ */ d("div", { className: D.brand, children: [
1201
+ s && /* @__PURE__ */ e(s, { className: D.cloudIcon }),
1199
1202
  /* @__PURE__ */ e("h1", { className: D.title, children: o.title })
1200
1203
  ] }),
1201
1204
  /* @__PURE__ */ e(
@@ -1214,70 +1217,70 @@ function Xn({ isOpen: t, onClose: n }) {
1214
1217
  ] })
1215
1218
  ] });
1216
1219
  }
1217
- const Yn = "_sidebar_1pfbz_1", Vn = "_header_1pfbz_17", Jn = "_brand_1pfbz_29", Zn = "_cloudIcon_1pfbz_35", eo = "_title_1pfbz_44", to = "_languageSelect_1pfbz_52", no = "_languageButton_1pfbz_58", oo = "_icon_1pfbz_96", ao = "_chevron_1pfbz_101", so = "_languageDropdown_1pfbz_111", co = "_languageOption_1pfbz_125", ro = "_selected_1pfbz_144", lo = "_scrollArea_1pfbz_149", io = "_navigation_1pfbz_155", uo = "_section_1pfbz_161", ho = "_sectionButton_1pfbz_167", mo = "_expanded_1pfbz_210", go = "_sectionItems_1pfbz_214", _o = "_navItem_1pfbz_222", po = "_active_1pfbz_235", fo = "_navItemContent_1pfbz_240", z = {
1218
- sidebar: Yn,
1219
- header: Vn,
1220
- brand: Jn,
1221
- cloudIcon: Zn,
1222
- title: eo,
1223
- languageSelect: to,
1224
- languageButton: no,
1225
- icon: oo,
1226
- chevron: ao,
1227
- languageDropdown: so,
1228
- languageOption: co,
1229
- selected: ro,
1230
- scrollArea: lo,
1231
- navigation: io,
1232
- section: uo,
1233
- sectionButton: ho,
1234
- expanded: mo,
1220
+ const Vn = "_sidebar_1tdxt_1", Jn = "_header_1tdxt_17", Zn = "_brand_1tdxt_29", eo = "_cloudIcon_1tdxt_35", to = "_title_1tdxt_44", no = "_languageSelect_1tdxt_55", oo = "_languageButton_1tdxt_61", ao = "_icon_1tdxt_99", so = "_chevron_1tdxt_104", co = "_languageDropdown_1tdxt_114", ro = "_languageOption_1tdxt_128", lo = "_selected_1tdxt_147", io = "_scrollArea_1tdxt_152", uo = "_navigation_1tdxt_158", ho = "_section_1tdxt_164", mo = "_sectionButton_1tdxt_170", _o = "_expanded_1tdxt_213", go = "_sectionItems_1tdxt_217", po = "_navItem_1tdxt_225", fo = "_active_1tdxt_238", vo = "_navItemContent_1tdxt_243", q = {
1221
+ sidebar: Vn,
1222
+ header: Jn,
1223
+ brand: Zn,
1224
+ cloudIcon: eo,
1225
+ title: to,
1226
+ languageSelect: no,
1227
+ languageButton: oo,
1228
+ icon: ao,
1229
+ chevron: so,
1230
+ languageDropdown: co,
1231
+ languageOption: ro,
1232
+ selected: lo,
1233
+ scrollArea: io,
1234
+ navigation: uo,
1235
+ section: ho,
1236
+ sectionButton: mo,
1237
+ expanded: _o,
1235
1238
  sectionItems: go,
1236
- navItem: _o,
1237
- active: po,
1238
- navItemContent: fo
1239
+ navItem: po,
1240
+ active: fo,
1241
+ navItemContent: vo
1239
1242
  };
1240
- function vo() {
1243
+ function bo() {
1241
1244
  const { config: t } = H(), n = t.logo;
1242
- return /* @__PURE__ */ i("div", { className: z.sidebar, children: [
1243
- /* @__PURE__ */ i("div", { className: z.header, children: [
1244
- /* @__PURE__ */ i("div", { className: z.brand, children: [
1245
- n && /* @__PURE__ */ e(n, { className: z.cloudIcon }),
1246
- /* @__PURE__ */ e("h1", { className: z.title, children: t.title })
1245
+ return /* @__PURE__ */ d("div", { className: q.sidebar, children: [
1246
+ /* @__PURE__ */ d("div", { className: q.header, children: [
1247
+ /* @__PURE__ */ d("div", { className: q.brand, children: [
1248
+ n && /* @__PURE__ */ e(n, { className: q.cloudIcon }),
1249
+ /* @__PURE__ */ e("div", { className: q.title, children: t.title })
1247
1250
  ] }),
1248
- /* @__PURE__ */ e(ce, { styles: z })
1251
+ /* @__PURE__ */ e(ce, { styles: q })
1249
1252
  ] }),
1250
- /* @__PURE__ */ e("div", { className: z.scrollArea, children: /* @__PURE__ */ e(re, { styles: z }) })
1253
+ /* @__PURE__ */ e("div", { className: q.scrollArea, children: /* @__PURE__ */ e(re, { styles: q }) })
1251
1254
  ] });
1252
1255
  }
1253
- const bo = "_app_1vinw_1", wo = "_layout_1vinw_9", $o = "_main_1vinw_15", No = "_contentWrapper_1vinw_27", ee = {
1254
- app: bo,
1255
- layout: wo,
1256
- main: $o,
1257
- contentWrapper: No
1256
+ const wo = "_app_1v4z4_1", $o = "_layout_1v4z4_9", No = "_main_1v4z4_15", Io = "_contentWrapper_1v4z4_27", ee = {
1257
+ app: wo,
1258
+ layout: $o,
1259
+ main: No,
1260
+ contentWrapper: Io
1258
1261
  };
1259
- function Io({ children: t }) {
1260
- const { language: n } = ae(), { i18n: o } = R(), { config: a } = H(), [r, s] = P(!1);
1262
+ function xo({ children: t }) {
1263
+ const { language: n } = ae(), { i18n: o } = R(), { config: s } = H(), [l, a] = P(!1);
1261
1264
  B(() => {
1262
- n && a.supportedLanguages.includes(n) && o.changeLanguage(n);
1263
- }, [n, o, a.supportedLanguages]);
1265
+ n && s.supportedLanguages.includes(n) && o.changeLanguage(n);
1266
+ }, [n, o, s.supportedLanguages]);
1264
1267
  const h = () => {
1265
- s(!r);
1266
- }, _ = () => {
1267
- s(!1);
1268
+ a(!l);
1269
+ }, p = () => {
1270
+ a(!1);
1268
1271
  };
1269
- return !n || !a.supportedLanguages.includes(n) ? /* @__PURE__ */ e(fe, { to: "/en/welcome", replace: !0 }) : /* @__PURE__ */ i("div", { className: ee.app, children: [
1270
- /* @__PURE__ */ e($n, { onMobileMenuToggle: h }),
1271
- /* @__PURE__ */ e(Xn, { isOpen: r, onClose: _ }),
1272
- /* @__PURE__ */ i("div", { className: ee.layout, children: [
1273
- /* @__PURE__ */ e(vo, {}),
1272
+ return !n || !s.supportedLanguages.includes(n) ? /* @__PURE__ */ e(fe, { to: "/en/welcome", replace: !0 }) : /* @__PURE__ */ d("div", { className: ee.app, children: [
1273
+ /* @__PURE__ */ e(Nn, { onMobileMenuToggle: h }),
1274
+ /* @__PURE__ */ e(Yn, { isOpen: l, onClose: p }),
1275
+ /* @__PURE__ */ d("div", { className: ee.layout, children: [
1276
+ /* @__PURE__ */ e(bo, {}),
1274
1277
  /* @__PURE__ */ e("main", { className: ee.main, children: /* @__PURE__ */ e("div", { className: ee.contentWrapper, children: t }) })
1275
1278
  ] })
1276
1279
  ] });
1277
1280
  }
1278
- function Ro() {
1281
+ function jo() {
1279
1282
  const { language: t } = ae();
1280
- return /* @__PURE__ */ e(Io, { children: /* @__PURE__ */ i(Ce, { children: [
1283
+ return /* @__PURE__ */ e(xo, { children: /* @__PURE__ */ d(ke, { children: [
1281
1284
  /* @__PURE__ */ e(ue, { path: "/:slug", element: /* @__PURE__ */ e(Et, { language: t }) }),
1282
1285
  /* @__PURE__ */ e(ue, { path: "/", element: /* @__PURE__ */ e(fe, { to: "welcome", replace: !0 }) })
1283
1286
  ] }) });
@@ -1285,20 +1288,21 @@ function Ro() {
1285
1288
  export {
1286
1289
  Ae as AdvancedModeToggle,
1287
1290
  Eo as BlogProvider,
1291
+ He as BlogRoot,
1288
1292
  Et as ContentPage,
1289
- Io as DocumentationLayout,
1290
- Ro as DocumentationRoutes,
1291
- $n as Header,
1293
+ xo as DocumentationLayout,
1294
+ jo as DocumentationRoutes,
1295
+ Nn as Header,
1292
1296
  ce as LanguageSelector,
1293
- Xn as MobileMenu,
1294
- Oo as NavigationContent,
1297
+ Yn as MobileMenu,
1298
+ Ro as NavigationContent,
1295
1299
  re as NavigationMenu,
1296
- en as SearchBar,
1297
- vo as Sidebar,
1298
- tt as TableOfContents,
1299
- mt as TagResultsModal,
1300
- wt as Tags,
1301
- Do as createBlogUtils,
1300
+ tn as SearchBar,
1301
+ bo as Sidebar,
1302
+ nt as TableOfContents,
1303
+ _t as TagResultsModal,
1304
+ $t as Tags,
1305
+ Oo as createBlogUtils,
1302
1306
  be as createContentLoaders,
1303
1307
  X as generateHeadingId,
1304
1308
  te as getNavigationData,