@jonmilner/ui 0.23.2 → 0.23.3

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 (292) hide show
  1. package/THIRD_PARTY_NOTICES.md +4 -0
  2. package/dist/Alert/Alert.css +1 -1
  3. package/dist/Alert/Alert.css.mjs +3 -3
  4. package/dist/Avatar/Avatar.css +1 -1
  5. package/dist/Avatar/Avatar.css.mjs +2 -2
  6. package/dist/Badge/Badge.css +1 -1
  7. package/dist/Badge/Badge.css.mjs +2 -2
  8. package/dist/Box/Box.css +1 -1
  9. package/dist/Box/Box.css.mjs +2 -2
  10. package/dist/Button/Button.css +1 -1
  11. package/dist/Button/Button.css.mjs +2 -2
  12. package/dist/Checkbox/Checkbox.css +1 -1
  13. package/dist/Checkbox/Checkbox.css.mjs +2 -2
  14. package/dist/Chip/Chip.css +1 -1
  15. package/dist/Chip/Chip.css.mjs +2 -2
  16. package/dist/Clickable/Clickable.css +1 -1
  17. package/dist/Clickable/Clickable.css.mjs +2 -2
  18. package/dist/Code/Code.css +1 -1
  19. package/dist/Code/Code.css.mjs +2 -2
  20. package/dist/ColorField/ColorField.css +1 -1
  21. package/dist/ColorField/ColorField.css.mjs +1 -1
  22. package/dist/Combobox/Combobox.css +1 -1
  23. package/dist/Combobox/Combobox.css.mjs +2 -2
  24. package/dist/Dialog/Dialog.css +1 -1
  25. package/dist/Dialog/Dialog.css.mjs +2 -2
  26. package/dist/Field/Field.css +1 -1
  27. package/dist/Field/Field.css.mjs +2 -2
  28. package/dist/Heading/Heading.css +1 -1
  29. package/dist/Heading/Heading.css.mjs +2 -2
  30. package/dist/Icon/Icon.css +1 -1
  31. package/dist/Icon/Icon.css.mjs +2 -2
  32. package/dist/IconButton/IconButton.css +1 -1
  33. package/dist/IconButton/IconButton.css.mjs +1 -1
  34. package/dist/Inline/Inline.css +1 -1
  35. package/dist/Inline/Inline.css.mjs +2 -2
  36. package/dist/Markdown/Markdown.css +2 -0
  37. package/dist/Markdown/Markdown.css.mjs +7 -0
  38. package/dist/Markdown/index.d.mts +26 -0
  39. package/dist/Markdown/index.mjs +251 -0
  40. package/dist/Menu/Menu.css +1 -1
  41. package/dist/Menu/Menu.css.mjs +2 -2
  42. package/dist/MultiSelect/MultiSelect.css +1 -1
  43. package/dist/MultiSelect/MultiSelect.css.mjs +2 -2
  44. package/dist/NavList/NavList.css +1 -1
  45. package/dist/NavList/NavList.css.mjs +3 -3
  46. package/dist/NumberField/NumberField.css +1 -1
  47. package/dist/NumberField/NumberField.css.mjs +2 -2
  48. package/dist/Popover/Popover.css +1 -1
  49. package/dist/Popover/Popover.css.mjs +2 -2
  50. package/dist/RadioGroup/RadioGroup.css +1 -1
  51. package/dist/RadioGroup/RadioGroup.css.mjs +1 -1
  52. package/dist/SearchField/SearchField.css +1 -1
  53. package/dist/SearchField/SearchField.css.mjs +2 -2
  54. package/dist/Select/Select.css +1 -1
  55. package/dist/Select/Select.css.mjs +2 -2
  56. package/dist/Sidebar/Sidebar.css +1 -1
  57. package/dist/Sidebar/Sidebar.css.mjs +3 -3
  58. package/dist/SidebarLayout/SidebarLayout.css +1 -1
  59. package/dist/SidebarLayout/SidebarLayout.css.mjs +3 -3
  60. package/dist/Stack/Stack.css +1 -1
  61. package/dist/Stack/Stack.css.mjs +2 -2
  62. package/dist/Switch/Switch.css +1 -1
  63. package/dist/Switch/Switch.css.mjs +2 -2
  64. package/dist/Table/Table.css +1 -1
  65. package/dist/Table/Table.css.mjs +3 -3
  66. package/dist/Tabs/Tabs.css +1 -1
  67. package/dist/Tabs/Tabs.css.mjs +2 -2
  68. package/dist/Tag/Tag.css +1 -1
  69. package/dist/Tag/Tag.css.mjs +2 -2
  70. package/dist/Text/Text.css +1 -1
  71. package/dist/Text/Text.css.mjs +2 -2
  72. package/dist/TextField/TextField.css +1 -1
  73. package/dist/TextField/TextField.css.mjs +2 -2
  74. package/dist/Textarea/Textarea.css +1 -1
  75. package/dist/Textarea/Textarea.css.mjs +2 -2
  76. package/dist/Toast/Toast.css +1 -1
  77. package/dist/Toast/Toast.css.mjs +3 -3
  78. package/dist/Tooltip/Tooltip.css +1 -1
  79. package/dist/Tooltip/Tooltip.css.mjs +2 -2
  80. package/dist/VisuallyHidden/VisuallyHidden.css +1 -1
  81. package/dist/VisuallyHidden/VisuallyHidden.css.mjs +2 -2
  82. package/dist/_virtual/_rolldown/runtime.mjs +19 -0
  83. package/dist/base.css +1 -1
  84. package/dist/docs/Markdown.md +86 -0
  85. package/dist/docs/llms.txt +1 -0
  86. package/dist/docs/manifest.json +35 -1
  87. package/dist/index.d.mts +2 -1
  88. package/dist/index.mjs +26 -25
  89. package/dist/lint/index.mjs +1 -0
  90. package/dist/styles/atoms.css +1 -1
  91. package/dist/styles/atoms.css.mjs +2 -2
  92. package/dist/styles/layers.css +1 -1
  93. package/dist/styles/responsive.css +1 -1
  94. package/dist/styles/responsive.css.mjs +2 -2
  95. package/dist/styles/scroll-region.css +1 -1
  96. package/dist/styles/scroll-region.css.mjs +2 -2
  97. package/dist/styles/status-message.css +1 -1
  98. package/dist/styles/status-message.css.mjs +2 -2
  99. package/dist/vendor/@ungap/structured-clone@1.4.0/esm/deserialize.mjs +69 -0
  100. package/dist/vendor/@ungap/structured-clone@1.4.0/esm/index.mjs +7 -0
  101. package/dist/vendor/@ungap/structured-clone@1.4.0/esm/serialize.mjs +93 -0
  102. package/dist/vendor/LICENSES.md +1896 -0
  103. package/dist/vendor/bail@2.0.2/index.mjs +5 -0
  104. package/dist/vendor/ccount@2.0.1/index.mjs +9 -0
  105. package/dist/vendor/character-entities@2.0.2/index.mjs +2129 -0
  106. package/dist/vendor/comma-separated-tokens@2.0.3/index.mjs +6 -0
  107. package/dist/vendor/decode-named-character-reference@1.3.0/index.mjs +7 -0
  108. package/dist/vendor/devlop@1.1.0/lib/default.mjs +4 -0
  109. package/dist/vendor/escape-string-regexp@5.0.0/index.mjs +6 -0
  110. package/dist/vendor/estree-util-is-identifier-name@3.0.0/lib/index.mjs +6 -0
  111. package/dist/vendor/extend@3.0.2/index.mjs +39 -0
  112. package/dist/vendor/hast-util-to-jsx-runtime@2.3.6/lib/index.mjs +254 -0
  113. package/dist/vendor/hast-util-whitespace@3.0.0/lib/index.mjs +9 -0
  114. package/dist/vendor/html-url-attributes@3.0.1/lib/index.mjs +35 -0
  115. package/dist/vendor/inline-style-parser@0.2.7/cjs/index.mjs +89 -0
  116. package/dist/vendor/is-plain-obj@4.1.0/index.mjs +7 -0
  117. package/dist/vendor/longest-streak@3.1.0/index.mjs +8 -0
  118. package/dist/vendor/markdown-table@3.0.4/index.mjs +58 -0
  119. package/dist/vendor/mdast-util-find-and-replace@3.0.4/lib/index.mjs +64 -0
  120. package/dist/vendor/mdast-util-from-markdown@2.1.0/lib/index.mjs +606 -0
  121. package/dist/vendor/mdast-util-gfm-autolink-literal@2.0.1/lib/index.mjs +128 -0
  122. package/dist/vendor/mdast-util-gfm-footnote@2.1.0/lib/index.mjs +96 -0
  123. package/dist/vendor/mdast-util-gfm-strikethrough@2.0.1/lib/index.mjs +56 -0
  124. package/dist/vendor/mdast-util-gfm-table@2.0.0/lib/index.mjs +136 -0
  125. package/dist/vendor/mdast-util-gfm-task-list-item@2.0.0/lib/index.mjs +57 -0
  126. package/dist/vendor/mdast-util-gfm@3.1.0/lib/index.mjs +25 -0
  127. package/dist/vendor/mdast-util-phrasing@4.1.0/lib/index.mjs +21 -0
  128. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/footer.mjs +102 -0
  129. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/blockquote.mjs +11 -0
  130. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/break.mjs +14 -0
  131. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/code.mjs +21 -0
  132. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/delete.mjs +11 -0
  133. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/emphasis.mjs +11 -0
  134. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/footnote-reference.mjs +29 -0
  135. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/heading.mjs +11 -0
  136. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/html.mjs +11 -0
  137. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/image-reference.mjs +20 -0
  138. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/image.mjs +14 -0
  139. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/index.mjs +55 -0
  140. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/inline-code.mjs +16 -0
  141. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/link-reference.mjs +17 -0
  142. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/link.mjs +14 -0
  143. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/list-item.mjs +58 -0
  144. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/list.mjs +19 -0
  145. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/paragraph.mjs +11 -0
  146. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/root.mjs +9 -0
  147. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/strong.mjs +11 -0
  148. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/table-cell.mjs +11 -0
  149. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/table-row.mjs +23 -0
  150. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/table.mjs +34 -0
  151. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/text.mjs +10 -0
  152. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/thematic-break.mjs +11 -0
  153. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/index.mjs +18 -0
  154. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/revert.mjs +19 -0
  155. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/state.mjs +107 -0
  156. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/blockquote.mjs +11 -0
  157. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/break.mjs +11 -0
  158. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/code.mjs +35 -0
  159. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/definition.mjs +23 -0
  160. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/emphasis.mjs +20 -0
  161. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/heading.mjs +23 -0
  162. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/html.mjs +9 -0
  163. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/image-reference.mjs +24 -0
  164. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/image.mjs +27 -0
  165. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/index.mjs +43 -0
  166. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/inline-code.mjs +20 -0
  167. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/link-reference.mjs +24 -0
  168. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/link.mjs +41 -0
  169. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/list-item.mjs +17 -0
  170. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/list.mjs +25 -0
  171. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/paragraph.mjs +6 -0
  172. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/root.mjs +10 -0
  173. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/strong.mjs +20 -0
  174. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/text.mjs +11 -0
  175. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/thematic-break.mjs +8 -0
  176. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-bullet-ordered.mjs +7 -0
  177. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-bullet-other.mjs +10 -0
  178. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-bullet.mjs +7 -0
  179. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-emphasis.mjs +7 -0
  180. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-fence.mjs +7 -0
  181. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-list-item-indent.mjs +7 -0
  182. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-quote.mjs +7 -0
  183. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-rule-repetition.mjs +7 -0
  184. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-rule.mjs +7 -0
  185. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-strong.mjs +7 -0
  186. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/encode-character-reference.mjs +5 -0
  187. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/format-code-as-indented.mjs +5 -0
  188. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/format-heading-as-setext.mjs +10 -0
  189. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/format-link-as-autolink.mjs +7 -0
  190. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/pattern-in-scope.mjs +11 -0
  191. package/dist/vendor/mdast-util-to-string@4.0.0/lib/index.mjs +23 -0
  192. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/attention.mjs +117 -0
  193. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/autolink.mjs +42 -0
  194. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/blank-line.mjs +17 -0
  195. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/block-quote.mjs +37 -0
  196. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/character-escape.mjs +16 -0
  197. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/character-reference.mjs +28 -0
  198. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/code-fenced.mjs +76 -0
  199. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/code-indented.mjs +36 -0
  200. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/code-text.mjs +42 -0
  201. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/content.mjs +46 -0
  202. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/definition.mjs +59 -0
  203. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/hard-break-escape.mjs +16 -0
  204. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/heading-atx.mjs +70 -0
  205. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/html-flow.mjs +128 -0
  206. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/html-text.mjs +99 -0
  207. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/label-end.mjs +160 -0
  208. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/label-start-image.mjs +21 -0
  209. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/label-start-link.mjs +18 -0
  210. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/line-ending.mjs +13 -0
  211. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/list.mjs +77 -0
  212. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/partial-non-lazy-continuation.mjs +16 -0
  213. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/setext-underline.mjs +59 -0
  214. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/thematic-break.mjs +24 -0
  215. package/dist/vendor/micromark-extension-gfm-autolink-literal@2.1.0/lib/syntax.mjs +173 -0
  216. package/dist/vendor/micromark-extension-gfm-footnote@2.1.0/lib/syntax.mjs +192 -0
  217. package/dist/vendor/micromark-extension-gfm-strikethrough@2.1.0/lib/syntax.mjs +95 -0
  218. package/dist/vendor/micromark-extension-gfm-table@2.1.2/lib/edit-map.mjs +40 -0
  219. package/dist/vendor/micromark-extension-gfm-table@2.1.2/lib/infer.mjs +19 -0
  220. package/dist/vendor/micromark-extension-gfm-table@2.1.2/lib/syntax.mjs +200 -0
  221. package/dist/vendor/micromark-extension-gfm-task-list-item@2.1.0/lib/syntax.mjs +33 -0
  222. package/dist/vendor/micromark-extension-gfm@3.0.0/index.mjs +17 -0
  223. package/dist/vendor/micromark-factory-destination@2.0.1/index.mjs +25 -0
  224. package/dist/vendor/micromark-factory-label@2.0.1/index.mjs +21 -0
  225. package/dist/vendor/micromark-factory-space@2.1.0/index.mjs +26 -0
  226. package/dist/vendor/micromark-factory-title@2.0.1/index.mjs +23 -0
  227. package/dist/vendor/micromark-factory-whitespace@2.0.1/index.mjs +11 -0
  228. package/dist/vendor/micromark-util-character@2.1.1/index.mjs +23 -0
  229. package/dist/vendor/micromark-util-chunked@2.0.1/index.mjs +10 -0
  230. package/dist/vendor/micromark-util-classify-character@2.0.1/index.mjs +7 -0
  231. package/dist/vendor/micromark-util-combine-extensions@2.0.1/index.mjs +25 -0
  232. package/dist/vendor/micromark-util-decode-numeric-character-reference@2.0.2/index.mjs +6 -0
  233. package/dist/vendor/micromark-util-decode-string@2.0.1/index.mjs +16 -0
  234. package/dist/vendor/micromark-util-edit-map@1.0.0/index.mjs +41 -0
  235. package/dist/vendor/micromark-util-html-tag-name@2.0.1/index.mjs +8 -0
  236. package/dist/vendor/micromark-util-normalize-identifier@2.0.1/index.mjs +5 -0
  237. package/dist/vendor/micromark-util-resolve-all@2.0.1/index.mjs +10 -0
  238. package/dist/vendor/micromark-util-sanitize-uri@2.0.1/index.mjs +17 -0
  239. package/dist/vendor/micromark-util-subtokenize@2.1.0/index.mjs +34 -0
  240. package/dist/vendor/micromark-util-subtokenize@2.1.0/lib/splice-buffer.mjs +58 -0
  241. package/dist/vendor/micromark@4.0.3/lib/constructs.mjs +79 -0
  242. package/dist/vendor/micromark@4.0.3/lib/create-tokenizer.mjs +177 -0
  243. package/dist/vendor/micromark@4.0.3/lib/initialize/content.mjs +27 -0
  244. package/dist/vendor/micromark@4.0.3/lib/initialize/document.mjs +97 -0
  245. package/dist/vendor/micromark@4.0.3/lib/initialize/flow.mjs +18 -0
  246. package/dist/vendor/micromark@4.0.3/lib/initialize/text.mjs +83 -0
  247. package/dist/vendor/micromark@4.0.3/lib/parse.mjs +28 -0
  248. package/dist/vendor/micromark@4.0.3/lib/postprocess.mjs +7 -0
  249. package/dist/vendor/micromark@4.0.3/lib/preprocess.mjs +36 -0
  250. package/dist/vendor/property-information@7.2.0/index.mjs +25 -0
  251. package/dist/vendor/property-information@7.2.0/lib/aria.mjs +60 -0
  252. package/dist/vendor/property-information@7.2.0/lib/find.mjs +30 -0
  253. package/dist/vendor/property-information@7.2.0/lib/hast-to-react.mjs +21 -0
  254. package/dist/vendor/property-information@7.2.0/lib/html.mjs +325 -0
  255. package/dist/vendor/property-information@7.2.0/lib/normalize.mjs +5 -0
  256. package/dist/vendor/property-information@7.2.0/lib/svg.mjs +563 -0
  257. package/dist/vendor/property-information@7.2.0/lib/util/case-insensitive-transform.mjs +6 -0
  258. package/dist/vendor/property-information@7.2.0/lib/util/case-sensitive-transform.mjs +5 -0
  259. package/dist/vendor/property-information@7.2.0/lib/util/create.mjs +13 -0
  260. package/dist/vendor/property-information@7.2.0/lib/util/defined-info.mjs +17 -0
  261. package/dist/vendor/property-information@7.2.0/lib/util/info.mjs +8 -0
  262. package/dist/vendor/property-information@7.2.0/lib/util/merge.mjs +8 -0
  263. package/dist/vendor/property-information@7.2.0/lib/util/schema.mjs +8 -0
  264. package/dist/vendor/property-information@7.2.0/lib/util/types.mjs +15 -0
  265. package/dist/vendor/property-information@7.2.0/lib/xlink.mjs +18 -0
  266. package/dist/vendor/property-information@7.2.0/lib/xml.mjs +14 -0
  267. package/dist/vendor/property-information@7.2.0/lib/xmlns.mjs +13 -0
  268. package/dist/vendor/react-markdown@10.1.0/lib/index.mjs +139 -0
  269. package/dist/vendor/remark-gfm@4.0.1/lib/index.mjs +9 -0
  270. package/dist/vendor/remark-parse@11.0.0/lib/index.mjs +15 -0
  271. package/dist/vendor/remark-rehype@11.1.2/lib/index.mjs +17 -0
  272. package/dist/vendor/space-separated-tokens@2.0.2/index.mjs +5 -0
  273. package/dist/vendor/style-to-js@1.1.21/cjs/index.mjs +18 -0
  274. package/dist/vendor/style-to-js@1.1.21/cjs/utilities.mjs +17 -0
  275. package/dist/vendor/style-to-object@1.0.14/cjs/index.mjs +22 -0
  276. package/dist/vendor/trim-lines@3.0.1/index.mjs +18 -0
  277. package/dist/vendor/trough@2.2.0/lib/index.mjs +48 -0
  278. package/dist/vendor/unified@11.0.5/lib/callable-instance.mjs +8 -0
  279. package/dist/vendor/unified@11.0.5/lib/index.mjs +165 -0
  280. package/dist/vendor/unist-util-is@6.0.1/lib/index.mjs +46 -0
  281. package/dist/vendor/unist-util-position@5.0.0/lib/index.mjs +21 -0
  282. package/dist/vendor/unist-util-stringify-position@4.0.0/lib/index.mjs +14 -0
  283. package/dist/vendor/unist-util-visit-parents@6.1.0/lib/color.mjs +5 -0
  284. package/dist/vendor/unist-util-visit-parents@6.1.0/lib/index.mjs +52 -0
  285. package/dist/vendor/unist-util-visit@5.2.0/lib/index.mjs +19 -0
  286. package/dist/vendor/vfile-message@4.0.3/lib/index.mjs +23 -0
  287. package/dist/vendor/vfile@6.0.3/lib/index.mjs +88 -0
  288. package/dist/vendor/vfile@6.0.3/lib/minpath.browser.mjs +98 -0
  289. package/dist/vendor/vfile@6.0.3/lib/minproc.browser.mjs +6 -0
  290. package/dist/vendor/vfile@6.0.3/lib/minurl.browser.mjs +30 -0
  291. package/dist/vendor/vfile@6.0.3/lib/minurl.shared.mjs +5 -0
  292. package/package.json +7 -1
