reactive-md 0.9.3 → 0.10.0

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 (299) hide show
  1. package/CHANGELOG-ch.md +34 -0
  2. package/CHANGELOG.md +34 -0
  3. package/README-ch.md +7 -7
  4. package/README-en.md +7 -7
  5. package/README.md +7 -7
  6. package/THIRD_PARTY_NOTICES.md +0 -57
  7. package/cli/help.mjs +6 -4
  8. package/cli/init.mjs +1 -1
  9. package/cli/migrate.mjs +1 -1
  10. package/dist-library/{LocalDocumentView-D6zQkTkt.js → LocalDocumentView-CP2QG86k.js} +46 -44
  11. package/dist-library/{LocalDocumentViewCore-CmJhemcA.js → LocalDocumentViewCore-Cd6yMEkg.js} +284 -265
  12. package/dist-library/{LocalReactiveDocumentCore-lAKOGAZ7.js → LocalReactiveDocumentCore-VuYpZqdn.js} +7 -7
  13. package/dist-library/LocalStaticDocumentView-DfX6bemE.js +147 -0
  14. package/dist-library/authoring-Bwu_zCWs.js +768 -0
  15. package/dist-library/choice-values-BItGjPD2.js +58 -0
  16. package/dist-library/compile-B35rfzKr.js +1742 -0
  17. package/dist-library/{compile-cache-key-6GgpETz_.js → compile-cache-key-D21X2Obx.js} +5 -5
  18. package/dist-library/{compiler-DLkKUK4t.js → compiler-DBwLawMZ.js} +4 -4
  19. package/dist-library/{compiler-core-Niqhp9wV.js → compiler-core-kkDiQ1RK.js} +3146 -2055
  20. package/dist-library/{component-kernel-IG4wOO0i.js → component-kernel-CsJSabHX.js} +42 -26
  21. package/dist-library/{component-state-Ht-hOK0W.js → component-state-Da0G8Ajc.js} +1 -1
  22. package/dist-library/{component-utils-eSj5IdG4.js → component-utils-ZM3jUJNy.js} +80 -79
  23. package/dist-library/conditional-branches-CIhJXasR.js +17 -0
  24. package/dist-library/{config-validation-Cpol91_M.js → config-validation-DbmsWAEV.js} +165 -152
  25. package/dist-library/{controls-B-CLSK8Q.js → controls-DRy5rzzN.js} +271 -228
  26. package/dist-library/{coordinate-PyLPMIQK.js → coordinate-c54pHfgf.js} +29 -29
  27. package/dist-library/data-table-CSAkm1eU.js +290 -0
  28. package/dist-library/data-table-model-DruztQFt.js +391 -0
  29. package/dist-library/{data-visuals-_Z7QqYTk.js → data-visuals-rZQUeQM0.js} +14 -14
  30. package/dist-library/{default-components-jugH7Ubr.js → default-components-B-39etG9.js} +233 -71
  31. package/dist-library/{default-config-DIrRpuQz.js → default-config-CCa8rm2k.js} +236 -216
  32. package/dist-library/default-options-By16CVw1.js +131 -0
  33. package/dist-library/{default-registry-BlloaZi7.js → default-registry-DXJy66xj.js} +3 -3
  34. package/dist-library/{default-schema-Ch-Vznpm.js → default-schema-CeYiEW1K.js} +3 -3
  35. package/dist-library/display-Bb6hAG5T.js +2065 -0
  36. package/dist-library/{document-theme-DBAfnk7y.js → document-theme-CJvN-nC1.js} +190 -3
  37. package/dist-library/{export-heVBqgxA.js → export-BSV4E0jv.js} +105 -106
  38. package/dist-library/font-aliases-CKYjwn4o.js +4 -0
  39. package/dist-library/{gallery-Q6VPS2ep.js → gallery-DM2yTVZJ.js} +1 -1
  40. package/dist-library/{html-CCnvzan1.js → html-CY9mC3Sr.js} +5 -5
  41. package/dist-library/{incremental-Bzvh8_lB.js → incremental-B-wW4H3F.js} +251 -245
  42. package/dist-library/{display-y4v9v0Qd.js → katex-4ukd4ZxT.js} +1555 -3618
  43. package/dist-library/layout-CPQggKxk.js +592 -0
  44. package/dist-library/{layout-BnfDeUNy.js → layout-CaDWsDof.js} +1 -1
  45. package/dist-library/{math-view-B0jthpRw.js → math-view-CyGTS6kv.js} +1 -1
  46. package/dist-library/{mount-preset-C_i37FvY.js → mount-preset-DtrCX4G8.js} +4 -4
  47. package/dist-library/{numeric-sliders-CkWS0-ja.js → numeric-sliders-BmJ1LCLx.js} +190 -190
  48. package/dist-library/{observability-CYLuvFfL.js → observability-BVQ16ByQ.js} +5 -4
  49. package/dist-library/{package-core-9UK5ZdqB.js → package-core-Cu_r_qs7.js} +7 -6
  50. package/dist-library/{parser-9yNJxGip.js → parser-BHl9Lxbw.js} +2 -2
  51. package/dist-library/{parser-standard-BPIy4HOu.js → parser-standard-DDAKv_DZ.js} +247 -247
  52. package/dist-library/{plugin-packs-CZb46nuv.js → plugin-packs-CkI0floL.js} +3 -3
  53. package/dist-library/{preset-core-BW3NWZJ9.js → preset-core-BKPbH_Nv.js} +377 -306
  54. package/dist-library/{props-pJRrfDc6.js → props-0iDqxlTk.js} +56 -61
  55. package/dist-library/{react-BSo0o998.js → react-74jdGBmu.js} +2 -2
  56. package/dist-library/reactive-md-authoring.js +277 -269
  57. package/dist-library/reactive-md-build.js +327 -33
  58. package/dist-library/reactive-md-compiler-session.js +3 -3
  59. package/dist-library/reactive-md-compiler-standard.js +10 -10
  60. package/dist-library/reactive-md-compiler.js +3 -3
  61. package/dist-library/reactive-md-contracts.js +4 -4
  62. package/dist-library/reactive-md-default-packs.js +4 -3
  63. package/dist-library/reactive-md-default-preset.js +3 -3
  64. package/dist-library/reactive-md-export.js +6 -6
  65. package/dist-library/reactive-md-minimal-preset.js +3 -2
  66. package/dist-library/reactive-md-minimal-react-preset.js +18 -17
  67. package/dist-library/reactive-md-minimal.css +1 -1
  68. package/dist-library/reactive-md-observability.js +2 -2
  69. package/dist-library/reactive-md-pack-style-manifest.js +8 -0
  70. package/dist-library/reactive-md-plugin-chart.js +13 -9
  71. package/dist-library/reactive-md-plugin-data.js +4 -4
  72. package/dist-library/reactive-md-plugin-diagram.js +3 -3
  73. package/dist-library/reactive-md-plugin-forms.js +5 -5
  74. package/dist-library/reactive-md-plugin-gallery.js +3 -3
  75. package/dist-library/reactive-md-plugin-navigation.js +10 -10
  76. package/dist-library/reactive-md-plugin-network.js +5 -5
  77. package/dist-library/reactive-md-plugin-plot.js +4 -4
  78. package/dist-library/reactive-md-react-component-accordion.js +3 -3
  79. package/dist-library/reactive-md-react-component-alert.js +3 -3
  80. package/dist-library/reactive-md-react-component-anchor.js +3 -3
  81. package/dist-library/reactive-md-react-component-badge.js +3 -3
  82. package/dist-library/reactive-md-react-component-card.js +3 -3
  83. package/dist-library/reactive-md-react-component-chart.js +2 -2
  84. package/dist-library/reactive-md-react-component-checkbox.js +2 -2
  85. package/dist-library/reactive-md-react-component-checklist.js +2 -2
  86. package/dist-library/reactive-md-react-component-choices.js +2 -2
  87. package/dist-library/reactive-md-react-component-column.js +1 -1
  88. package/dist-library/reactive-md-react-component-coordinate.js +2 -2
  89. package/dist-library/reactive-md-react-component-counter.js +2 -2
  90. package/dist-library/reactive-md-react-component-data-table.js +2 -2
  91. package/dist-library/reactive-md-react-component-date.js +2 -2
  92. package/dist-library/reactive-md-react-component-diagram.js +2 -2
  93. package/dist-library/reactive-md-react-component-disclosure.js +3 -3
  94. package/dist-library/reactive-md-react-component-edge.js +1 -1
  95. package/dist-library/reactive-md-react-component-else.js +10 -0
  96. package/dist-library/reactive-md-react-component-gallery-item.js +2 -2
  97. package/dist-library/reactive-md-react-component-gallery.js +2 -2
  98. package/dist-library/reactive-md-react-component-grid.js +3 -3
  99. package/dist-library/reactive-md-react-component-if.js +3 -3
  100. package/dist-library/reactive-md-react-component-input.js +2 -2
  101. package/dist-library/reactive-md-react-component-jump.js +3 -3
  102. package/dist-library/reactive-md-react-component-multi-select.js +2 -2
  103. package/dist-library/reactive-md-react-component-node.js +2 -2
  104. package/dist-library/reactive-md-react-component-number.js +2 -2
  105. package/dist-library/reactive-md-react-component-option.js +1 -1
  106. package/dist-library/reactive-md-react-component-panel.js +3 -3
  107. package/dist-library/reactive-md-react-component-plot.js +2 -2
  108. package/dist-library/reactive-md-react-component-progress.js +2 -2
  109. package/dist-library/reactive-md-react-component-quiz.js +2 -2
  110. package/dist-library/reactive-md-react-component-radio-group.js +2 -2
  111. package/dist-library/reactive-md-react-component-range-slider.js +2 -2
  112. package/dist-library/reactive-md-react-component-section.js +3 -3
  113. package/dist-library/reactive-md-react-component-select.js +2 -2
  114. package/dist-library/reactive-md-react-component-slider.js +2 -2
  115. package/dist-library/reactive-md-react-component-step.js +3 -3
  116. package/dist-library/reactive-md-react-component-steps.js +3 -3
  117. package/dist-library/reactive-md-react-component-tab.js +3 -3
  118. package/dist-library/reactive-md-react-component-table.js +2 -2
  119. package/dist-library/reactive-md-react-component-tabs.js +3 -3
  120. package/dist-library/reactive-md-react-component-text.js +3 -3
  121. package/dist-library/reactive-md-react-component-textarea.js +2 -2
  122. package/dist-library/reactive-md-react-component-timeline.js +2 -2
  123. package/dist-library/reactive-md-react-component-timer.js +2 -2
  124. package/dist-library/reactive-md-react-component-toggle.js +2 -2
  125. package/dist-library/reactive-md-react-component-tooltip.js +3 -3
  126. package/dist-library/reactive-md-react-component-validation.js +3 -3
  127. package/dist-library/reactive-md-react-minimal.js +4 -4
  128. package/dist-library/reactive-md-react-pack-controls.js +4 -4
  129. package/dist-library/reactive-md-react-pack-data.js +3 -3
  130. package/dist-library/reactive-md-react-pack-layout.js +25 -24
  131. package/dist-library/reactive-md-react-pack-visuals.js +2 -2
  132. package/dist-library/reactive-md-react-packed.js +6 -6
  133. package/dist-library/reactive-md-react-server.js +37 -36
  134. package/dist-library/reactive-md-react-static-server.js +2 -2
  135. package/dist-library/reactive-md-react-static.js +1 -1
  136. package/dist-library/reactive-md-react-unstyled.js +12 -12
  137. package/dist-library/reactive-md-react.js +12 -12
  138. package/dist-library/reactive-md-scan.js +1 -1
  139. package/dist-library/reactive-md-sdk.js +23 -9
  140. package/dist-library/reactive-md-standalone-configured.js +2 -2
  141. package/dist-library/reactive-md-standalone-host.js +2 -2
  142. package/dist-library/reactive-md-testing-browser.js +2 -2
  143. package/dist-library/reactive-md-testing-react.js +6 -6
  144. package/dist-library/reactive-md-testing.js +6 -6
  145. package/dist-library/reactive-md-vite.js +25 -9
  146. package/dist-library/reactive-md-worker-pool.js +3 -3
  147. package/dist-library/reactive-md.css +1 -1
  148. package/dist-library/reactive-md.js +52 -43
  149. package/dist-library/{registry-core-CziAIP5P.js → registry-core-DxEaxhJ6.js} +3 -2
  150. package/dist-library/{render-nodes-DKjg_TR1.js → render-nodes-B6j6Ip5I.js} +766 -731
  151. package/dist-library/{requirements-DhIkxAbl.js → requirements-C56sFIEs.js} +2 -2
  152. package/dist-library/{resources-B_nbROgj.js → resources-6VaNgk-h.js} +2 -2
  153. package/dist-library/rmd-pack-layout.css +9 -0
  154. package/dist-library/rmd-pack-resource-layout.css +9 -0
  155. package/dist-library/runtime-BHeuLOv_.js +1369 -0
  156. package/dist-library/{runtime-requirement-C4-vNcf5.js → runtime-requirement-DzPO8raU.js} +166 -163
  157. package/dist-library/{schema-core-4sd1Vu7V.js → schema-core-CDXfxdID.js} +24 -1
  158. package/dist-library/{sdk-core-BLsW9cCy.js → sdk-core-CnE-n0Z7.js} +469 -314
  159. package/dist-library/{session-core-DLBRPV7f.js → session-core-C071yQwV.js} +140 -127
  160. package/dist-library/{validation-XXlb-spV.js → sha256-utf16-Bmandi_H.js} +392 -315
  161. package/dist-library/shareable-CHCDnl6j.js +844 -0
  162. package/dist-library/types/authoring/catalog.d.ts +3 -1
  163. package/dist-library/types/authoring/index.d.ts +1 -1
  164. package/dist-library/types/components/chart/default-chart-types.d.ts +3 -0
  165. package/dist-library/types/components/chart/default-chart.d.ts +7 -0
  166. package/dist-library/types/components/entries/else.d.ts +3 -0
  167. package/dist-library/types/components/layout/layout.d.ts +5 -0
  168. package/dist-library/types/components/shared/visuals.d.ts +1 -1
  169. package/dist-library/types/components/table/data-table-model.d.ts +95 -2
  170. package/dist-library/types/components/table/data-table.d.ts +2 -2
  171. package/dist-library/types/contracts/component-kernel.d.ts +5 -0
  172. package/dist-library/types/contracts/font-aliases.d.ts +18 -0
  173. package/dist-library/types/contracts/number-literal.d.ts +2 -0
  174. package/dist-library/types/contracts/sha256-utf16.d.ts +2 -0
  175. package/dist-library/types/export/index.d.ts +4 -1
  176. package/dist-library/types/local/compilation/compiler-choices.d.ts +4 -0
  177. package/dist-library/types/local/compilation/compiler-declarations.d.ts +2 -1
  178. package/dist-library/types/local/compilation/compiler-expressions.d.ts +12 -1
  179. package/dist-library/types/local/compilation/compiler-macros.d.ts +18 -0
  180. package/dist-library/types/local/compilation/compiler-structure.d.ts +8 -2
  181. package/dist-library/types/local/compilation/compiler-tables.d.ts +1 -0
  182. package/dist-library/types/local/compilation/compiler-validation.d.ts +11 -0
  183. package/dist-library/types/local/compilation/compiler-values.d.ts +1 -2
  184. package/dist-library/types/local/configuration/diagnostic-messages.d.ts +173 -2
  185. package/dist-library/types/local/configuration/diagnostic-runtime-messages.d.ts +40 -0
  186. package/dist-library/types/local/evaluation/choice-values.d.ts +22 -0
  187. package/dist-library/types/local/evaluation/computations.d.ts +13 -5
  188. package/dist-library/types/local/evaluation/dataset.d.ts +4 -0
  189. package/dist-library/types/local/evaluation/expression/collection-functions.d.ts +13 -0
  190. package/dist-library/types/local/evaluation/expression/compile.d.ts +11 -4
  191. package/dist-library/types/local/evaluation/expression/data-functions.d.ts +23 -0
  192. package/dist-library/types/local/evaluation/expression/evaluation.d.ts +3 -1
  193. package/dist-library/types/local/evaluation/expression/internal-names.d.ts +8 -0
  194. package/dist-library/types/local/evaluation/expression/syntax.d.ts +19 -2
  195. package/dist-library/types/local/evaluation/expression/transform-budget.d.ts +13 -0
  196. package/dist-library/types/local/evaluation/expression/values.d.ts +9 -1
  197. package/dist-library/types/local/evaluation/validation.d.ts +8 -6
  198. package/dist-library/types/local/index.d.ts +4 -3
  199. package/dist-library/types/local/parsing/conditional-branches.d.ts +4 -0
  200. package/dist-library/types/local/parsing/source-revision.d.ts +3 -0
  201. package/dist-library/types/local/runtime/runtime-choices.d.ts +11 -0
  202. package/dist-library/types/local/runtime/runtime.d.ts +3 -1
  203. package/dist-library/types/local/runtime/state.d.ts +30 -15
  204. package/dist-library/types/local/source/authoring-requirements.d.ts +3 -0
  205. package/dist-library/types/local/source/authoring-syntax.d.ts +3 -2
  206. package/dist-library/types/local/source/authoring.d.ts +10 -0
  207. package/dist-library/types/local/source/source-migration.d.ts +1 -0
  208. package/dist-library/types/local/types.d.ts +33 -2
  209. package/dist-library/types/react/component-api.d.ts +21 -2
  210. package/dist-library/types/react/component-utils.d.ts +11 -0
  211. package/dist-library/types/react/font-aliases.d.ts +2 -0
  212. package/dist-library/types/react/package-core.d.ts +3 -0
  213. package/dist-library/types/react/rendering/document/validation-state.d.ts +1 -1
  214. package/dist-library/types/react/rendering/document/view-revision.d.ts +3 -12
  215. package/dist-library/types/react/rendering/table/data-table.d.ts +1 -1
  216. package/dist-library/types/react/sdk-core.d.ts +3 -1
  217. package/dist-library/types/sdk/assembly.d.ts +3 -0
  218. package/dist-library/types/sdk/font.d.ts +13 -0
  219. package/dist-library/types/sdk/index.d.ts +1 -0
  220. package/dist-library/types/sdk/theme.d.ts +5 -0
  221. package/dist-library/types/sdk/types.d.ts +6 -0
  222. package/dist-library/types/sdk/version.d.ts +1 -1
  223. package/dist-library/types/shareable.d.ts +15 -3
  224. package/dist-library/types/standalone/prepare.d.ts +4 -2
  225. package/dist-library/types/standalone/session-core.d.ts +4 -1
  226. package/dist-library/types/vite/index.d.ts +3 -0
  227. package/dist-library/types/vite/registration.d.ts +1 -0
  228. package/dist-library/{types-Bza88SGK.js → types-B4qG8J4S.js} +1 -1
  229. package/dist-library/types-FYhRWRn9.js +3 -0
  230. package/dist-library/use-hydrated-D1gFY2Dq.js +2655 -0
  231. package/dist-library/validation-DRuW0Wl9.js +433 -0
  232. package/dist-library/{version-B0G1699c.js → version-4wzhbvDG.js} +1 -1
  233. package/dist-library/{visual-helpers-CRmaqCHX.js → visual-helpers-UU6xiL8g.js} +3 -3
  234. package/dist-library/visuals-7xzoL9ql.js +49340 -0
  235. package/dist-library/{worker-D6WMV8xJ.js → worker-3ldRjOEG.js} +9 -9
  236. package/dist-standalone/reactive-md-standalone.css +1 -1
  237. package/dist-standalone/reactive-md-standalone.js +128 -368
  238. package/docs/README-ch.md +3 -1
  239. package/docs/README.md +3 -1
  240. package/docs/compatibility/api-stability-ch.md +1 -1
  241. package/docs/compatibility/api-stability-en.md +1 -1
  242. package/docs/compatibility/compatibility-ch.md +15 -15
  243. package/docs/compatibility/compatibility-en.md +15 -15
  244. package/docs/compatibility/compatibility-manifest.schema.json +3 -2
  245. package/docs/compatibility/deprecation-ch.md +2 -2
  246. package/docs/compatibility/deprecation-en.md +2 -2
  247. package/docs/compatibility/source-versioning-ch.md +22 -14
  248. package/docs/compatibility/source-versioning-en.md +22 -13
  249. package/docs/compatibility/support-matrix-ch.md +4 -3
  250. package/docs/compatibility/support-matrix-en.md +4 -3
  251. package/docs/development/component-development-ch.md +2 -2
  252. package/docs/development/component-development-en.md +2 -2
  253. package/docs/development/component-protocol-ch.md +18 -18
  254. package/docs/development/component-protocol-en.md +14 -14
  255. package/docs/guides/local-guide-ch.md +109 -20
  256. package/docs/guides/local-guide-en.md +109 -20
  257. package/docs/integration/author-tools-ch.md +1 -1
  258. package/docs/integration/author-tools-en.md +1 -1
  259. package/docs/integration/editor-ch.md +3 -3
  260. package/docs/integration/editor-en.md +3 -3
  261. package/docs/integration/extension-sdk-ch.md +29 -3
  262. package/docs/integration/extension-sdk-en.md +29 -3
  263. package/docs/integration/local-integration-ch.md +3 -3
  264. package/docs/integration/local-integration-en.md +3 -3
  265. package/docs/integration/pdf-export-ch.md +42 -0
  266. package/docs/integration/pdf-export-en.md +42 -0
  267. package/docs/integration/shareable-export-ch.md +11 -19
  268. package/docs/integration/shareable-export-en.md +11 -19
  269. package/docs/reference/diagnostics-counting-ch.md +24 -1
  270. package/docs/reference/diagnostics-counting-en.md +24 -1
  271. package/docs/reference/local-interaction-syntax-ch.md +222 -33
  272. package/docs/reference/local-interaction-syntax-en.md +220 -31
  273. package/docs/reference/public-api-ch.md +24 -18
  274. package/docs/reference/public-api-en.md +24 -18
  275. package/docs/reference/theme-protocol-ch.md +1 -1
  276. package/docs/reference/theme-protocol-en.md +1 -1
  277. package/docs/releases/release-0.10.0-ch.md +45 -0
  278. package/docs/releases/release-0.10.0-en.md +45 -0
  279. package/examples/conformance/README-ch.md +3 -3
  280. package/examples/conformance/README.md +3 -3
  281. package/examples/conformance/local-draft-4.json +441 -0
  282. package/examples/integration/README-ch.md +3 -3
  283. package/examples/integration/README.md +3 -3
  284. package/examples/integration/chat-session/package.json +1 -1
  285. package/examples/local/README-ch.md +1 -1
  286. package/examples/local/README.md +1 -1
  287. package/package.json +6 -1
  288. package/dist-library/LocalStaticDocumentView-2J7w0sKm.js +0 -143
  289. package/dist-library/authoring-B14SsOXZ.js +0 -893
  290. package/dist-library/compile-D50B5_Ww.js +0 -1249
  291. package/dist-library/computations-CffoW7Ff.js +0 -340
  292. package/dist-library/data-table-Kv_ZA2Z2.js +0 -297
  293. package/dist-library/default-options-DU5dxuU6.js +0 -125
  294. package/dist-library/layout-BfUzzO2b.js +0 -553
  295. package/dist-library/runtime-CuJndKqK.js +0 -1289
  296. package/dist-library/shareable-C6mUerpQ.js +0 -817
  297. package/dist-library/types-daDo2c_w.js +0 -3
  298. package/dist-library/use-hydrated-W-laKPhY.js +0 -22975
  299. package/dist-library/visuals-CoVSjVD8.js +0 -49159
