@plumile/ui 0.1.104 → 0.1.106

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 (493) hide show
  1. package/lib/esm/{BackofficeJsonViewerAsync-BmWDenXs.js → BackofficeJsonViewerAsync-Bw2ffU_4.js} +2 -2
  2. package/lib/esm/{BackofficeJsonViewerAsync-BmWDenXs.js.map → BackofficeJsonViewerAsync-Bw2ffU_4.js.map} +1 -1
  3. package/lib/esm/{HighlightCode-KpWSo7Zx.js → HighlightCode-DpXwrY5A.js} +45 -39
  4. package/lib/esm/HighlightCode-DpXwrY5A.js.map +1 -0
  5. package/lib/esm/{MarkdownCodeBlock-CLK5KJgU.js → MarkdownCodeBlock-CnI5nEfE.js} +93 -89
  6. package/lib/esm/{MarkdownCodeBlock-CLK5KJgU.js.map → MarkdownCodeBlock-CnI5nEfE.js.map} +1 -1
  7. package/lib/esm/MarkdownRenderer-D2PMxaXV.js +3818 -0
  8. package/lib/esm/MarkdownRenderer-D2PMxaXV.js.map +1 -0
  9. package/lib/esm/{MarkdownShikiCodeBlock-CbaOKfZO.js → MarkdownShikiCodeBlock-DjEM_vzJ.js} +2 -2
  10. package/lib/esm/{MarkdownShikiCodeBlock-CbaOKfZO.js.map → MarkdownShikiCodeBlock-DjEM_vzJ.js.map} +1 -1
  11. package/lib/esm/{src-PWZgeO3e.js → src-DJ_3P36n.js} +5087 -2881
  12. package/lib/esm/src-DJ_3P36n.js.map +1 -0
  13. package/lib/esm/style.css +1 -1
  14. package/lib/esm/ui.js +5 -5
  15. package/lib/types/admin/organisms/admin_sidebar/AdminSidebar.d.ts +5 -1
  16. package/lib/types/admin/organisms/admin_sidebar/AdminSidebar.d.ts.map +1 -1
  17. package/lib/types/admin/organisms/admin_sidebar/adminSidebar.css.d.ts.map +1 -1
  18. package/lib/types/admin/templates/admin_shell_layout/AdminShellLayout.d.ts +2 -1
  19. package/lib/types/admin/templates/admin_shell_layout/AdminShellLayout.d.ts.map +1 -1
  20. package/lib/types/admin/theme/adminSurface.css.d.ts +83 -0
  21. package/lib/types/admin/theme/adminSurface.css.d.ts.map +1 -0
  22. package/lib/types/admin/theme/adminTheme.css.d.ts.map +1 -1
  23. package/lib/types/atomic/atoms/button/Button.d.ts +2 -2
  24. package/lib/types/atomic/atoms/button/Button.d.ts.map +1 -1
  25. package/lib/types/atomic/atoms/button/button.css.d.ts.map +1 -1
  26. package/lib/types/atomic/atoms/checkbox/Checkbox.d.ts +2 -1
  27. package/lib/types/atomic/atoms/checkbox/Checkbox.d.ts.map +1 -1
  28. package/lib/types/atomic/atoms/checkbox/checkbox.css.d.ts +4 -0
  29. package/lib/types/atomic/atoms/checkbox/checkbox.css.d.ts.map +1 -1
  30. package/lib/types/atomic/atoms/input/Input.d.ts +1 -0
  31. package/lib/types/atomic/atoms/input/Input.d.ts.map +1 -1
  32. package/lib/types/atomic/atoms/input/input.css.d.ts +2 -0
  33. package/lib/types/atomic/atoms/input/input.css.d.ts.map +1 -1
  34. package/lib/types/atomic/atoms/modal/Modal.d.ts +1 -0
  35. package/lib/types/atomic/atoms/modal/Modal.d.ts.map +1 -1
  36. package/lib/types/atomic/molecules/breadcrumb_navigation/BreadcrumbMenuDropdown.d.ts.map +1 -1
  37. package/lib/types/atomic/molecules/breadcrumb_navigation/BreadcrumbNavigation.d.ts +1 -0
  38. package/lib/types/atomic/molecules/breadcrumb_navigation/BreadcrumbNavigation.d.ts.map +1 -1
  39. package/lib/types/atomic/molecules/breadcrumb_navigation/breadcrumbNavigation.css.d.ts.map +1 -1
  40. package/lib/types/atomic/molecules/dropdown/Dropdown.d.ts +4 -2
  41. package/lib/types/atomic/molecules/dropdown/Dropdown.d.ts.map +1 -1
  42. package/lib/types/atomic/molecules/form/FormErrorBanner.d.ts +3 -4
  43. package/lib/types/atomic/molecules/form/FormErrorBanner.d.ts.map +1 -1
  44. package/lib/types/atomic/molecules/markdown/MarkdownRenderer.d.ts.map +1 -1
  45. package/lib/types/atomic/molecules/markdown/components/LazyMarkdownCodeBlock.d.ts.map +1 -1
  46. package/lib/types/atomic/molecules/markdown/components/MarkdownCodeBlock.d.ts.map +1 -1
  47. package/lib/types/atomic/molecules/markdown/components/MarkdownCodeCopyButton.d.ts.map +1 -1
  48. package/lib/types/atomic/molecules/markdown/components/MarkdownFootnotesSection.d.ts.map +1 -1
  49. package/lib/types/atomic/molecules/markdown/components/MarkdownHtmlFallback.d.ts.map +1 -1
  50. package/lib/types/atomic/molecules/markdown/components/MarkdownImage.d.ts.map +1 -1
  51. package/lib/types/atomic/molecules/markdown/components/MarkdownMermaidBlock.d.ts.map +1 -1
  52. package/lib/types/atomic/molecules/tabs/Tabs.d.ts.map +1 -1
  53. package/lib/types/backoffice/atoms/backoffice_id_badge/BackofficeIdBadge.d.ts.map +1 -1
  54. package/lib/types/backoffice/atoms/copyable_text/CopyableText.d.ts.map +1 -1
  55. package/lib/types/backoffice/atoms/copyable_text/copyableText.css.d.ts.map +1 -1
  56. package/lib/types/backoffice/atoms/shortcut_hint/shortcutHint.css.d.ts.map +1 -1
  57. package/lib/types/backoffice/atoms/spinner/Spinner.d.ts.map +1 -1
  58. package/lib/types/backoffice/atoms/spinner/spinner.css.d.ts.map +1 -1
  59. package/lib/types/backoffice/atoms/tag/Tag.d.ts.map +1 -1
  60. package/lib/types/backoffice/atoms/tag/tag.css.d.ts.map +1 -1
  61. package/lib/types/backoffice/layout/backofficeLayoutTokens.d.ts.map +1 -1
  62. package/lib/types/backoffice/molecules/backoffice_empty_state/backofficeEmptyState.css.d.ts.map +1 -1
  63. package/lib/types/backoffice/molecules/backoffice_filter_drawer/BackofficeFilterDrawer.d.ts +2 -1
  64. package/lib/types/backoffice/molecules/backoffice_filter_drawer/BackofficeFilterDrawer.d.ts.map +1 -1
  65. package/lib/types/backoffice/molecules/backoffice_filter_drawer/backofficeFilterDrawer.css.d.ts +1 -0
  66. package/lib/types/backoffice/molecules/backoffice_filter_drawer/backofficeFilterDrawer.css.d.ts.map +1 -1
  67. package/lib/types/backoffice/molecules/backoffice_infinite_list_status/BackofficeInfiniteListStatus.d.ts.map +1 -1
  68. package/lib/types/backoffice/molecules/backoffice_infinite_list_status/backofficeInfiniteListStatus.css.d.ts +2 -1
  69. package/lib/types/backoffice/molecules/backoffice_infinite_list_status/backofficeInfiniteListStatus.css.d.ts.map +1 -1
  70. package/lib/types/backoffice/molecules/backoffice_json_viewer/BackofficeJsonViewer.d.ts.map +1 -1
  71. package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.d.ts +1 -1
  72. package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.d.ts.map +1 -1
  73. package/lib/types/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.d.ts.map +1 -1
  74. package/lib/types/backoffice/molecules/backoffice_load_more/BackofficeLoadMore.d.ts.map +1 -1
  75. package/lib/types/backoffice/molecules/backoffice_load_more/backofficeLoadMore.css.d.ts.map +1 -1
  76. package/lib/types/backoffice/molecules/backoffice_relations_menu/BackofficeRelationsMenu.d.ts.map +1 -1
  77. package/lib/types/backoffice/molecules/backoffice_relations_menu/backofficeRelationsMenu.css.d.ts.map +1 -1
  78. package/lib/types/backoffice/molecules/backoffice_table_skeleton/BackofficeTableSkeleton.d.ts +3 -1
  79. package/lib/types/backoffice/molecules/backoffice_table_skeleton/BackofficeTableSkeleton.d.ts.map +1 -1
  80. package/lib/types/backoffice/molecules/backoffice_table_skeleton/backofficeTableSkeleton.css.d.ts +4 -0
  81. package/lib/types/backoffice/molecules/backoffice_table_skeleton/backofficeTableSkeleton.css.d.ts.map +1 -1
  82. package/lib/types/backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.d.ts.map +1 -1
  83. package/lib/types/backoffice/molecules/backoffice_table_toolbar/backofficeTableToolbar.css.d.ts +3 -0
  84. package/lib/types/backoffice/molecules/backoffice_table_toolbar/backofficeTableToolbar.css.d.ts.map +1 -1
  85. package/lib/types/backoffice/molecules/backoffice_tabs/BackofficeTabs.d.ts +4 -1
  86. package/lib/types/backoffice/molecules/backoffice_tabs/BackofficeTabs.d.ts.map +1 -1
  87. package/lib/types/backoffice/molecules/backoffice_tabs/backofficeTabs.css.d.ts +12 -1
  88. package/lib/types/backoffice/molecules/backoffice_tabs/backofficeTabs.css.d.ts.map +1 -1
  89. package/lib/types/backoffice/molecules/bulk_actions_bar/BulkActionsBar.d.ts.map +1 -1
  90. package/lib/types/backoffice/molecules/confirm_dialog/ConfirmDialog.d.ts +4 -1
  91. package/lib/types/backoffice/molecules/confirm_dialog/ConfirmDialog.d.ts.map +1 -1
  92. package/lib/types/backoffice/molecules/confirm_dialog/confirmDialog.css.d.ts.map +1 -1
  93. package/lib/types/backoffice/molecules/filter_chip_row/FilterChipRow.d.ts.map +1 -1
  94. package/lib/types/backoffice/molecules/filter_chip_row/filterChipRow.css.d.ts +1 -0
  95. package/lib/types/backoffice/molecules/filter_chip_row/filterChipRow.css.d.ts.map +1 -1
  96. package/lib/types/backoffice/molecules/global_search_input/GlobalSearchInput.d.ts +3 -1
  97. package/lib/types/backoffice/molecules/global_search_input/GlobalSearchInput.d.ts.map +1 -1
  98. package/lib/types/backoffice/molecules/global_search_input/globalSearchInput.css.d.ts.map +1 -1
  99. package/lib/types/backoffice/molecules/inline_banner/InlineBanner.d.ts.map +1 -1
  100. package/lib/types/backoffice/molecules/inline_banner/inlineBanner.css.d.ts.map +1 -1
  101. package/lib/types/backoffice/molecules/sidebar_collapse_toggle/SidebarCollapseToggle.d.ts +2 -1
  102. package/lib/types/backoffice/molecules/sidebar_collapse_toggle/SidebarCollapseToggle.d.ts.map +1 -1
  103. package/lib/types/backoffice/molecules/sidebar_collapse_toggle/sidebarCollapseToggle.css.d.ts +2 -0
  104. package/lib/types/backoffice/molecules/sidebar_collapse_toggle/sidebarCollapseToggle.css.d.ts.map +1 -1
  105. package/lib/types/backoffice/molecules/sidebar_nav_item/SidebarNavItem.d.ts +2 -1
  106. package/lib/types/backoffice/molecules/sidebar_nav_item/SidebarNavItem.d.ts.map +1 -1
  107. package/lib/types/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.d.ts +2 -0
  108. package/lib/types/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.d.ts.map +1 -1
  109. package/lib/types/backoffice/molecules/sidebar_nav_section/SidebarNavSection.d.ts +2 -1
  110. package/lib/types/backoffice/molecules/sidebar_nav_section/SidebarNavSection.d.ts.map +1 -1
  111. package/lib/types/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.d.ts +9 -1
  112. package/lib/types/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.d.ts.map +1 -1
  113. package/lib/types/backoffice/molecules/sidebar_profile_menu/BackofficeSidebarProfileMenu.d.ts.map +1 -1
  114. package/lib/types/backoffice/molecules/sidebar_profile_menu/sidebarProfileMenu.css.d.ts +3 -0
  115. package/lib/types/backoffice/molecules/sidebar_profile_menu/sidebarProfileMenu.css.d.ts.map +1 -1
  116. package/lib/types/backoffice/organisms/backoffice_data_table/BackofficeDataTable.d.ts +4 -1
  117. package/lib/types/backoffice/organisms/backoffice_data_table/BackofficeDataTable.d.ts.map +1 -1
  118. package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.d.ts +3 -1
  119. package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.d.ts.map +1 -1
  120. package/lib/types/backoffice/organisms/entity_header/entityHeader.css.d.ts.map +1 -1
  121. package/lib/types/backoffice/templates/detail_page_template/DetailPageTemplate.d.ts +2 -0
  122. package/lib/types/backoffice/templates/detail_page_template/DetailPageTemplate.d.ts.map +1 -1
  123. package/lib/types/backoffice/templates/detail_page_template/detailPageTemplate.css.d.ts +4 -0
  124. package/lib/types/backoffice/templates/detail_page_template/detailPageTemplate.css.d.ts.map +1 -1
  125. package/lib/types/backoffice/templates/list_page_template/ListPageTemplate.d.ts +2 -0
  126. package/lib/types/backoffice/templates/list_page_template/ListPageTemplate.d.ts.map +1 -1
  127. package/lib/types/backoffice/templates/list_page_template/listPageTemplate.css.d.ts +16 -0
  128. package/lib/types/backoffice/templates/list_page_template/listPageTemplate.css.d.ts.map +1 -1
  129. package/lib/types/components/dashboard/dashboard_grid/DashboardGrid.css.d.ts +21 -0
  130. package/lib/types/components/dashboard/dashboard_grid/DashboardGrid.css.d.ts.map +1 -1
  131. package/lib/types/components/dashboard/dashboard_grid/DashboardGrid.d.ts +12 -1
  132. package/lib/types/components/dashboard/dashboard_grid/DashboardGrid.d.ts.map +1 -1
  133. package/lib/types/components/data-table/DataTable.css.d.ts.map +1 -1
  134. package/lib/types/components/data-table/DataTable.d.ts +3 -1
  135. package/lib/types/components/data-table/DataTable.d.ts.map +1 -1
  136. package/lib/types/components/data-table/ResponsiveRecordList.css.d.ts.map +1 -1
  137. package/lib/types/components/data-table/VirtualizedConnectionTable.d.ts +3 -1
  138. package/lib/types/components/data-table/VirtualizedConnectionTable.d.ts.map +1 -1
  139. package/lib/types/components/feedback/OperationFeedback.css.d.ts +3 -0
  140. package/lib/types/components/feedback/OperationFeedback.css.d.ts.map +1 -0
  141. package/lib/types/components/feedback/OperationFeedback.d.ts +11 -0
  142. package/lib/types/components/feedback/OperationFeedback.d.ts.map +1 -0
  143. package/lib/types/components/infinite/InfiniteScrollTrigger.d.ts +12 -0
  144. package/lib/types/components/infinite/InfiniteScrollTrigger.d.ts.map +1 -0
  145. package/lib/types/components/infinite/infiniteScrollTrigger.css.d.ts +3 -0
  146. package/lib/types/components/infinite/infiniteScrollTrigger.css.d.ts.map +1 -0
  147. package/lib/types/components/layout/AppShell.d.ts +5 -1
  148. package/lib/types/components/layout/AppShell.d.ts.map +1 -1
  149. package/lib/types/components/layout/PageShell.css.d.ts +3 -0
  150. package/lib/types/components/layout/PageShell.css.d.ts.map +1 -1
  151. package/lib/types/components/layout/PageShell.d.ts +5 -1
  152. package/lib/types/components/layout/PageShell.d.ts.map +1 -1
  153. package/lib/types/components/media/ImagePreviewModal.d.ts +12 -0
  154. package/lib/types/components/media/ImagePreviewModal.d.ts.map +1 -0
  155. package/lib/types/components/media/imagePreviewModal.css.d.ts +14 -0
  156. package/lib/types/components/media/imagePreviewModal.css.d.ts.map +1 -0
  157. package/lib/types/components/responsive/ResponsiveCollectionRenderer.css.d.ts +4 -0
  158. package/lib/types/components/responsive/ResponsiveCollectionRenderer.css.d.ts.map +1 -0
  159. package/lib/types/components/responsive/ResponsiveCollectionRenderer.d.ts +8 -0
  160. package/lib/types/components/responsive/ResponsiveCollectionRenderer.d.ts.map +1 -0
  161. package/lib/types/components/routing/RouteFallback.d.ts +10 -0
  162. package/lib/types/components/routing/RouteFallback.d.ts.map +1 -0
  163. package/lib/types/components/routing/RoutePendingBar.d.ts +7 -0
  164. package/lib/types/components/routing/RoutePendingBar.d.ts.map +1 -0
  165. package/lib/types/components/routing/routeFallback.css.d.ts +6 -0
  166. package/lib/types/components/routing/routeFallback.css.d.ts.map +1 -0
  167. package/lib/types/components/routing/routePendingBar.css.d.ts +3 -0
  168. package/lib/types/components/routing/routePendingBar.css.d.ts.map +1 -0
  169. package/lib/types/components/select/SimpleSelect.css.d.ts +15 -1
  170. package/lib/types/components/select/SimpleSelect.css.d.ts.map +1 -1
  171. package/lib/types/components/select/SimpleSelect.d.ts +8 -1
  172. package/lib/types/components/select/SimpleSelect.d.ts.map +1 -1
  173. package/lib/types/components/tile/InfoTile.d.ts +1 -0
  174. package/lib/types/components/tile/InfoTile.d.ts.map +1 -1
  175. package/lib/types/hooks/useStickToBottom.d.ts +12 -0
  176. package/lib/types/hooks/useStickToBottom.d.ts.map +1 -0
  177. package/lib/types/hooks/useSubmitOnEnter.d.ts +7 -0
  178. package/lib/types/hooks/useSubmitOnEnter.d.ts.map +1 -0
  179. package/lib/types/i18n/resources.d.ts +183 -6
  180. package/lib/types/i18n/resources.d.ts.map +1 -1
  181. package/lib/types/icons/MenuSvg.d.ts +5 -0
  182. package/lib/types/icons/MenuSvg.d.ts.map +1 -0
  183. package/lib/types/icons/backoffice/BackofficeSidebarActivitySvg.d.ts +2 -0
  184. package/lib/types/icons/backoffice/BackofficeSidebarActivitySvg.d.ts.map +1 -0
  185. package/lib/types/icons/backoffice/BackofficeSidebarArchiveSvg.d.ts +2 -0
  186. package/lib/types/icons/backoffice/BackofficeSidebarArchiveSvg.d.ts.map +1 -0
  187. package/lib/types/icons/backoffice/BackofficeSidebarBadgeCheckSvg.d.ts +2 -0
  188. package/lib/types/icons/backoffice/BackofficeSidebarBadgeCheckSvg.d.ts.map +1 -0
  189. package/lib/types/icons/backoffice/BackofficeSidebarBotSvg.d.ts +2 -0
  190. package/lib/types/icons/backoffice/BackofficeSidebarBotSvg.d.ts.map +1 -0
  191. package/lib/types/icons/backoffice/BackofficeSidebarBracesSvg.d.ts +2 -0
  192. package/lib/types/icons/backoffice/BackofficeSidebarBracesSvg.d.ts.map +1 -0
  193. package/lib/types/icons/backoffice/BackofficeSidebarBrainCircuitSvg.d.ts +2 -0
  194. package/lib/types/icons/backoffice/BackofficeSidebarBrainCircuitSvg.d.ts.map +1 -0
  195. package/lib/types/icons/backoffice/BackofficeSidebarBriefcaseSvg.d.ts +2 -0
  196. package/lib/types/icons/backoffice/BackofficeSidebarBriefcaseSvg.d.ts.map +1 -0
  197. package/lib/types/icons/backoffice/BackofficeSidebarBuildingSvg.d.ts +2 -0
  198. package/lib/types/icons/backoffice/BackofficeSidebarBuildingSvg.d.ts.map +1 -0
  199. package/lib/types/icons/backoffice/BackofficeSidebarCableSvg.d.ts +2 -0
  200. package/lib/types/icons/backoffice/BackofficeSidebarCableSvg.d.ts.map +1 -0
  201. package/lib/types/icons/backoffice/BackofficeSidebarCalendarSvg.d.ts +2 -0
  202. package/lib/types/icons/backoffice/BackofficeSidebarCalendarSvg.d.ts.map +1 -0
  203. package/lib/types/icons/backoffice/BackofficeSidebarChartBarSvg.d.ts +2 -0
  204. package/lib/types/icons/backoffice/BackofficeSidebarChartBarSvg.d.ts.map +1 -0
  205. package/lib/types/icons/backoffice/BackofficeSidebarChartLineSvg.d.ts +2 -0
  206. package/lib/types/icons/backoffice/BackofficeSidebarChartLineSvg.d.ts.map +1 -0
  207. package/lib/types/icons/backoffice/BackofficeSidebarChartPieSvg.d.ts +2 -0
  208. package/lib/types/icons/backoffice/BackofficeSidebarChartPieSvg.d.ts.map +1 -0
  209. package/lib/types/icons/backoffice/BackofficeSidebarClipboardCheckSvg.d.ts +2 -0
  210. package/lib/types/icons/backoffice/BackofficeSidebarClipboardCheckSvg.d.ts.map +1 -0
  211. package/lib/types/icons/backoffice/BackofficeSidebarClipboardListSvg.d.ts +2 -0
  212. package/lib/types/icons/backoffice/BackofficeSidebarClipboardListSvg.d.ts.map +1 -0
  213. package/lib/types/icons/backoffice/BackofficeSidebarClockSvg.d.ts +2 -0
  214. package/lib/types/icons/backoffice/BackofficeSidebarClockSvg.d.ts.map +1 -0
  215. package/lib/types/icons/backoffice/BackofficeSidebarCodeSvg.d.ts +2 -0
  216. package/lib/types/icons/backoffice/BackofficeSidebarCodeSvg.d.ts.map +1 -0
  217. package/lib/types/icons/backoffice/BackofficeSidebarCopyCheckSvg.d.ts +2 -0
  218. package/lib/types/icons/backoffice/BackofficeSidebarCopyCheckSvg.d.ts.map +1 -0
  219. package/lib/types/icons/backoffice/BackofficeSidebarCopySvg.d.ts +2 -0
  220. package/lib/types/icons/backoffice/BackofficeSidebarCopySvg.d.ts.map +1 -0
  221. package/lib/types/icons/backoffice/BackofficeSidebarCopyXSvg.d.ts +2 -0
  222. package/lib/types/icons/backoffice/BackofficeSidebarCopyXSvg.d.ts.map +1 -0
  223. package/lib/types/icons/backoffice/BackofficeSidebarCrosshairSvg.d.ts +2 -0
  224. package/lib/types/icons/backoffice/BackofficeSidebarCrosshairSvg.d.ts.map +1 -0
  225. package/lib/types/icons/backoffice/BackofficeSidebarDatabaseSvg.d.ts +2 -0
  226. package/lib/types/icons/backoffice/BackofficeSidebarDatabaseSvg.d.ts.map +1 -0
  227. package/lib/types/icons/backoffice/BackofficeSidebarDiffSvg.d.ts +2 -0
  228. package/lib/types/icons/backoffice/BackofficeSidebarDiffSvg.d.ts.map +1 -0
  229. package/lib/types/icons/backoffice/BackofficeSidebarFileCodeSvg.d.ts +2 -0
  230. package/lib/types/icons/backoffice/BackofficeSidebarFileCodeSvg.d.ts.map +1 -0
  231. package/lib/types/icons/backoffice/BackofficeSidebarFileCogSvg.d.ts +2 -0
  232. package/lib/types/icons/backoffice/BackofficeSidebarFileCogSvg.d.ts.map +1 -0
  233. package/lib/types/icons/backoffice/BackofficeSidebarFileSearchSvg.d.ts +2 -0
  234. package/lib/types/icons/backoffice/BackofficeSidebarFileSearchSvg.d.ts.map +1 -0
  235. package/lib/types/icons/backoffice/BackofficeSidebarFileStackSvg.d.ts +2 -0
  236. package/lib/types/icons/backoffice/BackofficeSidebarFileStackSvg.d.ts.map +1 -0
  237. package/lib/types/icons/backoffice/BackofficeSidebarFileTextSvg.d.ts +2 -0
  238. package/lib/types/icons/backoffice/BackofficeSidebarFileTextSvg.d.ts.map +1 -0
  239. package/lib/types/icons/backoffice/BackofficeSidebarFilesSvg.d.ts +2 -0
  240. package/lib/types/icons/backoffice/BackofficeSidebarFilesSvg.d.ts.map +1 -0
  241. package/lib/types/icons/backoffice/BackofficeSidebarFingerprintSvg.d.ts +2 -0
  242. package/lib/types/icons/backoffice/BackofficeSidebarFingerprintSvg.d.ts.map +1 -0
  243. package/lib/types/icons/backoffice/BackofficeSidebarFlameSvg.d.ts +2 -0
  244. package/lib/types/icons/backoffice/BackofficeSidebarFlameSvg.d.ts.map +1 -0
  245. package/lib/types/icons/backoffice/BackofficeSidebarFolderGitSvg.d.ts +2 -0
  246. package/lib/types/icons/backoffice/BackofficeSidebarFolderGitSvg.d.ts.map +1 -0
  247. package/lib/types/icons/backoffice/BackofficeSidebarFolderKanbanSvg.d.ts +2 -0
  248. package/lib/types/icons/backoffice/BackofficeSidebarFolderKanbanSvg.d.ts.map +1 -0
  249. package/lib/types/icons/backoffice/BackofficeSidebarFolderTreeSvg.d.ts +2 -0
  250. package/lib/types/icons/backoffice/BackofficeSidebarFolderTreeSvg.d.ts.map +1 -0
  251. package/lib/types/icons/backoffice/BackofficeSidebarGaugeSvg.d.ts +2 -0
  252. package/lib/types/icons/backoffice/BackofficeSidebarGaugeSvg.d.ts.map +1 -0
  253. package/lib/types/icons/backoffice/BackofficeSidebarGitBranchPlusSvg.d.ts +2 -0
  254. package/lib/types/icons/backoffice/BackofficeSidebarGitBranchPlusSvg.d.ts.map +1 -0
  255. package/lib/types/icons/backoffice/BackofficeSidebarGitBranchSvg.d.ts +2 -0
  256. package/lib/types/icons/backoffice/BackofficeSidebarGitBranchSvg.d.ts.map +1 -0
  257. package/lib/types/icons/backoffice/BackofficeSidebarGitCommitSvg.d.ts +2 -0
  258. package/lib/types/icons/backoffice/BackofficeSidebarGitCommitSvg.d.ts.map +1 -0
  259. package/lib/types/icons/backoffice/BackofficeSidebarGitCompareSvg.d.ts +2 -0
  260. package/lib/types/icons/backoffice/BackofficeSidebarGitCompareSvg.d.ts.map +1 -0
  261. package/lib/types/icons/backoffice/BackofficeSidebarGitForkSvg.d.ts +2 -0
  262. package/lib/types/icons/backoffice/BackofficeSidebarGitForkSvg.d.ts.map +1 -0
  263. package/lib/types/icons/backoffice/BackofficeSidebarGitMergeSvg.d.ts +2 -0
  264. package/lib/types/icons/backoffice/BackofficeSidebarGitMergeSvg.d.ts.map +1 -0
  265. package/lib/types/icons/backoffice/BackofficeSidebarGitPullRequestSvg.d.ts +2 -0
  266. package/lib/types/icons/backoffice/BackofficeSidebarGitPullRequestSvg.d.ts.map +1 -0
  267. package/lib/types/icons/backoffice/BackofficeSidebarGlobeSvg.d.ts +2 -0
  268. package/lib/types/icons/backoffice/BackofficeSidebarGlobeSvg.d.ts.map +1 -0
  269. package/lib/types/icons/backoffice/BackofficeSidebarHistorySvg.d.ts +2 -0
  270. package/lib/types/icons/backoffice/BackofficeSidebarHistorySvg.d.ts.map +1 -0
  271. package/lib/types/icons/backoffice/BackofficeSidebarInfoSvg.d.ts +2 -0
  272. package/lib/types/icons/backoffice/BackofficeSidebarInfoSvg.d.ts.map +1 -0
  273. package/lib/types/icons/backoffice/BackofficeSidebarKeySquareSvg.d.ts +2 -0
  274. package/lib/types/icons/backoffice/BackofficeSidebarKeySquareSvg.d.ts.map +1 -0
  275. package/lib/types/icons/backoffice/BackofficeSidebarKeySvg.d.ts +2 -0
  276. package/lib/types/icons/backoffice/BackofficeSidebarKeySvg.d.ts.map +1 -0
  277. package/lib/types/icons/backoffice/BackofficeSidebarLandmarkSvg.d.ts +2 -0
  278. package/lib/types/icons/backoffice/BackofficeSidebarLandmarkSvg.d.ts.map +1 -0
  279. package/lib/types/icons/backoffice/BackofficeSidebarLayoutDashboardSvg.d.ts +2 -0
  280. package/lib/types/icons/backoffice/BackofficeSidebarLayoutDashboardSvg.d.ts.map +1 -0
  281. package/lib/types/icons/backoffice/BackofficeSidebarLinkSvg.d.ts +2 -0
  282. package/lib/types/icons/backoffice/BackofficeSidebarLinkSvg.d.ts.map +1 -0
  283. package/lib/types/icons/backoffice/BackofficeSidebarListChecksSvg.d.ts +2 -0
  284. package/lib/types/icons/backoffice/BackofficeSidebarListChecksSvg.d.ts.map +1 -0
  285. package/lib/types/icons/backoffice/BackofficeSidebarListTodoSvg.d.ts +2 -0
  286. package/lib/types/icons/backoffice/BackofficeSidebarListTodoSvg.d.ts.map +1 -0
  287. package/lib/types/icons/backoffice/BackofficeSidebarListTreeSvg.d.ts +2 -0
  288. package/lib/types/icons/backoffice/BackofficeSidebarListTreeSvg.d.ts.map +1 -0
  289. package/lib/types/icons/backoffice/BackofficeSidebarLocateSvg.d.ts +2 -0
  290. package/lib/types/icons/backoffice/BackofficeSidebarLocateSvg.d.ts.map +1 -0
  291. package/lib/types/icons/backoffice/BackofficeSidebarLockKeyholeSvg.d.ts +2 -0
  292. package/lib/types/icons/backoffice/BackofficeSidebarLockKeyholeSvg.d.ts.map +1 -0
  293. package/lib/types/icons/backoffice/BackofficeSidebarLockSvg.d.ts +2 -0
  294. package/lib/types/icons/backoffice/BackofficeSidebarLockSvg.d.ts.map +1 -0
  295. package/lib/types/icons/backoffice/BackofficeSidebarMailPlusSvg.d.ts +2 -0
  296. package/lib/types/icons/backoffice/BackofficeSidebarMailPlusSvg.d.ts.map +1 -0
  297. package/lib/types/icons/backoffice/BackofficeSidebarMapPinSvg.d.ts +2 -0
  298. package/lib/types/icons/backoffice/BackofficeSidebarMapPinSvg.d.ts.map +1 -0
  299. package/lib/types/icons/backoffice/BackofficeSidebarMapSvg.d.ts +2 -0
  300. package/lib/types/icons/backoffice/BackofficeSidebarMapSvg.d.ts.map +1 -0
  301. package/lib/types/icons/backoffice/BackofficeSidebarMessagePlusSvg.d.ts +2 -0
  302. package/lib/types/icons/backoffice/BackofficeSidebarMessagePlusSvg.d.ts.map +1 -0
  303. package/lib/types/icons/backoffice/BackofficeSidebarMessageTextSvg.d.ts +2 -0
  304. package/lib/types/icons/backoffice/BackofficeSidebarMessageTextSvg.d.ts.map +1 -0
  305. package/lib/types/icons/backoffice/BackofficeSidebarMessagesSvg.d.ts +2 -0
  306. package/lib/types/icons/backoffice/BackofficeSidebarMessagesSvg.d.ts.map +1 -0
  307. package/lib/types/icons/backoffice/BackofficeSidebarMonitorCheckSvg.d.ts +2 -0
  308. package/lib/types/icons/backoffice/BackofficeSidebarMonitorCheckSvg.d.ts.map +1 -0
  309. package/lib/types/icons/backoffice/BackofficeSidebarMouseClickSvg.d.ts +2 -0
  310. package/lib/types/icons/backoffice/BackofficeSidebarMouseClickSvg.d.ts.map +1 -0
  311. package/lib/types/icons/backoffice/BackofficeSidebarNetworkSvg.d.ts +2 -0
  312. package/lib/types/icons/backoffice/BackofficeSidebarNetworkSvg.d.ts.map +1 -0
  313. package/lib/types/icons/backoffice/BackofficeSidebarPanelsSvg.d.ts +2 -0
  314. package/lib/types/icons/backoffice/BackofficeSidebarPanelsSvg.d.ts.map +1 -0
  315. package/lib/types/icons/backoffice/BackofficeSidebarPenToolSvg.d.ts +2 -0
  316. package/lib/types/icons/backoffice/BackofficeSidebarPenToolSvg.d.ts.map +1 -0
  317. package/lib/types/icons/backoffice/BackofficeSidebarPinSvg.d.ts +2 -0
  318. package/lib/types/icons/backoffice/BackofficeSidebarPinSvg.d.ts.map +1 -0
  319. package/lib/types/icons/backoffice/BackofficeSidebarPlayCircleSvg.d.ts +2 -0
  320. package/lib/types/icons/backoffice/BackofficeSidebarPlayCircleSvg.d.ts.map +1 -0
  321. package/lib/types/icons/backoffice/BackofficeSidebarRadarSvg.d.ts +2 -0
  322. package/lib/types/icons/backoffice/BackofficeSidebarRadarSvg.d.ts.map +1 -0
  323. package/lib/types/icons/backoffice/BackofficeSidebarReceiptSvg.d.ts +2 -0
  324. package/lib/types/icons/backoffice/BackofficeSidebarReceiptSvg.d.ts.map +1 -0
  325. package/lib/types/icons/backoffice/BackofficeSidebarRocketSvg.d.ts +2 -0
  326. package/lib/types/icons/backoffice/BackofficeSidebarRocketSvg.d.ts.map +1 -0
  327. package/lib/types/icons/backoffice/BackofficeSidebarRouteSvg.d.ts +2 -0
  328. package/lib/types/icons/backoffice/BackofficeSidebarRouteSvg.d.ts.map +1 -0
  329. package/lib/types/icons/backoffice/BackofficeSidebarScrollTextSvg.d.ts +2 -0
  330. package/lib/types/icons/backoffice/BackofficeSidebarScrollTextSvg.d.ts.map +1 -0
  331. package/lib/types/icons/backoffice/BackofficeSidebarSearchCodeSvg.d.ts +2 -0
  332. package/lib/types/icons/backoffice/BackofficeSidebarSearchCodeSvg.d.ts.map +1 -0
  333. package/lib/types/icons/backoffice/BackofficeSidebarSearchSvg.d.ts +2 -0
  334. package/lib/types/icons/backoffice/BackofficeSidebarSearchSvg.d.ts.map +1 -0
  335. package/lib/types/icons/backoffice/BackofficeSidebarSendSvg.d.ts +2 -0
  336. package/lib/types/icons/backoffice/BackofficeSidebarSendSvg.d.ts.map +1 -0
  337. package/lib/types/icons/backoffice/BackofficeSidebarShieldAlertSvg.d.ts +2 -0
  338. package/lib/types/icons/backoffice/BackofficeSidebarShieldAlertSvg.d.ts.map +1 -0
  339. package/lib/types/icons/backoffice/BackofficeSidebarShieldCheckSvg.d.ts +2 -0
  340. package/lib/types/icons/backoffice/BackofficeSidebarShieldCheckSvg.d.ts.map +1 -0
  341. package/lib/types/icons/backoffice/BackofficeSidebarShieldUserSvg.d.ts +2 -0
  342. package/lib/types/icons/backoffice/BackofficeSidebarShieldUserSvg.d.ts.map +1 -0
  343. package/lib/types/icons/backoffice/BackofficeSidebarStepForwardSvg.d.ts +2 -0
  344. package/lib/types/icons/backoffice/BackofficeSidebarStepForwardSvg.d.ts.map +1 -0
  345. package/lib/types/icons/backoffice/BackofficeSidebarStethoscopeSvg.d.ts +2 -0
  346. package/lib/types/icons/backoffice/BackofficeSidebarStethoscopeSvg.d.ts.map +1 -0
  347. package/lib/types/icons/backoffice/BackofficeSidebarTerminalSquareSvg.d.ts +2 -0
  348. package/lib/types/icons/backoffice/BackofficeSidebarTerminalSquareSvg.d.ts.map +1 -0
  349. package/lib/types/icons/backoffice/BackofficeSidebarTestTubeSvg.d.ts +2 -0
  350. package/lib/types/icons/backoffice/BackofficeSidebarTestTubeSvg.d.ts.map +1 -0
  351. package/lib/types/icons/backoffice/BackofficeSidebarTrashSvg.d.ts +2 -0
  352. package/lib/types/icons/backoffice/BackofficeSidebarTrashSvg.d.ts.map +1 -0
  353. package/lib/types/icons/backoffice/BackofficeSidebarUploadCloudSvg.d.ts +2 -0
  354. package/lib/types/icons/backoffice/BackofficeSidebarUploadCloudSvg.d.ts.map +1 -0
  355. package/lib/types/icons/backoffice/BackofficeSidebarUserCheckSvg.d.ts +2 -0
  356. package/lib/types/icons/backoffice/BackofficeSidebarUserCheckSvg.d.ts.map +1 -0
  357. package/lib/types/icons/backoffice/BackofficeSidebarUserCogSvg.d.ts +2 -0
  358. package/lib/types/icons/backoffice/BackofficeSidebarUserCogSvg.d.ts.map +1 -0
  359. package/lib/types/icons/backoffice/BackofficeSidebarUserSearchSvg.d.ts +2 -0
  360. package/lib/types/icons/backoffice/BackofficeSidebarUserSearchSvg.d.ts.map +1 -0
  361. package/lib/types/icons/backoffice/BackofficeSidebarUserSvg.d.ts +2 -0
  362. package/lib/types/icons/backoffice/BackofficeSidebarUserSvg.d.ts.map +1 -0
  363. package/lib/types/icons/backoffice/BackofficeSidebarUsersSvg.d.ts +2 -0
  364. package/lib/types/icons/backoffice/BackofficeSidebarUsersSvg.d.ts.map +1 -0
  365. package/lib/types/icons/backoffice/BackofficeSidebarWalletSvg.d.ts +2 -0
  366. package/lib/types/icons/backoffice/BackofficeSidebarWalletSvg.d.ts.map +1 -0
  367. package/lib/types/icons/backoffice/BackofficeSidebarWandSvg.d.ts +2 -0
  368. package/lib/types/icons/backoffice/BackofficeSidebarWandSvg.d.ts.map +1 -0
  369. package/lib/types/icons/backoffice/BackofficeSidebarWorkflowSvg.d.ts +2 -0
  370. package/lib/types/icons/backoffice/BackofficeSidebarWorkflowSvg.d.ts.map +1 -0
  371. package/lib/types/icons/backoffice/BackofficeSidebarWrenchSvg.d.ts +2 -0
  372. package/lib/types/icons/backoffice/BackofficeSidebarWrenchSvg.d.ts.map +1 -0
  373. package/lib/types/icons/backoffice/createBackofficeSidebarIcon.d.ts +11 -0
  374. package/lib/types/icons/backoffice/createBackofficeSidebarIcon.d.ts.map +1 -0
  375. package/lib/types/icons/backoffice/tools/BackofficeToolArchitectureSvg.d.ts +2 -0
  376. package/lib/types/icons/backoffice/tools/BackofficeToolArchitectureSvg.d.ts.map +1 -0
  377. package/lib/types/icons/backoffice/tools/BackofficeToolCallgraphSvg.d.ts +2 -0
  378. package/lib/types/icons/backoffice/tools/BackofficeToolCallgraphSvg.d.ts.map +1 -0
  379. package/lib/types/icons/backoffice/tools/BackofficeToolCodePlacementSvg.d.ts +2 -0
  380. package/lib/types/icons/backoffice/tools/BackofficeToolCodePlacementSvg.d.ts.map +1 -0
  381. package/lib/types/icons/backoffice/tools/BackofficeToolCommitBlameSvg.d.ts +2 -0
  382. package/lib/types/icons/backoffice/tools/BackofficeToolCommitBlameSvg.d.ts.map +1 -0
  383. package/lib/types/icons/backoffice/tools/BackofficeToolCommitDetailSvg.d.ts +2 -0
  384. package/lib/types/icons/backoffice/tools/BackofficeToolCommitDetailSvg.d.ts.map +1 -0
  385. package/lib/types/icons/backoffice/tools/BackofficeToolCommitDiffSvg.d.ts +2 -0
  386. package/lib/types/icons/backoffice/tools/BackofficeToolCommitDiffSvg.d.ts.map +1 -0
  387. package/lib/types/icons/backoffice/tools/BackofficeToolCommitSearchSvg.d.ts +2 -0
  388. package/lib/types/icons/backoffice/tools/BackofficeToolCommitSearchSvg.d.ts.map +1 -0
  389. package/lib/types/icons/backoffice/tools/BackofficeToolCommitTouchesSvg.d.ts +2 -0
  390. package/lib/types/icons/backoffice/tools/BackofficeToolCommitTouchesSvg.d.ts.map +1 -0
  391. package/lib/types/icons/backoffice/tools/BackofficeToolCommitsLogSvg.d.ts +2 -0
  392. package/lib/types/icons/backoffice/tools/BackofficeToolCommitsLogSvg.d.ts.map +1 -0
  393. package/lib/types/icons/backoffice/tools/BackofficeToolCommitsSvg.d.ts +2 -0
  394. package/lib/types/icons/backoffice/tools/BackofficeToolCommitsSvg.d.ts.map +1 -0
  395. package/lib/types/icons/backoffice/tools/BackofficeToolComplexSymbolsSvg.d.ts +2 -0
  396. package/lib/types/icons/backoffice/tools/BackofficeToolComplexSymbolsSvg.d.ts.map +1 -0
  397. package/lib/types/icons/backoffice/tools/BackofficeToolDeadCodeSvg.d.ts +2 -0
  398. package/lib/types/icons/backoffice/tools/BackofficeToolDeadCodeSvg.d.ts.map +1 -0
  399. package/lib/types/icons/backoffice/tools/BackofficeToolDependenciesSvg.d.ts +2 -0
  400. package/lib/types/icons/backoffice/tools/BackofficeToolDependenciesSvg.d.ts.map +1 -0
  401. package/lib/types/icons/backoffice/tools/BackofficeToolDesignSvg.d.ts +2 -0
  402. package/lib/types/icons/backoffice/tools/BackofficeToolDesignSvg.d.ts.map +1 -0
  403. package/lib/types/icons/backoffice/tools/BackofficeToolDevSvg.d.ts +2 -0
  404. package/lib/types/icons/backoffice/tools/BackofficeToolDevSvg.d.ts.map +1 -0
  405. package/lib/types/icons/backoffice/tools/BackofficeToolDiagnosticsSvg.d.ts +2 -0
  406. package/lib/types/icons/backoffice/tools/BackofficeToolDiagnosticsSvg.d.ts.map +1 -0
  407. package/lib/types/icons/backoffice/tools/BackofficeToolDocsListSvg.d.ts +2 -0
  408. package/lib/types/icons/backoffice/tools/BackofficeToolDocsListSvg.d.ts.map +1 -0
  409. package/lib/types/icons/backoffice/tools/BackofficeToolDocsSvg.d.ts +2 -0
  410. package/lib/types/icons/backoffice/tools/BackofficeToolDocsSvg.d.ts.map +1 -0
  411. package/lib/types/icons/backoffice/tools/BackofficeToolDomainMapSvg.d.ts +2 -0
  412. package/lib/types/icons/backoffice/tools/BackofficeToolDomainMapSvg.d.ts.map +1 -0
  413. package/lib/types/icons/backoffice/tools/BackofficeToolDuplicateFilesSvg.d.ts +2 -0
  414. package/lib/types/icons/backoffice/tools/BackofficeToolDuplicateFilesSvg.d.ts.map +1 -0
  415. package/lib/types/icons/backoffice/tools/BackofficeToolDuplicateSymbolsSvg.d.ts +2 -0
  416. package/lib/types/icons/backoffice/tools/BackofficeToolDuplicateSymbolsSvg.d.ts.map +1 -0
  417. package/lib/types/icons/backoffice/tools/BackofficeToolDuplicationsSvg.d.ts +2 -0
  418. package/lib/types/icons/backoffice/tools/BackofficeToolDuplicationsSvg.d.ts.map +1 -0
  419. package/lib/types/icons/backoffice/tools/BackofficeToolFeatureImpactSvg.d.ts +2 -0
  420. package/lib/types/icons/backoffice/tools/BackofficeToolFeatureImpactSvg.d.ts.map +1 -0
  421. package/lib/types/icons/backoffice/tools/BackofficeToolFeaturePlanSvg.d.ts +2 -0
  422. package/lib/types/icons/backoffice/tools/BackofficeToolFeaturePlanSvg.d.ts.map +1 -0
  423. package/lib/types/icons/backoffice/tools/BackofficeToolFileFindSvg.d.ts +2 -0
  424. package/lib/types/icons/backoffice/tools/BackofficeToolFileFindSvg.d.ts.map +1 -0
  425. package/lib/types/icons/backoffice/tools/BackofficeToolFileHistorySvg.d.ts +2 -0
  426. package/lib/types/icons/backoffice/tools/BackofficeToolFileHistorySvg.d.ts.map +1 -0
  427. package/lib/types/icons/backoffice/tools/BackofficeToolFileMetadataSvg.d.ts +2 -0
  428. package/lib/types/icons/backoffice/tools/BackofficeToolFileMetadataSvg.d.ts.map +1 -0
  429. package/lib/types/icons/backoffice/tools/BackofficeToolFileReadSvg.d.ts +2 -0
  430. package/lib/types/icons/backoffice/tools/BackofficeToolFileReadSvg.d.ts.map +1 -0
  431. package/lib/types/icons/backoffice/tools/BackofficeToolFilesReadManySvg.d.ts +2 -0
  432. package/lib/types/icons/backoffice/tools/BackofficeToolFilesReadManySvg.d.ts.map +1 -0
  433. package/lib/types/icons/backoffice/tools/BackofficeToolFilesSvg.d.ts +2 -0
  434. package/lib/types/icons/backoffice/tools/BackofficeToolFilesSvg.d.ts.map +1 -0
  435. package/lib/types/icons/backoffice/tools/BackofficeToolFulltextSearchSvg.d.ts +2 -0
  436. package/lib/types/icons/backoffice/tools/BackofficeToolFulltextSearchSvg.d.ts.map +1 -0
  437. package/lib/types/icons/backoffice/tools/BackofficeToolGraphNeighborsSvg.d.ts +2 -0
  438. package/lib/types/icons/backoffice/tools/BackofficeToolGraphNeighborsSvg.d.ts.map +1 -0
  439. package/lib/types/icons/backoffice/tools/BackofficeToolGraphSvg.d.ts +2 -0
  440. package/lib/types/icons/backoffice/tools/BackofficeToolGraphSvg.d.ts.map +1 -0
  441. package/lib/types/icons/backoffice/tools/BackofficeToolHotspotsSvg.d.ts +2 -0
  442. package/lib/types/icons/backoffice/tools/BackofficeToolHotspotsSvg.d.ts.map +1 -0
  443. package/lib/types/icons/backoffice/tools/BackofficeToolHttpFetchSvg.d.ts +2 -0
  444. package/lib/types/icons/backoffice/tools/BackofficeToolHttpFetchSvg.d.ts.map +1 -0
  445. package/lib/types/icons/backoffice/tools/BackofficeToolImpactSvg.d.ts +2 -0
  446. package/lib/types/icons/backoffice/tools/BackofficeToolImpactSvg.d.ts.map +1 -0
  447. package/lib/types/icons/backoffice/tools/BackofficeToolPreflightCheckSvg.d.ts +2 -0
  448. package/lib/types/icons/backoffice/tools/BackofficeToolPreflightCheckSvg.d.ts.map +1 -0
  449. package/lib/types/icons/backoffice/tools/BackofficeToolProjectsListSvg.d.ts +2 -0
  450. package/lib/types/icons/backoffice/tools/BackofficeToolProjectsListSvg.d.ts.map +1 -0
  451. package/lib/types/icons/backoffice/tools/BackofficeToolRefactorSvg.d.ts +2 -0
  452. package/lib/types/icons/backoffice/tools/BackofficeToolRefactorSvg.d.ts.map +1 -0
  453. package/lib/types/icons/backoffice/tools/BackofficeToolRepoInfoSvg.d.ts +2 -0
  454. package/lib/types/icons/backoffice/tools/BackofficeToolRepoInfoSvg.d.ts.map +1 -0
  455. package/lib/types/icons/backoffice/tools/BackofficeToolRepoSvg.d.ts +2 -0
  456. package/lib/types/icons/backoffice/tools/BackofficeToolRepoSvg.d.ts.map +1 -0
  457. package/lib/types/icons/backoffice/tools/BackofficeToolRequestFlowSvg.d.ts +2 -0
  458. package/lib/types/icons/backoffice/tools/BackofficeToolRequestFlowSvg.d.ts.map +1 -0
  459. package/lib/types/icons/backoffice/tools/BackofficeToolScaffoldSvg.d.ts +2 -0
  460. package/lib/types/icons/backoffice/tools/BackofficeToolScaffoldSvg.d.ts.map +1 -0
  461. package/lib/types/icons/backoffice/tools/BackofficeToolSuggestTestsSvg.d.ts +2 -0
  462. package/lib/types/icons/backoffice/tools/BackofficeToolSuggestTestsSvg.d.ts.map +1 -0
  463. package/lib/types/icons/backoffice/tools/BackofficeToolSummarySvg.d.ts +2 -0
  464. package/lib/types/icons/backoffice/tools/BackofficeToolSummarySvg.d.ts.map +1 -0
  465. package/lib/types/icons/backoffice/tools/BackofficeToolSymbolDefinitionSvg.d.ts +2 -0
  466. package/lib/types/icons/backoffice/tools/BackofficeToolSymbolDefinitionSvg.d.ts.map +1 -0
  467. package/lib/types/icons/backoffice/tools/BackofficeToolSymbolReferencesSvg.d.ts +2 -0
  468. package/lib/types/icons/backoffice/tools/BackofficeToolSymbolReferencesSvg.d.ts.map +1 -0
  469. package/lib/types/icons/backoffice/tools/BackofficeToolSymbolsListSvg.d.ts +2 -0
  470. package/lib/types/icons/backoffice/tools/BackofficeToolSymbolsListSvg.d.ts.map +1 -0
  471. package/lib/types/icons/backoffice/tools/BackofficeToolTechDebtSvg.d.ts +2 -0
  472. package/lib/types/icons/backoffice/tools/BackofficeToolTechDebtSvg.d.ts.map +1 -0
  473. package/lib/types/icons/backoffice/tools/BackofficeToolTestsSvg.d.ts +2 -0
  474. package/lib/types/icons/backoffice/tools/BackofficeToolTestsSvg.d.ts.map +1 -0
  475. package/lib/types/icons/backoffice/tools/BackofficeToolTodosSvg.d.ts +2 -0
  476. package/lib/types/icons/backoffice/tools/BackofficeToolTodosSvg.d.ts.map +1 -0
  477. package/lib/types/icons/backoffice/tools/BackofficeToolTreeListSvg.d.ts +2 -0
  478. package/lib/types/icons/backoffice/tools/BackofficeToolTreeListSvg.d.ts.map +1 -0
  479. package/lib/types/icons/backoffice/tools/BackofficeToolTreeStatsSvg.d.ts +2 -0
  480. package/lib/types/icons/backoffice/tools/BackofficeToolTreeStatsSvg.d.ts.map +1 -0
  481. package/lib/types/index.d.ts +162 -2
  482. package/lib/types/index.d.ts.map +1 -1
  483. package/lib/types/shared/progress.d.ts +16 -0
  484. package/lib/types/shared/progress.d.ts.map +1 -0
  485. package/lib/types/shared/timeSeries.d.ts +23 -0
  486. package/lib/types/shared/timeSeries.d.ts.map +1 -0
  487. package/package.json +2 -2
  488. package/src/i18n/locales/en/ui.json +92 -4
  489. package/src/i18n/locales/fr/ui.json +93 -4
  490. package/lib/esm/HighlightCode-KpWSo7Zx.js.map +0 -1
  491. package/lib/esm/MarkdownRenderer-c_Ic29c2.js +0 -3821
  492. package/lib/esm/MarkdownRenderer-c_Ic29c2.js.map +0 -1
  493. package/lib/esm/src-PWZgeO3e.js.map +0 -1
