markdown-flow-ui 0.3.4-dev.2 → 0.3.5

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 (1168) hide show
  1. package/README.md +8 -4
  2. package/dist/_virtual/{advancedFormat.es2.js → advancedFormat2.es.js} +1 -1
  3. package/dist/_virtual/advancedFormat2.es.js.map +1 -0
  4. package/dist/_virtual/core.cjs +1 -1
  5. package/dist/_virtual/core.es.js +1 -1
  6. package/dist/_virtual/{cose-base.es2.js → cose-base2.es.js} +1 -1
  7. package/dist/_virtual/cose-base2.es.js.map +1 -0
  8. package/dist/_virtual/{customParseFormat.es2.js → customParseFormat2.es.js} +1 -1
  9. package/dist/_virtual/customParseFormat2.es.js.map +1 -0
  10. package/dist/_virtual/cytoscape-cose-bilkent2.es.js +5 -0
  11. package/dist/_virtual/cytoscape-cose-bilkent2.es.js.map +1 -0
  12. package/dist/_virtual/{cytoscape-fcose.es2.js → cytoscape-fcose2.es.js} +1 -1
  13. package/dist/_virtual/cytoscape-fcose2.es.js.map +1 -0
  14. package/dist/_virtual/{dayjs.min2.cjs → dayjs2.min.cjs} +1 -1
  15. package/dist/_virtual/dayjs2.min.cjs.map +1 -0
  16. package/dist/_virtual/{dayjs.min.es2.js → dayjs2.min.es.js} +1 -1
  17. package/dist/_virtual/dayjs2.min.es.js.map +1 -0
  18. package/dist/_virtual/{duration.es2.js → duration2.es.js} +1 -1
  19. package/dist/_virtual/duration2.es.js.map +1 -0
  20. package/dist/_virtual/{index.es10.js → index10.es.js} +1 -1
  21. package/dist/_virtual/index10.es.js.map +1 -0
  22. package/dist/_virtual/{index.es11.js → index11.es.js} +1 -1
  23. package/dist/_virtual/index11.es.js.map +1 -0
  24. package/dist/_virtual/{index.es12.js → index12.es.js} +1 -1
  25. package/dist/_virtual/index12.es.js.map +1 -0
  26. package/dist/_virtual/{index.es9.js → index2.es.js} +1 -1
  27. package/dist/_virtual/index2.es.js.map +1 -0
  28. package/dist/_virtual/{index.es3.js → index3.es.js} +1 -1
  29. package/dist/_virtual/index3.es.js.map +1 -0
  30. package/dist/_virtual/{index.es4.js → index4.es.js} +1 -1
  31. package/dist/_virtual/index4.es.js.map +1 -0
  32. package/dist/_virtual/{index.es5.js → index5.es.js} +1 -1
  33. package/dist/_virtual/index5.es.js.map +1 -0
  34. package/dist/_virtual/{index.es6.js → index6.es.js} +1 -1
  35. package/dist/_virtual/index6.es.js.map +1 -0
  36. package/dist/_virtual/{index.es7.js → index7.es.js} +1 -1
  37. package/dist/_virtual/index7.es.js.map +1 -0
  38. package/dist/_virtual/{index.es8.js → index8.es.js} +1 -1
  39. package/dist/_virtual/index8.es.js.map +1 -0
  40. package/dist/_virtual/{index.es2.js → index9.es.js} +1 -1
  41. package/dist/_virtual/index9.es.js.map +1 -0
  42. package/dist/_virtual/{isoWeek.es2.js → isoWeek2.es.js} +1 -1
  43. package/dist/_virtual/isoWeek2.es.js.map +1 -0
  44. package/dist/_virtual/{layout-base.es2.js → layout-base2.es.js} +1 -1
  45. package/dist/_virtual/layout-base2.es.js.map +1 -0
  46. package/dist/components/ContentRender/ContentRender.cjs.map +1 -1
  47. package/dist/components/ContentRender/ContentRender.es.js.map +1 -1
  48. package/dist/components/ContentRender/IframeSandbox.es.js +1 -1
  49. package/dist/components/ContentRender/plugins/MermaidChart.cjs.map +1 -1
  50. package/dist/components/ContentRender/utils/video-markdown-run.es.js +2 -2
  51. package/dist/components/MarkdownFlow/ScrollToBottomControl.cjs +1 -1
  52. package/dist/components/MarkdownFlow/ScrollToBottomControl.cjs.map +1 -1
  53. package/dist/components/MarkdownFlow/ScrollToBottomControl.es.js +1 -1
  54. package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.cjs +1 -1
  55. package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.cjs.map +1 -1
  56. package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.es.js +6 -6
  57. package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.es.js.map +1 -1
  58. package/dist/components/MarkdownFlowEditor/components/EditorToolbar.cjs.map +1 -1
  59. package/dist/components/Slide/Slide.es.js +3 -3
  60. package/dist/components/ui/inputGroup/input-group.d.ts +1 -1
  61. package/dist/components/ui/inputGroup/textarea.es.js +1 -1
  62. package/dist/components/ui/tooltip.cjs +1 -1
  63. package/dist/components/ui/tooltip.cjs.map +1 -1
  64. package/dist/components/ui/tooltip.es.js +12 -12
  65. package/dist/index.cjs +1 -1
  66. package/dist/index.es.js +3 -3
  67. package/dist/markdown-flow-ui-lib.css +2 -2
  68. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +1 -1
  69. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs.map +1 -1
  70. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.es.js +4 -4
  71. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.es.js.map +1 -1
  72. package/dist/node_modules/@braintree/sanitize-url/dist/index.es.js +1 -1
  73. package/dist/node_modules/@codemirror/autocomplete/dist/index.cjs +1 -1
  74. package/dist/node_modules/@codemirror/autocomplete/dist/index.cjs.map +1 -1
  75. package/dist/node_modules/@codemirror/autocomplete/dist/index.es.js +172 -159
  76. package/dist/node_modules/@codemirror/autocomplete/dist/index.es.js.map +1 -1
  77. package/dist/node_modules/@codemirror/commands/dist/index.cjs +1 -1
  78. package/dist/node_modules/@codemirror/commands/dist/index.cjs.map +1 -1
  79. package/dist/node_modules/@codemirror/commands/dist/index.es.js +376 -333
  80. package/dist/node_modules/@codemirror/commands/dist/index.es.js.map +1 -1
  81. package/dist/node_modules/@codemirror/lang-css/dist/index.es.js +3 -3
  82. package/dist/node_modules/@codemirror/lang-html/dist/index.cjs +1 -1
  83. package/dist/node_modules/@codemirror/lang-html/dist/index.cjs.map +1 -1
  84. package/dist/node_modules/@codemirror/lang-html/dist/index.es.js +238 -228
  85. package/dist/node_modules/@codemirror/lang-html/dist/index.es.js.map +1 -1
  86. package/dist/node_modules/@codemirror/lang-javascript/dist/index.cjs +4 -4
  87. package/dist/node_modules/@codemirror/lang-javascript/dist/index.cjs.map +1 -1
  88. package/dist/node_modules/@codemirror/lang-javascript/dist/index.es.js +62 -50
  89. package/dist/node_modules/@codemirror/lang-javascript/dist/index.es.js.map +1 -1
  90. package/dist/node_modules/@codemirror/lang-markdown/dist/index.cjs +1 -1
  91. package/dist/node_modules/@codemirror/lang-markdown/dist/index.cjs.map +1 -1
  92. package/dist/node_modules/@codemirror/lang-markdown/dist/index.es.js +237 -207
  93. package/dist/node_modules/@codemirror/lang-markdown/dist/index.es.js.map +1 -1
  94. package/dist/node_modules/@codemirror/language/dist/index.cjs +1 -1
  95. package/dist/node_modules/@codemirror/language/dist/index.cjs.map +1 -1
  96. package/dist/node_modules/@codemirror/language/dist/index.es.js +302 -296
  97. package/dist/node_modules/@codemirror/language/dist/index.es.js.map +1 -1
  98. package/dist/node_modules/@codemirror/lint/dist/index.cjs +1 -1
  99. package/dist/node_modules/@codemirror/lint/dist/index.cjs.map +1 -1
  100. package/dist/node_modules/@codemirror/lint/dist/index.es.js +281 -236
  101. package/dist/node_modules/@codemirror/lint/dist/index.es.js.map +1 -1
  102. package/dist/node_modules/@codemirror/search/dist/index.cjs +2 -2
  103. package/dist/node_modules/@codemirror/search/dist/index.cjs.map +1 -1
  104. package/dist/node_modules/@codemirror/search/dist/index.es.js +427 -454
  105. package/dist/node_modules/@codemirror/search/dist/index.es.js.map +1 -1
  106. package/dist/node_modules/@codemirror/state/dist/index.cjs +5 -5
  107. package/dist/node_modules/@codemirror/state/dist/index.cjs.map +1 -1
  108. package/dist/node_modules/@codemirror/state/dist/index.es.js +556 -509
  109. package/dist/node_modules/@codemirror/state/dist/index.es.js.map +1 -1
  110. package/dist/node_modules/@codemirror/view/dist/index.cjs +5 -5
  111. package/dist/node_modules/@codemirror/view/dist/index.cjs.map +1 -1
  112. package/dist/node_modules/@codemirror/view/dist/index.es.js +3982 -3507
  113. package/dist/node_modules/@codemirror/view/dist/index.es.js.map +1 -1
  114. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +1 -1
  115. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.cjs.map +1 -1
  116. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.es.js +288 -309
  117. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.es.js.map +1 -1
  118. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +1 -1
  119. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs.map +1 -1
  120. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js +244 -252
  121. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js.map +1 -1
  122. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +1 -1
  123. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs.map +1 -1
  124. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +1 -1
  125. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs.map +1 -1
  126. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.es.js +8 -8
  127. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.es.js.map +1 -1
  128. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js +47 -47
  129. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js.map +1 -1
  130. package/dist/node_modules/@lezer/common/dist/index.cjs +1 -1
  131. package/dist/node_modules/@lezer/common/dist/index.cjs.map +1 -1
  132. package/dist/node_modules/@lezer/common/dist/index.es.js +266 -253
  133. package/dist/node_modules/@lezer/common/dist/index.es.js.map +1 -1
  134. package/dist/node_modules/@lezer/css/dist/index.cjs +1 -1
  135. package/dist/node_modules/@lezer/css/dist/index.cjs.map +1 -1
  136. package/dist/node_modules/@lezer/css/dist/index.es.js +95 -87
  137. package/dist/node_modules/@lezer/css/dist/index.es.js.map +1 -1
  138. package/dist/node_modules/@lezer/highlight/dist/index.cjs +1 -1
  139. package/dist/node_modules/@lezer/highlight/dist/index.cjs.map +1 -1
  140. package/dist/node_modules/@lezer/highlight/dist/index.es.js +150 -139
  141. package/dist/node_modules/@lezer/highlight/dist/index.es.js.map +1 -1
  142. package/dist/node_modules/@lezer/html/dist/index.cjs +1 -1
  143. package/dist/node_modules/@lezer/html/dist/index.cjs.map +1 -1
  144. package/dist/node_modules/@lezer/html/dist/index.es.js +88 -95
  145. package/dist/node_modules/@lezer/html/dist/index.es.js.map +1 -1
  146. package/dist/node_modules/@lezer/javascript/dist/index.cjs +1 -1
  147. package/dist/node_modules/@lezer/javascript/dist/index.cjs.map +1 -1
  148. package/dist/node_modules/@lezer/javascript/dist/index.es.js +49 -49
  149. package/dist/node_modules/@lezer/javascript/dist/index.es.js.map +1 -1
  150. package/dist/node_modules/@lezer/lr/dist/index.cjs +1 -1
  151. package/dist/node_modules/@lezer/lr/dist/index.cjs.map +1 -1
  152. package/dist/node_modules/@lezer/lr/dist/index.es.js +148 -137
  153. package/dist/node_modules/@lezer/lr/dist/index.es.js.map +1 -1
  154. package/dist/node_modules/@lezer/markdown/dist/index.cjs +5 -5
  155. package/dist/node_modules/@lezer/markdown/dist/index.cjs.map +1 -1
  156. package/dist/node_modules/@lezer/markdown/dist/index.es.js +305 -269
  157. package/dist/node_modules/@lezer/markdown/dist/index.es.js.map +1 -1
  158. package/dist/node_modules/@marijn/find-cluster-break/src/index.cjs +1 -1
  159. package/dist/node_modules/@marijn/find-cluster-break/src/index.cjs.map +1 -1
  160. package/dist/node_modules/@marijn/find-cluster-break/src/index.es.js +31 -31
  161. package/dist/node_modules/@marijn/find-cluster-break/src/index.es.js.map +1 -1
  162. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7GRP2DOG.es.js +4 -3
  163. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7GRP2DOG.es.js.map +1 -1
  164. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2ZTRR5NV.es.js +1 -1
  165. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-3Z5EZCMW.es.js +1 -1
  166. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-5V3GS4D5.es.js +1 -1
  167. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6AZGARVD.es.js +1 -1
  168. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6EIED4P4.es.js +1 -1
  169. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6K3QC6MW.es.js +1 -1
  170. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6TQVIW2G.es.js +1 -1
  171. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-747NJXEK.es.js +1 -1
  172. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-I5DQTOEV.es.js +1 -1
  173. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ICYGCRZG.es.js +1 -1
  174. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-IH6LHLGP.es.js +1 -1
  175. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KI3K4JFJ.es.js +1 -1
  176. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-OUJLGHUK.es.js +1 -1
  177. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UY3FDG6J.es.js +1 -1
  178. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-XHIXRSVI.es.js +1 -1
  179. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/cynefin-OW5HDTMX.es.js +4 -3
  180. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/cynefin-OW5HDTMX.es.js.map +1 -1
  181. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/eventmodeling-NTZA5JFV.es.js +4 -3
  182. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/eventmodeling-NTZA5JFV.es.js.map +1 -1
  183. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-4MIJSDKK.es.js +3 -2
  184. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-4MIJSDKK.es.js.map +1 -1
  185. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-A6RAGUB7.es.js +4 -3
  186. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-A6RAGUB7.es.js.map +1 -1
  187. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-AYTQ26CC.es.js +4 -3
  188. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-AYTQ26CC.es.js.map +1 -1
  189. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-WAS4IAKB.es.js +4 -3
  190. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-WAS4IAKB.es.js.map +1 -1
  191. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-RG4KPBEZ.es.js +4 -3
  192. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-RG4KPBEZ.es.js.map +1 -1
  193. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-74A4TZTK.es.js +4 -3
  194. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-74A4TZTK.es.js.map +1 -1
  195. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-abnf-HS5TGJTU.es.js +4 -3
  196. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-abnf-HS5TGJTU.es.js.map +1 -1
  197. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-ebnf-LZEXJU2U.es.js +4 -3
  198. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-ebnf-LZEXJU2U.es.js.map +1 -1
  199. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-peg-WCYAUIDC.es.js +4 -3
  200. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-peg-WCYAUIDC.es.js.map +1 -1
  201. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-Q6P3EWNA.es.js +4 -3
  202. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-Q6P3EWNA.es.js.map +1 -1
  203. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-WGGIJYW6.es.js +4 -3
  204. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-WGGIJYW6.es.js.map +1 -1
  205. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-WFR3VGLG.es.js +4 -3
  206. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-WFR3VGLG.es.js.map +1 -1
  207. package/dist/node_modules/@radix-ui/primitive/dist/index.cjs +1 -1
  208. package/dist/node_modules/@radix-ui/primitive/dist/index.cjs.map +1 -1
  209. package/dist/node_modules/@radix-ui/primitive/dist/index.es.js +46 -6
  210. package/dist/node_modules/@radix-ui/primitive/dist/index.es.js.map +1 -1
  211. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +1 -1
  212. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +1 -1
  213. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +20 -16
  214. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +1 -1
  215. package/dist/node_modules/@radix-ui/react-context/dist/index.cjs +1 -1
  216. package/dist/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -1
  217. package/dist/node_modules/@radix-ui/react-context/dist/index.es.js +71 -43
  218. package/dist/node_modules/@radix-ui/react-context/dist/index.es.js.map +1 -1
  219. package/dist/node_modules/@radix-ui/react-dialog/dist/index.cjs +1 -1
  220. package/dist/node_modules/@radix-ui/react-dialog/dist/index.cjs.map +1 -1
  221. package/dist/node_modules/@radix-ui/react-dialog/dist/index.es.js +16 -16
  222. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +1 -1
  223. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -1
  224. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js +184 -96
  225. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +1 -1
  226. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +1 -1
  227. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -1
  228. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.es.js +3 -3
  229. package/dist/node_modules/@radix-ui/react-id/dist/index.cjs +1 -1
  230. package/dist/node_modules/@radix-ui/react-id/dist/index.cjs.map +1 -1
  231. package/dist/node_modules/@radix-ui/react-id/dist/index.es.js +10 -9
  232. package/dist/node_modules/@radix-ui/react-id/dist/index.es.js.map +1 -1
  233. package/dist/node_modules/@radix-ui/react-portal/dist/index.cjs +1 -1
  234. package/dist/node_modules/@radix-ui/react-portal/dist/index.cjs.map +1 -1
  235. package/dist/node_modules/@radix-ui/react-portal/dist/index.es.js +14 -12
  236. package/dist/node_modules/@radix-ui/react-portal/dist/index.es.js.map +1 -1
  237. package/dist/node_modules/@radix-ui/react-presence/dist/index.cjs +1 -1
  238. package/dist/node_modules/@radix-ui/react-presence/dist/index.cjs.map +1 -1
  239. package/dist/node_modules/@radix-ui/react-presence/dist/index.es.js +70 -37
  240. package/dist/node_modules/@radix-ui/react-presence/dist/index.es.js.map +1 -1
  241. package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs +1 -1
  242. package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -1
  243. package/dist/node_modules/@radix-ui/react-primitive/dist/index.es.js +16 -14
  244. package/dist/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -1
  245. package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -1
  246. package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
  247. package/dist/node_modules/@radix-ui/react-slot/dist/index.es.js +1 -1
  248. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs +1 -1
  249. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs.map +1 -1
  250. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.es.js +261 -250
  251. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.es.js.map +1 -1
  252. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/primitive/dist/index.cjs.map +1 -0
  253. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/primitive/dist/index.es.js.map +1 -0
  254. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.cjs +2 -0
  255. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +1 -0
  256. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.es.js +25 -0
  257. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.es.js.map +1 -0
  258. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -0
  259. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-context/dist/index.es.js.map +1 -0
  260. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +2 -0
  261. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -0
  262. package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js +1 -1
  263. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +1 -0
  264. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +2 -0
  265. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -0
  266. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.es.js +105 -0
  267. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.es.js.map +1 -0
  268. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.cjs +2 -0
  269. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.cjs.map +1 -0
  270. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.es.js +271 -0
  271. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.es.js.map +1 -0
  272. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal/dist/index.cjs +2 -0
  273. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal/dist/index.cjs.map +1 -0
  274. package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-portal/dist/index.es.js +1 -1
  275. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal/dist/index.es.js.map +1 -0
  276. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.cjs +2 -0
  277. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -0
  278. package/dist/node_modules/@radix-ui/{react-focus-scope → react-tooltip}/node_modules/@radix-ui/react-primitive/dist/index.es.js +1 -1
  279. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -0
  280. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -1
  281. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
  282. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.es.js +94 -7
  283. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -1
  284. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +2 -0
  285. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +1 -0
  286. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +16 -0
  287. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +1 -0
  288. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +2 -0
  289. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +1 -0
  290. package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js +2 -2
  291. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +1 -0
  292. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +1 -1
  293. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +1 -1
  294. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +8 -6
  295. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +1 -1
  296. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +1 -1
  297. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +1 -1
  298. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js +56 -39
  299. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +1 -1
  300. package/dist/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs.map +1 -0
  301. package/dist/node_modules/@radix-ui/react-use-effect-event/dist/index.es.js.map +1 -0
  302. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.map +1 -1
  303. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +1 -1
  304. package/dist/node_modules/@radix-ui/react-use-size/dist/index.cjs +1 -1
  305. package/dist/node_modules/@radix-ui/react-use-size/dist/index.cjs.map +1 -1
  306. package/dist/node_modules/@radix-ui/react-use-size/dist/index.es.js +28 -21
  307. package/dist/node_modules/@radix-ui/react-use-size/dist/index.es.js.map +1 -1
  308. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +1 -1
  309. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs.map +1 -1
  310. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js +15 -15
  311. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js.map +1 -1
  312. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.cjs +2 -0
  313. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -0
  314. package/dist/node_modules/@radix-ui/{react-dialog → react-visually-hidden}/node_modules/@radix-ui/react-primitive/dist/index.es.js +1 -1
  315. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -0
  316. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.cjs +2 -0
  317. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -0
  318. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.es.js +99 -0
  319. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -0
  320. package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.cjs +1 -1
  321. package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.cjs.map +1 -1
  322. package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.es.js +11 -13
  323. package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.es.js.map +1 -1
  324. package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.cjs +1 -1
  325. package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.cjs.map +1 -1
  326. package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.es.js +20 -27
  327. package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.es.js.map +1 -1
  328. package/dist/node_modules/@uiw/react-codemirror/esm/index.cjs +1 -1
  329. package/dist/node_modules/@uiw/react-codemirror/esm/index.cjs.map +1 -1
  330. package/dist/node_modules/@uiw/react-codemirror/esm/index.es.js +51 -80
  331. package/dist/node_modules/@uiw/react-codemirror/esm/index.es.js.map +1 -1
  332. package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.cjs +2 -0
  333. package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.cjs.map +1 -0
  334. package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.es.js +33 -0
  335. package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.es.js.map +1 -0
  336. package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.cjs +1 -1
  337. package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.cjs.map +1 -1
  338. package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.es.js +64 -98
  339. package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.es.js.map +1 -1
  340. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.cjs +1 -1
  341. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.cjs.map +1 -1
  342. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.es.js +65 -42
  343. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.es.js.map +1 -1
  344. package/dist/node_modules/@ungap/structured-clone/esm/serialize.cjs +1 -1
  345. package/dist/node_modules/@ungap/structured-clone/esm/serialize.cjs.map +1 -1
  346. package/dist/node_modules/@ungap/structured-clone/esm/serialize.es.js +62 -58
  347. package/dist/node_modules/@ungap/structured-clone/esm/serialize.es.js.map +1 -1
  348. package/dist/node_modules/classnames/index.es.js +1 -1
  349. package/dist/node_modules/clsx/dist/clsx.cjs +1 -1
  350. package/dist/node_modules/clsx/dist/clsx.cjs.map +1 -1
  351. package/dist/node_modules/clsx/dist/clsx.es.js +7 -8
  352. package/dist/node_modules/clsx/dist/clsx.es.js.map +1 -1
  353. package/dist/node_modules/cose-base/cose-base.es.js +1 -1
  354. package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.es.js +1 -1
  355. package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.es.js +1 -1
  356. package/dist/node_modules/d3-color/src/lab.cjs +1 -1
  357. package/dist/node_modules/d3-color/src/lab.cjs.map +1 -1
  358. package/dist/node_modules/d3-color/src/lab.es.js +4 -5
  359. package/dist/node_modules/d3-format/src/defaultLocale.cjs +1 -1
  360. package/dist/node_modules/d3-format/src/defaultLocale.cjs.map +1 -1
  361. package/dist/node_modules/d3-format/src/defaultLocale.es.js +3 -4
  362. package/dist/node_modules/d3-time-format/src/defaultLocale.cjs +1 -1
  363. package/dist/node_modules/d3-time-format/src/defaultLocale.cjs.map +1 -1
  364. package/dist/node_modules/d3-time-format/src/defaultLocale.es.js +2 -3
  365. package/dist/node_modules/d3-time-format/src/locale.es.js +14 -14
  366. package/dist/node_modules/d3-transition/src/selection/transition.cjs +1 -1
  367. package/dist/node_modules/d3-transition/src/selection/transition.es.js +4 -4
  368. package/dist/node_modules/d3-transition/src/transition/interpolate.cjs +1 -1
  369. package/dist/node_modules/d3-transition/src/transition/interpolate.es.js +3 -3
  370. package/dist/node_modules/dagre-d3-es/src/dagre/layout.cjs +1 -1
  371. package/dist/node_modules/dagre-d3-es/src/dagre/layout.es.js +7 -7
  372. package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.cjs +1 -1
  373. package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.es.js +4 -4
  374. package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.cjs +1 -1
  375. package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.es.js +14 -14
  376. package/dist/node_modules/dagre-d3-es/src/dagre/util.cjs +1 -1
  377. package/dist/node_modules/dagre-d3-es/src/dagre/util.es.js +7 -7
  378. package/dist/node_modules/dayjs/dayjs.min.cjs +1 -1
  379. package/dist/node_modules/dayjs/dayjs.min.es.js +1 -1
  380. package/dist/node_modules/dayjs/plugin/advancedFormat.es.js +1 -1
  381. package/dist/node_modules/dayjs/plugin/customParseFormat.es.js +1 -1
  382. package/dist/node_modules/dayjs/plugin/duration.es.js +1 -1
  383. package/dist/node_modules/dayjs/plugin/isoWeek.es.js +1 -1
  384. package/dist/node_modules/decode-named-character-reference/index.dom.cjs.map +1 -1
  385. package/dist/node_modules/decode-named-character-reference/index.dom.es.js +1 -5
  386. package/dist/node_modules/decode-named-character-reference/index.dom.es.js.map +1 -1
  387. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.es.js +1 -1
  388. package/dist/node_modules/hast-util-to-parse5/lib/index.cjs +1 -1
  389. package/dist/node_modules/hast-util-to-parse5/lib/index.cjs.map +1 -1
  390. package/dist/node_modules/hast-util-to-parse5/lib/index.es.js +2 -2
  391. package/dist/node_modules/hast-util-to-parse5/lib/index.es.js.map +1 -1
  392. package/dist/node_modules/hast-util-to-text/lib/index.cjs +3 -3
  393. package/dist/node_modules/hast-util-to-text/lib/index.cjs.map +1 -1
  394. package/dist/node_modules/hast-util-to-text/lib/index.es.js +136 -84
  395. package/dist/node_modules/hast-util-to-text/lib/index.es.js.map +1 -1
  396. package/dist/node_modules/highlight.js/es/languages/c.cjs +1 -1
  397. package/dist/node_modules/highlight.js/es/languages/c.cjs.map +1 -1
  398. package/dist/node_modules/highlight.js/es/languages/c.es.js +122 -63
  399. package/dist/node_modules/highlight.js/es/languages/c.es.js.map +1 -1
  400. package/dist/node_modules/highlight.js/es/languages/cpp.cjs +1 -1
  401. package/dist/node_modules/highlight.js/es/languages/cpp.cjs.map +1 -1
  402. package/dist/node_modules/highlight.js/es/languages/cpp.es.js +65 -48
  403. package/dist/node_modules/highlight.js/es/languages/cpp.es.js.map +1 -1
  404. package/dist/node_modules/highlight.js/es/languages/css.cjs +1 -1
  405. package/dist/node_modules/highlight.js/es/languages/css.cjs.map +1 -1
  406. package/dist/node_modules/highlight.js/es/languages/css.es.js +17 -6
  407. package/dist/node_modules/highlight.js/es/languages/css.es.js.map +1 -1
  408. package/dist/node_modules/highlight.js/es/languages/go.cjs +1 -1
  409. package/dist/node_modules/highlight.js/es/languages/go.cjs.map +1 -1
  410. package/dist/node_modules/highlight.js/es/languages/go.es.js +7 -2
  411. package/dist/node_modules/highlight.js/es/languages/go.es.js.map +1 -1
  412. package/dist/node_modules/highlight.js/es/languages/java.cjs +1 -1
  413. package/dist/node_modules/highlight.js/es/languages/java.cjs.map +1 -1
  414. package/dist/node_modules/highlight.js/es/languages/java.es.js +48 -39
  415. package/dist/node_modules/highlight.js/es/languages/java.es.js.map +1 -1
  416. package/dist/node_modules/highlight.js/es/languages/javascript.cjs +1 -1
  417. package/dist/node_modules/highlight.js/es/languages/javascript.cjs.map +1 -1
  418. package/dist/node_modules/highlight.js/es/languages/javascript.es.js +4 -2
  419. package/dist/node_modules/highlight.js/es/languages/javascript.es.js.map +1 -1
  420. package/dist/node_modules/highlight.js/es/languages/json.cjs +1 -1
  421. package/dist/node_modules/highlight.js/es/languages/json.cjs.map +1 -1
  422. package/dist/node_modules/highlight.js/es/languages/json.es.js +15 -9
  423. package/dist/node_modules/highlight.js/es/languages/json.es.js.map +1 -1
  424. package/dist/node_modules/highlight.js/es/languages/lua.cjs +1 -1
  425. package/dist/node_modules/highlight.js/es/languages/lua.cjs.map +1 -1
  426. package/dist/node_modules/highlight.js/es/languages/lua.es.js +1 -1
  427. package/dist/node_modules/highlight.js/es/languages/lua.es.js.map +1 -1
  428. package/dist/node_modules/highlight.js/es/languages/markdown.cjs +1 -1
  429. package/dist/node_modules/highlight.js/es/languages/markdown.cjs.map +1 -1
  430. package/dist/node_modules/highlight.js/es/languages/markdown.es.js +9 -10
  431. package/dist/node_modules/highlight.js/es/languages/markdown.es.js.map +1 -1
  432. package/dist/node_modules/highlight.js/es/languages/php.cjs +2 -2
  433. package/dist/node_modules/highlight.js/es/languages/php.cjs.map +1 -1
  434. package/dist/node_modules/highlight.js/es/languages/php.es.js +39 -33
  435. package/dist/node_modules/highlight.js/es/languages/php.es.js.map +1 -1
  436. package/dist/node_modules/highlight.js/es/languages/python.cjs +1 -1
  437. package/dist/node_modules/highlight.js/es/languages/python.cjs.map +1 -1
  438. package/dist/node_modules/highlight.js/es/languages/python.es.js +20 -15
  439. package/dist/node_modules/highlight.js/es/languages/python.es.js.map +1 -1
  440. package/dist/node_modules/highlight.js/es/languages/rust.cjs +1 -1
  441. package/dist/node_modules/highlight.js/es/languages/rust.cjs.map +1 -1
  442. package/dist/node_modules/highlight.js/es/languages/rust.es.js +40 -26
  443. package/dist/node_modules/highlight.js/es/languages/rust.es.js.map +1 -1
  444. package/dist/node_modules/highlight.js/es/languages/scss.cjs +1 -1
  445. package/dist/node_modules/highlight.js/es/languages/scss.cjs.map +1 -1
  446. package/dist/node_modules/highlight.js/es/languages/scss.es.js +36 -25
  447. package/dist/node_modules/highlight.js/es/languages/scss.es.js.map +1 -1
  448. package/dist/node_modules/highlight.js/es/languages/shell.cjs +1 -1
  449. package/dist/node_modules/highlight.js/es/languages/shell.cjs.map +1 -1
  450. package/dist/node_modules/highlight.js/es/languages/shell.es.js +1 -1
  451. package/dist/node_modules/highlight.js/es/languages/shell.es.js.map +1 -1
  452. package/dist/node_modules/highlight.js/es/languages/typescript.cjs +1 -1
  453. package/dist/node_modules/highlight.js/es/languages/typescript.cjs.map +1 -1
  454. package/dist/node_modules/highlight.js/es/languages/typescript.es.js +4 -2
  455. package/dist/node_modules/highlight.js/es/languages/typescript.es.js.map +1 -1
  456. package/dist/node_modules/highlight.js/es/languages/xml.cjs +1 -1
  457. package/dist/node_modules/highlight.js/es/languages/xml.cjs.map +1 -1
  458. package/dist/node_modules/highlight.js/es/languages/xml.es.js +9 -16
  459. package/dist/node_modules/highlight.js/es/languages/xml.es.js.map +1 -1
  460. package/dist/node_modules/inline-style-parser/cjs/index.cjs +3 -0
  461. package/dist/node_modules/inline-style-parser/cjs/index.cjs.map +1 -0
  462. package/dist/node_modules/inline-style-parser/{index.es.js → cjs/index.es.js} +24 -24
  463. package/dist/node_modules/inline-style-parser/cjs/index.es.js.map +1 -0
  464. package/dist/node_modules/layout-base/layout-base.es.js +1 -1
  465. package/dist/node_modules/lowlight/lib/common.cjs +1 -1
  466. package/dist/node_modules/lowlight/lib/common.cjs.map +1 -1
  467. package/dist/node_modules/lowlight/lib/common.es.js +37 -37
  468. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.cjs +1 -1
  469. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.es.js +1 -1
  470. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/arduino.cjs +2 -0
  471. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/arduino.cjs.map +1 -0
  472. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/arduino.es.js +10 -14
  473. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/arduino.es.js.map +1 -0
  474. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.cjs +2 -0
  475. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.cjs.map +1 -0
  476. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.es.js +378 -0
  477. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.es.js.map +1 -0
  478. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.cjs +2 -0
  479. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.cjs.map +1 -0
  480. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.es.js +278 -0
  481. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.es.js.map +1 -0
  482. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.cjs +2 -0
  483. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.cjs.map +1 -0
  484. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.es.js +518 -0
  485. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.es.js.map +1 -0
  486. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/csharp.cjs +2 -0
  487. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/csharp.cjs.map +1 -0
  488. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/csharp.es.js +1 -1
  489. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/csharp.es.js.map +1 -0
  490. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.cjs +2 -0
  491. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.cjs.map +1 -0
  492. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.es.js +930 -0
  493. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.es.js.map +1 -0
  494. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/diff.cjs +2 -0
  495. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/diff.cjs.map +1 -0
  496. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/diff.es.js +10 -3
  497. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/diff.es.js.map +1 -0
  498. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.cjs +2 -0
  499. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.cjs.map +1 -0
  500. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.es.js +152 -0
  501. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.es.js.map +1 -0
  502. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/graphql.cjs.map +1 -0
  503. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/graphql.es.js.map +1 -0
  504. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ini.cjs.map +1 -0
  505. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ini.es.js.map +1 -0
  506. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.cjs +2 -0
  507. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.cjs.map +1 -0
  508. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.es.js +241 -0
  509. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.es.js.map +1 -0
  510. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.cjs +2 -0
  511. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.cjs.map +1 -0
  512. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.es.js +660 -0
  513. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.es.js.map +1 -0
  514. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.cjs +2 -0
  515. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.cjs.map +1 -0
  516. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.es.js +45 -0
  517. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.es.js.map +1 -0
  518. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/kotlin.cjs.map +1 -0
  519. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/kotlin.es.js.map +1 -0
  520. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/less.cjs +2 -0
  521. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/less.cjs.map +1 -0
  522. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/less.es.js +10 -4
  523. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/less.es.js.map +1 -0
  524. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.cjs +2 -0
  525. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.cjs.map +1 -0
  526. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.es.js +60 -0
  527. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.es.js.map +1 -0
  528. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/makefile.cjs.map +1 -0
  529. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/makefile.es.js.map +1 -0
  530. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.cjs +2 -0
  531. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.cjs.map +1 -0
  532. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.es.js +217 -0
  533. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.es.js.map +1 -0
  534. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/objectivec.cjs.map +1 -0
  535. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/objectivec.es.js.map +1 -0
  536. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/perl.cjs.map +1 -0
  537. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/perl.es.js.map +1 -0
  538. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php-template.cjs.map +1 -0
  539. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php-template.es.js.map +1 -0
  540. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.cjs +3 -0
  541. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.cjs.map +1 -0
  542. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.es.js +573 -0
  543. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.es.js.map +1 -0
  544. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.cjs +2 -0
  545. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.cjs.map +1 -0
  546. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.es.js +14 -0
  547. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.es.js.map +1 -0
  548. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python-repl.cjs.map +1 -0
  549. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python-repl.es.js.map +1 -0
  550. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.cjs +2 -0
  551. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.cjs.map +1 -0
  552. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.es.js +400 -0
  553. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.es.js.map +1 -0
  554. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/r.cjs.map +1 -0
  555. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/r.es.js.map +1 -0
  556. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ruby.cjs.map +1 -0
  557. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ruby.es.js.map +1 -0
  558. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.cjs +2 -0
  559. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.cjs.map +1 -0
  560. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.es.js +306 -0
  561. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.es.js.map +1 -0
  562. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.cjs +2 -0
  563. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.cjs.map +1 -0
  564. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.es.js +915 -0
  565. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.es.js.map +1 -0
  566. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.cjs +2 -0
  567. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.cjs.map +1 -0
  568. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.es.js +26 -0
  569. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.es.js.map +1 -0
  570. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.cjs +2 -0
  571. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.cjs.map +1 -0
  572. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.es.js +616 -0
  573. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.es.js.map +1 -0
  574. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/swift.cjs.map +1 -0
  575. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/swift.es.js.map +1 -0
  576. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.cjs +2 -0
  577. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.cjs.map +1 -0
  578. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.es.js +755 -0
  579. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.es.js.map +1 -0
  580. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/vbnet.cjs.map +1 -0
  581. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/vbnet.es.js.map +1 -0
  582. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/wasm.cjs.map +1 -0
  583. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/wasm.es.js.map +1 -0
  584. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.cjs +2 -0
  585. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.cjs.map +1 -0
  586. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.es.js +220 -0
  587. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.es.js.map +1 -0
  588. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.cjs +2 -0
  589. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.cjs.map +1 -0
  590. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.es.js +184 -0
  591. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.es.js.map +1 -0
  592. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/lib/core.cjs +3 -3
  593. package/dist/node_modules/lowlight/node_modules/highlight.js/lib/core.cjs.map +1 -0
  594. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/lib/core.es.js +66 -66
  595. package/dist/node_modules/lowlight/node_modules/highlight.js/lib/core.es.js.map +1 -0
  596. package/dist/node_modules/lucide-react/dist/esm/Icon.es.js +3 -3
  597. package/dist/node_modules/mdast-util-find-and-replace/lib/index.cjs +1 -1
  598. package/dist/node_modules/mdast-util-find-and-replace/lib/index.cjs.map +1 -1
  599. package/dist/node_modules/mdast-util-find-and-replace/lib/index.es.js +58 -56
  600. package/dist/node_modules/mdast-util-find-and-replace/lib/index.es.js.map +1 -1
  601. package/dist/node_modules/mdast-util-from-markdown/lib/index.cjs +1 -1
  602. package/dist/node_modules/mdast-util-from-markdown/lib/index.cjs.map +1 -1
  603. package/dist/node_modules/mdast-util-from-markdown/lib/index.es.js +274 -223
  604. package/dist/node_modules/mdast-util-from-markdown/lib/index.es.js.map +1 -1
  605. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.cjs +1 -1
  606. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.cjs.map +1 -1
  607. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.es.js +21 -17
  608. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.es.js.map +1 -1
  609. package/dist/node_modules/mdast-util-to-hast/lib/footer.cjs.map +1 -1
  610. package/dist/node_modules/mdast-util-to-hast/lib/footer.es.js.map +1 -1
  611. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.cjs.map +1 -1
  612. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.es.js.map +1 -1
  613. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.cjs.map +1 -1
  614. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.es.js.map +1 -1
  615. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.cjs +2 -2
  616. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.cjs.map +1 -1
  617. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.es.js +7 -7
  618. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.es.js.map +1 -1
  619. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.cjs.map +1 -1
  620. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.es.js.map +1 -1
  621. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.cjs.map +1 -1
  622. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.es.js.map +1 -1
  623. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.cjs.map +1 -1
  624. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.es.js.map +1 -1
  625. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.cjs.map +1 -1
  626. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.es.js.map +1 -1
  627. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.cjs.map +1 -1
  628. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.es.js.map +1 -1
  629. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.cjs.map +1 -1
  630. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.es.js.map +1 -1
  631. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.cjs.map +1 -1
  632. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.es.js.map +1 -1
  633. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.cjs.map +1 -1
  634. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.es.js.map +1 -1
  635. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.cjs.map +1 -1
  636. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.es.js.map +1 -1
  637. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.cjs.map +1 -1
  638. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.es.js.map +1 -1
  639. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.cjs.map +1 -1
  640. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.es.js.map +1 -1
  641. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.cjs.map +1 -1
  642. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.es.js.map +1 -1
  643. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.cjs.map +1 -1
  644. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.es.js.map +1 -1
  645. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.cjs.map +1 -1
  646. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.es.js.map +1 -1
  647. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.cjs.map +1 -1
  648. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.es.js.map +1 -1
  649. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.cjs.map +1 -1
  650. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.es.js.map +1 -1
  651. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.cjs.map +1 -1
  652. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.es.js.map +1 -1
  653. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.cjs.map +1 -1
  654. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.es.js.map +1 -1
  655. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.cjs.map +1 -1
  656. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.es.js.map +1 -1
  657. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.cjs.map +1 -1
  658. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.es.js.map +1 -1
  659. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.cjs.map +1 -1
  660. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.es.js.map +1 -1
  661. package/dist/node_modules/mdast-util-to-hast/lib/index.cjs.map +1 -1
  662. package/dist/node_modules/mdast-util-to-hast/lib/index.es.js.map +1 -1
  663. package/dist/node_modules/mdast-util-to-hast/lib/revert.cjs.map +1 -1
  664. package/dist/node_modules/mdast-util-to-hast/lib/revert.es.js.map +1 -1
  665. package/dist/node_modules/mdast-util-to-hast/lib/state.cjs.map +1 -1
  666. package/dist/node_modules/mdast-util-to-hast/lib/state.es.js.map +1 -1
  667. package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.cjs.map +1 -1
  668. package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.es.js.map +1 -1
  669. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.cjs +3 -3
  670. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.cjs.map +1 -1
  671. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.es.js +9 -7
  672. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.es.js.map +1 -1
  673. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.cjs +2 -2
  674. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.cjs.map +1 -1
  675. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.es.js +6 -6
  676. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.es.js.map +1 -1
  677. package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.cjs.map +1 -1
  678. package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.es.js.map +1 -1
  679. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.cjs +1 -1
  680. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.cjs.map +1 -1
  681. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.es.js +17 -29
  682. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.es.js.map +1 -1
  683. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.cjs +5 -5
  684. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.cjs.map +1 -1
  685. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.es.js +12 -11
  686. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.es.js.map +1 -1
  687. package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.cjs.map +1 -1
  688. package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.es.js.map +1 -1
  689. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.cjs +1 -1
  690. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.cjs.map +1 -1
  691. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.es.js +14 -12
  692. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.es.js.map +1 -1
  693. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.cjs.map +1 -1
  694. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.es.js.map +1 -1
  695. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.cjs +1 -1
  696. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.cjs.map +1 -1
  697. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.es.js +6 -6
  698. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.es.js.map +1 -1
  699. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.cjs +1 -1
  700. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.cjs.map +1 -1
  701. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.es.js +15 -13
  702. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.es.js.map +1 -1
  703. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.cjs +2 -1
  704. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.cjs.map +1 -1
  705. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.es.js +42 -32
  706. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.es.js.map +1 -1
  707. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.cjs.map +1 -1
  708. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.es.js.map +1 -1
  709. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.cjs.map +1 -1
  710. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.es.js.map +1 -1
  711. package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.cjs.map +1 -1
  712. package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.es.js.map +1 -1
  713. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.cjs +1 -1
  714. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.cjs.map +1 -1
  715. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.es.js +8 -6
  716. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.es.js.map +1 -1
  717. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.cjs +1 -1
  718. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.cjs.map +1 -1
  719. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.es.js +17 -29
  720. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.es.js.map +1 -1
  721. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.cjs +1 -1
  722. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.cjs.map +1 -1
  723. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.es.js +8 -3
  724. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.es.js.map +1 -1
  725. package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.cjs.map +1 -1
  726. package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.es.js.map +1 -1
  727. package/dist/node_modules/mdast-util-to-markdown/lib/util/character.cjs +2 -0
  728. package/dist/node_modules/mdast-util-to-markdown/lib/util/character.cjs.map +1 -0
  729. package/dist/node_modules/mdast-util-to-markdown/lib/util/character.es.js +13 -0
  730. package/dist/node_modules/mdast-util-to-markdown/lib/util/character.es.js.map +1 -0
  731. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.cjs.map +1 -1
  732. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.es.js.map +1 -1
  733. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.cjs.map +1 -1
  734. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.es.js.map +1 -1
  735. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.cjs.map +1 -1
  736. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.es.js.map +1 -1
  737. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.cjs.map +1 -1
  738. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.es.js.map +1 -1
  739. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.cjs.map +1 -1
  740. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.es.js.map +1 -1
  741. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.cjs.map +1 -1
  742. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.es.js.map +1 -1
  743. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.cjs.map +1 -1
  744. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.es.js.map +1 -1
  745. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.cjs.map +1 -1
  746. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.es.js.map +1 -1
  747. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.cjs.map +1 -1
  748. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.es.js.map +1 -1
  749. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.cjs.map +1 -1
  750. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.es.js.map +1 -1
  751. package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.cjs +4 -0
  752. package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.cjs.map +1 -0
  753. package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.es.js +263 -0
  754. package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.es.js.map +1 -0
  755. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.cjs.map +1 -1
  756. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.es.js.map +1 -1
  757. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.cjs +1 -1
  758. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.cjs.map +1 -1
  759. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.es.js +2 -2
  760. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.es.js.map +1 -1
  761. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.cjs.map +1 -1
  762. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.es.js.map +1 -1
  763. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.cjs +1 -1
  764. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.cjs.map +1 -1
  765. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.es.js +2 -2
  766. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.es.js.map +1 -1
  767. package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.cjs +2 -0
  768. package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.cjs.map +1 -0
  769. package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.es.js +22 -0
  770. package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.es.js.map +1 -0
  771. package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.cjs.map +1 -1
  772. package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.es.js.map +1 -1
  773. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VBNYF7ZC.cjs +2 -2
  774. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VBNYF7ZC.es.js +4 -4
  775. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-5PPSVZJV.es.js +1 -1
  776. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-2GRJ4B5K.es.js +1 -1
  777. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JQJVKLGR.cjs +2 -2
  778. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JQJVKLGR.es.js +4 -4
  779. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-NSK5VX7P.es.js +1 -1
  780. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-WRU74C26.es.js +3 -3
  781. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-JCYQIIEL.es.js +1 -1
  782. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-OCEON4UE.es.js +1 -1
  783. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-B4RE2ZJO.cjs +3 -3
  784. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-B4RE2ZJO.es.js +4 -4
  785. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-JOGREHBK.cjs +2 -2
  786. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-JOGREHBK.es.js +4 -4
  787. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-UKHOOZJN.es.js +5 -4
  788. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-UKHOOZJN.es.js.map +1 -1
  789. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-PKOTCBZU.cjs +1 -1
  790. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-PKOTCBZU.es.js +2 -2
  791. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-FAOFIHXS.cjs +1 -1
  792. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-FAOFIHXS.cjs.map +1 -1
  793. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-FAOFIHXS.es.js +1 -1
  794. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-CIZ2JOQS.cjs +1 -1
  795. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-CIZ2JOQS.es.js +4 -4
  796. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-W5VNT64P.cjs +1 -1
  797. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-W5VNT64P.es.js +1 -1
  798. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-SI44F4Z6.es.js +1 -1
  799. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-OKZ733FA.es.js +1 -1
  800. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-UEYNNEHI.es.js +1 -1
  801. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-ULZ7WXOC.es.js +1 -1
  802. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-T6HMQDX7.cjs +1 -1
  803. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-T6HMQDX7.es.js +2 -2
  804. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-ELKLHX3M.es.js +4 -4
  805. package/dist/node_modules/mermaid/dist/mermaid.core.cjs +1 -1
  806. package/dist/node_modules/mermaid/dist/mermaid.core.es.js +1 -1
  807. package/dist/node_modules/micromark/lib/constructs.cjs +1 -1
  808. package/dist/node_modules/micromark/lib/constructs.es.js +13 -13
  809. package/dist/node_modules/micromark-factory-space/index.cjs +1 -1
  810. package/dist/node_modules/micromark-factory-space/index.cjs.map +1 -1
  811. package/dist/node_modules/micromark-factory-space/index.es.js +9 -9
  812. package/dist/node_modules/micromark-factory-space/index.es.js.map +1 -1
  813. package/dist/node_modules/parse5/dist/parser/index.es.js +1 -1
  814. package/dist/node_modules/parse5/dist/tokenizer/index.cjs +1 -1
  815. package/dist/node_modules/parse5/dist/tokenizer/index.cjs.map +1 -1
  816. package/dist/node_modules/parse5/dist/tokenizer/index.es.js +2 -2
  817. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.cjs.map +1 -0
  818. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.es.js.map +1 -0
  819. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode.cjs.map +1 -0
  820. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode.es.js.map +1 -0
  821. package/dist/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.cjs.map +1 -0
  822. package/dist/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.es.js.map +1 -0
  823. package/dist/node_modules/property-information/lib/html.cjs +1 -1
  824. package/dist/node_modules/property-information/lib/html.cjs.map +1 -1
  825. package/dist/node_modules/property-information/lib/html.es.js +16 -6
  826. package/dist/node_modules/property-information/lib/html.es.js.map +1 -1
  827. package/dist/node_modules/property-information/lib/svg.cjs +1 -1
  828. package/dist/node_modules/property-information/lib/svg.cjs.map +1 -1
  829. package/dist/node_modules/property-information/lib/svg.es.js +4 -2
  830. package/dist/node_modules/property-information/lib/svg.es.js.map +1 -1
  831. package/dist/node_modules/rc-input/es/BaseInput.es.js +1 -1
  832. package/dist/node_modules/rc-textarea/es/ResizableTextArea.es.js +1 -1
  833. package/dist/node_modules/rc-textarea/es/TextArea.es.js +1 -1
  834. package/dist/node_modules/rc-textarea/es/index.es.js +1 -1
  835. package/dist/node_modules/rc-util/es/ref.es.js +1 -1
  836. package/dist/node_modules/rc-util/node_modules/react-is/index.es.js +1 -1
  837. package/dist/node_modules/react-i18next/dist/es/useTranslation.cjs +1 -1
  838. package/dist/node_modules/react-i18next/dist/es/useTranslation.es.js +7 -7
  839. package/dist/node_modules/remark-flow/dist/index.es.js +1 -1
  840. package/dist/node_modules/remark-flow/dist/interaction-parser.cjs.map +1 -1
  841. package/dist/node_modules/remark-flow/dist/interaction-parser.es.js +2 -2
  842. package/dist/node_modules/remark-flow/dist/interaction-parser.es.js.map +1 -1
  843. package/dist/node_modules/remark-flow/dist/interaction-plugin-core.es.js +1 -1
  844. package/dist/node_modules/style-mod/src/style-mod.cjs +3 -3
  845. package/dist/node_modules/style-mod/src/style-mod.cjs.map +1 -1
  846. package/dist/node_modules/style-mod/src/style-mod.es.js +37 -35
  847. package/dist/node_modules/style-mod/src/style-mod.es.js.map +1 -1
  848. package/dist/node_modules/style-to-object/cjs/index.cjs +1 -1
  849. package/dist/node_modules/style-to-object/cjs/index.cjs.map +1 -1
  850. package/dist/node_modules/style-to-object/cjs/index.es.js +15 -15
  851. package/dist/node_modules/style-to-object/cjs/index.es.js.map +1 -1
  852. package/dist/node_modules/stylis/src/Parser.cjs +1 -1
  853. package/dist/node_modules/stylis/src/Parser.cjs.map +1 -1
  854. package/dist/node_modules/stylis/src/Parser.es.js +63 -52
  855. package/dist/node_modules/stylis/src/Parser.es.js.map +1 -1
  856. package/dist/node_modules/stylis/src/Utility.cjs +1 -1
  857. package/dist/node_modules/stylis/src/Utility.cjs.map +1 -1
  858. package/dist/node_modules/stylis/src/Utility.es.js +20 -24
  859. package/dist/node_modules/stylis/src/Utility.es.js.map +1 -1
  860. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs +1 -1
  861. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs.map +1 -1
  862. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.es.js +828 -561
  863. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.es.js.map +1 -1
  864. package/dist/node_modules/ts-dedent/esm/index.cjs +5 -5
  865. package/dist/node_modules/ts-dedent/esm/index.cjs.map +1 -1
  866. package/dist/node_modules/ts-dedent/esm/index.es.js +20 -21
  867. package/dist/node_modules/ts-dedent/esm/index.es.js.map +1 -1
  868. package/dist/node_modules/unified/lib/index.es.js +1 -1
  869. package/dist/node_modules/unist-util-is/lib/index.cjs.map +1 -1
  870. package/dist/node_modules/unist-util-is/lib/index.es.js +8 -1
  871. package/dist/node_modules/unist-util-is/lib/index.es.js.map +1 -1
  872. package/dist/node_modules/unist-util-visit/lib/index.cjs +1 -1
  873. package/dist/node_modules/unist-util-visit/lib/index.cjs.map +1 -1
  874. package/dist/node_modules/unist-util-visit/lib/index.es.js +22 -12
  875. package/dist/node_modules/unist-util-visit/lib/index.es.js.map +1 -1
  876. package/dist/node_modules/unist-util-visit-parents/lib/color.cjs.map +1 -1
  877. package/dist/node_modules/unist-util-visit-parents/lib/color.es.js.map +1 -1
  878. package/dist/node_modules/unist-util-visit-parents/lib/index.cjs +1 -1
  879. package/dist/node_modules/unist-util-visit-parents/lib/index.cjs.map +1 -1
  880. package/dist/node_modules/unist-util-visit-parents/lib/index.es.js +72 -37
  881. package/dist/node_modules/unist-util-visit-parents/lib/index.es.js.map +1 -1
  882. package/dist/node_modules/uuid/dist/rng.cjs +2 -0
  883. package/dist/node_modules/uuid/dist/rng.cjs.map +1 -0
  884. package/dist/node_modules/uuid/dist/rng.es.js +8 -0
  885. package/dist/node_modules/uuid/dist/rng.es.js.map +1 -0
  886. package/dist/node_modules/uuid/dist/stringify.cjs.map +1 -0
  887. package/dist/node_modules/uuid/dist/stringify.es.js.map +1 -0
  888. package/dist/node_modules/uuid/dist/v4.cjs +2 -0
  889. package/dist/node_modules/uuid/dist/v4.cjs.map +1 -0
  890. package/dist/node_modules/uuid/dist/v4.es.js +16 -0
  891. package/dist/node_modules/uuid/dist/v4.es.js.map +1 -0
  892. package/dist/renderer.cjs +1 -1
  893. package/dist/renderer.es.js +3 -3
  894. package/dist/scroll.cjs +1 -1
  895. package/dist/scroll.es.js +2 -2
  896. package/package.json +18 -14
  897. package/dist/_virtual/advancedFormat.es2.js.map +0 -1
  898. package/dist/_virtual/cose-base.es2.js.map +0 -1
  899. package/dist/_virtual/customParseFormat.es2.js.map +0 -1
  900. package/dist/_virtual/cytoscape-cose-bilkent.es2.js +0 -5
  901. package/dist/_virtual/cytoscape-cose-bilkent.es2.js.map +0 -1
  902. package/dist/_virtual/cytoscape-fcose.es2.js.map +0 -1
  903. package/dist/_virtual/dayjs.min.es2.js.map +0 -1
  904. package/dist/_virtual/dayjs.min2.cjs.map +0 -1
  905. package/dist/_virtual/duration.es2.js.map +0 -1
  906. package/dist/_virtual/index.es10.js.map +0 -1
  907. package/dist/_virtual/index.es11.js.map +0 -1
  908. package/dist/_virtual/index.es12.js.map +0 -1
  909. package/dist/_virtual/index.es2.js.map +0 -1
  910. package/dist/_virtual/index.es3.js.map +0 -1
  911. package/dist/_virtual/index.es4.js.map +0 -1
  912. package/dist/_virtual/index.es5.js.map +0 -1
  913. package/dist/_virtual/index.es6.js.map +0 -1
  914. package/dist/_virtual/index.es7.js.map +0 -1
  915. package/dist/_virtual/index.es8.js.map +0 -1
  916. package/dist/_virtual/index.es9.js.map +0 -1
  917. package/dist/_virtual/isoWeek.es2.js.map +0 -1
  918. package/dist/_virtual/layout-base.es2.js.map +0 -1
  919. package/dist/node_modules/@radix-ui/react-arrow/dist/index.cjs +0 -2
  920. package/dist/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +0 -1
  921. package/dist/node_modules/@radix-ui/react-arrow/dist/index.es.js +0 -25
  922. package/dist/node_modules/@radix-ui/react-arrow/dist/index.es.js.map +0 -1
  923. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.cjs.map +0 -1
  924. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.es.js.map +0 -1
  925. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -2
  926. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +0 -1
  927. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +0 -34
  928. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +0 -1
  929. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.cjs.map +0 -1
  930. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.es.js.map +0 -1
  931. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +0 -2
  932. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +0 -1
  933. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +0 -1
  934. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.cjs +0 -2
  935. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.cjs.map +0 -1
  936. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.es.js +0 -15
  937. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.es.js.map +0 -1
  938. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.cjs +0 -2
  939. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.cjs.map +0 -1
  940. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.es.js.map +0 -1
  941. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.cjs +0 -2
  942. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.cjs.map +0 -1
  943. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.es.js +0 -104
  944. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.es.js.map +0 -1
  945. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.cjs +0 -2
  946. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +0 -1
  947. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +0 -1
  948. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +0 -2
  949. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +0 -1
  950. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +0 -13
  951. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +0 -1
  952. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +0 -2
  953. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +0 -1
  954. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +0 -1
  955. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs.map +0 -1
  956. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-effect-event/dist/index.es.js.map +0 -1
  957. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +0 -2
  958. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.map +0 -1
  959. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js +0 -7
  960. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +0 -1
  961. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -2
  962. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +0 -1
  963. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +0 -34
  964. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +0 -1
  965. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.cjs +0 -2
  966. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +0 -1
  967. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +0 -1
  968. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +0 -2
  969. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +0 -1
  970. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +0 -13
  971. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +0 -1
  972. package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs +0 -2
  973. package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs.map +0 -1
  974. package/dist/node_modules/@radix-ui/react-popper/dist/index.es.js +0 -220
  975. package/dist/node_modules/@radix-ui/react-popper/dist/index.es.js.map +0 -1
  976. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.cjs +0 -2
  977. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.cjs.map +0 -1
  978. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.es.js +0 -50
  979. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.es.js.map +0 -1
  980. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -2
  981. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +0 -1
  982. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +0 -34
  983. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +0 -1
  984. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs +0 -2
  985. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs.map +0 -1
  986. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.es.js +0 -15
  987. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.es.js.map +0 -1
  988. package/dist/node_modules/entities/dist/esm/decode-codepoint.cjs.map +0 -1
  989. package/dist/node_modules/entities/dist/esm/decode-codepoint.es.js.map +0 -1
  990. package/dist/node_modules/entities/dist/esm/decode.cjs.map +0 -1
  991. package/dist/node_modules/entities/dist/esm/decode.es.js.map +0 -1
  992. package/dist/node_modules/entities/dist/esm/generated/decode-data-html.cjs.map +0 -1
  993. package/dist/node_modules/entities/dist/esm/generated/decode-data-html.es.js.map +0 -1
  994. package/dist/node_modules/hast-util-is-element/lib/index.cjs +0 -2
  995. package/dist/node_modules/hast-util-is-element/lib/index.cjs.map +0 -1
  996. package/dist/node_modules/hast-util-is-element/lib/index.es.js +0 -66
  997. package/dist/node_modules/hast-util-is-element/lib/index.es.js.map +0 -1
  998. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.cjs +0 -2
  999. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.cjs.map +0 -1
  1000. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.es.js +0 -13
  1001. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.es.js.map +0 -1
  1002. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.cjs +0 -2
  1003. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.cjs.map +0 -1
  1004. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.es.js +0 -62
  1005. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.es.js.map +0 -1
  1006. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.cjs +0 -2
  1007. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.cjs.map +0 -1
  1008. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.es.js +0 -34
  1009. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.es.js.map +0 -1
  1010. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.cjs +0 -2
  1011. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.cjs.map +0 -1
  1012. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.es.js +0 -369
  1013. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.es.js.map +0 -1
  1014. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.cjs +0 -2
  1015. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.cjs.map +0 -1
  1016. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.es.js +0 -7
  1017. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.es.js.map +0 -1
  1018. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.cjs +0 -2
  1019. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.cjs.map +0 -1
  1020. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.es.js +0 -567
  1021. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.es.js.map +0 -1
  1022. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.cjs +0 -2
  1023. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.cjs.map +0 -1
  1024. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.es.js +0 -8
  1025. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.es.js.map +0 -1
  1026. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.cjs +0 -2
  1027. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.cjs.map +0 -1
  1028. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.es.js +0 -7
  1029. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.es.js.map +0 -1
  1030. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.cjs +0 -2
  1031. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.cjs.map +0 -1
  1032. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.es.js +0 -23
  1033. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.es.js.map +0 -1
  1034. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.cjs +0 -2
  1035. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.cjs.map +0 -1
  1036. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.es.js +0 -28
  1037. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.es.js.map +0 -1
  1038. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.cjs +0 -2
  1039. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.cjs.map +0 -1
  1040. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.es.js +0 -24
  1041. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.es.js.map +0 -1
  1042. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.cjs +0 -2
  1043. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.cjs.map +0 -1
  1044. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.es.js +0 -12
  1045. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.es.js.map +0 -1
  1046. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.cjs +0 -2
  1047. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.cjs.map +0 -1
  1048. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.es.js +0 -18
  1049. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.es.js.map +0 -1
  1050. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.cjs +0 -2
  1051. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.cjs.map +0 -1
  1052. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.es.js +0 -15
  1053. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.es.js.map +0 -1
  1054. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.cjs +0 -2
  1055. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.cjs.map +0 -1
  1056. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.es.js +0 -20
  1057. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.es.js.map +0 -1
  1058. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.cjs +0 -2
  1059. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.cjs.map +0 -1
  1060. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.es.js +0 -12
  1061. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.es.js.map +0 -1
  1062. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.cjs +0 -2
  1063. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.cjs.map +0 -1
  1064. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.es.js +0 -12
  1065. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.es.js.map +0 -1
  1066. package/dist/node_modules/highlight.js/es/languages/arduino.cjs +0 -2
  1067. package/dist/node_modules/highlight.js/es/languages/arduino.cjs.map +0 -1
  1068. package/dist/node_modules/highlight.js/es/languages/arduino.es.js.map +0 -1
  1069. package/dist/node_modules/highlight.js/es/languages/csharp.cjs +0 -2
  1070. package/dist/node_modules/highlight.js/es/languages/csharp.cjs.map +0 -1
  1071. package/dist/node_modules/highlight.js/es/languages/csharp.es.js.map +0 -1
  1072. package/dist/node_modules/highlight.js/es/languages/diff.cjs +0 -2
  1073. package/dist/node_modules/highlight.js/es/languages/diff.cjs.map +0 -1
  1074. package/dist/node_modules/highlight.js/es/languages/diff.es.js.map +0 -1
  1075. package/dist/node_modules/highlight.js/es/languages/graphql.cjs.map +0 -1
  1076. package/dist/node_modules/highlight.js/es/languages/graphql.es.js.map +0 -1
  1077. package/dist/node_modules/highlight.js/es/languages/ini.cjs.map +0 -1
  1078. package/dist/node_modules/highlight.js/es/languages/ini.es.js.map +0 -1
  1079. package/dist/node_modules/highlight.js/es/languages/kotlin.cjs.map +0 -1
  1080. package/dist/node_modules/highlight.js/es/languages/kotlin.es.js.map +0 -1
  1081. package/dist/node_modules/highlight.js/es/languages/less.cjs +0 -2
  1082. package/dist/node_modules/highlight.js/es/languages/less.cjs.map +0 -1
  1083. package/dist/node_modules/highlight.js/es/languages/less.es.js.map +0 -1
  1084. package/dist/node_modules/highlight.js/es/languages/makefile.cjs.map +0 -1
  1085. package/dist/node_modules/highlight.js/es/languages/makefile.es.js.map +0 -1
  1086. package/dist/node_modules/highlight.js/es/languages/objectivec.cjs.map +0 -1
  1087. package/dist/node_modules/highlight.js/es/languages/objectivec.es.js.map +0 -1
  1088. package/dist/node_modules/highlight.js/es/languages/perl.cjs.map +0 -1
  1089. package/dist/node_modules/highlight.js/es/languages/perl.es.js.map +0 -1
  1090. package/dist/node_modules/highlight.js/es/languages/php-template.cjs.map +0 -1
  1091. package/dist/node_modules/highlight.js/es/languages/php-template.es.js.map +0 -1
  1092. package/dist/node_modules/highlight.js/es/languages/python-repl.cjs.map +0 -1
  1093. package/dist/node_modules/highlight.js/es/languages/python-repl.es.js.map +0 -1
  1094. package/dist/node_modules/highlight.js/es/languages/r.cjs.map +0 -1
  1095. package/dist/node_modules/highlight.js/es/languages/r.es.js.map +0 -1
  1096. package/dist/node_modules/highlight.js/es/languages/ruby.cjs.map +0 -1
  1097. package/dist/node_modules/highlight.js/es/languages/ruby.es.js.map +0 -1
  1098. package/dist/node_modules/highlight.js/es/languages/swift.cjs.map +0 -1
  1099. package/dist/node_modules/highlight.js/es/languages/swift.es.js.map +0 -1
  1100. package/dist/node_modules/highlight.js/es/languages/vbnet.cjs.map +0 -1
  1101. package/dist/node_modules/highlight.js/es/languages/vbnet.es.js.map +0 -1
  1102. package/dist/node_modules/highlight.js/es/languages/wasm.cjs.map +0 -1
  1103. package/dist/node_modules/highlight.js/es/languages/wasm.es.js.map +0 -1
  1104. package/dist/node_modules/highlight.js/lib/core.cjs.map +0 -1
  1105. package/dist/node_modules/highlight.js/lib/core.es.js.map +0 -1
  1106. package/dist/node_modules/inline-style-parser/index.cjs +0 -3
  1107. package/dist/node_modules/inline-style-parser/index.cjs.map +0 -1
  1108. package/dist/node_modules/inline-style-parser/index.es.js.map +0 -1
  1109. package/dist/node_modules/unist-util-find-after/lib/index.cjs +0 -2
  1110. package/dist/node_modules/unist-util-find-after/lib/index.cjs.map +0 -1
  1111. package/dist/node_modules/unist-util-find-after/lib/index.es.js +0 -33
  1112. package/dist/node_modules/unist-util-find-after/lib/index.es.js.map +0 -1
  1113. package/dist/node_modules/uuid/dist/esm-browser/native.cjs +0 -2
  1114. package/dist/node_modules/uuid/dist/esm-browser/native.cjs.map +0 -1
  1115. package/dist/node_modules/uuid/dist/esm-browser/native.es.js +0 -5
  1116. package/dist/node_modules/uuid/dist/esm-browser/native.es.js.map +0 -1
  1117. package/dist/node_modules/uuid/dist/esm-browser/rng.cjs +0 -2
  1118. package/dist/node_modules/uuid/dist/esm-browser/rng.cjs.map +0 -1
  1119. package/dist/node_modules/uuid/dist/esm-browser/rng.es.js +0 -14
  1120. package/dist/node_modules/uuid/dist/esm-browser/rng.es.js.map +0 -1
  1121. package/dist/node_modules/uuid/dist/esm-browser/stringify.cjs.map +0 -1
  1122. package/dist/node_modules/uuid/dist/esm-browser/stringify.es.js.map +0 -1
  1123. package/dist/node_modules/uuid/dist/esm-browser/v4.cjs +0 -2
  1124. package/dist/node_modules/uuid/dist/esm-browser/v4.cjs.map +0 -1
  1125. package/dist/node_modules/uuid/dist/esm-browser/v4.es.js +0 -16
  1126. package/dist/node_modules/uuid/dist/esm-browser/v4.es.js.map +0 -1
  1127. /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/primitive/dist/index.cjs +0 -0
  1128. /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/primitive/dist/index.es.js +0 -0
  1129. /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-context/dist/index.cjs +0 -0
  1130. /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-context/dist/index.es.js +0 -0
  1131. /package/dist/node_modules/@radix-ui/{react-dialog/node_modules/@radix-ui/react-use-effect-event → react-use-effect-event}/dist/index.cjs +0 -0
  1132. /package/dist/node_modules/@radix-ui/{react-dialog/node_modules/@radix-ui/react-use-effect-event → react-use-effect-event}/dist/index.es.js +0 -0
  1133. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.cjs.map +0 -0
  1134. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.es.js.map +0 -0
  1135. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/graphql.cjs +0 -0
  1136. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/graphql.es.js +0 -0
  1137. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ini.cjs +0 -0
  1138. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ini.es.js +0 -0
  1139. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/kotlin.cjs +0 -0
  1140. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/kotlin.es.js +0 -0
  1141. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/makefile.cjs +0 -0
  1142. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/makefile.es.js +0 -0
  1143. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/objectivec.cjs +0 -0
  1144. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/objectivec.es.js +0 -0
  1145. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/perl.cjs +0 -0
  1146. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/perl.es.js +0 -0
  1147. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/php-template.cjs +0 -0
  1148. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/php-template.es.js +0 -0
  1149. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/python-repl.cjs +0 -0
  1150. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/python-repl.es.js +0 -0
  1151. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/r.cjs +0 -0
  1152. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/r.es.js +0 -0
  1153. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ruby.cjs +0 -0
  1154. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ruby.es.js +0 -0
  1155. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/swift.cjs +0 -0
  1156. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/swift.es.js +0 -0
  1157. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/vbnet.cjs +0 -0
  1158. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/vbnet.es.js +0 -0
  1159. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/wasm.cjs +0 -0
  1160. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/wasm.es.js +0 -0
  1161. /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode-codepoint.cjs +0 -0
  1162. /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode-codepoint.es.js +0 -0
  1163. /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode.cjs +0 -0
  1164. /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode.es.js +0 -0
  1165. /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/generated/decode-data-html.cjs +0 -0
  1166. /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/generated/decode-data-html.es.js +0 -0
  1167. /package/dist/node_modules/uuid/dist/{esm-browser/stringify.cjs → stringify.cjs} +0 -0
  1168. /package/dist/node_modules/uuid/dist/{esm-browser/stringify.es.js → stringify.es.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"check-bullet-other.es.js","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\nimport {checkBullet} from './check-bullet.js'\n\n/**\n * @param {State} state\n * @returns {Exclude<Options['bullet'], null | undefined>}\n */\nexport function checkBulletOther(state) {\n const bullet = checkBullet(state)\n const bulletOther = state.options.bulletOther\n\n if (!bulletOther) {\n return bullet === '*' ? '-' : '*'\n }\n\n if (bulletOther !== '*' && bulletOther !== '+' && bulletOther !== '-') {\n throw new Error(\n 'Cannot serialize items with `' +\n bulletOther +\n '` for `options.bulletOther`, expected `*`, `+`, or `-`'\n )\n }\n\n if (bulletOther === bullet) {\n throw new Error(\n 'Expected `bullet` (`' +\n bullet +\n '`) and `bulletOther` (`' +\n bulletOther +\n '`) to be different'\n )\n }\n\n return bulletOther\n}\n"],"names":["checkBulletOther","state","bullet","checkBullet","bulletOther"],"mappings":";AAUO,SAASA,EAAiBC,GAAO;AACtC,QAAMC,IAASC,EAAYF,CAAK,GAC1BG,IAAcH,EAAM,QAAQ;AAElC,MAAI,CAACG;AACH,WAAOF,MAAW,MAAM,MAAM;AAGhC,MAAIE,MAAgB,OAAOA,MAAgB,OAAOA,MAAgB;AAChE,UAAM,IAAI;AAAA,MACR,kCACEA,IACA;AAAA,IACR;AAGE,MAAIA,MAAgBF;AAClB,UAAM,IAAI;AAAA,MACR,yBACEA,IACA,4BACAE,IACA;AAAA,IACR;AAGE,SAAOA;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"check-bullet-other.es.js","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\nimport {checkBullet} from './check-bullet.js'\n\n/**\n * Checks the preferred alternate list bullet option.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Exclude<Options['bullet'], null | undefined>}\n * Preferred alternate list bullet.\n */\nexport function checkBulletOther(state) {\n const bullet = checkBullet(state)\n const bulletOther = state.options.bulletOther\n\n if (!bulletOther) {\n return bullet === '*' ? '-' : '*'\n }\n\n if (bulletOther !== '*' && bulletOther !== '+' && bulletOther !== '-') {\n throw new Error(\n 'Cannot serialize items with `' +\n bulletOther +\n '` for `options.bulletOther`, expected `*`, `+`, or `-`'\n )\n }\n\n if (bulletOther === bullet) {\n throw new Error(\n 'Expected `bullet` (`' +\n bullet +\n '`) and `bulletOther` (`' +\n bulletOther +\n '`) to be different'\n )\n }\n\n return bulletOther\n}\n"],"names":["checkBulletOther","state","bullet","checkBullet","bulletOther"],"mappings":";AAcO,SAASA,EAAiBC,GAAO;AACtC,QAAMC,IAASC,EAAYF,CAAK,GAC1BG,IAAcH,EAAM,QAAQ;AAElC,MAAI,CAACG;AACH,WAAOF,MAAW,MAAM,MAAM;AAGhC,MAAIE,MAAgB,OAAOA,MAAgB,OAAOA,MAAgB;AAChE,UAAM,IAAI;AAAA,MACR,kCACEA,IACA;AAAA,IACR;AAGE,MAAIA,MAAgBF;AAClB,UAAM,IAAI;AAAA,MACR,yBACEA,IACA,4BACAE,IACA;AAAA,IACR;AAGE,SAAOA;AACT;","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"check-bullet.cjs","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-bullet.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * @param {State} state\n * @returns {Exclude<Options['bullet'], null | undefined>}\n */\nexport function checkBullet(state) {\n const marker = state.options.bullet || '*'\n\n if (marker !== '*' && marker !== '+' && marker !== '-') {\n throw new Error(\n 'Cannot serialize items with `' +\n marker +\n '` for `options.bullet`, expected `*`, `+`, or `-`'\n )\n }\n\n return marker\n}\n"],"names":["checkBullet","state","marker"],"mappings":"gFAQO,SAASA,EAAYC,EAAO,CACjC,MAAMC,EAASD,EAAM,QAAQ,QAAU,IAEvC,GAAIC,IAAW,KAAOA,IAAW,KAAOA,IAAW,IACjD,MAAM,IAAI,MACR,gCACEA,EACA,mDACR,EAGE,OAAOA,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"check-bullet.cjs","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-bullet.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * Checks the preferred list bullet option.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Exclude<Options['bullet'], null | undefined>}\n * Preferred list bullet.\n */\nexport function checkBullet(state) {\n const marker = state.options.bullet || '*'\n\n if (marker !== '*' && marker !== '+' && marker !== '-') {\n throw new Error(\n 'Cannot serialize items with `' +\n marker +\n '` for `options.bullet`, expected `*`, `+`, or `-`'\n )\n }\n\n return marker\n}\n"],"names":["checkBullet","state","marker"],"mappings":"gFAYO,SAASA,EAAYC,EAAO,CACjC,MAAMC,EAASD,EAAM,QAAQ,QAAU,IAEvC,GAAIC,IAAW,KAAOA,IAAW,KAAOA,IAAW,IACjD,MAAM,IAAI,MACR,gCACEA,EACA,mDACR,EAGE,OAAOA,CACT","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"check-bullet.es.js","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-bullet.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * @param {State} state\n * @returns {Exclude<Options['bullet'], null | undefined>}\n */\nexport function checkBullet(state) {\n const marker = state.options.bullet || '*'\n\n if (marker !== '*' && marker !== '+' && marker !== '-') {\n throw new Error(\n 'Cannot serialize items with `' +\n marker +\n '` for `options.bullet`, expected `*`, `+`, or `-`'\n )\n }\n\n return marker\n}\n"],"names":["checkBullet","state","marker"],"mappings":"AAQO,SAASA,EAAYC,GAAO;AACjC,QAAMC,IAASD,EAAM,QAAQ,UAAU;AAEvC,MAAIC,MAAW,OAAOA,MAAW,OAAOA,MAAW;AACjD,UAAM,IAAI;AAAA,MACR,kCACEA,IACA;AAAA,IACR;AAGE,SAAOA;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"check-bullet.es.js","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-bullet.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * Checks the preferred list bullet option.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Exclude<Options['bullet'], null | undefined>}\n * Preferred list bullet.\n */\nexport function checkBullet(state) {\n const marker = state.options.bullet || '*'\n\n if (marker !== '*' && marker !== '+' && marker !== '-') {\n throw new Error(\n 'Cannot serialize items with `' +\n marker +\n '` for `options.bullet`, expected `*`, `+`, or `-`'\n )\n }\n\n return marker\n}\n"],"names":["checkBullet","state","marker"],"mappings":"AAYO,SAASA,EAAYC,GAAO;AACjC,QAAMC,IAASD,EAAM,QAAQ,UAAU;AAEvC,MAAIC,MAAW,OAAOA,MAAW,OAAOA,MAAW;AACjD,UAAM,IAAI;AAAA,MACR,kCACEA,IACA;AAAA,IACR;AAGE,SAAOA;AACT;","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"check-emphasis.cjs","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * @param {State} state\n * @returns {Exclude<Options['emphasis'], null | undefined>}\n */\nexport function checkEmphasis(state) {\n const marker = state.options.emphasis || '*'\n\n if (marker !== '*' && marker !== '_') {\n throw new Error(\n 'Cannot serialize emphasis with `' +\n marker +\n '` for `options.emphasis`, expected `*`, or `_`'\n )\n }\n\n return marker\n}\n"],"names":["checkEmphasis","state","marker"],"mappings":"gFAQO,SAASA,EAAcC,EAAO,CACnC,MAAMC,EAASD,EAAM,QAAQ,UAAY,IAEzC,GAAIC,IAAW,KAAOA,IAAW,IAC/B,MAAM,IAAI,MACR,mCACEA,EACA,gDACR,EAGE,OAAOA,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"check-emphasis.cjs","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * Checks the preferred emphasis option.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Exclude<Options['emphasis'], null | undefined>}\n * Preferred emphasis marker.\n */\nexport function checkEmphasis(state) {\n const marker = state.options.emphasis || '*'\n\n if (marker !== '*' && marker !== '_') {\n throw new Error(\n 'Cannot serialize emphasis with `' +\n marker +\n '` for `options.emphasis`, expected `*`, or `_`'\n )\n }\n\n return marker\n}\n"],"names":["checkEmphasis","state","marker"],"mappings":"gFAYO,SAASA,EAAcC,EAAO,CACnC,MAAMC,EAASD,EAAM,QAAQ,UAAY,IAEzC,GAAIC,IAAW,KAAOA,IAAW,IAC/B,MAAM,IAAI,MACR,mCACEA,EACA,gDACR,EAGE,OAAOA,CACT","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"check-emphasis.es.js","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * @param {State} state\n * @returns {Exclude<Options['emphasis'], null | undefined>}\n */\nexport function checkEmphasis(state) {\n const marker = state.options.emphasis || '*'\n\n if (marker !== '*' && marker !== '_') {\n throw new Error(\n 'Cannot serialize emphasis with `' +\n marker +\n '` for `options.emphasis`, expected `*`, or `_`'\n )\n }\n\n return marker\n}\n"],"names":["checkEmphasis","state","marker"],"mappings":"AAQO,SAASA,EAAcC,GAAO;AACnC,QAAMC,IAASD,EAAM,QAAQ,YAAY;AAEzC,MAAIC,MAAW,OAAOA,MAAW;AAC/B,UAAM,IAAI;AAAA,MACR,qCACEA,IACA;AAAA,IACR;AAGE,SAAOA;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"check-emphasis.es.js","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * Checks the preferred emphasis option.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Exclude<Options['emphasis'], null | undefined>}\n * Preferred emphasis marker.\n */\nexport function checkEmphasis(state) {\n const marker = state.options.emphasis || '*'\n\n if (marker !== '*' && marker !== '_') {\n throw new Error(\n 'Cannot serialize emphasis with `' +\n marker +\n '` for `options.emphasis`, expected `*`, or `_`'\n )\n }\n\n return marker\n}\n"],"names":["checkEmphasis","state","marker"],"mappings":"AAYO,SAASA,EAAcC,GAAO;AACnC,QAAMC,IAASD,EAAM,QAAQ,YAAY;AAEzC,MAAIC,MAAW,OAAOA,MAAW;AAC/B,UAAM,IAAI;AAAA,MACR,qCACEA,IACA;AAAA,IACR;AAGE,SAAOA;AACT;","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"check-fence.cjs","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-fence.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * @param {State} state\n * @returns {Exclude<Options['fence'], null | undefined>}\n */\nexport function checkFence(state) {\n const marker = state.options.fence || '`'\n\n if (marker !== '`' && marker !== '~') {\n throw new Error(\n 'Cannot serialize code with `' +\n marker +\n '` for `options.fence`, expected `` ` `` or `~`'\n )\n }\n\n return marker\n}\n"],"names":["checkFence","state","marker"],"mappings":"gFAQO,SAASA,EAAWC,EAAO,CAChC,MAAMC,EAASD,EAAM,QAAQ,OAAS,IAEtC,GAAIC,IAAW,KAAOA,IAAW,IAC/B,MAAM,IAAI,MACR,+BACEA,EACA,gDACR,EAGE,OAAOA,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"check-fence.cjs","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-fence.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * Checks the preferred fence option.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Exclude<Options['fence'], null | undefined>}\n * Preferred fence marker.\n */\nexport function checkFence(state) {\n const marker = state.options.fence || '`'\n\n if (marker !== '`' && marker !== '~') {\n throw new Error(\n 'Cannot serialize code with `' +\n marker +\n '` for `options.fence`, expected `` ` `` or `~`'\n )\n }\n\n return marker\n}\n"],"names":["checkFence","state","marker"],"mappings":"gFAYO,SAASA,EAAWC,EAAO,CAChC,MAAMC,EAASD,EAAM,QAAQ,OAAS,IAEtC,GAAIC,IAAW,KAAOA,IAAW,IAC/B,MAAM,IAAI,MACR,+BACEA,EACA,gDACR,EAGE,OAAOA,CACT","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"check-fence.es.js","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-fence.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * @param {State} state\n * @returns {Exclude<Options['fence'], null | undefined>}\n */\nexport function checkFence(state) {\n const marker = state.options.fence || '`'\n\n if (marker !== '`' && marker !== '~') {\n throw new Error(\n 'Cannot serialize code with `' +\n marker +\n '` for `options.fence`, expected `` ` `` or `~`'\n )\n }\n\n return marker\n}\n"],"names":["checkFence","state","marker"],"mappings":"AAQO,SAASA,EAAWC,GAAO;AAChC,QAAMC,IAASD,EAAM,QAAQ,SAAS;AAEtC,MAAIC,MAAW,OAAOA,MAAW;AAC/B,UAAM,IAAI;AAAA,MACR,iCACEA,IACA;AAAA,IACR;AAGE,SAAOA;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"check-fence.es.js","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-fence.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * Checks the preferred fence option.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Exclude<Options['fence'], null | undefined>}\n * Preferred fence marker.\n */\nexport function checkFence(state) {\n const marker = state.options.fence || '`'\n\n if (marker !== '`' && marker !== '~') {\n throw new Error(\n 'Cannot serialize code with `' +\n marker +\n '` for `options.fence`, expected `` ` `` or `~`'\n )\n }\n\n return marker\n}\n"],"names":["checkFence","state","marker"],"mappings":"AAYO,SAASA,EAAWC,GAAO;AAChC,QAAMC,IAASD,EAAM,QAAQ,SAAS;AAEtC,MAAIC,MAAW,OAAOA,MAAW;AAC/B,UAAM,IAAI;AAAA,MACR,iCACEA,IACA;AAAA,IACR;AAGE,SAAOA;AACT;","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"check-list-item-indent.cjs","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * @param {State} state\n * @returns {Exclude<Options['listItemIndent'], null | undefined>}\n */\nexport function checkListItemIndent(state) {\n const style = state.options.listItemIndent || 'one'\n\n if (style !== 'tab' && style !== 'one' && style !== 'mixed') {\n throw new Error(\n 'Cannot serialize items with `' +\n style +\n '` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`'\n )\n }\n\n return style\n}\n"],"names":["checkListItemIndent","state","style"],"mappings":"gFAQO,SAASA,EAAoBC,EAAO,CACzC,MAAMC,EAAQD,EAAM,QAAQ,gBAAkB,MAE9C,GAAIC,IAAU,OAASA,IAAU,OAASA,IAAU,QAClD,MAAM,IAAI,MACR,gCACEA,EACA,mEACR,EAGE,OAAOA,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"check-list-item-indent.cjs","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * Checks the preferred list item indent option.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Exclude<Options['listItemIndent'], null | undefined>}\n * Preferred list item indent.\n */\nexport function checkListItemIndent(state) {\n const style = state.options.listItemIndent || 'one'\n\n if (style !== 'tab' && style !== 'one' && style !== 'mixed') {\n throw new Error(\n 'Cannot serialize items with `' +\n style +\n '` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`'\n )\n }\n\n return style\n}\n"],"names":["checkListItemIndent","state","style"],"mappings":"gFAYO,SAASA,EAAoBC,EAAO,CACzC,MAAMC,EAAQD,EAAM,QAAQ,gBAAkB,MAE9C,GAAIC,IAAU,OAASA,IAAU,OAASA,IAAU,QAClD,MAAM,IAAI,MACR,gCACEA,EACA,mEACR,EAGE,OAAOA,CACT","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"check-list-item-indent.es.js","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * @param {State} state\n * @returns {Exclude<Options['listItemIndent'], null | undefined>}\n */\nexport function checkListItemIndent(state) {\n const style = state.options.listItemIndent || 'one'\n\n if (style !== 'tab' && style !== 'one' && style !== 'mixed') {\n throw new Error(\n 'Cannot serialize items with `' +\n style +\n '` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`'\n )\n }\n\n return style\n}\n"],"names":["checkListItemIndent","state","style"],"mappings":"AAQO,SAASA,EAAoBC,GAAO;AACzC,QAAMC,IAAQD,EAAM,QAAQ,kBAAkB;AAE9C,MAAIC,MAAU,SAASA,MAAU,SAASA,MAAU;AAClD,UAAM,IAAI;AAAA,MACR,kCACEA,IACA;AAAA,IACR;AAGE,SAAOA;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"check-list-item-indent.es.js","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * Checks the preferred list item indent option.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Exclude<Options['listItemIndent'], null | undefined>}\n * Preferred list item indent.\n */\nexport function checkListItemIndent(state) {\n const style = state.options.listItemIndent || 'one'\n\n if (style !== 'tab' && style !== 'one' && style !== 'mixed') {\n throw new Error(\n 'Cannot serialize items with `' +\n style +\n '` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`'\n )\n }\n\n return style\n}\n"],"names":["checkListItemIndent","state","style"],"mappings":"AAYO,SAASA,EAAoBC,GAAO;AACzC,QAAMC,IAAQD,EAAM,QAAQ,kBAAkB;AAE9C,MAAIC,MAAU,SAASA,MAAU,SAASA,MAAU;AAClD,UAAM,IAAI;AAAA,MACR,kCACEA,IACA;AAAA,IACR;AAGE,SAAOA;AACT;","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"check-quote.cjs","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-quote.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * @param {State} state\n * @returns {Exclude<Options['quote'], null | undefined>}\n */\nexport function checkQuote(state) {\n const marker = state.options.quote || '\"'\n\n if (marker !== '\"' && marker !== \"'\") {\n throw new Error(\n 'Cannot serialize title with `' +\n marker +\n '` for `options.quote`, expected `\"`, or `\\'`'\n )\n }\n\n return marker\n}\n"],"names":["checkQuote","state","marker"],"mappings":"gFAQO,SAASA,EAAWC,EAAO,CAChC,MAAMC,EAASD,EAAM,QAAQ,OAAS,IAEtC,GAAIC,IAAW,KAAOA,IAAW,IAC/B,MAAM,IAAI,MACR,gCACEA,EACA,8CACR,EAGE,OAAOA,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"check-quote.cjs","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-quote.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * Checks the preferred quote option.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Exclude<Options['quote'], null | undefined>}\n * Preferred quote.\n */\nexport function checkQuote(state) {\n const marker = state.options.quote || '\"'\n\n if (marker !== '\"' && marker !== \"'\") {\n throw new Error(\n 'Cannot serialize title with `' +\n marker +\n '` for `options.quote`, expected `\"`, or `\\'`'\n )\n }\n\n return marker\n}\n"],"names":["checkQuote","state","marker"],"mappings":"gFAYO,SAASA,EAAWC,EAAO,CAChC,MAAMC,EAASD,EAAM,QAAQ,OAAS,IAEtC,GAAIC,IAAW,KAAOA,IAAW,IAC/B,MAAM,IAAI,MACR,gCACEA,EACA,8CACR,EAGE,OAAOA,CACT","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"check-quote.es.js","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-quote.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * @param {State} state\n * @returns {Exclude<Options['quote'], null | undefined>}\n */\nexport function checkQuote(state) {\n const marker = state.options.quote || '\"'\n\n if (marker !== '\"' && marker !== \"'\") {\n throw new Error(\n 'Cannot serialize title with `' +\n marker +\n '` for `options.quote`, expected `\"`, or `\\'`'\n )\n }\n\n return marker\n}\n"],"names":["checkQuote","state","marker"],"mappings":"AAQO,SAASA,EAAWC,GAAO;AAChC,QAAMC,IAASD,EAAM,QAAQ,SAAS;AAEtC,MAAIC,MAAW,OAAOA,MAAW;AAC/B,UAAM,IAAI;AAAA,MACR,kCACEA,IACA;AAAA,IACR;AAGE,SAAOA;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"check-quote.es.js","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-quote.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * Checks the preferred quote option.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Exclude<Options['quote'], null | undefined>}\n * Preferred quote.\n */\nexport function checkQuote(state) {\n const marker = state.options.quote || '\"'\n\n if (marker !== '\"' && marker !== \"'\") {\n throw new Error(\n 'Cannot serialize title with `' +\n marker +\n '` for `options.quote`, expected `\"`, or `\\'`'\n )\n }\n\n return marker\n}\n"],"names":["checkQuote","state","marker"],"mappings":"AAYO,SAASA,EAAWC,GAAO;AAChC,QAAMC,IAASD,EAAM,QAAQ,SAAS;AAEtC,MAAIC,MAAW,OAAOA,MAAW;AAC/B,UAAM,IAAI;AAAA,MACR,kCACEA,IACA;AAAA,IACR;AAGE,SAAOA;AACT;","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"check-rule-repetition.cjs","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * @param {State} state\n * @returns {Exclude<Options['ruleRepetition'], null | undefined>}\n */\nexport function checkRuleRepetition(state) {\n const repetition = state.options.ruleRepetition || 3\n\n if (repetition < 3) {\n throw new Error(\n 'Cannot serialize rules with repetition `' +\n repetition +\n '` for `options.ruleRepetition`, expected `3` or more'\n )\n }\n\n return repetition\n}\n"],"names":["checkRuleRepetition","state","repetition"],"mappings":"gFAQO,SAASA,EAAoBC,EAAO,CACzC,MAAMC,EAAaD,EAAM,QAAQ,gBAAkB,EAEnD,GAAIC,EAAa,EACf,MAAM,IAAI,MACR,2CACEA,EACA,sDACR,EAGE,OAAOA,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"check-rule-repetition.cjs","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * Checks the preferred rule repetition option.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Exclude<Options['ruleRepetition'], null | undefined>}\n * Preferred rule repetition.\n */\nexport function checkRuleRepetition(state) {\n const repetition = state.options.ruleRepetition || 3\n\n if (repetition < 3) {\n throw new Error(\n 'Cannot serialize rules with repetition `' +\n repetition +\n '` for `options.ruleRepetition`, expected `3` or more'\n )\n }\n\n return repetition\n}\n"],"names":["checkRuleRepetition","state","repetition"],"mappings":"gFAYO,SAASA,EAAoBC,EAAO,CACzC,MAAMC,EAAaD,EAAM,QAAQ,gBAAkB,EAEnD,GAAIC,EAAa,EACf,MAAM,IAAI,MACR,2CACEA,EACA,sDACR,EAGE,OAAOA,CACT","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"check-rule-repetition.es.js","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * @param {State} state\n * @returns {Exclude<Options['ruleRepetition'], null | undefined>}\n */\nexport function checkRuleRepetition(state) {\n const repetition = state.options.ruleRepetition || 3\n\n if (repetition < 3) {\n throw new Error(\n 'Cannot serialize rules with repetition `' +\n repetition +\n '` for `options.ruleRepetition`, expected `3` or more'\n )\n }\n\n return repetition\n}\n"],"names":["checkRuleRepetition","state","repetition"],"mappings":"AAQO,SAASA,EAAoBC,GAAO;AACzC,QAAMC,IAAaD,EAAM,QAAQ,kBAAkB;AAEnD,MAAIC,IAAa;AACf,UAAM,IAAI;AAAA,MACR,6CACEA,IACA;AAAA,IACR;AAGE,SAAOA;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"check-rule-repetition.es.js","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * Checks the preferred rule repetition option.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Exclude<Options['ruleRepetition'], null | undefined>}\n * Preferred rule repetition.\n */\nexport function checkRuleRepetition(state) {\n const repetition = state.options.ruleRepetition || 3\n\n if (repetition < 3) {\n throw new Error(\n 'Cannot serialize rules with repetition `' +\n repetition +\n '` for `options.ruleRepetition`, expected `3` or more'\n )\n }\n\n return repetition\n}\n"],"names":["checkRuleRepetition","state","repetition"],"mappings":"AAYO,SAASA,EAAoBC,GAAO;AACzC,QAAMC,IAAaD,EAAM,QAAQ,kBAAkB;AAEnD,MAAIC,IAAa;AACf,UAAM,IAAI;AAAA,MACR,6CACEA,IACA;AAAA,IACR;AAGE,SAAOA;AACT;","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"check-rule.cjs","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-rule.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * @param {State} state\n * @returns {Exclude<Options['rule'], null | undefined>}\n */\nexport function checkRule(state) {\n const marker = state.options.rule || '*'\n\n if (marker !== '*' && marker !== '-' && marker !== '_') {\n throw new Error(\n 'Cannot serialize rules with `' +\n marker +\n '` for `options.rule`, expected `*`, `-`, or `_`'\n )\n }\n\n return marker\n}\n"],"names":["checkRule","state","marker"],"mappings":"gFAQO,SAASA,EAAUC,EAAO,CAC/B,MAAMC,EAASD,EAAM,QAAQ,MAAQ,IAErC,GAAIC,IAAW,KAAOA,IAAW,KAAOA,IAAW,IACjD,MAAM,IAAI,MACR,gCACEA,EACA,iDACR,EAGE,OAAOA,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"check-rule.cjs","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-rule.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * Checks the preferred rule option.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Exclude<Options['rule'], null | undefined>}\n * Preferred rule marker.\n */\nexport function checkRule(state) {\n const marker = state.options.rule || '*'\n\n if (marker !== '*' && marker !== '-' && marker !== '_') {\n throw new Error(\n 'Cannot serialize rules with `' +\n marker +\n '` for `options.rule`, expected `*`, `-`, or `_`'\n )\n }\n\n return marker\n}\n"],"names":["checkRule","state","marker"],"mappings":"gFAYO,SAASA,EAAUC,EAAO,CAC/B,MAAMC,EAASD,EAAM,QAAQ,MAAQ,IAErC,GAAIC,IAAW,KAAOA,IAAW,KAAOA,IAAW,IACjD,MAAM,IAAI,MACR,gCACEA,EACA,iDACR,EAGE,OAAOA,CACT","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"check-rule.es.js","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-rule.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * @param {State} state\n * @returns {Exclude<Options['rule'], null | undefined>}\n */\nexport function checkRule(state) {\n const marker = state.options.rule || '*'\n\n if (marker !== '*' && marker !== '-' && marker !== '_') {\n throw new Error(\n 'Cannot serialize rules with `' +\n marker +\n '` for `options.rule`, expected `*`, `-`, or `_`'\n )\n }\n\n return marker\n}\n"],"names":["checkRule","state","marker"],"mappings":"AAQO,SAASA,EAAUC,GAAO;AAC/B,QAAMC,IAASD,EAAM,QAAQ,QAAQ;AAErC,MAAIC,MAAW,OAAOA,MAAW,OAAOA,MAAW;AACjD,UAAM,IAAI;AAAA,MACR,kCACEA,IACA;AAAA,IACR;AAGE,SAAOA;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"check-rule.es.js","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-rule.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * Checks the preferred rule option.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Exclude<Options['rule'], null | undefined>}\n * Preferred rule marker.\n */\nexport function checkRule(state) {\n const marker = state.options.rule || '*'\n\n if (marker !== '*' && marker !== '-' && marker !== '_') {\n throw new Error(\n 'Cannot serialize rules with `' +\n marker +\n '` for `options.rule`, expected `*`, `-`, or `_`'\n )\n }\n\n return marker\n}\n"],"names":["checkRule","state","marker"],"mappings":"AAYO,SAASA,EAAUC,GAAO;AAC/B,QAAMC,IAASD,EAAM,QAAQ,QAAQ;AAErC,MAAIC,MAAW,OAAOA,MAAW,OAAOA,MAAW;AACjD,UAAM,IAAI;AAAA,MACR,kCACEA,IACA;AAAA,IACR;AAGE,SAAOA;AACT;","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"check-strong.cjs","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-strong.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * @param {State} state\n * @returns {Exclude<Options['strong'], null | undefined>}\n */\nexport function checkStrong(state) {\n const marker = state.options.strong || '*'\n\n if (marker !== '*' && marker !== '_') {\n throw new Error(\n 'Cannot serialize strong with `' +\n marker +\n '` for `options.strong`, expected `*`, or `_`'\n )\n }\n\n return marker\n}\n"],"names":["checkStrong","state","marker"],"mappings":"gFAQO,SAASA,EAAYC,EAAO,CACjC,MAAMC,EAASD,EAAM,QAAQ,QAAU,IAEvC,GAAIC,IAAW,KAAOA,IAAW,IAC/B,MAAM,IAAI,MACR,iCACEA,EACA,8CACR,EAGE,OAAOA,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"check-strong.cjs","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-strong.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * Checks the preferred strong option.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Exclude<Options['strong'], null | undefined>}\n * Preferred strong marker.\n */\nexport function checkStrong(state) {\n const marker = state.options.strong || '*'\n\n if (marker !== '*' && marker !== '_') {\n throw new Error(\n 'Cannot serialize strong with `' +\n marker +\n '` for `options.strong`, expected `*`, or `_`'\n )\n }\n\n return marker\n}\n"],"names":["checkStrong","state","marker"],"mappings":"gFAYO,SAASA,EAAYC,EAAO,CACjC,MAAMC,EAASD,EAAM,QAAQ,QAAU,IAEvC,GAAIC,IAAW,KAAOA,IAAW,IAC/B,MAAM,IAAI,MACR,iCACEA,EACA,8CACR,EAGE,OAAOA,CACT","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"check-strong.es.js","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-strong.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * @param {State} state\n * @returns {Exclude<Options['strong'], null | undefined>}\n */\nexport function checkStrong(state) {\n const marker = state.options.strong || '*'\n\n if (marker !== '*' && marker !== '_') {\n throw new Error(\n 'Cannot serialize strong with `' +\n marker +\n '` for `options.strong`, expected `*`, or `_`'\n )\n }\n\n return marker\n}\n"],"names":["checkStrong","state","marker"],"mappings":"AAQO,SAASA,EAAYC,GAAO;AACjC,QAAMC,IAASD,EAAM,QAAQ,UAAU;AAEvC,MAAIC,MAAW,OAAOA,MAAW;AAC/B,UAAM,IAAI;AAAA,MACR,mCACEA,IACA;AAAA,IACR;AAGE,SAAOA;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"check-strong.es.js","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/check-strong.js"],"sourcesContent":["/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * Checks the preferred strong option.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Exclude<Options['strong'], null | undefined>}\n * Preferred strong marker.\n */\nexport function checkStrong(state) {\n const marker = state.options.strong || '*'\n\n if (marker !== '*' && marker !== '_') {\n throw new Error(\n 'Cannot serialize strong with `' +\n marker +\n '` for `options.strong`, expected `*`, or `_`'\n )\n }\n\n return marker\n}\n"],"names":["checkStrong","state","marker"],"mappings":"AAYO,SAASA,EAAYC,GAAO;AACjC,QAAMC,IAASD,EAAM,QAAQ,UAAU;AAEvC,MAAIC,MAAW,OAAOA,MAAW;AAC/B,UAAM,IAAI;AAAA,MACR,mCACEA,IACA;AAAA,IACR;AAGE,SAAOA;AACT;","x_google_ignoreList":[0]}
