@quietmind/mdx-docs 0.1.19 → 0.1.20

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/dist/index.js DELETED
@@ -1,1580 +0,0 @@
1
- import { jsx as a, jsxs as m, Fragment as Z } from "react/jsx-runtime";
2
- import { createContext as K, useContext as q, useState as E, Suspense as Y, useEffect as x, useLayoutEffect as V, useMemo as J, StrictMode as Q } from "react";
3
- import { createRoot as ee } from "react-dom/client";
4
- import { AppBar as te, Toolbar as D, IconButton as A, Typography as F, Box as f, useTheme as B, Tooltip as re, Link as ae, TableCell as I, TableRow as ne, TableBody as oe, TableHead as se, CircularProgress as ie, TableContainer as le, Paper as ce, Table as de, List as pe, ListItem as ue, ListItemButton as fe, ListItemText as ge, Drawer as O, createTheme as me, ThemeProvider as be, CssBaseline as he } from "@mui/material";
5
- import { Link as M, Routes as ye, Route as R, useLocation as H, BrowserRouter as Se, useNavigate as xe } from "react-router-dom";
6
- import ke from "@mui/icons-material/DarkMode";
7
- import we from "@mui/icons-material/LightMode";
8
- import ve from "@mui/icons-material/Menu";
9
- import { MDXProvider as Ae } from "@mdx-js/react";
10
- import Fe from "@mui/icons-material/Check";
11
- import Ee from "@mui/icons-material/ContentCopy";
12
- import { Highlight as j } from "prism-react-renderer";
13
- import Te from "prismjs";
14
- const G = K(null), _e = ({ pages: e, site: t, hideHomeFromNav: r = !1, children: n }) => /* @__PURE__ */ a(G.Provider, { value: { pages: e, site: t, hideHomeFromNav: r }, children: n }), T = () => {
15
- const e = q(G);
16
- if (!e)
17
- throw new Error("useDocsContext must be used within a DocsProvider");
18
- return e;
19
- };
20
- function $e({ darkMode: e, setDarkMode: t, handleDrawerToggle: r }) {
21
- const { site: n } = T();
22
- return /* @__PURE__ */ a(
23
- te,
24
- {
25
- position: "fixed",
26
- sx: { zIndex: (i) => i.zIndex.drawer + 1 },
27
- children: /* @__PURE__ */ m(D, { children: [
28
- /* @__PURE__ */ a(
29
- A,
30
- {
31
- color: "inherit",
32
- edge: "start",
33
- onClick: r,
34
- "aria-label": "Toggle navigation menu",
35
- sx: { mr: 2, display: { sm: "none" } },
36
- children: /* @__PURE__ */ a(ve, {})
37
- }
38
- ),
39
- /* @__PURE__ */ a(
40
- F,
41
- {
42
- variant: "h6",
43
- noWrap: !0,
44
- component: M,
45
- to: "/",
46
- sx: {
47
- textDecoration: "none",
48
- color: "inherit",
49
- "&:hover": {
50
- color: "inherit"
51
- }
52
- },
53
- children: n.name
54
- }
55
- ),
56
- /* @__PURE__ */ a(f, { sx: { flexGrow: 1 } }),
57
- /* @__PURE__ */ a(
58
- A,
59
- {
60
- onClick: () => t(!e),
61
- color: "inherit",
62
- "aria-label": e ? "Switch to light mode" : "Switch to dark mode",
63
- sx: {
64
- ml: 1,
65
- "&:focus:not(:focus-visible)": {
66
- outline: "none"
67
- }
68
- },
69
- children: e ? /* @__PURE__ */ a(we, {}) : /* @__PURE__ */ a(ke, {})
70
- }
71
- )
72
- ] })
73
- }
74
- );
75
- }
76
- (function(e) {
77
- var t = "\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b", r = {
78
- pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
79
- lookbehind: !0,
80
- alias: "punctuation",
81
- // this looks reasonably well in all themes
82
- inside: null
83
- // see below
84
- }, n = {
85
- bash: r,
86
- environment: {
87
- pattern: RegExp("\\$" + t),
88
- alias: "constant"
89
- },
90
- variable: [
91
- // [0]: Arithmetic Environment
92
- {
93
- pattern: /\$?\(\([\s\S]+?\)\)/,
94
- greedy: !0,
95
- inside: {
96
- // If there is a $ sign at the beginning highlight $(( and )) as variable
97
- variable: [
98
- {
99
- pattern: /(^\$\(\([\s\S]+)\)\)/,
100
- lookbehind: !0
101
- },
102
- /^\$\(\(/
103
- ],
104
- number: /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
105
- // Operators according to https://www.gnu.org/software/bash/manual/bashref.html#Shell-Arithmetic
106
- operator: /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
107
- // If there is no $ sign at the beginning highlight (( and )) as punctuation
108
- punctuation: /\(\(?|\)\)?|,|;/
109
- }
110
- },
111
- // [1]: Command Substitution
112
- {
113
- pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
114
- greedy: !0,
115
- inside: {
116
- variable: /^\$\(|^`|\)$|`$/
117
- }
118
- },
119
- // [2]: Brace expansion
120
- {
121
- pattern: /\$\{[^}]+\}/,
122
- greedy: !0,
123
- inside: {
124
- operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
125
- punctuation: /[\[\]]/,
126
- environment: {
127
- pattern: RegExp("(\\{)" + t),
128
- lookbehind: !0,
129
- alias: "constant"
130
- }
131
- }
132
- },
133
- /\$(?:\w+|[#?*!@$])/
134
- ],
135
- // Escape sequences from echo and printf's manuals, and escaped quotes.
136
- entity: /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
137
- };
138
- e.languages.bash = {
139
- shebang: {
140
- pattern: /^#!\s*\/.*/,
141
- alias: "important"
142
- },
143
- comment: {
144
- pattern: /(^|[^"{\\$])#.*/,
145
- lookbehind: !0
146
- },
147
- "function-name": [
148
- // a) function foo {
149
- // b) foo() {
150
- // c) function foo() {
151
- // but not “foo {”
152
- {
153
- // a) and c)
154
- pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
155
- lookbehind: !0,
156
- alias: "function"
157
- },
158
- {
159
- // b)
160
- pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/,
161
- alias: "function"
162
- }
163
- ],
164
- // Highlight variable names as variables in for and select beginnings.
165
- "for-or-select": {
166
- pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
167
- alias: "variable",
168
- lookbehind: !0
169
- },
170
- // Highlight variable names as variables in the left-hand part
171
- // of assignments (“=” and “+=”).
172
- "assign-left": {
173
- pattern: /(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,
174
- inside: {
175
- environment: {
176
- pattern: RegExp("(^|[\\s;|&]|[<>]\\()" + t),
177
- lookbehind: !0,
178
- alias: "constant"
179
- }
180
- },
181
- alias: "variable",
182
- lookbehind: !0
183
- },
184
- // Highlight parameter names as variables
185
- parameter: {
186
- pattern: /(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,
187
- alias: "variable",
188
- lookbehind: !0
189
- },
190
- string: [
191
- // Support for Here-documents https://en.wikipedia.org/wiki/Here_document
192
- {
193
- pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
194
- lookbehind: !0,
195
- greedy: !0,
196
- inside: n
197
- },
198
- // Here-document with quotes around the tag
199
- // → No expansion (so no “inside”).
200
- {
201
- pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
202
- lookbehind: !0,
203
- greedy: !0,
204
- inside: {
205
- bash: r
206
- }
207
- },
208
- // “Normal” string
209
- {
210
- // https://www.gnu.org/software/bash/manual/html_node/Double-Quotes.html
211
- pattern: /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
212
- lookbehind: !0,
213
- greedy: !0,
214
- inside: n
215
- },
216
- {
217
- // https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
218
- pattern: /(^|[^$\\])'[^']*'/,
219
- lookbehind: !0,
220
- greedy: !0
221
- },
222
- {
223
- // https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html
224
- pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
225
- greedy: !0,
226
- inside: {
227
- entity: n.entity
228
- }
229
- }
230
- ],
231
- environment: {
232
- pattern: RegExp("\\$?" + t),
233
- alias: "constant"
234
- },
235
- variable: n.variable,
236
- function: {
237
- pattern: /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
238
- lookbehind: !0
239
- },
240
- keyword: {
241
- pattern: /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
242
- lookbehind: !0
243
- },
244
- // https://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html
245
- builtin: {
246
- pattern: /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,
247
- lookbehind: !0,
248
- // Alias added to make those easier to distinguish from strings.
249
- alias: "class-name"
250
- },
251
- boolean: {
252
- pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
253
- lookbehind: !0
254
- },
255
- "file-descriptor": {
256
- pattern: /\B&\d\b/,
257
- alias: "important"
258
- },
259
- operator: {
260
- // Lots of redirections here, but not just that.
261
- pattern: /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
262
- inside: {
263
- "file-descriptor": {
264
- pattern: /^\d/,
265
- alias: "important"
266
- }
267
- }
268
- },
269
- punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
270
- number: {
271
- pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
272
- lookbehind: !0
273
- }
274
- }, r.inside = e.languages.bash;
275
- for (var i = [
276
- "comment",
277
- "function-name",
278
- "for-or-select",
279
- "assign-left",
280
- "parameter",
281
- "string",
282
- "environment",
283
- "function",
284
- "keyword",
285
- "builtin",
286
- "boolean",
287
- "file-descriptor",
288
- "operator",
289
- "punctuation",
290
- "number"
291
- ], s = n.variable[1].inside, l = 0; l < i.length; l++)
292
- s[i[l]] = e.languages.bash[i[l]];
293
- e.languages.sh = e.languages.bash, e.languages.shell = e.languages.bash;
294
- })(Prism);
295
- var C = {}, N;
296
- function Ie() {
297
- return N || (N = 1, (function(e) {
298
- var t = [
299
- // normal string
300
- /"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,
301
- /'[^']*'/.source,
302
- /\$'(?:[^'\\]|\\[\s\S])*'/.source,
303
- // here doc
304
- // 2 capturing groups
305
- /<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source
306
- ].join("|");
307
- e.languages["shell-session"] = {
308
- command: {
309
- pattern: RegExp(
310
- // user info
311
- /^/.source + "(?:" + // <user> ":" ( <path> )?
312
- (/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source + "|" + // <path>
313
- // Since the path pattern is quite general, we will require it to start with a special character to
314
- // prevent false positives.
315
- /[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source) + ")?" + // shell symbol
316
- /[$#%](?=\s)/.source + // bash command
317
- /(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g, function() {
318
- return t;
319
- }),
320
- "m"
321
- ),
322
- greedy: !0,
323
- inside: {
324
- info: {
325
- // foo@bar:~/files$ exit
326
- // foo@bar$ exit
327
- // ~/files$ exit
328
- pattern: /^[^#$%]+/,
329
- alias: "punctuation",
330
- inside: {
331
- user: /^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,
332
- punctuation: /:/,
333
- path: /[\s\S]+/
334
- }
335
- },
336
- bash: {
337
- pattern: /(^[$#%]\s*)\S[\s\S]*/,
338
- lookbehind: !0,
339
- alias: "language-bash",
340
- inside: e.languages.bash
341
- },
342
- "shell-symbol": {
343
- pattern: /^[$#%]/,
344
- alias: "important"
345
- }
346
- }
347
- },
348
- output: /.(?:.*(?:[\r\n]|.$))*/
349
- }, e.languages["sh-session"] = e.languages.shellsession = e.languages["shell-session"];
350
- })(Prism)), C;
351
- }
352
- Ie();
353
- (function(e) {
354
- var t = /\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source, r = /(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g, function() {
355
- return t;
356
- }), n = /"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source, i = /--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g, function() {
357
- return n;
358
- }), s = {
359
- pattern: RegExp(n),
360
- greedy: !0
361
- }, l = {
362
- pattern: /(^[ \t]*)#.*/m,
363
- lookbehind: !0,
364
- greedy: !0
365
- };
366
- function u(o, c) {
367
- return o = o.replace(/<OPT>/g, function() {
368
- return i;
369
- }).replace(/<SP>/g, function() {
370
- return r;
371
- }), RegExp(o, c);
372
- }
373
- e.languages.docker = {
374
- instruction: {
375
- pattern: /(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,
376
- lookbehind: !0,
377
- greedy: !0,
378
- inside: {
379
- options: {
380
- pattern: u(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source, "i"),
381
- lookbehind: !0,
382
- greedy: !0,
383
- inside: {
384
- property: {
385
- pattern: /(^|\s)--[\w-]+/,
386
- lookbehind: !0
387
- },
388
- string: [
389
- s,
390
- {
391
- pattern: /(=)(?!["'])(?:[^\s\\]|\\.)+/,
392
- lookbehind: !0
393
- }
394
- ],
395
- operator: /\\$/m,
396
- punctuation: /=/
397
- }
398
- },
399
- keyword: [
400
- {
401
- // https://docs.docker.com/engine/reference/builder/#healthcheck
402
- pattern: u(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source, "i"),
403
- lookbehind: !0,
404
- greedy: !0
405
- },
406
- {
407
- // https://docs.docker.com/engine/reference/builder/#from
408
- pattern: u(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source, "i"),
409
- lookbehind: !0,
410
- greedy: !0
411
- },
412
- {
413
- // https://docs.docker.com/engine/reference/builder/#onbuild
414
- pattern: u(/(^ONBUILD<SP>)\w+/.source, "i"),
415
- lookbehind: !0,
416
- greedy: !0
417
- },
418
- {
419
- pattern: /^\w+/,
420
- greedy: !0
421
- }
422
- ],
423
- comment: l,
424
- string: s,
425
- variable: /\$(?:\w+|\{[^{}"'\\]*\})/,
426
- operator: /\\$/m
427
- }
428
- },
429
- comment: l
430
- }, e.languages.dockerfile = e.languages.docker;
431
- })(Prism);
432
- (function(e) {
433
- var t = /[*&][^\s[\]{},]+/, r = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, n = "(?:" + r.source + "(?:[ ]+" + t.source + ")?|" + t.source + "(?:[ ]+" + r.source + ")?)", i = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g, function() {
434
- return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source;
435
- }), s = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
436
- function l(u, o) {
437
- o = (o || "").replace(/m/g, "") + "m";
438
- var c = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g, function() {
439
- return n;
440
- }).replace(/<<value>>/g, function() {
441
- return u;
442
- });
443
- return RegExp(c, o);
444
- }
445
- e.languages.yaml = {
446
- scalar: {
447
- pattern: RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g, function() {
448
- return n;
449
- })),
450
- lookbehind: !0,
451
- alias: "string"
452
- },
453
- comment: /#.*/,
454
- key: {
455
- pattern: RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g, function() {
456
- return n;
457
- }).replace(/<<key>>/g, function() {
458
- return "(?:" + i + "|" + s + ")";
459
- })),
460
- lookbehind: !0,
461
- greedy: !0,
462
- alias: "atrule"
463
- },
464
- directive: {
465
- pattern: /(^[ \t]*)%.+/m,
466
- lookbehind: !0,
467
- alias: "important"
468
- },
469
- datetime: {
470
- pattern: l(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),
471
- lookbehind: !0,
472
- alias: "number"
473
- },
474
- boolean: {
475
- pattern: l(/false|true/.source, "i"),
476
- lookbehind: !0,
477
- alias: "important"
478
- },
479
- null: {
480
- pattern: l(/null|~/.source, "i"),
481
- lookbehind: !0,
482
- alias: "important"
483
- },
484
- string: {
485
- pattern: l(s),
486
- lookbehind: !0,
487
- greedy: !0
488
- },
489
- number: {
490
- pattern: l(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source, "i"),
491
- lookbehind: !0
492
- },
493
- tag: r,
494
- important: t,
495
- punctuation: /---|[:[\]{}\-,|>?]|\.\.\./
496
- }, e.languages.yml = e.languages.yaml;
497
- })(Prism);
498
- (function(e) {
499
- var t = /(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;
500
- function r(n) {
501
- return n.replace(/__/g, function() {
502
- return t;
503
- });
504
- }
505
- e.languages.toml = {
506
- comment: {
507
- pattern: /#.*/,
508
- greedy: !0
509
- },
510
- table: {
511
- pattern: RegExp(r(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source), "m"),
512
- lookbehind: !0,
513
- greedy: !0,
514
- alias: "class-name"
515
- },
516
- key: {
517
- pattern: RegExp(r(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source), "m"),
518
- lookbehind: !0,
519
- greedy: !0,
520
- alias: "property"
521
- },
522
- string: {
523
- pattern: /"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,
524
- greedy: !0
525
- },
526
- date: [
527
- {
528
- // Offset Date-Time, Local Date-Time, Local Date
529
- pattern: /\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,
530
- alias: "number"
531
- },
532
- {
533
- // Local Time
534
- pattern: /\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,
535
- alias: "number"
536
- }
537
- ],
538
- number: /(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,
539
- boolean: /\b(?:false|true)\b/,
540
- punctuation: /[.,=[\]{}]/
541
- };
542
- })(Prism);
543
- Prism.languages.javascript = Prism.languages.extend("clike", {
544
- "class-name": [
545
- Prism.languages.clike["class-name"],
546
- {
547
- pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,
548
- lookbehind: !0
549
- }
550
- ],
551
- keyword: [
552
- {
553
- pattern: /((?:^|\})\s*)catch\b/,
554
- lookbehind: !0
555
- },
556
- {
557
- pattern: /(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,
558
- lookbehind: !0
559
- }
560
- ],
561
- // Allow for all non-ASCII characters (See http://stackoverflow.com/a/2008444)
562
- function: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,
563
- number: {
564
- pattern: RegExp(
565
- /(^|[^\w$])/.source + "(?:" + // constant
566
- (/NaN|Infinity/.source + "|" + // binary integer
567
- /0[bB][01]+(?:_[01]+)*n?/.source + "|" + // octal integer
568
- /0[oO][0-7]+(?:_[0-7]+)*n?/.source + "|" + // hexadecimal integer
569
- /0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source + "|" + // decimal bigint
570
- /\d+(?:_\d+)*n/.source + "|" + // decimal number (integer or float) but no bigint
571
- /(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source) + ")" + /(?![\w$])/.source
572
- ),
573
- lookbehind: !0
574
- },
575
- operator: /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/
576
- });
577
- Prism.languages.javascript["class-name"][0].pattern = /(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;
578
- Prism.languages.insertBefore("javascript", "keyword", {
579
- regex: {
580
- pattern: RegExp(
581
- // lookbehind
582
- // eslint-disable-next-line regexp/no-dupe-characters-character-class
583
- /((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source + // Regex pattern:
584
- // There are 2 regex patterns here. The RegExp set notation proposal added support for nested character
585
- // classes if the `v` flag is present. Unfortunately, nested CCs are both context-free and incompatible
586
- // with the only syntax, so we have to define 2 different regex patterns.
587
- /\//.source + "(?:" + /(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source + "|" + // `v` flag syntax. This supports 3 levels of nested character classes.
588
- /(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source + ")" + // lookahead
589
- /(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source
590
- ),
591
- lookbehind: !0,
592
- greedy: !0,
593
- inside: {
594
- "regex-source": {
595
- pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/,
596
- lookbehind: !0,
597
- alias: "language-regex",
598
- inside: Prism.languages.regex
599
- },
600
- "regex-delimiter": /^\/|\/$/,
601
- "regex-flags": /^[a-z]+$/
602
- }
603
- },
604
- // This must be declared before keyword because we use "function" inside the look-forward
605
- "function-variable": {
606
- pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,
607
- alias: "function"
608
- },
609
- parameter: [
610
- {
611
- pattern: /(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,
612
- lookbehind: !0,
613
- inside: Prism.languages.javascript
614
- },
615
- {
616
- pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,
617
- lookbehind: !0,
618
- inside: Prism.languages.javascript
619
- },
620
- {
621
- pattern: /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,
622
- lookbehind: !0,
623
- inside: Prism.languages.javascript
624
- },
625
- {
626
- pattern: /((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,
627
- lookbehind: !0,
628
- inside: Prism.languages.javascript
629
- }
630
- ],
631
- constant: /\b[A-Z](?:[A-Z_]|\dx?)*\b/
632
- });
633
- Prism.languages.insertBefore("javascript", "string", {
634
- hashbang: {
635
- pattern: /^#!.*/,
636
- greedy: !0,
637
- alias: "comment"
638
- },
639
- "template-string": {
640
- pattern: /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,
641
- greedy: !0,
642
- inside: {
643
- "template-punctuation": {
644
- pattern: /^`|`$/,
645
- alias: "string"
646
- },
647
- interpolation: {
648
- pattern: /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
649
- lookbehind: !0,
650
- inside: {
651
- "interpolation-punctuation": {
652
- pattern: /^\$\{|\}$/,
653
- alias: "punctuation"
654
- },
655
- rest: Prism.languages.javascript
656
- }
657
- },
658
- string: /[\s\S]+/
659
- }
660
- },
661
- "string-property": {
662
- pattern: /((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,
663
- lookbehind: !0,
664
- greedy: !0,
665
- alias: "property"
666
- }
667
- });
668
- Prism.languages.insertBefore("javascript", "operator", {
669
- "literal-property": {
670
- pattern: /((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,
671
- lookbehind: !0,
672
- alias: "property"
673
- }
674
- });
675
- Prism.languages.markup && (Prism.languages.markup.tag.addInlined("script", "javascript"), Prism.languages.markup.tag.addAttribute(
676
- /on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,
677
- "javascript"
678
- ));
679
- Prism.languages.js = Prism.languages.javascript;
680
- (function(e) {
681
- var t = e.util.clone(e.languages.javascript), r = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, n = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source, i = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
682
- function s(o, c) {
683
- return o = o.replace(/<S>/g, function() {
684
- return r;
685
- }).replace(/<BRACES>/g, function() {
686
- return n;
687
- }).replace(/<SPREAD>/g, function() {
688
- return i;
689
- }), RegExp(o, c);
690
- }
691
- i = s(i).source, e.languages.jsx = e.languages.extend("markup", t), e.languages.jsx.tag.pattern = s(
692
- /<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source
693
- ), e.languages.jsx.tag.inside.tag.pattern = /^<\/?[^\s>\/]*/, e.languages.jsx.tag.inside["attr-value"].pattern = /=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/, e.languages.jsx.tag.inside.tag.inside["class-name"] = /^[A-Z]\w*(?:\.[A-Z]\w*)*$/, e.languages.jsx.tag.inside.comment = t.comment, e.languages.insertBefore("inside", "attr-name", {
694
- spread: {
695
- pattern: s(/<SPREAD>/.source),
696
- inside: e.languages.jsx
697
- }
698
- }, e.languages.jsx.tag), e.languages.insertBefore("inside", "special-attr", {
699
- script: {
700
- // Allow for two levels of nesting
701
- pattern: s(/=<BRACES>/.source),
702
- alias: "language-javascript",
703
- inside: {
704
- "script-punctuation": {
705
- pattern: /^=(?=\{)/,
706
- alias: "punctuation"
707
- },
708
- rest: e.languages.jsx
709
- }
710
- }
711
- }, e.languages.jsx.tag);
712
- var l = function(o) {
713
- return o ? typeof o == "string" ? o : typeof o.content == "string" ? o.content : o.content.map(l).join("") : "";
714
- }, u = function(o) {
715
- for (var c = [], p = 0; p < o.length; p++) {
716
- var d = o[p], b = !1;
717
- if (typeof d != "string" && (d.type === "tag" && d.content[0] && d.content[0].type === "tag" ? d.content[0].content[0].content === "</" ? c.length > 0 && c[c.length - 1].tagName === l(d.content[0].content[1]) && c.pop() : d.content[d.content.length - 1].content === "/>" || c.push({
718
- tagName: l(d.content[0].content[1]),
719
- openedBraces: 0
720
- }) : c.length > 0 && d.type === "punctuation" && d.content === "{" ? c[c.length - 1].openedBraces++ : c.length > 0 && c[c.length - 1].openedBraces > 0 && d.type === "punctuation" && d.content === "}" ? c[c.length - 1].openedBraces-- : b = !0), (b || typeof d == "string") && c.length > 0 && c[c.length - 1].openedBraces === 0) {
721
- var g = l(d);
722
- p < o.length - 1 && (typeof o[p + 1] == "string" || o[p + 1].type === "plain-text") && (g += l(o[p + 1]), o.splice(p + 1, 1)), p > 0 && (typeof o[p - 1] == "string" || o[p - 1].type === "plain-text") && (g = l(o[p - 1]) + g, o.splice(p - 1, 1), p--), o[p] = new e.Token("plain-text", g, null, g);
723
- }
724
- d.content && typeof d.content != "string" && u(d.content);
725
- }
726
- };
727
- e.hooks.add("after-tokenize", function(o) {
728
- o.language !== "jsx" && o.language !== "tsx" || u(o.tokens);
729
- });
730
- })(Prism);
731
- var P = {}, L;
732
- function Oe() {
733
- return L || (L = 1, (function(e) {
734
- e.languages.typescript = e.languages.extend("javascript", {
735
- "class-name": {
736
- pattern: /(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,
737
- lookbehind: !0,
738
- greedy: !0,
739
- inside: null
740
- // see below
741
- },
742
- builtin: /\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/
743
- }), e.languages.typescript.keyword.push(
744
- /\b(?:abstract|declare|is|keyof|readonly|require)\b/,
745
- // keywords that have to be followed by an identifier
746
- /\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,
747
- // This is for `import type *, {}`
748
- /\btype\b(?=\s*(?:[\{*]|$))/
749
- ), delete e.languages.typescript.parameter, delete e.languages.typescript["literal-property"];
750
- var t = e.languages.extend("typescript", {});
751
- delete t["class-name"], e.languages.typescript["class-name"].inside = t, e.languages.insertBefore("typescript", "function", {
752
- decorator: {
753
- pattern: /@[$\w\xA0-\uFFFF]+/,
754
- inside: {
755
- at: {
756
- pattern: /^@/,
757
- alias: "operator"
758
- },
759
- function: /^[\s\S]+/
760
- }
761
- },
762
- "generic-function": {
763
- // e.g. foo<T extends "bar" | "baz">( ...
764
- pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,
765
- greedy: !0,
766
- inside: {
767
- function: /^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,
768
- generic: {
769
- pattern: /<[\s\S]+/,
770
- // everything after the first <
771
- alias: "class-name",
772
- inside: t
773
- }
774
- }
775
- }
776
- }), e.languages.ts = e.languages.typescript;
777
- })(Prism)), P;
778
- }
779
- Oe();
780
- (function(e) {
781
- var t = e.util.clone(e.languages.typescript);
782
- e.languages.tsx = e.languages.extend("jsx", t), delete e.languages.tsx.parameter, delete e.languages.tsx["literal-property"];
783
- var r = e.languages.tsx.tag;
784
- r.pattern = RegExp(/(^|[^\w$]|(?=<\/))/.source + "(?:" + r.pattern.source + ")", r.pattern.flags), r.lookbehind = !0;
785
- })(Prism);
786
- const Re = {
787
- sh: "bash",
788
- shell: "bash",
789
- zsh: "bash",
790
- console: "bash"
791
- }, Ce = ({ children: e, className: t = "", ...r }) => {
792
- const [n, i] = E(!1), s = B(), l = t.replace("language-", "") || "jsx", u = Re[l] ?? l;
793
- let o = "";
794
- typeof e == "string" ? o = e.trim() : e && typeof e == "object" && e.props && (typeof e.props.children == "string" ? o = e.props.children.trim() : Array.isArray(e.props.children) && (o = e.props.children.join("").trim()));
795
- const c = {
796
- plain: {
797
- color: s.palette.text.primary,
798
- backgroundColor: s.palette.background.paper
799
- },
800
- styles: [
801
- {
802
- types: ["comment", "prolog", "doctype", "cdata"],
803
- style: {
804
- color: s.palette.mode === "dark" ? "#6a737d" : "#6a7781"
805
- }
806
- },
807
- {
808
- types: ["punctuation"],
809
- style: {
810
- color: s.palette.mode === "dark" ? "#e1e4e8" : "#24292e"
811
- }
812
- },
813
- {
814
- types: ["property", "tag", "boolean", "number", "constant", "symbol"],
815
- style: {
816
- color: s.palette.mode === "dark" ? "#79b8ff" : "#005cc5"
817
- }
818
- },
819
- {
820
- types: ["selector", "attr-name", "string", "char", "builtin"],
821
- style: {
822
- color: s.palette.mode === "dark" ? "#a5d6ff" : "#032f62"
823
- }
824
- },
825
- {
826
- types: ["operator", "entity", "url"],
827
- style: {
828
- color: (s.palette.mode === "dark", "#d73a49")
829
- }
830
- },
831
- {
832
- types: ["atrule", "attr-value", "keyword"],
833
- style: {
834
- color: s.palette.mode === "dark" ? "#f97583" : "#d73a49"
835
- }
836
- },
837
- {
838
- types: ["function"],
839
- style: {
840
- color: s.palette.mode === "dark" ? "#b392f0" : "#6f42c1"
841
- }
842
- },
843
- {
844
- types: ["class-name"],
845
- style: {
846
- color: s.palette.mode === "dark" ? "#ffab70" : "#e36209"
847
- }
848
- }
849
- ]
850
- };
851
- return /* @__PURE__ */ m(f, { sx: { position: "relative", my: 2 }, children: [
852
- /* @__PURE__ */ a(f, { sx: { position: "absolute", top: 4, right: 4, zIndex: 1 }, children: /* @__PURE__ */ a(re, { title: n ? "Copied!" : "Copy", children: /* @__PURE__ */ a(
853
- A,
854
- {
855
- size: "small",
856
- onClick: async () => {
857
- try {
858
- await navigator.clipboard.writeText(o), i(!0), setTimeout(() => i(!1), 1500);
859
- } catch {
860
- }
861
- },
862
- color: "inherit",
863
- "aria-label": n ? "Code copied to clipboard" : "Copy code to clipboard",
864
- sx: { width: 24, height: 24 },
865
- children: n ? /* @__PURE__ */ a(Fe, { sx: { fontSize: 16 } }) : /* @__PURE__ */ a(Ee, { sx: { fontSize: 16 } })
866
- }
867
- ) }) }),
868
- /* @__PURE__ */ a(j, { prism: Te, code: o, language: u, theme: c, children: ({ className: d, style: b, tokens: g, getLineProps: k, getTokenProps: w }) => /* @__PURE__ */ m(
869
- f,
870
- {
871
- sx: {
872
- border: 1,
873
- borderColor: "divider",
874
- borderRadius: 2,
875
- overflow: "hidden",
876
- backgroundColor: s.palette.background.paper,
877
- boxShadow: 1
878
- },
879
- children: [
880
- /* @__PURE__ */ a(
881
- f,
882
- {
883
- sx: {
884
- px: 2,
885
- py: 1,
886
- backgroundColor: s.palette.mode === "dark" ? "rgba(255,255,255,0.08)" : "rgba(0,0,0,0.04)",
887
- borderBottom: 1,
888
- borderColor: "divider",
889
- fontSize: "0.75rem",
890
- color: s.palette.text.secondary,
891
- fontFamily: "monospace",
892
- textTransform: "uppercase",
893
- letterSpacing: 0.5
894
- },
895
- children: u
896
- }
897
- ),
898
- /* @__PURE__ */ a(
899
- "pre",
900
- {
901
- className: d,
902
- style: {
903
- ...b,
904
- margin: 0,
905
- padding: 16,
906
- overflowX: "auto",
907
- backgroundColor: "transparent",
908
- wordWrap: "break-word",
909
- overflowWrap: "break-word",
910
- whiteSpace: "pre-wrap"
911
- },
912
- ...r,
913
- children: g.map((h, S) => {
914
- const _ = k({ line: h, key: S }), { key: v, ...z } = _;
915
- return /* @__PURE__ */ a("div", { ...z, children: h.map((W, $) => {
916
- const U = w({ token: W, key: $ }), { key: Ye, ...X } = U;
917
- return /* @__PURE__ */ a("span", { ...X }, `${S}-${$}`);
918
- }) }, v);
919
- })
920
- }
921
- )
922
- ]
923
- }
924
- ) })
925
- ] });
926
- }, Ne = ({ children: e, ...t }) => {
927
- const r = B(), n = typeof e == "string" ? e.trim() : "", i = {
928
- plain: {
929
- color: r.palette.text.primary,
930
- backgroundColor: r.palette.mode === "dark" ? "rgba(255,255,255,0.08)" : "rgba(0,0,0,0.08)"
931
- },
932
- styles: [
933
- {
934
- types: ["comment", "prolog", "doctype", "cdata"],
935
- style: {
936
- color: r.palette.mode === "dark" ? "#6a737d" : "#6a7781"
937
- }
938
- },
939
- {
940
- types: ["punctuation"],
941
- style: {
942
- color: r.palette.mode === "dark" ? "#e1e4e8" : "#24292e"
943
- }
944
- },
945
- {
946
- types: ["property", "tag", "boolean", "number", "constant", "symbol"],
947
- style: {
948
- color: r.palette.mode === "dark" ? "#79b8ff" : "#005cc5"
949
- }
950
- },
951
- {
952
- types: ["selector", "attr-name", "string", "char", "builtin"],
953
- style: {
954
- color: r.palette.mode === "dark" ? "#a5d6ff" : "#032f62"
955
- }
956
- },
957
- {
958
- types: ["operator", "entity", "url"],
959
- style: {
960
- color: (r.palette.mode === "dark", "#d73a49")
961
- }
962
- },
963
- {
964
- types: ["atrule", "attr-value", "keyword"],
965
- style: {
966
- color: r.palette.mode === "dark" ? "#f97583" : "#d73a49"
967
- }
968
- },
969
- {
970
- types: ["function"],
971
- style: {
972
- color: r.palette.mode === "dark" ? "#b392f0" : "#6f42c1"
973
- }
974
- },
975
- {
976
- types: ["class-name"],
977
- style: {
978
- color: r.palette.mode === "dark" ? "#ffab70" : "#e36209"
979
- }
980
- }
981
- ]
982
- };
983
- return /* @__PURE__ */ a(j, { code: n, language: "jsx", theme: i, children: ({ className: s, style: l, tokens: u, getLineProps: o, getTokenProps: c }) => /* @__PURE__ */ a(
984
- "code",
985
- {
986
- className: s,
987
- style: {
988
- ...l,
989
- padding: "2px 4px",
990
- borderRadius: "3px",
991
- fontSize: "0.875em",
992
- fontFamily: "monospace",
993
- display: "inline-block",
994
- wordWrap: "break-word",
995
- overflowWrap: "break-word",
996
- maxWidth: "100%"
997
- },
998
- ...t,
999
- children: u.map((p, d) => {
1000
- const b = o({ line: p, key: d }), { key: g, ...k } = b;
1001
- return /* @__PURE__ */ a("div", { ...k, children: p.map((w, h) => {
1002
- const S = c({ token: w, key: h }), { key: _, ...v } = S;
1003
- return /* @__PURE__ */ a("span", { ...v }, `${d}-${h}`);
1004
- }) }, g);
1005
- })
1006
- }
1007
- ) });
1008
- }, Pe = () => /* @__PURE__ */ m(
1009
- f,
1010
- {
1011
- sx: {
1012
- display: "flex",
1013
- flexDirection: "column",
1014
- alignItems: "center",
1015
- justifyContent: "center",
1016
- minHeight: "60vh",
1017
- textAlign: "center",
1018
- gap: 2
1019
- },
1020
- children: [
1021
- /* @__PURE__ */ a(F, { variant: "h1", sx: { fontSize: "6rem", fontWeight: 700, lineHeight: 1 }, children: "404" }),
1022
- /* @__PURE__ */ a(F, { variant: "h5", color: "text.secondary", children: "Page not found" }),
1023
- /* @__PURE__ */ a(ae, { href: "/", underline: "hover", children: "Go home" })
1024
- ]
1025
- }
1026
- ), Le = (e, t = !1) => e.filter(
1027
- (r) => !r.isHidden && (t ? r.route !== "/" : !0)
1028
- ), De = (e) => e ? !!(e.startsWith("http://") || e.startsWith("https://") || e.startsWith("mailto:") || e.startsWith("tel:")) : !1, Be = () => {
1029
- const { pages: e } = T();
1030
- return /* @__PURE__ */ a(
1031
- f,
1032
- {
1033
- sx: {
1034
- width: "100%",
1035
- maxWidth: 960,
1036
- mx: "auto",
1037
- pb: 4,
1038
- // Add mobile-specific styles to prevent text overflow
1039
- "& .MuiTypography-root": {
1040
- wordWrap: "break-word",
1041
- overflowWrap: "break-word"
1042
- },
1043
- "& pre": {
1044
- wordWrap: "break-word",
1045
- overflowWrap: "break-word",
1046
- whiteSpace: "pre-wrap"
1047
- },
1048
- "& code": {
1049
- wordWrap: "break-word",
1050
- overflowWrap: "break-word"
1051
- },
1052
- "& p": {
1053
- wordWrap: "break-word",
1054
- overflowWrap: "break-word"
1055
- },
1056
- "& h1, & h2, & h3, & h4, & h5, & h6": {
1057
- wordWrap: "break-word",
1058
- overflowWrap: "break-word"
1059
- },
1060
- // Mobile-specific overrides
1061
- "@media (max-width: 600px)": {
1062
- maxWidth: "100%",
1063
- px: 1,
1064
- "& *": {
1065
- wordWrap: "break-word",
1066
- overflowWrap: "break-word"
1067
- }
1068
- },
1069
- // Very small screen overrides
1070
- "@media (max-width: 378px)": {
1071
- maxWidth: "100%",
1072
- px: 0.5,
1073
- "& *": {
1074
- wordWrap: "break-word",
1075
- overflowWrap: "break-word"
1076
- }
1077
- }
1078
- },
1079
- children: /* @__PURE__ */ a(
1080
- Ae,
1081
- {
1082
- components: {
1083
- // pre: CodeBlock,
1084
- code: (t) => t.className ? /* @__PURE__ */ a(Ce, { ...t }) : /* @__PURE__ */ a(Ne, { ...t }),
1085
- a: (t) => {
1086
- const r = De(t.href);
1087
- return /* @__PURE__ */ a(
1088
- "a",
1089
- {
1090
- ...t,
1091
- target: r ? "_blank" : void 0,
1092
- rel: r ? "noopener noreferrer" : void 0
1093
- }
1094
- );
1095
- },
1096
- blockquote: (t) => /* @__PURE__ */ a(
1097
- f,
1098
- {
1099
- component: "blockquote",
1100
- sx: {
1101
- borderLeft: "4px solid",
1102
- borderColor: "primary.main",
1103
- pl: 2,
1104
- py: 0.5,
1105
- my: 2,
1106
- mx: 0,
1107
- color: "text.secondary",
1108
- fontStyle: "italic",
1109
- bgcolor: "action.hover",
1110
- borderRadius: "0 4px 4px 0"
1111
- },
1112
- ...t
1113
- }
1114
- ),
1115
- table: (t) => /* @__PURE__ */ a(le, { component: ce, variant: "outlined", sx: { my: 2 }, children: /* @__PURE__ */ a(de, { size: "small", ...t }) }),
1116
- thead: se,
1117
- tbody: oe,
1118
- tr: ne,
1119
- th: (t) => /* @__PURE__ */ a(I, { component: "th", ...t }),
1120
- td: I,
1121
- p: (t) => t.children && (Array.isArray(t.children) ? t.children.some(
1122
- (n) => typeof n == "object" && n.type
1123
- ) : typeof t.children == "object" && t.children.type) ? /* @__PURE__ */ a(Z, { children: t.children }) : /* @__PURE__ */ a("p", { ...t })
1124
- },
1125
- children: /* @__PURE__ */ a(
1126
- Y,
1127
- {
1128
- fallback: /* @__PURE__ */ a(
1129
- f,
1130
- {
1131
- sx: {
1132
- display: "flex",
1133
- justifyContent: "center",
1134
- alignItems: "center",
1135
- minHeight: "200px"
1136
- },
1137
- children: /* @__PURE__ */ a(ie, {})
1138
- }
1139
- ),
1140
- children: /* @__PURE__ */ m(ye, { children: [
1141
- e.map((t) => {
1142
- const r = t.component;
1143
- return /* @__PURE__ */ a(
1144
- R,
1145
- {
1146
- path: t.route,
1147
- element: /* @__PURE__ */ a(r, {})
1148
- },
1149
- t.route
1150
- );
1151
- }),
1152
- /* @__PURE__ */ a(R, { path: "*", element: /* @__PURE__ */ a(Pe, {}) })
1153
- ] })
1154
- }
1155
- )
1156
- }
1157
- )
1158
- }
1159
- );
1160
- }, y = 240, Me = ({ mobileOpen: e, handleDrawerToggle: t }) => {
1161
- const r = H(), { pages: n, hideHomeFromNav: i } = T(), s = Le(n, i);
1162
- x(() => {
1163
- const o = setTimeout(() => {
1164
- document.body.style.overflow = "";
1165
- }, 100);
1166
- return () => clearTimeout(o);
1167
- }, [r.pathname]);
1168
- const l = () => {
1169
- t();
1170
- }, u = /* @__PURE__ */ m("div", { children: [
1171
- /* @__PURE__ */ a(D, {}),
1172
- /* @__PURE__ */ a(pe, { children: s.map((o) => /* @__PURE__ */ a(ue, { disablePadding: !0, children: /* @__PURE__ */ a(
1173
- fe,
1174
- {
1175
- component: M,
1176
- to: o.route,
1177
- onClick: () => l(),
1178
- sx: {
1179
- "&:hover": {
1180
- color: "inherit"
1181
- }
1182
- },
1183
- children: /* @__PURE__ */ a(ge, { primary: o.name })
1184
- }
1185
- ) }, o.route)) })
1186
- ] });
1187
- return /* @__PURE__ */ m(
1188
- f,
1189
- {
1190
- component: "nav",
1191
- sx: { width: { sm: y }, flexShrink: { sm: 0 } },
1192
- "aria-label": "sidebar navigation",
1193
- children: [
1194
- /* @__PURE__ */ a(
1195
- O,
1196
- {
1197
- variant: "temporary",
1198
- open: e,
1199
- onClose: t,
1200
- ModalProps: {
1201
- keepMounted: !1,
1202
- disableScrollLock: !0
1203
- },
1204
- sx: {
1205
- display: { xs: "block", sm: "none" },
1206
- "& .MuiDrawer-paper": {
1207
- boxSizing: "border-box",
1208
- width: { xs: "85vw", sm: y },
1209
- maxWidth: y
1210
- }
1211
- },
1212
- children: u
1213
- }
1214
- ),
1215
- /* @__PURE__ */ a(
1216
- O,
1217
- {
1218
- variant: "permanent",
1219
- sx: {
1220
- display: { xs: "none", sm: "block" },
1221
- "& .MuiDrawer-paper": {
1222
- boxSizing: "border-box",
1223
- width: y
1224
- }
1225
- },
1226
- open: !0,
1227
- children: u
1228
- }
1229
- )
1230
- ]
1231
- }
1232
- );
1233
- }, He = () => typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-color-scheme: dark)").matches : !0, je = () => {
1234
- if (typeof window < "u") {
1235
- const e = localStorage.getItem("darkMode");
1236
- if (e !== null)
1237
- return JSON.parse(e);
1238
- }
1239
- return He();
1240
- }, Ge = () => {
1241
- const [e, t] = E(je);
1242
- return x(() => {
1243
- typeof window < "u" && localStorage.setItem("darkMode", JSON.stringify(e));
1244
- }, [e]), x(() => {
1245
- if (typeof window < "u" && window.matchMedia) {
1246
- const r = window.matchMedia("(prefers-color-scheme: dark)"), n = (i) => {
1247
- localStorage.getItem("darkMode") === null && t(i.matches);
1248
- };
1249
- return r.addEventListener("change", n), () => r.removeEventListener("change", n);
1250
- }
1251
- }, []), { darkMode: e, setDarkMode: t };
1252
- }, ze = {
1253
- palette: {
1254
- primary: {
1255
- main: "#90caf9",
1256
- light: "rgb(166, 212, 250)",
1257
- dark: "rgb(100, 141, 174)",
1258
- contrastText: "rgba(0, 0, 0, 0.87)"
1259
- },
1260
- secondary: {
1261
- main: "#f48fb1",
1262
- light: "rgb(246, 165, 192)",
1263
- dark: "rgb(170, 100, 123)",
1264
- contrastText: "rgba(0, 0, 0, 0.87)"
1265
- },
1266
- background: {
1267
- default: "#121212",
1268
- paper: "#141414"
1269
- },
1270
- text: {
1271
- primary: "#ffffff",
1272
- secondary: "#b3b3b3",
1273
- disabled: "rgba(255, 255, 255, 0.5)",
1274
- icon: "rgba(255, 255, 255, 0.5)"
1275
- },
1276
- common: {
1277
- black: "#000",
1278
- white: "#fff"
1279
- },
1280
- error: {
1281
- main: "#f44336",
1282
- light: "#e57373",
1283
- dark: "#d32f2f",
1284
- contrastText: "#fff"
1285
- },
1286
- warning: {
1287
- main: "#ffa726",
1288
- light: "#ffb74d",
1289
- dark: "#f57c00",
1290
- contrastText: "rgba(0, 0, 0, 0.87)"
1291
- },
1292
- info: {
1293
- main: "#29b6f6",
1294
- light: "#4fc3f7",
1295
- dark: "#0288d1",
1296
- contrastText: "rgba(0, 0, 0, 0.87)"
1297
- },
1298
- success: {
1299
- main: "#66bb6a",
1300
- light: "#81c784",
1301
- dark: "#388e3c",
1302
- contrastText: "rgba(0, 0, 0, 0.87)"
1303
- },
1304
- grey: {
1305
- 50: "#fafafa",
1306
- 100: "#f5f5f5",
1307
- 200: "#eeeeee",
1308
- 300: "#e0e0e0",
1309
- 400: "#bdbdbd",
1310
- 500: "#9e9e9e",
1311
- 600: "#757575",
1312
- 700: "#616161",
1313
- 800: "#424242",
1314
- 900: "#212121",
1315
- A100: "#f5f5f5",
1316
- A200: "#eeeeee",
1317
- A400: "#bdbdbd",
1318
- A700: "#616161"
1319
- },
1320
- contrastThreshold: 3,
1321
- tonalOffset: 0.2,
1322
- divider: "rgba(255, 255, 255, 0.12)",
1323
- action: {
1324
- active: "#fff",
1325
- hover: "rgba(255, 255, 255, 0.08)",
1326
- hoverOpacity: 0.08,
1327
- selected: "rgba(255, 255, 255, 0.16)",
1328
- selectedOpacity: 0.16,
1329
- disabled: "rgba(255, 255, 255, 0.3)",
1330
- disabledBackground: "rgba(255, 255, 255, 0.12)",
1331
- disabledOpacity: 0.38,
1332
- focus: "rgba(255, 255, 255, 0.12)",
1333
- focusOpacity: 0.12,
1334
- activatedOpacity: 0.24
1335
- }
1336
- }
1337
- }, We = {
1338
- palette: {
1339
- primary: {
1340
- main: "#1976d2",
1341
- light: "rgb(71, 145, 219)",
1342
- dark: "rgb(17, 82, 147)",
1343
- contrastText: "#fff"
1344
- },
1345
- secondary: {
1346
- main: "#dc004e",
1347
- light: "rgb(227, 51, 113)",
1348
- dark: "rgb(154, 0, 54)",
1349
- contrastText: "#fff"
1350
- },
1351
- background: {
1352
- default: "#fefefe",
1353
- paper: "#f5f5f5"
1354
- },
1355
- text: {
1356
- primary: "#212121",
1357
- secondary: "#757575",
1358
- disabled: "rgba(0, 0, 0, 0.38)"
1359
- },
1360
- common: {
1361
- black: "#000",
1362
- white: "#fff"
1363
- },
1364
- error: {
1365
- main: "#d32f2f",
1366
- light: "#ef5350",
1367
- dark: "#c62828",
1368
- contrastText: "#fff"
1369
- },
1370
- warning: {
1371
- main: "#ed6c02",
1372
- light: "#ff9800",
1373
- dark: "#e65100",
1374
- contrastText: "#fff"
1375
- },
1376
- info: {
1377
- main: "#0288d1",
1378
- light: "#03a9f4",
1379
- dark: "#01579b",
1380
- contrastText: "#fff"
1381
- },
1382
- success: {
1383
- main: "#2e7d32",
1384
- light: "#4caf50",
1385
- dark: "#1b5e20",
1386
- contrastText: "#fff"
1387
- },
1388
- grey: {
1389
- 50: "#fafafa",
1390
- 100: "#f5f5f5",
1391
- 200: "#eeeeee",
1392
- 300: "#e0e0e0",
1393
- 400: "#bdbdbd",
1394
- 500: "#9e9e9e",
1395
- 600: "#757575",
1396
- 700: "#616161",
1397
- 800: "#424242",
1398
- 900: "#212121",
1399
- A100: "#f5f5f5",
1400
- A200: "#eeeeee",
1401
- A400: "#bdbdbd",
1402
- A700: "#616161"
1403
- },
1404
- contrastThreshold: 3,
1405
- tonalOffset: 0.2,
1406
- divider: "rgba(0, 0, 0, 0.12)",
1407
- action: {
1408
- active: "rgba(0, 0, 0, 0.54)",
1409
- hover: "rgba(0, 0, 0, 0.04)",
1410
- hoverOpacity: 0.04,
1411
- selected: "rgba(0, 0, 0, 0.08)",
1412
- selectedOpacity: 0.08,
1413
- disabled: "rgba(0, 0, 0, 0.26)",
1414
- disabledBackground: "rgba(0, 0, 0, 0.12)",
1415
- disabledOpacity: 0.38,
1416
- focus: "rgba(0, 0, 0, 0.12)",
1417
- focusOpacity: 0.12,
1418
- activatedOpacity: 0.12
1419
- }
1420
- }
1421
- }, Ue = {
1422
- components: {
1423
- MuiIconButton: {
1424
- styleOverrides: {
1425
- root: {
1426
- "&:focus": {
1427
- outline: "none"
1428
- },
1429
- "&:focus-visible": {
1430
- outline: "none"
1431
- },
1432
- "&:focus-within": {
1433
- outline: "none"
1434
- },
1435
- // Remove webkit focus ring
1436
- "&::-webkit-focus-inner": {
1437
- border: 0
1438
- },
1439
- "&::-webkit-focus-ring-color": {
1440
- outline: "none"
1441
- }
1442
- }
1443
- }
1444
- }
1445
- }
1446
- }, Xe = (e = "light", t = {}) => {
1447
- const r = e === "dark" ? ze : We, n = t[e], i = {};
1448
- t.primaryColor && (i.palette = { primary: { main: t.primaryColor } }), t.fontFamily && (i.typography = { fontFamily: t.fontFamily });
1449
- const s = [
1450
- { ...r, palette: { ...r.palette, mode: e } },
1451
- i
1452
- ];
1453
- return n && s.push(n), s.push(Ue), me(...s);
1454
- }, Ze = ({ children: e }) => {
1455
- const t = H(), r = xe();
1456
- return x(() => {
1457
- const n = new URLSearchParams(window.location.search), i = n.get("redirect");
1458
- if (i) {
1459
- n.delete("redirect");
1460
- const s = window.location.pathname + (n.toString() ? "?" + n.toString() : "");
1461
- window.history.replaceState({}, "", s), r(i);
1462
- }
1463
- }, [r]), V(() => {
1464
- window.scrollTo({ top: 0, left: 0, behavior: "instant" });
1465
- }, [t.pathname]), e;
1466
- };
1467
- function Ke({ userTheme: e = {} }) {
1468
- const { darkMode: t, setDarkMode: r } = Ge(), [n, i] = E(!1), s = J(
1469
- () => Xe(t ? "dark" : "light", e),
1470
- [t, e]
1471
- ), l = () => {
1472
- i(!n);
1473
- };
1474
- return /* @__PURE__ */ m(be, { theme: s, children: [
1475
- /* @__PURE__ */ a(he, {}),
1476
- /* @__PURE__ */ m(f, { sx: { display: "flex" }, children: [
1477
- /* @__PURE__ */ a(
1478
- $e,
1479
- {
1480
- darkMode: t,
1481
- setDarkMode: r,
1482
- handleDrawerToggle: l
1483
- }
1484
- ),
1485
- /* @__PURE__ */ a(
1486
- Me,
1487
- {
1488
- mobileOpen: n,
1489
- handleDrawerToggle: l
1490
- }
1491
- ),
1492
- /* @__PURE__ */ a(
1493
- f,
1494
- {
1495
- component: "main",
1496
- sx: {
1497
- flexGrow: 1,
1498
- pt: 8,
1499
- // Add top padding to account for AppBar
1500
- px: { xs: 0.5, sm: 3 },
1501
- // Reduce padding even more on very small screens
1502
- width: { sm: `calc(100% - ${y}px)` },
1503
- // Prevent horizontal overflow on very small screens
1504
- overflowX: "hidden"
1505
- },
1506
- children: /* @__PURE__ */ a(Be, {})
1507
- }
1508
- )
1509
- ] })
1510
- ] });
1511
- }
1512
- function qe({ pages: e, site: t, theme: r = {}, hideHomeFromNav: n = !1 }) {
1513
- return /* @__PURE__ */ a(_e, { pages: e, site: t, hideHomeFromNav: n, children: /* @__PURE__ */ a(Se, { basename: "/", children: /* @__PURE__ */ a(Ze, { children: /* @__PURE__ */ a(Ke, { userTheme: r }) }) }) });
1514
- }
1515
- function dt({ pages: e, site: t, theme: r, hideHomeFromNav: n }) {
1516
- const i = e.filter((s) => s.route === "/");
1517
- if (i.length === 0)
1518
- throw new Error(
1519
- '[mdx-docs] No page with route "/" found. A home page at route "/" is required.'
1520
- );
1521
- if (i.length > 1)
1522
- throw new Error(
1523
- '[mdx-docs] Multiple pages with route "/" found. Only one home page is allowed.'
1524
- );
1525
- ee(document.getElementById("root")).render(
1526
- /* @__PURE__ */ a(Q, { children: /* @__PURE__ */ a(qe, { pages: e, site: t, theme: r, hideHomeFromNav: n }) })
1527
- );
1528
- }
1529
- const pt = {
1530
- default: {},
1531
- ocean: {
1532
- primaryColor: "#0077b6",
1533
- dark: {
1534
- palette: {
1535
- primary: { main: "#48cae4" },
1536
- background: { default: "#03045e", paper: "#023e8a" }
1537
- }
1538
- },
1539
- light: {
1540
- palette: {
1541
- background: { default: "#f0f9ff", paper: "#e0f2fe" }
1542
- }
1543
- }
1544
- },
1545
- forest: {
1546
- primaryColor: "#2d6a4f",
1547
- dark: {
1548
- palette: {
1549
- primary: { main: "#74c69d" },
1550
- background: { default: "#081c15", paper: "#1b4332" }
1551
- }
1552
- },
1553
- light: {
1554
- palette: {
1555
- background: { default: "#f0fdf4", paper: "#dcfce7" }
1556
- }
1557
- }
1558
- },
1559
- rose: {
1560
- primaryColor: "#be123c",
1561
- dark: {
1562
- palette: {
1563
- primary: { main: "#fb7185" },
1564
- background: { default: "#1c0a0d", paper: "#3b0015" }
1565
- }
1566
- },
1567
- light: {
1568
- palette: {
1569
- background: { default: "#fff1f2", paper: "#ffe4e6" }
1570
- }
1571
- }
1572
- }
1573
- };
1574
- export {
1575
- _e as DocsProvider,
1576
- Be as MDXContent,
1577
- Pe as NotFound,
1578
- dt as createApp,
1579
- pt as themes
1580
- };