@elmethis/qwik 0.0.18 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +90 -37
- package/lib/index.qwik.cjs +813 -138
- package/lib/index.qwik.mjs +815 -140
- package/lib/style.css +22 -0
- package/lib-types/components/icon/elm-toggle-theme.d.ts +7 -0
- package/lib-types/components/icon/elm-toggle-theme.stories.d.ts +6 -0
- package/lib-types/components/others/elm-markdown.d.ts +4 -0
- package/lib-types/components/others/elm-markdown.stories.d.ts +6 -0
- package/lib-types/hooks/useElmethisTheme.d.ts +4 -0
- package/lib-types/index.d.ts +2 -0
- package/package.json +3 -1
package/lib/index.qwik.cjs
CHANGED
|
@@ -6,10 +6,11 @@ const js = require("@mdi/js");
|
|
|
6
6
|
const shiki = require("shiki");
|
|
7
7
|
const katex = require("katex");
|
|
8
8
|
const lodashEs = require("lodash-es");
|
|
9
|
+
const marked = require("marked");
|
|
9
10
|
const caption$1 = "_caption_1j0ec_27";
|
|
10
11
|
const divider = "_divider_1j0ec_50";
|
|
11
12
|
const code$2 = "_code_1j0ec_1";
|
|
12
|
-
const styles$
|
|
13
|
+
const styles$t = {
|
|
13
14
|
"code-block": "_code-block_1j0ec_1",
|
|
14
15
|
"language-icon": "_language-icon_1j0ec_22",
|
|
15
16
|
caption: caption$1,
|
|
@@ -69,7 +70,7 @@ const Typescript = qwik.component$(({ size = 24, ...props }) => {
|
|
|
69
70
|
});
|
|
70
71
|
});
|
|
71
72
|
const path = "_path_1ccs2_1";
|
|
72
|
-
const styles$
|
|
73
|
+
const styles$s = {
|
|
73
74
|
path
|
|
74
75
|
};
|
|
75
76
|
const Bash = qwik.component$(({ size = 24, ...props }) => {
|
|
@@ -85,7 +86,7 @@ const Bash = qwik.component$(({ size = 24, ...props }) => {
|
|
|
85
86
|
d: "M4.24 4.24h119.53v119.53H4.24z"
|
|
86
87
|
}),
|
|
87
88
|
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
88
|
-
class: styles$
|
|
89
|
+
class: styles$s.path,
|
|
89
90
|
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"
|
|
90
91
|
}),
|
|
91
92
|
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
@@ -525,13 +526,13 @@ const C = qwik.component$(({ size = 24, ...props }) => {
|
|
|
525
526
|
]
|
|
526
527
|
});
|
|
527
528
|
});
|
|
528
|
-
const icon$
|
|
529
|
-
const styles$
|
|
530
|
-
icon: icon$
|
|
529
|
+
const icon$3 = "_icon_1gvln_1";
|
|
530
|
+
const styles$r = {
|
|
531
|
+
icon: icon$3
|
|
531
532
|
};
|
|
532
533
|
const ElmMdiIcon = qwik.component$(({ d, size = "1em", color, lightColor, darkColor }) => {
|
|
533
534
|
return /* @__PURE__ */ jsxRuntime.jsx("svg", {
|
|
534
|
-
class: styles$
|
|
535
|
+
class: styles$r.icon,
|
|
535
536
|
style: {
|
|
536
537
|
"--color": lightColor ?? color,
|
|
537
538
|
"--dark-color": darkColor ?? color
|
|
@@ -640,7 +641,7 @@ const text$3 = "_text_1gswr_1";
|
|
|
640
641
|
const code$1 = "_code_1gswr_12";
|
|
641
642
|
const kbd = "_kbd_1gswr_21";
|
|
642
643
|
const link$1 = "_link_1gswr_47";
|
|
643
|
-
const styles$
|
|
644
|
+
const styles$q = {
|
|
644
645
|
text: text$3,
|
|
645
646
|
code: code$1,
|
|
646
647
|
kbd,
|
|
@@ -650,17 +651,17 @@ const text$2 = "_text_zryur_1";
|
|
|
650
651
|
const textStyles = {
|
|
651
652
|
text: text$2
|
|
652
653
|
};
|
|
653
|
-
const icon$
|
|
654
|
-
const styles$
|
|
655
|
-
icon: icon$
|
|
654
|
+
const icon$2 = "_icon_19g82_1";
|
|
655
|
+
const styles$p = {
|
|
656
|
+
icon: icon$2
|
|
656
657
|
};
|
|
657
658
|
const ElmInlineIcon = qwik.component$(({ src, alt }) => {
|
|
658
659
|
return /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
659
|
-
class: styles$
|
|
660
|
+
class: styles$p.icon,
|
|
660
661
|
children: /* @__PURE__ */ jsxRuntime.jsx("img", {
|
|
661
662
|
src,
|
|
662
663
|
alt,
|
|
663
|
-
class: styles$
|
|
664
|
+
class: styles$p.icon
|
|
664
665
|
})
|
|
665
666
|
});
|
|
666
667
|
});
|
|
@@ -671,7 +672,7 @@ const ElmInlineText = qwik.component$((props) => {
|
|
|
671
672
|
}) : /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {});
|
|
672
673
|
if (props.kbd) {
|
|
673
674
|
vnode = /* @__PURE__ */ jsxRuntime.jsx("kbd", {
|
|
674
|
-
class: styles$
|
|
675
|
+
class: styles$q.kbd,
|
|
675
676
|
children: vnode
|
|
676
677
|
});
|
|
677
678
|
}
|
|
@@ -697,13 +698,13 @@ const ElmInlineText = qwik.component$((props) => {
|
|
|
697
698
|
}
|
|
698
699
|
if (code2) {
|
|
699
700
|
vnode = /* @__PURE__ */ jsxRuntime.jsx("code", {
|
|
700
|
-
class: styles$
|
|
701
|
+
class: styles$q.code,
|
|
701
702
|
children: vnode
|
|
702
703
|
});
|
|
703
704
|
}
|
|
704
705
|
if (props.ruby) {
|
|
705
706
|
vnode = /* @__PURE__ */ jsxRuntime.jsxs("ruby", {
|
|
706
|
-
class: styles$
|
|
707
|
+
class: styles$q.text,
|
|
707
708
|
children: [
|
|
708
709
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
709
710
|
children: vnode
|
|
@@ -716,7 +717,7 @@ const ElmInlineText = qwik.component$((props) => {
|
|
|
716
717
|
}
|
|
717
718
|
const wrappedVnode = /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
718
719
|
class: [
|
|
719
|
-
styles$
|
|
720
|
+
styles$q.text,
|
|
720
721
|
textStyles.text
|
|
721
722
|
],
|
|
722
723
|
style: {
|
|
@@ -728,7 +729,7 @@ const ElmInlineText = qwik.component$((props) => {
|
|
|
728
729
|
});
|
|
729
730
|
if (props.href) {
|
|
730
731
|
return /* @__PURE__ */ jsxRuntime.jsxs("a", {
|
|
731
|
-
class: styles$
|
|
732
|
+
class: styles$q.link,
|
|
732
733
|
href: props.href,
|
|
733
734
|
style: {
|
|
734
735
|
"--font-size": size
|
|
@@ -746,7 +747,7 @@ const ElmInlineText = qwik.component$((props) => {
|
|
|
746
747
|
return wrappedVnode;
|
|
747
748
|
});
|
|
748
749
|
const code = "_code_1sw1e_1";
|
|
749
|
-
const styles$
|
|
750
|
+
const styles$o = {
|
|
750
751
|
code
|
|
751
752
|
};
|
|
752
753
|
const ElmShikiHighlighter = qwik.component$(({ code: code2, language = "txt" }) => {
|
|
@@ -771,7 +772,7 @@ const ElmShikiHighlighter = qwik.component$(({ code: code2, language = "txt" })
|
|
|
771
772
|
}
|
|
772
773
|
});
|
|
773
774
|
return /* @__PURE__ */ jsxRuntime.jsx("pre", {
|
|
774
|
-
class: styles$
|
|
775
|
+
class: styles$o.code,
|
|
775
776
|
dangerouslySetInnerHTML: rawHtml.value
|
|
776
777
|
});
|
|
777
778
|
});
|
|
@@ -790,19 +791,19 @@ const ElmCodeBlock = qwik.component$(({ code: code2, language = "txt", caption:
|
|
|
790
791
|
}
|
|
791
792
|
});
|
|
792
793
|
return /* @__PURE__ */ jsxRuntime.jsxs("figure", {
|
|
793
|
-
class: styles$
|
|
794
|
+
class: styles$t["code-block"],
|
|
794
795
|
style: {
|
|
795
796
|
margin
|
|
796
797
|
},
|
|
797
798
|
children: [
|
|
798
799
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
799
|
-
class: styles$
|
|
800
|
+
class: styles$t["language-icon"],
|
|
800
801
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmLanguageIcon, {
|
|
801
802
|
language
|
|
802
803
|
})
|
|
803
804
|
}),
|
|
804
805
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
805
|
-
class: styles$
|
|
806
|
+
class: styles$t.caption,
|
|
806
807
|
children: /* @__PURE__ */ jsxRuntime.jsxs(ElmInlineText, {
|
|
807
808
|
children: [
|
|
808
809
|
caption2 || language,
|
|
@@ -811,7 +812,7 @@ const ElmCodeBlock = qwik.component$(({ code: code2, language = "txt", caption:
|
|
|
811
812
|
})
|
|
812
813
|
}),
|
|
813
814
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
814
|
-
class: styles$
|
|
815
|
+
class: styles$t["copy-icon"],
|
|
815
816
|
onClick$: copyToClipboard,
|
|
816
817
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
817
818
|
size: "1.25rem",
|
|
@@ -820,10 +821,10 @@ const ElmCodeBlock = qwik.component$(({ code: code2, language = "txt", caption:
|
|
|
820
821
|
})
|
|
821
822
|
}),
|
|
822
823
|
/* @__PURE__ */ jsxRuntime.jsx("hr", {
|
|
823
|
-
class: styles$
|
|
824
|
+
class: styles$t.divider
|
|
824
825
|
}),
|
|
825
826
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
826
|
-
class: styles$
|
|
827
|
+
class: styles$t.code,
|
|
827
828
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmShikiHighlighter, {
|
|
828
829
|
code: code2,
|
|
829
830
|
language
|
|
@@ -843,7 +844,7 @@ const ElmKatex = qwik.component$(({ expression, block = false }) => {
|
|
|
843
844
|
});
|
|
844
845
|
});
|
|
845
846
|
const parallax = "_parallax_1kb0k_1";
|
|
846
|
-
const styles$
|
|
847
|
+
const styles$n = {
|
|
847
848
|
"parallax-watcher": "_parallax-watcher_1kb0k_1",
|
|
848
849
|
parallax
|
|
849
850
|
};
|
|
@@ -852,13 +853,13 @@ const ElmParallax = qwik.component$(({ images }) => {
|
|
|
852
853
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
853
854
|
children: [
|
|
854
855
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
855
|
-
class: styles$
|
|
856
|
+
class: styles$n["parallax-watcher"],
|
|
856
857
|
"window:onScroll$": () => {
|
|
857
858
|
y.value = window.scrollY;
|
|
858
859
|
}
|
|
859
860
|
}),
|
|
860
861
|
images.map((image2, index) => /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
861
|
-
class: styles$
|
|
862
|
+
class: styles$n.parallax,
|
|
862
863
|
style: {
|
|
863
864
|
backgroundImage: `url(${image2})`,
|
|
864
865
|
transform: `scale(1.2) translateY(${y.value / (1e3 * (index + 1))}%)`,
|
|
@@ -872,7 +873,7 @@ const toggle = "_toggle_1nxqa_1";
|
|
|
872
873
|
const summary = "_summary_1nxqa_14";
|
|
873
874
|
const content$2 = "_content_1nxqa_60";
|
|
874
875
|
const footer = "_footer_1nxqa_80";
|
|
875
|
-
const styles$
|
|
876
|
+
const styles$m = {
|
|
876
877
|
toggle,
|
|
877
878
|
"toggle-closed": "_toggle-closed_1nxqa_7",
|
|
878
879
|
"toggle-open": "_toggle-open_1nxqa_10",
|
|
@@ -900,29 +901,29 @@ const ElmToggle = qwik.component$(({ summary: summary2 }) => {
|
|
|
900
901
|
});
|
|
901
902
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
902
903
|
class: [
|
|
903
|
-
styles$
|
|
904
|
+
styles$m.toggle,
|
|
904
905
|
{
|
|
905
|
-
[styles$
|
|
906
|
-
[styles$
|
|
906
|
+
[styles$m["toggle-open"]]: isOpen.value,
|
|
907
|
+
[styles$m["toggle-closed"]]: !isOpen.value
|
|
907
908
|
}
|
|
908
909
|
],
|
|
909
910
|
children: [
|
|
910
911
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
911
912
|
class: [
|
|
912
|
-
styles$
|
|
913
|
+
styles$m.summary,
|
|
913
914
|
{
|
|
914
|
-
[styles$
|
|
915
|
-
[styles$
|
|
915
|
+
[styles$m["summary-open"]]: isOpen.value,
|
|
916
|
+
[styles$m["summary-closed"]]: !isOpen.value
|
|
916
917
|
}
|
|
917
918
|
],
|
|
918
919
|
onClick$: toggle2,
|
|
919
920
|
children: [
|
|
920
921
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
921
922
|
class: [
|
|
922
|
-
styles$
|
|
923
|
+
styles$m["chevron-icon"],
|
|
923
924
|
{
|
|
924
|
-
[styles$
|
|
925
|
-
[styles$
|
|
925
|
+
[styles$m["chevron-icon-open"]]: isOpen.value,
|
|
926
|
+
[styles$m["chevron-icon-closed"]]: !isOpen.value
|
|
926
927
|
}
|
|
927
928
|
],
|
|
928
929
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
@@ -930,17 +931,17 @@ const ElmToggle = qwik.component$(({ summary: summary2 }) => {
|
|
|
930
931
|
})
|
|
931
932
|
}),
|
|
932
933
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
933
|
-
class: styles$
|
|
934
|
+
class: styles$m["summary-text"],
|
|
934
935
|
children: summary2 ? summary2 : /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {
|
|
935
936
|
name: "summary"
|
|
936
937
|
})
|
|
937
938
|
}),
|
|
938
939
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
939
940
|
class: [
|
|
940
|
-
styles$
|
|
941
|
+
styles$m["plus-icon"],
|
|
941
942
|
{
|
|
942
|
-
[styles$
|
|
943
|
-
[styles$
|
|
943
|
+
[styles$m["plus-icon-open"]]: isOpen.value,
|
|
944
|
+
[styles$m["plus-icon-closed"]]: !isOpen.value
|
|
944
945
|
}
|
|
945
946
|
],
|
|
946
947
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
@@ -953,30 +954,30 @@ const ElmToggle = qwik.component$(({ summary: summary2 }) => {
|
|
|
953
954
|
}),
|
|
954
955
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
955
956
|
class: [
|
|
956
|
-
styles$
|
|
957
|
+
styles$m.content,
|
|
957
958
|
{
|
|
958
|
-
[styles$
|
|
959
|
-
[styles$
|
|
959
|
+
[styles$m["content-open"]]: isOpen.value,
|
|
960
|
+
[styles$m["content-closed"]]: !isOpen.value
|
|
960
961
|
}
|
|
961
962
|
],
|
|
962
963
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
963
964
|
}),
|
|
964
965
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
965
|
-
class: styles$
|
|
966
|
+
class: styles$m.footer,
|
|
966
967
|
onClick$: toggle2,
|
|
967
968
|
children: [
|
|
968
969
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
969
|
-
class: styles$
|
|
970
|
+
class: styles$m["footer-chevron-icon"],
|
|
970
971
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
971
972
|
d: js.mdiChevronRight,
|
|
972
973
|
color: "gray"
|
|
973
974
|
})
|
|
974
975
|
}),
|
|
975
976
|
/* @__PURE__ */ jsxRuntime.jsx("hr", {
|
|
976
|
-
class: styles$
|
|
977
|
+
class: styles$m["footer-line"]
|
|
977
978
|
}),
|
|
978
979
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
979
|
-
class: styles$
|
|
980
|
+
class: styles$m["footer-cross-icon"],
|
|
980
981
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
981
982
|
d: js.mdiPlus,
|
|
982
983
|
color: "#c56565"
|
|
@@ -986,17 +987,17 @@ const ElmToggle = qwik.component$(({ summary: summary2 }) => {
|
|
|
986
987
|
children: "CLOSE"
|
|
987
988
|
}),
|
|
988
989
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
989
|
-
class: styles$
|
|
990
|
+
class: styles$m["footer-cross-icon"],
|
|
990
991
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
991
992
|
d: js.mdiPlus,
|
|
992
993
|
color: "#c56565"
|
|
993
994
|
})
|
|
994
995
|
}),
|
|
995
996
|
/* @__PURE__ */ jsxRuntime.jsx("hr", {
|
|
996
|
-
class: styles$
|
|
997
|
+
class: styles$m["footer-line"]
|
|
997
998
|
}),
|
|
998
999
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
999
|
-
class: styles$
|
|
1000
|
+
class: styles$m["footer-chevron-icon"],
|
|
1000
1001
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
1001
1002
|
d: js.mdiChevronRight,
|
|
1002
1003
|
color: "gray"
|
|
@@ -1007,50 +1008,50 @@ const ElmToggle = qwik.component$(({ summary: summary2 }) => {
|
|
|
1007
1008
|
]
|
|
1008
1009
|
});
|
|
1009
1010
|
});
|
|
1010
|
-
const styles$
|
|
1011
|
+
const styles$l = {
|
|
1011
1012
|
"block-fallback": "_block-fallback_rt986_1"
|
|
1012
1013
|
};
|
|
1013
1014
|
const wrapper$1 = "_wrapper_1yktj_12";
|
|
1014
1015
|
const dot = "_dot_1yktj_22";
|
|
1015
|
-
const styles$
|
|
1016
|
+
const styles$k = {
|
|
1016
1017
|
wrapper: wrapper$1,
|
|
1017
1018
|
dot
|
|
1018
1019
|
};
|
|
1019
1020
|
const ElmDotLoadingIcon = qwik.component$(({ size = "4em", color = "#606875" }) => {
|
|
1020
1021
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1021
|
-
class: styles$
|
|
1022
|
+
class: styles$k.wrapper,
|
|
1022
1023
|
style: {
|
|
1023
1024
|
"--size": size,
|
|
1024
1025
|
"--color": color
|
|
1025
1026
|
},
|
|
1026
1027
|
children: [
|
|
1027
1028
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1028
|
-
class: styles$
|
|
1029
|
+
class: styles$k.dot,
|
|
1029
1030
|
"aria-hidden": "true"
|
|
1030
1031
|
}),
|
|
1031
1032
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1032
|
-
class: styles$
|
|
1033
|
+
class: styles$k.dot,
|
|
1033
1034
|
"aria-hidden": "true"
|
|
1034
1035
|
}),
|
|
1035
1036
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1036
|
-
class: styles$
|
|
1037
|
+
class: styles$k.dot,
|
|
1037
1038
|
"aria-hidden": "true"
|
|
1038
1039
|
})
|
|
1039
1040
|
]
|
|
1040
1041
|
});
|
|
1041
1042
|
});
|
|
1042
|
-
const styles$
|
|
1043
|
+
const styles$j = {
|
|
1043
1044
|
"rectangle-wave": "_rectangle-wave_hej9g_17"
|
|
1044
1045
|
};
|
|
1045
1046
|
const ElmRectangleWave = qwik.component$(() => {
|
|
1046
1047
|
return /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1047
1048
|
"aria-hidden": "true",
|
|
1048
|
-
class: styles$
|
|
1049
|
+
class: styles$j["rectangle-wave"]
|
|
1049
1050
|
});
|
|
1050
1051
|
});
|
|
1051
1052
|
const ElmBlockFallback = qwik.component$(({ height = "16rem" }) => {
|
|
1052
1053
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1053
|
-
class: styles$
|
|
1054
|
+
class: styles$l["block-fallback"],
|
|
1054
1055
|
style: {
|
|
1055
1056
|
"--height": height
|
|
1056
1057
|
},
|
|
@@ -1060,9 +1061,516 @@ const ElmBlockFallback = qwik.component$(({ height = "16rem" }) => {
|
|
|
1060
1061
|
]
|
|
1061
1062
|
});
|
|
1062
1063
|
});
|
|
1064
|
+
const LOCAL_STORAGE_KEY = "elmethis-theme";
|
|
1065
|
+
function useElmethisTheme() {
|
|
1066
|
+
const isDarkTheme = qwik.useSignal(false);
|
|
1067
|
+
const toggleTheme = qwik.$(() => {
|
|
1068
|
+
isDarkTheme.value = !isDarkTheme.value;
|
|
1069
|
+
if (typeof document !== "undefined") {
|
|
1070
|
+
const theme = isDarkTheme.value ? "dark" : "light";
|
|
1071
|
+
document.documentElement.setAttribute("data-theme", theme);
|
|
1072
|
+
const body2 = document.querySelector("body");
|
|
1073
|
+
if (body2 != null) {
|
|
1074
|
+
body2.style.colorScheme = theme;
|
|
1075
|
+
}
|
|
1076
|
+
if (typeof localStorage !== "undefined") {
|
|
1077
|
+
localStorage.setItem(LOCAL_STORAGE_KEY, theme);
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
});
|
|
1081
|
+
qwik.useOnDocument("storage", qwik.$(() => {
|
|
1082
|
+
const localStorageTheme = localStorage.getItem(LOCAL_STORAGE_KEY);
|
|
1083
|
+
if (localStorageTheme != null) {
|
|
1084
|
+
isDarkTheme.value = localStorageTheme === "dark";
|
|
1085
|
+
}
|
|
1086
|
+
}));
|
|
1087
|
+
qwik.useVisibleTask$(() => {
|
|
1088
|
+
const currentTheme = document.documentElement.getAttribute("data-theme");
|
|
1089
|
+
if (currentTheme != null) {
|
|
1090
|
+
isDarkTheme.value = currentTheme === "dark";
|
|
1091
|
+
} else {
|
|
1092
|
+
const localStorageTheme = localStorage.getItem(LOCAL_STORAGE_KEY);
|
|
1093
|
+
if (localStorageTheme != null) {
|
|
1094
|
+
isDarkTheme.value = localStorageTheme === "dark";
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
}, {
|
|
1098
|
+
strategy: "document-ready"
|
|
1099
|
+
});
|
|
1100
|
+
return {
|
|
1101
|
+
isDarkTheme,
|
|
1102
|
+
toggleTheme
|
|
1103
|
+
};
|
|
1104
|
+
}
|
|
1105
|
+
const icon$1 = "_icon_1husg_1";
|
|
1106
|
+
const styles$i = {
|
|
1107
|
+
icon: icon$1
|
|
1108
|
+
};
|
|
1109
|
+
const ElmToggleTheme = qwik.component$(({ size = "2rem" }) => {
|
|
1110
|
+
const { isDarkTheme, toggleTheme } = useElmethisTheme();
|
|
1111
|
+
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
1112
|
+
children: !isDarkTheme.value ? /* @__PURE__ */ jsxRuntime.jsxs("svg", {
|
|
1113
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1114
|
+
width: size,
|
|
1115
|
+
height: size,
|
|
1116
|
+
viewBox: "0 0 24 24",
|
|
1117
|
+
class: styles$i.icon,
|
|
1118
|
+
onClick$: toggleTheme,
|
|
1119
|
+
children: [
|
|
1120
|
+
/* @__PURE__ */ jsxRuntime.jsxs("g", {
|
|
1121
|
+
fill: "none",
|
|
1122
|
+
stroke: "currentColor",
|
|
1123
|
+
"stroke-linecap": "round",
|
|
1124
|
+
"stroke-linejoin": "round",
|
|
1125
|
+
"stroke-width": "2",
|
|
1126
|
+
children: [
|
|
1127
|
+
/* @__PURE__ */ jsxRuntime.jsxs("path", {
|
|
1128
|
+
"stroke-dasharray": "2",
|
|
1129
|
+
"stroke-dashoffset": "2",
|
|
1130
|
+
d: "M12 19v1M19 12h1M12 5v-1M5 12h-1",
|
|
1131
|
+
children: [
|
|
1132
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1133
|
+
fill: "freeze",
|
|
1134
|
+
attributeName: "d",
|
|
1135
|
+
begin: "1.2s",
|
|
1136
|
+
dur: "0.2s",
|
|
1137
|
+
values: "M12 19v1M19 12h1M12 5v-1M5 12h-1;M12 21v1M21 12h1M12 3v-1M3 12h-1"
|
|
1138
|
+
}),
|
|
1139
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1140
|
+
fill: "freeze",
|
|
1141
|
+
attributeName: "stroke-dashoffset",
|
|
1142
|
+
begin: "1.2s",
|
|
1143
|
+
dur: "0.2s",
|
|
1144
|
+
values: "2;0"
|
|
1145
|
+
})
|
|
1146
|
+
]
|
|
1147
|
+
}),
|
|
1148
|
+
/* @__PURE__ */ jsxRuntime.jsxs("path", {
|
|
1149
|
+
"stroke-dasharray": "2",
|
|
1150
|
+
"stroke-dashoffset": "2",
|
|
1151
|
+
d: "M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5",
|
|
1152
|
+
children: [
|
|
1153
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1154
|
+
fill: "freeze",
|
|
1155
|
+
attributeName: "d",
|
|
1156
|
+
begin: "1.4s",
|
|
1157
|
+
dur: "0.2s",
|
|
1158
|
+
values: "M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5;M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5"
|
|
1159
|
+
}),
|
|
1160
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1161
|
+
fill: "freeze",
|
|
1162
|
+
attributeName: "stroke-dashoffset",
|
|
1163
|
+
begin: "1.4s",
|
|
1164
|
+
dur: "0.2s",
|
|
1165
|
+
values: "2;0"
|
|
1166
|
+
})
|
|
1167
|
+
]
|
|
1168
|
+
}),
|
|
1169
|
+
/* @__PURE__ */ jsxRuntime.jsx("animateTransform", {
|
|
1170
|
+
attributeName: "transform",
|
|
1171
|
+
dur: "30s",
|
|
1172
|
+
repeatCount: "indefinite",
|
|
1173
|
+
type: "rotate",
|
|
1174
|
+
values: "0 12 12;360 12 12"
|
|
1175
|
+
})
|
|
1176
|
+
]
|
|
1177
|
+
}),
|
|
1178
|
+
/* @__PURE__ */ jsxRuntime.jsxs("g", {
|
|
1179
|
+
fill: "currentColor",
|
|
1180
|
+
children: [
|
|
1181
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
1182
|
+
d: "M15.22 6.03L17.75 4.09L14.56 4L13.5 1L12.44 4L9.25 4.09L11.78 6.03L10.87 9.09L13.5 7.28L16.13 9.09L15.22 6.03Z",
|
|
1183
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1184
|
+
fill: "freeze",
|
|
1185
|
+
attributeName: "fill-opacity",
|
|
1186
|
+
dur: "0.4s",
|
|
1187
|
+
values: "1;0"
|
|
1188
|
+
})
|
|
1189
|
+
}),
|
|
1190
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
1191
|
+
d: "M19.61 12.25L21.25 11L19.19 10.95L18.5 9L17.81 10.95L15.75 11L17.39 12.25L16.8 14.23L18.5 13.06L20.2 14.23L19.61 12.25Z",
|
|
1192
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1193
|
+
fill: "freeze",
|
|
1194
|
+
attributeName: "fill-opacity",
|
|
1195
|
+
begin: "0.2s",
|
|
1196
|
+
dur: "0.4s",
|
|
1197
|
+
values: "1;0"
|
|
1198
|
+
})
|
|
1199
|
+
})
|
|
1200
|
+
]
|
|
1201
|
+
}),
|
|
1202
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
1203
|
+
fill: "none",
|
|
1204
|
+
stroke: "currentColor",
|
|
1205
|
+
"stroke-linecap": "round",
|
|
1206
|
+
"stroke-linejoin": "round",
|
|
1207
|
+
"stroke-width": "2",
|
|
1208
|
+
d: "M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z",
|
|
1209
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("set", {
|
|
1210
|
+
fill: "freeze",
|
|
1211
|
+
attributeName: "opacity",
|
|
1212
|
+
begin: "0.6s",
|
|
1213
|
+
to: "0"
|
|
1214
|
+
})
|
|
1215
|
+
}),
|
|
1216
|
+
/* @__PURE__ */ jsxRuntime.jsxs("mask", {
|
|
1217
|
+
id: "lineMdMoonToSunnyOutlineLoopTransition0",
|
|
1218
|
+
children: [
|
|
1219
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", {
|
|
1220
|
+
cx: "12",
|
|
1221
|
+
cy: "12",
|
|
1222
|
+
r: "12",
|
|
1223
|
+
fill: "#fff"
|
|
1224
|
+
}),
|
|
1225
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", {
|
|
1226
|
+
cx: "12",
|
|
1227
|
+
cy: "12",
|
|
1228
|
+
r: "8",
|
|
1229
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1230
|
+
fill: "freeze",
|
|
1231
|
+
attributeName: "r",
|
|
1232
|
+
begin: "0.6s",
|
|
1233
|
+
dur: "0.4s",
|
|
1234
|
+
values: "8;4"
|
|
1235
|
+
})
|
|
1236
|
+
}),
|
|
1237
|
+
/* @__PURE__ */ jsxRuntime.jsxs("circle", {
|
|
1238
|
+
cx: "18",
|
|
1239
|
+
cy: "6",
|
|
1240
|
+
r: "12",
|
|
1241
|
+
fill: "#fff",
|
|
1242
|
+
children: [
|
|
1243
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1244
|
+
fill: "freeze",
|
|
1245
|
+
attributeName: "cx",
|
|
1246
|
+
begin: "0.6s",
|
|
1247
|
+
dur: "0.4s",
|
|
1248
|
+
values: "18;22"
|
|
1249
|
+
}),
|
|
1250
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1251
|
+
fill: "freeze",
|
|
1252
|
+
attributeName: "cy",
|
|
1253
|
+
begin: "0.6s",
|
|
1254
|
+
dur: "0.4s",
|
|
1255
|
+
values: "6;2"
|
|
1256
|
+
}),
|
|
1257
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1258
|
+
fill: "freeze",
|
|
1259
|
+
attributeName: "r",
|
|
1260
|
+
begin: "0.6s",
|
|
1261
|
+
dur: "0.4s",
|
|
1262
|
+
values: "12;3"
|
|
1263
|
+
})
|
|
1264
|
+
]
|
|
1265
|
+
}),
|
|
1266
|
+
/* @__PURE__ */ jsxRuntime.jsxs("circle", {
|
|
1267
|
+
cx: "18",
|
|
1268
|
+
cy: "6",
|
|
1269
|
+
r: "10",
|
|
1270
|
+
children: [
|
|
1271
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1272
|
+
fill: "freeze",
|
|
1273
|
+
attributeName: "cx",
|
|
1274
|
+
begin: "0.6s",
|
|
1275
|
+
dur: "0.4s",
|
|
1276
|
+
values: "18;22"
|
|
1277
|
+
}),
|
|
1278
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1279
|
+
fill: "freeze",
|
|
1280
|
+
attributeName: "cy",
|
|
1281
|
+
begin: "0.6s",
|
|
1282
|
+
dur: "0.4s",
|
|
1283
|
+
values: "6;2"
|
|
1284
|
+
}),
|
|
1285
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1286
|
+
fill: "freeze",
|
|
1287
|
+
attributeName: "r",
|
|
1288
|
+
begin: "0.6s",
|
|
1289
|
+
dur: "0.4s",
|
|
1290
|
+
values: "10;1"
|
|
1291
|
+
})
|
|
1292
|
+
]
|
|
1293
|
+
})
|
|
1294
|
+
]
|
|
1295
|
+
}),
|
|
1296
|
+
/* @__PURE__ */ jsxRuntime.jsxs("circle", {
|
|
1297
|
+
cx: "12",
|
|
1298
|
+
cy: "12",
|
|
1299
|
+
r: "10",
|
|
1300
|
+
mask: "url(#lineMdMoonToSunnyOutlineLoopTransition0)",
|
|
1301
|
+
opacity: "0",
|
|
1302
|
+
fill: "currentColor",
|
|
1303
|
+
children: [
|
|
1304
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1305
|
+
fill: "freeze",
|
|
1306
|
+
attributeName: "r",
|
|
1307
|
+
begin: "0.6s",
|
|
1308
|
+
dur: "0.4s",
|
|
1309
|
+
values: "10;6"
|
|
1310
|
+
}),
|
|
1311
|
+
/* @__PURE__ */ jsxRuntime.jsx("set", {
|
|
1312
|
+
fill: "freeze",
|
|
1313
|
+
attributeName: "opacity",
|
|
1314
|
+
begin: "0.6s",
|
|
1315
|
+
to: "1"
|
|
1316
|
+
})
|
|
1317
|
+
]
|
|
1318
|
+
})
|
|
1319
|
+
]
|
|
1320
|
+
}) : /* @__PURE__ */ jsxRuntime.jsxs("svg", {
|
|
1321
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1322
|
+
width: size,
|
|
1323
|
+
height: size,
|
|
1324
|
+
viewBox: "0 0 24 24",
|
|
1325
|
+
class: styles$i.icon,
|
|
1326
|
+
onClick$: toggleTheme,
|
|
1327
|
+
children: [
|
|
1328
|
+
/* @__PURE__ */ jsxRuntime.jsxs("path", {
|
|
1329
|
+
"fill-opacity": "0",
|
|
1330
|
+
d: "M15.22 6.03l2.53-1.94L14.56 4L13.5 1l-1.06 3l-3.19.09l2.53 1.94l-.91 3.06l2.63-1.81l2.63 1.81z",
|
|
1331
|
+
fill: "currentColor",
|
|
1332
|
+
children: [
|
|
1333
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1334
|
+
id: "lineMdSunnyOutlineToMoonLoopTransition0",
|
|
1335
|
+
fill: "freeze",
|
|
1336
|
+
attributeName: "fill-opacity",
|
|
1337
|
+
begin: "0.6s;lineMdSunnyOutlineToMoonLoopTransition0.begin+6s",
|
|
1338
|
+
dur: "0.4s",
|
|
1339
|
+
values: "0;1"
|
|
1340
|
+
}),
|
|
1341
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1342
|
+
fill: "freeze",
|
|
1343
|
+
attributeName: "fill-opacity",
|
|
1344
|
+
begin: "lineMdSunnyOutlineToMoonLoopTransition0.begin+2.2s",
|
|
1345
|
+
dur: "0.4s",
|
|
1346
|
+
values: "1;0"
|
|
1347
|
+
})
|
|
1348
|
+
]
|
|
1349
|
+
}),
|
|
1350
|
+
/* @__PURE__ */ jsxRuntime.jsxs("path", {
|
|
1351
|
+
"fill-opacity": "0",
|
|
1352
|
+
d: "M13.61 5.25L15.25 4l-2.06-.05L12.5 2l-.69 1.95L9.75 4l1.64 1.25l-.59 1.98l1.7-1.17l1.7 1.17z",
|
|
1353
|
+
fill: "currentColor",
|
|
1354
|
+
children: [
|
|
1355
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1356
|
+
fill: "freeze",
|
|
1357
|
+
attributeName: "fill-opacity",
|
|
1358
|
+
begin: "lineMdSunnyOutlineToMoonLoopTransition0.begin+3s",
|
|
1359
|
+
dur: "0.4s",
|
|
1360
|
+
values: "0;1"
|
|
1361
|
+
}),
|
|
1362
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1363
|
+
fill: "freeze",
|
|
1364
|
+
attributeName: "fill-opacity",
|
|
1365
|
+
begin: "lineMdSunnyOutlineToMoonLoopTransition0.begin+5.2s",
|
|
1366
|
+
dur: "0.4s",
|
|
1367
|
+
values: "1;0"
|
|
1368
|
+
})
|
|
1369
|
+
]
|
|
1370
|
+
}),
|
|
1371
|
+
/* @__PURE__ */ jsxRuntime.jsxs("path", {
|
|
1372
|
+
"fill-opacity": "0",
|
|
1373
|
+
d: "M19.61 12.25L21.25 11l-2.06-.05L18.5 9l-.69 1.95l-2.06.05l1.64 1.25l-.59 1.98l1.7-1.17l1.7 1.17z",
|
|
1374
|
+
fill: "currentColor",
|
|
1375
|
+
children: [
|
|
1376
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1377
|
+
fill: "freeze",
|
|
1378
|
+
attributeName: "fill-opacity",
|
|
1379
|
+
begin: "lineMdSunnyOutlineToMoonLoopTransition0.begin+0.4s",
|
|
1380
|
+
dur: "0.4s",
|
|
1381
|
+
values: "0;1"
|
|
1382
|
+
}),
|
|
1383
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1384
|
+
fill: "freeze",
|
|
1385
|
+
attributeName: "fill-opacity",
|
|
1386
|
+
begin: "lineMdSunnyOutlineToMoonLoopTransition0.begin+2.8s",
|
|
1387
|
+
dur: "0.4s",
|
|
1388
|
+
values: "1;0"
|
|
1389
|
+
})
|
|
1390
|
+
]
|
|
1391
|
+
}),
|
|
1392
|
+
/* @__PURE__ */ jsxRuntime.jsxs("path", {
|
|
1393
|
+
"fill-opacity": "0",
|
|
1394
|
+
d: "M20.828 9.731l1.876-1.439l-2.366-.067L19.552 6l-.786 2.225l-2.366.067l1.876 1.439L17.601 12l1.951-1.342L21.503 12z",
|
|
1395
|
+
fill: "currentColor",
|
|
1396
|
+
children: [
|
|
1397
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1398
|
+
fill: "freeze",
|
|
1399
|
+
attributeName: "fill-opacity",
|
|
1400
|
+
begin: "lineMdSunnyOutlineToMoonLoopTransition0.begin+3.4s",
|
|
1401
|
+
dur: "0.4s",
|
|
1402
|
+
values: "0;1"
|
|
1403
|
+
}),
|
|
1404
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1405
|
+
fill: "freeze",
|
|
1406
|
+
attributeName: "fill-opacity",
|
|
1407
|
+
begin: "lineMdSunnyOutlineToMoonLoopTransition0.begin+5.6s",
|
|
1408
|
+
dur: "0.4s",
|
|
1409
|
+
values: "1;0"
|
|
1410
|
+
})
|
|
1411
|
+
]
|
|
1412
|
+
}),
|
|
1413
|
+
/* @__PURE__ */ jsxRuntime.jsxs("g", {
|
|
1414
|
+
fill: "none",
|
|
1415
|
+
stroke: "currentColor",
|
|
1416
|
+
"stroke-linecap": "round",
|
|
1417
|
+
"stroke-linejoin": "round",
|
|
1418
|
+
"stroke-width": "2",
|
|
1419
|
+
children: [
|
|
1420
|
+
/* @__PURE__ */ jsxRuntime.jsxs("g", {
|
|
1421
|
+
children: [
|
|
1422
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
1423
|
+
"stroke-dasharray": "2",
|
|
1424
|
+
"stroke-dashoffset": "4",
|
|
1425
|
+
d: "M12 21v1M21 12h1M12 3v-1M3 12h-1",
|
|
1426
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1427
|
+
fill: "freeze",
|
|
1428
|
+
attributeName: "stroke-dashoffset",
|
|
1429
|
+
dur: "0.2s",
|
|
1430
|
+
values: "4;2"
|
|
1431
|
+
})
|
|
1432
|
+
}),
|
|
1433
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
1434
|
+
"stroke-dasharray": "2",
|
|
1435
|
+
"stroke-dashoffset": "4",
|
|
1436
|
+
d: "M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5",
|
|
1437
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1438
|
+
fill: "freeze",
|
|
1439
|
+
attributeName: "stroke-dashoffset",
|
|
1440
|
+
begin: "0.2s",
|
|
1441
|
+
dur: "0.2s",
|
|
1442
|
+
values: "4;2"
|
|
1443
|
+
})
|
|
1444
|
+
}),
|
|
1445
|
+
/* @__PURE__ */ jsxRuntime.jsx("set", {
|
|
1446
|
+
fill: "freeze",
|
|
1447
|
+
attributeName: "opacity",
|
|
1448
|
+
begin: "0.5s",
|
|
1449
|
+
to: "0"
|
|
1450
|
+
})
|
|
1451
|
+
]
|
|
1452
|
+
}),
|
|
1453
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
1454
|
+
d: "M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z",
|
|
1455
|
+
opacity: "0",
|
|
1456
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("set", {
|
|
1457
|
+
fill: "freeze",
|
|
1458
|
+
attributeName: "opacity",
|
|
1459
|
+
begin: "0.5s",
|
|
1460
|
+
to: "1"
|
|
1461
|
+
})
|
|
1462
|
+
})
|
|
1463
|
+
]
|
|
1464
|
+
}),
|
|
1465
|
+
/* @__PURE__ */ jsxRuntime.jsxs("mask", {
|
|
1466
|
+
id: "lineMdSunnyOutlineToMoonLoopTransition1",
|
|
1467
|
+
children: [
|
|
1468
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", {
|
|
1469
|
+
cx: "12",
|
|
1470
|
+
cy: "12",
|
|
1471
|
+
r: "12",
|
|
1472
|
+
fill: "#fff"
|
|
1473
|
+
}),
|
|
1474
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", {
|
|
1475
|
+
cx: "12",
|
|
1476
|
+
cy: "12",
|
|
1477
|
+
r: "4",
|
|
1478
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1479
|
+
fill: "freeze",
|
|
1480
|
+
attributeName: "r",
|
|
1481
|
+
begin: "0.1s",
|
|
1482
|
+
dur: "0.4s",
|
|
1483
|
+
values: "4;8"
|
|
1484
|
+
})
|
|
1485
|
+
}),
|
|
1486
|
+
/* @__PURE__ */ jsxRuntime.jsxs("circle", {
|
|
1487
|
+
cx: "22",
|
|
1488
|
+
cy: "2",
|
|
1489
|
+
r: "3",
|
|
1490
|
+
fill: "#fff",
|
|
1491
|
+
children: [
|
|
1492
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1493
|
+
fill: "freeze",
|
|
1494
|
+
attributeName: "cx",
|
|
1495
|
+
begin: "0.1s",
|
|
1496
|
+
dur: "0.4s",
|
|
1497
|
+
values: "22;18"
|
|
1498
|
+
}),
|
|
1499
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1500
|
+
fill: "freeze",
|
|
1501
|
+
attributeName: "cy",
|
|
1502
|
+
begin: "0.1s",
|
|
1503
|
+
dur: "0.4s",
|
|
1504
|
+
values: "2;6"
|
|
1505
|
+
}),
|
|
1506
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1507
|
+
fill: "freeze",
|
|
1508
|
+
attributeName: "r",
|
|
1509
|
+
begin: "0.1s",
|
|
1510
|
+
dur: "0.4s",
|
|
1511
|
+
values: "3;12"
|
|
1512
|
+
})
|
|
1513
|
+
]
|
|
1514
|
+
}),
|
|
1515
|
+
/* @__PURE__ */ jsxRuntime.jsxs("circle", {
|
|
1516
|
+
cx: "22",
|
|
1517
|
+
cy: "2",
|
|
1518
|
+
r: "1",
|
|
1519
|
+
children: [
|
|
1520
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1521
|
+
fill: "freeze",
|
|
1522
|
+
attributeName: "cx",
|
|
1523
|
+
begin: "0.1s",
|
|
1524
|
+
dur: "0.4s",
|
|
1525
|
+
values: "22;18"
|
|
1526
|
+
}),
|
|
1527
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1528
|
+
fill: "freeze",
|
|
1529
|
+
attributeName: "cy",
|
|
1530
|
+
begin: "0.1s",
|
|
1531
|
+
dur: "0.4s",
|
|
1532
|
+
values: "2;6"
|
|
1533
|
+
}),
|
|
1534
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1535
|
+
fill: "freeze",
|
|
1536
|
+
attributeName: "r",
|
|
1537
|
+
begin: "0.1s",
|
|
1538
|
+
dur: "0.4s",
|
|
1539
|
+
values: "1;10"
|
|
1540
|
+
})
|
|
1541
|
+
]
|
|
1542
|
+
})
|
|
1543
|
+
]
|
|
1544
|
+
}),
|
|
1545
|
+
/* @__PURE__ */ jsxRuntime.jsxs("circle", {
|
|
1546
|
+
cx: "12",
|
|
1547
|
+
cy: "12",
|
|
1548
|
+
r: "6",
|
|
1549
|
+
mask: "url(#lineMdSunnyOutlineToMoonLoopTransition1)",
|
|
1550
|
+
fill: "currentColor",
|
|
1551
|
+
children: [
|
|
1552
|
+
/* @__PURE__ */ jsxRuntime.jsx("animate", {
|
|
1553
|
+
fill: "freeze",
|
|
1554
|
+
attributeName: "r",
|
|
1555
|
+
begin: "0.1s",
|
|
1556
|
+
dur: "0.4s",
|
|
1557
|
+
values: "6;10"
|
|
1558
|
+
}),
|
|
1559
|
+
/* @__PURE__ */ jsxRuntime.jsx("set", {
|
|
1560
|
+
fill: "freeze",
|
|
1561
|
+
attributeName: "opacity",
|
|
1562
|
+
begin: "0.5s",
|
|
1563
|
+
to: "0"
|
|
1564
|
+
})
|
|
1565
|
+
]
|
|
1566
|
+
})
|
|
1567
|
+
]
|
|
1568
|
+
})
|
|
1569
|
+
});
|
|
1570
|
+
});
|
|
1063
1571
|
const image$1 = "_image_5s2ag_11";
|
|
1064
1572
|
const fallback = "_fallback_5s2ag_33";
|
|
1065
|
-
const styles$
|
|
1573
|
+
const styles$h = {
|
|
1066
1574
|
"block-image": "_block-image_5s2ag_1",
|
|
1067
1575
|
"image-container": "_image-container_5s2ag_11",
|
|
1068
1576
|
image: image$1,
|
|
@@ -1082,7 +1590,7 @@ const ElmBlockImage = qwik.component$(({ src, alt, caption: caption2, width, hei
|
|
|
1082
1590
|
}
|
|
1083
1591
|
});
|
|
1084
1592
|
const ImageComponent = /* @__PURE__ */ jsxRuntime.jsx("img", {
|
|
1085
|
-
class: styles$
|
|
1593
|
+
class: styles$h.image,
|
|
1086
1594
|
src,
|
|
1087
1595
|
alt: alt ?? caption2 ?? "Image",
|
|
1088
1596
|
width,
|
|
@@ -1095,7 +1603,7 @@ const ElmBlockImage = qwik.component$(({ src, alt, caption: caption2, width, hei
|
|
|
1095
1603
|
}
|
|
1096
1604
|
});
|
|
1097
1605
|
const Modal = /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1098
|
-
class: styles$
|
|
1606
|
+
class: styles$h["modal-container"],
|
|
1099
1607
|
style: {
|
|
1100
1608
|
pointerEvents: isShowModal.value ? "auto" : "none",
|
|
1101
1609
|
"--opacity": isShowModal.value ? 1 : 0
|
|
@@ -1104,10 +1612,10 @@ const ElmBlockImage = qwik.component$(({ src, alt, caption: caption2, width, hei
|
|
|
1104
1612
|
children: ImageComponent
|
|
1105
1613
|
});
|
|
1106
1614
|
return /* @__PURE__ */ jsxRuntime.jsxs("figure", {
|
|
1107
|
-
class: styles$
|
|
1615
|
+
class: styles$h["block-image"],
|
|
1108
1616
|
children: [
|
|
1109
1617
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1110
|
-
class: styles$
|
|
1618
|
+
class: styles$h["image-container"],
|
|
1111
1619
|
style: {
|
|
1112
1620
|
"--opacity": isLoading.value ? 1 : 0
|
|
1113
1621
|
},
|
|
@@ -1115,13 +1623,13 @@ const ElmBlockImage = qwik.component$(({ src, alt, caption: caption2, width, hei
|
|
|
1115
1623
|
children: [
|
|
1116
1624
|
ImageComponent,
|
|
1117
1625
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1118
|
-
class: styles$
|
|
1626
|
+
class: styles$h.fallback,
|
|
1119
1627
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmRectangleWave, {})
|
|
1120
1628
|
})
|
|
1121
1629
|
]
|
|
1122
1630
|
}),
|
|
1123
1631
|
caption2 && /* @__PURE__ */ jsxRuntime.jsxs("figcaption", {
|
|
1124
|
-
class: styles$
|
|
1632
|
+
class: styles$h["caption-box"],
|
|
1125
1633
|
style: {
|
|
1126
1634
|
"--opacity": isLoading.value ? 0 : 1
|
|
1127
1635
|
},
|
|
@@ -1147,7 +1655,7 @@ const ElmBlockImage = qwik.component$(({ src, alt, caption: caption2, width, hei
|
|
|
1147
1655
|
});
|
|
1148
1656
|
});
|
|
1149
1657
|
const file = "_file_14a0w_1";
|
|
1150
|
-
const styles$
|
|
1658
|
+
const styles$g = {
|
|
1151
1659
|
file,
|
|
1152
1660
|
"file-size": "_file-size_14a0w_16",
|
|
1153
1661
|
"download-icon": "_download-icon_14a0w_21"
|
|
@@ -1175,7 +1683,7 @@ const ElmFile = qwik.component$(({ name, src, filesize }) => {
|
|
|
1175
1683
|
}
|
|
1176
1684
|
});
|
|
1177
1685
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1178
|
-
class: styles$
|
|
1686
|
+
class: styles$g.file,
|
|
1179
1687
|
children: [
|
|
1180
1688
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1181
1689
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
@@ -1189,13 +1697,13 @@ const ElmFile = qwik.component$(({ name, src, filesize }) => {
|
|
|
1189
1697
|
})
|
|
1190
1698
|
}),
|
|
1191
1699
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1192
|
-
class: styles$
|
|
1700
|
+
class: styles$g["file-size"],
|
|
1193
1701
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
1194
1702
|
children: filesize
|
|
1195
1703
|
})
|
|
1196
1704
|
}),
|
|
1197
1705
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1198
|
-
class: styles$
|
|
1706
|
+
class: styles$g["download-icon"],
|
|
1199
1707
|
onClick$: downloadFile,
|
|
1200
1708
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
1201
1709
|
d: js.mdiDownload,
|
|
@@ -1212,7 +1720,7 @@ const content$1 = "_content_rgq1s_53";
|
|
|
1212
1720
|
const title = "_title_rgq1s_73";
|
|
1213
1721
|
const description = "_description_rgq1s_76";
|
|
1214
1722
|
const link = "_link_rgq1s_80";
|
|
1215
|
-
const styles$
|
|
1723
|
+
const styles$f = {
|
|
1216
1724
|
bookmark,
|
|
1217
1725
|
container: container$1,
|
|
1218
1726
|
image,
|
|
@@ -1223,37 +1731,37 @@ const styles$e = {
|
|
|
1223
1731
|
};
|
|
1224
1732
|
const ElmBookmark = qwik.component$(({ url, image: image2, title: title2, description: description2, favicon }) => {
|
|
1225
1733
|
return /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1226
|
-
class: styles$
|
|
1734
|
+
class: styles$f.bookmark,
|
|
1227
1735
|
children: /* @__PURE__ */ jsxRuntime.jsxs("a", {
|
|
1228
|
-
class: styles$
|
|
1736
|
+
class: styles$f.container,
|
|
1229
1737
|
href: url,
|
|
1230
1738
|
target: "_blank",
|
|
1231
1739
|
rel: "noopener noreferrer",
|
|
1232
1740
|
children: [
|
|
1233
1741
|
/* @__PURE__ */ jsxRuntime.jsx("img", {
|
|
1234
|
-
class: styles$
|
|
1742
|
+
class: styles$f.image,
|
|
1235
1743
|
src: image2,
|
|
1236
1744
|
alt: "OGP Image"
|
|
1237
1745
|
}),
|
|
1238
1746
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1239
|
-
class: styles$
|
|
1747
|
+
class: styles$f.content,
|
|
1240
1748
|
children: [
|
|
1241
1749
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1242
|
-
class: styles$
|
|
1750
|
+
class: styles$f.title,
|
|
1243
1751
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
1244
1752
|
bold: true,
|
|
1245
1753
|
children: title2
|
|
1246
1754
|
})
|
|
1247
1755
|
}),
|
|
1248
1756
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1249
|
-
class: styles$
|
|
1757
|
+
class: styles$f.description,
|
|
1250
1758
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
1251
1759
|
size: "0.75rem",
|
|
1252
1760
|
children: description2
|
|
1253
1761
|
})
|
|
1254
1762
|
}),
|
|
1255
1763
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1256
|
-
class: styles$
|
|
1764
|
+
class: styles$f.link,
|
|
1257
1765
|
children: [
|
|
1258
1766
|
favicon ? /* @__PURE__ */ jsxRuntime.jsx(ElmInlineIcon, {
|
|
1259
1767
|
src: favicon
|
|
@@ -1275,22 +1783,22 @@ const ElmBookmark = qwik.component$(({ url, image: image2, title: title2, descri
|
|
|
1275
1783
|
});
|
|
1276
1784
|
const container = "_container_xsa12_1";
|
|
1277
1785
|
const text$1 = "_text_xsa12_30";
|
|
1278
|
-
const styles$
|
|
1786
|
+
const styles$e = {
|
|
1279
1787
|
container,
|
|
1280
1788
|
"link-container": "_link-container_xsa12_10",
|
|
1281
1789
|
text: text$1
|
|
1282
1790
|
};
|
|
1283
1791
|
const ElmBreadcrumb = qwik.component$(({ links }) => {
|
|
1284
1792
|
return /* @__PURE__ */ jsxRuntime.jsx("nav", {
|
|
1285
|
-
class: styles$
|
|
1793
|
+
class: styles$e.container,
|
|
1286
1794
|
children: links.map((link2, index) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
1287
1795
|
children: [
|
|
1288
1796
|
/* @__PURE__ */ jsxRuntime.jsxs("span", {
|
|
1289
|
-
class: styles$
|
|
1797
|
+
class: styles$e["link-container"],
|
|
1290
1798
|
onClick$: link2.onClick$,
|
|
1291
1799
|
children: [
|
|
1292
1800
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1293
|
-
class: styles$
|
|
1801
|
+
class: styles$e.icon,
|
|
1294
1802
|
style: {
|
|
1295
1803
|
"--delay": `${index * 100}ms`
|
|
1296
1804
|
},
|
|
@@ -1300,7 +1808,7 @@ const ElmBreadcrumb = qwik.component$(({ links }) => {
|
|
|
1300
1808
|
})
|
|
1301
1809
|
}),
|
|
1302
1810
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1303
|
-
class: styles$
|
|
1811
|
+
class: styles$e.text,
|
|
1304
1812
|
style: {
|
|
1305
1813
|
"--delay": `${index * 100 + 50}ms`
|
|
1306
1814
|
},
|
|
@@ -1311,7 +1819,7 @@ const ElmBreadcrumb = qwik.component$(({ links }) => {
|
|
|
1311
1819
|
]
|
|
1312
1820
|
}),
|
|
1313
1821
|
links.length !== index + 1 && /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1314
|
-
class: styles$
|
|
1822
|
+
class: styles$e.text,
|
|
1315
1823
|
style: {
|
|
1316
1824
|
"--delay": `${index * 100 + 100}ms`
|
|
1317
1825
|
},
|
|
@@ -1328,7 +1836,7 @@ const ElmBreadcrumb = qwik.component$(({ links }) => {
|
|
|
1328
1836
|
const wrapper = "_wrapper_nud26_1";
|
|
1329
1837
|
const partial = "_partial_nud26_52";
|
|
1330
1838
|
const text = "_text_nud26_85";
|
|
1331
|
-
const styles$
|
|
1839
|
+
const styles$d = {
|
|
1332
1840
|
wrapper,
|
|
1333
1841
|
"wrapper--visible": "_wrapper--visible_nud26_20",
|
|
1334
1842
|
partial,
|
|
@@ -1356,9 +1864,9 @@ const ElmPageTop = qwik.component$(({ position = "right" }) => {
|
|
|
1356
1864
|
});
|
|
1357
1865
|
return /* @__PURE__ */ jsxRuntime.jsxs("nav", {
|
|
1358
1866
|
class: [
|
|
1359
|
-
styles$
|
|
1867
|
+
styles$d.wrapper,
|
|
1360
1868
|
{
|
|
1361
|
-
[styles$
|
|
1869
|
+
[styles$d["wrapper--visible"]]: isVisible.value
|
|
1362
1870
|
}
|
|
1363
1871
|
],
|
|
1364
1872
|
style: {
|
|
@@ -1370,18 +1878,18 @@ const ElmPageTop = qwik.component$(({ position = "right" }) => {
|
|
|
1370
1878
|
children: [
|
|
1371
1879
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1372
1880
|
"aria-hidden": "true",
|
|
1373
|
-
class: styles$
|
|
1881
|
+
class: styles$d.partial
|
|
1374
1882
|
}),
|
|
1375
1883
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1376
1884
|
"aria-hidden": "true",
|
|
1377
|
-
class: styles$
|
|
1885
|
+
class: styles$d.partial
|
|
1378
1886
|
}),
|
|
1379
1887
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1380
1888
|
"aria-hidden": "true",
|
|
1381
|
-
class: styles$
|
|
1889
|
+
class: styles$d.partial
|
|
1382
1890
|
}),
|
|
1383
1891
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1384
|
-
class: styles$
|
|
1892
|
+
class: styles$d.text,
|
|
1385
1893
|
children: "Back to Top"
|
|
1386
1894
|
})
|
|
1387
1895
|
]
|
|
@@ -1390,7 +1898,7 @@ const ElmPageTop = qwik.component$(({ position = "right" }) => {
|
|
|
1390
1898
|
const blockquote = "_blockquote_b5jd8_1";
|
|
1391
1899
|
const body = "_body_b5jd8_18";
|
|
1392
1900
|
const icon = "_icon_b5jd8_23";
|
|
1393
|
-
const styles$
|
|
1901
|
+
const styles$c = {
|
|
1394
1902
|
blockquote,
|
|
1395
1903
|
body,
|
|
1396
1904
|
icon
|
|
@@ -1398,13 +1906,13 @@ const styles$b = {
|
|
|
1398
1906
|
const ElmBlockQuote = qwik.component$(({ cite }) => {
|
|
1399
1907
|
return /* @__PURE__ */ jsxRuntime.jsxs("blockquote", {
|
|
1400
1908
|
class: [
|
|
1401
|
-
styles$
|
|
1909
|
+
styles$c.blockquote,
|
|
1402
1910
|
textStyles.text
|
|
1403
1911
|
],
|
|
1404
1912
|
cite,
|
|
1405
1913
|
children: [
|
|
1406
1914
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1407
|
-
class: styles$
|
|
1915
|
+
class: styles$c.icon,
|
|
1408
1916
|
style: {
|
|
1409
1917
|
"--inset": "0.25rem auto auto 0.5rem"
|
|
1410
1918
|
},
|
|
@@ -1413,11 +1921,11 @@ const ElmBlockQuote = qwik.component$(({ cite }) => {
|
|
|
1413
1921
|
})
|
|
1414
1922
|
}),
|
|
1415
1923
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1416
|
-
class: styles$
|
|
1924
|
+
class: styles$c.body,
|
|
1417
1925
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
1418
1926
|
}),
|
|
1419
1927
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1420
|
-
class: styles$
|
|
1928
|
+
class: styles$c.icon,
|
|
1421
1929
|
style: {
|
|
1422
1930
|
"--inset": "auto 0.25rem 0.25rem auto"
|
|
1423
1931
|
},
|
|
@@ -1431,7 +1939,7 @@ const ElmBlockQuote = qwik.component$(({ cite }) => {
|
|
|
1431
1939
|
const callout = "_callout_1d8l2_1";
|
|
1432
1940
|
const header = "_header_1d8l2_25";
|
|
1433
1941
|
const content = "_content_1d8l2_31";
|
|
1434
|
-
const styles$
|
|
1942
|
+
const styles$b = {
|
|
1435
1943
|
callout,
|
|
1436
1944
|
header,
|
|
1437
1945
|
content
|
|
@@ -1460,13 +1968,13 @@ const COLOR_MAP = Object.freeze({
|
|
|
1460
1968
|
});
|
|
1461
1969
|
const ElmCallout = qwik.component$(({ type = "note" }) => {
|
|
1462
1970
|
return /* @__PURE__ */ jsxRuntime.jsxs("aside", {
|
|
1463
|
-
class: styles$
|
|
1971
|
+
class: styles$b.callout,
|
|
1464
1972
|
style: {
|
|
1465
1973
|
"--callout-color": COLOR_MAP[type].code
|
|
1466
1974
|
},
|
|
1467
1975
|
children: [
|
|
1468
1976
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1469
|
-
class: styles$
|
|
1977
|
+
class: styles$b.header,
|
|
1470
1978
|
children: [
|
|
1471
1979
|
/* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
1472
1980
|
d: COLOR_MAP[type].icon,
|
|
@@ -1479,26 +1987,26 @@ const ElmCallout = qwik.component$(({ type = "note" }) => {
|
|
|
1479
1987
|
]
|
|
1480
1988
|
}),
|
|
1481
1989
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1482
|
-
class: styles$
|
|
1990
|
+
class: styles$b.content,
|
|
1483
1991
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
1484
1992
|
})
|
|
1485
1993
|
]
|
|
1486
1994
|
});
|
|
1487
1995
|
});
|
|
1488
1996
|
const hr = "_hr_1g58p_1";
|
|
1489
|
-
const styles$
|
|
1997
|
+
const styles$a = {
|
|
1490
1998
|
hr
|
|
1491
1999
|
};
|
|
1492
2000
|
const ElmDivider = qwik.component$(({ margin }) => {
|
|
1493
2001
|
return /* @__PURE__ */ jsxRuntime.jsx("hr", {
|
|
1494
|
-
class: styles$
|
|
2002
|
+
class: styles$a.hr,
|
|
1495
2003
|
style: {
|
|
1496
2004
|
marginBlock: margin
|
|
1497
2005
|
}
|
|
1498
2006
|
});
|
|
1499
2007
|
});
|
|
1500
2008
|
const fragment = "_fragment_1kofp_1";
|
|
1501
|
-
const styles$
|
|
2009
|
+
const styles$9 = {
|
|
1502
2010
|
fragment
|
|
1503
2011
|
};
|
|
1504
2012
|
const ElmFragmentIdentifier = qwik.component$(({ id }) => {
|
|
@@ -1514,7 +2022,7 @@ const ElmFragmentIdentifier = qwik.component$(({ id }) => {
|
|
|
1514
2022
|
}
|
|
1515
2023
|
});
|
|
1516
2024
|
return /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1517
|
-
class: styles$
|
|
2025
|
+
class: styles$9.fragment,
|
|
1518
2026
|
onClick$: () => handleHashClick(id),
|
|
1519
2027
|
children: "#"
|
|
1520
2028
|
});
|
|
@@ -1526,7 +2034,7 @@ const h3 = "_h3_16jof_85";
|
|
|
1526
2034
|
const h4 = "_h4_16jof_102";
|
|
1527
2035
|
const h5 = "_h5_16jof_106";
|
|
1528
2036
|
const h6 = "_h6_16jof_110";
|
|
1529
|
-
const styles$
|
|
2037
|
+
const styles$8 = {
|
|
1530
2038
|
"heading-common": "_heading-common_16jof_1",
|
|
1531
2039
|
h1,
|
|
1532
2040
|
h2,
|
|
@@ -1548,9 +2056,9 @@ const ElmHeading = qwik.component$(({ level, text: text2, id }) => {
|
|
|
1548
2056
|
const Tag = `h${level}`;
|
|
1549
2057
|
return /* @__PURE__ */ jsxRuntime.jsxs(Tag, {
|
|
1550
2058
|
class: [
|
|
1551
|
-
styles$
|
|
2059
|
+
styles$8["heading-common"],
|
|
1552
2060
|
textStyles.text,
|
|
1553
|
-
styles$
|
|
2061
|
+
styles$8[`h${level}`]
|
|
1554
2062
|
],
|
|
1555
2063
|
style: {
|
|
1556
2064
|
"--font-size": `${SIZE_MAP[level]}em`
|
|
@@ -1569,13 +2077,13 @@ const ElmHeading = qwik.component$(({ level, text: text2, id }) => {
|
|
|
1569
2077
|
})
|
|
1570
2078
|
}),
|
|
1571
2079
|
level === 2 && /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1572
|
-
class: styles$
|
|
2080
|
+
class: styles$8["h2__underline"],
|
|
1573
2081
|
"aria-hidden": "true"
|
|
1574
2082
|
})
|
|
1575
2083
|
]
|
|
1576
2084
|
});
|
|
1577
2085
|
});
|
|
1578
|
-
const styles$
|
|
2086
|
+
const styles$7 = {
|
|
1579
2087
|
"elmethis-list-common": "_elmethis-list-common_14epx_1",
|
|
1580
2088
|
"elmethis-bulleted-list": "_elmethis-bulleted-list_14epx_9",
|
|
1581
2089
|
"elmethis-numbered-list": "_elmethis-numbered-list_14epx_24"
|
|
@@ -1585,8 +2093,8 @@ const ElmList = qwik.component$(({ listStyle = "unordered" }) => {
|
|
|
1585
2093
|
return /* @__PURE__ */ jsxRuntime.jsx("ol", {
|
|
1586
2094
|
class: [
|
|
1587
2095
|
textStyles.text,
|
|
1588
|
-
styles$
|
|
1589
|
-
styles$
|
|
2096
|
+
styles$7["elmethis-list-common"],
|
|
2097
|
+
styles$7["elmethis-numbered-list"]
|
|
1590
2098
|
],
|
|
1591
2099
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
1592
2100
|
});
|
|
@@ -1594,15 +2102,15 @@ const ElmList = qwik.component$(({ listStyle = "unordered" }) => {
|
|
|
1594
2102
|
return /* @__PURE__ */ jsxRuntime.jsx("ul", {
|
|
1595
2103
|
class: [
|
|
1596
2104
|
textStyles.text,
|
|
1597
|
-
styles$
|
|
1598
|
-
styles$
|
|
2105
|
+
styles$7["elmethis-list-common"],
|
|
2106
|
+
styles$7["elmethis-bulleted-list"]
|
|
1599
2107
|
],
|
|
1600
2108
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
1601
2109
|
});
|
|
1602
2110
|
}
|
|
1603
2111
|
});
|
|
1604
2112
|
const paragraph = "_paragraph_jz10s_1";
|
|
1605
|
-
const styles$
|
|
2113
|
+
const styles$6 = {
|
|
1606
2114
|
paragraph
|
|
1607
2115
|
};
|
|
1608
2116
|
const useInView = (props) => {
|
|
@@ -1629,7 +2137,7 @@ const ElmParagraph = qwik.component$(({ color, backgroundColor }) => {
|
|
|
1629
2137
|
return /* @__PURE__ */ jsxRuntime.jsx("p", {
|
|
1630
2138
|
ref,
|
|
1631
2139
|
class: [
|
|
1632
|
-
styles$
|
|
2140
|
+
styles$6.paragraph,
|
|
1633
2141
|
textStyles.text
|
|
1634
2142
|
],
|
|
1635
2143
|
style: {
|
|
@@ -1643,7 +2151,7 @@ const ElmParagraph = qwik.component$(({ color, backgroundColor }) => {
|
|
|
1643
2151
|
const table = "_table_x2nyq_1";
|
|
1644
2152
|
const caption = "_caption_x2nyq_8";
|
|
1645
2153
|
const spacing = "_spacing_x2nyq_25";
|
|
1646
|
-
const styles$
|
|
2154
|
+
const styles$5 = {
|
|
1647
2155
|
table,
|
|
1648
2156
|
caption,
|
|
1649
2157
|
"caption-inner": "_caption-inner_x2nyq_18",
|
|
@@ -1656,7 +2164,7 @@ const ElmTable = qwik.component$((props) => {
|
|
|
1656
2164
|
qwik.useContextProvider(HasRowHeaderContext, hasRowHeaderComputed);
|
|
1657
2165
|
return /* @__PURE__ */ jsxRuntime.jsxs("table", {
|
|
1658
2166
|
class: [
|
|
1659
|
-
styles$
|
|
2167
|
+
styles$5.table,
|
|
1660
2168
|
textStyles.text
|
|
1661
2169
|
],
|
|
1662
2170
|
style: {
|
|
@@ -1665,13 +2173,13 @@ const ElmTable = qwik.component$((props) => {
|
|
|
1665
2173
|
children: [
|
|
1666
2174
|
caption2 && /* @__PURE__ */ jsxRuntime.jsx("caption", {
|
|
1667
2175
|
children: /* @__PURE__ */ jsxRuntime.jsxs("span", {
|
|
1668
|
-
class: styles$
|
|
2176
|
+
class: styles$5.caption,
|
|
1669
2177
|
children: [
|
|
1670
2178
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1671
|
-
class: styles$
|
|
2179
|
+
class: styles$5.spacing
|
|
1672
2180
|
}),
|
|
1673
2181
|
/* @__PURE__ */ jsxRuntime.jsxs("span", {
|
|
1674
|
-
class: styles$
|
|
2182
|
+
class: styles$5["caption-inner"],
|
|
1675
2183
|
children: [
|
|
1676
2184
|
/* @__PURE__ */ jsxRuntime.jsx("svg", {
|
|
1677
2185
|
viewBox: "0 0 24 24",
|
|
@@ -1688,7 +2196,7 @@ const ElmTable = qwik.component$((props) => {
|
|
|
1688
2196
|
]
|
|
1689
2197
|
}),
|
|
1690
2198
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1691
|
-
class: styles$
|
|
2199
|
+
class: styles$5.spacing
|
|
1692
2200
|
})
|
|
1693
2201
|
]
|
|
1694
2202
|
})
|
|
@@ -1698,14 +2206,14 @@ const ElmTable = qwik.component$((props) => {
|
|
|
1698
2206
|
});
|
|
1699
2207
|
});
|
|
1700
2208
|
const thead = "_thead_1brzu_1";
|
|
1701
|
-
const styles$
|
|
2209
|
+
const styles$4 = {
|
|
1702
2210
|
thead
|
|
1703
2211
|
};
|
|
1704
2212
|
const HasHeaderContext = qwik.createContextId("HasHeaderContext");
|
|
1705
2213
|
const ElmTableHeader = qwik.component$(() => {
|
|
1706
2214
|
qwik.useContextProvider(HasHeaderContext, true);
|
|
1707
2215
|
return /* @__PURE__ */ jsxRuntime.jsx("thead", {
|
|
1708
|
-
class: styles$
|
|
2216
|
+
class: styles$4.thead,
|
|
1709
2217
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
1710
2218
|
});
|
|
1711
2219
|
});
|
|
@@ -1716,7 +2224,7 @@ const ElmTableBody = qwik.component$(() => {
|
|
|
1716
2224
|
});
|
|
1717
2225
|
});
|
|
1718
2226
|
const tr = "_tr_2ogbz_1";
|
|
1719
|
-
const styles$
|
|
2227
|
+
const styles$3 = {
|
|
1720
2228
|
tr,
|
|
1721
2229
|
"has-row-header": "_has-row-header_2ogbz_20"
|
|
1722
2230
|
};
|
|
@@ -1724,8 +2232,8 @@ const ElmTableRow = qwik.component$(() => {
|
|
|
1724
2232
|
const hasRowHeader = qwik.useContext(HasRowHeaderContext);
|
|
1725
2233
|
return /* @__PURE__ */ jsxRuntime.jsx("tr", {
|
|
1726
2234
|
class: [
|
|
1727
|
-
styles$
|
|
1728
|
-
hasRowHeader.value && styles$
|
|
2235
|
+
styles$3.tr,
|
|
2236
|
+
hasRowHeader.value && styles$3["has-row-header"]
|
|
1729
2237
|
],
|
|
1730
2238
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
1731
2239
|
});
|
|
@@ -1733,7 +2241,7 @@ const ElmTableRow = qwik.component$(() => {
|
|
|
1733
2241
|
const common = "_common_1puhv_1";
|
|
1734
2242
|
const td = "_td_1puhv_24";
|
|
1735
2243
|
const th = "_th_1puhv_31";
|
|
1736
|
-
const styles$
|
|
2244
|
+
const styles$2 = {
|
|
1737
2245
|
common,
|
|
1738
2246
|
td,
|
|
1739
2247
|
th
|
|
@@ -1745,21 +2253,21 @@ const ElmTableCell = qwik.component$((props) => {
|
|
|
1745
2253
|
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
1746
2254
|
children: isHeader ? /* @__PURE__ */ jsxRuntime.jsx("th", {
|
|
1747
2255
|
class: [
|
|
1748
|
-
styles$
|
|
1749
|
-
styles$
|
|
2256
|
+
styles$2.common,
|
|
2257
|
+
styles$2.th
|
|
1750
2258
|
],
|
|
1751
2259
|
children: text2 ? text2 : /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
1752
2260
|
}) : /* @__PURE__ */ jsxRuntime.jsx("td", {
|
|
1753
2261
|
class: [
|
|
1754
|
-
styles$
|
|
1755
|
-
styles$
|
|
2262
|
+
styles$2.common,
|
|
2263
|
+
styles$2.td
|
|
1756
2264
|
],
|
|
1757
2265
|
children: text2 ? text2 : /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
1758
2266
|
})
|
|
1759
2267
|
});
|
|
1760
2268
|
});
|
|
1761
2269
|
const column = "_column_1l2bp_7";
|
|
1762
|
-
const styles = {
|
|
2270
|
+
const styles$1 = {
|
|
1763
2271
|
"jarkup-body": "_jarkup-body_1l2bp_1",
|
|
1764
2272
|
"column-list": "_column-list_1l2bp_7",
|
|
1765
2273
|
column
|
|
@@ -1900,12 +2408,12 @@ const ElmJarkup = qwik.component$((props) => {
|
|
|
1900
2408
|
}, key);
|
|
1901
2409
|
case "ColumnList":
|
|
1902
2410
|
return /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1903
|
-
class: styles["column-list"],
|
|
2411
|
+
class: styles$1["column-list"],
|
|
1904
2412
|
children: render(component.slots.default)
|
|
1905
2413
|
}, key);
|
|
1906
2414
|
case "Column":
|
|
1907
2415
|
return /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1908
|
-
class: styles.column,
|
|
2416
|
+
class: styles$1.column,
|
|
1909
2417
|
style: {
|
|
1910
2418
|
"--width-ratio": component.props?.widthRatio || 1,
|
|
1911
2419
|
width: component.props?.widthRatio ? `${component.props.widthRatio * 100}%` : void 0
|
|
@@ -1927,10 +2435,175 @@ const ElmJarkup = qwik.component$((props) => {
|
|
|
1927
2435
|
});
|
|
1928
2436
|
};
|
|
1929
2437
|
return /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1930
|
-
class: styles["jarkup-body"],
|
|
2438
|
+
class: styles$1["jarkup-body"],
|
|
1931
2439
|
children: render(props.jsonComponents)
|
|
1932
2440
|
});
|
|
1933
2441
|
});
|
|
2442
|
+
const styles = {
|
|
2443
|
+
"markdown-body": "_markdown-body_11s6o_1"
|
|
2444
|
+
};
|
|
2445
|
+
const renderByToken = (tokens) => {
|
|
2446
|
+
const results = [];
|
|
2447
|
+
for (const token of tokens) {
|
|
2448
|
+
switch (token.type) {
|
|
2449
|
+
case "blockquote":
|
|
2450
|
+
if (token.tokens && token.tokens.length !== 0) {
|
|
2451
|
+
results.push(/* @__PURE__ */ jsxRuntime.jsx(ElmBlockQuote, {
|
|
2452
|
+
children: renderByToken(token.tokens)
|
|
2453
|
+
}));
|
|
2454
|
+
}
|
|
2455
|
+
break;
|
|
2456
|
+
case "br":
|
|
2457
|
+
results.push(/* @__PURE__ */ jsxRuntime.jsx("br", {}));
|
|
2458
|
+
break;
|
|
2459
|
+
case "code":
|
|
2460
|
+
results.push(/* @__PURE__ */ jsxRuntime.jsx(ElmCodeBlock, {
|
|
2461
|
+
code: token.text.trim(),
|
|
2462
|
+
language: token.lang
|
|
2463
|
+
}));
|
|
2464
|
+
break;
|
|
2465
|
+
case "codespan":
|
|
2466
|
+
results.push(/* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
2467
|
+
text: token.text,
|
|
2468
|
+
code: true
|
|
2469
|
+
}));
|
|
2470
|
+
break;
|
|
2471
|
+
case "def":
|
|
2472
|
+
break;
|
|
2473
|
+
case "del":
|
|
2474
|
+
results.push(token.tokens && token.tokens.length !== 0 ? /* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
2475
|
+
strikethrough: true,
|
|
2476
|
+
children: renderByToken(token.tokens)
|
|
2477
|
+
}) : /* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
2478
|
+
text: token.text,
|
|
2479
|
+
strikethrough: true
|
|
2480
|
+
}));
|
|
2481
|
+
break;
|
|
2482
|
+
case "em":
|
|
2483
|
+
results.push(token.tokens && token.tokens.length !== 0 ? /* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
2484
|
+
italic: true,
|
|
2485
|
+
children: renderByToken(token.tokens)
|
|
2486
|
+
}) : /* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
2487
|
+
text: token.text,
|
|
2488
|
+
italic: true
|
|
2489
|
+
}));
|
|
2490
|
+
break;
|
|
2491
|
+
case "escape":
|
|
2492
|
+
break;
|
|
2493
|
+
case "heading": {
|
|
2494
|
+
const level = token.depth;
|
|
2495
|
+
if (token.tokens && token.tokens.length !== 0) {
|
|
2496
|
+
results.push(/* @__PURE__ */ jsxRuntime.jsx(ElmHeading, {
|
|
2497
|
+
level,
|
|
2498
|
+
children: renderByToken(token.tokens)
|
|
2499
|
+
}));
|
|
2500
|
+
} else {
|
|
2501
|
+
results.push(/* @__PURE__ */ jsxRuntime.jsx(ElmHeading, {
|
|
2502
|
+
level,
|
|
2503
|
+
text: token.text
|
|
2504
|
+
}));
|
|
2505
|
+
}
|
|
2506
|
+
break;
|
|
2507
|
+
}
|
|
2508
|
+
case "hr":
|
|
2509
|
+
results.push(/* @__PURE__ */ jsxRuntime.jsx(ElmDivider, {}));
|
|
2510
|
+
break;
|
|
2511
|
+
case "html":
|
|
2512
|
+
break;
|
|
2513
|
+
case "image":
|
|
2514
|
+
results.push(/* @__PURE__ */ jsxRuntime.jsx(ElmBlockImage, {
|
|
2515
|
+
enableModal: true,
|
|
2516
|
+
src: token.href,
|
|
2517
|
+
alt: token.text
|
|
2518
|
+
}));
|
|
2519
|
+
break;
|
|
2520
|
+
case "link":
|
|
2521
|
+
results.push(token.tokens && token.tokens.length !== 0 ? /* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
2522
|
+
href: token.href,
|
|
2523
|
+
children: renderByToken(token.tokens)
|
|
2524
|
+
}) : /* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
2525
|
+
text: token.text,
|
|
2526
|
+
href: token.href
|
|
2527
|
+
}));
|
|
2528
|
+
break;
|
|
2529
|
+
case "list": {
|
|
2530
|
+
const listItems = token.items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx("li", {
|
|
2531
|
+
children: renderByToken(item.tokens)
|
|
2532
|
+
}, index));
|
|
2533
|
+
results.push(/* @__PURE__ */ jsxRuntime.jsx(ElmList, {
|
|
2534
|
+
listStyle: token.ordered ? "ordered" : "unordered",
|
|
2535
|
+
children: listItems
|
|
2536
|
+
}));
|
|
2537
|
+
break;
|
|
2538
|
+
}
|
|
2539
|
+
case "list_item":
|
|
2540
|
+
results.push(/* @__PURE__ */ jsxRuntime.jsx("li", {
|
|
2541
|
+
children: token.tokens && token.tokens.length !== 0 ? renderByToken(token.tokens) : token.text
|
|
2542
|
+
}));
|
|
2543
|
+
break;
|
|
2544
|
+
case "paragraph":
|
|
2545
|
+
if (token.tokens && token.tokens.length !== 0) {
|
|
2546
|
+
results.push(/* @__PURE__ */ jsxRuntime.jsx(ElmParagraph, {
|
|
2547
|
+
children: renderByToken(token.tokens)
|
|
2548
|
+
}));
|
|
2549
|
+
}
|
|
2550
|
+
break;
|
|
2551
|
+
case "space":
|
|
2552
|
+
break;
|
|
2553
|
+
case "strong":
|
|
2554
|
+
results.push(token.tokens && token.tokens.length !== 0 ? /* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
2555
|
+
bold: true,
|
|
2556
|
+
children: renderByToken(token.tokens)
|
|
2557
|
+
}) : /* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
2558
|
+
text: token.text,
|
|
2559
|
+
bold: true
|
|
2560
|
+
}));
|
|
2561
|
+
break;
|
|
2562
|
+
case "table": {
|
|
2563
|
+
const renderTableCells = (cells) => cells.map((cell, index) => /* @__PURE__ */ jsxRuntime.jsx(ElmTableCell, {
|
|
2564
|
+
children: renderByToken(cell.tokens)
|
|
2565
|
+
}, index));
|
|
2566
|
+
const headerRow = /* @__PURE__ */ jsxRuntime.jsx(ElmTableRow, {
|
|
2567
|
+
children: renderTableCells(token.header)
|
|
2568
|
+
});
|
|
2569
|
+
const bodyRows = token.rows.map((row, index) => /* @__PURE__ */ jsxRuntime.jsx(ElmTableRow, {
|
|
2570
|
+
children: renderTableCells(row)
|
|
2571
|
+
}, index));
|
|
2572
|
+
results.push(/* @__PURE__ */ jsxRuntime.jsxs(ElmTable, {
|
|
2573
|
+
children: [
|
|
2574
|
+
/* @__PURE__ */ jsxRuntime.jsx(ElmTableHeader, {
|
|
2575
|
+
"q:slot": "header",
|
|
2576
|
+
children: headerRow
|
|
2577
|
+
}),
|
|
2578
|
+
/* @__PURE__ */ jsxRuntime.jsx(ElmTableBody, {
|
|
2579
|
+
"q:slot": "body",
|
|
2580
|
+
children: bodyRows
|
|
2581
|
+
})
|
|
2582
|
+
]
|
|
2583
|
+
}));
|
|
2584
|
+
break;
|
|
2585
|
+
}
|
|
2586
|
+
case "text":
|
|
2587
|
+
results.push(token.tokens && token.tokens.length !== 0 ? /* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
2588
|
+
children: renderByToken(token.tokens)
|
|
2589
|
+
}) : /* @__PURE__ */ jsxRuntime.jsx(qwik.Fragment, {
|
|
2590
|
+
children: token.text
|
|
2591
|
+
}));
|
|
2592
|
+
break;
|
|
2593
|
+
}
|
|
2594
|
+
}
|
|
2595
|
+
return results;
|
|
2596
|
+
};
|
|
2597
|
+
const ElmMarkdown = qwik.component$(({ markdown }) => {
|
|
2598
|
+
const tokens = marked.marked.setOptions({
|
|
2599
|
+
gfm: true
|
|
2600
|
+
}).lexer(markdown);
|
|
2601
|
+
const elements = renderByToken(tokens);
|
|
2602
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
2603
|
+
class: styles["markdown-body"],
|
|
2604
|
+
children: elements
|
|
2605
|
+
});
|
|
2606
|
+
});
|
|
1934
2607
|
exports.ElmBlockFallback = ElmBlockFallback;
|
|
1935
2608
|
exports.ElmBlockImage = ElmBlockImage;
|
|
1936
2609
|
exports.ElmBlockQuote = ElmBlockQuote;
|
|
@@ -1949,6 +2622,7 @@ exports.ElmJarkup = ElmJarkup;
|
|
|
1949
2622
|
exports.ElmKatex = ElmKatex;
|
|
1950
2623
|
exports.ElmLanguageIcon = ElmLanguageIcon;
|
|
1951
2624
|
exports.ElmList = ElmList;
|
|
2625
|
+
exports.ElmMarkdown = ElmMarkdown;
|
|
1952
2626
|
exports.ElmMdiIcon = ElmMdiIcon;
|
|
1953
2627
|
exports.ElmPageTop = ElmPageTop;
|
|
1954
2628
|
exports.ElmParagraph = ElmParagraph;
|
|
@@ -1961,3 +2635,4 @@ exports.ElmTableCell = ElmTableCell;
|
|
|
1961
2635
|
exports.ElmTableHeader = ElmTableHeader;
|
|
1962
2636
|
exports.ElmTableRow = ElmTableRow;
|
|
1963
2637
|
exports.ElmToggle = ElmToggle;
|
|
2638
|
+
exports.ElmToggleTheme = ElmToggleTheme;
|