@x-wave/blog 1.0.39 → 1.1.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.
Files changed (3) hide show
  1. package/consts/index.ts +10 -0
  2. package/index.js +870 -866
  3. package/package.json +4 -2
package/index.js CHANGED
@@ -1,42 +1,42 @@
1
1
  var Wt = Object.defineProperty;
2
2
  var zt = (e, t, n) => t in e ? Wt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var U = (e, t, n) => zt(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { jsxs as m, jsx as o, Fragment as V } from "react/jsx-runtime";
3
+ var z = (e, t, n) => zt(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { jsxs as m, jsx as o, Fragment as G } from "react/jsx-runtime";
5
5
  import { useTranslation as D } from "react-i18next";
6
- import { useLocation as te, useNavigate as Z, Link as ke, useParams as We, Navigate as $t, Routes as Ut, Route as it } from "react-router-dom";
7
- import { CaretLeft as Kt, CaretRight as Nt, ArrowSquareOut as Vt, User as Yt, CalendarBlank as Gt, X as ze, Tag as Qt, MagnifyingGlass as lt, List as Xt, Sun as dt, Moon as ut, Monitor as ht, CaretDown as Re, Globe as Zt } from "@phosphor-icons/react";
8
- import Q, { Component as Ue, useState as I, useEffect as L, createContext as Jt, useContext as en, useRef as X } from "react";
9
- import tn from "i18next";
10
- import nn from "react-markdown";
11
- import an from "remark-gfm";
12
- import { createPortal as It } from "react-dom";
13
- const on = "_tabContainer_zk6h4_1", sn = "_tab_zk6h4_1", rn = "_active_zk6h4_45", de = {
14
- tabContainer: on,
6
+ import { useLocation as te, useNavigate as Z, Link as Ne, useParams as Ke, Navigate as Nt, Routes as Kt, Route as lt } from "react-router-dom";
7
+ import { CaretLeft as Vt, CaretRight as It, ArrowSquareOut as Yt, User as Gt, CalendarBlank as Qt, X as Ve, Tag as Xt, MagnifyingGlass as dt, List as Zt, Sun as ut, Moon as ht, Monitor as mt, CaretDown as je, Globe as Jt } from "@phosphor-icons/react";
8
+ import Q, { Component as Ye, useState as I, useEffect as L, createContext as en, useContext as tn, useRef as X } from "react";
9
+ import nn from "i18next";
10
+ import an from "react-markdown";
11
+ import on from "remark-gfm";
12
+ import { createPortal as xt } from "react-dom";
13
+ const rn = "_tabContainer_zk6h4_1", sn = "_tab_zk6h4_1", cn = "_active_zk6h4_45", ue = {
14
+ tabContainer: rn,
15
15
  tab: sn,
16
- active: rn
16
+ active: cn
17
17
  };
18
- function cn({ hasAdvanced: e }) {
18
+ function ln({ hasAdvanced: e }) {
19
19
  const { t } = D(), n = te(), a = Z();
20
20
  if (!e) return null;
21
- const s = new URLSearchParams(n.search).has("advanced"), c = () => {
22
- if (s) {
21
+ const r = new URLSearchParams(n.search).has("advanced"), c = () => {
22
+ if (r) {
23
23
  const i = new URLSearchParams(n.search);
24
24
  i.delete("advanced");
25
25
  const l = i.toString(), u = l ? `?${l}` : "";
26
26
  a(`${n.pathname}${u}${n.hash}`);
27
27
  }
28
28
  }, d = () => {
29
- if (!s) {
29
+ if (!r) {
30
30
  const i = new URLSearchParams(n.search);
31
31
  i.set("advanced", ""), a(`${n.pathname}?${i.toString()}${n.hash}`);
32
32
  }
33
33
  };
34
- return /* @__PURE__ */ m("div", { className: de.tabContainer, children: [
34
+ return /* @__PURE__ */ m("div", { className: ue.tabContainer, children: [
35
35
  /* @__PURE__ */ o(
36
36
  "button",
37
37
  {
38
38
  type: "button",
39
- className: `${de.tab} ${s ? "" : de.active}`,
39
+ className: `${ue.tab} ${r ? "" : ue.active}`,
40
40
  onClick: c,
41
41
  children: t("ui.simple")
42
42
  }
@@ -45,84 +45,84 @@ function cn({ hasAdvanced: e }) {
45
45
  "button",
46
46
  {
47
47
  type: "button",
48
- className: `${de.tab} ${s ? de.active : ""}`,
48
+ className: `${ue.tab} ${r ? ue.active : ""}`,
49
49
  onClick: d,
50
50
  children: t("ui.advanced")
51
51
  }
52
52
  )
53
53
  ] });
54
54
  }
55
- function Ke(e) {
55
+ function Ge(e) {
56
56
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
57
57
  }
58
- var Se, mt;
59
- function ln() {
60
- if (mt) return Se;
61
- mt = 1;
58
+ var Ee, ft;
59
+ function dn() {
60
+ if (ft) return Ee;
61
+ ft = 1;
62
62
  var e = typeof Element < "u", t = typeof Map == "function", n = typeof Set == "function", a = typeof ArrayBuffer == "function" && !!ArrayBuffer.isView;
63
- function r(s, c) {
64
- if (s === c) return !0;
65
- if (s && c && typeof s == "object" && typeof c == "object") {
66
- if (s.constructor !== c.constructor) return !1;
63
+ function s(r, c) {
64
+ if (r === c) return !0;
65
+ if (r && c && typeof r == "object" && typeof c == "object") {
66
+ if (r.constructor !== c.constructor) return !1;
67
67
  var d, i, l;
68
- if (Array.isArray(s)) {
69
- if (d = s.length, d != c.length) return !1;
68
+ if (Array.isArray(r)) {
69
+ if (d = r.length, d != c.length) return !1;
70
70
  for (i = d; i-- !== 0; )
71
- if (!r(s[i], c[i])) return !1;
71
+ if (!s(r[i], c[i])) return !1;
72
72
  return !0;
73
73
  }
74
74
  var u;
75
- if (t && s instanceof Map && c instanceof Map) {
76
- if (s.size !== c.size) return !1;
77
- for (u = s.entries(); !(i = u.next()).done; )
75
+ if (t && r instanceof Map && c instanceof Map) {
76
+ if (r.size !== c.size) return !1;
77
+ for (u = r.entries(); !(i = u.next()).done; )
78
78
  if (!c.has(i.value[0])) return !1;
79
- for (u = s.entries(); !(i = u.next()).done; )
80
- if (!r(i.value[1], c.get(i.value[0]))) return !1;
79
+ for (u = r.entries(); !(i = u.next()).done; )
80
+ if (!s(i.value[1], c.get(i.value[0]))) return !1;
81
81
  return !0;
82
82
  }
83
- if (n && s instanceof Set && c instanceof Set) {
84
- if (s.size !== c.size) return !1;
85
- for (u = s.entries(); !(i = u.next()).done; )
83
+ if (n && r instanceof Set && c instanceof Set) {
84
+ if (r.size !== c.size) return !1;
85
+ for (u = r.entries(); !(i = u.next()).done; )
86
86
  if (!c.has(i.value[0])) return !1;
87
87
  return !0;
88
88
  }
89
- if (a && ArrayBuffer.isView(s) && ArrayBuffer.isView(c)) {
90
- if (d = s.length, d != c.length) return !1;
89
+ if (a && ArrayBuffer.isView(r) && ArrayBuffer.isView(c)) {
90
+ if (d = r.length, d != c.length) return !1;
91
91
  for (i = d; i-- !== 0; )
92
- if (s[i] !== c[i]) return !1;
92
+ if (r[i] !== c[i]) return !1;
93
93
  return !0;
94
94
  }
95
- if (s.constructor === RegExp) return s.source === c.source && s.flags === c.flags;
96
- if (s.valueOf !== Object.prototype.valueOf && typeof s.valueOf == "function" && typeof c.valueOf == "function") return s.valueOf() === c.valueOf();
97
- if (s.toString !== Object.prototype.toString && typeof s.toString == "function" && typeof c.toString == "function") return s.toString() === c.toString();
98
- if (l = Object.keys(s), d = l.length, d !== Object.keys(c).length) return !1;
95
+ if (r.constructor === RegExp) return r.source === c.source && r.flags === c.flags;
96
+ if (r.valueOf !== Object.prototype.valueOf && typeof r.valueOf == "function" && typeof c.valueOf == "function") return r.valueOf() === c.valueOf();
97
+ if (r.toString !== Object.prototype.toString && typeof r.toString == "function" && typeof c.toString == "function") return r.toString() === c.toString();
98
+ if (l = Object.keys(r), d = l.length, d !== Object.keys(c).length) return !1;
99
99
  for (i = d; i-- !== 0; )
100
100
  if (!Object.prototype.hasOwnProperty.call(c, l[i])) return !1;
101
- if (e && s instanceof Element) return !1;
101
+ if (e && r instanceof Element) return !1;
102
102
  for (i = d; i-- !== 0; )
103
- if (!((l[i] === "_owner" || l[i] === "__v" || l[i] === "__o") && s.$$typeof) && !r(s[l[i]], c[l[i]]))
103
+ if (!((l[i] === "_owner" || l[i] === "__v" || l[i] === "__o") && r.$$typeof) && !s(r[l[i]], c[l[i]]))
104
104
  return !1;
105
105
  return !0;
106
106
  }
107
- return s !== s && c !== c;
107
+ return r !== r && c !== c;
108
108
  }
109
- return Se = function(c, d) {
109
+ return Ee = function(c, d) {
110
110
  try {
111
- return r(c, d);
111
+ return s(c, d);
112
112
  } catch (i) {
113
113
  if ((i.message || "").match(/stack|recursion/i))
114
114
  return console.warn("react-fast-compare cannot handle circular refs"), !1;
115
115
  throw i;
116
116
  }
117
- }, Se;
117
+ }, Ee;
118
118
  }
119
- var dn = ln();
120
- const un = /* @__PURE__ */ Ke(dn);
121
- var Le, ft;
122
- function hn() {
123
- if (ft) return Le;
124
- ft = 1;
125
- var e = function(t, n, a, r, s, c, d, i) {
119
+ var un = dn();
120
+ const hn = /* @__PURE__ */ Ge(un);
121
+ var Ae, pt;
122
+ function mn() {
123
+ if (pt) return Ae;
124
+ pt = 1;
125
+ var e = function(t, n, a, s, r, c, d, i) {
126
126
  if (process.env.NODE_ENV !== "production" && n === void 0)
127
127
  throw new Error("invariant requires an error message argument");
128
128
  if (!t) {
@@ -132,26 +132,26 @@ function hn() {
132
132
  "Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."
133
133
  );
134
134
  else {
135
- var u = [a, r, s, c, d, i], g = 0;
135
+ var u = [a, s, r, c, d, i], p = 0;
136
136
  l = new Error(
137
137
  n.replace(/%s/g, function() {
138
- return u[g++];
138
+ return u[p++];
139
139
  })
140
140
  ), l.name = "Invariant Violation";
141
141
  }
142
142
  throw l.framesToPop = 1, l;
143
143
  }
144
144
  };
145
- return Le = e, Le;
145
+ return Ae = e, Ae;
146
146
  }
147
- var mn = hn();
148
- const gt = /* @__PURE__ */ Ke(mn);
149
- var Pe, pt;
150
- function fn() {
151
- return pt || (pt = 1, Pe = function(t, n, a, r) {
152
- var s = a ? a.call(r, t, n) : void 0;
153
- if (s !== void 0)
154
- return !!s;
147
+ var fn = mn();
148
+ const gt = /* @__PURE__ */ Ge(fn);
149
+ var Oe, _t;
150
+ function pn() {
151
+ return _t || (_t = 1, Oe = function(t, n, a, s) {
152
+ var r = a ? a.call(s, t, n) : void 0;
153
+ if (r !== void 0)
154
+ return !!r;
155
155
  if (t === n)
156
156
  return !0;
157
157
  if (typeof t != "object" || !t || typeof n != "object" || !n)
@@ -163,16 +163,16 @@ function fn() {
163
163
  var u = c[l];
164
164
  if (!i(u))
165
165
  return !1;
166
- var g = t[u], h = n[u];
167
- if (s = a ? a.call(r, g, h, u) : void 0, s === !1 || s === void 0 && g !== h)
166
+ var p = t[u], h = n[u];
167
+ if (r = a ? a.call(s, p, h, u) : void 0, r === !1 || r === void 0 && p !== h)
168
168
  return !1;
169
169
  }
170
170
  return !0;
171
- }), Pe;
171
+ }), Oe;
172
172
  }
173
- var gn = fn();
174
- const pn = /* @__PURE__ */ Ke(gn);
175
- var xt = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "head", e.HTML = "html", e.LINK = "link", e.META = "meta", e.NOSCRIPT = "noscript", e.SCRIPT = "script", e.STYLE = "style", e.TITLE = "title", e.FRAGMENT = "Symbol(react.fragment)", e))(xt || {}), Ee = {
173
+ var gn = pn();
174
+ const _n = /* @__PURE__ */ Ge(gn);
175
+ var St = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "head", e.HTML = "html", e.LINK = "link", e.META = "meta", e.NOSCRIPT = "noscript", e.SCRIPT = "script", e.STYLE = "style", e.TITLE = "title", e.FRAGMENT = "Symbol(react.fragment)", e))(St || {}), De = {
176
176
  link: { rel: ["amphtml", "canonical", "alternate"] },
177
177
  script: { type: ["application/ld+json"] },
178
178
  meta: {
@@ -194,7 +194,7 @@ var xt = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
194
194
  "twitter:site"
195
195
  ]
196
196
  }
197
- }, _t = Object.values(xt), Ve = {
197
+ }, vt = Object.values(St), Qe = {
198
198
  accesskey: "accessKey",
199
199
  charset: "charSet",
200
200
  class: "className",
@@ -203,63 +203,63 @@ var xt = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
203
203
  "http-equiv": "httpEquiv",
204
204
  itemprop: "itemProp",
205
205
  tabindex: "tabIndex"
206
- }, _n = Object.entries(Ve).reduce(
206
+ }, vn = Object.entries(Qe).reduce(
207
207
  (e, [t, n]) => (e[n] = t, e),
208
208
  {}
209
- ), W = "data-rh", ce = {
209
+ ), U = "data-rh", ie = {
210
210
  DEFAULT_TITLE: "defaultTitle",
211
211
  DEFER: "defer",
212
212
  ENCODE_SPECIAL_CHARACTERS: "encodeSpecialCharacters",
213
213
  ON_CHANGE_CLIENT_STATE: "onChangeClientState",
214
214
  TITLE_TEMPLATE: "titleTemplate",
215
215
  PRIORITIZE_SEO_TAGS: "prioritizeSeoTags"
216
- }, ie = (e, t) => {
216
+ }, le = (e, t) => {
217
217
  for (let n = e.length - 1; n >= 0; n -= 1) {
218
218
  const a = e[n];
219
219
  if (Object.prototype.hasOwnProperty.call(a, t))
220
220
  return a[t];
221
221
  }
222
222
  return null;
223
- }, vn = (e) => {
224
- let t = ie(
223
+ }, bn = (e) => {
224
+ let t = le(
225
225
  e,
226
226
  "title"
227
227
  /* TITLE */
228
228
  );
229
- const n = ie(e, ce.TITLE_TEMPLATE);
229
+ const n = le(e, ie.TITLE_TEMPLATE);
230
230
  if (Array.isArray(t) && (t = t.join("")), n && t)
231
231
  return n.replace(/%s/g, () => t);
232
- const a = ie(e, ce.DEFAULT_TITLE);
232
+ const a = le(e, ie.DEFAULT_TITLE);
233
233
  return t || a || void 0;
234
- }, bn = (e) => ie(e, ce.ON_CHANGE_CLIENT_STATE) || (() => {
235
- }), Ae = (e, t) => t.filter((n) => typeof n[e] < "u").map((n) => n[e]).reduce((n, a) => ({ ...n, ...a }), {}), yn = (e, t) => t.filter((n) => typeof n.base < "u").map((n) => n.base).reverse().reduce((n, a) => {
234
+ }, yn = (e) => le(e, ie.ON_CHANGE_CLIENT_STATE) || (() => {
235
+ }), Me = (e, t) => t.filter((n) => typeof n[e] < "u").map((n) => n[e]).reduce((n, a) => ({ ...n, ...a }), {}), wn = (e, t) => t.filter((n) => typeof n.base < "u").map((n) => n.base).reverse().reduce((n, a) => {
236
236
  if (!n.length) {
237
- const r = Object.keys(a);
238
- for (let s = 0; s < r.length; s += 1) {
239
- const d = r[s].toLowerCase();
237
+ const s = Object.keys(a);
238
+ for (let r = 0; r < s.length; r += 1) {
239
+ const d = s[r].toLowerCase();
240
240
  if (e.indexOf(d) !== -1 && a[d])
241
241
  return n.concat(a);
242
242
  }
243
243
  }
244
244
  return n;
245
- }, []), Tn = (e) => console && typeof console.warn == "function" && console.warn(e), ue = (e, t, n) => {
245
+ }, []), Tn = (e) => console && typeof console.warn == "function" && console.warn(e), he = (e, t, n) => {
246
246
  const a = {};
247
- return n.filter((r) => Array.isArray(r[e]) ? !0 : (typeof r[e] < "u" && Tn(
248
- `Helmet: ${e} should be of type "Array". Instead found type "${typeof r[e]}"`
249
- ), !1)).map((r) => r[e]).reverse().reduce((r, s) => {
247
+ return n.filter((s) => Array.isArray(s[e]) ? !0 : (typeof s[e] < "u" && Tn(
248
+ `Helmet: ${e} should be of type "Array". Instead found type "${typeof s[e]}"`
249
+ ), !1)).map((s) => s[e]).reverse().reduce((s, r) => {
250
250
  const c = {};
251
- s.filter((i) => {
251
+ r.filter((i) => {
252
252
  let l;
253
253
  const u = Object.keys(i);
254
254
  for (let h = 0; h < u.length; h += 1) {
255
- const p = u[h], y = p.toLowerCase();
256
- t.indexOf(y) !== -1 && !(l === "rel" && i[l].toLowerCase() === "canonical") && !(y === "rel" && i[y].toLowerCase() === "stylesheet") && (l = y), t.indexOf(p) !== -1 && (p === "innerHTML" || p === "cssText" || p === "itemprop") && (l = p);
255
+ const g = u[h], y = g.toLowerCase();
256
+ t.indexOf(y) !== -1 && !(l === "rel" && i[l].toLowerCase() === "canonical") && !(y === "rel" && i[y].toLowerCase() === "stylesheet") && (l = y), t.indexOf(g) !== -1 && (g === "innerHTML" || g === "cssText" || g === "itemprop") && (l = g);
257
257
  }
258
258
  if (!l || !i[l])
259
259
  return !1;
260
- const g = i[l].toLowerCase();
261
- return a[l] || (a[l] = {}), c[l] || (c[l] = {}), a[l][g] ? !1 : (c[l][g] = !0, !0);
262
- }).reverse().forEach((i) => r.push(i));
260
+ const p = i[l].toLowerCase();
261
+ return a[l] || (a[l] = {}), c[l] || (c[l] = {}), a[l][p] ? !1 : (c[l][p] = !0, !0);
262
+ }).reverse().forEach((i) => s.push(i));
263
263
  const d = Object.keys(c);
264
264
  for (let i = 0; i < d.length; i += 1) {
265
265
  const l = d[i], u = {
@@ -268,25 +268,25 @@ var xt = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
268
268
  };
269
269
  a[l] = u;
270
270
  }
271
- return r;
271
+ return s;
272
272
  }, []).reverse();
273
- }, wn = (e, t) => {
273
+ }, kn = (e, t) => {
274
274
  if (Array.isArray(e) && e.length) {
275
275
  for (let n = 0; n < e.length; n += 1)
276
276
  if (e[n][t])
277
277
  return !0;
278
278
  }
279
279
  return !1;
280
- }, kn = (e) => ({
281
- baseTag: yn([
280
+ }, Cn = (e) => ({
281
+ baseTag: wn([
282
282
  "href"
283
283
  /* HREF */
284
284
  ], e),
285
- bodyAttributes: Ae("bodyAttributes", e),
286
- defer: ie(e, ce.DEFER),
287
- encode: ie(e, ce.ENCODE_SPECIAL_CHARACTERS),
288
- htmlAttributes: Ae("htmlAttributes", e),
289
- linkTags: ue(
285
+ bodyAttributes: Me("bodyAttributes", e),
286
+ defer: le(e, ie.DEFER),
287
+ encode: le(e, ie.ENCODE_SPECIAL_CHARACTERS),
288
+ htmlAttributes: Me("htmlAttributes", e),
289
+ linkTags: he(
290
290
  "link",
291
291
  [
292
292
  "rel",
@@ -295,7 +295,7 @@ var xt = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
295
295
  ],
296
296
  e
297
297
  ),
298
- metaTags: ue(
298
+ metaTags: he(
299
299
  "meta",
300
300
  [
301
301
  "name",
@@ -307,12 +307,12 @@ var xt = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
307
307
  ],
308
308
  e
309
309
  ),
310
- noscriptTags: ue("noscript", [
310
+ noscriptTags: he("noscript", [
311
311
  "innerHTML"
312
312
  /* INNER_HTML */
313
313
  ], e),
314
- onChangeClientState: bn(e),
315
- scriptTags: ue(
314
+ onChangeClientState: yn(e),
315
+ scriptTags: he(
316
316
  "script",
317
317
  [
318
318
  "src",
@@ -321,163 +321,163 @@ var xt = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
321
321
  ],
322
322
  e
323
323
  ),
324
- styleTags: ue("style", [
324
+ styleTags: he("style", [
325
325
  "cssText"
326
326
  /* CSS_TEXT */
327
327
  ], e),
328
- title: vn(e),
329
- titleAttributes: Ae("titleAttributes", e),
330
- prioritizeSeoTags: wn(e, ce.PRIORITIZE_SEO_TAGS)
331
- }), St = (e) => Array.isArray(e) ? e.join("") : e, Cn = (e, t) => {
328
+ title: bn(e),
329
+ titleAttributes: Me("titleAttributes", e),
330
+ prioritizeSeoTags: kn(e, ie.PRIORITIZE_SEO_TAGS)
331
+ }), Lt = (e) => Array.isArray(e) ? e.join("") : e, $n = (e, t) => {
332
332
  const n = Object.keys(e);
333
333
  for (let a = 0; a < n.length; a += 1)
334
334
  if (t[n[a]] && t[n[a]].includes(e[n[a]]))
335
335
  return !0;
336
336
  return !1;
337
- }, Oe = (e, t) => Array.isArray(e) ? e.reduce(
338
- (n, a) => (Cn(a, t) ? n.priority.push(a) : n.default.push(a), n),
337
+ }, Re = (e, t) => Array.isArray(e) ? e.reduce(
338
+ (n, a) => ($n(a, t) ? n.priority.push(a) : n.default.push(a), n),
339
339
  { priority: [], default: [] }
340
- ) : { default: e, priority: [] }, vt = (e, t) => ({
340
+ ) : { default: e, priority: [] }, bt = (e, t) => ({
341
341
  ...e,
342
342
  [t]: void 0
343
- }), $n = [
343
+ }), Nn = [
344
344
  "noscript",
345
345
  "script",
346
346
  "style"
347
347
  /* STYLE */
348
- ], Be = (e, t = !0) => t === !1 ? String(e) : String(e).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;"), Lt = (e) => Object.keys(e).reduce((t, n) => {
348
+ ], Fe = (e, t = !0) => t === !1 ? String(e) : String(e).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;"), Pt = (e) => Object.keys(e).reduce((t, n) => {
349
349
  const a = typeof e[n] < "u" ? `${n}="${e[n]}"` : `${n}`;
350
350
  return t ? `${t} ${a}` : a;
351
- }, ""), Nn = (e, t, n, a) => {
352
- const r = Lt(n), s = St(t);
353
- return r ? `<${e} ${W}="true" ${r}>${Be(
354
- s,
351
+ }, ""), In = (e, t, n, a) => {
352
+ const s = Pt(n), r = Lt(t);
353
+ return s ? `<${e} ${U}="true" ${s}>${Fe(
354
+ r,
355
355
  a
356
- )}</${e}>` : `<${e} ${W}="true">${Be(
357
- s,
356
+ )}</${e}>` : `<${e} ${U}="true">${Fe(
357
+ r,
358
358
  a
359
359
  )}</${e}>`;
360
- }, In = (e, t, n = !0) => t.reduce((a, r) => {
361
- const s = r, c = Object.keys(s).filter(
360
+ }, xn = (e, t, n = !0) => t.reduce((a, s) => {
361
+ const r = s, c = Object.keys(r).filter(
362
362
  (l) => !(l === "innerHTML" || l === "cssText")
363
363
  ).reduce((l, u) => {
364
- const g = typeof s[u] > "u" ? u : `${u}="${Be(s[u], n)}"`;
365
- return l ? `${l} ${g}` : g;
366
- }, ""), d = s.innerHTML || s.cssText || "", i = $n.indexOf(e) === -1;
367
- return `${a}<${e} ${W}="true" ${c}${i ? "/>" : `>${d}</${e}>`}`;
368
- }, ""), Pt = (e, t = {}) => Object.keys(e).reduce((n, a) => {
369
- const r = Ve[a];
370
- return n[r || a] = e[a], n;
371
- }, t), xn = (e, t, n) => {
364
+ const p = typeof r[u] > "u" ? u : `${u}="${Fe(r[u], n)}"`;
365
+ return l ? `${l} ${p}` : p;
366
+ }, ""), d = r.innerHTML || r.cssText || "", i = Nn.indexOf(e) === -1;
367
+ return `${a}<${e} ${U}="true" ${c}${i ? "/>" : `>${d}</${e}>`}`;
368
+ }, ""), Et = (e, t = {}) => Object.keys(e).reduce((n, a) => {
369
+ const s = Qe[a];
370
+ return n[s || a] = e[a], n;
371
+ }, t), Sn = (e, t, n) => {
372
372
  const a = {
373
373
  key: t,
374
- [W]: !0
375
- }, r = Pt(n, a);
376
- return [Q.createElement("title", r, t)];
377
- }, we = (e, t) => t.map((n, a) => {
378
- const r = {
374
+ [U]: !0
375
+ }, s = Et(n, a);
376
+ return [Q.createElement("title", s, t)];
377
+ }, $e = (e, t) => t.map((n, a) => {
378
+ const s = {
379
379
  key: a,
380
- [W]: !0
380
+ [U]: !0
381
381
  };
382
- return Object.keys(n).forEach((s) => {
383
- const d = Ve[s] || s;
382
+ return Object.keys(n).forEach((r) => {
383
+ const d = Qe[r] || r;
384
384
  if (d === "innerHTML" || d === "cssText") {
385
385
  const i = n.innerHTML || n.cssText;
386
- r.dangerouslySetInnerHTML = { __html: i };
386
+ s.dangerouslySetInnerHTML = { __html: i };
387
387
  } else
388
- r[d] = n[s];
389
- }), Q.createElement(e, r);
388
+ s[d] = n[r];
389
+ }), Q.createElement(e, s);
390
390
  }), F = (e, t, n = !0) => {
391
391
  switch (e) {
392
392
  case "title":
393
393
  return {
394
- toComponent: () => xn(e, t.title, t.titleAttributes),
395
- toString: () => Nn(e, t.title, t.titleAttributes, n)
394
+ toComponent: () => Sn(e, t.title, t.titleAttributes),
395
+ toString: () => In(e, t.title, t.titleAttributes, n)
396
396
  };
397
397
  case "bodyAttributes":
398
398
  case "htmlAttributes":
399
399
  return {
400
- toComponent: () => Pt(t),
401
- toString: () => Lt(t)
400
+ toComponent: () => Et(t),
401
+ toString: () => Pt(t)
402
402
  };
403
403
  default:
404
404
  return {
405
- toComponent: () => we(e, t),
406
- toString: () => In(e, t, n)
405
+ toComponent: () => $e(e, t),
406
+ toString: () => xn(e, t, n)
407
407
  };
408
408
  }
409
- }, Sn = ({ metaTags: e, linkTags: t, scriptTags: n, encode: a }) => {
410
- const r = Oe(e, Ee.meta), s = Oe(t, Ee.link), c = Oe(n, Ee.script);
409
+ }, Ln = ({ metaTags: e, linkTags: t, scriptTags: n, encode: a }) => {
410
+ const s = Re(e, De.meta), r = Re(t, De.link), c = Re(n, De.script);
411
411
  return {
412
412
  priorityMethods: {
413
413
  toComponent: () => [
414
- ...we("meta", r.priority),
415
- ...we("link", s.priority),
416
- ...we("script", c.priority)
414
+ ...$e("meta", s.priority),
415
+ ...$e("link", r.priority),
416
+ ...$e("script", c.priority)
417
417
  ],
418
418
  toString: () => (
419
419
  // generate all the tags as strings and concatenate them
420
- `${F("meta", r.priority, a)} ${F(
420
+ `${F("meta", s.priority, a)} ${F(
421
421
  "link",
422
- s.priority,
422
+ r.priority,
423
423
  a
424
424
  )} ${F("script", c.priority, a)}`
425
425
  )
426
426
  },
427
- metaTags: r.default,
428
- linkTags: s.default,
427
+ metaTags: s.default,
428
+ linkTags: r.default,
429
429
  scriptTags: c.default
430
430
  };
431
- }, Ln = (e) => {
431
+ }, Pn = (e) => {
432
432
  const {
433
433
  baseTag: t,
434
434
  bodyAttributes: n,
435
435
  encode: a = !0,
436
- htmlAttributes: r,
437
- noscriptTags: s,
436
+ htmlAttributes: s,
437
+ noscriptTags: r,
438
438
  styleTags: c,
439
439
  title: d = "",
440
440
  titleAttributes: i,
441
441
  prioritizeSeoTags: l
442
442
  } = e;
443
- let { linkTags: u, metaTags: g, scriptTags: h } = e, p = {
443
+ let { linkTags: u, metaTags: p, scriptTags: h } = e, g = {
444
444
  toComponent: () => {
445
445
  },
446
446
  toString: () => ""
447
447
  };
448
- return l && ({ priorityMethods: p, linkTags: u, metaTags: g, scriptTags: h } = Sn(e)), {
449
- priority: p,
448
+ return l && ({ priorityMethods: g, linkTags: u, metaTags: p, scriptTags: h } = Ln(e)), {
449
+ priority: g,
450
450
  base: F("base", t, a),
451
451
  bodyAttributes: F("bodyAttributes", n, a),
452
- htmlAttributes: F("htmlAttributes", r, a),
452
+ htmlAttributes: F("htmlAttributes", s, a),
453
453
  link: F("link", u, a),
454
- meta: F("meta", g, a),
455
- noscript: F("noscript", s, a),
454
+ meta: F("meta", p, a),
455
+ noscript: F("noscript", r, a),
456
456
  script: F("script", h, a),
457
457
  style: F("style", c, a),
458
458
  title: F("title", { title: d, titleAttributes: i }, a)
459
459
  };
460
- }, He = Ln, Te = [], Et = !!(typeof window < "u" && window.document && window.document.createElement), je = class {
460
+ }, qe = Pn, Ce = [], At = !!(typeof window < "u" && window.document && window.document.createElement), Ue = class {
461
461
  constructor(e, t) {
462
- U(this, "instances", []);
463
- U(this, "canUseDOM", Et);
464
- U(this, "context");
465
- U(this, "value", {
462
+ z(this, "instances", []);
463
+ z(this, "canUseDOM", At);
464
+ z(this, "context");
465
+ z(this, "value", {
466
466
  setHelmet: (e) => {
467
467
  this.context.helmet = e;
468
468
  },
469
469
  helmetInstances: {
470
- get: () => this.canUseDOM ? Te : this.instances,
470
+ get: () => this.canUseDOM ? Ce : this.instances,
471
471
  add: (e) => {
472
- (this.canUseDOM ? Te : this.instances).push(e);
472
+ (this.canUseDOM ? Ce : this.instances).push(e);
473
473
  },
474
474
  remove: (e) => {
475
- const t = (this.canUseDOM ? Te : this.instances).indexOf(e);
476
- (this.canUseDOM ? Te : this.instances).splice(t, 1);
475
+ const t = (this.canUseDOM ? Ce : this.instances).indexOf(e);
476
+ (this.canUseDOM ? Ce : this.instances).splice(t, 1);
477
477
  }
478
478
  }
479
479
  });
480
- this.context = e, this.canUseDOM = t || !1, t || (e.helmet = He({
480
+ this.context = e, this.canUseDOM = t || !1, t || (e.helmet = qe({
481
481
  baseTag: [],
482
482
  bodyAttributes: {},
483
483
  htmlAttributes: {},
@@ -490,20 +490,20 @@ var xt = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
490
490
  titleAttributes: {}
491
491
  }));
492
492
  }
493
- }, Pn = {}, At = Q.createContext(Pn), ee, Ot = (ee = class extends Ue {
493
+ }, En = {}, Ot = Q.createContext(En), ee, Dt = (ee = class extends Ye {
494
494
  constructor(n) {
495
495
  super(n);
496
- U(this, "helmetData");
497
- this.helmetData = new je(this.props.context || {}, ee.canUseDOM);
496
+ z(this, "helmetData");
497
+ this.helmetData = new Ue(this.props.context || {}, ee.canUseDOM);
498
498
  }
499
499
  render() {
500
- return /* @__PURE__ */ Q.createElement(At.Provider, { value: this.helmetData.value }, this.props.children);
500
+ return /* @__PURE__ */ Q.createElement(Ot.Provider, { value: this.helmetData.value }, this.props.children);
501
501
  }
502
- }, U(ee, "canUseDOM", Et), ee), oe = (e, t) => {
502
+ }, z(ee, "canUseDOM", At), ee), re = (e, t) => {
503
503
  const n = document.head || document.querySelector(
504
504
  "head"
505
505
  /* HEAD */
506
- ), a = n.querySelectorAll(`${e}[${W}]`), r = [].slice.call(a), s = [];
506
+ ), a = n.querySelectorAll(`${e}[${U}]`), s = [].slice.call(a), r = [];
507
507
  let c;
508
508
  return t && t.length && t.forEach((d) => {
509
509
  const i = document.createElement(e);
@@ -514,73 +514,73 @@ var xt = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
514
514
  else if (l === "cssText")
515
515
  i.styleSheet ? i.styleSheet.cssText = d.cssText : i.appendChild(document.createTextNode(d.cssText));
516
516
  else {
517
- const u = l, g = typeof d[u] > "u" ? "" : d[u];
518
- i.setAttribute(l, g);
517
+ const u = l, p = typeof d[u] > "u" ? "" : d[u];
518
+ i.setAttribute(l, p);
519
519
  }
520
- i.setAttribute(W, "true"), r.some((l, u) => (c = u, i.isEqualNode(l))) ? r.splice(c, 1) : s.push(i);
521
- }), r.forEach((d) => {
520
+ i.setAttribute(U, "true"), s.some((l, u) => (c = u, i.isEqualNode(l))) ? s.splice(c, 1) : r.push(i);
521
+ }), s.forEach((d) => {
522
522
  var i;
523
523
  return (i = d.parentNode) == null ? void 0 : i.removeChild(d);
524
- }), s.forEach((d) => n.appendChild(d)), {
525
- oldTags: r,
526
- newTags: s
524
+ }), r.forEach((d) => n.appendChild(d)), {
525
+ oldTags: s,
526
+ newTags: r
527
527
  };
528
- }, Fe = (e, t) => {
528
+ }, We = (e, t) => {
529
529
  const n = document.getElementsByTagName(e)[0];
530
530
  if (!n)
531
531
  return;
532
- const a = n.getAttribute(W), r = a ? a.split(",") : [], s = [...r], c = Object.keys(t);
532
+ const a = n.getAttribute(U), s = a ? a.split(",") : [], r = [...s], c = Object.keys(t);
533
533
  for (const d of c) {
534
534
  const i = t[d] || "";
535
- n.getAttribute(d) !== i && n.setAttribute(d, i), r.indexOf(d) === -1 && r.push(d);
536
- const l = s.indexOf(d);
537
- l !== -1 && s.splice(l, 1);
535
+ n.getAttribute(d) !== i && n.setAttribute(d, i), s.indexOf(d) === -1 && s.push(d);
536
+ const l = r.indexOf(d);
537
+ l !== -1 && r.splice(l, 1);
538
538
  }
539
- for (let d = s.length - 1; d >= 0; d -= 1)
540
- n.removeAttribute(s[d]);
541
- r.length === s.length ? n.removeAttribute(W) : n.getAttribute(W) !== c.join(",") && n.setAttribute(W, c.join(","));
542
- }, En = (e, t) => {
543
- typeof e < "u" && document.title !== e && (document.title = St(e)), Fe("title", t);
544
- }, bt = (e, t) => {
539
+ for (let d = r.length - 1; d >= 0; d -= 1)
540
+ n.removeAttribute(r[d]);
541
+ s.length === r.length ? n.removeAttribute(U) : n.getAttribute(U) !== c.join(",") && n.setAttribute(U, c.join(","));
542
+ }, An = (e, t) => {
543
+ typeof e < "u" && document.title !== e && (document.title = Lt(e)), We("title", t);
544
+ }, yt = (e, t) => {
545
545
  const {
546
546
  baseTag: n,
547
547
  bodyAttributes: a,
548
- htmlAttributes: r,
549
- linkTags: s,
548
+ htmlAttributes: s,
549
+ linkTags: r,
550
550
  metaTags: c,
551
551
  noscriptTags: d,
552
552
  onChangeClientState: i,
553
553
  scriptTags: l,
554
554
  styleTags: u,
555
- title: g,
555
+ title: p,
556
556
  titleAttributes: h
557
557
  } = e;
558
- Fe("body", a), Fe("html", r), En(g, h);
559
- const p = {
560
- baseTag: oe("base", n),
561
- linkTags: oe("link", s),
562
- metaTags: oe("meta", c),
563
- noscriptTags: oe("noscript", d),
564
- scriptTags: oe("script", l),
565
- styleTags: oe("style", u)
558
+ We("body", a), We("html", s), An(p, h);
559
+ const g = {
560
+ baseTag: re("base", n),
561
+ linkTags: re("link", r),
562
+ metaTags: re("meta", c),
563
+ noscriptTags: re("noscript", d),
564
+ scriptTags: re("script", l),
565
+ styleTags: re("style", u)
566
566
  }, y = {}, f = {};
567
- Object.keys(p).forEach((_) => {
568
- const { newTags: b, oldTags: T } = p[_];
569
- b.length && (y[_] = b), T.length && (f[_] = p[_].oldTags);
567
+ Object.keys(g).forEach((_) => {
568
+ const { newTags: b, oldTags: w } = g[_];
569
+ b.length && (y[_] = b), w.length && (f[_] = g[_].oldTags);
570
570
  }), t && t(), i(e, y, f);
571
- }, he = null, An = (e) => {
572
- he && cancelAnimationFrame(he), e.defer ? he = requestAnimationFrame(() => {
573
- bt(e, () => {
574
- he = null;
571
+ }, me = null, On = (e) => {
572
+ me && cancelAnimationFrame(me), e.defer ? me = requestAnimationFrame(() => {
573
+ yt(e, () => {
574
+ me = null;
575
575
  });
576
- }) : (bt(e), he = null);
577
- }, On = An, yt = class extends Ue {
576
+ }) : (yt(e), me = null);
577
+ }, Dn = On, wt = class extends Ye {
578
578
  constructor() {
579
579
  super(...arguments);
580
- U(this, "rendered", !1);
580
+ z(this, "rendered", !1);
581
581
  }
582
582
  shouldComponentUpdate(t) {
583
- return !pn(t, this.props);
583
+ return !_n(t, this.props);
584
584
  }
585
585
  componentDidUpdate() {
586
586
  this.emitChange();
@@ -592,13 +592,13 @@ var xt = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
592
592
  emitChange() {
593
593
  const { helmetInstances: t, setHelmet: n } = this.props.context;
594
594
  let a = null;
595
- const r = kn(
596
- t.get().map((s) => {
597
- const c = { ...s.props };
595
+ const s = Cn(
596
+ t.get().map((r) => {
597
+ const c = { ...r.props };
598
598
  return delete c.context, c;
599
599
  })
600
600
  );
601
- Ot.canUseDOM ? On(r) : He && (a = He(r)), n(a);
601
+ Dt.canUseDOM ? Dn(s) : qe && (a = qe(s)), n(a);
602
602
  }
603
603
  // componentWillMount will be deprecated
604
604
  // for SSR, initialize on first render
@@ -613,9 +613,9 @@ var xt = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
613
613
  render() {
614
614
  return this.init(), null;
615
615
  }
616
- }, Me, Dt = (Me = class extends Ue {
616
+ }, He, Mt = (He = class extends Ye {
617
617
  shouldComponentUpdate(e) {
618
- return !un(vt(this.props, "helmetData"), vt(e, "helmetData"));
618
+ return !hn(bt(this.props, "helmetData"), bt(e, "helmetData"));
619
619
  }
620
620
  mapNestedChildrenToProps(e, t) {
621
621
  if (!t)
@@ -684,8 +684,8 @@ var xt = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
684
684
  }
685
685
  warnOnInvalidChildren(e, t) {
686
686
  return gt(
687
- _t.some((n) => e.type === n),
688
- typeof e.type == "function" ? "You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information." : `Only elements types ${_t.join(
687
+ vt.some((n) => e.type === n),
688
+ typeof e.type == "function" ? "You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information." : `Only elements types ${vt.join(
689
689
  ", "
690
690
  )} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`
691
691
  ), gt(
@@ -698,11 +698,11 @@ var xt = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
698
698
  return Q.Children.forEach(e, (a) => {
699
699
  if (!a || !a.props)
700
700
  return;
701
- const { children: r, ...s } = a.props, c = Object.keys(s).reduce((i, l) => (i[_n[l] || l] = s[l], i), {});
701
+ const { children: s, ...r } = a.props, c = Object.keys(r).reduce((i, l) => (i[vn[l] || l] = r[l], i), {});
702
702
  let { type: d } = a;
703
- switch (typeof d == "symbol" ? d = d.toString() : this.warnOnInvalidChildren(a, r), d) {
703
+ switch (typeof d == "symbol" ? d = d.toString() : this.warnOnInvalidChildren(a, s), d) {
704
704
  case "Symbol(react.fragment)":
705
- t = this.mapChildrenToProps(r, t);
705
+ t = this.mapChildrenToProps(s, t);
706
706
  break;
707
707
  case "link":
708
708
  case "meta":
@@ -713,11 +713,11 @@ var xt = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
713
713
  a,
714
714
  n,
715
715
  c,
716
- r
716
+ s
717
717
  );
718
718
  break;
719
719
  default:
720
- t = this.mapObjectTypeChildren(a, t, c, r);
720
+ t = this.mapObjectTypeChildren(a, t, c, s);
721
721
  break;
722
722
  }
723
723
  }), this.mapArrayTypeChildrenToProps(n, t);
@@ -725,60 +725,60 @@ var xt = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
725
725
  render() {
726
726
  const { children: e, ...t } = this.props;
727
727
  let n = { ...t }, { helmetData: a } = t;
728
- if (e && (n = this.mapChildrenToProps(e, n)), a && !(a instanceof je)) {
729
- const r = a;
730
- a = new je(r.context, !0), delete n.helmetData;
728
+ if (e && (n = this.mapChildrenToProps(e, n)), a && !(a instanceof Ue)) {
729
+ const s = a;
730
+ a = new Ue(s.context, !0), delete n.helmetData;
731
731
  }
732
- return a ? /* @__PURE__ */ Q.createElement(yt, { ...n, context: a.value }) : /* @__PURE__ */ Q.createElement(At.Consumer, null, (r) => /* @__PURE__ */ Q.createElement(yt, { ...n, context: r }));
732
+ return a ? /* @__PURE__ */ Q.createElement(wt, { ...n, context: a.value }) : /* @__PURE__ */ Q.createElement(Ot.Consumer, null, (s) => /* @__PURE__ */ Q.createElement(wt, { ...n, context: s }));
733
733
  }
734
- }, U(Me, "defaultProps", {
734
+ }, z(He, "defaultProps", {
735
735
  defer: !0,
736
736
  encodeSpecialCharacters: !0,
737
737
  prioritizeSeoTags: !1
738
- }), Me);
739
- function Dn({ children: e }) {
738
+ }), He);
739
+ function Mn({ children: e }) {
740
740
  return /* @__PURE__ */ o("div", { className: "xw-blog-root", children: e });
741
741
  }
742
- function Mt(e) {
742
+ function Rt(e) {
743
743
  function t(n) {
744
744
  const a = n.match(/^---\s*\n([\s\S]*?)\n---\s*\n/);
745
745
  if (!a) return { frontmatter: {}, content: n };
746
- const r = {}, s = a[1];
746
+ const s = {}, r = a[1];
747
747
  let c = "", d = !1;
748
748
  const i = [];
749
- for (const u of s.split(`
749
+ for (const u of r.split(`
750
750
  `)) {
751
- const g = u.trim();
752
- if (g.startsWith("-")) {
751
+ const p = u.trim();
752
+ if (p.startsWith("-")) {
753
753
  if (d) {
754
- const h = g.substring(1).trim();
754
+ const h = p.substring(1).trim();
755
755
  i.push(h);
756
756
  }
757
757
  continue;
758
758
  }
759
- if (d && !g.startsWith("-") && (r[c] = i.slice(), i.length = 0, d = !1), g != null && g.includes(":")) {
760
- const [h, ...p] = g.split(":"), y = p.join(":").trim();
759
+ if (d && !p.startsWith("-") && (s[c] = i.slice(), i.length = 0, d = !1), p != null && p.includes(":")) {
760
+ const [h, ...g] = p.split(":"), y = g.join(":").trim();
761
761
  if (c = h.trim(), !y) {
762
762
  d = !0;
763
763
  continue;
764
764
  }
765
- y === "true" ? r[c] = !0 : y === "false" ? r[c] = !1 : r[c] = y;
765
+ y === "true" ? s[c] = !0 : y === "false" ? s[c] = !1 : s[c] = y;
766
766
  }
767
767
  }
768
- d && i.length > 0 && (r[c] = i);
768
+ d && i.length > 0 && (s[c] = i);
769
769
  const l = n.replace(
770
770
  /^---\s*\n[\s\S]*?\n---\s*\n/,
771
771
  ""
772
772
  );
773
- return { frontmatter: r, content: l };
773
+ return { frontmatter: s, content: l };
774
774
  }
775
775
  return {
776
776
  /**
777
777
  * Load MDX content for a given language and slug.
778
778
  * Automatically loads the advanced variant if `advanced` is true.
779
779
  */
780
- async loadMDXContent(n, a, r = !1) {
781
- const s = r ? `${a}-advanced.mdx` : `${a}.mdx`, c = `./docs/${n}/${s}`, d = e[c];
780
+ async loadMDXContent(n, a, s = !1) {
781
+ const r = s ? `${a}-advanced.mdx` : `${a}.mdx`, c = `./docs/${n}/${r}`, d = e[c];
782
782
  if (!d) throw new Error(`File not found: ${c}`);
783
783
  const i = await d(), { frontmatter: l, content: u } = t(i);
784
784
  return { content: u, frontmatter: l };
@@ -788,8 +788,8 @@ function Mt(e) {
788
788
  * All heading anchors are derived from English content for stability across translations.
789
789
  */
790
790
  async loadEnglishContent(n, a = !1) {
791
- const s = `./docs/en/${a ? `${n}-advanced.mdx` : `${n}.mdx`}`, c = e[s];
792
- if (!c) throw new Error(`File not found: ${s}`);
791
+ const r = `./docs/en/${a ? `${n}-advanced.mdx` : `${n}.mdx`}`, c = e[r];
792
+ if (!c) throw new Error(`File not found: ${r}`);
793
793
  const d = await c(), { content: i } = t(d);
794
794
  return i;
795
795
  },
@@ -801,17 +801,17 @@ function Mt(e) {
801
801
  * @returns Promise resolving to tag index mapping tag names to document info
802
802
  */
803
803
  async buildTagIndex(n = "en") {
804
- const a = {}, r = `./docs/${n}/`, s = Object.keys(e).filter(
805
- (c) => c.startsWith(r)
804
+ const a = {}, s = `./docs/${n}/`, r = Object.keys(e).filter(
805
+ (c) => c.startsWith(s)
806
806
  );
807
- for (const c of s)
807
+ for (const c of r)
808
808
  try {
809
- const d = e[c], i = await d(), { frontmatter: l, content: u } = t(i), g = c.split("/").pop() || "", h = g.replace(".mdx", "").replace("-advanced", ""), p = typeof l.title == "string" ? l.title : void 0, y = u.match(/^#\s+(.+)$/m), f = p || (y ? y[1].trim() : h);
810
- if (g.includes("-advanced")) continue;
809
+ const d = e[c], i = await d(), { frontmatter: l, content: u } = t(i), p = c.split("/").pop() || "", h = p.replace(".mdx", "").replace("-advanced", ""), g = typeof l.title == "string" ? l.title : void 0, y = u.match(/^#\s+(.+)$/m), f = g || (y ? y[1].trim() : h);
810
+ if (p.includes("-advanced")) continue;
811
811
  const _ = l.tags;
812
812
  if (_ && Array.isArray(_))
813
813
  for (const b of _)
814
- a[b] || (a[b] = []), a[b].some((T) => T.slug === h) || a[b].push({ slug: h, title: f });
814
+ a[b] || (a[b] = []), a[b].some((w) => w.slug === h) || a[b].push({ slug: h, title: f });
815
815
  } catch (d) {
816
816
  console.warn(`Failed to process ${c}:`, d);
817
817
  }
@@ -819,94 +819,94 @@ function Mt(e) {
819
819
  }
820
820
  };
821
821
  }
822
- function fr(e) {
823
- const t = Mt(e);
822
+ function ps(e) {
823
+ const t = Rt(e);
824
824
  return {
825
825
  mdxFiles: e,
826
826
  loadContent: t.loadMDXContent,
827
827
  loadEnglishContent: t.loadEnglishContent
828
828
  };
829
829
  }
830
- const Tt = "app-theme", Rt = () => typeof window > "u" ? "light" : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light", wt = (e) => e === "system" ? Rt() : e, Bt = (e) => {
830
+ const Tt = "app-theme", Bt = () => typeof window > "u" ? "light" : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light", kt = (e) => e === "system" ? Bt() : e, Ht = (e) => {
831
831
  const t = () => e || (typeof window > "u" ? "system" : localStorage.getItem(Tt) || "system"), [n, a] = I(t);
832
832
  return L(() => {
833
- const s = wt(n), c = document.querySelector(".xw-blog-root");
834
- if (c && (c.classList.remove("light", "dark"), c.classList.add(s)), n === "system") {
833
+ const r = kt(n), c = document.querySelector(".xw-blog-root");
834
+ if (c && (c.classList.remove("light", "dark"), c.classList.add(r)), n === "system") {
835
835
  const d = window.matchMedia("(prefers-color-scheme: dark)"), i = () => {
836
- const l = Rt(), u = document.querySelector(".xw-blog-root");
836
+ const l = Bt(), u = document.querySelector(".xw-blog-root");
837
837
  u && (u.classList.remove("light", "dark"), u.classList.add(l));
838
838
  };
839
839
  return d.addEventListener("change", i), () => d.removeEventListener("change", i);
840
840
  }
841
841
  }, [n]), {
842
842
  theme: n,
843
- setTheme: (s) => {
844
- localStorage.setItem(Tt, s), a(s);
843
+ setTheme: (r) => {
844
+ localStorage.setItem(Tt, r), a(r);
845
845
  },
846
- effectiveTheme: wt(n)
846
+ effectiveTheme: kt(n)
847
847
  };
848
- }, Mn = (e) => "items" in e, ge = (e) => "items" in e, Ce = async (e, t, n) => {
848
+ }, Rn = (e) => "items" in e, ge = (e) => "items" in e, Ie = async (e, t, n) => {
849
849
  const a = [];
850
- for (const r of e)
851
- if (Mn(r)) {
852
- const s = [];
853
- for (const d of r.items)
850
+ for (const s of e)
851
+ if (Rn(s)) {
852
+ const r = [];
853
+ for (const d of s.items)
854
854
  try {
855
855
  const i = await n(t, d.slug, !1), l = typeof i.frontmatter.title == "string" ? i.frontmatter.title : d.slug;
856
- s.push({
856
+ r.push({
857
857
  ...d,
858
858
  title: l
859
859
  });
860
860
  } catch {
861
- s.push({
861
+ r.push({
862
862
  ...d,
863
863
  title: d.slug
864
864
  });
865
865
  }
866
- const c = tn.getFixedT(t)(r.title);
866
+ const c = nn.getFixedT(t)(s.title);
867
867
  a.push({
868
868
  title: c,
869
- items: s,
870
- ...r.defaultOpen !== void 0 && {
871
- defaultOpen: r.defaultOpen
869
+ items: r,
870
+ ...s.defaultOpen !== void 0 && {
871
+ defaultOpen: s.defaultOpen
872
872
  }
873
873
  });
874
874
  } else
875
875
  try {
876
- const s = await n(t, r.slug, !1), c = typeof s.frontmatter.title == "string" ? s.frontmatter.title : r.slug;
876
+ const r = await n(t, s.slug, !1), c = typeof r.frontmatter.title == "string" ? r.frontmatter.title : s.slug;
877
877
  a.push({
878
- ...r,
878
+ ...s,
879
879
  title: c
880
880
  });
881
881
  } catch {
882
882
  a.push({
883
- ...r,
884
- title: r.slug
883
+ ...s,
884
+ title: s.slug
885
885
  });
886
886
  }
887
887
  return a;
888
- }, re = (e) => e.toString().toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/\s+/g, "-").replace(/-+/g, "-").replace(/^-+|-+$/g, ""), Rn = (e, t) => {
888
+ }, ce = (e) => e.toString().toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/\s+/g, "-").replace(/-+/g, "-").replace(/^-+|-+$/g, ""), Bn = (e, t) => {
889
889
  const n = [];
890
- for (const r of t)
891
- ge(r) ? n.push(...r.items) : n.push({ slug: r.slug, title: r.title });
890
+ for (const s of t)
891
+ ge(s) ? n.push(...s.items) : n.push({ slug: s.slug, title: s.title });
892
892
  const a = n.findIndex(
893
- (r) => r.slug === e
893
+ (s) => s.slug === e
894
894
  );
895
895
  return a === -1 ? {} : {
896
896
  prev: a > 0 ? n[a - 1] : void 0,
897
897
  next: a < n.length - 1 ? n[a + 1] : void 0
898
898
  };
899
- }, Ht = Jt(null);
900
- function gr({
899
+ }, jt = en(null);
900
+ function gs({
901
901
  children: e,
902
902
  config: t,
903
903
  blog: n,
904
904
  navigationData: a = []
905
905
  }) {
906
- Bt(t.defaultTheme);
907
- const [r, s] = I({});
906
+ Ht(t.defaultTheme);
907
+ const [s, r] = I({});
908
908
  L(() => {
909
- const { buildTagIndex: d } = Mt(n.mdxFiles), i = t.supportedLanguages.map(async (l) => {
909
+ const { buildTagIndex: d } = Rt(n.mdxFiles), i = t.supportedLanguages.map(async (l) => {
910
910
  try {
911
911
  const u = await d(l);
912
912
  return { language: l, index: u };
@@ -916,180 +916,180 @@ function gr({
916
916
  });
917
917
  Promise.all(i).then((l) => {
918
918
  const u = {};
919
- for (const g of l)
920
- u[g.language] = g.index;
921
- s(u);
919
+ for (const p of l)
920
+ u[p.language] = p.index;
921
+ r(u);
922
922
  }).catch((l) => {
923
923
  console.error("Failed to build tag indices:", l);
924
924
  });
925
925
  }, [n.mdxFiles, t.supportedLanguages]);
926
- const c = { ...t, navigationData: a, tagIndex: r };
927
- return /* @__PURE__ */ o(Ot, { children: /* @__PURE__ */ o(
928
- Ht.Provider,
926
+ const c = { ...t, navigationData: a, tagIndex: s };
927
+ return /* @__PURE__ */ o(Dt, { children: /* @__PURE__ */ o(
928
+ jt.Provider,
929
929
  {
930
930
  value: {
931
931
  config: c,
932
932
  loadContent: n.loadContent,
933
933
  loadEnglishContent: n.loadEnglishContent
934
934
  },
935
- children: /* @__PURE__ */ o(Dn, { children: e })
935
+ children: /* @__PURE__ */ o(Mn, { children: e })
936
936
  }
937
937
  ) });
938
938
  }
939
939
  function M() {
940
- const e = en(Ht);
940
+ const e = tn(jt);
941
941
  if (!e)
942
942
  throw new Error("useBlogConfig must be used within a BlogProvider");
943
943
  return e;
944
944
  }
945
- function jt() {
945
+ function Ft() {
946
946
  return !!new URL(window.location.href).hash;
947
947
  }
948
- function Bn(e, t, n) {
948
+ function Hn(e, t, n) {
949
949
  const a = n ? `${n}/` : "";
950
- return jt() ? `#${a}${t}/${e}` : `/${a}${t}/${e}`;
950
+ return Ft() ? `#${a}${t}/${e}` : `/${a}${t}/${e}`;
951
951
  }
952
- function Ft(e) {
952
+ function qt(e) {
953
953
  const t = {
954
954
  advanced: !1,
955
955
  anchor: ""
956
956
  };
957
957
  if (!e) return t;
958
958
  const a = (e.startsWith("?") ? e.substring(1) : e).split("&");
959
- for (const r of a)
960
- r === "advanced" ? t.advanced = !0 : r.startsWith("a=") && (t.anchor = r.substring(2));
959
+ for (const s of a)
960
+ s === "advanced" ? t.advanced = !0 : s.startsWith("a=") && (t.anchor = s.substring(2));
961
961
  return t;
962
962
  }
963
- function kt(e, t = 80) {
963
+ function Ct(e, t = 80) {
964
964
  const n = document.getElementById(e);
965
965
  if (n) {
966
- const r = n.getBoundingClientRect().top + window.pageYOffset - t;
966
+ const s = n.getBoundingClientRect().top + window.pageYOffset - t;
967
967
  window.scrollTo({
968
- top: r,
968
+ top: s,
969
969
  behavior: "smooth"
970
970
  });
971
971
  }
972
972
  }
973
- function Hn(e, t = !1) {
973
+ function jn(e, t = !1) {
974
974
  const n = new URL(window.location.href);
975
- if (jt()) {
976
- const a = n.hash.split("?"), r = a[0], s = new URLSearchParams(a[1] || "");
977
- s.set("a", e), t && s.set("advanced", "");
978
- const c = s.toString();
979
- n.hash = c ? `${r}?${c}` : r;
975
+ if (Ft()) {
976
+ const a = n.hash.split("?"), s = a[0], r = new URLSearchParams(a[1] || "");
977
+ r.set("a", e), t && r.set("advanced", "");
978
+ const c = r.toString();
979
+ n.hash = c ? `${s}?${c}` : s;
980
980
  } else {
981
981
  const a = new URLSearchParams(n.search);
982
982
  a.set("a", e), t && a.set("advanced", ""), n.search = `?${a.toString()}`;
983
983
  }
984
984
  window.history.pushState(null, "", n.toString());
985
985
  }
986
- function jn(e = "smooth") {
986
+ function Fn(e = "smooth") {
987
987
  window.scrollTo({
988
988
  top: 0,
989
989
  left: 0,
990
990
  behavior: e
991
991
  });
992
992
  }
993
- const Fn = "_articleNavigation_kz84g_1", qn = "_navContainer_kz84g_7", Wn = "_navLink_kz84g_24", zn = "_navLinkContent_kz84g_61", Un = "_navIcon_kz84g_76", Kn = "_navText_kz84g_83", Vn = "_navLabel_kz84g_90", Yn = "_navTitle_kz84g_98", B = {
994
- articleNavigation: Fn,
995
- navContainer: qn,
993
+ const qn = "_articleNavigation_kz84g_1", Un = "_navContainer_kz84g_7", Wn = "_navLink_kz84g_24", zn = "_navLinkContent_kz84g_61", Kn = "_navIcon_kz84g_76", Vn = "_navText_kz84g_83", Yn = "_navLabel_kz84g_90", Gn = "_navTitle_kz84g_98", B = {
994
+ articleNavigation: qn,
995
+ navContainer: Un,
996
996
  navLink: Wn,
997
997
  navLinkContent: zn,
998
- navIcon: Un,
999
- navText: Kn,
1000
- navLabel: Vn,
1001
- navTitle: Yn
998
+ navIcon: Kn,
999
+ navText: Vn,
1000
+ navLabel: Yn,
1001
+ navTitle: Gn
1002
1002
  };
1003
- function Gn({
1003
+ function Qn({
1004
1004
  prevSlug: e,
1005
1005
  prevTitle: t,
1006
1006
  nextSlug: n,
1007
1007
  nextTitle: a,
1008
- language: r
1008
+ language: s
1009
1009
  }) {
1010
- const { t: s } = D(), { config: c } = M(), d = te(), l = Ft(d.search).advanced, u = c.basePath || "", g = (p) => {
1011
- const y = `${u}/${r}/${p}`;
1010
+ const { t: r } = D(), { config: c } = M(), d = te(), l = qt(d.search).advanced, u = c.basePath || "", p = (g) => {
1011
+ const y = `${u}/${s}/${g}`;
1012
1012
  return l ? `${y}?advanced=true` : y;
1013
1013
  };
1014
1014
  if (!e && !n)
1015
1015
  return null;
1016
1016
  const h = () => {
1017
- jn("auto");
1017
+ Fn("auto");
1018
1018
  };
1019
1019
  return /* @__PURE__ */ o("nav", { className: B.articleNavigation, "aria-label": "Article navigation", children: /* @__PURE__ */ m("div", { className: B.navContainer, children: [
1020
1020
  e ? /* @__PURE__ */ o(
1021
- ke,
1021
+ Ne,
1022
1022
  {
1023
- to: g(e),
1023
+ to: p(e),
1024
1024
  className: B.navLink,
1025
1025
  onClick: h,
1026
1026
  children: /* @__PURE__ */ m("div", { className: B.navLinkContent, children: [
1027
- /* @__PURE__ */ o("div", { className: B.navIcon, children: /* @__PURE__ */ o(Kt, { size: 20, weight: "bold" }) }),
1027
+ /* @__PURE__ */ o("div", { className: B.navIcon, children: /* @__PURE__ */ o(Vt, { size: 20, weight: "bold" }) }),
1028
1028
  /* @__PURE__ */ m("div", { className: B.navText, children: [
1029
- /* @__PURE__ */ o("span", { className: B.navLabel, children: s("nav.previous") }),
1029
+ /* @__PURE__ */ o("span", { className: B.navLabel, children: r("nav.previous") }),
1030
1030
  /* @__PURE__ */ o("span", { className: B.navTitle, children: t || e })
1031
1031
  ] })
1032
1032
  ] })
1033
1033
  }
1034
1034
  ) : /* @__PURE__ */ o("div", {}),
1035
1035
  n ? /* @__PURE__ */ o(
1036
- ke,
1036
+ Ne,
1037
1037
  {
1038
- to: g(n),
1038
+ to: p(n),
1039
1039
  className: B.navLink,
1040
1040
  onClick: h,
1041
1041
  children: /* @__PURE__ */ m("div", { className: B.navLinkContent, children: [
1042
1042
  /* @__PURE__ */ m("div", { className: B.navText, children: [
1043
- /* @__PURE__ */ o("span", { className: B.navLabel, children: s("nav.next") }),
1043
+ /* @__PURE__ */ o("span", { className: B.navLabel, children: r("nav.next") }),
1044
1044
  /* @__PURE__ */ o("span", { className: B.navTitle, children: a || n })
1045
1045
  ] }),
1046
- /* @__PURE__ */ o("div", { className: B.navIcon, children: /* @__PURE__ */ o(Nt, { size: 20, weight: "bold" }) })
1046
+ /* @__PURE__ */ o("div", { className: B.navIcon, children: /* @__PURE__ */ o(It, { size: 20, weight: "bold" }) })
1047
1047
  ] })
1048
1048
  }
1049
1049
  ) : /* @__PURE__ */ o("div", {})
1050
1050
  ] }) });
1051
1051
  }
1052
- const Qn = "_blogSidebar_1ik3q_1", Xn = "_section_1ik3q_21", Zn = "_sectionTitle_1ik3q_28", Jn = "_linksList_1ik3q_36", ea = "_link_1ik3q_36", me = {
1053
- blogSidebar: Qn,
1054
- section: Xn,
1055
- sectionTitle: Zn,
1056
- linksList: Jn,
1057
- link: ea
1052
+ const Xn = "_blogSidebar_1ik3q_1", Zn = "_section_1ik3q_21", Jn = "_sectionTitle_1ik3q_28", ea = "_linksList_1ik3q_36", ta = "_link_1ik3q_36", fe = {
1053
+ blogSidebar: Xn,
1054
+ section: Zn,
1055
+ sectionTitle: Jn,
1056
+ linksList: ea,
1057
+ link: ta
1058
1058
  };
1059
- function ta() {
1059
+ function na() {
1060
1060
  const { t: e } = D(), { config: t } = M(), n = t.socialLinks || [];
1061
- return n.length === 0 ? null : /* @__PURE__ */ o("aside", { className: me.blogSidebar, children: /* @__PURE__ */ m("div", { className: me.section, children: [
1062
- /* @__PURE__ */ o("h3", { className: me.sectionTitle, children: e("ui.connect") }),
1063
- /* @__PURE__ */ o("div", { className: me.linksList, children: n.map((a, r) => {
1064
- const s = a.icon || Vt, c = a.target === "_blank";
1061
+ return n.length === 0 ? null : /* @__PURE__ */ o("aside", { className: fe.blogSidebar, children: /* @__PURE__ */ m("div", { className: fe.section, children: [
1062
+ /* @__PURE__ */ o("h3", { className: fe.sectionTitle, children: e("ui.connect") }),
1063
+ /* @__PURE__ */ o("div", { className: fe.linksList, children: n.map((a, s) => {
1064
+ const r = a.icon || Yt, c = a.target === "_blank";
1065
1065
  return /* @__PURE__ */ m(
1066
1066
  "a",
1067
1067
  {
1068
1068
  href: a.url,
1069
- className: me.link,
1069
+ className: fe.link,
1070
1070
  target: a.target || "_blank",
1071
1071
  rel: c ? "noopener noreferrer" : void 0,
1072
1072
  children: [
1073
- /* @__PURE__ */ o(s, { size: 18, weight: "duotone" }),
1073
+ /* @__PURE__ */ o(r, { size: 18, weight: "duotone" }),
1074
1074
  /* @__PURE__ */ o("span", { children: a.label })
1075
1075
  ]
1076
1076
  },
1077
- r
1077
+ s
1078
1078
  );
1079
1079
  }) })
1080
1080
  ] }) });
1081
1081
  }
1082
- const na = "_breadcrumb_rarc4_1", aa = "_breadcrumbList_rarc4_5", oa = "_breadcrumbItem_rarc4_15", sa = "_breadcrumbLink_rarc4_21", ra = "_breadcrumbSeparator_rarc4_41", ca = "_breadcrumbCurrent_rarc4_46", J = {
1083
- breadcrumb: na,
1084
- breadcrumbList: aa,
1085
- breadcrumbItem: oa,
1082
+ const aa = "_breadcrumb_rarc4_1", oa = "_breadcrumbList_rarc4_5", ra = "_breadcrumbItem_rarc4_15", sa = "_breadcrumbLink_rarc4_21", ca = "_breadcrumbSeparator_rarc4_41", ia = "_breadcrumbCurrent_rarc4_46", J = {
1083
+ breadcrumb: aa,
1084
+ breadcrumbList: oa,
1085
+ breadcrumbItem: ra,
1086
1086
  breadcrumbLink: sa,
1087
- breadcrumbSeparator: ra,
1088
- breadcrumbCurrent: ca
1087
+ breadcrumbSeparator: ca,
1088
+ breadcrumbCurrent: ia
1089
1089
  };
1090
- function ia({ articleTitle: e, language: t }) {
1091
- const { t: n } = D(), { config: a } = M(), r = Z(), c = `${a.basePath || ""}/${t}`, d = (l) => {
1092
- l.preventDefault(), window.scrollTo({ top: 0, left: 0, behavior: "auto" }), r(c);
1090
+ function la({ articleTitle: e, language: t }) {
1091
+ const { t: n } = D(), { config: a } = M(), s = Z(), c = `${a.basePath || ""}/${t}`, d = (l) => {
1092
+ l.preventDefault(), window.scrollTo({ top: 0, left: 0, behavior: "auto" }), s(c);
1093
1093
  }, i = (l, u = 60) => l.length <= u ? l : `${l.substring(0, u)}…`;
1094
1094
  return /* @__PURE__ */ o("nav", { className: J.breadcrumb, "aria-label": "Breadcrumb", children: /* @__PURE__ */ m("ol", { className: J.breadcrumbList, children: [
1095
1095
  /* @__PURE__ */ o("li", { className: J.breadcrumbItem, children: /* @__PURE__ */ o(
@@ -1107,85 +1107,85 @@ function ia({ articleTitle: e, language: t }) {
1107
1107
  ] })
1108
1108
  ] }) });
1109
1109
  }
1110
- const la = "_metadata_bsge0_1", da = "_author_bsge0_9", ua = "_date_bsge0_10", De = {
1111
- metadata: la,
1112
- author: da,
1113
- date: ua
1110
+ const da = "_metadata_bsge0_1", ua = "_author_bsge0_9", ha = "_date_bsge0_10", Be = {
1111
+ metadata: da,
1112
+ author: ua,
1113
+ date: ha
1114
1114
  };
1115
- function qe({ date: e, author: t }) {
1115
+ function ze({ date: e, author: t }) {
1116
1116
  const { t: n } = D();
1117
- return !e && !t ? null : /* @__PURE__ */ m("div", { className: De.metadata, children: [
1118
- t && /* @__PURE__ */ m("span", { className: De.author, children: [
1119
- /* @__PURE__ */ o(Yt, { size: 16, weight: "regular" }),
1117
+ return !e && !t ? null : /* @__PURE__ */ m("div", { className: Be.metadata, children: [
1118
+ t && /* @__PURE__ */ m("span", { className: Be.author, children: [
1119
+ /* @__PURE__ */ o(Gt, { size: 16, weight: "regular" }),
1120
1120
  t
1121
1121
  ] }),
1122
- e && /* @__PURE__ */ m("span", { className: De.date, children: [
1123
- /* @__PURE__ */ o(Gt, { size: 16, weight: "regular" }),
1122
+ e && /* @__PURE__ */ m("span", { className: Be.date, children: [
1123
+ /* @__PURE__ */ o(Qt, { size: 16, weight: "regular" }),
1124
1124
  n("ui.lastEdited"),
1125
1125
  ": ",
1126
1126
  e
1127
1127
  ] })
1128
1128
  ] });
1129
1129
  }
1130
- const ha = "_tableOfContents_9ofak_1", ma = "_header_9ofak_21", fa = "_title_9ofak_25", ga = "_nav_9ofak_34", pa = "_list_9ofak_40", _a = "_link_9ofak_47", va = "_active_9ofak_71", ba = "_level1_9ofak_87", ya = "_level2_9ofak_93", Ta = "_level3_9ofak_98", wa = "_level4_9ofak_104", ka = "_level5_9ofak_110", Ca = "_level6_9ofak_116", K = {
1131
- tableOfContents: ha,
1132
- header: ma,
1133
- title: fa,
1130
+ const ma = "_tableOfContents_9ofak_1", fa = "_header_9ofak_21", pa = "_title_9ofak_25", ga = "_nav_9ofak_34", _a = "_list_9ofak_40", va = "_link_9ofak_47", ba = "_active_9ofak_71", ya = "_level1_9ofak_87", wa = "_level2_9ofak_93", Ta = "_level3_9ofak_98", ka = "_level4_9ofak_104", Ca = "_level5_9ofak_110", $a = "_level6_9ofak_116", K = {
1131
+ tableOfContents: ma,
1132
+ header: fa,
1133
+ title: pa,
1134
1134
  nav: ga,
1135
- list: pa,
1136
- link: _a,
1137
- active: va,
1138
- level1: ba,
1139
- level2: ya,
1135
+ list: _a,
1136
+ link: va,
1137
+ active: ba,
1138
+ level1: ya,
1139
+ level2: wa,
1140
1140
  level3: Ta,
1141
- level4: wa,
1142
- level5: ka,
1143
- level6: Ca
1141
+ level4: ka,
1142
+ level5: Ca,
1143
+ level6: $a
1144
1144
  };
1145
- function $a({
1145
+ function Na({
1146
1146
  content: e,
1147
1147
  englishContent: t
1148
1148
  }) {
1149
- const { t: n } = D(), a = te(), r = Z(), [s, c] = I([]), [d, i] = I(""), l = X(null);
1149
+ const { t: n } = D(), a = te(), s = Z(), [r, c] = I([]), [d, i] = I(""), l = X(null);
1150
1150
  L(() => {
1151
1151
  i(""), (() => {
1152
- const h = /^(#{1,6})\s+(.+)$/gm, p = [];
1152
+ const h = /^(#{1,6})\s+(.+)$/gm, g = [];
1153
1153
  let y = h.exec(e);
1154
1154
  const f = [];
1155
1155
  for (; y !== null; ) {
1156
- const E = y[1].length, z = y[2].trim();
1157
- f.push({ level: E, text: z }), y = h.exec(e);
1156
+ const E = y[1].length, W = y[2].trim();
1157
+ f.push({ level: E, text: W }), y = h.exec(e);
1158
1158
  }
1159
1159
  const _ = /^(#{1,6})\s+(.+)$/gm;
1160
- let b = _.exec(t), T = 0;
1161
- for (; b !== null && T < f.length; ) {
1162
- const E = b[2].trim(), z = re(E);
1163
- p.push({
1164
- id: z,
1165
- text: f[T].text,
1160
+ let b = _.exec(t), w = 0;
1161
+ for (; b !== null && w < f.length; ) {
1162
+ const E = b[2].trim(), W = ce(E);
1163
+ g.push({
1164
+ id: W,
1165
+ text: f[w].text,
1166
1166
  // Use localized text for display
1167
- level: f[T].level
1168
- }), T++, b = _.exec(t);
1167
+ level: f[w].level
1168
+ }), w++, b = _.exec(t);
1169
1169
  }
1170
- c(p);
1170
+ c(g);
1171
1171
  })();
1172
1172
  }, [e, t]), L(() => {
1173
- if (s.length === 0) return;
1174
- const g = setTimeout(() => {
1175
- const h = s.filter(
1176
- (p) => !document.getElementById(p.id)
1173
+ if (r.length === 0) return;
1174
+ const p = setTimeout(() => {
1175
+ const h = r.filter(
1176
+ (g) => !document.getElementById(g.id)
1177
1177
  );
1178
1178
  h.length > 0 && console.warn("Some heading elements not found:", h);
1179
1179
  }, 100);
1180
- return () => clearTimeout(g);
1181
- }, [s]), L(() => {
1182
- if (s.length === 0) return;
1180
+ return () => clearTimeout(p);
1181
+ }, [r]), L(() => {
1182
+ if (r.length === 0) return;
1183
1183
  l.current && l.current.disconnect();
1184
- const g = setTimeout(() => {
1185
- const h = s.map((p) => document.getElementById(p.id)).filter(Boolean);
1184
+ const p = setTimeout(() => {
1185
+ const h = r.map((g) => document.getElementById(g.id)).filter(Boolean);
1186
1186
  h.length !== 0 && (l.current = new IntersectionObserver(
1187
- (p) => {
1188
- const y = p.filter((f) => f.isIntersecting);
1187
+ (g) => {
1188
+ const y = g.filter((f) => f.isIntersecting);
1189
1189
  if (y.length > 0) {
1190
1190
  const f = y.reduce((_, b) => _.boundingClientRect.top < b.boundingClientRect.top ? _ : b);
1191
1191
  i(f.target.id);
@@ -1195,22 +1195,22 @@ function $a({
1195
1195
  rootMargin: "-80px 0% -80% 0%",
1196
1196
  threshold: 0
1197
1197
  }
1198
- ), h.forEach((p) => {
1199
- l.current && l.current.observe(p);
1198
+ ), h.forEach((g) => {
1199
+ l.current && l.current.observe(g);
1200
1200
  }));
1201
1201
  }, 150);
1202
1202
  return () => {
1203
- clearTimeout(g), l.current && l.current.disconnect();
1203
+ clearTimeout(p), l.current && l.current.disconnect();
1204
1204
  };
1205
- }, [s]), L(() => () => {
1205
+ }, [r]), L(() => () => {
1206
1206
  l.current && l.current.disconnect();
1207
1207
  }, []);
1208
- const u = (g) => {
1209
- const h = document.getElementById(g);
1208
+ const u = (p) => {
1209
+ const h = document.getElementById(p);
1210
1210
  if (h) {
1211
- const p = new URLSearchParams(a.search);
1212
- p.set("a", g), r(
1213
- `${a.pathname}?${p.toString()}${a.hash}`,
1211
+ const g = new URLSearchParams(a.search);
1212
+ g.set("a", p), s(
1213
+ `${a.pathname}?${g.toString()}${a.hash}`,
1214
1214
  {
1215
1215
  replace: !0
1216
1216
  }
@@ -1222,47 +1222,47 @@ function $a({
1222
1222
  });
1223
1223
  }
1224
1224
  };
1225
- return s.length === 0 ? null : /* @__PURE__ */ m("aside", { className: K.tableOfContents, children: [
1225
+ return r.length === 0 ? null : /* @__PURE__ */ m("aside", { className: K.tableOfContents, children: [
1226
1226
  /* @__PURE__ */ o("div", { className: K.header, children: /* @__PURE__ */ o("span", { className: K.title, children: n("ui.onThisPage", "On this page") }) }),
1227
- /* @__PURE__ */ o("nav", { className: K.nav, children: /* @__PURE__ */ o("ul", { className: K.list, children: s.map((g) => /* @__PURE__ */ o("li", { className: K.item, children: /* @__PURE__ */ o(
1227
+ /* @__PURE__ */ o("nav", { className: K.nav, children: /* @__PURE__ */ o("ul", { className: K.list, children: r.map((p) => /* @__PURE__ */ o("li", { className: K.item, children: /* @__PURE__ */ o(
1228
1228
  "button",
1229
1229
  {
1230
- className: `${K.link} ${K[`level${g.level}`]} ${d === g.id ? K.active : ""}`,
1231
- onClick: () => u(g.id),
1230
+ className: `${K.link} ${K[`level${p.level}`]} ${d === p.id ? K.active : ""}`,
1231
+ onClick: () => u(p.id),
1232
1232
  type: "button",
1233
- children: g.text
1233
+ children: p.text
1234
1234
  }
1235
- ) }, g.id)) }) })
1235
+ ) }, p.id)) }) })
1236
1236
  ] });
1237
1237
  }
1238
- const Na = "_overlay_1e1d4_1", Ia = "_modal_1e1d4_26", xa = "_header_1e1d4_50", Sa = "_title_1e1d4_58", La = "_closeButton_1e1d4_65", Pa = "_results_1e1d4_86", Ea = "_resultsList_1e1d4_94", Aa = "_resultItem_1e1d4_100", Oa = "_resultTitle_1e1d4_119", Da = "_resultSlug_1e1d4_124", Ma = "_noResults_1e1d4_130", q = {
1239
- overlay: Na,
1240
- modal: Ia,
1241
- header: xa,
1242
- title: Sa,
1243
- closeButton: La,
1244
- results: Pa,
1245
- resultsList: Ea,
1246
- resultItem: Aa,
1247
- resultTitle: Oa,
1248
- resultSlug: Da,
1249
- noResults: Ma
1238
+ const Ia = "_overlay_1e1d4_1", xa = "_modal_1e1d4_26", Sa = "_header_1e1d4_50", La = "_title_1e1d4_58", Pa = "_closeButton_1e1d4_65", Ea = "_results_1e1d4_86", Aa = "_resultsList_1e1d4_94", Oa = "_resultItem_1e1d4_100", Da = "_resultTitle_1e1d4_119", Ma = "_resultSlug_1e1d4_124", Ra = "_noResults_1e1d4_130", q = {
1239
+ overlay: Ia,
1240
+ modal: xa,
1241
+ header: Sa,
1242
+ title: La,
1243
+ closeButton: Pa,
1244
+ results: Ea,
1245
+ resultsList: Aa,
1246
+ resultItem: Oa,
1247
+ resultTitle: Da,
1248
+ resultSlug: Ma,
1249
+ noResults: Ra
1250
1250
  };
1251
- function Ra({
1251
+ function Ba({
1252
1252
  tag: e,
1253
1253
  results: t,
1254
1254
  language: n,
1255
1255
  onClose: a
1256
1256
  }) {
1257
- const { t: r } = D(), { config: s } = M(), c = Z(), d = (i) => {
1258
- const l = s.basePath || "";
1257
+ const { t: s } = D(), { config: r } = M(), c = Z(), d = (i) => {
1258
+ const l = r.basePath || "";
1259
1259
  c(`${l}/${n}/${i}`), a();
1260
1260
  };
1261
- return It(
1261
+ return xt(
1262
1262
  /* @__PURE__ */ o("div", { className: q.overlay, onClick: a, children: /* @__PURE__ */ m("div", { className: q.modal, onClick: (i) => i.stopPropagation(), children: [
1263
1263
  /* @__PURE__ */ m("div", { className: q.header, children: [
1264
1264
  /* @__PURE__ */ m("h2", { className: q.title, children: [
1265
- r("ui.tagResults"),
1265
+ s("ui.tagResults"),
1266
1266
  ": ",
1267
1267
  e
1268
1268
  ] }),
@@ -1273,11 +1273,11 @@ function Ra({
1273
1273
  className: q.closeButton,
1274
1274
  onClick: a,
1275
1275
  "aria-label": "Close",
1276
- children: /* @__PURE__ */ o(ze, {})
1276
+ children: /* @__PURE__ */ o(Ve, {})
1277
1277
  }
1278
1278
  )
1279
1279
  ] }),
1280
- /* @__PURE__ */ o("div", { className: q.results, children: t.length === 0 ? /* @__PURE__ */ o("div", { className: q.noResults, children: r("ui.noTagResults") }) : /* @__PURE__ */ o("ul", { className: q.resultsList, children: t.map((i) => /* @__PURE__ */ o("li", { children: /* @__PURE__ */ m(
1280
+ /* @__PURE__ */ o("div", { className: q.results, children: t.length === 0 ? /* @__PURE__ */ o("div", { className: q.noResults, children: s("ui.noTagResults") }) : /* @__PURE__ */ o("ul", { className: q.resultsList, children: t.map((i) => /* @__PURE__ */ o("li", { children: /* @__PURE__ */ m(
1281
1281
  "button",
1282
1282
  {
1283
1283
  type: "button",
@@ -1296,19 +1296,19 @@ function Ra({
1296
1296
  document.body
1297
1297
  );
1298
1298
  }
1299
- const Ba = "_tags_11t8a_1", Ha = "_compact_11t8a_9", ja = "_tagLabel_11t8a_15", Fa = "_tagIcon_11t8a_25", qa = "_tagList_11t8a_30", Wa = "_tag_11t8a_1", se = {
1300
- tags: Ba,
1301
- compact: Ha,
1302
- tagLabel: ja,
1303
- tagIcon: Fa,
1304
- tagList: qa,
1299
+ const Ha = "_tags_11t8a_1", ja = "_compact_11t8a_9", Fa = "_tagLabel_11t8a_15", qa = "_tagIcon_11t8a_25", Ua = "_tagList_11t8a_30", Wa = "_tag_11t8a_1", se = {
1300
+ tags: Ha,
1301
+ compact: ja,
1302
+ tagLabel: Fa,
1303
+ tagIcon: qa,
1304
+ tagList: Ua,
1305
1305
  tag: Wa
1306
1306
  };
1307
1307
  function za({ tags: e, variant: t = "default", onTagClick: n }) {
1308
1308
  const { t: a } = D();
1309
1309
  if (!e || e.length === 0) return null;
1310
- const r = (s) => {
1311
- n && n(s);
1310
+ const s = (r) => {
1311
+ n && n(r);
1312
1312
  };
1313
1313
  return /* @__PURE__ */ m(
1314
1314
  "div",
@@ -1316,58 +1316,58 @@ function za({ tags: e, variant: t = "default", onTagClick: n }) {
1316
1316
  className: `${se.tags} ${t === "compact" ? se.compact : ""}`,
1317
1317
  children: [
1318
1318
  t === "default" && /* @__PURE__ */ m("div", { className: se.tagLabel, children: [
1319
- /* @__PURE__ */ o(Qt, { className: se.tagIcon, weight: "duotone" }),
1319
+ /* @__PURE__ */ o(Xt, { className: se.tagIcon, weight: "duotone" }),
1320
1320
  /* @__PURE__ */ m("span", { children: [
1321
1321
  a("ui.tags"),
1322
1322
  ":"
1323
1323
  ] })
1324
1324
  ] }),
1325
- /* @__PURE__ */ o("div", { className: se.tagList, children: e.map((s) => /* @__PURE__ */ o(
1325
+ /* @__PURE__ */ o("div", { className: se.tagList, children: e.map((r) => /* @__PURE__ */ o(
1326
1326
  "button",
1327
1327
  {
1328
1328
  type: "button",
1329
1329
  className: se.tag,
1330
- onClick: () => r(s),
1331
- "aria-label": `${a("ui.filterByTag")}: ${s}`,
1332
- children: s
1330
+ onClick: () => s(r),
1331
+ "aria-label": `${a("ui.filterByTag")}: ${r}`,
1332
+ children: r
1333
1333
  },
1334
- s
1334
+ r
1335
1335
  )) })
1336
1336
  ]
1337
1337
  }
1338
1338
  );
1339
1339
  }
1340
- const Ua = "_contentPage_818m0_1", Ka = "_loadingContainer_818m0_48", Va = "_errorContainer_818m0_49", Ya = "_skeletonTitle_818m0_71", Ga = "_skeletonParagraph_818m0_80", Qa = "_skeletonParagraphShort_818m0_93", Xa = "_errorText_818m0_107", Za = "_mdxContent_818m0_112", Ja = "_withMetadata_818m0_125", eo = "_codeBlock_818m0_300", to = "_codeLanguage_818m0_304", O = {
1341
- contentPage: Ua,
1342
- loadingContainer: Ka,
1343
- errorContainer: Va,
1344
- skeletonTitle: Ya,
1345
- skeletonParagraph: Ga,
1346
- skeletonParagraphShort: Qa,
1347
- errorText: Xa,
1348
- mdxContent: Za,
1349
- withMetadata: Ja,
1350
- codeBlock: eo,
1351
- codeLanguage: to
1352
- }, Ct = (e) => {
1340
+ const Ka = "_contentPage_818m0_1", Va = "_loadingContainer_818m0_48", Ya = "_errorContainer_818m0_49", Ga = "_skeletonTitle_818m0_71", Qa = "_skeletonParagraph_818m0_80", Xa = "_skeletonParagraphShort_818m0_93", Za = "_errorText_818m0_107", Ja = "_mdxContent_818m0_112", eo = "_withMetadata_818m0_125", to = "_codeBlock_818m0_300", no = "_codeLanguage_818m0_304", O = {
1341
+ contentPage: Ka,
1342
+ loadingContainer: Va,
1343
+ errorContainer: Ya,
1344
+ skeletonTitle: Ga,
1345
+ skeletonParagraph: Qa,
1346
+ skeletonParagraphShort: Xa,
1347
+ errorText: Za,
1348
+ mdxContent: Ja,
1349
+ withMetadata: eo,
1350
+ codeBlock: to,
1351
+ codeLanguage: no
1352
+ }, $t = (e) => {
1353
1353
  const t = e.match(/^\s*#\s+(.+)\s*(?:\n+|$)/);
1354
1354
  return t ? {
1355
1355
  title: t[1].trim(),
1356
1356
  content: e.replace(/^\s*#\s+.+\s*(?:\n+|$)/, "")
1357
1357
  } : { title: void 0, content: e };
1358
1358
  };
1359
- function no({ language: e }) {
1360
- var tt, nt, at, ot, st;
1361
- const { slug: t } = We(), n = te(), { config: a, loadContent: r, loadEnglishContent: s } = M(), [c, d] = I(""), [i, l] = I(""), [u, g] = I({}), [h, p] = I(!0), [y, f] = I(null), [_, b] = I(!0), [T, E] = I(null), [z, w] = I(""), [C, R] = I({}), j = X(0), Y = X([]), pe = Ft(n.search), ne = pe.advanced;
1359
+ function ao({ language: e }) {
1360
+ var nt, at, ot, rt, st;
1361
+ const { slug: t } = Ke(), n = te(), { config: a, loadContent: s, loadEnglishContent: r } = M(), [c, d] = I(""), [i, l] = I(""), [u, p] = I({}), [h, g] = I(!0), [y, f] = I(null), [_, b] = I(!0), [w, E] = I(null), [W, T] = I(""), [C, R] = I({}), j = X(0), V = X([]), _e = qt(n.search), ne = _e.advanced;
1362
1362
  if (L(() => {
1363
1363
  (async () => {
1364
1364
  if (!t) return;
1365
- p(!0), f(null), j.current = 0;
1365
+ g(!0), f(null), j.current = 0;
1366
1366
  const N = (a == null ? void 0 : a.navigationData) || [];
1367
1367
  let P = !0;
1368
1368
  for (const k of N)
1369
1369
  if ("items" in k) {
1370
- const x = k.items.find((ae) => ae.slug === t);
1370
+ const x = k.items.find((oe) => oe.slug === t);
1371
1371
  if (x) {
1372
1372
  P = x.showTableOfContents !== !1;
1373
1373
  break;
@@ -1380,39 +1380,39 @@ function no({ language: e }) {
1380
1380
  try {
1381
1381
  let k;
1382
1382
  try {
1383
- k = await r(e, t, ne);
1383
+ k = await s(e, t, ne);
1384
1384
  } catch {
1385
1385
  if (ne)
1386
- k = await r(e, t, !1);
1386
+ k = await s(e, t, !1);
1387
1387
  else
1388
1388
  throw new Error("Content not found");
1389
1389
  }
1390
1390
  let x = "";
1391
1391
  try {
1392
- x = await s(t, ne);
1392
+ x = await r(t, ne);
1393
1393
  } catch {
1394
- ne && (x = await s(t, !1));
1394
+ ne && (x = await r(t, !1));
1395
1395
  }
1396
- const ae = typeof k.frontmatter.title == "string" ? k.frontmatter.title : void 0;
1397
- let ve = k.content, be = x, Ie = "";
1398
- if (ae) {
1399
- const ye = Ct(x), qt = Ct(k.content);
1400
- Ie = ye.title || "", be = ye.content, ve = qt.content;
1396
+ const oe = typeof k.frontmatter.title == "string" ? k.frontmatter.title : void 0;
1397
+ let we = k.content, Te = x, Le = "";
1398
+ if (oe) {
1399
+ const ke = $t(x), Ut = $t(k.content);
1400
+ Le = ke.title || "", Te = ke.content, we = Ut.content;
1401
1401
  } else
1402
- Ie = "";
1403
- const rt = /^(#{1,6})\s+(.+)$/gm, ct = [];
1404
- let xe = rt.exec(
1405
- be
1402
+ Le = "";
1403
+ const ct = /^(#{1,6})\s+(.+)$/gm, it = [];
1404
+ let Pe = ct.exec(
1405
+ Te
1406
1406
  );
1407
- for (; xe !== null; ) {
1408
- const ye = xe[2].trim();
1409
- ct.push(ye), xe = rt.exec(be);
1407
+ for (; Pe !== null; ) {
1408
+ const ke = Pe[2].trim();
1409
+ it.push(ke), Pe = ct.exec(Te);
1410
1410
  }
1411
- Y.current = ct, w(Ie), l(be), d(ve), g(k.frontmatter);
1411
+ V.current = it, T(Le), l(Te), d(we), p(k.frontmatter);
1412
1412
  } catch (k) {
1413
1413
  f(k instanceof Error ? k.message : "Failed to load content");
1414
1414
  } finally {
1415
- p(!1);
1415
+ g(!1);
1416
1416
  }
1417
1417
  })();
1418
1418
  }, [
@@ -1420,27 +1420,27 @@ function no({ language: e }) {
1420
1420
  e,
1421
1421
  ne,
1422
1422
  a.navigationData,
1423
- r,
1424
- s
1423
+ s,
1424
+ r
1425
1425
  ]), L(() => {
1426
- if (!h && pe.anchor) {
1426
+ if (!h && _e.anchor) {
1427
1427
  const v = setTimeout(() => {
1428
- kt(pe.anchor);
1428
+ Ct(_e.anchor);
1429
1429
  }, 150);
1430
1430
  return () => clearTimeout(v);
1431
1431
  }
1432
- }, [h, pe.anchor]), L(() => {
1432
+ }, [h, _e.anchor]), L(() => {
1433
1433
  (async () => {
1434
1434
  if (!t || !a.showArticleNavigation || !a.navigationData) {
1435
1435
  R({});
1436
1436
  return;
1437
1437
  }
1438
1438
  try {
1439
- const N = await Ce(
1439
+ const N = await Ie(
1440
1440
  a.navigationData,
1441
1441
  e,
1442
- r
1443
- ), P = Rn(t, N);
1442
+ s
1443
+ ), P = Bn(t, N);
1444
1444
  R(P);
1445
1445
  } catch (N) {
1446
1446
  console.error("Failed to calculate adjacent articles:", N), R({});
@@ -1451,7 +1451,7 @@ function no({ language: e }) {
1451
1451
  e,
1452
1452
  a.showArticleNavigation,
1453
1453
  a.navigationData,
1454
- r
1454
+ s
1455
1455
  ]), h)
1456
1456
  return /* @__PURE__ */ o("div", { className: O.contentPage, children: /* @__PURE__ */ m("div", { className: O.loadingContainer, children: [
1457
1457
  /* @__PURE__ */ o("div", { className: O.skeletonTitle }),
@@ -1464,74 +1464,78 @@ function no({ language: e }) {
1464
1464
  "Error: ",
1465
1465
  y
1466
1466
  ] }) }) });
1467
- const _e = typeof u.title == "string" && u.title.trim().length > 0, $e = _e ? re(z || u.title) : "", Qe = !!(u.date || u.author);
1467
+ const ve = typeof u.title == "string" && u.title.trim().length > 0, xe = ve ? ce(W || u.title) : "", Je = !!(u.date || u.author);
1468
1468
  j.current = 0;
1469
- let Xe = !1;
1470
- const le = (v, N) => {
1471
- v.preventDefault(), kt(N), Hn(N, ne);
1472
- }, Ze = u.title ? `${u.title} | ${a.title}` : a.title, Je = u.description || a.description, et = u.keywords ? typeof u.keywords == "string" ? u.keywords : u.keywords.join(", ") : void 0, Ne = u.ogImage ? `${a.basePath ? `${a.basePath}` : ""}/og/${e}/${u.ogImage}` : void 0;
1473
- return /* @__PURE__ */ m(V, { children: [
1474
- /* @__PURE__ */ m(Dt, { children: [
1475
- /* @__PURE__ */ o("title", { children: Ze }),
1476
- Je && /* @__PURE__ */ o("meta", { name: "description", content: Je }),
1477
- et && /* @__PURE__ */ o("meta", { name: "keywords", content: et }),
1478
- Ne && /* @__PURE__ */ m(V, { children: [
1479
- /* @__PURE__ */ o("meta", { property: "og:image", content: Ne }),
1480
- /* @__PURE__ */ o("meta", { property: "og:title", content: Ze }),
1481
- /* @__PURE__ */ o("meta", { name: "twitter:card", content: "summary_large_image" }),
1482
- /* @__PURE__ */ o("meta", { name: "twitter:image", content: Ne })
1483
- ] })
1469
+ let et = !1;
1470
+ const de = (v, N) => {
1471
+ v.preventDefault(), Ct(N), jn(N, ne);
1472
+ }, Se = u.title ? `${u.title} | ${a.title}` : a.title, ae = u.description || a.description, tt = u.keywords ? typeof u.keywords == "string" ? u.keywords : u.keywords.join(", ") : void 0, be = u.ogImage ? `${a.siteUrl}${a.basePath || ""}/og/${e}/${u.ogImage}` : void 0, ye = typeof window < "u" ? `${a.siteUrl}${window.location.pathname}${window.location.search}${window.location.hash}` : a.siteUrl;
1473
+ return /* @__PURE__ */ m(G, { children: [
1474
+ /* @__PURE__ */ m(Mt, { children: [
1475
+ /* @__PURE__ */ o("title", { children: Se }),
1476
+ ae && /* @__PURE__ */ o("meta", { name: "description", content: ae }),
1477
+ tt && /* @__PURE__ */ o("meta", { name: "keywords", content: tt }),
1478
+ /* @__PURE__ */ o("meta", { property: "og:type", content: "article" }),
1479
+ ye && /* @__PURE__ */ o("meta", { property: "og:url", content: ye }),
1480
+ /* @__PURE__ */ o("meta", { property: "og:title", content: Se }),
1481
+ ae && /* @__PURE__ */ o("meta", { property: "og:description", content: ae }),
1482
+ be && /* @__PURE__ */ o("meta", { property: "og:image", content: be }),
1483
+ /* @__PURE__ */ o("meta", { name: "twitter:card", content: "summary_large_image" }),
1484
+ ye && /* @__PURE__ */ o("meta", { name: "twitter:url", content: ye }),
1485
+ /* @__PURE__ */ o("meta", { name: "twitter:title", content: Se }),
1486
+ ae && /* @__PURE__ */ o("meta", { name: "twitter:description", content: ae }),
1487
+ be && /* @__PURE__ */ o("meta", { name: "twitter:image", content: be })
1484
1488
  ] }),
1485
1489
  /* @__PURE__ */ m("div", { className: O.contentPage, children: [
1486
- /* @__PURE__ */ o(cn, { hasAdvanced: u.hasAdvanced || !1 }),
1487
- _e && /* @__PURE__ */ m(V, { children: [
1488
- /* @__PURE__ */ o(ia, { articleTitle: u.title, language: e }),
1490
+ /* @__PURE__ */ o(ln, { hasAdvanced: u.hasAdvanced || !1 }),
1491
+ ve && /* @__PURE__ */ m(G, { children: [
1492
+ /* @__PURE__ */ o(la, { articleTitle: u.title, language: e }),
1489
1493
  /* @__PURE__ */ o(
1490
1494
  "h1",
1491
1495
  {
1492
- id: $e,
1493
- className: Qe ? O.withMetadata : void 0,
1496
+ id: xe,
1497
+ className: Je ? O.withMetadata : void 0,
1494
1498
  children: /* @__PURE__ */ o(
1495
1499
  "a",
1496
1500
  {
1497
- href: `#${$e}`,
1498
- onClick: (v) => le(v, $e),
1501
+ href: `#${xe}`,
1502
+ onClick: (v) => de(v, xe),
1499
1503
  style: { color: "inherit", textDecoration: "none" },
1500
1504
  children: u.title
1501
1505
  }
1502
1506
  )
1503
1507
  }
1504
1508
  ),
1505
- Qe && /* @__PURE__ */ o(qe, { date: u.date, author: u.author })
1509
+ Je && /* @__PURE__ */ o(ze, { date: u.date, author: u.author })
1506
1510
  ] }),
1507
1511
  /* @__PURE__ */ o("div", { className: O.mdxContent, children: /* @__PURE__ */ o(
1508
- nn,
1512
+ an,
1509
1513
  {
1510
- remarkPlugins: [an],
1514
+ remarkPlugins: [on],
1511
1515
  components: {
1512
1516
  h1: ({ children: v }) => {
1513
- const N = j.current++, P = Y.current[N] || "", k = re(P), x = !Xe;
1514
- Xe = !0;
1515
- const ae = u.date || u.author;
1516
- return /* @__PURE__ */ m(V, { children: [
1517
+ const N = j.current++, P = V.current[N] || "", k = ce(P), x = !et;
1518
+ et = !0;
1519
+ const oe = u.date || u.author;
1520
+ return /* @__PURE__ */ m(G, { children: [
1517
1521
  /* @__PURE__ */ o(
1518
1522
  "h1",
1519
1523
  {
1520
1524
  id: k,
1521
- className: x && ae && !_e ? O.withMetadata : void 0,
1525
+ className: x && oe && !ve ? O.withMetadata : void 0,
1522
1526
  children: /* @__PURE__ */ o(
1523
1527
  "a",
1524
1528
  {
1525
1529
  href: `#${k}`,
1526
- onClick: (ve) => le(ve, k),
1530
+ onClick: (we) => de(we, k),
1527
1531
  style: { color: "inherit", textDecoration: "none" },
1528
1532
  children: v
1529
1533
  }
1530
1534
  )
1531
1535
  }
1532
1536
  ),
1533
- x && ae && !_e && /* @__PURE__ */ o(
1534
- qe,
1537
+ x && oe && !ve && /* @__PURE__ */ o(
1538
+ ze,
1535
1539
  {
1536
1540
  date: u.date,
1537
1541
  author: u.author
@@ -1540,36 +1544,36 @@ function no({ language: e }) {
1540
1544
  ] });
1541
1545
  },
1542
1546
  h2: ({ children: v }) => {
1543
- const N = j.current++, P = Y.current[N] || "", k = re(P);
1547
+ const N = j.current++, P = V.current[N] || "", k = ce(P);
1544
1548
  return /* @__PURE__ */ o("h2", { id: k, children: /* @__PURE__ */ o(
1545
1549
  "a",
1546
1550
  {
1547
1551
  href: `#${k}`,
1548
- onClick: (x) => le(x, k),
1552
+ onClick: (x) => de(x, k),
1549
1553
  style: { color: "inherit", textDecoration: "none" },
1550
1554
  children: v
1551
1555
  }
1552
1556
  ) });
1553
1557
  },
1554
1558
  h3: ({ children: v }) => {
1555
- const N = j.current++, P = Y.current[N] || "", k = re(P);
1559
+ const N = j.current++, P = V.current[N] || "", k = ce(P);
1556
1560
  return /* @__PURE__ */ o("h3", { id: k, children: /* @__PURE__ */ o(
1557
1561
  "a",
1558
1562
  {
1559
1563
  href: `#${k}`,
1560
- onClick: (x) => le(x, k),
1564
+ onClick: (x) => de(x, k),
1561
1565
  style: { color: "inherit", textDecoration: "none" },
1562
1566
  children: v
1563
1567
  }
1564
1568
  ) });
1565
1569
  },
1566
1570
  h4: ({ children: v }) => {
1567
- const N = j.current++, P = Y.current[N] || "", k = re(P);
1571
+ const N = j.current++, P = V.current[N] || "", k = ce(P);
1568
1572
  return /* @__PURE__ */ o("h4", { id: k, children: /* @__PURE__ */ o(
1569
1573
  "a",
1570
1574
  {
1571
1575
  href: `#${k}`,
1572
- onClick: (x) => le(x, k),
1576
+ onClick: (x) => de(x, k),
1573
1577
  style: { color: "inherit", textDecoration: "none" },
1574
1578
  children: v
1575
1579
  }
@@ -1596,12 +1600,12 @@ function no({ language: e }) {
1596
1600
  /* @__PURE__ */ o("pre", { children: /* @__PURE__ */ o("code", { className: v, ...P, children: N }) })
1597
1601
  ] });
1598
1602
  },
1599
- pre: ({ children: v }) => /* @__PURE__ */ o(V, { children: v }),
1603
+ pre: ({ children: v }) => /* @__PURE__ */ o(G, { children: v }),
1600
1604
  // Let code component handle pre styling
1601
1605
  blockquote: ({ children: v }) => /* @__PURE__ */ o("blockquote", { children: v }),
1602
1606
  a: ({ href: v, children: N, ...P }) => {
1603
1607
  if (v != null && v.startsWith("./")) {
1604
- const k = v.slice(2), x = Bn(
1608
+ const k = v.slice(2), x = Hn(
1605
1609
  k,
1606
1610
  e,
1607
1611
  a.basePath
@@ -1635,86 +1639,86 @@ function no({ language: e }) {
1635
1639
  }
1636
1640
  ),
1637
1641
  a.showArticleNavigation && /* @__PURE__ */ o(
1638
- Gn,
1642
+ Qn,
1639
1643
  {
1640
- prevSlug: (tt = C.prev) == null ? void 0 : tt.slug,
1641
- prevTitle: (nt = C.prev) == null ? void 0 : nt.title,
1642
- nextSlug: (at = C.next) == null ? void 0 : at.slug,
1643
- nextTitle: (ot = C.next) == null ? void 0 : ot.title,
1644
+ prevSlug: (nt = C.prev) == null ? void 0 : nt.slug,
1645
+ prevTitle: (at = C.prev) == null ? void 0 : at.title,
1646
+ nextSlug: (ot = C.next) == null ? void 0 : ot.slug,
1647
+ nextTitle: (rt = C.next) == null ? void 0 : rt.title,
1644
1648
  language: e
1645
1649
  }
1646
1650
  )
1647
1651
  ] }),
1648
- _ && /* @__PURE__ */ o($a, { content: c, englishContent: i }),
1649
- T && ((st = a.tagIndex) == null ? void 0 : st[e]) && /* @__PURE__ */ o(
1650
- Ra,
1652
+ _ && /* @__PURE__ */ o(Na, { content: c, englishContent: i }),
1653
+ w && ((st = a.tagIndex) == null ? void 0 : st[e]) && /* @__PURE__ */ o(
1654
+ Ba,
1651
1655
  {
1652
- tag: T,
1653
- results: a.tagIndex[e][T] || [],
1656
+ tag: w,
1657
+ results: a.tagIndex[e][w] || [],
1654
1658
  language: e,
1655
1659
  onClose: () => E(null)
1656
1660
  }
1657
1661
  )
1658
1662
  ] });
1659
1663
  }
1660
- const ao = "_searchButton_1k9sl_1", oo = "_searchIcon_1k9sl_17", so = "_searchHint_1k9sl_23", ro = "_kbd_1k9sl_27", co = "_searchOverlay_1k9sl_42", io = "_searchModal_1k9sl_67", lo = "_searchHeader_1k9sl_91", uo = "_searchInput_1k9sl_105", ho = "_closeButton_1k9sl_123", mo = "_searchResults_1k9sl_144", fo = "_resultsList_1k9sl_152", go = "_resultItem_1k9sl_158", po = "_selected_1k9sl_173", _o = "_resultTitle_1k9sl_176", vo = "_resultSlug_1k9sl_180", bo = "_noResults_1k9sl_186", yo = "_searchHints_1k9sl_193", To = "_hint_1k9sl_210", S = {
1661
- searchButton: ao,
1662
- searchIcon: oo,
1664
+ const oo = "_searchButton_1k9sl_1", ro = "_searchIcon_1k9sl_17", so = "_searchHint_1k9sl_23", co = "_kbd_1k9sl_27", io = "_searchOverlay_1k9sl_42", lo = "_searchModal_1k9sl_67", uo = "_searchHeader_1k9sl_91", ho = "_searchInput_1k9sl_105", mo = "_closeButton_1k9sl_123", fo = "_searchResults_1k9sl_144", po = "_resultsList_1k9sl_152", go = "_resultItem_1k9sl_158", _o = "_selected_1k9sl_173", vo = "_resultTitle_1k9sl_176", bo = "_resultSlug_1k9sl_180", yo = "_noResults_1k9sl_186", wo = "_searchHints_1k9sl_193", To = "_hint_1k9sl_210", S = {
1665
+ searchButton: oo,
1666
+ searchIcon: ro,
1663
1667
  searchHint: so,
1664
- kbd: ro,
1665
- searchOverlay: co,
1666
- searchModal: io,
1667
- searchHeader: lo,
1668
- searchInput: uo,
1669
- closeButton: ho,
1670
- searchResults: mo,
1671
- resultsList: fo,
1668
+ kbd: co,
1669
+ searchOverlay: io,
1670
+ searchModal: lo,
1671
+ searchHeader: uo,
1672
+ searchInput: ho,
1673
+ closeButton: mo,
1674
+ searchResults: fo,
1675
+ resultsList: po,
1672
1676
  resultItem: go,
1673
- selected: po,
1674
- resultTitle: _o,
1675
- resultSlug: vo,
1676
- noResults: bo,
1677
- searchHints: yo,
1677
+ selected: _o,
1678
+ resultTitle: vo,
1679
+ resultSlug: bo,
1680
+ noResults: yo,
1681
+ searchHints: wo,
1678
1682
  hint: To
1679
1683
  };
1680
- function wo({ language: e }) {
1681
- const { t } = D(), n = Z(), { config: a, loadContent: r } = M(), [s, c] = I(!1), [d, i] = I(""), [l, u] = I([]), [g, h] = I(0), [p, y] = I([]), f = X(null), _ = X(null), T = typeof navigator < "u" && /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform) ? "⌘K" : "Ctrl+K";
1684
+ function ko({ language: e }) {
1685
+ const { t } = D(), n = Z(), { config: a, loadContent: s } = M(), [r, c] = I(!1), [d, i] = I(""), [l, u] = I([]), [p, h] = I(0), [g, y] = I([]), f = X(null), _ = X(null), w = typeof navigator < "u" && /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform) ? "⌘K" : "Ctrl+K";
1682
1686
  L(() => {
1683
1687
  (async () => {
1684
1688
  if (a.navigationData)
1685
1689
  try {
1686
- const R = (await Ce(
1690
+ const R = (await Ie(
1687
1691
  a.navigationData,
1688
1692
  e,
1689
- r
1690
- )).flatMap((j) => ge(j) ? j.items.map((Y) => ({
1691
- title: Y.title,
1692
- slug: Y.slug
1693
+ s
1694
+ )).flatMap((j) => ge(j) ? j.items.map((V) => ({
1695
+ title: V.title,
1696
+ slug: V.slug
1693
1697
  })) : [{ title: j.title, slug: j.slug }]);
1694
1698
  y(R);
1695
1699
  } catch (C) {
1696
1700
  console.error("Failed to build search index:", C);
1697
1701
  }
1698
1702
  })();
1699
- }, [a.navigationData, e, r]), L(() => {
1703
+ }, [a.navigationData, e, s]), L(() => {
1700
1704
  if (!d.trim()) {
1701
1705
  u([]), h(0);
1702
1706
  return;
1703
1707
  }
1704
- const w = d.toLowerCase(), C = p.filter(
1705
- (R) => R.title.toLowerCase().includes(w) || R.slug.toLowerCase().includes(w)
1708
+ const T = d.toLowerCase(), C = g.filter(
1709
+ (R) => R.title.toLowerCase().includes(T) || R.slug.toLowerCase().includes(T)
1706
1710
  );
1707
1711
  u(C), h(0);
1708
1712
  }, [d]), L(() => {
1709
- const w = (C) => {
1713
+ const T = (C) => {
1710
1714
  (C.metaKey || C.ctrlKey) && C.key === "k" && (C.preventDefault(), c(!0), setTimeout(() => {
1711
1715
  var R;
1712
1716
  return (R = f.current) == null ? void 0 : R.focus();
1713
- }, 100)), C.key === "Escape" && s && (c(!1), i(""));
1717
+ }, 100)), C.key === "Escape" && r && (c(!1), i(""));
1714
1718
  };
1715
- return document.addEventListener("keydown", w), () => document.removeEventListener("keydown", w);
1716
- }, [s]), L(() => {
1717
- const w = () => {
1719
+ return document.addEventListener("keydown", T), () => document.removeEventListener("keydown", T);
1720
+ }, [r]), L(() => {
1721
+ const T = () => {
1718
1722
  c(!0), setTimeout(() => {
1719
1723
  var R;
1720
1724
  return (R = f.current) == null ? void 0 : R.focus();
@@ -1722,24 +1726,24 @@ function wo({ language: e }) {
1722
1726
  }, C = () => {
1723
1727
  c(!1), i("");
1724
1728
  };
1725
- return window.addEventListener("blog:open-search", w), window.addEventListener("blog:close-search", C), () => {
1726
- window.removeEventListener("blog:open-search", w), window.removeEventListener("blog:close-search", C);
1729
+ return window.addEventListener("blog:open-search", T), window.addEventListener("blog:close-search", C), () => {
1730
+ window.removeEventListener("blog:open-search", T), window.removeEventListener("blog:close-search", C);
1727
1731
  };
1728
1732
  }, []);
1729
- const E = (w) => {
1730
- w.key === "ArrowDown" ? (w.preventDefault(), h((C) => Math.min(C + 1, l.length - 1))) : w.key === "ArrowUp" ? (w.preventDefault(), h((C) => Math.max(C - 1, 0))) : w.key === "Enter" && l[g] && (w.preventDefault(), z(l[g].slug));
1733
+ const E = (T) => {
1734
+ T.key === "ArrowDown" ? (T.preventDefault(), h((C) => Math.min(C + 1, l.length - 1))) : T.key === "ArrowUp" ? (T.preventDefault(), h((C) => Math.max(C - 1, 0))) : T.key === "Enter" && l[p] && (T.preventDefault(), W(l[p].slug));
1731
1735
  };
1732
1736
  L(() => {
1733
- const w = (C) => {
1737
+ const T = (C) => {
1734
1738
  _.current && !_.current.contains(C.target) && (c(!1), i(""));
1735
1739
  };
1736
- return s && document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
1737
- }, [s]);
1738
- const z = (w) => {
1740
+ return r && document.addEventListener("mousedown", T), () => document.removeEventListener("mousedown", T);
1741
+ }, [r]);
1742
+ const W = (T) => {
1739
1743
  const C = a.basePath || "";
1740
- n(`${C}/${e}/${w}`), c(!1), i("");
1744
+ n(`${C}/${e}/${T}`), c(!1), i("");
1741
1745
  };
1742
- return /* @__PURE__ */ m(V, { children: [
1746
+ return /* @__PURE__ */ m(G, { children: [
1743
1747
  /* @__PURE__ */ m(
1744
1748
  "button",
1745
1749
  {
@@ -1747,19 +1751,19 @@ function wo({ language: e }) {
1747
1751
  className: S.searchButton,
1748
1752
  onClick: () => {
1749
1753
  c(!0), setTimeout(() => {
1750
- var w;
1751
- return (w = f.current) == null ? void 0 : w.focus();
1754
+ var T;
1755
+ return (T = f.current) == null ? void 0 : T.focus();
1752
1756
  }, 100);
1753
1757
  },
1754
1758
  "aria-label": t("ui.search"),
1755
1759
  children: [
1756
- /* @__PURE__ */ o(lt, { className: S.searchIcon }),
1760
+ /* @__PURE__ */ o(dt, { className: S.searchIcon }),
1757
1761
  /* @__PURE__ */ o("span", { className: S.searchHint, children: t("ui.search") }),
1758
- /* @__PURE__ */ o("kbd", { className: S.kbd, children: T })
1762
+ /* @__PURE__ */ o("kbd", { className: S.kbd, children: w })
1759
1763
  ]
1760
1764
  }
1761
1765
  ),
1762
- s && It(
1766
+ r && xt(
1763
1767
  /* @__PURE__ */ o(
1764
1768
  "div",
1765
1769
  {
@@ -1772,10 +1776,10 @@ function wo({ language: e }) {
1772
1776
  {
1773
1777
  className: S.searchModal,
1774
1778
  ref: _,
1775
- onClick: (w) => w.stopPropagation(),
1779
+ onClick: (T) => T.stopPropagation(),
1776
1780
  children: [
1777
1781
  /* @__PURE__ */ m("div", { className: S.searchHeader, children: [
1778
- /* @__PURE__ */ o(lt, { className: S.searchIcon }),
1782
+ /* @__PURE__ */ o(dt, { className: S.searchIcon }),
1779
1783
  /* @__PURE__ */ o(
1780
1784
  "input",
1781
1785
  {
@@ -1784,7 +1788,7 @@ function wo({ language: e }) {
1784
1788
  className: S.searchInput,
1785
1789
  placeholder: t("ui.searchPlaceholder"),
1786
1790
  value: d,
1787
- onChange: (w) => i(w.target.value),
1791
+ onChange: (T) => i(T.target.value),
1788
1792
  onKeyDown: E
1789
1793
  }
1790
1794
  ),
@@ -1797,26 +1801,26 @@ function wo({ language: e }) {
1797
1801
  c(!1), i("");
1798
1802
  },
1799
1803
  "aria-label": "Close search",
1800
- children: /* @__PURE__ */ o(ze, {})
1804
+ children: /* @__PURE__ */ o(Ve, {})
1801
1805
  }
1802
1806
  )
1803
1807
  ] }),
1804
- d && /* @__PURE__ */ o("div", { className: S.searchResults, children: l.length === 0 ? /* @__PURE__ */ o("div", { className: S.noResults, children: t("ui.noSearchResults") }) : /* @__PURE__ */ o("ul", { className: S.resultsList, children: l.map((w, C) => /* @__PURE__ */ o("li", { children: /* @__PURE__ */ m(
1808
+ d && /* @__PURE__ */ o("div", { className: S.searchResults, children: l.length === 0 ? /* @__PURE__ */ o("div", { className: S.noResults, children: t("ui.noSearchResults") }) : /* @__PURE__ */ o("ul", { className: S.resultsList, children: l.map((T, C) => /* @__PURE__ */ o("li", { children: /* @__PURE__ */ m(
1805
1809
  "button",
1806
1810
  {
1807
1811
  type: "button",
1808
- className: `${S.resultItem} ${C === g ? S.selected : ""}`,
1809
- onClick: () => z(w.slug),
1812
+ className: `${S.resultItem} ${C === p ? S.selected : ""}`,
1813
+ onClick: () => W(T.slug),
1810
1814
  onMouseEnter: () => h(C),
1811
1815
  children: [
1812
- /* @__PURE__ */ o("div", { className: S.resultTitle, children: w.title }),
1816
+ /* @__PURE__ */ o("div", { className: S.resultTitle, children: T.title }),
1813
1817
  /* @__PURE__ */ m("div", { className: S.resultSlug, children: [
1814
1818
  "/",
1815
- w.slug
1819
+ T.slug
1816
1820
  ] })
1817
1821
  ]
1818
1822
  }
1819
- ) }, w.slug)) }) }),
1823
+ ) }, T.slug)) }) }),
1820
1824
  !d && /* @__PURE__ */ m("div", { className: S.searchHints, children: [
1821
1825
  /* @__PURE__ */ m("div", { className: S.hint, children: [
1822
1826
  /* @__PURE__ */ o("kbd", { children: "↑" }),
@@ -1841,32 +1845,32 @@ function wo({ language: e }) {
1841
1845
  )
1842
1846
  ] });
1843
1847
  }
1844
- const ko = "_header_jrobc_1", Co = "_container_jrobc_24", $o = "_content_jrobc_36", No = "_leftSection_jrobc_43", Io = "_mobileMenuButton_jrobc_49", xo = "_burgerIcon_jrobc_87", So = "_logo_jrobc_92", Lo = "_nav_jrobc_98", Po = "_navLink_jrobc_109", Eo = "_externalIcon_jrobc_135", Ao = "_supportDropdown_jrobc_141", Oo = "_themeDropdown_jrobc_145", Do = "_themeButton_jrobc_149", Mo = "_themeIcon_jrobc_171", Ro = "_supportButton_jrobc_177", Bo = "_caretIcon_jrobc_198", Ho = "_dropdownMenu_jrobc_208", jo = "_dropdownItem_jrobc_221", Fo = "_dropdownIcon_jrobc_244", $ = {
1845
- header: ko,
1846
- container: Co,
1847
- content: $o,
1848
- leftSection: No,
1849
- mobileMenuButton: Io,
1850
- burgerIcon: xo,
1851
- logo: So,
1852
- nav: Lo,
1853
- navLink: Po,
1854
- externalIcon: Eo,
1855
- supportDropdown: Ao,
1856
- themeDropdown: Oo,
1857
- themeButton: Do,
1858
- themeIcon: Mo,
1859
- supportButton: Ro,
1860
- caretIcon: Bo,
1861
- dropdownMenu: Ho,
1862
- dropdownItem: jo,
1863
- dropdownIcon: Fo
1848
+ const Co = "_header_jrobc_1", $o = "_container_jrobc_24", No = "_content_jrobc_36", Io = "_leftSection_jrobc_43", xo = "_mobileMenuButton_jrobc_49", So = "_burgerIcon_jrobc_87", Lo = "_logo_jrobc_92", Po = "_nav_jrobc_98", Eo = "_navLink_jrobc_109", Ao = "_externalIcon_jrobc_135", Oo = "_supportDropdown_jrobc_141", Do = "_themeDropdown_jrobc_145", Mo = "_themeButton_jrobc_149", Ro = "_themeIcon_jrobc_171", Bo = "_supportButton_jrobc_177", Ho = "_caretIcon_jrobc_198", jo = "_dropdownMenu_jrobc_208", Fo = "_dropdownItem_jrobc_221", qo = "_dropdownIcon_jrobc_244", $ = {
1849
+ header: Co,
1850
+ container: $o,
1851
+ content: No,
1852
+ leftSection: Io,
1853
+ mobileMenuButton: xo,
1854
+ burgerIcon: So,
1855
+ logo: Lo,
1856
+ nav: Po,
1857
+ navLink: Eo,
1858
+ externalIcon: Ao,
1859
+ supportDropdown: Oo,
1860
+ themeDropdown: Do,
1861
+ themeButton: Mo,
1862
+ themeIcon: Ro,
1863
+ supportButton: Bo,
1864
+ caretIcon: Ho,
1865
+ dropdownMenu: jo,
1866
+ dropdownItem: Fo,
1867
+ dropdownIcon: qo
1864
1868
  };
1865
- function qo({ onMobileMenuToggle: e }) {
1866
- const { t, i18n: n } = D(), { config: a } = M(), r = a.header ?? {}, s = r.navLinks ?? [], c = r.dropdownItems ?? [], [d, i] = I(!1), [l, u] = I(!1), { theme: g, setTheme: h } = Bt(), p = X(null), y = X(null);
1869
+ function Uo({ onMobileMenuToggle: e }) {
1870
+ const { t, i18n: n } = D(), { config: a } = M(), s = a.header ?? {}, r = s.navLinks ?? [], c = s.dropdownItems ?? [], [d, i] = I(!1), [l, u] = I(!1), { theme: p, setTheme: h } = Ht(), g = X(null), y = X(null);
1867
1871
  return L(() => {
1868
1872
  const f = (_) => {
1869
- p.current && !p.current.contains(_.target) && i(!1), y.current && !y.current.contains(_.target) && u(!1);
1873
+ g.current && !g.current.contains(_.target) && i(!1), y.current && !y.current.contains(_.target) && u(!1);
1870
1874
  };
1871
1875
  return document.addEventListener("mousedown", f), () => document.removeEventListener("mousedown", f);
1872
1876
  }, []), /* @__PURE__ */ o("header", { className: $.header, children: /* @__PURE__ */ o("div", { className: $.container, children: /* @__PURE__ */ m("div", { className: $.content, children: [
@@ -1878,13 +1882,13 @@ function qo({ onMobileMenuToggle: e }) {
1878
1882
  className: $.mobileMenuButton,
1879
1883
  onClick: e,
1880
1884
  "aria-label": "Open menu",
1881
- children: /* @__PURE__ */ o(Xt, { className: $.burgerIcon })
1885
+ children: /* @__PURE__ */ o(Zt, { className: $.burgerIcon })
1882
1886
  }
1883
1887
  ),
1884
1888
  /* @__PURE__ */ o("div", { className: $.logo })
1885
1889
  ] }),
1886
1890
  /* @__PURE__ */ m("nav", { className: $.nav, children: [
1887
- /* @__PURE__ */ o(wo, { language: n.language }),
1891
+ /* @__PURE__ */ o(ko, { language: n.language }),
1888
1892
  /* @__PURE__ */ m("div", { className: $.themeDropdown, ref: y, children: [
1889
1893
  /* @__PURE__ */ m(
1890
1894
  "button",
@@ -1896,10 +1900,10 @@ function qo({ onMobileMenuToggle: e }) {
1896
1900
  "aria-haspopup": "true",
1897
1901
  "aria-label": t("ui.theme"),
1898
1902
  children: [
1899
- g === "light" && /* @__PURE__ */ o(dt, { className: $.themeIcon }),
1900
- g === "dark" && /* @__PURE__ */ o(ut, { className: $.themeIcon }),
1901
- g === "system" && /* @__PURE__ */ o(ht, { className: $.themeIcon }),
1902
- /* @__PURE__ */ o(Re, { className: $.caretIcon })
1903
+ p === "light" && /* @__PURE__ */ o(ut, { className: $.themeIcon }),
1904
+ p === "dark" && /* @__PURE__ */ o(ht, { className: $.themeIcon }),
1905
+ p === "system" && /* @__PURE__ */ o(mt, { className: $.themeIcon }),
1906
+ /* @__PURE__ */ o(je, { className: $.caretIcon })
1903
1907
  ]
1904
1908
  }
1905
1909
  ),
@@ -1913,7 +1917,7 @@ function qo({ onMobileMenuToggle: e }) {
1913
1917
  },
1914
1918
  className: $.dropdownItem,
1915
1919
  children: [
1916
- /* @__PURE__ */ o(dt, { className: $.dropdownIcon }),
1920
+ /* @__PURE__ */ o(ut, { className: $.dropdownIcon }),
1917
1921
  t("ui.light")
1918
1922
  ]
1919
1923
  }
@@ -1927,7 +1931,7 @@ function qo({ onMobileMenuToggle: e }) {
1927
1931
  },
1928
1932
  className: $.dropdownItem,
1929
1933
  children: [
1930
- /* @__PURE__ */ o(ut, { className: $.dropdownIcon }),
1934
+ /* @__PURE__ */ o(ht, { className: $.dropdownIcon }),
1931
1935
  t("ui.dark")
1932
1936
  ]
1933
1937
  }
@@ -1941,14 +1945,14 @@ function qo({ onMobileMenuToggle: e }) {
1941
1945
  },
1942
1946
  className: $.dropdownItem,
1943
1947
  children: [
1944
- /* @__PURE__ */ o(ht, { className: $.dropdownIcon }),
1948
+ /* @__PURE__ */ o(mt, { className: $.dropdownIcon }),
1945
1949
  t("ui.system")
1946
1950
  ]
1947
1951
  }
1948
1952
  )
1949
1953
  ] })
1950
1954
  ] }),
1951
- c.length > 0 && /* @__PURE__ */ m("div", { className: $.supportDropdown, ref: p, children: [
1955
+ c.length > 0 && /* @__PURE__ */ m("div", { className: $.supportDropdown, ref: g, children: [
1952
1956
  /* @__PURE__ */ m(
1953
1957
  "button",
1954
1958
  {
@@ -1959,18 +1963,18 @@ function qo({ onMobileMenuToggle: e }) {
1959
1963
  "aria-haspopup": "true",
1960
1964
  children: [
1961
1965
  t("ui.support"),
1962
- /* @__PURE__ */ o(Re, { className: $.caretIcon })
1966
+ /* @__PURE__ */ o(je, { className: $.caretIcon })
1963
1967
  ]
1964
1968
  }
1965
1969
  ),
1966
1970
  d && /* @__PURE__ */ o("div", { className: $.dropdownMenu, children: c.map((f, _) => {
1967
- const b = f.target ?? (f.url.startsWith("http") ? "_blank" : "_self"), T = f.rel ?? (b === "_blank" ? "noopener noreferrer" : void 0), E = f.icon;
1971
+ const b = f.target ?? (f.url.startsWith("http") ? "_blank" : "_self"), w = f.rel ?? (b === "_blank" ? "noopener noreferrer" : void 0), E = f.icon;
1968
1972
  return /* @__PURE__ */ m(
1969
1973
  "a",
1970
1974
  {
1971
1975
  href: f.url,
1972
1976
  target: b,
1973
- rel: T,
1977
+ rel: w,
1974
1978
  className: $.dropdownItem,
1975
1979
  children: [
1976
1980
  E && /* @__PURE__ */ o(E, { className: $.dropdownIcon }),
@@ -1981,14 +1985,14 @@ function qo({ onMobileMenuToggle: e }) {
1981
1985
  );
1982
1986
  }) })
1983
1987
  ] }),
1984
- s.map((f, _) => {
1985
- const b = f.target ?? (typeof f.url == "string" && f.url.startsWith("http") ? "_blank" : "_self"), T = f.rel ?? (b === "_blank" ? "noopener noreferrer" : void 0), E = f.icon;
1988
+ r.map((f, _) => {
1989
+ const b = f.target ?? (typeof f.url == "string" && f.url.startsWith("http") ? "_blank" : "_self"), w = f.rel ?? (b === "_blank" ? "noopener noreferrer" : void 0), E = f.icon;
1986
1990
  return /* @__PURE__ */ m(
1987
1991
  "a",
1988
1992
  {
1989
1993
  href: f.url,
1990
1994
  target: b,
1991
- rel: T,
1995
+ rel: w,
1992
1996
  className: f.className ?? $.navLink,
1993
1997
  children: [
1994
1998
  f.label,
@@ -2001,27 +2005,27 @@ function qo({ onMobileMenuToggle: e }) {
2001
2005
  ] })
2002
2006
  ] }) }) });
2003
2007
  }
2004
- function Ye({
2008
+ function Xe({
2005
2009
  styles: e,
2006
2010
  onLanguageChange: t
2007
2011
  }) {
2008
- const { i18n: n } = D(), a = te(), r = Z(), { config: s } = M(), [c, d] = I(!1), i = X(null), l = n.language, u = (h) => {
2009
- const p = s.basePath || "";
2012
+ const { i18n: n } = D(), a = te(), s = Z(), { config: r } = M(), [c, d] = I(!1), i = X(null), l = n.language, u = (h) => {
2013
+ const g = r.basePath || "";
2010
2014
  let y = a.pathname;
2011
- p && y.startsWith(p) && (y = y.slice(p.length));
2015
+ g && y.startsWith(g) && (y = y.slice(g.length));
2012
2016
  const f = y.split("/").filter(Boolean), _ = f[0];
2013
2017
  let b = "";
2014
- s.supportedLanguages.includes(_) ? (f[0] = h, b = `${p}/${f.join("/")}`) : b = `${p}/${h}${y}`;
2015
- const T = b + a.search + a.hash;
2016
- n.changeLanguage(h), r(T), d(!1), t == null || t();
2018
+ r.supportedLanguages.includes(_) ? (f[0] = h, b = `${g}/${f.join("/")}`) : b = `${g}/${h}${y}`;
2019
+ const w = b + a.search + a.hash;
2020
+ n.changeLanguage(h), s(w), d(!1), t == null || t();
2017
2021
  };
2018
2022
  L(() => {
2019
- const h = (p) => {
2020
- i.current && !i.current.contains(p.target) && d(!1);
2023
+ const h = (g) => {
2024
+ i.current && !i.current.contains(g.target) && d(!1);
2021
2025
  };
2022
2026
  return document.addEventListener("mousedown", h), () => document.removeEventListener("mousedown", h);
2023
2027
  }, []);
2024
- const g = (h) => n.getFixedT(h)("language") || h;
2028
+ const p = (h) => n.getFixedT(h)("language") || h;
2025
2029
  return /* @__PURE__ */ m("div", { className: e.languageSelect, ref: i, children: [
2026
2030
  /* @__PURE__ */ m(
2027
2031
  "button",
@@ -2032,13 +2036,13 @@ function Ye({
2032
2036
  "aria-expanded": c,
2033
2037
  "aria-haspopup": "listbox",
2034
2038
  children: [
2035
- /* @__PURE__ */ o(Zt, { className: e.icon }),
2036
- g(l),
2037
- /* @__PURE__ */ o(Re, { className: e.chevron })
2039
+ /* @__PURE__ */ o(Jt, { className: e.icon }),
2040
+ p(l),
2041
+ /* @__PURE__ */ o(je, { className: e.chevron })
2038
2042
  ]
2039
2043
  }
2040
2044
  ),
2041
- c && /* @__PURE__ */ o("div", { className: e.languageDropdown, role: "listbox", children: s.supportedLanguages.map((h) => /* @__PURE__ */ o(
2045
+ c && /* @__PURE__ */ o("div", { className: e.languageDropdown, role: "listbox", children: r.supportedLanguages.map((h) => /* @__PURE__ */ o(
2042
2046
  "button",
2043
2047
  {
2044
2048
  type: "button",
@@ -2046,31 +2050,31 @@ function Ye({
2046
2050
  onClick: () => u(h),
2047
2051
  role: "option",
2048
2052
  "aria-selected": h === l,
2049
- children: g(h)
2053
+ children: p(h)
2050
2054
  },
2051
2055
  h
2052
2056
  )) })
2053
2057
  ] });
2054
2058
  }
2055
- function Ge({ styles: e, onLinkClick: t }) {
2056
- const { i18n: n } = D(), a = te(), { config: r, loadContent: s } = M(), [c, d] = I([]), [i, l] = I({}), u = n.language;
2059
+ function Ze({ styles: e, onLinkClick: t }) {
2060
+ const { i18n: n } = D(), a = te(), { config: s, loadContent: r } = M(), [c, d] = I([]), [i, l] = I({}), u = n.language;
2057
2061
  L(() => {
2058
2062
  (async () => {
2059
- if (r.navigationData)
2063
+ if (s.navigationData)
2060
2064
  try {
2061
- const _ = await Ce(
2062
- r.navigationData,
2065
+ const _ = await Ie(
2066
+ s.navigationData,
2063
2067
  u,
2064
- s
2068
+ r
2065
2069
  );
2066
2070
  d(_);
2067
2071
  const b = _.reduce(
2068
- (T, E, z) => {
2072
+ (w, E, W) => {
2069
2073
  if (ge(E)) {
2070
- const w = r.navigationData[z], C = "items" in w && w.defaultOpen === !0;
2071
- T[E.title] = C;
2074
+ const T = s.navigationData[W], C = "items" in T && T.defaultOpen === !0;
2075
+ w[E.title] = C;
2072
2076
  }
2073
- return T;
2077
+ return w;
2074
2078
  },
2075
2079
  {}
2076
2080
  );
@@ -2079,24 +2083,24 @@ function Ge({ styles: e, onLinkClick: t }) {
2079
2083
  console.error("Failed to load navigation data:", _);
2080
2084
  }
2081
2085
  })();
2082
- }, [u, r.navigationData, s]);
2083
- const g = (f) => {
2086
+ }, [u, s.navigationData, r]);
2087
+ const p = (f) => {
2084
2088
  l((_) => ({
2085
2089
  ..._,
2086
2090
  [f]: !_[f]
2087
2091
  }));
2088
2092
  }, h = (f) => {
2089
- const _ = r.basePath || "";
2093
+ const _ = s.basePath || "";
2090
2094
  let b = a.pathname;
2091
2095
  _ && b.startsWith(_) && (b = b.slice(_.length));
2092
- const T = b.split("/").filter(Boolean);
2093
- return T[T.length - 1] === f;
2094
- }, p = (f) => {
2095
- const _ = r.basePath || "";
2096
+ const w = b.split("/").filter(Boolean);
2097
+ return w[w.length - 1] === f;
2098
+ }, g = (f) => {
2099
+ const _ = s.basePath || "";
2096
2100
  let b = a.pathname;
2097
2101
  _ && b.startsWith(_) && (b = b.slice(_.length));
2098
- const T = b.split("/").filter(Boolean);
2099
- return T[0] && r.supportedLanguages.includes(T[0]) ? `${_}/${T[0]}/${f}` : `${_}/${u}/${f}`;
2102
+ const w = b.split("/").filter(Boolean);
2103
+ return w[0] && s.supportedLanguages.includes(w[0]) ? `${_}/${w[0]}/${f}` : `${_}/${u}/${f}`;
2100
2104
  }, y = () => {
2101
2105
  t == null || t();
2102
2106
  };
@@ -2106,17 +2110,17 @@ function Ge({ styles: e, onLinkClick: t }) {
2106
2110
  {
2107
2111
  type: "button",
2108
2112
  className: `${e.sectionButton} ${i[f.title] ? e.expanded : ""}`,
2109
- onClick: () => g(f.title),
2113
+ onClick: () => p(f.title),
2110
2114
  children: [
2111
2115
  f.title,
2112
- /* @__PURE__ */ o(Nt, { className: e.icon })
2116
+ /* @__PURE__ */ o(It, { className: e.icon })
2113
2117
  ]
2114
2118
  }
2115
2119
  ),
2116
2120
  i[f.title] && /* @__PURE__ */ o("div", { className: e.sectionItems, children: f.items.map((_) => /* @__PURE__ */ o(
2117
- ke,
2121
+ Ne,
2118
2122
  {
2119
- to: p(_.slug),
2123
+ to: g(_.slug),
2120
2124
  className: `${e.navItem} ${h(_.slug) ? e.active : ""}`,
2121
2125
  onClick: y,
2122
2126
  children: /* @__PURE__ */ o("div", { className: e.navItemContent, children: /* @__PURE__ */ o("span", { className: e.navItemTitle, children: _.title }) })
@@ -2124,9 +2128,9 @@ function Ge({ styles: e, onLinkClick: t }) {
2124
2128
  _.slug
2125
2129
  )) })
2126
2130
  ] }, f.title) : /* @__PURE__ */ o(
2127
- ke,
2131
+ Ne,
2128
2132
  {
2129
- to: p(f.slug),
2133
+ to: g(f.slug),
2130
2134
  className: `${e.navItem} ${h(f.slug) ? e.active : ""}`,
2131
2135
  onClick: y,
2132
2136
  children: /* @__PURE__ */ o("div", { className: e.navItemContent, children: /* @__PURE__ */ o("span", { className: e.navItemTitle, children: f.title }) })
@@ -2134,55 +2138,55 @@ function Ge({ styles: e, onLinkClick: t }) {
2134
2138
  f.slug
2135
2139
  )) });
2136
2140
  }
2137
- function pr({
2141
+ function _s({
2138
2142
  styles: e,
2139
2143
  onLinkClick: t,
2140
2144
  onLanguageChange: n
2141
2145
  }) {
2142
- return /* @__PURE__ */ m(V, { children: [
2143
- /* @__PURE__ */ o(Ye, { styles: e, onLanguageChange: n }),
2144
- /* @__PURE__ */ o(Ge, { styles: e, onLinkClick: t })
2146
+ return /* @__PURE__ */ m(G, { children: [
2147
+ /* @__PURE__ */ o(Xe, { styles: e, onLanguageChange: n }),
2148
+ /* @__PURE__ */ o(Ze, { styles: e, onLinkClick: t })
2145
2149
  ] });
2146
2150
  }
2147
- const Wo = "_backdrop_1a7pu_1", zo = "_open_1a7pu_13", Uo = "_mobileMenu_1a7pu_18", Ko = "_header_1a7pu_37", Vo = "_brand_1a7pu_46", Yo = "_cloudIcon_1a7pu_53", Go = "_title_1a7pu_62", Qo = "_closeButton_1a7pu_69", Xo = "_closeIcon_1a7pu_101", Zo = "_languageSection_1a7pu_106", Jo = "_languageSelect_1a7pu_112", es = "_languageButton_1a7pu_117", ts = "_icon_1a7pu_156", ns = "_chevron_1a7pu_162", as = "_languageDropdown_1a7pu_172", os = "_languageOption_1a7pu_185", ss = "_selected_1a7pu_226", rs = "_scrollArea_1a7pu_231", cs = "_navigation_1a7pu_237", is = "_section_1a7pu_241", ls = "_sectionButton_1a7pu_245", ds = "_expanded_1a7pu_285", us = "_sectionItems_1a7pu_289", hs = "_navItem_1a7pu_297", ms = "_active_1a7pu_310", fs = "_navItemContent_1a7pu_316", gs = "_navItemTitle_1a7pu_322", H = {
2151
+ const Wo = "_backdrop_1a7pu_1", zo = "_open_1a7pu_13", Ko = "_mobileMenu_1a7pu_18", Vo = "_header_1a7pu_37", Yo = "_brand_1a7pu_46", Go = "_cloudIcon_1a7pu_53", Qo = "_title_1a7pu_62", Xo = "_closeButton_1a7pu_69", Zo = "_closeIcon_1a7pu_101", Jo = "_languageSection_1a7pu_106", er = "_languageSelect_1a7pu_112", tr = "_languageButton_1a7pu_117", nr = "_icon_1a7pu_156", ar = "_chevron_1a7pu_162", or = "_languageDropdown_1a7pu_172", rr = "_languageOption_1a7pu_185", sr = "_selected_1a7pu_226", cr = "_scrollArea_1a7pu_231", ir = "_navigation_1a7pu_237", lr = "_section_1a7pu_241", dr = "_sectionButton_1a7pu_245", ur = "_expanded_1a7pu_285", hr = "_sectionItems_1a7pu_289", mr = "_navItem_1a7pu_297", fr = "_active_1a7pu_310", pr = "_navItemContent_1a7pu_316", gr = "_navItemTitle_1a7pu_322", H = {
2148
2152
  backdrop: Wo,
2149
2153
  open: zo,
2150
- mobileMenu: Uo,
2151
- header: Ko,
2152
- brand: Vo,
2153
- cloudIcon: Yo,
2154
- title: Go,
2155
- closeButton: Qo,
2156
- closeIcon: Xo,
2157
- languageSection: Zo,
2158
- languageSelect: Jo,
2159
- languageButton: es,
2160
- icon: ts,
2161
- chevron: ns,
2162
- languageDropdown: as,
2163
- languageOption: os,
2164
- selected: ss,
2165
- scrollArea: rs,
2166
- navigation: cs,
2167
- section: is,
2168
- sectionButton: ls,
2169
- expanded: ds,
2170
- sectionItems: us,
2171
- navItem: hs,
2172
- active: ms,
2173
- navItemContent: fs,
2174
- navItemTitle: gs
2154
+ mobileMenu: Ko,
2155
+ header: Vo,
2156
+ brand: Yo,
2157
+ cloudIcon: Go,
2158
+ title: Qo,
2159
+ closeButton: Xo,
2160
+ closeIcon: Zo,
2161
+ languageSection: Jo,
2162
+ languageSelect: er,
2163
+ languageButton: tr,
2164
+ icon: nr,
2165
+ chevron: ar,
2166
+ languageDropdown: or,
2167
+ languageOption: rr,
2168
+ selected: sr,
2169
+ scrollArea: cr,
2170
+ navigation: ir,
2171
+ section: lr,
2172
+ sectionButton: dr,
2173
+ expanded: ur,
2174
+ sectionItems: hr,
2175
+ navItem: mr,
2176
+ active: fr,
2177
+ navItemContent: pr,
2178
+ navItemTitle: gr
2175
2179
  };
2176
- function ps({ isOpen: e, onClose: t }) {
2180
+ function _r({ isOpen: e, onClose: t }) {
2177
2181
  const { config: n } = M(), a = n.logo;
2178
2182
  return L(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
2179
2183
  document.body.style.overflow = "unset";
2180
2184
  }), [e]), L(() => {
2181
- const r = (s) => {
2182
- s.key === "Escape" && e && t();
2185
+ const s = (r) => {
2186
+ r.key === "Escape" && e && t();
2183
2187
  };
2184
- return document.addEventListener("keydown", r), () => document.removeEventListener("keydown", r);
2185
- }, [e, t]), /* @__PURE__ */ m(V, { children: [
2188
+ return document.addEventListener("keydown", s), () => document.removeEventListener("keydown", s);
2189
+ }, [e, t]), /* @__PURE__ */ m(G, { children: [
2186
2190
  /* @__PURE__ */ o(
2187
2191
  "div",
2188
2192
  {
@@ -2203,118 +2207,118 @@ function ps({ isOpen: e, onClose: t }) {
2203
2207
  className: H.closeButton,
2204
2208
  onClick: t,
2205
2209
  "aria-label": "Close menu",
2206
- children: /* @__PURE__ */ o(ze, { className: H.closeIcon })
2210
+ children: /* @__PURE__ */ o(Ve, { className: H.closeIcon })
2207
2211
  }
2208
2212
  )
2209
2213
  ] }),
2210
- /* @__PURE__ */ o("div", { className: H.languageSection, children: /* @__PURE__ */ o(Ye, { styles: H, onLanguageChange: t }) }),
2211
- /* @__PURE__ */ o("div", { className: H.scrollArea, children: /* @__PURE__ */ o(Ge, { styles: H, onLinkClick: t }) })
2214
+ /* @__PURE__ */ o("div", { className: H.languageSection, children: /* @__PURE__ */ o(Xe, { styles: H, onLanguageChange: t }) }),
2215
+ /* @__PURE__ */ o("div", { className: H.scrollArea, children: /* @__PURE__ */ o(Ze, { styles: H, onLinkClick: t }) })
2212
2216
  ] })
2213
2217
  ] });
2214
2218
  }
2215
- const _s = "_sidebar_1tdxt_1", vs = "_header_1tdxt_17", bs = "_brand_1tdxt_29", ys = "_cloudIcon_1tdxt_35", Ts = "_title_1tdxt_44", ws = "_languageSelect_1tdxt_55", ks = "_languageButton_1tdxt_61", Cs = "_icon_1tdxt_99", $s = "_chevron_1tdxt_104", Ns = "_languageDropdown_1tdxt_114", Is = "_languageOption_1tdxt_128", xs = "_selected_1tdxt_147", Ss = "_scrollArea_1tdxt_152", Ls = "_navigation_1tdxt_158", Ps = "_section_1tdxt_164", Es = "_sectionButton_1tdxt_170", As = "_expanded_1tdxt_213", Os = "_sectionItems_1tdxt_217", Ds = "_navItem_1tdxt_225", Ms = "_active_1tdxt_238", Rs = "_navItemContent_1tdxt_243", G = {
2216
- sidebar: _s,
2217
- header: vs,
2218
- brand: bs,
2219
- cloudIcon: ys,
2220
- title: Ts,
2221
- languageSelect: ws,
2222
- languageButton: ks,
2223
- icon: Cs,
2224
- chevron: $s,
2225
- languageDropdown: Ns,
2226
- languageOption: Is,
2227
- selected: xs,
2228
- scrollArea: Ss,
2229
- navigation: Ls,
2230
- section: Ps,
2231
- sectionButton: Es,
2232
- expanded: As,
2233
- sectionItems: Os,
2234
- navItem: Ds,
2235
- active: Ms,
2236
- navItemContent: Rs
2219
+ const vr = "_sidebar_1tdxt_1", br = "_header_1tdxt_17", yr = "_brand_1tdxt_29", wr = "_cloudIcon_1tdxt_35", Tr = "_title_1tdxt_44", kr = "_languageSelect_1tdxt_55", Cr = "_languageButton_1tdxt_61", $r = "_icon_1tdxt_99", Nr = "_chevron_1tdxt_104", Ir = "_languageDropdown_1tdxt_114", xr = "_languageOption_1tdxt_128", Sr = "_selected_1tdxt_147", Lr = "_scrollArea_1tdxt_152", Pr = "_navigation_1tdxt_158", Er = "_section_1tdxt_164", Ar = "_sectionButton_1tdxt_170", Or = "_expanded_1tdxt_213", Dr = "_sectionItems_1tdxt_217", Mr = "_navItem_1tdxt_225", Rr = "_active_1tdxt_238", Br = "_navItemContent_1tdxt_243", Y = {
2220
+ sidebar: vr,
2221
+ header: br,
2222
+ brand: yr,
2223
+ cloudIcon: wr,
2224
+ title: Tr,
2225
+ languageSelect: kr,
2226
+ languageButton: Cr,
2227
+ icon: $r,
2228
+ chevron: Nr,
2229
+ languageDropdown: Ir,
2230
+ languageOption: xr,
2231
+ selected: Sr,
2232
+ scrollArea: Lr,
2233
+ navigation: Pr,
2234
+ section: Er,
2235
+ sectionButton: Ar,
2236
+ expanded: Or,
2237
+ sectionItems: Dr,
2238
+ navItem: Mr,
2239
+ active: Rr,
2240
+ navItemContent: Br
2237
2241
  };
2238
- function Bs() {
2242
+ function Hr() {
2239
2243
  const { config: e } = M(), t = e.logo, n = e.supportedLanguages.length > 1;
2240
- return /* @__PURE__ */ m("div", { className: G.sidebar, children: [
2241
- /* @__PURE__ */ m("div", { className: G.header, children: [
2242
- /* @__PURE__ */ m("div", { className: G.brand, children: [
2243
- t && /* @__PURE__ */ o(t, { className: G.cloudIcon }),
2244
- /* @__PURE__ */ o("div", { className: G.title, children: e.title })
2244
+ return /* @__PURE__ */ m("div", { className: Y.sidebar, children: [
2245
+ /* @__PURE__ */ m("div", { className: Y.header, children: [
2246
+ /* @__PURE__ */ m("div", { className: Y.brand, children: [
2247
+ t && /* @__PURE__ */ o(t, { className: Y.cloudIcon }),
2248
+ /* @__PURE__ */ o("div", { className: Y.title, children: e.title })
2245
2249
  ] }),
2246
- n && /* @__PURE__ */ o(Ye, { styles: G })
2250
+ n && /* @__PURE__ */ o(Xe, { styles: Y })
2247
2251
  ] }),
2248
- /* @__PURE__ */ o("div", { className: G.scrollArea, children: /* @__PURE__ */ o(Ge, { styles: G }) })
2252
+ /* @__PURE__ */ o("div", { className: Y.scrollArea, children: /* @__PURE__ */ o(Ze, { styles: Y }) })
2249
2253
  ] });
2250
2254
  }
2251
- const Hs = "_app_wf6ni_1", js = "_layout_wf6ni_9", Fs = "_main_wf6ni_15", qs = "_fullWidth_wf6ni_21", Ws = "_contentWrapper_wf6ni_30", fe = {
2252
- app: Hs,
2253
- layout: js,
2254
- main: Fs,
2255
- fullWidth: qs,
2256
- contentWrapper: Ws
2255
+ const jr = "_app_wf6ni_1", Fr = "_layout_wf6ni_9", qr = "_main_wf6ni_15", Ur = "_fullWidth_wf6ni_21", Wr = "_contentWrapper_wf6ni_30", pe = {
2256
+ app: jr,
2257
+ layout: Fr,
2258
+ main: qr,
2259
+ fullWidth: Ur,
2260
+ contentWrapper: Wr
2257
2261
  };
2258
- function zs({ children: e }) {
2259
- const { language: t } = We(), { i18n: n } = D(), { config: a } = M(), [r, s] = I(!1);
2262
+ function zr({ children: e }) {
2263
+ const { language: t } = Ke(), { i18n: n } = D(), { config: a } = M(), [s, r] = I(!1);
2260
2264
  L(() => {
2261
2265
  t && a.supportedLanguages.includes(t) && n.changeLanguage(t);
2262
2266
  }, [t, n, a.supportedLanguages]);
2263
2267
  const c = () => {
2264
- s(!r);
2268
+ r(!s);
2265
2269
  }, d = () => {
2266
- s(!1);
2270
+ r(!1);
2267
2271
  };
2268
2272
  if (!t || !a.supportedLanguages.includes(t))
2269
- return /* @__PURE__ */ o($t, { to: "/en/welcome", replace: !0 });
2273
+ return /* @__PURE__ */ o(Nt, { to: "/en/welcome", replace: !0 });
2270
2274
  const i = !!a.header, l = a.showSideMenu !== !1, u = a.contentMaxWidth ? { width: "100%", maxWidth: a.contentMaxWidth } : void 0;
2271
- return /* @__PURE__ */ m("div", { className: fe.app, children: [
2272
- i && /* @__PURE__ */ o(qo, { onMobileMenuToggle: c }),
2273
- /* @__PURE__ */ o(ps, { isOpen: r, onClose: d }),
2274
- /* @__PURE__ */ m("div", { className: fe.layout, children: [
2275
- l && /* @__PURE__ */ o(Bs, {}),
2275
+ return /* @__PURE__ */ m("div", { className: pe.app, children: [
2276
+ i && /* @__PURE__ */ o(Uo, { onMobileMenuToggle: c }),
2277
+ /* @__PURE__ */ o(_r, { isOpen: s, onClose: d }),
2278
+ /* @__PURE__ */ m("div", { className: pe.layout, children: [
2279
+ l && /* @__PURE__ */ o(Hr, {}),
2276
2280
  /* @__PURE__ */ o(
2277
2281
  "main",
2278
2282
  {
2279
- className: `${fe.main} ${l ? "" : fe.fullWidth}`,
2280
- children: /* @__PURE__ */ o("div", { className: fe.contentWrapper, style: u, children: e })
2283
+ className: `${pe.main} ${l ? "" : pe.fullWidth}`,
2284
+ children: /* @__PURE__ */ o("div", { className: pe.contentWrapper, style: u, children: e })
2281
2285
  }
2282
2286
  )
2283
2287
  ] })
2284
2288
  ] });
2285
2289
  }
2286
- const Us = "_homePage_10e4f_1", Ks = "_header_10e4f_20", Vs = "_title_10e4f_24", Ys = "_articlesList_10e4f_31", Gs = "_articleCard_10e4f_37", Qs = "_articleTitle_10e4f_56", Xs = "_articleDescription_10e4f_63", Zs = "_empty_10e4f_71", Js = "_skeletonCard_10e4f_85", er = "_skeletonTitle_10e4f_95", tr = "_skeletonText_10e4f_104", nr = "_skeletonMetadata_10e4f_113", A = {
2287
- homePage: Us,
2288
- header: Ks,
2289
- title: Vs,
2290
- articlesList: Ys,
2291
- articleCard: Gs,
2292
- articleTitle: Qs,
2293
- articleDescription: Xs,
2294
- empty: Zs,
2295
- skeletonCard: Js,
2296
- skeletonTitle: er,
2297
- skeletonText: tr,
2298
- skeletonMetadata: nr
2290
+ const Kr = "_homePage_10e4f_1", Vr = "_header_10e4f_20", Yr = "_title_10e4f_24", Gr = "_articlesList_10e4f_31", Qr = "_articleCard_10e4f_37", Xr = "_articleTitle_10e4f_56", Zr = "_articleDescription_10e4f_63", Jr = "_empty_10e4f_71", es = "_skeletonCard_10e4f_85", ts = "_skeletonTitle_10e4f_95", ns = "_skeletonText_10e4f_104", as = "_skeletonMetadata_10e4f_113", A = {
2291
+ homePage: Kr,
2292
+ header: Vr,
2293
+ title: Yr,
2294
+ articlesList: Gr,
2295
+ articleCard: Qr,
2296
+ articleTitle: Xr,
2297
+ articleDescription: Zr,
2298
+ empty: Jr,
2299
+ skeletonCard: es,
2300
+ skeletonTitle: ts,
2301
+ skeletonText: ns,
2302
+ skeletonMetadata: as
2299
2303
  };
2300
- function ar() {
2301
- const { i18n: e, t } = D(), { config: n, loadContent: a } = M(), r = Z(), [s, c] = I([]), [d, i] = I(!0);
2304
+ function os() {
2305
+ const { i18n: e, t } = D(), { config: n, loadContent: a } = M(), s = Z(), [r, c] = I([]), [d, i] = I(!0);
2302
2306
  L(() => {
2303
2307
  (async () => {
2304
2308
  try {
2305
- const p = n.navigationData || [];
2306
- if (p.length === 0) return;
2307
- const y = await Ce(
2308
- p,
2309
+ const g = n.navigationData || [];
2310
+ if (g.length === 0) return;
2311
+ const y = await Ie(
2312
+ g,
2309
2313
  e.language,
2310
2314
  a
2311
2315
  ), f = [];
2312
2316
  for (const b of y)
2313
2317
  if (ge(b))
2314
- for (const T of b.items)
2318
+ for (const w of b.items)
2315
2319
  f.push({
2316
- slug: T.slug,
2317
- title: T.title
2320
+ slug: w.slug,
2321
+ title: w.title
2318
2322
  });
2319
2323
  else
2320
2324
  f.push({
@@ -2324,52 +2328,52 @@ function ar() {
2324
2328
  const _ = await Promise.all(
2325
2329
  f.map(async (b) => {
2326
2330
  try {
2327
- const T = await a(e.language, b.slug);
2331
+ const w = await a(e.language, b.slug);
2328
2332
  return {
2329
2333
  ...b,
2330
- title: T.frontmatter.title || b.title,
2331
- date: T.frontmatter.date,
2332
- author: T.frontmatter.author,
2333
- description: T.frontmatter.description
2334
+ title: w.frontmatter.title || b.title,
2335
+ date: w.frontmatter.date,
2336
+ author: w.frontmatter.author,
2337
+ description: w.frontmatter.description
2334
2338
  };
2335
2339
  } catch {
2336
2340
  return b;
2337
2341
  }
2338
2342
  })
2339
2343
  );
2340
- _.sort((b, T) => b.date && T.date ? new Date(T.date).getTime() - new Date(b.date).getTime() : b.date ? -1 : T.date ? 1 : b.title.localeCompare(T.title)), c(_.slice(0, 50));
2341
- } catch (p) {
2342
- console.error("Failed to load articles:", p);
2344
+ _.sort((b, w) => b.date && w.date ? new Date(w.date).getTime() - new Date(b.date).getTime() : b.date ? -1 : w.date ? 1 : b.title.localeCompare(w.title)), c(_.slice(0, 50));
2345
+ } catch (g) {
2346
+ console.error("Failed to load articles:", g);
2343
2347
  } finally {
2344
2348
  i(!1);
2345
2349
  }
2346
2350
  })();
2347
2351
  }, [e.language, n.navigationData, a]);
2348
2352
  const l = (h) => {
2349
- const p = n.basePath || "";
2350
- window.scrollTo({ top: 0, left: 0, behavior: "auto" }), r(`${p}/${e.language}/${h}`);
2353
+ const g = n.basePath || "";
2354
+ window.scrollTo({ top: 0, left: 0, behavior: "auto" }), s(`${g}/${e.language}/${h}`);
2351
2355
  };
2352
2356
  if (d)
2353
2357
  return /* @__PURE__ */ m("div", { className: A.homePage, children: [
2354
2358
  /* @__PURE__ */ o("div", { className: A.header, children: /* @__PURE__ */ o("h1", { className: A.title, children: t("ui.latestPosts") }) }),
2355
- /* @__PURE__ */ o("div", { className: A.articlesList, children: [...Array(5)].map((h, p) => /* @__PURE__ */ m("div", { className: A.skeletonCard, children: [
2359
+ /* @__PURE__ */ o("div", { className: A.articlesList, children: [...Array(5)].map((h, g) => /* @__PURE__ */ m("div", { className: A.skeletonCard, children: [
2356
2360
  /* @__PURE__ */ o("div", { className: A.skeletonTitle }),
2357
2361
  /* @__PURE__ */ o("div", { className: A.skeletonText }),
2358
2362
  /* @__PURE__ */ o("div", { className: A.skeletonText }),
2359
2363
  /* @__PURE__ */ o("div", { className: A.skeletonMetadata })
2360
- ] }, p)) })
2364
+ ] }, g)) })
2361
2365
  ] });
2362
- if (s.length === 0)
2366
+ if (r.length === 0)
2363
2367
  return /* @__PURE__ */ o("div", { className: A.empty, children: t("ui.noArticlesFound") });
2364
- const u = n.title, g = n.description;
2365
- return /* @__PURE__ */ m(V, { children: [
2366
- /* @__PURE__ */ m(Dt, { children: [
2368
+ const u = n.title, p = n.description;
2369
+ return /* @__PURE__ */ m(G, { children: [
2370
+ /* @__PURE__ */ m(Mt, { children: [
2367
2371
  /* @__PURE__ */ o("title", { children: u }),
2368
- g && /* @__PURE__ */ o("meta", { name: "description", content: g })
2372
+ p && /* @__PURE__ */ o("meta", { name: "description", content: p })
2369
2373
  ] }),
2370
2374
  /* @__PURE__ */ m("div", { className: A.homePage, children: [
2371
2375
  /* @__PURE__ */ o("div", { className: A.header, children: /* @__PURE__ */ o("h1", { className: A.title, children: t("ui.latestPosts") }) }),
2372
- /* @__PURE__ */ o("div", { className: A.articlesList, children: s.map((h) => /* @__PURE__ */ m(
2376
+ /* @__PURE__ */ o("div", { className: A.articlesList, children: r.map((h) => /* @__PURE__ */ m(
2373
2377
  "button",
2374
2378
  {
2375
2379
  className: A.articleCard,
@@ -2378,29 +2382,29 @@ function ar() {
2378
2382
  children: [
2379
2383
  /* @__PURE__ */ o("h2", { className: A.articleTitle, children: h.title }),
2380
2384
  h.description && /* @__PURE__ */ o("p", { className: A.articleDescription, children: h.description }),
2381
- /* @__PURE__ */ o(qe, { date: h.date, author: h.author })
2385
+ /* @__PURE__ */ o(ze, { date: h.date, author: h.author })
2382
2386
  ]
2383
2387
  },
2384
2388
  h.slug
2385
2389
  )) })
2386
2390
  ] }),
2387
- /* @__PURE__ */ o(ta, {})
2391
+ /* @__PURE__ */ o(na, {})
2388
2392
  ] });
2389
2393
  }
2390
- function _r() {
2391
- const { language: e } = We(), { config: t } = M();
2392
- return /* @__PURE__ */ o(zs, { children: /* @__PURE__ */ m(Ut, { children: [
2393
- /* @__PURE__ */ o(it, { path: "/:slug", element: /* @__PURE__ */ o(no, { language: e }) }),
2394
+ function vs() {
2395
+ const { language: e } = Ke(), { config: t } = M();
2396
+ return /* @__PURE__ */ o(zr, { children: /* @__PURE__ */ m(Kt, { children: [
2397
+ /* @__PURE__ */ o(lt, { path: "/:slug", element: /* @__PURE__ */ o(ao, { language: e }) }),
2394
2398
  /* @__PURE__ */ o(
2395
- it,
2399
+ lt,
2396
2400
  {
2397
2401
  index: !0,
2398
- element: (t.defaultRoute || "latest") === "latest" ? /* @__PURE__ */ o(ar, {}) : /* @__PURE__ */ o($t, { to: `./${t.defaultRoute}`, replace: !0 })
2402
+ element: (t.defaultRoute || "latest") === "latest" ? /* @__PURE__ */ o(os, {}) : /* @__PURE__ */ o(Nt, { to: `./${t.defaultRoute}`, replace: !0 })
2399
2403
  }
2400
2404
  )
2401
2405
  ] }) });
2402
2406
  }
2403
- function vr() {
2407
+ function bs() {
2404
2408
  return {
2405
2409
  openSearchModal: () => {
2406
2410
  window.dispatchEvent(new CustomEvent("blog:open-search"));
@@ -2410,48 +2414,48 @@ function vr() {
2410
2414
  }
2411
2415
  };
2412
2416
  }
2413
- function br() {
2417
+ function ys() {
2414
2418
  const { i18n: e } = D(), t = te(), n = Z(), { config: a } = M();
2415
- return (r) => {
2416
- const s = a.basePath || "";
2419
+ return (s) => {
2420
+ const r = a.basePath || "";
2417
2421
  let c = t.pathname;
2418
- s && c.startsWith(s) && (c = c.slice(s.length));
2422
+ r && c.startsWith(r) && (c = c.slice(r.length));
2419
2423
  const d = c.split("/").filter(Boolean), i = d[0];
2420
2424
  let l = "";
2421
- a.supportedLanguages.includes(i) ? (d[0] = r, l = `${s}/${d.join("/")}`) : l = `${s}/${r}${c}`;
2425
+ a.supportedLanguages.includes(i) ? (d[0] = s, l = `${r}/${d.join("/")}`) : l = `${r}/${s}${c}`;
2422
2426
  const u = l + t.search + t.hash;
2423
- e.changeLanguage(r), n(u);
2427
+ e.changeLanguage(s), n(u);
2424
2428
  };
2425
2429
  }
2426
2430
  export {
2427
- cn as AdvancedModeToggle,
2428
- Gn as ArticleNavigation,
2429
- gr as BlogProvider,
2430
- Dn as BlogRoot,
2431
- ta as BlogSidebar,
2432
- ia as Breadcrumb,
2433
- no as ContentPage,
2434
- zs as DocumentationLayout,
2435
- _r as DocumentationRoutes,
2436
- qo as Header,
2437
- ar as HomePage,
2438
- Ye as LanguageSelector,
2439
- qe as Metadata,
2440
- ps as MobileMenu,
2441
- pr as NavigationContent,
2442
- Ge as NavigationMenu,
2443
- wo as SearchBar,
2444
- Bs as Sidebar,
2445
- $a as TableOfContents,
2446
- Ra as TagResultsModal,
2431
+ ln as AdvancedModeToggle,
2432
+ Qn as ArticleNavigation,
2433
+ gs as BlogProvider,
2434
+ Mn as BlogRoot,
2435
+ na as BlogSidebar,
2436
+ la as Breadcrumb,
2437
+ ao as ContentPage,
2438
+ zr as DocumentationLayout,
2439
+ vs as DocumentationRoutes,
2440
+ Uo as Header,
2441
+ os as HomePage,
2442
+ Xe as LanguageSelector,
2443
+ ze as Metadata,
2444
+ _r as MobileMenu,
2445
+ _s as NavigationContent,
2446
+ Ze as NavigationMenu,
2447
+ ko as SearchBar,
2448
+ Hr as Sidebar,
2449
+ Na as TableOfContents,
2450
+ Ba as TagResultsModal,
2447
2451
  za as Tags,
2448
- fr as createBlogUtils,
2449
- Mt as createContentLoaders,
2450
- re as generateHeadingId,
2451
- Rn as getAdjacentArticles,
2452
- Ce as getNavigationData,
2452
+ ps as createBlogUtils,
2453
+ Rt as createContentLoaders,
2454
+ ce as generateHeadingId,
2455
+ Bn as getAdjacentArticles,
2456
+ Ie as getNavigationData,
2453
2457
  M as useBlogConfig,
2454
- br as useLanguageChange,
2455
- vr as useSearchModal,
2456
- Bt as useTheme
2458
+ ys as useLanguageChange,
2459
+ bs as useSearchModal,
2460
+ Ht as useTheme
2457
2461
  };