@baishuyun/ai-design 2.0.31 → 2.0.33

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 (410) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/package.json +4 -4
  3. package/src/components/agent-helper/field-select/index.tsx +4 -1
  4. package/src/components/form-info-editor.tsx +13 -3
  5. package/.claude/settings.local.json +0 -7
  6. package/.turbo/turbo-build.log +0 -574
  7. package/debug-storybook.log +0 -19
  8. package/dist/ai-design.js +0 -39928
  9. package/dist/ai-design.js.map +0 -1
  10. package/dist/ai-design.umd.cjs +0 -591
  11. package/dist/ai-design.umd.cjs.map +0 -1
  12. package/dist/index.css +0 -1
  13. package/storybook-static/assets/AbsFullscreenGradientBg.stories-Hd2WmWkA.js +0 -18
  14. package/storybook-static/assets/AgentScrollSelector.stories-C3rsFZ6F.js +0 -40
  15. package/storybook-static/assets/AgentSelect.stories-DVhwD0rq.js +0 -53
  16. package/storybook-static/assets/AttachmentPart.stories-ejj4i7n-.js +0 -45
  17. package/storybook-static/assets/AttachmentPartGroup.stories-5Zdayw6l.js +0 -34
  18. package/storybook-static/assets/AttachmentsPreviewer.stories-DyjtCRco.js +0 -138
  19. package/storybook-static/assets/BaseButton.stories-DrGEYx9W.js +0 -11
  20. package/storybook-static/assets/BorderAnimation.stories-D9p4pgL6.js +0 -87
  21. package/storybook-static/assets/BorderColorAnimation.stories-tvilZOeG.js +0 -42
  22. package/storybook-static/assets/BotAvatarAndName.stories-B8ZNN2_J.js +0 -5
  23. package/storybook-static/assets/BotIcon.stories-DAyXSQDa.js +0 -3
  24. package/storybook-static/assets/BsEntrySelect.stories-B2B9FZWy.js +0 -119
  25. package/storybook-static/assets/BsTooltip.stories-Bf_LcqnK.js +0 -6
  26. package/storybook-static/assets/Card.stories-BSeowjg-.js +0 -8
  27. package/storybook-static/assets/CardField.stories-CYnnBUTk.js +0 -41
  28. package/storybook-static/assets/ChatAreaHeader.stories-muYZq_ix.js +0 -6
  29. package/storybook-static/assets/CircleChecker.stories-CueVuqmn.js +0 -38
  30. package/storybook-static/assets/CollapsibleTextMsg.stories-Bl8inRXa.js +0 -21
  31. package/storybook-static/assets/Color-ASIRERSW-CAiV6Nyl.js +0 -1
  32. package/storybook-static/assets/Combination-CZ7kzc03.js +0 -41
  33. package/storybook-static/assets/ConfirmDialog.stories-C3TDIr-r.js +0 -42
  34. package/storybook-static/assets/DocsRenderer-GHJI37HO-DLf4p3c1.js +0 -763
  35. package/storybook-static/assets/FakeBotMsg.stories-CSC1k9UE.js +0 -14
  36. package/storybook-static/assets/FormInfoEditor.stories-DcLwCSHN.js +0 -75
  37. package/storybook-static/assets/FormulaTag.stories-hiPYLb6Y.js +0 -29
  38. package/storybook-static/assets/GenerateAnimation.stories-C5qGwAy0.js +0 -14
  39. package/storybook-static/assets/IconBtn.stories-pcl--4Wl.js +0 -10
  40. package/storybook-static/assets/Icons.stories-FN8wG7iW.js +0 -3
  41. package/storybook-static/assets/ImgMsgPart.stories-CkiWUjiY.js +0 -15
  42. package/storybook-static/assets/LegacySlot.stories-C_PeMEjh.js +0 -38
  43. package/storybook-static/assets/LineChecker.stories-DcChEKvO.js +0 -93
  44. package/storybook-static/assets/LinearGradientBorderBtn.stories-CQgLcYJf.js +0 -46
  45. package/storybook-static/assets/LinearGradientColorBgAnimation.stories-D9NYfNzo.js +0 -43
  46. package/storybook-static/assets/MemoizedMarkdown.stories-BxOuEc_8.js +0 -195
  47. package/storybook-static/assets/MessageContent.stories-Cz7z6a8d.js +0 -14
  48. package/storybook-static/assets/NumbersMsgPart.stories-Dke7EvTU.js +0 -16
  49. package/storybook-static/assets/OfficeContainer.stories-DpQ7TB3v.js +0 -116
  50. package/storybook-static/assets/OptionItem.stories-BNr85yzu.js +0 -44
  51. package/storybook-static/assets/PreviewerHeader.stories-IxioHG75.js +0 -68
  52. package/storybook-static/assets/PrimaryConfirmBtn.stories-Dg0OQKbA.js +0 -30
  53. package/storybook-static/assets/PrimaryEntryBtn.stories-Baz1MVoZ.js +0 -35
  54. package/storybook-static/assets/ScrollToBottom.stories-DqAOmU_g.js +0 -5
  55. package/storybook-static/assets/SplitLine.stories-CbkBng-u.js +0 -9
  56. package/storybook-static/assets/SquareChecker.stories-BFXpWaHr.js +0 -43
  57. package/storybook-static/assets/TabRadioGroup.stories-d3CvjAQV.js +0 -54
  58. package/storybook-static/assets/UserTextMsgBubble.stories-Dv5HUEKe.js +0 -5
  59. package/storybook-static/assets/WarningMessage.stories-DoHvvVJB.js +0 -3
  60. package/storybook-static/assets/WithTooltip-IO6J4KBT-5iq4HD_s.js +0 -9
  61. package/storybook-static/assets/abs-fullscreen-gradient-bg-pEhwW8Lt.js +0 -1
  62. package/storybook-static/assets/agent-select-BlwXZgPu.js +0 -1
  63. package/storybook-static/assets/attachment-part-_D41HaS7.js +0 -1
  64. package/storybook-static/assets/base-button-BGn3Fo0B.js +0 -1
  65. package/storybook-static/assets/border-color-animation-BoCxpIBW.js +0 -10
  66. package/storybook-static/assets/bot-icon-Ci07j_8n.js +0 -1
  67. package/storybook-static/assets/bs-icons-CDeLTCWJ.js +0 -1
  68. package/storybook-static/assets/button-Cyp2OfiJ.js +0 -1
  69. package/storybook-static/assets/collapsible-TCbdh_v_.js +0 -1
  70. package/storybook-static/assets/collapsible-txt-msg-DukRF1Ws.js +0 -1
  71. package/storybook-static/assets/collapsible.stories-DmrXoEsa.js +0 -25
  72. package/storybook-static/assets/confirm-dialog-BO5s3AJb.js +0 -1
  73. package/storybook-static/assets/createLucideIcon-CkLwfbD4.js +0 -21
  74. package/storybook-static/assets/drawer.stories-BdM7Wbzl.js +0 -123
  75. package/storybook-static/assets/field-checker-f9FOL58q.js +0 -1
  76. package/storybook-static/assets/field-checker-list-msg.stories-B_6usiWl.js +0 -37
  77. package/storybook-static/assets/field-checker.stories-BghsIYEd.js +0 -91
  78. package/storybook-static/assets/field-icon-6Mrtj4c9.js +0 -1
  79. package/storybook-static/assets/field-icon.stories-D9Ukdb7l.js +0 -57
  80. package/storybook-static/assets/field-value-checker-BOyFGXwK.js +0 -1
  81. package/storybook-static/assets/field-value-checker.stories-Ch-7H5CO.js +0 -93
  82. package/storybook-static/assets/fields-design-info-table.stories-CtmX3mmp.js +0 -75
  83. package/storybook-static/assets/fields-generating-indicator-Cex4HigZ.js +0 -12
  84. package/storybook-static/assets/fields-generating.stories-CAtWVnX3.js +0 -16
  85. package/storybook-static/assets/fields-previewer.stories-D3USvSB3.js +0 -48
  86. package/storybook-static/assets/font-icon-Ts3EnP1y.js +0 -1
  87. package/storybook-static/assets/formatter-QJ4M4OGQ-Db-9LUhi.js +0 -1
  88. package/storybook-static/assets/icon-btn-B-A_0V7W.js +0 -1
  89. package/storybook-static/assets/icons-iPP3Tbk5.js +0 -1
  90. package/storybook-static/assets/iframe-BNpZCkNl.js +0 -1071
  91. package/storybook-static/assets/iframe-DHG3NC8n.css +0 -1
  92. package/storybook-static/assets/img-part-CWcYacNo.js +0 -1
  93. package/storybook-static/assets/index-B-T-IyWu.js +0 -24
  94. package/storybook-static/assets/index-CCxWT_9r.js +0 -1
  95. package/storybook-static/assets/index-CXB_DHA8.js +0 -1
  96. package/storybook-static/assets/index-CY6zduIX.js +0 -5
  97. package/storybook-static/assets/index-CaU3vELI.js +0 -5
  98. package/storybook-static/assets/index-D-D2iJjc.js +0 -1
  99. package/storybook-static/assets/index-DFx_ePTl.js +0 -1
  100. package/storybook-static/assets/index-DZuATJno.js +0 -1
  101. package/storybook-static/assets/index-DvxqVOC1.js +0 -1
  102. package/storybook-static/assets/index-KJpiBtEb.js +0 -1
  103. package/storybook-static/assets/jsx-runtime-CpaO0gaJ.js +0 -9
  104. package/storybook-static/assets/line-checker-DSzQ_hxZ.js +0 -1
  105. package/storybook-static/assets/linear-gradient-color-bg-animation-DIBcKbzI.js +0 -39
  106. package/storybook-static/assets/message-content-DwEkjIr8.js +0 -1
  107. package/storybook-static/assets/option-item-DVwitDz1.js +0 -1
  108. package/storybook-static/assets/preload-helper-CmsKOCeN.js +0 -1
  109. package/storybook-static/assets/previewer-header-BzO0Sbpf.js +0 -6
  110. package/storybook-static/assets/primary-confirm-btn-CW72MiLv.js +0 -1
  111. package/storybook-static/assets/react-18-Cn3rktXT.js +0 -1
  112. package/storybook-static/assets/square-checker-BKGRXJag.js +0 -1
  113. package/storybook-static/assets/subform-fields-value-checker-DCstRpVF.js +0 -7
  114. package/storybook-static/assets/subform-fields-value-checker.stories-BCg_WRIi.js +0 -114
  115. package/storybook-static/assets/syntaxhighlighter-IQDEPFLK-RkNUra3q.js +0 -6
  116. package/storybook-static/assets/tooltip-3SR6ujOq.js +0 -1
  117. package/storybook-static/assets/ui-B16ZxGB5.js +0 -4
  118. package/storybook-static/assets/utils-CXGjNK-X.js +0 -1
  119. package/storybook-static/favicon-wrapper.svg +0 -46
  120. package/storybook-static/favicon.svg +0 -1
  121. package/storybook-static/iframe.html +0 -687
  122. package/storybook-static/index.html +0 -143
  123. package/storybook-static/index.json +0 -1
  124. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  125. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  126. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  127. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  128. package/storybook-static/project.json +0 -1
  129. package/storybook-static/sb-addons/docs-1/manager-bundle.js +0 -3
  130. package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -628
  131. package/storybook-static/sb-addons/vitest-2/manager-bundle.js +0 -3
  132. package/storybook-static/sb-common-assets/favicon-wrapper.svg +0 -46
  133. package/storybook-static/sb-common-assets/favicon.svg +0 -1
  134. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  135. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  136. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  137. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  138. package/storybook-static/sb-manager/globals-runtime.js +0 -75605
  139. package/storybook-static/sb-manager/globals.js +0 -24
  140. package/storybook-static/sb-manager/manager-stores.js +0 -23
  141. package/storybook-static/sb-manager/runtime.js +0 -19717
  142. package/storybook-static/src/components/abs-fullscreen-gradient-bg.d.ts +0 -10
  143. package/storybook-static/src/components/abs-fullscreen-gradient-bg.d.ts.map +0 -1
  144. package/storybook-static/src/components/agent-scroll-selector.d.ts +0 -12
  145. package/storybook-static/src/components/agent-scroll-selector.d.ts.map +0 -1
  146. package/storybook-static/src/components/agent-select.d.ts +0 -16
  147. package/storybook-static/src/components/agent-select.d.ts.map +0 -1
  148. package/storybook-static/src/components/attachment-part-group.d.ts +0 -16
  149. package/storybook-static/src/components/attachment-part-group.d.ts.map +0 -1
  150. package/storybook-static/src/components/attachment-part.d.ts +0 -19
  151. package/storybook-static/src/components/attachment-part.d.ts.map +0 -1
  152. package/storybook-static/src/components/attachments-previewer.d.ts +0 -18
  153. package/storybook-static/src/components/attachments-previewer.d.ts.map +0 -1
  154. package/storybook-static/src/components/base-button.d.ts +0 -8
  155. package/storybook-static/src/components/base-button.d.ts.map +0 -1
  156. package/storybook-static/src/components/border-animation.d.ts +0 -23
  157. package/storybook-static/src/components/border-animation.d.ts.map +0 -1
  158. package/storybook-static/src/components/border-color-animation.d.ts +0 -11
  159. package/storybook-static/src/components/border-color-animation.d.ts.map +0 -1
  160. package/storybook-static/src/components/bot-avatar-name.d.ts +0 -6
  161. package/storybook-static/src/components/bot-avatar-name.d.ts.map +0 -1
  162. package/storybook-static/src/components/bot-icon.d.ts +0 -5
  163. package/storybook-static/src/components/bot-icon.d.ts.map +0 -1
  164. package/storybook-static/src/components/bs-entry-select/app-group-folder.d.ts +0 -6
  165. package/storybook-static/src/components/bs-entry-select/app-group-folder.d.ts.map +0 -1
  166. package/storybook-static/src/components/bs-entry-select/bs-entry-select.d.ts +0 -4
  167. package/storybook-static/src/components/bs-entry-select/bs-entry-select.d.ts.map +0 -1
  168. package/storybook-static/src/components/bs-entry-select/build-tree.d.ts +0 -9
  169. package/storybook-static/src/components/bs-entry-select/build-tree.d.ts.map +0 -1
  170. package/storybook-static/src/components/bs-entry-select/entry-item.d.ts +0 -8
  171. package/storybook-static/src/components/bs-entry-select/entry-item.d.ts.map +0 -1
  172. package/storybook-static/src/components/bs-entry-select/entry-popover.d.ts +0 -17
  173. package/storybook-static/src/components/bs-entry-select/entry-popover.d.ts.map +0 -1
  174. package/storybook-static/src/components/bs-entry-select/index.d.ts +0 -3
  175. package/storybook-static/src/components/bs-entry-select/index.d.ts.map +0 -1
  176. package/storybook-static/src/components/bs-entry-select/other-app-section.d.ts +0 -11
  177. package/storybook-static/src/components/bs-entry-select/other-app-section.d.ts.map +0 -1
  178. package/storybook-static/src/components/bs-entry-select/scroll-slider.d.ts +0 -10
  179. package/storybook-static/src/components/bs-entry-select/scroll-slider.d.ts.map +0 -1
  180. package/storybook-static/src/components/bs-entry-select/search-input.d.ts +0 -5
  181. package/storybook-static/src/components/bs-entry-select/search-input.d.ts.map +0 -1
  182. package/storybook-static/src/components/bs-entry-select/tree-item-node.d.ts +0 -9
  183. package/storybook-static/src/components/bs-entry-select/tree-item-node.d.ts.map +0 -1
  184. package/storybook-static/src/components/bs-entry-select/types.d.ts +0 -28
  185. package/storybook-static/src/components/bs-entry-select/types.d.ts.map +0 -1
  186. package/storybook-static/src/components/bs-icons.d.ts +0 -77
  187. package/storybook-static/src/components/bs-icons.d.ts.map +0 -1
  188. package/storybook-static/src/components/card-field.d.ts +0 -11
  189. package/storybook-static/src/components/card-field.d.ts.map +0 -1
  190. package/storybook-static/src/components/card.d.ts +0 -11
  191. package/storybook-static/src/components/card.d.ts.map +0 -1
  192. package/storybook-static/src/components/chat-area-header.d.ts +0 -13
  193. package/storybook-static/src/components/chat-area-header.d.ts.map +0 -1
  194. package/storybook-static/src/components/circle-checker.d.ts +0 -10
  195. package/storybook-static/src/components/circle-checker.d.ts.map +0 -1
  196. package/storybook-static/src/components/collapsible-txt-msg.d.ts +0 -11
  197. package/storybook-static/src/components/collapsible-txt-msg.d.ts.map +0 -1
  198. package/storybook-static/src/components/collapsible.d.ts +0 -6
  199. package/storybook-static/src/components/collapsible.d.ts.map +0 -1
  200. package/storybook-static/src/components/confirm-dialog.d.ts +0 -26
  201. package/storybook-static/src/components/confirm-dialog.d.ts.map +0 -1
  202. package/storybook-static/src/components/fake-bot-msg.d.ts +0 -8
  203. package/storybook-static/src/components/fake-bot-msg.d.ts.map +0 -1
  204. package/storybook-static/src/components/field-checker-list-msg.d.ts +0 -19
  205. package/storybook-static/src/components/field-checker-list-msg.d.ts.map +0 -1
  206. package/storybook-static/src/components/field-checker.d.ts +0 -19
  207. package/storybook-static/src/components/field-checker.d.ts.map +0 -1
  208. package/storybook-static/src/components/field-icon.d.ts +0 -5
  209. package/storybook-static/src/components/field-icon.d.ts.map +0 -1
  210. package/storybook-static/src/components/field-value-checker.d.ts +0 -16
  211. package/storybook-static/src/components/field-value-checker.d.ts.map +0 -1
  212. package/storybook-static/src/components/fields-design-info-table.d.ts +0 -7
  213. package/storybook-static/src/components/fields-design-info-table.d.ts.map +0 -1
  214. package/storybook-static/src/components/fields-generating-indicator.d.ts +0 -6
  215. package/storybook-static/src/components/fields-generating-indicator.d.ts.map +0 -1
  216. package/storybook-static/src/components/fields-portal.d.ts +0 -8
  217. package/storybook-static/src/components/fields-portal.d.ts.map +0 -1
  218. package/storybook-static/src/components/fields-previewer.d.ts +0 -19
  219. package/storybook-static/src/components/fields-previewer.d.ts.map +0 -1
  220. package/storybook-static/src/components/font-icon.d.ts +0 -6
  221. package/storybook-static/src/components/font-icon.d.ts.map +0 -1
  222. package/storybook-static/src/components/form-info-editor.d.ts +0 -31
  223. package/storybook-static/src/components/form-info-editor.d.ts.map +0 -1
  224. package/storybook-static/src/components/formula-tag.d.ts +0 -8
  225. package/storybook-static/src/components/formula-tag.d.ts.map +0 -1
  226. package/storybook-static/src/components/generate-animation.d.ts +0 -5
  227. package/storybook-static/src/components/generate-animation.d.ts.map +0 -1
  228. package/storybook-static/src/components/icon-btn.d.ts +0 -9
  229. package/storybook-static/src/components/icon-btn.d.ts.map +0 -1
  230. package/storybook-static/src/components/img-part.d.ts +0 -10
  231. package/storybook-static/src/components/img-part.d.ts.map +0 -1
  232. package/storybook-static/src/components/legacy-slot.d.ts +0 -11
  233. package/storybook-static/src/components/legacy-slot.d.ts.map +0 -1
  234. package/storybook-static/src/components/line-checker.d.ts +0 -19
  235. package/storybook-static/src/components/line-checker.d.ts.map +0 -1
  236. package/storybook-static/src/components/linear-gradient-border-btn.d.ts +0 -10
  237. package/storybook-static/src/components/linear-gradient-border-btn.d.ts.map +0 -1
  238. package/storybook-static/src/components/linear-gradient-color-bg-animation.d.ts +0 -8
  239. package/storybook-static/src/components/linear-gradient-color-bg-animation.d.ts.map +0 -1
  240. package/storybook-static/src/components/memoized-markdown.d.ts +0 -5
  241. package/storybook-static/src/components/memoized-markdown.d.ts.map +0 -1
  242. package/storybook-static/src/components/message-content.d.ts +0 -6
  243. package/storybook-static/src/components/message-content.d.ts.map +0 -1
  244. package/storybook-static/src/components/number-part.d.ts +0 -9
  245. package/storybook-static/src/components/number-part.d.ts.map +0 -1
  246. package/storybook-static/src/components/office-container.d.ts +0 -17
  247. package/storybook-static/src/components/office-container.d.ts.map +0 -1
  248. package/storybook-static/src/components/option-item.d.ts +0 -9
  249. package/storybook-static/src/components/option-item.d.ts.map +0 -1
  250. package/storybook-static/src/components/previewer-header.d.ts +0 -21
  251. package/storybook-static/src/components/previewer-header.d.ts.map +0 -1
  252. package/storybook-static/src/components/primary-confirm-btn.d.ts +0 -10
  253. package/storybook-static/src/components/primary-confirm-btn.d.ts.map +0 -1
  254. package/storybook-static/src/components/primary-entry-btn.d.ts +0 -9
  255. package/storybook-static/src/components/primary-entry-btn.d.ts.map +0 -1
  256. package/storybook-static/src/components/scroll-to-bottom-btn.d.ts +0 -6
  257. package/storybook-static/src/components/scroll-to-bottom-btn.d.ts.map +0 -1
  258. package/storybook-static/src/components/split-line.d.ts +0 -5
  259. package/storybook-static/src/components/split-line.d.ts.map +0 -1
  260. package/storybook-static/src/components/square-checker.d.ts +0 -15
  261. package/storybook-static/src/components/square-checker.d.ts.map +0 -1
  262. package/storybook-static/src/components/subform-fields-value-checker.d.ts +0 -22
  263. package/storybook-static/src/components/subform-fields-value-checker.d.ts.map +0 -1
  264. package/storybook-static/src/components/tab-radio-group.d.ts +0 -20
  265. package/storybook-static/src/components/tab-radio-group.d.ts.map +0 -1
  266. package/storybook-static/src/components/tooltip.d.ts +0 -6
  267. package/storybook-static/src/components/tooltip.d.ts.map +0 -1
  268. package/storybook-static/src/components/ui/button.d.ts +0 -12
  269. package/storybook-static/src/components/ui/button.d.ts.map +0 -1
  270. package/storybook-static/src/components/ui/dialog.d.ts +0 -24
  271. package/storybook-static/src/components/ui/dialog.d.ts.map +0 -1
  272. package/storybook-static/src/components/ui/drawer.d.ts +0 -16
  273. package/storybook-static/src/components/ui/drawer.d.ts.map +0 -1
  274. package/storybook-static/src/components/ui/icons.d.ts +0 -176
  275. package/storybook-static/src/components/ui/icons.d.ts.map +0 -1
  276. package/storybook-static/src/components/ui/popover.d.ts +0 -10
  277. package/storybook-static/src/components/ui/popover.d.ts.map +0 -1
  278. package/storybook-static/src/components/ui/spinner.d.ts +0 -3
  279. package/storybook-static/src/components/ui/spinner.d.ts.map +0 -1
  280. package/storybook-static/src/components/ui/tooltip.d.ts +0 -13
  281. package/storybook-static/src/components/ui/tooltip.d.ts.map +0 -1
  282. package/storybook-static/src/components/user-txt-msg-bubble.d.ts +0 -6
  283. package/storybook-static/src/components/user-txt-msg-bubble.d.ts.map +0 -1
  284. package/storybook-static/src/components/warning-msg.d.ts +0 -6
  285. package/storybook-static/src/components/warning-msg.d.ts.map +0 -1
  286. package/storybook-static/src/const/ui.d.ts +0 -10
  287. package/storybook-static/src/const/ui.d.ts.map +0 -1
  288. package/storybook-static/src/hooks/use-column-appear.d.ts +0 -22
  289. package/storybook-static/src/hooks/use-column-appear.d.ts.map +0 -1
  290. package/storybook-static/src/hooks/use-resizable-width.d.ts +0 -26
  291. package/storybook-static/src/hooks/use-resizable-width.d.ts.map +0 -1
  292. package/storybook-static/src/hooks/use-shadow.d.ts +0 -25
  293. package/storybook-static/src/hooks/use-shadow.d.ts.map +0 -1
  294. package/storybook-static/src/index.d.ts +0 -76
  295. package/storybook-static/src/index.d.ts.map +0 -1
  296. package/storybook-static/src/lib/utils.d.ts +0 -7
  297. package/storybook-static/src/lib/utils.d.ts.map +0 -1
  298. package/storybook-static/src/stories/AbsFullscreenGradientBg.stories.d.ts +0 -17
  299. package/storybook-static/src/stories/AbsFullscreenGradientBg.stories.d.ts.map +0 -1
  300. package/storybook-static/src/stories/AgentScrollSelector.stories.d.ts +0 -11
  301. package/storybook-static/src/stories/AgentScrollSelector.stories.d.ts.map +0 -1
  302. package/storybook-static/src/stories/AgentSelect.stories.d.ts +0 -14
  303. package/storybook-static/src/stories/AgentSelect.stories.d.ts.map +0 -1
  304. package/storybook-static/src/stories/AttachmentPart.stories.d.ts +0 -23
  305. package/storybook-static/src/stories/AttachmentPart.stories.d.ts.map +0 -1
  306. package/storybook-static/src/stories/AttachmentPartGroup.stories.d.ts +0 -21
  307. package/storybook-static/src/stories/AttachmentPartGroup.stories.d.ts.map +0 -1
  308. package/storybook-static/src/stories/AttachmentsPreviewer.stories.d.ts +0 -20
  309. package/storybook-static/src/stories/AttachmentsPreviewer.stories.d.ts.map +0 -1
  310. package/storybook-static/src/stories/BaseButton.stories.d.ts +0 -18
  311. package/storybook-static/src/stories/BaseButton.stories.d.ts.map +0 -1
  312. package/storybook-static/src/stories/BorderAnimation.stories.d.ts +0 -21
  313. package/storybook-static/src/stories/BorderAnimation.stories.d.ts.map +0 -1
  314. package/storybook-static/src/stories/BorderColorAnimation.stories.d.ts +0 -26
  315. package/storybook-static/src/stories/BorderColorAnimation.stories.d.ts.map +0 -1
  316. package/storybook-static/src/stories/BotAvatarAndName.stories.d.ts +0 -18
  317. package/storybook-static/src/stories/BotAvatarAndName.stories.d.ts.map +0 -1
  318. package/storybook-static/src/stories/BotIcon.stories.d.ts +0 -17
  319. package/storybook-static/src/stories/BotIcon.stories.d.ts.map +0 -1
  320. package/storybook-static/src/stories/BsEntrySelect.stories.d.ts +0 -17
  321. package/storybook-static/src/stories/BsEntrySelect.stories.d.ts.map +0 -1
  322. package/storybook-static/src/stories/BsTooltip.stories.d.ts +0 -7
  323. package/storybook-static/src/stories/BsTooltip.stories.d.ts.map +0 -1
  324. package/storybook-static/src/stories/Card.stories.d.ts +0 -14
  325. package/storybook-static/src/stories/Card.stories.d.ts.map +0 -1
  326. package/storybook-static/src/stories/CardField.stories.d.ts +0 -13
  327. package/storybook-static/src/stories/CardField.stories.d.ts.map +0 -1
  328. package/storybook-static/src/stories/ChatAreaHeader.stories.d.ts +0 -14
  329. package/storybook-static/src/stories/ChatAreaHeader.stories.d.ts.map +0 -1
  330. package/storybook-static/src/stories/CircleChecker.stories.d.ts +0 -21
  331. package/storybook-static/src/stories/CircleChecker.stories.d.ts.map +0 -1
  332. package/storybook-static/src/stories/CollapsibleTextMsg.stories.d.ts +0 -16
  333. package/storybook-static/src/stories/CollapsibleTextMsg.stories.d.ts.map +0 -1
  334. package/storybook-static/src/stories/ConfirmDialog.stories.d.ts +0 -61
  335. package/storybook-static/src/stories/ConfirmDialog.stories.d.ts.map +0 -1
  336. package/storybook-static/src/stories/FakeBotMsg.stories.d.ts +0 -21
  337. package/storybook-static/src/stories/FakeBotMsg.stories.d.ts.map +0 -1
  338. package/storybook-static/src/stories/FormInfoEditor.stories.d.ts +0 -15
  339. package/storybook-static/src/stories/FormInfoEditor.stories.d.ts.map +0 -1
  340. package/storybook-static/src/stories/FormulaTag.stories.d.ts +0 -37
  341. package/storybook-static/src/stories/FormulaTag.stories.d.ts.map +0 -1
  342. package/storybook-static/src/stories/GenerateAnimation.stories.d.ts +0 -17
  343. package/storybook-static/src/stories/GenerateAnimation.stories.d.ts.map +0 -1
  344. package/storybook-static/src/stories/IconBtn.stories.d.ts +0 -15
  345. package/storybook-static/src/stories/IconBtn.stories.d.ts.map +0 -1
  346. package/storybook-static/src/stories/IconLib.d.ts +0 -12
  347. package/storybook-static/src/stories/IconLib.d.ts.map +0 -1
  348. package/storybook-static/src/stories/Icons.stories.d.ts +0 -24
  349. package/storybook-static/src/stories/Icons.stories.d.ts.map +0 -1
  350. package/storybook-static/src/stories/ImgMsgPart.stories.d.ts +0 -20
  351. package/storybook-static/src/stories/ImgMsgPart.stories.d.ts.map +0 -1
  352. package/storybook-static/src/stories/LegacySlot.stories.d.ts +0 -16
  353. package/storybook-static/src/stories/LegacySlot.stories.d.ts.map +0 -1
  354. package/storybook-static/src/stories/LineChecker.stories.d.ts +0 -23
  355. package/storybook-static/src/stories/LineChecker.stories.d.ts.map +0 -1
  356. package/storybook-static/src/stories/LinearGradientBorderBtn.stories.d.ts +0 -22
  357. package/storybook-static/src/stories/LinearGradientBorderBtn.stories.d.ts.map +0 -1
  358. package/storybook-static/src/stories/LinearGradientColorBgAnimation.stories.d.ts +0 -23
  359. package/storybook-static/src/stories/LinearGradientColorBgAnimation.stories.d.ts.map +0 -1
  360. package/storybook-static/src/stories/MemoizedMarkdown.stories.d.ts +0 -23
  361. package/storybook-static/src/stories/MemoizedMarkdown.stories.d.ts.map +0 -1
  362. package/storybook-static/src/stories/MessageContent.stories.d.ts +0 -16
  363. package/storybook-static/src/stories/MessageContent.stories.d.ts.map +0 -1
  364. package/storybook-static/src/stories/NumbersMsgPart.stories.d.ts +0 -19
  365. package/storybook-static/src/stories/NumbersMsgPart.stories.d.ts.map +0 -1
  366. package/storybook-static/src/stories/OfficeContainer.stories.d.ts +0 -13
  367. package/storybook-static/src/stories/OfficeContainer.stories.d.ts.map +0 -1
  368. package/storybook-static/src/stories/OptionItem.stories.d.ts +0 -20
  369. package/storybook-static/src/stories/OptionItem.stories.d.ts.map +0 -1
  370. package/storybook-static/src/stories/PreviewerHeader.stories.d.ts +0 -12
  371. package/storybook-static/src/stories/PreviewerHeader.stories.d.ts.map +0 -1
  372. package/storybook-static/src/stories/PrimaryConfirmBtn.stories.d.ts +0 -19
  373. package/storybook-static/src/stories/PrimaryConfirmBtn.stories.d.ts.map +0 -1
  374. package/storybook-static/src/stories/PrimaryEntryBtn.stories.d.ts +0 -26
  375. package/storybook-static/src/stories/PrimaryEntryBtn.stories.d.ts.map +0 -1
  376. package/storybook-static/src/stories/ScrollToBottom.stories.d.ts +0 -15
  377. package/storybook-static/src/stories/ScrollToBottom.stories.d.ts.map +0 -1
  378. package/storybook-static/src/stories/SplitLine.stories.d.ts +0 -9
  379. package/storybook-static/src/stories/SplitLine.stories.d.ts.map +0 -1
  380. package/storybook-static/src/stories/SquareChecker.stories.d.ts +0 -26
  381. package/storybook-static/src/stories/SquareChecker.stories.d.ts.map +0 -1
  382. package/storybook-static/src/stories/TabRadioGroup.stories.d.ts +0 -18
  383. package/storybook-static/src/stories/TabRadioGroup.stories.d.ts.map +0 -1
  384. package/storybook-static/src/stories/UserTextMsgBubble.stories.d.ts +0 -14
  385. package/storybook-static/src/stories/UserTextMsgBubble.stories.d.ts.map +0 -1
  386. package/storybook-static/src/stories/WarningMessage.stories.d.ts +0 -16
  387. package/storybook-static/src/stories/WarningMessage.stories.d.ts.map +0 -1
  388. package/storybook-static/src/stories/collapsible.stories.d.ts +0 -8
  389. package/storybook-static/src/stories/collapsible.stories.d.ts.map +0 -1
  390. package/storybook-static/src/stories/drawer.stories.d.ts +0 -18
  391. package/storybook-static/src/stories/drawer.stories.d.ts.map +0 -1
  392. package/storybook-static/src/stories/field-checker-list-msg.stories.d.ts +0 -11
  393. package/storybook-static/src/stories/field-checker-list-msg.stories.d.ts.map +0 -1
  394. package/storybook-static/src/stories/field-checker.stories.d.ts +0 -13
  395. package/storybook-static/src/stories/field-checker.stories.d.ts.map +0 -1
  396. package/storybook-static/src/stories/field-icon.stories.d.ts +0 -15
  397. package/storybook-static/src/stories/field-icon.stories.d.ts.map +0 -1
  398. package/storybook-static/src/stories/field-value-checker.stories.d.ts +0 -13
  399. package/storybook-static/src/stories/field-value-checker.stories.d.ts.map +0 -1
  400. package/storybook-static/src/stories/fields-design-info-table.stories.d.ts +0 -14
  401. package/storybook-static/src/stories/fields-design-info-table.stories.d.ts.map +0 -1
  402. package/storybook-static/src/stories/fields-generating.stories.d.ts +0 -20
  403. package/storybook-static/src/stories/fields-generating.stories.d.ts.map +0 -1
  404. package/storybook-static/src/stories/fields-previewer.stories.d.ts +0 -19
  405. package/storybook-static/src/stories/fields-previewer.stories.d.ts.map +0 -1
  406. package/storybook-static/src/stories/subform-fields-value-checker.stories.d.ts +0 -9
  407. package/storybook-static/src/stories/subform-fields-value-checker.stories.d.ts.map +0 -1
  408. package/storybook-static/src/types.d.ts +0 -8
  409. package/storybook-static/src/types.d.ts.map +0 -1
  410. package/storybook-static/vite-inject-mocker-entry.js +0 -18