@@ -1,6 +1,6 @@
1
- import { d as e } from "./computations-CffoW7Ff.js";
2
- import { B as t, C as n, E as r, F as i, I as a, L as o, O as s, R as c, S as l, T as u, U as d, V as f, W as p, _ as m, b as h, h as g, j as _, k as v, v as y, w as b, x, y as S, z as C } from "./validation-XXlb-spV.js";
3
- import { a as w, r as T } from "./schema-core-4sd1Vu7V.js";
1
+ import { S as e } from "./validation-DRuW0Wl9.js";
2
+ import { A as t, I as n, L as r, M as i, N as a, O as o, P as s, S as c, _ as l, c as u, d, f, g as p, h as m, j as h, k as g, m as _, p as v, u as y, v as b, w as x, x as S, y as C } from "./sha256-utf16-Bmandi_H.js";
3
+ import { a as w, r as T } from "./schema-core-CDXfxdID.js";
4
4
  import { a as E, n as D, o as O, s as k } from "./dist-Cueh1Psp.js";
5
5
  // src/local/html/html-table.ts
6
6
  var ee = {
@@ -2806,7 +2806,7 @@ function Jn(e) {
2806
2806
  }
2807
2807
  function Yn(e, t) {
2808
2808
  let n = e.input.charCodeAt(e.index - 1);
2809
- return (e.index === 0 || C(n) || c(n)) && (!t || n !== 47);
2809
+ return (e.index === 0 || i(n) || h(n)) && (!t || n !== 47);
2810
2810
  }
2811
2811
  // node_modules/mdast-util-gfm-footnote/lib/index.js
2812
2812
  ar.peek = ir;
@@ -2832,15 +2832,15 @@ function $n(e) {
2832
2832
  }, e);
