@elmethis/qwik 0.0.12 → 0.0.14
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/lib/index.qwik.cjs +414 -218
- package/lib/index.qwik.mjs +415 -219
- package/lib/style.css +1132 -0
- package/lib-types/components/navigation/elm-page-top.d.ts +7 -0
- package/lib-types/components/navigation/elm-page-top.stories.d.ts +6 -0
- package/lib-types/index.d.ts +1 -0
- package/package.json +4 -1
package/lib/index.qwik.cjs
CHANGED
|
@@ -5,7 +5,17 @@ const qwik = require("@builder.io/qwik");
|
|
|
5
5
|
const js = require("@mdi/js");
|
|
6
6
|
const katex = require("katex");
|
|
7
7
|
const lodashEs = require("lodash-es");
|
|
8
|
-
const
|
|
8
|
+
const caption$1 = "_caption_1j0ec_27";
|
|
9
|
+
const divider = "_divider_1j0ec_50";
|
|
10
|
+
const code$2 = "_code_1j0ec_1";
|
|
11
|
+
const styles$r = {
|
|
12
|
+
"code-block": "_code-block_1j0ec_1",
|
|
13
|
+
"language-icon": "_language-icon_1j0ec_22",
|
|
14
|
+
caption: caption$1,
|
|
15
|
+
"copy-icon": "_copy-icon_1j0ec_34",
|
|
16
|
+
divider,
|
|
17
|
+
code: code$2
|
|
18
|
+
};
|
|
9
19
|
const Rust = qwik.component$(({ size = 24, ...props }) => {
|
|
10
20
|
return /* @__PURE__ */ jsxRuntime.jsx("svg", {
|
|
11
21
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -57,9 +67,11 @@ const Typescript = qwik.component$(({ size = 24, ...props }) => {
|
|
|
57
67
|
]
|
|
58
68
|
});
|
|
59
69
|
});
|
|
60
|
-
const
|
|
70
|
+
const path = "_path_1ccs2_1";
|
|
71
|
+
const styles$q = {
|
|
72
|
+
path
|
|
73
|
+
};
|
|
61
74
|
const Bash = qwik.component$(({ size = 24, ...props }) => {
|
|
62
|
-
qwik.useStylesScoped$(styles$o);
|
|
63
75
|
return /* @__PURE__ */ jsxRuntime.jsxs("svg", {
|
|
64
76
|
xmlns: "http://www.w3.org/2000/svg",
|
|
65
77
|
viewBox: "0 0 128 128",
|
|
@@ -72,7 +84,7 @@ const Bash = qwik.component$(({ size = 24, ...props }) => {
|
|
|
72
84
|
d: "M4.24 4.24h119.53v119.53H4.24z"
|
|
73
85
|
}),
|
|
74
86
|
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
75
|
-
class:
|
|
87
|
+
class: styles$q.path,
|
|
76
88
|
d: "M109.01 28.64L71.28 6.24c-2.25-1.33-4.77-2-7.28-2s-5.03.67-7.28 2.01l-37.74 22.4c-4.5 2.67-7.28 7.61-7.28 12.96v44.8c0 5.35 2.77 10.29 7.28 12.96l37.73 22.4c2.25 1.34 4.76 2 7.28 2c2.51 0 5.03-.67 7.28-2l37.74-22.4c4.5-2.67 7.28-7.62 7.28-12.96V41.6c0-5.34-2.77-10.29-7.28-12.96M79.79 98.59l.06 3.22c0 .39-.25.83-.55.99l-1.91 1.1c-.3.15-.56-.03-.56-.42l-.03-3.17c-1.63.68-3.29.84-4.34.42c-.2-.08-.29-.37-.21-.71l.69-2.91c.06-.23.18-.46.34-.6c.06-.06.12-.1.18-.13c.11-.06.22-.07.31-.03c1.14.38 2.59.2 3.99-.5c1.78-.9 2.97-2.72 2.95-4.52c-.02-1.64-.9-2.31-3.05-2.33c-2.74.01-5.3-.53-5.34-4.57c-.03-3.32 1.69-6.78 4.43-8.96l-.03-3.25c0-.4.24-.84.55-1l1.85-1.18c.3-.15.56.04.56.43l.03 3.25c1.36-.54 2.54-.69 3.61-.44c.23.06.34.38.24.75l-.72 2.88c-.06.22-.18.44-.33.58a.8.8 0 0 1-.19.14c-.1.05-.19.06-.28.05c-.49-.11-1.65-.36-3.48.56c-1.92.97-2.59 2.64-2.58 3.88c.02 1.48.77 1.93 3.39 1.97c3.49.06 4.99 1.58 5.03 5.09c.05 3.44-1.79 7.15-4.61 9.41m26.34-60.5l-35.7 22.05c-4.45 2.6-7.73 5.52-7.74 10.89v43.99c0 3.21 1.3 5.29 3.29 5.9c-.65.11-1.32.19-1.98.19c-2.09 0-4.15-.57-5.96-1.64l-37.73-22.4c-3.69-2.19-5.98-6.28-5.98-10.67V41.6c0-4.39 2.29-8.48 5.98-10.67l37.74-22.4c1.81-1.07 3.87-1.64 5.96-1.64s4.15.57 5.96 1.64l37.74 22.4c3.11 1.85 5.21 5.04 5.8 8.63c-1.27-2.67-4.09-3.39-7.38-1.47"
|
|
77
89
|
}),
|
|
78
90
|
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
@@ -512,11 +524,13 @@ const C = qwik.component$(({ size = 24, ...props }) => {
|
|
|
512
524
|
]
|
|
513
525
|
});
|
|
514
526
|
});
|
|
515
|
-
const
|
|
527
|
+
const icon$2 = "_icon_1gvln_1";
|
|
528
|
+
const styles$p = {
|
|
529
|
+
icon: icon$2
|
|
530
|
+
};
|
|
516
531
|
const ElmMdiIcon = qwik.component$(({ d, size = "1em", color, lightColor, darkColor }) => {
|
|
517
|
-
qwik.useStylesScoped$(styles$n);
|
|
518
532
|
return /* @__PURE__ */ jsxRuntime.jsx("svg", {
|
|
519
|
-
class:
|
|
533
|
+
class: styles$p.icon,
|
|
520
534
|
style: {
|
|
521
535
|
"--color": lightColor ?? color,
|
|
522
536
|
"--dark-color": darkColor ?? color
|
|
@@ -621,30 +635,42 @@ const ElmLanguageIcon = qwik.component$(({ size = 24, language }) => {
|
|
|
621
635
|
size
|
|
622
636
|
});
|
|
623
637
|
});
|
|
624
|
-
const
|
|
625
|
-
const
|
|
626
|
-
const
|
|
638
|
+
const text$3 = "_text_1gswr_1";
|
|
639
|
+
const code$1 = "_code_1gswr_12";
|
|
640
|
+
const kbd = "_kbd_1gswr_21";
|
|
641
|
+
const link$1 = "_link_1gswr_47";
|
|
642
|
+
const styles$o = {
|
|
643
|
+
text: text$3,
|
|
644
|
+
code: code$1,
|
|
645
|
+
kbd,
|
|
646
|
+
link: link$1
|
|
647
|
+
};
|
|
648
|
+
const text$2 = "_text_zryur_1";
|
|
649
|
+
const textStyles = {
|
|
650
|
+
text: text$2
|
|
651
|
+
};
|
|
652
|
+
const icon$1 = "_icon_19g82_1";
|
|
653
|
+
const styles$n = {
|
|
654
|
+
icon: icon$1
|
|
655
|
+
};
|
|
627
656
|
const ElmInlineIcon = qwik.component$(({ src, alt }) => {
|
|
628
|
-
qwik.useStylesScoped$(styles$l);
|
|
629
657
|
return /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
630
|
-
class:
|
|
658
|
+
class: styles$n.icon,
|
|
631
659
|
children: /* @__PURE__ */ jsxRuntime.jsx("img", {
|
|
632
660
|
src,
|
|
633
661
|
alt,
|
|
634
|
-
class:
|
|
662
|
+
class: styles$n.icon
|
|
635
663
|
})
|
|
636
664
|
});
|
|
637
665
|
});
|
|
638
666
|
const ElmInlineText = qwik.component$((props) => {
|
|
639
|
-
|
|
640
|
-
qwik.useStylesScoped$(textStyles);
|
|
641
|
-
const { bold = false, italic = false, underline = false, strikethrough = false, code = false, size = "1em" } = props;
|
|
667
|
+
const { bold = false, italic = false, underline = false, strikethrough = false, code: code2 = false, size = "1em" } = props;
|
|
642
668
|
let vnode = props.text ? /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
643
669
|
children: props.text
|
|
644
670
|
}) : /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {});
|
|
645
671
|
if (props.kbd) {
|
|
646
672
|
vnode = /* @__PURE__ */ jsxRuntime.jsx("kbd", {
|
|
647
|
-
class:
|
|
673
|
+
class: styles$o.kbd,
|
|
648
674
|
children: vnode
|
|
649
675
|
});
|
|
650
676
|
}
|
|
@@ -668,15 +694,15 @@ const ElmInlineText = qwik.component$((props) => {
|
|
|
668
694
|
children: vnode
|
|
669
695
|
});
|
|
670
696
|
}
|
|
671
|
-
if (
|
|
697
|
+
if (code2) {
|
|
672
698
|
vnode = /* @__PURE__ */ jsxRuntime.jsx("code", {
|
|
673
|
-
class:
|
|
699
|
+
class: styles$o.code,
|
|
674
700
|
children: vnode
|
|
675
701
|
});
|
|
676
702
|
}
|
|
677
703
|
if (props.ruby) {
|
|
678
704
|
vnode = /* @__PURE__ */ jsxRuntime.jsxs("ruby", {
|
|
679
|
-
class:
|
|
705
|
+
class: styles$o.text,
|
|
680
706
|
children: [
|
|
681
707
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
682
708
|
children: vnode
|
|
@@ -689,8 +715,8 @@ const ElmInlineText = qwik.component$((props) => {
|
|
|
689
715
|
}
|
|
690
716
|
const wrappedVnode = /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
691
717
|
class: [
|
|
692
|
-
|
|
693
|
-
|
|
718
|
+
styles$o.text,
|
|
719
|
+
textStyles.text
|
|
694
720
|
],
|
|
695
721
|
style: {
|
|
696
722
|
"--color": props.color,
|
|
@@ -701,7 +727,7 @@ const ElmInlineText = qwik.component$((props) => {
|
|
|
701
727
|
});
|
|
702
728
|
if (props.href) {
|
|
703
729
|
return /* @__PURE__ */ jsxRuntime.jsxs("a", {
|
|
704
|
-
class:
|
|
730
|
+
class: styles$o.link,
|
|
705
731
|
href: props.href,
|
|
706
732
|
style: {
|
|
707
733
|
"--font-size": size
|
|
@@ -718,17 +744,14 @@ const ElmInlineText = qwik.component$((props) => {
|
|
|
718
744
|
}
|
|
719
745
|
return wrappedVnode;
|
|
720
746
|
});
|
|
721
|
-
const
|
|
722
|
-
const
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
font-size: 1rem;
|
|
727
|
-
line-height: 1.5rem;
|
|
728
|
-
}`);
|
|
747
|
+
const code = "_code_1sw1e_1";
|
|
748
|
+
const styles$m = {
|
|
749
|
+
code
|
|
750
|
+
};
|
|
751
|
+
const ElmShikiHighlighter = qwik.component$(({ code: code2, language = "txt" }) => {
|
|
729
752
|
const rawHtml = qwik.useSignal("");
|
|
730
753
|
qwik.useTask$(async ({ track }) => {
|
|
731
|
-
const currentCode = track(() =>
|
|
754
|
+
const currentCode = track(() => code2);
|
|
732
755
|
const currentLang = track(() => language);
|
|
733
756
|
const { getHighlighterSingleton } = await Promise.resolve().then(() => require("./shikiInstance-BxkUyfqr.cjs"));
|
|
734
757
|
const highlighter = await getHighlighterSingleton();
|
|
@@ -749,12 +772,11 @@ const ElmShikiHighlighter = qwik.component$(({ code, language = "txt" }) => {
|
|
|
749
772
|
}
|
|
750
773
|
});
|
|
751
774
|
return /* @__PURE__ */ jsxRuntime.jsx("pre", {
|
|
752
|
-
class:
|
|
775
|
+
class: styles$m.code,
|
|
753
776
|
dangerouslySetInnerHTML: rawHtml.value
|
|
754
777
|
});
|
|
755
778
|
});
|
|
756
|
-
const ElmCodeBlock = qwik.component$(({ code, language = "txt", caption, margin }) => {
|
|
757
|
-
qwik.useStylesScoped$(styles$p);
|
|
779
|
+
const ElmCodeBlock = qwik.component$(({ code: code2, language = "txt", caption: caption2, margin }) => {
|
|
758
780
|
const timerId = qwik.useSignal(null);
|
|
759
781
|
const copyToClipboard = qwik.$(async () => {
|
|
760
782
|
if (timerId.value !== null) {
|
|
@@ -762,35 +784,35 @@ const ElmCodeBlock = qwik.component$(({ code, language = "txt", caption, margin
|
|
|
762
784
|
timerId.value = null;
|
|
763
785
|
}
|
|
764
786
|
try {
|
|
765
|
-
await navigator.clipboard.writeText(
|
|
787
|
+
await navigator.clipboard.writeText(code2);
|
|
766
788
|
timerId.value = window.setTimeout(() => timerId.value = null, 1500);
|
|
767
789
|
} catch (err) {
|
|
768
790
|
console.error("Failed to copy: ", err);
|
|
769
791
|
}
|
|
770
792
|
});
|
|
771
793
|
return /* @__PURE__ */ jsxRuntime.jsxs("figure", {
|
|
772
|
-
class: "code-block",
|
|
794
|
+
class: styles$r["code-block"],
|
|
773
795
|
style: {
|
|
774
796
|
margin
|
|
775
797
|
},
|
|
776
798
|
children: [
|
|
777
799
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
778
|
-
class: "language-icon",
|
|
800
|
+
class: styles$r["language-icon"],
|
|
779
801
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmLanguageIcon, {
|
|
780
802
|
language
|
|
781
803
|
})
|
|
782
804
|
}),
|
|
783
805
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
784
|
-
class:
|
|
806
|
+
class: styles$r.caption,
|
|
785
807
|
children: /* @__PURE__ */ jsxRuntime.jsxs(ElmInlineText, {
|
|
786
808
|
children: [
|
|
787
|
-
|
|
809
|
+
caption2 || language,
|
|
788
810
|
/* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
789
811
|
]
|
|
790
812
|
})
|
|
791
813
|
}),
|
|
792
814
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
793
|
-
class: "copy-icon",
|
|
815
|
+
class: styles$r["copy-icon"],
|
|
794
816
|
onClick$: copyToClipboard,
|
|
795
817
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
796
818
|
size: "1.25rem",
|
|
@@ -799,12 +821,12 @@ const ElmCodeBlock = qwik.component$(({ code, language = "txt", caption, margin
|
|
|
799
821
|
})
|
|
800
822
|
}),
|
|
801
823
|
/* @__PURE__ */ jsxRuntime.jsx("hr", {
|
|
802
|
-
class:
|
|
824
|
+
class: styles$r.divider
|
|
803
825
|
}),
|
|
804
826
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
805
|
-
class:
|
|
827
|
+
class: styles$r.code,
|
|
806
828
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmShikiHighlighter, {
|
|
807
|
-
code,
|
|
829
|
+
code: code2,
|
|
808
830
|
language
|
|
809
831
|
})
|
|
810
832
|
})
|
|
@@ -812,32 +834,34 @@ const ElmCodeBlock = qwik.component$(({ code, language = "txt", caption, margin
|
|
|
812
834
|
});
|
|
813
835
|
});
|
|
814
836
|
const ElmKatex = qwik.component$(({ expression, block = false }) => {
|
|
815
|
-
qwik.useStylesScoped$(textStyles);
|
|
816
837
|
const html = qwik.useComputed$(() => katex.renderToString(expression, {
|
|
817
838
|
displayMode: block,
|
|
818
839
|
output: "mathml"
|
|
819
840
|
}));
|
|
820
841
|
return /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
821
|
-
class:
|
|
822
|
-
dangerouslySetInnerHTML: html.value
|
|
842
|
+
class: textStyles.text,
|
|
843
|
+
dangerouslySetInnerHTML: html.value ?? ""
|
|
823
844
|
});
|
|
824
845
|
});
|
|
825
|
-
const
|
|
846
|
+
const parallax = "_parallax_1kb0k_1";
|
|
847
|
+
const styles$l = {
|
|
848
|
+
"parallax-watcher": "_parallax-watcher_1kb0k_1",
|
|
849
|
+
parallax
|
|
850
|
+
};
|
|
826
851
|
const ElmParallax = qwik.component$(({ images }) => {
|
|
827
|
-
qwik.useStylesScoped$(styles$j);
|
|
828
852
|
const y = qwik.useSignal(0);
|
|
829
853
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
830
854
|
children: [
|
|
831
855
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
832
|
-
class: "parallax-watcher",
|
|
856
|
+
class: styles$l["parallax-watcher"],
|
|
833
857
|
"window:onScroll$": () => {
|
|
834
858
|
y.value = window.scrollY;
|
|
835
859
|
}
|
|
836
860
|
}),
|
|
837
|
-
images.map((
|
|
838
|
-
class:
|
|
861
|
+
images.map((image2, index) => /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
862
|
+
class: styles$l.parallax,
|
|
839
863
|
style: {
|
|
840
|
-
backgroundImage: `url(${
|
|
864
|
+
backgroundImage: `url(${image2})`,
|
|
841
865
|
transform: `scale(1.2) translateY(${y.value / (1e3 * (index + 1))}%)`,
|
|
842
866
|
transformOrigin: "bottom"
|
|
843
867
|
}
|
|
@@ -845,38 +869,61 @@ const ElmParallax = qwik.component$(({ images }) => {
|
|
|
845
869
|
]
|
|
846
870
|
});
|
|
847
871
|
});
|
|
848
|
-
const
|
|
849
|
-
const
|
|
850
|
-
|
|
872
|
+
const toggle = "_toggle_1nxqa_1";
|
|
873
|
+
const summary = "_summary_1nxqa_14";
|
|
874
|
+
const content$2 = "_content_1nxqa_60";
|
|
875
|
+
const footer = "_footer_1nxqa_80";
|
|
876
|
+
const styles$k = {
|
|
877
|
+
toggle,
|
|
878
|
+
"toggle-closed": "_toggle-closed_1nxqa_7",
|
|
879
|
+
"toggle-open": "_toggle-open_1nxqa_10",
|
|
880
|
+
summary,
|
|
881
|
+
"summary-open": "_summary-open_1nxqa_29",
|
|
882
|
+
"summary-closed": "_summary-closed_1nxqa_33",
|
|
883
|
+
"chevron-icon": "_chevron-icon_1nxqa_37",
|
|
884
|
+
"chevron-icon-open": "_chevron-icon-open_1nxqa_40",
|
|
885
|
+
"chevron-icon-closed": "_chevron-icon-closed_1nxqa_43",
|
|
886
|
+
"plus-icon": "_plus-icon_1nxqa_47",
|
|
887
|
+
"plus-icon-open": "_plus-icon-open_1nxqa_53",
|
|
888
|
+
"plus-icon-closed": "_plus-icon-closed_1nxqa_56",
|
|
889
|
+
content: content$2,
|
|
890
|
+
"content-open": "_content-open_1nxqa_73",
|
|
891
|
+
"content-closed": "_content-closed_1nxqa_76",
|
|
892
|
+
footer,
|
|
893
|
+
"footer-line": "_footer-line_1nxqa_99",
|
|
894
|
+
"footer-cross-icon": "_footer-cross-icon_1nxqa_106",
|
|
895
|
+
"footer-chevron-icon": "_footer-chevron-icon_1nxqa_109"
|
|
896
|
+
};
|
|
897
|
+
const ElmToggle = qwik.component$(({ summary: summary2 }) => {
|
|
851
898
|
const isOpen = qwik.useSignal(false);
|
|
852
|
-
const
|
|
899
|
+
const toggle2 = qwik.$(() => {
|
|
853
900
|
isOpen.value = !isOpen.value;
|
|
854
901
|
});
|
|
855
902
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
856
903
|
class: [
|
|
857
|
-
|
|
904
|
+
styles$k.toggle,
|
|
858
905
|
{
|
|
859
|
-
"toggle-open": isOpen.value,
|
|
860
|
-
"toggle-closed": !isOpen.value
|
|
906
|
+
[styles$k["toggle-open"]]: isOpen.value,
|
|
907
|
+
[styles$k["toggle-closed"]]: !isOpen.value
|
|
861
908
|
}
|
|
862
909
|
],
|
|
863
910
|
children: [
|
|
864
911
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
865
912
|
class: [
|
|
866
|
-
|
|
913
|
+
styles$k.summary,
|
|
867
914
|
{
|
|
868
|
-
"summary-open": isOpen.value,
|
|
869
|
-
"summary-closed": !isOpen.value
|
|
915
|
+
[styles$k["summary-open"]]: isOpen.value,
|
|
916
|
+
[styles$k["summary-closed"]]: !isOpen.value
|
|
870
917
|
}
|
|
871
918
|
],
|
|
872
|
-
onClick$:
|
|
919
|
+
onClick$: toggle2,
|
|
873
920
|
children: [
|
|
874
921
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
875
922
|
class: [
|
|
876
|
-
"chevron-icon",
|
|
923
|
+
styles$k["chevron-icon"],
|
|
877
924
|
{
|
|
878
|
-
"chevron-icon-open": isOpen.value,
|
|
879
|
-
"chevron-icon-closed": !isOpen.value
|
|
925
|
+
[styles$k["chevron-icon-open"]]: isOpen.value,
|
|
926
|
+
[styles$k["chevron-icon-closed"]]: !isOpen.value
|
|
880
927
|
}
|
|
881
928
|
],
|
|
882
929
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
@@ -884,17 +931,17 @@ const ElmToggle = qwik.component$(({ summary }) => {
|
|
|
884
931
|
})
|
|
885
932
|
}),
|
|
886
933
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
887
|
-
class: "summary-text",
|
|
888
|
-
children:
|
|
934
|
+
class: styles$k["summary-text"],
|
|
935
|
+
children: summary2 ? summary2 : /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {
|
|
889
936
|
name: "summary"
|
|
890
937
|
})
|
|
891
938
|
}),
|
|
892
939
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
893
940
|
class: [
|
|
894
|
-
"plus-icon",
|
|
941
|
+
styles$k["plus-icon"],
|
|
895
942
|
{
|
|
896
|
-
"plus-icon-open": isOpen.value,
|
|
897
|
-
"plus-icon-closed": !isOpen.value
|
|
943
|
+
[styles$k["plus-icon-open"]]: isOpen.value,
|
|
944
|
+
[styles$k["plus-icon-closed"]]: !isOpen.value
|
|
898
945
|
}
|
|
899
946
|
],
|
|
900
947
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
@@ -907,30 +954,30 @@ const ElmToggle = qwik.component$(({ summary }) => {
|
|
|
907
954
|
}),
|
|
908
955
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
909
956
|
class: [
|
|
910
|
-
|
|
957
|
+
styles$k.content,
|
|
911
958
|
{
|
|
912
|
-
"content-open": isOpen.value,
|
|
913
|
-
"content-closed": !isOpen.value
|
|
959
|
+
[styles$k["content-open"]]: isOpen.value,
|
|
960
|
+
[styles$k["content-closed"]]: !isOpen.value
|
|
914
961
|
}
|
|
915
962
|
],
|
|
916
963
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
917
964
|
}),
|
|
918
965
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
919
|
-
class:
|
|
920
|
-
onClick$:
|
|
966
|
+
class: styles$k.footer,
|
|
967
|
+
onClick$: toggle2,
|
|
921
968
|
children: [
|
|
922
969
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
923
|
-
class: "footer-chevron-icon",
|
|
970
|
+
class: styles$k["footer-chevron-icon"],
|
|
924
971
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
925
972
|
d: js.mdiChevronRight,
|
|
926
973
|
color: "gray"
|
|
927
974
|
})
|
|
928
975
|
}),
|
|
929
976
|
/* @__PURE__ */ jsxRuntime.jsx("hr", {
|
|
930
|
-
class: "footer-line"
|
|
977
|
+
class: styles$k["footer-line"]
|
|
931
978
|
}),
|
|
932
979
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
933
|
-
class: "footer-cross-icon",
|
|
980
|
+
class: styles$k["footer-cross-icon"],
|
|
934
981
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
935
982
|
d: js.mdiPlus,
|
|
936
983
|
color: "#c56565"
|
|
@@ -940,17 +987,17 @@ const ElmToggle = qwik.component$(({ summary }) => {
|
|
|
940
987
|
children: "CLOSE"
|
|
941
988
|
}),
|
|
942
989
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
943
|
-
class: "footer-cross-icon",
|
|
990
|
+
class: styles$k["footer-cross-icon"],
|
|
944
991
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
945
992
|
d: js.mdiPlus,
|
|
946
993
|
color: "#c56565"
|
|
947
994
|
})
|
|
948
995
|
}),
|
|
949
996
|
/* @__PURE__ */ jsxRuntime.jsx("hr", {
|
|
950
|
-
class: "footer-line"
|
|
997
|
+
class: styles$k["footer-line"]
|
|
951
998
|
}),
|
|
952
999
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
953
|
-
class: "footer-chevron-icon",
|
|
1000
|
+
class: styles$k["footer-chevron-icon"],
|
|
954
1001
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
955
1002
|
d: js.mdiChevronRight,
|
|
956
1003
|
color: "gray"
|
|
@@ -961,44 +1008,50 @@ const ElmToggle = qwik.component$(({ summary }) => {
|
|
|
961
1008
|
]
|
|
962
1009
|
});
|
|
963
1010
|
});
|
|
964
|
-
const styles$
|
|
965
|
-
|
|
1011
|
+
const styles$j = {
|
|
1012
|
+
"block-fallback": "_block-fallback_rt986_1"
|
|
1013
|
+
};
|
|
1014
|
+
const wrapper$1 = "_wrapper_1yktj_12";
|
|
1015
|
+
const dot = "_dot_1yktj_22";
|
|
1016
|
+
const styles$i = {
|
|
1017
|
+
wrapper: wrapper$1,
|
|
1018
|
+
dot
|
|
1019
|
+
};
|
|
966
1020
|
const ElmDotLoadingIcon = qwik.component$(({ size = "4em", color = "#606875" }) => {
|
|
967
|
-
qwik.useStylesScoped$(styles$g);
|
|
968
1021
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
969
|
-
class:
|
|
1022
|
+
class: styles$i.wrapper,
|
|
970
1023
|
style: {
|
|
971
1024
|
"--size": size,
|
|
972
1025
|
"--color": color
|
|
973
1026
|
},
|
|
974
1027
|
children: [
|
|
975
1028
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
976
|
-
class:
|
|
1029
|
+
class: styles$i.dot,
|
|
977
1030
|
"aria-hidden": "true"
|
|
978
1031
|
}),
|
|
979
1032
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
980
|
-
class:
|
|
1033
|
+
class: styles$i.dot,
|
|
981
1034
|
"aria-hidden": "true"
|
|
982
1035
|
}),
|
|
983
1036
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
984
|
-
class:
|
|
1037
|
+
class: styles$i.dot,
|
|
985
1038
|
"aria-hidden": "true"
|
|
986
1039
|
})
|
|
987
1040
|
]
|
|
988
1041
|
});
|
|
989
1042
|
});
|
|
990
|
-
const styles$
|
|
1043
|
+
const styles$h = {
|
|
1044
|
+
"rectangle-wave": "_rectangle-wave_hej9g_17"
|
|
1045
|
+
};
|
|
991
1046
|
const ElmRectangleWave = qwik.component$(() => {
|
|
992
|
-
qwik.useStylesScoped$(styles$f);
|
|
993
1047
|
return /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
994
1048
|
"aria-hidden": "true",
|
|
995
|
-
class: "rectangle-wave"
|
|
1049
|
+
class: styles$h["rectangle-wave"]
|
|
996
1050
|
});
|
|
997
1051
|
});
|
|
998
1052
|
const ElmBlockFallback = qwik.component$(({ height = "16rem" }) => {
|
|
999
|
-
qwik.useStylesScoped$(styles$h);
|
|
1000
1053
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1001
|
-
class: "block-fallback",
|
|
1054
|
+
class: styles$j["block-fallback"],
|
|
1002
1055
|
style: {
|
|
1003
1056
|
"--height": height
|
|
1004
1057
|
},
|
|
@@ -1008,9 +1061,17 @@ const ElmBlockFallback = qwik.component$(({ height = "16rem" }) => {
|
|
|
1008
1061
|
]
|
|
1009
1062
|
});
|
|
1010
1063
|
});
|
|
1011
|
-
const
|
|
1012
|
-
const
|
|
1013
|
-
|
|
1064
|
+
const image$1 = "_image_zq5gl_11";
|
|
1065
|
+
const fallback = "_fallback_zq5gl_31";
|
|
1066
|
+
const styles$g = {
|
|
1067
|
+
"block-image": "_block-image_zq5gl_1",
|
|
1068
|
+
"image-container": "_image-container_zq5gl_11",
|
|
1069
|
+
image: image$1,
|
|
1070
|
+
fallback,
|
|
1071
|
+
"caption-box": "_caption-box_zq5gl_41",
|
|
1072
|
+
"modal-container": "_modal-container_zq5gl_53"
|
|
1073
|
+
};
|
|
1074
|
+
const ElmBlockImage = qwik.component$(({ src, alt, caption: caption2, width, height, enableModal = true }) => {
|
|
1014
1075
|
const isLoading = qwik.useSignal(true);
|
|
1015
1076
|
const isShowModal = qwik.useSignal(false);
|
|
1016
1077
|
const handleImageLoad = qwik.$(() => {
|
|
@@ -1022,11 +1083,9 @@ const ElmBlockImage = qwik.component$(({ src, alt, caption, width, height, enabl
|
|
|
1022
1083
|
}
|
|
1023
1084
|
});
|
|
1024
1085
|
const ImageComponent = /* @__PURE__ */ jsxRuntime.jsx("img", {
|
|
1025
|
-
class:
|
|
1026
|
-
"image"
|
|
1027
|
-
],
|
|
1086
|
+
class: styles$g.image,
|
|
1028
1087
|
src,
|
|
1029
|
-
alt: alt ??
|
|
1088
|
+
alt: alt ?? caption2 ?? "Image",
|
|
1030
1089
|
width,
|
|
1031
1090
|
height,
|
|
1032
1091
|
onLoad$: handleImageLoad,
|
|
@@ -1036,7 +1095,7 @@ const ElmBlockImage = qwik.component$(({ src, alt, caption, width, height, enabl
|
|
|
1036
1095
|
}
|
|
1037
1096
|
});
|
|
1038
1097
|
const Modal = /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1039
|
-
class: "modal-container",
|
|
1098
|
+
class: styles$g["modal-container"],
|
|
1040
1099
|
style: {
|
|
1041
1100
|
pointerEvents: isShowModal.value ? "auto" : "none",
|
|
1042
1101
|
"--opacity": isShowModal.value ? 1 : 0
|
|
@@ -1045,10 +1104,10 @@ const ElmBlockImage = qwik.component$(({ src, alt, caption, width, height, enabl
|
|
|
1045
1104
|
children: ImageComponent
|
|
1046
1105
|
});
|
|
1047
1106
|
return /* @__PURE__ */ jsxRuntime.jsxs("figure", {
|
|
1048
|
-
class: "block-image",
|
|
1107
|
+
class: styles$g["block-image"],
|
|
1049
1108
|
children: [
|
|
1050
1109
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1051
|
-
class: "image-container",
|
|
1110
|
+
class: styles$g["image-container"],
|
|
1052
1111
|
style: {
|
|
1053
1112
|
"--opacity": isLoading.value ? 1 : 0
|
|
1054
1113
|
},
|
|
@@ -1056,13 +1115,13 @@ const ElmBlockImage = qwik.component$(({ src, alt, caption, width, height, enabl
|
|
|
1056
1115
|
children: [
|
|
1057
1116
|
ImageComponent,
|
|
1058
1117
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1059
|
-
class:
|
|
1118
|
+
class: styles$g.fallback,
|
|
1060
1119
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmRectangleWave, {})
|
|
1061
1120
|
})
|
|
1062
1121
|
]
|
|
1063
1122
|
}),
|
|
1064
|
-
|
|
1065
|
-
class: "caption-box",
|
|
1123
|
+
caption2 && /* @__PURE__ */ jsxRuntime.jsxs("figcaption", {
|
|
1124
|
+
class: styles$g["caption-box"],
|
|
1066
1125
|
style: {
|
|
1067
1126
|
"--opacity": isLoading.value ? 0 : 1
|
|
1068
1127
|
},
|
|
@@ -1079,7 +1138,7 @@ const ElmBlockImage = qwik.component$(({ src, alt, caption, width, height, enabl
|
|
|
1079
1138
|
}),
|
|
1080
1139
|
/* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
1081
1140
|
size: "1rem",
|
|
1082
|
-
children:
|
|
1141
|
+
children: caption2
|
|
1083
1142
|
})
|
|
1084
1143
|
]
|
|
1085
1144
|
}),
|
|
@@ -1087,32 +1146,36 @@ const ElmBlockImage = qwik.component$(({ src, alt, caption, width, height, enabl
|
|
|
1087
1146
|
]
|
|
1088
1147
|
});
|
|
1089
1148
|
});
|
|
1090
|
-
const
|
|
1149
|
+
const file = "_file_14a0w_1";
|
|
1150
|
+
const styles$f = {
|
|
1151
|
+
file,
|
|
1152
|
+
"file-size": "_file-size_14a0w_16",
|
|
1153
|
+
"download-icon": "_download-icon_14a0w_21"
|
|
1154
|
+
};
|
|
1091
1155
|
function getLastPathSegmentWithoutQueryOrHash(urlString) {
|
|
1092
1156
|
const cleanedUrl = urlString.split(/[?#]/)[0];
|
|
1093
1157
|
const pathSegments = cleanedUrl.split("/").filter(Boolean);
|
|
1094
1158
|
return pathSegments.length > 0 ? pathSegments[pathSegments.length - 1] : null;
|
|
1095
1159
|
}
|
|
1096
1160
|
const ElmFile = qwik.component$(({ name, src, filesize }) => {
|
|
1097
|
-
qwik.useStylesScoped$(styles$d);
|
|
1098
1161
|
const downloadFile = qwik.$(async () => {
|
|
1099
|
-
let
|
|
1162
|
+
let link2;
|
|
1100
1163
|
try {
|
|
1101
1164
|
const response = await fetch(src);
|
|
1102
1165
|
if (!response.ok) throw new Error("Failed to download file");
|
|
1103
1166
|
const blob = await response.blob();
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1167
|
+
link2 = document.createElement("a");
|
|
1168
|
+
link2.href = URL.createObjectURL(blob);
|
|
1169
|
+
link2.download = name ?? getLastPathSegmentWithoutQueryOrHash(src) ?? "file";
|
|
1170
|
+
link2.click();
|
|
1108
1171
|
} catch (error) {
|
|
1109
1172
|
console.error("ERROR:", error);
|
|
1110
1173
|
} finally {
|
|
1111
|
-
if (
|
|
1174
|
+
if (link2) URL.revokeObjectURL(link2.href);
|
|
1112
1175
|
}
|
|
1113
1176
|
});
|
|
1114
1177
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1115
|
-
class:
|
|
1178
|
+
class: styles$f.file,
|
|
1116
1179
|
children: [
|
|
1117
1180
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1118
1181
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
@@ -1126,13 +1189,13 @@ const ElmFile = qwik.component$(({ name, src, filesize }) => {
|
|
|
1126
1189
|
})
|
|
1127
1190
|
}),
|
|
1128
1191
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1129
|
-
class: "file-size",
|
|
1192
|
+
class: styles$f["file-size"],
|
|
1130
1193
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
1131
1194
|
children: filesize
|
|
1132
1195
|
})
|
|
1133
1196
|
}),
|
|
1134
1197
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1135
|
-
class: "download-icon",
|
|
1198
|
+
class: styles$f["download-icon"],
|
|
1136
1199
|
onClick$: downloadFile,
|
|
1137
1200
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
1138
1201
|
d: js.mdiDownload,
|
|
@@ -1142,41 +1205,55 @@ const ElmFile = qwik.component$(({ name, src, filesize }) => {
|
|
|
1142
1205
|
]
|
|
1143
1206
|
});
|
|
1144
1207
|
});
|
|
1145
|
-
const
|
|
1146
|
-
const
|
|
1147
|
-
|
|
1208
|
+
const bookmark = "_bookmark_rgq1s_1";
|
|
1209
|
+
const container$1 = "_container_rgq1s_19";
|
|
1210
|
+
const image = "_image_rgq1s_32";
|
|
1211
|
+
const content$1 = "_content_rgq1s_53";
|
|
1212
|
+
const title = "_title_rgq1s_73";
|
|
1213
|
+
const description = "_description_rgq1s_76";
|
|
1214
|
+
const link = "_link_rgq1s_80";
|
|
1215
|
+
const styles$e = {
|
|
1216
|
+
bookmark,
|
|
1217
|
+
container: container$1,
|
|
1218
|
+
image,
|
|
1219
|
+
content: content$1,
|
|
1220
|
+
title,
|
|
1221
|
+
description,
|
|
1222
|
+
link
|
|
1223
|
+
};
|
|
1224
|
+
const ElmBookmark = qwik.component$(({ url, image: image2, title: title2, description: description2, favicon }) => {
|
|
1148
1225
|
return /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1149
|
-
class:
|
|
1226
|
+
class: styles$e.bookmark,
|
|
1150
1227
|
children: /* @__PURE__ */ jsxRuntime.jsxs("a", {
|
|
1151
|
-
class:
|
|
1228
|
+
class: styles$e.container,
|
|
1152
1229
|
href: url,
|
|
1153
1230
|
target: "_blank",
|
|
1154
1231
|
rel: "noopener noreferrer",
|
|
1155
1232
|
children: [
|
|
1156
1233
|
/* @__PURE__ */ jsxRuntime.jsx("img", {
|
|
1157
|
-
class:
|
|
1158
|
-
src:
|
|
1234
|
+
class: styles$e.image,
|
|
1235
|
+
src: image2,
|
|
1159
1236
|
alt: "OGP Image"
|
|
1160
1237
|
}),
|
|
1161
1238
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1162
|
-
class:
|
|
1239
|
+
class: styles$e.content,
|
|
1163
1240
|
children: [
|
|
1164
1241
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1165
|
-
class:
|
|
1242
|
+
class: styles$e.title,
|
|
1166
1243
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
1167
1244
|
bold: true,
|
|
1168
|
-
children:
|
|
1245
|
+
children: title2
|
|
1169
1246
|
})
|
|
1170
1247
|
}),
|
|
1171
1248
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1172
|
-
class:
|
|
1249
|
+
class: styles$e.description,
|
|
1173
1250
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
1174
1251
|
size: "0.75rem",
|
|
1175
|
-
children:
|
|
1252
|
+
children: description2
|
|
1176
1253
|
})
|
|
1177
1254
|
}),
|
|
1178
1255
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1179
|
-
class:
|
|
1256
|
+
class: styles$e.link,
|
|
1180
1257
|
children: [
|
|
1181
1258
|
favicon ? /* @__PURE__ */ jsxRuntime.jsx(ElmInlineIcon, {
|
|
1182
1259
|
src: favicon
|
|
@@ -1196,19 +1273,24 @@ const ElmBookmark = qwik.component$(({ url, image, title, description, favicon }
|
|
|
1196
1273
|
})
|
|
1197
1274
|
});
|
|
1198
1275
|
});
|
|
1199
|
-
const
|
|
1276
|
+
const container = "_container_xsa12_1";
|
|
1277
|
+
const text$1 = "_text_xsa12_30";
|
|
1278
|
+
const styles$d = {
|
|
1279
|
+
container,
|
|
1280
|
+
"link-container": "_link-container_xsa12_10",
|
|
1281
|
+
text: text$1
|
|
1282
|
+
};
|
|
1200
1283
|
const ElmBreadcrumb = qwik.component$(({ links }) => {
|
|
1201
|
-
qwik.useStylesScoped$(styles$b);
|
|
1202
1284
|
return /* @__PURE__ */ jsxRuntime.jsx("nav", {
|
|
1203
|
-
class:
|
|
1204
|
-
children: links.map((
|
|
1285
|
+
class: styles$d.container,
|
|
1286
|
+
children: links.map((link2, index) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
1205
1287
|
children: [
|
|
1206
1288
|
/* @__PURE__ */ jsxRuntime.jsxs("span", {
|
|
1207
|
-
class: "link-container",
|
|
1208
|
-
onClick$:
|
|
1289
|
+
class: styles$d["link-container"],
|
|
1290
|
+
onClick$: link2.onClick$,
|
|
1209
1291
|
children: [
|
|
1210
1292
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1211
|
-
class:
|
|
1293
|
+
class: styles$d.icon,
|
|
1212
1294
|
style: {
|
|
1213
1295
|
"--delay": `${index * 100}ms`
|
|
1214
1296
|
},
|
|
@@ -1218,18 +1300,18 @@ const ElmBreadcrumb = qwik.component$(({ links }) => {
|
|
|
1218
1300
|
})
|
|
1219
1301
|
}),
|
|
1220
1302
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1221
|
-
class:
|
|
1303
|
+
class: styles$d.text,
|
|
1222
1304
|
style: {
|
|
1223
1305
|
"--delay": `${index * 100 + 50}ms`
|
|
1224
1306
|
},
|
|
1225
1307
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
1226
|
-
children:
|
|
1308
|
+
children: link2.text
|
|
1227
1309
|
})
|
|
1228
1310
|
})
|
|
1229
1311
|
]
|
|
1230
1312
|
}),
|
|
1231
1313
|
links.length !== index + 1 && /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1232
|
-
class:
|
|
1314
|
+
class: styles$d.text,
|
|
1233
1315
|
style: {
|
|
1234
1316
|
"--delay": `${index * 100 + 100}ms`
|
|
1235
1317
|
},
|
|
@@ -1243,19 +1325,84 @@ const ElmBreadcrumb = qwik.component$(({ links }) => {
|
|
|
1243
1325
|
}))
|
|
1244
1326
|
});
|
|
1245
1327
|
});
|
|
1246
|
-
const
|
|
1328
|
+
const wrapper = "_wrapper_nud26_1";
|
|
1329
|
+
const partial = "_partial_nud26_52";
|
|
1330
|
+
const text = "_text_nud26_85";
|
|
1331
|
+
const styles$c = {
|
|
1332
|
+
wrapper,
|
|
1333
|
+
"wrapper--visible": "_wrapper--visible_nud26_20",
|
|
1334
|
+
partial,
|
|
1335
|
+
text
|
|
1336
|
+
};
|
|
1337
|
+
const ElmPageTop = qwik.component$(({ position = "right" }) => {
|
|
1338
|
+
const isVisible = qwik.useSignal(false);
|
|
1339
|
+
qwik.useVisibleTask$(({ cleanup }) => {
|
|
1340
|
+
const checkScroll = () => {
|
|
1341
|
+
isVisible.value = window.scrollY > 100;
|
|
1342
|
+
};
|
|
1343
|
+
window.addEventListener("scroll", checkScroll, {
|
|
1344
|
+
passive: true
|
|
1345
|
+
});
|
|
1346
|
+
checkScroll();
|
|
1347
|
+
cleanup(() => window.removeEventListener("scroll", checkScroll));
|
|
1348
|
+
});
|
|
1349
|
+
const toTop = qwik.$(() => {
|
|
1350
|
+
window.scrollTo({
|
|
1351
|
+
top: 0,
|
|
1352
|
+
behavior: "smooth"
|
|
1353
|
+
});
|
|
1354
|
+
});
|
|
1355
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("nav", {
|
|
1356
|
+
class: [
|
|
1357
|
+
styles$c.wrapper,
|
|
1358
|
+
{
|
|
1359
|
+
[styles$c["wrapper--visible"]]: isVisible.value
|
|
1360
|
+
}
|
|
1361
|
+
],
|
|
1362
|
+
style: {
|
|
1363
|
+
"--size": `${64}px`,
|
|
1364
|
+
left: position === "left" ? "0" : "auto",
|
|
1365
|
+
right: position === "right" ? "0" : "auto"
|
|
1366
|
+
},
|
|
1367
|
+
onClick$: toTop,
|
|
1368
|
+
children: [
|
|
1369
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1370
|
+
"aria-hidden": "true",
|
|
1371
|
+
class: styles$c.partial
|
|
1372
|
+
}),
|
|
1373
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1374
|
+
"aria-hidden": "true",
|
|
1375
|
+
class: styles$c.partial
|
|
1376
|
+
}),
|
|
1377
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1378
|
+
"aria-hidden": "true",
|
|
1379
|
+
class: styles$c.partial
|
|
1380
|
+
}),
|
|
1381
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1382
|
+
class: styles$c.text,
|
|
1383
|
+
children: "Back to Top"
|
|
1384
|
+
})
|
|
1385
|
+
]
|
|
1386
|
+
});
|
|
1387
|
+
});
|
|
1388
|
+
const blockquote = "_blockquote_b5jd8_1";
|
|
1389
|
+
const body = "_body_b5jd8_18";
|
|
1390
|
+
const icon = "_icon_b5jd8_23";
|
|
1391
|
+
const styles$b = {
|
|
1392
|
+
blockquote,
|
|
1393
|
+
body,
|
|
1394
|
+
icon
|
|
1395
|
+
};
|
|
1247
1396
|
const ElmBlockQuote = qwik.component$(({ cite }) => {
|
|
1248
|
-
qwik.useStylesScoped$(styles$a);
|
|
1249
|
-
qwik.useStylesScoped$(textStyles);
|
|
1250
1397
|
return /* @__PURE__ */ jsxRuntime.jsxs("blockquote", {
|
|
1251
1398
|
class: [
|
|
1252
|
-
|
|
1253
|
-
|
|
1399
|
+
styles$b.blockquote,
|
|
1400
|
+
textStyles.text
|
|
1254
1401
|
],
|
|
1255
1402
|
cite,
|
|
1256
1403
|
children: [
|
|
1257
1404
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1258
|
-
class:
|
|
1405
|
+
class: styles$b.icon,
|
|
1259
1406
|
style: {
|
|
1260
1407
|
"--inset": "0.25rem auto auto 0.5rem"
|
|
1261
1408
|
},
|
|
@@ -1264,11 +1411,11 @@ const ElmBlockQuote = qwik.component$(({ cite }) => {
|
|
|
1264
1411
|
})
|
|
1265
1412
|
}),
|
|
1266
1413
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1267
|
-
class:
|
|
1414
|
+
class: styles$b.body,
|
|
1268
1415
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
1269
1416
|
}),
|
|
1270
1417
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1271
|
-
class:
|
|
1418
|
+
class: styles$b.icon,
|
|
1272
1419
|
style: {
|
|
1273
1420
|
"--inset": "auto 0.25rem 0.25rem auto"
|
|
1274
1421
|
},
|
|
@@ -1279,7 +1426,14 @@ const ElmBlockQuote = qwik.component$(({ cite }) => {
|
|
|
1279
1426
|
]
|
|
1280
1427
|
});
|
|
1281
1428
|
});
|
|
1282
|
-
const
|
|
1429
|
+
const callout = "_callout_1d8l2_1";
|
|
1430
|
+
const header = "_header_1d8l2_25";
|
|
1431
|
+
const content = "_content_1d8l2_31";
|
|
1432
|
+
const styles$a = {
|
|
1433
|
+
callout,
|
|
1434
|
+
header,
|
|
1435
|
+
content
|
|
1436
|
+
};
|
|
1283
1437
|
const COLOR_MAP = Object.freeze({
|
|
1284
1438
|
note: {
|
|
1285
1439
|
code: "#6987b8",
|
|
@@ -1303,15 +1457,14 @@ const COLOR_MAP = Object.freeze({
|
|
|
1303
1457
|
}
|
|
1304
1458
|
});
|
|
1305
1459
|
const ElmCallout = qwik.component$(({ type = "note" }) => {
|
|
1306
|
-
qwik.useStylesScoped$(styles$9);
|
|
1307
1460
|
return /* @__PURE__ */ jsxRuntime.jsxs("aside", {
|
|
1308
|
-
class:
|
|
1461
|
+
class: styles$a.callout,
|
|
1309
1462
|
style: {
|
|
1310
1463
|
"--callout-color": COLOR_MAP[type].code
|
|
1311
1464
|
},
|
|
1312
1465
|
children: [
|
|
1313
1466
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1314
|
-
class:
|
|
1467
|
+
class: styles$a.header,
|
|
1315
1468
|
children: [
|
|
1316
1469
|
/* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
1317
1470
|
d: COLOR_MAP[type].icon,
|
|
@@ -1324,25 +1477,29 @@ const ElmCallout = qwik.component$(({ type = "note" }) => {
|
|
|
1324
1477
|
]
|
|
1325
1478
|
}),
|
|
1326
1479
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1327
|
-
class:
|
|
1480
|
+
class: styles$a.content,
|
|
1328
1481
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
1329
1482
|
})
|
|
1330
1483
|
]
|
|
1331
1484
|
});
|
|
1332
1485
|
});
|
|
1333
|
-
const
|
|
1486
|
+
const hr = "_hr_1g58p_1";
|
|
1487
|
+
const styles$9 = {
|
|
1488
|
+
hr
|
|
1489
|
+
};
|
|
1334
1490
|
const ElmDivider = qwik.component$(({ margin }) => {
|
|
1335
|
-
qwik.useStylesScoped$(styles$8);
|
|
1336
1491
|
return /* @__PURE__ */ jsxRuntime.jsx("hr", {
|
|
1337
|
-
class:
|
|
1492
|
+
class: styles$9.hr,
|
|
1338
1493
|
style: {
|
|
1339
1494
|
marginBlock: margin
|
|
1340
1495
|
}
|
|
1341
1496
|
});
|
|
1342
1497
|
});
|
|
1343
|
-
const
|
|
1498
|
+
const fragment = "_fragment_1kofp_1";
|
|
1499
|
+
const styles$8 = {
|
|
1500
|
+
fragment
|
|
1501
|
+
};
|
|
1344
1502
|
const ElmFragmentIdentifier = qwik.component$(({ id }) => {
|
|
1345
|
-
qwik.useStylesScoped$(styles$7);
|
|
1346
1503
|
const handleHashClick = qwik.$((id2) => {
|
|
1347
1504
|
const url = new URL(window.location.href);
|
|
1348
1505
|
url.hash = id2;
|
|
@@ -1355,12 +1512,28 @@ const ElmFragmentIdentifier = qwik.component$(({ id }) => {
|
|
|
1355
1512
|
}
|
|
1356
1513
|
});
|
|
1357
1514
|
return /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1358
|
-
class:
|
|
1515
|
+
class: styles$8.fragment,
|
|
1359
1516
|
onClick$: () => handleHashClick(id),
|
|
1360
1517
|
children: "#"
|
|
1361
1518
|
});
|
|
1362
1519
|
});
|
|
1363
|
-
const
|
|
1520
|
+
const h1 = "_h1_16jof_10";
|
|
1521
|
+
const h2 = "_h2_16jof_40";
|
|
1522
|
+
const h2__underline = "_h2__underline_16jof_68";
|
|
1523
|
+
const h3 = "_h3_16jof_85";
|
|
1524
|
+
const h4 = "_h4_16jof_102";
|
|
1525
|
+
const h5 = "_h5_16jof_106";
|
|
1526
|
+
const h6 = "_h6_16jof_110";
|
|
1527
|
+
const styles$7 = {
|
|
1528
|
+
"heading-common": "_heading-common_16jof_1",
|
|
1529
|
+
h1,
|
|
1530
|
+
h2,
|
|
1531
|
+
h2__underline,
|
|
1532
|
+
h3,
|
|
1533
|
+
h4,
|
|
1534
|
+
h5,
|
|
1535
|
+
h6
|
|
1536
|
+
};
|
|
1364
1537
|
const SIZE_MAP = Object.freeze({
|
|
1365
1538
|
1: 1.5,
|
|
1366
1539
|
2: 1.4,
|
|
@@ -1369,22 +1542,20 @@ const SIZE_MAP = Object.freeze({
|
|
|
1369
1542
|
5: 1.15,
|
|
1370
1543
|
6: 1.1
|
|
1371
1544
|
});
|
|
1372
|
-
const ElmHeading = qwik.component$(({ level, text, id }) => {
|
|
1373
|
-
qwik.useStylesScoped$(styles$6);
|
|
1374
|
-
qwik.useStylesScoped$(textStyles);
|
|
1545
|
+
const ElmHeading = qwik.component$(({ level, text: text2, id }) => {
|
|
1375
1546
|
const Tag = `h${level}`;
|
|
1376
1547
|
return /* @__PURE__ */ jsxRuntime.jsxs(Tag, {
|
|
1377
1548
|
class: [
|
|
1378
|
-
"heading-common",
|
|
1379
|
-
|
|
1380
|
-
`h${level}`
|
|
1549
|
+
styles$7["heading-common"],
|
|
1550
|
+
textStyles.text,
|
|
1551
|
+
styles$7[`h${level}`]
|
|
1381
1552
|
],
|
|
1382
1553
|
style: {
|
|
1383
1554
|
"--font-size": `${SIZE_MAP[level]}em`
|
|
1384
1555
|
},
|
|
1385
1556
|
children: [
|
|
1386
1557
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1387
|
-
children:
|
|
1558
|
+
children: text2
|
|
1388
1559
|
}),
|
|
1389
1560
|
/* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {}),
|
|
1390
1561
|
id && /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
@@ -1396,37 +1567,42 @@ const ElmHeading = qwik.component$(({ level, text, id }) => {
|
|
|
1396
1567
|
})
|
|
1397
1568
|
}),
|
|
1398
1569
|
level === 2 && /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1399
|
-
class: "h2__underline",
|
|
1570
|
+
class: styles$7["h2__underline"],
|
|
1400
1571
|
"aria-hidden": "true"
|
|
1401
1572
|
})
|
|
1402
1573
|
]
|
|
1403
1574
|
});
|
|
1404
1575
|
});
|
|
1405
|
-
const
|
|
1576
|
+
const styles$6 = {
|
|
1577
|
+
"elmethis-list-common": "_elmethis-list-common_14epx_1",
|
|
1578
|
+
"elmethis-bulleted-list": "_elmethis-bulleted-list_14epx_9",
|
|
1579
|
+
"elmethis-numbered-list": "_elmethis-numbered-list_14epx_24"
|
|
1580
|
+
};
|
|
1406
1581
|
const ElmList = qwik.component$(({ listStyle = "unordered" }) => {
|
|
1407
|
-
qwik.useStyles$(listStyles);
|
|
1408
|
-
qwik.useStylesScoped$(textStyles);
|
|
1409
1582
|
if (listStyle === "ordered") {
|
|
1410
1583
|
return /* @__PURE__ */ jsxRuntime.jsx("ol", {
|
|
1411
1584
|
class: [
|
|
1412
|
-
|
|
1413
|
-
"elmethis-list-common",
|
|
1414
|
-
"elmethis-numbered-list"
|
|
1585
|
+
textStyles.text,
|
|
1586
|
+
styles$6["elmethis-list-common"],
|
|
1587
|
+
styles$6["elmethis-numbered-list"]
|
|
1415
1588
|
],
|
|
1416
1589
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
1417
1590
|
});
|
|
1418
1591
|
} else {
|
|
1419
1592
|
return /* @__PURE__ */ jsxRuntime.jsx("ul", {
|
|
1420
1593
|
class: [
|
|
1421
|
-
|
|
1422
|
-
"elmethis-list-common",
|
|
1423
|
-
"elmethis-bulleted-list"
|
|
1594
|
+
textStyles.text,
|
|
1595
|
+
styles$6["elmethis-list-common"],
|
|
1596
|
+
styles$6["elmethis-bulleted-list"]
|
|
1424
1597
|
],
|
|
1425
1598
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
1426
1599
|
});
|
|
1427
1600
|
}
|
|
1428
1601
|
});
|
|
1429
|
-
const
|
|
1602
|
+
const paragraph = "_paragraph_jz10s_1";
|
|
1603
|
+
const styles$5 = {
|
|
1604
|
+
paragraph
|
|
1605
|
+
};
|
|
1430
1606
|
const useInView = (props) => {
|
|
1431
1607
|
const ref = qwik.useSignal();
|
|
1432
1608
|
const isVisible = qwik.useSignal(false);
|
|
@@ -1447,14 +1623,12 @@ const useInView = (props) => {
|
|
|
1447
1623
|
};
|
|
1448
1624
|
};
|
|
1449
1625
|
const ElmParagraph = qwik.component$(({ color, backgroundColor }) => {
|
|
1450
|
-
qwik.useStylesScoped$(styles$5);
|
|
1451
|
-
qwik.useStylesScoped$(textStyles);
|
|
1452
1626
|
const { ref, isVisible } = useInView();
|
|
1453
1627
|
return /* @__PURE__ */ jsxRuntime.jsx("p", {
|
|
1454
1628
|
ref,
|
|
1455
1629
|
class: [
|
|
1456
|
-
|
|
1457
|
-
|
|
1630
|
+
styles$5.paragraph,
|
|
1631
|
+
textStyles.text
|
|
1458
1632
|
],
|
|
1459
1633
|
style: {
|
|
1460
1634
|
"--color": color,
|
|
@@ -1464,32 +1638,38 @@ const ElmParagraph = qwik.component$(({ color, backgroundColor }) => {
|
|
|
1464
1638
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
1465
1639
|
});
|
|
1466
1640
|
});
|
|
1467
|
-
const
|
|
1641
|
+
const table = "_table_x2nyq_1";
|
|
1642
|
+
const caption = "_caption_x2nyq_8";
|
|
1643
|
+
const spacing = "_spacing_x2nyq_25";
|
|
1644
|
+
const styles$4 = {
|
|
1645
|
+
table,
|
|
1646
|
+
caption,
|
|
1647
|
+
"caption-inner": "_caption-inner_x2nyq_18",
|
|
1648
|
+
spacing
|
|
1649
|
+
};
|
|
1468
1650
|
const HasRowHeaderContext = qwik.createContextId("HasRowHeaderContext");
|
|
1469
1651
|
const ElmTable = qwik.component$((props) => {
|
|
1470
|
-
|
|
1471
|
-
qwik.useStylesScoped$(textStyles);
|
|
1472
|
-
const { margin, caption, hasRowHeader = false } = props;
|
|
1652
|
+
const { margin, caption: caption2, hasRowHeader = false } = props;
|
|
1473
1653
|
const hasRowHeaderComputed = qwik.useComputed$(() => hasRowHeader);
|
|
1474
1654
|
qwik.useContextProvider(HasRowHeaderContext, hasRowHeaderComputed);
|
|
1475
1655
|
return /* @__PURE__ */ jsxRuntime.jsxs("table", {
|
|
1476
1656
|
class: [
|
|
1477
|
-
|
|
1478
|
-
|
|
1657
|
+
styles$4.table,
|
|
1658
|
+
textStyles.text
|
|
1479
1659
|
],
|
|
1480
1660
|
style: {
|
|
1481
1661
|
"--margin-block": margin
|
|
1482
1662
|
},
|
|
1483
1663
|
children: [
|
|
1484
|
-
|
|
1664
|
+
caption2 && /* @__PURE__ */ jsxRuntime.jsx("caption", {
|
|
1485
1665
|
children: /* @__PURE__ */ jsxRuntime.jsxs("span", {
|
|
1486
|
-
class:
|
|
1666
|
+
class: styles$4.caption,
|
|
1487
1667
|
children: [
|
|
1488
1668
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1489
|
-
class:
|
|
1669
|
+
class: styles$4.spacing
|
|
1490
1670
|
}),
|
|
1491
1671
|
/* @__PURE__ */ jsxRuntime.jsxs("span", {
|
|
1492
|
-
class: "caption-inner",
|
|
1672
|
+
class: styles$4["caption-inner"],
|
|
1493
1673
|
children: [
|
|
1494
1674
|
/* @__PURE__ */ jsxRuntime.jsx("svg", {
|
|
1495
1675
|
viewBox: "0 0 24 24",
|
|
@@ -1501,12 +1681,12 @@ const ElmTable = qwik.component$((props) => {
|
|
|
1501
1681
|
})
|
|
1502
1682
|
}),
|
|
1503
1683
|
/* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
1504
|
-
text:
|
|
1684
|
+
text: caption2
|
|
1505
1685
|
})
|
|
1506
1686
|
]
|
|
1507
1687
|
}),
|
|
1508
1688
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1509
|
-
class:
|
|
1689
|
+
class: styles$4.spacing
|
|
1510
1690
|
})
|
|
1511
1691
|
]
|
|
1512
1692
|
})
|
|
@@ -1515,13 +1695,15 @@ const ElmTable = qwik.component$((props) => {
|
|
|
1515
1695
|
]
|
|
1516
1696
|
});
|
|
1517
1697
|
});
|
|
1518
|
-
const
|
|
1698
|
+
const thead = "_thead_1brzu_1";
|
|
1699
|
+
const styles$3 = {
|
|
1700
|
+
thead
|
|
1701
|
+
};
|
|
1519
1702
|
const HasHeaderContext = qwik.createContextId("HasHeaderContext");
|
|
1520
1703
|
const ElmTableHeader = qwik.component$(() => {
|
|
1521
|
-
qwik.useStylesScoped$(styles$3);
|
|
1522
1704
|
qwik.useContextProvider(HasHeaderContext, true);
|
|
1523
1705
|
return /* @__PURE__ */ jsxRuntime.jsx("thead", {
|
|
1524
|
-
class:
|
|
1706
|
+
class: styles$3.thead,
|
|
1525
1707
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
1526
1708
|
});
|
|
1527
1709
|
});
|
|
@@ -1531,41 +1713,55 @@ const ElmTableBody = qwik.component$(() => {
|
|
|
1531
1713
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
1532
1714
|
});
|
|
1533
1715
|
});
|
|
1534
|
-
const
|
|
1716
|
+
const tr = "_tr_2ogbz_1";
|
|
1717
|
+
const styles$2 = {
|
|
1718
|
+
tr,
|
|
1719
|
+
"has-row-header": "_has-row-header_2ogbz_20"
|
|
1720
|
+
};
|
|
1535
1721
|
const ElmTableRow = qwik.component$(() => {
|
|
1536
|
-
qwik.useStylesScoped$(styles$2);
|
|
1537
1722
|
const hasRowHeader = qwik.useContext(HasRowHeaderContext);
|
|
1538
1723
|
return /* @__PURE__ */ jsxRuntime.jsx("tr", {
|
|
1539
1724
|
class: [
|
|
1540
|
-
|
|
1541
|
-
hasRowHeader.value && "has-row-header"
|
|
1725
|
+
styles$2.tr,
|
|
1726
|
+
hasRowHeader.value && styles$2["has-row-header"]
|
|
1542
1727
|
],
|
|
1543
1728
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
1544
1729
|
});
|
|
1545
1730
|
});
|
|
1546
|
-
const
|
|
1731
|
+
const common = "_common_1puhv_1";
|
|
1732
|
+
const td = "_td_1puhv_24";
|
|
1733
|
+
const th = "_th_1puhv_31";
|
|
1734
|
+
const styles$1 = {
|
|
1735
|
+
common,
|
|
1736
|
+
td,
|
|
1737
|
+
th
|
|
1738
|
+
};
|
|
1547
1739
|
const ElmTableCell = qwik.component$((props) => {
|
|
1548
|
-
|
|
1549
|
-
const { hasHeader = false, text } = props;
|
|
1740
|
+
const { hasHeader = false, text: text2 } = props;
|
|
1550
1741
|
const hasHeaderInjected = qwik.useContext(HasHeaderContext, false);
|
|
1551
1742
|
const isHeader = hasHeader || hasHeaderInjected;
|
|
1552
1743
|
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
1553
1744
|
children: isHeader ? /* @__PURE__ */ jsxRuntime.jsx("th", {
|
|
1554
1745
|
class: [
|
|
1555
|
-
|
|
1556
|
-
|
|
1746
|
+
styles$1.common,
|
|
1747
|
+
styles$1.th
|
|
1557
1748
|
],
|
|
1558
|
-
children:
|
|
1749
|
+
children: text2 ? text2 : /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
1559
1750
|
}) : /* @__PURE__ */ jsxRuntime.jsx("td", {
|
|
1560
1751
|
class: [
|
|
1561
|
-
|
|
1562
|
-
|
|
1752
|
+
styles$1.common,
|
|
1753
|
+
styles$1.td
|
|
1563
1754
|
],
|
|
1564
|
-
children:
|
|
1755
|
+
children: text2 ? text2 : /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
1565
1756
|
})
|
|
1566
1757
|
});
|
|
1567
1758
|
});
|
|
1568
|
-
const
|
|
1759
|
+
const column = "_column_1l2bp_7";
|
|
1760
|
+
const styles = {
|
|
1761
|
+
"jarkup-body": "_jarkup-body_1l2bp_1",
|
|
1762
|
+
"column-list": "_column-list_1l2bp_7",
|
|
1763
|
+
column
|
|
1764
|
+
};
|
|
1569
1765
|
const convertInlineComponentsToPlainText = (inlineComponents) => {
|
|
1570
1766
|
return inlineComponents.map((component) => {
|
|
1571
1767
|
if (component.type === "Text") {
|
|
@@ -1576,7 +1772,6 @@ const convertInlineComponentsToPlainText = (inlineComponents) => {
|
|
|
1576
1772
|
}).join("");
|
|
1577
1773
|
};
|
|
1578
1774
|
const ElmJarkup = qwik.component$((props) => {
|
|
1579
|
-
qwik.useStylesScoped$(styles);
|
|
1580
1775
|
const render = (jsonComponents) => {
|
|
1581
1776
|
return jsonComponents.map((component, index) => {
|
|
1582
1777
|
const key = component.id || index;
|
|
@@ -1703,12 +1898,12 @@ const ElmJarkup = qwik.component$((props) => {
|
|
|
1703
1898
|
}, key);
|
|
1704
1899
|
case "ColumnList":
|
|
1705
1900
|
return /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1706
|
-
class: "column-list",
|
|
1901
|
+
class: styles["column-list"],
|
|
1707
1902
|
children: render(component.slots.default)
|
|
1708
1903
|
}, key);
|
|
1709
1904
|
case "Column":
|
|
1710
1905
|
return /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1711
|
-
class:
|
|
1906
|
+
class: styles.column,
|
|
1712
1907
|
style: {
|
|
1713
1908
|
"--width-ratio": component.props?.widthRatio || 1,
|
|
1714
1909
|
width: component.props?.widthRatio ? `${component.props.widthRatio * 100}%` : void 0
|
|
@@ -1730,7 +1925,7 @@ const ElmJarkup = qwik.component$((props) => {
|
|
|
1730
1925
|
});
|
|
1731
1926
|
};
|
|
1732
1927
|
return /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1733
|
-
class: "jarkup-body",
|
|
1928
|
+
class: styles["jarkup-body"],
|
|
1734
1929
|
children: render(props.jsonComponents)
|
|
1735
1930
|
});
|
|
1736
1931
|
});
|
|
@@ -1753,6 +1948,7 @@ exports.ElmKatex = ElmKatex;
|
|
|
1753
1948
|
exports.ElmLanguageIcon = ElmLanguageIcon;
|
|
1754
1949
|
exports.ElmList = ElmList;
|
|
1755
1950
|
exports.ElmMdiIcon = ElmMdiIcon;
|
|
1951
|
+
exports.ElmPageTop = ElmPageTop;
|
|
1756
1952
|
exports.ElmParagraph = ElmParagraph;
|
|
1757
1953
|
exports.ElmParallax = ElmParallax;
|
|
1758
1954
|
exports.ElmRectangleWave = ElmRectangleWave;
|