@eleven-labs/design-system 0.26.2 → 0.28.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/Blocks/HomeIntroBlock/HomeIntroBlock.d.ts +2 -1
- package/dist/constants/tokenVariables.d.ts +82 -1
- package/dist/index.es.js +352 -249
- package/dist/index.umd.cjs +12 -12
- package/dist/scss/abstracts/mixins/_component.scss +7 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +45 -2
- package/dist/scss/abstracts/variables/_variables.scss +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as M, jsx as s, Fragment as Pe } from "react/jsx-runtime";
|
|
2
2
|
import * as nt from "react";
|
|
3
|
-
import be, { forwardRef as Fr, Fragment as rt, useMemo as fn, useRef as
|
|
3
|
+
import be, { forwardRef as Fr, Fragment as rt, useMemo as fn, useRef as Ee, useCallback as xe, useEffect as ke, cloneElement as qr, Component as Wr, useLayoutEffect as Gr, useReducer as Yr } from "react";
|
|
4
4
|
const Xr = (e) => /* @__PURE__ */ M("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ...e, children: [
|
|
5
5
|
/* @__PURE__ */ s(
|
|
6
6
|
"path",
|
|
@@ -254,9 +254,9 @@ const Ic = ["primary", "secondary", "accent"], Ke = Ce(
|
|
|
254
254
|
i
|
|
255
255
|
),
|
|
256
256
|
children: [
|
|
257
|
-
t === "secondary" && /* @__PURE__ */ s(
|
|
258
|
-
/* @__PURE__ */ s(
|
|
259
|
-
t !== "secondary" && /* @__PURE__ */ s(
|
|
257
|
+
t === "secondary" && /* @__PURE__ */ s(Ie, { name: "arrow", style: { transform: "scaleX(-1)" } }),
|
|
258
|
+
/* @__PURE__ */ s(ee, { as: "span", children: o }),
|
|
259
|
+
t !== "secondary" && /* @__PURE__ */ s(Ie, { name: "arrow" })
|
|
260
260
|
]
|
|
261
261
|
}
|
|
262
262
|
)
|
|
@@ -344,6 +344,57 @@ const qe = {
|
|
|
344
344
|
}
|
|
345
345
|
},
|
|
346
346
|
typography: {
|
|
347
|
+
"heading-markup": {
|
|
348
|
+
base: {
|
|
349
|
+
"line-height": {
|
|
350
|
+
value: "1.2"
|
|
351
|
+
},
|
|
352
|
+
"font-weight": {
|
|
353
|
+
value: "400"
|
|
354
|
+
},
|
|
355
|
+
"margin-top": {
|
|
356
|
+
value: "32px"
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
s: {
|
|
360
|
+
"font-size": {
|
|
361
|
+
value: "16px"
|
|
362
|
+
},
|
|
363
|
+
"margin-bottom": {
|
|
364
|
+
value: "8px"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
m: {
|
|
368
|
+
"font-size": {
|
|
369
|
+
value: "18px"
|
|
370
|
+
},
|
|
371
|
+
"margin-bottom": {
|
|
372
|
+
value: "12px"
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
l: {
|
|
376
|
+
"font-size": {
|
|
377
|
+
value: "20px"
|
|
378
|
+
},
|
|
379
|
+
"font-weight": {
|
|
380
|
+
value: "500"
|
|
381
|
+
},
|
|
382
|
+
"margin-bottom": {
|
|
383
|
+
value: "16px"
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
xl: {
|
|
387
|
+
"font-size": {
|
|
388
|
+
value: "22px"
|
|
389
|
+
},
|
|
390
|
+
"font-weight": {
|
|
391
|
+
value: "600"
|
|
392
|
+
},
|
|
393
|
+
"margin-bottom": {
|
|
394
|
+
value: "24px"
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
},
|
|
347
398
|
heading: {
|
|
348
399
|
base: {
|
|
349
400
|
"font-family": {
|
|
@@ -353,12 +404,12 @@ const qe = {
|
|
|
353
404
|
value: "1.2"
|
|
354
405
|
},
|
|
355
406
|
"letter-spacing": {
|
|
356
|
-
value: "
|
|
407
|
+
value: "1px"
|
|
357
408
|
}
|
|
358
409
|
},
|
|
359
410
|
s: {
|
|
360
411
|
"font-size": {
|
|
361
|
-
value: "
|
|
412
|
+
value: "16px"
|
|
362
413
|
},
|
|
363
414
|
"font-weight": {
|
|
364
415
|
value: "700"
|
|
@@ -369,7 +420,7 @@ const qe = {
|
|
|
369
420
|
},
|
|
370
421
|
m: {
|
|
371
422
|
"font-size": {
|
|
372
|
-
value: "
|
|
423
|
+
value: "24px"
|
|
373
424
|
},
|
|
374
425
|
"font-weight": {
|
|
375
426
|
value: "700"
|
|
@@ -377,12 +428,12 @@ const qe = {
|
|
|
377
428
|
},
|
|
378
429
|
l: {
|
|
379
430
|
"font-size": {
|
|
380
|
-
value: "
|
|
431
|
+
value: "32px"
|
|
381
432
|
}
|
|
382
433
|
},
|
|
383
434
|
xl: {
|
|
384
435
|
"font-size": {
|
|
385
|
-
value: "
|
|
436
|
+
value: "40px"
|
|
386
437
|
},
|
|
387
438
|
"font-weight": {
|
|
388
439
|
value: "400"
|
|
@@ -391,7 +442,7 @@ const qe = {
|
|
|
391
442
|
value: "uppercase"
|
|
392
443
|
},
|
|
393
444
|
"letter-spacing": {
|
|
394
|
-
value: "
|
|
445
|
+
value: "2px"
|
|
395
446
|
}
|
|
396
447
|
}
|
|
397
448
|
},
|
|
@@ -429,6 +480,28 @@ const qe = {
|
|
|
429
480
|
},
|
|
430
481
|
desktop: {
|
|
431
482
|
typography: {
|
|
483
|
+
"heading-markup": {
|
|
484
|
+
s: {
|
|
485
|
+
"font-size": {
|
|
486
|
+
value: "24px"
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
m: {
|
|
490
|
+
"font-size": {
|
|
491
|
+
value: "26px"
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
l: {
|
|
495
|
+
"font-size": {
|
|
496
|
+
value: "28px"
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
xl: {
|
|
500
|
+
"font-size": {
|
|
501
|
+
value: "28px"
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
},
|
|
432
505
|
heading: {
|
|
433
506
|
s: {
|
|
434
507
|
"font-size": {
|
|
@@ -448,6 +521,9 @@ const qe = {
|
|
|
448
521
|
xl: {
|
|
449
522
|
"font-size": {
|
|
450
523
|
value: "64px"
|
|
524
|
+
},
|
|
525
|
+
"letter-spacing": {
|
|
526
|
+
value: "3px"
|
|
451
527
|
}
|
|
452
528
|
}
|
|
453
529
|
},
|
|
@@ -477,6 +553,11 @@ const qe = {
|
|
|
477
553
|
}
|
|
478
554
|
}
|
|
479
555
|
}
|
|
556
|
+
},
|
|
557
|
+
base: {
|
|
558
|
+
"letter-spacing": {
|
|
559
|
+
value: "2px"
|
|
560
|
+
}
|
|
480
561
|
}
|
|
481
562
|
},
|
|
482
563
|
"line-height": {
|
|
@@ -700,7 +781,7 @@ const qe = {
|
|
|
700
781
|
}
|
|
701
782
|
return `${e.className}@${e.defaultModifier}`;
|
|
702
783
|
}
|
|
703
|
-
},
|
|
784
|
+
}, we = (e) => {
|
|
704
785
|
if (e.propValue && ["string", "number"].includes(typeof e.propValue) || !e.propValue) {
|
|
705
786
|
const t = Ct({
|
|
706
787
|
className: e.className,
|
|
@@ -724,15 +805,15 @@ const qe = {
|
|
|
724
805
|
[`bg-${e.bg}`]: e.bg,
|
|
725
806
|
[`color-${e.color}`]: e.color
|
|
726
807
|
}), Ni = (e) => ie(
|
|
727
|
-
|
|
808
|
+
we({
|
|
728
809
|
propValue: e.display,
|
|
729
810
|
className: "display"
|
|
730
811
|
}),
|
|
731
|
-
|
|
812
|
+
we({
|
|
732
813
|
propValue: e.width,
|
|
733
814
|
className: "width"
|
|
734
815
|
}),
|
|
735
|
-
|
|
816
|
+
we({
|
|
736
817
|
propValue: e.height,
|
|
737
818
|
className: "height"
|
|
738
819
|
}),
|
|
@@ -741,54 +822,54 @@ const qe = {
|
|
|
741
822
|
[`hidden-below@${e.hiddenBelow}`]: !!e.hiddenBelow
|
|
742
823
|
}
|
|
743
824
|
), Si = (e) => ie(
|
|
744
|
-
...
|
|
825
|
+
...we({
|
|
745
826
|
propValue: e.alignItems,
|
|
746
827
|
className: "items"
|
|
747
828
|
}),
|
|
748
|
-
...
|
|
829
|
+
...we({
|
|
749
830
|
propValue: e.alignContent,
|
|
750
831
|
className: "content"
|
|
751
832
|
}),
|
|
752
|
-
...
|
|
833
|
+
...we({
|
|
753
834
|
propValue: e.justifyContent,
|
|
754
835
|
className: "justify"
|
|
755
836
|
}),
|
|
756
|
-
...
|
|
837
|
+
...we({
|
|
757
838
|
propValue: e.gap,
|
|
758
839
|
className: "gap"
|
|
759
840
|
}),
|
|
760
|
-
...
|
|
841
|
+
...we({
|
|
761
842
|
propValue: e.gapX,
|
|
762
843
|
className: "gap-x"
|
|
763
844
|
}),
|
|
764
|
-
...
|
|
845
|
+
...we({
|
|
765
846
|
propValue: e.gapY,
|
|
766
847
|
className: "gap-y"
|
|
767
848
|
})
|
|
768
849
|
), Oi = (e) => ie(
|
|
769
|
-
|
|
850
|
+
we({
|
|
770
851
|
propValue: e.flexDirection,
|
|
771
852
|
className: "flex"
|
|
772
853
|
}),
|
|
773
|
-
|
|
854
|
+
we({
|
|
774
855
|
propValue: e.flexWrap,
|
|
775
856
|
className: "flex"
|
|
776
857
|
})
|
|
777
|
-
), Ri = (e) =>
|
|
858
|
+
), Ri = (e) => we({
|
|
778
859
|
propValue: e.alignSelf,
|
|
779
860
|
className: "self"
|
|
780
861
|
}).join(" "), Ci = (e) => ie(
|
|
781
|
-
|
|
862
|
+
we({
|
|
782
863
|
propValue: e.flexBasis,
|
|
783
864
|
className: "basis"
|
|
784
865
|
}),
|
|
785
|
-
|
|
866
|
+
we({
|
|
786
867
|
propValue: e.flex,
|
|
787
868
|
className: "flex"
|
|
788
869
|
})
|
|
789
870
|
), yn = (e) => ie(
|
|
790
871
|
Object.entries(e).filter(([t]) => Object.keys(vn).includes(t)).reduce((t, [n, i]) => (t.push(
|
|
791
|
-
...
|
|
872
|
+
...we({
|
|
792
873
|
className: n,
|
|
793
874
|
propValue: i
|
|
794
875
|
})
|
|
@@ -798,7 +879,7 @@ const qe = {
|
|
|
798
879
|
textSize: t,
|
|
799
880
|
...n
|
|
800
881
|
}) => ie(
|
|
801
|
-
...
|
|
882
|
+
...we({
|
|
802
883
|
propValue: e,
|
|
803
884
|
className: "text"
|
|
804
885
|
}),
|
|
@@ -819,7 +900,7 @@ const qe = {
|
|
|
819
900
|
Ri(e),
|
|
820
901
|
Ci(e),
|
|
821
902
|
Mi(e)
|
|
822
|
-
),
|
|
903
|
+
), Ie = ({ name: e, size: t, width: n, height: i, ...o }) => {
|
|
823
904
|
const r = di[wi(e)];
|
|
824
905
|
return /* @__PURE__ */ s(
|
|
825
906
|
r,
|
|
@@ -849,9 +930,9 @@ const xc = ["website", "blog"], _n = Ce(({ name: e, size: t, ...n }, i) => /* @_
|
|
|
849
930
|
children: [
|
|
850
931
|
/* @__PURE__ */ s(pn, { height: "1em" }),
|
|
851
932
|
e === "blog" ? /* @__PURE__ */ M(V, { className: "logo__blog", children: [
|
|
852
|
-
/* @__PURE__ */ s(
|
|
853
|
-
/* @__PURE__ */ s(
|
|
854
|
-
] }) : /* @__PURE__ */ s(
|
|
933
|
+
/* @__PURE__ */ s(ee, { fontWeight: "medium", children: "Eleven Labs" }),
|
|
934
|
+
/* @__PURE__ */ s(ee, { fontWeight: "bold", children: "Le blog" })
|
|
935
|
+
] }) : /* @__PURE__ */ s(ee, { fontWeight: "medium", className: "logo__website", children: "Eleven Labs" })
|
|
855
936
|
]
|
|
856
937
|
}
|
|
857
938
|
));
|
|
@@ -1195,10 +1276,10 @@ function Zi(e, t, n, i, o, r, c, a, l) {
|
|
|
1195
1276
|
`)
|
|
1196
1277
|
};
|
|
1197
1278
|
if (G === 0) {
|
|
1198
|
-
var
|
|
1279
|
+
var Z = u.slice(E + 1, N).concat(x0({
|
|
1199
1280
|
children: [ne],
|
|
1200
1281
|
className: w.properties.className
|
|
1201
|
-
})), re = y(
|
|
1282
|
+
})), re = y(Z, X);
|
|
1202
1283
|
f.push(re);
|
|
1203
1284
|
} else if (G === q.length - 1) {
|
|
1204
1285
|
var oe = u[N + 1] && u[N + 1].children && u[N + 1].children[0], W = {
|
|
@@ -1273,7 +1354,7 @@ function eo(e, t) {
|
|
|
1273
1354
|
var o = i.language, r = i.children, c = i.style, a = c === void 0 ? t : c, l = i.customStyle, d = l === void 0 ? {} : l, u = i.codeTagProps, f = u === void 0 ? {
|
|
1274
1355
|
className: o ? "language-".concat(o) : void 0,
|
|
1275
1356
|
style: ze(ze({}, a['code[class*="language-"]']), a['code[class*="language-'.concat(o, '"]')])
|
|
1276
|
-
} : u, E = i.useInlineStyles, N = E === void 0 ? !0 : E, T = i.showLineNumbers, R = T === void 0 ? !1 : T, y = i.showInlineLineNumbers, A = y === void 0 ? !0 : y, h = i.startingLineNumber, m = h === void 0 ? 1 : h, g = i.lineNumberContainerStyle, p = i.lineNumberStyle, w = p === void 0 ? {} : p, D = 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,
|
|
1357
|
+
} : u, E = i.useInlineStyles, N = E === void 0 ? !0 : E, T = i.showLineNumbers, R = T === void 0 ? !1 : T, y = i.showInlineLineNumbers, A = y === void 0 ? !0 : y, h = i.startingLineNumber, m = h === void 0 ? 1 : h, g = i.lineNumberContainerStyle, p = i.lineNumberStyle, w = p === void 0 ? {} : p, D = 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, re = i.CodeTag, oe = re === void 0 ? "code" : re, W = i.code, pe = W === void 0 ? (Array.isArray(r) ? r[0] : r) || "" : W, ge = i.astGenerator, x = Ai(i, Fi);
|
|
1277
1358
|
ge = ge || e;
|
|
1278
1359
|
var k = R ? /* @__PURE__ */ be.createElement(Yi, {
|
|
1279
1360
|
containerStyle: g,
|
|
@@ -1294,7 +1375,7 @@ function eo(e, t) {
|
|
|
1294
1375
|
}) : f.style = ze(ze({}, f.style), {}, {
|
|
1295
1376
|
whiteSpace: "pre"
|
|
1296
1377
|
}), !ge)
|
|
1297
|
-
return /* @__PURE__ */ be.createElement(
|
|
1378
|
+
return /* @__PURE__ */ be.createElement(Z, v, k, /* @__PURE__ */ be.createElement(oe, f, pe));
|
|
1298
1379
|
(D === void 0 && X || q) && (D = !0), X = X || Qi;
|
|
1299
1380
|
var _ = [{
|
|
1300
1381
|
type: "text",
|
|
@@ -1307,7 +1388,7 @@ function eo(e, t) {
|
|
|
1307
1388
|
});
|
|
1308
1389
|
I.language === null && (I.value = _);
|
|
1309
1390
|
var C = I.value.length + m, z = Zi(I, D, G, R, A, m, C, w, q);
|
|
1310
|
-
return /* @__PURE__ */ be.createElement(
|
|
1391
|
+
return /* @__PURE__ */ be.createElement(Z, v, /* @__PURE__ */ be.createElement(oe, f, !A && k, X({
|
|
1311
1392
|
rows: z,
|
|
1312
1393
|
stylesheet: a,
|
|
1313
1394
|
useInlineStyles: N
|
|
@@ -2001,16 +2082,16 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2001
2082
|
return Object.prototype.hasOwnProperty.call($.keywords, te) && $.keywords[te];
|
|
2002
2083
|
}
|
|
2003
2084
|
function z() {
|
|
2004
|
-
if (!
|
|
2085
|
+
if (!J.keywords) {
|
|
2005
2086
|
me.addText(fe);
|
|
2006
2087
|
return;
|
|
2007
2088
|
}
|
|
2008
2089
|
let $ = 0;
|
|
2009
|
-
|
|
2010
|
-
let j =
|
|
2090
|
+
J.keywordPatternRe.lastIndex = 0;
|
|
2091
|
+
let j = J.keywordPatternRe.exec(fe), te = "";
|
|
2011
2092
|
for (; j; ) {
|
|
2012
2093
|
te += fe.substring($, j.index);
|
|
2013
|
-
const ue = C(
|
|
2094
|
+
const ue = C(J, j);
|
|
2014
2095
|
if (ue) {
|
|
2015
2096
|
const [Oe, v0] = ue;
|
|
2016
2097
|
if (me.addText(te), te = "", Fe += v0, Oe.startsWith("_"))
|
|
@@ -2021,7 +2102,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2021
2102
|
}
|
|
2022
2103
|
} else
|
|
2023
2104
|
te += j[0];
|
|
2024
|
-
$ =
|
|
2105
|
+
$ = J.keywordPatternRe.lastIndex, j = J.keywordPatternRe.exec(fe);
|
|
2025
2106
|
}
|
|
2026
2107
|
te += fe.substr($), me.addText(te);
|
|
2027
2108
|
}
|
|
@@ -2029,22 +2110,22 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2029
2110
|
if (fe === "")
|
|
2030
2111
|
return;
|
|
2031
2112
|
let $ = null;
|
|
2032
|
-
if (typeof
|
|
2033
|
-
if (!t[
|
|
2113
|
+
if (typeof J.subLanguage == "string") {
|
|
2114
|
+
if (!t[J.subLanguage]) {
|
|
2034
2115
|
me.addText(fe);
|
|
2035
2116
|
return;
|
|
2036
2117
|
}
|
|
2037
|
-
$ = E(
|
|
2118
|
+
$ = E(J.subLanguage, fe, !0, Me[J.subLanguage]), Me[J.subLanguage] = /** @type {CompiledMode} */
|
|
2038
2119
|
$.top;
|
|
2039
2120
|
} else
|
|
2040
|
-
$ = T(fe,
|
|
2041
|
-
|
|
2121
|
+
$ = T(fe, J.subLanguage.length ? J.subLanguage : null);
|
|
2122
|
+
J.relevance > 0 && (Fe += $.relevance), me.addSublanguage($.emitter, $.language);
|
|
2042
2123
|
}
|
|
2043
2124
|
function B() {
|
|
2044
|
-
|
|
2125
|
+
J.subLanguage != null ? H() : z(), fe = "";
|
|
2045
2126
|
}
|
|
2046
|
-
function
|
|
2047
|
-
return $.className && me.openNode($e.classNameAliases[$.className] || $.className),
|
|
2127
|
+
function Q($) {
|
|
2128
|
+
return $.className && me.openNode($e.classNameAliases[$.className] || $.className), J = Object.create($, { parent: { value: J } }), J;
|
|
2048
2129
|
}
|
|
2049
2130
|
function S($, j, te) {
|
|
2050
2131
|
let ue = lo($.endRe, te);
|
|
@@ -2063,29 +2144,29 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2063
2144
|
return S($.parent, j, te);
|
|
2064
2145
|
}
|
|
2065
2146
|
function de($) {
|
|
2066
|
-
return
|
|
2147
|
+
return J.matcher.regexIndex === 0 ? (fe += $[0], 1) : (Te = !0, 0);
|
|
2067
2148
|
}
|
|
2068
2149
|
function L($) {
|
|
2069
2150
|
const j = $[0], te = $.rule, ue = new Dt(te), Oe = [te.__beforeBegin, te["on:begin"]];
|
|
2070
2151
|
for (const v0 of Oe)
|
|
2071
2152
|
if (v0 && (v0($, ue), ue.isMatchIgnored))
|
|
2072
2153
|
return de(j);
|
|
2073
|
-
return te && te.endSameAsBegin && (te.endRe = oo(j)), te.skip ? fe += j : (te.excludeBegin && (fe += j), B(), !te.returnBegin && !te.excludeBegin && (fe = j)),
|
|
2154
|
+
return te && te.endSameAsBegin && (te.endRe = oo(j)), te.skip ? fe += j : (te.excludeBegin && (fe += j), B(), !te.returnBegin && !te.excludeBegin && (fe = j)), Q(te), te.returnBegin ? 0 : j.length;
|
|
2074
2155
|
}
|
|
2075
|
-
function
|
|
2076
|
-
const j = $[0], te = v.substr($.index), ue = S(
|
|
2156
|
+
function _e($) {
|
|
2157
|
+
const j = $[0], te = v.substr($.index), ue = S(J, $, te);
|
|
2077
2158
|
if (!ue)
|
|
2078
2159
|
return Vt;
|
|
2079
|
-
const Oe =
|
|
2160
|
+
const Oe = J;
|
|
2080
2161
|
Oe.skip ? fe += j : (Oe.returnEnd || Oe.excludeEnd || (fe += j), B(), Oe.excludeEnd && (fe = j));
|
|
2081
2162
|
do
|
|
2082
|
-
|
|
2083
|
-
while (
|
|
2084
|
-
return ue.starts && (ue.endSameAsBegin && (ue.starts.endRe = ue.endRe),
|
|
2163
|
+
J.className && me.closeNode(), !J.skip && !J.subLanguage && (Fe += J.relevance), J = J.parent;
|
|
2164
|
+
while (J !== ue.parent);
|
|
2165
|
+
return ue.starts && (ue.endSameAsBegin && (ue.starts.endRe = ue.endRe), Q(ue.starts)), Oe.returnEnd ? 0 : j.length;
|
|
2085
2166
|
}
|
|
2086
2167
|
function ve() {
|
|
2087
2168
|
const $ = [];
|
|
2088
|
-
for (let j =
|
|
2169
|
+
for (let j = J; j !== $e; j = j.parent)
|
|
2089
2170
|
j.className && $.unshift(j.className);
|
|
2090
2171
|
$.forEach((j) => me.openNode(j));
|
|
2091
2172
|
}
|
|
@@ -2104,10 +2185,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2104
2185
|
if (Le = j, j.type === "begin")
|
|
2105
2186
|
return L(j);
|
|
2106
2187
|
if (j.type === "illegal" && !_) {
|
|
2107
|
-
const ue = new Error('Illegal lexeme "' + te + '" for mode "' + (
|
|
2108
|
-
throw ue.mode =
|
|
2188
|
+
const ue = new Error('Illegal lexeme "' + te + '" for mode "' + (J.className || "<unnamed>") + '"');
|
|
2189
|
+
throw ue.mode = J, ue;
|
|
2109
2190
|
} else if (j.type === "end") {
|
|
2110
|
-
const ue =
|
|
2191
|
+
const ue = _e(j);
|
|
2111
2192
|
if (ue !== Vt)
|
|
2112
2193
|
return ue;
|
|
2113
2194
|
}
|
|
@@ -2121,14 +2202,14 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2121
2202
|
if (!$e)
|
|
2122
2203
|
throw L0(c.replace("{}", b)), new Error('Unknown language: "' + b + '"');
|
|
2123
2204
|
const Be = Vo($e, { plugins: i });
|
|
2124
|
-
let Xe = "",
|
|
2205
|
+
let Xe = "", J = I || Be;
|
|
2125
2206
|
const Me = {}, me = new l.__emitter(l);
|
|
2126
2207
|
ve();
|
|
2127
2208
|
let fe = "", Fe = 0, Ne = 0, Ve = 0, Te = !1;
|
|
2128
2209
|
try {
|
|
2129
|
-
for (
|
|
2130
|
-
Ve++, Te ? Te = !1 :
|
|
2131
|
-
const $ =
|
|
2210
|
+
for (J.matcher.considerAll(); ; ) {
|
|
2211
|
+
Ve++, Te ? Te = !1 : J.matcher.considerAll(), J.matcher.lastIndex = Ne;
|
|
2212
|
+
const $ = J.matcher.exec(v);
|
|
2132
2213
|
if (!$)
|
|
2133
2214
|
break;
|
|
2134
2215
|
const j = v.substring(Ne, $.index), te = Ye(j, $);
|
|
@@ -2142,7 +2223,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2142
2223
|
language: b,
|
|
2143
2224
|
illegal: !1,
|
|
2144
2225
|
emitter: me,
|
|
2145
|
-
top:
|
|
2226
|
+
top: J
|
|
2146
2227
|
};
|
|
2147
2228
|
} catch ($) {
|
|
2148
2229
|
if ($.message && $.message.includes("Illegal"))
|
|
@@ -2165,7 +2246,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2165
2246
|
value: $0(v),
|
|
2166
2247
|
emitter: me,
|
|
2167
2248
|
language: b,
|
|
2168
|
-
top:
|
|
2249
|
+
top: J,
|
|
2169
2250
|
errorRaised: $
|
|
2170
2251
|
};
|
|
2171
2252
|
throw $;
|
|
@@ -2184,16 +2265,16 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2184
2265
|
function T(b, v) {
|
|
2185
2266
|
v = v || l.languages || Object.keys(t);
|
|
2186
2267
|
const _ = N(b), I = v.filter(re).filter(W).map(
|
|
2187
|
-
(
|
|
2268
|
+
(Q) => E(Q, b, !1)
|
|
2188
2269
|
);
|
|
2189
2270
|
I.unshift(_);
|
|
2190
|
-
const C = I.sort((
|
|
2191
|
-
if (
|
|
2192
|
-
return S.relevance -
|
|
2193
|
-
if (
|
|
2194
|
-
if (re(
|
|
2271
|
+
const C = I.sort((Q, S) => {
|
|
2272
|
+
if (Q.relevance !== S.relevance)
|
|
2273
|
+
return S.relevance - Q.relevance;
|
|
2274
|
+
if (Q.language && S.language) {
|
|
2275
|
+
if (re(Q.language).supersetOf === S.language)
|
|
2195
2276
|
return 1;
|
|
2196
|
-
if (re(S.language).supersetOf ===
|
|
2277
|
+
if (re(S.language).supersetOf === Q.language)
|
|
2197
2278
|
return -1;
|
|
2198
2279
|
}
|
|
2199
2280
|
return 0;
|
|
@@ -2290,7 +2371,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2290
2371
|
function ne() {
|
|
2291
2372
|
return Object.keys(t);
|
|
2292
2373
|
}
|
|
2293
|
-
function
|
|
2374
|
+
function Z(b) {
|
|
2294
2375
|
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");
|
|
2295
2376
|
const v = re(b);
|
|
2296
2377
|
if (v)
|
|
@@ -2351,7 +2432,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2351
2432
|
listLanguages: ne,
|
|
2352
2433
|
getLanguage: re,
|
|
2353
2434
|
registerAliases: oe,
|
|
2354
|
-
requireLanguage:
|
|
2435
|
+
requireLanguage: Z,
|
|
2355
2436
|
autoDetection: W,
|
|
2356
2437
|
inherit: Bt,
|
|
2357
2438
|
addPlugin: ge,
|
|
@@ -4553,11 +4634,11 @@ const wc = ({ language: e, children: t, ...n }) => /* @__PURE__ */ s(
|
|
|
4553
4634
|
PreTag: "div",
|
|
4554
4635
|
children: t
|
|
4555
4636
|
}
|
|
4556
|
-
),
|
|
4557
|
-
|
|
4558
|
-
const
|
|
4559
|
-
|
|
4560
|
-
const Nc = ({ children: e, className: t, ...n }) => /* @__PURE__ */ s(
|
|
4637
|
+
), ye = Ce(({ as: e = "p", size: t, children: n, className: i, ...o }, r) => /* @__PURE__ */ s(V, { ...o, as: e, ref: r, className: ie({ [`heading-${t}`]: !!t }, i), children: n }));
|
|
4638
|
+
ye.displayName = "Heading";
|
|
4639
|
+
const ee = Ce(({ as: e = "p", size: t, className: n, children: i, ...o }, r) => /* @__PURE__ */ s(V, { ...o, as: e, ref: r, className: ie({ [`text-${t}`]: !!t }, n), children: i }));
|
|
4640
|
+
ee.displayName = "Text";
|
|
4641
|
+
const Nc = ({ children: e, className: t, ...n }) => /* @__PURE__ */ s(ee, { as: "blockquote", ...n, pl: "m", size: "m", italic: !0, className: ie("blockquote", t), children: e });
|
|
4561
4642
|
const We = Ce(({ as: e = "div", isLoading: t = !0, children: n, ...i }, o) => /* @__PURE__ */ s(Pe, { children: t ? /* @__PURE__ */ s(
|
|
4562
4643
|
V,
|
|
4563
4644
|
{
|
|
@@ -4602,10 +4683,10 @@ const Yn = ({ items: e, ...t }) => /* @__PURE__ */ s(
|
|
|
4602
4683
|
className: "breadcrumb",
|
|
4603
4684
|
children: e.map(({ label: n, ...i }, o) => /* @__PURE__ */ M(rt, { children: [
|
|
4604
4685
|
/* @__PURE__ */ M("li", { itemProp: "itemListElement", itemScope: !0, itemType: "https://schema.org/ListItem", children: [
|
|
4605
|
-
i.href ? /* @__PURE__ */ s(e0, { itemProp: "item", ...i, children: /* @__PURE__ */ s(
|
|
4686
|
+
i.href ? /* @__PURE__ */ s(e0, { itemProp: "item", ...i, children: /* @__PURE__ */ s(ee, { as: "span", itemProp: "name", children: n }) }) : /* @__PURE__ */ s(ee, { as: "span", itemProp: "name", fontWeight: "regular", children: n }),
|
|
4606
4687
|
/* @__PURE__ */ s("meta", { itemProp: "position", content: (o + 1).toString() })
|
|
4607
4688
|
] }),
|
|
4608
|
-
o < e.length - 1 && /* @__PURE__ */ s(
|
|
4689
|
+
o < e.length - 1 && /* @__PURE__ */ s(ee, { as: "span", children: ">" })
|
|
4609
4690
|
] }, o))
|
|
4610
4691
|
}
|
|
4611
4692
|
);
|
|
@@ -4621,8 +4702,8 @@ const e0 = Ce(
|
|
|
4621
4702
|
color: "info",
|
|
4622
4703
|
className: ie("link", n),
|
|
4623
4704
|
children: [
|
|
4624
|
-
t && /* @__PURE__ */ s(
|
|
4625
|
-
/* @__PURE__ */ s(
|
|
4705
|
+
t && /* @__PURE__ */ s(Ie, { name: t }),
|
|
4706
|
+
/* @__PURE__ */ s(ee, { as: "span", children: i })
|
|
4626
4707
|
]
|
|
4627
4708
|
}
|
|
4628
4709
|
) : /* @__PURE__ */ s(V, { ...o, ref: r, as: e, color: "info", className: ie("link", n), children: i })
|
|
@@ -4642,7 +4723,7 @@ const Oc = [
|
|
|
4642
4723
|
"example",
|
|
4643
4724
|
"quote"
|
|
4644
4725
|
], Rc = Ce(({ as: e = "div", variant: t, title: n, children: i, ...o }, r) => /* @__PURE__ */ M(V, { ...o, as: e, ref: r, bg: "white", className: ie("reminder", `reminder--${t}`), children: [
|
|
4645
|
-
/* @__PURE__ */ s(
|
|
4726
|
+
/* @__PURE__ */ s(ee, { className: "reminder__title", children: n }),
|
|
4646
4727
|
/* @__PURE__ */ s(V, { p: "xxs", children: i })
|
|
4647
4728
|
] }));
|
|
4648
4729
|
const Xn = Ce(
|
|
@@ -4657,7 +4738,7 @@ const Xn = Ce(
|
|
|
4657
4738
|
/* @__PURE__ */ M(F, { justifyContent: "center", alignItems: "center", className: "search-field__actions-container", children: [
|
|
4658
4739
|
!!e.value && /* @__PURE__ */ s(Gn, { ...t, variant: "secondary", className: "search-field__button-action" }),
|
|
4659
4740
|
/* @__PURE__ */ s(V, { className: "search-field__separator-button", ml: "xs" }),
|
|
4660
|
-
/* @__PURE__ */ s(V, { as: "button", ...n, className: "search-field__button-action", children: /* @__PURE__ */ s(
|
|
4741
|
+
/* @__PURE__ */ s(V, { as: "button", ...n, className: "search-field__button-action", children: /* @__PURE__ */ s(Ie, { name: "search", color: "primary", size: "2.5rem", mx: "xs" }) })
|
|
4661
4742
|
] })
|
|
4662
4743
|
]
|
|
4663
4744
|
}
|
|
@@ -4743,8 +4824,8 @@ const es = /* @__PURE__ */ Re(Ja), Jn = Ce(({ text: e, textQuery: t = "", ...n }
|
|
|
4743
4824
|
const r = Qa(e, t, { findAllOccurrences: !0 });
|
|
4744
4825
|
return es(e, r);
|
|
4745
4826
|
}, [e, t]);
|
|
4746
|
-
return /* @__PURE__ */ s(
|
|
4747
|
-
|
|
4827
|
+
return /* @__PURE__ */ s(ee, { ...n, ref: i, children: o.map((r, c) => /* @__PURE__ */ s(
|
|
4828
|
+
ee,
|
|
4748
4829
|
{
|
|
4749
4830
|
as: "span",
|
|
4750
4831
|
fontWeight: r.highlight ? "medium" : "regular",
|
|
@@ -4757,8 +4838,8 @@ const es = /* @__PURE__ */ Re(Ja), Jn = Ce(({ text: e, textQuery: t = "", ...n }
|
|
|
4757
4838
|
Jn.displayName = "TextHighlight";
|
|
4758
4839
|
const er = ({ title: e, description: t, ...n }) => /* @__PURE__ */ M(F, { ...n, flexDirection: "column", alignItems: "center", className: "not-found-block", children: [
|
|
4759
4840
|
/* @__PURE__ */ s("div", { className: "not-found-block__background" }),
|
|
4760
|
-
/* @__PURE__ */ s(
|
|
4761
|
-
/* @__PURE__ */ s(
|
|
4841
|
+
/* @__PURE__ */ s(ye, { size: "xl", mt: "s", children: e }),
|
|
4842
|
+
/* @__PURE__ */ s(ee, { size: "s", mt: "xxs", children: t })
|
|
4762
4843
|
] });
|
|
4763
4844
|
const ts = ({ title: e, description: t, breadcrumb: n, ...i }) => /* @__PURE__ */ s(V, { ...i, className: "category-intro-block", color: "white", children: /* @__PURE__ */ s(
|
|
4764
4845
|
F,
|
|
@@ -4769,8 +4850,8 @@ const ts = ({ title: e, description: t, breadcrumb: n, ...i }) => /* @__PURE__ *
|
|
|
4769
4850
|
className: "category-intro-block__container",
|
|
4770
4851
|
children: /* @__PURE__ */ M(V, { width: "content-container", pt: "m", pb: "xxl", children: [
|
|
4771
4852
|
/* @__PURE__ */ s(Yn, { ...n }),
|
|
4772
|
-
/* @__PURE__ */ s(
|
|
4773
|
-
/* @__PURE__ */ s(
|
|
4853
|
+
/* @__PURE__ */ s(ye, { mt: "xl", size: "xl", children: e }),
|
|
4854
|
+
/* @__PURE__ */ s(ee, { mt: "l", children: t })
|
|
4774
4855
|
] })
|
|
4775
4856
|
}
|
|
4776
4857
|
) });
|
|
@@ -4778,8 +4859,9 @@ const ns = ({
|
|
|
4778
4859
|
intro: e,
|
|
4779
4860
|
title: t,
|
|
4780
4861
|
description: n,
|
|
4781
|
-
elevenLabsLink: { label: i, ...o }
|
|
4782
|
-
|
|
4862
|
+
elevenLabsLink: { label: i, ...o },
|
|
4863
|
+
...r
|
|
4864
|
+
}) => /* @__PURE__ */ s(V, { className: "home-intro-block", ...r, children: /* @__PURE__ */ M(
|
|
4783
4865
|
F,
|
|
4784
4866
|
{
|
|
4785
4867
|
alignItems: "baseline",
|
|
@@ -4789,9 +4871,9 @@ const ns = ({
|
|
|
4789
4871
|
ml: { xs: "0", md: "xxl" },
|
|
4790
4872
|
className: "home-intro-block__container",
|
|
4791
4873
|
children: [
|
|
4792
|
-
/* @__PURE__ */ s(
|
|
4793
|
-
/* @__PURE__ */ s(
|
|
4794
|
-
/* @__PURE__ */ s(
|
|
4874
|
+
/* @__PURE__ */ s(ye, { size: "s", color: "info", children: e }),
|
|
4875
|
+
/* @__PURE__ */ s(ye, { size: "xl", color: "primary", children: t }),
|
|
4876
|
+
/* @__PURE__ */ s(ee, { children: n }),
|
|
4795
4877
|
/* @__PURE__ */ s(Ke, { as: "a", ...o, children: i })
|
|
4796
4878
|
]
|
|
4797
4879
|
}
|
|
@@ -4801,8 +4883,8 @@ const ns = ({
|
|
|
4801
4883
|
expertiseLink: { label: n, ...i } = {},
|
|
4802
4884
|
...o
|
|
4803
4885
|
}) => /* @__PURE__ */ M(V, { ...o, children: [
|
|
4804
|
-
/* @__PURE__ */ s(
|
|
4805
|
-
/* @__PURE__ */ s(
|
|
4886
|
+
/* @__PURE__ */ s(ee, { size: "m", fontWeight: "bold", children: e }),
|
|
4887
|
+
/* @__PURE__ */ s(ee, { mt: "m", children: t }),
|
|
4806
4888
|
n && /* @__PURE__ */ s(Ke, { as: "a", mt: "l", ...i, children: n })
|
|
4807
4889
|
] });
|
|
4808
4890
|
const Cc = ["primary", "secondary"], lt = ({
|
|
@@ -4825,8 +4907,8 @@ const Cc = ["primary", "secondary"], lt = ({
|
|
|
4825
4907
|
display: "inline-block",
|
|
4826
4908
|
style: { minWidth: 60, minHeight: 16 },
|
|
4827
4909
|
children: /* @__PURE__ */ M(F, { alignContent: "center", alignItems: "center", gap: "xxs", children: [
|
|
4828
|
-
e === "secondary" && /* @__PURE__ */ s(
|
|
4829
|
-
t && /* @__PURE__ */ s(
|
|
4910
|
+
e === "secondary" && /* @__PURE__ */ s(Ie, { name: "calendar", size: "24px", color: "light-grey" }),
|
|
4911
|
+
t && /* @__PURE__ */ s(ee, { as: "span", children: t })
|
|
4830
4912
|
] })
|
|
4831
4913
|
},
|
|
4832
4914
|
d
|
|
@@ -4843,8 +4925,8 @@ const Cc = ["primary", "secondary"], lt = ({
|
|
|
4843
4925
|
display: "inline-block",
|
|
4844
4926
|
style: { minWidth: 26, minHeight: 16 },
|
|
4845
4927
|
children: /* @__PURE__ */ M(F, { alignContent: "center", alignItems: "center", gap: "xxs", children: [
|
|
4846
|
-
e === "secondary" && /* @__PURE__ */ s(
|
|
4847
|
-
n && /* @__PURE__ */ s(
|
|
4928
|
+
e === "secondary" && /* @__PURE__ */ s(Ie, { name: "access-time", size: "24px", color: "light-grey" }),
|
|
4929
|
+
n && /* @__PURE__ */ s(ee, { as: "span", children: `${n}mn` })
|
|
4848
4930
|
] })
|
|
4849
4931
|
},
|
|
4850
4932
|
d
|
|
@@ -4861,10 +4943,10 @@ const Cc = ["primary", "secondary"], lt = ({
|
|
|
4861
4943
|
display: "inline-block",
|
|
4862
4944
|
style: { minWidth: 50, minHeight: 16 },
|
|
4863
4945
|
children: i && /* @__PURE__ */ M(F, { alignContent: "center", alignItems: "center", gap: "xxs", children: [
|
|
4864
|
-
e === "secondary" && /* @__PURE__ */ s(
|
|
4946
|
+
e === "secondary" && /* @__PURE__ */ s(Ie, { name: "person", size: "24px", color: "light-grey" }),
|
|
4865
4947
|
i.map(({ username: f, name: E, link: N }, T) => /* @__PURE__ */ M(rt, { children: [
|
|
4866
|
-
N ? /* @__PURE__ */ s(e0, { ...N, children: E }) : /* @__PURE__ */ s(
|
|
4867
|
-
T !== i.length - 1 && /* @__PURE__ */ s(
|
|
4948
|
+
N ? /* @__PURE__ */ s(e0, { ...N, children: E }) : /* @__PURE__ */ s(ee, { as: "span", children: E }),
|
|
4949
|
+
T !== i.length - 1 && /* @__PURE__ */ s(ee, { as: "span", children: "&" })
|
|
4868
4950
|
] }, f))
|
|
4869
4951
|
] })
|
|
4870
4952
|
},
|
|
@@ -4875,7 +4957,7 @@ const Cc = ["primary", "secondary"], lt = ({
|
|
|
4875
4957
|
}
|
|
4876
4958
|
}
|
|
4877
4959
|
return e !== "secondary" && u !== r.length - 1 && l.push(
|
|
4878
|
-
/* @__PURE__ */ s(
|
|
4960
|
+
/* @__PURE__ */ s(ee, { as: "span", children: "•" }, `circle-${d}`)
|
|
4879
4961
|
), l;
|
|
4880
4962
|
}, []);
|
|
4881
4963
|
return /* @__PURE__ */ s(
|
|
@@ -4916,9 +4998,9 @@ const Mc = ["highlight-light", "highlight-dark", "side-image"], D0 = ({
|
|
|
4916
4998
|
style: { display: "grid" },
|
|
4917
4999
|
children: [
|
|
4918
5000
|
/* @__PURE__ */ s(We, { isLoading: d, children: /* @__PURE__ */ M(V, { as: "h2", className: "post-card__heading", children: [
|
|
4919
|
-
/* @__PURE__ */ s(
|
|
5001
|
+
/* @__PURE__ */ s(ee, { as: "a", ...l, size: "m", "data-internal-link": "post", className: "post-card__link", children: i }),
|
|
4920
5002
|
e === "tutorial" && /* @__PURE__ */ s(
|
|
4921
|
-
|
|
5003
|
+
ee,
|
|
4922
5004
|
{
|
|
4923
5005
|
size: "xs",
|
|
4924
5006
|
py: "xxs-3",
|
|
@@ -4942,7 +5024,7 @@ const Mc = ["highlight-light", "highlight-dark", "side-image"], D0 = ({
|
|
|
4942
5024
|
isLoading: d
|
|
4943
5025
|
}
|
|
4944
5026
|
),
|
|
4945
|
-
t !== "highlight-dark" && /* @__PURE__ */ s(We, { isLoading: d, children: /* @__PURE__ */ s(
|
|
5027
|
+
t !== "highlight-dark" && /* @__PURE__ */ s(We, { isLoading: d, children: /* @__PURE__ */ s(ee, { mt: "xs", size: "s", hiddenBelow: "md", children: o }) })
|
|
4946
5028
|
]
|
|
4947
5029
|
}
|
|
4948
5030
|
)
|
|
@@ -4953,15 +5035,35 @@ const is = ({
|
|
|
4953
5035
|
description: n,
|
|
4954
5036
|
link: { label: i, ...o },
|
|
4955
5037
|
...r
|
|
4956
|
-
}) => /* @__PURE__ */ M(F, { ...r, alignItems: "center",
|
|
4957
|
-
/* @__PURE__ */
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
5038
|
+
}) => /* @__PURE__ */ M(F, { ...r, alignItems: "center", gap: "s", px: "s", py: "m", bg: "white", className: "author-card", children: [
|
|
5039
|
+
t ? /* @__PURE__ */ s("img", { src: t, alt: e, className: "author-card__avatar-img" }) : /* @__PURE__ */ s("div", { className: "author-card__avatar-img author-card__avatar-img--empty" }),
|
|
5040
|
+
/* @__PURE__ */ M(
|
|
5041
|
+
F,
|
|
5042
|
+
{
|
|
5043
|
+
flexDirection: { xs: "column", md: "row" },
|
|
5044
|
+
flex: "1",
|
|
5045
|
+
justifyContent: "between",
|
|
5046
|
+
alignItems: { xs: "start", md: "center" },
|
|
5047
|
+
gap: "s",
|
|
5048
|
+
children: [
|
|
5049
|
+
/* @__PURE__ */ M(V, { children: [
|
|
5050
|
+
/* @__PURE__ */ s(ee, { color: "primary", size: "m", fontWeight: "semi-bold", children: e }),
|
|
5051
|
+
/* @__PURE__ */ s(ee, { as: "div", size: "xs", mt: "xxs-3", italic: !0, children: n })
|
|
5052
|
+
] }),
|
|
5053
|
+
/* @__PURE__ */ s(
|
|
5054
|
+
e0,
|
|
5055
|
+
{
|
|
5056
|
+
...o,
|
|
5057
|
+
px: { xs: "0", md: "m" },
|
|
5058
|
+
textTransform: "uppercase",
|
|
5059
|
+
"data-internal-link": "author",
|
|
5060
|
+
className: "author-card__link",
|
|
5061
|
+
children: i
|
|
5062
|
+
}
|
|
5063
|
+
)
|
|
5064
|
+
]
|
|
5065
|
+
}
|
|
5066
|
+
)
|
|
4965
5067
|
] });
|
|
4966
5068
|
const os = ({
|
|
4967
5069
|
title: e,
|
|
@@ -4977,9 +5079,10 @@ const os = ({
|
|
|
4977
5079
|
gap: "m",
|
|
4978
5080
|
textAlign: "center",
|
|
4979
5081
|
className: "contact-card__container",
|
|
5082
|
+
px: "m",
|
|
4980
5083
|
children: [
|
|
4981
|
-
/* @__PURE__ */ s(
|
|
4982
|
-
/* @__PURE__ */ s(
|
|
5084
|
+
/* @__PURE__ */ s(ye, { size: "l", color: "primary", children: e }),
|
|
5085
|
+
/* @__PURE__ */ s(ee, { size: "s", children: t }),
|
|
4983
5086
|
/* @__PURE__ */ s(Ke, { as: "a", ...i, children: n })
|
|
4984
5087
|
]
|
|
4985
5088
|
}
|
|
@@ -4991,7 +5094,7 @@ const Tc = ["primary", "secondary"], tr = ({
|
|
|
4991
5094
|
sections: i,
|
|
4992
5095
|
...o
|
|
4993
5096
|
}) => /* @__PURE__ */ M(V, { bg: "white", p: "m", className: ie("summary-card", { [`summary-card--${e}`]: e }), ...o, children: [
|
|
4994
|
-
/* @__PURE__ */ s(
|
|
5097
|
+
/* @__PURE__ */ s(ye, { size: "m", color: "primary", children: t }),
|
|
4995
5098
|
/* @__PURE__ */ s(F, { flexDirection: "column", mt: "m", children: i.map(({ name: r, label: c, ...a }, l) => /* @__PURE__ */ M(be.Fragment, { children: [
|
|
4996
5099
|
/* @__PURE__ */ M(
|
|
4997
5100
|
F,
|
|
@@ -5004,8 +5107,8 @@ const Tc = ["primary", "secondary"], tr = ({
|
|
|
5004
5107
|
}),
|
|
5005
5108
|
...a,
|
|
5006
5109
|
children: [
|
|
5007
|
-
/* @__PURE__ */ s(
|
|
5008
|
-
/* @__PURE__ */ s(
|
|
5110
|
+
/* @__PURE__ */ s(ee, { color: e === "primary" ? "info" : void 0, children: e === "secondary" ? l + 1 : "•" }),
|
|
5111
|
+
/* @__PURE__ */ s(ee, { children: c })
|
|
5009
5112
|
]
|
|
5010
5113
|
}
|
|
5011
5114
|
),
|
|
@@ -5028,9 +5131,9 @@ const Ac = ["horizontal", "vertical"], ut = ({
|
|
|
5028
5131
|
className: ie("newsletter-card", `newsletter-card--${i}`),
|
|
5029
5132
|
children: [
|
|
5030
5133
|
/* @__PURE__ */ M(V, { className: "newsletter-card__intro", children: [
|
|
5031
|
-
/* @__PURE__ */ s(
|
|
5032
|
-
/* @__PURE__ */ s(
|
|
5033
|
-
/* @__PURE__ */ s(
|
|
5134
|
+
/* @__PURE__ */ s(ye, { size: "m", color: "accent", children: e }),
|
|
5135
|
+
/* @__PURE__ */ s(Ie, { name: "underline", color: "accent", width: "56px" }),
|
|
5136
|
+
/* @__PURE__ */ s(ee, { mt: "m", children: t })
|
|
5034
5137
|
] }),
|
|
5035
5138
|
/* @__PURE__ */ s(V, { className: "newsletter-card__form", children: n })
|
|
5036
5139
|
]
|
|
@@ -5086,7 +5189,7 @@ const B0 = (e) => ({
|
|
|
5086
5189
|
disabled: e === 1,
|
|
5087
5190
|
getLink: n
|
|
5088
5191
|
}),
|
|
5089
|
-
children: /* @__PURE__ */ s(
|
|
5192
|
+
children: /* @__PURE__ */ s(Ie, { name: "arrow" })
|
|
5090
5193
|
}
|
|
5091
5194
|
),
|
|
5092
5195
|
r.map((c, a) => /* @__PURE__ */ M(rt, { children: [
|
|
@@ -5111,7 +5214,7 @@ const B0 = (e) => ({
|
|
|
5111
5214
|
disabled: e === t,
|
|
5112
5215
|
getLink: n
|
|
5113
5216
|
}),
|
|
5114
|
-
children: /* @__PURE__ */ s(
|
|
5217
|
+
children: /* @__PURE__ */ s(Ie, { name: "arrow" })
|
|
5115
5218
|
}
|
|
5116
5219
|
)
|
|
5117
5220
|
] });
|
|
@@ -5230,14 +5333,14 @@ function us() {
|
|
|
5230
5333
|
case f:
|
|
5231
5334
|
return L;
|
|
5232
5335
|
default:
|
|
5233
|
-
var
|
|
5234
|
-
switch (
|
|
5336
|
+
var _e = L && L.$$typeof;
|
|
5337
|
+
switch (_e) {
|
|
5235
5338
|
case a:
|
|
5236
5339
|
case u:
|
|
5237
5340
|
case T:
|
|
5238
5341
|
case N:
|
|
5239
5342
|
case c:
|
|
5240
|
-
return
|
|
5343
|
+
return _e;
|
|
5241
5344
|
default:
|
|
5242
5345
|
return de;
|
|
5243
5346
|
}
|
|
@@ -5247,7 +5350,7 @@ function us() {
|
|
|
5247
5350
|
}
|
|
5248
5351
|
}
|
|
5249
5352
|
}
|
|
5250
|
-
var p = l, w = d, D = a, P = c, q = t, U = u, G = i, X = T, ne = N,
|
|
5353
|
+
var p = l, w = d, D = a, P = c, q = t, U = u, G = i, X = T, ne = N, Z = n, re = r, oe = o, W = f, pe = !1;
|
|
5251
5354
|
function ge(S) {
|
|
5252
5355
|
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;
|
|
5253
5356
|
}
|
|
@@ -5284,10 +5387,10 @@ function us() {
|
|
|
5284
5387
|
function B(S) {
|
|
5285
5388
|
return g(S) === o;
|
|
5286
5389
|
}
|
|
5287
|
-
function
|
|
5390
|
+
function Q(S) {
|
|
5288
5391
|
return g(S) === f;
|
|
5289
5392
|
}
|
|
5290
|
-
se.AsyncMode = p, se.ConcurrentMode = w, se.ContextConsumer = D, se.ContextProvider = P, se.Element = q, se.ForwardRef = U, se.Fragment = G, se.Lazy = X, se.Memo = ne, se.Portal =
|
|
5393
|
+
se.AsyncMode = p, se.ConcurrentMode = w, se.ContextConsumer = D, se.ContextProvider = P, se.Element = q, se.ForwardRef = U, se.Fragment = G, se.Lazy = X, se.Memo = ne, se.Portal = Z, se.Profiler = re, se.StrictMode = oe, se.Suspense = W, se.isAsyncMode = ge, se.isConcurrentMode = x, se.isContextConsumer = k, se.isContextProvider = K, se.isElement = b, se.isForwardRef = v, se.isFragment = _, se.isLazy = I, se.isMemo = C, se.isPortal = z, se.isProfiler = H, se.isStrictMode = B, se.isSuspense = Q, se.isValidElementType = m, se.typeOf = g;
|
|
5291
5394
|
}()), se;
|
|
5292
5395
|
}
|
|
5293
5396
|
var Wt;
|
|
@@ -5464,8 +5567,8 @@ function ps() {
|
|
|
5464
5567
|
function y(x) {
|
|
5465
5568
|
if (process.env.NODE_ENV !== "production")
|
|
5466
5569
|
var k = {}, K = 0;
|
|
5467
|
-
function b(_, I, C, z, H, B,
|
|
5468
|
-
if (z = z || E, B = B || C,
|
|
5570
|
+
function b(_, I, C, z, H, B, Q) {
|
|
5571
|
+
if (z = z || E, B = B || C, Q !== n) {
|
|
5469
5572
|
if (l) {
|
|
5470
5573
|
var S = new Error(
|
|
5471
5574
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -5560,7 +5663,7 @@ function ps() {
|
|
|
5560
5663
|
for (var C = K[b], z = 0; z < x.length; z++)
|
|
5561
5664
|
if (T(C, x[z]))
|
|
5562
5665
|
return null;
|
|
5563
|
-
var H = JSON.stringify(x, function(
|
|
5666
|
+
var H = JSON.stringify(x, function(Q, S) {
|
|
5564
5667
|
var de = W(S);
|
|
5565
5668
|
return de === "symbol" ? String(S) : S;
|
|
5566
5669
|
});
|
|
@@ -5597,7 +5700,7 @@ function ps() {
|
|
|
5597
5700
|
}
|
|
5598
5701
|
function b(v, _, I, C, z) {
|
|
5599
5702
|
for (var H = [], B = 0; B < x.length; B++) {
|
|
5600
|
-
var
|
|
5703
|
+
var Q = x[B], S = Q(v, _, I, C, z, n);
|
|
5601
5704
|
if (S == null)
|
|
5602
5705
|
return null;
|
|
5603
5706
|
S.data && i(S.data, "expectedType") && H.push(S.data.expectedType);
|
|
@@ -5609,7 +5712,7 @@ function ps() {
|
|
|
5609
5712
|
}
|
|
5610
5713
|
function U() {
|
|
5611
5714
|
function x(k, K, b, v, _) {
|
|
5612
|
-
return
|
|
5715
|
+
return Z(k[K]) ? null : new R("Invalid " + v + " `" + _ + "` supplied to " + ("`" + b + "`, expected a ReactNode."));
|
|
5613
5716
|
}
|
|
5614
5717
|
return y(x);
|
|
5615
5718
|
}
|
|
@@ -5627,9 +5730,9 @@ function ps() {
|
|
|
5627
5730
|
var B = x[H];
|
|
5628
5731
|
if (typeof B != "function")
|
|
5629
5732
|
return G(v, _, I, H, W(B));
|
|
5630
|
-
var
|
|
5631
|
-
if (
|
|
5632
|
-
return
|
|
5733
|
+
var Q = B(C, H, v, _, I + "." + H, n);
|
|
5734
|
+
if (Q)
|
|
5735
|
+
return Q;
|
|
5633
5736
|
}
|
|
5634
5737
|
return null;
|
|
5635
5738
|
}
|
|
@@ -5642,15 +5745,15 @@ function ps() {
|
|
|
5642
5745
|
return new R("Invalid " + _ + " `" + I + "` of type `" + z + "` " + ("supplied to `" + v + "`, expected `object`."));
|
|
5643
5746
|
var H = t({}, K[b], x);
|
|
5644
5747
|
for (var B in H) {
|
|
5645
|
-
var
|
|
5646
|
-
if (i(x, B) && typeof
|
|
5647
|
-
return G(v, _, I, B, W(
|
|
5648
|
-
if (!
|
|
5748
|
+
var Q = x[B];
|
|
5749
|
+
if (i(x, B) && typeof Q != "function")
|
|
5750
|
+
return G(v, _, I, B, W(Q));
|
|
5751
|
+
if (!Q)
|
|
5649
5752
|
return new R(
|
|
5650
5753
|
"Invalid " + _ + " `" + I + "` key `" + B + "` supplied to `" + v + "`.\nBad object: " + JSON.stringify(K[b], null, " ") + `
|
|
5651
5754
|
Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
5652
5755
|
);
|
|
5653
|
-
var S =
|
|
5756
|
+
var S = Q(C, B, v, _, I + "." + B, n);
|
|
5654
5757
|
if (S)
|
|
5655
5758
|
return S;
|
|
5656
5759
|
}
|
|
@@ -5658,7 +5761,7 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
|
5658
5761
|
}
|
|
5659
5762
|
return y(k);
|
|
5660
5763
|
}
|
|
5661
|
-
function
|
|
5764
|
+
function Z(x) {
|
|
5662
5765
|
switch (typeof x) {
|
|
5663
5766
|
case "number":
|
|
5664
5767
|
case "string":
|
|
@@ -5668,7 +5771,7 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
|
5668
5771
|
return !x;
|
|
5669
5772
|
case "object":
|
|
5670
5773
|
if (Array.isArray(x))
|
|
5671
|
-
return x.every(
|
|
5774
|
+
return x.every(Z);
|
|
5672
5775
|
if (x === null || a(x))
|
|
5673
5776
|
return !0;
|
|
5674
5777
|
var k = f(x);
|
|
@@ -5676,12 +5779,12 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
|
5676
5779
|
var K = k.call(x), b;
|
|
5677
5780
|
if (k !== x.entries) {
|
|
5678
5781
|
for (; !(b = K.next()).done; )
|
|
5679
|
-
if (!
|
|
5782
|
+
if (!Z(b.value))
|
|
5680
5783
|
return !1;
|
|
5681
5784
|
} else
|
|
5682
5785
|
for (; !(b = K.next()).done; ) {
|
|
5683
5786
|
var v = b.value;
|
|
5684
|
-
if (v && !
|
|
5787
|
+
if (v && !Z(v[1]))
|
|
5685
5788
|
return !1;
|
|
5686
5789
|
}
|
|
5687
5790
|
} else
|
|
@@ -5889,8 +5992,8 @@ function ys() {
|
|
|
5889
5992
|
}
|
|
5890
5993
|
function p(L) {
|
|
5891
5994
|
if (typeof L == "object" && L !== null) {
|
|
5892
|
-
var
|
|
5893
|
-
switch (
|
|
5995
|
+
var _e = L.$$typeof;
|
|
5996
|
+
switch (_e) {
|
|
5894
5997
|
case e:
|
|
5895
5998
|
var ve = L.type;
|
|
5896
5999
|
switch (ve) {
|
|
@@ -5911,15 +6014,15 @@ function ys() {
|
|
|
5911
6014
|
case r:
|
|
5912
6015
|
return Le;
|
|
5913
6016
|
default:
|
|
5914
|
-
return
|
|
6017
|
+
return _e;
|
|
5915
6018
|
}
|
|
5916
6019
|
}
|
|
5917
6020
|
case t:
|
|
5918
|
-
return
|
|
6021
|
+
return _e;
|
|
5919
6022
|
}
|
|
5920
6023
|
}
|
|
5921
6024
|
}
|
|
5922
|
-
var w = c, D = r, P = e, q = l, U = n, G = E, X = f, ne = t,
|
|
6025
|
+
var w = c, D = r, P = e, q = l, U = n, G = E, X = f, ne = t, Z = o, re = i, oe = d, W = u, pe = !1, ge = !1;
|
|
5923
6026
|
function x(L) {
|
|
5924
6027
|
return pe || (pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
5925
6028
|
}
|
|
@@ -5953,7 +6056,7 @@ function ys() {
|
|
|
5953
6056
|
function B(L) {
|
|
5954
6057
|
return p(L) === o;
|
|
5955
6058
|
}
|
|
5956
|
-
function
|
|
6059
|
+
function Q(L) {
|
|
5957
6060
|
return p(L) === i;
|
|
5958
6061
|
}
|
|
5959
6062
|
function S(L) {
|
|
@@ -5962,7 +6065,7 @@ function ys() {
|
|
|
5962
6065
|
function de(L) {
|
|
5963
6066
|
return p(L) === u;
|
|
5964
6067
|
}
|
|
5965
|
-
le.ContextConsumer = w, le.ContextProvider = D, le.Element = P, le.ForwardRef = q, le.Fragment = U, le.Lazy = G, le.Memo = X, le.Portal = ne, le.Profiler =
|
|
6068
|
+
le.ContextConsumer = w, le.ContextProvider = D, le.Element = P, le.ForwardRef = q, le.Fragment = U, le.Lazy = G, le.Memo = X, le.Portal = ne, le.Profiler = Z, le.StrictMode = re, le.Suspense = oe, le.SuspenseList = W, le.isAsyncMode = x, le.isConcurrentMode = k, le.isContextConsumer = K, le.isContextProvider = b, le.isElement = v, le.isForwardRef = _, 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 = p;
|
|
5966
6069
|
}()), le;
|
|
5967
6070
|
}
|
|
5968
6071
|
process.env.NODE_ENV === "production" ? J0.exports = bs() : J0.exports = ys();
|
|
@@ -6007,7 +6110,7 @@ const rn = (e) => typeof e == "object" && e != null && e.nodeType === 1, on = (e
|
|
|
6007
6110
|
const W = window.getComputedStyle(oe);
|
|
6008
6111
|
return { top: parseFloat(W.scrollMarginTop) || 0, right: parseFloat(W.scrollMarginRight) || 0, bottom: parseFloat(W.scrollMarginBottom) || 0, left: parseFloat(W.scrollMarginLeft) || 0 };
|
|
6009
6112
|
})(e);
|
|
6010
|
-
let ne = a === "start" || a === "nearest" ? p - q : a === "end" ? D + G : p + m / 2 - q + G,
|
|
6113
|
+
let ne = a === "start" || a === "nearest" ? p - q : a === "end" ? D + G : p + m / 2 - q + G, Z = l === "center" ? P + g / 2 - X + U : l === "end" ? w + U : P - X;
|
|
6011
6114
|
const re = [];
|
|
6012
6115
|
for (let oe = 0; oe < N.length; oe++) {
|
|
6013
6116
|
const W = N[oe], { height: pe, width: ge, top: x, right: k, bottom: K, left: b } = W.getBoundingClientRect();
|
|
@@ -6015,13 +6118,13 @@ const rn = (e) => typeof e == "object" && e != null && e.nodeType === 1, on = (e
|
|
|
6015
6118
|
return re;
|
|
6016
6119
|
const v = getComputedStyle(W), _ = parseInt(v.borderLeftWidth, 10), I = parseInt(v.borderTopWidth, 10), C = parseInt(v.borderRightWidth, 10), z = parseInt(v.borderBottomWidth, 10);
|
|
6017
6120
|
let H = 0, B = 0;
|
|
6018
|
-
const
|
|
6121
|
+
const Q = "offsetWidth" in W ? W.offsetWidth - W.clientWidth - _ - 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;
|
|
6019
6122
|
if (E === W)
|
|
6020
|
-
H = a === "start" ? ne : a === "end" ? ne - y : a === "nearest" ? E0(h, h + y, y, I, z, h + ne, h + ne + m, m) : ne - y / 2, B = l === "start" ?
|
|
6123
|
+
H = a === "start" ? ne : a === "end" ? ne - y : a === "nearest" ? E0(h, h + y, y, I, z, h + ne, h + ne + m, m) : ne - y / 2, B = l === "start" ? Z : l === "center" ? Z - R / 2 : l === "end" ? Z - R : E0(A, A + R, R, _, C, A + Z, A + Z + g, g), H = Math.max(0, H + h), B = Math.max(0, B + A);
|
|
6021
6124
|
else {
|
|
6022
|
-
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" ?
|
|
6023
|
-
const { scrollLeft:
|
|
6024
|
-
H = L === 0 ? 0 : Math.max(0, Math.min(ve + H / L, W.scrollHeight - pe / L + S)), B = de === 0 ? 0 : Math.max(0, Math.min(
|
|
6125
|
+
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 - _ : l === "center" ? Z - (b + ge / 2) + Q / 2 : l === "end" ? Z - k + C + Q : E0(b, k, ge, _, C + Q, Z, Z + g, g);
|
|
6126
|
+
const { scrollLeft: _e, scrollTop: ve } = W;
|
|
6127
|
+
H = L === 0 ? 0 : Math.max(0, Math.min(ve + H / L, W.scrollHeight - pe / L + S)), B = de === 0 ? 0 : Math.max(0, Math.min(_e + B / de, W.scrollWidth - ge / de + Q)), ne += ve - H, Z += _e - B;
|
|
6025
6128
|
}
|
|
6026
6129
|
re.push({ el: W, top: H, left: B });
|
|
6027
6130
|
}
|
|
@@ -6282,8 +6385,8 @@ var dr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6282
6385
|
}, r.getRootProps = function(h, m) {
|
|
6283
6386
|
var g, p = h === void 0 ? {} : h, w = p.refKey, D = w === void 0 ? "ref" : w, P = p.ref, q = He(p, Rs), U = m === void 0 ? {} : m, G = U.suppressRefError, X = G === void 0 ? !1 : G;
|
|
6284
6387
|
r.getRootProps.called = !0, r.getRootProps.refKey = D, r.getRootProps.suppressRefError = X;
|
|
6285
|
-
var ne = r.getState(),
|
|
6286
|
-
return Y((g = {}, g[D] = a0(P, r.rootRef), g.role = "combobox", g["aria-expanded"] =
|
|
6388
|
+
var ne = r.getState(), Z = ne.isOpen;
|
|
6389
|
+
return Y((g = {}, g[D] = a0(P, r.rootRef), g.role = "combobox", g["aria-expanded"] = Z, g["aria-haspopup"] = "listbox", g["aria-owns"] = Z ? r.menuId : void 0, g["aria-labelledby"] = r.labelId, g), q);
|
|
6287
6390
|
}, r.keyDownHandlers = {
|
|
6288
6391
|
ArrowDown: function(m) {
|
|
6289
6392
|
var g = this;
|
|
@@ -6443,14 +6546,14 @@ var dr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6443
6546
|
m.onChangeText;
|
|
6444
6547
|
var P = He(m, Ms), q, U = {};
|
|
6445
6548
|
q = "onChange";
|
|
6446
|
-
var G = r.getState(), X = G.inputValue, ne = G.isOpen,
|
|
6549
|
+
var G = r.getState(), X = G.inputValue, ne = G.isOpen, Z = G.highlightedIndex;
|
|
6447
6550
|
if (!P.disabled) {
|
|
6448
6551
|
var re;
|
|
6449
6552
|
U = (re = {}, re[q] = he(w, D, r.inputHandleChange), re.onKeyDown = he(g, r.inputHandleKeyDown), re.onBlur = he(p, r.inputHandleBlur), re);
|
|
6450
6553
|
}
|
|
6451
6554
|
return Y({
|
|
6452
6555
|
"aria-autocomplete": "list",
|
|
6453
|
-
"aria-activedescendant": ne && typeof
|
|
6556
|
+
"aria-activedescendant": ne && typeof Z == "number" && Z >= 0 ? r.getItemId(Z) : void 0,
|
|
6454
6557
|
"aria-controls": ne ? r.menuId : void 0,
|
|
6455
6558
|
"aria-labelledby": P && P["aria-label"] ? void 0 : r.labelId,
|
|
6456
6559
|
// https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion
|
|
@@ -6492,7 +6595,7 @@ var dr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6492
6595
|
void 0
|
|
6493
6596
|
) : xs("getItemProps", "item") : q, G = He(g, As);
|
|
6494
6597
|
P === void 0 ? (r.items.push(U), P = r.items.indexOf(U)) : r.items[P] = U;
|
|
6495
|
-
var X = "onClick", ne = D,
|
|
6598
|
+
var X = "onClick", ne = D, Z = (m = {
|
|
6496
6599
|
// onMouseMove is used over onMouseEnter here. onMouseMove
|
|
6497
6600
|
// is only triggered on actual mouse movement while onMouseEnter
|
|
6498
6601
|
// can fire on DOM changes, interrupting keyboard navigation
|
|
@@ -6511,8 +6614,8 @@ var dr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6511
6614
|
type: br
|
|
6512
6615
|
});
|
|
6513
6616
|
}), m), re = G.disabled ? {
|
|
6514
|
-
onMouseDown:
|
|
6515
|
-
} :
|
|
6617
|
+
onMouseDown: Z.onMouseDown
|
|
6618
|
+
} : Z;
|
|
6516
6619
|
return Y({
|
|
6517
6620
|
id: r.getItemId(P),
|
|
6518
6621
|
role: "option",
|
|
@@ -6595,7 +6698,7 @@ var dr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6595
6698
|
this.setHighlightedIndex(u, c);
|
|
6596
6699
|
}
|
|
6597
6700
|
}, i.getStateAndHelpers = function() {
|
|
6598
|
-
var r = this.getState(), c = r.highlightedIndex, a = r.inputValue, l = r.selectedItem, d = r.isOpen, u = this.props.itemToString, f = this.id, E = this.getRootProps, N = this.getToggleButtonProps, T = this.getLabelProps, R = this.getMenuProps, y = this.getInputProps, A = this.getItemProps, h = this.openMenu, m = this.closeMenu, g = this.toggleMenu, p = this.selectItem, w = this.selectItemAtIndex, D = this.selectHighlightedItem, P = this.setHighlightedIndex, q = this.clearSelection, U = this.clearItems, G = this.reset, X = this.setItemCount, ne = this.unsetItemCount,
|
|
6701
|
+
var r = this.getState(), c = r.highlightedIndex, a = r.inputValue, l = r.selectedItem, d = r.isOpen, u = this.props.itemToString, f = this.id, E = this.getRootProps, N = this.getToggleButtonProps, T = this.getLabelProps, R = this.getMenuProps, y = this.getInputProps, A = this.getItemProps, h = this.openMenu, m = this.closeMenu, g = this.toggleMenu, p = this.selectItem, w = this.selectItemAtIndex, D = this.selectHighlightedItem, P = this.setHighlightedIndex, q = this.clearSelection, U = this.clearItems, G = this.reset, X = this.setItemCount, ne = this.unsetItemCount, Z = this.internalSetState;
|
|
6599
6702
|
return {
|
|
6600
6703
|
// prop getters
|
|
6601
6704
|
getRootProps: E,
|
|
@@ -6617,7 +6720,7 @@ var dr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6617
6720
|
clearItems: U,
|
|
6618
6721
|
setItemCount: X,
|
|
6619
6722
|
unsetItemCount: ne,
|
|
6620
|
-
setState:
|
|
6723
|
+
setState: Z,
|
|
6621
6724
|
// props
|
|
6622
6725
|
itemToString: u,
|
|
6623
6726
|
// derived
|
|
@@ -6798,7 +6901,7 @@ var Hs = ft(function(e, t) {
|
|
|
6798
6901
|
}, 200), zs = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Gr : ke, Us = "useId" in be ? function(t) {
|
|
6799
6902
|
var n = t.id, i = t.labelId, o = t.menuId, r = t.getItemId, c = t.toggleButtonId, a = t.inputId, l = "downshift-" + be.useId();
|
|
6800
6903
|
n || (n = l);
|
|
6801
|
-
var d =
|
|
6904
|
+
var d = Ee({
|
|
6802
6905
|
labelId: i || n + "-label",
|
|
6803
6906
|
menuId: o || n + "-menu",
|
|
6804
6907
|
getItemId: r || function(u) {
|
|
@@ -6809,7 +6912,7 @@ var Hs = ft(function(e, t) {
|
|
|
6809
6912
|
});
|
|
6810
6913
|
return d.current;
|
|
6811
6914
|
} : function(t) {
|
|
6812
|
-
var n = t.id, i = n === void 0 ? "downshift-" + or() : n, o = t.labelId, r = t.menuId, c = t.getItemId, a = t.toggleButtonId, l = t.inputId, d =
|
|
6915
|
+
var n = t.id, i = n === void 0 ? "downshift-" + or() : n, o = t.labelId, r = t.menuId, c = t.getItemId, a = t.toggleButtonId, l = t.inputId, d = Ee({
|
|
6813
6916
|
labelId: o || i + "-label",
|
|
6814
6917
|
menuId: r || i + "-menu",
|
|
6815
6918
|
getItemId: c || function(u) {
|
|
@@ -6837,17 +6940,17 @@ function gt(e) {
|
|
|
6837
6940
|
return "" + e.slice(0, 1).toUpperCase() + e.slice(1);
|
|
6838
6941
|
}
|
|
6839
6942
|
function Sr(e) {
|
|
6840
|
-
var t =
|
|
6943
|
+
var t = Ee(e);
|
|
6841
6944
|
return t.current = e, t;
|
|
6842
6945
|
}
|
|
6843
6946
|
function Fs(e, t, n, i) {
|
|
6844
|
-
var o =
|
|
6947
|
+
var o = Ee(), r = Ee(), c = xe(function(N, T) {
|
|
6845
6948
|
r.current = T, N = R0(N, T.props);
|
|
6846
6949
|
var R = e(N, T), y = T.props.stateReducer(N, Y({}, T, {
|
|
6847
6950
|
changes: R
|
|
6848
6951
|
}));
|
|
6849
6952
|
return y;
|
|
6850
|
-
}, [e]), a = Yr(c, t, n), l = a[0], d = a[1], u = Sr(t), f =
|
|
6953
|
+
}, [e]), a = Yr(c, t, n), l = a[0], d = a[1], u = Sr(t), f = xe(function(N) {
|
|
6851
6954
|
return d(Y({
|
|
6852
6955
|
props: u.current
|
|
6853
6956
|
}, N));
|
|
@@ -6894,7 +6997,7 @@ function f0(e, t, n) {
|
|
|
6894
6997
|
return i.length === 0 ? -1 : o !== void 0 && a === o ? o : r !== void 0 ? r : c ? i.indexOf(c) : n === 0 ? -1 : n < 0 ? i.length - 1 : 0;
|
|
6895
6998
|
}
|
|
6896
6999
|
function Ws(e, t, n, i) {
|
|
6897
|
-
var o =
|
|
7000
|
+
var o = Ee({
|
|
6898
7001
|
isMouseDown: !1,
|
|
6899
7002
|
isTouchMove: !1
|
|
6900
7003
|
});
|
|
@@ -6925,9 +7028,9 @@ var Or = function() {
|
|
|
6925
7028
|
return De;
|
|
6926
7029
|
};
|
|
6927
7030
|
process.env.NODE_ENV !== "production" && (Or = function() {
|
|
6928
|
-
for (var t =
|
|
7031
|
+
for (var t = Ee(!0), n = arguments.length, i = new Array(n), o = 0; o < n; o++)
|
|
6929
7032
|
i[o] = arguments[o];
|
|
6930
|
-
var r =
|
|
7033
|
+
var r = Ee(i.reduce(function(a, l) {
|
|
6931
7034
|
return a[l] = {}, a;
|
|
6932
7035
|
}, {}));
|
|
6933
7036
|
ke(function() {
|
|
@@ -6941,7 +7044,7 @@ process.env.NODE_ENV !== "production" && (Or = function() {
|
|
|
6941
7044
|
(!f || !f.current) && !d && console.error('downshift: The ref prop "' + u + '" from ' + a + " was not applied correctly on your element.");
|
|
6942
7045
|
}), t.current = !1;
|
|
6943
7046
|
});
|
|
6944
|
-
var c =
|
|
7047
|
+
var c = xe(function(a, l, d, u) {
|
|
6945
7048
|
r.current[a] = {
|
|
6946
7049
|
suppressRefError: l,
|
|
6947
7050
|
refKey: d,
|
|
@@ -6963,14 +7066,14 @@ function un(e, t, n) {
|
|
|
6963
7066
|
}, t);
|
|
6964
7067
|
}
|
|
6965
7068
|
function Gs(e) {
|
|
6966
|
-
var t = e.highlightedIndex, n = e.isOpen, i = e.itemRefs, o = e.getItemNodeFromIndex, r = e.menuElement, c = e.scrollIntoView, a =
|
|
7069
|
+
var t = e.highlightedIndex, n = e.isOpen, i = e.itemRefs, o = e.getItemNodeFromIndex, r = e.menuElement, c = e.scrollIntoView, a = Ee(!0);
|
|
6967
7070
|
return zs(function() {
|
|
6968
7071
|
t < 0 || !n || !Object.keys(i.current).length || (a.current === !1 ? a.current = !0 : c(o(t), r));
|
|
6969
7072
|
}, [t]), a;
|
|
6970
7073
|
}
|
|
6971
7074
|
var Rr = De;
|
|
6972
7075
|
process.env.NODE_ENV !== "production" && (Rr = function(t) {
|
|
6973
|
-
var n = t.isInitialMount, i = t.props, o = t.state, r =
|
|
7076
|
+
var n = t.isInitialMount, i = t.props, o = t.state, r = Ee(i);
|
|
6974
7077
|
ke(function() {
|
|
6975
7078
|
n || (pt(o, r.current, i), r.current = i);
|
|
6976
7079
|
}, [o, i, n]);
|
|
@@ -7158,7 +7261,7 @@ var Js = Y({}, Mr, {
|
|
|
7158
7261
|
onInputValueChange: O.func
|
|
7159
7262
|
});
|
|
7160
7263
|
function ec(e, t, n, i) {
|
|
7161
|
-
var o =
|
|
7264
|
+
var o = Ee(), r = Fs(e, t, n, i), c = r[0], a = r[1];
|
|
7162
7265
|
return ke(function() {
|
|
7163
7266
|
C0(t, "selectedItem") && (t.selectedItemChanged(o.current, t.selectedItem) && a({
|
|
7164
7267
|
type: Ot,
|
|
@@ -7280,10 +7383,10 @@ var rc = ["onMouseLeave", "refKey", "ref"], ic = ["item", "index", "refKey", "re
|
|
|
7280
7383
|
Rt.stateChangeTypes = Hr;
|
|
7281
7384
|
function Rt(e) {
|
|
7282
7385
|
e === void 0 && (e = {}), zr(e, Rt);
|
|
7283
|
-
var t = Y({}, tc, e), n = t.items, i = t.scrollIntoView, o = t.environment, r = t.getA11yStatusMessage, c = t.getA11ySelectionMessage, a = t.itemToString, l = ec(nc, t, Qs, Ys), d = l[0], u = l[1], f = d.isOpen, E = d.highlightedIndex, N = d.selectedItem, T = d.inputValue, R =
|
|
7386
|
+
var t = Y({}, tc, e), n = t.items, i = t.scrollIntoView, o = t.environment, r = t.getA11yStatusMessage, c = t.getA11ySelectionMessage, a = t.itemToString, l = ec(nc, t, Qs, Ys), d = l[0], u = l[1], f = d.isOpen, E = d.highlightedIndex, N = d.selectedItem, T = d.inputValue, R = Ee(null), y = Ee({}), A = Ee(null), h = Ee(null), m = Ee(!0), g = Us(t), p = Ee(), w = Sr({
|
|
7284
7387
|
state: d,
|
|
7285
7388
|
props: t
|
|
7286
|
-
}), D =
|
|
7389
|
+
}), D = xe(function(v) {
|
|
7287
7390
|
return y.current[g.getItemId(v)];
|
|
7288
7391
|
}, [g]);
|
|
7289
7392
|
un(r, [f, E, T, n], Y({
|
|
@@ -7380,26 +7483,26 @@ function Rt(e) {
|
|
|
7380
7483
|
}));
|
|
7381
7484
|
}
|
|
7382
7485
|
};
|
|
7383
|
-
}, [u, w]), X =
|
|
7486
|
+
}, [u, w]), X = xe(function(v) {
|
|
7384
7487
|
return Y({
|
|
7385
7488
|
id: g.labelId,
|
|
7386
7489
|
htmlFor: g.inputId
|
|
7387
7490
|
}, v);
|
|
7388
|
-
}, [g]), ne =
|
|
7389
|
-
var I, C = v === void 0 ? {} : v, z = C.onMouseLeave, H = C.refKey, B = H === void 0 ? "ref" : H,
|
|
7390
|
-
return U("getMenuProps",
|
|
7491
|
+
}, [g]), ne = xe(function(v, _) {
|
|
7492
|
+
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, rc), de = _ === void 0 ? {} : _, L = de.suppressRefError, _e = L === void 0 ? !1 : L;
|
|
7493
|
+
return U("getMenuProps", _e, B, R), Y((I = {}, I[B] = a0(Q, function(ve) {
|
|
7391
7494
|
R.current = ve;
|
|
7392
7495
|
}), I.id = g.menuId, I.role = "listbox", I["aria-labelledby"] = S && S["aria-label"] ? void 0 : "" + g.labelId, I.onMouseLeave = he(z, function() {
|
|
7393
7496
|
u({
|
|
7394
7497
|
type: Tr
|
|
7395
7498
|
});
|
|
7396
7499
|
}), I), S);
|
|
7397
|
-
}, [u, U, g]),
|
|
7398
|
-
var _, I, C = v === void 0 ? {} : v, z = C.item, H = C.index, B = C.refKey,
|
|
7500
|
+
}, [u, U, g]), Z = xe(function(v) {
|
|
7501
|
+
var _, 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, _e = C.onClick;
|
|
7399
7502
|
C.onPress;
|
|
7400
7503
|
var ve = C.disabled, Le = He(C, ic);
|
|
7401
7504
|
ve !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');
|
|
7402
|
-
var Ye = w.current, $e = Ye.props, Be = Ye.state, Xe = js(z, H, $e.items, "Pass either item or index to getItemProps!"),
|
|
7505
|
+
var Ye = w.current, $e = Ye.props, Be = Ye.state, Xe = js(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 = _e, Ne = function() {
|
|
7403
7506
|
Me !== Be.highlightedIndex && (P.current = !1, u({
|
|
7404
7507
|
type: Ar,
|
|
7405
7508
|
index: Me,
|
|
@@ -7413,34 +7516,34 @@ function Rt(e) {
|
|
|
7413
7516
|
}, Te = function(j) {
|
|
7414
7517
|
return j.preventDefault();
|
|
7415
7518
|
};
|
|
7416
|
-
return Y((_ = {}, _[
|
|
7519
|
+
return Y((_ = {}, _[Q] = a0(S, function($) {
|
|
7417
7520
|
$ && (y.current[g.getItemId(Me)] = $);
|
|
7418
7521
|
}), _["aria-disabled"] = me, _["aria-selected"] = "" + (Me === Be.highlightedIndex), _.id = g.getItemId(Me), _.role = "option", _), !me && (I = {}, I[fe] = he(Fe, Ve), I), {
|
|
7419
7522
|
onMouseMove: he(de, Ne),
|
|
7420
7523
|
onMouseDown: he(L, Te)
|
|
7421
7524
|
}, Le);
|
|
7422
|
-
}, [u, w, P, g]), re =
|
|
7525
|
+
}, [u, w, P, g]), re = xe(function(v) {
|
|
7423
7526
|
var _, I = v === void 0 ? {} : v, C = I.onClick;
|
|
7424
7527
|
I.onPress;
|
|
7425
|
-
var z = I.refKey, H = z === void 0 ? "ref" : z, B = I.ref,
|
|
7528
|
+
var z = I.refKey, H = z === void 0 ? "ref" : z, B = I.ref, Q = He(I, oc), S = w.current.state, de = function() {
|
|
7426
7529
|
u({
|
|
7427
7530
|
type: Dr
|
|
7428
7531
|
});
|
|
7429
7532
|
};
|
|
7430
7533
|
return Y((_ = {}, _[H] = a0(B, function(L) {
|
|
7431
7534
|
h.current = L;
|
|
7432
|
-
}), _["aria-controls"] = g.menuId, _["aria-expanded"] = S.isOpen, _.id = g.toggleButtonId, _.tabIndex = -1, _), !
|
|
7535
|
+
}), _["aria-controls"] = g.menuId, _["aria-expanded"] = S.isOpen, _.id = g.toggleButtonId, _.tabIndex = -1, _), !Q.disabled && Y({}, {
|
|
7433
7536
|
onClick: he(C, de)
|
|
7434
|
-
}),
|
|
7435
|
-
}, [u, w, g]), oe =
|
|
7436
|
-
var I, C = v === void 0 ? {} : v, z = C.onKeyDown, H = C.onChange, B = C.onInput,
|
|
7537
|
+
}), Q);
|
|
7538
|
+
}, [u, w, g]), oe = xe(function(v, _) {
|
|
7539
|
+
var I, C = v === void 0 ? {} : v, z = C.onKeyDown, H = C.onChange, B = C.onInput, Q = C.onBlur;
|
|
7437
7540
|
C.onChangeText;
|
|
7438
|
-
var S = C.onClick, de = C.refKey, L = de === void 0 ? "ref" : de,
|
|
7541
|
+
var S = C.onClick, de = C.refKey, L = de === void 0 ? "ref" : de, _e = C.ref, ve = He(C, ac), Le = _ === void 0 ? {} : _, Ye = Le.suppressRefError, $e = Ye === void 0 ? !1 : Ye;
|
|
7439
7542
|
U("getInputProps", $e, L, A);
|
|
7440
7543
|
var Be = w.current.state, Xe = function(Te) {
|
|
7441
7544
|
var $ = et(Te);
|
|
7442
7545
|
$ && G[$] && G[$](Te);
|
|
7443
|
-
},
|
|
7546
|
+
}, J = function(Te) {
|
|
7444
7547
|
u({
|
|
7445
7548
|
type: xt,
|
|
7446
7549
|
inputValue: Te.target.value
|
|
@@ -7460,46 +7563,46 @@ function Rt(e) {
|
|
|
7460
7563
|
}, fe = "onChange", Fe = {};
|
|
7461
7564
|
if (!ve.disabled) {
|
|
7462
7565
|
var Ne;
|
|
7463
|
-
Fe = (Ne = {}, Ne[fe] = he(H, B,
|
|
7566
|
+
Fe = (Ne = {}, Ne[fe] = he(H, B, J), Ne.onKeyDown = he(z, Xe), Ne.onBlur = he(Q, Me), Ne.onClick = he(S, me), Ne);
|
|
7464
7567
|
}
|
|
7465
|
-
return Y((I = {}, I[L] = a0(
|
|
7568
|
+
return Y((I = {}, I[L] = a0(_e, function(Ve) {
|
|
7466
7569
|
A.current = Ve;
|
|
7467
7570
|
}), 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"] = ve && ve["aria-label"] ? void 0 : g.labelId, I.autoComplete = "off", I.id = g.inputId, I.role = "combobox", I.value = Be.inputValue, I), Fe, ve);
|
|
7468
|
-
}, [U, w, g, G, u, q, o]), W =
|
|
7571
|
+
}, [U, w, g, G, u, q, o]), W = xe(function() {
|
|
7469
7572
|
u({
|
|
7470
7573
|
type: kr
|
|
7471
7574
|
});
|
|
7472
|
-
}, [u]), pe =
|
|
7575
|
+
}, [u]), pe = xe(function() {
|
|
7473
7576
|
u({
|
|
7474
7577
|
type: Lr
|
|
7475
7578
|
});
|
|
7476
|
-
}, [u]), ge =
|
|
7579
|
+
}, [u]), ge = xe(function() {
|
|
7477
7580
|
u({
|
|
7478
7581
|
type: Pr
|
|
7479
7582
|
});
|
|
7480
|
-
}, [u]), x =
|
|
7583
|
+
}, [u]), x = xe(function(v) {
|
|
7481
7584
|
u({
|
|
7482
7585
|
type: $r,
|
|
7483
7586
|
highlightedIndex: v
|
|
7484
7587
|
});
|
|
7485
|
-
}, [u]), k =
|
|
7588
|
+
}, [u]), k = xe(function(v) {
|
|
7486
7589
|
u({
|
|
7487
7590
|
type: St,
|
|
7488
7591
|
selectedItem: v
|
|
7489
7592
|
});
|
|
7490
|
-
}, [u]), K =
|
|
7593
|
+
}, [u]), K = xe(function(v) {
|
|
7491
7594
|
u({
|
|
7492
7595
|
type: Br,
|
|
7493
7596
|
inputValue: v
|
|
7494
7597
|
});
|
|
7495
|
-
}, [u]), b =
|
|
7598
|
+
}, [u]), b = xe(function() {
|
|
7496
7599
|
u({
|
|
7497
7600
|
type: Vr
|
|
7498
7601
|
});
|
|
7499
7602
|
}, [u]);
|
|
7500
7603
|
return {
|
|
7501
7604
|
// prop getters.
|
|
7502
|
-
getItemProps:
|
|
7605
|
+
getItemProps: Z,
|
|
7503
7606
|
getLabelProps: X,
|
|
7504
7607
|
getMenuProps: ne,
|
|
7505
7608
|
getInputProps: oe,
|
|
@@ -7606,8 +7709,8 @@ const Ur = Ce(
|
|
|
7606
7709
|
] }),
|
|
7607
7710
|
t.length === 0 && r && /* @__PURE__ */ M(V, { textAlign: "center", px: "xl", py: "m", children: [
|
|
7608
7711
|
/* @__PURE__ */ s("div", { className: "autocomplete-result__background-not-found" }),
|
|
7609
|
-
/* @__PURE__ */ s(
|
|
7610
|
-
/* @__PURE__ */ s(
|
|
7712
|
+
/* @__PURE__ */ s(ye, { size: "m", mt: "s", children: r.title }),
|
|
7713
|
+
/* @__PURE__ */ s(ee, { size: "xs", mt: "xxs", children: r.description })
|
|
7611
7714
|
] })
|
|
7612
7715
|
] })
|
|
7613
7716
|
);
|
|
@@ -7721,7 +7824,7 @@ const cc = ({
|
|
|
7721
7824
|
className: "footer__intro",
|
|
7722
7825
|
gap: "s",
|
|
7723
7826
|
children: [
|
|
7724
|
-
/* @__PURE__ */ s(
|
|
7827
|
+
/* @__PURE__ */ s(ye, { size: "s", children: e.title }),
|
|
7725
7828
|
/* @__PURE__ */ s(V, { as: "a", ...t, className: "footer__intro-link", children: e.description })
|
|
7726
7829
|
]
|
|
7727
7830
|
}
|
|
@@ -7739,7 +7842,7 @@ const cc = ({
|
|
|
7739
7842
|
/* @__PURE__ */ s(V, { mb: "xl", children: /* @__PURE__ */ s(F, { justifyContent: { xs: "center", md: "start" }, alignItems: "center", mb: "xxs", children: /* @__PURE__ */ s(_n, { name: "website", size: "2.5em" }) }) }),
|
|
7740
7843
|
/* @__PURE__ */ M(V, { children: [
|
|
7741
7844
|
/* @__PURE__ */ s(F, { flexDirection: { xs: "column", md: "row" }, gap: { md: "xl" }, children: o.map((a, l) => /* @__PURE__ */ M(V, { mb: "m", children: [
|
|
7742
|
-
a.title && /* @__PURE__ */ s(
|
|
7845
|
+
a.title && /* @__PURE__ */ s(ee, { fontWeight: "bold", mb: "xxs-2", children: a.title }),
|
|
7743
7846
|
a.description
|
|
7744
7847
|
] }, l)) }),
|
|
7745
7848
|
/* @__PURE__ */ M(F, { justifyContent: { xs: "center", md: "start" }, alignItems: "center", flexWrap: "wrap", gap: "s", children: [
|
|
@@ -7754,7 +7857,7 @@ const cc = ({
|
|
|
7754
7857
|
"data-social-link": a
|
|
7755
7858
|
},
|
|
7756
7859
|
children: /* @__PURE__ */ s(
|
|
7757
|
-
|
|
7860
|
+
Ie,
|
|
7758
7861
|
{
|
|
7759
7862
|
name: a,
|
|
7760
7863
|
size: "36",
|
|
@@ -7772,9 +7875,9 @@ const cc = ({
|
|
|
7772
7875
|
}
|
|
7773
7876
|
),
|
|
7774
7877
|
/* @__PURE__ */ M(F, { py: "s", justifyContent: "center", alignItems: "center", className: "footer__language-links-container", children: [
|
|
7775
|
-
/* @__PURE__ */ s(V, { mr: "xxs", children: /* @__PURE__ */ s(
|
|
7878
|
+
/* @__PURE__ */ s(V, { mr: "xxs", children: /* @__PURE__ */ s(Ie, { size: "28px", name: "language" }) }),
|
|
7776
7879
|
c.map(({ label: a, isActive: l, ...d }, u) => /* @__PURE__ */ M(be.Fragment, { children: [
|
|
7777
|
-
l ? /* @__PURE__ */ s(
|
|
7880
|
+
l ? /* @__PURE__ */ s(ee, { fontWeight: "bold", children: a }) : /* @__PURE__ */ s(e0, { ...d, "data-internal-link": "home", children: a }),
|
|
7778
7881
|
c.length - 1 !== u && /* @__PURE__ */ s(V, { mx: "s" })
|
|
7779
7882
|
] }, u))
|
|
7780
7883
|
] })
|
|
@@ -7833,7 +7936,7 @@ const k0 = ({
|
|
|
7833
7936
|
postCardList: t,
|
|
7834
7937
|
categoryEndingBlock: n
|
|
7835
7938
|
}) => /* @__PURE__ */ M(V, { children: [
|
|
7836
|
-
/* @__PURE__ */ s(
|
|
7939
|
+
/* @__PURE__ */ s(ye, { size: "m", mb: "l", color: "primary", children: e }),
|
|
7837
7940
|
t,
|
|
7838
7941
|
n && /* @__PURE__ */ M(Pe, { children: [
|
|
7839
7942
|
/* @__PURE__ */ s(h0, { mt: "m" }),
|
|
@@ -7867,7 +7970,7 @@ const uc = ({
|
|
|
7867
7970
|
width: { md: "content-container" },
|
|
7868
7971
|
className: "last-articles-block",
|
|
7869
7972
|
children: [
|
|
7870
|
-
/* @__PURE__ */ s(
|
|
7973
|
+
/* @__PURE__ */ s(ye, { size: "m", color: "primary", children: e }),
|
|
7871
7974
|
/* @__PURE__ */ s(F, { mt: "l", gap: "m", className: "last-articles-block__post-list", children: t.map((r, c) => /* @__PURE__ */ s(be.Fragment, { children: /* @__PURE__ */ s(D0, { variant: "highlight-light", ...r || {} }) }, (r == null ? void 0 : r.slug) ?? c)) }),
|
|
7872
7975
|
/* @__PURE__ */ s(F, { justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ s(Ke, { mt: "l", as: "a", ...i, children: n }) })
|
|
7873
7976
|
]
|
|
@@ -7894,9 +7997,9 @@ const dc = ({
|
|
|
7894
7997
|
className: "last-tutorials-block",
|
|
7895
7998
|
children: [
|
|
7896
7999
|
/* @__PURE__ */ M(V, { className: "last-tutorials-block__content", children: [
|
|
7897
|
-
/* @__PURE__ */ s(
|
|
7898
|
-
/* @__PURE__ */ s(
|
|
7899
|
-
/* @__PURE__ */ s(
|
|
8000
|
+
/* @__PURE__ */ s(ye, { size: "m", children: e }),
|
|
8001
|
+
/* @__PURE__ */ s(Ie, { name: "underline", color: "white", width: "56px" }),
|
|
8002
|
+
/* @__PURE__ */ s(ee, { mt: "l", children: t }),
|
|
7900
8003
|
/* @__PURE__ */ s(Ke, { mt: "l", as: "a", variant: "accent", ...r, children: o })
|
|
7901
8004
|
] }),
|
|
7902
8005
|
/* @__PURE__ */ s(F, { gap: "l", className: "last-tutorials-block__post-list", children: i.map((a, l) => /* @__PURE__ */ s(be.Fragment, { children: /* @__PURE__ */ s(D0, { variant: "highlight-dark", tutorialLabel: n, ...a || {} }) }, (a == null ? void 0 : a.slug) ?? l)) })
|
|
@@ -7908,13 +8011,12 @@ const dc = ({
|
|
|
7908
8011
|
lastTutorialsBlock: n,
|
|
7909
8012
|
newsletterCard: i
|
|
7910
8013
|
}) => /* @__PURE__ */ M(Pe, { children: [
|
|
7911
|
-
/* @__PURE__ */ s(ns, { ...e }),
|
|
8014
|
+
/* @__PURE__ */ s(ns, { py: { xs: "0", md: "xl" }, ...e }),
|
|
7912
8015
|
/* @__PURE__ */ s(uc, { ...t }),
|
|
7913
8016
|
n && /* @__PURE__ */ s(dc, { ...n }),
|
|
7914
8017
|
/* @__PURE__ */ s(V, { my: "xl", mx: { xs: "s", md: "auto" }, width: { md: "content-container" }, children: /* @__PURE__ */ s(ut, { variant: "horizontal", ...i }) })
|
|
7915
|
-
] })
|
|
7916
|
-
|
|
7917
|
-
/* @__PURE__ */ s(we, { mb: "xxs", size: "m", color: "primary", children: e }),
|
|
8018
|
+
] }), fc = ({ title: e, authors: t, ...n }) => /* @__PURE__ */ M(V, { ...n, children: [
|
|
8019
|
+
/* @__PURE__ */ s(ye, { mb: "xxs", size: "m", color: "primary", children: e }),
|
|
7918
8020
|
/* @__PURE__ */ s(F, { mt: "l", flexDirection: "column", gap: "s", children: t.map((i, o) => /* @__PURE__ */ s(is, { ...i }, o)) })
|
|
7919
8021
|
] });
|
|
7920
8022
|
const q0 = (e) => {
|
|
@@ -7928,7 +8030,7 @@ const q0 = (e) => {
|
|
|
7928
8030
|
target: "_blank",
|
|
7929
8031
|
rel: "noreferrer",
|
|
7930
8032
|
children: /* @__PURE__ */ s(
|
|
7931
|
-
|
|
8033
|
+
Ie,
|
|
7932
8034
|
{
|
|
7933
8035
|
name: "twitter",
|
|
7934
8036
|
className: "share-links__social-media-icon share-links__social-media-icon--twitter",
|
|
@@ -7943,7 +8045,7 @@ const q0 = (e) => {
|
|
|
7943
8045
|
href: `https://www.facebook.com/sharer/sharer.php${q0({ u: e })}`,
|
|
7944
8046
|
target: "_blank",
|
|
7945
8047
|
rel: "noreferrer",
|
|
7946
|
-
children: /* @__PURE__ */ s(
|
|
8048
|
+
children: /* @__PURE__ */ s(Ie, { name: "facebook", className: "share-links__social-media-icon", size: "36" })
|
|
7947
8049
|
}
|
|
7948
8050
|
),
|
|
7949
8051
|
t.linkedIn && /* @__PURE__ */ s(
|
|
@@ -7952,17 +8054,18 @@ const q0 = (e) => {
|
|
|
7952
8054
|
href: `https://linkedin.com/shareArticle${q0({ url: e, mini: "true" })}`,
|
|
7953
8055
|
target: "_blank",
|
|
7954
8056
|
rel: "noreferrer",
|
|
7955
|
-
children: /* @__PURE__ */ s(
|
|
8057
|
+
children: /* @__PURE__ */ s(Ie, { name: "linkedin", className: "share-links__social-media-icon", size: "36" })
|
|
7956
8058
|
}
|
|
7957
8059
|
)
|
|
7958
8060
|
] }), gc = ({ title: e, date: t, readingTime: n, authors: i, shareLinks: o, ...r }) => /* @__PURE__ */ M(V, { ...r, textSize: "xs", children: [
|
|
7959
|
-
/* @__PURE__ */ s(
|
|
8061
|
+
/* @__PURE__ */ s(ye, { as: "h1", size: "xl", color: "primary", children: e }),
|
|
7960
8062
|
/* @__PURE__ */ M(F, { flexDirection: { xs: "column", md: "row" }, justifyContent: "between", gap: "xs", mt: "m", children: [
|
|
7961
8063
|
/* @__PURE__ */ s(lt, { variant: "secondary", date: t, readingTime: n, authors: i }),
|
|
7962
8064
|
/* @__PURE__ */ s(pc, { ...o })
|
|
7963
8065
|
] })
|
|
7964
|
-
] })
|
|
7965
|
-
|
|
8066
|
+
] });
|
|
8067
|
+
const mc = ({ relatedPostListTitle: e, posts: t, ...n }) => /* @__PURE__ */ M(V, { ...n, children: [
|
|
8068
|
+
/* @__PURE__ */ s(ye, { mb: "m", size: "m", color: "primary", children: e }),
|
|
7966
8069
|
t.map((i, o) => /* @__PURE__ */ s(D0, { ...i, mt: "s" }, (i == null ? void 0 : i.slug) ?? o))
|
|
7967
8070
|
] }), Bc = ["article", "tutorial"], hc = ({
|
|
7968
8071
|
variant: e = "article",
|
|
@@ -7977,9 +8080,9 @@ const q0 = (e) => {
|
|
|
7977
8080
|
previousLink: { label: d, ...u } = {},
|
|
7978
8081
|
nextLink: { label: f, ...E } = {}
|
|
7979
8082
|
}) => /* @__PURE__ */ M(Pe, { children: [
|
|
7980
|
-
/* @__PURE__ */ M(V, { children: [
|
|
8083
|
+
/* @__PURE__ */ M(V, { className: "post-page-content", children: [
|
|
7981
8084
|
/* @__PURE__ */ s(Yn, { ...t }),
|
|
7982
|
-
/* @__PURE__ */ s("img", { className: "post-
|
|
8085
|
+
/* @__PURE__ */ s("img", { className: "post-page-content__cover", ...n, alt: n.alt }),
|
|
7983
8086
|
/* @__PURE__ */ s(gc, { mt: "m", ...o }),
|
|
7984
8087
|
/* @__PURE__ */ s(h0, { mt: "m" }),
|
|
7985
8088
|
/* @__PURE__ */ s(tr, { mt: "l", hiddenAbove: "md", variant: e === "tutorial" ? "secondary" : "primary", ...i }),
|
|
@@ -8018,7 +8121,7 @@ const Hc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ s(
|
|
|
8018
8121
|
children: [
|
|
8019
8122
|
e.avatarImageUrl ? /* @__PURE__ */ s("img", { src: e.avatarImageUrl, alt: e.name, className: "author-page__avatar-img" }) : /* @__PURE__ */ s("div", { className: "author-page__avatar-img author-page__avatar-img--empty" }),
|
|
8020
8123
|
/* @__PURE__ */ M(V, { mt: "s", ml: "s", children: [
|
|
8021
|
-
/* @__PURE__ */ s(
|
|
8124
|
+
/* @__PURE__ */ s(ee, { size: "m", fontWeight: "medium", color: "info", children: e.name }),
|
|
8022
8125
|
/* @__PURE__ */ s(V, { children: e.content }),
|
|
8023
8126
|
e.socialNetworks && /* @__PURE__ */ s(
|
|
8024
8127
|
F,
|
|
@@ -8031,12 +8134,12 @@ const Hc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ s(
|
|
|
8031
8134
|
children: e.socialNetworks.map((i, o) => {
|
|
8032
8135
|
var r;
|
|
8033
8136
|
return /* @__PURE__ */ M(be.Fragment, { children: [
|
|
8034
|
-
/* @__PURE__ */ M(
|
|
8035
|
-
/* @__PURE__ */ s(
|
|
8137
|
+
/* @__PURE__ */ M(ee, { children: [
|
|
8138
|
+
/* @__PURE__ */ s(Ie, { name: i.name, size: "24px" }),
|
|
8036
8139
|
" ",
|
|
8037
8140
|
/* @__PURE__ */ s(e0, { href: i.url, target: "_blank", children: i.username })
|
|
8038
8141
|
] }),
|
|
8039
|
-
o !== (((r = e.socialNetworks) == null ? void 0 : r.length) ?? 0) - 1 && /* @__PURE__ */ s(
|
|
8142
|
+
o !== (((r = e.socialNetworks) == null ? void 0 : r.length) ?? 0) - 1 && /* @__PURE__ */ s(ee, { as: "span", mx: "xxs", children: "•" })
|
|
8040
8143
|
] }, i.name);
|
|
8041
8144
|
})
|
|
8042
8145
|
}
|
|
@@ -8046,7 +8149,7 @@ const Hc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ s(
|
|
|
8046
8149
|
}
|
|
8047
8150
|
),
|
|
8048
8151
|
/* @__PURE__ */ s(h0, { className: "author-page__divider" }),
|
|
8049
|
-
/* @__PURE__ */ s(
|
|
8152
|
+
/* @__PURE__ */ s(ee, { size: "m", fontWeight: "medium", children: t }),
|
|
8050
8153
|
n
|
|
8051
8154
|
] }), zc = ({ title: e, description: t }) => /* @__PURE__ */ s(F, { justifyContent: "center", alignItems: "center", flex: "1", children: /* @__PURE__ */ s(er, { m: "xxl", title: e, description: t }) }), bc = ({
|
|
8052
8155
|
title: e,
|
|
@@ -8055,8 +8158,8 @@ const Hc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ s(
|
|
|
8055
8158
|
searchNotFound: i,
|
|
8056
8159
|
isLoading: o = !1
|
|
8057
8160
|
}) => !o && i ? /* @__PURE__ */ s(er, { ...i }) : /* @__PURE__ */ M(V, { children: [
|
|
8058
|
-
/* @__PURE__ */ s(We, { isLoading: o, children: /* @__PURE__ */ s(
|
|
8059
|
-
/* @__PURE__ */ s(We, { isLoading: o, children: /* @__PURE__ */ s(
|
|
8161
|
+
/* @__PURE__ */ s(We, { isLoading: o, children: /* @__PURE__ */ s(ye, { size: "m", fontWeight: "medium", color: "primary", children: e }) }),
|
|
8162
|
+
/* @__PURE__ */ s(We, { isLoading: o, children: /* @__PURE__ */ s(ye, { size: "s", mb: "l", children: t }) }),
|
|
8060
8163
|
n
|
|
8061
8164
|
] }), Uc = ({ sidebar: e, ...t }) => /* @__PURE__ */ s(Pe, { children: /* @__PURE__ */ s(k0, { content: /* @__PURE__ */ s(bc, { ...t }), sidebar: e }) }), yc = typeof window > "u" ? () => {
|
|
8062
8165
|
} : nt.useLayoutEffect, jc = (e) => {
|
|
@@ -8088,10 +8191,10 @@ export {
|
|
|
8088
8191
|
F as Flex,
|
|
8089
8192
|
cc as Footer,
|
|
8090
8193
|
kc as Header,
|
|
8091
|
-
|
|
8194
|
+
ye as Heading,
|
|
8092
8195
|
ns as HomeIntroBlock,
|
|
8093
8196
|
$c as HomePage,
|
|
8094
|
-
|
|
8197
|
+
Ie as Icon,
|
|
8095
8198
|
k0 as LayoutContentWithSidebar,
|
|
8096
8199
|
Pc as LayoutTemplate,
|
|
8097
8200
|
e0 as Link,
|
|
@@ -8114,7 +8217,7 @@ export {
|
|
|
8114
8217
|
Tc as SummaryCardVariant,
|
|
8115
8218
|
di as Svgs,
|
|
8116
8219
|
wc as SyntaxHighlighter,
|
|
8117
|
-
|
|
8220
|
+
ee as Text,
|
|
8118
8221
|
Jn as TextHighlight,
|
|
8119
8222
|
Ic as buttonVariant,
|
|
8120
8223
|
Sc as closeButtonVariant,
|