mio-previewer 0.2.73 → 0.2.76

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 (282) hide show
  1. package/README.md +1 -0
  2. package/README.zh-CN.md +2 -1
  3. package/dist/_basePickBy-CXmXW7jd.js +166 -0
  4. package/dist/_basePickBy-CtuVwROD.cjs +1 -0
  5. package/dist/_baseUniq-CGoiOkSa.js +682 -0
  6. package/dist/_baseUniq-CYtOXxfV.cjs +1 -0
  7. package/dist/_createAssigner-DqH64jc7.cjs +1 -0
  8. package/dist/_createAssigner-IEX8lwxm.js +573 -0
  9. package/dist/arc-C78br9Yj.cjs +1 -0
  10. package/dist/arc-vLgDTVZZ.js +80 -0
  11. package/dist/architecture-O4VJ6CD3-B9qzjtV8.cjs +1 -0
  12. package/dist/architecture-O4VJ6CD3-wqAP4onK.js +2 -0
  13. package/dist/architectureDiagram-VXUJARFQ-CYbuyVAs.js +4039 -0
  14. package/dist/architectureDiagram-VXUJARFQ-DEGYSl1f.cjs +36 -0
  15. package/dist/array-CApNbSU9.js +6 -0
  16. package/dist/array-DZSRzHA_.cjs +1 -0
  17. package/dist/assets/parser.worker-Bzb1GItl.js +14 -0
  18. package/dist/blockDiagram-VD42YOAC-DaH3L5Ng.js +3009 -0
  19. package/dist/blockDiagram-VD42YOAC-DeX0dq72.cjs +122 -0
  20. package/dist/c4Diagram-YG6GDRKO-CIThIYo6.js +2959 -0
  21. package/dist/c4Diagram-YG6GDRKO-Dz6dif_9.cjs +10 -0
  22. package/dist/channel-BWHkpgVD.cjs +1 -0
  23. package/dist/channel-JT7eWw2w.js +5 -0
  24. package/dist/chunk-4BX2VUAB-BZTgbbzC.js +8 -0
  25. package/dist/chunk-4BX2VUAB-HXFjpyQg.cjs +1 -0
  26. package/dist/chunk-55IACEB6-DWUqxxdp.js +8 -0
  27. package/dist/chunk-55IACEB6-Hy_THNUs.cjs +1 -0
  28. package/dist/chunk-ABZYJK2D-CbIYYZa_.cjs +80 -0
  29. package/dist/chunk-ABZYJK2D-DDrmE3Q7.js +2518 -0
  30. package/dist/chunk-ATLVNIR6-DHlCNWnJ.js +67 -0
  31. package/dist/chunk-ATLVNIR6-shAOudT0.cjs +1 -0
  32. package/dist/chunk-B4BG7PRW-C67vroOS.cjs +165 -0
  33. package/dist/chunk-B4BG7PRW-DSYuK8dI.js +3116 -0
  34. package/dist/chunk-BNMv73og.cjs +1 -0
  35. package/dist/chunk-CVBHYZKI-CLVcv_xh.cjs +1 -0
  36. package/dist/chunk-CVBHYZKI-CiCGetln.js +12 -0
  37. package/dist/chunk-DI55MBZ5-BCvBgHrp.cjs +220 -0
  38. package/dist/chunk-DI55MBZ5-Clru0TyG.js +2000 -0
  39. package/dist/chunk-Dbv0sNQl.js +20 -0
  40. package/dist/chunk-FMBD7UC4-D4kohRVY.js +5 -0
  41. package/dist/{chunk-FMBD7UC4-DxkUZTpt.cjs → chunk-FMBD7UC4-DWMVCXKq.cjs} +2 -2
  42. package/dist/chunk-HN2XXSSU-BwmRMa2r.cjs +1 -0
  43. package/dist/chunk-HN2XXSSU-CJL8wAZ2.js +76 -0
  44. package/dist/chunk-JA3XYJ7Z-BaAdjYEy.cjs +70 -0
  45. package/dist/chunk-JA3XYJ7Z-CpKHrbOX.js +1849 -0
  46. package/dist/chunk-JZLCHNYA-CYo7ykJf.js +4863 -0
  47. package/dist/chunk-JZLCHNYA-CvPIQFXP.cjs +54 -0
  48. package/dist/chunk-QN33PNHL-BFbXAWI4.js +25 -0
  49. package/dist/chunk-QN33PNHL-Cu0FHarG.cjs +1 -0
  50. package/dist/chunk-QXUST7PY-CnnfdJrM.cjs +7 -0
  51. package/dist/chunk-QXUST7PY-CxCAwQqP.js +488 -0
  52. package/dist/chunk-QZHKN3VN-2e6nJr8c.cjs +1 -0
  53. package/dist/chunk-QZHKN3VN-Dal4kx9B.js +15 -0
  54. package/dist/chunk-S3R3BYOJ-B2ozcJNg.cjs +2 -0
  55. package/dist/chunk-S3R3BYOJ-CG6GoSCd.js +1119 -0
  56. package/dist/chunk-TZMSLE5B-CooeLs4Q.js +57 -0
  57. package/dist/chunk-TZMSLE5B-D92K1Ja5.cjs +1 -0
  58. package/dist/classDiagram-2ON5EDUG-Bv1XCvDZ.js +28 -0
  59. package/dist/classDiagram-2ON5EDUG-BzMV1CJW.cjs +1 -0
  60. package/dist/classDiagram-v2-WZHVMYZB-Bqxv5U7u.js +28 -0
  61. package/dist/classDiagram-v2-WZHVMYZB-BzMV1CJW.cjs +1 -0
  62. package/dist/clone-B0KDIkSS.js +8 -0
  63. package/dist/clone-wvtBTB6v.cjs +1 -0
  64. package/dist/cose-bilkent-S5V4N54A-DMHTv1aW.cjs +1 -0
  65. package/dist/cose-bilkent-S5V4N54A-bGPAcpg6.js +2250 -0
  66. package/dist/custom-Bl_fVJZ0.cjs +84 -0
  67. package/dist/custom-D-TzPpWT.js +5281 -0
  68. package/dist/cytoscape.esm-CElDUMAx.cjs +321 -0
  69. package/dist/cytoscape.esm-xf9dtmBj.js +18100 -0
  70. package/dist/dagre-6UL2VRFP-3bgUxzqG.js +294 -0
  71. package/dist/dagre-6UL2VRFP-B3NqmIxs.cjs +4 -0
  72. package/dist/dagre-BfAHSwtP.js +1472 -0
  73. package/dist/dagre-Buvkww-e.cjs +1 -0
  74. package/dist/defaultLocale-B5dSAwiC.js +201 -0
  75. package/dist/defaultLocale-G0HsdRIB.cjs +1 -0
  76. package/dist/diagram-PSM6KHXK-C4FjxUHt.cjs +24 -0
  77. package/dist/diagram-PSM6KHXK-CF8TkgzX.js +527 -0
  78. package/dist/diagram-QEK2KX5R-Dl3IHeA5.js +213 -0
  79. package/dist/diagram-QEK2KX5R-Z9DYjr44.cjs +43 -0
  80. package/dist/diagram-S2PKOQOG-Bib-zL2S.cjs +24 -0
  81. package/dist/diagram-S2PKOQOG-ZKvn7IEe.js +133 -0
  82. package/dist/dist-DC-lM4uX.cjs +1 -0
  83. package/dist/dist-zNcLEPGR.js +51 -0
  84. package/dist/erDiagram-Q2GNP2WA-DFMV9OUT.cjs +60 -0
  85. package/dist/erDiagram-Q2GNP2WA-DJYJEzEB.js +1600 -0
  86. package/dist/flowDiagram-NV44I4VS-7TxeawHS.cjs +162 -0
  87. package/dist/flowDiagram-NV44I4VS-CXa6ycqs.js +4128 -0
  88. package/dist/ganttDiagram-LVOFAZNH-DqT7pu4m.js +2869 -0
  89. package/dist/ganttDiagram-LVOFAZNH-iiExGpwF.cjs +267 -0
  90. package/dist/gitGraph-ZV4HHKMB-BjaEVcYh.cjs +1 -0
  91. package/dist/gitGraph-ZV4HHKMB-Cl2I6-l3.js +2 -0
  92. package/dist/gitGraphDiagram-NY62KEGX-Tphu_MeC.js +621 -0
  93. package/dist/gitGraphDiagram-NY62KEGX-k5xzXg7C.cjs +65 -0
  94. package/dist/graphlib-C3tPLMbC.js +225 -0
  95. package/dist/graphlib-Cdg0u3TT.cjs +1 -0
  96. package/dist/info-63CPKGFF-D2A5GDFo.js +2 -0
  97. package/dist/info-63CPKGFF-MRaucWlf.cjs +1 -0
  98. package/dist/infoDiagram-F6ZHWCRC-3Jwo4J0f.cjs +2 -0
  99. package/dist/infoDiagram-F6ZHWCRC-BUoruN76.js +19 -0
  100. package/dist/init-07zIhv_j.cjs +1 -0
  101. package/dist/init-Bwwdo3M6.js +15 -0
  102. package/dist/journeyDiagram-XKPGCS4Q-C_3oD9RV.cjs +139 -0
  103. package/dist/journeyDiagram-XKPGCS4Q-DB7INfrf.js +883 -0
  104. package/dist/kanban-definition-3W4ZIXB7-AVLIBuMF.js +968 -0
  105. package/dist/kanban-definition-3W4ZIXB7-txUXjKzB.cjs +89 -0
  106. package/dist/katex-6UpFeIdV.cjs +261 -0
  107. package/dist/katex-BHcJffnM.js +22112 -0
  108. package/dist/line-DYhVGH2B.js +34 -0
  109. package/dist/line-DdNAPGaw.cjs +1 -0
  110. package/dist/linear-n4_iirEu.js +289 -0
  111. package/dist/linear-rQLpRrSH.cjs +1 -0
  112. package/dist/loadCss-D6257oR0.js +8 -0
  113. package/dist/loadCss-DhrQh6-A.cjs +1 -0
  114. package/dist/markdown-it-Cz3KGZjR.cjs +2 -0
  115. package/dist/markdown-it-D-hH4G7k.js +173 -0
  116. package/dist/math-G8rF7UWn.cjs +1 -0
  117. package/dist/math-H49DsxYR.js +10 -0
  118. package/dist/mermaid-parser.core-B84fnaGG.js +11904 -0
  119. package/dist/mermaid-parser.core-C9EbhVVg.cjs +82 -0
  120. package/dist/mindmap-definition-VGOIOE7T-CXlyYsc6.cjs +68 -0
  121. package/dist/mindmap-definition-VGOIOE7T-VIt9sDN3.js +963 -0
  122. package/dist/mio-previewer.cjs.js +11 -21
  123. package/dist/mio-previewer.css +2 -9
  124. package/dist/mio-previewer.esm.js +4939 -0
  125. package/dist/ordinal-C55HfHHp.js +65 -0
  126. package/dist/ordinal-CUPR-p0T.cjs +1 -0
  127. package/dist/packet-HUATNLJX-CGNko_oS.cjs +1 -0
  128. package/dist/packet-HUATNLJX-CVx40lqO.js +2 -0
  129. package/dist/path-DNvJyUE8.js +85 -0
  130. package/dist/path-Kklx0M1v.cjs +1 -0
  131. package/dist/pie-WTHONI2E-BdPx0Cfg.cjs +1 -0
  132. package/dist/pie-WTHONI2E-DX5V8x0L.js +2 -0
  133. package/dist/pieDiagram-ADFJNKIX-BysReYfx.js +165 -0
  134. package/dist/pieDiagram-ADFJNKIX-CTT1YMsk.cjs +30 -0
  135. package/dist/plugins/custom.cjs.js +1 -1
  136. package/dist/plugins/custom.esm.js +2 -0
  137. package/dist/plugins/markdown-it.cjs.js +1 -3
  138. package/dist/plugins/markdown-it.esm.js +2 -0
  139. package/dist/quadrantDiagram-AYHSOK5B-8-V3cwsC.cjs +7 -0
  140. package/dist/quadrantDiagram-AYHSOK5B-DRutDK03.js +1974 -0
  141. package/dist/radar-NJJJXTRR-CTD6M8nl.js +2 -0
  142. package/dist/radar-NJJJXTRR-wJoTnQbj.cjs +1 -0
  143. package/dist/requirementDiagram-UZGBJVZJ-DFRpWnfW.cjs +64 -0
  144. package/dist/requirementDiagram-UZGBJVZJ-DNYoJyhG.js +2191 -0
  145. package/dist/sankeyDiagram-TZEHDZUN-B9fxDP0Q.cjs +10 -0
  146. package/dist/sankeyDiagram-TZEHDZUN-DD6bkI4Z.js +920 -0
  147. package/dist/sequenceDiagram-WL72ISMW-Bmptok1c.js +3562 -0
  148. package/dist/sequenceDiagram-WL72ISMW-D9sXtgAn.cjs +145 -0
  149. package/dist/src-BMjps4Ui.cjs +1 -0
  150. package/dist/src-BuisGndr.js +2149 -0
  151. package/dist/stateDiagram-FKZM4ZOC-Bmiw8fnW.js +217 -0
  152. package/dist/stateDiagram-FKZM4ZOC-DiD1WJPM.cjs +1 -0
  153. package/dist/stateDiagram-v2-4FDKWEC3-5ADhn1IF.js +27 -0
  154. package/dist/stateDiagram-v2-4FDKWEC3-BjhmCPL1.cjs +1 -0
  155. package/dist/timeline-definition-IT6M3QCI-C9VMls3W.js +830 -0
  156. package/dist/timeline-definition-IT6M3QCI-ZzbHXhNl.cjs +61 -0
  157. package/dist/treemap-75Q7IDZK-9TPMYr3R.cjs +1 -0
  158. package/dist/treemap-75Q7IDZK-u3p-cHDL.js +2 -0
  159. package/dist/types/plugins/custom/codeBlockPlugin.d.ts +8 -0
  160. package/dist/types/plugins/custom/mermaidPlugin.d.ts +4 -0
  161. package/dist/xychartDiagram-PRI3JC2R-BI6KuGZ2.cjs +7 -0
  162. package/dist/xychartDiagram-PRI3JC2R-BWabDL1u.js +2041 -0
  163. package/package.json +2 -2
  164. package/dist/_basePickBy-Be3yyf2d.js +0 -151
  165. package/dist/_basePickBy-Z0DtrAKQ.cjs +0 -1
  166. package/dist/_baseUniq-BXkA0Pgx.js +0 -614
  167. package/dist/_baseUniq-Dq2eV1vY.cjs +0 -1
  168. package/dist/arc-B-QGG8RZ.cjs +0 -1
  169. package/dist/arc-djW14lrn.js +0 -83
  170. package/dist/architecture-O4VJ6CD3-Cws_zM2K.cjs +0 -1
  171. package/dist/architecture-O4VJ6CD3-pdMXTCaT.js +0 -5
  172. package/dist/architectureDiagram-VXUJARFQ-BwchhvqL.js +0 -4661
  173. package/dist/architectureDiagram-VXUJARFQ-DxDLWGpO.cjs +0 -36
  174. package/dist/assets/parser.worker-67NQKZt5.js +0 -16
  175. package/dist/blockDiagram-VD42YOAC-B4Xc8gfX.cjs +0 -122
  176. package/dist/blockDiagram-VD42YOAC-DpPneP6J.js +0 -2261
  177. package/dist/c4Diagram-YG6GDRKO-695lQbrZ.cjs +0 -10
  178. package/dist/c4Diagram-YG6GDRKO-Cnlax2Xq.js +0 -1580
  179. package/dist/channel-D_ITz6Jy.cjs +0 -1
  180. package/dist/channel-sXy9EduO.js +0 -5
  181. package/dist/chunk-4BX2VUAB-Bdx3_f83.cjs +0 -1
  182. package/dist/chunk-4BX2VUAB-DRkGmgAZ.js +0 -8
  183. package/dist/chunk-55IACEB6-BB03hpRC.cjs +0 -1
  184. package/dist/chunk-55IACEB6-Ord5OQlh.js +0 -8
  185. package/dist/chunk-B4BG7PRW-Ca0fOgzA.cjs +0 -165
  186. package/dist/chunk-B4BG7PRW-D-cs8bDX.js +0 -1375
  187. package/dist/chunk-DI55MBZ5-BsRe2B2M.cjs +0 -220
  188. package/dist/chunk-DI55MBZ5-DSmlLD1s.js +0 -1370
  189. package/dist/chunk-FMBD7UC4-IYQmAMTo.js +0 -19
  190. package/dist/chunk-QN33PNHL-B7G6Qlf3.cjs +0 -1
  191. package/dist/chunk-QN33PNHL-EYMc4JVr.js +0 -19
  192. package/dist/chunk-QZHKN3VN-B8NJ6Ahx.cjs +0 -1
  193. package/dist/chunk-QZHKN3VN-C4WIG5z8.js +0 -15
  194. package/dist/chunk-TZMSLE5B-BoM53RHv.js +0 -64
  195. package/dist/chunk-TZMSLE5B-CgLDb48A.cjs +0 -1
  196. package/dist/classDiagram-2ON5EDUG-CxmdZvqc.js +0 -16
  197. package/dist/classDiagram-2ON5EDUG-DIRim8qa.cjs +0 -1
  198. package/dist/classDiagram-v2-WZHVMYZB-CxmdZvqc.js +0 -16
  199. package/dist/classDiagram-v2-WZHVMYZB-DIRim8qa.cjs +0 -1
  200. package/dist/clone-DOYxaT_d.js +0 -8
  201. package/dist/clone-DSlm33NG.cjs +0 -1
  202. package/dist/cose-bilkent-S5V4N54A-BD3p1OC_.cjs +0 -1
  203. package/dist/cose-bilkent-S5V4N54A-yLoaqH3G.js +0 -2608
  204. package/dist/cytoscape.esm-DHF7mANN.cjs +0 -331
  205. package/dist/cytoscape.esm-DfdJODL8.js +0 -18735
  206. package/dist/dagre-6UL2VRFP-DG1oQ4B2.cjs +0 -4
  207. package/dist/dagre-6UL2VRFP-VjboDBbp.js +0 -444
  208. package/dist/defaultLocale-D7EN2tov.js +0 -171
  209. package/dist/defaultLocale-DIVzfLaQ.cjs +0 -1
  210. package/dist/diagram-PSM6KHXK-C1p0l5TY.js +0 -531
  211. package/dist/diagram-PSM6KHXK-a4rni6rJ.cjs +0 -24
  212. package/dist/diagram-QEK2KX5R-CErKOsX1.cjs +0 -43
  213. package/dist/diagram-QEK2KX5R-CKmmuumX.js +0 -217
  214. package/dist/diagram-S2PKOQOG-B1M7qCNl.cjs +0 -24
  215. package/dist/diagram-S2PKOQOG-BMLCJExF.js +0 -142
  216. package/dist/erDiagram-Q2GNP2WA-BfuCa_Za.cjs +0 -60
  217. package/dist/erDiagram-Q2GNP2WA-fOTsQA-d.js +0 -841
  218. package/dist/flowDiagram-NV44I4VS-BEqeUuqz.cjs +0 -162
  219. package/dist/flowDiagram-NV44I4VS-DDwRAjVG.js +0 -1620
  220. package/dist/ganttDiagram-LVOFAZNH-BbuRS8g3.js +0 -2505
  221. package/dist/ganttDiagram-LVOFAZNH-BlVeWKRf.cjs +0 -267
  222. package/dist/gitGraph-ZV4HHKMB-Bmu8r_Iq.cjs +0 -1
  223. package/dist/gitGraph-ZV4HHKMB-DcQ2E4dF.js +0 -5
  224. package/dist/gitGraphDiagram-NY62KEGX-DcMEeNh7.cjs +0 -65
  225. package/dist/gitGraphDiagram-NY62KEGX-_sWVSKbL.js +0 -699
  226. package/dist/graph-DEnt0OtZ.js +0 -247
  227. package/dist/graph-Dgcjs2XL.cjs +0 -1
  228. package/dist/info-63CPKGFF-DVDDcoHy.js +0 -5
  229. package/dist/info-63CPKGFF-Dc3cWL0G.cjs +0 -1
  230. package/dist/infoDiagram-F6ZHWCRC-DoUSS0kC.js +0 -24
  231. package/dist/infoDiagram-F6ZHWCRC-ZeTrjgaE.cjs +0 -2
  232. package/dist/init-CHZsXQcr.cjs +0 -1
  233. package/dist/init-DjUOC4st.js +0 -16
  234. package/dist/journeyDiagram-XKPGCS4Q-DGe13iBu.js +0 -834
  235. package/dist/journeyDiagram-XKPGCS4Q-Ihl9g4mY.cjs +0 -139
  236. package/dist/kanban-definition-3W4ZIXB7-2qkrkVLK.cjs +0 -89
  237. package/dist/kanban-definition-3W4ZIXB7-BhWe5nMU.js +0 -719
  238. package/dist/katex-CmGeg_OO.js +0 -11692
  239. package/dist/katex-DEiiRhcn.cjs +0 -261
  240. package/dist/layout-BDNzBIaA.cjs +0 -1
  241. package/dist/layout-DTBfbHzy.js +0 -1324
  242. package/dist/linear-BRl2UYUr.cjs +0 -1
  243. package/dist/linear-CwbXkgvF.js +0 -259
  244. package/dist/loadCss-BbD6mdv-.cjs +0 -1
  245. package/dist/loadCss-DS0Fuaxe.js +0 -8
  246. package/dist/mermaid-parser.core-CJ1yJm0s.js +0 -12966
  247. package/dist/mermaid-parser.core-CxTcWSA2.cjs +0 -128
  248. package/dist/mindmap-definition-VGOIOE7T-BPUEmP7g.cjs +0 -68
  249. package/dist/mindmap-definition-VGOIOE7T-DSqZBgzR.js +0 -784
  250. package/dist/mio-previewer.es.js +0 -6171
  251. package/dist/ordinal-CagbB1m8.cjs +0 -1
  252. package/dist/ordinal-DfAQgscy.js +0 -61
  253. package/dist/packet-HUATNLJX-B-qfkr5X.cjs +0 -1
  254. package/dist/packet-HUATNLJX-Dxob_meO.js +0 -5
  255. package/dist/pie-WTHONI2E-BRtdTGWt.js +0 -5
  256. package/dist/pie-WTHONI2E-DK7f6qJw.cjs +0 -1
  257. package/dist/pieDiagram-ADFJNKIX-Dhq_bEzm.js +0 -161
  258. package/dist/pieDiagram-ADFJNKIX-V04ms3gr.cjs +0 -30
  259. package/dist/plugins/custom.es.js +0 -85
  260. package/dist/plugins/markdown-it.es.js +0 -173
  261. package/dist/quadrantDiagram-AYHSOK5B-C97bOmUE.js +0 -1022
  262. package/dist/quadrantDiagram-AYHSOK5B-DlqFPVhi.cjs +0 -7
  263. package/dist/radar-NJJJXTRR-B9jT3LP3.cjs +0 -1
  264. package/dist/radar-NJJJXTRR-D8plmle3.js +0 -5
  265. package/dist/requirementDiagram-UZGBJVZJ-BxVMLKfQ.js +0 -850
  266. package/dist/requirementDiagram-UZGBJVZJ-DENJ74Ew.cjs +0 -64
  267. package/dist/sankeyDiagram-TZEHDZUN-DwgW7Suq.js +0 -810
  268. package/dist/sankeyDiagram-TZEHDZUN-lTBLhaSq.cjs +0 -10
  269. package/dist/sequenceDiagram-WL72ISMW-BAOeX1dA.js +0 -2511
  270. package/dist/sequenceDiagram-WL72ISMW-BRVvH1X4.cjs +0 -145
  271. package/dist/stateDiagram-FKZM4ZOC-BrFQE7Gl.js +0 -263
  272. package/dist/stateDiagram-FKZM4ZOC-D8GjooGL.cjs +0 -1
  273. package/dist/stateDiagram-v2-4FDKWEC3-4VRIY-eH.cjs +0 -1
  274. package/dist/stateDiagram-v2-4FDKWEC3-DnrWD6a3.js +0 -16
  275. package/dist/timeline-definition-IT6M3QCI-BJMIlueb.js +0 -795
  276. package/dist/timeline-definition-IT6M3QCI-BQFGUuGP.cjs +0 -61
  277. package/dist/treemap-75Q7IDZK-BX1vBFWf.cjs +0 -1
  278. package/dist/treemap-75Q7IDZK-CMTkunTV.js +0 -5
  279. package/dist/viewer-CZUSHxhf.js +0 -19131
  280. package/dist/viewer-Canph5Zx.cjs +0 -305
  281. package/dist/xychartDiagram-PRI3JC2R-Sl8WX8wc.cjs +0 -7
  282. package/dist/xychartDiagram-PRI3JC2R-WnFI7Ezu.js +0 -1340