@@ -0,0 +1,42 @@
1
+ import { asciiAlpha as e, asciiAlphanumeric as t, asciiAtext as n, asciiControl as r } from "../../micromark-util-character@2.1.1/index.mjs";
2
+ // ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/autolink.js
3
+ var i = {
4
+ name: "autolink",
5
+ tokenize: a
6
+ };
7
+ function a(i, a, o) {
8
+ let s = 0;
9
+ return c;
10
+ function c(e) {
11
+ return i.enter("autolink"), i.enter("autolinkMarker"), i.consume(e), i.exit("autolinkMarker"), i.enter("autolinkProtocol"), l;
12
+ }
13
+ function l(t) {
14
+ return e(t) ? (i.consume(t), u) : t === 64 ? o(t) : p(t);
15
+ }
16
+ function u(e) {
17
+ return e === 43 || e === 45 || e === 46 || t(e) ? (s = 1, d(e)) : p(e);
18
+ }
19
+ function d(e) {
20
+ return e === 58 ? (i.consume(e), s = 0, f) : (e === 43 || e === 45 || e === 46 || t(e)) && s++ < 32 ? (i.consume(e), d) : (s = 0, p(e));
21
+ }
22
+ function f(e) {
23
+ return e === 62 ? (i.exit("autolinkProtocol"), i.enter("autolinkMarker"), i.consume(e), i.exit("autolinkMarker"), i.exit("autolink"), a) : e === null || e === 32 || e === 60 || r(e) ? o(e) : (i.consume(e), f);
24
+ }
25
+ function p(e) {
26
+ return e === 64 ? (i.consume(e), m) : n(e) ? (i.consume(e), p) : o(e);
27
+ }
28
+ function m(e) {
29
+ return t(e) ? h(e) : o(e);
30
+ }
31
+ function h(e) {
32
+ return e === 46 ? (i.consume(e), s = 0, m) : e === 62 ? (i.exit("autolinkProtocol").type = "autolinkEmail", i.enter("autolinkMarker"), i.consume(e), i.exit("autolinkMarker"), i.exit("autolink"), a) : g(e);
33
+ }
34
+ function g(e) {
35
+ if ((e === 45 || t(e)) && s++ < 63) {
36
+ let t = e === 45 ? g : h;
37
+ return i.consume(e), t;
38
+ }
39
+ return o(e);
40
+ }
41
+ }
42
+ export { i as autolink };
@@ -0,0 +1,17 @@
1
+ import { factorySpace as e } from "../../micromark-factory-space@2.1.0/index.mjs";
2
+ import { markdownLineEnding as t, markdownSpace as n } from "../../micromark-util-character@2.1.1/index.mjs";
3
+ // ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/blank-line.js
4
+ var r = {
5
+ partial: !0,
6
+ tokenize: i
7
+ };
8
+ function i(r, i, a) {
9
+ return o;
10
+ function o(t) {
11
+ return n(t) ? e(r, s, "linePrefix")(t) : s(t);
12
+ }
13
+ function s(e) {
14
+ return e === null || t(e) ? i(e) : a(e);
15
+ }
16
+ }
17
+ export { r as blankLine };
@@ -0,0 +1,37 @@
1
+ import { factorySpace as e } from "../../micromark-factory-space@2.1.0/index.mjs";
2
+ import { markdownSpace as t } from "../../micromark-util-character@2.1.1/index.mjs";
3
+ // ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/block-quote.js
4
+ var n = {
5
+ continuation: { tokenize: i },
6
+ exit: a,
7
+ name: "blockQuote",
8
+ tokenize: r
9
+ };
10
+ function r(e, n, r) {
11
+ let i = this;
12
+ return a;
13
+ function a(t) {
14
+ if (t === 62) {
15
+ let n = i.containerState;
16
+ return n.open ||= (e.enter("blockQuote", { _container: !0 }), !0), e.enter("blockQuotePrefix"), e.enter("blockQuoteMarker"), e.consume(t), e.exit("blockQuoteMarker"), o;
17
+ }
18
+ return r(t);
19
+ }
20
+ function o(r) {
21
+ return t(r) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(r), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), n) : (e.exit("blockQuotePrefix"), n(r));
22
+ }
23
+ }
24
+ function i(r, i, a) {
25
+ let o = this;
26
+ return s;
27
+ function s(n) {
28
+ return t(n) ? e(r, c, "linePrefix", o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(n) : c(n);
29
+ }
30
+ function c(e) {
31
+ return r.attempt(n, i, a)(e);
32
+ }
33
+ }
34
+ function a(e) {
35
+ e.exit("blockQuote");
36
+ }
37
+ export { n as blockQuote };
@@ -0,0 +1,16 @@
1
+ import { asciiPunctuation as e } from "../../micromark-util-character@2.1.1/index.mjs";
2
+ // ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/character-escape.js
3
+ var t = {
4
+ name: "characterEscape",
5
+ tokenize: n
6
+ };
7
+ function n(t, n, r) {
8
+ return i;
9
+ function i(e) {
10
+ return t.enter("characterEscape"), t.enter("escapeMarker"), t.consume(e), t.exit("escapeMarker"), a;
11
+ }
12
+ function a(i) {
13
+ return e(i) ? (t.enter("characterEscapeValue"), t.consume(i), t.exit("characterEscapeValue"), t.exit("characterEscape"), n) : r(i);
14
+ }
15
+ }
16
+ export { t as characterEscape };
@@ -0,0 +1,28 @@
1
+ import { decodeNamedCharacterReference as e } from "../../decode-named-character-reference@1.3.0/index.mjs";
2
+ import { asciiAlphanumeric as t, asciiDigit as n, asciiHexDigit as r } from "../../micromark-util-character@2.1.1/index.mjs";
3
+ // ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/character-reference.js
4
+ var i = {
5
+ name: "characterReference",
6
+ tokenize: a
7
+ };
8
+ function a(i, a, o) {
9
+ let s = this, c = 0, l, u;
10
+ return d;
11
+ function d(e) {
12
+ return i.enter("characterReference"), i.enter("characterReferenceMarker"), i.consume(e), i.exit("characterReferenceMarker"), f;
13
+ }
14
+ function f(e) {
15
+ return e === 35 ? (i.enter("characterReferenceMarkerNumeric"), i.consume(e), i.exit("characterReferenceMarkerNumeric"), p) : (i.enter("characterReferenceValue"), l = 31, u = t, m(e));
16
+ }
17
+ function p(e) {
18
+ return e === 88 || e === 120 ? (i.enter("characterReferenceMarkerHexadecimal"), i.consume(e), i.exit("characterReferenceMarkerHexadecimal"), i.enter("characterReferenceValue"), l = 6, u = r, m) : (i.enter("characterReferenceValue"), l = 7, u = n, m(e));
19
+ }
20
+ function m(n) {
21
+ if (n === 59 && c) {
22
+ let r = i.exit("characterReferenceValue");
23
+ return u === t && !e(s.sliceSerialize(r)) ? o(n) : (i.enter("characterReferenceMarker"), i.consume(n), i.exit("characterReferenceMarker"), i.exit("characterReference"), a);
24
+ }
25
+ return u(n) && c++ < l ? (i.consume(n), m) : o(n);
26
+ }
27
+ }
28
+ export { i as characterReference };
@@ -0,0 +1,76 @@
1
+ import { factorySpace as e } from "../../micromark-factory-space@2.1.0/index.mjs";
2
+ import { markdownLineEnding as t, markdownSpace as n } from "../../micromark-util-character@2.1.1/index.mjs";
3
+ import { nonLazyContinuation as r } from "./partial-non-lazy-continuation.mjs";
4
+ // ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/code-fenced.js
5
+ var i = {
6
+ concrete: !0,
7
+ name: "codeFenced",
8
+ tokenize: a
9
+ };
10
+ function a(i, a, o) {
11
+ let s = this, c = {
12
+ partial: !0,
13
+ tokenize: T
14
+ }, l = 0, u = 0, d;
15
+ return f;
16
+ function f(e) {
17
+ return p(e);
18
+ }
19
+ function p(e) {
20
+ let t = s.events[s.events.length - 1];
21
+ return l = t && t[1].type === "linePrefix" ? t[2].sliceSerialize(t[1], !0).length : 0, d = e, i.enter("codeFenced"), i.enter("codeFencedFence"), i.enter("codeFencedFenceSequence"), m(e);
22
+ }
23
+ function m(t) {
24
+ return t === d ? (u++, i.consume(t), m) : u < 3 ? o(t) : (i.exit("codeFencedFenceSequence"), n(t) ? e(i, h, "whitespace")(t) : h(t));
25
+ }
26
+ function h(e) {
27
+ return e === null || t(e) ? (i.exit("codeFencedFence"), s.interrupt ? a(e) : i.check(r, y, w)(e)) : (i.enter("codeFencedFenceInfo"), i.enter("chunkString", { contentType: "string" }), g(e));
28
+ }
29
+ function g(r) {
30
+ return r === null || t(r) ? (i.exit("chunkString"), i.exit("codeFencedFenceInfo"), h(r)) : n(r) ? (i.exit("chunkString"), i.exit("codeFencedFenceInfo"), e(i, _, "whitespace")(r)) : r === 96 && r === d ? o(r) : (i.consume(r), g);
31
+ }
32
+ function _(e) {
33
+ return e === null || t(e) ? h(e) : (i.enter("codeFencedFenceMeta"), i.enter("chunkString", { contentType: "string" }), v(e));
34
+ }
35
+ function v(e) {
36
+ return e === null || t(e) ? (i.exit("chunkString"), i.exit("codeFencedFenceMeta"), h(e)) : e === 96 && e === d ? o(e) : (i.consume(e), v);
37
+ }
38
+ function y(e) {
39
+ return i.attempt(c, w, b)(e);
40
+ }
41
+ function b(e) {
42
+ return i.enter("lineEnding"), i.consume(e), i.exit("lineEnding"), x;
43
+ }
44
+ function x(t) {
45
+ return l > 0 && n(t) ? e(i, S, "linePrefix", l + 1)(t) : S(t);
46
+ }
47
+ function S(e) {
48
+ return e === null || t(e) ? i.check(r, y, w)(e) : (i.enter("codeFlowValue"), C(e));
49
+ }
50
+ function C(e) {
51
+ return e === null || t(e) ? (i.exit("codeFlowValue"), S(e)) : (i.consume(e), C);
52
+ }
53
+ function w(e) {
54
+ return i.exit("codeFenced"), a(e);
55
+ }
56
+ function T(r, i, a) {
57
+ let o = 0;
58
+ return c;
59
+ function c(e) {
60
+ return r.enter("lineEnding"), r.consume(e), r.exit("lineEnding"), l;
61
+ }
62
+ function l(t) {
63
+ return r.enter("codeFencedFence"), n(t) ? e(r, f, "linePrefix", s.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : f(t);
64
+ }
65
+ function f(e) {
66
+ return e === d ? (r.enter("codeFencedFenceSequence"), p(e)) : a(e);
67
+ }
68
+ function p(t) {
69
+ return t === d ? (o++, r.consume(t), p) : o >= u ? (r.exit("codeFencedFenceSequence"), n(t) ? e(r, m, "whitespace")(t) : m(t)) : a(t);
70
+ }
71
+ function m(e) {
72
+ return e === null || t(e) ? (r.exit("codeFencedFence"), i(e)) : a(e);
73
+ }
74
+ }
75
+ }
76
+ export { i as codeFenced };
@@ -0,0 +1,36 @@
1
+ import { factorySpaceMinMax as e } from "../../micromark-factory-space@2.1.0/index.mjs";
2
+ import { markdownLineEnding as t } from "../../micromark-util-character@2.1.1/index.mjs";
3
+ // ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/code-indented.js
4
+ var n = {
5
+ name: "codeIndented",
6
+ tokenize: i
7
+ }, r = {
8
+ partial: !0,
9
+ tokenize: a
10
+ };
11
+ function i(n, i, a) {
12
+ return o;
13
+ function o(t) {
14
+ return n.enter("codeIndented"), e(n, s, a, "linePrefix", 4, 4)(t);
15
+ }
16
+ function s(e) {
17
+ return e === null ? l(e) : t(e) ? n.attempt(r, s, l)(e) : (n.enter("codeFlowValue"), c(e));
18
+ }
19
+ function c(e) {
20
+ return e === null || t(e) ? (n.exit("codeFlowValue"), s(e)) : (n.consume(e), c);
21
+ }
22
+ function l(e) {
23
+ return n.exit("codeIndented"), i(e);
24
+ }
25
+ }
26
+ function a(n, r, i) {
27
+ let a = this;
28
+ return o;
29
+ function o(c) {
30
+ return a.parser.lazy[a.now().line] ? i(c) : t(c) ? (n.enter("lineEnding"), n.consume(c), n.exit("lineEnding"), o) : e(n, r, s, "linePrefix", 4, 4)(c);
31
+ }
32
+ function s(e) {
33
+ return t(e) ? o(e) : i(e);
34
+ }
35
+ }
36
+ export { n as codeIndented };
@@ -0,0 +1,42 @@
1
+ import { markdownLineEnding as e } from "../../micromark-util-character@2.1.1/index.mjs";
2
+ // ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/code-text.js
3
+ var t = {
4
+ name: "codeText",
5
+ previous: r,
6
+ resolve: n,
7
+ tokenize: i
8
+ };
9
+ function n(e) {
10
+ let t = e.length - 4, n = 3, r, i;
11
+ if ((e[n][1].type === "lineEnding" || e[n][1].type === "space") && (e[t][1].type === "lineEnding" || e[t][1].type === "space")) {
12
+ for (r = n; ++r < t;) if (e[r][1].type === "codeTextData") {
13
+ e[n][1].type = "codeTextPadding", e[t][1].type = "codeTextPadding", n += 2, t -= 2;
14
+ break;
15
+ }
16
+ }
17
+ for (r = n - 1, t++; ++r <= t;) i === void 0 ? r !== t && e[r][1].type !== "lineEnding" && (i = r) : (r === t || e[r][1].type === "lineEnding") && (e[i][1].type = "codeTextData", r !== i + 2 && (e[i][1].end = e[r - 1][1].end, e.splice(i + 2, r - i - 2), t -= r - i - 2, r = i + 2), i = void 0);
18
+ return e;
19
+ }
20
+ function r(e) {
21
+ return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
22
+ }
23
+ function i(t, n, r) {
24
+ let i = 0, a, o;
25
+ return s;
26
+ function s(e) {
27
+ return t.enter("codeText"), t.enter("codeTextSequence"), c(e);
28
+ }
29
+ function c(e) {
30
+ return e === 96 ? (t.consume(e), i++, c) : (t.exit("codeTextSequence"), l(e));
31
+ }
32
+ function l(n) {
33
+ return n === null ? r(n) : n === 32 ? (t.enter("space"), t.consume(n), t.exit("space"), l) : n === 96 ? (o = t.enter("codeTextSequence"), a = 0, d(n)) : e(n) ? (t.enter("lineEnding"), t.consume(n), t.exit("lineEnding"), l) : (t.enter("codeTextData"), u(n));
34
+ }
35
+ function u(n) {
36
+ return n === null || n === 32 || n === 96 || e(n) ? (t.exit("codeTextData"), l(n)) : (t.consume(n), u);
37
+ }
38
+ function d(e) {
39
+ return e === 96 ? (t.consume(e), a++, d) : a === i ? (t.exit("codeTextSequence"), t.exit("codeText"), n(e)) : (o.type = "codeTextData", u(e));
40
+ }
41
+ }
42
+ export { t as codeText };
@@ -0,0 +1,46 @@
1
+ import { factorySpace as e } from "../../micromark-factory-space@2.1.0/index.mjs";
2
+ import { markdownLineEnding as t } from "../../micromark-util-character@2.1.1/index.mjs";
3
+ import { subtokenize as n } from "../../micromark-util-subtokenize@2.1.0/index.mjs";
4
+ // ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/content.js
5
+ var r = {
6
+ resolve: a,
7
+ tokenize: o
8
+ }, i = {
9
+ partial: !0,
10
+ tokenize: s
11
+ };
12
+ function a(e) {
13
+ return n(e), e;
14
+ }
15
+ function o(e, n) {
16
+ let r;
17
+ return a;
18
+ function a(t) {
19
+ return e.enter("content"), r = e.enter("chunkContent", { contentType: "content" }), o(t);
20
+ }
21
+ function o(n) {
22
+ return n === null ? s(n) : t(n) ? e.check(i, c, s)(n) : (e.consume(n), o);
23
+ }
24
+ function s(t) {
25
+ return e.exit("chunkContent"), e.exit("content"), n(t);
26
+ }
27
+ function c(t) {
28
+ return e.consume(t), e.exit("chunkContent"), r.next = e.enter("chunkContent", {
29
+ contentType: "content",
30
+ previous: r
31
+ }), r = r.next, o;
32
+ }
33
+ }
34
+ function s(n, r, i) {
35
+ let a = this;
36
+ return o;
37
+ function o(t) {
38
+ return n.exit("chunkContent"), n.enter("lineEnding"), n.consume(t), n.exit("lineEnding"), e(n, s, "linePrefix");
39
+ }
40
+ function s(e) {
41
+ if (e === null || t(e)) return i(e);
42
+ let o = a.events[a.events.length - 1];
43
+ return !a.parser.constructs.disable.null.includes("codeIndented") && o && o[1].type === "linePrefix" && o[2].sliceSerialize(o[1], !0).length >= 4 ? r(e) : n.interrupt(a.parser.constructs.flow, i, r)(e);
44
+ }
45
+ }
46
+ export { r as content };
@@ -0,0 +1,59 @@
1
+ import { factoryDestination as e } from "../../micromark-factory-destination@2.0.1/index.mjs";
2
+ import { factoryLabel as t } from "../../micromark-factory-label@2.0.1/index.mjs";
3
+ import { factorySpace as n } from "../../micromark-factory-space@2.1.0/index.mjs";
4
+ import { factoryTitle as r } from "../../micromark-factory-title@2.0.1/index.mjs";
5
+ import { factoryWhitespace as i } from "../../micromark-factory-whitespace@2.0.1/index.mjs";
6
+ import { markdownLineEnding as a, markdownLineEndingOrSpace as o, markdownSpace as s } from "../../micromark-util-character@2.1.1/index.mjs";
7
+ import { normalizeIdentifier as c } from "../../micromark-util-normalize-identifier@2.0.1/index.mjs";
8
+ // ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/definition.js
9
+ var l = {
10
+ name: "definition",
11
+ tokenize: d
12
+ }, u = {
13
+ partial: !0,
14
+ tokenize: f
15
+ };
16
+ function d(r, l, d) {
17
+ let f = this, p;
18
+ return m;
19
+ function m(e) {
20
+ return r.enter("definition"), h(e);
21
+ }
22
+ function h(e) {
23
+ return t.call(f, r, g, d, "definitionLabel", "definitionLabelMarker", "definitionLabelString")(e);
24
+ }
25
+ function g(e) {
26
+ return p = c(f.sliceSerialize(f.events[f.events.length - 1][1]).slice(1, -1)), e === 58 ? (r.enter("definitionMarker"), r.consume(e), r.exit("definitionMarker"), _) : d(e);
27
+ }
28
+ function _(e) {
29
+ return o(e) ? i(r, v)(e) : v(e);
30
+ }
31
+ function v(t) {
32
+ return e(r, y, d, "definitionDestination", "definitionDestinationLiteral", "definitionDestinationLiteralMarker", "definitionDestinationRaw", "definitionDestinationString")(t);
33
+ }
34
+ function y(e) {
35
+ return r.attempt(u, b, b)(e);
36
+ }
37
+ function b(e) {
38
+ return s(e) ? n(r, x, "whitespace")(e) : x(e);
39
+ }
40
+ function x(e) {
41
+ return e === null || a(e) ? (r.exit("definition"), f.parser.defined.push(p), l(e)) : d(e);
42
+ }
43
+ }
44
+ function f(e, t, c) {
45
+ return l;
46
+ function l(t) {
47
+ return o(t) ? i(e, u)(t) : c(t);
48
+ }
49
+ function u(t) {
50
+ return r(e, d, c, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(t);
51
+ }
52
+ function d(t) {
53
+ return s(t) ? n(e, f, "whitespace")(t) : f(t);
54
+ }
55
+ function f(e) {
56
+ return e === null || a(e) ? t(e) : c(e);
57
+ }
58
+ }
59
+ export { l as definition };
@@ -0,0 +1,16 @@
1
+ import { markdownLineEnding as e } from "../../micromark-util-character@2.1.1/index.mjs";
2
+ // ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/hard-break-escape.js
3
+ var t = {
4
+ name: "hardBreakEscape",
5
+ tokenize: n
6
+ };
7
+ function n(t, n, r) {
8
+ return i;
9
+ function i(e) {
10
+ return t.enter("hardBreakEscape"), t.consume(e), a;
11
+ }
12
+ function a(i) {
13
+ return e(i) ? (t.exit("hardBreakEscape"), n(i)) : r(i);
14
+ }
15
+ }
16
+ export { t as hardBreakEscape };
@@ -0,0 +1,70 @@
1
+ import { factorySpace as e } from "../../micromark-factory-space@2.1.0/index.mjs";
2
+ import { markdownLineEnding as t, markdownLineEndingOrSpace as n, markdownSpace as r } from "../../micromark-util-character@2.1.1/index.mjs";
3
+ import { splice as i } from "../../micromark-util-chunked@2.0.1/index.mjs";
4
+ // ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/heading-atx.js
5
+ var a = {
6
+ name: "headingAtx",
7
+ resolve: o,
8
+ tokenize: s
9
+ };
10
+ function o(e, t) {
11
+ let n = e.length - 2, r = 3;
12
+ if (e[r][1].type === "whitespace" && (r += 2), n - 2 > r && e[n][1].type === "whitespace" && (n -= 2), e[n][1].type === "atxHeadingSequence" && (r === n - 1 || n - 4 > r && e[n - 2][1].type === "whitespace") && (n -= r + 1 === n ? 2 : 4), n > r) {
13
+ let a = {
14
+ type: "atxHeadingText",
15
+ start: e[r][1].start,
16
+ end: e[n][1].end
17
+ }, o = {
18
+ type: "chunkText",
19
+ start: e[r][1].start,
20
+ end: e[n][1].end,
21
+ contentType: "text"
22
+ };
23
+ i(e, r, n - r + 1, [
24
+ [
25
+ "enter",
26
+ a,
27
+ t
28
+ ],
29
+ [
30
+ "enter",
31
+ o,
32
+ t
33
+ ],
34
+ [
35
+ "exit",
36
+ o,
37
+ t
38
+ ],
39
+ [
40
+ "exit",
41
+ a,
42
+ t
43
+ ]
44
+ ]);
45
+ }
46
+ return e;
47
+ }
48
+ function s(i, a, o) {
49
+ let s = 0;
50
+ return c;
51
+ function c(e) {
52
+ return i.enter("atxHeading"), l(e);
53
+ }
54
+ function l(e) {
55
+ return i.enter("atxHeadingSequence"), u(e);
56
+ }
57
+ function u(e) {
58
+ return e === 35 && s++ < 6 ? (i.consume(e), u) : e === null || n(e) ? (i.exit("atxHeadingSequence"), d(e)) : o(e);
59
+ }
60
+ function d(n) {
61
+ return n === 35 ? (i.enter("atxHeadingSequence"), f(n)) : n === null || t(n) ? (i.exit("atxHeading"), a(n)) : r(n) ? e(i, d, "whitespace")(n) : (i.enter("atxHeadingText"), p(n));
62
+ }
63
+ function f(e) {
64
+ return e === 35 ? (i.consume(e), f) : (i.exit("atxHeadingSequence"), d(e));
65
+ }
66
+ function p(e) {
67
+ return e === null || e === 35 || n(e) ? (i.exit("atxHeadingText"), d(e)) : (i.consume(e), p);
68
+ }
69
+ }
70
+ export { a as headingAtx };
@@ -0,0 +1,128 @@
1
+ import { asciiAlpha as e, asciiAlphanumeric as t, markdownLineEnding as n, markdownLineEndingOrSpace as r, markdownSpace as i } from "../../micromark-util-character@2.1.1/index.mjs";
2
+ import { htmlBlockNames as a, htmlRawNames as o } from "../../micromark-util-html-tag-name@2.0.1/index.mjs";
3
+ import { blankLine as s } from "./blank-line.mjs";
4
+ import { nonLazyContinuation as c } from "./partial-non-lazy-continuation.mjs";
5
+ // ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/html-flow.js
6
+ var l = {
7
+ concrete: !0,
8
+ name: "htmlFlow",
9
+ resolveTo: d,
10
+ tokenize: f
11
+ }, u = {
12
+ partial: !0,
13
+ tokenize: p
14
+ };
15
+ function d(e) {
16
+ let t = e.length;
17
+ for (; t-- && (e[t][0] !== "enter" || e[t][1].type !== "htmlFlow"););
18
+ return t > 1 && e[t - 2][1].type === "linePrefix" && (e[t][1].start = e[t - 2][1].start, e[t + 1][1].start = e[t - 2][1].start, e.splice(t - 2, 2)), e;
19
+ }
20
+ function f(s, l, d) {
21
+ let f = this, p, m, h, g, _;
22
+ return v;
23
+ function v(e) {
24
+ return y(e);
25
+ }
26
+ function y(e) {
27
+ return s.enter("htmlFlow"), s.enter("htmlFlowData"), s.consume(e), b;
28
+ }
29
+ function b(t) {
30
+ return t === 33 ? (s.consume(t), x) : t === 47 ? (s.consume(t), m = !0, w) : t === 63 ? (s.consume(t), p = 3, f.interrupt ? l : G) : e(t) ? (s.consume(t), h = String.fromCharCode(t), T) : d(t);
31
+ }
32
+ function x(t) {
33
+ return t === 45 ? (s.consume(t), p = 2, S) : t === 91 ? (s.consume(t), p = 5, g = 0, C) : e(t) ? (s.consume(t), p = 4, f.interrupt ? l : G) : d(t);
34
+ }
35
+ function S(e) {
36
+ return e === 45 ? (s.consume(e), f.interrupt ? l : G) : d(e);
37
+ }
38
+ function C(e) {
39
+ return e === "CDATA[".charCodeAt(g++) ? (s.consume(e), g === 6 ? f.interrupt ? l : L : C) : d(e);
40
+ }
41
+ function w(t) {
42
+ return e(t) ? (s.consume(t), h = String.fromCharCode(t), T) : d(t);
43
+ }
44
+ function T(e) {
45
+ if (e === null || e === 47 || e === 62 || r(e)) {
46
+ let t = e === 47, n = h.toLowerCase();
47
+ return !t && !m && o.includes(n) ? (p = 1, f.interrupt ? l(e) : L(e)) : a.includes(h.toLowerCase()) ? (p = 6, t ? (s.consume(e), E) : f.interrupt ? l(e) : L(e)) : (p = 7, f.interrupt && !f.parser.lazy[f.now().line] ? d(e) : m ? D(e) : O(e));
48
+ }
49
+ return e === 45 || t(e) ? (s.consume(e), h += String.fromCharCode(e), T) : d(e);
50
+ }
51
+ function E(e) {
52
+ return e === 62 ? (s.consume(e), f.interrupt ? l : L) : d(e);
53
+ }
54
+ function D(e) {
55
+ return i(e) ? (s.consume(e), D) : F(e);
56
+ }
57
+ function O(t) {
58
+ return t === 47 ? (s.consume(t), F) : t === 58 || t === 95 || e(t) ? (s.consume(t), k) : i(t) ? (s.consume(t), O) : F(t);
59
+ }
60
+ function k(e) {
61
+ return e === 45 || e === 46 || e === 58 || e === 95 || t(e) ? (s.consume(e), k) : A(e);
62
+ }
63
+ function A(e) {
64
+ return e === 61 ? (s.consume(e), j) : i(e) ? (s.consume(e), A) : O(e);
65
+ }
66
+ function j(e) {
67
+ return e === null || e === 60 || e === 61 || e === 62 || e === 96 ? d(e) : e === 34 || e === 39 ? (s.consume(e), _ = e, M) : i(e) ? (s.consume(e), j) : N(e);
68
+ }
69
+ function M(e) {
70
+ return e === _ ? (s.consume(e), _ = null, P) : e === null || n(e) ? d(e) : (s.consume(e), M);
71
+ }
72
+ function N(e) {
73
+ return e === null || e === 34 || e === 39 || e === 47 || e === 60 || e === 61 || e === 62 || e === 96 || r(e) ? A(e) : (s.consume(e), N);
74
+ }
75
+ function P(e) {
76
+ return e === 47 || e === 62 || i(e) ? O(e) : d(e);
77
+ }
78
+ function F(e) {
79
+ return e === 62 ? (s.consume(e), I) : d(e);
80
+ }
81
+ function I(e) {
82
+ return e === null || n(e) ? L(e) : i(e) ? (s.consume(e), I) : d(e);
83
+ }
84
+ function L(e) {
85
+ return e === 45 && p === 2 ? (s.consume(e), V) : e === 60 && p === 1 ? (s.consume(e), H) : e === 62 && p === 4 ? (s.consume(e), K) : e === 63 && p === 3 ? (s.consume(e), G) : e === 93 && p === 5 ? (s.consume(e), W) : n(e) && (p === 6 || p === 7) ? (s.exit("htmlFlowData"), s.check(u, q, R)(e)) : e === null || n(e) ? (s.exit("htmlFlowData"), R(e)) : (s.consume(e), L);
86
+ }
87
+ function R(e) {
88
+ return s.check(c, z, q)(e);
89
+ }
90
+ function z(e) {
91
+ return s.enter("lineEnding"), s.consume(e), s.exit("lineEnding"), B;
92
+ }
93
+ function B(e) {
94
+ return e === null || n(e) ? R(e) : (s.enter("htmlFlowData"), L(e));
95
+ }
96
+ function V(e) {
97
+ return e === 45 ? (s.consume(e), G) : L(e);
98
+ }
99
+ function H(e) {
100
+ return e === 47 ? (s.consume(e), h = "", U) : L(e);
101
+ }
102
+ function U(t) {
103
+ if (t === 62) {
104
+ let e = h.toLowerCase();
105
+ return o.includes(e) ? (s.consume(t), K) : L(t);
106
+ }
107
+ return e(t) && h.length < 8 ? (s.consume(t), h += String.fromCharCode(t), U) : L(t);
108
+ }
109
+ function W(e) {
110
+ return e === 93 ? (s.consume(e), G) : L(e);
111
+ }
112
+ function G(e) {
113
+ return e === 62 ? (s.consume(e), K) : e === 45 && p === 2 ? (s.consume(e), G) : L(e);
114
+ }
115
+ function K(e) {
116
+ return e === null || n(e) ? (s.exit("htmlFlowData"), q(e)) : (s.consume(e), K);
117
+ }
118
+ function q(e) {
119
+ return s.exit("htmlFlow"), l(e);
120
+ }
121
+ }
122
+ function p(e, t, n) {
123
+ return r;
124
+ function r(r) {
125
+ return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), e.attempt(s, t, n);
126
+ }
127
+ }
128
+ export { l as htmlFlow };