@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
@@ -1,2339 +0,0 @@
1
- var _a;
2
- import { g as getIconStyles } from "./chunk-FMBD7UC4-DD0xIF4q.js";
3
- import { _ as __name, o as setConfig2, l as log, c as getConfig2, d as select, p as getRegisteredLayoutAlgorithm, r as render, u as utils_default, b as setAccTitle, s as setAccDescription, q as setDiagramTitle, a as getAccTitle, g as getAccDescription, t as getDiagramTitle, k as common_default, v as load, J as JSON_SCHEMA, x as isValidShape, y as getEdgeId, z as clear, A as defaultConfig2, B as rgba } from "./index-BiWHWaTZ.js";
4
- import { g as getDiagramElement } from "./chunk-55IACEB6-5VDRE5b9.js";
5
- import { s as setupViewPortForSVG } from "./chunk-QN33PNHL-NyikcZce.js";
6
- import { c as channel } from "./channel-Dx_x_I-e.js";
7
- var MERMAID_DOM_ID_PREFIX = "flowchart-";
8
- var FlowDB = (_a = class {
9
- // cspell:ignore funs
10
- constructor() {
11
- this.vertexCounter = 0;
12
- this.config = getConfig2();
13
- this.vertices = /* @__PURE__ */ new Map();
14
- this.edges = [];
15
- this.classes = /* @__PURE__ */ new Map();
16
- this.subGraphs = [];
17
- this.subGraphLookup = /* @__PURE__ */ new Map();
18
- this.tooltips = /* @__PURE__ */ new Map();
19
- this.subCount = 0;
20
- this.firstGraphFlag = true;
21
- this.secCount = -1;
22
- this.posCrossRef = [];
23
- this.funs = [];
24
- this.setAccTitle = setAccTitle;
25
- this.setAccDescription = setAccDescription;
26
- this.setDiagramTitle = setDiagramTitle;
27
- this.getAccTitle = getAccTitle;
28
- this.getAccDescription = getAccDescription;
29
- this.getDiagramTitle = getDiagramTitle;
30
- this.funs.push(this.setupToolTips.bind(this));
31
- this.addVertex = this.addVertex.bind(this);
32
- this.firstGraph = this.firstGraph.bind(this);
33
- this.setDirection = this.setDirection.bind(this);
34
- this.addSubGraph = this.addSubGraph.bind(this);
35
- this.addLink = this.addLink.bind(this);
36
- this.setLink = this.setLink.bind(this);
37
- this.updateLink = this.updateLink.bind(this);
38
- this.addClass = this.addClass.bind(this);
39
- this.setClass = this.setClass.bind(this);
40
- this.destructLink = this.destructLink.bind(this);
41
- this.setClickEvent = this.setClickEvent.bind(this);
42
- this.setTooltip = this.setTooltip.bind(this);
43
- this.updateLinkInterpolate = this.updateLinkInterpolate.bind(this);
44
- this.setClickFun = this.setClickFun.bind(this);
45
- this.bindFunctions = this.bindFunctions.bind(this);
46
- this.lex = {
47
- firstGraph: this.firstGraph.bind(this)
48
- };
49
- this.clear();
50
- this.setGen("gen-2");
51
- }
52
- sanitizeText(txt) {
53
- return common_default.sanitizeText(txt, this.config);
54
- }
55
- /**
56
- * Function to lookup domId from id in the graph definition.
57
- *
58
- * @param id - id of the node
59
- */
60
- lookUpDomId(id) {
61
- for (const vertex of this.vertices.values()) {
62
- if (vertex.id === id) {
63
- return vertex.domId;
64
- }
65
- }
66
- return id;
67
- }
68
- /**
69
- * Function called by parser when a node definition has been found
70
- */
71
- addVertex(id, textObj, type, style, classes, dir, props = {}, metadata) {
72
- var _a2, _b;
73
- if (!id || id.trim().length === 0) {
74
- return;
75
- }
76
- let doc;
77
- if (metadata !== void 0) {
78
- let yamlData;
79
- if (!metadata.includes("\n")) {
80
- yamlData = "{\n" + metadata + "\n}";
81
- } else {
82
- yamlData = metadata + "\n";
83
- }
84
- doc = load(yamlData, { schema: JSON_SCHEMA });
85
- }
86
- const edge = this.edges.find((e) => e.id === id);
87
- if (edge) {
88
- const edgeDoc = doc;
89
- if ((edgeDoc == null ? void 0 : edgeDoc.animate) !== void 0) {
90
- edge.animate = edgeDoc.animate;
91
- }
92
- if ((edgeDoc == null ? void 0 : edgeDoc.animation) !== void 0) {
93
- edge.animation = edgeDoc.animation;
94
- }
95
- if ((edgeDoc == null ? void 0 : edgeDoc.curve) !== void 0) {
96
- edge.interpolate = edgeDoc.curve;
97
- }
98
- return;
99
- }
100
- let txt;
101
- let vertex = this.vertices.get(id);
102
- if (vertex === void 0) {
103
- vertex = {
104
- id,
105
- labelType: "text",
106
- domId: MERMAID_DOM_ID_PREFIX + id + "-" + this.vertexCounter,
107
- styles: [],
108
- classes: []
109
- };
110
- this.vertices.set(id, vertex);
111
- }
112
- this.vertexCounter++;
113
- if (textObj !== void 0) {
114
- this.config = getConfig2();
115
- txt = this.sanitizeText(textObj.text.trim());
116
- vertex.labelType = textObj.type;
117
- if (txt.startsWith('"') && txt.endsWith('"')) {
118
- txt = txt.substring(1, txt.length - 1);
119
- }
120
- vertex.text = txt;
121
- } else {
122
- if (vertex.text === void 0) {
123
- vertex.text = id;
124
- }
125
- }
126
- if (type !== void 0) {
127
- vertex.type = type;
128
- }
129
- if (style !== void 0 && style !== null) {
130
- style.forEach((s) => {
131
- vertex.styles.push(s);
132
- });
133
- }
134
- if (classes !== void 0 && classes !== null) {
135
- classes.forEach((s) => {
136
- vertex.classes.push(s);
137
- });
138
- }
139
- if (dir !== void 0) {
140
- vertex.dir = dir;
141
- }
142
- if (vertex.props === void 0) {
143
- vertex.props = props;
144
- } else if (props !== void 0) {
145
- Object.assign(vertex.props, props);
146
- }
147
- if (doc !== void 0) {
148
- if (doc.shape) {
149
- if (doc.shape !== doc.shape.toLowerCase() || doc.shape.includes("_")) {
150
- throw new Error(`No such shape: ${doc.shape}. Shape names should be lowercase.`);
151
- } else if (!isValidShape(doc.shape)) {
152
- throw new Error(`No such shape: ${doc.shape}.`);
153
- }
154
- vertex.type = doc == null ? void 0 : doc.shape;
155
- }
156
- if (doc == null ? void 0 : doc.label) {
157
- vertex.text = doc == null ? void 0 : doc.label;
158
- }
159
- if (doc == null ? void 0 : doc.icon) {
160
- vertex.icon = doc == null ? void 0 : doc.icon;
161
- if (!((_a2 = doc.label) == null ? void 0 : _a2.trim()) && vertex.text === id) {
162
- vertex.text = "";
163
- }
164
- }
165
- if (doc == null ? void 0 : doc.form) {
166
- vertex.form = doc == null ? void 0 : doc.form;
167
- }
168
- if (doc == null ? void 0 : doc.pos) {
169
- vertex.pos = doc == null ? void 0 : doc.pos;
170
- }
171
- if (doc == null ? void 0 : doc.img) {
172
- vertex.img = doc == null ? void 0 : doc.img;
173
- if (!((_b = doc.label) == null ? void 0 : _b.trim()) && vertex.text === id) {
174
- vertex.text = "";
175
- }
176
- }
177
- if (doc == null ? void 0 : doc.constraint) {
178
- vertex.constraint = doc.constraint;
179
- }
180
- if (doc.w) {
181
- vertex.assetWidth = Number(doc.w);
182
- }
183
- if (doc.h) {
184
- vertex.assetHeight = Number(doc.h);
185
- }
186
- }
187
- }
188
- /**
189
- * Function called by parser when a link/edge definition has been found
190
- *
191
- */
192
- addSingleLink(_start, _end, type, id) {
193
- const start = _start;
194
- const end = _end;
195
- const edge = {
196
- start,
197
- end,
198
- type: void 0,
199
- text: "",
200
- labelType: "text",
201
- classes: [],
202
- isUserDefinedId: false,
203
- interpolate: this.edges.defaultInterpolate
204
- };
205
- log.info("abc78 Got edge...", edge);
206
- const linkTextObj = type.text;
207
- if (linkTextObj !== void 0) {
208
- edge.text = this.sanitizeText(linkTextObj.text.trim());
209
- if (edge.text.startsWith('"') && edge.text.endsWith('"')) {
210
- edge.text = edge.text.substring(1, edge.text.length - 1);
211
- }
212
- edge.labelType = linkTextObj.type;
213
- }
214
- if (type !== void 0) {
215
- edge.type = type.type;
216
- edge.stroke = type.stroke;
217
- edge.length = type.length > 10 ? 10 : type.length;
218
- }
219
- if (id && !this.edges.some((e) => e.id === id)) {
220
- edge.id = id;
221
- edge.isUserDefinedId = true;
222
- } else {
223
- const existingLinks = this.edges.filter((e) => e.start === edge.start && e.end === edge.end);
224
- if (existingLinks.length === 0) {
225
- edge.id = getEdgeId(edge.start, edge.end, { counter: 0, prefix: "L" });
226
- } else {
227
- edge.id = getEdgeId(edge.start, edge.end, {
228
- counter: existingLinks.length + 1,
229
- prefix: "L"
230
- });
231
- }
232
- }
233
- if (this.edges.length < (this.config.maxEdges ?? 500)) {
234
- log.info("Pushing edge...");
235
- this.edges.push(edge);
236
- } else {
237
- throw new Error(
238
- `Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
239
-
240
- Initialize mermaid with maxEdges set to a higher number to allow more edges.
241
- You cannot set this config via configuration inside the diagram as it is a secure config.
242
- You have to call mermaid.initialize.`
243
- );
244
- }
245
- }
246
- isLinkData(value) {
247
- return value !== null && typeof value === "object" && "id" in value && typeof value.id === "string";
248
- }
249
- addLink(_start, _end, linkData) {
250
- const id = this.isLinkData(linkData) ? linkData.id.replace("@", "") : void 0;
251
- log.info("addLink", _start, _end, id);
252
- for (const start of _start) {
253
- for (const end of _end) {
254
- const isLastStart = start === _start[_start.length - 1];
255
- const isFirstEnd = end === _end[0];
256
- if (isLastStart && isFirstEnd) {
257
- this.addSingleLink(start, end, linkData, id);
258
- } else {
259
- this.addSingleLink(start, end, linkData, void 0);
260
- }
261
- }
262
- }
263
- }
264
- /**
265
- * Updates a link's line interpolation algorithm
266
- */
267
- updateLinkInterpolate(positions, interpolate) {
268
- positions.forEach((pos) => {
269
- if (pos === "default") {
270
- this.edges.defaultInterpolate = interpolate;
271
- } else {
272
- this.edges[pos].interpolate = interpolate;
273
- }
274
- });
275
- }
276
- /**
277
- * Updates a link with a style
278
- *
279
- */
280
- updateLink(positions, style) {
281
- positions.forEach((pos) => {
282
- var _a2, _b, _c, _d, _e, _f;
283
- if (typeof pos === "number" && pos >= this.edges.length) {
284
- throw new Error(
285
- `The index ${pos} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length - 1}. (Help: Ensure that the index is within the range of existing edges.)`
286
- );
287
- }
288
- if (pos === "default") {
289
- this.edges.defaultStyle = style;
290
- } else {
291
- this.edges[pos].style = style;
292
- if ((((_b = (_a2 = this.edges[pos]) == null ? void 0 : _a2.style) == null ? void 0 : _b.length) ?? 0) > 0 && !((_d = (_c = this.edges[pos]) == null ? void 0 : _c.style) == null ? void 0 : _d.some((s) => s == null ? void 0 : s.startsWith("fill")))) {
293
- (_f = (_e = this.edges[pos]) == null ? void 0 : _e.style) == null ? void 0 : _f.push("fill:none");
294
- }
295
- }
296
- });
297
- }
298
- addClass(ids, _style) {
299
- const style = _style.join().replace(/\\,/g, "§§§").replace(/,/g, ";").replace(/§§§/g, ",").split(";");
300
- ids.split(",").forEach((id) => {
301
- let classNode = this.classes.get(id);
302
- if (classNode === void 0) {
303
- classNode = { id, styles: [], textStyles: [] };
304
- this.classes.set(id, classNode);
305
- }
306
- if (style !== void 0 && style !== null) {
307
- style.forEach((s) => {
308
- if (/color/.exec(s)) {
309
- const newStyle = s.replace("fill", "bgFill");
310
- classNode.textStyles.push(newStyle);
311
- }
312
- classNode.styles.push(s);
313
- });
314
- }
315
- });
316
- }
317
- /**
318
- * Called by parser when a graph definition is found, stores the direction of the chart.
319
- *
320
- */
321
- setDirection(dir) {
322
- this.direction = dir.trim();
323
- if (/.*</.exec(this.direction)) {
324
- this.direction = "RL";
325
- }
326
- if (/.*\^/.exec(this.direction)) {
327
- this.direction = "BT";
328
- }
329
- if (/.*>/.exec(this.direction)) {
330
- this.direction = "LR";
331
- }
332
- if (/.*v/.exec(this.direction)) {
333
- this.direction = "TB";
334
- }
335
- if (this.direction === "TD") {
336
- this.direction = "TB";
337
- }
338
- }
339
- /**
340
- * Called by parser when a special node is found, e.g. a clickable element.
341
- *
342
- * @param ids - Comma separated list of ids
343
- * @param className - Class to add
344
- */
345
- setClass(ids, className) {
346
- for (const id of ids.split(",")) {
347
- const vertex = this.vertices.get(id);
348
- if (vertex) {
349
- vertex.classes.push(className);
350
- }
351
- const edge = this.edges.find((e) => e.id === id);
352
- if (edge) {
353
- edge.classes.push(className);
354
- }
355
- const subGraph = this.subGraphLookup.get(id);
356
- if (subGraph) {
357
- subGraph.classes.push(className);
358
- }
359
- }
360
- }
361
- setTooltip(ids, tooltip) {
362
- if (tooltip === void 0) {
363
- return;
364
- }
365
- tooltip = this.sanitizeText(tooltip);
366
- for (const id of ids.split(",")) {
367
- this.tooltips.set(this.version === "gen-1" ? this.lookUpDomId(id) : id, tooltip);
368
- }
369
- }
370
- setClickFun(id, functionName, functionArgs) {
371
- const domId = this.lookUpDomId(id);
372
- if (getConfig2().securityLevel !== "loose") {
373
- return;
374
- }
375
- if (functionName === void 0) {
376
- return;
377
- }
378
- let argList = [];
379
- if (typeof functionArgs === "string") {
380
- argList = functionArgs.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
381
- for (let i = 0; i < argList.length; i++) {
382
- let item = argList[i].trim();
383
- if (item.startsWith('"') && item.endsWith('"')) {
384
- item = item.substr(1, item.length - 2);
385
- }
386
- argList[i] = item;
387
- }
388
- }
389
- if (argList.length === 0) {
390
- argList.push(id);
391
- }
392
- const vertex = this.vertices.get(id);
393
- if (vertex) {
394
- vertex.haveCallback = true;
395
- this.funs.push(() => {
396
- const elem = document.querySelector(`[id="${domId}"]`);
397
- if (elem !== null) {
398
- elem.addEventListener(
399
- "click",
400
- () => {
401
- utils_default.runFunc(functionName, ...argList);
402
- },
403
- false
404
- );
405
- }
406
- });
407
- }
408
- }
409
- /**
410
- * Called by parser when a link is found. Adds the URL to the vertex data.
411
- *
412
- * @param ids - Comma separated list of ids
413
- * @param linkStr - URL to create a link for
414
- * @param target - Target attribute for the link
415
- */
416
- setLink(ids, linkStr, target) {
417
- ids.split(",").forEach((id) => {
418
- const vertex = this.vertices.get(id);
419
- if (vertex !== void 0) {
420
- vertex.link = utils_default.formatUrl(linkStr, this.config);
421
- vertex.linkTarget = target;
422
- }
423
- });
424
- this.setClass(ids, "clickable");
425
- }
426
- getTooltip(id) {
427
- return this.tooltips.get(id);
428
- }
429
- /**
430
- * Called by parser when a click definition is found. Registers an event handler.
431
- *
432
- * @param ids - Comma separated list of ids
433
- * @param functionName - Function to be called on click
434
- * @param functionArgs - Arguments to be passed to the function
435
- */
436
- setClickEvent(ids, functionName, functionArgs) {
437
- ids.split(",").forEach((id) => {
438
- this.setClickFun(id, functionName, functionArgs);
439
- });
440
- this.setClass(ids, "clickable");
441
- }
442
- bindFunctions(element) {
443
- this.funs.forEach((fun) => {
444
- fun(element);
445
- });
446
- }
447
- getDirection() {
448
- var _a2;
449
- return (_a2 = this.direction) == null ? void 0 : _a2.trim();
450
- }
451
- /**
452
- * Retrieval function for fetching the found nodes after parsing has completed.
453
- *
454
- */
455
- getVertices() {
456
- return this.vertices;
457
- }
458
- /**
459
- * Retrieval function for fetching the found links after parsing has completed.
460
- *
461
- */
462
- getEdges() {
463
- return this.edges;
464
- }
465
- /**
466
- * Retrieval function for fetching the found class definitions after parsing has completed.
467
- *
468
- */
469
- getClasses() {
470
- return this.classes;
471
- }
472
- setupToolTips(element) {
473
- let tooltipElem = select(".mermaidTooltip");
474
- if ((tooltipElem._groups || tooltipElem)[0][0] === null) {
475
- tooltipElem = select("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0);
476
- }
477
- const svg = select(element).select("svg");
478
- const nodes = svg.selectAll("g.node");
479
- nodes.on("mouseover", (e) => {
480
- var _a2;
481
- const el = select(e.currentTarget);
482
- const title = el.attr("title");
483
- if (title === null) {
484
- return;
485
- }
486
- const rect = (_a2 = e.currentTarget) == null ? void 0 : _a2.getBoundingClientRect();
487
- tooltipElem.transition().duration(200).style("opacity", ".9");
488
- tooltipElem.text(el.attr("title")).style("left", window.scrollX + rect.left + (rect.right - rect.left) / 2 + "px").style("top", window.scrollY + rect.bottom + "px");
489
- tooltipElem.html(tooltipElem.html().replace(/&lt;br\/&gt;/g, "<br/>"));
490
- el.classed("hover", true);
491
- }).on("mouseout", (e) => {
492
- tooltipElem.transition().duration(500).style("opacity", 0);
493
- const el = select(e.currentTarget);
494
- el.classed("hover", false);
495
- });
496
- }
497
- /**
498
- * Clears the internal graph db so that a new graph can be parsed.
499
- *
500
- */
501
- clear(ver = "gen-2") {
502
- this.vertices = /* @__PURE__ */ new Map();
503
- this.classes = /* @__PURE__ */ new Map();
504
- this.edges = [];
505
- this.funs = [this.setupToolTips.bind(this)];
506
- this.subGraphs = [];
507
- this.subGraphLookup = /* @__PURE__ */ new Map();
508
- this.subCount = 0;
509
- this.tooltips = /* @__PURE__ */ new Map();
510
- this.firstGraphFlag = true;
511
- this.version = ver;
512
- this.config = getConfig2();
513
- clear();
514
- }
515
- setGen(ver) {
516
- this.version = ver || "gen-2";
517
- }
518
- defaultStyle() {
519
- return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;";
520
- }
521
- addSubGraph(_id, list, _title) {
522
- let id = _id.text.trim();
523
- let title = _title.text;
524
- if (_id === _title && /\s/.exec(_title.text)) {
525
- id = void 0;
526
- }
527
- const uniq = /* @__PURE__ */ __name((a) => {
528
- const prims = { boolean: {}, number: {}, string: {} };
529
- const objs = [];
530
- let dir2;
531
- const nodeList2 = a.filter(function(item) {
532
- const type = typeof item;
533
- if (item.stmt && item.stmt === "dir") {
534
- dir2 = item.value;
535
- return false;
536
- }
537
- if (item.trim() === "") {
538
- return false;
539
- }
540
- if (type in prims) {
541
- return prims[type].hasOwnProperty(item) ? false : prims[type][item] = true;
542
- } else {
543
- return objs.includes(item) ? false : objs.push(item);
544
- }
545
- });
546
- return { nodeList: nodeList2, dir: dir2 };
547
- }, "uniq");
548
- const result = uniq(list.flat());
549
- const nodeList = result.nodeList;
550
- let dir = result.dir;
551
- const flowchartConfig = getConfig2().flowchart ?? {};
552
- dir = dir ?? (flowchartConfig.inheritDir ? this.getDirection() ?? getConfig2().direction ?? void 0 : void 0);
553
- if (this.version === "gen-1") {
554
- for (let i = 0; i < nodeList.length; i++) {
555
- nodeList[i] = this.lookUpDomId(nodeList[i]);
556
- }
557
- }
558
- id = id ?? "subGraph" + this.subCount;
559
- title = title || "";
560
- title = this.sanitizeText(title);
561
- this.subCount = this.subCount + 1;
562
- const subGraph = {
563
- id,
564
- nodes: nodeList,
565
- title: title.trim(),
566
- classes: [],
567
- dir,
568
- labelType: _title.type
569
- };
570
- log.info("Adding", subGraph.id, subGraph.nodes, subGraph.dir);
571
- subGraph.nodes = this.makeUniq(subGraph, this.subGraphs).nodes;
572
- this.subGraphs.push(subGraph);
573
- this.subGraphLookup.set(id, subGraph);
574
- return id;
575
- }
576
- getPosForId(id) {
577
- for (const [i, subGraph] of this.subGraphs.entries()) {
578
- if (subGraph.id === id) {
579
- return i;
580
- }
581
- }
582
- return -1;
583
- }
584
- indexNodes2(id, pos) {
585
- const nodes = this.subGraphs[pos].nodes;
586
- this.secCount = this.secCount + 1;
587
- if (this.secCount > 2e3) {
588
- return {
589
- result: false,
590
- count: 0
591
- };
592
- }
593
- this.posCrossRef[this.secCount] = pos;
594
- if (this.subGraphs[pos].id === id) {
595
- return {
596
- result: true,
597
- count: 0
598
- };
599
- }
600
- let count = 0;
601
- let posCount = 1;
602
- while (count < nodes.length) {
603
- const childPos = this.getPosForId(nodes[count]);
604
- if (childPos >= 0) {
605
- const res = this.indexNodes2(id, childPos);
606
- if (res.result) {
607
- return {
608
- result: true,
609
- count: posCount + res.count
610
- };
611
- } else {
612
- posCount = posCount + res.count;
613
- }
614
- }
615
- count = count + 1;
616
- }
617
- return {
618
- result: false,
619
- count: posCount
620
- };
621
- }
622
- getDepthFirstPos(pos) {
623
- return this.posCrossRef[pos];
624
- }
625
- indexNodes() {
626
- this.secCount = -1;
627
- if (this.subGraphs.length > 0) {
628
- this.indexNodes2("none", this.subGraphs.length - 1);
629
- }
630
- }
631
- getSubGraphs() {
632
- return this.subGraphs;
633
- }
634
- firstGraph() {
635
- if (this.firstGraphFlag) {
636
- this.firstGraphFlag = false;
637
- return true;
638
- }
639
- return false;
640
- }
641
- destructStartLink(_str) {
642
- let str = _str.trim();
643
- let type = "arrow_open";
644
- switch (str[0]) {
645
- case "<":
646
- type = "arrow_point";
647
- str = str.slice(1);
648
- break;
649
- case "x":
650
- type = "arrow_cross";
651
- str = str.slice(1);
652
- break;
653
- case "o":
654
- type = "arrow_circle";
655
- str = str.slice(1);
656
- break;
657
- }
658
- let stroke = "normal";
659
- if (str.includes("=")) {
660
- stroke = "thick";
661
- }
662
- if (str.includes(".")) {
663
- stroke = "dotted";
664
- }
665
- return { type, stroke };
666
- }
667
- countChar(char, str) {
668
- const length = str.length;
669
- let count = 0;
670
- for (let i = 0; i < length; ++i) {
671
- if (str[i] === char) {
672
- ++count;
673
- }
674
- }
675
- return count;
676
- }
677
- destructEndLink(_str) {
678
- const str = _str.trim();
679
- let line = str.slice(0, -1);
680
- let type = "arrow_open";
681
- switch (str.slice(-1)) {
682
- case "x":
683
- type = "arrow_cross";
684
- if (str.startsWith("x")) {
685
- type = "double_" + type;
686
- line = line.slice(1);
687
- }
688
- break;
689
- case ">":
690
- type = "arrow_point";
691
- if (str.startsWith("<")) {
692
- type = "double_" + type;
693
- line = line.slice(1);
694
- }
695
- break;
696
- case "o":
697
- type = "arrow_circle";
698
- if (str.startsWith("o")) {
699
- type = "double_" + type;
700
- line = line.slice(1);
701
- }
702
- break;
703
- }
704
- let stroke = "normal";
705
- let length = line.length - 1;
706
- if (line.startsWith("=")) {
707
- stroke = "thick";
708
- }
709
- if (line.startsWith("~")) {
710
- stroke = "invisible";
711
- }
712
- const dots = this.countChar(".", line);
713
- if (dots) {
714
- stroke = "dotted";
715
- length = dots;
716
- }
717
- return { type, stroke, length };
718
- }
719
- destructLink(_str, _startStr) {
720
- const info = this.destructEndLink(_str);
721
- let startInfo;
722
- if (_startStr) {
723
- startInfo = this.destructStartLink(_startStr);
724
- if (startInfo.stroke !== info.stroke) {
725
- return { type: "INVALID", stroke: "INVALID" };
726
- }
727
- if (startInfo.type === "arrow_open") {
728
- startInfo.type = info.type;
729
- } else {
730
- if (startInfo.type !== info.type) {
731
- return { type: "INVALID", stroke: "INVALID" };
732
- }
733
- startInfo.type = "double_" + startInfo.type;
734
- }
735
- if (startInfo.type === "double_arrow") {
736
- startInfo.type = "double_arrow_point";
737
- }
738
- startInfo.length = info.length;
739
- return startInfo;
740
- }
741
- return info;
742
- }
743
- // Todo optimizer this by caching existing nodes
744
- exists(allSgs, _id) {
745
- for (const sg of allSgs) {
746
- if (sg.nodes.includes(_id)) {
747
- return true;
748
- }
749
- }
750
- return false;
751
- }
752
- /**
753
- * Deletes an id from all subgraphs
754
- *
755
- */
756
- makeUniq(sg, allSubgraphs) {
757
- const res = [];
758
- sg.nodes.forEach((_id, pos) => {
759
- if (!this.exists(allSubgraphs, _id)) {
760
- res.push(sg.nodes[pos]);
761
- }
762
- });
763
- return { nodes: res };
764
- }
765
- getTypeFromVertex(vertex) {
766
- if (vertex.img) {
767
- return "imageSquare";
768
- }
769
- if (vertex.icon) {
770
- if (vertex.form === "circle") {
771
- return "iconCircle";
772
- }
773
- if (vertex.form === "square") {
774
- return "iconSquare";
775
- }
776
- if (vertex.form === "rounded") {
777
- return "iconRounded";
778
- }
779
- return "icon";
780
- }
781
- switch (vertex.type) {
782
- case "square":
783
- case void 0:
784
- return "squareRect";
785
- case "round":
786
- return "roundedRect";
787
- case "ellipse":
788
- return "ellipse";
789
- default:
790
- return vertex.type;
791
- }
792
- }
793
- findNode(nodes, id) {
794
- return nodes.find((node) => node.id === id);
795
- }
796
- destructEdgeType(type) {
797
- let arrowTypeStart = "none";
798
- let arrowTypeEnd = "arrow_point";
799
- switch (type) {
800
- case "arrow_point":
801
- case "arrow_circle":
802
- case "arrow_cross":
803
- arrowTypeEnd = type;
804
- break;
805
- case "double_arrow_point":
806
- case "double_arrow_circle":
807
- case "double_arrow_cross":
808
- arrowTypeStart = type.replace("double_", "");
809
- arrowTypeEnd = arrowTypeStart;
810
- break;
811
- }
812
- return { arrowTypeStart, arrowTypeEnd };
813
- }
814
- addNodeFromVertex(vertex, nodes, parentDB, subGraphDB, config, look) {
815
- var _a2;
816
- const parentId = parentDB.get(vertex.id);
817
- const isGroup = subGraphDB.get(vertex.id) ?? false;
818
- const node = this.findNode(nodes, vertex.id);
819
- if (node) {
820
- node.cssStyles = vertex.styles;
821
- node.cssCompiledStyles = this.getCompiledStyles(vertex.classes);
822
- node.cssClasses = vertex.classes.join(" ");
823
- } else {
824
- const baseNode = {
825
- id: vertex.id,
826
- label: vertex.text,
827
- labelStyle: "",
828
- parentId,
829
- padding: ((_a2 = config.flowchart) == null ? void 0 : _a2.padding) || 8,
830
- cssStyles: vertex.styles,
831
- cssCompiledStyles: this.getCompiledStyles(["default", "node", ...vertex.classes]),
832
- cssClasses: "default " + vertex.classes.join(" "),
833
- dir: vertex.dir,
834
- domId: vertex.domId,
835
- look,
836
- link: vertex.link,
837
- linkTarget: vertex.linkTarget,
838
- tooltip: this.getTooltip(vertex.id),
839
- icon: vertex.icon,
840
- pos: vertex.pos,
841
- img: vertex.img,
842
- assetWidth: vertex.assetWidth,
843
- assetHeight: vertex.assetHeight,
844
- constraint: vertex.constraint
845
- };
846
- if (isGroup) {
847
- nodes.push({
848
- ...baseNode,
849
- isGroup: true,
850
- shape: "rect"
851
- });
852
- } else {
853
- nodes.push({
854
- ...baseNode,
855
- isGroup: false,
856
- shape: this.getTypeFromVertex(vertex)
857
- });
858
- }
859
- }
860
- }
861
- getCompiledStyles(classDefs) {
862
- let compiledStyles = [];
863
- for (const customClass of classDefs) {
864
- const cssClass = this.classes.get(customClass);
865
- if (cssClass == null ? void 0 : cssClass.styles) {
866
- compiledStyles = [...compiledStyles, ...cssClass.styles ?? []].map((s) => s.trim());
867
- }
868
- if (cssClass == null ? void 0 : cssClass.textStyles) {
869
- compiledStyles = [...compiledStyles, ...cssClass.textStyles ?? []].map((s) => s.trim());
870
- }
871
- }
872
- return compiledStyles;
873
- }
874
- getData() {
875
- const config = getConfig2();
876
- const nodes = [];
877
- const edges = [];
878
- const subGraphs = this.getSubGraphs();
879
- const parentDB = /* @__PURE__ */ new Map();
880
- const subGraphDB = /* @__PURE__ */ new Map();
881
- for (let i = subGraphs.length - 1; i >= 0; i--) {
882
- const subGraph = subGraphs[i];
883
- if (subGraph.nodes.length > 0) {
884
- subGraphDB.set(subGraph.id, true);
885
- }
886
- for (const id of subGraph.nodes) {
887
- parentDB.set(id, subGraph.id);
888
- }
889
- }
890
- for (let i = subGraphs.length - 1; i >= 0; i--) {
891
- const subGraph = subGraphs[i];
892
- nodes.push({
893
- id: subGraph.id,
894
- label: subGraph.title,
895
- labelStyle: "",
896
- parentId: parentDB.get(subGraph.id),
897
- padding: 8,
898
- cssCompiledStyles: this.getCompiledStyles(subGraph.classes),
899
- cssClasses: subGraph.classes.join(" "),
900
- shape: "rect",
901
- dir: subGraph.dir,
902
- isGroup: true,
903
- look: config.look
904
- });
905
- }
906
- const n = this.getVertices();
907
- n.forEach((vertex) => {
908
- this.addNodeFromVertex(vertex, nodes, parentDB, subGraphDB, config, config.look || "classic");
909
- });
910
- const e = this.getEdges();
911
- e.forEach((rawEdge, index) => {
912
- var _a2;
913
- const { arrowTypeStart, arrowTypeEnd } = this.destructEdgeType(rawEdge.type);
914
- const styles = [...e.defaultStyle ?? []];
915
- if (rawEdge.style) {
916
- styles.push(...rawEdge.style);
917
- }
918
- const edge = {
919
- id: getEdgeId(rawEdge.start, rawEdge.end, { counter: index, prefix: "L" }, rawEdge.id),
920
- isUserDefinedId: rawEdge.isUserDefinedId,
921
- start: rawEdge.start,
922
- end: rawEdge.end,
923
- type: rawEdge.type ?? "normal",
924
- label: rawEdge.text,
925
- labelpos: "c",
926
- thickness: rawEdge.stroke,
927
- minlen: rawEdge.length,
928
- classes: (rawEdge == null ? void 0 : rawEdge.stroke) === "invisible" ? "" : "edge-thickness-normal edge-pattern-solid flowchart-link",
929
- arrowTypeStart: (rawEdge == null ? void 0 : rawEdge.stroke) === "invisible" || (rawEdge == null ? void 0 : rawEdge.type) === "arrow_open" ? "none" : arrowTypeStart,
930
- arrowTypeEnd: (rawEdge == null ? void 0 : rawEdge.stroke) === "invisible" || (rawEdge == null ? void 0 : rawEdge.type) === "arrow_open" ? "none" : arrowTypeEnd,
931
- arrowheadStyle: "fill: #333",
932
- cssCompiledStyles: this.getCompiledStyles(rawEdge.classes),
933
- labelStyle: styles,
934
- style: styles,
935
- pattern: rawEdge.stroke,
936
- look: config.look,
937
- animate: rawEdge.animate,
938
- animation: rawEdge.animation,
939
- curve: rawEdge.interpolate || this.edges.defaultInterpolate || ((_a2 = config.flowchart) == null ? void 0 : _a2.curve)
940
- };
941
- edges.push(edge);
942
- });
943
- return { nodes, edges, other: {}, config };
944
- }
945
- defaultConfig() {
946
- return defaultConfig2.flowchart;
947
- }
948
- }, __name(_a, "FlowDB"), _a);
949
- var getClasses = /* @__PURE__ */ __name(function(text, diagramObj) {
950
- return diagramObj.db.getClasses();
951
- }, "getClasses");
952
- var draw = /* @__PURE__ */ __name(async function(text, id, _version, diag) {
953
- var _a2;
954
- log.info("REF0:");
955
- log.info("Drawing state diagram (v2)", id);
956
- const { securityLevel, flowchart: conf, layout } = getConfig2();
957
- let sandboxElement;
958
- if (securityLevel === "sandbox") {
959
- sandboxElement = select("#i" + id);
960
- }
961
- const doc = securityLevel === "sandbox" ? sandboxElement.nodes()[0].contentDocument : document;
962
- log.debug("Before getData: ");
963
- const data4Layout = diag.db.getData();
964
- log.debug("Data: ", data4Layout);
965
- const svg = getDiagramElement(id, securityLevel);
966
- const direction = diag.db.getDirection();
967
- data4Layout.type = diag.type;
968
- data4Layout.layoutAlgorithm = getRegisteredLayoutAlgorithm(layout);
969
- if (data4Layout.layoutAlgorithm === "dagre" && layout === "elk") {
970
- log.warn(
971
- "flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."
972
- );
973
- }
974
- data4Layout.direction = direction;
975
- data4Layout.nodeSpacing = (conf == null ? void 0 : conf.nodeSpacing) || 50;
976
- data4Layout.rankSpacing = (conf == null ? void 0 : conf.rankSpacing) || 50;
977
- data4Layout.markers = ["point", "circle", "cross"];
978
- data4Layout.diagramId = id;
979
- log.debug("REF1:", data4Layout);
980
- await render(data4Layout, svg);
981
- const padding = ((_a2 = data4Layout.config.flowchart) == null ? void 0 : _a2.diagramPadding) ?? 8;
982
- utils_default.insertTitle(
983
- svg,
984
- "flowchartTitleText",
985
- (conf == null ? void 0 : conf.titleTopMargin) || 0,
986
- diag.db.getDiagramTitle()
987
- );
988
- setupViewPortForSVG(svg, padding, "flowchart", (conf == null ? void 0 : conf.useMaxWidth) || false);
989
- for (const vertex of data4Layout.nodes) {
990
- const node = select(`#${id} [id="${vertex.id}"]`);
991
- if (!node || !vertex.link) {
992
- continue;
993
- }
994
- const link = doc.createElementNS("http://www.w3.org/2000/svg", "a");
995
- link.setAttributeNS("http://www.w3.org/2000/svg", "class", vertex.cssClasses);
996
- link.setAttributeNS("http://www.w3.org/2000/svg", "rel", "noopener");
997
- if (securityLevel === "sandbox") {
998
- link.setAttributeNS("http://www.w3.org/2000/svg", "target", "_top");
999
- } else if (vertex.linkTarget) {
1000
- link.setAttributeNS("http://www.w3.org/2000/svg", "target", vertex.linkTarget);
1001
- }
1002
- const linkNode = node.insert(function() {
1003
- return link;
1004
- }, ":first-child");
1005
- const shape = node.select(".label-container");
1006
- if (shape) {
1007
- linkNode.append(function() {
1008
- return shape.node();
1009
- });
1010
- }
1011
- const label = node.select(".label");
1012
- if (label) {
1013
- linkNode.append(function() {
1014
- return label.node();
1015
- });
1016
- }
1017
- }
1018
- }, "draw");
1019
- var flowRenderer_v3_unified_default = {
1020
- getClasses,
1021
- draw
1022
- };
1023
- var parser = function() {
1024
- var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
1025
- for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
1026
- return o2;
1027
- }, "o"), $V0 = [1, 4], $V1 = [1, 3], $V2 = [1, 5], $V3 = [1, 8, 9, 10, 11, 27, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124], $V4 = [2, 2], $V5 = [1, 13], $V6 = [1, 14], $V7 = [1, 15], $V8 = [1, 16], $V9 = [1, 23], $Va = [1, 25], $Vb = [1, 26], $Vc = [1, 27], $Vd = [1, 49], $Ve = [1, 48], $Vf = [1, 29], $Vg = [1, 30], $Vh = [1, 31], $Vi = [1, 32], $Vj = [1, 33], $Vk = [1, 44], $Vl = [1, 46], $Vm = [1, 42], $Vn = [1, 47], $Vo = [1, 43], $Vp = [1, 50], $Vq = [1, 45], $Vr = [1, 51], $Vs = [1, 52], $Vt = [1, 34], $Vu = [1, 35], $Vv = [1, 36], $Vw = [1, 37], $Vx = [1, 57], $Vy = [1, 8, 9, 10, 11, 27, 32, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124], $Vz = [1, 61], $VA = [1, 60], $VB = [1, 62], $VC = [8, 9, 11, 75, 77, 78], $VD = [1, 78], $VE = [1, 91], $VF = [1, 96], $VG = [1, 95], $VH = [1, 92], $VI = [1, 88], $VJ = [1, 94], $VK = [1, 90], $VL = [1, 97], $VM = [1, 93], $VN = [1, 98], $VO = [1, 89], $VP = [8, 9, 10, 11, 40, 75, 77, 78], $VQ = [8, 9, 10, 11, 40, 46, 75, 77, 78], $VR = [8, 9, 10, 11, 29, 40, 44, 46, 48, 50, 52, 54, 56, 58, 60, 63, 65, 67, 68, 70, 75, 77, 78, 89, 102, 105, 106, 109, 111, 114, 115, 116], $VS = [8, 9, 11, 44, 60, 75, 77, 78, 89, 102, 105, 106, 109, 111, 114, 115, 116], $VT = [44, 60, 89, 102, 105, 106, 109, 111, 114, 115, 116], $VU = [1, 121], $VV = [1, 122], $VW = [1, 124], $VX = [1, 123], $VY = [44, 60, 62, 74, 89, 102, 105, 106, 109, 111, 114, 115, 116], $VZ = [1, 133], $V_ = [1, 147], $V$ = [1, 148], $V01 = [1, 149], $V11 = [1, 150], $V21 = [1, 135], $V31 = [1, 137], $V41 = [1, 141], $V51 = [1, 142], $V61 = [1, 143], $V71 = [1, 144], $V81 = [1, 145], $V91 = [1, 146], $Va1 = [1, 151], $Vb1 = [1, 152], $Vc1 = [1, 131], $Vd1 = [1, 132], $Ve1 = [1, 139], $Vf1 = [1, 134], $Vg1 = [1, 138], $Vh1 = [1, 136], $Vi1 = [8, 9, 10, 11, 27, 32, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124], $Vj1 = [1, 154], $Vk1 = [1, 156], $Vl1 = [8, 9, 11], $Vm1 = [8, 9, 10, 11, 14, 44, 60, 89, 105, 106, 109, 111, 114, 115, 116], $Vn1 = [1, 176], $Vo1 = [1, 172], $Vp1 = [1, 173], $Vq1 = [1, 177], $Vr1 = [1, 174], $Vs1 = [1, 175], $Vt1 = [77, 116, 119], $Vu1 = [8, 9, 10, 11, 12, 14, 27, 29, 32, 44, 60, 75, 84, 85, 86, 87, 88, 89, 90, 105, 109, 111, 114, 115, 116], $Vv1 = [10, 106], $Vw1 = [31, 49, 51, 53, 55, 57, 62, 64, 66, 67, 69, 71, 116, 117, 118], $Vx1 = [1, 247], $Vy1 = [1, 245], $Vz1 = [1, 249], $VA1 = [1, 243], $VB1 = [1, 244], $VC1 = [1, 246], $VD1 = [1, 248], $VE1 = [1, 250], $VF1 = [1, 268], $VG1 = [8, 9, 11, 106], $VH1 = [8, 9, 10, 11, 60, 84, 105, 106, 109, 110, 111, 112];
1028
- var parser2 = {
1029
- trace: /* @__PURE__ */ __name(function trace() {
1030
- }, "trace"),
1031
- yy: {},
1032
- symbols_: { "error": 2, "start": 3, "graphConfig": 4, "document": 5, "line": 6, "statement": 7, "SEMI": 8, "NEWLINE": 9, "SPACE": 10, "EOF": 11, "GRAPH": 12, "NODIR": 13, "DIR": 14, "FirstStmtSeparator": 15, "ending": 16, "endToken": 17, "spaceList": 18, "spaceListNewline": 19, "vertexStatement": 20, "separator": 21, "styleStatement": 22, "linkStyleStatement": 23, "classDefStatement": 24, "classStatement": 25, "clickStatement": 26, "subgraph": 27, "textNoTags": 28, "SQS": 29, "text": 30, "SQE": 31, "end": 32, "direction": 33, "acc_title": 34, "acc_title_value": 35, "acc_descr": 36, "acc_descr_value": 37, "acc_descr_multiline_value": 38, "shapeData": 39, "SHAPE_DATA": 40, "link": 41, "node": 42, "styledVertex": 43, "AMP": 44, "vertex": 45, "STYLE_SEPARATOR": 46, "idString": 47, "DOUBLECIRCLESTART": 48, "DOUBLECIRCLEEND": 49, "PS": 50, "PE": 51, "(-": 52, "-)": 53, "STADIUMSTART": 54, "STADIUMEND": 55, "SUBROUTINESTART": 56, "SUBROUTINEEND": 57, "VERTEX_WITH_PROPS_START": 58, "NODE_STRING[field]": 59, "COLON": 60, "NODE_STRING[value]": 61, "PIPE": 62, "CYLINDERSTART": 63, "CYLINDEREND": 64, "DIAMOND_START": 65, "DIAMOND_STOP": 66, "TAGEND": 67, "TRAPSTART": 68, "TRAPEND": 69, "INVTRAPSTART": 70, "INVTRAPEND": 71, "linkStatement": 72, "arrowText": 73, "TESTSTR": 74, "START_LINK": 75, "edgeText": 76, "LINK": 77, "LINK_ID": 78, "edgeTextToken": 79, "STR": 80, "MD_STR": 81, "textToken": 82, "keywords": 83, "STYLE": 84, "LINKSTYLE": 85, "CLASSDEF": 86, "CLASS": 87, "CLICK": 88, "DOWN": 89, "UP": 90, "textNoTagsToken": 91, "stylesOpt": 92, "idString[vertex]": 93, "idString[class]": 94, "CALLBACKNAME": 95, "CALLBACKARGS": 96, "HREF": 97, "LINK_TARGET": 98, "STR[link]": 99, "STR[tooltip]": 100, "alphaNum": 101, "DEFAULT": 102, "numList": 103, "INTERPOLATE": 104, "NUM": 105, "COMMA": 106, "style": 107, "styleComponent": 108, "NODE_STRING": 109, "UNIT": 110, "BRKT": 111, "PCT": 112, "idStringToken": 113, "MINUS": 114, "MULT": 115, "UNICODE_TEXT": 116, "TEXT": 117, "TAGSTART": 118, "EDGE_TEXT": 119, "alphaNumToken": 120, "direction_tb": 121, "direction_bt": 122, "direction_rl": 123, "direction_lr": 124, "$accept": 0, "$end": 1 },
1033
- terminals_: { 2: "error", 8: "SEMI", 9: "NEWLINE", 10: "SPACE", 11: "EOF", 12: "GRAPH", 13: "NODIR", 14: "DIR", 27: "subgraph", 29: "SQS", 31: "SQE", 32: "end", 34: "acc_title", 35: "acc_title_value", 36: "acc_descr", 37: "acc_descr_value", 38: "acc_descr_multiline_value", 40: "SHAPE_DATA", 44: "AMP", 46: "STYLE_SEPARATOR", 48: "DOUBLECIRCLESTART", 49: "DOUBLECIRCLEEND", 50: "PS", 51: "PE", 52: "(-", 53: "-)", 54: "STADIUMSTART", 55: "STADIUMEND", 56: "SUBROUTINESTART", 57: "SUBROUTINEEND", 58: "VERTEX_WITH_PROPS_START", 59: "NODE_STRING[field]", 60: "COLON", 61: "NODE_STRING[value]", 62: "PIPE", 63: "CYLINDERSTART", 64: "CYLINDEREND", 65: "DIAMOND_START", 66: "DIAMOND_STOP", 67: "TAGEND", 68: "TRAPSTART", 69: "TRAPEND", 70: "INVTRAPSTART", 71: "INVTRAPEND", 74: "TESTSTR", 75: "START_LINK", 77: "LINK", 78: "LINK_ID", 80: "STR", 81: "MD_STR", 84: "STYLE", 85: "LINKSTYLE", 86: "CLASSDEF", 87: "CLASS", 88: "CLICK", 89: "DOWN", 90: "UP", 93: "idString[vertex]", 94: "idString[class]", 95: "CALLBACKNAME", 96: "CALLBACKARGS", 97: "HREF", 98: "LINK_TARGET", 99: "STR[link]", 100: "STR[tooltip]", 102: "DEFAULT", 104: "INTERPOLATE", 105: "NUM", 106: "COMMA", 109: "NODE_STRING", 110: "UNIT", 111: "BRKT", 112: "PCT", 114: "MINUS", 115: "MULT", 116: "UNICODE_TEXT", 117: "TEXT", 118: "TAGSTART", 119: "EDGE_TEXT", 121: "direction_tb", 122: "direction_bt", 123: "direction_rl", 124: "direction_lr" },
1034
- productions_: [0, [3, 2], [5, 0], [5, 2], [6, 1], [6, 1], [6, 1], [6, 1], [6, 1], [4, 2], [4, 2], [4, 2], [4, 3], [16, 2], [16, 1], [17, 1], [17, 1], [17, 1], [15, 1], [15, 1], [15, 2], [19, 2], [19, 2], [19, 1], [19, 1], [18, 2], [18, 1], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 9], [7, 6], [7, 4], [7, 1], [7, 2], [7, 2], [7, 1], [21, 1], [21, 1], [21, 1], [39, 2], [39, 1], [20, 4], [20, 3], [20, 4], [20, 2], [20, 2], [20, 1], [42, 1], [42, 6], [42, 5], [43, 1], [43, 3], [45, 4], [45, 4], [45, 6], [45, 4], [45, 4], [45, 4], [45, 8], [45, 4], [45, 4], [45, 4], [45, 6], [45, 4], [45, 4], [45, 4], [45, 4], [45, 4], [45, 1], [41, 2], [41, 3], [41, 3], [41, 1], [41, 3], [41, 4], [76, 1], [76, 2], [76, 1], [76, 1], [72, 1], [72, 2], [73, 3], [30, 1], [30, 2], [30, 1], [30, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [28, 1], [28, 2], [28, 1], [28, 1], [24, 5], [25, 5], [26, 2], [26, 4], [26, 3], [26, 5], [26, 3], [26, 5], [26, 5], [26, 7], [26, 2], [26, 4], [26, 2], [26, 4], [26, 4], [26, 6], [22, 5], [23, 5], [23, 5], [23, 9], [23, 9], [23, 7], [23, 7], [103, 1], [103, 3], [92, 1], [92, 3], [107, 1], [107, 2], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [82, 1], [82, 1], [82, 1], [82, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [79, 1], [79, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [47, 1], [47, 2], [101, 1], [101, 2], [33, 1], [33, 1], [33, 1], [33, 1]],
1035
- performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
1036
- var $0 = $$.length - 1;
1037
- switch (yystate) {
1038
- case 2:
1039
- this.$ = [];
1040
- break;
1041
- case 3:
1042
- if (!Array.isArray($$[$0]) || $$[$0].length > 0) {
1043
- $$[$0 - 1].push($$[$0]);
1044
- }
1045
- this.$ = $$[$0 - 1];
1046
- break;
1047
- case 4:
1048
- case 183:
1049
- this.$ = $$[$0];
1050
- break;
1051
- case 11:
1052
- yy.setDirection("TB");
1053
- this.$ = "TB";
1054
- break;
1055
- case 12:
1056
- yy.setDirection($$[$0 - 1]);
1057
- this.$ = $$[$0 - 1];
1058
- break;
1059
- case 27:
1060
- this.$ = $$[$0 - 1].nodes;
1061
- break;
1062
- case 28:
1063
- case 29:
1064
- case 30:
1065
- case 31:
1066
- case 32:
1067
- this.$ = [];
1068
- break;
1069
- case 33:
1070
- this.$ = yy.addSubGraph($$[$0 - 6], $$[$0 - 1], $$[$0 - 4]);
1071
- break;
1072
- case 34:
1073
- this.$ = yy.addSubGraph($$[$0 - 3], $$[$0 - 1], $$[$0 - 3]);
1074
- break;
1075
- case 35:
1076
- this.$ = yy.addSubGraph(void 0, $$[$0 - 1], void 0);
1077
- break;
1078
- case 37:
1079
- this.$ = $$[$0].trim();
1080
- yy.setAccTitle(this.$);
1081
- break;
1082
- case 38:
1083
- case 39:
1084
- this.$ = $$[$0].trim();
1085
- yy.setAccDescription(this.$);
1086
- break;
1087
- case 43:
1088
- this.$ = $$[$0 - 1] + $$[$0];
1089
- break;
1090
- case 44:
1091
- this.$ = $$[$0];
1092
- break;
1093
- case 45:
1094
- yy.addVertex($$[$0 - 1][$$[$0 - 1].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, $$[$0]);
1095
- yy.addLink($$[$0 - 3].stmt, $$[$0 - 1], $$[$0 - 2]);
1096
- this.$ = { stmt: $$[$0 - 1], nodes: $$[$0 - 1].concat($$[$0 - 3].nodes) };
1097
- break;
1098
- case 46:
1099
- yy.addLink($$[$0 - 2].stmt, $$[$0], $$[$0 - 1]);
1100
- this.$ = { stmt: $$[$0], nodes: $$[$0].concat($$[$0 - 2].nodes) };
1101
- break;
1102
- case 47:
1103
- yy.addLink($$[$0 - 3].stmt, $$[$0 - 1], $$[$0 - 2]);
1104
- this.$ = { stmt: $$[$0 - 1], nodes: $$[$0 - 1].concat($$[$0 - 3].nodes) };
1105
- break;
1106
- case 48:
1107
- this.$ = { stmt: $$[$0 - 1], nodes: $$[$0 - 1] };
1108
- break;
1109
- case 49:
1110
- yy.addVertex($$[$0 - 1][$$[$0 - 1].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, $$[$0]);
1111
- this.$ = { stmt: $$[$0 - 1], nodes: $$[$0 - 1], shapeData: $$[$0] };
1112
- break;
1113
- case 50:
1114
- this.$ = { stmt: $$[$0], nodes: $$[$0] };
1115
- break;
1116
- case 51:
1117
- this.$ = [$$[$0]];
1118
- break;
1119
- case 52:
1120
- yy.addVertex($$[$0 - 5][$$[$0 - 5].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, $$[$0 - 4]);
1121
- this.$ = $$[$0 - 5].concat($$[$0]);
1122
- break;
1123
- case 53:
1124
- this.$ = $$[$0 - 4].concat($$[$0]);
1125
- break;
1126
- case 54:
1127
- this.$ = $$[$0];
1128
- break;
1129
- case 55:
1130
- this.$ = $$[$0 - 2];
1131
- yy.setClass($$[$0 - 2], $$[$0]);
1132
- break;
1133
- case 56:
1134
- this.$ = $$[$0 - 3];
1135
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "square");
1136
- break;
1137
- case 57:
1138
- this.$ = $$[$0 - 3];
1139
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "doublecircle");
1140
- break;
1141
- case 58:
1142
- this.$ = $$[$0 - 5];
1143
- yy.addVertex($$[$0 - 5], $$[$0 - 2], "circle");
1144
- break;
1145
- case 59:
1146
- this.$ = $$[$0 - 3];
1147
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "ellipse");
1148
- break;
1149
- case 60:
1150
- this.$ = $$[$0 - 3];
1151
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "stadium");
1152
- break;
1153
- case 61:
1154
- this.$ = $$[$0 - 3];
1155
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "subroutine");
1156
- break;
1157
- case 62:
1158
- this.$ = $$[$0 - 7];
1159
- yy.addVertex($$[$0 - 7], $$[$0 - 1], "rect", void 0, void 0, void 0, Object.fromEntries([[$$[$0 - 5], $$[$0 - 3]]]));
1160
- break;
1161
- case 63:
1162
- this.$ = $$[$0 - 3];
1163
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "cylinder");
1164
- break;
1165
- case 64:
1166
- this.$ = $$[$0 - 3];
1167
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "round");
1168
- break;
1169
- case 65:
1170
- this.$ = $$[$0 - 3];
1171
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "diamond");
1172
- break;
1173
- case 66:
1174
- this.$ = $$[$0 - 5];
1175
- yy.addVertex($$[$0 - 5], $$[$0 - 2], "hexagon");
1176
- break;
1177
- case 67:
1178
- this.$ = $$[$0 - 3];
1179
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "odd");
1180
- break;
1181
- case 68:
1182
- this.$ = $$[$0 - 3];
1183
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "trapezoid");
1184
- break;
1185
- case 69:
1186
- this.$ = $$[$0 - 3];
1187
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "inv_trapezoid");
1188
- break;
1189
- case 70:
1190
- this.$ = $$[$0 - 3];
1191
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "lean_right");
1192
- break;
1193
- case 71:
1194
- this.$ = $$[$0 - 3];
1195
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "lean_left");
1196
- break;
1197
- case 72:
1198
- this.$ = $$[$0];
1199
- yy.addVertex($$[$0]);
1200
- break;
1201
- case 73:
1202
- $$[$0 - 1].text = $$[$0];
1203
- this.$ = $$[$0 - 1];
1204
- break;
1205
- case 74:
1206
- case 75:
1207
- $$[$0 - 2].text = $$[$0 - 1];
1208
- this.$ = $$[$0 - 2];
1209
- break;
1210
- case 76:
1211
- this.$ = $$[$0];
1212
- break;
1213
- case 77:
1214
- var inf = yy.destructLink($$[$0], $$[$0 - 2]);
1215
- this.$ = { "type": inf.type, "stroke": inf.stroke, "length": inf.length, "text": $$[$0 - 1] };
1216
- break;
1217
- case 78:
1218
- var inf = yy.destructLink($$[$0], $$[$0 - 2]);
1219
- this.$ = { "type": inf.type, "stroke": inf.stroke, "length": inf.length, "text": $$[$0 - 1], "id": $$[$0 - 3] };
1220
- break;
1221
- case 79:
1222
- this.$ = { text: $$[$0], type: "text" };
1223
- break;
1224
- case 80:
1225
- this.$ = { text: $$[$0 - 1].text + "" + $$[$0], type: $$[$0 - 1].type };
1226
- break;
1227
- case 81:
1228
- this.$ = { text: $$[$0], type: "string" };
1229
- break;
1230
- case 82:
1231
- this.$ = { text: $$[$0], type: "markdown" };
1232
- break;
1233
- case 83:
1234
- var inf = yy.destructLink($$[$0]);
1235
- this.$ = { "type": inf.type, "stroke": inf.stroke, "length": inf.length };
1236
- break;
1237
- case 84:
1238
- var inf = yy.destructLink($$[$0]);
1239
- this.$ = { "type": inf.type, "stroke": inf.stroke, "length": inf.length, "id": $$[$0 - 1] };
1240
- break;
1241
- case 85:
1242
- this.$ = $$[$0 - 1];
1243
- break;
1244
- case 86:
1245
- this.$ = { text: $$[$0], type: "text" };
1246
- break;
1247
- case 87:
1248
- this.$ = { text: $$[$0 - 1].text + "" + $$[$0], type: $$[$0 - 1].type };
1249
- break;
1250
- case 88:
1251
- this.$ = { text: $$[$0], type: "string" };
1252
- break;
1253
- case 89:
1254
- case 104:
1255
- this.$ = { text: $$[$0], type: "markdown" };
1256
- break;
1257
- case 101:
1258
- this.$ = { text: $$[$0], type: "text" };
1259
- break;
1260
- case 102:
1261
- this.$ = { text: $$[$0 - 1].text + "" + $$[$0], type: $$[$0 - 1].type };
1262
- break;
1263
- case 103:
1264
- this.$ = { text: $$[$0], type: "text" };
1265
- break;
1266
- case 105:
1267
- this.$ = $$[$0 - 4];
1268
- yy.addClass($$[$0 - 2], $$[$0]);
1269
- break;
1270
- case 106:
1271
- this.$ = $$[$0 - 4];
1272
- yy.setClass($$[$0 - 2], $$[$0]);
1273
- break;
1274
- case 107:
1275
- case 115:
1276
- this.$ = $$[$0 - 1];
1277
- yy.setClickEvent($$[$0 - 1], $$[$0]);
1278
- break;
1279
- case 108:
1280
- case 116:
1281
- this.$ = $$[$0 - 3];
1282
- yy.setClickEvent($$[$0 - 3], $$[$0 - 2]);
1283
- yy.setTooltip($$[$0 - 3], $$[$0]);
1284
- break;
1285
- case 109:
1286
- this.$ = $$[$0 - 2];
1287
- yy.setClickEvent($$[$0 - 2], $$[$0 - 1], $$[$0]);
1288
- break;
1289
- case 110:
1290
- this.$ = $$[$0 - 4];
1291
- yy.setClickEvent($$[$0 - 4], $$[$0 - 3], $$[$0 - 2]);
1292
- yy.setTooltip($$[$0 - 4], $$[$0]);
1293
- break;
1294
- case 111:
1295
- this.$ = $$[$0 - 2];
1296
- yy.setLink($$[$0 - 2], $$[$0]);
1297
- break;
1298
- case 112:
1299
- this.$ = $$[$0 - 4];
1300
- yy.setLink($$[$0 - 4], $$[$0 - 2]);
1301
- yy.setTooltip($$[$0 - 4], $$[$0]);
1302
- break;
1303
- case 113:
1304
- this.$ = $$[$0 - 4];
1305
- yy.setLink($$[$0 - 4], $$[$0 - 2], $$[$0]);
1306
- break;
1307
- case 114:
1308
- this.$ = $$[$0 - 6];
1309
- yy.setLink($$[$0 - 6], $$[$0 - 4], $$[$0]);
1310
- yy.setTooltip($$[$0 - 6], $$[$0 - 2]);
1311
- break;
1312
- case 117:
1313
- this.$ = $$[$0 - 1];
1314
- yy.setLink($$[$0 - 1], $$[$0]);
1315
- break;
1316
- case 118:
1317
- this.$ = $$[$0 - 3];
1318
- yy.setLink($$[$0 - 3], $$[$0 - 2]);
1319
- yy.setTooltip($$[$0 - 3], $$[$0]);
1320
- break;
1321
- case 119:
1322
- this.$ = $$[$0 - 3];
1323
- yy.setLink($$[$0 - 3], $$[$0 - 2], $$[$0]);
1324
- break;
1325
- case 120:
1326
- this.$ = $$[$0 - 5];
1327
- yy.setLink($$[$0 - 5], $$[$0 - 4], $$[$0]);
1328
- yy.setTooltip($$[$0 - 5], $$[$0 - 2]);
1329
- break;
1330
- case 121:
1331
- this.$ = $$[$0 - 4];
1332
- yy.addVertex($$[$0 - 2], void 0, void 0, $$[$0]);
1333
- break;
1334
- case 122:
1335
- this.$ = $$[$0 - 4];
1336
- yy.updateLink([$$[$0 - 2]], $$[$0]);
1337
- break;
1338
- case 123:
1339
- this.$ = $$[$0 - 4];
1340
- yy.updateLink($$[$0 - 2], $$[$0]);
1341
- break;
1342
- case 124:
1343
- this.$ = $$[$0 - 8];
1344
- yy.updateLinkInterpolate([$$[$0 - 6]], $$[$0 - 2]);
1345
- yy.updateLink([$$[$0 - 6]], $$[$0]);
1346
- break;
1347
- case 125:
1348
- this.$ = $$[$0 - 8];
1349
- yy.updateLinkInterpolate($$[$0 - 6], $$[$0 - 2]);
1350
- yy.updateLink($$[$0 - 6], $$[$0]);
1351
- break;
1352
- case 126:
1353
- this.$ = $$[$0 - 6];
1354
- yy.updateLinkInterpolate([$$[$0 - 4]], $$[$0]);
1355
- break;
1356
- case 127:
1357
- this.$ = $$[$0 - 6];
1358
- yy.updateLinkInterpolate($$[$0 - 4], $$[$0]);
1359
- break;
1360
- case 128:
1361
- case 130:
1362
- this.$ = [$$[$0]];
1363
- break;
1364
- case 129:
1365
- case 131:
1366
- $$[$0 - 2].push($$[$0]);
1367
- this.$ = $$[$0 - 2];
1368
- break;
1369
- case 133:
1370
- this.$ = $$[$0 - 1] + $$[$0];
1371
- break;
1372
- case 181:
1373
- this.$ = $$[$0];
1374
- break;
1375
- case 182:
1376
- this.$ = $$[$0 - 1] + "" + $$[$0];
1377
- break;
1378
- case 184:
1379
- this.$ = $$[$0 - 1] + "" + $$[$0];
1380
- break;
1381
- case 185:
1382
- this.$ = { stmt: "dir", value: "TB" };
1383
- break;
1384
- case 186:
1385
- this.$ = { stmt: "dir", value: "BT" };
1386
- break;
1387
- case 187:
1388
- this.$ = { stmt: "dir", value: "RL" };
1389
- break;
1390
- case 188:
1391
- this.$ = { stmt: "dir", value: "LR" };
1392
- break;
1393
- }
1394
- }, "anonymous"),
1395
- table: [{ 3: 1, 4: 2, 9: $V0, 10: $V1, 12: $V2 }, { 1: [3] }, o($V3, $V4, { 5: 6 }), { 4: 7, 9: $V0, 10: $V1, 12: $V2 }, { 4: 8, 9: $V0, 10: $V1, 12: $V2 }, { 13: [1, 9], 14: [1, 10] }, { 1: [2, 1], 6: 11, 7: 12, 8: $V5, 9: $V6, 10: $V7, 11: $V8, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: $V9, 33: 24, 34: $Va, 36: $Vb, 38: $Vc, 42: 28, 43: 38, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 84: $Vf, 85: $Vg, 86: $Vh, 87: $Vi, 88: $Vj, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs, 121: $Vt, 122: $Vu, 123: $Vv, 124: $Vw }, o($V3, [2, 9]), o($V3, [2, 10]), o($V3, [2, 11]), { 8: [1, 54], 9: [1, 55], 10: $Vx, 15: 53, 18: 56 }, o($Vy, [2, 3]), o($Vy, [2, 4]), o($Vy, [2, 5]), o($Vy, [2, 6]), o($Vy, [2, 7]), o($Vy, [2, 8]), { 8: $Vz, 9: $VA, 11: $VB, 21: 58, 41: 59, 72: 63, 75: [1, 64], 77: [1, 66], 78: [1, 65] }, { 8: $Vz, 9: $VA, 11: $VB, 21: 67 }, { 8: $Vz, 9: $VA, 11: $VB, 21: 68 }, { 8: $Vz, 9: $VA, 11: $VB, 21: 69 }, { 8: $Vz, 9: $VA, 11: $VB, 21: 70 }, { 8: $Vz, 9: $VA, 11: $VB, 21: 71 }, { 8: $Vz, 9: $VA, 10: [1, 72], 11: $VB, 21: 73 }, o($Vy, [2, 36]), { 35: [1, 74] }, { 37: [1, 75] }, o($Vy, [2, 39]), o($VC, [2, 50], { 18: 76, 39: 77, 10: $Vx, 40: $VD }), { 10: [1, 79] }, { 10: [1, 80] }, { 10: [1, 81] }, { 10: [1, 82] }, { 14: $VE, 44: $VF, 60: $VG, 80: [1, 86], 89: $VH, 95: [1, 83], 97: [1, 84], 101: 85, 105: $VI, 106: $VJ, 109: $VK, 111: $VL, 114: $VM, 115: $VN, 116: $VO, 120: 87 }, o($Vy, [2, 185]), o($Vy, [2, 186]), o($Vy, [2, 187]), o($Vy, [2, 188]), o($VP, [2, 51]), o($VP, [2, 54], { 46: [1, 99] }), o($VQ, [2, 72], { 113: 112, 29: [1, 100], 44: $Vd, 48: [1, 101], 50: [1, 102], 52: [1, 103], 54: [1, 104], 56: [1, 105], 58: [1, 106], 60: $Ve, 63: [1, 107], 65: [1, 108], 67: [1, 109], 68: [1, 110], 70: [1, 111], 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 114: $Vq, 115: $Vr, 116: $Vs }), o($VR, [2, 181]), o($VR, [2, 142]), o($VR, [2, 143]), o($VR, [2, 144]), o($VR, [2, 145]), o($VR, [2, 146]), o($VR, [2, 147]), o($VR, [2, 148]), o($VR, [2, 149]), o($VR, [2, 150]), o($VR, [2, 151]), o($VR, [2, 152]), o($V3, [2, 12]), o($V3, [2, 18]), o($V3, [2, 19]), { 9: [1, 113] }, o($VS, [2, 26], { 18: 114, 10: $Vx }), o($Vy, [2, 27]), { 42: 115, 43: 38, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs }, o($Vy, [2, 40]), o($Vy, [2, 41]), o($Vy, [2, 42]), o($VT, [2, 76], { 73: 116, 62: [1, 118], 74: [1, 117] }), { 76: 119, 79: 120, 80: $VU, 81: $VV, 116: $VW, 119: $VX }, { 75: [1, 125], 77: [1, 126] }, o($VY, [2, 83]), o($Vy, [2, 28]), o($Vy, [2, 29]), o($Vy, [2, 30]), o($Vy, [2, 31]), o($Vy, [2, 32]), { 10: $VZ, 12: $V_, 14: $V$, 27: $V01, 28: 127, 32: $V11, 44: $V21, 60: $V31, 75: $V41, 80: [1, 129], 81: [1, 130], 83: 140, 84: $V51, 85: $V61, 86: $V71, 87: $V81, 88: $V91, 89: $Va1, 90: $Vb1, 91: 128, 105: $Vc1, 109: $Vd1, 111: $Ve1, 114: $Vf1, 115: $Vg1, 116: $Vh1 }, o($Vi1, $V4, { 5: 153 }), o($Vy, [2, 37]), o($Vy, [2, 38]), o($VC, [2, 48], { 44: $Vj1 }), o($VC, [2, 49], { 18: 155, 10: $Vx, 40: $Vk1 }), o($VP, [2, 44]), { 44: $Vd, 47: 157, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs }, { 102: [1, 158], 103: 159, 105: [1, 160] }, { 44: $Vd, 47: 161, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs }, { 44: $Vd, 47: 162, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs }, o($Vl1, [2, 107], { 10: [1, 163], 96: [1, 164] }), { 80: [1, 165] }, o($Vl1, [2, 115], { 120: 167, 10: [1, 166], 14: $VE, 44: $VF, 60: $VG, 89: $VH, 105: $VI, 106: $VJ, 109: $VK, 111: $VL, 114: $VM, 115: $VN, 116: $VO }), o($Vl1, [2, 117], { 10: [1, 168] }), o($Vm1, [2, 183]), o($Vm1, [2, 170]), o($Vm1, [2, 171]), o($Vm1, [2, 172]), o($Vm1, [2, 173]), o($Vm1, [2, 174]), o($Vm1, [2, 175]), o($Vm1, [2, 176]), o($Vm1, [2, 177]), o($Vm1, [2, 178]), o($Vm1, [2, 179]), o($Vm1, [2, 180]), { 44: $Vd, 47: 169, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs }, { 30: 170, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 178, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 180, 50: [1, 179], 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 181, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 182, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 183, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 109: [1, 184] }, { 30: 185, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 186, 65: [1, 187], 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 188, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 189, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 190, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, o($VR, [2, 182]), o($V3, [2, 20]), o($VS, [2, 25]), o($VC, [2, 46], { 39: 191, 18: 192, 10: $Vx, 40: $VD }), o($VT, [2, 73], { 10: [1, 193] }), { 10: [1, 194] }, { 30: 195, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 77: [1, 196], 79: 197, 116: $VW, 119: $VX }, o($Vt1, [2, 79]), o($Vt1, [2, 81]), o($Vt1, [2, 82]), o($Vt1, [2, 168]), o($Vt1, [2, 169]), { 76: 198, 79: 120, 80: $VU, 81: $VV, 116: $VW, 119: $VX }, o($VY, [2, 84]), { 8: $Vz, 9: $VA, 10: $VZ, 11: $VB, 12: $V_, 14: $V$, 21: 200, 27: $V01, 29: [1, 199], 32: $V11, 44: $V21, 60: $V31, 75: $V41, 83: 140, 84: $V51, 85: $V61, 86: $V71, 87: $V81, 88: $V91, 89: $Va1, 90: $Vb1, 91: 201, 105: $Vc1, 109: $Vd1, 111: $Ve1, 114: $Vf1, 115: $Vg1, 116: $Vh1 }, o($Vu1, [2, 101]), o($Vu1, [2, 103]), o($Vu1, [2, 104]), o($Vu1, [2, 157]), o($Vu1, [2, 158]), o($Vu1, [2, 159]), o($Vu1, [2, 160]), o($Vu1, [2, 161]), o($Vu1, [2, 162]), o($Vu1, [2, 163]), o($Vu1, [2, 164]), o($Vu1, [2, 165]), o($Vu1, [2, 166]), o($Vu1, [2, 167]), o($Vu1, [2, 90]), o($Vu1, [2, 91]), o($Vu1, [2, 92]), o($Vu1, [2, 93]), o($Vu1, [2, 94]), o($Vu1, [2, 95]), o($Vu1, [2, 96]), o($Vu1, [2, 97]), o($Vu1, [2, 98]), o($Vu1, [2, 99]), o($Vu1, [2, 100]), { 6: 11, 7: 12, 8: $V5, 9: $V6, 10: $V7, 11: $V8, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: $V9, 32: [1, 202], 33: 24, 34: $Va, 36: $Vb, 38: $Vc, 42: 28, 43: 38, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 84: $Vf, 85: $Vg, 86: $Vh, 87: $Vi, 88: $Vj, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs, 121: $Vt, 122: $Vu, 123: $Vv, 124: $Vw }, { 10: $Vx, 18: 203 }, { 44: [1, 204] }, o($VP, [2, 43]), { 10: [1, 205], 44: $Vd, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 112, 114: $Vq, 115: $Vr, 116: $Vs }, { 10: [1, 206] }, { 10: [1, 207], 106: [1, 208] }, o($Vv1, [2, 128]), { 10: [1, 209], 44: $Vd, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 112, 114: $Vq, 115: $Vr, 116: $Vs }, { 10: [1, 210], 44: $Vd, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 112, 114: $Vq, 115: $Vr, 116: $Vs }, { 80: [1, 211] }, o($Vl1, [2, 109], { 10: [1, 212] }), o($Vl1, [2, 111], { 10: [1, 213] }), { 80: [1, 214] }, o($Vm1, [2, 184]), { 80: [1, 215], 98: [1, 216] }, o($VP, [2, 55], { 113: 112, 44: $Vd, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 114: $Vq, 115: $Vr, 116: $Vs }), { 31: [1, 217], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, o($Vw1, [2, 86]), o($Vw1, [2, 88]), o($Vw1, [2, 89]), o($Vw1, [2, 153]), o($Vw1, [2, 154]), o($Vw1, [2, 155]), o($Vw1, [2, 156]), { 49: [1, 219], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 220, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 51: [1, 221], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 53: [1, 222], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 55: [1, 223], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 57: [1, 224], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 60: [1, 225] }, { 64: [1, 226], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 66: [1, 227], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 228, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 31: [1, 229], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 67: $Vn1, 69: [1, 230], 71: [1, 231], 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 67: $Vn1, 69: [1, 233], 71: [1, 232], 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, o($VC, [2, 45], { 18: 155, 10: $Vx, 40: $Vk1 }), o($VC, [2, 47], { 44: $Vj1 }), o($VT, [2, 75]), o($VT, [2, 74]), { 62: [1, 234], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, o($VT, [2, 77]), o($Vt1, [2, 80]), { 77: [1, 235], 79: 197, 116: $VW, 119: $VX }, { 30: 236, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, o($Vi1, $V4, { 5: 237 }), o($Vu1, [2, 102]), o($Vy, [2, 35]), { 43: 238, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs }, { 10: $Vx, 18: 239 }, { 10: $Vx1, 60: $Vy1, 84: $Vz1, 92: 240, 105: $VA1, 107: 241, 108: 242, 109: $VB1, 110: $VC1, 111: $VD1, 112: $VE1 }, { 10: $Vx1, 60: $Vy1, 84: $Vz1, 92: 251, 104: [1, 252], 105: $VA1, 107: 241, 108: 242, 109: $VB1, 110: $VC1, 111: $VD1, 112: $VE1 }, { 10: $Vx1, 60: $Vy1, 84: $Vz1, 92: 253, 104: [1, 254], 105: $VA1, 107: 241, 108: 242, 109: $VB1, 110: $VC1, 111: $VD1, 112: $VE1 }, { 105: [1, 255] }, { 10: $Vx1, 60: $Vy1, 84: $Vz1, 92: 256, 105: $VA1, 107: 241, 108: 242, 109: $VB1, 110: $VC1, 111: $VD1, 112: $VE1 }, { 44: $Vd, 47: 257, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs }, o($Vl1, [2, 108]), { 80: [1, 258] }, { 80: [1, 259], 98: [1, 260] }, o($Vl1, [2, 116]), o($Vl1, [2, 118], { 10: [1, 261] }), o($Vl1, [2, 119]), o($VQ, [2, 56]), o($Vw1, [2, 87]), o($VQ, [2, 57]), { 51: [1, 262], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, o($VQ, [2, 64]), o($VQ, [2, 59]), o($VQ, [2, 60]), o($VQ, [2, 61]), { 109: [1, 263] }, o($VQ, [2, 63]), o($VQ, [2, 65]), { 66: [1, 264], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, o($VQ, [2, 67]), o($VQ, [2, 68]), o($VQ, [2, 70]), o($VQ, [2, 69]), o($VQ, [2, 71]), o([10, 44, 60, 89, 102, 105, 106, 109, 111, 114, 115, 116], [2, 85]), o($VT, [2, 78]), { 31: [1, 265], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 6: 11, 7: 12, 8: $V5, 9: $V6, 10: $V7, 11: $V8, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: $V9, 32: [1, 266], 33: 24, 34: $Va, 36: $Vb, 38: $Vc, 42: 28, 43: 38, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 84: $Vf, 85: $Vg, 86: $Vh, 87: $Vi, 88: $Vj, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs, 121: $Vt, 122: $Vu, 123: $Vv, 124: $Vw }, o($VP, [2, 53]), { 43: 267, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs }, o($Vl1, [2, 121], { 106: $VF1 }), o($VG1, [2, 130], { 108: 269, 10: $Vx1, 60: $Vy1, 84: $Vz1, 105: $VA1, 109: $VB1, 110: $VC1, 111: $VD1, 112: $VE1 }), o($VH1, [2, 132]), o($VH1, [2, 134]), o($VH1, [2, 135]), o($VH1, [2, 136]), o($VH1, [2, 137]), o($VH1, [2, 138]), o($VH1, [2, 139]), o($VH1, [2, 140]), o($VH1, [2, 141]), o($Vl1, [2, 122], { 106: $VF1 }), { 10: [1, 270] }, o($Vl1, [2, 123], { 106: $VF1 }), { 10: [1, 271] }, o($Vv1, [2, 129]), o($Vl1, [2, 105], { 106: $VF1 }), o($Vl1, [2, 106], { 113: 112, 44: $Vd, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 114: $Vq, 115: $Vr, 116: $Vs }), o($Vl1, [2, 110]), o($Vl1, [2, 112], { 10: [1, 272] }), o($Vl1, [2, 113]), { 98: [1, 273] }, { 51: [1, 274] }, { 62: [1, 275] }, { 66: [1, 276] }, { 8: $Vz, 9: $VA, 11: $VB, 21: 277 }, o($Vy, [2, 34]), o($VP, [2, 52]), { 10: $Vx1, 60: $Vy1, 84: $Vz1, 105: $VA1, 107: 278, 108: 242, 109: $VB1, 110: $VC1, 111: $VD1, 112: $VE1 }, o($VH1, [2, 133]), { 14: $VE, 44: $VF, 60: $VG, 89: $VH, 101: 279, 105: $VI, 106: $VJ, 109: $VK, 111: $VL, 114: $VM, 115: $VN, 116: $VO, 120: 87 }, { 14: $VE, 44: $VF, 60: $VG, 89: $VH, 101: 280, 105: $VI, 106: $VJ, 109: $VK, 111: $VL, 114: $VM, 115: $VN, 116: $VO, 120: 87 }, { 98: [1, 281] }, o($Vl1, [2, 120]), o($VQ, [2, 58]), { 30: 282, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, o($VQ, [2, 66]), o($Vi1, $V4, { 5: 283 }), o($VG1, [2, 131], { 108: 269, 10: $Vx1, 60: $Vy1, 84: $Vz1, 105: $VA1, 109: $VB1, 110: $VC1, 111: $VD1, 112: $VE1 }), o($Vl1, [2, 126], { 120: 167, 10: [1, 284], 14: $VE, 44: $VF, 60: $VG, 89: $VH, 105: $VI, 106: $VJ, 109: $VK, 111: $VL, 114: $VM, 115: $VN, 116: $VO }), o($Vl1, [2, 127], { 120: 167, 10: [1, 285], 14: $VE, 44: $VF, 60: $VG, 89: $VH, 105: $VI, 106: $VJ, 109: $VK, 111: $VL, 114: $VM, 115: $VN, 116: $VO }), o($Vl1, [2, 114]), { 31: [1, 286], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 6: 11, 7: 12, 8: $V5, 9: $V6, 10: $V7, 11: $V8, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: $V9, 32: [1, 287], 33: 24, 34: $Va, 36: $Vb, 38: $Vc, 42: 28, 43: 38, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 84: $Vf, 85: $Vg, 86: $Vh, 87: $Vi, 88: $Vj, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs, 121: $Vt, 122: $Vu, 123: $Vv, 124: $Vw }, { 10: $Vx1, 60: $Vy1, 84: $Vz1, 92: 288, 105: $VA1, 107: 241, 108: 242, 109: $VB1, 110: $VC1, 111: $VD1, 112: $VE1 }, { 10: $Vx1, 60: $Vy1, 84: $Vz1, 92: 289, 105: $VA1, 107: 241, 108: 242, 109: $VB1, 110: $VC1, 111: $VD1, 112: $VE1 }, o($VQ, [2, 62]), o($Vy, [2, 33]), o($Vl1, [2, 124], { 106: $VF1 }), o($Vl1, [2, 125], { 106: $VF1 })],
1396
- defaultActions: {},
1397
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
1398
- if (hash.recoverable) {
1399
- this.trace(str);
1400
- } else {
1401
- var error = new Error(str);
1402
- error.hash = hash;
1403
- throw error;
1404
- }
1405
- }, "parseError"),
1406
- parse: /* @__PURE__ */ __name(function parse(input) {
1407
- var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
1408
- var args = lstack.slice.call(arguments, 1);
1409
- var lexer2 = Object.create(this.lexer);
1410
- var sharedState = { yy: {} };
1411
- for (var k in this.yy) {
1412
- if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
1413
- sharedState.yy[k] = this.yy[k];
1414
- }
1415
- }
1416
- lexer2.setInput(input, sharedState.yy);
1417
- sharedState.yy.lexer = lexer2;
1418
- sharedState.yy.parser = this;
1419
- if (typeof lexer2.yylloc == "undefined") {
1420
- lexer2.yylloc = {};
1421
- }
1422
- var yyloc = lexer2.yylloc;
1423
- lstack.push(yyloc);
1424
- var ranges = lexer2.options && lexer2.options.ranges;
1425
- if (typeof sharedState.yy.parseError === "function") {
1426
- this.parseError = sharedState.yy.parseError;
1427
- } else {
1428
- this.parseError = Object.getPrototypeOf(this).parseError;
1429
- }
1430
- function popStack(n) {
1431
- stack.length = stack.length - 2 * n;
1432
- vstack.length = vstack.length - n;
1433
- lstack.length = lstack.length - n;
1434
- }
1435
- __name(popStack, "popStack");
1436
- function lex() {
1437
- var token;
1438
- token = tstack.pop() || lexer2.lex() || EOF;
1439
- if (typeof token !== "number") {
1440
- if (token instanceof Array) {
1441
- tstack = token;
1442
- token = tstack.pop();
1443
- }
1444
- token = self.symbols_[token] || token;
1445
- }
1446
- return token;
1447
- }
1448
- __name(lex, "lex");
1449
- var symbol, state, action, r, yyval = {}, p, len, newState, expected;
1450
- while (true) {
1451
- state = stack[stack.length - 1];
1452
- if (this.defaultActions[state]) {
1453
- action = this.defaultActions[state];
1454
- } else {
1455
- if (symbol === null || typeof symbol == "undefined") {
1456
- symbol = lex();
1457
- }
1458
- action = table[state] && table[state][symbol];
1459
- }
1460
- if (typeof action === "undefined" || !action.length || !action[0]) {
1461
- var errStr = "";
1462
- expected = [];
1463
- for (p in table[state]) {
1464
- if (this.terminals_[p] && p > TERROR) {
1465
- expected.push("'" + this.terminals_[p] + "'");
1466
- }
1467
- }
1468
- if (lexer2.showPosition) {
1469
- errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
1470
- } else {
1471
- errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
1472
- }
1473
- this.parseError(errStr, {
1474
- text: lexer2.match,
1475
- token: this.terminals_[symbol] || symbol,
1476
- line: lexer2.yylineno,
1477
- loc: yyloc,
1478
- expected
1479
- });
1480
- }
1481
- if (action[0] instanceof Array && action.length > 1) {
1482
- throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
1483
- }
1484
- switch (action[0]) {
1485
- case 1:
1486
- stack.push(symbol);
1487
- vstack.push(lexer2.yytext);
1488
- lstack.push(lexer2.yylloc);
1489
- stack.push(action[1]);
1490
- symbol = null;
1491
- {
1492
- yyleng = lexer2.yyleng;
1493
- yytext = lexer2.yytext;
1494
- yylineno = lexer2.yylineno;
1495
- yyloc = lexer2.yylloc;
1496
- }
1497
- break;
1498
- case 2:
1499
- len = this.productions_[action[1]][1];
1500
- yyval.$ = vstack[vstack.length - len];
1501
- yyval._$ = {
1502
- first_line: lstack[lstack.length - (len || 1)].first_line,
1503
- last_line: lstack[lstack.length - 1].last_line,
1504
- first_column: lstack[lstack.length - (len || 1)].first_column,
1505
- last_column: lstack[lstack.length - 1].last_column
1506
- };
1507
- if (ranges) {
1508
- yyval._$.range = [
1509
- lstack[lstack.length - (len || 1)].range[0],
1510
- lstack[lstack.length - 1].range[1]
1511
- ];
1512
- }
1513
- r = this.performAction.apply(yyval, [
1514
- yytext,
1515
- yyleng,
1516
- yylineno,
1517
- sharedState.yy,
1518
- action[1],
1519
- vstack,
1520
- lstack
1521
- ].concat(args));
1522
- if (typeof r !== "undefined") {
1523
- return r;
1524
- }
1525
- if (len) {
1526
- stack = stack.slice(0, -1 * len * 2);
1527
- vstack = vstack.slice(0, -1 * len);
1528
- lstack = lstack.slice(0, -1 * len);
1529
- }
1530
- stack.push(this.productions_[action[1]][0]);
1531
- vstack.push(yyval.$);
1532
- lstack.push(yyval._$);
1533
- newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
1534
- stack.push(newState);
1535
- break;
1536
- case 3:
1537
- return true;
1538
- }
1539
- }
1540
- return true;
1541
- }, "parse")
1542
- };
1543
- var lexer = /* @__PURE__ */ function() {
1544
- var lexer2 = {
1545
- EOF: 1,
1546
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
1547
- if (this.yy.parser) {
1548
- this.yy.parser.parseError(str, hash);
1549
- } else {
1550
- throw new Error(str);
1551
- }
1552
- }, "parseError"),
1553
- // resets the lexer, sets new input
1554
- setInput: /* @__PURE__ */ __name(function(input, yy) {
1555
- this.yy = yy || this.yy || {};
1556
- this._input = input;
1557
- this._more = this._backtrack = this.done = false;
1558
- this.yylineno = this.yyleng = 0;
1559
- this.yytext = this.matched = this.match = "";
1560
- this.conditionStack = ["INITIAL"];
1561
- this.yylloc = {
1562
- first_line: 1,
1563
- first_column: 0,
1564
- last_line: 1,
1565
- last_column: 0
1566
- };
1567
- if (this.options.ranges) {
1568
- this.yylloc.range = [0, 0];
1569
- }
1570
- this.offset = 0;
1571
- return this;
1572
- }, "setInput"),
1573
- // consumes and returns one char from the input
1574
- input: /* @__PURE__ */ __name(function() {
1575
- var ch = this._input[0];
1576
- this.yytext += ch;
1577
- this.yyleng++;
1578
- this.offset++;
1579
- this.match += ch;
1580
- this.matched += ch;
1581
- var lines = ch.match(/(?:\r\n?|\n).*/g);
1582
- if (lines) {
1583
- this.yylineno++;
1584
- this.yylloc.last_line++;
1585
- } else {
1586
- this.yylloc.last_column++;
1587
- }
1588
- if (this.options.ranges) {
1589
- this.yylloc.range[1]++;
1590
- }
1591
- this._input = this._input.slice(1);
1592
- return ch;
1593
- }, "input"),
1594
- // unshifts one char (or a string) into the input
1595
- unput: /* @__PURE__ */ __name(function(ch) {
1596
- var len = ch.length;
1597
- var lines = ch.split(/(?:\r\n?|\n)/g);
1598
- this._input = ch + this._input;
1599
- this.yytext = this.yytext.substr(0, this.yytext.length - len);
1600
- this.offset -= len;
1601
- var oldLines = this.match.split(/(?:\r\n?|\n)/g);
1602
- this.match = this.match.substr(0, this.match.length - 1);
1603
- this.matched = this.matched.substr(0, this.matched.length - 1);
1604
- if (lines.length - 1) {
1605
- this.yylineno -= lines.length - 1;
1606
- }
1607
- var r = this.yylloc.range;
1608
- this.yylloc = {
1609
- first_line: this.yylloc.first_line,
1610
- last_line: this.yylineno + 1,
1611
- first_column: this.yylloc.first_column,
1612
- last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len
1613
- };
1614
- if (this.options.ranges) {
1615
- this.yylloc.range = [r[0], r[0] + this.yyleng - len];
1616
- }
1617
- this.yyleng = this.yytext.length;
1618
- return this;
1619
- }, "unput"),
1620
- // When called from action, caches matched text and appends it on next action
1621
- more: /* @__PURE__ */ __name(function() {
1622
- this._more = true;
1623
- return this;
1624
- }, "more"),
1625
- // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
1626
- reject: /* @__PURE__ */ __name(function() {
1627
- if (this.options.backtrack_lexer) {
1628
- this._backtrack = true;
1629
- } else {
1630
- return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
1631
- text: "",
1632
- token: null,
1633
- line: this.yylineno
1634
- });
1635
- }
1636
- return this;
1637
- }, "reject"),
1638
- // retain first n characters of the match
1639
- less: /* @__PURE__ */ __name(function(n) {
1640
- this.unput(this.match.slice(n));
1641
- }, "less"),
1642
- // displays already matched input, i.e. for error messages
1643
- pastInput: /* @__PURE__ */ __name(function() {
1644
- var past = this.matched.substr(0, this.matched.length - this.match.length);
1645
- return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
1646
- }, "pastInput"),
1647
- // displays upcoming input, i.e. for error messages
1648
- upcomingInput: /* @__PURE__ */ __name(function() {
1649
- var next = this.match;
1650
- if (next.length < 20) {
1651
- next += this._input.substr(0, 20 - next.length);
1652
- }
1653
- return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
1654
- }, "upcomingInput"),
1655
- // displays the character position where the lexing error occurred, i.e. for error messages
1656
- showPosition: /* @__PURE__ */ __name(function() {
1657
- var pre = this.pastInput();
1658
- var c = new Array(pre.length + 1).join("-");
1659
- return pre + this.upcomingInput() + "\n" + c + "^";
1660
- }, "showPosition"),
1661
- // test the lexed token: return FALSE when not a match, otherwise return token
1662
- test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
1663
- var token, lines, backup;
1664
- if (this.options.backtrack_lexer) {
1665
- backup = {
1666
- yylineno: this.yylineno,
1667
- yylloc: {
1668
- first_line: this.yylloc.first_line,
1669
- last_line: this.last_line,
1670
- first_column: this.yylloc.first_column,
1671
- last_column: this.yylloc.last_column
1672
- },
1673
- yytext: this.yytext,
1674
- match: this.match,
1675
- matches: this.matches,
1676
- matched: this.matched,
1677
- yyleng: this.yyleng,
1678
- offset: this.offset,
1679
- _more: this._more,
1680
- _input: this._input,
1681
- yy: this.yy,
1682
- conditionStack: this.conditionStack.slice(0),
1683
- done: this.done
1684
- };
1685
- if (this.options.ranges) {
1686
- backup.yylloc.range = this.yylloc.range.slice(0);
1687
- }
1688
- }
1689
- lines = match[0].match(/(?:\r\n?|\n).*/g);
1690
- if (lines) {
1691
- this.yylineno += lines.length;
1692
- }
1693
- this.yylloc = {
1694
- first_line: this.yylloc.last_line,
1695
- last_line: this.yylineno + 1,
1696
- first_column: this.yylloc.last_column,
1697
- last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
1698
- };
1699
- this.yytext += match[0];
1700
- this.match += match[0];
1701
- this.matches = match;
1702
- this.yyleng = this.yytext.length;
1703
- if (this.options.ranges) {
1704
- this.yylloc.range = [this.offset, this.offset += this.yyleng];
1705
- }
1706
- this._more = false;
1707
- this._backtrack = false;
1708
- this._input = this._input.slice(match[0].length);
1709
- this.matched += match[0];
1710
- token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
1711
- if (this.done && this._input) {
1712
- this.done = false;
1713
- }
1714
- if (token) {
1715
- return token;
1716
- } else if (this._backtrack) {
1717
- for (var k in backup) {
1718
- this[k] = backup[k];
1719
- }
1720
- return false;
1721
- }
1722
- return false;
1723
- }, "test_match"),
1724
- // return next match in input
1725
- next: /* @__PURE__ */ __name(function() {
1726
- if (this.done) {
1727
- return this.EOF;
1728
- }
1729
- if (!this._input) {
1730
- this.done = true;
1731
- }
1732
- var token, match, tempMatch, index;
1733
- if (!this._more) {
1734
- this.yytext = "";
1735
- this.match = "";
1736
- }
1737
- var rules = this._currentRules();
1738
- for (var i = 0; i < rules.length; i++) {
1739
- tempMatch = this._input.match(this.rules[rules[i]]);
1740
- if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
1741
- match = tempMatch;
1742
- index = i;
1743
- if (this.options.backtrack_lexer) {
1744
- token = this.test_match(tempMatch, rules[i]);
1745
- if (token !== false) {
1746
- return token;
1747
- } else if (this._backtrack) {
1748
- match = false;
1749
- continue;
1750
- } else {
1751
- return false;
1752
- }
1753
- } else if (!this.options.flex) {
1754
- break;
1755
- }
1756
- }
1757
- }
1758
- if (match) {
1759
- token = this.test_match(match, rules[index]);
1760
- if (token !== false) {
1761
- return token;
1762
- }
1763
- return false;
1764
- }
1765
- if (this._input === "") {
1766
- return this.EOF;
1767
- } else {
1768
- return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1769
- text: "",
1770
- token: null,
1771
- line: this.yylineno
1772
- });
1773
- }
1774
- }, "next"),
1775
- // return next match that has a token
1776
- lex: /* @__PURE__ */ __name(function lex() {
1777
- var r = this.next();
1778
- if (r) {
1779
- return r;
1780
- } else {
1781
- return this.lex();
1782
- }
1783
- }, "lex"),
1784
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
1785
- begin: /* @__PURE__ */ __name(function begin(condition) {
1786
- this.conditionStack.push(condition);
1787
- }, "begin"),
1788
- // pop the previously active lexer condition state off the condition stack
1789
- popState: /* @__PURE__ */ __name(function popState() {
1790
- var n = this.conditionStack.length - 1;
1791
- if (n > 0) {
1792
- return this.conditionStack.pop();
1793
- } else {
1794
- return this.conditionStack[0];
1795
- }
1796
- }, "popState"),
1797
- // produce the lexer rule set which is active for the currently active lexer condition state
1798
- _currentRules: /* @__PURE__ */ __name(function _currentRules() {
1799
- if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
1800
- return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
1801
- } else {
1802
- return this.conditions["INITIAL"].rules;
1803
- }
1804
- }, "_currentRules"),
1805
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
1806
- topState: /* @__PURE__ */ __name(function topState(n) {
1807
- n = this.conditionStack.length - 1 - Math.abs(n || 0);
1808
- if (n >= 0) {
1809
- return this.conditionStack[n];
1810
- } else {
1811
- return "INITIAL";
1812
- }
1813
- }, "topState"),
1814
- // alias for begin(condition)
1815
- pushState: /* @__PURE__ */ __name(function pushState(condition) {
1816
- this.begin(condition);
1817
- }, "pushState"),
1818
- // return the number of states currently on the stack
1819
- stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
1820
- return this.conditionStack.length;
1821
- }, "stateStackSize"),
1822
- options: {},
1823
- performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
1824
- switch ($avoiding_name_collisions) {
1825
- case 0:
1826
- this.begin("acc_title");
1827
- return 34;
1828
- case 1:
1829
- this.popState();
1830
- return "acc_title_value";
1831
- case 2:
1832
- this.begin("acc_descr");
1833
- return 36;
1834
- case 3:
1835
- this.popState();
1836
- return "acc_descr_value";
1837
- case 4:
1838
- this.begin("acc_descr_multiline");
1839
- break;
1840
- case 5:
1841
- this.popState();
1842
- break;
1843
- case 6:
1844
- return "acc_descr_multiline_value";
1845
- case 7:
1846
- this.pushState("shapeData");
1847
- yy_.yytext = "";
1848
- return 40;
1849
- case 8:
1850
- this.pushState("shapeDataStr");
1851
- return 40;
1852
- case 9:
1853
- this.popState();
1854
- return 40;
1855
- case 10:
1856
- const re = /\n\s*/g;
1857
- yy_.yytext = yy_.yytext.replace(re, "<br/>");
1858
- return 40;
1859
- case 11:
1860
- return 40;
1861
- case 12:
1862
- this.popState();
1863
- break;
1864
- case 13:
1865
- this.begin("callbackname");
1866
- break;
1867
- case 14:
1868
- this.popState();
1869
- break;
1870
- case 15:
1871
- this.popState();
1872
- this.begin("callbackargs");
1873
- break;
1874
- case 16:
1875
- return 95;
1876
- case 17:
1877
- this.popState();
1878
- break;
1879
- case 18:
1880
- return 96;
1881
- case 19:
1882
- return "MD_STR";
1883
- case 20:
1884
- this.popState();
1885
- break;
1886
- case 21:
1887
- this.begin("md_string");
1888
- break;
1889
- case 22:
1890
- return "STR";
1891
- case 23:
1892
- this.popState();
1893
- break;
1894
- case 24:
1895
- this.pushState("string");
1896
- break;
1897
- case 25:
1898
- return 84;
1899
- case 26:
1900
- return 102;
1901
- case 27:
1902
- return 85;
1903
- case 28:
1904
- return 104;
1905
- case 29:
1906
- return 86;
1907
- case 30:
1908
- return 87;
1909
- case 31:
1910
- return 97;
1911
- case 32:
1912
- this.begin("click");
1913
- break;
1914
- case 33:
1915
- this.popState();
1916
- break;
1917
- case 34:
1918
- return 88;
1919
- case 35:
1920
- if (yy.lex.firstGraph()) {
1921
- this.begin("dir");
1922
- }
1923
- return 12;
1924
- case 36:
1925
- if (yy.lex.firstGraph()) {
1926
- this.begin("dir");
1927
- }
1928
- return 12;
1929
- case 37:
1930
- if (yy.lex.firstGraph()) {
1931
- this.begin("dir");
1932
- }
1933
- return 12;
1934
- case 38:
1935
- return 27;
1936
- case 39:
1937
- return 32;
1938
- case 40:
1939
- return 98;
1940
- case 41:
1941
- return 98;
1942
- case 42:
1943
- return 98;
1944
- case 43:
1945
- return 98;
1946
- case 44:
1947
- this.popState();
1948
- return 13;
1949
- case 45:
1950
- this.popState();
1951
- return 14;
1952
- case 46:
1953
- this.popState();
1954
- return 14;
1955
- case 47:
1956
- this.popState();
1957
- return 14;
1958
- case 48:
1959
- this.popState();
1960
- return 14;
1961
- case 49:
1962
- this.popState();
1963
- return 14;
1964
- case 50:
1965
- this.popState();
1966
- return 14;
1967
- case 51:
1968
- this.popState();
1969
- return 14;
1970
- case 52:
1971
- this.popState();
1972
- return 14;
1973
- case 53:
1974
- this.popState();
1975
- return 14;
1976
- case 54:
1977
- this.popState();
1978
- return 14;
1979
- case 55:
1980
- return 121;
1981
- case 56:
1982
- return 122;
1983
- case 57:
1984
- return 123;
1985
- case 58:
1986
- return 124;
1987
- case 59:
1988
- return 78;
1989
- case 60:
1990
- return 105;
1991
- case 61:
1992
- return 111;
1993
- case 62:
1994
- return 46;
1995
- case 63:
1996
- return 60;
1997
- case 64:
1998
- return 44;
1999
- case 65:
2000
- return 8;
2001
- case 66:
2002
- return 106;
2003
- case 67:
2004
- return 115;
2005
- case 68:
2006
- this.popState();
2007
- return 77;
2008
- case 69:
2009
- this.pushState("edgeText");
2010
- return 75;
2011
- case 70:
2012
- return 119;
2013
- case 71:
2014
- this.popState();
2015
- return 77;
2016
- case 72:
2017
- this.pushState("thickEdgeText");
2018
- return 75;
2019
- case 73:
2020
- return 119;
2021
- case 74:
2022
- this.popState();
2023
- return 77;
2024
- case 75:
2025
- this.pushState("dottedEdgeText");
2026
- return 75;
2027
- case 76:
2028
- return 119;
2029
- case 77:
2030
- return 77;
2031
- case 78:
2032
- this.popState();
2033
- return 53;
2034
- case 79:
2035
- return "TEXT";
2036
- case 80:
2037
- this.pushState("ellipseText");
2038
- return 52;
2039
- case 81:
2040
- this.popState();
2041
- return 55;
2042
- case 82:
2043
- this.pushState("text");
2044
- return 54;
2045
- case 83:
2046
- this.popState();
2047
- return 57;
2048
- case 84:
2049
- this.pushState("text");
2050
- return 56;
2051
- case 85:
2052
- return 58;
2053
- case 86:
2054
- this.pushState("text");
2055
- return 67;
2056
- case 87:
2057
- this.popState();
2058
- return 64;
2059
- case 88:
2060
- this.pushState("text");
2061
- return 63;
2062
- case 89:
2063
- this.popState();
2064
- return 49;
2065
- case 90:
2066
- this.pushState("text");
2067
- return 48;
2068
- case 91:
2069
- this.popState();
2070
- return 69;
2071
- case 92:
2072
- this.popState();
2073
- return 71;
2074
- case 93:
2075
- return 117;
2076
- case 94:
2077
- this.pushState("trapText");
2078
- return 68;
2079
- case 95:
2080
- this.pushState("trapText");
2081
- return 70;
2082
- case 96:
2083
- return 118;
2084
- case 97:
2085
- return 67;
2086
- case 98:
2087
- return 90;
2088
- case 99:
2089
- return "SEP";
2090
- case 100:
2091
- return 89;
2092
- case 101:
2093
- return 115;
2094
- case 102:
2095
- return 111;
2096
- case 103:
2097
- return 44;
2098
- case 104:
2099
- return 109;
2100
- case 105:
2101
- return 114;
2102
- case 106:
2103
- return 116;
2104
- case 107:
2105
- this.popState();
2106
- return 62;
2107
- case 108:
2108
- this.pushState("text");
2109
- return 62;
2110
- case 109:
2111
- this.popState();
2112
- return 51;
2113
- case 110:
2114
- this.pushState("text");
2115
- return 50;
2116
- case 111:
2117
- this.popState();
2118
- return 31;
2119
- case 112:
2120
- this.pushState("text");
2121
- return 29;
2122
- case 113:
2123
- this.popState();
2124
- return 66;
2125
- case 114:
2126
- this.pushState("text");
2127
- return 65;
2128
- case 115:
2129
- return "TEXT";
2130
- case 116:
2131
- return "QUOTE";
2132
- case 117:
2133
- return 9;
2134
- case 118:
2135
- return 10;
2136
- case 119:
2137
- return 11;
2138
- }
2139
- }, "anonymous"),
2140
- rules: [/^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:@\{)/, /^(?:["])/, /^(?:["])/, /^(?:[^\"]+)/, /^(?:[^}^"]+)/, /^(?:\})/, /^(?:call[\s]+)/, /^(?:\([\s]*\))/, /^(?:\()/, /^(?:[^(]*)/, /^(?:\))/, /^(?:[^)]*)/, /^(?:[^`"]+)/, /^(?:[`]["])/, /^(?:["][`])/, /^(?:[^"]+)/, /^(?:["])/, /^(?:["])/, /^(?:style\b)/, /^(?:default\b)/, /^(?:linkStyle\b)/, /^(?:interpolate\b)/, /^(?:classDef\b)/, /^(?:class\b)/, /^(?:href[\s])/, /^(?:click[\s]+)/, /^(?:[\s\n])/, /^(?:[^\s\n]*)/, /^(?:flowchart-elk\b)/, /^(?:graph\b)/, /^(?:flowchart\b)/, /^(?:subgraph\b)/, /^(?:end\b\s*)/, /^(?:_self\b)/, /^(?:_blank\b)/, /^(?:_parent\b)/, /^(?:_top\b)/, /^(?:(\r?\n)*\s*\n)/, /^(?:\s*LR\b)/, /^(?:\s*RL\b)/, /^(?:\s*TB\b)/, /^(?:\s*BT\b)/, /^(?:\s*TD\b)/, /^(?:\s*BR\b)/, /^(?:\s*<)/, /^(?:\s*>)/, /^(?:\s*\^)/, /^(?:\s*v\b)/, /^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:[^\s\"]+@(?=[^\{\"]))/, /^(?:[0-9]+)/, /^(?:#)/, /^(?::::)/, /^(?::)/, /^(?:&)/, /^(?:;)/, /^(?:,)/, /^(?:\*)/, /^(?:\s*[xo<]?--+[-xo>]\s*)/, /^(?:\s*[xo<]?--\s*)/, /^(?:[^-]|-(?!-)+)/, /^(?:\s*[xo<]?==+[=xo>]\s*)/, /^(?:\s*[xo<]?==\s*)/, /^(?:[^=]|=(?!))/, /^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/, /^(?:\s*[xo<]?-\.\s*)/, /^(?:[^\.]|\.(?!))/, /^(?:\s*~~[\~]+\s*)/, /^(?:[-/\)][\)])/, /^(?:[^\(\)\[\]\{\}]|!\)+)/, /^(?:\(-)/, /^(?:\]\))/, /^(?:\(\[)/, /^(?:\]\])/, /^(?:\[\[)/, /^(?:\[\|)/, /^(?:>)/, /^(?:\)\])/, /^(?:\[\()/, /^(?:\)\)\))/, /^(?:\(\(\()/, /^(?:[\\(?=\])][\]])/, /^(?:\/(?=\])\])/, /^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/, /^(?:\[\/)/, /^(?:\[\\)/, /^(?:<)/, /^(?:>)/, /^(?:\^)/, /^(?:\\\|)/, /^(?:v\b)/, /^(?:\*)/, /^(?:#)/, /^(?:&)/, /^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/, /^(?:-)/, /^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/, /^(?:\|)/, /^(?:\|)/, /^(?:\))/, /^(?:\()/, /^(?:\])/, /^(?:\[)/, /^(?:(\}))/, /^(?:\{)/, /^(?:[^\[\]\(\)\{\}\|\"]+)/, /^(?:")/, /^(?:(\r?\n)+)/, /^(?:\s)/, /^(?:$)/],
2141
- conditions: { "shapeDataEndBracket": { "rules": [21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "shapeDataStr": { "rules": [9, 10, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "shapeData": { "rules": [8, 11, 12, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "callbackargs": { "rules": [17, 18, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "callbackname": { "rules": [14, 15, 16, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "href": { "rules": [21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "click": { "rules": [21, 24, 33, 34, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "dottedEdgeText": { "rules": [21, 24, 74, 76, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "thickEdgeText": { "rules": [21, 24, 71, 73, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "edgeText": { "rules": [21, 24, 68, 70, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "trapText": { "rules": [21, 24, 77, 80, 82, 84, 88, 90, 91, 92, 93, 94, 95, 108, 110, 112, 114], "inclusive": false }, "ellipseText": { "rules": [21, 24, 77, 78, 79, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "text": { "rules": [21, 24, 77, 80, 81, 82, 83, 84, 87, 88, 89, 90, 94, 95, 107, 108, 109, 110, 111, 112, 113, 114, 115], "inclusive": false }, "vertex": { "rules": [21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "dir": { "rules": [21, 24, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "acc_descr_multiline": { "rules": [5, 6, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "acc_descr": { "rules": [3, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "acc_title": { "rules": [1, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "md_string": { "rules": [19, 20, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "string": { "rules": [21, 22, 23, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "INITIAL": { "rules": [0, 2, 4, 7, 13, 21, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 37, 38, 39, 40, 41, 42, 43, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 71, 72, 74, 75, 77, 80, 82, 84, 85, 86, 88, 90, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 108, 110, 112, 114, 116, 117, 118, 119], "inclusive": true } }
2142
- };
2143
- return lexer2;
2144
- }();
2145
- parser2.lexer = lexer;
2146
- function Parser() {
2147
- this.yy = {};
2148
- }
2149
- __name(Parser, "Parser");
2150
- Parser.prototype = parser2;
2151
- parser2.Parser = Parser;
2152
- return new Parser();
2153
- }();
2154
- parser.parser = parser;
2155
- var flow_default = parser;
2156
- var newParser = Object.assign({}, flow_default);
2157
- newParser.parse = (src) => {
2158
- const newSrc = src.replace(/}\s*\n/g, "}\n");
2159
- return flow_default.parse(newSrc);
2160
- };
2161
- var flowParser_default = newParser;
2162
- var fade = /* @__PURE__ */ __name((color, opacity) => {
2163
- const channel2 = channel;
2164
- const r = channel2(color, "r");
2165
- const g = channel2(color, "g");
2166
- const b = channel2(color, "b");
2167
- return rgba(r, g, b, opacity);
2168
- }, "fade");
2169
- var getStyles = /* @__PURE__ */ __name((options) => `.label {
2170
- font-family: ${options.fontFamily};
2171
- color: ${options.nodeTextColor || options.textColor};
2172
- }
2173
- .cluster-label text {
2174
- fill: ${options.titleColor};
2175
- }
2176
- .cluster-label span {
2177
- color: ${options.titleColor};
2178
- }
2179
- .cluster-label span p {
2180
- background-color: transparent;
2181
- }
2182
-
2183
- .label text,span {
2184
- fill: ${options.nodeTextColor || options.textColor};
2185
- color: ${options.nodeTextColor || options.textColor};
2186
- }
2187
-
2188
- .node rect,
2189
- .node circle,
2190
- .node ellipse,
2191
- .node polygon,
2192
- .node path {
2193
- fill: ${options.mainBkg};
2194
- stroke: ${options.nodeBorder};
2195
- stroke-width: 1px;
2196
- }
2197
- .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
2198
- text-anchor: middle;
2199
- }
2200
- // .flowchart-label .text-outer-tspan {
2201
- // text-anchor: middle;
2202
- // }
2203
- // .flowchart-label .text-inner-tspan {
2204
- // text-anchor: start;
2205
- // }
2206
-
2207
- .node .katex path {
2208
- fill: #000;
2209
- stroke: #000;
2210
- stroke-width: 1px;
2211
- }
2212
-
2213
- .rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
2214
- text-align: center;
2215
- }
2216
- .node.clickable {
2217
- cursor: pointer;
2218
- }
2219
-
2220
-
2221
- .root .anchor path {
2222
- fill: ${options.lineColor} !important;
2223
- stroke-width: 0;
2224
- stroke: ${options.lineColor};
2225
- }
2226
-
2227
- .arrowheadPath {
2228
- fill: ${options.arrowheadColor};
2229
- }
2230
-
2231
- .edgePath .path {
2232
- stroke: ${options.lineColor};
2233
- stroke-width: 2.0px;
2234
- }
2235
-
2236
- .flowchart-link {
2237
- stroke: ${options.lineColor};
2238
- fill: none;
2239
- }
2240
-
2241
- .edgeLabel {
2242
- background-color: ${options.edgeLabelBackground};
2243
- p {
2244
- background-color: ${options.edgeLabelBackground};
2245
- }
2246
- rect {
2247
- opacity: 0.5;
2248
- background-color: ${options.edgeLabelBackground};
2249
- fill: ${options.edgeLabelBackground};
2250
- }
2251
- text-align: center;
2252
- }
2253
-
2254
- /* For html labels only */
2255
- .labelBkg {
2256
- background-color: ${fade(options.edgeLabelBackground, 0.5)};
2257
- // background-color:
2258
- }
2259
-
2260
- .cluster rect {
2261
- fill: ${options.clusterBkg};
2262
- stroke: ${options.clusterBorder};
2263
- stroke-width: 1px;
2264
- }
2265
-
2266
- .cluster text {
2267
- fill: ${options.titleColor};
2268
- }
2269
-
2270
- .cluster span {
2271
- color: ${options.titleColor};
2272
- }
2273
- /* .cluster div {
2274
- color: ${options.titleColor};
2275
- } */
2276
-
2277
- div.mermaidTooltip {
2278
- position: absolute;
2279
- text-align: center;
2280
- max-width: 200px;
2281
- padding: 2px;
2282
- font-family: ${options.fontFamily};
2283
- font-size: 12px;
2284
- background: ${options.tertiaryColor};
2285
- border: 1px solid ${options.border2};
2286
- border-radius: 2px;
2287
- pointer-events: none;
2288
- z-index: 100;
2289
- }
2290
-
2291
- .flowchartTitleText {
2292
- text-anchor: middle;
2293
- font-size: 18px;
2294
- fill: ${options.textColor};
2295
- }
2296
-
2297
- rect.text {
2298
- fill: none;
2299
- stroke-width: 0;
2300
- }
2301
-
2302
- .icon-shape, .image-shape {
2303
- background-color: ${options.edgeLabelBackground};
2304
- p {
2305
- background-color: ${options.edgeLabelBackground};
2306
- padding: 2px;
2307
- }
2308
- rect {
2309
- opacity: 0.5;
2310
- background-color: ${options.edgeLabelBackground};
2311
- fill: ${options.edgeLabelBackground};
2312
- }
2313
- text-align: center;
2314
- }
2315
- ${getIconStyles()}
2316
- `, "getStyles");
2317
- var styles_default = getStyles;
2318
- var diagram = {
2319
- parser: flowParser_default,
2320
- get db() {
2321
- return new FlowDB();
2322
- },
2323
- renderer: flowRenderer_v3_unified_default,
2324
- styles: styles_default,
2325
- init: /* @__PURE__ */ __name((cnf) => {
2326
- if (!cnf.flowchart) {
2327
- cnf.flowchart = {};
2328
- }
2329
- if (cnf.layout) {
2330
- setConfig2({ layout: cnf.layout });
2331
- }
2332
- cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;
2333
- setConfig2({ flowchart: { arrowMarkerAbsolute: cnf.arrowMarkerAbsolute } });
2334
- }, "init")
2335
- };
2336
- export {
2337
- diagram
2338
- };
2339
- //# sourceMappingURL=flowDiagram-NV44I4VS-DoSHOTLX.js.map