@eleven-labs/design-system 0.37.4 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants/tokenVariables.d.ts +1 -1
- package/dist/constants/tokenVariablesDesktop.d.ts +1 -1
- package/dist/index.es.js +452 -459
- package/dist/index.umd.cjs +12 -12
- package/dist/pages/PostPage/PostPageContent.d.ts +2 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/scss/abstracts/variables/_variables.scss +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as $, jsx as l, Fragment as Ie } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import me, { forwardRef as to, Fragment as
|
|
2
|
+
import * as un from "react";
|
|
3
|
+
import me, { forwardRef as to, Fragment as dn, useMemo as vr, useRef as he, useCallback as _e, useEffect as Oe, cloneElement as no, Component as ro, useLayoutEffect as ao, useReducer as oo } from "react";
|
|
4
4
|
const io = (e) => /* @__PURE__ */ $("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ...e, children: [
|
|
5
5
|
/* @__PURE__ */ l(
|
|
6
6
|
"path",
|
|
@@ -227,7 +227,7 @@ var xo = yr.exports;
|
|
|
227
227
|
const re = /* @__PURE__ */ ne(xo), ke = to;
|
|
228
228
|
const yp = ["primary", "secondary", "accent"], Me = ke(
|
|
229
229
|
({ as: e = "button", variant: t = "primary", isChoiceChip: n = !1, className: a, children: o, ...r }, s) => /* @__PURE__ */ $(
|
|
230
|
-
|
|
230
|
+
K,
|
|
231
231
|
{
|
|
232
232
|
...r,
|
|
233
233
|
display: "inline-flex",
|
|
@@ -816,7 +816,7 @@ const ze = {
|
|
|
816
816
|
propValue: n,
|
|
817
817
|
className: "line-clamp"
|
|
818
818
|
})
|
|
819
|
-
),
|
|
819
|
+
), pn = (e) => typeof e.props == "object" ? Object.keys(e.props).reduce(
|
|
820
820
|
(t, n) => (e.systemPropNames.includes(n) || (t[n] = e.props[n]), t),
|
|
821
821
|
{}
|
|
822
822
|
) : {}, Vo = (e) => re(
|
|
@@ -831,7 +831,7 @@ const ze = {
|
|
|
831
831
|
return /* @__PURE__ */ l(
|
|
832
832
|
r,
|
|
833
833
|
{
|
|
834
|
-
...
|
|
834
|
+
...pn({ props: o, systemPropNames: [...Object.keys(_r), "color"] }),
|
|
835
835
|
className: re(
|
|
836
836
|
"icon",
|
|
837
837
|
xr(o),
|
|
@@ -845,7 +845,7 @@ const ze = {
|
|
|
845
845
|
);
|
|
846
846
|
};
|
|
847
847
|
const _p = ["website", "blog"], Sr = ke(({ name: e, size: t, ...n }, a) => /* @__PURE__ */ $(
|
|
848
|
-
|
|
848
|
+
K,
|
|
849
849
|
{
|
|
850
850
|
...n,
|
|
851
851
|
ref: a,
|
|
@@ -862,10 +862,10 @@ const _p = ["website", "blog"], Sr = ke(({ name: e, size: t, ...n }, a) => /* @_
|
|
|
862
862
|
]
|
|
863
863
|
}
|
|
864
864
|
));
|
|
865
|
-
var Ho =
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
function
|
|
865
|
+
var Ho = fn;
|
|
866
|
+
fn.displayName = "bash";
|
|
867
|
+
fn.aliases = ["shell"];
|
|
868
|
+
function fn(e) {
|
|
869
869
|
(function(t) {
|
|
870
870
|
var n = "\\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", a = {
|
|
871
871
|
pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
|
|
@@ -1080,10 +1080,10 @@ function pn(e) {
|
|
|
1080
1080
|
})(e);
|
|
1081
1081
|
}
|
|
1082
1082
|
const Uo = /* @__PURE__ */ ne(Ho);
|
|
1083
|
-
var Ir =
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
function
|
|
1083
|
+
var Ir = gn;
|
|
1084
|
+
gn.displayName = "c";
|
|
1085
|
+
gn.aliases = [];
|
|
1086
|
+
function gn(e) {
|
|
1087
1087
|
e.languages.c = e.languages.extend("clike", {
|
|
1088
1088
|
comment: {
|
|
1089
1089
|
pattern: /\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,
|
|
@@ -1158,20 +1158,20 @@ function fn(e) {
|
|
|
1158
1158
|
}), delete e.languages.c.boolean;
|
|
1159
1159
|
}
|
|
1160
1160
|
const qo = /* @__PURE__ */ ne(Ir);
|
|
1161
|
-
var Ko =
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
function
|
|
1161
|
+
var Ko = mn;
|
|
1162
|
+
mn.displayName = "csv";
|
|
1163
|
+
mn.aliases = [];
|
|
1164
|
+
function mn(e) {
|
|
1165
1165
|
e.languages.csv = {
|
|
1166
1166
|
value: /[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,
|
|
1167
1167
|
punctuation: /,/
|
|
1168
1168
|
};
|
|
1169
1169
|
}
|
|
1170
1170
|
const Wo = /* @__PURE__ */ ne(Ko);
|
|
1171
|
-
var Go =
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
function
|
|
1171
|
+
var Go = hn;
|
|
1172
|
+
hn.displayName = "diff";
|
|
1173
|
+
hn.aliases = [];
|
|
1174
|
+
function hn(e) {
|
|
1175
1175
|
(function(t) {
|
|
1176
1176
|
t.languages.diff = {
|
|
1177
1177
|
coord: [
|
|
@@ -1219,10 +1219,10 @@ function mn(e) {
|
|
|
1219
1219
|
})(e);
|
|
1220
1220
|
}
|
|
1221
1221
|
const Yo = /* @__PURE__ */ ne(Go);
|
|
1222
|
-
var Zo =
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
function
|
|
1222
|
+
var Zo = vn;
|
|
1223
|
+
vn.displayName = "docker";
|
|
1224
|
+
vn.aliases = ["dockerfile"];
|
|
1225
|
+
function vn(e) {
|
|
1226
1226
|
(function(t) {
|
|
1227
1227
|
var n = /\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source, a = /(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(
|
|
1228
1228
|
/<SP_BS>/g,
|
|
@@ -1319,10 +1319,10 @@ function hn(e) {
|
|
|
1319
1319
|
})(e);
|
|
1320
1320
|
}
|
|
1321
1321
|
const Xo = /* @__PURE__ */ ne(Zo);
|
|
1322
|
-
var Jo =
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
function
|
|
1322
|
+
var Jo = bn;
|
|
1323
|
+
bn.displayName = "gherkin";
|
|
1324
|
+
bn.aliases = [];
|
|
1325
|
+
function bn(e) {
|
|
1326
1326
|
(function(t) {
|
|
1327
1327
|
var n = /(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;
|
|
1328
1328
|
t.languages.gherkin = {
|
|
@@ -1407,10 +1407,10 @@ function vn(e) {
|
|
|
1407
1407
|
})(e);
|
|
1408
1408
|
}
|
|
1409
1409
|
const Qo = /* @__PURE__ */ ne(Jo);
|
|
1410
|
-
var ei =
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
function
|
|
1410
|
+
var ei = yn;
|
|
1411
|
+
yn.displayName = "go";
|
|
1412
|
+
yn.aliases = [];
|
|
1413
|
+
function yn(e) {
|
|
1414
1414
|
e.languages.go = e.languages.extend("clike", {
|
|
1415
1415
|
string: {
|
|
1416
1416
|
pattern: /(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,
|
|
@@ -1437,10 +1437,10 @@ function bn(e) {
|
|
|
1437
1437
|
}), delete e.languages.go["class-name"];
|
|
1438
1438
|
}
|
|
1439
1439
|
const ti = /* @__PURE__ */ ne(ei);
|
|
1440
|
-
var ni =
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
function
|
|
1440
|
+
var ni = _n;
|
|
1441
|
+
_n.displayName = "graphql";
|
|
1442
|
+
_n.aliases = [];
|
|
1443
|
+
function _n(e) {
|
|
1444
1444
|
e.languages.graphql = {
|
|
1445
1445
|
comment: /#.*/,
|
|
1446
1446
|
description: {
|
|
@@ -1564,10 +1564,10 @@ function yn(e) {
|
|
|
1564
1564
|
});
|
|
1565
1565
|
}
|
|
1566
1566
|
const ri = /* @__PURE__ */ ne(ni);
|
|
1567
|
-
var ai =
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
function
|
|
1567
|
+
var ai = wn;
|
|
1568
|
+
wn.displayName = "hcl";
|
|
1569
|
+
wn.aliases = [];
|
|
1570
|
+
function wn(e) {
|
|
1571
1571
|
e.languages.hcl = {
|
|
1572
1572
|
comment: /(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,
|
|
1573
1573
|
heredoc: {
|
|
@@ -1630,10 +1630,10 @@ function _n(e) {
|
|
|
1630
1630
|
};
|
|
1631
1631
|
}
|
|
1632
1632
|
const oi = /* @__PURE__ */ ne(ai);
|
|
1633
|
-
var ii =
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
function
|
|
1633
|
+
var ii = En;
|
|
1634
|
+
En.displayName = "ini";
|
|
1635
|
+
En.aliases = [];
|
|
1636
|
+
function En(e) {
|
|
1637
1637
|
e.languages.ini = {
|
|
1638
1638
|
/**
|
|
1639
1639
|
* The component mimics the behavior of the Win32 API parser.
|
|
@@ -1676,10 +1676,10 @@ function wn(e) {
|
|
|
1676
1676
|
};
|
|
1677
1677
|
}
|
|
1678
1678
|
const si = /* @__PURE__ */ ne(ii);
|
|
1679
|
-
var li =
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
function
|
|
1679
|
+
var li = xn;
|
|
1680
|
+
xn.displayName = "java";
|
|
1681
|
+
xn.aliases = [];
|
|
1682
|
+
function xn(e) {
|
|
1683
1683
|
(function(t) {
|
|
1684
1684
|
var n = /\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/, a = /(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source, o = {
|
|
1685
1685
|
pattern: RegExp(a + /[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),
|
|
@@ -1769,10 +1769,10 @@ function En(e) {
|
|
|
1769
1769
|
})(e);
|
|
1770
1770
|
}
|
|
1771
1771
|
const ci = /* @__PURE__ */ ne(li);
|
|
1772
|
-
var ui =
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
function
|
|
1772
|
+
var ui = Sn;
|
|
1773
|
+
Sn.displayName = "json";
|
|
1774
|
+
Sn.aliases = ["webmanifest"];
|
|
1775
|
+
function Sn(e) {
|
|
1776
1776
|
e.languages.json = {
|
|
1777
1777
|
property: {
|
|
1778
1778
|
pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,
|
|
@@ -1799,10 +1799,10 @@ function xn(e) {
|
|
|
1799
1799
|
}, e.languages.webmanifest = e.languages.json;
|
|
1800
1800
|
}
|
|
1801
1801
|
const di = /* @__PURE__ */ ne(ui);
|
|
1802
|
-
var kr =
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
function
|
|
1802
|
+
var kr = In;
|
|
1803
|
+
In.displayName = "jsx";
|
|
1804
|
+
In.aliases = [];
|
|
1805
|
+
function In(e) {
|
|
1806
1806
|
(function(t) {
|
|
1807
1807
|
var n = t.util.clone(t.languages.javascript), a = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, o = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source, r = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
|
|
1808
1808
|
function s(m, g) {
|
|
@@ -1871,10 +1871,10 @@ function Sn(e) {
|
|
|
1871
1871
|
})(e);
|
|
1872
1872
|
}
|
|
1873
1873
|
const pi = /* @__PURE__ */ ne(kr);
|
|
1874
|
-
var fi =
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
function
|
|
1874
|
+
var fi = kn;
|
|
1875
|
+
kn.displayName = "lua";
|
|
1876
|
+
kn.aliases = [];
|
|
1877
|
+
function kn(e) {
|
|
1878
1878
|
e.languages.lua = {
|
|
1879
1879
|
comment: /^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,
|
|
1880
1880
|
// \z may be used to skip the following space
|
|
@@ -1897,10 +1897,10 @@ function In(e) {
|
|
|
1897
1897
|
};
|
|
1898
1898
|
}
|
|
1899
1899
|
const gi = /* @__PURE__ */ ne(fi);
|
|
1900
|
-
var mi =
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
function
|
|
1900
|
+
var mi = Nn;
|
|
1901
|
+
Nn.displayName = "markdown";
|
|
1902
|
+
Nn.aliases = ["md"];
|
|
1903
|
+
function Nn(e) {
|
|
1904
1904
|
(function(t) {
|
|
1905
1905
|
var n = /(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;
|
|
1906
1906
|
function a(h) {
|
|
@@ -2225,10 +2225,10 @@ function kn(e) {
|
|
|
2225
2225
|
})(e);
|
|
2226
2226
|
}
|
|
2227
2227
|
const hi = /* @__PURE__ */ ne(mi);
|
|
2228
|
-
var vi =
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
function
|
|
2228
|
+
var vi = Cn;
|
|
2229
|
+
Cn.displayName = "mermaid";
|
|
2230
|
+
Cn.aliases = [];
|
|
2231
|
+
function Cn(e) {
|
|
2232
2232
|
e.languages.mermaid = {
|
|
2233
2233
|
comment: {
|
|
2234
2234
|
pattern: /%%.*/,
|
|
@@ -2335,10 +2335,10 @@ function Nn(e) {
|
|
|
2335
2335
|
};
|
|
2336
2336
|
}
|
|
2337
2337
|
const bi = /* @__PURE__ */ ne(vi);
|
|
2338
|
-
var yi = Ir, _i =
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
function
|
|
2338
|
+
var yi = Ir, _i = On;
|
|
2339
|
+
On.displayName = "objectivec";
|
|
2340
|
+
On.aliases = ["objc"];
|
|
2341
|
+
function On(e) {
|
|
2342
2342
|
e.register(yi), e.languages.objectivec = e.languages.extend("c", {
|
|
2343
2343
|
string: {
|
|
2344
2344
|
pattern: /@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
|
|
@@ -2349,10 +2349,10 @@ function Cn(e) {
|
|
|
2349
2349
|
}), delete e.languages.objectivec["class-name"], e.languages.objc = e.languages.objectivec;
|
|
2350
2350
|
}
|
|
2351
2351
|
const wi = /* @__PURE__ */ ne(_i);
|
|
2352
|
-
var Nr =
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
function
|
|
2352
|
+
var Nr = An;
|
|
2353
|
+
An.displayName = "markupTemplating";
|
|
2354
|
+
An.aliases = [];
|
|
2355
|
+
function An(e) {
|
|
2356
2356
|
(function(t) {
|
|
2357
2357
|
function n(a, o) {
|
|
2358
2358
|
return "___" + a.toUpperCase() + o + "___";
|
|
@@ -2421,10 +2421,10 @@ function On(e) {
|
|
|
2421
2421
|
});
|
|
2422
2422
|
})(e);
|
|
2423
2423
|
}
|
|
2424
|
-
var Ei = Nr, xi =
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
function
|
|
2424
|
+
var Ei = Nr, xi = Tn;
|
|
2425
|
+
Tn.displayName = "php";
|
|
2426
|
+
Tn.aliases = [];
|
|
2427
|
+
function Tn(e) {
|
|
2428
2428
|
e.register(Ei), function(t) {
|
|
2429
2429
|
var n = /\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/, a = [
|
|
2430
2430
|
{
|
|
@@ -2747,10 +2747,10 @@ function An(e) {
|
|
|
2747
2747
|
}(e);
|
|
2748
2748
|
}
|
|
2749
2749
|
const Si = /* @__PURE__ */ ne(xi);
|
|
2750
|
-
var Ii =
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
function
|
|
2750
|
+
var Ii = Rn;
|
|
2751
|
+
Rn.displayName = "powershell";
|
|
2752
|
+
Rn.aliases = [];
|
|
2753
|
+
function Rn(e) {
|
|
2754
2754
|
(function(t) {
|
|
2755
2755
|
var n = t.languages.powershell = {
|
|
2756
2756
|
comment: [
|
|
@@ -2808,10 +2808,10 @@ function Tn(e) {
|
|
|
2808
2808
|
})(e);
|
|
2809
2809
|
}
|
|
2810
2810
|
const ki = /* @__PURE__ */ ne(Ii);
|
|
2811
|
-
var Ni =
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
function
|
|
2811
|
+
var Ni = Dn;
|
|
2812
|
+
Dn.displayName = "protobuf";
|
|
2813
|
+
Dn.aliases = [];
|
|
2814
|
+
function Dn(e) {
|
|
2815
2815
|
(function(t) {
|
|
2816
2816
|
var n = /\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;
|
|
2817
2817
|
t.languages.protobuf = t.languages.extend("clike", {
|
|
@@ -2852,10 +2852,10 @@ function Rn(e) {
|
|
|
2852
2852
|
})(e);
|
|
2853
2853
|
}
|
|
2854
2854
|
const Ci = /* @__PURE__ */ ne(Ni);
|
|
2855
|
-
var Oi =
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
function
|
|
2855
|
+
var Oi = $n;
|
|
2856
|
+
$n.displayName = "python";
|
|
2857
|
+
$n.aliases = ["py"];
|
|
2858
|
+
function $n(e) {
|
|
2859
2859
|
e.languages.python = {
|
|
2860
2860
|
comment: {
|
|
2861
2861
|
pattern: /(^|[^\\])#.*/,
|
|
@@ -2919,10 +2919,10 @@ function Dn(e) {
|
|
|
2919
2919
|
}, e.languages.python["string-interpolation"].inside.interpolation.inside.rest = e.languages.python, e.languages.py = e.languages.python;
|
|
2920
2920
|
}
|
|
2921
2921
|
const Ai = /* @__PURE__ */ ne(Oi);
|
|
2922
|
-
var Ti =
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
function
|
|
2922
|
+
var Ti = Mn;
|
|
2923
|
+
Mn.displayName = "ruby";
|
|
2924
|
+
Mn.aliases = ["rb"];
|
|
2925
|
+
function Mn(e) {
|
|
2926
2926
|
(function(t) {
|
|
2927
2927
|
t.languages.ruby = t.languages.extend("clike", {
|
|
2928
2928
|
comment: {
|
|
@@ -3096,10 +3096,10 @@ function $n(e) {
|
|
|
3096
3096
|
})(e);
|
|
3097
3097
|
}
|
|
3098
3098
|
const Ri = /* @__PURE__ */ ne(Ti);
|
|
3099
|
-
var Di =
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
function
|
|
3099
|
+
var Di = Ln;
|
|
3100
|
+
Ln.displayName = "scss";
|
|
3101
|
+
Ln.aliases = [];
|
|
3102
|
+
function Ln(e) {
|
|
3103
3103
|
e.languages.scss = e.languages.extend("css", {
|
|
3104
3104
|
comment: {
|
|
3105
3105
|
pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,
|
|
@@ -3175,10 +3175,10 @@ function Mn(e) {
|
|
|
3175
3175
|
}), e.languages.scss.atrule.inside.rest = e.languages.scss;
|
|
3176
3176
|
}
|
|
3177
3177
|
const $i = /* @__PURE__ */ ne(Di);
|
|
3178
|
-
var Mi =
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
function
|
|
3178
|
+
var Mi = Pn;
|
|
3179
|
+
Pn.displayName = "sql";
|
|
3180
|
+
Pn.aliases = [];
|
|
3181
|
+
function Pn(e) {
|
|
3182
3182
|
e.languages.sql = {
|
|
3183
3183
|
comment: {
|
|
3184
3184
|
pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,
|
|
@@ -3214,10 +3214,10 @@ function Ln(e) {
|
|
|
3214
3214
|
};
|
|
3215
3215
|
}
|
|
3216
3216
|
const Li = /* @__PURE__ */ ne(Mi);
|
|
3217
|
-
var Pi =
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
function
|
|
3217
|
+
var Pi = Fn;
|
|
3218
|
+
Fn.displayName = "swift";
|
|
3219
|
+
Fn.aliases = [];
|
|
3220
|
+
function Fn(e) {
|
|
3221
3221
|
e.languages.swift = {
|
|
3222
3222
|
comment: {
|
|
3223
3223
|
// Nested comments are supported up to 2 levels
|
|
@@ -3339,10 +3339,10 @@ function Pn(e) {
|
|
|
3339
3339
|
});
|
|
3340
3340
|
}
|
|
3341
3341
|
const Fi = /* @__PURE__ */ ne(Pi);
|
|
3342
|
-
var zi =
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
function
|
|
3342
|
+
var zi = zn;
|
|
3343
|
+
zn.displayName = "toml";
|
|
3344
|
+
zn.aliases = [];
|
|
3345
|
+
function zn(e) {
|
|
3346
3346
|
(function(t) {
|
|
3347
3347
|
var n = /(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;
|
|
3348
3348
|
function a(o) {
|
|
@@ -3398,10 +3398,10 @@ function Fn(e) {
|
|
|
3398
3398
|
})(e);
|
|
3399
3399
|
}
|
|
3400
3400
|
const ji = /* @__PURE__ */ ne(zi);
|
|
3401
|
-
var Cr =
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
function
|
|
3401
|
+
var Cr = jn;
|
|
3402
|
+
jn.displayName = "typescript";
|
|
3403
|
+
jn.aliases = ["ts"];
|
|
3404
|
+
function jn(e) {
|
|
3405
3405
|
(function(t) {
|
|
3406
3406
|
t.languages.typescript = t.languages.extend("javascript", {
|
|
3407
3407
|
"class-name": {
|
|
@@ -3449,10 +3449,10 @@ function zn(e) {
|
|
|
3449
3449
|
})(e);
|
|
3450
3450
|
}
|
|
3451
3451
|
const Bi = /* @__PURE__ */ ne(Cr);
|
|
3452
|
-
var Vi = kr, Hi = Cr, Ui =
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
function
|
|
3452
|
+
var Vi = kr, Hi = Cr, Ui = Bn;
|
|
3453
|
+
Bn.displayName = "tsx";
|
|
3454
|
+
Bn.aliases = [];
|
|
3455
|
+
function Bn(e) {
|
|
3456
3456
|
e.register(Vi), e.register(Hi), function(t) {
|
|
3457
3457
|
var n = t.util.clone(t.languages.typescript);
|
|
3458
3458
|
t.languages.tsx = t.languages.extend("jsx", n), delete t.languages.tsx.parameter, delete t.languages.tsx["literal-property"];
|
|
@@ -3464,10 +3464,10 @@ function jn(e) {
|
|
|
3464
3464
|
}(e);
|
|
3465
3465
|
}
|
|
3466
3466
|
const qi = /* @__PURE__ */ ne(Ui);
|
|
3467
|
-
var Ki = Nr, Wi =
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
function
|
|
3467
|
+
var Ki = Nr, Wi = Vn;
|
|
3468
|
+
Vn.displayName = "twig";
|
|
3469
|
+
Vn.aliases = [];
|
|
3470
|
+
function Vn(e) {
|
|
3471
3471
|
e.register(Ki), e.languages.twig = {
|
|
3472
3472
|
comment: /^\{#[\s\S]*?#\}$/,
|
|
3473
3473
|
"tag-name": {
|
|
@@ -3506,10 +3506,10 @@ function Bn(e) {
|
|
|
3506
3506
|
});
|
|
3507
3507
|
}
|
|
3508
3508
|
const Gi = /* @__PURE__ */ ne(Wi);
|
|
3509
|
-
var Yi =
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
function
|
|
3509
|
+
var Yi = Hn;
|
|
3510
|
+
Hn.displayName = "uri";
|
|
3511
|
+
Hn.aliases = ["url"];
|
|
3512
|
+
function Hn(e) {
|
|
3513
3513
|
e.languages.uri = {
|
|
3514
3514
|
scheme: {
|
|
3515
3515
|
pattern: /^[a-z][a-z0-9+.-]*:/im,
|
|
@@ -3595,10 +3595,10 @@ function Vn(e) {
|
|
|
3595
3595
|
}, e.languages.url = e.languages.uri;
|
|
3596
3596
|
}
|
|
3597
3597
|
const Zi = /* @__PURE__ */ ne(Yi);
|
|
3598
|
-
var Xi =
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
function
|
|
3598
|
+
var Xi = Un;
|
|
3599
|
+
Un.displayName = "yaml";
|
|
3600
|
+
Un.aliases = ["yml"];
|
|
3601
|
+
function Un(e) {
|
|
3602
3602
|
(function(t) {
|
|
3603
3603
|
var n = /[*&][^\s[\]{},]+/, a = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, o = "(?:" + a.source + "(?:[ ]+" + n.source + ")?|" + n.source + "(?:[ ]+" + a.source + ")?)", r = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(
|
|
3604
3604
|
/<PLAIN>/g,
|
|
@@ -3701,7 +3701,7 @@ function Qi(e, t) {
|
|
|
3701
3701
|
}
|
|
3702
3702
|
return n;
|
|
3703
3703
|
}
|
|
3704
|
-
function
|
|
3704
|
+
function tn(e, t) {
|
|
3705
3705
|
(t == null || t > e.length) && (t = e.length);
|
|
3706
3706
|
for (var n = 0, a = new Array(t); n < t; n++)
|
|
3707
3707
|
a[n] = e[n];
|
|
@@ -3709,7 +3709,7 @@ function en(e, t) {
|
|
|
3709
3709
|
}
|
|
3710
3710
|
function es(e) {
|
|
3711
3711
|
if (Array.isArray(e))
|
|
3712
|
-
return
|
|
3712
|
+
return tn(e);
|
|
3713
3713
|
}
|
|
3714
3714
|
function ts(e) {
|
|
3715
3715
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null)
|
|
@@ -3718,12 +3718,12 @@ function ts(e) {
|
|
|
3718
3718
|
function ns(e, t) {
|
|
3719
3719
|
if (e) {
|
|
3720
3720
|
if (typeof e == "string")
|
|
3721
|
-
return
|
|
3721
|
+
return tn(e, t);
|
|
3722
3722
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
3723
3723
|
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set")
|
|
3724
3724
|
return Array.from(e);
|
|
3725
3725
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
3726
|
-
return
|
|
3726
|
+
return tn(e, t);
|
|
3727
3727
|
}
|
|
3728
3728
|
}
|
|
3729
3729
|
function rs() {
|
|
@@ -3807,12 +3807,12 @@ function ss(e) {
|
|
|
3807
3807
|
if (t >= 4)
|
|
3808
3808
|
return [e[0], e[1], e[2], e[3], "".concat(e[0], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2]), "".concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[0]), "".concat(e[1], ".").concat(e[2]), "".concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[1]), "".concat(e[2], ".").concat(e[3]), "".concat(e[3], ".").concat(e[0]), "".concat(e[3], ".").concat(e[1]), "".concat(e[3], ".").concat(e[2]), "".concat(e[0], ".").concat(e[1], ".").concat(e[2]), "".concat(e[0], ".").concat(e[1], ".").concat(e[3]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2], ".").concat(e[3]), "".concat(e[0], ".").concat(e[3], ".").concat(e[1]), "".concat(e[0], ".").concat(e[3], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[2], ".").concat(e[0]), "".concat(e[1], ".").concat(e[2], ".").concat(e[3]), "".concat(e[1], ".").concat(e[3], ".").concat(e[0]), "".concat(e[1], ".").concat(e[3], ".").concat(e[2]), "".concat(e[2], ".").concat(e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(e[0], ".").concat(e[3]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0]), "".concat(e[2], ".").concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[3], ".").concat(e[0]), "".concat(e[2], ".").concat(e[3], ".").concat(e[1]), "".concat(e[3], ".").concat(e[0], ".").concat(e[1]), "".concat(e[3], ".").concat(e[0], ".").concat(e[2]), "".concat(e[3], ".").concat(e[1], ".").concat(e[0]), "".concat(e[3], ".").concat(e[1], ".").concat(e[2]), "".concat(e[3], ".").concat(e[2], ".").concat(e[0]), "".concat(e[3], ".").concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[1], ".").concat(e[2], ".").concat(e[3]), "".concat(e[0], ".").concat(e[1], ".").concat(e[3], ".").concat(e[2]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1], ".").concat(e[3]), "".concat(e[0], ".").concat(e[2], ".").concat(e[3], ".").concat(e[1]), "".concat(e[0], ".").concat(e[3], ".").concat(e[1], ".").concat(e[2]), "".concat(e[0], ".").concat(e[3], ".").concat(e[2], ".").concat(e[1]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2], ".").concat(e[3]), "".concat(e[1], ".").concat(e[0], ".").concat(e[3], ".").concat(e[2]), "".concat(e[1], ".").concat(e[2], ".").concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[2], ".").concat(e[3], ".").concat(e[0]), "".concat(e[1], ".").concat(e[3], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(e[3], ".").concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[0], ".").concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[0], ".").concat(e[3], ".").concat(e[1]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0], ".").concat(e[3]), "".concat(e[2], ".").concat(e[1], ".").concat(e[3], ".").concat(e[0]), "".concat(e[2], ".").concat(e[3], ".").concat(e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(e[3], ".").concat(e[1], ".").concat(e[0]), "".concat(e[3], ".").concat(e[0], ".").concat(e[1], ".").concat(e[2]), "".concat(e[3], ".").concat(e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[3], ".").concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[3], ".").concat(e[1], ".").concat(e[2], ".").concat(e[0]), "".concat(e[3], ".").concat(e[2], ".").concat(e[0], ".").concat(e[1]), "".concat(e[3], ".").concat(e[2], ".").concat(e[1], ".").concat(e[0])];
|
|
3809
3809
|
}
|
|
3810
|
-
var
|
|
3810
|
+
var Ht = {};
|
|
3811
3811
|
function ls(e) {
|
|
3812
3812
|
if (e.length === 0 || e.length === 1)
|
|
3813
3813
|
return e;
|
|
3814
3814
|
var t = e.join(".");
|
|
3815
|
-
return
|
|
3815
|
+
return Ht[t] || (Ht[t] = ss(e)), Ht[t];
|
|
3816
3816
|
}
|
|
3817
3817
|
function cs(e) {
|
|
3818
3818
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0, a = e.filter(function(r) {
|
|
@@ -4022,24 +4022,24 @@ function bs(e, t, n, a, o, r, s, i, f) {
|
|
|
4022
4022
|
`)
|
|
4023
4023
|
};
|
|
4024
4024
|
if (z === 0) {
|
|
4025
|
-
var
|
|
4025
|
+
var W = g.slice(y + 1, x).concat(At({
|
|
4026
4026
|
children: [Y],
|
|
4027
4027
|
className: v.properties.className
|
|
4028
|
-
})), oe = b(
|
|
4028
|
+
})), oe = b(W, V);
|
|
4029
4029
|
h.push(oe);
|
|
4030
4030
|
} else if (z === S.length - 1) {
|
|
4031
|
-
var J = g[x + 1] && g[x + 1].children && g[x + 1].children[0],
|
|
4031
|
+
var J = g[x + 1] && g[x + 1].children && g[x + 1].children[0], G = {
|
|
4032
4032
|
type: "text",
|
|
4033
4033
|
value: "".concat(L)
|
|
4034
4034
|
};
|
|
4035
4035
|
if (J) {
|
|
4036
4036
|
var Z = At({
|
|
4037
|
-
children: [
|
|
4037
|
+
children: [G],
|
|
4038
4038
|
className: v.properties.className
|
|
4039
4039
|
});
|
|
4040
4040
|
g.splice(x + 1, 0, Z);
|
|
4041
4041
|
} else {
|
|
4042
|
-
var te = [
|
|
4042
|
+
var te = [G], w = b(te, V, v.properties.className);
|
|
4043
4043
|
h.push(w);
|
|
4044
4044
|
}
|
|
4045
4045
|
} else {
|
|
@@ -4100,7 +4100,7 @@ function ws(e, t) {
|
|
|
4100
4100
|
var o = a.language, r = a.children, s = a.style, i = s === void 0 ? t : s, f = a.customStyle, m = f === void 0 ? {} : f, g = a.codeTagProps, h = g === void 0 ? {
|
|
4101
4101
|
className: o ? "language-".concat(o) : void 0,
|
|
4102
4102
|
style: De(De({}, i['code[class*="language-"]']), i['code[class*="language-'.concat(o, '"]')])
|
|
4103
|
-
} : g, y = a.useInlineStyles, x = y === void 0 ? !0 : y, k = a.showLineNumbers, I = k === void 0 ? !1 : k, b = a.showInlineLineNumbers, R = b === void 0 ? !0 : b, u = a.startingLineNumber, c = u === void 0 ? 1 : u, p = a.lineNumberContainerStyle, d = a.lineNumberStyle, v = d === void 0 ? {} : d, _ = a.wrapLines, E = a.wrapLongLines, S = E === void 0 ? !1 : E, L = a.lineProps, z = L === void 0 ? {} : L, V = a.renderer, Y = a.PreTag,
|
|
4103
|
+
} : g, y = a.useInlineStyles, x = y === void 0 ? !0 : y, k = a.showLineNumbers, I = k === void 0 ? !1 : k, b = a.showInlineLineNumbers, R = b === void 0 ? !0 : b, u = a.startingLineNumber, c = u === void 0 ? 1 : u, p = a.lineNumberContainerStyle, d = a.lineNumberStyle, v = d === void 0 ? {} : d, _ = a.wrapLines, E = a.wrapLongLines, S = E === void 0 ? !1 : E, L = a.lineProps, z = L === void 0 ? {} : L, V = a.renderer, Y = a.PreTag, W = Y === void 0 ? "pre" : Y, oe = a.CodeTag, J = oe === void 0 ? "code" : oe, G = a.code, Z = G === void 0 ? (Array.isArray(r) ? r[0] : r) || "" : G, te = a.astGenerator, w = Qi(a, ps);
|
|
4104
4104
|
te = te || e;
|
|
4105
4105
|
var N = I ? /* @__PURE__ */ me.createElement(hs, {
|
|
4106
4106
|
containerStyle: p,
|
|
@@ -4121,7 +4121,7 @@ function ws(e, t) {
|
|
|
4121
4121
|
}) : h.style = De(De({}, h.style), {}, {
|
|
4122
4122
|
whiteSpace: "pre"
|
|
4123
4123
|
}), !te)
|
|
4124
|
-
return /* @__PURE__ */ me.createElement(
|
|
4124
|
+
return /* @__PURE__ */ me.createElement(W, C, N, /* @__PURE__ */ me.createElement(J, h, Z));
|
|
4125
4125
|
(_ === void 0 && V || S) && (_ = !0), V = V || ys;
|
|
4126
4126
|
var T = [{
|
|
4127
4127
|
type: "text",
|
|
@@ -4134,7 +4134,7 @@ function ws(e, t) {
|
|
|
4134
4134
|
});
|
|
4135
4135
|
O.language === null && (O.value = T);
|
|
4136
4136
|
var M = O.value.length + c, H = bs(O, _, z, I, R, c, M, v, S);
|
|
4137
|
-
return /* @__PURE__ */ me.createElement(
|
|
4137
|
+
return /* @__PURE__ */ me.createElement(W, C, /* @__PURE__ */ me.createElement(J, h, !R && N, V({
|
|
4138
4138
|
rows: H,
|
|
4139
4139
|
stylesheet: i,
|
|
4140
4140
|
useInlineStyles: x
|
|
@@ -4150,10 +4150,10 @@ function Ss() {
|
|
|
4150
4150
|
}
|
|
4151
4151
|
return e;
|
|
4152
4152
|
}
|
|
4153
|
-
var Mr = Lr,
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4153
|
+
var Mr = Lr, qn = Lr.prototype;
|
|
4154
|
+
qn.space = null;
|
|
4155
|
+
qn.normal = {};
|
|
4156
|
+
qn.property = {};
|
|
4157
4157
|
function Lr(e, t, n) {
|
|
4158
4158
|
this.property = e, this.normal = t, n && (this.space = n);
|
|
4159
4159
|
}
|
|
@@ -4167,7 +4167,7 @@ function Ns(e) {
|
|
|
4167
4167
|
s
|
|
4168
4168
|
);
|
|
4169
4169
|
}
|
|
4170
|
-
var
|
|
4170
|
+
var Kn = Cs;
|
|
4171
4171
|
function Cs(e) {
|
|
4172
4172
|
return e.toLowerCase();
|
|
4173
4173
|
}
|
|
@@ -4198,9 +4198,9 @@ Le.commaOrSpaceSeparated = Ze();
|
|
|
4198
4198
|
function Ze() {
|
|
4199
4199
|
return Math.pow(2, ++Os);
|
|
4200
4200
|
}
|
|
4201
|
-
var zr = Pr, $0 = Le, jr =
|
|
4202
|
-
|
|
4203
|
-
|
|
4201
|
+
var zr = Pr, $0 = Le, jr = Wn;
|
|
4202
|
+
Wn.prototype = new zr();
|
|
4203
|
+
Wn.prototype.defined = !0;
|
|
4204
4204
|
var Br = [
|
|
4205
4205
|
"boolean",
|
|
4206
4206
|
"booleanish",
|
|
@@ -4210,7 +4210,7 @@ var Br = [
|
|
|
4210
4210
|
"spaceSeparated",
|
|
4211
4211
|
"commaOrSpaceSeparated"
|
|
4212
4212
|
], As = Br.length;
|
|
4213
|
-
function
|
|
4213
|
+
function Wn(e, t, n, a) {
|
|
4214
4214
|
var o = -1, r;
|
|
4215
4215
|
for (M0(this, "space", a), zr.call(this, e, t); ++o < As; )
|
|
4216
4216
|
r = Br[o], M0(this, r, (n & $0[r]) === $0[r]);
|
|
@@ -4218,7 +4218,7 @@ function Kn(e, t, n, a) {
|
|
|
4218
4218
|
function M0(e, t, n) {
|
|
4219
4219
|
n && (e[t] = n);
|
|
4220
4220
|
}
|
|
4221
|
-
var L0 =
|
|
4221
|
+
var L0 = Kn, Ts = Mr, Rs = jr, bt = Ds;
|
|
4222
4222
|
function Ds(e) {
|
|
4223
4223
|
var t = e.space, n = e.mustUseProperty || [], a = e.attributes || {}, o = e.properties, r = e.transform, s = {}, i = {}, f, m;
|
|
4224
4224
|
for (f in o)
|
|
@@ -4276,7 +4276,7 @@ var Us = bt, qs = Vr, Ks = Us({
|
|
|
4276
4276
|
xmlns: null,
|
|
4277
4277
|
xmlnsXLink: null
|
|
4278
4278
|
}
|
|
4279
|
-
}),
|
|
4279
|
+
}), Gn = Le, Ws = bt, Se = Gn.booleanish, Ne = Gn.number, Ge = Gn.spaceSeparated, Gs = Ws({
|
|
4280
4280
|
transform: Ys,
|
|
4281
4281
|
properties: {
|
|
4282
4282
|
ariaActiveDescendant: null,
|
|
@@ -4679,18 +4679,18 @@ var it = Le, Zs = bt, Xs = Vr, ee = it.boolean, Js = it.overloadedBoolean, ct =
|
|
|
4679
4679
|
security: null,
|
|
4680
4680
|
unselectable: null
|
|
4681
4681
|
}
|
|
4682
|
-
}), el = ks, tl = Ms, nl = Fs, rl = Ks, al = Gs, ol = Qs, il = el([nl, tl, rl, al, ol]), sl =
|
|
4682
|
+
}), el = ks, tl = Ms, nl = Fs, rl = Ks, al = Gs, ol = Qs, il = el([nl, tl, rl, al, ol]), sl = Kn, ll = jr, cl = Pr, Yn = "data", ul = fl, dl = /^data[-\w.:]+$/i, Hr = /-[a-z]/g, pl = /[A-Z]/g;
|
|
4683
4683
|
function fl(e, t) {
|
|
4684
4684
|
var n = sl(t), a = t, o = cl;
|
|
4685
|
-
return n in e.normal ? e.property[e.normal[n]] : (n.length > 4 && n.slice(0, 4) ===
|
|
4685
|
+
return n in e.normal ? e.property[e.normal[n]] : (n.length > 4 && n.slice(0, 4) === Yn && dl.test(t) && (t.charAt(4) === "-" ? a = gl(t) : t = ml(t), o = ll), new o(a, t));
|
|
4686
4686
|
}
|
|
4687
4687
|
function gl(e) {
|
|
4688
4688
|
var t = e.slice(5).replace(Hr, vl);
|
|
4689
|
-
return
|
|
4689
|
+
return Yn + t.charAt(0).toUpperCase() + t.slice(1);
|
|
4690
4690
|
}
|
|
4691
4691
|
function ml(e) {
|
|
4692
4692
|
var t = e.slice(4);
|
|
4693
|
-
return Hr.test(t) ? e : (t = t.replace(pl, hl), t.charAt(0) !== "-" && (t = "-" + t),
|
|
4693
|
+
return Hr.test(t) ? e : (t = t.replace(pl, hl), t.charAt(0) !== "-" && (t = "-" + t), Yn + t);
|
|
4694
4694
|
}
|
|
4695
4695
|
function hl(e) {
|
|
4696
4696
|
return "-" + e.toLowerCase();
|
|
@@ -4704,9 +4704,9 @@ function yl(e, t) {
|
|
|
4704
4704
|
P0.lastIndex = r, f = P0.exec(n), s = n.slice(r, f ? f.index : n.length), s && (i ? i === "#" ? o.id = s : o.className ? o.className.push(s) : o.className = [s] : a = s, r += s.length), f && (i = f[0], r++);
|
|
4705
4705
|
return { type: "element", tagName: a, properties: o, children: [] };
|
|
4706
4706
|
}
|
|
4707
|
-
var
|
|
4708
|
-
|
|
4709
|
-
|
|
4707
|
+
var Zn = {};
|
|
4708
|
+
Zn.parse = El;
|
|
4709
|
+
Zn.stringify = xl;
|
|
4710
4710
|
var F0 = "", _l = " ", wl = /[ \t\n\r\f]+/g;
|
|
4711
4711
|
function El(e) {
|
|
4712
4712
|
var t = String(e || F0).trim();
|
|
@@ -4715,20 +4715,20 @@ function El(e) {
|
|
|
4715
4715
|
function xl(e) {
|
|
4716
4716
|
return e.join(_l).trim();
|
|
4717
4717
|
}
|
|
4718
|
-
var
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
var
|
|
4718
|
+
var Xn = {};
|
|
4719
|
+
Xn.parse = Sl;
|
|
4720
|
+
Xn.stringify = Il;
|
|
4721
|
+
var nn = ",", z0 = " ", dt = "";
|
|
4722
4722
|
function Sl(e) {
|
|
4723
|
-
for (var t = [], n = String(e || dt), a = n.indexOf(
|
|
4724
|
-
a === -1 && (a = n.length, r = !0), s = n.slice(o, a).trim(), (s || !r) && t.push(s), o = a + 1, a = n.indexOf(
|
|
4723
|
+
for (var t = [], n = String(e || dt), a = n.indexOf(nn), o = 0, r = !1, s; !r; )
|
|
4724
|
+
a === -1 && (a = n.length, r = !0), s = n.slice(o, a).trim(), (s || !r) && t.push(s), o = a + 1, a = n.indexOf(nn, o);
|
|
4725
4725
|
return t;
|
|
4726
4726
|
}
|
|
4727
4727
|
function Il(e, t) {
|
|
4728
4728
|
var n = t || {}, a = n.padLeft === !1 ? dt : z0, o = n.padRight ? z0 : dt;
|
|
4729
|
-
return e[e.length - 1] === dt && (e = e.concat(dt)), e.join(o +
|
|
4729
|
+
return e[e.length - 1] === dt && (e = e.concat(dt)), e.join(o + nn + a).trim();
|
|
4730
4730
|
}
|
|
4731
|
-
var kl = ul, j0 =
|
|
4731
|
+
var kl = ul, j0 = Kn, Nl = bl, B0 = Zn.parse, V0 = Xn.parse, Cl = Al, Ol = {}.hasOwnProperty;
|
|
4732
4732
|
function Al(e, t, n) {
|
|
4733
4733
|
var a = n ? Ml(n) : null;
|
|
4734
4734
|
return o;
|
|
@@ -4964,20 +4964,20 @@ var U0 = Fu, q0 = zu, Ju = Kr, Qu = Bu, Wr = Wu, e1 = Zu, t1 = g1, n1 = {}.hasOw
|
|
|
4964
4964
|
additional: null,
|
|
4965
4965
|
attribute: !1,
|
|
4966
4966
|
nonTerminated: !0
|
|
4967
|
-
}, a1 = 9, W0 = 10, o1 = 12, i1 = 32, G0 = 38, s1 = 59, l1 = 60, c1 = 61, u1 = 35, d1 = 88, p1 = 120, f1 = 65533, Qe = "named",
|
|
4968
|
-
|
|
4969
|
-
Qn
|
|
4967
|
+
}, a1 = 9, W0 = 10, o1 = 12, i1 = 32, G0 = 38, s1 = 59, l1 = 60, c1 = 61, u1 = 35, d1 = 88, p1 = 120, f1 = 65533, Qe = "named", Jn = "hexadecimal", Qn = "decimal", e0 = {};
|
|
4968
|
+
e0[Jn] = 16;
|
|
4969
|
+
e0[Qn] = 10;
|
|
4970
4970
|
var Pt = {};
|
|
4971
4971
|
Pt[Qe] = Wr;
|
|
4972
|
-
Pt[
|
|
4973
|
-
Pt[
|
|
4974
|
-
var Gr = 1, Yr = 2, Zr = 3, Xr = 4, Jr = 5,
|
|
4972
|
+
Pt[Qn] = Ju;
|
|
4973
|
+
Pt[Jn] = Qu;
|
|
4974
|
+
var Gr = 1, Yr = 2, Zr = 3, Xr = 4, Jr = 5, rn = 6, Qr = 7, qe = {};
|
|
4975
4975
|
qe[Gr] = "Named character references must be terminated by a semicolon";
|
|
4976
4976
|
qe[Yr] = "Numeric character references must be terminated by a semicolon";
|
|
4977
4977
|
qe[Zr] = "Named character references cannot be empty";
|
|
4978
4978
|
qe[Xr] = "Numeric character references cannot be empty";
|
|
4979
4979
|
qe[Jr] = "Named character references must be known";
|
|
4980
|
-
qe[
|
|
4980
|
+
qe[rn] = "Numeric character references cannot be disallowed";
|
|
4981
4981
|
qe[Qr] = "Numeric character references cannot be outside the permissible Unicode range";
|
|
4982
4982
|
function g1(e, t) {
|
|
4983
4983
|
var n = {}, a, o;
|
|
@@ -4987,16 +4987,16 @@ function g1(e, t) {
|
|
|
4987
4987
|
return (n.position.indent || n.position.start) && (n.indent = n.position.indent || [], n.position = n.position.start), m1(e, n);
|
|
4988
4988
|
}
|
|
4989
4989
|
function m1(e, t) {
|
|
4990
|
-
var n = t.additional, a = t.nonTerminated, o = t.text, r = t.reference, s = t.warning, i = t.textContext, f = t.referenceContext, m = t.warningContext, g = t.position, h = t.indent || [], y = e.length, x = 0, k = -1, I = g.column || 1, b = g.line || 1, R = "", u = [], c, p, d, v, _, E, S, L, z, V, Y,
|
|
4990
|
+
var n = t.additional, a = t.nonTerminated, o = t.text, r = t.reference, s = t.warning, i = t.textContext, f = t.referenceContext, m = t.warningContext, g = t.position, h = t.indent || [], y = e.length, x = 0, k = -1, I = g.column || 1, b = g.line || 1, R = "", u = [], c, p, d, v, _, E, S, L, z, V, Y, W, oe, J, G, Z, te, w, N;
|
|
4991
4991
|
for (typeof n == "string" && (n = n.charCodeAt(0)), Z = F(), L = s ? U : r1, x--, y++; ++x < y; )
|
|
4992
4992
|
if (_ === W0 && (I = h[k] || 1), _ = e.charCodeAt(x), _ === G0) {
|
|
4993
4993
|
if (S = e.charCodeAt(x + 1), S === a1 || S === W0 || S === o1 || S === i1 || S === G0 || S === l1 || S !== S || n && S === n) {
|
|
4994
4994
|
R += Je(_), I++;
|
|
4995
4995
|
continue;
|
|
4996
4996
|
}
|
|
4997
|
-
for (oe = x + 1,
|
|
4997
|
+
for (oe = x + 1, W = oe, N = oe, S === u1 ? (N = ++W, S = e.charCodeAt(N), S === d1 || S === p1 ? (J = Jn, N = ++W) : J = Qn) : J = Qe, c = "", Y = "", v = "", G = Pt[J], N--; ++N < y && (S = e.charCodeAt(N), !!G(S)); )
|
|
4998
4998
|
v += Je(S), J === Qe && n1.call(U0, v) && (c = v, Y = U0[v]);
|
|
4999
|
-
d = e.charCodeAt(N) === s1, d && (N++, p = J === Qe ? e1(v) : !1, p && (c = v, Y = p)), w = 1 + N - oe, !d && !a || (v ? J === Qe ? (d && !Y ? L(Jr, 1) : (c !== v && (N =
|
|
4999
|
+
d = e.charCodeAt(N) === s1, d && (N++, p = J === Qe ? e1(v) : !1, p && (c = v, Y = p)), w = 1 + N - oe, !d && !a || (v ? J === Qe ? (d && !Y ? L(Jr, 1) : (c !== v && (N = W + c.length, w = 1 + N - W, d = !1), d || (z = c ? Gr : Zr, t.attribute ? (S = e.charCodeAt(N), S === c1 ? (L(z, w), Y = null) : Wr(S) ? Y = null : L(z, w)) : L(z, w))), E = Y) : (d || L(Yr, w), E = parseInt(v, e0[J]), h1(E) ? (L(Qr, w), E = Je(f1)) : E in q0 ? (L(rn, w), E = q0[E]) : (V = "", v1(E) && L(rn, w), E > 65535 && (E -= 65536, V += Je(E >>> 10 | 55296), E = 56320 | E & 1023), E = V + Je(E))) : J !== Qe && L(Xr, w)), E ? (C(), Z = F(), x = N - 1, I += N - oe + 1, u.push(E), te = F(), te.offset++, r && r.call(
|
|
5000
5000
|
f,
|
|
5001
5001
|
E,
|
|
5002
5002
|
{ start: Z, end: te },
|
|
@@ -5650,19 +5650,19 @@ var ea = { exports: {} };
|
|
|
5650
5650
|
for (var L = 0; L < S.length; ++L) {
|
|
5651
5651
|
if (_ && _.cause == E + "," + L)
|
|
5652
5652
|
return;
|
|
5653
|
-
var z = S[L], V = z.inside, Y = !!z.lookbehind,
|
|
5654
|
-
if (
|
|
5653
|
+
var z = S[L], V = z.inside, Y = !!z.lookbehind, W = !!z.greedy, oe = z.alias;
|
|
5654
|
+
if (W && !z.pattern.global) {
|
|
5655
5655
|
var J = z.pattern.toString().match(/[imsuy]*$/)[0];
|
|
5656
5656
|
z.pattern = RegExp(z.pattern.source, J + "g");
|
|
5657
5657
|
}
|
|
5658
|
-
for (var
|
|
5658
|
+
for (var G = z.pattern || z, Z = d.next, te = v; Z !== c.tail && !(_ && te >= _.reach); te += Z.value.length, Z = Z.next) {
|
|
5659
5659
|
var w = Z.value;
|
|
5660
5660
|
if (c.length > u.length)
|
|
5661
5661
|
return;
|
|
5662
5662
|
if (!(w instanceof f)) {
|
|
5663
5663
|
var N = 1, F;
|
|
5664
|
-
if (
|
|
5665
|
-
if (F = m(
|
|
5664
|
+
if (W) {
|
|
5665
|
+
if (F = m(G, te, u, Y), !F || F.index >= u.length)
|
|
5666
5666
|
break;
|
|
5667
5667
|
var O = F.index, U = F.index + F[0].length, C = te;
|
|
5668
5668
|
for (C += Z.value.length; O >= C; )
|
|
@@ -5672,7 +5672,7 @@ var ea = { exports: {} };
|
|
|
5672
5672
|
for (var T = Z; T !== c.tail && (C < U || typeof T.value == "string"); T = T.next)
|
|
5673
5673
|
N++, C += T.value.length;
|
|
5674
5674
|
N--, w = u.slice(te, C), F.index -= te;
|
|
5675
|
-
} else if (F = m(
|
|
5675
|
+
} else if (F = m(G, 0, w, Y), !F)
|
|
5676
5676
|
continue;
|
|
5677
5677
|
var O = F.index, M = F[0], H = w.slice(0, O), q = w.slice(O + M.length), B = te + w.length;
|
|
5678
5678
|
_ && B > _.reach && (_.reach = B);
|
|
@@ -5727,10 +5727,10 @@ var ea = { exports: {} };
|
|
|
5727
5727
|
}(t);
|
|
5728
5728
|
e.exports && (e.exports = n), typeof rt < "u" && (rt.Prism = n);
|
|
5729
5729
|
})(ea);
|
|
5730
|
-
var b1 = ea.exports, y1 =
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
function
|
|
5730
|
+
var b1 = ea.exports, y1 = t0;
|
|
5731
|
+
t0.displayName = "markup";
|
|
5732
|
+
t0.aliases = ["html", "mathml", "svg", "xml", "ssml", "atom", "rss"];
|
|
5733
|
+
function t0(e) {
|
|
5734
5734
|
e.languages.markup = {
|
|
5735
5735
|
comment: {
|
|
5736
5736
|
pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
|
|
@@ -5896,10 +5896,10 @@ function e0(e) {
|
|
|
5896
5896
|
}
|
|
5897
5897
|
}), e.languages.html = e.languages.markup, e.languages.mathml = e.languages.markup, e.languages.svg = e.languages.markup, e.languages.xml = e.languages.extend("markup", {}), e.languages.ssml = e.languages.xml, e.languages.atom = e.languages.xml, e.languages.rss = e.languages.xml;
|
|
5898
5898
|
}
|
|
5899
|
-
var _1 =
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
function
|
|
5899
|
+
var _1 = n0;
|
|
5900
|
+
n0.displayName = "css";
|
|
5901
|
+
n0.aliases = [];
|
|
5902
|
+
function n0(e) {
|
|
5903
5903
|
(function(t) {
|
|
5904
5904
|
var n = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
|
|
5905
5905
|
t.languages.css = {
|
|
@@ -5961,10 +5961,10 @@ function t0(e) {
|
|
|
5961
5961
|
a && (a.tag.addInlined("style", "css"), a.tag.addAttribute("style", "css"));
|
|
5962
5962
|
})(e);
|
|
5963
5963
|
}
|
|
5964
|
-
var w1 =
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
function
|
|
5964
|
+
var w1 = r0;
|
|
5965
|
+
r0.displayName = "clike";
|
|
5966
|
+
r0.aliases = [];
|
|
5967
|
+
function r0(e) {
|
|
5968
5968
|
e.languages.clike = {
|
|
5969
5969
|
comment: [
|
|
5970
5970
|
{
|
|
@@ -5997,10 +5997,10 @@ function n0(e) {
|
|
|
5997
5997
|
punctuation: /[{}[\];(),.:]/
|
|
5998
5998
|
};
|
|
5999
5999
|
}
|
|
6000
|
-
var E1 =
|
|
6001
|
-
|
|
6002
|
-
|
|
6003
|
-
function
|
|
6000
|
+
var E1 = a0;
|
|
6001
|
+
a0.displayName = "javascript";
|
|
6002
|
+
a0.aliases = ["js"];
|
|
6003
|
+
function a0(e) {
|
|
6004
6004
|
e.languages.javascript = e.languages.extend("clike", {
|
|
6005
6005
|
"class-name": [
|
|
6006
6006
|
e.languages.clike["class-name"],
|
|
@@ -6128,7 +6128,7 @@ var pt = typeof globalThis == "object" ? globalThis : typeof self == "object" ?
|
|
|
6128
6128
|
pt.Prism = { manual: !0, disableWorkerMessageHandler: !0 };
|
|
6129
6129
|
var S1 = zl, I1 = t1, ta = b1, k1 = y1, N1 = _1, C1 = w1, O1 = E1;
|
|
6130
6130
|
x1();
|
|
6131
|
-
var
|
|
6131
|
+
var o0 = {}.hasOwnProperty;
|
|
6132
6132
|
function na() {
|
|
6133
6133
|
}
|
|
6134
6134
|
na.prototype = ta;
|
|
@@ -6165,7 +6165,7 @@ function R1(e, t) {
|
|
|
6165
6165
|
else {
|
|
6166
6166
|
if (typeof t != "string")
|
|
6167
6167
|
throw new Error("Expected `string` for `name`, got `" + t + "`");
|
|
6168
|
-
if (
|
|
6168
|
+
if (o0.call(pe.languages, t))
|
|
6169
6169
|
a = pe.languages[t];
|
|
6170
6170
|
else
|
|
6171
6171
|
throw new Error("Unknown language: `" + t + "` is not registered");
|
|
@@ -6175,12 +6175,12 @@ function R1(e, t) {
|
|
|
6175
6175
|
function D1(e) {
|
|
6176
6176
|
if (typeof e != "string")
|
|
6177
6177
|
throw new Error("Expected `string` for `language`, got `" + e + "`");
|
|
6178
|
-
return
|
|
6178
|
+
return o0.call(pe.languages, e);
|
|
6179
6179
|
}
|
|
6180
6180
|
function $1() {
|
|
6181
6181
|
var e = pe.languages, t = [], n;
|
|
6182
6182
|
for (n in e)
|
|
6183
|
-
|
|
6183
|
+
o0.call(e, n) && typeof e[n] == "object" && t.push(n);
|
|
6184
6184
|
return t;
|
|
6185
6185
|
}
|
|
6186
6186
|
function M1(e, t, n) {
|
|
@@ -6222,15 +6222,17 @@ function z1() {
|
|
|
6222
6222
|
e ? pt.Prism = t : delete pt.Prism, e = void 0, t = void 0;
|
|
6223
6223
|
}
|
|
6224
6224
|
}
|
|
6225
|
-
const
|
|
6226
|
-
var i0 = ws(
|
|
6225
|
+
const Ft = /* @__PURE__ */ ne(A1);
|
|
6226
|
+
var i0 = ws(Ft, {});
|
|
6227
6227
|
i0.registerLanguage = function(e, t) {
|
|
6228
|
-
return
|
|
6228
|
+
return Ft.register(t);
|
|
6229
6229
|
};
|
|
6230
6230
|
i0.alias = function(e, t) {
|
|
6231
|
-
return
|
|
6231
|
+
return Ft.alias(e, t);
|
|
6232
6232
|
};
|
|
6233
|
-
const s0 = i0
|
|
6233
|
+
const s0 = i0;
|
|
6234
|
+
Object.getPrototypeOf(Ft).manual = !0;
|
|
6235
|
+
const It = "#969896", Ut = "#d73a49", He = "#0086b3", j1 = "#005cc5", Ue = "#032f62", ut = "#333333", xe = "#6f42c1", Y0 = "#63a35c", qt = "#df5000", B1 = {
|
|
6234
6236
|
'pre[class*="language-"]': {
|
|
6235
6237
|
display: "block",
|
|
6236
6238
|
background: "white",
|
|
@@ -6249,9 +6251,9 @@ const s0 = i0, It = "#969896", Ht = "#d73a49", He = "#0086b3", j1 = "#005cc5", U
|
|
|
6249
6251
|
delimiter: { color: ut },
|
|
6250
6252
|
"attr-equals": { color: ut },
|
|
6251
6253
|
operator: { color: ut },
|
|
6252
|
-
keyword: { color:
|
|
6253
|
-
atrule: { color:
|
|
6254
|
-
important: { color:
|
|
6254
|
+
keyword: { color: Ut },
|
|
6255
|
+
atrule: { color: Ut },
|
|
6256
|
+
important: { color: Ut },
|
|
6255
6257
|
boolean: { color: He },
|
|
6256
6258
|
null: { color: He },
|
|
6257
6259
|
// `null` and the yaml keys also carry a `keyword`/`atrule` class, which would take precedence.
|
|
@@ -6287,9 +6289,9 @@ const s0 = i0, It = "#969896", Ht = "#d73a49", He = "#0086b3", j1 = "#005cc5", U
|
|
|
6287
6289
|
"definition-mutation": { color: xe },
|
|
6288
6290
|
tag: { color: Y0 },
|
|
6289
6291
|
"tag-name": { color: Y0 },
|
|
6290
|
-
variable: { color:
|
|
6291
|
-
"assign-left": { color:
|
|
6292
|
-
parameter: { color:
|
|
6292
|
+
variable: { color: qt },
|
|
6293
|
+
"assign-left": { color: qt },
|
|
6294
|
+
parameter: { color: qt },
|
|
6293
6295
|
inserted: { color: "#55a532", backgroundColor: "#eaffea" },
|
|
6294
6296
|
deleted: { color: "#bd2c00", backgroundColor: "#ffecec" }
|
|
6295
6297
|
};
|
|
@@ -6506,13 +6508,13 @@ const je = ke(({ as: e = "div", isLoading: t = !0, children: n, ...a }, o) => /*
|
|
|
6506
6508
|
) : n }));
|
|
6507
6509
|
je.displayName = "Skeleton";
|
|
6508
6510
|
const vt = (e) => /* @__PURE__ */ l(j, { ...e, as: "hr", className: "divider" });
|
|
6509
|
-
const W1 = (e) => /* @__PURE__ */ $(
|
|
6511
|
+
const W1 = (e) => /* @__PURE__ */ $(K, { as: "button", flexDirection: "column", gap: "xxs", className: "burger-button", ...e, children: [
|
|
6510
6512
|
/* @__PURE__ */ l(j, { className: "burger-button__line" }),
|
|
6511
6513
|
/* @__PURE__ */ l(j, { className: "burger-button__line" }),
|
|
6512
6514
|
/* @__PURE__ */ l(j, { className: "burger-button__line" })
|
|
6513
6515
|
] });
|
|
6514
6516
|
const xp = ["primary", "secondary"], ra = ({ variant: e, ...t }) => /* @__PURE__ */ $(
|
|
6515
|
-
|
|
6517
|
+
K,
|
|
6516
6518
|
{
|
|
6517
6519
|
as: "button",
|
|
6518
6520
|
...t,
|
|
@@ -6526,7 +6528,7 @@ const xp = ["primary", "secondary"], ra = ({ variant: e, ...t }) => /* @__PURE__
|
|
|
6526
6528
|
}
|
|
6527
6529
|
);
|
|
6528
6530
|
const aa = ({ items: e, ...t }) => /* @__PURE__ */ l(
|
|
6529
|
-
|
|
6531
|
+
K,
|
|
6530
6532
|
{
|
|
6531
6533
|
...t,
|
|
6532
6534
|
as: "ol",
|
|
@@ -6536,7 +6538,7 @@ const aa = ({ items: e, ...t }) => /* @__PURE__ */ l(
|
|
|
6536
6538
|
gap: "xxs-3",
|
|
6537
6539
|
fontWeight: "semi-bold",
|
|
6538
6540
|
className: re("breadcrumb", t.className),
|
|
6539
|
-
children: e.map(({ label: n, ...a }, o) => /* @__PURE__ */ $(
|
|
6541
|
+
children: e.map(({ label: n, ...a }, o) => /* @__PURE__ */ $(dn, { children: [
|
|
6540
6542
|
/* @__PURE__ */ $("li", { itemProp: "itemListElement", itemScope: !0, itemType: "https://schema.org/ListItem", children: [
|
|
6541
6543
|
a.href ? /* @__PURE__ */ l(Ke, { itemProp: "item", ...a, children: /* @__PURE__ */ l(Q, { as: "span", itemProp: "name", children: n }) }) : /* @__PURE__ */ l(Q, { as: "span", itemProp: "name", fontWeight: "regular", children: n }),
|
|
6542
6544
|
/* @__PURE__ */ l("meta", { itemProp: "position", content: (o + 1).toString() })
|
|
@@ -6550,7 +6552,7 @@ const aa = ({ items: e, ...t }) => /* @__PURE__ */ l(
|
|
|
6550
6552
|
] });
|
|
6551
6553
|
const Ke = ke(
|
|
6552
6554
|
({ as: e = "a", icon: t, className: n, children: a, ...o }, r) => t ? /* @__PURE__ */ $(
|
|
6553
|
-
|
|
6555
|
+
K,
|
|
6554
6556
|
{
|
|
6555
6557
|
...o,
|
|
6556
6558
|
ref: r,
|
|
@@ -6587,7 +6589,7 @@ const Sp = [
|
|
|
6587
6589
|
const ia = ke(
|
|
6588
6590
|
({ input: e, buttonClose: t = {}, buttonSearch: n, className: a, ...o }, r) => /* @__PURE__ */ $(j, { ...o, className: re("search-field", a), ref: r, children: [
|
|
6589
6591
|
/* @__PURE__ */ l(j, { as: "input", ...e, className: "search-field__input" }),
|
|
6590
|
-
/* @__PURE__ */ $(
|
|
6592
|
+
/* @__PURE__ */ $(K, { justifyContent: "center", alignItems: "center", className: "search-field__actions-container", children: [
|
|
6591
6593
|
!!e.value && /* @__PURE__ */ l(ra, { ...t, variant: "secondary", className: "search-field__button-action" }),
|
|
6592
6594
|
/* @__PURE__ */ l(j, { as: "button", ...n, className: "search-field__button-action", children: /* @__PURE__ */ l(be, { name: "search", color: "primary", size: "2.5rem", mx: "xs" }) })
|
|
6593
6595
|
] })
|
|
@@ -6669,7 +6671,7 @@ var la = { exports: {} };
|
|
|
6669
6671
|
})(la);
|
|
6670
6672
|
var Z1 = la.exports;
|
|
6671
6673
|
const X1 = /* @__PURE__ */ ne(Z1), ca = ke(({ text: e, textQuery: t = "", ...n }, a) => {
|
|
6672
|
-
const o =
|
|
6674
|
+
const o = un.useMemo(() => {
|
|
6673
6675
|
const r = Y1(e, t, { findAllOccurrences: !0 });
|
|
6674
6676
|
return X1(e, r);
|
|
6675
6677
|
}, [e, t]);
|
|
@@ -6685,13 +6687,13 @@ const X1 = /* @__PURE__ */ ne(Z1), ca = ke(({ text: e, textQuery: t = "", ...n }
|
|
|
6685
6687
|
)) });
|
|
6686
6688
|
});
|
|
6687
6689
|
ca.displayName = "TextHighlight";
|
|
6688
|
-
const ua = ({ title: e, description: t, ...n }) => /* @__PURE__ */ $(
|
|
6690
|
+
const ua = ({ title: e, description: t, ...n }) => /* @__PURE__ */ $(K, { ...n, flexDirection: "column", alignItems: "center", className: "not-found-block", children: [
|
|
6689
6691
|
/* @__PURE__ */ l("div", { className: "not-found-block__background" }),
|
|
6690
6692
|
/* @__PURE__ */ l(ge, { size: "xl", mt: "s", children: e }),
|
|
6691
6693
|
/* @__PURE__ */ l(Q, { size: "s", mt: "xxs", children: t })
|
|
6692
6694
|
] });
|
|
6693
6695
|
const J1 = ({ title: e, description: t, breadcrumb: n, ...a }) => /* @__PURE__ */ l(j, { ...a, className: "category-intro-block", color: "white", children: /* @__PURE__ */ l(
|
|
6694
|
-
|
|
6696
|
+
K,
|
|
6695
6697
|
{
|
|
6696
6698
|
justifyContent: "center",
|
|
6697
6699
|
alignItems: "center",
|
|
@@ -6710,9 +6712,9 @@ const Q1 = ({
|
|
|
6710
6712
|
description: n,
|
|
6711
6713
|
elevenLabsLink: { label: a, ...o },
|
|
6712
6714
|
...r
|
|
6713
|
-
}) => /* @__PURE__ */ $(
|
|
6715
|
+
}) => /* @__PURE__ */ $(K, { ...r, className: re("home-intro-block", r.className), children: [
|
|
6714
6716
|
/* @__PURE__ */ $(
|
|
6715
|
-
|
|
6717
|
+
K,
|
|
6716
6718
|
{
|
|
6717
6719
|
alignItems: "baseline",
|
|
6718
6720
|
flexDirection: "column",
|
|
@@ -6757,7 +6759,7 @@ const kp = ["primary", "secondary"], c0 = ({
|
|
|
6757
6759
|
isLoading: o,
|
|
6758
6760
|
display: "inline-block",
|
|
6759
6761
|
style: { minWidth: 60, minHeight: 16 },
|
|
6760
|
-
children: /* @__PURE__ */ $(
|
|
6762
|
+
children: /* @__PURE__ */ $(K, { alignContent: "center", alignItems: "center", gap: "xxs", className: "post-metadata__date", children: [
|
|
6761
6763
|
e === "secondary" && /* @__PURE__ */ l(be, { name: "calendar", size: "24px", color: "light-grey" }),
|
|
6762
6764
|
t && /* @__PURE__ */ l(Q, { as: "span", children: t })
|
|
6763
6765
|
] })
|
|
@@ -6775,7 +6777,7 @@ const kp = ["primary", "secondary"], c0 = ({
|
|
|
6775
6777
|
isLoading: o,
|
|
6776
6778
|
display: "inline-block",
|
|
6777
6779
|
style: { minWidth: 26, minHeight: 16 },
|
|
6778
|
-
children: /* @__PURE__ */ $(
|
|
6780
|
+
children: /* @__PURE__ */ $(K, { alignContent: "center", alignItems: "center", gap: "xxs", children: [
|
|
6779
6781
|
e === "secondary" && /* @__PURE__ */ l(be, { name: "access-time", size: "24px", color: "light-grey" }),
|
|
6780
6782
|
n && /* @__PURE__ */ l(Q, { as: "span", children: `${n}mn` })
|
|
6781
6783
|
] })
|
|
@@ -6788,7 +6790,7 @@ const kp = ["primary", "secondary"], c0 = ({
|
|
|
6788
6790
|
case "authors": {
|
|
6789
6791
|
const h = a && /* @__PURE__ */ $(Ie, { children: [
|
|
6790
6792
|
e === "secondary" && /* @__PURE__ */ l(be, { name: "person", size: "24px", color: "light-grey" }),
|
|
6791
|
-
a.map(({ username: y, name: x, link: k }, I) => /* @__PURE__ */ $(
|
|
6793
|
+
a.map(({ username: y, name: x, link: k }, I) => /* @__PURE__ */ $(dn, { children: [
|
|
6792
6794
|
k ? /* @__PURE__ */ l(Ke, { ...k, children: x }) : /* @__PURE__ */ l(Q, { as: "span", children: x }),
|
|
6793
6795
|
I !== a.length - 1 && /* @__PURE__ */ l(Q, { as: "span", children: " & " })
|
|
6794
6796
|
] }, y))
|
|
@@ -6800,7 +6802,7 @@ const kp = ["primary", "secondary"], c0 = ({
|
|
|
6800
6802
|
isLoading: o,
|
|
6801
6803
|
display: "inline-block",
|
|
6802
6804
|
style: { minWidth: 50, minHeight: 16 },
|
|
6803
|
-
children: e === "secondary" ? /* @__PURE__ */ l(
|
|
6805
|
+
children: e === "secondary" ? /* @__PURE__ */ l(K, { alignContent: "center", alignItems: "center", gap: "xxs", className: "post-metadata__authors", children: h }) : /* @__PURE__ */ l(Ie, { children: h })
|
|
6804
6806
|
},
|
|
6805
6807
|
m
|
|
6806
6808
|
)
|
|
@@ -6813,7 +6815,7 @@ const kp = ["primary", "secondary"], c0 = ({
|
|
|
6813
6815
|
), f;
|
|
6814
6816
|
}, []);
|
|
6815
6817
|
return /* @__PURE__ */ l(
|
|
6816
|
-
|
|
6818
|
+
K,
|
|
6817
6819
|
{
|
|
6818
6820
|
...s,
|
|
6819
6821
|
alignItems: "center",
|
|
@@ -6825,7 +6827,7 @@ const kp = ["primary", "secondary"], c0 = ({
|
|
|
6825
6827
|
}
|
|
6826
6828
|
);
|
|
6827
6829
|
};
|
|
6828
|
-
const Np = ["highlight-light", "highlight-dark", "side-image"],
|
|
6830
|
+
const Np = ["highlight-light", "highlight-dark", "side-image"], zt = ({
|
|
6829
6831
|
slug: e,
|
|
6830
6832
|
contentType: t,
|
|
6831
6833
|
variant: n = "side-image",
|
|
@@ -6839,78 +6841,68 @@ const Np = ["highlight-light", "highlight-dark", "side-image"], Ft = ({
|
|
|
6839
6841
|
isLoading: g = !1,
|
|
6840
6842
|
tutorialLabel: h,
|
|
6841
6843
|
...y
|
|
6842
|
-
}) => /* @__PURE__ */ $(
|
|
6843
|
-
j,
|
|
6844
|
-
{
|
|
6845
|
-
|
|
6846
|
-
|
|
6847
|
-
|
|
6848
|
-
|
|
6849
|
-
|
|
6850
|
-
|
|
6851
|
-
|
|
6852
|
-
|
|
6853
|
-
|
|
6854
|
-
|
|
6855
|
-
|
|
6856
|
-
|
|
6857
|
-
|
|
6858
|
-
|
|
6859
|
-
|
|
6860
|
-
|
|
6861
|
-
|
|
6862
|
-
|
|
6863
|
-
|
|
6864
|
-
|
|
6865
|
-
|
|
6866
|
-
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
6871
|
-
|
|
6872
|
-
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
6878
|
-
|
|
6879
|
-
|
|
6880
|
-
|
|
6881
|
-
|
|
6882
|
-
|
|
6883
|
-
|
|
6884
|
-
|
|
6885
|
-
|
|
6886
|
-
|
|
6887
|
-
|
|
6888
|
-
|
|
6889
|
-
|
|
6890
|
-
|
|
6891
|
-
|
|
6892
|
-
|
|
6893
|
-
|
|
6894
|
-
hiddenBelow: "md",
|
|
6895
|
-
lineClamp: n === "side-image" ? 2 : 4,
|
|
6896
|
-
className: "post-card__excerpt",
|
|
6897
|
-
children: r
|
|
6898
|
-
}
|
|
6899
|
-
) })
|
|
6900
|
-
] })
|
|
6901
|
-
]
|
|
6902
|
-
}
|
|
6903
|
-
);
|
|
6844
|
+
}) => /* @__PURE__ */ $(j, { as: "article", ...y, className: re("post-card", `post-card--${n}`), children: [
|
|
6845
|
+
/* @__PURE__ */ l(j, { className: "post-card__media", children: /* @__PURE__ */ l(je, { isLoading: g, children: /* @__PURE__ */ l(oa, { ...a, img: { ...a == null ? void 0 : a.img, className: "post-card__cover" } }) }) }),
|
|
6846
|
+
/* @__PURE__ */ $(j, { flex: "1", children: [
|
|
6847
|
+
/* @__PURE__ */ $(K, { justifyContent: "between", alignItems: "start", gap: "xs", children: [
|
|
6848
|
+
/* @__PURE__ */ l(je, { isLoading: g, className: "post-card__heading-wrapper", children: /* @__PURE__ */ l(
|
|
6849
|
+
ge,
|
|
6850
|
+
{
|
|
6851
|
+
as: "h2",
|
|
6852
|
+
size: "xs",
|
|
6853
|
+
lineClamp: n === "highlight-dark" ? 2 : { xs: 4, md: n === "side-image" ? 2 : 3 },
|
|
6854
|
+
className: "post-card__heading",
|
|
6855
|
+
children: /* @__PURE__ */ l(Q, { as: "a", ...m, size: "m", "data-internal-link": "post", className: "post-card__link", children: o })
|
|
6856
|
+
}
|
|
6857
|
+
) }),
|
|
6858
|
+
t === "tutorial" && /* @__PURE__ */ l(
|
|
6859
|
+
Q,
|
|
6860
|
+
{
|
|
6861
|
+
size: "xs",
|
|
6862
|
+
py: "xxs-3",
|
|
6863
|
+
px: "xxs-2",
|
|
6864
|
+
color: "primary",
|
|
6865
|
+
textTransform: "uppercase",
|
|
6866
|
+
fontWeight: "bold",
|
|
6867
|
+
className: "post-card__tutoriel-tag",
|
|
6868
|
+
children: h
|
|
6869
|
+
}
|
|
6870
|
+
)
|
|
6871
|
+
] }),
|
|
6872
|
+
/* @__PURE__ */ l(
|
|
6873
|
+
c0,
|
|
6874
|
+
{
|
|
6875
|
+
variant: "primary",
|
|
6876
|
+
mt: "xxs",
|
|
6877
|
+
date: s,
|
|
6878
|
+
readingTime: i,
|
|
6879
|
+
authors: f,
|
|
6880
|
+
isLoading: g
|
|
6881
|
+
}
|
|
6882
|
+
),
|
|
6883
|
+
n !== "highlight-dark" && /* @__PURE__ */ l(je, { isLoading: g, children: /* @__PURE__ */ l(
|
|
6884
|
+
Q,
|
|
6885
|
+
{
|
|
6886
|
+
mt: "xs",
|
|
6887
|
+
size: "s",
|
|
6888
|
+
hiddenBelow: "md",
|
|
6889
|
+
lineClamp: n === "side-image" ? 2 : 4,
|
|
6890
|
+
className: "post-card__excerpt",
|
|
6891
|
+
children: r
|
|
6892
|
+
}
|
|
6893
|
+
) })
|
|
6894
|
+
] })
|
|
6895
|
+
] });
|
|
6904
6896
|
const td = ({
|
|
6905
6897
|
name: e,
|
|
6906
6898
|
avatarImageUrl: t,
|
|
6907
6899
|
description: n,
|
|
6908
6900
|
link: { label: a, ...o },
|
|
6909
6901
|
...r
|
|
6910
|
-
}) => /* @__PURE__ */ $(
|
|
6902
|
+
}) => /* @__PURE__ */ $(K, { ...r, alignItems: "center", gap: "s", px: "s", py: "m", bg: "white", className: "author-card", children: [
|
|
6911
6903
|
t ? /* @__PURE__ */ l("img", { src: t, alt: e, className: "author-card__avatar-img" }) : /* @__PURE__ */ l("div", { className: "author-card__avatar-img author-card__avatar-img--empty" }),
|
|
6912
6904
|
/* @__PURE__ */ $(
|
|
6913
|
-
|
|
6905
|
+
K,
|
|
6914
6906
|
{
|
|
6915
6907
|
flexDirection: { xs: "column", md: "row" },
|
|
6916
6908
|
flex: "1",
|
|
@@ -6942,8 +6934,8 @@ const nd = ({
|
|
|
6942
6934
|
description: t,
|
|
6943
6935
|
link: { label: n, ...a },
|
|
6944
6936
|
...o
|
|
6945
|
-
}) => /* @__PURE__ */ l(
|
|
6946
|
-
|
|
6937
|
+
}) => /* @__PURE__ */ l(K, { ...o, justifyContent: "center", alignItems: "center", py: "l", className: "contact-card", children: /* @__PURE__ */ $(
|
|
6938
|
+
K,
|
|
6947
6939
|
{
|
|
6948
6940
|
flexDirection: "column",
|
|
6949
6941
|
justifyContent: "center",
|
|
@@ -6967,9 +6959,9 @@ const Cp = ["primary", "secondary"], da = ({
|
|
|
6967
6959
|
...o
|
|
6968
6960
|
}) => /* @__PURE__ */ $(j, { bg: "white", p: "m", className: re("summary-card", { [`summary-card--${e}`]: e }), ...o, children: [
|
|
6969
6961
|
/* @__PURE__ */ l(ge, { size: "m", color: "primary", children: t }),
|
|
6970
|
-
/* @__PURE__ */ l(
|
|
6962
|
+
/* @__PURE__ */ l(K, { flexDirection: "column", mt: "m", children: a.map(({ name: r, label: s, ...i }, f) => /* @__PURE__ */ $(me.Fragment, { children: [
|
|
6971
6963
|
/* @__PURE__ */ $(
|
|
6972
|
-
|
|
6964
|
+
K,
|
|
6973
6965
|
{
|
|
6974
6966
|
as: "a",
|
|
6975
6967
|
gap: "s",
|
|
@@ -6994,7 +6986,7 @@ const Op = ["horizontal", "vertical"], u0 = ({
|
|
|
6994
6986
|
variant: a = "vertical",
|
|
6995
6987
|
...o
|
|
6996
6988
|
}) => /* @__PURE__ */ $(
|
|
6997
|
-
|
|
6989
|
+
K,
|
|
6998
6990
|
{
|
|
6999
6991
|
...o,
|
|
7000
6992
|
p: "l",
|
|
@@ -7037,7 +7029,7 @@ const Op = ["horizontal", "vertical"], u0 = ({
|
|
|
7037
7029
|
}
|
|
7038
7030
|
return [];
|
|
7039
7031
|
}, [t, e, n]);
|
|
7040
|
-
const
|
|
7032
|
+
const Kt = (e) => ({
|
|
7041
7033
|
...e.disabled ? { as: "span" } : { as: "a", ...e.getLink(e.currentPage) },
|
|
7042
7034
|
className: re(
|
|
7043
7035
|
"pagination__item",
|
|
@@ -7052,11 +7044,11 @@ const qt = (e) => ({
|
|
|
7052
7044
|
...o
|
|
7053
7045
|
}) => {
|
|
7054
7046
|
const r = rd({ currentPage: e, totalPages: t, siblingCount: a });
|
|
7055
|
-
return /* @__PURE__ */ $(
|
|
7047
|
+
return /* @__PURE__ */ $(K, { ...o, className: "pagination", children: [
|
|
7056
7048
|
/* @__PURE__ */ l(
|
|
7057
7049
|
j,
|
|
7058
7050
|
{
|
|
7059
|
-
...
|
|
7051
|
+
...Kt({
|
|
7060
7052
|
currentPage: e,
|
|
7061
7053
|
disabled: e === 1,
|
|
7062
7054
|
getLink: n
|
|
@@ -7064,12 +7056,12 @@ const qt = (e) => ({
|
|
|
7064
7056
|
children: /* @__PURE__ */ l(be, { name: "arrow" })
|
|
7065
7057
|
}
|
|
7066
7058
|
),
|
|
7067
|
-
r.map((s, i) => /* @__PURE__ */ $(
|
|
7059
|
+
r.map((s, i) => /* @__PURE__ */ $(dn, { children: [
|
|
7068
7060
|
s === tt && /* @__PURE__ */ l(j, { className: re("pagination__item"), children: "..." }),
|
|
7069
7061
|
s !== tt && /* @__PURE__ */ l(
|
|
7070
7062
|
j,
|
|
7071
7063
|
{
|
|
7072
|
-
...
|
|
7064
|
+
...Kt({
|
|
7073
7065
|
currentPage: s,
|
|
7074
7066
|
active: e === s,
|
|
7075
7067
|
getLink: n
|
|
@@ -7081,7 +7073,7 @@ const qt = (e) => ({
|
|
|
7081
7073
|
/* @__PURE__ */ l(
|
|
7082
7074
|
j,
|
|
7083
7075
|
{
|
|
7084
|
-
...
|
|
7076
|
+
...Kt({
|
|
7085
7077
|
currentPage: e + 1,
|
|
7086
7078
|
disabled: e === t,
|
|
7087
7079
|
getLink: n
|
|
@@ -7090,8 +7082,8 @@ const qt = (e) => ({
|
|
|
7090
7082
|
}
|
|
7091
7083
|
)
|
|
7092
7084
|
] });
|
|
7093
|
-
}, Ap = ({ posts: e, pagination: t, isLoading: n = !1 }) => /* @__PURE__ */ l(Ie, { children: /* @__PURE__ */ $(
|
|
7094
|
-
e.map((a, o) => /* @__PURE__ */ l(me.Fragment, { children: /* @__PURE__ */ l(
|
|
7085
|
+
}, Ap = ({ posts: e, pagination: t, isLoading: n = !1 }) => /* @__PURE__ */ l(Ie, { children: /* @__PURE__ */ $(K, { flexDirection: "column", gap: "m", children: [
|
|
7086
|
+
e.map((a, o) => /* @__PURE__ */ l(me.Fragment, { children: /* @__PURE__ */ l(zt, { ...a || {}, isLoading: n }) }, (a == null ? void 0 : a.slug) ?? o)),
|
|
7095
7087
|
t && (t == null ? void 0 : t.totalPages) > 1 && /* @__PURE__ */ l(ad, { mx: "auto", ...t })
|
|
7096
7088
|
] }) });
|
|
7097
7089
|
function Z0(e) {
|
|
@@ -7099,15 +7091,15 @@ function Z0(e) {
|
|
|
7099
7091
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
7100
7092
|
return e;
|
|
7101
7093
|
}
|
|
7102
|
-
function
|
|
7103
|
-
return
|
|
7094
|
+
function an(e, t) {
|
|
7095
|
+
return an = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(a, o) {
|
|
7104
7096
|
return a.__proto__ = o, a;
|
|
7105
|
-
},
|
|
7097
|
+
}, an(e, t);
|
|
7106
7098
|
}
|
|
7107
7099
|
function od(e, t) {
|
|
7108
|
-
e.prototype = Object.create(t.prototype), e.prototype.constructor = e,
|
|
7100
|
+
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, an(e, t);
|
|
7109
7101
|
}
|
|
7110
|
-
var
|
|
7102
|
+
var on = { exports: {} }, Nt = { exports: {} }, ie = {};
|
|
7111
7103
|
/** @license React v16.13.1
|
|
7112
7104
|
* react-is.production.min.js
|
|
7113
7105
|
*
|
|
@@ -7232,7 +7224,7 @@ function sd() {
|
|
|
7232
7224
|
}
|
|
7233
7225
|
}
|
|
7234
7226
|
}
|
|
7235
|
-
var d = f, v = m, _ = i, E = s, S = t, L = g, z = a, V = k, Y = x,
|
|
7227
|
+
var d = f, v = m, _ = i, E = s, S = t, L = g, z = a, V = k, Y = x, W = n, oe = r, J = o, G = h, Z = !1;
|
|
7236
7228
|
function te(D) {
|
|
7237
7229
|
return Z || (Z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), w(D) || p(D) === f;
|
|
7238
7230
|
}
|
|
@@ -7272,7 +7264,7 @@ function sd() {
|
|
|
7272
7264
|
function ae(D) {
|
|
7273
7265
|
return p(D) === h;
|
|
7274
7266
|
}
|
|
7275
|
-
se.AsyncMode = d, se.ConcurrentMode = v, se.ContextConsumer = _, se.ContextProvider = E, se.Element = S, se.ForwardRef = L, se.Fragment = z, se.Lazy = V, se.Memo = Y, se.Portal =
|
|
7267
|
+
se.AsyncMode = d, se.ConcurrentMode = v, se.ContextConsumer = _, se.ContextProvider = E, se.Element = S, se.ForwardRef = L, se.Fragment = z, se.Lazy = V, se.Memo = Y, se.Portal = W, se.Profiler = oe, se.StrictMode = J, se.Suspense = G, se.isAsyncMode = te, se.isConcurrentMode = w, se.isContextConsumer = N, se.isContextProvider = F, se.isElement = U, se.isForwardRef = C, se.isFragment = T, se.isLazy = O, se.isMemo = M, se.isPortal = H, se.isProfiler = q, se.isStrictMode = B, se.isSuspense = ae, se.isValidElementType = c, se.typeOf = p;
|
|
7276
7268
|
}()), se;
|
|
7277
7269
|
}
|
|
7278
7270
|
var Q0;
|
|
@@ -7284,10 +7276,10 @@ object-assign
|
|
|
7284
7276
|
(c) Sindre Sorhus
|
|
7285
7277
|
@license MIT
|
|
7286
7278
|
*/
|
|
7287
|
-
var
|
|
7279
|
+
var Wt, er;
|
|
7288
7280
|
function ld() {
|
|
7289
7281
|
if (er)
|
|
7290
|
-
return
|
|
7282
|
+
return Wt;
|
|
7291
7283
|
er = 1;
|
|
7292
7284
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
|
|
7293
7285
|
function a(r) {
|
|
@@ -7317,7 +7309,7 @@ function ld() {
|
|
|
7317
7309
|
return !1;
|
|
7318
7310
|
}
|
|
7319
7311
|
}
|
|
7320
|
-
return
|
|
7312
|
+
return Wt = o() ? Object.assign : function(r, s) {
|
|
7321
7313
|
for (var i, f = a(r), m, g = 1; g < arguments.length; g++) {
|
|
7322
7314
|
i = Object(arguments[g]);
|
|
7323
7315
|
for (var h in i)
|
|
@@ -7329,24 +7321,24 @@ function ld() {
|
|
|
7329
7321
|
}
|
|
7330
7322
|
}
|
|
7331
7323
|
return f;
|
|
7332
|
-
},
|
|
7324
|
+
}, Wt;
|
|
7333
7325
|
}
|
|
7334
|
-
var
|
|
7326
|
+
var Gt, tr;
|
|
7335
7327
|
function d0() {
|
|
7336
7328
|
if (tr)
|
|
7337
|
-
return
|
|
7329
|
+
return Gt;
|
|
7338
7330
|
tr = 1;
|
|
7339
7331
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
7340
|
-
return
|
|
7332
|
+
return Gt = e, Gt;
|
|
7341
7333
|
}
|
|
7342
|
-
var
|
|
7334
|
+
var Yt, nr;
|
|
7343
7335
|
function fa() {
|
|
7344
|
-
return nr || (nr = 1,
|
|
7336
|
+
return nr || (nr = 1, Yt = Function.call.bind(Object.prototype.hasOwnProperty)), Yt;
|
|
7345
7337
|
}
|
|
7346
|
-
var
|
|
7338
|
+
var Zt, rr;
|
|
7347
7339
|
function cd() {
|
|
7348
7340
|
if (rr)
|
|
7349
|
-
return
|
|
7341
|
+
return Zt;
|
|
7350
7342
|
rr = 1;
|
|
7351
7343
|
var e = function() {
|
|
7352
7344
|
};
|
|
@@ -7391,12 +7383,12 @@ function cd() {
|
|
|
7391
7383
|
}
|
|
7392
7384
|
return o.resetWarningCache = function() {
|
|
7393
7385
|
process.env.NODE_ENV !== "production" && (n = {});
|
|
7394
|
-
},
|
|
7386
|
+
}, Zt = o, Zt;
|
|
7395
7387
|
}
|
|
7396
|
-
var
|
|
7388
|
+
var Xt, ar;
|
|
7397
7389
|
function ud() {
|
|
7398
7390
|
if (ar)
|
|
7399
|
-
return
|
|
7391
|
+
return Xt;
|
|
7400
7392
|
ar = 1;
|
|
7401
7393
|
var e = pa(), t = ld(), n = d0(), a = fa(), o = cd(), r = function() {
|
|
7402
7394
|
};
|
|
@@ -7411,7 +7403,7 @@ function ud() {
|
|
|
7411
7403
|
function s() {
|
|
7412
7404
|
return null;
|
|
7413
7405
|
}
|
|
7414
|
-
return
|
|
7406
|
+
return Xt = function(i, f) {
|
|
7415
7407
|
var m = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator";
|
|
7416
7408
|
function h(w) {
|
|
7417
7409
|
var N = w && (m && w[m] || w[g]);
|
|
@@ -7473,7 +7465,7 @@ function ud() {
|
|
|
7473
7465
|
function N(F, U, C, T, O, M) {
|
|
7474
7466
|
var H = F[U], q = J(H);
|
|
7475
7467
|
if (q !== w) {
|
|
7476
|
-
var B =
|
|
7468
|
+
var B = G(H);
|
|
7477
7469
|
return new I(
|
|
7478
7470
|
"Invalid " + T + " `" + O + "` of type " + ("`" + B + "` supplied to `" + C + "`, expected ") + ("`" + w + "`."),
|
|
7479
7471
|
{ expectedType: w }
|
|
@@ -7546,7 +7538,7 @@ function ud() {
|
|
|
7546
7538
|
if (k(M, w[H]))
|
|
7547
7539
|
return null;
|
|
7548
7540
|
var q = JSON.stringify(w, function(ae, D) {
|
|
7549
|
-
var ue =
|
|
7541
|
+
var ue = G(D);
|
|
7550
7542
|
return ue === "symbol" ? String(D) : D;
|
|
7551
7543
|
});
|
|
7552
7544
|
return new I("Invalid " + T + " `" + O + "` of value `" + String(M) + "` " + ("supplied to `" + C + "`, expected one of " + q + "."));
|
|
@@ -7594,7 +7586,7 @@ function ud() {
|
|
|
7594
7586
|
}
|
|
7595
7587
|
function L() {
|
|
7596
7588
|
function w(N, F, U, C, T) {
|
|
7597
|
-
return
|
|
7589
|
+
return W(N[F]) ? null : new I("Invalid " + C + " `" + T + "` supplied to " + ("`" + U + "`, expected a ReactNode."));
|
|
7598
7590
|
}
|
|
7599
7591
|
return b(w);
|
|
7600
7592
|
}
|
|
@@ -7611,7 +7603,7 @@ function ud() {
|
|
|
7611
7603
|
for (var q in w) {
|
|
7612
7604
|
var B = w[q];
|
|
7613
7605
|
if (typeof B != "function")
|
|
7614
|
-
return z(C, T, O, q,
|
|
7606
|
+
return z(C, T, O, q, G(B));
|
|
7615
7607
|
var ae = B(M, q, C, T, O + "." + q, n);
|
|
7616
7608
|
if (ae)
|
|
7617
7609
|
return ae;
|
|
@@ -7629,7 +7621,7 @@ function ud() {
|
|
|
7629
7621
|
for (var B in q) {
|
|
7630
7622
|
var ae = w[B];
|
|
7631
7623
|
if (a(w, B) && typeof ae != "function")
|
|
7632
|
-
return z(C, T, O, B,
|
|
7624
|
+
return z(C, T, O, B, G(ae));
|
|
7633
7625
|
if (!ae)
|
|
7634
7626
|
return new I(
|
|
7635
7627
|
"Invalid " + T + " `" + O + "` key `" + B + "` supplied to `" + C + "`.\nBad object: " + JSON.stringify(F[U], null, " ") + `
|
|
@@ -7643,7 +7635,7 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
7643
7635
|
}
|
|
7644
7636
|
return b(N);
|
|
7645
7637
|
}
|
|
7646
|
-
function
|
|
7638
|
+
function W(w) {
|
|
7647
7639
|
switch (typeof w) {
|
|
7648
7640
|
case "number":
|
|
7649
7641
|
case "string":
|
|
@@ -7653,7 +7645,7 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
7653
7645
|
return !w;
|
|
7654
7646
|
case "object":
|
|
7655
7647
|
if (Array.isArray(w))
|
|
7656
|
-
return w.every(
|
|
7648
|
+
return w.every(W);
|
|
7657
7649
|
if (w === null || i(w))
|
|
7658
7650
|
return !0;
|
|
7659
7651
|
var N = h(w);
|
|
@@ -7661,12 +7653,12 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
7661
7653
|
var F = N.call(w), U;
|
|
7662
7654
|
if (N !== w.entries) {
|
|
7663
7655
|
for (; !(U = F.next()).done; )
|
|
7664
|
-
if (!
|
|
7656
|
+
if (!W(U.value))
|
|
7665
7657
|
return !1;
|
|
7666
7658
|
} else
|
|
7667
7659
|
for (; !(U = F.next()).done; ) {
|
|
7668
7660
|
var C = U.value;
|
|
7669
|
-
if (C && !
|
|
7661
|
+
if (C && !W(C[1]))
|
|
7670
7662
|
return !1;
|
|
7671
7663
|
}
|
|
7672
7664
|
} else
|
|
@@ -7683,7 +7675,7 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
7683
7675
|
var N = typeof w;
|
|
7684
7676
|
return Array.isArray(w) ? "array" : w instanceof RegExp ? "object" : oe(N, w) ? "symbol" : N;
|
|
7685
7677
|
}
|
|
7686
|
-
function
|
|
7678
|
+
function G(w) {
|
|
7687
7679
|
if (typeof w > "u" || w === null)
|
|
7688
7680
|
return "" + w;
|
|
7689
7681
|
var N = J(w);
|
|
@@ -7696,7 +7688,7 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
7696
7688
|
return N;
|
|
7697
7689
|
}
|
|
7698
7690
|
function Z(w) {
|
|
7699
|
-
var N =
|
|
7691
|
+
var N = G(w);
|
|
7700
7692
|
switch (N) {
|
|
7701
7693
|
case "array":
|
|
7702
7694
|
case "object":
|
|
@@ -7713,19 +7705,19 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
7713
7705
|
return !w.constructor || !w.constructor.name ? y : w.constructor.name;
|
|
7714
7706
|
}
|
|
7715
7707
|
return x.checkPropTypes = o, x.resetWarningCache = o.resetWarningCache, x.PropTypes = x, x;
|
|
7716
|
-
},
|
|
7708
|
+
}, Xt;
|
|
7717
7709
|
}
|
|
7718
|
-
var
|
|
7710
|
+
var Jt, or;
|
|
7719
7711
|
function dd() {
|
|
7720
7712
|
if (or)
|
|
7721
|
-
return
|
|
7713
|
+
return Jt;
|
|
7722
7714
|
or = 1;
|
|
7723
7715
|
var e = d0();
|
|
7724
7716
|
function t() {
|
|
7725
7717
|
}
|
|
7726
7718
|
function n() {
|
|
7727
7719
|
}
|
|
7728
|
-
return n.resetWarningCache = t,
|
|
7720
|
+
return n.resetWarningCache = t, Jt = function() {
|
|
7729
7721
|
function a(s, i, f, m, g, h) {
|
|
7730
7722
|
if (h !== e) {
|
|
7731
7723
|
var y = new Error(
|
|
@@ -7762,16 +7754,16 @@ function dd() {
|
|
|
7762
7754
|
resetWarningCache: t
|
|
7763
7755
|
};
|
|
7764
7756
|
return r.PropTypes = r, r;
|
|
7765
|
-
},
|
|
7757
|
+
}, Jt;
|
|
7766
7758
|
}
|
|
7767
7759
|
if (process.env.NODE_ENV !== "production") {
|
|
7768
7760
|
var pd = pa(), fd = !0;
|
|
7769
|
-
|
|
7761
|
+
on.exports = ud()(pd.isElement, fd);
|
|
7770
7762
|
} else
|
|
7771
|
-
|
|
7772
|
-
var gd =
|
|
7763
|
+
on.exports = dd()();
|
|
7764
|
+
var gd = on.exports;
|
|
7773
7765
|
const A = /* @__PURE__ */ ne(gd);
|
|
7774
|
-
var
|
|
7766
|
+
var sn = { exports: {} }, le = {};
|
|
7775
7767
|
/**
|
|
7776
7768
|
* @license React
|
|
7777
7769
|
* react-is.production.min.js
|
|
@@ -7904,7 +7896,7 @@ function hd() {
|
|
|
7904
7896
|
}
|
|
7905
7897
|
}
|
|
7906
7898
|
}
|
|
7907
|
-
var v = s, _ = r, E = e, S = f, L = n, z = y, V = h, Y = t,
|
|
7899
|
+
var v = s, _ = r, E = e, S = f, L = n, z = y, V = h, Y = t, W = o, oe = a, J = m, G = g, Z = !1, te = !1;
|
|
7908
7900
|
function w(P) {
|
|
7909
7901
|
return Z || (Z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
7910
7902
|
}
|
|
@@ -7947,12 +7939,12 @@ function hd() {
|
|
|
7947
7939
|
function ue(P) {
|
|
7948
7940
|
return d(P) === g;
|
|
7949
7941
|
}
|
|
7950
|
-
ce.ContextConsumer = v, ce.ContextProvider = _, ce.Element = E, ce.ForwardRef = S, ce.Fragment = L, ce.Lazy = z, ce.Memo = V, ce.Portal = Y, ce.Profiler =
|
|
7942
|
+
ce.ContextConsumer = v, ce.ContextProvider = _, ce.Element = E, ce.ForwardRef = S, ce.Fragment = L, ce.Lazy = z, ce.Memo = V, ce.Portal = Y, ce.Profiler = W, ce.StrictMode = oe, ce.Suspense = J, ce.SuspenseList = G, ce.isAsyncMode = w, ce.isConcurrentMode = N, ce.isContextConsumer = F, ce.isContextProvider = U, ce.isElement = C, ce.isForwardRef = T, ce.isFragment = O, ce.isLazy = M, ce.isMemo = H, ce.isPortal = q, ce.isProfiler = B, ce.isStrictMode = ae, ce.isSuspense = D, ce.isSuspenseList = ue, ce.isValidElementType = p, ce.typeOf = d;
|
|
7951
7943
|
}()), ce;
|
|
7952
7944
|
}
|
|
7953
|
-
process.env.NODE_ENV === "production" ?
|
|
7954
|
-
var lr =
|
|
7955
|
-
const cr = (e) => typeof e == "object" && e != null && e.nodeType === 1, ur = (e, t) => (!t || e !== "hidden") && e !== "visible" && e !== "clip",
|
|
7945
|
+
process.env.NODE_ENV === "production" ? sn.exports = md() : sn.exports = hd();
|
|
7946
|
+
var lr = sn.exports;
|
|
7947
|
+
const cr = (e) => typeof e == "object" && e != null && e.nodeType === 1, ur = (e, t) => (!t || e !== "hidden") && e !== "visible" && e !== "clip", Qt = (e, t) => {
|
|
7956
7948
|
if (e.clientHeight < e.scrollHeight || e.clientWidth < e.scrollWidth) {
|
|
7957
7949
|
const n = getComputedStyle(e, null);
|
|
7958
7950
|
return ur(n.overflowY, t) || ur(n.overflowX, t) || ((a) => {
|
|
@@ -7986,29 +7978,29 @@ const cr = (e) => typeof e == "object" && e != null && e.nodeType === 1, ur = (e
|
|
|
7986
7978
|
x.push(k);
|
|
7987
7979
|
break;
|
|
7988
7980
|
}
|
|
7989
|
-
k != null && k === document.body &&
|
|
7981
|
+
k != null && k === document.body && Qt(k) && !Qt(document.documentElement) || k != null && Qt(k, g) && x.push(k);
|
|
7990
7982
|
}
|
|
7991
7983
|
const I = (a = (n = window.visualViewport) == null ? void 0 : n.width) != null ? a : innerWidth, b = (r = (o = window.visualViewport) == null ? void 0 : o.height) != null ? r : innerHeight, { scrollX: R, scrollY: u } = window, { height: c, width: p, top: d, right: v, bottom: _, left: E } = e.getBoundingClientRect(), { top: S, right: L, bottom: z, left: V } = ((J) => {
|
|
7992
|
-
const
|
|
7993
|
-
return { top: parseFloat(
|
|
7984
|
+
const G = window.getComputedStyle(J);
|
|
7985
|
+
return { top: parseFloat(G.scrollMarginTop) || 0, right: parseFloat(G.scrollMarginRight) || 0, bottom: parseFloat(G.scrollMarginBottom) || 0, left: parseFloat(G.scrollMarginLeft) || 0 };
|
|
7994
7986
|
})(e);
|
|
7995
|
-
let Y = i === "start" || i === "nearest" ? d - S : i === "end" ? _ + z : d + c / 2 - S + z,
|
|
7987
|
+
let Y = i === "start" || i === "nearest" ? d - S : i === "end" ? _ + z : d + c / 2 - S + z, W = f === "center" ? E + p / 2 - V + L : f === "end" ? v + L : E - V;
|
|
7996
7988
|
const oe = [];
|
|
7997
7989
|
for (let J = 0; J < x.length; J++) {
|
|
7998
|
-
const
|
|
7990
|
+
const G = x[J], { height: Z, width: te, top: w, right: N, bottom: F, left: U } = G.getBoundingClientRect();
|
|
7999
7991
|
if (s === "if-needed" && d >= 0 && E >= 0 && _ <= b && v <= I && d >= w && _ <= F && E >= U && v <= N)
|
|
8000
7992
|
return oe;
|
|
8001
|
-
const C = getComputedStyle(
|
|
7993
|
+
const C = getComputedStyle(G), T = parseInt(C.borderLeftWidth, 10), O = parseInt(C.borderTopWidth, 10), M = parseInt(C.borderRightWidth, 10), H = parseInt(C.borderBottomWidth, 10);
|
|
8002
7994
|
let q = 0, B = 0;
|
|
8003
|
-
const ae = "offsetWidth" in
|
|
8004
|
-
if (y ===
|
|
8005
|
-
q = i === "start" ? Y : i === "end" ? Y - b : i === "nearest" ? Ct(u, u + b, b, O, H, u + Y, u + Y + c, c) : Y - b / 2, B = f === "start" ?
|
|
7995
|
+
const ae = "offsetWidth" in G ? G.offsetWidth - G.clientWidth - T - M : 0, D = "offsetHeight" in G ? G.offsetHeight - G.clientHeight - O - H : 0, ue = "offsetWidth" in G ? G.offsetWidth === 0 ? 0 : te / G.offsetWidth : 0, P = "offsetHeight" in G ? G.offsetHeight === 0 ? 0 : Z / G.offsetHeight : 0;
|
|
7996
|
+
if (y === G)
|
|
7997
|
+
q = i === "start" ? Y : i === "end" ? Y - b : i === "nearest" ? Ct(u, u + b, b, O, H, u + Y, u + Y + c, c) : Y - b / 2, B = f === "start" ? W : f === "center" ? W - I / 2 : f === "end" ? W - I : Ct(R, R + I, I, T, M, R + W, R + W + p, p), q = Math.max(0, q + u), B = Math.max(0, B + R);
|
|
8006
7998
|
else {
|
|
8007
|
-
q = i === "start" ? Y - w - O : i === "end" ? Y - F + H + D : i === "nearest" ? Ct(w, F, Z, O, H + D, Y, Y + c, c) : Y - (w + Z / 2) + D / 2, B = f === "start" ?
|
|
8008
|
-
const { scrollLeft: we, scrollTop: ye } =
|
|
8009
|
-
q = P === 0 ? 0 : Math.max(0, Math.min(ye + q / P,
|
|
7999
|
+
q = i === "start" ? Y - w - O : i === "end" ? Y - F + H + D : i === "nearest" ? Ct(w, F, Z, O, H + D, Y, Y + c, c) : Y - (w + Z / 2) + D / 2, B = f === "start" ? W - U - T : f === "center" ? W - (U + te / 2) + ae / 2 : f === "end" ? W - N + M + ae : Ct(U, N, te, T, M + ae, W, W + p, p);
|
|
8000
|
+
const { scrollLeft: we, scrollTop: ye } = G;
|
|
8001
|
+
q = P === 0 ? 0 : Math.max(0, Math.min(ye + q / P, G.scrollHeight - Z / P + D)), B = ue === 0 ? 0 : Math.max(0, Math.min(we + B / ue, G.scrollWidth - te / ue + ae)), Y += ye - q, W += we - B;
|
|
8010
8002
|
}
|
|
8011
|
-
oe.push({ el:
|
|
8003
|
+
oe.push({ el: G, top: q, left: B });
|
|
8012
8004
|
}
|
|
8013
8005
|
return oe;
|
|
8014
8006
|
};
|
|
@@ -8117,7 +8109,7 @@ function Dt(e, t) {
|
|
|
8117
8109
|
function $t(e, t) {
|
|
8118
8110
|
return e[t] !== void 0;
|
|
8119
8111
|
}
|
|
8120
|
-
function
|
|
8112
|
+
function ln(e) {
|
|
8121
8113
|
var t = e.key, n = e.keyCode;
|
|
8122
8114
|
return n >= 37 && n <= 40 && t.indexOf("Arrow") !== 0 ? "Arrow" + t : t;
|
|
8123
8115
|
}
|
|
@@ -8183,7 +8175,7 @@ function _a(e, t) {
|
|
|
8183
8175
|
n.textContent = e, xd(t);
|
|
8184
8176
|
}
|
|
8185
8177
|
}
|
|
8186
|
-
var wa = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, Ea = process.env.NODE_ENV !== "production" ? "__autocomplete_mouseup__" : 1, xa = process.env.NODE_ENV !== "production" ? "__autocomplete_item_mouseenter__" : 2, Tt = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_up__" : 3, Rt = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_down__" : 4, Sa = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_escape__" : 5, Ia = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_enter__" : 6, ka = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_home__" : 7, Na = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_end__" : 8, Ca = process.env.NODE_ENV !== "production" ? "__autocomplete_click_item__" : 9, Oa = process.env.NODE_ENV !== "production" ? "__autocomplete_blur_input__" : 10, Aa = process.env.NODE_ENV !== "production" ? "__autocomplete_change_input__" : 11, Ta = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_space_button__" : 12,
|
|
8178
|
+
var wa = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, Ea = process.env.NODE_ENV !== "production" ? "__autocomplete_mouseup__" : 1, xa = process.env.NODE_ENV !== "production" ? "__autocomplete_item_mouseenter__" : 2, Tt = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_up__" : 3, Rt = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_down__" : 4, Sa = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_escape__" : 5, Ia = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_enter__" : 6, ka = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_home__" : 7, Na = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_end__" : 8, Ca = process.env.NODE_ENV !== "production" ? "__autocomplete_click_item__" : 9, Oa = process.env.NODE_ENV !== "production" ? "__autocomplete_blur_input__" : 10, Aa = process.env.NODE_ENV !== "production" ? "__autocomplete_change_input__" : 11, Ta = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_space_button__" : 12, cn = process.env.NODE_ENV !== "production" ? "__autocomplete_click_button__" : 13, Ra = process.env.NODE_ENV !== "production" ? "__autocomplete_blur_button__" : 14, Da = process.env.NODE_ENV !== "production" ? "__autocomplete_controlled_prop_updated_selected_item__" : 15, $a = process.env.NODE_ENV !== "production" ? "__autocomplete_touchend__" : 16, Sd = /* @__PURE__ */ Object.freeze({
|
|
8187
8179
|
__proto__: null,
|
|
8188
8180
|
unknown: wa,
|
|
8189
8181
|
mouseUp: Ea,
|
|
@@ -8198,7 +8190,7 @@ var wa = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
8198
8190
|
blurInput: Oa,
|
|
8199
8191
|
changeInput: Aa,
|
|
8200
8192
|
keyDownSpaceButton: Ta,
|
|
8201
|
-
clickButton:
|
|
8193
|
+
clickButton: cn,
|
|
8202
8194
|
blurButton: Ra,
|
|
8203
8195
|
controlledPropUpdatedSelectedItem: Da,
|
|
8204
8196
|
touchEnd: $a
|
|
@@ -8267,8 +8259,8 @@ var wa = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
8267
8259
|
}, r.getRootProps = function(u, c) {
|
|
8268
8260
|
var p, d = u === void 0 ? {} : u, v = d.refKey, _ = v === void 0 ? "ref" : v, E = d.ref, S = Re(d, Id), L = c === void 0 ? {} : c, z = L.suppressRefError, V = z === void 0 ? !1 : z;
|
|
8269
8261
|
r.getRootProps.called = !0, r.getRootProps.refKey = _, r.getRootProps.suppressRefError = V;
|
|
8270
|
-
var Y = r.getState(),
|
|
8271
|
-
return X((p = {}, p[_] = nt(E, r.rootRef), p.role = "combobox", p["aria-expanded"] =
|
|
8262
|
+
var Y = r.getState(), W = Y.isOpen;
|
|
8263
|
+
return X((p = {}, p[_] = nt(E, r.rootRef), p.role = "combobox", p["aria-expanded"] = W, p["aria-haspopup"] = "listbox", p["aria-owns"] = W ? r.menuId : void 0, p["aria-labelledby"] = r.labelId, p), S);
|
|
8272
8264
|
}, r.keyDownHandlers = {
|
|
8273
8265
|
ArrowDown: function(c) {
|
|
8274
8266
|
var p = this;
|
|
@@ -8394,7 +8386,7 @@ var wa = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
8394
8386
|
}, r.buttonHandleKeyUp = function(u) {
|
|
8395
8387
|
u.preventDefault();
|
|
8396
8388
|
}, r.buttonHandleKeyDown = function(u) {
|
|
8397
|
-
var c =
|
|
8389
|
+
var c = ln(u);
|
|
8398
8390
|
r.buttonKeyDownHandlers[c] && r.buttonKeyDownHandlers[c].call(Z0(r), u);
|
|
8399
8391
|
}, r.buttonHandleClick = function(u) {
|
|
8400
8392
|
if (u.preventDefault(), r.props.environment) {
|
|
@@ -8402,10 +8394,10 @@ var wa = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
8402
8394
|
p && p === d && u.target.focus();
|
|
8403
8395
|
}
|
|
8404
8396
|
process.env.NODE_ENV === "test" ? r.toggleMenu({
|
|
8405
|
-
type:
|
|
8397
|
+
type: cn
|
|
8406
8398
|
}) : r.internalSetTimeout(function() {
|
|
8407
8399
|
return r.toggleMenu({
|
|
8408
|
-
type:
|
|
8400
|
+
type: cn
|
|
8409
8401
|
});
|
|
8410
8402
|
});
|
|
8411
8403
|
}, r.buttonHandleBlur = function(u) {
|
|
@@ -8428,14 +8420,14 @@ var wa = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
8428
8420
|
c.onChangeText;
|
|
8429
8421
|
var E = Re(c, Nd), S, L = {};
|
|
8430
8422
|
S = "onChange";
|
|
8431
|
-
var z = r.getState(), V = z.inputValue, Y = z.isOpen,
|
|
8423
|
+
var z = r.getState(), V = z.inputValue, Y = z.isOpen, W = z.highlightedIndex;
|
|
8432
8424
|
if (!E.disabled) {
|
|
8433
8425
|
var oe;
|
|
8434
8426
|
L = (oe = {}, oe[S] = fe(v, _, r.inputHandleChange), oe.onKeyDown = fe(p, r.inputHandleKeyDown), oe.onBlur = fe(d, r.inputHandleBlur), oe);
|
|
8435
8427
|
}
|
|
8436
8428
|
return X({
|
|
8437
8429
|
"aria-autocomplete": "list",
|
|
8438
|
-
"aria-activedescendant": Y && typeof
|
|
8430
|
+
"aria-activedescendant": Y && typeof W == "number" && W >= 0 ? r.getItemId(W) : void 0,
|
|
8439
8431
|
"aria-controls": Y ? r.menuId : void 0,
|
|
8440
8432
|
"aria-labelledby": E && E["aria-label"] ? void 0 : r.labelId,
|
|
8441
8433
|
// https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion
|
|
@@ -8445,7 +8437,7 @@ var wa = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
8445
8437
|
id: r.inputId
|
|
8446
8438
|
}, L, E);
|
|
8447
8439
|
}, r.inputHandleKeyDown = function(u) {
|
|
8448
|
-
var c =
|
|
8440
|
+
var c = ln(u);
|
|
8449
8441
|
c && r.inputKeyDownHandlers[c] && r.inputKeyDownHandlers[c].call(Z0(r), u);
|
|
8450
8442
|
}, r.inputHandleChange = function(u) {
|
|
8451
8443
|
r.internalSetState({
|
|
@@ -8477,7 +8469,7 @@ var wa = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
8477
8469
|
void 0
|
|
8478
8470
|
) : _d("getItemProps", "item") : S, z = Re(p, Od);
|
|
8479
8471
|
E === void 0 ? (r.items.push(L), E = r.items.indexOf(L)) : r.items[E] = L;
|
|
8480
|
-
var V = "onClick", Y = _,
|
|
8472
|
+
var V = "onClick", Y = _, W = (c = {
|
|
8481
8473
|
// onMouseMove is used over onMouseEnter here. onMouseMove
|
|
8482
8474
|
// is only triggered on actual mouse movement while onMouseEnter
|
|
8483
8475
|
// can fire on DOM changes, interrupting keyboard navigation
|
|
@@ -8496,8 +8488,8 @@ var wa = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
8496
8488
|
type: Ca
|
|
8497
8489
|
});
|
|
8498
8490
|
}), c), oe = z.disabled ? {
|
|
8499
|
-
onMouseDown:
|
|
8500
|
-
} :
|
|
8491
|
+
onMouseDown: W.onMouseDown
|
|
8492
|
+
} : W;
|
|
8501
8493
|
return X({
|
|
8502
8494
|
id: r.getItemId(E),
|
|
8503
8495
|
role: "option",
|
|
@@ -8580,7 +8572,7 @@ var wa = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
8580
8572
|
this.setHighlightedIndex(g, s);
|
|
8581
8573
|
}
|
|
8582
8574
|
}, a.getStateAndHelpers = function() {
|
|
8583
|
-
var r = this.getState(), s = r.highlightedIndex, i = r.inputValue, f = r.selectedItem, m = r.isOpen, g = this.props.itemToString, h = this.id, y = this.getRootProps, x = this.getToggleButtonProps, k = this.getLabelProps, I = this.getMenuProps, b = this.getInputProps, R = this.getItemProps, u = this.openMenu, c = this.closeMenu, p = this.toggleMenu, d = this.selectItem, v = this.selectItemAtIndex, _ = this.selectHighlightedItem, E = this.setHighlightedIndex, S = this.clearSelection, L = this.clearItems, z = this.reset, V = this.setItemCount, Y = this.unsetItemCount,
|
|
8575
|
+
var r = this.getState(), s = r.highlightedIndex, i = r.inputValue, f = r.selectedItem, m = r.isOpen, g = this.props.itemToString, h = this.id, y = this.getRootProps, x = this.getToggleButtonProps, k = this.getLabelProps, I = this.getMenuProps, b = this.getInputProps, R = this.getItemProps, u = this.openMenu, c = this.closeMenu, p = this.toggleMenu, d = this.selectItem, v = this.selectItemAtIndex, _ = this.selectHighlightedItem, E = this.setHighlightedIndex, S = this.clearSelection, L = this.clearItems, z = this.reset, V = this.setItemCount, Y = this.unsetItemCount, W = this.internalSetState;
|
|
8584
8576
|
return {
|
|
8585
8577
|
// prop getters
|
|
8586
8578
|
getRootProps: y,
|
|
@@ -8602,7 +8594,7 @@ var wa = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
8602
8594
|
clearItems: L,
|
|
8603
8595
|
setItemCount: V,
|
|
8604
8596
|
unsetItemCount: Y,
|
|
8605
|
-
setState:
|
|
8597
|
+
setState: W,
|
|
8606
8598
|
// props
|
|
8607
8599
|
itemToString: g,
|
|
8608
8600
|
// derived
|
|
@@ -9379,12 +9371,12 @@ function C0(e) {
|
|
|
9379
9371
|
type: Ba
|
|
9380
9372
|
});
|
|
9381
9373
|
}), O), D);
|
|
9382
|
-
}, [g, L, p]),
|
|
9374
|
+
}, [g, L, p]), W = _e(function(C) {
|
|
9383
9375
|
var T, O, M = C === void 0 ? {} : C, H = M.item, q = M.index, B = M.refKey, ae = B === void 0 ? "ref" : B, D = M.ref, ue = M.onMouseMove, P = M.onMouseDown, we = M.onClick;
|
|
9384
9376
|
M.onPress;
|
|
9385
9377
|
var ye = M.disabled, Xe = Re(M, tp);
|
|
9386
9378
|
ye !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');
|
|
9387
|
-
var st = v.current, _t = st.props, Pe = st.state, wt = jd(H, q, _t.items, "Pass either item or index to getItemProps!"),
|
|
9379
|
+
var st = v.current, _t = st.props, Pe = st.state, wt = jd(H, q, _t.items, "Pass either item or index to getItemProps!"), Bt = wt[0], Fe = wt[1], lt = _t.isItemDisabled(Bt, Fe), Vt = "onClick", Et = we, Be = function() {
|
|
9388
9380
|
Fe !== Pe.highlightedIndex && (E.current = !1, g({
|
|
9389
9381
|
type: Va,
|
|
9390
9382
|
index: Fe,
|
|
@@ -9400,7 +9392,7 @@ function C0(e) {
|
|
|
9400
9392
|
};
|
|
9401
9393
|
return X((T = {}, T[ae] = nt(D, function(Te) {
|
|
9402
9394
|
Te && (b.current[p.getItemId(Fe)] = Te);
|
|
9403
|
-
}), T["aria-disabled"] = lt, T["aria-selected"] = "" + (Fe === Pe.highlightedIndex), T.id = p.getItemId(Fe), T.role = "option", T), !lt && (O = {}, O[
|
|
9395
|
+
}), T["aria-disabled"] = lt, T["aria-selected"] = "" + (Fe === Pe.highlightedIndex), T.id = p.getItemId(Fe), T.role = "option", T), !lt && (O = {}, O[Vt] = fe(Et, We), O), {
|
|
9404
9396
|
onMouseMove: fe(ue, Be),
|
|
9405
9397
|
onMouseDown: fe(P, Ve)
|
|
9406
9398
|
}, Xe);
|
|
@@ -9423,9 +9415,9 @@ function C0(e) {
|
|
|
9423
9415
|
var D = M.onClick, ue = M.refKey, P = ue === void 0 ? "ref" : ue, we = M.ref, ye = Re(M, rp), Xe = T === void 0 ? {} : T, st = Xe.suppressRefError, _t = st === void 0 ? !1 : st;
|
|
9424
9416
|
L("getInputProps", _t, P, R);
|
|
9425
9417
|
var Pe = v.current.state, wt = function(Ve) {
|
|
9426
|
-
var Te =
|
|
9418
|
+
var Te = ln(Ve);
|
|
9427
9419
|
Te && z[Te] && z[Te](Ve);
|
|
9428
|
-
},
|
|
9420
|
+
}, Bt = function(Ve) {
|
|
9429
9421
|
g({
|
|
9430
9422
|
type: x0,
|
|
9431
9423
|
inputValue: Ve.target.value
|
|
@@ -9442,15 +9434,15 @@ function C0(e) {
|
|
|
9442
9434
|
g({
|
|
9443
9435
|
type: S0
|
|
9444
9436
|
});
|
|
9445
|
-
},
|
|
9437
|
+
}, Vt = "onChange", Et = {};
|
|
9446
9438
|
if (!ye.disabled) {
|
|
9447
9439
|
var Be;
|
|
9448
|
-
Et = (Be = {}, Be[
|
|
9440
|
+
Et = (Be = {}, Be[Vt] = fe(q, B, Bt), Be.onKeyDown = fe(H, wt), Be.onBlur = fe(ae, Fe), Be.onClick = fe(D, lt), Be);
|
|
9449
9441
|
}
|
|
9450
9442
|
return X((O = {}, O[P] = nt(we, function(We) {
|
|
9451
9443
|
R.current = We;
|
|
9452
9444
|
}), O["aria-activedescendant"] = Pe.isOpen && Pe.highlightedIndex > -1 ? p.getItemId(Pe.highlightedIndex) : "", O["aria-autocomplete"] = "list", O["aria-controls"] = p.menuId, O["aria-expanded"] = Pe.isOpen, O["aria-labelledby"] = ye && ye["aria-label"] ? void 0 : p.labelId, O.autoComplete = "off", O.id = p.inputId, O.role = "combobox", O.value = Pe.inputValue, O), Et, ye);
|
|
9453
|
-
}, [L, v, p, z, g, S, o]),
|
|
9445
|
+
}, [L, v, p, z, g, S, o]), G = _e(function() {
|
|
9454
9446
|
g({
|
|
9455
9447
|
type: Ua
|
|
9456
9448
|
});
|
|
@@ -9484,13 +9476,13 @@ function C0(e) {
|
|
|
9484
9476
|
}, [g]);
|
|
9485
9477
|
return {
|
|
9486
9478
|
// prop getters.
|
|
9487
|
-
getItemProps:
|
|
9479
|
+
getItemProps: W,
|
|
9488
9480
|
getLabelProps: V,
|
|
9489
9481
|
getMenuProps: Y,
|
|
9490
9482
|
getInputProps: J,
|
|
9491
9483
|
getToggleButtonProps: oe,
|
|
9492
9484
|
// actions.
|
|
9493
|
-
toggleMenu:
|
|
9485
|
+
toggleMenu: G,
|
|
9494
9486
|
openMenu: te,
|
|
9495
9487
|
closeMenu: Z,
|
|
9496
9488
|
setHighlightedIndex: w,
|
|
@@ -9550,7 +9542,7 @@ const Ja = ke(
|
|
|
9550
9542
|
t.map(({ slug: m, title: g, date: h, authors: y, link: x }, k) => {
|
|
9551
9543
|
const I = s === k;
|
|
9552
9544
|
return /* @__PURE__ */ l(me.Fragment, { children: /* @__PURE__ */ $(
|
|
9553
|
-
|
|
9545
|
+
K,
|
|
9554
9546
|
{
|
|
9555
9547
|
alignItems: "center",
|
|
9556
9548
|
gap: "xxs",
|
|
@@ -9666,7 +9658,7 @@ const Tp = ({
|
|
|
9666
9658
|
autocomplete: i,
|
|
9667
9659
|
onToggleMenu: f,
|
|
9668
9660
|
menuIsOpen: m = !1
|
|
9669
|
-
}) => /* @__PURE__ */ $(
|
|
9661
|
+
}) => /* @__PURE__ */ $(K, { as: "header", justifyContent: "between", alignItems: "center", bg: "white", p: "m", className: "header", children: [
|
|
9670
9662
|
/* @__PURE__ */ l(j, { as: "a", ...e, color: "primary", children: /* @__PURE__ */ l(Sr, { name: "blog", className: "header__logo" }) }),
|
|
9671
9663
|
/* @__PURE__ */ $(j, { className: re("header__menu", { "header__menu--is-open": m }), children: [
|
|
9672
9664
|
t.map(({ label: g, ...h }, y) => /* @__PURE__ */ l(Ke, { as: "a", ...h, "data-internal-link": "category", className: "header__menu-item", children: g }, y)),
|
|
@@ -9674,7 +9666,7 @@ const Tp = ({
|
|
|
9674
9666
|
/* @__PURE__ */ l(j, { className: "header__separator" }),
|
|
9675
9667
|
/* @__PURE__ */ l(j, { as: "a", ...o, "data-internal-link": "category", className: "header__menu-item", children: a })
|
|
9676
9668
|
] }),
|
|
9677
|
-
/* @__PURE__ */ l(
|
|
9669
|
+
/* @__PURE__ */ l(K, { justifyContent: "center", alignItems: "center", mt: "m", hiddenAbove: "md", children: /* @__PURE__ */ l(Me, { as: "a", ...s, children: r }) })
|
|
9678
9670
|
] }),
|
|
9679
9671
|
/* @__PURE__ */ l(Qa, { hiddenBelow: "md", ...i }),
|
|
9680
9672
|
m ? /* @__PURE__ */ l(ra, { hiddenAbove: "md", onClick: f }) : /* @__PURE__ */ l(W1, { hiddenAbove: "md", onClick: f })
|
|
@@ -9697,7 +9689,7 @@ const op = ({
|
|
|
9697
9689
|
className: "footer",
|
|
9698
9690
|
children: [
|
|
9699
9691
|
/* @__PURE__ */ $(
|
|
9700
|
-
|
|
9692
|
+
K,
|
|
9701
9693
|
{
|
|
9702
9694
|
flexDirection: { xs: "column", md: "row" },
|
|
9703
9695
|
justifyContent: "center",
|
|
@@ -9713,7 +9705,7 @@ const op = ({
|
|
|
9713
9705
|
}
|
|
9714
9706
|
),
|
|
9715
9707
|
/* @__PURE__ */ $(
|
|
9716
|
-
|
|
9708
|
+
K,
|
|
9717
9709
|
{
|
|
9718
9710
|
flexDirection: { xs: "column", md: "row" },
|
|
9719
9711
|
justifyContent: "around",
|
|
@@ -9722,13 +9714,13 @@ const op = ({
|
|
|
9722
9714
|
pb: { xs: "l", md: "xl" },
|
|
9723
9715
|
mx: "s",
|
|
9724
9716
|
children: [
|
|
9725
|
-
/* @__PURE__ */ l(j, { mb: "xl", children: /* @__PURE__ */ l(
|
|
9717
|
+
/* @__PURE__ */ l(j, { mb: "xl", children: /* @__PURE__ */ l(K, { justifyContent: { xs: "center", md: "start" }, alignItems: "center", mb: "xxs", children: /* @__PURE__ */ l(Sr, { name: "website", size: "2.5em" }) }) }),
|
|
9726
9718
|
/* @__PURE__ */ $(j, { children: [
|
|
9727
|
-
/* @__PURE__ */ l(
|
|
9719
|
+
/* @__PURE__ */ l(K, { flexDirection: { xs: "column", md: "row" }, gap: { md: "xl" }, children: o.map((i, f) => /* @__PURE__ */ $(j, { mb: "m", children: [
|
|
9728
9720
|
i.title && /* @__PURE__ */ l(Q, { fontWeight: "bold", mb: "xxs-2", children: i.title }),
|
|
9729
9721
|
i.description
|
|
9730
9722
|
] }, f)) }),
|
|
9731
|
-
/* @__PURE__ */ $(
|
|
9723
|
+
/* @__PURE__ */ $(K, { justifyContent: { xs: "center", md: "start" }, alignItems: "center", flexWrap: "wrap", gap: "s", children: [
|
|
9732
9724
|
r.map(({ iconName: i, ...f }, m) => /* @__PURE__ */ l(
|
|
9733
9725
|
"a",
|
|
9734
9726
|
{
|
|
@@ -9757,7 +9749,7 @@ const op = ({
|
|
|
9757
9749
|
]
|
|
9758
9750
|
}
|
|
9759
9751
|
),
|
|
9760
|
-
/* @__PURE__ */ $(
|
|
9752
|
+
/* @__PURE__ */ $(K, { py: "s", justifyContent: "center", alignItems: "center", className: "footer__language-links-container", children: [
|
|
9761
9753
|
/* @__PURE__ */ l(j, { mr: "xxs", children: /* @__PURE__ */ l(be, { size: "28px", name: "language" }) }),
|
|
9762
9754
|
s.map(({ label: i, isActive: f, ...m }, g) => /* @__PURE__ */ $(me.Fragment, { children: [
|
|
9763
9755
|
f ? /* @__PURE__ */ l(Q, { fontWeight: "bold", children: i }) : /* @__PURE__ */ l(Ke, { ...m, "data-internal-link": "home", children: i }),
|
|
@@ -9774,8 +9766,8 @@ const ip = ({
|
|
|
9774
9766
|
...o
|
|
9775
9767
|
}) => /* @__PURE__ */ $(j, { ...o, my: "xl", className: "last-articles-block container-content", children: [
|
|
9776
9768
|
/* @__PURE__ */ l(ge, { size: "m", color: "primary", children: e }),
|
|
9777
|
-
/* @__PURE__ */ l(
|
|
9778
|
-
/* @__PURE__ */ l(
|
|
9769
|
+
/* @__PURE__ */ l(K, { mt: "l", gap: "m", className: "last-articles-block__post-list", children: t.map((r, s) => /* @__PURE__ */ l(me.Fragment, { children: /* @__PURE__ */ l(zt, { variant: "highlight-light", ...r || {} }) }, (r == null ? void 0 : r.slug) ?? s)) }),
|
|
9770
|
+
/* @__PURE__ */ l(K, { justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ l(Me, { mt: "l", as: "a", ...a, children: n }) })
|
|
9779
9771
|
] });
|
|
9780
9772
|
const sp = ({
|
|
9781
9773
|
title: e,
|
|
@@ -9785,7 +9777,7 @@ const sp = ({
|
|
|
9785
9777
|
linkSeeMore: { label: o, ...r },
|
|
9786
9778
|
...s
|
|
9787
9779
|
}) => /* @__PURE__ */ l(j, { bg: "primary", color: "white", children: /* @__PURE__ */ $(
|
|
9788
|
-
|
|
9780
|
+
K,
|
|
9789
9781
|
{
|
|
9790
9782
|
flexDirection: { xs: "column", md: "row" },
|
|
9791
9783
|
justifyContent: "center",
|
|
@@ -9802,24 +9794,24 @@ const sp = ({
|
|
|
9802
9794
|
/* @__PURE__ */ l(Q, { mt: "l", children: t }),
|
|
9803
9795
|
/* @__PURE__ */ l(Me, { mt: "l", as: "a", variant: "accent", ...r, children: o })
|
|
9804
9796
|
] }),
|
|
9805
|
-
/* @__PURE__ */ l(
|
|
9797
|
+
/* @__PURE__ */ l(K, { gap: "l", className: "last-tutorials-block__post-list", children: a.map((i, f) => /* @__PURE__ */ l(me.Fragment, { children: /* @__PURE__ */ l(zt, { variant: "highlight-dark", tutorialLabel: n, ...i || {} }) }, (i == null ? void 0 : i.slug) ?? f)) })
|
|
9806
9798
|
]
|
|
9807
9799
|
}
|
|
9808
9800
|
) }), j = ke(({ as: e = "div", className: t, children: n, ...a }, o) => /* @__PURE__ */ l(
|
|
9809
9801
|
e,
|
|
9810
9802
|
{
|
|
9811
|
-
...
|
|
9803
|
+
...pn({ props: a, systemPropNames: Object.keys(Ao) }),
|
|
9812
9804
|
ref: o,
|
|
9813
9805
|
className: re(Vo(a), t),
|
|
9814
9806
|
children: n
|
|
9815
9807
|
}
|
|
9816
9808
|
));
|
|
9817
9809
|
j.displayName = "Box";
|
|
9818
|
-
const
|
|
9810
|
+
const K = ke(
|
|
9819
9811
|
({ as: e = "div", display: t = "flex", className: n, children: a, ...o }, r) => /* @__PURE__ */ l(
|
|
9820
9812
|
j,
|
|
9821
9813
|
{
|
|
9822
|
-
...
|
|
9814
|
+
...pn({ props: o, systemPropNames: Object.keys({ ...To, ...Ro }) }),
|
|
9823
9815
|
ref: r,
|
|
9824
9816
|
as: e,
|
|
9825
9817
|
display: t,
|
|
@@ -9828,18 +9820,18 @@ const G = ke(
|
|
|
9828
9820
|
}
|
|
9829
9821
|
)
|
|
9830
9822
|
);
|
|
9831
|
-
const Rp = ({ header: e, footer: t, children: n }) => /* @__PURE__ */ $(
|
|
9823
|
+
const Rp = ({ header: e, footer: t, children: n }) => /* @__PURE__ */ $(K, { flexDirection: "column", className: "layout-template", children: [
|
|
9832
9824
|
e,
|
|
9833
9825
|
n,
|
|
9834
9826
|
/* @__PURE__ */ l(op, { ...t })
|
|
9835
9827
|
] });
|
|
9836
|
-
const
|
|
9828
|
+
const jt = ({
|
|
9837
9829
|
content: e,
|
|
9838
9830
|
sidebar: t,
|
|
9839
9831
|
className: n,
|
|
9840
9832
|
...a
|
|
9841
9833
|
}) => /* @__PURE__ */ $(
|
|
9842
|
-
|
|
9834
|
+
K,
|
|
9843
9835
|
{
|
|
9844
9836
|
...a,
|
|
9845
9837
|
flexDirection: { xs: "column", md: "row" },
|
|
@@ -9848,8 +9840,8 @@ const zt = ({
|
|
|
9848
9840
|
mx: { xs: "s", md: "auto" },
|
|
9849
9841
|
className: re("layout-content-with-sidebar", "container-content", n),
|
|
9850
9842
|
children: [
|
|
9851
|
-
/* @__PURE__ */ l(
|
|
9852
|
-
/* @__PURE__ */ l(
|
|
9843
|
+
/* @__PURE__ */ l(K, { flexDirection: "column", as: "main", flex: "1", gap: "xl", className: "layout-content-with-sidebar__content", children: e }),
|
|
9844
|
+
/* @__PURE__ */ l(K, { as: "aside", flexDirection: "column", gap: "xl", className: "layout-content-with-sidebar__sidebar", children: t })
|
|
9853
9845
|
]
|
|
9854
9846
|
}
|
|
9855
9847
|
), lp = ({
|
|
@@ -9870,7 +9862,7 @@ const zt = ({
|
|
|
9870
9862
|
}) => /* @__PURE__ */ $(Ie, { children: [
|
|
9871
9863
|
/* @__PURE__ */ l(J1, { ...e }),
|
|
9872
9864
|
/* @__PURE__ */ l(
|
|
9873
|
-
|
|
9865
|
+
jt,
|
|
9874
9866
|
{
|
|
9875
9867
|
content: /* @__PURE__ */ l(lp, { ...n }),
|
|
9876
9868
|
sidebar: /* @__PURE__ */ l(u0, { ...t })
|
|
@@ -9889,16 +9881,16 @@ const zt = ({
|
|
|
9889
9881
|
] });
|
|
9890
9882
|
const cp = ({ title: e, authors: t, ...n }) => /* @__PURE__ */ $(j, { ...n, children: [
|
|
9891
9883
|
/* @__PURE__ */ l(ge, { mb: "xxs", size: "m", color: "primary", children: e }),
|
|
9892
|
-
/* @__PURE__ */ l(
|
|
9884
|
+
/* @__PURE__ */ l(K, { mt: "l", flexDirection: "column", gap: "s", children: t.map((a, o) => /* @__PURE__ */ l(td, { ...a }, o)) })
|
|
9893
9885
|
] });
|
|
9894
|
-
const
|
|
9886
|
+
const en = (e) => {
|
|
9895
9887
|
const t = Object.entries(e).filter(([, n]) => n != null).map(([n, a]) => `${encodeURIComponent(n)}=${encodeURIComponent(String(a))}`);
|
|
9896
9888
|
return t.length > 0 ? `?${t.join("&")}` : "";
|
|
9897
|
-
}, up = ({ urlToShare: e, shares: t, ...n }) => /* @__PURE__ */ $(
|
|
9889
|
+
}, up = ({ urlToShare: e, shares: t, ...n }) => /* @__PURE__ */ $(K, { ...n, alignItems: "center", gap: "xs", className: "share-links", children: [
|
|
9898
9890
|
t.twitter && /* @__PURE__ */ l(
|
|
9899
9891
|
"a",
|
|
9900
9892
|
{
|
|
9901
|
-
href: `https://twitter.com/intent/tweet${
|
|
9893
|
+
href: `https://twitter.com/intent/tweet${en({ url: e })}`,
|
|
9902
9894
|
target: "_blank",
|
|
9903
9895
|
rel: "noreferrer",
|
|
9904
9896
|
children: /* @__PURE__ */ l(
|
|
@@ -9914,7 +9906,7 @@ const Qt = (e) => {
|
|
|
9914
9906
|
t.facebook && /* @__PURE__ */ l(
|
|
9915
9907
|
"a",
|
|
9916
9908
|
{
|
|
9917
|
-
href: `https://www.facebook.com/sharer/sharer.php${
|
|
9909
|
+
href: `https://www.facebook.com/sharer/sharer.php${en({ u: e })}`,
|
|
9918
9910
|
target: "_blank",
|
|
9919
9911
|
rel: "noreferrer",
|
|
9920
9912
|
children: /* @__PURE__ */ l(be, { name: "facebook", className: "share-links__social-media-icon", size: "36px" })
|
|
@@ -9923,7 +9915,7 @@ const Qt = (e) => {
|
|
|
9923
9915
|
t.linkedIn && /* @__PURE__ */ l(
|
|
9924
9916
|
"a",
|
|
9925
9917
|
{
|
|
9926
|
-
href: `https://linkedin.com/shareArticle${
|
|
9918
|
+
href: `https://linkedin.com/shareArticle${en({ url: e, mini: "true" })}`,
|
|
9927
9919
|
target: "_blank",
|
|
9928
9920
|
rel: "noreferrer",
|
|
9929
9921
|
children: /* @__PURE__ */ l(be, { name: "linkedin", className: "share-links__social-media-icon", size: "36px" })
|
|
@@ -9931,38 +9923,40 @@ const Qt = (e) => {
|
|
|
9931
9923
|
)
|
|
9932
9924
|
] }), dp = ({ title: e, date: t, readingTime: n, authors: a, shareLinks: o, ...r }) => /* @__PURE__ */ $(j, { ...r, textSize: "xs", children: [
|
|
9933
9925
|
/* @__PURE__ */ l(ge, { as: "h1", size: "xl", color: "primary", children: e }),
|
|
9934
|
-
/* @__PURE__ */ $(
|
|
9926
|
+
/* @__PURE__ */ $(K, { flexDirection: { xs: "column", md: "row" }, justifyContent: "between", gap: "xs", mt: "m", children: [
|
|
9935
9927
|
/* @__PURE__ */ l(c0, { variant: "secondary", date: t, readingTime: n, authors: a }),
|
|
9936
9928
|
/* @__PURE__ */ l(up, { ...o })
|
|
9937
9929
|
] })
|
|
9938
9930
|
] }), pp = ({ relatedPostListTitle: e, posts: t, ...n }) => /* @__PURE__ */ $(j, { ...n, children: [
|
|
9939
9931
|
/* @__PURE__ */ l(ge, { mb: "m", size: "m", color: "primary", children: e }),
|
|
9940
|
-
t.map((a, o) => /* @__PURE__ */ l(
|
|
9932
|
+
t.map((a, o) => /* @__PURE__ */ l(zt, { ...a, mt: "s" }, (a == null ? void 0 : a.slug) ?? o))
|
|
9941
9933
|
] }), Mp = ["article", "tutorial"], fp = ({
|
|
9942
9934
|
variant: e = "article",
|
|
9943
9935
|
summary: t,
|
|
9944
|
-
|
|
9945
|
-
|
|
9946
|
-
|
|
9947
|
-
|
|
9948
|
-
|
|
9949
|
-
|
|
9950
|
-
|
|
9936
|
+
cover: n,
|
|
9937
|
+
header: a,
|
|
9938
|
+
children: o,
|
|
9939
|
+
footer: r,
|
|
9940
|
+
relatedPostList: s,
|
|
9941
|
+
contactCard: i,
|
|
9942
|
+
previousLink: { label: f, ...m } = {},
|
|
9943
|
+
nextLink: { label: g, ...h } = {}
|
|
9951
9944
|
}) => /* @__PURE__ */ $(Ie, { children: [
|
|
9952
9945
|
/* @__PURE__ */ $(j, { children: [
|
|
9953
|
-
/* @__PURE__ */ l(dp, { ...
|
|
9946
|
+
/* @__PURE__ */ l(dp, { ...a }),
|
|
9954
9947
|
/* @__PURE__ */ l(vt, { mt: "m" }),
|
|
9948
|
+
n && /* @__PURE__ */ l(oa, { ...n, mt: "l", img: { ...n.img, className: "post-page__cover" } }),
|
|
9955
9949
|
/* @__PURE__ */ l(da, { mt: "l", hiddenAbove: "md", variant: e === "tutorial" ? "secondary" : "primary", ...t }),
|
|
9956
|
-
/* @__PURE__ */ l(j, { mt: { xs: "l", md: "m" }, className: "post-page__content", children:
|
|
9957
|
-
e === "tutorial" && /* @__PURE__ */ l(Ie, { children: /* @__PURE__ */ $(
|
|
9958
|
-
|
|
9959
|
-
|
|
9950
|
+
/* @__PURE__ */ l(j, { mt: { xs: "l", md: "m" }, className: "post-page__content", children: o }),
|
|
9951
|
+
e === "tutorial" && /* @__PURE__ */ l(Ie, { children: /* @__PURE__ */ $(K, { gap: "l", children: [
|
|
9952
|
+
f && m && /* @__PURE__ */ l(Me, { as: "a", mt: "l", variant: "secondary", ...m, children: f }),
|
|
9953
|
+
g && h && /* @__PURE__ */ l(Me, { as: "a", mt: "l", ...h, children: g })
|
|
9960
9954
|
] }) }),
|
|
9961
|
-
/* @__PURE__ */ l(cp, { mt: "l", ...
|
|
9955
|
+
/* @__PURE__ */ l(cp, { mt: "l", ...r })
|
|
9962
9956
|
] }),
|
|
9963
9957
|
/* @__PURE__ */ l(vt, {}),
|
|
9964
|
-
/* @__PURE__ */ l(nd, { ...
|
|
9965
|
-
|
|
9958
|
+
/* @__PURE__ */ l(nd, { ...i }),
|
|
9959
|
+
s.posts.length > 0 && /* @__PURE__ */ l(pp, { ...s })
|
|
9966
9960
|
] }), Lp = ({
|
|
9967
9961
|
variant: e = "article",
|
|
9968
9962
|
breadcrumb: t,
|
|
@@ -9972,17 +9966,16 @@ const Qt = (e) => {
|
|
|
9972
9966
|
...r
|
|
9973
9967
|
}) => /* @__PURE__ */ $(j, { mx: "auto", className: "post-page", children: [
|
|
9974
9968
|
/* @__PURE__ */ l(aa, { mx: { xs: "xs", md: "0" }, ...t }),
|
|
9975
|
-
/* @__PURE__ */ l(oa, { ...n, mx: { xs: "xs", md: "0" }, img: { className: "post-page__cover", ...n == null ? void 0 : n.img } }),
|
|
9976
9969
|
/* @__PURE__ */ l(
|
|
9977
|
-
|
|
9970
|
+
jt,
|
|
9978
9971
|
{
|
|
9979
|
-
content: /* @__PURE__ */ l(fp, { ...r, variant: e, summary: a, children: o }),
|
|
9972
|
+
content: /* @__PURE__ */ l(fp, { ...r, variant: e, summary: a, cover: n, children: o }),
|
|
9980
9973
|
sidebar: /* @__PURE__ */ l(da, { hiddenBelow: "md", variant: e === "tutorial" ? "secondary" : "primary", ...a })
|
|
9981
9974
|
}
|
|
9982
9975
|
)
|
|
9983
9976
|
] });
|
|
9984
9977
|
const Pp = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ l(
|
|
9985
|
-
|
|
9978
|
+
jt,
|
|
9986
9979
|
{
|
|
9987
9980
|
className: "author-page",
|
|
9988
9981
|
content: /* @__PURE__ */ l(gp, { ...t }),
|
|
@@ -9990,7 +9983,7 @@ const Pp = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ l(
|
|
|
9990
9983
|
}
|
|
9991
9984
|
), gp = ({ author: e, title: t, postCardList: n }) => /* @__PURE__ */ $(Ie, { children: [
|
|
9992
9985
|
/* @__PURE__ */ $(
|
|
9993
|
-
|
|
9986
|
+
K,
|
|
9994
9987
|
{
|
|
9995
9988
|
flexDirection: { xs: "column", md: "row" },
|
|
9996
9989
|
justifyContent: "center",
|
|
@@ -10002,7 +9995,7 @@ const Pp = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ l(
|
|
|
10002
9995
|
/* @__PURE__ */ l(Q, { size: "m", fontWeight: "medium", color: "info", children: e.name }),
|
|
10003
9996
|
/* @__PURE__ */ l(j, { children: e.content }),
|
|
10004
9997
|
e.socialNetworks && /* @__PURE__ */ l(
|
|
10005
|
-
|
|
9998
|
+
K,
|
|
10006
9999
|
{
|
|
10007
10000
|
flexDirection: { xs: "column", sm: "row" },
|
|
10008
10001
|
mt: "s",
|
|
@@ -10029,7 +10022,7 @@ const Pp = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ l(
|
|
|
10029
10022
|
/* @__PURE__ */ l(vt, { className: "author-page__divider" }),
|
|
10030
10023
|
/* @__PURE__ */ l(Q, { size: "m", fontWeight: "medium", children: t }),
|
|
10031
10024
|
n
|
|
10032
|
-
] }), Fp = ({ title: e, description: t }) => /* @__PURE__ */ l(
|
|
10025
|
+
] }), Fp = ({ title: e, description: t }) => /* @__PURE__ */ l(K, { justifyContent: "center", alignItems: "center", flex: "1", children: /* @__PURE__ */ l(ua, { m: "xxl", title: e, description: t }) }), mp = ({
|
|
10033
10026
|
title: e,
|
|
10034
10027
|
description: t,
|
|
10035
10028
|
postCardList: n,
|
|
@@ -10039,9 +10032,9 @@ const Pp = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ l(
|
|
|
10039
10032
|
/* @__PURE__ */ l(je, { isLoading: o, children: /* @__PURE__ */ l(ge, { size: "m", fontWeight: "medium", color: "primary", children: e }) }),
|
|
10040
10033
|
/* @__PURE__ */ l(je, { isLoading: o, children: /* @__PURE__ */ l(ge, { size: "s", mb: "l", children: t }) }),
|
|
10041
10034
|
n
|
|
10042
|
-
] }), zp = ({ sidebar: e, ...t }) => /* @__PURE__ */ l(Ie, { children: /* @__PURE__ */ l(
|
|
10043
|
-
} :
|
|
10044
|
-
const [t, n] =
|
|
10035
|
+
] }), zp = ({ sidebar: e, ...t }) => /* @__PURE__ */ l(Ie, { children: /* @__PURE__ */ l(jt, { content: /* @__PURE__ */ l(mp, { ...t }), sidebar: e }) }), hp = typeof window > "u" ? () => {
|
|
10036
|
+
} : un.useLayoutEffect, jp = (e) => {
|
|
10037
|
+
const [t, n] = un.useState(!1);
|
|
10045
10038
|
return hp(() => {
|
|
10046
10039
|
const a = window.matchMedia(Do[e]);
|
|
10047
10040
|
a.matches !== t && n(a.matches);
|
|
@@ -10066,7 +10059,7 @@ export {
|
|
|
10066
10059
|
ra as CloseButton,
|
|
10067
10060
|
nd as ContactCard,
|
|
10068
10061
|
vt as Divider,
|
|
10069
|
-
|
|
10062
|
+
K as Flex,
|
|
10070
10063
|
op as Footer,
|
|
10071
10064
|
Tp as Header,
|
|
10072
10065
|
ge as Heading,
|
|
@@ -10075,7 +10068,7 @@ export {
|
|
|
10075
10068
|
be as Icon,
|
|
10076
10069
|
ip as LastArticlesBlock,
|
|
10077
10070
|
sp as LastTutorialsBlock,
|
|
10078
|
-
|
|
10071
|
+
jt as LayoutContentWithSidebar,
|
|
10079
10072
|
Rp as LayoutTemplate,
|
|
10080
10073
|
Ke as Link,
|
|
10081
10074
|
Sr as Logo,
|
|
@@ -10084,7 +10077,7 @@ export {
|
|
|
10084
10077
|
Fp as NotFoundPage,
|
|
10085
10078
|
ad as Pagination,
|
|
10086
10079
|
oa as Picture,
|
|
10087
|
-
|
|
10080
|
+
zt as PostCard,
|
|
10088
10081
|
Ap as PostCardList,
|
|
10089
10082
|
c0 as PostMetadata,
|
|
10090
10083
|
Lp as PostPage,
|