@sme.up/ketchup2 2.2.0 → 2.4.0

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 (394) hide show
  1. package/dist/{arc-Klgb378K.js → arc-D80gVCcI.js} +2 -2
  2. package/dist/{arc-CqG9Hxdf.cjs → arc-MUYNnJxV.cjs} +1 -1
  3. package/dist/architecture-7EHR7CIX-Bnyu5zgG.js +3 -0
  4. package/dist/architecture-7EHR7CIX-CKF7-4kH.cjs +1 -0
  5. package/dist/architectureDiagram-3BPJPVTR-BrmPrClJ.cjs +36 -0
  6. package/dist/{architectureDiagram-Q4EWVU46-CnzjcVBn.js → architectureDiagram-3BPJPVTR-EFK4DMha.js} +167 -166
  7. package/dist/assets/svg/barcode.svg +1 -0
  8. package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
  9. package/dist/basic-components/barcode/barcode-types.d.ts +16 -0
  10. package/dist/basic-components/barcode/barcode-types.d.ts.map +1 -0
  11. package/dist/basic-components/barcode/barcode.d.ts +3 -0
  12. package/dist/basic-components/barcode/barcode.d.ts.map +1 -0
  13. package/dist/basic-components/cell/cell-types.d.ts +7 -0
  14. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  15. package/dist/basic-components/cell/cell-utils.d.ts +3 -2
  16. package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
  17. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  18. package/dist/basic-components/cell/tests/utils.d.ts.map +1 -1
  19. package/dist/basic-components/icon/icon.d.ts.map +1 -1
  20. package/dist/basic-components/input-number/input-number.d.ts.map +1 -1
  21. package/dist/basic-components/qr-code/corners/qr-code-corner-utils.d.ts +4 -0
  22. package/dist/basic-components/qr-code/corners/qr-code-corner-utils.d.ts.map +1 -0
  23. package/dist/basic-components/qr-code/corners/qr-code-corner.d.ts +13 -0
  24. package/dist/basic-components/qr-code/corners/qr-code-corner.d.ts.map +1 -0
  25. package/dist/basic-components/qr-code/qr-code-encoding.d.ts +9 -0
  26. package/dist/basic-components/qr-code/qr-code-encoding.d.ts.map +1 -0
  27. package/dist/basic-components/qr-code/qr-code-error-correction.d.ts +10 -0
  28. package/dist/basic-components/qr-code/qr-code-error-correction.d.ts.map +1 -0
  29. package/dist/basic-components/qr-code/qr-code-helpers.d.ts +15 -0
  30. package/dist/basic-components/qr-code/qr-code-helpers.d.ts.map +1 -0
  31. package/dist/basic-components/qr-code/qr-code-mask.d.ts +9 -0
  32. package/dist/basic-components/qr-code/qr-code-mask.d.ts.map +1 -0
  33. package/dist/basic-components/qr-code/qr-code-matrix.d.ts +3 -0
  34. package/dist/basic-components/qr-code/qr-code-matrix.d.ts.map +1 -0
  35. package/dist/basic-components/qr-code/qr-code-renderer.d.ts +8 -0
  36. package/dist/basic-components/qr-code/qr-code-renderer.d.ts.map +1 -0
  37. package/dist/basic-components/qr-code/qr-code-types.d.ts +122 -0
  38. package/dist/basic-components/qr-code/qr-code-types.d.ts.map +1 -0
  39. package/dist/basic-components/qr-code/qr-code.d.ts +8 -0
  40. package/dist/basic-components/qr-code/qr-code.d.ts.map +1 -0
  41. package/dist/basic-components/text-editor/text-editor-utils.d.ts +11 -0
  42. package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
  43. package/dist/basic-components/text-editor/text-editor.d.ts.map +1 -1
  44. package/dist/basic-components/textarea/textarea-types.d.ts +2 -2
  45. package/dist/basic-components/textarea/textarea-types.d.ts.map +1 -1
  46. package/dist/basic-components/textarea/textarea.d.ts.map +1 -1
  47. package/dist/basic-components/textfield/textfield-types.d.ts +5 -0
  48. package/dist/basic-components/textfield/textfield-types.d.ts.map +1 -1
  49. package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
  50. package/dist/basic-components/tree/tree.d.ts.map +1 -1
  51. package/dist/basic-components/tree/tree.types.d.ts +6 -0
  52. package/dist/basic-components/tree/tree.types.d.ts.map +1 -1
  53. package/dist/basic-components/typography/typography-types.d.ts +1 -1
  54. package/dist/basic-components/typography/typography-types.d.ts.map +1 -1
  55. package/dist/{blockDiagram-DXYQGD6D-B0NvV2Ph.js → blockDiagram-GPEHLZMM-C3UgY0Z5.js} +999 -877
  56. package/dist/blockDiagram-GPEHLZMM-CuzoKhJT.cjs +132 -0
  57. package/dist/{c4Diagram-AHTNJAMY-Dgwv-e5O.cjs → c4Diagram-AAUBKEIU-DU8uXbgK.cjs} +6 -6
  58. package/dist/{c4Diagram-AHTNJAMY-DPijI3_r.js → c4Diagram-AAUBKEIU-klnmEOUo.js} +279 -279
  59. package/dist/channel-BbRDdbmM.js +5 -0
  60. package/dist/channel-intTktDQ.cjs +1 -0
  61. package/dist/chunk-2J33WTMH-EmvF7iYC.js +25 -0
  62. package/dist/chunk-2J33WTMH-PlcpVW8G.cjs +1 -0
  63. package/dist/{chunk-5FUZZQ4R-D3C0F0Tr.js → chunk-3OPIFGDE-C7wE5oN7.js} +957 -929
  64. package/dist/chunk-3OPIFGDE-CT5oNC5X.cjs +62 -0
  65. package/dist/{chunk-4BX2VUAB-BW54-JWg.js → chunk-4BX2VUAB-BO1KRGb1.js} +1 -1
  66. package/dist/{chunk-4BX2VUAB-Qba52sxc.cjs → chunk-4BX2VUAB-CtDGlaPx.cjs} +1 -1
  67. package/dist/{chunk-7N4EOEYR-C-GuhRgW.js → chunk-4EGX6M5U-BMVrizoY.js} +12 -12
  68. package/dist/{chunk-7N4EOEYR-jNBQwvHx.cjs → chunk-4EGX6M5U-VENLmgBt.cjs} +1 -1
  69. package/dist/{chunk-55IACEB6-DPatBzu7.cjs → chunk-55IACEB6-VJP3Osm7.cjs} +1 -1
  70. package/dist/{chunk-55IACEB6-Bu3k0Yz5.js → chunk-55IACEB6-b_Ivgrk-.js} +1 -1
  71. package/dist/chunk-5DO6E6H7-Cx6Mfbjl.cjs +1 -0
  72. package/dist/chunk-5DO6E6H7-QuTLwcim.js +23 -0
  73. package/dist/chunk-5ZQYHXKU-BMnKD7Zq.cjs +2 -0
  74. package/dist/{chunk-5PVQY5BW-Dn8n6moB.js → chunk-5ZQYHXKU-C4uam08j.js} +527 -461
  75. package/dist/chunk-727SXJPM-DTmqhRKX.cjs +206 -0
  76. package/dist/{chunk-4TB4RGXK-D2LRzcEP.js → chunk-727SXJPM-Dof0vDVV.js} +650 -554
  77. package/dist/{chunk-OYMX7WX6-CrK-lehh.cjs → chunk-AQP2D5EJ-DdWeFQ4O.cjs} +5 -5
  78. package/dist/{chunk-OYMX7WX6-DJkGVCqi.js → chunk-AQP2D5EJ-N9ii4fwJ.js} +349 -339
  79. package/dist/{chunk-LIHQZDEY-59I4-LWb.js → chunk-BR22UD5L-CS6hURQQ.js} +15 -15
  80. package/dist/{chunk-LIHQZDEY-CrogR3nT.cjs → chunk-BR22UD5L-wI1vkyAT.cjs} +1 -1
  81. package/dist/{chunk-BSJP7CBP-oNTXVRA7.js → chunk-BSJP7CBP-Bx5APwBA.js} +1 -1
  82. package/dist/{chunk-BSJP7CBP-CFzYPvgr.cjs → chunk-BSJP7CBP-CaeBFqNU.cjs} +1 -1
  83. package/dist/{chunk-ICPOFSXX-fQJ5ufMR.js → chunk-CSCIHK7Q-9WKhcDqw.js} +132 -38
  84. package/dist/chunk-CSCIHK7Q-BPMuICCz.cjs +123 -0
  85. package/dist/chunk-FHYWG6QK-CfRqYwCI.js +23 -0
  86. package/dist/chunk-FHYWG6QK-DxmnARsZ.cjs +1 -0
  87. package/dist/{chunk-FMBD7UC4-RRSc9jqt.js → chunk-FMBD7UC4-BbggSGOg.js} +1 -1
  88. package/dist/{chunk-FMBD7UC4-CS9_r76V.cjs → chunk-FMBD7UC4-CiO_59ls.cjs} +1 -1
  89. package/dist/{chunk-ENJZ2VHE-CZ7BvL2h.js → chunk-KSCS5N6A-BY1s4eGg.js} +205 -205
  90. package/dist/chunk-KSCS5N6A-DO8jEi0y.cjs +10 -0
  91. package/dist/{chunk-ZZ45TVLE-BfSqZnT4.cjs → chunk-L5ZTLDWV-BE9udiOh.cjs} +1 -1
  92. package/dist/{chunk-ZZ45TVLE-X2jolXSO.js → chunk-L5ZTLDWV-D3UwMopa.js} +8 -8
  93. package/dist/{chunk-336JU56O-DQhIGd25.cjs → chunk-LZXEDZCA-Dpz_wx3M.cjs} +1 -1
  94. package/dist/{chunk-336JU56O-DkZvWJVe.js → chunk-LZXEDZCA-KzBFuWPU.js} +18 -18
  95. package/dist/chunk-MPE355IW-4bpROspE.js +23 -0
  96. package/dist/chunk-MPE355IW-CxPw_dPP.cjs +1 -0
  97. package/dist/chunk-MZUSXYTE-DA5mUG5B.js +30 -0
  98. package/dist/chunk-MZUSXYTE-DIg1BPts.cjs +1 -0
  99. package/dist/chunk-N66VUXT2-DSbygtq1.cjs +1 -0
  100. package/dist/chunk-N66VUXT2-pDZ1b-B3.js +54 -0
  101. package/dist/{chunk-YZCP3GAM-D6P3SWmL.js → chunk-ND2GUHAM-CHTke4K8.js} +17 -17
  102. package/dist/{chunk-YZCP3GAM-qxaNo0r8.cjs → chunk-ND2GUHAM-DdBSZTft.cjs} +1 -1
  103. package/dist/chunk-NNHCCRGN-D_orSz6n.js +20630 -0
  104. package/dist/chunk-NNHCCRGN-aKMHXBzL.cjs +159 -0
  105. package/dist/{chunk-X2U36JSP-VxRY65ea.js → chunk-NZK2D7GU-BVOINLmx.js} +13 -13
  106. package/dist/{chunk-X2U36JSP-CtXjVqek.cjs → chunk-NZK2D7GU-_twqedIe.cjs} +1 -1
  107. package/dist/{chunk-U2HBQHQK-CJ77uizk.cjs → chunk-O5CBEL6O-CDvi2oZo.cjs} +6 -6
  108. package/dist/{chunk-U2HBQHQK-Ceyeq0IV.js → chunk-O5CBEL6O-VsMF4aZB.js} +108 -108
  109. package/dist/chunk-PUPMXCY4-CKjhJQnN.js +23 -0
  110. package/dist/chunk-PUPMXCY4-DsS_t57r.cjs +1 -0
  111. package/dist/{chunk-QZHKN3VN-CSMKL2rB.cjs → chunk-QZHKN3VN-CHjRGMI2.cjs} +1 -1
  112. package/dist/{chunk-QZHKN3VN-Bx8I6l3c.js → chunk-QZHKN3VN-DCddt14Q.js} +1 -1
  113. package/dist/chunk-UIBZB4QT-BZf7vqd9.cjs +1 -0
  114. package/dist/chunk-UIBZB4QT-BvFllM0Q.js +23 -0
  115. package/dist/chunk-WCWK7LTN-D_C1as0Y.js +31 -0
  116. package/dist/chunk-WCWK7LTN-Dl2uC9ZD.cjs +1 -0
  117. package/dist/chunk-WU5MYG2G-DgyP9QDj.cjs +1 -0
  118. package/dist/chunk-WU5MYG2G-mQn7Wt-i.js +9 -0
  119. package/dist/{chunk-XPW4576I-BcWkx-AL.js → chunk-XPW4576I-BCowsgDU.js} +1 -1
  120. package/dist/{chunk-XPW4576I-D8Pp6a3j.cjs → chunk-XPW4576I-D_mwgMVU.cjs} +1 -1
  121. package/dist/classDiagram-4FO5ZUOK-5DyhpZRK.cjs +1 -0
  122. package/dist/classDiagram-4FO5ZUOK-BHGLQIkz.js +29 -0
  123. package/dist/classDiagram-v2-Q7XG4LA2-CCAbBo05.js +29 -0
  124. package/dist/classDiagram-v2-Q7XG4LA2-D4TX4CLT.cjs +1 -0
  125. package/dist/components/dash-list/assets/dash-list.data.d.ts +1 -0
  126. package/dist/components/dash-list/assets/dash-list.data.d.ts.map +1 -1
  127. package/dist/components/dash-list/dash-list-types.d.ts +1 -0
  128. package/dist/components/dash-list/dash-list-types.d.ts.map +1 -1
  129. package/dist/components/dash-list/dash-list.d.ts.map +1 -1
  130. package/dist/components/dash-list/dash-list.utils.d.ts +1 -3
  131. package/dist/components/dash-list/dash-list.utils.d.ts.map +1 -1
  132. package/dist/components/field/field-types.d.ts +6 -0
  133. package/dist/components/field/field-types.d.ts.map +1 -1
  134. package/dist/components/field/field.d.ts.map +1 -1
  135. package/dist/components/htm/htm-types.d.ts +4 -0
  136. package/dist/components/htm/htm-types.d.ts.map +1 -1
  137. package/dist/components/htm/htm.d.ts.map +1 -1
  138. package/dist/components/image-list/components/items/image-list-item.d.ts.map +1 -1
  139. package/dist/components/input-panel/input-panel-types.d.ts +6 -0
  140. package/dist/components/input-panel/input-panel-types.d.ts.map +1 -1
  141. package/dist/components/input-panel/input-panel-utils.d.ts.map +1 -1
  142. package/dist/components/input-panel/input-panel.d.ts.map +1 -1
  143. package/dist/components/pdf/pdf-types.d.ts +8 -0
  144. package/dist/components/pdf/pdf-types.d.ts.map +1 -1
  145. package/dist/components/pdf/pdf-utils.d.ts +1 -1
  146. package/dist/components/pdf/pdf-utils.d.ts.map +1 -1
  147. package/dist/components/pdf/pdf.d.ts.map +1 -1
  148. package/dist/components/planner/planner-assets.d.ts +2 -2
  149. package/dist/components/planner/planner-assets.d.ts.map +1 -1
  150. package/dist/components/planner/planner-utils.d.ts +1 -0
  151. package/dist/components/planner/planner-utils.d.ts.map +1 -1
  152. package/dist/components/planner/planner.d.ts.map +1 -1
  153. package/dist/components/tab-bar/tab-bar-types.d.ts +1 -1
  154. package/dist/components/tab-bar/tab-bar-types.d.ts.map +1 -1
  155. package/dist/components/timeline/timeline.d.ts.map +1 -1
  156. package/dist/components/tooltip/tooltip-assets.d.ts +1 -0
  157. package/dist/components/tooltip/tooltip-assets.d.ts.map +1 -1
  158. package/dist/components/tooltip/tooltip-types.d.ts +4 -16
  159. package/dist/components/tooltip/tooltip-types.d.ts.map +1 -1
  160. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  161. package/dist/context/obj-metadata-context.d.ts +8 -0
  162. package/dist/context/obj-metadata-context.d.ts.map +1 -0
  163. package/dist/{cose-bilkent-S5V4N54A-B30Rh9DR.js → cose-bilkent-S5V4N54A-Bfb7U01p.js} +26 -27
  164. package/dist/cose-bilkent-S5V4N54A-CE-7Sw0Y.cjs +1 -0
  165. package/dist/dagre-BM42HDAG-BhbA1R8l.cjs +4 -0
  166. package/dist/dagre-BM42HDAG-D87Rv2R4.js +297 -0
  167. package/dist/dagre-CC68z3y6.cjs +1 -0
  168. package/dist/dagre-Cg4CV48I.js +1936 -0
  169. package/dist/diagram-2AECGRRQ-C6vI3yau.cjs +43 -0
  170. package/dist/{diagram-MMDJMWI5-DUpEI5ug.js → diagram-2AECGRRQ-OSYCK0tv.js} +36 -36
  171. package/dist/diagram-5GNKFQAL-BS9rRMAe.cjs +10 -0
  172. package/dist/diagram-5GNKFQAL-DnquluB9.js +101 -0
  173. package/dist/diagram-KO2AKTUF-CFi6eQYd.js +431 -0
  174. package/dist/diagram-KO2AKTUF-CjA_KTJj.cjs +3 -0
  175. package/dist/{diagram-TYMM5635-DHHPZ5ZJ.js → diagram-LMA3HP47-Cwm5bzeM.js} +38 -38
  176. package/dist/diagram-LMA3HP47-DBwSTp2j.cjs +24 -0
  177. package/dist/diagram-OG6HWLK6-BdLnbUYy.cjs +24 -0
  178. package/dist/{diagram-G4DWMVQ6-iYV58Drq.js → diagram-OG6HWLK6-DvGk1j55.js} +93 -93
  179. package/dist/{dist-DL30VIBI.js → dist-9MKIBfY4.js} +1 -1
  180. package/dist/dist-DC1YYeHc.cjs +1 -0
  181. package/dist/{erDiagram-SMLLAGMA-C8FM7wbJ.js → erDiagram-TEJ5UH35-B17mqgD_.js} +164 -164
  182. package/dist/erDiagram-TEJ5UH35-NlRiP_bX.cjs +85 -0
  183. package/dist/eventmodeling-FCH6USID-BVaFiLQO.js +3 -0
  184. package/dist/eventmodeling-FCH6USID-leiC8dtX.cjs +1 -0
  185. package/dist/{flowDiagram-DWJPFMVM-BGtX2gw0.js → flowDiagram-I6XJVG4X-C2G6Tgw_.js} +444 -444
  186. package/dist/{flowDiagram-DWJPFMVM-DWuKiJeo.cjs → flowDiagram-I6XJVG4X-ChI_6giU.cjs} +9 -9
  187. package/dist/functional-components/row/row-types.d.ts +6 -0
  188. package/dist/functional-components/row/row-types.d.ts.map +1 -1
  189. package/dist/functional-components/row/row.d.ts.map +1 -1
  190. package/dist/functional-components/timeline-engine/components/gantt/bar/gantt-bar.d.ts.map +1 -1
  191. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts +106 -0
  192. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts.map +1 -0
  193. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts +2 -0
  194. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts.map +1 -0
  195. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts +38 -0
  196. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts.map +1 -0
  197. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +23 -20
  198. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
  199. package/dist/functional-components/timeline-engine/components/gantt/gantt.d.ts.map +1 -1
  200. package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts +13 -2
  201. package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts.map +1 -1
  202. package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts +4 -0
  203. package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts.map +1 -1
  204. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts +24 -0
  205. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
  206. package/dist/functional-components/timeline-engine/timeline-engine.d.ts.map +1 -1
  207. package/dist/ganttDiagram-6RSMTGT7-B0DHqd7u.cjs +292 -0
  208. package/dist/{ganttDiagram-T4ZO3ILL-PY1BUp5b.js → ganttDiagram-6RSMTGT7-Bb6bqcaS.js} +278 -276
  209. package/dist/gitGraph-WXDBUCRP-BFFuTWG4.cjs +1 -0
  210. package/dist/gitGraph-WXDBUCRP-Fz2kRwJ-.js +3 -0
  211. package/dist/gitGraphDiagram-PVQCEYII-BzbgPrwe.cjs +106 -0
  212. package/dist/{gitGraphDiagram-UUTBAWPF-CDIW9-sX.js → gitGraphDiagram-PVQCEYII-DiJUr7lO.js} +255 -255
  213. package/dist/graphlib-B1zohIOM.js +1266 -0
  214. package/dist/graphlib-B5AXIZA4.cjs +1 -0
  215. package/dist/hooks/useFloating.d.ts.map +1 -1
  216. package/dist/index.d.ts +7 -1
  217. package/dist/index.d.ts.map +1 -1
  218. package/dist/info-J43DQDTF-CLRXRK49.js +3 -0
  219. package/dist/info-J43DQDTF-CmpcAuH-.cjs +1 -0
  220. package/dist/infoDiagram-5YYISTIA-C8P9DHlE.js +19 -0
  221. package/dist/infoDiagram-5YYISTIA-fhwEAAjF.cjs +2 -0
  222. package/dist/{ishikawaDiagram-UXIWVN3A-BfkF39Xv.cjs → ishikawaDiagram-YF4QCWOH-j6IZz59g.cjs} +6 -6
  223. package/dist/{ishikawaDiagram-UXIWVN3A-BblrAmns.js → ishikawaDiagram-YF4QCWOH-rqNbTKZp.js} +134 -134
  224. package/dist/{journeyDiagram-VCZTEJTY-UwcVOFtb.cjs → journeyDiagram-JHISSGLW-BhHdd4y3.cjs} +6 -6
  225. package/dist/{journeyDiagram-VCZTEJTY-CCOZ1XFK.js → journeyDiagram-JHISSGLW-peUJlm3L.js} +180 -180
  226. package/dist/{kanban-definition-6JOO6SKY-BWwfbdd6.js → kanban-definition-UN3LZRKU-DLxDqiQn.js} +151 -151
  227. package/dist/{kanban-definition-6JOO6SKY-Coxpi43B.cjs → kanban-definition-UN3LZRKU-TUg1x5yJ.cjs} +8 -8
  228. package/dist/{katex-SAH56fvc.cjs → katex-HkVgAsLB.cjs} +1 -1
  229. package/dist/ketchup2.cjs.js +107 -110
  230. package/dist/ketchup2.css +1 -1
  231. package/dist/ketchup2.es.js +90621 -90697
  232. package/dist/{line-CrxZdHmO.js → line-BhAnxCE8.js} +3 -3
  233. package/dist/line-CpcTW4h-.cjs +1 -0
  234. package/dist/{linear-CxHa1DsM.cjs → linear-D0eFmsG1.cjs} +1 -1
  235. package/dist/{linear-BsPvNLJv.js → linear-lSeWuvgy.js} +3 -3
  236. package/dist/locale/en/translation.json.d.ts +3 -0
  237. package/dist/locale/it/translation.json.d.ts +3 -0
  238. package/dist/{mermaid-parser.core-CERDf-UG.js → mermaid-parser.core-Dz33ts1l.js} +24 -19
  239. package/dist/mermaid-parser.core-HQxPJrkY.cjs +3 -0
  240. package/dist/{mindmap-definition-QFDTVHPH--xULjpFZ.cjs → mindmap-definition-RKZ34NQL-D9BOsg5W.cjs} +29 -29
  241. package/dist/{mindmap-definition-QFDTVHPH-dYQoMeA6.js → mindmap-definition-RKZ34NQL-DHkmUkxh.js} +148 -148
  242. package/dist/{ordinal-Civr0hZL.cjs → ordinal-BnUYNBtU.cjs} +1 -1
  243. package/dist/{ordinal-C-VoL0XF.js → ordinal-MD9_ORcM.js} +1 -1
  244. package/dist/packet-YPE3B663-BwjweAZY.cjs +1 -0
  245. package/dist/packet-YPE3B663-D1Hr9AQm.js +3 -0
  246. package/dist/pie-LRSECV5Y-CpDfN1P0.js +3 -0
  247. package/dist/pie-LRSECV5Y-I1-OkIXi.cjs +1 -0
  248. package/dist/{pieDiagram-DEJITSTG-Dj5pX4fC.js → pieDiagram-4H26LBE5-ByA7ytZx.js} +40 -40
  249. package/dist/pieDiagram-4H26LBE5-CrLJh4L9.cjs +30 -0
  250. package/dist/{quadrantDiagram-34T5L4WZ-BKNOJBiR.js → quadrantDiagram-W4KKPZXB-CHHpmu1l.js} +547 -520
  251. package/dist/quadrantDiagram-W4KKPZXB-CalC_db_.cjs +7 -0
  252. package/dist/radar-GUYGQ44K-BXt3oO8c.cjs +1 -0
  253. package/dist/radar-GUYGQ44K-ByzrmbOz.js +3 -0
  254. package/dist/{requirementDiagram-MS252O5E-r3eZu57d.js → requirementDiagram-4Y6WPE33-BVcDFSx8.js} +165 -165
  255. package/dist/requirementDiagram-4Y6WPE33-SsePLT8d.cjs +84 -0
  256. package/dist/sankeyDiagram-5OEKKPKP-BgvTZ7jd.cjs +40 -0
  257. package/dist/{sankeyDiagram-XADWPNL6-ErTVVewH.js → sankeyDiagram-5OEKKPKP-C-ODz9lV.js} +202 -153
  258. package/dist/{sequenceDiagram-FGHM5R23-BmqbzzHY.js → sequenceDiagram-3UESZ5HK-Cnc0aDO4.js} +786 -779
  259. package/dist/sequenceDiagram-3UESZ5HK-DEVLteqD.cjs +162 -0
  260. package/dist/src-BgvDIw01.cjs +1 -0
  261. package/dist/{src-BQiFKP24.js → src-v9RrE_4h.js} +578 -563
  262. package/dist/stateDiagram-AJRCARHV-CuHe6Iji.js +217 -0
  263. package/dist/stateDiagram-AJRCARHV-D_yPvIRw.cjs +1 -0
  264. package/dist/stateDiagram-v2-BHNVJYJU-CTnE6fOT.cjs +1 -0
  265. package/dist/stateDiagram-v2-BHNVJYJU-DqstYMSl.js +27 -0
  266. package/dist/{timeline-definition-GMOUNBTQ-DgcI7XnE.js → timeline-definition-PNZ67QCA-Bj1BItRB.js} +324 -324
  267. package/dist/{timeline-definition-GMOUNBTQ-BeTHmikc.cjs → timeline-definition-PNZ67QCA-Cynbc96w.cjs} +48 -48
  268. package/dist/treeView-BLDUP644-CxLhpd93.js +3 -0
  269. package/dist/treeView-BLDUP644-DMwVx0AR.cjs +1 -0
  270. package/dist/treemap-LRROVOQU-BqmiLdFI.js +3 -0
  271. package/dist/treemap-LRROVOQU-XhaFZdvI.cjs +1 -0
  272. package/dist/types/translation.d.ts +4 -1
  273. package/dist/types/translation.d.ts.map +1 -1
  274. package/dist/utils/translation.d.ts.map +1 -1
  275. package/dist/v4-BpDBEhLK.js +30 -0
  276. package/dist/v4-CA8ev9YY.cjs +1 -0
  277. package/dist/{vennDiagram-DHZGUBPP-7tx3VVDU.js → vennDiagram-CIIHVFJN-CdmcxixA.js} +192 -192
  278. package/dist/vennDiagram-CIIHVFJN-Dm4D6omA.cjs +34 -0
  279. package/dist/wardley-L42UT6IY-C7UjBmVh.js +3 -0
  280. package/dist/wardley-L42UT6IY-DFAYOpjD.cjs +1 -0
  281. package/dist/{wardleyDiagram-NUSXRM2D-DY51LHBa.cjs → wardleyDiagram-YWT4CUSO-C-DdutxP.cjs} +61 -3
  282. package/dist/{wardleyDiagram-NUSXRM2D-DGKU7A2U.js → wardleyDiagram-YWT4CUSO-D1o116Wi.js} +272 -206
  283. package/dist/{xychartDiagram-5P7HB3ND--7RYyckP.js → xychartDiagram-2RQKCTM6-Byw7djcg.js} +213 -213
  284. package/dist/{xychartDiagram-5P7HB3ND-Cj0HUNew.cjs → xychartDiagram-2RQKCTM6-D0D4PIQS.cjs} +6 -6
  285. package/package.json +6 -6
  286. package/dist/architecture-YZFGNWBL-BRqToLcm.js +0 -3
  287. package/dist/architecture-YZFGNWBL-BTOWQWD9.cjs +0 -1
  288. package/dist/architectureDiagram-Q4EWVU46-CX_6DnSJ.cjs +0 -36
  289. package/dist/blockDiagram-DXYQGD6D-D6DypQdM.cjs +0 -132
  290. package/dist/channel-CRWct3-i.js +0 -5
  291. package/dist/channel-DkTvdPpU.cjs +0 -1
  292. package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +0 -23
  293. package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +0 -1
  294. package/dist/chunk-426QAEUC-CDXJVpQr.js +0 -9
  295. package/dist/chunk-426QAEUC-CqN26l3E.cjs +0 -1
  296. package/dist/chunk-4TB4RGXK-B0SIkKDf.cjs +0 -206
  297. package/dist/chunk-5FUZZQ4R-Cj5KbGC7.cjs +0 -62
  298. package/dist/chunk-5PVQY5BW-DEPZKGvb.cjs +0 -2
  299. package/dist/chunk-67CJDMHE-2Qg7i1xJ.cjs +0 -1
  300. package/dist/chunk-67CJDMHE-YMBkJcAO.js +0 -23
  301. package/dist/chunk-AA7GKIK3-B_ZB6dou.js +0 -30
  302. package/dist/chunk-AA7GKIK3-dqnTmnvO.cjs +0 -1
  303. package/dist/chunk-CIAEETIT-ClHUj0Su.cjs +0 -1
  304. package/dist/chunk-CIAEETIT-XlxsAz-4.js +0 -23
  305. package/dist/chunk-D-IZpNpi.cjs +0 -1
  306. package/dist/chunk-EDXVE4YY-1dwNWzc7.cjs +0 -1
  307. package/dist/chunk-EDXVE4YY-CGNVB686.js +0 -25
  308. package/dist/chunk-ENJZ2VHE-BAWfx0nA.cjs +0 -10
  309. package/dist/chunk-FOC6F5B3-DcZs851j.cjs +0 -1
  310. package/dist/chunk-FOC6F5B3-E9n6-juB.js +0 -23
  311. package/dist/chunk-ICPOFSXX-hY6BIZ4Y.cjs +0 -122
  312. package/dist/chunk-K5T4RW27-BzDQkjC7.cjs +0 -94
  313. package/dist/chunk-K5T4RW27-DY7TOEqa.js +0 -16070
  314. package/dist/chunk-KGLVRYIC-5OJpfQCj.js +0 -23
  315. package/dist/chunk-KGLVRYIC-DnbIkai8.cjs +0 -1
  316. package/dist/chunk-ORNJ4GCN-CcrEtiCn.cjs +0 -1
  317. package/dist/chunk-ORNJ4GCN-CwkOSFbS.js +0 -31
  318. package/dist/chunk-WQLz0Won.js +0 -20
  319. package/dist/classDiagram-6PBFFD2Q-BT4_JTnP.cjs +0 -1
  320. package/dist/classDiagram-6PBFFD2Q-Dgaxt4wI.js +0 -29
  321. package/dist/classDiagram-v2-HSJHXN6E-CWhiK6nm.js +0 -29
  322. package/dist/classDiagram-v2-HSJHXN6E-DkBLzgTv.cjs +0 -1
  323. package/dist/clone-CQQwPjME.cjs +0 -1
  324. package/dist/clone-Dwbh_blD.js +0 -8
  325. package/dist/cose-bilkent-S5V4N54A-Bhdp-wcb.cjs +0 -1
  326. package/dist/dagre-BcwvU6ZF.cjs +0 -1
  327. package/dist/dagre-D17h-Z-U.js +0 -1606
  328. package/dist/dagre-KV5264BT-BnEKAAAn.js +0 -293
  329. package/dist/dagre-KV5264BT-DRbiLA37.cjs +0 -4
  330. package/dist/diagram-5BDNPKRD-B_Fa4dpl.js +0 -101
  331. package/dist/diagram-5BDNPKRD-CPN8m2Hl.cjs +0 -10
  332. package/dist/diagram-G4DWMVQ6-VpXkNb67.cjs +0 -24
  333. package/dist/diagram-MMDJMWI5-DGk_PUo9.cjs +0 -43
  334. package/dist/diagram-TYMM5635-BH_-vSv9.cjs +0 -24
  335. package/dist/dist-BgvMZbfo.cjs +0 -1
  336. package/dist/erDiagram-SMLLAGMA-vuYEmfFA.cjs +0 -85
  337. package/dist/flatten-BE1bWL-7.js +0 -40
  338. package/dist/flatten-DxvYSoR8.cjs +0 -1
  339. package/dist/ganttDiagram-T4ZO3ILL-C25CnBTv.cjs +0 -292
  340. package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +0 -1
  341. package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +0 -3
  342. package/dist/gitGraphDiagram-UUTBAWPF-0lCBo9nK.cjs +0 -106
  343. package/dist/graphlib-CdgJ32J_.cjs +0 -1
  344. package/dist/graphlib-DbQkSsC8.js +0 -373
  345. package/dist/identity-KQSjemTb.cjs +0 -1
  346. package/dist/identity-g0dsMjx7.js +0 -393
  347. package/dist/info-OMHHGYJF-Bk0VWVNW.js +0 -3
  348. package/dist/info-OMHHGYJF-C8QtwF0k.cjs +0 -1
  349. package/dist/infoDiagram-42DDH7IO-CQLxpytS.js +0 -19
  350. package/dist/infoDiagram-42DDH7IO-Da__a_a_.cjs +0 -2
  351. package/dist/isEmpty-CA3kJuev.cjs +0 -1
  352. package/dist/isEmpty-RwX-oIQS.js +0 -35
  353. package/dist/line-C7oijaT4.cjs +0 -1
  354. package/dist/mermaid-parser.core-DHpvGOZR.cjs +0 -3
  355. package/dist/packet-4T2RLAQJ-X0BMsNFj.js +0 -3
  356. package/dist/packet-4T2RLAQJ-lvmQnXPI.cjs +0 -1
  357. package/dist/pie-ZZUOXDRM-CJ_fU5k1.js +0 -3
  358. package/dist/pie-ZZUOXDRM-Dp4APKqR.cjs +0 -1
  359. package/dist/pieDiagram-DEJITSTG-7we8s9eC.cjs +0 -30
  360. package/dist/quadrantDiagram-34T5L4WZ-B3BFuPYQ.cjs +0 -7
  361. package/dist/radar-PYXPWWZC-BHWJy_E1.cjs +0 -1
  362. package/dist/radar-PYXPWWZC-DgZIW9Ah.js +0 -3
  363. package/dist/reduce-B7WW9rkU.cjs +0 -1
  364. package/dist/reduce-DNnkcf3M.js +0 -532
  365. package/dist/requirementDiagram-MS252O5E-BemsEy3Y.cjs +0 -84
  366. package/dist/sankeyDiagram-XADWPNL6-B9YCkPHh.cjs +0 -10
  367. package/dist/sequenceDiagram-FGHM5R23-CBpQL6X2.cjs +0 -157
  368. package/dist/src-DFxq-N5I.cjs +0 -1
  369. package/dist/stateDiagram-FHFEXIEX-CL9LE-W1.js +0 -217
  370. package/dist/stateDiagram-FHFEXIEX-Cju5Z2VS.cjs +0 -1
  371. package/dist/stateDiagram-v2-QKLJ7IA2-BHoytfGp.js +0 -27
  372. package/dist/stateDiagram-v2-QKLJ7IA2-DO1H6Vqa.cjs +0 -1
  373. package/dist/treeView-SZITEDCU-CT5vX0q9.cjs +0 -1
  374. package/dist/treeView-SZITEDCU-Df3xzFtO.js +0 -3
  375. package/dist/treemap-W4RFUUIX-Bk_jVZ7D.cjs +0 -1
  376. package/dist/treemap-W4RFUUIX-ClUtdSdn.js +0 -3
  377. package/dist/v4-6yr83DbP.cjs +0 -1
  378. package/dist/v4-BR71w5_q.js +0 -33
  379. package/dist/vennDiagram-DHZGUBPP-C16dnMoe.cjs +0 -34
  380. package/dist/wardley-RL74JXVD-BtHQbnUy.js +0 -3
  381. package/dist/wardley-RL74JXVD-y8RO5Iqv.cjs +0 -1
  382. /package/dist/{array-D8NZ46Ht.js → array-CBdkHBGa.js} +0 -0
  383. /package/dist/{array-Dxz0O8Q3.cjs → array-Cx1JwiGD.cjs} +0 -0
  384. /package/dist/{cytoscape.esm-CrBwLFXE.cjs → cytoscape.esm-BzblyxzZ.cjs} +0 -0
  385. /package/dist/{cytoscape.esm-CPjF_mSK.js → cytoscape.esm-VShrX2U1.js} +0 -0
  386. /package/dist/{defaultLocale-DtzyZW63.cjs → defaultLocale-Bj_Ndo9V.cjs} +0 -0
  387. /package/dist/{defaultLocale-Dcyuaxxg.js → defaultLocale-dGy1YRID.js} +0 -0
  388. /package/dist/{init-BO60vQHJ.js → init-B7h4SEX5.js} +0 -0
  389. /package/dist/{init-B2MubQrj.cjs → init-CEL65JUo.cjs} +0 -0
  390. /package/dist/{katex-Du5WiYIy.js → katex-DWDh1q_h.js} +0 -0
  391. /package/dist/{path-CvfwEr8y.js → path-CAXMhBzK.js} +0 -0
  392. /package/dist/{path-Civic7PQ.cjs → path-CRahBUHI.cjs} +0 -0
  393. /package/dist/{rough.esm-BLKo1fIQ.cjs → rough.esm-BEA_SCZB.cjs} +0 -0
  394. /package/dist/{rough.esm-1mqTSjCt.js → rough.esm-TWNWL4Us.js} +0 -0
