@elmethis/qwik 0.0.13 → 0.0.14

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