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