@spteck/react-controls-v2 2.3.7 → 2.3.9

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 (644) hide show
  1. package/dist/LocalizationProvider-B6NxHbu2.cjs +2 -0
  2. package/dist/LocalizationProvider-te5iu_6z.js +363 -0
  3. package/dist/_arrayEach-BuSFKyFt.js +54 -0
  4. package/dist/_arrayEach-ChR-TejB.cjs +2 -0
  5. package/dist/_getTag-BRuLtYrv.js +28 -0
  6. package/dist/_getTag-D6VVyrEu.cjs +2 -0
  7. package/dist/abstractions/IApplicationContext.d.ts +0 -1
  8. package/dist/abstractions/IAuthenticationProvider.d.ts +0 -1
  9. package/dist/abstractions/ILocalizationProvider.d.ts +0 -1
  10. package/dist/abstractions/providers/ConsoleLoggingProvider.d.ts +0 -1
  11. package/dist/abstractions/providers/DefaultGraphClient.d.ts +0 -1
  12. package/dist/abstractions/providers/DefaultLocalizationProvider.d.ts +0 -1
  13. package/dist/abstractions/providers/LocalStorageProvider.d.ts +0 -1
  14. package/dist/abstractions/providers/LocalizationProvider.d.ts +0 -1
  15. package/dist/ar-Blifx2MN.js +210 -0
  16. package/dist/ar-ip3bGOX3.cjs +2 -0
  17. package/dist/arc-4yb49ncY.js +82 -0
  18. package/dist/arc-djsA8IT0.cjs +2 -0
  19. package/dist/architecture-PBZL5I3N-CvTfVLFi.js +3 -0
  20. package/dist/architecture-PBZL5I3N-wZIE3ggH.cjs +1 -0
  21. package/dist/architectureDiagram-2XIMDMQ5-DFEvJNx1.cjs +37 -0
  22. package/dist/architectureDiagram-2XIMDMQ5-g-HotzpG.js +4047 -0
  23. package/dist/array-BNB_vRFv.cjs +2 -0
  24. package/dist/array-DP0duYiO.js +8 -0
  25. package/dist/az-CMhDjtnj.js +210 -0
  26. package/dist/az-CyVLdUDz.cjs +2 -0
  27. package/dist/bg-Bexoz3hL.cjs +2 -0
  28. package/dist/bg-C96WirSv.js +210 -0
  29. package/dist/blockDiagram-WCTKOSBZ-DWgb5Ghz.js +3165 -0
  30. package/dist/blockDiagram-WCTKOSBZ-Dl04FBAy.cjs +133 -0
  31. package/dist/bs-MMcvhwLv.cjs +2 -0
  32. package/dist/bs-_St1wBE_.js +210 -0
  33. package/dist/c4Diagram-IC4MRINW-ClZvialQ.js +2966 -0
  34. package/dist/c4Diagram-IC4MRINW-ZFE2cGZP.cjs +11 -0
  35. package/dist/ca-BspMSeHN.cjs +2 -0
  36. package/dist/ca-QlLcV4wf.js +210 -0
  37. package/dist/channel-2Bqnb1FY.js +7 -0
  38. package/dist/channel-5_aP1EVB.cjs +2 -0
  39. package/dist/chunk-4BX2VUAB-B5Va_oZz.js +10 -0
  40. package/dist/chunk-4BX2VUAB-BWDW-gYk.cjs +2 -0
  41. package/dist/chunk-55IACEB6-4ind_ByS.cjs +2 -0
  42. package/dist/chunk-55IACEB6-Pcyz_aR_.js +10 -0
  43. package/dist/chunk-7E7YKBS2-Sw9_w4gt.cjs +2 -0
  44. package/dist/chunk-7E7YKBS2-VHdgsed6.js +25 -0
  45. package/dist/chunk-7R4GIKGN-BKoqTTU_.cjs +81 -0
  46. package/dist/chunk-7R4GIKGN-CaQJ0QBF.js +2598 -0
  47. package/dist/chunk-C72U2L5F-CCvi6jiy.cjs +2 -0
  48. package/dist/chunk-C72U2L5F-MjJQTOMh.js +25 -0
  49. package/dist/chunk-D-IZpNpi.cjs +1 -0
  50. package/dist/chunk-EGIJ26TM-Bffl84Wq.cjs +2 -0
  51. package/dist/chunk-EGIJ26TM-DLMAfvpZ.js +25 -0
  52. package/dist/{chunk-FMBD7UC4-DD0xIF4q.js → chunk-FMBD7UC4-BvqqU04Z.cjs} +3 -7
  53. package/dist/chunk-FMBD7UC4-xjRtkFXe.js +7 -0
  54. package/dist/chunk-GEFDOKGD-BNgT40Ex.js +1302 -0
  55. package/dist/chunk-GEFDOKGD-BOwd6Jqp.cjs +3 -0
  56. package/dist/chunk-GLR3WWYH-DdNAJNRC.cjs +2 -0
  57. package/dist/chunk-GLR3WWYH-kyo6BUtq.js +43 -0
  58. package/dist/chunk-HHEYEP7N-DO1AYIZw.js +11 -0
  59. package/dist/chunk-HHEYEP7N-pdmgQZzP.cjs +2 -0
  60. package/dist/chunk-JSJVCQXG-Ci0seBb4.cjs +2 -0
  61. package/dist/chunk-JSJVCQXG-DowfYWcD.js +62 -0
  62. package/dist/chunk-KX2RTZJC-BJeOHReu.cjs +2 -0
  63. package/dist/chunk-KX2RTZJC-D-bUTSNy.js +27 -0
  64. package/dist/chunk-KYZI473N-DEPuSXaW.js +3436 -0
  65. package/dist/chunk-KYZI473N-DzBMFOER.cjs +54 -0
  66. package/dist/chunk-L3YUKLVL-BDGCTzmy.js +25 -0
  67. package/dist/chunk-L3YUKLVL-BZ17sqh5.cjs +2 -0
  68. package/dist/chunk-MX3YWQON-CAsnAj2e.js +82 -0
  69. package/dist/chunk-MX3YWQON-DulrBJdn.cjs +2 -0
  70. package/dist/chunk-NBPlniwU.js +23 -0
  71. package/dist/chunk-NQ4KR5QH-BJBAT2kM.cjs +221 -0
  72. package/dist/chunk-NQ4KR5QH-DFem-ORD.js +2004 -0
  73. package/dist/chunk-O4XLMI2P-BQF7MAo7.cjs +8 -0
  74. package/dist/chunk-O4XLMI2P-DA4TPzPG.js +513 -0
  75. package/dist/chunk-OZEHJAEY-CAiiXJUP.cjs +2 -0
  76. package/dist/chunk-OZEHJAEY-D7SX2SbR.js +66 -0
  77. package/dist/chunk-PQ6SQG4A-BZnW4-Sd.cjs +2 -0
  78. package/dist/chunk-PQ6SQG4A-ObFGkauo.js +69 -0
  79. package/dist/chunk-PU5JKC2W-BM5NPS-q.js +1887 -0
  80. package/dist/chunk-PU5JKC2W-eRU8wnTH.cjs +71 -0
  81. package/dist/chunk-QZHKN3VN-Dhli_tM0.cjs +2 -0
  82. package/dist/chunk-QZHKN3VN-x258g6EH.js +17 -0
  83. package/dist/chunk-R5LLSJPH-CNTEucEd.cjs +2 -0
  84. package/dist/chunk-R5LLSJPH-Gt27ml2m.js +37 -0
  85. package/dist/chunk-WL4C6EOR-CQXw6d0l.cjs +190 -0
  86. package/dist/chunk-WL4C6EOR-DuM6QmqM.js +3196 -0
  87. package/dist/chunk-XIRO2GV7-CswC9CO8.cjs +2 -0
  88. package/dist/chunk-XIRO2GV7-DXlO8X82.js +32 -0
  89. package/dist/chunk-XPW4576I-Bpsr4SZJ.js +1148 -0
  90. package/dist/chunk-XPW4576I-C68T-WIW.cjs +33 -0
  91. package/dist/chunk-XZSTWKYB-DJv9rEVU.cjs +95 -0
  92. package/dist/chunk-XZSTWKYB-jD9M1izK.js +16132 -0
  93. package/dist/chunk-YBOYWFTD-B6CeuteH.js +34 -0
  94. package/dist/chunk-YBOYWFTD-CiLW6HW_.cjs +2 -0
  95. package/dist/classDiagram-VBA2DB6C-Us0kuDfz.cjs +2 -0
  96. package/dist/classDiagram-VBA2DB6C-VOsE3gN0.js +31 -0
  97. package/dist/classDiagram-v2-RAHNMMFH-BWsm3ea6.cjs +2 -0
  98. package/dist/classDiagram-v2-RAHNMMFH-DPqMNfOz.js +31 -0
  99. package/dist/components/AISearchControl/useAISearchControlStyles.d.ts +0 -1
  100. package/dist/components/AspectRatio/AspectRatio.d.ts +0 -1
  101. package/dist/components/AspectRatio/IAspectRationProps.d.ts +0 -1
  102. package/dist/components/Card/ICardProps.d.ts +0 -1
  103. package/dist/components/Carousel/ICarouselProps.d.ts +0 -1
  104. package/dist/components/Carousel/useCarouselButton.d.ts +0 -1
  105. package/dist/components/Carousel/useCarouselStyles.d.ts +0 -1
  106. package/dist/components/Center/ICenterProps.d.ts +0 -1
  107. package/dist/components/ContentRenderer/IContentRendererProps.d.ts +0 -1
  108. package/dist/components/DataGridV2/DataGridV2.d.ts +2 -1
  109. package/dist/components/DataGridV2/IDataGridV2ExtraProps.d.ts +0 -1
  110. package/dist/components/Grid/IGridProps.d.ts +0 -1
  111. package/dist/components/ItemPicker/IItemPickerProps.d.ts +0 -1
  112. package/dist/components/KPIControl/IKpiCardProps.d.ts +0 -1
  113. package/dist/components/ListItemActivityMessage/IActivity.d.ts +0 -1
  114. package/dist/components/ListItemActivityMessage/IActivityMessageProps.d.ts +0 -1
  115. package/dist/components/ListItemActivityMessage/IActor.d.ts +0 -1
  116. package/dist/components/ListItemActivityMessage/useSharePointActivities.d.ts +0 -1
  117. package/dist/components/ListToolbar/FlatItem.d.ts +0 -1
  118. package/dist/components/ListToolbar/IListToolbarProps.d.ts +0 -1
  119. package/dist/components/ListToolbar/IToolbarItem.d.ts +0 -1
  120. package/dist/components/ListToolbar/IToolbarItemRendererProps.d.ts +0 -1
  121. package/dist/components/ListToolbar/helpers.d.ts +0 -1
  122. package/dist/components/MermaidDiagram/useMermaidDiagramStyles.d.ts +0 -1
  123. package/dist/components/Navigation/Navigation.d.ts +0 -1
  124. package/dist/components/Popup/Popup.d.ts +0 -1
  125. package/dist/components/Provider/UniversalProvider.d.ts +0 -1
  126. package/dist/components/Space/ISpaceProps.d.ts +0 -1
  127. package/dist/components/SplitPane/ISplitPaneProps.d.ts +0 -1
  128. package/dist/components/SplitPane/useSplitPaneStyles.d.ts +0 -1
  129. package/dist/components/Stack/IStackProps.d.ts +0 -1
  130. package/dist/components/StackedUsers/IStackedUsersProps.d.ts +0 -1
  131. package/dist/components/StackedUsers/StackedUsers.d.ts +0 -1
  132. package/dist/components/adaptiveCardHost/AdaptiveCardHost.HostConfig.d.ts +0 -1
  133. package/dist/components/adaptiveCardHost/AdaptiveCardHost.Utilities.d.ts +0 -1
  134. package/dist/components/adaptiveCardHost/AdaptiveCardHost.d.ts +0 -1
  135. package/dist/components/adaptiveCardHost/IAdaptiveCardHostProps.d.ts +0 -1
  136. package/dist/components/adaptiveCardHost/fluentUI/Elements.d.ts +0 -1
  137. package/dist/components/adaptiveCardHost/fluentUI/FluentUIChoiceSetInput.d.ts +0 -1
  138. package/dist/components/adaptiveCardHost/fluentUI/FluentUIDateInput.d.ts +0 -1
  139. package/dist/components/adaptiveCardHost/fluentUI/FluentUINumberInput.d.ts +0 -1
  140. package/dist/components/adaptiveCardHost/fluentUI/FluentUITextInput.d.ts +0 -1
  141. package/dist/components/adaptiveCardHost/fluentUI/FluentUIToggleInput.d.ts +0 -1
  142. package/dist/components/adaptiveCardHost/fluentUI/HostCapability.d.ts +0 -1
  143. package/dist/components/adaptiveCardHost/fluentUI/HostConfig.d.ts +0 -1
  144. package/dist/components/adaptiveCardHost/fluentUI/Styles.d.ts +0 -1
  145. package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostConfigResult.d.ts +0 -1
  146. package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostEvaluationContext.d.ts +0 -1
  147. package/dist/components/aiAssistant/ChatAction.d.ts +0 -1
  148. package/dist/components/aiAssistant/ChatInputProps.d.ts +0 -1
  149. package/dist/components/aiAssistant/ChatInputWithMensions.d.ts +0 -1
  150. package/dist/components/aiAssistant/ChatInputWithMensionsProps.d.ts +0 -1
  151. package/dist/components/aiAssistant/ChatInputWithMensionsV1.d.ts +0 -1
  152. package/dist/components/aiAssistant/ChatInputWithMensionsV2.d.ts +0 -1
  153. package/dist/components/aiAssistant/ChatState.d.ts +0 -1
  154. package/dist/components/aiAssistant/IAIAssistantProps.d.ts +0 -1
  155. package/dist/components/aiAssistant/chatReducer.d.ts +0 -1
  156. package/dist/components/aiAssistant/useChatInputStyles.d.ts +0 -1
  157. package/dist/components/aiAssistant/useChatInputWithMensionsStyles.d.ts +0 -1
  158. package/dist/components/aiAssistant/useStyles.d.ts +0 -1
  159. package/dist/components/appDashboard/AppDashboard.d.ts +0 -1
  160. package/dist/components/appDashboard/IAppDashboardProps.d.ts +0 -1
  161. package/dist/components/baseComponentProps/IBaseProps.d.ts +0 -1
  162. package/dist/components/breadcrumb/Breadcrumb.d.ts +0 -1
  163. package/dist/components/breadcrumb/IBreadcrumProps.d.ts +0 -1
  164. package/dist/components/breadcrumb/OverflowMenu.d.ts +0 -1
  165. package/dist/components/breadcrumb/useBreadcrumStyles.d.ts +0 -1
  166. package/dist/components/calendarControl/hooks/useCalendar.d.ts +0 -1
  167. package/dist/components/calendarControl/hooks/useUtils.d.ts +0 -1
  168. package/dist/components/calendarControl/models/ICalendarControlProps.d.ts +0 -1
  169. package/dist/components/calendarControl/models/IEvents.d.ts +0 -1
  170. package/dist/components/customControlBar/ICustomControlBarProps.d.ts +0 -1
  171. package/dist/components/dataGrid/DataGrid.d.ts +0 -1
  172. package/dist/components/dataGrid/IDataGridProps.d.ts +0 -1
  173. package/dist/components/dataGrid/ISortState.d.ts +0 -1
  174. package/dist/components/dataGrid/stack/IStackProps.d.ts +0 -1
  175. package/dist/components/dataGrid/stack/Stack.d.ts +0 -1
  176. package/dist/components/dataGrid/useDataGridStyles.d.ts +0 -1
  177. package/dist/components/dropDownField/IDropDownFieldProps.d.ts +0 -1
  178. package/dist/components/fluentUIProvider/FluentUIProvider.d.ts +0 -1
  179. package/dist/components/iconButton/IconButton.d.ts +0 -1
  180. package/dist/components/iconButton/IconButtonProps.d.ts +0 -1
  181. package/dist/components/mensions/IMensionsProps.d.ts +0 -1
  182. package/dist/components/mensions/Mensions.d.ts +0 -1
  183. package/dist/components/mensions/MensionsExample.d.ts +0 -1
  184. package/dist/components/renderAdaptiveCard/RenderAdaptiveCard.d.ts +0 -1
  185. package/dist/components/searchControl/useSearchControlStyles.d.ts +0 -1
  186. package/dist/components/selectView/SelectView.d.ts +0 -1
  187. package/dist/components/showError/ShowError.d.ts +0 -1
  188. package/dist/components/stackv2/IStackV2Props.d.ts +0 -1
  189. package/dist/components/stackv2/StackV2.d.ts +0 -1
  190. package/dist/components/userCard/IUserCardProps.d.ts +0 -1
  191. package/dist/components/userCard/IUserInfo.d.ts +0 -1
  192. package/dist/components/userCard/UserCard.d.ts +0 -1
  193. package/dist/components/userCard/constants.d.ts +0 -1
  194. package/dist/components/userCard/useUserProfile.d.ts +0 -1
  195. package/dist/components/videoPlayer/VideoPlayer.d.ts +0 -1
  196. package/dist/components/videoPlayer/useVideoStyles.d.ts +0 -1
  197. package/dist/components/worldMap/IWorldMapProps.d.ts +0 -1
  198. package/dist/components/worldMap/MaplibreWorldMapProps.d.ts +0 -1
  199. package/dist/components/worldMap/WorldMap.d.ts +0 -1
  200. package/dist/components/worldMap/WorldMapControl.d.ts +0 -1
  201. package/dist/components/worldMap/useCleanMapStyle.d.ts +0 -1
  202. package/dist/components/worldMap/useGeocodedCountries.d.ts +0 -1
  203. package/dist/cose-bilkent-S5V4N54A-CKhwzobJ.js +2252 -0
  204. package/dist/cose-bilkent-S5V4N54A-DmyaRQ6l.cjs +2 -0
  205. package/dist/cs-FZSeHYld.cjs +2 -0
  206. package/dist/cs-MrS2bH7F.js +210 -0
  207. package/dist/cy-BX97Tgwk.js +210 -0
  208. package/dist/cy-CzQmM2lQ.cjs +2 -0
  209. package/dist/cytoscape.esm-CcJAI0wG.cjs +322 -0
  210. package/dist/cytoscape.esm-D9EjU25_.js +18102 -0
  211. package/dist/da-BnewPPrh.js +210 -0
  212. package/dist/da-CexFt-Oj.cjs +2 -0
  213. package/dist/dagre-CpEPaL3r.cjs +2 -0
  214. package/dist/dagre-Dd8wCGc6.js +1305 -0
  215. package/dist/dagre-KLK3FWXG-BpxkjvB3.js +294 -0
  216. package/dist/dagre-KLK3FWXG-DIznPQl_.cjs +5 -0
  217. package/dist/de-B68HwuYu.cjs +2 -0
  218. package/dist/de-BSZuzGTL.js +210 -0
  219. package/dist/defaultLocale-CYOzCjwh.js +203 -0
  220. package/dist/defaultLocale-DSgylVA1.cjs +2 -0
  221. package/dist/diagram-E7M64L7V-dXqTi77U.cjs +25 -0
  222. package/dist/diagram-E7M64L7V-oX07GVAD.js +529 -0
  223. package/dist/diagram-IFDJBPK2-CriVAAmI.cjs +44 -0
  224. package/dist/diagram-IFDJBPK2-lCNF06_S.js +215 -0
  225. package/dist/diagram-P4PSJMXO-TfwVJh4S.js +135 -0
  226. package/dist/diagram-P4PSJMXO-k7F0lH6Q.cjs +25 -0
  227. package/dist/dist-CV9Ez7cn.js +52 -0
  228. package/dist/dist-DVthN7lF.cjs +2 -0
  229. package/dist/el-DQc4jSMd.cjs +2 -0
  230. package/dist/el-DrOk3N7-.js +210 -0
  231. package/dist/erDiagram-INFDFZHY-CDt3mOSU.cjs +71 -0
  232. package/dist/erDiagram-INFDFZHY-Ds_R2Ds4.js +1668 -0
  233. package/dist/es-CGqzubZ2.js +210 -0
  234. package/dist/es-DI8Y4Bv1.cjs +2 -0
  235. package/dist/et-DGqkocuq.js +210 -0
  236. package/dist/et-DfaryKvp.cjs +2 -0
  237. package/dist/eu-BVOSXciF.cjs +2 -0
  238. package/dist/eu-DEo7fdTW.js +210 -0
  239. package/dist/fi-C5L-OzaI.cjs +2 -0
  240. package/dist/fi-DxErwnd5.js +210 -0
  241. package/dist/flowDiagram-PKNHOUZH-7XJG07fo.cjs +163 -0
  242. package/dist/flowDiagram-PKNHOUZH-CkeYebJ5.js +4163 -0
  243. package/dist/fr-yFvjqx8B.cjs +2 -0
  244. package/dist/fr-zrtSZX0o.js +210 -0
  245. package/dist/ga-6mVQhlWi.cjs +2 -0
  246. package/dist/ga-CbHxGc9_.js +210 -0
  247. package/dist/ganttDiagram-A5KZAMGK-Bbck1pyM.cjs +293 -0
  248. package/dist/ganttDiagram-A5KZAMGK-CFT3Xn_r.js +3074 -0
  249. package/dist/gitGraph-HDMCJU4V-BKE04oIl.js +3 -0
  250. package/dist/gitGraph-HDMCJU4V-C9GYfOYb.cjs +1 -0
  251. package/dist/gitGraphDiagram-K3NZZRJ6-CXz9SHBX.js +627 -0
  252. package/dist/gitGraphDiagram-K3NZZRJ6-Dt4D-ig1.cjs +66 -0
  253. package/dist/gl--w0P3RY4.js +210 -0
  254. package/dist/gl-BJzJe1sq.cjs +2 -0
  255. package/dist/graphlib-CPo7oIsu.js +223 -0
  256. package/dist/graphlib-CmUS4Qin.cjs +2 -0
  257. package/dist/he-B3Bw3qr0.cjs +2 -0
  258. package/dist/he-DY19lzWp.js +210 -0
  259. package/dist/hi-CFSsoO_8.js +210 -0
  260. package/dist/hi-kofL-mD8.cjs +2 -0
  261. package/dist/hooks/useBrandCenterFonts.d.ts +0 -1
  262. package/dist/hooks/useGraphAPI.d.ts +0 -1
  263. package/dist/hooks/useLocalizationStrings.d.ts +0 -1
  264. package/dist/hooks/useLogging.d.ts +0 -1
  265. package/dist/hr-CDxqA9Jm.cjs +2 -0
  266. package/dist/hr-DIRJ1Z8e.js +210 -0
  267. package/dist/hu-Defen_75.cjs +2 -0
  268. package/dist/hu-DqYPRWZh.js +210 -0
  269. package/dist/id-DcwMRgmX.cjs +2 -0
  270. package/dist/id-Dgj7SUCi.js +210 -0
  271. package/dist/identity-6JlhFhuM.cjs +2 -0
  272. package/dist/identity-C1jKsMoW.js +395 -0
  273. package/dist/index.cjs +453 -2
  274. package/dist/index.js +22828 -168
  275. package/dist/info-3K5VOQVL-DfN_3mKd.js +3 -0
  276. package/dist/info-3K5VOQVL-d6J9FY0_.cjs +1 -0
  277. package/dist/infoDiagram-LFFYTUFH-Bp9btqnA.cjs +3 -0
  278. package/dist/infoDiagram-LFFYTUFH-DnvgRFnx.js +21 -0
  279. package/dist/init-BAFZAp9S.cjs +2 -0
  280. package/dist/init-m0TwgR4W.js +17 -0
  281. package/dist/isEmpty-BTp1uKIj.cjs +2 -0
  282. package/dist/isEmpty-uXVYZZYe.js +17 -0
  283. package/dist/ishikawaDiagram-PHBUUO56-DLaOkz38.js +719 -0
  284. package/dist/ishikawaDiagram-PHBUUO56-DmqObwMZ.cjs +71 -0
  285. package/dist/it-D5nM6KCi.cjs +2 -0
  286. package/dist/it-QdChHqVN.js +210 -0
  287. package/dist/ja-BNS0BbY-.js +210 -0
  288. package/dist/ja-BtuHirv7.cjs +2 -0
  289. package/dist/journeyDiagram-4ABVD52K-Cv0DbLMi.cjs +140 -0
  290. package/dist/journeyDiagram-4ABVD52K-DYmmcNK4.js +885 -0
  291. package/dist/kanban-definition-K7BYSVSG-BdQLAMeB.cjs +90 -0
  292. package/dist/kanban-definition-K7BYSVSG-CLEYqSz5.js +973 -0
  293. package/dist/katex-B-Nju2J8.js +22002 -0
  294. package/dist/katex-WY67Rp7A.cjs +266 -0
  295. package/dist/kk-BSl8IqgQ.cjs +2 -0
  296. package/dist/kk-Dhkax68h.js +210 -0
  297. package/dist/ko-eplb1GD0.cjs +2 -0
  298. package/dist/ko-heRMHZWp.js +210 -0
  299. package/dist/line-CbEBKCYr.js +36 -0
  300. package/dist/line-DqSdvtRR.cjs +2 -0
  301. package/dist/linear-DvLDpS6A.cjs +2 -0
  302. package/dist/linear-Eb79THx6.js +291 -0
  303. package/dist/localization/ILibraryStrings.d.ts +0 -1
  304. package/dist/localization/defaults/ar.d.ts +0 -1
  305. package/dist/localization/defaults/az.d.ts +0 -1
  306. package/dist/localization/defaults/bg.d.ts +0 -1
  307. package/dist/localization/defaults/bs.d.ts +0 -1
  308. package/dist/localization/defaults/ca.d.ts +0 -1
  309. package/dist/localization/defaults/cs.d.ts +0 -1
  310. package/dist/localization/defaults/cy.d.ts +0 -1
  311. package/dist/localization/defaults/da.d.ts +0 -1
  312. package/dist/localization/defaults/de.d.ts +0 -1
  313. package/dist/localization/defaults/el.d.ts +0 -1
  314. package/dist/localization/defaults/en.d.ts +0 -1
  315. package/dist/localization/defaults/es.d.ts +0 -1
  316. package/dist/localization/defaults/et.d.ts +0 -1
  317. package/dist/localization/defaults/eu.d.ts +0 -1
  318. package/dist/localization/defaults/fi.d.ts +0 -1
  319. package/dist/localization/defaults/fr.d.ts +0 -1
  320. package/dist/localization/defaults/ga.d.ts +0 -1
  321. package/dist/localization/defaults/gl.d.ts +0 -1
  322. package/dist/localization/defaults/he.d.ts +0 -1
  323. package/dist/localization/defaults/hi.d.ts +0 -1
  324. package/dist/localization/defaults/hr.d.ts +0 -1
  325. package/dist/localization/defaults/hu.d.ts +0 -1
  326. package/dist/localization/defaults/id.d.ts +0 -1
  327. package/dist/localization/defaults/it.d.ts +0 -1
  328. package/dist/localization/defaults/ja.d.ts +0 -1
  329. package/dist/localization/defaults/kk.d.ts +0 -1
  330. package/dist/localization/defaults/ko.d.ts +0 -1
  331. package/dist/localization/defaults/lt.d.ts +0 -1
  332. package/dist/localization/defaults/lv.d.ts +0 -1
  333. package/dist/localization/defaults/mk.d.ts +0 -1
  334. package/dist/localization/defaults/ms.d.ts +0 -1
  335. package/dist/localization/defaults/nb.d.ts +0 -1
  336. package/dist/localization/defaults/nl.d.ts +0 -1
  337. package/dist/localization/defaults/pl.d.ts +0 -1
  338. package/dist/localization/defaults/pt.d.ts +0 -1
  339. package/dist/localization/defaults/ro.d.ts +0 -1
  340. package/dist/localization/defaults/ru.d.ts +0 -1
  341. package/dist/localization/defaults/sk.d.ts +0 -1
  342. package/dist/localization/defaults/sl.d.ts +0 -1
  343. package/dist/localization/defaults/sr.d.ts +0 -1
  344. package/dist/localization/defaults/sv.d.ts +0 -1
  345. package/dist/localization/defaults/th.d.ts +0 -1
  346. package/dist/localization/defaults/tr.d.ts +0 -1
  347. package/dist/localization/defaults/uk.d.ts +0 -1
  348. package/dist/localization/defaults/vi.d.ts +0 -1
  349. package/dist/localization/defaults/zh.d.ts +0 -1
  350. package/dist/lt-Decqbo8S.js +210 -0
  351. package/dist/lt-DsYAWFbF.cjs +2 -0
  352. package/dist/lv-DHmTjCb8.cjs +2 -0
  353. package/dist/lv-wZASv0Lw.js +210 -0
  354. package/dist/maplibre-gl-qSrG75fp.js +33003 -0
  355. package/dist/maplibre-gl-tm_pVdmb.cjs +757 -0
  356. package/dist/math-DR9t6ixc.cjs +2 -0
  357. package/dist/math-DyURnvXC.js +12 -0
  358. package/dist/mermaid-parser.core-BdTB9qx-.js +61 -0
  359. package/dist/mermaid-parser.core-BlzF5RRD.cjs +4 -0
  360. package/dist/mindmap-definition-YRQLILUH-CzcVgr-U.js +966 -0
  361. package/dist/mindmap-definition-YRQLILUH-zWN_YXC3.cjs +69 -0
  362. package/dist/mk-BTsLGTJT.js +210 -0
  363. package/dist/mk-CCV_308U.cjs +2 -0
  364. package/dist/ms-C0cVNwky.js +210 -0
  365. package/dist/ms-CH83xVYN.cjs +2 -0
  366. package/dist/nb-DGX4q4tS.js +210 -0
  367. package/dist/nb-DZ-DlwcL.cjs +2 -0
  368. package/dist/nl-CnXZa8tZ.js +210 -0
  369. package/dist/nl-Xdf-A19i.cjs +2 -0
  370. package/dist/ordinal-BAWGEQkf.js +67 -0
  371. package/dist/ordinal-CL2X4e2C.cjs +2 -0
  372. package/dist/packet-RMMSAZCW-Bek1stRX.cjs +1 -0
  373. package/dist/packet-RMMSAZCW-DUN6t9lN.js +3 -0
  374. package/dist/path-Bt6guLtL.cjs +2 -0
  375. package/dist/path-DSzKK8fH.js +87 -0
  376. package/dist/pie-UPGHQEXC-DjqNO54R.js +3 -0
  377. package/dist/pie-UPGHQEXC-pJq6_YgE.cjs +1 -0
  378. package/dist/pieDiagram-SKSYHLDU-Ba-c0fRA.cjs +31 -0
  379. package/dist/pieDiagram-SKSYHLDU-ya07MTY-.js +167 -0
  380. package/dist/pl-BStql1S-.cjs +2 -0
  381. package/dist/pl-DbIdTNpg.js +210 -0
  382. package/dist/providers.cjs +2 -2
  383. package/dist/providers.d.ts +1 -0
  384. package/dist/providers.js +188 -252
  385. package/dist/pt-CcKYweQk.js +210 -0
  386. package/dist/pt-Dk4jELuZ.cjs +2 -0
  387. package/dist/quadrantDiagram-337W2JSQ-CQQEVC49.cjs +8 -0
  388. package/dist/quadrantDiagram-337W2JSQ-Dp_QyIEO.js +1976 -0
  389. package/dist/radar-KQ55EAFF-Bid2hXXI.cjs +1 -0
  390. package/dist/radar-KQ55EAFF-C6zhEkCz.js +3 -0
  391. package/dist/requirementDiagram-Z7DCOOCP-CRl2914V.js +2203 -0
  392. package/dist/requirementDiagram-Z7DCOOCP-CeMYhXEm.cjs +74 -0
  393. package/dist/ro-BvhMyTKh.cjs +2 -0
  394. package/dist/ro-C-8tiqgA.js +210 -0
  395. package/dist/rough.esm-BjJ_weyP.cjs +2 -0
  396. package/dist/rough.esm-DBHP55VQ.js +1354 -0
  397. package/dist/ru-BQosng8l.cjs +2 -0
  398. package/dist/ru-Dhnz96q2.js +210 -0
  399. package/dist/sankeyDiagram-WA2Y5GQK-BFrF47Iv.js +922 -0
  400. package/dist/sankeyDiagram-WA2Y5GQK-DDfjtQ4G.cjs +11 -0
  401. package/dist/sequenceDiagram-2WXFIKYE-B-zWyr9f.cjs +146 -0
  402. package/dist/sequenceDiagram-2WXFIKYE-BAd8OVlz.js +4111 -0
  403. package/dist/sk-BU-Z5EsC.js +210 -0
  404. package/dist/sk-BhA7UeAk.cjs +2 -0
  405. package/dist/sl-6Mczv4jG.cjs +2 -0
  406. package/dist/sl-CcfjJFxo.js +210 -0
  407. package/dist/sr-CxObZdu0.cjs +2 -0
  408. package/dist/sr-S53unrLA.js +210 -0
  409. package/dist/src-DFxq-N5I.cjs +2 -0
  410. package/dist/src-Dm6r9c7l.js +2148 -0
  411. package/dist/stateDiagram-RAJIS63D-C-tfqeC-.js +219 -0
  412. package/dist/stateDiagram-RAJIS63D-C1Aj8vJQ.cjs +2 -0
  413. package/dist/stateDiagram-v2-FVOUBMTO-C-w53gXL.js +29 -0
  414. package/dist/stateDiagram-v2-FVOUBMTO-VoIE_KVn.cjs +2 -0
  415. package/dist/sv-BfiunVuX.cjs +2 -0
  416. package/dist/sv-BiJrVfZr.js +210 -0
  417. package/dist/th-BqLGltZi.cjs +2 -0
  418. package/dist/th-vQ7LQ7nD.js +210 -0
  419. package/dist/timeline-definition-YZTLITO2-CE1y2S_r.js +832 -0
  420. package/dist/timeline-definition-YZTLITO2-D8aFfnYE.cjs +62 -0
  421. package/dist/tr-Brwl4o_Z.cjs +2 -0
  422. package/dist/tr-C5RrNGLz.js +210 -0
  423. package/dist/treemap-KZPCXAKY-D2v0uStP.cjs +1 -0
  424. package/dist/treemap-KZPCXAKY-DLE_f1Bk.js +3 -0
  425. package/dist/types/THorizontalSpacing.d.ts +0 -1
  426. package/dist/types/THorizontalSpacingBreakPoints.d.ts +0 -1
  427. package/dist/types/TPaddingBreakPoints.d.ts +0 -1
  428. package/dist/types/TPading.d.ts +0 -1
  429. package/dist/types/TVerticalSpacing.d.ts +0 -1
  430. package/dist/types/TVerticalSpacingBreakPoints.d.ts +0 -1
  431. package/dist/uk-CV49TRvS.cjs +2 -0
  432. package/dist/uk-WGCFH0fY.js +210 -0
  433. package/dist/vennDiagram-LZ73GAT5-BSpVMORX.js +1860 -0
  434. package/dist/vennDiagram-LZ73GAT5-DvnB0e7u.cjs +35 -0
  435. package/dist/vi-JzM7bjn_.cjs +2 -0
  436. package/dist/vi-Waa7HkXq.js +210 -0
  437. package/dist/xychartDiagram-JWTSCODW-0qbVGrDs.cjs +8 -0
  438. package/dist/xychartDiagram-JWTSCODW-DpIry-th.js +2043 -0
  439. package/dist/zh-BmUS7Wn_.js +210 -0
  440. package/dist/zh-DEm0SGzZ.cjs +2 -0
  441. package/package.json +7 -7
  442. package/dist/LocalizationProvider-BLjmybBa.cjs +0 -2
  443. package/dist/LocalizationProvider-BSlUf0tp.js +0 -497
  444. package/dist/_arrayEach-Cje_jmPk.cjs +0 -2
  445. package/dist/_arrayEach-FofefpDi.js +0 -61
  446. package/dist/ar-C1pLt8fa.js +0 -219
  447. package/dist/ar-Jzw7PLrc.cjs +0 -2
  448. package/dist/arc-5Gjtja_I.js +0 -132
  449. package/dist/arc-DJHyDr2O.cjs +0 -2
  450. package/dist/architecture-7HQA4BMR-B3tJE43W.js +0 -6
  451. package/dist/architecture-7HQA4BMR-gT33-zCB.cjs +0 -2
  452. package/dist/architectureDiagram-VXUJARFQ-2JSYYGtM.js +0 -8680
  453. package/dist/architectureDiagram-VXUJARFQ-DXZHHpiT.cjs +0 -2
  454. package/dist/az-C0Ow5Hxa.cjs +0 -2
  455. package/dist/az-C3-F9ybX.js +0 -219
  456. package/dist/bg-YB0TmpRF.cjs +0 -2
  457. package/dist/bg-w2e_udiK.js +0 -219
  458. package/dist/blockDiagram-VD42YOAC-B6nGrskI.js +0 -3756
  459. package/dist/blockDiagram-VD42YOAC-quPSWMXj.cjs +0 -2
  460. package/dist/bs-BoW04lRb.cjs +0 -2
  461. package/dist/bs-CEe_gjEx.js +0 -219
  462. package/dist/c4Diagram-YG6GDRKO-CvSU_nSb.js +0 -2483
  463. package/dist/c4Diagram-YG6GDRKO-yrm6z9xI.cjs +0 -2
  464. package/dist/ca-Bsy2Y5pS.cjs +0 -2
  465. package/dist/ca-CKpd72XI.js +0 -219
  466. package/dist/channel-BGx_PGej.cjs +0 -2
  467. package/dist/channel-Dx_x_I-e.js +0 -8
  468. package/dist/chunk-4BX2VUAB-DE7Tf1KJ.js +0 -18
  469. package/dist/chunk-4BX2VUAB-hg2h7y7T.cjs +0 -2
  470. package/dist/chunk-55IACEB6-5VDRE5b9.js +0 -14
  471. package/dist/chunk-55IACEB6-DQzh2BFT.cjs +0 -2
  472. package/dist/chunk-B4BG7PRW-BONACuKe.cjs +0 -2
  473. package/dist/chunk-B4BG7PRW-ClXZOBBj.js +0 -1828
  474. package/dist/chunk-DI55MBZ5-CnX_pntz.cjs +0 -2
  475. package/dist/chunk-DI55MBZ5-Cw4AXuM5.js +0 -1928
  476. package/dist/chunk-FMBD7UC4-vGLXIanH.cjs +0 -2
  477. package/dist/chunk-QN33PNHL-Bi6cNSdZ.cjs +0 -2
  478. package/dist/chunk-QN33PNHL-NyikcZce.js +0 -26
  479. package/dist/chunk-QZHKN3VN-Cj-nkoY3.cjs +0 -2
  480. package/dist/chunk-QZHKN3VN-DRpbGzBX.js +0 -18
  481. package/dist/chunk-TZMSLE5B-Dbk2wKaP.cjs +0 -2
  482. package/dist/chunk-TZMSLE5B-DiEITu_i.js +0 -109
  483. package/dist/classDiagram-2ON5EDUG-CZ8qM-r0.js +0 -20
  484. package/dist/classDiagram-2ON5EDUG-GEqVHOl4.cjs +0 -2
  485. package/dist/classDiagram-v2-WZHVMYZB-CZ8qM-r0.js +0 -20
  486. package/dist/classDiagram-v2-WZHVMYZB-GEqVHOl4.cjs +0 -2
  487. package/dist/cose-bilkent-S5V4N54A-Bk5UrOC6.cjs +0 -2
  488. package/dist/cose-bilkent-S5V4N54A-D9POuI1b.js +0 -4934
  489. package/dist/cs-D-801PIR.cjs +0 -2
  490. package/dist/cs-DQvRPciB.js +0 -219
  491. package/dist/cy-BxyJCM05.js +0 -219
  492. package/dist/cy-aUPUcn-S.cjs +0 -2
  493. package/dist/cytoscape.esm-BS1owLay.js +0 -30250
  494. package/dist/cytoscape.esm-BxB3woZB.cjs +0 -10
  495. package/dist/da-B05ad5Iq.js +0 -219
  496. package/dist/da-CTiLOqut.cjs +0 -2
  497. package/dist/dagre-6UL2VRFP-BGgMwKrx.cjs +0 -2
  498. package/dist/dagre-6UL2VRFP-D1VXYHDk.js +0 -696
  499. package/dist/de-DJ5iwpd7.js +0 -219
  500. package/dist/de-Dm204UMA.cjs +0 -2
  501. package/dist/defaultLocale-7NeEK7SF.cjs +0 -2
  502. package/dist/defaultLocale-DVr69WTU.js +0 -207
  503. package/dist/diagram-PSM6KHXK-BnJ6u90U.cjs +0 -2
  504. package/dist/diagram-PSM6KHXK-MkySzwCw.js +0 -848
  505. package/dist/diagram-QEK2KX5R-7oJbO__T.js +0 -305
  506. package/dist/diagram-QEK2KX5R-CQjADuvs.cjs +0 -2
  507. package/dist/diagram-S2PKOQOG-AFF7RL6D.cjs +0 -2
  508. package/dist/diagram-S2PKOQOG-t6d3dY_R.js +0 -212
  509. package/dist/el-CBS9mHS3.js +0 -219
  510. package/dist/el-DbtZj-ph.cjs +0 -2
  511. package/dist/erDiagram-Q2GNP2WA-BY5cfs21.js +0 -1160
  512. package/dist/erDiagram-Q2GNP2WA-CsdjPSsg.cjs +0 -2
  513. package/dist/es-Bo08apQr.js +0 -219
  514. package/dist/es-Cc-4Vqf7.cjs +0 -2
  515. package/dist/et-D5pQ66eY.cjs +0 -2
  516. package/dist/et-pRL0Tmle.js +0 -219
  517. package/dist/eu-Br68gaf7.js +0 -219
  518. package/dist/eu-RZ-27koK.cjs +0 -2
  519. package/dist/fi-BCXB-k_X.js +0 -219
  520. package/dist/fi-Dqa9mgnW.cjs +0 -2
  521. package/dist/flowDiagram-NV44I4VS-BcaW6-_t.cjs +0 -2
  522. package/dist/flowDiagram-NV44I4VS-DoSHOTLX.js +0 -2339
  523. package/dist/fr-B7fhkle4.cjs +0 -2
  524. package/dist/fr-gKE1SSIF.js +0 -219
  525. package/dist/ga-4Hf7vKvr.cjs +0 -2
  526. package/dist/ga-C1SpITZy.js +0 -219
  527. package/dist/ganttDiagram-JELNMOA3-C8aHKsjy.js +0 -3652
  528. package/dist/ganttDiagram-JELNMOA3-YuzFUWYN.cjs +0 -2
  529. package/dist/gitGraph-G5XIXVHT-DN5M1zzB.cjs +0 -2
  530. package/dist/gitGraph-G5XIXVHT-kJP_icZ5.js +0 -6
  531. package/dist/gitGraphDiagram-V2S2FVAM-Bl2LJ6uK.js +0 -1215
  532. package/dist/gitGraphDiagram-V2S2FVAM-DI5S_ure.cjs +0 -2
  533. package/dist/gl-COSpsMSK.cjs +0 -2
  534. package/dist/gl-CSzCeu2L.js +0 -219
  535. package/dist/graph-C7xixGrW.cjs +0 -2
  536. package/dist/graph-DH3cnEko.js +0 -421
  537. package/dist/he-BrkfqoIm.js +0 -219
  538. package/dist/he-C7Wi6-EL.cjs +0 -2
  539. package/dist/hi-C1RGDPzn.js +0 -219
  540. package/dist/hi-ojklJj-a.cjs +0 -2
  541. package/dist/hr-CsO_h2VT.js +0 -219
  542. package/dist/hr-DkEwOCGU.cjs +0 -2
  543. package/dist/hu-CVtbM-V2.js +0 -219
  544. package/dist/hu-D8uAAzvN.cjs +0 -2
  545. package/dist/id-18yPGK2f.cjs +0 -2
  546. package/dist/id-CARSN0W8.js +0 -219
  547. package/dist/index-BMfuEpa-.cjs +0 -428
  548. package/dist/index-BiWHWaTZ.js +0 -55588
  549. package/dist/info-VBDWY6EO-0yZ4VJNq.cjs +0 -2
  550. package/dist/info-VBDWY6EO-CcLNynBA.js +0 -6
  551. package/dist/infoDiagram-HS3SLOUP-Bp0yOoLT.js +0 -32
  552. package/dist/infoDiagram-HS3SLOUP-C0Zno052.cjs +0 -2
  553. package/dist/init-DZ96s0AS.cjs +0 -2
  554. package/dist/init-ZxktEp_H.js +0 -17
  555. package/dist/it-BVq911RW.cjs +0 -2
  556. package/dist/it-ClWGK7XT.js +0 -219
  557. package/dist/ja-BgcKuKZ4.cjs +0 -2
  558. package/dist/ja-DGL12HwE.js +0 -219
  559. package/dist/journeyDiagram-XKPGCS4Q-0OiMrl1O.cjs +0 -2
  560. package/dist/journeyDiagram-XKPGCS4Q-Ci2gigtu.js +0 -1255
  561. package/dist/kanban-definition-3W4ZIXB7-DTLYV2yk.js +0 -1049
  562. package/dist/kanban-definition-3W4ZIXB7-DbJAXyvr.cjs +0 -2
  563. package/dist/katex-DPu4QpBP.cjs +0 -2
  564. package/dist/katex-Dd1-wdX2.js +0 -14523
  565. package/dist/kk-CkKXbKso.js +0 -219
  566. package/dist/kk-Dn3FBkOR.cjs +0 -2
  567. package/dist/ko-CKAbV25b.cjs +0 -2
  568. package/dist/ko-QYvDV2aw.js +0 -219
  569. package/dist/layout-D6yO7DzL.cjs +0 -2
  570. package/dist/layout-bxkZz7Cm.js +0 -1919
  571. package/dist/linear-CmvLp6xX.js +0 -341
  572. package/dist/linear-d_werDwb.cjs +0 -2
  573. package/dist/lt-BKnFyiLV.js +0 -219
  574. package/dist/lt-BnGNEsIS.cjs +0 -2
  575. package/dist/lv-Clqo0Ogm.js +0 -219
  576. package/dist/lv-D3rJQRhc.cjs +0 -2
  577. package/dist/maplibre-gl-B3PlRf6V.js +0 -23511
  578. package/dist/maplibre-gl-Cc1i9T04.cjs +0 -6
  579. package/dist/mermaid-parser.core-CNPkkUbW.cjs +0 -2
  580. package/dist/mermaid-parser.core-CnjbJ8mb.js +0 -23791
  581. package/dist/mindmap-definition-VGOIOE7T-D4S37eSG.cjs +0 -2
  582. package/dist/mindmap-definition-VGOIOE7T-z7i6md6S.js +0 -1129
  583. package/dist/mk-EhcD0RzW.js +0 -219
  584. package/dist/mk-hVxJgrE0.cjs +0 -2
  585. package/dist/ms-CJACwjo7.js +0 -219
  586. package/dist/ms-D0txYckK.cjs +0 -2
  587. package/dist/nb-BfKRl99z.cjs +0 -2
  588. package/dist/nb-NCgnP0Pu.js +0 -219
  589. package/dist/nl-EgsNCunP.js +0 -219
  590. package/dist/nl-ZXiLkBj_.cjs +0 -2
  591. package/dist/ordinal-BZdahNih.cjs +0 -2
  592. package/dist/ordinal-DSZU4PqD.js +0 -77
  593. package/dist/packet-DYOGHKS2-8TxNXRiu.js +0 -6
  594. package/dist/packet-DYOGHKS2-T2_NOyn2.cjs +0 -2
  595. package/dist/pie-VRWISCQL-CVgwt5hn.cjs +0 -2
  596. package/dist/pie-VRWISCQL-Cw5ps4Uc.js +0 -6
  597. package/dist/pieDiagram-ADFJNKIX-9tCdDAIz.cjs +0 -2
  598. package/dist/pieDiagram-ADFJNKIX-BLMaZqln.js +0 -238
  599. package/dist/pl-H28GVtiG.js +0 -219
  600. package/dist/pl-tVjdYTB9.cjs +0 -2
  601. package/dist/pt-1k62N9F3.cjs +0 -2
  602. package/dist/pt-BSPZhWKl.js +0 -211
  603. package/dist/quadrantDiagram-AYHSOK5B-B_5PU35F.cjs +0 -2
  604. package/dist/quadrantDiagram-AYHSOK5B-Njb3KunW.js +0 -1338
  605. package/dist/radar-ZZBFDIW7-B5WKe_gp.js +0 -6
  606. package/dist/radar-ZZBFDIW7-DGwkdfQQ.cjs +0 -2
  607. package/dist/requirementDiagram-UZGBJVZJ-BOgHmi8B.cjs +0 -2
  608. package/dist/requirementDiagram-UZGBJVZJ-wkSzPa52.js +0 -1164
  609. package/dist/ro-9Qt1qDDA.cjs +0 -2
  610. package/dist/ro-BpaZLre_.js +0 -219
  611. package/dist/ru-4WxRouIU.cjs +0 -2
  612. package/dist/ru-CUZzD-Tx.js +0 -219
  613. package/dist/sankeyDiagram-TZEHDZUN-p1th2H-P.js +0 -1194
  614. package/dist/sankeyDiagram-TZEHDZUN-wNi-DuI_.cjs +0 -2
  615. package/dist/sequenceDiagram-WL72ISMW-CZsA3nl_.js +0 -3882
  616. package/dist/sequenceDiagram-WL72ISMW-DHsfFVVL.cjs +0 -2
  617. package/dist/sk-CoQ6XiCY.js +0 -219
  618. package/dist/sk-uWukDQab.cjs +0 -2
  619. package/dist/sl-B6DVbKg6.cjs +0 -2
  620. package/dist/sl-CHW-ZGol.js +0 -219
  621. package/dist/sr-BOD8Tc-D.cjs +0 -2
  622. package/dist/sr-EQGjIBJE.js +0 -219
  623. package/dist/stateDiagram-FKZM4ZOC-CZDqf83I.js +0 -449
  624. package/dist/stateDiagram-FKZM4ZOC-uCSdqeo_.cjs +0 -2
  625. package/dist/stateDiagram-v2-4FDKWEC3-Ard7BOGd.js +0 -20
  626. package/dist/stateDiagram-v2-4FDKWEC3-LQ3nCDHa.cjs +0 -2
  627. package/dist/sv-B6nLuQr7.cjs +0 -2
  628. package/dist/sv-DTxWN6ED.js +0 -219
  629. package/dist/th-BVPzHvBf.js +0 -219
  630. package/dist/th-DmULV6uT.cjs +0 -2
  631. package/dist/timeline-definition-IT6M3QCI-5Kl_f6ac.cjs +0 -2
  632. package/dist/timeline-definition-IT6M3QCI-DOIExRzF.js +0 -1227
  633. package/dist/tr-BE5geTUC.cjs +0 -2
  634. package/dist/tr-BHR1QA-D.js +0 -219
  635. package/dist/treemap-GDKQZRPO-BsGYh-La.cjs +0 -2
  636. package/dist/treemap-GDKQZRPO-DQPba0Eh.js +0 -6
  637. package/dist/uk-Bc5TwelE.js +0 -219
  638. package/dist/uk-DS5ukB_-.cjs +0 -2
  639. package/dist/vi-D9FF4kkG.cjs +0 -2
  640. package/dist/vi-DC0eQZb7.js +0 -219
  641. package/dist/xychartDiagram-PRI3JC2R-DkaIeov2.cjs +0 -2
  642. package/dist/xychartDiagram-PRI3JC2R-DyqZd9yp.js +0 -1887
  643. package/dist/zh-CGcOiJ3s.cjs +0 -2
  644. package/dist/zh-GsCLn8OE.js +0 -219