@@ -0,0 +1,3818 @@
1
+ import { r as e } from "./chunk-ha4E1CQs.js";
2
+ import { n as t } from "./HighlightCode-DpXwrY5A.js";
3
+ import { t as n } from "./MarkdownCodeBlock-CnI5nEfE.js";
4
+ import * as r from "react";
5
+ import { Children as i, Fragment as a, createElement as o, isValidElement as s, useDeferredValue as c, useMemo as l } from "react";
6
+ import { jsx as u, jsxs as d } from "react/jsx-runtime";
7
+ import { createRuntimeFn as f } from "@vanilla-extract/recipes/createRuntimeFn";
8
+ //#region ../../node_modules/markdown-to-jsx/dist/entities.browser.js
9
+ var p;
10
+ function m(e) {
11
+ if (!p) if (typeof document < "u") p = document.createElement("textarea");
12
+ else return;
13
+ var t = "&" + e + ";";
14
+ p.innerHTML = t;
15
+ var n = p.value;
16
+ return n === t ? void 0 : n;
17
+ }
18
+ //#endregion
19
+ //#region ../../node_modules/markdown-to-jsx/dist/index.js
20
+ var h = 32, g = 9, _ = 13, v = 10, y = 96, b = 126, x = 91, S = 94, C = 62, w = 35, T = 36, E = 37, D = 45, O = 61, k = 92, A = 42, j = 95, M = 60, N = 64, P = 93, F = 33, I = 38, L = 58, R = 70, ee = 102, te = 104, ne = 119, re = 116, ie = 112, ae = 115, oe = 160, se = 12, ce = 44, le = 59, ue = 63, de = 46, fe = 47, pe = 39, me = 34, he = 43, z = 124, ge = 123, _e = 125, ve = 40, ye = 41, be = 30, xe = 31, B = 48, V = 57, H = 65, U = 90, W = 97, G = 122, Se = 128, Ce = 32, K = {
21
+ blockQuote: 0,
22
+ breakLine: 1,
23
+ breakThematic: 2,
24
+ codeBlock: 3,
25
+ codeInline: 4,
26
+ footnote: 5,
27
+ footnoteReference: 6,
28
+ frontmatter: 7,
29
+ gfmTask: 8,
30
+ heading: 9,
31
+ htmlBlock: 10,
32
+ htmlComment: 11,
33
+ htmlSelfClosing: 12,
34
+ image: 13,
35
+ link: 14,
36
+ orderedList: 15,
37
+ paragraph: 16,
38
+ ref: 17,
39
+ refCollection: 18,
40
+ table: 19,
41
+ text: 20,
42
+ textFormatted: 21,
43
+ unorderedList: 22
44
+ };
45
+ function we(e) {
46
+ if (!Pe(e, "---")) return null;
47
+ let t = 3;
48
+ for (; t < e.length && (e[t] === " " || e[t] === " ");) t++;
49
+ if (t < e.length && e[t] === "\r" && t++, t >= e.length || e[t] !== "\n") return null;
50
+ t++;
51
+ let n = !1;
52
+ for (; t < e.length;) {
53
+ let r = t;
54
+ for (; t < e.length && e[t] !== "\n" && e[t] !== "\r";) t++;
55
+ if (t >= e.length) break;
56
+ let i = t;
57
+ if (e[t] === "\r" && t++, t < e.length && e[t] === "\n" && t++, Pe(e, "---", r)) return {
58
+ endPos: t,
59
+ hasValidYaml: n
60
+ };
61
+ let a = e.indexOf(":", r);
62
+ a !== -1 && a < i && (n = !0);
63
+ }
64
+ return null;
65
+ }
66
+ var Te = /&([a-zA-Z0-9]+|#[0-9]{1,7}|#x[0-9a-fA-F]{1,6});/gi, Ee = {
67
+ class: "className",
68
+ for: "htmlFor",
69
+ allowfullscreen: "allowFullScreen",
70
+ allowtransparency: "allowTransparency",
71
+ autocomplete: "autoComplete",
72
+ autofocus: "autoFocus",
73
+ autoplay: "autoPlay",
74
+ cellpadding: "cellPadding",
75
+ cellspacing: "cellSpacing",
76
+ charset: "charSet",
77
+ classid: "classId",
78
+ colspan: "colSpan",
79
+ contenteditable: "contentEditable",
80
+ contextmenu: "contextMenu",
81
+ crossorigin: "crossOrigin",
82
+ enctype: "encType",
83
+ formaction: "formAction",
84
+ formenctype: "formEncType",
85
+ formmethod: "formMethod",
86
+ formnovalidate: "formNoValidate",
87
+ formtarget: "formTarget",
88
+ frameborder: "frameBorder",
89
+ hreflang: "hrefLang",
90
+ inputmode: "inputMode",
91
+ keyparams: "keyParams",
92
+ keytype: "keyType",
93
+ marginheight: "marginHeight",
94
+ marginwidth: "marginWidth",
95
+ maxlength: "maxLength",
96
+ mediagroup: "mediaGroup",
97
+ minlength: "minLength",
98
+ novalidate: "noValidate",
99
+ radiogroup: "radioGroup",
100
+ readonly: "readOnly",
101
+ rowspan: "rowSpan",
102
+ spellcheck: "spellCheck",
103
+ srcdoc: "srcDoc",
104
+ srclang: "srcLang",
105
+ srcset: "srcSet",
106
+ tabindex: "tabIndex",
107
+ usemap: "useMap",
108
+ viewbox: "viewBox"
109
+ };
110
+ function De(e) {
111
+ var t = {};
112
+ for (var n in e) {
113
+ var r = Ee[n.toLowerCase()];
114
+ if (r) t[r] = e[n];
115
+ else {
116
+ var i = n.indexOf(":");
117
+ i === -1 ? t[n] = e[n] : t[n.slice(0, i) + n[i + 1].toUpperCase() + n.slice(i + 2)] = e[n];
118
+ }
119
+ }
120
+ return t;
121
+ }
122
+ var q = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s|^<(div|p|h[1-6]|ul|ol|li|blockquote|pre|table|thead|tbody|tr|td|th|dl|dt|dd|hr|address|article|aside|details|dialog|figure|figcaption|footer|form|header|main|menu|nav|section|summary|textarea|fieldset|legend|center|dir|hgroup|marquee|search|output|template)\b)/i;
123
+ function J(e) {
124
+ return e.indexOf("&") === -1 ? e : e.replace(Te, (e, t) => {
125
+ var n = m(t);
126
+ if (n) return n;
127
+ if (t[0] === "#") {
128
+ var r = t[1] === "x" || t[1] === "X" ? parseInt(t.slice(2), 16) : parseInt(t.slice(1), 10);
129
+ return r === 0 || r >= 55296 && r <= 57343 || r > 1114111 ? "�" : r <= 65535 ? String.fromCharCode(r) : String.fromCharCode(55296 + (r - 65536 >> 10), 56320 + (r - 65536 & 1023));
130
+ }
131
+ return e;
132
+ });
133
+ }
134
+ var Oe = /(javascript|vbscript|data(?!:image)):/i;
135
+ function ke(e) {
136
+ if (Oe.test(e)) return null;
137
+ if (e.indexOf("%") === -1) return e;
138
+ try {
139
+ let t = decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g, "");
140
+ if (Oe.test(t)) return null;
141
+ } catch {
142
+ return null;
143
+ }
144
+ return e;
145
+ }
146
+ var Ae = {}, je, Me;
147
+ for (je = [
148
+ 192,
149
+ 193,
150
+ 194,
151
+ 195,
152
+ 196,
153
+ 197,
154
+ 224,
155
+ 225,
156
+ 226,
157
+ 227,
158
+ 228,
159
+ 229,
160
+ 230,
161
+ 198
162
+ ], Me = 0; Me < je.length; Me++) Ae[je[Me]] = "a";
163
+ for (Ae[231] = Ae[199] = "c", Ae[240] = Ae[208] = "d", je = [
164
+ 200,
165
+ 201,
166
+ 202,
167
+ 203,
168
+ 233,
169
+ 232,
170
+ 234,
171
+ 235
172
+ ], Me = 0; Me < je.length; Me++) Ae[je[Me]] = "e";
173
+ for (je = [
174
+ 207,
175
+ 239,
176
+ 206,
177
+ 238,
178
+ 205,
179
+ 237,
180
+ 204,
181
+ 236
182
+ ], Me = 0; Me < je.length; Me++) Ae[je[Me]] = "i";
183
+ for (Ae[209] = Ae[241] = "n", je = [
184
+ 248,
185
+ 216,
186
+ 339,
187
+ 338,
188
+ 213,
189
+ 245,
190
+ 212,
191
+ 244,
192
+ 211,
193
+ 243,
194
+ 210,
195
+ 242
196
+ ], Me = 0; Me < je.length; Me++) Ae[je[Me]] = "o";
197
+ for (je = [
198
+ 220,
199
+ 252,
200
+ 219,
201
+ 251,
202
+ 218,
203
+ 250,
204
+ 217,
205
+ 249
206
+ ], Me = 0; Me < je.length; Me++) Ae[je[Me]] = "u";
207
+ Ae[376] = Ae[255] = Ae[221] = Ae[253] = "y";
208
+ function Ne(e) {
209
+ for (var t = e.toLowerCase(), n = "", r = -1, i = 0; i < t.length; i++) {
210
+ var a = t.charCodeAt(i);
211
+ if (a < Se && (Je[a] & (ze | Be)) !== 0) r < 0 && (r = i);
212
+ else if (a === h || a === D) r >= 0 && (n += t.slice(r, i), r = -1), n += "-";
213
+ else {
214
+ r >= 0 && (n += t.slice(r, i), r = -1);
215
+ var o = Ae[a];
216
+ o && (n += o);
217
+ }
218
+ }
219
+ return r >= 0 && (n += t.slice(r)), n;
220
+ }
221
+ function Pe(e, t, n) {
222
+ return e.startsWith(t, n);
223
+ }
224
+ var Fe = new Set([
225
+ "area",
226
+ "base",
227
+ "br",
228
+ "col",
229
+ "embed",
230
+ "hr",
231
+ "img",
232
+ "input",
233
+ "link",
234
+ "meta",
235
+ "param",
236
+ "source",
237
+ "track",
238
+ "wbr",
239
+ "circle",
240
+ "ellipse",
241
+ "line",
242
+ "path",
243
+ "polygon",
244
+ "polyline",
245
+ "rect",
246
+ "use",
247
+ "stop",
248
+ "animate",
249
+ "set"
250
+ ]);
251
+ function Ie(e) {
252
+ let t = e.toLowerCase();
253
+ if (Fe.has(t)) return !0;
254
+ let n = t.indexOf(":");
255
+ return n === -1 ? !1 : (t = t.slice(n + 1), Fe.has(t));
256
+ }
257
+ var Le = 1, Re = 2, ze = 4, Be = 8, Ve = 16, He = 32, Ue = 64, We = 1, Ge = 2, Ke = 3, qe = 4, Je = (function() {
258
+ let e = new Uint8Array(128), t;
259
+ for (e[g] = Le | He, e[v] = Le | Ve, e[se] = Le, e[_] = Le | Ve, e[h] = Le | He, t = F; t <= fe; t++) e[t] = Re;
260
+ for (t = L; t <= N; t++) e[t] = Re;
261
+ for (t = x; t <= y; t++) e[t] = Re;
262
+ for (t = ge; t <= b; t++) e[t] = Re;
263
+ for (t = B; t <= V; t++) e[t] = Be;
264
+ for (t = H; t <= U; t++) e[t] = ze | Ue;
265
+ for (t = W; t <= G; t++) e[t] = ze;
266
+ return e;
267
+ })();
268
+ (function() {
269
+ let e = new Uint8Array(128);
270
+ return e[k] = Ge, e[x] = qe, e[A] = e[j] = e[b] = e[O] = Ke, e[y] = e[M] = e[N] = e[P] = e[v] = e[h] = e[F] = We, e[ee] = e[te] = e[ne] = We, e;
271
+ })();
272
+ var Ye = [];
273
+ function Xe(e) {
274
+ var t = e.indexOf("\r"), n = e.indexOf("\0");
275
+ if (t === -1 && n === -1) return e;
276
+ var r = e.length;
277
+ Ye.length = 0;
278
+ var i = 0, a = 0;
279
+ for (a = t === -1 ? n : n === -1 || t < n ? t : n; a < r; a++) {
280
+ var o = e.charCodeAt(a);
281
+ o === _ ? (i < a && Ye.push(e.slice(i, a)), a + 1 < r && e.charCodeAt(a + 1) === v && a++, Ye.push("\n"), i = a + 1) : o === 0 && (i < a && Ye.push(e.slice(i, a)), Ye.push("�"), i = a + 1);
282
+ }
283
+ return i < r && Ye.push(e.slice(i)), Ye.join("");
284
+ }
285
+ function Ze(e, t, n) {
286
+ for (var r = e, i = t.split("."), a = 0; a < i.length && (r = r?.[i[a]], r !== void 0);) a++;
287
+ return r || n;
288
+ }
289
+ function Qe(e) {
290
+ for (var t = !1, n = 0; n < e.length; n++) {
291
+ var r = e.charCodeAt(n);
292
+ if (r <= h || r === me || r === E || r === M || r === C || r === x || r === k || r === P || r === S || r === y || r >= 123) {
293
+ t = !0;
294
+ break;
295
+ }
296
+ }
297
+ if (!t) return e;
298
+ for (var i = "", n = 0; n < e.length; n++) {
299
+ var r = e.charCodeAt(n);
300
+ if (r === E && n + 2 < e.length) {
301
+ var a = e.charCodeAt(n + 1), o = e.charCodeAt(n + 2);
302
+ if ((a >= B && a <= V || a >= H && a <= R || a >= W && a <= ee) && (o >= B && o <= V || o >= H && o <= R || o >= W && o <= ee)) {
303
+ i += e[n] + e[n + 1] + e[n + 2], n += 2;
304
+ continue;
305
+ }
306
+ }
307
+ i += encodeURI(e[n]);
308
+ }
309
+ return i;
310
+ }
311
+ function $e(...e) {
312
+ return e.filter(Boolean).join(" ");
313
+ }
314
+ var et = new Set([
315
+ "title",
316
+ "textarea",
317
+ "style",
318
+ "xmp",
319
+ "iframe",
320
+ "noembed",
321
+ "noframes",
322
+ "script",
323
+ "plaintext"
324
+ ]), tt = /<(\/?)(title|textarea|style|xmp|iframe|noembed|noframes|script|plaintext)(\s|>|\/)/gi;
325
+ function nt(e) {
326
+ return et.has(e.toLowerCase());
327
+ }
328
+ function rt(e) {
329
+ return tt.lastIndex = 0, tt.test(e);
330
+ }
331
+ function it(e) {
332
+ return tt.lastIndex = 0, e.replace(tt, function(e, t, n, r) {
333
+ return "&lt;" + t + n + r;
334
+ });
335
+ }
336
+ var at = /^<([a-zA-Z][a-zA-Z0-9-]*)\s[^>]*>/, ot = /^<[A-Z]/, st = [
337
+ "script",
338
+ "pre",
339
+ "style",
340
+ "textarea"
341
+ ], ct = new Set(st), lt = /<(?:pre|script|style|textarea)\b/i, ut = new Set([
342
+ "table",
343
+ "thead",
344
+ "tbody",
345
+ "tfoot",
346
+ "tr",
347
+ "td",
348
+ "th"
349
+ ]), dt = new Uint8Array(128);
350
+ (function() {
351
+ for (var e = [
352
+ y,
353
+ A,
354
+ j,
355
+ b,
356
+ O,
357
+ x,
358
+ F,
359
+ M,
360
+ k,
361
+ xe,
362
+ te,
363
+ ne,
364
+ ee
365
+ ], t = 0; t < e.length; t++) dt[e[t]] = 1;
366
+ })();
367
+ var ft = /([a-zA-Z_][a-zA-Z0-9_-]*)=(?:"([^"]*)"|'([^']*)')/g;
368
+ function pt(e) {
369
+ return ct.has(e);
370
+ }
371
+ function mt(e) {
372
+ return lt.test(e);
373
+ }
374
+ function ht(e, t, n) {
375
+ for (var r = t, i = n; r < i && (e.charCodeAt(r) === h || e.charCodeAt(r) === g);) r++;
376
+ if (r >= i) return !1;
377
+ e.charCodeAt(r) === z && r++;
378
+ for (var a = 0; r < i;) {
379
+ for (; r < i && (e.charCodeAt(r) === h || e.charCodeAt(r) === g);) r++;
380
+ if (r >= i) break;
381
+ if (e.charCodeAt(r) === z && a > 0) {
382
+ for (var o = r + 1; o < i && (e.charCodeAt(o) === h || e.charCodeAt(o) === g);) o++;
383
+ if (o >= i) return !0;
384
+ }
385
+ if (e.charCodeAt(r) === L && r++, r >= i || e.charCodeAt(r) !== D) return !1;
386
+ for (; r < i && e.charCodeAt(r) === D;) r++;
387
+ for (r < i && e.charCodeAt(r) === L && r++, a++; r < i && (e.charCodeAt(r) === h || e.charCodeAt(r) === g);) r++;
388
+ if (r < i) if (e.charCodeAt(r) === z) r++;
389
+ else return !1;
390
+ }
391
+ return a > 0;
392
+ }
393
+ function gt(e, t) {
394
+ if (e.charCodeAt(t) !== M) return null;
395
+ let n = t + 1, r = e.length, i = !1;
396
+ e.charCodeAt(n) === fe && (n++, i = !0);
397
+ let a = n, o = e.charCodeAt(n);
398
+ if (!(o >= W && o <= G || o >= H && o <= U)) return null;
399
+ for (; n < r && (e.charCodeAt(n) >= W && e.charCodeAt(n) <= G || e.charCodeAt(n) >= H && e.charCodeAt(n) <= U || e.charCodeAt(n) >= B && e.charCodeAt(n) <= V || e.charCodeAt(n) === D);) n++;
400
+ let s = e.slice(a, n);
401
+ if (!s) return null;
402
+ let c = n;
403
+ for (; n < r && (e.charCodeAt(n) === h || e.charCodeAt(n) === g || e.charCodeAt(n) === v);) n++;
404
+ let l = e.slice(c, n);
405
+ if (n === c && n < r) {
406
+ var u = e.charCodeAt(n);
407
+ if (u !== C && u !== fe) return null;
408
+ }
409
+ let d = n, f = {}, p = !1;
410
+ for (; n < r;) {
411
+ let t = e.charCodeAt(n);
412
+ if (t === C) {
413
+ let t = e.slice(d, n);
414
+ return {
415
+ tag: s,
416
+ attrs: f,
417
+ selfClosing: !1,
418
+ end: n + 1,
419
+ rawAttrs: t,
420
+ whitespaceBeforeAttrs: l,
421
+ isClosing: i,
422
+ hasSpaceBeforeSlash: p
423
+ };
424
+ }
425
+ if (t === h || t === g || t === v) {
426
+ n++;
427
+ continue;
428
+ }
429
+ if (t === fe && n + 1 < r && e.charCodeAt(n + 1) === C) {
430
+ let t = e.slice(d, n);
431
+ return p = n > d && e.charCodeAt(n - 1) === h, {
432
+ tag: s,
433
+ attrs: f,
434
+ selfClosing: !0,
435
+ end: n + 2,
436
+ rawAttrs: t,
437
+ whitespaceBeforeAttrs: l,
438
+ isClosing: i,
439
+ hasSpaceBeforeSlash: p
440
+ };
441
+ }
442
+ var m = n, _ = e.charCodeAt(n);
443
+ if (!(_ >= W && _ <= G || _ >= H && _ <= U || _ === j || _ === L)) return null;
444
+ for (n++; n < r;) {
445
+ var b = e.charCodeAt(n);
446
+ if (b >= W && b <= G || b >= H && b <= U || b >= B && b <= V || b === j || b === de || b === L || b === D) n++;
447
+ else break;
448
+ }
449
+ for (var x = e.slice(m, n); n < r && (e.charCodeAt(n) === h || e.charCodeAt(n) === g);) n++;
450
+ if (e.charCodeAt(n) !== O) {
451
+ f[x] = "";
452
+ continue;
453
+ }
454
+ for (n++; n < r && (e.charCodeAt(n) === h || e.charCodeAt(n) === g);) n++;
455
+ var S = e.charCodeAt(n);
456
+ if (S === me || S === pe) {
457
+ n++;
458
+ for (var w = n; n < r && e.charCodeAt(n) !== S;) n++;
459
+ if (n >= r) return null;
460
+ if (f[x] = e.slice(w, n), n++, n < r) {
461
+ var T = e.charCodeAt(n);
462
+ if (T !== h && T !== g && T !== v && T !== C && T !== fe) return null;
463
+ }
464
+ } else if (S === ge) {
465
+ var E = 1, w = n;
466
+ for (n++; n < r && E > 0;) {
467
+ var b = e.charCodeAt(n);
468
+ b === ge ? E++ : b === _e && E--, n++;
469
+ }
470
+ f[x] = e.slice(w, n);
471
+ } else {
472
+ for (var w = n; n < r;) {
473
+ var k = e.charCodeAt(n);
474
+ if (k === h || k === g || k === C || k === v || k === me || k === pe || k === O || k === M || k === y) break;
475
+ n++;
476
+ }
477
+ if (n === w) return null;
478
+ f[x] = e.slice(w, n);
479
+ }
480
+ }
481
+ return null;
482
+ }
483
+ function _t(e, t, n) {
484
+ for (var r = 0, i = e.length, a = !1, o = !1; r < i;) {
485
+ for (var s = e.indexOf("\n", r), c = s < 0 ? i : s, l = r, u = 0; l < c && u < 4;) if (e.charCodeAt(l) === h) u++, l++;
486
+ else if (e.charCodeAt(l) === g) u += 4, l++;
487
+ else break;
488
+ if (l >= c) {
489
+ a = !1, r = s < 0 ? i : s + 1;
490
+ continue;
491
+ }
492
+ if (u < 4) {
493
+ var d = e.charCodeAt(l);
494
+ if (d === y || d === b) {
495
+ for (var f = d, p = 0, m = l; m < c && e.charCodeAt(m) === f;) p++, m++;
496
+ if (p >= 3) {
497
+ var _ = !0;
498
+ if (f === y) {
499
+ for (var T = m; T < c; T++) if (e.charCodeAt(T) === y) {
500
+ _ = !1;
501
+ break;
502
+ }
503
+ }
504
+ if (_) {
505
+ a = !1;
506
+ for (var E = s < 0 ? i : s + 1; E < i;) {
507
+ for (var O = E, k = 0; O < i && k < 4;) {
508
+ var M = e.charCodeAt(O);
509
+ if (M === h) k++, O++;
510
+ else if (M === g) k += 4, O++;
511
+ else break;
512
+ }
513
+ if (k < 4 && O < i && e.charCodeAt(O) === f) {
514
+ for (var N = 0; O < i && e.charCodeAt(O) === f;) N++, O++;
515
+ if (N >= p) {
516
+ for (; O < i && (e.charCodeAt(O) === h || e.charCodeAt(O) === g);) O++;
517
+ if (O >= i || e.charCodeAt(O) === v) {
518
+ r = O >= i ? i : O + 1;
519
+ break;
520
+ }
521
+ }
522
+ }
523
+ for (; E < i && e.charCodeAt(E) !== v;) E++;
524
+ E < i && E++;
525
+ }
526
+ E >= i && (r = i, o = !0);
527
+ continue;
528
+ }
529
+ }
530
+ }
531
+ }
532
+ for (var P = l; P < c && e.charCodeAt(P) === C;) {
533
+ P++, P < c && e.charCodeAt(P) === h && P++;
534
+ for (var F = 0; P < c && F < 4;) if (e.charCodeAt(P) === h) F++, P++;
535
+ else if (e.charCodeAt(P) === g) F += 4, P++;
536
+ else break;
537
+ if (F >= 4) break;
538
+ a = !1;
539
+ }
540
+ if (!a && u < 4 && P < c && e.charCodeAt(P) === x && !(P + 1 < i && e.charCodeAt(P + 1) === S)) {
541
+ var I = vt(e, P, t);
542
+ if (I) {
543
+ r = I, a = !1;
544
+ continue;
545
+ }
546
+ }
547
+ var L = e.charCodeAt(l);
548
+ if (L === w && u < 4) a = !1;
549
+ else if (u < 4 && (L === D || L === A || L === j)) {
550
+ for (var R = l, ee = 0; R < c;) {
551
+ var te = e.charCodeAt(R);
552
+ if (te === L) ee++;
553
+ else if (te !== h && te !== g) break;
554
+ R++;
555
+ }
556
+ a = !(ee >= 3 && R >= c);
557
+ } else a = !0;
558
+ r = s < 0 ? i : s + 1;
559
+ }
560
+ return o;
561
+ }
562
+ function vt(e, t, n) {
563
+ let r = e.length;
564
+ if (e.charCodeAt(t) !== x) return null;
565
+ let i = t + 1 < r && e.charCodeAt(t + 1) === S, a = t + 1;
566
+ for (; a < r;) {
567
+ var o = e.charCodeAt(a);
568
+ if (o === P) {
569
+ a++;
570
+ break;
571
+ }
572
+ if (o === x) return null;
573
+ o === k && a + 1 < r && a++, a++;
574
+ }
575
+ if (a > r || e.charCodeAt(a - 1) !== P) return null;
576
+ let s = e.slice(t + 1, a - 1);
577
+ if (s.length > 999) return null;
578
+ let c = Et(s);
579
+ if (!c || a >= r || e.charCodeAt(a) !== L) return null;
580
+ a++;
581
+ let l = !1;
582
+ for (; a < r;) {
583
+ let t = e.charCodeAt(a);
584
+ if (t === h || t === g) a++;
585
+ else if (t === v && !l) l = !0, a++;
586
+ else break;
587
+ }
588
+ if (i) {
589
+ let t = e.indexOf("\n", a), i = t < 0 ? r : t;
590
+ return n[c] = {
591
+ target: e.slice(a, i).trim(),
592
+ title: void 0
593
+ }, t < 0 ? r : t + 1;
594
+ }
595
+ var u;
596
+ if (a < r && e.charCodeAt(a) === M) {
597
+ a++;
598
+ for (var d = a; a < r && e.charCodeAt(a) !== C && e.charCodeAt(a) !== v;) e.charCodeAt(a) === k && a + 1 < r && a++, a++;
599
+ if (a >= r || e.charCodeAt(a) !== C) return null;
600
+ u = e.slice(d, a), a++;
601
+ for (var f = e.indexOf("\n", a), p = f < 0 ? r : f, m = a; m < p && (e.charCodeAt(m) === h || e.charCodeAt(m) === g);) m++;
602
+ if (m < p) {
603
+ if (m === a) return null;
604
+ var _ = e.charCodeAt(m);
605
+ if (_ !== me && _ !== pe && _ !== ve) return null;
606
+ }
607
+ } else {
608
+ for (var d = a, y = 0; a < r;) {
609
+ var o = e.charCodeAt(a);
610
+ if (o === ve) y++;
611
+ else if (o === ye) {
612
+ if (y === 0) break;
613
+ y--;
614
+ } else {
615
+ if (o === h || o === g || o === v) break;
616
+ o === k && a + 1 < r && a++;
617
+ }
618
+ a++;
619
+ }
620
+ if (u = e.slice(d, a), !u) return null;
621
+ }
622
+ for (; a < r && (e.charCodeAt(a) === h || e.charCodeAt(a) === g);) a++;
623
+ var b = e.indexOf("\n", a), w = b < 0 ? r : b, T, E = !1, D = a, O = a;
624
+ if (a === w && a < r) for (O = a + 1; O < r && (e.charCodeAt(O) === h || e.charCodeAt(O) === g);) O++;
625
+ if (O < r) {
626
+ var A = e.charCodeAt(O);
627
+ if (A === me || A === pe || A === ve) {
628
+ for (var j = A === ve ? 41 : A, N = O + 1, F = N; N < r;) {
629
+ var I = e.charCodeAt(N);
630
+ if (I === j) {
631
+ for (var R = N + 1; R < r && (e.charCodeAt(R) === h || e.charCodeAt(R) === g);) R++;
632
+ (R >= r || e.charCodeAt(R) === v) && (T = e.slice(F, N), E = !0, D = R < r ? R + 1 : r);
633
+ break;
634
+ }
635
+ if (I === k && N + 1 < r) {
636
+ N += 2;
637
+ continue;
638
+ }
639
+ if (I === v && N + 1 < r && e.charCodeAt(N + 1) === v) break;
640
+ N++;
641
+ }
642
+ if (!E && O === a) return null;
643
+ }
644
+ }
645
+ if (E) return n[c] || (n[c] = {
646
+ target: Ot(u),
647
+ title: T === void 0 ? T : J(Ot(T))
648
+ }), D;
649
+ for (; a < w && (e.charCodeAt(a) === h || e.charCodeAt(a) === g);) a++;
650
+ return a < w ? null : (n[c] || (n[c] = {
651
+ target: Ot(u),
652
+ title: T
653
+ }), b < 0 ? r : b + 1);
654
+ }
655
+ var yt = 1, bt = 2, Y = 4, xt = 8, St = 16, Ct = 32, wt = 64, X = new Uint8Array(128);
656
+ X[h] = yt, X[g] = yt, X[v] = yt | bt, X[_] = yt | bt, X[w] = Ct | Y, X[C] = Ct | Y, X[D] = Ct | wt | Y, X[he] = Ct | Y, X[A] = Ct | wt | Y, X[j] = Ct | wt | Y, X[y] = Ct | wt | Y, X[b] = Ct | wt | Y, X[M] = Ct | wt | Y, X[x] = wt | Y, X[F] = wt | Y, X[z] = Ct | Y;
657
+ for (let e = B; e <= V; e++) X[e] = St | Ct;
658
+ for (let e = H; e <= U; e++) X[e] = xt;
659
+ for (let e = W; e <= G; e++) X[e] = xt;
660
+ X[k] = Y, X[P] = Y, X[ve] = Y, X[ye] = Y, X[L] = Y, X[me] = Y, X[pe] = Y, X[I] = Y, X[O] = Y, X[T] = Y, X[E] = Y, X[ce] = Y, X[de] = Y, X[fe] = Y, X[le] = Y, X[ue] = Y, X[N] = Y, X[S] = Y, X[ge] = Y, X[_e] = Y;
661
+ function Tt(e) {
662
+ if (e.indexOf("[") < 0 && e.indexOf("]") < 0) return !1;
663
+ for (var t = 0; t < e.length; t++) {
664
+ if (e.charCodeAt(t) === k) {
665
+ t++;
666
+ continue;
667
+ }
668
+ if (e.charCodeAt(t) === x || e.charCodeAt(t) === P) return !0;
669
+ }
670
+ return !1;
671
+ }
672
+ function Et(e) {
673
+ var t = e.replace(/\s+/g, " ").trim();
674
+ return t.indexOf("ẞ") === -1 ? t.toLowerCase() : t.replace(/\u1E9E/g, "ss").toLowerCase();
675
+ }
676
+ function Dt(e) {
677
+ return e < Se ? X[e] : e === oe ? yt : 0;
678
+ }
679
+ function Ot(e) {
680
+ return e.replace(/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, "$1");
681
+ }
682
+ function kt(e, t) {
683
+ var n = e.indexOf("\n", t);
684
+ return n < 0 ? e.length : n;
685
+ }
686
+ function Z(e, t) {
687
+ let n = kt(e, t);
688
+ return n < e.length ? n + 1 : n;
689
+ }
690
+ function At(e, t, n) {
691
+ for (; t < n;) {
692
+ let n = e.charCodeAt(t);
693
+ if (n !== h && n !== g) break;
694
+ t++;
695
+ }
696
+ return t;
697
+ }
698
+ function jt(e, t) {
699
+ let n = Z(e, t);
700
+ for (; n < e.length;) {
701
+ let t = kt(e, n);
702
+ if (Pt(e, n, t)) return n;
703
+ n = Z(e, n);
704
+ }
705
+ return e.length;
706
+ }
707
+ function Mt(e, t, n, r) {
708
+ let i = 0;
709
+ for (; t + i < n && e.charCodeAt(t + i) === r;) i++;
710
+ return i;
711
+ }
712
+ var Q = 0, $ = 0;
713
+ function Nt(e, t, n) {
714
+ for (Q = 0, $ = 0; t + $ < n;) {
715
+ let n = e.charCodeAt(t + $);
716
+ if (n === g) Q += 4 - Q % 4;
717
+ else if (n === h) Q++;
718
+ else break;
719
+ $++;
720
+ }
721
+ }
722
+ function Pt(e, t, n) {
723
+ return At(e, t, n) >= n;
724
+ }
725
+ function Ft(e, t, n, r) {
726
+ let i = kt(e, t);
727
+ if (Nt(e, t, i), Q > 3) return null;
728
+ let a = t + $;
729
+ if (e.charCodeAt(a) !== w) return null;
730
+ let o = Mt(e, a, i, 35);
731
+ if (o < 1 || o > 6 || (a += o, a < i && e.charCodeAt(a) !== h && e.charCodeAt(a) !== g)) return null;
732
+ a = At(e, a, i);
733
+ for (var s = i; s > a && e.charCodeAt(s - 1) === h;) s--;
734
+ for (var c = s; s > a && e.charCodeAt(s - 1) === w;) s--;
735
+ if (s < c) if (s === a || e.charCodeAt(s - 1) === h) for (; s > a && e.charCodeAt(s - 1) === h;) s--;
736
+ else s = c;
737
+ let l = e.slice(a, s), u = On(l, 0, l.length, n, r), d = (r?.slugify || Ne)(l);
738
+ return {
739
+ node: {
740
+ type: K.heading,
741
+ level: o,
742
+ children: u,
743
+ id: d
744
+ },
745
+ end: Z(e, i)
746
+ };
747
+ }
748
+ function It(e, t, n) {
749
+ var r = e.charCodeAt(t);
750
+ if (r !== O && r !== D) return !1;
751
+ for (var i = t; i < n && e.charCodeAt(i) === r;) i++;
752
+ for (; i < n && (e.charCodeAt(i) === h || e.charCodeAt(i) === g);) i++;
753
+ return i >= n;
754
+ }
755
+ function Lt(e, t) {
756
+ let n = kt(e, t);
757
+ if (Nt(e, t, n), Q > 3) return null;
758
+ let r = t + $, i = e.charCodeAt(r);
759
+ if (i !== D && i !== A && i !== j) return null;
760
+ let a = 0;
761
+ for (; r < n;) {
762
+ let t = e.charCodeAt(r);
763
+ if (t === i) a++;
764
+ else if (t !== h && t !== g) return null;
765
+ r++;
766
+ }
767
+ return a < 3 ? null : {
768
+ node: { type: K.breakThematic },
769
+ end: Z(e, n)
770
+ };
771
+ }
772
+ function Rt(e, t, n) {
773
+ let r = kt(e, t);
774
+ if (Nt(e, t, r), Q > 3) return null;
775
+ let i = Q, a = t + $, o = e.charCodeAt(a);
776
+ if (o !== y && o !== b) return null;
777
+ let s = Mt(e, a, r, o);
778
+ if (s < 3) return null;
779
+ a += s;
780
+ let c = At(e, a, r), l = r;
781
+ if (o === y) {
782
+ for (let t = c; t < r; t++) if (e.charCodeAt(t) === y) return null;
783
+ }
784
+ for (; l > c && (e.charCodeAt(l - 1) === h || e.charCodeAt(l - 1) === g);) l--;
785
+ let u = e.slice(c, l), d = "", f = "", p = u.indexOf(" ");
786
+ p === -1 ? d = u : (d = u.slice(0, p), f = u.slice(p + 1).trim()), d = Ot(d);
787
+ var m = void 0;
788
+ if (f) {
789
+ ft.lastIndex = 0;
790
+ for (var _; (_ = ft.exec(f)) !== null;) m ||= {}, m[_[1]] = _[2] === void 0 ? _[3] : _[2];
791
+ }
792
+ let x = Z(e, r), S = x, C = e.length;
793
+ for (; S < e.length;) {
794
+ let t = kt(e, S);
795
+ if (Nt(e, S, t), Q < 4) {
796
+ let n = S + $;
797
+ var w = Mt(e, n, t, o);
798
+ if (w >= s && Pt(e, n + w, t)) {
799
+ C = Z(e, t);
800
+ break;
801
+ }
802
+ }
803
+ S = Z(e, t);
804
+ }
805
+ var T;
806
+ if (i === 0) T = S > x && e.charCodeAt(S - 1) === v ? e.slice(x, S - 1) : e.slice(x, S);
807
+ else {
808
+ T = "";
809
+ for (var E = x; E < S;) {
810
+ var D = kt(e, E);
811
+ Nt(e, E, D);
812
+ var O = Math.min($, i);
813
+ T += e.slice(E + O, D) + "\n", E = Z(e, D);
814
+ }
815
+ T.length > 0 && T.charCodeAt(T.length - 1) === v && (T = T.slice(0, -1));
816
+ }
817
+ return {
818
+ node: {
819
+ type: K.codeBlock,
820
+ lang: d || void 0,
821
+ text: T,
822
+ infoString: f || void 0,
823
+ attrs: m
824
+ },
825
+ end: C
826
+ };
827
+ }
828
+ function zt(e, t) {
829
+ if (Nt(e, t, kt(e, t)), Q < 4) return null;
830
+ let n = "", r = t;
831
+ for (; r < e.length;) {
832
+ let t = kt(e, r);
833
+ if (Nt(e, r, t), Pt(e, r, t)) {
834
+ for (var i = 0, a = Z(e, t); a < e.length;) {
835
+ var o = kt(e, a);
836
+ if (Pt(e, a, o)) {
837
+ i++, a = Z(e, o);
838
+ continue;
839
+ }
840
+ if (Nt(e, a, o), Q >= 4) {
841
+ for (var s = 0; s <= i; s++) n += "\n";
842
+ r = a;
843
+ break;
844
+ }
845
+ break;
846
+ }
847
+ if (r !== a) break;
848
+ continue;
849
+ }
850
+ if (Q < 4) break;
851
+ let f = 0, p = 0;
852
+ var c = 0;
853
+ for (let n = r; n < t && p < 4; n++) {
854
+ if (e.charCodeAt(n) === g) {
855
+ var l = 4 - p % 4;
856
+ p + l > 4 && (c = p + l - 4), p += l;
857
+ } else p++;
858
+ f++;
859
+ }
860
+ var u = "";
861
+ if (c > 0) for (var d = 0; d < c; d++) u += " ";
862
+ u += e.slice(r + f, t), n += u + "\n", r = Z(e, t);
863
+ }
864
+ for (; n.length > 0 && n.charCodeAt(n.length - 1) === v;) n = n.slice(0, -1);
865
+ for (; n.length > 0 && n.charCodeAt(n.length - 1) === v;) n = n.slice(0, -1);
866
+ return n ? {
867
+ node: {
868
+ type: K.codeBlock,
869
+ text: n
870
+ },
871
+ end: r
872
+ } : null;
873
+ }
874
+ function Bt(e, t, n, r) {
875
+ if (Nt(e, t, kt(e, t)), Q > 3) return null;
876
+ let i = t + $;
877
+ if (e.charCodeAt(i) !== C) return null;
878
+ let a = "", o = t, s, c = !1, l = !1, u = !1;
879
+ for (; o < e.length;) {
880
+ let t = kt(e, o);
881
+ Nt(e, o, t);
882
+ let n = o + $;
883
+ if (e.charCodeAt(n) === C) {
884
+ let r = n + 1;
885
+ var d = Q + 1, f = !1;
886
+ if (r < t) {
887
+ var p = e.charCodeAt(r);
888
+ p === h ? (r++, d++, f = !0) : p === g && (f = !0);
889
+ }
890
+ for (var m = "", _ = !1, v = r; v < t; v++) if (e.charCodeAt(v) === g) {
891
+ _ = !0;
892
+ break;
893
+ }
894
+ if (_) {
895
+ var x = d;
896
+ if (f && r < t && e.charCodeAt(r) === g) {
897
+ for (var S = 4 - x % 4, T = 0; T < S - 1; T++) m += " ";
898
+ x += S, r++;
899
+ }
900
+ for (var E = r; E < t; E++) if (e.charCodeAt(E) === g) {
901
+ for (var O = 4 - x % 4, k = 0; k < O; k++) m += " ";
902
+ x += O;
903
+ } else m += e[E], x++;
904
+ } else m = e.slice(r, t);
905
+ if (!a && !s) {
906
+ let n = m.match(/^\[!([A-Za-z]+)\]\s*$/);
907
+ if (n) {
908
+ s = n[1].toUpperCase(), o = Z(e, t);
909
+ continue;
910
+ }
911
+ }
912
+ a += m + "\n";
913
+ var N = m.trimStart();
914
+ N.startsWith("```") || N.startsWith("~~~") ? u = !u : m.startsWith(" ") || m.startsWith(" ") ? u = !0 : N.length > 0 && !u && (u = !1), l = N.length > 0, o = Z(e, t);
915
+ } else if (a && !Pt(e, o, t) && l) {
916
+ if (Q < 4) {
917
+ var P = o + $, F = P < t ? e.charCodeAt(P) : 0;
918
+ if (F === w || F === C || F === y || F === b || F === M || (F === D || F === A || F === j) && Lt(e, o) || (F === D || F === A || F === he) && P + 1 < t && (e.charCodeAt(P + 1) === h || e.charCodeAt(P + 1) === g)) break;
919
+ if (F >= B && F <= V) {
920
+ for (var I = P; I < t && e.charCodeAt(I) >= B && e.charCodeAt(I) <= V;) I++;
921
+ if (I < t && (e.charCodeAt(I) === de || e.charCodeAt(I) === ye)) break;
922
+ }
923
+ }
924
+ if (u) break;
925
+ a += e.slice(o, t) + "\n", c = !0, o = Z(e, t);
926
+ } else break;
927
+ }
928
+ if (!a && !s) return null;
929
+ var { inBlockQuote: L, f: R } = n;
930
+ n.inBlockQuote = !0, c && (n.f = !0);
931
+ let ee = An(a || "", n, r);
932
+ n.inBlockQuote = L, n.f = R;
933
+ let te = {
934
+ type: K.blockQuote,
935
+ children: ee
936
+ };
937
+ return s && (te.alert = s), {
938
+ node: te,
939
+ end: o
940
+ };
941
+ }
942
+ function Vt(e, t, n) {
943
+ for (var r = 0, i = t; i < n; i++) e.charCodeAt(i) === g ? r += 4 - r % 4 : r++;
944
+ return r;
945
+ }
946
+ function Ht(e, t, n) {
947
+ if (Nt(e, t, n), Q > 3) return null;
948
+ var r = t + $;
949
+ if (r >= n) return null;
950
+ var i = e.charCodeAt(r), a = Q, o = r;
951
+ if (i === D || i === A || i === he) {
952
+ if (o = r + 1, o < n && e.charCodeAt(o) !== h && e.charCodeAt(o) !== g && e.charCodeAt(o) !== v) return null;
953
+ } else if (i >= B && i <= V) {
954
+ for (var s = r; s < n && s - r < 9;) {
955
+ var c = e.charCodeAt(s);
956
+ if (c < B || c > V) break;
957
+ s++;
958
+ }
959
+ if (s > r && s < n) {
960
+ var l = e.charCodeAt(s);
961
+ if (l === de || l === ye) {
962
+ if (o = s + 1, o < n && e.charCodeAt(o) !== h && e.charCodeAt(o) !== g && e.charCodeAt(o) !== v) return null;
963
+ } else return null;
964
+ } else return null;
965
+ } else return null;
966
+ var u = o, d = Vt(e, t, o), f = 0, p = u, m = d;
967
+ if (u >= n) return {
968
+ ordered: i >= B && i <= V,
969
+ marker: i >= B && i <= V ? e[s] : e[r],
970
+ start: i >= B && i <= V ? parseInt(e.slice(r, s), 10) : void 0,
971
+ contentStart: u,
972
+ contentCol: d + 1,
973
+ markerCol: a,
974
+ isEmpty: !0
975
+ };
976
+ for (; p < n && (e.charCodeAt(p) === h || e.charCodeAt(p) === g);) {
977
+ if (e.charCodeAt(p) === g) {
978
+ var _ = 4 - m % 4;
979
+ m += _;
980
+ } else m++;
981
+ p++, f++;
982
+ }
983
+ var y = p >= n, b = m - d;
984
+ return y || b > 4 ? (m = d + 1, p = u + 1, f = 1) : f === 0 && (m = d + 1, p = u, f = 1), {
985
+ ordered: i >= B && i <= V,
986
+ marker: i >= B && i <= V ? e[s] : e[r],
987
+ start: i >= B && i <= V ? parseInt(e.slice(r, s), 10) : void 0,
988
+ contentStart: p,
989
+ contentCol: m,
990
+ markerCol: a,
991
+ isEmpty: y
992
+ };
993
+ }
994
+ var Ut = 0;
995
+ function Wt(e, t, n, r) {
996
+ var i = 0, a = t;
997
+ for (Ut = 0; a < n && i < r;) {
998
+ var o = e.charCodeAt(a);
999
+ if (o === g) {
1000
+ var s = 4 - i % 4;
1001
+ if (i + s > r) {
1002
+ Ut = i + s - r, a++, i = r;
1003
+ break;
1004
+ }
1005
+ i += s;
1006
+ } else if (o === h) i++;
1007
+ else break;
1008
+ a++;
1009
+ }
1010
+ return a;
1011
+ }
1012
+ function Gt(e, t, n, r) {
1013
+ var i = kt(e, t), a = Ht(e, t, i);
1014
+ if (!a) return null;
1015
+ var o = [], s = t, c = a.contentCol, l = "", u = a.isEmpty, d = !1, f = !1;
1016
+ if (!a.isEmpty) {
1017
+ for (var p = !1, m = a.contentStart; m < i; m++) if (e.charCodeAt(m) === g) {
1018
+ p = !0;
1019
+ break;
1020
+ }
1021
+ if (p) {
1022
+ var S = "", T = Vt(e, t, a.contentStart), E = T - a.contentCol;
1023
+ if (E > 0) for (var O = 0; O < E; O++) S += " ";
1024
+ for (var k = a.contentStart; k < i; k++) if (e.charCodeAt(k) === g) {
1025
+ for (var N = 4 - T % 4, F = 0; F < N; F++) S += " ";
1026
+ T += N;
1027
+ } else S += e[k], T++;
1028
+ l = S + "\n";
1029
+ } else l = e.slice(a.contentStart, i) + "\n";
1030
+ }
1031
+ for (s = Z(e, i); s < e.length;) {
1032
+ var I = kt(e, s);
1033
+ Nt(e, s, I);
1034
+ var L = e.charCodeAt(s + $);
1035
+ if (Q < c && (L === D || L === A || L === j) && Q <= 3 && Lt(e, s)) break;
1036
+ var R = Ht(e, s, I);
1037
+ if (R && R.ordered === a.ordered && R.marker === a.marker && R.markerCol < c) {
1038
+ o.push({
1039
+ contentCol: c,
1040
+ raw: l,
1041
+ hasBlankAfter: d,
1042
+ isEmpty: u
1043
+ }), d && (f = !0), c = R.contentCol, u = R.isEmpty, d = !1, l = R.isEmpty ? "" : e.slice(R.contentStart, I) + "\n", s = Z(e, I);
1044
+ continue;
1045
+ }
1046
+ if (Pt(e, s, I)) {
1047
+ l += "\n", s = Z(e, I);
1048
+ for (var ee = !1, te = 0; te < l.length; te++) {
1049
+ var ne = l.charCodeAt(te);
1050
+ if (ne !== v && ne !== _ && ne !== h && ne !== g) {
1051
+ ee = !0;
1052
+ break;
1053
+ }
1054
+ }
1055
+ if (u && !ee) if (s < e.length) {
1056
+ var re = kt(e, s), ie = Ht(e, s, re);
1057
+ if (!ie || ie.ordered !== a.ordered || ie.marker !== a.marker) break;
1058
+ d = !0;
1059
+ } else break;
1060
+ if (s < e.length) {
1061
+ var ae = kt(e, s);
1062
+ Nt(e, s, ae);
1063
+ var oe = e.charCodeAt(s + $);
1064
+ if ((oe === D || oe === A || oe === j) && Q <= 3 && Lt(e, s)) break;
1065
+ var se = Ht(e, s, ae);
1066
+ if (se && se.ordered === a.ordered && se.marker === a.marker && se.markerCol < c) {
1067
+ d = !0;
1068
+ continue;
1069
+ }
1070
+ if (!Pt(e, s, ae) && Q < c) break;
1071
+ }
1072
+ continue;
1073
+ }
1074
+ if (Q >= c) {
1075
+ var ce = Wt(e, s, I, c);
1076
+ if (Ut > 0) {
1077
+ for (var le = "", ue = c, de = 0; de < Ut; de++) le += " ", ue++;
1078
+ for (var fe = ce; fe < I; fe++) if (e.charCodeAt(fe) === g) {
1079
+ for (var pe = 4 - ue % 4, me = 0; me < pe; me++) le += " ";
1080
+ ue += pe;
1081
+ } else le += e[fe], ue++;
1082
+ l += le + "\n";
1083
+ } else l += e.slice(ce, I) + "\n";
1084
+ s = Z(e, I);
1085
+ continue;
1086
+ }
1087
+ for (var z = !1, ge = 0; ge < l.length; ge++) {
1088
+ var _e = l.charCodeAt(ge);
1089
+ if (_e !== v && _e !== _ && _e !== h && _e !== g) {
1090
+ z = !0;
1091
+ break;
1092
+ }
1093
+ }
1094
+ if (!d && z && !u) {
1095
+ var ve = s + $, ye = e.charCodeAt(ve);
1096
+ if (!(ye === w || ye === C || ye === M || ye === y || ye === b || (ye === D || ye === A || ye === j || ye === he) && (Lt(e, s) !== null || Ht(e, s, I) !== null) || ye >= B && ye <= V && Ht(e, s, I) !== null)) {
1097
+ l += "" + e.slice(ve, I) + "\n", s = Z(e, I);
1098
+ continue;
1099
+ }
1100
+ }
1101
+ break;
1102
+ }
1103
+ if (o.push({
1104
+ contentCol: c,
1105
+ raw: l,
1106
+ hasBlankAfter: d,
1107
+ isEmpty: u
1108
+ }), o.length === 0) return null;
1109
+ var be = f;
1110
+ if (!be) for (var xe = 0; xe < o.length; xe++) {
1111
+ if (o[xe].hasBlankAfter && xe < o.length - 1) {
1112
+ be = !0;
1113
+ break;
1114
+ }
1115
+ if (!o[xe].isEmpty) {
1116
+ for (var H = o[xe].raw, U = H.length, W = 0, G = !1, Se = !1, Ce = !1, we = !1, Te = 0, Ee = 0, De = -1; W < U;) {
1117
+ var q = H.indexOf("\n", W);
1118
+ if (q < 0 && (q = U), we) {
1119
+ Nt(H, W, q);
1120
+ for (var J = H.slice(W + $, q), Oe = 0; Oe < J.length && J.charCodeAt(Oe) === Te;) Oe++;
1121
+ Oe >= Ee && J.slice(Oe).trim() === "" && (we = !1), W = q < U ? q + 1 : U;
1122
+ continue;
1123
+ }
1124
+ if (Pt(H, W, q)) {
1125
+ De >= 0 ? Ce = !0 : G && (Se = !0), W = q < U ? q + 1 : U;
1126
+ continue;
1127
+ }
1128
+ if (Nt(H, W, q), De >= 0) {
1129
+ if (Q >= De) {
1130
+ W = q < U ? q + 1 : U;
1131
+ continue;
1132
+ }
1133
+ var ke = Ht(H, W, q);
1134
+ if (ke && ke.markerCol < De && ke.contentCol <= De) {
1135
+ W = q < U ? q + 1 : U;
1136
+ continue;
1137
+ }
1138
+ if (ke) {
1139
+ W = q < U ? q + 1 : U;
1140
+ continue;
1141
+ }
1142
+ De = -1, Ce &&= (Se = !0, !1);
1143
+ }
1144
+ var Ae = H.slice(W + $, q), je = Ae.charCodeAt(0);
1145
+ if ((je === y || je === b) && Q <= 3) {
1146
+ for (var Me = 0; Me < Ae.length && Ae.charCodeAt(Me) === je;) Me++;
1147
+ if (Me >= 3) {
1148
+ if (Se && G) {
1149
+ be = !0;
1150
+ break;
1151
+ }
1152
+ we = !0, Te = je, Ee = Me, G = !0, W = q < U ? q + 1 : U;
1153
+ continue;
1154
+ }
1155
+ }
1156
+ var Ne = Q <= 3 ? Ht(H, W, q) : null;
1157
+ if (Ne && G) {
1158
+ if (Se) {
1159
+ be = !0;
1160
+ break;
1161
+ }
1162
+ De = Ne.contentCol, Ce = !1, W = q < U ? q + 1 : U, G = !0;
1163
+ continue;
1164
+ }
1165
+ if (Se) {
1166
+ be = !0;
1167
+ break;
1168
+ }
1169
+ G = !0, W = q < U ? q + 1 : U;
1170
+ }
1171
+ if (be) break;
1172
+ }
1173
+ }
1174
+ for (var Pe = [], Fe = 0; Fe < o.length; Fe++) {
1175
+ for (var Ie = o[Fe], Le = Ie.raw, Re = Le.length; Re > 0 && Le.charCodeAt(Re - 1) === v;) Re--;
1176
+ var ze = Re < Le.length ? Le.slice(0, Re) : Le, Be = null;
1177
+ if (ze.length >= 3 && ze.charCodeAt(0) === x) {
1178
+ var Ve = ze[1];
1179
+ (Ve === " " || Ve === "x" || Ve === "X") && ze.charCodeAt(2) === P && (Be = {
1180
+ type: K.gfmTask,
1181
+ completed: Ve === "x" || Ve === "X"
1182
+ }, ze = ze.slice(3));
1183
+ }
1184
+ var He;
1185
+ if (Ie.isEmpty && ze.trim() === "") He = [];
1186
+ else if (be) {
1187
+ var Ue = n.inList;
1188
+ n.inList = !0, He = An(ze, n, r), n.inList = Ue;
1189
+ } else {
1190
+ var We = n.inList;
1191
+ if (n.inList = !0, He = An(ze, n, r), n.inList = We, He.length === 1 && He[0].type === K.paragraph) He = He[0].children;
1192
+ else {
1193
+ for (var Ge = [], Ke = 0; Ke < He.length; Ke++) if (He[Ke].type === K.paragraph) for (var qe = He[Ke].children, Je = 0; Je < qe.length; Je++) Ge.push(qe[Je]);
1194
+ else Ge.push(He[Ke]);
1195
+ He = Ge;
1196
+ }
1197
+ }
1198
+ Be ? Pe.push([
1199
+ Be,
1200
+ {
1201
+ type: K.text,
1202
+ text: " "
1203
+ },
1204
+ ...He
1205
+ ]) : Pe.push(He);
1206
+ }
1207
+ return {
1208
+ node: {
1209
+ type: a.ordered ? K.orderedList : K.unorderedList,
1210
+ start: a.ordered ? a.start : void 0,
1211
+ items: Pe
1212
+ },
1213
+ end: s
1214
+ };
1215
+ }
1216
+ var Kt = new Set(/* @__PURE__ */ "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".split("."));
1217
+ function qt(e, t, n) {
1218
+ let r = {};
1219
+ for (let [o, s] of Object.entries(e)) {
1220
+ let e = o, c = o.toLowerCase();
1221
+ if (c === "style" && typeof s == "string") {
1222
+ let t = {}, n = [], i = 0, a = 0;
1223
+ for (let e = 0; e < s.length; e++) {
1224
+ let t = s.charCodeAt(e);
1225
+ t === ve ? i++ : t === ye ? i-- : t === le && i === 0 && (n.push(s.slice(a, e)), a = e + 1);
1226
+ }
1227
+ a < s.length && n.push(s.slice(a));
1228
+ let o = !1;
1229
+ n.forEach((e) => {
1230
+ let n = e.indexOf(":");
1231
+ if (n === -1) return;
1232
+ let r = e.slice(0, n).trim(), i = e.slice(n + 1).trim();
1233
+ if (r && i) {
1234
+ if (/url\s*\(\s*(javascript|vbscript|data:(?!image\/))/i.test(i)) {
1235
+ o = !0;
1236
+ return;
1237
+ }
1238
+ let e = r.indexOf("-") === -1 ? r : r.replace(/-([a-z])/g, (e, t) => t.toUpperCase());
1239
+ t[e] = i;
1240
+ }
1241
+ }), !o && Object.keys(t).length > 0 && (r[e] = t);
1242
+ } else if ((c === "href" || c === "src") && n?.sanitizer) {
1243
+ let i = n.sanitizer(s, t, c);
1244
+ i !== null && (r[e] = i);
1245
+ } else if (s === "") r[e] = !0;
1246
+ else if (s.length >= 2 && s.charCodeAt(0) === ge && s.charCodeAt(s.length - 1) === _e) {
1247
+ var i = s.slice(1, -1);
1248
+ if (i.length > 0) {
1249
+ var a = i.charCodeAt(0);
1250
+ if (a === x || a === ge) try {
1251
+ r[e] = JSON.parse(i);
1252
+ continue;
1253
+ } catch {}
1254
+ }
1255
+ if (i === "true") {
1256
+ r[e] = !0;
1257
+ continue;
1258
+ }
1259
+ if (i === "false") {
1260
+ r[e] = !1;
1261
+ continue;
1262
+ }
1263
+ if (n?.evalUnserializableExpressions) try {
1264
+ r[e] = (0, eval)("(" + i + ")");
1265
+ continue;
1266
+ } catch {}
1267
+ r[e] = i;
1268
+ } else r[e] = s;
1269
+ }
1270
+ return r;
1271
+ }
1272
+ function Jt(e, t, n) {
1273
+ let r = t.length;
1274
+ var i = t.charCodeAt(0);
1275
+ i >= H && i <= U && (i += Ce);
1276
+ for (let o = n; o <= e.length - r; o++) {
1277
+ var a = e.charCodeAt(o);
1278
+ if (a >= H && a <= U && (a += Ce), a !== i) continue;
1279
+ let n = !0;
1280
+ for (let i = 1; i < r; i++) {
1281
+ let r = e.charCodeAt(o + i), a = t.charCodeAt(i);
1282
+ if (r >= H && r <= U && (r += Ce), a >= H && a <= U && (a += Ce), r !== a) {
1283
+ n = !1;
1284
+ break;
1285
+ }
1286
+ }
1287
+ if (n) return o;
1288
+ }
1289
+ return -1;
1290
+ }
1291
+ function Yt(e, t, n) {
1292
+ let r = t.length;
1293
+ var i = t.charCodeAt(0);
1294
+ i >= H && i <= U && (i += Ce);
1295
+ for (let o = Math.min(n, e.length - r); o >= 0; o--) {
1296
+ var a = e.charCodeAt(o);
1297
+ if (a >= H && a <= U && (a += Ce), a !== i) continue;
1298
+ let n = !0;
1299
+ for (let i = 1; i < r; i++) {
1300
+ let r = e.charCodeAt(o + i), a = t.charCodeAt(i);
1301
+ if (r >= H && r <= U && (r += Ce), a >= H && a <= U && (a += Ce), r !== a) {
1302
+ n = !1;
1303
+ break;
1304
+ }
1305
+ }
1306
+ if (n) return o;
1307
+ }
1308
+ return -1;
1309
+ }
1310
+ var Xt = -1;
1311
+ function Zt(e, t, n) {
1312
+ let r = n.toLowerCase(), i = "<" + r, a = "</" + r, o = 1, s = t, c = e.length;
1313
+ for (Xt = -1; s < c && o > 0;) {
1314
+ let t = Jt(e, i, s), n = Jt(e, a, s);
1315
+ if (n === -1) return -1;
1316
+ if (t !== -1 && t < n) {
1317
+ let n = gt(e, t);
1318
+ n ? (n.tag.toLowerCase() === r && !n.isClosing && !n.selfClosing && !Ie(n.tag) && o++, s = n.end) : s = t + 1;
1319
+ } else {
1320
+ var l = n + a.length, u = l < c ? e.charCodeAt(l) : 62;
1321
+ if ((u === C || u === h || u === g || u === v) && (o--, o === 0)) {
1322
+ Xt = n;
1323
+ let t = n + a.length;
1324
+ for (; t < c && e.charCodeAt(t) !== C;) t++;
1325
+ return t + 1;
1326
+ }
1327
+ s = n + 1;
1328
+ }
1329
+ }
1330
+ return -1;
1331
+ }
1332
+ function Qt(e, t, n, r) {
1333
+ if (r.ignoreHTMLBlocks || r.disableParsingRawHTML) return null;
1334
+ var i = kt(e, t);
1335
+ if (Nt(e, t, i), Q > 3 && !n.inHTML) return null;
1336
+ var a = t + $;
1337
+ if (e.charCodeAt(a) !== M) return null;
1338
+ var o = e.indexOf(">", a + 1);
1339
+ if (o !== -1 && o < i) {
1340
+ var s = e.slice(a + 1, o);
1341
+ if (/^[a-zA-Z][a-zA-Z0-9+.-]*:/.test(s) || /^[^\s@]+@[^\s@]+$/.test(s)) return null;
1342
+ }
1343
+ var c = $t(e, a);
1344
+ if (c >= 1 && c <= 5) {
1345
+ var l = e.length;
1346
+ if (c === 1) {
1347
+ for (var u = e.length, d = 0; d < st.length; d++) {
1348
+ var f = Jt(e, "</" + st[d] + ">", a);
1349
+ f >= 0 && f < u && (u = f);
1350
+ }
1351
+ if (u < e.length) {
1352
+ var p = e.indexOf(">", u);
1353
+ l = p >= 0 ? Z(e, p + 1) : e.length;
1354
+ }
1355
+ } else {
1356
+ var m = c === 2 ? "-->" : c === 3 ? "?>" : c === 4 ? ">" : "]]>", _ = e.indexOf(m, a);
1357
+ _ >= 0 && (l = Z(e, _ + m.length));
1358
+ }
1359
+ var y = e.slice(a, l);
1360
+ if (c >= 2) return {
1361
+ node: {
1362
+ type: K.htmlComment,
1363
+ text: y,
1364
+ raw: !0,
1365
+ endPos: l
1366
+ },
1367
+ end: l
1368
+ };
1369
+ var b = "div", x = y.match(/^<\/?([a-zA-Z][a-zA-Z0-9-]*)/);
1370
+ x && (b = x[1]);
1371
+ var S = gt(e, a), w = {}, T;
1372
+ S && !S.isClosing && (w = qt(S.attrs, b, r), T = S.whitespaceBeforeAttrs + S.rawAttrs);
1373
+ var E = [], D = Jt(y, "</" + b.toLowerCase(), 0), O = y, k = "";
1374
+ if (S && S.isClosing) for (O = y.slice(S.end - a); O.length > 0 && O.charCodeAt(O.length - 1) === v;) O = O.slice(0, -1);
1375
+ else if (S && !S.isClosing) {
1376
+ var A = S.end - a;
1377
+ if (D !== -1) for (O = y.slice(A), O.charCodeAt(0) === v && (O = O.slice(1)); O.length > 0 && O.charCodeAt(O.length - 1) === v;) O = O.slice(0, -1);
1378
+ else for (O = y; O.length > 0 && O.charCodeAt(O.length - 1) === v;) O = O.slice(0, -1);
1379
+ D !== -1 && (k = y.slice(A, D).trim());
1380
+ }
1381
+ var j = S ? S.isClosing : !1;
1382
+ return {
1383
+ node: {
1384
+ type: K.htmlBlock,
1385
+ tag: b,
1386
+ attrs: w,
1387
+ e: T,
1388
+ children: E,
1389
+ a: O,
1390
+ text: k,
1391
+ c: !0,
1392
+ b: j,
1393
+ endPos: l,
1394
+ canInterruptParagraph: !0
1395
+ },
1396
+ end: l
1397
+ };
1398
+ }
1399
+ if (c === 6 || c === 7) {
1400
+ var N = jt(e, t), P = N < e.length ? N : e.length, F = e.slice(a, P), I = N < e.length ? Z(e, N) : e.length, L = gt(e, a);
1401
+ if (L) {
1402
+ var R = L.tag, ee = R.toLowerCase();
1403
+ if (L.isClosing) {
1404
+ var te = e.slice(L.end, P);
1405
+ return {
1406
+ node: {
1407
+ type: K.htmlBlock,
1408
+ tag: R,
1409
+ attrs: {},
1410
+ children: [],
1411
+ a: te,
1412
+ text: te,
1413
+ c: !0,
1414
+ b: !0,
1415
+ endPos: P,
1416
+ canInterruptParagraph: c === 6
1417
+ },
1418
+ end: I
1419
+ };
1420
+ }
1421
+ if (L.selfClosing || Ie(R)) return {
1422
+ node: {
1423
+ type: K.htmlBlock,
1424
+ tag: R,
1425
+ attrs: qt(L.attrs, R, r),
1426
+ e: L.whitespaceBeforeAttrs + L.rawAttrs,
1427
+ children: [],
1428
+ a: "",
1429
+ text: "",
1430
+ c: !1,
1431
+ b: !1,
1432
+ endPos: L.end,
1433
+ canInterruptParagraph: c === 6
1434
+ },
1435
+ end: Z(e, L.end)
1436
+ };
1437
+ var ne = n.d || 0, re = e.slice(a, P), ie = -1, ae = -1;
1438
+ if (ne < 10) {
1439
+ for (var oe = "</" + ee, se = L.end - a, ce = 1, le = se; le < re.length && ce > 0;) {
1440
+ var ue = Jt(re, "<" + ee, le), de = Jt(re, oe, le);
1441
+ if (de === -1) break;
1442
+ if (ue !== -1 && ue < de) {
1443
+ var pe = ue + ee.length + 1;
1444
+ if (pe < re.length) {
1445
+ var me = re.charCodeAt(pe);
1446
+ (me === h || me === g || me === v || me === C || me === fe) && ce++;
1447
+ }
1448
+ le = ue + 1;
1449
+ } else {
1450
+ var he = de + oe.length;
1451
+ if (he < re.length) {
1452
+ var z = re.charCodeAt(he);
1453
+ if ((z === C || z === h || z === g || z === v) && (ce--, ce === 0)) {
1454
+ ie = de;
1455
+ for (var ge = he; ge < re.length && re.charCodeAt(ge) !== C;) ge++;
1456
+ ae = ge + 1;
1457
+ break;
1458
+ }
1459
+ } else if (ce--, ce === 0) {
1460
+ ie = de, ae = re.length;
1461
+ break;
1462
+ }
1463
+ le = de + 1;
1464
+ }
1465
+ }
1466
+ var _e = !1;
1467
+ if (ie === -1 && c === 6 && !L.isClosing && !ut.has(ee)) {
1468
+ var ve = Zt(e, L.end, ee);
1469
+ if (ve !== -1) {
1470
+ var ye = Xt;
1471
+ if (e.substring(L.end, ye).indexOf("\n\n") !== -1) {
1472
+ var be = kt(e, ve);
1473
+ P = be, I = Z(e, be), re = e.slice(a, P), F = e.slice(a, P), ie = ye - a, ae = ve - a, _e = !0;
1474
+ }
1475
+ }
1476
+ }
1477
+ }
1478
+ var xe = L.rawAttrs.indexOf("\n") !== -1 || L.whitespaceBeforeAttrs.indexOf("\n") !== -1, B = !1;
1479
+ ie !== -1 && (B = re.slice(ae).trim().length === 0);
1480
+ var V = !1, W = P, G = I;
1481
+ if (ie !== -1) {
1482
+ var Se = a + ae, Ce = kt(e, Se - 1);
1483
+ if (Se < Ce) {
1484
+ for (var we = Se; we < Ce && (e.charCodeAt(we) === h || e.charCodeAt(we) === g);) we++;
1485
+ if (we < Ce && e.charCodeAt(we) === M) {
1486
+ var Te = gt(e, we);
1487
+ Te && !Te.isClosing && (V = !0, W = Se, G = Se, B = !0);
1488
+ }
1489
+ }
1490
+ if (!V) {
1491
+ var Ee = Z(e, Ce);
1492
+ if (Ee < P) {
1493
+ for (var De = Ee; De < P && (e.charCodeAt(De) === h || e.charCodeAt(De) === g);) De++;
1494
+ De < P && e.charCodeAt(De) === M && gt(e, De) && (V = !0, W = Ce, G = Ee, B = !0);
1495
+ }
1496
+ }
1497
+ !V && n.inHTML && (V = !0, W = Ce, G = Z(e, Ce), B = e.slice(Se, Ce).trim().length === 0);
1498
+ }
1499
+ var q = [], J = "";
1500
+ if (ie !== -1) {
1501
+ J = re.slice(L.end - a, ie);
1502
+ var Oe = J.trim();
1503
+ if (Oe) {
1504
+ var { inline: ke, inHTML: Ae, d: je } = n;
1505
+ if (n.inHTML = !0, n.d = ne + 1, ee === "p") n.inline = !0, q = On(Oe, 0, Oe.length, n, r);
1506
+ else {
1507
+ var Me = J.indexOf("\n\n") !== -1, Ne = /^(\s{0,3}#[#\s]|\s{0,3}[-*+]\s|\s{0,3}\d+\.\s|\s{0,3}>\s|\s{0,3}```)/m.test(Oe), Pe = /^<([a-z][^ >/\n\r]*) ?([^>]*?)>/im.test(Oe);
1508
+ Me || Ne || n.inHTML && Pe || Pe ? (n.inline = !1, q = An(J, n, r)) : (n.inline = !0, q = On(Oe, 0, Oe.length, n, r));
1509
+ }
1510
+ n.inline = ke, n.inHTML = Ae, n.d = je;
1511
+ }
1512
+ }
1513
+ var Fe = !1;
1514
+ if (c === 6 && ie !== -1 && !n.inHTML && !xe) {
1515
+ var Le = J, Re = /<[a-zA-Z][^>]*>/.test(Le), ze = /\n\n/.test(Le) || /^(\s{0,3}#[#\s]|\s{0,3}[-*+]\s|\s{0,3}\d+\.\s|\s{0,3}>\s|\s{0,3}```)/m.test(Le);
1516
+ Re && !ze && (Fe = !0);
1517
+ }
1518
+ if (n.inHTML || c === 7 || xe || !B || Fe) {
1519
+ var Be;
1520
+ if (ie !== -1 && V) {
1521
+ var Ve = !1;
1522
+ if (n.inHTML && ae < re.length) {
1523
+ for (var He = ae; He < re.length && re.charCodeAt(He) !== v;) He++;
1524
+ var Ue = re.slice(ae, He).trim();
1525
+ Ve = Ue.length > 1 && Ue.charCodeAt(0) === M && Ue.charCodeAt(1) !== fe;
1526
+ }
1527
+ Be = Ve ? re.slice(L.end - a) : J;
1528
+ } else (c === 7 || n.inHTML) && ie !== -1 ? (Be = re.slice(L.end - a), Be.charCodeAt(0) === v && (Be = Be.slice(1))) : V ? Be = e.slice(a, W) : xe ? Be = F : (Be = re.slice(L.end - a), Be.charCodeAt(0) === v && (Be = Be.slice(1)));
1529
+ return {
1530
+ node: {
1531
+ type: K.htmlBlock,
1532
+ tag: R,
1533
+ attrs: qt(L.attrs, R, r),
1534
+ e: L.whitespaceBeforeAttrs + L.rawAttrs,
1535
+ children: q,
1536
+ a: Be,
1537
+ text: Be,
1538
+ c: !0,
1539
+ b: !1,
1540
+ endPos: W,
1541
+ canInterruptParagraph: c === 6
1542
+ },
1543
+ end: G
1544
+ };
1545
+ }
1546
+ return {
1547
+ node: {
1548
+ type: K.htmlBlock,
1549
+ tag: R,
1550
+ attrs: qt(L.attrs, R, r),
1551
+ e: L.whitespaceBeforeAttrs + L.rawAttrs,
1552
+ children: q,
1553
+ a: _e ? "" : J,
1554
+ text: J,
1555
+ c: !1,
1556
+ b: !1,
1557
+ endPos: W,
1558
+ canInterruptParagraph: c === 6
1559
+ },
1560
+ end: G
1561
+ };
1562
+ }
1563
+ var We = F.match(/^<(\/?)([a-zA-Z][a-zA-Z0-9-]*)/), Ge = We ? We[2] : "div", Ke = We ? We[1] === "/" : !1, qe = F;
1564
+ if (Ke) {
1565
+ var Je = F.indexOf(">");
1566
+ Je !== -1 && (qe = F.slice(Je + 1));
1567
+ }
1568
+ return {
1569
+ node: {
1570
+ type: K.htmlBlock,
1571
+ tag: Ge,
1572
+ attrs: {},
1573
+ children: [],
1574
+ a: qe,
1575
+ text: qe,
1576
+ c: !0,
1577
+ b: Ke,
1578
+ endPos: P,
1579
+ canInterruptParagraph: c === 6
1580
+ },
1581
+ end: I
1582
+ };
1583
+ }
1584
+ var Ye = gt(e, a);
1585
+ if (!Ye) return null;
1586
+ var Xe = Ye.tag, Ze = Xe.toLowerCase(), Qe = Xe.charCodeAt(0), $e = Qe >= H && Qe <= U;
1587
+ if (!$e && !Kt.has(Ze) && !ct.has(Ze) && !Ze.includes("-")) return null;
1588
+ if (Ye.isClosing) return {
1589
+ node: {
1590
+ type: K.htmlSelfClosing,
1591
+ tag: Xe,
1592
+ attrs: {},
1593
+ endPos: Ye.end,
1594
+ b: !0,
1595
+ a: e.slice(a, Ye.end)
1596
+ },
1597
+ end: Ye.end
1598
+ };
1599
+ var et = Zt(e, Ye.end, Xe), tt = [];
1600
+ if (et !== -1) {
1601
+ var nt = Xt, rt = e.slice(Ye.end, nt), it = rt.trim();
1602
+ if (it) {
1603
+ var at = rt.indexOf("\n\n") !== -1, ot = /^(\s{0,3}#[#\s]|\s{0,3}[-*+]\s|\s{0,3}\d+\.\s|\s{0,3}>\s|\s{0,3}```)/m.test(it), lt = /^<([a-z][^ >/\n\r]*) ?([^>]*?)>/im.test(it), dt = n.inline, ft = n.inHTML, pt = n.d;
1604
+ n.inHTML = !0, n.d = (n.d || 0) + 1, at || ot || lt ? (n.inline = !1, tt = An(rt, n, r)) : (n.inline = !0, tt = On(it, 0, it.length, n, r)), n.inline = dt, n.inHTML = ft, n.d = pt;
1605
+ }
1606
+ var mt = kt(e, et), ht = e.slice(et, mt).trim() ? et : Z(e, et), _t = $e ? e.slice(a, et) : e.slice(a, ht), vt = $e ? et : ht;
1607
+ return {
1608
+ node: {
1609
+ type: K.htmlBlock,
1610
+ tag: Xe,
1611
+ attrs: qt(Ye.attrs, Xe, r),
1612
+ e: Ye.whitespaceBeforeAttrs + Ye.rawAttrs,
1613
+ children: tt,
1614
+ a: _t,
1615
+ text: $e ? rt : _t,
1616
+ c: !0,
1617
+ b: !1,
1618
+ endPos: vt,
1619
+ canInterruptParagraph: !1
1620
+ },
1621
+ end: ht
1622
+ };
1623
+ }
1624
+ var yt = jt(e, Ye.end), bt = yt < e.length ? Z(e, yt) : yt, Y = e.slice(Ye.end, yt);
1625
+ if (Y.trim()) {
1626
+ var { inline: xt, inHTML: St, d: Ct } = n;
1627
+ n.inline = !1, n.inHTML = !0, n.d = (n.d || 0) + 1, tt = An(Y, n, r), n.inline = xt, n.inHTML = St, n.d = Ct;
1628
+ }
1629
+ var wt = e.slice(Ye.end, yt);
1630
+ return {
1631
+ node: {
1632
+ type: K.htmlBlock,
1633
+ tag: Xe,
1634
+ attrs: qt(Ye.attrs, Xe, r),
1635
+ e: Ye.whitespaceBeforeAttrs + Ye.rawAttrs,
1636
+ children: tt,
1637
+ a: wt,
1638
+ text: Y,
1639
+ c: !0,
1640
+ b: !1,
1641
+ endPos: yt,
1642
+ canInterruptParagraph: !1
1643
+ },
1644
+ end: bt
1645
+ };
1646
+ }
1647
+ function $t(e, t) {
1648
+ if (e.charCodeAt(t) !== M) return 0;
1649
+ var n = t + 1, r = e.length;
1650
+ if (e.charCodeAt(n) === F && e.charCodeAt(n + 1) === D && e.charCodeAt(n + 2) === D) return 2;
1651
+ if (e.charCodeAt(n) === ue) return 3;
1652
+ if (e.charCodeAt(n) === F) {
1653
+ var i = e.charCodeAt(n + 1);
1654
+ if (i >= H && i <= U) return 4;
1655
+ if (e.slice(n + 1, n + 8) === "[CDATA[") return 5;
1656
+ }
1657
+ for (var a = e.charCodeAt(n) === fe, o = a ? n + 1 : n, s = o; s < r;) {
1658
+ var c = e.charCodeAt(s);
1659
+ if (c >= H && c <= U || c >= W && c <= G || c >= B && c <= V || c === D) s++;
1660
+ else break;
1661
+ }
1662
+ if (s === o) return 0;
1663
+ var l = e.slice(o, s);
1664
+ if (ct.has(l.toLowerCase())) {
1665
+ if (a) return 0;
1666
+ var u = e.charCodeAt(s);
1667
+ return +(u === h || u === g || u === C || u === v || s >= r);
1668
+ }
1669
+ if (Kt.has(l.toLowerCase())) {
1670
+ if (a) {
1671
+ for (var d = s; d < r && (e.charCodeAt(d) === h || e.charCodeAt(d) === g);) d++;
1672
+ return d < r && e.charCodeAt(d) === C ? 6 : 0;
1673
+ }
1674
+ var f = s < r ? e.charCodeAt(s) : -1;
1675
+ return f === h || f === g || f === C || f === v || f === fe || f === -1 ? 6 : 0;
1676
+ }
1677
+ if (a) {
1678
+ for (var p = s; p < r && (e.charCodeAt(p) === h || e.charCodeAt(p) === g);) p++;
1679
+ if (p < r && e.charCodeAt(p) === C) {
1680
+ var m = kt(e, t);
1681
+ if (e.slice(p + 1, m).trim() === "") return 7;
1682
+ }
1683
+ } else {
1684
+ var _ = kt(e, t), y = gt(e, t);
1685
+ if (y && y.end <= _ && e.slice(y.end, _).trim() === "") return 7;
1686
+ }
1687
+ return 0;
1688
+ }
1689
+ function en(e, t, n) {
1690
+ for (var r = 0, i = e.length; r < i && (e.charCodeAt(r) === h || e.charCodeAt(r) === g);) r++;
1691
+ for (; i > r && (e.charCodeAt(i - 1) === h || e.charCodeAt(i - 1) === g);) i--;
1692
+ r < i && e.charCodeAt(r) === z && r++, i > r && e.charCodeAt(i - 1) === z && (i - 2 < r || e.charCodeAt(i - 2) !== k) && i--;
1693
+ for (var a = [], o = r, s = !1, c = [], l = r; l < i;) {
1694
+ var u = e.charCodeAt(l);
1695
+ if (u === k && l + 1 < i) {
1696
+ e.charCodeAt(l + 1) === z ? (s || (s = !0, c = []), c.push(e.slice(o, l)), c.push("|"), l += 2, o = l) : l += 2;
1697
+ continue;
1698
+ }
1699
+ if (u === y) {
1700
+ for (var d = 0; l < i && e.charCodeAt(l) === y;) d++, l++;
1701
+ for (var f = !1; l < i && !f;) {
1702
+ for (var p = 0; l < i && e.charCodeAt(l) === y;) p++, l++;
1703
+ p === d ? f = !0 : p === 0 && l++;
1704
+ }
1705
+ continue;
1706
+ }
1707
+ if (u === z) {
1708
+ var m = s ? (c.push(e.slice(o, l)), c.join("")) : e.slice(o, l);
1709
+ a.push(m.trim()), l++, o = l, s = !1, c = [];
1710
+ continue;
1711
+ }
1712
+ l++;
1713
+ }
1714
+ var _ = s ? (c.push(e.slice(o, i)), c.join("")) : e.slice(o, i);
1715
+ return a.push(_.trim()), a.map(function(e) {
1716
+ var r = e.indexOf("\\|") === -1 ? e : e.replace(/\\\|/g, "|");
1717
+ return On(r, 0, r.length, t, n);
1718
+ });
1719
+ }
1720
+ function tn(e, t, n, r) {
1721
+ let i = kt(e, t);
1722
+ var a = e.indexOf("|", t);
1723
+ if (a < 0 || a >= i) return null;
1724
+ let o = Z(e, i);
1725
+ if (o >= e.length) return null;
1726
+ let s = kt(e, o);
1727
+ if (!ht(e, o, s)) return null;
1728
+ let c = e.slice(t, i), l = e.slice(o, s);
1729
+ for (var u = [], d = 0, f = l.length; d < f && (l.charCodeAt(d) === h || l.charCodeAt(d) === g);) d++;
1730
+ for (d < f && l.charCodeAt(d) === z && d++; d < f;) {
1731
+ for (; d < f && (l.charCodeAt(d) === h || l.charCodeAt(d) === g);) d++;
1732
+ if (d >= f || l.charCodeAt(d) === z) break;
1733
+ var p = l.charCodeAt(d) === L;
1734
+ for (p && d++; d < f && l.charCodeAt(d) === D;) d++;
1735
+ var m = d < f && l.charCodeAt(d) === L;
1736
+ for (m && d++, u.push(p && m ? "center" : m ? "right" : p ? "left" : null); d < f && (l.charCodeAt(d) === h || l.charCodeAt(d) === g);) d++;
1737
+ d < f && l.charCodeAt(d) === z && d++;
1738
+ }
1739
+ let _ = en(c, n, r);
1740
+ if (u.length !== _.length) return null;
1741
+ let v = [], x = Z(e, s);
1742
+ for (; x < e.length;) {
1743
+ let t = kt(e, x), i = e.slice(x, t);
1744
+ if (Pt(e, x, t)) break;
1745
+ if (Nt(e, x, t), Q < 4) {
1746
+ var S = e.charCodeAt(x + $);
1747
+ if (S === C || S === w || (S === D || S === A || S === j) && Lt(e, x)) break;
1748
+ if (S === y || S === b) {
1749
+ for (var T = x + $, E = 0; T < t && e.charCodeAt(T) === S;) E++, T++;
1750
+ if (E >= 3) break;
1751
+ }
1752
+ }
1753
+ v.push(en(i, n, r)), x = Z(e, t);
1754
+ }
1755
+ if ((r.streaming || r.optimizeForStreaming) && v.length === 0) return null;
1756
+ for (var O = _.length, k = 0; k < v.length; k++) if (v[k].length < O) for (; v[k].length < O;) v[k].push([]);
1757
+ else v[k].length > O && (v[k].length = O);
1758
+ return {
1759
+ node: {
1760
+ type: K.table,
1761
+ header: _,
1762
+ cells: v,
1763
+ align: u
1764
+ },
1765
+ end: x
1766
+ };
1767
+ }
1768
+ function nn(e, t, n) {
1769
+ if (Nt(e, t, kt(e, t)), Q > 3) return null;
1770
+ var r = t + $;
1771
+ if (e.charCodeAt(r) !== x) return null;
1772
+ if (r + 1 < e.length && e.charCodeAt(r + 1) === S) return rn(e, r, n) || null;
1773
+ n.refs ||= {};
1774
+ var i = vt(e, r, n.refs);
1775
+ return i === null ? null : {
1776
+ node: { type: K.refCollection },
1777
+ end: i
1778
+ };
1779
+ }
1780
+ function rn(e, t, n) {
1781
+ var r = e.length;
1782
+ if (e.charCodeAt(t) !== x || t + 1 >= r || e.charCodeAt(t + 1) !== S) return null;
1783
+ for (var i = t + 2, a = i; i < r && e.charCodeAt(i) !== P;) {
1784
+ if (e.charCodeAt(i) === v) return null;
1785
+ i++;
1786
+ }
1787
+ if (i >= r) return null;
1788
+ var o = ("^" + e.slice(a, i)).toLowerCase();
1789
+ if (i++, i >= r || e.charCodeAt(i) !== L) return null;
1790
+ for (i++; i < r && (e.charCodeAt(i) === h || e.charCodeAt(i) === g);) i++;
1791
+ if (i < r && e.charCodeAt(i) === v) for (i++; i < r && (e.charCodeAt(i) === h || e.charCodeAt(i) === g);) i++;
1792
+ var s = e.indexOf("\n", i);
1793
+ s < 0 && (s = r);
1794
+ for (var c = e.slice(i, s).trim(), l = s < r ? s + 1 : r; l < r;) {
1795
+ var u = kt(e, l);
1796
+ if (Nt(e, l, u), Q >= 2 && !Pt(e, l, u)) c += "\n" + e.slice(l, u), l = Z(e, u);
1797
+ else if (Pt(e, l, u)) {
1798
+ var d = Z(e, u);
1799
+ if (d < r && (Nt(e, d, kt(e, d)), Q >= 2)) {
1800
+ c += "\n", l = Z(e, u);
1801
+ continue;
1802
+ }
1803
+ break;
1804
+ } else break;
1805
+ }
1806
+ return n.refs[o] || (n.refs[o] = {
1807
+ target: c,
1808
+ title: void 0
1809
+ }), {
1810
+ node: { type: K.footnote },
1811
+ end: l
1812
+ };
1813
+ }
1814
+ function an(e, t, n, r) {
1815
+ let i = t, a = 0, o = 0, s = -1;
1816
+ for (; i < e.length;) {
1817
+ let t = s >= 0 ? s : kt(e, i);
1818
+ if (s = -1, Pt(e, i, t)) break;
1819
+ if (Nt(e, i, t), Q < 4 && o > 0 && !n.f) {
1820
+ let n = e.charCodeAt(i + $);
1821
+ if (n === O || n === D) {
1822
+ let r = i + $;
1823
+ for (; r < t && e.charCodeAt(r) === n;) r++;
1824
+ for (; r < t && (e.charCodeAt(r) === h || e.charCodeAt(r) === g);) r++;
1825
+ if (r >= t) {
1826
+ a = n === O ? 1 : 2, i = Z(e, t);
1827
+ break;
1828
+ }
1829
+ }
1830
+ }
1831
+ o = t;
1832
+ let _ = Z(e, t);
1833
+ if (_ < e.length) {
1834
+ if (e.charCodeAt(_) === be) {
1835
+ var c = kt(e, _);
1836
+ i = Z(e, c), o = c;
1837
+ continue;
1838
+ }
1839
+ let t = kt(e, _);
1840
+ if (s = t, Nt(e, _, t), Q < 4) {
1841
+ let a = e.charCodeAt(_ + $);
1842
+ if (a === C) {
1843
+ i = _;
1844
+ break;
1845
+ }
1846
+ if (a === w && Ft(e, _, n, r)) {
1847
+ i = _;
1848
+ break;
1849
+ }
1850
+ if (a === y || a === b) {
1851
+ for (var l = _ + $, u = 0; l < t && e.charCodeAt(l) === a;) u++, l++;
1852
+ if (u >= 3) {
1853
+ i = _;
1854
+ break;
1855
+ }
1856
+ }
1857
+ if (a === M) {
1858
+ var d = _ + $ + 1, f = d < t ? e.charCodeAt(d) : 0, p = f === F || f === ue;
1859
+ if (!p && f === fe) {
1860
+ for (var m = d + 1, x = m; x < t && (e.charCodeAt(x) >= H && e.charCodeAt(x) <= U || e.charCodeAt(x) >= W && e.charCodeAt(x) <= G || e.charCodeAt(x) >= B && e.charCodeAt(x) <= V || e.charCodeAt(x) === D);) x++;
1861
+ x > m && (p = Kt.has(e.slice(m, x).toLowerCase()));
1862
+ } else if (!p) {
1863
+ for (var S = d; S < t && (e.charCodeAt(S) >= H && e.charCodeAt(S) <= U || e.charCodeAt(S) >= W && e.charCodeAt(S) <= G || e.charCodeAt(S) >= B && e.charCodeAt(S) <= V || e.charCodeAt(S) === D);) S++;
1864
+ if (S > d) {
1865
+ var T = e.slice(d, S).toLowerCase();
1866
+ p = Kt.has(T) || ct.has(T);
1867
+ }
1868
+ }
1869
+ if (p && Qt(e, _, n, r)) {
1870
+ i = _;
1871
+ break;
1872
+ }
1873
+ }
1874
+ if (a === D || a === A || a === he) {
1875
+ let n = _ + $ + 1;
1876
+ if (n < t && (e.charCodeAt(n) === h || e.charCodeAt(n) === g) && At(e, n, t) < t && !Lt(e, _)) {
1877
+ i = _;
1878
+ break;
1879
+ }
1880
+ }
1881
+ if (a >= B && a <= V) {
1882
+ let n = _ + $;
1883
+ for (; n < t && e.charCodeAt(n) >= B && e.charCodeAt(n) <= V;) n++;
1884
+ if (n < t && (e.charCodeAt(n) === de || e.charCodeAt(n) === ye) && n - (_ + $) === 1 && e.charCodeAt(_ + $) === 49) {
1885
+ var E = n + 1;
1886
+ if (E < t && (e.charCodeAt(E) === h || e.charCodeAt(E) === g) && At(e, E, t) < t) {
1887
+ i = _;
1888
+ break;
1889
+ }
1890
+ }
1891
+ }
1892
+ if (a === z) {
1893
+ let n = Z(e, t);
1894
+ if (n < e.length && ht(e, n, kt(e, n))) {
1895
+ i = _;
1896
+ break;
1897
+ }
1898
+ }
1899
+ if ((a === D || a === A || a === j) && Lt(e, _)) {
1900
+ if (a !== D) {
1901
+ i = _;
1902
+ break;
1903
+ }
1904
+ let n = 0, r = _ + $;
1905
+ for (; r < t && e.charCodeAt(r) === D;) n++, r++;
1906
+ for (; r < t && (e.charCodeAt(r) === h || e.charCodeAt(r) === g);) r++;
1907
+ if (r < t) {
1908
+ i = _;
1909
+ break;
1910
+ }
1911
+ }
1912
+ }
1913
+ }
1914
+ i = Z(e, t);
1915
+ }
1916
+ for (var k = a ? o : i; k > t && (e.charCodeAt(k - 1) === v || e.charCodeAt(k - 1) === _ || e.charCodeAt(k - 1) === h || e.charCodeAt(k - 1) === g);) k--;
1917
+ for (var N = t; N < k && (e.charCodeAt(N) === h || e.charCodeAt(N) === g);) N++;
1918
+ if (N >= k) return null;
1919
+ for (var P = !1, I = N; I < k; I++) if (e.charCodeAt(I) === be) {
1920
+ P = !0;
1921
+ break;
1922
+ }
1923
+ var L = P ? e.slice(N, k).replace(/\u001E/g, "") : e.slice(N, k);
1924
+ if (!L) return null;
1925
+ let R = on(L, 0, L.length, n, r);
1926
+ if (a) {
1927
+ let e = (r?.slugify || Ne)(L);
1928
+ return {
1929
+ node: {
1930
+ type: K.heading,
1931
+ level: a,
1932
+ children: R,
1933
+ id: e
1934
+ },
1935
+ end: i
1936
+ };
1937
+ }
1938
+ return {
1939
+ node: {
1940
+ type: K.paragraph,
1941
+ children: R
1942
+ },
1943
+ end: i
1944
+ };
1945
+ }
1946
+ function on(e, t, n, r, i) {
1947
+ var a = e.indexOf("\n", t);
1948
+ if (a < 0 || a >= n) return On(e, t, n, r, i);
1949
+ for (var o = "", s = t, c = t; c < n;) {
1950
+ var l = e.charCodeAt(c);
1951
+ if (l === y) {
1952
+ var u = cn(e, c, n);
1953
+ if (u > c) {
1954
+ for (var d = !1, f = c; f < u; f++) if (e.charCodeAt(f) === v) {
1955
+ d = !0;
1956
+ break;
1957
+ }
1958
+ d && (o += e.slice(s, c), o += e.slice(c, u).replace(/\n/g, " "), s = u), c = u;
1959
+ continue;
1960
+ }
1961
+ }
1962
+ if (l === M) {
1963
+ var p = ln(e, c, n);
1964
+ if (p > c) {
1965
+ c = p;
1966
+ continue;
1967
+ }
1968
+ }
1969
+ if (l === v) {
1970
+ var m = !1, g = 0;
1971
+ if (c > t && e.charCodeAt(c - 1) === k) m = !0, g = 1;
1972
+ else {
1973
+ for (var _ = 0, b = c - 1; b >= t && e.charCodeAt(b) === h;) _++, b--;
1974
+ _ >= 2 && (m = !0, g = _);
1975
+ }
1976
+ if (m) o += e.slice(s, c - g), o += "";
1977
+ else {
1978
+ for (var x = c; x > s && e.charCodeAt(x - 1) === h;) x--;
1979
+ o += e.slice(s, x) + "\n";
1980
+ }
1981
+ for (c++; c < n && e.charCodeAt(c) === h;) c++;
1982
+ s = c;
1983
+ continue;
1984
+ }
1985
+ c++;
1986
+ }
1987
+ return s < n && (o += e.slice(s, n)), On(o, 0, o.length, r, i);
1988
+ }
1989
+ function sn(e, t, n) {
1990
+ if (e.charCodeAt(t) !== y) return null;
1991
+ let r = Mt(e, t, n, 96), i = t + r;
1992
+ for (; i < n;) {
1993
+ let a = e.indexOf("`", i);
1994
+ if (a < 0 || a >= n) return null;
1995
+ let o = Mt(e, a, n, 96);
1996
+ if (o === r) {
1997
+ let n = e.slice(t + r, a);
1998
+ return n = n.replace(/\n/g, " "), n.length > 0 && n[0] === " " && n[n.length - 1] === " " && n.trim().length > 0 && (n = n.slice(1, -1)), {
1999
+ node: {
2000
+ type: K.codeInline,
2001
+ text: n
2002
+ },
2003
+ end: a + o
2004
+ };
2005
+ }
2006
+ i = a + o;
2007
+ }
2008
+ return null;
2009
+ }
2010
+ function cn(e, t, n) {
2011
+ if (e.charCodeAt(t) !== y) return t;
2012
+ let r = Mt(e, t, n, 96), i = t + r;
2013
+ for (; i < n;) {
2014
+ let a = e.indexOf("`", i);
2015
+ if (a < 0 || a >= n) return t;
2016
+ let o = Mt(e, a, n, 96);
2017
+ if (o === r) return a + o;
2018
+ i = a + o;
2019
+ }
2020
+ return t;
2021
+ }
2022
+ function ln(e, t, n) {
2023
+ if (e.charCodeAt(t) !== M) return t;
2024
+ if (t + 1 < n && e.charCodeAt(t + 1) === fe) {
2025
+ let r = t + 2;
2026
+ for (; r < n && e.charCodeAt(r) !== C;) r++;
2027
+ return r < n ? r + 1 : t;
2028
+ }
2029
+ if (t + 3 < n && e.charCodeAt(t + 1) === F && e.charCodeAt(t + 2) === D && e.charCodeAt(t + 3) === D) {
2030
+ let n = e.indexOf("-->", t + 4);
2031
+ return n >= 0 ? n + 3 : t;
2032
+ }
2033
+ let r = t + 1, i = r;
2034
+ for (; r < n;) {
2035
+ let t = e.charCodeAt(r);
2036
+ if (t >= H && t <= U || t >= W && t <= G || t >= B && t <= V || t === D) r++;
2037
+ else break;
2038
+ }
2039
+ if (r === i) return t;
2040
+ let a = e.slice(i, r).toLowerCase(), o = !1;
2041
+ for (; r < n;) {
2042
+ let i = e.charCodeAt(r);
2043
+ if (i === C) {
2044
+ r++;
2045
+ break;
2046
+ }
2047
+ if (i === fe && r + 1 < n && e.charCodeAt(r + 1) === C) {
2048
+ r += 2, o = !0;
2049
+ break;
2050
+ }
2051
+ if (i === me || i === pe) {
2052
+ var s = i;
2053
+ for (r++; r < n && e.charCodeAt(r) !== s;) r++;
2054
+ r < n && r++;
2055
+ continue;
2056
+ }
2057
+ if (i === v) return t;
2058
+ r++;
2059
+ }
2060
+ if (o || Ie(a)) return r;
2061
+ let c = 1;
2062
+ for (; r < n && c > 0;) if (e.charCodeAt(r) === M) if (r + 1 < n && e.charCodeAt(r + 1) === fe) {
2063
+ let t = r + 2, i = t;
2064
+ for (; i < n && (e.charCodeAt(i) >= H && e.charCodeAt(i) <= U || e.charCodeAt(i) >= W && e.charCodeAt(i) <= G);) i++;
2065
+ if (e.slice(t, i).toLowerCase() === a) {
2066
+ for (; i < n && e.charCodeAt(i) !== C;) i++;
2067
+ if (i < n && i++, c--, c === 0) return i;
2068
+ }
2069
+ r = i;
2070
+ } else {
2071
+ let t = r + 1, i = t;
2072
+ for (; i < n && (e.charCodeAt(i) >= H && e.charCodeAt(i) <= U || e.charCodeAt(i) >= W && e.charCodeAt(i) <= G);) i++;
2073
+ e.slice(t, i).toLowerCase() === a && c++, r++;
2074
+ }
2075
+ else r++;
2076
+ return r;
2077
+ }
2078
+ function un(e, t, n, r, i) {
2079
+ if (e.charCodeAt(t) !== b || t + 1 >= n || e.charCodeAt(t + 1) !== b) return null;
2080
+ let a = t + 2;
2081
+ for (; a + 1 < n;) {
2082
+ let o = e.charCodeAt(a);
2083
+ if (o === y) {
2084
+ let t = cn(e, a, n);
2085
+ if (t > a) {
2086
+ a = t;
2087
+ continue;
2088
+ }
2089
+ }
2090
+ if (o === b && e.charCodeAt(a + 1) === b) {
2091
+ let n = e.slice(t + 2, a), o = On(n, 0, n.length, r, i);
2092
+ return {
2093
+ node: {
2094
+ type: K.textFormatted,
2095
+ tag: "del",
2096
+ children: o
2097
+ },
2098
+ end: a + 2
2099
+ };
2100
+ }
2101
+ o === k && a + 1 < n && a++, a++;
2102
+ }
2103
+ return null;
2104
+ }
2105
+ function dn(e, t, n, r, i) {
2106
+ if (e.charCodeAt(t) !== O || t + 1 >= n || e.charCodeAt(t + 1) !== O) return null;
2107
+ let a = t + 2;
2108
+ for (; a + 1 < n;) {
2109
+ let o = e.charCodeAt(a);
2110
+ if (o === y) {
2111
+ let t = cn(e, a, n);
2112
+ if (t > a) {
2113
+ a = t;
2114
+ continue;
2115
+ }
2116
+ }
2117
+ if (o === O && e.charCodeAt(a + 1) === O && a > t + 2) {
2118
+ let n = e.slice(t + 2, a), o = On(n, 0, n.length, r, i);
2119
+ return {
2120
+ node: {
2121
+ type: K.textFormatted,
2122
+ tag: "mark",
2123
+ children: o
2124
+ },
2125
+ end: a + 2
2126
+ };
2127
+ }
2128
+ o === k && a + 1 < n && a++, a++;
2129
+ }
2130
+ return null;
2131
+ }
2132
+ var fn = /[\p{P}\p{S}]/u;
2133
+ function pn(e, t, n) {
2134
+ return e < Se ? !!(Dt(e) & Y) : fn.test(t[n]);
2135
+ }
2136
+ function mn(e, t, n) {
2137
+ return e < Se ? !!(Dt(e) & yt) : /\p{Zs}/u.test(t[n]);
2138
+ }
2139
+ function hn(e, t, n) {
2140
+ var r = e.charCodeAt(t);
2141
+ if (r !== A && r !== j) return null;
2142
+ var i = Mt(e, t, n, r);
2143
+ if (i === 0) return null;
2144
+ var a = t > 0 ? e.charCodeAt(t - 1) : 32, o = t + i < n ? e.charCodeAt(t + i) : 32, s = mn(a, e, t - 1), c = mn(o, e, t + i), l = t > 0 ? pn(a, e, t - 1) : !1, u = t + i < n ? pn(o, e, t + i) : !1, d = !c && (!u || s || l), f = !s && (!l || c || u), p, m;
2145
+ return r === A ? (p = d, m = f) : (p = d && (!f || l), m = f && (!d || u)), {
2146
+ len: i,
2147
+ canOpen: p,
2148
+ canClose: m
2149
+ };
2150
+ }
2151
+ function gn(e, t, n, r) {
2152
+ if (t.length !== 0) {
2153
+ for (var i = [], a = 0; a < 12; a++) i[a] = -1;
2154
+ for (var o = 0; o < t.length;) {
2155
+ var s = t[o];
2156
+ if (!s.active || !s.canClose) {
2157
+ o++;
2158
+ continue;
2159
+ }
2160
+ for (var c = (s.ch === A ? 0 : 1) * 6 + s.len % 3 * 2 + +!!s.canOpen, l = i[c] === void 0 ? -1 : i[c], u = -1, d = o - 1; d > l; d--) {
2161
+ var f = t[d];
2162
+ if (!(!f.active || f.ch !== s.ch || !f.canOpen) && !((s.canOpen || f.canClose) && (f.len + s.len) % 3 == 0 && f.len % 3 != 0)) {
2163
+ u = d;
2164
+ break;
2165
+ }
2166
+ }
2167
+ if (u < 0) {
2168
+ i[c] = o - 1, !s.canOpen && (s.active = !1), o++;
2169
+ continue;
2170
+ }
2171
+ var p = t[u], m = p.len >= 2 && s.len >= 2, h = m ? 2 : 1;
2172
+ p.len -= h, s.len -= h;
2173
+ var g = e[p.idx], _ = e[s.idx];
2174
+ g.text = g.text.slice(0, g.text.length - h), _.text = _.text.slice(h);
2175
+ var v = p.idx + 1, y = s.idx, b = e.slice(v, y), x = {
2176
+ type: K.textFormatted,
2177
+ tag: m ? "strong" : "em",
2178
+ children: b
2179
+ };
2180
+ e.splice(v, y - v, x);
2181
+ for (var S = y - v - 1, C = 0; C < t.length; C++) t[C].idx > p.idx && (t[C].idx -= S);
2182
+ for (var w = u + 1; w < o; w++) t[w].active = !1;
2183
+ if (p.len === 0 && (p.active = !1, g.text === "")) {
2184
+ e.splice(p.idx, 1);
2185
+ for (var T = 0; T < t.length; T++) t[T].idx > p.idx ? t[T].idx-- : t[T].idx === p.idx && (t[T].idx = -1);
2186
+ }
2187
+ if (s.len === 0) {
2188
+ s.active = !1;
2189
+ var E = s.idx;
2190
+ if (_.text === "") {
2191
+ e.splice(E, 1);
2192
+ for (var D = 0; D < t.length; D++) t[D].idx > E ? t[D].idx-- : t[D].idx === E && (t[D].idx = -1);
2193
+ }
2194
+ } else continue;
2195
+ o++;
2196
+ }
2197
+ for (var O = 0, k = 0; k < e.length; k++) {
2198
+ var j = e[k];
2199
+ if (j.type === K.text) {
2200
+ var M = j;
2201
+ if (M.text === "") continue;
2202
+ if (O > 0 && e[O - 1].type === K.text) {
2203
+ e[O - 1].text += M.text;
2204
+ continue;
2205
+ }
2206
+ }
2207
+ e[O++] = j;
2208
+ }
2209
+ e.length = O;
2210
+ }
2211
+ }
2212
+ function _n(e, t, n, r, i) {
2213
+ let a = e.charCodeAt(t) === F, o = a ? t + 1 : t;
2214
+ if (e.charCodeAt(o) !== x) return null;
2215
+ var s = e.indexOf("]", o + 1);
2216
+ if (s < 0 || s >= n) return null;
2217
+ for (var c = o + 1, l = 1; c < n && l > 0;) {
2218
+ var u = e.charCodeAt(c);
2219
+ if (u === k && c + 1 < n) {
2220
+ c += 2;
2221
+ continue;
2222
+ }
2223
+ if (u === y) {
2224
+ var d = cn(e, c, n);
2225
+ if (d > c) {
2226
+ c = d;
2227
+ continue;
2228
+ }
2229
+ }
2230
+ if (u === M) {
2231
+ var f = vn(e, c, n);
2232
+ if (f) {
2233
+ c = f.end;
2234
+ continue;
2235
+ }
2236
+ var p = ln(e, c, n);
2237
+ if (p > c) {
2238
+ c = p;
2239
+ continue;
2240
+ }
2241
+ }
2242
+ u === x ? l++ : u === P && l--, c++;
2243
+ }
2244
+ if (l !== 0) return null;
2245
+ var m = c - 1, g = e.slice(o + 1, m), _ = c < n ? e.charCodeAt(c) : 0, b = !1;
2246
+ if (_ === ve) {
2247
+ var S = !0;
2248
+ for (c++; c < n && (e.charCodeAt(c) === h || e.charCodeAt(c) === v);) c++;
2249
+ var w = "", T = c;
2250
+ if (c < n && e.charCodeAt(c) === M) {
2251
+ for (c++, T = c; T < n && e.charCodeAt(T) !== C;) {
2252
+ if (e.charCodeAt(T) === k && T + 1 < n) {
2253
+ T += 2;
2254
+ continue;
2255
+ }
2256
+ if (e.charCodeAt(T) === v) {
2257
+ S = !1;
2258
+ break;
2259
+ }
2260
+ T++;
2261
+ }
2262
+ S && (T >= n || e.charCodeAt(T) !== C) && (S = !1), S && (w = e.slice(c, T), T++);
2263
+ } else if (S) {
2264
+ for (var E = 0; T < n;) {
2265
+ var D = e.charCodeAt(T);
2266
+ if (D === k && T + 1 < n) {
2267
+ T += 2;
2268
+ continue;
2269
+ }
2270
+ if (D === ve) E++;
2271
+ else if (D === ye) {
2272
+ if (E === 0) break;
2273
+ E--;
2274
+ } else if (D === h || D === v) break;
2275
+ T++;
2276
+ }
2277
+ w = e.slice(c, T);
2278
+ }
2279
+ if (S) {
2280
+ for (c = T; c < n && (e.charCodeAt(c) === h || e.charCodeAt(c) === v);) c++;
2281
+ var O;
2282
+ if (c < n) {
2283
+ var A = e.charCodeAt(c);
2284
+ if (A === me || A === pe || A === ve) {
2285
+ var j = A === ve ? 41 : A;
2286
+ c++;
2287
+ for (var N = c; c < n && e.charCodeAt(c) !== j;) e.charCodeAt(c) === k && c + 1 < n && c++, c++;
2288
+ c >= n ? S = !1 : (O = e.slice(N, c), c++);
2289
+ }
2290
+ }
2291
+ if (S) {
2292
+ for (; c < n && (e.charCodeAt(c) === h || e.charCodeAt(c) === v);) c++;
2293
+ (c >= n || e.charCodeAt(c) !== ye) && (S = !1);
2294
+ }
2295
+ }
2296
+ if (S) {
2297
+ c++, w = Ot(w), O !== void 0 && (O = J(Ot(O)));
2298
+ var I = (i?.sanitizer || ke)(w, a ? "img" : "a", a ? "src" : "href") === null ? null : w;
2299
+ if (a) {
2300
+ var L = Cn(On(g, 0, g.length, r, i));
2301
+ return {
2302
+ node: {
2303
+ type: K.image,
2304
+ target: I,
2305
+ alt: L,
2306
+ title: O
2307
+ },
2308
+ end: c
2309
+ };
2310
+ } else {
2311
+ var R = r.inAnchor;
2312
+ r.inAnchor = !0;
2313
+ var ee = R ? [{
2314
+ type: K.text,
2315
+ text: g
2316
+ }] : On(g, 0, g.length, r, i);
2317
+ return r.inAnchor = R, !r.inAnchor && Sn(ee) ? null : {
2318
+ node: {
2319
+ type: K.link,
2320
+ target: I,
2321
+ title: O,
2322
+ children: ee
2323
+ },
2324
+ end: c
2325
+ };
2326
+ }
2327
+ } else c = m + 1, b = !0;
2328
+ }
2329
+ var te = "", ne = c;
2330
+ if (!b && _ === x) {
2331
+ var re = c + 1;
2332
+ ne = re;
2333
+ for (var ie = !1; ne < n && e.charCodeAt(ne) !== P;) {
2334
+ if (e.charCodeAt(ne) === k && ne + 1 < n) {
2335
+ ne += 2;
2336
+ continue;
2337
+ }
2338
+ if (e.charCodeAt(ne) === x) {
2339
+ ie = !0;
2340
+ break;
2341
+ }
2342
+ ne++;
2343
+ }
2344
+ if (ie || ne >= n) return null;
2345
+ var ae = e.slice(re, ne);
2346
+ if (ae.trim()) te = Et(ae);
2347
+ else {
2348
+ if (Tt(g)) return null;
2349
+ te = Et(g);
2350
+ }
2351
+ ne += 1;
2352
+ } else {
2353
+ if (Tt(g)) return null;
2354
+ te = Et(g);
2355
+ }
2356
+ var oe = r.refs[te];
2357
+ if (!oe) return null;
2358
+ if (a) return {
2359
+ node: {
2360
+ type: K.image,
2361
+ target: oe.target,
2362
+ alt: Cn(On(g, 0, g.length, r, i)),
2363
+ title: oe.title
2364
+ },
2365
+ end: ne
2366
+ };
2367
+ var se = r.inAnchor;
2368
+ r.inAnchor = !0;
2369
+ var ee = se ? [{
2370
+ type: K.text,
2371
+ text: g
2372
+ }] : On(g, 0, g.length, r, i);
2373
+ return r.inAnchor = se, !r.inAnchor && Sn(ee) ? null : {
2374
+ node: {
2375
+ type: K.link,
2376
+ target: oe.target,
2377
+ title: oe.title,
2378
+ children: ee
2379
+ },
2380
+ end: ne
2381
+ };
2382
+ }
2383
+ function vn(e, t, n) {
2384
+ if (e.charCodeAt(t) !== M) return null;
2385
+ for (var r = t + 1; r < n;) {
2386
+ var i = e.charCodeAt(r);
2387
+ if (i === C) break;
2388
+ if (i === h || i === v || i === _ || i === M) return null;
2389
+ r++;
2390
+ }
2391
+ if (r >= n || e.charCodeAt(r) !== C) return null;
2392
+ var a = e.slice(t + 1, r);
2393
+ return a.match(/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^\x00-\x20]*)$/) ? {
2394
+ node: {
2395
+ type: K.link,
2396
+ target: a,
2397
+ children: [{
2398
+ type: K.text,
2399
+ text: a
2400
+ }]
2401
+ },
2402
+ end: r + 1
2403
+ } : a.indexOf("@") !== -1 && /^[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])?)*$/.test(a) ? {
2404
+ node: {
2405
+ type: K.link,
2406
+ target: "mailto:" + a,
2407
+ children: [{
2408
+ type: K.text,
2409
+ text: a
2410
+ }]
2411
+ },
2412
+ end: r + 1
2413
+ } : null;
2414
+ }
2415
+ function yn(e, t, n, r) {
2416
+ if (e.charCodeAt(t) !== x || t + 1 >= n || e.charCodeAt(t + 1) !== S) return null;
2417
+ let i = t + 2;
2418
+ for (; i < n && e.charCodeAt(i) !== P && e.charCodeAt(i) !== v;) i++;
2419
+ if (i >= n || e.charCodeAt(i) !== P) return null;
2420
+ let a = e.slice(t + 2, i);
2421
+ return a ? {
2422
+ node: {
2423
+ type: K.footnoteReference,
2424
+ target: "#" + Ne(a),
2425
+ text: a
2426
+ },
2427
+ end: i + 1
2428
+ } : null;
2429
+ }
2430
+ function bn(e, t, n, r) {
2431
+ if (r.disableBareUrls) return null;
2432
+ var i = "", a = !1, o = e.charCodeAt(t);
2433
+ if (o === te || o === 72 ? t + 8 <= n && e.charCodeAt(t + 1) === re && e.charCodeAt(t + 2) === re && e.charCodeAt(t + 3) === ie && (e.charCodeAt(t + 4) === ae && e.charCodeAt(t + 5) === L && e.charCodeAt(t + 6) === fe && e.charCodeAt(t + 7) === fe ? i = "https://" : e.charCodeAt(t + 4) === L && e.charCodeAt(t + 5) === fe && e.charCodeAt(t + 6) === fe && (i = "http://")) : o === ee || o === 70 ? t + 6 <= n && e.charCodeAt(t + 1) === re && e.charCodeAt(t + 2) === ie && e.charCodeAt(t + 3) === L && e.charCodeAt(t + 4) === fe && e.charCodeAt(t + 5) === fe && (i = "ftp://") : (o === ne || o === 87) && t + 4 <= n && e.charCodeAt(t + 1) === ne && e.charCodeAt(t + 2) === ne && e.charCodeAt(t + 3) === de && (i = "www.", a = !0), !i) return null;
2434
+ let s = t + i.length;
2435
+ for (; s < n;) {
2436
+ let t = e.charCodeAt(s);
2437
+ if (t === h || t === v || t === g || t === _ || t === M || t === C) break;
2438
+ s++;
2439
+ }
2440
+ for (var c = 0, l = 0, u = t; u < s; u++) {
2441
+ var d = e.charCodeAt(u);
2442
+ d === ve ? c++ : d === ye && l++;
2443
+ }
2444
+ let f = s;
2445
+ for (; f > t + i.length;) {
2446
+ let n = e.charCodeAt(f - 1);
2447
+ if (n === de || n === ce || n === L || n === F || n === ue || n === ye) {
2448
+ if (n === ye) {
2449
+ if (c >= l) break;
2450
+ l--;
2451
+ }
2452
+ f--;
2453
+ } else if (n === le) {
2454
+ for (var p = f - 2; p > t && (e.charCodeAt(p) >= H && e.charCodeAt(p) <= U || e.charCodeAt(p) >= W && e.charCodeAt(p) <= G || e.charCodeAt(p) >= B && e.charCodeAt(p) <= V);) p--;
2455
+ p >= t && e.charCodeAt(p) === I ? f = p : f--;
2456
+ } else break;
2457
+ }
2458
+ if (f <= t + i.length) return null;
2459
+ var m = t + (a ? 4 : i.length), y = e.indexOf("/", m);
2460
+ if ((y < 0 || y > f) && (y = f), a && e.indexOf(".", m) === -1) return null;
2461
+ for (var b = -1, x = -1, S = y - 1; S >= m; S--) if (e.charCodeAt(S) === de) if (b < 0) b = S;
2462
+ else {
2463
+ x = S;
2464
+ break;
2465
+ }
2466
+ for (var S = x >= 0 ? x + 1 : m; S < y; S++) if (e.charCodeAt(S) === j) return null;
2467
+ var w = e.slice(t, f), T = a ? "http://" + w : w;
2468
+ return {
2469
+ node: {
2470
+ type: K.link,
2471
+ target: T,
2472
+ children: [{
2473
+ type: K.text,
2474
+ text: w
2475
+ }]
2476
+ },
2477
+ end: f
2478
+ };
2479
+ }
2480
+ function xn(e, t, n, r) {
2481
+ if (r.disableBareUrls) return null;
2482
+ for (var i = t, a = i; i < n;) {
2483
+ var o = e.charCodeAt(i);
2484
+ if (o >= H && o <= U || o >= W && o <= G || o >= B && o <= V || o === de || o === F || o === w || o === 36 || o === E || o === I || o === pe || o === A || o === he || o === fe || o === O || o === ue || o === S || o === j || o === y || o === ge || o === z || o === _e || o === b || o === D) i++;
2485
+ else break;
2486
+ }
2487
+ if (i === a || i >= n || e.charCodeAt(i) !== N) return null;
2488
+ i++;
2489
+ for (var s = i, c = -1, l = i; i < n;) {
2490
+ var o = e.charCodeAt(i);
2491
+ if (o >= H && o <= U || o >= W && o <= G || o >= B && o <= V) i++;
2492
+ else if ((o === D || o === j) && i > s) i++;
2493
+ else if (o === de) {
2494
+ if (i === s) break;
2495
+ var u = e.charCodeAt(i - 1);
2496
+ if (u === D || u === j || i - l > 63) break;
2497
+ if (i + 1 < n) {
2498
+ var d = e.charCodeAt(i + 1);
2499
+ if (d >= H && d <= U || d >= W && d <= G || d >= B && d <= V) c = i, l = i + 1, i++;
2500
+ else break;
2501
+ } else break;
2502
+ } else break;
2503
+ }
2504
+ if (i - l > 63 || c < 0) return null;
2505
+ var f = e.charCodeAt(i - 1);
2506
+ if (!(f >= H && f <= U || f >= W && f <= G || f >= B && f <= V) || i <= c + 1) return null;
2507
+ for (var p = -1, m = c - 1; m >= s; m--) if (e.charCodeAt(m) === de) {
2508
+ p = m;
2509
+ break;
2510
+ }
2511
+ for (var m = p >= 0 ? p + 1 : s; m < i; m++) if (e.charCodeAt(m) === j) return null;
2512
+ var h = e.slice(t, i);
2513
+ return {
2514
+ node: {
2515
+ type: K.link,
2516
+ target: "mailto:" + h,
2517
+ children: [{
2518
+ type: K.text,
2519
+ text: h
2520
+ }]
2521
+ },
2522
+ end: i
2523
+ };
2524
+ }
2525
+ function Sn(e) {
2526
+ for (var t = 0; t < e.length; t++) if (e[t].type === K.link || "children" in e[t] && Array.isArray(e[t].children) && Sn(e[t].children)) return !0;
2527
+ return !1;
2528
+ }
2529
+ function Cn(e) {
2530
+ for (var t = "", n = 0; n < e.length; n++) {
2531
+ var r = e[n];
2532
+ r.type === K.text ? t += r.text : r.type === K.breakLine ? t += " " : r.type === K.codeInline ? t += r.text : "children" in r && Array.isArray(r.children) ? t += Cn(r.children) : r.type === K.image ? t += r.alt || "" : r.type === K.link && (t += Cn(r.children));
2533
+ }
2534
+ return t;
2535
+ }
2536
+ function wn(e) {
2537
+ let t = e.includes("&") ? J(e) : e;
2538
+ return {
2539
+ type: K.text,
2540
+ text: t
2541
+ };
2542
+ }
2543
+ function Tn(e, t, n, r, i) {
2544
+ if (e.charCodeAt(t) !== M) return null;
2545
+ var a = t + 1;
2546
+ if (a >= n) return null;
2547
+ var o = e.charCodeAt(a);
2548
+ if (o === F && a + 1 < n && e.charCodeAt(a + 1) === D && a + 2 < n && e.charCodeAt(a + 2) === D) {
2549
+ var s = a + 3;
2550
+ if (s < n && e.charCodeAt(s) === C) return {
2551
+ node: {
2552
+ type: K.htmlComment,
2553
+ text: "",
2554
+ endsWithGreaterThan: !0
2555
+ },
2556
+ end: s + 1
2557
+ };
2558
+ if (s + 1 < n && e.charCodeAt(s) === D && e.charCodeAt(s + 1) === C) return {
2559
+ node: {
2560
+ type: K.htmlComment,
2561
+ text: "-",
2562
+ endsWithGreaterThan: !0
2563
+ },
2564
+ end: s + 2
2565
+ };
2566
+ var c = e.indexOf("-->", s);
2567
+ return c !== -1 && c <= n - 3 ? {
2568
+ node: {
2569
+ type: K.htmlComment,
2570
+ text: e.slice(t + 4, c)
2571
+ },
2572
+ end: c + 3
2573
+ } : null;
2574
+ }
2575
+ if (o === ue) {
2576
+ var l = e.indexOf("?>", a + 1);
2577
+ return l !== -1 && l < n ? {
2578
+ node: {
2579
+ type: K.htmlSelfClosing,
2580
+ tag: "?",
2581
+ attrs: {},
2582
+ a: e.slice(t, l + 2)
2583
+ },
2584
+ end: l + 2
2585
+ } : null;
2586
+ }
2587
+ if (o === F && a + 1 < n) {
2588
+ var u = e.charCodeAt(a + 1);
2589
+ if (u === x && e.slice(a + 1, a + 8) === "[CDATA[") {
2590
+ var d = e.indexOf("]]>", a + 8);
2591
+ return d !== -1 && d < n ? {
2592
+ node: {
2593
+ type: K.htmlSelfClosing,
2594
+ tag: "![CDATA[",
2595
+ attrs: {},
2596
+ a: e.slice(t, d + 3)
2597
+ },
2598
+ end: d + 3
2599
+ } : null;
2600
+ }
2601
+ if (u >= H && u <= U) {
2602
+ var f = e.indexOf(">", a + 2);
2603
+ return f !== -1 && f < n ? {
2604
+ node: {
2605
+ type: K.htmlSelfClosing,
2606
+ tag: "!" + e.slice(a + 1, f),
2607
+ attrs: {},
2608
+ a: e.slice(t, f + 1)
2609
+ },
2610
+ end: f + 1
2611
+ } : null;
2612
+ }
2613
+ }
2614
+ if (o === fe) {
2615
+ var p = a + 1;
2616
+ if (p >= n) return null;
2617
+ var m = e.charCodeAt(p);
2618
+ if (!(m >= H && m <= U || m >= W && m <= G)) return null;
2619
+ for (p++; p < n;) {
2620
+ var _ = e.charCodeAt(p);
2621
+ if (_ >= H && _ <= U || _ >= W && _ <= G || _ >= B && _ <= V || _ === D) p++;
2622
+ else break;
2623
+ }
2624
+ for (; p < n && (e.charCodeAt(p) === h || e.charCodeAt(p) === g || e.charCodeAt(p) === v);) p++;
2625
+ if (p < n && e.charCodeAt(p) === C) {
2626
+ var y = e.slice(a + 1, p).trim();
2627
+ return {
2628
+ node: {
2629
+ type: K.htmlSelfClosing,
2630
+ tag: y,
2631
+ attrs: {},
2632
+ a: e.slice(t, p + 1),
2633
+ b: !0
2634
+ },
2635
+ end: p + 1
2636
+ };
2637
+ }
2638
+ return null;
2639
+ }
2640
+ if (!(o >= H && o <= U || o >= W && o <= G)) return null;
2641
+ var b = gt(e, t);
2642
+ if (!b) return null;
2643
+ var S = b.tag, w = S.toLowerCase();
2644
+ if (b.selfClosing || Ie(S)) return {
2645
+ node: {
2646
+ type: K.htmlSelfClosing,
2647
+ tag: S,
2648
+ attrs: qt(b.attrs, S, i),
2649
+ a: e.slice(t, b.end)
2650
+ },
2651
+ end: b.end
2652
+ };
2653
+ var T = ct.has(w), E = Zt(e.slice(0, n), b.end, S);
2654
+ if (E === -1) return {
2655
+ node: {
2656
+ type: K.htmlSelfClosing,
2657
+ tag: S,
2658
+ attrs: qt(b.attrs, S, i),
2659
+ a: e.slice(t, b.end)
2660
+ },
2661
+ end: b.end
2662
+ };
2663
+ var O = Yt(e, "</" + w, E), k = e.slice(b.end, O), A = [];
2664
+ if (T) k.trim() && (A = [{
2665
+ type: K.text,
2666
+ text: k
2667
+ }]);
2668
+ else {
2669
+ var j = k.trim();
2670
+ if (j) {
2671
+ var { inAnchor: N, inline: P } = r;
2672
+ w === "a" && (r.inAnchor = !0), j.indexOf("\n\n") !== -1 || /^#{1,6}\s/.test(j) ? (r.inline = !1, A = An(j, r, i)) : A = On(j, 0, j.length, r, i), r.inAnchor = N, r.inline = P;
2673
+ }
2674
+ }
2675
+ return {
2676
+ node: {
2677
+ type: K.htmlBlock,
2678
+ tag: S,
2679
+ attrs: qt(b.attrs, S, i),
2680
+ e: b.rawAttrs,
2681
+ children: A,
2682
+ text: k,
2683
+ c: !1
2684
+ },
2685
+ end: E
2686
+ };
2687
+ }
2688
+ var En = 200, Dn = 0;
2689
+ function On(e, t, n, r, i) {
2690
+ if (Dn++, Dn > En) return Dn--, [{
2691
+ type: K.text,
2692
+ text: e.slice(t, n)
2693
+ }];
2694
+ let a = r;
2695
+ if (i.streaming || i.optimizeForStreaming) {
2696
+ let r = function(e, t) {
2697
+ for (var n = 1, r = t + 1; r < e.length; r++) {
2698
+ var i = e.charCodeAt(r);
2699
+ if (i === x) n++;
2700
+ else if (i === P && (n--, n === 0)) return r;
2701
+ }
2702
+ return -1;
2703
+ }, i = e.slice(t, n), a = i;
2704
+ for (var o = 0, s = 0, c = 0, l = 0, u = 0, d = -1, f = -1, p = -1, m = -1, h = -1, g = 0; g < i.length; g++) {
2705
+ var _ = i.charCodeAt(g);
2706
+ _ === A ? g + 1 < i.length && i.charCodeAt(g + 1) === A ? (o++, d = g, g++) : (s++, f = g) : _ === j ? g + 1 < i.length && i.charCodeAt(g + 1) === j ? (c++, p = g, g++) : (l++, m = g) : _ === b && g + 1 < i.length && i.charCodeAt(g + 1) === b && (u++, h = g, g++);
2707
+ }
2708
+ var v = [];
2709
+ u % 2 == 1 && h >= 0 && v.push([h, 2]), c % 2 == 1 && p >= 0 && v.push([p, 2]), l % 2 == 1 && m >= 0 && v.push([m, 1]), o % 2 == 1 && d >= 0 && v.push([d, 2]), s % 2 == 1 && f >= 0 && v.push([f, 1]), v.sort(function(e, t) {
2710
+ return t[0] - e[0];
2711
+ });
2712
+ for (var C = 0; C < v.length; C++) {
2713
+ var w = v[C][0], T = v[C][1];
2714
+ i = i.slice(0, w) + i.slice(w + T);
2715
+ }
2716
+ let S = 0, O = -1;
2717
+ for (let e = 0; e < i.length; e++) i.charCodeAt(e) === y && (S++, O = e);
2718
+ if (S % 2 == 1 && O !== -1) {
2719
+ let e = !1, t = -1, n = 0;
2720
+ for (; n < i.length;) i.charCodeAt(n) === y && (e ? (e = !1, t = -1) : (t = n, e = !0)), n++;
2721
+ e && t !== -1 && (i = i.slice(0, t));
2722
+ }
2723
+ for (var E = !0; E;) {
2724
+ E = !1;
2725
+ for (var D = -1, N = -1, I = -1, L = !1, R = 0; R < i.length; R++) if (i.charCodeAt(R) === x && (R === 0 || i.charCodeAt(R - 1) !== k)) {
2726
+ var re = R > 0 && i.charCodeAt(R - 1) === F, ie = re ? R - 1 : R, ae = r(i, R);
2727
+ if (ae === -1) D = ie, L = re, N = R + 1, I = i.length;
2728
+ else {
2729
+ var oe = ae + 1;
2730
+ if (oe >= i.length) D = ie, L = re, N = R + 1, I = ae;
2731
+ else if (i.charCodeAt(oe) === ve) {
2732
+ var se = i.indexOf(")", oe + 1);
2733
+ se === -1 ? (D = ie, L = re, N = R + 1, I = ae, R = i.length) : R = se;
2734
+ } else if (i.charCodeAt(oe) === x) {
2735
+ var ce = i.indexOf("]", oe + 1);
2736
+ ce === -1 ? (D = ie, L = re, N = R + 1, I = ae, R = i.length) : R = ce;
2737
+ } else R = ae;
2738
+ }
2739
+ }
2740
+ if (D >= 0) {
2741
+ var le = L ? "" : i.slice(N, I);
2742
+ i = i.slice(0, D) + le, E = !0;
2743
+ }
2744
+ }
2745
+ let M = i.match(/<([A-Z][A-Za-z0-9]*)(?:\s[^>]*)?>([^<]*)$/);
2746
+ if (M && M.index !== void 0) {
2747
+ for (var ue = !1, de = 0, fe = 0; fe < M.index; fe++) i.charCodeAt(fe) === y && de++;
2748
+ if (ue = de % 2 == 1, !ue) {
2749
+ let e = M[1];
2750
+ Jt(i, "</" + e, 0) === -1 && (i = i.replace(/<[A-Z][A-Za-z0-9]*(?:\s[^>]*)?>([^<]*)$/, "$1"));
2751
+ }
2752
+ }
2753
+ i !== a && (e = e.slice(0, t) + i, n = t + i.length);
2754
+ }
2755
+ let pe = [];
2756
+ var me = [];
2757
+ let he = t;
2758
+ var z = i.disableAutoLink || i.disableBareUrls || a.inAnchor ? -1 : e.indexOf("@", t);
2759
+ for (z >= n && (z = -1); t < n;) {
2760
+ let r = e.charCodeAt(t), o = null;
2761
+ if (r === y) {
2762
+ if (o = sn(e, t, n), !o) {
2763
+ var ge = Mt(e, t, n, y);
2764
+ t += ge - 1;
2765
+ }
2766
+ } else if (r === A || r === j) {
2767
+ var _e = hn(e, t, n);
2768
+ if (_e) {
2769
+ if (_e.canOpen || _e.canClose) {
2770
+ t > he && pe.push(wn(e.slice(he, t)));
2771
+ var ye = wn(e.slice(t, t + _e.len));
2772
+ me.push({
2773
+ idx: pe.length,
2774
+ ch: r,
2775
+ len: _e.len,
2776
+ canOpen: _e.canOpen,
2777
+ canClose: _e.canClose,
2778
+ active: !0
2779
+ }), pe.push(ye), t += _e.len, he = t;
2780
+ continue;
2781
+ }
2782
+ t += _e.len - 1;
2783
+ }
2784
+ } else r === b ? o = un(e, t, n, a, i) : r === O ? o = dn(e, t, n, a, i) : r === x ? (t + 1 < n && e.charCodeAt(t + 1) === S && (o = yn(e, t, n, a)), o ||= _n(e, t, n, a, i)) : r === F && t + 1 < n && e.charCodeAt(t + 1) === x ? o = _n(e, t, n, a, i) : r === M ? (o = vn(e, t, n), !o && !i.disableParsingRawHTML && !i.ignoreHTMLBlocks && (o = Tn(e, t, n, a, i))) : (r === te || r === ne || r === ee) && !a.inAnchor && !i.disableAutoLink && (t === 0 || e.charCodeAt(t - 1) !== M) && (o = bn(e, t, n, i));
2785
+ if (!o && z >= 0 && z - t <= 64 && !a.inAnchor && !i.disableAutoLink && !i.disableBareUrls && (r >= H && r <= U || r >= W && r <= G || r >= B && r <= V) && (o = xn(e, t, n, i), !o && t >= z && (z = e.indexOf("@", t + 1), z >= n && (z = -1))), r === xe) {
2786
+ t > he && pe.push(wn(e.slice(he, t))), pe.push({ type: K.breakLine }), t++, he = t;
2787
+ continue;
2788
+ }
2789
+ if (o) t > he && pe.push(wn(e.slice(he, t))), pe.push(o.node), t = o.end, he = t;
2790
+ else {
2791
+ if (r === k && t + 1 < n && Dt(e.charCodeAt(t + 1)) & Y) {
2792
+ t > he && pe.push(wn(e.slice(he, t))), pe.push(wn(e[t + 1])), t += 2, he = t;
2793
+ continue;
2794
+ }
2795
+ if (t++, z < 0 || z - t > 64) for (; t < n;) {
2796
+ var be = e.charCodeAt(t);
2797
+ if (be < Se && !dt[be]) t++;
2798
+ else break;
2799
+ }
2800
+ }
2801
+ }
2802
+ if (n > he) {
2803
+ let t = e.slice(he, n);
2804
+ (i.streaming || i.optimizeForStreaming) && (t = t.replace(/\*\*([^*]+)$/, "$1"), t.match(/\*[^*]+$/) && (t = t.replace(/\*([^*]+)$/, "$1")), t = t.replace(/__([^_]+)$/, "$1"), t.match(/_[^_]+$/) && (t = t.replace(/_([^_]+)$/, "$1")), t = t.replace(/~~([^~]+)$/, "$1"), t = t.replace(/\[([^\]]+)$/, "$1"), t = t.replace(/\[([^\]]+)\]\([^)]*$/, "$1")), t && pe.push(wn(t));
2805
+ }
2806
+ return me.length > 0 && gn(pe, me, r, i), Dn--, pe;
2807
+ }
2808
+ var kn = 500;
2809
+ function An(e, t, n) {
2810
+ var r = t.g || 0;
2811
+ if (r > kn) return [{
2812
+ type: K.text,
2813
+ text: e
2814
+ }];
2815
+ if (t.g = r + 1, (n.streaming || n.optimizeForStreaming) && !t.h) {
2816
+ var i = e.length;
2817
+ i > 0 && e.charCodeAt(i - 1) === v && i--;
2818
+ for (var a = i; a > 0 && e.charCodeAt(a - 1) !== v;) a--;
2819
+ if (a > 0 && e.charCodeAt(a) === z) {
2820
+ for (var o = !0, s = a; s < i; s++) {
2821
+ var c = e.charCodeAt(s);
2822
+ if (c !== h && c !== g && c !== D && c !== L && c !== z) {
2823
+ o = !1;
2824
+ break;
2825
+ }
2826
+ }
2827
+ if (o) {
2828
+ for (var l = a - 1; l > 0 && e.charCodeAt(l - 1) !== v;) l--;
2829
+ e.charCodeAt(l) === z && (e = e.slice(0, l).trimEnd());
2830
+ }
2831
+ }
2832
+ var u = e.trim(), d = u.lastIndexOf("\n"), f = d === -1 ? u : u.slice(d + 1);
2833
+ if (f.length > 0 && f.charCodeAt(0) === z) {
2834
+ for (var p = !1, m = !1, _ = 1; _ < f.length; _++) {
2835
+ var S = f.charCodeAt(_);
2836
+ S === z && (p = !0), S === D && (m = !0);
2837
+ }
2838
+ p && m && (e = d === -1 ? "" : e.slice(0, e.lastIndexOf(f)).trimEnd());
2839
+ }
2840
+ for (var T = -1, E = -1, O = -1, k = e.length - 1; k >= 0; k--) if (e.charCodeAt(k) === M) {
2841
+ var N = k + 1 < e.length ? e.charCodeAt(k + 1) : 0;
2842
+ if (N >= H && N <= U || N >= W && N <= G) {
2843
+ for (var P = k + 2; P < e.length;) {
2844
+ var F = e.charCodeAt(P);
2845
+ if (F >= H && F <= U || F >= W && F <= G || F >= B && F <= V) P++;
2846
+ else break;
2847
+ }
2848
+ for (var I = P; I < e.length && e.charCodeAt(I) !== C;) I++;
2849
+ if (I < e.length) {
2850
+ for (var R = !1, ee = I + 1; ee < e.length; ee++) if (e.charCodeAt(ee) === M) {
2851
+ R = !0;
2852
+ break;
2853
+ }
2854
+ R || (T = k, E = P, O = I + 1);
2855
+ }
2856
+ }
2857
+ break;
2858
+ }
2859
+ if (T >= 0) {
2860
+ for (var te = 0, ne = 0; ne < T; ne++) e.charCodeAt(ne) === y && te++;
2861
+ if (te % 2 == 0) {
2862
+ var re = e.slice(T + 1, E);
2863
+ Jt(e, "</" + re, 0) === -1 && (e = e.slice(0, T) + e.slice(O));
2864
+ }
2865
+ }
2866
+ for (var ie = e.length; ie > 0 && e.charCodeAt(ie - 1) === v;) ie--;
2867
+ if (ie > 0) {
2868
+ for (var ae = ie; ae > 0 && e.charCodeAt(ae - 1) !== v;) ae--;
2869
+ for (var oe = ae, se = 0; oe < ie && e.charCodeAt(oe) === h && se < 3;) oe++, se++;
2870
+ if (ae > 0 && oe < ie && It(e, oe, ie)) {
2871
+ for (var ce = ae - 1, le = ce; le > 0 && e.charCodeAt(le - 1) !== v;) le--;
2872
+ Pt(e, le, ce) || (e = e.slice(0, ae).trimEnd());
2873
+ }
2874
+ }
2875
+ var ue = e.length;
2876
+ if (ue > 0) {
2877
+ for (var fe = e.lastIndexOf("\n"), pe = fe === -1 ? 0 : fe + 1, me = ue, ge = pe, _e = 0; ge < me && e.charCodeAt(ge) === h && _e < 3;) ge++, _e++;
2878
+ if (ge < me) {
2879
+ var ve = e.charCodeAt(ge), xe = !1;
2880
+ if (ve === A || ve === D || ve === he) {
2881
+ var Se = ge + 1;
2882
+ if (Se >= me || e.charCodeAt(Se) === h || e.charCodeAt(Se) === g) {
2883
+ for (var Ce = Se; Ce < me && (e.charCodeAt(Ce) === h || e.charCodeAt(Ce) === g);) Ce++;
2884
+ Ce >= me && (xe = !0);
2885
+ }
2886
+ } else if (ve >= B && ve <= V) {
2887
+ for (var Te = ge; Te < me && e.charCodeAt(Te) >= B && e.charCodeAt(Te) <= V;) Te++;
2888
+ if (Te < me && (e.charCodeAt(Te) === de || e.charCodeAt(Te) === ye)) {
2889
+ var Ee = Te + 1;
2890
+ if (Ee >= me || e.charCodeAt(Ee) === h || e.charCodeAt(Ee) === g) {
2891
+ for (var De = Ee; De < me && (e.charCodeAt(De) === h || e.charCodeAt(De) === g);) De++;
2892
+ De >= me && (xe = !0);
2893
+ }
2894
+ }
2895
+ }
2896
+ xe && (e = e.slice(0, pe).trimEnd());
2897
+ }
2898
+ }
2899
+ }
2900
+ if (t.inline) return On(e, 0, e.length, t, n);
2901
+ let q = [], J = 0, Oe = e.length;
2902
+ if (J === 0 && e.startsWith("---")) {
2903
+ let t = we(e);
2904
+ if (t && t.hasValidYaml) {
2905
+ if (n.preserveFrontmatter !== !1) {
2906
+ let n = e.slice(0, t.endPos).trimEnd();
2907
+ q.push({
2908
+ type: K.frontmatter,
2909
+ text: n
2910
+ });
2911
+ }
2912
+ J = t.endPos;
2913
+ }
2914
+ }
2915
+ for (; J < Oe;) {
2916
+ for (var ke = e.indexOf("\n", J), Ae = ke < 0 ? Oe : ke; J < Oe && Pt(e, J, Ae);) J = Ae < Oe ? Ae + 1 : Ae, J < Oe && (ke = e.indexOf("\n", J), Ae = ke < 0 ? Oe : ke);
2917
+ if (J >= Oe) break;
2918
+ e.charCodeAt(J), Nt(e, J, Ae);
2919
+ let r = null;
2920
+ if (e.charCodeAt(J) !== be && Q >= 4 && !t.inHTML) r = zt(e, J);
2921
+ else if (e.charCodeAt(J) !== be) {
2922
+ let i = J + $, a = e.charCodeAt(i);
2923
+ a === w ? r = Ft(e, J, t, n) : a === C ? r = Bt(e, J, t, n) : a === y || a === b ? r = Rt(e, J, t) : a === D || a === A || a === j ? (r = Lt(e, J), !r && (r = Gt(e, J, t, n))) : a === he || a >= B && a <= V ? r = Gt(e, J, t, n) : a === M ? r = Qt(e, J, t, n) : a === z ? r = tn(e, J, t, n) : a === x && (r = nn(e, J, t));
2924
+ }
2925
+ if (!r) {
2926
+ for (var je = !1, Me = J; Me < Ae; Me++) if (e.charCodeAt(Me) === z) {
2927
+ je = !0;
2928
+ break;
2929
+ }
2930
+ je && (r = tn(e, J, t, n));
2931
+ }
2932
+ if (r ||= an(e, J, t, n), r) r.node.type !== K.refCollection && q.push(r.node), J = r.end;
2933
+ else {
2934
+ var Ne = e.indexOf("\n", J);
2935
+ J = Ne < 0 ? Oe : Ne + 1;
2936
+ }
2937
+ }
2938
+ return t.g = r, q;
2939
+ }
2940
+ function jn(e, t, n, r) {
2941
+ var i = gt(e, t);
2942
+ return i ? {
2943
+ tagName: i.tag,
2944
+ tagLower: i.tag.toLowerCase(),
2945
+ attrs: i.rawAttrs,
2946
+ whitespaceBeforeAttrs: i.whitespaceBeforeAttrs,
2947
+ isSelfClosing: i.selfClosing,
2948
+ hasSpaceBeforeSlash: i.hasSpaceBeforeSlash,
2949
+ isClosing: i.isClosing,
2950
+ hasNewline: i.whitespaceBeforeAttrs.includes("\n") || i.rawAttrs.includes("\n"),
2951
+ endPos: i.end
2952
+ } : null;
2953
+ }
2954
+ function Mn(e, t, n) {
2955
+ Dn = 0, e = Xe(e), !t.refs && (t.refs = {}), t.h = _t(e, t.refs, n);
2956
+ let r = An(e, t, n);
2957
+ return t.refs && Object.keys(t.refs).length > 0 ? [{
2958
+ type: K.refCollection,
2959
+ refs: t.refs
2960
+ }, ...r] : r;
2961
+ }
2962
+ var Nn = /^\n+/, Pn;
2963
+ try {
2964
+ Pn = r.createElement("div").$$typeof;
2965
+ } catch {
2966
+ Pn = Symbol.for("react.transitional.element");
2967
+ }
2968
+ function Fn(e, t, n) {
2969
+ return {
2970
+ $$typeof: Pn,
2971
+ type: e,
2972
+ key: n == null ? null : "" + n,
2973
+ ref: null,
2974
+ props: t,
2975
+ i: null
2976
+ };
2977
+ }
2978
+ var In = typeof r.createContext < "u" ? r.createContext(void 0) : void 0;
2979
+ function Ln(e, t, n, i, a, o, s, c) {
2980
+ switch (e.type) {
2981
+ case K.blockQuote: {
2982
+ let r = { key: n.key };
2983
+ return e.alert && (r.className = "markdown-alert-" + o(e.alert.toLowerCase(), Ne), e.children.unshift({
2984
+ attrs: {},
2985
+ children: [{
2986
+ type: K.text,
2987
+ text: e.alert
2988
+ }],
2989
+ c: !0,
2990
+ type: K.htmlBlock,
2991
+ tag: "header"
2992
+ })), i("blockquote", r, t(e.children, n));
2993
+ }
2994
+ case K.breakLine: return i("br", { key: n.key });
2995
+ case K.breakThematic: return i("hr", { key: n.key });
2996
+ case K.frontmatter: return c.preserveFrontmatter ? i("pre", { key: n.key }, e.text) : null;
2997
+ case K.codeBlock:
2998
+ let h = e.lang ? J(e.lang) : "";
2999
+ return i("pre", { key: n.key }, i("code", {
3000
+ ...De(e.attrs || {}),
3001
+ className: h ? `language-${h} lang-${h}` : ""
3002
+ }, e.text));
3003
+ case K.codeInline: return i("code", { key: n.key }, e.text);
3004
+ case K.footnoteReference: return i("a", {
3005
+ key: n.key,
3006
+ href: a(e.target, "a", "href") || void 0
3007
+ }, i("sup", { key: n.key }, e.text));
3008
+ case K.gfmTask: return i("input", {
3009
+ checked: e.completed,
3010
+ key: n.key,
3011
+ readOnly: !0,
3012
+ type: "checkbox"
3013
+ });
3014
+ case K.heading: return i(`h${e.level}`, {
3015
+ id: e.id,
3016
+ key: n.key
3017
+ }, t(e.children, n));
3018
+ case K.htmlBlock: {
3019
+ let h = e;
3020
+ if (c.tagfilter && nt(h.tag)) {
3021
+ var l = "";
3022
+ if (h.attrs) for (var u in h.attrs) {
3023
+ var d = h.attrs[u];
3024
+ d === !0 ? l += " " + u : d != null && d !== !1 && (l += " " + u + "=\"" + String(d) + "\"");
3025
+ }
3026
+ return i("span", { key: n.key }, "<" + h.tag + l + ">");
3027
+ }
3028
+ if (h.a && h.c) {
3029
+ let l = function(e) {
3030
+ if ((e.type === K.htmlSelfClosing || e.type === K.htmlBlock) && e.b) return [];
3031
+ if (e.type === K.paragraph) {
3032
+ let t = e.children;
3033
+ return t ? t.flatMap(l) : [];
3034
+ }
3035
+ return e.type === K.text ? e.text?.trim() ? [e] : [] : e.type === K.htmlBlock && e.children ? [{
3036
+ ...e,
3037
+ children: e.children?.flatMap(l)
3038
+ }] : [e];
3039
+ }, u = function(e) {
3040
+ for (var t = 0; t < e.length; t++) e[t].type === K.htmlBlock && (e[t].c = !1), "children" in e[t] && e[t].children && u(e[t].children);
3041
+ }, d = function(e, t) {
3042
+ for (var n = 0; n < e.length; n++) {
3043
+ var r = e[n];
3044
+ if (r.type === K.paragraph && r.children) for (var i = r.children, a = 0; a < i.length; a++) {
3045
+ var o = i[a];
3046
+ if (o.type === K.htmlSelfClosing && o.b && o.tag.toLowerCase() === t) {
3047
+ var s = e.slice(0, n);
3048
+ a > 0 && s.push({
3049
+ type: K.paragraph,
3050
+ children: i.slice(0, a)
3051
+ });
3052
+ var c = [];
3053
+ if (a + 1 < i.length) {
3054
+ var l = i.slice(a + 1);
3055
+ l = l.filter(function(e) {
3056
+ return !(e.type === K.htmlSelfClosing && e.b);
3057
+ }), l.length > 0 && (c = l);
3058
+ }
3059
+ return c = c.concat(e.slice(n + 1)), {
3060
+ found: !0,
3061
+ beforeClose: s,
3062
+ afterClose: c
3063
+ };
3064
+ }
3065
+ }
3066
+ if ((r.type === K.htmlSelfClosing || r.type === K.htmlBlock) && r.b && r.tag.toLowerCase() === t) return {
3067
+ found: !0,
3068
+ beforeClose: e.slice(0, n),
3069
+ afterClose: e.slice(n + 1)
3070
+ };
3071
+ }
3072
+ return {
3073
+ found: !1,
3074
+ beforeClose: e,
3075
+ afterClose: []
3076
+ };
3077
+ }, g = h.tag.toLowerCase(), _ = pt(g), v = h.children && h.children.length > 0, y = /<[a-z][^>]{0,100}>/i.test(h.a);
3078
+ if (_) {
3079
+ let t = h.a.replace(RegExp("\\s*</" + g + ">\\s*$", "i"), "");
3080
+ return c.tagfilter && (t = it(t)), y ? i(e.tag, {
3081
+ key: n.key,
3082
+ ...De(e.attrs || {}),
3083
+ dangerouslySetInnerHTML: { __html: t }
3084
+ }) : i(e.tag, {
3085
+ key: n.key,
3086
+ ...De(e.attrs || {})
3087
+ }, t);
3088
+ }
3089
+ let b = RegExp(`^<${h.tag}(\\s|>)`, "i").test(h.a);
3090
+ if (v && !b && c.tagfilter && rt(h.a)) return i(e.tag, {
3091
+ key: n.key,
3092
+ ...De(e.attrs || {})
3093
+ }, t(h.children, n));
3094
+ if (mt(h.a)) {
3095
+ let t = c.tagfilter ? it(h.a) : h.a;
3096
+ return i(e.tag, {
3097
+ key: n.key,
3098
+ ...De(e.attrs || {}),
3099
+ dangerouslySetInnerHTML: { __html: t }
3100
+ });
3101
+ }
3102
+ let x = {
3103
+ slugify: (e) => o(e, Ne),
3104
+ sanitizer: a,
3105
+ tagfilter: !0
3106
+ }, S = h.a.replace(/>\s+</g, "><").replace(/\n+/g, " ").trim();
3107
+ if (RegExp(`^<${h.tag}(\\s[^>]*)?>(\\s*</${h.tag}>)?$`, "i").test(S)) return h.children && h.children.length > 0 ? i(e.tag, {
3108
+ key: n.key,
3109
+ ...De(e.attrs || {})
3110
+ }, t(h.children, n)) : i(e.tag, {
3111
+ key: n.key,
3112
+ ...De(e.attrs || {})
3113
+ });
3114
+ let C = Mn(S, {
3115
+ inline: !1,
3116
+ refs: s,
3117
+ inHTML: !1
3118
+ }, x);
3119
+ u(C);
3120
+ let w = h.tag.toLowerCase(), T = "</" + w + ">", E = RegExp(`^<${h.tag}(\\s|>)`, "i").test(S), D = S.toLowerCase().trimEnd().endsWith(T), O = E && D;
3121
+ if (O && v) return i(e.tag, {
3122
+ key: n.key,
3123
+ ...De(e.attrs || {})
3124
+ }, t(h.children, n));
3125
+ if (O) return t(C.flatMap(l), n);
3126
+ var f = d(C, w);
3127
+ if (f.found && f.afterClose.length > 0) {
3128
+ var p = f.beforeClose.flatMap(l), m = f.afterClose.flatMap(l);
3129
+ return Fn(r.Fragment, { children: [i(e.tag, {
3130
+ key: n.key,
3131
+ ...De(e.attrs || {})
3132
+ }, t(p, n)), t(m, n)] }, null);
3133
+ }
3134
+ return i(e.tag, {
3135
+ key: n.key,
3136
+ ...De(e.attrs || {})
3137
+ }, t(C.flatMap(l), n));
3138
+ }
3139
+ return Ie(e.tag) ? i(e.tag, {
3140
+ key: n.key,
3141
+ ...De(e.attrs || {})
3142
+ }) : i(e.tag, {
3143
+ key: n.key,
3144
+ ...De(e.attrs || {})
3145
+ }, e.children ? t(e.children, n) : "");
3146
+ }
3147
+ case K.htmlSelfClosing: {
3148
+ let t = e;
3149
+ if (c.tagfilter && nt(t.tag)) {
3150
+ var l = "";
3151
+ if (t.attrs) for (var u in t.attrs) {
3152
+ var d = t.attrs[u];
3153
+ d === !0 ? l += " " + u : d != null && d !== !1 && (l += " " + u + "=\"" + String(d) + "\"");
3154
+ }
3155
+ return i("span", { key: n.key }, "<" + t.tag + l + " />");
3156
+ }
3157
+ return i(e.tag, {
3158
+ key: n.key,
3159
+ ...De(e.attrs || {})
3160
+ });
3161
+ }
3162
+ case K.image: {
3163
+ let t = e.target == null ? null : a(e.target, "img", "src");
3164
+ return i("img", {
3165
+ key: n.key,
3166
+ alt: e.alt && e.alt.length > 0 ? e.alt : void 0,
3167
+ title: e.title || void 0,
3168
+ src: t || void 0
3169
+ });
3170
+ }
3171
+ case K.link: {
3172
+ let r = { key: n.key };
3173
+ return e.target != null && (r.href = Qe(e.target)), e.title && (r.title = e.title), i("a", r, t(e.children, n));
3174
+ }
3175
+ case K.table: {
3176
+ let r = e;
3177
+ return i("table", { key: n.key }, i("thead", null, i("tr", null, r.header.map(function(e, a) {
3178
+ return i("th", {
3179
+ key: a,
3180
+ style: r.align[a] == null ? {} : { textAlign: r.align[a] }
3181
+ }, t(e, n));
3182
+ }))), i("tbody", null, r.cells.map(function(e, a) {
3183
+ return i("tr", { key: a }, e.map(function(e, a) {
3184
+ return i("td", {
3185
+ key: a,
3186
+ style: r.align[a] == null ? {} : { textAlign: r.align[a] }
3187
+ }, t(e, n));
3188
+ }));
3189
+ })));
3190
+ }
3191
+ case K.text: return e.text;
3192
+ case K.textFormatted: return i(e.tag, { key: n.key }, t(e.children, n));
3193
+ case K.orderedList:
3194
+ case K.unorderedList: return i(e.type === K.orderedList ? "ol" : "ul", {
3195
+ key: n.key,
3196
+ start: e.type === K.orderedList ? e.start : void 0
3197
+ }, e.items.map(function(e, r) {
3198
+ return i("li", { key: r }, t(e, n));
3199
+ }));
3200
+ case K.paragraph: return i("p", { key: n.key }, t(e.children, n));
3201
+ case K.ref: return null;
3202
+ default: return null;
3203
+ }
3204
+ }
3205
+ var Rn = (e, t, n, r, i, a) => {
3206
+ var o = (e) => e.map(function(e) {
3207
+ return "text" in e ? e.text : "";
3208
+ }), s = (c, l = {}) => {
3209
+ var u = (l.renderDepth || 0) + 1;
3210
+ if (u > 2500) return o(c);
3211
+ l.renderDepth = u;
3212
+ for (var d = l.key, f = [], p = !1, m = 0; m < c.length; m++) {
3213
+ l.key = m;
3214
+ var h = e ? e(Ln.bind(null, c[m], s, l, t, n, r, i, a), c[m], s, l) : Ln(c[m], s, l, t, n, r, i, a), g = typeof h == "string";
3215
+ if (g && p) f[f.length - 1] += h;
3216
+ else if (h !== null) if (Array.isArray(h)) for (var _ = 0; _ < h.length; _++) f.push(h[_]);
3217
+ else f.push(h);
3218
+ p = g;
3219
+ }
3220
+ return l.key = d, l.renderDepth = u - 1, f;
3221
+ };
3222
+ return s;
3223
+ }, zn = (e, t) => {
3224
+ let n = Ze(t, e, void 0);
3225
+ return n ? typeof n == "function" || typeof n == "object" && "render" in n ? n : Ze(t, `${e}.component`, e) : e;
3226
+ };
3227
+ function Bn(e, t) {
3228
+ let n = { ...t || {} };
3229
+ n.overrides = n.overrides || {};
3230
+ let r = n.slugify || Ne, i = n.sanitizer || ke, a = n.createElement, o = n.overrides && Object.keys(n.overrides).length > 0, s = (e) => Vn(e, {
3231
+ ...n,
3232
+ wrapper: null
3233
+ });
3234
+ function c(e, t, ...r) {
3235
+ var i = t || {};
3236
+ for (var c in i) {
3237
+ var l = i[c];
3238
+ if (typeof l == "string" && l.length > 0 && l.charCodeAt(0) === M && (at.test(l) || ot.test(l) || jn(l, 0))) {
3239
+ var u = s(l.trim());
3240
+ i[c] = c === "innerHTML" && Array.isArray(u) ? u[0] : u;
3241
+ }
3242
+ }
3243
+ var d = e;
3244
+ if (o) {
3245
+ var f = Ze(n.overrides, e + ".props", {});
3246
+ d = zn(e, n.overrides), i = {
3247
+ ...i,
3248
+ ...f,
3249
+ className: $e(i.className, f.className) || void 0
3250
+ };
3251
+ }
3252
+ if (!a) {
3253
+ var p = i.key;
3254
+ return p != null && delete i.key, r.length === 1 ? i.children = r[0] : r.length > 1 && (i.children = r), Fn(d, i, p);
3255
+ }
3256
+ return a(d, i, ...r);
3257
+ }
3258
+ let l = {
3259
+ ...n,
3260
+ slugify: (e) => r(e, Ne),
3261
+ sanitizer: i,
3262
+ tagfilter: n.tagfilter !== !1
3263
+ }, u = e[0] && e[0].type === K.refCollection ? e[0].refs : {}, d = Rn(n.renderRule, c, i, r, u, n), f = d(e, {
3264
+ inline: n.forceInline,
3265
+ refs: u
3266
+ }), p = [];
3267
+ for (let e in u) e.charCodeAt(0) === S && p.push({
3268
+ identifier: e,
3269
+ footnote: u[e].target
3270
+ });
3271
+ if (p.length && f.push(c("footer", { key: "footer" }, p.map(function(e) {
3272
+ let t = e.identifier.charCodeAt(0) === S ? e.identifier.slice(1) : e.identifier, n = Mn(e.footnote, {
3273
+ inline: !0,
3274
+ refs: u
3275
+ }, l);
3276
+ return c("div", {
3277
+ id: r(t, Ne),
3278
+ key: e.identifier
3279
+ }, t + ": ", d(n, {
3280
+ inline: !0,
3281
+ refs: u
3282
+ }));
3283
+ }))), n.wrapper === null) return f;
3284
+ let m = n.wrapper || (n.forceInline ? "span" : "div"), h;
3285
+ if (f.length > 1 || n.forceWrapper) h = f;
3286
+ else return f.length === 1 ? f[0] : null;
3287
+ var g = n.wrapperProps ? { ...n.wrapperProps } : {};
3288
+ return g.children = h, Fn(m, g, "outer");
3289
+ }
3290
+ function Vn(e = "", t = {}) {
3291
+ let n = { ...t || {} };
3292
+ n.overrides = n.overrides || {};
3293
+ let r = n.slugify || Ne, i = n.sanitizer || ke;
3294
+ function a(e) {
3295
+ let t = n.forceInline || !n.forceBlock && !q.test(e), a = {
3296
+ ...n,
3297
+ slugify: (e) => r(e, Ne),
3298
+ sanitizer: i,
3299
+ tagfilter: n.tagfilter !== !1
3300
+ };
3301
+ t || _t(e, o, a);
3302
+ let s = e;
3303
+ if (!t) {
3304
+ let e = s.length;
3305
+ for (; e > 0 && (s[e - 1] === "\n" || s[e - 1] === "\r");) e--;
3306
+ s = s.slice(0, e), s = `${s.replace(Nn, "")}
3307
+
3308
+ `;
3309
+ }
3310
+ if (n.optimizeForStreaming) {
3311
+ let e = s.lastIndexOf("<");
3312
+ e !== -1 && s.slice(e).indexOf(">") === -1 && (s = s.slice(0, e));
3313
+ }
3314
+ return Bn(Mn(t ? e : s, {
3315
+ inline: t,
3316
+ refs: o
3317
+ }, a), {
3318
+ ...a,
3319
+ forceInline: t
3320
+ });
3321
+ }
3322
+ let o = {};
3323
+ return a(e);
3324
+ }
3325
+ var Hn = ({ children: e, options: t, ...n }) => {
3326
+ if (!(typeof r.useContext < "u")) {
3327
+ let r = {
3328
+ ...t,
3329
+ overrides: { ...t?.overrides },
3330
+ wrapperProps: {
3331
+ ...t?.wrapperProps,
3332
+ ...n
3333
+ }
3334
+ };
3335
+ return Vn(e ?? "", r);
3336
+ }
3337
+ let i = r.useContext(In), a = r.useMemo(() => ({
3338
+ ...i,
3339
+ ...t,
3340
+ overrides: {
3341
+ ...i?.overrides,
3342
+ ...t?.overrides
3343
+ },
3344
+ wrapperProps: {
3345
+ ...i?.wrapperProps,
3346
+ ...t?.wrapperProps,
3347
+ ...n
3348
+ }
3349
+ }), [
3350
+ i,
3351
+ t,
3352
+ n
3353
+ ]), o = e ?? "";
3354
+ return r.useMemo(() => Vn(o, a), [o, a]);
3355
+ }, Un = "_7ez1431 _7ez1430 txvbqb9ip txvbqbai7 txvbqbaop", Wn = ({ children: e }) => /* @__PURE__ */ u("div", {
3356
+ className: Un,
3357
+ children: e
3358
+ }), Gn = "efrur30 txvbqbg0y txvbqbnwg txvbqb1rg txvbqbp6p txvbqblyg", Kn = ({ children: e }) => /* @__PURE__ */ u("blockquote", {
3359
+ className: Gn,
3360
+ children: e
3361
+ }), qn = "_1gyncxq1 _1gyncxq0 txvbqb3c txvbqb3g", Jn = ({ children: e }) => /* @__PURE__ */ u("del", {
3362
+ className: qn,
3363
+ children: e
3364
+ }), Yn = "_1pjwgns1 _1pjwgns0 txvbqb1o", Xn = ({ children: e }) => /* @__PURE__ */ u("em", {
3365
+ className: Yn,
3366
+ children: e
3367
+ }), Zn = "_1p5id9v1 _1p5id9v0 txvbqb8p txvbqb9jg txvbqbamp txvbqb7s", Qn = "_4glc0s1 _4glc0s0 txvbqb8p txvbqb7s", $n = ({ children: e }) => /* @__PURE__ */ u("sup", {
3368
+ className: Qn,
3369
+ children: e
3370
+ }), er = ({ href: e, label: t }) => /* @__PURE__ */ u("a", {
3371
+ className: Zn,
3372
+ href: e,
3373
+ children: /* @__PURE__ */ d($n, { children: [
3374
+ "[",
3375
+ t,
3376
+ "]"
3377
+ ] })
3378
+ }), tr = "_1tab59a0 txvbqbhz7 txvbqbp6y txvbqb9ip txvbqbai7 txvbqbaog", nr = "_1tab59a1 txvbqb8y txvbqbamp txvbqb66", rr = "fx42h50 txvbqbhyp txvbqbnw7 txvbqb9ip txvbqbao7", ir = "fx42h51 txvbqb8p txvbqbaj7 txvbqbamp", ar = "fx42h52 txvbqb9my", or = ({ children: e, id: t, label: n }) => /* @__PURE__ */ d("div", {
3379
+ className: rr,
3380
+ id: t,
3381
+ children: [/* @__PURE__ */ d("span", {
3382
+ className: ir,
3383
+ children: [
3384
+ "[",
3385
+ n,
3386
+ "]"
3387
+ ]
3388
+ }), /* @__PURE__ */ u("div", {
3389
+ className: ar,
3390
+ children: e
3391
+ })]
3392
+ }), sr = ({ children: e }) => {
3393
+ let { t: n } = t(), r = i.toArray(e).flatMap((e) => {
3394
+ if (s(e)) {
3395
+ let t = e.props;
3396
+ if (typeof t.id == "string") {
3397
+ let e = t.id;
3398
+ return /* @__PURE__ */ u(or, {
3399
+ id: e,
3400
+ label: e,
3401
+ children: t.children
3402
+ }, e);
3403
+ }
3404
+ }
3405
+ return [];
3406
+ });
3407
+ return r.length === 0 ? null : /* @__PURE__ */ d("section", {
3408
+ className: tr,
3409
+ id: "footnotes",
3410
+ children: [/* @__PURE__ */ u("p", {
3411
+ className: nr,
3412
+ children: n("markdown.footnotes.title")
3413
+ }), r]
3414
+ });
3415
+ }, cr = f({
3416
+ defaultClassName: "_1uuc5dn8 _1uuc5dn1 _1uuc5dn0 txvbqbamp txvbqbf57 txvbqbg0g txvbqbrzg",
3417
+ variantClassNames: { level: {
3418
+ 1: "_1uuc5dn9 _1uuc5dn2 txvbqba7 txvbqbhz7",
3419
+ 2: "_1uuc5dna _1uuc5dn3 txvbqb9y txvbqbhy7",
3420
+ 3: "_1uuc5dnb _1uuc5dn4 txvbqb9p txvbqbhy7",
3421
+ 4: "_1uuc5dnc _1uuc5dn5 txvbqb9g txvbqbhyp",
3422
+ 5: "_1uuc5dnd _1uuc5dn6 txvbqb97 txvbqbhyp",
3423
+ 6: "_1uuc5dne _1uuc5dn7 txvbqb8y txvbqbhyg"
3424
+ } },
3425
+ defaultVariants: { level: 2 },
3426
+ compoundVariants: []
3427
+ }), lr = ({ children: e, id: t, level: n }) => o(`h${n}`, {
3428
+ className: cr({ level: n }),
3429
+ id: t
3430
+ }, e), ur = {
3431
+ "&": "&amp;",
3432
+ "<": "&lt;",
3433
+ ">": "&gt;",
3434
+ "\"": "&quot;",
3435
+ "'": "&#39;"
3436
+ }, dr = /[&<>"']/g;
3437
+ function fr(e) {
3438
+ return e.replace(dr, (e) => ur[e] ?? e);
3439
+ }
3440
+ //#endregion
3441
+ //#region src/atomic/molecules/markdown/components/MarkdownHtmlFallback.css.ts
3442
+ var pr = "_1d9sxpu0 txvbqb1qy txvbqbal7 txvbqb8p txvbqbf5g txvbqblb7 txvbqbuy7 txvbqbuu7", mr = ({ content: e, title: n }) => {
3443
+ let { t: r } = t();
3444
+ return /* @__PURE__ */ u("pre", {
3445
+ "aria-label": n ?? r("markdown.html.unsupported"),
3446
+ className: pr,
3447
+ children: fr(e)
3448
+ });
3449
+ }, hr = new Set([
3450
+ "javascript",
3451
+ "data",
3452
+ "vbscript"
3453
+ ].map((e) => `${e}:`)), gr = /^[a-zA-Z][a-zA-Z\d+\-.]*:/;
3454
+ function _r() {
3455
+ return typeof window < "u" ? window.location.origin : "http://localhost";
3456
+ }
3457
+ function vr(e) {
3458
+ let t = e.trim();
3459
+ if (t === "") return null;
3460
+ try {
3461
+ return gr.test(t) ? t.startsWith("//") ? new URL(`http:${t}`) : new URL(t) : new URL(t, _r());
3462
+ } catch {
3463
+ return null;
3464
+ }
3465
+ }
3466
+ function yr(e) {
3467
+ let t = e.trim();
3468
+ return t === "" ? !1 : t.startsWith("#") ? !0 : t.startsWith("//") ? !1 : !gr.test(t) && !t.startsWith("mailto:");
3469
+ }
3470
+ function br(e) {
3471
+ let t = vr(e);
3472
+ if (t == null) return !1;
3473
+ if (t.protocol === "mailto:") return !0;
3474
+ let n = _r();
3475
+ return t.origin !== n;
3476
+ }
3477
+ function xr(e) {
3478
+ let t = vr(e);
3479
+ if (t == null || hr.has(t.protocol)) return !1;
3480
+ if (t.protocol === "http:" || t.protocol === "https:" || t.protocol === "mailto:") return !0;
3481
+ let n = e.trim();
3482
+ return !gr.test(n) && !n.startsWith("#");
3483
+ }
3484
+ //#endregion
3485
+ //#region src/atomic/molecules/markdown/components/MarkdownImage.css.ts
3486
+ var Sr = "_104091w0 txvbqb9ip txvbqbai7 txvbqbb9p txvbqbg0y", Cr = "_104091w1 txvbqb1rg txvbqb9i7 txvbqbcg7 txvbqbjep", wr = "_104091w2 txvbqb8y txvbqbt6y", Tr = ({ alt: e, src: n, title: r }) => {
3487
+ let { t: i } = t(), a = n.trim();
3488
+ if (!xr(a) || yr(a)) return /* @__PURE__ */ u(mr, {
3489
+ content: i("markdown.image.unavailable", { src: a }),
3490
+ title: i("markdown.image.invalid")
3491
+ });
3492
+ let o = e ?? "", s = null;
3493
+ if (r != null) {
3494
+ let e = r.trim();
3495
+ e !== "" && (s = /* @__PURE__ */ u("figcaption", {
3496
+ className: wr,
3497
+ children: e
3498
+ }));
3499
+ }
3500
+ return /* @__PURE__ */ d("figure", {
3501
+ className: Sr,
3502
+ children: [/* @__PURE__ */ u("img", {
3503
+ alt: o,
3504
+ className: Cr,
3505
+ src: a,
3506
+ title: r
3507
+ }), s]
3508
+ });
3509
+ }, Er = "_12obj0m1 _12obj0m0 txvbqbohg txvbqbp4p txvbqbp67 txvbqblxy txvbqb1qy txvbqbal7 txvbqbjep txvbqbl87 txvbqbuy7 txvbqbuug", Dr = ({ text: e }) => /* @__PURE__ */ u("code", {
3510
+ className: Er,
3511
+ children: e
3512
+ }), Or = "rrpu1n0 ", kr = () => /* @__PURE__ */ u("br", { className: Or }), Ar = (e) => /* @__PURE__ */ d("svg", {
3513
+ "aria-hidden": "true",
3514
+ height: "16",
3515
+ viewBox: "0 0 16 16",
3516
+ width: "16",
3517
+ ...e,
3518
+ children: [
3519
+ /* @__PURE__ */ u("path", {
3520
+ d: "M9.5 3.5H13a.5.5 0 0 1 .5.5v3.5",
3521
+ fill: "none",
3522
+ stroke: "currentColor",
3523
+ strokeLinecap: "round",
3524
+ strokeLinejoin: "round",
3525
+ strokeWidth: "1.25"
3526
+ }),
3527
+ /* @__PURE__ */ u("path", {
3528
+ d: "M7 9l6-6",
3529
+ fill: "none",
3530
+ stroke: "currentColor",
3531
+ strokeLinecap: "round",
3532
+ strokeLinejoin: "round",
3533
+ strokeWidth: "1.25"
3534
+ }),
3535
+ /* @__PURE__ */ u("path", {
3536
+ d: "M12.5 9.75v3.25a.75.75 0 0 1-.75.75H4.25a.75.75 0 0 1-.75-.75V4.25a.75.75 0 0 1 .75-.75H7.5",
3537
+ fill: "none",
3538
+ stroke: "currentColor",
3539
+ strokeLinecap: "round",
3540
+ strokeLinejoin: "round",
3541
+ strokeWidth: "1.25"
3542
+ })
3543
+ ]
3544
+ }), jr = "xtwkbg1 xtwkbg0 txvbqb3d txvbqb6b txvbqb78 txvbqb6x txvbqb7m txvbqbuu7", Mr = "xtwkbg3 xtwkbg1 xtwkbg0 txvbqb3d txvbqb6b txvbqb78 txvbqb6x txvbqb7m txvbqbuu7 xtwkbg2 txvbqbcp txvbqb9jg txvbqbany", Nr = "xtwkbg5 xtwkbg4 txvbqb9jg", Pr = "xtwkbg7 xtwkbg6 txvbqbf txvbqb3b", Fr = ({ children: e, href: t, title: n }) => {
3545
+ let r = t.trim();
3546
+ return !xr(r) || yr(r) ? /* @__PURE__ */ u("span", {
3547
+ "aria-disabled": "true",
3548
+ className: Pr,
3549
+ title: n,
3550
+ children: e
3551
+ }) : br(r) ? /* @__PURE__ */ d("a", {
3552
+ className: Mr,
3553
+ href: r,
3554
+ rel: "noopener noreferrer",
3555
+ target: "_blank",
3556
+ title: n,
3557
+ children: [/* @__PURE__ */ u("span", { children: e }), /* @__PURE__ */ u(Ar, { className: Nr })]
3558
+ }) : /* @__PURE__ */ u("a", {
3559
+ className: jr,
3560
+ href: r,
3561
+ title: n,
3562
+ children: e
3563
+ });
3564
+ }, Ir = f({
3565
+ defaultClassName: "j8jfl12 j8jfl11 j8jfl10 txvbqbg0y txvbqbnwy",
3566
+ variantClassNames: { kind: {
3567
+ ordered: "j8jfl13",
3568
+ unordered: "j8jfl14"
3569
+ } },
3570
+ defaultVariants: { kind: "unordered" },
3571
+ compoundVariants: []
3572
+ }), Lr = ({ children: e, ordered: t, start: n }) => {
3573
+ let r = "unordered";
3574
+ t && (r = "ordered");
3575
+ let i = Ir({ kind: r });
3576
+ return t ? /* @__PURE__ */ u("ol", {
3577
+ className: i,
3578
+ start: n,
3579
+ children: e
3580
+ }) : /* @__PURE__ */ u("ul", {
3581
+ className: i,
3582
+ children: e
3583
+ });
3584
+ }, Rr = "_179nhwi1 _179nhwi0 txvbqbglp", zr = ({ children: e }) => /* @__PURE__ */ u("li", {
3585
+ className: Rr,
3586
+ children: e
3587
+ }), Br = "_8sf6f21 _8sf6f20 txvbqbnvp txvbqboiy txvbqbprp txvbqbmjg txvbqb1qy", Vr = ({ children: e }) => /* @__PURE__ */ u("mark", {
3588
+ className: Br,
3589
+ children: e
3590
+ }), Hr = "_1ts0gy31 _1ts0gy30 txvbqbg0p", Ur = ({ children: e }) => /* @__PURE__ */ u("p", {
3591
+ className: Hr,
3592
+ children: e
3593
+ }), Wr = "y8q56q1 y8q56q0 txvbqbamp", Gr = ({ children: e }) => /* @__PURE__ */ u("strong", {
3594
+ className: Wr,
3595
+ children: e
3596
+ }), Kr = "_1x14aer1 _1x14aer0 txvbqb8p txvbqb7r", qr = ({ children: e }) => /* @__PURE__ */ u("sub", {
3597
+ className: Kr,
3598
+ children: e
3599
+ }), Jr = "tr18yy0 txvbqbv41 txvbqbwg txvbqb1rp txvbqb1qg txvbqb1cp txvbqbg0y txvbqbl7g txvbqbl9g", Yr = "tr18yy2 tr18yy1 txvbqb81y txvbqb7eg txvbqbkhp txvbqbu7g", Xr = ({ children: e }) => /* @__PURE__ */ u("div", {
3600
+ className: Jr,
3601
+ children: /* @__PURE__ */ u("table", {
3602
+ className: Yr,
3603
+ children: e
3604
+ })
3605
+ }), Zr = "_1vdtpe40 ", Qr = ({ children: e }) => /* @__PURE__ */ u("tbody", {
3606
+ className: Zr,
3607
+ children: e
3608
+ }), $r = "_10ippzq1 _10ippzq0 txvbqbnw7 txvbqbojg txvbqbp6p txvbqblyg txvbqb3og txvbqb62p txvbqb1qg txvbqb7t", ei = ({ align: e = "left", children: t }) => {
3609
+ let n;
3610
+ return n = e === "left" ? void 0 : { textAlign: e }, /* @__PURE__ */ u("td", {
3611
+ className: $r,
3612
+ style: n,
3613
+ children: t
3614
+ });
3615
+ }, ti = "vu7hg60 txvbqbv43", ni = ({ children: e }) => /* @__PURE__ */ u("thead", {
3616
+ className: ti,
3617
+ children: e
3618
+ }), ri = "ln883i0 txvbqb3np txvbqb62p txvbqb1qg txvbqbp6p txvbqblyg txvbqbnw7 txvbqbojg txvbqbamp txvbqbt6p", ii = ({ align: e = "left", children: t }) => {
3619
+ let n;
3620
+ return n = e === "left" ? void 0 : { textAlign: e }, /* @__PURE__ */ u("th", {
3621
+ className: ri,
3622
+ scope: "col",
3623
+ style: n,
3624
+ children: t
3625
+ });
3626
+ }, ai = "_1xr5bls0 ", oi = ({ children: e }) => /* @__PURE__ */ u("tr", {
3627
+ className: ai,
3628
+ children: e
3629
+ }), si = (e) => /* @__PURE__ */ d("svg", {
3630
+ "aria-hidden": "true",
3631
+ height: "16",
3632
+ viewBox: "0 0 16 16",
3633
+ width: "16",
3634
+ ...e,
3635
+ children: [/* @__PURE__ */ u("rect", {
3636
+ fill: "none",
3637
+ height: "12",
3638
+ rx: "2",
3639
+ stroke: "currentColor",
3640
+ strokeWidth: "1.25",
3641
+ width: "12",
3642
+ x: "2",
3643
+ y: "2"
3644
+ }), /* @__PURE__ */ u("path", {
3645
+ d: "M5.25 8.25l2 2 3.5-3.5",
3646
+ fill: "none",
3647
+ stroke: "currentColor",
3648
+ strokeLinecap: "round",
3649
+ strokeLinejoin: "round",
3650
+ strokeWidth: "1.5"
3651
+ })]
3652
+ }), ci = (e) => /* @__PURE__ */ u("svg", {
3653
+ "aria-hidden": "true",
3654
+ height: "16",
3655
+ viewBox: "0 0 16 16",
3656
+ width: "16",
3657
+ ...e,
3658
+ children: /* @__PURE__ */ u("rect", {
3659
+ fill: "none",
3660
+ height: "12",
3661
+ rx: "2",
3662
+ stroke: "currentColor",
3663
+ strokeWidth: "1.25",
3664
+ width: "12",
3665
+ x: "2",
3666
+ y: "2"
3667
+ })
3668
+ }), li = "ibwk7i1 ibwk7i0 txvbqbf txvbqbfby txvbqbg0g txvbqbnvp", ui = "ibwk7i2 txvbqbcg txvbqb9ip txvbqbao7", di = "ibwk7i3 txvbqbaj7 txvbqbc67 txvbqbijg txvbqbtx7", fi = ({ checked: e, children: t }) => {
3669
+ let n = ci;
3670
+ return e && (n = si), /* @__PURE__ */ u("li", {
3671
+ className: li,
3672
+ role: "presentation",
3673
+ children: /* @__PURE__ */ d("div", {
3674
+ className: ui,
3675
+ children: [/* @__PURE__ */ u("span", {
3676
+ "aria-hidden": !0,
3677
+ className: di,
3678
+ children: /* @__PURE__ */ u(n, {})
3679
+ }), /* @__PURE__ */ u("div", { children: t })]
3680
+ })
3681
+ });
3682
+ }, pi = "ak8kia1 ak8kia0 txvbqbf5y txvbqbuu7 txvbqbuy7", mi = ({ text: e }) => /* @__PURE__ */ u("span", {
3683
+ className: pi,
3684
+ children: e
3685
+ }), hi = "_1hydqa90 txvbqbv4p txvbqb12g txvbqb1py txvbqbcgp txvbqbu7g", gi = () => /* @__PURE__ */ u("hr", { className: hi }), _i = (e) => e === "center" || e === "right" ? e : "left", vi = (e, t, n) => t == null ? null : e(t, n), yi = (e) => {
3686
+ if ("children" in e) return e.children;
3687
+ }, bi = (e) => e.type === K.codeInline, xi = (e) => e.type === K.codeBlock, Si = (e) => e.type === K.footnoteReference, Ci = (e) => e.type === K.heading, wi = (e) => e.type === K.htmlBlock, Ti = (e) => e.type === K.htmlSelfClosing, Ei = (e) => e.type === K.image, Di = (e) => e.type === K.link, Oi = (e) => e.type === K.orderedList, ki = (e) => e.type === K.paragraph, Ai = (e) => e.type === K.table, ji = (e) => e.type === K.text, Mi = (e) => e.type === K.textFormatted, Ni = (e) => e.type === K.unorderedList, Pi = (e) => e.type === K.gfmTask, Fi = /* @__PURE__ */ e({
3688
+ MarkdownRenderer: () => Ri,
3689
+ default: () => Ri
3690
+ }), Ii = {
3691
+ [K.blockQuote]: (e, t, n, r) => /* @__PURE__ */ u(Kn, { children: vi(n, yi(t), r) }, r.key),
3692
+ [K.breakLine]: (e, t, n, r) => /* @__PURE__ */ u(kr, {}, r.key),
3693
+ [K.breakThematic]: (e, t, n, r) => /* @__PURE__ */ u(gi, {}, r.key),
3694
+ [K.codeInline]: (e, t, n, r) => bi(t) ? /* @__PURE__ */ u(Dr, { text: t.text }, r.key) : null,
3695
+ [K.codeBlock]: (e, t, r, i) => xi(t) ? /* @__PURE__ */ u(n, {
3696
+ code: t.text,
3697
+ language: t.lang
3698
+ }, i.key) : null,
3699
+ [K.footnoteReference]: (e, t, n, r) => Si(t) ? /* @__PURE__ */ u(er, {
3700
+ href: t.target,
3701
+ label: t.text
3702
+ }, r.key) : null,
3703
+ [K.gfmTask]: () => null,
3704
+ [K.heading]: (e, t, n, r) => Ci(t) ? /* @__PURE__ */ u(lr, {
3705
+ id: t.id,
3706
+ level: t.level,
3707
+ children: vi(n, t.children, r)
3708
+ }, r.key) : null,
3709
+ [K.htmlBlock]: (e, t, n, r) => {
3710
+ if (!wi(t)) return null;
3711
+ let i = t.text, a = "";
3712
+ return typeof i == "string" && (a = i), /* @__PURE__ */ u(mr, { content: a }, r.key);
3713
+ },
3714
+ [K.htmlSelfClosing]: (e, t, n, r) => Ti(t) ? /* @__PURE__ */ u(mr, { content: `<${t.tag} />` }, r.key) : null,
3715
+ [K.image]: (e, t, n, r) => Ei(t) ? /* @__PURE__ */ u(Tr, {
3716
+ alt: t.alt,
3717
+ src: t.target,
3718
+ title: t.title
3719
+ }, r.key) : null,
3720
+ [K.link]: (e, t, n, r) => {
3721
+ if (!Di(t)) return null;
3722
+ let i = t.target;
3723
+ return i == null ? /* @__PURE__ */ u(a, { children: vi(n, t.children, r) }, r.key) : /* @__PURE__ */ u(Fr, {
3724
+ href: i,
3725
+ title: t.title,
3726
+ children: vi(n, t.children, r)
3727
+ }, r.key);
3728
+ },
3729
+ [K.orderedList]: (e, t, n, r) => Oi(t) ? /* @__PURE__ */ u(Lr, {
3730
+ ordered: !0,
3731
+ start: t.start,
3732
+ children: t.items.map((e, t) => {
3733
+ let i = "ol";
3734
+ r.key != null && (i = String(r.key));
3735
+ let a = `${i}-${t}`, o = e[0];
3736
+ if (o != null && Pi(o)) {
3737
+ let t = e.slice(1);
3738
+ return /* @__PURE__ */ u(fi, {
3739
+ checked: o.completed,
3740
+ children: vi(n, t, r)
3741
+ }, a);
3742
+ }
3743
+ return /* @__PURE__ */ u(zr, { children: vi(n, e, r) }, a);
3744
+ })
3745
+ }, r.key) : null,
3746
+ [K.paragraph]: (e, t, n, r) => ki(t) ? /* @__PURE__ */ u(Ur, { children: vi(n, t.children, r) }, r.key) : null,
3747
+ [K.table]: (e, t, n, r) => {
3748
+ if (!Ai(t)) return null;
3749
+ let i = null;
3750
+ return Array.isArray(t.header) && t.header.length > 0 && (i = /* @__PURE__ */ u(ni, { children: /* @__PURE__ */ u(oi, { children: t.header.map((e, i) => {
3751
+ let a;
3752
+ return Array.isArray(t.align) && (a = t.align[i]), /* @__PURE__ */ u(ii, {
3753
+ align: _i(a),
3754
+ children: vi(n, e, r)
3755
+ }, `header-${i}`);
3756
+ }) }) })), /* @__PURE__ */ d(Xr, { children: [i, /* @__PURE__ */ u(Qr, { children: t.cells.map((e, i) => /* @__PURE__ */ u(oi, { children: e.map((e, a) => {
3757
+ let o;
3758
+ return Array.isArray(t.align) && (o = t.align[a]), /* @__PURE__ */ u(ei, {
3759
+ align: _i(o),
3760
+ children: vi(n, e, r)
3761
+ }, `cell-${i}-${a}`);
3762
+ }) }, `row-${i}`)) })] }, r.key);
3763
+ },
3764
+ [K.text]: (e, t, n, r) => ji(t) ? /* @__PURE__ */ u(mi, { text: t.text }, r.key) : null,
3765
+ [K.textFormatted]: (e, t, n, r) => {
3766
+ if (!Mi(t)) return e();
3767
+ let i = vi(n, t.children, r);
3768
+ switch (t.tag) {
3769
+ case "strong":
3770
+ case "b": return /* @__PURE__ */ u(Gr, { children: i }, r.key);
3771
+ case "em":
3772
+ case "i": return /* @__PURE__ */ u(Xn, { children: i }, r.key);
3773
+ case "mark": return /* @__PURE__ */ u(Vr, { children: i }, r.key);
3774
+ case "del":
3775
+ case "s": return /* @__PURE__ */ u(Jn, { children: i }, r.key);
3776
+ default: return e();
3777
+ }
3778
+ },
3779
+ [K.unorderedList]: (e, t, n, r) => Ni(t) ? /* @__PURE__ */ u(Lr, {
3780
+ ordered: !1,
3781
+ children: t.items.map((e, t) => {
3782
+ let i = "ul";
3783
+ r.key != null && (i = String(r.key));
3784
+ let a = `${i}-${t}`, o = e[0];
3785
+ if (o != null && Pi(o)) {
3786
+ let t = e.slice(1);
3787
+ return /* @__PURE__ */ u(fi, {
3788
+ checked: o.completed,
3789
+ children: vi(n, t, r)
3790
+ }, a);
3791
+ }
3792
+ return /* @__PURE__ */ u(zr, { children: vi(n, e, r) }, a);
3793
+ })
3794
+ }, r.key) : null
3795
+ }, Li = {
3796
+ disableParsingRawHTML: !0,
3797
+ forceBlock: !0,
3798
+ wrapper: a,
3799
+ overrides: {
3800
+ footer: { component: sr },
3801
+ sup: { component: $n },
3802
+ sub: { component: qr }
3803
+ },
3804
+ renderRule(e, t, n, r) {
3805
+ let { type: i } = t, a = Ii[i];
3806
+ return a == null ? e() : a(e, t, n, r);
3807
+ }
3808
+ }, Ri = ({ content: e }) => {
3809
+ let t = c(e);
3810
+ return /* @__PURE__ */ u(Wn, { children: /* @__PURE__ */ u(Hn, {
3811
+ options: Li,
3812
+ children: l(() => t, [t])
3813
+ }) });
3814
+ };
3815
+ //#endregion
3816
+ export { Fi as n, Ar as r, Ri as t };
3817
+
3818
+ //# sourceMappingURL=MarkdownRenderer-D2PMxaXV.js.map