@@ -1,12 +1,11 @@
1
- import { o as e, t } from "./chunk-WQLz0Won.js";
2
- import { B as n, C as r, V as i, W as a, _ as o, a as s, b as c, c as l, s as u, v as d } from "./chunk-ICPOFSXX-fQJ5ufMR.js";
3
- import { a as f, c as p, d as m, f as h, g, h as _, i as v, p as y, s as b, u as x, v as S } from "./src-BQiFKP24.js";
4
- import { a as C, i as w, n as T, r as E, t as D } from "./linear-BsPvNLJv.js";
5
- import { t as O } from "./init-BO60vQHJ.js";
6
- import { t as k } from "./dist-DL30VIBI.js";
7
- import { h as A } from "./chunk-5PVQY5BW-Dn8n6moB.js";
1
+ import { a as e, c as t, d as n, f as r, g as i, h as a, i as o, p as s, s as c, u as l, v as u, x as d, y as f } from "./src-v9RrE_4h.js";
2
+ import { H as p, K as m, U as h, a as g, c as _, s as v, v as y, w as b, x, y as S } from "./chunk-CSCIHK7Q-9WKhcDqw.js";
3
+ import { a as C, i as w, n as T, r as E, t as D } from "./linear-lSeWuvgy.js";
4
+ import { t as O } from "./init-B7h4SEX5.js";
5
+ import { t as k } from "./dist-9MKIBfY4.js";
6
+ import { g as ee } from "./chunk-5ZQYHXKU-C4uam08j.js";
8
7
  //#region node_modules/d3-array/src/max.js
