@x-wave/blog 1.0.27 → 1.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +159 -159
- package/package.json +1 -1
- package/styles/index.css +1 -1
package/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsxs as h, jsx as e, Fragment as z } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation as E } from "react-i18next";
|
|
3
|
-
import { useLocation as G, useNavigate as
|
|
3
|
+
import { useLocation as G, useNavigate as U, useParams as ce, Link as he, Navigate as Ne, Routes as Se, Route as ge } from "react-router-dom";
|
|
4
4
|
import { useState as L, useEffect as S, createContext as Pe, useContext as De, useRef as H } from "react";
|
|
5
5
|
import Be from "react-markdown";
|
|
6
6
|
import Me from "remark-gfm";
|
|
7
7
|
import ae from "i18next";
|
|
8
8
|
import { User as Ee, CalendarBlank as Re, X as re, Tag as Oe, MagnifyingGlass as me, List as je, Sun as _e, Moon as pe, Monitor as fe, CaretDown as se, Globe as Ae, CaretRight as We } from "@phosphor-icons/react";
|
|
9
9
|
import { createPortal as $e } from "react-dom";
|
|
10
|
-
const He = "_tabContainer_zk6h4_1",
|
|
10
|
+
const He = "_tabContainer_zk6h4_1", Fe = "_tab_zk6h4_1", Ue = "_active_zk6h4_45", Q = {
|
|
11
11
|
tabContainer: He,
|
|
12
|
-
tab:
|
|
13
|
-
active:
|
|
12
|
+
tab: Fe,
|
|
13
|
+
active: Ue
|
|
14
14
|
};
|
|
15
|
-
function
|
|
16
|
-
const { t: n } = E(), a = G(), o =
|
|
15
|
+
function Ke({ hasAdvanced: t }) {
|
|
16
|
+
const { t: n } = E(), a = G(), o = U();
|
|
17
17
|
if (!t) return null;
|
|
18
18
|
const s = new URLSearchParams(a.search).has("advanced"), i = () => {
|
|
19
19
|
if (s) {
|
|
@@ -49,10 +49,10 @@ function Ue({ hasAdvanced: t }) {
|
|
|
49
49
|
)
|
|
50
50
|
] });
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function qe({ children: t }) {
|
|
53
53
|
return /* @__PURE__ */ e("div", { className: "xw-blog-root", children: t });
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function ke(t) {
|
|
56
56
|
function n(a) {
|
|
57
57
|
const o = a.match(/^---\s*\n([\s\S]*?)\n---\s*\n/);
|
|
58
58
|
if (!o) return { frontmatter: {}, content: a };
|
|
@@ -124,7 +124,7 @@ function xe(t) {
|
|
|
124
124
|
const r = _.tags;
|
|
125
125
|
if (r && Array.isArray(r))
|
|
126
126
|
for (const w of r)
|
|
127
|
-
o[w] || (o[w] = []), o[w].some((
|
|
127
|
+
o[w] || (o[w] = []), o[w].some((x) => x.slug === p) || o[w].push({ slug: p, title: l });
|
|
128
128
|
} catch (m) {
|
|
129
129
|
console.warn(`Failed to process ${i}:`, m);
|
|
130
130
|
}
|
|
@@ -133,20 +133,20 @@ function xe(t) {
|
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
135
|
function Va(t) {
|
|
136
|
-
const n =
|
|
136
|
+
const n = ke(t);
|
|
137
137
|
return {
|
|
138
138
|
mdxFiles: t,
|
|
139
139
|
loadContent: n.loadMDXContent,
|
|
140
140
|
loadEnglishContent: n.loadEnglishContent
|
|
141
141
|
};
|
|
142
142
|
}
|
|
143
|
-
const ve = "app-theme",
|
|
143
|
+
const ve = "app-theme", xe = () => typeof window > "u" ? "light" : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light", be = (t) => t === "system" ? xe() : t, Ce = (t) => {
|
|
144
144
|
const n = () => t || (typeof window > "u" ? "system" : localStorage.getItem(ve) || "system"), [a, o] = L(n);
|
|
145
145
|
return S(() => {
|
|
146
146
|
const s = be(a), i = document.querySelector(".xw-blog-root");
|
|
147
147
|
if (i && (i.classList.remove("light", "dark"), i.classList.add(s)), a === "system") {
|
|
148
148
|
const m = window.matchMedia("(prefers-color-scheme: dark)"), g = () => {
|
|
149
|
-
const _ =
|
|
149
|
+
const _ = xe(), u = document.querySelector(".xw-blog-root");
|
|
150
150
|
u && (u.classList.remove("light", "dark"), u.classList.add(_));
|
|
151
151
|
};
|
|
152
152
|
return m.addEventListener("change", g), () => m.removeEventListener("change", g);
|
|
@@ -175,17 +175,17 @@ const ve = "app-theme", Ce = () => typeof window > "u" ? "light" : window.matchM
|
|
|
175
175
|
...a.showTableOfContents !== void 0 && {
|
|
176
176
|
showTableOfContents: a.showTableOfContents
|
|
177
177
|
}
|
|
178
|
-
}), V = (t) => t.toString().toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/\s+/g, "-").replace(/-+/g, "-").replace(/^-+|-+$/g, ""),
|
|
178
|
+
}), V = (t) => t.toString().toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/\s+/g, "-").replace(/-+/g, "-").replace(/^-+|-+$/g, ""), Ie = Pe(null);
|
|
179
179
|
function Ja({
|
|
180
180
|
children: t,
|
|
181
181
|
config: n,
|
|
182
182
|
blog: a,
|
|
183
183
|
navigationData: o = []
|
|
184
184
|
}) {
|
|
185
|
-
|
|
185
|
+
Ce(n.defaultTheme);
|
|
186
186
|
const [c, s] = L({});
|
|
187
187
|
S(() => {
|
|
188
|
-
const { buildTagIndex: m } =
|
|
188
|
+
const { buildTagIndex: m } = ke(a.mdxFiles), g = n.supportedLanguages.map(async (_) => {
|
|
189
189
|
try {
|
|
190
190
|
const u = await m(_);
|
|
191
191
|
return { language: _, index: u };
|
|
@@ -204,19 +204,19 @@ function Ja({
|
|
|
204
204
|
}, [a.mdxFiles, n.supportedLanguages]);
|
|
205
205
|
const i = { ...n, navigationData: o, tagIndex: c };
|
|
206
206
|
return /* @__PURE__ */ e(
|
|
207
|
-
|
|
207
|
+
Ie.Provider,
|
|
208
208
|
{
|
|
209
209
|
value: {
|
|
210
210
|
config: i,
|
|
211
211
|
loadContent: a.loadContent,
|
|
212
212
|
loadEnglishContent: a.loadEnglishContent
|
|
213
213
|
},
|
|
214
|
-
children: /* @__PURE__ */ e(
|
|
214
|
+
children: /* @__PURE__ */ e(qe, { children: t })
|
|
215
215
|
}
|
|
216
216
|
);
|
|
217
217
|
}
|
|
218
218
|
function R() {
|
|
219
|
-
const t = De(
|
|
219
|
+
const t = De(Ie);
|
|
220
220
|
if (!t)
|
|
221
221
|
throw new Error("useBlogConfig must be used within a BlogProvider");
|
|
222
222
|
return t;
|
|
@@ -282,7 +282,7 @@ function Le({ date: t, author: n }) {
|
|
|
282
282
|
] })
|
|
283
283
|
] });
|
|
284
284
|
}
|
|
285
|
-
const Ze = "
|
|
285
|
+
const Ze = "_tableOfContents_9ofak_1", et = "_header_9ofak_21", tt = "_title_9ofak_25", nt = "_nav_9ofak_34", at = "_list_9ofak_40", ot = "_link_9ofak_47", st = "_active_9ofak_71", ct = "_level1_9ofak_87", rt = "_level2_9ofak_93", lt = "_level3_9ofak_98", it = "_level4_9ofak_104", dt = "_level5_9ofak_110", ut = "_level6_9ofak_116", j = {
|
|
286
286
|
tableOfContents: Ze,
|
|
287
287
|
header: et,
|
|
288
288
|
title: tt,
|
|
@@ -301,7 +301,7 @@ function ht({
|
|
|
301
301
|
content: t,
|
|
302
302
|
englishContent: n
|
|
303
303
|
}) {
|
|
304
|
-
const { t: a } = E(), o = G(), c =
|
|
304
|
+
const { t: a } = E(), o = G(), c = U(), [s, i] = L([]), [m, g] = L(""), _ = H(null);
|
|
305
305
|
S(() => {
|
|
306
306
|
g(""), (() => {
|
|
307
307
|
const p = /^(#{1,6})\s+(.+)$/gm, d = [];
|
|
@@ -312,15 +312,15 @@ function ht({
|
|
|
312
312
|
r.push({ level: f, text: N }), l = p.exec(t);
|
|
313
313
|
}
|
|
314
314
|
const w = /^(#{1,6})\s+(.+)$/gm;
|
|
315
|
-
let
|
|
316
|
-
for (;
|
|
317
|
-
const f =
|
|
315
|
+
let x = w.exec(n), C = 0;
|
|
316
|
+
for (; x !== null && C < r.length; ) {
|
|
317
|
+
const f = x[2].trim(), N = V(f);
|
|
318
318
|
d.push({
|
|
319
319
|
id: N,
|
|
320
|
-
text: r[
|
|
320
|
+
text: r[C].text,
|
|
321
321
|
// Use localized text for display
|
|
322
|
-
level: r[
|
|
323
|
-
}),
|
|
322
|
+
level: r[C].level
|
|
323
|
+
}), C++, x = w.exec(n);
|
|
324
324
|
}
|
|
325
325
|
i(d);
|
|
326
326
|
})();
|
|
@@ -342,7 +342,7 @@ function ht({
|
|
|
342
342
|
(d) => {
|
|
343
343
|
const l = d.filter((r) => r.isIntersecting);
|
|
344
344
|
if (l.length > 0) {
|
|
345
|
-
const r = l.reduce((w,
|
|
345
|
+
const r = l.reduce((w, x) => w.boundingClientRect.top < x.boundingClientRect.top ? w : x);
|
|
346
346
|
g(r.target.id);
|
|
347
347
|
}
|
|
348
348
|
},
|
|
@@ -390,7 +390,7 @@ function ht({
|
|
|
390
390
|
) }, b.id)) }) })
|
|
391
391
|
] });
|
|
392
392
|
}
|
|
393
|
-
const gt = "_overlay_1e1d4_1", mt = "_modal_1e1d4_26", _t = "_header_1e1d4_50", pt = "_title_1e1d4_58", ft = "_closeButton_1e1d4_65", vt = "_results_1e1d4_86", bt = "_resultsList_1e1d4_94", wt = "_resultItem_1e1d4_100", Nt = "_resultTitle_1e1d4_119", $t = "_resultSlug_1e1d4_124",
|
|
393
|
+
const gt = "_overlay_1e1d4_1", mt = "_modal_1e1d4_26", _t = "_header_1e1d4_50", pt = "_title_1e1d4_58", ft = "_closeButton_1e1d4_65", vt = "_results_1e1d4_86", bt = "_resultsList_1e1d4_94", wt = "_resultItem_1e1d4_100", Nt = "_resultTitle_1e1d4_119", $t = "_resultSlug_1e1d4_124", kt = "_noResults_1e1d4_130", O = {
|
|
394
394
|
overlay: gt,
|
|
395
395
|
modal: mt,
|
|
396
396
|
header: _t,
|
|
@@ -401,15 +401,15 @@ const gt = "_overlay_1e1d4_1", mt = "_modal_1e1d4_26", _t = "_header_1e1d4_50",
|
|
|
401
401
|
resultItem: wt,
|
|
402
402
|
resultTitle: Nt,
|
|
403
403
|
resultSlug: $t,
|
|
404
|
-
noResults:
|
|
404
|
+
noResults: kt
|
|
405
405
|
};
|
|
406
|
-
function
|
|
406
|
+
function xt({
|
|
407
407
|
tag: t,
|
|
408
408
|
results: n,
|
|
409
409
|
language: a,
|
|
410
410
|
onClose: o
|
|
411
411
|
}) {
|
|
412
|
-
const { t: c } = E(), { config: s } = R(), i =
|
|
412
|
+
const { t: c } = E(), { config: s } = R(), i = U(), m = (g) => {
|
|
413
413
|
const _ = s.basePath || "";
|
|
414
414
|
i(`${_}/${a}/${g}`), o();
|
|
415
415
|
};
|
|
@@ -451,9 +451,9 @@ function Ct({
|
|
|
451
451
|
document.body
|
|
452
452
|
);
|
|
453
453
|
}
|
|
454
|
-
const
|
|
455
|
-
tags:
|
|
456
|
-
compact:
|
|
454
|
+
const Ct = "_tags_11t8a_1", It = "_compact_11t8a_9", yt = "_tagLabel_11t8a_15", Lt = "_tagIcon_11t8a_25", Tt = "_tagList_11t8a_30", St = "_tag_11t8a_1", q = {
|
|
455
|
+
tags: Ct,
|
|
456
|
+
compact: It,
|
|
457
457
|
tagLabel: yt,
|
|
458
458
|
tagIcon: Lt,
|
|
459
459
|
tagList: Tt,
|
|
@@ -468,20 +468,20 @@ function Pt({ tags: t, variant: n = "default", onTagClick: a }) {
|
|
|
468
468
|
return /* @__PURE__ */ h(
|
|
469
469
|
"div",
|
|
470
470
|
{
|
|
471
|
-
className: `${
|
|
471
|
+
className: `${q.tags} ${n === "compact" ? q.compact : ""}`,
|
|
472
472
|
children: [
|
|
473
|
-
n === "default" && /* @__PURE__ */ h("div", { className:
|
|
474
|
-
/* @__PURE__ */ e(Oe, { className:
|
|
473
|
+
n === "default" && /* @__PURE__ */ h("div", { className: q.tagLabel, children: [
|
|
474
|
+
/* @__PURE__ */ e(Oe, { className: q.tagIcon, weight: "duotone" }),
|
|
475
475
|
/* @__PURE__ */ h("span", { children: [
|
|
476
476
|
o("ui.tags"),
|
|
477
477
|
":"
|
|
478
478
|
] })
|
|
479
479
|
] }),
|
|
480
|
-
/* @__PURE__ */ e("div", { className:
|
|
480
|
+
/* @__PURE__ */ e("div", { className: q.tagList, children: t.map((s) => /* @__PURE__ */ e(
|
|
481
481
|
"button",
|
|
482
482
|
{
|
|
483
483
|
type: "button",
|
|
484
|
-
className:
|
|
484
|
+
className: q.tag,
|
|
485
485
|
onClick: () => c(s),
|
|
486
486
|
"aria-label": `${o("ui.filterByTag")}: ${s}`,
|
|
487
487
|
children: s
|
|
@@ -492,7 +492,7 @@ function Pt({ tags: t, variant: n = "default", onTagClick: a }) {
|
|
|
492
492
|
}
|
|
493
493
|
);
|
|
494
494
|
}
|
|
495
|
-
const Dt = "_contentPage_1nxj5_1", Bt = "_loadingContainer_1nxj5_48", Mt = "_errorContainer_1nxj5_49", Et = "_skeletonTitle_1nxj5_71", Rt = "_skeletonParagraph_1nxj5_80", Ot = "_skeletonParagraphShort_1nxj5_93", jt = "_errorText_1nxj5_107", At = "_mdxContent_1nxj5_112", Wt = "_withMetadata_1nxj5_125", Ht = "_codeBlock_1nxj5_300",
|
|
495
|
+
const Dt = "_contentPage_1nxj5_1", Bt = "_loadingContainer_1nxj5_48", Mt = "_errorContainer_1nxj5_49", Et = "_skeletonTitle_1nxj5_71", Rt = "_skeletonParagraph_1nxj5_80", Ot = "_skeletonParagraphShort_1nxj5_93", jt = "_errorText_1nxj5_107", At = "_mdxContent_1nxj5_112", Wt = "_withMetadata_1nxj5_125", Ht = "_codeBlock_1nxj5_300", Ft = "_codeLanguage_1nxj5_304", B = {
|
|
496
496
|
contentPage: Dt,
|
|
497
497
|
loadingContainer: Bt,
|
|
498
498
|
errorContainer: Mt,
|
|
@@ -503,20 +503,20 @@ const Dt = "_contentPage_1nxj5_1", Bt = "_loadingContainer_1nxj5_48", Mt = "_err
|
|
|
503
503
|
mdxContent: At,
|
|
504
504
|
withMetadata: Wt,
|
|
505
505
|
codeBlock: Ht,
|
|
506
|
-
codeLanguage:
|
|
506
|
+
codeLanguage: Ft
|
|
507
507
|
};
|
|
508
|
-
function
|
|
508
|
+
function Ut({ language: t }) {
|
|
509
509
|
var ue;
|
|
510
|
-
const { slug: n } = ce(), a = G(), { config: o, loadContent: c, loadEnglishContent: s } = R(), [i, m] = L(""), [g, _] = L(""), [u, b] = L({}), [p, d] = L(!0), [l, r] = L(null), [w,
|
|
510
|
+
const { slug: n } = ce(), a = G(), { config: o, loadContent: c, loadEnglishContent: s } = R(), [i, m] = L(""), [g, _] = L(""), [u, b] = L({}), [p, d] = L(!0), [l, r] = L(null), [w, x] = L(!0), [C, f] = L(null), N = H(0), D = H([]), J = Qe(a.search), K = J.advanced;
|
|
511
511
|
if (S(() => {
|
|
512
512
|
(async () => {
|
|
513
513
|
if (!n) return;
|
|
514
514
|
d(!0), r(null), N.current = 0;
|
|
515
|
-
const
|
|
515
|
+
const I = (o == null ? void 0 : o.navigationData) || [];
|
|
516
516
|
let P = !0;
|
|
517
|
-
for (const $ of
|
|
517
|
+
for (const $ of I)
|
|
518
518
|
if ("items" in $) {
|
|
519
|
-
const y = $.items.find((
|
|
519
|
+
const y = $.items.find((F) => F.slug === n);
|
|
520
520
|
if (y) {
|
|
521
521
|
P = y.showTableOfContents !== !1;
|
|
522
522
|
break;
|
|
@@ -525,28 +525,28 @@ function Ft({ language: t }) {
|
|
|
525
525
|
P = $.showTableOfContents !== !1;
|
|
526
526
|
break;
|
|
527
527
|
}
|
|
528
|
-
|
|
528
|
+
x(P);
|
|
529
529
|
try {
|
|
530
530
|
let $;
|
|
531
531
|
try {
|
|
532
|
-
$ = await c(t, n,
|
|
532
|
+
$ = await c(t, n, K);
|
|
533
533
|
} catch {
|
|
534
|
-
if (
|
|
534
|
+
if (K)
|
|
535
535
|
$ = await c(t, n, !1);
|
|
536
536
|
else
|
|
537
537
|
throw new Error("Content not found");
|
|
538
538
|
}
|
|
539
539
|
let y = "";
|
|
540
540
|
try {
|
|
541
|
-
y = await s(n,
|
|
541
|
+
y = await s(n, K);
|
|
542
542
|
} catch {
|
|
543
|
-
|
|
543
|
+
K && (y = await s(n, !1));
|
|
544
544
|
}
|
|
545
|
-
const
|
|
546
|
-
let ne =
|
|
545
|
+
const F = /^(#{1,6})\s+(.+)$/gm, ee = [];
|
|
546
|
+
let ne = F.exec(y);
|
|
547
547
|
for (; ne !== null; ) {
|
|
548
548
|
const Te = ne[2].trim();
|
|
549
|
-
ee.push(Te), ne =
|
|
549
|
+
ee.push(Te), ne = F.exec(y);
|
|
550
550
|
}
|
|
551
551
|
D.current = ee, _(y), m($.content), b($.frontmatter);
|
|
552
552
|
} catch ($) {
|
|
@@ -558,7 +558,7 @@ function Ft({ language: t }) {
|
|
|
558
558
|
}, [
|
|
559
559
|
n,
|
|
560
560
|
t,
|
|
561
|
-
|
|
561
|
+
K,
|
|
562
562
|
o.navigationData,
|
|
563
563
|
c,
|
|
564
564
|
s
|
|
@@ -583,27 +583,27 @@ function Ft({ language: t }) {
|
|
|
583
583
|
] }) }) });
|
|
584
584
|
N.current = 0;
|
|
585
585
|
let de = !1;
|
|
586
|
-
const Z = (v,
|
|
587
|
-
v.preventDefault(), we(
|
|
586
|
+
const Z = (v, I) => {
|
|
587
|
+
v.preventDefault(), we(I), Xe(I, K);
|
|
588
588
|
};
|
|
589
589
|
return /* @__PURE__ */ h(z, { children: [
|
|
590
590
|
/* @__PURE__ */ h("div", { className: B.contentPage, children: [
|
|
591
|
-
/* @__PURE__ */ e(
|
|
591
|
+
/* @__PURE__ */ e(Ke, { hasAdvanced: u.hasAdvanced || !1 }),
|
|
592
592
|
/* @__PURE__ */ e("div", { className: B.mdxContent, children: /* @__PURE__ */ e(
|
|
593
593
|
Be,
|
|
594
594
|
{
|
|
595
595
|
remarkPlugins: [Me],
|
|
596
596
|
components: {
|
|
597
597
|
h1: ({ children: v }) => {
|
|
598
|
-
const
|
|
598
|
+
const I = N.current++, P = D.current[I] || "", $ = V(P), y = !de;
|
|
599
599
|
de = !0;
|
|
600
|
-
const
|
|
600
|
+
const F = u.date || u.author;
|
|
601
601
|
return /* @__PURE__ */ h(z, { children: [
|
|
602
602
|
/* @__PURE__ */ e(
|
|
603
603
|
"h1",
|
|
604
604
|
{
|
|
605
605
|
id: $,
|
|
606
|
-
className: y &&
|
|
606
|
+
className: y && F ? B.withMetadata : void 0,
|
|
607
607
|
children: /* @__PURE__ */ e(
|
|
608
608
|
"a",
|
|
609
609
|
{
|
|
@@ -615,7 +615,7 @@ function Ft({ language: t }) {
|
|
|
615
615
|
)
|
|
616
616
|
}
|
|
617
617
|
),
|
|
618
|
-
y &&
|
|
618
|
+
y && F && /* @__PURE__ */ e(
|
|
619
619
|
Le,
|
|
620
620
|
{
|
|
621
621
|
date: u.date,
|
|
@@ -625,7 +625,7 @@ function Ft({ language: t }) {
|
|
|
625
625
|
] });
|
|
626
626
|
},
|
|
627
627
|
h2: ({ children: v }) => {
|
|
628
|
-
const
|
|
628
|
+
const I = N.current++, P = D.current[I] || "", $ = V(P);
|
|
629
629
|
return /* @__PURE__ */ e("h2", { id: $, children: /* @__PURE__ */ e(
|
|
630
630
|
"a",
|
|
631
631
|
{
|
|
@@ -637,7 +637,7 @@ function Ft({ language: t }) {
|
|
|
637
637
|
) });
|
|
638
638
|
},
|
|
639
639
|
h3: ({ children: v }) => {
|
|
640
|
-
const
|
|
640
|
+
const I = N.current++, P = D.current[I] || "", $ = V(P);
|
|
641
641
|
return /* @__PURE__ */ e("h3", { id: $, children: /* @__PURE__ */ e(
|
|
642
642
|
"a",
|
|
643
643
|
{
|
|
@@ -649,7 +649,7 @@ function Ft({ language: t }) {
|
|
|
649
649
|
) });
|
|
650
650
|
},
|
|
651
651
|
h4: ({ children: v }) => {
|
|
652
|
-
const
|
|
652
|
+
const I = N.current++, P = D.current[I] || "", $ = V(P);
|
|
653
653
|
return /* @__PURE__ */ e("h4", { id: $, children: /* @__PURE__ */ e(
|
|
654
654
|
"a",
|
|
655
655
|
{
|
|
@@ -661,37 +661,37 @@ function Ft({ language: t }) {
|
|
|
661
661
|
) });
|
|
662
662
|
},
|
|
663
663
|
h5: ({ children: v }) => {
|
|
664
|
-
const
|
|
665
|
-
return /* @__PURE__ */ e("h5", { id:
|
|
664
|
+
const I = `h5-${N.current++}`;
|
|
665
|
+
return /* @__PURE__ */ e("h5", { id: I, children: v });
|
|
666
666
|
},
|
|
667
667
|
h6: ({ children: v }) => {
|
|
668
|
-
const
|
|
669
|
-
return /* @__PURE__ */ e("h6", { id:
|
|
668
|
+
const I = `h6-${N.current++}`;
|
|
669
|
+
return /* @__PURE__ */ e("h6", { id: I, children: v });
|
|
670
670
|
},
|
|
671
671
|
p: ({ children: v }) => /* @__PURE__ */ e("p", { children: v }),
|
|
672
672
|
ul: ({ children: v }) => /* @__PURE__ */ e("ul", { children: v }),
|
|
673
673
|
ol: ({ children: v }) => /* @__PURE__ */ e("ol", { children: v }),
|
|
674
674
|
li: ({ children: v }) => /* @__PURE__ */ e("li", { children: v }),
|
|
675
|
-
code: ({ className: v, children:
|
|
675
|
+
code: ({ className: v, children: I, ...P }) => {
|
|
676
676
|
if (!v)
|
|
677
|
-
return /* @__PURE__ */ e("code", { ...P, children:
|
|
677
|
+
return /* @__PURE__ */ e("code", { ...P, children: I });
|
|
678
678
|
const y = (v == null ? void 0 : v.replace("language-", "")) || "";
|
|
679
679
|
return /* @__PURE__ */ h("div", { className: B.codeBlock, children: [
|
|
680
680
|
y && /* @__PURE__ */ e("div", { className: B.codeLanguage, children: y }),
|
|
681
|
-
/* @__PURE__ */ e("pre", { children: /* @__PURE__ */ e("code", { className: v, ...P, children:
|
|
681
|
+
/* @__PURE__ */ e("pre", { children: /* @__PURE__ */ e("code", { className: v, ...P, children: I }) })
|
|
682
682
|
] });
|
|
683
683
|
},
|
|
684
684
|
pre: ({ children: v }) => /* @__PURE__ */ e(z, { children: v }),
|
|
685
685
|
// Let code component handle pre styling
|
|
686
686
|
blockquote: ({ children: v }) => /* @__PURE__ */ e("blockquote", { children: v }),
|
|
687
|
-
a: ({ href: v, children:
|
|
687
|
+
a: ({ href: v, children: I, ...P }) => {
|
|
688
688
|
if (v != null && v.startsWith("./")) {
|
|
689
689
|
const $ = v.slice(2), y = Ge(
|
|
690
690
|
$,
|
|
691
691
|
t,
|
|
692
692
|
o.basePath
|
|
693
693
|
);
|
|
694
|
-
return /* @__PURE__ */ e("a", { href: y, ...P, children:
|
|
694
|
+
return /* @__PURE__ */ e("a", { href: y, ...P, children: I });
|
|
695
695
|
}
|
|
696
696
|
return v != null && v.startsWith("http://") || v != null && v.startsWith("https://") ? /* @__PURE__ */ e(
|
|
697
697
|
"a",
|
|
@@ -700,9 +700,9 @@ function Ft({ language: t }) {
|
|
|
700
700
|
target: "_blank",
|
|
701
701
|
rel: "noopener noreferrer",
|
|
702
702
|
...P,
|
|
703
|
-
children:
|
|
703
|
+
children: I
|
|
704
704
|
}
|
|
705
|
-
) : /* @__PURE__ */ e("a", { href: v, ...P, children:
|
|
705
|
+
) : /* @__PURE__ */ e("a", { href: v, ...P, children: I });
|
|
706
706
|
},
|
|
707
707
|
strong: ({ children: v }) => /* @__PURE__ */ e("strong", { children: v }),
|
|
708
708
|
em: ({ children: v }) => /* @__PURE__ */ e("em", { children: v })
|
|
@@ -720,20 +720,20 @@ function Ft({ language: t }) {
|
|
|
720
720
|
)
|
|
721
721
|
] }),
|
|
722
722
|
w && /* @__PURE__ */ e(ht, { content: i, englishContent: g }),
|
|
723
|
-
|
|
724
|
-
|
|
723
|
+
C && ((ue = o.tagIndex) == null ? void 0 : ue[t]) && /* @__PURE__ */ e(
|
|
724
|
+
xt,
|
|
725
725
|
{
|
|
726
|
-
tag:
|
|
727
|
-
results: o.tagIndex[t][
|
|
726
|
+
tag: C,
|
|
727
|
+
results: o.tagIndex[t][C] || [],
|
|
728
728
|
language: t,
|
|
729
729
|
onClose: () => f(null)
|
|
730
730
|
}
|
|
731
731
|
)
|
|
732
732
|
] });
|
|
733
733
|
}
|
|
734
|
-
const
|
|
735
|
-
searchButton:
|
|
736
|
-
searchIcon:
|
|
734
|
+
const Kt = "_searchButton_1k9sl_1", qt = "_searchIcon_1k9sl_17", zt = "_searchHint_1k9sl_23", Gt = "_kbd_1k9sl_27", Qt = "_searchOverlay_1k9sl_42", Xt = "_searchModal_1k9sl_67", Yt = "_searchHeader_1k9sl_91", Vt = "_searchInput_1k9sl_105", Jt = "_closeButton_1k9sl_123", Zt = "_searchResults_1k9sl_144", en = "_resultsList_1k9sl_152", tn = "_resultItem_1k9sl_158", nn = "_selected_1k9sl_173", an = "_resultTitle_1k9sl_176", on = "_resultSlug_1k9sl_180", sn = "_noResults_1k9sl_186", cn = "_searchHints_1k9sl_193", rn = "_hint_1k9sl_210", T = {
|
|
735
|
+
searchButton: Kt,
|
|
736
|
+
searchIcon: qt,
|
|
737
737
|
searchHint: zt,
|
|
738
738
|
kbd: Gt,
|
|
739
739
|
searchOverlay: Qt,
|
|
@@ -752,7 +752,7 @@ const Ut = "_searchButton_1k9sl_1", Kt = "_searchIcon_1k9sl_17", zt = "_searchHi
|
|
|
752
752
|
hint: rn
|
|
753
753
|
};
|
|
754
754
|
function ln({ language: t }) {
|
|
755
|
-
const { t: n } = E(), a =
|
|
755
|
+
const { t: n } = E(), a = U(), { config: o } = R(), [c, s] = L(!1), [i, m] = L(""), [g, _] = L([]), [u, b] = L(0), p = H(null), d = H(null), r = typeof navigator < "u" && /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform) ? "⌘K" : "Ctrl+K", w = (o.navigationData ? te(o.navigationData, t) : []).flatMap((f) => "items" in f ? f.items.map((N) => ({
|
|
756
756
|
title: N.title,
|
|
757
757
|
slug: N.slug
|
|
758
758
|
})) : [{ title: f.title, slug: f.slug }]);
|
|
@@ -786,8 +786,8 @@ function ln({ language: t }) {
|
|
|
786
786
|
window.removeEventListener("blog:open-search", f), window.removeEventListener("blog:close-search", N);
|
|
787
787
|
};
|
|
788
788
|
}, []);
|
|
789
|
-
const
|
|
790
|
-
f.key === "ArrowDown" ? (f.preventDefault(), b((N) => Math.min(N + 1, g.length - 1))) : f.key === "ArrowUp" ? (f.preventDefault(), b((N) => Math.max(N - 1, 0))) : f.key === "Enter" && g[u] && (f.preventDefault(),
|
|
789
|
+
const x = (f) => {
|
|
790
|
+
f.key === "ArrowDown" ? (f.preventDefault(), b((N) => Math.min(N + 1, g.length - 1))) : f.key === "ArrowUp" ? (f.preventDefault(), b((N) => Math.max(N - 1, 0))) : f.key === "Enter" && g[u] && (f.preventDefault(), C(g[u].slug));
|
|
791
791
|
};
|
|
792
792
|
S(() => {
|
|
793
793
|
const f = (N) => {
|
|
@@ -795,7 +795,7 @@ function ln({ language: t }) {
|
|
|
795
795
|
};
|
|
796
796
|
return c && document.addEventListener("mousedown", f), () => document.removeEventListener("mousedown", f);
|
|
797
797
|
}, [c]);
|
|
798
|
-
const
|
|
798
|
+
const C = (f) => {
|
|
799
799
|
const N = o.basePath || "";
|
|
800
800
|
a(`${N}/${t}/${f}`), s(!1), m("");
|
|
801
801
|
};
|
|
@@ -845,7 +845,7 @@ function ln({ language: t }) {
|
|
|
845
845
|
placeholder: n("ui.searchPlaceholder"),
|
|
846
846
|
value: i,
|
|
847
847
|
onChange: (f) => m(f.target.value),
|
|
848
|
-
onKeyDown:
|
|
848
|
+
onKeyDown: x
|
|
849
849
|
}
|
|
850
850
|
),
|
|
851
851
|
/* @__PURE__ */ e(
|
|
@@ -866,7 +866,7 @@ function ln({ language: t }) {
|
|
|
866
866
|
{
|
|
867
867
|
type: "button",
|
|
868
868
|
className: `${T.resultItem} ${N === u ? T.selected : ""}`,
|
|
869
|
-
onClick: () =>
|
|
869
|
+
onClick: () => C(f.slug),
|
|
870
870
|
onMouseEnter: () => b(N),
|
|
871
871
|
children: [
|
|
872
872
|
/* @__PURE__ */ e("div", { className: T.resultTitle, children: f.title }),
|
|
@@ -901,7 +901,7 @@ function ln({ language: t }) {
|
|
|
901
901
|
)
|
|
902
902
|
] });
|
|
903
903
|
}
|
|
904
|
-
const dn = "_header_jrobc_1", un = "_container_jrobc_24", hn = "_content_jrobc_36", gn = "_leftSection_jrobc_43", mn = "_mobileMenuButton_jrobc_49", _n = "_burgerIcon_jrobc_87", pn = "_logo_jrobc_92", fn = "_nav_jrobc_98", vn = "_navLink_jrobc_109", bn = "_externalIcon_jrobc_135", wn = "_supportDropdown_jrobc_141", Nn = "_themeDropdown_jrobc_145", $n = "_themeButton_jrobc_149",
|
|
904
|
+
const dn = "_header_jrobc_1", un = "_container_jrobc_24", hn = "_content_jrobc_36", gn = "_leftSection_jrobc_43", mn = "_mobileMenuButton_jrobc_49", _n = "_burgerIcon_jrobc_87", pn = "_logo_jrobc_92", fn = "_nav_jrobc_98", vn = "_navLink_jrobc_109", bn = "_externalIcon_jrobc_135", wn = "_supportDropdown_jrobc_141", Nn = "_themeDropdown_jrobc_145", $n = "_themeButton_jrobc_149", kn = "_themeIcon_jrobc_171", xn = "_supportButton_jrobc_177", Cn = "_caretIcon_jrobc_198", In = "_dropdownMenu_jrobc_208", yn = "_dropdownItem_jrobc_221", Ln = "_dropdownIcon_jrobc_244", k = {
|
|
905
905
|
header: dn,
|
|
906
906
|
container: un,
|
|
907
907
|
content: hn,
|
|
@@ -915,55 +915,55 @@ const dn = "_header_jrobc_1", un = "_container_jrobc_24", hn = "_content_jrobc_3
|
|
|
915
915
|
supportDropdown: wn,
|
|
916
916
|
themeDropdown: Nn,
|
|
917
917
|
themeButton: $n,
|
|
918
|
-
themeIcon:
|
|
919
|
-
supportButton:
|
|
920
|
-
caretIcon:
|
|
921
|
-
dropdownMenu:
|
|
918
|
+
themeIcon: kn,
|
|
919
|
+
supportButton: xn,
|
|
920
|
+
caretIcon: Cn,
|
|
921
|
+
dropdownMenu: In,
|
|
922
922
|
dropdownItem: yn,
|
|
923
923
|
dropdownIcon: Ln
|
|
924
924
|
};
|
|
925
925
|
function Tn({ onMobileMenuToggle: t }) {
|
|
926
|
-
const { t: n, i18n: a } = E(), { config: o } = R(), c = o.header ?? {}, s = c.navLinks ?? [], i = c.dropdownItems ?? [], [m, g] = L(!1), [_, u] = L(!1), { theme: b, setTheme: p } =
|
|
926
|
+
const { t: n, i18n: a } = E(), { config: o } = R(), c = o.header ?? {}, s = c.navLinks ?? [], i = c.dropdownItems ?? [], [m, g] = L(!1), [_, u] = L(!1), { theme: b, setTheme: p } = Ce(), d = H(null), l = H(null);
|
|
927
927
|
return S(() => {
|
|
928
928
|
const r = (w) => {
|
|
929
929
|
d.current && !d.current.contains(w.target) && g(!1), l.current && !l.current.contains(w.target) && u(!1);
|
|
930
930
|
};
|
|
931
931
|
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
932
|
-
}, []), /* @__PURE__ */ e("header", { className:
|
|
933
|
-
/* @__PURE__ */ h("div", { className:
|
|
932
|
+
}, []), /* @__PURE__ */ e("header", { className: k.header, children: /* @__PURE__ */ e("div", { className: k.container, children: /* @__PURE__ */ h("div", { className: k.content, children: [
|
|
933
|
+
/* @__PURE__ */ h("div", { className: k.leftSection, children: [
|
|
934
934
|
/* @__PURE__ */ e(
|
|
935
935
|
"button",
|
|
936
936
|
{
|
|
937
937
|
type: "button",
|
|
938
|
-
className:
|
|
938
|
+
className: k.mobileMenuButton,
|
|
939
939
|
onClick: t,
|
|
940
940
|
"aria-label": "Open menu",
|
|
941
|
-
children: /* @__PURE__ */ e(je, { className:
|
|
941
|
+
children: /* @__PURE__ */ e(je, { className: k.burgerIcon })
|
|
942
942
|
}
|
|
943
943
|
),
|
|
944
|
-
/* @__PURE__ */ e("div", { className:
|
|
944
|
+
/* @__PURE__ */ e("div", { className: k.logo })
|
|
945
945
|
] }),
|
|
946
|
-
/* @__PURE__ */ h("nav", { className:
|
|
946
|
+
/* @__PURE__ */ h("nav", { className: k.nav, children: [
|
|
947
947
|
/* @__PURE__ */ e(ln, { language: a.language }),
|
|
948
|
-
/* @__PURE__ */ h("div", { className:
|
|
948
|
+
/* @__PURE__ */ h("div", { className: k.themeDropdown, ref: l, children: [
|
|
949
949
|
/* @__PURE__ */ h(
|
|
950
950
|
"button",
|
|
951
951
|
{
|
|
952
952
|
type: "button",
|
|
953
|
-
className:
|
|
953
|
+
className: k.themeButton,
|
|
954
954
|
onClick: () => u(!_),
|
|
955
955
|
"aria-expanded": _,
|
|
956
956
|
"aria-haspopup": "true",
|
|
957
957
|
"aria-label": n("ui.theme"),
|
|
958
958
|
children: [
|
|
959
|
-
b === "light" && /* @__PURE__ */ e(_e, { className:
|
|
960
|
-
b === "dark" && /* @__PURE__ */ e(pe, { className:
|
|
961
|
-
b === "system" && /* @__PURE__ */ e(fe, { className:
|
|
962
|
-
/* @__PURE__ */ e(se, { className:
|
|
959
|
+
b === "light" && /* @__PURE__ */ e(_e, { className: k.themeIcon }),
|
|
960
|
+
b === "dark" && /* @__PURE__ */ e(pe, { className: k.themeIcon }),
|
|
961
|
+
b === "system" && /* @__PURE__ */ e(fe, { className: k.themeIcon }),
|
|
962
|
+
/* @__PURE__ */ e(se, { className: k.caretIcon })
|
|
963
963
|
]
|
|
964
964
|
}
|
|
965
965
|
),
|
|
966
|
-
_ && /* @__PURE__ */ h("div", { className:
|
|
966
|
+
_ && /* @__PURE__ */ h("div", { className: k.dropdownMenu, children: [
|
|
967
967
|
/* @__PURE__ */ h(
|
|
968
968
|
"button",
|
|
969
969
|
{
|
|
@@ -971,9 +971,9 @@ function Tn({ onMobileMenuToggle: t }) {
|
|
|
971
971
|
onClick: () => {
|
|
972
972
|
p("light"), u(!1);
|
|
973
973
|
},
|
|
974
|
-
className:
|
|
974
|
+
className: k.dropdownItem,
|
|
975
975
|
children: [
|
|
976
|
-
/* @__PURE__ */ e(_e, { className:
|
|
976
|
+
/* @__PURE__ */ e(_e, { className: k.dropdownIcon }),
|
|
977
977
|
n("ui.light")
|
|
978
978
|
]
|
|
979
979
|
}
|
|
@@ -985,9 +985,9 @@ function Tn({ onMobileMenuToggle: t }) {
|
|
|
985
985
|
onClick: () => {
|
|
986
986
|
p("dark"), u(!1);
|
|
987
987
|
},
|
|
988
|
-
className:
|
|
988
|
+
className: k.dropdownItem,
|
|
989
989
|
children: [
|
|
990
|
-
/* @__PURE__ */ e(pe, { className:
|
|
990
|
+
/* @__PURE__ */ e(pe, { className: k.dropdownIcon }),
|
|
991
991
|
n("ui.dark")
|
|
992
992
|
]
|
|
993
993
|
}
|
|
@@ -999,41 +999,41 @@ function Tn({ onMobileMenuToggle: t }) {
|
|
|
999
999
|
onClick: () => {
|
|
1000
1000
|
p("system"), u(!1);
|
|
1001
1001
|
},
|
|
1002
|
-
className:
|
|
1002
|
+
className: k.dropdownItem,
|
|
1003
1003
|
children: [
|
|
1004
|
-
/* @__PURE__ */ e(fe, { className:
|
|
1004
|
+
/* @__PURE__ */ e(fe, { className: k.dropdownIcon }),
|
|
1005
1005
|
n("ui.system")
|
|
1006
1006
|
]
|
|
1007
1007
|
}
|
|
1008
1008
|
)
|
|
1009
1009
|
] })
|
|
1010
1010
|
] }),
|
|
1011
|
-
i.length > 0 && /* @__PURE__ */ h("div", { className:
|
|
1011
|
+
i.length > 0 && /* @__PURE__ */ h("div", { className: k.supportDropdown, ref: d, children: [
|
|
1012
1012
|
/* @__PURE__ */ h(
|
|
1013
1013
|
"button",
|
|
1014
1014
|
{
|
|
1015
1015
|
type: "button",
|
|
1016
|
-
className:
|
|
1016
|
+
className: k.supportButton,
|
|
1017
1017
|
onClick: () => g(!m),
|
|
1018
1018
|
"aria-expanded": m,
|
|
1019
1019
|
"aria-haspopup": "true",
|
|
1020
1020
|
children: [
|
|
1021
1021
|
n("ui.support"),
|
|
1022
|
-
/* @__PURE__ */ e(se, { className:
|
|
1022
|
+
/* @__PURE__ */ e(se, { className: k.caretIcon })
|
|
1023
1023
|
]
|
|
1024
1024
|
}
|
|
1025
1025
|
),
|
|
1026
|
-
m && /* @__PURE__ */ e("div", { className:
|
|
1027
|
-
const
|
|
1026
|
+
m && /* @__PURE__ */ e("div", { className: k.dropdownMenu, children: i.map((r, w) => {
|
|
1027
|
+
const x = r.target ?? (r.url.startsWith("http") ? "_blank" : "_self"), C = r.rel ?? (x === "_blank" ? "noopener noreferrer" : void 0), f = r.icon;
|
|
1028
1028
|
return /* @__PURE__ */ h(
|
|
1029
1029
|
"a",
|
|
1030
1030
|
{
|
|
1031
1031
|
href: r.url,
|
|
1032
|
-
target:
|
|
1033
|
-
rel:
|
|
1034
|
-
className:
|
|
1032
|
+
target: x,
|
|
1033
|
+
rel: C,
|
|
1034
|
+
className: k.dropdownItem,
|
|
1035
1035
|
children: [
|
|
1036
|
-
f && /* @__PURE__ */ e(f, { className:
|
|
1036
|
+
f && /* @__PURE__ */ e(f, { className: k.dropdownIcon }),
|
|
1037
1037
|
r.label
|
|
1038
1038
|
]
|
|
1039
1039
|
},
|
|
@@ -1042,17 +1042,17 @@ function Tn({ onMobileMenuToggle: t }) {
|
|
|
1042
1042
|
}) })
|
|
1043
1043
|
] }),
|
|
1044
1044
|
s.map((r, w) => {
|
|
1045
|
-
const
|
|
1045
|
+
const x = r.target ?? (typeof r.url == "string" && r.url.startsWith("http") ? "_blank" : "_self"), C = r.rel ?? (x === "_blank" ? "noopener noreferrer" : void 0), f = r.icon;
|
|
1046
1046
|
return /* @__PURE__ */ h(
|
|
1047
1047
|
"a",
|
|
1048
1048
|
{
|
|
1049
1049
|
href: r.url,
|
|
1050
|
-
target:
|
|
1051
|
-
rel:
|
|
1052
|
-
className: r.className ??
|
|
1050
|
+
target: x,
|
|
1051
|
+
rel: C,
|
|
1052
|
+
className: r.className ?? k.navLink,
|
|
1053
1053
|
children: [
|
|
1054
1054
|
r.label,
|
|
1055
|
-
f && /* @__PURE__ */ e(f, { className:
|
|
1055
|
+
f && /* @__PURE__ */ e(f, { className: k.externalIcon })
|
|
1056
1056
|
]
|
|
1057
1057
|
},
|
|
1058
1058
|
w
|
|
@@ -1066,15 +1066,15 @@ function le({
|
|
|
1066
1066
|
styles: t,
|
|
1067
1067
|
onLanguageChange: n
|
|
1068
1068
|
}) {
|
|
1069
|
-
const { i18n: a } = E(), o = G(), c =
|
|
1069
|
+
const { i18n: a } = E(), o = G(), c = U(), { config: s } = R(), [i, m] = L(!1), g = H(null), _ = a.language, u = (p) => {
|
|
1070
1070
|
const d = s.basePath || "";
|
|
1071
1071
|
let l = o.pathname;
|
|
1072
1072
|
d && l.startsWith(d) && (l = l.slice(d.length));
|
|
1073
1073
|
const r = l.split("/").filter(Boolean), w = r[0];
|
|
1074
|
-
let
|
|
1075
|
-
s.supportedLanguages.includes(w) ? (r[0] = p,
|
|
1076
|
-
const
|
|
1077
|
-
a.changeLanguage(p), c(
|
|
1074
|
+
let x = "";
|
|
1075
|
+
s.supportedLanguages.includes(w) ? (r[0] = p, x = `${d}/${r.join("/")}`) : x = `${d}/${p}${l}`;
|
|
1076
|
+
const C = x + o.search + o.hash;
|
|
1077
|
+
a.changeLanguage(p), c(C), m(!1), n == null || n();
|
|
1078
1078
|
};
|
|
1079
1079
|
S(() => {
|
|
1080
1080
|
const p = (d) => {
|
|
@@ -1118,9 +1118,9 @@ function ie({ styles: t, onLinkClick: n }) {
|
|
|
1118
1118
|
if (!c.navigationData) return {};
|
|
1119
1119
|
const d = a.language;
|
|
1120
1120
|
return te(c.navigationData, d).reduce(
|
|
1121
|
-
(r, w,
|
|
1121
|
+
(r, w, x) => {
|
|
1122
1122
|
if (X(w)) {
|
|
1123
|
-
const
|
|
1123
|
+
const C = c.navigationData[x], f = X(C) && C.defaultOpen === !0;
|
|
1124
1124
|
r[w.title] = f;
|
|
1125
1125
|
}
|
|
1126
1126
|
return r;
|
|
@@ -1134,9 +1134,9 @@ function ie({ styles: t, onLinkClick: n }) {
|
|
|
1134
1134
|
c.navigationData,
|
|
1135
1135
|
m
|
|
1136
1136
|
).reduce(
|
|
1137
|
-
(r, w,
|
|
1137
|
+
(r, w, x) => {
|
|
1138
1138
|
if (X(w)) {
|
|
1139
|
-
const
|
|
1139
|
+
const C = c.navigationData[x], f = X(C) && C.defaultOpen === !0;
|
|
1140
1140
|
r[w.title] = f;
|
|
1141
1141
|
}
|
|
1142
1142
|
return r;
|
|
@@ -1209,7 +1209,7 @@ function Za({
|
|
|
1209
1209
|
/* @__PURE__ */ e(ie, { styles: t, onLinkClick: n })
|
|
1210
1210
|
] });
|
|
1211
1211
|
}
|
|
1212
|
-
const Sn = "_backdrop_1a7pu_1", Pn = "_open_1a7pu_13", Dn = "_mobileMenu_1a7pu_18", Bn = "_header_1a7pu_37", Mn = "_brand_1a7pu_46", En = "_cloudIcon_1a7pu_53", Rn = "_title_1a7pu_62", On = "_closeButton_1a7pu_69", jn = "_closeIcon_1a7pu_101", An = "_languageSection_1a7pu_106", Wn = "_languageSelect_1a7pu_112", Hn = "_languageButton_1a7pu_117",
|
|
1212
|
+
const Sn = "_backdrop_1a7pu_1", Pn = "_open_1a7pu_13", Dn = "_mobileMenu_1a7pu_18", Bn = "_header_1a7pu_37", Mn = "_brand_1a7pu_46", En = "_cloudIcon_1a7pu_53", Rn = "_title_1a7pu_62", On = "_closeButton_1a7pu_69", jn = "_closeIcon_1a7pu_101", An = "_languageSection_1a7pu_106", Wn = "_languageSelect_1a7pu_112", Hn = "_languageButton_1a7pu_117", Fn = "_icon_1a7pu_156", Un = "_chevron_1a7pu_162", Kn = "_languageDropdown_1a7pu_172", qn = "_languageOption_1a7pu_185", zn = "_selected_1a7pu_226", Gn = "_scrollArea_1a7pu_231", Qn = "_navigation_1a7pu_237", Xn = "_section_1a7pu_241", Yn = "_sectionButton_1a7pu_245", Vn = "_expanded_1a7pu_285", Jn = "_sectionItems_1a7pu_289", Zn = "_navItem_1a7pu_297", ea = "_active_1a7pu_310", ta = "_navItemContent_1a7pu_316", na = "_navItemTitle_1a7pu_322", M = {
|
|
1213
1213
|
backdrop: Sn,
|
|
1214
1214
|
open: Pn,
|
|
1215
1215
|
mobileMenu: Dn,
|
|
@@ -1222,10 +1222,10 @@ const Sn = "_backdrop_1a7pu_1", Pn = "_open_1a7pu_13", Dn = "_mobileMenu_1a7pu_1
|
|
|
1222
1222
|
languageSection: An,
|
|
1223
1223
|
languageSelect: Wn,
|
|
1224
1224
|
languageButton: Hn,
|
|
1225
|
-
icon:
|
|
1226
|
-
chevron:
|
|
1227
|
-
languageDropdown:
|
|
1228
|
-
languageOption:
|
|
1225
|
+
icon: Fn,
|
|
1226
|
+
chevron: Un,
|
|
1227
|
+
languageDropdown: Kn,
|
|
1228
|
+
languageOption: qn,
|
|
1229
1229
|
selected: zn,
|
|
1230
1230
|
scrollArea: Gn,
|
|
1231
1231
|
navigation: Qn,
|
|
@@ -1277,7 +1277,7 @@ function aa({ isOpen: t, onClose: n }) {
|
|
|
1277
1277
|
] })
|
|
1278
1278
|
] });
|
|
1279
1279
|
}
|
|
1280
|
-
const oa = "_sidebar_1tdxt_1", sa = "_header_1tdxt_17", ca = "_brand_1tdxt_29", ra = "_cloudIcon_1tdxt_35", la = "_title_1tdxt_44", ia = "_languageSelect_1tdxt_55", da = "_languageButton_1tdxt_61", ua = "_icon_1tdxt_99", ha = "_chevron_1tdxt_104", ga = "_languageDropdown_1tdxt_114", ma = "_languageOption_1tdxt_128", _a = "_selected_1tdxt_147", pa = "_scrollArea_1tdxt_152", fa = "_navigation_1tdxt_158", va = "_section_1tdxt_164", ba = "_sectionButton_1tdxt_170", wa = "_expanded_1tdxt_213", Na = "_sectionItems_1tdxt_217", $a = "_navItem_1tdxt_225",
|
|
1280
|
+
const oa = "_sidebar_1tdxt_1", sa = "_header_1tdxt_17", ca = "_brand_1tdxt_29", ra = "_cloudIcon_1tdxt_35", la = "_title_1tdxt_44", ia = "_languageSelect_1tdxt_55", da = "_languageButton_1tdxt_61", ua = "_icon_1tdxt_99", ha = "_chevron_1tdxt_104", ga = "_languageDropdown_1tdxt_114", ma = "_languageOption_1tdxt_128", _a = "_selected_1tdxt_147", pa = "_scrollArea_1tdxt_152", fa = "_navigation_1tdxt_158", va = "_section_1tdxt_164", ba = "_sectionButton_1tdxt_170", wa = "_expanded_1tdxt_213", Na = "_sectionItems_1tdxt_217", $a = "_navItem_1tdxt_225", ka = "_active_1tdxt_238", xa = "_navItemContent_1tdxt_243", W = {
|
|
1281
1281
|
sidebar: oa,
|
|
1282
1282
|
header: sa,
|
|
1283
1283
|
brand: ca,
|
|
@@ -1297,10 +1297,10 @@ const oa = "_sidebar_1tdxt_1", sa = "_header_1tdxt_17", ca = "_brand_1tdxt_29",
|
|
|
1297
1297
|
expanded: wa,
|
|
1298
1298
|
sectionItems: Na,
|
|
1299
1299
|
navItem: $a,
|
|
1300
|
-
active:
|
|
1301
|
-
navItemContent:
|
|
1300
|
+
active: ka,
|
|
1301
|
+
navItemContent: xa
|
|
1302
1302
|
};
|
|
1303
|
-
function
|
|
1303
|
+
function Ca() {
|
|
1304
1304
|
const { config: t } = R(), n = t.logo, a = t.supportedLanguages.length > 1;
|
|
1305
1305
|
return /* @__PURE__ */ h("div", { className: W.sidebar, children: [
|
|
1306
1306
|
/* @__PURE__ */ h("div", { className: W.header, children: [
|
|
@@ -1313,8 +1313,8 @@ function Ia() {
|
|
|
1313
1313
|
/* @__PURE__ */ e("div", { className: W.scrollArea, children: /* @__PURE__ */ e(ie, { styles: W }) })
|
|
1314
1314
|
] });
|
|
1315
1315
|
}
|
|
1316
|
-
const
|
|
1317
|
-
app:
|
|
1316
|
+
const Ia = "_app_wf6ni_1", ya = "_layout_wf6ni_9", La = "_main_wf6ni_15", Ta = "_fullWidth_wf6ni_21", Sa = "_contentWrapper_wf6ni_30", Y = {
|
|
1317
|
+
app: Ia,
|
|
1318
1318
|
layout: ya,
|
|
1319
1319
|
main: La,
|
|
1320
1320
|
fullWidth: Ta,
|
|
@@ -1337,7 +1337,7 @@ function Pa({ children: t }) {
|
|
|
1337
1337
|
g && /* @__PURE__ */ e(Tn, { onMobileMenuToggle: i }),
|
|
1338
1338
|
/* @__PURE__ */ e(aa, { isOpen: c, onClose: m }),
|
|
1339
1339
|
/* @__PURE__ */ h("div", { className: Y.layout, children: [
|
|
1340
|
-
_ && /* @__PURE__ */ e(
|
|
1340
|
+
_ && /* @__PURE__ */ e(Ca, {}),
|
|
1341
1341
|
/* @__PURE__ */ e(
|
|
1342
1342
|
"main",
|
|
1343
1343
|
{
|
|
@@ -1360,7 +1360,7 @@ const Da = "_homePage_1lc5u_1", Ba = "_header_1lc5u_20", Ma = "_title_1lc5u_24",
|
|
|
1360
1360
|
empty: Wa
|
|
1361
1361
|
};
|
|
1362
1362
|
function Ha() {
|
|
1363
|
-
const { i18n: t, t: n } = E(), { config: a, loadContent: o } = R(), c =
|
|
1363
|
+
const { i18n: t, t: n } = E(), { config: a, loadContent: o } = R(), c = U(), [s, i] = L([]), [m, g] = L(!0);
|
|
1364
1364
|
S(() => {
|
|
1365
1365
|
(async () => {
|
|
1366
1366
|
try {
|
|
@@ -1426,7 +1426,7 @@ function Ha() {
|
|
|
1426
1426
|
function eo() {
|
|
1427
1427
|
const { language: t } = ce(), { config: n } = R();
|
|
1428
1428
|
return /* @__PURE__ */ e(Pa, { children: /* @__PURE__ */ h(Se, { children: [
|
|
1429
|
-
/* @__PURE__ */ e(ge, { path: "/:slug", element: /* @__PURE__ */ e(
|
|
1429
|
+
/* @__PURE__ */ e(ge, { path: "/:slug", element: /* @__PURE__ */ e(Ut, { language: t }) }),
|
|
1430
1430
|
/* @__PURE__ */ e(
|
|
1431
1431
|
ge,
|
|
1432
1432
|
{
|
|
@@ -1447,7 +1447,7 @@ function to() {
|
|
|
1447
1447
|
};
|
|
1448
1448
|
}
|
|
1449
1449
|
function no() {
|
|
1450
|
-
const { i18n: t } = E(), n = G(), a =
|
|
1450
|
+
const { i18n: t } = E(), n = G(), a = U(), { config: o } = R();
|
|
1451
1451
|
return (c) => {
|
|
1452
1452
|
const s = o.basePath || "";
|
|
1453
1453
|
let i = n.pathname;
|
|
@@ -1460,10 +1460,10 @@ function no() {
|
|
|
1460
1460
|
};
|
|
1461
1461
|
}
|
|
1462
1462
|
export {
|
|
1463
|
-
|
|
1463
|
+
Ke as AdvancedModeToggle,
|
|
1464
1464
|
Ja as BlogProvider,
|
|
1465
|
-
|
|
1466
|
-
|
|
1465
|
+
qe as BlogRoot,
|
|
1466
|
+
Ut as ContentPage,
|
|
1467
1467
|
Pa as DocumentationLayout,
|
|
1468
1468
|
eo as DocumentationRoutes,
|
|
1469
1469
|
Tn as Header,
|
|
@@ -1474,16 +1474,16 @@ export {
|
|
|
1474
1474
|
Za as NavigationContent,
|
|
1475
1475
|
ie as NavigationMenu,
|
|
1476
1476
|
ln as SearchBar,
|
|
1477
|
-
|
|
1477
|
+
Ca as Sidebar,
|
|
1478
1478
|
ht as TableOfContents,
|
|
1479
|
-
|
|
1479
|
+
xt as TagResultsModal,
|
|
1480
1480
|
Pt as Tags,
|
|
1481
1481
|
Va as createBlogUtils,
|
|
1482
|
-
|
|
1482
|
+
ke as createContentLoaders,
|
|
1483
1483
|
V as generateHeadingId,
|
|
1484
1484
|
te as getNavigationData,
|
|
1485
1485
|
R as useBlogConfig,
|
|
1486
1486
|
no as useLanguageChange,
|
|
1487
1487
|
to as useSearchModal,
|
|
1488
|
-
|
|
1488
|
+
Ce as useTheme
|
|
1489
1489
|
};
|
package/package.json
CHANGED
package/styles/index.css
CHANGED
|
@@ -214,4 +214,4 @@
|
|
|
214
214
|
--xw-sidebar-border: oklch(1 0 0 / 10%);
|
|
215
215
|
--xw-sidebar-ring: oklch(0.556 0 0);
|
|
216
216
|
}
|
|
217
|
-
._tabContainer_zk6h4_1{display:inline-flex;background-color:var(--xw-card);border:1px solid var(--xw-border);border-radius:.5rem;margin-bottom:2rem;overflow:hidden}._tab_zk6h4_1{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:.5rem;font-size:.875rem;font-weight:500;transition:.15s cubic-bezier(.4,0,.2,1);cursor:pointer;border:none;outline:none}._tab_zk6h4_1:focus-visible{outline:2px solid var(--xw-ring);outline-offset:2px}._tab_zk6h4_1:disabled{pointer-events:none;opacity:.5}._tab_zk6h4_1{padding:.5rem 1rem;font-size:.87rem;font-weight:500;background-color:transparent;border:none;border-radius:0;color:var(--xw-muted-foreground);cursor:pointer;white-space:nowrap}._tab_zk6h4_1:not(:last-child){border-right:1px solid var(--xw-border)}._tab_zk6h4_1._active_zk6h4_45{background-color:var(--xw-accent);color:var(--xw-accent-foreground)}._tab_zk6h4_1:hover:not(._active_zk6h4_45){background-color:var(--xw-muted);color:var(--xw-foreground)}._tab_zk6h4_1:focus-visible{outline:2px solid var(--xw-accent);outline-offset:-2px}._metadata_bsge0_1{display:flex;align-items:center;gap:1.5rem;margin-top:1rem;margin-bottom:1rem}._author_bsge0_9,._date_bsge0_10{display:flex;align-items:center;gap:.5rem;font-weight:500;font-size:.9rem}._author_bsge0_9 svg,._date_bsge0_10 svg{flex-shrink:0}._date_bsge0_10{color:var(--xw-text-secondary, #666)}._tableOfContents_11q9u_1{position:sticky;top:5rem;align-self:flex-start;height:fit-content;max-height:calc(100vh - 8rem);overflow-y:auto;padding:2rem 0 2rem 1.5rem;margin-left:2rem;background:transparent;border-left:1px solid var(--xw-border);flex-shrink:0}@media(max-width:1024px){._tableOfContents_11q9u_1{display:none}}._header_11q9u_20{margin-bottom:1rem}._title_11q9u_24{font-size:.75rem;font-weight:500;color:var(--xw-muted-foreground);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem}._nav_11q9u_33 ul{margin:0;padding:0;list-style:none}._list_11q9u_39{display:flex;flex-direction:column;gap:.125rem;margin:0}._link_11q9u_46{display:block;width:100%;padding:.25rem 0;text-align:left;background:none;border:none;cursor:pointer;font-size:.875rem;line-height:1.4;color:var(--xw-muted-foreground);text-decoration:none;border-radius:.25rem;transition:all .15s cubic-bezier(.4,0,.2,1);position:relative;font-family:inherit}._link_11q9u_46:hover{color:var(--xw-foreground)}._link_11q9u_46:focus{outline:none;color:var(--xw-foreground)}._link_11q9u_46._active_11q9u_70{color:var(--xw-primary);font-weight:500}._link_11q9u_46._active_11q9u_70:before{content:"";position:absolute;left:-1.5rem;top:50%;transform:translateY(-50%);width:1px;height:1rem;background-color:var(--xw-primary);border-radius:.5px}._level1_11q9u_86{font-weight:500;padding-left:0;margin-bottom:.125rem}._level2_11q9u_92{padding-left:.5rem;margin-bottom:.0625rem}._level3_11q9u_97{padding-left:1rem;font-size:.8125rem;margin-bottom:.0625rem}._level4_11q9u_103{padding-left:1.5rem;font-size:.8125rem;margin-bottom:.0625rem}._level5_11q9u_109{padding-left:2rem;font-size:.75rem;margin-bottom:.0625rem}._level6_11q9u_115{padding-left:2.5rem;font-size:.75rem;margin-bottom:.0625rem}._tableOfContents_11q9u_1::-webkit-scrollbar{width:4px}._tableOfContents_11q9u_1::-webkit-scrollbar-track{background:transparent}._tableOfContents_11q9u_1::-webkit-scrollbar-thumb{background:var(--xw-border);border-radius:2px}._tableOfContents_11q9u_1::-webkit-scrollbar-thumb:hover{background:var(--xw-muted-foreground)}._overlay_1e1d4_1{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:2000;display:flex;align-items:flex-start;justify-content:center;padding-top:10vh;animation:_fadeIn_1e1d4_1 .2s ease;height:100vh}@keyframes _fadeIn_1e1d4_1{0%{opacity:0}to{opacity:1}}._modal_1e1d4_26{width:90%;max-width:600px;background:var(--xw-card);border:1px solid var(--xw-border);border-radius:.75rem;box-shadow:0 20px 60px #0000004d;animation:_slideIn_1e1d4_1 .2s ease;max-height:80vh;display:flex;flex-direction:column;overflow:hidden}@keyframes _slideIn_1e1d4_1{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}._header_1e1d4_50{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid var(--xw-border)}._title_1e1d4_58{font-size:1.125rem;font-weight:600;color:var(--xw-foreground);margin:0}._closeButton_1e1d4_65{background:none;border:none;color:var(--xw-muted-foreground);cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;border-radius:.25rem;transition:all .2s ease}._closeButton_1e1d4_65 svg{width:1.25rem;height:1.25rem}._closeButton_1e1d4_65:hover{background:var(--xw-secondary);color:var(--xw-foreground)}._results_1e1d4_86{flex:1;overflow-y:auto;padding:.5rem;min-height:200px;max-height:400px}._resultsList_1e1d4_94{list-style:none;padding:0;margin:0}._resultItem_1e1d4_100{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;width:100%;padding:.75rem 1rem;background:none;border:none;border-radius:.5rem;cursor:pointer;text-align:left;transition:all .15s ease;color:var(--xw-foreground)}._resultItem_1e1d4_100:hover{background:var(--xw-secondary)}._resultTitle_1e1d4_119{font-weight:500;font-size:.95rem}._resultSlug_1e1d4_124{font-size:.8rem;color:var(--xw-muted-foreground);opacity:.8}._noResults_1e1d4_130{padding:3rem 1rem;text-align:center;color:var(--xw-muted-foreground);font-size:.9rem}._tags_11t8a_1{display:flex;align-items:center;gap:.75rem;margin:2rem 0 1rem;padding:1rem 0 0;border-top:1px solid var(--xw-border)}._tags_11t8a_1._compact_11t8a_9{margin:2rem 0 1rem;padding:1rem 0 0;border-top:1px solid var(--xw-border)}._tagLabel_11t8a_15{display:flex;align-items:center;gap:.5rem;color:var(--xw-muted-foreground);font-size:.875rem;font-weight:500;white-space:nowrap}._tagIcon_11t8a_25{width:1.125rem;height:1.125rem}._tagList_11t8a_30{display:flex;flex-wrap:wrap;gap:.5rem}._tag_11t8a_1{display:inline-flex;align-items:center;padding:.25rem .75rem;background:none;border:1px solid var(--xw-border);border-radius:.75rem;color:var(--xw-muted-foreground);font-size:.8rem;font-weight:400;cursor:pointer;transition:all .2s ease}._tag_11t8a_1:hover{color:var(--xw-foreground);border-color:var(--xw-ring)}._contentPage_1nxj5_1{flex:1;max-width:48rem;margin:0;padding:0 0 2rem}@media(max-width:767px){._contentPage_1nxj5_1{padding:1.5rem;max-width:none}}@media(max-width:1024px){._contentPage_1nxj5_1{max-width:none;padding:2rem}}._metadata_1nxj5_20{display:flex;gap:1rem;align-items:center;padding:.5rem 0 1rem;color:var(--xw-muted-foreground);font-size:.875rem;border-bottom:1px solid var(--xw-border);margin-bottom:1rem}._metadata_1nxj5_20 ._author_1nxj5_30,._metadata_1nxj5_20 ._date_1nxj5_31{display:flex;align-items:center;gap:.5rem}._metadata_1nxj5_20 ._author_1nxj5_30{font-weight:500;color:var(--xw-foreground)}@media(max-width:767px){._metadata_1nxj5_20{flex-direction:column;align-items:flex-start;gap:.25rem}}._loadingContainer_1nxj5_48,._errorContainer_1nxj5_49{display:flex;align-items:center;justify-content:center;height:16rem}._loadingContainer_1nxj5_48{flex-direction:column;align-items:flex-start;gap:1.5rem;padding:2rem 0}@keyframes _shimmer_1nxj5_1{0%{background-position:-1000px 0}to{background-position:1000px 0}}._skeletonTitle_1nxj5_71{width:60%;height:2.5rem;background:linear-gradient(90deg,var(--xw-muted) 0%,color-mix(in oklch,var(--xw-muted) 50%,white) 50%,var(--xw-muted) 100%);background-size:1000px 100%;animation:_shimmer_1nxj5_1 2s infinite linear;border-radius:.5rem}._skeletonParagraph_1nxj5_80{width:100%;height:1rem;background:linear-gradient(90deg,var(--xw-muted) 0%,color-mix(in oklch,var(--xw-muted) 50%,white) 50%,var(--xw-muted) 100%);background-size:1000px 100%;animation:_shimmer_1nxj5_1 2s infinite linear;border-radius:.25rem;margin-bottom:.5rem}._skeletonParagraph_1nxj5_80:not(:last-child){margin-bottom:1rem}._skeletonParagraphShort_1nxj5_93{width:70%;height:1rem;background:linear-gradient(90deg,var(--xw-muted) 0%,color-mix(in oklch,var(--xw-muted) 50%,white) 50%,var(--xw-muted) 100%);background-size:1000px 100%;animation:_shimmer_1nxj5_1 2s infinite linear;border-radius:.25rem}._loadingText_1nxj5_102{color:var(--xw-muted-foreground);font-size:1rem}._errorText_1nxj5_107{color:var(--xw-destructive);font-size:1rem}._mdxContent_1nxj5_112{max-width:none}._mdxContent_1nxj5_112 h1{font-size:1.875rem;font-weight:600;letter-spacing:-.025em;margin-bottom:1.5rem;border-bottom:1px solid var(--xw-border);padding-bottom:.75rem;line-height:1.2;scroll-margin-top:5rem}._mdxContent_1nxj5_112 h1._withMetadata_1nxj5_125{border-bottom:none;padding-bottom:0;margin-bottom:.5rem}._mdxContent_1nxj5_112 h1 a{color:inherit;text-decoration:none;border:none;position:relative}._mdxContent_1nxj5_112 h1 a:hover{color:inherit;border:none}._mdxContent_1nxj5_112 h1 a:hover:before{content:"#";position:absolute;left:-1.5rem;color:var(--xw-link);opacity:.7;font-weight:400}._mdxContent_1nxj5_112 h2{font-size:1.5rem;font-weight:500;letter-spacing:-.02em;margin-bottom:1rem;margin-top:2.5rem;border-bottom:1px solid var(--xw-border);padding-bottom:.5rem;line-height:1.3;scroll-margin-top:5rem}._mdxContent_1nxj5_112 h2 a{color:inherit;text-decoration:none;border:none;position:relative}._mdxContent_1nxj5_112 h2 a:hover{color:inherit;border:none}._mdxContent_1nxj5_112 h2 a:hover:before{content:"#";position:absolute;left:-1.5rem;color:var(--xw-link);opacity:.7;font-weight:400}._mdxContent_1nxj5_112 h3{font-size:1.25rem;font-weight:500;letter-spacing:-.015em;margin-bottom:.75rem;margin-top:2rem;line-height:1.4;scroll-margin-top:5rem}._mdxContent_1nxj5_112 h3 a{color:inherit;text-decoration:none;border:none;position:relative}._mdxContent_1nxj5_112 h3 a:hover{color:inherit;border:none}._mdxContent_1nxj5_112 h3 a:hover:before{content:"#";position:absolute;left:-1.5rem;color:var(--xw-link);opacity:.7;font-weight:400}._mdxContent_1nxj5_112 h4{font-size:1.125rem;font-weight:500;letter-spacing:-.01em;margin-bottom:.5rem;margin-top:1.5rem;line-height:1.4;scroll-margin-top:5rem}._mdxContent_1nxj5_112 h4 a{color:inherit;text-decoration:none;border:none;position:relative}._mdxContent_1nxj5_112 h4 a:hover{color:inherit;border:none}._mdxContent_1nxj5_112 h4 a:hover:before{content:"#";position:absolute;left:-1.5rem;color:var(--xw-link);opacity:.7;font-weight:400}._mdxContent_1nxj5_112 h5{font-size:1rem;font-weight:500;margin-bottom:.5rem;margin-top:1.25rem;line-height:1.5}._mdxContent_1nxj5_112 h6{font-size:.875rem;font-weight:500;margin-bottom:.5rem;margin-top:1rem;line-height:1.5}._mdxContent_1nxj5_112 p{font-size:1rem;line-height:1.65;margin-bottom:1rem;color:var(--xw-foreground)}._mdxContent_1nxj5_112 ul,._mdxContent_1nxj5_112 ol{margin-bottom:1rem;padding-left:1.5rem}._mdxContent_1nxj5_112 ul li,._mdxContent_1nxj5_112 ol li{font-size:1rem;line-height:1.65;margin-bottom:.375rem}._mdxContent_1nxj5_112 ul ul,._mdxContent_1nxj5_112 ul ol,._mdxContent_1nxj5_112 ol ul,._mdxContent_1nxj5_112 ol ol{margin-top:.375rem;margin-bottom:.375rem}._mdxContent_1nxj5_112 ul{list-style-type:disc}._mdxContent_1nxj5_112 ol{list-style-type:decimal}._mdxContent_1nxj5_112 code{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.875rem;background-color:var(--xw-muted);padding:.1875rem .4375rem;border-radius:.25rem;color:var(--xw-foreground);font-weight:500}._mdxContent_1nxj5_112 pre{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;background-color:var(--xw-muted);padding:1.25rem;border-radius:.75rem;overflow-x:auto;margin:1.5rem 0;position:relative;border:1px solid var(--xw-border)}._mdxContent_1nxj5_112 pre code{background-color:transparent;padding:0;color:inherit;font-weight:400}._mdxContent_1nxj5_112 ._codeBlock_1nxj5_300{position:relative;margin-bottom:1.5rem}._mdxContent_1nxj5_112 ._codeLanguage_1nxj5_304{position:absolute;top:.5rem;right:.5rem;font-size:.75rem;color:var(--xw-muted-foreground);background-color:var(--xw-background);padding:.25rem .5rem;border-radius:.25rem;border:1px solid var(--xw-border)}._mdxContent_1nxj5_112 blockquote{border-left:3px solid var(--xw-accent);padding-left:1rem;font-style:italic;color:var(--xw-muted-foreground);margin-bottom:1rem;margin-top:1rem}._mdxContent_1nxj5_112 blockquote p{margin-bottom:.5rem}._mdxContent_1nxj5_112 blockquote p:last-child{margin-bottom:0}._mdxContent_1nxj5_112 a{color:var(--xw-link);text-decoration:none;transition:color .15s cubic-bezier(.4,0,.2,1);border-bottom:1px solid transparent}._mdxContent_1nxj5_112 a:hover{color:color-mix(in oklch,var(--xw-link) 80%,transparent);border-bottom-color:currentColor}._mdxContent_1nxj5_112 strong{font-weight:600}._mdxContent_1nxj5_112 em{font-style:italic}._mdxContent_1nxj5_112 table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.95rem}._mdxContent_1nxj5_112 table th,._mdxContent_1nxj5_112 table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid var(--xw-border);line-height:1.4}._mdxContent_1nxj5_112 table th{font-weight:500;background-color:var(--xw-muted);font-size:.875rem;letter-spacing:.025em}._mdxContent_1nxj5_112 table tbody tr:hover{background-color:color-mix(in oklch,var(--xw-muted) 50%,transparent)}._mdxContent_1nxj5_112 img{max-width:100%;height:auto;border-radius:.5rem;margin:1.5rem 0;border:1px solid var(--xw-border)}._mdxContent_1nxj5_112 hr{border:none;border-top:1px solid var(--xw-border);margin:2rem 0}._searchButton_1k9sl_1{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border-radius:.375rem;background:none;border:none;color:var(--xw-muted-foreground);cursor:pointer;transition:all .2s ease;font-size:.875rem}._searchButton_1k9sl_1:hover{border-color:var(--xw-input)}._searchButton_1k9sl_1 ._searchIcon_1k9sl_17{width:1rem;height:1rem;opacity:.6}@media(max-width:768px){._searchButton_1k9sl_1 ._searchHint_1k9sl_23{display:none}}._searchButton_1k9sl_1 ._kbd_1k9sl_27{display:none;padding:.125rem .375rem;background:var(--xw-card);border:1px solid var(--xw-border);border-radius:.25rem;font-size:.75rem;font-family:monospace}@media(min-width:768px){._searchButton_1k9sl_1 ._kbd_1k9sl_27{display:block}}._searchOverlay_1k9sl_42{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:2000;display:flex;align-items:flex-start;justify-content:center;padding-top:10vh;animation:_fadeIn_1k9sl_1 .2s ease;height:100vh}@keyframes _fadeIn_1k9sl_1{0%{opacity:0}to{opacity:1}}._searchModal_1k9sl_67{width:90%;max-width:600px;background:var(--xw-card);border:1px solid var(--xw-border);border-radius:.75rem;box-shadow:0 20px 60px #0000004d;animation:_slideIn_1k9sl_1 .2s ease;max-height:80vh;display:flex;flex-direction:column;overflow:hidden}@keyframes _slideIn_1k9sl_1{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}._searchHeader_1k9sl_91{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;border-bottom:1px solid var(--xw-border)}._searchHeader_1k9sl_91 ._searchIcon_1k9sl_17{width:1.25rem;height:1.25rem;opacity:.5;flex-shrink:0}._searchInput_1k9sl_105{flex:1;border:none;background:transparent;color:var(--xw-foreground);font-size:1rem;outline:none}._searchInput_1k9sl_105:focus{border:none;outline:none;box-shadow:none}._searchInput_1k9sl_105::placeholder{color:var(--xw-muted-foreground);opacity:.6}._closeButton_1k9sl_123{background:none;border:none;color:var(--xw-muted-foreground);cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;border-radius:.25rem;transition:all .2s ease}._closeButton_1k9sl_123 svg{width:1.25rem;height:1.25rem}._closeButton_1k9sl_123:hover{background:var(--xw-secondary);color:var(--xw-foreground)}._searchResults_1k9sl_144{flex:1;overflow-y:auto;padding:.5rem;min-height:200px;max-height:400px}._resultsList_1k9sl_152{list-style:none;padding:0;margin:0}._resultItem_1k9sl_158{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;width:100%;padding:.75rem 1rem;background:none;border:none;border-radius:.5rem;cursor:pointer;text-align:left;transition:all .15s ease;color:var(--xw-foreground)}._resultItem_1k9sl_158:hover,._resultItem_1k9sl_158._selected_1k9sl_173{background:var(--xw-secondary)}._resultItem_1k9sl_158 ._resultTitle_1k9sl_176{font-weight:500;font-size:.95rem}._resultItem_1k9sl_158 ._resultSlug_1k9sl_180{font-size:.8rem;color:var(--xw-muted-foreground);opacity:.8}._noResults_1k9sl_186{padding:3rem 1rem;text-align:center;color:var(--xw-muted-foreground);font-size:.9rem}._searchHints_1k9sl_193{display:flex;align-items:center;gap:1.5rem;padding:.75rem 1.25rem;border-top:1px solid var(--xw-border);background:var(--xw-secondary);font-size:.8rem;color:var(--xw-muted-foreground)}@media(max-width:768px){._searchHints_1k9sl_193{flex-direction:column;align-items:flex-start;gap:.5rem}}._searchHints_1k9sl_193 ._hint_1k9sl_210{display:flex;align-items:center;gap:.5rem}._searchHints_1k9sl_193 ._hint_1k9sl_210 kbd{padding:.125rem .375rem;background:var(--xw-card);border:1px solid var(--xw-border);border-radius:.25rem;font-size:.75rem;font-family:monospace;min-width:1.5rem;text-align:center}._header_jrobc_1{position:sticky;top:0;z-index:1020;background-color:#fffc;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);height:3.5rem;padding-left:16rem}.dark ._header_jrobc_1{background-color:#2020201a}@supports not (backdrop-filter: blur(12px)){._header_jrobc_1{background-color:var(--xw-background)}}@media(max-width:767px){._header_jrobc_1{padding:0}}._container_jrobc_24{width:100%;max-width:1400px;margin:0 auto;padding:0 1.5rem}@media(max-width:767px){._container_jrobc_24{padding:0 1rem}}._content_jrobc_36{display:flex;align-items:center;justify-content:space-between;height:3.5rem}._leftSection_jrobc_43{display:flex;align-items:center;gap:1rem}._mobileMenuButton_jrobc_49{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:.5rem;font-size:.875rem;font-weight:500;transition:.15s cubic-bezier(.4,0,.2,1);cursor:pointer;border:none;outline:none}._mobileMenuButton_jrobc_49:focus-visible{outline:2px solid var(--xw-ring);outline-offset:2px}._mobileMenuButton_jrobc_49:disabled{pointer-events:none;opacity:.5}._mobileMenuButton_jrobc_49{padding:.5rem;background-color:transparent;color:var(--xw-muted-foreground);border-radius:.5rem;display:none}._mobileMenuButton_jrobc_49:hover{background-color:var(--xw-muted);color:var(--xw-foreground)}@media(max-width:767px){._mobileMenuButton_jrobc_49{display:flex}}._burgerIcon_jrobc_87{width:1.25rem;height:1.25rem}._logo_jrobc_92,._nav_jrobc_98{display:flex;align-items:center;gap:.5rem}@media(max-width:767px){._nav_jrobc_98{gap:.25rem}}._navLink_jrobc_109{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:.5rem;font-size:.875rem;font-weight:500;color:var(--xw-muted-foreground);text-decoration:none;transition:all .15s cubic-bezier(.4,0,.2,1)}._navLink_jrobc_109:hover{color:var(--xw-foreground)}._navLink_jrobc_109:focus{outline:none}._githubIcon_jrobc_128{width:1rem;height:1rem;flex-shrink:0;transition:transform .15s cubic-bezier(.4,0,.2,1)}._externalIcon_jrobc_135{width:1rem;height:1rem;flex-shrink:0}._supportDropdown_jrobc_141,._themeDropdown_jrobc_145{position:relative}._themeButton_jrobc_149{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem;border-radius:.5rem;font-size:.875rem;font-weight:500;color:var(--xw-muted-foreground);background:none;border:none;cursor:pointer;transition:all .15s cubic-bezier(.4,0,.2,1)}._themeButton_jrobc_149:hover{color:var(--xw-foreground);background-color:var(--xw-muted)}._themeButton_jrobc_149:focus{outline:none}._themeIcon_jrobc_171{width:1.125rem;height:1.125rem;flex-shrink:0}._supportButton_jrobc_177{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:.5rem;font-size:.875rem;font-weight:500;color:var(--xw-muted-foreground);background:none;border:none;cursor:pointer;transition:all .15s cubic-bezier(.4,0,.2,1)}._supportButton_jrobc_177:hover{color:var(--xw-foreground)}._supportButton_jrobc_177:focus{outline:none}._caretIcon_jrobc_198{width:.875rem;height:.875rem;flex-shrink:0;transition:transform .15s cubic-bezier(.4,0,.2,1)}button[aria-expanded=true] ._caretIcon_jrobc_198{transform:rotate(180deg)}._dropdownMenu_jrobc_208{position:absolute;top:calc(100% + .25rem);right:0;min-width:10rem;background-color:var(--xw-popover);border:1px solid var(--xw-border);border-radius:.5rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;z-index:1000;overflow:hidden}._dropdownItem_jrobc_221{display:flex;align-items:center;gap:.5rem;width:100%;padding:.5rem 1rem;font-size:.875rem;color:var(--xw-popover-foreground);text-decoration:none;background:none;border:none;cursor:pointer;text-align:left;transition:background-color .15s cubic-bezier(.4,0,.2,1)}._dropdownItem_jrobc_221:hover{background-color:var(--xw-muted)}._dropdownItem_jrobc_221:focus{outline:none;background-color:var(--xw-muted)}._dropdownIcon_jrobc_244{width:1rem;height:1rem;flex-shrink:0}@media(max-width:767px){._logoText_jrobc_251{font-size:1rem}._navLink_jrobc_109{padding:.25rem .5rem;font-size:.8rem;gap:.25rem}._githubIcon_jrobc_128{width:.875rem;height:.875rem}}._backdrop_1a7pu_1{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;z-index:1040;opacity:0;visibility:hidden;transition:all .15s cubic-bezier(.4,0,.2,1)}._backdrop_1a7pu_1._open_1a7pu_13{opacity:1;visibility:visible}._mobileMenu_1a7pu_18{position:fixed;top:0;left:0;width:320px;height:100vh;background-color:var(--xw-background);border-right:1px solid var(--xw-border);z-index:1050;transform:translate(-100%);transition:transform .15s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;overflow:hidden}._mobileMenu_1a7pu_18._open_1a7pu_13{transform:translate(0)}._header_1a7pu_37{display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:1px solid var(--xw-border);flex-shrink:0}._brand_1a7pu_46{flex:1;display:flex;align-items:center;gap:.5rem}._cloudIcon_1a7pu_53{width:1.5rem;height:1.5rem;flex-shrink:0}._cloudIcon_1a7pu_53 .accent{fill:#d33079}._title_1a7pu_62{font-size:1.125rem;font-weight:600;color:var(--xw-foreground);margin:0}._closeButton_1a7pu_69{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:.5rem;font-size:.875rem;font-weight:500;transition:.15s cubic-bezier(.4,0,.2,1);cursor:pointer;border:none;outline:none}._closeButton_1a7pu_69:focus-visible{outline:2px solid var(--xw-ring);outline-offset:2px}._closeButton_1a7pu_69:disabled{pointer-events:none;opacity:.5}._closeButton_1a7pu_69{padding:.5rem;background-color:transparent;color:var(--xw-muted-foreground);border-radius:.5rem}._closeButton_1a7pu_69:hover{background-color:var(--xw-muted);color:var(--xw-foreground)}._closeIcon_1a7pu_101{width:1.25rem;height:1.25rem}._languageSection_1a7pu_106{padding:1.5rem;border-bottom:1px solid var(--xw-border);flex-shrink:0}._languageSelect_1a7pu_112{position:relative;width:100%}._languageButton_1a7pu_117{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:.5rem;font-size:.875rem;font-weight:500;transition:.15s cubic-bezier(.4,0,.2,1);cursor:pointer;border:none;outline:none}._languageButton_1a7pu_117:focus-visible{outline:2px solid var(--xw-ring);outline-offset:2px}._languageButton_1a7pu_117:disabled{pointer-events:none;opacity:.5}._languageButton_1a7pu_117{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.5rem 1rem;background-color:var(--xw-background);border:1px solid var(--xw-border);color:var(--xw-foreground);gap:.5rem}._languageButton_1a7pu_117:hover,._languageButton_1a7pu_117[aria-expanded=true]{background-color:var(--xw-muted)}._icon_1a7pu_156{width:1rem;height:1rem;flex-shrink:0}._chevron_1a7pu_162{width:1rem;height:1rem;transition:transform .15s cubic-bezier(.4,0,.2,1);margin-left:auto}._languageButton_1a7pu_117[aria-expanded=true] ._chevron_1a7pu_162{transform:rotate(180deg)}._languageDropdown_1a7pu_172{position:absolute;top:100%;left:0;right:0;background-color:var(--xw-popover);border:1px solid var(--xw-border);border-radius:.5rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;z-index:1000;margin-top:.25rem}._languageOption_1a7pu_185{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:.5rem;font-size:.875rem;font-weight:500;transition:.15s cubic-bezier(.4,0,.2,1);cursor:pointer;border:none;outline:none}._languageOption_1a7pu_185:focus-visible{outline:2px solid var(--xw-ring);outline-offset:2px}._languageOption_1a7pu_185:disabled{pointer-events:none;opacity:.5}._languageOption_1a7pu_185{width:100%;padding:.5rem 1rem;background-color:transparent;color:var(--xw-foreground);text-align:left;justify-content:flex-start;border-radius:0}._languageOption_1a7pu_185:first-child{border-top-left-radius:.5rem;border-top-right-radius:.5rem}._languageOption_1a7pu_185:last-child{border-bottom-left-radius:.5rem;border-bottom-right-radius:.5rem}._languageOption_1a7pu_185:hover{background-color:var(--xw-muted)}._languageOption_1a7pu_185._selected_1a7pu_226{background-color:var(--xw-accent);color:var(--xw-accent-foreground)}._scrollArea_1a7pu_231{flex:1;overflow-y:auto;padding:1.5rem 0}._navigation_1a7pu_237{padding:0 1.5rem}._section_1a7pu_241{margin-bottom:1rem}._sectionButton_1a7pu_245{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:.5rem;font-size:.875rem;font-weight:500;transition:.15s cubic-bezier(.4,0,.2,1);cursor:pointer;border:none;outline:none}._sectionButton_1a7pu_245:focus-visible{outline:2px solid var(--xw-ring);outline-offset:2px}._sectionButton_1a7pu_245:disabled{pointer-events:none;opacity:.5}._sectionButton_1a7pu_245{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.5rem 1rem;background-color:transparent;color:var(--xw-foreground);font-weight:600;gap:.5rem;border-radius:.5rem}._sectionButton_1a7pu_245:hover{background-color:var(--xw-muted)}._sectionButton_1a7pu_245 ._icon_1a7pu_156{transition:transform .15s cubic-bezier(.4,0,.2,1);margin-left:auto}._sectionButton_1a7pu_245._expanded_1a7pu_285 ._icon_1a7pu_156{transform:rotate(90deg)}._sectionItems_1a7pu_289{margin-top:.5rem;margin-left:1rem;display:flex;flex-direction:column;gap:.25rem}._navItem_1a7pu_297{display:block;padding:.5rem 1rem;border-radius:.5rem;color:var(--xw-muted-foreground);text-decoration:none;transition:all .15s cubic-bezier(.4,0,.2,1);font-size:.875rem}._navItem_1a7pu_297:hover{background-color:var(--xw-muted);color:var(--xw-foreground)}._navItem_1a7pu_297._active_1a7pu_310{background-color:var(--xw-accent);color:var(--xw-accent-foreground);font-weight:500}._navItemContent_1a7pu_316{display:flex;align-items:center;gap:.5rem}._navItemTitle_1a7pu_322{flex:1}@media(min-width:1024px){._mobileMenu_1a7pu_18,._backdrop_1a7pu_1{display:none}}._sidebar_1tdxt_1{position:fixed;top:0;left:0;width:16rem;height:100vh;background-color:var(--xw-sidebar);overflow-y:auto;z-index:1020}@media(max-width:767px){._sidebar_1tdxt_1{display:none}}._header_1tdxt_17{position:sticky;top:0;z-index:1020;padding:1rem;background-color:var(--xw-sidebar);display:flex;flex-direction:column;gap:.5rem;padding-bottom:0}._brand_1tdxt_29{display:flex;align-items:center;gap:.5rem}._cloudIcon_1tdxt_35{width:1.5rem;height:1.5rem;flex-shrink:0}._cloudIcon_1tdxt_35 .accent{fill:#d33079}._title_1tdxt_44{font-size:1rem;font-weight:600;line-height:1.5;margin:0;letter-spacing:-.02em;color:var(--xw-foreground)}._languageSelect_1tdxt_55{position:relative;margin-top:.25rem;width:100%}._languageButton_1tdxt_61{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:.5rem;font-size:.875rem;font-weight:500;transition:.15s cubic-bezier(.4,0,.2,1);cursor:pointer;border:none;outline:none}._languageButton_1tdxt_61:focus-visible{outline:2px solid var(--xw-ring);outline-offset:2px}._languageButton_1tdxt_61:disabled{pointer-events:none;opacity:.5}._languageButton_1tdxt_61{display:flex;align-items:center;justify-content:space-between;padding:.25rem .5rem;width:100%;gap:.25rem;font-size:.8rem;background:transparent;border:1px solid var(--xw-border);border-radius:.25rem;color:var(--xw-muted-foreground)}._languageButton_1tdxt_61:hover{background-color:var(--xw-muted);color:var(--xw-foreground)}._languageButton_1tdxt_61 ._icon_1tdxt_99{width:.875rem;height:.875rem;flex-shrink:0}._languageButton_1tdxt_61 ._chevron_1tdxt_104{width:.875rem;height:.875rem;flex-shrink:0;transition:transform .15s cubic-bezier(.4,0,.2,1)}._languageButton_1tdxt_61[aria-expanded=true] ._chevron_1tdxt_104{transform:rotate(180deg)}._languageDropdown_1tdxt_114{position:absolute;top:100%;left:0;right:0;margin-top:.25rem;background-color:var(--xw-popover);border:1px solid var(--xw-border);border-radius:.5rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;z-index:1000;overflow:hidden}._languageOption_1tdxt_128{display:block;width:100%;padding:.25rem .5rem;text-align:left;background:none;border:none;color:var(--xw-popover-foreground);font-size:.85rem;cursor:pointer;transition:background-color .15s cubic-bezier(.4,0,.2,1)}._languageOption_1tdxt_128:hover{background-color:var(--xw-muted)}._languageOption_1tdxt_128:focus{outline:none;background-color:var(--xw-muted)}._languageOption_1tdxt_128._selected_1tdxt_147{background-color:var(--xw-muted);color:var(--xw-foreground)}._scrollArea_1tdxt_152{height:calc(100vh - 120px);padding:1rem .5rem 1rem 1rem;overflow-y:auto}._navigation_1tdxt_158{display:flex;flex-direction:column;gap:.125rem}._section_1tdxt_164{display:flex;flex-direction:column;gap:0}._sectionButton_1tdxt_170{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:.5rem;font-size:.875rem;font-weight:500;transition:.15s cubic-bezier(.4,0,.2,1);cursor:pointer;border:none;outline:none}._sectionButton_1tdxt_170:focus-visible{outline:2px solid var(--xw-ring);outline-offset:2px}._sectionButton_1tdxt_170:disabled{pointer-events:none;opacity:.5}._sectionButton_1tdxt_170{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.25rem .5rem;font-weight:500;font-size:.85rem;color:var(--xw-muted-foreground);background:transparent;text-align:left;letter-spacing:-.01em;border:none}._sectionButton_1tdxt_170:hover{color:var(--xw-foreground)}._sectionButton_1tdxt_170 ._icon_1tdxt_99{width:.875rem;height:.875rem;transition:transform .15s cubic-bezier(.4,0,.2,1)}._sectionButton_1tdxt_170._expanded_1tdxt_213 ._icon_1tdxt_99{transform:rotate(90deg)}._sectionItems_1tdxt_217{margin-top:.25rem;padding-left:1rem;display:flex;flex-direction:column;gap:.125rem}._navItem_1tdxt_225{display:block;width:100%;padding:.25rem .5rem;border-radius:.25rem;font-size:.85rem;color:var(--xw-muted-foreground);text-decoration:none;transition:color .15s cubic-bezier(.4,0,.2,1)}._navItem_1tdxt_225:hover{color:var(--xw-foreground)}._navItem_1tdxt_225._active_1tdxt_238{color:var(--xw-foreground);font-weight:500}._navItemContent_1tdxt_243{display:flex;align-items:center;justify-content:space-between;width:100%}._sidebar_1tdxt_1::-webkit-scrollbar{width:6px}._sidebar_1tdxt_1::-webkit-scrollbar-track{background:transparent}._sidebar_1tdxt_1::-webkit-scrollbar-thumb{background:var(--xw-muted-foreground);border-radius:9999px;opacity:.3}._sidebar_1tdxt_1::-webkit-scrollbar-thumb:hover{opacity:.6}._app_wf6ni_1{min-height:100vh;background-color:var(--xw-background);color:var(--xw-foreground);display:flex;flex-direction:column}._layout_wf6ni_9{display:flex;flex:1;min-height:calc(100vh - 3.5rem)}._main_wf6ni_15{flex:1;display:flex;flex-direction:column;margin-left:16rem}._main_wf6ni_15._fullWidth_wf6ni_21{margin-left:0}@media(max-width:767px){._main_wf6ni_15{margin-left:0}}._contentWrapper_wf6ni_30{display:flex;flex:1;position:relative;width:100%;max-width:80rem;margin:0 auto;padding:2rem}._main_wf6ni_15._fullWidth_wf6ni_21 ._contentWrapper_wf6ni_30{width:auto}@media(max-width:1024px){._contentWrapper_wf6ni_30{padding:1.5rem}}@media(max-width:767px){._contentWrapper_wf6ni_30{padding:1rem}}._homePage_1lc5u_1{flex:1;max-width:48rem;margin:0;padding:0 0 2rem}@media(max-width:767px){._homePage_1lc5u_1{padding:1.5rem;max-width:none}}@media(max-width:1024px){._homePage_1lc5u_1{max-width:none;padding:2rem}}._header_1lc5u_20{margin-bottom:1.5rem}._title_1lc5u_24{font-size:2rem;font-weight:700;color:var(--xw-foreground);margin-bottom:0!important}._articlesList_1lc5u_31{display:flex;flex-direction:column;gap:1rem}._articleCard_1lc5u_37{padding:1rem;border:1px solid var(--xw-border);border-radius:.5rem;background:transparent;cursor:pointer;text-align:left;transition:all .2s ease-in-out}._articleCard_1lc5u_37:hover{border-color:var(--xw-primary);background-color:var(--xw-card);transform:translateY(-2px)}._articleCard_1lc5u_37:focus-visible{outline:2px solid var(--xw-primary);outline-offset:2px}._articleTitle_1lc5u_56{font-size:1.25rem;font-weight:600;margin:0 0 .5rem;color:var(--xw-foreground)}._articleDescription_1lc5u_63{font-size:.9rem;color:var(--xw-muted-foreground);margin:0 0 .5rem;line-height:1.5}._loading_1lc5u_70,._empty_1lc5u_71{padding:2rem;text-align:center;color:var(--xw-muted-foreground)}
|
|
217
|
+
._tabContainer_zk6h4_1{display:inline-flex;background-color:var(--xw-card);border:1px solid var(--xw-border);border-radius:.5rem;margin-bottom:2rem;overflow:hidden}._tab_zk6h4_1{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:.5rem;font-size:.875rem;font-weight:500;transition:.15s cubic-bezier(.4,0,.2,1);cursor:pointer;border:none;outline:none}._tab_zk6h4_1:focus-visible{outline:2px solid var(--xw-ring);outline-offset:2px}._tab_zk6h4_1:disabled{pointer-events:none;opacity:.5}._tab_zk6h4_1{padding:.5rem 1rem;font-size:.87rem;font-weight:500;background-color:transparent;border:none;border-radius:0;color:var(--xw-muted-foreground);cursor:pointer;white-space:nowrap}._tab_zk6h4_1:not(:last-child){border-right:1px solid var(--xw-border)}._tab_zk6h4_1._active_zk6h4_45{background-color:var(--xw-accent);color:var(--xw-accent-foreground)}._tab_zk6h4_1:hover:not(._active_zk6h4_45){background-color:var(--xw-muted);color:var(--xw-foreground)}._tab_zk6h4_1:focus-visible{outline:2px solid var(--xw-accent);outline-offset:-2px}._metadata_bsge0_1{display:flex;align-items:center;gap:1.5rem;margin-top:1rem;margin-bottom:1rem}._author_bsge0_9,._date_bsge0_10{display:flex;align-items:center;gap:.5rem;font-weight:500;font-size:.9rem}._author_bsge0_9 svg,._date_bsge0_10 svg{flex-shrink:0}._date_bsge0_10{color:var(--xw-text-secondary, #666)}._tableOfContents_9ofak_1{position:sticky;top:5rem;align-self:flex-start;height:fit-content;max-height:calc(100vh - 8rem);overflow-y:auto;padding:2rem 0 2rem 1.5rem;margin-left:2rem;background:transparent;border-left:1px solid var(--xw-border);flex-shrink:0;max-width:250px}@media(max-width:1024px){._tableOfContents_9ofak_1{display:none}}._header_9ofak_21{margin-bottom:1rem}._title_9ofak_25{font-size:.75rem;font-weight:500;color:var(--xw-muted-foreground);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem}._nav_9ofak_34 ul{margin:0;padding:0;list-style:none}._list_9ofak_40{display:flex;flex-direction:column;gap:.125rem;margin:0}._link_9ofak_47{display:block;width:100%;padding:.25rem 0;text-align:left;background:none;border:none;cursor:pointer;font-size:.875rem;line-height:1.4;color:var(--xw-muted-foreground);text-decoration:none;border-radius:.25rem;transition:all .15s cubic-bezier(.4,0,.2,1);position:relative;font-family:inherit}._link_9ofak_47:hover{color:var(--xw-foreground)}._link_9ofak_47:focus{outline:none;color:var(--xw-foreground)}._link_9ofak_47._active_9ofak_71{color:var(--xw-primary);font-weight:500}._link_9ofak_47._active_9ofak_71:before{content:"";position:absolute;left:-1.5rem;top:50%;transform:translateY(-50%);width:1px;height:1rem;background-color:var(--xw-primary);border-radius:.5px}._level1_9ofak_87{font-weight:500;padding-left:0;margin-bottom:.125rem}._level2_9ofak_93{padding-left:.5rem;margin-bottom:.0625rem}._level3_9ofak_98{padding-left:1rem;font-size:.8125rem;margin-bottom:.0625rem}._level4_9ofak_104{padding-left:1.5rem;font-size:.8125rem;margin-bottom:.0625rem}._level5_9ofak_110{padding-left:2rem;font-size:.75rem;margin-bottom:.0625rem}._level6_9ofak_116{padding-left:2.5rem;font-size:.75rem;margin-bottom:.0625rem}._tableOfContents_9ofak_1::-webkit-scrollbar{width:4px}._tableOfContents_9ofak_1::-webkit-scrollbar-track{background:transparent}._tableOfContents_9ofak_1::-webkit-scrollbar-thumb{background:var(--xw-border);border-radius:2px}._tableOfContents_9ofak_1::-webkit-scrollbar-thumb:hover{background:var(--xw-muted-foreground)}._overlay_1e1d4_1{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:2000;display:flex;align-items:flex-start;justify-content:center;padding-top:10vh;animation:_fadeIn_1e1d4_1 .2s ease;height:100vh}@keyframes _fadeIn_1e1d4_1{0%{opacity:0}to{opacity:1}}._modal_1e1d4_26{width:90%;max-width:600px;background:var(--xw-card);border:1px solid var(--xw-border);border-radius:.75rem;box-shadow:0 20px 60px #0000004d;animation:_slideIn_1e1d4_1 .2s ease;max-height:80vh;display:flex;flex-direction:column;overflow:hidden}@keyframes _slideIn_1e1d4_1{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}._header_1e1d4_50{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid var(--xw-border)}._title_1e1d4_58{font-size:1.125rem;font-weight:600;color:var(--xw-foreground);margin:0}._closeButton_1e1d4_65{background:none;border:none;color:var(--xw-muted-foreground);cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;border-radius:.25rem;transition:all .2s ease}._closeButton_1e1d4_65 svg{width:1.25rem;height:1.25rem}._closeButton_1e1d4_65:hover{background:var(--xw-secondary);color:var(--xw-foreground)}._results_1e1d4_86{flex:1;overflow-y:auto;padding:.5rem;min-height:200px;max-height:400px}._resultsList_1e1d4_94{list-style:none;padding:0;margin:0}._resultItem_1e1d4_100{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;width:100%;padding:.75rem 1rem;background:none;border:none;border-radius:.5rem;cursor:pointer;text-align:left;transition:all .15s ease;color:var(--xw-foreground)}._resultItem_1e1d4_100:hover{background:var(--xw-secondary)}._resultTitle_1e1d4_119{font-weight:500;font-size:.95rem}._resultSlug_1e1d4_124{font-size:.8rem;color:var(--xw-muted-foreground);opacity:.8}._noResults_1e1d4_130{padding:3rem 1rem;text-align:center;color:var(--xw-muted-foreground);font-size:.9rem}._tags_11t8a_1{display:flex;align-items:center;gap:.75rem;margin:2rem 0 1rem;padding:1rem 0 0;border-top:1px solid var(--xw-border)}._tags_11t8a_1._compact_11t8a_9{margin:2rem 0 1rem;padding:1rem 0 0;border-top:1px solid var(--xw-border)}._tagLabel_11t8a_15{display:flex;align-items:center;gap:.5rem;color:var(--xw-muted-foreground);font-size:.875rem;font-weight:500;white-space:nowrap}._tagIcon_11t8a_25{width:1.125rem;height:1.125rem}._tagList_11t8a_30{display:flex;flex-wrap:wrap;gap:.5rem}._tag_11t8a_1{display:inline-flex;align-items:center;padding:.25rem .75rem;background:none;border:1px solid var(--xw-border);border-radius:.75rem;color:var(--xw-muted-foreground);font-size:.8rem;font-weight:400;cursor:pointer;transition:all .2s ease}._tag_11t8a_1:hover{color:var(--xw-foreground);border-color:var(--xw-ring)}._contentPage_1nxj5_1{flex:1;max-width:48rem;margin:0;padding:0 0 2rem}@media(max-width:767px){._contentPage_1nxj5_1{padding:1.5rem;max-width:none}}@media(max-width:1024px){._contentPage_1nxj5_1{max-width:none;padding:2rem}}._metadata_1nxj5_20{display:flex;gap:1rem;align-items:center;padding:.5rem 0 1rem;color:var(--xw-muted-foreground);font-size:.875rem;border-bottom:1px solid var(--xw-border);margin-bottom:1rem}._metadata_1nxj5_20 ._author_1nxj5_30,._metadata_1nxj5_20 ._date_1nxj5_31{display:flex;align-items:center;gap:.5rem}._metadata_1nxj5_20 ._author_1nxj5_30{font-weight:500;color:var(--xw-foreground)}@media(max-width:767px){._metadata_1nxj5_20{flex-direction:column;align-items:flex-start;gap:.25rem}}._loadingContainer_1nxj5_48,._errorContainer_1nxj5_49{display:flex;align-items:center;justify-content:center;height:16rem}._loadingContainer_1nxj5_48{flex-direction:column;align-items:flex-start;gap:1.5rem;padding:2rem 0}@keyframes _shimmer_1nxj5_1{0%{background-position:-1000px 0}to{background-position:1000px 0}}._skeletonTitle_1nxj5_71{width:60%;height:2.5rem;background:linear-gradient(90deg,var(--xw-muted) 0%,color-mix(in oklch,var(--xw-muted) 50%,white) 50%,var(--xw-muted) 100%);background-size:1000px 100%;animation:_shimmer_1nxj5_1 2s infinite linear;border-radius:.5rem}._skeletonParagraph_1nxj5_80{width:100%;height:1rem;background:linear-gradient(90deg,var(--xw-muted) 0%,color-mix(in oklch,var(--xw-muted) 50%,white) 50%,var(--xw-muted) 100%);background-size:1000px 100%;animation:_shimmer_1nxj5_1 2s infinite linear;border-radius:.25rem;margin-bottom:.5rem}._skeletonParagraph_1nxj5_80:not(:last-child){margin-bottom:1rem}._skeletonParagraphShort_1nxj5_93{width:70%;height:1rem;background:linear-gradient(90deg,var(--xw-muted) 0%,color-mix(in oklch,var(--xw-muted) 50%,white) 50%,var(--xw-muted) 100%);background-size:1000px 100%;animation:_shimmer_1nxj5_1 2s infinite linear;border-radius:.25rem}._loadingText_1nxj5_102{color:var(--xw-muted-foreground);font-size:1rem}._errorText_1nxj5_107{color:var(--xw-destructive);font-size:1rem}._mdxContent_1nxj5_112{max-width:none}._mdxContent_1nxj5_112 h1{font-size:1.875rem;font-weight:600;letter-spacing:-.025em;margin-bottom:1.5rem;border-bottom:1px solid var(--xw-border);padding-bottom:.75rem;line-height:1.2;scroll-margin-top:5rem}._mdxContent_1nxj5_112 h1._withMetadata_1nxj5_125{border-bottom:none;padding-bottom:0;margin-bottom:.5rem}._mdxContent_1nxj5_112 h1 a{color:inherit;text-decoration:none;border:none;position:relative}._mdxContent_1nxj5_112 h1 a:hover{color:inherit;border:none}._mdxContent_1nxj5_112 h1 a:hover:before{content:"#";position:absolute;left:-1.5rem;color:var(--xw-link);opacity:.7;font-weight:400}._mdxContent_1nxj5_112 h2{font-size:1.5rem;font-weight:500;letter-spacing:-.02em;margin-bottom:1rem;margin-top:2.5rem;border-bottom:1px solid var(--xw-border);padding-bottom:.5rem;line-height:1.3;scroll-margin-top:5rem}._mdxContent_1nxj5_112 h2 a{color:inherit;text-decoration:none;border:none;position:relative}._mdxContent_1nxj5_112 h2 a:hover{color:inherit;border:none}._mdxContent_1nxj5_112 h2 a:hover:before{content:"#";position:absolute;left:-1.5rem;color:var(--xw-link);opacity:.7;font-weight:400}._mdxContent_1nxj5_112 h3{font-size:1.25rem;font-weight:500;letter-spacing:-.015em;margin-bottom:.75rem;margin-top:2rem;line-height:1.4;scroll-margin-top:5rem}._mdxContent_1nxj5_112 h3 a{color:inherit;text-decoration:none;border:none;position:relative}._mdxContent_1nxj5_112 h3 a:hover{color:inherit;border:none}._mdxContent_1nxj5_112 h3 a:hover:before{content:"#";position:absolute;left:-1.5rem;color:var(--xw-link);opacity:.7;font-weight:400}._mdxContent_1nxj5_112 h4{font-size:1.125rem;font-weight:500;letter-spacing:-.01em;margin-bottom:.5rem;margin-top:1.5rem;line-height:1.4;scroll-margin-top:5rem}._mdxContent_1nxj5_112 h4 a{color:inherit;text-decoration:none;border:none;position:relative}._mdxContent_1nxj5_112 h4 a:hover{color:inherit;border:none}._mdxContent_1nxj5_112 h4 a:hover:before{content:"#";position:absolute;left:-1.5rem;color:var(--xw-link);opacity:.7;font-weight:400}._mdxContent_1nxj5_112 h5{font-size:1rem;font-weight:500;margin-bottom:.5rem;margin-top:1.25rem;line-height:1.5}._mdxContent_1nxj5_112 h6{font-size:.875rem;font-weight:500;margin-bottom:.5rem;margin-top:1rem;line-height:1.5}._mdxContent_1nxj5_112 p{font-size:1rem;line-height:1.65;margin-bottom:1rem;color:var(--xw-foreground)}._mdxContent_1nxj5_112 ul,._mdxContent_1nxj5_112 ol{margin-bottom:1rem;padding-left:1.5rem}._mdxContent_1nxj5_112 ul li,._mdxContent_1nxj5_112 ol li{font-size:1rem;line-height:1.65;margin-bottom:.375rem}._mdxContent_1nxj5_112 ul ul,._mdxContent_1nxj5_112 ul ol,._mdxContent_1nxj5_112 ol ul,._mdxContent_1nxj5_112 ol ol{margin-top:.375rem;margin-bottom:.375rem}._mdxContent_1nxj5_112 ul{list-style-type:disc}._mdxContent_1nxj5_112 ol{list-style-type:decimal}._mdxContent_1nxj5_112 code{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.875rem;background-color:var(--xw-muted);padding:.1875rem .4375rem;border-radius:.25rem;color:var(--xw-foreground);font-weight:500}._mdxContent_1nxj5_112 pre{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;background-color:var(--xw-muted);padding:1.25rem;border-radius:.75rem;overflow-x:auto;margin:1.5rem 0;position:relative;border:1px solid var(--xw-border)}._mdxContent_1nxj5_112 pre code{background-color:transparent;padding:0;color:inherit;font-weight:400}._mdxContent_1nxj5_112 ._codeBlock_1nxj5_300{position:relative;margin-bottom:1.5rem}._mdxContent_1nxj5_112 ._codeLanguage_1nxj5_304{position:absolute;top:.5rem;right:.5rem;font-size:.75rem;color:var(--xw-muted-foreground);background-color:var(--xw-background);padding:.25rem .5rem;border-radius:.25rem;border:1px solid var(--xw-border)}._mdxContent_1nxj5_112 blockquote{border-left:3px solid var(--xw-accent);padding-left:1rem;font-style:italic;color:var(--xw-muted-foreground);margin-bottom:1rem;margin-top:1rem}._mdxContent_1nxj5_112 blockquote p{margin-bottom:.5rem}._mdxContent_1nxj5_112 blockquote p:last-child{margin-bottom:0}._mdxContent_1nxj5_112 a{color:var(--xw-link);text-decoration:none;transition:color .15s cubic-bezier(.4,0,.2,1);border-bottom:1px solid transparent}._mdxContent_1nxj5_112 a:hover{color:color-mix(in oklch,var(--xw-link) 80%,transparent);border-bottom-color:currentColor}._mdxContent_1nxj5_112 strong{font-weight:600}._mdxContent_1nxj5_112 em{font-style:italic}._mdxContent_1nxj5_112 table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.95rem}._mdxContent_1nxj5_112 table th,._mdxContent_1nxj5_112 table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid var(--xw-border);line-height:1.4}._mdxContent_1nxj5_112 table th{font-weight:500;background-color:var(--xw-muted);font-size:.875rem;letter-spacing:.025em}._mdxContent_1nxj5_112 table tbody tr:hover{background-color:color-mix(in oklch,var(--xw-muted) 50%,transparent)}._mdxContent_1nxj5_112 img{max-width:100%;height:auto;border-radius:.5rem;margin:1.5rem 0;border:1px solid var(--xw-border)}._mdxContent_1nxj5_112 hr{border:none;border-top:1px solid var(--xw-border);margin:2rem 0}._searchButton_1k9sl_1{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border-radius:.375rem;background:none;border:none;color:var(--xw-muted-foreground);cursor:pointer;transition:all .2s ease;font-size:.875rem}._searchButton_1k9sl_1:hover{border-color:var(--xw-input)}._searchButton_1k9sl_1 ._searchIcon_1k9sl_17{width:1rem;height:1rem;opacity:.6}@media(max-width:768px){._searchButton_1k9sl_1 ._searchHint_1k9sl_23{display:none}}._searchButton_1k9sl_1 ._kbd_1k9sl_27{display:none;padding:.125rem .375rem;background:var(--xw-card);border:1px solid var(--xw-border);border-radius:.25rem;font-size:.75rem;font-family:monospace}@media(min-width:768px){._searchButton_1k9sl_1 ._kbd_1k9sl_27{display:block}}._searchOverlay_1k9sl_42{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:2000;display:flex;align-items:flex-start;justify-content:center;padding-top:10vh;animation:_fadeIn_1k9sl_1 .2s ease;height:100vh}@keyframes _fadeIn_1k9sl_1{0%{opacity:0}to{opacity:1}}._searchModal_1k9sl_67{width:90%;max-width:600px;background:var(--xw-card);border:1px solid var(--xw-border);border-radius:.75rem;box-shadow:0 20px 60px #0000004d;animation:_slideIn_1k9sl_1 .2s ease;max-height:80vh;display:flex;flex-direction:column;overflow:hidden}@keyframes _slideIn_1k9sl_1{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}._searchHeader_1k9sl_91{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;border-bottom:1px solid var(--xw-border)}._searchHeader_1k9sl_91 ._searchIcon_1k9sl_17{width:1.25rem;height:1.25rem;opacity:.5;flex-shrink:0}._searchInput_1k9sl_105{flex:1;border:none;background:transparent;color:var(--xw-foreground);font-size:1rem;outline:none}._searchInput_1k9sl_105:focus{border:none;outline:none;box-shadow:none}._searchInput_1k9sl_105::placeholder{color:var(--xw-muted-foreground);opacity:.6}._closeButton_1k9sl_123{background:none;border:none;color:var(--xw-muted-foreground);cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;border-radius:.25rem;transition:all .2s ease}._closeButton_1k9sl_123 svg{width:1.25rem;height:1.25rem}._closeButton_1k9sl_123:hover{background:var(--xw-secondary);color:var(--xw-foreground)}._searchResults_1k9sl_144{flex:1;overflow-y:auto;padding:.5rem;min-height:200px;max-height:400px}._resultsList_1k9sl_152{list-style:none;padding:0;margin:0}._resultItem_1k9sl_158{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;width:100%;padding:.75rem 1rem;background:none;border:none;border-radius:.5rem;cursor:pointer;text-align:left;transition:all .15s ease;color:var(--xw-foreground)}._resultItem_1k9sl_158:hover,._resultItem_1k9sl_158._selected_1k9sl_173{background:var(--xw-secondary)}._resultItem_1k9sl_158 ._resultTitle_1k9sl_176{font-weight:500;font-size:.95rem}._resultItem_1k9sl_158 ._resultSlug_1k9sl_180{font-size:.8rem;color:var(--xw-muted-foreground);opacity:.8}._noResults_1k9sl_186{padding:3rem 1rem;text-align:center;color:var(--xw-muted-foreground);font-size:.9rem}._searchHints_1k9sl_193{display:flex;align-items:center;gap:1.5rem;padding:.75rem 1.25rem;border-top:1px solid var(--xw-border);background:var(--xw-secondary);font-size:.8rem;color:var(--xw-muted-foreground)}@media(max-width:768px){._searchHints_1k9sl_193{flex-direction:column;align-items:flex-start;gap:.5rem}}._searchHints_1k9sl_193 ._hint_1k9sl_210{display:flex;align-items:center;gap:.5rem}._searchHints_1k9sl_193 ._hint_1k9sl_210 kbd{padding:.125rem .375rem;background:var(--xw-card);border:1px solid var(--xw-border);border-radius:.25rem;font-size:.75rem;font-family:monospace;min-width:1.5rem;text-align:center}._header_jrobc_1{position:sticky;top:0;z-index:1020;background-color:#fffc;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);height:3.5rem;padding-left:16rem}.dark ._header_jrobc_1{background-color:#2020201a}@supports not (backdrop-filter: blur(12px)){._header_jrobc_1{background-color:var(--xw-background)}}@media(max-width:767px){._header_jrobc_1{padding:0}}._container_jrobc_24{width:100%;max-width:1400px;margin:0 auto;padding:0 1.5rem}@media(max-width:767px){._container_jrobc_24{padding:0 1rem}}._content_jrobc_36{display:flex;align-items:center;justify-content:space-between;height:3.5rem}._leftSection_jrobc_43{display:flex;align-items:center;gap:1rem}._mobileMenuButton_jrobc_49{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:.5rem;font-size:.875rem;font-weight:500;transition:.15s cubic-bezier(.4,0,.2,1);cursor:pointer;border:none;outline:none}._mobileMenuButton_jrobc_49:focus-visible{outline:2px solid var(--xw-ring);outline-offset:2px}._mobileMenuButton_jrobc_49:disabled{pointer-events:none;opacity:.5}._mobileMenuButton_jrobc_49{padding:.5rem;background-color:transparent;color:var(--xw-muted-foreground);border-radius:.5rem;display:none}._mobileMenuButton_jrobc_49:hover{background-color:var(--xw-muted);color:var(--xw-foreground)}@media(max-width:767px){._mobileMenuButton_jrobc_49{display:flex}}._burgerIcon_jrobc_87{width:1.25rem;height:1.25rem}._logo_jrobc_92,._nav_jrobc_98{display:flex;align-items:center;gap:.5rem}@media(max-width:767px){._nav_jrobc_98{gap:.25rem}}._navLink_jrobc_109{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:.5rem;font-size:.875rem;font-weight:500;color:var(--xw-muted-foreground);text-decoration:none;transition:all .15s cubic-bezier(.4,0,.2,1)}._navLink_jrobc_109:hover{color:var(--xw-foreground)}._navLink_jrobc_109:focus{outline:none}._githubIcon_jrobc_128{width:1rem;height:1rem;flex-shrink:0;transition:transform .15s cubic-bezier(.4,0,.2,1)}._externalIcon_jrobc_135{width:1rem;height:1rem;flex-shrink:0}._supportDropdown_jrobc_141,._themeDropdown_jrobc_145{position:relative}._themeButton_jrobc_149{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem;border-radius:.5rem;font-size:.875rem;font-weight:500;color:var(--xw-muted-foreground);background:none;border:none;cursor:pointer;transition:all .15s cubic-bezier(.4,0,.2,1)}._themeButton_jrobc_149:hover{color:var(--xw-foreground);background-color:var(--xw-muted)}._themeButton_jrobc_149:focus{outline:none}._themeIcon_jrobc_171{width:1.125rem;height:1.125rem;flex-shrink:0}._supportButton_jrobc_177{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:.5rem;font-size:.875rem;font-weight:500;color:var(--xw-muted-foreground);background:none;border:none;cursor:pointer;transition:all .15s cubic-bezier(.4,0,.2,1)}._supportButton_jrobc_177:hover{color:var(--xw-foreground)}._supportButton_jrobc_177:focus{outline:none}._caretIcon_jrobc_198{width:.875rem;height:.875rem;flex-shrink:0;transition:transform .15s cubic-bezier(.4,0,.2,1)}button[aria-expanded=true] ._caretIcon_jrobc_198{transform:rotate(180deg)}._dropdownMenu_jrobc_208{position:absolute;top:calc(100% + .25rem);right:0;min-width:10rem;background-color:var(--xw-popover);border:1px solid var(--xw-border);border-radius:.5rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;z-index:1000;overflow:hidden}._dropdownItem_jrobc_221{display:flex;align-items:center;gap:.5rem;width:100%;padding:.5rem 1rem;font-size:.875rem;color:var(--xw-popover-foreground);text-decoration:none;background:none;border:none;cursor:pointer;text-align:left;transition:background-color .15s cubic-bezier(.4,0,.2,1)}._dropdownItem_jrobc_221:hover{background-color:var(--xw-muted)}._dropdownItem_jrobc_221:focus{outline:none;background-color:var(--xw-muted)}._dropdownIcon_jrobc_244{width:1rem;height:1rem;flex-shrink:0}@media(max-width:767px){._logoText_jrobc_251{font-size:1rem}._navLink_jrobc_109{padding:.25rem .5rem;font-size:.8rem;gap:.25rem}._githubIcon_jrobc_128{width:.875rem;height:.875rem}}._backdrop_1a7pu_1{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;z-index:1040;opacity:0;visibility:hidden;transition:all .15s cubic-bezier(.4,0,.2,1)}._backdrop_1a7pu_1._open_1a7pu_13{opacity:1;visibility:visible}._mobileMenu_1a7pu_18{position:fixed;top:0;left:0;width:320px;height:100vh;background-color:var(--xw-background);border-right:1px solid var(--xw-border);z-index:1050;transform:translate(-100%);transition:transform .15s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;overflow:hidden}._mobileMenu_1a7pu_18._open_1a7pu_13{transform:translate(0)}._header_1a7pu_37{display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:1px solid var(--xw-border);flex-shrink:0}._brand_1a7pu_46{flex:1;display:flex;align-items:center;gap:.5rem}._cloudIcon_1a7pu_53{width:1.5rem;height:1.5rem;flex-shrink:0}._cloudIcon_1a7pu_53 .accent{fill:#d33079}._title_1a7pu_62{font-size:1.125rem;font-weight:600;color:var(--xw-foreground);margin:0}._closeButton_1a7pu_69{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:.5rem;font-size:.875rem;font-weight:500;transition:.15s cubic-bezier(.4,0,.2,1);cursor:pointer;border:none;outline:none}._closeButton_1a7pu_69:focus-visible{outline:2px solid var(--xw-ring);outline-offset:2px}._closeButton_1a7pu_69:disabled{pointer-events:none;opacity:.5}._closeButton_1a7pu_69{padding:.5rem;background-color:transparent;color:var(--xw-muted-foreground);border-radius:.5rem}._closeButton_1a7pu_69:hover{background-color:var(--xw-muted);color:var(--xw-foreground)}._closeIcon_1a7pu_101{width:1.25rem;height:1.25rem}._languageSection_1a7pu_106{padding:1.5rem;border-bottom:1px solid var(--xw-border);flex-shrink:0}._languageSelect_1a7pu_112{position:relative;width:100%}._languageButton_1a7pu_117{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:.5rem;font-size:.875rem;font-weight:500;transition:.15s cubic-bezier(.4,0,.2,1);cursor:pointer;border:none;outline:none}._languageButton_1a7pu_117:focus-visible{outline:2px solid var(--xw-ring);outline-offset:2px}._languageButton_1a7pu_117:disabled{pointer-events:none;opacity:.5}._languageButton_1a7pu_117{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.5rem 1rem;background-color:var(--xw-background);border:1px solid var(--xw-border);color:var(--xw-foreground);gap:.5rem}._languageButton_1a7pu_117:hover,._languageButton_1a7pu_117[aria-expanded=true]{background-color:var(--xw-muted)}._icon_1a7pu_156{width:1rem;height:1rem;flex-shrink:0}._chevron_1a7pu_162{width:1rem;height:1rem;transition:transform .15s cubic-bezier(.4,0,.2,1);margin-left:auto}._languageButton_1a7pu_117[aria-expanded=true] ._chevron_1a7pu_162{transform:rotate(180deg)}._languageDropdown_1a7pu_172{position:absolute;top:100%;left:0;right:0;background-color:var(--xw-popover);border:1px solid var(--xw-border);border-radius:.5rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;z-index:1000;margin-top:.25rem}._languageOption_1a7pu_185{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:.5rem;font-size:.875rem;font-weight:500;transition:.15s cubic-bezier(.4,0,.2,1);cursor:pointer;border:none;outline:none}._languageOption_1a7pu_185:focus-visible{outline:2px solid var(--xw-ring);outline-offset:2px}._languageOption_1a7pu_185:disabled{pointer-events:none;opacity:.5}._languageOption_1a7pu_185{width:100%;padding:.5rem 1rem;background-color:transparent;color:var(--xw-foreground);text-align:left;justify-content:flex-start;border-radius:0}._languageOption_1a7pu_185:first-child{border-top-left-radius:.5rem;border-top-right-radius:.5rem}._languageOption_1a7pu_185:last-child{border-bottom-left-radius:.5rem;border-bottom-right-radius:.5rem}._languageOption_1a7pu_185:hover{background-color:var(--xw-muted)}._languageOption_1a7pu_185._selected_1a7pu_226{background-color:var(--xw-accent);color:var(--xw-accent-foreground)}._scrollArea_1a7pu_231{flex:1;overflow-y:auto;padding:1.5rem 0}._navigation_1a7pu_237{padding:0 1.5rem}._section_1a7pu_241{margin-bottom:1rem}._sectionButton_1a7pu_245{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:.5rem;font-size:.875rem;font-weight:500;transition:.15s cubic-bezier(.4,0,.2,1);cursor:pointer;border:none;outline:none}._sectionButton_1a7pu_245:focus-visible{outline:2px solid var(--xw-ring);outline-offset:2px}._sectionButton_1a7pu_245:disabled{pointer-events:none;opacity:.5}._sectionButton_1a7pu_245{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.5rem 1rem;background-color:transparent;color:var(--xw-foreground);font-weight:600;gap:.5rem;border-radius:.5rem}._sectionButton_1a7pu_245:hover{background-color:var(--xw-muted)}._sectionButton_1a7pu_245 ._icon_1a7pu_156{transition:transform .15s cubic-bezier(.4,0,.2,1);margin-left:auto}._sectionButton_1a7pu_245._expanded_1a7pu_285 ._icon_1a7pu_156{transform:rotate(90deg)}._sectionItems_1a7pu_289{margin-top:.5rem;margin-left:1rem;display:flex;flex-direction:column;gap:.25rem}._navItem_1a7pu_297{display:block;padding:.5rem 1rem;border-radius:.5rem;color:var(--xw-muted-foreground);text-decoration:none;transition:all .15s cubic-bezier(.4,0,.2,1);font-size:.875rem}._navItem_1a7pu_297:hover{background-color:var(--xw-muted);color:var(--xw-foreground)}._navItem_1a7pu_297._active_1a7pu_310{background-color:var(--xw-accent);color:var(--xw-accent-foreground);font-weight:500}._navItemContent_1a7pu_316{display:flex;align-items:center;gap:.5rem}._navItemTitle_1a7pu_322{flex:1}@media(min-width:1024px){._mobileMenu_1a7pu_18,._backdrop_1a7pu_1{display:none}}._sidebar_1tdxt_1{position:fixed;top:0;left:0;width:16rem;height:100vh;background-color:var(--xw-sidebar);overflow-y:auto;z-index:1020}@media(max-width:767px){._sidebar_1tdxt_1{display:none}}._header_1tdxt_17{position:sticky;top:0;z-index:1020;padding:1rem;background-color:var(--xw-sidebar);display:flex;flex-direction:column;gap:.5rem;padding-bottom:0}._brand_1tdxt_29{display:flex;align-items:center;gap:.5rem}._cloudIcon_1tdxt_35{width:1.5rem;height:1.5rem;flex-shrink:0}._cloudIcon_1tdxt_35 .accent{fill:#d33079}._title_1tdxt_44{font-size:1rem;font-weight:600;line-height:1.5;margin:0;letter-spacing:-.02em;color:var(--xw-foreground)}._languageSelect_1tdxt_55{position:relative;margin-top:.25rem;width:100%}._languageButton_1tdxt_61{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:.5rem;font-size:.875rem;font-weight:500;transition:.15s cubic-bezier(.4,0,.2,1);cursor:pointer;border:none;outline:none}._languageButton_1tdxt_61:focus-visible{outline:2px solid var(--xw-ring);outline-offset:2px}._languageButton_1tdxt_61:disabled{pointer-events:none;opacity:.5}._languageButton_1tdxt_61{display:flex;align-items:center;justify-content:space-between;padding:.25rem .5rem;width:100%;gap:.25rem;font-size:.8rem;background:transparent;border:1px solid var(--xw-border);border-radius:.25rem;color:var(--xw-muted-foreground)}._languageButton_1tdxt_61:hover{background-color:var(--xw-muted);color:var(--xw-foreground)}._languageButton_1tdxt_61 ._icon_1tdxt_99{width:.875rem;height:.875rem;flex-shrink:0}._languageButton_1tdxt_61 ._chevron_1tdxt_104{width:.875rem;height:.875rem;flex-shrink:0;transition:transform .15s cubic-bezier(.4,0,.2,1)}._languageButton_1tdxt_61[aria-expanded=true] ._chevron_1tdxt_104{transform:rotate(180deg)}._languageDropdown_1tdxt_114{position:absolute;top:100%;left:0;right:0;margin-top:.25rem;background-color:var(--xw-popover);border:1px solid var(--xw-border);border-radius:.5rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;z-index:1000;overflow:hidden}._languageOption_1tdxt_128{display:block;width:100%;padding:.25rem .5rem;text-align:left;background:none;border:none;color:var(--xw-popover-foreground);font-size:.85rem;cursor:pointer;transition:background-color .15s cubic-bezier(.4,0,.2,1)}._languageOption_1tdxt_128:hover{background-color:var(--xw-muted)}._languageOption_1tdxt_128:focus{outline:none;background-color:var(--xw-muted)}._languageOption_1tdxt_128._selected_1tdxt_147{background-color:var(--xw-muted);color:var(--xw-foreground)}._scrollArea_1tdxt_152{height:calc(100vh - 120px);padding:1rem .5rem 1rem 1rem;overflow-y:auto}._navigation_1tdxt_158{display:flex;flex-direction:column;gap:.125rem}._section_1tdxt_164{display:flex;flex-direction:column;gap:0}._sectionButton_1tdxt_170{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:.5rem;font-size:.875rem;font-weight:500;transition:.15s cubic-bezier(.4,0,.2,1);cursor:pointer;border:none;outline:none}._sectionButton_1tdxt_170:focus-visible{outline:2px solid var(--xw-ring);outline-offset:2px}._sectionButton_1tdxt_170:disabled{pointer-events:none;opacity:.5}._sectionButton_1tdxt_170{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.25rem .5rem;font-weight:500;font-size:.85rem;color:var(--xw-muted-foreground);background:transparent;text-align:left;letter-spacing:-.01em;border:none}._sectionButton_1tdxt_170:hover{color:var(--xw-foreground)}._sectionButton_1tdxt_170 ._icon_1tdxt_99{width:.875rem;height:.875rem;transition:transform .15s cubic-bezier(.4,0,.2,1)}._sectionButton_1tdxt_170._expanded_1tdxt_213 ._icon_1tdxt_99{transform:rotate(90deg)}._sectionItems_1tdxt_217{margin-top:.25rem;padding-left:1rem;display:flex;flex-direction:column;gap:.125rem}._navItem_1tdxt_225{display:block;width:100%;padding:.25rem .5rem;border-radius:.25rem;font-size:.85rem;color:var(--xw-muted-foreground);text-decoration:none;transition:color .15s cubic-bezier(.4,0,.2,1)}._navItem_1tdxt_225:hover{color:var(--xw-foreground)}._navItem_1tdxt_225._active_1tdxt_238{color:var(--xw-foreground);font-weight:500}._navItemContent_1tdxt_243{display:flex;align-items:center;justify-content:space-between;width:100%}._sidebar_1tdxt_1::-webkit-scrollbar{width:6px}._sidebar_1tdxt_1::-webkit-scrollbar-track{background:transparent}._sidebar_1tdxt_1::-webkit-scrollbar-thumb{background:var(--xw-muted-foreground);border-radius:9999px;opacity:.3}._sidebar_1tdxt_1::-webkit-scrollbar-thumb:hover{opacity:.6}._app_wf6ni_1{min-height:100vh;background-color:var(--xw-background);color:var(--xw-foreground);display:flex;flex-direction:column}._layout_wf6ni_9{display:flex;flex:1;min-height:calc(100vh - 3.5rem)}._main_wf6ni_15{flex:1;display:flex;flex-direction:column;margin-left:16rem}._main_wf6ni_15._fullWidth_wf6ni_21{margin-left:0}@media(max-width:767px){._main_wf6ni_15{margin-left:0}}._contentWrapper_wf6ni_30{display:flex;flex:1;position:relative;width:100%;max-width:80rem;margin:0 auto;padding:2rem}._main_wf6ni_15._fullWidth_wf6ni_21 ._contentWrapper_wf6ni_30{width:auto}@media(max-width:1024px){._contentWrapper_wf6ni_30{padding:1.5rem}}@media(max-width:767px){._contentWrapper_wf6ni_30{padding:1rem}}._homePage_1lc5u_1{flex:1;max-width:48rem;margin:0;padding:0 0 2rem}@media(max-width:767px){._homePage_1lc5u_1{padding:1.5rem;max-width:none}}@media(max-width:1024px){._homePage_1lc5u_1{max-width:none;padding:2rem}}._header_1lc5u_20{margin-bottom:1.5rem}._title_1lc5u_24{font-size:2rem;font-weight:700;color:var(--xw-foreground);margin-bottom:0!important}._articlesList_1lc5u_31{display:flex;flex-direction:column;gap:1rem}._articleCard_1lc5u_37{padding:1rem;border:1px solid var(--xw-border);border-radius:.5rem;background:transparent;cursor:pointer;text-align:left;transition:all .2s ease-in-out}._articleCard_1lc5u_37:hover{border-color:var(--xw-primary);background-color:var(--xw-card);transform:translateY(-2px)}._articleCard_1lc5u_37:focus-visible{outline:2px solid var(--xw-primary);outline-offset:2px}._articleTitle_1lc5u_56{font-size:1.25rem;font-weight:600;margin:0 0 .5rem;color:var(--xw-foreground)}._articleDescription_1lc5u_63{font-size:.9rem;color:var(--xw-muted-foreground);margin:0 0 .5rem;line-height:1.5}._loading_1lc5u_70,._empty_1lc5u_71{padding:2rem;text-align:center;color:var(--xw-muted-foreground)}
|