@@ -0,0 +1,4 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("../../../micromark-util-character/index.cjs"),z=require("../../../micromark-util-classify-character/index.cjs"),v=require("./character.cjs"),B=require("./encode-character-reference.cjs"),S=require("./encode-info.cjs"),I=require("./html-kind.cjs"),E=new Map([["*",!1],["_",!0]]);function T(n,a,i){const t=new Set;for(const e of n){const o=i.get(e);if(o&&e.attention&&a.some(c=>c.attention===e.attention))for(const c of o.tokens)t.add(c.attention)}const r=[];for(const e of n)e.attention&&t.delete(e.attention)&&r.push(e.attention);return r.reverse(),r}function b(n,a,i){const t=[],r=new Map,e=new Map;let o=0;for(;o<n.length;){if(!n[o].attention){o++;continue}const c=n[o].value.charAt(0),s=E.get(c);let l=o+1;for(;l<n.length&&n[l].attention&&n[l].value.charAt(0)===c;)l++;const h=o?n[o-1].value:a,f=z.classifyCharacter(h.charCodeAt(h.length-1)),d=z.classifyCharacter((l<n.length?n[l].value:i).charCodeAt(0)),u=!d||d===2&&!!f,p=!f||f===2&&!!d,g={tokens:n.slice(o,l),markers:[],start:0,end:0,open:s?u&&(!!f||!p):u,close:s?p&&(!!d||!u):p,split:s!==void 0};for(const m of g.tokens){r.set(m,[...g.tokens]),e.set(m,g);let w=m.value.length;for(;w--;)g.markers.push(m)}g.end=g.markers.length,t.push(g),o=l}for($(t,r),o=-1;++o<n.length;){const c=r.get(n[o]);if(c)return{attention:T(n,c,e),index:o}}}function C(n,a){const i=n[a?0:n.length-1];if(!i||i.attention)return;const t=a?v.firstCharacter(i.value):v.lastCharacter(i.value),r=B.encodeCharacterReference(t.codePointAt(0));if(a)i.value=r+i.value.slice(t.length);else{let e=i.value.slice(0,i.value.length-t.length),o=0;for(;e.charCodeAt(e.length-1-o)===92;)o++;o%2&&(e+="\\"),i.value=e+r}}function P(n,a,i,t,r){for(const e of i.attention){const o=a.get(e)||e.sequences[0];for(const c of e.sequences){if(c===o)continue;const s=new Map(a);s.set(e,c);const l=x(n,s,t,r),h=b(l,t,r);if(!h||h.index>i.index)return{chosen:s,mistake:h,tokens:l}}}}function $(n,a){const i=new Map;for(const t of n){const r=t.tokens[0].value.charAt(0);let e=i.get(r);e||(e=[],i.set(r,e));let o=t.close?e.length:0;for(;o--&&t.start<t.end;){const c=e[o],s=c.end-c.start,l=t.end-t.start;if(t.split?(c.close||t.open)&&l%3&&!((s+l)%3):s!==c.markers.length||s!==l)continue;const h=t.split?s>1&&l>1?2:1:l,f=c.markers.slice(c.end-h,c.end),d=t.markers.slice(t.start,t.start+h),u=f[0],p=d[0];if(u===f[h-1]&&u.value.length===h&&p===d[h-1]&&p.value.length===h&&u.attention===p.attention)a.delete(u),a.delete(p);else{const g=[...new Set([...f,...d])];for(const m of g){const w=a.get(m);w&&w.push(...g)}}c.end-=h,t.start+=h,c.start===c.end&&e.splice(o,1),o=e.length}t.open&&t.start<t.end&&e.push(t)}}function K(n,a,i){if(a.length===0)throw new Error("Cannot serialize `"+n+"` as attention without markers, expected one or more markers");if(i.length===0)throw new Error("Cannot serialize `"+n+"` as attention without sizes, expected one or more sizes");for(const r of i)if(!Number.isSafeInteger(r)||r<1)throw new Error("Cannot serialize `"+n+"` as attention with `"+r+"` as size, expected positive integer");const t=[];for(const r of a){if(r.length!==1)throw new Error("Cannot serialize `"+n+"` as attention with `"+r+"` as marker, expected a single ascii character");if(!M.asciiPunctuation(r.charCodeAt(0)))throw new Error("Cannot serialize `"+n+"` as attention with `"+r+"` as marker, expected ascii punctuation");for(const e of i)t.push(r.repeat(e))}return t}function O(n,a,i){const t=a.indexStack,r=n.children||[],e=[];let o=-1,c=i.before;t.push(-1);let s=a.createTracker(i);for(;++o<r.length;){const l=r[o];let h;if(t[t.length-1]=o,o+1<r.length){let u=a.handle.handlers[r[o+1].type];u&&u.peek&&(u=u.peek),h=u?v.firstCharacter(u(r[o+1],n,a,{before:"",after:"",...s.current()})):""}else h=i.after;const f=e[e.length-1];typeof f=="string"&&(c==="\r"||c===`
2
+ `)&&l.type==="html"&&I.htmlKind(l.value)!==7&&(e[e.length-1]=f.replace(/(\r?\n|\r)$/," "),c=" ",s=a.createTracker(i),s.move(q(e,i.before,i.after)));const d=a.handle.handlers[l.type];if(d&&d.attention){const u=y(l,d.attention,a,s);e.push(u),c=v.lastCharacter(u.sequences[0])}else{const u=a.handle(l,n,a,{...s.current(),after:h,before:c});if(!u)continue;s.move(u),e.push(u),c=v.lastCharacter(u)}}return t.pop(),e}function y(n,a,i,t){const{construct:r,markers:e,sizes:o}=a(n,i),c=K(n.type,e,o),s=c[0],l=i.enter(r);t.move(s);const h=O(n,i,{...t.current(),before:s,after:s});return t.move(q(h,s,s)),t.move(s),l(),{children:h,sequences:c}}function x(n,a,i,t){const r=[];let e,o=v.lastCharacter(i),c=-1;for(;++c<n.length;){const s=n[c];if(typeof s=="string"){const k={value:s,attention:void 0};e&&e===v.firstCharacter(s)&&C([k],!0),e=void 0,r.push(k),k.value&&(o=v.lastCharacter(k.value));continue}const l=a.get(s)||s.sequences[0],h=l.charAt(0),f=n[c+1],d=o,u=v.firstCharacter(f===void 0?t:typeof f=="string"?f:a.get(f)||f.sequences[0]),p=x(s.children,a,l,l),g=p.length>0?p[0].value:"",m=S.encodeInfo(d.charCodeAt(d.length-1),g.charCodeAt(0),h);m.inside&&C(p,!0);const w=p.length>0?v.lastCharacter(p[p.length-1].value):"",A=S.encodeInfo(u.charCodeAt(0),w.charCodeAt(w.length-1),h);A.inside&&C(p,!1),m.outside&&d!==`
3
+ `&&d!=="\r"&&C(r,!1),A.outside&&(e=u),r.push({value:l,attention:s},...p,{value:l,attention:s}),o=l.charAt(l.length-1)}return r}function q(n,a,i){let t=new Map;const r=x(n,t,a,i);let e=r,o=b(e,a,i);for(;o;){const s=P(n,t,o,a,i);if(!s){e=r;break}t=s.chosen,e=s.tokens,o=s.mistake}let c="";for(const s of e)c+=s.value;return c}exports.attentionItem=y;exports.serialize=q;
4
+ //# sourceMappingURL=container-phrasing.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"container-phrasing.cjs","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js"],"sourcesContent":["/**\n * @import {Attention, Handle, Info, State, Tracker} from 'mdast-util-to-markdown'\n * @import {PhrasingParents} from '../types.js'\n */\n\nimport {asciiPunctuation} from 'micromark-util-character'\nimport {classifyCharacter} from 'micromark-util-classify-character'\nimport {firstCharacter, lastCharacter} from './character.js'\nimport {encodeCharacterReference} from './encode-character-reference.js'\nimport {encodeInfo} from './encode-info.js'\nimport {htmlKind} from './html-kind.js'\n\n/**\n * Markers for builtin attention (emphasis, strong) to whether they are stricter:\n * whether they cannot open and close inside words.\n *\n * Builtin runs pair following CommonMark rules for emphasis and strong:\n * they are split,\n * using one or two markers at a time,\n * with the rule of 3.\n * Other markers pair like GFM strikethrough:\n * whole runs pair with a run of the same size.\n *\n * @type {Map<string, boolean>}\n */\nconst builtins = new Map([\n ['*', false],\n ['_', true]\n])\n\n/**\n * @typedef AttentionResult\n * Attention, of which the sequence is chosen later.\n * @property {Array<Item>} children\n * Serialized children.\n * @property {Array<string>} sequences\n * Sequences that can be used, in order of preference.\n */\n\n/**\n * @typedef Improvement\n * Improvement of attention sequences.\n * @property {Map<AttentionResult, string>} chosen\n * Chosen sequences for each attention.\n * @property {Array<Token>} tokens\n * Tokens involved in the improvement.\n * @property {Mistake | undefined} mistake\n * Mistake that led to this improvement, if any.\n */\n\n/**\n * @typedef {AttentionResult | string} Item\n * Serialized phrasing.\n */\n\n/**\n * @typedef Mistake\n * Sequence that does not form its attention.\n * @property {Array<AttentionResult>} attention\n * Attention to try other sequences for.\n * @property {number} index\n * Index of the token.\n */\n\n/**\n * @typedef Run\n * Sequences next to each other with the same marker.\n * @property {boolean} close\n * Whether it can close.\n * @property {number} end\n * Index after the last marker not used (to open).\n * @property {Array<Token>} markers\n * Sequence of each marker.\n * @property {boolean} open\n * Whether it can open.\n * @property {boolean} split\n * Whether it can be split (built-in attention).\n * @property {number} start\n * Index of the first marker not used (to close).\n * @property {Array<Token>} tokens\n * Sequences.\n */\n\n/**\n * @typedef Token\n * Rendered phrasing.\n * @property {AttentionResult | undefined} attention\n * Attention, if this is one of its sequences.\n * @property {string} value\n * Value.\n */\n\n/**\n * Get candidates for a mistake:\n * attention to try other sequences for,\n * later first.\n *\n * @param {Array<Token>} tokens\n * Tokens.\n * @param {Array<Token>} involved\n * Sequences involved in the mistake.\n * @param {Map<Token, Run>} runOf\n * Run of each sequence.\n * @returns {Array<AttentionResult>}\n * Candidates.\n */\nfunction candidates(tokens, involved, runOf) {\n /** @type {Set<AttentionResult | undefined>} */\n const related = new Set()\n\n // The attention involved, and attention in runs with its sequences.\n for (const token of tokens) {\n const siblings = runOf.get(token)\n if (\n siblings &&\n token.attention &&\n involved.some((d) => d.attention === token.attention)\n ) {\n for (const sibling of siblings.tokens) {\n related.add(sibling.attention)\n }\n }\n }\n\n /** @type {Array<AttentionResult>} */\n const ordered = []\n\n for (const token of tokens) {\n if (token.attention && related.delete(token.attention)) {\n ordered.push(token.attention)\n }\n }\n\n // Later first: attention that opens later is inner or next.\n ordered.reverse()\n return ordered\n}\n\n/**\n * Check whether sequences form their attention, like `micromark`.\n *\n * Sequences of `*` and `_` pair like emphasis and strong in CommonMark,\n * others like strikethrough in GFM.\n *\n * @param {Array<Token>} tokens\n * Tokens.\n * @param {string} before\n * Characters before.\n * @param {string} after\n * Characters after.\n * @returns {Mistake | undefined}\n * First mistake, if any.\n */\nfunction check(tokens, before, after) {\n /** @type {Array<Run>} */\n const runs = []\n /** @type {Map<Token, Array<Token>>} */\n const wrong = new Map()\n /** @type {Map<Token, Run>} */\n const runOf = new Map()\n let index = 0\n\n while (index < tokens.length) {\n if (!tokens[index].attention) {\n index++\n continue\n }\n\n const marker = tokens[index].value.charAt(0)\n const strict = builtins.get(marker)\n let end = index + 1\n\n while (\n end < tokens.length &&\n tokens[end].attention &&\n tokens[end].value.charAt(0) === marker\n ) {\n end++\n }\n\n const head = index ? tokens[index - 1].value : before\n const previous = classifyCharacter(head.charCodeAt(head.length - 1))\n const next = classifyCharacter(\n (end < tokens.length ? tokens[end].value : after).charCodeAt(0)\n )\n const open = !next || (next === 2 && Boolean(previous))\n const close = !previous || (previous === 2 && Boolean(next))\n /** @type {Run} */\n const run = {\n tokens: tokens.slice(index, end),\n markers: [],\n start: 0,\n end: 0,\n // Underscores are strict, they cannot open or close inside words.\n open: strict ? open && (Boolean(previous) || !close) : open,\n close: strict ? close && (Boolean(next) || !open) : close,\n // All builtins can split runs.\n split: strict !== undefined\n }\n\n for (const token of run.tokens) {\n // Every sequence is wrong until it pairs with its other sequence.\n wrong.set(token, [...run.tokens])\n runOf.set(token, run)\n let size = token.value.length\n while (size--) run.markers.push(token)\n }\n\n run.end = run.markers.length\n runs.push(run)\n index = end\n }\n\n pair(runs, wrong)\n\n index = -1\n\n while (++index < tokens.length) {\n const involved = wrong.get(tokens[index])\n if (involved) return {attention: candidates(tokens, involved, runOf), index}\n }\n}\n\n/**\n * Serialize the children of a parent that contains phrasing children.\n *\n * @param {PhrasingParents} parent\n * Parent of phrasing nodes.\n * @param {State} state\n * Info passed around about the current state.\n * @param {Info} info\n * Info on where we are in the document we are generating.\n * @returns {string}\n * Serialized result.\n */\nexport function containerPhrasing(parent, state, info) {\n return serialize(phrasing(parent, state, info), info.before, info.after)\n}\n\n/**\n * Encode the first or last character of tokens as a character reference,\n * if it is text.\n *\n * @param {Array<Token>} tokens\n * Tokens.\n * @param {boolean} start\n * Whether to encode the first or last character.\n * @returns {undefined}\n * Nothing.\n */\nfunction encode(tokens, start) {\n const token = tokens[start ? 0 : tokens.length - 1]\n\n if (!token || token.attention) return\n\n const character = start\n ? firstCharacter(token.value)\n : lastCharacter(token.value)\n const reference = encodeCharacterReference(\n /** @type {number} */ (character.codePointAt(0))\n )\n\n if (start) {\n token.value = reference + token.value.slice(character.length)\n } else {\n let value = token.value.slice(0, token.value.length - character.length)\n let escapes = 0\n\n while (value.charCodeAt(value.length - 1 - escapes) === 92 /* `\\` */) {\n escapes++\n }\n\n // Odd number would escape the `&` again.\n if (escapes % 2) value += '\\\\'\n token.value = value + reference\n }\n}\n\n/**\n * Try other sequences for the candidates of a mistake and use the first that\n * moves the mistake further.\n *\n * @param {Array<Item>} items\n * Items.\n * @param {Map<AttentionResult, string>} chosen\n * Sequences to use instead of preferred sequences.\n * @param {Mistake} mistake\n * Mistake.\n * @param {string} before\n * Characters before.\n * @param {string} after\n * Characters after.\n * @returns {Improvement | undefined}\n * Result if better.\n */\nfunction improve(items, chosen, mistake, before, after) {\n for (const attention of mistake.attention) {\n const current = chosen.get(attention) || attention.sequences[0]\n\n for (const sequence of attention.sequences) {\n if (sequence === current) continue\n const trial = new Map(chosen)\n trial.set(attention, sequence)\n const tokens = render(items, trial, before, after)\n const next = check(tokens, before, after)\n\n if (!next || next.index > mistake.index) {\n return {chosen: trial, mistake: next, tokens}\n }\n }\n }\n}\n\n/**\n * Pair runs like `micromark` and mark sequences that do form their attention\n * as fine.\n *\n * Each pair uses markers from the end of an opener and the start of a closer.\n * It forms the intended attention if those markers are exactly the whole\n * opening and closing sequence of one attention.\n * Otherwise attention is mixed up:\n * either sequences of different attention pair,\n * part of a sequence is used (such as `**` of strong as `*`),\n * or several sequences are used together (such as `*` and `*` as `**`).\n * Then the sequences involved are recorded with each other.\n *\n * @param {Array<Run>} runs\n * Runs.\n * @param {Map<Token, Array<Token>>} wrong\n * Sequences that are wrong, with the sequences involved.\n * @returns {undefined}\n * Nothing, `wrong` is changed.\n */\nfunction pair(runs, wrong) {\n /** @type {Map<string, Array<Run>>} */\n const openersByMarker = new Map()\n\n for (const closer of runs) {\n const marker = closer.tokens[0].value.charAt(0)\n let openers = openersByMarker.get(marker)\n\n if (!openers) {\n openers = []\n openersByMarker.set(marker, openers)\n }\n\n let open = closer.close ? openers.length : 0\n\n while (open-- && closer.start < closer.end) {\n const opener = openers[open]\n const openerSize = opener.end - opener.start\n const closerSize = closer.end - closer.start\n\n if (\n closer.split\n ? // The rule of 3, on the sizes that are left.\n (opener.close || closer.open) &&\n closerSize % 3 &&\n !((openerSize + closerSize) % 3)\n : // Others pair whole runs of the same size.\n openerSize !== opener.markers.length || openerSize !== closerSize\n ) {\n continue\n }\n\n const size = closer.split\n ? openerSize > 1 && closerSize > 1\n ? 2\n : 1\n : closerSize\n const opening = opener.markers.slice(opener.end - size, opener.end)\n const closing = closer.markers.slice(closer.start, closer.start + size)\n const openToken = opening[0]\n const closeToken = closing[0]\n\n if (\n // Whole sequences:\n // the markers of a sequence are next to each other,\n // so if the first and last marker are of one sequence of that size,\n // all markers are exactly that sequence.\n openToken === opening[size - 1] &&\n openToken.value.length === size &&\n closeToken === closing[size - 1] &&\n closeToken.value.length === size &&\n // Of the same attention, so its opening and closing sequence.\n openToken.attention === closeToken.attention\n ) {\n wrong.delete(openToken)\n wrong.delete(closeToken)\n } else {\n const involved = [...new Set([...opening, ...closing])]\n // Add to what is involved already: a sequence can be in several pairs.\n for (const token of involved) {\n const list = wrong.get(token)\n if (list) list.push(...involved)\n }\n }\n\n opener.end -= size\n closer.start += size\n\n if (opener.start === opener.end) openers.splice(open, 1)\n\n // Search again from the start, as this run may close more.\n open = openers.length\n }\n\n if (closer.open && closer.start < closer.end) openers.push(closer)\n }\n}\n\n/**\n * Get the sequences that can be used for attention, in order of preference.\n *\n * @param {string} type\n * Node type.\n * @param {Array<string>} markers\n * Markers.\n * @param {Array<number>} sizes\n * Sizes.\n * @returns {Array<string>}\n * Sequences.\n */\nfunction attentionSequences(type, markers, sizes) {\n if (markers.length === 0) {\n throw new Error(\n 'Cannot serialize `' +\n type +\n '` as attention without markers, expected one or more markers'\n )\n }\n\n if (sizes.length === 0) {\n throw new Error(\n 'Cannot serialize `' +\n type +\n '` as attention without sizes, expected one or more sizes'\n )\n }\n\n for (const size of sizes) {\n if (!Number.isSafeInteger(size) || size < 1) {\n throw new Error(\n 'Cannot serialize `' +\n type +\n '` as attention with `' +\n size +\n '` as size, expected positive integer'\n )\n }\n }\n\n /** @type {Array<string>} */\n const sequences = []\n\n for (const marker of markers) {\n if (marker.length !== 1) {\n throw new Error(\n 'Cannot serialize `' +\n type +\n '` as attention with `' +\n marker +\n '` as marker, expected a single ascii character'\n )\n }\n\n if (!asciiPunctuation(marker.charCodeAt(0))) {\n throw new Error(\n 'Cannot serialize `' +\n type +\n '` as attention with `' +\n marker +\n '` as marker, expected ascii punctuation'\n )\n }\n\n for (const size of sizes) {\n sequences.push(marker.repeat(size))\n }\n }\n\n return sequences\n}\n\n/**\n * Serialize the children of a parent that contains phrasing children,\n * keeping attention separate,\n * so that its markers can be chosen later.\n *\n * @param {PhrasingParents} parent\n * Parent of phrasing nodes.\n * @param {State} state\n * Info passed around about the current state.\n * @param {Info} info\n * Info on where we are in the document we are generating.\n * @returns {Array<Item>}\n * Items.\n */\nfunction phrasing(parent, state, info) {\n const indexStack = state.indexStack\n const children = parent.children || []\n /** @type {Array<Item>} */\n const results = []\n let index = -1\n let before = info.before\n\n indexStack.push(-1)\n let tracker = state.createTracker(info)\n\n while (++index < children.length) {\n const child = children[index]\n /** @type {string} */\n let after\n\n indexStack[indexStack.length - 1] = index\n\n if (index + 1 < children.length) {\n /** @type {Handle} */\n // @ts-expect-error: hush, it’s actually a `zwitch`.\n let handle = state.handle.handlers[children[index + 1].type]\n // @ts-expect-error: hush, it’s actually a `zwitch`.\n if (handle && handle.peek) handle = handle.peek\n after = handle\n ? firstCharacter(\n handle(children[index + 1], parent, state, {\n before: '',\n after: '',\n ...tracker.current()\n })\n )\n : ''\n } else {\n after = info.after\n }\n\n // In some cases, html (text) can be found in phrasing right after an eol.\n // When we’d serialize that, it could be seen as html (flow): all its kinds\n // except 7 can interrupt a paragraph.\n // As we can’t escape or so to prevent it from happening,\n // we take a somewhat reasonable approach:\n // replace that eol with a space.\n // See: <https://github.com/syntax-tree/mdast-util-to-markdown/issues/15>\n const previous = results[results.length - 1]\n\n if (\n typeof previous === 'string' &&\n (before === '\\r' || before === '\\n') &&\n child.type === 'html' &&\n htmlKind(child.value) !== 7\n ) {\n results[results.length - 1] = previous.replace(/(\\r?\\n|\\r)$/, ' ')\n before = ' '\n\n // To do: does this work to reset tracker?\n tracker = state.createTracker(info)\n tracker.move(serialize(results, info.before, info.after))\n }\n\n /** @type {(Handle & {attention?: Attention | undefined}) | undefined} */\n // @ts-expect-error: hush, it’s actually a `zwitch`.\n const handle = state.handle.handlers[child.type]\n\n if (handle && handle.attention) {\n const item = attentionItem(\n /** @type {PhrasingParents} */ (child),\n handle.attention,\n state,\n tracker\n )\n results.push(item)\n before = lastCharacter(item.sequences[0])\n } else {\n const value = state.handle(child, parent, state, {\n ...tracker.current(),\n after,\n before\n })\n\n if (!value) continue\n tracker.move(value)\n results.push(value)\n before = lastCharacter(value)\n }\n }\n\n indexStack.pop()\n\n return results\n}\n\n/**\n * Serialize a node as attention,\n * with its sequence chosen later.\n *\n * @param {PhrasingParents} node\n * Node.\n * @param {Attention} attention\n * Attention of the node.\n * @param {State} state\n * Info passed around about the current state.\n * @param {Tracker} tracker\n * Tracker.\n * @returns {AttentionResult}\n * Attention.\n */\nexport function attentionItem(node, attention, state, tracker) {\n const {construct, markers, sizes} = attention(node, state)\n const sequences = attentionSequences(node.type, markers, sizes)\n const sequence = sequences[0]\n const exit = state.enter(construct)\n tracker.move(sequence)\n const children = phrasing(node, state, {\n ...tracker.current(),\n before: sequence,\n after: sequence\n })\n tracker.move(serialize(children, sequence, sequence))\n tracker.move(sequence)\n exit()\n return {children, sequences}\n}\n\n/**\n * Render items with sequences;\n * encoding characters around attention where needed.\n *\n * @param {Array<Item>} items\n * Serialized phrasing.\n * @param {Map<AttentionResult, string>} chosen\n * Sequences to use instead of preferred sequences.\n * @param {string} before\n * Characters before.\n * @param {string} after\n * Characters after.\n * @returns {Array<Token>}\n * Tokens.\n */\nfunction render(items, chosen, before, after) {\n /** @type {Array<Token>} */\n const tokens = []\n /** @type {string | undefined} */\n let encodeAfter\n let previous = lastCharacter(before)\n let index = -1\n\n while (++index < items.length) {\n const item = items[index]\n\n if (typeof item === 'string') {\n /** @type {Token} */\n const token = {value: item, attention: undefined}\n\n // If attention before had to encode the character after it, encode it.\n if (encodeAfter && encodeAfter === firstCharacter(item)) {\n encode([token], true)\n }\n\n encodeAfter = undefined\n tokens.push(token)\n if (token.value) previous = lastCharacter(token.value)\n continue\n }\n\n const sequence = chosen.get(item) || item.sequences[0]\n const marker = sequence.charAt(0)\n const next = items[index + 1]\n const outsideBefore = previous\n const outsideAfter = firstCharacter(\n next === undefined\n ? after\n : typeof next === 'string'\n ? next\n : chosen.get(next) || next.sequences[0]\n )\n const inside = render(item.children, chosen, sequence, sequence)\n const head = inside.length > 0 ? inside[0].value : ''\n const open = encodeInfo(\n outsideBefore.charCodeAt(outsideBefore.length - 1),\n head.charCodeAt(0),\n marker\n )\n\n if (open.inside) encode(inside, true)\n\n const tail =\n inside.length > 0 ? lastCharacter(inside[inside.length - 1].value) : ''\n const close = encodeInfo(\n outsideAfter.charCodeAt(0),\n tail.charCodeAt(tail.length - 1),\n marker\n )\n\n if (close.inside) encode(inside, false)\n\n if (open.outside && outsideBefore !== '\\n' && outsideBefore !== '\\r') {\n encode(tokens, false)\n }\n\n if (close.outside) encodeAfter = outsideAfter\n\n tokens.push({value: sequence, attention: item}, ...inside, {\n value: sequence,\n attention: item\n })\n previous = sequence.charAt(sequence.length - 1)\n }\n\n return tokens\n}\n\n/**\n * Serialize phrasing with attention.\n *\n * Whether attention forms depends on everything around it.\n * This checks that it does and tries other sequences if not.\n *\n * @param {Array<Item>} items\n * Phrasing items.\n * @param {string} before\n * Characters before.\n * @param {string} after\n * Characters after.\n * @returns {string}\n * Serialized markdown.\n */\nexport function serialize(items, before, after) {\n /** @type {Map<AttentionResult, string>} */\n let chosen = new Map()\n const initial = render(items, chosen, before, after)\n let tokens = initial\n let mistake = check(tokens, before, after)\n\n while (mistake) {\n const next = improve(items, chosen, mistake, before, after)\n\n if (!next) {\n tokens = initial\n break\n }\n\n chosen = next.chosen\n tokens = next.tokens\n mistake = next.mistake\n }\n\n // Join the tokens.\n let result = ''\n for (const token of tokens) result += token.value\n return result\n}\n"],"names":["builtins","candidates","tokens","involved","runOf","related","token","siblings","d","sibling","ordered","check","before","after","runs","wrong","index","marker","strict","end","head","previous","classifyCharacter","next","open","close","run","size","pair","encode","start","character","firstCharacter","lastCharacter","reference","encodeCharacterReference","value","escapes","improve","items","chosen","mistake","attention","current","sequence","trial","render","openersByMarker","closer","openers","opener","openerSize","closerSize","opening","closing","openToken","closeToken","list","attentionSequences","type","markers","sizes","sequences","asciiPunctuation","phrasing","parent","state","info","indexStack","children","results","tracker","child","handle","htmlKind","serialize","item","attentionItem","node","construct","exit","encodeAfter","outsideBefore","outsideAfter","inside","encodeInfo","tail","initial","result"],"mappings":"wVAyBMA,EAAW,IAAI,IAAI,CACvB,CAAC,IAAK,EAAK,EACX,CAAC,IAAK,EAAI,CACZ,CAAC,EA8ED,SAASC,EAAWC,EAAQC,EAAUC,EAAO,CAE3C,MAAMC,EAAU,IAAI,IAGpB,UAAWC,KAASJ,EAAQ,CAC1B,MAAMK,EAAWH,EAAM,IAAIE,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B,MAC9DrD,EAAO3B,EAAQ,EAAK,EAGlBuB,EAAM,UAASwD,EAAcE,GAEjCjF,EAAO,KAAK,CAAC,MAAO0C,EAAU,UAAWgC,CAAI,EAAG,GAAGQ,EAAQ,CACzD,MAAOxC,EACP,UAAWgC,CACjB,CAAK,EACDvD,EAAWuB,EAAS,OAAOA,EAAS,OAAS,CAAC,CAChD,CAEA,OAAO1C,CACT,CAiBO,SAASyE,EAAUpC,EAAO3B,EAAQC,EAAO,CAE9C,IAAI2B,EAAS,IAAI,IACjB,MAAM+C,EAAUzC,EAAOP,EAAOC,EAAQ5B,EAAQC,CAAK,EACnD,IAAIX,EAASqF,EACT9C,EAAU9B,EAAMT,EAAQU,EAAQC,CAAK,EAEzC,KAAO4B,GAAS,CACd,MAAMlB,EAAOe,EAAQC,EAAOC,EAAQC,EAAS7B,EAAQC,CAAK,EAE1D,GAAI,CAACU,EAAM,CACTrB,EAASqF,EACT,KACF,CAEA/C,EAASjB,EAAK,OACdrB,EAASqB,EAAK,OACdkB,EAAUlB,EAAK,OACjB,CAGA,IAAIiE,EAAS,GACb,UAAWlF,KAASJ,EAAQsF,GAAUlF,EAAM,MAC5C,OAAOkF,CACT","x_google_ignoreList":[0]}
@@ -0,0 +1,263 @@
1
+ import { asciiPunctuation as B } from "../../../micromark-util-character/index.es.js";
2
+ import { classifyCharacter as q } from "../../../micromark-util-classify-character/index.es.js";
3
+ import { firstCharacter as C, lastCharacter as w } from "./character.es.js";
4
+ import { encodeCharacterReference as y } from "./encode-character-reference.es.js";
5
+ import { encodeInfo as S } from "./encode-info.es.js";
6
+ import { htmlKind as E } from "./html-kind.es.js";
7
+ const T = /* @__PURE__ */ new Map([
8
+ ["*", !1],
9
+ ["_", !0]
10
+ ]);
11
+ function I(n, a, i) {
12
+ const t = /* @__PURE__ */ new Set();
13
+ for (const e of n) {
14
+ const o = i.get(e);
15
+ if (o && e.attention && a.some((c) => c.attention === e.attention))
16
+ for (const c of o.tokens)
17
+ t.add(c.attention);
18
+ }
19
+ const r = [];
20
+ for (const e of n)
21
+ e.attention && t.delete(e.attention) && r.push(e.attention);
22
+ return r.reverse(), r;
23
+ }
24
+ function b(n, a, i) {
25
+ const t = [], r = /* @__PURE__ */ new Map(), e = /* @__PURE__ */ new Map();
26
+ let o = 0;
27
+ for (; o < n.length; ) {
28
+ if (!n[o].attention) {
29
+ o++;
30
+ continue;
31
+ }
32
+ const c = n[o].value.charAt(0), s = T.get(c);
33
+ let l = o + 1;
34
+ for (; l < n.length && n[l].attention && n[l].value.charAt(0) === c; )
35
+ l++;
36
+ const h = o ? n[o - 1].value : a, f = q(h.charCodeAt(h.length - 1)), d = q(
37
+ (l < n.length ? n[l].value : i).charCodeAt(0)
38
+ ), u = !d || d === 2 && !!f, p = !f || f === 2 && !!d, g = {
39
+ tokens: n.slice(o, l),
40
+ markers: [],
41
+ start: 0,
42
+ end: 0,
43
+ // Underscores are strict, they cannot open or close inside words.
44
+ open: s ? u && (!!f || !p) : u,
45
+ close: s ? p && (!!d || !u) : p,
46
+ // All builtins can split runs.
47
+ split: s !== void 0
48
+ };
49
+ for (const v of g.tokens) {
50
+ r.set(v, [...g.tokens]), e.set(v, g);
51
+ let m = v.value.length;
52
+ for (; m--; ) g.markers.push(v);
53
+ }
54
+ g.end = g.markers.length, t.push(g), o = l;
55
+ }
56
+ for (K(t, r), o = -1; ++o < n.length; ) {
57
+ const c = r.get(n[o]);
58
+ if (c) return { attention: I(n, c, e), index: o };
59
+ }
60
+ }
61
+ function x(n, a) {
62
+ const i = n[a ? 0 : n.length - 1];
63
+ if (!i || i.attention) return;
64
+ const t = a ? C(i.value) : w(i.value), r = y(
65
+ /** @type {number} */
66
+ t.codePointAt(0)
67
+ );
68
+ if (a)
69
+ i.value = r + i.value.slice(t.length);
70
+ else {
71
+ let e = i.value.slice(0, i.value.length - t.length), o = 0;
72
+ for (; e.charCodeAt(e.length - 1 - o) === 92; )
73
+ o++;
74
+ o % 2 && (e += "\\"), i.value = e + r;
75
+ }
76
+ }
77
+ function P(n, a, i, t, r) {
78
+ for (const e of i.attention) {
79
+ const o = a.get(e) || e.sequences[0];
80
+ for (const c of e.sequences) {
81
+ if (c === o) continue;
82
+ const s = new Map(a);
83
+ s.set(e, c);
84
+ const l = A(n, s, t, r), h = b(l, t, r);
85
+ if (!h || h.index > i.index)
86
+ return { chosen: s, mistake: h, tokens: l };
87
+ }
88
+ }
89
+ }
90
+ function K(n, a) {
91
+ const i = /* @__PURE__ */ new Map();
92
+ for (const t of n) {
93
+ const r = t.tokens[0].value.charAt(0);
94
+ let e = i.get(r);
95
+ e || (e = [], i.set(r, e));
96
+ let o = t.close ? e.length : 0;
97
+ for (; o-- && t.start < t.end; ) {
98
+ const c = e[o], s = c.end - c.start, l = t.end - t.start;
99
+ if (t.split ? (
100
+ // The rule of 3, on the sizes that are left.
101
+ (c.close || t.open) && l % 3 && !((s + l) % 3)
102
+ ) : (
103
+ // Others pair whole runs of the same size.
104
+ s !== c.markers.length || s !== l
105
+ ))
106
+ continue;
107
+ const h = t.split ? s > 1 && l > 1 ? 2 : 1 : l, f = c.markers.slice(c.end - h, c.end), d = t.markers.slice(t.start, t.start + h), u = f[0], p = d[0];
108
+ if (
109
+ // Whole sequences:
110
+ // the markers of a sequence are next to each other,
111
+ // so if the first and last marker are of one sequence of that size,
112
+ // all markers are exactly that sequence.
113
+ u === f[h - 1] && u.value.length === h && p === d[h - 1] && p.value.length === h && // Of the same attention, so its opening and closing sequence.
114
+ u.attention === p.attention
115
+ )
116
+ a.delete(u), a.delete(p);
117
+ else {
118
+ const g = [.../* @__PURE__ */ new Set([...f, ...d])];
119
+ for (const v of g) {
120
+ const m = a.get(v);
121
+ m && m.push(...g);
122
+ }
123
+ }
124
+ c.end -= h, t.start += h, c.start === c.end && e.splice(o, 1), o = e.length;
125
+ }
126
+ t.open && t.start < t.end && e.push(t);
127
+ }
128
+ }
129
+ function N(n, a, i) {
130
+ if (a.length === 0)
131
+ throw new Error(
132
+ "Cannot serialize `" + n + "` as attention without markers, expected one or more markers"
133
+ );
134
+ if (i.length === 0)
135
+ throw new Error(
136
+ "Cannot serialize `" + n + "` as attention without sizes, expected one or more sizes"
137
+ );
138
+ for (const r of i)
139
+ if (!Number.isSafeInteger(r) || r < 1)
140
+ throw new Error(
141
+ "Cannot serialize `" + n + "` as attention with `" + r + "` as size, expected positive integer"
142
+ );
143
+ const t = [];
144
+ for (const r of a) {
145
+ if (r.length !== 1)
146
+ throw new Error(
147
+ "Cannot serialize `" + n + "` as attention with `" + r + "` as marker, expected a single ascii character"
148
+ );
149
+ if (!B(r.charCodeAt(0)))
150
+ throw new Error(
151
+ "Cannot serialize `" + n + "` as attention with `" + r + "` as marker, expected ascii punctuation"
152
+ );
153
+ for (const e of i)
154
+ t.push(r.repeat(e));
155
+ }
156
+ return t;
157
+ }
158
+ function O(n, a, i) {
159
+ const t = a.indexStack, r = n.children || [], e = [];
160
+ let o = -1, c = i.before;
161
+ t.push(-1);
162
+ let s = a.createTracker(i);
163
+ for (; ++o < r.length; ) {
164
+ const l = r[o];
165
+ let h;
166
+ if (t[t.length - 1] = o, o + 1 < r.length) {
167
+ let u = a.handle.handlers[r[o + 1].type];
168
+ u && u.peek && (u = u.peek), h = u ? C(
169
+ u(r[o + 1], n, a, {
170
+ before: "",
171
+ after: "",
172
+ ...s.current()
173
+ })
174
+ ) : "";
175
+ } else
176
+ h = i.after;
177
+ const f = e[e.length - 1];
178
+ typeof f == "string" && (c === "\r" || c === `
179
+ `) && l.type === "html" && E(l.value) !== 7 && (e[e.length - 1] = f.replace(/(\r?\n|\r)$/, " "), c = " ", s = a.createTracker(i), s.move(M(e, i.before, i.after)));
180
+ const d = a.handle.handlers[l.type];
181
+ if (d && d.attention) {
182
+ const u = R(
183
+ /** @type {PhrasingParents} */
184
+ l,
185
+ d.attention,
186
+ a,
187
+ s
188
+ );
189
+ e.push(u), c = w(u.sequences[0]);
190
+ } else {
191
+ const u = a.handle(l, n, a, {
192
+ ...s.current(),
193
+ after: h,
194
+ before: c
195
+ });
196
+ if (!u) continue;
197
+ s.move(u), e.push(u), c = w(u);
198
+ }
199
+ }
200
+ return t.pop(), e;
201
+ }
202
+ function R(n, a, i, t) {
203
+ const { construct: r, markers: e, sizes: o } = a(n, i), c = N(n.type, e, o), s = c[0], l = i.enter(r);
204
+ t.move(s);
205
+ const h = O(n, i, {
206
+ ...t.current(),
207
+ before: s,
208
+ after: s
209
+ });
210
+ return t.move(M(h, s, s)), t.move(s), l(), { children: h, sequences: c };
211
+ }
212
+ function A(n, a, i, t) {
213
+ const r = [];
214
+ let e, o = w(i), c = -1;
215
+ for (; ++c < n.length; ) {
216
+ const s = n[c];
217
+ if (typeof s == "string") {
218
+ const k = { value: s, attention: void 0 };
219
+ e && e === C(s) && x([k], !0), e = void 0, r.push(k), k.value && (o = w(k.value));
220
+ continue;
221
+ }
222
+ const l = a.get(s) || s.sequences[0], h = l.charAt(0), f = n[c + 1], d = o, u = C(
223
+ f === void 0 ? t : typeof f == "string" ? f : a.get(f) || f.sequences[0]
224
+ ), p = A(s.children, a, l, l), g = p.length > 0 ? p[0].value : "", v = S(
225
+ d.charCodeAt(d.length - 1),
226
+ g.charCodeAt(0),
227
+ h
228
+ );
229
+ v.inside && x(p, !0);
230
+ const m = p.length > 0 ? w(p[p.length - 1].value) : "", z = S(
231
+ u.charCodeAt(0),
232
+ m.charCodeAt(m.length - 1),
233
+ h
234
+ );
235
+ z.inside && x(p, !1), v.outside && d !== `
236
+ ` && d !== "\r" && x(r, !1), z.outside && (e = u), r.push({ value: l, attention: s }, ...p, {
237
+ value: l,
238
+ attention: s
239
+ }), o = l.charAt(l.length - 1);
240
+ }
241
+ return r;
242
+ }
243
+ function M(n, a, i) {
244
+ let t = /* @__PURE__ */ new Map();
245
+ const r = A(n, t, a, i);
246
+ let e = r, o = b(e, a, i);
247
+ for (; o; ) {
248
+ const s = P(n, t, o, a, i);
249
+ if (!s) {
250
+ e = r;
251
+ break;
252
+ }
253
+ t = s.chosen, e = s.tokens, o = s.mistake;
254
+ }
255
+ let c = "";
256
+ for (const s of e) c += s.value;
257
+ return c;
258
+ }
259
+ export {
260
+ R as attentionItem,
261
+ M as serialize
262
+ };
263
+ //# sourceMappingURL=container-phrasing.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"container-phrasing.es.js","sources":["../../../../../node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js"],"sourcesContent":["/**\n * @import {Attention, Handle, Info, State, Tracker} from 'mdast-util-to-markdown'\n * @import {PhrasingParents} from '../types.js'\n */\n\nimport {asciiPunctuation} from 'micromark-util-character'\nimport {classifyCharacter} from 'micromark-util-classify-character'\nimport {firstCharacter, lastCharacter} from './character.js'\nimport {encodeCharacterReference} from './encode-character-reference.js'\nimport {encodeInfo} from './encode-info.js'\nimport {htmlKind} from './html-kind.js'\n\n/**\n * Markers for builtin attention (emphasis, strong) to whether they are stricter:\n * whether they cannot open and close inside words.\n *\n * Builtin runs pair following CommonMark rules for emphasis and strong:\n * they are split,\n * using one or two markers at a time,\n * with the rule of 3.\n * Other markers pair like GFM strikethrough:\n * whole runs pair with a run of the same size.\n *\n * @type {Map<string, boolean>}\n */\nconst builtins = new Map([\n ['*', false],\n ['_', true]\n])\n\n/**\n * @typedef AttentionResult\n * Attention, of which the sequence is chosen later.\n * @property {Array<Item>} children\n * Serialized children.\n * @property {Array<string>} sequences\n * Sequences that can be used, in order of preference.\n */\n\n/**\n * @typedef Improvement\n * Improvement of attention sequences.\n * @property {Map<AttentionResult, string>} chosen\n * Chosen sequences for each attention.\n * @property {Array<Token>} tokens\n * Tokens involved in the improvement.\n * @property {Mistake | undefined} mistake\n * Mistake that led to this improvement, if any.\n */\n\n/**\n * @typedef {AttentionResult | string} Item\n * Serialized phrasing.\n */\n\n/**\n * @typedef Mistake\n * Sequence that does not form its attention.\n * @property {Array<AttentionResult>} attention\n * Attention to try other sequences for.\n * @property {number} index\n * Index of the token.\n */\n\n/**\n * @typedef Run\n * Sequences next to each other with the same marker.\n * @property {boolean} close\n * Whether it can close.\n * @property {number} end\n * Index after the last marker not used (to open).\n * @property {Array<Token>} markers\n * Sequence of each marker.\n * @property {boolean} open\n * Whether it can open.\n * @property {boolean} split\n * Whether it can be split (built-in attention).\n * @property {number} start\n * Index of the first marker not used (to close).\n * @property {Array<Token>} tokens\n * Sequences.\n */\n\n/**\n * @typedef Token\n * Rendered phrasing.\n * @property {AttentionResult | undefined} attention\n * Attention, if this is one of its sequences.\n * @property {string} value\n * Value.\n */\n\n/**\n * Get candidates for a mistake:\n * attention to try other sequences for,\n * later first.\n *\n * @param {Array<Token>} tokens\n * Tokens.\n * @param {Array<Token>} involved\n * Sequences involved in the mistake.\n * @param {Map<Token, Run>} runOf\n * Run of each sequence.\n * @returns {Array<AttentionResult>}\n * Candidates.\n */\nfunction candidates(tokens, involved, runOf) {\n /** @type {Set<AttentionResult | undefined>} */\n const related = new Set()\n\n // The attention involved, and attention in runs with its sequences.\n for (const token of tokens) {\n const siblings = runOf.get(token)\n if (\n siblings &&\n token.attention &&\n involved.some((d) => d.attention === token.attention)\n ) {\n for (const sibling of siblings.tokens) {\n related.add(sibling.attention)\n }\n }\n }\n\n /** @type {Array<AttentionResult>} */\n const ordered = []\n\n for (const token of tokens) {\n if (token.attention && related.delete(token.attention)) {\n ordered.push(token.attention)\n }\n }\n\n // Later first: attention that opens later is inner or next.\n ordered.reverse()\n return ordered\n}\n\n/**\n * Check whether sequences form their attention, like `micromark`.\n *\n * Sequences of `*` and `_` pair like emphasis and strong in CommonMark,\n * others like strikethrough in GFM.\n *\n * @param {Array<Token>} tokens\n * Tokens.\n * @param {string} before\n * Characters before.\n * @param {string} after\n * Characters after.\n * @returns {Mistake | undefined}\n * First mistake, if any.\n */\nfunction check(tokens, before, after) {\n /** @type {Array<Run>} */\n const runs = []\n /** @type {Map<Token, Array<Token>>} */\n const wrong = new Map()\n /** @type {Map<Token, Run>} */\n const runOf = new Map()\n let index = 0\n\n while (index < tokens.length) {\n if (!tokens[index].attention) {\n index++\n continue\n }\n\n const marker = tokens[index].value.charAt(0)\n const strict = builtins.get(marker)\n let end = index + 1\n\n while (\n end < tokens.length &&\n tokens[end].attention &&\n tokens[end].value.charAt(0) === marker\n ) {\n end++\n }\n\n const head = index ? tokens[index - 1].value : before\n const previous = classifyCharacter(head.charCodeAt(head.length - 1))\n const next = classifyCharacter(\n (end < tokens.length ? tokens[end].value : after).charCodeAt(0)\n )\n const open = !next || (next === 2 && Boolean(previous))\n const close = !previous || (previous === 2 && Boolean(next))\n /** @type {Run} */\n const run = {\n tokens: tokens.slice(index, end),\n markers: [],\n start: 0,\n end: 0,\n // Underscores are strict, they cannot open or close inside words.\n open: strict ? open && (Boolean(previous) || !close) : open,\n close: strict ? close && (Boolean(next) || !open) : close,\n // All builtins can split runs.\n split: strict !== undefined\n }\n\n for (const token of run.tokens) {\n // Every sequence is wrong until it pairs with its other sequence.\n wrong.set(token, [...run.tokens])\n runOf.set(token, run)\n let size = token.value.length\n while (size--) run.markers.push(token)\n }\n\n run.end = run.markers.length\n runs.push(run)\n index = end\n }\n\n pair(runs, wrong)\n\n index = -1\n\n while (++index < tokens.length) {\n const involved = wrong.get(tokens[index])\n if (involved) return {attention: candidates(tokens, involved, runOf), index}\n }\n}\n\n/**\n * Serialize the children of a parent that contains phrasing children.\n *\n * @param {PhrasingParents} parent\n * Parent of phrasing nodes.\n * @param {State} state\n * Info passed around about the current state.\n * @param {Info} info\n * Info on where we are in the document we are generating.\n * @returns {string}\n * Serialized result.\n */\nexport function containerPhrasing(parent, state, info) {\n return serialize(phrasing(parent, state, info), info.before, info.after)\n}\n\n/**\n * Encode the first or last character of tokens as a character reference,\n * if it is text.\n *\n * @param {Array<Token>} tokens\n * Tokens.\n * @param {boolean} start\n * Whether to encode the first or last character.\n * @returns {undefined}\n * Nothing.\n */\nfunction encode(tokens, start) {\n const token = tokens[start ? 0 : tokens.length - 1]\n\n if (!token || token.attention) return\n\n const character = start\n ? firstCharacter(token.value)\n : lastCharacter(token.value)\n const reference = encodeCharacterReference(\n /** @type {number} */ (character.codePointAt(0))\n )\n\n if (start) {\n token.value = reference + token.value.slice(character.length)\n } else {\n let value = token.value.slice(0, token.value.length - character.length)\n let escapes = 0\n\n while (value.charCodeAt(value.length - 1 - escapes) === 92 /* `\\` */) {\n escapes++\n }\n\n // Odd number would escape the `&` again.\n if (escapes % 2) value += '\\\\'\n token.value = value + reference\n }\n}\n\n/**\n * Try other sequences for the candidates of a mistake and use the first that\n * moves the mistake further.\n *\n * @param {Array<Item>} items\n * Items.\n * @param {Map<AttentionResult, string>} chosen\n * Sequences to use instead of preferred sequences.\n * @param {Mistake} mistake\n * Mistake.\n * @param {string} before\n * Characters before.\n * @param {string} after\n * Characters after.\n * @returns {Improvement | undefined}\n * Result if better.\n */\nfunction improve(items, chosen, mistake, before, after) {\n for (const attention of mistake.attention) {\n const current = chosen.get(attention) || attention.sequences[0]\n\n for (const sequence of attention.sequences) {\n if (sequence === current) continue\n const trial = new Map(chosen)\n trial.set(attention, sequence)\n const tokens = render(items, trial, before, after)\n const next = check(tokens, before, after)\n\n if (!next || next.index > mistake.index) {\n return {chosen: trial, mistake: next, tokens}\n }\n }\n }\n}\n\n/**\n * Pair runs like `micromark` and mark sequences that do form their attention\n * as fine.\n *\n * Each pair uses markers from the end of an opener and the start of a closer.\n * It forms the intended attention if those markers are exactly the whole\n * opening and closing sequence of one attention.\n * Otherwise attention is mixed up:\n * either sequences of different attention pair,\n * part of a sequence is used (such as `**` of strong as `*`),\n * or several sequences are used together (such as `*` and `*` as `**`).\n * Then the sequences involved are recorded with each other.\n *\n * @param {Array<Run>} runs\n * Runs.\n * @param {Map<Token, Array<Token>>} wrong\n * Sequences that are wrong, with the sequences involved.\n * @returns {undefined}\n * Nothing, `wrong` is changed.\n */\nfunction pair(runs, wrong) {\n /** @type {Map<string, Array<Run>>} */\n const openersByMarker = new Map()\n\n for (const closer of runs) {\n const marker = closer.tokens[0].value.charAt(0)\n let openers = openersByMarker.get(marker)\n\n if (!openers) {\n openers = []\n openersByMarker.set(marker, openers)\n }\n\n let open = closer.close ? openers.length : 0\n\n while (open-- && closer.start < closer.end) {\n const opener = openers[open]\n const openerSize = opener.end - opener.start\n const closerSize = closer.end - closer.start\n\n if (\n closer.split\n ? // The rule of 3, on the sizes that are left.\n (opener.close || closer.open) &&\n closerSize % 3 &&\n !((openerSize + closerSize) % 3)\n : // Others pair whole runs of the same size.\n openerSize !== opener.markers.length || openerSize !== closerSize\n ) {\n continue\n }\n\n const size = closer.split\n ? openerSize > 1 && closerSize > 1\n ? 2\n : 1\n : closerSize\n const opening = opener.markers.slice(opener.end - size, opener.end)\n const closing = closer.markers.slice(closer.start, closer.start + size)\n const openToken = opening[0]\n const closeToken = closing[0]\n\n if (\n // Whole sequences:\n // the markers of a sequence are next to each other,\n // so if the first and last marker are of one sequence of that size,\n // all markers are exactly that sequence.\n openToken === opening[size - 1] &&\n openToken.value.length === size &&\n closeToken === closing[size - 1] &&\n closeToken.value.length === size &&\n // Of the same attention, so its opening and closing sequence.\n openToken.attention === closeToken.attention\n ) {\n wrong.delete(openToken)\n wrong.delete(closeToken)\n } else {\n const involved = [...new Set([...opening, ...closing])]\n // Add to what is involved already: a sequence can be in several pairs.\n for (const token of involved) {\n const list = wrong.get(token)\n if (list) list.push(...involved)\n }\n }\n\n opener.end -= size\n closer.start += size\n\n if (opener.start === opener.end) openers.splice(open, 1)\n\n // Search again from the start, as this run may close more.\n open = openers.length\n }\n\n if (closer.open && closer.start < closer.end) openers.push(closer)\n }\n}\n\n/**\n * Get the sequences that can be used for attention, in order of preference.\n *\n * @param {string} type\n * Node type.\n * @param {Array<string>} markers\n * Markers.\n * @param {Array<number>} sizes\n * Sizes.\n * @returns {Array<string>}\n * Sequences.\n */\nfunction attentionSequences(type, markers, sizes) {\n if (markers.length === 0) {\n throw new Error(\n 'Cannot serialize `' +\n type +\n '` as attention without markers, expected one or more markers'\n )\n }\n\n if (sizes.length === 0) {\n throw new Error(\n 'Cannot serialize `' +\n type +\n '` as attention without sizes, expected one or more sizes'\n )\n }\n\n for (const size of sizes) {\n if (!Number.isSafeInteger(size) || size < 1) {\n throw new Error(\n 'Cannot serialize `' +\n type +\n '` as attention with `' +\n size +\n '` as size, expected positive integer'\n )\n }\n }\n\n /** @type {Array<string>} */\n const sequences = []\n\n for (const marker of markers) {\n if (marker.length !== 1) {\n throw new Error(\n 'Cannot serialize `' +\n type +\n '` as attention with `' +\n marker +\n '` as marker, expected a single ascii character'\n )\n }\n\n if (!asciiPunctuation(marker.charCodeAt(0))) {\n throw new Error(\n 'Cannot serialize `' +\n type +\n '` as attention with `' +\n marker +\n '` as marker, expected ascii punctuation'\n )\n }\n\n for (const size of sizes) {\n sequences.push(marker.repeat(size))\n }\n }\n\n return sequences\n}\n\n/**\n * Serialize the children of a parent that contains phrasing children,\n * keeping attention separate,\n * so that its markers can be chosen later.\n *\n * @param {PhrasingParents} parent\n * Parent of phrasing nodes.\n * @param {State} state\n * Info passed around about the current state.\n * @param {Info} info\n * Info on where we are in the document we are generating.\n * @returns {Array<Item>}\n * Items.\n */\nfunction phrasing(parent, state, info) {\n const indexStack = state.indexStack\n const children = parent.children || []\n /** @type {Array<Item>} */\n const results = []\n let index = -1\n let before = info.before\n\n indexStack.push(-1)\n let tracker = state.createTracker(info)\n\n while (++index < children.length) {\n const child = children[index]\n /** @type {string} */\n let after\n\n indexStack[indexStack.length - 1] = index\n\n if (index + 1 < children.length) {\n /** @type {Handle} */\n // @ts-expect-error: hush, it’s actually a `zwitch`.\n let handle = state.handle.handlers[children[index + 1].type]\n // @ts-expect-error: hush, it’s actually a `zwitch`.\n if (handle && handle.peek) handle = handle.peek\n after = handle\n ? firstCharacter(\n handle(children[index + 1], parent, state, {\n before: '',\n after: '',\n ...tracker.current()\n })\n )\n : ''\n } else {\n after = info.after\n }\n\n // In some cases, html (text) can be found in phrasing right after an eol.\n // When we’d serialize that, it could be seen as html (flow): all its kinds\n // except 7 can interrupt a paragraph.\n // As we can’t escape or so to prevent it from happening,\n // we take a somewhat reasonable approach:\n // replace that eol with a space.\n // See: <https://github.com/syntax-tree/mdast-util-to-markdown/issues/15>\n const previous = results[results.length - 1]\n\n if (\n typeof previous === 'string' &&\n (before === '\\r' || before === '\\n') &&\n child.type === 'html' &&\n htmlKind(child.value) !== 7\n ) {\n results[results.length - 1] = previous.replace(/(\\r?\\n|\\r)$/, ' ')\n before = ' '\n\n // To do: does this work to reset tracker?\n tracker = state.createTracker(info)\n tracker.move(serialize(results, info.before, info.after))\n }\n\n /** @type {(Handle & {attention?: Attention | undefined}) | undefined} */\n // @ts-expect-error: hush, it’s actually a `zwitch`.\n const handle = state.handle.handlers[child.type]\n\n if (handle && handle.attention) {\n const item = attentionItem(\n /** @type {PhrasingParents} */ (child),\n handle.attention,\n state,\n tracker\n )\n results.push(item)\n before = lastCharacter(item.sequences[0])\n } else {\n const value = state.handle(child, parent, state, {\n ...tracker.current(),\n after,\n before\n })\n\n if (!value) continue\n tracker.move(value)\n results.push(value)\n before = lastCharacter(value)\n }\n }\n\n indexStack.pop()\n\n return results\n}\n\n/**\n * Serialize a node as attention,\n * with its sequence chosen later.\n *\n * @param {PhrasingParents} node\n * Node.\n * @param {Attention} attention\n * Attention of the node.\n * @param {State} state\n * Info passed around about the current state.\n * @param {Tracker} tracker\n * Tracker.\n * @returns {AttentionResult}\n * Attention.\n */\nexport function attentionItem(node, attention, state, tracker) {\n const {construct, markers, sizes} = attention(node, state)\n const sequences = attentionSequences(node.type, markers, sizes)\n const sequence = sequences[0]\n const exit = state.enter(construct)\n tracker.move(sequence)\n const children = phrasing(node, state, {\n ...tracker.current(),\n before: sequence,\n after: sequence\n })\n tracker.move(serialize(children, sequence, sequence))\n tracker.move(sequence)\n exit()\n return {children, sequences}\n}\n\n/**\n * Render items with sequences;\n * encoding characters around attention where needed.\n *\n * @param {Array<Item>} items\n * Serialized phrasing.\n * @param {Map<AttentionResult, string>} chosen\n * Sequences to use instead of preferred sequences.\n * @param {string} before\n * Characters before.\n * @param {string} after\n * Characters after.\n * @returns {Array<Token>}\n * Tokens.\n */\nfunction render(items, chosen, before, after) {\n /** @type {Array<Token>} */\n const tokens = []\n /** @type {string | undefined} */\n let encodeAfter\n let previous = lastCharacter(before)\n let index = -1\n\n while (++index < items.length) {\n const item = items[index]\n\n if (typeof item === 'string') {\n /** @type {Token} */\n const token = {value: item, attention: undefined}\n\n // If attention before had to encode the character after it, encode it.\n if (encodeAfter && encodeAfter === firstCharacter(item)) {\n encode([token], true)\n }\n\n encodeAfter = undefined\n tokens.push(token)\n if (token.value) previous = lastCharacter(token.value)\n continue\n }\n\n const sequence = chosen.get(item) || item.sequences[0]\n const marker = sequence.charAt(0)\n const next = items[index + 1]\n const outsideBefore = previous\n const outsideAfter = firstCharacter(\n next === undefined\n ? after\n : typeof next === 'string'\n ? next\n : chosen.get(next) || next.sequences[0]\n )\n const inside = render(item.children, chosen, sequence, sequence)\n const head = inside.length > 0 ? inside[0].value : ''\n const open = encodeInfo(\n outsideBefore.charCodeAt(outsideBefore.length - 1),\n head.charCodeAt(0),\n marker\n )\n\n if (open.inside) encode(inside, true)\n\n const tail =\n inside.length > 0 ? lastCharacter(inside[inside.length - 1].value) : ''\n const close = encodeInfo(\n outsideAfter.charCodeAt(0),\n tail.charCodeAt(tail.length - 1),\n marker\n )\n\n if (close.inside) encode(inside, false)\n\n if (open.outside && outsideBefore !== '\\n' && outsideBefore !== '\\r') {\n encode(tokens, false)\n }\n\n if (close.outside) encodeAfter = outsideAfter\n\n tokens.push({value: sequence, attention: item}, ...inside, {\n value: sequence,\n attention: item\n })\n previous = sequence.charAt(sequence.length - 1)\n }\n\n return tokens\n}\n\n/**\n * Serialize phrasing with attention.\n *\n * Whether attention forms depends on everything around it.\n * This checks that it does and tries other sequences if not.\n *\n * @param {Array<Item>} items\n * Phrasing items.\n * @param {string} before\n * Characters before.\n * @param {string} after\n * Characters after.\n * @returns {string}\n * Serialized markdown.\n */\nexport function serialize(items, before, after) {\n /** @type {Map<AttentionResult, string>} */\n let chosen = new Map()\n const initial = render(items, chosen, before, after)\n let tokens = initial\n let mistake = check(tokens, before, after)\n\n while (mistake) {\n const next = improve(items, chosen, mistake, before, after)\n\n if (!next) {\n tokens = initial\n break\n }\n\n chosen = next.chosen\n tokens = next.tokens\n mistake = next.mistake\n }\n\n // Join the tokens.\n let result = ''\n for (const token of tokens) result += token.value\n return result\n}\n"],"names":["builtins","candidates","tokens","involved","runOf","related","token","siblings","d","sibling","ordered","check","before","after","runs","wrong","index","marker","strict","end","head","previous","classifyCharacter","next","open","close","run","size","pair","encode","start","character","firstCharacter","lastCharacter","reference","encodeCharacterReference","value","escapes","improve","items","chosen","mistake","attention","current","sequence","trial","render","openersByMarker","closer","openers","opener","openerSize","closerSize","opening","closing","openToken","closeToken","list","attentionSequences","type","markers","sizes","sequences","asciiPunctuation","phrasing","parent","state","info","indexStack","children","results","tracker","child","handle","htmlKind","serialize","item","attentionItem","node","construct","exit","encodeAfter","outsideBefore","outsideAfter","inside","encodeInfo","tail","initial","result"],"mappings":";;;;;;AAyBA,MAAMA,IAAW,oBAAI,IAAI;AAAA,EACvB,CAAC,KAAK,EAAK;AAAA,EACX,CAAC,KAAK,EAAI;AACZ,CAAC;AA8ED,SAASC,EAAWC,GAAQC,GAAUC,GAAO;AAE3C,QAAMC,IAAU,oBAAI,IAAG;AAGvB,aAAWC,KAASJ,GAAQ;AAC1B,UAAMK,IAAWH,EAAM,IAAIE,CAAK;AAChC,QACEC,KACAD,EAAM,aACNH,EAAS,KAAK,CAACK,MAAMA,EAAE,cAAcF,EAAM,SAAS;AAEpD,iBAAWG,KAAWF,EAAS;AAC7B,QAAAF,EAAQ,IAAII,EAAQ,SAAS;AAAA,EAGnC;AAGA,QAAMC,IAAU,CAAA;AAEhB,aAAWJ,KAASJ;AAClB,IAAII,EAAM,aAAaD,EAAQ,OAAOC,EAAM,SAAS,KACnDI,EAAQ,KAAKJ,EAAM,SAAS;AAKhC,SAAAI,EAAQ,QAAO,GACRA;AACT;AAiBA,SA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