@@ -0,0 +1,2869 @@
1
+ import { i as e, t } from "./chunk-Dbv0sNQl.js";
2
+ import { a as n, c as r, d as i, f as a, g as o, h as s, i as c, p as l, s as u, u as d, v as f } from "./src-BuisGndr.js";
3
+ import { B as p, C as m, U as h, _ as g, a as _, b as v, c as y, s as b, v as x, z as S } from "./chunk-ABZYJK2D-DDrmE3Q7.js";
4
+ import { a as C, i as w, n as T, r as E, t as D } from "./linear-n4_iirEu.js";
5
+ import { t as O } from "./init-Bwwdo3M6.js";
6
+ import { h as k } from "./chunk-S3R3BYOJ-CG6GoSCd.js";
7
+ import { t as ee } from "./dist-zNcLEPGR.js";
8
+ //#region node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/max.js
9
+ function te(e, t) {
10
+ let n;
11
+ if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
12
+ else {
13
+ let r = -1;
14
+ for (let i of e) (i = t(i, ++r, e)) != null && (n < i || n === void 0 && i >= i) && (n = i);
15
+ }
16
+ return n;
17
+ }
18
+ //#endregion
19
+ //#region node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/min.js
20
+ function ne(e, t) {
21
+ let n;
22
+ if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);
23
+ else {
24
+ let r = -1;
25
+ for (let i of e) (i = t(i, ++r, e)) != null && (n > i || n === void 0 && i >= i) && (n = i);
26
+ }
27
+ return n;
28
+ }
29
+ //#endregion
30
+ //#region node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/identity.js
31
+ function re(e) {
32
+ return e;
33
+ }
34
+ //#endregion
35
+ //#region node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/axis.js
36
+ var ie = 1, ae = 2, oe = 3, se = 4, ce = 1e-6;
37
+ function le(e) {
38
+ return "translate(" + e + ",0)";
39
+ }
40
+ function ue(e) {
41
+ return "translate(0," + e + ")";
42
+ }
43
+ function de(e) {
44
+ return (t) => +e(t);
45
+ }
46
+ function fe(e, t) {
47
+ return t = Math.max(0, e.bandwidth() - t * 2) / 2, e.round() && (t = Math.round(t)), (n) => +e(n) + t;
48
+ }
49
+ function pe() {
50
+ return !this.__axis;
51
+ }
52
+ function me(e, t) {
53
+ var n = [], r = null, i = null, a = 6, o = 6, s = 3, c = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : .5, l = e === ie || e === se ? -1 : 1, u = e === se || e === ae ? "x" : "y", d = e === ie || e === oe ? le : ue;
54
+ function f(f) {
55
+ var p = r ?? (t.ticks ? t.ticks.apply(t, n) : t.domain()), m = i ?? (t.tickFormat ? t.tickFormat.apply(t, n) : re), h = Math.max(a, 0) + s, g = t.range(), _ = +g[0] + c, v = +g[g.length - 1] + c, y = (t.bandwidth ? fe : de)(t.copy(), c), b = f.selection ? f.selection() : f, x = b.selectAll(".domain").data([null]), S = b.selectAll(".tick").data(p, t).order(), C = S.exit(), w = S.enter().append("g").attr("class", "tick"), T = S.select("line"), E = S.select("text");
56
+ x = x.merge(x.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), S = S.merge(w), T = T.merge(w.append("line").attr("stroke", "currentColor").attr(u + "2", l * a)), E = E.merge(w.append("text").attr("fill", "currentColor").attr(u, l * h).attr("dy", e === ie ? "0em" : e === oe ? "0.71em" : "0.32em")), f !== b && (x = x.transition(f), S = S.transition(f), T = T.transition(f), E = E.transition(f), C = C.transition(f).attr("opacity", ce).attr("transform", function(e) {
57
+ return isFinite(e = y(e)) ? d(e + c) : this.getAttribute("transform");
58
+ }), w.attr("opacity", ce).attr("transform", function(e) {
59
+ var t = this.parentNode.__axis;
60
+ return d((t && isFinite(t = t(e)) ? t : y(e)) + c);
61
+ })), C.remove(), x.attr("d", e === se || e === ae ? o ? "M" + l * o + "," + _ + "H" + c + "V" + v + "H" + l * o : "M" + c + "," + _ + "V" + v : o ? "M" + _ + "," + l * o + "V" + c + "H" + v + "V" + l * o : "M" + _ + "," + c + "H" + v), S.attr("opacity", 1).attr("transform", function(e) {
62
+ return d(y(e) + c);
63
+ }), T.attr(u + "2", l * a), E.attr(u, l * h).text(m), b.filter(pe).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", e === ae ? "start" : e === se ? "end" : "middle"), b.each(function() {
64
+ this.__axis = y;
65
+ });
66
+ }
67
+ return f.scale = function(e) {
68
+ return arguments.length ? (t = e, f) : t;
69
+ }, f.ticks = function() {
70
+ return n = Array.from(arguments), f;
71
+ }, f.tickArguments = function(e) {
72
+ return arguments.length ? (n = e == null ? [] : Array.from(e), f) : n.slice();
73
+ }, f.tickValues = function(e) {
74
+ return arguments.length ? (r = e == null ? null : Array.from(e), f) : r && r.slice();
75
+ }, f.tickFormat = function(e) {
76
+ return arguments.length ? (i = e, f) : i;
77
+ }, f.tickSize = function(e) {
78
+ return arguments.length ? (a = o = +e, f) : a;
79
+ }, f.tickSizeInner = function(e) {
80
+ return arguments.length ? (a = +e, f) : a;
81
+ }, f.tickSizeOuter = function(e) {
82
+ return arguments.length ? (o = +e, f) : o;
83
+ }, f.tickPadding = function(e) {
84
+ return arguments.length ? (s = +e, f) : s;
85
+ }, f.offset = function(e) {
86
+ return arguments.length ? (c = +e, f) : c;
87
+ }, f;
88
+ }
89
+ function he(e) {
90
+ return me(ie, e);
91
+ }
92
+ function ge(e) {
93
+ return me(oe, e);
94
+ }
95
+ //#endregion
96
+ //#region node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/math.js
97
+ var _e = Math.PI / 180, ve = 180 / Math.PI, ye = 18, be = .96422, xe = 1, Se = .82521, Ce = 4 / 29, we = 6 / 29, Te = 3 * we * we, Ee = we * we * we;
98
+ function De(e) {
99
+ if (e instanceof A) return new A(e.l, e.a, e.b, e.opacity);
100
+ if (e instanceof j) return Fe(e);
101
+ e instanceof r || (e = d(e));
102
+ var t = Me(e.r), n = Me(e.g), i = Me(e.b), a = ke((.2225045 * t + .7168786 * n + .0606169 * i) / xe), o, s;
103
+ return t === n && n === i ? o = s = a : (o = ke((.4360747 * t + .3850649 * n + .1430804 * i) / be), s = ke((.0139322 * t + .0971045 * n + .7141733 * i) / Se)), new A(116 * a - 16, 500 * (o - a), 200 * (a - s), e.opacity);
104
+ }
105
+ function Oe(e, t, n, r) {
106
+ return arguments.length === 1 ? De(e) : new A(e, t, n, r ?? 1);
107
+ }
108
+ function A(e, t, n, r) {
109
+ this.l = +e, this.a = +t, this.b = +n, this.opacity = +r;
110
+ }
111
+ i(A, Oe, a(u, {
112
+ brighter(e) {
113
+ return new A(this.l + ye * (e ?? 1), this.a, this.b, this.opacity);
114
+ },
115
+ darker(e) {
116
+ return new A(this.l - ye * (e ?? 1), this.a, this.b, this.opacity);
117
+ },
118
+ rgb() {
119
+ var e = (this.l + 16) / 116, t = isNaN(this.a) ? e : e + this.a / 500, n = isNaN(this.b) ? e : e - this.b / 200;
120
+ return t = be * Ae(t), e = xe * Ae(e), n = Se * Ae(n), new r(je(3.1338561 * t - 1.6168667 * e - .4906146 * n), je(-.9787684 * t + 1.9161415 * e + .033454 * n), je(.0719453 * t - .2289914 * e + 1.4052427 * n), this.opacity);
121
+ }
122
+ }));
123
+ function ke(e) {
124
+ return e > Ee ? e ** (1 / 3) : e / Te + Ce;
125
+ }
126
+ function Ae(e) {
127
+ return e > we ? e * e * e : Te * (e - Ce);
128
+ }
129
+ function je(e) {
130
+ return 255 * (e <= .0031308 ? 12.92 * e : 1.055 * e ** (1 / 2.4) - .055);
131
+ }
132
+ function Me(e) {
133
+ return (e /= 255) <= .04045 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4;
134
+ }
135
+ function Ne(e) {
136
+ if (e instanceof j) return new j(e.h, e.c, e.l, e.opacity);
137
+ if (e instanceof A || (e = De(e)), e.a === 0 && e.b === 0) return new j(NaN, 0 < e.l && e.l < 100 ? 0 : NaN, e.l, e.opacity);
138
+ var t = Math.atan2(e.b, e.a) * ve;
139
+ return new j(t < 0 ? t + 360 : t, Math.sqrt(e.a * e.a + e.b * e.b), e.l, e.opacity);
140
+ }
141
+ function Pe(e, t, n, r) {
142
+ return arguments.length === 1 ? Ne(e) : new j(e, t, n, r ?? 1);
143
+ }
144
+ function j(e, t, n, r) {
145
+ this.h = +e, this.c = +t, this.l = +n, this.opacity = +r;
146
+ }
147
+ function Fe(e) {
148
+ if (isNaN(e.h)) return new A(e.l, 0, 0, e.opacity);
149
+ var t = e.h * _e;
150
+ return new A(e.l, Math.cos(t) * e.c, Math.sin(t) * e.c, e.opacity);
151
+ }
152
+ i(j, Pe, a(u, {
153
+ brighter(e) {
154
+ return new j(this.h, this.c, this.l + ye * (e ?? 1), this.opacity);
155
+ },
156
+ darker(e) {
157
+ return new j(this.h, this.c, this.l - ye * (e ?? 1), this.opacity);
158
+ },
159
+ rgb() {
160
+ return Fe(this).rgb();
161
+ }
162
+ }));
163
+ //#endregion
164
+ //#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/hcl.js
165
+ function Ie(e) {
166
+ return function(t, r) {
167
+ var i = e((t = Pe(t)).h, (r = Pe(r)).h), a = n(t.c, r.c), o = n(t.l, r.l), s = n(t.opacity, r.opacity);
168
+ return function(e) {
169
+ return t.h = i(e), t.c = a(e), t.l = o(e), t.opacity = s(e), t + "";
170
+ };
171
+ };
172
+ }
173
+ var Le = Ie(c);
174
+ //#endregion
175
+ //#region node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/nice.js
176
+ function Re(e, t) {
177
+ e = e.slice();
178
+ var n = 0, r = e.length - 1, i = e[n], a = e[r], o;
179
+ return a < i && (o = n, n = r, r = o, o = i, i = a, a = o), e[n] = t.floor(i), e[r] = t.ceil(a), e;
180
+ }
181
+ //#endregion
182
+ //#region node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/interval.js
183
+ var ze = /* @__PURE__ */ new Date(), Be = /* @__PURE__ */ new Date();
184
+ function M(e, t, n, r) {
185
+ function i(t) {
186
+ return e(t = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+t)), t;
187
+ }
188
+ return i.floor = (t) => (e(t = /* @__PURE__ */ new Date(+t)), t), i.ceil = (n) => (e(n = /* @__PURE__ */ new Date(n - 1)), t(n, 1), e(n), n), i.round = (e) => {
189
+ let t = i(e), n = i.ceil(e);
190
+ return e - t < n - e ? t : n;
191
+ }, i.offset = (e, n) => (t(e = /* @__PURE__ */ new Date(+e), n == null ? 1 : Math.floor(n)), e), i.range = (n, r, a) => {
192
+ let o = [];
193
+ if (n = i.ceil(n), a = a == null ? 1 : Math.floor(a), !(n < r) || !(a > 0)) return o;
194
+ let s;
195
+ do
196
+ o.push(s = /* @__PURE__ */ new Date(+n)), t(n, a), e(n);
197
+ while (s < n && n < r);
198
+ return o;
199
+ }, i.filter = (n) => M((t) => {
200
+ if (t >= t) for (; e(t), !n(t);) t.setTime(t - 1);
201
+ }, (e, r) => {
202
+ if (e >= e) if (r < 0) for (; ++r <= 0;) for (; t(e, -1), !n(e););
203
+ else for (; --r >= 0;) for (; t(e, 1), !n(e););
204
+ }), n && (i.count = (t, r) => (ze.setTime(+t), Be.setTime(+r), e(ze), e(Be), Math.floor(n(ze, Be))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;
205
+ }
206
+ //#endregion
207
+ //#region node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/millisecond.js
208
+ var N = M(() => {}, (e, t) => {
209
+ e.setTime(+e + t);
210
+ }, (e, t) => t - e);
211
+ N.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? M((t) => {
212
+ t.setTime(Math.floor(t / e) * e);
213
+ }, (t, n) => {
214
+ t.setTime(+t + n * e);
215
+ }, (t, n) => (n - t) / e) : N), N.range;
216
+ //#endregion
217
+ //#region node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/duration.js
218
+ var P = 1e3, F = P * 60, I = F * 60, L = I * 24, Ve = L * 7, He = L * 30, Ue = L * 365, R = M((e) => {
219
+ e.setTime(e - e.getMilliseconds());
220
+ }, (e, t) => {
221
+ e.setTime(+e + t * P);
222
+ }, (e, t) => (t - e) / P, (e) => e.getUTCSeconds());
223
+ R.range;
224
+ //#endregion
225
+ //#region node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/minute.js
226
+ var We = M((e) => {
227
+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * P);
228
+ }, (e, t) => {
229
+ e.setTime(+e + t * F);
230
+ }, (e, t) => (t - e) / F, (e) => e.getMinutes());
231
+ We.range;
232
+ var Ge = M((e) => {
233
+ e.setUTCSeconds(0, 0);
234
+ }, (e, t) => {
235
+ e.setTime(+e + t * F);
236
+ }, (e, t) => (t - e) / F, (e) => e.getUTCMinutes());
237
+ Ge.range;
238
+ //#endregion
239
+ //#region node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/hour.js
240
+ var Ke = M((e) => {
241
+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * P - e.getMinutes() * F);
242
+ }, (e, t) => {
243
+ e.setTime(+e + t * I);
244
+ }, (e, t) => (t - e) / I, (e) => e.getHours());
245
+ Ke.range;
246
+ var qe = M((e) => {
247
+ e.setUTCMinutes(0, 0, 0);
248
+ }, (e, t) => {
249
+ e.setTime(+e + t * I);
250
+ }, (e, t) => (t - e) / I, (e) => e.getUTCHours());
251
+ qe.range;
252
+ //#endregion
253
+ //#region node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/day.js
254
+ var z = M((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * F) / L, (e) => e.getDate() - 1);
255
+ z.range;
256
+ var Je = M((e) => {
257
+ e.setUTCHours(0, 0, 0, 0);
258
+ }, (e, t) => {
259
+ e.setUTCDate(e.getUTCDate() + t);
260
+ }, (e, t) => (t - e) / L, (e) => e.getUTCDate() - 1);
261
+ Je.range;
262
+ var Ye = M((e) => {
263
+ e.setUTCHours(0, 0, 0, 0);
264
+ }, (e, t) => {
265
+ e.setUTCDate(e.getUTCDate() + t);
266
+ }, (e, t) => (t - e) / L, (e) => Math.floor(e / L));
267
+ Ye.range;
268
+ //#endregion
269
+ //#region node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/week.js
270
+ function B(e) {
271
+ return M((t) => {
272
+ t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
273
+ }, (e, t) => {
274
+ e.setDate(e.getDate() + t * 7);
275
+ }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * F) / Ve);
276
+ }
277
+ var Xe = B(0), Ze = B(1), Qe = B(2), $e = B(3), V = B(4), et = B(5), tt = B(6);
278
+ Xe.range, Ze.range, Qe.range, $e.range, V.range, et.range, tt.range;
279
+ function H(e) {
280
+ return M((t) => {
281
+ t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
282
+ }, (e, t) => {
283
+ e.setUTCDate(e.getUTCDate() + t * 7);
284
+ }, (e, t) => (t - e) / Ve);
285
+ }
286
+ var nt = H(0), rt = H(1), it = H(2), at = H(3), U = H(4), ot = H(5), st = H(6);
287
+ nt.range, rt.range, it.range, at.range, U.range, ot.range, st.range;
288
+ //#endregion
289
+ //#region node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/month.js
290
+ var ct = M((e) => {
291
+ e.setDate(1), e.setHours(0, 0, 0, 0);
292
+ }, (e, t) => {
293
+ e.setMonth(e.getMonth() + t);
294
+ }, (e, t) => t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12, (e) => e.getMonth());
295
+ ct.range;
296
+ var lt = M((e) => {
297
+ e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);
298
+ }, (e, t) => {
299
+ e.setUTCMonth(e.getUTCMonth() + t);
300
+ }, (e, t) => t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12, (e) => e.getUTCMonth());
301
+ lt.range;
302
+ //#endregion
303
+ //#region node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/year.js
304
+ var W = M((e) => {
305
+ e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
306
+ }, (e, t) => {
307
+ e.setFullYear(e.getFullYear() + t);
308
+ }, (e, t) => t.getFullYear() - e.getFullYear(), (e) => e.getFullYear());
309
+ W.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : M((t) => {
310
+ t.setFullYear(Math.floor(t.getFullYear() / e) * e), t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
311
+ }, (t, n) => {
312
+ t.setFullYear(t.getFullYear() + n * e);
313
+ }), W.range;
314
+ var G = M((e) => {
315
+ e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
316
+ }, (e, t) => {
317
+ e.setUTCFullYear(e.getUTCFullYear() + t);
318
+ }, (e, t) => t.getUTCFullYear() - e.getUTCFullYear(), (e) => e.getUTCFullYear());
319
+ G.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : M((t) => {
320
+ t.setUTCFullYear(Math.floor(t.getUTCFullYear() / e) * e), t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
321
+ }, (t, n) => {
322
+ t.setUTCFullYear(t.getUTCFullYear() + n * e);
323
+ }), G.range;
324
+ //#endregion
325
+ //#region node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/ticks.js
326
+ function ut(e, t, n, r, i, a) {
327
+ let o = [
328
+ [
329
+ R,
330
+ 1,
331
+ P
332
+ ],
333
+ [
334
+ R,
335
+ 5,
336
+ 5 * P
337
+ ],
338
+ [
339
+ R,
340
+ 15,
341
+ 15 * P
342
+ ],
343
+ [
344
+ R,
345
+ 30,
346
+ 30 * P
347
+ ],
348
+ [
349
+ a,
350
+ 1,
351
+ F
352
+ ],
353
+ [
354
+ a,
355
+ 5,
356
+ 5 * F
357
+ ],
358
+ [
359
+ a,
360
+ 15,
361
+ 15 * F
362
+ ],
363
+ [
364
+ a,
365
+ 30,
366
+ 30 * F
367
+ ],
368
+ [
369
+ i,
370
+ 1,
371
+ I
372
+ ],
373
+ [
374
+ i,
375
+ 3,
376
+ 3 * I
377
+ ],
378
+ [
379
+ i,
380
+ 6,
381
+ 6 * I
382
+ ],
383
+ [
384
+ i,
385
+ 12,
386
+ 12 * I
387
+ ],
388
+ [
389
+ r,
390
+ 1,
391
+ L
392
+ ],
393
+ [
394
+ r,
395
+ 2,
396
+ 2 * L
397
+ ],
398
+ [
399
+ n,
400
+ 1,
401
+ Ve
402
+ ],
403
+ [
404
+ t,
405
+ 1,
406
+ He
407
+ ],
408
+ [
409
+ t,
410
+ 3,
411
+ 3 * He
412
+ ],
413
+ [
414
+ e,
415
+ 1,
416
+ Ue
417
+ ]
418
+ ];
419
+ function s(e, t, n) {
420
+ let r = t < e;
421
+ r && ([e, t] = [t, e]);
422
+ let i = n && typeof n.range == "function" ? n : c(e, t, n), a = i ? i.range(e, +t + 1) : [];
423
+ return r ? a.reverse() : a;
424
+ }
425
+ function c(t, n, r) {
426
+ let i = Math.abs(n - t) / r, a = C(([, , e]) => e).right(o, i);
427
+ if (a === o.length) return e.every(w(t / Ue, n / Ue, r));
428
+ if (a === 0) return N.every(Math.max(w(t, n, r), 1));
429
+ let [s, c] = o[i / o[a - 1][2] < o[a][2] / i ? a - 1 : a];
430
+ return s.every(c);
431
+ }
432
+ return [s, c];
433
+ }
434
+ var [dt, ft] = ut(G, lt, nt, Ye, qe, Ge), [pt, mt] = ut(W, ct, Xe, z, Ke, We);
435
+ //#endregion
436
+ //#region node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/locale.js
437
+ function ht(e) {
438
+ if (0 <= e.y && e.y < 100) {
439
+ var t = new Date(-1, e.m, e.d, e.H, e.M, e.S, e.L);
440
+ return t.setFullYear(e.y), t;
441
+ }
442
+ return new Date(e.y, e.m, e.d, e.H, e.M, e.S, e.L);
443
+ }
444
+ function gt(e) {
445
+ if (0 <= e.y && e.y < 100) {
446
+ var t = new Date(Date.UTC(-1, e.m, e.d, e.H, e.M, e.S, e.L));
447
+ return t.setUTCFullYear(e.y), t;
448
+ }
449
+ return new Date(Date.UTC(e.y, e.m, e.d, e.H, e.M, e.S, e.L));
450
+ }
451
+ function _t(e, t, n) {
452
+ return {
453
+ y: e,
454
+ m: t,
455
+ d: n,
456
+ H: 0,
457
+ M: 0,
458
+ S: 0,
459
+ L: 0
460
+ };
461
+ }
462
+ function vt(e) {
463
+ var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = Ct(i), u = wt(i), d = Ct(a), f = wt(a), p = Ct(o), m = wt(o), h = Ct(s), g = wt(s), _ = Ct(c), v = wt(c), y = {
464
+ a: re,
465
+ A: ie,
466
+ b: ae,
467
+ B: oe,
468
+ c: null,
469
+ d: Gt,
470
+ e: Gt,
471
+ f: Xt,
472
+ g: cn,
473
+ G: un,
474
+ H: Kt,
475
+ I: qt,
476
+ j: Jt,
477
+ L: Yt,
478
+ m: Zt,
479
+ M: Qt,
480
+ p: se,
481
+ q: ce,
482
+ Q: Nn,
483
+ s: Pn,
484
+ S: $t,
485
+ u: en,
486
+ U: tn,
487
+ V: rn,
488
+ w: an,
489
+ W: on,
490
+ x: null,
491
+ X: null,
492
+ y: sn,
493
+ Y: ln,
494
+ Z: dn,
495
+ "%": Mn
496
+ }, b = {
497
+ a: le,
498
+ A: ue,
499
+ b: de,
500
+ B: fe,
501
+ c: null,
502
+ d: fn,
503
+ e: fn,
504
+ f: _n,
505
+ g: On,
506
+ G: An,
507
+ H: pn,
508
+ I: mn,
509
+ j: hn,
510
+ L: gn,
511
+ m: vn,
512
+ M: yn,
513
+ p: pe,
514
+ q: me,
515
+ Q: Nn,
516
+ s: Pn,
517
+ S: bn,
518
+ u: xn,
519
+ U: Sn,
520
+ V: wn,
521
+ w: Tn,
522
+ W: En,
523
+ x: null,
524
+ X: null,
525
+ y: Dn,
526
+ Y: kn,
527
+ Z: jn,
528
+ "%": Mn
529
+ }, x = {
530
+ a: E,
531
+ A: D,
532
+ b: O,
533
+ B: k,
534
+ c: ee,
535
+ d: Ft,
536
+ e: Ft,
537
+ f: Vt,
538
+ g: jt,
539
+ G: At,
540
+ H: Lt,
541
+ I: Lt,
542
+ j: It,
543
+ L: Bt,
544
+ m: Pt,
545
+ M: Rt,
546
+ p: T,
547
+ q: Nt,
548
+ Q: Ut,
549
+ s: Wt,
550
+ S: zt,
551
+ u: Et,
552
+ U: Dt,
553
+ V: Ot,
554
+ w: Tt,
555
+ W: kt,
556
+ x: te,
557
+ X: ne,
558
+ y: jt,
559
+ Y: At,
560
+ Z: Mt,
561
+ "%": Ht
562
+ };
563
+ y.x = S(n, y), y.X = S(r, y), y.c = S(t, y), b.x = S(n, b), b.X = S(r, b), b.c = S(t, b);
564
+ function S(e, t) {
565
+ return function(n) {
566
+ var r = [], i = -1, a = 0, o = e.length, s, c, l;
567
+ for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = yt[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);
568
+ return r.push(e.slice(a, i)), r.join("");
569
+ };
570
+ }
571
+ function C(e, t) {
572
+ return function(n) {
573
+ var r = _t(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;
574
+ if (i != n.length) return null;
575
+ if ("Q" in r) return new Date(r.Q);
576
+ if ("s" in r) return new Date(r.s * 1e3 + ("L" in r ? r.L : 0));
577
+ if (t && !("Z" in r) && (r.Z = 0), "p" in r && (r.H = r.H % 12 + r.p * 12), r.m === void 0 && (r.m = "q" in r ? r.q : 0), "V" in r) {
578
+ if (r.V < 1 || r.V > 53) return null;
579
+ "w" in r || (r.w = 1), "Z" in r ? (a = gt(_t(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? rt.ceil(a) : rt(a), a = Je.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = ht(_t(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? Ze.ceil(a) : Ze(a), a = z.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);
580
+ } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? gt(_t(r.y, 0, 1)).getUTCDay() : ht(_t(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);
581
+ return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, gt(r)) : ht(r);
582
+ };
583
+ }
584
+ function w(e, t, n, r) {
585
+ for (var i = 0, a = t.length, o = n.length, s, c; i < a;) {
586
+ if (r >= o) return -1;
587
+ if (s = t.charCodeAt(i++), s === 37) {
588
+ if (s = t.charAt(i++), c = x[s in yt ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
589
+ } else if (s != n.charCodeAt(r++)) return -1;
590
+ }
591
+ return r;
592
+ }
593
+ function T(e, t, n) {
594
+ var r = l.exec(t.slice(n));
595
+ return r ? (e.p = u.get(r[0].toLowerCase()), n + r[0].length) : -1;
596
+ }
597
+ function E(e, t, n) {
598
+ var r = p.exec(t.slice(n));
599
+ return r ? (e.w = m.get(r[0].toLowerCase()), n + r[0].length) : -1;
600
+ }
601
+ function D(e, t, n) {
602
+ var r = d.exec(t.slice(n));
603
+ return r ? (e.w = f.get(r[0].toLowerCase()), n + r[0].length) : -1;
604
+ }
605
+ function O(e, t, n) {
606
+ var r = _.exec(t.slice(n));
607
+ return r ? (e.m = v.get(r[0].toLowerCase()), n + r[0].length) : -1;
608
+ }
609
+ function k(e, t, n) {
610
+ var r = h.exec(t.slice(n));
611
+ return r ? (e.m = g.get(r[0].toLowerCase()), n + r[0].length) : -1;
612
+ }
613
+ function ee(e, n, r) {
614
+ return w(e, t, n, r);
615
+ }
616
+ function te(e, t, r) {
617
+ return w(e, n, t, r);
618
+ }
619
+ function ne(e, t, n) {
620
+ return w(e, r, t, n);
621
+ }
622
+ function re(e) {
623
+ return o[e.getDay()];
624
+ }
625
+ function ie(e) {
626
+ return a[e.getDay()];
627
+ }
628
+ function ae(e) {
629
+ return c[e.getMonth()];
630
+ }
631
+ function oe(e) {
632
+ return s[e.getMonth()];
633
+ }
634
+ function se(e) {
635
+ return i[+(e.getHours() >= 12)];
636
+ }
637
+ function ce(e) {
638
+ return 1 + ~~(e.getMonth() / 3);
639
+ }
640
+ function le(e) {
641
+ return o[e.getUTCDay()];
642
+ }
643
+ function ue(e) {
644
+ return a[e.getUTCDay()];
645
+ }
646
+ function de(e) {
647
+ return c[e.getUTCMonth()];
648
+ }
649
+ function fe(e) {
650
+ return s[e.getUTCMonth()];
651
+ }
652
+ function pe(e) {
653
+ return i[+(e.getUTCHours() >= 12)];
654
+ }
655
+ function me(e) {
656
+ return 1 + ~~(e.getUTCMonth() / 3);
657
+ }
658
+ return {
659
+ format: function(e) {
660
+ var t = S(e += "", y);
661
+ return t.toString = function() {
662
+ return e;
663
+ }, t;
664
+ },
665
+ parse: function(e) {
666
+ var t = C(e += "", !1);
667
+ return t.toString = function() {
668
+ return e;
669
+ }, t;
670
+ },
671
+ utcFormat: function(e) {
672
+ var t = S(e += "", b);
673
+ return t.toString = function() {
674
+ return e;
675
+ }, t;
676
+ },
677
+ utcParse: function(e) {
678
+ var t = C(e += "", !0);
679
+ return t.toString = function() {
680
+ return e;
681
+ }, t;
682
+ }
683
+ };
684
+ }
685
+ var yt = {
686
+ "-": "",
687
+ _: " ",
688
+ 0: "0"
689
+ }, K = /^\s*\d+/, bt = /^%/, xt = /[\\^$*+?|[\]().{}]/g;
690
+ function q(e, t, n) {
691
+ var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", a = i.length;
692
+ return r + (a < n ? Array(n - a + 1).join(t) + i : i);
693
+ }
694
+ function St(e) {
695
+ return e.replace(xt, "\\$&");
696
+ }
697
+ function Ct(e) {
698
+ return RegExp("^(?:" + e.map(St).join("|") + ")", "i");
699
+ }
700
+ function wt(e) {
701
+ return new Map(e.map((e, t) => [e.toLowerCase(), t]));
702
+ }
703
+ function Tt(e, t, n) {
704
+ var r = K.exec(t.slice(n, n + 1));
705
+ return r ? (e.w = +r[0], n + r[0].length) : -1;
706
+ }
707
+ function Et(e, t, n) {
708
+ var r = K.exec(t.slice(n, n + 1));
709
+ return r ? (e.u = +r[0], n + r[0].length) : -1;
710
+ }
711
+ function Dt(e, t, n) {
712
+ var r = K.exec(t.slice(n, n + 2));
713
+ return r ? (e.U = +r[0], n + r[0].length) : -1;
714
+ }
715
+ function Ot(e, t, n) {
716
+ var r = K.exec(t.slice(n, n + 2));
717
+ return r ? (e.V = +r[0], n + r[0].length) : -1;
718
+ }
719
+ function kt(e, t, n) {
720
+ var r = K.exec(t.slice(n, n + 2));
721
+ return r ? (e.W = +r[0], n + r[0].length) : -1;
722
+ }
723
+ function At(e, t, n) {
724
+ var r = K.exec(t.slice(n, n + 4));
725
+ return r ? (e.y = +r[0], n + r[0].length) : -1;
726
+ }
727
+ function jt(e, t, n) {
728
+ var r = K.exec(t.slice(n, n + 2));
729
+ return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
730
+ }
731
+ function Mt(e, t, n) {
732
+ var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n, n + 6));
733
+ return r ? (e.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
734
+ }
735
+ function Nt(e, t, n) {
736
+ var r = K.exec(t.slice(n, n + 1));
737
+ return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
738
+ }
739
+ function Pt(e, t, n) {
740
+ var r = K.exec(t.slice(n, n + 2));
741
+ return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
742
+ }
743
+ function Ft(e, t, n) {
744
+ var r = K.exec(t.slice(n, n + 2));
745
+ return r ? (e.d = +r[0], n + r[0].length) : -1;
746
+ }
747
+ function It(e, t, n) {
748
+ var r = K.exec(t.slice(n, n + 3));
749
+ return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
750
+ }
751
+ function Lt(e, t, n) {
752
+ var r = K.exec(t.slice(n, n + 2));
753
+ return r ? (e.H = +r[0], n + r[0].length) : -1;
754
+ }
755
+ function Rt(e, t, n) {
756
+ var r = K.exec(t.slice(n, n + 2));
757
+ return r ? (e.M = +r[0], n + r[0].length) : -1;
758
+ }
759
+ function zt(e, t, n) {
760
+ var r = K.exec(t.slice(n, n + 2));
761
+ return r ? (e.S = +r[0], n + r[0].length) : -1;
762
+ }
763
+ function Bt(e, t, n) {
764
+ var r = K.exec(t.slice(n, n + 3));
765
+ return r ? (e.L = +r[0], n + r[0].length) : -1;
766
+ }
767
+ function Vt(e, t, n) {
768
+ var r = K.exec(t.slice(n, n + 6));
769
+ return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
770
+ }
771
+ function Ht(e, t, n) {
772
+ var r = bt.exec(t.slice(n, n + 1));
773
+ return r ? n + r[0].length : -1;
774
+ }
775
+ function Ut(e, t, n) {
776
+ var r = K.exec(t.slice(n));
777
+ return r ? (e.Q = +r[0], n + r[0].length) : -1;
778
+ }
779
+ function Wt(e, t, n) {
780
+ var r = K.exec(t.slice(n));
781
+ return r ? (e.s = +r[0], n + r[0].length) : -1;
782
+ }
783
+ function Gt(e, t) {
784
+ return q(e.getDate(), t, 2);
785
+ }
786
+ function Kt(e, t) {
787
+ return q(e.getHours(), t, 2);
788
+ }
789
+ function qt(e, t) {
790
+ return q(e.getHours() % 12 || 12, t, 2);
791
+ }
792
+ function Jt(e, t) {
793
+ return q(1 + z.count(W(e), e), t, 3);
794
+ }
795
+ function Yt(e, t) {
796
+ return q(e.getMilliseconds(), t, 3);
797
+ }
798
+ function Xt(e, t) {
799
+ return Yt(e, t) + "000";
800
+ }
801
+ function Zt(e, t) {
802
+ return q(e.getMonth() + 1, t, 2);
803
+ }
804
+ function Qt(e, t) {
805
+ return q(e.getMinutes(), t, 2);
806
+ }
807
+ function $t(e, t) {
808
+ return q(e.getSeconds(), t, 2);
809
+ }
810
+ function en(e) {
811
+ var t = e.getDay();
812
+ return t === 0 ? 7 : t;
813
+ }
814
+ function tn(e, t) {
815
+ return q(Xe.count(W(e) - 1, e), t, 2);
816
+ }
817
+ function nn(e) {
818
+ var t = e.getDay();
819
+ return t >= 4 || t === 0 ? V(e) : V.ceil(e);
820
+ }
821
+ function rn(e, t) {
822
+ return e = nn(e), q(V.count(W(e), e) + (W(e).getDay() === 4), t, 2);
823
+ }
824
+ function an(e) {
825
+ return e.getDay();
826
+ }
827
+ function on(e, t) {
828
+ return q(Ze.count(W(e) - 1, e), t, 2);
829
+ }
830
+ function sn(e, t) {
831
+ return q(e.getFullYear() % 100, t, 2);
832
+ }
833
+ function cn(e, t) {
834
+ return e = nn(e), q(e.getFullYear() % 100, t, 2);
835
+ }
836
+ function ln(e, t) {
837
+ return q(e.getFullYear() % 1e4, t, 4);
838
+ }
839
+ function un(e, t) {
840
+ var n = e.getDay();
841
+ return e = n >= 4 || n === 0 ? V(e) : V.ceil(e), q(e.getFullYear() % 1e4, t, 4);
842
+ }
843
+ function dn(e) {
844
+ var t = e.getTimezoneOffset();
845
+ return (t > 0 ? "-" : (t *= -1, "+")) + q(t / 60 | 0, "0", 2) + q(t % 60, "0", 2);
846
+ }
847
+ function fn(e, t) {
848
+ return q(e.getUTCDate(), t, 2);
849
+ }
850
+ function pn(e, t) {
851
+ return q(e.getUTCHours(), t, 2);
852
+ }
853
+ function mn(e, t) {
854
+ return q(e.getUTCHours() % 12 || 12, t, 2);
855
+ }
856
+ function hn(e, t) {
857
+ return q(1 + Je.count(G(e), e), t, 3);
858
+ }
859
+ function gn(e, t) {
860
+ return q(e.getUTCMilliseconds(), t, 3);
861
+ }
862
+ function _n(e, t) {
863
+ return gn(e, t) + "000";
864
+ }
865
+ function vn(e, t) {
866
+ return q(e.getUTCMonth() + 1, t, 2);
867
+ }
868
+ function yn(e, t) {
869
+ return q(e.getUTCMinutes(), t, 2);
870
+ }
871
+ function bn(e, t) {
872
+ return q(e.getUTCSeconds(), t, 2);
873
+ }
874
+ function xn(e) {
875
+ var t = e.getUTCDay();
876
+ return t === 0 ? 7 : t;
877
+ }
878
+ function Sn(e, t) {
879
+ return q(nt.count(G(e) - 1, e), t, 2);
880
+ }
881
+ function Cn(e) {
882
+ var t = e.getUTCDay();
883
+ return t >= 4 || t === 0 ? U(e) : U.ceil(e);
884
+ }
885
+ function wn(e, t) {
886
+ return e = Cn(e), q(U.count(G(e), e) + (G(e).getUTCDay() === 4), t, 2);
887
+ }
888
+ function Tn(e) {
889
+ return e.getUTCDay();
890
+ }
891
+ function En(e, t) {
892
+ return q(rt.count(G(e) - 1, e), t, 2);
893
+ }
894
+ function Dn(e, t) {
895
+ return q(e.getUTCFullYear() % 100, t, 2);
896
+ }
897
+ function On(e, t) {
898
+ return e = Cn(e), q(e.getUTCFullYear() % 100, t, 2);
899
+ }
900
+ function kn(e, t) {
901
+ return q(e.getUTCFullYear() % 1e4, t, 4);
902
+ }
903
+ function An(e, t) {
904
+ var n = e.getUTCDay();
905
+ return e = n >= 4 || n === 0 ? U(e) : U.ceil(e), q(e.getUTCFullYear() % 1e4, t, 4);
906
+ }
907
+ function jn() {
908
+ return "+0000";
909
+ }
910
+ function Mn() {
911
+ return "%";
912
+ }
913
+ function Nn(e) {
914
+ return +e;
915
+ }
916
+ function Pn(e) {
917
+ return Math.floor(e / 1e3);
918
+ }
919
+ //#endregion
920
+ //#region node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/defaultLocale.js
921
+ var J, Fn;
922
+ In({
923
+ dateTime: "%x, %X",
924
+ date: "%-m/%-d/%Y",
925
+ time: "%-I:%M:%S %p",
926
+ periods: ["AM", "PM"],
927
+ days: [
928
+ "Sunday",
929
+ "Monday",
930
+ "Tuesday",
931
+ "Wednesday",
932
+ "Thursday",
933
+ "Friday",
934
+ "Saturday"
935
+ ],
936
+ shortDays: [
937
+ "Sun",
938
+ "Mon",
939
+ "Tue",
940
+ "Wed",
941
+ "Thu",
942
+ "Fri",
943
+ "Sat"
944
+ ],
945
+ months: [
946
+ "January",
947
+ "February",
948
+ "March",
949
+ "April",
950
+ "May",
951
+ "June",
952
+ "July",
953
+ "August",
954
+ "September",
955
+ "October",
956
+ "November",
957
+ "December"
958
+ ],
959
+ shortMonths: [
960
+ "Jan",
961
+ "Feb",
962
+ "Mar",
963
+ "Apr",
964
+ "May",
965
+ "Jun",
966
+ "Jul",
967
+ "Aug",
968
+ "Sep",
969
+ "Oct",
970
+ "Nov",
971
+ "Dec"
972
+ ]
973
+ });
974
+ function In(e) {
975
+ return J = vt(e), Fn = J.format, J.parse, J.utcFormat, J.utcParse, J;
976
+ }
977
+ //#endregion
978
+ //#region node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/time.js
979
+ function Ln(e) {
980
+ return new Date(e);
981
+ }
982
+ function Rn(e) {
983
+ return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
984
+ }
985
+ function zn(e, t, n, r, i, a, o, s, c, l) {
986
+ var u = T(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");
987
+ function x(e) {
988
+ return (c(e) < e ? p : s(e) < e ? m : o(e) < e ? h : a(e) < e ? g : r(e) < e ? i(e) < e ? _ : v : n(e) < e ? y : b)(e);
989
+ }
990
+ return u.invert = function(e) {
991
+ return new Date(d(e));
992
+ }, u.domain = function(e) {
993
+ return arguments.length ? f(Array.from(e, Rn)) : f().map(Ln);
994
+ }, u.ticks = function(t) {
995
+ var n = f();
996
+ return e(n[0], n[n.length - 1], t ?? 10);
997
+ }, u.tickFormat = function(e, t) {
998
+ return t == null ? x : l(t);
999
+ }, u.nice = function(e) {
1000
+ var n = f();
1001
+ return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(Re(n, e)) : u;
1002
+ }, u.copy = function() {
1003
+ return E(u, zn(e, t, n, r, i, a, o, s, c, l));
1004
+ }, u;
1005
+ }
1006
+ function Bn() {
1007
+ return O.apply(zn(pt, mt, W, ct, Xe, z, Ke, We, R, Fn).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
1008
+ }
1009
+ //#endregion
1010
+ //#region node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/plugin/isoWeek.js
1011
+ var Vn = /* @__PURE__ */ t(((e, t) => {
1012
+ (function(n, r) {
1013
+ typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_isoWeek = r();
1014
+ })(e, (function() {
1015
+ var e = "day";
1016
+ return function(t, n, r) {
1017
+ var i = function(t) {
1018
+ return t.add(4 - t.isoWeekday(), e);
1019
+ }, a = n.prototype;
1020
+ a.isoWeekYear = function() {
1021
+ return i(this).year();
1022
+ }, a.isoWeek = function(t) {
1023
+ if (!this.$utils().u(t)) return this.add(7 * (t - this.isoWeek()), e);
1024
+ var n, a, o, s, c = i(this), l = (n = this.isoWeekYear(), a = this.$u, o = (a ? r.utc : r)().year(n).startOf("year"), s = 4 - o.isoWeekday(), o.isoWeekday() > 4 && (s += 7), o.add(s, e));
1025
+ return c.diff(l, "week") + 1;
1026
+ }, a.isoWeekday = function(e) {
1027
+ return this.$utils().u(e) ? this.day() || 7 : this.day(this.day() % 7 ? e : e - 7);
1028
+ };
1029
+ var o = a.startOf;
1030
+ a.startOf = function(e, t) {
1031
+ var n = this.$utils(), r = !!n.u(t) || t;
1032
+ return n.p(e) === "isoweek" ? r ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : o.bind(this)(e, t);
1033
+ };
1034
+ };
1035
+ }));
1036
+ })), Hn = /* @__PURE__ */ t(((e, t) => {
1037
+ (function(n, r) {
1038
+ typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_customParseFormat = r();
1039
+ })(e, (function() {
1040
+ var e = {
1041
+ LTS: "h:mm:ss A",
1042
+ LT: "h:mm A",
1043
+ L: "MM/DD/YYYY",
1044
+ LL: "MMMM D, YYYY",
1045
+ LLL: "MMMM D, YYYY h:mm A",
1046
+ LLLL: "dddd, MMMM D, YYYY h:mm A"
1047
+ }, t = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, n = /\d/, r = /\d\d/, i = /\d\d?/, a = /\d*[^-_:/,()\s\d]+/, o = {}, s = function(e) {
1048
+ return (e = +e) + (e > 68 ? 1900 : 2e3);
1049
+ }, c = function(e) {
1050
+ return function(t) {
1051
+ this[e] = +t;
1052
+ };
1053
+ }, l = [/[+-]\d\d:?(\d\d)?|Z/, function(e) {
1054
+ (this.zone ||= {}).offset = function(e) {
1055
+ if (!e || e === "Z") return 0;
1056
+ var t = e.match(/([+-]|\d\d)/g), n = 60 * t[1] + (+t[2] || 0);
1057
+ return n === 0 ? 0 : t[0] === "+" ? -n : n;
1058
+ }(e);
1059
+ }], u = function(e) {
1060
+ var t = o[e];
1061
+ return t && (t.indexOf ? t : t.s.concat(t.f));
1062
+ }, d = function(e, t) {
1063
+ var n, r = o.meridiem;
1064
+ if (r) {
1065
+ for (var i = 1; i <= 24; i += 1) if (e.indexOf(r(i, 0, t)) > -1) {
1066
+ n = i > 12;
1067
+ break;
1068
+ }
1069
+ } else n = e === (t ? "pm" : "PM");
1070
+ return n;
1071
+ }, f = {
1072
+ A: [a, function(e) {
1073
+ this.afternoon = d(e, !1);
1074
+ }],
1075
+ a: [a, function(e) {
1076
+ this.afternoon = d(e, !0);
1077
+ }],
1078
+ Q: [n, function(e) {
1079
+ this.month = 3 * (e - 1) + 1;
1080
+ }],
1081
+ S: [n, function(e) {
1082
+ this.milliseconds = 100 * e;
1083
+ }],
1084
+ SS: [r, function(e) {
1085
+ this.milliseconds = 10 * e;
1086
+ }],
1087
+ SSS: [/\d{3}/, function(e) {
1088
+ this.milliseconds = +e;
1089
+ }],
1090
+ s: [i, c("seconds")],
1091
+ ss: [i, c("seconds")],
1092
+ m: [i, c("minutes")],
1093
+ mm: [i, c("minutes")],
1094
+ H: [i, c("hours")],
1095
+ h: [i, c("hours")],
1096
+ HH: [i, c("hours")],
1097
+ hh: [i, c("hours")],
1098
+ D: [i, c("day")],
1099
+ DD: [r, c("day")],
1100
+ Do: [a, function(e) {
1101
+ var t = o.ordinal, n = e.match(/\d+/);
1102
+ if (this.day = n[0], t) for (var r = 1; r <= 31; r += 1) t(r).replace(/\[|\]/g, "") === e && (this.day = r);
1103
+ }],
1104
+ w: [i, c("week")],
1105
+ ww: [r, c("week")],
1106
+ M: [i, c("month")],
1107
+ MM: [r, c("month")],
1108
+ MMM: [a, function(e) {
1109
+ var t = u("months"), n = (u("monthsShort") || t.map((function(e) {
1110
+ return e.slice(0, 3);
1111
+ }))).indexOf(e) + 1;
1112
+ if (n < 1) throw Error();
1113
+ this.month = n % 12 || n;
1114
+ }],
1115
+ MMMM: [a, function(e) {
1116
+ var t = u("months").indexOf(e) + 1;
1117
+ if (t < 1) throw Error();
1118
+ this.month = t % 12 || t;
1119
+ }],
1120
+ Y: [/[+-]?\d+/, c("year")],
1121
+ YY: [r, function(e) {
1122
+ this.year = s(e);
1123
+ }],
1124
+ YYYY: [/\d{4}/, c("year")],
1125
+ Z: l,
1126
+ ZZ: l
1127
+ };
1128
+ function p(n) {
1129
+ for (var r = n, i = o && o.formats, a = (n = r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(t, n, r) {
1130
+ var a = r && r.toUpperCase();
1131
+ return n || i[r] || e[r] || i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(e, t, n) {
1132
+ return t || n.slice(1);
1133
+ }));
1134
+ }))).match(t), s = a.length, c = 0; c < s; c += 1) {
1135
+ var l = a[c], u = f[l], d = u && u[0], p = u && u[1];
1136
+ a[c] = p ? {
1137
+ regex: d,
1138
+ parser: p
1139
+ } : l.replace(/^\[|\]$/g, "");
1140
+ }
1141
+ return function(e) {
1142
+ for (var t = {}, n = 0, r = 0; n < s; n += 1) {
1143
+ var i = a[n];
1144
+ if (typeof i == "string") r += i.length;
1145
+ else {
1146
+ var o = i.regex, c = i.parser, l = e.slice(r), u = o.exec(l)[0];
1147
+ c.call(t, u), e = e.replace(u, "");
1148
+ }
1149
+ }
1150
+ return function(e) {
1151
+ var t = e.afternoon;
1152
+ if (t !== void 0) {
1153
+ var n = e.hours;
1154
+ t ? n < 12 && (e.hours += 12) : n === 12 && (e.hours = 0), delete e.afternoon;
1155
+ }
1156
+ }(t), t;
1157
+ };
1158
+ }
1159
+ return function(e, t, n) {
1160
+ n.p.customParseFormat = !0, e && e.parseTwoDigitYear && (s = e.parseTwoDigitYear);
1161
+ var r = t.prototype, i = r.parse;
1162
+ r.parse = function(e) {
1163
+ var t = e.date, r = e.utc, a = e.args;
1164
+ this.$u = r;
1165
+ var s = a[1];
1166
+ if (typeof s == "string") {
1167
+ var c = !0 === a[2], l = !0 === a[3], u = c || l, d = a[2];
1168
+ l && (d = a[2]), o = this.$locale(), !c && d && (o = n.Ls[d]), this.$d = function(e, t, n, r) {
1169
+ try {
1170
+ if (["x", "X"].indexOf(t) > -1) return /* @__PURE__ */ new Date((t === "X" ? 1e3 : 1) * e);
1171
+ var i = p(t)(e), a = i.year, o = i.month, s = i.day, c = i.hours, l = i.minutes, u = i.seconds, d = i.milliseconds, f = i.zone, m = i.week, h = /* @__PURE__ */ new Date(), g = s || (a || o ? 1 : h.getDate()), _ = a || h.getFullYear(), v = 0;
1172
+ a && !o || (v = o > 0 ? o - 1 : h.getMonth());
1173
+ var y, b = c || 0, x = l || 0, S = u || 0, C = d || 0;
1174
+ return f ? new Date(Date.UTC(_, v, g, b, x, S, C + 60 * f.offset * 1e3)) : n ? new Date(Date.UTC(_, v, g, b, x, S, C)) : (y = new Date(_, v, g, b, x, S, C), m && (y = r(y).week(m).toDate()), y);
1175
+ } catch {
1176
+ return /* @__PURE__ */ new Date("");
1177
+ }
1178
+ }(t, s, r, n), this.init(), d && !0 !== d && (this.$L = this.locale(d).$L), u && t != this.format(s) && (this.$d = /* @__PURE__ */ new Date("")), o = {};
1179
+ } else if (s instanceof Array) for (var f = s.length, m = 1; m <= f; m += 1) {
1180
+ a[1] = s[m - 1];
1181
+ var h = n.apply(this, a);
1182
+ if (h.isValid()) {
1183
+ this.$d = h.$d, this.$L = h.$L, this.init();
1184
+ break;
1185
+ }
1186
+ m === f && (this.$d = /* @__PURE__ */ new Date(""));
1187
+ }
1188
+ else i.call(this, e);
1189
+ };
1190
+ };
1191
+ }));
1192
+ })), Un = /* @__PURE__ */ t(((e, t) => {
1193
+ (function(n, r) {
1194
+ typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_advancedFormat = r();
1195
+ })(e, (function() {
1196
+ return function(e, t) {
1197
+ var n = t.prototype, r = n.format;
1198
+ n.format = function(e) {
1199
+ var t = this, n = this.$locale();
1200
+ if (!this.isValid()) return r.bind(this)(e);
1201
+ var i = this.$utils(), a = (e || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, (function(e) {
1202
+ switch (e) {
1203
+ case "Q": return Math.ceil((t.$M + 1) / 3);
1204
+ case "Do": return n.ordinal(t.$D);
1205
+ case "gggg": return t.weekYear();
1206
+ case "GGGG": return t.isoWeekYear();
1207
+ case "wo": return n.ordinal(t.week(), "W");
1208
+ case "w":
1209
+ case "ww": return i.s(t.week(), e === "w" ? 1 : 2, "0");
1210
+ case "W":
1211
+ case "WW": return i.s(t.isoWeek(), e === "W" ? 1 : 2, "0");
1212
+ case "k":
1213
+ case "kk": return i.s(String(t.$H === 0 ? 24 : t.$H), e === "k" ? 1 : 2, "0");
1214
+ case "X": return Math.floor(t.$d.getTime() / 1e3);
1215
+ case "x": return t.$d.getTime();
1216
+ case "z": return "[" + t.offsetName() + "]";
1217
+ case "zzz": return "[" + t.offsetName("long") + "]";
1218
+ default: return e;
1219
+ }
1220
+ }));
1221
+ return r.bind(this)(a);
1222
+ };
1223
+ };
1224
+ }));
1225
+ })), Wn = ee(), Y = /* @__PURE__ */ e(f(), 1), Gn = /* @__PURE__ */ e(Vn(), 1), Kn = /* @__PURE__ */ e(Hn(), 1), qn = /* @__PURE__ */ e(Un(), 1), Jn = (function() {
1226
+ var e = /* @__PURE__ */ s(function(e, t, n, r) {
1227
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
1228
+ return n;
1229
+ }, "o"), t = [
1230
+ 6,
1231
+ 8,
1232
+ 10,
1233
+ 12,
1234
+ 13,
1235
+ 14,
1236
+ 15,
1237
+ 16,
1238
+ 17,
1239
+ 18,
1240
+ 20,
1241
+ 21,
1242
+ 22,
1243
+ 23,
1244
+ 24,
1245
+ 25,
1246
+ 26,
1247
+ 27,
1248
+ 28,
1249
+ 29,
1250
+ 30,
1251
+ 31,
1252
+ 33,
1253
+ 35,
1254
+ 36,
1255
+ 38,
1256
+ 40
1257
+ ], n = [1, 26], r = [1, 27], i = [1, 28], a = [1, 29], o = [1, 30], c = [1, 31], l = [1, 32], u = [1, 33], d = [1, 34], f = [1, 9], p = [1, 10], m = [1, 11], h = [1, 12], g = [1, 13], _ = [1, 14], v = [1, 15], y = [1, 16], b = [1, 19], x = [1, 20], S = [1, 21], C = [1, 22], w = [1, 23], T = [1, 25], E = [1, 35], D = {
1258
+ trace: /* @__PURE__ */ s(function() {}, "trace"),
1259
+ yy: {},
1260
+ symbols_: {
1261
+ error: 2,
1262
+ start: 3,
1263
+ gantt: 4,
1264
+ document: 5,
1265
+ EOF: 6,
1266
+ line: 7,
1267
+ SPACE: 8,
1268
+ statement: 9,
1269
+ NL: 10,
1270
+ weekday: 11,
1271
+ weekday_monday: 12,
1272
+ weekday_tuesday: 13,
1273
+ weekday_wednesday: 14,
1274
+ weekday_thursday: 15,
1275
+ weekday_friday: 16,
1276
+ weekday_saturday: 17,
1277
+ weekday_sunday: 18,
1278
+ weekend: 19,
1279
+ weekend_friday: 20,
1280
+ weekend_saturday: 21,
1281
+ dateFormat: 22,
1282
+ inclusiveEndDates: 23,
1283
+ topAxis: 24,
1284
+ axisFormat: 25,
1285
+ tickInterval: 26,
1286
+ excludes: 27,
1287
+ includes: 28,
1288
+ todayMarker: 29,
1289
+ title: 30,
1290
+ acc_title: 31,
1291
+ acc_title_value: 32,
1292
+ acc_descr: 33,
1293
+ acc_descr_value: 34,
1294
+ acc_descr_multiline_value: 35,
1295
+ section: 36,
1296
+ clickStatement: 37,
1297
+ taskTxt: 38,
1298
+ taskData: 39,
1299
+ click: 40,
1300
+ callbackname: 41,
1301
+ callbackargs: 42,
1302
+ href: 43,
1303
+ clickStatementDebug: 44,
1304
+ $accept: 0,
1305
+ $end: 1
1306
+ },
1307
+ terminals_: {
1308
+ 2: "error",
1309
+ 4: "gantt",
1310
+ 6: "EOF",
1311
+ 8: "SPACE",
1312
+ 10: "NL",
1313
+ 12: "weekday_monday",
1314
+ 13: "weekday_tuesday",
1315
+ 14: "weekday_wednesday",
1316
+ 15: "weekday_thursday",
1317
+ 16: "weekday_friday",
1318
+ 17: "weekday_saturday",
1319
+ 18: "weekday_sunday",
1320
+ 20: "weekend_friday",
1321
+ 21: "weekend_saturday",
1322
+ 22: "dateFormat",
1323
+ 23: "inclusiveEndDates",
1324
+ 24: "topAxis",
1325
+ 25: "axisFormat",
1326
+ 26: "tickInterval",
1327
+ 27: "excludes",
1328
+ 28: "includes",
1329
+ 29: "todayMarker",
1330
+ 30: "title",
1331
+ 31: "acc_title",
1332
+ 32: "acc_title_value",
1333
+ 33: "acc_descr",
1334
+ 34: "acc_descr_value",
1335
+ 35: "acc_descr_multiline_value",
1336
+ 36: "section",
1337
+ 38: "taskTxt",
1338
+ 39: "taskData",
1339
+ 40: "click",
1340
+ 41: "callbackname",
1341
+ 42: "callbackargs",
1342
+ 43: "href"
1343
+ },
1344
+ productions_: [
1345
+ 0,
1346
+ [3, 3],
1347
+ [5, 0],
1348
+ [5, 2],
1349
+ [7, 2],
1350
+ [7, 1],
1351
+ [7, 1],
1352
+ [7, 1],
1353
+ [11, 1],
1354
+ [11, 1],
1355
+ [11, 1],
1356
+ [11, 1],
1357
+ [11, 1],
1358
+ [11, 1],
1359
+ [11, 1],
1360
+ [19, 1],
1361
+ [19, 1],
1362
+ [9, 1],
1363
+ [9, 1],
1364
+ [9, 1],
1365
+ [9, 1],
1366
+ [9, 1],
1367
+ [9, 1],
1368
+ [9, 1],
1369
+ [9, 1],
1370
+ [9, 1],
1371
+ [9, 1],
1372
+ [9, 1],
1373
+ [9, 2],
1374
+ [9, 2],
1375
+ [9, 1],
1376
+ [9, 1],
1377
+ [9, 1],
1378
+ [9, 2],
1379
+ [37, 2],
1380
+ [37, 3],
1381
+ [37, 3],
1382
+ [37, 4],
1383
+ [37, 3],
1384
+ [37, 4],
1385
+ [37, 2],
1386
+ [44, 2],
1387
+ [44, 3],
1388
+ [44, 3],
1389
+ [44, 4],
1390
+ [44, 3],
1391
+ [44, 4],
1392
+ [44, 2]
1393
+ ],
1394
+ performAction: /* @__PURE__ */ s(function(e, t, n, r, i, a, o) {
1395
+ var s = a.length - 1;
1396
+ switch (i) {
1397
+ case 1: return a[s - 1];
1398
+ case 2:
1399
+ this.$ = [];
1400
+ break;
1401
+ case 3:
1402
+ a[s - 1].push(a[s]), this.$ = a[s - 1];
1403
+ break;
1404
+ case 4:
1405
+ case 5:
1406
+ this.$ = a[s];
1407
+ break;
1408
+ case 6:
1409
+ case 7:
1410
+ this.$ = [];
1411
+ break;
1412
+ case 8:
1413
+ r.setWeekday("monday");
1414
+ break;
1415
+ case 9:
1416
+ r.setWeekday("tuesday");
1417
+ break;
1418
+ case 10:
1419
+ r.setWeekday("wednesday");
1420
+ break;
1421
+ case 11:
1422
+ r.setWeekday("thursday");
1423
+ break;
1424
+ case 12:
1425
+ r.setWeekday("friday");
1426
+ break;
1427
+ case 13:
1428
+ r.setWeekday("saturday");
1429
+ break;
1430
+ case 14:
1431
+ r.setWeekday("sunday");
1432
+ break;
1433
+ case 15:
1434
+ r.setWeekend("friday");
1435
+ break;
1436
+ case 16:
1437
+ r.setWeekend("saturday");
1438
+ break;
1439
+ case 17:
1440
+ r.setDateFormat(a[s].substr(11)), this.$ = a[s].substr(11);
1441
+ break;
1442
+ case 18:
1443
+ r.enableInclusiveEndDates(), this.$ = a[s].substr(18);
1444
+ break;
1445
+ case 19:
1446
+ r.TopAxis(), this.$ = a[s].substr(8);
1447
+ break;
1448
+ case 20:
1449
+ r.setAxisFormat(a[s].substr(11)), this.$ = a[s].substr(11);
1450
+ break;
1451
+ case 21:
1452
+ r.setTickInterval(a[s].substr(13)), this.$ = a[s].substr(13);
1453
+ break;
1454
+ case 22:
1455
+ r.setExcludes(a[s].substr(9)), this.$ = a[s].substr(9);
1456
+ break;
1457
+ case 23:
1458
+ r.setIncludes(a[s].substr(9)), this.$ = a[s].substr(9);
1459
+ break;
1460
+ case 24:
1461
+ r.setTodayMarker(a[s].substr(12)), this.$ = a[s].substr(12);
1462
+ break;
1463
+ case 27:
1464
+ r.setDiagramTitle(a[s].substr(6)), this.$ = a[s].substr(6);
1465
+ break;
1466
+ case 28:
1467
+ this.$ = a[s].trim(), r.setAccTitle(this.$);
1468
+ break;
1469
+ case 29:
1470
+ case 30:
1471
+ this.$ = a[s].trim(), r.setAccDescription(this.$);
1472
+ break;
1473
+ case 31:
1474
+ r.addSection(a[s].substr(8)), this.$ = a[s].substr(8);
1475
+ break;
1476
+ case 33:
1477
+ r.addTask(a[s - 1], a[s]), this.$ = "task";
1478
+ break;
1479
+ case 34:
1480
+ this.$ = a[s - 1], r.setClickEvent(a[s - 1], a[s], null);
1481
+ break;
1482
+ case 35:
1483
+ this.$ = a[s - 2], r.setClickEvent(a[s - 2], a[s - 1], a[s]);
1484
+ break;
1485
+ case 36:
1486
+ this.$ = a[s - 2], r.setClickEvent(a[s - 2], a[s - 1], null), r.setLink(a[s - 2], a[s]);
1487
+ break;
1488
+ case 37:
1489
+ this.$ = a[s - 3], r.setClickEvent(a[s - 3], a[s - 2], a[s - 1]), r.setLink(a[s - 3], a[s]);
1490
+ break;
1491
+ case 38:
1492
+ this.$ = a[s - 2], r.setClickEvent(a[s - 2], a[s], null), r.setLink(a[s - 2], a[s - 1]);
1493
+ break;
1494
+ case 39:
1495
+ this.$ = a[s - 3], r.setClickEvent(a[s - 3], a[s - 1], a[s]), r.setLink(a[s - 3], a[s - 2]);
1496
+ break;
1497
+ case 40:
1498
+ this.$ = a[s - 1], r.setLink(a[s - 1], a[s]);
1499
+ break;
1500
+ case 41:
1501
+ case 47:
1502
+ this.$ = a[s - 1] + " " + a[s];
1503
+ break;
1504
+ case 42:
1505
+ case 43:
1506
+ case 45:
1507
+ this.$ = a[s - 2] + " " + a[s - 1] + " " + a[s];
1508
+ break;
1509
+ case 44:
1510
+ case 46:
1511
+ this.$ = a[s - 3] + " " + a[s - 2] + " " + a[s - 1] + " " + a[s];
1512
+ break;
1513
+ }
1514
+ }, "anonymous"),
1515
+ table: [
1516
+ {
1517
+ 3: 1,
1518
+ 4: [1, 2]
1519
+ },
1520
+ { 1: [3] },
1521
+ e(t, [2, 2], { 5: 3 }),
1522
+ {
1523
+ 6: [1, 4],
1524
+ 7: 5,
1525
+ 8: [1, 6],
1526
+ 9: 7,
1527
+ 10: [1, 8],
1528
+ 11: 17,
1529
+ 12: n,
1530
+ 13: r,
1531
+ 14: i,
1532
+ 15: a,
1533
+ 16: o,
1534
+ 17: c,
1535
+ 18: l,
1536
+ 19: 18,
1537
+ 20: u,
1538
+ 21: d,
1539
+ 22: f,
1540
+ 23: p,
1541
+ 24: m,
1542
+ 25: h,
1543
+ 26: g,
1544
+ 27: _,
1545
+ 28: v,
1546
+ 29: y,
1547
+ 30: b,
1548
+ 31: x,
1549
+ 33: S,
1550
+ 35: C,
1551
+ 36: w,
1552
+ 37: 24,
1553
+ 38: T,
1554
+ 40: E
1555
+ },
1556
+ e(t, [2, 7], { 1: [2, 1] }),
1557
+ e(t, [2, 3]),
1558
+ {
1559
+ 9: 36,
1560
+ 11: 17,
1561
+ 12: n,
1562
+ 13: r,
1563
+ 14: i,
1564
+ 15: a,
1565
+ 16: o,
1566
+ 17: c,
1567
+ 18: l,
1568
+ 19: 18,
1569
+ 20: u,
1570
+ 21: d,
1571
+ 22: f,
1572
+ 23: p,
1573
+ 24: m,
1574
+ 25: h,
1575
+ 26: g,
1576
+ 27: _,
1577
+ 28: v,
1578
+ 29: y,
1579
+ 30: b,
1580
+ 31: x,
1581
+ 33: S,
1582
+ 35: C,
1583
+ 36: w,
1584
+ 37: 24,
1585
+ 38: T,
1586
+ 40: E
1587
+ },
1588
+ e(t, [2, 5]),
1589
+ e(t, [2, 6]),
1590
+ e(t, [2, 17]),
1591
+ e(t, [2, 18]),
1592
+ e(t, [2, 19]),
1593
+ e(t, [2, 20]),
1594
+ e(t, [2, 21]),
1595
+ e(t, [2, 22]),
1596
+ e(t, [2, 23]),
1597
+ e(t, [2, 24]),
1598
+ e(t, [2, 25]),
1599
+ e(t, [2, 26]),
1600
+ e(t, [2, 27]),
1601
+ { 32: [1, 37] },
1602
+ { 34: [1, 38] },
1603
+ e(t, [2, 30]),
1604
+ e(t, [2, 31]),
1605
+ e(t, [2, 32]),
1606
+ { 39: [1, 39] },
1607
+ e(t, [2, 8]),
1608
+ e(t, [2, 9]),
1609
+ e(t, [2, 10]),
1610
+ e(t, [2, 11]),
1611
+ e(t, [2, 12]),
1612
+ e(t, [2, 13]),
1613
+ e(t, [2, 14]),
1614
+ e(t, [2, 15]),
1615
+ e(t, [2, 16]),
1616
+ {
1617
+ 41: [1, 40],
1618
+ 43: [1, 41]
1619
+ },
1620
+ e(t, [2, 4]),
1621
+ e(t, [2, 28]),
1622
+ e(t, [2, 29]),
1623
+ e(t, [2, 33]),
1624
+ e(t, [2, 34], {
1625
+ 42: [1, 42],
1626
+ 43: [1, 43]
1627
+ }),
1628
+ e(t, [2, 40], { 41: [1, 44] }),
1629
+ e(t, [2, 35], { 43: [1, 45] }),
1630
+ e(t, [2, 36]),
1631
+ e(t, [2, 38], { 42: [1, 46] }),
1632
+ e(t, [2, 37]),
1633
+ e(t, [2, 39])
1634
+ ],
1635
+ defaultActions: {},
1636
+ parseError: /* @__PURE__ */ s(function(e, t) {
1637
+ if (t.recoverable) this.trace(e);
1638
+ else {
1639
+ var n = Error(e);
1640
+ throw n.hash = t, n;
1641
+ }
1642
+ }, "parseError"),
1643
+ parse: /* @__PURE__ */ s(function(e) {
1644
+ var t = this, n = [0], r = [], i = [null], a = [], o = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
1645
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
1646
+ h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
1647
+ var v = h.yylloc;
1648
+ a.push(v);
1649
+ var y = h.options && h.options.ranges;
1650
+ typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1651
+ function b(e) {
1652
+ n.length -= 2 * e, i.length -= e, a.length -= e;
1653
+ }
1654
+ s(b, "popStack");
1655
+ function x() {
1656
+ var e = r.pop() || h.lex() || p;
1657
+ return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
1658
+ }
1659
+ s(x, "lex");
1660
+ for (var S, C, w, T, E, D = {}, O, k, ee, te;;) {
1661
+ if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = o[w] && o[w][S]), T === void 0 || !T.length || !T[0]) {
1662
+ var ne = "";
1663
+ for (O in te = [], o[w]) this.terminals_[O] && O > f && te.push("'" + this.terminals_[O] + "'");
1664
+ ne = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + te.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(ne, {
1665
+ text: h.match,
1666
+ token: this.terminals_[S] || S,
1667
+ line: h.yylineno,
1668
+ loc: v,
1669
+ expected: te
1670
+ });
1671
+ }
1672
+ if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
1673
+ switch (T[0]) {
1674
+ case 1:
1675
+ n.push(S), i.push(h.yytext), a.push(h.yylloc), n.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--);
1676
+ break;
1677
+ case 2:
1678
+ if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
1679
+ first_line: a[a.length - (k || 1)].first_line,
1680
+ last_line: a[a.length - 1].last_line,
1681
+ first_column: a[a.length - (k || 1)].first_column,
1682
+ last_column: a[a.length - 1].last_column
1683
+ }, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
1684
+ c,
1685
+ u,
1686
+ l,
1687
+ g.yy,
1688
+ T[1],
1689
+ i,
1690
+ a
1691
+ ].concat(m)), E !== void 0) return E;
1692
+ k && (n = n.slice(0, -1 * k * 2), i = i.slice(0, -1 * k), a = a.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), i.push(D.$), a.push(D._$), ee = o[n[n.length - 2]][n[n.length - 1]], n.push(ee);
1693
+ break;
1694
+ case 3: return !0;
1695
+ }
1696
+ }
1697
+ return !0;
1698
+ }, "parse")
1699
+ };
1700
+ D.lexer = /* @__PURE__ */ (function() {
1701
+ return {
1702
+ EOF: 1,
1703
+ parseError: /* @__PURE__ */ s(function(e, t) {
1704
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
1705
+ else throw Error(e);
1706
+ }, "parseError"),
1707
+ setInput: /* @__PURE__ */ s(function(e, t) {
1708
+ 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 = {
1709
+ first_line: 1,
1710
+ first_column: 0,
1711
+ last_line: 1,
1712
+ last_column: 0
1713
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1714
+ }, "setInput"),
1715
+ input: /* @__PURE__ */ s(function() {
1716
+ var e = this._input[0];
1717
+ 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;
1718
+ }, "input"),
1719
+ unput: /* @__PURE__ */ s(function(e) {
1720
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1721
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1722
+ var r = this.match.split(/(?:\r\n?|\n)/g);
1723
+ 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);
1724
+ var i = this.yylloc.range;
1725
+ return this.yylloc = {
1726
+ first_line: this.yylloc.first_line,
1727
+ last_line: this.yylineno + 1,
1728
+ first_column: this.yylloc.first_column,
1729
+ 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
1730
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1731
+ }, "unput"),
1732
+ more: /* @__PURE__ */ s(function() {
1733
+ return this._more = !0, this;
1734
+ }, "more"),
1735
+ reject: /* @__PURE__ */ s(function() {
1736
+ if (this.options.backtrack_lexer) this._backtrack = !0;
1737
+ 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(), {
1738
+ text: "",
1739
+ token: null,
1740
+ line: this.yylineno
1741
+ });
1742
+ return this;
1743
+ }, "reject"),
1744
+ less: /* @__PURE__ */ s(function(e) {
1745
+ this.unput(this.match.slice(e));
1746
+ }, "less"),
1747
+ pastInput: /* @__PURE__ */ s(function() {
1748
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
1749
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1750
+ }, "pastInput"),
1751
+ upcomingInput: /* @__PURE__ */ s(function() {
1752
+ var e = this.match;
1753
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1754
+ }, "upcomingInput"),
1755
+ showPosition: /* @__PURE__ */ s(function() {
1756
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
1757
+ return e + this.upcomingInput() + "\n" + t + "^";
1758
+ }, "showPosition"),
1759
+ test_match: /* @__PURE__ */ s(function(e, t) {
1760
+ var n, r, i;
1761
+ if (this.options.backtrack_lexer && (i = {
1762
+ yylineno: this.yylineno,
1763
+ yylloc: {
1764
+ first_line: this.yylloc.first_line,
1765
+ last_line: this.last_line,
1766
+ first_column: this.yylloc.first_column,
1767
+ last_column: this.yylloc.last_column
1768
+ },
1769
+ yytext: this.yytext,
1770
+ match: this.match,
1771
+ matches: this.matches,
1772
+ matched: this.matched,
1773
+ yyleng: this.yyleng,
1774
+ offset: this.offset,
1775
+ _more: this._more,
1776
+ _input: this._input,
1777
+ yy: this.yy,
1778
+ conditionStack: this.conditionStack.slice(0),
1779
+ done: this.done
1780
+ }, 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 = {
1781
+ first_line: this.yylloc.last_line,
1782
+ last_line: this.yylineno + 1,
1783
+ first_column: this.yylloc.last_column,
1784
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
1785
+ }, 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;
1786
+ if (this._backtrack) {
1787
+ for (var a in i) this[a] = i[a];
1788
+ return !1;
1789
+ }
1790
+ return !1;
1791
+ }, "test_match"),
1792
+ next: /* @__PURE__ */ s(function() {
1793
+ if (this.done) return this.EOF;
1794
+ this._input || (this.done = !0);
1795
+ var e, t, n, r;
1796
+ this._more || (this.yytext = "", this.match = "");
1797
+ 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)) {
1798
+ if (t = n, r = a, this.options.backtrack_lexer) {
1799
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
1800
+ if (this._backtrack) {
1801
+ t = !1;
1802
+ continue;
1803
+ } else return !1;
1804
+ } else if (!this.options.flex) break;
1805
+ }
1806
+ 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(), {
1807
+ text: "",
1808
+ token: null,
1809
+ line: this.yylineno
1810
+ });
1811
+ }, "next"),
1812
+ lex: /* @__PURE__ */ s(function() {
1813
+ return this.next() || this.lex();
1814
+ }, "lex"),
1815
+ begin: /* @__PURE__ */ s(function(e) {
1816
+ this.conditionStack.push(e);
1817
+ }, "begin"),
1818
+ popState: /* @__PURE__ */ s(function() {
1819
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1820
+ }, "popState"),
1821
+ _currentRules: /* @__PURE__ */ s(function() {
1822
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1823
+ }, "_currentRules"),
1824
+ topState: /* @__PURE__ */ s(function(e) {
1825
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1826
+ }, "topState"),
1827
+ pushState: /* @__PURE__ */ s(function(e) {
1828
+ this.begin(e);
1829
+ }, "pushState"),
1830
+ stateStackSize: /* @__PURE__ */ s(function() {
1831
+ return this.conditionStack.length;
1832
+ }, "stateStackSize"),
1833
+ options: { "case-insensitive": !0 },
1834
+ performAction: /* @__PURE__ */ s(function(e, t, n, r) {
1835
+ switch (n) {
1836
+ case 0: return this.begin("open_directive"), "open_directive";
1837
+ case 1: return this.begin("acc_title"), 31;
1838
+ case 2: return this.popState(), "acc_title_value";
1839
+ case 3: return this.begin("acc_descr"), 33;
1840
+ case 4: return this.popState(), "acc_descr_value";
1841
+ case 5:
1842
+ this.begin("acc_descr_multiline");
1843
+ break;
1844
+ case 6:
1845
+ this.popState();
1846
+ break;
1847
+ case 7: return "acc_descr_multiline_value";
1848
+ case 8: break;
1849
+ case 9: break;
1850
+ case 10: break;
1851
+ case 11: return 10;
1852
+ case 12: break;
1853
+ case 13: break;
1854
+ case 14:
1855
+ this.begin("href");
1856
+ break;
1857
+ case 15:
1858
+ this.popState();
1859
+ break;
1860
+ case 16: return 43;
1861
+ case 17:
1862
+ this.begin("callbackname");
1863
+ break;
1864
+ case 18:
1865
+ this.popState();
1866
+ break;
1867
+ case 19:
1868
+ this.popState(), this.begin("callbackargs");
1869
+ break;
1870
+ case 20: return 41;
1871
+ case 21:
1872
+ this.popState();
1873
+ break;
1874
+ case 22: return 42;
1875
+ case 23:
1876
+ this.begin("click");
1877
+ break;
1878
+ case 24:
1879
+ this.popState();
1880
+ break;
1881
+ case 25: return 40;
1882
+ case 26: return 4;
1883
+ case 27: return 22;
1884
+ case 28: return 23;
1885
+ case 29: return 24;
1886
+ case 30: return 25;
1887
+ case 31: return 26;
1888
+ case 32: return 28;
1889
+ case 33: return 27;
1890
+ case 34: return 29;
1891
+ case 35: return 12;
1892
+ case 36: return 13;
1893
+ case 37: return 14;
1894
+ case 38: return 15;
1895
+ case 39: return 16;
1896
+ case 40: return 17;
1897
+ case 41: return 18;
1898
+ case 42: return 20;
1899
+ case 43: return 21;
1900
+ case 44: return "date";
1901
+ case 45: return 30;
1902
+ case 46: return "accDescription";
1903
+ case 47: return 36;
1904
+ case 48: return 38;
1905
+ case 49: return 39;
1906
+ case 50: return ":";
1907
+ case 51: return 6;
1908
+ case 52: return "INVALID";
1909
+ }
1910
+ }, "anonymous"),
1911
+ rules: [
1912
+ /^(?:%%\{)/i,
1913
+ /^(?:accTitle\s*:\s*)/i,
1914
+ /^(?:(?!\n||)*[^\n]*)/i,
1915
+ /^(?:accDescr\s*:\s*)/i,
1916
+ /^(?:(?!\n||)*[^\n]*)/i,
1917
+ /^(?:accDescr\s*\{\s*)/i,
1918
+ /^(?:[\}])/i,
1919
+ /^(?:[^\}]*)/i,
1920
+ /^(?:%%(?!\{)*[^\n]*)/i,
1921
+ /^(?:[^\}]%%*[^\n]*)/i,
1922
+ /^(?:%%*[^\n]*[\n]*)/i,
1923
+ /^(?:[\n]+)/i,
1924
+ /^(?:\s+)/i,
1925
+ /^(?:%[^\n]*)/i,
1926
+ /^(?:href[\s]+["])/i,
1927
+ /^(?:["])/i,
1928
+ /^(?:[^"]*)/i,
1929
+ /^(?:call[\s]+)/i,
1930
+ /^(?:\([\s]*\))/i,
1931
+ /^(?:\()/i,
1932
+ /^(?:[^(]*)/i,
1933
+ /^(?:\))/i,
1934
+ /^(?:[^)]*)/i,
1935
+ /^(?:click[\s]+)/i,
1936
+ /^(?:[\s\n])/i,
1937
+ /^(?:[^\s\n]*)/i,
1938
+ /^(?:gantt\b)/i,
1939
+ /^(?:dateFormat\s[^#\n;]+)/i,
1940
+ /^(?:inclusiveEndDates\b)/i,
1941
+ /^(?:topAxis\b)/i,
1942
+ /^(?:axisFormat\s[^#\n;]+)/i,
1943
+ /^(?:tickInterval\s[^#\n;]+)/i,
1944
+ /^(?:includes\s[^#\n;]+)/i,
1945
+ /^(?:excludes\s[^#\n;]+)/i,
1946
+ /^(?:todayMarker\s[^\n;]+)/i,
1947
+ /^(?:weekday\s+monday\b)/i,
1948
+ /^(?:weekday\s+tuesday\b)/i,
1949
+ /^(?:weekday\s+wednesday\b)/i,
1950
+ /^(?:weekday\s+thursday\b)/i,
1951
+ /^(?:weekday\s+friday\b)/i,
1952
+ /^(?:weekday\s+saturday\b)/i,
1953
+ /^(?:weekday\s+sunday\b)/i,
1954
+ /^(?:weekend\s+friday\b)/i,
1955
+ /^(?:weekend\s+saturday\b)/i,
1956
+ /^(?:\d\d\d\d-\d\d-\d\d\b)/i,
1957
+ /^(?:title\s[^\n]+)/i,
1958
+ /^(?:accDescription\s[^#\n;]+)/i,
1959
+ /^(?:section\s[^\n]+)/i,
1960
+ /^(?:[^:\n]+)/i,
1961
+ /^(?::[^#\n;]+)/i,
1962
+ /^(?::)/i,
1963
+ /^(?:$)/i,
1964
+ /^(?:.)/i
1965
+ ],
1966
+ conditions: {
1967
+ acc_descr_multiline: {
1968
+ rules: [6, 7],
1969
+ inclusive: !1
1970
+ },
1971
+ acc_descr: {
1972
+ rules: [4],
1973
+ inclusive: !1
1974
+ },
1975
+ acc_title: {
1976
+ rules: [2],
1977
+ inclusive: !1
1978
+ },
1979
+ callbackargs: {
1980
+ rules: [21, 22],
1981
+ inclusive: !1
1982
+ },
1983
+ callbackname: {
1984
+ rules: [
1985
+ 18,
1986
+ 19,
1987
+ 20
1988
+ ],
1989
+ inclusive: !1
1990
+ },
1991
+ href: {
1992
+ rules: [15, 16],
1993
+ inclusive: !1
1994
+ },
1995
+ click: {
1996
+ rules: [24, 25],
1997
+ inclusive: !1
1998
+ },
1999
+ INITIAL: {
2000
+ rules: [
2001
+ 0,
2002
+ 1,
2003
+ 3,
2004
+ 5,
2005
+ 8,
2006
+ 9,
2007
+ 10,
2008
+ 11,
2009
+ 12,
2010
+ 13,
2011
+ 14,
2012
+ 17,
2013
+ 23,
2014
+ 26,
2015
+ 27,
2016
+ 28,
2017
+ 29,
2018
+ 30,
2019
+ 31,
2020
+ 32,
2021
+ 33,
2022
+ 34,
2023
+ 35,
2024
+ 36,
2025
+ 37,
2026
+ 38,
2027
+ 39,
2028
+ 40,
2029
+ 41,
2030
+ 42,
2031
+ 43,
2032
+ 44,
2033
+ 45,
2034
+ 46,
2035
+ 47,
2036
+ 48,
2037
+ 49,
2038
+ 50,
2039
+ 51,
2040
+ 52
2041
+ ],
2042
+ inclusive: !0
2043
+ }
2044
+ }
2045
+ };
2046
+ })();
2047
+ function O() {
2048
+ this.yy = {};
2049
+ }
2050
+ return s(O, "Parser"), O.prototype = D, D.Parser = O, new O();
2051
+ })();
2052
+ Jn.parser = Jn;
2053
+ var Yn = Jn;
2054
+ Y.default.extend(Gn.default), Y.default.extend(Kn.default), Y.default.extend(qn.default);
2055
+ var Xn = {
2056
+ friday: 5,
2057
+ saturday: 6
2058
+ }, X = "", Zn = "", Qn = void 0, $n = "", er = [], tr = [], nr = /* @__PURE__ */ new Map(), rr = [], ir = [], ar = "", or = "", sr = [
2059
+ "active",
2060
+ "done",
2061
+ "crit",
2062
+ "milestone",
2063
+ "vert"
2064
+ ], cr = [], lr = !1, ur = !1, dr = "sunday", fr = "saturday", pr = 0, mr = /* @__PURE__ */ s(function() {
2065
+ rr = [], ir = [], ar = "", cr = [], Kr = 0, Xr = void 0, Zr = void 0, Z = [], X = "", Zn = "", or = "", Qn = void 0, $n = "", er = [], tr = [], lr = !1, ur = !1, pr = 0, nr = /* @__PURE__ */ new Map(), _(), dr = "sunday", fr = "saturday";
2066
+ }, "clear"), hr = /* @__PURE__ */ s(function(e) {
2067
+ Zn = e;
2068
+ }, "setAxisFormat"), gr = /* @__PURE__ */ s(function() {
2069
+ return Zn;
2070
+ }, "getAxisFormat"), _r = /* @__PURE__ */ s(function(e) {
2071
+ Qn = e;
2072
+ }, "setTickInterval"), vr = /* @__PURE__ */ s(function() {
2073
+ return Qn;
2074
+ }, "getTickInterval"), yr = /* @__PURE__ */ s(function(e) {
2075
+ $n = e;
2076
+ }, "setTodayMarker"), br = /* @__PURE__ */ s(function() {
2077
+ return $n;
2078
+ }, "getTodayMarker"), xr = /* @__PURE__ */ s(function(e) {
2079
+ X = e;
2080
+ }, "setDateFormat"), Sr = /* @__PURE__ */ s(function() {
2081
+ lr = !0;
2082
+ }, "enableInclusiveEndDates"), Cr = /* @__PURE__ */ s(function() {
2083
+ return lr;
2084
+ }, "endDatesAreInclusive"), wr = /* @__PURE__ */ s(function() {
2085
+ ur = !0;
2086
+ }, "enableTopAxis"), Tr = /* @__PURE__ */ s(function() {
2087
+ return ur;
2088
+ }, "topAxisEnabled"), Er = /* @__PURE__ */ s(function(e) {
2089
+ or = e;
2090
+ }, "setDisplayMode"), Dr = /* @__PURE__ */ s(function() {
2091
+ return or;
2092
+ }, "getDisplayMode"), Or = /* @__PURE__ */ s(function() {
2093
+ return X;
2094
+ }, "getDateFormat"), kr = /* @__PURE__ */ s(function(e) {
2095
+ er = e.toLowerCase().split(/[\s,]+/);
2096
+ }, "setIncludes"), Ar = /* @__PURE__ */ s(function() {
2097
+ return er;
2098
+ }, "getIncludes"), jr = /* @__PURE__ */ s(function(e) {
2099
+ tr = e.toLowerCase().split(/[\s,]+/);
2100
+ }, "setExcludes"), Mr = /* @__PURE__ */ s(function() {
2101
+ return tr;
2102
+ }, "getExcludes"), Nr = /* @__PURE__ */ s(function() {
2103
+ return nr;
2104
+ }, "getLinks"), Pr = /* @__PURE__ */ s(function(e) {
2105
+ ar = e, rr.push(e);
2106
+ }, "addSection"), Fr = /* @__PURE__ */ s(function() {
2107
+ return rr;
2108
+ }, "getSections"), Ir = /* @__PURE__ */ s(function() {
2109
+ let e = ti(), t = 0;
2110
+ for (; !e && t < 10;) e = ti(), t++;
2111
+ return ir = Z, ir;
2112
+ }, "getTasks"), Lr = /* @__PURE__ */ s(function(e, t, n, r) {
2113
+ let i = e.format(t.trim()), a = e.format("YYYY-MM-DD");
2114
+ return r.includes(i) || r.includes(a) ? !1 : n.includes("weekends") && (e.isoWeekday() === Xn[fr] || e.isoWeekday() === Xn[fr] + 1) || n.includes(e.format("dddd").toLowerCase()) ? !0 : n.includes(i) || n.includes(a);
2115
+ }, "isInvalidDate"), Rr = /* @__PURE__ */ s(function(e) {
2116
+ dr = e;
2117
+ }, "setWeekday"), zr = /* @__PURE__ */ s(function() {
2118
+ return dr;
2119
+ }, "getWeekday"), Br = /* @__PURE__ */ s(function(e) {
2120
+ fr = e;
2121
+ }, "setWeekend"), Vr = /* @__PURE__ */ s(function(e, t, n, r) {
2122
+ if (!n.length || e.manualEndTime) return;
2123
+ let i;
2124
+ i = e.startTime instanceof Date ? (0, Y.default)(e.startTime) : (0, Y.default)(e.startTime, t, !0), i = i.add(1, "d");
2125
+ let a;
2126
+ a = e.endTime instanceof Date ? (0, Y.default)(e.endTime) : (0, Y.default)(e.endTime, t, !0);
2127
+ let [o, s] = Hr(i, a, t, n, r);
2128
+ e.endTime = o.toDate(), e.renderEndTime = s;
2129
+ }, "checkTaskDates"), Hr = /* @__PURE__ */ s(function(e, t, n, r, i) {
2130
+ let a = !1, o = null;
2131
+ for (; e <= t;) a || (o = t.toDate()), a = Lr(e, n, r, i), a && (t = t.add(1, "d")), e = e.add(1, "d");
2132
+ return [t, o];
2133
+ }, "fixTaskDates"), Ur = /* @__PURE__ */ s(function(e, t, n) {
2134
+ if (n = n.trim(), (t.trim() === "x" || t.trim() === "X") && /^\d+$/.test(n)) return new Date(Number(n));
2135
+ let r = /^after\s+(?<ids>[\d\w- ]+)/.exec(n);
2136
+ if (r !== null) {
2137
+ let e = null;
2138
+ for (let t of r.groups.ids.split(" ")) {
2139
+ let n = Q(t);
2140
+ n !== void 0 && (!e || n.endTime > e.endTime) && (e = n);
2141
+ }
2142
+ if (e) return e.endTime;
2143
+ let t = /* @__PURE__ */ new Date();
2144
+ return t.setHours(0, 0, 0, 0), t;
2145
+ }
2146
+ let i = (0, Y.default)(n, t.trim(), !0);
2147
+ if (i.isValid()) return i.toDate();
2148
+ {
2149
+ o.debug("Invalid date:" + n), o.debug("With date format:" + t.trim());
2150
+ let e = new Date(n);
2151
+ if (e === void 0 || isNaN(e.getTime()) || e.getFullYear() < -1e4 || e.getFullYear() > 1e4) throw Error("Invalid date:" + n);
2152
+ return e;
2153
+ }
2154
+ }, "getStartDate"), Wr = /* @__PURE__ */ s(function(e) {
2155
+ let t = /^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(e.trim());
2156
+ return t === null ? [NaN, "ms"] : [Number.parseFloat(t[1]), t[2]];
2157
+ }, "parseDuration"), Gr = /* @__PURE__ */ s(function(e, t, n, r = !1) {
2158
+ n = n.trim();
2159
+ let i = /^until\s+(?<ids>[\d\w- ]+)/.exec(n);
2160
+ if (i !== null) {
2161
+ let e = null;
2162
+ for (let t of i.groups.ids.split(" ")) {
2163
+ let n = Q(t);
2164
+ n !== void 0 && (!e || n.startTime < e.startTime) && (e = n);
2165
+ }
2166
+ if (e) return e.startTime;
2167
+ let t = /* @__PURE__ */ new Date();
2168
+ return t.setHours(0, 0, 0, 0), t;
2169
+ }
2170
+ let a = (0, Y.default)(n, t.trim(), !0);
2171
+ if (a.isValid()) return r && (a = a.add(1, "d")), a.toDate();
2172
+ let o = (0, Y.default)(e), [s, c] = Wr(n);
2173
+ if (!Number.isNaN(s)) {
2174
+ let e = o.add(s, c);
2175
+ e.isValid() && (o = e);
2176
+ }
2177
+ return o.toDate();
2178
+ }, "getEndDate"), Kr = 0, qr = /* @__PURE__ */ s(function(e) {
2179
+ return e === void 0 ? (Kr += 1, "task" + Kr) : e;
2180
+ }, "parseId"), Jr = /* @__PURE__ */ s(function(e, t) {
2181
+ let n;
2182
+ n = t.substr(0, 1) === ":" ? t.substr(1, t.length) : t;
2183
+ let r = n.split(","), i = {};
2184
+ si(r, i, sr);
2185
+ for (let e = 0; e < r.length; e++) r[e] = r[e].trim();
2186
+ let a = "";
2187
+ switch (r.length) {
2188
+ case 1:
2189
+ i.id = qr(), i.startTime = e.endTime, a = r[0];
2190
+ break;
2191
+ case 2:
2192
+ i.id = qr(), i.startTime = Ur(void 0, X, r[0]), a = r[1];
2193
+ break;
2194
+ case 3:
2195
+ i.id = qr(r[0]), i.startTime = Ur(void 0, X, r[1]), a = r[2];
2196
+ break;
2197
+ default:
2198
+ }
2199
+ return a && (i.endTime = Gr(i.startTime, X, a, lr), i.manualEndTime = (0, Y.default)(a, "YYYY-MM-DD", !0).isValid(), Vr(i, X, tr, er)), i;
2200
+ }, "compileData"), Yr = /* @__PURE__ */ s(function(e, t) {
2201
+ let n;
2202
+ n = t.substr(0, 1) === ":" ? t.substr(1, t.length) : t;
2203
+ let r = n.split(","), i = {};
2204
+ si(r, i, sr);
2205
+ for (let e = 0; e < r.length; e++) r[e] = r[e].trim();
2206
+ switch (r.length) {
2207
+ case 1:
2208
+ i.id = qr(), i.startTime = {
2209
+ type: "prevTaskEnd",
2210
+ id: e
2211
+ }, i.endTime = { data: r[0] };
2212
+ break;
2213
+ case 2:
2214
+ i.id = qr(), i.startTime = {
2215
+ type: "getStartDate",
2216
+ startData: r[0]
2217
+ }, i.endTime = { data: r[1] };
2218
+ break;
2219
+ case 3:
2220
+ i.id = qr(r[0]), i.startTime = {
2221
+ type: "getStartDate",
2222
+ startData: r[1]
2223
+ }, i.endTime = { data: r[2] };
2224
+ break;
2225
+ default:
2226
+ }
2227
+ return i;
2228
+ }, "parseData"), Xr, Zr, Z = [], Qr = {}, $r = /* @__PURE__ */ s(function(e, t) {
2229
+ let n = {
2230
+ section: ar,
2231
+ type: ar,
2232
+ processed: !1,
2233
+ manualEndTime: !1,
2234
+ renderEndTime: null,
2235
+ raw: { data: t },
2236
+ task: e,
2237
+ classes: []
2238
+ }, r = Yr(Zr, t);
2239
+ n.raw.startTime = r.startTime, n.raw.endTime = r.endTime, n.id = r.id, n.prevTaskId = Zr, n.active = r.active, n.done = r.done, n.crit = r.crit, n.milestone = r.milestone, n.vert = r.vert, n.order = pr, pr++;
2240
+ let i = Z.push(n);
2241
+ Zr = n.id, Qr[n.id] = i - 1;
2242
+ }, "addTask"), Q = /* @__PURE__ */ s(function(e) {
2243
+ let t = Qr[e];
2244
+ return Z[t];
2245
+ }, "findTaskById"), ei = /* @__PURE__ */ s(function(e, t) {
2246
+ let n = {
2247
+ section: ar,
2248
+ type: ar,
2249
+ description: e,
2250
+ task: e,
2251
+ classes: []
2252
+ }, r = Jr(Xr, t);
2253
+ n.startTime = r.startTime, n.endTime = r.endTime, n.id = r.id, n.active = r.active, n.done = r.done, n.crit = r.crit, n.milestone = r.milestone, n.vert = r.vert, Xr = n, ir.push(n);
2254
+ }, "addTaskOrg"), ti = /* @__PURE__ */ s(function() {
2255
+ let e = /* @__PURE__ */ s(function(e) {
2256
+ let t = Z[e], n = "";
2257
+ switch (Z[e].raw.startTime.type) {
2258
+ case "prevTaskEnd":
2259
+ t.startTime = Q(t.prevTaskId).endTime;
2260
+ break;
2261
+ case "getStartDate":
2262
+ n = Ur(void 0, X, Z[e].raw.startTime.startData), n && (Z[e].startTime = n);
2263
+ break;
2264
+ }
2265
+ return Z[e].startTime && (Z[e].endTime = Gr(Z[e].startTime, X, Z[e].raw.endTime.data, lr), Z[e].endTime && (Z[e].processed = !0, Z[e].manualEndTime = (0, Y.default)(Z[e].raw.endTime.data, "YYYY-MM-DD", !0).isValid(), Vr(Z[e], X, tr, er))), Z[e].processed;
2266
+ }, "compileTask"), t = !0;
2267
+ for (let [n, r] of Z.entries()) e(n), t &&= r.processed;
2268
+ return t;
2269
+ }, "compileTasks"), ni = /* @__PURE__ */ s(function(e, t) {
2270
+ let n = t;
2271
+ v().securityLevel !== "loose" && (n = (0, Wn.sanitizeUrl)(t)), e.split(",").forEach(function(e) {
2272
+ Q(e) !== void 0 && (ai(e, () => {
2273
+ window.open(n, "_self");
2274
+ }), nr.set(e, n));
2275
+ }), ri(e, "clickable");
2276
+ }, "setLink"), ri = /* @__PURE__ */ s(function(e, t) {
2277
+ e.split(",").forEach(function(e) {
2278
+ let n = Q(e);
2279
+ n !== void 0 && n.classes.push(t);
2280
+ });
2281
+ }, "setClass"), ii = /* @__PURE__ */ s(function(e, t, n) {
2282
+ if (v().securityLevel !== "loose" || t === void 0) return;
2283
+ let r = [];
2284
+ if (typeof n == "string") {
2285
+ r = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
2286
+ for (let e = 0; e < r.length; e++) {
2287
+ let t = r[e].trim();
2288
+ t.startsWith("\"") && t.endsWith("\"") && (t = t.substr(1, t.length - 2)), r[e] = t;
2289
+ }
2290
+ }
2291
+ r.length === 0 && r.push(e), Q(e) !== void 0 && ai(e, () => {
2292
+ k.runFunc(t, ...r);
2293
+ });
2294
+ }, "setClickFun"), ai = /* @__PURE__ */ s(function(e, t) {
2295
+ cr.push(function() {
2296
+ let n = document.querySelector(`[id="${e}"]`);
2297
+ n !== null && n.addEventListener("click", function() {
2298
+ t();
2299
+ });
2300
+ }, function() {
2301
+ let n = document.querySelector(`[id="${e}-text"]`);
2302
+ n !== null && n.addEventListener("click", function() {
2303
+ t();
2304
+ });
2305
+ });
2306
+ }, "pushFun"), oi = {
2307
+ getConfig: /* @__PURE__ */ s(() => v().gantt, "getConfig"),
2308
+ clear: mr,
2309
+ setDateFormat: xr,
2310
+ getDateFormat: Or,
2311
+ enableInclusiveEndDates: Sr,
2312
+ endDatesAreInclusive: Cr,
2313
+ enableTopAxis: wr,
2314
+ topAxisEnabled: Tr,
2315
+ setAxisFormat: hr,
2316
+ getAxisFormat: gr,
2317
+ setTickInterval: _r,
2318
+ getTickInterval: vr,
2319
+ setTodayMarker: yr,
2320
+ getTodayMarker: br,
2321
+ setAccTitle: p,
2322
+ getAccTitle: x,
2323
+ setDiagramTitle: h,
2324
+ getDiagramTitle: m,
2325
+ setDisplayMode: Er,
2326
+ getDisplayMode: Dr,
2327
+ setAccDescription: S,
2328
+ getAccDescription: g,
2329
+ addSection: Pr,
2330
+ getSections: Fr,
2331
+ getTasks: Ir,
2332
+ addTask: $r,
2333
+ findTaskById: Q,
2334
+ addTaskOrg: ei,
2335
+ setIncludes: kr,
2336
+ getIncludes: Ar,
2337
+ setExcludes: jr,
2338
+ getExcludes: Mr,
2339
+ setClickEvent: /* @__PURE__ */ s(function(e, t, n) {
2340
+ e.split(",").forEach(function(e) {
2341
+ ii(e, t, n);
2342
+ }), ri(e, "clickable");
2343
+ }, "setClickEvent"),
2344
+ setLink: ni,
2345
+ getLinks: Nr,
2346
+ bindFunctions: /* @__PURE__ */ s(function(e) {
2347
+ cr.forEach(function(t) {
2348
+ t(e);
2349
+ });
2350
+ }, "bindFunctions"),
2351
+ parseDuration: Wr,
2352
+ isInvalidDate: Lr,
2353
+ setWeekday: Rr,
2354
+ getWeekday: zr,
2355
+ setWeekend: Br
2356
+ };
2357
+ function si(e, t, n) {
2358
+ let r = !0;
2359
+ for (; r;) r = !1, n.forEach(function(n) {
2360
+ let i = "^\\s*" + n + "\\s*$", a = new RegExp(i);
2361
+ e[0].match(a) && (t[n] = !0, e.shift(1), r = !0);
2362
+ });
2363
+ }
2364
+ s(si, "getTaskTags");
2365
+ var ci = /* @__PURE__ */ s(function() {
2366
+ o.debug("Something is calling, setConf, remove the call");
2367
+ }, "setConf"), li = {
2368
+ monday: Ze,
2369
+ tuesday: Qe,
2370
+ wednesday: $e,
2371
+ thursday: V,
2372
+ friday: et,
2373
+ saturday: tt,
2374
+ sunday: Xe
2375
+ }, ui = /* @__PURE__ */ s((e, t) => {
2376
+ let n = [...e].map(() => -Infinity), r = [...e].sort((e, t) => e.startTime - t.startTime || e.order - t.order), i = 0;
2377
+ for (let e of r) for (let r = 0; r < n.length; r++) if (e.startTime >= n[r]) {
2378
+ n[r] = e.endTime, e.order = r + t, r > i && (i = r);
2379
+ break;
2380
+ }
2381
+ return i;
2382
+ }, "getMaxIntersections"), $, di = {
2383
+ parser: Yn,
2384
+ db: oi,
2385
+ renderer: {
2386
+ setConf: ci,
2387
+ draw: /* @__PURE__ */ s(function(e, t, n, r) {
2388
+ let i = v().gantt, a = v().securityLevel, c;
2389
+ a === "sandbox" && (c = l("#i" + t));
2390
+ let u = l(a === "sandbox" ? c.nodes()[0].contentDocument.body : "body"), d = a === "sandbox" ? c.nodes()[0].contentDocument : document, f = d.getElementById(t);
2391
+ $ = f.parentElement.offsetWidth, $ === void 0 && ($ = 1200), i.useWidth !== void 0 && ($ = i.useWidth);
2392
+ let p = r.db.getTasks(), m = [];
2393
+ for (let e of p) m.push(e.type);
2394
+ m = ee(m);
2395
+ let h = {}, g = 2 * i.topPadding;
2396
+ if (r.db.getDisplayMode() === "compact" || i.displayMode === "compact") {
2397
+ let e = {};
2398
+ for (let t of p) e[t.section] === void 0 ? e[t.section] = [t] : e[t.section].push(t);
2399
+ let t = 0;
2400
+ for (let n of Object.keys(e)) {
2401
+ let r = ui(e[n], t) + 1;
2402
+ t += r, g += r * (i.barHeight + i.barGap), h[n] = r;
2403
+ }
2404
+ } else {
2405
+ g += p.length * (i.barHeight + i.barGap);
2406
+ for (let e of m) h[e] = p.filter((t) => t.type === e).length;
2407
+ }
2408
+ f.setAttribute("viewBox", "0 0 " + $ + " " + g);
2409
+ let _ = u.select(`[id="${t}"]`), x = Bn().domain([ne(p, function(e) {
2410
+ return e.startTime;
2411
+ }), te(p, function(e) {
2412
+ return e.endTime;
2413
+ })]).rangeRound([0, $ - i.leftPadding - i.rightPadding]);
2414
+ function S(e, t) {
2415
+ let n = e.startTime, r = t.startTime, i = 0;
2416
+ return n > r ? i = 1 : n < r && (i = -1), i;
2417
+ }
2418
+ s(S, "taskCompare"), p.sort(S), C(p, $, g), y(_, g, $, i.useMaxWidth), _.append("text").text(r.db.getDiagramTitle()).attr("x", $ / 2).attr("y", i.titleTopMargin).attr("class", "titleText");
2419
+ function C(e, t, n) {
2420
+ let a = i.barHeight, o = a + i.barGap, s = i.topPadding, c = i.leftPadding, l = D().domain([0, m.length]).range(["#00B9FA", "#F95002"]).interpolate(Le);
2421
+ T(o, s, c, t, n, e, r.db.getExcludes(), r.db.getIncludes()), E(c, s, t, n), w(e, o, s, c, a, l, t, n), O(o, s, c, a, l), k(c, s, t, n);
2422
+ }
2423
+ s(C, "makeGantt");
2424
+ function w(e, n, a, o, s, c, u) {
2425
+ e.sort((e, t) => e.vert === t.vert ? 0 : e.vert ? 1 : -1);
2426
+ let d = [...new Set(e.map((e) => e.order))].map((t) => e.find((e) => e.order === t));
2427
+ _.append("g").selectAll("rect").data(d).enter().append("rect").attr("x", 0).attr("y", function(e, t) {
2428
+ return t = e.order, t * n + a - 2;
2429
+ }).attr("width", function() {
2430
+ return u - i.rightPadding / 2;
2431
+ }).attr("height", n).attr("class", function(e) {
2432
+ for (let [t, n] of m.entries()) if (e.type === n) return "section section" + t % i.numberSectionStyles;
2433
+ return "section section0";
2434
+ }).enter();
2435
+ let f = _.append("g").selectAll("rect").data(e).enter(), h = r.db.getLinks();
2436
+ if (f.append("rect").attr("id", function(e) {
2437
+ return e.id;
2438
+ }).attr("rx", 3).attr("ry", 3).attr("x", function(e) {
2439
+ return e.milestone ? x(e.startTime) + o + .5 * (x(e.endTime) - x(e.startTime)) - .5 * s : x(e.startTime) + o;
2440
+ }).attr("y", function(e, t) {
2441
+ return t = e.order, e.vert ? i.gridLineStartPadding : t * n + a;
2442
+ }).attr("width", function(e) {
2443
+ return e.milestone ? s : e.vert ? .08 * s : x(e.renderEndTime || e.endTime) - x(e.startTime);
2444
+ }).attr("height", function(e) {
2445
+ return e.vert ? p.length * (i.barHeight + i.barGap) + i.barHeight * 2 : s;
2446
+ }).attr("transform-origin", function(e, t) {
2447
+ return t = e.order, (x(e.startTime) + o + .5 * (x(e.endTime) - x(e.startTime))).toString() + "px " + (t * n + a + .5 * s).toString() + "px";
2448
+ }).attr("class", function(e) {
2449
+ let t = "";
2450
+ e.classes.length > 0 && (t = e.classes.join(" "));
2451
+ let n = 0;
2452
+ for (let [t, r] of m.entries()) e.type === r && (n = t % i.numberSectionStyles);
2453
+ let r = "";
2454
+ return e.active ? e.crit ? r += " activeCrit" : r = " active" : e.done ? r = e.crit ? " doneCrit" : " done" : e.crit && (r += " crit"), r.length === 0 && (r = " task"), e.milestone && (r = " milestone " + r), e.vert && (r = " vert " + r), r += n, r += " " + t, "task" + r;
2455
+ }), f.append("text").attr("id", function(e) {
2456
+ return e.id + "-text";
2457
+ }).text(function(e) {
2458
+ return e.task;
2459
+ }).attr("font-size", i.fontSize).attr("x", function(e) {
2460
+ let t = x(e.startTime), n = x(e.renderEndTime || e.endTime);
2461
+ if (e.milestone && (t += .5 * (x(e.endTime) - x(e.startTime)) - .5 * s, n = t + s), e.vert) return x(e.startTime) + o;
2462
+ let r = this.getBBox().width;
2463
+ return r > n - t ? n + r + 1.5 * i.leftPadding > u ? t + o - 5 : n + o + 5 : (n - t) / 2 + t + o;
2464
+ }).attr("y", function(e, t) {
2465
+ return e.vert ? i.gridLineStartPadding + p.length * (i.barHeight + i.barGap) + 60 : (t = e.order, t * n + i.barHeight / 2 + (i.fontSize / 2 - 2) + a);
2466
+ }).attr("text-height", s).attr("class", function(e) {
2467
+ let t = x(e.startTime), n = x(e.endTime);
2468
+ e.milestone && (n = t + s);
2469
+ let r = this.getBBox().width, a = "";
2470
+ e.classes.length > 0 && (a = e.classes.join(" "));
2471
+ let o = 0;
2472
+ for (let [t, n] of m.entries()) e.type === n && (o = t % i.numberSectionStyles);
2473
+ let c = "";
2474
+ return e.active && (c = e.crit ? "activeCritText" + o : "activeText" + o), e.done ? c = e.crit ? c + " doneCritText" + o : c + " doneText" + o : e.crit && (c = c + " critText" + o), e.milestone && (c += " milestoneText"), e.vert && (c += " vertText"), r > n - t ? n + r + 1.5 * i.leftPadding > u ? a + " taskTextOutsideLeft taskTextOutside" + o + " " + c : a + " taskTextOutsideRight taskTextOutside" + o + " " + c + " width-" + r : a + " taskText taskText" + o + " " + c + " width-" + r;
2475
+ }), v().securityLevel === "sandbox") {
2476
+ let e;
2477
+ e = l("#i" + t);
2478
+ let n = e.nodes()[0].contentDocument;
2479
+ f.filter(function(e) {
2480
+ return h.has(e.id);
2481
+ }).each(function(e) {
2482
+ var t = n.querySelector("#" + e.id), r = n.querySelector("#" + e.id + "-text");
2483
+ let i = t.parentNode;
2484
+ var a = n.createElement("a");
2485
+ a.setAttribute("xlink:href", h.get(e.id)), a.setAttribute("target", "_top"), i.appendChild(a), a.appendChild(t), a.appendChild(r);
2486
+ });
2487
+ }
2488
+ }
2489
+ s(w, "drawRects");
2490
+ function T(e, t, n, a, s, c, l, u) {
2491
+ if (l.length === 0 && u.length === 0) return;
2492
+ let d, f;
2493
+ for (let { startTime: e, endTime: t } of c) (d === void 0 || e < d) && (d = e), (f === void 0 || t > f) && (f = t);
2494
+ if (!d || !f) return;
2495
+ if ((0, Y.default)(f).diff((0, Y.default)(d), "year") > 5) {
2496
+ o.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");
2497
+ return;
2498
+ }
2499
+ let p = r.db.getDateFormat(), m = [], h = null, g = (0, Y.default)(d);
2500
+ for (; g.valueOf() <= f;) r.db.isInvalidDate(g, p, l, u) ? h ? h.end = g : h = {
2501
+ start: g,
2502
+ end: g
2503
+ } : h &&= (m.push(h), null), g = g.add(1, "d");
2504
+ _.append("g").selectAll("rect").data(m).enter().append("rect").attr("id", (e) => "exclude-" + e.start.format("YYYY-MM-DD")).attr("x", (e) => x(e.start.startOf("day")) + n).attr("y", i.gridLineStartPadding).attr("width", (e) => x(e.end.endOf("day")) - x(e.start.startOf("day"))).attr("height", s - t - i.gridLineStartPadding).attr("transform-origin", function(t, r) {
2505
+ return (x(t.start) + n + .5 * (x(t.end) - x(t.start))).toString() + "px " + (r * e + .5 * s).toString() + "px";
2506
+ }).attr("class", "exclude-range");
2507
+ }
2508
+ s(T, "drawExcludeDays");
2509
+ function E(e, t, n, a) {
2510
+ let o = r.db.getDateFormat(), s = r.db.getAxisFormat(), c;
2511
+ c = s || (o === "D" ? "%d" : i.axisFormat ?? "%Y-%m-%d");
2512
+ let l = ge(x).tickSize(-a + t + i.gridLineStartPadding).tickFormat(Fn(c)), u = /^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(r.db.getTickInterval() || i.tickInterval);
2513
+ if (u !== null) {
2514
+ let e = u[1], t = u[2], n = r.db.getWeekday() || i.weekday;
2515
+ switch (t) {
2516
+ case "millisecond":
2517
+ l.ticks(N.every(e));
2518
+ break;
2519
+ case "second":
2520
+ l.ticks(R.every(e));
2521
+ break;
2522
+ case "minute":
2523
+ l.ticks(We.every(e));
2524
+ break;
2525
+ case "hour":
2526
+ l.ticks(Ke.every(e));
2527
+ break;
2528
+ case "day":
2529
+ l.ticks(z.every(e));
2530
+ break;
2531
+ case "week":
2532
+ l.ticks(li[n].every(e));
2533
+ break;
2534
+ case "month":
2535
+ l.ticks(ct.every(e));
2536
+ break;
2537
+ }
2538
+ }
2539
+ if (_.append("g").attr("class", "grid").attr("transform", "translate(" + e + ", " + (a - 50) + ")").call(l).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em"), r.db.topAxisEnabled() || i.topAxis) {
2540
+ let n = he(x).tickSize(-a + t + i.gridLineStartPadding).tickFormat(Fn(c));
2541
+ if (u !== null) {
2542
+ let e = u[1], t = u[2], a = r.db.getWeekday() || i.weekday;
2543
+ switch (t) {
2544
+ case "millisecond":
2545
+ n.ticks(N.every(e));
2546
+ break;
2547
+ case "second":
2548
+ n.ticks(R.every(e));
2549
+ break;
2550
+ case "minute":
2551
+ n.ticks(We.every(e));
2552
+ break;
2553
+ case "hour":
2554
+ n.ticks(Ke.every(e));
2555
+ break;
2556
+ case "day":
2557
+ n.ticks(z.every(e));
2558
+ break;
2559
+ case "week":
2560
+ n.ticks(li[a].every(e));
2561
+ break;
2562
+ case "month":
2563
+ n.ticks(ct.every(e));
2564
+ break;
2565
+ }
2566
+ }
2567
+ _.append("g").attr("class", "grid").attr("transform", "translate(" + e + ", " + t + ")").call(n).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10);
2568
+ }
2569
+ }
2570
+ s(E, "makeGrid");
2571
+ function O(e, t) {
2572
+ let n = 0, r = Object.keys(h).map((e) => [e, h[e]]);
2573
+ _.append("g").selectAll("text").data(r).enter().append(function(e) {
2574
+ let t = e[0].split(b.lineBreakRegex), n = -(t.length - 1) / 2, r = d.createElementNS("http://www.w3.org/2000/svg", "text");
2575
+ r.setAttribute("dy", n + "em");
2576
+ for (let [e, n] of t.entries()) {
2577
+ let t = d.createElementNS("http://www.w3.org/2000/svg", "tspan");
2578
+ t.setAttribute("alignment-baseline", "central"), t.setAttribute("x", "10"), e > 0 && t.setAttribute("dy", "1em"), t.textContent = n, r.appendChild(t);
2579
+ }
2580
+ return r;
2581
+ }).attr("x", 10).attr("y", function(i, a) {
2582
+ if (a > 0) for (let o = 0; o < a; o++) return n += r[a - 1][1], i[1] * e / 2 + n * e + t;
2583
+ else return i[1] * e / 2 + t;
2584
+ }).attr("font-size", i.sectionFontSize).attr("class", function(e) {
2585
+ for (let [t, n] of m.entries()) if (e[0] === n) return "sectionTitle sectionTitle" + t % i.numberSectionStyles;
2586
+ return "sectionTitle";
2587
+ });
2588
+ }
2589
+ s(O, "vertLabels");
2590
+ function k(e, t, n, a) {
2591
+ let o = r.db.getTodayMarker();
2592
+ if (o === "off") return;
2593
+ let s = _.append("g").attr("class", "today"), c = /* @__PURE__ */ new Date(), l = s.append("line");
2594
+ l.attr("x1", x(c) + e).attr("x2", x(c) + e).attr("y1", i.titleTopMargin).attr("y2", a - i.titleTopMargin).attr("class", "today"), o !== "" && l.attr("style", o.replace(/,/g, ";"));
2595
+ }
2596
+ s(k, "drawToday");
2597
+ function ee(e) {
2598
+ let t = {}, n = [];
2599
+ for (let r = 0, i = e.length; r < i; ++r) Object.prototype.hasOwnProperty.call(t, e[r]) || (t[e[r]] = !0, n.push(e[r]));
2600
+ return n;
2601
+ }
2602
+ s(ee, "checkUnique");
2603
+ }, "draw")
2604
+ },
2605
+ styles: /* @__PURE__ */ s((e) => `
2606
+ .mermaid-main-font {
2607
+ font-family: ${e.fontFamily};
2608
+ }
2609
+
2610
+ .exclude-range {
2611
+ fill: ${e.excludeBkgColor};
2612
+ }
2613
+
2614
+ .section {
2615
+ stroke: none;
2616
+ opacity: 0.2;
2617
+ }
2618
+
2619
+ .section0 {
2620
+ fill: ${e.sectionBkgColor};
2621
+ }
2622
+
2623
+ .section2 {
2624
+ fill: ${e.sectionBkgColor2};
2625
+ }
2626
+
2627
+ .section1,
2628
+ .section3 {
2629
+ fill: ${e.altSectionBkgColor};
2630
+ opacity: 0.2;
2631
+ }
2632
+
2633
+ .sectionTitle0 {
2634
+ fill: ${e.titleColor};
2635
+ }
2636
+
2637
+ .sectionTitle1 {
2638
+ fill: ${e.titleColor};
2639
+ }
2640
+
2641
+ .sectionTitle2 {
2642
+ fill: ${e.titleColor};
2643
+ }
2644
+
2645
+ .sectionTitle3 {
2646
+ fill: ${e.titleColor};
2647
+ }
2648
+
2649
+ .sectionTitle {
2650
+ text-anchor: start;
2651
+ font-family: ${e.fontFamily};
2652
+ }
2653
+
2654
+
2655
+ /* Grid and axis */
2656
+
2657
+ .grid .tick {
2658
+ stroke: ${e.gridColor};
2659
+ opacity: 0.8;
2660
+ shape-rendering: crispEdges;
2661
+ }
2662
+
2663
+ .grid .tick text {
2664
+ font-family: ${e.fontFamily};
2665
+ fill: ${e.textColor};
2666
+ }
2667
+
2668
+ .grid path {
2669
+ stroke-width: 0;
2670
+ }
2671
+
2672
+
2673
+ /* Today line */
2674
+
2675
+ .today {
2676
+ fill: none;
2677
+ stroke: ${e.todayLineColor};
2678
+ stroke-width: 2px;
2679
+ }
2680
+
2681
+
2682
+ /* Task styling */
2683
+
2684
+ /* Default task */
2685
+
2686
+ .task {
2687
+ stroke-width: 2;
2688
+ }
2689
+
2690
+ .taskText {
2691
+ text-anchor: middle;
2692
+ font-family: ${e.fontFamily};
2693
+ }
2694
+
2695
+ .taskTextOutsideRight {
2696
+ fill: ${e.taskTextDarkColor};
2697
+ text-anchor: start;
2698
+ font-family: ${e.fontFamily};
2699
+ }
2700
+
2701
+ .taskTextOutsideLeft {
2702
+ fill: ${e.taskTextDarkColor};
2703
+ text-anchor: end;
2704
+ }
2705
+
2706
+
2707
+ /* Special case clickable */
2708
+
2709
+ .task.clickable {
2710
+ cursor: pointer;
2711
+ }
2712
+
2713
+ .taskText.clickable {
2714
+ cursor: pointer;
2715
+ fill: ${e.taskTextClickableColor} !important;
2716
+ font-weight: bold;
2717
+ }
2718
+
2719
+ .taskTextOutsideLeft.clickable {
2720
+ cursor: pointer;
2721
+ fill: ${e.taskTextClickableColor} !important;
2722
+ font-weight: bold;
2723
+ }
2724
+
2725
+ .taskTextOutsideRight.clickable {
2726
+ cursor: pointer;
2727
+ fill: ${e.taskTextClickableColor} !important;
2728
+ font-weight: bold;
2729
+ }
2730
+
2731
+
2732
+ /* Specific task settings for the sections*/
2733
+
2734
+ .taskText0,
2735
+ .taskText1,
2736
+ .taskText2,
2737
+ .taskText3 {
2738
+ fill: ${e.taskTextColor};
2739
+ }
2740
+
2741
+ .task0,
2742
+ .task1,
2743
+ .task2,
2744
+ .task3 {
2745
+ fill: ${e.taskBkgColor};
2746
+ stroke: ${e.taskBorderColor};
2747
+ }
2748
+
2749
+ .taskTextOutside0,
2750
+ .taskTextOutside2
2751
+ {
2752
+ fill: ${e.taskTextOutsideColor};
2753
+ }
2754
+
2755
+ .taskTextOutside1,
2756
+ .taskTextOutside3 {
2757
+ fill: ${e.taskTextOutsideColor};
2758
+ }
2759
+
2760
+
2761
+ /* Active task */
2762
+
2763
+ .active0,
2764
+ .active1,
2765
+ .active2,
2766
+ .active3 {
2767
+ fill: ${e.activeTaskBkgColor};
2768
+ stroke: ${e.activeTaskBorderColor};
2769
+ }
2770
+
2771
+ .activeText0,
2772
+ .activeText1,
2773
+ .activeText2,
2774
+ .activeText3 {
2775
+ fill: ${e.taskTextDarkColor} !important;
2776
+ }
2777
+
2778
+
2779
+ /* Completed task */
2780
+
2781
+ .done0,
2782
+ .done1,
2783
+ .done2,
2784
+ .done3 {
2785
+ stroke: ${e.doneTaskBorderColor};
2786
+ fill: ${e.doneTaskBkgColor};
2787
+ stroke-width: 2;
2788
+ }
2789
+
2790
+ .doneText0,
2791
+ .doneText1,
2792
+ .doneText2,
2793
+ .doneText3 {
2794
+ fill: ${e.taskTextDarkColor} !important;
2795
+ }
2796
+
2797
+
2798
+ /* Tasks on the critical line */
2799
+
2800
+ .crit0,
2801
+ .crit1,
2802
+ .crit2,
2803
+ .crit3 {
2804
+ stroke: ${e.critBorderColor};
2805
+ fill: ${e.critBkgColor};
2806
+ stroke-width: 2;
2807
+ }
2808
+
2809
+ .activeCrit0,
2810
+ .activeCrit1,
2811
+ .activeCrit2,
2812
+ .activeCrit3 {
2813
+ stroke: ${e.critBorderColor};
2814
+ fill: ${e.activeTaskBkgColor};
2815
+ stroke-width: 2;
2816
+ }
2817
+
2818
+ .doneCrit0,
2819
+ .doneCrit1,
2820
+ .doneCrit2,
2821
+ .doneCrit3 {
2822
+ stroke: ${e.critBorderColor};
2823
+ fill: ${e.doneTaskBkgColor};
2824
+ stroke-width: 2;
2825
+ cursor: pointer;
2826
+ shape-rendering: crispEdges;
2827
+ }
2828
+
2829
+ .milestone {
2830
+ transform: rotate(45deg) scale(0.8,0.8);
2831
+ }
2832
+
2833
+ .milestoneText {
2834
+ font-style: italic;
2835
+ }
2836
+ .doneCritText0,
2837
+ .doneCritText1,
2838
+ .doneCritText2,
2839
+ .doneCritText3 {
2840
+ fill: ${e.taskTextDarkColor} !important;
2841
+ }
2842
+
2843
+ .vert {
2844
+ stroke: ${e.vertLineColor};
2845
+ }
2846
+
2847
+ .vertText {
2848
+ font-size: 15px;
2849
+ text-anchor: middle;
2850
+ fill: ${e.vertLineColor} !important;
2851
+ }
2852
+
2853
+ .activeCritText0,
2854
+ .activeCritText1,
2855
+ .activeCritText2,
2856
+ .activeCritText3 {
2857
+ fill: ${e.taskTextDarkColor} !important;
2858
+ }
2859
+
2860
+ .titleText {
2861
+ text-anchor: middle;
2862
+ font-size: 18px;
2863
+ fill: ${e.titleColor || e.textColor};
2864
+ font-family: ${e.fontFamily};
2865
+ }
2866
+ `, "getStyles")
2867
+ };
2868
+ //#endregion
2869
+ export { di as diagram };