@nxgt/material 2.2.0 → 2.3.1

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 (214) hide show
  1. package/README.md +7 -2
  2. package/dist/{_Uint8Array-BlYETJ93.js → _Uint8Array-BDK6FjpM.js} +20 -20
  3. package/dist/{abnfDiagram-O67JEVCF-UBHbDvRt.js → abnfDiagram-O67JEVCF-C7NxOWqd.js} +8 -8
  4. package/dist/architecture-7GRP2DOG-CMg7-eYj.js +3 -0
  5. package/dist/{architectureDiagram-NJMV4G6O-YUaZEFrZ.js → architectureDiagram-NJMV4G6O-BIvwyzEh.js} +12 -12
  6. package/dist/{blockDiagram-BEXU5L5S-LYb2ZWFy.js → blockDiagram-BEXU5L5S-C8q-lXgt.js} +18 -18
  7. package/dist/{c4Diagram-YGBWAQC7-C-2N38iN.js → c4Diagram-YGBWAQC7-WgqlRIL5.js} +10 -10
  8. package/dist/channel-Ba8pEAWx.js +5 -0
  9. package/dist/{chunk-2Q5K7J3B-kzxEEeTu.js → chunk-2Q5K7J3B-C1pX24ft.js} +2 -2
  10. package/dist/{chunk-3FUC2YCW-uD4dp-_M.js → chunk-3FUC2YCW-BGpNbruY.js} +11 -11
  11. package/dist/{chunk-5DYCD2WN-B2Jnu3zk.js → chunk-5DYCD2WN-Bqi3iL5i.js} +5 -5
  12. package/dist/{chunk-5VM5RSS4-Cr17nBXp.js → chunk-5VM5RSS4-BFskf6Qk.js} +2 -2
  13. package/dist/{chunk-6AEJRKK7-C9kihZu8.js → chunk-6AEJRKK7-DDXoGWDs.js} +4 -4
  14. package/dist/{chunk-742MDFTN-C8SK_MEU.js → chunk-742MDFTN-nG_ROTnT.js} +14 -14
  15. package/dist/{chunk-7INBJB4K-CyUOVm3_.js → chunk-7INBJB4K-Dg64CbhT.js} +10 -10
  16. package/dist/{chunk-7M6MHVWA-stRISv0F.js → chunk-7M6MHVWA-_-i4Sb1c.js} +14 -14
  17. package/dist/{chunk-7PRAP22T-DSh07ASj.js → chunk-7PRAP22T-DIiYRAce.js} +3 -3
  18. package/dist/{chunk-DUW6YSOI-BdOla2G8.js → chunk-DUW6YSOI-9R-v-IIp.js} +2 -2
  19. package/dist/{chunk-FOHPRMQF-Crq0JMf2.js → chunk-FOHPRMQF-DBc3Omt0.js} +1 -1
  20. package/dist/{chunk-GNY47TPC-CNRH-hmN.js → chunk-GNY47TPC-BJperC1X.js} +14 -14
  21. package/dist/{chunk-GTNCS2PH-Dd-9mUKz.js → chunk-GTNCS2PH-CzDYTYNy.js} +5 -5
  22. package/dist/{chunk-GWA4HPMP-LeZ8CTY7.js → chunk-GWA4HPMP-CmsxMX3A.js} +5 -5
  23. package/dist/{chunk-J5ZVWO5B-CYzz6Pq8.js → chunk-J5ZVWO5B-DmRRmhon.js} +2 -2
  24. package/dist/{chunk-JWPE2WC7-Ccb0QaC8.js → chunk-JWPE2WC7-BGVSGRTC.js} +2 -2
  25. package/dist/{chunk-LNGE3PJU-CiGrDO_F.js → chunk-LNGE3PJU-DJjGTS7O.js} +2 -2
  26. package/dist/{chunk-MBY4JIJT-efJLM0ZL.js → chunk-MBY4JIJT-IA2XBafa.js} +8 -8
  27. package/dist/{chunk-NETBCI7D-Dh3LtOKr.js → chunk-NETBCI7D-D0kbMnm0.js} +3 -3
  28. package/dist/{chunk-O7XYJQB3-CocGKgmL.js → chunk-O7XYJQB3-C87zK8E5.js} +5 -5
  29. package/dist/{chunk-UA2S7LBM-C81eiQ4_.js → chunk-UA2S7LBM-B0LGFGu3.js} +10 -10
  30. package/dist/{chunk-WEXAMYUT-Dt2jrFYj.js → chunk-WEXAMYUT-C-QP0DFq.js} +4 -4
  31. package/dist/{chunk-XXDRQBXY-mQqOBHO_.js → chunk-XXDRQBXY-Bq4sFnO2.js} +3 -3
  32. package/dist/{chunk-Y2CYZVJY-i11wjrBe.js → chunk-Y2CYZVJY-BAad7w_K.js} +1 -1
  33. package/dist/{chunk-Z7XXMR3K-D00WQ1MY.js → chunk-Z7XXMR3K-CJmPL4k9.js} +12 -12
  34. package/dist/{chunk-ZIGJFQKS-Dqo-x9kg.js → chunk-ZIGJFQKS-HDJ6e6OJ.js} +29 -29
  35. package/dist/{classDiagram-v2-NBCMYWYE-C4ucYlr1.js → classDiagram-v2-NBCMYWYE-DRoCWiaP.js} +18 -18
  36. package/dist/{client-only.utils-ojMUdy5B.js → client-only.utils-qMX_CMiw.js} +25 -25
  37. package/dist/{components-DqMrnRRo.js → components-CRrswCsD.js} +33211 -26822
  38. package/dist/components.js +6 -7
  39. package/dist/{cose-bilkent-JH36ORCC-BgR2hiLh.js → cose-bilkent-JH36ORCC-11-T1rfk.js} +5 -5
  40. package/dist/cynefin-OW5HDTMX-BGe4AjUw.js +3 -0
  41. package/dist/{cynefinDiagram-VND7K2PF-wsthSZGu.js → cynefinDiagram-VND7K2PF-1kHi2rGa.js} +8 -8
  42. package/dist/{cytoscape.esm-_jXi1N4y.js → cytoscape.esm-DXVRLXF3.js} +1 -1
  43. package/dist/{dagre-6A5THRUB-D9hh4vCU.js → dagre-6A5THRUB-B11jdkPL.js} +104 -104
  44. package/dist/{diagram-22UHCM2B-Bu26TJjA.js → diagram-22UHCM2B-CAVrn_uY.js} +20 -20
  45. package/dist/diagram-3UASUU5V-uO9-gtWR.js +525 -0
  46. package/dist/{diagram-ATOU4E4O-DNtxHPVW.js → diagram-ATOU4E4O-Clju_0RY.js} +8 -8
  47. package/dist/{diagram-CDSNMT55-BrwCxgMX.js → diagram-CDSNMT55-w7kkJ6MU.js} +10 -10
  48. package/dist/{diagram-MLGK6HIB-Bk26pSvC.js → diagram-MLGK6HIB-mUOtRVmm.js} +8 -8
  49. package/dist/{diagram-MPIPVDR6-Bl3F8b-U.js → diagram-MPIPVDR6-DEUw58dq.js} +8 -8
  50. package/dist/{dist-C-0DUGrt.js → dist-CeHNxLJG.js} +30 -30
  51. package/dist/{dist-CZn89tDX.js → dist-gYpAi-su.js} +2 -2
  52. package/dist/dnd.js +1 -1
  53. package/dist/{ebnfDiagram-ZINNZB2B-C7vCu85A.js → ebnfDiagram-ZINNZB2B-BYfatie5.js} +8 -8
  54. package/dist/{elk-276RUBZZ-ChJLevem.js → elk-276RUBZZ-BALenDhN.js} +16 -16
  55. package/dist/{erDiagram-OPXOYQCR-DLzDCh2a.js → erDiagram-OPXOYQCR-FtFHGu-P.js} +17 -17
  56. package/dist/eventmodeling-NTZA5JFV-38h1xeNf.js +3 -0
  57. package/dist/{field-blur-CtjbtCDw.js → field-blur-DkydMwaN.js} +614 -643
  58. package/dist/flowDiagram-KWPJA3E3-DZwUgKQu.js +17 -0
  59. package/dist/{ganttDiagram-FUAMR5RP-35sd5PoK.js → ganttDiagram-FUAMR5RP-CmMpH0CG.js} +436 -1117
  60. package/dist/gitGraph-4MIJSDKK-C-5NH3Jx.js +3 -0
  61. package/dist/{gitGraphDiagram-X574FWY7-Z7zhlcB8.js → gitGraphDiagram-X574FWY7-DcGaPSwy.js} +8 -8
  62. package/dist/{graphlib-DlxAzBTD.js → graphlib-DovxbouT.js} +43 -43
  63. package/dist/hooks.js +15 -15
  64. package/dist/i18n.js +4 -4
  65. package/dist/{icon-button-38As1vrs.js → icon-button-Dl9PDYCE.js} +15 -15
  66. package/dist/info-A6RAGUB7-DTwpNebQ.js +3 -0
  67. package/dist/{infoDiagram-VRGFBTTK-BwoHwPPX.js → infoDiagram-VRGFBTTK-Cvj167dl.js} +6 -6
  68. package/dist/{init-Buj1GKRa.js → init-B-aM8wRX.js} +1 -1
  69. package/dist/{isArrayLikeObject-DsRXN32g.js → isArrayLikeObject-D0u9Q9Yg.js} +11 -11
  70. package/dist/{ishikawaDiagram-OU5B5YK6-C-aWtSta.js → ishikawaDiagram-OU5B5YK6-ChBwjCfr.js} +7 -7
  71. package/dist/{journeyDiagram-ZHPQQLJL-vXvTzJwE.js → journeyDiagram-ZHPQQLJL-DVxTOFQu.js} +7 -7
  72. package/dist/{kanban-definition-PNTS6WVX-Co0CvKcV.js → kanban-definition-PNTS6WVX-BRoa-Yp5.js} +14 -14
  73. package/dist/{katex-BMQ6LGsM.js → katex-BLTzjTha.js} +1 -1
  74. package/dist/lib/components/ui/media/pdf-viewer/index.d.ts +3 -3
  75. package/dist/lib/components/ui/media/pdf-viewer/pdf-page-list.d.ts +1 -1
  76. package/dist/lib/components/ui/media/pdf-viewer/pdf-reader-body.d.ts +2 -2
  77. package/dist/lib/components/ui/media/pdf-viewer/pdf-reader.reducer.d.ts +1 -1
  78. package/dist/lib/components/ui/media/pdf-viewer/pdf-sidebar.d.ts +1 -1
  79. package/dist/lib/components/ui/media/pdf-viewer/pdf-thumbnail-sidebar.d.ts +1 -1
  80. package/dist/lib/components/ui/media/pdf-viewer/types.d.ts +3 -3
  81. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-document-search.d.ts +1 -1
  82. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-file-actions.d.ts +1 -1
  83. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-page-area.d.ts +1 -1
  84. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-reader.d.ts +1 -1
  85. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-search-hits.d.ts +1 -2
  86. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-source.d.ts +1 -1
  87. package/dist/lib/hooks/use-formatters.d.ts +1 -1
  88. package/dist/lib/lib/index.d.ts +1 -1
  89. package/dist/lib/print/components/print-data-table/print-data-table.d.ts +1 -1
  90. package/dist/lib/print/components/print-data-table/print-key-value.d.ts +2 -2
  91. package/dist/lib/print/components/print-data-table/print-metric.d.ts +2 -2
  92. package/dist/lib/print/components/print-document/print-document.d.ts +1 -1
  93. package/dist/lib/print/components/print-document/print-render-context.d.ts +1 -1
  94. package/dist/lib/print/components/print-header.d.ts +1 -1
  95. package/dist/lib/print/index.d.ts +4 -4
  96. package/dist/lib/print/output/index.d.ts +2 -2
  97. package/dist/lib/print/output/pdf-response.d.ts +1 -1
  98. package/dist/lib/print/output/types.d.ts +3 -3
  99. package/dist/lib/print/output/use-pdf-file.d.ts +1 -1
  100. package/dist/lib/vite/index.d.ts +5 -64
  101. package/dist/{lib-uF8iIfvP.js → lib-B_cBmfz5.js} +70 -69
  102. package/dist/lib.js +5 -6
  103. package/dist/main.js +17 -19
  104. package/dist/map.js +4 -4
  105. package/dist/{math-C5EhTgJw.js → math-D0ky-xWd.js} +1 -1
  106. package/dist/{merge-Z2oE4ahJ.js → merge-DQLOWMVN.js} +24 -24
  107. package/dist/{mermaid-parser.core-Cz-MfB4Z.js → mermaid-parser.core-BXD_TD1T.js} +32 -32
  108. package/dist/{mermaid.core-6Yzht5pQ.js → mermaid.core-CQ6lUhgC.js} +59 -59
  109. package/dist/{mindmap-definition-NLK3R4M7-AxpMaPtm.js → mindmap-definition-NLK3R4M7-DyB5NgHM.js} +18 -18
  110. package/dist/{number.utils-CRFiOD5c.js → number.utils-BiBN2hWJ.js} +48 -48
  111. package/dist/{ordinal-DuP05kVQ.js → ordinal-DwxdXP1t.js} +3 -3
  112. package/dist/packet-AYTQ26CC-Cc2sGaDY.js +3 -0
  113. package/dist/{path-Cjou0lUh.js → path-Cxq8zobN.js} +3 -3
  114. package/dist/{pdf.worker.min-DRpqlnXj.js → pdf.worker.min-ByGJNiUH.js} +1 -1
  115. package/dist/{pegDiagram-GJSIUBJH-DjilqSgv.js → pegDiagram-GJSIUBJH-Dcm3LCQX.js} +8 -8
  116. package/dist/pie-WAS4IAKB-Qm7ZL20Y.js +3 -0
  117. package/dist/{pieDiagram-5QR66LMP-H8rVCHkC.js → pieDiagram-5QR66LMP-DCdDWF2H.js} +16 -16
  118. package/dist/print.js +164 -1113
  119. package/dist/{quadrantDiagram-O4NWA36T-CEDIjm-K.js → quadrantDiagram-O4NWA36T-BMfcGUfy.js} +5 -5
  120. package/dist/radar-RG4KPBEZ-TQ0zaqCR.js +3 -0
  121. package/dist/railroad-74A4TZTK-bk-BYNub.js +3 -0
  122. package/dist/railroad-abnf-HS5TGJTU-Bdw25bd-.js +3 -0
  123. package/dist/railroad-ebnf-LZEXJU2U-DiFjNUyt.js +3 -0
  124. package/dist/railroad-peg-WCYAUIDC-xf3JLr_Y.js +3 -0
  125. package/dist/{railroadDiagram-XR7U4H2S-BxR9jg9Y.js → railroadDiagram-XR7U4H2S-CzOJlTUA.js} +8 -8
  126. package/dist/{requirementDiagram-PLB6GJNP-DAuKYcHc.js → requirementDiagram-PLB6GJNP-Bg-uQlZj.js} +16 -16
  127. package/dist/{rough.esm-rcMoXTJj.js → rough.esm-Cvc79rxE.js} +1 -1
  128. package/dist/{sankeyDiagram-IPEJSGJF-C3JJqzLE.js → sankeyDiagram-IPEJSGJF-E-o_7bq2.js} +18 -18
  129. package/dist/{sequenceDiagram-PO4LG4MO-Cs8x9lRY.js → sequenceDiagram-PO4LG4MO-DMLeIQ03.js} +9 -9
  130. package/dist/{sizeCapture-INFHLROL-CHXIsPO_.js → sizeCapture-INFHLROL-C_032szM.js} +2 -2
  131. package/dist/{sortable-provider-DalccwHj.js → sortable-provider-NE74zkmo.js} +7 -7
  132. package/dist/{src-BIbdeDuO.js → src-CJ8DNrI1.js} +82 -82
  133. package/dist/{stateDiagram-v2-GCMORJYK-PpP0APmW.js → stateDiagram-v2-GCMORJYK-BDB4K1Fw.js} +17 -17
  134. package/dist/{step-B6KjpKgN.js → step-Dt43c9X4.js} +17 -17
  135. package/dist/{string-B-ZWXCs2.js → string-BqyOfyFV.js} +8 -8
  136. package/dist/{swimlanes-2SLR337P-BmqILJTV.js → swimlanes-2SLR337P-C406S8ui.js} +14 -14
  137. package/dist/swimlanesDiagram-TC7HE7FX-BstKZ--K.js +28 -0
  138. package/dist/{timeline-definition-EJHVYXUP-CEOIzkcq.js → timeline-definition-EJHVYXUP-BmhxT0qo.js} +8 -8
  139. package/dist/{translate-material-BO32ZDCi.js → translate-material-CRxs5aS3.js} +1 -1
  140. package/dist/{translator-CiPgm2s3.js → translator-BfyVF7Ej.js} +88 -88
  141. package/dist/treeView-Q6P3EWNA-Dyk8HSag.js +3 -0
  142. package/dist/treemap-WGGIJYW6-CHrhBv7m.js +3 -0
  143. package/dist/{use-heading-spy-DSs5Coe-.js → use-heading-spy-BiLosksJ.js} +2 -2
  144. package/dist/{use-material-translation-RhoPY_RC.js → use-material-translation-D3HwtYDm.js} +1 -1
  145. package/dist/{usecaseDiagram-POWQR4AR-CMvboR6A.js → usecaseDiagram-POWQR4AR-cHGV1E_T.js} +403 -403
  146. package/dist/{utils-Brj-Qb2N.js → utils-UBn-46YY.js} +2 -2
  147. package/dist/{vennDiagram-UO4OBE2U-xN_G4DeI.js → vennDiagram-UO4OBE2U-Aql8mhcy.js} +8 -8
  148. package/dist/vite.js +1 -17
  149. package/dist/wardley-WFR3VGLG-DnLHjx6k.js +3 -0
  150. package/dist/{wardleyDiagram-VNRHLVJA-C0B-kQ2b.js → wardleyDiagram-VNRHLVJA-tknlhG_t.js} +8 -8
  151. package/dist/{xychartDiagram-PMCCYNJV-Crmi6_s-.js → xychartDiagram-PMCCYNJV-ixeD_kO0.js} +24 -24
  152. package/docs/components/rich-widgets.md +2 -0
  153. package/docs/getting-started.md +20 -0
  154. package/docs/guides/printing.md +6 -2
  155. package/docs/guides/ssr.md +8 -2
  156. package/docs/roadmap.md +9 -0
  157. package/docs/troubleshooting.md +57 -2
  158. package/package.json +30 -33
  159. package/dist/architecture-7GRP2DOG-DDr0RGVC.js +0 -3
  160. package/dist/channel-CUIVvEUM.js +0 -5
  161. package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +0 -3
  162. package/dist/diagram-3UASUU5V-BEydDExL.js +0 -724
  163. package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +0 -3
  164. package/dist/flowDiagram-KWPJA3E3-uiZryqlC.js +0 -17
  165. package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +0 -3
  166. package/dist/info-A6RAGUB7-BvtuPd9C.js +0 -3
  167. package/dist/lib/components/ui/fields/currency-field/currency-digits.d.ts +0 -7
  168. package/dist/lib/components/ui/forms/field-blur-layers.d.ts +0 -34
  169. package/dist/lib/components/ui/media/pdf-viewer/pdf-document-search.d.ts +0 -44
  170. package/dist/lib/components/ui/media/pdf-viewer/pdf-escape.d.ts +0 -6
  171. package/dist/lib/components/ui/media/pdf-viewer/pdf-page-geometry.d.ts +0 -57
  172. package/dist/lib/components/ui/media/pdf-viewer/pdf-page-sizes.d.ts +0 -37
  173. package/dist/lib/components/ui/media/pdf-viewer/pdf-scroll-spy.d.ts +0 -42
  174. package/dist/lib/components/ui/media/pdf-viewer/pdf-text-search.d.ts +0 -25
  175. package/dist/lib/lib/pdf-download.d.ts +0 -35
  176. package/dist/lib/lib/pdf-file-name.d.ts +0 -9
  177. package/dist/lib/lib/pdf-source.d.ts +0 -57
  178. package/dist/lib/lib/print-format.utils.d.ts +0 -59
  179. package/dist/lib/lib/print-fraction-digits.d.ts +0 -12
  180. package/dist/lib/lib/print-table.utils.d.ts +0 -60
  181. package/dist/lib/lib/print-value.utils.d.ts +0 -40
  182. package/dist/lib/pdf-core/file-loader.d.ts +0 -18
  183. package/dist/lib/pdf-core/http.d.ts +0 -22
  184. package/dist/lib/pdf-core/index.d.ts +0 -11
  185. package/dist/lib/pdf-core/model/builders.d.ts +0 -54
  186. package/dist/lib/pdf-core/model/data-table.d.ts +0 -24
  187. package/dist/lib/pdf-core/model/index.d.ts +0 -4
  188. package/dist/lib/pdf-core/model/nodes.d.ts +0 -133
  189. package/dist/lib/pdf-core/model/theme.d.ts +0 -16
  190. package/dist/lib/pdf-core/model/types.d.ts +0 -108
  191. package/dist/lib/pdf-core/render/context.d.ts +0 -50
  192. package/dist/lib/pdf-core/render/document.d.ts +0 -21
  193. package/dist/lib/pdf-core/render/index.d.ts +0 -5
  194. package/dist/lib/pdf-core/render/nodes/blocks.d.ts +0 -19
  195. package/dist/lib/pdf-core/render/nodes/header.d.ts +0 -14
  196. package/dist/lib/pdf-core/render/nodes/layout.d.ts +0 -44
  197. package/dist/lib/pdf-core/render/nodes/table.d.ts +0 -14
  198. package/dist/lib/pdf-core/render/page.d.ts +0 -30
  199. package/dist/lib/pdf-core/render/render-node.d.ts +0 -10
  200. package/dist/lib/pdf-core/render/styles.d.ts +0 -303
  201. package/dist/packet-AYTQ26CC-CshIswP8.js +0 -3
  202. package/dist/pdf-download-hrKrI5_6.js +0 -153
  203. package/dist/pie-WAS4IAKB-CYs22y4X.js +0 -3
  204. package/dist/print-format.utils-B7K9qvuo.js +0 -53
  205. package/dist/print-fraction-digits-WtEBeztr.js +0 -5
  206. package/dist/radar-RG4KPBEZ-BOJKjbGv.js +0 -3
  207. package/dist/railroad-74A4TZTK-Dt1BmUkI.js +0 -3
  208. package/dist/railroad-abnf-HS5TGJTU-Cs9GMUMY.js +0 -3
  209. package/dist/railroad-ebnf-LZEXJU2U-D4y0fXoW.js +0 -3
  210. package/dist/railroad-peg-WCYAUIDC-D2f_ZNR5.js +0 -3
  211. package/dist/swimlanesDiagram-TC7HE7FX-DO3BxSlE.js +0 -28
  212. package/dist/treeView-Q6P3EWNA-BrJylG9N.js +0 -3
  213. package/dist/treemap-WGGIJYW6-DpIZuqbj.js +0 -3
  214. package/dist/wardley-WFR3VGLG-CbwdAAbH.js +0 -3
