@eleven-labs/design-system 0.32.0 → 0.33.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/components/Molecules/PostMetadata/PostMetadata.d.ts +2 -1
- package/dist/constants/tokenVariables.d.ts +1 -1
- package/dist/constants/tokenVariablesDesktop.d.ts +1 -1
- package/dist/index.es.js +541 -540
- package/dist/index.umd.cjs +12 -12
- 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/dist/types/SystemProps/TypographySystemProps.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsxs as M, jsx as c, Fragment as
|
|
1
|
+
import { jsxs as M, jsx as c, Fragment as Pe } from "react/jsx-runtime";
|
|
2
2
|
import * as nt from "react";
|
|
3
|
-
import
|
|
3
|
+
import _e, { forwardRef as qr, Fragment as rt, useMemo as fn, useRef as Ee, useCallback as we, useEffect as De, cloneElement as Wr, Component as Gr, useLayoutEffect as Yr, useReducer as Xr } from "react";
|
|
4
4
|
const Zr = (e) => /* @__PURE__ */ M("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ...e, children: [
|
|
5
5
|
/* @__PURE__ */ c(
|
|
6
6
|
"path",
|
|
@@ -224,8 +224,8 @@ var mn = { exports: {} };
|
|
|
224
224
|
})();
|
|
225
225
|
})(mn);
|
|
226
226
|
var pi = mn.exports;
|
|
227
|
-
const re = /* @__PURE__ */ Re(pi),
|
|
228
|
-
const xc = ["primary", "secondary", "accent"], Ke =
|
|
227
|
+
const re = /* @__PURE__ */ Re(pi), Ce = qr;
|
|
228
|
+
const xc = ["primary", "secondary", "accent"], Ke = Ce(
|
|
229
229
|
({ as: e = "button", variant: t = "primary", isChoiceChip: n = !1, className: i, children: o, ...r }, s) => /* @__PURE__ */ M(
|
|
230
230
|
F,
|
|
231
231
|
{
|
|
@@ -251,9 +251,9 @@ const xc = ["primary", "secondary", "accent"], Ke = Me(
|
|
|
251
251
|
i
|
|
252
252
|
),
|
|
253
253
|
children: [
|
|
254
|
-
t === "secondary" && /* @__PURE__ */ c(
|
|
254
|
+
t === "secondary" && /* @__PURE__ */ c(xe, { name: "arrow", style: { transform: "scaleX(-1)" } }),
|
|
255
255
|
/* @__PURE__ */ c(ee, { as: "span", children: o }),
|
|
256
|
-
t !== "secondary" && /* @__PURE__ */ c(
|
|
256
|
+
t !== "secondary" && /* @__PURE__ */ c(xe, { name: "arrow" })
|
|
257
257
|
]
|
|
258
258
|
}
|
|
259
259
|
)
|
|
@@ -659,7 +659,7 @@ const qe = {
|
|
|
659
659
|
height: ["height"],
|
|
660
660
|
hiddenBelow: ["display"],
|
|
661
661
|
hiddenAbove: ["display"]
|
|
662
|
-
},
|
|
662
|
+
}, _i = {
|
|
663
663
|
textAlign: ["text-align"],
|
|
664
664
|
textSize: ["font-size", "line-height"],
|
|
665
665
|
fontWeight: ["font-weight"],
|
|
@@ -667,11 +667,11 @@ const qe = {
|
|
|
667
667
|
underline: ["text-decoration"],
|
|
668
668
|
textTransform: ["text-transform"],
|
|
669
669
|
lineClamp: ["-webkit-line-clamp"]
|
|
670
|
-
},
|
|
670
|
+
}, yi = {
|
|
671
671
|
...vn,
|
|
672
672
|
...vi,
|
|
673
673
|
...gi,
|
|
674
|
-
...
|
|
674
|
+
..._i,
|
|
675
675
|
...bi,
|
|
676
676
|
...hi
|
|
677
677
|
}, Ei = {
|
|
@@ -702,7 +702,7 @@ const qe = {
|
|
|
702
702
|
}
|
|
703
703
|
return `${e.className}@${e.defaultModifier}`;
|
|
704
704
|
}
|
|
705
|
-
},
|
|
705
|
+
}, Ie = (e) => {
|
|
706
706
|
if (e.propValue && ["string", "number"].includes(typeof e.propValue) || !e.propValue) {
|
|
707
707
|
const t = Ct({
|
|
708
708
|
className: e.className,
|
|
@@ -726,15 +726,15 @@ const qe = {
|
|
|
726
726
|
[`bg-${e.bg}`]: e.bg,
|
|
727
727
|
[`color-${e.color}`]: e.color
|
|
728
728
|
}), Si = (e) => re(
|
|
729
|
-
|
|
729
|
+
Ie({
|
|
730
730
|
propValue: e.display,
|
|
731
731
|
className: "display"
|
|
732
732
|
}),
|
|
733
|
-
|
|
733
|
+
Ie({
|
|
734
734
|
propValue: e.width,
|
|
735
735
|
className: "width"
|
|
736
736
|
}),
|
|
737
|
-
|
|
737
|
+
Ie({
|
|
738
738
|
propValue: e.height,
|
|
739
739
|
className: "height"
|
|
740
740
|
}),
|
|
@@ -743,54 +743,54 @@ const qe = {
|
|
|
743
743
|
[`hidden-below@${e.hiddenBelow}`]: !!e.hiddenBelow
|
|
744
744
|
}
|
|
745
745
|
), Oi = (e) => re(
|
|
746
|
-
...
|
|
746
|
+
...Ie({
|
|
747
747
|
propValue: e.alignItems,
|
|
748
748
|
className: "items"
|
|
749
749
|
}),
|
|
750
|
-
...
|
|
750
|
+
...Ie({
|
|
751
751
|
propValue: e.alignContent,
|
|
752
752
|
className: "content"
|
|
753
753
|
}),
|
|
754
|
-
...
|
|
754
|
+
...Ie({
|
|
755
755
|
propValue: e.justifyContent,
|
|
756
756
|
className: "justify"
|
|
757
757
|
}),
|
|
758
|
-
...
|
|
758
|
+
...Ie({
|
|
759
759
|
propValue: e.gap,
|
|
760
760
|
className: "gap"
|
|
761
761
|
}),
|
|
762
|
-
...
|
|
762
|
+
...Ie({
|
|
763
763
|
propValue: e.gapX,
|
|
764
764
|
className: "gap-x"
|
|
765
765
|
}),
|
|
766
|
-
...
|
|
766
|
+
...Ie({
|
|
767
767
|
propValue: e.gapY,
|
|
768
768
|
className: "gap-y"
|
|
769
769
|
})
|
|
770
770
|
), Ri = (e) => re(
|
|
771
|
-
|
|
771
|
+
Ie({
|
|
772
772
|
propValue: e.flexDirection,
|
|
773
773
|
className: "flex"
|
|
774
774
|
}),
|
|
775
|
-
|
|
775
|
+
Ie({
|
|
776
776
|
propValue: e.flexWrap,
|
|
777
777
|
className: "flex"
|
|
778
778
|
})
|
|
779
|
-
), Ci = (e) =>
|
|
779
|
+
), Ci = (e) => Ie({
|
|
780
780
|
propValue: e.alignSelf,
|
|
781
781
|
className: "self"
|
|
782
782
|
}).join(" "), Mi = (e) => re(
|
|
783
|
-
|
|
783
|
+
Ie({
|
|
784
784
|
propValue: e.flexBasis,
|
|
785
785
|
className: "basis"
|
|
786
786
|
}),
|
|
787
|
-
|
|
787
|
+
Ie({
|
|
788
788
|
propValue: e.flex,
|
|
789
789
|
className: "flex"
|
|
790
790
|
})
|
|
791
|
-
),
|
|
791
|
+
), _n = (e) => re(
|
|
792
792
|
Object.entries(e).filter(([t]) => Object.keys(vn).includes(t)).reduce((t, [n, i]) => (t.push(
|
|
793
|
-
...
|
|
793
|
+
...Ie({
|
|
794
794
|
className: n,
|
|
795
795
|
propValue: i
|
|
796
796
|
})
|
|
@@ -801,7 +801,7 @@ const qe = {
|
|
|
801
801
|
lineClamp: n,
|
|
802
802
|
...i
|
|
803
803
|
}) => re(
|
|
804
|
-
...
|
|
804
|
+
...Ie({
|
|
805
805
|
propValue: e,
|
|
806
806
|
className: "text"
|
|
807
807
|
}),
|
|
@@ -810,20 +810,23 @@ const qe = {
|
|
|
810
810
|
[`text-${i.textTransform}`]: i.textTransform,
|
|
811
811
|
"text-underline": i.underline,
|
|
812
812
|
"text-italic": i.italic,
|
|
813
|
-
[`text-${t}`]: t
|
|
814
|
-
|
|
815
|
-
|
|
813
|
+
[`text-${t}`]: t
|
|
814
|
+
},
|
|
815
|
+
...Ie({
|
|
816
|
+
propValue: n,
|
|
817
|
+
className: "line-clamp"
|
|
818
|
+
})
|
|
816
819
|
), it = (e) => typeof e.props == "object" ? Object.keys(e.props).reduce(
|
|
817
820
|
(t, n) => (e.systemPropNames.includes(n) || (t[n] = e.props[n]), t),
|
|
818
821
|
{}
|
|
819
822
|
) : {}, Ai = (e) => re(
|
|
820
823
|
bn(e),
|
|
821
824
|
Si(e),
|
|
822
|
-
|
|
825
|
+
_n(e),
|
|
823
826
|
Ci(e),
|
|
824
827
|
Mi(e),
|
|
825
828
|
Ti(e)
|
|
826
|
-
),
|
|
829
|
+
), xe = ({ name: e, size: t, width: n, height: i, ...o }) => {
|
|
827
830
|
const r = fi[Ni(e)];
|
|
828
831
|
return /* @__PURE__ */ c(
|
|
829
832
|
r,
|
|
@@ -831,7 +834,7 @@ const qe = {
|
|
|
831
834
|
...it({ props: o, systemPropNames: [...Object.keys(hn), "color"] }),
|
|
832
835
|
className: re(
|
|
833
836
|
"icon",
|
|
834
|
-
|
|
837
|
+
_n(o),
|
|
835
838
|
bn(o),
|
|
836
839
|
o == null ? void 0 : o.className
|
|
837
840
|
),
|
|
@@ -841,7 +844,7 @@ const qe = {
|
|
|
841
844
|
}
|
|
842
845
|
);
|
|
843
846
|
};
|
|
844
|
-
const wc = ["website", "blog"],
|
|
847
|
+
const wc = ["website", "blog"], yn = Ce(({ name: e, size: t, ...n }, i) => /* @__PURE__ */ M(
|
|
845
848
|
F,
|
|
846
849
|
{
|
|
847
850
|
...n,
|
|
@@ -1026,22 +1029,22 @@ function In(e) {
|
|
|
1026
1029
|
className: Tt(a.className)
|
|
1027
1030
|
});
|
|
1028
1031
|
else {
|
|
1029
|
-
var N = Object.keys(n).reduce(function(
|
|
1032
|
+
var N = Object.keys(n).reduce(function(A, h) {
|
|
1030
1033
|
return h.split(".").forEach(function(m) {
|
|
1031
|
-
|
|
1032
|
-
}),
|
|
1033
|
-
}, []),
|
|
1034
|
-
return !N.includes(
|
|
1034
|
+
A.includes(m) || A.push(m);
|
|
1035
|
+
}), A;
|
|
1036
|
+
}, []), T = a.className && a.className.includes("token") ? ["token"] : [], R = a.className && T.concat(a.className.filter(function(A) {
|
|
1037
|
+
return !N.includes(A);
|
|
1035
1038
|
}));
|
|
1036
1039
|
E = i0(i0({}, a), {}, {
|
|
1037
1040
|
className: Tt(R) || void 0,
|
|
1038
1041
|
style: ji(a.className, Object.assign({}, a.style, o), n)
|
|
1039
1042
|
});
|
|
1040
1043
|
}
|
|
1041
|
-
var
|
|
1042
|
-
return /* @__PURE__ */
|
|
1044
|
+
var _ = p(t.children);
|
|
1045
|
+
return /* @__PURE__ */ _e.createElement(d, Y({
|
|
1043
1046
|
key: s
|
|
1044
|
-
}, E),
|
|
1047
|
+
}, E), _);
|
|
1045
1048
|
}
|
|
1046
1049
|
}
|
|
1047
1050
|
const Fi = function(e, t) {
|
|
@@ -1078,7 +1081,7 @@ function Yi(e) {
|
|
|
1078
1081
|
var t = e.lines, n = e.startingLineNumber, i = e.style;
|
|
1079
1082
|
return t.map(function(o, r) {
|
|
1080
1083
|
var s = r + n;
|
|
1081
|
-
return /* @__PURE__ */
|
|
1084
|
+
return /* @__PURE__ */ _e.createElement("span", {
|
|
1082
1085
|
key: "line-".concat(r),
|
|
1083
1086
|
className: "react-syntax-highlighter-line-number",
|
|
1084
1087
|
style: typeof i == "function" ? i(s) : i
|
|
@@ -1091,7 +1094,7 @@ function Xi(e) {
|
|
|
1091
1094
|
float: "left",
|
|
1092
1095
|
paddingRight: "10px"
|
|
1093
1096
|
} : i, r = e.numberStyle, s = r === void 0 ? {} : r, a = e.startingLineNumber;
|
|
1094
|
-
return /* @__PURE__ */
|
|
1097
|
+
return /* @__PURE__ */ _e.createElement("code", {
|
|
1095
1098
|
style: Object.assign({}, n, o)
|
|
1096
1099
|
}, Yi({
|
|
1097
1100
|
lines: t.replace(/\n$/, "").split(`
|
|
@@ -1162,7 +1165,7 @@ function Nn(e) {
|
|
|
1162
1165
|
}
|
|
1163
1166
|
function Qi(e, t, n, i, o, r, s, a, l) {
|
|
1164
1167
|
var d, u = Nn(e.value), p = [], E = -1, N = 0;
|
|
1165
|
-
function
|
|
1168
|
+
function T(f, w) {
|
|
1166
1169
|
var k = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
|
|
1167
1170
|
return x0({
|
|
1168
1171
|
children: f,
|
|
@@ -1183,11 +1186,11 @@ function Qi(e, t, n, i, o, r, s, a, l) {
|
|
|
1183
1186
|
}
|
|
1184
1187
|
return f;
|
|
1185
1188
|
}
|
|
1186
|
-
function
|
|
1189
|
+
function _(f, w) {
|
|
1187
1190
|
var k = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
|
|
1188
|
-
return t || k.length > 0 ?
|
|
1191
|
+
return t || k.length > 0 ? T(f, w, k) : R(f, w);
|
|
1189
1192
|
}
|
|
1190
|
-
for (var
|
|
1193
|
+
for (var A = function() {
|
|
1191
1194
|
var w = u[N], k = w.children[0].value, P = Gi(k);
|
|
1192
1195
|
if (P) {
|
|
1193
1196
|
var q = k.split(`
|
|
@@ -1202,7 +1205,7 @@ function Qi(e, t, n, i, o, r, s, a, l) {
|
|
|
1202
1205
|
var Z = u.slice(E + 1, N).concat(x0({
|
|
1203
1206
|
children: [ne],
|
|
1204
1207
|
className: w.properties.className
|
|
1205
|
-
})), ie =
|
|
1208
|
+
})), ie = _(Z, X);
|
|
1206
1209
|
p.push(ie);
|
|
1207
1210
|
} else if (G === q.length - 1) {
|
|
1208
1211
|
var oe = u[N + 1] && u[N + 1].children && u[N + 1].children[0], W = {
|
|
@@ -1216,22 +1219,22 @@ function Qi(e, t, n, i, o, r, s, a, l) {
|
|
|
1216
1219
|
});
|
|
1217
1220
|
u.splice(N + 1, 0, pe);
|
|
1218
1221
|
} else {
|
|
1219
|
-
var ge = [W], x =
|
|
1222
|
+
var ge = [W], x = _(ge, X, w.properties.className);
|
|
1220
1223
|
p.push(x);
|
|
1221
1224
|
}
|
|
1222
1225
|
} else {
|
|
1223
|
-
var D = [ne], K =
|
|
1226
|
+
var D = [ne], K = _(D, X, w.properties.className);
|
|
1224
1227
|
p.push(K);
|
|
1225
1228
|
}
|
|
1226
1229
|
}), E = N;
|
|
1227
1230
|
}
|
|
1228
1231
|
N++;
|
|
1229
1232
|
}; N < u.length; )
|
|
1230
|
-
|
|
1233
|
+
A();
|
|
1231
1234
|
if (E !== u.length - 1) {
|
|
1232
1235
|
var h = u.slice(E + 1, u.length);
|
|
1233
1236
|
if (h && h.length) {
|
|
1234
|
-
var m = i && p.length + r, g =
|
|
1237
|
+
var m = i && p.length + r, g = _(h, m);
|
|
1235
1238
|
p.push(g);
|
|
1236
1239
|
}
|
|
1237
1240
|
}
|
|
@@ -1277,9 +1280,9 @@ function to(e, t) {
|
|
|
1277
1280
|
var o = i.language, r = i.children, s = i.style, a = s === void 0 ? t : s, l = i.customStyle, d = l === void 0 ? {} : l, u = i.codeTagProps, p = u === void 0 ? {
|
|
1278
1281
|
className: o ? "language-".concat(o) : void 0,
|
|
1279
1282
|
style: ze(ze({}, a['code[class*="language-"]']), a['code[class*="language-'.concat(o, '"]')])
|
|
1280
|
-
} : u, E = i.useInlineStyles, N = E === void 0 ? !0 : E,
|
|
1283
|
+
} : u, E = i.useInlineStyles, N = E === void 0 ? !0 : E, T = i.showLineNumbers, R = T === void 0 ? !1 : T, _ = i.showInlineLineNumbers, A = _ === void 0 ? !0 : _, h = i.startingLineNumber, m = h === void 0 ? 1 : h, g = i.lineNumberContainerStyle, f = i.lineNumberStyle, w = f === void 0 ? {} : f, k = i.wrapLines, P = i.wrapLongLines, q = P === void 0 ? !1 : P, U = i.lineProps, G = U === void 0 ? {} : U, X = i.renderer, ne = i.PreTag, Z = ne === void 0 ? "pre" : ne, ie = i.CodeTag, oe = ie === void 0 ? "code" : ie, W = i.code, pe = W === void 0 ? (Array.isArray(r) ? r[0] : r) || "" : W, ge = i.astGenerator, x = ki(i, qi);
|
|
1281
1284
|
ge = ge || e;
|
|
1282
|
-
var D = R ? /* @__PURE__ */
|
|
1285
|
+
var D = R ? /* @__PURE__ */ _e.createElement(Xi, {
|
|
1283
1286
|
containerStyle: g,
|
|
1284
1287
|
codeStyle: p.style || {},
|
|
1285
1288
|
numberStyle: w,
|
|
@@ -1298,27 +1301,27 @@ function to(e, t) {
|
|
|
1298
1301
|
}) : p.style = ze(ze({}, p.style), {}, {
|
|
1299
1302
|
whiteSpace: "pre"
|
|
1300
1303
|
}), !ge)
|
|
1301
|
-
return /* @__PURE__ */
|
|
1304
|
+
return /* @__PURE__ */ _e.createElement(Z, v, D, /* @__PURE__ */ _e.createElement(oe, p, pe));
|
|
1302
1305
|
(k === void 0 && X || q) && (k = !0), X = X || Ji;
|
|
1303
|
-
var
|
|
1306
|
+
var y = [{
|
|
1304
1307
|
type: "text",
|
|
1305
1308
|
value: pe
|
|
1306
1309
|
}], I = eo({
|
|
1307
1310
|
astGenerator: ge,
|
|
1308
1311
|
language: o,
|
|
1309
1312
|
code: pe,
|
|
1310
|
-
defaultCodeValue:
|
|
1313
|
+
defaultCodeValue: y
|
|
1311
1314
|
});
|
|
1312
|
-
I.language === null && (I.value =
|
|
1313
|
-
var C = I.value.length + m, z = Qi(I, k, G, R,
|
|
1314
|
-
return /* @__PURE__ */
|
|
1315
|
+
I.language === null && (I.value = y);
|
|
1316
|
+
var C = I.value.length + m, z = Qi(I, k, G, R, A, m, C, w, q);
|
|
1317
|
+
return /* @__PURE__ */ _e.createElement(Z, v, /* @__PURE__ */ _e.createElement(oe, p, !A && D, X({
|
|
1315
1318
|
rows: z,
|
|
1316
1319
|
stylesheet: a,
|
|
1317
1320
|
useInlineStyles: N
|
|
1318
1321
|
})));
|
|
1319
1322
|
};
|
|
1320
1323
|
}
|
|
1321
|
-
var
|
|
1324
|
+
var r0 = {};
|
|
1322
1325
|
function ot(e) {
|
|
1323
1326
|
return e instanceof Map ? e.clear = e.delete = e.set = function() {
|
|
1324
1327
|
throw new Error("map is read-only");
|
|
@@ -1579,7 +1582,7 @@ const go = /\b\B/, Rn = "[a-zA-Z]\\w*", st = "[a-zA-Z_]\\w*", ct = "\\b\\d+(\\.\
|
|
|
1579
1582
|
begin: "(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
|
|
1580
1583
|
relevance: 0
|
|
1581
1584
|
}), i;
|
|
1582
|
-
},
|
|
1585
|
+
}, _o = A0("//", "$"), yo = A0("/\\*", "\\*/"), Eo = A0("#", "$"), Io = {
|
|
1583
1586
|
className: "number",
|
|
1584
1587
|
begin: ct,
|
|
1585
1588
|
relevance: 0
|
|
@@ -1660,8 +1663,8 @@ var b0 = /* @__PURE__ */ Object.freeze({
|
|
|
1660
1663
|
QUOTE_STRING_MODE: bo,
|
|
1661
1664
|
PHRASAL_WORDS_MODE: Tn,
|
|
1662
1665
|
COMMENT: A0,
|
|
1663
|
-
C_LINE_COMMENT_MODE:
|
|
1664
|
-
C_BLOCK_COMMENT_MODE:
|
|
1666
|
+
C_LINE_COMMENT_MODE: _o,
|
|
1667
|
+
C_BLOCK_COMMENT_MODE: yo,
|
|
1665
1668
|
HASH_COMMENT_MODE: Eo,
|
|
1666
1669
|
NUMBER_MODE: Io,
|
|
1667
1670
|
C_NUMBER_MODE: xo,
|
|
@@ -1957,7 +1960,7 @@ const Lt = {}, L0 = (e) => {
|
|
|
1957
1960
|
console.error(e);
|
|
1958
1961
|
}, $t = (e, ...t) => {
|
|
1959
1962
|
console.log(`WARN: ${e}`, ...t);
|
|
1960
|
-
},
|
|
1963
|
+
}, Ae = (e, t) => {
|
|
1961
1964
|
Lt[`${e}/${t}`] || (console.log(`Deprecated as of ${e}. ${t}`), Lt[`${e}/${t}`] = !0);
|
|
1962
1965
|
}, $0 = s0, Bt = Ze, Vt = Symbol("nomatch"), Wo = function(e) {
|
|
1963
1966
|
const t = /* @__PURE__ */ Object.create(null), n = /* @__PURE__ */ Object.create(null), i = [];
|
|
@@ -1980,26 +1983,26 @@ const Lt = {}, L0 = (e) => {
|
|
|
1980
1983
|
function u(b) {
|
|
1981
1984
|
let v = b.className + " ";
|
|
1982
1985
|
v += b.parentNode ? b.parentNode.className : "";
|
|
1983
|
-
const
|
|
1984
|
-
if (
|
|
1985
|
-
const I = ie(
|
|
1986
|
-
return I || ($t(s.replace("{}",
|
|
1986
|
+
const y = l.languageDetectRe.exec(v);
|
|
1987
|
+
if (y) {
|
|
1988
|
+
const I = ie(y[1]);
|
|
1989
|
+
return I || ($t(s.replace("{}", y[1])), $t("Falling back to no-highlight mode for this block.", b)), I ? y[1] : "no-highlight";
|
|
1987
1990
|
}
|
|
1988
1991
|
return v.split(/\s+/).find((I) => d(I) || ie(I));
|
|
1989
1992
|
}
|
|
1990
|
-
function p(b, v,
|
|
1993
|
+
function p(b, v, y, I) {
|
|
1991
1994
|
let C = "", z = "";
|
|
1992
|
-
typeof v == "object" ? (C = b,
|
|
1995
|
+
typeof v == "object" ? (C = b, y = v.ignoreIllegals, z = v.language, I = void 0) : (Ae("10.7.0", "highlight(lang, code, ...args) has been deprecated."), Ae("10.7.0", `Please use highlight(code, options) instead.
|
|
1993
1996
|
https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
1994
1997
|
const H = {
|
|
1995
1998
|
code: C,
|
|
1996
1999
|
language: z
|
|
1997
2000
|
};
|
|
1998
2001
|
x("before:highlight", H);
|
|
1999
|
-
const B = H.result ? H.result : E(H.language, H.code,
|
|
2002
|
+
const B = H.result ? H.result : E(H.language, H.code, y, I);
|
|
2000
2003
|
return B.code = H.code, x("after:highlight", B), B;
|
|
2001
2004
|
}
|
|
2002
|
-
function E(b, v,
|
|
2005
|
+
function E(b, v, y, I) {
|
|
2003
2006
|
function C($, j) {
|
|
2004
2007
|
const te = $e.case_insensitive ? j[0].toLowerCase() : j[0];
|
|
2005
2008
|
return Object.prototype.hasOwnProperty.call($.keywords, te) && $.keywords[te];
|
|
@@ -2038,10 +2041,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2038
2041
|
me.addText(fe);
|
|
2039
2042
|
return;
|
|
2040
2043
|
}
|
|
2041
|
-
$ = E(J.subLanguage, fe, !0,
|
|
2044
|
+
$ = E(J.subLanguage, fe, !0, Me[J.subLanguage]), Me[J.subLanguage] = /** @type {CompiledMode} */
|
|
2042
2045
|
$.top;
|
|
2043
2046
|
} else
|
|
2044
|
-
$ =
|
|
2047
|
+
$ = T(fe, J.subLanguage.length ? J.subLanguage : null);
|
|
2045
2048
|
J.relevance > 0 && (Fe += $.relevance), me.addSublanguage($.emitter, $.language);
|
|
2046
2049
|
}
|
|
2047
2050
|
function B() {
|
|
@@ -2067,7 +2070,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2067
2070
|
return S($.parent, j, te);
|
|
2068
2071
|
}
|
|
2069
2072
|
function de($) {
|
|
2070
|
-
return J.matcher.regexIndex === 0 ? (fe += $[0], 1) : (
|
|
2073
|
+
return J.matcher.regexIndex === 0 ? (fe += $[0], 1) : (Te = !0, 0);
|
|
2071
2074
|
}
|
|
2072
2075
|
function L($) {
|
|
2073
2076
|
const j = $[0], te = $.rule, ue = new kt(te), Oe = [te.__beforeBegin, te["on:begin"]];
|
|
@@ -2076,7 +2079,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2076
2079
|
return de(j);
|
|
2077
2080
|
return te && te.endSameAsBegin && (te.endRe = ao(j)), te.skip ? fe += j : (te.excludeBegin && (fe += j), B(), !te.returnBegin && !te.excludeBegin && (fe = j)), Q(te), te.returnBegin ? 0 : j.length;
|
|
2078
2081
|
}
|
|
2079
|
-
function
|
|
2082
|
+
function ye($) {
|
|
2080
2083
|
const j = $[0], te = v.substr($.index), ue = S(J, $, te);
|
|
2081
2084
|
if (!ue)
|
|
2082
2085
|
return Vt;
|
|
@@ -2107,11 +2110,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2107
2110
|
}
|
|
2108
2111
|
if (Le = j, j.type === "begin")
|
|
2109
2112
|
return L(j);
|
|
2110
|
-
if (j.type === "illegal" && !
|
|
2113
|
+
if (j.type === "illegal" && !y) {
|
|
2111
2114
|
const ue = new Error('Illegal lexeme "' + te + '" for mode "' + (J.className || "<unnamed>") + '"');
|
|
2112
2115
|
throw ue.mode = J, ue;
|
|
2113
2116
|
} else if (j.type === "end") {
|
|
2114
|
-
const ue =
|
|
2117
|
+
const ue = ye(j);
|
|
2115
2118
|
if (ue !== Vt)
|
|
2116
2119
|
return ue;
|
|
2117
2120
|
}
|
|
@@ -2126,12 +2129,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2126
2129
|
throw L0(s.replace("{}", b)), new Error('Unknown language: "' + b + '"');
|
|
2127
2130
|
const Be = Ho($e, { plugins: i });
|
|
2128
2131
|
let Xe = "", J = I || Be;
|
|
2129
|
-
const
|
|
2132
|
+
const Me = {}, me = new l.__emitter(l);
|
|
2130
2133
|
be();
|
|
2131
|
-
let fe = "", Fe = 0, Ne = 0, Ve = 0,
|
|
2134
|
+
let fe = "", Fe = 0, Ne = 0, Ve = 0, Te = !1;
|
|
2132
2135
|
try {
|
|
2133
2136
|
for (J.matcher.considerAll(); ; ) {
|
|
2134
|
-
Ve++,
|
|
2137
|
+
Ve++, Te ? Te = !1 : J.matcher.considerAll(), J.matcher.lastIndex = Ne;
|
|
2135
2138
|
const $ = J.matcher.exec(v);
|
|
2136
2139
|
if (!$)
|
|
2137
2140
|
break;
|
|
@@ -2185,12 +2188,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2185
2188
|
};
|
|
2186
2189
|
return v.emitter.addText(b), v;
|
|
2187
2190
|
}
|
|
2188
|
-
function
|
|
2191
|
+
function T(b, v) {
|
|
2189
2192
|
v = v || l.languages || Object.keys(t);
|
|
2190
|
-
const
|
|
2193
|
+
const y = N(b), I = v.filter(ie).filter(W).map(
|
|
2191
2194
|
(Q) => E(Q, b, !1)
|
|
2192
2195
|
);
|
|
2193
|
-
I.unshift(
|
|
2196
|
+
I.unshift(y);
|
|
2194
2197
|
const C = I.sort((Q, S) => {
|
|
2195
2198
|
if (Q.relevance !== S.relevance)
|
|
2196
2199
|
return S.relevance - Q.relevance;
|
|
@@ -2208,11 +2211,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2208
2211
|
return l.tabReplace || l.useBR ? b.replace(r, (v) => v === `
|
|
2209
2212
|
` ? l.useBR ? "<br>" : v : l.tabReplace ? v.replace(/\t/g, l.tabReplace) : v) : b;
|
|
2210
2213
|
}
|
|
2211
|
-
function
|
|
2212
|
-
const I = v ? n[v] :
|
|
2214
|
+
function _(b, v, y) {
|
|
2215
|
+
const I = v ? n[v] : y;
|
|
2213
2216
|
b.classList.add("hljs"), I && b.classList.add(I);
|
|
2214
2217
|
}
|
|
2215
|
-
const
|
|
2218
|
+
const A = {
|
|
2216
2219
|
"before:highlightElement": ({ el: b }) => {
|
|
2217
2220
|
l.useBR && (b.innerHTML = b.innerHTML.replace(/\n/g, "").replace(/<br[ /]*>/g, `
|
|
2218
2221
|
`));
|
|
@@ -2230,15 +2233,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2230
2233
|
};
|
|
2231
2234
|
function g(b) {
|
|
2232
2235
|
let v = null;
|
|
2233
|
-
const
|
|
2234
|
-
if (d(
|
|
2236
|
+
const y = u(b);
|
|
2237
|
+
if (d(y))
|
|
2235
2238
|
return;
|
|
2236
2239
|
x(
|
|
2237
2240
|
"before:highlightElement",
|
|
2238
|
-
{ el: b, language:
|
|
2241
|
+
{ el: b, language: y }
|
|
2239
2242
|
), v = b;
|
|
2240
|
-
const I = v.textContent, C =
|
|
2241
|
-
x("after:highlightElement", { el: b, result: C, text: I }), b.innerHTML = C.value,
|
|
2243
|
+
const I = v.textContent, C = y ? p(I, { language: y, ignoreIllegals: !0 }) : T(I);
|
|
2244
|
+
x("after:highlightElement", { el: b, result: C, text: I }), b.innerHTML = C.value, _(b, y, C.language), b.result = {
|
|
2242
2245
|
language: C.language,
|
|
2243
2246
|
// TODO: remove with version 11.0
|
|
2244
2247
|
re: C.relevance,
|
|
@@ -2251,15 +2254,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2251
2254
|
});
|
|
2252
2255
|
}
|
|
2253
2256
|
function f(b) {
|
|
2254
|
-
b.useBR && (
|
|
2257
|
+
b.useBR && (Ae("10.3.0", "'useBR' will be removed entirely in v11.0"), Ae("10.3.0", "Please see https://github.com/highlightjs/highlight.js/issues/2559")), l = Bt(l, b);
|
|
2255
2258
|
}
|
|
2256
2259
|
const w = () => {
|
|
2257
2260
|
if (w.called)
|
|
2258
2261
|
return;
|
|
2259
|
-
w.called = !0,
|
|
2262
|
+
w.called = !0, Ae("10.6.0", "initHighlighting() is deprecated. Use highlightAll() instead."), document.querySelectorAll("pre code").forEach(g);
|
|
2260
2263
|
};
|
|
2261
2264
|
function k() {
|
|
2262
|
-
|
|
2265
|
+
Ae("10.6.0", "initHighlightingOnLoad() is deprecated. Use highlightAll() instead."), P = !0;
|
|
2263
2266
|
}
|
|
2264
2267
|
let P = !1;
|
|
2265
2268
|
function q() {
|
|
@@ -2274,17 +2277,17 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2274
2277
|
}
|
|
2275
2278
|
typeof window < "u" && window.addEventListener && window.addEventListener("DOMContentLoaded", U, !1);
|
|
2276
2279
|
function G(b, v) {
|
|
2277
|
-
let
|
|
2280
|
+
let y = null;
|
|
2278
2281
|
try {
|
|
2279
|
-
|
|
2282
|
+
y = v(e);
|
|
2280
2283
|
} catch (I) {
|
|
2281
2284
|
if (L0("Language definition for '{}' could not be registered.".replace("{}", b)), o)
|
|
2282
2285
|
L0(I);
|
|
2283
2286
|
else
|
|
2284
2287
|
throw I;
|
|
2285
|
-
|
|
2288
|
+
y = a;
|
|
2286
2289
|
}
|
|
2287
|
-
|
|
2290
|
+
y.name || (y.name = b), t[b] = y, y.rawDefinition = v.bind(null, e), y.aliases && oe(y.aliases, { languageName: b });
|
|
2288
2291
|
}
|
|
2289
2292
|
function X(b) {
|
|
2290
2293
|
delete t[b];
|
|
@@ -2295,7 +2298,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2295
2298
|
return Object.keys(t);
|
|
2296
2299
|
}
|
|
2297
2300
|
function Z(b) {
|
|
2298
|
-
|
|
2301
|
+
Ae("10.4.0", "requireLanguage will be removed entirely in v11."), Ae("10.4.0", "Please see https://github.com/highlightjs/highlight.js/pull/2844");
|
|
2299
2302
|
const v = ie(b);
|
|
2300
2303
|
if (v)
|
|
2301
2304
|
return v;
|
|
@@ -2305,8 +2308,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2305
2308
|
return b = (b || "").toLowerCase(), t[b] || t[n[b]];
|
|
2306
2309
|
}
|
|
2307
2310
|
function oe(b, { languageName: v }) {
|
|
2308
|
-
typeof b == "string" && (b = [b]), b.forEach((
|
|
2309
|
-
n[
|
|
2311
|
+
typeof b == "string" && (b = [b]), b.forEach((y) => {
|
|
2312
|
+
n[y.toLowerCase()] = v;
|
|
2310
2313
|
});
|
|
2311
2314
|
}
|
|
2312
2315
|
function W(b) {
|
|
@@ -2328,20 +2331,20 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2328
2331
|
pe(b), i.push(b);
|
|
2329
2332
|
}
|
|
2330
2333
|
function x(b, v) {
|
|
2331
|
-
const
|
|
2334
|
+
const y = b;
|
|
2332
2335
|
i.forEach(function(I) {
|
|
2333
|
-
I[
|
|
2336
|
+
I[y] && I[y](v);
|
|
2334
2337
|
});
|
|
2335
2338
|
}
|
|
2336
2339
|
function D(b) {
|
|
2337
|
-
return
|
|
2340
|
+
return Ae("10.2.0", "fixMarkup will be removed entirely in v11.0"), Ae("10.2.0", "Please see https://github.com/highlightjs/highlight.js/issues/2534"), R(b);
|
|
2338
2341
|
}
|
|
2339
2342
|
function K(b) {
|
|
2340
|
-
return
|
|
2343
|
+
return Ae("10.7.0", "highlightBlock will be removed entirely in v12.0"), Ae("10.7.0", "Please use highlightElement now."), g(b);
|
|
2341
2344
|
}
|
|
2342
2345
|
Object.assign(e, {
|
|
2343
2346
|
highlight: p,
|
|
2344
|
-
highlightAuto:
|
|
2347
|
+
highlightAuto: T,
|
|
2345
2348
|
highlightAll: q,
|
|
2346
2349
|
fixMarkup: D,
|
|
2347
2350
|
highlightElement: g,
|
|
@@ -2368,7 +2371,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2368
2371
|
}, e.versionString = Uo;
|
|
2369
2372
|
for (const b in b0)
|
|
2370
2373
|
typeof b0[b] == "object" && On(b0[b]);
|
|
2371
|
-
return Object.assign(e, b0), e.addPlugin(
|
|
2374
|
+
return Object.assign(e, b0), e.addPlugin(A), e.addPlugin(Fo), e.addPlugin(m), e;
|
|
2372
2375
|
};
|
|
2373
2376
|
var Go = Wo({}), Yo = Go, Dn = { exports: {} };
|
|
2374
2377
|
(function(e) {
|
|
@@ -2382,7 +2385,7 @@ var Go = Wo({}), Yo = Go, Dn = { exports: {} };
|
|
|
2382
2385
|
return o.apply(null, [r].concat(s));
|
|
2383
2386
|
}
|
|
2384
2387
|
function o(r) {
|
|
2385
|
-
for (var s = 1, a = [].slice.call(arguments), l = 0, d = r.length, u = "", p, E = !1, N,
|
|
2388
|
+
for (var s = 1, a = [].slice.call(arguments), l = 0, d = r.length, u = "", p, E = !1, N, T, R = !1, _, A = function() {
|
|
2386
2389
|
return a[s++];
|
|
2387
2390
|
}, h = function() {
|
|
2388
2391
|
for (var m = ""; /\d/.test(r[l]); )
|
|
@@ -2390,33 +2393,33 @@ var Go = Wo({}), Yo = Go, Dn = { exports: {} };
|
|
|
2390
2393
|
return m.length > 0 ? parseInt(m) : null;
|
|
2391
2394
|
}; l < d; ++l)
|
|
2392
2395
|
if (p = r[l], E)
|
|
2393
|
-
switch (E = !1, p == "." ? (R = !1, p = r[++l]) : p == "0" && r[l + 1] == "." ? (R = !0, l += 2, p = r[l]) : R = !0,
|
|
2396
|
+
switch (E = !1, p == "." ? (R = !1, p = r[++l]) : p == "0" && r[l + 1] == "." ? (R = !0, l += 2, p = r[l]) : R = !0, _ = h(), p) {
|
|
2394
2397
|
case "b":
|
|
2395
|
-
u += parseInt(
|
|
2398
|
+
u += parseInt(A(), 10).toString(2);
|
|
2396
2399
|
break;
|
|
2397
2400
|
case "c":
|
|
2398
|
-
N =
|
|
2401
|
+
N = A(), typeof N == "string" || N instanceof String ? u += N : u += String.fromCharCode(parseInt(N, 10));
|
|
2399
2402
|
break;
|
|
2400
2403
|
case "d":
|
|
2401
|
-
u += parseInt(
|
|
2404
|
+
u += parseInt(A(), 10);
|
|
2402
2405
|
break;
|
|
2403
2406
|
case "f":
|
|
2404
|
-
|
|
2407
|
+
T = String(parseFloat(A()).toFixed(_ || 6)), u += R ? T : T.replace(/^0/, "");
|
|
2405
2408
|
break;
|
|
2406
2409
|
case "j":
|
|
2407
|
-
u += JSON.stringify(
|
|
2410
|
+
u += JSON.stringify(A());
|
|
2408
2411
|
break;
|
|
2409
2412
|
case "o":
|
|
2410
|
-
u += "0" + parseInt(
|
|
2413
|
+
u += "0" + parseInt(A(), 10).toString(8);
|
|
2411
2414
|
break;
|
|
2412
2415
|
case "s":
|
|
2413
|
-
u +=
|
|
2416
|
+
u += A();
|
|
2414
2417
|
break;
|
|
2415
2418
|
case "x":
|
|
2416
|
-
u += "0x" + parseInt(
|
|
2419
|
+
u += "0x" + parseInt(A(), 10).toString(16);
|
|
2417
2420
|
break;
|
|
2418
2421
|
case "X":
|
|
2419
|
-
u += "0x" + parseInt(
|
|
2422
|
+
u += "0x" + parseInt(A(), 10).toString(16).toUpperCase();
|
|
2420
2423
|
break;
|
|
2421
2424
|
default:
|
|
2422
2425
|
u += p;
|
|
@@ -2443,11 +2446,11 @@ function Je(e) {
|
|
|
2443
2446
|
}
|
|
2444
2447
|
}
|
|
2445
2448
|
var Ue = Yo, w0 = Qo;
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2449
|
+
r0.highlight = Pn;
|
|
2450
|
+
r0.highlightAuto = ea;
|
|
2451
|
+
r0.registerLanguage = ta;
|
|
2452
|
+
r0.listLanguages = na;
|
|
2453
|
+
r0.registerAlias = ra;
|
|
2451
2454
|
Ge.prototype.addText = aa;
|
|
2452
2455
|
Ge.prototype.addKeyword = ia;
|
|
2453
2456
|
Ge.prototype.addSublanguage = oa;
|
|
@@ -2535,19 +2538,19 @@ function $n(e) {
|
|
|
2535
2538
|
return e ? typeof e == "string" ? e : e.source : null;
|
|
2536
2539
|
}
|
|
2537
2540
|
function Ht(e) {
|
|
2538
|
-
return
|
|
2541
|
+
return t0("(?=", e, ")");
|
|
2539
2542
|
}
|
|
2540
2543
|
function ua(e) {
|
|
2541
|
-
return
|
|
2544
|
+
return t0("(", e, ")?");
|
|
2542
2545
|
}
|
|
2543
|
-
function
|
|
2546
|
+
function t0(...e) {
|
|
2544
2547
|
return e.map((n) => $n(n)).join("");
|
|
2545
2548
|
}
|
|
2546
2549
|
function da(...e) {
|
|
2547
2550
|
return "(" + e.map((n) => $n(n)).join("|") + ")";
|
|
2548
2551
|
}
|
|
2549
2552
|
function fa(e) {
|
|
2550
|
-
const t =
|
|
2553
|
+
const t = t0(/[A-Z_]/, ua(/[A-Z0-9_.-]*:/), /[A-Z0-9_.-]*/), n = /[A-Za-z0-9._:-]+/, i = {
|
|
2551
2554
|
className: "symbol",
|
|
2552
2555
|
begin: /&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/
|
|
2553
2556
|
}, o = {
|
|
@@ -2717,9 +2720,9 @@ function fa(e) {
|
|
|
2717
2720
|
// open tag
|
|
2718
2721
|
{
|
|
2719
2722
|
className: "tag",
|
|
2720
|
-
begin:
|
|
2723
|
+
begin: t0(
|
|
2721
2724
|
/</,
|
|
2722
|
-
Ht(
|
|
2725
|
+
Ht(t0(
|
|
2723
2726
|
t,
|
|
2724
2727
|
// <tag/>
|
|
2725
2728
|
// <tag>
|
|
@@ -2740,9 +2743,9 @@ function fa(e) {
|
|
|
2740
2743
|
// close tag
|
|
2741
2744
|
{
|
|
2742
2745
|
className: "tag",
|
|
2743
|
-
begin:
|
|
2746
|
+
begin: t0(
|
|
2744
2747
|
/<\//,
|
|
2745
|
-
Ht(
|
|
2748
|
+
Ht(t0(
|
|
2746
2749
|
t,
|
|
2747
2750
|
/>/
|
|
2748
2751
|
))
|
|
@@ -2888,7 +2891,7 @@ function ha(e) {
|
|
|
2888
2891
|
};
|
|
2889
2892
|
}
|
|
2890
2893
|
var va = ha;
|
|
2891
|
-
const ba = /* @__PURE__ */ Re(va), zt = "[A-Za-z$_][0-9A-Za-z$_]*",
|
|
2894
|
+
const ba = /* @__PURE__ */ Re(va), zt = "[A-Za-z$_][0-9A-Za-z$_]*", _a = [
|
|
2892
2895
|
"as",
|
|
2893
2896
|
// for exports
|
|
2894
2897
|
"in",
|
|
@@ -2931,7 +2934,7 @@ const ba = /* @__PURE__ */ Re(va), zt = "[A-Za-z$_][0-9A-Za-z$_]*", ya = [
|
|
|
2931
2934
|
"from",
|
|
2932
2935
|
"export",
|
|
2933
2936
|
"extends"
|
|
2934
|
-
],
|
|
2937
|
+
], ya = [
|
|
2935
2938
|
"true",
|
|
2936
2939
|
"false",
|
|
2937
2940
|
"null",
|
|
@@ -3049,8 +3052,8 @@ function Oa(e) {
|
|
|
3049
3052
|
}
|
|
3050
3053
|
}, r = {
|
|
3051
3054
|
$pattern: zt,
|
|
3052
|
-
keyword:
|
|
3053
|
-
literal:
|
|
3055
|
+
keyword: _a,
|
|
3056
|
+
literal: ya,
|
|
3054
3057
|
built_in: Na
|
|
3055
3058
|
}, s = "[0-9](_?[0-9])*", a = `\\.(${s})`, l = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", d = {
|
|
3056
3059
|
className: "number",
|
|
@@ -3147,7 +3150,7 @@ function Oa(e) {
|
|
|
3147
3150
|
e.C_BLOCK_COMMENT_MODE,
|
|
3148
3151
|
e.C_LINE_COMMENT_MODE
|
|
3149
3152
|
]
|
|
3150
|
-
},
|
|
3153
|
+
}, _ = [
|
|
3151
3154
|
e.APOS_STRING_MODE,
|
|
3152
3155
|
e.QUOTE_STRING_MODE,
|
|
3153
3156
|
p,
|
|
@@ -3156,7 +3159,7 @@ function Oa(e) {
|
|
|
3156
3159
|
d,
|
|
3157
3160
|
e.REGEXP_MODE
|
|
3158
3161
|
];
|
|
3159
|
-
u.contains =
|
|
3162
|
+
u.contains = _.concat({
|
|
3160
3163
|
// we need to pair up {} inside our subst to prevent
|
|
3161
3164
|
// it from ending too early by matching another }
|
|
3162
3165
|
begin: /\{/,
|
|
@@ -3164,15 +3167,15 @@ function Oa(e) {
|
|
|
3164
3167
|
keywords: r,
|
|
3165
3168
|
contains: [
|
|
3166
3169
|
"self"
|
|
3167
|
-
].concat(
|
|
3170
|
+
].concat(_)
|
|
3168
3171
|
});
|
|
3169
|
-
const
|
|
3172
|
+
const A = [].concat(R, u.contains), h = A.concat([
|
|
3170
3173
|
// eat recursive parens in sub expressions
|
|
3171
3174
|
{
|
|
3172
3175
|
begin: /\(/,
|
|
3173
3176
|
end: /\)/,
|
|
3174
3177
|
keywords: r,
|
|
3175
|
-
contains: ["self"].concat(
|
|
3178
|
+
contains: ["self"].concat(A)
|
|
3176
3179
|
}
|
|
3177
3180
|
]), m = {
|
|
3178
3181
|
className: "params",
|
|
@@ -3694,7 +3697,7 @@ function $a(e) {
|
|
|
3694
3697
|
contains: [E],
|
|
3695
3698
|
illegal: "\\n",
|
|
3696
3699
|
relevance: 0
|
|
3697
|
-
},
|
|
3700
|
+
}, T = {
|
|
3698
3701
|
begin: "\\[",
|
|
3699
3702
|
end: "\\]",
|
|
3700
3703
|
contains: [E],
|
|
@@ -3777,10 +3780,10 @@ function $a(e) {
|
|
|
3777
3780
|
relevance: 0
|
|
3778
3781
|
},
|
|
3779
3782
|
N,
|
|
3780
|
-
|
|
3783
|
+
T,
|
|
3781
3784
|
r
|
|
3782
|
-
],
|
|
3783
|
-
return
|
|
3785
|
+
], _ = [...R];
|
|
3786
|
+
return _.pop(), _.push(s), E.contains = _, {
|
|
3784
3787
|
name: "YAML",
|
|
3785
3788
|
case_insensitive: !0,
|
|
3786
3789
|
aliases: ["yml"],
|
|
@@ -4103,7 +4106,7 @@ function Wa(e) {
|
|
|
4103
4106
|
e.C_BLOCK_COMMENT_MODE,
|
|
4104
4107
|
e.C_LINE_COMMENT_MODE
|
|
4105
4108
|
]
|
|
4106
|
-
},
|
|
4109
|
+
}, _ = [
|
|
4107
4110
|
e.APOS_STRING_MODE,
|
|
4108
4111
|
e.QUOTE_STRING_MODE,
|
|
4109
4112
|
p,
|
|
@@ -4112,7 +4115,7 @@ function Wa(e) {
|
|
|
4112
4115
|
d,
|
|
4113
4116
|
e.REGEXP_MODE
|
|
4114
4117
|
];
|
|
4115
|
-
u.contains =
|
|
4118
|
+
u.contains = _.concat({
|
|
4116
4119
|
// we need to pair up {} inside our subst to prevent
|
|
4117
4120
|
// it from ending too early by matching another }
|
|
4118
4121
|
begin: /\{/,
|
|
@@ -4120,15 +4123,15 @@ function Wa(e) {
|
|
|
4120
4123
|
keywords: r,
|
|
4121
4124
|
contains: [
|
|
4122
4125
|
"self"
|
|
4123
|
-
].concat(
|
|
4126
|
+
].concat(_)
|
|
4124
4127
|
});
|
|
4125
|
-
const
|
|
4128
|
+
const A = [].concat(R, u.contains), h = A.concat([
|
|
4126
4129
|
// eat recursive parens in sub expressions
|
|
4127
4130
|
{
|
|
4128
4131
|
begin: /\(/,
|
|
4129
4132
|
end: /\)/,
|
|
4130
4133
|
keywords: r,
|
|
4131
|
-
contains: ["self"].concat(
|
|
4134
|
+
contains: ["self"].concat(A)
|
|
4132
4135
|
}
|
|
4133
4136
|
]), m = {
|
|
4134
4137
|
className: "params",
|
|
@@ -4395,11 +4398,11 @@ function Ga(e) {
|
|
|
4395
4398
|
}, l = {
|
|
4396
4399
|
className: "meta",
|
|
4397
4400
|
begin: "@" + t
|
|
4398
|
-
}, d = (E, N,
|
|
4399
|
-
const R = E.contains.findIndex((
|
|
4401
|
+
}, d = (E, N, T) => {
|
|
4402
|
+
const R = E.contains.findIndex((_) => _.label === N);
|
|
4400
4403
|
if (R === -1)
|
|
4401
4404
|
throw new Error("can not find mode to replace");
|
|
4402
|
-
E.contains.splice(R, 1,
|
|
4405
|
+
E.contains.splice(R, 1, T);
|
|
4403
4406
|
}, u = Wa(e);
|
|
4404
4407
|
Object.assign(u.keywords, a), u.exports.PARAMS_CONTAINS.push(l), u.contains = u.contains.concat([
|
|
4405
4408
|
l,
|
|
@@ -4424,8 +4427,8 @@ function Kt(e) {
|
|
|
4424
4427
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4425
4428
|
return e;
|
|
4426
4429
|
}
|
|
4427
|
-
var qn = to(
|
|
4428
|
-
qn.registerLanguage =
|
|
4430
|
+
var qn = to(r0, {});
|
|
4431
|
+
qn.registerLanguage = r0.registerLanguage;
|
|
4429
4432
|
const Se = qn;
|
|
4430
4433
|
var Wn = {};
|
|
4431
4434
|
(function(e) {
|
|
@@ -4557,12 +4560,12 @@ const Nc = ({ language: e, children: t, ...n }) => /* @__PURE__ */ c(
|
|
|
4557
4560
|
PreTag: "div",
|
|
4558
4561
|
children: t
|
|
4559
4562
|
}
|
|
4560
|
-
), ve =
|
|
4563
|
+
), ve = Ce(({ as: e = "p", size: t, children: n, className: i, ...o }, r) => /* @__PURE__ */ c(V, { ...o, as: e, ref: r, className: re({ [`heading-${t}`]: !!t }, i), children: n }));
|
|
4561
4564
|
ve.displayName = "Heading";
|
|
4562
|
-
const ee =
|
|
4565
|
+
const ee = Ce(({ as: e = "p", size: t, className: n, children: i, ...o }, r) => /* @__PURE__ */ c(V, { ...o, as: e, ref: r, className: re({ [`text-${t}`]: !!t }, n), children: i }));
|
|
4563
4566
|
ee.displayName = "Text";
|
|
4564
4567
|
const Sc = ({ children: e, className: t, ...n }) => /* @__PURE__ */ c(ee, { as: "blockquote", ...n, pl: "m", size: "m", italic: !0, className: re("blockquote", t), children: e });
|
|
4565
|
-
const We =
|
|
4568
|
+
const We = Ce(({ as: e = "div", isLoading: t = !0, children: n, ...i }, o) => /* @__PURE__ */ c(Pe, { children: t ? /* @__PURE__ */ c(
|
|
4566
4569
|
V,
|
|
4567
4570
|
{
|
|
4568
4571
|
...i,
|
|
@@ -4570,7 +4573,7 @@ const We = Me(({ as: e = "div", isLoading: t = !0, children: n, ...i }, o) => /*
|
|
|
4570
4573
|
ref: o,
|
|
4571
4574
|
bg: "ultra-light-grey",
|
|
4572
4575
|
className: re(t ? ["skeleton", "animate-pulse"] : void 0, i.className),
|
|
4573
|
-
children: n ?? /* @__PURE__ */ c(V, { children: /* @__PURE__ */ c(
|
|
4576
|
+
children: n ?? /* @__PURE__ */ c(V, { children: /* @__PURE__ */ c(Pe, { children: " " }) })
|
|
4574
4577
|
}
|
|
4575
4578
|
) : n }));
|
|
4576
4579
|
We.displayName = "Skeleton";
|
|
@@ -4607,7 +4610,7 @@ const Yn = ({ items: e, ...t }) => /* @__PURE__ */ c(
|
|
|
4607
4610
|
className: re("breadcrumb", t.className),
|
|
4608
4611
|
children: e.map(({ label: n, ...i }, o) => /* @__PURE__ */ M(rt, { children: [
|
|
4609
4612
|
/* @__PURE__ */ M("li", { itemProp: "itemListElement", itemScope: !0, itemType: "https://schema.org/ListItem", children: [
|
|
4610
|
-
i.href ? /* @__PURE__ */ c(
|
|
4613
|
+
i.href ? /* @__PURE__ */ c(e0, { itemProp: "item", ...i, children: /* @__PURE__ */ c(ee, { as: "span", itemProp: "name", children: n }) }) : /* @__PURE__ */ c(ee, { as: "span", itemProp: "name", fontWeight: "regular", children: n }),
|
|
4611
4614
|
/* @__PURE__ */ c("meta", { itemProp: "position", content: (o + 1).toString() })
|
|
4612
4615
|
] }),
|
|
4613
4616
|
o < e.length - 1 && /* @__PURE__ */ c(ee, { as: "span", children: ">" })
|
|
@@ -4617,7 +4620,7 @@ const Yn = ({ items: e, ...t }) => /* @__PURE__ */ c(
|
|
|
4617
4620
|
t == null ? void 0 : t.map((i, o) => /* @__PURE__ */ c("source", { ...i }, o)),
|
|
4618
4621
|
/* @__PURE__ */ c("img", { ...e, alt: e.alt })
|
|
4619
4622
|
] });
|
|
4620
|
-
const
|
|
4623
|
+
const e0 = Ce(
|
|
4621
4624
|
({ as: e = "a", icon: t, className: n, children: i, ...o }, r) => t ? /* @__PURE__ */ M(
|
|
4622
4625
|
F,
|
|
4623
4626
|
{
|
|
@@ -4629,13 +4632,13 @@ const r0 = Me(
|
|
|
4629
4632
|
color: "info",
|
|
4630
4633
|
className: re("link", n),
|
|
4631
4634
|
children: [
|
|
4632
|
-
t && /* @__PURE__ */ c(
|
|
4635
|
+
t && /* @__PURE__ */ c(xe, { name: t }),
|
|
4633
4636
|
/* @__PURE__ */ c(ee, { as: "span", children: i })
|
|
4634
4637
|
]
|
|
4635
4638
|
}
|
|
4636
4639
|
) : /* @__PURE__ */ c(V, { ...o, ref: r, as: e, color: "info", className: re("link", n), children: i })
|
|
4637
4640
|
);
|
|
4638
|
-
|
|
4641
|
+
e0.displayName = "Link";
|
|
4639
4642
|
const Rc = [
|
|
4640
4643
|
"note",
|
|
4641
4644
|
"summary",
|
|
@@ -4649,11 +4652,11 @@ const Rc = [
|
|
|
4649
4652
|
"bug",
|
|
4650
4653
|
"example",
|
|
4651
4654
|
"quote"
|
|
4652
|
-
], Cc =
|
|
4655
|
+
], Cc = Ce(({ as: e = "div", variant: t, title: n, children: i, ...o }, r) => /* @__PURE__ */ M(V, { ...o, as: e, ref: r, bg: "white", className: re("reminder", `reminder--${t}`), children: [
|
|
4653
4656
|
/* @__PURE__ */ c(ee, { className: "reminder__title", children: n }),
|
|
4654
4657
|
/* @__PURE__ */ c(V, { p: "xxs", children: i })
|
|
4655
4658
|
] }));
|
|
4656
|
-
const Zn =
|
|
4659
|
+
const Zn = Ce(
|
|
4657
4660
|
({ input: e, buttonClose: t = {}, buttonSearch: n, className: i, ...o }, r) => /* @__PURE__ */ M(
|
|
4658
4661
|
V,
|
|
4659
4662
|
{
|
|
@@ -4664,7 +4667,7 @@ const Zn = Me(
|
|
|
4664
4667
|
/* @__PURE__ */ c(V, { as: "input", ...e, className: "search-field__input" }),
|
|
4665
4668
|
/* @__PURE__ */ M(F, { justifyContent: "center", alignItems: "center", className: "search-field__actions-container", children: [
|
|
4666
4669
|
!!e.value && /* @__PURE__ */ c(Gn, { ...t, variant: "secondary", className: "search-field__button-action" }),
|
|
4667
|
-
/* @__PURE__ */ c(V, { as: "button", ...n, className: "search-field__button-action", children: /* @__PURE__ */ c(
|
|
4670
|
+
/* @__PURE__ */ c(V, { as: "button", ...n, className: "search-field__button-action", children: /* @__PURE__ */ c(xe, { name: "search", color: "primary", size: "2.5rem", mx: "xs" }) })
|
|
4668
4671
|
] })
|
|
4669
4672
|
]
|
|
4670
4673
|
}
|
|
@@ -4679,23 +4682,23 @@ var Qn = { exports: {} };
|
|
|
4679
4682
|
return n = { 772: (o, r, s) => {
|
|
4680
4683
|
const a = s(826).remove, l = /[.*+?^${}()|[\]\\]/g, d = /[a-z0-9_]/i, u = /\s+/;
|
|
4681
4684
|
o.exports = function(p, E, N) {
|
|
4682
|
-
var
|
|
4683
|
-
R = { insideWords: !1, findAllOccurrences: !1, requireMatchAll: !1 },
|
|
4684
|
-
R[h] = !!
|
|
4685
|
+
var T, R;
|
|
4686
|
+
R = { insideWords: !1, findAllOccurrences: !1, requireMatchAll: !1 }, T = (T = N) || {}, Object.keys(T).forEach((h) => {
|
|
4687
|
+
R[h] = !!T[h];
|
|
4685
4688
|
}), N = R;
|
|
4686
|
-
const
|
|
4687
|
-
let
|
|
4689
|
+
const _ = Array.from(p).map((h) => a(h));
|
|
4690
|
+
let A = _.join("");
|
|
4688
4691
|
return (E = a(E)).trim().split(u).filter((h) => h.length > 0).reduce((h, m) => {
|
|
4689
4692
|
const g = m.length, f = !N.insideWords && d.test(m[0]) ? "\\b" : "", w = new RegExp(f + m.replace(l, "\\$&"), "i");
|
|
4690
4693
|
let k, P;
|
|
4691
|
-
if (k = w.exec(
|
|
4692
|
-
return
|
|
4694
|
+
if (k = w.exec(A), N.requireMatchAll && k === null)
|
|
4695
|
+
return A = "", [];
|
|
4693
4696
|
for (; k; ) {
|
|
4694
4697
|
P = k.index;
|
|
4695
|
-
const q = g -
|
|
4696
|
-
if (G[0] !== G[1] && h.push(G),
|
|
4698
|
+
const q = g - _.slice(P, P + g).join("").length, U = P - _.slice(0, P).join("").length, G = [P + U, P + g + U + q];
|
|
4699
|
+
if (G[0] !== G[1] && h.push(G), A = A.slice(0, P) + new Array(g + 1).join(" ") + A.slice(P + g), !N.findAllOccurrences)
|
|
4697
4700
|
break;
|
|
4698
|
-
k = w.exec(
|
|
4701
|
+
k = w.exec(A);
|
|
4699
4702
|
}
|
|
4700
4703
|
return h;
|
|
4701
4704
|
}, []).sort((h, m) => h[0] - m[0]);
|
|
@@ -4745,7 +4748,7 @@ var Jn = { exports: {} };
|
|
|
4745
4748
|
});
|
|
4746
4749
|
})(Jn);
|
|
4747
4750
|
var es = Jn.exports;
|
|
4748
|
-
const ts = /* @__PURE__ */ Re(es), er =
|
|
4751
|
+
const ts = /* @__PURE__ */ Re(es), er = Ce(({ text: e, textQuery: t = "", ...n }, i) => {
|
|
4749
4752
|
const o = nt.useMemo(() => {
|
|
4750
4753
|
const r = Ja(e, t, { findAllOccurrences: !0 });
|
|
4751
4754
|
return ts(e, r);
|
|
@@ -4835,7 +4838,7 @@ const Mc = ["primary", "secondary"], lt = ({
|
|
|
4835
4838
|
display: "inline-block",
|
|
4836
4839
|
style: { minWidth: 60, minHeight: 16 },
|
|
4837
4840
|
children: /* @__PURE__ */ M(F, { alignContent: "center", alignItems: "center", gap: "xxs", className: "post-metadata__date", children: [
|
|
4838
|
-
e === "secondary" && /* @__PURE__ */ c(
|
|
4841
|
+
e === "secondary" && /* @__PURE__ */ c(xe, { name: "calendar", size: "24px", color: "light-grey" }),
|
|
4839
4842
|
t && /* @__PURE__ */ c(ee, { as: "span", children: t })
|
|
4840
4843
|
] })
|
|
4841
4844
|
},
|
|
@@ -4853,7 +4856,7 @@ const Mc = ["primary", "secondary"], lt = ({
|
|
|
4853
4856
|
display: "inline-block",
|
|
4854
4857
|
style: { minWidth: 26, minHeight: 16 },
|
|
4855
4858
|
children: /* @__PURE__ */ M(F, { alignContent: "center", alignItems: "center", gap: "xxs", children: [
|
|
4856
|
-
e === "secondary" && /* @__PURE__ */ c(
|
|
4859
|
+
e === "secondary" && /* @__PURE__ */ c(xe, { name: "access-time", size: "24px", color: "light-grey" }),
|
|
4857
4860
|
n && /* @__PURE__ */ c(ee, { as: "span", children: `${n}mn` })
|
|
4858
4861
|
] })
|
|
4859
4862
|
},
|
|
@@ -4870,11 +4873,11 @@ const Mc = ["primary", "secondary"], lt = ({
|
|
|
4870
4873
|
isLoading: o,
|
|
4871
4874
|
display: "inline-block",
|
|
4872
4875
|
style: { minWidth: 50, minHeight: 16 },
|
|
4873
|
-
children: i && /* @__PURE__ */ M(
|
|
4874
|
-
e === "secondary" && /* @__PURE__ */ c(
|
|
4875
|
-
i.map(({ username: p, name: E },
|
|
4876
|
-
/* @__PURE__ */ c(ee, { as: "span", children: E }),
|
|
4877
|
-
|
|
4876
|
+
children: i && /* @__PURE__ */ M(F, { alignContent: "center", alignItems: "center", gap: "xxs", className: "post-metadata__authors", children: [
|
|
4877
|
+
e === "secondary" && /* @__PURE__ */ c(xe, { name: "person", size: "24px", color: "light-grey" }),
|
|
4878
|
+
i.map(({ username: p, name: E, link: N }, T) => /* @__PURE__ */ M(rt, { children: [
|
|
4879
|
+
N ? /* @__PURE__ */ c(e0, { ...N, children: E }) : /* @__PURE__ */ c(ee, { as: "span", children: E }),
|
|
4880
|
+
T !== i.length - 1 && /* @__PURE__ */ c(ee, { as: "span", children: " & " })
|
|
4878
4881
|
] }, p))
|
|
4879
4882
|
] })
|
|
4880
4883
|
},
|
|
@@ -4924,18 +4927,16 @@ const Tc = ["highlight-light", "highlight-dark", "side-image"], k0 = ({
|
|
|
4924
4927
|
"post-card--with-tutorial": t === "tutorial"
|
|
4925
4928
|
}),
|
|
4926
4929
|
children: [
|
|
4927
|
-
/* @__PURE__ */ c(We, { isLoading: u, children: /* @__PURE__ */ c(Xn, { ...i, img: {
|
|
4928
|
-
/* @__PURE__ */ M(
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
children: [
|
|
4938
|
-
/* @__PURE__ */ c(We, { isLoading: u, children: /* @__PURE__ */ M(ve, { as: "h2", size: "xs", lineClamp: 2, className: "post-card__heading", children: [
|
|
4930
|
+
/* @__PURE__ */ c(We, { isLoading: u, children: /* @__PURE__ */ c(Xn, { ...i, img: { ...i == null ? void 0 : i.img, className: "post-card__cover" } }) }),
|
|
4931
|
+
/* @__PURE__ */ M(V, { my: { xs: "s", md: "m" }, pl: { xs: "s", md: "m" }, pr: { xs: "xs", md: "m" }, flex: "1", children: [
|
|
4932
|
+
/* @__PURE__ */ c(We, { isLoading: u, children: /* @__PURE__ */ M(
|
|
4933
|
+
ve,
|
|
4934
|
+
{
|
|
4935
|
+
as: "h2",
|
|
4936
|
+
size: "xs",
|
|
4937
|
+
lineClamp: { xs: n === "highlight-dark" ? 2 : 4, md: n === "highlight-light" ? 3 : 2 },
|
|
4938
|
+
className: "post-card__heading",
|
|
4939
|
+
children: [
|
|
4939
4940
|
/* @__PURE__ */ c(ee, { as: "a", ...d, size: "m", "data-internal-link": "post", className: "post-card__link", children: o }),
|
|
4940
4941
|
t === "tutorial" && /* @__PURE__ */ c(
|
|
4941
4942
|
ee,
|
|
@@ -4950,22 +4951,22 @@ const Tc = ["highlight-light", "highlight-dark", "side-image"], k0 = ({
|
|
|
4950
4951
|
children: p
|
|
4951
4952
|
}
|
|
4952
4953
|
)
|
|
4953
|
-
]
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
}
|
|
4968
|
-
)
|
|
4954
|
+
]
|
|
4955
|
+
}
|
|
4956
|
+
) }),
|
|
4957
|
+
/* @__PURE__ */ c(
|
|
4958
|
+
lt,
|
|
4959
|
+
{
|
|
4960
|
+
variant: "primary",
|
|
4961
|
+
mt: "xxs",
|
|
4962
|
+
date: s,
|
|
4963
|
+
readingTime: a,
|
|
4964
|
+
authors: l,
|
|
4965
|
+
isLoading: u
|
|
4966
|
+
}
|
|
4967
|
+
),
|
|
4968
|
+
n !== "highlight-dark" && /* @__PURE__ */ c(We, { isLoading: u, children: /* @__PURE__ */ c(ee, { mt: "xs", size: "s", hiddenBelow: "md", lineClamp: { xs: 4, md: 2 }, className: "post-card__excerpt", children: r }) })
|
|
4969
|
+
] })
|
|
4969
4970
|
]
|
|
4970
4971
|
}
|
|
4971
4972
|
);
|
|
@@ -4991,7 +4992,7 @@ const os = ({
|
|
|
4991
4992
|
/* @__PURE__ */ c(ee, { as: "div", size: "xs", mt: "xxs-3", italic: !0, children: n })
|
|
4992
4993
|
] }),
|
|
4993
4994
|
/* @__PURE__ */ c(
|
|
4994
|
-
|
|
4995
|
+
e0,
|
|
4995
4996
|
{
|
|
4996
4997
|
...o,
|
|
4997
4998
|
px: { xs: "0", md: "m" },
|
|
@@ -5035,7 +5036,7 @@ const Ac = ["primary", "secondary"], nr = ({
|
|
|
5035
5036
|
...o
|
|
5036
5037
|
}) => /* @__PURE__ */ M(V, { bg: "white", p: "m", className: re("summary-card", { [`summary-card--${e}`]: e }), ...o, children: [
|
|
5037
5038
|
/* @__PURE__ */ c(ve, { size: "m", color: "primary", children: t }),
|
|
5038
|
-
/* @__PURE__ */ c(F, { flexDirection: "column", mt: "m", children: i.map(({ name: r, label: s, ...a }, l) => /* @__PURE__ */ M(
|
|
5039
|
+
/* @__PURE__ */ c(F, { flexDirection: "column", mt: "m", children: i.map(({ name: r, label: s, ...a }, l) => /* @__PURE__ */ M(_e.Fragment, { children: [
|
|
5039
5040
|
/* @__PURE__ */ M(
|
|
5040
5041
|
F,
|
|
5041
5042
|
{
|
|
@@ -5072,29 +5073,29 @@ const kc = ["horizontal", "vertical"], ut = ({
|
|
|
5072
5073
|
children: [
|
|
5073
5074
|
/* @__PURE__ */ M(V, { className: "newsletter-card__intro", children: [
|
|
5074
5075
|
/* @__PURE__ */ c(ve, { size: "m", color: "accent", children: e }),
|
|
5075
|
-
/* @__PURE__ */ c(
|
|
5076
|
+
/* @__PURE__ */ c(xe, { name: "underline", color: "accent", width: "56px" }),
|
|
5076
5077
|
/* @__PURE__ */ c(ee, { mt: "m", children: t })
|
|
5077
5078
|
] }),
|
|
5078
5079
|
/* @__PURE__ */ c(V, { className: "newsletter-card__form", children: n })
|
|
5079
5080
|
]
|
|
5080
5081
|
}
|
|
5081
|
-
), o0 = -1,
|
|
5082
|
+
), o0 = -1, _0 = (e, t) => {
|
|
5082
5083
|
const n = t - e + 1;
|
|
5083
5084
|
return Array.from({ length: n }, (i, o) => o + e);
|
|
5084
5085
|
}, ss = ({ currentPage: e, totalPages: t, siblingCount: n = 2 }) => fn(() => {
|
|
5085
5086
|
if (n + 5 >= t)
|
|
5086
|
-
return
|
|
5087
|
+
return _0(1, t);
|
|
5087
5088
|
const o = Math.max(e - n, 1), r = Math.min(e + n, t), s = o > 2, a = r < t - 2;
|
|
5088
5089
|
if (!s && a) {
|
|
5089
|
-
const l = 3 + 2 * n, d =
|
|
5090
|
+
const l = 3 + 2 * n, d = _0(1, l);
|
|
5090
5091
|
return [...d, d.at(-1) === t - 1 ? t - 1 : o0, t];
|
|
5091
5092
|
}
|
|
5092
5093
|
if (s && !a) {
|
|
5093
|
-
const l = 3 + 2 * n, d =
|
|
5094
|
+
const l = 3 + 2 * n, d = _0(t - l + 1, t);
|
|
5094
5095
|
return [1, d[0] - 1 === 2 ? 2 : o0, ...d];
|
|
5095
5096
|
}
|
|
5096
5097
|
if (s && a) {
|
|
5097
|
-
const l =
|
|
5098
|
+
const l = _0(o, r);
|
|
5098
5099
|
return [
|
|
5099
5100
|
1,
|
|
5100
5101
|
l[0] - 1 === 2 ? 2 : o0,
|
|
@@ -5129,7 +5130,7 @@ const B0 = (e) => ({
|
|
|
5129
5130
|
disabled: e === 1,
|
|
5130
5131
|
getLink: n
|
|
5131
5132
|
}),
|
|
5132
|
-
children: /* @__PURE__ */ c(
|
|
5133
|
+
children: /* @__PURE__ */ c(xe, { name: "arrow" })
|
|
5133
5134
|
}
|
|
5134
5135
|
),
|
|
5135
5136
|
r.map((s, a) => /* @__PURE__ */ M(rt, { children: [
|
|
@@ -5154,18 +5155,18 @@ const B0 = (e) => ({
|
|
|
5154
5155
|
disabled: e === t,
|
|
5155
5156
|
getLink: n
|
|
5156
5157
|
}),
|
|
5157
|
-
children: /* @__PURE__ */ c(
|
|
5158
|
+
children: /* @__PURE__ */ c(xe, { name: "arrow" })
|
|
5158
5159
|
}
|
|
5159
5160
|
)
|
|
5160
5161
|
] });
|
|
5161
|
-
}, Dc = ({ posts: e, pagination: t, isLoading: n = !1 }) => /* @__PURE__ */ c(
|
|
5162
|
-
e.map((i, o) => /* @__PURE__ */ c(
|
|
5162
|
+
}, Dc = ({ posts: e, pagination: t, isLoading: n = !1 }) => /* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ M(F, { flexDirection: "column", gap: "m", children: [
|
|
5163
|
+
e.map((i, o) => /* @__PURE__ */ c(_e.Fragment, { children: /* @__PURE__ */ c(k0, { ...i || {}, isLoading: n }) }, (i == null ? void 0 : i.slug) ?? o)),
|
|
5163
5164
|
t && (t == null ? void 0 : t.totalPages) > 1 && /* @__PURE__ */ c(cs, { mx: "auto", ...t })
|
|
5164
5165
|
] }) });
|
|
5165
5166
|
function ls(e, t) {
|
|
5166
5167
|
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Z0(e, t);
|
|
5167
5168
|
}
|
|
5168
|
-
var Q0 = { exports: {} },
|
|
5169
|
+
var Q0 = { exports: {} }, y0 = { exports: {} }, ae = {};
|
|
5169
5170
|
/** @license React v16.13.1
|
|
5170
5171
|
* react-is.production.min.js
|
|
5171
5172
|
*
|
|
@@ -5179,7 +5180,7 @@ function us() {
|
|
|
5179
5180
|
if (Ft)
|
|
5180
5181
|
return ae;
|
|
5181
5182
|
Ft = 1;
|
|
5182
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, E = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115,
|
|
5183
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, E = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, R = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, h = e ? Symbol.for("react.scope") : 60119;
|
|
5183
5184
|
function m(f) {
|
|
5184
5185
|
if (typeof f == "object" && f !== null) {
|
|
5185
5186
|
var w = f.$$typeof;
|
|
@@ -5197,7 +5198,7 @@ function us() {
|
|
|
5197
5198
|
switch (f = f && f.$$typeof, f) {
|
|
5198
5199
|
case a:
|
|
5199
5200
|
case u:
|
|
5200
|
-
case
|
|
5201
|
+
case T:
|
|
5201
5202
|
case N:
|
|
5202
5203
|
case s:
|
|
5203
5204
|
return f;
|
|
@@ -5213,7 +5214,7 @@ function us() {
|
|
|
5213
5214
|
function g(f) {
|
|
5214
5215
|
return m(f) === d;
|
|
5215
5216
|
}
|
|
5216
|
-
return ae.AsyncMode = l, ae.ConcurrentMode = d, ae.ContextConsumer = a, ae.ContextProvider = s, ae.Element = t, ae.ForwardRef = u, ae.Fragment = i, ae.Lazy =
|
|
5217
|
+
return ae.AsyncMode = l, ae.ConcurrentMode = d, ae.ContextConsumer = a, ae.ContextProvider = s, ae.Element = t, ae.ForwardRef = u, ae.Fragment = i, ae.Lazy = T, ae.Memo = N, ae.Portal = n, ae.Profiler = r, ae.StrictMode = o, ae.Suspense = p, ae.isAsyncMode = function(f) {
|
|
5217
5218
|
return g(f) || m(f) === l;
|
|
5218
5219
|
}, ae.isConcurrentMode = g, ae.isContextConsumer = function(f) {
|
|
5219
5220
|
return m(f) === a;
|
|
@@ -5226,7 +5227,7 @@ function us() {
|
|
|
5226
5227
|
}, ae.isFragment = function(f) {
|
|
5227
5228
|
return m(f) === i;
|
|
5228
5229
|
}, ae.isLazy = function(f) {
|
|
5229
|
-
return m(f) ===
|
|
5230
|
+
return m(f) === T;
|
|
5230
5231
|
}, ae.isMemo = function(f) {
|
|
5231
5232
|
return m(f) === N;
|
|
5232
5233
|
}, ae.isPortal = function(f) {
|
|
@@ -5238,7 +5239,7 @@ function us() {
|
|
|
5238
5239
|
}, ae.isSuspense = function(f) {
|
|
5239
5240
|
return m(f) === p;
|
|
5240
5241
|
}, ae.isValidElementType = function(f) {
|
|
5241
|
-
return typeof f == "string" || typeof f == "function" || f === i || f === d || f === r || f === o || f === p || f === E || typeof f == "object" && f !== null && (f.$$typeof ===
|
|
5242
|
+
return typeof f == "string" || typeof f == "function" || f === i || f === d || f === r || f === o || f === p || f === E || typeof f == "object" && f !== null && (f.$$typeof === T || f.$$typeof === N || f.$$typeof === s || f.$$typeof === a || f.$$typeof === u || f.$$typeof === _ || f.$$typeof === A || f.$$typeof === h || f.$$typeof === R);
|
|
5242
5243
|
}, ae.typeOf = m, ae;
|
|
5243
5244
|
}
|
|
5244
5245
|
var se = {};
|
|
@@ -5253,10 +5254,10 @@ var se = {};
|
|
|
5253
5254
|
var qt;
|
|
5254
5255
|
function ds() {
|
|
5255
5256
|
return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
5256
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, E = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115,
|
|
5257
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, E = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, R = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, h = e ? Symbol.for("react.scope") : 60119;
|
|
5257
5258
|
function m(S) {
|
|
5258
5259
|
return typeof S == "string" || typeof S == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
5259
|
-
S === i || S === d || S === r || S === o || S === p || S === E || typeof S == "object" && S !== null && (S.$$typeof ===
|
|
5260
|
+
S === i || S === d || S === r || S === o || S === p || S === E || typeof S == "object" && S !== null && (S.$$typeof === T || S.$$typeof === N || S.$$typeof === s || S.$$typeof === a || S.$$typeof === u || S.$$typeof === _ || S.$$typeof === A || S.$$typeof === h || S.$$typeof === R);
|
|
5260
5261
|
}
|
|
5261
5262
|
function g(S) {
|
|
5262
5263
|
if (typeof S == "object" && S !== null) {
|
|
@@ -5273,14 +5274,14 @@ function ds() {
|
|
|
5273
5274
|
case p:
|
|
5274
5275
|
return L;
|
|
5275
5276
|
default:
|
|
5276
|
-
var
|
|
5277
|
-
switch (
|
|
5277
|
+
var ye = L && L.$$typeof;
|
|
5278
|
+
switch (ye) {
|
|
5278
5279
|
case a:
|
|
5279
5280
|
case u:
|
|
5280
|
-
case
|
|
5281
|
+
case T:
|
|
5281
5282
|
case N:
|
|
5282
5283
|
case s:
|
|
5283
|
-
return
|
|
5284
|
+
return ye;
|
|
5284
5285
|
default:
|
|
5285
5286
|
return de;
|
|
5286
5287
|
}
|
|
@@ -5290,7 +5291,7 @@ function ds() {
|
|
|
5290
5291
|
}
|
|
5291
5292
|
}
|
|
5292
5293
|
}
|
|
5293
|
-
var f = l, w = d, k = a, P = s, q = t, U = u, G = i, X =
|
|
5294
|
+
var f = l, w = d, k = a, P = s, q = t, U = u, G = i, X = T, ne = N, Z = n, ie = r, oe = o, W = p, pe = !1;
|
|
5294
5295
|
function ge(S) {
|
|
5295
5296
|
return pe || (pe = !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.")), x(S) || g(S) === l;
|
|
5296
5297
|
}
|
|
@@ -5309,11 +5310,11 @@ function ds() {
|
|
|
5309
5310
|
function v(S) {
|
|
5310
5311
|
return g(S) === u;
|
|
5311
5312
|
}
|
|
5312
|
-
function
|
|
5313
|
+
function y(S) {
|
|
5313
5314
|
return g(S) === i;
|
|
5314
5315
|
}
|
|
5315
5316
|
function I(S) {
|
|
5316
|
-
return g(S) ===
|
|
5317
|
+
return g(S) === T;
|
|
5317
5318
|
}
|
|
5318
5319
|
function C(S) {
|
|
5319
5320
|
return g(S) === N;
|
|
@@ -5330,12 +5331,12 @@ function ds() {
|
|
|
5330
5331
|
function Q(S) {
|
|
5331
5332
|
return g(S) === p;
|
|
5332
5333
|
}
|
|
5333
|
-
se.AsyncMode = f, se.ConcurrentMode = w, se.ContextConsumer = k, se.ContextProvider = P, se.Element = q, se.ForwardRef = U, se.Fragment = G, se.Lazy = X, se.Memo = ne, se.Portal = Z, se.Profiler = ie, se.StrictMode = oe, se.Suspense = W, se.isAsyncMode = ge, se.isConcurrentMode = x, se.isContextConsumer = D, se.isContextProvider = K, se.isElement = b, se.isForwardRef = v, se.isFragment =
|
|
5334
|
+
se.AsyncMode = f, se.ConcurrentMode = w, se.ContextConsumer = k, se.ContextProvider = P, se.Element = q, se.ForwardRef = U, se.Fragment = G, se.Lazy = X, se.Memo = ne, se.Portal = Z, se.Profiler = ie, se.StrictMode = oe, se.Suspense = W, se.isAsyncMode = ge, se.isConcurrentMode = x, se.isContextConsumer = D, se.isContextProvider = K, se.isElement = b, se.isForwardRef = v, se.isFragment = y, se.isLazy = I, se.isMemo = C, se.isPortal = z, se.isProfiler = H, se.isStrictMode = B, se.isSuspense = Q, se.isValidElementType = m, se.typeOf = g;
|
|
5334
5335
|
}()), se;
|
|
5335
5336
|
}
|
|
5336
5337
|
var Wt;
|
|
5337
5338
|
function rr() {
|
|
5338
|
-
return Wt || (Wt = 1, process.env.NODE_ENV === "production" ?
|
|
5339
|
+
return Wt || (Wt = 1, process.env.NODE_ENV === "production" ? y0.exports = us() : y0.exports = ds()), y0.exports;
|
|
5339
5340
|
}
|
|
5340
5341
|
/*
|
|
5341
5342
|
object-assign
|
|
@@ -5432,8 +5433,8 @@ function ps() {
|
|
|
5432
5433
|
throw E.name = "Invariant Violation", E;
|
|
5433
5434
|
}
|
|
5434
5435
|
p = r[u](s, u, l, a, null, t);
|
|
5435
|
-
} catch (
|
|
5436
|
-
p =
|
|
5436
|
+
} catch (T) {
|
|
5437
|
+
p = T;
|
|
5437
5438
|
}
|
|
5438
5439
|
if (p && !(p instanceof Error) && e(
|
|
5439
5440
|
(l || "React class") + ": type specification of " + a + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof p + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
@@ -5477,14 +5478,14 @@ function gs() {
|
|
|
5477
5478
|
return D;
|
|
5478
5479
|
}
|
|
5479
5480
|
var E = "<<anonymous>>", N = {
|
|
5480
|
-
array:
|
|
5481
|
-
bigint:
|
|
5482
|
-
bool:
|
|
5483
|
-
func:
|
|
5484
|
-
number:
|
|
5485
|
-
object:
|
|
5486
|
-
string:
|
|
5487
|
-
symbol:
|
|
5481
|
+
array: A("array"),
|
|
5482
|
+
bigint: A("bigint"),
|
|
5483
|
+
bool: A("boolean"),
|
|
5484
|
+
func: A("function"),
|
|
5485
|
+
number: A("number"),
|
|
5486
|
+
object: A("object"),
|
|
5487
|
+
string: A("string"),
|
|
5488
|
+
symbol: A("symbol"),
|
|
5488
5489
|
any: h(),
|
|
5489
5490
|
arrayOf: m,
|
|
5490
5491
|
element: g(),
|
|
@@ -5497,17 +5498,17 @@ function gs() {
|
|
|
5497
5498
|
shape: X,
|
|
5498
5499
|
exact: ne
|
|
5499
5500
|
};
|
|
5500
|
-
function
|
|
5501
|
+
function T(x, D) {
|
|
5501
5502
|
return x === D ? x !== 0 || 1 / x === 1 / D : x !== x && D !== D;
|
|
5502
5503
|
}
|
|
5503
5504
|
function R(x, D) {
|
|
5504
5505
|
this.message = x, this.data = D && typeof D == "object" ? D : {}, this.stack = "";
|
|
5505
5506
|
}
|
|
5506
5507
|
R.prototype = Error.prototype;
|
|
5507
|
-
function
|
|
5508
|
+
function _(x) {
|
|
5508
5509
|
if (process.env.NODE_ENV !== "production")
|
|
5509
5510
|
var D = {}, K = 0;
|
|
5510
|
-
function b(
|
|
5511
|
+
function b(y, I, C, z, H, B, Q) {
|
|
5511
5512
|
if (z = z || E, B = B || C, Q !== n) {
|
|
5512
5513
|
if (l) {
|
|
5513
5514
|
var S = new Error(
|
|
@@ -5522,111 +5523,111 @@ function gs() {
|
|
|
5522
5523
|
), D[de] = !0, K++);
|
|
5523
5524
|
}
|
|
5524
5525
|
}
|
|
5525
|
-
return I[C] == null ?
|
|
5526
|
+
return I[C] == null ? y ? I[C] === null ? new R("The " + H + " `" + B + "` is marked as required " + ("in `" + z + "`, but its value is `null`.")) : new R("The " + H + " `" + B + "` is marked as required in " + ("`" + z + "`, but its value is `undefined`.")) : null : x(I, C, z, H, B);
|
|
5526
5527
|
}
|
|
5527
5528
|
var v = b.bind(null, !1);
|
|
5528
5529
|
return v.isRequired = b.bind(null, !0), v;
|
|
5529
5530
|
}
|
|
5530
|
-
function
|
|
5531
|
-
function D(K, b, v,
|
|
5531
|
+
function A(x) {
|
|
5532
|
+
function D(K, b, v, y, I, C) {
|
|
5532
5533
|
var z = K[b], H = oe(z);
|
|
5533
5534
|
if (H !== x) {
|
|
5534
5535
|
var B = W(z);
|
|
5535
5536
|
return new R(
|
|
5536
|
-
"Invalid " +
|
|
5537
|
+
"Invalid " + y + " `" + I + "` of type " + ("`" + B + "` supplied to `" + v + "`, expected ") + ("`" + x + "`."),
|
|
5537
5538
|
{ expectedType: x }
|
|
5538
5539
|
);
|
|
5539
5540
|
}
|
|
5540
5541
|
return null;
|
|
5541
5542
|
}
|
|
5542
|
-
return
|
|
5543
|
+
return _(D);
|
|
5543
5544
|
}
|
|
5544
5545
|
function h() {
|
|
5545
|
-
return
|
|
5546
|
+
return _(s);
|
|
5546
5547
|
}
|
|
5547
5548
|
function m(x) {
|
|
5548
|
-
function D(K, b, v,
|
|
5549
|
+
function D(K, b, v, y, I) {
|
|
5549
5550
|
if (typeof x != "function")
|
|
5550
5551
|
return new R("Property `" + I + "` of component `" + v + "` has invalid PropType notation inside arrayOf.");
|
|
5551
5552
|
var C = K[b];
|
|
5552
5553
|
if (!Array.isArray(C)) {
|
|
5553
5554
|
var z = oe(C);
|
|
5554
|
-
return new R("Invalid " +
|
|
5555
|
+
return new R("Invalid " + y + " `" + I + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected an array."));
|
|
5555
5556
|
}
|
|
5556
5557
|
for (var H = 0; H < C.length; H++) {
|
|
5557
|
-
var B = x(C, H, v,
|
|
5558
|
+
var B = x(C, H, v, y, I + "[" + H + "]", n);
|
|
5558
5559
|
if (B instanceof Error)
|
|
5559
5560
|
return B;
|
|
5560
5561
|
}
|
|
5561
5562
|
return null;
|
|
5562
5563
|
}
|
|
5563
|
-
return
|
|
5564
|
+
return _(D);
|
|
5564
5565
|
}
|
|
5565
5566
|
function g() {
|
|
5566
|
-
function x(D, K, b, v,
|
|
5567
|
+
function x(D, K, b, v, y) {
|
|
5567
5568
|
var I = D[K];
|
|
5568
5569
|
if (!a(I)) {
|
|
5569
5570
|
var C = oe(I);
|
|
5570
|
-
return new R("Invalid " + v + " `" +
|
|
5571
|
+
return new R("Invalid " + v + " `" + y + "` of type " + ("`" + C + "` supplied to `" + b + "`, expected a single ReactElement."));
|
|
5571
5572
|
}
|
|
5572
5573
|
return null;
|
|
5573
5574
|
}
|
|
5574
|
-
return
|
|
5575
|
+
return _(x);
|
|
5575
5576
|
}
|
|
5576
5577
|
function f() {
|
|
5577
|
-
function x(D, K, b, v,
|
|
5578
|
+
function x(D, K, b, v, y) {
|
|
5578
5579
|
var I = D[K];
|
|
5579
5580
|
if (!e.isValidElementType(I)) {
|
|
5580
5581
|
var C = oe(I);
|
|
5581
|
-
return new R("Invalid " + v + " `" +
|
|
5582
|
+
return new R("Invalid " + v + " `" + y + "` of type " + ("`" + C + "` supplied to `" + b + "`, expected a single ReactElement type."));
|
|
5582
5583
|
}
|
|
5583
5584
|
return null;
|
|
5584
5585
|
}
|
|
5585
|
-
return
|
|
5586
|
+
return _(x);
|
|
5586
5587
|
}
|
|
5587
5588
|
function w(x) {
|
|
5588
|
-
function D(K, b, v,
|
|
5589
|
+
function D(K, b, v, y, I) {
|
|
5589
5590
|
if (!(K[b] instanceof x)) {
|
|
5590
5591
|
var C = x.name || E, z = ge(K[b]);
|
|
5591
|
-
return new R("Invalid " +
|
|
5592
|
+
return new R("Invalid " + y + " `" + I + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected ") + ("instance of `" + C + "`."));
|
|
5592
5593
|
}
|
|
5593
5594
|
return null;
|
|
5594
5595
|
}
|
|
5595
|
-
return
|
|
5596
|
+
return _(D);
|
|
5596
5597
|
}
|
|
5597
5598
|
function k(x) {
|
|
5598
5599
|
if (!Array.isArray(x))
|
|
5599
5600
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? r(
|
|
5600
5601
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
5601
5602
|
) : r("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
5602
|
-
function D(K, b, v,
|
|
5603
|
+
function D(K, b, v, y, I) {
|
|
5603
5604
|
for (var C = K[b], z = 0; z < x.length; z++)
|
|
5604
|
-
if (
|
|
5605
|
+
if (T(C, x[z]))
|
|
5605
5606
|
return null;
|
|
5606
5607
|
var H = JSON.stringify(x, function(Q, S) {
|
|
5607
5608
|
var de = W(S);
|
|
5608
5609
|
return de === "symbol" ? String(S) : S;
|
|
5609
5610
|
});
|
|
5610
|
-
return new R("Invalid " +
|
|
5611
|
+
return new R("Invalid " + y + " `" + I + "` of value `" + String(C) + "` " + ("supplied to `" + v + "`, expected one of " + H + "."));
|
|
5611
5612
|
}
|
|
5612
|
-
return
|
|
5613
|
+
return _(D);
|
|
5613
5614
|
}
|
|
5614
5615
|
function P(x) {
|
|
5615
|
-
function D(K, b, v,
|
|
5616
|
+
function D(K, b, v, y, I) {
|
|
5616
5617
|
if (typeof x != "function")
|
|
5617
5618
|
return new R("Property `" + I + "` of component `" + v + "` has invalid PropType notation inside objectOf.");
|
|
5618
5619
|
var C = K[b], z = oe(C);
|
|
5619
5620
|
if (z !== "object")
|
|
5620
|
-
return new R("Invalid " +
|
|
5621
|
+
return new R("Invalid " + y + " `" + I + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected an object."));
|
|
5621
5622
|
for (var H in C)
|
|
5622
5623
|
if (i(C, H)) {
|
|
5623
|
-
var B = x(C, H, v,
|
|
5624
|
+
var B = x(C, H, v, y, I + "." + H, n);
|
|
5624
5625
|
if (B instanceof Error)
|
|
5625
5626
|
return B;
|
|
5626
5627
|
}
|
|
5627
5628
|
return null;
|
|
5628
5629
|
}
|
|
5629
|
-
return
|
|
5630
|
+
return _(D);
|
|
5630
5631
|
}
|
|
5631
5632
|
function q(x) {
|
|
5632
5633
|
if (!Array.isArray(x))
|
|
@@ -5638,9 +5639,9 @@ function gs() {
|
|
|
5638
5639
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + pe(K) + " at index " + D + "."
|
|
5639
5640
|
), s;
|
|
5640
5641
|
}
|
|
5641
|
-
function b(v,
|
|
5642
|
+
function b(v, y, I, C, z) {
|
|
5642
5643
|
for (var H = [], B = 0; B < x.length; B++) {
|
|
5643
|
-
var Q = x[B], S = Q(v,
|
|
5644
|
+
var Q = x[B], S = Q(v, y, I, C, z, n);
|
|
5644
5645
|
if (S == null)
|
|
5645
5646
|
return null;
|
|
5646
5647
|
S.data && i(S.data, "expectedType") && H.push(S.data.expectedType);
|
|
@@ -5648,13 +5649,13 @@ function gs() {
|
|
|
5648
5649
|
var de = H.length > 0 ? ", expected one of type [" + H.join(", ") + "]" : "";
|
|
5649
5650
|
return new R("Invalid " + C + " `" + z + "` supplied to " + ("`" + I + "`" + de + "."));
|
|
5650
5651
|
}
|
|
5651
|
-
return
|
|
5652
|
+
return _(b);
|
|
5652
5653
|
}
|
|
5653
5654
|
function U() {
|
|
5654
|
-
function x(D, K, b, v,
|
|
5655
|
-
return Z(D[K]) ? null : new R("Invalid " + v + " `" +
|
|
5655
|
+
function x(D, K, b, v, y) {
|
|
5656
|
+
return Z(D[K]) ? null : new R("Invalid " + v + " `" + y + "` supplied to " + ("`" + b + "`, expected a ReactNode."));
|
|
5656
5657
|
}
|
|
5657
|
-
return
|
|
5658
|
+
return _(x);
|
|
5658
5659
|
}
|
|
5659
5660
|
function G(x, D, K, b, v) {
|
|
5660
5661
|
return new R(
|
|
@@ -5662,44 +5663,44 @@ function gs() {
|
|
|
5662
5663
|
);
|
|
5663
5664
|
}
|
|
5664
5665
|
function X(x) {
|
|
5665
|
-
function D(K, b, v,
|
|
5666
|
+
function D(K, b, v, y, I) {
|
|
5666
5667
|
var C = K[b], z = oe(C);
|
|
5667
5668
|
if (z !== "object")
|
|
5668
|
-
return new R("Invalid " +
|
|
5669
|
+
return new R("Invalid " + y + " `" + I + "` of type `" + z + "` " + ("supplied to `" + v + "`, expected `object`."));
|
|
5669
5670
|
for (var H in x) {
|
|
5670
5671
|
var B = x[H];
|
|
5671
5672
|
if (typeof B != "function")
|
|
5672
|
-
return G(v,
|
|
5673
|
-
var Q = B(C, H, v,
|
|
5673
|
+
return G(v, y, I, H, W(B));
|
|
5674
|
+
var Q = B(C, H, v, y, I + "." + H, n);
|
|
5674
5675
|
if (Q)
|
|
5675
5676
|
return Q;
|
|
5676
5677
|
}
|
|
5677
5678
|
return null;
|
|
5678
5679
|
}
|
|
5679
|
-
return
|
|
5680
|
+
return _(D);
|
|
5680
5681
|
}
|
|
5681
5682
|
function ne(x) {
|
|
5682
|
-
function D(K, b, v,
|
|
5683
|
+
function D(K, b, v, y, I) {
|
|
5683
5684
|
var C = K[b], z = oe(C);
|
|
5684
5685
|
if (z !== "object")
|
|
5685
|
-
return new R("Invalid " +
|
|
5686
|
+
return new R("Invalid " + y + " `" + I + "` of type `" + z + "` " + ("supplied to `" + v + "`, expected `object`."));
|
|
5686
5687
|
var H = t({}, K[b], x);
|
|
5687
5688
|
for (var B in H) {
|
|
5688
5689
|
var Q = x[B];
|
|
5689
5690
|
if (i(x, B) && typeof Q != "function")
|
|
5690
|
-
return G(v,
|
|
5691
|
+
return G(v, y, I, B, W(Q));
|
|
5691
5692
|
if (!Q)
|
|
5692
5693
|
return new R(
|
|
5693
|
-
"Invalid " +
|
|
5694
|
+
"Invalid " + y + " `" + I + "` key `" + B + "` supplied to `" + v + "`.\nBad object: " + JSON.stringify(K[b], null, " ") + `
|
|
5694
5695
|
Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
5695
5696
|
);
|
|
5696
|
-
var S = Q(C, B, v,
|
|
5697
|
+
var S = Q(C, B, v, y, I + "." + B, n);
|
|
5697
5698
|
if (S)
|
|
5698
5699
|
return S;
|
|
5699
5700
|
}
|
|
5700
5701
|
return null;
|
|
5701
5702
|
}
|
|
5702
|
-
return
|
|
5703
|
+
return _(D);
|
|
5703
5704
|
}
|
|
5704
5705
|
function Z(x) {
|
|
5705
5706
|
switch (typeof x) {
|
|
@@ -5840,39 +5841,39 @@ var J0 = { exports: {} }, ce = {};
|
|
|
5840
5841
|
* LICENSE file in the root directory of this source tree.
|
|
5841
5842
|
*/
|
|
5842
5843
|
var en;
|
|
5843
|
-
function
|
|
5844
|
+
function _s() {
|
|
5844
5845
|
if (en)
|
|
5845
5846
|
return ce;
|
|
5846
5847
|
en = 1;
|
|
5847
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), r = Symbol.for("react.provider"), s = Symbol.for("react.context"), a = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"),
|
|
5848
|
-
|
|
5849
|
-
function R(
|
|
5850
|
-
if (typeof
|
|
5851
|
-
var
|
|
5852
|
-
switch (
|
|
5848
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), r = Symbol.for("react.provider"), s = Symbol.for("react.context"), a = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), T;
|
|
5849
|
+
T = Symbol.for("react.module.reference");
|
|
5850
|
+
function R(_) {
|
|
5851
|
+
if (typeof _ == "object" && _ !== null) {
|
|
5852
|
+
var A = _.$$typeof;
|
|
5853
|
+
switch (A) {
|
|
5853
5854
|
case e:
|
|
5854
|
-
switch (
|
|
5855
|
+
switch (_ = _.type, _) {
|
|
5855
5856
|
case n:
|
|
5856
5857
|
case o:
|
|
5857
5858
|
case i:
|
|
5858
5859
|
case d:
|
|
5859
5860
|
case u:
|
|
5860
|
-
return
|
|
5861
|
+
return _;
|
|
5861
5862
|
default:
|
|
5862
|
-
switch (
|
|
5863
|
+
switch (_ = _ && _.$$typeof, _) {
|
|
5863
5864
|
case a:
|
|
5864
5865
|
case s:
|
|
5865
5866
|
case l:
|
|
5866
5867
|
case E:
|
|
5867
5868
|
case p:
|
|
5868
5869
|
case r:
|
|
5869
|
-
return
|
|
5870
|
+
return _;
|
|
5870
5871
|
default:
|
|
5871
|
-
return
|
|
5872
|
+
return A;
|
|
5872
5873
|
}
|
|
5873
5874
|
}
|
|
5874
5875
|
case t:
|
|
5875
|
-
return
|
|
5876
|
+
return A;
|
|
5876
5877
|
}
|
|
5877
5878
|
}
|
|
5878
5879
|
}
|
|
@@ -5880,32 +5881,32 @@ function ys() {
|
|
|
5880
5881
|
return !1;
|
|
5881
5882
|
}, ce.isConcurrentMode = function() {
|
|
5882
5883
|
return !1;
|
|
5883
|
-
}, ce.isContextConsumer = function(
|
|
5884
|
-
return R(
|
|
5885
|
-
}, ce.isContextProvider = function(
|
|
5886
|
-
return R(
|
|
5887
|
-
}, ce.isElement = function(
|
|
5888
|
-
return typeof
|
|
5889
|
-
}, ce.isForwardRef = function(
|
|
5890
|
-
return R(
|
|
5891
|
-
}, ce.isFragment = function(
|
|
5892
|
-
return R(
|
|
5893
|
-
}, ce.isLazy = function(
|
|
5894
|
-
return R(
|
|
5895
|
-
}, ce.isMemo = function(
|
|
5896
|
-
return R(
|
|
5897
|
-
}, ce.isPortal = function(
|
|
5898
|
-
return R(
|
|
5899
|
-
}, ce.isProfiler = function(
|
|
5900
|
-
return R(
|
|
5901
|
-
}, ce.isStrictMode = function(
|
|
5902
|
-
return R(
|
|
5903
|
-
}, ce.isSuspense = function(
|
|
5904
|
-
return R(
|
|
5905
|
-
}, ce.isSuspenseList = function(
|
|
5906
|
-
return R(
|
|
5907
|
-
}, ce.isValidElementType = function(
|
|
5908
|
-
return typeof
|
|
5884
|
+
}, ce.isContextConsumer = function(_) {
|
|
5885
|
+
return R(_) === s;
|
|
5886
|
+
}, ce.isContextProvider = function(_) {
|
|
5887
|
+
return R(_) === r;
|
|
5888
|
+
}, ce.isElement = function(_) {
|
|
5889
|
+
return typeof _ == "object" && _ !== null && _.$$typeof === e;
|
|
5890
|
+
}, ce.isForwardRef = function(_) {
|
|
5891
|
+
return R(_) === l;
|
|
5892
|
+
}, ce.isFragment = function(_) {
|
|
5893
|
+
return R(_) === n;
|
|
5894
|
+
}, ce.isLazy = function(_) {
|
|
5895
|
+
return R(_) === E;
|
|
5896
|
+
}, ce.isMemo = function(_) {
|
|
5897
|
+
return R(_) === p;
|
|
5898
|
+
}, ce.isPortal = function(_) {
|
|
5899
|
+
return R(_) === t;
|
|
5900
|
+
}, ce.isProfiler = function(_) {
|
|
5901
|
+
return R(_) === o;
|
|
5902
|
+
}, ce.isStrictMode = function(_) {
|
|
5903
|
+
return R(_) === i;
|
|
5904
|
+
}, ce.isSuspense = function(_) {
|
|
5905
|
+
return R(_) === d;
|
|
5906
|
+
}, ce.isSuspenseList = function(_) {
|
|
5907
|
+
return R(_) === u;
|
|
5908
|
+
}, ce.isValidElementType = function(_) {
|
|
5909
|
+
return typeof _ == "string" || typeof _ == "function" || _ === n || _ === o || _ === i || _ === d || _ === u || _ === N || typeof _ == "object" && _ !== null && (_.$$typeof === E || _.$$typeof === p || _.$$typeof === r || _.$$typeof === s || _.$$typeof === l || _.$$typeof === T || _.getModuleId !== void 0);
|
|
5909
5910
|
}, ce.typeOf = R, ce;
|
|
5910
5911
|
}
|
|
5911
5912
|
var le = {};
|
|
@@ -5919,12 +5920,12 @@ var le = {};
|
|
|
5919
5920
|
* LICENSE file in the root directory of this source tree.
|
|
5920
5921
|
*/
|
|
5921
5922
|
var tn;
|
|
5922
|
-
function
|
|
5923
|
+
function ys() {
|
|
5923
5924
|
return tn || (tn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
5924
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), r = Symbol.for("react.provider"), s = Symbol.for("react.context"), a = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"),
|
|
5925
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), r = Symbol.for("react.provider"), s = Symbol.for("react.context"), a = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), T = !1, R = !1, _ = !1, A = !1, h = !1, m;
|
|
5925
5926
|
m = Symbol.for("react.module.reference");
|
|
5926
5927
|
function g(L) {
|
|
5927
|
-
return !!(typeof L == "string" || typeof L == "function" || L === n || L === o || h || L === i || L === d || L === u ||
|
|
5928
|
+
return !!(typeof L == "string" || typeof L == "function" || L === n || L === o || h || L === i || L === d || L === u || A || L === N || T || R || _ || typeof L == "object" && L !== null && (L.$$typeof === E || L.$$typeof === p || L.$$typeof === r || L.$$typeof === s || L.$$typeof === l || // This needs to include all possible module reference object
|
|
5928
5929
|
// types supported by any Flight configuration anywhere since
|
|
5929
5930
|
// we don't know which Flight build this will end up being used
|
|
5930
5931
|
// with.
|
|
@@ -5932,8 +5933,8 @@ function _s() {
|
|
|
5932
5933
|
}
|
|
5933
5934
|
function f(L) {
|
|
5934
5935
|
if (typeof L == "object" && L !== null) {
|
|
5935
|
-
var
|
|
5936
|
-
switch (
|
|
5936
|
+
var ye = L.$$typeof;
|
|
5937
|
+
switch (ye) {
|
|
5937
5938
|
case e:
|
|
5938
5939
|
var be = L.type;
|
|
5939
5940
|
switch (be) {
|
|
@@ -5954,11 +5955,11 @@ function _s() {
|
|
|
5954
5955
|
case r:
|
|
5955
5956
|
return Le;
|
|
5956
5957
|
default:
|
|
5957
|
-
return
|
|
5958
|
+
return ye;
|
|
5958
5959
|
}
|
|
5959
5960
|
}
|
|
5960
5961
|
case t:
|
|
5961
|
-
return
|
|
5962
|
+
return ye;
|
|
5962
5963
|
}
|
|
5963
5964
|
}
|
|
5964
5965
|
}
|
|
@@ -5978,7 +5979,7 @@ function _s() {
|
|
|
5978
5979
|
function v(L) {
|
|
5979
5980
|
return typeof L == "object" && L !== null && L.$$typeof === e;
|
|
5980
5981
|
}
|
|
5981
|
-
function
|
|
5982
|
+
function y(L) {
|
|
5982
5983
|
return f(L) === l;
|
|
5983
5984
|
}
|
|
5984
5985
|
function I(L) {
|
|
@@ -6005,10 +6006,10 @@ function _s() {
|
|
|
6005
6006
|
function de(L) {
|
|
6006
6007
|
return f(L) === u;
|
|
6007
6008
|
}
|
|
6008
|
-
le.ContextConsumer = w, le.ContextProvider = k, le.Element = P, le.ForwardRef = q, le.Fragment = U, le.Lazy = G, le.Memo = X, le.Portal = ne, le.Profiler = Z, le.StrictMode = ie, le.Suspense = oe, le.SuspenseList = W, le.isAsyncMode = x, le.isConcurrentMode = D, le.isContextConsumer = K, le.isContextProvider = b, le.isElement = v, le.isForwardRef =
|
|
6009
|
+
le.ContextConsumer = w, le.ContextProvider = k, le.Element = P, le.ForwardRef = q, le.Fragment = U, le.Lazy = G, le.Memo = X, le.Portal = ne, le.Profiler = Z, le.StrictMode = ie, le.Suspense = oe, le.SuspenseList = W, le.isAsyncMode = x, le.isConcurrentMode = D, le.isContextConsumer = K, le.isContextProvider = b, le.isElement = v, le.isForwardRef = y, le.isFragment = I, le.isLazy = C, le.isMemo = z, le.isPortal = H, le.isProfiler = B, le.isStrictMode = Q, le.isSuspense = S, le.isSuspenseList = de, le.isValidElementType = g, le.typeOf = f;
|
|
6009
6010
|
}()), le;
|
|
6010
6011
|
}
|
|
6011
|
-
process.env.NODE_ENV === "production" ? J0.exports =
|
|
6012
|
+
process.env.NODE_ENV === "production" ? J0.exports = _s() : J0.exports = ys();
|
|
6012
6013
|
var nn = J0.exports;
|
|
6013
6014
|
const rn = (e) => typeof e == "object" && e != null && e.nodeType === 1, on = (e, t) => (!t || e !== "hidden") && e !== "visible" && e !== "clip", F0 = (e, t) => {
|
|
6014
6015
|
if (e.clientHeight < e.scrollHeight || e.clientWidth < e.scrollWidth) {
|
|
@@ -6038,15 +6039,15 @@ const rn = (e) => typeof e == "object" && e != null && e.nodeType === 1, on = (e
|
|
|
6038
6039
|
if (!rn(e))
|
|
6039
6040
|
throw new TypeError("Invalid target");
|
|
6040
6041
|
const E = document.scrollingElement || document.documentElement, N = [];
|
|
6041
|
-
let
|
|
6042
|
-
for (; rn(
|
|
6043
|
-
if (
|
|
6044
|
-
N.push(
|
|
6042
|
+
let T = e;
|
|
6043
|
+
for (; rn(T) && p(T); ) {
|
|
6044
|
+
if (T = Es(T), T === E) {
|
|
6045
|
+
N.push(T);
|
|
6045
6046
|
break;
|
|
6046
6047
|
}
|
|
6047
|
-
|
|
6048
|
+
T != null && T === document.body && F0(T) && !F0(document.documentElement) || T != null && F0(T, u) && N.push(T);
|
|
6048
6049
|
}
|
|
6049
|
-
const R = (i = (n = window.visualViewport) == null ? void 0 : n.width) != null ? i : innerWidth,
|
|
6050
|
+
const R = (i = (n = window.visualViewport) == null ? void 0 : n.width) != null ? i : innerWidth, _ = (r = (o = window.visualViewport) == null ? void 0 : o.height) != null ? r : innerHeight, { scrollX: A, scrollY: h } = window, { height: m, width: g, top: f, right: w, bottom: k, left: P } = e.getBoundingClientRect(), { top: q, right: U, bottom: G, left: X } = ((oe) => {
|
|
6050
6051
|
const W = window.getComputedStyle(oe);
|
|
6051
6052
|
return { top: parseFloat(W.scrollMarginTop) || 0, right: parseFloat(W.scrollMarginRight) || 0, bottom: parseFloat(W.scrollMarginBottom) || 0, left: parseFloat(W.scrollMarginLeft) || 0 };
|
|
6052
6053
|
})(e);
|
|
@@ -6054,17 +6055,17 @@ const rn = (e) => typeof e == "object" && e != null && e.nodeType === 1, on = (e
|
|
|
6054
6055
|
const ie = [];
|
|
6055
6056
|
for (let oe = 0; oe < N.length; oe++) {
|
|
6056
6057
|
const W = N[oe], { height: pe, width: ge, top: x, right: D, bottom: K, left: b } = W.getBoundingClientRect();
|
|
6057
|
-
if (s === "if-needed" && f >= 0 && P >= 0 && k <=
|
|
6058
|
+
if (s === "if-needed" && f >= 0 && P >= 0 && k <= _ && w <= R && f >= x && k <= K && P >= b && w <= D)
|
|
6058
6059
|
return ie;
|
|
6059
|
-
const v = getComputedStyle(W),
|
|
6060
|
+
const v = getComputedStyle(W), y = parseInt(v.borderLeftWidth, 10), I = parseInt(v.borderTopWidth, 10), C = parseInt(v.borderRightWidth, 10), z = parseInt(v.borderBottomWidth, 10);
|
|
6060
6061
|
let H = 0, B = 0;
|
|
6061
|
-
const Q = "offsetWidth" in W ? W.offsetWidth - W.clientWidth -
|
|
6062
|
+
const Q = "offsetWidth" in W ? W.offsetWidth - W.clientWidth - y - C : 0, S = "offsetHeight" in W ? W.offsetHeight - W.clientHeight - I - z : 0, de = "offsetWidth" in W ? W.offsetWidth === 0 ? 0 : ge / W.offsetWidth : 0, L = "offsetHeight" in W ? W.offsetHeight === 0 ? 0 : pe / W.offsetHeight : 0;
|
|
6062
6063
|
if (E === W)
|
|
6063
|
-
H = a === "start" ? ne : a === "end" ? ne -
|
|
6064
|
+
H = a === "start" ? ne : a === "end" ? ne - _ : a === "nearest" ? E0(h, h + _, _, I, z, h + ne, h + ne + m, m) : ne - _ / 2, B = l === "start" ? Z : l === "center" ? Z - R / 2 : l === "end" ? Z - R : E0(A, A + R, R, y, C, A + Z, A + Z + g, g), H = Math.max(0, H + h), B = Math.max(0, B + A);
|
|
6064
6065
|
else {
|
|
6065
|
-
H = a === "start" ? ne - x - I : a === "end" ? ne - K + z + S : a === "nearest" ? E0(x, K, pe, I, z + S, ne, ne + m, m) : ne - (x + pe / 2) + S / 2, B = l === "start" ? Z - b -
|
|
6066
|
-
const { scrollLeft:
|
|
6067
|
-
H = L === 0 ? 0 : Math.max(0, Math.min(be + H / L, W.scrollHeight - pe / L + S)), B = de === 0 ? 0 : Math.max(0, Math.min(
|
|
6066
|
+
H = a === "start" ? ne - x - I : a === "end" ? ne - K + z + S : a === "nearest" ? E0(x, K, pe, I, z + S, ne, ne + m, m) : ne - (x + pe / 2) + S / 2, B = l === "start" ? Z - b - y : l === "center" ? Z - (b + ge / 2) + Q / 2 : l === "end" ? Z - D + C + Q : E0(b, D, ge, y, C + Q, Z, Z + g, g);
|
|
6067
|
+
const { scrollLeft: ye, scrollTop: be } = W;
|
|
6068
|
+
H = L === 0 ? 0 : Math.max(0, Math.min(be + H / L, W.scrollHeight - pe / L + S)), B = de === 0 ? 0 : Math.max(0, Math.min(ye + B / de, W.scrollWidth - ge / de + Q)), ne += be - H, Z += ye - B;
|
|
6068
6069
|
}
|
|
6069
6070
|
ie.push({ el: W, top: H, left: B });
|
|
6070
6071
|
}
|
|
@@ -6082,9 +6083,9 @@ var c0 = function() {
|
|
|
6082
6083
|
};
|
|
6083
6084
|
var xs = 0;
|
|
6084
6085
|
function an(e) {
|
|
6085
|
-
return typeof e == "function" ? e :
|
|
6086
|
+
return typeof e == "function" ? e : ke;
|
|
6086
6087
|
}
|
|
6087
|
-
function
|
|
6088
|
+
function ke() {
|
|
6088
6089
|
}
|
|
6089
6090
|
function or(e, t) {
|
|
6090
6091
|
if (e) {
|
|
@@ -6182,7 +6183,7 @@ function et(e) {
|
|
|
6182
6183
|
function Ss(e) {
|
|
6183
6184
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
6184
6185
|
}
|
|
6185
|
-
function
|
|
6186
|
+
function n0(e, t, n, i, o) {
|
|
6186
6187
|
o === void 0 && (o = !1);
|
|
6187
6188
|
var r = n.length;
|
|
6188
6189
|
if (r === 0)
|
|
@@ -6212,7 +6213,7 @@ function M0(e, t, n, i) {
|
|
|
6212
6213
|
return o && (sn(o, e, n) || i && sn(o, n.document.activeElement, n));
|
|
6213
6214
|
});
|
|
6214
6215
|
}
|
|
6215
|
-
var pt =
|
|
6216
|
+
var pt = ke;
|
|
6216
6217
|
process.env.NODE_ENV !== "production" && (pt = function(t, n, i) {
|
|
6217
6218
|
var o = "This prop should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled Downshift element for the lifetime of the component. More info: https://github.com/downshift-js/downshift#control-props";
|
|
6218
6219
|
Object.keys(t).forEach(function(r) {
|
|
@@ -6241,7 +6242,7 @@ function dr(e, t) {
|
|
|
6241
6242
|
n.textContent = e, Os(t);
|
|
6242
6243
|
}
|
|
6243
6244
|
}
|
|
6244
|
-
var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, pr = process.env.NODE_ENV !== "production" ? "__autocomplete_mouseup__" : 1, gr = process.env.NODE_ENV !== "production" ? "__autocomplete_item_mouseenter__" : 2, N0 = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_up__" : 3, S0 = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_down__" : 4, mr = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_escape__" : 5, hr = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_enter__" : 6, vr = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_home__" : 7, br = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_end__" : 8,
|
|
6245
|
+
var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, pr = process.env.NODE_ENV !== "production" ? "__autocomplete_mouseup__" : 1, gr = process.env.NODE_ENV !== "production" ? "__autocomplete_item_mouseenter__" : 2, N0 = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_up__" : 3, S0 = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_down__" : 4, mr = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_escape__" : 5, hr = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_enter__" : 6, vr = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_home__" : 7, br = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_end__" : 8, _r = process.env.NODE_ENV !== "production" ? "__autocomplete_click_item__" : 9, yr = process.env.NODE_ENV !== "production" ? "__autocomplete_blur_input__" : 10, Er = process.env.NODE_ENV !== "production" ? "__autocomplete_change_input__" : 11, Ir = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_space_button__" : 12, tt = process.env.NODE_ENV !== "production" ? "__autocomplete_click_button__" : 13, xr = process.env.NODE_ENV !== "production" ? "__autocomplete_blur_button__" : 14, wr = process.env.NODE_ENV !== "production" ? "__autocomplete_controlled_prop_updated_selected_item__" : 15, Nr = process.env.NODE_ENV !== "production" ? "__autocomplete_touchend__" : 16, Rs = /* @__PURE__ */ Object.freeze({
|
|
6245
6246
|
__proto__: null,
|
|
6246
6247
|
unknown: fr,
|
|
6247
6248
|
mouseUp: pr,
|
|
@@ -6252,8 +6253,8 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6252
6253
|
keyDownEnter: hr,
|
|
6253
6254
|
keyDownHome: vr,
|
|
6254
6255
|
keyDownEnd: br,
|
|
6255
|
-
clickItem:
|
|
6256
|
-
blurInput:
|
|
6256
|
+
clickItem: _r,
|
|
6257
|
+
blurInput: yr,
|
|
6257
6258
|
changeInput: Er,
|
|
6258
6259
|
keyDownSpaceButton: Ir,
|
|
6259
6260
|
clickButton: tt,
|
|
@@ -6342,7 +6343,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6342
6343
|
}, function() {
|
|
6343
6344
|
var w = g.getItemCount();
|
|
6344
6345
|
if (w > 0) {
|
|
6345
|
-
var k = g.getState(), P = k.highlightedIndex, q =
|
|
6346
|
+
var k = g.getState(), P = k.highlightedIndex, q = n0(P, 1, {
|
|
6346
6347
|
length: w
|
|
6347
6348
|
}, g.isItemDisabled, !0);
|
|
6348
6349
|
g.setHighlightedIndex(q, {
|
|
@@ -6365,7 +6366,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6365
6366
|
}, function() {
|
|
6366
6367
|
var w = g.getItemCount();
|
|
6367
6368
|
if (w > 0) {
|
|
6368
|
-
var k = g.getState(), P = k.highlightedIndex, q =
|
|
6369
|
+
var k = g.getState(), P = k.highlightedIndex, q = n0(P, -1, {
|
|
6369
6370
|
length: w
|
|
6370
6371
|
}, g.isItemDisabled, !0);
|
|
6371
6372
|
g.setHighlightedIndex(q, {
|
|
@@ -6518,7 +6519,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6518
6519
|
if (!(r.isMouseDown || !r.props.environment)) {
|
|
6519
6520
|
var m = r.props.environment.document.activeElement, g = (m == null || (h = m.dataset) == null ? void 0 : h.toggle) && r._rootNode && r._rootNode.contains(m);
|
|
6520
6521
|
g || r.reset({
|
|
6521
|
-
type:
|
|
6522
|
+
type: yr
|
|
6522
6523
|
});
|
|
6523
6524
|
}
|
|
6524
6525
|
});
|
|
@@ -6551,7 +6552,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6551
6552
|
})
|
|
6552
6553
|
}, m[X] = he(ne, function() {
|
|
6553
6554
|
r.selectItemAtIndex(P, {
|
|
6554
|
-
type:
|
|
6555
|
+
type: _r
|
|
6555
6556
|
});
|
|
6556
6557
|
}), m), ie = G.disabled ? {
|
|
6557
6558
|
onMouseDown: Z.onMouseDown
|
|
@@ -6604,13 +6605,13 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6604
6605
|
r.previousResultCount = f, dr(w, r.props.environment.document);
|
|
6605
6606
|
}
|
|
6606
6607
|
}, 200);
|
|
6607
|
-
var s = r.props, a = s.defaultHighlightedIndex, l = s.initialHighlightedIndex, d = l === void 0 ? a : l, u = s.defaultIsOpen, p = s.initialIsOpen, E = p === void 0 ? u : p, N = s.initialInputValue,
|
|
6608
|
+
var s = r.props, a = s.defaultHighlightedIndex, l = s.initialHighlightedIndex, d = l === void 0 ? a : l, u = s.defaultIsOpen, p = s.initialIsOpen, E = p === void 0 ? u : p, N = s.initialInputValue, T = N === void 0 ? "" : N, R = s.initialSelectedItem, _ = R === void 0 ? null : R, A = r.getState({
|
|
6608
6609
|
highlightedIndex: d,
|
|
6609
6610
|
isOpen: E,
|
|
6610
|
-
inputValue:
|
|
6611
|
-
selectedItem:
|
|
6611
|
+
inputValue: T,
|
|
6612
|
+
selectedItem: _
|
|
6612
6613
|
});
|
|
6613
|
-
return
|
|
6614
|
+
return A.selectedItem != null && r.props.initialInputValue === void 0 && (A.inputValue = r.props.itemToString(A.selectedItem)), r.state = A, r;
|
|
6614
6615
|
}
|
|
6615
6616
|
var i = n.prototype;
|
|
6616
6617
|
return i.internalClearTimeouts = function() {
|
|
@@ -6632,21 +6633,21 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6632
6633
|
}, i.moveHighlightedIndex = function(r, s) {
|
|
6633
6634
|
var a = this.getItemCount(), l = this.getState(), d = l.highlightedIndex;
|
|
6634
6635
|
if (a > 0) {
|
|
6635
|
-
var u =
|
|
6636
|
+
var u = n0(d, r, {
|
|
6636
6637
|
length: a
|
|
6637
6638
|
}, this.isItemDisabled, !0);
|
|
6638
6639
|
this.setHighlightedIndex(u, s);
|
|
6639
6640
|
}
|
|
6640
6641
|
}, i.getStateAndHelpers = function() {
|
|
6641
|
-
var r = this.getState(), s = r.highlightedIndex, a = r.inputValue, l = r.selectedItem, d = r.isOpen, u = this.props.itemToString, p = this.id, E = this.getRootProps, N = this.getToggleButtonProps,
|
|
6642
|
+
var r = this.getState(), s = r.highlightedIndex, a = r.inputValue, l = r.selectedItem, d = r.isOpen, u = this.props.itemToString, p = this.id, E = this.getRootProps, N = this.getToggleButtonProps, T = this.getLabelProps, R = this.getMenuProps, _ = this.getInputProps, A = this.getItemProps, h = this.openMenu, m = this.closeMenu, g = this.toggleMenu, f = this.selectItem, w = this.selectItemAtIndex, k = this.selectHighlightedItem, P = this.setHighlightedIndex, q = this.clearSelection, U = this.clearItems, G = this.reset, X = this.setItemCount, ne = this.unsetItemCount, Z = this.internalSetState;
|
|
6642
6643
|
return {
|
|
6643
6644
|
// prop getters
|
|
6644
6645
|
getRootProps: E,
|
|
6645
6646
|
getToggleButtonProps: N,
|
|
6646
|
-
getLabelProps:
|
|
6647
|
+
getLabelProps: T,
|
|
6647
6648
|
getMenuProps: R,
|
|
6648
|
-
getInputProps:
|
|
6649
|
-
getItemProps:
|
|
6649
|
+
getInputProps: _,
|
|
6650
|
+
getItemProps: A,
|
|
6650
6651
|
// actions
|
|
6651
6652
|
reset: G,
|
|
6652
6653
|
openMenu: h,
|
|
@@ -6682,8 +6683,8 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6682
6683
|
r.isMouseDown = !0;
|
|
6683
6684
|
}, a = function(N) {
|
|
6684
6685
|
r.isMouseDown = !1;
|
|
6685
|
-
var
|
|
6686
|
-
!
|
|
6686
|
+
var T = M0(N.target, [r._rootNode, r._menuNode], r.props.environment);
|
|
6687
|
+
!T && r.getState().isOpen && r.reset({
|
|
6687
6688
|
type: pr
|
|
6688
6689
|
}, function() {
|
|
6689
6690
|
return r.props.onOuterClick(r.getStateAndHelpers());
|
|
@@ -6693,8 +6694,8 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6693
6694
|
}, d = function() {
|
|
6694
6695
|
r.isTouchMove = !0;
|
|
6695
6696
|
}, u = function(N) {
|
|
6696
|
-
var
|
|
6697
|
-
!r.isTouchMove && !
|
|
6697
|
+
var T = M0(N.target, [r._rootNode, r._menuNode], r.props.environment, !1);
|
|
6698
|
+
!r.isTouchMove && !T && r.getState().isOpen && r.reset({
|
|
6698
6699
|
type: Nr
|
|
6699
6700
|
}, function() {
|
|
6700
6701
|
return r.props.onOuterClick(r.getStateAndHelpers());
|
|
@@ -6715,7 +6716,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6715
6716
|
}, i.componentWillUnmount = function() {
|
|
6716
6717
|
this.cleanup();
|
|
6717
6718
|
}, i.render = function() {
|
|
6718
|
-
var r = cn(this.props.children,
|
|
6719
|
+
var r = cn(this.props.children, ke);
|
|
6719
6720
|
this.clearItems(), this.getRootProps.called = !1, this.getRootProps.refKey = void 0, this.getRootProps.suppressRefError = void 0, this.getMenuProps.called = !1, this.getMenuProps.refKey = void 0, this.getMenuProps.suppressRefError = void 0, this.getLabelProps.called = !1, this.getInputProps.called = !1;
|
|
6720
6721
|
var s = cn(r(this.getStateAndHelpers()));
|
|
6721
6722
|
if (!s)
|
|
@@ -6735,12 +6736,12 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6735
6736
|
itemToString: function(n) {
|
|
6736
6737
|
return n == null ? "" : (process.env.NODE_ENV !== "production" && Ss(n) && !n.hasOwnProperty("toString") && console.warn("downshift: An object was passed to the default implementation of `itemToString`. You should probably provide your own `itemToString` implementation. Please refer to the `itemToString` API documentation.", "The object that was passed:", n), String(n));
|
|
6737
6738
|
},
|
|
6738
|
-
onStateChange:
|
|
6739
|
-
onInputValueChange:
|
|
6740
|
-
onUserAction:
|
|
6741
|
-
onChange:
|
|
6742
|
-
onSelect:
|
|
6743
|
-
onOuterClick:
|
|
6739
|
+
onStateChange: ke,
|
|
6740
|
+
onInputValueChange: ke,
|
|
6741
|
+
onUserAction: ke,
|
|
6742
|
+
onChange: ke,
|
|
6743
|
+
onSelect: ke,
|
|
6744
|
+
onOuterClick: ke,
|
|
6744
6745
|
selectedItemChanged: function(n, i) {
|
|
6745
6746
|
return n !== i;
|
|
6746
6747
|
},
|
|
@@ -6838,8 +6839,8 @@ function Hs(e) {
|
|
|
6838
6839
|
}
|
|
6839
6840
|
var zs = ft(function(e, t) {
|
|
6840
6841
|
dr(e(), t);
|
|
6841
|
-
}, 200), Us = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Yr :
|
|
6842
|
-
var n = t.id, i = t.labelId, o = t.menuId, r = t.getItemId, s = t.toggleButtonId, a = t.inputId, l = "downshift-" +
|
|
6842
|
+
}, 200), Us = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Yr : De, js = "useId" in _e ? function(t) {
|
|
6843
|
+
var n = t.id, i = t.labelId, o = t.menuId, r = t.getItemId, s = t.toggleButtonId, a = t.inputId, l = "downshift-" + _e.useId();
|
|
6843
6844
|
n || (n = l);
|
|
6844
6845
|
var d = Ee({
|
|
6845
6846
|
labelId: i || n + "-label",
|
|
@@ -6884,18 +6885,18 @@ function Or(e) {
|
|
|
6884
6885
|
return t.current = e, t;
|
|
6885
6886
|
}
|
|
6886
6887
|
function qs(e, t, n, i) {
|
|
6887
|
-
var o = Ee(), r = Ee(), s =
|
|
6888
|
-
r.current =
|
|
6889
|
-
var R = e(N,
|
|
6888
|
+
var o = Ee(), r = Ee(), s = we(function(N, T) {
|
|
6889
|
+
r.current = T, N = R0(N, T.props);
|
|
6890
|
+
var R = e(N, T), _ = T.props.stateReducer(N, Y({}, T, {
|
|
6890
6891
|
changes: R
|
|
6891
6892
|
}));
|
|
6892
|
-
return
|
|
6893
|
-
}, [e]), a = Xr(s, t, n), l = a[0], d = a[1], u = Or(t), p =
|
|
6893
|
+
return _;
|
|
6894
|
+
}, [e]), a = Xr(s, t, n), l = a[0], d = a[1], u = Or(t), p = we(function(N) {
|
|
6894
6895
|
return d(Y({
|
|
6895
6896
|
props: u.current
|
|
6896
6897
|
}, N));
|
|
6897
6898
|
}, [u]), E = r.current;
|
|
6898
|
-
return
|
|
6899
|
+
return De(function() {
|
|
6899
6900
|
var N = E && o.current && !i(o.current, l);
|
|
6900
6901
|
N && $s(E, R0(o.current, E.props), l), o.current = l;
|
|
6901
6902
|
}, [l, E, i]), [l, p];
|
|
@@ -6941,7 +6942,7 @@ function Gs(e, t, n, i) {
|
|
|
6941
6942
|
isMouseDown: !1,
|
|
6942
6943
|
isTouchMove: !1
|
|
6943
6944
|
});
|
|
6944
|
-
return
|
|
6945
|
+
return De(function() {
|
|
6945
6946
|
if (n) {
|
|
6946
6947
|
var r = function() {
|
|
6947
6948
|
o.current.isMouseDown = !0;
|
|
@@ -6965,7 +6966,7 @@ function Gs(e, t, n, i) {
|
|
|
6965
6966
|
}, [e, n]), o;
|
|
6966
6967
|
}
|
|
6967
6968
|
var Rr = function() {
|
|
6968
|
-
return
|
|
6969
|
+
return ke;
|
|
6969
6970
|
};
|
|
6970
6971
|
process.env.NODE_ENV !== "production" && (Rr = function() {
|
|
6971
6972
|
for (var t = Ee(!0), n = arguments.length, i = new Array(n), o = 0; o < n; o++)
|
|
@@ -6973,7 +6974,7 @@ process.env.NODE_ENV !== "production" && (Rr = function() {
|
|
|
6973
6974
|
var r = Ee(i.reduce(function(a, l) {
|
|
6974
6975
|
return a[l] = {}, a;
|
|
6975
6976
|
}, {}));
|
|
6976
|
-
|
|
6977
|
+
De(function() {
|
|
6977
6978
|
Object.keys(r.current).forEach(function(a) {
|
|
6978
6979
|
var l = r.current[a];
|
|
6979
6980
|
if (t.current && !Object.keys(l).length) {
|
|
@@ -6984,7 +6985,7 @@ process.env.NODE_ENV !== "production" && (Rr = function() {
|
|
|
6984
6985
|
(!p || !p.current) && !d && console.error('downshift: The ref prop "' + u + '" from ' + a + " was not applied correctly on your element.");
|
|
6985
6986
|
}), t.current = !1;
|
|
6986
6987
|
});
|
|
6987
|
-
var s =
|
|
6988
|
+
var s = we(function(a, l, d, u) {
|
|
6988
6989
|
r.current[a] = {
|
|
6989
6990
|
suppressRefError: l,
|
|
6990
6991
|
refKey: d,
|
|
@@ -6995,7 +6996,7 @@ process.env.NODE_ENV !== "production" && (Rr = function() {
|
|
|
6995
6996
|
});
|
|
6996
6997
|
function un(e, t, n) {
|
|
6997
6998
|
var i = n.isInitialMount, o = n.highlightedIndex, r = n.items, s = n.environment, a = He(n, Ls);
|
|
6998
|
-
|
|
6999
|
+
De(function() {
|
|
6999
7000
|
i || !(s != null && s.document) || zs(function() {
|
|
7000
7001
|
return e(Y({
|
|
7001
7002
|
highlightedIndex: o,
|
|
@@ -7011,10 +7012,10 @@ function Ys(e) {
|
|
|
7011
7012
|
t < 0 || !n || !Object.keys(i.current).length || (a.current === !1 ? a.current = !0 : s(o(t), r));
|
|
7012
7013
|
}, [t]), a;
|
|
7013
7014
|
}
|
|
7014
|
-
var Cr =
|
|
7015
|
+
var Cr = ke;
|
|
7015
7016
|
process.env.NODE_ENV !== "production" && (Cr = function(t) {
|
|
7016
7017
|
var n = t.isInitialMount, i = t.props, o = t.state, r = Ee(i);
|
|
7017
|
-
|
|
7018
|
+
De(function() {
|
|
7018
7019
|
n || (pt(o, r.current, i), r.current = i);
|
|
7019
7020
|
}, [o, i, n]);
|
|
7020
7021
|
});
|
|
@@ -7157,14 +7158,14 @@ process.env.NODE_ENV;
|
|
|
7157
7158
|
process.env.NODE_ENV;
|
|
7158
7159
|
process.env.NODE_ENV;
|
|
7159
7160
|
process.env.NODE_ENV;
|
|
7160
|
-
var mt = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_down__" : 0, ht = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_up__" : 1, vt = process.env.NODE_ENV !== "production" ? "__input_keydown_escape__" : 2, bt = process.env.NODE_ENV !== "production" ? "__input_keydown_home__" : 3,
|
|
7161
|
+
var mt = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_down__" : 0, ht = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_up__" : 1, vt = process.env.NODE_ENV !== "production" ? "__input_keydown_escape__" : 2, bt = process.env.NODE_ENV !== "production" ? "__input_keydown_home__" : 3, _t = process.env.NODE_ENV !== "production" ? "__input_keydown_end__" : 4, yt = process.env.NODE_ENV !== "production" ? "__input_keydown_page_up__" : 5, Et = process.env.NODE_ENV !== "production" ? "__input_keydown_page_down__" : 6, It = process.env.NODE_ENV !== "production" ? "__input_keydown_enter__" : 7, xt = process.env.NODE_ENV !== "production" ? "__input_change__" : 8, T0 = process.env.NODE_ENV !== "production" ? "__input_blur__" : 9, wt = process.env.NODE_ENV !== "production" ? "__input_click__" : 10, Ar = process.env.NODE_ENV !== "production" ? "__menu_mouse_leave__" : 11, kr = process.env.NODE_ENV !== "production" ? "__item_mouse_move__" : 12, Nt = process.env.NODE_ENV !== "production" ? "__item_click__" : 13, Dr = process.env.NODE_ENV !== "production" ? "__togglebutton_click__" : 14, Pr = process.env.NODE_ENV !== "production" ? "__function_toggle_menu__" : 15, Lr = process.env.NODE_ENV !== "production" ? "__function_open_menu__" : 16, $r = process.env.NODE_ENV !== "production" ? "__function_close_menu__" : 17, Br = process.env.NODE_ENV !== "production" ? "__function_set_highlighted_index__" : 18, St = process.env.NODE_ENV !== "production" ? "__function_select_item__" : 19, Vr = process.env.NODE_ENV !== "production" ? "__function_set_input_value__" : 20, Hr = process.env.NODE_ENV !== "production" ? "__function_reset__" : 21, Ot = process.env.NODE_ENV !== "production" ? "__controlled_prop_updated_selected_item__" : 22, zr = /* @__PURE__ */ Object.freeze({
|
|
7161
7162
|
__proto__: null,
|
|
7162
7163
|
InputKeyDownArrowDown: mt,
|
|
7163
7164
|
InputKeyDownArrowUp: ht,
|
|
7164
7165
|
InputKeyDownEscape: vt,
|
|
7165
7166
|
InputKeyDownHome: bt,
|
|
7166
|
-
InputKeyDownEnd:
|
|
7167
|
-
InputKeyDownPageUp:
|
|
7167
|
+
InputKeyDownEnd: _t,
|
|
7168
|
+
InputKeyDownPageUp: yt,
|
|
7168
7169
|
InputKeyDownPageDown: Et,
|
|
7169
7170
|
InputKeyDownEnter: It,
|
|
7170
7171
|
InputChange: xt,
|
|
@@ -7202,14 +7203,14 @@ var ec = Y({}, Tr, {
|
|
|
7202
7203
|
});
|
|
7203
7204
|
function tc(e, t, n, i) {
|
|
7204
7205
|
var o = Ee(), r = qs(e, t, n, i), s = r[0], a = r[1];
|
|
7205
|
-
return
|
|
7206
|
+
return De(function() {
|
|
7206
7207
|
C0(t, "selectedItem") && (t.selectedItemChanged(o.current, t.selectedItem) && a({
|
|
7207
7208
|
type: Ot,
|
|
7208
7209
|
inputValue: t.itemToString(t.selectedItem)
|
|
7209
7210
|
}), o.current = s.selectedItem === o.current ? t.selectedItem : s.selectedItem);
|
|
7210
7211
|
}, [s.selectedItem, t.selectedItem]), [R0(s, t), a];
|
|
7211
7212
|
}
|
|
7212
|
-
var Ur =
|
|
7213
|
+
var Ur = ke;
|
|
7213
7214
|
process.env.NODE_ENV !== "production" && (Ur = function(t, n) {
|
|
7214
7215
|
O.checkPropTypes(ec, t, "prop", n.name);
|
|
7215
7216
|
});
|
|
@@ -7235,7 +7236,7 @@ function rc(e, t) {
|
|
|
7235
7236
|
break;
|
|
7236
7237
|
case mt:
|
|
7237
7238
|
e.isOpen ? s = {
|
|
7238
|
-
highlightedIndex:
|
|
7239
|
+
highlightedIndex: n0(e.highlightedIndex, 1, o.items, o.isItemDisabled, !0)
|
|
7239
7240
|
} : s = {
|
|
7240
7241
|
highlightedIndex: r && e.selectedItem == null ? -1 : f0(o, e, 1),
|
|
7241
7242
|
isOpen: o.items.length >= 0
|
|
@@ -7243,7 +7244,7 @@ function rc(e, t) {
|
|
|
7243
7244
|
break;
|
|
7244
7245
|
case ht:
|
|
7245
7246
|
e.isOpen ? r ? s = dn(o, e.highlightedIndex) : s = {
|
|
7246
|
-
highlightedIndex:
|
|
7247
|
+
highlightedIndex: n0(e.highlightedIndex, -1, o.items, o.isItemDisabled, !0)
|
|
7247
7248
|
} : s = {
|
|
7248
7249
|
highlightedIndex: f0(o, e, -1),
|
|
7249
7250
|
isOpen: o.items.length >= 0
|
|
@@ -7261,14 +7262,14 @@ function rc(e, t) {
|
|
|
7261
7262
|
inputValue: ""
|
|
7262
7263
|
});
|
|
7263
7264
|
break;
|
|
7264
|
-
case
|
|
7265
|
+
case yt:
|
|
7265
7266
|
s = {
|
|
7266
|
-
highlightedIndex:
|
|
7267
|
+
highlightedIndex: n0(e.highlightedIndex, -10, o.items, o.isItemDisabled, !0)
|
|
7267
7268
|
};
|
|
7268
7269
|
break;
|
|
7269
7270
|
case Et:
|
|
7270
7271
|
s = {
|
|
7271
|
-
highlightedIndex:
|
|
7272
|
+
highlightedIndex: n0(e.highlightedIndex, 10, o.items, o.isItemDisabled, !0)
|
|
7272
7273
|
};
|
|
7273
7274
|
break;
|
|
7274
7275
|
case bt:
|
|
@@ -7276,7 +7277,7 @@ function rc(e, t) {
|
|
|
7276
7277
|
highlightedIndex: l0(0, !1, o.items, o.isItemDisabled)
|
|
7277
7278
|
};
|
|
7278
7279
|
break;
|
|
7279
|
-
case
|
|
7280
|
+
case _t:
|
|
7280
7281
|
s = {
|
|
7281
7282
|
highlightedIndex: l0(o.items.length - 1, !0, o.items, o.isItemDisabled)
|
|
7282
7283
|
};
|
|
@@ -7323,13 +7324,13 @@ var ic = ["onMouseLeave", "refKey", "ref"], oc = ["item", "index", "refKey", "re
|
|
|
7323
7324
|
Rt.stateChangeTypes = zr;
|
|
7324
7325
|
function Rt(e) {
|
|
7325
7326
|
e === void 0 && (e = {}), Ur(e, Rt);
|
|
7326
|
-
var t = Y({}, nc, e), n = t.items, i = t.scrollIntoView, o = t.environment, r = t.getA11yStatusMessage, s = t.getA11ySelectionMessage, a = t.itemToString, l = tc(rc, t, Js, Xs), d = l[0], u = l[1], p = d.isOpen, E = d.highlightedIndex, N = d.selectedItem,
|
|
7327
|
+
var t = Y({}, nc, e), n = t.items, i = t.scrollIntoView, o = t.environment, r = t.getA11yStatusMessage, s = t.getA11ySelectionMessage, a = t.itemToString, l = tc(rc, t, Js, Xs), d = l[0], u = l[1], p = d.isOpen, E = d.highlightedIndex, N = d.selectedItem, T = d.inputValue, R = Ee(null), _ = Ee({}), A = Ee(null), h = Ee(null), m = Ee(!0), g = js(t), f = Ee(), w = Or({
|
|
7327
7328
|
state: d,
|
|
7328
7329
|
props: t
|
|
7329
|
-
}), k =
|
|
7330
|
-
return
|
|
7330
|
+
}), k = we(function(v) {
|
|
7331
|
+
return _.current[g.getItemId(v)];
|
|
7331
7332
|
}, [g]);
|
|
7332
|
-
un(r, [p, E,
|
|
7333
|
+
un(r, [p, E, T, n], Y({
|
|
7333
7334
|
isInitialMount: m.current,
|
|
7334
7335
|
previousResultCount: f.current,
|
|
7335
7336
|
items: n,
|
|
@@ -7346,7 +7347,7 @@ function Rt(e) {
|
|
|
7346
7347
|
menuElement: R.current,
|
|
7347
7348
|
highlightedIndex: E,
|
|
7348
7349
|
isOpen: p,
|
|
7349
|
-
itemRefs:
|
|
7350
|
+
itemRefs: _,
|
|
7350
7351
|
scrollIntoView: i,
|
|
7351
7352
|
getItemNodeFromIndex: k
|
|
7352
7353
|
});
|
|
@@ -7354,143 +7355,143 @@ function Rt(e) {
|
|
|
7354
7355
|
isInitialMount: m.current,
|
|
7355
7356
|
props: t,
|
|
7356
7357
|
state: d
|
|
7357
|
-
}),
|
|
7358
|
+
}), De(function() {
|
|
7358
7359
|
var v = u0(t, "isOpen");
|
|
7359
|
-
v &&
|
|
7360
|
-
}, []),
|
|
7360
|
+
v && A.current && A.current.focus();
|
|
7361
|
+
}, []), De(function() {
|
|
7361
7362
|
m.current || (f.current = n.length);
|
|
7362
7363
|
});
|
|
7363
|
-
var q = Gs(p, [
|
|
7364
|
+
var q = Gs(p, [A, R, h], o, function() {
|
|
7364
7365
|
u({
|
|
7365
7366
|
type: T0,
|
|
7366
7367
|
selectItem: !1
|
|
7367
7368
|
});
|
|
7368
7369
|
}), U = Rr("getInputProps", "getMenuProps");
|
|
7369
|
-
|
|
7370
|
+
De(function() {
|
|
7370
7371
|
return m.current = !1, function() {
|
|
7371
7372
|
m.current = !0;
|
|
7372
7373
|
};
|
|
7373
|
-
}, []),
|
|
7374
|
-
p || (
|
|
7375
|
-
}, [p]),
|
|
7374
|
+
}, []), De(function() {
|
|
7375
|
+
p || (_.current = {});
|
|
7376
|
+
}, [p]), De(function() {
|
|
7376
7377
|
var v;
|
|
7377
|
-
!p || !(o != null && o.document) || !(
|
|
7378
|
+
!p || !(o != null && o.document) || !(A != null && (v = A.current) != null && v.focus) || o.document.activeElement !== A.current && A.current.focus();
|
|
7378
7379
|
}, [p, o]);
|
|
7379
7380
|
var G = fn(function() {
|
|
7380
7381
|
return {
|
|
7381
|
-
ArrowDown: function(
|
|
7382
|
-
|
|
7382
|
+
ArrowDown: function(y) {
|
|
7383
|
+
y.preventDefault(), u({
|
|
7383
7384
|
type: mt,
|
|
7384
|
-
altKey:
|
|
7385
|
+
altKey: y.altKey
|
|
7385
7386
|
});
|
|
7386
7387
|
},
|
|
7387
|
-
ArrowUp: function(
|
|
7388
|
-
|
|
7388
|
+
ArrowUp: function(y) {
|
|
7389
|
+
y.preventDefault(), u({
|
|
7389
7390
|
type: ht,
|
|
7390
|
-
altKey:
|
|
7391
|
+
altKey: y.altKey
|
|
7391
7392
|
});
|
|
7392
7393
|
},
|
|
7393
|
-
Home: function(
|
|
7394
|
-
w.current.state.isOpen && (
|
|
7394
|
+
Home: function(y) {
|
|
7395
|
+
w.current.state.isOpen && (y.preventDefault(), u({
|
|
7395
7396
|
type: bt
|
|
7396
7397
|
}));
|
|
7397
7398
|
},
|
|
7398
|
-
End: function(
|
|
7399
|
-
w.current.state.isOpen && (
|
|
7400
|
-
type:
|
|
7399
|
+
End: function(y) {
|
|
7400
|
+
w.current.state.isOpen && (y.preventDefault(), u({
|
|
7401
|
+
type: _t
|
|
7401
7402
|
}));
|
|
7402
7403
|
},
|
|
7403
|
-
Escape: function(
|
|
7404
|
+
Escape: function(y) {
|
|
7404
7405
|
var I = w.current.state;
|
|
7405
|
-
(I.isOpen || I.inputValue || I.selectedItem || I.highlightedIndex > -1) && (
|
|
7406
|
+
(I.isOpen || I.inputValue || I.selectedItem || I.highlightedIndex > -1) && (y.preventDefault(), u({
|
|
7406
7407
|
type: vt
|
|
7407
7408
|
}));
|
|
7408
7409
|
},
|
|
7409
|
-
Enter: function(
|
|
7410
|
+
Enter: function(y) {
|
|
7410
7411
|
var I = w.current.state;
|
|
7411
|
-
!I.isOpen ||
|
|
7412
|
+
!I.isOpen || y.which === 229 || (y.preventDefault(), u({
|
|
7412
7413
|
type: It
|
|
7413
7414
|
}));
|
|
7414
7415
|
},
|
|
7415
|
-
PageUp: function(
|
|
7416
|
-
w.current.state.isOpen && (
|
|
7417
|
-
type:
|
|
7416
|
+
PageUp: function(y) {
|
|
7417
|
+
w.current.state.isOpen && (y.preventDefault(), u({
|
|
7418
|
+
type: yt
|
|
7418
7419
|
}));
|
|
7419
7420
|
},
|
|
7420
|
-
PageDown: function(
|
|
7421
|
-
w.current.state.isOpen && (
|
|
7421
|
+
PageDown: function(y) {
|
|
7422
|
+
w.current.state.isOpen && (y.preventDefault(), u({
|
|
7422
7423
|
type: Et
|
|
7423
7424
|
}));
|
|
7424
7425
|
}
|
|
7425
7426
|
};
|
|
7426
|
-
}, [u, w]), X =
|
|
7427
|
+
}, [u, w]), X = we(function(v) {
|
|
7427
7428
|
return Y({
|
|
7428
7429
|
id: g.labelId,
|
|
7429
7430
|
htmlFor: g.inputId
|
|
7430
7431
|
}, v);
|
|
7431
|
-
}, [g]), ne =
|
|
7432
|
-
var I, C = v === void 0 ? {} : v, z = C.onMouseLeave, H = C.refKey, B = H === void 0 ? "ref" : H, Q = C.ref, S = He(C, ic), de =
|
|
7433
|
-
return U("getMenuProps",
|
|
7432
|
+
}, [g]), ne = we(function(v, y) {
|
|
7433
|
+
var I, C = v === void 0 ? {} : v, z = C.onMouseLeave, H = C.refKey, B = H === void 0 ? "ref" : H, Q = C.ref, S = He(C, ic), de = y === void 0 ? {} : y, L = de.suppressRefError, ye = L === void 0 ? !1 : L;
|
|
7434
|
+
return U("getMenuProps", ye, B, R), Y((I = {}, I[B] = a0(Q, function(be) {
|
|
7434
7435
|
R.current = be;
|
|
7435
7436
|
}), I.id = g.menuId, I.role = "listbox", I["aria-labelledby"] = S && S["aria-label"] ? void 0 : "" + g.labelId, I.onMouseLeave = he(z, function() {
|
|
7436
7437
|
u({
|
|
7437
7438
|
type: Ar
|
|
7438
7439
|
});
|
|
7439
7440
|
}), I), S);
|
|
7440
|
-
}, [u, U, g]), Z =
|
|
7441
|
-
var
|
|
7441
|
+
}, [u, U, g]), Z = we(function(v) {
|
|
7442
|
+
var y, I, C = v === void 0 ? {} : v, z = C.item, H = C.index, B = C.refKey, Q = B === void 0 ? "ref" : B, S = C.ref, de = C.onMouseMove, L = C.onMouseDown, ye = C.onClick;
|
|
7442
7443
|
C.onPress;
|
|
7443
7444
|
var be = C.disabled, Le = He(C, oc);
|
|
7444
7445
|
be !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');
|
|
7445
|
-
var Ye = w.current, $e = Ye.props, Be = Ye.state, Xe = Ks(z, H, $e.items, "Pass either item or index to getItemProps!"), J = Xe[0],
|
|
7446
|
-
|
|
7446
|
+
var Ye = w.current, $e = Ye.props, Be = Ye.state, Xe = Ks(z, H, $e.items, "Pass either item or index to getItemProps!"), J = Xe[0], Me = Xe[1], me = $e.isItemDisabled(J, Me), fe = "onClick", Fe = ye, Ne = function() {
|
|
7447
|
+
Me !== Be.highlightedIndex && (P.current = !1, u({
|
|
7447
7448
|
type: kr,
|
|
7448
|
-
index:
|
|
7449
|
+
index: Me,
|
|
7449
7450
|
disabled: me
|
|
7450
7451
|
}));
|
|
7451
7452
|
}, Ve = function() {
|
|
7452
7453
|
u({
|
|
7453
7454
|
type: Nt,
|
|
7454
|
-
index:
|
|
7455
|
+
index: Me
|
|
7455
7456
|
});
|
|
7456
|
-
},
|
|
7457
|
+
}, Te = function(j) {
|
|
7457
7458
|
return j.preventDefault();
|
|
7458
7459
|
};
|
|
7459
|
-
return Y((
|
|
7460
|
-
$ && (
|
|
7461
|
-
}),
|
|
7460
|
+
return Y((y = {}, y[Q] = a0(S, function($) {
|
|
7461
|
+
$ && (_.current[g.getItemId(Me)] = $);
|
|
7462
|
+
}), y["aria-disabled"] = me, y["aria-selected"] = "" + (Me === Be.highlightedIndex), y.id = g.getItemId(Me), y.role = "option", y), !me && (I = {}, I[fe] = he(Fe, Ve), I), {
|
|
7462
7463
|
onMouseMove: he(de, Ne),
|
|
7463
|
-
onMouseDown: he(L,
|
|
7464
|
+
onMouseDown: he(L, Te)
|
|
7464
7465
|
}, Le);
|
|
7465
|
-
}, [u, w, P, g]), ie =
|
|
7466
|
-
var
|
|
7466
|
+
}, [u, w, P, g]), ie = we(function(v) {
|
|
7467
|
+
var y, I = v === void 0 ? {} : v, C = I.onClick;
|
|
7467
7468
|
I.onPress;
|
|
7468
7469
|
var z = I.refKey, H = z === void 0 ? "ref" : z, B = I.ref, Q = He(I, ac), S = w.current.state, de = function() {
|
|
7469
7470
|
u({
|
|
7470
7471
|
type: Dr
|
|
7471
7472
|
});
|
|
7472
7473
|
};
|
|
7473
|
-
return Y((
|
|
7474
|
+
return Y((y = {}, y[H] = a0(B, function(L) {
|
|
7474
7475
|
h.current = L;
|
|
7475
|
-
}),
|
|
7476
|
+
}), y["aria-controls"] = g.menuId, y["aria-expanded"] = S.isOpen, y.id = g.toggleButtonId, y.tabIndex = -1, y), !Q.disabled && Y({}, {
|
|
7476
7477
|
onClick: he(C, de)
|
|
7477
7478
|
}), Q);
|
|
7478
|
-
}, [u, w, g]), oe =
|
|
7479
|
+
}, [u, w, g]), oe = we(function(v, y) {
|
|
7479
7480
|
var I, C = v === void 0 ? {} : v, z = C.onKeyDown, H = C.onChange, B = C.onInput, Q = C.onBlur;
|
|
7480
7481
|
C.onChangeText;
|
|
7481
|
-
var S = C.onClick, de = C.refKey, L = de === void 0 ? "ref" : de,
|
|
7482
|
-
U("getInputProps", $e, L,
|
|
7483
|
-
var Be = w.current.state, Xe = function(
|
|
7484
|
-
var $ = et(
|
|
7485
|
-
$ && G[$] && G[$](
|
|
7486
|
-
}, J = function(
|
|
7482
|
+
var S = C.onClick, de = C.refKey, L = de === void 0 ? "ref" : de, ye = C.ref, be = He(C, sc), Le = y === void 0 ? {} : y, Ye = Le.suppressRefError, $e = Ye === void 0 ? !1 : Ye;
|
|
7483
|
+
U("getInputProps", $e, L, A);
|
|
7484
|
+
var Be = w.current.state, Xe = function(Te) {
|
|
7485
|
+
var $ = et(Te);
|
|
7486
|
+
$ && G[$] && G[$](Te);
|
|
7487
|
+
}, J = function(Te) {
|
|
7487
7488
|
u({
|
|
7488
7489
|
type: xt,
|
|
7489
|
-
inputValue:
|
|
7490
|
+
inputValue: Te.target.value
|
|
7490
7491
|
});
|
|
7491
|
-
},
|
|
7492
|
+
}, Me = function(Te) {
|
|
7492
7493
|
if (o != null && o.document && Be.isOpen && !q.current.isMouseDown) {
|
|
7493
|
-
var $ =
|
|
7494
|
+
var $ = Te.relatedTarget === null && o.document.activeElement !== o.document.body;
|
|
7494
7495
|
u({
|
|
7495
7496
|
type: T0,
|
|
7496
7497
|
selectItem: !$
|
|
@@ -7503,39 +7504,39 @@ function Rt(e) {
|
|
|
7503
7504
|
}, fe = "onChange", Fe = {};
|
|
7504
7505
|
if (!be.disabled) {
|
|
7505
7506
|
var Ne;
|
|
7506
|
-
Fe = (Ne = {}, Ne[fe] = he(H, B, J), Ne.onKeyDown = he(z, Xe), Ne.onBlur = he(Q,
|
|
7507
|
+
Fe = (Ne = {}, Ne[fe] = he(H, B, J), Ne.onKeyDown = he(z, Xe), Ne.onBlur = he(Q, Me), Ne.onClick = he(S, me), Ne);
|
|
7507
7508
|
}
|
|
7508
|
-
return Y((I = {}, I[L] = a0(
|
|
7509
|
-
|
|
7509
|
+
return Y((I = {}, I[L] = a0(ye, function(Ve) {
|
|
7510
|
+
A.current = Ve;
|
|
7510
7511
|
}), I["aria-activedescendant"] = Be.isOpen && Be.highlightedIndex > -1 ? g.getItemId(Be.highlightedIndex) : "", I["aria-autocomplete"] = "list", I["aria-controls"] = g.menuId, I["aria-expanded"] = Be.isOpen, I["aria-labelledby"] = be && be["aria-label"] ? void 0 : g.labelId, I.autoComplete = "off", I.id = g.inputId, I.role = "combobox", I.value = Be.inputValue, I), Fe, be);
|
|
7511
|
-
}, [U, w, g, G, u, q, o]), W =
|
|
7512
|
+
}, [U, w, g, G, u, q, o]), W = we(function() {
|
|
7512
7513
|
u({
|
|
7513
7514
|
type: Pr
|
|
7514
7515
|
});
|
|
7515
|
-
}, [u]), pe =
|
|
7516
|
+
}, [u]), pe = we(function() {
|
|
7516
7517
|
u({
|
|
7517
7518
|
type: $r
|
|
7518
7519
|
});
|
|
7519
|
-
}, [u]), ge =
|
|
7520
|
+
}, [u]), ge = we(function() {
|
|
7520
7521
|
u({
|
|
7521
7522
|
type: Lr
|
|
7522
7523
|
});
|
|
7523
|
-
}, [u]), x =
|
|
7524
|
+
}, [u]), x = we(function(v) {
|
|
7524
7525
|
u({
|
|
7525
7526
|
type: Br,
|
|
7526
7527
|
highlightedIndex: v
|
|
7527
7528
|
});
|
|
7528
|
-
}, [u]), D =
|
|
7529
|
+
}, [u]), D = we(function(v) {
|
|
7529
7530
|
u({
|
|
7530
7531
|
type: St,
|
|
7531
7532
|
selectedItem: v
|
|
7532
7533
|
});
|
|
7533
|
-
}, [u]), K =
|
|
7534
|
+
}, [u]), K = we(function(v) {
|
|
7534
7535
|
u({
|
|
7535
7536
|
type: Vr,
|
|
7536
7537
|
inputValue: v
|
|
7537
7538
|
});
|
|
7538
|
-
}, [u]), b =
|
|
7539
|
+
}, [u]), b = we(function() {
|
|
7539
7540
|
u({
|
|
7540
7541
|
type: Hr
|
|
7541
7542
|
});
|
|
@@ -7559,7 +7560,7 @@ function Rt(e) {
|
|
|
7559
7560
|
highlightedIndex: E,
|
|
7560
7561
|
isOpen: p,
|
|
7561
7562
|
selectedItem: N,
|
|
7562
|
-
inputValue:
|
|
7563
|
+
inputValue: T
|
|
7563
7564
|
};
|
|
7564
7565
|
}
|
|
7565
7566
|
function cc(e) {
|
|
@@ -7594,7 +7595,7 @@ process.env.NODE_ENV;
|
|
|
7594
7595
|
process.env.NODE_ENV;
|
|
7595
7596
|
process.env.NODE_ENV;
|
|
7596
7597
|
process.env.NODE_ENV;
|
|
7597
|
-
const jr =
|
|
7598
|
+
const jr = Ce(
|
|
7598
7599
|
({
|
|
7599
7600
|
isOpen: e = !1,
|
|
7600
7601
|
items: t,
|
|
@@ -7604,10 +7605,10 @@ const jr = Me(
|
|
|
7604
7605
|
highlightedIndex: s = 0,
|
|
7605
7606
|
...a
|
|
7606
7607
|
}, l) => /* @__PURE__ */ M(V, { className: re("autocomplete-result", a.className), ref: l, hidden: !e, children: [
|
|
7607
|
-
t.length > 0 && /* @__PURE__ */ M(
|
|
7608
|
-
t.map(({ slug: d, title: u, date: p, authors: E, link: N },
|
|
7609
|
-
const R = s ===
|
|
7610
|
-
return /* @__PURE__ */ c(
|
|
7608
|
+
t.length > 0 && /* @__PURE__ */ M(Pe, { children: [
|
|
7609
|
+
t.map(({ slug: d, title: u, date: p, authors: E, link: N }, T) => {
|
|
7610
|
+
const R = s === T;
|
|
7611
|
+
return /* @__PURE__ */ c(_e.Fragment, { children: /* @__PURE__ */ M(
|
|
7611
7612
|
F,
|
|
7612
7613
|
{
|
|
7613
7614
|
alignItems: "center",
|
|
@@ -7627,7 +7628,7 @@ const jr = Me(
|
|
|
7627
7628
|
size: "s",
|
|
7628
7629
|
text: u,
|
|
7629
7630
|
textQuery: n,
|
|
7630
|
-
lineClamp: 2,
|
|
7631
|
+
lineClamp: { xs: 4, md: 2 },
|
|
7631
7632
|
className: "autocomplete-result__link"
|
|
7632
7633
|
}
|
|
7633
7634
|
),
|
|
@@ -7644,7 +7645,7 @@ const jr = Me(
|
|
|
7644
7645
|
textSize: "s",
|
|
7645
7646
|
fontWeight: "medium",
|
|
7646
7647
|
textAlign: "center",
|
|
7647
|
-
children: /* @__PURE__ */ c(
|
|
7648
|
+
children: /* @__PURE__ */ c(e0, { ...o, children: i })
|
|
7648
7649
|
}
|
|
7649
7650
|
)
|
|
7650
7651
|
] }),
|
|
@@ -7656,7 +7657,7 @@ const jr = Me(
|
|
|
7656
7657
|
] })
|
|
7657
7658
|
);
|
|
7658
7659
|
jr.displayName = "AutocompleteResult";
|
|
7659
|
-
const Kr =
|
|
7660
|
+
const Kr = Ce(
|
|
7660
7661
|
({
|
|
7661
7662
|
placeholder: e,
|
|
7662
7663
|
defaultValue: t,
|
|
@@ -7671,14 +7672,14 @@ const Kr = Me(
|
|
|
7671
7672
|
}, p) => {
|
|
7672
7673
|
const E = (k) => {
|
|
7673
7674
|
l && k.key === "Enter" && l(k.currentTarget.value);
|
|
7674
|
-
}, { getInputProps: N, getMenuProps:
|
|
7675
|
+
}, { getInputProps: N, getMenuProps: T, getItemProps: R, selectItem: _, toggleMenu: A, isOpen: h, inputValue: m, highlightedIndex: g } = Rt({
|
|
7675
7676
|
defaultInputValue: t,
|
|
7676
7677
|
onInputValueChange: s,
|
|
7677
7678
|
onSelectedItemChange: a,
|
|
7678
7679
|
items: n,
|
|
7679
7680
|
itemToString: (k) => k ? k.title : "",
|
|
7680
7681
|
isOpen: d
|
|
7681
|
-
}), f = () =>
|
|
7682
|
+
}), f = () => _(null), w = _e.useMemo(
|
|
7682
7683
|
() => n.map((k, P) => ({
|
|
7683
7684
|
...k,
|
|
7684
7685
|
...R({ item: k, index: P })
|
|
@@ -7699,14 +7700,14 @@ const Kr = Me(
|
|
|
7699
7700
|
jr,
|
|
7700
7701
|
{
|
|
7701
7702
|
isOpen: h && m.length > 0,
|
|
7702
|
-
...
|
|
7703
|
+
...T(),
|
|
7703
7704
|
items: w,
|
|
7704
7705
|
highlightedIndex: g === -1 ? 0 : g,
|
|
7705
7706
|
searchValue: m,
|
|
7706
7707
|
searchLink: {
|
|
7707
7708
|
label: i,
|
|
7708
7709
|
...o,
|
|
7709
|
-
onClick:
|
|
7710
|
+
onClick: A
|
|
7710
7711
|
},
|
|
7711
7712
|
searchNotFound: r
|
|
7712
7713
|
}
|
|
@@ -7725,10 +7726,10 @@ const Pc = ({
|
|
|
7725
7726
|
onToggleMenu: l,
|
|
7726
7727
|
menuIsOpen: d = !1
|
|
7727
7728
|
}) => /* @__PURE__ */ M(F, { as: "header", justifyContent: "between", alignItems: "center", bg: "white", p: "m", className: "header", children: [
|
|
7728
|
-
/* @__PURE__ */ c(V, { as: "a", ...e, color: "primary", children: /* @__PURE__ */ c(
|
|
7729
|
+
/* @__PURE__ */ c(V, { as: "a", ...e, color: "primary", children: /* @__PURE__ */ c(yn, { name: "blog", className: "header__logo" }) }),
|
|
7729
7730
|
/* @__PURE__ */ M(V, { className: re("header__menu", { "header__menu--is-open": d }), children: [
|
|
7730
|
-
t.map(({ label: u, ...p }, E) => /* @__PURE__ */ c(
|
|
7731
|
-
n && /* @__PURE__ */ M(
|
|
7731
|
+
t.map(({ label: u, ...p }, E) => /* @__PURE__ */ c(e0, { as: "a", ...p, "data-internal-link": "category", className: "header__menu-item", children: u }, E)),
|
|
7732
|
+
n && /* @__PURE__ */ M(Pe, { children: [
|
|
7732
7733
|
/* @__PURE__ */ c(V, { className: "header__separator" }),
|
|
7733
7734
|
/* @__PURE__ */ c(V, { as: "a", ...o, "data-internal-link": "category", className: "header__menu-item", children: i })
|
|
7734
7735
|
] }),
|
|
@@ -7780,7 +7781,7 @@ const lc = ({
|
|
|
7780
7781
|
pb: { xs: "l", md: "xl" },
|
|
7781
7782
|
mx: "s",
|
|
7782
7783
|
children: [
|
|
7783
|
-
/* @__PURE__ */ c(V, { mb: "xl", children: /* @__PURE__ */ c(F, { justifyContent: { xs: "center", md: "start" }, alignItems: "center", mb: "xxs", children: /* @__PURE__ */ c(
|
|
7784
|
+
/* @__PURE__ */ c(V, { mb: "xl", children: /* @__PURE__ */ c(F, { justifyContent: { xs: "center", md: "start" }, alignItems: "center", mb: "xxs", children: /* @__PURE__ */ c(yn, { name: "website", size: "2.5em" }) }) }),
|
|
7784
7785
|
/* @__PURE__ */ M(V, { children: [
|
|
7785
7786
|
/* @__PURE__ */ c(F, { flexDirection: { xs: "column", md: "row" }, gap: { md: "xl" }, children: o.map((a, l) => /* @__PURE__ */ M(V, { mb: "m", children: [
|
|
7786
7787
|
a.title && /* @__PURE__ */ c(ee, { fontWeight: "bold", mb: "xxs-2", children: a.title }),
|
|
@@ -7798,7 +7799,7 @@ const lc = ({
|
|
|
7798
7799
|
"data-social-link": a
|
|
7799
7800
|
},
|
|
7800
7801
|
children: /* @__PURE__ */ c(
|
|
7801
|
-
|
|
7802
|
+
xe,
|
|
7802
7803
|
{
|
|
7803
7804
|
name: a,
|
|
7804
7805
|
size: "36",
|
|
@@ -7816,9 +7817,9 @@ const lc = ({
|
|
|
7816
7817
|
}
|
|
7817
7818
|
),
|
|
7818
7819
|
/* @__PURE__ */ M(F, { py: "s", justifyContent: "center", alignItems: "center", className: "footer__language-links-container", children: [
|
|
7819
|
-
/* @__PURE__ */ c(V, { mr: "xxs", children: /* @__PURE__ */ c(
|
|
7820
|
-
s.map(({ label: a, isActive: l, ...d }, u) => /* @__PURE__ */ M(
|
|
7821
|
-
l ? /* @__PURE__ */ c(ee, { fontWeight: "bold", children: a }) : /* @__PURE__ */ c(
|
|
7820
|
+
/* @__PURE__ */ c(V, { mr: "xxs", children: /* @__PURE__ */ c(xe, { size: "28px", name: "language" }) }),
|
|
7821
|
+
s.map(({ label: a, isActive: l, ...d }, u) => /* @__PURE__ */ M(_e.Fragment, { children: [
|
|
7822
|
+
l ? /* @__PURE__ */ c(ee, { fontWeight: "bold", children: a }) : /* @__PURE__ */ c(e0, { ...d, "data-internal-link": "home", children: a }),
|
|
7822
7823
|
s.length - 1 !== u && /* @__PURE__ */ c(V, { mx: "s" })
|
|
7823
7824
|
] }, u))
|
|
7824
7825
|
] })
|
|
@@ -7832,7 +7833,7 @@ const uc = ({
|
|
|
7832
7833
|
...o
|
|
7833
7834
|
}) => /* @__PURE__ */ M(V, { ...o, my: "xl", className: "last-articles-block container-content", children: [
|
|
7834
7835
|
/* @__PURE__ */ c(ve, { size: "m", color: "primary", children: e }),
|
|
7835
|
-
/* @__PURE__ */ c(F, { mt: "l", gap: "m", className: "last-articles-block__post-list", children: t.map((r, s) => /* @__PURE__ */ c(
|
|
7836
|
+
/* @__PURE__ */ c(F, { mt: "l", gap: "m", className: "last-articles-block__post-list", children: t.map((r, s) => /* @__PURE__ */ c(_e.Fragment, { children: /* @__PURE__ */ c(k0, { variant: "highlight-light", ...r || {} }) }, (r == null ? void 0 : r.slug) ?? s)) }),
|
|
7836
7837
|
/* @__PURE__ */ c(F, { justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ c(Ke, { mt: "l", as: "a", ...i, children: n }) })
|
|
7837
7838
|
] });
|
|
7838
7839
|
const dc = ({
|
|
@@ -7856,24 +7857,24 @@ const dc = ({
|
|
|
7856
7857
|
children: [
|
|
7857
7858
|
/* @__PURE__ */ M(V, { className: "last-tutorials-block__content", children: [
|
|
7858
7859
|
/* @__PURE__ */ c(ve, { size: "m", children: e }),
|
|
7859
|
-
/* @__PURE__ */ c(
|
|
7860
|
+
/* @__PURE__ */ c(xe, { name: "underline", color: "white", width: "56px" }),
|
|
7860
7861
|
/* @__PURE__ */ c(ee, { mt: "l", children: t }),
|
|
7861
7862
|
/* @__PURE__ */ c(Ke, { mt: "l", as: "a", variant: "accent", ...r, children: o })
|
|
7862
7863
|
] }),
|
|
7863
|
-
/* @__PURE__ */ c(F, { gap: "l", className: "last-tutorials-block__post-list", children: i.map((a, l) => /* @__PURE__ */ c(
|
|
7864
|
+
/* @__PURE__ */ c(F, { gap: "l", className: "last-tutorials-block__post-list", children: i.map((a, l) => /* @__PURE__ */ c(_e.Fragment, { children: /* @__PURE__ */ c(k0, { variant: "highlight-dark", tutorialLabel: n, ...a || {} }) }, (a == null ? void 0 : a.slug) ?? l)) })
|
|
7864
7865
|
]
|
|
7865
7866
|
}
|
|
7866
|
-
) }), V =
|
|
7867
|
+
) }), V = Ce(({ as: e = "div", className: t, children: n, ...i }, o) => /* @__PURE__ */ c(
|
|
7867
7868
|
e,
|
|
7868
7869
|
{
|
|
7869
|
-
...it({ props: i, systemPropNames: Object.keys(
|
|
7870
|
+
...it({ props: i, systemPropNames: Object.keys(yi) }),
|
|
7870
7871
|
ref: o,
|
|
7871
7872
|
className: re(Ai(i), t),
|
|
7872
7873
|
children: n
|
|
7873
7874
|
}
|
|
7874
7875
|
));
|
|
7875
7876
|
V.displayName = "Box";
|
|
7876
|
-
const F =
|
|
7877
|
+
const F = Ce(
|
|
7877
7878
|
({ as: e = "div", display: t = "flex", className: n, children: i, ...o }, r) => /* @__PURE__ */ c(
|
|
7878
7879
|
V,
|
|
7879
7880
|
{
|
|
@@ -7917,7 +7918,7 @@ const D0 = ({
|
|
|
7917
7918
|
}) => /* @__PURE__ */ M(V, { children: [
|
|
7918
7919
|
/* @__PURE__ */ c(ve, { size: "m", mb: "l", color: "primary", children: e }),
|
|
7919
7920
|
t,
|
|
7920
|
-
n && /* @__PURE__ */ M(
|
|
7921
|
+
n && /* @__PURE__ */ M(Pe, { children: [
|
|
7921
7922
|
/* @__PURE__ */ c(h0, { mt: "m" }),
|
|
7922
7923
|
/* @__PURE__ */ c(is, { mt: "l", ...n })
|
|
7923
7924
|
] })
|
|
@@ -7925,7 +7926,7 @@ const D0 = ({
|
|
|
7925
7926
|
categoryIntroBlock: e,
|
|
7926
7927
|
newsletterCard: t,
|
|
7927
7928
|
...n
|
|
7928
|
-
}) => /* @__PURE__ */ M(
|
|
7929
|
+
}) => /* @__PURE__ */ M(Pe, { children: [
|
|
7929
7930
|
/* @__PURE__ */ c(ns, { ...e }),
|
|
7930
7931
|
/* @__PURE__ */ c(
|
|
7931
7932
|
D0,
|
|
@@ -7939,7 +7940,7 @@ const D0 = ({
|
|
|
7939
7940
|
lastArticlesBlock: t,
|
|
7940
7941
|
lastTutorialsBlock: n,
|
|
7941
7942
|
newsletterCard: i
|
|
7942
|
-
}) => /* @__PURE__ */ M(
|
|
7943
|
+
}) => /* @__PURE__ */ M(Pe, { children: [
|
|
7943
7944
|
/* @__PURE__ */ c(rs, { ...e }),
|
|
7944
7945
|
/* @__PURE__ */ c(uc, { ...t }),
|
|
7945
7946
|
n && /* @__PURE__ */ c(dc, { ...n }),
|
|
@@ -7960,7 +7961,7 @@ const q0 = (e) => {
|
|
|
7960
7961
|
target: "_blank",
|
|
7961
7962
|
rel: "noreferrer",
|
|
7962
7963
|
children: /* @__PURE__ */ c(
|
|
7963
|
-
|
|
7964
|
+
xe,
|
|
7964
7965
|
{
|
|
7965
7966
|
name: "twitter",
|
|
7966
7967
|
className: "share-links__social-media-icon share-links__social-media-icon--twitter",
|
|
@@ -7975,7 +7976,7 @@ const q0 = (e) => {
|
|
|
7975
7976
|
href: `https://www.facebook.com/sharer/sharer.php${q0({ u: e })}`,
|
|
7976
7977
|
target: "_blank",
|
|
7977
7978
|
rel: "noreferrer",
|
|
7978
|
-
children: /* @__PURE__ */ c(
|
|
7979
|
+
children: /* @__PURE__ */ c(xe, { name: "facebook", className: "share-links__social-media-icon", size: "36" })
|
|
7979
7980
|
}
|
|
7980
7981
|
),
|
|
7981
7982
|
t.linkedIn && /* @__PURE__ */ c(
|
|
@@ -7984,7 +7985,7 @@ const q0 = (e) => {
|
|
|
7984
7985
|
href: `https://linkedin.com/shareArticle${q0({ url: e, mini: "true" })}`,
|
|
7985
7986
|
target: "_blank",
|
|
7986
7987
|
rel: "noreferrer",
|
|
7987
|
-
children: /* @__PURE__ */ c(
|
|
7988
|
+
children: /* @__PURE__ */ c(xe, { name: "linkedin", className: "share-links__social-media-icon", size: "36" })
|
|
7988
7989
|
}
|
|
7989
7990
|
)
|
|
7990
7991
|
] }), mc = ({ title: e, date: t, readingTime: n, authors: i, shareLinks: o, ...r }) => /* @__PURE__ */ M(V, { ...r, textSize: "xs", children: [
|
|
@@ -8006,13 +8007,13 @@ const q0 = (e) => {
|
|
|
8006
8007
|
contactCard: s,
|
|
8007
8008
|
previousLink: { label: a, ...l } = {},
|
|
8008
8009
|
nextLink: { label: d, ...u } = {}
|
|
8009
|
-
}) => /* @__PURE__ */ M(
|
|
8010
|
+
}) => /* @__PURE__ */ M(Pe, { children: [
|
|
8010
8011
|
/* @__PURE__ */ M(V, { children: [
|
|
8011
8012
|
/* @__PURE__ */ c(mc, { ...n }),
|
|
8012
8013
|
/* @__PURE__ */ c(h0, { mt: "m" }),
|
|
8013
8014
|
/* @__PURE__ */ c(nr, { mt: "l", hiddenAbove: "md", variant: e === "tutorial" ? "secondary" : "primary", ...t }),
|
|
8014
8015
|
/* @__PURE__ */ c(V, { mt: { xs: "l", md: "m" }, className: "post-page__content", children: i }),
|
|
8015
|
-
e === "tutorial" && /* @__PURE__ */ c(
|
|
8016
|
+
e === "tutorial" && /* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ M(F, { gap: "l", children: [
|
|
8016
8017
|
a && l && /* @__PURE__ */ c(Ke, { as: "a", mt: "l", variant: "secondary", ...l, children: a }),
|
|
8017
8018
|
d && u && /* @__PURE__ */ c(Ke, { as: "a", mt: "l", ...u, children: d })
|
|
8018
8019
|
] }) }),
|
|
@@ -8046,7 +8047,7 @@ const zc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ c(
|
|
|
8046
8047
|
content: /* @__PURE__ */ c(bc, { ...t }),
|
|
8047
8048
|
sidebar: /* @__PURE__ */ c(ut, { ...e })
|
|
8048
8049
|
}
|
|
8049
|
-
), bc = ({ author: e, title: t, postCardList: n }) => /* @__PURE__ */ M(
|
|
8050
|
+
), bc = ({ author: e, title: t, postCardList: n }) => /* @__PURE__ */ M(Pe, { children: [
|
|
8050
8051
|
/* @__PURE__ */ M(
|
|
8051
8052
|
F,
|
|
8052
8053
|
{
|
|
@@ -8069,11 +8070,11 @@ const zc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ c(
|
|
|
8069
8070
|
className: "author-page__social_networks",
|
|
8070
8071
|
children: e.socialNetworks.map((i, o) => {
|
|
8071
8072
|
var r;
|
|
8072
|
-
return /* @__PURE__ */ M(
|
|
8073
|
+
return /* @__PURE__ */ M(_e.Fragment, { children: [
|
|
8073
8074
|
/* @__PURE__ */ M(ee, { children: [
|
|
8074
|
-
/* @__PURE__ */ c(
|
|
8075
|
+
/* @__PURE__ */ c(xe, { name: i.name, size: "24px" }),
|
|
8075
8076
|
" ",
|
|
8076
|
-
/* @__PURE__ */ c(
|
|
8077
|
+
/* @__PURE__ */ c(e0, { href: i.url, target: "_blank", children: i.username })
|
|
8077
8078
|
] }),
|
|
8078
8079
|
o !== (((r = e.socialNetworks) == null ? void 0 : r.length) ?? 0) - 1 && /* @__PURE__ */ c(ee, { as: "span", mx: "xxs", children: "•" })
|
|
8079
8080
|
] }, i.name);
|
|
@@ -8087,7 +8088,7 @@ const zc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ c(
|
|
|
8087
8088
|
/* @__PURE__ */ c(h0, { className: "author-page__divider" }),
|
|
8088
8089
|
/* @__PURE__ */ c(ee, { size: "m", fontWeight: "medium", children: t }),
|
|
8089
8090
|
n
|
|
8090
|
-
] }), Uc = ({ title: e, description: t }) => /* @__PURE__ */ c(F, { justifyContent: "center", alignItems: "center", flex: "1", children: /* @__PURE__ */ c(tr, { m: "xxl", title: e, description: t }) }),
|
|
8091
|
+
] }), Uc = ({ title: e, description: t }) => /* @__PURE__ */ c(F, { justifyContent: "center", alignItems: "center", flex: "1", children: /* @__PURE__ */ c(tr, { m: "xxl", title: e, description: t }) }), _c = ({
|
|
8091
8092
|
title: e,
|
|
8092
8093
|
description: t,
|
|
8093
8094
|
postCardList: n,
|
|
@@ -8097,10 +8098,10 @@ const zc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ c(
|
|
|
8097
8098
|
/* @__PURE__ */ c(We, { isLoading: o, children: /* @__PURE__ */ c(ve, { size: "m", fontWeight: "medium", color: "primary", children: e }) }),
|
|
8098
8099
|
/* @__PURE__ */ c(We, { isLoading: o, children: /* @__PURE__ */ c(ve, { size: "s", mb: "l", children: t }) }),
|
|
8099
8100
|
n
|
|
8100
|
-
] }), jc = ({ sidebar: e, ...t }) => /* @__PURE__ */ c(
|
|
8101
|
+
] }), jc = ({ sidebar: e, ...t }) => /* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c(D0, { content: /* @__PURE__ */ c(_c, { ...t }), sidebar: e }) }), yc = typeof window > "u" ? () => {
|
|
8101
8102
|
} : nt.useLayoutEffect, Kc = (e) => {
|
|
8102
8103
|
const [t, n] = nt.useState(!1);
|
|
8103
|
-
return
|
|
8104
|
+
return yc(() => {
|
|
8104
8105
|
const i = window.matchMedia(xi[e]);
|
|
8105
8106
|
i.matches !== t && n(i.matches);
|
|
8106
8107
|
const o = () => n(i.matches);
|
|
@@ -8130,13 +8131,13 @@ export {
|
|
|
8130
8131
|
ve as Heading,
|
|
8131
8132
|
rs as HomeIntroBlock,
|
|
8132
8133
|
Bc as HomePage,
|
|
8133
|
-
|
|
8134
|
+
xe as Icon,
|
|
8134
8135
|
uc as LastArticlesBlock,
|
|
8135
8136
|
dc as LastTutorialsBlock,
|
|
8136
8137
|
D0 as LayoutContentWithSidebar,
|
|
8137
8138
|
Lc as LayoutTemplate,
|
|
8138
|
-
|
|
8139
|
-
|
|
8139
|
+
e0 as Link,
|
|
8140
|
+
yn as Logo,
|
|
8140
8141
|
ut as NewsletterCard,
|
|
8141
8142
|
tr as NotFoundBlock,
|
|
8142
8143
|
Uc as NotFoundPage,
|
|
@@ -8150,7 +8151,7 @@ export {
|
|
|
8150
8151
|
Cc as Reminder,
|
|
8151
8152
|
Zn as SearchField,
|
|
8152
8153
|
jc as SearchPage,
|
|
8153
|
-
|
|
8154
|
+
_c as SearchPageContent,
|
|
8154
8155
|
We as Skeleton,
|
|
8155
8156
|
nr as SummaryCard,
|
|
8156
8157
|
Ac as SummaryCardVariant,
|
|
@@ -8162,11 +8163,11 @@ export {
|
|
|
8162
8163
|
Oc as closeButtonVariant,
|
|
8163
8164
|
wc as logoName,
|
|
8164
8165
|
kc as newsletterCardVariant,
|
|
8165
|
-
|
|
8166
|
+
Ce as polyRef,
|
|
8166
8167
|
Tc as postCardVariant,
|
|
8167
8168
|
Mc as postMetadataVariant,
|
|
8168
8169
|
Vc as postPageVariant,
|
|
8169
8170
|
Rc as reminderVariantList,
|
|
8170
|
-
|
|
8171
|
+
yc as useLayoutEffect,
|
|
8171
8172
|
Kc as useMediaQuery
|
|
8172
8173
|
};
|