9
- function ee(e, t) {
8
+ function A(e, t) {
10
9
  let n;
11
10
  if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
12
11
  else {
@@ -98,9 +97,9 @@ var ge = Math.PI / 180, _e = 180 / Math.PI, ve = 18, ye = .96422, be = 1, xe = .
98
97
  function Ee(e) {
99
98
  if (e instanceof j) return new j(e.l, e.a, e.b, e.opacity);
100
99
  if (e instanceof M) return Pe(e);
101
- e instanceof p || (e = x(e));
102
- var t = je(e.r), n = je(e.g), r = je(e.b), i = Oe((.2225045 * t + .7168786 * n + .0606169 * r) / be), a, o;
103
- return t === n && n === r ? a = o = i : (a = Oe((.4360747 * t + .3850649 * n + .1430804 * r) / ye), o = Oe((.0139322 * t + .0971045 * n + .7141733 * r) / xe)), new j(116 * i - 16, 500 * (a - i), 200 * (i - o), e.opacity);
100
+ e instanceof t || (e = l(e));
101
+ var n = je(e.r), r = je(e.g), i = je(e.b), a = Oe((.2225045 * n + .7168786 * r + .0606169 * i) / be), o, s;
102
+ return n === r && r === i ? o = s = a : (o = Oe((.4360747 * n + .3850649 * r + .1430804 * i) / ye), s = Oe((.0139322 * n + .0971045 * r + .7141733 * i) / xe)), new j(116 * a - 16, 500 * (o - a), 200 * (a - s), e.opacity);
104
103
  }
105
104
  function De(e, t, n, r) {
106
105
  return arguments.length === 1 ? Ee(e) : new j(e, t, n, r ?? 1);
@@ -108,7 +107,7 @@ function De(e, t, n, r) {
108
107
  function j(e, t, n, r) {
109
108
  this.l = +e, this.a = +t, this.b = +n, this.opacity = +r;
110
109
  }
111
- m(j, De, h(b, {
110
+ n(j, De, r(c, {
112
111
  brighter(e) {
113
112
  return new j(this.l + ve * (e ?? 1), this.a, this.b, this.opacity);
114
113
  },
@@ -116,8 +115,8 @@ m(j, De, h(b, {
116
115
  return new j(this.l - ve * (e ?? 1), this.a, this.b, this.opacity);
117
116
  },
118
117
  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 = ye * ke(t), e = be * ke(e), n = xe * ke(n), new p(Ae(3.1338561 * t - 1.6168667 * e - .4906146 * n), Ae(-.9787684 * t + 1.9161415 * e + .033454 * n), Ae(.0719453 * t - .2289914 * e + 1.4052427 * n), this.opacity);
118
+ var e = (this.l + 16) / 116, n = isNaN(this.a) ? e : e + this.a / 500, r = isNaN(this.b) ? e : e - this.b / 200;
119
+ return n = ye * ke(n), e = be * ke(e), r = xe * ke(r), new t(Ae(3.1338561 * n - 1.6168667 * e - .4906146 * r), Ae(-.9787684 * n + 1.9161415 * e + .033454 * r), Ae(.0719453 * n - .2289914 * e + 1.4052427 * r), this.opacity);
121
120
  }
122
121
  }));
123
122
  function Oe(e) {
@@ -149,7 +148,7 @@ function Pe(e) {
149
148
  var t = e.h * ge;
150
149
  return new j(e.l, Math.cos(t) * e.c, Math.sin(t) * e.c, e.opacity);
151
150
  }
152
- m(M, Ne, h(b, {
151
+ n(M, Ne, r(c, {
153
152
  brighter(e) {
154
153
  return new M(this.h, this.c, this.l + ve * (e ?? 1), this.opacity);
155
154
  },
@@ -162,15 +161,15 @@ m(M, Ne, h(b, {
162
161
  }));
163
162
  //#endregion
164
163
  //#region node_modules/d3-interpolate/src/hcl.js
165
- function Fe(e) {
166
- return function(t, n) {
167
- var r = e((t = Ne(t)).h, (n = Ne(n)).h), i = f(t.c, n.c), a = f(t.l, n.l), o = f(t.opacity, n.opacity);
164
+ function Fe(t) {
165
+ return function(n, r) {
166
+ var i = t((n = Ne(n)).h, (r = Ne(r)).h), a = e(n.c, r.c), o = e(n.l, r.l), s = e(n.opacity, r.opacity);
168
167
  return function(e) {
169
- return t.h = r(e), t.c = i(e), t.l = a(e), t.opacity = o(e), t + "";
168
+ return n.h = i(e), n.c = a(e), n.l = o(e), n.opacity = s(e), n + "";
170
169
  };
171
170
  };
172
171
  }
173
- var Ie = Fe(v);
172
+ var Ie = Fe(o);
174
173
  //#endregion
175
174
  //#region node_modules/d3-scale/src/nice.js
176
175
  function Le(e, t) {
@@ -531,7 +530,7 @@ function _t(e) {
531
530
  A: D,
532
531
  b: O,
533
532
  B: k,
534
- c: A,
533
+ c: ee,
535
534
  d: Pt,
536
535
  e: Pt,
537
536
  f: Bt,
@@ -553,7 +552,7 @@ function _t(e) {
553
552
  V: Dt,
554
553
  w: wt,
555
554
  W: Ot,
556
- x: ee,
555
+ x: A,
557
556
  X: te,
558
557
  y: At,
559
558
  Y: kt,
@@ -610,10 +609,10 @@ function _t(e) {
610
609
  var r = h.exec(t.slice(n));
611
610
  return r ? (e.m = g.get(r[0].toLowerCase()), n + r[0].length) : -1;
612
611
  }
613
- function A(e, n, r) {
612
+ function ee(e, n, r) {
614
613
  return w(e, t, n, r);
615
614
  }
616
- function ee(e, t, r) {
615
+ function A(e, t, r) {
617
616
  return w(e, n, t, r);
618
617
  }
619
618
  function te(e, t, n) {
@@ -1008,7 +1007,7 @@ function Bn() {
1008
1007
  }
1009
1008
  //#endregion
1010
1009
  //#region node_modules/dayjs/plugin/isoWeek.js
1011
- var Vn = /* @__PURE__ */ t(((e, t) => {
1010
+ var Vn = /* @__PURE__ */ f(((e, t) => {
1012
1011
  (function(n, r) {
1013
1012
  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
1013
  })(e, (function() {
@@ -1033,7 +1032,7 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
1033
1032
  };
1034
1033
  };
1035
1034
  }));
1036
- })), Hn = /* @__PURE__ */ t(((e, t) => {
1035
+ })), Hn = /* @__PURE__ */ f(((e, t) => {
1037
1036
  (function(n, r) {
1038
1037
  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
1038
  })(e, (function() {
@@ -1189,7 +1188,7 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
1189
1188
  };
1190
1189
  };
1191
1190
  }));
1192
- })), Un = /* @__PURE__ */ t(((e, t) => {
1191
+ })), Un = /* @__PURE__ */ f(((e, t) => {
1193
1192
  (function(n, r) {
1194
1193
  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
1194
  })(e, (function() {
@@ -1222,7 +1221,7 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
1222
1221
  };
1223
1222
  };
1224
1223
  }));
1225
- })), Wn = /* @__PURE__ */ t(((e, t) => {
1224
+ })), Wn = /* @__PURE__ */ f(((e, t) => {
1226
1225
  (function(n, r) {
1227
1226
  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_duration = r();
1228
1227
  })(e, (function() {
@@ -1382,8 +1381,8 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
1382
1381
  };
1383
1382
  };
1384
1383
  }));
1385
- })), Gn = k(), Y = /* @__PURE__ */ e(S(), 1), Kn = /* @__PURE__ */ e(Vn(), 1), qn = /* @__PURE__ */ e(Hn(), 1), Jn = /* @__PURE__ */ e(Un(), 1), Yn = /* @__PURE__ */ e(Wn(), 1), Xn = (function() {
1386
- var e = /* @__PURE__ */ _(function(e, t, n, r) {
1384
+ })), Gn = k(), Y = /* @__PURE__ */ d(u(), 1), Kn = /* @__PURE__ */ d(Vn(), 1), qn = /* @__PURE__ */ d(Hn(), 1), Jn = /* @__PURE__ */ d(Un(), 1), Yn = /* @__PURE__ */ d(Wn(), 1), Xn = (function() {
1385
+ var e = /* @__PURE__ */ a(function(e, t, n, r) {
1387
1386
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
1388
1387
  return n;
1389
1388
  }, "o"), t = [
@@ -1414,8 +1413,8 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
1414
1413
  36,
1415
1414
  38,
1416
1415
  40
1417
- ], n = [1, 26], r = [1, 27], i = [1, 28], a = [1, 29], o = [1, 30], s = [1, 31], c = [1, 32], l = [1, 33], u = [1, 34], d = [1, 9], f = [1, 10], p = [1, 11], m = [1, 12], h = [1, 13], g = [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 = {
1418
- trace: /* @__PURE__ */ _(function() {}, "trace"),
1416
+ ], n = [1, 26], r = [1, 27], i = [1, 28], o = [1, 29], s = [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 = {
1417
+ trace: /* @__PURE__ */ a(function() {}, "trace"),
1419
1418
  yy: {},
1420
1419
  symbols_: {
1421
1420
  error: 2,
@@ -1551,7 +1550,7 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
1551
1550
  [44, 4],
1552
1551
  [44, 2]
1553
1552
  ],
1554
- performAction: /* @__PURE__ */ _(function(e, t, n, r, i, a, o) {
1553
+ performAction: /* @__PURE__ */ a(function(e, t, n, r, i, a, o) {
1555
1554
  var s = a.length - 1;
1556
1555
  switch (i) {
1557
1556
  case 1: return a[s - 1];
@@ -1689,19 +1688,19 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
1689
1688
  12: n,
1690
1689
  13: r,
1691
1690
  14: i,
1692
- 15: a,
1693
- 16: o,
1694
- 17: s,
1695
- 18: c,
1691
+ 15: o,
1692
+ 16: s,
1693
+ 17: c,
1694
+ 18: l,
1696
1695
  19: 18,
1697
- 20: l,
1698
- 21: u,
1699
- 22: d,
1700
- 23: f,
1701
- 24: p,
1702
- 25: m,
1703
- 26: h,
1704
- 27: g,
1696
+ 20: u,
1697
+ 21: d,
1698
+ 22: f,
1699
+ 23: p,
1700
+ 24: m,
1701
+ 25: h,
1702
+ 26: g,
1703
+ 27: _,
1705
1704
  28: v,
1706
1705
  29: y,
1707
1706
  30: b,
@@ -1721,19 +1720,19 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
1721
1720
  12: n,
1722
1721
  13: r,
1723
1722
  14: i,
1724
- 15: a,
1725
- 16: o,
1726
- 17: s,
1727
- 18: c,
1723
+ 15: o,
1724
+ 16: s,
1725
+ 17: c,
1726
+ 18: l,
1728
1727
  19: 18,
1729
- 20: l,
1730
- 21: u,
1731
- 22: d,
1732
- 23: f,
1733
- 24: p,
1734
- 25: m,
1735
- 26: h,
1736
- 27: g,
1728
+ 20: u,
1729
+ 21: d,
1730
+ 22: f,
1731
+ 23: p,
1732
+ 24: m,
1733
+ 25: h,
1734
+ 26: g,
1735
+ 27: _,
1737
1736
  28: v,
1738
1737
  29: y,
1739
1738
  30: b,
@@ -1793,63 +1792,63 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
1793
1792
  e(t, [2, 39])
1794
1793
  ],
1795
1794
  defaultActions: {},
1796
- parseError: /* @__PURE__ */ _(function(e, t) {
1795
+ parseError: /* @__PURE__ */ a(function(e, t) {
1797
1796
  if (t.recoverable) this.trace(e);
1798
1797
  else {
1799
1798
  var n = Error(e);
1800
1799
  throw n.hash = t, n;
1801
1800
  }
1802
1801
  }, "parseError"),
1803
- parse: /* @__PURE__ */ _(function(e) {
1804
- var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, l = 0, u = 0, d = 2, f = 1, p = a.slice.call(arguments, 1), m = Object.create(this.lexer), h = { yy: {} };
1805
- for (var g in this.yy) Object.prototype.hasOwnProperty.call(this.yy, g) && (h.yy[g] = this.yy[g]);
1806
- m.setInput(e, h.yy), h.yy.lexer = m, h.yy.parser = this, m.yylloc === void 0 && (m.yylloc = {});
1807
- var v = m.yylloc;
1808
- a.push(v);
1809
- var y = m.options && m.options.ranges;
1810
- typeof h.yy.parseError == "function" ? this.parseError = h.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1802
+ parse: /* @__PURE__ */ a(function(e) {
1803
+ var t = this, n = [0], r = [], i = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
1804
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
1805
+ h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
1806
+ var v = h.yylloc;
1807
+ o.push(v);
1808
+ var y = h.options && h.options.ranges;
1809
+ typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1811
1810
  function b(e) {
1812
- n.length -= 2 * e, i.length -= e, a.length -= e;
1811
+ n.length -= 2 * e, i.length -= e, o.length -= e;
1813
1812
  }
1814
- _(b, "popStack");
1813
+ a(b, "popStack");
1815
1814
  function x() {
1816
- var e = r.pop() || m.lex() || f;
1815
+ var e = r.pop() || h.lex() || p;
1817
1816
  return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
1818
1817
  }
1819
- _(x, "lex");
1820
- for (var S, C, w, T, E, D = {}, O, k, A, ee;;) {
1821
- 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]) {
1818
+ a(x, "lex");
1819
+ for (var S, C, w, T, E, D = {}, O, k, ee, A;;) {
1820
+ if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
1822
1821
  var te = "";
1823
- for (O in ee = [], o[w]) this.terminals_[O] && O > d && ee.push("'" + this.terminals_[O] + "'");
1824
- te = m.showPosition ? "Parse error on line " + (c + 1) + ":\n" + m.showPosition() + "\nExpecting " + ee.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (c + 1) + ": Unexpected " + (S == f ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(te, {
1825
- text: m.match,
1822
+ for (O in A = [], s[w]) this.terminals_[O] && O > f && A.push("'" + this.terminals_[O] + "'");
1823
+ te = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + A.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(te, {
1824
+ text: h.match,
1826
1825
  token: this.terminals_[S] || S,
1827
- line: m.yylineno,
1826
+ line: h.yylineno,
1828
1827
  loc: v,
1829
- expected: ee
1828
+ expected: A
1830
1829
  });
1831
1830
  }
1832
1831
  if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
1833
1832
  switch (T[0]) {
1834
1833
  case 1:
1835
- n.push(S), i.push(m.yytext), a.push(m.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (l = m.yyleng, s = m.yytext, c = m.yylineno, v = m.yylloc, u > 0 && u--);
1834
+ n.push(S), i.push(h.yytext), o.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--);
1836
1835
  break;
1837
1836
  case 2:
1838
1837
  if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
1839
- first_line: a[a.length - (k || 1)].first_line,
1840
- last_line: a[a.length - 1].last_line,
1841
- first_column: a[a.length - (k || 1)].first_column,
1842
- last_column: a[a.length - 1].last_column
1843
- }, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
1844
- s,
1845
- l,
1838
+ first_line: o[o.length - (k || 1)].first_line,
1839
+ last_line: o[o.length - 1].last_line,
1840
+ first_column: o[o.length - (k || 1)].first_column,
1841
+ last_column: o[o.length - 1].last_column
1842
+ }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
1846
1843
  c,
1847
- h.yy,
1844
+ u,
1845
+ l,
1846
+ g.yy,
1848
1847
  T[1],
1849
1848
  i,
1850
- a
1851
- ].concat(p)), E !== void 0) return E;
1852
- 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._$), A = o[n[n.length - 2]][n[n.length - 1]], n.push(A);
1849
+ o
1850
+ ].concat(m)), E !== void 0) return E;
1851
+ k && (n = n.slice(0, -1 * k * 2), i = i.slice(0, -1 * k), o = o.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), i.push(D.$), o.push(D._$), ee = s[n[n.length - 2]][n[n.length - 1]], n.push(ee);
1853
1852
  break;
1854
1853
  case 3: return !0;
1855
1854
  }
@@ -1860,11 +1859,11 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
1860
1859
  D.lexer = /* @__PURE__ */ (function() {
1861
1860
  return {
1862
1861
  EOF: 1,
1863
- parseError: /* @__PURE__ */ _(function(e, t) {
1862
+ parseError: /* @__PURE__ */ a(function(e, t) {
1864
1863
  if (this.yy.parser) this.yy.parser.parseError(e, t);
1865
1864
  else throw Error(e);
1866
1865
  }, "parseError"),
1867
- setInput: /* @__PURE__ */ _(function(e, t) {
1866
+ setInput: /* @__PURE__ */ a(function(e, t) {
1868
1867
  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 = {
1869
1868
  first_line: 1,
1870
1869
  first_column: 0,
@@ -1872,11 +1871,11 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
1872
1871
  last_column: 0
1873
1872
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1874
1873
  }, "setInput"),
1875
- input: /* @__PURE__ */ _(function() {
1874
+ input: /* @__PURE__ */ a(function() {
1876
1875
  var e = this._input[0];
1877
1876
  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;
1878
1877
  }, "input"),
1879
- unput: /* @__PURE__ */ _(function(e) {
1878
+ unput: /* @__PURE__ */ a(function(e) {
1880
1879
  var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1881
1880
  this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1882
1881
  var r = this.match.split(/(?:\r\n?|\n)/g);
@@ -1889,10 +1888,10 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
1889
1888
  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
1890
1889
  }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1891
1890
  }, "unput"),
1892
- more: /* @__PURE__ */ _(function() {
1891
+ more: /* @__PURE__ */ a(function() {
1893
1892
  return this._more = !0, this;
1894
1893
  }, "more"),
1895
- reject: /* @__PURE__ */ _(function() {
1894
+ reject: /* @__PURE__ */ a(function() {
1896
1895
  if (this.options.backtrack_lexer) this._backtrack = !0;
1897
1896
  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(), {
1898
1897
  text: "",
@@ -1901,22 +1900,22 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
1901
1900
  });
1902
1901
  return this;
1903
1902
  }, "reject"),
1904
- less: /* @__PURE__ */ _(function(e) {
1903
+ less: /* @__PURE__ */ a(function(e) {
1905
1904
  this.unput(this.match.slice(e));
1906
1905
  }, "less"),
1907
- pastInput: /* @__PURE__ */ _(function() {
1906
+ pastInput: /* @__PURE__ */ a(function() {
1908
1907
  var e = this.matched.substr(0, this.matched.length - this.match.length);
1909
1908
  return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1910
1909
  }, "pastInput"),
1911
- upcomingInput: /* @__PURE__ */ _(function() {
1910
+ upcomingInput: /* @__PURE__ */ a(function() {
1912
1911
  var e = this.match;
1913
1912
  return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1914
1913
  }, "upcomingInput"),
1915
- showPosition: /* @__PURE__ */ _(function() {
1914
+ showPosition: /* @__PURE__ */ a(function() {
1916
1915
  var e = this.pastInput(), t = Array(e.length + 1).join("-");
1917
1916
  return e + this.upcomingInput() + "\n" + t + "^";
1918
1917
  }, "showPosition"),
1919
- test_match: /* @__PURE__ */ _(function(e, t) {
1918
+ test_match: /* @__PURE__ */ a(function(e, t) {
1920
1919
  var n, r, i;
1921
1920
  if (this.options.backtrack_lexer && (i = {
1922
1921
  yylineno: this.yylineno,
@@ -1949,7 +1948,7 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
1949
1948
  }
1950
1949
  return !1;
1951
1950
  }, "test_match"),
1952
- next: /* @__PURE__ */ _(function() {
1951
+ next: /* @__PURE__ */ a(function() {
1953
1952
  if (this.done) return this.EOF;
1954
1953
  this._input || (this.done = !0);
1955
1954
  var e, t, n, r;
@@ -1969,29 +1968,29 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
1969
1968
  line: this.yylineno
1970
1969
  });
1971
1970
  }, "next"),
1972
- lex: /* @__PURE__ */ _(function() {
1971
+ lex: /* @__PURE__ */ a(function() {
1973
1972
  return this.next() || this.lex();
1974
1973
  }, "lex"),
1975
- begin: /* @__PURE__ */ _(function(e) {
1974
+ begin: /* @__PURE__ */ a(function(e) {
1976
1975
  this.conditionStack.push(e);
1977
1976
  }, "begin"),
1978
- popState: /* @__PURE__ */ _(function() {
1977
+ popState: /* @__PURE__ */ a(function() {
1979
1978
  return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1980
1979
  }, "popState"),
1981
- _currentRules: /* @__PURE__ */ _(function() {
1980
+ _currentRules: /* @__PURE__ */ a(function() {
1982
1981
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1983
1982
  }, "_currentRules"),
1984
- topState: /* @__PURE__ */ _(function(e) {
1983
+ topState: /* @__PURE__ */ a(function(e) {
1985
1984
  return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1986
1985
  }, "topState"),
1987
- pushState: /* @__PURE__ */ _(function(e) {
1986
+ pushState: /* @__PURE__ */ a(function(e) {
1988
1987
  this.begin(e);
1989
1988
  }, "pushState"),
1990
- stateStackSize: /* @__PURE__ */ _(function() {
1989
+ stateStackSize: /* @__PURE__ */ a(function() {
1991
1990
  return this.conditionStack.length;
1992
1991
  }, "stateStackSize"),
1993
1992
  options: { "case-insensitive": !0 },
1994
- performAction: /* @__PURE__ */ _(function(e, t, n, r) {
1993
+ performAction: /* @__PURE__ */ a(function(e, t, n, r) {
1995
1994
  switch (n) {
1996
1995
  case 0: return this.begin("open_directive"), "open_directive";
1997
1996
  case 1: return this.begin("acc_title"), 31;
@@ -2207,7 +2206,7 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
2207
2206
  function O() {
2208
2207
  this.yy = {};
2209
2208
  }
2210
- return _(O, "Parser"), O.prototype = D, D.Parser = O, new O();
2209
+ return a(O, "Parser"), O.prototype = D, D.Parser = O, new O();
2211
2210
  })();
2212
2211
  Xn.parser = Xn;
2213
2212
  var Zn = Xn;
@@ -2221,66 +2220,66 @@ var Qn = {
2221
2220
  "crit",
2222
2221
  "milestone",
2223
2222
  "vert"
2224
- ], ur = [], dr = "", fr = !1, pr = !1, mr = "sunday", hr = "saturday", gr = 0, _r = /* @__PURE__ */ _(function() {
2225
- ar = [], or = [], sr = "", ur = [], Xr = 0, ei = void 0, ti = void 0, Z = [], X = "", $n = "", cr = "", er = void 0, tr = "", nr = [], rr = [], fr = !1, pr = !1, gr = 0, ir = /* @__PURE__ */ new Map(), dr = "", s(), mr = "sunday", hr = "saturday";
2226
- }, "clear"), vr = /* @__PURE__ */ _(function(e) {
2223
+ ], ur = [], dr = "", fr = !1, pr = !1, mr = "sunday", hr = "saturday", gr = 0, _r = /* @__PURE__ */ a(function() {
2224
+ ar = [], or = [], sr = "", ur = [], Xr = 0, ei = void 0, ti = void 0, Z = [], X = "", $n = "", cr = "", er = void 0, tr = "", nr = [], rr = [], fr = !1, pr = !1, gr = 0, ir = /* @__PURE__ */ new Map(), dr = "", g(), mr = "sunday", hr = "saturday";
2225
+ }, "clear"), vr = /* @__PURE__ */ a(function(e) {
2227
2226
  dr = e;
2228
- }, "setDiagramId"), yr = /* @__PURE__ */ _(function(e) {
2227
+ }, "setDiagramId"), yr = /* @__PURE__ */ a(function(e) {
2229
2228
  $n = e;
2230
- }, "setAxisFormat"), br = /* @__PURE__ */ _(function() {
2229
+ }, "setAxisFormat"), br = /* @__PURE__ */ a(function() {
2231
2230
  return $n;
2232
- }, "getAxisFormat"), xr = /* @__PURE__ */ _(function(e) {
2231
+ }, "getAxisFormat"), xr = /* @__PURE__ */ a(function(e) {
2233
2232
  er = e;
2234
- }, "setTickInterval"), Sr = /* @__PURE__ */ _(function() {
2233
+ }, "setTickInterval"), Sr = /* @__PURE__ */ a(function() {
2235
2234
  return er;
2236
- }, "getTickInterval"), Cr = /* @__PURE__ */ _(function(e) {
2235
+ }, "getTickInterval"), Cr = /* @__PURE__ */ a(function(e) {
2237
2236
  tr = e;
2238
- }, "setTodayMarker"), wr = /* @__PURE__ */ _(function() {
2237
+ }, "setTodayMarker"), wr = /* @__PURE__ */ a(function() {
2239
2238
  return tr;
2240
- }, "getTodayMarker"), Tr = /* @__PURE__ */ _(function(e) {
2239
+ }, "getTodayMarker"), Tr = /* @__PURE__ */ a(function(e) {
2241
2240
  X = e;
2242
- }, "setDateFormat"), Er = /* @__PURE__ */ _(function() {
2241
+ }, "setDateFormat"), Er = /* @__PURE__ */ a(function() {
2243
2242
  fr = !0;
2244
- }, "enableInclusiveEndDates"), Dr = /* @__PURE__ */ _(function() {
2243
+ }, "enableInclusiveEndDates"), Dr = /* @__PURE__ */ a(function() {
2245
2244
  return fr;
2246
- }, "endDatesAreInclusive"), Or = /* @__PURE__ */ _(function() {
2245
+ }, "endDatesAreInclusive"), Or = /* @__PURE__ */ a(function() {
2247
2246
  pr = !0;
2248
- }, "enableTopAxis"), kr = /* @__PURE__ */ _(function() {
2247
+ }, "enableTopAxis"), kr = /* @__PURE__ */ a(function() {
2249
2248
  return pr;
2250
- }, "topAxisEnabled"), Ar = /* @__PURE__ */ _(function(e) {
2249
+ }, "topAxisEnabled"), Ar = /* @__PURE__ */ a(function(e) {
2251
2250
  cr = e;
2252
- }, "setDisplayMode"), jr = /* @__PURE__ */ _(function() {
2251
+ }, "setDisplayMode"), jr = /* @__PURE__ */ a(function() {
2253
2252
  return cr;
2254
- }, "getDisplayMode"), Mr = /* @__PURE__ */ _(function() {
2253
+ }, "getDisplayMode"), Mr = /* @__PURE__ */ a(function() {
2255
2254
  return X;
2256
- }, "getDateFormat"), Nr = /* @__PURE__ */ _(function(e) {
2255
+ }, "getDateFormat"), Nr = /* @__PURE__ */ a(function(e) {
2257
2256
  nr = e.toLowerCase().split(/[\s,]+/);
2258
- }, "setIncludes"), Pr = /* @__PURE__ */ _(function() {
2257
+ }, "setIncludes"), Pr = /* @__PURE__ */ a(function() {
2259
2258
  return nr;
2260
- }, "getIncludes"), Fr = /* @__PURE__ */ _(function(e) {
2259
+ }, "getIncludes"), Fr = /* @__PURE__ */ a(function(e) {
2261
2260
  rr = e.toLowerCase().split(/[\s,]+/);
2262
- }, "setExcludes"), Ir = /* @__PURE__ */ _(function() {
2261
+ }, "setExcludes"), Ir = /* @__PURE__ */ a(function() {
2263
2262
  return rr;
2264
- }, "getExcludes"), Lr = /* @__PURE__ */ _(function() {
2263
+ }, "getExcludes"), Lr = /* @__PURE__ */ a(function() {
2265
2264
  return ir;
2266
- }, "getLinks"), Rr = /* @__PURE__ */ _(function(e) {
2265
+ }, "getLinks"), Rr = /* @__PURE__ */ a(function(e) {
2267
2266
  sr = e, ar.push(e);
2268
- }, "addSection"), zr = /* @__PURE__ */ _(function() {
2267
+ }, "addSection"), zr = /* @__PURE__ */ a(function() {
2269
2268
  return ar;
2270
- }, "getSections"), Br = /* @__PURE__ */ _(function() {
2269
+ }, "getSections"), Br = /* @__PURE__ */ a(function() {
2271
2270
  let e = ai(), t = 0;
2272
2271
  for (; !e && t < 10;) e = ai(), t++;
2273
2272
  return or = Z, or;
2274
- }, "getTasks"), Vr = /* @__PURE__ */ _(function(e, t, n, r) {
2273
+ }, "getTasks"), Vr = /* @__PURE__ */ a(function(e, t, n, r) {
2275
2274
  let i = e.format(t.trim()), a = e.format("YYYY-MM-DD");
2276
2275
  return r.includes(i) || r.includes(a) ? !1 : n.includes("weekends") && (e.isoWeekday() === Qn[hr] || e.isoWeekday() === Qn[hr] + 1) || n.includes(e.format("dddd").toLowerCase()) ? !0 : n.includes(i) || n.includes(a);
2277
- }, "isInvalidDate"), Hr = /* @__PURE__ */ _(function(e) {
2276
+ }, "isInvalidDate"), Hr = /* @__PURE__ */ a(function(e) {
2278
2277
  mr = e;
2279
- }, "setWeekday"), Ur = /* @__PURE__ */ _(function() {
2278
+ }, "setWeekday"), Ur = /* @__PURE__ */ a(function() {
2280
2279
  return mr;
2281
- }, "getWeekday"), Wr = /* @__PURE__ */ _(function(e) {
2280
+ }, "getWeekday"), Wr = /* @__PURE__ */ a(function(e) {
2282
2281
  hr = e;
2283
- }, "setWeekend"), Gr = /* @__PURE__ */ _(function(e, t, n, r) {
2282
+ }, "setWeekend"), Gr = /* @__PURE__ */ a(function(e, t, n, r) {
2284
2283
  if (!n.length || e.manualEndTime) return;
2285
2284
  let i;
2286
2285
  i = e.startTime instanceof Date ? (0, Y.default)(e.startTime) : (0, Y.default)(e.startTime, t, !0), i = i.add(1, "d");
@@ -2288,12 +2287,15 @@ var Qn = {
2288
2287
  a = e.endTime instanceof Date ? (0, Y.default)(e.endTime) : (0, Y.default)(e.endTime, t, !0);
2289
2288
  let [o, s] = Kr(i, a, t, n, r);
2290
2289
  e.endTime = o.toDate(), e.renderEndTime = s;
2291
- }, "checkTaskDates"), Kr = /* @__PURE__ */ _(function(e, t, n, r, i) {
2292
- let a = !1, o = null;
2293
- for (; e <= t;) a || (o = t.toDate()), a = Vr(e, n, r, i), a && (t = t.add(1, "d")), e = e.add(1, "d");
2290
+ }, "checkTaskDates"), Kr = /* @__PURE__ */ a(function(e, t, n, r, i) {
2291
+ let a = !1, o = null, s = t.add(1e4, "d");
2292
+ for (; e <= t;) {
2293
+ if (a || (o = t.toDate()), a = Vr(e, n, r, i), a && (t = t.add(1, "d"), t > s)) throw Error("Failed to find a valid date that was not excluded by `excludes` after 10,000 iterations.");
2294
+ e = e.add(1, "d");
2295
+ }
2294
2296
  return [t, o];
2295
- }, "fixTaskDates"), qr = /* @__PURE__ */ _(function(e, t, n) {
2296
- if (n = n.trim(), (/* @__PURE__ */ _((e) => {
2297
+ }, "fixTaskDates"), qr = /* @__PURE__ */ a(function(e, t, n) {
2298
+ if (n = n.trim(), (/* @__PURE__ */ a((e) => {
2297
2299
  let t = e.trim();
2298
2300
  return t === "x" || t === "X";
2299
2301
  }, "isTimestampFormat"))(t) && /^\d+$/.test(n)) return new Date(Number(n));
@@ -2308,18 +2310,18 @@ var Qn = {
2308
2310
  let t = /* @__PURE__ */ new Date();
2309
2311
  return t.setHours(0, 0, 0, 0), t;
2310
2312
  }
2311
- let i = (0, Y.default)(n, t.trim(), !0);
2312
- if (i.isValid()) return i.toDate();
2313
+ let o = (0, Y.default)(n, t.trim(), !0);
2314
+ if (o.isValid()) return o.toDate();
2313
2315
  {
2314
- g.debug("Invalid date:" + n), g.debug("With date format:" + t.trim());
2316
+ i.debug("Invalid date:" + n), i.debug("With date format:" + t.trim());
2315
2317
  let e = new Date(n);
2316
2318
  if (e === void 0 || isNaN(e.getTime()) || e.getFullYear() < -1e4 || e.getFullYear() > 1e4) throw Error("Invalid date:" + n);
2317
2319
  return e;
2318
2320
  }
2319
- }, "getStartDate"), Jr = /* @__PURE__ */ _(function(e) {
2321
+ }, "getStartDate"), Jr = /* @__PURE__ */ a(function(e) {
2320
2322
  let t = /^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(e.trim());
2321
2323
  return t === null ? [NaN, "ms"] : [Number.parseFloat(t[1]), t[2]];
2322
- }, "parseDuration"), Yr = /* @__PURE__ */ _(function(e, t, n, r = !1) {
2324
+ }, "parseDuration"), Yr = /* @__PURE__ */ a(function(e, t, n, r = !1) {
2323
2325
  n = n.trim();
2324
2326
  let i = /^until\s+(?<ids>[\d\w- ]+)/.exec(n);
2325
2327
  if (i !== null) {
@@ -2340,9 +2342,9 @@ var Qn = {
2340
2342
  e.isValid() && (o = e);
2341
2343
  }
2342
2344
  return o.toDate();
2343
- }, "getEndDate"), Xr = 0, Zr = /* @__PURE__ */ _(function(e) {
2345
+ }, "getEndDate"), Xr = 0, Zr = /* @__PURE__ */ a(function(e) {
2344
2346
  return e === void 0 ? (Xr += 1, "task" + Xr) : e;
2345
- }, "parseId"), Qr = /* @__PURE__ */ _(function(e, t) {
2347
+ }, "parseId"), Qr = /* @__PURE__ */ a(function(e, t) {
2346
2348
  let n;
2347
2349
  n = t.substr(0, 1) === ":" ? t.substr(1, t.length) : t;
2348
2350
  let r = n.split(","), i = {};
@@ -2362,7 +2364,7 @@ var Qn = {
2362
2364
  default:
2363
2365
  }
2364
2366
  return a && (i.endTime = Yr(i.startTime, X, a, fr), i.manualEndTime = (0, Y.default)(a, "YYYY-MM-DD", !0).isValid(), Gr(i, X, rr, nr)), i;
2365
- }, "compileData"), $r = /* @__PURE__ */ _(function(e, t) {
2367
+ }, "compileData"), $r = /* @__PURE__ */ a(function(e, t) {
2366
2368
  let n;
2367
2369
  n = t.substr(0, 1) === ":" ? t.substr(1, t.length) : t;
2368
2370
  let r = n.split(","), i = {};
@@ -2390,7 +2392,7 @@ var Qn = {
2390
2392
  default:
2391
2393
  }
2392
2394
  return i;
2393
- }, "parseData"), ei, ti, Z = [], ni = {}, ri = /* @__PURE__ */ _(function(e, t) {
2395
+ }, "parseData"), ei, ti, Z = [], ni = {}, ri = /* @__PURE__ */ a(function(e, t) {
2394
2396
  let n = {
2395
2397
  section: sr,
2396
2398
  type: sr,
@@ -2404,10 +2406,10 @@ var Qn = {
2404
2406
  n.raw.startTime = r.startTime, n.raw.endTime = r.endTime, n.id = r.id, n.prevTaskId = ti, n.active = r.active, n.done = r.done, n.crit = r.crit, n.milestone = r.milestone, n.vert = r.vert, n.order = gr, gr++;
2405
2407
  let i = Z.push(n);
2406
2408
  ti = n.id, ni[n.id] = i - 1;
2407
- }, "addTask"), Q = /* @__PURE__ */ _(function(e) {
2409
+ }, "addTask"), Q = /* @__PURE__ */ a(function(e) {
2408
2410
  let t = ni[e];
2409
2411
  return Z[t];
2410
- }, "findTaskById"), ii = /* @__PURE__ */ _(function(e, t) {
2412
+ }, "findTaskById"), ii = /* @__PURE__ */ a(function(e, t) {
2411
2413
  let n = {
2412
2414
  section: sr,
2413
2415
  type: sr,
@@ -2416,8 +2418,8 @@ var Qn = {
2416
2418
  classes: []
2417
2419
  }, r = Qr(ei, t);
2418
2420
  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, ei = n, or.push(n);
2419
- }, "addTaskOrg"), ai = /* @__PURE__ */ _(function() {
2420
- let e = /* @__PURE__ */ _(function(e) {
2421
+ }, "addTaskOrg"), ai = /* @__PURE__ */ a(function() {
2422
+ let e = /* @__PURE__ */ a(function(e) {
2421
2423
  let t = Z[e], n = "";
2422
2424
  switch (Z[e].raw.startTime.type) {
2423
2425
  case "prevTaskEnd":
@@ -2431,20 +2433,20 @@ var Qn = {
2431
2433
  }, "compileTask"), t = !0;
2432
2434
  for (let [n, r] of Z.entries()) e(n), t &&= r.processed;
2433
2435
  return t;
2434
- }, "compileTasks"), oi = /* @__PURE__ */ _(function(e, t) {
2436
+ }, "compileTasks"), oi = /* @__PURE__ */ a(function(e, t) {
2435
2437
  let n = t;
2436
- c().securityLevel !== "loose" && (n = (0, Gn.sanitizeUrl)(t)), e.split(",").forEach(function(e) {
2438
+ x().securityLevel !== "loose" && (n = (0, Gn.sanitizeUrl)(t)), e.split(",").forEach(function(e) {
2437
2439
  Q(e) !== void 0 && (li(e, () => {
2438
2440
  window.open(n, "_self");
2439
2441
  }), ir.set(e, n));
2440
2442
  }), si(e, "clickable");
2441
- }, "setLink"), si = /* @__PURE__ */ _(function(e, t) {
2443
+ }, "setLink"), si = /* @__PURE__ */ a(function(e, t) {
2442
2444
  e.split(",").forEach(function(e) {
2443
2445
  let n = Q(e);
2444
2446
  n !== void 0 && n.classes.push(t);
2445
2447
  });
2446
- }, "setClass"), ci = /* @__PURE__ */ _(function(e, t, n) {
2447
- if (c().securityLevel !== "loose" || t === void 0) return;
2448
+ }, "setClass"), ci = /* @__PURE__ */ a(function(e, t, n) {
2449
+ if (x().securityLevel !== "loose" || t === void 0) return;
2448
2450
  let r = [];
2449
2451
  if (typeof n == "string") {
2450
2452
  r = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
@@ -2454,9 +2456,9 @@ var Qn = {
2454
2456
  }
2455
2457
  }
2456
2458
  r.length === 0 && r.push(e), Q(e) !== void 0 && li(e, () => {
2457
- A.runFunc(t, ...r);
2459
+ ee.runFunc(t, ...r);
2458
2460
  });
2459
- }, "setClickFun"), li = /* @__PURE__ */ _(function(e, t) {
2461
+ }, "setClickFun"), li = /* @__PURE__ */ a(function(e, t) {
2460
2462
  ur.push(function() {
2461
2463
  let n = dr ? `${dr}-${e}` : e, r = document.querySelector(`[id="${n}"]`);
2462
2464
  r !== null && r.addEventListener("click", function() {
@@ -2469,7 +2471,7 @@ var Qn = {
2469
2471
  });
2470
2472
  });
2471
2473
  }, "pushFun"), ui = {
2472
- getConfig: /* @__PURE__ */ _(() => c().gantt, "getConfig"),
2474
+ getConfig: /* @__PURE__ */ a(() => x().gantt, "getConfig"),
2473
2475
  clear: _r,
2474
2476
  setDateFormat: Tr,
2475
2477
  getDateFormat: Mr,
@@ -2483,15 +2485,15 @@ var Qn = {
2483
2485
  getTickInterval: Sr,
2484
2486
  setTodayMarker: Cr,
2485
2487
  getTodayMarker: wr,
2486
- setAccTitle: i,
2487
- getAccTitle: d,
2488
- setDiagramTitle: a,
2489
- getDiagramTitle: r,
2488
+ setAccTitle: h,
2489
+ getAccTitle: S,
2490
+ setDiagramTitle: m,
2491
+ getDiagramTitle: b,
2490
2492
  setDiagramId: vr,
2491
2493
  setDisplayMode: Ar,
2492
2494
  getDisplayMode: jr,
2493
- setAccDescription: n,
2494
- getAccDescription: o,
2495
+ setAccDescription: p,
2496
+ getAccDescription: y,
2495
2497
  addSection: Rr,
2496
2498
  getSections: zr,
2497
2499
  getTasks: Br,
@@ -2502,14 +2504,14 @@ var Qn = {
2502
2504
  getIncludes: Pr,
2503
2505
  setExcludes: Fr,
2504
2506
  getExcludes: Ir,
2505
- setClickEvent: /* @__PURE__ */ _(function(e, t, n) {
2507
+ setClickEvent: /* @__PURE__ */ a(function(e, t, n) {
2506
2508
  e.split(",").forEach(function(e) {
2507
2509
  ci(e, t, n);
2508
2510
  }), si(e, "clickable");
2509
2511
  }, "setClickEvent"),
2510
2512
  setLink: oi,
2511
2513
  getLinks: Lr,
2512
- bindFunctions: /* @__PURE__ */ _(function(e) {
2514
+ bindFunctions: /* @__PURE__ */ a(function(e) {
2513
2515
  ur.forEach(function(t) {
2514
2516
  t(e);
2515
2517
  });
@@ -2527,9 +2529,9 @@ function di(e, t, n) {
2527
2529
  e[0].match(a) && (t[n] = !0, e.shift(1), r = !0);
2528
2530
  });
2529
2531
  }
2530
- _(di, "getTaskTags"), Y.default.extend(Yn.default);
2531
- var fi = /* @__PURE__ */ _(function() {
2532
- g.debug("Something is calling, setConf, remove the call");
2532
+ a(di, "getTaskTags"), Y.default.extend(Yn.default);
2533
+ var fi = /* @__PURE__ */ a(function() {
2534
+ i.debug("Something is calling, setConf, remove the call");
2533
2535
  }, "setConf"), pi = {
2534
2536
  monday: Xe,
2535
2537
  tuesday: Ze,
@@ -2538,7 +2540,7 @@ var fi = /* @__PURE__ */ _(function() {
2538
2540
  friday: $e,
2539
2541
  saturday: et,
2540
2542
  sunday: Ye
2541
- }, mi = /* @__PURE__ */ _((e, t) => {
2543
+ }, mi = /* @__PURE__ */ a((e, t) => {
2542
2544
  let n = [...e].map(() => -Infinity), r = [...e].sort((e, t) => e.startTime - t.startTime || e.order - t.order), i = 0;
2543
2545
  for (let e of r) for (let r = 0; r < n.length; r++) if (e.startTime >= n[r]) {
2544
2546
  n[r] = e.endTime, e.order = r + t, r > i && (i = r);
@@ -2550,99 +2552,99 @@ var fi = /* @__PURE__ */ _(function() {
2550
2552
  db: ui,
2551
2553
  renderer: {
2552
2554
  setConf: fi,
2553
- draw: /* @__PURE__ */ _(function(e, t, n, r) {
2554
- let i = c().gantt;
2555
+ draw: /* @__PURE__ */ a(function(e, t, n, r) {
2556
+ let o = x().gantt;
2555
2557
  r.db.setDiagramId(t);
2556
- let a = c().securityLevel, o;
2557
- a === "sandbox" && (o = y("#i" + t));
2558
- let s = y(a === "sandbox" ? o.nodes()[0].contentDocument.body : "body"), d = a === "sandbox" ? o.nodes()[0].contentDocument : document, f = d.getElementById(t);
2559
- $ = f.parentElement.offsetWidth, $ === void 0 && ($ = 1200), i.useWidth !== void 0 && ($ = i.useWidth);
2558
+ let c = x().securityLevel, l;
2559
+ c === "sandbox" && (l = s("#i" + t));
2560
+ let u = s(c === "sandbox" ? l.nodes()[0].contentDocument.body : "body"), d = c === "sandbox" ? l.nodes()[0].contentDocument : document, f = d.getElementById(t);
2561
+ $ = f.parentElement.offsetWidth, $ === void 0 && ($ = 1200), o.useWidth !== void 0 && ($ = o.useWidth);
2560
2562
  let p = r.db.getTasks(), m = [];
2561
2563
  for (let e of p) m.push(e.type);
2562
2564
  m = ne(m);
2563
- let h = {}, v = 2 * i.topPadding;
2564
- if (r.db.getDisplayMode() === "compact" || i.displayMode === "compact") {
2565
+ let h = {}, g = 2 * o.topPadding;
2566
+ if (r.db.getDisplayMode() === "compact" || o.displayMode === "compact") {
2565
2567
  let e = {};
2566
2568
  for (let t of p) e[t.section] === void 0 ? e[t.section] = [t] : e[t.section].push(t);
2567
2569
  let t = 0;
2568
2570
  for (let n of Object.keys(e)) {
2569
2571
  let r = mi(e[n], t) + 1;
2570
- t += r, v += r * (i.barHeight + i.barGap), h[n] = r;
2572
+ t += r, g += r * (o.barHeight + o.barGap), h[n] = r;
2571
2573
  }
2572
2574
  } else {
2573
- v += p.length * (i.barHeight + i.barGap);
2575
+ g += p.length * (o.barHeight + o.barGap);
2574
2576
  for (let e of m) h[e] = p.filter((t) => t.type === e).length;
2575
2577
  }
2576
- f.setAttribute("viewBox", "0 0 " + $ + " " + v);
2577
- let b = s.select(`[id="${t}"]`), x = Bn().domain([te(p, function(e) {
2578
+ f.setAttribute("viewBox", "0 0 " + $ + " " + g);
2579
+ let y = u.select(`[id="${t}"]`), b = Bn().domain([te(p, function(e) {
2578
2580
  return e.startTime;
2579
- }), ee(p, function(e) {
2581
+ }), A(p, function(e) {
2580
2582
  return e.endTime;
2581
- })]).rangeRound([0, $ - i.leftPadding - i.rightPadding]);
2583
+ })]).rangeRound([0, $ - o.leftPadding - o.rightPadding]);
2582
2584
  function S(e, t) {
2583
2585
  let n = e.startTime, r = t.startTime, i = 0;
2584
2586
  return n > r ? i = 1 : n < r && (i = -1), i;
2585
2587
  }
2586
- _(S, "taskCompare"), p.sort(S), C(p, $, v), l(b, v, $, i.useMaxWidth), b.append("text").text(r.db.getDiagramTitle()).attr("x", $ / 2).attr("y", i.titleTopMargin).attr("class", "titleText");
2588
+ a(S, "taskCompare"), p.sort(S), C(p, $, g), _(y, g, $, o.useMaxWidth), y.append("text").text(r.db.getDiagramTitle()).attr("x", $ / 2).attr("y", o.titleTopMargin).attr("class", "titleText");
2587
2589
  function C(e, t, n) {
2588
- let a = i.barHeight, o = a + i.barGap, s = i.topPadding, c = i.leftPadding, l = D().domain([0, m.length]).range(["#00B9FA", "#F95002"]).interpolate(Ie);
2589
- T(o, s, c, t, n, e, r.db.getExcludes(), r.db.getIncludes()), O(c, s, t, n), w(e, o, s, c, a, l, t, n), k(o, s, c, a, l), A(c, s, t, n);
2590
+ let i = o.barHeight, a = i + o.barGap, s = o.topPadding, c = o.leftPadding, l = D().domain([0, m.length]).range(["#00B9FA", "#F95002"]).interpolate(Ie);
2591
+ T(a, s, c, t, n, e, r.db.getExcludes(), r.db.getIncludes()), O(c, s, t, n), w(e, a, s, c, i, l, t, n), k(a, s, c, i, l), ee(c, s, t, n);
2590
2592
  }
2591
- _(C, "makeGantt");
2592
- function w(e, n, a, o, s, l, u) {
2593
+ a(C, "makeGantt");
2594
+ function w(e, n, i, a, c, l, u) {
2593
2595
  e.sort((e, t) => e.vert === t.vert ? 0 : e.vert ? 1 : -1);
2594
2596
  let d = [...new Set(e.map((e) => e.order))].map((t) => e.find((e) => e.order === t));
2595
- b.append("g").selectAll("rect").data(d).enter().append("rect").attr("x", 0).attr("y", function(e, t) {
2596
- return t = e.order, t * n + a - 2;
2597
+ y.append("g").selectAll("rect").data(d).enter().append("rect").attr("x", 0).attr("y", function(e, t) {
2598
+ return t = e.order, t * n + i - 2;
2597
2599
  }).attr("width", function() {
2598
- return u - i.rightPadding / 2;
2600
+ return u - o.rightPadding / 2;
2599
2601
  }).attr("height", n).attr("class", function(e) {
2600
- for (let [t, n] of m.entries()) if (e.type === n) return "section section" + t % i.numberSectionStyles;
2602
+ for (let [t, n] of m.entries()) if (e.type === n) return "section section" + t % o.numberSectionStyles;
2601
2603
  return "section section0";
2602
2604
  }).enter();
2603
- let f = b.append("g").selectAll("rect").data(e).enter(), h = r.db.getLinks();
2605
+ let f = y.append("g").selectAll("rect").data(e).enter(), h = r.db.getLinks();
2604
2606
  if (f.append("rect").attr("id", function(e) {
2605
2607
  return t + "-" + e.id;
2606
2608
  }).attr("rx", 3).attr("ry", 3).attr("x", function(e) {
2607
- return e.milestone ? x(e.startTime) + o + .5 * (x(e.endTime) - x(e.startTime)) - .5 * s : x(e.startTime) + o;
2609
+ return e.milestone ? b(e.startTime) + a + .5 * (b(e.endTime) - b(e.startTime)) - .5 * c : b(e.startTime) + a;
2608
2610
  }).attr("y", function(e, t) {
2609
- return t = e.order, e.vert ? i.gridLineStartPadding : t * n + a;
2611
+ return t = e.order, e.vert ? o.gridLineStartPadding : t * n + i;
2610
2612
  }).attr("width", function(e) {
2611
- return e.milestone ? s : e.vert ? .08 * s : x(e.renderEndTime || e.endTime) - x(e.startTime);
2613
+ return e.milestone ? c : e.vert ? .08 * c : b(e.renderEndTime || e.endTime) - b(e.startTime);
2612
2614
  }).attr("height", function(e) {
2613
- return e.vert ? p.length * (i.barHeight + i.barGap) + i.barHeight * 2 : s;
2615
+ return e.vert ? p.length * (o.barHeight + o.barGap) + o.barHeight * 2 : c;
2614
2616
  }).attr("transform-origin", function(e, t) {
2615
- return t = e.order, (x(e.startTime) + o + .5 * (x(e.endTime) - x(e.startTime))).toString() + "px " + (t * n + a + .5 * s).toString() + "px";
2617
+ return t = e.order, (b(e.startTime) + a + .5 * (b(e.endTime) - b(e.startTime))).toString() + "px " + (t * n + i + .5 * c).toString() + "px";
2616
2618
  }).attr("class", function(e) {
2617
2619
  let t = "";
2618
2620
  e.classes.length > 0 && (t = e.classes.join(" "));
2619
2621
  let n = 0;
2620
- for (let [t, r] of m.entries()) e.type === r && (n = t % i.numberSectionStyles);
2622
+ for (let [t, r] of m.entries()) e.type === r && (n = t % o.numberSectionStyles);
2621
2623
  let r = "";
2622
2624
  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;
2623
2625
  }), f.append("text").attr("id", function(e) {
2624
2626
  return t + "-" + e.id + "-text";
2625
2627
  }).text(function(e) {
2626
2628
  return e.task;
2627
- }).attr("font-size", i.fontSize).attr("x", function(e) {
2628
- let t = x(e.startTime), n = x(e.renderEndTime || e.endTime);
2629
- if (e.milestone && (t += .5 * (x(e.endTime) - x(e.startTime)) - .5 * s, n = t + s), e.vert) return x(e.startTime) + o;
2629
+ }).attr("font-size", o.fontSize).attr("x", function(e) {
2630
+ let t = b(e.startTime), n = b(e.renderEndTime || e.endTime);
2631
+ if (e.milestone && (t += .5 * (b(e.endTime) - b(e.startTime)) - .5 * c, n = t + c), e.vert) return b(e.startTime) + a;
2630
2632
  let r = this.getBBox().width;
2631
- return r > n - t ? n + r + 1.5 * i.leftPadding > u ? t + o - 5 : n + o + 5 : (n - t) / 2 + t + o;
2633
+ return r > n - t ? n + r + 1.5 * o.leftPadding > u ? t + a - 5 : n + a + 5 : (n - t) / 2 + t + a;
2632
2634
  }).attr("y", function(e, t) {
2633
- 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);
2634
- }).attr("text-height", s).attr("class", function(e) {
2635
- let t = x(e.startTime), n = x(e.endTime);
2636
- e.milestone && (n = t + s);
2637
- let r = this.getBBox().width, a = "";
2638
- e.classes.length > 0 && (a = e.classes.join(" "));
2639
- let o = 0;
2640
- for (let [t, n] of m.entries()) e.type === n && (o = t % i.numberSectionStyles);
2641
- let c = "";
2642
- 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;
2643
- }), c().securityLevel === "sandbox") {
2635
+ return e.vert ? o.gridLineStartPadding + p.length * (o.barHeight + o.barGap) + 60 : (t = e.order, t * n + o.barHeight / 2 + (o.fontSize / 2 - 2) + i);
2636
+ }).attr("text-height", c).attr("class", function(e) {
2637
+ let t = b(e.startTime), n = b(e.endTime);
2638
+ e.milestone && (n = t + c);
2639
+ let r = this.getBBox().width, i = "";
2640
+ e.classes.length > 0 && (i = e.classes.join(" "));
2641
+ let a = 0;
2642
+ for (let [t, n] of m.entries()) e.type === n && (a = t % o.numberSectionStyles);
2643
+ let s = "";
2644
+ return e.active && (s = e.crit ? "activeCritText" + a : "activeText" + a), e.done ? s = e.crit ? s + " doneCritText" + a : s + " doneText" + a : e.crit && (s = s + " critText" + a), e.milestone && (s += " milestoneText"), e.vert && (s += " vertText"), r > n - t ? n + r + 1.5 * o.leftPadding > u ? i + " taskTextOutsideLeft taskTextOutside" + a + " " + s : i + " taskTextOutsideRight taskTextOutside" + a + " " + s + " width-" + r : i + " taskText taskText" + a + " " + s + " width-" + r;
2645
+ }), x().securityLevel === "sandbox") {
2644
2646
  let e;
2645
- e = y("#i" + t);
2647
+ e = s("#i" + t);
2646
2648
  let n = e.nodes()[0].contentDocument;
2647
2649
  f.filter(function(e) {
2648
2650
  return h.has(e.id);
@@ -2654,74 +2656,74 @@ var fi = /* @__PURE__ */ _(function() {
2654
2656
  });
2655
2657
  }
2656
2658
  }
2657
- _(w, "drawRects");
2658
- function T(e, n, a, o, s, c, l, u) {
2659
- if (l.length === 0 && u.length === 0) return;
2660
- let d, f;
2661
- for (let { startTime: e, endTime: t } of c) (d === void 0 || e < d) && (d = e), (f === void 0 || t > f) && (f = t);
2662
- if (!d || !f) return;
2663
- if ((0, Y.default)(f).diff((0, Y.default)(d), "year") > 5) {
2664
- g.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");
2659
+ a(w, "drawRects");
2660
+ function T(e, n, a, s, c, l, u, d) {
2661
+ if (u.length === 0 && d.length === 0) return;
2662
+ let f, p;
2663
+ for (let { startTime: e, endTime: t } of l) (f === void 0 || e < f) && (f = e), (p === void 0 || t > p) && (p = t);
2664
+ if (!f || !p) return;
2665
+ if ((0, Y.default)(p).diff((0, Y.default)(f), "year") > 5) {
2666
+ i.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");
2665
2667
  return;
2666
2668
  }
2667
- let p = r.db.getDateFormat(), m = [], h = null, _ = (0, Y.default)(d);
2668
- for (; _.valueOf() <= f;) r.db.isInvalidDate(_, p, l, u) ? h ? h.end = _ : h = {
2669
+ let m = r.db.getDateFormat(), h = [], g = null, _ = (0, Y.default)(f);
2670
+ for (; _.valueOf() <= p;) r.db.isInvalidDate(_, m, u, d) ? g ? g.end = _ : g = {
2669
2671
  start: _,
2670
2672
  end: _
2671
- } : h &&= (m.push(h), null), _ = _.add(1, "d");
2672
- b.append("g").selectAll("rect").data(m).enter().append("rect").attr("id", (e) => t + "-exclude-" + e.start.format("YYYY-MM-DD")).attr("x", (e) => x(e.start.startOf("day")) + a).attr("y", i.gridLineStartPadding).attr("width", (e) => x(e.end.endOf("day")) - x(e.start.startOf("day"))).attr("height", s - n - i.gridLineStartPadding).attr("transform-origin", function(t, n) {
2673
- return (x(t.start) + a + .5 * (x(t.end) - x(t.start))).toString() + "px " + (n * e + .5 * s).toString() + "px";
2673
+ } : g &&= (h.push(g), null), _ = _.add(1, "d");
2674
+ y.append("g").selectAll("rect").data(h).enter().append("rect").attr("id", (e) => t + "-exclude-" + e.start.format("YYYY-MM-DD")).attr("x", (e) => b(e.start.startOf("day")) + a).attr("y", o.gridLineStartPadding).attr("width", (e) => b(e.end.endOf("day")) - b(e.start.startOf("day"))).attr("height", c - n - o.gridLineStartPadding).attr("transform-origin", function(t, n) {
2675
+ return (b(t.start) + a + .5 * (b(t.end) - b(t.start))).toString() + "px " + (n * e + .5 * c).toString() + "px";
2674
2676
  }).attr("class", "exclude-range");
2675
2677
  }
2676
- _(T, "drawExcludeDays");
2678
+ a(T, "drawExcludeDays");
2677
2679
  function E(e, t, n, r) {
2678
2680
  if (n <= 0 || e > t) return Infinity;
2679
2681
  let i = t - e, a = Y.default.duration({ [r ?? "day"]: n }).asMilliseconds();
2680
2682
  return a <= 0 ? Infinity : Math.ceil(i / a);
2681
2683
  }
2682
- _(E, "getEstimatedTickCount");
2684
+ a(E, "getEstimatedTickCount");
2683
2685
  function O(e, t, n, a) {
2684
- let o = r.db.getDateFormat(), s = r.db.getAxisFormat(), c;
2685
- c = s || (o === "D" ? "%d" : i.axisFormat ?? "%Y-%m-%d");
2686
- let l = he(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);
2687
- if (u !== null) {
2688
- let e = parseInt(u[1], 10);
2689
- if (isNaN(e) || e <= 0) g.warn(`Invalid tick interval value: "${u[1]}". Skipping custom tick interval.`);
2686
+ let s = r.db.getDateFormat(), c = r.db.getAxisFormat(), l;
2687
+ l = c || (s === "D" ? "%d" : o.axisFormat ?? "%Y-%m-%d");
2688
+ let u = he(b).tickSize(-a + t + o.gridLineStartPadding).tickFormat(Fn(l)), d = /^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(r.db.getTickInterval() || o.tickInterval);
2689
+ if (d !== null) {
2690
+ let e = parseInt(d[1], 10);
2691
+ if (isNaN(e) || e <= 0) i.warn(`Invalid tick interval value: "${d[1]}". Skipping custom tick interval.`);
2690
2692
  else {
2691
- let t = u[2], n = r.db.getWeekday() || i.weekday, a = x.domain(), o = a[0], s = a[1], c = E(o, s, e, t);
2692
- if (c > hi) g.warn(`The tick interval "${e}${t}" would generate ${c} ticks, which exceeds the maximum allowed (${hi}). This may indicate an invalid date or time range. Skipping custom tick interval.`);
2693
+ let t = d[2], n = r.db.getWeekday() || o.weekday, a = b.domain(), s = a[0], c = a[1], l = E(s, c, e, t);
2694
+ if (l > hi) i.warn(`The tick interval "${e}${t}" would generate ${l} ticks, which exceeds the maximum allowed (${hi}). This may indicate an invalid date or time range. Skipping custom tick interval.`);
2693
2695
  else switch (t) {
2694
2696
  case "millisecond":
2695
- l.ticks(P.every(e));
2697
+ u.ticks(P.every(e));
2696
2698
  break;
2697
2699
  case "second":
2698
- l.ticks(z.every(e));
2700
+ u.ticks(z.every(e));
2699
2701
  break;
2700
2702
  case "minute":
2701
- l.ticks(Ue.every(e));
2703
+ u.ticks(Ue.every(e));
2702
2704
  break;
2703
2705
  case "hour":
2704
- l.ticks(Ge.every(e));
2706
+ u.ticks(Ge.every(e));
2705
2707
  break;
2706
2708
  case "day":
2707
- l.ticks(B.every(e));
2709
+ u.ticks(B.every(e));
2708
2710
  break;
2709
2711
  case "week":
2710
- l.ticks(pi[n].every(e));
2712
+ u.ticks(pi[n].every(e));
2711
2713
  break;
2712
2714
  case "month":
2713
- l.ticks(st.every(e));
2715
+ u.ticks(st.every(e));
2714
2716
  break;
2715
2717
  }
2716
2718
  }
2717
2719
  }
2718
- if (b.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) {
2719
- let n = me(x).tickSize(-a + t + i.gridLineStartPadding).tickFormat(Fn(c));
2720
- if (u !== null) {
2721
- let e = parseInt(u[1], 10);
2722
- if (isNaN(e) || e <= 0) g.warn(`Invalid tick interval value: "${u[1]}". Skipping custom tick interval.`);
2720
+ if (y.append("g").attr("class", "grid").attr("transform", "translate(" + e + ", " + (a - 50) + ")").call(u).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em"), r.db.topAxisEnabled() || o.topAxis) {
2721
+ let n = me(b).tickSize(-a + t + o.gridLineStartPadding).tickFormat(Fn(l));
2722
+ if (d !== null) {
2723
+ let e = parseInt(d[1], 10);
2724
+ if (isNaN(e) || e <= 0) i.warn(`Invalid tick interval value: "${d[1]}". Skipping custom tick interval.`);
2723
2725
  else {
2724
- let t = u[2], a = r.db.getWeekday() || i.weekday, o = x.domain(), s = o[0], c = o[1];
2726
+ let t = d[2], i = r.db.getWeekday() || o.weekday, a = b.domain(), s = a[0], c = a[1];
2725
2727
  if (E(s, c, e, t) <= hi) switch (t) {
2726
2728
  case "millisecond":
2727
2729
  n.ticks(P.every(e));
@@ -2739,7 +2741,7 @@ var fi = /* @__PURE__ */ _(function() {
2739
2741
  n.ticks(B.every(e));
2740
2742
  break;
2741
2743
  case "week":
2742
- n.ticks(pi[a].every(e));
2744
+ n.ticks(pi[i].every(e));
2743
2745
  break;
2744
2746
  case "month":
2745
2747
  n.ticks(st.every(e));
@@ -2747,14 +2749,14 @@ var fi = /* @__PURE__ */ _(function() {
2747
2749
  }
2748
2750
  }
2749
2751
  }
2750
- b.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);
2752
+ y.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);
2751
2753
  }
2752
2754
  }
2753
- _(O, "makeGrid");
2755
+ a(O, "makeGrid");
2754
2756
  function k(e, t) {
2755
2757
  let n = 0, r = Object.keys(h).map((e) => [e, h[e]]);
2756
- b.append("g").selectAll("text").data(r).enter().append(function(e) {
2757
- let t = e[0].split(u.lineBreakRegex), n = -(t.length - 1) / 2, r = d.createElementNS("http://www.w3.org/2000/svg", "text");
2758
+ y.append("g").selectAll("text").data(r).enter().append(function(e) {
2759
+ let t = e[0].split(v.lineBreakRegex), n = -(t.length - 1) / 2, r = d.createElementNS("http://www.w3.org/2000/svg", "text");
2758
2760
  r.setAttribute("dy", n + "em");
2759
2761
  for (let [e, n] of t.entries()) {
2760
2762
  let t = d.createElementNS("http://www.w3.org/2000/svg", "tspan");
@@ -2764,28 +2766,28 @@ var fi = /* @__PURE__ */ _(function() {
2764
2766
  }).attr("x", 10).attr("y", function(i, a) {
2765
2767
  if (a > 0) for (let o = 0; o < a; o++) return n += r[a - 1][1], i[1] * e / 2 + n * e + t;
2766
2768
  else return i[1] * e / 2 + t;
2767
- }).attr("font-size", i.sectionFontSize).attr("class", function(e) {
2768
- for (let [t, n] of m.entries()) if (e[0] === n) return "sectionTitle sectionTitle" + t % i.numberSectionStyles;
2769
+ }).attr("font-size", o.sectionFontSize).attr("class", function(e) {
2770
+ for (let [t, n] of m.entries()) if (e[0] === n) return "sectionTitle sectionTitle" + t % o.numberSectionStyles;
2769
2771
  return "sectionTitle";
2770
2772
  });
2771
2773
  }
2772
- _(k, "vertLabels");
2773
- function A(e, t, n, a) {
2774
- let o = r.db.getTodayMarker();
2775
- if (o === "off") return;
2776
- let s = b.append("g").attr("class", "today"), c = /* @__PURE__ */ new Date(), l = s.append("line");
2777
- 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, ";"));
2774
+ a(k, "vertLabels");
2775
+ function ee(e, t, n, i) {
2776
+ let a = r.db.getTodayMarker();
2777
+ if (a === "off") return;
2778
+ let s = y.append("g").attr("class", "today"), c = /* @__PURE__ */ new Date(), l = s.append("line");
2779
+ l.attr("x1", b(c) + e).attr("x2", b(c) + e).attr("y1", o.titleTopMargin).attr("y2", i - o.titleTopMargin).attr("class", "today"), a !== "" && l.attr("style", a.replace(/,/g, ";"));
2778
2780
  }
2779
- _(A, "drawToday");
2781
+ a(ee, "drawToday");
2780
2782
  function ne(e) {
2781
2783
  let t = {}, n = [];
2782
2784
  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]));
2783
2785
  return n;
2784
2786
  }
2785
- _(ne, "checkUnique");
2787
+ a(ne, "checkUnique");
2786
2788
  }, "draw")
2787
2789
  },
2788
- styles: /* @__PURE__ */ _((e) => `
2790
+ styles: /* @__PURE__ */ a((e) => `
2789
2791
  .mermaid-main-font {
2790
2792
  font-family: ${e.fontFamily};
2791
2793
  }