@@ -1,92 +1,92 @@
1
- import { bt as e, gt as t } from "./icon-button-38As1vrs.js";
2
- import { H as n, J as r, U as i, Y as a } from "./components-DqMrnRRo.js";
3
- import { a as o, c as s, g as c, h as l, l as u, m as d, o as f } from "./string-B-ZWXCs2.js";
4
- import { i as p, n as m, t as h } from "./src-BIbdeDuO.js";
5
- import { g } from "./chunk-ZIGJFQKS-Dqo-x9kg.js";
6
- import { n as _ } from "./chunk-Y2CYZVJY-i11wjrBe.js";
7
- import { H as v, U as y, a as b, c as x, q as S, s as C, v as w, w as T, x as E, y as D } from "./chunk-O7XYJQB3-CocGKgmL.js";
8
- import { t as O } from "./dist-CZn89tDX.js";
9
- //#region node_modules/d3-color/src/lab.js
10
- var k = 18, A = .96422, j = 1, M = .82521, ee = 4 / 29, N = 6 / 29, te = 3 * N * N, ne = N * N * N;
11
- function re(e) {
12
- if (e instanceof P) return new P(e.l, e.a, e.b, e.opacity);
13
- if (e instanceof F) return de(e);
14
- e instanceof u || (e = d(e));
15
- var t = ce(e.r), n = ce(e.g), r = ce(e.b), i = ae((.2225045 * t + .7168786 * n + .0606169 * r) / j), a, o;
16
- return t === n && n === r ? a = o = i : (a = ae((.4360747 * t + .3850649 * n + .1430804 * r) / A), o = ae((.0139322 * t + .0971045 * n + .7141733 * r) / M)), new P(116 * i - 16, 500 * (a - i), 200 * (i - o), e.opacity);
17
- }
18
- function ie(e, t, n, r) {
19
- return arguments.length === 1 ? re(e) : new P(e, t, n, r ?? 1);
20
- }
21
- function P(e, t, n, r) {
1
+ import { bt as e, gt as t } from "./icon-button-Dl9PDYCE.js";
2
+ import { $ as n, G as r, H as i, J as a, K as o, Q as s, U as c, W as l, X as u, Y as d, Z as f, et as p, lt as m, nt as h, q as g, rt as _, tt as v, ut as y } from "./components-CRrswCsD.js";
3
+ import { a as b, c as x, g as S, h as C, l as w, m as T, o as E } from "./string-BqyOfyFV.js";
4
+ import { i as D, n as O, t as k } from "./src-CJ8DNrI1.js";
5
+ import { g as A } from "./chunk-ZIGJFQKS-HDJ6e6OJ.js";
6
+ import { n as j } from "./chunk-Y2CYZVJY-BAad7w_K.js";
7
+ import { H as M, U as N, a as ee, c as te, q as ne, s as re, v as ie, w as ae, x as P, y as oe } from "./chunk-O7XYJQB3-C87zK8E5.js";
8
+ import { t as se } from "./dist-gYpAi-su.js";
9
+ //#region ../../node_modules/d3-color/src/lab.js
10
+ var F = 18, ce = .96422, le = 1, ue = .82521, de = 4 / 29, I = 6 / 29, fe = 3 * I * I, pe = I * I * I;
11
+ function me(e) {
12
+ if (e instanceof L) return new L(e.l, e.a, e.b, e.opacity);
13
+ if (e instanceof R) return Se(e);
14
+ e instanceof w || (e = T(e));
15
+ var t = ye(e.r), n = ye(e.g), r = ye(e.b), i = ge((.2225045 * t + .7168786 * n + .0606169 * r) / le), a, o;
16
+ return t === n && n === r ? a = o = i : (a = ge((.4360747 * t + .3850649 * n + .1430804 * r) / ce), o = ge((.0139322 * t + .0971045 * n + .7141733 * r) / ue)), new L(116 * i - 16, 500 * (a - i), 200 * (i - o), e.opacity);
17
+ }
18
+ function he(e, t, n, r) {
19
+ return arguments.length === 1 ? me(e) : new L(e, t, n, r ?? 1);
20
+ }
21
+ function L(e, t, n, r) {
22
22
  this.l = +e, this.a = +t, this.b = +n, this.opacity = +r;
23
23
  }
24
- l(P, ie, c(s, {
24
+ C(L, he, S(x, {
25
25
  brighter(e) {
26
- return new P(this.l + k * (e ?? 1), this.a, this.b, this.opacity);
26
+ return new L(this.l + F * (e ?? 1), this.a, this.b, this.opacity);
27
27
  },
28
28
  darker(e) {
29
- return new P(this.l - k * (e ?? 1), this.a, this.b, this.opacity);
29
+ return new L(this.l - F * (e ?? 1), this.a, this.b, this.opacity);
30
30
  },
31
31
  rgb() {
32
32
  var e = (this.l + 16) / 116, t = isNaN(this.a) ? e : e + this.a / 500, n = isNaN(this.b) ? e : e - this.b / 200;
33
- return t = A * oe(t), e = j * oe(e), n = M * oe(n), new u(se(3.1338561 * t - 1.6168667 * e - .4906146 * n), se(-.9787684 * t + 1.9161415 * e + .033454 * n), se(.0719453 * t - .2289914 * e + 1.4052427 * n), this.opacity);
33
+ return t = ce * _e(t), e = le * _e(e), n = ue * _e(n), new w(ve(3.1338561 * t - 1.6168667 * e - .4906146 * n), ve(-.9787684 * t + 1.9161415 * e + .033454 * n), ve(.0719453 * t - .2289914 * e + 1.4052427 * n), this.opacity);
34
34
  }
35
35
  }));
36
- function ae(e) {
37
- return e > ne ? e ** (1 / 3) : e / te + ee;
36
+ function ge(e) {
37
+ return e > pe ? e ** (1 / 3) : e / fe + de;
38
38
  }
39
- function oe(e) {
40
- return e > N ? e * e * e : te * (e - ee);
39
+ function _e(e) {
40
+ return e > I ? e * e * e : fe * (e - de);
41
41
  }
42
- function se(e) {
42
+ function ve(e) {
43
43
  return 255 * (e <= .0031308 ? 12.92 * e : 1.055 * e ** (1 / 2.4) - .055);
44
44
  }
45
- function ce(e) {
45
+ function ye(e) {
46
46
  return (e /= 255) <= .04045 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4;
47
47
  }
48
- function le(e) {
49
- if (e instanceof F) return new F(e.h, e.c, e.l, e.opacity);
50
- if (e instanceof P || (e = re(e)), e.a === 0 && e.b === 0) return new F(NaN, 0 < e.l && e.l < 100 ? 0 : NaN, e.l, e.opacity);
51
- var t = Math.atan2(e.b, e.a) * r;
52
- return new F(t < 0 ? t + 360 : t, Math.sqrt(e.a * e.a + e.b * e.b), e.l, e.opacity);
48
+ function be(e) {
49
+ if (e instanceof R) return new R(e.h, e.c, e.l, e.opacity);
50
+ if (e instanceof L || (e = me(e)), e.a === 0 && e.b === 0) return new R(NaN, 0 < e.l && e.l < 100 ? 0 : NaN, e.l, e.opacity);
51
+ var t = Math.atan2(e.b, e.a) * m;
52
+ return new R(t < 0 ? t + 360 : t, Math.sqrt(e.a * e.a + e.b * e.b), e.l, e.opacity);
53
53
  }
54
- function ue(e, t, n, r) {
55
- return arguments.length === 1 ? le(e) : new F(e, t, n, r ?? 1);
54
+ function xe(e, t, n, r) {
55
+ return arguments.length === 1 ? be(e) : new R(e, t, n, r ?? 1);
56
56
  }
57
- function F(e, t, n, r) {
57
+ function R(e, t, n, r) {
58
58
  this.h = +e, this.c = +t, this.l = +n, this.opacity = +r;
59
59
  }
60
- function de(e) {
61
- if (isNaN(e.h)) return new P(e.l, 0, 0, e.opacity);
62
- var t = e.h * a;
63
- return new P(e.l, Math.cos(t) * e.c, Math.sin(t) * e.c, e.opacity);
60
+ function Se(e) {
61
+ if (isNaN(e.h)) return new L(e.l, 0, 0, e.opacity);
62
+ var t = e.h * y;
63
+ return new L(e.l, Math.cos(t) * e.c, Math.sin(t) * e.c, e.opacity);
64
64
  }
65
- l(F, ue, c(s, {
65
+ C(R, xe, S(x, {
66
66
  brighter(e) {
67
- return new F(this.h, this.c, this.l + k * (e ?? 1), this.opacity);
67
+ return new R(this.h, this.c, this.l + F * (e ?? 1), this.opacity);
68
68
  },
69
69
  darker(e) {
70
- return new F(this.h, this.c, this.l - k * (e ?? 1), this.opacity);
70
+ return new R(this.h, this.c, this.l - F * (e ?? 1), this.opacity);
71
71
  },
72
72
  rgb() {
73
- return de(this).rgb();
73
+ return Se(this).rgb();
74
74
  }
75
75
  }));
76
76
  //#endregion
77
- //#region node_modules/d3-interpolate/src/hcl.js
78
- function fe(e) {
77
+ //#region ../../node_modules/d3-interpolate/src/hcl.js
78
+ function Ce(e) {
79
79
  return function(t, n) {
80
- var r = e((t = ue(t)).h, (n = ue(n)).h), i = f(t.c, n.c), a = f(t.l, n.l), o = f(t.opacity, n.opacity);
80
+ var r = e((t = xe(t)).h, (n = xe(n)).h), i = E(t.c, n.c), a = E(t.l, n.l), o = E(t.opacity, n.opacity);
81
81
  return function(e) {
82
82
  return t.h = r(e), t.c = i(e), t.l = a(e), t.opacity = o(e), t + "";
83
83
  };
84
84
  };
85
85
  }
86
- var pe = fe(o);
86
+ var we = Ce(b);
87
87
  //#endregion
88
- //#region node_modules/d3-array/src/max.js
89
- function me(e, t) {
88
+ //#region ../../node_modules/d3-array/src/max.js
89
+ function Te(e, t) {
90
90
  let n;
91
91
  if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
92
92
  else {
@@ -96,8 +96,8 @@ function me(e, t) {
96
96
  return n;
97
97
  }
98
98
  //#endregion
99
- //#region node_modules/d3-array/src/min.js
100
- function he(e, t) {
99
+ //#region ../../node_modules/d3-array/src/min.js
100
+ function Ee(e, t) {
101
101
  let n;
102
102
  if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);
103
103
  else {
@@ -107,40 +107,40 @@ function he(e, t) {
107
107
  return n;
108
108
  }
109
109
  //#endregion
110
- //#region node_modules/d3-axis/src/identity.js
111
- function ge(e) {
110
+ //#region ../../node_modules/d3-axis/src/identity.js
111
+ function De(e) {
112
112
  return e;
113
113
  }
114
114
  //#endregion
115
- //#region node_modules/d3-axis/src/axis.js
116
- var _e = 1, ve = 2, ye = 3, be = 4, xe = 1e-6;
117
- function Se(e) {
115
+ //#region ../../node_modules/d3-axis/src/axis.js
116
+ var z = 1, Oe = 2, ke = 3, B = 4, Ae = 1e-6;
117
+ function je(e) {
118
118
  return "translate(" + e + ",0)";
119
119
  }
120
- function Ce(e) {
120
+ function Me(e) {
121
121
  return "translate(0," + e + ")";
122
122
  }
123
- function we(e) {
123
+ function Ne(e) {
124
124
  return (t) => +e(t);
125
125
  }
126
- function Te(e, t) {
126
+ function Pe(e, t) {
127
127
  return t = Math.max(0, e.bandwidth() - t * 2) / 2, e.round() && (t = Math.round(t)), (n) => +e(n) + t;
128
128
  }
129
- function Ee() {
129
+ function Fe() {
130
130
  return !this.__axis;
131
131
  }
132
- function De(e, t) {
133
- var n = [], r = null, i = null, a = 6, o = 6, s = 3, c = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : .5, l = e === _e || e === be ? -1 : 1, u = e === be || e === ve ? "x" : "y", d = e === _e || e === ye ? Se : Ce;
132
+ function Ie(e, t) {
133
+ var n = [], r = null, i = null, a = 6, o = 6, s = 3, c = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : .5, l = e === z || e === B ? -1 : 1, u = e === B || e === Oe ? "x" : "y", d = e === z || e === ke ? je : Me;
134
134
  function f(f) {
135
- var p = r ?? (t.ticks ? t.ticks.apply(t, n) : t.domain()), m = i ?? (t.tickFormat ? t.tickFormat.apply(t, n) : ge), h = Math.max(a, 0) + s, g = t.range(), _ = +g[0] + c, v = +g[g.length - 1] + c, y = (t.bandwidth ? Te : we)(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");
136
- 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 === _e ? "0em" : e === ye ? "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", xe).attr("transform", function(e) {
135
+ var p = r ?? (t.ticks ? t.ticks.apply(t, n) : t.domain()), m = i ?? (t.tickFormat ? t.tickFormat.apply(t, n) : De), h = Math.max(a, 0) + s, g = t.range(), _ = +g[0] + c, v = +g[g.length - 1] + c, y = (t.bandwidth ? Pe : Ne)(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");
136
+ 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 === z ? "0em" : e === ke ? "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", Ae).attr("transform", function(e) {
137
137
  return isFinite(e = y(e)) ? d(e + c) : this.getAttribute("transform");
138
- }), w.attr("opacity", xe).attr("transform", function(e) {
138
+ }), w.attr("opacity", Ae).attr("transform", function(e) {
139
139
  var t = this.parentNode.__axis;
140
140
  return d((t && isFinite(t = t(e)) ? t : y(e)) + c);
141
- })), C.remove(), x.attr("d", e === be || e === ve ? 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) {
141
+ })), C.remove(), x.attr("d", e === B || e === Oe ? 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) {
142
142
  return d(y(e) + c);
143
- }), T.attr(u + "2", l * a), E.attr(u, l * h).text(m), b.filter(Ee).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", e === ve ? "start" : e === be ? "end" : "middle"), b.each(function() {
143
+ }), T.attr(u + "2", l * a), E.attr(u, l * h).text(m), b.filter(Fe).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", e === Oe ? "start" : e === B ? "end" : "middle"), b.each(function() {
144
144
  this.__axis = y;
145
145
  });
146
146
  }
@@ -166,696 +166,15 @@ function De(e, t) {
166
166
  return arguments.length ? (c = +e, f) : c;
167
167
  }, f;
168
168
  }
169
- function Oe(e) {
170
- return De(_e, e);
171
- }
172
- function ke(e) {
173
- return De(ye, e);
174
- }
175
- //#endregion
176
- //#region node_modules/d3/node_modules/d3-time/src/interval.js
177
- var Ae = /* @__PURE__ */ new Date(), je = /* @__PURE__ */ new Date();
178
- function I(e, t, n, r) {
179
- function i(t) {
180
- return e(t = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+t)), t;
181
- }
182
- 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) => {
183
- let t = i(e), n = i.ceil(e);
184
- return e - t < n - e ? t : n;
185
- }, i.offset = (e, n) => (t(e = /* @__PURE__ */ new Date(+e), n == null ? 1 : Math.floor(n)), e), i.range = (n, r, a) => {
186
- let o = [];
187
- if (n = i.ceil(n), a = a == null ? 1 : Math.floor(a), !(n < r) || !(a > 0)) return o;
188
- let s;
189
- do
190
- o.push(s = /* @__PURE__ */ new Date(+n)), t(n, a), e(n);
191
- while (s < n && n < r);
192
- return o;
193
- }, i.filter = (n) => I((t) => {
194
- if (t >= t) for (; e(t), !n(t);) t.setTime(t - 1);
195
- }, (e, r) => {
196
- if (e >= e) if (r < 0) for (; ++r <= 0;) for (; t(e, -1), !n(e););
197
- else for (; --r >= 0;) for (; t(e, 1), !n(e););
198
- }), n && (i.count = (t, r) => (Ae.setTime(+t), je.setTime(+r), e(Ae), e(je), Math.floor(n(Ae, je))), 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;
199
- }
200
- //#endregion
201
- //#region node_modules/d3/node_modules/d3-time/src/millisecond.js
202
- var Me = I(() => {}, (e, t) => {
203
- e.setTime(+e + t);
204
- }, (e, t) => t - e);
205
- Me.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? I((t) => {
206
- t.setTime(Math.floor(t / e) * e);
207
- }, (t, n) => {
208
- t.setTime(+t + n * e);
209
- }, (t, n) => (n - t) / e) : Me), Me.range;
210
- //#endregion
211
- //#region node_modules/d3/node_modules/d3-time/src/duration.js
212
- var Ne = 1e3, L = Ne * 60, Pe = L * 60, R = Pe * 24, Fe = R * 7;
213
- R * 30, R * 365;
214
- //#endregion
215
- //#region node_modules/d3/node_modules/d3-time/src/second.js
216
- var Ie = I((e) => {
217
- e.setTime(e - e.getMilliseconds());
218
- }, (e, t) => {
219
- e.setTime(+e + t * Ne);
220
- }, (e, t) => (t - e) / Ne, (e) => e.getUTCSeconds());
221
- Ie.range;
222
- //#endregion
223
- //#region node_modules/d3/node_modules/d3-time/src/minute.js
224
- var Le = I((e) => {
225
- e.setTime(e - e.getMilliseconds() - e.getSeconds() * Ne);
226
- }, (e, t) => {
227
- e.setTime(+e + t * L);
228
- }, (e, t) => (t - e) / L, (e) => e.getMinutes());
229
- Le.range, I((e) => {
230
- e.setUTCSeconds(0, 0);
231
- }, (e, t) => {
232
- e.setTime(+e + t * L);
233
- }, (e, t) => (t - e) / L, (e) => e.getUTCMinutes()).range;
234
- //#endregion
235
- //#region node_modules/d3/node_modules/d3-time/src/hour.js
236
- var Re = I((e) => {
237
- e.setTime(e - e.getMilliseconds() - e.getSeconds() * Ne - e.getMinutes() * L);
238
- }, (e, t) => {
239
- e.setTime(+e + t * Pe);
240
- }, (e, t) => (t - e) / Pe, (e) => e.getHours());
241
- Re.range, I((e) => {
242
- e.setUTCMinutes(0, 0, 0);
243
- }, (e, t) => {
244
- e.setTime(+e + t * Pe);
245
- }, (e, t) => (t - e) / Pe, (e) => e.getUTCHours()).range;
246
- //#endregion
247
- //#region node_modules/d3/node_modules/d3-time/src/day.js
248
- var ze = I((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * L) / R, (e) => e.getDate() - 1);
249
- ze.range;
250
- var Be = I((e) => {
251
- e.setUTCHours(0, 0, 0, 0);
252
- }, (e, t) => {
253
- e.setUTCDate(e.getUTCDate() + t);
254
- }, (e, t) => (t - e) / R, (e) => e.getUTCDate() - 1);
255
- Be.range, I((e) => {
256
- e.setUTCHours(0, 0, 0, 0);
257
- }, (e, t) => {
258
- e.setUTCDate(e.getUTCDate() + t);
259
- }, (e, t) => (t - e) / R, (e) => Math.floor(e / R)).range;
260
- //#endregion
261
- //#region node_modules/d3/node_modules/d3-time/src/week.js
262
- function z(e) {
263
- return I((t) => {
264
- t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
265
- }, (e, t) => {
266
- e.setDate(e.getDate() + t * 7);
267
- }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * L) / Fe);
169
+ function Le(e) {
170
+ return Ie(z, e);
268
171
  }
269
- var Ve = z(0), He = z(1), Ue = z(2), We = z(3), B = z(4), Ge = z(5), Ke = z(6);
270
- Ve.range, He.range, Ue.range, We.range, B.range, Ge.range, Ke.range;
271
- function V(e) {
272
- return I((t) => {
273
- t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
274
- }, (e, t) => {
275
- e.setUTCDate(e.getUTCDate() + t * 7);
276
- }, (e, t) => (t - e) / Fe);
172
+ function Re(e) {
173
+ return Ie(ke, e);
277
174
  }
278
- var qe = V(0), Je = V(1), Ye = V(2), Xe = V(3), H = V(4), Ze = V(5), Qe = V(6);
279
- qe.range, Je.range, Ye.range, Xe.range, H.range, Ze.range, Qe.range;
280
175
  //#endregion
281
- //#region node_modules/d3/node_modules/d3-time/src/month.js
282
- var $e = I((e) => {
283
- e.setDate(1), e.setHours(0, 0, 0, 0);
284
- }, (e, t) => {
285
- e.setMonth(e.getMonth() + t);
286
- }, (e, t) => t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12, (e) => e.getMonth());
287
- $e.range, I((e) => {
288
- e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);
289
- }, (e, t) => {
290
- e.setUTCMonth(e.getUTCMonth() + t);
291
- }, (e, t) => t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12, (e) => e.getUTCMonth()).range;
292
- //#endregion
293
- //#region node_modules/d3/node_modules/d3-time/src/year.js
294
- var U = I((e) => {
295
- e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
296
- }, (e, t) => {
297
- e.setFullYear(e.getFullYear() + t);
298
- }, (e, t) => t.getFullYear() - e.getFullYear(), (e) => e.getFullYear());
299
- U.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : I((t) => {
300
- t.setFullYear(Math.floor(t.getFullYear() / e) * e), t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
301
- }, (t, n) => {
302
- t.setFullYear(t.getFullYear() + n * e);
303
- }), U.range;
304
- var W = I((e) => {
305
- e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
306
- }, (e, t) => {
307
- e.setUTCFullYear(e.getUTCFullYear() + t);
308
- }, (e, t) => t.getUTCFullYear() - e.getUTCFullYear(), (e) => e.getUTCFullYear());
309
- W.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : I((t) => {
310
- t.setUTCFullYear(Math.floor(t.getUTCFullYear() / e) * e), t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
311
- }, (t, n) => {
312
- t.setUTCFullYear(t.getUTCFullYear() + n * e);
313
- }), W.range;
314
- //#endregion
315
- //#region node_modules/d3/node_modules/d3-time-format/src/locale.js
316
- function et(e) {
317
- if (0 <= e.y && e.y < 100) {
318
- var t = new Date(-1, e.m, e.d, e.H, e.M, e.S, e.L);
319
- return t.setFullYear(e.y), t;
320
- }
321
- return new Date(e.y, e.m, e.d, e.H, e.M, e.S, e.L);
322
- }
323
- function tt(e) {
324
- if (0 <= e.y && e.y < 100) {
325
- var t = new Date(Date.UTC(-1, e.m, e.d, e.H, e.M, e.S, e.L));
326
- return t.setUTCFullYear(e.y), t;
327
- }
328
- return new Date(Date.UTC(e.y, e.m, e.d, e.H, e.M, e.S, e.L));
329
- }
330
- function nt(e, t, n) {
331
- return {
332
- y: e,
333
- m: t,
334
- d: n,
335
- H: 0,
336
- M: 0,
337
- S: 0,
338
- L: 0
339
- };
340
- }
341
- function rt(e) {
342
- 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 = lt(i), d = ct(a), f = lt(a), p = ct(o), m = lt(o), h = ct(s), g = lt(s), _ = ct(c), v = lt(c), y = {
343
- a: ee,
344
- A: N,
345
- b: te,
346
- B: ne,
347
- c: null,
348
- d: At,
349
- e: At,
350
- f: Ft,
351
- g: Kt,
352
- G: Jt,
353
- H: jt,
354
- I: Mt,
355
- j: Nt,
356
- L: Pt,
357
- m: It,
358
- M: Lt,
359
- p: re,
360
- q: ie,
361
- Q: vn,
362
- s: yn,
363
- S: Rt,
364
- u: zt,
365
- U: Bt,
366
- V: Ht,
367
- w: Ut,
368
- W: Wt,
369
- x: null,
370
- X: null,
371
- y: Gt,
372
- Y: qt,
373
- Z: Yt,
374
- "%": _n
375
- }, b = {
376
- a: P,
377
- A: ae,
378
- b: oe,
379
- B: se,
380
- c: null,
381
- d: Xt,
382
- e: Xt,
383
- f: tn,
384
- g: pn,
385
- G: hn,
386
- H: Zt,
387
- I: Qt,
388
- j: $t,
389
- L: en,
390
- m: nn,
391
- M: rn,
392
- p: ce,
393
- q: le,
394
- Q: vn,
395
- s: yn,
396
- S: an,
397
- u: on,
398
- U: sn,
399
- V: ln,
400
- w: un,
401
- W: dn,
402
- x: null,
403
- X: null,
404
- y: fn,
405
- Y: mn,
406
- Z: gn,
407
- "%": _n
408
- }, x = {
409
- a: E,
410
- A: D,
411
- b: O,
412
- B: k,
413
- c: A,
414
- d: bt,
415
- e: bt,
416
- f: Et,
417
- g: gt,
418
- G: ht,
419
- H: St,
420
- I: St,
421
- j: xt,
422
- L: Tt,
423
- m: yt,
424
- M: Ct,
425
- p: T,
426
- q: vt,
427
- Q: Ot,
428
- s: kt,
429
- S: wt,
430
- u: dt,
431
- U: ft,
432
- V: pt,
433
- w: ut,
434
- W: mt,
435
- x: j,
436
- X: M,
437
- y: gt,
438
- Y: ht,
439
- Z: _t,
440
- "%": Dt
441
- };
442
- 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);
443
- function S(e, t) {
444
- return function(n) {
445
- var r = [], i = -1, a = 0, o = e.length, s, c, l;
446
- for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = it[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);
447
- return r.push(e.slice(a, i)), r.join("");
448
- };
449
- }
450
- function C(e, t) {
451
- return function(n) {
452
- var r = nt(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;
453
- if (i != n.length) return null;
454
- if ("Q" in r) return new Date(r.Q);
455
- if ("s" in r) return new Date(r.s * 1e3 + ("L" in r ? r.L : 0));
456
- 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) {
457
- if (r.V < 1 || r.V > 53) return null;
458
- "w" in r || (r.w = 1), "Z" in r ? (a = tt(nt(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? Je.ceil(a) : Je(a), a = Be.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = et(nt(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? He.ceil(a) : He(a), a = ze.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);
459
- } 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 ? tt(nt(r.y, 0, 1)).getUTCDay() : et(nt(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);
460
- return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, tt(r)) : et(r);
461
- };
462
- }
463
- function w(e, t, n, r) {
464
- for (var i = 0, a = t.length, o = n.length, s, c; i < a;) {
465
- if (r >= o) return -1;
466
- if (s = t.charCodeAt(i++), s === 37) {
467
- if (s = t.charAt(i++), c = x[s in it ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
468
- } else if (s != n.charCodeAt(r++)) return -1;
469
- }
470
- return r;
471
- }
472
- function T(e, t, n) {
473
- var r = l.exec(t.slice(n));
474
- return r ? (e.p = u.get(r[0].toLowerCase()), n + r[0].length) : -1;
475
- }
476
- function E(e, t, n) {
477
- var r = p.exec(t.slice(n));
478
- return r ? (e.w = m.get(r[0].toLowerCase()), n + r[0].length) : -1;
479
- }
480
- function D(e, t, n) {
481
- var r = d.exec(t.slice(n));
482
- return r ? (e.w = f.get(r[0].toLowerCase()), n + r[0].length) : -1;
483
- }
484
- function O(e, t, n) {
485
- var r = _.exec(t.slice(n));
486
- return r ? (e.m = v.get(r[0].toLowerCase()), n + r[0].length) : -1;
487
- }
488
- function k(e, t, n) {
489
- var r = h.exec(t.slice(n));
490
- return r ? (e.m = g.get(r[0].toLowerCase()), n + r[0].length) : -1;
491
- }
492
- function A(e, n, r) {
493
- return w(e, t, n, r);
494
- }
495
- function j(e, t, r) {
496
- return w(e, n, t, r);
497
- }
498
- function M(e, t, n) {
499
- return w(e, r, t, n);
500
- }
501
- function ee(e) {
502
- return o[e.getDay()];
503
- }
504
- function N(e) {
505
- return a[e.getDay()];
506
- }
507
- function te(e) {
508
- return c[e.getMonth()];
509
- }
510
- function ne(e) {
511
- return s[e.getMonth()];
512
- }
513
- function re(e) {
514
- return i[+(e.getHours() >= 12)];
515
- }
516
- function ie(e) {
517
- return 1 + ~~(e.getMonth() / 3);
518
- }
519
- function P(e) {
520
- return o[e.getUTCDay()];
521
- }
522
- function ae(e) {
523
- return a[e.getUTCDay()];
524
- }
525
- function oe(e) {
526
- return c[e.getUTCMonth()];
527
- }
528
- function se(e) {
529
- return s[e.getUTCMonth()];
530
- }
531
- function ce(e) {
532
- return i[+(e.getUTCHours() >= 12)];
533
- }
534
- function le(e) {
535
- return 1 + ~~(e.getUTCMonth() / 3);
536
- }
537
- return {
538
- format: function(e) {
539
- var t = S(e += "", y);
540
- return t.toString = function() {
541
- return e;
542
- }, t;
543
- },
544
- parse: function(e) {
545
- var t = C(e += "", !1);
546
- return t.toString = function() {
547
- return e;
548
- }, t;
549
- },
550
- utcFormat: function(e) {
551
- var t = S(e += "", b);
552
- return t.toString = function() {
553
- return e;
554
- }, t;
555
- },
556
- utcParse: function(e) {
557
- var t = C(e += "", !0);
558
- return t.toString = function() {
559
- return e;
560
- }, t;
561
- }
562
- };
563
- }
564
- var it = {
565
- "-": "",
566
- _: " ",
567
- 0: "0"
568
- }, G = /^\s*\d+/, at = /^%/, ot = /[\\^$*+?|[\]().{}]/g;
569
- function K(e, t, n) {
570
- var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", a = i.length;
571
- return r + (a < n ? Array(n - a + 1).join(t) + i : i);
572
- }
573
- function st(e) {
574
- return e.replace(ot, "\\$&");
575
- }
576
- function ct(e) {
577
- return RegExp("^(?:" + e.map(st).join("|") + ")", "i");
578
- }
579
- function lt(e) {
580
- return new Map(e.map((e, t) => [e.toLowerCase(), t]));
581
- }
582
- function ut(e, t, n) {
583
- var r = G.exec(t.slice(n, n + 1));
584
- return r ? (e.w = +r[0], n + r[0].length) : -1;
585
- }
586
- function dt(e, t, n) {
587
- var r = G.exec(t.slice(n, n + 1));
588
- return r ? (e.u = +r[0], n + r[0].length) : -1;
589
- }
590
- function ft(e, t, n) {
591
- var r = G.exec(t.slice(n, n + 2));
592
- return r ? (e.U = +r[0], n + r[0].length) : -1;
593
- }
594
- function pt(e, t, n) {
595
- var r = G.exec(t.slice(n, n + 2));
596
- return r ? (e.V = +r[0], n + r[0].length) : -1;
597
- }
598
- function mt(e, t, n) {
599
- var r = G.exec(t.slice(n, n + 2));
600
- return r ? (e.W = +r[0], n + r[0].length) : -1;
601
- }
602
- function ht(e, t, n) {
603
- var r = G.exec(t.slice(n, n + 4));
604
- return r ? (e.y = +r[0], n + r[0].length) : -1;
605
- }
606
- function gt(e, t, n) {
607
- var r = G.exec(t.slice(n, n + 2));
608
- return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
609
- }
610
- function _t(e, t, n) {
611
- var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n, n + 6));
612
- return r ? (e.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
613
- }
614
- function vt(e, t, n) {
615
- var r = G.exec(t.slice(n, n + 1));
616
- return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
617
- }
618
- function yt(e, t, n) {
619
- var r = G.exec(t.slice(n, n + 2));
620
- return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
621
- }
622
- function bt(e, t, n) {
623
- var r = G.exec(t.slice(n, n + 2));
624
- return r ? (e.d = +r[0], n + r[0].length) : -1;
625
- }
626
- function xt(e, t, n) {
627
- var r = G.exec(t.slice(n, n + 3));
628
- return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
629
- }
630
- function St(e, t, n) {
631
- var r = G.exec(t.slice(n, n + 2));
632
- return r ? (e.H = +r[0], n + r[0].length) : -1;
633
- }
634
- function Ct(e, t, n) {
635
- var r = G.exec(t.slice(n, n + 2));
636
- return r ? (e.M = +r[0], n + r[0].length) : -1;
637
- }
638
- function wt(e, t, n) {
639
- var r = G.exec(t.slice(n, n + 2));
640
- return r ? (e.S = +r[0], n + r[0].length) : -1;
641
- }
642
- function Tt(e, t, n) {
643
- var r = G.exec(t.slice(n, n + 3));
644
- return r ? (e.L = +r[0], n + r[0].length) : -1;
645
- }
646
- function Et(e, t, n) {
647
- var r = G.exec(t.slice(n, n + 6));
648
- return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
649
- }
650
- function Dt(e, t, n) {
651
- var r = at.exec(t.slice(n, n + 1));
652
- return r ? n + r[0].length : -1;
653
- }
654
- function Ot(e, t, n) {
655
- var r = G.exec(t.slice(n));
656
- return r ? (e.Q = +r[0], n + r[0].length) : -1;
657
- }
658
- function kt(e, t, n) {
659
- var r = G.exec(t.slice(n));
660
- return r ? (e.s = +r[0], n + r[0].length) : -1;
661
- }
662
- function At(e, t) {
663
- return K(e.getDate(), t, 2);
664
- }
665
- function jt(e, t) {
666
- return K(e.getHours(), t, 2);
667
- }
668
- function Mt(e, t) {
669
- return K(e.getHours() % 12 || 12, t, 2);
670
- }
671
- function Nt(e, t) {
672
- return K(1 + ze.count(U(e), e), t, 3);
673
- }
674
- function Pt(e, t) {
675
- return K(e.getMilliseconds(), t, 3);
676
- }
677
- function Ft(e, t) {
678
- return Pt(e, t) + "000";
679
- }
680
- function It(e, t) {
681
- return K(e.getMonth() + 1, t, 2);
682
- }
683
- function Lt(e, t) {
684
- return K(e.getMinutes(), t, 2);
685
- }
686
- function Rt(e, t) {
687
- return K(e.getSeconds(), t, 2);
688
- }
689
- function zt(e) {
690
- var t = e.getDay();
691
- return t === 0 ? 7 : t;
692
- }
693
- function Bt(e, t) {
694
- return K(Ve.count(U(e) - 1, e), t, 2);
695
- }
696
- function Vt(e) {
697
- var t = e.getDay();
698
- return t >= 4 || t === 0 ? B(e) : B.ceil(e);
699
- }
700
- function Ht(e, t) {
701
- return e = Vt(e), K(B.count(U(e), e) + (U(e).getDay() === 4), t, 2);
702
- }
703
- function Ut(e) {
704
- return e.getDay();
705
- }
706
- function Wt(e, t) {
707
- return K(He.count(U(e) - 1, e), t, 2);
708
- }
709
- function Gt(e, t) {
710
- return K(e.getFullYear() % 100, t, 2);
711
- }
712
- function Kt(e, t) {
713
- return e = Vt(e), K(e.getFullYear() % 100, t, 2);
714
- }
715
- function qt(e, t) {
716
- return K(e.getFullYear() % 1e4, t, 4);
717
- }
718
- function Jt(e, t) {
719
- var n = e.getDay();
720
- return e = n >= 4 || n === 0 ? B(e) : B.ceil(e), K(e.getFullYear() % 1e4, t, 4);
721
- }
722
- function Yt(e) {
723
- var t = e.getTimezoneOffset();
724
- return (t > 0 ? "-" : (t *= -1, "+")) + K(t / 60 | 0, "0", 2) + K(t % 60, "0", 2);
725
- }
726
- function Xt(e, t) {
727
- return K(e.getUTCDate(), t, 2);
728
- }
729
- function Zt(e, t) {
730
- return K(e.getUTCHours(), t, 2);
731
- }
732
- function Qt(e, t) {
733
- return K(e.getUTCHours() % 12 || 12, t, 2);
734
- }
735
- function $t(e, t) {
736
- return K(1 + Be.count(W(e), e), t, 3);
737
- }
738
- function en(e, t) {
739
- return K(e.getUTCMilliseconds(), t, 3);
740
- }
741
- function tn(e, t) {
742
- return en(e, t) + "000";
743
- }
744
- function nn(e, t) {
745
- return K(e.getUTCMonth() + 1, t, 2);
746
- }
747
- function rn(e, t) {
748
- return K(e.getUTCMinutes(), t, 2);
749
- }
750
- function an(e, t) {
751
- return K(e.getUTCSeconds(), t, 2);
752
- }
753
- function on(e) {
754
- var t = e.getUTCDay();
755
- return t === 0 ? 7 : t;
756
- }
757
- function sn(e, t) {
758
- return K(qe.count(W(e) - 1, e), t, 2);
759
- }
760
- function cn(e) {
761
- var t = e.getUTCDay();
762
- return t >= 4 || t === 0 ? H(e) : H.ceil(e);
763
- }
764
- function ln(e, t) {
765
- return e = cn(e), K(H.count(W(e), e) + (W(e).getUTCDay() === 4), t, 2);
766
- }
767
- function un(e) {
768
- return e.getUTCDay();
769
- }
770
- function dn(e, t) {
771
- return K(Je.count(W(e) - 1, e), t, 2);
772
- }
773
- function fn(e, t) {
774
- return K(e.getUTCFullYear() % 100, t, 2);
775
- }
776
- function pn(e, t) {
777
- return e = cn(e), K(e.getUTCFullYear() % 100, t, 2);
778
- }
779
- function mn(e, t) {
780
- return K(e.getUTCFullYear() % 1e4, t, 4);
781
- }
782
- function hn(e, t) {
783
- var n = e.getUTCDay();
784
- return e = n >= 4 || n === 0 ? H(e) : H.ceil(e), K(e.getUTCFullYear() % 1e4, t, 4);
785
- }
786
- function gn() {
787
- return "+0000";
788
- }
789
- function _n() {
790
- return "%";
791
- }
792
- function vn(e) {
793
- return +e;
794
- }
795
- function yn(e) {
796
- return Math.floor(e / 1e3);
797
- }
798
- //#endregion
799
- //#region node_modules/d3/node_modules/d3-time-format/src/defaultLocale.js
800
- var q, bn;
801
- xn({
802
- dateTime: "%x, %X",
803
- date: "%-m/%-d/%Y",
804
- time: "%-I:%M:%S %p",
805
- periods: ["AM", "PM"],
806
- days: [
807
- "Sunday",
808
- "Monday",
809
- "Tuesday",
810
- "Wednesday",
811
- "Thursday",
812
- "Friday",
813
- "Saturday"
814
- ],
815
- shortDays: [
816
- "Sun",
817
- "Mon",
818
- "Tue",
819
- "Wed",
820
- "Thu",
821
- "Fri",
822
- "Sat"
823
- ],
824
- months: [
825
- "January",
826
- "February",
827
- "March",
828
- "April",
829
- "May",
830
- "June",
831
- "July",
832
- "August",
833
- "September",
834
- "October",
835
- "November",
836
- "December"
837
- ],
838
- shortMonths: [
839
- "Jan",
840
- "Feb",
841
- "Mar",
842
- "Apr",
843
- "May",
844
- "Jun",
845
- "Jul",
846
- "Aug",
847
- "Sep",
848
- "Oct",
849
- "Nov",
850
- "Dec"
851
- ]
852
- });
853
- function xn(e) {
854
- return q = rt(e), bn = q.format, q.parse, q.utcFormat, q.utcParse, q;
855
- }
856
- //#endregion
857
- //#region node_modules/dayjs/plugin/isoWeek.js
858
- var Sn = /* @__PURE__ */ t(((e, t) => {
176
+ //#region ../../node_modules/dayjs/plugin/isoWeek.js
177
+ var ze = /* @__PURE__ */ t(((e, t) => {
859
178
  (function(n, r) {
860
179
  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();
861
180
  })(e, (function() {
@@ -879,7 +198,7 @@ var Sn = /* @__PURE__ */ t(((e, t) => {
879
198
  };
880
199
  };
881
200
  }));
882
- })), Cn = /* @__PURE__ */ t(((e, t) => {
201
+ })), Be = /* @__PURE__ */ t(((e, t) => {
883
202
  (function(n, r) {
884
203
  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();
885
204
  })(e, (function() {
@@ -1035,7 +354,7 @@ var Sn = /* @__PURE__ */ t(((e, t) => {
1035
354
  };
1036
355
  };
1037
356
  }));
1038
- })), wn = /* @__PURE__ */ t(((e, t) => {
357
+ })), Ve = /* @__PURE__ */ t(((e, t) => {
1039
358
  (function(n, r) {
1040
359
  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();
1041
360
  })(e, (function() {
@@ -1068,7 +387,7 @@ var Sn = /* @__PURE__ */ t(((e, t) => {
1068
387
  };
1069
388
  };
1070
389
  }));
1071
- })), Tn = /* @__PURE__ */ t(((e, t) => {
390
+ })), He = /* @__PURE__ */ t(((e, t) => {
1072
391
  (function(n, r) {
1073
392
  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();
1074
393
  })(e, (function() {
@@ -1228,8 +547,8 @@ var Sn = /* @__PURE__ */ t(((e, t) => {
1228
547
  };
1229
548
  };
1230
549
  }));
1231
- })), En = O(), J = /* @__PURE__ */ e(p(), 1), Dn = /* @__PURE__ */ e(Sn(), 1), On = /* @__PURE__ */ e(Cn(), 1), kn = /* @__PURE__ */ e(wn(), 1), An = /* @__PURE__ */ e(Tn(), 1), jn = (function() {
1232
- var e = /* @__PURE__ */ _(function(e, t, n, r) {
550
+ })), Ue = se(), V = /* @__PURE__ */ e(D(), 1), We = /* @__PURE__ */ e(ze(), 1), Ge = /* @__PURE__ */ e(Be(), 1), Ke = /* @__PURE__ */ e(Ve(), 1), qe = /* @__PURE__ */ e(He(), 1), Je = (function() {
551
+ var e = /* @__PURE__ */ j(function(e, t, n, r) {
1233
552
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
1234
553
  return n;
1235
554
  }, "o"), t = [
@@ -1260,8 +579,8 @@ var Sn = /* @__PURE__ */ t(((e, t) => {
1260
579
  36,
1261
580
  38,
1262
581
  40
1263
- ], 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 = {
1264
- trace: /* @__PURE__ */ _(function() {}, "trace"),
582
+ ], 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], _ = [1, 15], v = [1, 16], y = [1, 19], b = [1, 20], x = [1, 21], S = [1, 22], C = [1, 23], w = [1, 25], T = [1, 35], E = {
583
+ trace: /* @__PURE__ */ j(function() {}, "trace"),
1265
584
  yy: {},
1266
585
  symbols_: {
1267
586
  error: 2,
@@ -1397,7 +716,7 @@ var Sn = /* @__PURE__ */ t(((e, t) => {
1397
716
  [44, 4],
1398
717
  [44, 2]
1399
718
  ],
1400
- performAction: /* @__PURE__ */ _(function(e, t, n, r, i, a, o) {
719
+ performAction: /* @__PURE__ */ j(function(e, t, n, r, i, a, o) {
1401
720
  var s = a.length - 1;
1402
721
  switch (i) {
1403
722
  case 1: return a[s - 1];
@@ -1548,16 +867,16 @@ var Sn = /* @__PURE__ */ t(((e, t) => {
1548
867
  25: m,
1549
868
  26: h,
1550
869
  27: g,
1551
- 28: v,
1552
- 29: y,
1553
- 30: b,
1554
- 31: x,
1555
- 33: S,
1556
- 35: C,
1557
- 36: w,
870
+ 28: _,
871
+ 29: v,
872
+ 30: y,
873
+ 31: b,
874
+ 33: x,
875
+ 35: S,
876
+ 36: C,
1558
877
  37: 24,
1559
- 38: T,
1560
- 40: E
878
+ 38: w,
879
+ 40: T
1561
880
  },
1562
881
  e(t, [2, 7], { 1: [2, 1] }),
1563
882
  e(t, [2, 3]),
@@ -1580,16 +899,16 @@ var Sn = /* @__PURE__ */ t(((e, t) => {
1580
899
  25: m,
1581
900
  26: h,
1582
901
  27: g,
1583
- 28: v,
1584
- 29: y,
1585
- 30: b,
1586
- 31: x,
1587
- 33: S,
1588
- 35: C,
1589
- 36: w,
902
+ 28: _,
903
+ 29: v,
904
+ 30: y,
905
+ 31: b,
906
+ 33: x,
907
+ 35: S,
908
+ 36: C,
1590
909
  37: 24,
1591
- 38: T,
1592
- 40: E
910
+ 38: w,
911
+ 40: T
1593
912
  },
1594
913
  e(t, [2, 5]),
1595
914
  e(t, [2, 6]),
@@ -1639,63 +958,63 @@ var Sn = /* @__PURE__ */ t(((e, t) => {
1639
958
  e(t, [2, 39])
1640
959
  ],
1641
960
  defaultActions: {},
1642
- parseError: /* @__PURE__ */ _(function(e, t) {
961
+ parseError: /* @__PURE__ */ j(function(e, t) {
1643
962
  if (t.recoverable) this.trace(e);
1644
963
  else {
1645
964
  var n = Error(e);
1646
965
  throw n.hash = t, n;
1647
966
  }
1648
967
  }, "parseError"),
1649
- parse: /* @__PURE__ */ _(function(e) {
968
+ parse: /* @__PURE__ */ j(function(e) {
1650
969
  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: {} };
1651
970
  for (var g in this.yy) Object.prototype.hasOwnProperty.call(this.yy, g) && (h.yy[g] = this.yy[g]);
1652
971
  m.setInput(e, h.yy), h.yy.lexer = m, h.yy.parser = this, m.yylloc === void 0 && (m.yylloc = {});
1653
- var v = m.yylloc;
1654
- a.push(v);
1655
- var y = m.options && m.options.ranges;
972
+ var _ = m.yylloc;
973
+ a.push(_);
974
+ var v = m.options && m.options.ranges;
1656
975
  typeof h.yy.parseError == "function" ? this.parseError = h.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1657
- function b(e) {
976
+ function y(e) {
1658
977
  n.length -= 2 * e, i.length -= e, a.length -= e;
1659
978
  }
1660
- _(b, "popStack");
1661
- function x() {
979
+ j(y, "popStack");
980
+ function b() {
1662
981
  var e = r.pop() || m.lex() || f;
1663
982
  return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
1664
983
  }
1665
- _(x, "lex");
1666
- for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
1667
- 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]) {
984
+ j(b, "lex");
985
+ for (var x, S, C, w, T, E = {}, D, O, k, A;;) {
986
+ if (C = n[n.length - 1], this.defaultActions[C] ? w = this.defaultActions[C] : (x ??= b(), w = o[C] && o[C][x]), w === void 0 || !w.length || !w[0]) {
1668
987
  var M = "";
1669
- for (O in j = [], o[w]) this.terminals_[O] && O > d && j.push("'" + this.terminals_[O] + "'");
1670
- M = m.showPosition ? "Parse error on line " + (c + 1) + ":\n" + m.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (c + 1) + ": Unexpected " + (S == f ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
988
+ for (D in A = [], o[C]) this.terminals_[D] && D > d && A.push("'" + this.terminals_[D] + "'");
989
+ M = m.showPosition ? "Parse error on line " + (c + 1) + ":\n" + m.showPosition() + "\nExpecting " + A.join(", ") + ", got '" + (this.terminals_[x] || x) + "'" : "Parse error on line " + (c + 1) + ": Unexpected " + (x == f ? "end of input" : "'" + (this.terminals_[x] || x) + "'"), this.parseError(M, {
1671
990
  text: m.match,
1672
- token: this.terminals_[S] || S,
991
+ token: this.terminals_[x] || x,
1673
992
  line: m.yylineno,
1674
- loc: v,
1675
- expected: j
993
+ loc: _,
994
+ expected: A
1676
995
  });
1677
996
  }
1678
- if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
1679
- switch (T[0]) {
997
+ if (w[0] instanceof Array && w.length > 1) throw Error("Parse Error: multiple actions possible at state: " + C + ", token: " + x);
998
+ switch (w[0]) {
1680
999
  case 1:
1681
- 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--);
1000
+ n.push(x), i.push(m.yytext), a.push(m.yylloc), n.push(w[1]), x = null, S ? (x = S, S = null) : (l = m.yyleng, s = m.yytext, c = m.yylineno, _ = m.yylloc, u > 0 && u--);
1682
1001
  break;
1683
1002
  case 2:
1684
- if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
1685
- first_line: a[a.length - (k || 1)].first_line,
1003
+ if (O = this.productions_[w[1]][1], E.$ = i[i.length - O], E._$ = {
1004
+ first_line: a[a.length - (O || 1)].first_line,
1686
1005
  last_line: a[a.length - 1].last_line,
1687
- first_column: a[a.length - (k || 1)].first_column,
1006
+ first_column: a[a.length - (O || 1)].first_column,
1688
1007
  last_column: a[a.length - 1].last_column
1689
- }, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
1008
+ }, v && (E._$.range = [a[a.length - (O || 1)].range[0], a[a.length - 1].range[1]]), T = this.performAction.apply(E, [
1690
1009
  s,
1691
1010
  l,
1692
1011
  c,
1693
1012
  h.yy,
1694
- T[1],
1013
+ w[1],
1695
1014
  i,
1696
1015
  a
1697
- ].concat(p)), E !== void 0) return E;
1698
- 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);
1016
+ ].concat(p)), T !== void 0) return T;
1017
+ O && (n = n.slice(0, -1 * O * 2), i = i.slice(0, -1 * O), a = a.slice(0, -1 * O)), n.push(this.productions_[w[1]][0]), i.push(E.$), a.push(E._$), k = o[n[n.length - 2]][n[n.length - 1]], n.push(k);
1699
1018
  break;
1700
1019
  case 3: return !0;
1701
1020
  }
@@ -1703,14 +1022,14 @@ var Sn = /* @__PURE__ */ t(((e, t) => {
1703
1022
  return !0;
1704
1023
  }, "parse")
1705
1024
  };
1706
- D.lexer = /* @__PURE__ */ (function() {
1025
+ E.lexer = /* @__PURE__ */ (function() {
1707
1026
  return {
1708
1027
  EOF: 1,
1709
- parseError: /* @__PURE__ */ _(function(e, t) {
1028
+ parseError: /* @__PURE__ */ j(function(e, t) {
1710
1029
  if (this.yy.parser) this.yy.parser.parseError(e, t);
1711
1030
  else throw Error(e);
1712
1031
  }, "parseError"),
1713
- setInput: /* @__PURE__ */ _(function(e, t) {
1032
+ setInput: /* @__PURE__ */ j(function(e, t) {
1714
1033
  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 = {
1715
1034
  first_line: 1,
1716
1035
  first_column: 0,
@@ -1718,11 +1037,11 @@ var Sn = /* @__PURE__ */ t(((e, t) => {
1718
1037
  last_column: 0
1719
1038
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1720
1039
  }, "setInput"),
1721
- input: /* @__PURE__ */ _(function() {
1040
+ input: /* @__PURE__ */ j(function() {
1722
1041
  var e = this._input[0];
1723
1042
  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;
1724
1043
  }, "input"),
1725
- unput: /* @__PURE__ */ _(function(e) {
1044
+ unput: /* @__PURE__ */ j(function(e) {
1726
1045
  var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1727
1046
  this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1728
1047
  var r = this.match.split(/(?:\r\n?|\n)/g);
@@ -1735,10 +1054,10 @@ var Sn = /* @__PURE__ */ t(((e, t) => {
1735
1054
  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
1736
1055
  }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1737
1056
  }, "unput"),
1738
- more: /* @__PURE__ */ _(function() {
1057
+ more: /* @__PURE__ */ j(function() {
1739
1058
  return this._more = !0, this;
1740
1059
  }, "more"),
1741
- reject: /* @__PURE__ */ _(function() {
1060
+ reject: /* @__PURE__ */ j(function() {
1742
1061
  if (this.options.backtrack_lexer) this._backtrack = !0;
1743
1062
  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(), {
1744
1063
  text: "",
@@ -1747,22 +1066,22 @@ var Sn = /* @__PURE__ */ t(((e, t) => {
1747
1066
  });
1748
1067
  return this;
1749
1068
  }, "reject"),
1750
- less: /* @__PURE__ */ _(function(e) {
1069
+ less: /* @__PURE__ */ j(function(e) {
1751
1070
  this.unput(this.match.slice(e));
1752
1071
  }, "less"),
1753
- pastInput: /* @__PURE__ */ _(function() {
1072
+ pastInput: /* @__PURE__ */ j(function() {
1754
1073
  var e = this.matched.substr(0, this.matched.length - this.match.length);
1755
1074
  return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1756
1075
  }, "pastInput"),
1757
- upcomingInput: /* @__PURE__ */ _(function() {
1076
+ upcomingInput: /* @__PURE__ */ j(function() {
1758
1077
  var e = this.match;
1759
1078
  return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1760
1079
  }, "upcomingInput"),
1761
- showPosition: /* @__PURE__ */ _(function() {
1080
+ showPosition: /* @__PURE__ */ j(function() {
1762
1081
  var e = this.pastInput(), t = Array(e.length + 1).join("-");
1763
1082
  return e + this.upcomingInput() + "\n" + t + "^";
1764
1083
  }, "showPosition"),
1765
- test_match: /* @__PURE__ */ _(function(e, t) {
1084
+ test_match: /* @__PURE__ */ j(function(e, t) {
1766
1085
  var n, r, i;
1767
1086
  if (this.options.backtrack_lexer && (i = {
1768
1087
  yylineno: this.yylineno,
@@ -1795,7 +1114,7 @@ var Sn = /* @__PURE__ */ t(((e, t) => {
1795
1114
  }
1796
1115
  return !1;
1797
1116
  }, "test_match"),
1798
- next: /* @__PURE__ */ _(function() {
1117
+ next: /* @__PURE__ */ j(function() {
1799
1118
  if (this.done) return this.EOF;
1800
1119
  this._input || (this.done = !0);
1801
1120
  var e, t, n, r;
@@ -1815,29 +1134,29 @@ var Sn = /* @__PURE__ */ t(((e, t) => {
1815
1134
  line: this.yylineno
1816
1135
  });
1817
1136
  }, "next"),
1818
- lex: /* @__PURE__ */ _(function() {
1137
+ lex: /* @__PURE__ */ j(function() {
1819
1138
  return this.next() || this.lex();
1820
1139
  }, "lex"),
1821
- begin: /* @__PURE__ */ _(function(e) {
1140
+ begin: /* @__PURE__ */ j(function(e) {
1822
1141
  this.conditionStack.push(e);
1823
1142
  }, "begin"),
1824
- popState: /* @__PURE__ */ _(function() {
1143
+ popState: /* @__PURE__ */ j(function() {
1825
1144
  return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1826
1145
  }, "popState"),
1827
- _currentRules: /* @__PURE__ */ _(function() {
1146
+ _currentRules: /* @__PURE__ */ j(function() {
1828
1147
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1829
1148
  }, "_currentRules"),
1830
- topState: /* @__PURE__ */ _(function(e) {
1149
+ topState: /* @__PURE__ */ j(function(e) {
1831
1150
  return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1832
1151
  }, "topState"),
1833
- pushState: /* @__PURE__ */ _(function(e) {
1152
+ pushState: /* @__PURE__ */ j(function(e) {
1834
1153
  this.begin(e);
1835
1154
  }, "pushState"),
1836
- stateStackSize: /* @__PURE__ */ _(function() {
1155
+ stateStackSize: /* @__PURE__ */ j(function() {
1837
1156
  return this.conditionStack.length;
1838
1157
  }, "stateStackSize"),
1839
1158
  options: { "case-insensitive": !0 },
1840
- performAction: /* @__PURE__ */ _(function(e, t, n, r) {
1159
+ performAction: /* @__PURE__ */ j(function(e, t, n, r) {
1841
1160
  switch (n) {
1842
1161
  case 0: return this.begin("open_directive"), "open_directive";
1843
1162
  case 1: return this.begin("acc_title"), 31;
@@ -2050,102 +1369,102 @@ var Sn = /* @__PURE__ */ t(((e, t) => {
2050
1369
  }
2051
1370
  };
2052
1371
  })();
2053
- function O() {
1372
+ function D() {
2054
1373
  this.yy = {};
2055
1374
  }
2056
- return _(O, "Parser"), O.prototype = D, D.Parser = O, new O();
1375
+ return j(D, "Parser"), D.prototype = E, E.Parser = D, new D();
2057
1376
  })();
2058
- jn.parser = jn;
2059
- var Mn = jn;
2060
- J.default.extend(Dn.default), J.default.extend(On.default), J.default.extend(kn.default);
2061
- var Nn = {
1377
+ Je.parser = Je;
1378
+ var Ye = Je;
1379
+ V.default.extend(We.default), V.default.extend(Ge.default), V.default.extend(Ke.default);
1380
+ var Xe = {
2062
1381
  friday: 5,
2063
1382
  saturday: 6
2064
- }, Y = "", Pn = "", Fn = void 0, In = "", X = [], Ln = [], Rn = /* @__PURE__ */ new Map(), zn = [], Bn = [], Vn = "", Hn = "", Un = [
1383
+ }, H = "", Ze = "", Qe = void 0, $e = "", U = [], W = [], et = /* @__PURE__ */ new Map(), tt = [], G = [], K = "", nt = "", rt = [
2065
1384
  "active",
2066
1385
  "done",
2067
1386
  "crit",
2068
1387
  "milestone",
2069
1388
  "vert"
2070
- ], Wn = [], Gn = "", Kn = !1, qn = !1, Jn = "sunday", Yn = "saturday", Xn = 0, Zn = /* @__PURE__ */ _(function() {
2071
- zn = [], Bn = [], Vn = "", Wn = [], jr = 0, Fr = void 0, Ir = void 0, Z = [], Y = "", Pn = "", Hn = "", Fn = void 0, In = "", X = [], Ln = [], Kn = !1, qn = !1, Xn = 0, Rn = /* @__PURE__ */ new Map(), Gn = "", b(), Jn = "sunday", Yn = "saturday";
2072
- }, "clear"), Qn = /* @__PURE__ */ _(function(e) {
2073
- Gn = e;
2074
- }, "setDiagramId"), $n = /* @__PURE__ */ _(function(e) {
2075
- Pn = e;
2076
- }, "setAxisFormat"), er = /* @__PURE__ */ _(function() {
2077
- return Pn;
2078
- }, "getAxisFormat"), tr = /* @__PURE__ */ _(function(e) {
2079
- Fn = e;
2080
- }, "setTickInterval"), nr = /* @__PURE__ */ _(function() {
2081
- return Fn;
2082
- }, "getTickInterval"), rr = /* @__PURE__ */ _(function(e) {
2083
- In = e;
2084
- }, "setTodayMarker"), ir = /* @__PURE__ */ _(function() {
2085
- return In;
2086
- }, "getTodayMarker"), ar = /* @__PURE__ */ _(function(e) {
2087
- Y = e;
2088
- }, "setDateFormat"), or = /* @__PURE__ */ _(function() {
2089
- Kn = !0;
2090
- }, "enableInclusiveEndDates"), sr = /* @__PURE__ */ _(function() {
2091
- return Kn;
2092
- }, "endDatesAreInclusive"), cr = /* @__PURE__ */ _(function() {
2093
- qn = !0;
2094
- }, "enableTopAxis"), lr = /* @__PURE__ */ _(function() {
2095
- return qn;
2096
- }, "topAxisEnabled"), ur = /* @__PURE__ */ _(function(e) {
2097
- Hn = e;
2098
- }, "setDisplayMode"), dr = /* @__PURE__ */ _(function() {
2099
- return Hn;
2100
- }, "getDisplayMode"), fr = /* @__PURE__ */ _(function() {
2101
- return Y;
2102
- }, "getDateFormat"), pr = /* @__PURE__ */ _((e, t) => {
1389
+ ], it = [], q = "", J = !1, at = !1, ot = "sunday", Y = "saturday", st = 0, ct = /* @__PURE__ */ j(function() {
1390
+ tt = [], G = [], K = "", it = [], Ht = 0, Gt = void 0, Kt = void 0, Z = [], H = "", Ze = "", nt = "", Qe = void 0, $e = "", U = [], W = [], J = !1, at = !1, st = 0, et = /* @__PURE__ */ new Map(), q = "", ee(), ot = "sunday", Y = "saturday";
1391
+ }, "clear"), lt = /* @__PURE__ */ j(function(e) {
1392
+ q = e;
1393
+ }, "setDiagramId"), ut = /* @__PURE__ */ j(function(e) {
1394
+ Ze = e;
1395
+ }, "setAxisFormat"), dt = /* @__PURE__ */ j(function() {
1396
+ return Ze;
1397
+ }, "getAxisFormat"), ft = /* @__PURE__ */ j(function(e) {
1398
+ Qe = e;
1399
+ }, "setTickInterval"), pt = /* @__PURE__ */ j(function() {
1400
+ return Qe;
1401
+ }, "getTickInterval"), mt = /* @__PURE__ */ j(function(e) {
1402
+ $e = e;
1403
+ }, "setTodayMarker"), ht = /* @__PURE__ */ j(function() {
1404
+ return $e;
1405
+ }, "getTodayMarker"), gt = /* @__PURE__ */ j(function(e) {
1406
+ H = e;
1407
+ }, "setDateFormat"), _t = /* @__PURE__ */ j(function() {
1408
+ J = !0;
1409
+ }, "enableInclusiveEndDates"), vt = /* @__PURE__ */ j(function() {
1410
+ return J;
1411
+ }, "endDatesAreInclusive"), yt = /* @__PURE__ */ j(function() {
1412
+ at = !0;
1413
+ }, "enableTopAxis"), bt = /* @__PURE__ */ j(function() {
1414
+ return at;
1415
+ }, "topAxisEnabled"), xt = /* @__PURE__ */ j(function(e) {
1416
+ nt = e;
1417
+ }, "setDisplayMode"), St = /* @__PURE__ */ j(function() {
1418
+ return nt;
1419
+ }, "getDisplayMode"), Ct = /* @__PURE__ */ j(function() {
1420
+ return H;
1421
+ }, "getDateFormat"), wt = /* @__PURE__ */ j((e, t) => {
2103
1422
  let n = t.toLowerCase().split(/[\s,]+/).filter((e) => e !== "");
2104
1423
  return [.../* @__PURE__ */ new Set([...e, ...n])];
2105
- }, "mergeTokens"), mr = /* @__PURE__ */ _(function(e) {
2106
- X = pr(X, e);
2107
- }, "setIncludes"), hr = /* @__PURE__ */ _(function() {
2108
- return X;
2109
- }, "getIncludes"), gr = /* @__PURE__ */ _(function(e) {
2110
- Ln = pr(Ln, e);
2111
- }, "setExcludes"), _r = /* @__PURE__ */ _(function() {
2112
- return Ln;
2113
- }, "getExcludes"), vr = /* @__PURE__ */ _(function() {
2114
- return Rn;
2115
- }, "getLinks"), yr = /* @__PURE__ */ _(function(e) {
2116
- Vn = e, zn.push(e);
2117
- }, "addSection"), br = /* @__PURE__ */ _(function() {
2118
- return zn;
2119
- }, "getSections"), xr = /* @__PURE__ */ _(function() {
2120
- let e = Br(), t = 0;
2121
- for (; !e && t < 10;) e = Br(), t++;
2122
- return Bn = Z, Bn;
2123
- }, "getTasks"), Sr = /* @__PURE__ */ _(function(e, t, n, r) {
1424
+ }, "mergeTokens"), Tt = /* @__PURE__ */ j(function(e) {
1425
+ U = wt(U, e);
1426
+ }, "setIncludes"), Et = /* @__PURE__ */ j(function() {
1427
+ return U;
1428
+ }, "getIncludes"), Dt = /* @__PURE__ */ j(function(e) {
1429
+ W = wt(W, e);
1430
+ }, "setExcludes"), Ot = /* @__PURE__ */ j(function() {
1431
+ return W;
1432
+ }, "getExcludes"), kt = /* @__PURE__ */ j(function() {
1433
+ return et;
1434
+ }, "getLinks"), At = /* @__PURE__ */ j(function(e) {
1435
+ K = e, tt.push(e);
1436
+ }, "addSection"), jt = /* @__PURE__ */ j(function() {
1437
+ return tt;
1438
+ }, "getSections"), Mt = /* @__PURE__ */ j(function() {
1439
+ let e = Xt(), t = 0;
1440
+ for (; !e && t < 10;) e = Xt(), t++;
1441
+ return G = Z, G;
1442
+ }, "getTasks"), Nt = /* @__PURE__ */ j(function(e, t, n, r) {
2124
1443
  let i = e.format(t.trim()), a = e.format("YYYY-MM-DD");
2125
- return r.includes(i) || r.includes(a) ? !1 : n.includes("weekends") && (e.isoWeekday() === Nn[Yn] || e.isoWeekday() === Nn[Yn] + 1) || n.includes(e.format("dddd").toLowerCase()) ? !0 : n.includes(i) || n.includes(a);
2126
- }, "isInvalidDate"), Cr = /* @__PURE__ */ _(function(e) {
2127
- Jn = e;
2128
- }, "setWeekday"), wr = /* @__PURE__ */ _(function() {
2129
- return Jn;
2130
- }, "getWeekday"), Tr = /* @__PURE__ */ _(function(e) {
2131
- Yn = e;
2132
- }, "setWeekend"), Er = /* @__PURE__ */ _(function(e, t, n, r) {
1444
+ return r.includes(i) || r.includes(a) ? !1 : n.includes("weekends") && (e.isoWeekday() === Xe[Y] || e.isoWeekday() === Xe[Y] + 1) || n.includes(e.format("dddd").toLowerCase()) ? !0 : n.includes(i) || n.includes(a);
1445
+ }, "isInvalidDate"), Pt = /* @__PURE__ */ j(function(e) {
1446
+ ot = e;
1447
+ }, "setWeekday"), Ft = /* @__PURE__ */ j(function() {
1448
+ return ot;
1449
+ }, "getWeekday"), It = /* @__PURE__ */ j(function(e) {
1450
+ Y = e;
1451
+ }, "setWeekend"), Lt = /* @__PURE__ */ j(function(e, t, n, r) {
2133
1452
  if (!n.length || e.manualEndTime) return;
2134
1453
  let i;
2135
- i = e.startTime instanceof Date ? (0, J.default)(e.startTime) : (0, J.default)(e.startTime, t, !0), i = i.add(1, "d");
1454
+ i = e.startTime instanceof Date ? (0, V.default)(e.startTime) : (0, V.default)(e.startTime, t, !0), i = i.add(1, "d");
2136
1455
  let a;
2137
- a = e.endTime instanceof Date ? (0, J.default)(e.endTime) : (0, J.default)(e.endTime, t, !0);
2138
- let [o, s] = Dr(i, a, t, n, r);
1456
+ a = e.endTime instanceof Date ? (0, V.default)(e.endTime) : (0, V.default)(e.endTime, t, !0);
1457
+ let [o, s] = Rt(i, a, t, n, r);
2139
1458
  e.endTime = o.toDate(), e.renderEndTime = s;
2140
- }, "checkTaskDates"), Dr = /* @__PURE__ */ _(function(e, t, n, r, i) {
1459
+ }, "checkTaskDates"), Rt = /* @__PURE__ */ j(function(e, t, n, r, i) {
2141
1460
  let a = !1, o = null, s = t.add(1e4, "d");
2142
1461
  for (; e <= t;) {
2143
- if (a || (o = t.toDate()), a = Sr(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.");
1462
+ if (a || (o = t.toDate()), a = Nt(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.");
2144
1463
  e = e.add(1, "d");
2145
1464
  }
2146
1465
  return [t, o];
2147
- }, "fixTaskDates"), Or = /* @__PURE__ */ _(function(e, t, n) {
2148
- if (n = n.trim(), (/* @__PURE__ */ _((e) => {
1466
+ }, "fixTaskDates"), zt = /* @__PURE__ */ j(function(e, t, n) {
1467
+ if (n = n.trim(), (/* @__PURE__ */ j((e) => {
2149
1468
  let t = e.trim();
2150
1469
  return t === "x" || t === "X";
2151
1470
  }, "isTimestampFormat"))(t) && /^\d+$/.test(n)) return new Date(Number(n));
@@ -2160,18 +1479,18 @@ var Nn = {
2160
1479
  let t = /* @__PURE__ */ new Date();
2161
1480
  return t.setHours(0, 0, 0, 0), t;
2162
1481
  }
2163
- let i = (0, J.default)(n, t.trim(), !0);
1482
+ let i = (0, V.default)(n, t.trim(), !0);
2164
1483
  if (i.isValid()) return i.toDate();
2165
1484
  {
2166
- m.debug("Invalid date:" + n), m.debug("With date format:" + t.trim());
1485
+ O.debug("Invalid date:" + n), O.debug("With date format:" + t.trim());
2167
1486
  let e = new Date(n);
2168
1487
  if (e === void 0 || isNaN(e.getTime()) || e.getFullYear() < -1e4 || e.getFullYear() > 1e4) throw Error("Invalid date:" + n);
2169
1488
  return e;
2170
1489
  }
2171
- }, "getStartDate"), kr = /* @__PURE__ */ _(function(e) {
1490
+ }, "getStartDate"), Bt = /* @__PURE__ */ j(function(e) {
2172
1491
  let t = /^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(e.trim());
2173
1492
  return t === null ? [NaN, "ms"] : [Number.parseFloat(t[1]), t[2]];
2174
- }, "parseDuration"), Ar = /* @__PURE__ */ _(function(e, t, n, r = !1) {
1493
+ }, "parseDuration"), Vt = /* @__PURE__ */ j(function(e, t, n, r = !1) {
2175
1494
  n = n.trim();
2176
1495
  let i = /^until\s+(?<ids>[\d\w- ]+)/.exec(n);
2177
1496
  if (i !== null) {
@@ -2184,57 +1503,57 @@ var Nn = {
2184
1503
  let t = /* @__PURE__ */ new Date();
2185
1504
  return t.setHours(0, 0, 0, 0), t;
2186
1505
  }
2187
- let a = (0, J.default)(n, t.trim(), !0);
1506
+ let a = (0, V.default)(n, t.trim(), !0);
2188
1507
  if (a.isValid()) return r && (a = a.add(1, "d")), a.toDate();
2189
- let o = (0, J.default)(e), [s, c] = kr(n);
1508
+ let o = (0, V.default)(e), [s, c] = Bt(n);
2190
1509
  if (!Number.isNaN(s)) {
2191
1510
  let e = o.add(s, c);
2192
1511
  e.isValid() && (o = e);
2193
1512
  }
2194
1513
  return o.toDate();
2195
- }, "getEndDate"), jr = 0, Mr = /* @__PURE__ */ _(function(e) {
2196
- return e === void 0 ? (jr += 1, "task" + jr) : e;
2197
- }, "parseId"), Nr = /* @__PURE__ */ _(function(e, t) {
1514
+ }, "getEndDate"), Ht = 0, X = /* @__PURE__ */ j(function(e) {
1515
+ return e === void 0 ? (Ht += 1, "task" + Ht) : e;
1516
+ }, "parseId"), Ut = /* @__PURE__ */ j(function(e, t) {
2198
1517
  let n;
2199
1518
  n = t.substr(0, 1) === ":" ? t.substr(1, t.length) : t;
2200
1519
  let r = n.split(","), i = {};
2201
- Kr(r, i, Un);
1520
+ nn(r, i, rt);
2202
1521
  for (let e = 0; e < r.length; e++) r[e] = r[e].trim();
2203
1522
  let a = "";
2204
1523
  switch (r.length) {
2205
1524
  case 1:
2206
- i.id = Mr(), i.startTime = e.endTime, a = r[0];
1525
+ i.id = X(), i.startTime = e.endTime, a = r[0];
2207
1526
  break;
2208
1527
  case 2:
2209
- i.id = Mr(), i.startTime = Or(void 0, Y, r[0]), a = r[1];
1528
+ i.id = X(), i.startTime = zt(void 0, H, r[0]), a = r[1];
2210
1529
  break;
2211
1530
  case 3:
2212
- i.id = Mr(r[0]), i.startTime = Or(void 0, Y, r[1]), a = r[2];
1531
+ i.id = X(r[0]), i.startTime = zt(void 0, H, r[1]), a = r[2];
2213
1532
  break;
2214
1533
  default:
2215
1534
  }
2216
- return a && (i.endTime = Ar(i.startTime, Y, a, Kn), i.manualEndTime = (0, J.default)(a, "YYYY-MM-DD", !0).isValid(), Er(i, Y, Ln, X)), i;
2217
- }, "compileData"), Pr = /* @__PURE__ */ _(function(e, t) {
1535
+ return a && (i.endTime = Vt(i.startTime, H, a, J), i.manualEndTime = (0, V.default)(a, "YYYY-MM-DD", !0).isValid(), Lt(i, H, W, U)), i;
1536
+ }, "compileData"), Wt = /* @__PURE__ */ j(function(e, t) {
2218
1537
  let n;
2219
1538
  n = t.substr(0, 1) === ":" ? t.substr(1, t.length) : t;
2220
1539
  let r = n.split(","), i = {};
2221
- Kr(r, i, Un);
1540
+ nn(r, i, rt);
2222
1541
  for (let e = 0; e < r.length; e++) r[e] = r[e].trim();
2223
1542
  switch (r.length) {
2224
1543
  case 1:
2225
- i.id = Mr(), i.startTime = {
1544
+ i.id = X(), i.startTime = {
2226
1545
  type: "prevTaskEnd",
2227
1546
  id: e
2228
1547
  }, i.endTime = { data: r[0] };
2229
1548
  break;
2230
1549
  case 2:
2231
- i.id = Mr(), i.startTime = {
1550
+ i.id = X(), i.startTime = {
2232
1551
  type: "getStartDate",
2233
1552
  startData: r[0]
2234
1553
  }, i.endTime = { data: r[1] };
2235
1554
  break;
2236
1555
  case 3:
2237
- i.id = Mr(r[0]), i.startTime = {
1556
+ i.id = X(r[0]), i.startTime = {
2238
1557
  type: "getStartDate",
2239
1558
  startData: r[1]
2240
1559
  }, i.endTime = { data: r[2] };
@@ -2242,61 +1561,61 @@ var Nn = {
2242
1561
  default:
2243
1562
  }
2244
1563
  return i;
2245
- }, "parseData"), Fr, Ir, Z = [], Lr = {}, Rr = /* @__PURE__ */ _(function(e, t) {
1564
+ }, "parseData"), Gt, Kt, Z = [], qt = {}, Jt = /* @__PURE__ */ j(function(e, t) {
2246
1565
  let n = {
2247
- section: Vn,
2248
- type: Vn,
1566
+ section: K,
1567
+ type: K,
2249
1568
  processed: !1,
2250
1569
  manualEndTime: !1,
2251
1570
  renderEndTime: null,
2252
1571
  raw: { data: t },
2253
1572
  task: e,
2254
1573
  classes: []
2255
- }, r = Pr(Ir, t);
2256
- n.raw.startTime = r.startTime, n.raw.endTime = r.endTime, n.id = r.id, n.prevTaskId = Ir, n.active = r.active, n.done = r.done, n.crit = r.crit, n.milestone = r.milestone, n.vert = r.vert, n.vert ? n.order = -1 : (n.order = Xn, Xn++);
1574
+ }, r = Wt(Kt, t);
1575
+ n.raw.startTime = r.startTime, n.raw.endTime = r.endTime, n.id = r.id, n.prevTaskId = Kt, n.active = r.active, n.done = r.done, n.crit = r.crit, n.milestone = r.milestone, n.vert = r.vert, n.vert ? n.order = -1 : (n.order = st, st++);
2257
1576
  let i = Z.push(n);
2258
- Ir = n.id, Lr[n.id] = i - 1;
2259
- }, "addTask"), Q = /* @__PURE__ */ _(function(e) {
2260
- let t = Lr[e];
1577
+ Kt = n.id, qt[n.id] = i - 1;
1578
+ }, "addTask"), Q = /* @__PURE__ */ j(function(e) {
1579
+ let t = qt[e];
2261
1580
  return Z[t];
2262
- }, "findTaskById"), zr = /* @__PURE__ */ _(function(e, t) {
1581
+ }, "findTaskById"), Yt = /* @__PURE__ */ j(function(e, t) {
2263
1582
  let n = {
2264
- section: Vn,
2265
- type: Vn,
1583
+ section: K,
1584
+ type: K,
2266
1585
  description: e,
2267
1586
  task: e,
2268
1587
  classes: []
2269
- }, r = Nr(Fr, t);
2270
- 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, Fr = n, Bn.push(n);
2271
- }, "addTaskOrg"), Br = /* @__PURE__ */ _(function() {
2272
- let e = /* @__PURE__ */ _(function(e) {
1588
+ }, r = Ut(Gt, t);
1589
+ 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, Gt = n, G.push(n);
1590
+ }, "addTaskOrg"), Xt = /* @__PURE__ */ j(function() {
1591
+ let e = /* @__PURE__ */ j(function(e) {
2273
1592
  let t = Z[e], n = "";
2274
1593
  switch (Z[e].raw.startTime.type) {
2275
1594
  case "prevTaskEnd":
2276
1595
  t.startTime = Q(t.prevTaskId).endTime;
2277
1596
  break;
2278
1597
  case "getStartDate":
2279
- n = Or(void 0, Y, Z[e].raw.startTime.startData), n && (Z[e].startTime = n);
1598
+ n = zt(void 0, H, Z[e].raw.startTime.startData), n && (Z[e].startTime = n);
2280
1599
  break;
2281
1600
  }
2282
- return Z[e].startTime && (Z[e].endTime = Ar(Z[e].startTime, Y, Z[e].raw.endTime.data, Kn), Z[e].endTime && (Z[e].processed = !0, Z[e].manualEndTime = (0, J.default)(Z[e].raw.endTime.data, "YYYY-MM-DD", !0).isValid(), Er(Z[e], Y, Ln, X))), Z[e].processed;
1601
+ return Z[e].startTime && (Z[e].endTime = Vt(Z[e].startTime, H, Z[e].raw.endTime.data, J), Z[e].endTime && (Z[e].processed = !0, Z[e].manualEndTime = (0, V.default)(Z[e].raw.endTime.data, "YYYY-MM-DD", !0).isValid(), Lt(Z[e], H, W, U))), Z[e].processed;
2283
1602
  }, "compileTask"), t = !0;
2284
1603
  for (let [n, r] of Z.entries()) e(n), t &&= r.processed;
2285
1604
  return t;
2286
- }, "compileTasks"), Vr = /* @__PURE__ */ _(function(e, t) {
1605
+ }, "compileTasks"), Zt = /* @__PURE__ */ j(function(e, t) {
2287
1606
  let n = t;
2288
- E().securityLevel !== "loose" && (n = (0, En.sanitizeUrl)(t)), e.split(",").forEach(function(e) {
2289
- Q(e) !== void 0 && (Wr(e, () => {
1607
+ P().securityLevel !== "loose" && (n = (0, Ue.sanitizeUrl)(t)), e.split(",").forEach(function(e) {
1608
+ Q(e) !== void 0 && (en(e, () => {
2290
1609
  window.open(n, "_self");
2291
- }), Rn.set(e, n));
2292
- }), Hr(e, "clickable");
2293
- }, "setLink"), Hr = /* @__PURE__ */ _(function(e, t) {
1610
+ }), et.set(e, n));
1611
+ }), Qt(e, "clickable");
1612
+ }, "setLink"), Qt = /* @__PURE__ */ j(function(e, t) {
2294
1613
  e.split(",").forEach(function(e) {
2295
1614
  let n = Q(e);
2296
1615
  n !== void 0 && n.classes.push(t);
2297
1616
  });
2298
- }, "setClass"), Ur = /* @__PURE__ */ _(function(e, t, n) {
2299
- if (E().securityLevel !== "loose" || t === void 0) return;
1617
+ }, "setClass"), $t = /* @__PURE__ */ j(function(e, t, n) {
1618
+ if (P().securityLevel !== "loose" || t === void 0) return;
2300
1619
  let r = [];
2301
1620
  if (typeof n == "string") {
2302
1621
  r = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
@@ -2305,171 +1624,171 @@ var Nn = {
2305
1624
  t.startsWith("\"") && t.endsWith("\"") && (t = t.substr(1, t.length - 2)), r[e] = t;
2306
1625
  }
2307
1626
  }
2308
- r.length === 0 && r.push(e), Q(e) !== void 0 && Wr(e, () => {
2309
- g.runFunc(t, ...r);
1627
+ r.length === 0 && r.push(e), Q(e) !== void 0 && en(e, () => {
1628
+ A.runFunc(t, ...r);
2310
1629
  });
2311
- }, "setClickFun"), Wr = /* @__PURE__ */ _(function(e, t) {
2312
- Wn.push(function() {
2313
- let n = Gn ? `${Gn}-${e}` : e, r = document.querySelector(`[id="${n}"]`);
1630
+ }, "setClickFun"), en = /* @__PURE__ */ j(function(e, t) {
1631
+ it.push(function() {
1632
+ let n = q ? `${q}-${e}` : e, r = document.querySelector(`[id="${n}"]`);
2314
1633
  r !== null && r.addEventListener("click", function() {
2315
1634
  t();
2316
1635
  });
2317
1636
  }, function() {
2318
- let n = Gn ? `${Gn}-${e}` : e, r = document.querySelector(`[id="${n}-text"]`);
1637
+ let n = q ? `${q}-${e}` : e, r = document.querySelector(`[id="${n}-text"]`);
2319
1638
  r !== null && r.addEventListener("click", function() {
2320
1639
  t();
2321
1640
  });
2322
1641
  });
2323
- }, "pushFun"), Gr = {
2324
- getConfig: /* @__PURE__ */ _(() => E().gantt, "getConfig"),
2325
- clear: Zn,
2326
- setDateFormat: ar,
2327
- getDateFormat: fr,
2328
- enableInclusiveEndDates: or,
2329
- endDatesAreInclusive: sr,
2330
- enableTopAxis: cr,
2331
- topAxisEnabled: lr,
2332
- setAxisFormat: $n,
2333
- getAxisFormat: er,
2334
- setTickInterval: tr,
2335
- getTickInterval: nr,
2336
- setTodayMarker: rr,
2337
- getTodayMarker: ir,
2338
- setAccTitle: y,
2339
- getAccTitle: D,
2340
- setDiagramTitle: S,
2341
- getDiagramTitle: T,
2342
- setDiagramId: Qn,
2343
- setDisplayMode: ur,
2344
- getDisplayMode: dr,
2345
- setAccDescription: v,
2346
- getAccDescription: w,
2347
- addSection: yr,
2348
- getSections: br,
2349
- getTasks: xr,
2350
- addTask: Rr,
1642
+ }, "pushFun"), tn = {
1643
+ getConfig: /* @__PURE__ */ j(() => P().gantt, "getConfig"),
1644
+ clear: ct,
1645
+ setDateFormat: gt,
1646
+ getDateFormat: Ct,
1647
+ enableInclusiveEndDates: _t,
1648
+ endDatesAreInclusive: vt,
1649
+ enableTopAxis: yt,
1650
+ topAxisEnabled: bt,
1651
+ setAxisFormat: ut,
1652
+ getAxisFormat: dt,
1653
+ setTickInterval: ft,
1654
+ getTickInterval: pt,
1655
+ setTodayMarker: mt,
1656
+ getTodayMarker: ht,
1657
+ setAccTitle: N,
1658
+ getAccTitle: oe,
1659
+ setDiagramTitle: ne,
1660
+ getDiagramTitle: ae,
1661
+ setDiagramId: lt,
1662
+ setDisplayMode: xt,
1663
+ getDisplayMode: St,
1664
+ setAccDescription: M,
1665
+ getAccDescription: ie,
1666
+ addSection: At,
1667
+ getSections: jt,
1668
+ getTasks: Mt,
1669
+ addTask: Jt,
2351
1670
  findTaskById: Q,
2352
- addTaskOrg: zr,
2353
- setIncludes: mr,
2354
- getIncludes: hr,
2355
- setExcludes: gr,
2356
- getExcludes: _r,
2357
- setClickEvent: /* @__PURE__ */ _(function(e, t, n) {
1671
+ addTaskOrg: Yt,
1672
+ setIncludes: Tt,
1673
+ getIncludes: Et,
1674
+ setExcludes: Dt,
1675
+ getExcludes: Ot,
1676
+ setClickEvent: /* @__PURE__ */ j(function(e, t, n) {
2358
1677
  e.split(",").forEach(function(e) {
2359
- Ur(e, t, n);
2360
- }), Hr(e, "clickable");
1678
+ $t(e, t, n);
1679
+ }), Qt(e, "clickable");
2361
1680
  }, "setClickEvent"),
2362
- setLink: Vr,
2363
- getLinks: vr,
2364
- bindFunctions: /* @__PURE__ */ _(function(e) {
2365
- Wn.forEach(function(t) {
1681
+ setLink: Zt,
1682
+ getLinks: kt,
1683
+ bindFunctions: /* @__PURE__ */ j(function(e) {
1684
+ it.forEach(function(t) {
2366
1685
  t(e);
2367
1686
  });
2368
1687
  }, "bindFunctions"),
2369
- parseDuration: kr,
2370
- isInvalidDate: Sr,
2371
- setWeekday: Cr,
2372
- getWeekday: wr,
2373
- setWeekend: Tr
1688
+ parseDuration: Bt,
1689
+ isInvalidDate: Nt,
1690
+ setWeekday: Pt,
1691
+ getWeekday: Ft,
1692
+ setWeekend: It
2374
1693
  };
2375
- function Kr(e, t, n) {
1694
+ function nn(e, t, n) {
2376
1695
  let r = !0;
2377
1696
  for (; r;) r = !1, n.forEach(function(n) {
2378
1697
  let i = "^\\s*" + n + "\\s*$", a = new RegExp(i);
2379
1698
  e[0].match(a) && (t[n] = !0, e.shift(1), r = !0);
2380
1699
  });
2381
1700
  }
2382
- _(Kr, "getTaskTags"), J.default.extend(An.default);
2383
- var qr = /* @__PURE__ */ _(function() {
2384
- m.debug("Something is calling, setConf, remove the call");
2385
- }, "setConf"), Jr = {
2386
- monday: He,
2387
- tuesday: Ue,
2388
- wednesday: We,
2389
- thursday: B,
2390
- friday: Ge,
2391
- saturday: Ke,
2392
- sunday: Ve
2393
- }, Yr = /* @__PURE__ */ _((e, t) => {
1701
+ j(nn, "getTaskTags"), V.default.extend(qe.default);
1702
+ var rn = /* @__PURE__ */ j(function() {
1703
+ O.debug("Something is calling, setConf, remove the call");
1704
+ }, "setConf"), an = {
1705
+ monday: o,
1706
+ tuesday: u,
1707
+ wednesday: f,
1708
+ thursday: d,
1709
+ friday: r,
1710
+ saturday: g,
1711
+ sunday: a
1712
+ }, on = /* @__PURE__ */ j((e, t) => {
2394
1713
  let n = [...e].map(() => -Infinity), r = [...e].sort((e, t) => e.startTime - t.startTime || e.order - t.order), i = 0;
2395
1714
  for (let e of r) for (let r = 0; r < n.length; r++) if (e.startTime >= n[r]) {
2396
1715
  n[r] = e.endTime, e.order = r + t, r > i && (i = r);
2397
1716
  break;
2398
1717
  }
2399
1718
  return i;
2400
- }, "getMaxIntersections"), $, Xr = 1e4, Zr = {
2401
- parser: Mn,
2402
- db: Gr,
1719
+ }, "getMaxIntersections"), $, sn = 1e4, cn = {
1720
+ parser: Ye,
1721
+ db: tn,
2403
1722
  renderer: {
2404
- setConf: qr,
2405
- draw: /* @__PURE__ */ _(function(e, t, r, a) {
2406
- let o = E().gantt;
1723
+ setConf: rn,
1724
+ draw: /* @__PURE__ */ j(function(e, t, r, a) {
1725
+ let o = P().gantt;
2407
1726
  a.db.setDiagramId(t);
2408
- let s = E().securityLevel, c;
2409
- s === "sandbox" && (c = h("#i" + t));
2410
- let l = h(s === "sandbox" ? c.nodes()[0].contentDocument.body : "body"), u = s === "sandbox" ? c.nodes()[0].contentDocument : document, d = u.getElementById(t);
2411
- $ = d.parentElement.offsetWidth, $ === void 0 && ($ = 1200), o.useWidth !== void 0 && ($ = o.useWidth);
2412
- let f = a.db.getTasks(), p = f.filter((e) => !e.vert), g = [];
2413
- for (let e of p) g.push(e.type);
2414
- g = ee(g);
2415
- let v = {}, y = 2 * o.topPadding;
1727
+ let u = P().securityLevel, d;
1728
+ u === "sandbox" && (d = k("#i" + t));
1729
+ let f = k(u === "sandbox" ? d.nodes()[0].contentDocument.body : "body"), m = u === "sandbox" ? d.nodes()[0].contentDocument : document, g = m.getElementById(t);
1730
+ $ = g.parentElement.offsetWidth, $ === void 0 && ($ = 1200), o.useWidth !== void 0 && ($ = o.useWidth);
1731
+ let y = a.db.getTasks(), b = y.filter((e) => !e.vert), x = [];
1732
+ for (let e of b) x.push(e.type);
1733
+ x = ae(x);
1734
+ let S = {}, C = 2 * o.topPadding;
2416
1735
  if (a.db.getDisplayMode() === "compact" || o.displayMode === "compact") {
2417
1736
  let e = {};
2418
- for (let t of p) e[t.section] === void 0 ? e[t.section] = [t] : e[t.section].push(t);
1737
+ for (let t of b) e[t.section] === void 0 ? e[t.section] = [t] : e[t.section].push(t);
2419
1738
  let t = 0;
2420
1739
  for (let n of Object.keys(e)) {
2421
- let r = Yr(e[n], t) + 1;
2422
- t += r, y += r * (o.barHeight + o.barGap), v[n] = r;
1740
+ let r = on(e[n], t) + 1;
1741
+ t += r, C += r * (o.barHeight + o.barGap), S[n] = r;
2423
1742
  }
2424
1743
  } else {
2425
- y += p.length * (o.barHeight + o.barGap);
2426
- for (let e of g) v[e] = p.filter((t) => t.type === e).length;
1744
+ C += b.length * (o.barHeight + o.barGap);
1745
+ for (let e of x) S[e] = b.filter((t) => t.type === e).length;
2427
1746
  }
2428
- d.setAttribute("viewBox", "0 0 " + $ + " " + y);
2429
- let b = l.select(`[id="${t}"]`), S = n().domain([he(f, function(e) {
1747
+ g.setAttribute("viewBox", "0 0 " + $ + " " + C);
1748
+ let w = f.select(`[id="${t}"]`), T = i().domain([Ee(y, function(e) {
2430
1749
  return e.startTime;
2431
- }), me(f, function(e) {
1750
+ }), Te(y, function(e) {
2432
1751
  return e.endTime;
2433
1752
  })]).rangeRound([0, $ - o.leftPadding - o.rightPadding]);
2434
- function w(e, t) {
1753
+ function E(e, t) {
2435
1754
  let n = e.startTime, r = t.startTime, i = 0;
2436
1755
  return n > r ? i = 1 : n < r && (i = -1), i;
2437
1756
  }
2438
- _(w, "taskCompare"), f.sort(w), T(f, $, y), x(b, y, $, o.useMaxWidth), b.append("text").text(a.db.getDiagramTitle()).attr("x", $ / 2).attr("y", o.titleTopMargin).attr("class", "titleText");
2439
- function T(e, t, n) {
2440
- let r = o.barHeight, s = r + o.barGap, c = o.topPadding, l = o.leftPadding, u = i().domain([0, g.length]).range(["#00B9FA", "#F95002"]).interpolate(pe);
2441
- O(s, c, l, t, n, e, a.db.getExcludes(), a.db.getIncludes()), A(l, c, t, n), D(e, s, c, l, r, u, t, n), j(s, c, l, r, u), M(l, c, t, n);
1757
+ j(E, "taskCompare"), y.sort(E), D(y, $, C), te(w, C, $, o.useMaxWidth), w.append("text").text(a.db.getDiagramTitle()).attr("x", $ / 2).attr("y", o.titleTopMargin).attr("class", "titleText");
1758
+ function D(e, t, n) {
1759
+ let r = o.barHeight, i = r + o.barGap, s = o.topPadding, c = o.leftPadding, l = _().domain([0, x.length]).range(["#00B9FA", "#F95002"]).interpolate(we);
1760
+ M(i, s, c, t, n, e, a.db.getExcludes(), a.db.getIncludes()), ee(c, s, t, n), A(e, i, s, c, r, l, t, n), ne(i, s, c, r, l), ie(c, s, t, n);
2442
1761
  }
2443
- _(T, "makeGantt");
2444
- function D(e, n, r, i, s, c, l) {
1762
+ j(D, "makeGantt");
1763
+ function A(e, n, r, i, s, c, l) {
2445
1764
  e.sort((e, t) => e.vert === t.vert ? 0 : e.vert ? 1 : -1);
2446
1765
  let u = e.filter((e) => !e.vert), d = [...new Set(u.map((e) => e.order))].map((e) => u.find((t) => t.order === e));
2447
- b.append("g").selectAll("rect").data(d).enter().append("rect").attr("x", 0).attr("y", function(e, t) {
1766
+ w.append("g").selectAll("rect").data(d).enter().append("rect").attr("x", 0).attr("y", function(e, t) {
2448
1767
  return t = e.order, t * n + r - 2;
2449
1768
  }).attr("width", function() {
2450
1769
  return l - o.rightPadding / 2;
2451
1770
  }).attr("height", n).attr("class", function(e) {
2452
- for (let [t, n] of g.entries()) if (e.type === n) return "section section" + t % o.numberSectionStyles;
1771
+ for (let [t, n] of x.entries()) if (e.type === n) return "section section" + t % o.numberSectionStyles;
2453
1772
  return "section section0";
2454
1773
  }).enter();
2455
- let f = b.append("g").selectAll("rect").data(e).enter(), p = a.db.getLinks();
1774
+ let f = w.append("g").selectAll("rect").data(e).enter(), p = a.db.getLinks();
2456
1775
  if (f.append("rect").attr("id", function(e) {
2457
1776
  return t + "-" + e.id;
2458
1777
  }).attr("rx", 3).attr("ry", 3).attr("x", function(e) {
2459
- return e.milestone ? S(e.startTime) + i + .5 * (S(e.endTime) - S(e.startTime)) - .5 * s : S(e.startTime) + i;
1778
+ return e.milestone ? T(e.startTime) + i + .5 * (T(e.endTime) - T(e.startTime)) - .5 * s : T(e.startTime) + i;
2460
1779
  }).attr("y", function(e, t) {
2461
1780
  return t = e.order, e.vert ? o.gridLineStartPadding : t * n + r;
2462
1781
  }).attr("width", function(e) {
2463
- return e.milestone ? s : e.vert ? .08 * s : S(e.renderEndTime || e.endTime) - S(e.startTime);
1782
+ return e.milestone ? s : e.vert ? .08 * s : T(e.renderEndTime || e.endTime) - T(e.startTime);
2464
1783
  }).attr("height", function(e) {
2465
1784
  return e.vert ? u.length * (o.barHeight + o.barGap) + o.barHeight * 2 : s;
2466
1785
  }).attr("transform-origin", function(e, t) {
2467
- return t = e.order, (S(e.startTime) + i + .5 * (S(e.endTime) - S(e.startTime))).toString() + "px " + (t * n + r + .5 * s).toString() + "px";
1786
+ return t = e.order, (T(e.startTime) + i + .5 * (T(e.endTime) - T(e.startTime))).toString() + "px " + (t * n + r + .5 * s).toString() + "px";
2468
1787
  }).attr("class", function(e) {
2469
1788
  let t = "";
2470
1789
  e.classes.length > 0 && (t = e.classes.join(" "));
2471
1790
  let n = 0;
2472
- for (let [t, r] of g.entries()) e.type === r && (n = t % o.numberSectionStyles);
1791
+ for (let [t, r] of x.entries()) e.type === r && (n = t % o.numberSectionStyles);
2473
1792
  let r = "";
2474
1793
  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;
2475
1794
  }), f.append("text").attr("id", function(e) {
@@ -2477,24 +1796,24 @@ var qr = /* @__PURE__ */ _(function() {
2477
1796
  }).text(function(e) {
2478
1797
  return e.task;
2479
1798
  }).attr("font-size", o.fontSize).attr("x", function(e) {
2480
- let t = S(e.startTime), n = S(e.renderEndTime || e.endTime);
2481
- if (e.milestone && (t += .5 * (S(e.endTime) - S(e.startTime)) - .5 * s, n = t + s), e.vert) return S(e.startTime) + i;
1799
+ let t = T(e.startTime), n = T(e.renderEndTime || e.endTime);
1800
+ if (e.milestone && (t += .5 * (T(e.endTime) - T(e.startTime)) - .5 * s, n = t + s), e.vert) return T(e.startTime) + i;
2482
1801
  let r = this.getBBox().width;
2483
1802
  return r > n - t ? n + r + 1.5 * o.leftPadding > l ? t + i - 5 : n + i + 5 : (n - t) / 2 + t + i;
2484
1803
  }).attr("y", function(e, t) {
2485
1804
  return e.vert ? o.gridLineStartPadding + u.length * (o.barHeight + o.barGap) + 60 : (t = e.order, t * n + o.barHeight / 2 + (o.fontSize / 2 - 2) + r);
2486
1805
  }).attr("text-height", s).attr("class", function(e) {
2487
- let t = S(e.startTime), n = S(e.endTime);
1806
+ let t = T(e.startTime), n = T(e.endTime);
2488
1807
  e.milestone && (n = t + s);
2489
1808
  let r = this.getBBox().width, i = "";
2490
1809
  e.classes.length > 0 && (i = e.classes.join(" "));
2491
1810
  let a = 0;
2492
- for (let [t, n] of g.entries()) e.type === n && (a = t % o.numberSectionStyles);
1811
+ for (let [t, n] of x.entries()) e.type === n && (a = t % o.numberSectionStyles);
2493
1812
  let c = "";
2494
1813
  return e.active && (c = e.crit ? "activeCritText" + a : "activeText" + a), e.done ? c = e.crit ? c + " doneCritText" + a : c + " doneText" + a : e.crit && (c = c + " critText" + a), e.milestone && (c += " milestoneText"), e.vert && (c += " vertText"), r > n - t ? n + r + 1.5 * o.leftPadding > l ? i + " taskTextOutsideLeft taskTextOutside" + a + " " + c : i + " taskTextOutsideRight taskTextOutside" + a + " " + c + " width-" + r : i + " taskText taskText" + a + " " + c + " width-" + r;
2495
- }), E().securityLevel === "sandbox") {
1814
+ }), P().securityLevel === "sandbox") {
2496
1815
  let e;
2497
- e = h("#i" + t);
1816
+ e = k("#i" + t);
2498
1817
  let n = e.nodes()[0].contentDocument;
2499
1818
  f.filter(function(e) {
2500
1819
  return p.has(e.id);
@@ -2506,110 +1825,110 @@ var qr = /* @__PURE__ */ _(function() {
2506
1825
  });
2507
1826
  }
2508
1827
  }
2509
- _(D, "drawRects");
2510
- function O(e, n, r, i, s, c, l, u) {
1828
+ j(A, "drawRects");
1829
+ function M(e, n, r, i, s, c, l, u) {
2511
1830
  if (l.length === 0 && u.length === 0) return;
2512
1831
  let d, f;
2513
1832
  for (let { startTime: e, endTime: t } of c) (d === void 0 || e < d) && (d = e), (f === void 0 || t > f) && (f = t);
2514
1833
  if (!d || !f) return;
2515
- if ((0, J.default)(f).diff((0, J.default)(d), "year") > 5) {
2516
- m.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");
1834
+ if ((0, V.default)(f).diff((0, V.default)(d), "year") > 5) {
1835
+ O.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");
2517
1836
  return;
2518
1837
  }
2519
- let p = a.db.getDateFormat(), h = [], g = null, _ = (0, J.default)(d);
2520
- for (; _.valueOf() <= f;) a.db.isInvalidDate(_, p, l, u) ? g ? g.end = _ : g = {
2521
- start: _,
2522
- end: _
2523
- } : g &&= (h.push(g), null), _ = _.add(1, "d");
2524
- b.append("g").selectAll("rect").data(h).enter().append("rect").attr("id", (e) => t + "-exclude-" + e.start.format("YYYY-MM-DD")).attr("x", (e) => S(e.start.startOf("day")) + r).attr("y", o.gridLineStartPadding).attr("width", (e) => S(e.end.endOf("day")) - S(e.start.startOf("day"))).attr("height", s - n - o.gridLineStartPadding).attr("transform-origin", function(t, n) {
2525
- return (S(t.start) + r + .5 * (S(t.end) - S(t.start))).toString() + "px " + (n * e + .5 * s).toString() + "px";
1838
+ let p = a.db.getDateFormat(), m = [], h = null, g = (0, V.default)(d);
1839
+ for (; g.valueOf() <= f;) a.db.isInvalidDate(g, p, l, u) ? h ? h.end = g : h = {
1840
+ start: g,
1841
+ end: g
1842
+ } : h &&= (m.push(h), null), g = g.add(1, "d");
1843
+ w.append("g").selectAll("rect").data(m).enter().append("rect").attr("id", (e) => t + "-exclude-" + e.start.format("YYYY-MM-DD")).attr("x", (e) => T(e.start.startOf("day")) + r).attr("y", o.gridLineStartPadding).attr("width", (e) => T(e.end.endOf("day")) - T(e.start.startOf("day"))).attr("height", s - n - o.gridLineStartPadding).attr("transform-origin", function(t, n) {
1844
+ return (T(t.start) + r + .5 * (T(t.end) - T(t.start))).toString() + "px " + (n * e + .5 * s).toString() + "px";
2526
1845
  }).attr("class", "exclude-range");
2527
1846
  }
2528
- _(O, "drawExcludeDays");
2529
- function k(e, t, n, r) {
1847
+ j(M, "drawExcludeDays");
1848
+ function N(e, t, n, r) {
2530
1849
  if (n <= 0 || e > t) return Infinity;
2531
- let i = t - e, a = J.default.duration({ [r ?? "day"]: n }).asMilliseconds();
1850
+ let i = t - e, a = V.default.duration({ [r ?? "day"]: n }).asMilliseconds();
2532
1851
  return a <= 0 ? Infinity : Math.ceil(i / a);
2533
1852
  }
2534
- _(k, "getEstimatedTickCount");
2535
- function A(e, t, n, r) {
2536
- let i = a.db.getDateFormat(), s = a.db.getAxisFormat(), c;
2537
- c = s || (i === "D" ? "%d" : o.axisFormat ?? "%Y-%m-%d");
2538
- let l = ke(S).tickSize(-r + t + o.gridLineStartPadding).tickFormat(bn(c)), u = /^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(a.db.getTickInterval() || o.tickInterval);
2539
- if (u !== null) {
2540
- let e = parseInt(u[1], 10);
2541
- if (isNaN(e) || e <= 0) m.warn(`Invalid tick interval value: "${u[1]}". Skipping custom tick interval.`);
1853
+ j(N, "getEstimatedTickCount");
1854
+ function ee(e, t, r, i) {
1855
+ let u = a.db.getDateFormat(), d = a.db.getAxisFormat(), f;
1856
+ f = d || (u === "D" ? "%d" : o.axisFormat ?? "%Y-%m-%d");
1857
+ let m = Re(T).tickSize(-i + t + o.gridLineStartPadding).tickFormat(c(f)), g = /^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(a.db.getTickInterval() || o.tickInterval);
1858
+ if (g !== null) {
1859
+ let e = parseInt(g[1], 10);
1860
+ if (isNaN(e) || e <= 0) O.warn(`Invalid tick interval value: "${g[1]}". Skipping custom tick interval.`);
2542
1861
  else {
2543
- let t = u[2], n = a.db.getWeekday() || o.weekday, r = S.domain(), i = r[0], s = r[1], c = k(i, s, e, t);
2544
- if (c > Xr) m.warn(`The tick interval "${e}${t}" would generate ${c} ticks, which exceeds the maximum allowed (${Xr}). This may indicate an invalid date or time range. Skipping custom tick interval.`);
1862
+ let t = g[2], r = a.db.getWeekday() || o.weekday, i = T.domain(), c = i[0], u = i[1], d = N(c, u, e, t);
1863
+ if (d > sn) O.warn(`The tick interval "${e}${t}" would generate ${d} ticks, which exceeds the maximum allowed (${sn}). This may indicate an invalid date or time range. Skipping custom tick interval.`);
2545
1864
  else switch (t) {
2546
1865
  case "millisecond":
2547
- l.ticks(Me.every(e));
1866
+ m.ticks(h.every(e));
2548
1867
  break;
2549
1868
  case "second":
2550
- l.ticks(Ie.every(e));
1869
+ m.ticks(v.every(e));
2551
1870
  break;
2552
1871
  case "minute":
2553
- l.ticks(Le.every(e));
1872
+ m.ticks(p.every(e));
2554
1873
  break;
2555
1874
  case "hour":
2556
- l.ticks(Re.every(e));
1875
+ m.ticks(n.every(e));
2557
1876
  break;
2558
1877
  case "day":
2559
- l.ticks(ze.every(e));
1878
+ m.ticks(s.every(e));
2560
1879
  break;
2561
1880
  case "week":
2562
- l.ticks(Jr[n].every(e));
1881
+ m.ticks(an[r].every(e));
2563
1882
  break;
2564
1883
  case "month":
2565
- l.ticks($e.every(e));
1884
+ m.ticks(l.every(e));
2566
1885
  break;
2567
1886
  }
2568
1887
  }
2569
1888
  }
2570
- if (b.append("g").attr("class", "grid").attr("transform", "translate(" + e + ", " + (r - 50) + ")").call(l).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em"), a.db.topAxisEnabled() || o.topAxis) {
2571
- let n = Oe(S).tickSize(-r + t + o.gridLineStartPadding).tickFormat(bn(c));
2572
- if (u !== null) {
2573
- let e = parseInt(u[1], 10);
2574
- if (isNaN(e) || e <= 0) m.warn(`Invalid tick interval value: "${u[1]}". Skipping custom tick interval.`);
1889
+ if (w.append("g").attr("class", "grid").attr("transform", "translate(" + e + ", " + (i - 50) + ")").call(m).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em"), a.db.topAxisEnabled() || o.topAxis) {
1890
+ let r = Le(T).tickSize(-i + t + o.gridLineStartPadding).tickFormat(c(f));
1891
+ if (g !== null) {
1892
+ let e = parseInt(g[1], 10);
1893
+ if (isNaN(e) || e <= 0) O.warn(`Invalid tick interval value: "${g[1]}". Skipping custom tick interval.`);
2575
1894
  else {
2576
- let t = u[2], r = a.db.getWeekday() || o.weekday, i = S.domain(), s = i[0], c = i[1];
2577
- if (k(s, c, e, t) <= Xr) switch (t) {
1895
+ let t = g[2], i = a.db.getWeekday() || o.weekday, c = T.domain(), u = c[0], d = c[1];
1896
+ if (N(u, d, e, t) <= sn) switch (t) {
2578
1897
  case "millisecond":
2579
- n.ticks(Me.every(e));
1898
+ r.ticks(h.every(e));
2580
1899
  break;
2581
1900
  case "second":
2582
- n.ticks(Ie.every(e));
1901
+ r.ticks(v.every(e));
2583
1902
  break;
2584
1903
  case "minute":
2585
- n.ticks(Le.every(e));
1904
+ r.ticks(p.every(e));
2586
1905
  break;
2587
1906
  case "hour":
2588
- n.ticks(Re.every(e));
1907
+ r.ticks(n.every(e));
2589
1908
  break;
2590
1909
  case "day":
2591
- n.ticks(ze.every(e));
1910
+ r.ticks(s.every(e));
2592
1911
  break;
2593
1912
  case "week":
2594
- n.ticks(Jr[r].every(e));
1913
+ r.ticks(an[i].every(e));
2595
1914
  break;
2596
1915
  case "month":
2597
- n.ticks($e.every(e));
1916
+ r.ticks(l.every(e));
2598
1917
  break;
2599
1918
  }
2600
1919
  }
2601
1920
  }
2602
- 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);
1921
+ w.append("g").attr("class", "grid").attr("transform", "translate(" + e + ", " + t + ")").call(r).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10);
2603
1922
  }
2604
1923
  }
2605
- _(A, "makeGrid");
2606
- function j(e, t) {
2607
- let n = 0, r = Object.keys(v).map((e) => [e, v[e]]);
2608
- b.append("g").selectAll("text").data(r).enter().append(function(e) {
2609
- let t = e[0].split(C.lineBreakRegex), n = -(t.length - 1) / 2, r = u.createElementNS("http://www.w3.org/2000/svg", "text");
1924
+ j(ee, "makeGrid");
1925
+ function ne(e, t) {
1926
+ let n = 0, r = Object.keys(S).map((e) => [e, S[e]]);
1927
+ w.append("g").selectAll("text").data(r).enter().append(function(e) {
1928
+ let t = e[0].split(re.lineBreakRegex), n = -(t.length - 1) / 2, r = m.createElementNS("http://www.w3.org/2000/svg", "text");
2610
1929
  r.setAttribute("dy", n + "em");
2611
1930
  for (let [e, n] of t.entries()) {
2612
- let t = u.createElementNS("http://www.w3.org/2000/svg", "tspan");
1931
+ let t = m.createElementNS("http://www.w3.org/2000/svg", "tspan");
2613
1932
  t.setAttribute("alignment-baseline", "central"), t.setAttribute("x", "10"), e > 0 && t.setAttribute("dy", "1em"), t.textContent = n, r.appendChild(t);
2614
1933
  }
2615
1934
  return r;
@@ -2617,27 +1936,27 @@ var qr = /* @__PURE__ */ _(function() {
2617
1936
  if (a > 0) for (let o = 0; o < a; o++) return n += r[a - 1][1], i[1] * e / 2 + n * e + t;
2618
1937
  else return i[1] * e / 2 + t;
2619
1938
  }).attr("font-size", o.sectionFontSize).attr("class", function(e) {
2620
- for (let [t, n] of g.entries()) if (e[0] === n) return "sectionTitle sectionTitle" + t % o.numberSectionStyles;
1939
+ for (let [t, n] of x.entries()) if (e[0] === n) return "sectionTitle sectionTitle" + t % o.numberSectionStyles;
2621
1940
  return "sectionTitle";
2622
1941
  });
2623
1942
  }
2624
- _(j, "vertLabels");
2625
- function M(e, t, n, r) {
1943
+ j(ne, "vertLabels");
1944
+ function ie(e, t, n, r) {
2626
1945
  let i = a.db.getTodayMarker();
2627
1946
  if (i === "off") return;
2628
- let s = b.append("g").attr("class", "today"), c = /* @__PURE__ */ new Date(), l = s.append("line");
2629
- l.attr("x1", S(c) + e).attr("x2", S(c) + e).attr("y1", o.titleTopMargin).attr("y2", r - o.titleTopMargin).attr("class", "today"), i !== "" && l.attr("style", i.replace(/,/g, ";"));
1947
+ let s = w.append("g").attr("class", "today"), c = /* @__PURE__ */ new Date(), l = s.append("line");
1948
+ l.attr("x1", T(c) + e).attr("x2", T(c) + e).attr("y1", o.titleTopMargin).attr("y2", r - o.titleTopMargin).attr("class", "today"), i !== "" && l.attr("style", i.replace(/,/g, ";"));
2630
1949
  }
2631
- _(M, "drawToday");
2632
- function ee(e) {
1950
+ j(ie, "drawToday");
1951
+ function ae(e) {
2633
1952
  let t = {}, n = [];
2634
1953
  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]));
2635
1954
  return n;
2636
1955
  }
2637
- _(ee, "checkUnique");
1956
+ j(ae, "checkUnique");
2638
1957
  }, "draw")
2639
1958
  },
2640
- styles: /* @__PURE__ */ _((e) => `
1959
+ styles: /* @__PURE__ */ j((e) => `
2641
1960
  .mermaid-main-font {
2642
1961
  font-family: ${e.fontFamily};
2643
1962
  }
@@ -2926,4 +2245,4 @@ var qr = /* @__PURE__ */ _(function() {
2926
2245
  `, "getStyles")
2927
2246
  };
2928
2247
  //#endregion
2929
- export { Zr as diagram };
2248
+ export { cn as diagram };