2833
2833
  }
2834
2834
  function er(e) {
2835
- let n = this.resume(), r = this.stack[this.stack.length - 1];
2836
- r.type, r.identifier = t(this.sliceSerialize(e)).toLowerCase(), r.label = n;
2835
+ let t = this.resume(), n = this.stack[this.stack.length - 1];
2836
+ n.type, n.identifier = a(this.sliceSerialize(e)).toLowerCase(), n.label = t;
2837
2837
  }
2838
2838
  function tr(e) {
2839
2839
  this.exit(e);
2840
2840
  }
2841
2841
  function nr(e) {
2842
- let n = this.resume(), r = this.stack[this.stack.length - 1];
2843
- r.type, r.identifier = t(this.sliceSerialize(e)).toLowerCase(), r.label = n;
2842
+ let t = this.resume(), n = this.stack[this.stack.length - 1];
2843
+ n.type, n.identifier = a(this.sliceSerialize(e)).toLowerCase(), n.label = t;
2844
2844
  }
2845
2845
  function rr(e) {
2846
2846
  this.exit(e);
@@ -3178,7 +3178,7 @@ function Vr(e, t) {
3178
3178
  let n = !1;
3179
3179
  return Br(e, function(e) {
3180
3180
  if ("value" in e && /\r?\n|\r/.test(e.value) || e.type === "break") return n = !0, !1;
3181
- }), !!((!e.depth || e.depth < 3) && p(e) && (t.options.setext || n));
3181
+ }), !!((!e.depth || e.depth < 3) && r(e) && (t.options.setext || n));
3182
3182
  }
3183
3183
  // node_modules/mdast-util-to-markdown/lib/handle/heading.js
