@spteck/react-controls-v2 2.3.7 → 2.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (644) hide show
  1. package/dist/LocalizationProvider-B6NxHbu2.cjs +2 -0
  2. package/dist/LocalizationProvider-te5iu_6z.js +363 -0
  3. package/dist/_arrayEach-BuSFKyFt.js +54 -0
  4. package/dist/_arrayEach-ChR-TejB.cjs +2 -0
  5. package/dist/_getTag-BRuLtYrv.js +28 -0
  6. package/dist/_getTag-D6VVyrEu.cjs +2 -0
  7. package/dist/abstractions/IApplicationContext.d.ts +0 -1
  8. package/dist/abstractions/IAuthenticationProvider.d.ts +0 -1
  9. package/dist/abstractions/ILocalizationProvider.d.ts +0 -1
  10. package/dist/abstractions/providers/ConsoleLoggingProvider.d.ts +0 -1
  11. package/dist/abstractions/providers/DefaultGraphClient.d.ts +0 -1
  12. package/dist/abstractions/providers/DefaultLocalizationProvider.d.ts +0 -1
  13. package/dist/abstractions/providers/LocalStorageProvider.d.ts +0 -1
  14. package/dist/abstractions/providers/LocalizationProvider.d.ts +0 -1
  15. package/dist/ar-Blifx2MN.js +210 -0
  16. package/dist/ar-ip3bGOX3.cjs +2 -0
  17. package/dist/arc-4yb49ncY.js +82 -0
  18. package/dist/arc-djsA8IT0.cjs +2 -0
  19. package/dist/architecture-PBZL5I3N-CvTfVLFi.js +3 -0
  20. package/dist/architecture-PBZL5I3N-wZIE3ggH.cjs +1 -0
  21. package/dist/architectureDiagram-2XIMDMQ5-DFEvJNx1.cjs +37 -0
  22. package/dist/architectureDiagram-2XIMDMQ5-g-HotzpG.js +4047 -0
  23. package/dist/array-BNB_vRFv.cjs +2 -0
  24. package/dist/array-DP0duYiO.js +8 -0
  25. package/dist/az-CMhDjtnj.js +210 -0
  26. package/dist/az-CyVLdUDz.cjs +2 -0
  27. package/dist/bg-Bexoz3hL.cjs +2 -0
  28. package/dist/bg-C96WirSv.js +210 -0
  29. package/dist/blockDiagram-WCTKOSBZ-DWgb5Ghz.js +3165 -0
  30. package/dist/blockDiagram-WCTKOSBZ-Dl04FBAy.cjs +133 -0
  31. package/dist/bs-MMcvhwLv.cjs +2 -0
  32. package/dist/bs-_St1wBE_.js +210 -0
  33. package/dist/c4Diagram-IC4MRINW-ClZvialQ.js +2966 -0
  34. package/dist/c4Diagram-IC4MRINW-ZFE2cGZP.cjs +11 -0
  35. package/dist/ca-BspMSeHN.cjs +2 -0
  36. package/dist/ca-QlLcV4wf.js +210 -0
  37. package/dist/channel-2Bqnb1FY.js +7 -0
  38. package/dist/channel-5_aP1EVB.cjs +2 -0
  39. package/dist/chunk-4BX2VUAB-B5Va_oZz.js +10 -0
  40. package/dist/chunk-4BX2VUAB-BWDW-gYk.cjs +2 -0
  41. package/dist/chunk-55IACEB6-4ind_ByS.cjs +2 -0
  42. package/dist/chunk-55IACEB6-Pcyz_aR_.js +10 -0
  43. package/dist/chunk-7E7YKBS2-Sw9_w4gt.cjs +2 -0
  44. package/dist/chunk-7E7YKBS2-VHdgsed6.js +25 -0
  45. package/dist/chunk-7R4GIKGN-BKoqTTU_.cjs +81 -0
  46. package/dist/chunk-7R4GIKGN-CaQJ0QBF.js +2598 -0
  47. package/dist/chunk-C72U2L5F-CCvi6jiy.cjs +2 -0
  48. package/dist/chunk-C72U2L5F-MjJQTOMh.js +25 -0
  49. package/dist/chunk-D-IZpNpi.cjs +1 -0
  50. package/dist/chunk-EGIJ26TM-Bffl84Wq.cjs +2 -0
  51. package/dist/chunk-EGIJ26TM-DLMAfvpZ.js +25 -0
  52. package/dist/{chunk-FMBD7UC4-DD0xIF4q.js → chunk-FMBD7UC4-BvqqU04Z.cjs} +3 -7
  53. package/dist/chunk-FMBD7UC4-xjRtkFXe.js +7 -0
  54. package/dist/chunk-GEFDOKGD-BNgT40Ex.js +1302 -0
  55. package/dist/chunk-GEFDOKGD-BOwd6Jqp.cjs +3 -0
  56. package/dist/chunk-GLR3WWYH-DdNAJNRC.cjs +2 -0
  57. package/dist/chunk-GLR3WWYH-kyo6BUtq.js +43 -0
  58. package/dist/chunk-HHEYEP7N-DO1AYIZw.js +11 -0
  59. package/dist/chunk-HHEYEP7N-pdmgQZzP.cjs +2 -0
  60. package/dist/chunk-JSJVCQXG-Ci0seBb4.cjs +2 -0
  61. package/dist/chunk-JSJVCQXG-DowfYWcD.js +62 -0
  62. package/dist/chunk-KX2RTZJC-BJeOHReu.cjs +2 -0
  63. package/dist/chunk-KX2RTZJC-D-bUTSNy.js +27 -0
  64. package/dist/chunk-KYZI473N-DEPuSXaW.js +3436 -0
  65. package/dist/chunk-KYZI473N-DzBMFOER.cjs +54 -0
  66. package/dist/chunk-L3YUKLVL-BDGCTzmy.js +25 -0
  67. package/dist/chunk-L3YUKLVL-BZ17sqh5.cjs +2 -0
  68. package/dist/chunk-MX3YWQON-CAsnAj2e.js +82 -0
  69. package/dist/chunk-MX3YWQON-DulrBJdn.cjs +2 -0
  70. package/dist/chunk-NBPlniwU.js +23 -0
  71. package/dist/chunk-NQ4KR5QH-BJBAT2kM.cjs +221 -0
  72. package/dist/chunk-NQ4KR5QH-DFem-ORD.js +2004 -0
  73. package/dist/chunk-O4XLMI2P-BQF7MAo7.cjs +8 -0
  74. package/dist/chunk-O4XLMI2P-DA4TPzPG.js +513 -0
  75. package/dist/chunk-OZEHJAEY-CAiiXJUP.cjs +2 -0
  76. package/dist/chunk-OZEHJAEY-D7SX2SbR.js +66 -0
  77. package/dist/chunk-PQ6SQG4A-BZnW4-Sd.cjs +2 -0
  78. package/dist/chunk-PQ6SQG4A-ObFGkauo.js +69 -0
  79. package/dist/chunk-PU5JKC2W-BM5NPS-q.js +1887 -0
  80. package/dist/chunk-PU5JKC2W-eRU8wnTH.cjs +71 -0
  81. package/dist/chunk-QZHKN3VN-Dhli_tM0.cjs +2 -0
  82. package/dist/chunk-QZHKN3VN-x258g6EH.js +17 -0
  83. package/dist/chunk-R5LLSJPH-CNTEucEd.cjs +2 -0
  84. package/dist/chunk-R5LLSJPH-Gt27ml2m.js +37 -0
  85. package/dist/chunk-WL4C6EOR-CQXw6d0l.cjs +190 -0
  86. package/dist/chunk-WL4C6EOR-DuM6QmqM.js +3196 -0
  87. package/dist/chunk-XIRO2GV7-CswC9CO8.cjs +2 -0
  88. package/dist/chunk-XIRO2GV7-DXlO8X82.js +32 -0
  89. package/dist/chunk-XPW4576I-Bpsr4SZJ.js +1148 -0
  90. package/dist/chunk-XPW4576I-C68T-WIW.cjs +33 -0
  91. package/dist/chunk-XZSTWKYB-DJv9rEVU.cjs +95 -0
  92. package/dist/chunk-XZSTWKYB-jD9M1izK.js +16132 -0
  93. package/dist/chunk-YBOYWFTD-B6CeuteH.js +34 -0
  94. package/dist/chunk-YBOYWFTD-CiLW6HW_.cjs +2 -0
  95. package/dist/classDiagram-VBA2DB6C-Us0kuDfz.cjs +2 -0
  96. package/dist/classDiagram-VBA2DB6C-VOsE3gN0.js +31 -0
  97. package/dist/classDiagram-v2-RAHNMMFH-BWsm3ea6.cjs +2 -0
  98. package/dist/classDiagram-v2-RAHNMMFH-DPqMNfOz.js +31 -0
  99. package/dist/components/AISearchControl/useAISearchControlStyles.d.ts +0 -1
  100. package/dist/components/AspectRatio/AspectRatio.d.ts +0 -1
  101. package/dist/components/AspectRatio/IAspectRationProps.d.ts +0 -1
  102. package/dist/components/Card/ICardProps.d.ts +0 -1
  103. package/dist/components/Carousel/ICarouselProps.d.ts +0 -1
  104. package/dist/components/Carousel/useCarouselButton.d.ts +0 -1
  105. package/dist/components/Carousel/useCarouselStyles.d.ts +0 -1
  106. package/dist/components/Center/ICenterProps.d.ts +0 -1
  107. package/dist/components/ContentRenderer/IContentRendererProps.d.ts +0 -1
  108. package/dist/components/DataGridV2/DataGridV2.d.ts +2 -1
  109. package/dist/components/DataGridV2/IDataGridV2ExtraProps.d.ts +0 -1
  110. package/dist/components/Grid/IGridProps.d.ts +0 -1
  111. package/dist/components/ItemPicker/IItemPickerProps.d.ts +0 -1
  112. package/dist/components/KPIControl/IKpiCardProps.d.ts +0 -1
  113. package/dist/components/ListItemActivityMessage/IActivity.d.ts +0 -1
  114. package/dist/components/ListItemActivityMessage/IActivityMessageProps.d.ts +0 -1
  115. package/dist/components/ListItemActivityMessage/IActor.d.ts +0 -1
  116. package/dist/components/ListItemActivityMessage/useSharePointActivities.d.ts +0 -1
  117. package/dist/components/ListToolbar/FlatItem.d.ts +0 -1
  118. package/dist/components/ListToolbar/IListToolbarProps.d.ts +0 -1
  119. package/dist/components/ListToolbar/IToolbarItem.d.ts +0 -1
  120. package/dist/components/ListToolbar/IToolbarItemRendererProps.d.ts +0 -1
  121. package/dist/components/ListToolbar/helpers.d.ts +0 -1
  122. package/dist/components/MermaidDiagram/useMermaidDiagramStyles.d.ts +0 -1
  123. package/dist/components/Navigation/Navigation.d.ts +0 -1
  124. package/dist/components/Popup/Popup.d.ts +0 -1
  125. package/dist/components/Provider/UniversalProvider.d.ts +0 -1
  126. package/dist/components/Space/ISpaceProps.d.ts +0 -1
  127. package/dist/components/SplitPane/ISplitPaneProps.d.ts +0 -1
  128. package/dist/components/SplitPane/useSplitPaneStyles.d.ts +0 -1
  129. package/dist/components/Stack/IStackProps.d.ts +0 -1
  130. package/dist/components/StackedUsers/IStackedUsersProps.d.ts +0 -1
  131. package/dist/components/StackedUsers/StackedUsers.d.ts +0 -1
  132. package/dist/components/adaptiveCardHost/AdaptiveCardHost.HostConfig.d.ts +0 -1
  133. package/dist/components/adaptiveCardHost/AdaptiveCardHost.Utilities.d.ts +0 -1
  134. package/dist/components/adaptiveCardHost/AdaptiveCardHost.d.ts +0 -1
  135. package/dist/components/adaptiveCardHost/IAdaptiveCardHostProps.d.ts +0 -1
  136. package/dist/components/adaptiveCardHost/fluentUI/Elements.d.ts +0 -1
  137. package/dist/components/adaptiveCardHost/fluentUI/FluentUIChoiceSetInput.d.ts +0 -1
  138. package/dist/components/adaptiveCardHost/fluentUI/FluentUIDateInput.d.ts +0 -1
  139. package/dist/components/adaptiveCardHost/fluentUI/FluentUINumberInput.d.ts +0 -1
  140. package/dist/components/adaptiveCardHost/fluentUI/FluentUITextInput.d.ts +0 -1
  141. package/dist/components/adaptiveCardHost/fluentUI/FluentUIToggleInput.d.ts +0 -1
  142. package/dist/components/adaptiveCardHost/fluentUI/HostCapability.d.ts +0 -1
  143. package/dist/components/adaptiveCardHost/fluentUI/HostConfig.d.ts +0 -1
  144. package/dist/components/adaptiveCardHost/fluentUI/Styles.d.ts +0 -1
  145. package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostConfigResult.d.ts +0 -1
  146. package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostEvaluationContext.d.ts +0 -1
  147. package/dist/components/aiAssistant/ChatAction.d.ts +0 -1
  148. package/dist/components/aiAssistant/ChatInputProps.d.ts +0 -1
  149. package/dist/components/aiAssistant/ChatInputWithMensions.d.ts +0 -1
  150. package/dist/components/aiAssistant/ChatInputWithMensionsProps.d.ts +0 -1
  151. package/dist/components/aiAssistant/ChatInputWithMensionsV1.d.ts +0 -1
  152. package/dist/components/aiAssistant/ChatInputWithMensionsV2.d.ts +0 -1
  153. package/dist/components/aiAssistant/ChatState.d.ts +0 -1
  154. package/dist/components/aiAssistant/IAIAssistantProps.d.ts +0 -1
  155. package/dist/components/aiAssistant/chatReducer.d.ts +0 -1
  156. package/dist/components/aiAssistant/useChatInputStyles.d.ts +0 -1
  157. package/dist/components/aiAssistant/useChatInputWithMensionsStyles.d.ts +0 -1
  158. package/dist/components/aiAssistant/useStyles.d.ts +0 -1
  159. package/dist/components/appDashboard/AppDashboard.d.ts +0 -1
  160. package/dist/components/appDashboard/IAppDashboardProps.d.ts +0 -1
  161. package/dist/components/baseComponentProps/IBaseProps.d.ts +0 -1
  162. package/dist/components/breadcrumb/Breadcrumb.d.ts +0 -1
  163. package/dist/components/breadcrumb/IBreadcrumProps.d.ts +0 -1
  164. package/dist/components/breadcrumb/OverflowMenu.d.ts +0 -1
  165. package/dist/components/breadcrumb/useBreadcrumStyles.d.ts +0 -1
  166. package/dist/components/calendarControl/hooks/useCalendar.d.ts +0 -1
  167. package/dist/components/calendarControl/hooks/useUtils.d.ts +0 -1
  168. package/dist/components/calendarControl/models/ICalendarControlProps.d.ts +0 -1
  169. package/dist/components/calendarControl/models/IEvents.d.ts +0 -1
  170. package/dist/components/customControlBar/ICustomControlBarProps.d.ts +0 -1
  171. package/dist/components/dataGrid/DataGrid.d.ts +0 -1
  172. package/dist/components/dataGrid/IDataGridProps.d.ts +0 -1
  173. package/dist/components/dataGrid/ISortState.d.ts +0 -1
  174. package/dist/components/dataGrid/stack/IStackProps.d.ts +0 -1
  175. package/dist/components/dataGrid/stack/Stack.d.ts +0 -1
  176. package/dist/components/dataGrid/useDataGridStyles.d.ts +0 -1
  177. package/dist/components/dropDownField/IDropDownFieldProps.d.ts +0 -1
  178. package/dist/components/fluentUIProvider/FluentUIProvider.d.ts +0 -1
  179. package/dist/components/iconButton/IconButton.d.ts +0 -1
  180. package/dist/components/iconButton/IconButtonProps.d.ts +0 -1
  181. package/dist/components/mensions/IMensionsProps.d.ts +0 -1
  182. package/dist/components/mensions/Mensions.d.ts +0 -1
  183. package/dist/components/mensions/MensionsExample.d.ts +0 -1
  184. package/dist/components/renderAdaptiveCard/RenderAdaptiveCard.d.ts +0 -1
  185. package/dist/components/searchControl/useSearchControlStyles.d.ts +0 -1
  186. package/dist/components/selectView/SelectView.d.ts +0 -1
  187. package/dist/components/showError/ShowError.d.ts +0 -1
  188. package/dist/components/stackv2/IStackV2Props.d.ts +0 -1
  189. package/dist/components/stackv2/StackV2.d.ts +0 -1
  190. package/dist/components/userCard/IUserCardProps.d.ts +0 -1
  191. package/dist/components/userCard/IUserInfo.d.ts +0 -1
  192. package/dist/components/userCard/UserCard.d.ts +0 -1
  193. package/dist/components/userCard/constants.d.ts +0 -1
  194. package/dist/components/userCard/useUserProfile.d.ts +0 -1
  195. package/dist/components/videoPlayer/VideoPlayer.d.ts +0 -1
  196. package/dist/components/videoPlayer/useVideoStyles.d.ts +0 -1
  197. package/dist/components/worldMap/IWorldMapProps.d.ts +0 -1
  198. package/dist/components/worldMap/MaplibreWorldMapProps.d.ts +0 -1
  199. package/dist/components/worldMap/WorldMap.d.ts +0 -1
  200. package/dist/components/worldMap/WorldMapControl.d.ts +0 -1
  201. package/dist/components/worldMap/useCleanMapStyle.d.ts +0 -1
  202. package/dist/components/worldMap/useGeocodedCountries.d.ts +0 -1
  203. package/dist/cose-bilkent-S5V4N54A-CKhwzobJ.js +2252 -0
  204. package/dist/cose-bilkent-S5V4N54A-DmyaRQ6l.cjs +2 -0
  205. package/dist/cs-FZSeHYld.cjs +2 -0
  206. package/dist/cs-MrS2bH7F.js +210 -0
  207. package/dist/cy-BX97Tgwk.js +210 -0
  208. package/dist/cy-CzQmM2lQ.cjs +2 -0
  209. package/dist/cytoscape.esm-CcJAI0wG.cjs +322 -0
  210. package/dist/cytoscape.esm-D9EjU25_.js +18102 -0
  211. package/dist/da-BnewPPrh.js +210 -0
  212. package/dist/da-CexFt-Oj.cjs +2 -0
  213. package/dist/dagre-CpEPaL3r.cjs +2 -0
  214. package/dist/dagre-Dd8wCGc6.js +1305 -0
  215. package/dist/dagre-KLK3FWXG-BpxkjvB3.js +294 -0
  216. package/dist/dagre-KLK3FWXG-DIznPQl_.cjs +5 -0
  217. package/dist/de-B68HwuYu.cjs +2 -0
  218. package/dist/de-BSZuzGTL.js +210 -0
  219. package/dist/defaultLocale-CYOzCjwh.js +203 -0
  220. package/dist/defaultLocale-DSgylVA1.cjs +2 -0
  221. package/dist/diagram-E7M64L7V-dXqTi77U.cjs +25 -0
  222. package/dist/diagram-E7M64L7V-oX07GVAD.js +529 -0
  223. package/dist/diagram-IFDJBPK2-CriVAAmI.cjs +44 -0
  224. package/dist/diagram-IFDJBPK2-lCNF06_S.js +215 -0
  225. package/dist/diagram-P4PSJMXO-TfwVJh4S.js +135 -0
  226. package/dist/diagram-P4PSJMXO-k7F0lH6Q.cjs +25 -0
  227. package/dist/dist-CV9Ez7cn.js +52 -0
  228. package/dist/dist-DVthN7lF.cjs +2 -0
  229. package/dist/el-DQc4jSMd.cjs +2 -0
  230. package/dist/el-DrOk3N7-.js +210 -0
  231. package/dist/erDiagram-INFDFZHY-CDt3mOSU.cjs +71 -0
  232. package/dist/erDiagram-INFDFZHY-Ds_R2Ds4.js +1668 -0
  233. package/dist/es-CGqzubZ2.js +210 -0
  234. package/dist/es-DI8Y4Bv1.cjs +2 -0
  235. package/dist/et-DGqkocuq.js +210 -0
  236. package/dist/et-DfaryKvp.cjs +2 -0
  237. package/dist/eu-BVOSXciF.cjs +2 -0
  238. package/dist/eu-DEo7fdTW.js +210 -0
  239. package/dist/fi-C5L-OzaI.cjs +2 -0
  240. package/dist/fi-DxErwnd5.js +210 -0
  241. package/dist/flowDiagram-PKNHOUZH-7XJG07fo.cjs +163 -0
  242. package/dist/flowDiagram-PKNHOUZH-CkeYebJ5.js +4163 -0
  243. package/dist/fr-yFvjqx8B.cjs +2 -0
  244. package/dist/fr-zrtSZX0o.js +210 -0
  245. package/dist/ga-6mVQhlWi.cjs +2 -0
  246. package/dist/ga-CbHxGc9_.js +210 -0
  247. package/dist/ganttDiagram-A5KZAMGK-Bbck1pyM.cjs +293 -0
  248. package/dist/ganttDiagram-A5KZAMGK-CFT3Xn_r.js +3074 -0
  249. package/dist/gitGraph-HDMCJU4V-BKE04oIl.js +3 -0
  250. package/dist/gitGraph-HDMCJU4V-C9GYfOYb.cjs +1 -0
  251. package/dist/gitGraphDiagram-K3NZZRJ6-CXz9SHBX.js +627 -0
  252. package/dist/gitGraphDiagram-K3NZZRJ6-Dt4D-ig1.cjs +66 -0
  253. package/dist/gl--w0P3RY4.js +210 -0
  254. package/dist/gl-BJzJe1sq.cjs +2 -0
  255. package/dist/graphlib-CPo7oIsu.js +223 -0
  256. package/dist/graphlib-CmUS4Qin.cjs +2 -0
  257. package/dist/he-B3Bw3qr0.cjs +2 -0
  258. package/dist/he-DY19lzWp.js +210 -0
  259. package/dist/hi-CFSsoO_8.js +210 -0
  260. package/dist/hi-kofL-mD8.cjs +2 -0
  261. package/dist/hooks/useBrandCenterFonts.d.ts +0 -1
  262. package/dist/hooks/useGraphAPI.d.ts +0 -1
  263. package/dist/hooks/useLocalizationStrings.d.ts +0 -1
  264. package/dist/hooks/useLogging.d.ts +0 -1
  265. package/dist/hr-CDxqA9Jm.cjs +2 -0
  266. package/dist/hr-DIRJ1Z8e.js +210 -0
  267. package/dist/hu-Defen_75.cjs +2 -0
  268. package/dist/hu-DqYPRWZh.js +210 -0
  269. package/dist/id-DcwMRgmX.cjs +2 -0
  270. package/dist/id-Dgj7SUCi.js +210 -0
  271. package/dist/identity-6JlhFhuM.cjs +2 -0
  272. package/dist/identity-C1jKsMoW.js +395 -0
  273. package/dist/index.cjs +453 -2
  274. package/dist/index.js +22828 -168
  275. package/dist/info-3K5VOQVL-DfN_3mKd.js +3 -0
  276. package/dist/info-3K5VOQVL-d6J9FY0_.cjs +1 -0
  277. package/dist/infoDiagram-LFFYTUFH-Bp9btqnA.cjs +3 -0
  278. package/dist/infoDiagram-LFFYTUFH-DnvgRFnx.js +21 -0
  279. package/dist/init-BAFZAp9S.cjs +2 -0
  280. package/dist/init-m0TwgR4W.js +17 -0
  281. package/dist/isEmpty-BTp1uKIj.cjs +2 -0
  282. package/dist/isEmpty-uXVYZZYe.js +17 -0
  283. package/dist/ishikawaDiagram-PHBUUO56-DLaOkz38.js +719 -0
  284. package/dist/ishikawaDiagram-PHBUUO56-DmqObwMZ.cjs +71 -0
  285. package/dist/it-D5nM6KCi.cjs +2 -0
  286. package/dist/it-QdChHqVN.js +210 -0
  287. package/dist/ja-BNS0BbY-.js +210 -0
  288. package/dist/ja-BtuHirv7.cjs +2 -0
  289. package/dist/journeyDiagram-4ABVD52K-Cv0DbLMi.cjs +140 -0
  290. package/dist/journeyDiagram-4ABVD52K-DYmmcNK4.js +885 -0
  291. package/dist/kanban-definition-K7BYSVSG-BdQLAMeB.cjs +90 -0
  292. package/dist/kanban-definition-K7BYSVSG-CLEYqSz5.js +973 -0
  293. package/dist/katex-B-Nju2J8.js +22002 -0
  294. package/dist/katex-WY67Rp7A.cjs +266 -0
  295. package/dist/kk-BSl8IqgQ.cjs +2 -0
  296. package/dist/kk-Dhkax68h.js +210 -0
  297. package/dist/ko-eplb1GD0.cjs +2 -0
  298. package/dist/ko-heRMHZWp.js +210 -0
  299. package/dist/line-CbEBKCYr.js +36 -0
  300. package/dist/line-DqSdvtRR.cjs +2 -0
  301. package/dist/linear-DvLDpS6A.cjs +2 -0
  302. package/dist/linear-Eb79THx6.js +291 -0
  303. package/dist/localization/ILibraryStrings.d.ts +0 -1
  304. package/dist/localization/defaults/ar.d.ts +0 -1
  305. package/dist/localization/defaults/az.d.ts +0 -1
  306. package/dist/localization/defaults/bg.d.ts +0 -1
  307. package/dist/localization/defaults/bs.d.ts +0 -1
  308. package/dist/localization/defaults/ca.d.ts +0 -1
  309. package/dist/localization/defaults/cs.d.ts +0 -1
  310. package/dist/localization/defaults/cy.d.ts +0 -1
  311. package/dist/localization/defaults/da.d.ts +0 -1
  312. package/dist/localization/defaults/de.d.ts +0 -1
  313. package/dist/localization/defaults/el.d.ts +0 -1
  314. package/dist/localization/defaults/en.d.ts +0 -1
  315. package/dist/localization/defaults/es.d.ts +0 -1
  316. package/dist/localization/defaults/et.d.ts +0 -1
  317. package/dist/localization/defaults/eu.d.ts +0 -1
  318. package/dist/localization/defaults/fi.d.ts +0 -1
  319. package/dist/localization/defaults/fr.d.ts +0 -1
  320. package/dist/localization/defaults/ga.d.ts +0 -1
  321. package/dist/localization/defaults/gl.d.ts +0 -1
  322. package/dist/localization/defaults/he.d.ts +0 -1
  323. package/dist/localization/defaults/hi.d.ts +0 -1
  324. package/dist/localization/defaults/hr.d.ts +0 -1
  325. package/dist/localization/defaults/hu.d.ts +0 -1
  326. package/dist/localization/defaults/id.d.ts +0 -1
  327. package/dist/localization/defaults/it.d.ts +0 -1
  328. package/dist/localization/defaults/ja.d.ts +0 -1
  329. package/dist/localization/defaults/kk.d.ts +0 -1
  330. package/dist/localization/defaults/ko.d.ts +0 -1
  331. package/dist/localization/defaults/lt.d.ts +0 -1
  332. package/dist/localization/defaults/lv.d.ts +0 -1
  333. package/dist/localization/defaults/mk.d.ts +0 -1
  334. package/dist/localization/defaults/ms.d.ts +0 -1
  335. package/dist/localization/defaults/nb.d.ts +0 -1
  336. package/dist/localization/defaults/nl.d.ts +0 -1
  337. package/dist/localization/defaults/pl.d.ts +0 -1
  338. package/dist/localization/defaults/pt.d.ts +0 -1
  339. package/dist/localization/defaults/ro.d.ts +0 -1
  340. package/dist/localization/defaults/ru.d.ts +0 -1
  341. package/dist/localization/defaults/sk.d.ts +0 -1
  342. package/dist/localization/defaults/sl.d.ts +0 -1
  343. package/dist/localization/defaults/sr.d.ts +0 -1
  344. package/dist/localization/defaults/sv.d.ts +0 -1
  345. package/dist/localization/defaults/th.d.ts +0 -1
  346. package/dist/localization/defaults/tr.d.ts +0 -1
  347. package/dist/localization/defaults/uk.d.ts +0 -1
  348. package/dist/localization/defaults/vi.d.ts +0 -1
  349. package/dist/localization/defaults/zh.d.ts +0 -1
  350. package/dist/lt-Decqbo8S.js +210 -0
  351. package/dist/lt-DsYAWFbF.cjs +2 -0
  352. package/dist/lv-DHmTjCb8.cjs +2 -0
  353. package/dist/lv-wZASv0Lw.js +210 -0
  354. package/dist/maplibre-gl-qSrG75fp.js +33003 -0
  355. package/dist/maplibre-gl-tm_pVdmb.cjs +757 -0
  356. package/dist/math-DR9t6ixc.cjs +2 -0
  357. package/dist/math-DyURnvXC.js +12 -0
  358. package/dist/mermaid-parser.core-BdTB9qx-.js +61 -0
  359. package/dist/mermaid-parser.core-BlzF5RRD.cjs +4 -0
  360. package/dist/mindmap-definition-YRQLILUH-CzcVgr-U.js +966 -0
  361. package/dist/mindmap-definition-YRQLILUH-zWN_YXC3.cjs +69 -0
  362. package/dist/mk-BTsLGTJT.js +210 -0
  363. package/dist/mk-CCV_308U.cjs +2 -0
  364. package/dist/ms-C0cVNwky.js +210 -0
  365. package/dist/ms-CH83xVYN.cjs +2 -0
  366. package/dist/nb-DGX4q4tS.js +210 -0
  367. package/dist/nb-DZ-DlwcL.cjs +2 -0
  368. package/dist/nl-CnXZa8tZ.js +210 -0
  369. package/dist/nl-Xdf-A19i.cjs +2 -0
  370. package/dist/ordinal-BAWGEQkf.js +67 -0
  371. package/dist/ordinal-CL2X4e2C.cjs +2 -0
  372. package/dist/packet-RMMSAZCW-Bek1stRX.cjs +1 -0
  373. package/dist/packet-RMMSAZCW-DUN6t9lN.js +3 -0
  374. package/dist/path-Bt6guLtL.cjs +2 -0
  375. package/dist/path-DSzKK8fH.js +87 -0
  376. package/dist/pie-UPGHQEXC-DjqNO54R.js +3 -0
  377. package/dist/pie-UPGHQEXC-pJq6_YgE.cjs +1 -0
  378. package/dist/pieDiagram-SKSYHLDU-Ba-c0fRA.cjs +31 -0
  379. package/dist/pieDiagram-SKSYHLDU-ya07MTY-.js +167 -0
  380. package/dist/pl-BStql1S-.cjs +2 -0
  381. package/dist/pl-DbIdTNpg.js +210 -0
  382. package/dist/providers.cjs +2 -2
  383. package/dist/providers.d.ts +1 -0
  384. package/dist/providers.js +188 -252
  385. package/dist/pt-CcKYweQk.js +210 -0
  386. package/dist/pt-Dk4jELuZ.cjs +2 -0
  387. package/dist/quadrantDiagram-337W2JSQ-CQQEVC49.cjs +8 -0
  388. package/dist/quadrantDiagram-337W2JSQ-Dp_QyIEO.js +1976 -0
  389. package/dist/radar-KQ55EAFF-Bid2hXXI.cjs +1 -0
  390. package/dist/radar-KQ55EAFF-C6zhEkCz.js +3 -0
  391. package/dist/requirementDiagram-Z7DCOOCP-CRl2914V.js +2203 -0
  392. package/dist/requirementDiagram-Z7DCOOCP-CeMYhXEm.cjs +74 -0
  393. package/dist/ro-BvhMyTKh.cjs +2 -0
  394. package/dist/ro-C-8tiqgA.js +210 -0
  395. package/dist/rough.esm-BjJ_weyP.cjs +2 -0
  396. package/dist/rough.esm-DBHP55VQ.js +1354 -0
  397. package/dist/ru-BQosng8l.cjs +2 -0
  398. package/dist/ru-Dhnz96q2.js +210 -0
  399. package/dist/sankeyDiagram-WA2Y5GQK-BFrF47Iv.js +922 -0
  400. package/dist/sankeyDiagram-WA2Y5GQK-DDfjtQ4G.cjs +11 -0
  401. package/dist/sequenceDiagram-2WXFIKYE-B-zWyr9f.cjs +146 -0
  402. package/dist/sequenceDiagram-2WXFIKYE-BAd8OVlz.js +4111 -0
  403. package/dist/sk-BU-Z5EsC.js +210 -0
  404. package/dist/sk-BhA7UeAk.cjs +2 -0
  405. package/dist/sl-6Mczv4jG.cjs +2 -0
  406. package/dist/sl-CcfjJFxo.js +210 -0
  407. package/dist/sr-CxObZdu0.cjs +2 -0
  408. package/dist/sr-S53unrLA.js +210 -0
  409. package/dist/src-DFxq-N5I.cjs +2 -0
  410. package/dist/src-Dm6r9c7l.js +2148 -0
  411. package/dist/stateDiagram-RAJIS63D-C-tfqeC-.js +219 -0
  412. package/dist/stateDiagram-RAJIS63D-C1Aj8vJQ.cjs +2 -0
  413. package/dist/stateDiagram-v2-FVOUBMTO-C-w53gXL.js +29 -0
  414. package/dist/stateDiagram-v2-FVOUBMTO-VoIE_KVn.cjs +2 -0
  415. package/dist/sv-BfiunVuX.cjs +2 -0
  416. package/dist/sv-BiJrVfZr.js +210 -0
  417. package/dist/th-BqLGltZi.cjs +2 -0
  418. package/dist/th-vQ7LQ7nD.js +210 -0
  419. package/dist/timeline-definition-YZTLITO2-CE1y2S_r.js +832 -0
  420. package/dist/timeline-definition-YZTLITO2-D8aFfnYE.cjs +62 -0
  421. package/dist/tr-Brwl4o_Z.cjs +2 -0
  422. package/dist/tr-C5RrNGLz.js +210 -0
  423. package/dist/treemap-KZPCXAKY-D2v0uStP.cjs +1 -0
  424. package/dist/treemap-KZPCXAKY-DLE_f1Bk.js +3 -0
  425. package/dist/types/THorizontalSpacing.d.ts +0 -1
  426. package/dist/types/THorizontalSpacingBreakPoints.d.ts +0 -1
  427. package/dist/types/TPaddingBreakPoints.d.ts +0 -1
  428. package/dist/types/TPading.d.ts +0 -1
  429. package/dist/types/TVerticalSpacing.d.ts +0 -1
  430. package/dist/types/TVerticalSpacingBreakPoints.d.ts +0 -1
  431. package/dist/uk-CV49TRvS.cjs +2 -0
  432. package/dist/uk-WGCFH0fY.js +210 -0
  433. package/dist/vennDiagram-LZ73GAT5-BSpVMORX.js +1860 -0
  434. package/dist/vennDiagram-LZ73GAT5-DvnB0e7u.cjs +35 -0
  435. package/dist/vi-JzM7bjn_.cjs +2 -0
  436. package/dist/vi-Waa7HkXq.js +210 -0
  437. package/dist/xychartDiagram-JWTSCODW-0qbVGrDs.cjs +8 -0
  438. package/dist/xychartDiagram-JWTSCODW-DpIry-th.js +2043 -0
  439. package/dist/zh-BmUS7Wn_.js +210 -0
  440. package/dist/zh-DEm0SGzZ.cjs +2 -0
  441. package/package.json +7 -7
  442. package/dist/LocalizationProvider-BLjmybBa.cjs +0 -2
  443. package/dist/LocalizationProvider-BSlUf0tp.js +0 -497
  444. package/dist/_arrayEach-Cje_jmPk.cjs +0 -2
  445. package/dist/_arrayEach-FofefpDi.js +0 -61
  446. package/dist/ar-C1pLt8fa.js +0 -219
  447. package/dist/ar-Jzw7PLrc.cjs +0 -2
  448. package/dist/arc-5Gjtja_I.js +0 -132
  449. package/dist/arc-DJHyDr2O.cjs +0 -2
  450. package/dist/architecture-7HQA4BMR-B3tJE43W.js +0 -6
  451. package/dist/architecture-7HQA4BMR-gT33-zCB.cjs +0 -2
  452. package/dist/architectureDiagram-VXUJARFQ-2JSYYGtM.js +0 -8680
  453. package/dist/architectureDiagram-VXUJARFQ-DXZHHpiT.cjs +0 -2
  454. package/dist/az-C0Ow5Hxa.cjs +0 -2
  455. package/dist/az-C3-F9ybX.js +0 -219
  456. package/dist/bg-YB0TmpRF.cjs +0 -2
  457. package/dist/bg-w2e_udiK.js +0 -219
  458. package/dist/blockDiagram-VD42YOAC-B6nGrskI.js +0 -3756
  459. package/dist/blockDiagram-VD42YOAC-quPSWMXj.cjs +0 -2
  460. package/dist/bs-BoW04lRb.cjs +0 -2
  461. package/dist/bs-CEe_gjEx.js +0 -219
  462. package/dist/c4Diagram-YG6GDRKO-CvSU_nSb.js +0 -2483
  463. package/dist/c4Diagram-YG6GDRKO-yrm6z9xI.cjs +0 -2
  464. package/dist/ca-Bsy2Y5pS.cjs +0 -2
  465. package/dist/ca-CKpd72XI.js +0 -219
  466. package/dist/channel-BGx_PGej.cjs +0 -2
  467. package/dist/channel-Dx_x_I-e.js +0 -8
  468. package/dist/chunk-4BX2VUAB-DE7Tf1KJ.js +0 -18
  469. package/dist/chunk-4BX2VUAB-hg2h7y7T.cjs +0 -2
  470. package/dist/chunk-55IACEB6-5VDRE5b9.js +0 -14
  471. package/dist/chunk-55IACEB6-DQzh2BFT.cjs +0 -2
  472. package/dist/chunk-B4BG7PRW-BONACuKe.cjs +0 -2
  473. package/dist/chunk-B4BG7PRW-ClXZOBBj.js +0 -1828
  474. package/dist/chunk-DI55MBZ5-CnX_pntz.cjs +0 -2
  475. package/dist/chunk-DI55MBZ5-Cw4AXuM5.js +0 -1928
  476. package/dist/chunk-FMBD7UC4-vGLXIanH.cjs +0 -2
  477. package/dist/chunk-QN33PNHL-Bi6cNSdZ.cjs +0 -2
  478. package/dist/chunk-QN33PNHL-NyikcZce.js +0 -26
  479. package/dist/chunk-QZHKN3VN-Cj-nkoY3.cjs +0 -2
  480. package/dist/chunk-QZHKN3VN-DRpbGzBX.js +0 -18
  481. package/dist/chunk-TZMSLE5B-Dbk2wKaP.cjs +0 -2
  482. package/dist/chunk-TZMSLE5B-DiEITu_i.js +0 -109
  483. package/dist/classDiagram-2ON5EDUG-CZ8qM-r0.js +0 -20
  484. package/dist/classDiagram-2ON5EDUG-GEqVHOl4.cjs +0 -2
  485. package/dist/classDiagram-v2-WZHVMYZB-CZ8qM-r0.js +0 -20
  486. package/dist/classDiagram-v2-WZHVMYZB-GEqVHOl4.cjs +0 -2
  487. package/dist/cose-bilkent-S5V4N54A-Bk5UrOC6.cjs +0 -2
  488. package/dist/cose-bilkent-S5V4N54A-D9POuI1b.js +0 -4934
  489. package/dist/cs-D-801PIR.cjs +0 -2
  490. package/dist/cs-DQvRPciB.js +0 -219
  491. package/dist/cy-BxyJCM05.js +0 -219
  492. package/dist/cy-aUPUcn-S.cjs +0 -2
  493. package/dist/cytoscape.esm-BS1owLay.js +0 -30250
  494. package/dist/cytoscape.esm-BxB3woZB.cjs +0 -10
  495. package/dist/da-B05ad5Iq.js +0 -219
  496. package/dist/da-CTiLOqut.cjs +0 -2
  497. package/dist/dagre-6UL2VRFP-BGgMwKrx.cjs +0 -2
  498. package/dist/dagre-6UL2VRFP-D1VXYHDk.js +0 -696
  499. package/dist/de-DJ5iwpd7.js +0 -219
  500. package/dist/de-Dm204UMA.cjs +0 -2
  501. package/dist/defaultLocale-7NeEK7SF.cjs +0 -2
  502. package/dist/defaultLocale-DVr69WTU.js +0 -207
  503. package/dist/diagram-PSM6KHXK-BnJ6u90U.cjs +0 -2
  504. package/dist/diagram-PSM6KHXK-MkySzwCw.js +0 -848
  505. package/dist/diagram-QEK2KX5R-7oJbO__T.js +0 -305
  506. package/dist/diagram-QEK2KX5R-CQjADuvs.cjs +0 -2
  507. package/dist/diagram-S2PKOQOG-AFF7RL6D.cjs +0 -2
  508. package/dist/diagram-S2PKOQOG-t6d3dY_R.js +0 -212
  509. package/dist/el-CBS9mHS3.js +0 -219
  510. package/dist/el-DbtZj-ph.cjs +0 -2
  511. package/dist/erDiagram-Q2GNP2WA-BY5cfs21.js +0 -1160
  512. package/dist/erDiagram-Q2GNP2WA-CsdjPSsg.cjs +0 -2
  513. package/dist/es-Bo08apQr.js +0 -219
  514. package/dist/es-Cc-4Vqf7.cjs +0 -2
  515. package/dist/et-D5pQ66eY.cjs +0 -2
  516. package/dist/et-pRL0Tmle.js +0 -219
  517. package/dist/eu-Br68gaf7.js +0 -219
  518. package/dist/eu-RZ-27koK.cjs +0 -2
  519. package/dist/fi-BCXB-k_X.js +0 -219
  520. package/dist/fi-Dqa9mgnW.cjs +0 -2
  521. package/dist/flowDiagram-NV44I4VS-BcaW6-_t.cjs +0 -2
  522. package/dist/flowDiagram-NV44I4VS-DoSHOTLX.js +0 -2339
  523. package/dist/fr-B7fhkle4.cjs +0 -2
  524. package/dist/fr-gKE1SSIF.js +0 -219
  525. package/dist/ga-4Hf7vKvr.cjs +0 -2
  526. package/dist/ga-C1SpITZy.js +0 -219
  527. package/dist/ganttDiagram-JELNMOA3-C8aHKsjy.js +0 -3652
  528. package/dist/ganttDiagram-JELNMOA3-YuzFUWYN.cjs +0 -2
  529. package/dist/gitGraph-G5XIXVHT-DN5M1zzB.cjs +0 -2
  530. package/dist/gitGraph-G5XIXVHT-kJP_icZ5.js +0 -6
  531. package/dist/gitGraphDiagram-V2S2FVAM-Bl2LJ6uK.js +0 -1215
  532. package/dist/gitGraphDiagram-V2S2FVAM-DI5S_ure.cjs +0 -2
  533. package/dist/gl-COSpsMSK.cjs +0 -2
  534. package/dist/gl-CSzCeu2L.js +0 -219
  535. package/dist/graph-C7xixGrW.cjs +0 -2
  536. package/dist/graph-DH3cnEko.js +0 -421
  537. package/dist/he-BrkfqoIm.js +0 -219
  538. package/dist/he-C7Wi6-EL.cjs +0 -2
  539. package/dist/hi-C1RGDPzn.js +0 -219
  540. package/dist/hi-ojklJj-a.cjs +0 -2
  541. package/dist/hr-CsO_h2VT.js +0 -219
  542. package/dist/hr-DkEwOCGU.cjs +0 -2
  543. package/dist/hu-CVtbM-V2.js +0 -219
  544. package/dist/hu-D8uAAzvN.cjs +0 -2
  545. package/dist/id-18yPGK2f.cjs +0 -2
  546. package/dist/id-CARSN0W8.js +0 -219
  547. package/dist/index-BMfuEpa-.cjs +0 -428
  548. package/dist/index-BiWHWaTZ.js +0 -55588
  549. package/dist/info-VBDWY6EO-0yZ4VJNq.cjs +0 -2
  550. package/dist/info-VBDWY6EO-CcLNynBA.js +0 -6
  551. package/dist/infoDiagram-HS3SLOUP-Bp0yOoLT.js +0 -32
  552. package/dist/infoDiagram-HS3SLOUP-C0Zno052.cjs +0 -2
  553. package/dist/init-DZ96s0AS.cjs +0 -2
  554. package/dist/init-ZxktEp_H.js +0 -17
  555. package/dist/it-BVq911RW.cjs +0 -2
  556. package/dist/it-ClWGK7XT.js +0 -219
  557. package/dist/ja-BgcKuKZ4.cjs +0 -2
  558. package/dist/ja-DGL12HwE.js +0 -219
  559. package/dist/journeyDiagram-XKPGCS4Q-0OiMrl1O.cjs +0 -2
  560. package/dist/journeyDiagram-XKPGCS4Q-Ci2gigtu.js +0 -1255
  561. package/dist/kanban-definition-3W4ZIXB7-DTLYV2yk.js +0 -1049
  562. package/dist/kanban-definition-3W4ZIXB7-DbJAXyvr.cjs +0 -2
  563. package/dist/katex-DPu4QpBP.cjs +0 -2
  564. package/dist/katex-Dd1-wdX2.js +0 -14523
  565. package/dist/kk-CkKXbKso.js +0 -219
  566. package/dist/kk-Dn3FBkOR.cjs +0 -2
  567. package/dist/ko-CKAbV25b.cjs +0 -2
  568. package/dist/ko-QYvDV2aw.js +0 -219
  569. package/dist/layout-D6yO7DzL.cjs +0 -2
  570. package/dist/layout-bxkZz7Cm.js +0 -1919
  571. package/dist/linear-CmvLp6xX.js +0 -341
  572. package/dist/linear-d_werDwb.cjs +0 -2
  573. package/dist/lt-BKnFyiLV.js +0 -219
  574. package/dist/lt-BnGNEsIS.cjs +0 -2
  575. package/dist/lv-Clqo0Ogm.js +0 -219
  576. package/dist/lv-D3rJQRhc.cjs +0 -2
  577. package/dist/maplibre-gl-B3PlRf6V.js +0 -23511
  578. package/dist/maplibre-gl-Cc1i9T04.cjs +0 -6
  579. package/dist/mermaid-parser.core-CNPkkUbW.cjs +0 -2
  580. package/dist/mermaid-parser.core-CnjbJ8mb.js +0 -23791
  581. package/dist/mindmap-definition-VGOIOE7T-D4S37eSG.cjs +0 -2
  582. package/dist/mindmap-definition-VGOIOE7T-z7i6md6S.js +0 -1129
  583. package/dist/mk-EhcD0RzW.js +0 -219
  584. package/dist/mk-hVxJgrE0.cjs +0 -2
  585. package/dist/ms-CJACwjo7.js +0 -219
  586. package/dist/ms-D0txYckK.cjs +0 -2
  587. package/dist/nb-BfKRl99z.cjs +0 -2
  588. package/dist/nb-NCgnP0Pu.js +0 -219
  589. package/dist/nl-EgsNCunP.js +0 -219
  590. package/dist/nl-ZXiLkBj_.cjs +0 -2
  591. package/dist/ordinal-BZdahNih.cjs +0 -2
  592. package/dist/ordinal-DSZU4PqD.js +0 -77
  593. package/dist/packet-DYOGHKS2-8TxNXRiu.js +0 -6
  594. package/dist/packet-DYOGHKS2-T2_NOyn2.cjs +0 -2
  595. package/dist/pie-VRWISCQL-CVgwt5hn.cjs +0 -2
  596. package/dist/pie-VRWISCQL-Cw5ps4Uc.js +0 -6
  597. package/dist/pieDiagram-ADFJNKIX-9tCdDAIz.cjs +0 -2
  598. package/dist/pieDiagram-ADFJNKIX-BLMaZqln.js +0 -238
  599. package/dist/pl-H28GVtiG.js +0 -219
  600. package/dist/pl-tVjdYTB9.cjs +0 -2
  601. package/dist/pt-1k62N9F3.cjs +0 -2
  602. package/dist/pt-BSPZhWKl.js +0 -211
  603. package/dist/quadrantDiagram-AYHSOK5B-B_5PU35F.cjs +0 -2
  604. package/dist/quadrantDiagram-AYHSOK5B-Njb3KunW.js +0 -1338
  605. package/dist/radar-ZZBFDIW7-B5WKe_gp.js +0 -6
  606. package/dist/radar-ZZBFDIW7-DGwkdfQQ.cjs +0 -2
  607. package/dist/requirementDiagram-UZGBJVZJ-BOgHmi8B.cjs +0 -2
  608. package/dist/requirementDiagram-UZGBJVZJ-wkSzPa52.js +0 -1164
  609. package/dist/ro-9Qt1qDDA.cjs +0 -2
  610. package/dist/ro-BpaZLre_.js +0 -219
  611. package/dist/ru-4WxRouIU.cjs +0 -2
  612. package/dist/ru-CUZzD-Tx.js +0 -219
  613. package/dist/sankeyDiagram-TZEHDZUN-p1th2H-P.js +0 -1194
  614. package/dist/sankeyDiagram-TZEHDZUN-wNi-DuI_.cjs +0 -2
  615. package/dist/sequenceDiagram-WL72ISMW-CZsA3nl_.js +0 -3882
  616. package/dist/sequenceDiagram-WL72ISMW-DHsfFVVL.cjs +0 -2
  617. package/dist/sk-CoQ6XiCY.js +0 -219
  618. package/dist/sk-uWukDQab.cjs +0 -2
  619. package/dist/sl-B6DVbKg6.cjs +0 -2
  620. package/dist/sl-CHW-ZGol.js +0 -219
  621. package/dist/sr-BOD8Tc-D.cjs +0 -2
  622. package/dist/sr-EQGjIBJE.js +0 -219
  623. package/dist/stateDiagram-FKZM4ZOC-CZDqf83I.js +0 -449
  624. package/dist/stateDiagram-FKZM4ZOC-uCSdqeo_.cjs +0 -2
  625. package/dist/stateDiagram-v2-4FDKWEC3-Ard7BOGd.js +0 -20
  626. package/dist/stateDiagram-v2-4FDKWEC3-LQ3nCDHa.cjs +0 -2
  627. package/dist/sv-B6nLuQr7.cjs +0 -2
  628. package/dist/sv-DTxWN6ED.js +0 -219
  629. package/dist/th-BVPzHvBf.js +0 -219
  630. package/dist/th-DmULV6uT.cjs +0 -2
  631. package/dist/timeline-definition-IT6M3QCI-5Kl_f6ac.cjs +0 -2
  632. package/dist/timeline-definition-IT6M3QCI-DOIExRzF.js +0 -1227
  633. package/dist/tr-BE5geTUC.cjs +0 -2
  634. package/dist/tr-BHR1QA-D.js +0 -219
  635. package/dist/treemap-GDKQZRPO-BsGYh-La.cjs +0 -2
  636. package/dist/treemap-GDKQZRPO-DQPba0Eh.js +0 -6
  637. package/dist/uk-Bc5TwelE.js +0 -219
  638. package/dist/uk-DS5ukB_-.cjs +0 -2
  639. package/dist/vi-D9FF4kkG.cjs +0 -2
  640. package/dist/vi-DC0eQZb7.js +0 -219
  641. package/dist/xychartDiagram-PRI3JC2R-DkaIeov2.cjs +0 -2
  642. package/dist/xychartDiagram-PRI3JC2R-DyqZd9yp.js +0 -1887
  643. package/dist/zh-CGcOiJ3s.cjs +0 -2
  644. package/dist/zh-GsCLn8OE.js +0 -219