@@ -0,0 +1,1887 @@
1
+ import { g as e, h as t, p as n } from "./src-Dm6r9c7l.js";
2
+ import { L as r, P as i, k as a, s as o, y as s } from "./chunk-7R4GIKGN-CaQJ0QBF.js";
3
+ import { i as c } from "./chunk-GEFDOKGD-BNgT40Ex.js";
4
+ //#region node_modules/@iconify/utils/lib/icon/defaults.js
5
+ var l = Object.freeze({
6
+ left: 0,
7
+ top: 0,
8
+ width: 16,
9
+ height: 16
10
+ }), u = Object.freeze({
11
+ rotate: 0,
12
+ vFlip: !1,
13
+ hFlip: !1
14
+ }), d = Object.freeze({
15
+ ...l,
16
+ ...u
17
+ }), f = Object.freeze({
18
+ ...d,
19
+ body: "",
20
+ hidden: !1
21
+ }), p = Object.freeze({
22
+ width: null,
23
+ height: null
24
+ }), m = Object.freeze({
25
+ ...p,
26
+ ...u
27
+ }), h = (e, t, n, r = "") => {
28
+ let i = e.split(":");
29
+ if (e.slice(0, 1) === "@") {
30
+ if (i.length < 2 || i.length > 3) return null;
31
+ r = i.shift().slice(1);
32
+ }
33
+ if (i.length > 3 || !i.length) return null;
34
+ if (i.length > 1) {
35
+ let e = i.pop(), n = i.pop(), a = {
36
+ provider: i.length > 0 ? i[0] : r,
37
+ prefix: n,
38
+ name: e
39
+ };
40
+ return t && !g(a) ? null : a;
41
+ }
42
+ let a = i[0], o = a.split("-");
43
+ if (o.length > 1) {
44
+ let e = {
45
+ provider: r,
46
+ prefix: o.shift(),
47
+ name: o.join("-")
48
+ };
49
+ return t && !g(e) ? null : e;
50
+ }
51
+ if (n && r === "") {
52
+ let e = {
53
+ provider: r,
54
+ prefix: "",
55
+ name: a
56
+ };
57
+ return t && !g(e, n) ? null : e;
58
+ }
59
+ return null;
60
+ }, g = (e, t) => e ? !!((t && e.prefix === "" || e.prefix) && e.name) : !1;
61
+ //#endregion
62
+ //#region node_modules/@iconify/utils/lib/icon/transformations.js
63
+ function ee(e, t) {
64
+ let n = {};
65
+ !e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
66
+ let r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
67
+ return r && (n.rotate = r), n;
68
+ }
69
+ //#endregion
70
+ //#region node_modules/@iconify/utils/lib/icon/merge.js
71
+ function te(e, t) {
72
+ let n = ee(e, t);
73
+ for (let r in f) r in u ? r in e && !(r in n) && (n[r] = u[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
74
+ return n;
75
+ }
76
+ //#endregion
77
+ //#region node_modules/@iconify/utils/lib/icon-set/tree.js
78
+ function ne(e, t) {
79
+ let n = e.icons, r = e.aliases || Object.create(null), i = Object.create(null);
80
+ function a(e) {
81
+ if (n[e]) return i[e] = [];
82
+ if (!(e in i)) {
83
+ i[e] = null;
84
+ let t = r[e] && r[e].parent, n = t && a(t);
85
+ n && (i[e] = [t].concat(n));
86
+ }
87
+ return i[e];
88
+ }
89
+ return (t || Object.keys(n).concat(Object.keys(r))).forEach(a), i;
90
+ }
91
+ //#endregion
92
+ //#region node_modules/@iconify/utils/lib/icon-set/get-icon.js
93
+ function re(e, t, n) {
94
+ let r = e.icons, i = e.aliases || Object.create(null), a = {};
95
+ function o(e) {
96
+ a = te(r[e] || i[e], a);
97
+ }
98
+ return o(t), n.forEach(o), te(e, a);
99
+ }
100
+ function ie(e, t) {
101
+ if (e.icons[t]) return re(e, t, []);
102
+ let n = ne(e, [t])[t];
103
+ return n ? re(e, t, n) : null;
104
+ }
105
+ //#endregion
106
+ //#region node_modules/@iconify/utils/lib/svg/size.js
107
+ var ae = /(-?[0-9.]*[0-9]+[0-9.]*)/g, oe = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
108
+ function se(e, t, n) {
109
+ if (t === 1) return e;
110
+ if (n ||= 100, typeof e == "number") return Math.ceil(e * t * n) / n;
111
+ if (typeof e != "string") return e;
112
+ let r = e.split(ae);
113
+ if (r === null || !r.length) return e;
114
+ let i = [], a = r.shift(), o = oe.test(a);
115
+ for (;;) {
116
+ if (o) {
117
+ let e = parseFloat(a);
118
+ isNaN(e) ? i.push(a) : i.push(Math.ceil(e * t * n) / n);
119
+ } else i.push(a);
120
+ if (a = r.shift(), a === void 0) return i.join("");
121
+ o = !o;
122
+ }
123
+ }
124
+ //#endregion
125
+ //#region node_modules/@iconify/utils/lib/svg/defs.js
126
+ function ce(e, t = "defs") {
127
+ let n = "", r = e.indexOf("<" + t);
128
+ for (; r >= 0;) {
129
+ let i = e.indexOf(">", r), a = e.indexOf("</" + t);
130
+ if (i === -1 || a === -1) break;
131
+ let o = e.indexOf(">", a);
132
+ if (o === -1) break;
133
+ n += e.slice(i + 1, a).trim(), e = e.slice(0, r).trim() + e.slice(o + 1);
134
+ }
135
+ return {
136
+ defs: n,
137
+ content: e
138
+ };
139
+ }
140
+ function le(e, t) {
141
+ return e ? "<defs>" + e + "</defs>" + t : t;
142
+ }
143
+ function ue(e, t, n) {
144
+ let r = ce(e);
145
+ return le(r.defs, t + r.content + n);
146
+ }
147
+ //#endregion
148
+ //#region node_modules/@iconify/utils/lib/svg/build.js
149
+ var de = (e) => e === "unset" || e === "undefined" || e === "none";
150
+ function fe(e, t) {
151
+ let n = {
152
+ ...d,
153
+ ...e
154
+ }, r = {
155
+ ...m,
156
+ ...t
157
+ }, i = {
158
+ left: n.left,
159
+ top: n.top,
160
+ width: n.width,
161
+ height: n.height
162
+ }, a = n.body;
163
+ [n, r].forEach((e) => {
164
+ let t = [], n = e.hFlip, r = e.vFlip, o = e.rotate;
165
+ n ? r ? o += 2 : (t.push("translate(" + (i.width + i.left).toString() + " " + (0 - i.top).toString() + ")"), t.push("scale(-1 1)"), i.top = i.left = 0) : r && (t.push("translate(" + (0 - i.left).toString() + " " + (i.height + i.top).toString() + ")"), t.push("scale(1 -1)"), i.top = i.left = 0);
166
+ let s;
167
+ switch (o < 0 && (o -= Math.floor(o / 4) * 4), o %= 4, o) {
168
+ case 1:
169
+ s = i.height / 2 + i.top, t.unshift("rotate(90 " + s.toString() + " " + s.toString() + ")");
170
+ break;
171
+ case 2:
172
+ t.unshift("rotate(180 " + (i.width / 2 + i.left).toString() + " " + (i.height / 2 + i.top).toString() + ")");
173
+ break;
174
+ case 3:
175
+ s = i.width / 2 + i.left, t.unshift("rotate(-90 " + s.toString() + " " + s.toString() + ")");
176
+ break;
177
+ }
178
+ o % 2 == 1 && (i.left !== i.top && (s = i.left, i.left = i.top, i.top = s), i.width !== i.height && (s = i.width, i.width = i.height, i.height = s)), t.length && (a = ue(a, "<g transform=\"" + t.join(" ") + "\">", "</g>"));
179
+ });
180
+ let o = r.width, s = r.height, c = i.width, l = i.height, u, f;
181
+ o === null ? (f = s === null ? "1em" : s === "auto" ? l : s, u = se(f, c / l)) : (u = o === "auto" ? c : o, f = s === null ? se(u, l / c) : s === "auto" ? l : s);
182
+ let p = {}, h = (e, t) => {
183
+ de(t) || (p[e] = t.toString());
184
+ };
185
+ h("width", u), h("height", f);
186
+ let g = [
187
+ i.left,
188
+ i.top,
189
+ c,
190
+ l
191
+ ];
192
+ return p.viewBox = g.join(" "), {
193
+ attributes: p,
194
+ viewBox: g,
195
+ body: a
196
+ };
197
+ }
198
+ //#endregion
199
+ //#region node_modules/@iconify/utils/lib/svg/id.js
200
+ var pe = /\sid="(\S+)"/g, me = /* @__PURE__ */ new Map();
201
+ function he(e) {
202
+ e = e.replace(/[0-9]+$/, "") || "a";
203
+ let t = me.get(e) || 0;
204
+ return me.set(e, t + 1), t ? `${e}${t}` : e;
205
+ }
206
+ function ge(e) {
207
+ let t = [], n;
208
+ for (; n = pe.exec(e);) t.push(n[1]);
209
+ if (!t.length) return e;
210
+ let r = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
211
+ return t.forEach((t) => {
212
+ let n = he(t), i = t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
213
+ e = e.replace(RegExp("([#;\"])(" + i + ")([\")]|\\.[a-z])", "g"), "$1" + n + r + "$3");
214
+ }), e = e.replace(new RegExp(r, "g"), ""), e;
215
+ }
216
+ //#endregion
217
+ //#region node_modules/@iconify/utils/lib/svg/html.js
218
+ function _e(e, t) {
219
+ let n = e.indexOf("xlink:") === -1 ? "" : " xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
220
+ for (let e in t) n += " " + e + "=\"" + t[e] + "\"";
221
+ return "<svg xmlns=\"http://www.w3.org/2000/svg\"" + n + ">" + e + "</svg>";
222
+ }
223
+ //#endregion
224
+ //#region node_modules/marked/lib/marked.esm.js
225
+ function _() {
226
+ return {
227
+ async: !1,
228
+ breaks: !1,
229
+ extensions: null,
230
+ gfm: !0,
231
+ hooks: null,
232
+ pedantic: !1,
233
+ renderer: null,
234
+ silent: !1,
235
+ tokenizer: null,
236
+ walkTokens: null
237
+ };
238
+ }
239
+ var v = _();
240
+ function ve(e) {
241
+ v = e;
242
+ }
243
+ var y = { exec: () => null };
244
+ function b(e, t = "") {
245
+ let n = typeof e == "string" ? e : e.source, r = {
246
+ replace: (e, t) => {
247
+ let i = typeof t == "string" ? t : t.source;
248
+ return i = i.replace(x.caret, "$1"), n = n.replace(e, i), r;
249
+ },
250
+ getRegex: () => new RegExp(n, t)
251
+ };
252
+ return r;
253
+ }
254
+ var ye = (() => {
255
+ try {
256
+ return !0;
257
+ } catch {
258
+ return !1;
259
+ }
260
+ })(), x = {
261
+ codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm,
262
+ outputLinkReplace: /\\([\[\]])/g,
263
+ indentCodeCompensation: /^(\s+)(?:```)/,
264
+ beginningSpace: /^\s+/,
265
+ endingHash: /#$/,
266
+ startingSpaceChar: /^ /,
267
+ endingSpaceChar: / $/,
268
+ nonSpaceChar: /[^ ]/,
269
+ newLineCharGlobal: /\n/g,
270
+ tabCharGlobal: /\t/g,
271
+ multipleSpaceGlobal: /\s+/g,
272
+ blankLine: /^[ \t]*$/,
273
+ doubleBlankLine: /\n[ \t]*\n[ \t]*$/,
274
+ blockquoteStart: /^ {0,3}>/,
275
+ blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g,
276
+ blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm,
277
+ listReplaceTabs: /^\t+/,
278
+ listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g,
279
+ listIsTask: /^\[[ xX]\] /,
280
+ listReplaceTask: /^\[[ xX]\] +/,
281
+ anyLine: /\n.*\n/,
282
+ hrefBrackets: /^<(.*)>$/,
283
+ tableDelimiter: /[:|]/,
284
+ tableAlignChars: /^\||\| *$/g,
285
+ tableRowBlankLine: /\n[ \t]*$/,
286
+ tableAlignRight: /^ *-+: *$/,
287
+ tableAlignCenter: /^ *:-+: *$/,
288
+ tableAlignLeft: /^ *:-+ *$/,
289
+ startATag: /^<a /i,
290
+ endATag: /^<\/a>/i,
291
+ startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i,
292
+ endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i,
293
+ startAngleBracket: /^</,
294
+ endAngleBracket: />$/,
295
+ pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/,
296
+ unicodeAlphaNumeric: /[\p{L}\p{N}]/u,
297
+ escapeTest: /[&<>"']/,
298
+ escapeReplace: /[&<>"']/g,
299
+ escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,
300
+ escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,
301
+ unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,
302
+ caret: /(^|[^\[])\^/g,
303
+ percentDecode: /%25/g,
304
+ findPipe: /\|/g,
305
+ splitPipe: / \|/,
306
+ slashPipe: /\\\|/g,
307
+ carriageReturn: /\r\n|\r/g,
308
+ spaceLine: /^ +$/gm,
309
+ notSpaceStart: /^\S*/,
310
+ endingNewline: /\n$/,
311
+ listItemRegex: (e) => RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),
312
+ nextBulletRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),
313
+ hrRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),
314
+ fencesBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}(?:\`\`\`|~~~)`),
315
+ headingBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}#`),
316
+ htmlBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}<(?:[a-z].*>|!--)`, "i")
317
+ }, be = /^(?:[ \t]*(?:\n|$))+/, xe = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Se = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, S = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Ce = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, C = /(?:[*+-]|\d{1,9}[.)])/, we = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Te = b(we).replace(/bull/g, C).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Ee = b(we).replace(/bull/g, C).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), w = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, De = /^[^\n]+/, T = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Oe = b(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", T).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), ke = b(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, C).getRegex(), E = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", D = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Ae = b("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", D).replace("tag", E).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), je = b(w).replace("hr", S).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", E).getRegex(), O = {
318
+ blockquote: b(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", je).getRegex(),
319
+ code: xe,
320
+ def: Oe,
321
+ fences: Se,
322
+ heading: Ce,
323
+ hr: S,
324
+ html: Ae,
325
+ lheading: Te,
326
+ list: ke,
327
+ newline: be,
328
+ paragraph: je,
329
+ table: y,
330
+ text: De
331
+ }, Me = b("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", S).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", E).getRegex(), Ne = {
332
+ ...O,
333
+ lheading: Ee,
334
+ table: Me,
335
+ paragraph: b(w).replace("hr", S).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Me).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", E).getRegex()
336
+ }, Pe = {
337
+ ...O,
338
+ html: b("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", D).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
339
+ def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
340
+ heading: /^(#{1,6})(.*)(?:\n+|$)/,
341
+ fences: y,
342
+ lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
343
+ paragraph: b(w).replace("hr", S).replace("heading", " *#{1,6} *[^\n]").replace("lheading", Te).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
344
+ }, Fe = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ie = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Le = /^( {2,}|\\)\n(?!\s*$)/, Re = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, k = /[\p{P}\p{S}]/u, A = /[\s\p{P}\p{S}]/u, ze = /[^\s\p{P}\p{S}]/u, Be = b(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, A).getRegex(), Ve = /(?!~)[\p{P}\p{S}]/u, He = /(?!~)[\s\p{P}\p{S}]/u, Ue = /(?:[^\s\p{P}\p{S}]|~)/u, We = b(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", ye ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), Ge = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Ke = b(Ge, "u").replace(/punct/g, k).getRegex(), qe = b(Ge, "u").replace(/punct/g, Ve).getRegex(), Je = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Ye = b(Je, "gu").replace(/notPunctSpace/g, ze).replace(/punctSpace/g, A).replace(/punct/g, k).getRegex(), Xe = b(Je, "gu").replace(/notPunctSpace/g, Ue).replace(/punctSpace/g, He).replace(/punct/g, Ve).getRegex(), Ze = b("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, ze).replace(/punctSpace/g, A).replace(/punct/g, k).getRegex(), Qe = b(/\\(punct)/, "gu").replace(/punct/g, k).getRegex(), $e = b(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), et = b(D).replace("(?:-->|$)", "-->").getRegex(), tt = b("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", et).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), j = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, nt = b(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", j).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), rt = b(/^!?\[(label)\]\[(ref)\]/).replace("label", j).replace("ref", T).getRegex(), it = b(/^!?\[(ref)\](?:\[\])?/).replace("ref", T).getRegex(), at = b("reflink|nolink(?!\\()", "g").replace("reflink", rt).replace("nolink", it).getRegex(), ot = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, M = {
345
+ _backpedal: y,
346
+ anyPunctuation: Qe,
347
+ autolink: $e,
348
+ blockSkip: We,
349
+ br: Le,
350
+ code: Ie,
351
+ del: y,
352
+ emStrongLDelim: Ke,
353
+ emStrongRDelimAst: Ye,
354
+ emStrongRDelimUnd: Ze,
355
+ escape: Fe,
356
+ link: nt,
357
+ nolink: it,
358
+ punctuation: Be,
359
+ reflink: rt,
360
+ reflinkSearch: at,
361
+ tag: tt,
362
+ text: Re,
363
+ url: y
364
+ }, st = {
365
+ ...M,
366
+ link: b(/^!?\[(label)\]\((.*?)\)/).replace("label", j).getRegex(),
367
+ reflink: b(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", j).getRegex()
368
+ }, N = {
369
+ ...M,
370
+ emStrongRDelimAst: Xe,
371
+ emStrongLDelim: qe,
372
+ url: b(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", ot).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
373
+ _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
374
+ del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,
375
+ text: b(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", ot).getRegex()
376
+ }, ct = {
377
+ ...N,
378
+ br: b(Le).replace("{2,}", "*").getRegex(),
379
+ text: b(N.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
380
+ }, P = {
381
+ normal: O,
382
+ gfm: Ne,
383
+ pedantic: Pe
384
+ }, F = {
385
+ normal: M,
386
+ gfm: N,
387
+ breaks: ct,
388
+ pedantic: st
389
+ }, lt = {
390
+ "&": "&amp;",
391
+ "<": "&lt;",
392
+ ">": "&gt;",
393
+ "\"": "&quot;",
394
+ "'": "&#39;"
395
+ }, ut = (e) => lt[e];
396
+ function I(e, t) {
397
+ if (t) {
398
+ if (x.escapeTest.test(e)) return e.replace(x.escapeReplace, ut);
399
+ } else if (x.escapeTestNoEncode.test(e)) return e.replace(x.escapeReplaceNoEncode, ut);
400
+ return e;
401
+ }
402
+ function dt(e) {
403
+ try {
404
+ e = encodeURI(e).replace(x.percentDecode, "%");
405
+ } catch {
406
+ return null;
407
+ }
408
+ return e;
409
+ }
410
+ function ft(e, t) {
411
+ let n = e.replace(x.findPipe, (e, t, n) => {
412
+ let r = !1, i = t;
413
+ for (; --i >= 0 && n[i] === "\\";) r = !r;
414
+ return r ? "|" : " |";
415
+ }).split(x.splitPipe), r = 0;
416
+ if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), t) if (n.length > t) n.splice(t);
417
+ else for (; n.length < t;) n.push("");
418
+ for (; r < n.length; r++) n[r] = n[r].trim().replace(x.slashPipe, "|");
419
+ return n;
420
+ }
421
+ function L(e, t, n) {
422
+ let r = e.length;
423
+ if (r === 0) return "";
424
+ let i = 0;
425
+ for (; i < r;) {
426
+ let a = e.charAt(r - i - 1);
427
+ if (a === t && !n) i++;
428
+ else if (a !== t && n) i++;
429
+ else break;
430
+ }
431
+ return e.slice(0, r - i);
432
+ }
433
+ function pt(e, t) {
434
+ if (e.indexOf(t[1]) === -1) return -1;
435
+ let n = 0;
436
+ for (let r = 0; r < e.length; r++) if (e[r] === "\\") r++;
437
+ else if (e[r] === t[0]) n++;
438
+ else if (e[r] === t[1] && (n--, n < 0)) return r;
439
+ return n > 0 ? -2 : -1;
440
+ }
441
+ function mt(e, t, n, r, i) {
442
+ let a = t.href, o = t.title || null, s = e[1].replace(i.other.outputLinkReplace, "$1");
443
+ r.state.inLink = !0;
444
+ let c = {
445
+ type: e[0].charAt(0) === "!" ? "image" : "link",
446
+ raw: n,
447
+ href: a,
448
+ title: o,
449
+ text: s,
450
+ tokens: r.inlineTokens(s)
451
+ };
452
+ return r.state.inLink = !1, c;
453
+ }
454
+ function ht(e, t, n) {
455
+ let r = e.match(n.other.indentCodeCompensation);
456
+ if (r === null) return t;
457
+ let i = r[1];
458
+ return t.split("\n").map((e) => {
459
+ let t = e.match(n.other.beginningSpace);
460
+ if (t === null) return e;
461
+ let [r] = t;
462
+ return r.length >= i.length ? e.slice(i.length) : e;
463
+ }).join("\n");
464
+ }
465
+ var R = class {
466
+ options;
467
+ rules;
468
+ lexer;
469
+ constructor(e) {
470
+ this.options = e || v;
471
+ }
472
+ space(e) {
473
+ let t = this.rules.block.newline.exec(e);
474
+ if (t && t[0].length > 0) return {
475
+ type: "space",
476
+ raw: t[0]
477
+ };
478
+ }
479
+ code(e) {
480
+ let t = this.rules.block.code.exec(e);
481
+ if (t) {
482
+ let e = t[0].replace(this.rules.other.codeRemoveIndent, "");
483
+ return {
484
+ type: "code",
485
+ raw: t[0],
486
+ codeBlockStyle: "indented",
487
+ text: this.options.pedantic ? e : L(e, "\n")
488
+ };
489
+ }
490
+ }
491
+ fences(e) {
492
+ let t = this.rules.block.fences.exec(e);
493
+ if (t) {
494
+ let e = t[0], n = ht(e, t[3] || "", this.rules);
495
+ return {
496
+ type: "code",
497
+ raw: e,
498
+ lang: t[2] ? t[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : t[2],
499
+ text: n
500
+ };
501
+ }
502
+ }
503
+ heading(e) {
504
+ let t = this.rules.block.heading.exec(e);
505
+ if (t) {
506
+ let e = t[2].trim();
507
+ if (this.rules.other.endingHash.test(e)) {
508
+ let t = L(e, "#");
509
+ (this.options.pedantic || !t || this.rules.other.endingSpaceChar.test(t)) && (e = t.trim());
510
+ }
511
+ return {
512
+ type: "heading",
513
+ raw: t[0],
514
+ depth: t[1].length,
515
+ text: e,
516
+ tokens: this.lexer.inline(e)
517
+ };
518
+ }
519
+ }
520
+ hr(e) {
521
+ let t = this.rules.block.hr.exec(e);
522
+ if (t) return {
523
+ type: "hr",
524
+ raw: L(t[0], "\n")
525
+ };
526
+ }
527
+ blockquote(e) {
528
+ let t = this.rules.block.blockquote.exec(e);
529
+ if (t) {
530
+ let e = L(t[0], "\n").split("\n"), n = "", r = "", i = [];
531
+ for (; e.length > 0;) {
532
+ let t = !1, a = [], o;
533
+ for (o = 0; o < e.length; o++) if (this.rules.other.blockquoteStart.test(e[o])) a.push(e[o]), t = !0;
534
+ else if (!t) a.push(e[o]);
535
+ else break;
536
+ e = e.slice(o);
537
+ let s = a.join("\n"), c = s.replace(this.rules.other.blockquoteSetextReplace, "\n $1").replace(this.rules.other.blockquoteSetextReplace2, "");
538
+ n = n ? `${n}
539
+ ${s}` : s, r = r ? `${r}
540
+ ${c}` : c;
541
+ let l = this.lexer.state.top;
542
+ if (this.lexer.state.top = !0, this.lexer.blockTokens(c, i, !0), this.lexer.state.top = l, e.length === 0) break;
543
+ let u = i.at(-1);
544
+ if (u?.type === "code") break;
545
+ if (u?.type === "blockquote") {
546
+ let t = u, a = t.raw + "\n" + e.join("\n"), o = this.blockquote(a);
547
+ i[i.length - 1] = o, n = n.substring(0, n.length - t.raw.length) + o.raw, r = r.substring(0, r.length - t.text.length) + o.text;
548
+ break;
549
+ } else if (u?.type === "list") {
550
+ let t = u, a = t.raw + "\n" + e.join("\n"), o = this.list(a);
551
+ i[i.length - 1] = o, n = n.substring(0, n.length - u.raw.length) + o.raw, r = r.substring(0, r.length - t.raw.length) + o.raw, e = a.substring(i.at(-1).raw.length).split("\n");
552
+ continue;
553
+ }
554
+ }
555
+ return {
556
+ type: "blockquote",
557
+ raw: n,
558
+ tokens: i,
559
+ text: r
560
+ };
561
+ }
562
+ }
563
+ list(e) {
564
+ let t = this.rules.block.list.exec(e);
565
+ if (t) {
566
+ let n = t[1].trim(), r = n.length > 1, i = {
567
+ type: "list",
568
+ raw: "",
569
+ ordered: r,
570
+ start: r ? +n.slice(0, -1) : "",
571
+ loose: !1,
572
+ items: []
573
+ };
574
+ n = r ? `\\d{1,9}\\${n.slice(-1)}` : `\\${n}`, this.options.pedantic && (n = r ? n : "[*+-]");
575
+ let a = this.rules.other.listItemRegex(n), o = !1;
576
+ for (; e;) {
577
+ let n = !1, r = "", s = "";
578
+ if (!(t = a.exec(e)) || this.rules.block.hr.test(e)) break;
579
+ r = t[0], e = e.substring(r.length);
580
+ let c = t[2].split("\n", 1)[0].replace(this.rules.other.listReplaceTabs, (e) => " ".repeat(3 * e.length)), l = e.split("\n", 1)[0], u = !c.trim(), d = 0;
581
+ if (this.options.pedantic ? (d = 2, s = c.trimStart()) : u ? d = t[1].length + 1 : (d = t[2].search(this.rules.other.nonSpaceChar), d = d > 4 ? 1 : d, s = c.slice(d), d += t[1].length), u && this.rules.other.blankLine.test(l) && (r += l + "\n", e = e.substring(l.length + 1), n = !0), !n) {
582
+ let t = this.rules.other.nextBulletRegex(d), n = this.rules.other.hrRegex(d), i = this.rules.other.fencesBeginRegex(d), a = this.rules.other.headingBeginRegex(d), o = this.rules.other.htmlBeginRegex(d);
583
+ for (; e;) {
584
+ let f = e.split("\n", 1)[0], p;
585
+ if (l = f, this.options.pedantic ? (l = l.replace(this.rules.other.listReplaceNesting, " "), p = l) : p = l.replace(this.rules.other.tabCharGlobal, " "), i.test(l) || a.test(l) || o.test(l) || t.test(l) || n.test(l)) break;
586
+ if (p.search(this.rules.other.nonSpaceChar) >= d || !l.trim()) s += "\n" + p.slice(d);
587
+ else {
588
+ if (u || c.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || i.test(c) || a.test(c) || n.test(c)) break;
589
+ s += "\n" + l;
590
+ }
591
+ !u && !l.trim() && (u = !0), r += f + "\n", e = e.substring(f.length + 1), c = p.slice(d);
592
+ }
593
+ }
594
+ i.loose || (o ? i.loose = !0 : this.rules.other.doubleBlankLine.test(r) && (o = !0));
595
+ let f = null, p;
596
+ this.options.gfm && (f = this.rules.other.listIsTask.exec(s), f && (p = f[0] !== "[ ] ", s = s.replace(this.rules.other.listReplaceTask, ""))), i.items.push({
597
+ type: "list_item",
598
+ raw: r,
599
+ task: !!f,
600
+ checked: p,
601
+ loose: !1,
602
+ text: s,
603
+ tokens: []
604
+ }), i.raw += r;
605
+ }
606
+ let s = i.items.at(-1);
607
+ if (s) s.raw = s.raw.trimEnd(), s.text = s.text.trimEnd();
608
+ else return;
609
+ i.raw = i.raw.trimEnd();
610
+ for (let e = 0; e < i.items.length; e++) if (this.lexer.state.top = !1, i.items[e].tokens = this.lexer.blockTokens(i.items[e].text, []), !i.loose) {
611
+ let t = i.items[e].tokens.filter((e) => e.type === "space");
612
+ i.loose = t.length > 0 && t.some((e) => this.rules.other.anyLine.test(e.raw));
613
+ }
614
+ if (i.loose) for (let e = 0; e < i.items.length; e++) i.items[e].loose = !0;
615
+ return i;
616
+ }
617
+ }
618
+ html(e) {
619
+ let t = this.rules.block.html.exec(e);
620
+ if (t) return {
621
+ type: "html",
622
+ block: !0,
623
+ raw: t[0],
624
+ pre: t[1] === "pre" || t[1] === "script" || t[1] === "style",
625
+ text: t[0]
626
+ };
627
+ }
628
+ def(e) {
629
+ let t = this.rules.block.def.exec(e);
630
+ if (t) {
631
+ let e = t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal, " "), n = t[2] ? t[2].replace(this.rules.other.hrefBrackets, "$1").replace(this.rules.inline.anyPunctuation, "$1") : "", r = t[3] ? t[3].substring(1, t[3].length - 1).replace(this.rules.inline.anyPunctuation, "$1") : t[3];
632
+ return {
633
+ type: "def",
634
+ tag: e,
635
+ raw: t[0],
636
+ href: n,
637
+ title: r
638
+ };
639
+ }
640
+ }
641
+ table(e) {
642
+ let t = this.rules.block.table.exec(e);
643
+ if (!t || !this.rules.other.tableDelimiter.test(t[2])) return;
644
+ let n = ft(t[1]), r = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split("\n") : [], a = {
645
+ type: "table",
646
+ raw: t[0],
647
+ header: [],
648
+ align: [],
649
+ rows: []
650
+ };
651
+ if (n.length === r.length) {
652
+ for (let e of r) this.rules.other.tableAlignRight.test(e) ? a.align.push("right") : this.rules.other.tableAlignCenter.test(e) ? a.align.push("center") : this.rules.other.tableAlignLeft.test(e) ? a.align.push("left") : a.align.push(null);
653
+ for (let e = 0; e < n.length; e++) a.header.push({
654
+ text: n[e],
655
+ tokens: this.lexer.inline(n[e]),
656
+ header: !0,
657
+ align: a.align[e]
658
+ });
659
+ for (let e of i) a.rows.push(ft(e, a.header.length).map((e, t) => ({
660
+ text: e,
661
+ tokens: this.lexer.inline(e),
662
+ header: !1,
663
+ align: a.align[t]
664
+ })));
665
+ return a;
666
+ }
667
+ }
668
+ lheading(e) {
669
+ let t = this.rules.block.lheading.exec(e);
670
+ if (t) return {
671
+ type: "heading",
672
+ raw: t[0],
673
+ depth: t[2].charAt(0) === "=" ? 1 : 2,
674
+ text: t[1],
675
+ tokens: this.lexer.inline(t[1])
676
+ };
677
+ }
678
+ paragraph(e) {
679
+ let t = this.rules.block.paragraph.exec(e);
680
+ if (t) {
681
+ let e = t[1].charAt(t[1].length - 1) === "\n" ? t[1].slice(0, -1) : t[1];
682
+ return {
683
+ type: "paragraph",
684
+ raw: t[0],
685
+ text: e,
686
+ tokens: this.lexer.inline(e)
687
+ };
688
+ }
689
+ }
690
+ text(e) {
691
+ let t = this.rules.block.text.exec(e);
692
+ if (t) return {
693
+ type: "text",
694
+ raw: t[0],
695
+ text: t[0],
696
+ tokens: this.lexer.inline(t[0])
697
+ };
698
+ }
699
+ escape(e) {
700
+ let t = this.rules.inline.escape.exec(e);
701
+ if (t) return {
702
+ type: "escape",
703
+ raw: t[0],
704
+ text: t[1]
705
+ };
706
+ }
707
+ tag(e) {
708
+ let t = this.rules.inline.tag.exec(e);
709
+ if (t) return !this.lexer.state.inLink && this.rules.other.startATag.test(t[0]) ? this.lexer.state.inLink = !0 : this.lexer.state.inLink && this.rules.other.endATag.test(t[0]) && (this.lexer.state.inLink = !1), !this.lexer.state.inRawBlock && this.rules.other.startPreScriptTag.test(t[0]) ? this.lexer.state.inRawBlock = !0 : this.lexer.state.inRawBlock && this.rules.other.endPreScriptTag.test(t[0]) && (this.lexer.state.inRawBlock = !1), {
710
+ type: "html",
711
+ raw: t[0],
712
+ inLink: this.lexer.state.inLink,
713
+ inRawBlock: this.lexer.state.inRawBlock,
714
+ block: !1,
715
+ text: t[0]
716
+ };
717
+ }
718
+ link(e) {
719
+ let t = this.rules.inline.link.exec(e);
720
+ if (t) {
721
+ let e = t[2].trim();
722
+ if (!this.options.pedantic && this.rules.other.startAngleBracket.test(e)) {
723
+ if (!this.rules.other.endAngleBracket.test(e)) return;
724
+ let t = L(e.slice(0, -1), "\\");
725
+ if ((e.length - t.length) % 2 == 0) return;
726
+ } else {
727
+ let e = pt(t[2], "()");
728
+ if (e === -2) return;
729
+ if (e > -1) {
730
+ let n = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + e;
731
+ t[2] = t[2].substring(0, e), t[0] = t[0].substring(0, n).trim(), t[3] = "";
732
+ }
733
+ }
734
+ let n = t[2], r = "";
735
+ if (this.options.pedantic) {
736
+ let e = this.rules.other.pedanticHrefTitle.exec(n);
737
+ e && (n = e[1], r = e[3]);
738
+ } else r = t[3] ? t[3].slice(1, -1) : "";
739
+ return n = n.trim(), this.rules.other.startAngleBracket.test(n) && (n = this.options.pedantic && !this.rules.other.endAngleBracket.test(e) ? n.slice(1) : n.slice(1, -1)), mt(t, {
740
+ href: n && n.replace(this.rules.inline.anyPunctuation, "$1"),
741
+ title: r && r.replace(this.rules.inline.anyPunctuation, "$1")
742
+ }, t[0], this.lexer, this.rules);
743
+ }
744
+ }
745
+ reflink(e, t) {
746
+ let n;
747
+ if ((n = this.rules.inline.reflink.exec(e)) || (n = this.rules.inline.nolink.exec(e))) {
748
+ let e = t[(n[2] || n[1]).replace(this.rules.other.multipleSpaceGlobal, " ").toLowerCase()];
749
+ if (!e) {
750
+ let e = n[0].charAt(0);
751
+ return {
752
+ type: "text",
753
+ raw: e,
754
+ text: e
755
+ };
756
+ }
757
+ return mt(n, e, n[0], this.lexer, this.rules);
758
+ }
759
+ }
760
+ emStrong(e, t, n = "") {
761
+ let r = this.rules.inline.emStrongLDelim.exec(e);
762
+ if (!(!r || r[3] && n.match(this.rules.other.unicodeAlphaNumeric)) && (!(r[1] || r[2]) || !n || this.rules.inline.punctuation.exec(n))) {
763
+ let n = [...r[0]].length - 1, i, a, o = n, s = 0, c = r[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
764
+ for (c.lastIndex = 0, t = t.slice(-1 * e.length + n); (r = c.exec(t)) != null;) {
765
+ if (i = r[1] || r[2] || r[3] || r[4] || r[5] || r[6], !i) continue;
766
+ if (a = [...i].length, r[3] || r[4]) {
767
+ o += a;
768
+ continue;
769
+ } else if ((r[5] || r[6]) && n % 3 && !((n + a) % 3)) {
770
+ s += a;
771
+ continue;
772
+ }
773
+ if (o -= a, o > 0) continue;
774
+ a = Math.min(a, a + o + s);
775
+ let t = [...r[0]][0].length, c = e.slice(0, n + r.index + t + a);
776
+ if (Math.min(n, a) % 2) {
777
+ let e = c.slice(1, -1);
778
+ return {
779
+ type: "em",
780
+ raw: c,
781
+ text: e,
782
+ tokens: this.lexer.inlineTokens(e)
783
+ };
784
+ }
785
+ let l = c.slice(2, -2);
786
+ return {
787
+ type: "strong",
788
+ raw: c,
789
+ text: l,
790
+ tokens: this.lexer.inlineTokens(l)
791
+ };
792
+ }
793
+ }
794
+ }
795
+ codespan(e) {
796
+ let t = this.rules.inline.code.exec(e);
797
+ if (t) {
798
+ let e = t[2].replace(this.rules.other.newLineCharGlobal, " "), n = this.rules.other.nonSpaceChar.test(e), r = this.rules.other.startingSpaceChar.test(e) && this.rules.other.endingSpaceChar.test(e);
799
+ return n && r && (e = e.substring(1, e.length - 1)), {
800
+ type: "codespan",
801
+ raw: t[0],
802
+ text: e
803
+ };
804
+ }
805
+ }
806
+ br(e) {
807
+ let t = this.rules.inline.br.exec(e);
808
+ if (t) return {
809
+ type: "br",
810
+ raw: t[0]
811
+ };
812
+ }
813
+ del(e) {
814
+ let t = this.rules.inline.del.exec(e);
815
+ if (t) return {
816
+ type: "del",
817
+ raw: t[0],
818
+ text: t[2],
819
+ tokens: this.lexer.inlineTokens(t[2])
820
+ };
821
+ }
822
+ autolink(e) {
823
+ let t = this.rules.inline.autolink.exec(e);
824
+ if (t) {
825
+ let e, n;
826
+ return t[2] === "@" ? (e = t[1], n = "mailto:" + e) : (e = t[1], n = e), {
827
+ type: "link",
828
+ raw: t[0],
829
+ text: e,
830
+ href: n,
831
+ tokens: [{
832
+ type: "text",
833
+ raw: e,
834
+ text: e
835
+ }]
836
+ };
837
+ }
838
+ }
839
+ url(e) {
840
+ let t;
841
+ if (t = this.rules.inline.url.exec(e)) {
842
+ let e, n;
843
+ if (t[2] === "@") e = t[0], n = "mailto:" + e;
844
+ else {
845
+ let r;
846
+ do
847
+ r = t[0], t[0] = this.rules.inline._backpedal.exec(t[0])?.[0] ?? "";
848
+ while (r !== t[0]);
849
+ e = t[0], n = t[1] === "www." ? "http://" + t[0] : t[0];
850
+ }
851
+ return {
852
+ type: "link",
853
+ raw: t[0],
854
+ text: e,
855
+ href: n,
856
+ tokens: [{
857
+ type: "text",
858
+ raw: e,
859
+ text: e
860
+ }]
861
+ };
862
+ }
863
+ }
864
+ inlineText(e) {
865
+ let t = this.rules.inline.text.exec(e);
866
+ if (t) {
867
+ let e = this.lexer.state.inRawBlock;
868
+ return {
869
+ type: "text",
870
+ raw: t[0],
871
+ text: t[0],
872
+ escaped: e
873
+ };
874
+ }
875
+ }
876
+ }, z = class e {
877
+ tokens;
878
+ options;
879
+ state;
880
+ tokenizer;
881
+ inlineQueue;
882
+ constructor(e) {
883
+ this.tokens = [], this.tokens.links = Object.create(null), this.options = e || v, this.options.tokenizer = this.options.tokenizer || new R(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
884
+ inLink: !1,
885
+ inRawBlock: !1,
886
+ top: !0
887
+ };
888
+ let t = {
889
+ other: x,
890
+ block: P.normal,
891
+ inline: F.normal
892
+ };
893
+ this.options.pedantic ? (t.block = P.pedantic, t.inline = F.pedantic) : this.options.gfm && (t.block = P.gfm, this.options.breaks ? t.inline = F.breaks : t.inline = F.gfm), this.tokenizer.rules = t;
894
+ }
895
+ static get rules() {
896
+ return {
897
+ block: P,
898
+ inline: F
899
+ };
900
+ }
901
+ static lex(t, n) {
902
+ return new e(n).lex(t);
903
+ }
904
+ static lexInline(t, n) {
905
+ return new e(n).inlineTokens(t);
906
+ }
907
+ lex(e) {
908
+ e = e.replace(x.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
909
+ for (let e = 0; e < this.inlineQueue.length; e++) {
910
+ let t = this.inlineQueue[e];
911
+ this.inlineTokens(t.src, t.tokens);
912
+ }
913
+ return this.inlineQueue = [], this.tokens;
914
+ }
915
+ blockTokens(e, t = [], n = !1) {
916
+ for (this.options.pedantic && (e = e.replace(x.tabCharGlobal, " ").replace(x.spaceLine, "")); e;) {
917
+ let r;
918
+ if (this.options.extensions?.block?.some((n) => (r = n.call({ lexer: this }, e, t)) ? (e = e.substring(r.raw.length), t.push(r), !0) : !1)) continue;
919
+ if (r = this.tokenizer.space(e)) {
920
+ e = e.substring(r.raw.length);
921
+ let n = t.at(-1);
922
+ r.raw.length === 1 && n !== void 0 ? n.raw += "\n" : t.push(r);
923
+ continue;
924
+ }
925
+ if (r = this.tokenizer.code(e)) {
926
+ e = e.substring(r.raw.length);
927
+ let n = t.at(-1);
928
+ n?.type === "paragraph" || n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + r.raw, n.text += "\n" + r.text, this.inlineQueue.at(-1).src = n.text) : t.push(r);
929
+ continue;
930
+ }
931
+ if (r = this.tokenizer.fences(e)) {
932
+ e = e.substring(r.raw.length), t.push(r);
933
+ continue;
934
+ }
935
+ if (r = this.tokenizer.heading(e)) {
936
+ e = e.substring(r.raw.length), t.push(r);
937
+ continue;
938
+ }
939
+ if (r = this.tokenizer.hr(e)) {
940
+ e = e.substring(r.raw.length), t.push(r);
941
+ continue;
942
+ }
943
+ if (r = this.tokenizer.blockquote(e)) {
944
+ e = e.substring(r.raw.length), t.push(r);
945
+ continue;
946
+ }
947
+ if (r = this.tokenizer.list(e)) {
948
+ e = e.substring(r.raw.length), t.push(r);
949
+ continue;
950
+ }
951
+ if (r = this.tokenizer.html(e)) {
952
+ e = e.substring(r.raw.length), t.push(r);
953
+ continue;
954
+ }
955
+ if (r = this.tokenizer.def(e)) {
956
+ e = e.substring(r.raw.length);
957
+ let n = t.at(-1);
958
+ n?.type === "paragraph" || n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + r.raw, n.text += "\n" + r.raw, this.inlineQueue.at(-1).src = n.text) : this.tokens.links[r.tag] || (this.tokens.links[r.tag] = {
959
+ href: r.href,
960
+ title: r.title
961
+ }, t.push(r));
962
+ continue;
963
+ }
964
+ if (r = this.tokenizer.table(e)) {
965
+ e = e.substring(r.raw.length), t.push(r);
966
+ continue;
967
+ }
968
+ if (r = this.tokenizer.lheading(e)) {
969
+ e = e.substring(r.raw.length), t.push(r);
970
+ continue;
971
+ }
972
+ let i = e;
973
+ if (this.options.extensions?.startBlock) {
974
+ let t = Infinity, n = e.slice(1), r;
975
+ this.options.extensions.startBlock.forEach((e) => {
976
+ r = e.call({ lexer: this }, n), typeof r == "number" && r >= 0 && (t = Math.min(t, r));
977
+ }), t < Infinity && t >= 0 && (i = e.substring(0, t + 1));
978
+ }
979
+ if (this.state.top && (r = this.tokenizer.paragraph(i))) {
980
+ let a = t.at(-1);
981
+ n && a?.type === "paragraph" ? (a.raw += (a.raw.endsWith("\n") ? "" : "\n") + r.raw, a.text += "\n" + r.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = a.text) : t.push(r), n = i.length !== e.length, e = e.substring(r.raw.length);
982
+ continue;
983
+ }
984
+ if (r = this.tokenizer.text(e)) {
985
+ e = e.substring(r.raw.length);
986
+ let n = t.at(-1);
987
+ n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + r.raw, n.text += "\n" + r.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = n.text) : t.push(r);
988
+ continue;
989
+ }
990
+ if (e) {
991
+ let t = "Infinite loop on byte: " + e.charCodeAt(0);
992
+ if (this.options.silent) {
993
+ console.error(t);
994
+ break;
995
+ } else throw Error(t);
996
+ }
997
+ }
998
+ return this.state.top = !0, t;
999
+ }
1000
+ inline(e, t = []) {
1001
+ return this.inlineQueue.push({
1002
+ src: e,
1003
+ tokens: t
1004
+ }), t;
1005
+ }
1006
+ inlineTokens(e, t = []) {
1007
+ let n = e, r = null;
1008
+ if (this.tokens.links) {
1009
+ let e = Object.keys(this.tokens.links);
1010
+ if (e.length > 0) for (; (r = this.tokenizer.rules.inline.reflinkSearch.exec(n)) != null;) e.includes(r[0].slice(r[0].lastIndexOf("[") + 1, -1)) && (n = n.slice(0, r.index) + "[" + "a".repeat(r[0].length - 2) + "]" + n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
1011
+ }
1012
+ for (; (r = this.tokenizer.rules.inline.anyPunctuation.exec(n)) != null;) n = n.slice(0, r.index) + "++" + n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
1013
+ let i;
1014
+ for (; (r = this.tokenizer.rules.inline.blockSkip.exec(n)) != null;) i = r[2] ? r[2].length : 0, n = n.slice(0, r.index + i) + "[" + "a".repeat(r[0].length - i - 2) + "]" + n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
1015
+ n = this.options.hooks?.emStrongMask?.call({ lexer: this }, n) ?? n;
1016
+ let a = !1, o = "";
1017
+ for (; e;) {
1018
+ a || (o = ""), a = !1;
1019
+ let r;
1020
+ if (this.options.extensions?.inline?.some((n) => (r = n.call({ lexer: this }, e, t)) ? (e = e.substring(r.raw.length), t.push(r), !0) : !1)) continue;
1021
+ if (r = this.tokenizer.escape(e)) {
1022
+ e = e.substring(r.raw.length), t.push(r);
1023
+ continue;
1024
+ }
1025
+ if (r = this.tokenizer.tag(e)) {
1026
+ e = e.substring(r.raw.length), t.push(r);
1027
+ continue;
1028
+ }
1029
+ if (r = this.tokenizer.link(e)) {
1030
+ e = e.substring(r.raw.length), t.push(r);
1031
+ continue;
1032
+ }
1033
+ if (r = this.tokenizer.reflink(e, this.tokens.links)) {
1034
+ e = e.substring(r.raw.length);
1035
+ let n = t.at(-1);
1036
+ r.type === "text" && n?.type === "text" ? (n.raw += r.raw, n.text += r.text) : t.push(r);
1037
+ continue;
1038
+ }
1039
+ if (r = this.tokenizer.emStrong(e, n, o)) {
1040
+ e = e.substring(r.raw.length), t.push(r);
1041
+ continue;
1042
+ }
1043
+ if (r = this.tokenizer.codespan(e)) {
1044
+ e = e.substring(r.raw.length), t.push(r);
1045
+ continue;
1046
+ }
1047
+ if (r = this.tokenizer.br(e)) {
1048
+ e = e.substring(r.raw.length), t.push(r);
1049
+ continue;
1050
+ }
1051
+ if (r = this.tokenizer.del(e)) {
1052
+ e = e.substring(r.raw.length), t.push(r);
1053
+ continue;
1054
+ }
1055
+ if (r = this.tokenizer.autolink(e)) {
1056
+ e = e.substring(r.raw.length), t.push(r);
1057
+ continue;
1058
+ }
1059
+ if (!this.state.inLink && (r = this.tokenizer.url(e))) {
1060
+ e = e.substring(r.raw.length), t.push(r);
1061
+ continue;
1062
+ }
1063
+ let i = e;
1064
+ if (this.options.extensions?.startInline) {
1065
+ let t = Infinity, n = e.slice(1), r;
1066
+ this.options.extensions.startInline.forEach((e) => {
1067
+ r = e.call({ lexer: this }, n), typeof r == "number" && r >= 0 && (t = Math.min(t, r));
1068
+ }), t < Infinity && t >= 0 && (i = e.substring(0, t + 1));
1069
+ }
1070
+ if (r = this.tokenizer.inlineText(i)) {
1071
+ e = e.substring(r.raw.length), r.raw.slice(-1) !== "_" && (o = r.raw.slice(-1)), a = !0;
1072
+ let n = t.at(-1);
1073
+ n?.type === "text" ? (n.raw += r.raw, n.text += r.text) : t.push(r);
1074
+ continue;
1075
+ }
1076
+ if (e) {
1077
+ let t = "Infinite loop on byte: " + e.charCodeAt(0);
1078
+ if (this.options.silent) {
1079
+ console.error(t);
1080
+ break;
1081
+ } else throw Error(t);
1082
+ }
1083
+ }
1084
+ return t;
1085
+ }
1086
+ }, B = class {
1087
+ options;
1088
+ parser;
1089
+ constructor(e) {
1090
+ this.options = e || v;
1091
+ }
1092
+ space(e) {
1093
+ return "";
1094
+ }
1095
+ code({ text: e, lang: t, escaped: n }) {
1096
+ let r = (t || "").match(x.notSpaceStart)?.[0], i = e.replace(x.endingNewline, "") + "\n";
1097
+ return r ? "<pre><code class=\"language-" + I(r) + "\">" + (n ? i : I(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : I(i, !0)) + "</code></pre>\n";
1098
+ }
1099
+ blockquote({ tokens: e }) {
1100
+ return `<blockquote>
1101
+ ${this.parser.parse(e)}</blockquote>
1102
+ `;
1103
+ }
1104
+ html({ text: e }) {
1105
+ return e;
1106
+ }
1107
+ def(e) {
1108
+ return "";
1109
+ }
1110
+ heading({ tokens: e, depth: t }) {
1111
+ return `<h${t}>${this.parser.parseInline(e)}</h${t}>
1112
+ `;
1113
+ }
1114
+ hr(e) {
1115
+ return "<hr>\n";
1116
+ }
1117
+ list(e) {
1118
+ let t = e.ordered, n = e.start, r = "";
1119
+ for (let t = 0; t < e.items.length; t++) {
1120
+ let n = e.items[t];
1121
+ r += this.listitem(n);
1122
+ }
1123
+ let i = t ? "ol" : "ul", a = t && n !== 1 ? " start=\"" + n + "\"" : "";
1124
+ return "<" + i + a + ">\n" + r + "</" + i + ">\n";
1125
+ }
1126
+ listitem(e) {
1127
+ let t = "";
1128
+ if (e.task) {
1129
+ let n = this.checkbox({ checked: !!e.checked });
1130
+ e.loose ? e.tokens[0]?.type === "paragraph" ? (e.tokens[0].text = n + " " + e.tokens[0].text, e.tokens[0].tokens && e.tokens[0].tokens.length > 0 && e.tokens[0].tokens[0].type === "text" && (e.tokens[0].tokens[0].text = n + " " + I(e.tokens[0].tokens[0].text), e.tokens[0].tokens[0].escaped = !0)) : e.tokens.unshift({
1131
+ type: "text",
1132
+ raw: n + " ",
1133
+ text: n + " ",
1134
+ escaped: !0
1135
+ }) : t += n + " ";
1136
+ }
1137
+ return t += this.parser.parse(e.tokens, !!e.loose), `<li>${t}</li>
1138
+ `;
1139
+ }
1140
+ checkbox({ checked: e }) {
1141
+ return "<input " + (e ? "checked=\"\" " : "") + "disabled=\"\" type=\"checkbox\">";
1142
+ }
1143
+ paragraph({ tokens: e }) {
1144
+ return `<p>${this.parser.parseInline(e)}</p>
1145
+ `;
1146
+ }
1147
+ table(e) {
1148
+ let t = "", n = "";
1149
+ for (let t = 0; t < e.header.length; t++) n += this.tablecell(e.header[t]);
1150
+ t += this.tablerow({ text: n });
1151
+ let r = "";
1152
+ for (let t = 0; t < e.rows.length; t++) {
1153
+ let i = e.rows[t];
1154
+ n = "";
1155
+ for (let e = 0; e < i.length; e++) n += this.tablecell(i[e]);
1156
+ r += this.tablerow({ text: n });
1157
+ }
1158
+ return r &&= `<tbody>${r}</tbody>`, "<table>\n<thead>\n" + t + "</thead>\n" + r + "</table>\n";
1159
+ }
1160
+ tablerow({ text: e }) {
1161
+ return `<tr>
1162
+ ${e}</tr>
1163
+ `;
1164
+ }
1165
+ tablecell(e) {
1166
+ let t = this.parser.parseInline(e.tokens), n = e.header ? "th" : "td";
1167
+ return (e.align ? `<${n} align="${e.align}">` : `<${n}>`) + t + `</${n}>
1168
+ `;
1169
+ }
1170
+ strong({ tokens: e }) {
1171
+ return `<strong>${this.parser.parseInline(e)}</strong>`;
1172
+ }
1173
+ em({ tokens: e }) {
1174
+ return `<em>${this.parser.parseInline(e)}</em>`;
1175
+ }
1176
+ codespan({ text: e }) {
1177
+ return `<code>${I(e, !0)}</code>`;
1178
+ }
1179
+ br(e) {
1180
+ return "<br>";
1181
+ }
1182
+ del({ tokens: e }) {
1183
+ return `<del>${this.parser.parseInline(e)}</del>`;
1184
+ }
1185
+ link({ href: e, title: t, tokens: n }) {
1186
+ let r = this.parser.parseInline(n), i = dt(e);
1187
+ if (i === null) return r;
1188
+ e = i;
1189
+ let a = "<a href=\"" + e + "\"";
1190
+ return t && (a += " title=\"" + I(t) + "\""), a += ">" + r + "</a>", a;
1191
+ }
1192
+ image({ href: e, title: t, text: n, tokens: r }) {
1193
+ r && (n = this.parser.parseInline(r, this.parser.textRenderer));
1194
+ let i = dt(e);
1195
+ if (i === null) return I(n);
1196
+ e = i;
1197
+ let a = `<img src="${e}" alt="${n}"`;
1198
+ return t && (a += ` title="${I(t)}"`), a += ">", a;
1199
+ }
1200
+ text(e) {
1201
+ return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : I(e.text);
1202
+ }
1203
+ }, V = class {
1204
+ strong({ text: e }) {
1205
+ return e;
1206
+ }
1207
+ em({ text: e }) {
1208
+ return e;
1209
+ }
1210
+ codespan({ text: e }) {
1211
+ return e;
1212
+ }
1213
+ del({ text: e }) {
1214
+ return e;
1215
+ }
1216
+ html({ text: e }) {
1217
+ return e;
1218
+ }
1219
+ text({ text: e }) {
1220
+ return e;
1221
+ }
1222
+ link({ text: e }) {
1223
+ return "" + e;
1224
+ }
1225
+ image({ text: e }) {
1226
+ return "" + e;
1227
+ }
1228
+ br() {
1229
+ return "";
1230
+ }
1231
+ }, H = class e {
1232
+ options;
1233
+ renderer;
1234
+ textRenderer;
1235
+ constructor(e) {
1236
+ this.options = e || v, this.options.renderer = this.options.renderer || new B(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new V();
1237
+ }
1238
+ static parse(t, n) {
1239
+ return new e(n).parse(t);
1240
+ }
1241
+ static parseInline(t, n) {
1242
+ return new e(n).parseInline(t);
1243
+ }
1244
+ parse(e, t = !0) {
1245
+ let n = "";
1246
+ for (let r = 0; r < e.length; r++) {
1247
+ let i = e[r];
1248
+ if (this.options.extensions?.renderers?.[i.type]) {
1249
+ let e = i, t = this.options.extensions.renderers[e.type].call({ parser: this }, e);
1250
+ if (t !== !1 || ![
1251
+ "space",
1252
+ "hr",
1253
+ "heading",
1254
+ "code",
1255
+ "table",
1256
+ "blockquote",
1257
+ "list",
1258
+ "html",
1259
+ "def",
1260
+ "paragraph",
1261
+ "text"
1262
+ ].includes(e.type)) {
1263
+ n += t || "";
1264
+ continue;
1265
+ }
1266
+ }
1267
+ let a = i;
1268
+ switch (a.type) {
1269
+ case "space":
1270
+ n += this.renderer.space(a);
1271
+ continue;
1272
+ case "hr":
1273
+ n += this.renderer.hr(a);
1274
+ continue;
1275
+ case "heading":
1276
+ n += this.renderer.heading(a);
1277
+ continue;
1278
+ case "code":
1279
+ n += this.renderer.code(a);
1280
+ continue;
1281
+ case "table":
1282
+ n += this.renderer.table(a);
1283
+ continue;
1284
+ case "blockquote":
1285
+ n += this.renderer.blockquote(a);
1286
+ continue;
1287
+ case "list":
1288
+ n += this.renderer.list(a);
1289
+ continue;
1290
+ case "html":
1291
+ n += this.renderer.html(a);
1292
+ continue;
1293
+ case "def":
1294
+ n += this.renderer.def(a);
1295
+ continue;
1296
+ case "paragraph":
1297
+ n += this.renderer.paragraph(a);
1298
+ continue;
1299
+ case "text": {
1300
+ let i = a, o = this.renderer.text(i);
1301
+ for (; r + 1 < e.length && e[r + 1].type === "text";) i = e[++r], o += "\n" + this.renderer.text(i);
1302
+ t ? n += this.renderer.paragraph({
1303
+ type: "paragraph",
1304
+ raw: o,
1305
+ text: o,
1306
+ tokens: [{
1307
+ type: "text",
1308
+ raw: o,
1309
+ text: o,
1310
+ escaped: !0
1311
+ }]
1312
+ }) : n += o;
1313
+ continue;
1314
+ }
1315
+ default: {
1316
+ let e = "Token with \"" + a.type + "\" type was not found.";
1317
+ if (this.options.silent) return console.error(e), "";
1318
+ throw Error(e);
1319
+ }
1320
+ }
1321
+ }
1322
+ return n;
1323
+ }
1324
+ parseInline(e, t = this.renderer) {
1325
+ let n = "";
1326
+ for (let r = 0; r < e.length; r++) {
1327
+ let i = e[r];
1328
+ if (this.options.extensions?.renderers?.[i.type]) {
1329
+ let e = this.options.extensions.renderers[i.type].call({ parser: this }, i);
1330
+ if (e !== !1 || ![
1331
+ "escape",
1332
+ "html",
1333
+ "link",
1334
+ "image",
1335
+ "strong",
1336
+ "em",
1337
+ "codespan",
1338
+ "br",
1339
+ "del",
1340
+ "text"
1341
+ ].includes(i.type)) {
1342
+ n += e || "";
1343
+ continue;
1344
+ }
1345
+ }
1346
+ let a = i;
1347
+ switch (a.type) {
1348
+ case "escape":
1349
+ n += t.text(a);
1350
+ break;
1351
+ case "html":
1352
+ n += t.html(a);
1353
+ break;
1354
+ case "link":
1355
+ n += t.link(a);
1356
+ break;
1357
+ case "image":
1358
+ n += t.image(a);
1359
+ break;
1360
+ case "strong":
1361
+ n += t.strong(a);
1362
+ break;
1363
+ case "em":
1364
+ n += t.em(a);
1365
+ break;
1366
+ case "codespan":
1367
+ n += t.codespan(a);
1368
+ break;
1369
+ case "br":
1370
+ n += t.br(a);
1371
+ break;
1372
+ case "del":
1373
+ n += t.del(a);
1374
+ break;
1375
+ case "text":
1376
+ n += t.text(a);
1377
+ break;
1378
+ default: {
1379
+ let e = "Token with \"" + a.type + "\" type was not found.";
1380
+ if (this.options.silent) return console.error(e), "";
1381
+ throw Error(e);
1382
+ }
1383
+ }
1384
+ }
1385
+ return n;
1386
+ }
1387
+ }, U = class {
1388
+ options;
1389
+ block;
1390
+ constructor(e) {
1391
+ this.options = e || v;
1392
+ }
1393
+ static passThroughHooks = new Set([
1394
+ "preprocess",
1395
+ "postprocess",
1396
+ "processAllTokens",
1397
+ "emStrongMask"
1398
+ ]);
1399
+ static passThroughHooksRespectAsync = new Set([
1400
+ "preprocess",
1401
+ "postprocess",
1402
+ "processAllTokens"
1403
+ ]);
1404
+ preprocess(e) {
1405
+ return e;
1406
+ }
1407
+ postprocess(e) {
1408
+ return e;
1409
+ }
1410
+ processAllTokens(e) {
1411
+ return e;
1412
+ }
1413
+ emStrongMask(e) {
1414
+ return e;
1415
+ }
1416
+ provideLexer() {
1417
+ return this.block ? z.lex : z.lexInline;
1418
+ }
1419
+ provideParser() {
1420
+ return this.block ? H.parse : H.parseInline;
1421
+ }
1422
+ }, W = new class {
1423
+ defaults = _();
1424
+ options = this.setOptions;
1425
+ parse = this.parseMarkdown(!0);
1426
+ parseInline = this.parseMarkdown(!1);
1427
+ Parser = H;
1428
+ Renderer = B;
1429
+ TextRenderer = V;
1430
+ Lexer = z;
1431
+ Tokenizer = R;
1432
+ Hooks = U;
1433
+ constructor(...e) {
1434
+ this.use(...e);
1435
+ }
1436
+ walkTokens(e, t) {
1437
+ let n = [];
1438
+ for (let r of e) switch (n = n.concat(t.call(this, r)), r.type) {
1439
+ case "table": {
1440
+ let e = r;
1441
+ for (let r of e.header) n = n.concat(this.walkTokens(r.tokens, t));
1442
+ for (let r of e.rows) for (let e of r) n = n.concat(this.walkTokens(e.tokens, t));
1443
+ break;
1444
+ }
1445
+ case "list": {
1446
+ let e = r;
1447
+ n = n.concat(this.walkTokens(e.items, t));
1448
+ break;
1449
+ }
1450
+ default: {
1451
+ let e = r;
1452
+ this.defaults.extensions?.childTokens?.[e.type] ? this.defaults.extensions.childTokens[e.type].forEach((r) => {
1453
+ let i = e[r].flat(Infinity);
1454
+ n = n.concat(this.walkTokens(i, t));
1455
+ }) : e.tokens && (n = n.concat(this.walkTokens(e.tokens, t)));
1456
+ }
1457
+ }
1458
+ return n;
1459
+ }
1460
+ use(...e) {
1461
+ let t = this.defaults.extensions || {
1462
+ renderers: {},
1463
+ childTokens: {}
1464
+ };
1465
+ return e.forEach((e) => {
1466
+ let n = { ...e };
1467
+ if (n.async = this.defaults.async || n.async || !1, e.extensions && (e.extensions.forEach((e) => {
1468
+ if (!e.name) throw Error("extension name required");
1469
+ if ("renderer" in e) {
1470
+ let n = t.renderers[e.name];
1471
+ n ? t.renderers[e.name] = function(...t) {
1472
+ let r = e.renderer.apply(this, t);
1473
+ return r === !1 && (r = n.apply(this, t)), r;
1474
+ } : t.renderers[e.name] = e.renderer;
1475
+ }
1476
+ if ("tokenizer" in e) {
1477
+ if (!e.level || e.level !== "block" && e.level !== "inline") throw Error("extension level must be 'block' or 'inline'");
1478
+ let n = t[e.level];
1479
+ n ? n.unshift(e.tokenizer) : t[e.level] = [e.tokenizer], e.start && (e.level === "block" ? t.startBlock ? t.startBlock.push(e.start) : t.startBlock = [e.start] : e.level === "inline" && (t.startInline ? t.startInline.push(e.start) : t.startInline = [e.start]));
1480
+ }
1481
+ "childTokens" in e && e.childTokens && (t.childTokens[e.name] = e.childTokens);
1482
+ }), n.extensions = t), e.renderer) {
1483
+ let t = this.defaults.renderer || new B(this.defaults);
1484
+ for (let n in e.renderer) {
1485
+ if (!(n in t)) throw Error(`renderer '${n}' does not exist`);
1486
+ if (["options", "parser"].includes(n)) continue;
1487
+ let r = n, i = e.renderer[r], a = t[r];
1488
+ t[r] = (...e) => {
1489
+ let n = i.apply(t, e);
1490
+ return n === !1 && (n = a.apply(t, e)), n || "";
1491
+ };
1492
+ }
1493
+ n.renderer = t;
1494
+ }
1495
+ if (e.tokenizer) {
1496
+ let t = this.defaults.tokenizer || new R(this.defaults);
1497
+ for (let n in e.tokenizer) {
1498
+ if (!(n in t)) throw Error(`tokenizer '${n}' does not exist`);
1499
+ if ([
1500
+ "options",
1501
+ "rules",
1502
+ "lexer"
1503
+ ].includes(n)) continue;
1504
+ let r = n, i = e.tokenizer[r], a = t[r];
1505
+ t[r] = (...e) => {
1506
+ let n = i.apply(t, e);
1507
+ return n === !1 && (n = a.apply(t, e)), n;
1508
+ };
1509
+ }
1510
+ n.tokenizer = t;
1511
+ }
1512
+ if (e.hooks) {
1513
+ let t = this.defaults.hooks || new U();
1514
+ for (let n in e.hooks) {
1515
+ if (!(n in t)) throw Error(`hook '${n}' does not exist`);
1516
+ if (["options", "block"].includes(n)) continue;
1517
+ let r = n, i = e.hooks[r], a = t[r];
1518
+ U.passThroughHooks.has(n) ? t[r] = (e) => {
1519
+ if (this.defaults.async && U.passThroughHooksRespectAsync.has(n)) return (async () => {
1520
+ let n = await i.call(t, e);
1521
+ return a.call(t, n);
1522
+ })();
1523
+ let r = i.call(t, e);
1524
+ return a.call(t, r);
1525
+ } : t[r] = (...e) => {
1526
+ if (this.defaults.async) return (async () => {
1527
+ let n = await i.apply(t, e);
1528
+ return n === !1 && (n = await a.apply(t, e)), n;
1529
+ })();
1530
+ let n = i.apply(t, e);
1531
+ return n === !1 && (n = a.apply(t, e)), n;
1532
+ };
1533
+ }
1534
+ n.hooks = t;
1535
+ }
1536
+ if (e.walkTokens) {
1537
+ let t = this.defaults.walkTokens, r = e.walkTokens;
1538
+ n.walkTokens = function(e) {
1539
+ let n = [];
1540
+ return n.push(r.call(this, e)), t && (n = n.concat(t.call(this, e))), n;
1541
+ };
1542
+ }
1543
+ this.defaults = {
1544
+ ...this.defaults,
1545
+ ...n
1546
+ };
1547
+ }), this;
1548
+ }
1549
+ setOptions(e) {
1550
+ return this.defaults = {
1551
+ ...this.defaults,
1552
+ ...e
1553
+ }, this;
1554
+ }
1555
+ lexer(e, t) {
1556
+ return z.lex(e, t ?? this.defaults);
1557
+ }
1558
+ parser(e, t) {
1559
+ return H.parse(e, t ?? this.defaults);
1560
+ }
1561
+ parseMarkdown(e) {
1562
+ return (t, n) => {
1563
+ let r = { ...n }, i = {
1564
+ ...this.defaults,
1565
+ ...r
1566
+ }, a = this.onError(!!i.silent, !!i.async);
1567
+ if (this.defaults.async === !0 && r.async === !1) return a(/* @__PURE__ */ Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));
1568
+ if (typeof t > "u" || t === null) return a(/* @__PURE__ */ Error("marked(): input parameter is undefined or null"));
1569
+ if (typeof t != "string") return a(/* @__PURE__ */ Error("marked(): input parameter is of type " + Object.prototype.toString.call(t) + ", string expected"));
1570
+ if (i.hooks && (i.hooks.options = i, i.hooks.block = e), i.async) return (async () => {
1571
+ let n = i.hooks ? await i.hooks.preprocess(t) : t, r = await (i.hooks ? await i.hooks.provideLexer() : e ? z.lex : z.lexInline)(n, i), a = i.hooks ? await i.hooks.processAllTokens(r) : r;
1572
+ i.walkTokens && await Promise.all(this.walkTokens(a, i.walkTokens));
1573
+ let o = await (i.hooks ? await i.hooks.provideParser() : e ? H.parse : H.parseInline)(a, i);
1574
+ return i.hooks ? await i.hooks.postprocess(o) : o;
1575
+ })().catch(a);
1576
+ try {
1577
+ i.hooks && (t = i.hooks.preprocess(t));
1578
+ let n = (i.hooks ? i.hooks.provideLexer() : e ? z.lex : z.lexInline)(t, i);
1579
+ i.hooks && (n = i.hooks.processAllTokens(n)), i.walkTokens && this.walkTokens(n, i.walkTokens);
1580
+ let r = (i.hooks ? i.hooks.provideParser() : e ? H.parse : H.parseInline)(n, i);
1581
+ return i.hooks && (r = i.hooks.postprocess(r)), r;
1582
+ } catch (e) {
1583
+ return a(e);
1584
+ }
1585
+ };
1586
+ }
1587
+ onError(e, t) {
1588
+ return (n) => {
1589
+ if (n.message += "\nPlease report this to https://github.com/markedjs/marked.", e) {
1590
+ let e = "<p>An error occurred:</p><pre>" + I(n.message + "", !0) + "</pre>";
1591
+ return t ? Promise.resolve(e) : e;
1592
+ }
1593
+ if (t) return Promise.reject(n);
1594
+ throw n;
1595
+ };
1596
+ }
1597
+ }();
1598
+ function G(e, t) {
1599
+ return W.parse(e, t);
1600
+ }
1601
+ G.options = G.setOptions = function(e) {
1602
+ return W.setOptions(e), G.defaults = W.defaults, ve(G.defaults), G;
1603
+ }, G.getDefaults = _, G.defaults = v, G.use = function(...e) {
1604
+ return W.use(...e), G.defaults = W.defaults, ve(G.defaults), G;
1605
+ }, G.walkTokens = function(e, t) {
1606
+ return W.walkTokens(e, t);
1607
+ }, G.parseInline = W.parseInline, G.Parser = H, G.parser = H.parse, G.Renderer = B, G.TextRenderer = V, G.Lexer = z, G.lexer = z.lex, G.Tokenizer = R, G.Hooks = U, G.parse = G, G.options, G.setOptions, G.use, G.walkTokens, G.parseInline, H.parse, z.lex;
1608
+ //#endregion
1609
+ //#region node_modules/ts-dedent/esm/index.js
1610
+ function gt(e) {
1611
+ var t = [...arguments].slice(1), n = Array.from(typeof e == "string" ? [e] : e);
1612
+ n[n.length - 1] = n[n.length - 1].replace(/\r?\n([\t ]*)$/, "");
1613
+ var r = n.reduce(function(e, t) {
1614
+ var n = t.match(/\n([\t ]+|(?!\s).)/g);
1615
+ return n ? e.concat(n.map(function(e) {
1616
+ return e.match(/[\t ]/g)?.length ?? 0;
1617
+ })) : e;
1618
+ }, []);
1619
+ if (r.length) {
1620
+ var i = RegExp("\n[ ]{" + Math.min.apply(Math, r) + "}", "g");
1621
+ n = n.map(function(e) {
1622
+ return e.replace(i, "\n");
1623
+ });
1624
+ }
1625
+ n[0] = n[0].replace(/^\r?\n/, "");
1626
+ var a = n[0];
1627
+ return t.forEach(function(e, t) {
1628
+ var r = a.match(/(?:^|\n)( *)$/), i = r ? r[1] : "", o = e;
1629
+ typeof e == "string" && e.includes("\n") && (o = String(e).split("\n").map(function(e, t) {
1630
+ return t === 0 ? e : "" + i + e;
1631
+ }).join("\n")), a += o + n[t + 1];
1632
+ }), a;
1633
+ }
1634
+ //#endregion
1635
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-PU5JKC2W.mjs
1636
+ var _t = {
1637
+ body: "<g><rect width=\"80\" height=\"80\" style=\"fill: #087ebf; stroke-width: 0px;\"/><text transform=\"translate(21.16 64.67)\" style=\"fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;\"><tspan x=\"0\" y=\"0\">?</tspan></text></g>",
1638
+ height: 80,
1639
+ width: 80
1640
+ }, K = /* @__PURE__ */ new Map(), vt = /* @__PURE__ */ new Map(), yt = /* @__PURE__ */ t((t) => {
1641
+ for (let n of t) {
1642
+ if (!n.name) throw Error("Invalid icon loader. Must have a \"name\" property with non-empty string value.");
1643
+ if (e.debug("Registering icon pack:", n.name), "loader" in n) vt.set(n.name, n.loader);
1644
+ else if ("icons" in n) K.set(n.name, n.icons);
1645
+ else throw e.error("Invalid icon loader:", n), Error("Invalid icon loader. Must have either \"icons\" or \"loader\" property.");
1646
+ }
1647
+ }, "registerIconPacks"), bt = /* @__PURE__ */ t(async (t, n) => {
1648
+ let r = h(t, !0, n !== void 0);
1649
+ if (!r) throw Error(`Invalid icon name: ${t}`);
1650
+ let i = r.prefix || n;
1651
+ if (!i) throw Error(`Icon name must contain a prefix: ${t}`);
1652
+ let a = K.get(i);
1653
+ if (!a) {
1654
+ let t = vt.get(i);
1655
+ if (!t) throw Error(`Icon set not found: ${r.prefix}`);
1656
+ try {
1657
+ a = {
1658
+ ...await t(),
1659
+ prefix: i
1660
+ }, K.set(i, a);
1661
+ } catch (t) {
1662
+ throw e.error(t), Error(`Failed to load icon set: ${r.prefix}`);
1663
+ }
1664
+ }
1665
+ let o = ie(a, r.name);
1666
+ if (!o) throw Error(`Icon not found: ${t}`);
1667
+ return o;
1668
+ }, "getRegisteredIconData"), xt = /* @__PURE__ */ t(async (e) => {
1669
+ try {
1670
+ return await bt(e), !0;
1671
+ } catch {
1672
+ return !1;
1673
+ }
1674
+ }, "isIconAvailable"), St = /* @__PURE__ */ t(async (t, n, i) => {
1675
+ let a;
1676
+ try {
1677
+ a = await bt(t, n?.fallbackPrefix);
1678
+ } catch (t) {
1679
+ e.error(t), a = _t;
1680
+ }
1681
+ let o = fe(a, n);
1682
+ return r(_e(ge(o.body), {
1683
+ ...o.attributes,
1684
+ ...i
1685
+ }), s());
1686
+ }, "getIconSVG");
1687
+ function Ct(e, { markdownAutoWrap: t }) {
1688
+ return gt(e.replace(/<br\/>/g, "\n").replace(/\n{2,}/g, "\n"));
1689
+ }
1690
+ t(Ct, "preprocessMarkdown");
1691
+ function wt(e) {
1692
+ return e.split(/\\n|\n|<br\s*\/?>/gi).map((e) => e.trim().match(/<[^>]+>|[^\s<>]+/g)?.map((e) => ({
1693
+ content: e,
1694
+ type: "normal"
1695
+ })) ?? []);
1696
+ }
1697
+ t(wt, "nonMarkdownToLines");
1698
+ function Tt(e, n = {}) {
1699
+ let r = Ct(e, n), i = G.lexer(r), a = [[]], o = 0;
1700
+ function s(e, t = "normal") {
1701
+ e.type === "text" ? e.text.split("\n").forEach((e, n) => {
1702
+ n !== 0 && (o++, a.push([])), e.split(" ").forEach((e) => {
1703
+ e = e.replace(/&#39;/g, "'"), e && a[o].push({
1704
+ content: e,
1705
+ type: t
1706
+ });
1707
+ });
1708
+ }) : e.type === "strong" || e.type === "em" ? e.tokens.forEach((t) => {
1709
+ s(t, e.type);
1710
+ }) : e.type === "html" && a[o].push({
1711
+ content: e.text,
1712
+ type: "normal"
1713
+ });
1714
+ }
1715
+ return t(s, "processNode"), i.forEach((e) => {
1716
+ e.type === "paragraph" ? e.tokens?.forEach((e) => {
1717
+ s(e);
1718
+ }) : e.type === "html" ? a[o].push({
1719
+ content: e.text,
1720
+ type: "normal"
1721
+ }) : a[o].push({
1722
+ content: e.raw,
1723
+ type: "normal"
1724
+ });
1725
+ }), a;
1726
+ }
1727
+ t(Tt, "markdownToLines");
1728
+ function Et(e) {
1729
+ return e ? `<p>${e.replace(/\\n|\n/g, "<br />")}</p>` : "";
1730
+ }
1731
+ t(Et, "nonMarkdownToHTML");
1732
+ function Dt(n, { markdownAutoWrap: r } = {}) {
1733
+ let i = G.lexer(n);
1734
+ function a(t) {
1735
+ return t.type === "text" ? r === !1 ? t.text.replace(/\n */g, "<br/>").replace(/ /g, "&nbsp;") : t.text.replace(/\n */g, "<br/>") : t.type === "strong" ? `<strong>${t.tokens?.map(a).join("")}</strong>` : t.type === "em" ? `<em>${t.tokens?.map(a).join("")}</em>` : t.type === "paragraph" ? `<p>${t.tokens?.map(a).join("")}</p>` : t.type === "space" ? "" : t.type === "html" ? `${t.text}` : t.type === "escape" ? t.text : (e.warn(`Unsupported markdown: ${t.type}`), t.raw);
1736
+ }
1737
+ return t(a, "output"), i.map(a).join("");
1738
+ }
1739
+ t(Dt, "markdownToHTML");
1740
+ function Ot(e) {
1741
+ return Intl.Segmenter ? [...new Intl.Segmenter().segment(e)].map((e) => e.segment) : [...e];
1742
+ }
1743
+ t(Ot, "splitTextToChars");
1744
+ function kt(e, t) {
1745
+ return q(e, [], Ot(t.content), t.type);
1746
+ }
1747
+ t(kt, "splitWordToFitWidth");
1748
+ function q(e, t, n, r) {
1749
+ if (n.length === 0) return [{
1750
+ content: t.join(""),
1751
+ type: r
1752
+ }, {
1753
+ content: "",
1754
+ type: r
1755
+ }];
1756
+ let [i, ...a] = n, o = [...t, i];
1757
+ return e([{
1758
+ content: o.join(""),
1759
+ type: r
1760
+ }]) ? q(e, o, a, r) : (t.length === 0 && i && (t.push(i), n.shift()), [{
1761
+ content: t.join(""),
1762
+ type: r
1763
+ }, {
1764
+ content: n.join(""),
1765
+ type: r
1766
+ }]);
1767
+ }
1768
+ t(q, "splitWordToFitWidthRecursion");
1769
+ function At(e, t) {
1770
+ if (e.some(({ content: e }) => e.includes("\n"))) throw Error("splitLineToFitWidth does not support newlines in the line");
1771
+ return J(e, t);
1772
+ }
1773
+ t(At, "splitLineToFitWidth");
1774
+ function J(e, t, n = [], r = []) {
1775
+ if (e.length === 0) return r.length > 0 && n.push(r), n.length > 0 ? n : [];
1776
+ let i = "";
1777
+ e[0].content === " " && (i = " ", e.shift());
1778
+ let a = e.shift() ?? {
1779
+ content: " ",
1780
+ type: "normal"
1781
+ }, o = [...r];
1782
+ if (i !== "" && o.push({
1783
+ content: i,
1784
+ type: "normal"
1785
+ }), o.push(a), t(o)) return J(e, t, n, o);
1786
+ if (r.length > 0) n.push(r), e.unshift(a);
1787
+ else if (a.content) {
1788
+ let [r, i] = kt(t, a);
1789
+ n.push([r]), i.content && e.unshift(i);
1790
+ }
1791
+ return J(e, t, n);
1792
+ }
1793
+ t(J, "splitLineToFitWidthRecursion");
1794
+ function Y(e, t) {
1795
+ t && e.attr("style", t);
1796
+ }
1797
+ t(Y, "applyStyle");
1798
+ var jt = 16384;
1799
+ async function Mt(e, t, n, c, l = !1, u = s()) {
1800
+ let d = e.append("foreignObject");
1801
+ d.attr("width", `${Math.min(10 * n, jt)}px`), d.attr("height", `${Math.min(10 * n, jt)}px`);
1802
+ let f = d.append("xhtml:div"), p = a(t.label) ? await i(t.label.replace(o.lineBreakRegex, "\n"), u) : r(t.label, u), m = t.isNode ? "nodeLabel" : "edgeLabel", h = f.append("span");
1803
+ h.html(p), Y(h, t.labelStyle), h.attr("class", `${m} ${c}`), Y(f, t.labelStyle), f.style("display", "table-cell"), f.style("white-space", "nowrap"), f.style("line-height", "1.5"), n !== Infinity && (f.style("max-width", n + "px"), f.style("text-align", "center")), f.attr("xmlns", "http://www.w3.org/1999/xhtml"), l && f.attr("class", "labelBkg");
1804
+ let g = f.node().getBoundingClientRect();
1805
+ return g.width === n && (f.style("display", "table"), f.style("white-space", "break-spaces"), f.style("width", n + "px"), g = f.node().getBoundingClientRect()), d.node();
1806
+ }
1807
+ t(Mt, "addHtmlSpan");
1808
+ function X(e, t, n, r = !1) {
1809
+ let i = e.append("tspan").attr("class", "text-outer-tspan").attr("x", 0).attr("y", t * n - .1 + "em").attr("dy", n + "em");
1810
+ return r && i.attr("text-anchor", "middle"), i;
1811
+ }
1812
+ t(X, "createTspan");
1813
+ function Nt(e, t, n) {
1814
+ let r = e.append("text"), i = X(r, 1, t);
1815
+ Q(i, n);
1816
+ let a = i.node().getComputedTextLength();
1817
+ return r.remove(), a;
1818
+ }
1819
+ t(Nt, "computeWidthOfText");
1820
+ function Pt(e, t, n) {
1821
+ let r = e.append("text"), i = X(r, 1, t);
1822
+ Q(i, [{
1823
+ content: n,
1824
+ type: "normal"
1825
+ }]);
1826
+ let a = i.node()?.getBoundingClientRect();
1827
+ return a && r.remove(), a;
1828
+ }
1829
+ t(Pt, "computeDimensionOfText");
1830
+ function Z(e, n, r, i = !1, a = !1) {
1831
+ let o = 1.1, s = n.append("g"), c = s.insert("rect").attr("class", "background").attr("style", "stroke: none"), l = s.append("text").attr("y", "-10.1");
1832
+ a && l.attr("text-anchor", "middle");
1833
+ let u = 0;
1834
+ for (let n of r) {
1835
+ let r = /* @__PURE__ */ t((t) => Nt(s, o, t) <= e, "checkWidth"), i = r(n) ? [n] : At(n, r);
1836
+ for (let e of i) Q(X(l, u, o, a), e), u++;
1837
+ }
1838
+ if (i) {
1839
+ let e = l.node().getBBox();
1840
+ return c.attr("x", e.x - 2).attr("y", e.y - 2).attr("width", e.width + 4).attr("height", e.height + 4), s.node();
1841
+ } else return l.node();
1842
+ }
1843
+ t(Z, "createFormattedText");
1844
+ function Q(e, t) {
1845
+ e.text(""), t.forEach((t, n) => {
1846
+ let r = e.append("tspan").attr("font-style", t.type === "em" ? "italic" : "normal").attr("class", "text-inner-tspan").attr("font-weight", t.type === "strong" ? "bold" : "normal");
1847
+ n === 0 ? r.text(t.content) : r.text(" " + t.content);
1848
+ });
1849
+ }
1850
+ t(Q, "updateTextContentAndStyles");
1851
+ async function $(e, t = {}) {
1852
+ let n = [];
1853
+ e.replace(/(fa[bklrs]?):fa-([\w-]+)/g, (e, i, a) => (n.push((async () => {
1854
+ let n = `${i}:${a}`;
1855
+ return await xt(n) ? await St(n, void 0, { class: "label-icon" }) : `<i class='${r(e, t).replace(":", " ")}'></i>`;
1856
+ })()), e));
1857
+ let i = await Promise.all(n);
1858
+ return e.replace(/(fa[bklrs]?):fa-([\w-]+)/g, () => i.shift() ?? "");
1859
+ }
1860
+ t($, "replaceIconSubstring");
1861
+ var Ft = /* @__PURE__ */ t(async (t, r = "", { style: i = "", isTitle: o = !1, classes: s = "", useHtmlLabels: l = !0, markdown: u = !0, isNode: d = !0, width: f = 200, addSvgBackground: p = !1 } = {}, m) => {
1862
+ if (e.debug("XYZ createText", r, i, o, s, l, d, "addSvgBackground: ", p), l) {
1863
+ let e = await $(c(u ? Dt(r, m) : Et(r)), m), n = r.replace(/\\\\/g, "\\");
1864
+ return await Mt(t, {
1865
+ isNode: d,
1866
+ label: a(r) ? n : e,
1867
+ labelStyle: i.replace("fill:", "color:")
1868
+ }, f, s, p, m);
1869
+ } else {
1870
+ let e = r.replace(/<br\s*\/?>/g, "<br/>"), a = Z(f, t, u ? Tt(e.replace("<br>", "<br/>"), m) : wt(e), r ? p : !1, !d);
1871
+ if (d) {
1872
+ /stroke:/.exec(i) && (i = i.replace("stroke:", "lineColor:"));
1873
+ let e = i.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/color:/g, "fill:");
1874
+ n(a).attr("style", e);
1875
+ } else {
1876
+ let e = i.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/background:/g, "fill:");
1877
+ n(a).select("rect").attr("style", e.replace(/background:/g, "fill:"));
1878
+ let t = i.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/color:/g, "fill:");
1879
+ n(a).select("text").attr("style", t);
1880
+ }
1881
+ return o ? n(a).selectAll("tspan.text-outer-tspan").classed("title-row", !0) : n(a).selectAll("tspan.text-outer-tspan").classed("row", !0), a;
1882
+ }
1883
+ }, "createText");
1884
+ //#endregion
1885
+ export { _t as a, yt as i, Ft as n, gt as o, St as r, Pt as t };
1886
+
1887
+ //# sourceMappingURL=chunk-PU5JKC2W-BM5NPS-q.js.map