3184
3184
  function Hr(e, t, n, r) {
@@ -3277,7 +3277,7 @@ function Xr() {
3277
3277
  }
3278
3278
  // node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js
3279
3279
  function Zr(e, t) {
3280
- let n = p(e);
3280
+ let n = r(e);
3281
3281
  return !(t.options.resourceLink || !e.url || e.title || !e.children || e.children.length !== 1 || e.children[0].type !== "text" || n !== e.url && "mailto:" + n !== e.url || !/^[a-z][+\-.a-z]+:/i.test(e.url) || /[\0- <>\u007F]/.test(e.url));
3282
3282
  }
3283
3283
  // node_modules/mdast-util-to-markdown/lib/handle/link.js
@@ -3731,19 +3731,19 @@ function Ui(e, t, n) {
3731
3731
  let r = this, i, a;
3732
3732
  return o;
3733
3733
  function o(t) {
3734
- return !ea(t) || !$i.call(r, r.previous) || ta(r.events) ? n(t) : (e.enter("literalAutolink"), e.enter("literalAutolinkEmail"), c(t));
3734
+ return !ea(t) || !$i.call(r, r.previous) || ta(r.events) ? n(t) : (e.enter("literalAutolink"), e.enter("literalAutolinkEmail"), s(t));
3735
3735
  }
3736
- function c(t) {
3737
- return ea(t) ? (e.consume(t), c) : t === 64 ? (e.consume(t), l) : n(t);
3736
+ function s(t) {
3737
+ return ea(t) ? (e.consume(t), s) : t === 64 ? (e.consume(t), l) : n(t);
3738
3738
  }
3739
3739
  function l(t) {
3740
- return t === 46 ? e.check(zi, d, u)(t) : t === 45 || t === 95 || v(t) ? (a = !0, e.consume(t), l) : d(t);
3740
+ return t === 46 ? e.check(zi, d, u)(t) : t === 45 || t === 95 || c(t) ? (a = !0, e.consume(t), l) : d(t);
3741
3741
  }
3742
3742
  function u(t) {
3743
3743
  return e.consume(t), i = !0, l;
3744
3744
  }
3745
3745
  function d(o) {
3746
- return a && i && s(r.previous) ? (e.exit("literalAutolinkEmail"), e.exit("literalAutolink"), t(o)) : n(o);
3746
+ return a && i && S(r.previous) ? (e.exit("literalAutolinkEmail"), e.exit("literalAutolink"), t(o)) : n(o);
3747
3747
  }
3748
3748
  }
3749
3749
  function Wi(e, t, n) {
@@ -3757,26 +3757,26 @@ function Wi(e, t, n) {
3757
3757
  }
3758
3758
  }
3759
3759
  function Gi(e, t, n) {
3760
- let r = this, i = "", o = !1;
3761
- return l;
3762
- function l(t) {
3763
- return (t === 72 || t === 104) && Qi.call(r, r.previous) && !ta(r.events) ? (e.enter("literalAutolink"), e.enter("literalAutolinkHttp"), i += String.fromCodePoint(t), e.consume(t), u) : n(t);
3760
+ let r = this, a = "", o = !1;
3761
+ return s;
3762
+ function s(t) {
3763
+ return (t === 72 || t === 104) && Qi.call(r, r.previous) && !ta(r.events) ? (e.enter("literalAutolink"), e.enter("literalAutolinkHttp"), a += String.fromCodePoint(t), e.consume(t), c) : n(t);
3764
3764
  }
3765
- function u(t) {
3766
- if (s(t) && i.length < 5) return i += String.fromCodePoint(t), e.consume(t), u;
3765
+ function c(t) {
3766
+ if (S(t) && a.length < 5) return a += String.fromCodePoint(t), e.consume(t), c;
3767
3767
  if (t === 58) {
3768
- let n = i.toLowerCase();
3769
- if (n === "http" || n === "https") return e.consume(t), d;
3768
+ let n = a.toLowerCase();
3769
+ if (n === "http" || n === "https") return e.consume(t), l;
3770
3770
  }
3771
3771
  return n(t);
3772
3772
  }
3773
- function d(t) {
3774
- return t === 47 ? (e.consume(t), o ? f : (o = !0, d)) : n(t);
3773
+ function l(t) {
3774
+ return t === 47 ? (e.consume(t), o ? u : (o = !0, l)) : n(t);
3775
3775
  }
3776
- function f(t) {
3777
- return t === null || _(t) || a(t) || C(t) || c(t) ? n(t) : e.attempt(Ii, e.attempt(Li, p), n)(t);
3776
+ function u(t) {
3777
+ return t === null || x(t) || g(t) || i(t) || h(t) ? n(t) : e.attempt(Ii, e.attempt(Li, d), n)(t);
3778
3778
  }
3779
- function p(n) {
3779
+ function d(n) {
3780
3780
  return e.exit("literalAutolinkHttp"), e.exit("literalAutolink"), t(n);
3781
3781
  }
3782
3782
  }
@@ -3791,41 +3791,41 @@ function Ki(e, t, n) {
3791
3791
  }
3792
3792
  }
3793
3793
  function qi(e, t, n) {
3794
- let r, i, o;
3794
+ let r, a, o;
3795
3795
  return s;
3796
3796
  function s(t) {
3797
- return t === 46 || t === 95 ? e.check(Ri, u, l)(t) : t === null || a(t) || C(t) || t !== 45 && c(t) ? u(t) : (o = !0, e.consume(t), s);
3797
+ return t === 46 || t === 95 ? e.check(Ri, l, c)(t) : t === null || g(t) || i(t) || t !== 45 && h(t) ? l(t) : (o = !0, e.consume(t), s);
3798
3798
  }
3799
- function l(t) {
3800
- return t === 95 ? r = !0 : (i = r, r = void 0), e.consume(t), s;
3799
+ function c(t) {
3800
+ return t === 95 ? r = !0 : (a = r, r = void 0), e.consume(t), s;
3801
3801
  }
3802
- function u(e) {
3803
- return i || r || !o ? n(e) : t(e);
3802
+ function l(e) {
3803
+ return a || r || !o ? n(e) : t(e);
3804
3804
  }
3805
3805
  }
3806
3806
  function Ji(e, t) {
3807
3807
  let n = 0, r = 0;
3808
- return i;
3809
- function i(s) {
3810
- return s === 40 ? (n++, e.consume(s), i) : s === 41 && r < n ? o(s) : s === 33 || s === 34 || s === 38 || s === 39 || s === 41 || s === 42 || s === 44 || s === 46 || s === 58 || s === 59 || s === 60 || s === 63 || s === 93 || s === 95 || s === 126 ? e.check(Ri, t, o)(s) : s === null || a(s) || C(s) ? t(s) : (e.consume(s), i);
3808
+ return a;
3809
+ function a(s) {
3810
+ return s === 40 ? (n++, e.consume(s), a) : s === 41 && r < n ? o(s) : s === 33 || s === 34 || s === 38 || s === 39 || s === 41 || s === 42 || s === 44 || s === 46 || s === 58 || s === 59 || s === 60 || s === 63 || s === 93 || s === 95 || s === 126 ? e.check(Ri, t, o)(s) : s === null || g(s) || i(s) ? t(s) : (e.consume(s), a);
3811
3811
  }
3812
3812
  function o(t) {
3813
- return t === 41 && r++, e.consume(t), i;
3813
+ return t === 41 && r++, e.consume(t), a;
3814
3814
  }
3815
3815
  }
3816
3816
  function Yi(e, t, n) {
3817
3817
  return r;
3818
3818
  function r(s) {
3819
- return s === 33 || s === 34 || s === 39 || s === 41 || s === 42 || s === 44 || s === 46 || s === 58 || s === 59 || s === 63 || s === 95 || s === 126 ? (e.consume(s), r) : s === 38 ? (e.consume(s), o) : s === 93 ? (e.consume(s), i) : s === 60 || s === null || a(s) || C(s) ? t(s) : n(s);
3819
+ return s === 33 || s === 34 || s === 39 || s === 41 || s === 42 || s === 44 || s === 46 || s === 58 || s === 59 || s === 63 || s === 95 || s === 126 ? (e.consume(s), r) : s === 38 ? (e.consume(s), o) : s === 93 ? (e.consume(s), a) : s === 60 || s === null || g(s) || i(s) ? t(s) : n(s);
3820
3820
  }
3821
- function i(e) {
3822
- return e === null || e === 40 || e === 91 || a(e) || C(e) ? t(e) : r(e);
3821
+ function a(e) {
3822
+ return e === null || e === 40 || e === 91 || g(e) || i(e) ? t(e) : r(e);
3823
3823
  }
3824
3824
  function o(e) {
3825
- return s(e) ? c(e) : n(e);
3825
+ return S(e) ? s(e) : n(e);
3826
3826
  }
3827
- function c(t) {
3828
- return t === 59 ? (e.consume(t), r) : s(t) ? (e.consume(t), c) : n(t);
3827
+ function s(t) {
3828
+ return t === 59 ? (e.consume(t), r) : S(t) ? (e.consume(t), s) : n(t);
3829
3829
  }
3830
3830
  }
3831
3831
  function Xi(e, t, n) {
@@ -3834,20 +3834,20 @@ function Xi(e, t, n) {
3834
3834
  return e.consume(t), i;
3835
3835
  }
3836
3836
  function i(e) {
3837
- return v(e) ? n(e) : t(e);
3837
+ return c(e) ? n(e) : t(e);
3838
3838
  }
3839
3839
  }
3840
3840
  function Zi(e) {
3841
- return e === null || e === 40 || e === 42 || e === 95 || e === 91 || e === 93 || e === 126 || a(e);
3841
+ return e === null || e === 40 || e === 42 || e === 95 || e === 91 || e === 93 || e === 126 || g(e);
3842
3842
  }
3843
3843
  function Qi(e) {
3844
- return !s(e);
3844
+ return !S(e);
3845
3845
  }
3846
3846
  function $i(e) {
3847
3847
  return !(e === 47 || ea(e));
3848
3848
  }
3849
3849
  function ea(e) {
3850
- return e === 43 || e === 45 || e === 46 || e === 95 || v(e);
3850
+ return e === 43 || e === 45 || e === 46 || e === 95 || c(e);
3851
3851
  }
3852
3852
  function ta(e) {
3853
3853
  let t = e.length, n = !1;
@@ -3891,10 +3891,10 @@ function ra() {
3891
3891
  }
3892
3892
  };
3893
3893
  }
3894
- function ia(e, n, r) {
3895
- let i = this, a = i.events.length, o = i.parser.gfmFootnotes || (i.parser.gfmFootnotes = []), s;
3896
- for (; a--;) {
3897
- let e = i.events[a][1];
3894
+ function ia(e, t, n) {
3895
+ let r = this, i = r.events.length, o = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []), s;
3896
+ for (; i--;) {
3897
+ let e = r.events[i][1];
3898
3898
  if (e.type === "labelImage") {
3899
3899
  s = e;
3900
3900
  break;
@@ -3902,13 +3902,13 @@ function ia(e, n, r) {
3902
3902
  if (e.type === "gfmFootnoteCall" || e.type === "labelLink" || e.type === "label" || e.type === "image" || e.type === "link") break;
3903
3903
  }
3904
3904
  return c;
3905
- function c(a) {
3906
- if (!s || !s._balanced) return r(a);
3907
- let c = t(i.sliceSerialize({
3905
+ function c(i) {
3906
+ if (!s || !s._balanced) return n(i);
3907
+ let c = a(r.sliceSerialize({
3908
3908
  start: s.end,
3909
- end: i.now()
3909
+ end: r.now()
3910
3910
  }));
3911
- return c.codePointAt(0) !== 94 || !o.includes(c.slice(1)) ? r(a) : (e.enter("gfmFootnoteCallLabelMarker"), e.consume(a), e.exit("gfmFootnoteCallLabelMarker"), n(a));
3911
+ return c.codePointAt(0) !== 94 || !o.includes(c.slice(1)) ? n(i) : (e.enter("gfmFootnoteCallLabelMarker"), e.consume(i), e.exit("gfmFootnoteCallLabelMarker"), t(i));
3912
3912
  }
3913
3913
  }
3914
3914
  function aa(e, t) {
@@ -3987,158 +3987,158 @@ function aa(e, t) {
3987
3987
  ];
3988
3988
  return e.splice(n, e.length - n + 1, ...s), e;
3989
3989
  }
3990
- function oa(e, n, r) {
3991
- let i = this, o = i.parser.gfmFootnotes || (i.parser.gfmFootnotes = []), s = 0, c;
3992
- return l;
3993
- function l(t) {
3994
- return e.enter("gfmFootnoteCall"), e.enter("gfmFootnoteCallLabelMarker"), e.consume(t), e.exit("gfmFootnoteCallLabelMarker"), u;
3990
+ function oa(e, t, n) {
3991
+ let r = this, i = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []), o = 0, s;
3992
+ return c;
3993
+ function c(t) {
3994
+ return e.enter("gfmFootnoteCall"), e.enter("gfmFootnoteCallLabelMarker"), e.consume(t), e.exit("gfmFootnoteCallLabelMarker"), l;
3995
3995
  }
3996
- function u(t) {
3997
- return t === 94 ? (e.enter("gfmFootnoteCallMarker"), e.consume(t), e.exit("gfmFootnoteCallMarker"), e.enter("gfmFootnoteCallString"), e.enter("chunkString").contentType = "string", d) : r(t);
3996
+ function l(t) {
3997
+ return t === 94 ? (e.enter("gfmFootnoteCallMarker"), e.consume(t), e.exit("gfmFootnoteCallMarker"), e.enter("gfmFootnoteCallString"), e.enter("chunkString").contentType = "string", u) : n(t);
3998
3998
  }
3999
- function d(l) {
4000
- if (s > 999 || l === 93 && !c || l === null || l === 91 || a(l)) return r(l);
4001
- if (l === 93) {
3999
+ function u(c) {
4000
+ if (o > 999 || c === 93 && !s || c === null || c === 91 || g(c)) return n(c);
4001
+ if (c === 93) {
4002
4002
  e.exit("chunkString");
4003
- let a = e.exit("gfmFootnoteCallString");
4004
- return o.includes(t(i.sliceSerialize(a))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(l), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), n) : r(l);
4003
+ let o = e.exit("gfmFootnoteCallString");
4004
+ return i.includes(a(r.sliceSerialize(o))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(c), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(c);
4005
4005
  }
4006
- return a(l) || (c = !0), s++, e.consume(l), l === 92 ? f : d;
4006
+ return g(c) || (s = !0), o++, e.consume(c), c === 92 ? d : u;
4007
4007
  }
4008
- function f(t) {
4009
- return t === 91 || t === 92 || t === 93 ? (e.consume(t), s++, d) : d(t);
4008
+ function d(t) {
4009
+ return t === 91 || t === 92 || t === 93 ? (e.consume(t), o++, u) : u(t);
4010
4010
  }
4011
4011
  }
4012
- function sa(e, n, i) {
4013
- let o = this, s = o.parser.gfmFootnotes || (o.parser.gfmFootnotes = []), c, l = 0, u;
4014
- return d;
4015
- function d(t) {
4016
- return e.enter("gfmFootnoteDefinition")._container = !0, e.enter("gfmFootnoteDefinitionLabel"), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(t), e.exit("gfmFootnoteDefinitionLabelMarker"), f;
4012
+ function sa(e, t, n) {
4013
+ let r = this, i = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []), o, s = 0, c;
4014
+ return l;
4015
+ function l(t) {
4016
+ return e.enter("gfmFootnoteDefinition")._container = !0, e.enter("gfmFootnoteDefinitionLabel"), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(t), e.exit("gfmFootnoteDefinitionLabelMarker"), u;
4017
4017
  }
4018
- function f(t) {
4019
- return t === 94 ? (e.enter("gfmFootnoteDefinitionMarker"), e.consume(t), e.exit("gfmFootnoteDefinitionMarker"), e.enter("gfmFootnoteDefinitionLabelString"), e.enter("chunkString").contentType = "string", p) : i(t);
4018
+ function u(t) {
4019
+ return t === 94 ? (e.enter("gfmFootnoteDefinitionMarker"), e.consume(t), e.exit("gfmFootnoteDefinitionMarker"), e.enter("gfmFootnoteDefinitionLabelString"), e.enter("chunkString").contentType = "string", d) : n(t);
4020
4020
  }
4021
- function p(n) {
4022
- if (l > 999 || n === 93 && !u || n === null || n === 91 || a(n)) return i(n);
4023
- if (n === 93) {
4021
+ function d(t) {
4022
+ if (s > 999 || t === 93 && !c || t === null || t === 91 || g(t)) return n(t);
4023
+ if (t === 93) {
4024
4024
  e.exit("chunkString");
4025
- let r = e.exit("gfmFootnoteDefinitionLabelString");
4026
- return c = t(o.sliceSerialize(r)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(n), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), h;
4025
+ let n = e.exit("gfmFootnoteDefinitionLabelString");
4026
+ return o = a(r.sliceSerialize(n)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(t), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), p;
4027
4027
  }
4028
- return a(n) || (u = !0), l++, e.consume(n), n === 92 ? m : p;
4028
+ return g(t) || (c = !0), s++, e.consume(t), t === 92 ? f : d;
4029
4029
  }
4030
- function m(t) {
4031
- return t === 91 || t === 92 || t === 93 ? (e.consume(t), l++, p) : p(t);
4030
+ function f(t) {
4031
+ return t === 91 || t === 92 || t === 93 ? (e.consume(t), s++, d) : d(t);
4032
4032
  }
4033
- function h(t) {
4034
- return t === 58 ? (e.enter("definitionMarker"), e.consume(t), e.exit("definitionMarker"), s.includes(c) || s.push(c), r(e, g, "gfmFootnoteDefinitionWhitespace")) : i(t);
4033
+ function p(t) {
4034
+ return t === 58 ? (e.enter("definitionMarker"), e.consume(t), e.exit("definitionMarker"), i.includes(o) || i.push(o), C(e, m, "gfmFootnoteDefinitionWhitespace")) : n(t);
4035
4035
  }
4036
- function g(e) {
4037
- return n(e);
4036
+ function m(e) {
4037
+ return t(e);
4038
4038
  }
4039
4039
  }
4040
- function ca(e, t, r) {
4041
- return e.check(n, t, e.attempt(na, t, r));
4040
+ function ca(e, t, n) {
4041
+ return e.check(p, t, e.attempt(na, t, n));
4042
4042
  }
4043
4043
  function la(e) {
4044
4044
  e.exit("gfmFootnoteDefinition");
4045
4045
  }
4046
4046
  function ua(e, t, n) {
4047
- let i = this;
4048
- return r(e, a, "gfmFootnoteDefinitionIndent", 5);
4049
- function a(e) {
4050
- let r = i.events[i.events.length - 1];
4051
- return r && r[1].type === "gfmFootnoteDefinitionIndent" && r[2].sliceSerialize(r[1], !0).length === 4 ? t(e) : n(e);
4047
+ let r = this;
4048
+ return C(e, i, "gfmFootnoteDefinitionIndent", 5);
4049
+ function i(e) {
4050
+ let i = r.events[r.events.length - 1];
4051
+ return i && i[1].type === "gfmFootnoteDefinitionIndent" && i[2].sliceSerialize(i[1], !0).length === 4 ? t(e) : n(e);
4052
4052
  }
4053
4053
  }
4054
4054
  // node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js
4055
4055
  function da(e) {
4056
- let t = (e || {}).singleTilde, n = {
4056
+ let t = (e || {}).singleTilde, r = {
4057
4057
  name: "strikethrough",
4058
- tokenize: i,
4059
- resolveAll: r
4058
+ tokenize: a,
4059
+ resolveAll: i
4060
4060
  };
4061
4061
  return t ??= !0, {
4062
- text: { 126: n },
4063
- insideSpan: { null: [n] },
4062
+ text: { 126: r },
4063
+ insideSpan: { null: [r] },
4064
4064
  attentionMarkers: { null: [126] }
4065
4065
  };
4066
- function r(e, t) {
4067
- let n = -1;
4068
- for (; ++n < e.length;) if (e[n][0] === "enter" && e[n][1].type === "strikethroughSequenceTemporary" && e[n][1]._close) {
4069
- let r = n;
4070
- for (; r--;) if (e[r][0] === "exit" && e[r][1].type === "strikethroughSequenceTemporary" && e[r][1]._open && e[n][1].end.offset - e[n][1].start.offset === e[r][1].end.offset - e[r][1].start.offset) {
4071
- e[n][1].type = "strikethroughSequence", e[r][1].type = "strikethroughSequence";
4072
- let i = {
4066
+ function i(e, t) {
4067
+ let r = -1;
4068
+ for (; ++r < e.length;) if (e[r][0] === "enter" && e[r][1].type === "strikethroughSequenceTemporary" && e[r][1]._close) {
4069
+ let i = r;
4070
+ for (; i--;) if (e[i][0] === "exit" && e[i][1].type === "strikethroughSequenceTemporary" && e[i][1]._open && e[r][1].end.offset - e[r][1].start.offset === e[i][1].end.offset - e[i][1].start.offset) {
4071
+ e[r][1].type = "strikethroughSequence", e[i][1].type = "strikethroughSequence";
4072
+ let a = {
4073
4073
  type: "strikethrough",
4074
- start: Object.assign({}, e[r][1].start),
4075
- end: Object.assign({}, e[n][1].end)
4076
- }, a = {
4074
+ start: Object.assign({}, e[i][1].start),
4075
+ end: Object.assign({}, e[r][1].end)
4076
+ }, o = {
4077
4077
  type: "strikethroughText",
4078
- start: Object.assign({}, e[r][1].end),
4079
- end: Object.assign({}, e[n][1].start)
4080
- }, o = [
4078
+ start: Object.assign({}, e[i][1].end),
4079
+ end: Object.assign({}, e[r][1].start)
4080
+ }, s = [
4081
4081
  [
4082
4082
  "enter",
4083
- i,
4083
+ a,
4084
4084
  t
4085
4085
  ],
4086
4086
  [
4087
4087
  "enter",
4088
- e[r][1],
4088
+ e[i][1],
4089
4089
  t
4090
4090
  ],
4091
4091
  [
4092
4092
  "exit",
4093
- e[r][1],
4093
+ e[i][1],
4094
4094
  t
4095
4095
  ],
4096
4096
  [
4097
4097
  "enter",
4098
- a,
4098
+ o,
4099
4099
  t
4100
4100
  ]
4101
- ], s = t.parser.constructs.insideSpan.null;
4102
- s && d(o, o.length, 0, b(s, e.slice(r + 1, n), t)), d(o, o.length, 0, [
4101
+ ], c = t.parser.constructs.insideSpan.null;
4102
+ c && n(s, s.length, 0, l(c, e.slice(i + 1, r), t)), n(s, s.length, 0, [
4103
4103
  [
4104
4104
  "exit",
4105
- a,
4105
+ o,
4106
4106
  t
4107
4107
  ],
4108
4108
  [
4109
4109
  "enter",
4110
- e[n][1],
4110
+ e[r][1],
4111
4111
  t
4112
4112
  ],
4113
4113
  [
4114
4114
  "exit",
4115
- e[n][1],
4115
+ e[r][1],
4116
4116
  t
4117
4117
  ],
4118
4118
  [
4119
4119
  "exit",
4120
- i,
4120
+ a,
4121
4121
  t
4122
4122
  ]
4123
- ]), d(e, r - 1, n - r + 3, o), n = r + o.length - 2;
4123
+ ]), n(e, i - 1, r - i + 3, s), r = i + s.length - 2;
4124
4124
  break;
4125
4125
  }
4126
4126
  }
4127
- for (n = -1; ++n < e.length;) e[n][1].type === "strikethroughSequenceTemporary" && (e[n][1].type = "data");
4127
+ for (r = -1; ++r < e.length;) e[r][1].type === "strikethroughSequenceTemporary" && (e[r][1].type = "data");
4128
4128
  return e;
4129
4129
  }
4130
- function i(e, n, r) {
4130
+ function a(e, n, r) {
4131
4131
  let i = this.previous, a = this.events, o = 0;
4132
4132
  return s;
4133
4133
  function s(t) {
4134
4134
  return i === 126 && a[a.length - 1][1].type !== "characterEscape" ? r(t) : (e.enter("strikethroughSequenceTemporary"), c(t));
4135
4135
  }
4136
4136
  function c(a) {
4137
- let s = u(i);
4137
+ let s = b(i);
4138
4138
  if (a === 126) return o > 1 ? r(a) : (e.consume(a), o++, c);
4139
4139
  if (o < 2 && !t) return r(a);
4140
- let l = e.exit("strikethroughSequenceTemporary"), d = u(a);
4141
- return l._open = !d || d === 2 && !!s, l._close = !s || s === 2 && !!d, n(a);
4140
+ let l = e.exit("strikethroughSequenceTemporary"), u = b(a);
4141
+ return l._open = !u || u === 2 && !!s, l._close = !s || s === 2 && !!u, n(a);
4142
4142
  }
4143
4143
  }
4144
4144
  }
@@ -4207,69 +4207,69 @@ function ha() {
4207
4207
  resolveAll: _a
4208
4208
  } } };
4209
4209
  }
4210
- function ga(e, t, n) {
4211
- let s = this, c = 0, l = 0, u;
4212
- return d;
4213
- function d(e) {
4214
- let t = s.events.length - 1;
4210
+ function ga(e, n, r) {
4211
+ let i = this, a = 0, s = 0, c;
4212
+ return l;
4213
+ function l(e) {
4214
+ let t = i.events.length - 1;
4215
4215
  for (; t > -1;) {
4216
- let { type: e } = s.events[t][1];
4216
+ let { type: e } = i.events[t][1];
4217
4217
  if (e === "lineEnding" || e === "linePrefix") t--;
4218
4218
  else break;
4219
4219
  }
4220
- let r = t > -1 ? s.events[t][1].type : null, i = r === "tableHead" || r === "tableRow" ? E : f;
4221
- return i === E && s.parser.lazy[s.now().line] ? n(e) : i(e);
4220
+ let n = t > -1 ? i.events[t][1].type : null, a = n === "tableHead" || n === "tableRow" ? E : u;
4221
+ return a === E && i.parser.lazy[i.now().line] ? r(e) : a(e);
4222
4222
  }
4223
- function f(t) {
4224
- return e.enter("tableHead"), e.enter("tableRow"), p(t);
4223
+ function u(t) {
4224
+ return e.enter("tableHead"), e.enter("tableRow"), d(t);
4225
4225
  }
4226
- function p(e) {
4227
- return e === 124 || (u = !0, l += 1), m(e);
4226
+ function d(e) {
4227
+ return e === 124 || (c = !0, s += 1), f(e);
4228
4228
  }
4229
- function m(t) {
4230
- return t === null ? n(t) : i(t) ? l > 1 ? (l = 0, s.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), _) : n(t) : o(t) ? r(e, m, "whitespace")(t) : (l += 1, u && (u = !1, c += 1), t === 124 ? (e.enter("tableCellDivider"), e.consume(t), e.exit("tableCellDivider"), u = !0, m) : (e.enter("data"), h(t)));
4229
+ function f(n) {
4230
+ return n === null ? r(n) : o(n) ? s > 1 ? (s = 0, i.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), h) : r(n) : t(n) ? C(e, f, "whitespace")(n) : (s += 1, c && (c = !1, a += 1), n === 124 ? (e.enter("tableCellDivider"), e.consume(n), e.exit("tableCellDivider"), c = !0, f) : (e.enter("data"), p(n)));
4231
+ }
4232
+ function p(t) {
4233
+ return t === null || t === 124 || g(t) ? (e.exit("data"), f(t)) : (e.consume(t), t === 92 ? m : p);
4231
4234
  }
4232
- function h(t) {
4233
- return t === null || t === 124 || a(t) ? (e.exit("data"), m(t)) : (e.consume(t), t === 92 ? g : h);
4235
+ function m(t) {
4236
+ return t === 92 || t === 124 ? (e.consume(t), p) : p(t);
4234
4237
  }
4235
- function g(t) {
4236
- return t === 92 || t === 124 ? (e.consume(t), h) : h(t);
4238
+ function h(n) {
4239
+ return i.interrupt = !1, i.parser.lazy[i.now().line] ? r(n) : (e.enter("tableDelimiterRow"), c = !1, t(n) ? C(e, _, "linePrefix", i.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(n) : _(n));
4237
4240
  }
4238
4241
  function _(t) {
4239
- return s.interrupt = !1, s.parser.lazy[s.now().line] ? n(t) : (e.enter("tableDelimiterRow"), u = !1, o(t) ? r(e, v, "linePrefix", s.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : v(t));
4242
+ return t === 45 || t === 58 ? y(t) : t === 124 ? (c = !0, e.enter("tableCellDivider"), e.consume(t), e.exit("tableCellDivider"), v) : T(t);
4240
4243
  }
4241
- function v(t) {
4242
- return t === 45 || t === 58 ? b(t) : t === 124 ? (u = !0, e.enter("tableCellDivider"), e.consume(t), e.exit("tableCellDivider"), y) : T(t);
4244
+ function v(n) {
4245
+ return t(n) ? C(e, y, "whitespace")(n) : y(n);
4243
4246
  }
4244
4247
  function y(t) {
4245
- return o(t) ? r(e, b, "whitespace")(t) : b(t);
4248
+ return t === 58 ? (s += 1, c = !0, e.enter("tableDelimiterMarker"), e.consume(t), e.exit("tableDelimiterMarker"), b) : t === 45 ? (s += 1, b(t)) : t === null || o(t) ? w(t) : T(t);
4246
4249
  }
4247
4250
  function b(t) {
4248
- return t === 58 ? (l += 1, u = !0, e.enter("tableDelimiterMarker"), e.consume(t), e.exit("tableDelimiterMarker"), x) : t === 45 ? (l += 1, x(t)) : t === null || i(t) ? w(t) : T(t);
4251
+ return t === 45 ? (e.enter("tableDelimiterFiller"), x(t)) : T(t);
4249
4252
  }
4250
4253
  function x(t) {
4251
- return t === 45 ? (e.enter("tableDelimiterFiller"), S(t)) : T(t);
4252
- }
4253
- function S(t) {
4254
- return t === 45 ? (e.consume(t), S) : t === 58 ? (u = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(t), e.exit("tableDelimiterMarker"), C) : (e.exit("tableDelimiterFiller"), C(t));
4254
+ return t === 45 ? (e.consume(t), x) : t === 58 ? (c = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(t), e.exit("tableDelimiterMarker"), S) : (e.exit("tableDelimiterFiller"), S(t));
4255
4255
  }
4256
- function C(t) {
4257
- return o(t) ? r(e, w, "whitespace")(t) : w(t);
4256
+ function S(n) {
4257
+ return t(n) ? C(e, w, "whitespace")(n) : w(n);
4258
4258
  }
4259
- function w(n) {
4260
- return n === 124 ? v(n) : n === null || i(n) ? !u || c !== l ? T(n) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(n)) : T(n);
4259
+ function w(t) {
4260
+ return t === 124 ? _(t) : t === null || o(t) ? !c || a !== s ? T(t) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), n(t)) : T(t);
4261
4261
  }
4262
4262
  function T(e) {
4263
- return n(e);
4263
+ return r(e);
4264
4264
  }
4265
4265
  function E(t) {
4266
4266
  return e.enter("tableRow"), D(t);
4267
4267
  }
4268
- function D(n) {
4269
- return n === 124 ? (e.enter("tableCellDivider"), e.consume(n), e.exit("tableCellDivider"), D) : n === null || i(n) ? (e.exit("tableRow"), t(n)) : o(n) ? r(e, D, "whitespace")(n) : (e.enter("data"), O(n));
4268
+ function D(r) {
4269
+ return r === 124 ? (e.enter("tableCellDivider"), e.consume(r), e.exit("tableCellDivider"), D) : r === null || o(r) ? (e.exit("tableRow"), n(r)) : t(r) ? C(e, D, "whitespace")(r) : (e.enter("data"), O(r));
4270
4270
  }
4271
4271
  function O(t) {
4272
- return t === null || t === 124 || a(t) ? (e.exit("data"), D(t)) : (e.consume(t), t === 92 ? k : O);
4272
+ return t === null || t === 124 || g(t) ? (e.exit("data"), D(t)) : (e.consume(t), t === 92 ? k : O);
4273
4273
  }
4274
4274
  function k(t) {
4275
4275
  return t === 92 || t === 124 ? (e.consume(t), O) : O(t);
@@ -4402,31 +4402,31 @@ var xa = {
4402
4402
  function Sa() {
4403
4403
  return { text: { 91: xa } };
4404
4404
  }
4405
- function Ca(e, t, n) {
4406
- let r = this;
4407
- return s;
4405
+ function Ca(e, n, r) {
4406
+ let i = this;
4407
+ return a;
4408
+ function a(t) {
4409
+ return i.previous !== null || !i._gfmTasklistFirstContentOfListItem ? r(t) : (e.enter("taskListCheck"), e.enter("taskListCheckMarker"), e.consume(t), e.exit("taskListCheckMarker"), s);
4410
+ }
4408
4411
  function s(t) {
4409
- return r.previous !== null || !r._gfmTasklistFirstContentOfListItem ? n(t) : (e.enter("taskListCheck"), e.enter("taskListCheckMarker"), e.consume(t), e.exit("taskListCheckMarker"), c);
4412
+ return g(t) ? (e.enter("taskListCheckValueUnchecked"), e.consume(t), e.exit("taskListCheckValueUnchecked"), c) : t === 88 || t === 120 ? (e.enter("taskListCheckValueChecked"), e.consume(t), e.exit("taskListCheckValueChecked"), c) : r(t);
4410
4413
  }
4411
4414
  function c(t) {
4412
- return a(t) ? (e.enter("taskListCheckValueUnchecked"), e.consume(t), e.exit("taskListCheckValueUnchecked"), l) : t === 88 || t === 120 ? (e.enter("taskListCheckValueChecked"), e.consume(t), e.exit("taskListCheckValueChecked"), l) : n(t);
4413
- }
4414
- function l(t) {
4415
- return t === 93 ? (e.enter("taskListCheckMarker"), e.consume(t), e.exit("taskListCheckMarker"), e.exit("taskListCheck"), u) : n(t);
4415
+ return t === 93 ? (e.enter("taskListCheckMarker"), e.consume(t), e.exit("taskListCheckMarker"), e.exit("taskListCheck"), l) : r(t);
4416
4416
  }
4417
- function u(r) {
4418
- return i(r) ? t(r) : o(r) ? e.check({ tokenize: wa }, t, n)(r) : n(r);
4417
+ function l(i) {
4418
+ return o(i) ? n(i) : t(i) ? e.check({ tokenize: wa }, n, r)(i) : r(i);
4419
4419
  }
4420
4420
  }
4421
4421
  function wa(e, t, n) {
4422
- return r(e, i, "whitespace");
4423
- function i(e) {
4422
+ return C(e, r, "whitespace");
4423
+ function r(e) {
4424
4424
  return e === null ? n(e) : t(e);
4425
4425
  }
4426
4426
  }
4427
4427
  // node_modules/micromark-extension-gfm/index.js
4428
4428
  function Ta(e) {
4429
- return f([
4429
+ return s([
4430
4430
  Hi(),
4431
4431
  ra(),
4432
4432
  da(e),
@@ -4496,7 +4496,7 @@ function Fa(t, n, r, i, a) {
4496
4496
  if (t.slice(d, a).includes("{{")) return null;
4497
4497
  if (n < 0 || n >= r) break;
4498
4498
  if (d = n, t.startsWith("<!--", d)) {
4499
- d = S(t, d, r);
4499
+ d = f(t, d, r);
4500
4500
  continue;
4501
4501
  }
4502
4502
  let o = /^<(\/?)([A-Za-z][A-Za-z0-9:-]*)/.exec(t.slice(d, Math.min(r, d + 80)));
@@ -4504,50 +4504,50 @@ function Fa(t, n, r, i, a) {
4504
4504
  d += 1;
4505
4505
  continue;
4506
4506
  }
4507
- let f = d + o[0].length, p = t[f];
4508
- if (!(p === ">" || p === "/" || p !== void 0 && /\s/.test(p))) {
4509
- d = f;
4507
+ let p = d + o[0].length, m = t[p];
4508
+ if (!(m === ">" || m === "/" || m !== void 0 && /\s/.test(m))) {
4509
+ d = p;
4510
4510
  continue;
4511
4511
  }
4512
- let g = o[2].toLowerCase(), _ = o[1] === "/", v = h(t, f, r);
4513
- if (v < 0) return null;
4514
- let y = {
4515
- name: g,
4516
- closing: _,
4517
- self: !_ && /\/\s*$/.test(t.slice(f, v - 1)),
4512
+ let h = o[2].toLowerCase(), g = o[1] === "/", _ = v(t, p, r);
4513
+ if (_ < 0) return null;
4514
+ let b = {
4515
+ name: h,
4516
+ closing: g,
4517
+ self: !g && /\/\s*$/.test(t.slice(p, _ - 1)),
4518
4518
  start: d,
4519
- end: v
4519
+ end: _
4520
4520
  };
4521
- if (i.has(g)) return null;
4522
- if (_) {
4523
- if (g !== "table" && !e.has(g) && !w.has(g) || g !== "table" && e.has(g) && !s && !c.some((e) => e.name === "table")) return null;
4521
+ if (i.has(h)) return null;
4522
+ if (g) {
4523
+ if (h !== "table" && !e.has(h) && !w.has(h) || h !== "table" && e.has(h) && !s && !c.some((e) => e.name === "table")) return null;
4524
4524
  let t = -1;
4525
- for (let e = c.length - 1; e >= 0; --e) if (c[e].name === g) {
4525
+ for (let e = c.length - 1; e >= 0; --e) if (c[e].name === h) {
4526
4526
  t = e;
4527
4527
  break;
4528
4528
  }
4529
- t >= 0 ? c.length = t : l ??= y, d = y.end;
4529
+ t >= 0 ? c.length = t : l ??= b, d = b.end;
4530
4530
  } else {
4531
- if (g === "table") u = !0;
4532
- else if (e.has(g)) {
4531
+ if (h === "table") u = !0;
4532
+ else if (e.has(h)) {
4533
4533
  if (!s && !c.some((e) => e.name === "table")) return null;
4534
- } else if (!w.has(g)) return null;
4535
- if (ja.has(g)) return null;
4536
- if (!m.has(g) && !y.self) {
4537
- if (g === "code" || g === "pre") {
4538
- let e = RegExp(`</${g}\\s*>`, "gi");
4539
- e.lastIndex = y.end;
4534
+ } else if (!w.has(h)) return null;
4535
+ if (ja.has(h)) return null;
4536
+ if (!y.has(h) && !b.self) {
4537
+ if (h === "code" || h === "pre") {
4538
+ let e = RegExp(`</${h}\\s*>`, "gi");
4539
+ e.lastIndex = b.end;
4540
4540
  let n = e.exec(t);
4541
4541
  if (n && n.index < r) {
4542
4542
  d = n.index + n[0].length;
4543
4543
  continue;
4544
4544
  }
4545
- c.push(y), d = r;
4545
+ c.push(b), d = r;
4546
4546
  continue;
4547
4547
  }
4548
- c.push(y);
4548
+ c.push(b);
4549
4549
  }
4550
- d = y.end;
4550
+ d = b.end;
4551
4551
  }
4552
4552
  }
4553
4553
  return c.length > 0 ? {
@@ -4567,13 +4567,13 @@ function Ia(e, t) {
4567
4567
  for (let r of t.attrs) {
4568
4568
  if (r.prefix || r.namespace || r.value.includes("{{")) return null;
4569
4569
  let t = r.name.toLowerCase();
4570
- if (!x(e, t)) return null;
4570
+ if (!_(e, t)) return null;
4571
4571
  if (t === "align" && T.has(e)) {
4572
- let t = y(e, r.value);
4572
+ let t = d(e, r.value);
4573
4573
  if (!t) return null;
4574
4574
  n.align = t;
4575
4575
  } else {
4576
- if (!l(t, r.value)) return null;
4576
+ if (!m(t, r.value)) return null;
4577
4577
  n[t] = r.value;
4578
4578
  }
4579
4579
  }
@@ -4583,21 +4583,21 @@ function La(t, n, r, i, a, o) {
4583
4583
  if (!Number.isInteger(n) || !Number.isInteger(r) || n < 0 || r > t.length || r <= n) return null;
4584
4584
  let s = Fa(t, n, r, a, o);
4585
4585
  if (s === null) return null;
4586
- let c = r - n, l = (e) => Math.max(0, Math.min(c, e)), u = (e) => n + l(e), d = [], f = [];
4587
- s.strayClose && d.push({
4586
+ let c = r - n, l = (e) => Math.max(0, Math.min(c, e)), d = (e) => n + l(e), f = [], p = [];
4587
+ s.strayClose && f.push({
4588
4588
  start: s.strayClose.start,
4589
4589
  end: s.strayClose.end
4590
- }), s.unclosed && d.push({
4590
+ }), s.unclosed && f.push({
4591
4591
  start: s.unclosed.start,
4592
4592
  end: s.unclosed.end
4593
4593
  });
4594
- let p = s.tableMode, h = {
4594
+ let m = s.tableMode, h = {
4595
4595
  scriptingEnabled: !1,
4596
4596
  sourceCodeLocationInfo: !0
4597
- }, _ = t.slice(n, r), v = s.contextTag === null ? D(_, h) : D(E.createElement(s.contextTag, Aa, []), _, h);
4598
- function y(e) {
4597
+ }, g = t.slice(n, r), _ = s.contextTag === null ? D(g, h) : D(E.createElement(s.contextTag, Aa, []), g, h);
4598
+ function v(e) {
4599
4599
  if (!Number.isInteger(e.startOffset) || !Number.isInteger(e.endOffset)) return null;
4600
- let t = u(e.startOffset), n = u(e.endOffset);
4600
+ let t = d(e.startOffset), n = d(e.endOffset);
4601
4601
  return n < t ? null : {
4602
4602
  start: t,
4603
4603
  end: n
@@ -4622,7 +4622,7 @@ function La(t, n, r, i, a, o) {
4622
4622
  e.synthetic = !0, e.syntheticBoundary = {
4623
4623
  start: t.start,
4624
4624
  end: t.end
4625
- }, f.push({
4625
+ }, p.push({
4626
4626
  start: t.start,
4627
4627
  end: t.end
4628
4628
  });
@@ -4660,13 +4660,13 @@ function La(t, n, r, i, a, o) {
4660
4660
  if (E.isTextNode(e)) {
4661
4661
  let t = e.sourceCodeLocation;
4662
4662
  if (!t) return null;
4663
- let n = y(t);
4663
+ let n = v(t);
4664
4664
  return n === null ? null : n.start === n.end ? void 0 : e.value.includes("{{") ? null : i("text", n.start, n.end, { value: e.value.replace(/\u0000/g, "�") });
4665
4665
  }
4666
4666
  if (E.isCommentNode(e)) {
4667
4667
  let t = e.sourceCodeLocation;
4668
4668
  if (!t) return null;
4669
- let n = y(t);
4669
+ let n = v(t);
4670
4670
  return n === null ? null : i("comment", n.start, n.end);
4671
4671
  }
4672
4672
  return E.isElementNode(e) ? ee(e, t, n) : null;
@@ -4683,17 +4683,17 @@ function La(t, n, r, i, a, o) {
4683
4683
  let n = t.start === void 0 ? void 0 : Number(t.start);
4684
4684
  return e === "ol" && n !== void 0 && Number.isFinite(n) && (r.start = n), r;
4685
4685
  }
4686
- return r.type = e === "p" ? "paragraph" : e === "div" ? "div" : e === "blockquote" ? "blockquote" : e === "details" ? "details" : e === "li" ? "listItem" : g[e] ?? e, r;
4686
+ return r.type = e === "p" ? "paragraph" : e === "div" ? "div" : e === "blockquote" ? "blockquote" : e === "details" ? "details" : e === "li" ? "listItem" : u[e] ?? e, r;
4687
4687
  }
4688
4688
  function ee(n, r, a) {
4689
4689
  if (r > Pa || n.namespaceURI !== Aa) return null;
4690
4690
  let o = n.tagName.toLowerCase();
4691
- if (ja.has(o) || !w.has(o) && !(p && e.has(o))) return null;
4691
+ if (ja.has(o) || !w.has(o) && !(m && e.has(o))) return null;
4692
4692
  let s = n.sourceCodeLocation, c = !s, l = Ia(o, n);
4693
4693
  if (l === null) return null;
4694
4694
  if (o === "br" || o === "hr" || o === "img") {
4695
4695
  if (!s) return null;
4696
- let e = y(s);
4696
+ let e = v(s);
4697
4697
  if (e === null) return null;
4698
4698
  if (o === "br") return i("break", e.start, e.end, { attrs: l });
4699
4699
  if (o === "hr") return i("thematicBreak", e.start, e.end, { attrs: l });
@@ -4709,14 +4709,14 @@ function La(t, n, r, i, a, o) {
4709
4709
  }
4710
4710
  if (o === "code" || o === "pre") {
4711
4711
  if (!s || !s.startTag) return null;
4712
- let e = y(s);
4712
+ let e = v(s);
4713
4713
  if (e === null) return null;
4714
- let n = u(s.startTag.endOffset), r = s.endTag ? u(s.endTag.startOffset) : u(s.endOffset);
4714
+ let n = d(s.startTag.endOffset), r = s.endTag ? d(s.endTag.startOffset) : d(s.endOffset);
4715
4715
  if (r < n) return null;
4716
4716
  let a = t.slice(n, r);
4717
- if (s.endTag === void 0 && d.push({
4718
- start: u(s.startTag.startOffset),
4719
- end: u(s.startTag.endOffset)
4717
+ if (s.endTag === void 0 && f.push({
4718
+ start: d(s.startTag.startOffset),
4719
+ end: d(s.startTag.endOffset)
4720
4720
  }), o === "pre") {
4721
4721
  let t = /^<code(?:\s[^>]*)?>([\s\S]*)<\/code>$/.exec(a);
4722
4722
  return i("code", e.start, e.end, {
@@ -4730,19 +4730,19 @@ function La(t, n, r, i, a, o) {
4730
4730
  });
4731
4731
  }
4732
4732
  if (e.has(o)) return ne(n, o, l, r, a, s);
4733
- let f = T(n, o, r, a);
4734
- if (f === null) return null;
4735
- let m = k(o, l, f), h;
4736
- if (c) h = x(f, a), S(m, h);
4733
+ let u = T(n, o, r, a);
4734
+ if (u === null) return null;
4735
+ let p = k(o, l, u), h;
4736
+ if (c) h = x(u, a), S(p, h);
4737
4737
  else {
4738
- let e = y(s);
4738
+ let e = v(s);
4739
4739
  if (e === null) return null;
4740
- h = e, !s?.endTag && s?.startTag && d.push({
4741
- start: u(s.startTag.startOffset),
4742
- end: u(s.startTag.endOffset)
4740
+ h = e, !s?.endTag && s?.startTag && f.push({
4741
+ start: d(s.startTag.startOffset),
4742
+ end: d(s.startTag.endOffset)
4743
4743
  });
4744
4744
  }
4745
- return i(m.type ?? o, h.start, h.end, m);
4745
+ return i(p.type ?? o, h.start, h.end, p);
4746
4746
  }
4747
4747
  function te(e, t, n, r) {
4748
4748
  let i = Na[t];
@@ -4769,7 +4769,7 @@ function La(t, n, r, i, a, o) {
4769
4769
  if (r > Pa) return null;
4770
4770
  let s = !o, c;
4771
4771
  if (c = t === "td" || t === "th" || t === "caption" ? T(e, t, r, a) : te(e, t, r, a), c === null) return null;
4772
- let l, f = t === "table" ? {
4772
+ let l, u = t === "table" ? {
4773
4773
  attrs: n,
4774
4774
  children: c
4775
4775
  } : {
@@ -4777,19 +4777,19 @@ function La(t, n, r, i, a, o) {
4777
4777
  children: c,
4778
4778
  name: t
4779
4779
  };
4780
- if (s) l = x(c, a), S(f, l);
4780
+ if (s) l = x(c, a), S(u, l);
4781
4781
  else {
4782
- let e = y(o);
4782
+ let e = v(o);
4783
4783
  if (e === null) return null;
4784
- l = e, !o?.endTag && !m.has(t) && o?.startTag && d.push({
4785
- start: u(o.startTag.startOffset),
4786
- end: u(o.startTag.endOffset)
4784
+ l = e, !o?.endTag && !y.has(t) && o?.startTag && f.push({
4785
+ start: d(o.startTag.startOffset),
4786
+ end: d(o.startTag.endOffset)
4787
4787
  });
4788
4788
  }
4789
- return i(t === "table" ? "htmlTable" : "htmlTableElement", l.start, l.end, f);
4789
+ return i(t === "table" ? "htmlTable" : "htmlTableElement", l.start, l.end, u);
4790
4790
  }
4791
4791
  let re = [], ie = -Infinity;
4792
- for (let e of v.childNodes) {
4792
+ for (let e of _.childNodes) {
4793
4793
  let t = O(e, 0, n);
4794
4794
  if (t === null) return null;
4795
4795
  if (t !== void 0) {
@@ -4798,8 +4798,8 @@ function La(t, n, r, i, a, o) {
4798
4798
  }
4799
4799
  }
4800
4800
  if (re.length === 0 || !re.some((e) => !(e.type === "comment" || e.type === "text" && !(e.value ?? "").trim()))) return null;
4801
- d.sort((e, t) => e.start - t.start || e.end - t.end), f.sort((e, t) => e.start - t.start || e.end - t.end);
4802
- let ae = d[0] ?? f[0], oe = ae === void 0 ? n : Math.max(n, Math.min(r, ae.start));
4801
+ f.sort((e, t) => e.start - t.start || e.end - t.end), p.sort((e, t) => e.start - t.start || e.end - t.end);
4802
+ let ae = f[0] ?? p[0], oe = ae === void 0 ? n : Math.max(n, Math.min(r, ae.start));
4803
4803
  return {
4804
4804
  nodes: re,
4805
4805
  recovery: {