@@ -0,0 +1,2043 @@
1
+ import { g as e, h as t } from "./src-Dm6r9c7l.js";
2
+ import { B as n, C as r, E as i, L as a, V as o, W as s, _ as c, a as l, c as u, d, v as f, y as p } from "./chunk-7R4GIKGN-CaQJ0QBF.js";
3
+ import { t as m } from "./linear-Eb79THx6.js";
4
+ import { t as h } from "./ordinal-BAWGEQkf.js";
5
+ import { t as g } from "./init-m0TwgR4W.js";
6
+ import { r as _ } from "./chunk-GEFDOKGD-BNgT40Ex.js";
7
+ import { t as v } from "./line-CbEBKCYr.js";
8
+ import { t as y } from "./chunk-HHEYEP7N-DO1AYIZw.js";
9
+ import { t as b } from "./chunk-PU5JKC2W-BM5NPS-q.js";
10
+ //#region node_modules/d3-array/src/range.js
11
+ function x(e, t, n) {
12
+ e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
13
+ for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
14
+ return a;
15
+ }
16
+ //#endregion
17
+ //#region node_modules/d3-scale/src/band.js
18
+ function S() {
19
+ var e = h().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
20
+ delete e.unknown;
21
+ function d() {
22
+ var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;
23
+ a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));
24
+ var m = x(e).map(function(e) {
25
+ return f + a * e;
26
+ });
27
+ return n(d ? m.reverse() : m);
28
+ }
29
+ return e.domain = function(e) {
30
+ return arguments.length ? (t(e), d()) : t();
31
+ }, e.range = function(e) {
32
+ return arguments.length ? ([r, i] = e, r = +r, i = +i, d()) : [r, i];
33
+ }, e.rangeRound = function(e) {
34
+ return [r, i] = e, r = +r, i = +i, s = !0, d();
35
+ }, e.bandwidth = function() {
36
+ return o;
37
+ }, e.step = function() {
38
+ return a;
39
+ }, e.round = function(e) {
40
+ return arguments.length ? (s = !!e, d()) : s;
41
+ }, e.padding = function(e) {
42
+ return arguments.length ? (c = Math.min(1, l = +e), d()) : c;
43
+ }, e.paddingInner = function(e) {
44
+ return arguments.length ? (c = Math.min(1, e), d()) : c;
45
+ }, e.paddingOuter = function(e) {
46
+ return arguments.length ? (l = +e, d()) : l;
47
+ }, e.align = function(e) {
48
+ return arguments.length ? (u = Math.max(0, Math.min(1, e)), d()) : u;
49
+ }, e.copy = function() {
50
+ return S(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
51
+ }, g.apply(d(), arguments);
52
+ }
53
+ //#endregion
54
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-JWTSCODW.mjs
55
+ var C = (function() {
56
+ var e = /* @__PURE__ */ t(function(e, t, n, r) {
57
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
58
+ return n;
59
+ }, "o"), n = [
60
+ 1,
61
+ 10,
62
+ 12,
63
+ 14,
64
+ 16,
65
+ 18,
66
+ 19,
67
+ 21,
68
+ 23
69
+ ], r = [2, 6], i = [1, 3], a = [1, 5], o = [1, 6], s = [1, 7], c = [
70
+ 1,
71
+ 5,
72
+ 10,
73
+ 12,
74
+ 14,
75
+ 16,
76
+ 18,
77
+ 19,
78
+ 21,
79
+ 23,
80
+ 34,
81
+ 35,
82
+ 36
83
+ ], l = [1, 25], u = [1, 26], d = [1, 28], f = [1, 29], p = [1, 30], m = [1, 31], h = [1, 32], g = [1, 33], _ = [1, 34], v = [1, 35], y = [1, 36], b = [1, 37], x = [1, 43], S = [1, 42], C = [1, 47], w = [1, 50], T = [
84
+ 1,
85
+ 10,
86
+ 12,
87
+ 14,
88
+ 16,
89
+ 18,
90
+ 19,
91
+ 21,
92
+ 23,
93
+ 34,
94
+ 35,
95
+ 36
96
+ ], E = [
97
+ 1,
98
+ 10,
99
+ 12,
100
+ 14,
101
+ 16,
102
+ 18,
103
+ 19,
104
+ 21,
105
+ 23,
106
+ 24,
107
+ 26,
108
+ 27,
109
+ 28,
110
+ 34,
111
+ 35,
112
+ 36
113
+ ], D = [
114
+ 1,
115
+ 10,
116
+ 12,
117
+ 14,
118
+ 16,
119
+ 18,
120
+ 19,
121
+ 21,
122
+ 23,
123
+ 24,
124
+ 26,
125
+ 27,
126
+ 28,
127
+ 34,
128
+ 35,
129
+ 36,
130
+ 41,
131
+ 42,
132
+ 43,
133
+ 44,
134
+ 45,
135
+ 46,
136
+ 47,
137
+ 48,
138
+ 49,
139
+ 50
140
+ ], O = [1, 64], k = {
141
+ trace: /* @__PURE__ */ t(function() {}, "trace"),
142
+ yy: {},
143
+ symbols_: {
144
+ error: 2,
145
+ start: 3,
146
+ eol: 4,
147
+ XYCHART: 5,
148
+ chartConfig: 6,
149
+ document: 7,
150
+ CHART_ORIENTATION: 8,
151
+ statement: 9,
152
+ title: 10,
153
+ text: 11,
154
+ X_AXIS: 12,
155
+ parseXAxis: 13,
156
+ Y_AXIS: 14,
157
+ parseYAxis: 15,
158
+ LINE: 16,
159
+ plotData: 17,
160
+ BAR: 18,
161
+ acc_title: 19,
162
+ acc_title_value: 20,
163
+ acc_descr: 21,
164
+ acc_descr_value: 22,
165
+ acc_descr_multiline_value: 23,
166
+ SQUARE_BRACES_START: 24,
167
+ commaSeparatedNumbers: 25,
168
+ SQUARE_BRACES_END: 26,
169
+ NUMBER_WITH_DECIMAL: 27,
170
+ COMMA: 28,
171
+ xAxisData: 29,
172
+ bandData: 30,
173
+ ARROW_DELIMITER: 31,
174
+ commaSeparatedTexts: 32,
175
+ yAxisData: 33,
176
+ NEWLINE: 34,
177
+ SEMI: 35,
178
+ EOF: 36,
179
+ alphaNum: 37,
180
+ STR: 38,
181
+ MD_STR: 39,
182
+ alphaNumToken: 40,
183
+ AMP: 41,
184
+ NUM: 42,
185
+ ALPHA: 43,
186
+ PLUS: 44,
187
+ EQUALS: 45,
188
+ MULT: 46,
189
+ DOT: 47,
190
+ BRKT: 48,
191
+ MINUS: 49,
192
+ UNDERSCORE: 50,
193
+ $accept: 0,
194
+ $end: 1
195
+ },
196
+ terminals_: {
197
+ 2: "error",
198
+ 5: "XYCHART",
199
+ 8: "CHART_ORIENTATION",
200
+ 10: "title",
201
+ 12: "X_AXIS",
202
+ 14: "Y_AXIS",
203
+ 16: "LINE",
204
+ 18: "BAR",
205
+ 19: "acc_title",
206
+ 20: "acc_title_value",
207
+ 21: "acc_descr",
208
+ 22: "acc_descr_value",
209
+ 23: "acc_descr_multiline_value",
210
+ 24: "SQUARE_BRACES_START",
211
+ 26: "SQUARE_BRACES_END",
212
+ 27: "NUMBER_WITH_DECIMAL",
213
+ 28: "COMMA",
214
+ 31: "ARROW_DELIMITER",
215
+ 34: "NEWLINE",
216
+ 35: "SEMI",
217
+ 36: "EOF",
218
+ 38: "STR",
219
+ 39: "MD_STR",
220
+ 41: "AMP",
221
+ 42: "NUM",
222
+ 43: "ALPHA",
223
+ 44: "PLUS",
224
+ 45: "EQUALS",
225
+ 46: "MULT",
226
+ 47: "DOT",
227
+ 48: "BRKT",
228
+ 49: "MINUS",
229
+ 50: "UNDERSCORE"
230
+ },
231
+ productions_: [
232
+ 0,
233
+ [3, 2],
234
+ [3, 3],
235
+ [3, 2],
236
+ [3, 1],
237
+ [6, 1],
238
+ [7, 0],
239
+ [7, 2],
240
+ [9, 2],
241
+ [9, 2],
242
+ [9, 2],
243
+ [9, 2],
244
+ [9, 2],
245
+ [9, 3],
246
+ [9, 2],
247
+ [9, 3],
248
+ [9, 2],
249
+ [9, 2],
250
+ [9, 1],
251
+ [17, 3],
252
+ [25, 3],
253
+ [25, 1],
254
+ [13, 1],
255
+ [13, 2],
256
+ [13, 1],
257
+ [29, 1],
258
+ [29, 3],
259
+ [30, 3],
260
+ [32, 3],
261
+ [32, 1],
262
+ [15, 1],
263
+ [15, 2],
264
+ [15, 1],
265
+ [33, 3],
266
+ [4, 1],
267
+ [4, 1],
268
+ [4, 1],
269
+ [11, 1],
270
+ [11, 1],
271
+ [11, 1],
272
+ [37, 1],
273
+ [37, 2],
274
+ [40, 1],
275
+ [40, 1],
276
+ [40, 1],
277
+ [40, 1],
278
+ [40, 1],
279
+ [40, 1],
280
+ [40, 1],
281
+ [40, 1],
282
+ [40, 1],
283
+ [40, 1]
284
+ ],
285
+ performAction: /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
286
+ var s = a.length - 1;
287
+ switch (i) {
288
+ case 5:
289
+ r.setOrientation(a[s]);
290
+ break;
291
+ case 9:
292
+ r.setDiagramTitle(a[s].text.trim());
293
+ break;
294
+ case 12:
295
+ r.setLineData({
296
+ text: "",
297
+ type: "text"
298
+ }, a[s]);
299
+ break;
300
+ case 13:
301
+ r.setLineData(a[s - 1], a[s]);
302
+ break;
303
+ case 14:
304
+ r.setBarData({
305
+ text: "",
306
+ type: "text"
307
+ }, a[s]);
308
+ break;
309
+ case 15:
310
+ r.setBarData(a[s - 1], a[s]);
311
+ break;
312
+ case 16:
313
+ this.$ = a[s].trim(), r.setAccTitle(this.$);
314
+ break;
315
+ case 17:
316
+ case 18:
317
+ this.$ = a[s].trim(), r.setAccDescription(this.$);
318
+ break;
319
+ case 19:
320
+ this.$ = a[s - 1];
321
+ break;
322
+ case 20:
323
+ this.$ = [Number(a[s - 2]), ...a[s]];
324
+ break;
325
+ case 21:
326
+ this.$ = [Number(a[s])];
327
+ break;
328
+ case 22:
329
+ r.setXAxisTitle(a[s]);
330
+ break;
331
+ case 23:
332
+ r.setXAxisTitle(a[s - 1]);
333
+ break;
334
+ case 24:
335
+ r.setXAxisTitle({
336
+ type: "text",
337
+ text: ""
338
+ });
339
+ break;
340
+ case 25:
341
+ r.setXAxisBand(a[s]);
342
+ break;
343
+ case 26:
344
+ r.setXAxisRangeData(Number(a[s - 2]), Number(a[s]));
345
+ break;
346
+ case 27:
347
+ this.$ = a[s - 1];
348
+ break;
349
+ case 28:
350
+ this.$ = [a[s - 2], ...a[s]];
351
+ break;
352
+ case 29:
353
+ this.$ = [a[s]];
354
+ break;
355
+ case 30:
356
+ r.setYAxisTitle(a[s]);
357
+ break;
358
+ case 31:
359
+ r.setYAxisTitle(a[s - 1]);
360
+ break;
361
+ case 32:
362
+ r.setYAxisTitle({
363
+ type: "text",
364
+ text: ""
365
+ });
366
+ break;
367
+ case 33:
368
+ r.setYAxisRangeData(Number(a[s - 2]), Number(a[s]));
369
+ break;
370
+ case 37:
371
+ this.$ = {
372
+ text: a[s],
373
+ type: "text"
374
+ };
375
+ break;
376
+ case 38:
377
+ this.$ = {
378
+ text: a[s],
379
+ type: "text"
380
+ };
381
+ break;
382
+ case 39:
383
+ this.$ = {
384
+ text: a[s],
385
+ type: "markdown"
386
+ };
387
+ break;
388
+ case 40:
389
+ this.$ = a[s];
390
+ break;
391
+ case 41:
392
+ this.$ = a[s - 1] + "" + a[s];
393
+ break;
394
+ }
395
+ }, "anonymous"),
396
+ table: [
397
+ e(n, r, {
398
+ 3: 1,
399
+ 4: 2,
400
+ 7: 4,
401
+ 5: i,
402
+ 34: a,
403
+ 35: o,
404
+ 36: s
405
+ }),
406
+ { 1: [3] },
407
+ e(n, r, {
408
+ 4: 2,
409
+ 7: 4,
410
+ 3: 8,
411
+ 5: i,
412
+ 34: a,
413
+ 35: o,
414
+ 36: s
415
+ }),
416
+ e(n, r, {
417
+ 4: 2,
418
+ 7: 4,
419
+ 6: 9,
420
+ 3: 10,
421
+ 5: i,
422
+ 8: [1, 11],
423
+ 34: a,
424
+ 35: o,
425
+ 36: s
426
+ }),
427
+ {
428
+ 1: [2, 4],
429
+ 9: 12,
430
+ 10: [1, 13],
431
+ 12: [1, 14],
432
+ 14: [1, 15],
433
+ 16: [1, 16],
434
+ 18: [1, 17],
435
+ 19: [1, 18],
436
+ 21: [1, 19],
437
+ 23: [1, 20]
438
+ },
439
+ e(c, [2, 34]),
440
+ e(c, [2, 35]),
441
+ e(c, [2, 36]),
442
+ { 1: [2, 1] },
443
+ e(n, r, {
444
+ 4: 2,
445
+ 7: 4,
446
+ 3: 21,
447
+ 5: i,
448
+ 34: a,
449
+ 35: o,
450
+ 36: s
451
+ }),
452
+ { 1: [2, 3] },
453
+ e(c, [2, 5]),
454
+ e(n, [2, 7], {
455
+ 4: 22,
456
+ 34: a,
457
+ 35: o,
458
+ 36: s
459
+ }),
460
+ {
461
+ 11: 23,
462
+ 37: 24,
463
+ 38: l,
464
+ 39: u,
465
+ 40: 27,
466
+ 41: d,
467
+ 42: f,
468
+ 43: p,
469
+ 44: m,
470
+ 45: h,
471
+ 46: g,
472
+ 47: _,
473
+ 48: v,
474
+ 49: y,
475
+ 50: b
476
+ },
477
+ {
478
+ 11: 39,
479
+ 13: 38,
480
+ 24: x,
481
+ 27: S,
482
+ 29: 40,
483
+ 30: 41,
484
+ 37: 24,
485
+ 38: l,
486
+ 39: u,
487
+ 40: 27,
488
+ 41: d,
489
+ 42: f,
490
+ 43: p,
491
+ 44: m,
492
+ 45: h,
493
+ 46: g,
494
+ 47: _,
495
+ 48: v,
496
+ 49: y,
497
+ 50: b
498
+ },
499
+ {
500
+ 11: 45,
501
+ 15: 44,
502
+ 27: C,
503
+ 33: 46,
504
+ 37: 24,
505
+ 38: l,
506
+ 39: u,
507
+ 40: 27,
508
+ 41: d,
509
+ 42: f,
510
+ 43: p,
511
+ 44: m,
512
+ 45: h,
513
+ 46: g,
514
+ 47: _,
515
+ 48: v,
516
+ 49: y,
517
+ 50: b
518
+ },
519
+ {
520
+ 11: 49,
521
+ 17: 48,
522
+ 24: w,
523
+ 37: 24,
524
+ 38: l,
525
+ 39: u,
526
+ 40: 27,
527
+ 41: d,
528
+ 42: f,
529
+ 43: p,
530
+ 44: m,
531
+ 45: h,
532
+ 46: g,
533
+ 47: _,
534
+ 48: v,
535
+ 49: y,
536
+ 50: b
537
+ },
538
+ {
539
+ 11: 52,
540
+ 17: 51,
541
+ 24: w,
542
+ 37: 24,
543
+ 38: l,
544
+ 39: u,
545
+ 40: 27,
546
+ 41: d,
547
+ 42: f,
548
+ 43: p,
549
+ 44: m,
550
+ 45: h,
551
+ 46: g,
552
+ 47: _,
553
+ 48: v,
554
+ 49: y,
555
+ 50: b
556
+ },
557
+ { 20: [1, 53] },
558
+ { 22: [1, 54] },
559
+ e(T, [2, 18]),
560
+ { 1: [2, 2] },
561
+ e(T, [2, 8]),
562
+ e(T, [2, 9]),
563
+ e(E, [2, 37], {
564
+ 40: 55,
565
+ 41: d,
566
+ 42: f,
567
+ 43: p,
568
+ 44: m,
569
+ 45: h,
570
+ 46: g,
571
+ 47: _,
572
+ 48: v,
573
+ 49: y,
574
+ 50: b
575
+ }),
576
+ e(E, [2, 38]),
577
+ e(E, [2, 39]),
578
+ e(D, [2, 40]),
579
+ e(D, [2, 42]),
580
+ e(D, [2, 43]),
581
+ e(D, [2, 44]),
582
+ e(D, [2, 45]),
583
+ e(D, [2, 46]),
584
+ e(D, [2, 47]),
585
+ e(D, [2, 48]),
586
+ e(D, [2, 49]),
587
+ e(D, [2, 50]),
588
+ e(D, [2, 51]),
589
+ e(T, [2, 10]),
590
+ e(T, [2, 22], {
591
+ 30: 41,
592
+ 29: 56,
593
+ 24: x,
594
+ 27: S
595
+ }),
596
+ e(T, [2, 24]),
597
+ e(T, [2, 25]),
598
+ { 31: [1, 57] },
599
+ {
600
+ 11: 59,
601
+ 32: 58,
602
+ 37: 24,
603
+ 38: l,
604
+ 39: u,
605
+ 40: 27,
606
+ 41: d,
607
+ 42: f,
608
+ 43: p,
609
+ 44: m,
610
+ 45: h,
611
+ 46: g,
612
+ 47: _,
613
+ 48: v,
614
+ 49: y,
615
+ 50: b
616
+ },
617
+ e(T, [2, 11]),
618
+ e(T, [2, 30], {
619
+ 33: 60,
620
+ 27: C
621
+ }),
622
+ e(T, [2, 32]),
623
+ { 31: [1, 61] },
624
+ e(T, [2, 12]),
625
+ {
626
+ 17: 62,
627
+ 24: w
628
+ },
629
+ {
630
+ 25: 63,
631
+ 27: O
632
+ },
633
+ e(T, [2, 14]),
634
+ {
635
+ 17: 65,
636
+ 24: w
637
+ },
638
+ e(T, [2, 16]),
639
+ e(T, [2, 17]),
640
+ e(D, [2, 41]),
641
+ e(T, [2, 23]),
642
+ { 27: [1, 66] },
643
+ { 26: [1, 67] },
644
+ {
645
+ 26: [2, 29],
646
+ 28: [1, 68]
647
+ },
648
+ e(T, [2, 31]),
649
+ { 27: [1, 69] },
650
+ e(T, [2, 13]),
651
+ { 26: [1, 70] },
652
+ {
653
+ 26: [2, 21],
654
+ 28: [1, 71]
655
+ },
656
+ e(T, [2, 15]),
657
+ e(T, [2, 26]),
658
+ e(T, [2, 27]),
659
+ {
660
+ 11: 59,
661
+ 32: 72,
662
+ 37: 24,
663
+ 38: l,
664
+ 39: u,
665
+ 40: 27,
666
+ 41: d,
667
+ 42: f,
668
+ 43: p,
669
+ 44: m,
670
+ 45: h,
671
+ 46: g,
672
+ 47: _,
673
+ 48: v,
674
+ 49: y,
675
+ 50: b
676
+ },
677
+ e(T, [2, 33]),
678
+ e(T, [2, 19]),
679
+ {
680
+ 25: 73,
681
+ 27: O
682
+ },
683
+ { 26: [2, 28] },
684
+ { 26: [2, 20] }
685
+ ],
686
+ defaultActions: {
687
+ 8: [2, 1],
688
+ 10: [2, 3],
689
+ 21: [2, 2],
690
+ 72: [2, 28],
691
+ 73: [2, 20]
692
+ },
693
+ parseError: /* @__PURE__ */ t(function(e, t) {
694
+ if (t.recoverable) this.trace(e);
695
+ else {
696
+ var n = Error(e);
697
+ throw n.hash = t, n;
698
+ }
699
+ }, "parseError"),
700
+ parse: /* @__PURE__ */ t(function(e) {
701
+ var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
702
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
703
+ h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
704
+ var v = h.yylloc;
705
+ o.push(v);
706
+ var y = h.options && h.options.ranges;
707
+ typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
708
+ function b(e) {
709
+ r.length -= 2 * e, a.length -= e, o.length -= e;
710
+ }
711
+ t(b, "popStack");
712
+ function x() {
713
+ var e = i.pop() || h.lex() || p;
714
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
715
+ }
716
+ t(x, "lex");
717
+ for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
718
+ if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
719
+ var M = "";
720
+ for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
721
+ M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
722
+ text: h.match,
723
+ token: this.terminals_[S] || S,
724
+ line: h.yylineno,
725
+ loc: v,
726
+ expected: j
727
+ });
728
+ }
729
+ if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
730
+ switch (T[0]) {
731
+ case 1:
732
+ r.push(S), a.push(h.yytext), o.push(h.yylloc), r.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
733
+ break;
734
+ case 2:
735
+ if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
736
+ first_line: o[o.length - (k || 1)].first_line,
737
+ last_line: o[o.length - 1].last_line,
738
+ first_column: o[o.length - (k || 1)].first_column,
739
+ last_column: o[o.length - 1].last_column
740
+ }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
741
+ c,
742
+ u,
743
+ l,
744
+ g.yy,
745
+ T[1],
746
+ a,
747
+ o
748
+ ].concat(m)), E !== void 0) return E;
749
+ k && (r = r.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), r.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[r[r.length - 2]][r[r.length - 1]], r.push(A);
750
+ break;
751
+ case 3: return !0;
752
+ }
753
+ }
754
+ return !0;
755
+ }, "parse")
756
+ };
757
+ k.lexer = /* @__PURE__ */ (function() {
758
+ return {
759
+ EOF: 1,
760
+ parseError: /* @__PURE__ */ t(function(e, t) {
761
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
762
+ else throw Error(e);
763
+ }, "parseError"),
764
+ setInput: /* @__PURE__ */ t(function(e, t) {
765
+ return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
766
+ first_line: 1,
767
+ first_column: 0,
768
+ last_line: 1,
769
+ last_column: 0
770
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
771
+ }, "setInput"),
772
+ input: /* @__PURE__ */ t(function() {
773
+ var e = this._input[0];
774
+ return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
775
+ }, "input"),
776
+ unput: /* @__PURE__ */ t(function(e) {
777
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
778
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
779
+ var r = this.match.split(/(?:\r\n?|\n)/g);
780
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
781
+ var i = this.yylloc.range;
782
+ return this.yylloc = {
783
+ first_line: this.yylloc.first_line,
784
+ last_line: this.yylineno + 1,
785
+ first_column: this.yylloc.first_column,
786
+ last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
787
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
788
+ }, "unput"),
789
+ more: /* @__PURE__ */ t(function() {
790
+ return this._more = !0, this;
791
+ }, "more"),
792
+ reject: /* @__PURE__ */ t(function() {
793
+ if (this.options.backtrack_lexer) this._backtrack = !0;
794
+ else 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(), {
795
+ text: "",
796
+ token: null,
797
+ line: this.yylineno
798
+ });
799
+ return this;
800
+ }, "reject"),
801
+ less: /* @__PURE__ */ t(function(e) {
802
+ this.unput(this.match.slice(e));
803
+ }, "less"),
804
+ pastInput: /* @__PURE__ */ t(function() {
805
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
806
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
807
+ }, "pastInput"),
808
+ upcomingInput: /* @__PURE__ */ t(function() {
809
+ var e = this.match;
810
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
811
+ }, "upcomingInput"),
812
+ showPosition: /* @__PURE__ */ t(function() {
813
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
814
+ return e + this.upcomingInput() + "\n" + t + "^";
815
+ }, "showPosition"),
816
+ test_match: /* @__PURE__ */ t(function(e, t) {
817
+ var n, r, i;
818
+ if (this.options.backtrack_lexer && (i = {
819
+ yylineno: this.yylineno,
820
+ yylloc: {
821
+ first_line: this.yylloc.first_line,
822
+ last_line: this.last_line,
823
+ first_column: this.yylloc.first_column,
824
+ last_column: this.yylloc.last_column
825
+ },
826
+ yytext: this.yytext,
827
+ match: this.match,
828
+ matches: this.matches,
829
+ matched: this.matched,
830
+ yyleng: this.yyleng,
831
+ offset: this.offset,
832
+ _more: this._more,
833
+ _input: this._input,
834
+ yy: this.yy,
835
+ conditionStack: this.conditionStack.slice(0),
836
+ done: this.done
837
+ }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
838
+ first_line: this.yylloc.last_line,
839
+ last_line: this.yylineno + 1,
840
+ first_column: this.yylloc.last_column,
841
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
842
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
843
+ if (this._backtrack) {
844
+ for (var a in i) this[a] = i[a];
845
+ return !1;
846
+ }
847
+ return !1;
848
+ }, "test_match"),
849
+ next: /* @__PURE__ */ t(function() {
850
+ if (this.done) return this.EOF;
851
+ this._input || (this.done = !0);
852
+ var e, t, n, r;
853
+ this._more || (this.yytext = "", this.match = "");
854
+ for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
855
+ if (t = n, r = a, this.options.backtrack_lexer) {
856
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
857
+ if (this._backtrack) {
858
+ t = !1;
859
+ continue;
860
+ } else return !1;
861
+ } else if (!this.options.flex) break;
862
+ }
863
+ return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
864
+ text: "",
865
+ token: null,
866
+ line: this.yylineno
867
+ });
868
+ }, "next"),
869
+ lex: /* @__PURE__ */ t(function() {
870
+ return this.next() || this.lex();
871
+ }, "lex"),
872
+ begin: /* @__PURE__ */ t(function(e) {
873
+ this.conditionStack.push(e);
874
+ }, "begin"),
875
+ popState: /* @__PURE__ */ t(function() {
876
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
877
+ }, "popState"),
878
+ _currentRules: /* @__PURE__ */ t(function() {
879
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
880
+ }, "_currentRules"),
881
+ topState: /* @__PURE__ */ t(function(e) {
882
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
883
+ }, "topState"),
884
+ pushState: /* @__PURE__ */ t(function(e) {
885
+ this.begin(e);
886
+ }, "pushState"),
887
+ stateStackSize: /* @__PURE__ */ t(function() {
888
+ return this.conditionStack.length;
889
+ }, "stateStackSize"),
890
+ options: { "case-insensitive": !0 },
891
+ performAction: /* @__PURE__ */ t(function(e, t, n, r) {
892
+ switch (n) {
893
+ case 0: break;
894
+ case 1: break;
895
+ case 2: return this.popState(), 34;
896
+ case 3: return this.popState(), 34;
897
+ case 4: return 34;
898
+ case 5: break;
899
+ case 6: return 10;
900
+ case 7: return this.pushState("acc_title"), 19;
901
+ case 8: return this.popState(), "acc_title_value";
902
+ case 9: return this.pushState("acc_descr"), 21;
903
+ case 10: return this.popState(), "acc_descr_value";
904
+ case 11:
905
+ this.pushState("acc_descr_multiline");
906
+ break;
907
+ case 12:
908
+ this.popState();
909
+ break;
910
+ case 13: return "acc_descr_multiline_value";
911
+ case 14: return 5;
912
+ case 15: return 5;
913
+ case 16: return 8;
914
+ case 17: return this.pushState("axis_data"), "X_AXIS";
915
+ case 18: return this.pushState("axis_data"), "Y_AXIS";
916
+ case 19: return this.pushState("axis_band_data"), 24;
917
+ case 20: return 31;
918
+ case 21: return this.pushState("data"), 16;
919
+ case 22: return this.pushState("data"), 18;
920
+ case 23: return this.pushState("data_inner"), 24;
921
+ case 24: return 27;
922
+ case 25: return this.popState(), 26;
923
+ case 26:
924
+ this.popState();
925
+ break;
926
+ case 27:
927
+ this.pushState("string");
928
+ break;
929
+ case 28:
930
+ this.popState();
931
+ break;
932
+ case 29: return "STR";
933
+ case 30: return 24;
934
+ case 31: return 26;
935
+ case 32: return 43;
936
+ case 33: return "COLON";
937
+ case 34: return 44;
938
+ case 35: return 28;
939
+ case 36: return 45;
940
+ case 37: return 46;
941
+ case 38: return 48;
942
+ case 39: return 50;
943
+ case 40: return 47;
944
+ case 41: return 41;
945
+ case 42: return 49;
946
+ case 43: return 42;
947
+ case 44: break;
948
+ case 45: return 35;
949
+ case 46: return 36;
950
+ }
951
+ }, "anonymous"),
952
+ rules: [
953
+ /^(?:%%(?!\{)[^\n]*)/i,
954
+ /^(?:[^\}]%%[^\n]*)/i,
955
+ /^(?:(\r?\n))/i,
956
+ /^(?:(\r?\n))/i,
957
+ /^(?:[\n\r]+)/i,
958
+ /^(?:%%[^\n]*)/i,
959
+ /^(?:title\b)/i,
960
+ /^(?:accTitle\s*:\s*)/i,
961
+ /^(?:(?!\n||)*[^\n]*)/i,
962
+ /^(?:accDescr\s*:\s*)/i,
963
+ /^(?:(?!\n||)*[^\n]*)/i,
964
+ /^(?:accDescr\s*\{\s*)/i,
965
+ /^(?:\})/i,
966
+ /^(?:[^\}]*)/i,
967
+ /^(?:xychart-beta\b)/i,
968
+ /^(?:xychart\b)/i,
969
+ /^(?:(?:vertical|horizontal))/i,
970
+ /^(?:x-axis\b)/i,
971
+ /^(?:y-axis\b)/i,
972
+ /^(?:\[)/i,
973
+ /^(?:-->)/i,
974
+ /^(?:line\b)/i,
975
+ /^(?:bar\b)/i,
976
+ /^(?:\[)/i,
977
+ /^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,
978
+ /^(?:\])/i,
979
+ /^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,
980
+ /^(?:["])/i,
981
+ /^(?:["])/i,
982
+ /^(?:[^"]*)/i,
983
+ /^(?:\[)/i,
984
+ /^(?:\])/i,
985
+ /^(?:[A-Za-z]+)/i,
986
+ /^(?::)/i,
987
+ /^(?:\+)/i,
988
+ /^(?:,)/i,
989
+ /^(?:=)/i,
990
+ /^(?:\*)/i,
991
+ /^(?:#)/i,
992
+ /^(?:[\_])/i,
993
+ /^(?:\.)/i,
994
+ /^(?:&)/i,
995
+ /^(?:-)/i,
996
+ /^(?:[0-9]+)/i,
997
+ /^(?:\s+)/i,
998
+ /^(?:;)/i,
999
+ /^(?:$)/i
1000
+ ],
1001
+ conditions: {
1002
+ data_inner: {
1003
+ rules: [
1004
+ 0,
1005
+ 1,
1006
+ 4,
1007
+ 5,
1008
+ 6,
1009
+ 7,
1010
+ 9,
1011
+ 11,
1012
+ 14,
1013
+ 15,
1014
+ 16,
1015
+ 17,
1016
+ 18,
1017
+ 21,
1018
+ 22,
1019
+ 24,
1020
+ 25,
1021
+ 26,
1022
+ 27,
1023
+ 30,
1024
+ 31,
1025
+ 32,
1026
+ 33,
1027
+ 34,
1028
+ 35,
1029
+ 36,
1030
+ 37,
1031
+ 38,
1032
+ 39,
1033
+ 40,
1034
+ 41,
1035
+ 42,
1036
+ 43,
1037
+ 44,
1038
+ 45,
1039
+ 46
1040
+ ],
1041
+ inclusive: !0
1042
+ },
1043
+ data: {
1044
+ rules: [
1045
+ 0,
1046
+ 1,
1047
+ 3,
1048
+ 4,
1049
+ 5,
1050
+ 6,
1051
+ 7,
1052
+ 9,
1053
+ 11,
1054
+ 14,
1055
+ 15,
1056
+ 16,
1057
+ 17,
1058
+ 18,
1059
+ 21,
1060
+ 22,
1061
+ 23,
1062
+ 26,
1063
+ 27,
1064
+ 30,
1065
+ 31,
1066
+ 32,
1067
+ 33,
1068
+ 34,
1069
+ 35,
1070
+ 36,
1071
+ 37,
1072
+ 38,
1073
+ 39,
1074
+ 40,
1075
+ 41,
1076
+ 42,
1077
+ 43,
1078
+ 44,
1079
+ 45,
1080
+ 46
1081
+ ],
1082
+ inclusive: !0
1083
+ },
1084
+ axis_band_data: {
1085
+ rules: [
1086
+ 0,
1087
+ 1,
1088
+ 4,
1089
+ 5,
1090
+ 6,
1091
+ 7,
1092
+ 9,
1093
+ 11,
1094
+ 14,
1095
+ 15,
1096
+ 16,
1097
+ 17,
1098
+ 18,
1099
+ 21,
1100
+ 22,
1101
+ 25,
1102
+ 26,
1103
+ 27,
1104
+ 30,
1105
+ 31,
1106
+ 32,
1107
+ 33,
1108
+ 34,
1109
+ 35,
1110
+ 36,
1111
+ 37,
1112
+ 38,
1113
+ 39,
1114
+ 40,
1115
+ 41,
1116
+ 42,
1117
+ 43,
1118
+ 44,
1119
+ 45,
1120
+ 46
1121
+ ],
1122
+ inclusive: !0
1123
+ },
1124
+ axis_data: {
1125
+ rules: [
1126
+ 0,
1127
+ 1,
1128
+ 2,
1129
+ 4,
1130
+ 5,
1131
+ 6,
1132
+ 7,
1133
+ 9,
1134
+ 11,
1135
+ 14,
1136
+ 15,
1137
+ 16,
1138
+ 17,
1139
+ 18,
1140
+ 19,
1141
+ 20,
1142
+ 21,
1143
+ 22,
1144
+ 24,
1145
+ 26,
1146
+ 27,
1147
+ 30,
1148
+ 31,
1149
+ 32,
1150
+ 33,
1151
+ 34,
1152
+ 35,
1153
+ 36,
1154
+ 37,
1155
+ 38,
1156
+ 39,
1157
+ 40,
1158
+ 41,
1159
+ 42,
1160
+ 43,
1161
+ 44,
1162
+ 45,
1163
+ 46
1164
+ ],
1165
+ inclusive: !0
1166
+ },
1167
+ acc_descr_multiline: {
1168
+ rules: [12, 13],
1169
+ inclusive: !1
1170
+ },
1171
+ acc_descr: {
1172
+ rules: [10],
1173
+ inclusive: !1
1174
+ },
1175
+ acc_title: {
1176
+ rules: [8],
1177
+ inclusive: !1
1178
+ },
1179
+ title: {
1180
+ rules: [],
1181
+ inclusive: !1
1182
+ },
1183
+ md_string: {
1184
+ rules: [],
1185
+ inclusive: !1
1186
+ },
1187
+ string: {
1188
+ rules: [28, 29],
1189
+ inclusive: !1
1190
+ },
1191
+ INITIAL: {
1192
+ rules: [
1193
+ 0,
1194
+ 1,
1195
+ 4,
1196
+ 5,
1197
+ 6,
1198
+ 7,
1199
+ 9,
1200
+ 11,
1201
+ 14,
1202
+ 15,
1203
+ 16,
1204
+ 17,
1205
+ 18,
1206
+ 21,
1207
+ 22,
1208
+ 26,
1209
+ 27,
1210
+ 30,
1211
+ 31,
1212
+ 32,
1213
+ 33,
1214
+ 34,
1215
+ 35,
1216
+ 36,
1217
+ 37,
1218
+ 38,
1219
+ 39,
1220
+ 40,
1221
+ 41,
1222
+ 42,
1223
+ 43,
1224
+ 44,
1225
+ 45,
1226
+ 46
1227
+ ],
1228
+ inclusive: !0
1229
+ }
1230
+ }
1231
+ };
1232
+ })();
1233
+ function A() {
1234
+ this.yy = {};
1235
+ }
1236
+ return t(A, "Parser"), A.prototype = k, k.Parser = A, new A();
1237
+ })();
1238
+ C.parser = C;
1239
+ var w = C;
1240
+ function T(e) {
1241
+ return e.type === "bar";
1242
+ }
1243
+ t(T, "isBarPlot");
1244
+ function E(e) {
1245
+ return e.type === "band";
1246
+ }
1247
+ t(E, "isBandAxisData");
1248
+ function D(e) {
1249
+ return e.type === "linear";
1250
+ }
1251
+ t(D, "isLinearAxisData");
1252
+ var O = class {
1253
+ constructor(e) {
1254
+ this.parentGroup = e;
1255
+ }
1256
+ static {
1257
+ t(this, "TextDimensionCalculatorWithFont");
1258
+ }
1259
+ getMaxDimension(e, t) {
1260
+ if (!this.parentGroup) return {
1261
+ width: e.reduce((e, t) => Math.max(t.length, e), 0) * t,
1262
+ height: t
1263
+ };
1264
+ let n = {
1265
+ width: 0,
1266
+ height: 0
1267
+ }, r = this.parentGroup.append("g").attr("visibility", "hidden").attr("font-size", t);
1268
+ for (let i of e) {
1269
+ let e = b(r, 1, i), a = e ? e.width : i.length * t, o = e ? e.height : t;
1270
+ n.width = Math.max(n.width, a), n.height = Math.max(n.height, o);
1271
+ }
1272
+ return r.remove(), n;
1273
+ }
1274
+ }, k = .7, A = .2, j = class {
1275
+ constructor(e, t, n, r) {
1276
+ this.axisConfig = e, this.title = t, this.textDimensionCalculator = n, this.axisThemeConfig = r, this.boundingRect = {
1277
+ x: 0,
1278
+ y: 0,
1279
+ width: 0,
1280
+ height: 0
1281
+ }, this.axisPosition = "left", this.showTitle = !1, this.showLabel = !1, this.showTick = !1, this.showAxisLine = !1, this.outerPadding = 0, this.titleTextHeight = 0, this.labelTextHeight = 0, this.range = [0, 10], this.boundingRect = {
1282
+ x: 0,
1283
+ y: 0,
1284
+ width: 0,
1285
+ height: 0
1286
+ }, this.axisPosition = "left";
1287
+ }
1288
+ static {
1289
+ t(this, "BaseAxis");
1290
+ }
1291
+ setRange(e) {
1292
+ this.range = e, this.axisPosition === "left" || this.axisPosition === "right" ? this.boundingRect.height = e[1] - e[0] : this.boundingRect.width = e[1] - e[0], this.recalculateScale();
1293
+ }
1294
+ getRange() {
1295
+ return [this.range[0] + this.outerPadding, this.range[1] - this.outerPadding];
1296
+ }
1297
+ setAxisPosition(e) {
1298
+ this.axisPosition = e, this.setRange(this.range);
1299
+ }
1300
+ getTickDistance() {
1301
+ let e = this.getRange();
1302
+ return Math.abs(e[0] - e[1]) / this.getTickValues().length;
1303
+ }
1304
+ getAxisOuterPadding() {
1305
+ return this.outerPadding;
1306
+ }
1307
+ getLabelDimension() {
1308
+ return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map((e) => e.toString()), this.axisConfig.labelFontSize);
1309
+ }
1310
+ recalculateOuterPaddingToDrawBar() {
1311
+ k * this.getTickDistance() > this.outerPadding * 2 && (this.outerPadding = Math.floor(k * this.getTickDistance() / 2)), this.recalculateScale();
1312
+ }
1313
+ calculateSpaceIfDrawnHorizontally(e) {
1314
+ let t = e.height;
1315
+ if (this.axisConfig.showAxisLine && t > this.axisConfig.axisLineWidth && (t -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
1316
+ let n = this.getLabelDimension(), r = A * e.width;
1317
+ this.outerPadding = Math.min(n.width / 2, r);
1318
+ let i = n.height + this.axisConfig.labelPadding * 2;
1319
+ this.labelTextHeight = n.height, i <= t && (t -= i, this.showLabel = !0);
1320
+ }
1321
+ if (this.axisConfig.showTick && t >= this.axisConfig.tickLength && (this.showTick = !0, t -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
1322
+ let e = this.textDimensionCalculator.getMaxDimension([this.title], this.axisConfig.titleFontSize), n = e.height + this.axisConfig.titlePadding * 2;
1323
+ this.titleTextHeight = e.height, n <= t && (t -= n, this.showTitle = !0);
1324
+ }
1325
+ this.boundingRect.width = e.width, this.boundingRect.height = e.height - t;
1326
+ }
1327
+ calculateSpaceIfDrawnVertical(e) {
1328
+ let t = e.width;
1329
+ if (this.axisConfig.showAxisLine && t > this.axisConfig.axisLineWidth && (t -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
1330
+ let n = this.getLabelDimension(), r = A * e.height;
1331
+ this.outerPadding = Math.min(n.height / 2, r);
1332
+ let i = n.width + this.axisConfig.labelPadding * 2;
1333
+ i <= t && (t -= i, this.showLabel = !0);
1334
+ }
1335
+ if (this.axisConfig.showTick && t >= this.axisConfig.tickLength && (this.showTick = !0, t -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
1336
+ let e = this.textDimensionCalculator.getMaxDimension([this.title], this.axisConfig.titleFontSize), n = e.height + this.axisConfig.titlePadding * 2;
1337
+ this.titleTextHeight = e.height, n <= t && (t -= n, this.showTitle = !0);
1338
+ }
1339
+ this.boundingRect.width = e.width - t, this.boundingRect.height = e.height;
1340
+ }
1341
+ calculateSpace(e) {
1342
+ return this.axisPosition === "left" || this.axisPosition === "right" ? this.calculateSpaceIfDrawnVertical(e) : this.calculateSpaceIfDrawnHorizontally(e), this.recalculateScale(), {
1343
+ width: this.boundingRect.width,
1344
+ height: this.boundingRect.height
1345
+ };
1346
+ }
1347
+ setBoundingBoxXY(e) {
1348
+ this.boundingRect.x = e.x, this.boundingRect.y = e.y;
1349
+ }
1350
+ getDrawableElementsForLeftAxis() {
1351
+ let e = [];
1352
+ if (this.showAxisLine) {
1353
+ let t = this.boundingRect.x + this.boundingRect.width - this.axisConfig.axisLineWidth / 2;
1354
+ e.push({
1355
+ type: "path",
1356
+ groupTexts: ["left-axis", "axisl-line"],
1357
+ data: [{
1358
+ path: `M ${t},${this.boundingRect.y} L ${t},${this.boundingRect.y + this.boundingRect.height} `,
1359
+ strokeFill: this.axisThemeConfig.axisLineColor,
1360
+ strokeWidth: this.axisConfig.axisLineWidth
1361
+ }]
1362
+ });
1363
+ }
1364
+ if (this.showLabel && e.push({
1365
+ type: "text",
1366
+ groupTexts: ["left-axis", "label"],
1367
+ data: this.getTickValues().map((e) => ({
1368
+ text: e.toString(),
1369
+ x: this.boundingRect.x + this.boundingRect.width - (this.showLabel ? this.axisConfig.labelPadding : 0) - (this.showTick ? this.axisConfig.tickLength : 0) - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
1370
+ y: this.getScaleValue(e),
1371
+ fill: this.axisThemeConfig.labelColor,
1372
+ fontSize: this.axisConfig.labelFontSize,
1373
+ rotation: 0,
1374
+ verticalPos: "middle",
1375
+ horizontalPos: "right"
1376
+ }))
1377
+ }), this.showTick) {
1378
+ let t = this.boundingRect.x + this.boundingRect.width - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
1379
+ e.push({
1380
+ type: "path",
1381
+ groupTexts: ["left-axis", "ticks"],
1382
+ data: this.getTickValues().map((e) => ({
1383
+ path: `M ${t},${this.getScaleValue(e)} L ${t - this.axisConfig.tickLength},${this.getScaleValue(e)}`,
1384
+ strokeFill: this.axisThemeConfig.tickColor,
1385
+ strokeWidth: this.axisConfig.tickWidth
1386
+ }))
1387
+ });
1388
+ }
1389
+ return this.showTitle && e.push({
1390
+ type: "text",
1391
+ groupTexts: ["left-axis", "title"],
1392
+ data: [{
1393
+ text: this.title,
1394
+ x: this.boundingRect.x + this.axisConfig.titlePadding,
1395
+ y: this.boundingRect.y + this.boundingRect.height / 2,
1396
+ fill: this.axisThemeConfig.titleColor,
1397
+ fontSize: this.axisConfig.titleFontSize,
1398
+ rotation: 270,
1399
+ verticalPos: "top",
1400
+ horizontalPos: "center"
1401
+ }]
1402
+ }), e;
1403
+ }
1404
+ getDrawableElementsForBottomAxis() {
1405
+ let e = [];
1406
+ if (this.showAxisLine) {
1407
+ let t = this.boundingRect.y + this.axisConfig.axisLineWidth / 2;
1408
+ e.push({
1409
+ type: "path",
1410
+ groupTexts: ["bottom-axis", "axis-line"],
1411
+ data: [{
1412
+ path: `M ${this.boundingRect.x},${t} L ${this.boundingRect.x + this.boundingRect.width},${t}`,
1413
+ strokeFill: this.axisThemeConfig.axisLineColor,
1414
+ strokeWidth: this.axisConfig.axisLineWidth
1415
+ }]
1416
+ });
1417
+ }
1418
+ if (this.showLabel && e.push({
1419
+ type: "text",
1420
+ groupTexts: ["bottom-axis", "label"],
1421
+ data: this.getTickValues().map((e) => ({
1422
+ text: e.toString(),
1423
+ x: this.getScaleValue(e),
1424
+ y: this.boundingRect.y + this.axisConfig.labelPadding + (this.showTick ? this.axisConfig.tickLength : 0) + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
1425
+ fill: this.axisThemeConfig.labelColor,
1426
+ fontSize: this.axisConfig.labelFontSize,
1427
+ rotation: 0,
1428
+ verticalPos: "top",
1429
+ horizontalPos: "center"
1430
+ }))
1431
+ }), this.showTick) {
1432
+ let t = this.boundingRect.y + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
1433
+ e.push({
1434
+ type: "path",
1435
+ groupTexts: ["bottom-axis", "ticks"],
1436
+ data: this.getTickValues().map((e) => ({
1437
+ path: `M ${this.getScaleValue(e)},${t} L ${this.getScaleValue(e)},${t + this.axisConfig.tickLength}`,
1438
+ strokeFill: this.axisThemeConfig.tickColor,
1439
+ strokeWidth: this.axisConfig.tickWidth
1440
+ }))
1441
+ });
1442
+ }
1443
+ return this.showTitle && e.push({
1444
+ type: "text",
1445
+ groupTexts: ["bottom-axis", "title"],
1446
+ data: [{
1447
+ text: this.title,
1448
+ x: this.range[0] + (this.range[1] - this.range[0]) / 2,
1449
+ y: this.boundingRect.y + this.boundingRect.height - this.axisConfig.titlePadding - this.titleTextHeight,
1450
+ fill: this.axisThemeConfig.titleColor,
1451
+ fontSize: this.axisConfig.titleFontSize,
1452
+ rotation: 0,
1453
+ verticalPos: "top",
1454
+ horizontalPos: "center"
1455
+ }]
1456
+ }), e;
1457
+ }
1458
+ getDrawableElementsForTopAxis() {
1459
+ let e = [];
1460
+ if (this.showAxisLine) {
1461
+ let t = this.boundingRect.y + this.boundingRect.height - this.axisConfig.axisLineWidth / 2;
1462
+ e.push({
1463
+ type: "path",
1464
+ groupTexts: ["top-axis", "axis-line"],
1465
+ data: [{
1466
+ path: `M ${this.boundingRect.x},${t} L ${this.boundingRect.x + this.boundingRect.width},${t}`,
1467
+ strokeFill: this.axisThemeConfig.axisLineColor,
1468
+ strokeWidth: this.axisConfig.axisLineWidth
1469
+ }]
1470
+ });
1471
+ }
1472
+ if (this.showLabel && e.push({
1473
+ type: "text",
1474
+ groupTexts: ["top-axis", "label"],
1475
+ data: this.getTickValues().map((e) => ({
1476
+ text: e.toString(),
1477
+ x: this.getScaleValue(e),
1478
+ y: this.boundingRect.y + (this.showTitle ? this.titleTextHeight + this.axisConfig.titlePadding * 2 : 0) + this.axisConfig.labelPadding,
1479
+ fill: this.axisThemeConfig.labelColor,
1480
+ fontSize: this.axisConfig.labelFontSize,
1481
+ rotation: 0,
1482
+ verticalPos: "top",
1483
+ horizontalPos: "center"
1484
+ }))
1485
+ }), this.showTick) {
1486
+ let t = this.boundingRect.y;
1487
+ e.push({
1488
+ type: "path",
1489
+ groupTexts: ["top-axis", "ticks"],
1490
+ data: this.getTickValues().map((e) => ({
1491
+ path: `M ${this.getScaleValue(e)},${t + this.boundingRect.height - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)} L ${this.getScaleValue(e)},${t + this.boundingRect.height - this.axisConfig.tickLength - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)}`,
1492
+ strokeFill: this.axisThemeConfig.tickColor,
1493
+ strokeWidth: this.axisConfig.tickWidth
1494
+ }))
1495
+ });
1496
+ }
1497
+ return this.showTitle && e.push({
1498
+ type: "text",
1499
+ groupTexts: ["top-axis", "title"],
1500
+ data: [{
1501
+ text: this.title,
1502
+ x: this.boundingRect.x + this.boundingRect.width / 2,
1503
+ y: this.boundingRect.y + this.axisConfig.titlePadding,
1504
+ fill: this.axisThemeConfig.titleColor,
1505
+ fontSize: this.axisConfig.titleFontSize,
1506
+ rotation: 0,
1507
+ verticalPos: "top",
1508
+ horizontalPos: "center"
1509
+ }]
1510
+ }), e;
1511
+ }
1512
+ getDrawableElements() {
1513
+ if (this.axisPosition === "left") return this.getDrawableElementsForLeftAxis();
1514
+ if (this.axisPosition === "right") throw Error("Drawing of right axis is not implemented");
1515
+ return this.axisPosition === "bottom" ? this.getDrawableElementsForBottomAxis() : this.axisPosition === "top" ? this.getDrawableElementsForTopAxis() : [];
1516
+ }
1517
+ }, M = class extends j {
1518
+ static {
1519
+ t(this, "BandAxis");
1520
+ }
1521
+ constructor(e, t, n, r, i) {
1522
+ super(e, r, i, t), this.categories = n, this.scale = S().domain(this.categories).range(this.getRange());
1523
+ }
1524
+ setRange(e) {
1525
+ super.setRange(e);
1526
+ }
1527
+ recalculateScale() {
1528
+ this.scale = S().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5), e.trace("BandAxis axis final categories, range: ", this.categories, this.getRange());
1529
+ }
1530
+ getTickValues() {
1531
+ return this.categories;
1532
+ }
1533
+ getScaleValue(e) {
1534
+ return this.scale(e) ?? this.getRange()[0];
1535
+ }
1536
+ }, ee = class extends j {
1537
+ static {
1538
+ t(this, "LinearAxis");
1539
+ }
1540
+ constructor(e, t, n, r, i) {
1541
+ super(e, r, i, t), this.domain = n, this.scale = m().domain(this.domain).range(this.getRange());
1542
+ }
1543
+ getTickValues() {
1544
+ return this.scale.ticks();
1545
+ }
1546
+ recalculateScale() {
1547
+ let e = [...this.domain];
1548
+ this.axisPosition === "left" && e.reverse(), this.scale = m().domain(e).range(this.getRange());
1549
+ }
1550
+ getScaleValue(e) {
1551
+ return this.scale(e);
1552
+ }
1553
+ };
1554
+ function N(e, t, n, r) {
1555
+ let i = new O(r);
1556
+ return E(e) ? new M(t, n, e.categories, e.title, i) : new ee(t, n, [e.min, e.max], e.title, i);
1557
+ }
1558
+ t(N, "getAxis");
1559
+ var te = class {
1560
+ constructor(e, t, n, r) {
1561
+ this.textDimensionCalculator = e, this.chartConfig = t, this.chartData = n, this.chartThemeConfig = r, this.boundingRect = {
1562
+ x: 0,
1563
+ y: 0,
1564
+ width: 0,
1565
+ height: 0
1566
+ }, this.showChartTitle = !1;
1567
+ }
1568
+ static {
1569
+ t(this, "ChartTitle");
1570
+ }
1571
+ setBoundingBoxXY(e) {
1572
+ this.boundingRect.x = e.x, this.boundingRect.y = e.y;
1573
+ }
1574
+ calculateSpace(e) {
1575
+ let t = this.textDimensionCalculator.getMaxDimension([this.chartData.title], this.chartConfig.titleFontSize), n = Math.max(t.width, e.width), r = t.height + 2 * this.chartConfig.titlePadding;
1576
+ return t.width <= n && t.height <= r && this.chartConfig.showTitle && this.chartData.title && (this.boundingRect.width = n, this.boundingRect.height = r, this.showChartTitle = !0), {
1577
+ width: this.boundingRect.width,
1578
+ height: this.boundingRect.height
1579
+ };
1580
+ }
1581
+ getDrawableElements() {
1582
+ let e = [];
1583
+ return this.showChartTitle && e.push({
1584
+ groupTexts: ["chart-title"],
1585
+ type: "text",
1586
+ data: [{
1587
+ fontSize: this.chartConfig.titleFontSize,
1588
+ text: this.chartData.title,
1589
+ verticalPos: "middle",
1590
+ horizontalPos: "center",
1591
+ x: this.boundingRect.x + this.boundingRect.width / 2,
1592
+ y: this.boundingRect.y + this.boundingRect.height / 2,
1593
+ fill: this.chartThemeConfig.titleColor,
1594
+ rotation: 0
1595
+ }]
1596
+ }), e;
1597
+ }
1598
+ };
1599
+ function ne(e, t, n, r) {
1600
+ return new te(new O(r), e, t, n);
1601
+ }
1602
+ t(ne, "getChartTitleComponent");
1603
+ var re = class {
1604
+ constructor(e, t, n, r, i) {
1605
+ this.plotData = e, this.xAxis = t, this.yAxis = n, this.orientation = r, this.plotIndex = i;
1606
+ }
1607
+ static {
1608
+ t(this, "LinePlot");
1609
+ }
1610
+ getDrawableElement() {
1611
+ let e = this.plotData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), t;
1612
+ return t = this.orientation === "horizontal" ? v().y((e) => e[0]).x((e) => e[1])(e) : v().x((e) => e[0]).y((e) => e[1])(e), t ? [{
1613
+ groupTexts: ["plot", `line-plot-${this.plotIndex}`],
1614
+ type: "path",
1615
+ data: [{
1616
+ path: t,
1617
+ strokeFill: this.plotData.strokeFill,
1618
+ strokeWidth: this.plotData.strokeWidth
1619
+ }]
1620
+ }] : [];
1621
+ }
1622
+ }, ie = class {
1623
+ constructor(e, t, n, r, i, a) {
1624
+ this.barData = e, this.boundingRect = t, this.xAxis = n, this.yAxis = r, this.orientation = i, this.plotIndex = a;
1625
+ }
1626
+ static {
1627
+ t(this, "BarPlot");
1628
+ }
1629
+ getDrawableElement() {
1630
+ let e = this.barData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), t = Math.min(this.xAxis.getAxisOuterPadding() * 2, this.xAxis.getTickDistance()) * .95, n = t / 2;
1631
+ return this.orientation === "horizontal" ? [{
1632
+ groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
1633
+ type: "rect",
1634
+ data: e.map((e) => ({
1635
+ x: this.boundingRect.x,
1636
+ y: e[0] - n,
1637
+ height: t,
1638
+ width: e[1] - this.boundingRect.x,
1639
+ fill: this.barData.fill,
1640
+ strokeWidth: 0,
1641
+ strokeFill: this.barData.fill
1642
+ }))
1643
+ }] : [{
1644
+ groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
1645
+ type: "rect",
1646
+ data: e.map((e) => ({
1647
+ x: e[0] - n,
1648
+ y: e[1],
1649
+ width: t,
1650
+ height: this.boundingRect.y + this.boundingRect.height - e[1],
1651
+ fill: this.barData.fill,
1652
+ strokeWidth: 0,
1653
+ strokeFill: this.barData.fill
1654
+ }))
1655
+ }];
1656
+ }
1657
+ }, ae = class {
1658
+ constructor(e, t, n) {
1659
+ this.chartConfig = e, this.chartData = t, this.chartThemeConfig = n, this.boundingRect = {
1660
+ x: 0,
1661
+ y: 0,
1662
+ width: 0,
1663
+ height: 0
1664
+ };
1665
+ }
1666
+ static {
1667
+ t(this, "BasePlot");
1668
+ }
1669
+ setAxes(e, t) {
1670
+ this.xAxis = e, this.yAxis = t;
1671
+ }
1672
+ setBoundingBoxXY(e) {
1673
+ this.boundingRect.x = e.x, this.boundingRect.y = e.y;
1674
+ }
1675
+ calculateSpace(e) {
1676
+ return this.boundingRect.width = e.width, this.boundingRect.height = e.height, {
1677
+ width: this.boundingRect.width,
1678
+ height: this.boundingRect.height
1679
+ };
1680
+ }
1681
+ getDrawableElements() {
1682
+ if (!(this.xAxis && this.yAxis)) throw Error("Axes must be passed to render Plots");
1683
+ let e = [];
1684
+ for (let [t, n] of this.chartData.plots.entries()) switch (n.type) {
1685
+ case "line":
1686
+ {
1687
+ let r = new re(n, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
1688
+ e.push(...r.getDrawableElement());
1689
+ }
1690
+ break;
1691
+ case "bar":
1692
+ {
1693
+ let r = new ie(n, this.boundingRect, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
1694
+ e.push(...r.getDrawableElement());
1695
+ }
1696
+ break;
1697
+ }
1698
+ return e;
1699
+ }
1700
+ };
1701
+ function P(e, t, n) {
1702
+ return new ae(e, t, n);
1703
+ }
1704
+ t(P, "getPlotComponent");
1705
+ var oe = class {
1706
+ constructor(e, t, n, r) {
1707
+ this.chartConfig = e, this.chartData = t, this.componentStore = {
1708
+ title: ne(e, t, n, r),
1709
+ plot: P(e, t, n),
1710
+ xAxis: N(t.xAxis, e.xAxis, {
1711
+ titleColor: n.xAxisTitleColor,
1712
+ labelColor: n.xAxisLabelColor,
1713
+ tickColor: n.xAxisTickColor,
1714
+ axisLineColor: n.xAxisLineColor
1715
+ }, r),
1716
+ yAxis: N(t.yAxis, e.yAxis, {
1717
+ titleColor: n.yAxisTitleColor,
1718
+ labelColor: n.yAxisLabelColor,
1719
+ tickColor: n.yAxisTickColor,
1720
+ axisLineColor: n.yAxisLineColor
1721
+ }, r)
1722
+ };
1723
+ }
1724
+ static {
1725
+ t(this, "Orchestrator");
1726
+ }
1727
+ calculateVerticalSpace() {
1728
+ let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), a = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), o = this.componentStore.plot.calculateSpace({
1729
+ width: i,
1730
+ height: a
1731
+ });
1732
+ e -= o.width, t -= o.height, o = this.componentStore.title.calculateSpace({
1733
+ width: this.chartConfig.width,
1734
+ height: t
1735
+ }), r = o.height, t -= o.height, this.componentStore.xAxis.setAxisPosition("bottom"), o = this.componentStore.xAxis.calculateSpace({
1736
+ width: e,
1737
+ height: t
1738
+ }), t -= o.height, this.componentStore.yAxis.setAxisPosition("left"), o = this.componentStore.yAxis.calculateSpace({
1739
+ width: e,
1740
+ height: t
1741
+ }), n = o.width, e -= o.width, e > 0 && (i += e, e = 0), t > 0 && (a += t, t = 0), this.componentStore.plot.calculateSpace({
1742
+ width: i,
1743
+ height: a
1744
+ }), this.componentStore.plot.setBoundingBoxXY({
1745
+ x: n,
1746
+ y: r
1747
+ }), this.componentStore.xAxis.setRange([n, n + i]), this.componentStore.xAxis.setBoundingBoxXY({
1748
+ x: n,
1749
+ y: r + a
1750
+ }), this.componentStore.yAxis.setRange([r, r + a]), this.componentStore.yAxis.setBoundingBoxXY({
1751
+ x: 0,
1752
+ y: r
1753
+ }), this.chartData.plots.some((e) => T(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1754
+ }
1755
+ calculateHorizontalSpace() {
1756
+ let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = 0, a = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), o = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), s = this.componentStore.plot.calculateSpace({
1757
+ width: a,
1758
+ height: o
1759
+ });
1760
+ e -= s.width, t -= s.height, s = this.componentStore.title.calculateSpace({
1761
+ width: this.chartConfig.width,
1762
+ height: t
1763
+ }), n = s.height, t -= s.height, this.componentStore.xAxis.setAxisPosition("left"), s = this.componentStore.xAxis.calculateSpace({
1764
+ width: e,
1765
+ height: t
1766
+ }), e -= s.width, r = s.width, this.componentStore.yAxis.setAxisPosition("top"), s = this.componentStore.yAxis.calculateSpace({
1767
+ width: e,
1768
+ height: t
1769
+ }), t -= s.height, i = n + s.height, e > 0 && (a += e, e = 0), t > 0 && (o += t, t = 0), this.componentStore.plot.calculateSpace({
1770
+ width: a,
1771
+ height: o
1772
+ }), this.componentStore.plot.setBoundingBoxXY({
1773
+ x: r,
1774
+ y: i
1775
+ }), this.componentStore.yAxis.setRange([r, r + a]), this.componentStore.yAxis.setBoundingBoxXY({
1776
+ x: r,
1777
+ y: n
1778
+ }), this.componentStore.xAxis.setRange([i, i + o]), this.componentStore.xAxis.setBoundingBoxXY({
1779
+ x: 0,
1780
+ y: i
1781
+ }), this.chartData.plots.some((e) => T(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1782
+ }
1783
+ calculateSpace() {
1784
+ this.chartConfig.chartOrientation === "horizontal" ? this.calculateHorizontalSpace() : this.calculateVerticalSpace();
1785
+ }
1786
+ getDrawableElement() {
1787
+ this.calculateSpace();
1788
+ let e = [];
1789
+ this.componentStore.plot.setAxes(this.componentStore.xAxis, this.componentStore.yAxis);
1790
+ for (let t of Object.values(this.componentStore)) e.push(...t.getDrawableElements());
1791
+ return e;
1792
+ }
1793
+ }, se = class {
1794
+ static {
1795
+ t(this, "XYChartBuilder");
1796
+ }
1797
+ static build(e, t, n, r) {
1798
+ return new oe(e, t, n, r).getDrawableElement();
1799
+ }
1800
+ }, F = 0, I, L = W(), R = U(), z = G(), B = R.plotColorPalette.split(",").map((e) => e.trim()), V = !1, H = !1;
1801
+ function U() {
1802
+ let e = i(), t = p();
1803
+ return _(e.xyChart, t.themeVariables.xyChart);
1804
+ }
1805
+ t(U, "getChartDefaultThemeConfig");
1806
+ function W() {
1807
+ let e = p();
1808
+ return _(d.xyChart, e.xyChart);
1809
+ }
1810
+ t(W, "getChartDefaultConfig");
1811
+ function G() {
1812
+ return {
1813
+ yAxis: {
1814
+ type: "linear",
1815
+ title: "",
1816
+ min: Infinity,
1817
+ max: -Infinity
1818
+ },
1819
+ xAxis: {
1820
+ type: "band",
1821
+ title: "",
1822
+ categories: []
1823
+ },
1824
+ title: "",
1825
+ plots: []
1826
+ };
1827
+ }
1828
+ t(G, "getChartDefaultData");
1829
+ function K(e) {
1830
+ let t = p();
1831
+ return a(e.trim(), t);
1832
+ }
1833
+ t(K, "textSanitizer");
1834
+ function q(e) {
1835
+ I = e;
1836
+ }
1837
+ t(q, "setTmpSVGG");
1838
+ function J(e) {
1839
+ e === "horizontal" ? L.chartOrientation = "horizontal" : L.chartOrientation = "vertical";
1840
+ }
1841
+ t(J, "setOrientation");
1842
+ function Y(e) {
1843
+ z.xAxis.title = K(e.text);
1844
+ }
1845
+ t(Y, "setXAxisTitle");
1846
+ function X(e, t) {
1847
+ z.xAxis = {
1848
+ type: "linear",
1849
+ title: z.xAxis.title,
1850
+ min: e,
1851
+ max: t
1852
+ }, V = !0;
1853
+ }
1854
+ t(X, "setXAxisRangeData");
1855
+ function ce(e) {
1856
+ z.xAxis = {
1857
+ type: "band",
1858
+ title: z.xAxis.title,
1859
+ categories: e.map((e) => K(e.text))
1860
+ }, V = !0;
1861
+ }
1862
+ t(ce, "setXAxisBand");
1863
+ function le(e) {
1864
+ z.yAxis.title = K(e.text);
1865
+ }
1866
+ t(le, "setYAxisTitle");
1867
+ function ue(e, t) {
1868
+ z.yAxis = {
1869
+ type: "linear",
1870
+ title: z.yAxis.title,
1871
+ min: e,
1872
+ max: t
1873
+ }, H = !0;
1874
+ }
1875
+ t(ue, "setYAxisRangeData");
1876
+ function de(e) {
1877
+ let t = Math.min(...e), n = Math.max(...e), r = D(z.yAxis) ? z.yAxis.min : Infinity, i = D(z.yAxis) ? z.yAxis.max : -Infinity;
1878
+ z.yAxis = {
1879
+ type: "linear",
1880
+ title: z.yAxis.title,
1881
+ min: Math.min(r, t),
1882
+ max: Math.max(i, n)
1883
+ };
1884
+ }
1885
+ t(de, "setYAxisRangeFromPlotData");
1886
+ function Z(e) {
1887
+ let t = [];
1888
+ if (e.length === 0) return t;
1889
+ if (!V) {
1890
+ let t = D(z.xAxis) ? z.xAxis.min : Infinity, n = D(z.xAxis) ? z.xAxis.max : -Infinity;
1891
+ X(Math.min(t, 1), Math.max(n, e.length));
1892
+ }
1893
+ if (H || de(e), E(z.xAxis) && (t = z.xAxis.categories.map((t, n) => [t, e[n]])), D(z.xAxis)) {
1894
+ let n = z.xAxis.min, r = z.xAxis.max, i = (r - n) / (e.length - 1), a = [];
1895
+ for (let e = n; e <= r; e += i) a.push(`${e}`);
1896
+ t = a.map((t, n) => [t, e[n]]);
1897
+ }
1898
+ return t;
1899
+ }
1900
+ t(Z, "transformDataWithoutCategory");
1901
+ function Q(e) {
1902
+ return B[e === 0 ? 0 : e % B.length];
1903
+ }
1904
+ t(Q, "getPlotColorFromPalette");
1905
+ function fe(e, t) {
1906
+ let n = Z(t);
1907
+ z.plots.push({
1908
+ type: "line",
1909
+ strokeFill: Q(F),
1910
+ strokeWidth: 2,
1911
+ data: n
1912
+ }), F++;
1913
+ }
1914
+ t(fe, "setLineData");
1915
+ function pe(e, t) {
1916
+ let n = Z(t);
1917
+ z.plots.push({
1918
+ type: "bar",
1919
+ fill: Q(F),
1920
+ data: n
1921
+ }), F++;
1922
+ }
1923
+ t(pe, "setBarData");
1924
+ function me() {
1925
+ if (z.plots.length === 0) throw Error("No Plot to render, please provide a plot with some data");
1926
+ return z.title = r(), se.build(L, z, R, I);
1927
+ }
1928
+ t(me, "getDrawableElem");
1929
+ function he() {
1930
+ return R;
1931
+ }
1932
+ t(he, "getChartThemeConfig");
1933
+ function ge() {
1934
+ return L;
1935
+ }
1936
+ t(ge, "getChartConfig");
1937
+ function $() {
1938
+ return z;
1939
+ }
1940
+ t($, "getXYChartData");
1941
+ var _e = {
1942
+ parser: w,
1943
+ db: {
1944
+ getDrawableElem: me,
1945
+ clear: /* @__PURE__ */ t(function() {
1946
+ l(), F = 0, L = W(), z = G(), R = U(), B = R.plotColorPalette.split(",").map((e) => e.trim()), V = !1, H = !1;
1947
+ }, "clear"),
1948
+ setAccTitle: o,
1949
+ getAccTitle: f,
1950
+ setDiagramTitle: s,
1951
+ getDiagramTitle: r,
1952
+ getAccDescription: c,
1953
+ setAccDescription: n,
1954
+ setOrientation: J,
1955
+ setXAxisTitle: Y,
1956
+ setXAxisRangeData: X,
1957
+ setXAxisBand: ce,
1958
+ setYAxisTitle: le,
1959
+ setYAxisRangeData: ue,
1960
+ setLineData: fe,
1961
+ setBarData: pe,
1962
+ setTmpSVGG: q,
1963
+ getChartThemeConfig: he,
1964
+ getChartConfig: ge,
1965
+ getXYChartData: $
1966
+ },
1967
+ renderer: { draw: /* @__PURE__ */ t((n, r, i, a) => {
1968
+ let o = a.db, s = o.getChartThemeConfig(), c = o.getChartConfig(), l = o.getXYChartData().plots[0].data.map((e) => e[1]);
1969
+ function d(e) {
1970
+ return e === "top" ? "text-before-edge" : "middle";
1971
+ }
1972
+ t(d, "getDominantBaseLine");
1973
+ function f(e) {
1974
+ return e === "left" ? "start" : e === "right" ? "end" : "middle";
1975
+ }
1976
+ t(f, "getTextAnchor");
1977
+ function p(e) {
1978
+ return `translate(${e.x}, ${e.y}) rotate(${e.rotation || 0})`;
1979
+ }
1980
+ t(p, "getTextTransformation"), e.debug("Rendering xychart chart\n" + n);
1981
+ let m = y(r), h = m.append("g").attr("class", "main"), g = h.append("rect").attr("width", c.width).attr("height", c.height).attr("class", "background");
1982
+ u(m, c.height, c.width, !0), m.attr("viewBox", `0 0 ${c.width} ${c.height}`), g.attr("fill", s.backgroundColor), o.setTmpSVGG(m.append("g").attr("class", "mermaid-tmp-group"));
1983
+ let _ = o.getDrawableElem(), v = {};
1984
+ function b(e) {
1985
+ let t = h, n = "";
1986
+ for (let [r] of e.entries()) {
1987
+ let i = h;
1988
+ r > 0 && v[n] && (i = v[n]), n += e[r], t = v[n], t ||= v[n] = i.append("g").attr("class", e[r]);
1989
+ }
1990
+ return t;
1991
+ }
1992
+ t(b, "getGroup");
1993
+ for (let e of _) {
1994
+ if (e.data.length === 0) continue;
1995
+ let n = b(e.groupTexts);
1996
+ switch (e.type) {
1997
+ case "rect":
1998
+ if (n.selectAll("rect").data(e.data).enter().append("rect").attr("x", (e) => e.x).attr("y", (e) => e.y).attr("width", (e) => e.width).attr("height", (e) => e.height).attr("fill", (e) => e.fill).attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth), c.showDataLabel) if (c.chartOrientation === "horizontal") {
1999
+ let r = function(e, t) {
2000
+ let { data: n, label: r } = e;
2001
+ return t * r.length * i <= n.width - 10;
2002
+ };
2003
+ t(r, "fitsHorizontally");
2004
+ let i = .7, a = e.data.map((e, t) => ({
2005
+ data: e,
2006
+ label: l[t].toString()
2007
+ })).filter((e) => e.data.width > 0 && e.data.height > 0), o = a.map((e) => {
2008
+ let { data: t } = e, n = t.height * .7;
2009
+ for (; !r(e, n) && n > 0;) --n;
2010
+ return n;
2011
+ }), s = Math.floor(Math.min(...o));
2012
+ n.selectAll("text").data(a).enter().append("text").attr("x", (e) => e.data.x + e.data.width - 10).attr("y", (e) => e.data.y + e.data.height / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").attr("fill", "black").attr("font-size", `${s}px`).text((e) => e.label);
2013
+ } else {
2014
+ let r = function(e, t, n) {
2015
+ let { data: r, label: i } = e, a = t * i.length * .7, o = r.x + r.width / 2, s = o - a / 2, c = o + a / 2, l = s >= r.x && c <= r.x + r.width, u = r.y + n + t <= r.y + r.height;
2016
+ return l && u;
2017
+ };
2018
+ t(r, "fitsInBar");
2019
+ let i = e.data.map((e, t) => ({
2020
+ data: e,
2021
+ label: l[t].toString()
2022
+ })).filter((e) => e.data.width > 0 && e.data.height > 0), a = i.map((e) => {
2023
+ let { data: t, label: n } = e, i = t.width / (n.length * .7);
2024
+ for (; !r(e, i, 10) && i > 0;) --i;
2025
+ return i;
2026
+ }), o = Math.floor(Math.min(...a));
2027
+ n.selectAll("text").data(i).enter().append("text").attr("x", (e) => e.data.x + e.data.width / 2).attr("y", (e) => e.data.y + 10).attr("text-anchor", "middle").attr("dominant-baseline", "hanging").attr("fill", "black").attr("font-size", `${o}px`).text((e) => e.label);
2028
+ }
2029
+ break;
2030
+ case "text":
2031
+ n.selectAll("text").data(e.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (e) => e.fill).attr("font-size", (e) => e.fontSize).attr("dominant-baseline", (e) => d(e.verticalPos)).attr("text-anchor", (e) => f(e.horizontalPos)).attr("transform", (e) => p(e)).text((e) => e.text);
2032
+ break;
2033
+ case "path":
2034
+ n.selectAll("path").data(e.data).enter().append("path").attr("d", (e) => e.path).attr("fill", (e) => e.fill ? e.fill : "none").attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth);
2035
+ break;
2036
+ }
2037
+ }
2038
+ }, "draw") }
2039
+ };
2040
+ //#endregion
2041
+ export { _e as diagram };
2042
+
2043
+ //# sourceMappingURL=xychartDiagram-JWTSCODW-DpIry-th.js.map