@elmethis/react 0.3.7 → 0.3.9

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.
Files changed (147) hide show
  1. package/lib/{ElmMermaid-BFqvHKdQ.js → ElmMermaid-CUeT_XM9.js} +13 -9
  2. package/lib/ElmMermaid-DnSjC5T_.cjs +1 -0
  3. package/lib/index.react.cjs +1 -1
  4. package/lib/index.react.mjs +756 -726
  5. package/lib/style.css +1 -1
  6. package/lib-types/components/code/ElmCodeBlock.d.ts +2 -1
  7. package/lib-types/components/code/ElmCodeBlock.d.ts.map +1 -1
  8. package/lib-types/components/code/ElmKatex.d.ts +2 -1
  9. package/lib-types/components/code/ElmKatex.d.ts.map +1 -1
  10. package/lib-types/components/code/ElmMermaid.d.ts +2 -1
  11. package/lib-types/components/code/ElmMermaid.d.ts.map +1 -1
  12. package/lib-types/components/code/ElmShikiHighlighter.d.ts +2 -1
  13. package/lib-types/components/code/ElmShikiHighlighter.d.ts.map +1 -1
  14. package/lib-types/components/containments/ElmColumn.d.ts +1 -0
  15. package/lib-types/components/containments/ElmColumn.d.ts.map +1 -1
  16. package/lib-types/components/containments/ElmColumnList.d.ts +1 -0
  17. package/lib-types/components/containments/ElmColumnList.d.ts.map +1 -1
  18. package/lib-types/components/containments/ElmConfirmModal.d.ts +1 -0
  19. package/lib-types/components/containments/ElmConfirmModal.d.ts.map +1 -1
  20. package/lib-types/components/containments/ElmDesktopWindow.d.ts +1 -0
  21. package/lib-types/components/containments/ElmDesktopWindow.d.ts.map +1 -1
  22. package/lib-types/components/containments/ElmModal.d.ts +1 -0
  23. package/lib-types/components/containments/ElmModal.d.ts.map +1 -1
  24. package/lib-types/components/containments/ElmParallax.d.ts +2 -1
  25. package/lib-types/components/containments/ElmParallax.d.ts.map +1 -1
  26. package/lib-types/components/containments/ElmSimpleTooltip.d.ts +1 -0
  27. package/lib-types/components/containments/ElmSimpleTooltip.d.ts.map +1 -1
  28. package/lib-types/components/containments/ElmSnackbar.d.ts +1 -0
  29. package/lib-types/components/containments/ElmSnackbar.d.ts.map +1 -1
  30. package/lib-types/components/containments/ElmSnackbarContainer.d.ts +1 -0
  31. package/lib-types/components/containments/ElmSnackbarContainer.d.ts.map +1 -1
  32. package/lib-types/components/containments/ElmTabs.d.ts +1 -0
  33. package/lib-types/components/containments/ElmTabs.d.ts.map +1 -1
  34. package/lib-types/components/containments/ElmToggle.d.ts +3 -2
  35. package/lib-types/components/containments/ElmToggle.d.ts.map +1 -1
  36. package/lib-types/components/containments/ElmToggle.stories.d.ts +1 -0
  37. package/lib-types/components/containments/ElmToggle.stories.d.ts.map +1 -1
  38. package/lib-types/components/containments/ElmTooltip.d.ts +1 -0
  39. package/lib-types/components/containments/ElmTooltip.d.ts.map +1 -1
  40. package/lib-types/components/copilotkit/ToolApproval.d.ts +1 -0
  41. package/lib-types/components/copilotkit/ToolApproval.d.ts.map +1 -1
  42. package/lib-types/components/data/ElmMultiProgress.d.ts +2 -1
  43. package/lib-types/components/data/ElmMultiProgress.d.ts.map +1 -1
  44. package/lib-types/components/data/ElmProgress.d.ts +2 -1
  45. package/lib-types/components/data/ElmProgress.d.ts.map +1 -1
  46. package/lib-types/components/data/ElmStatusMessage.d.ts +2 -1
  47. package/lib-types/components/data/ElmStatusMessage.d.ts.map +1 -1
  48. package/lib-types/components/embed/ElmOEmbed.d.ts +2 -1
  49. package/lib-types/components/embed/ElmOEmbed.d.ts.map +1 -1
  50. package/lib-types/components/fallback/ElmBlockFallback.d.ts +1 -0
  51. package/lib-types/components/fallback/ElmBlockFallback.d.ts.map +1 -1
  52. package/lib-types/components/fallback/ElmRectangleWave.d.ts +1 -0
  53. package/lib-types/components/fallback/ElmRectangleWave.d.ts.map +1 -1
  54. package/lib-types/components/fallback/ElmSpinner.d.ts +1 -0
  55. package/lib-types/components/fallback/ElmSpinner.d.ts.map +1 -1
  56. package/lib-types/components/fallback/ElmUnsupportedBlock.d.ts +1 -0
  57. package/lib-types/components/fallback/ElmUnsupportedBlock.d.ts.map +1 -1
  58. package/lib-types/components/form/ElmButton.d.ts +1 -0
  59. package/lib-types/components/form/ElmButton.d.ts.map +1 -1
  60. package/lib-types/components/form/ElmCheckbox.d.ts +1 -0
  61. package/lib-types/components/form/ElmCheckbox.d.ts.map +1 -1
  62. package/lib-types/components/form/ElmSelect.d.ts +3 -3
  63. package/lib-types/components/form/ElmSelect.d.ts.map +1 -1
  64. package/lib-types/components/form/ElmSwitch.d.ts +1 -0
  65. package/lib-types/components/form/ElmSwitch.d.ts.map +1 -1
  66. package/lib-types/components/form/ElmTextField.d.ts +1 -0
  67. package/lib-types/components/form/ElmTextField.d.ts.map +1 -1
  68. package/lib-types/components/form/ElmValidation.d.ts +1 -0
  69. package/lib-types/components/form/ElmValidation.d.ts.map +1 -1
  70. package/lib-types/components/icon/ElmArrowIcon.d.ts +1 -0
  71. package/lib-types/components/icon/ElmArrowIcon.d.ts.map +1 -1
  72. package/lib-types/components/icon/ElmBookmarkIcon.d.ts +1 -0
  73. package/lib-types/components/icon/ElmBookmarkIcon.d.ts.map +1 -1
  74. package/lib-types/components/icon/ElmCubeIcon.d.ts +1 -0
  75. package/lib-types/components/icon/ElmCubeIcon.d.ts.map +1 -1
  76. package/lib-types/components/icon/ElmDotLoadingIcon.d.ts +1 -0
  77. package/lib-types/components/icon/ElmDotLoadingIcon.d.ts.map +1 -1
  78. package/lib-types/components/icon/ElmInlineIcon.d.ts +1 -0
  79. package/lib-types/components/icon/ElmInlineIcon.d.ts.map +1 -1
  80. package/lib-types/components/icon/ElmLanguageIcon.d.ts +1 -0
  81. package/lib-types/components/icon/ElmLanguageIcon.d.ts.map +1 -1
  82. package/lib-types/components/icon/ElmLoginIcon.d.ts +1 -0
  83. package/lib-types/components/icon/ElmLoginIcon.d.ts.map +1 -1
  84. package/lib-types/components/icon/ElmMdiIcon.d.ts +1 -0
  85. package/lib-types/components/icon/ElmMdiIcon.d.ts.map +1 -1
  86. package/lib-types/components/icon/ElmSquareLoadingIcon.d.ts +1 -0
  87. package/lib-types/components/icon/ElmSquareLoadingIcon.d.ts.map +1 -1
  88. package/lib-types/components/icon/ElmToggleTheme.d.ts +1 -0
  89. package/lib-types/components/icon/ElmToggleTheme.d.ts.map +1 -1
  90. package/lib-types/components/media/ElmFile.d.ts +2 -1
  91. package/lib-types/components/media/ElmFile.d.ts.map +1 -1
  92. package/lib-types/components/media/ElmImage.d.ts +2 -1
  93. package/lib-types/components/media/ElmImage.d.ts.map +1 -1
  94. package/lib-types/components/navigation/ElmBookmark.d.ts +2 -1
  95. package/lib-types/components/navigation/ElmBookmark.d.ts.map +1 -1
  96. package/lib-types/components/navigation/ElmBreadcrumb.d.ts +2 -1
  97. package/lib-types/components/navigation/ElmBreadcrumb.d.ts.map +1 -1
  98. package/lib-types/components/navigation/ElmPageTop.d.ts +2 -1
  99. package/lib-types/components/navigation/ElmPageTop.d.ts.map +1 -1
  100. package/lib-types/components/navigation/ElmTableOfContents.d.ts +2 -1
  101. package/lib-types/components/navigation/ElmTableOfContents.d.ts.map +1 -1
  102. package/lib-types/components/others/ElmColorSample.d.ts +2 -1
  103. package/lib-types/components/others/ElmColorSample.d.ts.map +1 -1
  104. package/lib-types/components/others/ElmColorTable.d.ts +2 -1
  105. package/lib-types/components/others/ElmColorTable.d.ts.map +1 -1
  106. package/lib-types/components/others/ElmCommandPalette.d.ts +2 -1
  107. package/lib-types/components/others/ElmCommandPalette.d.ts.map +1 -1
  108. package/lib-types/components/others/ElmJarkup.d.ts +2 -1
  109. package/lib-types/components/others/ElmJarkup.d.ts.map +1 -1
  110. package/lib-types/components/others/ElmJsonComponentRenderer.d.ts +2 -1
  111. package/lib-types/components/others/ElmJsonComponentRenderer.d.ts.map +1 -1
  112. package/lib-types/components/others/ElmMarkdown.d.ts +2 -1
  113. package/lib-types/components/others/ElmMarkdown.d.ts.map +1 -1
  114. package/lib-types/components/others/ElmTyping.d.ts +2 -1
  115. package/lib-types/components/others/ElmTyping.d.ts.map +1 -1
  116. package/lib-types/components/table/ElmTable.d.ts +2 -1
  117. package/lib-types/components/table/ElmTable.d.ts.map +1 -1
  118. package/lib-types/components/table/ElmTableBody.d.ts +2 -1
  119. package/lib-types/components/table/ElmTableBody.d.ts.map +1 -1
  120. package/lib-types/components/table/ElmTableCell.d.ts +2 -1
  121. package/lib-types/components/table/ElmTableCell.d.ts.map +1 -1
  122. package/lib-types/components/table/ElmTableHeader.d.ts +2 -1
  123. package/lib-types/components/table/ElmTableHeader.d.ts.map +1 -1
  124. package/lib-types/components/table/ElmTableRow.d.ts +2 -1
  125. package/lib-types/components/table/ElmTableRow.d.ts.map +1 -1
  126. package/lib-types/components/template/ElmTemplate.d.ts +1 -0
  127. package/lib-types/components/template/ElmTemplate.d.ts.map +1 -1
  128. package/lib-types/components/typography/ElmBlockQuote.d.ts +1 -0
  129. package/lib-types/components/typography/ElmBlockQuote.d.ts.map +1 -1
  130. package/lib-types/components/typography/ElmCallout.d.ts +1 -0
  131. package/lib-types/components/typography/ElmCallout.d.ts.map +1 -1
  132. package/lib-types/components/typography/ElmDivider.d.ts +1 -0
  133. package/lib-types/components/typography/ElmDivider.d.ts.map +1 -1
  134. package/lib-types/components/typography/ElmFragmentIdentifier.d.ts +1 -0
  135. package/lib-types/components/typography/ElmFragmentIdentifier.d.ts.map +1 -1
  136. package/lib-types/components/typography/ElmHeading.d.ts +1 -0
  137. package/lib-types/components/typography/ElmHeading.d.ts.map +1 -1
  138. package/lib-types/components/typography/ElmInlineText.d.ts +1 -0
  139. package/lib-types/components/typography/ElmInlineText.d.ts.map +1 -1
  140. package/lib-types/components/typography/ElmList.d.ts +1 -0
  141. package/lib-types/components/typography/ElmList.d.ts.map +1 -1
  142. package/lib-types/components/typography/ElmParagraph.d.ts +1 -0
  143. package/lib-types/components/typography/ElmParagraph.d.ts.map +1 -1
  144. package/lib-types/components/typography/ElmTypingAnimation.d.ts +1 -0
  145. package/lib-types/components/typography/ElmTypingAnimation.d.ts.map +1 -1
  146. package/package.json +8 -7
  147. package/lib/ElmMermaid-DDrDuDJ-.cjs +0 -1
@@ -1,22 +1,24 @@
1
- import { t as e } from "./ElmMermaid-BFqvHKdQ.js";
1
+ import { t as e } from "./ElmMermaid-CUeT_XM9.js";
2
2
  import t, { Suspense as n, createContext as r, lazy as i, useCallback as a, useContext as o, useEffect as s, useId as c, useMemo as l, useRef as u, useState as d } from "react";
3
3
  import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