@@ -1,195 +0,0 @@
1
- var Pi=Object.defineProperty;var Ri=(e,t,n)=>t in e?Pi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var F=(e,t,n)=>Ri(e,typeof t!="symbol"?t+"":t,n);import{j as Qe}from"./jsx-runtime-CpaO0gaJ.js";import{c as gt,g as Er,r as Mt}from"./iframe-BNpZCkNl.js";import"./preload-helper-CmsKOCeN.js";function Jt(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var ze=Jt();function Ir(e){ze=e}var We={exec:()=>null};function v(e,t=""){let n=typeof e=="string"?e:e.source,r={replace:(i,l)=>{let o=typeof l=="string"?l:l.source;return o=o.replace(K.caret,"$1"),n=n.replace(i,o),r},getRegex:()=>new RegExp(n,t)};return r}var Li=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),K={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},_i=/^(?:[ \t]*(?:\n|$))+/,vi=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Di=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Je=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Oi=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Kt=/(?:[*+-]|\d{1,9}[.)])/,Tr=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Ar=v(Tr).replace(/bull/g,Kt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Ni=v(Tr).replace(/bull/g,Kt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),en=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Mi=/^[^\n]+/,tn=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Bi=v(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",tn).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Fi=v(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Kt).getRegex(),bt="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",nn=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,$i=v("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",nn).replace("tag",bt).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),zr=v(en).replace("hr",Je).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",bt).getRegex(),ji=v(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",zr).getRegex(),rn={blockquote:ji,code:vi,def:Bi,fences:Di,heading:Oi,hr:Je,html:$i,lheading:Ar,list:Fi,newline:_i,paragraph:zr,table:We,text:Mi},zn=v("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Je).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",bt).getRegex(),qi={...rn,lheading:Ni,table:zn,paragraph:v(en).replace("hr",Je).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",zn).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",bt).getRegex()},Hi={...rn,html:v(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",nn).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:We,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:v(en).replace("hr",Je).replace("heading",` *#{1,6} *[^
2
- ]`).replace("lheading",Ar).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Ui=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Vi=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Pr=/^( {2,}|\\)\n(?!\s*$)/,Qi=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,wt=/[\p{P}\p{S}]/u,ln=/[\s\p{P}\p{S}]/u,Rr=/[^\s\p{P}\p{S}]/u,Wi=v(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,ln).getRegex(),Lr=/(?!~)[\p{P}\p{S}]/u,Xi=/(?!~)[\s\p{P}\p{S}]/u,Zi=/(?:[^\s\p{P}\p{S}]|~)/u,Yi=v(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",Li?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),_r=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Gi=v(_r,"u").replace(/punct/g,wt).getRegex(),Ji=v(_r,"u").replace(/punct/g,Lr).getRegex(),vr="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Ki=v(vr,"gu").replace(/notPunctSpace/g,Rr).replace(/punctSpace/g,ln).replace(/punct/g,wt).getRegex(),el=v(vr,"gu").replace(/notPunctSpace/g,Zi).replace(/punctSpace/g,Xi).replace(/punct/g,Lr).getRegex(),tl=v("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Rr).replace(/punctSpace/g,ln).replace(/punct/g,wt).getRegex(),nl=v(/\\(punct)/,"gu").replace(/punct/g,wt).getRegex(),rl=v(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),il=v(nn).replace("(?:-->|$)","-->").getRegex(),ll=v("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",il).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),dt=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,ol=v(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",dt).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Dr=v(/^!?\[(label)\]\[(ref)\]/).replace("label",dt).replace("ref",tn).getRegex(),Or=v(/^!?\[(ref)\](?:\[\])?/).replace("ref",tn).getRegex(),sl=v("reflink|nolink(?!\\()","g").replace("reflink",Dr).replace("nolink",Or).getRegex(),Pn=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,on={_backpedal:We,anyPunctuation:nl,autolink:rl,blockSkip:Yi,br:Pr,code:Vi,del:We,emStrongLDelim:Gi,emStrongRDelimAst:Ki,emStrongRDelimUnd:tl,escape:Ui,link:ol,nolink:Or,punctuation:Wi,reflink:Dr,reflinkSearch:sl,tag:ll,text:Qi,url:We},al={...on,link:v(/^!?\[(label)\]\((.*?)\)/).replace("label",dt).getRegex(),reflink:v(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",dt).getRegex()},Bt={...on,emStrongRDelimAst:el,emStrongLDelim:Ji,url:v(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Pn).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:v(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",Pn).getRegex()},ul={...Bt,br:v(Pr).replace("{2,}","*").getRegex(),text:v(Bt.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},nt={normal:rn,gfm:qi,pedantic:Hi},je={normal:on,gfm:Bt,breaks:ul,pedantic:al},cl={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Rn=e=>cl[e];function be(e,t){if(t){if(K.escapeTest.test(e))return e.replace(K.escapeReplace,Rn)}else if(K.escapeTestNoEncode.test(e))return e.replace(K.escapeReplaceNoEncode,Rn);return e}function Ln(e){try{e=encodeURI(e).replace(K.percentDecode,"%")}catch{return null}return e}function _n(e,t){let n=e.replace(K.findPipe,(l,o,s)=>{let a=!1,c=o;for(;--c>=0&&s[c]==="\\";)a=!a;return a?"|":" |"}),r=n.split(K.splitPipe),i=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;i<r.length;i++)r[i]=r[i].trim().replace(K.slashPipe,"|");return r}function qe(e,t,n){let r=e.length;if(r===0)return"";let i=0;for(;i<r&&e.charAt(r-i-1)===t;)i++;return e.slice(0,r-i)}function pl(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]==="\\")r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return n>0?-2:-1}function vn(e,t,n,r,i){let l=t.href,o=t.title||null,s=e[1].replace(i.other.outputLinkReplace,"$1");r.state.inLink=!0;let a={type:e[0].charAt(0)==="!"?"image":"link",raw:n,href:l,title:o,text:s,tokens:r.inlineTokens(s)};return r.state.inLink=!1,a}function hl(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let i=r[1];return t.split(`
3
- `).map(l=>{let o=l.match(n.other.beginningSpace);if(o===null)return l;let[s]=o;return s.length>=i.length?l.slice(i.length):l}).join(`
4
- `)}var mt=class{constructor(e){F(this,"options");F(this,"rules");F(this,"lexer");this.options=e||ze}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let n=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:qe(n,`
5
- `)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let n=t[0],r=hl(n,t[3]||"",this.rules);return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(this.rules.other.endingHash.test(n)){let r=qe(n,"#");(this.options.pedantic||!r||this.rules.other.endingSpaceChar.test(r))&&(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:qe(t[0],`
6
- `)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let n=qe(t[0],`
7
- `).split(`
8
- `),r="",i="",l=[];for(;n.length>0;){let o=!1,s=[],a;for(a=0;a<n.length;a++)if(this.rules.other.blockquoteStart.test(n[a]))s.push(n[a]),o=!0;else if(!o)s.push(n[a]);else break;n=n.slice(a);let c=s.join(`
9
- `),u=c.replace(this.rules.other.blockquoteSetextReplace,`
10
- $1`).replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r}
11
- ${c}`:c,i=i?`${i}
12
- ${u}`:u;let h=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(u,l,!0),this.lexer.state.top=h,n.length===0)break;let f=l.at(-1);if(f?.type==="code")break;if(f?.type==="blockquote"){let p=f,m=p.raw+`
13
- `+n.join(`
14
- `),x=this.blockquote(m);l[l.length-1]=x,r=r.substring(0,r.length-p.raw.length)+x.raw,i=i.substring(0,i.length-p.text.length)+x.text;break}else if(f?.type==="list"){let p=f,m=p.raw+`
15
- `+n.join(`
16
- `),x=this.list(m);l[l.length-1]=x,r=r.substring(0,r.length-f.raw.length)+x.raw,i=i.substring(0,i.length-p.raw.length)+x.raw,n=m.substring(l.at(-1).raw.length).split(`
17
- `);continue}}return{type:"blockquote",raw:r,tokens:l,text:i}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),r=n.length>1,i={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");let l=this.rules.other.listItemRegex(n),o=!1;for(;e;){let a=!1,c="",u="";if(!(t=l.exec(e))||this.rules.block.hr.test(e))break;c=t[0],e=e.substring(c.length);let h=t[2].split(`
18
- `,1)[0].replace(this.rules.other.listReplaceTabs,x=>" ".repeat(3*x.length)),f=e.split(`
19
- `,1)[0],p=!h.trim(),m=0;if(this.options.pedantic?(m=2,u=h.trimStart()):p?m=t[1].length+1:(m=t[2].search(this.rules.other.nonSpaceChar),m=m>4?1:m,u=h.slice(m),m+=t[1].length),p&&this.rules.other.blankLine.test(f)&&(c+=f+`
20
- `,e=e.substring(f.length+1),a=!0),!a){let x=this.rules.other.nextBulletRegex(m),I=this.rules.other.hrRegex(m),w=this.rules.other.fencesBeginRegex(m),R=this.rules.other.headingBeginRegex(m),C=this.rules.other.htmlBeginRegex(m);for(;e;){let M=e.split(`
21
- `,1)[0],O;if(f=M,this.options.pedantic?(f=f.replace(this.rules.other.listReplaceNesting," "),O=f):O=f.replace(this.rules.other.tabCharGlobal," "),w.test(f)||R.test(f)||C.test(f)||x.test(f)||I.test(f))break;if(O.search(this.rules.other.nonSpaceChar)>=m||!f.trim())u+=`
22
- `+O.slice(m);else{if(p||h.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||w.test(h)||R.test(h)||I.test(h))break;u+=`
23
- `+f}!p&&!f.trim()&&(p=!0),c+=M+`
24
- `,e=e.substring(M.length+1),h=O.slice(m)}}i.loose||(o?i.loose=!0:this.rules.other.doubleBlankLine.test(c)&&(o=!0)),i.items.push({type:"list_item",raw:c,task:!!this.options.gfm&&this.rules.other.listIsTask.test(u),loose:!1,text:u,tokens:[]}),i.raw+=c}let s=i.items.at(-1);if(s)s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd();else return;i.raw=i.raw.trimEnd();for(let a of i.items){if(this.lexer.state.top=!1,a.tokens=this.lexer.blockTokens(a.text,[]),a.task){if(a.text=a.text.replace(this.rules.other.listReplaceTask,""),a.tokens[0]?.type==="text"||a.tokens[0]?.type==="paragraph"){a.tokens[0].raw=a.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),a.tokens[0].text=a.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let u=this.lexer.inlineQueue.length-1;u>=0;u--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[u].src)){this.lexer.inlineQueue[u].src=this.lexer.inlineQueue[u].src.replace(this.rules.other.listReplaceTask,"");break}}let c=this.rules.other.listTaskCheckbox.exec(a.raw);if(c){let u={type:"checkbox",raw:c[0]+" ",checked:c[0]!=="[ ]"};a.checked=u.checked,i.loose?a.tokens[0]&&["paragraph","text"].includes(a.tokens[0].type)&&"tokens"in a.tokens[0]&&a.tokens[0].tokens?(a.tokens[0].raw=u.raw+a.tokens[0].raw,a.tokens[0].text=u.raw+a.tokens[0].text,a.tokens[0].tokens.unshift(u)):a.tokens.unshift({type:"paragraph",raw:u.raw,text:u.raw,tokens:[u]}):a.tokens.unshift(u)}}if(!i.loose){let c=a.tokens.filter(h=>h.type==="space"),u=c.length>0&&c.some(h=>this.rules.other.anyLine.test(h.raw));i.loose=u}}if(i.loose)for(let a of i.items){a.loose=!0;for(let c of a.tokens)c.type==="text"&&(c.type="paragraph")}return i}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let n=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:r,title:i}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=_n(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(`
25
- `):[],l={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let o of r)this.rules.other.tableAlignRight.test(o)?l.align.push("right"):this.rules.other.tableAlignCenter.test(o)?l.align.push("center"):this.rules.other.tableAlignLeft.test(o)?l.align.push("left"):l.align.push(null);for(let o=0;o<n.length;o++)l.header.push({text:n[o],tokens:this.lexer.inline(n[o]),header:!0,align:l.align[o]});for(let o of i)l.rows.push(_n(o,l.header.length).map((s,a)=>({text:s,tokens:this.lexer.inline(s),header:!1,align:l.align[a]})));return l}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let n=t[1].charAt(t[1].length-1)===`
26
- `?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let n=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;let l=qe(n.slice(0,-1),"\\");if((n.length-l.length)%2===0)return}else{let l=pl(t[2],"()");if(l===-2)return;if(l>-1){let o=(t[0].indexOf("!")===0?5:4)+t[1].length+l;t[2]=t[2].substring(0,l),t[0]=t[0].substring(0,o).trim(),t[3]=""}}let r=t[2],i="";if(this.options.pedantic){let l=this.rules.other.pedanticHrefTitle.exec(r);l&&(r=l[1],i=l[3])}else i=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?r=r.slice(1):r=r.slice(1,-1)),vn(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let r=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),i=t[r.toLowerCase()];if(!i){let l=n[0].charAt(0);return{type:"text",raw:l,text:l}}return vn(n,i,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||r[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[2])||!n||this.rules.inline.punctuation.exec(n))){let i=[...r[0]].length-1,l,o,s=i,a=0,c=r[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+i);(r=c.exec(t))!=null;){if(l=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!l)continue;if(o=[...l].length,r[3]||r[4]){s+=o;continue}else if((r[5]||r[6])&&i%3&&!((i+o)%3)){a+=o;continue}if(s-=o,s>0)continue;o=Math.min(o,o+s+a);let u=[...r[0]][0].length,h=e.slice(0,i+r.index+u+o);if(Math.min(i,o)%2){let p=h.slice(1,-1);return{type:"em",raw:h,text:p,tokens:this.lexer.inlineTokens(p)}}let f=h.slice(2,-2);return{type:"strong",raw:h,text:f,tokens:this.lexer.inlineTokens(f)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(n),i=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return r&&i&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:t[0],text:n}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let n,r;return t[2]==="@"?(n=t[1],r="mailto:"+n):(n=t[1],r=n),{type:"link",raw:t[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let n,r;if(t[2]==="@")n=t[0],r="mailto:"+n;else{let i;do i=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(i!==t[0]);n=t[0],t[1]==="www."?r="http://"+t[0]:r=t[0]}return{type:"link",raw:t[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let n=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:n}}}},pe=class Ft{constructor(t){F(this,"tokens");F(this,"options");F(this,"state");F(this,"inlineQueue");F(this,"tokenizer");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||ze,this.options.tokenizer=this.options.tokenizer||new mt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let n={other:K,block:nt.normal,inline:je.normal};this.options.pedantic?(n.block=nt.pedantic,n.inline=je.pedantic):this.options.gfm&&(n.block=nt.gfm,this.options.breaks?n.inline=je.breaks:n.inline=je.gfm),this.tokenizer.rules=n}static get rules(){return{block:nt,inline:je}}static lex(t,n){return new Ft(n).lex(t)}static lexInline(t,n){return new Ft(n).inlineTokens(t)}lex(t){t=t.replace(K.carriageReturn,`
27
- `),this.blockTokens(t,this.tokens);for(let n=0;n<this.inlineQueue.length;n++){let r=this.inlineQueue[n];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,n=[],r=!1){for(this.options.pedantic&&(t=t.replace(K.tabCharGlobal," ").replace(K.spaceLine,""));t;){let i;if(this.options.extensions?.block?.some(o=>(i=o.call({lexer:this},t,n))?(t=t.substring(i.raw.length),n.push(i),!0):!1))continue;if(i=this.tokenizer.space(t)){t=t.substring(i.raw.length);let o=n.at(-1);i.raw.length===1&&o!==void 0?o.raw+=`
28
- `:n.push(i);continue}if(i=this.tokenizer.code(t)){t=t.substring(i.raw.length);let o=n.at(-1);o?.type==="paragraph"||o?.type==="text"?(o.raw+=(o.raw.endsWith(`
29
- `)?"":`
30
- `)+i.raw,o.text+=`
31
- `+i.text,this.inlineQueue.at(-1).src=o.text):n.push(i);continue}if(i=this.tokenizer.fences(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.heading(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.hr(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.blockquote(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.list(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.html(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.def(t)){t=t.substring(i.raw.length);let o=n.at(-1);o?.type==="paragraph"||o?.type==="text"?(o.raw+=(o.raw.endsWith(`
32
- `)?"":`
33
- `)+i.raw,o.text+=`
34
- `+i.raw,this.inlineQueue.at(-1).src=o.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title},n.push(i));continue}if(i=this.tokenizer.table(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.lheading(t)){t=t.substring(i.raw.length),n.push(i);continue}let l=t;if(this.options.extensions?.startBlock){let o=1/0,s=t.slice(1),a;this.options.extensions.startBlock.forEach(c=>{a=c.call({lexer:this},s),typeof a=="number"&&a>=0&&(o=Math.min(o,a))}),o<1/0&&o>=0&&(l=t.substring(0,o+1))}if(this.state.top&&(i=this.tokenizer.paragraph(l))){let o=n.at(-1);r&&o?.type==="paragraph"?(o.raw+=(o.raw.endsWith(`
35
- `)?"":`
36
- `)+i.raw,o.text+=`
37
- `+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):n.push(i),r=l.length!==t.length,t=t.substring(i.raw.length);continue}if(i=this.tokenizer.text(t)){t=t.substring(i.raw.length);let o=n.at(-1);o?.type==="text"?(o.raw+=(o.raw.endsWith(`
38
- `)?"":`
39
- `)+i.raw,o.text+=`
40
- `+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):n.push(i);continue}if(t){let o="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(o);break}else throw new Error(o)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let r=t,i=null;if(this.tokens.links){let a=Object.keys(this.tokens.links);if(a.length>0)for(;(i=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)a.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(i=this.tokenizer.rules.inline.anyPunctuation.exec(r))!=null;)r=r.slice(0,i.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let l;for(;(i=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)l=i[2]?i[2].length:0,r=r.slice(0,i.index+l)+"["+"a".repeat(i[0].length-l-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=this.options.hooks?.emStrongMask?.call({lexer:this},r)??r;let o=!1,s="";for(;t;){o||(s=""),o=!1;let a;if(this.options.extensions?.inline?.some(u=>(a=u.call({lexer:this},t,n))?(t=t.substring(a.raw.length),n.push(a),!0):!1))continue;if(a=this.tokenizer.escape(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.tag(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.link(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(a.raw.length);let u=n.at(-1);a.type==="text"&&u?.type==="text"?(u.raw+=a.raw,u.text+=a.text):n.push(a);continue}if(a=this.tokenizer.emStrong(t,r,s)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.codespan(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.br(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.del(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.autolink(t)){t=t.substring(a.raw.length),n.push(a);continue}if(!this.state.inLink&&(a=this.tokenizer.url(t))){t=t.substring(a.raw.length),n.push(a);continue}let c=t;if(this.options.extensions?.startInline){let u=1/0,h=t.slice(1),f;this.options.extensions.startInline.forEach(p=>{f=p.call({lexer:this},h),typeof f=="number"&&f>=0&&(u=Math.min(u,f))}),u<1/0&&u>=0&&(c=t.substring(0,u+1))}if(a=this.tokenizer.inlineText(c)){t=t.substring(a.raw.length),a.raw.slice(-1)!=="_"&&(s=a.raw.slice(-1)),o=!0;let u=n.at(-1);u?.type==="text"?(u.raw+=a.raw,u.text+=a.text):n.push(a);continue}if(t){let u="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return n}},kt=class{constructor(e){F(this,"options");F(this,"parser");this.options=e||ze}space(e){return""}code({text:e,lang:t,escaped:n}){let r=(t||"").match(K.notSpaceStart)?.[0],i=e.replace(K.endingNewline,"")+`
41
- `;return r?'<pre><code class="language-'+be(r)+'">'+(n?i:be(i,!0))+`</code></pre>
42
- `:"<pre><code>"+(n?i:be(i,!0))+`</code></pre>
43
- `}blockquote({tokens:e}){return`<blockquote>
44
- ${this.parser.parse(e)}</blockquote>
45
- `}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>
46
- `}hr(e){return`<hr>
47
- `}list(e){let t=e.ordered,n=e.start,r="";for(let o=0;o<e.items.length;o++){let s=e.items[o];r+=this.listitem(s)}let i=t?"ol":"ul",l=t&&n!==1?' start="'+n+'"':"";return"<"+i+l+`>
48
- `+r+"</"+i+`>
49
- `}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li>
50
- `}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
51
- `}table(e){let t="",n="";for(let i=0;i<e.header.length;i++)n+=this.tablecell(e.header[i]);t+=this.tablerow({text:n});let r="";for(let i=0;i<e.rows.length;i++){let l=e.rows[i];n="";for(let o=0;o<l.length;o++)n+=this.tablecell(l[o]);r+=this.tablerow({text:n})}return r&&(r=`<tbody>${r}</tbody>`),`<table>
52
- <thead>
53
- `+t+`</thead>
54
- `+r+`</table>
55
- `}tablerow({text:e}){return`<tr>
56
- ${e}</tr>
57
- `}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>
58
- `}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${be(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){let r=this.parser.parseInline(n),i=Ln(e);if(i===null)return r;e=i;let l='<a href="'+e+'"';return t&&(l+=' title="'+be(t)+'"'),l+=">"+r+"</a>",l}image({href:e,title:t,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let i=Ln(e);if(i===null)return be(n);e=i;let l=`<img src="${e}" alt="${n}"`;return t&&(l+=` title="${be(t)}"`),l+=">",l}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:be(e.text)}},sn=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}checkbox({raw:e}){return e}},he=class $t{constructor(t){F(this,"options");F(this,"renderer");F(this,"textRenderer");this.options=t||ze,this.options.renderer=this.options.renderer||new kt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new sn}static parse(t,n){return new $t(n).parse(t)}static parseInline(t,n){return new $t(n).parseInline(t)}parse(t){let n="";for(let r=0;r<t.length;r++){let i=t[r];if(this.options.extensions?.renderers?.[i.type]){let o=i,s=this.options.extensions.renderers[o.type].call({parser:this},o);if(s!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(o.type)){n+=s||"";continue}}let l=i;switch(l.type){case"space":{n+=this.renderer.space(l);break}case"hr":{n+=this.renderer.hr(l);break}case"heading":{n+=this.renderer.heading(l);break}case"code":{n+=this.renderer.code(l);break}case"table":{n+=this.renderer.table(l);break}case"blockquote":{n+=this.renderer.blockquote(l);break}case"list":{n+=this.renderer.list(l);break}case"checkbox":{n+=this.renderer.checkbox(l);break}case"html":{n+=this.renderer.html(l);break}case"def":{n+=this.renderer.def(l);break}case"paragraph":{n+=this.renderer.paragraph(l);break}case"text":{n+=this.renderer.text(l);break}default:{let o='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return n}parseInline(t,n=this.renderer){let r="";for(let i=0;i<t.length;i++){let l=t[i];if(this.options.extensions?.renderers?.[l.type]){let s=this.options.extensions.renderers[l.type].call({parser:this},l);if(s!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(l.type)){r+=s||"";continue}}let o=l;switch(o.type){case"escape":{r+=n.text(o);break}case"html":{r+=n.html(o);break}case"link":{r+=n.link(o);break}case"image":{r+=n.image(o);break}case"checkbox":{r+=n.checkbox(o);break}case"strong":{r+=n.strong(o);break}case"em":{r+=n.em(o);break}case"codespan":{r+=n.codespan(o);break}case"br":{r+=n.br(o);break}case"del":{r+=n.del(o);break}case"text":{r+=n.text(o);break}default:{let s='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(s),"";throw new Error(s)}}}return r}},pt,Ve=(pt=class{constructor(e){F(this,"options");F(this,"block");this.options=e||ze}preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){return this.block?pe.lex:pe.lexInline}provideParser(){return this.block?he.parse:he.parseInline}},F(pt,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens","emStrongMask"])),F(pt,"passThroughHooksRespectAsync",new Set(["preprocess","postprocess","processAllTokens"])),pt),fl=class{constructor(...e){F(this,"defaults",Jt());F(this,"options",this.setOptions);F(this,"parse",this.parseMarkdown(!0));F(this,"parseInline",this.parseMarkdown(!1));F(this,"Parser",he);F(this,"Renderer",kt);F(this,"TextRenderer",sn);F(this,"Lexer",pe);F(this,"Tokenizer",mt);F(this,"Hooks",Ve);this.use(...e)}walkTokens(e,t){let n=[];for(let r of e)switch(n=n.concat(t.call(this,r)),r.type){case"table":{let i=r;for(let l of i.header)n=n.concat(this.walkTokens(l.tokens,t));for(let l of i.rows)for(let o of l)n=n.concat(this.walkTokens(o.tokens,t));break}case"list":{let i=r;n=n.concat(this.walkTokens(i.items,t));break}default:{let i=r;this.defaults.extensions?.childTokens?.[i.type]?this.defaults.extensions.childTokens[i.type].forEach(l=>{let o=i[l].flat(1/0);n=n.concat(this.walkTokens(o,t))}):i.tokens&&(n=n.concat(this.walkTokens(i.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{let r={...n};if(r.async=this.defaults.async||r.async||!1,n.extensions&&(n.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){let l=t.renderers[i.name];l?t.renderers[i.name]=function(...o){let s=i.renderer.apply(this,o);return s===!1&&(s=l.apply(this,o)),s}:t.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let l=t[i.level];l?l.unshift(i.tokenizer):t[i.level]=[i.tokenizer],i.start&&(i.level==="block"?t.startBlock?t.startBlock.push(i.start):t.startBlock=[i.start]:i.level==="inline"&&(t.startInline?t.startInline.push(i.start):t.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(t.childTokens[i.name]=i.childTokens)}),r.extensions=t),n.renderer){let i=this.defaults.renderer||new kt(this.defaults);for(let l in n.renderer){if(!(l in i))throw new Error(`renderer '${l}' does not exist`);if(["options","parser"].includes(l))continue;let o=l,s=n.renderer[o],a=i[o];i[o]=(...c)=>{let u=s.apply(i,c);return u===!1&&(u=a.apply(i,c)),u||""}}r.renderer=i}if(n.tokenizer){let i=this.defaults.tokenizer||new mt(this.defaults);for(let l in n.tokenizer){if(!(l in i))throw new Error(`tokenizer '${l}' does not exist`);if(["options","rules","lexer"].includes(l))continue;let o=l,s=n.tokenizer[o],a=i[o];i[o]=(...c)=>{let u=s.apply(i,c);return u===!1&&(u=a.apply(i,c)),u}}r.tokenizer=i}if(n.hooks){let i=this.defaults.hooks||new Ve;for(let l in n.hooks){if(!(l in i))throw new Error(`hook '${l}' does not exist`);if(["options","block"].includes(l))continue;let o=l,s=n.hooks[o],a=i[o];Ve.passThroughHooks.has(l)?i[o]=c=>{if(this.defaults.async&&Ve.passThroughHooksRespectAsync.has(l))return(async()=>{let h=await s.call(i,c);return a.call(i,h)})();let u=s.call(i,c);return a.call(i,u)}:i[o]=(...c)=>{if(this.defaults.async)return(async()=>{let h=await s.apply(i,c);return h===!1&&(h=await a.apply(i,c)),h})();let u=s.apply(i,c);return u===!1&&(u=a.apply(i,c)),u}}r.hooks=i}if(n.walkTokens){let i=this.defaults.walkTokens,l=n.walkTokens;r.walkTokens=function(o){let s=[];return s.push(l.call(this,o)),i&&(s=s.concat(i.call(this,o))),s}}this.defaults={...this.defaults,...r}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return pe.lex(e,t??this.defaults)}parser(e,t){return he.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},i={...this.defaults,...r},l=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&r.async===!1)return l(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||t===null)return l(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return l(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(i.hooks&&(i.hooks.options=i,i.hooks.block=e),i.async)return(async()=>{let o=i.hooks?await i.hooks.preprocess(t):t,s=await(i.hooks?await i.hooks.provideLexer():e?pe.lex:pe.lexInline)(o,i),a=i.hooks?await i.hooks.processAllTokens(s):s;i.walkTokens&&await Promise.all(this.walkTokens(a,i.walkTokens));let c=await(i.hooks?await i.hooks.provideParser():e?he.parse:he.parseInline)(a,i);return i.hooks?await i.hooks.postprocess(c):c})().catch(l);try{i.hooks&&(t=i.hooks.preprocess(t));let o=(i.hooks?i.hooks.provideLexer():e?pe.lex:pe.lexInline)(t,i);i.hooks&&(o=i.hooks.processAllTokens(o)),i.walkTokens&&this.walkTokens(o,i.walkTokens);let s=(i.hooks?i.hooks.provideParser():e?he.parse:he.parseInline)(o,i);return i.hooks&&(s=i.hooks.postprocess(s)),s}catch(o){return l(o)}}}onError(e,t){return n=>{if(n.message+=`
59
- Please report this to https://github.com/markedjs/marked.`,e){let r="<p>An error occurred:</p><pre>"+be(n.message+"",!0)+"</pre>";return t?Promise.resolve(r):r}if(t)return Promise.reject(n);throw n}}},Ae=new fl;function N(e,t){return Ae.parse(e,t)}N.options=N.setOptions=function(e){return Ae.setOptions(e),N.defaults=Ae.defaults,Ir(N.defaults),N};N.getDefaults=Jt;N.defaults=ze;N.use=function(...e){return Ae.use(...e),N.defaults=Ae.defaults,Ir(N.defaults),N};N.walkTokens=function(e,t){return Ae.walkTokens(e,t)};N.parseInline=Ae.parseInline;N.Parser=he;N.parser=he.parse;N.Renderer=kt;N.TextRenderer=sn;N.Lexer=pe;N.lexer=pe.lex;N.Tokenizer=mt;N.Hooks=Ve;N.parse=N;N.options;N.setOptions;N.use;N.walkTokens;N.parseInline;he.parse;pe.lex;function gl(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const dl=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ml=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,kl={};function Dn(e,t){return(kl.jsx?ml:dl).test(e)}const xl=/[ \t\n\f\r]/g;function yl(e){return typeof e=="object"?e.type==="text"?On(e.value):!1:On(e)}function On(e){return e.replace(xl,"")===""}class Ke{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Ke.prototype.normal={};Ke.prototype.property={};Ke.prototype.space=void 0;function Nr(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new Ke(n,r,t)}function jt(e){return e.toLowerCase()}class ne{constructor(t,n){this.attribute=n,this.property=t}}ne.prototype.attribute="";ne.prototype.booleanish=!1;ne.prototype.boolean=!1;ne.prototype.commaOrSpaceSeparated=!1;ne.prototype.commaSeparated=!1;ne.prototype.defined=!1;ne.prototype.mustUseProperty=!1;ne.prototype.number=!1;ne.prototype.overloadedBoolean=!1;ne.prototype.property="";ne.prototype.spaceSeparated=!1;ne.prototype.space=void 0;let bl=0;const P=Pe(),X=Pe(),qt=Pe(),b=Pe(),q=Pe(),De=Pe(),ie=Pe();function Pe(){return 2**++bl}const Ht=Object.freeze(Object.defineProperty({__proto__:null,boolean:P,booleanish:X,commaOrSpaceSeparated:ie,commaSeparated:De,number:b,overloadedBoolean:qt,spaceSeparated:q},Symbol.toStringTag,{value:"Module"})),Tt=Object.keys(Ht);class an extends ne{constructor(t,n,r,i){let l=-1;if(super(t,n),Nn(this,"space",i),typeof r=="number")for(;++l<Tt.length;){const o=Tt[l];Nn(this,Tt[l],(r&Ht[o])===Ht[o])}}}an.prototype.defined=!0;function Nn(e,t,n){n&&(e[t]=n)}function Ne(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const l=new an(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),t[r]=l,n[jt(r)]=r,n[jt(l.attribute)]=r}return new Ke(t,n,e.space)}const Mr=Ne({properties:{ariaActiveDescendant:null,ariaAtomic:X,ariaAutoComplete:null,ariaBusy:X,ariaChecked:X,ariaColCount:b,ariaColIndex:b,ariaColSpan:b,ariaControls:q,ariaCurrent:null,ariaDescribedBy:q,ariaDetails:null,ariaDisabled:X,ariaDropEffect:q,ariaErrorMessage:null,ariaExpanded:X,ariaFlowTo:q,ariaGrabbed:X,ariaHasPopup:null,ariaHidden:X,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:q,ariaLevel:b,ariaLive:null,ariaModal:X,ariaMultiLine:X,ariaMultiSelectable:X,ariaOrientation:null,ariaOwns:q,ariaPlaceholder:null,ariaPosInSet:b,ariaPressed:X,ariaReadOnly:X,ariaRelevant:null,ariaRequired:X,ariaRoleDescription:q,ariaRowCount:b,ariaRowIndex:b,ariaRowSpan:b,ariaSelected:X,ariaSetSize:b,ariaSort:null,ariaValueMax:b,ariaValueMin:b,ariaValueNow:b,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Br(e,t){return t in e?e[t]:t}function Fr(e,t){return Br(e,t.toLowerCase())}const wl=Ne({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:De,acceptCharset:q,accessKey:q,action:null,allow:null,allowFullScreen:P,allowPaymentRequest:P,allowUserMedia:P,alt:null,as:null,async:P,autoCapitalize:null,autoComplete:q,autoFocus:P,autoPlay:P,blocking:q,capture:null,charSet:null,checked:P,cite:null,className:q,cols:b,colSpan:null,content:null,contentEditable:X,controls:P,controlsList:q,coords:b|De,crossOrigin:null,data:null,dateTime:null,decoding:null,default:P,defer:P,dir:null,dirName:null,disabled:P,download:qt,draggable:X,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:P,formTarget:null,headers:q,height:b,hidden:qt,high:b,href:null,hrefLang:null,htmlFor:q,httpEquiv:q,id:null,imageSizes:null,imageSrcSet:null,inert:P,inputMode:null,integrity:null,is:null,isMap:P,itemId:null,itemProp:q,itemRef:q,itemScope:P,itemType:q,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:P,low:b,manifest:null,max:null,maxLength:b,media:null,method:null,min:null,minLength:b,multiple:P,muted:P,name:null,nonce:null,noModule:P,noValidate:P,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:P,optimum:b,pattern:null,ping:q,placeholder:null,playsInline:P,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:P,referrerPolicy:null,rel:q,required:P,reversed:P,rows:b,rowSpan:b,sandbox:q,scope:null,scoped:P,seamless:P,selected:P,shadowRootClonable:P,shadowRootDelegatesFocus:P,shadowRootMode:null,shape:null,size:b,sizes:null,slot:null,span:b,spellCheck:X,src:null,srcDoc:null,srcLang:null,srcSet:null,start:b,step:null,style:null,tabIndex:b,target:null,title:null,translate:null,type:null,typeMustMatch:P,useMap:null,value:X,width:b,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:q,axis:null,background:null,bgColor:null,border:b,borderColor:null,bottomMargin:b,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:P,declare:P,event:null,face:null,frame:null,frameBorder:null,hSpace:b,leftMargin:b,link:null,longDesc:null,lowSrc:null,marginHeight:b,marginWidth:b,noResize:P,noHref:P,noShade:P,noWrap:P,object:null,profile:null,prompt:null,rev:null,rightMargin:b,rules:null,scheme:null,scrolling:X,standby:null,summary:null,text:null,topMargin:b,valueType:null,version:null,vAlign:null,vLink:null,vSpace:b,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:P,disableRemotePlayback:P,prefix:null,property:null,results:b,security:null,unselectable:null},space:"html",transform:Fr}),Sl=Ne({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ie,accentHeight:b,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:b,amplitude:b,arabicForm:null,ascent:b,attributeName:null,attributeType:null,azimuth:b,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:b,by:null,calcMode:null,capHeight:b,className:q,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:b,diffuseConstant:b,direction:null,display:null,dur:null,divisor:b,dominantBaseline:null,download:P,dx:null,dy:null,edgeMode:null,editable:null,elevation:b,enableBackground:null,end:null,event:null,exponent:b,externalResourcesRequired:null,fill:null,fillOpacity:b,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:De,g2:De,glyphName:De,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:b,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:b,horizOriginX:b,horizOriginY:b,id:null,ideographic:b,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:b,k:b,k1:b,k2:b,k3:b,k4:b,kernelMatrix:ie,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:b,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:b,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:b,overlineThickness:b,paintOrder:null,panose1:null,path:null,pathLength:b,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:q,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:b,pointsAtY:b,pointsAtZ:b,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ie,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ie,rev:ie,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ie,requiredFeatures:ie,requiredFonts:ie,requiredFormats:ie,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:b,specularExponent:b,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:b,strikethroughThickness:b,string:null,stroke:null,strokeDashArray:ie,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:b,strokeOpacity:b,strokeWidth:null,style:null,surfaceScale:b,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ie,tabIndex:b,tableValues:null,target:null,targetX:b,targetY:b,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ie,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:b,underlineThickness:b,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:b,values:null,vAlphabetic:b,vMathematical:b,vectorEffect:null,vHanging:b,vIdeographic:b,version:null,vertAdvY:b,vertOriginX:b,vertOriginY:b,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:b,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Br}),$r=Ne({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),jr=Ne({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Fr}),qr=Ne({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Cl={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},El=/[A-Z]/g,Mn=/-[a-z]/g,Il=/^data[-\w.:]+$/i;function Tl(e,t){const n=jt(t);let r=t,i=ne;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Il.test(t)){if(t.charAt(4)==="-"){const l=t.slice(5).replace(Mn,zl);r="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=t.slice(4);if(!Mn.test(l)){let o=l.replace(El,Al);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=an}return new i(r,t)}function Al(e){return"-"+e.toLowerCase()}function zl(e){return e.charAt(1).toUpperCase()}const Pl=Nr([Mr,wl,$r,jr,qr],"html"),un=Nr([Mr,Sl,$r,jr,qr],"svg");function Rl(e){return e.join(" ").trim()}var cn={},Bn=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Ll=/\n/g,_l=/^\s*/,vl=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Dl=/^:\s*/,Ol=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Nl=/^[;\s]*/,Ml=/^\s+|\s+$/g,Bl=`
60
- `,Fn="/",$n="*",Te="",Fl="comment",$l="declaration";function jl(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(m){var x=m.match(Ll);x&&(n+=x.length);var I=m.lastIndexOf(Bl);r=~I?m.length-I:r+m.length}function l(){var m={line:n,column:r};return function(x){return x.position=new o(m),c(),x}}function o(m){this.start=m,this.end={line:n,column:r},this.source=t.source}o.prototype.content=e;function s(m){var x=new Error(t.source+":"+n+":"+r+": "+m);if(x.reason=m,x.filename=t.source,x.line=n,x.column=r,x.source=e,!t.silent)throw x}function a(m){var x=m.exec(e);if(x){var I=x[0];return i(I),e=e.slice(I.length),x}}function c(){a(_l)}function u(m){var x;for(m=m||[];x=h();)x!==!1&&m.push(x);return m}function h(){var m=l();if(!(Fn!=e.charAt(0)||$n!=e.charAt(1))){for(var x=2;Te!=e.charAt(x)&&($n!=e.charAt(x)||Fn!=e.charAt(x+1));)++x;if(x+=2,Te===e.charAt(x-1))return s("End of comment missing");var I=e.slice(2,x-2);return r+=2,i(I),e=e.slice(x),r+=2,m({type:Fl,comment:I})}}function f(){var m=l(),x=a(vl);if(x){if(h(),!a(Dl))return s("property missing ':'");var I=a(Ol),w=m({type:$l,property:jn(x[0].replace(Bn,Te)),value:I?jn(I[0].replace(Bn,Te)):Te});return a(Nl),w}}function p(){var m=[];u(m);for(var x;x=f();)x!==!1&&(m.push(x),u(m));return m}return c(),p()}function jn(e){return e?e.replace(Ml,Te):Te}var ql=jl,Hl=gt&&gt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(cn,"__esModule",{value:!0});cn.default=Vl;const Ul=Hl(ql);function Vl(e,t){let n=null;if(!e||typeof e!="string")return n;const r=(0,Ul.default)(e),i=typeof t=="function";return r.forEach(l=>{if(l.type!=="declaration")return;const{property:o,value:s}=l;i?t(o,s,l):s&&(n=n||{},n[o]=s)}),n}var St={};Object.defineProperty(St,"__esModule",{value:!0});St.camelCase=void 0;var Ql=/^--[a-zA-Z0-9_-]+$/,Wl=/-([a-z])/g,Xl=/^[^-]+$/,Zl=/^-(webkit|moz|ms|o|khtml)-/,Yl=/^-(ms)-/,Gl=function(e){return!e||Xl.test(e)||Ql.test(e)},Jl=function(e,t){return t.toUpperCase()},qn=function(e,t){return"".concat(t,"-")},Kl=function(e,t){return t===void 0&&(t={}),Gl(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(Yl,qn):e=e.replace(Zl,qn),e.replace(Wl,Jl))};St.camelCase=Kl;var eo=gt&&gt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},to=eo(cn),no=St;function Ut(e,t){var n={};return!e||typeof e!="string"||(0,to.default)(e,function(r,i){r&&i&&(n[(0,no.camelCase)(r,t)]=i)}),n}Ut.default=Ut;var ro=Ut;const io=Er(ro),Hr=Ur("end"),pn=Ur("start");function Ur(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function lo(e){const t=pn(e),n=Hr(e);if(t&&n)return{start:t,end:n}}function Xe(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Hn(e.position):"start"in e||"end"in e?Hn(e):"line"in e||"column"in e?Vt(e):""}function Vt(e){return Un(e&&e.line)+":"+Un(e&&e.column)}function Hn(e){return Vt(e&&e.start)+"-"+Vt(e&&e.end)}function Un(e){return e&&typeof e=="number"?e:1}class J extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",l={},o=!1;if(n&&("line"in n&&"column"in n?l={place:n}:"start"in n&&"end"in n?l={place:n}:"type"in n?l={ancestors:[n],place:n.position}:l={...n}),typeof t=="string"?i=t:!l.cause&&t&&(o=!0,i=t.message,l.cause=t),!l.ruleId&&!l.source&&typeof r=="string"){const a=r.indexOf(":");a===-1?l.ruleId=r:(l.source=r.slice(0,a),l.ruleId=r.slice(a+1))}if(!l.place&&l.ancestors&&l.ancestors){const a=l.ancestors[l.ancestors.length-1];a&&(l.place=a.position)}const s=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=s?s.line:void 0,this.name=Xe(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=o&&l.cause&&typeof l.cause.stack=="string"?l.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}J.prototype.file="";J.prototype.name="";J.prototype.reason="";J.prototype.message="";J.prototype.stack="";J.prototype.column=void 0;J.prototype.line=void 0;J.prototype.ancestors=void 0;J.prototype.cause=void 0;J.prototype.fatal=void 0;J.prototype.place=void 0;J.prototype.ruleId=void 0;J.prototype.source=void 0;const hn={}.hasOwnProperty,oo=new Map,so=/[A-Z]/g,ao=new Set(["table","tbody","thead","tfoot","tr"]),uo=new Set(["td","th"]),Vr="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function co(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=yo(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=xo(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?un:Pl,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},l=Qr(i,e,void 0);return l&&typeof l!="string"?l:i.create(e,i.Fragment,{children:l||void 0},void 0)}function Qr(e,t,n){if(t.type==="element")return po(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return ho(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return go(e,t,n);if(t.type==="mdxjsEsm")return fo(e,t);if(t.type==="root")return mo(e,t,n);if(t.type==="text")return ko(e,t)}function po(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=un,e.schema=i),e.ancestors.push(t);const l=Xr(e,t.tagName,!1),o=bo(e,t);let s=gn(e,t);return ao.has(t.tagName)&&(s=s.filter(function(a){return typeof a=="string"?!yl(a):!0})),Wr(e,o,l,t),fn(o,s),e.ancestors.pop(),e.schema=r,e.create(t,l,o,n)}function ho(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Ge(e,t.position)}function fo(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Ge(e,t.position)}function go(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=un,e.schema=i),e.ancestors.push(t);const l=t.name===null?e.Fragment:Xr(e,t.name,!0),o=wo(e,t),s=gn(e,t);return Wr(e,o,l,t),fn(o,s),e.ancestors.pop(),e.schema=r,e.create(t,l,o,n)}function mo(e,t,n){const r={};return fn(r,gn(e,t)),e.create(t,e.Fragment,r,n)}function ko(e,t){return t.value}function Wr(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function fn(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function xo(e,t,n){return r;function r(i,l,o,s){const c=Array.isArray(o.children)?n:t;return s?c(l,o,s):c(l,o)}}function yo(e,t){return n;function n(r,i,l,o){const s=Array.isArray(l.children),a=pn(r);return t(i,l,o,s,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}function bo(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&hn.call(t.properties,i)){const l=So(e,i,t.properties[i]);if(l){const[o,s]=l;e.tableCellAlignToStyle&&o==="align"&&typeof s=="string"&&uo.has(t.tagName)?r=s:n[o]=s}}if(r){const l=n.style||(n.style={});l[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function wo(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const l=r.data.estree.body[0];l.type;const o=l.expression;o.type;const s=o.properties[0];s.type,Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else Ge(e,t.position);else{const i=r.name;let l;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const s=r.value.data.estree.body[0];s.type,l=e.evaluater.evaluateExpression(s.expression)}else Ge(e,t.position);else l=r.value===null?!0:r.value;n[i]=l}return n}function gn(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:oo;for(;++r<t.children.length;){const l=t.children[r];let o;if(e.passKeys){const a=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(a){const c=i.get(a)||0;o=a+"-"+c,i.set(a,c+1)}}const s=Qr(e,l,o);s!==void 0&&n.push(s)}return n}function So(e,t,n){const r=Tl(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?gl(n):Rl(n)),r.property==="style"){let i=typeof n=="object"?n:Co(e,String(n));return e.stylePropertyNameCase==="css"&&(i=Eo(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?Cl[r.property]||r.property:r.attribute,n]}}function Co(e,t){try{return io(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new J("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=Vr+"#cannot-parse-style-attribute",i}}function Xr(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let l=-1,o;for(;++l<i.length;){const s=Dn(i[l])?{type:"Identifier",name:i[l]}:{type:"Literal",value:i[l]};o=o?{type:"MemberExpression",object:o,property:s,computed:!!(l&&s.type==="Literal"),optional:!1}:s}r=o}else r=Dn(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return hn.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Ge(e)}function Ge(e,t){const n=new J("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Vr+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Eo(e){const t={};let n;for(n in e)hn.call(e,n)&&(t[Io(n)]=e[n]);return t}function Io(e){let t=e.replace(so,To);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function To(e){return"-"+e.toLowerCase()}const At={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Ao={};function zo(e,t){const n=Ao,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Zr(e,r,i)}function Zr(e,t,n){if(Po(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Vn(e.children,t,n)}return Array.isArray(e)?Vn(e,t,n):""}function Vn(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Zr(e[i],t,n);return r.join("")}function Po(e){return!!(e&&typeof e=="object")}const Qn=document.createElement("i");function dn(e){const t="&"+e+";";Qn.innerHTML=t;const n=Qn.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function de(e,t,n,r){const i=e.length;let l=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);l<r.length;)o=r.slice(l,l+1e4),o.unshift(t,0),e.splice(...o),l+=1e4,t+=1e4}function oe(e,t){return e.length>0?(de(e,e.length,0,t),e):t}const Wn={}.hasOwnProperty;function Ro(e){const t={};let n=-1;for(;++n<e.length;)Lo(t,e[n]);return t}function Lo(e,t){let n;for(n in t){const i=(Wn.call(e,n)?e[n]:void 0)||(e[n]={}),l=t[n];let o;if(l)for(o in l){Wn.call(i,o)||(i[o]=[]);const s=l[o];_o(i[o],Array.isArray(s)?s:s?[s]:[])}}}function _o(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);de(e,0,0,r)}function Yr(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Oe(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ge=Ce(/[A-Za-z]/),le=Ce(/[\dA-Za-z]/),vo=Ce(/[#-'*+\--9=?A-Z^-~]/);function Qt(e){return e!==null&&(e<32||e===127)}const Wt=Ce(/\d/),Do=Ce(/[\dA-Fa-f]/),Oo=Ce(/[!-/:-@[-`{-~]/);function A(e){return e!==null&&e<-2}function te(e){return e!==null&&(e<0||e===32)}function D(e){return e===-2||e===-1||e===32}const No=Ce(/\p{P}|\p{S}/u),Mo=Ce(/\s/);function Ce(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Me(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const l=e.charCodeAt(n);let o="";if(l===37&&le(e.charCodeAt(n+1))&&le(e.charCodeAt(n+2)))i=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(o=String.fromCharCode(l));else if(l>55295&&l<57344){const s=e.charCodeAt(n+1);l<56320&&s>56319&&s<57344?(o=String.fromCharCode(l,s),i=1):o="�"}else o=String.fromCharCode(l);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function H(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let l=0;return o;function o(a){return D(a)?(e.enter(n),s(a)):t(a)}function s(a){return D(a)&&l++<i?(e.consume(a),s):(e.exit(n),t(a))}}const Bo={tokenize:Fo};function Fo(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),H(e,t,"linePrefix")}function i(s){return e.enter("paragraph"),l(s)}function l(s){const a=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=a),n=a,o(s)}function o(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return A(s)?(e.consume(s),e.exit("chunkText"),l):(e.consume(s),o)}}const $o={tokenize:jo},Xn={tokenize:qo};function jo(e){const t=this,n=[];let r=0,i,l,o;return s;function s(C){if(r<n.length){const M=n[r];return t.containerState=M[1],e.attempt(M[0].continuation,a,c)(C)}return c(C)}function a(C){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&R();const M=t.events.length;let O=M,y;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){y=t.events[O][1].end;break}w(r);let B=M;for(;B<t.events.length;)t.events[B][1].end={...y},B++;return de(t.events,O+1,0,t.events.slice(M)),t.events.length=B,c(C)}return s(C)}function c(C){if(r===n.length){if(!i)return f(C);if(i.currentConstruct&&i.currentConstruct.concrete)return m(C);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Xn,u,h)(C)}function u(C){return i&&R(),w(r),f(C)}function h(C){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(C)}function f(C){return t.containerState={},e.attempt(Xn,p,m)(C)}function p(C){return r++,n.push([t.currentConstruct,t.containerState]),f(C)}function m(C){if(C===null){i&&R(),w(0),e.consume(C);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:l}),x(C)}function x(C){if(C===null){I(e.exit("chunkFlow"),!0),w(0),e.consume(C);return}return A(C)?(e.consume(C),I(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(C),x)}function I(C,M){const O=t.sliceStream(C);if(M&&O.push(null),C.previous=l,l&&(l.next=C),l=C,i.defineSkip(C.start),i.write(O),t.parser.lazy[C.start.line]){let y=i.events.length;for(;y--;)if(i.events[y][1].start.offset<o&&(!i.events[y][1].end||i.events[y][1].end.offset>o))return;const B=t.events.length;let Q=B,$,U;for(;Q--;)if(t.events[Q][0]==="exit"&&t.events[Q][1].type==="chunkFlow"){if($){U=t.events[Q][1].end;break}$=!0}for(w(r),y=B;y<t.events.length;)t.events[y][1].end={...U},y++;de(t.events,Q+1,0,t.events.slice(B)),t.events.length=y}}function w(C){let M=n.length;for(;M-- >C;){const O=n[M];t.containerState=O[1],O[0].exit.call(t,e)}n.length=C}function R(){i.write([null]),l=void 0,i=void 0,t.containerState._closeFlow=void 0}}function qo(e,t,n){return H(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Zn(e){if(e===null||te(e)||Mo(e))return 1;if(No(e))return 2}function mn(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const l=e[i].resolveAll;l&&!r.includes(l)&&(t=l(t,n),r.push(l))}return t}const Xt={name:"attention",resolveAll:Ho,tokenize:Uo};function Ho(e,t){let n=-1,r,i,l,o,s,a,c,u;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;a=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const h={...e[r][1].end},f={...e[n][1].start};Yn(h,-a),Yn(f,a),o={type:a>1?"strongSequence":"emphasisSequence",start:h,end:{...e[r][1].end}},s={type:a>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:f},l={type:a>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:a>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=oe(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=oe(c,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",l,t]]),c=oe(c,mn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=oe(c,[["exit",l,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,c=oe(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):u=0,de(e,r-1,n-r+3,c),n=r+c.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Uo(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Zn(r);let l;return o;function o(a){return l=a,e.enter("attentionSequence"),s(a)}function s(a){if(a===l)return e.consume(a),s;const c=e.exit("attentionSequence"),u=Zn(a),h=!u||u===2&&i||n.includes(a),f=!i||i===2&&u||n.includes(r);return c._open=!!(l===42?h:h&&(i||!f)),c._close=!!(l===42?f:f&&(u||!h)),t(a)}}function Yn(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Vo={name:"autolink",tokenize:Qo};function Qo(e,t,n){let r=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l}function l(p){return ge(p)?(e.consume(p),o):p===64?n(p):c(p)}function o(p){return p===43||p===45||p===46||le(p)?(r=1,s(p)):c(p)}function s(p){return p===58?(e.consume(p),r=0,a):(p===43||p===45||p===46||le(p))&&r++<32?(e.consume(p),s):(r=0,c(p))}function a(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||Qt(p)?n(p):(e.consume(p),a)}function c(p){return p===64?(e.consume(p),u):vo(p)?(e.consume(p),c):n(p)}function u(p){return le(p)?h(p):n(p)}function h(p){return p===46?(e.consume(p),r=0,u):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):f(p)}function f(p){if((p===45||le(p))&&r++<63){const m=p===45?f:h;return e.consume(p),m}return n(p)}}const Ct={partial:!0,tokenize:Wo};function Wo(e,t,n){return r;function r(l){return D(l)?H(e,i,"linePrefix")(l):i(l)}function i(l){return l===null||A(l)?t(l):n(l)}}const Gr={continuation:{tokenize:Zo},exit:Yo,name:"blockQuote",tokenize:Xo};function Xo(e,t,n){const r=this;return i;function i(o){if(o===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),l}return n(o)}function l(o){return D(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function Zo(e,t,n){const r=this;return i;function i(o){return D(o)?H(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):l(o)}function l(o){return e.attempt(Gr,t,n)(o)}}function Yo(e){e.exit("blockQuote")}const Jr={name:"characterEscape",tokenize:Go};function Go(e,t,n){return r;function r(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),i}function i(l){return Oo(l)?(e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(l)}}const Kr={name:"characterReference",tokenize:Jo};function Jo(e,t,n){const r=this;let i=0,l,o;return s;function s(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),a}function a(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),l=31,o=le,u(h))}function c(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,o=Do,u):(e.enter("characterReferenceValue"),l=7,o=Wt,u(h))}function u(h){if(h===59&&i){const f=e.exit("characterReferenceValue");return o===le&&!dn(r.sliceSerialize(f))?n(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(h)&&i++<l?(e.consume(h),u):n(h)}}const Gn={partial:!0,tokenize:es},Jn={concrete:!0,name:"codeFenced",tokenize:Ko};function Ko(e,t,n){const r=this,i={partial:!0,tokenize:O};let l=0,o=0,s;return a;function a(y){return c(y)}function c(y){const B=r.events[r.events.length-1];return l=B&&B[1].type==="linePrefix"?B[2].sliceSerialize(B[1],!0).length:0,s=y,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(y)}function u(y){return y===s?(o++,e.consume(y),u):o<3?n(y):(e.exit("codeFencedFenceSequence"),D(y)?H(e,h,"whitespace")(y):h(y))}function h(y){return y===null||A(y)?(e.exit("codeFencedFence"),r.interrupt?t(y):e.check(Gn,x,M)(y)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),f(y))}function f(y){return y===null||A(y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(y)):D(y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),H(e,p,"whitespace")(y)):y===96&&y===s?n(y):(e.consume(y),f)}function p(y){return y===null||A(y)?h(y):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(y))}function m(y){return y===null||A(y)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(y)):y===96&&y===s?n(y):(e.consume(y),m)}function x(y){return e.attempt(i,M,I)(y)}function I(y){return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),w}function w(y){return l>0&&D(y)?H(e,R,"linePrefix",l+1)(y):R(y)}function R(y){return y===null||A(y)?e.check(Gn,x,M)(y):(e.enter("codeFlowValue"),C(y))}function C(y){return y===null||A(y)?(e.exit("codeFlowValue"),R(y)):(e.consume(y),C)}function M(y){return e.exit("codeFenced"),t(y)}function O(y,B,Q){let $=0;return U;function U(_){return y.enter("lineEnding"),y.consume(_),y.exit("lineEnding"),T}function T(_){return y.enter("codeFencedFence"),D(_)?H(y,E,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(_):E(_)}function E(_){return _===s?(y.enter("codeFencedFenceSequence"),V(_)):Q(_)}function V(_){return _===s?($++,y.consume(_),V):$>=o?(y.exit("codeFencedFenceSequence"),D(_)?H(y,W,"whitespace")(_):W(_)):Q(_)}function W(_){return _===null||A(_)?(y.exit("codeFencedFence"),B(_)):Q(_)}}}function es(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),l)}function l(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const zt={name:"codeIndented",tokenize:ns},ts={partial:!0,tokenize:rs};function ns(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),H(e,l,"linePrefix",5)(c)}function l(c){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?o(c):n(c)}function o(c){return c===null?a(c):A(c)?e.attempt(ts,o,a)(c):(e.enter("codeFlowValue"),s(c))}function s(c){return c===null||A(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),s)}function a(c){return e.exit("codeIndented"),t(c)}}function rs(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):A(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):H(e,l,"linePrefix",5)(o)}function l(o){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):A(o)?i(o):n(o)}}const is={name:"codeText",previous:os,resolve:ls,tokenize:ss};function ls(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function os(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function ss(e,t,n){let r=0,i,l;return o;function o(h){return e.enter("codeText"),e.enter("codeTextSequence"),s(h)}function s(h){return h===96?(e.consume(h),r++,s):(e.exit("codeTextSequence"),a(h))}function a(h){return h===null?n(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),a):h===96?(l=e.enter("codeTextSequence"),i=0,u(h)):A(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),a):(e.enter("codeTextData"),c(h))}function c(h){return h===null||h===32||h===96||A(h)?(e.exit("codeTextData"),a(h)):(e.consume(h),c)}function u(h){return h===96?(e.consume(h),i++,u):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(l.type="codeTextData",c(h))}}class as{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const l=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&He(this.left,r),l.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),He(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),He(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);He(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);He(this.left,n.reverse())}}}function He(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function ei(e){const t={};let n=-1,r,i,l,o,s,a,c;const u=new as(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type==="chunkFlow"&&u.get(n-1)[1].type==="listItemPrefix"&&(a=r[1]._tokenizer.events,l=0,l<a.length&&a[l][1].type==="lineEndingBlank"&&(l+=2),l<a.length&&a[l][1].type==="content"))for(;++l<a.length&&a[l][1].type!=="content";)a[l][1].type==="chunkText"&&(a[l][1]._isInFirstContentOfListItem=!0,l++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,us(u,n)),n=t[n],c=!0);else if(r[1]._container){for(l=n,i=void 0;l--;)if(o=u.get(l),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(u.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=l);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(r[1].end={...u.get(i)[1].start},s=u.slice(i,n),s.unshift(r),u.splice(i,n-i+1,s))}}return de(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!c}function us(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const l=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const s=o.events,a=[],c={};let u,h,f=-1,p=n,m=0,x=0;const I=[x];for(;p;){for(;e.get(++i)[1]!==p;);l.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),h&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),h=p,p=p.next}for(p=n;++f<s.length;)s[f][0]==="exit"&&s[f-1][0]==="enter"&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(x=f+1,I.push(x),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):I.pop(),f=I.length;f--;){const w=s.slice(I[f],I[f+1]),R=l.pop();a.push([R,R+w.length-1]),e.splice(R,2,w)}for(a.reverse(),f=-1;++f<a.length;)c[m+a[f][0]]=m+a[f][1],m+=a[f][1]-a[f][0]-1;return c}const cs={resolve:hs,tokenize:fs},ps={partial:!0,tokenize:gs};function hs(e){return ei(e),e}function fs(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?l(s):A(s)?e.check(ps,o,l)(s):(e.consume(s),i)}function l(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function o(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function gs(e,t,n){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),H(e,l,"linePrefix")}function l(o){if(o===null||A(o))return n(o);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function ti(e,t,n,r,i,l,o,s,a){const c=a||Number.POSITIVE_INFINITY;let u=0;return h;function h(w){return w===60?(e.enter(r),e.enter(i),e.enter(l),e.consume(w),e.exit(l),f):w===null||w===32||w===41||Qt(w)?n(w):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),x(w))}function f(w){return w===62?(e.enter(l),e.consume(w),e.exit(l),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(w))}function p(w){return w===62?(e.exit("chunkString"),e.exit(s),f(w)):w===null||w===60||A(w)?n(w):(e.consume(w),w===92?m:p)}function m(w){return w===60||w===62||w===92?(e.consume(w),p):p(w)}function x(w){return!u&&(w===null||w===41||te(w))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(w)):u<c&&w===40?(e.consume(w),u++,x):w===41?(e.consume(w),u--,x):w===null||w===32||w===40||Qt(w)?n(w):(e.consume(w),w===92?I:x)}function I(w){return w===40||w===41||w===92?(e.consume(w),x):x(w)}}function ni(e,t,n,r,i,l){const o=this;let s=0,a;return c;function c(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(l),u}function u(p){return s>999||p===null||p===91||p===93&&!a||p===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?n(p):p===93?(e.exit(l),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):A(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===null||p===91||p===93||A(p)||s++>999?(e.exit("chunkString"),u(p)):(e.consume(p),a||(a=!D(p)),p===92?f:h)}function f(p){return p===91||p===92||p===93?(e.consume(p),s++,h):h(p)}}function ri(e,t,n,r,i,l){let o;return s;function s(f){return f===34||f===39||f===40?(e.enter(r),e.enter(i),e.consume(f),e.exit(i),o=f===40?41:f,a):n(f)}function a(f){return f===o?(e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):(e.enter(l),c(f))}function c(f){return f===o?(e.exit(l),a(o)):f===null?n(f):A(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),H(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(f))}function u(f){return f===o||f===null||A(f)?(e.exit("chunkString"),c(f)):(e.consume(f),f===92?h:u)}function h(f){return f===o||f===92?(e.consume(f),u):u(f)}}function Ze(e,t){let n;return r;function r(i){return A(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):D(i)?H(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const ds={name:"definition",tokenize:ks},ms={partial:!0,tokenize:xs};function ks(e,t,n){const r=this;let i;return l;function l(p){return e.enter("definition"),o(p)}function o(p){return ni.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return i=Oe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),a):n(p)}function a(p){return te(p)?Ze(e,c)(p):c(p)}function c(p){return ti(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function u(p){return e.attempt(ms,h,h)(p)}function h(p){return D(p)?H(e,f,"whitespace")(p):f(p)}function f(p){return p===null||A(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function xs(e,t,n){return r;function r(s){return te(s)?Ze(e,i)(s):n(s)}function i(s){return ri(e,l,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function l(s){return D(s)?H(e,o,"whitespace")(s):o(s)}function o(s){return s===null||A(s)?t(s):n(s)}}const ys={name:"hardBreakEscape",tokenize:bs};function bs(e,t,n){return r;function r(l){return e.enter("hardBreakEscape"),e.consume(l),i}function i(l){return A(l)?(e.exit("hardBreakEscape"),t(l)):n(l)}}const ws={name:"headingAtx",resolve:Ss,tokenize:Cs};function Ss(e,t){let n=e.length-2,r=3,i,l;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},l={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},de(e,r,n-r+1,[["enter",i,t],["enter",l,t],["exit",l,t],["exit",i,t]])),e}function Cs(e,t,n){let r=0;return i;function i(u){return e.enter("atxHeading"),l(u)}function l(u){return e.enter("atxHeadingSequence"),o(u)}function o(u){return u===35&&r++<6?(e.consume(u),o):u===null||te(u)?(e.exit("atxHeadingSequence"),s(u)):n(u)}function s(u){return u===35?(e.enter("atxHeadingSequence"),a(u)):u===null||A(u)?(e.exit("atxHeading"),t(u)):D(u)?H(e,s,"whitespace")(u):(e.enter("atxHeadingText"),c(u))}function a(u){return u===35?(e.consume(u),a):(e.exit("atxHeadingSequence"),s(u))}function c(u){return u===null||u===35||te(u)?(e.exit("atxHeadingText"),s(u)):(e.consume(u),c)}}const Es=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Kn=["pre","script","style","textarea"],Is={concrete:!0,name:"htmlFlow",resolveTo:zs,tokenize:Ps},Ts={partial:!0,tokenize:Ls},As={partial:!0,tokenize:Rs};function zs(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Ps(e,t,n){const r=this;let i,l,o,s,a;return c;function c(d){return u(d)}function u(d){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(d),h}function h(d){return d===33?(e.consume(d),f):d===47?(e.consume(d),l=!0,x):d===63?(e.consume(d),i=3,r.interrupt?t:g):ge(d)?(e.consume(d),o=String.fromCharCode(d),I):n(d)}function f(d){return d===45?(e.consume(d),i=2,p):d===91?(e.consume(d),i=5,s=0,m):ge(d)?(e.consume(d),i=4,r.interrupt?t:g):n(d)}function p(d){return d===45?(e.consume(d),r.interrupt?t:g):n(d)}function m(d){const ue="CDATA[";return d===ue.charCodeAt(s++)?(e.consume(d),s===ue.length?r.interrupt?t:E:m):n(d)}function x(d){return ge(d)?(e.consume(d),o=String.fromCharCode(d),I):n(d)}function I(d){if(d===null||d===47||d===62||te(d)){const ue=d===47,Ee=o.toLowerCase();return!ue&&!l&&Kn.includes(Ee)?(i=1,r.interrupt?t(d):E(d)):Es.includes(o.toLowerCase())?(i=6,ue?(e.consume(d),w):r.interrupt?t(d):E(d)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(d):l?R(d):C(d))}return d===45||le(d)?(e.consume(d),o+=String.fromCharCode(d),I):n(d)}function w(d){return d===62?(e.consume(d),r.interrupt?t:E):n(d)}function R(d){return D(d)?(e.consume(d),R):U(d)}function C(d){return d===47?(e.consume(d),U):d===58||d===95||ge(d)?(e.consume(d),M):D(d)?(e.consume(d),C):U(d)}function M(d){return d===45||d===46||d===58||d===95||le(d)?(e.consume(d),M):O(d)}function O(d){return d===61?(e.consume(d),y):D(d)?(e.consume(d),O):C(d)}function y(d){return d===null||d===60||d===61||d===62||d===96?n(d):d===34||d===39?(e.consume(d),a=d,B):D(d)?(e.consume(d),y):Q(d)}function B(d){return d===a?(e.consume(d),a=null,$):d===null||A(d)?n(d):(e.consume(d),B)}function Q(d){return d===null||d===34||d===39||d===47||d===60||d===61||d===62||d===96||te(d)?O(d):(e.consume(d),Q)}function $(d){return d===47||d===62||D(d)?C(d):n(d)}function U(d){return d===62?(e.consume(d),T):n(d)}function T(d){return d===null||A(d)?E(d):D(d)?(e.consume(d),T):n(d)}function E(d){return d===45&&i===2?(e.consume(d),G):d===60&&i===1?(e.consume(d),Z):d===62&&i===4?(e.consume(d),ae):d===63&&i===3?(e.consume(d),g):d===93&&i===5?(e.consume(d),me):A(d)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Ts,ke,V)(d)):d===null||A(d)?(e.exit("htmlFlowData"),V(d)):(e.consume(d),E)}function V(d){return e.check(As,W,ke)(d)}function W(d){return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),_}function _(d){return d===null||A(d)?V(d):(e.enter("htmlFlowData"),E(d))}function G(d){return d===45?(e.consume(d),g):E(d)}function Z(d){return d===47?(e.consume(d),o="",se):E(d)}function se(d){if(d===62){const ue=o.toLowerCase();return Kn.includes(ue)?(e.consume(d),ae):E(d)}return ge(d)&&o.length<8?(e.consume(d),o+=String.fromCharCode(d),se):E(d)}function me(d){return d===93?(e.consume(d),g):E(d)}function g(d){return d===62?(e.consume(d),ae):d===45&&i===2?(e.consume(d),g):E(d)}function ae(d){return d===null||A(d)?(e.exit("htmlFlowData"),ke(d)):(e.consume(d),ae)}function ke(d){return e.exit("htmlFlow"),t(d)}}function Rs(e,t,n){const r=this;return i;function i(o){return A(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),l):n(o)}function l(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function Ls(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Ct,t,n)}}const _s={name:"htmlText",tokenize:vs};function vs(e,t,n){const r=this;let i,l,o;return s;function s(g){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(g),a}function a(g){return g===33?(e.consume(g),c):g===47?(e.consume(g),O):g===63?(e.consume(g),C):ge(g)?(e.consume(g),Q):n(g)}function c(g){return g===45?(e.consume(g),u):g===91?(e.consume(g),l=0,m):ge(g)?(e.consume(g),R):n(g)}function u(g){return g===45?(e.consume(g),p):n(g)}function h(g){return g===null?n(g):g===45?(e.consume(g),f):A(g)?(o=h,Z(g)):(e.consume(g),h)}function f(g){return g===45?(e.consume(g),p):h(g)}function p(g){return g===62?G(g):g===45?f(g):h(g)}function m(g){const ae="CDATA[";return g===ae.charCodeAt(l++)?(e.consume(g),l===ae.length?x:m):n(g)}function x(g){return g===null?n(g):g===93?(e.consume(g),I):A(g)?(o=x,Z(g)):(e.consume(g),x)}function I(g){return g===93?(e.consume(g),w):x(g)}function w(g){return g===62?G(g):g===93?(e.consume(g),w):x(g)}function R(g){return g===null||g===62?G(g):A(g)?(o=R,Z(g)):(e.consume(g),R)}function C(g){return g===null?n(g):g===63?(e.consume(g),M):A(g)?(o=C,Z(g)):(e.consume(g),C)}function M(g){return g===62?G(g):C(g)}function O(g){return ge(g)?(e.consume(g),y):n(g)}function y(g){return g===45||le(g)?(e.consume(g),y):B(g)}function B(g){return A(g)?(o=B,Z(g)):D(g)?(e.consume(g),B):G(g)}function Q(g){return g===45||le(g)?(e.consume(g),Q):g===47||g===62||te(g)?$(g):n(g)}function $(g){return g===47?(e.consume(g),G):g===58||g===95||ge(g)?(e.consume(g),U):A(g)?(o=$,Z(g)):D(g)?(e.consume(g),$):G(g)}function U(g){return g===45||g===46||g===58||g===95||le(g)?(e.consume(g),U):T(g)}function T(g){return g===61?(e.consume(g),E):A(g)?(o=T,Z(g)):D(g)?(e.consume(g),T):$(g)}function E(g){return g===null||g===60||g===61||g===62||g===96?n(g):g===34||g===39?(e.consume(g),i=g,V):A(g)?(o=E,Z(g)):D(g)?(e.consume(g),E):(e.consume(g),W)}function V(g){return g===i?(e.consume(g),i=void 0,_):g===null?n(g):A(g)?(o=V,Z(g)):(e.consume(g),V)}function W(g){return g===null||g===34||g===39||g===60||g===61||g===96?n(g):g===47||g===62||te(g)?$(g):(e.consume(g),W)}function _(g){return g===47||g===62||te(g)?$(g):n(g)}function G(g){return g===62?(e.consume(g),e.exit("htmlTextData"),e.exit("htmlText"),t):n(g)}function Z(g){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),se}function se(g){return D(g)?H(e,me,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(g):me(g)}function me(g){return e.enter("htmlTextData"),o(g)}}const kn={name:"labelEnd",resolveAll:Ms,resolveTo:Bs,tokenize:Fs},Ds={tokenize:$s},Os={tokenize:js},Ns={tokenize:qs};function Ms(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&de(e,0,e.length,n),e}function Bs(e,t){let n=e.length,r=0,i,l,o,s;for(;n--;)if(i=e[n][1],l){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(l=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=n);const a={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[l][1].start},end:{...e[o][1].end}},u={type:"labelText",start:{...e[l+r+2][1].end},end:{...e[o-2][1].start}};return s=[["enter",a,t],["enter",c,t]],s=oe(s,e.slice(l+1,l+r+3)),s=oe(s,[["enter",u,t]]),s=oe(s,mn(t.parser.constructs.insideSpan.null,e.slice(l+r+4,o-3),t)),s=oe(s,[["exit",u,t],e[o-2],e[o-1],["exit",c,t]]),s=oe(s,e.slice(o+1)),s=oe(s,[["exit",a,t]]),de(e,l,e.length,s),e}function Fs(e,t,n){const r=this;let i=r.events.length,l,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){l=r.events[i][1];break}return s;function s(f){return l?l._inactive?h(f):(o=r.parser.defined.includes(Oe(r.sliceSerialize({start:l.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(f),e.exit("labelMarker"),e.exit("labelEnd"),a):n(f)}function a(f){return f===40?e.attempt(Ds,u,o?u:h)(f):f===91?e.attempt(Os,u,o?c:h)(f):o?u(f):h(f)}function c(f){return e.attempt(Ns,u,h)(f)}function u(f){return t(f)}function h(f){return l._balanced=!0,n(f)}}function $s(e,t,n){return r;function r(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),i}function i(h){return te(h)?Ze(e,l)(h):l(h)}function l(h){return h===41?u(h):ti(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function o(h){return te(h)?Ze(e,a)(h):u(h)}function s(h){return n(h)}function a(h){return h===34||h===39||h===40?ri(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):u(h)}function c(h){return te(h)?Ze(e,u)(h):u(h)}function u(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):n(h)}}function js(e,t,n){const r=this;return i;function i(s){return ni.call(r,e,l,o,"reference","referenceMarker","referenceString")(s)}function l(s){return r.parser.defined.includes(Oe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function o(s){return n(s)}}function qs(e,t,n){return r;function r(l){return e.enter("reference"),e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),i}function i(l){return l===93?(e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),e.exit("reference"),t):n(l)}}const Hs={name:"labelStartImage",resolveAll:kn.resolveAll,tokenize:Us};function Us(e,t,n){const r=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),l}function l(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),o):n(s)}function o(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const Vs={name:"labelStartLink",resolveAll:kn.resolveAll,tokenize:Qs};function Qs(e,t,n){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),l}function l(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const Pt={name:"lineEnding",tokenize:Ws};function Ws(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),H(e,t,"linePrefix")}}const ht={name:"thematicBreak",tokenize:Xs};function Xs(e,t,n){let r=0,i;return l;function l(c){return e.enter("thematicBreak"),o(c)}function o(c){return i=c,s(c)}function s(c){return c===i?(e.enter("thematicBreakSequence"),a(c)):r>=3&&(c===null||A(c))?(e.exit("thematicBreak"),t(c)):n(c)}function a(c){return c===i?(e.consume(c),r++,a):(e.exit("thematicBreakSequence"),D(c)?H(e,s,"whitespace")(c):s(c))}}const ee={continuation:{tokenize:Js},exit:ea,name:"list",tokenize:Gs},Zs={partial:!0,tokenize:ta},Ys={partial:!0,tokenize:Ks};function Gs(e,t,n){const r=this,i=r.events[r.events.length-1];let l=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(p){const m=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:Wt(p)){if(r.containerState.type||(r.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(ht,n,c)(p):c(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(p)}return n(p)}function a(p){return Wt(p)&&++o<10?(e.consume(p),a):(!r.interrupt||o<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),c(p)):n(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Ct,r.interrupt?n:u,e.attempt(Zs,f,h))}function u(p){return r.containerState.initialBlankLine=!0,l++,f(p)}function h(p){return D(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),f):n(p)}function f(p){return r.containerState.size=l+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function Js(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Ct,i,l);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,H(e,t,"listItemIndent",r.containerState.size+1)(s)}function l(s){return r.containerState.furtherBlankLines||!D(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Ys,t,o)(s))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,H(e,e.attempt(ee,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function Ks(e,t,n){const r=this;return H(e,i,"listItemIndent",r.containerState.size+1);function i(l){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(l):n(l)}}function ea(e){e.exit(this.containerState.type)}function ta(e,t,n){const r=this;return H(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(l){const o=r.events[r.events.length-1];return!D(l)&&o&&o[1].type==="listItemPrefixWhitespace"?t(l):n(l)}}const er={name:"setextUnderline",resolveTo:na,tokenize:ra};function na(e,t){let n=e.length,r,i,l;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!l&&e[n][1].type==="definition"&&(l=n);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",l?(e.splice(i,0,["enter",o,t]),e.splice(l+1,0,["exit",e[r][1],t]),e[r][1].end={...e[l][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function ra(e,t,n){const r=this;let i;return l;function l(c){let u=r.events.length,h;for(;u--;)if(r.events[u][1].type!=="lineEnding"&&r.events[u][1].type!=="linePrefix"&&r.events[u][1].type!=="content"){h=r.events[u][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(e.enter("setextHeadingLine"),i=c,o(c)):n(c)}function o(c){return e.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===i?(e.consume(c),s):(e.exit("setextHeadingLineSequence"),D(c)?H(e,a,"lineSuffix")(c):a(c))}function a(c){return c===null||A(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const ia={tokenize:la};function la(e){const t=this,n=e.attempt(Ct,r,e.attempt(this.parser.constructs.flowInitial,i,H(e,e.attempt(this.parser.constructs.flow,i,e.attempt(cs,i)),"linePrefix")));return n;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const oa={resolveAll:li()},sa=ii("string"),aa=ii("text");function ii(e){return{resolveAll:li(e==="text"?ua:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],l=n.attempt(i,o,s);return o;function o(u){return c(u)?l(u):s(u)}function s(u){if(u===null){n.consume(u);return}return n.enter("data"),n.consume(u),a}function a(u){return c(u)?(n.exit("data"),l(u)):(n.consume(u),a)}function c(u){if(u===null)return!0;const h=i[u];let f=-1;if(h)for(;++f<h.length;){const p=h[f];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function li(e){return t;function t(n,r){let i=-1,l;for(;++i<=n.length;)l===void 0?n[i]&&n[i][1].type==="data"&&(l=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==l+2&&(n[l][1].end=n[i-1][1].end,n.splice(l+2,i-l-2),i=l+2),l=void 0);return e?e(n,r):n}}function ua(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let l=i.length,o=-1,s=0,a;for(;l--;){const c=i[l];if(typeof c=="string"){for(o=c.length;c.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(c===-2)a=!0,s++;else if(c!==-1){l++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){const c={type:n===e.length||a||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?o:r.start._bufferIndex+o,_index:r.start._index+l,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}const ca={42:ee,43:ee,45:ee,48:ee,49:ee,50:ee,51:ee,52:ee,53:ee,54:ee,55:ee,56:ee,57:ee,62:Gr},pa={91:ds},ha={[-2]:zt,[-1]:zt,32:zt},fa={35:ws,42:ht,45:[er,ht],60:Is,61:er,95:ht,96:Jn,126:Jn},ga={38:Kr,92:Jr},da={[-5]:Pt,[-4]:Pt,[-3]:Pt,33:Hs,38:Kr,42:Xt,60:[Vo,_s],91:Vs,92:[ys,Jr],93:kn,95:Xt,96:is},ma={null:[Xt,oa]},ka={null:[42,95]},xa={null:[]},ya=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:ka,contentInitial:pa,disable:xa,document:ca,flow:fa,flowInitial:ha,insideSpan:ma,string:ga,text:da},Symbol.toStringTag,{value:"Module"}));function ba(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},l=[];let o=[],s=[];const a={attempt:B(O),check:B(y),consume:R,enter:C,exit:M,interrupt:B(y,{interrupt:!0})},c={code:null,containerState:{},defineSkip:x,events:[],now:m,parser:e,previous:null,sliceSerialize:f,sliceStream:p,write:h};let u=t.tokenize.call(c,a);return t.resolveAll&&l.push(t),c;function h(T){return o=oe(o,T),I(),o[o.length-1]!==null?[]:(Q(t,0),c.events=mn(l,c.events,c),c.events)}function f(T,E){return Sa(p(T),E)}function p(T){return wa(o,T)}function m(){const{_bufferIndex:T,_index:E,line:V,column:W,offset:_}=r;return{_bufferIndex:T,_index:E,line:V,column:W,offset:_}}function x(T){i[T.line]=T.column,U()}function I(){let T;for(;r._index<o.length;){const E=o[r._index];if(typeof E=="string")for(T=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===T&&r._bufferIndex<E.length;)w(E.charCodeAt(r._bufferIndex));else w(E)}}function w(T){u=u(T)}function R(T){A(T)?(r.line++,r.column=1,r.offset+=T===-3?2:1,U()):T!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=T}function C(T,E){const V=E||{};return V.type=T,V.start=m(),c.events.push(["enter",V,c]),s.push(V),V}function M(T){const E=s.pop();return E.end=m(),c.events.push(["exit",E,c]),E}function O(T,E){Q(T,E.from)}function y(T,E){E.restore()}function B(T,E){return V;function V(W,_,G){let Z,se,me,g;return Array.isArray(W)?ke(W):"tokenize"in W?ke([W]):ae(W);function ae(Y){return Be;function Be(we){const Re=we!==null&&Y[we],Le=we!==null&&Y.null,tt=[...Array.isArray(Re)?Re:Re?[Re]:[],...Array.isArray(Le)?Le:Le?[Le]:[]];return ke(tt)(we)}}function ke(Y){return Z=Y,se=0,Y.length===0?G:d(Y[se])}function d(Y){return Be;function Be(we){return g=$(),me=Y,Y.partial||(c.currentConstruct=Y),Y.name&&c.parser.constructs.disable.null.includes(Y.name)?Ee():Y.tokenize.call(E?Object.assign(Object.create(c),E):c,a,ue,Ee)(we)}}function ue(Y){return T(me,g),_}function Ee(Y){return g.restore(),++se<Z.length?d(Z[se]):G}}}function Q(T,E){T.resolveAll&&!l.includes(T)&&l.push(T),T.resolve&&de(c.events,E,c.events.length-E,T.resolve(c.events.slice(E),c)),T.resolveTo&&(c.events=T.resolveTo(c.events,c))}function $(){const T=m(),E=c.previous,V=c.currentConstruct,W=c.events.length,_=Array.from(s);return{from:W,restore:G};function G(){r=T,c.previous=E,c.currentConstruct=V,c.events.length=W,s=_,U()}}function U(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function wa(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,l=t.end._bufferIndex;let o;if(n===i)o=[e[n].slice(r,l)];else{if(o=e.slice(n,i),r>-1){const s=o[0];typeof s=="string"?o[0]=s.slice(r):o.shift()}l>0&&o.push(e[i].slice(0,l))}return o}function Sa(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const l=e[n];let o;if(typeof l=="string")o=l;else switch(l){case-5:{o="\r";break}case-4:{o=`
61
- `;break}case-3:{o=`\r
62
- `;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(l)}i=l===-2,r.push(o)}return r.join("")}function Ca(e){const r={constructs:Ro([ya,...(e||{}).extensions||[]]),content:i(Bo),defined:[],document:i($o),flow:i(ia),lazy:{},string:i(sa),text:i(aa)};return r;function i(l){return o;function o(s){return ba(r,l,s)}}}function Ea(e){for(;!ei(e););return e}const tr=/[\0\t\n\r]/g;function Ia(){let e=1,t="",n=!0,r;return i;function i(l,o,s){const a=[];let c,u,h,f,p;for(l=t+(typeof l=="string"?l.toString():new TextDecoder(o||void 0).decode(l)),h=0,t="",n&&(l.charCodeAt(0)===65279&&h++,n=void 0);h<l.length;){if(tr.lastIndex=h,c=tr.exec(l),f=c&&c.index!==void 0?c.index:l.length,p=l.charCodeAt(f),!c){t=l.slice(h);break}if(p===10&&h===f&&r)a.push(-3),r=void 0;else switch(r&&(a.push(-5),r=void 0),h<f&&(a.push(l.slice(h,f)),e+=f-h),p){case 0:{a.push(65533),e++;break}case 9:{for(u=Math.ceil(e/4)*4,a.push(-2);e++<u;)a.push(-1);break}case 10:{a.push(-4),e=1;break}default:r=!0,e=1}h=f+1}return s&&(r&&a.push(-5),t&&a.push(t),a.push(null)),a}}const Ta=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Aa(e){return e.replace(Ta,za)}function za(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),l=i===120||i===88;return Yr(n.slice(l?2:1),l?16:10)}return dn(n)||e}const oi={}.hasOwnProperty;function Pa(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Ra(n)(Ea(Ca(n).document().write(Ia()(e,t,!0))))}function Ra(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(Tn),autolinkProtocol:$,autolinkEmail:$,atxHeading:l(Cn),blockQuote:l(Le),characterEscape:$,characterReference:$,codeFenced:l(tt),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:l(tt,o),codeText:l(bi,o),codeTextData:$,data:$,codeFlowValue:$,definition:l(wi),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:l(Si),hardBreakEscape:l(En),hardBreakTrailing:l(En),htmlFlow:l(In,o),htmlFlowData:$,htmlText:l(In,o),htmlTextData:$,image:l(Ci),label:o,link:l(Tn),listItem:l(Ei),listItemValue:f,listOrdered:l(An,h),listUnordered:l(An),paragraph:l(Ii),reference:d,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:l(Cn),strong:l(Ti),thematicBreak:l(zi)},exit:{atxHeading:a(),atxHeadingSequence:O,autolink:a(),autolinkEmail:Re,autolinkProtocol:we,blockQuote:a(),characterEscapeValue:U,characterReferenceMarkerHexadecimal:Ee,characterReferenceMarkerNumeric:Ee,characterReferenceValue:Y,characterReference:Be,codeFenced:a(I),codeFencedFence:x,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:U,codeIndented:a(w),codeText:a(_),codeTextData:U,data:U,definition:a(),definitionDestinationString:M,definitionLabelString:R,definitionTitleString:C,emphasis:a(),hardBreakEscape:a(E),hardBreakTrailing:a(E),htmlFlow:a(V),htmlFlowData:U,htmlText:a(W),htmlTextData:U,image:a(Z),label:me,labelText:se,lineEnding:T,link:a(G),listItem:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:ue,resourceDestinationString:g,resourceTitleString:ae,resource:ke,setextHeading:a(Q),setextHeadingLineSequence:B,setextHeadingText:y,strong:a(),thematicBreak:a()}};si(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(k){let S={type:"root",children:[]};const z={stack:[S],tokenStack:[],config:t,enter:s,exit:c,buffer:o,resume:u,data:n},L=[];let j=-1;for(;++j<k.length;)if(k[j][1].type==="listOrdered"||k[j][1].type==="listUnordered")if(k[j][0]==="enter")L.push(j);else{const ce=L.pop();j=i(k,ce,j)}for(j=-1;++j<k.length;){const ce=t[k[j][0]];oi.call(ce,k[j][1].type)&&ce[k[j][1].type].call(Object.assign({sliceSerialize:k[j][2].sliceSerialize},z),k[j][1])}if(z.tokenStack.length>0){const ce=z.tokenStack[z.tokenStack.length-1];(ce[1]||nr).call(z,void 0,ce[0])}for(S.position={start:Se(k.length>0?k[0][1].start:{line:1,column:1,offset:0}),end:Se(k.length>0?k[k.length-2][1].end:{line:1,column:1,offset:0})},j=-1;++j<t.transforms.length;)S=t.transforms[j](S)||S;return S}function i(k,S,z){let L=S-1,j=-1,ce=!1,Ie,xe,Fe,$e;for(;++L<=z;){const re=k[L];switch(re[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{re[0]==="enter"?j++:j--,$e=void 0;break}case"lineEndingBlank":{re[0]==="enter"&&(Ie&&!$e&&!j&&!Fe&&(Fe=L),$e=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:$e=void 0}if(!j&&re[0]==="enter"&&re[1].type==="listItemPrefix"||j===-1&&re[0]==="exit"&&(re[1].type==="listUnordered"||re[1].type==="listOrdered")){if(Ie){let _e=L;for(xe=void 0;_e--;){const ye=k[_e];if(ye[1].type==="lineEnding"||ye[1].type==="lineEndingBlank"){if(ye[0]==="exit")continue;xe&&(k[xe][1].type="lineEndingBlank",ce=!0),ye[1].type="lineEnding",xe=_e}else if(!(ye[1].type==="linePrefix"||ye[1].type==="blockQuotePrefix"||ye[1].type==="blockQuotePrefixWhitespace"||ye[1].type==="blockQuoteMarker"||ye[1].type==="listItemIndent"))break}Fe&&(!xe||Fe<xe)&&(Ie._spread=!0),Ie.end=Object.assign({},xe?k[xe][1].start:re[1].end),k.splice(xe||L,0,["exit",Ie,re[2]]),L++,z++}if(re[1].type==="listItemPrefix"){const _e={type:"listItem",_spread:!1,start:Object.assign({},re[1].start),end:void 0};Ie=_e,k.splice(L,0,["enter",_e,re[2]]),L++,z++,Fe=void 0,$e=!0}}}return k[S][1]._spread=ce,z}function l(k,S){return z;function z(L){s.call(this,k(L),L),S&&S.call(this,L)}}function o(){this.stack.push({type:"fragment",children:[]})}function s(k,S,z){this.stack[this.stack.length-1].children.push(k),this.stack.push(k),this.tokenStack.push([S,z||void 0]),k.position={start:Se(S.start),end:void 0}}function a(k){return S;function S(z){k&&k.call(this,z),c.call(this,z)}}function c(k,S){const z=this.stack.pop(),L=this.tokenStack.pop();if(L)L[0].type!==k.type&&(S?S.call(this,k,L[0]):(L[1]||nr).call(this,k,L[0]));else throw new Error("Cannot close `"+k.type+"` ("+Xe({start:k.start,end:k.end})+"): it’s not open");z.position.end=Se(k.end)}function u(){return zo(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function f(k){if(this.data.expectingFirstListItemValue){const S=this.stack[this.stack.length-2];S.start=Number.parseInt(this.sliceSerialize(k),10),this.data.expectingFirstListItemValue=void 0}}function p(){const k=this.resume(),S=this.stack[this.stack.length-1];S.lang=k}function m(){const k=this.resume(),S=this.stack[this.stack.length-1];S.meta=k}function x(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function I(){const k=this.resume(),S=this.stack[this.stack.length-1];S.value=k.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function w(){const k=this.resume(),S=this.stack[this.stack.length-1];S.value=k.replace(/(\r?\n|\r)$/g,"")}function R(k){const S=this.resume(),z=this.stack[this.stack.length-1];z.label=S,z.identifier=Oe(this.sliceSerialize(k)).toLowerCase()}function C(){const k=this.resume(),S=this.stack[this.stack.length-1];S.title=k}function M(){const k=this.resume(),S=this.stack[this.stack.length-1];S.url=k}function O(k){const S=this.stack[this.stack.length-1];if(!S.depth){const z=this.sliceSerialize(k).length;S.depth=z}}function y(){this.data.setextHeadingSlurpLineEnding=!0}function B(k){const S=this.stack[this.stack.length-1];S.depth=this.sliceSerialize(k).codePointAt(0)===61?1:2}function Q(){this.data.setextHeadingSlurpLineEnding=void 0}function $(k){const z=this.stack[this.stack.length-1].children;let L=z[z.length-1];(!L||L.type!=="text")&&(L=Ai(),L.position={start:Se(k.start),end:void 0},z.push(L)),this.stack.push(L)}function U(k){const S=this.stack.pop();S.value+=this.sliceSerialize(k),S.position.end=Se(k.end)}function T(k){const S=this.stack[this.stack.length-1];if(this.data.atHardBreak){const z=S.children[S.children.length-1];z.position.end=Se(k.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(S.type)&&($.call(this,k),U.call(this,k))}function E(){this.data.atHardBreak=!0}function V(){const k=this.resume(),S=this.stack[this.stack.length-1];S.value=k}function W(){const k=this.resume(),S=this.stack[this.stack.length-1];S.value=k}function _(){const k=this.resume(),S=this.stack[this.stack.length-1];S.value=k}function G(){const k=this.stack[this.stack.length-1];if(this.data.inReference){const S=this.data.referenceType||"shortcut";k.type+="Reference",k.referenceType=S,delete k.url,delete k.title}else delete k.identifier,delete k.label;this.data.referenceType=void 0}function Z(){const k=this.stack[this.stack.length-1];if(this.data.inReference){const S=this.data.referenceType||"shortcut";k.type+="Reference",k.referenceType=S,delete k.url,delete k.title}else delete k.identifier,delete k.label;this.data.referenceType=void 0}function se(k){const S=this.sliceSerialize(k),z=this.stack[this.stack.length-2];z.label=Aa(S),z.identifier=Oe(S).toLowerCase()}function me(){const k=this.stack[this.stack.length-1],S=this.resume(),z=this.stack[this.stack.length-1];if(this.data.inReference=!0,z.type==="link"){const L=k.children;z.children=L}else z.alt=S}function g(){const k=this.resume(),S=this.stack[this.stack.length-1];S.url=k}function ae(){const k=this.resume(),S=this.stack[this.stack.length-1];S.title=k}function ke(){this.data.inReference=void 0}function d(){this.data.referenceType="collapsed"}function ue(k){const S=this.resume(),z=this.stack[this.stack.length-1];z.label=S,z.identifier=Oe(this.sliceSerialize(k)).toLowerCase(),this.data.referenceType="full"}function Ee(k){this.data.characterReferenceType=k.type}function Y(k){const S=this.sliceSerialize(k),z=this.data.characterReferenceType;let L;z?(L=Yr(S,z==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):L=dn(S);const j=this.stack[this.stack.length-1];j.value+=L}function Be(k){const S=this.stack.pop();S.position.end=Se(k.end)}function we(k){U.call(this,k);const S=this.stack[this.stack.length-1];S.url=this.sliceSerialize(k)}function Re(k){U.call(this,k);const S=this.stack[this.stack.length-1];S.url="mailto:"+this.sliceSerialize(k)}function Le(){return{type:"blockquote",children:[]}}function tt(){return{type:"code",lang:null,meta:null,value:""}}function bi(){return{type:"inlineCode",value:""}}function wi(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Si(){return{type:"emphasis",children:[]}}function Cn(){return{type:"heading",depth:0,children:[]}}function En(){return{type:"break"}}function In(){return{type:"html",value:""}}function Ci(){return{type:"image",title:null,url:"",alt:null}}function Tn(){return{type:"link",title:null,url:"",children:[]}}function An(k){return{type:"list",ordered:k.type==="listOrdered",start:null,spread:k._spread,children:[]}}function Ei(k){return{type:"listItem",spread:k._spread,checked:null,children:[]}}function Ii(){return{type:"paragraph",children:[]}}function Ti(){return{type:"strong",children:[]}}function Ai(){return{type:"text",value:""}}function zi(){return{type:"thematicBreak"}}}function Se(e){return{line:e.line,column:e.column,offset:e.offset}}function si(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?si(e,r):La(e,r)}}function La(e,t){let n;for(n in t)if(oi.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function nr(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Xe({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Xe({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Xe({start:t.start,end:t.end})+") is still open")}function _a(e){const t=this;t.parser=n;function n(r){return Pa(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function va(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Da(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
63
- `}]}function Oa(e,t){const n=t.value?t.value+`
64
- `:"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let l={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(l.data={meta:t.meta}),e.patch(t,l),l=e.applyData(t,l),l={type:"element",tagName:"pre",properties:{},children:[l]},e.patch(t,l),l}function Na(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ma(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ba(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Me(r.toLowerCase()),l=e.footnoteOrder.indexOf(r);let o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=l+1,s+=1,e.footnoteCounts.set(r,s);const a={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,a);const c={type:"element",tagName:"sup",properties:{},children:[a]};return e.patch(t,c),e.applyData(t,c)}function Fa(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function $a(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function ai(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),l=i[0];l&&l.type==="text"?l.value="["+l.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}function ja(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return ai(e,t);const i={src:Me(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const l={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,l),e.applyData(t,l)}function qa(e,t){const n={src:Me(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Ha(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Ua(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return ai(e,t);const i={href:Me(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const l={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,l),e.applyData(t,l)}function Va(e,t){const n={href:Me(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Qa(e,t,n){const r=e.all(t),i=n?Wa(n):ui(t),l={},o=[];if(typeof t.checked=="boolean"){const u=r[0];let h;u&&u.type==="element"&&u.tagName==="p"?h=u:(h={type:"element",tagName:"p",properties:{},children:[]},r.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const u=r[s];(i||s!==0||u.type!=="element"||u.tagName!=="p")&&o.push({type:"text",value:`
65
- `}),u.type==="element"&&u.tagName==="p"&&!i?o.push(...u.children):o.push(u)}const a=r[r.length-1];a&&(i||a.type!=="element"||a.tagName!=="p")&&o.push({type:"text",value:`
66
- `});const c={type:"element",tagName:"li",properties:l,children:o};return e.patch(t,c),e.applyData(t,c)}function Wa(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=ui(n[r])}return t}function ui(e){const t=e.spread;return t??e.children.length>1}function Xa(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const o=r[i];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const l={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,l),e.applyData(t,l)}function Za(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ya(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Ga(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ja(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),i.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=pn(t.children[1]),a=Hr(t.children[t.children.length-1]);s&&a&&(o.position={start:s,end:a}),i.push(o)}const l={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,l),e.applyData(t,l)}function Ka(e,t,n){const r=n?n.children:void 0,l=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,s=o?o.length:t.children.length;let a=-1;const c=[];for(;++a<s;){const h=t.children[a],f={},p=o?o[a]:void 0;p&&(f.align=p);let m={type:"element",tagName:l,properties:f,children:[]};h&&(m.children=e.all(h),e.patch(h,m),m=e.applyData(h,m)),c.push(m)}const u={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,u),e.applyData(t,u)}function eu(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const rr=9,ir=32;function tu(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const l=[];for(;r;)l.push(lr(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return l.push(lr(t.slice(i),i>0,!1)),l.join("")}function lr(e,t,n){let r=0,i=e.length;if(t){let l=e.codePointAt(r);for(;l===rr||l===ir;)r++,l=e.codePointAt(r)}if(n){let l=e.codePointAt(i-1);for(;l===rr||l===ir;)i--,l=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function nu(e,t){const n={type:"text",value:tu(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function ru(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const iu={blockquote:va,break:Da,code:Oa,delete:Na,emphasis:Ma,footnoteReference:Ba,heading:Fa,html:$a,imageReference:ja,image:qa,inlineCode:Ha,linkReference:Ua,link:Va,listItem:Qa,list:Xa,paragraph:Za,root:Ya,strong:Ga,table:Ja,tableCell:eu,tableRow:Ka,text:nu,thematicBreak:ru,toml:rt,yaml:rt,definition:rt,footnoteDefinition:rt};function rt(){}const ci=-1,Et=0,Ye=1,xt=2,xn=3,yn=4,bn=5,wn=6,pi=7,hi=8,or=typeof self=="object"?self:globalThis,lu=(e,t)=>{const n=(i,l)=>(e.set(l,i),i),r=i=>{if(e.has(i))return e.get(i);const[l,o]=t[i];switch(l){case Et:case ci:return n(o,i);case Ye:{const s=n([],i);for(const a of o)s.push(r(a));return s}case xt:{const s=n({},i);for(const[a,c]of o)s[r(a)]=r(c);return s}case xn:return n(new Date(o),i);case yn:{const{source:s,flags:a}=o;return n(new RegExp(s,a),i)}case bn:{const s=n(new Map,i);for(const[a,c]of o)s.set(r(a),r(c));return s}case wn:{const s=n(new Set,i);for(const a of o)s.add(r(a));return s}case pi:{const{name:s,message:a}=o;return n(new or[s](a),i)}case hi:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:s}=new Uint8Array(o);return n(new DataView(s),o)}}return n(new or[l](o),i)};return r},sr=e=>lu(new Map,e)(0),ve="",{toString:ou}={},{keys:su}=Object,Ue=e=>{const t=typeof e;if(t!=="object"||!e)return[Et,t];const n=ou.call(e).slice(8,-1);switch(n){case"Array":return[Ye,ve];case"Object":return[xt,ve];case"Date":return[xn,ve];case"RegExp":return[yn,ve];case"Map":return[bn,ve];case"Set":return[wn,ve];case"DataView":return[Ye,n]}return n.includes("Array")?[Ye,n]:n.includes("Error")?[pi,n]:[xt,n]},it=([e,t])=>e===Et&&(t==="function"||t==="symbol"),au=(e,t,n,r)=>{const i=(o,s)=>{const a=r.push(o)-1;return n.set(s,a),a},l=o=>{if(n.has(o))return n.get(o);let[s,a]=Ue(o);switch(s){case Et:{let u=o;switch(a){case"bigint":s=hi,u=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);u=null;break;case"undefined":return i([ci],o)}return i([s,u],o)}case Ye:{if(a){let f=o;return a==="DataView"?f=new Uint8Array(o.buffer):a==="ArrayBuffer"&&(f=new Uint8Array(o)),i([a,[...f]],o)}const u=[],h=i([s,u],o);for(const f of o)u.push(l(f));return h}case xt:{if(a)switch(a){case"BigInt":return i([a,o.toString()],o);case"Boolean":case"Number":case"String":return i([a,o.valueOf()],o)}if(t&&"toJSON"in o)return l(o.toJSON());const u=[],h=i([s,u],o);for(const f of su(o))(e||!it(Ue(o[f])))&&u.push([l(f),l(o[f])]);return h}case xn:return i([s,o.toISOString()],o);case yn:{const{source:u,flags:h}=o;return i([s,{source:u,flags:h}],o)}case bn:{const u=[],h=i([s,u],o);for(const[f,p]of o)(e||!(it(Ue(f))||it(Ue(p))))&&u.push([l(f),l(p)]);return h}case wn:{const u=[],h=i([s,u],o);for(const f of o)(e||!it(Ue(f)))&&u.push(l(f));return h}}const{message:c}=o;return i([s,{name:a,message:c}],o)};return l},ar=(e,{json:t,lossy:n}={})=>{const r=[];return au(!(t||n),!!t,new Map,r)(e),r},yt=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?sr(ar(e,t)):structuredClone(e):(e,t)=>sr(ar(e,t));function uu(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function cu(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function pu(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||uu,r=e.options.footnoteBackLabel||cu,i=e.options.footnoteLabel||"Footnotes",l=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let a=-1;for(;++a<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[a]);if(!c)continue;const u=e.all(c),h=String(c.identifier).toUpperCase(),f=Me(h.toLowerCase());let p=0;const m=[],x=e.footnoteCounts.get(h);for(;x!==void 0&&++p<=x;){m.length>0&&m.push({type:"text",value:" "});let R=typeof n=="string"?n:n(a,p);typeof R=="string"&&(R={type:"text",value:R}),m.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+f+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(a,p),className:["data-footnote-backref"]},children:Array.isArray(R)?R:[R]})}const I=u[u.length-1];if(I&&I.type==="element"&&I.tagName==="p"){const R=I.children[I.children.length-1];R&&R.type==="text"?R.value+=" ":I.children.push({type:"text",value:" "}),I.children.push(...m)}else u.push(...m);const w={type:"element",tagName:"li",properties:{id:t+"fn-"+f},children:e.wrap(u,!0)};e.patch(c,w),s.push(w)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...yt(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
67
- `},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:`
68
- `}]}}const fi=function(e){if(e==null)return du;if(typeof e=="function")return It(e);if(typeof e=="object")return Array.isArray(e)?hu(e):fu(e);if(typeof e=="string")return gu(e);throw new Error("Expected function, string, or object as test")};function hu(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=fi(e[n]);return It(r);function r(...i){let l=-1;for(;++l<t.length;)if(t[l].apply(this,i))return!0;return!1}}function fu(e){const t=e;return It(n);function n(r){const i=r;let l;for(l in e)if(i[l]!==t[l])return!1;return!0}}function gu(e){return It(t);function t(n){return n&&n.type===e}}function It(e){return t;function t(n,r,i){return!!(mu(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function du(){return!0}function mu(e){return e!==null&&typeof e=="object"&&"type"in e}const gi=[],ku=!0,ur=!1,xu="skip";function yu(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const l=fi(i),o=r?-1:1;s(e,void 0,[])();function s(a,c,u){const h=a&&typeof a=="object"?a:{};if(typeof h.type=="string"){const p=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(a.type+(p?"<"+p+">":""))+")"})}return f;function f(){let p=gi,m,x,I;if((!t||l(a,c,u[u.length-1]||void 0))&&(p=bu(n(a,u)),p[0]===ur))return p;if("children"in a&&a.children){const w=a;if(w.children&&p[0]!==xu)for(x=(r?w.children.length:-1)+o,I=u.concat(w);x>-1&&x<w.children.length;){const R=w.children[x];if(m=s(R,x,I)(),m[0]===ur)return m;x=typeof m[1]=="number"?m[1]:x+o}}return p}}}function bu(e){return Array.isArray(e)?e:typeof e=="number"?[ku,e]:e==null?gi:[e]}function di(e,t,n,r){let i,l,o;typeof t=="function"&&typeof n!="function"?(l=void 0,o=t,i=n):(l=t,o=n,i=r),yu(e,l,s,i);function s(a,c){const u=c[c.length-1],h=u?u.children.indexOf(a):void 0;return o(a,h,u)}}const Zt={}.hasOwnProperty,wu={};function Su(e,t){const n=t||wu,r=new Map,i=new Map,l=new Map,o={...iu,...n.handlers},s={all:c,applyData:Eu,definitionById:r,footnoteById:i,footnoteCounts:l,footnoteOrder:[],handlers:o,one:a,options:n,patch:Cu,wrap:Tu};return di(e,function(u){if(u.type==="definition"||u.type==="footnoteDefinition"){const h=u.type==="definition"?r:i,f=String(u.identifier).toUpperCase();h.has(f)||h.set(f,u)}}),s;function a(u,h){const f=u.type,p=s.handlers[f];if(Zt.call(s.handlers,f)&&p)return p(s,u,h);if(s.options.passThrough&&s.options.passThrough.includes(f)){if("children"in u){const{children:x,...I}=u,w=yt(I);return w.children=s.all(u),w}return yt(u)}return(s.options.unknownHandler||Iu)(s,u,h)}function c(u){const h=[];if("children"in u){const f=u.children;let p=-1;for(;++p<f.length;){const m=s.one(f[p],u);if(m){if(p&&f[p-1].type==="break"&&(!Array.isArray(m)&&m.type==="text"&&(m.value=cr(m.value)),!Array.isArray(m)&&m.type==="element")){const x=m.children[0];x&&x.type==="text"&&(x.value=cr(x.value))}Array.isArray(m)?h.push(...m):h.push(m)}}}return h}}function Cu(e,t){e.position&&(t.position=lo(e))}function Eu(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,l=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const o="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:o}}n.type==="element"&&l&&Object.assign(n.properties,yt(l)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function Iu(e,t){const n=t.data||{},r="value"in t&&!(Zt.call(n,"hProperties")||Zt.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Tu(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
69
- `});++r<e.length;)r&&n.push({type:"text",value:`
70
- `}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
71
- `}),n}function cr(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function pr(e,t){const n=Su(e,t),r=n.one(e,void 0),i=pu(n),l=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&l.children.push({type:"text",value:`
72
- `},i),l}function Au(e,t){return e&&"run"in e?async function(n,r){const i=pr(n,{file:r,...t});await e.run(i,r)}:function(n,r){return pr(n,{file:r,...e||t})}}function hr(e){if(e)throw e}var ft=Object.prototype.hasOwnProperty,mi=Object.prototype.toString,fr=Object.defineProperty,gr=Object.getOwnPropertyDescriptor,dr=function(t){return typeof Array.isArray=="function"?Array.isArray(t):mi.call(t)==="[object Array]"},mr=function(t){if(!t||mi.call(t)!=="[object Object]")return!1;var n=ft.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&ft.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||ft.call(t,i)},kr=function(t,n){fr&&n.name==="__proto__"?fr(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},xr=function(t,n){if(n==="__proto__")if(ft.call(t,n)){if(gr)return gr(t,n).value}else return;return t[n]},zu=function e(){var t,n,r,i,l,o,s=arguments[0],a=1,c=arguments.length,u=!1;for(typeof s=="boolean"&&(u=s,s=arguments[1]||{},a=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});a<c;++a)if(t=arguments[a],t!=null)for(n in t)r=xr(s,n),i=xr(t,n),s!==i&&(u&&i&&(mr(i)||(l=dr(i)))?(l?(l=!1,o=r&&dr(r)?r:[]):o=r&&mr(r)?r:{},kr(s,{name:n,newValue:e(u,o,i)})):typeof i<"u"&&kr(s,{name:n,newValue:i}));return s};const Rt=Er(zu);function Yt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Pu(){const e=[],t={run:n,use:r};return t;function n(...i){let l=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);s(null,...i);function s(a,...c){const u=e[++l];let h=-1;if(a){o(a);return}for(;++h<i.length;)(c[h]===null||c[h]===void 0)&&(c[h]=i[h]);i=c,u?Ru(u,s)(...c):o(null,...c)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function Ru(e,t){let n;return r;function r(...o){const s=e.length>o.length;let a;s&&o.push(i);try{a=e.apply(this,o)}catch(c){const u=c;if(s&&n)throw u;return i(u)}s||(a&&a.then&&typeof a.then=="function"?a.then(l,i):a instanceof Error?i(a):l(a))}function i(o,...s){n||(n=!0,t(o,...s))}function l(o){i(null,o)}}const fe={basename:Lu,dirname:_u,extname:vu,join:Du,sep:"/"};function Lu(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');et(e);let n=0,r=-1,i=e.length,l;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(l){n=i+1;break}}else r<0&&(l=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(l){n=i+1;break}}else o<0&&(l=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function _u(e){if(et(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function vu(e){et(e);let t=e.length,n=-1,r=0,i=-1,l=0,o;for(;t--;){const s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?i<0?i=t:l!==1&&(l=1):i>-1&&(l=-1)}return i<0||n<0||l===0||l===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function Du(...e){let t=-1,n;for(;++t<e.length;)et(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Ou(n)}function Ou(e){et(e);const t=e.codePointAt(0)===47;let n=Nu(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Nu(e,t){let n="",r=0,i=-1,l=0,o=-1,s,a;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else{if(s===47)break;s=47}if(s===47){if(!(i===o-1||l===1))if(i!==o-1&&l===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(a=n.lastIndexOf("/"),a!==n.length-1){a<0?(n="",r=0):(n=n.slice(0,a),r=n.length-1-n.lastIndexOf("/")),i=o,l=0;continue}}else if(n.length>0){n="",r=0,i=o,l=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,l=0}else s===46&&l>-1?l++:l=-1}return n}function et(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Mu={cwd:Bu};function Bu(){return"/"}function Gt(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Fu(e){if(typeof e=="string")e=new URL(e);else if(!Gt(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return $u(e)}function $u(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const Lt=["history","path","basename","stem","extname","dirname"];class ki{constructor(t){let n;t?Gt(t)?n={path:t}:typeof t=="string"||ju(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":Mu.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Lt.length;){const l=Lt[r];l in n&&n[l]!==void 0&&n[l]!==null&&(this[l]=l==="history"?[...n[l]]:n[l])}let i;for(i in n)Lt.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?fe.basename(this.path):void 0}set basename(t){vt(t,"basename"),_t(t,"basename"),this.path=fe.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?fe.dirname(this.path):void 0}set dirname(t){yr(this.basename,"dirname"),this.path=fe.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?fe.extname(this.path):void 0}set extname(t){if(_t(t,"extname"),yr(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=fe.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Gt(t)&&(t=Fu(t)),vt(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?fe.basename(this.path,this.extname):void 0}set stem(t){vt(t,"stem"),_t(t,"stem"),this.path=fe.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new J(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function _t(e,t){if(e&&e.includes(fe.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+fe.sep+"`")}function vt(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function yr(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function ju(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const qu=function(e){const r=this.constructor.prototype,i=r[e],l=function(){return i.apply(l,arguments)};return Object.setPrototypeOf(l,r),l},Hu={}.hasOwnProperty;class Sn extends qu{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Pu()}copy(){const t=new Sn;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Rt(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Nt("data",this.frozen),this.namespace[t]=n,this):Hu.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Nt("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=lt(t),r=this.parser||this.Parser;return Dt("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Dt("process",this.parser||this.Parser),Ot("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(l,o){const s=lt(t),a=r.parse(s);r.run(a,s,function(u,h,f){if(u||!h||!f)return c(u);const p=h,m=r.stringify(p,f);Qu(m)?f.value=m:f.result=m,c(u,f)});function c(u,h){u||!h?o(u):l?l(h):n(void 0,h)}}}processSync(t){let n=!1,r;return this.freeze(),Dt("processSync",this.parser||this.Parser),Ot("processSync",this.compiler||this.Compiler),this.process(t,i),wr("processSync","process",n),r;function i(l,o){n=!0,hr(l),r=o}}run(t,n,r){br(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?l(void 0,r):new Promise(l);function l(o,s){const a=lt(n);i.run(t,a,c);function c(u,h,f){const p=h||t;u?s(u):o?o(p):r(void 0,p,f)}}}runSync(t,n){let r=!1,i;return this.run(t,n,l),wr("runSync","run",r),i;function l(o,s){hr(o),i=s,r=!0}}stringify(t,n){this.freeze();const r=lt(n),i=this.compiler||this.Compiler;return Ot("stringify",i),br(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(Nt("use",this.frozen),t!=null)if(typeof t=="function")a(t,n);else if(typeof t=="object")Array.isArray(t)?s(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function l(c){if(typeof c=="function")a(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[u,...h]=c;a(u,h)}else o(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function o(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(c.plugins),c.settings&&(i.settings=Rt(!0,i.settings,c.settings))}function s(c){let u=-1;if(c!=null)if(Array.isArray(c))for(;++u<c.length;){const h=c[u];l(h)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function a(c,u){let h=-1,f=-1;for(;++h<r.length;)if(r[h][0]===c){f=h;break}if(f===-1)r.push([c,...u]);else if(u.length>0){let[p,...m]=u;const x=r[f][1];Yt(x)&&Yt(p)&&(p=Rt(!0,x,p)),r[f]=[c,p,...m]}}}}const Uu=new Sn().freeze();function Dt(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Ot(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Nt(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function br(e){if(!Yt(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function wr(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function lt(e){return Vu(e)?e:new ki(e)}function Vu(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Qu(e){return typeof e=="string"||Wu(e)}function Wu(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Xu="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Sr=[],Cr={allowDangerousHtml:!0},Zu=/^(https?|ircs?|mailto|xmpp)$/i,Yu=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Gu(e){const t=Ju(e),n=Ku(e);return ec(t.runSync(t.parse(n),n),e)}function Ju(e){const t=e.rehypePlugins||Sr,n=e.remarkPlugins||Sr,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Cr}:Cr;return Uu().use(_a).use(n).use(Au,r).use(t)}function Ku(e){const t=e.children||"",n=new ki;return typeof t=="string"&&(n.value=t),n}function ec(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,l=t.disallowedElements,o=t.skipHtml,s=t.unwrapDisallowed,a=t.urlTransform||tc;for(const u of Yu)Object.hasOwn(t,u.from)&&(""+u.from+(u.to?"use `"+u.to+"` instead":"remove it")+Xu+u.id,void 0);return di(e,c),co(e,{Fragment:Qe.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Qe.jsx,jsxs:Qe.jsxs,passKeys:!0,passNode:!0});function c(u,h,f){if(u.type==="raw"&&f&&typeof h=="number")return o?f.children.splice(h,1):f.children[h]={type:"text",value:u.value},h;if(u.type==="element"){let p;for(p in At)if(Object.hasOwn(At,p)&&Object.hasOwn(u.properties,p)){const m=u.properties[p],x=At[p];(x===null||x.includes(u.tagName))&&(u.properties[p]=a(String(m||""),p,u))}}if(u.type==="element"){let p=n?!n.includes(u.tagName):l?l.includes(u.tagName):!1;if(!p&&r&&typeof h=="number"&&(p=!r(u,h,f)),p&&f&&typeof h=="number")return s&&u.children?f.children.splice(h,1,...u.children):f.children.splice(h,1),h}}}function tc(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||Zu.test(e.slice(0,t))?e:""}function nc(e){return N.lexer(e).map(n=>n.raw)}const xi=Mt.memo(({content:e})=>Qe.jsx(Gu,{children:e}),(e,t)=>e.content===t.content);xi.displayName="MemoizedMarkdownBlock";const yi=Mt.memo(({content:e,id:t})=>Mt.useMemo(()=>nc(e),[e]).map((r,i)=>Qe.jsx(xi,{content:r},`${t}-block_${i}`)));yi.displayName="MemoizedMarkdown";const sc={title:"Example/Chat/MemoizedMarkdown",component:yi,tags:["autodocs"],parameters:{layout:"centered"},args:{id:"story-demo"}},ot={args:{id:"plain-text",content:"这是一段普通的文本内容,支持 **加粗** 和 *斜体* 等 Markdown 格式。"}},st={args:{id:"code-block",content:`
73
- \`\`\`typescript
74
- interface User {
75
- name: string;
76
- age: number;
77
- }
78
-
79
- function greet(user: User): string {
80
- return \`Hello, \${user.name}!\`;
81
- }
82
- \`\`\`
83
- `.trim()}},at={args:{id:"with-table",content:`
84
- | 字段名 | 类型 | 必填 | 说明 |
85
- |--------|------|------|------|
86
- | name | string | 是 | 用户名称 |
87
- | age | number | 否 | 用户年龄 |
88
- | email | string | 是 | 电子邮箱 |
89
- `.trim()}},ut={args:{id:"long-content",content:`
90
- ## 表单分析
91
-
92
- 根据供应商管理逻辑设计表单,先填写供应商基础信息(ID、名称、联系人等),再通过子表单填写关联的产品信息。
93
-
94
- ### 核心字段
95
-
96
- - **供应商ID**:唯一标识,必填
97
- - **供应商名称**:企业全称,必填
98
- - **联系人**:主要对接人,必填
99
- - **联系电话**:手机或座机,必填
100
-
101
- ### 产品信息(子表单)
102
-
103
- | 字段名 | 类型 | 说明 |
104
- |--------|------|------|
105
- | 产品名称 | string | 产品名称 |
106
- | 型号 | string | 产品型号 |
107
- | 单价 | number | 单位价格 |
108
-
109
- > 核心字段均设为必填确保信息完整。试试下面建议吧!
110
- `.trim()}},ct={args:{id:"json-block",content:`
111
- \`\`\`json
112
- {
113
- "formName": "供应商信息表",
114
- "version": "1.0.0",
115
- "fields": [
116
- { "name": "supplierId", "type": "string", "required": true },
117
- { "name": "supplierName", "type": "string", "required": true }
118
- ]
119
- }
120
- \`\`\`
121
- `.trim()}};ot.parameters={...ot.parameters,docs:{...ot.parameters?.docs,source:{originalSource:`{
122
- args: {
123
- id: "plain-text",
124
- content: "这是一段普通的文本内容,支持 **加粗** 和 *斜体* 等 Markdown 格式。"
125
- }
126
- }`,...ot.parameters?.docs?.source}}};st.parameters={...st.parameters,docs:{...st.parameters?.docs,source:{originalSource:`{
127
- args: {
128
- id: "code-block",
129
- content: \`
130
- \\\`\\\`\\\`typescript
131
- interface User {
132
- name: string;
133
- age: number;
134
- }
135
-
136
- function greet(user: User): string {
137
- return \\\`Hello, \\\${user.name}!\\\`;
138
- }
139
- \\\`\\\`\\\`
140
- \`.trim()
141
- }
142
- }`,...st.parameters?.docs?.source}}};at.parameters={...at.parameters,docs:{...at.parameters?.docs,source:{originalSource:`{
143
- args: {
144
- id: "with-table",
145
- content: \`
146
- | 字段名 | 类型 | 必填 | 说明 |
147
- |--------|------|------|------|
148
- | name | string | 是 | 用户名称 |
149
- | age | number | 否 | 用户年龄 |
150
- | email | string | 是 | 电子邮箱 |
151
- \`.trim()
152
- }
153
- }`,...at.parameters?.docs?.source}}};ut.parameters={...ut.parameters,docs:{...ut.parameters?.docs,source:{originalSource:`{
154
- args: {
155
- id: "long-content",
156
- content: \`
157
- ## 表单分析
158
-
159
- 根据供应商管理逻辑设计表单,先填写供应商基础信息(ID、名称、联系人等),再通过子表单填写关联的产品信息。
160
-
161
- ### 核心字段
162
-
163
- - **供应商ID**:唯一标识,必填
164
- - **供应商名称**:企业全称,必填
165
- - **联系人**:主要对接人,必填
166
- - **联系电话**:手机或座机,必填
167
-
168
- ### 产品信息(子表单)
169
-
170
- | 字段名 | 类型 | 说明 |
171
- |--------|------|------|
172
- | 产品名称 | string | 产品名称 |
173
- | 型号 | string | 产品型号 |
174
- | 单价 | number | 单位价格 |
175
-
176
- > 核心字段均设为必填确保信息完整。试试下面建议吧!
177
- \`.trim()
178
- }
179
- }`,...ut.parameters?.docs?.source}}};ct.parameters={...ct.parameters,docs:{...ct.parameters?.docs,source:{originalSource:`{
180
- args: {
181
- id: "json-block",
182
- content: \`
183
- \\\`\\\`\\\`json
184
- {
185
- "formName": "供应商信息表",
186
- "version": "1.0.0",
187
- "fields": [
188
- { "name": "supplierId", "type": "string", "required": true },
189
- { "name": "supplierName", "type": "string", "required": true }
190
- ]
191
- }
192
- \\\`\\\`\\\`
193
- \`.trim()
194
- }
195
- }`,...ct.parameters?.docs?.source}}};const ac=["PlainText","CodeBlock","WithTable","LongContent","JSONCodeBlock"];export{st as CodeBlock,ct as JSONCodeBlock,ut as LongContent,ot as PlainText,at as WithTable,ac as __namedExportsOrder,sc as default};