4
- import { darken as h, getLuminance as g, opacify as _, parseToHsl as v, parseToRgb as ee, rgbToColorString as te } from "polished";
5
- import { mdiAccount as y, mdiAlert as ne, mdiAlertCircle as re, mdiAlertOctagram as ie, mdiApplicationOutline as ae, mdiArchive as oe, mdiArrowDownDropCircleOutline as se, mdiArrowLeft as ce, mdiBackspaceOutline as le, mdiCalendarMonth as ue, mdiCalendarRefresh as de, mdiCheck as fe, mdiCheckCircle as pe, mdiCheckCircleOutline as me, mdiChevronRight as he, mdiChevronUp as ge, mdiClipboardCheckMultipleOutline as _e, mdiClipboardMultipleOutline as ve, mdiCloseCircleOutline as ye, mdiConsoleLine as be, mdiDownload as xe, mdiEarth as Se, mdiEmail as Ce, mdiEyeOffOutline as we, mdiEyeOutline as Te, mdiFileOutline as Ee, mdiFolderOpen as De, mdiFormatQuoteClose as Oe, mdiFormatQuoteOpen as ke, mdiHome as Ae, mdiInformation as je, mdiKey as Me, mdiKeyboardReturn as Ne, mdiLightbulbOn as Pe, mdiLinkVariant as Fe, mdiLoading as Ie, mdiLock as Le, mdiLoginVariant as Re, mdiLogoutVariant as ze, mdiMagnify as Be, mdiMenuDown as Ve, mdiMessageImageOutline as He, mdiPen as Ue, mdiPlus as We, mdiReload as Ge, mdiShieldAlert as Ke, mdiTable as qe, mdiTag as Je, mdiText as Ye } from "@mdi/js";
6
- import { createPortal as Xe } from "react-dom";
7
- import { kebabCase as Ze } from "lodash-es";
8
- import { marked as Qe } from "marked";
9
- var $e = { icon: "_icon_k0isg_1" }, b = ({ src: e, alt: t }) => {
10
- let [n, r] = d(e);
4
+ import { darken as h, getLuminance as g, opacify as _, parseToHsl as v, parseToRgb as y, rgbToColorString as ee } from "polished";
5
+ import { mdiAccount as b, mdiAlert as x, mdiAlertCircle as te, mdiAlertOctagram as ne, mdiApplicationOutline as re, mdiArchive as ie, mdiArrowDownDropCircleOutline as ae, mdiArrowLeft as oe, mdiBackspaceOutline as se, mdiCalendarMonth as ce, mdiCalendarRefresh as le, mdiCheck as ue, mdiCheckCircle as de, mdiCheckCircleOutline as fe, mdiChevronRight as pe, mdiClipboardCheckMultipleOutline as me, mdiClipboardMultipleOutline as he, mdiCloseCircleOutline as ge, mdiConsoleLine as _e, mdiDownload as ve, mdiEarth as ye, mdiEmail as be, mdiEyeOffOutline as xe, mdiEyeOutline as Se, mdiFileOutline as Ce, mdiFolderOpen as we, mdiFormatQuoteClose as Te, mdiFormatQuoteOpen as Ee, mdiHome as De, mdiInformation as Oe, mdiKey as ke, mdiKeyboardReturn as Ae, mdiLightbulbOn as je, mdiLinkVariant as Me, mdiLoading as Ne, mdiLock as Pe, mdiLoginVariant as Fe, mdiLogoutVariant as Ie, mdiMagnify as Le, mdiMenuDown as Re, mdiMessageImageOutline as ze, mdiPen as Be, mdiPlus as Ve, mdiReload as He, mdiShieldAlert as Ue, mdiTable as We, mdiTag as Ge, mdiText as Ke } from "@mdi/js";
6
+ import S from "clsx";
7
+ import { createPortal as qe } from "react-dom";
8
+ import { useControllableState as Je } from "@radix-ui/react-use-controllable-state";
9
+ import { kebabCase as Ye } from "lodash-es";
10
+ import { marked as Xe } from "marked";
11
+ var Ze = { icon: "_icon_k0isg_1" }, C = ({ src: e, alt: t, className: n }) => {
12
+ let [r, i] = d(e);
11
13
  return /* @__PURE__ */ p("img", {
12
- className: $e.icon,
13
- src: n,
14
+ className: [Ze.icon, n].filter(Boolean).join(" "),
15
+ src: r,
14
16
  alt: t,
15
17
  onError: () => {
16
- r("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path fill=\"gray\" d=\"M17.9 17.39c-.26-.8-1.01-1.39-1.9-1.39h-1v-3a1 1 0 0 0-1-1H8v-2h2a1 1 0 0 0 1-1V7h2a2 2 0 0 0 2-2v-.41a7.984 7.984 0 0 1 2.9 12.8M11 19.93c-3.95-.49-7-3.85-7-7.93c0-.62.08-1.22.21-1.79L9 15v1a2 2 0 0 0 2 2m1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2\"/></svg>");
18
+ i("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path fill=\"gray\" d=\"M17.9 17.39c-.26-.8-1.01-1.39-1.9-1.39h-1v-3a1 1 0 0 0-1-1H8v-2h2a1 1 0 0 0 1-1V7h2a2 2 0 0 0 2-2v-.41a7.984 7.984 0 0 1 2.9 12.8M11 19.93c-3.95-.49-7-3.85-7-7.93c0-.62.08-1.22.21-1.79L9 15v1a2 2 0 0 0 2 2m1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2\"/></svg>");
17
19
  }
18
20
  });
19
- }, et = { icon: "_icon_18sdb_1" }, tt = {
21
+ }, Qe = { icon: "_icon_18sdb_1" }, $e = {
20
22
  rust: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20128%20128'%20fill='%23a84f33'%20width='128'%20height='128'%20%3e%3cpath%20d='M62.96.242c-.232.135-1.203%201.528-2.16%203.097c-2.4%203.94-2.426%203.942-5.65.55c-2.098-2.208-2.605-2.612-3.28-2.607c-.44.002-.995.152-1.235.332s-.916%201.612-1.504%203.183c-1.346%203.6-1.41%203.715-2.156%203.86c-.46.086-1.343-.407-3.463-1.929c-1.565-1.125-3.1-2.045-3.411-2.045c-1.291%200-1.655.706-2.27%204.4c-.78%204.697-.754%204.681-4.988%202.758c-1.71-.776-3.33-1.41-3.603-1.41s-.792.293-1.15.652c-.652.652-.653.655-.475%204.246l.178%203.595l-.68.364c-.602.322-1.017.283-3.684-.348c-3.48-.822-4.216-.8-4.92.15l-.516.693l.692%202.964c.38%201.63.745%203.2.814%203.487c.067.287-.05.746-.26%201.02c-.348.448-.717.49-3.94.44c-5.452-.086-5.761.382-3.51%205.3c.718%201.56%201.305%202.98%201.305%203.15c0%20.898-.717%201.224-3.794%201.727c-1.722.28-3.218.51-3.326.51c-.107%200-.43.235-.717.522c-.937.936-.671%201.816%201.453%204.814c2.646%203.735%202.642%203.75-1.73%205.421c-4.971%201.902-5.072%202.37-1.287%205.96c3.525%203.344%203.53%203.295-.461%205.804C.208%2062.8.162%2062.846.085%2063.876c-.093%201.253-.071%201.275%203.538%203.48c3.57%202.18%203.57%202.246.067%205.56C-.078%2076.48.038%2077%205.013%2078.877c4.347%201.64%204.353%201.66%201.702%205.394c-1.502%202.117-1.981%203-1.981%203.653c0%201.223.637%201.535%204.44%202.174c3.206.54%203.92.857%203.92%201.741c0%20.182-.588%201.612-1.307%203.177c-2.236%204.87-1.981%205.275%203.31%205.275c4.93%200%204.799-.15%203.737%204.294c-.8%203.35-.813%203.992-.088%204.715c.554.556%201.6.494%204.87-.289c2.499-.596%202.937-.637%203.516-.328l.66.354l-.177%203.594c-.178%203.593-.177%203.595.475%204.248c.358.36.884.652%201.165.652s1.903-.63%203.604-1.404c4.22-1.916%204.194-1.932%204.973%202.75c.617%203.711.977%204.4%202.294%204.4c.327%200%201.83-.88%203.34-1.958c2.654-1.893%203.342-2.19%204.049-1.74c.182.115.89%201.67%201.572%203.455c1.003%202.625%201.37%203.31%201.929%203.576c1.062.51%201.72.1%204.218-2.62c3.016-3.286%203.14-3.27%205.602.72c2.72%204.406%203.424%204.396%206.212-.089c2.402-3.864%202.374-3.862%205.621-.47c2.157%202.25%202.616%202.61%203.343%202.61c.464%200%201.019-.175%201.23-.388c.214-.213.92-1.786%201.568-3.496c.649-1.71%201.321-3.2%201.495-3.31c.687-.436%201.398-.13%204.048%201.752c1.56%201.108%203.028%201.96%203.377%201.96c1.296%200%201.764-.92%202.302-4.535c.46-3.082.554-3.378%201.16-3.685c.596-.302.954-.2%203.75%201.07c1.701.77%203.323%201.402%203.604%201.402s.816-.302%201.184-.672l.672-.67l-.184-3.448c-.177-3.29-.16-3.468.364-3.943c.54-.488.596-.486%203.615.204c3.656.835%204.338.857%205.025.17c.671-.67.664-.818-.254-4.69c-1.03-4.346-1.168-4.19%203.78-4.19c3.374%200%203.75-.049%204.18-.523c.718-.793.547-1.702-.896-4.779c-.729-1.55-1.32-2.96-1.315-3.135c.024-.914.743-1.227%204.065-1.767c2.033-.329%203.553-.71%203.829-.96c.923-.833.584-1.918-1.523-4.873c-2.642-3.703-2.63-3.738%201.599-5.297c5.064-1.866%205.209-2.488%201.419-6.09c-3.51-3.335-3.512-3.317.333-5.677c4.648-2.853%204.655-3.496.082-6.335c-3.933-2.44-3.93-2.406-.405-5.753c3.78-3.593%203.678-4.063-1.295-5.965c-4.388-1.679-4.402-1.72-1.735-5.38c1.588-2.18%201.982-2.903%201.982-3.65c0-1.306-.586-1.598-4.436-2.22c-3.216-.52-3.924-.835-3.924-1.75c0-.174.588-1.574%201.307-3.113c1.406-3.013%201.604-4.22.808-4.94c-.428-.387-1-.443-4.067-.392c-3.208.054-3.618.008-4.063-.439c-.486-.488-.48-.557.278-3.725c.931-3.88.935-3.975.17-4.694c-.777-.73-1.262-.718-4.826.121c-2.597.612-3.027.653-3.617.337l-.67-.36l.185-3.582l.186-3.58l-.67-.67c-.369-.37-.891-.67-1.163-.67c-.27%200-1.884.64-3.583%201.421c-2.838%201.306-3.143%201.393-3.757%201.072c-.612-.32-.714-.637-1.237-3.829c-.603-3.693-.977-4.412-2.288-4.412c-.311%200-1.853.925-3.426%202.055c-2.584%201.856-2.93%202.032-3.574%201.807c-.533-.186-.843-.59-1.221-1.599c-.28-.742-.817-2.172-1.194-3.177c-.762-2.028-1.187-2.482-2.328-2.482c-.637%200-1.213.458-3.28%202.604c-3.25%203.375-3.261%203.374-5.65-.545C66.073%201.78%2065.075.382%2064.81.24c-.597-.32-1.3-.32-1.85.002m2.96%2011.798c2.83%202.014%201.326%206.75-2.144%206.75c-3.368%200-5.064-4.057-2.66-6.36c1.358-1.3%203.304-1.459%204.805-.39m-3.558%2012.507c1.855.705%202.616.282%206.852-3.8l3.182-3.07l1.347.18c4.225.56%2012.627%204.25%2017.455%207.666c4.436%203.14%2010.332%209.534%2012.845%2013.93l.537.942l-2.38%205.364c-1.31%202.95-2.382%205.673-2.382%206.053c0%20.878.576%202.267%201.13%202.726c.234.195%202.457%201.265%204.939%202.378l4.51%202.025l.178%201.148c.23%201.495.26%205.167.052%206.21l-.163.816h-2.575c-2.987%200-2.756-.267-2.918%203.396c-.118%202.656-.76%204.124-2.22%205.075c-2.377%201.551-6.304%201.27-7.97-.57c-.255-.284-.752-1.705-1.105-3.16c-1.03-4.254-2.413-6.64-5.193-8.965c-.878-.733-1.595-1.418-1.595-1.522c0-.102.965-.915%202.145-1.803c4.298-3.24%206.77-7.012%207.04-10.747c.519-7.126-5.158-13.767-13.602-15.92c-2.002-.51-2.857-.526-27.624-.526c-14.057%200-25.56-.092-25.56-.204c0-.263%203.125-3.295%204.965-4.816c5.054-4.178%2011.618-7.465%2018.417-9.22l2.35-.61l3.34%203.387c1.839%201.863%203.64%203.5%204.003%203.637M20.3%2046.34c1.539%201.008%202.17%203.54%201.26%205.062c-1.405%202.356-4.966%202.455-6.373.178c-2.046-3.309%201.895-7.349%205.113-5.24m90.672.13c4.026%202.454.906%208.493-3.404%206.586c-2.877-1.273-2.97-5.206-.155-6.64c1.174-.6%202.523-.579%203.56.053M32.163%2061.5v15.02h-13.28l-.526-2.285c-1.036-4.5-1.472-9.156-1.211-12.969l.182-2.679l4.565-2.047c2.864-1.283%204.706-2.262%204.943-2.625c1.038-1.584.94-2.715-.518-5.933l-.68-1.502h6.523V61.5M70.39%2047.132c2.843.74%204.345%202.245%204.349%204.355c.002%201.55-.765%202.52-2.67%203.38c-1.348.61-1.562.625-10.063.708l-8.686.084v-8.92h7.782c6.078%200%208.112.086%209.288.393m-2.934%2021.554c1.41.392%203.076%201.616%203.93%202.888c.898%201.337%201.423%203.076%202.667%208.836c1.05%204.87%201.727%206.46%203.62%208.532c2.345%202.566%201.8%202.466%2013.514%202.466c5.61%200%2010.198.09%2010.198.2c0%20.197-3.863%204.764-4.03%204.764c-.048%200-2.066-.422-4.484-.939c-6.829-1.458-7.075-1.287-8.642%206.032l-1.008%204.702l-.91.448c-1.518.75-6.453%202.292-9.01%202.82c-4.228.87-8.828%201.162-12.871.821c-6.893-.585-16.02-3.259-16.377-4.8c-.075-.327-.535-2.443-1.018-4.704c-.485-2.26-1.074-4.404-1.31-4.764c-1.13-1.724-2.318-1.83-7.547-.674c-1.98.44-3.708.796-3.84.796c-.248%200-3.923-4.249-3.923-4.535c0-.09%208.728-.194%2019.396-.23l19.395-.066l.07-6.89c.05-4.865-.018-6.997-.23-7.25c-.234-.284-1.485-.358-6.011-.358H53.32v-8.36l6.597.001c3.626.002%207.02.12%207.539.264M37.57%20100.02c3.084%201.88%201.605%206.804-2.043%206.8c-3.74%200-5.127-4.88-1.94-6.826c1.055-.643%202.908-.63%203.983.026m56.48.206c1.512%201.108%202.015%203.413%201.079%204.95c-2.46%204.034-8.612.827-6.557-3.419c1.01-2.085%203.695-2.837%205.478-1.53'%20/%3e%3c/svg%3e",
21
23
  javascript: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23f0db4f'%20d='M1.408%201.408h125.184v125.185H1.408z'%20/%3e%3cpath%20fill='%23323330'%20d='M116.347%2096.736c-.917-5.711-4.641-10.508-15.672-14.981c-3.832-1.761-8.104-3.022-9.377-5.926c-.452-1.69-.512-2.642-.226-3.665c.821-3.32%204.784-4.355%207.925-3.403c2.023.678%203.938%202.237%205.093%204.724c5.402-3.498%205.391-3.475%209.163-5.879c-1.381-2.141-2.118-3.129-3.022-4.045c-3.249-3.629-7.676-5.498-14.756-5.355l-3.688.477c-3.534.893-6.902%202.748-8.877%205.235c-5.926%206.724-4.236%2018.492%202.975%2023.335c7.104%205.332%2017.54%206.545%2018.873%2011.531c1.297%206.104-4.486%208.08-10.234%207.378c-4.236-.881-6.592-3.034-9.139-6.949c-4.688%202.713-4.688%202.713-9.508%205.485c1.143%202.499%202.344%203.63%204.26%205.795c9.068%209.198%2031.76%208.746%2035.83-5.176c.165-.478%201.261-3.666.38-8.581M69.462%2058.943H57.753l-.048%2030.272c0%206.438.333%2012.34-.714%2014.149c-1.713%203.558-6.152%203.117-8.175%202.427c-2.059-1.012-3.106-2.451-4.319-4.485c-.333-.584-.583-1.036-.667-1.071l-9.52%205.83c1.583%203.249%203.915%206.069%206.902%207.901c4.462%202.678%2010.459%203.499%2016.731%202.059c4.082-1.189%207.604-3.652%209.448-7.401c2.666-4.915%202.094-10.864%202.07-17.444c.06-10.735.001-21.468.001-32.237'%20/%3e%3c/svg%3e",
22
24
  typescript: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23fff'%20d='M22.67%2047h99.67v73.67H22.67z'%20/%3e%3cpath%20fill='%23007acc'%20d='M1.5%2063.91v62.5h125v-125H1.5zm100.73-5a15.56%2015.56%200%200%201%207.82%204.5a20.6%2020.6%200%200%201%203%204c0%20.16-5.4%203.81-8.69%205.85c-.12.08-.6-.44-1.13-1.23a7.09%207.09%200%200%200-5.87-3.53c-3.79-.26-6.23%201.73-6.21%205a4.6%204.6%200%200%200%20.54%202.34c.83%201.73%202.38%202.76%207.24%204.86c8.95%203.85%2012.78%206.39%2015.16%2010c2.66%204%203.25%2010.46%201.45%2015.24c-2%205.2-6.9%208.73-13.83%209.9a38.3%2038.3%200%200%201-9.52-.1a23%2023%200%200%201-12.72-6.63c-1.15-1.27-3.39-4.58-3.25-4.82a9%209%200%200%201%201.15-.73L82%20101l3.59-2.08l.75%201.11a16.8%2016.8%200%200%200%204.74%204.54c4%202.1%209.46%201.81%2012.16-.62a5.43%205.43%200%200%200%20.69-6.92c-1-1.39-3-2.56-8.59-5c-6.45-2.78-9.23-4.5-11.77-7.24a16.5%2016.5%200%200%201-3.43-6.25a25%2025%200%200%201-.22-8c1.33-6.23%206-10.58%2012.82-11.87a31.7%2031.7%200%200%201%209.49.26zm-29.34%205.24v5.12H56.66v46.23H45.15V69.26H28.88v-5a49%2049%200%200%201%20.12-5.17C29.08%2059%2039%2059%2051%2059h21.83z'%20/%3e%3c/svg%3e",
@@ -36,9 +38,9 @@ var $e = { icon: "_icon_k0isg_1" }, b = ({ src: e, alt: t }) => {
36
38
  cpp: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%2300599c'%20d='M118.766%2095.82c.89-1.543%201.441-3.28%201.441-4.843V36.78c0-1.558-.55-3.297-1.441-4.84l-55.32%2031.94Zm0%200'%20/%3e%3cpath%20fill='%23004482'%20d='m68.36%20126.586l46.933-27.094c1.352-.781%202.582-2.129%203.473-3.672l-55.32-31.94L8.12%2095.82c.89%201.543%202.121%202.89%203.473%203.672l46.933%2027.094c2.703%201.562%207.13%201.562%209.832%200Zm0%200'%20/%3e%3cpath%20fill='%23659ad2'%20d='M118.766%2031.941c-.891-1.546-2.121-2.894-3.473-3.671L68.359%201.172c-2.703-1.563-7.129-1.563-9.832%200L11.594%2028.27C8.89%2029.828%206.68%2033.66%206.68%2036.78v54.196c0%201.562.55%203.3%201.441%204.843L63.445%2063.88Zm0%200'%20/%3e%3cpath%20fill='%23fff'%20d='M63.445%2026.035c-20.867%200-37.843%2016.977-37.843%2037.844s16.976%2037.844%2037.843%2037.844c13.465%200%2026.024-7.247%2032.77-18.91L79.84%2073.335c-3.38%205.84-9.66%209.465-16.395%209.465c-10.433%200-18.922-8.488-18.922-18.922s8.49-18.922%2018.922-18.922c6.73%200%2013.017%203.629%2016.39%209.465l16.38-9.477c-6.75-11.664-19.305-18.91-32.77-18.91zM92.88%2057.57v4.207h-4.207v4.203h4.207v4.207h4.203V65.98h4.203v-4.203h-4.203V57.57zm15.766%200v4.207h-4.204v4.203h4.204v4.207h4.207V65.98h4.203v-4.203h-4.203V57.57z'%20/%3e%3c/svg%3e",
37
39
  c: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23659ad3'%20d='M115.4%2030.7L67.1%202.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48%2027.9c-1.7%201-2.9%203.5-2.9%205.4v55.7c0%201.1.2%202.4%201%203.5l106.8-62c-.6-1.2-1.5-2.1-2.4-2.7'%20/%3e%3cpath%20fill='%2303599c'%20d='M10.7%2095.3c.5.8%201.2%201.5%201.9%201.9l48.2%2027.9c.8.5%201.9.7%203.1.7s2.3-.3%203.1-.7l48-27.9c1.7-1%202.9-3.5%202.9-5.4V36.1c0-.9-.1-1.9-.6-2.8z'%20/%3e%3cpath%20fill='%23fff'%20d='M85.3%2076.1C81.1%2083.5%2073.1%2088.5%2064%2088.5c-13.5%200-24.5-11-24.5-24.5s11-24.5%2024.5-24.5c9.1%200%2017.1%205%2021.3%2012.5l13-7.5c-6.8-11.9-19.6-20-34.3-20c-21.8%200-39.5%2017.7-39.5%2039.5s17.7%2039.5%2039.5%2039.5c14.6%200%2027.4-8%2034.2-19.8z'%20/%3e%3c/svg%3e",
38
40
  file: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23788191'%20d='m12.89%203l1.96.4L11.11%2021l-1.96-.4zm6.7%209L16%208.41V5.58L22.42%2012L16%2018.41v-2.83zM1.58%2012L8%205.58v2.83L4.41%2012L8%2015.58v2.83z'%20/%3e%3c/svg%3e"
39
- }, nt = (e) => /* @__PURE__ */ p("img", {
40
- className: et.icon,
41
- src: tt[e.language] || "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23788191'%20d='m12.89%203l1.96.4L11.11%2021l-1.96-.4zm6.7%209L16%208.41V5.58L22.42%2012L16%2018.41v-2.83zM1.58%2012L8%205.58v2.83L4.41%2012L8%2015.58v2.83z'%20/%3e%3c/svg%3e",
41
+ }, et = (e) => /* @__PURE__ */ p("img", {
42
+ className: [Qe.icon, e.className].filter(Boolean).join(" "),
43
+ src: $e[e.language] || "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23788191'%20d='m12.89%203l1.96.4L11.11%2021l-1.96-.4zm6.7%209L16%208.41V5.58L22.42%2012L16%2018.41v-2.83zM1.58%2012L8%205.58v2.83L4.41%2012L8%2015.58v2.83z'%20/%3e%3c/svg%3e",
42
44
  width: e.size,
43
45
  height: e.size,
44
46
  alt: e.language,
@@ -47,7 +49,7 @@ var $e = { icon: "_icon_k0isg_1" }, b = ({ src: e, alt: t }) => {
47
49
  height: e.size,
48
50
  ...e.style
49
51
  }
50
- }), rt = [
52
+ }), tt = [
51
53
  "rust",
52
54
  "javascript",
53
55
  "typescript",
@@ -67,10 +69,11 @@ var $e = { icon: "_icon_k0isg_1" }, b = ({ src: e, alt: t }) => {
67
69
  "cpp",
68
70
  "c",
69
71
  "file"
70
- ], it = {
72
+ ], nt = {
71
73
  icon: "_icon_g71ox_1",
72
74
  "icon-theme-color": "_icon-theme-color_g71ox_10"
73
- }, x = (e) => /* @__PURE__ */ p("div", {
75
+ }, w = (e) => /* @__PURE__ */ p("div", {
76
+ className: e.className,
74
77
  style: e.style,
75
78
  children: /* @__PURE__ */ p("svg", {
76
79
  width: e.size || "1.25rem",
@@ -84,19 +87,19 @@ var $e = { icon: "_icon_k0isg_1" }, b = ({ src: e, alt: t }) => {
84
87
  "--elmethis-scoped-color-dark": e.colorDark ?? e.color,
85
88
  ...e.style
86
89
  },
87
- className: e.useThemeColor ? it["icon-theme-color"] : it.icon,
90
+ className: e.useThemeColor ? nt["icon-theme-color"] : nt.icon,
88
91
  fill: "currentColor",
89
92
  d: e.d
90
93
  })
91
94
  })
92
- }), at = {
95
+ }), rt = {
93
96
  wrapper: "_wrapper_1q92c_15",
94
97
  dot: "_dot_1q92c_22",
95
98
  bounce: "_bounce_1q92c_1"
96
- }, S = (e) => {
99
+ }, T = (e) => {
97
100
  let { color: t, size: n = "64px", style: r } = e;
98
101
  return /* @__PURE__ */ p("div", {
99
- className: at.wrapper,
102
+ className: [rt.wrapper, e.className].filter(Boolean).join(" "),
100
103
  style: {
101
104
  width: n,
102
105
  height: n,
@@ -107,51 +110,51 @@ var $e = { icon: "_icon_k0isg_1" }, b = ({ src: e, alt: t }) => {
107
110
  2,
108
111
  3
109
112
  ].map((e) => /* @__PURE__ */ p("div", {
110
- className: at.dot,
113
+ className: rt.dot,
111
114
  "aria-hidden": !0,
112
115
  style: t ? { backgroundColor: t } : void 0
113
116
  }, e))
114
117
  });
115
- }, ot = {
118
+ }, it = {
116
119
  wrapper: "_wrapper_1yu3x_19",
117
120
  square: "_square_1yu3x_28",
118
121
  appear: "_appear_1yu3x_1"
119
- }, st = 1200, ct = (e) => {
120
- let { size: t = "3rem", dimensions: n = 4, style: r } = e, i = st / (n * 3), a = Array.from({ length: n });
122
+ }, at = 1200, ot = (e) => {
123
+ let { size: t = "3rem", dimensions: n = 4, style: r } = e, i = at / (n * 3), a = Array.from({ length: n });
121
124
  return /* @__PURE__ */ p("div", {
122
- className: ot.wrapper,
125
+ className: [it.wrapper, e.className].filter(Boolean).join(" "),
123
126
  style: {
124
127
  "--size": t,
125
128
  "--dimensions": n,
126
- "--duration": `${st}ms`,
129
+ "--duration": `${at}ms`,
127
130
  ...r
128
131
  },
129
132
  children: a.map((e, t) => a.map((e, n) => /* @__PURE__ */ p("div", {
130
- className: ot.square,
133
+ className: it.square,
131
134
  style: { "--delay": `${i * (t + n)}ms` }
132
135
  }, `${t}-${n}`)))
133
136
  });
134
- }, lt = { icon: "_icon_x4u0f_1" }, ut = "elmethis-theme";
135
- function dt() {
137
+ }, st = { icon: "_icon_x4u0f_1" }, ct = "elmethis-theme";
138
+ function lt() {
136
139
  if (typeof document < "u") {
137
140
  let e = document.documentElement.getAttribute("data-theme");
138
141
  if (e != null) return e === "dark";
139
142
  }
140
143
  if (typeof localStorage < "u") {
141
- let e = localStorage.getItem(ut);
144
+ let e = localStorage.getItem(ct);
142
145
  if (e != null) return e === "dark";
143
146
  }
144
147
  return !1;
145
148
  }
146
- function ft() {
147
- let [e, t] = d(dt), n = a(() => {
149
+ function ut() {
150
+ let [e, t] = d(lt), n = a(() => {
148
151
  t((e) => !e);
149
152
  }, []);
150
153
  return s(() => {
151
154
  if (typeof document < "u") {
152
155
  document.documentElement.setAttribute("data-theme", e ? "dark" : "light");
153
156
  let t = document.querySelector("body");
154
- t != null && (t.style.colorScheme = e ? "dark" : "light"), typeof localStorage < "u" && localStorage.setItem(ut, e ? "dark" : "light");
157
+ t != null && (t.style.colorScheme = e ? "dark" : "light"), typeof localStorage < "u" && localStorage.setItem(ct, e ? "dark" : "light");
155
158
  }
156
159
  }, [e]), {
157
160
  isDarkTheme: e,
@@ -160,16 +163,16 @@ function ft() {
160
163
  }
161
164
  //#endregion
162
165
  //#region src/components/icon/ElmToggleTheme.tsx
163
- var pt = (e) => {
164
- let { size: t = "2rem", style: n } = e, { isDarkTheme: r, toggleTheme: i } = ft();
165
- return r ? /* @__PURE__ */ m("svg", {
166
+ var dt = (e) => {
167
+ let { size: t = "2rem", style: n, className: r } = e, { isDarkTheme: i, toggleTheme: a } = ut();
168
+ return i ? /* @__PURE__ */ m("svg", {
166
169
  xmlns: "http://www.w3.org/2000/svg",
167
170
  width: t,
168
171
  height: t,
169
172
  viewBox: "0 0 24 24",
170
- className: lt.icon,
173
+ className: [st.icon, r].filter(Boolean).join(" "),
171
174
  style: n,
172
- onClick: i,
175
+ onClick: a,
173
176
  children: [
174
177
  /* @__PURE__ */ m("path", {
175
178
  fillOpacity: "0",
@@ -396,9 +399,9 @@ var pt = (e) => {
396
399
  width: t,
397
400
  height: t,
398
401
  viewBox: "0 0 24 24",
399
- className: lt.icon,
402
+ className: st.icon,
400
403
  style: n,
401
- onClick: i,
404
+ onClick: a,
402
405
  children: [
403
406
  /* @__PURE__ */ m("g", {
404
407
  fill: "none",
@@ -589,19 +592,20 @@ var pt = (e) => {
589
592
  })
590
593
  ]
591
594
  });
592
- }, C = {
595
+ }, E = {
593
596
  arrow: "_arrow_kn879_19",
594
597
  loading: "_loading_kn879_49",
595
598
  normal: "_normal_kn879_55",
596
599
  pending: "_pending_kn879_64"
597
- }, mt = (e) => {
600
+ }, ft = (e) => {
598
601
  let { direction: t = "right", loading: n = !1, pending: r = !1, size: i = "2rem", style: a } = e, o = t === "up" ? "rotate(270deg)" : t === "down" ? "rotate(90deg)" : t === "left" ? "rotate(180deg)" : "rotate(0deg)";
599
602
  return /* @__PURE__ */ p("div", {
600
603
  className: [
601
- C.arrow,
602
- !n && !r ? C.normal : void 0,
603
- n ? C.loading : void 0,
604
- !n && r ? C.pending : void 0
604
+ E.arrow,
605
+ !n && !r ? E.normal : void 0,
606
+ n ? E.loading : void 0,
607
+ !n && r ? E.pending : void 0,
608
+ e.className
605
609
  ].filter(Boolean).join(" "),
606
610
  style: {
607
611
  "--size": i,
@@ -609,26 +613,26 @@ var pt = (e) => {
609
613
  ...a
610
614
  }
611
615
  });
612
- }, ht = {
616
+ }, pt = {
613
617
  wrapper: "_wrapper_1c6r3_1",
614
618
  favicon: "_favicon_1c6r3_24",
615
619
  text: "_text_1c6r3_29"
616
- }, gt = {
620
+ }, mt = {
617
621
  text: "_text_1nnze_1",
618
622
  link: "_link_1nnze_19"
619
- }, w = (e) => {
623
+ }, D = (e) => {
620
624
  let t = (e) => {
621
625
  let t = e.children;
622
626
  return e.kbd && (t = /* @__PURE__ */ p("kbd", { children: t })), e.code && (t = /* @__PURE__ */ p("code", { children: t })), e.strikethrough && (t = /* @__PURE__ */ p("del", { children: t })), e.underline && (t = /* @__PURE__ */ p("ins", { children: t })), e.italic && (t = /* @__PURE__ */ p("em", { children: t })), e.bold && (t = /* @__PURE__ */ p("strong", { children: t })), e.ruby && (t = /* @__PURE__ */ m("ruby", { children: [t, /* @__PURE__ */ p("rt", { children: e.ruby })] })), t;
623
627
  }, n = ({ favicon: e, href: t, children: n }) => /* @__PURE__ */ m("a", {
624
- className: gt.link,
628
+ className: mt.link,
625
629
  href: t,
626
630
  target: "_blank",
627
631
  rel: "noopener noreferrer",
628
- children: [e && /* @__PURE__ */ p(b, { src: e }), n]
632
+ children: [e && /* @__PURE__ */ p(C, { src: e }), n]
629
633
  }), r = (e) => e.href ? n(e) : t(e);
630
634
  return /* @__PURE__ */ p("span", {
631
- className: gt.text,
635
+ className: [mt.text, e.className].filter(Boolean).join(" "),
632
636
  style: {
633
637
  "--elmethis-text-color-light": e.color,
634
638
  "--elmethis-text-color-dark": e.color,
@@ -640,35 +644,35 @@ var pt = (e) => {
640
644
  },
641
645
  children: r(e)
642
646
  });
643
- }, _t = (e) => {
647
+ }, ht = (e) => {
644
648
  let { name: t, href: n, favicon: r, style: i } = e;
645
649
  return /* @__PURE__ */ m("a", {
646
- className: ht.wrapper,
650
+ className: [pt.wrapper, e.className].filter(Boolean).join(" "),
647
651
  href: n,
648
652
  target: "_blank",
649
653
  rel: "noopener noreferrer",
650
654
  style: i,
651
- children: [r == null ? /* @__PURE__ */ p(x, {
652
- d: Se,
655
+ children: [r == null ? /* @__PURE__ */ p(w, {
656
+ d: ye,
653
657
  size: "2.5rem",
654
658
  style: { opacity: .7 }
655
659
  }) : /* @__PURE__ */ p("img", {
656
- className: ht.favicon,
660
+ className: pt.favicon,
657
661
  src: r,
658
662
  alt: `favicon of ${t ?? n}`
659
663
  }), /* @__PURE__ */ p("div", {
660
- className: ht.text,
661
- children: /* @__PURE__ */ p(w, {
664
+ className: pt.text,
665
+ children: /* @__PURE__ */ p(D, {
662
666
  size: ".6rem",
663
667
  children: t ?? n
664
668
  })
665
669
  })]
666
670
  });
667
- }, vt = {
671
+ }, gt = {
668
672
  cube: "_cube_1merk_1",
669
673
  "elmethis-cube-icon-rotate": "_elmethis-cube-icon-rotate_1merk_1",
670
674
  face: "_face_1merk_8"
671
- }, yt = [
675
+ }, _t = [
672
676
  {
673
677
  name: "front",
674
678
  rotate: ""
@@ -693,51 +697,51 @@ var pt = (e) => {
693
697
  name: "bottom",
694
698
  rotate: "rotateX(-90deg)"
695
699
  }
696
- ], bt = (e) => {
700
+ ], vt = (e) => {
697
701
  let { size: t = 128, style: n } = e, r = l(() => `translateZ(${t / 2}px)`, [t]);
698
702
  return /* @__PURE__ */ p("div", {
699
- className: vt.cube,
703
+ className: [gt.cube, e.className].filter(Boolean).join(" "),
700
704
  style: {
701
705
  width: `${t}px`,
702
706
  height: `${t}px`,
703
707
  ...n
704
708
  },
705
- children: yt.map((e) => /* @__PURE__ */ p("div", {
706
- className: vt.face,
709
+ children: _t.map((e) => /* @__PURE__ */ p("div", {
710
+ className: gt.face,
707
711
  style: { transform: `${e.rotate} ${r}` }
708
712
  }, e.name))
709
713
  });
710
- }, xt = { icon: "_icon_140bn_1" }, St = (e) => {
711
- let { size: t = "2rem", isLogin: n = !1, isLoading: r = !1, style: i } = e, a = r ? Ie : n ? ze : Re, o = r ? "gray" : n ? "#b36472" : "#6987b8";
714
+ }, yt = { icon: "_icon_140bn_1" }, bt = (e) => {
715
+ let { size: t = "2rem", isLogin: n = !1, isLoading: r = !1, style: i } = e, a = r ? Ne : n ? Ie : Fe, o = r ? "gray" : n ? "#b36472" : "#6987b8";
712
716
  return /* @__PURE__ */ p("div", {
713
- className: xt.icon,
717
+ className: [yt.icon, e.className].filter(Boolean).join(" "),
714
718
  style: i,
715
- children: /* @__PURE__ */ p(x, {
719
+ children: /* @__PURE__ */ p(w, {
716
720
  d: a,
717
721
  color: o,
718
722
  size: t
719
723
  })
720
724
  });
721
- }, Ct = { paragraph: "_paragraph_ewdky_1" }, wt = (e) => /* @__PURE__ */ p("p", {
722
- className: Ct.paragraph,
725
+ }, xt = { paragraph: "_paragraph_ewdky_1" }, St = (e) => /* @__PURE__ */ p("p", {
726
+ className: [xt.paragraph, e.className].filter(Boolean).join(" "),
723
727
  style: {
724
728
  backgroundColor: e.backgroundColor,
725
729
  ...e.style
726
730
  },
727
731
  children: e.children
728
- }), T = {
732
+ }), O = {
729
733
  blockquote: "_blockquote_x79j0_1",
730
734
  cite: "_cite_x79j0_16",
731
735
  icon: "_icon_x79j0_37"
732
- }, Tt = (e) => /* @__PURE__ */ m("blockquote", {
736
+ }, Ct = (e) => /* @__PURE__ */ m("blockquote", {
733
737
  ref: u(null),
734
- className: T.blockquote,
738
+ className: [O.blockquote, e.className].filter(Boolean).join(" "),
735
739
  cite: e.cite,
736
740
  style: { ...e.style },
737
741
  children: [
738
742
  e.children,
739
743
  e.cite && /* @__PURE__ */ p("cite", {
740
- className: T.cite,
744
+ className: O.cite,
741
745
  children: /* @__PURE__ */ p("a", {
742
746
  href: e.cite,
743
747
  target: "_blank",
@@ -746,7 +750,7 @@ var pt = (e) => {
746
750
  })
747
751
  }),
748
752
  /* @__PURE__ */ p("svg", {
749
- className: T.icon,
753
+ className: O.icon,
750
754
  style: {
751
755
  top: "0.25rem",
752
756
  left: "0.25rem"
@@ -754,10 +758,10 @@ var pt = (e) => {
754
758
  viewBox: "0 0 24 24",
755
759
  width: "1rem",
756
760
  height: "1rem",
757
- children: /* @__PURE__ */ p("path", { d: ke })
761
+ children: /* @__PURE__ */ p("path", { d: Ee })
758
762
  }),
759
763
  /* @__PURE__ */ p("svg", {
760
- className: T.icon,
764
+ className: O.icon,
761
765
  style: {
762
766
  bottom: "0.25rem",
763
767
  right: "0.25rem"
@@ -765,69 +769,69 @@ var pt = (e) => {
765
769
  viewBox: "0 0 24 24",
766
770
  width: "1rem",
767
771
  height: "1rem",
768
- children: /* @__PURE__ */ p("path", { d: Oe })
772
+ children: /* @__PURE__ */ p("path", { d: Te })
769
773
  })
770
774
  ]
771
- }), Et = {
775
+ }), wt = {
772
776
  callout: "_callout_16oli_1",
773
777
  header: "_header_16oli_24"
774
- }, Dt = Object.freeze({
778
+ }, Tt = Object.freeze({
775
779
  note: {
776
780
  code: "#6987b8",
777
- icon: je
781
+ icon: Oe
778
782
  },
779
783
  tip: {
780
784
  code: "#59b57c",
781
- icon: Pe
785
+ icon: je
782
786
  },
783
787
  important: {
784
788
  code: "#9771bd",
785
- icon: Ke
789
+ icon: Ue
786
790
  },
787
791
  warning: {
788
792
  code: "#b8a36e",
789
- icon: ne
793
+ icon: x
790
794
  },
791
795
  caution: {
792
796
  code: "#b36472",
793
- icon: ie
797
+ icon: ne
794
798
  }
795
- }), Ot = ({ type: e = "note", ...t }) => {
796
- let n = Dt[e];
799
+ }), Et = ({ type: e = "note", ...t }) => {
800
+ let n = Tt[e];
797
801
  return /* @__PURE__ */ m("aside", {
798
- className: Et.callout,
802
+ className: [wt.callout, t.className].filter(Boolean).join(" "),
799
803
  style: {
800
804
  "--elmethis-scoped-border-color": n.code,
801
805
  "--elmethis-scoped-background-color": `color-mix(in srgb, ${n.code} 10%, transparent)`,
802
806
  ...t.style
803
807
  },
804
808
  children: [/* @__PURE__ */ m("div", {
805
- className: Et.header,
806
- children: [/* @__PURE__ */ p(x, {
809
+ className: wt.header,
810
+ children: [/* @__PURE__ */ p(w, {
807
811
  d: n.icon,
808
812
  size: "1.25em",
809
813
  color: n.code
810
- }), /* @__PURE__ */ p(w, {
814
+ }), /* @__PURE__ */ p(D, {
811
815
  color: n.code,
812
816
  children: e.toUpperCase()
813
817
  })]
814
818
  }), /* @__PURE__ */ p("div", { children: t.children })]
815
819
  });
816
- }, kt = { divider: "_divider_uq5jr_1" }, At = (e) => /* @__PURE__ */ p("hr", {
817
- className: kt.divider,
820
+ }, Dt = { divider: "_divider_uq5jr_1" }, Ot = (e) => /* @__PURE__ */ p("hr", {
821
+ className: [Dt.divider, e.className].filter(Boolean).join(" "),
818
822
  style: e.style
819
- }), jt = { fragment: "_fragment_il7xb_1" }, Mt = (e) => {
823
+ }), kt = { fragment: "_fragment_il7xb_1" }, At = (e) => {
820
824
  let t = a((e) => {
821
825
  let t = new URL(window.location.href);
822
826
  t.hash = e, window.history.replaceState(null, "", t.toString()), document.getElementById(e)?.scrollIntoView({ behavior: "smooth" });
823
827
  }, []);
824
828
  return /* @__PURE__ */ p("span", {
825
- className: jt.fragment,
829
+ className: [kt.fragment, e.className].filter(Boolean).join(" "),
826
830
  style: e.style,
827
831
  onClick: () => t(e.id),
828
832
  children: "#"
829
833
  });
830
- }, E = {
834
+ }, jt = {
831
835
  "heading-common": "_heading-common_1ytfd_1",
832
836
  h1: "_h1_1ytfd_22",
833
837
  h2: "_h2_1ytfd_57",
@@ -837,14 +841,14 @@ var pt = (e) => {
837
841
  h5: "_h5_1ytfd_134",
838
842
  h6: "_h6_1ytfd_138",
839
843
  "heading-stretch": "_heading-stretch_1ytfd_1"
840
- }, Nt = Object.freeze({
844
+ }, Mt = Object.freeze({
841
845
  1: 1.5,
842
846
  2: 1.4,
843
847
  3: 1.3,
844
848
  4: 1.2,
845
849
  5: 1.15,
846
850
  6: 1.1
847
- }), Pt = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), D = ({ level: e = 1, disableFragmentIdentifier: t = !1, ...n }) => {
851
+ }), Nt = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), k = ({ level: e = 1, disableFragmentIdentifier: t = !1, ...n }) => {
848
852
  let r = u(null), [i, a] = d(!1);
849
853
  s(() => {
850
854
  let e = r.current;
@@ -854,13 +858,17 @@ var pt = (e) => {
854
858
  });
855
859
  return t.observe(e), () => t.disconnect();
856
860
  }, []);
857
- let o = `h${e}`, c = n.id ?? (n.text ? Pt(n.text) : void 0);
861
+ let o = `h${e}`, c = n.id ?? (n.text ? Nt(n.text) : void 0);
858
862
  return /* @__PURE__ */ m(o, {
859
863
  ref: r,
860
- className: [E["heading-common"], E[`h${e}`]].filter(Boolean).join(" "),
864
+ className: [
865
+ jt["heading-common"],
866
+ jt[`h${e}`],
867
+ n.className
868
+ ].filter(Boolean).join(" "),
861
869
  id: c,
862
870
  style: {
863
- "--font-size": n.size ?? `${Nt[e]}rem`,
871
+ "--font-size": n.size ?? `${Mt[e]}rem`,
864
872
  "--scale": +!!i,
865
873
  "--opacity": +!!i,
866
874
  ...n.style
@@ -868,71 +876,75 @@ var pt = (e) => {
868
876
  children: [
869
877
  n.text && /* @__PURE__ */ p("span", { children: n.text }),
870
878
  n.children,
871
- !t && c && /* @__PURE__ */ p(Mt, { id: c }),
879
+ !t && c && /* @__PURE__ */ p(At, { id: c }),
872
880
  e === 2 && /* @__PURE__ */ p("span", {
873
- className: E.h2__underline,
881
+ className: jt.h2__underline,
874
882
  "aria-hidden": "true"
875
883
  })
876
884
  ]
877
885
  });
878
- }, Ft = {
886
+ }, Pt = {
879
887
  "elmethis-list-common": "_elmethis-list-common_1qwri_1",
880
888
  "elmethis-bulleted-list": "_elmethis-bulleted-list_1qwri_7",
881
889
  "elmethis-numbered-list": "_elmethis-numbered-list_1qwri_25"
882
- }, It = ({ listStyle: e = "unordered", ...t }) => {
883
- let n = [Ft["elmethis-list-common"], e === "unordered" ? Ft["elmethis-bulleted-list"] : Ft["elmethis-numbered-list"]].join(" ");
890
+ }, Ft = ({ listStyle: e = "unordered", ...t }) => {
891
+ let n = [
892
+ Pt["elmethis-list-common"],
893
+ e === "unordered" ? Pt["elmethis-bulleted-list"] : Pt["elmethis-numbered-list"],
894
+ t.className
895
+ ].filter(Boolean).join(" ");
884
896
  return p(e === "ordered" ? "ol" : "ul", {
885
897
  className: n,
886
898
  style: t.style,
887
899
  children: t.children
888
900
  });
889
- }, Lt = {
901
+ }, It = {
890
902
  text: "_text_zrzts_1",
891
903
  cursor: "_cursor_zrzts_30",
892
904
  blink: "_blink_zrzts_1"
893
- }, O = (e) => new Promise((t) => {
905
+ }, A = (e) => new Promise((t) => {
894
906
  setTimeout(t, e);
895
- }), Rt = ({ texts: e = [], interval: t = 3e3, fontSize: n = "1rem", ...r }) => {
907
+ }), Lt = ({ texts: e = [], interval: t = 3e3, fontSize: n = "1rem", ...r }) => {
896
908
  let [i, a] = d(""), o = u(!1);
897
909
  return s(() => (o.current = !1, (async () => {
898
910
  for (; !o.current;) for (let n of e) {
899
911
  for (let e = 0; e < n.length; e++) {
900
- if (o.current || (await O(75), o.current)) return;
912
+ if (o.current || (await A(75), o.current)) return;
901
913
  a(n.slice(0, e + 1));
902
914
  }
903
- if (await O(t), o.current) return;
904
- for (let e = n.length; e >= 0; e--) if (o.current || (a(n.slice(0, e)), await O(25), o.current)) return;
905
- if (await O(200), o.current) return;
915
+ if (await A(t), o.current) return;
916
+ for (let e = n.length; e >= 0; e--) if (o.current || (a(n.slice(0, e)), await A(25), o.current)) return;
917
+ if (await A(200), o.current) return;
906
918
  }
907
919
  })(), () => {
908
920
  o.current = !0;
909
921
  }), [e, t]), /* @__PURE__ */ m("span", {
910
- className: Lt.text,
922
+ className: [It.text, r.className].filter(Boolean).join(" "),
911
923
  style: {
912
924
  fontSize: n,
913
925
  ...r.style
914
926
  },
915
927
  children: [i, /* @__PURE__ */ p("span", {
916
- className: Lt.cursor,
928
+ className: It.cursor,
917
929
  children: "\xA0"
918
930
  })]
919
931
  });
920
- }, zt = { "elm-template": "_elm-template_18rwn_1" }, Bt = (e) => /* @__PURE__ */ p("div", {
921
- className: zt["elm-template"],
932
+ }, Rt = { "elm-template": "_elm-template_18rwn_1" }, zt = (e) => /* @__PURE__ */ p("div", {
933
+ className: [Rt["elm-template"], e.className].filter(Boolean).join(" "),
922
934
  style: e.style,
923
935
  children: "PLACEHOLDER"
924
- }), k = {
936
+ }), j = {
925
937
  progress: "_progress_e6hmw_1",
926
938
  container: "_container_e6hmw_27",
927
939
  value: "_value_e6hmw_41",
928
940
  loading: "_loading_e6hmw_56",
929
941
  buffer: "_buffer_e6hmw_72"
930
- }, Vt = ({ value: e, buffer: t, max: n = 100, weight: r = "4px", round: i = !0, color: a, loading: o = !1, style: s }) => /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("progress", {
931
- className: k.progress,
942
+ }, Bt = ({ value: e, buffer: t, max: n = 100, weight: r = "4px", round: i = !0, color: a, loading: o = !1, style: s, className: c }) => /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("progress", {
943
+ className: j.progress,
932
944
  value: e,
933
945
  max: n
934
946
  }), /* @__PURE__ */ m("div", {
935
- className: k.container,
947
+ className: [j.container, c].filter(Boolean).join(" "),
936
948
  style: {
937
949
  "--weight": r,
938
950
  "--border-radius": i ? "calc(var(--weight) / 2)" : void 0,
@@ -941,20 +953,20 @@ var pt = (e) => {
941
953
  },
942
954
  children: [
943
955
  /* @__PURE__ */ p("div", {
944
- className: k.value,
956
+ className: j.value,
945
957
  style: { "--scale-x": `scaleX(${o ? 0 : e / n})` }
946
958
  }),
947
- o && /* @__PURE__ */ p("div", { className: k.loading }),
959
+ o && /* @__PURE__ */ p("div", { className: j.loading }),
948
960
  /* @__PURE__ */ p("div", {
949
- className: k.buffer,
961
+ className: j.buffer,
950
962
  style: { "--scale-x": `scaleX(${o ? 0 : t == null ? e / n : t / n})` }
951
963
  })
952
964
  ]
953
- })] }), Ht = {
965
+ })] }), Vt = {
954
966
  container: "_container_13d02_1",
955
967
  bar: "_bar_13d02_15"
956
- }, Ut = ({ progress: e, weight: t = "4px", round: n = !0, style: r }) => {
957
- let i = l(() => {
968
+ }, Ht = ({ progress: e, weight: t = "4px", round: n = !0, style: r, className: i }) => {
969
+ let a = l(() => {
958
970
  let t = e.reduce((e, t) => e + t.value, 0), n = e.map((e) => e.value / t * 100);
959
971
  return e.map((e, t) => ({
960
972
  ...e,
@@ -963,52 +975,52 @@ var pt = (e) => {
963
975
  }));
964
976
  }, [e]);
965
977
  return /* @__PURE__ */ p("div", {
966
- className: Ht.container,
978
+ className: [Vt.container, i].filter(Boolean).join(" "),
967
979
  style: {
968
980
  "--weight": t,
969
981
  "--border-radius": n ? "calc(var(--weight) / 2)" : void 0,
970
982
  ...r
971
983
  },
972
- children: i.map((e, t) => /* @__PURE__ */ p("div", {
973
- className: Ht.bar,
984
+ children: a.map((e, t) => /* @__PURE__ */ p("div", {
985
+ className: Vt.bar,
974
986
  style: {
975
987
  "--transform": `translateX(${e.start}%) scaleX(${e.scale})`,
976
988
  "--color": e.color
977
989
  }
978
990
  }, t))
979
991
  });
980
- }, Wt = { wrapper: "_wrapper_17chp_1" }, Gt = Object.freeze({
992
+ }, Ut = { wrapper: "_wrapper_17chp_1" }, Wt = Object.freeze({
981
993
  pending: {
982
994
  color: "#6987b8",
983
- icon: Ge
995
+ icon: He
984
996
  },
985
997
  error: {
986
998
  color: "#c56565",
987
- icon: re
999
+ icon: te
988
1000
  },
989
1001
  warning: {
990
1002
  color: "#cdb57b",
991
- icon: ne
1003
+ icon: x
992
1004
  },
993
1005
  success: {
994
1006
  color: "#59b57c",
995
- icon: pe
1007
+ icon: de
996
1008
  }
997
- }), Kt = ({ status: e, message: t, style: n }) => {
998
- let { color: r, icon: i } = Gt[e];
1009
+ }), Gt = ({ status: e, message: t, style: n, className: r }) => {
1010
+ let { color: i, icon: a } = Wt[e];
999
1011
  return /* @__PURE__ */ m("div", {
1000
- className: Wt.wrapper,
1012
+ className: [Ut.wrapper, r].filter(Boolean).join(" "),
1001
1013
  style: n,
1002
- children: [/* @__PURE__ */ p(x, {
1003
- d: i,
1004
- color: r,
1014
+ children: [/* @__PURE__ */ p(w, {
1015
+ d: a,
1016
+ color: i,
1005
1017
  size: "1em"
1006
- }), /* @__PURE__ */ p(w, {
1007
- color: r,
1018
+ }), /* @__PURE__ */ p(D, {
1019
+ color: i,
1008
1020
  children: t
1009
1021
  })]
1010
1022
  });
1011
- }, A = {
1023
+ }, M = {
1012
1024
  wrapper: "_wrapper_gcui5_1",
1013
1025
  error: "_error_gcui5_9",
1014
1026
  "image-frame": "_image-frame_gcui5_21",
@@ -1020,80 +1032,80 @@ var pt = (e) => {
1020
1032
  "alt-text": "_alt-text_gcui5_90",
1021
1033
  modal: "_modal_gcui5_94",
1022
1034
  "modal-image": "_modal-image_gcui5_108"
1023
- }, j = ({ src: e, alt: t, block: n = !1, enableModal: r = !1, width: i, height: a, style: o }) => {
1024
- let [c, l] = d(!0), [f, h] = d(!1), [g, _] = d(!1), v = u(null);
1035
+ }, N = ({ src: e, alt: t, block: n = !1, enableModal: r = !1, width: i, height: a, style: o, className: c }) => {
1036
+ let [l, f] = d(!0), [h, g] = d(!1), [_, v] = d(!1), y = u(null);
1025
1037
  return s(() => {
1026
1038
  let t = new Image();
1027
1039
  t.src = e, t.onload = () => {
1028
- l(!1), h(!1);
1040
+ f(!1), g(!1);
1029
1041
  }, t.onerror = () => {
1030
- l(!1), h(!0);
1042
+ f(!1), g(!0);
1031
1043
  };
1032
1044
  }, [e]), s(() => {
1033
1045
  let e = (e) => {
1034
- e.key === "Escape" && (e.preventDefault(), _(!1));
1046
+ e.key === "Escape" && (e.preventDefault(), v(!1));
1035
1047
  };
1036
1048
  return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
1037
1049
  }, []), /* @__PURE__ */ m("div", {
1038
- className: A.wrapper,
1039
- ref: v,
1050
+ className: [M.wrapper, c].filter(Boolean).join(" "),
1051
+ ref: y,
1040
1052
  style: o,
1041
1053
  children: [
1042
- f && /* @__PURE__ */ p("div", {
1043
- className: A.error,
1044
- children: /* @__PURE__ */ p(w, {
1054
+ h && /* @__PURE__ */ p("div", {
1055
+ className: M.error,
1056
+ children: /* @__PURE__ */ p(D, {
1045
1057
  color: "#c56565",
1046
1058
  size: "1.5rem",
1047
1059
  children: "Error loading image"
1048
1060
  })
1049
1061
  }),
1050
1062
  /* @__PURE__ */ m("div", {
1051
- className: A["image-frame"],
1063
+ className: M["image-frame"],
1052
1064
  style: o,
1053
- children: [c && /* @__PURE__ */ p("div", {
1054
- className: A.fallback,
1065
+ children: [l && /* @__PURE__ */ p("div", {
1066
+ className: M.fallback,
1055
1067
  style: {
1056
1068
  aspectRatio: i && a ? `${i} / ${a}` : "1200 / 630",
1057
1069
  width: i ? `${i}px` : void 0,
1058
1070
  height: a ? `${a}px` : void 0
1059
1071
  }
1060
1072
  }), /* @__PURE__ */ p("img", {
1061
- className: n ? A["image-block"] : A["image-inline"],
1073
+ className: n ? M["image-block"] : M["image-inline"],
1062
1074
  src: e,
1063
1075
  alt: t,
1064
1076
  width: i,
1065
1077
  height: a,
1066
1078
  onClick: () => {
1067
- r && _(!0);
1079
+ r && v(!0);
1068
1080
  },
1069
1081
  style: {
1070
1082
  "--width": i ? `${i}px` : void 0,
1071
1083
  "--height": a ? `${a}px` : void 0,
1072
1084
  cursor: r ? "zoom-in" : void 0,
1073
- opacity: +(!c && !f),
1074
- pointerEvents: !c && !f ? void 0 : "none"
1085
+ opacity: +(!l && !h),
1086
+ pointerEvents: !l && !h ? void 0 : "none"
1075
1087
  }
1076
1088
  })]
1077
1089
  }),
1078
- n && !c && t != null && t.trim() !== "" && /* @__PURE__ */ m("div", {
1079
- className: A["alt-container"],
1080
- children: [/* @__PURE__ */ p(x, {
1081
- d: He,
1090
+ n && !l && t != null && t.trim() !== "" && /* @__PURE__ */ m("div", {
1091
+ className: M["alt-container"],
1092
+ children: [/* @__PURE__ */ p(w, {
1093
+ d: ze,
1082
1094
  color: "#b69545",
1083
1095
  style: { flexShrink: 0 }
1084
1096
  }), /* @__PURE__ */ p("div", {
1085
- className: A["alt-text"],
1086
- children: /* @__PURE__ */ p(w, {
1097
+ className: M["alt-text"],
1098
+ children: /* @__PURE__ */ p(D, {
1087
1099
  size: "0.8rem",
1088
1100
  children: t
1089
1101
  })
1090
1102
  })]
1091
1103
  }),
1092
- g && /* @__PURE__ */ p("div", {
1093
- className: A.modal,
1094
- onClick: () => _(!1),
1104
+ _ && /* @__PURE__ */ p("div", {
1105
+ className: M.modal,
1106
+ onClick: () => v(!1),
1095
1107
  children: /* @__PURE__ */ p("img", {
1096
- className: A["modal-image"],
1108
+ className: M["modal-image"],
1097
1109
  src: e,
1098
1110
  alt: t,
1099
1111
  width: i,
@@ -1102,7 +1114,7 @@ var pt = (e) => {
1102
1114
  })
1103
1115
  ]
1104
1116
  });
1105
- }, M = {
1117
+ }, P = {
1106
1118
  file: "_file_sk4pw_1",
1107
1119
  "left-container": "_left-container_sk4pw_19",
1108
1120
  "right-container": "_right-container_sk4pw_26",
@@ -1110,49 +1122,49 @@ var pt = (e) => {
1110
1122
  };
1111
1123
  //#endregion
1112
1124
  //#region src/components/media/ElmFile.tsx
1113
- function qt(e) {
1125
+ function Kt(e) {
1114
1126
  let t = e.split(/[?#]/)[0].split("/").filter(Boolean);
1115
1127
  return t.length > 0 ? t[t.length - 1] : null;
1116
1128
  }
1117
- var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1118
- let i = a(async () => {
1129
+ var qt = ({ name: e, src: t, filesize: n, style: r, className: i }) => {
1130
+ let o = a(async () => {
1119
1131
  let n;
1120
1132
  try {
1121
1133
  let r = await fetch(t);
1122
1134
  if (!r.ok) throw Error("Failed to download file");
1123
1135
  let i = await r.blob();
1124
- n = document.createElement("a"), n.href = URL.createObjectURL(i), n.download = e ?? qt(t) ?? "file", n.click();
1136
+ n = document.createElement("a"), n.href = URL.createObjectURL(i), n.download = e ?? Kt(t) ?? "file", n.click();
1125
1137
  } catch (e) {
1126
1138
  console.error("ERROR:", e);
1127
1139
  } finally {
1128
1140
  n && URL.revokeObjectURL(n.href);
1129
1141
  }
1130
- }, [t, e]), o = e ?? qt(t) ?? "unknown file";
1142
+ }, [t, e]), s = e ?? Kt(t) ?? "unknown file";
1131
1143
  return /* @__PURE__ */ m("div", {
1132
- className: M.file,
1144
+ className: [P.file, i].filter(Boolean).join(" "),
1133
1145
  style: r,
1134
1146
  children: [/* @__PURE__ */ m("div", {
1135
- className: M["left-container"],
1136
- children: [/* @__PURE__ */ p(x, {
1137
- d: Ee,
1147
+ className: P["left-container"],
1148
+ children: [/* @__PURE__ */ p(w, {
1149
+ d: Ce,
1138
1150
  size: "1.25em"
1139
- }), /* @__PURE__ */ p(w, { children: o })]
1151
+ }), /* @__PURE__ */ p(D, { children: s })]
1140
1152
  }), /* @__PURE__ */ m("div", {
1141
- className: M["right-container"],
1153
+ className: P["right-container"],
1142
1154
  children: [n && /* @__PURE__ */ p("span", {
1143
1155
  style: { opacity: .6 },
1144
- children: /* @__PURE__ */ p(w, { children: n })
1156
+ children: /* @__PURE__ */ p(D, { children: n })
1145
1157
  }), /* @__PURE__ */ p("div", {
1146
- className: M["download-icon"],
1147
- onClick: i,
1148
- children: /* @__PURE__ */ p(x, {
1149
- d: xe,
1158
+ className: P["download-icon"],
1159
+ onClick: o,
1160
+ children: /* @__PURE__ */ p(w, {
1161
+ d: ve,
1150
1162
  size: "1.25em"
1151
1163
  })
1152
1164
  })]
1153
1165
  })]
1154
1166
  });
1155
- }, N = {
1167
+ }, F = {
1156
1168
  parent: "_parent_1hx4v_1",
1157
1169
  bookmark: "_bookmark_1hx4v_23",
1158
1170
  image: "_image_1hx4v_42",
@@ -1161,25 +1173,25 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1161
1173
  date: "_date_1hx4v_81",
1162
1174
  link: "_link_1hx4v_90",
1163
1175
  favicon: "_favicon_1hx4v_100"
1164
- }, Yt = ({ hideUrl: e = !1, openInNewTab: t = !0, title: n, description: r = "No description provided", image: i, url: a, createdAt: o, updatedAt: s, onClick: c, favicon: l, style: u }) => {
1165
- let [h, g] = d(!1), _ = (e) => {
1176
+ }, Jt = ({ hideUrl: e = !1, openInNewTab: t = !0, title: n, description: r = "No description provided", image: i, url: a, createdAt: o, updatedAt: s, onClick: c, favicon: l, style: u, className: h }) => {
1177
+ let [g, _] = d(!1), v = (e) => {
1166
1178
  c && (e.preventDefault(), c());
1167
- }, v = r != null && r.length > 100 ? r.slice(0, 100) + "..." : r;
1179
+ }, y = r != null && r.length > 100 ? r.slice(0, 100) + "..." : r;
1168
1180
  return /* @__PURE__ */ p("div", {
1169
- className: N.parent,
1181
+ className: [F.parent, h].filter(Boolean).join(" "),
1170
1182
  style: u,
1171
1183
  children: /* @__PURE__ */ m("a", {
1172
- className: N.bookmark,
1184
+ className: F.bookmark,
1173
1185
  href: a,
1174
1186
  target: t ? "_blank" : void 0,
1175
1187
  rel: "noopener noreferrer",
1176
- onClick: _,
1177
- children: [i != null && !h && /* @__PURE__ */ p("div", {
1178
- className: N.image,
1188
+ onClick: v,
1189
+ children: [i != null && !g && /* @__PURE__ */ p("div", {
1190
+ className: F.image,
1179
1191
  children: /* @__PURE__ */ p("img", {
1180
1192
  src: i,
1181
1193
  alt: "OGP Image",
1182
- onError: () => g(!0),
1194
+ onError: () => _(!0),
1183
1195
  style: {
1184
1196
  width: "100%",
1185
1197
  height: "100%",
@@ -1187,41 +1199,41 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1187
1199
  }
1188
1200
  })
1189
1201
  }), /* @__PURE__ */ m("div", {
1190
- className: N.typography,
1202
+ className: F.typography,
1191
1203
  children: [
1192
1204
  /* @__PURE__ */ p("div", {
1193
- className: N.title,
1194
- children: /* @__PURE__ */ p(w, {
1205
+ className: F.title,
1206
+ children: /* @__PURE__ */ p(D, {
1195
1207
  bold: !0,
1196
1208
  children: n ?? "No title provided"
1197
1209
  })
1198
1210
  }),
1199
- /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(w, {
1211
+ /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(D, {
1200
1212
  size: "0.8rem",
1201
1213
  children: /* @__PURE__ */ p("span", {
1202
1214
  style: { opacity: .6 },
1203
- children: v
1215
+ children: y
1204
1216
  })
1205
1217
  }) }),
1206
1218
  (o != null || s != null) && /* @__PURE__ */ m("div", {
1207
- className: N.date,
1208
- children: [o != null && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(x, {
1209
- d: ue,
1219
+ className: F.date,
1220
+ children: [o != null && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(w, {
1221
+ d: ce,
1210
1222
  size: "1em"
1211
- }), /* @__PURE__ */ p(w, {
1223
+ }), /* @__PURE__ */ p(D, {
1212
1224
  size: "0.8rem",
1213
1225
  children: o
1214
- })] }), s != null && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(x, {
1215
- d: de,
1226
+ })] }), s != null && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(w, {
1227
+ d: le,
1216
1228
  size: "1em"
1217
- }), /* @__PURE__ */ p(w, {
1229
+ }), /* @__PURE__ */ p(D, {
1218
1230
  size: "0.8rem",
1219
1231
  children: s
1220
1232
  })] })]
1221
1233
  }),
1222
1234
  !e && a != null && /* @__PURE__ */ m("div", {
1223
- className: N.link,
1224
- children: [l && /* @__PURE__ */ p(b, { src: l }), /* @__PURE__ */ p(w, {
1235
+ className: F.link,
1236
+ children: [l && /* @__PURE__ */ p(C, { src: l }), /* @__PURE__ */ p(D, {
1225
1237
  size: "0.8rem",
1226
1238
  color: "#6987b8",
1227
1239
  children: a
@@ -1231,152 +1243,157 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1231
1243
  })]
1232
1244
  })
1233
1245
  });
1234
- }, P = {
1246
+ }, I = {
1235
1247
  container: "_container_1r6mu_1",
1236
1248
  "link-container": "_link-container_1r6mu_10",
1237
1249
  text: "_text_1r6mu_36"
1238
- }, Xt = ({ links: e, style: n }) => {
1239
- let r = u(null), [i, a] = d(!1);
1250
+ }, Yt = ({ links: e, style: n, className: r }) => {
1251
+ let i = u(null), [a, o] = d(!1);
1240
1252
  return s(() => {
1241
- let e = r.current;
1253
+ let e = i.current;
1242
1254
  if (!e) return;
1243
1255
  let t = new IntersectionObserver(([e]) => {
1244
- a(e.isIntersecting);
1256
+ o(e.isIntersecting);
1245
1257
  });
1246
1258
  return t.observe(e), () => t.disconnect();
1247
1259
  }, []), /* @__PURE__ */ p("nav", {
1248
- className: P.container,
1249
- ref: r,
1260
+ className: [I.container, r].filter(Boolean).join(" "),
1261
+ ref: i,
1250
1262
  style: {
1251
- "--opacity": +!!i,
1263
+ "--opacity": +!!a,
1252
1264
  ...n
1253
1265
  },
1254
1266
  children: e.map((n, r) => /* @__PURE__ */ m(t.Fragment, { children: [/* @__PURE__ */ m("div", {
1255
- className: P["link-container"],
1267
+ className: I["link-container"],
1256
1268
  onClick: n.onClick,
1257
1269
  children: [/* @__PURE__ */ p("span", {
1258
- className: P.text,
1270
+ className: I.text,
1259
1271
  style: { "--delay": `${r * 100}ms` },
1260
- children: /* @__PURE__ */ p(x, {
1261
- d: r === 0 ? Ae : r === e.length - 1 ? ae : De,
1272
+ children: /* @__PURE__ */ p(w, {
1273
+ d: r === 0 ? De : r === e.length - 1 ? re : we,
1262
1274
  size: "1.25em"
1263
1275
  })
1264
1276
  }), /* @__PURE__ */ p("span", {
1265
- className: P.text,
1277
+ className: I.text,
1266
1278
  style: { "--delay": `${r * 100 + 50}ms` },
1267
- children: /* @__PURE__ */ p(w, { children: n.text })
1279
+ children: /* @__PURE__ */ p(D, { children: n.text })
1268
1280
  })]
1269
1281
  }), e.length !== r + 1 && /* @__PURE__ */ p("span", {
1270
- className: P.text,
1282
+ className: I.text,
1271
1283
  style: { "--delay": `${r * 100 + 100}ms` },
1272
- children: /* @__PURE__ */ p(x, {
1273
- d: he,
1284
+ children: /* @__PURE__ */ p(w, {
1285
+ d: pe,
1274
1286
  size: "1em",
1275
1287
  color: "#b69545"
1276
1288
  })
1277
1289
  })] }, r))
1278
1290
  });
1279
- }, F = {
1291
+ }, L = {
1280
1292
  wrapper: "_wrapper_1tlqa_1",
1281
1293
  "wrapper--visible": "_wrapper--visible_1tlqa_33",
1282
1294
  partial: "_partial_1tlqa_63",
1283
1295
  move: "_move_1tlqa_1",
1284
1296
  text: "_text_1tlqa_104"
1285
- }, Zt = ({ position: e = "right", style: t }) => {
1286
- let [n, r] = d(!1);
1297
+ }, Xt = ({ position: e = "right", style: t, className: n }) => {
1298
+ let [r, i] = d(!1);
1287
1299
  s(() => {
1288
1300
  let e = () => {
1289
- r(window.scrollY > 100);
1301
+ i(window.scrollY > 100);
1290
1302
  };
1291
1303
  return window.addEventListener("scroll", e, { passive: !0 }), e(), () => window.removeEventListener("scroll", e);
1292
1304
  }, []);
1293
- let i = () => {
1305
+ let a = () => {
1294
1306
  window.scrollTo({
1295
1307
  top: 0,
1296
1308
  behavior: "smooth"
1297
1309
  });
1298
1310
  };
1299
1311
  return /* @__PURE__ */ m("nav", {
1300
- className: `${F.wrapper} ${n ? F["wrapper--visible"] : ""}`,
1312
+ className: [
1313
+ L.wrapper,
1314
+ r ? L["wrapper--visible"] : void 0,
1315
+ n
1316
+ ].filter(Boolean).join(" "),
1301
1317
  style: {
1302
1318
  "--size": "64px",
1303
1319
  left: e === "left" ? "0" : "auto",
1304
1320
  right: e === "right" ? "0" : "auto",
1305
1321
  ...t
1306
1322
  },
1307
- onClick: i,
1323
+ onClick: a,
1308
1324
  children: [
1309
1325
  /* @__PURE__ */ p("div", {
1310
1326
  "aria-hidden": "true",
1311
- className: F.partial
1327
+ className: L.partial
1312
1328
  }),
1313
1329
  /* @__PURE__ */ p("div", {
1314
1330
  "aria-hidden": "true",
1315
- className: F.partial
1331
+ className: L.partial
1316
1332
  }),
1317
1333
  /* @__PURE__ */ p("div", {
1318
1334
  "aria-hidden": "true",
1319
- className: F.partial
1335
+ className: L.partial
1320
1336
  }),
1321
1337
  /* @__PURE__ */ p("span", {
1322
- className: F.text,
1338
+ className: L.text,
1323
1339
  children: "Back to Top"
1324
1340
  })
1325
1341
  ]
1326
1342
  });
1327
- }, Qt = {
1343
+ }, Zt = {
1328
1344
  toc: "_toc_eubcy_1",
1329
1345
  link: "_link_eubcy_15"
1330
- }, $t = ({ headings: e, style: t }) => /* @__PURE__ */ p("nav", {
1331
- className: Qt.toc,
1346
+ }, Qt = ({ headings: e, style: t, className: n }) => /* @__PURE__ */ p("nav", {
1347
+ className: [Zt.toc, n].filter(Boolean).join(" "),
1332
1348
  style: t,
1333
1349
  children: e.map((e, t) => /* @__PURE__ */ m("a", {
1334
- className: Qt.link,
1350
+ className: Zt.link,
1335
1351
  href: `#${e.id ?? e.text}`,
1336
1352
  style: { "--padding-left": `${e.level * .5}rem` },
1337
1353
  children: [
1338
- /* @__PURE__ */ p("sup", { children: /* @__PURE__ */ p(w, {
1354
+ /* @__PURE__ */ p("sup", { children: /* @__PURE__ */ p(D, {
1339
1355
  size: "0.6rem",
1340
1356
  color: "#6987b8",
1341
1357
  children: `H${e.level}`
1342
1358
  }) }),
1343
- /* @__PURE__ */ p(w, { children: e.text }),
1344
- /* @__PURE__ */ p(x, {
1345
- d: Ve,
1359
+ /* @__PURE__ */ p(D, { children: e.text }),
1360
+ /* @__PURE__ */ p(w, {
1361
+ d: Re,
1346
1362
  size: "1em",
1347
1363
  color: "#6987b8"
1348
1364
  })
1349
1365
  ]
1350
1366
  }, t))
1351
- }), en = { "block-fallback": "_block-fallback_adya7_1" }, tn = {
1367
+ }), $t = { "block-fallback": "_block-fallback_adya7_1" }, en = {
1352
1368
  "rectangle-wave": "_rectangle-wave_gxedo_21",
1353
1369
  "elm-rectangle-wave": "_elm-rectangle-wave_gxedo_1"
1354
- }, nn = (e) => /* @__PURE__ */ p("div", {
1370
+ }, tn = (e) => /* @__PURE__ */ p("div", {
1355
1371
  "aria-hidden": !0,
1356
- className: tn["rectangle-wave"],
1372
+ className: [en["rectangle-wave"], e.className].filter(Boolean).join(" "),
1357
1373
  style: e.style
1358
- }), rn = (e) => {
1374
+ }), nn = (e) => {
1359
1375
  let { height: t = "16rem", style: n } = e;
1360
1376
  return /* @__PURE__ */ m("div", {
1361
- className: en["block-fallback"],
1377
+ className: [$t["block-fallback"], e.className].filter(Boolean).join(" "),
1362
1378
  style: {
1363
1379
  "--height": t,
1364
1380
  ...n
1365
1381
  },
1366
- children: [/* @__PURE__ */ p(S, {}), /* @__PURE__ */ p(nn, {})]
1382
+ children: [/* @__PURE__ */ p(T, {}), /* @__PURE__ */ p(tn, {})]
1367
1383
  });
1368
- }, an = {
1384
+ }, rn = {
1369
1385
  circle: "_circle_ycu2l_19",
1370
1386
  "draw-line": "_draw-line_ycu2l_1",
1371
1387
  rotate: "_rotate_ycu2l_1"
1372
- }, on = (e) => {
1388
+ }, an = (e) => {
1373
1389
  let { radius: t = 16, weight: n = 2, style: r } = e;
1374
1390
  return /* @__PURE__ */ p("svg", {
1391
+ className: e.className,
1375
1392
  height: t * 2,
1376
1393
  width: t * 2,
1377
1394
  style: r,
1378
1395
  children: /* @__PURE__ */ p("circle", {
1379
- className: an.circle,
1396
+ className: rn.circle,
1380
1397
  cx: t,
1381
1398
  cy: t,
1382
1399
  r: t - n,
@@ -1384,34 +1401,34 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1384
1401
  strokeWidth: n
1385
1402
  })
1386
1403
  });
1387
- }, I = {
1404
+ }, R = {
1388
1405
  unsupported: "_unsupported_1xu4c_1",
1389
1406
  message: "_message_1xu4c_13",
1390
1407
  icon: "_icon_1xu4c_20",
1391
1408
  details: "_details_1xu4c_24"
1392
- }, sn = (e) => /* @__PURE__ */ m("div", {
1393
- className: I.unsupported,
1409
+ }, on = (e) => /* @__PURE__ */ m("div", {
1410
+ className: [R.unsupported, e.className].filter(Boolean).join(" "),
1394
1411
  style: e.style,
1395
1412
  children: [/* @__PURE__ */ m("div", {
1396
- className: I.message,
1413
+ className: R.message,
1397
1414
  children: [/* @__PURE__ */ p("svg", {
1398
1415
  viewBox: "0 0 24 24",
1399
1416
  width: "1.25rem",
1400
1417
  height: "1.25rem",
1401
- className: I.icon,
1402
- children: /* @__PURE__ */ p("path", { d: je })
1403
- }), /* @__PURE__ */ p(w, {
1418
+ className: R.icon,
1419
+ children: /* @__PURE__ */ p("path", { d: Oe })
1420
+ }), /* @__PURE__ */ p(D, {
1404
1421
  color: "#868e9c",
1405
1422
  children: "UNSUPPORTED BLOCK"
1406
1423
  })]
1407
1424
  }), e.details && /* @__PURE__ */ p("div", {
1408
- className: I.details,
1409
- children: /* @__PURE__ */ p(w, {
1425
+ className: R.details,
1426
+ children: /* @__PURE__ */ p(D, {
1410
1427
  color: "#868e9c",
1411
1428
  children: e.details
1412
1429
  })
1413
1430
  })]
1414
- }), L = {
1431
+ }), z = {
1415
1432
  button: "_button_c0mex_1",
1416
1433
  "button-ornament": "_button-ornament_c0mex_29",
1417
1434
  normal: "_normal_c0mex_40",
@@ -1421,7 +1438,7 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1421
1438
  flex: "_flex_c0mex_95",
1422
1439
  ripple: "_ripple_c0mex_117",
1423
1440
  "button-ripple": "_button-ripple_c0mex_1"
1424
- }, cn = ({ loading: e = !1, block: t = !1, disabled: n = !1, primary: r = !1, ...i }) => {
1441
+ }, sn = ({ loading: e = !1, block: t = !1, disabled: n = !1, primary: r = !1, ...i }) => {
1425
1442
  let [o, c] = d(!1), l = u(void 0), { onClick: f } = i, h = a(() => {
1426
1443
  !e && !n && f && (c(!0), l.current = window.setTimeout(() => c(!1), 300), f());
1427
1444
  }, [
@@ -1433,11 +1450,12 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1433
1450
  l.current && clearTimeout(l.current);
1434
1451
  }, []), /* @__PURE__ */ m("button", {
1435
1452
  className: [
1436
- L.button,
1437
- !e && !n ? L.enable : "",
1438
- i.color ? L.colored : "",
1439
- !i.color && !r ? L.normal : "",
1440
- !i.color && r ? L.primary : ""
1453
+ z.button,
1454
+ !e && !n ? z.enable : "",
1455
+ i.color ? z.colored : "",
1456
+ !i.color && !r ? z.normal : "",
1457
+ !i.color && r ? z.primary : "",
1458
+ i.className
1441
1459
  ].filter(Boolean).join(" "),
1442
1460
  style: {
1443
1461
  display: t ? "flex" : "inline-flex",
@@ -1449,15 +1467,15 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1449
1467
  },
1450
1468
  onClick: h,
1451
1469
  children: [
1452
- o && /* @__PURE__ */ p("div", { className: L.ripple }),
1453
- e ? /* @__PURE__ */ p(S, { size: "1.5rem" }) : /* @__PURE__ */ p("span", {
1454
- className: L.flex,
1470
+ o && /* @__PURE__ */ p("div", { className: z.ripple }),
1471
+ e ? /* @__PURE__ */ p(T, { size: "1.5rem" }) : /* @__PURE__ */ p("span", {
1472
+ className: z.flex,
1455
1473
  children: i.children
1456
1474
  }),
1457
- /* @__PURE__ */ p("div", { className: L["button-ornament"] })
1475
+ /* @__PURE__ */ p("div", { className: z["button-ornament"] })
1458
1476
  ]
1459
1477
  });
1460
- }, R = {
1478
+ }, B = {
1461
1479
  container: "_container_12edl_1",
1462
1480
  "container-disable": "_container-disable_12edl_14",
1463
1481
  checkbox: "_checkbox_12edl_23",
@@ -1467,7 +1485,7 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1467
1485
  loading: "_loading_12edl_48",
1468
1486
  "check-line": "_check-line_12edl_67",
1469
1487
  "elmethis-checkbox-check-line": "_elmethis-checkbox-check-line_12edl_1"
1470
- }, ln = ({ loading: e = !1, disable: t = !1, checked: n = !1, ...r }) => {
1488
+ }, cn = ({ loading: e = !1, disable: t = !1, checked: n = !1, ...r }) => {
1471
1489
  let { onChange: i } = r, o = a(() => {
1472
1490
  !e && !t && i && i(!n);
1473
1491
  }, [
@@ -1475,10 +1493,14 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1475
1493
  t,
1476
1494
  n,
1477
1495
  i
1478
- ]), s = [R.container, t ? R["container-disable"] : ""].filter(Boolean).join(" "), c = [
1479
- R.rect,
1480
- n ? R["rect-checked"] : "",
1481
- e ? R["rect-loading"] : ""
1496
+ ]), s = [
1497
+ B.container,
1498
+ t ? B["container-disable"] : "",
1499
+ r.className
1500
+ ].filter(Boolean).join(" "), c = [
1501
+ B.rect,
1502
+ n ? B["rect-checked"] : "",
1503
+ e ? B["rect-loading"] : ""
1482
1504
  ].filter(Boolean).join(" ");
1483
1505
  return /* @__PURE__ */ p("div", {
1484
1506
  className: s,
@@ -1493,13 +1515,13 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1493
1515
  children: [/* @__PURE__ */ m("svg", {
1494
1516
  width: "24",
1495
1517
  height: "24",
1496
- className: R.checkbox,
1518
+ className: B.checkbox,
1497
1519
  children: [
1498
1520
  /* @__PURE__ */ m("circle", {
1499
1521
  cx: "0",
1500
1522
  cy: "0",
1501
1523
  r: "2",
1502
- className: R.loading,
1524
+ className: B.loading,
1503
1525
  style: { opacity: +!!e },
1504
1526
  children: [/* @__PURE__ */ p("animate", {
1505
1527
  attributeName: "cx",
@@ -1521,7 +1543,7 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1521
1543
  cx: "20",
1522
1544
  cy: "20",
1523
1545
  r: "2",
1524
- className: R.loading,
1546
+ className: B.loading,
1525
1547
  style: { opacity: +!!e },
1526
1548
  children: [/* @__PURE__ */ p("animate", {
1527
1549
  attributeName: "cx",
@@ -1548,7 +1570,7 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1548
1570
  strokeWidth: "0.8"
1549
1571
  }),
1550
1572
  n && /* @__PURE__ */ p("polyline", {
1551
- className: R["check-line"],
1573
+ className: B["check-line"],
1552
1574
  points: "5,12 10,17 19,8",
1553
1575
  strokeWidth: "1.5",
1554
1576
  fill: "transparent"
@@ -1613,24 +1635,25 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1613
1635
  }), /* @__PURE__ */ p("span", { children: r.label })]
1614
1636
  })
1615
1637
  });
1616
- }, z = {
1617
- wrapper: "_wrapper_3ipdq_1",
1618
- active: "_active_3ipdq_29",
1619
- header: "_header_3ipdq_33",
1620
- label: "_label_3ipdq_41",
1621
- body: "_body_3ipdq_54",
1622
- select: "_select_3ipdq_63",
1623
- selected: "_selected_3ipdq_72",
1624
- fallback: "_fallback_3ipdq_77",
1625
- pulldown: "_pulldown_3ipdq_85",
1626
- option: "_option_3ipdq_105",
1627
- description: "_description_3ipdq_127"
1628
- }, un = ({ disabled: e = !1, loading: t = !1, ...n }) => {
1638
+ }, V = {
1639
+ wrapper: "_wrapper_fb6dj_1",
1640
+ active: "_active_fb6dj_29",
1641
+ header: "_header_fb6dj_33",
1642
+ label: "_label_fb6dj_41",
1643
+ body: "_body_fb6dj_54",
1644
+ select: "_select_fb6dj_63",
1645
+ selected: "_selected_fb6dj_72",
1646
+ fallback: "_fallback_fb6dj_77",
1647
+ pulldown: "_pulldown_fb6dj_85",
1648
+ collapse: "_collapse_fb6dj_106",
1649
+ option: "_option_fb6dj_116",
1650
+ description: "_description_fb6dj_138"
1651
+ }, ln = ({ disabled: e = !1, loading: t = !1, ...n }) => {
1629
1652
  let [r, i] = d(!1), o = u(null), c = a(() => {
1630
1653
  !e && !t && i((e) => !e);
1631
1654
  }, [e, t]), { options: l, onSelect: f } = n, h = a((e) => {
1632
1655
  let t = l.find((t) => t.id === e);
1633
- t && f && f(t);
1656
+ t && f && (f(t), i(!1));
1634
1657
  }, [l, f]);
1635
1658
  return s(() => {
1636
1659
  let e = (e) => {
@@ -1639,64 +1662,70 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1639
1662
  return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
1640
1663
  }, []), /* @__PURE__ */ m("div", {
1641
1664
  ref: o,
1642
- className: [z.wrapper, r ? z.active : ""].filter(Boolean).join(" "),
1665
+ className: [
1666
+ V.wrapper,
1667
+ r ? V.active : "",
1668
+ n.className
1669
+ ].filter(Boolean).join(" "),
1643
1670
  style: {
1644
1671
  backgroundColor: e || t ? "rgba(0,0,0,0.15)" : void 0,
1645
- "--highlight-color": r ? "#bfa056" : void 0,
1646
1672
  ...n.style
1647
1673
  },
1648
1674
  onClick: c,
1649
1675
  children: [/* @__PURE__ */ p("div", {
1650
- className: z.header,
1676
+ className: V.header,
1651
1677
  children: /* @__PURE__ */ p("span", {
1652
- className: z.label,
1678
+ className: V.label,
1653
1679
  children: n.label
1654
1680
  })
1655
1681
  }), /* @__PURE__ */ p("div", {
1656
- className: z.body,
1682
+ className: V.body,
1657
1683
  children: /* @__PURE__ */ m("div", {
1658
- className: z.select,
1684
+ className: V.select,
1659
1685
  children: [
1660
1686
  /* @__PURE__ */ p("div", {
1661
- className: z.selected,
1687
+ className: V.selected,
1662
1688
  children: n.selectedOption ? /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("span", { children: n.selectedOption.label }), n.selectedOption.description && /* @__PURE__ */ p("span", {
1663
- className: z.description,
1689
+ className: V.description,
1664
1690
  children: n.selectedOption.description
1665
1691
  })] }) : /* @__PURE__ */ m("div", {
1666
- className: z.fallback,
1667
- children: [/* @__PURE__ */ p(x, { d: se }), /* @__PURE__ */ p("span", { children: n.placeholder ?? "Select an option" })]
1692
+ className: V.fallback,
1693
+ children: [/* @__PURE__ */ p(w, { d: ae }), /* @__PURE__ */ p("span", { children: n.placeholder ?? "Select an option" })]
1668
1694
  })
1669
1695
  }),
1670
- /* @__PURE__ */ p(x, {
1671
- d: Ve,
1696
+ /* @__PURE__ */ p(w, {
1697
+ d: Re,
1672
1698
  size: "1.5rem"
1673
1699
  }),
1674
- r && /* @__PURE__ */ p("div", {
1675
- className: z.pulldown,
1676
- children: n.options.map((e) => /* @__PURE__ */ m("div", {
1677
- className: z.option,
1678
- onClick: (t) => {
1679
- t.stopPropagation(), h(e.id);
1680
- },
1681
- children: [
1682
- /* @__PURE__ */ p(x, {
1683
- d: he,
1684
- color: "#868e9c",
1685
- size: "0.75em"
1686
- }),
1687
- /* @__PURE__ */ p("span", { children: e.label }),
1688
- e.description && /* @__PURE__ */ p("span", {
1689
- className: z.description,
1690
- children: e.description
1691
- })
1692
- ]
1693
- }, e.id))
1700
+ /* @__PURE__ */ p("div", {
1701
+ className: S(V.pulldown, { [V.active]: r }),
1702
+ children: /* @__PURE__ */ p("div", {
1703
+ className: V.collapse,
1704
+ children: n.options.map((e) => /* @__PURE__ */ m("div", {
1705
+ className: V.option,
1706
+ onClick: (t) => {
1707
+ t.stopPropagation(), h(e.id);
1708
+ },
1709
+ children: [
1710
+ /* @__PURE__ */ p(w, {
1711
+ d: pe,
1712
+ color: "#868e9c",
1713
+ size: "0.75em"
1714
+ }),
1715
+ /* @__PURE__ */ p("span", { children: e.label }),
1716
+ e.description && /* @__PURE__ */ p("span", {
1717
+ className: V.description,
1718
+ children: e.description
1719
+ })
1720
+ ]
1721
+ }, e.id))
1722
+ })
1694
1723
  })
1695
1724
  ]
1696
1725
  })
1697
1726
  })]
1698
1727
  });
1699
- }, B = {
1728
+ }, H = {
1700
1729
  switch: "_switch_8t362_1",
1701
1730
  bar: "_bar_8t362_5",
1702
1731
  "bar-checked": "_bar-checked_8t362_21",
@@ -1704,7 +1733,7 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1704
1733
  circle: "_circle_8t362_30",
1705
1734
  "circle-checked": "_circle-checked_8t362_45",
1706
1735
  "circle-disabled": "_circle-disabled_8t362_49"
1707
- }, dn = ({ color: e = "#bfa056", size: t = "18px", disabled: n = !1, checked: r = !1, ...i }) => {
1736
+ }, un = ({ color: e = "#bfa056", size: t = "18px", disabled: n = !1, checked: r = !1, ...i }) => {
1708
1737
  let { onChange: o } = i, s = a(() => {
1709
1738
  !n && o && o(!r);
1710
1739
  }, [
@@ -1712,15 +1741,16 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1712
1741
  r,
1713
1742
  o
1714
1743
  ]), c = [
1715
- B.bar,
1716
- r ? B["bar-checked"] : "",
1717
- n ? B["bar-disabled"] : ""
1744
+ H.bar,
1745
+ r ? H["bar-checked"] : "",
1746
+ n ? H["bar-disabled"] : ""
1718
1747
  ].filter(Boolean).join(" "), l = [
1719
- B.circle,
1720
- r ? B["circle-checked"] : "",
1721
- n ? B["circle-disabled"] : ""
1748
+ H.circle,
1749
+ r ? H["circle-checked"] : "",
1750
+ n ? H["circle-disabled"] : ""
1722
1751
  ].filter(Boolean).join(" ");
1723
1752
  return /* @__PURE__ */ m("div", {
1753
+ className: i.className,
1724
1754
  onClick: s,
1725
1755
  style: {
1726
1756
  "--color": e,
@@ -1730,7 +1760,7 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1730
1760
  ...i.style
1731
1761
  },
1732
1762
  children: [/* @__PURE__ */ p("input", {
1733
- className: B.switch,
1763
+ className: H.switch,
1734
1764
  type: "checkbox",
1735
1765
  checked: r,
1736
1766
  disabled: n,
@@ -1740,7 +1770,7 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1740
1770
  children: /* @__PURE__ */ p("div", { className: l })
1741
1771
  })]
1742
1772
  });
1743
- }, V = {
1773
+ }, U = {
1744
1774
  loading: "_loading_1y96m_23",
1745
1775
  wrapper: "_wrapper_1y96m_38",
1746
1776
  active: "_active_1y96m_66",
@@ -1754,32 +1784,36 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1754
1784
  suffix: "_suffix_1y96m_159",
1755
1785
  counter: "_counter_1y96m_172",
1756
1786
  "counter-over": "_counter-over_1y96m_177"
1757
- }, fn = {
1758
- text: Ye,
1759
- pen: Ue,
1760
- email: Ce,
1761
- user: y,
1762
- lock: Le,
1763
- key: Me,
1764
- earth: Se,
1765
- tag: Je,
1766
- archive: oe,
1767
- link: Fe,
1768
- search: Be
1769
- }, pn = ({ disabled: e = !1, loading: t = !1, isPassword: n = !1, required: r = !1, value: i = "", ...o }) => {
1770
- let s = c(), l = u(null), [f, h] = d(!1), [g, _] = d(n ? "password" : "text"), { onChange: v } = o, ee = a(() => {
1787
+ }, dn = {
1788
+ text: Ke,
1789
+ pen: Be,
1790
+ email: be,
1791
+ user: b,
1792
+ lock: Pe,
1793
+ key: ke,
1794
+ earth: ye,
1795
+ tag: Ge,
1796
+ archive: ie,
1797
+ link: Me,
1798
+ search: Le
1799
+ }, fn = ({ disabled: e = !1, loading: t = !1, isPassword: n = !1, required: r = !1, value: i = "", ...o }) => {
1800
+ let s = c(), l = u(null), [f, h] = d(!1), [g, _] = d(n ? "password" : "text"), { onChange: v } = o, y = a(() => {
1771
1801
  !t && !e && v && v("");
1772
1802
  }, [
1773
1803
  t,
1774
1804
  e,
1775
1805
  v
1776
- ]), te = a(() => {
1806
+ ]), ee = a(() => {
1777
1807
  !t && !e && _((e) => e === "text" ? "password" : "text");
1778
- }, [t, e]), y = a((e) => (t) => {
1808
+ }, [t, e]), b = a((e) => (t) => {
1779
1809
  (t.key === "Enter" || t.key === " ") && (t.preventDefault(), e());
1780
1810
  }, []);
1781
1811
  return /* @__PURE__ */ m("div", {
1782
- className: [V.wrapper, f ? V.active : ""].filter(Boolean).join(" "),
1812
+ className: [
1813
+ U.wrapper,
1814
+ f ? U.active : "",
1815
+ o.className
1816
+ ].filter(Boolean).join(" "),
1783
1817
  style: {
1784
1818
  backgroundColor: e || t ? "rgba(0,0,0,0.15)" : void 0,
1785
1819
  "--highlight-color": f ? "#bfa056" : void 0,
@@ -1787,16 +1821,16 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1787
1821
  },
1788
1822
  children: [
1789
1823
  /* @__PURE__ */ m("div", {
1790
- className: V.header,
1824
+ className: U.header,
1791
1825
  children: [/* @__PURE__ */ m("label", {
1792
1826
  htmlFor: s,
1793
- className: V.label,
1827
+ className: U.label,
1794
1828
  children: [/* @__PURE__ */ p("span", { children: o.label }), r && /* @__PURE__ */ p("span", {
1795
- className: V.required,
1829
+ className: U.required,
1796
1830
  children: "*"
1797
1831
  })]
1798
1832
  }), o.maxLength != null && /* @__PURE__ */ m("span", {
1799
- className: [V.counter, i.length > o.maxLength ? V["counter-over"] : ""].filter(Boolean).join(" "),
1833
+ className: [U.counter, i.length > o.maxLength ? U["counter-over"] : ""].filter(Boolean).join(" "),
1800
1834
  children: [
1801
1835
  i.length,
1802
1836
  " / ",
@@ -1805,10 +1839,10 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1805
1839
  })]
1806
1840
  }),
1807
1841
  /* @__PURE__ */ m("div", {
1808
- className: V.body,
1842
+ className: U.body,
1809
1843
  children: [
1810
- o.icon && /* @__PURE__ */ p(x, {
1811
- d: fn[o.icon],
1844
+ o.icon && /* @__PURE__ */ p(w, {
1845
+ d: dn[o.icon],
1812
1846
  size: "1.5rem",
1813
1847
  color: "gray"
1814
1848
  }),
@@ -1816,7 +1850,7 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1816
1850
  id: s,
1817
1851
  ref: l,
1818
1852
  type: g,
1819
- className: V.input,
1853
+ className: U.input,
1820
1854
  placeholder: o.placeholder,
1821
1855
  value: i,
1822
1856
  onChange: (e) => v?.(e.target.value),
@@ -1827,32 +1861,32 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1827
1861
  "aria-required": r
1828
1862
  }),
1829
1863
  /* @__PURE__ */ m("div", {
1830
- className: V["icon-box"],
1864
+ className: U["icon-box"],
1831
1865
  children: [
1832
1866
  o.suffix != null && /* @__PURE__ */ p("span", {
1833
- className: V.suffix,
1867
+ className: U.suffix,
1834
1868
  children: o.suffix
1835
1869
  }),
1836
1870
  /* @__PURE__ */ p("div", {
1837
- className: V.icon,
1838
- onClick: te,
1839
- onKeyDown: y(te),
1871
+ className: U.icon,
1872
+ onClick: ee,
1873
+ onKeyDown: b(ee),
1840
1874
  role: "button",
1841
1875
  tabIndex: 0,
1842
- children: /* @__PURE__ */ p(x, {
1843
- d: g === "text" ? Te : we,
1876
+ children: /* @__PURE__ */ p(w, {
1877
+ d: g === "text" ? Se : xe,
1844
1878
  size: "1.75em",
1845
1879
  color: "gray"
1846
1880
  })
1847
1881
  }),
1848
1882
  /* @__PURE__ */ p("div", {
1849
- className: V.icon,
1850
- onClick: ee,
1851
- onKeyDown: y(ee),
1883
+ className: U.icon,
1884
+ onClick: y,
1885
+ onKeyDown: b(y),
1852
1886
  role: "button",
1853
1887
  tabIndex: 0,
1854
- children: /* @__PURE__ */ p(x, {
1855
- d: le,
1888
+ children: /* @__PURE__ */ p(w, {
1889
+ d: se,
1856
1890
  size: "1.75em",
1857
1891
  color: "gray"
1858
1892
  })
@@ -1862,41 +1896,41 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1862
1896
  ]
1863
1897
  }),
1864
1898
  /* @__PURE__ */ p("div", {
1865
- className: V.loading,
1899
+ className: U.loading,
1866
1900
  style: { opacity: t ? .2 : 0 }
1867
1901
  })
1868
1902
  ]
1869
1903
  });
1870
- }, mn = { validation: "_validation_wuw0j_1" }, hn = ({ validColor: e = "#449763", ...t }) => /* @__PURE__ */ m("div", {
1871
- className: mn.validation,
1904
+ }, pn = { validation: "_validation_wuw0j_1" }, mn = ({ validColor: e = "#449763", ...t }) => /* @__PURE__ */ m("div", {
1905
+ className: [pn.validation, t.className].filter(Boolean).join(" "),
1872
1906
  style: {
1873
1907
  "--opacity": t.isValid ? 1 : .5,
1874
1908
  ...t.style
1875
1909
  },
1876
- children: [/* @__PURE__ */ p(x, {
1877
- d: t.isValid ? pe : me,
1910
+ children: [/* @__PURE__ */ p(w, {
1911
+ d: t.isValid ? de : fe,
1878
1912
  color: t.isValid ? e : void 0
1879
1913
  }), /* @__PURE__ */ p("span", {
1880
1914
  style: { color: t.isValid ? e : void 0 },
1881
1915
  children: t.text
1882
1916
  })]
1883
- }), gn = { column: "_column_12uje_1" }, _n = (e) => /* @__PURE__ */ p("div", {
1884
- className: gn.column,
1917
+ }), hn = { column: "_column_12uje_1" }, gn = (e) => /* @__PURE__ */ p("div", {
1918
+ className: [hn.column, e.className].filter(Boolean).join(" "),
1885
1919
  style: e.style,
1886
1920
  children: e.children
1887
- }), vn = { "column-list": "_column-list_rt1o3_1" }, yn = (e) => /* @__PURE__ */ p("div", {
1888
- className: vn["column-list"],
1921
+ }), _n = { "column-list": "_column-list_rt1o3_1" }, vn = (e) => /* @__PURE__ */ p("div", {
1922
+ className: [_n["column-list"], e.className].filter(Boolean).join(" "),
1889
1923
  style: e.style,
1890
1924
  children: e.children
1891
- }), bn = {
1925
+ }), yn = {
1892
1926
  body: "_body_gd5gc_1",
1893
1927
  button: "_button_gd5gc_5"
1894
- }, H = {
1928
+ }, W = {
1895
1929
  provider: "_provider_94i7o_1",
1896
1930
  "provider-enter": "_provider-enter_94i7o_19",
1897
1931
  "provider-exit": "_provider-exit_94i7o_23",
1898
1932
  modal: "_modal_94i7o_27"
1899
- }, xn = ({ closeOnClickOutside: e = !0, onChange: t, ...n }) => {
1933
+ }, bn = ({ closeOnClickOutside: e = !0, onChange: t, ...n }) => {
1900
1934
  let [r, i] = d(!1), o = n.value ?? !1;
1901
1935
  s(() => {
1902
1936
  if (o) {
@@ -1912,11 +1946,11 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1912
1946
  }, [e, t]), l = a((e) => {
1913
1947
  e.stopPropagation();
1914
1948
  }, []);
1915
- return !o && !r ? null : Xe(/* @__PURE__ */ p("div", {
1916
- className: `${H.provider} ${o ? H["provider-enter"] : H["provider-exit"]}`,
1949
+ return !o && !r ? null : qe(/* @__PURE__ */ p("div", {
1950
+ className: `${W.provider} ${o ? W["provider-enter"] : W["provider-exit"]}`,
1917
1951
  onClick: c,
1918
1952
  children: /* @__PURE__ */ p("div", {
1919
- className: H.modal,
1953
+ className: [W.modal, n.className].filter(Boolean).join(" "),
1920
1954
  style: {
1921
1955
  "--width": n.width,
1922
1956
  ...n.style
@@ -1925,7 +1959,7 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1925
1959
  children: n.children
1926
1960
  })
1927
1961
  }), document.body);
1928
- }, Sn = ({ closeOnClickOutside: e = !0, onChange: t, onConfirm: n, onSuccess: r, onError: i, ...o }) => {
1962
+ }, xn = ({ closeOnClickOutside: e = !0, onChange: t, onConfirm: n, onSuccess: r, onError: i, ...o }) => {
1929
1963
  let [s, c] = d(!1), l = a(() => {
1930
1964
  t && t(!1);
1931
1965
  }, [t]), u = a(async () => {
@@ -1941,63 +1975,64 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
1941
1975
  i,
1942
1976
  t
1943
1977
  ]);
1944
- return /* @__PURE__ */ p(xn, {
1978
+ return /* @__PURE__ */ p(bn, {
1945
1979
  value: o.value,
1946
1980
  onChange: t,
1947
1981
  closeOnClickOutside: e,
1982
+ className: o.className,
1948
1983
  children: /* @__PURE__ */ m("div", { children: [
1949
- /* @__PURE__ */ p(D, {
1984
+ /* @__PURE__ */ p(k, {
1950
1985
  level: 2,
1951
1986
  disableFragmentIdentifier: !0,
1952
1987
  children: o.title
1953
1988
  }),
1954
1989
  /* @__PURE__ */ p("div", {
1955
- className: bn.body,
1990
+ className: yn.body,
1956
1991
  children: o.children
1957
1992
  }),
1958
1993
  /* @__PURE__ */ m("div", {
1959
- className: bn.button,
1960
- children: [/* @__PURE__ */ m(cn, {
1994
+ className: yn.button,
1995
+ children: [/* @__PURE__ */ m(sn, {
1961
1996
  block: !0,
1962
1997
  onClick: l,
1963
1998
  loading: s,
1964
- children: [/* @__PURE__ */ p(x, { d: ce }), /* @__PURE__ */ p("span", { children: "Cancel" })]
1965
- }), /* @__PURE__ */ m(cn, {
1999
+ children: [/* @__PURE__ */ p(w, { d: oe }), /* @__PURE__ */ p("span", { children: "Cancel" })]
2000
+ }), /* @__PURE__ */ m(sn, {
1966
2001
  block: !0,
1967
2002
  onClick: u,
1968
2003
  primary: !0,
1969
2004
  loading: s,
1970
- children: [/* @__PURE__ */ p(x, {
1971
- d: pe,
2005
+ children: [/* @__PURE__ */ p(w, {
2006
+ d: de,
1972
2007
  color: "currentColor"
1973
2008
  }), /* @__PURE__ */ p("span", { children: "Confirm" })]
1974
2009
  })]
1975
2010
  })
1976
2011
  ] })
1977
2012
  });
1978
- }, U = {
2013
+ }, G = {
1979
2014
  window: "_window_l8snl_1",
1980
2015
  header: "_header_l8snl_14",
1981
2016
  dot: "_dot_l8snl_25"
1982
- }, Cn = ({ minHeight: e = "6rem", ...t }) => /* @__PURE__ */ m("div", {
1983
- className: U.window,
2017
+ }, Sn = ({ minHeight: e = "6rem", ...t }) => /* @__PURE__ */ m("div", {
2018
+ className: [G.window, t.className].filter(Boolean).join(" "),
1984
2019
  style: t.style,
1985
2020
  children: [/* @__PURE__ */ m("div", {
1986
- className: U.header,
2021
+ className: G.header,
1987
2022
  children: [
1988
2023
  /* @__PURE__ */ p("div", {
1989
2024
  "aria-hidden": !0,
1990
- className: U.dot,
2025
+ className: G.dot,
1991
2026
  style: { "--bg": "#c48691" }
1992
2027
  }),
1993
2028
  /* @__PURE__ */ p("div", {
1994
2029
  "aria-hidden": !0,
1995
- className: U.dot,
2030
+ className: G.dot,
1996
2031
  style: { "--bg": "#c9b990" }
1997
2032
  }),
1998
2033
  /* @__PURE__ */ p("div", {
1999
2034
  "aria-hidden": !0,
2000
- className: U.dot,
2035
+ className: G.dot,
2001
2036
  style: { "--bg": "#7cc598" }
2002
2037
  })
2003
2038
  ]
@@ -2005,42 +2040,42 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
2005
2040
  style: { minHeight: e },
2006
2041
  children: t.children
2007
2042
  })]
2008
- }), wn = { parallax: "_parallax_1tovg_1" }, Tn = (e) => {
2009
- let [t, n] = d(0);
2043
+ }), Cn = { parallax: "_parallax_1tovg_1" }, wn = ({ className: e, ...t }) => {
2044
+ let [n, r] = d(0);
2010
2045
  return s(() => {
2011
2046
  let e = null, t = () => {
2012
2047
  e ?? (e = requestAnimationFrame(() => {
2013
- n(window.scrollY), e = null;
2048
+ r(window.scrollY), e = null;
2014
2049
  }));
2015
2050
  };
2016
2051
  return window.addEventListener("scroll", t, { passive: !0 }), () => {
2017
2052
  window.removeEventListener("scroll", t), e != null && cancelAnimationFrame(e);
2018
2053
  };
2019
2054
  }, []), /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
2020
- className: wn.parallax,
2055
+ className: [Cn.parallax, e].filter(Boolean).join(" "),
2021
2056
  style: {
2022
- backgroundImage: `url(${e.imageUrl1})`,
2023
- transform: `scale(1.2) translateY(${t / 400}%)`,
2057
+ backgroundImage: `url(${t.imageUrl1})`,
2058
+ transform: `scale(1.2) translateY(${n / 400}%)`,
2024
2059
  transformOrigin: "bottom",
2025
- ...e.style
2060
+ ...t.style
2026
2061
  }
2027
2062
  }), /* @__PURE__ */ p("div", {
2028
- className: wn.parallax,
2063
+ className: Cn.parallax,
2029
2064
  style: {
2030
- backgroundImage: `url(${e.imageUrl2})`,
2031
- transform: `scale(1.2) translateY(${t / 900}%)`,
2065
+ backgroundImage: `url(${t.imageUrl2})`,
2066
+ transform: `scale(1.2) translateY(${n / 900}%)`,
2032
2067
  transformOrigin: "bottom"
2033
2068
  }
2034
2069
  })] });
2035
- }, En = {
2070
+ }, Tn = {
2036
2071
  container: "_container_1mzm0_1",
2037
2072
  title: "_title_1mzm0_16",
2038
2073
  text: "_text_1mzm0_22"
2039
- }, Dn = {
2074
+ }, En = {
2040
2075
  original: "_original_3zasf_1",
2041
2076
  tooltip: "_tooltip_3zasf_5",
2042
2077
  "tooltip-enter": "_tooltip-enter_3zasf_17"
2043
- }, On = (e) => {
2078
+ }, Dn = (e) => {
2044
2079
  let t = u(null), [n, r] = d(!1), [i, o] = d({}), c = a(() => {
2045
2080
  let e = t.current;
2046
2081
  if (!e) return;
@@ -2057,63 +2092,63 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
2057
2092
  n && c();
2058
2093
  }, [n, c]), /* @__PURE__ */ m("span", {
2059
2094
  ref: t,
2060
- className: Dn.original,
2095
+ className: [En.original, e.className].filter(Boolean).join(" "),
2061
2096
  onMouseOver: () => r(!0),
2062
2097
  onMouseLeave: () => r(!1),
2063
2098
  style: e.style,
2064
2099
  children: [e.original, n && /* @__PURE__ */ p("div", {
2065
- className: `${Dn.tooltip} ${Dn["tooltip-enter"]}`,
2100
+ className: `${En.tooltip} ${En["tooltip-enter"]}`,
2066
2101
  style: i,
2067
2102
  children: e.tooltip
2068
2103
  })]
2069
2104
  });
2070
- }, kn = (e) => /* @__PURE__ */ p(On, {
2105
+ }, On = (e) => /* @__PURE__ */ p(Dn, {
2071
2106
  original: e.children,
2072
2107
  tooltip: /* @__PURE__ */ m("div", {
2073
- className: En.container,
2108
+ className: [Tn.container, e.className].filter(Boolean).join(" "),
2074
2109
  style: e.style,
2075
2110
  children: [e.title && /* @__PURE__ */ p("div", {
2076
- className: En.title,
2111
+ className: Tn.title,
2077
2112
  children: e.title
2078
2113
  }), /* @__PURE__ */ p("div", {
2079
- className: En.text,
2114
+ className: Tn.text,
2080
2115
  children: e.text
2081
2116
  })]
2082
2117
  })
2083
- }), An = {
2118
+ }), kn = {
2084
2119
  snackbar: "_snackbar_1f0go_1",
2085
2120
  icon: "_icon_1f0go_19",
2086
2121
  progress: "_progress_1f0go_45"
2087
- }, jn = ({ timeout: e = 5e3, ...t }) => /* @__PURE__ */ m("div", {
2088
- className: An.snackbar,
2122
+ }, An = ({ timeout: e = 5e3, ...t }) => /* @__PURE__ */ m("div", {
2123
+ className: [kn.snackbar, t.className].filter(Boolean).join(" "),
2089
2124
  style: t.style,
2090
2125
  children: [
2091
- t.label == null ? t.children : /* @__PURE__ */ p(w, { children: t.label }),
2126
+ t.label == null ? t.children : /* @__PURE__ */ p(D, { children: t.label }),
2092
2127
  /* @__PURE__ */ p("div", {
2093
- className: An.icon,
2128
+ className: kn.icon,
2094
2129
  onClick: t.close,
2095
- children: /* @__PURE__ */ p(x, {
2096
- d: ye,
2130
+ children: /* @__PURE__ */ p(w, {
2131
+ d: ge,
2097
2132
  size: "1em"
2098
2133
  })
2099
2134
  }),
2100
2135
  /* @__PURE__ */ p("div", {
2101
- className: An.progress,
2136
+ className: kn.progress,
2102
2137
  style: { animationDuration: `${e}ms` }
2103
2138
  })
2104
2139
  ]
2105
- }), Mn = {
2140
+ }), jn = {
2106
2141
  "snackbar-screen": "_snackbar-screen_up7j2_1",
2107
2142
  "snackbar-container": "_snackbar-container_up7j2_14",
2108
2143
  "snackbar-item": "_snackbar-item_up7j2_23"
2109
- }, Nn = (e) => /* @__PURE__ */ p("div", {
2110
- className: Mn["snackbar-screen"],
2144
+ }, Mn = (e) => /* @__PURE__ */ p("div", {
2145
+ className: [jn["snackbar-screen"], e.className].filter(Boolean).join(" "),
2111
2146
  style: e.style,
2112
2147
  children: /* @__PURE__ */ p("div", {
2113
- className: Mn["snackbar-container"],
2148
+ className: jn["snackbar-container"],
2114
2149
  children: e.snackbars.map((e) => /* @__PURE__ */ p("div", {
2115
- className: Mn["snackbar-item"],
2116
- children: /* @__PURE__ */ p(jn, {
2150
+ className: jn["snackbar-item"],
2151
+ children: /* @__PURE__ */ p(An, {
2117
2152
  label: e.label,
2118
2153
  timeout: e.timeout,
2119
2154
  close: e.close,
@@ -2121,140 +2156,123 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
2121
2156
  })
2122
2157
  }, e.id))
2123
2158
  })
2124
- }), W = {
2159
+ }), K = {
2125
2160
  "elm-tabs": "_elm-tabs_ykoqx_1",
2126
2161
  "tab-container": "_tab-container_ykoqx_18",
2127
2162
  tab: "_tab_ykoqx_18",
2128
2163
  active: "_active_ykoqx_40",
2129
2164
  "tab-content-container": "_tab-content-container_ykoqx_51",
2130
2165
  "tab-content": "_tab-content_ykoqx_51"
2131
- }, Pn = (e) => {
2166
+ }, Nn = (e) => {
2132
2167
  let [t, n] = d(0);
2133
2168
  return /* @__PURE__ */ m("div", {
2134
- className: W["elm-tabs"],
2169
+ className: [K["elm-tabs"], e.className].filter(Boolean).join(" "),
2135
2170
  style: e.style,
2136
2171
  children: [/* @__PURE__ */ p("div", {
2137
- className: W["tab-container"],
2172
+ className: K["tab-container"],
2138
2173
  children: e.tabLabels.map((e, r) => /* @__PURE__ */ p("div", {
2139
- className: `${W.tab} ${t === r ? W.active : ""}`,
2174
+ className: `${K.tab} ${t === r ? K.active : ""}`,
2140
2175
  onClick: () => n(r),
2141
2176
  children: e
2142
2177
  }, r))
2143
2178
  }), /* @__PURE__ */ p("div", {
2144
- className: W["tab-content-container"],
2179
+ className: K["tab-content-container"],
2145
2180
  children: e.tabContents.map((e, n) => /* @__PURE__ */ p("div", {
2146
- className: `${W["tab-content"]} ${t === n ? W.active : ""}`,
2181
+ className: `${K["tab-content"]} ${t === n ? K.active : ""}`,
2147
2182
  children: e
2148
2183
  }, n))
2149
2184
  })]
2150
2185
  });
2151
- }, G = {
2152
- toggle: "_toggle_1c0pb_1",
2153
- open: "_open_1c0pb_8",
2154
- summary: "_summary_1c0pb_12",
2155
- "summary-left": "_summary-left_1c0pb_31",
2156
- content: "_content_1c0pb_37",
2157
- "content-open": "_content-open_1c0pb_60",
2158
- close: "_close_1c0pb_65",
2159
- "close-button": "_close-button_1c0pb_74"
2160
- }, Fn = (e) => {
2161
- let [t, n] = d(!1), r = e.value !== void 0, i = r ? e.value : t, a = (t) => {
2162
- t.preventDefault();
2163
- let a = !i;
2164
- r ? e.onChange?.(a) : n(a);
2186
+ }, q = {
2187
+ toggle: "_toggle_16f85_1",
2188
+ open: "_open_16f85_14",
2189
+ summary: "_summary_16f85_19",
2190
+ "summary-left": "_summary-left_16f85_33",
2191
+ divider: "_divider_16f85_40",
2192
+ chevron: "_chevron_16f85_57",
2193
+ cross: "_cross_16f85_70",
2194
+ border: "_border_16f85_84",
2195
+ content: "_content_16f85_92",
2196
+ close: "_close_16f85_96"
2197
+ }, Pn = (e) => {
2198
+ let [t, n] = Je({
2199
+ prop: e.isOpen,
2200
+ defaultProp: !1,
2201
+ onChange: e.setIsOpen
2202
+ }), r = (e) => {
2203
+ e.preventDefault(), n(!t);
2165
2204
  };
2166
2205
  return /* @__PURE__ */ m("div", {
2167
- className: `${G.toggle} ${i ? G.open : ""}`,
2206
+ className: S(q.toggle, e.className, { [q.open]: t }),
2168
2207
  style: { ...e.style },
2169
2208
  children: [
2170
2209
  /* @__PURE__ */ m("div", {
2171
- className: G.summary,
2172
- onClick: a,
2173
- style: { borderRadius: i ? "0.25rem 0.25rem 0rem 0rem" : "0.25rem" },
2174
- children: [/* @__PURE__ */ m("div", {
2175
- className: G["summary-left"],
2176
- children: [/* @__PURE__ */ p("span", {
2177
- style: {
2178
- transform: `rotate(${i ? "90deg" : "0deg"})`,
2179
- transition: "transform 200ms",
2180
- display: "flex"
2181
- },
2182
- children: /* @__PURE__ */ p(x, {
2183
- d: he,
2210
+ className: q.summary,
2211
+ onClick: r,
2212
+ children: [
2213
+ /* @__PURE__ */ m("div", {
2214
+ className: q["summary-left"],
2215
+ children: [/* @__PURE__ */ p(w, {
2216
+ className: S(q.chevron, { [q.open]: t }),
2217
+ d: pe,
2184
2218
  color: "#59b57c",
2185
- size: "1.25em"
2186
- })
2187
- }), /* @__PURE__ */ p("div", { children: e.summary == null ? e.summaryContent : /* @__PURE__ */ p(w, { children: e.summary }) })]
2188
- }), /* @__PURE__ */ p("span", {
2189
- style: {
2190
- transform: `rotate(${i ? "135deg" : "0deg"})`,
2191
- transition: "transform 200ms",
2192
- display: "flex"
2193
- },
2194
- children: /* @__PURE__ */ p(x, {
2195
- d: We,
2196
- color: i ? "#b36472" : "#59b57c"
2219
+ size: "1rem"
2220
+ }), /* @__PURE__ */ p("div", { children: e.summary == null ? e.summaryContent : /* @__PURE__ */ p(D, { children: e.summary }) })]
2221
+ }),
2222
+ /* @__PURE__ */ p("hr", { className: q.divider }),
2223
+ /* @__PURE__ */ p(w, {
2224
+ className: S(q.cross, { [q.open]: t }),
2225
+ d: Ve,
2226
+ size: "1rem",
2227
+ color: t ? "#b36472" : "#59b57c"
2197
2228
  })
2198
- })]
2229
+ ]
2199
2230
  }),
2231
+ /* @__PURE__ */ p("div", { className: q.border }),
2200
2232
  /* @__PURE__ */ p("div", {
2201
- className: `${G.content} ${i ? G["content-open"] : ""}`,
2233
+ className: S(q.content, { [q.close]: !t }),
2202
2234
  children: e.children
2203
- }),
2204
- i && /* @__PURE__ */ p("div", {
2205
- className: G.close,
2206
- onClick: a,
2207
- children: /* @__PURE__ */ m("div", {
2208
- className: G["close-button"],
2209
- children: [/* @__PURE__ */ p(x, {
2210
- d: ge,
2211
- size: "1.25em",
2212
- color: "#c56565"
2213
- }), /* @__PURE__ */ p(w, {
2214
- color: "#8e3636",
2215
- children: "CLOSE"
2216
- })]
2217
- })
2218
2235
  })
2219
2236
  ]
2220
2237
  });
2221
- }, K = {
2238
+ }, J = {
2222
2239
  table: "_table_197ge_1",
2223
2240
  caption: "_caption_197ge_8",
2224
2241
  "caption-inner": "_caption-inner_197ge_18",
2225
2242
  spacing: "_spacing_197ge_25"
2226
- }, In = r(!1), Ln = r(!1), q = ({ caption: e, hasRowHeader: t = !1, header: n, body: r, style: i }) => /* @__PURE__ */ p(Ln.Provider, {
2243
+ }, Fn = r(!1), In = r(!1), Ln = ({ caption: e, hasRowHeader: t = !1, header: n, body: r, style: i, className: a }) => /* @__PURE__ */ p(In.Provider, {
2227
2244
  value: t,
2228
2245
  children: /* @__PURE__ */ m("table", {
2229
- className: K.table,
2246
+ className: [J.table, a].filter(Boolean).join(" "),
2230
2247
  style: i,
2231
2248
  children: [
2232
2249
  e != null && /* @__PURE__ */ p("caption", { children: /* @__PURE__ */ m("span", {
2233
- className: K.caption,
2250
+ className: J.caption,
2234
2251
  children: [
2235
- /* @__PURE__ */ p("span", { className: K.spacing }),
2252
+ /* @__PURE__ */ p("span", { className: J.spacing }),
2236
2253
  /* @__PURE__ */ m("span", {
2237
- className: K["caption-inner"],
2254
+ className: J["caption-inner"],
2238
2255
  children: [/* @__PURE__ */ p("svg", {
2239
2256
  viewBox: "0 0 24 24",
2240
2257
  width: "1rem",
2241
2258
  height: "1rem",
2242
2259
  children: /* @__PURE__ */ p("path", {
2243
- d: qe,
2260
+ d: We,
2244
2261
  fill: "#6987b8"
2245
2262
  })
2246
- }), /* @__PURE__ */ p(w, { children: e })]
2263
+ }), /* @__PURE__ */ p(D, { children: e })]
2247
2264
  }),
2248
- /* @__PURE__ */ p("span", { className: K.spacing })
2265
+ /* @__PURE__ */ p("span", { className: J.spacing })
2249
2266
  ]
2250
2267
  }) }),
2251
2268
  n,
2252
2269
  r
2253
2270
  ]
2254
2271
  })
2255
- }), Rn = ({ children: e, style: t }) => /* @__PURE__ */ p(In.Provider, {
2272
+ }), Rn = ({ children: e, style: t, className: n }) => /* @__PURE__ */ p(Fn.Provider, {
2256
2273
  value: !1,
2257
2274
  children: /* @__PURE__ */ p("tbody", {
2275
+ className: n,
2258
2276
  style: t,
2259
2277
  children: e
2260
2278
  })
@@ -2262,27 +2280,35 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
2262
2280
  common: "_common_15vhm_1",
2263
2281
  td: "_td_15vhm_26",
2264
2282
  th: "_th_15vhm_34"
2265
- }, Bn = ({ children: e, style: t, hasHeader: n = !1, text: r }) => {
2266
- let i = o(In), a = n || i;
2267
- return /* @__PURE__ */ p(a ? "th" : "td", {
2268
- className: `${zn.common} ${a ? zn.th : zn.td}`,
2283
+ }, Bn = ({ children: e, style: t, hasHeader: n = !1, text: r, className: i }) => {
2284
+ let a = o(Fn), s = n || a;
2285
+ return /* @__PURE__ */ p(s ? "th" : "td", {
2286
+ className: [
2287
+ zn.common,
2288
+ s ? zn.th : zn.td,
2289
+ i
2290
+ ].filter(Boolean).join(" "),
2269
2291
  style: t,
2270
2292
  children: r ?? e
2271
2293
  });
2272
- }, Vn = { thead: "_thead_184mb_1" }, Hn = ({ children: e, style: t }) => /* @__PURE__ */ p(In.Provider, {
2294
+ }, Vn = { thead: "_thead_184mb_1" }, Hn = ({ children: e, style: t, className: n }) => /* @__PURE__ */ p(Fn.Provider, {
2273
2295
  value: !0,
2274
2296
  children: /* @__PURE__ */ p("thead", {
2275
- className: Vn.thead,
2297
+ className: [Vn.thead, n].filter(Boolean).join(" "),
2276
2298
  style: t,
2277
2299
  children: e
2278
2300
  })
2279
2301
  }), Un = {
2280
2302
  tr: "_tr_1l64j_1",
2281
2303
  "has-row-header": "_has-row-header_1l64j_25"
2282
- }, J = ({ children: e, style: t }) => {
2283
- let n = o(Ln);
2304
+ }, Wn = ({ children: e, style: t, className: n }) => {
2305
+ let r = o(In);
2284
2306
  return /* @__PURE__ */ p("tr", {
2285
- className: `${Un.tr} ${n ? Un["has-row-header"] : ""}`,
2307
+ className: [
2308
+ Un.tr,
2309
+ r ? Un["has-row-header"] : void 0,
2310
+ n
2311
+ ].filter(Boolean).join(" "),
2286
2312
  style: t,
2287
2313
  children: e
2288
2314
  });
@@ -2296,22 +2322,22 @@ var Jt = ({ name: e, src: t, filesize: n, style: r }) => {
2296
2322
  code: "_code_1yj17_81",
2297
2323
  "code-body": "_code-body_1yj17_89",
2298
2324
  fallback: "_fallback_1yj17_93"
2299
- }, Wn = { code: "_code_1nyfa_1" }, Gn = null;
2300
- function Kn() {
2301
- return Gn || (Gn = import("shiki").then(({ createHighlighter: e }) => e({
2325
+ }, Gn = { code: "_code_1nyfa_1" }, Kn = null;
2326
+ function qn() {
2327
+ return Kn || (Kn = import("shiki").then(({ createHighlighter: e }) => e({
2302
2328
  langs: /* @__PURE__ */ "abap.bash.c.clojure.coffeescript.cpp.csharp.css.dart.diff.docker.elixir.elm.erlang.fsharp.gherkin.glsl.go.graphql.groovy.haskell.html.java.javascript.json.julia.kotlin.latex.less.lisp.lua.makefile.markdown.matlab.mermaid.nix.objective-c.ocaml.pascal.perl.php.plaintext.powershell.prolog.protobuf.python.r.ruby.rust.sass.scala.scheme.scss.shell.sql.swift.toml.typescript.wasm.xml.yaml".split("."),
2303
2329
  themes: ["vitesse-light", "vitesse-dark"]
2304
- }))), Gn;
2330
+ }))), Kn;
2305
2331
  }
2306
2332
  //#endregion
2307
2333
  //#region src/components/code/ElmShikiHighlighter.tsx
2308
- var qn = ({ code: e, language: t = "txt", onRendered: n, style: r }) => {
2309
- let [i, a] = d(`<pre>${e}</pre>`);
2334
+ var Jn = ({ code: e, language: t = "txt", onRendered: n, style: r, className: i }) => {
2335
+ let [a, o] = d(`<pre>${e}</pre>`);
2310
2336
  return s(() => {
2311
2337
  let r = !1;
2312
- return Kn().then((i) => {
2338
+ return qn().then((i) => {
2313
2339
  if (!r) try {
2314
- let o = i.codeToHtml(e, {
2340
+ let a = i.codeToHtml(e, {
2315
2341
  lang: t,
2316
2342
  themes: {
2317
2343
  dark: "vitesse-dark",
@@ -2322,7 +2348,7 @@ var qn = ({ code: e, language: t = "txt", onRendered: n, style: r }) => {
2322
2348
  "#121212": "transparent"
2323
2349
  }
2324
2350
  });
2325
- r || (a(o), n?.(!0));
2351
+ r || (o(a), n?.(!0));
2326
2352
  } catch {
2327
2353
  r || n?.(!0);
2328
2354
  }
@@ -2336,57 +2362,57 @@ var qn = ({ code: e, language: t = "txt", onRendered: n, style: r }) => {
2336
2362
  t,
2337
2363
  n
2338
2364
  ]), /* @__PURE__ */ p("div", {
2339
- className: Wn.code,
2365
+ className: [Gn.code, i].filter(Boolean).join(" "),
2340
2366
  style: r,
2341
2367
  children: /* @__PURE__ */ p("div", {
2342
2368
  className: "shiki",
2343
- dangerouslySetInnerHTML: { __html: i }
2369
+ dangerouslySetInnerHTML: { __html: a }
2344
2370
  })
2345
2371
  });
2346
- }, Jn = ({ code: e, language: t = "txt", caption: n, style: r }) => {
2347
- let [i, o] = d(!1), [c, l] = d(!1), [f, h] = d(!1), g = u(null), _ = u(null);
2372
+ }, Yn = ({ code: e, language: t = "txt", caption: n, style: r, className: i }) => {
2373
+ let [o, c] = d(!1), [l, f] = d(!1), [h, g] = d(!1), _ = u(null), v = u(null);
2348
2374
  s(() => {
2349
- let e = g.current;
2375
+ let e = _.current;
2350
2376
  if (!e) return;
2351
2377
  let t = new IntersectionObserver(([e]) => {
2352
- h(e.isIntersecting);
2378
+ g(e.isIntersecting);
2353
2379
  });
2354
2380
  return t.observe(e), () => t.disconnect();
2355
2381
  }, []);
2356
- let v = a(() => {
2382
+ let y = a(() => {
2357
2383
  navigator.clipboard.writeText(e).then(() => {
2358
- l(!0), _.current && clearTimeout(_.current), _.current = setTimeout(() => l(!1), 2e3);
2384
+ f(!0), v.current && clearTimeout(v.current), v.current = setTimeout(() => f(!1), 2e3);
2359
2385
  });
2360
2386
  }, [e]);
2361
2387
  return s(() => () => {
2362
- _.current && clearTimeout(_.current);
2388
+ v.current && clearTimeout(v.current);
2363
2389
  }, []), /* @__PURE__ */ m("div", {
2364
- ref: g,
2365
- className: Y.wrapper,
2390
+ ref: _,
2391
+ className: [Y.wrapper, i].filter(Boolean).join(" "),
2366
2392
  style: {
2367
- opacity: +!!f,
2393
+ opacity: +!!h,
2368
2394
  ...r
2369
2395
  },
2370
2396
  children: [/* @__PURE__ */ m("div", {
2371
2397
  className: Y.header,
2372
2398
  children: [/* @__PURE__ */ m("div", {
2373
2399
  className: Y.header__left,
2374
- children: [/* @__PURE__ */ p(nt, {
2400
+ children: [/* @__PURE__ */ p(et, {
2375
2401
  language: t,
2376
2402
  size: 20
2377
2403
  }), /* @__PURE__ */ p("span", {
2378
2404
  className: Y.caption,
2379
- children: /* @__PURE__ */ p(w, { children: n ?? t })
2405
+ children: /* @__PURE__ */ p(D, { children: n ?? t })
2380
2406
  })]
2381
2407
  }), /* @__PURE__ */ p("div", {
2382
2408
  className: Y.header__right,
2383
2409
  children: /* @__PURE__ */ p("div", {
2384
2410
  className: Y["copy-icon"],
2385
- onClick: v,
2386
- children: /* @__PURE__ */ p(x, {
2411
+ onClick: y,
2412
+ children: /* @__PURE__ */ p(w, {
2387
2413
  size: "1.25em",
2388
- d: c ? _e : ve,
2389
- useThemeColor: c
2414
+ d: l ? me : he,
2415
+ useThemeColor: l
2390
2416
  })
2391
2417
  })
2392
2418
  })]
@@ -2394,25 +2420,25 @@ var qn = ({ code: e, language: t = "txt", onRendered: n, style: r }) => {
2394
2420
  className: Y.code,
2395
2421
  children: [/* @__PURE__ */ p("div", {
2396
2422
  className: Y["code-body"],
2397
- style: { opacity: +!!i },
2398
- children: /* @__PURE__ */ p(qn, {
2423
+ style: { opacity: +!!o },
2424
+ children: /* @__PURE__ */ p(Jn, {
2399
2425
  code: e,
2400
2426
  language: t,
2401
- onRendered: o
2427
+ onRendered: c
2402
2428
  })
2403
2429
  }), /* @__PURE__ */ p("div", {
2404
2430
  className: Y.fallback,
2405
- style: { opacity: +!i },
2406
- children: /* @__PURE__ */ p(S, { size: "48px" })
2431
+ style: { opacity: +!o },
2432
+ children: /* @__PURE__ */ p(T, { size: "48px" })
2407
2433
  })]
2408
2434
  })]
2409
2435
  });
2410
- }, Yn = { katex: "_katex_1a1aj_1" }, Xn = ({ expression: e, block: t = !1, style: n }) => {
2411
- let [r, i] = d();
2436
+ }, Xn = { katex: "_katex_1a1aj_1" }, Zn = ({ expression: e, block: t = !1, style: n, className: r }) => {
2437
+ let [i, a] = d();
2412
2438
  s(() => {
2413
2439
  import("katex").then(({ renderToString: n }) => {
2414
2440
  try {
2415
- i(n(e, {
2441
+ a(n(e, {
2416
2442
  displayMode: t,
2417
2443
  output: "mathml"
2418
2444
  }));
@@ -2421,65 +2447,66 @@ var qn = ({ code: e, language: t = "txt", onRendered: n, style: r }) => {
2421
2447
  }
2422
2448
  }).catch(() => {});
2423
2449
  }, [e, t]);
2424
- let a = `${Yn.katex}`;
2450
+ let o = [Xn.katex, r].filter(Boolean).join(" ");
2425
2451
  return p(t ? "div" : "span", {
2426
- className: a,
2452
+ className: o,
2427
2453
  style: n,
2428
- dangerouslySetInnerHTML: r ? { __html: r } : void 0
2454
+ dangerouslySetInnerHTML: i ? { __html: i } : void 0
2429
2455
  });
2430
2456
  }, X = {
2431
2457
  "color-bg": "_color-bg_yiibu_1",
2432
2458
  text: "_text_yiibu_17"
2433
- }, Zn = ({ color: e, style: t }) => {
2434
- let [n, r] = d(!1), i = u(null), o = ee(e), { hue: s, saturation: c, lightness: l } = v(e), h = te(o), g = `rgb(${o.red}, ${o.green}, ${o.blue})`, _ = `hsl(${Math.floor(s)}, ${Math.floor(c * 100)}%, ${Math.floor(l * 100)}%)`, y = a((e) => {
2459
+ }, Qn = ({ color: e, style: t, className: n }) => {
2460
+ let [r, i] = d(!1), o = u(null), s = y(e), { hue: c, saturation: l, lightness: h } = v(e), g = ee(s), _ = `rgb(${s.red}, ${s.green}, ${s.blue})`, b = `hsl(${Math.floor(c)}, ${Math.floor(l * 100)}%, ${Math.floor(h * 100)}%)`, x = a((e) => {
2435
2461
  navigator.clipboard.writeText(e).then(() => {
2436
- r(!0), i.current && clearTimeout(i.current), i.current = setTimeout(() => r(!1), 1500);
2462
+ i(!0), o.current && clearTimeout(o.current), o.current = setTimeout(() => i(!1), 1500);
2437
2463
  });
2438
2464
  }, []);
2439
2465
  return /* @__PURE__ */ p("div", {
2466
+ className: n,
2440
2467
  style: {
2441
2468
  "--color": e,
2442
2469
  ...t
2443
2470
  },
2444
- children: /* @__PURE__ */ p(On, {
2471
+ children: /* @__PURE__ */ p(Dn, {
2445
2472
  original: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
2446
2473
  className: X["color-bg"],
2447
2474
  style: { "--background-color": e },
2448
- onClick: () => y(h),
2449
- children: n && /* @__PURE__ */ p(x, {
2450
- d: fe,
2475
+ onClick: () => x(g),
2476
+ children: r && /* @__PURE__ */ p(w, {
2477
+ d: ue,
2451
2478
  size: "1em",
2452
2479
  color: "white"
2453
2480
  })
2454
2481
  }), /* @__PURE__ */ p("div", {
2455
2482
  className: X.text,
2456
- onClick: () => y(h),
2457
- children: h
2483
+ onClick: () => x(g),
2484
+ children: g
2458
2485
  })] }),
2459
2486
  tooltip: /* @__PURE__ */ m(f, { children: [
2460
2487
  /* @__PURE__ */ p("div", {
2461
2488
  className: X.text,
2462
- onClick: () => y(h),
2463
- children: h
2489
+ onClick: () => x(g),
2490
+ children: g
2464
2491
  }),
2465
2492
  /* @__PURE__ */ p("div", {
2466
2493
  className: X.text,
2467
- onClick: () => y(g),
2468
- children: g
2494
+ onClick: () => x(_),
2495
+ children: _
2469
2496
  }),
2470
2497
  /* @__PURE__ */ p("div", {
2471
2498
  className: X.text,
2472
- onClick: () => y(_),
2473
- children: _
2499
+ onClick: () => x(b),
2500
+ children: b
2474
2501
  })
2475
2502
  ] })
2476
2503
  })
2477
2504
  });
2478
- }, Qn = {
2505
+ }, $n = {
2479
2506
  container: "_container_a7c06_1",
2480
2507
  "row-container": "_row-container_a7c06_9",
2481
2508
  "color-name": "_color-name_a7c06_17"
2482
- }, $n = [
2509
+ }, er = [
2483
2510
  -3,
2484
2511
  -.25,
2485
2512
  -.2,
@@ -2493,29 +2520,29 @@ var qn = ({ code: e, language: t = "txt", onRendered: n, style: r }) => {
2493
2520
  .2,
2494
2521
  .25,
2495
2522
  .3
2496
- ], er = ({ colors: e, style: t }) => /* @__PURE__ */ p("div", {
2497
- className: Qn.container,
2523
+ ], tr = ({ colors: e, style: t, className: n }) => /* @__PURE__ */ p("div", {
2524
+ className: [$n.container, n].filter(Boolean).join(" "),
2498
2525
  style: t,
2499
2526
  children: e.map((e) => /* @__PURE__ */ m("div", {
2500
- className: Qn["row-container"],
2527
+ className: $n["row-container"],
2501
2528
  children: [/* @__PURE__ */ p("div", {
2502
- className: Qn["color-name"],
2529
+ className: $n["color-name"],
2503
2530
  style: { "--color": e.code },
2504
2531
  children: e.name
2505
- }), $n.map((t) => /* @__PURE__ */ p(Zn, { color: h(t, e.code) }, t))]
2532
+ }), er.map((t) => /* @__PURE__ */ p(Qn, { color: h(t, e.code) }, t))]
2506
2533
  }, e.name))
2507
2534
  }), Z = {
2508
- palette: "_palette_1u43p_1",
2509
- header: "_header_1u43p_11",
2510
- input: "_input_1u43p_31",
2511
- body: "_body_1u43p_43",
2512
- "empty-result": "_empty-result_1u43p_60",
2513
- command: "_command_1u43p_71",
2514
- "command-selected": "_command-selected_1u43p_99",
2515
- "command-icon": "_command-icon_1u43p_104",
2516
- tag: "_tag_1u43p_108",
2517
- footer: "_footer_1u43p_119"
2518
- }, tr = {
2535
+ palette: "_palette_1glfh_1",
2536
+ header: "_header_1glfh_11",
2537
+ input: "_input_1glfh_31",
2538
+ body: "_body_1glfh_43",
2539
+ "empty-result": "_empty-result_1glfh_60",
2540
+ command: "_command_1glfh_71",
2541
+ "command-selected": "_command-selected_1glfh_98",
2542
+ "command-icon": "_command-icon_1glfh_103",
2543
+ tag: "_tag_1glfh_107",
2544
+ footer: "_footer_1glfh_118"
2545
+ }, nr = {
2519
2546
  brown: "#a17c5b",
2520
2547
  crimson: "#c56565",
2521
2548
  amber: "#d48b70",
@@ -2526,37 +2553,37 @@ var qn = ({ code: e, language: t = "txt", onRendered: n, style: r }) => {
2526
2553
  purple: "#9771bd",
2527
2554
  pink: "#c9699e"
2528
2555
  };
2529
- function nr(e, t) {
2556
+ function rr(e, t) {
2530
2557
  if (!t.trim()) return [];
2531
2558
  let n = t.toLowerCase();
2532
2559
  return e.filter((e) => e.label.toLowerCase().includes(n) || e.description?.toLowerCase().includes(n) || e.keywords?.some((e) => e.toLowerCase().includes(n)));
2533
2560
  }
2534
- var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2535
- let [r, i] = d(""), [o, c] = d([]), [l, f] = d(null), h = u(null);
2561
+ var ir = ({ commands: e, onCommandInvoked: t, style: n, className: r }) => {
2562
+ let [i, o] = d(""), [c, l] = d([]), [f, h] = d(null), g = u(null);
2536
2563
  s(() => {
2537
- h.current?.focus();
2564
+ g.current?.focus();
2538
2565
  }, []);
2539
- let g = a((t) => {
2566
+ let v = a((t) => {
2540
2567
  let n = t.target.value;
2541
- i(n);
2542
- let r = nr(e, n);
2543
- c(r), f(r.length > 0 ? 0 : null);
2544
- }, [e]), v = a((e) => {
2568
+ o(n);
2569
+ let r = rr(e, n);
2570
+ l(r), h(r.length > 0 ? 0 : null);
2571
+ }, [e]), y = a((e) => {
2545
2572
  if (e === null) return;
2546
- let n = o[e];
2573
+ let n = c[e];
2547
2574
  n && (n.onInvoke?.(), t?.(n));
2548
- }, [o, t]);
2575
+ }, [c, t]);
2549
2576
  return s(() => {
2550
2577
  let e = (e) => {
2551
- e.key === "ArrowDown" || e.key === "Tab" ? (e.preventDefault(), f((e) => e === null ? 0 : e < o.length - 1 ? e + 1 : e)) : e.key === "ArrowUp" ? (e.preventDefault(), f((e) => e === null ? 0 : e > 0 ? e - 1 : 0)) : e.key === "Enter" && (e.preventDefault(), v(l));
2578
+ e.key === "ArrowDown" || e.key === "Tab" ? (e.preventDefault(), h((e) => e === null ? 0 : e < c.length - 1 ? e + 1 : e)) : e.key === "ArrowUp" ? (e.preventDefault(), h((e) => e === null ? 0 : e > 0 ? e - 1 : 0)) : e.key === "Enter" && (e.preventDefault(), y(f));
2552
2579
  };
2553
2580
  return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
2554
2581
  }, [
2555
- v,
2556
- l,
2557
- o.length
2582
+ y,
2583
+ f,
2584
+ c.length
2558
2585
  ]), /* @__PURE__ */ m("div", {
2559
- className: Z.palette,
2586
+ className: [Z.palette, r].filter(Boolean).join(" "),
2560
2587
  style: {
2561
2588
  "--height": "500px",
2562
2589
  "--width": "800px",
@@ -2565,40 +2592,40 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2565
2592
  children: [
2566
2593
  /* @__PURE__ */ m("header", {
2567
2594
  className: Z.header,
2568
- children: [/* @__PURE__ */ p(x, { d: be }), /* @__PURE__ */ p("input", {
2569
- ref: h,
2595
+ children: [/* @__PURE__ */ p(w, { d: _e }), /* @__PURE__ */ p("input", {
2596
+ ref: g,
2570
2597
  className: Z.input,
2571
- value: r,
2572
- onChange: g,
2598
+ value: i,
2599
+ onChange: v,
2573
2600
  type: "text",
2574
2601
  inputMode: "text"
2575
2602
  })]
2576
2603
  }),
2577
2604
  /* @__PURE__ */ p("div", {
2578
2605
  className: Z.body,
2579
- children: o.length === 0 ? /* @__PURE__ */ p("div", {
2606
+ children: c.length === 0 ? /* @__PURE__ */ p("div", {
2580
2607
  className: Z["empty-result"],
2581
- children: /* @__PURE__ */ p(w, { children: "search anything..." })
2582
- }) : o.map((e, t) => /* @__PURE__ */ m("button", {
2583
- className: `${Z.command} ${t === l ? Z["command-selected"] : ""}`,
2608
+ children: /* @__PURE__ */ p(D, { children: "search anything..." })
2609
+ }) : c.map((e, t) => /* @__PURE__ */ m("button", {
2610
+ className: `${Z.command} ${t === f ? Z["command-selected"] : ""}`,
2584
2611
  onClick: () => {
2585
- f(t), v(t);
2612
+ h(t), y(t);
2586
2613
  },
2587
2614
  children: [
2588
2615
  e.icon ? /* @__PURE__ */ p("img", {
2589
2616
  className: Z["command-icon"],
2590
2617
  src: e.icon,
2591
2618
  alt: e.label
2592
- }) : /* @__PURE__ */ p(x, {
2593
- d: be,
2619
+ }) : /* @__PURE__ */ p(w, {
2620
+ d: _e,
2594
2621
  size: "1rem"
2595
2622
  }),
2596
2623
  e.tag ? /* @__PURE__ */ p("div", {
2597
2624
  className: Z.tag,
2598
- style: { "--tag-color": _(-.3, tr[e.tag.color]) },
2625
+ style: { "--tag-color": _(-.3, nr[e.tag.color]) },
2599
2626
  children: e.tag.name
2600
2627
  }) : /* @__PURE__ */ p("div", { className: Z.tag }),
2601
- /* @__PURE__ */ p(w, {
2628
+ /* @__PURE__ */ p(D, {
2602
2629
  style: {
2603
2630
  whiteSpace: "nowrap",
2604
2631
  overflow: "hidden",
@@ -2607,7 +2634,7 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2607
2634
  },
2608
2635
  children: e.label
2609
2636
  }),
2610
- /* @__PURE__ */ p(w, {
2637
+ /* @__PURE__ */ p(D, {
2611
2638
  style: {
2612
2639
  opacity: .4,
2613
2640
  whiteSpace: "nowrap",
@@ -2616,40 +2643,40 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2616
2643
  },
2617
2644
  children: e.description ?? "-"
2618
2645
  }),
2619
- /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(x, { d: Ne }) })
2646
+ /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(w, { d: Ae }) })
2620
2647
  ]
2621
2648
  }, e.id))
2622
2649
  }),
2623
2650
  /* @__PURE__ */ m("footer", {
2624
2651
  className: Z.footer,
2625
- children: [/* @__PURE__ */ p(w, {
2652
+ children: [/* @__PURE__ */ p(D, {
2626
2653
  kbd: !0,
2627
2654
  children: "Esc"
2628
- }), /* @__PURE__ */ p(w, { children: "Close" })]
2655
+ }), /* @__PURE__ */ p(D, { children: "Close" })]
2629
2656
  })
2630
2657
  ]
2631
2658
  });
2632
- }, ir = {
2659
+ }, ar = {
2633
2660
  "jarkup-body": "_jarkup-body_jsvhx_1",
2634
2661
  "unsupported-block": "_unsupported-block_jsvhx_5"
2635
- }, ar = ({ jsonComponents: e, style: t }) => /* @__PURE__ */ p("div", {
2636
- className: ir["jarkup-body"],
2662
+ }, or = ({ jsonComponents: e, style: t, className: n }) => /* @__PURE__ */ p("div", {
2663
+ className: [ar["jarkup-body"], n].filter(Boolean).join(" "),
2637
2664
  style: t,
2638
2665
  children: e.map((e, t) => /* @__PURE__ */ p("div", {
2639
- className: ir["unsupported-block"],
2666
+ className: ar["unsupported-block"],
2640
2667
  children: /* @__PURE__ */ p("code", { children: JSON.stringify(e, null, 2) })
2641
2668
  }, t))
2642
- }), or = {
2669
+ }), sr = {
2643
2670
  "jarkup-body": "_jarkup-body_1rlbi_1",
2644
2671
  "column-list": "_column-list_1rlbi_9",
2645
2672
  column: "_column_1rlbi_9"
2646
- }, sr = i(() => import("./ElmMermaid-BFqvHKdQ.js").then((e) => e.n).then((e) => ({ default: e.ElmMermaid }))), cr = (e) => e.map((e) => e.type === "Text" ? e.props.text : "").join(""), lr = {
2673
+ }, cr = i(() => import("./ElmMermaid-CUeT_XM9.js").then((e) => e.n).then((e) => ({ default: e.ElmMermaid }))), lr = (e) => e.map((e) => e.type === "Text" ? e.props.text : "").join(""), ur = {
2647
2674
  Text: (e, t, n, r) => {
2648
2675
  let i = e.id ?? n, a = e.props;
2649
- return a.katex ? /* @__PURE__ */ p(Xn, {
2676
+ return a.katex ? /* @__PURE__ */ p(Zn, {
2650
2677
  expression: a.text,
2651
2678
  block: !1
2652
- }, i) : /* @__PURE__ */ p(w, {
2679
+ }, i) : /* @__PURE__ */ p(D, {
2653
2680
  color: a.color,
2654
2681
  backgroundColor: a.backgroundColor,
2655
2682
  bold: a.bold,
@@ -2665,7 +2692,7 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2665
2692
  },
2666
2693
  Icon: (e, t, n, r) => {
2667
2694
  let i = e.id ?? n;
2668
- return /* @__PURE__ */ p(b, {
2695
+ return /* @__PURE__ */ p(C, {
2669
2696
  src: e.props.src,
2670
2697
  alt: e.props.alt
2671
2698
  }, i);
@@ -2676,16 +2703,16 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2676
2703
  },
2677
2704
  Heading: (e, t, n, r) => {
2678
2705
  let i = e.id ?? n;
2679
- return /* @__PURE__ */ p(D, {
2706
+ return /* @__PURE__ */ p(k, {
2680
2707
  level: e.props.level,
2681
- id: Ze(cr(e.slots.default)),
2708
+ id: Ye(lr(e.slots.default)),
2682
2709
  style: n === 0 ? { "--elmethis-margin-block-start": "0" } : void 0,
2683
2710
  children: t(e.slots.default)
2684
2711
  }, i);
2685
2712
  },
2686
2713
  Paragraph: (e, t, n, r) => {
2687
2714
  let i = e.id ?? n;
2688
- return /* @__PURE__ */ p(wt, {
2715
+ return /* @__PURE__ */ p(St, {
2689
2716
  backgroundColor: e.props?.backgroundColor,
2690
2717
  style: n === 0 ? { "--elmethis-margin-block-start": "0" } : void 0,
2691
2718
  children: t(e.slots.default)
@@ -2697,7 +2724,7 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2697
2724
  },
2698
2725
  List: (e, t, n, r) => {
2699
2726
  let i = e.id ?? n;
2700
- return /* @__PURE__ */ p(It, {
2727
+ return /* @__PURE__ */ p(Ft, {
2701
2728
  listStyle: e.props?.listStyle === "unordered" ? "unordered" : "ordered",
2702
2729
  style: n === 0 ? { "--elmethis-margin-block-start": "0" } : void 0,
2703
2730
  children: t(e.slots.default)
@@ -2705,7 +2732,7 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2705
2732
  },
2706
2733
  BlockQuote: (e, t, n, r) => {
2707
2734
  let i = e.id ?? n;
2708
- return /* @__PURE__ */ p(Tt, {
2735
+ return /* @__PURE__ */ p(Ct, {
2709
2736
  cite: e.props?.cite,
2710
2737
  style: n === 0 ? { "--elmethis-margin-block-start": "0" } : void 0,
2711
2738
  children: t(e.slots.default)
@@ -2713,7 +2740,7 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2713
2740
  },
2714
2741
  Callout: (e, t, n, r) => {
2715
2742
  let i = e.id ?? n;
2716
- return /* @__PURE__ */ p(Ot, {
2743
+ return /* @__PURE__ */ p(Et, {
2717
2744
  type: e.props?.type,
2718
2745
  style: n === 0 ? { "--elmethis-margin-block-start": "0" } : void 0,
2719
2746
  children: t(e.slots.default)
@@ -2721,11 +2748,11 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2721
2748
  },
2722
2749
  Divider: (e, t, n, r) => {
2723
2750
  let i = e.id ?? n;
2724
- return /* @__PURE__ */ p(At, { style: n === 0 ? { "--elmethis-margin-block-start": "0" } : void 0 }, i);
2751
+ return /* @__PURE__ */ p(Ot, { style: n === 0 ? { "--elmethis-margin-block-start": "0" } : void 0 }, i);
2725
2752
  },
2726
2753
  Toggle: (e, t, n, r) => {
2727
2754
  let i = e.id ?? n;
2728
- return /* @__PURE__ */ p(Fn, {
2755
+ return /* @__PURE__ */ p(Pn, {
2729
2756
  summaryContent: t(e.slots.summary),
2730
2757
  style: n === 0 ? { "--elmethis-margin-block-start": "0" } : void 0,
2731
2758
  children: t(e.slots.default)
@@ -2733,7 +2760,7 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2733
2760
  },
2734
2761
  Bookmark: (e, t, n, r) => {
2735
2762
  let i = e.id ?? n;
2736
- return /* @__PURE__ */ p(Yt, {
2763
+ return /* @__PURE__ */ p(Jt, {
2737
2764
  url: e.props.url,
2738
2765
  title: e.props.title,
2739
2766
  description: e.props.description,
@@ -2743,7 +2770,7 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2743
2770
  },
2744
2771
  File: (e, t, n, r) => {
2745
2772
  let i = e.id ?? n;
2746
- return /* @__PURE__ */ p(Jt, {
2773
+ return /* @__PURE__ */ p(qt, {
2747
2774
  src: e.props.src,
2748
2775
  name: e.props.name,
2749
2776
  style: n === 0 ? { "--elmethis-margin-block-start": "0" } : void 0
@@ -2751,7 +2778,7 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2751
2778
  },
2752
2779
  Image: (e, t, n, r) => {
2753
2780
  let i = e.id ?? n;
2754
- return /* @__PURE__ */ p(j, {
2781
+ return /* @__PURE__ */ p(N, {
2755
2782
  src: e.props.src,
2756
2783
  alt: e.props.alt,
2757
2784
  width: e.props.width,
@@ -2763,7 +2790,7 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2763
2790
  },
2764
2791
  CodeBlock: (e, t, n, r) => {
2765
2792
  let i = e.id ?? n;
2766
- return /* @__PURE__ */ p(Jn, {
2793
+ return /* @__PURE__ */ p(Yn, {
2767
2794
  code: e.props.code,
2768
2795
  language: e.props.language,
2769
2796
  style: n === 0 ? { "--elmethis-margin-block-start": "0" } : void 0
@@ -2771,7 +2798,7 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2771
2798
  },
2772
2799
  Katex: (e, t, n, r) => {
2773
2800
  let i = e.id ?? n;
2774
- return /* @__PURE__ */ p(Xn, {
2801
+ return /* @__PURE__ */ p(Zn, {
2775
2802
  expression: e.props.expression,
2776
2803
  block: !0,
2777
2804
  style: n === 0 ? { "--elmethis-margin-block-start": "0" } : void 0
@@ -2780,8 +2807,8 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2780
2807
  Mermaid: (e, t, r, i) => {
2781
2808
  let a = e.id ?? r;
2782
2809
  return /* @__PURE__ */ p(n, {
2783
- fallback: /* @__PURE__ */ p(rn, {}),
2784
- children: /* @__PURE__ */ p(sr, {
2810
+ fallback: /* @__PURE__ */ p(nn, {}),
2811
+ children: /* @__PURE__ */ p(cr, {
2785
2812
  code: e.props.code,
2786
2813
  style: r === 0 ? { "--elmethis-margin-block-start": "0" } : void 0
2787
2814
  })
@@ -2791,14 +2818,14 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2791
2818
  Tabs: (e, t, n, r) => {
2792
2819
  let i = e.id ?? n, a = [], o = [];
2793
2820
  for (let n of e.slots.default) a.push(/* @__PURE__ */ p("span", { children: t(n.slots.labels) })), o.push(/* @__PURE__ */ p("div", { children: t(n.slots.contents) }));
2794
- return /* @__PURE__ */ p(Pn, {
2821
+ return /* @__PURE__ */ p(Nn, {
2795
2822
  tabLabels: a,
2796
2823
  tabContents: o
2797
2824
  }, i);
2798
2825
  },
2799
2826
  Table: (e, t, n, r) => {
2800
2827
  let i = e.id ?? n;
2801
- return /* @__PURE__ */ p(q, {
2828
+ return /* @__PURE__ */ p(Ln, {
2802
2829
  caption: e.props?.caption,
2803
2830
  hasRowHeader: e.props?.hasRowHeader,
2804
2831
  header: e.slots.header ? /* @__PURE__ */ p(Hn, { children: t(e.slots.header) }) : void 0,
@@ -2808,7 +2835,7 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2808
2835
  },
2809
2836
  TableRow: (e, t, n, r) => {
2810
2837
  let i = e.id ?? n;
2811
- return /* @__PURE__ */ p(J, { children: t(e.slots.default) }, i);
2838
+ return /* @__PURE__ */ p(Wn, { children: t(e.slots.default) }, i);
2812
2839
  },
2813
2840
  TableCell: (e, t, n, r) => {
2814
2841
  let i = e.id ?? n;
@@ -2817,7 +2844,7 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2817
2844
  ColumnList: (e, t, n, r) => {
2818
2845
  let i = e.id ?? n;
2819
2846
  return /* @__PURE__ */ p("div", {
2820
- className: or["column-list"],
2847
+ className: sr["column-list"],
2821
2848
  style: n === 0 ? { "--elmethis-margin-block-start": "0" } : void 0,
2822
2849
  children: t(e.slots.default)
2823
2850
  }, i);
@@ -2825,7 +2852,7 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2825
2852
  Column: (e, t, n, r) => {
2826
2853
  let i = e.id ?? n;
2827
2854
  return /* @__PURE__ */ p("div", {
2828
- className: or.column,
2855
+ className: sr.column,
2829
2856
  style: {
2830
2857
  "--width-ratio": e.props?.widthRatio ?? 1,
2831
2858
  width: e.props?.widthRatio ? `${e.props.widthRatio * 100}%` : void 0,
@@ -2836,157 +2863,157 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2836
2863
  },
2837
2864
  Unsupported: (e, t, n, r) => {
2838
2865
  let i = e.id ?? n;
2839
- return r?.skipUnsupportedComponentWarning ? null : /* @__PURE__ */ p(sn, {
2866
+ return r?.skipUnsupportedComponentWarning ? null : /* @__PURE__ */ p(on, {
2840
2867
  details: e.props?.details ?? `Unsupported component type: ${e.type}`,
2841
2868
  style: n === 0 ? { "--elmethis-margin-block-start": "0" } : void 0
2842
2869
  }, i);
2843
2870
  }
2844
- }, ur = ({ jsonComponents: e, skipUnsupportedComponentWarning: t = !1, renderFunctionMap: n, style: r }) => {
2845
- let i = {
2846
- ...lr,
2871
+ }, dr = ({ jsonComponents: e, skipUnsupportedComponentWarning: t = !1, renderFunctionMap: n, style: r, className: i }) => {
2872
+ let a = {
2873
+ ...ur,
2847
2874
  ...n
2848
- }, a = (e) => e.map((e, n) => {
2849
- let o = e.id ?? n, s = i[e.type];
2850
- return s ? s(e, a, n, {
2875
+ }, o = (e) => e.map((e, n) => {
2876
+ let i = e.id ?? n, s = a[e.type];
2877
+ return s ? s(e, o, n, {
2851
2878
  skipUnsupportedComponentWarning: t,
2852
2879
  style: r
2853
- }) : t ? null : /* @__PURE__ */ p(sn, { details: `Unsupported component type: ${e.type}` }, o);
2880
+ }) : t ? null : /* @__PURE__ */ p(on, { details: `Unsupported component type: ${e.type}` }, i);
2854
2881
  });
2855
2882
  return /* @__PURE__ */ p("div", {
2856
- className: or["jarkup-body"],
2883
+ className: [sr["jarkup-body"], i].filter(Boolean).join(" "),
2857
2884
  style: {
2858
2885
  "--elmethis-margin-block-start": r?.["--elmethis-margin-block-start"] ?? "2.5rem",
2859
2886
  ...r
2860
2887
  },
2861
- children: a(e)
2888
+ children: o(e)
2862
2889
  });
2863
- }, dr = { "markdown-body": "_markdown-body_130yx_1" }, Q = (e) => e === 0 ? { "--elmethis-margin-block-start": "0" } : void 0, fr = {
2890
+ }, fr = { "markdown-body": "_markdown-body_130yx_1" }, Q = (e) => e === 0 ? { "--elmethis-margin-block-start": "0" } : void 0, pr = {
2864
2891
  blockquote: (e, t, n) => {
2865
2892
  if (!e.tokens || e.tokens.length === 0) return null;
2866
2893
  let r = e.tokens.flatMap((e) => e.type === "paragraph" && e.tokens ? e.tokens : [e]);
2867
- return /* @__PURE__ */ p(Tt, {
2894
+ return /* @__PURE__ */ p(Ct, {
2868
2895
  style: Q(n),
2869
2896
  children: t(r)
2870
2897
  }, n);
2871
2898
  },
2872
2899
  br: (e, t, n) => /* @__PURE__ */ p("br", {}, n),
2873
- checkbox: (e, t, n) => /* @__PURE__ */ p(ln, {
2900
+ checkbox: (e, t, n) => /* @__PURE__ */ p(cn, {
2874
2901
  label: e.raw,
2875
2902
  checked: e.checked,
2876
2903
  style: Q(n)
2877
2904
  }, n),
2878
- code: (e, t, n) => /* @__PURE__ */ p(Jn, {
2905
+ code: (e, t, n) => /* @__PURE__ */ p(Yn, {
2879
2906
  code: e.text.trim(),
2880
2907
  language: e.lang,
2881
2908
  style: Q(n)
2882
2909
  }, n),
2883
- codespan: (e, t, n) => /* @__PURE__ */ p(w, {
2910
+ codespan: (e, t, n) => /* @__PURE__ */ p(D, {
2884
2911
  code: !0,
2885
2912
  children: e.text
2886
2913
  }, n),
2887
2914
  def: () => null,
2888
- del: (e, t, n) => e.tokens && e.tokens.length !== 0 ? /* @__PURE__ */ p(w, {
2915
+ del: (e, t, n) => e.tokens && e.tokens.length !== 0 ? /* @__PURE__ */ p(D, {
2889
2916
  strikethrough: !0,
2890
2917
  children: t(e.tokens)
2891
- }, n) : /* @__PURE__ */ p(w, {
2918
+ }, n) : /* @__PURE__ */ p(D, {
2892
2919
  strikethrough: !0,
2893
2920
  children: e.text
2894
2921
  }, n),
2895
- em: (e, t, n) => e.tokens && e.tokens.length !== 0 ? /* @__PURE__ */ p(w, {
2922
+ em: (e, t, n) => e.tokens && e.tokens.length !== 0 ? /* @__PURE__ */ p(D, {
2896
2923
  italic: !0,
2897
2924
  children: t(e.tokens)
2898
- }, n) : /* @__PURE__ */ p(w, {
2925
+ }, n) : /* @__PURE__ */ p(D, {
2899
2926
  italic: !0,
2900
2927
  children: e.text
2901
2928
  }, n),
2902
2929
  escape: () => null,
2903
2930
  heading: (e, t, n) => {
2904
2931
  let r = e.depth;
2905
- return e.tokens && e.tokens.length !== 0 ? /* @__PURE__ */ p(D, {
2932
+ return e.tokens && e.tokens.length !== 0 ? /* @__PURE__ */ p(k, {
2906
2933
  level: r,
2907
2934
  style: Q(n),
2908
2935
  children: t(e.tokens)
2909
- }, n) : /* @__PURE__ */ p(D, {
2936
+ }, n) : /* @__PURE__ */ p(k, {
2910
2937
  level: r,
2911
2938
  text: e.text,
2912
2939
  style: Q(n)
2913
2940
  }, n);
2914
2941
  },
2915
- hr: (e, t, n) => /* @__PURE__ */ p(At, { style: Q(n) }, n),
2942
+ hr: (e, t, n) => /* @__PURE__ */ p(Ot, { style: Q(n) }, n),
2916
2943
  html: () => null,
2917
- image: (e, t, n) => /* @__PURE__ */ p(j, {
2944
+ image: (e, t, n) => /* @__PURE__ */ p(N, {
2918
2945
  block: !0,
2919
2946
  enableModal: !0,
2920
2947
  src: e.href,
2921
2948
  alt: e.text,
2922
2949
  style: Q(n)
2923
2950
  }, n),
2924
- link: (e, t, n) => e.tokens && e.tokens.length !== 0 ? /* @__PURE__ */ p(w, {
2951
+ link: (e, t, n) => e.tokens && e.tokens.length !== 0 ? /* @__PURE__ */ p(D, {
2925
2952
  href: e.href,
2926
2953
  children: t(e.tokens)
2927
- }, n) : /* @__PURE__ */ p(w, {
2954
+ }, n) : /* @__PURE__ */ p(D, {
2928
2955
  href: e.href,
2929
2956
  children: e.text
2930
2957
  }, n),
2931
2958
  list: (e, t, n) => {
2932
2959
  let r = e.items.map((e, n) => /* @__PURE__ */ p("li", { children: t(e.tokens) }, n));
2933
- return /* @__PURE__ */ p(It, {
2960
+ return /* @__PURE__ */ p(Ft, {
2934
2961
  listStyle: e.ordered ? "ordered" : "unordered",
2935
2962
  style: Q(n),
2936
2963
  children: r
2937
2964
  }, n);
2938
2965
  },
2939
2966
  list_item: (e, t, n) => /* @__PURE__ */ p("li", { children: e.tokens && e.tokens.length !== 0 ? t(e.tokens) : e.text }, n),
2940
- paragraph: (e, t, n) => e.tokens && e.tokens.length !== 0 ? /* @__PURE__ */ p(wt, {
2967
+ paragraph: (e, t, n) => e.tokens && e.tokens.length !== 0 ? /* @__PURE__ */ p(St, {
2941
2968
  style: Q(n),
2942
2969
  children: t(e.tokens)
2943
2970
  }, n) : null,
2944
2971
  space: () => null,
2945
- strong: (e, t, n) => e.tokens && e.tokens.length !== 0 ? /* @__PURE__ */ p(w, {
2972
+ strong: (e, t, n) => e.tokens && e.tokens.length !== 0 ? /* @__PURE__ */ p(D, {
2946
2973
  bold: !0,
2947
2974
  children: t(e.tokens)
2948
- }, n) : /* @__PURE__ */ p(w, {
2975
+ }, n) : /* @__PURE__ */ p(D, {
2949
2976
  bold: !0,
2950
2977
  children: e.text
2951
2978
  }, n),
2952
2979
  table: (e, t, n) => {
2953
- let r = (e) => e.map((e, n) => /* @__PURE__ */ p(Bn, { children: t(e.tokens) }, n)), i = /* @__PURE__ */ p(J, { children: r(e.header) }), a = e.rows.map((e, t) => /* @__PURE__ */ p(J, { children: r(e) }, t));
2954
- return /* @__PURE__ */ p(q, {
2980
+ let r = (e) => e.map((e, n) => /* @__PURE__ */ p(Bn, { children: t(e.tokens) }, n)), i = /* @__PURE__ */ p(Wn, { children: r(e.header) }), a = e.rows.map((e, t) => /* @__PURE__ */ p(Wn, { children: r(e) }, t));
2981
+ return /* @__PURE__ */ p(Ln, {
2955
2982
  header: /* @__PURE__ */ p(Hn, { children: i }),
2956
2983
  body: /* @__PURE__ */ p(Rn, { children: a }),
2957
2984
  style: Q(n)
2958
2985
  }, n);
2959
2986
  },
2960
- text: (e, t, n) => e.tokens && e.tokens.length !== 0 ? /* @__PURE__ */ p(w, { children: t(e.tokens) }, n) : /* @__PURE__ */ p(w, { children: e.text }, n)
2961
- }, pr = ({ markdown: e, style: t, renderFunctionMap: n }) => {
2962
- let r = {
2963
- ...fr,
2964
- ...n
2965
- }, i = (e) => e.map((e, t) => {
2966
- let n = r[e.type];
2967
- return n ? n(e, i, t) : null;
2968
- }), a = Qe.setOptions({ gfm: !0 }).lexer(e);
2987
+ text: (e, t, n) => e.tokens && e.tokens.length !== 0 ? /* @__PURE__ */ p(D, { children: t(e.tokens) }, n) : /* @__PURE__ */ p(D, { children: e.text }, n)
2988
+ }, mr = ({ markdown: e, style: t, className: n, renderFunctionMap: r }) => {
2989
+ let i = {
2990
+ ...pr,
2991
+ ...r
2992
+ }, a = (e) => e.map((e, t) => {
2993
+ let n = i[e.type];
2994
+ return n ? n(e, a, t) : null;
2995
+ }), o = Xe.setOptions({ gfm: !0 }).lexer(e);
2969
2996
  return /* @__PURE__ */ p("div", {
2970
- className: dr["markdown-body"],
2997
+ className: [fr["markdown-body"], n].filter(Boolean).join(" "),
2971
2998
  style: {
2972
2999
  "--elmethis-margin-block-start": "2.5rem",
2973
3000
  ...t
2974
3001
  },
2975
- children: i(a)
3002
+ children: a(o)
2976
3003
  });
2977
3004
  }, $ = {
2978
3005
  char: "_char_sojtj_1",
2979
3006
  typed: "_typed_sojtj_20",
2980
3007
  current: "_current_sojtj_24",
2981
3008
  incorrect: "_incorrect_sojtj_29"
2982
- }, mr = ({ target: e = "Typing game", style: t }) => {
2983
- let [n, r] = d(() => {
3009
+ }, hr = ({ target: e = "Typing game", style: t, className: n }) => {
3010
+ let [r, i] = d(() => {
2984
3011
  let t = e.split("").map((e) => ({
2985
3012
  char: e,
2986
3013
  status: "default"
2987
3014
  }));
2988
3015
  return t.length > 0 && (t[0].status = "current"), t;
2989
- }), [i, a] = d(0), [o, c] = d(0), [l, u] = d(!1);
3016
+ }), [a, o] = d(0), [c, l] = d(0), [u, f] = d(!1);
2990
3017
  return s(() => {
2991
3018
  let t = e.split("").map((e) => ({
2992
3019
  char: e,
@@ -2994,31 +3021,32 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
2994
3021
  }));
2995
3022
  t.length > 0 && (t[0].status = "current");
2996
3023
  let n = window.setTimeout(() => {
2997
- r(t), a(0), c(0), u(!1);
3024
+ i(t), o(0), l(0), f(!1);
2998
3025
  }, 0);
2999
3026
  return () => clearTimeout(n);
3000
3027
  }, [e]), s(() => {
3001
3028
  let e = (e) => {
3002
- l || e.key.length !== 1 || r((t) => {
3003
- if (!t[i]) return t;
3029
+ u || e.key.length !== 1 || i((t) => {
3030
+ if (!t[a]) return t;
3004
3031
  let n = [...t];
3005
- return e.key === n[i].char ? (n[i] = {
3006
- ...n[i],
3032
+ return e.key === n[a].char ? (n[a] = {
3033
+ ...n[a],
3007
3034
  status: "typed"
3008
- }, i === n.length - 1 ? u(!0) : a((e) => (n[e + 1] = {
3035
+ }, a === n.length - 1 ? f(!0) : o((e) => (n[e + 1] = {
3009
3036
  ...n[e + 1],
3010
3037
  status: "current"
3011
- }, e + 1))) : (n[i] = {
3012
- ...n[i],
3038
+ }, e + 1))) : (n[a] = {
3039
+ ...n[a],
3013
3040
  status: "incorrect"
3014
- }, c((e) => e + 1)), n;
3041
+ }, l((e) => e + 1)), n;
3015
3042
  });
3016
3043
  };
3017
3044
  return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
3018
- }, [i, l]), /* @__PURE__ */ m("div", {
3045
+ }, [a, u]), /* @__PURE__ */ m("div", {
3046
+ className: n,
3019
3047
  style: t,
3020
3048
  children: [
3021
- /* @__PURE__ */ p("div", { children: n.map((e, t) => /* @__PURE__ */ p("span", {
3049
+ /* @__PURE__ */ p("div", { children: r.map((e, t) => /* @__PURE__ */ p("span", {
3022
3050
  className: [
3023
3051
  $.char,
3024
3052
  e.status === "typed" ? $.typed : "",
@@ -3027,13 +3055,14 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
3027
3055
  ].filter(Boolean).join(" "),
3028
3056
  children: e.char
3029
3057
  }, t)) }),
3030
- l && /* @__PURE__ */ p("div", { children: "FINISH!" }),
3031
- o > 0 && /* @__PURE__ */ m("div", { children: ["Mistakes: ", o] })
3058
+ u && /* @__PURE__ */ p("div", { children: "FINISH!" }),
3059
+ c > 0 && /* @__PURE__ */ m("div", { children: ["Mistakes: ", c] })
3032
3060
  ]
3033
3061
  });
3034
- }, hr = ({ oEmbed: e, style: t }) => e.type === "photo" ? /* @__PURE__ */ p("div", {
3062
+ }, gr = ({ oEmbed: e, style: t, className: n }) => e.type === "photo" ? /* @__PURE__ */ p("div", {
3063
+ className: n,
3035
3064
  style: t,
3036
- children: /* @__PURE__ */ p(j, {
3065
+ children: /* @__PURE__ */ p(N, {
3037
3066
  src: e.url,
3038
3067
  alt: e.title,
3039
3068
  width: e.width,
@@ -3048,11 +3077,12 @@ var rr = ({ commands: e, onCommandInvoked: t, style: n }) => {
3048
3077
  },
3049
3078
  dangerouslySetInnerHTML: { __html: e.html }
3050
3079
  }) : /* @__PURE__ */ p("div", {
3080
+ className: n,
3051
3081
  style: t,
3052
- children: /* @__PURE__ */ p(w, {
3082
+ children: /* @__PURE__ */ p(D, {
3053
3083
  href: e.author_url ?? e.provider_url ?? "#",
3054
3084
  children: e.title ?? e.author_name ?? e.provider_name ?? "Link"
3055
3085
  })
3056
3086
  });
3057
3087
  //#endregion
3058
- export { mt as ElmArrowIcon, rn as ElmBlockFallback, Tt as ElmBlockQuote, Yt as ElmBookmark, _t as ElmBookmarkIcon, Xt as ElmBreadcrumb, cn as ElmButton, Ot as ElmCallout, ln as ElmCheckbox, Jn as ElmCodeBlock, Zn as ElmColorSample, er as ElmColorTable, _n as ElmColumn, yn as ElmColumnList, rr as ElmCommandPalette, Sn as ElmConfirmModal, bt as ElmCubeIcon, Cn as ElmDesktopWindow, At as ElmDivider, S as ElmDotLoadingIcon, Jt as ElmFile, Mt as ElmFragmentIdentifier, D as ElmHeading, j as ElmImage, b as ElmInlineIcon, w as ElmInlineText, ur as ElmJarkup, ar as ElmJsonComponentRenderer, Xn as ElmKatex, nt as ElmLanguageIcon, It as ElmList, St as ElmLoginIcon, pr as ElmMarkdown, x as ElmMdiIcon, e as ElmMermaid, xn as ElmModal, Ut as ElmMultiProgress, hr as ElmOEmbed, Zt as ElmPageTop, wt as ElmParagraph, Tn as ElmParallax, Vt as ElmProgress, nn as ElmRectangleWave, un as ElmSelect, qn as ElmShikiHighlighter, kn as ElmSimpleTooltip, jn as ElmSnackbar, Nn as ElmSnackbarContainer, on as ElmSpinner, ct as ElmSquareLoadingIcon, Kt as ElmStatusMessage, dn as ElmSwitch, q as ElmTable, Rn as ElmTableBody, Bn as ElmTableCell, Hn as ElmTableHeader, $t as ElmTableOfContents, J as ElmTableRow, Pn as ElmTabs, Bt as ElmTemplate, pn as ElmTextField, Fn as ElmToggle, pt as ElmToggleTheme, On as ElmTooltip, mr as ElmTyping, Rt as ElmTypingAnimation, sn as ElmUnsupportedBlock, hn as ElmValidation, rt as LANGUAGES };
3088
+ export { ft as ElmArrowIcon, nn as ElmBlockFallback, Ct as ElmBlockQuote, Jt as ElmBookmark, ht as ElmBookmarkIcon, Yt as ElmBreadcrumb, sn as ElmButton, Et as ElmCallout, cn as ElmCheckbox, Yn as ElmCodeBlock, Qn as ElmColorSample, tr as ElmColorTable, gn as ElmColumn, vn as ElmColumnList, ir as ElmCommandPalette, xn as ElmConfirmModal, vt as ElmCubeIcon, Sn as ElmDesktopWindow, Ot as ElmDivider, T as ElmDotLoadingIcon, qt as ElmFile, At as ElmFragmentIdentifier, k as ElmHeading, N as ElmImage, C as ElmInlineIcon, D as ElmInlineText, dr as ElmJarkup, or as ElmJsonComponentRenderer, Zn as ElmKatex, et as ElmLanguageIcon, Ft as ElmList, bt as ElmLoginIcon, mr as ElmMarkdown, w as ElmMdiIcon, e as ElmMermaid, bn as ElmModal, Ht as ElmMultiProgress, gr as ElmOEmbed, Xt as ElmPageTop, St as ElmParagraph, wn as ElmParallax, Bt as ElmProgress, tn as ElmRectangleWave, ln as ElmSelect, Jn as ElmShikiHighlighter, On as ElmSimpleTooltip, An as ElmSnackbar, Mn as ElmSnackbarContainer, an as ElmSpinner, ot as ElmSquareLoadingIcon, Gt as ElmStatusMessage, un as ElmSwitch, Ln as ElmTable, Rn as ElmTableBody, Bn as ElmTableCell, Hn as ElmTableHeader, Qt as ElmTableOfContents, Wn as ElmTableRow, Nn as ElmTabs, zt as ElmTemplate, fn as ElmTextField, Pn as ElmToggle, dt as ElmToggleTheme, Dn as ElmTooltip, hr as ElmTyping, Lt as ElmTypingAnimation, on as ElmUnsupportedBlock, mn as ElmValidation, tt as LANGUAGES };