@ashwin_droid/notion-stream 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (730) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +418 -0
  3. package/dist/_baseUniq-CT-tc-CG.mjs +477 -0
  4. package/dist/_baseUniq-DSwfPiGC.js +1 -0
  5. package/dist/abap-DV7Q1lGP.js +1 -0
  6. package/dist/abap-Y8Dl9g_6.mjs +6 -0
  7. package/dist/actionscript-3-DXOxkRa2.js +1 -0
  8. package/dist/actionscript-3-DZzbMeqX.mjs +6 -0
  9. package/dist/ada-D46EKCNf.js +1 -0
  10. package/dist/ada-vP6ak0IW.mjs +6 -0
  11. package/dist/andromeeda-BIpZ7gaU.mjs +4 -0
  12. package/dist/andromeeda-DVDxRwp5.js +1 -0
  13. package/dist/angular-html-DxvPVw44.mjs +32 -0
  14. package/dist/angular-html-JXV_E8IE.js +1 -0
  15. package/dist/angular-ts-CV6bdmcc.mjs +21 -0
  16. package/dist/angular-ts-ul8EvQZm.js +1 -0
  17. package/dist/apache-BUjz-sD2.mjs +6 -0
  18. package/dist/apache-DL1xuH1f.js +1 -0
  19. package/dist/apex-6AM9YZbQ.js +1 -0
  20. package/dist/apex-OyTfjCYK.mjs +6 -0
  21. package/dist/apl-BdW4yp7x.js +1 -0
  22. package/dist/apl-Cl3ewf1P.mjs +16 -0
  23. package/dist/applescript-BPx7YFFu.mjs +6 -0
  24. package/dist/applescript-COilsSrZ.js +1 -0
  25. package/dist/ara-B6Lpq1YJ.js +1 -0
  26. package/dist/ara-Z2fSOxSw.mjs +6 -0
  27. package/dist/arc-BBnIBs2j.js +1 -0
  28. package/dist/arc-DmoYXidQ.mjs +83 -0
  29. package/dist/architecture-U656AL7Q-C0ZB2O9M.js +1 -0
  30. package/dist/architecture-U656AL7Q-CMPtJMZ-.mjs +5 -0
  31. package/dist/architectureDiagram-VXUJARFQ-BPQoZmaM.js +36 -0
  32. package/dist/architectureDiagram-VXUJARFQ-BYzpbF40.mjs +4665 -0
  33. package/dist/asciidoc-B-pCoB3G.mjs +6 -0
  34. package/dist/asciidoc-DcKqW72n.js +1 -0
  35. package/dist/asm-BTWLY5ym.mjs +6 -0
  36. package/dist/asm-DYMFy-sD.js +1 -0
  37. package/dist/astro-BAqad-WM.js +1 -0
  38. package/dist/astro-CMhPddqn.mjs +18 -0
  39. package/dist/aurora-x-BwoVEUWZ.mjs +4 -0
  40. package/dist/aurora-x-C5IpmIOG.js +1 -0
  41. package/dist/awk-Fb0P9dkn.mjs +6 -0
  42. package/dist/awk-IEszImW6.js +1 -0
  43. package/dist/ayu-dark-CDpQIJw4.js +1 -0
  44. package/dist/ayu-dark-DG7aLdHp.mjs +4 -0
  45. package/dist/ballerina-Dr6dU4hP.js +1 -0
  46. package/dist/ballerina-oZK-YekG.mjs +6 -0
  47. package/dist/bat-0FvbqU9S.mjs +6 -0
  48. package/dist/bat-DGkUhhn2.js +1 -0
  49. package/dist/beancount-Bv1Sweoy.js +1 -0
  50. package/dist/beancount-DqJEb89h.mjs +6 -0
  51. package/dist/berry-DEMs4LK_.js +1 -0
  52. package/dist/berry-DODBq_Ff.mjs +6 -0
  53. package/dist/bibtex-BgA36Z3k.js +1 -0
  54. package/dist/bibtex-EULQRLY5.mjs +6 -0
  55. package/dist/bicep-BorU73w0.mjs +6 -0
  56. package/dist/bicep-DL0zb-7W.js +1 -0
  57. package/dist/blade-Cg1_QHbH.mjs +20 -0
  58. package/dist/blade-CgjUlvXO.js +1 -0
  59. package/dist/blockDiagram-VD42YOAC-DPVTCHn5.mjs +2265 -0
  60. package/dist/blockDiagram-VD42YOAC-Z3Fc3Bew.js +122 -0
  61. package/dist/bsl-Dy8wYKq-.mjs +8 -0
  62. package/dist/bsl-MeEzPwnu.js +1 -0
  63. package/dist/c-CtlmKnPF.js +1 -0
  64. package/dist/c-eeMepfLm.mjs +6 -0
  65. package/dist/c3-Bt581sCe.mjs +6 -0
  66. package/dist/c3-DtfRRWXN.js +1 -0
  67. package/dist/c4Diagram-YG6GDRKO-C2Y4q08p.mjs +1581 -0
  68. package/dist/c4Diagram-YG6GDRKO-LzDuCZ2V.js +10 -0
  69. package/dist/cadence-02UX7mW8.mjs +6 -0
  70. package/dist/cadence-DcbmM5v3.js +1 -0
  71. package/dist/cairo-Bl3vCTfQ.js +1 -0
  72. package/dist/cairo-DRXAUnCM.mjs +8 -0
  73. package/dist/catppuccin-frappe-Bn4lgmUk.js +1 -0
  74. package/dist/catppuccin-frappe-D3cH2rXe.mjs +4 -0
  75. package/dist/catppuccin-latte-BPtsb8jD.js +1 -0
  76. package/dist/catppuccin-latte-C0LRGUW4.mjs +4 -0
  77. package/dist/catppuccin-macchiato-BLfpQWhT.js +1 -0
  78. package/dist/catppuccin-macchiato-c5wQ11TT.mjs +4 -0
  79. package/dist/catppuccin-mocha-COMta283.js +1 -0
  80. package/dist/catppuccin-mocha-WMD6Qvya.mjs +4 -0
  81. package/dist/channel-6dUO0MQi.js +1 -0
  82. package/dist/channel-DVpqhnow.mjs +5 -0
  83. package/dist/chunk-4BX2VUAB-BwubFldI.js +1 -0
  84. package/dist/chunk-4BX2VUAB-DldMXCTt.mjs +9 -0
  85. package/dist/chunk-55IACEB6-Du1Simcj.mjs +8 -0
  86. package/dist/chunk-55IACEB6-P_FVKIbW.js +1 -0
  87. package/dist/chunk-B4BG7PRW-BUKsa2yH.mjs +1376 -0
  88. package/dist/chunk-B4BG7PRW-CKX0VJ-S.js +165 -0
  89. package/dist/chunk-DI55MBZ5-C9h0qLVI.mjs +1382 -0
  90. package/dist/chunk-DI55MBZ5-CMq-O8k2.js +220 -0
  91. package/dist/chunk-FMBD7UC4-48-zdz-1.js +15 -0
  92. package/dist/chunk-FMBD7UC4-C08-zA06.mjs +19 -0
  93. package/dist/chunk-QN33PNHL-B0sO38bZ.js +1 -0
  94. package/dist/chunk-QN33PNHL-B_PGnTkk.mjs +20 -0
  95. package/dist/chunk-QZHKN3VN-DbO6TJSK.mjs +15 -0
  96. package/dist/chunk-QZHKN3VN-Dy2264ui.js +1 -0
  97. package/dist/chunk-TZMSLE5B-BPmI9i6R.mjs +64 -0
  98. package/dist/chunk-TZMSLE5B-COENnLAZ.js +1 -0
  99. package/dist/clarity-PKm5CwqM.mjs +6 -0
  100. package/dist/clarity-gPuvqtpF.js +1 -0
  101. package/dist/classDiagram-2ON5EDUG-CFFwYK87.js +1 -0
  102. package/dist/classDiagram-2ON5EDUG-mzvV1Ifg.mjs +16 -0
  103. package/dist/classDiagram-v2-WZHVMYZB-CFFwYK87.js +1 -0
  104. package/dist/classDiagram-v2-WZHVMYZB-mzvV1Ifg.mjs +16 -0
  105. package/dist/clojure-CXJfHrL3.mjs +6 -0
  106. package/dist/clojure-OUsr1SUl.js +1 -0
  107. package/dist/clone-B0UaPT2Z.js +1 -0
  108. package/dist/clone-KtLCwiKH.mjs +8 -0
  109. package/dist/cmake-BJz8BOTU.mjs +6 -0
  110. package/dist/cmake-jM6P58qY.js +1 -0
  111. package/dist/cobol-C86Guwll.mjs +10 -0
  112. package/dist/cobol-DReJOyN2.js +1 -0
  113. package/dist/code-block-37QAKDTI-CmykMxjQ.mjs +27 -0
  114. package/dist/code-block-37QAKDTI-sxlq94xm.js +2 -0
  115. package/dist/codeowners-Bt9yU6NX.mjs +6 -0
  116. package/dist/codeowners-QhPK6lIJ.js +1 -0
  117. package/dist/codeql-D9-TdUN8.js +1 -0
  118. package/dist/codeql-DHkodjjI.mjs +6 -0
  119. package/dist/coffee-CUyQUc3M.js +1 -0
  120. package/dist/coffee-Q-gFdR7e.mjs +8 -0
  121. package/dist/common-lisp-C77gR-8i.js +1 -0
  122. package/dist/common-lisp-EVqT9Zhp.mjs +6 -0
  123. package/dist/components/Block.d.ts +16 -0
  124. package/dist/components/FloatingToolbar.d.ts +8 -0
  125. package/dist/components/LinkModal.d.ts +8 -0
  126. package/dist/components/NotionStream.d.ts +3 -0
  127. package/dist/components/SlashMenu.d.ts +17 -0
  128. package/dist/components/blocks/BlockquoteBlock.d.ts +13 -0
  129. package/dist/components/blocks/CodeBlock.d.ts +14 -0
  130. package/dist/components/blocks/DividerBlock.d.ts +13 -0
  131. package/dist/components/blocks/HeadingBlock.d.ts +13 -0
  132. package/dist/components/blocks/ImageBlock.d.ts +13 -0
  133. package/dist/components/blocks/InlineEditableBlock.d.ts +18 -0
  134. package/dist/components/blocks/ListBlock.d.ts +13 -0
  135. package/dist/components/blocks/MathBlock.d.ts +14 -0
  136. package/dist/components/blocks/MermaidBlock.d.ts +14 -0
  137. package/dist/components/blocks/ParagraphBlock.d.ts +13 -0
  138. package/dist/components/blocks/TableBlock.d.ts +14 -0
  139. package/dist/components/blocks/index.d.ts +10 -0
  140. package/dist/coq-B0L9upzn.mjs +6 -0
  141. package/dist/coq-vlPdR5hP.js +1 -0
  142. package/dist/cose-bilkent-S5V4N54A-BCaAPmuF.js +1 -0
  143. package/dist/cose-bilkent-S5V4N54A-BXcldnso.mjs +2605 -0
  144. package/dist/cpp-CGueNrnV.mjs +18 -0
  145. package/dist/cpp-ChNdME6I.js +1 -0
  146. package/dist/crystal-CVTji_sR.js +1 -0
  147. package/dist/crystal-CrVA7iLE.mjs +18 -0
  148. package/dist/csharp-BUkAIRXW.js +1 -0
  149. package/dist/csharp-C7yUs7-w.mjs +6 -0
  150. package/dist/css-CECN5uSL.mjs +6 -0
  151. package/dist/css-Do0mp2lm.js +1 -0
  152. package/dist/csv-CmYOceLb.mjs +6 -0
  153. package/dist/csv-DiEdJzSJ.js +1 -0
  154. package/dist/cue-D1vJRJEx.js +1 -0
  155. package/dist/cue-ZzumE7IT.mjs +6 -0
  156. package/dist/cypher-atSM3NsM.js +1 -0
  157. package/dist/cypher-jpdmjtA6.mjs +6 -0
  158. package/dist/cytoscape.esm-DkGgpG6d.js +331 -0
  159. package/dist/cytoscape.esm-ZmItrg9y.mjs +18731 -0
  160. package/dist/d-2qe3NhmZ.js +1 -0
  161. package/dist/d-CBagWSwH.mjs +6 -0
  162. package/dist/dagre-6UL2VRFP-By42zbLA.mjs +446 -0
  163. package/dist/dagre-6UL2VRFP-DCwfkcWi.js +4 -0
  164. package/dist/dark-plus-Cd5emcYO.js +1 -0
  165. package/dist/dark-plus-pUHDTVV0.mjs +4 -0
  166. package/dist/dart-6ObCrKr9.mjs +6 -0
  167. package/dist/dart-Ds0_0fwe.js +1 -0
  168. package/dist/dax-CcDT-8dH.mjs +6 -0
  169. package/dist/dax-DbkQa40E.js +1 -0
  170. package/dist/defaultLocale-BgPVtth8.mjs +171 -0
  171. package/dist/defaultLocale-C4wbwF1n.js +1 -0
  172. package/dist/desktop-B93p9R9O.mjs +6 -0
  173. package/dist/desktop-tn3MFXCZ.js +1 -0
  174. package/dist/diagram-PSM6KHXK-DIV3jw9d.mjs +534 -0
  175. package/dist/diagram-PSM6KHXK-hjXN9n1N.js +24 -0
  176. package/dist/diagram-QEK2KX5R-B04ODMim.js +43 -0
  177. package/dist/diagram-QEK2KX5R-Q0M2_YtR.mjs +221 -0
  178. package/dist/diagram-S2PKOQOG-BmCs4MZE.js +24 -0
  179. package/dist/diagram-S2PKOQOG-_WGA6s2-.mjs +143 -0
  180. package/dist/diff-BxzP2J8R.mjs +6 -0
  181. package/dist/diff-CA31fCOg.js +1 -0
  182. package/dist/docker-CsHqm9tx.mjs +6 -0
  183. package/dist/docker-zJpMwmYa.js +1 -0
  184. package/dist/dotenv-BMjVjUL1.mjs +6 -0
  185. package/dist/dotenv-DpcNCNek.js +1 -0
  186. package/dist/dracula-BNgwAJ-d.js +1 -0
  187. package/dist/dracula-BtZx2Kac.mjs +4 -0
  188. package/dist/dracula-soft-BHZ7sHFu.js +1 -0
  189. package/dist/dracula-soft-BKa-aqBv.mjs +4 -0
  190. package/dist/dream-maker-BkijXDkm.js +1 -0
  191. package/dist/dream-maker-PAx17jaB.mjs +6 -0
  192. package/dist/edge-B28yp_Zk.js +1 -0
  193. package/dist/edge-CBKv6mfK.mjs +12 -0
  194. package/dist/elixir-D7-1KNL2.js +1 -0
  195. package/dist/elixir-rttMGqaI.mjs +8 -0
  196. package/dist/elm-BkJa-nJb.js +1 -0
  197. package/dist/elm-DCe9MkDR.mjs +8 -0
  198. package/dist/emacs-lisp-C1UCIjUO.js +1 -0
  199. package/dist/emacs-lisp-Cfxdx5D-.mjs +6 -0
  200. package/dist/erDiagram-Q2GNP2WA-4KtQUUuI.js +60 -0
  201. package/dist/erDiagram-Q2GNP2WA-CW0D_QGb.mjs +842 -0
  202. package/dist/erb-BTG3NMrz.mjs +10 -0
  203. package/dist/erb-DJ1tHjRo.js +1 -0
  204. package/dist/erlang-CxyQpgjh.mjs +8 -0
  205. package/dist/erlang-DztDLzIS.js +1 -0
  206. package/dist/everforest-dark-DMCBqXCK.mjs +4 -0
  207. package/dist/everforest-dark-_sBMomR1.js +1 -0
  208. package/dist/everforest-light-BbXl82Em.mjs +4 -0
  209. package/dist/everforest-light-H0xoYxl0.js +1 -0
  210. package/dist/fennel-Bz9-EMMc.js +1 -0
  211. package/dist/fennel-N4WcXuKx.mjs +6 -0
  212. package/dist/fish-BTDEUgqH.mjs +6 -0
  213. package/dist/fish-DwmQKRZi.js +1 -0
  214. package/dist/flowDiagram-NV44I4VS-BwpfJE0U.js +162 -0
  215. package/dist/flowDiagram-NV44I4VS-DVQ8Ntc4.mjs +1627 -0
  216. package/dist/fluent-BMXUxfv1.mjs +6 -0
  217. package/dist/fluent-CJtpNuaO.js +1 -0
  218. package/dist/fortran-fixed-form-CM5372im.js +1 -0
  219. package/dist/fortran-fixed-form-CYWf1Rx6.mjs +8 -0
  220. package/dist/fortran-free-form-Cs4ztolN.js +1 -0
  221. package/dist/fortran-free-form-CwqYvCLJ.mjs +6 -0
  222. package/dist/fsharp-C8GKou_e.js +1 -0
  223. package/dist/fsharp-DlcX35ZM.mjs +8 -0
  224. package/dist/ganttDiagram-JELNMOA3-Bk-dX6qT.mjs +2662 -0
  225. package/dist/ganttDiagram-JELNMOA3-D7rI7u8B.js +267 -0
  226. package/dist/gdresource-Bx-5U3z2.js +1 -0
  227. package/dist/gdresource-CyVuoaDS.mjs +10 -0
  228. package/dist/gdscript-BifyeYhI.mjs +6 -0
  229. package/dist/gdscript-DSegQKMB.js +1 -0
  230. package/dist/gdshader-Bk8fF6yr.mjs +6 -0
  231. package/dist/gdshader-DsmqQl4t.js +1 -0
  232. package/dist/genie-Dy2rU8CF.js +1 -0
  233. package/dist/genie-DzUvd7U9.mjs +6 -0
  234. package/dist/gherkin-BmiEVBJ1.js +1 -0
  235. package/dist/gherkin-DHRaV0YP.mjs +6 -0
  236. package/dist/git-commit-B0NDtut1.js +1 -0
  237. package/dist/git-commit-MKnTTyU-.mjs +8 -0
  238. package/dist/git-rebase-CMl42lXc.mjs +8 -0
  239. package/dist/git-rebase-lJEbayNx.js +1 -0
  240. package/dist/gitGraph-F6HP7TQM-CsdwxYUE.mjs +5 -0
  241. package/dist/gitGraph-F6HP7TQM-DvIgo2TM.js +1 -0
  242. package/dist/gitGraphDiagram-NY62KEGX-BDTsbSkO.mjs +712 -0
  243. package/dist/gitGraphDiagram-NY62KEGX-IQ8KriUw.js +65 -0
  244. package/dist/github-dark-BKL9xNgN.js +1 -0
  245. package/dist/github-dark-DenFmJkN.mjs +4 -0
  246. package/dist/github-dark-default-BJPUVz4H.mjs +4 -0
  247. package/dist/github-dark-default-Dsv5MuSi.js +1 -0
  248. package/dist/github-dark-dimmed-CtB9hz8U.js +1 -0
  249. package/dist/github-dark-dimmed-DUshB20C.mjs +4 -0
  250. package/dist/github-dark-high-contrast-BqZVM-jF.js +1 -0
  251. package/dist/github-dark-high-contrast-D3aGCnF8.mjs +4 -0
  252. package/dist/github-light-BFTOhCbz.js +1 -0
  253. package/dist/github-light-JYsPkUQd.mjs +4 -0
  254. package/dist/github-light-default-BZoWH9dH.js +1 -0
  255. package/dist/github-light-default-D99KPAby.mjs +4 -0
  256. package/dist/github-light-high-contrast-BbmZE-Mp.mjs +4 -0
  257. package/dist/github-light-high-contrast-Ks3kPGJU.js +1 -0
  258. package/dist/gleam-Bv284lvN.mjs +6 -0
  259. package/dist/gleam-DHVuTCr7.js +1 -0
  260. package/dist/glimmer-js-C360zq_P.mjs +14 -0
  261. package/dist/glimmer-js-CxLlFUHs.js +1 -0
  262. package/dist/glimmer-ts-C8Spe63v.js +1 -0
  263. package/dist/glimmer-ts-CfTSEFGl.mjs +14 -0
  264. package/dist/glsl-BcHRsW10.js +1 -0
  265. package/dist/glsl-CwleMY6T.mjs +8 -0
  266. package/dist/gn-0WGnAyGi.js +1 -0
  267. package/dist/gn-XtJxiLa4.mjs +6 -0
  268. package/dist/gnuplot-CDPKvI9X.js +1 -0
  269. package/dist/gnuplot-yPG9-sE_.mjs +6 -0
  270. package/dist/go-ChxJuLYK.mjs +6 -0
  271. package/dist/go-epHseFUa.js +1 -0
  272. package/dist/graph-BNpx6ebg.js +1 -0
  273. package/dist/graph-C_T4ZBuC.mjs +381 -0
  274. package/dist/graphql-BO3Jc_L3.js +1 -0
  275. package/dist/graphql-C2GhtI7U.mjs +14 -0
  276. package/dist/groovy-CJQTphOW.mjs +6 -0
  277. package/dist/groovy-D7VuDBXz.js +1 -0
  278. package/dist/gruvbox-dark-hard-C5HOtKIh.mjs +4 -0
  279. package/dist/gruvbox-dark-hard-CUGefKS6.js +1 -0
  280. package/dist/gruvbox-dark-medium-BoKPlKfz.js +1 -0
  281. package/dist/gruvbox-dark-medium-FVgwJHuz.mjs +4 -0
  282. package/dist/gruvbox-dark-soft-B46F314v.mjs +4 -0
  283. package/dist/gruvbox-dark-soft-DSrhOWeL.js +1 -0
  284. package/dist/gruvbox-light-hard-CJD38wDZ.mjs +4 -0
  285. package/dist/gruvbox-light-hard-De4IuseP.js +1 -0
  286. package/dist/gruvbox-light-medium-BlIhMYTA.mjs +4 -0
  287. package/dist/gruvbox-light-medium-CzMY3IEJ.js +1 -0
  288. package/dist/gruvbox-light-soft-DoPHyLVZ.mjs +4 -0
  289. package/dist/gruvbox-light-soft-U4iAIpWZ.js +1 -0
  290. package/dist/hack-CdSL77Ey.mjs +10 -0
  291. package/dist/hack-Dr4YFULU.js +1 -0
  292. package/dist/haml-C1VBSiBb.mjs +10 -0
  293. package/dist/haml-DjC-8E5i.js +1 -0
  294. package/dist/handlebars-oLCVaT_d.mjs +14 -0
  295. package/dist/handlebars-vZrL3oRU.js +1 -0
  296. package/dist/haskell-BShesV2P.js +1 -0
  297. package/dist/haskell-WeIwNIP6.mjs +6 -0
  298. package/dist/haxe-Bo5XuRS0.js +1 -0
  299. package/dist/haxe-TztHsm5T.mjs +6 -0
  300. package/dist/hcl-CrZnvm-1.js +1 -0
  301. package/dist/hcl-D438OF-I.mjs +6 -0
  302. package/dist/hjson-CEESwTUP.js +1 -0
  303. package/dist/hjson-DYBUbqOl.mjs +6 -0
  304. package/dist/hlsl-Bk8TCZNL.mjs +6 -0
  305. package/dist/hlsl-CyvYRIb9.js +1 -0
  306. package/dist/hooks/useBlockState.d.ts +14 -0
  307. package/dist/hooks/useDiffReview.d.ts +26 -0
  308. package/dist/hooks/useMarkdownShortcuts.d.ts +23 -0
  309. package/dist/hooks/useStreamParser.d.ts +10 -0
  310. package/dist/houston-BDYrDoDW.mjs +4 -0
  311. package/dist/houston-T57H3gQZ.js +1 -0
  312. package/dist/html-Cub4lUvx.js +1 -0
  313. package/dist/html-DyXkxE0I.mjs +10 -0
  314. package/dist/html-derivative-BFG_GIVT.mjs +8 -0
  315. package/dist/html-derivative-DbGZSkO4.js +1 -0
  316. package/dist/http-J4eraUTU.js +1 -0
  317. package/dist/http-Xl8ey4Mx.mjs +14 -0
  318. package/dist/hurl-1DL8OH_r.js +1 -0
  319. package/dist/hurl-BP6fZ4DX.mjs +12 -0
  320. package/dist/hxml-DrnMPCCd.js +1 -0
  321. package/dist/hxml-L6NLEKuJ.mjs +8 -0
  322. package/dist/hy-Brt5EZ7-.mjs +6 -0
  323. package/dist/hy-a1E2Ed6P.js +1 -0
  324. package/dist/imba-CR1Q6r17.js +1 -0
  325. package/dist/imba-CimUv-Uh.mjs +6 -0
  326. package/dist/index-CkYZRBYn.js +676 -0
  327. package/dist/index-oe4HpmeG.mjs +58831 -0
  328. package/dist/index.d.ts +11 -0
  329. package/dist/index.js +1 -0
  330. package/dist/index.mjs +37 -0
  331. package/dist/info-NVLQJR56-B5gDnSIT.mjs +5 -0
  332. package/dist/info-NVLQJR56-BwFQRguW.js +1 -0
  333. package/dist/infoDiagram-WHAUD3N6-C-gzsm95.mjs +24 -0
  334. package/dist/infoDiagram-WHAUD3N6-CCb5k_S7.js +2 -0
  335. package/dist/ini-BZIuRIvJ.mjs +6 -0
  336. package/dist/ini-Dpu3Xy2p.js +1 -0
  337. package/dist/init-CHZsXQcr.js +1 -0
  338. package/dist/init-DjUOC4st.mjs +16 -0
  339. package/dist/java--6gf61wy.js +1 -0
  340. package/dist/java-DY6VlHhP.mjs +6 -0
  341. package/dist/javascript-C25yR2R2.mjs +6 -0
  342. package/dist/javascript-DgmXW4Ha.js +1 -0
  343. package/dist/jinja-CJxRwHVK.js +1 -0
  344. package/dist/jinja-Y2BGSZfx.mjs +11 -0
  345. package/dist/jison-CH6PZfPk.js +1 -0
  346. package/dist/jison-Dpv9Qnty.mjs +8 -0
  347. package/dist/journeyDiagram-XKPGCS4Q-DzkUL_YG.mjs +836 -0
  348. package/dist/journeyDiagram-XKPGCS4Q-POnSekz9.js +139 -0
  349. package/dist/json-DxJze_jm.mjs +6 -0
  350. package/dist/json-YkPizm35.js +1 -0
  351. package/dist/json5-BT4Fjg39.mjs +6 -0
  352. package/dist/json5-CCgFZiQn.js +1 -0
  353. package/dist/jsonc-CHjZD8gR.mjs +6 -0
  354. package/dist/jsonc-CKPHIcXW.js +1 -0
  355. package/dist/jsonl-BGuvDmy9.mjs +6 -0
  356. package/dist/jsonl-Dq56Hab-.js +1 -0
  357. package/dist/jsonnet-Bx2cfsXg.mjs +6 -0
  358. package/dist/jsonnet-Csh7E68F.js +1 -0
  359. package/dist/jssm-BcADi6EI.mjs +6 -0
  360. package/dist/jssm-D0M9iZPY.js +1 -0
  361. package/dist/jsx-BtKADgXT.mjs +6 -0
  362. package/dist/jsx-DLX6UGgg.js +1 -0
  363. package/dist/julia-DOO7NZhy.js +1 -0
  364. package/dist/julia-QwvTXUPU.mjs +16 -0
  365. package/dist/kanagawa-dragon-BJZF7xDr.js +1 -0
  366. package/dist/kanagawa-dragon-CiKur4Hl.mjs +4 -0
  367. package/dist/kanagawa-lotus-BKu-smKu.mjs +4 -0
  368. package/dist/kanagawa-lotus-BhgzmRV4.js +1 -0
  369. package/dist/kanagawa-wave-BgJip59C.js +1 -0
  370. package/dist/kanagawa-wave-CQwozSzG.mjs +4 -0
  371. package/dist/kanban-definition-3W4ZIXB7-BPr0_7wG.mjs +720 -0
  372. package/dist/kanban-definition-3W4ZIXB7-Bm064qrf.js +89 -0
  373. package/dist/kdl-BNOv9TC3.mjs +6 -0
  374. package/dist/kdl-CDG1p2Qi.js +1 -0
  375. package/dist/kotlin-BHZjvNqT.js +1 -0
  376. package/dist/kotlin-ByBMgTeR.mjs +6 -0
  377. package/dist/kusto-C6kOQWT0.js +1 -0
  378. package/dist/kusto-DH_XitHS.mjs +6 -0
  379. package/dist/laserwave--izBLY1I.js +1 -0
  380. package/dist/laserwave-6a00oqik.mjs +4 -0
  381. package/dist/latex-BkUAME40.js +1 -0
  382. package/dist/latex-Dhl9FnIw.mjs +8 -0
  383. package/dist/layout-Cd98WJ7r.mjs +1441 -0
  384. package/dist/layout-CuWQnP5Y.js +1 -0
  385. package/dist/lean-BnVxaZxY.mjs +6 -0
  386. package/dist/lean-DvVQmxVK.js +1 -0
  387. package/dist/less-B1GLI2Di.mjs +6 -0
  388. package/dist/less-Dtg8mm6P.js +1 -0
  389. package/dist/light-plus-B5D0le0o.js +1 -0
  390. package/dist/light-plus-CZuVqSLX.mjs +4 -0
  391. package/dist/linear-DFDw13y6.js +1 -0
  392. package/dist/linear-SU4e8MRt.mjs +259 -0
  393. package/dist/liquid-D2h0MxA-.js +1 -0
  394. package/dist/liquid-nAv19oBv.mjs +14 -0
  395. package/dist/llvm-DcRvQ_r8.js +1 -0
  396. package/dist/llvm-co1rIKs3.mjs +6 -0
  397. package/dist/log-Al8wyEFV.mjs +6 -0
  398. package/dist/log-CjTZ0gSB.js +1 -0
  399. package/dist/logo-BAktp_5i.js +1 -0
  400. package/dist/logo-DBa4JDzV.mjs +6 -0
  401. package/dist/lua-7_7huFMq.js +1 -0
  402. package/dist/lua-CG3yDRXR.mjs +8 -0
  403. package/dist/luau-BMXmwtw0.js +1 -0
  404. package/dist/luau-UQyhudEE.mjs +6 -0
  405. package/dist/make-CsMclxtr.mjs +6 -0
  406. package/dist/make-NcdIe21U.js +1 -0
  407. package/dist/markdown-Byu9Sdmq.js +1 -0
  408. package/dist/markdown-CrScaQ96.mjs +6 -0
  409. package/dist/marko-BUUK5Bjn.js +1 -0
  410. package/dist/marko-BkS1PqTg.mjs +14 -0
  411. package/dist/material-theme-D6KBX41T.mjs +4 -0
  412. package/dist/material-theme-Dj0-OyRN.js +1 -0
  413. package/dist/material-theme-darker-CkRroheE.mjs +4 -0
  414. package/dist/material-theme-darker-Dvfs29ir.js +1 -0
  415. package/dist/material-theme-lighter-BUBw43Yz.mjs +4 -0
  416. package/dist/material-theme-lighter-EU3ZGl_r.js +1 -0
  417. package/dist/material-theme-ocean-ClGX14Ja.mjs +4 -0
  418. package/dist/material-theme-ocean-px_3Pwqa.js +1 -0
  419. package/dist/material-theme-palenight-38jxvsGX.js +1 -0
  420. package/dist/material-theme-palenight-C1RVm8K1.mjs +4 -0
  421. package/dist/matlab-BOAaUVP0.mjs +6 -0
  422. package/dist/matlab-CHTOL9Kx.js +1 -0
  423. package/dist/mdc-DYb1IR0A.js +1 -0
  424. package/dist/mdc-DjkQ6W2y.mjs +12 -0
  425. package/dist/mdx-BOhZZUJ8.mjs +6 -0
  426. package/dist/mdx-CjwI68TB.js +1 -0
  427. package/dist/mermaid-4DMBBIKO-BihEtyib.js +1 -0
  428. package/dist/mermaid-4DMBBIKO-DDxvQcE9.mjs +4 -0
  429. package/dist/mermaid-BXSwQYo5.js +1 -0
  430. package/dist/mermaid-C3rz4dYh.mjs +6 -0
  431. package/dist/mermaid-parser.core-BHAgLMGa.js +128 -0
  432. package/dist/mermaid-parser.core-C8Sxzqul.mjs +15138 -0
  433. package/dist/min-C2k771MZ.mjs +38 -0
  434. package/dist/min-CppMRDFn.js +1 -0
  435. package/dist/min-dark-C7ak0t6c.mjs +4 -0
  436. package/dist/min-dark-tt5o_I5e.js +1 -0
  437. package/dist/min-light-CKFxVcPp.mjs +4 -0
  438. package/dist/min-light-tmTHl_CQ.js +1 -0
  439. package/dist/mindmap-definition-VGOIOE7T-BUd354uH.mjs +786 -0
  440. package/dist/mindmap-definition-VGOIOE7T-CV7bD4HY.js +68 -0
  441. package/dist/mipsasm-BSlRcFIy.js +1 -0
  442. package/dist/mipsasm-CTx18fBl.mjs +6 -0
  443. package/dist/mojo-CgKe2b8g.mjs +6 -0
  444. package/dist/mojo-D2tXKFxS.js +1 -0
  445. package/dist/monokai-C1KBYcO0.mjs +4 -0
  446. package/dist/monokai-DMIxv6MM.js +1 -0
  447. package/dist/moonbit-BweIWWUc.js +1 -0
  448. package/dist/moonbit-NVPuhMCm.mjs +6 -0
  449. package/dist/move-Bm1vlCWg.js +1 -0
  450. package/dist/move-F-dICmj2.mjs +6 -0
  451. package/dist/narrat-CBeKHgTl.js +1 -0
  452. package/dist/narrat-DmhDCBs-.mjs +6 -0
  453. package/dist/nextflow-CM8Ed358.js +1 -0
  454. package/dist/nextflow-DmSVRGjG.mjs +6 -0
  455. package/dist/nginx-Cy_SAdKw.mjs +8 -0
  456. package/dist/nginx-F8v4LkHE.js +1 -0
  457. package/dist/night-owl-BN78kThQ.js +1 -0
  458. package/dist/night-owl-Bm2rzalh.mjs +4 -0
  459. package/dist/nim-B4StNpZz.mjs +20 -0
  460. package/dist/nim-Bz82v_0I.js +1 -0
  461. package/dist/nix-BOiBJUDf.js +1 -0
  462. package/dist/nix-fTRXMGic.mjs +9 -0
  463. package/dist/nord-CC5OiUXg.mjs +4 -0
  464. package/dist/nord-Ca5AGUWc.js +1 -0
  465. package/dist/nushell-D8j3dhT-.mjs +6 -0
  466. package/dist/nushell-nGrB_wpI.js +1 -0
  467. package/dist/objective-c-Itk8tzmv.mjs +6 -0
  468. package/dist/objective-c-RjkWwFge.js +1 -0
  469. package/dist/objective-cpp-DGt5UKRO.mjs +6 -0
  470. package/dist/objective-cpp-HnfhWwRe.js +1 -0
  471. package/dist/ocaml-Cx8ewW_A.js +1 -0
  472. package/dist/ocaml-eSVK32Eg.mjs +6 -0
  473. package/dist/one-dark-pro-C09VQHwB.js +1 -0
  474. package/dist/one-dark-pro-DTA3VF0_.mjs +4 -0
  475. package/dist/one-light-020-h_lv.js +1 -0
  476. package/dist/one-light-D9sNaUtq.mjs +4 -0
  477. package/dist/openscad-D7eUrVPv.js +1 -0
  478. package/dist/openscad-Sp5uZ6f2.mjs +6 -0
  479. package/dist/ordinal-C0oynhte.mjs +61 -0
  480. package/dist/ordinal-CPpcdEvZ.js +1 -0
  481. package/dist/packet-BFZMPI3H-CFx3kSkL.js +1 -0
  482. package/dist/packet-BFZMPI3H-Cz_A86d3.mjs +5 -0
  483. package/dist/pascal-DBu9vQ2o.js +1 -0
  484. package/dist/pascal-xy8pJNns.mjs +6 -0
  485. package/dist/perl-BGWXz6Sf.js +1 -0
  486. package/dist/perl-BHbGvfXZ.mjs +16 -0
  487. package/dist/php-B7ztg6tr.mjs +18 -0
  488. package/dist/php-BMqBbP55.js +1 -0
  489. package/dist/pie-7BOR55EZ-B0-atE_o.mjs +5 -0
  490. package/dist/pie-7BOR55EZ-_1MqisBd.js +1 -0
  491. package/dist/pieDiagram-ADFJNKIX-Bg0_gu43.js +30 -0
  492. package/dist/pieDiagram-ADFJNKIX-lRs_rpwI.mjs +161 -0
  493. package/dist/pkl-C-zSNmaA.mjs +6 -0
  494. package/dist/pkl-Dvyry4Rm.js +1 -0
  495. package/dist/plastic-CSTz3KZp.mjs +4 -0
  496. package/dist/plastic-r5piqq-S.js +1 -0
  497. package/dist/plsql-IJkoPJ9P.js +1 -0
  498. package/dist/plsql-pVbGZfOv.mjs +6 -0
  499. package/dist/po-BNfHvqmm.mjs +6 -0
  500. package/dist/po-Rhu6MvnX.js +1 -0
  501. package/dist/poimandres-BLP3NNjc.js +1 -0
  502. package/dist/poimandres-C-VADXHD.mjs +4 -0
  503. package/dist/polar-BtWqSUq2.js +1 -0
  504. package/dist/polar-CAZahv3u.mjs +6 -0
  505. package/dist/postcss-05aHdL-n.mjs +6 -0
  506. package/dist/postcss-Dh97DcaJ.js +1 -0
  507. package/dist/powerquery-BGL6VIw7.js +1 -0
  508. package/dist/powerquery-DI9HkTvs.mjs +6 -0
  509. package/dist/powershell-BiEPMjy-.js +1 -0
  510. package/dist/powershell-Clc4ydu-.mjs +6 -0
  511. package/dist/prisma-Dp473sn0.js +1 -0
  512. package/dist/prisma-FZjmVtSl.mjs +6 -0
  513. package/dist/prolog-C5-yg4TO.mjs +6 -0
  514. package/dist/prolog-N1U-3UeF.js +1 -0
  515. package/dist/proto-C7QgialS.mjs +6 -0
  516. package/dist/proto-DMjUErYA.js +1 -0
  517. package/dist/pug-I1IOsXt4.mjs +12 -0
  518. package/dist/pug-bTUJx3Z-.js +1 -0
  519. package/dist/puppet-CUJHmnxV.mjs +6 -0
  520. package/dist/puppet-cDQP_ZC_.js +1 -0
  521. package/dist/purescript-DMxb59gF.js +1 -0
  522. package/dist/purescript-rUfGld-4.mjs +6 -0
  523. package/dist/python-BFNSHbwJ.mjs +6 -0
  524. package/dist/python-s9jfVbew.js +1 -0
  525. package/dist/qml-BxN9rt5O.mjs +8 -0
  526. package/dist/qml-CDzfIfOz.js +1 -0
  527. package/dist/qmldir-BInDYbpo.mjs +6 -0
  528. package/dist/qmldir-DNF9H2ir.js +1 -0
  529. package/dist/qss-AeJTysr_.mjs +6 -0
  530. package/dist/qss-DwA_oiAM.js +1 -0
  531. package/dist/quadrantDiagram-AYHSOK5B-B4gVakRV.js +7 -0
  532. package/dist/quadrantDiagram-AYHSOK5B-D9kypJt6.mjs +1024 -0
  533. package/dist/r-CSmzDPi7.mjs +6 -0
  534. package/dist/r-DAqIyZhh.js +1 -0
  535. package/dist/racket-B83wSAja.mjs +6 -0
  536. package/dist/racket-D4laxZit.js +1 -0
  537. package/dist/radar-NHE76QYJ-B-PvZD0K.mjs +5 -0
  538. package/dist/radar-NHE76QYJ-CdtC4C8F.js +1 -0
  539. package/dist/raku-DHySPsLw.js +1 -0
  540. package/dist/raku-nEQ4ZJJ7.mjs +6 -0
  541. package/dist/razor-BW3hho9N.mjs +10 -0
  542. package/dist/razor-DqXh8oK-.js +1 -0
  543. package/dist/red-7y8PH7HH.mjs +4 -0
  544. package/dist/red-BQGOv1D5.js +1 -0
  545. package/dist/reg-CevkCKuZ.js +1 -0
  546. package/dist/reg-m_s_Kiip.mjs +6 -0
  547. package/dist/regexp-BazyLpPg.mjs +6 -0
  548. package/dist/regexp-DabTWNLE.js +1 -0
  549. package/dist/rel-BS5APza7.js +1 -0
  550. package/dist/rel-BcRfyd6Q.mjs +6 -0
  551. package/dist/requirementDiagram-UZGBJVZJ-0zMPj-SD.js +64 -0
  552. package/dist/requirementDiagram-UZGBJVZJ-B5ulaHjE.mjs +852 -0
  553. package/dist/riscv-BnGFr6V7.js +1 -0
  554. package/dist/riscv-Ce8MAQLP.mjs +6 -0
  555. package/dist/rose-pine-BKc3yVeu.mjs +4 -0
  556. package/dist/rose-pine-CfBWm6WX.js +1 -0
  557. package/dist/rose-pine-dawn-BulJcPZT.mjs +4 -0
  558. package/dist/rose-pine-dawn-CaZ5I2lt.js +1 -0
  559. package/dist/rose-pine-moon-Cql8LDLp.js +1 -0
  560. package/dist/rose-pine-moon-j6jiXKV8.mjs +4 -0
  561. package/dist/rosmsg-C7VSFzUC.js +1 -0
  562. package/dist/rosmsg-Cz0w1km8.mjs +6 -0
  563. package/dist/rst-CmsHU1oq.js +1 -0
  564. package/dist/rst-Don6TZad.mjs +22 -0
  565. package/dist/ruby-DZp7Kthb.js +1 -0
  566. package/dist/ruby-DkElldd8.mjs +30 -0
  567. package/dist/rust-CLzF9zIN.mjs +6 -0
  568. package/dist/rust-CNeTMPbB.js +1 -0
  569. package/dist/sankeyDiagram-TZEHDZUN-Cl8-L83T.js +10 -0
  570. package/dist/sankeyDiagram-TZEHDZUN-DprIPFbe.mjs +810 -0
  571. package/dist/sas-Dgv5I5OF.mjs +8 -0
  572. package/dist/sas-Du-NqkIN.js +1 -0
  573. package/dist/sass-DxHp5rTx.mjs +6 -0
  574. package/dist/sass-vyo-bUwh.js +1 -0
  575. package/dist/scala-D4grkFkl.mjs +6 -0
  576. package/dist/scala-ZSekD-8-.js +1 -0
  577. package/dist/scheme-BCRWuEm4.mjs +6 -0
  578. package/dist/scheme-vM0LdD-_.js +1 -0
  579. package/dist/scss-C9Hu3bmX.js +1 -0
  580. package/dist/scss-DGhQJWhB.mjs +8 -0
  581. package/dist/sdbl-B7T8abf4.mjs +6 -0
  582. package/dist/sdbl-DeWT5r4i.js +1 -0
  583. package/dist/sequenceDiagram-WL72ISMW-B4m4oag0.mjs +2518 -0
  584. package/dist/sequenceDiagram-WL72ISMW-DRQn7Fe4.js +145 -0
  585. package/dist/shaderlab-DFNHwaQA.js +1 -0
  586. package/dist/shaderlab-D_9jCtR2.mjs +8 -0
  587. package/dist/shellscript-DYWjN7qW.js +1 -0
  588. package/dist/shellscript-InADTalH.mjs +6 -0
  589. package/dist/shellsession-5qZnCWz3.js +1 -0
  590. package/dist/shellsession-DtcyY-Wh.mjs +8 -0
  591. package/dist/slack-dark-akqwQ7ED.js +1 -0
  592. package/dist/slack-dark-i7wN4OET.mjs +4 -0
  593. package/dist/slack-ochin-BoQQWmTv.js +1 -0
  594. package/dist/slack-ochin-ndHf0LoP.mjs +4 -0
  595. package/dist/smalltalk-BNs6hxu4.js +1 -0
  596. package/dist/smalltalk-BlI1_OkM.mjs +6 -0
  597. package/dist/snazzy-light-BlSJXAu4.mjs +4 -0
  598. package/dist/snazzy-light-D_IwRieF.js +1 -0
  599. package/dist/solarized-dark-UTmkh7lw.mjs +4 -0
  600. package/dist/solarized-dark-gmm-WbDC.js +1 -0
  601. package/dist/solarized-light-BheCkDPT.mjs +4 -0
  602. package/dist/solarized-light-DzcxRSZP.js +1 -0
  603. package/dist/solidity-DUWnFhS6.mjs +6 -0
  604. package/dist/solidity-uQuzgchP.js +1 -0
  605. package/dist/soy-BztBK6ie.js +1 -0
  606. package/dist/soy-DwpxgXXf.mjs +8 -0
  607. package/dist/sparql-B6tDvEgg.mjs +8 -0
  608. package/dist/sparql-Ds57h-sT.js +1 -0
  609. package/dist/splunk-CRXR8A9s.mjs +6 -0
  610. package/dist/splunk-CWPivao_.js +1 -0
  611. package/dist/sql-Cn_v3PB0.mjs +6 -0
  612. package/dist/sql-DhUUVgH1.js +1 -0
  613. package/dist/ssh-config-B93wBIBa.js +1 -0
  614. package/dist/ssh-config-DP-hNVbF.mjs +6 -0
  615. package/dist/stata-B-erP_01.js +1 -0
  616. package/dist/stata-CuK25SjT.mjs +8 -0
  617. package/dist/stateDiagram-FKZM4ZOC-BD4tnS-V.js +1 -0
  618. package/dist/stateDiagram-FKZM4ZOC-DjkdDbQ2.mjs +263 -0
  619. package/dist/stateDiagram-v2-4FDKWEC3-AK86F3i6.mjs +16 -0
  620. package/dist/stateDiagram-v2-4FDKWEC3-sybMoxOk.js +1 -0
  621. package/dist/stylus-B64Bt0D4.js +1 -0
  622. package/dist/stylus-CyKEU1Ej.mjs +6 -0
  623. package/dist/svelte-CPZ3YGr5.js +1 -0
  624. package/dist/svelte-DA_HkuHw.mjs +14 -0
  625. package/dist/swift-9UzSvamq.mjs +6 -0
  626. package/dist/swift-BMbGdc3j.js +1 -0
  627. package/dist/synthwave-84-BBRLOmNT.js +1 -0
  628. package/dist/synthwave-84-NU3C_KFZ.mjs +4 -0
  629. package/dist/system-verilog-BCm7smPJ.mjs +6 -0
  630. package/dist/system-verilog-BFclLo9e.js +1 -0
  631. package/dist/systemd-C-4qm6XH.mjs +6 -0
  632. package/dist/systemd-Dtw7P4tb.js +1 -0
  633. package/dist/talonscript-CFF3LF_O.mjs +6 -0
  634. package/dist/talonscript-D8SvZJVc.js +1 -0
  635. package/dist/tasl--DC4oX-L.js +1 -0
  636. package/dist/tasl-Cg_WBUAe.mjs +6 -0
  637. package/dist/tcl-0Q0H86Yn.js +1 -0
  638. package/dist/tcl-DN7buRTF.mjs +6 -0
  639. package/dist/templ-DADdpFDY.js +1 -0
  640. package/dist/templ-YBaeMuI7.mjs +12 -0
  641. package/dist/terraform-C0RDrmWi.js +1 -0
  642. package/dist/terraform-DGvcn9zM.mjs +6 -0
  643. package/dist/tex-3QW4GAT7.js +1 -0
  644. package/dist/tex-4CAOFrzL.mjs +8 -0
  645. package/dist/timeline-definition-IT6M3QCI-2X4dfyLj.js +61 -0
  646. package/dist/timeline-definition-IT6M3QCI-BFuQEeZP.mjs +801 -0
  647. package/dist/tokyo-night-DP4TmcQl.mjs +4 -0
  648. package/dist/tokyo-night-GOhjzM5y.js +1 -0
  649. package/dist/toml-DY62mUL_.mjs +6 -0
  650. package/dist/toml-Q64DoSvG.js +1 -0
  651. package/dist/treemap-KMMF4GRG-DTnRa789.js +1 -0
  652. package/dist/treemap-KMMF4GRG-gtrnY16v.mjs +5 -0
  653. package/dist/ts-tags-DAIOErdC.mjs +41 -0
  654. package/dist/ts-tags-DW4c6MY1.js +1 -0
  655. package/dist/tsv-BtvSkaG0.mjs +6 -0
  656. package/dist/tsv-DqNGnuVj.js +1 -0
  657. package/dist/tsx-B8rCNbgL.mjs +6 -0
  658. package/dist/tsx-DIpfUf9u.js +1 -0
  659. package/dist/turtle-DipIidr5.js +1 -0
  660. package/dist/turtle-_H59FV7D.mjs +6 -0
  661. package/dist/twig-CkOV7KOv.mjs +18 -0
  662. package/dist/twig-DE2P6STQ.js +1 -0
  663. package/dist/types/index.d.ts +163 -0
  664. package/dist/typescript-RycA9KXf.mjs +6 -0
  665. package/dist/typescript-b48wo4zk.js +1 -0
  666. package/dist/typespec-DWqp-kUU.mjs +6 -0
  667. package/dist/typespec-DqXOE4_L.js +1 -0
  668. package/dist/typst-Cqq4j4V-.js +1 -0
  669. package/dist/typst-D_1QKWns.mjs +6 -0
  670. package/dist/utils/cursor-utils.d.ts +28 -0
  671. package/dist/utils/diff.d.ts +74 -0
  672. package/dist/utils/format-selection.d.ts +8 -0
  673. package/dist/utils/markdown-parser.d.ts +3 -0
  674. package/dist/utils/span-dom.d.ts +21 -0
  675. package/dist/utils/spans.d.ts +18 -0
  676. package/dist/v-81C2s01-.js +1 -0
  677. package/dist/v-BPCNiyYe.mjs +6 -0
  678. package/dist/vala-CsAYdCD2.js +1 -0
  679. package/dist/vala-uxaPR7d1.mjs +6 -0
  680. package/dist/vb-AiTMb16X.js +1 -0
  681. package/dist/vb-D8_c5-KN.mjs +6 -0
  682. package/dist/verilog-AMohXZcN.js +1 -0
  683. package/dist/verilog-B-bybjPF.mjs +6 -0
  684. package/dist/vesper-B59Iw4gV.js +1 -0
  685. package/dist/vesper-BckBta1U.mjs +4 -0
  686. package/dist/vhdl-CUlNa8ac.mjs +6 -0
  687. package/dist/vhdl-DIdR1NA5.js +1 -0
  688. package/dist/viml-D01eKeA4.js +1 -0
  689. package/dist/viml-DsfA-sWm.mjs +6 -0
  690. package/dist/vitesse-black-BoGvW84i.mjs +4 -0
  691. package/dist/vitesse-black-MF-1S1MG.js +1 -0
  692. package/dist/vitesse-dark-Cym-eLtO.mjs +4 -0
  693. package/dist/vitesse-dark-SIffJYSe.js +1 -0
  694. package/dist/vitesse-light-CcmG315c.mjs +4 -0
  695. package/dist/vitesse-light-U63SkYGT.js +1 -0
  696. package/dist/vue-BHXwUkEL.js +1 -0
  697. package/dist/vue-Qp02Uakc.mjs +31 -0
  698. package/dist/vue-html-B4znhqmy.js +1 -0
  699. package/dist/vue-html-Cg0YpUCP.mjs +8 -0
  700. package/dist/vue-vine-CHNjSzYC.js +1 -0
  701. package/dist/vue-vine-PHeyj-D9.mjs +18 -0
  702. package/dist/vyper-CPQuu50u.mjs +6 -0
  703. package/dist/vyper-DTzyzn3a.js +1 -0
  704. package/dist/wasm-BBXxrAl7.mjs +6 -0
  705. package/dist/wasm-DQxwEHae.mjs +7 -0
  706. package/dist/wasm-Dp-QrJpp.js +1 -0
  707. package/dist/wasm-Dw4u1m6u.js +1 -0
  708. package/dist/wenyan-CRNx8UP3.js +1 -0
  709. package/dist/wenyan-pbVjoM9_.mjs +6 -0
  710. package/dist/wgsl-DF5qc9dd.js +1 -0
  711. package/dist/wgsl-DY4iK1q1.mjs +6 -0
  712. package/dist/wikitext-D7uzEIfK.js +1 -0
  713. package/dist/wikitext-Z-MoUasO.mjs +6 -0
  714. package/dist/wit-BjWgLsJj.js +1 -0
  715. package/dist/wit-CQMQOlTg.mjs +6 -0
  716. package/dist/wolfram-BR4t3Ffc.js +1 -0
  717. package/dist/wolfram-Dz4KXISs.mjs +6 -0
  718. package/dist/xml-Dwj6NfjK.mjs +8 -0
  719. package/dist/xml-Vhl3ZuN2.js +1 -0
  720. package/dist/xsl-B2ZJiKs2.js +1 -0
  721. package/dist/xsl-Pe9theme.mjs +8 -0
  722. package/dist/xychartDiagram-PRI3JC2R-BaFd1In8.js +7 -0
  723. package/dist/xychartDiagram-PRI3JC2R-CjXiy6m0.mjs +1340 -0
  724. package/dist/yaml-DaO7k5B1.mjs +6 -0
  725. package/dist/yaml-XVBmpKh-.js +1 -0
  726. package/dist/zenscript-CxBjpf9c.mjs +6 -0
  727. package/dist/zenscript-fNvwKexi.js +1 -0
  728. package/dist/zig-BAyIAcWK.js +1 -0
  729. package/dist/zig-Vm0PO9wB.mjs +6 -0
  730. package/package.json +73 -0
@@ -0,0 +1,2662 @@
1
+ import { bh as Je, bi as In, bj as Ke, bk as tn, bl as en, bm as se, bn as Ln, aL as ne, aM as re, _ as h, g as An, s as Wn, z as $n, y as On, d as Hn, e as Nn, f as _t, h as Bt, i as Pn, bo as rt, l as Tt, o as Vn, n as zn, D as Rn, x as Zn } from "./index-oe4HpmeG.mjs";
2
+ import { b as Bn, t as We, c as Xn, a as qn, l as Gn } from "./linear-SU4e8MRt.mjs";
3
+ import { i as jn } from "./init-DjUOC4st.mjs";
4
+ function Qn(t, e) {
5
+ let n;
6
+ if (e === void 0)
7
+ for (const r of t)
8
+ r != null && (n < r || n === void 0 && r >= r) && (n = r);
9
+ else {
10
+ let r = -1;
11
+ for (let i of t)
12
+ (i = e(i, ++r, t)) != null && (n < i || n === void 0 && i >= i) && (n = i);
13
+ }
14
+ return n;
15
+ }
16
+ function Jn(t, e) {
17
+ let n;
18
+ if (e === void 0)
19
+ for (const r of t)
20
+ r != null && (n > r || n === void 0 && r >= r) && (n = r);
21
+ else {
22
+ let r = -1;
23
+ for (let i of t)
24
+ (i = e(i, ++r, t)) != null && (n > i || n === void 0 && i >= i) && (n = i);
25
+ }
26
+ return n;
27
+ }
28
+ function Kn(t) {
29
+ return t;
30
+ }
31
+ var qt = 1, ae = 2, ke = 3, Xt = 4, $e = 1e-6;
32
+ function tr(t) {
33
+ return "translate(" + t + ",0)";
34
+ }
35
+ function er(t) {
36
+ return "translate(0," + t + ")";
37
+ }
38
+ function nr(t) {
39
+ return (e) => +t(e);
40
+ }
41
+ function rr(t, e) {
42
+ return e = Math.max(0, t.bandwidth() - e * 2) / 2, t.round() && (e = Math.round(e)), (n) => +t(n) + e;
43
+ }
44
+ function ir() {
45
+ return !this.__axis;
46
+ }
47
+ function nn(t, e) {
48
+ var n = [], r = null, i = null, a = 6, c = 6, m = 3, F = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, C = t === qt || t === Xt ? -1 : 1, k = t === Xt || t === ae ? "x" : "y", L = t === qt || t === ke ? tr : er;
49
+ function _(S) {
50
+ var B = r ?? (e.ticks ? e.ticks.apply(e, n) : e.domain()), A = i ?? (e.tickFormat ? e.tickFormat.apply(e, n) : Kn), U = Math.max(a, 0) + m, I = e.range(), N = +I[0] + F, W = +I[I.length - 1] + F, Z = (e.bandwidth ? rr : nr)(e.copy(), F), j = S.selection ? S.selection() : S, p = j.selectAll(".domain").data([null]), g = j.selectAll(".tick").data(B, e).order(), y = g.exit(), d = g.enter().append("g").attr("class", "tick"), M = g.select("line"), w = g.select("text");
51
+ p = p.merge(p.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), g = g.merge(d), M = M.merge(d.append("line").attr("stroke", "currentColor").attr(k + "2", C * a)), w = w.merge(d.append("text").attr("fill", "currentColor").attr(k, C * U).attr("dy", t === qt ? "0em" : t === ke ? "0.71em" : "0.32em")), S !== j && (p = p.transition(S), g = g.transition(S), M = M.transition(S), w = w.transition(S), y = y.transition(S).attr("opacity", $e).attr("transform", function(T) {
52
+ return isFinite(T = Z(T)) ? L(T + F) : this.getAttribute("transform");
53
+ }), d.attr("opacity", $e).attr("transform", function(T) {
54
+ var v = this.parentNode.__axis;
55
+ return L((v && isFinite(v = v(T)) ? v : Z(T)) + F);
56
+ })), y.remove(), p.attr("d", t === Xt || t === ae ? c ? "M" + C * c + "," + N + "H" + F + "V" + W + "H" + C * c : "M" + F + "," + N + "V" + W : c ? "M" + N + "," + C * c + "V" + F + "H" + W + "V" + C * c : "M" + N + "," + F + "H" + W), g.attr("opacity", 1).attr("transform", function(T) {
57
+ return L(Z(T) + F);
58
+ }), M.attr(k + "2", C * a), w.attr(k, C * U).text(A), j.filter(ir).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", t === ae ? "start" : t === Xt ? "end" : "middle"), j.each(function() {
59
+ this.__axis = Z;
60
+ });
61
+ }
62
+ return _.scale = function(S) {
63
+ return arguments.length ? (e = S, _) : e;
64
+ }, _.ticks = function() {
65
+ return n = Array.from(arguments), _;
66
+ }, _.tickArguments = function(S) {
67
+ return arguments.length ? (n = S == null ? [] : Array.from(S), _) : n.slice();
68
+ }, _.tickValues = function(S) {
69
+ return arguments.length ? (r = S == null ? null : Array.from(S), _) : r && r.slice();
70
+ }, _.tickFormat = function(S) {
71
+ return arguments.length ? (i = S, _) : i;
72
+ }, _.tickSize = function(S) {
73
+ return arguments.length ? (a = c = +S, _) : a;
74
+ }, _.tickSizeInner = function(S) {
75
+ return arguments.length ? (a = +S, _) : a;
76
+ }, _.tickSizeOuter = function(S) {
77
+ return arguments.length ? (c = +S, _) : c;
78
+ }, _.tickPadding = function(S) {
79
+ return arguments.length ? (m = +S, _) : m;
80
+ }, _.offset = function(S) {
81
+ return arguments.length ? (F = +S, _) : F;
82
+ }, _;
83
+ }
84
+ function sr(t) {
85
+ return nn(qt, t);
86
+ }
87
+ function ar(t) {
88
+ return nn(ke, t);
89
+ }
90
+ const or = Math.PI / 180, cr = 180 / Math.PI, Qt = 18, rn = 0.96422, sn = 1, an = 0.82521, on = 4 / 29, Yt = 6 / 29, cn = 3 * Yt * Yt, ur = Yt * Yt * Yt;
91
+ function un(t) {
92
+ if (t instanceof ft) return new ft(t.l, t.a, t.b, t.opacity);
93
+ if (t instanceof dt) return ln(t);
94
+ t instanceof Je || (t = In(t));
95
+ var e = le(t.r), n = le(t.g), r = le(t.b), i = oe((0.2225045 * e + 0.7168786 * n + 0.0606169 * r) / sn), a, c;
96
+ return e === n && n === r ? a = c = i : (a = oe((0.4360747 * e + 0.3850649 * n + 0.1430804 * r) / rn), c = oe((0.0139322 * e + 0.0971045 * n + 0.7141733 * r) / an)), new ft(116 * i - 16, 500 * (a - i), 200 * (i - c), t.opacity);
97
+ }
98
+ function lr(t, e, n, r) {
99
+ return arguments.length === 1 ? un(t) : new ft(t, e, n, r ?? 1);
100
+ }
101
+ function ft(t, e, n, r) {
102
+ this.l = +t, this.a = +e, this.b = +n, this.opacity = +r;
103
+ }
104
+ Ke(ft, lr, tn(en, {
105
+ brighter(t) {
106
+ return new ft(this.l + Qt * (t ?? 1), this.a, this.b, this.opacity);
107
+ },
108
+ darker(t) {
109
+ return new ft(this.l - Qt * (t ?? 1), this.a, this.b, this.opacity);
110
+ },
111
+ rgb() {
112
+ var t = (this.l + 16) / 116, e = isNaN(this.a) ? t : t + this.a / 500, n = isNaN(this.b) ? t : t - this.b / 200;
113
+ return e = rn * ce(e), t = sn * ce(t), n = an * ce(n), new Je(
114
+ ue(3.1338561 * e - 1.6168667 * t - 0.4906146 * n),
115
+ ue(-0.9787684 * e + 1.9161415 * t + 0.033454 * n),
116
+ ue(0.0719453 * e - 0.2289914 * t + 1.4052427 * n),
117
+ this.opacity
118
+ );
119
+ }
120
+ }));
121
+ function oe(t) {
122
+ return t > ur ? Math.pow(t, 1 / 3) : t / cn + on;
123
+ }
124
+ function ce(t) {
125
+ return t > Yt ? t * t * t : cn * (t - on);
126
+ }
127
+ function ue(t) {
128
+ return 255 * (t <= 31308e-7 ? 12.92 * t : 1.055 * Math.pow(t, 1 / 2.4) - 0.055);
129
+ }
130
+ function le(t) {
131
+ return (t /= 255) <= 0.04045 ? t / 12.92 : Math.pow((t + 0.055) / 1.055, 2.4);
132
+ }
133
+ function fr(t) {
134
+ if (t instanceof dt) return new dt(t.h, t.c, t.l, t.opacity);
135
+ if (t instanceof ft || (t = un(t)), t.a === 0 && t.b === 0) return new dt(NaN, 0 < t.l && t.l < 100 ? 0 : NaN, t.l, t.opacity);
136
+ var e = Math.atan2(t.b, t.a) * cr;
137
+ return new dt(e < 0 ? e + 360 : e, Math.sqrt(t.a * t.a + t.b * t.b), t.l, t.opacity);
138
+ }
139
+ function pe(t, e, n, r) {
140
+ return arguments.length === 1 ? fr(t) : new dt(t, e, n, r ?? 1);
141
+ }
142
+ function dt(t, e, n, r) {
143
+ this.h = +t, this.c = +e, this.l = +n, this.opacity = +r;
144
+ }
145
+ function ln(t) {
146
+ if (isNaN(t.h)) return new ft(t.l, 0, 0, t.opacity);
147
+ var e = t.h * or;
148
+ return new ft(t.l, Math.cos(e) * t.c, Math.sin(e) * t.c, t.opacity);
149
+ }
150
+ Ke(dt, pe, tn(en, {
151
+ brighter(t) {
152
+ return new dt(this.h, this.c, this.l + Qt * (t ?? 1), this.opacity);
153
+ },
154
+ darker(t) {
155
+ return new dt(this.h, this.c, this.l - Qt * (t ?? 1), this.opacity);
156
+ },
157
+ rgb() {
158
+ return ln(this).rgb();
159
+ }
160
+ }));
161
+ function hr(t) {
162
+ return function(e, n) {
163
+ var r = t((e = pe(e)).h, (n = pe(n)).h), i = se(e.c, n.c), a = se(e.l, n.l), c = se(e.opacity, n.opacity);
164
+ return function(m) {
165
+ return e.h = r(m), e.c = i(m), e.l = a(m), e.opacity = c(m), e + "";
166
+ };
167
+ };
168
+ }
169
+ const dr = hr(Ln);
170
+ function mr(t, e) {
171
+ t = t.slice();
172
+ var n = 0, r = t.length - 1, i = t[n], a = t[r], c;
173
+ return a < i && (c = n, n = r, r = c, c = i, i = a, a = c), t[n] = e.floor(i), t[r] = e.ceil(a), t;
174
+ }
175
+ const fe = /* @__PURE__ */ new Date(), he = /* @__PURE__ */ new Date();
176
+ function et(t, e, n, r) {
177
+ function i(a) {
178
+ return t(a = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+a)), a;
179
+ }
180
+ return i.floor = (a) => (t(a = /* @__PURE__ */ new Date(+a)), a), i.ceil = (a) => (t(a = new Date(a - 1)), e(a, 1), t(a), a), i.round = (a) => {
181
+ const c = i(a), m = i.ceil(a);
182
+ return a - c < m - a ? c : m;
183
+ }, i.offset = (a, c) => (e(a = /* @__PURE__ */ new Date(+a), c == null ? 1 : Math.floor(c)), a), i.range = (a, c, m) => {
184
+ const F = [];
185
+ if (a = i.ceil(a), m = m == null ? 1 : Math.floor(m), !(a < c) || !(m > 0)) return F;
186
+ let C;
187
+ do
188
+ F.push(C = /* @__PURE__ */ new Date(+a)), e(a, m), t(a);
189
+ while (C < a && a < c);
190
+ return F;
191
+ }, i.filter = (a) => et((c) => {
192
+ if (c >= c) for (; t(c), !a(c); ) c.setTime(c - 1);
193
+ }, (c, m) => {
194
+ if (c >= c)
195
+ if (m < 0) for (; ++m <= 0; )
196
+ for (; e(c, -1), !a(c); )
197
+ ;
198
+ else for (; --m >= 0; )
199
+ for (; e(c, 1), !a(c); )
200
+ ;
201
+ }), n && (i.count = (a, c) => (fe.setTime(+a), he.setTime(+c), t(fe), t(he), Math.floor(n(fe, he))), i.every = (a) => (a = Math.floor(a), !isFinite(a) || !(a > 0) ? null : a > 1 ? i.filter(r ? (c) => r(c) % a === 0 : (c) => i.count(0, c) % a === 0) : i)), i;
202
+ }
203
+ const Ut = et(() => {
204
+ }, (t, e) => {
205
+ t.setTime(+t + e);
206
+ }, (t, e) => e - t);
207
+ Ut.every = (t) => (t = Math.floor(t), !isFinite(t) || !(t > 0) ? null : t > 1 ? et((e) => {
208
+ e.setTime(Math.floor(e / t) * t);
209
+ }, (e, n) => {
210
+ e.setTime(+e + n * t);
211
+ }, (e, n) => (n - e) / t) : Ut);
212
+ Ut.range;
213
+ const mt = 1e3, ct = mt * 60, gt = ct * 60, yt = gt * 24, we = yt * 7, Oe = yt * 30, de = yt * 365, vt = et((t) => {
214
+ t.setTime(t - t.getMilliseconds());
215
+ }, (t, e) => {
216
+ t.setTime(+t + e * mt);
217
+ }, (t, e) => (e - t) / mt, (t) => t.getUTCSeconds());
218
+ vt.range;
219
+ const $t = et((t) => {
220
+ t.setTime(t - t.getMilliseconds() - t.getSeconds() * mt);
221
+ }, (t, e) => {
222
+ t.setTime(+t + e * ct);
223
+ }, (t, e) => (e - t) / ct, (t) => t.getMinutes());
224
+ $t.range;
225
+ const gr = et((t) => {
226
+ t.setUTCSeconds(0, 0);
227
+ }, (t, e) => {
228
+ t.setTime(+t + e * ct);
229
+ }, (t, e) => (e - t) / ct, (t) => t.getUTCMinutes());
230
+ gr.range;
231
+ const Ot = et((t) => {
232
+ t.setTime(t - t.getMilliseconds() - t.getSeconds() * mt - t.getMinutes() * ct);
233
+ }, (t, e) => {
234
+ t.setTime(+t + e * gt);
235
+ }, (t, e) => (e - t) / gt, (t) => t.getHours());
236
+ Ot.range;
237
+ const yr = et((t) => {
238
+ t.setUTCMinutes(0, 0, 0);
239
+ }, (t, e) => {
240
+ t.setTime(+t + e * gt);
241
+ }, (t, e) => (e - t) / gt, (t) => t.getUTCHours());
242
+ yr.range;
243
+ const bt = et(
244
+ (t) => t.setHours(0, 0, 0, 0),
245
+ (t, e) => t.setDate(t.getDate() + e),
246
+ (t, e) => (e - t - (e.getTimezoneOffset() - t.getTimezoneOffset()) * ct) / yt,
247
+ (t) => t.getDate() - 1
248
+ );
249
+ bt.range;
250
+ const Me = et((t) => {
251
+ t.setUTCHours(0, 0, 0, 0);
252
+ }, (t, e) => {
253
+ t.setUTCDate(t.getUTCDate() + e);
254
+ }, (t, e) => (e - t) / yt, (t) => t.getUTCDate() - 1);
255
+ Me.range;
256
+ const kr = et((t) => {
257
+ t.setUTCHours(0, 0, 0, 0);
258
+ }, (t, e) => {
259
+ t.setUTCDate(t.getUTCDate() + e);
260
+ }, (t, e) => (e - t) / yt, (t) => Math.floor(t / yt));
261
+ kr.range;
262
+ function Mt(t) {
263
+ return et((e) => {
264
+ e.setDate(e.getDate() - (e.getDay() + 7 - t) % 7), e.setHours(0, 0, 0, 0);
265
+ }, (e, n) => {
266
+ e.setDate(e.getDate() + n * 7);
267
+ }, (e, n) => (n - e - (n.getTimezoneOffset() - e.getTimezoneOffset()) * ct) / we);
268
+ }
269
+ const Pt = Mt(0), Ht = Mt(1), fn = Mt(2), hn = Mt(3), xt = Mt(4), dn = Mt(5), mn = Mt(6);
270
+ Pt.range;
271
+ Ht.range;
272
+ fn.range;
273
+ hn.range;
274
+ xt.range;
275
+ dn.range;
276
+ mn.range;
277
+ function Dt(t) {
278
+ return et((e) => {
279
+ e.setUTCDate(e.getUTCDate() - (e.getUTCDay() + 7 - t) % 7), e.setUTCHours(0, 0, 0, 0);
280
+ }, (e, n) => {
281
+ e.setUTCDate(e.getUTCDate() + n * 7);
282
+ }, (e, n) => (n - e) / we);
283
+ }
284
+ const gn = Dt(0), Jt = Dt(1), pr = Dt(2), vr = Dt(3), Et = Dt(4), Tr = Dt(5), br = Dt(6);
285
+ gn.range;
286
+ Jt.range;
287
+ pr.range;
288
+ vr.range;
289
+ Et.range;
290
+ Tr.range;
291
+ br.range;
292
+ const Nt = et((t) => {
293
+ t.setDate(1), t.setHours(0, 0, 0, 0);
294
+ }, (t, e) => {
295
+ t.setMonth(t.getMonth() + e);
296
+ }, (t, e) => e.getMonth() - t.getMonth() + (e.getFullYear() - t.getFullYear()) * 12, (t) => t.getMonth());
297
+ Nt.range;
298
+ const xr = et((t) => {
299
+ t.setUTCDate(1), t.setUTCHours(0, 0, 0, 0);
300
+ }, (t, e) => {
301
+ t.setUTCMonth(t.getUTCMonth() + e);
302
+ }, (t, e) => e.getUTCMonth() - t.getUTCMonth() + (e.getUTCFullYear() - t.getUTCFullYear()) * 12, (t) => t.getUTCMonth());
303
+ xr.range;
304
+ const kt = et((t) => {
305
+ t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
306
+ }, (t, e) => {
307
+ t.setFullYear(t.getFullYear() + e);
308
+ }, (t, e) => e.getFullYear() - t.getFullYear(), (t) => t.getFullYear());
309
+ kt.every = (t) => !isFinite(t = Math.floor(t)) || !(t > 0) ? null : et((e) => {
310
+ e.setFullYear(Math.floor(e.getFullYear() / t) * t), e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
311
+ }, (e, n) => {
312
+ e.setFullYear(e.getFullYear() + n * t);
313
+ });
314
+ kt.range;
315
+ const wt = et((t) => {
316
+ t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
317
+ }, (t, e) => {
318
+ t.setUTCFullYear(t.getUTCFullYear() + e);
319
+ }, (t, e) => e.getUTCFullYear() - t.getUTCFullYear(), (t) => t.getUTCFullYear());
320
+ wt.every = (t) => !isFinite(t = Math.floor(t)) || !(t > 0) ? null : et((e) => {
321
+ e.setUTCFullYear(Math.floor(e.getUTCFullYear() / t) * t), e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
322
+ }, (e, n) => {
323
+ e.setUTCFullYear(e.getUTCFullYear() + n * t);
324
+ });
325
+ wt.range;
326
+ function wr(t, e, n, r, i, a) {
327
+ const c = [
328
+ [vt, 1, mt],
329
+ [vt, 5, 5 * mt],
330
+ [vt, 15, 15 * mt],
331
+ [vt, 30, 30 * mt],
332
+ [a, 1, ct],
333
+ [a, 5, 5 * ct],
334
+ [a, 15, 15 * ct],
335
+ [a, 30, 30 * ct],
336
+ [i, 1, gt],
337
+ [i, 3, 3 * gt],
338
+ [i, 6, 6 * gt],
339
+ [i, 12, 12 * gt],
340
+ [r, 1, yt],
341
+ [r, 2, 2 * yt],
342
+ [n, 1, we],
343
+ [e, 1, Oe],
344
+ [e, 3, 3 * Oe],
345
+ [t, 1, de]
346
+ ];
347
+ function m(C, k, L) {
348
+ const _ = k < C;
349
+ _ && ([C, k] = [k, C]);
350
+ const S = L && typeof L.range == "function" ? L : F(C, k, L), B = S ? S.range(C, +k + 1) : [];
351
+ return _ ? B.reverse() : B;
352
+ }
353
+ function F(C, k, L) {
354
+ const _ = Math.abs(k - C) / L, S = Bn(([, , U]) => U).right(c, _);
355
+ if (S === c.length) return t.every(We(C / de, k / de, L));
356
+ if (S === 0) return Ut.every(Math.max(We(C, k, L), 1));
357
+ const [B, A] = c[_ / c[S - 1][2] < c[S][2] / _ ? S - 1 : S];
358
+ return B.every(A);
359
+ }
360
+ return [m, F];
361
+ }
362
+ const [Mr, Dr] = wr(kt, Nt, Pt, bt, Ot, $t);
363
+ function me(t) {
364
+ if (0 <= t.y && t.y < 100) {
365
+ var e = new Date(-1, t.m, t.d, t.H, t.M, t.S, t.L);
366
+ return e.setFullYear(t.y), e;
367
+ }
368
+ return new Date(t.y, t.m, t.d, t.H, t.M, t.S, t.L);
369
+ }
370
+ function ge(t) {
371
+ if (0 <= t.y && t.y < 100) {
372
+ var e = new Date(Date.UTC(-1, t.m, t.d, t.H, t.M, t.S, t.L));
373
+ return e.setUTCFullYear(t.y), e;
374
+ }
375
+ return new Date(Date.UTC(t.y, t.m, t.d, t.H, t.M, t.S, t.L));
376
+ }
377
+ function Lt(t, e, n) {
378
+ return { y: t, m: e, d: n, H: 0, M: 0, S: 0, L: 0 };
379
+ }
380
+ function Cr(t) {
381
+ var e = t.dateTime, n = t.date, r = t.time, i = t.periods, a = t.days, c = t.shortDays, m = t.months, F = t.shortMonths, C = At(i), k = Wt(i), L = At(a), _ = Wt(a), S = At(c), B = Wt(c), A = At(m), U = Wt(m), I = At(F), N = Wt(F), W = {
382
+ a: x,
383
+ A: Y,
384
+ b: o,
385
+ B: q,
386
+ c: null,
387
+ d: Re,
388
+ e: Re,
389
+ f: Gr,
390
+ g: si,
391
+ G: oi,
392
+ H: Br,
393
+ I: Xr,
394
+ j: qr,
395
+ L: yn,
396
+ m: jr,
397
+ M: Qr,
398
+ p: s,
399
+ q: E,
400
+ Q: Xe,
401
+ s: qe,
402
+ S: Jr,
403
+ u: Kr,
404
+ U: ti,
405
+ V: ei,
406
+ w: ni,
407
+ W: ri,
408
+ x: null,
409
+ X: null,
410
+ y: ii,
411
+ Y: ai,
412
+ Z: ci,
413
+ "%": Be
414
+ }, Z = {
415
+ a: R,
416
+ A: z,
417
+ b: P,
418
+ B: K,
419
+ c: null,
420
+ d: Ze,
421
+ e: Ze,
422
+ f: hi,
423
+ g: xi,
424
+ G: Mi,
425
+ H: ui,
426
+ I: li,
427
+ j: fi,
428
+ L: pn,
429
+ m: di,
430
+ M: mi,
431
+ p: O,
432
+ q: st,
433
+ Q: Xe,
434
+ s: qe,
435
+ S: gi,
436
+ u: yi,
437
+ U: ki,
438
+ V: pi,
439
+ w: vi,
440
+ W: Ti,
441
+ x: null,
442
+ X: null,
443
+ y: bi,
444
+ Y: wi,
445
+ Z: Di,
446
+ "%": Be
447
+ }, j = {
448
+ a: M,
449
+ A: w,
450
+ b: T,
451
+ B: v,
452
+ c: u,
453
+ d: Ve,
454
+ e: Ve,
455
+ f: Vr,
456
+ g: Pe,
457
+ G: Ne,
458
+ H: ze,
459
+ I: ze,
460
+ j: Or,
461
+ L: Pr,
462
+ m: $r,
463
+ M: Hr,
464
+ p: d,
465
+ q: Wr,
466
+ Q: Rr,
467
+ s: Zr,
468
+ S: Nr,
469
+ u: Ur,
470
+ U: Er,
471
+ V: Ir,
472
+ w: Fr,
473
+ W: Lr,
474
+ x: f,
475
+ X: b,
476
+ y: Pe,
477
+ Y: Ne,
478
+ Z: Ar,
479
+ "%": zr
480
+ };
481
+ W.x = p(n, W), W.X = p(r, W), W.c = p(e, W), Z.x = p(n, Z), Z.X = p(r, Z), Z.c = p(e, Z);
482
+ function p(D, H) {
483
+ return function(V) {
484
+ var l = [], J = -1, $ = 0, Q = D.length, G, it, at;
485
+ for (V instanceof Date || (V = /* @__PURE__ */ new Date(+V)); ++J < Q; )
486
+ D.charCodeAt(J) === 37 && (l.push(D.slice($, J)), (it = He[G = D.charAt(++J)]) != null ? G = D.charAt(++J) : it = G === "e" ? " " : "0", (at = H[G]) && (G = at(V, it)), l.push(G), $ = J + 1);
487
+ return l.push(D.slice($, J)), l.join("");
488
+ };
489
+ }
490
+ function g(D, H) {
491
+ return function(V) {
492
+ var l = Lt(1900, void 0, 1), J = y(l, D, V += "", 0), $, Q;
493
+ if (J != V.length) return null;
494
+ if ("Q" in l) return new Date(l.Q);
495
+ if ("s" in l) return new Date(l.s * 1e3 + ("L" in l ? l.L : 0));
496
+ if (H && !("Z" in l) && (l.Z = 0), "p" in l && (l.H = l.H % 12 + l.p * 12), l.m === void 0 && (l.m = "q" in l ? l.q : 0), "V" in l) {
497
+ if (l.V < 1 || l.V > 53) return null;
498
+ "w" in l || (l.w = 1), "Z" in l ? ($ = ge(Lt(l.y, 0, 1)), Q = $.getUTCDay(), $ = Q > 4 || Q === 0 ? Jt.ceil($) : Jt($), $ = Me.offset($, (l.V - 1) * 7), l.y = $.getUTCFullYear(), l.m = $.getUTCMonth(), l.d = $.getUTCDate() + (l.w + 6) % 7) : ($ = me(Lt(l.y, 0, 1)), Q = $.getDay(), $ = Q > 4 || Q === 0 ? Ht.ceil($) : Ht($), $ = bt.offset($, (l.V - 1) * 7), l.y = $.getFullYear(), l.m = $.getMonth(), l.d = $.getDate() + (l.w + 6) % 7);
499
+ } else ("W" in l || "U" in l) && ("w" in l || (l.w = "u" in l ? l.u % 7 : "W" in l ? 1 : 0), Q = "Z" in l ? ge(Lt(l.y, 0, 1)).getUTCDay() : me(Lt(l.y, 0, 1)).getDay(), l.m = 0, l.d = "W" in l ? (l.w + 6) % 7 + l.W * 7 - (Q + 5) % 7 : l.w + l.U * 7 - (Q + 6) % 7);
500
+ return "Z" in l ? (l.H += l.Z / 100 | 0, l.M += l.Z % 100, ge(l)) : me(l);
501
+ };
502
+ }
503
+ function y(D, H, V, l) {
504
+ for (var J = 0, $ = H.length, Q = V.length, G, it; J < $; ) {
505
+ if (l >= Q) return -1;
506
+ if (G = H.charCodeAt(J++), G === 37) {
507
+ if (G = H.charAt(J++), it = j[G in He ? H.charAt(J++) : G], !it || (l = it(D, V, l)) < 0) return -1;
508
+ } else if (G != V.charCodeAt(l++))
509
+ return -1;
510
+ }
511
+ return l;
512
+ }
513
+ function d(D, H, V) {
514
+ var l = C.exec(H.slice(V));
515
+ return l ? (D.p = k.get(l[0].toLowerCase()), V + l[0].length) : -1;
516
+ }
517
+ function M(D, H, V) {
518
+ var l = S.exec(H.slice(V));
519
+ return l ? (D.w = B.get(l[0].toLowerCase()), V + l[0].length) : -1;
520
+ }
521
+ function w(D, H, V) {
522
+ var l = L.exec(H.slice(V));
523
+ return l ? (D.w = _.get(l[0].toLowerCase()), V + l[0].length) : -1;
524
+ }
525
+ function T(D, H, V) {
526
+ var l = I.exec(H.slice(V));
527
+ return l ? (D.m = N.get(l[0].toLowerCase()), V + l[0].length) : -1;
528
+ }
529
+ function v(D, H, V) {
530
+ var l = A.exec(H.slice(V));
531
+ return l ? (D.m = U.get(l[0].toLowerCase()), V + l[0].length) : -1;
532
+ }
533
+ function u(D, H, V) {
534
+ return y(D, e, H, V);
535
+ }
536
+ function f(D, H, V) {
537
+ return y(D, n, H, V);
538
+ }
539
+ function b(D, H, V) {
540
+ return y(D, r, H, V);
541
+ }
542
+ function x(D) {
543
+ return c[D.getDay()];
544
+ }
545
+ function Y(D) {
546
+ return a[D.getDay()];
547
+ }
548
+ function o(D) {
549
+ return F[D.getMonth()];
550
+ }
551
+ function q(D) {
552
+ return m[D.getMonth()];
553
+ }
554
+ function s(D) {
555
+ return i[+(D.getHours() >= 12)];
556
+ }
557
+ function E(D) {
558
+ return 1 + ~~(D.getMonth() / 3);
559
+ }
560
+ function R(D) {
561
+ return c[D.getUTCDay()];
562
+ }
563
+ function z(D) {
564
+ return a[D.getUTCDay()];
565
+ }
566
+ function P(D) {
567
+ return F[D.getUTCMonth()];
568
+ }
569
+ function K(D) {
570
+ return m[D.getUTCMonth()];
571
+ }
572
+ function O(D) {
573
+ return i[+(D.getUTCHours() >= 12)];
574
+ }
575
+ function st(D) {
576
+ return 1 + ~~(D.getUTCMonth() / 3);
577
+ }
578
+ return {
579
+ format: function(D) {
580
+ var H = p(D += "", W);
581
+ return H.toString = function() {
582
+ return D;
583
+ }, H;
584
+ },
585
+ parse: function(D) {
586
+ var H = g(D += "", !1);
587
+ return H.toString = function() {
588
+ return D;
589
+ }, H;
590
+ },
591
+ utcFormat: function(D) {
592
+ var H = p(D += "", Z);
593
+ return H.toString = function() {
594
+ return D;
595
+ }, H;
596
+ },
597
+ utcParse: function(D) {
598
+ var H = g(D += "", !0);
599
+ return H.toString = function() {
600
+ return D;
601
+ }, H;
602
+ }
603
+ };
604
+ }
605
+ var He = { "-": "", _: " ", 0: "0" }, nt = /^\s*\d+/, Sr = /^%/, _r = /[\\^$*+?|[\]().{}]/g;
606
+ function X(t, e, n) {
607
+ var r = t < 0 ? "-" : "", i = (r ? -t : t) + "", a = i.length;
608
+ return r + (a < n ? new Array(n - a + 1).join(e) + i : i);
609
+ }
610
+ function Yr(t) {
611
+ return t.replace(_r, "\\$&");
612
+ }
613
+ function At(t) {
614
+ return new RegExp("^(?:" + t.map(Yr).join("|") + ")", "i");
615
+ }
616
+ function Wt(t) {
617
+ return new Map(t.map((e, n) => [e.toLowerCase(), n]));
618
+ }
619
+ function Fr(t, e, n) {
620
+ var r = nt.exec(e.slice(n, n + 1));
621
+ return r ? (t.w = +r[0], n + r[0].length) : -1;
622
+ }
623
+ function Ur(t, e, n) {
624
+ var r = nt.exec(e.slice(n, n + 1));
625
+ return r ? (t.u = +r[0], n + r[0].length) : -1;
626
+ }
627
+ function Er(t, e, n) {
628
+ var r = nt.exec(e.slice(n, n + 2));
629
+ return r ? (t.U = +r[0], n + r[0].length) : -1;
630
+ }
631
+ function Ir(t, e, n) {
632
+ var r = nt.exec(e.slice(n, n + 2));
633
+ return r ? (t.V = +r[0], n + r[0].length) : -1;
634
+ }
635
+ function Lr(t, e, n) {
636
+ var r = nt.exec(e.slice(n, n + 2));
637
+ return r ? (t.W = +r[0], n + r[0].length) : -1;
638
+ }
639
+ function Ne(t, e, n) {
640
+ var r = nt.exec(e.slice(n, n + 4));
641
+ return r ? (t.y = +r[0], n + r[0].length) : -1;
642
+ }
643
+ function Pe(t, e, n) {
644
+ var r = nt.exec(e.slice(n, n + 2));
645
+ return r ? (t.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
646
+ }
647
+ function Ar(t, e, n) {
648
+ var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n, n + 6));
649
+ return r ? (t.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
650
+ }
651
+ function Wr(t, e, n) {
652
+ var r = nt.exec(e.slice(n, n + 1));
653
+ return r ? (t.q = r[0] * 3 - 3, n + r[0].length) : -1;
654
+ }
655
+ function $r(t, e, n) {
656
+ var r = nt.exec(e.slice(n, n + 2));
657
+ return r ? (t.m = r[0] - 1, n + r[0].length) : -1;
658
+ }
659
+ function Ve(t, e, n) {
660
+ var r = nt.exec(e.slice(n, n + 2));
661
+ return r ? (t.d = +r[0], n + r[0].length) : -1;
662
+ }
663
+ function Or(t, e, n) {
664
+ var r = nt.exec(e.slice(n, n + 3));
665
+ return r ? (t.m = 0, t.d = +r[0], n + r[0].length) : -1;
666
+ }
667
+ function ze(t, e, n) {
668
+ var r = nt.exec(e.slice(n, n + 2));
669
+ return r ? (t.H = +r[0], n + r[0].length) : -1;
670
+ }
671
+ function Hr(t, e, n) {
672
+ var r = nt.exec(e.slice(n, n + 2));
673
+ return r ? (t.M = +r[0], n + r[0].length) : -1;
674
+ }
675
+ function Nr(t, e, n) {
676
+ var r = nt.exec(e.slice(n, n + 2));
677
+ return r ? (t.S = +r[0], n + r[0].length) : -1;
678
+ }
679
+ function Pr(t, e, n) {
680
+ var r = nt.exec(e.slice(n, n + 3));
681
+ return r ? (t.L = +r[0], n + r[0].length) : -1;
682
+ }
683
+ function Vr(t, e, n) {
684
+ var r = nt.exec(e.slice(n, n + 6));
685
+ return r ? (t.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
686
+ }
687
+ function zr(t, e, n) {
688
+ var r = Sr.exec(e.slice(n, n + 1));
689
+ return r ? n + r[0].length : -1;
690
+ }
691
+ function Rr(t, e, n) {
692
+ var r = nt.exec(e.slice(n));
693
+ return r ? (t.Q = +r[0], n + r[0].length) : -1;
694
+ }
695
+ function Zr(t, e, n) {
696
+ var r = nt.exec(e.slice(n));
697
+ return r ? (t.s = +r[0], n + r[0].length) : -1;
698
+ }
699
+ function Re(t, e) {
700
+ return X(t.getDate(), e, 2);
701
+ }
702
+ function Br(t, e) {
703
+ return X(t.getHours(), e, 2);
704
+ }
705
+ function Xr(t, e) {
706
+ return X(t.getHours() % 12 || 12, e, 2);
707
+ }
708
+ function qr(t, e) {
709
+ return X(1 + bt.count(kt(t), t), e, 3);
710
+ }
711
+ function yn(t, e) {
712
+ return X(t.getMilliseconds(), e, 3);
713
+ }
714
+ function Gr(t, e) {
715
+ return yn(t, e) + "000";
716
+ }
717
+ function jr(t, e) {
718
+ return X(t.getMonth() + 1, e, 2);
719
+ }
720
+ function Qr(t, e) {
721
+ return X(t.getMinutes(), e, 2);
722
+ }
723
+ function Jr(t, e) {
724
+ return X(t.getSeconds(), e, 2);
725
+ }
726
+ function Kr(t) {
727
+ var e = t.getDay();
728
+ return e === 0 ? 7 : e;
729
+ }
730
+ function ti(t, e) {
731
+ return X(Pt.count(kt(t) - 1, t), e, 2);
732
+ }
733
+ function kn(t) {
734
+ var e = t.getDay();
735
+ return e >= 4 || e === 0 ? xt(t) : xt.ceil(t);
736
+ }
737
+ function ei(t, e) {
738
+ return t = kn(t), X(xt.count(kt(t), t) + (kt(t).getDay() === 4), e, 2);
739
+ }
740
+ function ni(t) {
741
+ return t.getDay();
742
+ }
743
+ function ri(t, e) {
744
+ return X(Ht.count(kt(t) - 1, t), e, 2);
745
+ }
746
+ function ii(t, e) {
747
+ return X(t.getFullYear() % 100, e, 2);
748
+ }
749
+ function si(t, e) {
750
+ return t = kn(t), X(t.getFullYear() % 100, e, 2);
751
+ }
752
+ function ai(t, e) {
753
+ return X(t.getFullYear() % 1e4, e, 4);
754
+ }
755
+ function oi(t, e) {
756
+ var n = t.getDay();
757
+ return t = n >= 4 || n === 0 ? xt(t) : xt.ceil(t), X(t.getFullYear() % 1e4, e, 4);
758
+ }
759
+ function ci(t) {
760
+ var e = t.getTimezoneOffset();
761
+ return (e > 0 ? "-" : (e *= -1, "+")) + X(e / 60 | 0, "0", 2) + X(e % 60, "0", 2);
762
+ }
763
+ function Ze(t, e) {
764
+ return X(t.getUTCDate(), e, 2);
765
+ }
766
+ function ui(t, e) {
767
+ return X(t.getUTCHours(), e, 2);
768
+ }
769
+ function li(t, e) {
770
+ return X(t.getUTCHours() % 12 || 12, e, 2);
771
+ }
772
+ function fi(t, e) {
773
+ return X(1 + Me.count(wt(t), t), e, 3);
774
+ }
775
+ function pn(t, e) {
776
+ return X(t.getUTCMilliseconds(), e, 3);
777
+ }
778
+ function hi(t, e) {
779
+ return pn(t, e) + "000";
780
+ }
781
+ function di(t, e) {
782
+ return X(t.getUTCMonth() + 1, e, 2);
783
+ }
784
+ function mi(t, e) {
785
+ return X(t.getUTCMinutes(), e, 2);
786
+ }
787
+ function gi(t, e) {
788
+ return X(t.getUTCSeconds(), e, 2);
789
+ }
790
+ function yi(t) {
791
+ var e = t.getUTCDay();
792
+ return e === 0 ? 7 : e;
793
+ }
794
+ function ki(t, e) {
795
+ return X(gn.count(wt(t) - 1, t), e, 2);
796
+ }
797
+ function vn(t) {
798
+ var e = t.getUTCDay();
799
+ return e >= 4 || e === 0 ? Et(t) : Et.ceil(t);
800
+ }
801
+ function pi(t, e) {
802
+ return t = vn(t), X(Et.count(wt(t), t) + (wt(t).getUTCDay() === 4), e, 2);
803
+ }
804
+ function vi(t) {
805
+ return t.getUTCDay();
806
+ }
807
+ function Ti(t, e) {
808
+ return X(Jt.count(wt(t) - 1, t), e, 2);
809
+ }
810
+ function bi(t, e) {
811
+ return X(t.getUTCFullYear() % 100, e, 2);
812
+ }
813
+ function xi(t, e) {
814
+ return t = vn(t), X(t.getUTCFullYear() % 100, e, 2);
815
+ }
816
+ function wi(t, e) {
817
+ return X(t.getUTCFullYear() % 1e4, e, 4);
818
+ }
819
+ function Mi(t, e) {
820
+ var n = t.getUTCDay();
821
+ return t = n >= 4 || n === 0 ? Et(t) : Et.ceil(t), X(t.getUTCFullYear() % 1e4, e, 4);
822
+ }
823
+ function Di() {
824
+ return "+0000";
825
+ }
826
+ function Be() {
827
+ return "%";
828
+ }
829
+ function Xe(t) {
830
+ return +t;
831
+ }
832
+ function qe(t) {
833
+ return Math.floor(+t / 1e3);
834
+ }
835
+ var St, Kt;
836
+ Ci({
837
+ dateTime: "%x, %X",
838
+ date: "%-m/%-d/%Y",
839
+ time: "%-I:%M:%S %p",
840
+ periods: ["AM", "PM"],
841
+ days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
842
+ shortDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
843
+ months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
844
+ shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
845
+ });
846
+ function Ci(t) {
847
+ return St = Cr(t), Kt = St.format, St.parse, St.utcFormat, St.utcParse, St;
848
+ }
849
+ function Si(t) {
850
+ return new Date(t);
851
+ }
852
+ function _i(t) {
853
+ return t instanceof Date ? +t : +/* @__PURE__ */ new Date(+t);
854
+ }
855
+ function Tn(t, e, n, r, i, a, c, m, F, C) {
856
+ var k = Xn(), L = k.invert, _ = k.domain, S = C(".%L"), B = C(":%S"), A = C("%I:%M"), U = C("%I %p"), I = C("%a %d"), N = C("%b %d"), W = C("%B"), Z = C("%Y");
857
+ function j(p) {
858
+ return (F(p) < p ? S : m(p) < p ? B : c(p) < p ? A : a(p) < p ? U : r(p) < p ? i(p) < p ? I : N : n(p) < p ? W : Z)(p);
859
+ }
860
+ return k.invert = function(p) {
861
+ return new Date(L(p));
862
+ }, k.domain = function(p) {
863
+ return arguments.length ? _(Array.from(p, _i)) : _().map(Si);
864
+ }, k.ticks = function(p) {
865
+ var g = _();
866
+ return t(g[0], g[g.length - 1], p ?? 10);
867
+ }, k.tickFormat = function(p, g) {
868
+ return g == null ? j : C(g);
869
+ }, k.nice = function(p) {
870
+ var g = _();
871
+ return (!p || typeof p.range != "function") && (p = e(g[0], g[g.length - 1], p ?? 10)), p ? _(mr(g, p)) : k;
872
+ }, k.copy = function() {
873
+ return qn(k, Tn(t, e, n, r, i, a, c, m, F, C));
874
+ }, k;
875
+ }
876
+ function Yi() {
877
+ return jn.apply(Tn(Mr, Dr, kt, Nt, Pt, bt, Ot, $t, vt, Kt).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
878
+ }
879
+ var bn = { exports: {} };
880
+ (function(t, e) {
881
+ (function(n, r) {
882
+ t.exports = r();
883
+ })(ne, function() {
884
+ var n = "day";
885
+ return function(r, i, a) {
886
+ var c = function(C) {
887
+ return C.add(4 - C.isoWeekday(), n);
888
+ }, m = i.prototype;
889
+ m.isoWeekYear = function() {
890
+ return c(this).year();
891
+ }, m.isoWeek = function(C) {
892
+ if (!this.$utils().u(C)) return this.add(7 * (C - this.isoWeek()), n);
893
+ var k, L, _, S, B = c(this), A = (k = this.isoWeekYear(), L = this.$u, _ = (L ? a.utc : a)().year(k).startOf("year"), S = 4 - _.isoWeekday(), _.isoWeekday() > 4 && (S += 7), _.add(S, n));
894
+ return B.diff(A, "week") + 1;
895
+ }, m.isoWeekday = function(C) {
896
+ return this.$utils().u(C) ? this.day() || 7 : this.day(this.day() % 7 ? C : C - 7);
897
+ };
898
+ var F = m.startOf;
899
+ m.startOf = function(C, k) {
900
+ var L = this.$utils(), _ = !!L.u(k) || k;
901
+ return L.p(C) === "isoweek" ? _ ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : F.bind(this)(C, k);
902
+ };
903
+ };
904
+ });
905
+ })(bn);
906
+ var Fi = bn.exports;
907
+ const Ui = /* @__PURE__ */ re(Fi);
908
+ var xn = { exports: {} };
909
+ (function(t, e) {
910
+ (function(n, r) {
911
+ t.exports = r();
912
+ })(ne, function() {
913
+ var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, r = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, i = /\d/, a = /\d\d/, c = /\d\d?/, m = /\d*[^-_:/,()\s\d]+/, F = {}, C = function(U) {
914
+ return (U = +U) + (U > 68 ? 1900 : 2e3);
915
+ }, k = function(U) {
916
+ return function(I) {
917
+ this[U] = +I;
918
+ };
919
+ }, L = [/[+-]\d\d:?(\d\d)?|Z/, function(U) {
920
+ (this.zone || (this.zone = {})).offset = function(I) {
921
+ if (!I || I === "Z") return 0;
922
+ var N = I.match(/([+-]|\d\d)/g), W = 60 * N[1] + (+N[2] || 0);
923
+ return W === 0 ? 0 : N[0] === "+" ? -W : W;
924
+ }(U);
925
+ }], _ = function(U) {
926
+ var I = F[U];
927
+ return I && (I.indexOf ? I : I.s.concat(I.f));
928
+ }, S = function(U, I) {
929
+ var N, W = F.meridiem;
930
+ if (W) {
931
+ for (var Z = 1; Z <= 24; Z += 1) if (U.indexOf(W(Z, 0, I)) > -1) {
932
+ N = Z > 12;
933
+ break;
934
+ }
935
+ } else N = U === (I ? "pm" : "PM");
936
+ return N;
937
+ }, B = { A: [m, function(U) {
938
+ this.afternoon = S(U, !1);
939
+ }], a: [m, function(U) {
940
+ this.afternoon = S(U, !0);
941
+ }], Q: [i, function(U) {
942
+ this.month = 3 * (U - 1) + 1;
943
+ }], S: [i, function(U) {
944
+ this.milliseconds = 100 * +U;
945
+ }], SS: [a, function(U) {
946
+ this.milliseconds = 10 * +U;
947
+ }], SSS: [/\d{3}/, function(U) {
948
+ this.milliseconds = +U;
949
+ }], s: [c, k("seconds")], ss: [c, k("seconds")], m: [c, k("minutes")], mm: [c, k("minutes")], H: [c, k("hours")], h: [c, k("hours")], HH: [c, k("hours")], hh: [c, k("hours")], D: [c, k("day")], DD: [a, k("day")], Do: [m, function(U) {
950
+ var I = F.ordinal, N = U.match(/\d+/);
951
+ if (this.day = N[0], I) for (var W = 1; W <= 31; W += 1) I(W).replace(/\[|\]/g, "") === U && (this.day = W);
952
+ }], w: [c, k("week")], ww: [a, k("week")], M: [c, k("month")], MM: [a, k("month")], MMM: [m, function(U) {
953
+ var I = _("months"), N = (_("monthsShort") || I.map(function(W) {
954
+ return W.slice(0, 3);
955
+ })).indexOf(U) + 1;
956
+ if (N < 1) throw new Error();
957
+ this.month = N % 12 || N;
958
+ }], MMMM: [m, function(U) {
959
+ var I = _("months").indexOf(U) + 1;
960
+ if (I < 1) throw new Error();
961
+ this.month = I % 12 || I;
962
+ }], Y: [/[+-]?\d+/, k("year")], YY: [a, function(U) {
963
+ this.year = C(U);
964
+ }], YYYY: [/\d{4}/, k("year")], Z: L, ZZ: L };
965
+ function A(U) {
966
+ var I, N;
967
+ I = U, N = F && F.formats;
968
+ for (var W = (U = I.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(M, w, T) {
969
+ var v = T && T.toUpperCase();
970
+ return w || N[T] || n[T] || N[v].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(u, f, b) {
971
+ return f || b.slice(1);
972
+ });
973
+ })).match(r), Z = W.length, j = 0; j < Z; j += 1) {
974
+ var p = W[j], g = B[p], y = g && g[0], d = g && g[1];
975
+ W[j] = d ? { regex: y, parser: d } : p.replace(/^\[|\]$/g, "");
976
+ }
977
+ return function(M) {
978
+ for (var w = {}, T = 0, v = 0; T < Z; T += 1) {
979
+ var u = W[T];
980
+ if (typeof u == "string") v += u.length;
981
+ else {
982
+ var f = u.regex, b = u.parser, x = M.slice(v), Y = f.exec(x)[0];
983
+ b.call(w, Y), M = M.replace(Y, "");
984
+ }
985
+ }
986
+ return function(o) {
987
+ var q = o.afternoon;
988
+ if (q !== void 0) {
989
+ var s = o.hours;
990
+ q ? s < 12 && (o.hours += 12) : s === 12 && (o.hours = 0), delete o.afternoon;
991
+ }
992
+ }(w), w;
993
+ };
994
+ }
995
+ return function(U, I, N) {
996
+ N.p.customParseFormat = !0, U && U.parseTwoDigitYear && (C = U.parseTwoDigitYear);
997
+ var W = I.prototype, Z = W.parse;
998
+ W.parse = function(j) {
999
+ var p = j.date, g = j.utc, y = j.args;
1000
+ this.$u = g;
1001
+ var d = y[1];
1002
+ if (typeof d == "string") {
1003
+ var M = y[2] === !0, w = y[3] === !0, T = M || w, v = y[2];
1004
+ w && (v = y[2]), F = this.$locale(), !M && v && (F = N.Ls[v]), this.$d = function(x, Y, o, q) {
1005
+ try {
1006
+ if (["x", "X"].indexOf(Y) > -1) return new Date((Y === "X" ? 1e3 : 1) * x);
1007
+ var s = A(Y)(x), E = s.year, R = s.month, z = s.day, P = s.hours, K = s.minutes, O = s.seconds, st = s.milliseconds, D = s.zone, H = s.week, V = /* @__PURE__ */ new Date(), l = z || (E || R ? 1 : V.getDate()), J = E || V.getFullYear(), $ = 0;
1008
+ E && !R || ($ = R > 0 ? R - 1 : V.getMonth());
1009
+ var Q, G = P || 0, it = K || 0, at = O || 0, pt = st || 0;
1010
+ return D ? new Date(Date.UTC(J, $, l, G, it, at, pt + 60 * D.offset * 1e3)) : o ? new Date(Date.UTC(J, $, l, G, it, at, pt)) : (Q = new Date(J, $, l, G, it, at, pt), H && (Q = q(Q).week(H).toDate()), Q);
1011
+ } catch {
1012
+ return /* @__PURE__ */ new Date("");
1013
+ }
1014
+ }(p, d, g, N), this.init(), v && v !== !0 && (this.$L = this.locale(v).$L), T && p != this.format(d) && (this.$d = /* @__PURE__ */ new Date("")), F = {};
1015
+ } else if (d instanceof Array) for (var u = d.length, f = 1; f <= u; f += 1) {
1016
+ y[1] = d[f - 1];
1017
+ var b = N.apply(this, y);
1018
+ if (b.isValid()) {
1019
+ this.$d = b.$d, this.$L = b.$L, this.init();
1020
+ break;
1021
+ }
1022
+ f === u && (this.$d = /* @__PURE__ */ new Date(""));
1023
+ }
1024
+ else Z.call(this, j);
1025
+ };
1026
+ };
1027
+ });
1028
+ })(xn);
1029
+ var Ei = xn.exports;
1030
+ const Ii = /* @__PURE__ */ re(Ei);
1031
+ var wn = { exports: {} };
1032
+ (function(t, e) {
1033
+ (function(n, r) {
1034
+ t.exports = r();
1035
+ })(ne, function() {
1036
+ return function(n, r) {
1037
+ var i = r.prototype, a = i.format;
1038
+ i.format = function(c) {
1039
+ var m = this, F = this.$locale();
1040
+ if (!this.isValid()) return a.bind(this)(c);
1041
+ var C = this.$utils(), k = (c || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, function(L) {
1042
+ switch (L) {
1043
+ case "Q":
1044
+ return Math.ceil((m.$M + 1) / 3);
1045
+ case "Do":
1046
+ return F.ordinal(m.$D);
1047
+ case "gggg":
1048
+ return m.weekYear();
1049
+ case "GGGG":
1050
+ return m.isoWeekYear();
1051
+ case "wo":
1052
+ return F.ordinal(m.week(), "W");
1053
+ case "w":
1054
+ case "ww":
1055
+ return C.s(m.week(), L === "w" ? 1 : 2, "0");
1056
+ case "W":
1057
+ case "WW":
1058
+ return C.s(m.isoWeek(), L === "W" ? 1 : 2, "0");
1059
+ case "k":
1060
+ case "kk":
1061
+ return C.s(String(m.$H === 0 ? 24 : m.$H), L === "k" ? 1 : 2, "0");
1062
+ case "X":
1063
+ return Math.floor(m.$d.getTime() / 1e3);
1064
+ case "x":
1065
+ return m.$d.getTime();
1066
+ case "z":
1067
+ return "[" + m.offsetName() + "]";
1068
+ case "zzz":
1069
+ return "[" + m.offsetName("long") + "]";
1070
+ default:
1071
+ return L;
1072
+ }
1073
+ });
1074
+ return a.bind(this)(k);
1075
+ };
1076
+ };
1077
+ });
1078
+ })(wn);
1079
+ var Li = wn.exports;
1080
+ const Ai = /* @__PURE__ */ re(Li);
1081
+ var Mn = { exports: {} };
1082
+ (function(t, e) {
1083
+ (function(n, r) {
1084
+ t.exports = r();
1085
+ })(ne, function() {
1086
+ var n, r, i = 1e3, a = 6e4, c = 36e5, m = 864e5, F = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, C = 31536e6, k = 2628e6, L = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, _ = { years: C, months: k, days: m, hours: c, minutes: a, seconds: i, milliseconds: 1, weeks: 6048e5 }, S = function(p) {
1087
+ return p instanceof Z;
1088
+ }, B = function(p, g, y) {
1089
+ return new Z(p, y, g.$l);
1090
+ }, A = function(p) {
1091
+ return r.p(p) + "s";
1092
+ }, U = function(p) {
1093
+ return p < 0;
1094
+ }, I = function(p) {
1095
+ return U(p) ? Math.ceil(p) : Math.floor(p);
1096
+ }, N = function(p) {
1097
+ return Math.abs(p);
1098
+ }, W = function(p, g) {
1099
+ return p ? U(p) ? { negative: !0, format: "" + N(p) + g } : { negative: !1, format: "" + p + g } : { negative: !1, format: "" };
1100
+ }, Z = function() {
1101
+ function p(y, d, M) {
1102
+ var w = this;
1103
+ if (this.$d = {}, this.$l = M, y === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), d) return B(y * _[A(d)], this);
1104
+ if (typeof y == "number") return this.$ms = y, this.parseFromMilliseconds(), this;
1105
+ if (typeof y == "object") return Object.keys(y).forEach(function(u) {
1106
+ w.$d[A(u)] = y[u];
1107
+ }), this.calMilliseconds(), this;
1108
+ if (typeof y == "string") {
1109
+ var T = y.match(L);
1110
+ if (T) {
1111
+ var v = T.slice(2).map(function(u) {
1112
+ return u != null ? Number(u) : 0;
1113
+ });
1114
+ return this.$d.years = v[0], this.$d.months = v[1], this.$d.weeks = v[2], this.$d.days = v[3], this.$d.hours = v[4], this.$d.minutes = v[5], this.$d.seconds = v[6], this.calMilliseconds(), this;
1115
+ }
1116
+ }
1117
+ return this;
1118
+ }
1119
+ var g = p.prototype;
1120
+ return g.calMilliseconds = function() {
1121
+ var y = this;
1122
+ this.$ms = Object.keys(this.$d).reduce(function(d, M) {
1123
+ return d + (y.$d[M] || 0) * _[M];
1124
+ }, 0);
1125
+ }, g.parseFromMilliseconds = function() {
1126
+ var y = this.$ms;
1127
+ this.$d.years = I(y / C), y %= C, this.$d.months = I(y / k), y %= k, this.$d.days = I(y / m), y %= m, this.$d.hours = I(y / c), y %= c, this.$d.minutes = I(y / a), y %= a, this.$d.seconds = I(y / i), y %= i, this.$d.milliseconds = y;
1128
+ }, g.toISOString = function() {
1129
+ var y = W(this.$d.years, "Y"), d = W(this.$d.months, "M"), M = +this.$d.days || 0;
1130
+ this.$d.weeks && (M += 7 * this.$d.weeks);
1131
+ var w = W(M, "D"), T = W(this.$d.hours, "H"), v = W(this.$d.minutes, "M"), u = this.$d.seconds || 0;
1132
+ this.$d.milliseconds && (u += this.$d.milliseconds / 1e3, u = Math.round(1e3 * u) / 1e3);
1133
+ var f = W(u, "S"), b = y.negative || d.negative || w.negative || T.negative || v.negative || f.negative, x = T.format || v.format || f.format ? "T" : "", Y = (b ? "-" : "") + "P" + y.format + d.format + w.format + x + T.format + v.format + f.format;
1134
+ return Y === "P" || Y === "-P" ? "P0D" : Y;
1135
+ }, g.toJSON = function() {
1136
+ return this.toISOString();
1137
+ }, g.format = function(y) {
1138
+ var d = y || "YYYY-MM-DDTHH:mm:ss", M = { Y: this.$d.years, YY: r.s(this.$d.years, 2, "0"), YYYY: r.s(this.$d.years, 4, "0"), M: this.$d.months, MM: r.s(this.$d.months, 2, "0"), D: this.$d.days, DD: r.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: r.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: r.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: r.s(this.$d.seconds, 2, "0"), SSS: r.s(this.$d.milliseconds, 3, "0") };
1139
+ return d.replace(F, function(w, T) {
1140
+ return T || String(M[w]);
1141
+ });
1142
+ }, g.as = function(y) {
1143
+ return this.$ms / _[A(y)];
1144
+ }, g.get = function(y) {
1145
+ var d = this.$ms, M = A(y);
1146
+ return M === "milliseconds" ? d %= 1e3 : d = M === "weeks" ? I(d / _[M]) : this.$d[M], d || 0;
1147
+ }, g.add = function(y, d, M) {
1148
+ var w;
1149
+ return w = d ? y * _[A(d)] : S(y) ? y.$ms : B(y, this).$ms, B(this.$ms + w * (M ? -1 : 1), this);
1150
+ }, g.subtract = function(y, d) {
1151
+ return this.add(y, d, !0);
1152
+ }, g.locale = function(y) {
1153
+ var d = this.clone();
1154
+ return d.$l = y, d;
1155
+ }, g.clone = function() {
1156
+ return B(this.$ms, this);
1157
+ }, g.humanize = function(y) {
1158
+ return n().add(this.$ms, "ms").locale(this.$l).fromNow(!y);
1159
+ }, g.valueOf = function() {
1160
+ return this.asMilliseconds();
1161
+ }, g.milliseconds = function() {
1162
+ return this.get("milliseconds");
1163
+ }, g.asMilliseconds = function() {
1164
+ return this.as("milliseconds");
1165
+ }, g.seconds = function() {
1166
+ return this.get("seconds");
1167
+ }, g.asSeconds = function() {
1168
+ return this.as("seconds");
1169
+ }, g.minutes = function() {
1170
+ return this.get("minutes");
1171
+ }, g.asMinutes = function() {
1172
+ return this.as("minutes");
1173
+ }, g.hours = function() {
1174
+ return this.get("hours");
1175
+ }, g.asHours = function() {
1176
+ return this.as("hours");
1177
+ }, g.days = function() {
1178
+ return this.get("days");
1179
+ }, g.asDays = function() {
1180
+ return this.as("days");
1181
+ }, g.weeks = function() {
1182
+ return this.get("weeks");
1183
+ }, g.asWeeks = function() {
1184
+ return this.as("weeks");
1185
+ }, g.months = function() {
1186
+ return this.get("months");
1187
+ }, g.asMonths = function() {
1188
+ return this.as("months");
1189
+ }, g.years = function() {
1190
+ return this.get("years");
1191
+ }, g.asYears = function() {
1192
+ return this.as("years");
1193
+ }, p;
1194
+ }(), j = function(p, g, y) {
1195
+ return p.add(g.years() * y, "y").add(g.months() * y, "M").add(g.days() * y, "d").add(g.hours() * y, "h").add(g.minutes() * y, "m").add(g.seconds() * y, "s").add(g.milliseconds() * y, "ms");
1196
+ };
1197
+ return function(p, g, y) {
1198
+ n = y, r = y().$utils(), y.duration = function(w, T) {
1199
+ var v = y.locale();
1200
+ return B(w, { $l: v }, T);
1201
+ }, y.isDuration = S;
1202
+ var d = g.prototype.add, M = g.prototype.subtract;
1203
+ g.prototype.add = function(w, T) {
1204
+ return S(w) ? j(this, w, 1) : d.bind(this)(w, T);
1205
+ }, g.prototype.subtract = function(w, T) {
1206
+ return S(w) ? j(this, w, -1) : M.bind(this)(w, T);
1207
+ };
1208
+ };
1209
+ });
1210
+ })(Mn);
1211
+ var Wi = Mn.exports;
1212
+ const $i = /* @__PURE__ */ re(Wi);
1213
+ var ve = function() {
1214
+ var t = /* @__PURE__ */ h(function(v, u, f, b) {
1215
+ for (f = f || {}, b = v.length; b--; f[v[b]] = u) ;
1216
+ return f;
1217
+ }, "o"), e = [6, 8, 10, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 33, 35, 36, 38, 40], n = [1, 26], r = [1, 27], i = [1, 28], a = [1, 29], c = [1, 30], m = [1, 31], F = [1, 32], C = [1, 33], k = [1, 34], L = [1, 9], _ = [1, 10], S = [1, 11], B = [1, 12], A = [1, 13], U = [1, 14], I = [1, 15], N = [1, 16], W = [1, 19], Z = [1, 20], j = [1, 21], p = [1, 22], g = [1, 23], y = [1, 25], d = [1, 35], M = {
1218
+ trace: /* @__PURE__ */ h(function() {
1219
+ }, "trace"),
1220
+ yy: {},
1221
+ symbols_: { error: 2, start: 3, gantt: 4, document: 5, EOF: 6, line: 7, SPACE: 8, statement: 9, NL: 10, weekday: 11, weekday_monday: 12, weekday_tuesday: 13, weekday_wednesday: 14, weekday_thursday: 15, weekday_friday: 16, weekday_saturday: 17, weekday_sunday: 18, weekend: 19, weekend_friday: 20, weekend_saturday: 21, dateFormat: 22, inclusiveEndDates: 23, topAxis: 24, axisFormat: 25, tickInterval: 26, excludes: 27, includes: 28, todayMarker: 29, title: 30, acc_title: 31, acc_title_value: 32, acc_descr: 33, acc_descr_value: 34, acc_descr_multiline_value: 35, section: 36, clickStatement: 37, taskTxt: 38, taskData: 39, click: 40, callbackname: 41, callbackargs: 42, href: 43, clickStatementDebug: 44, $accept: 0, $end: 1 },
1222
+ terminals_: { 2: "error", 4: "gantt", 6: "EOF", 8: "SPACE", 10: "NL", 12: "weekday_monday", 13: "weekday_tuesday", 14: "weekday_wednesday", 15: "weekday_thursday", 16: "weekday_friday", 17: "weekday_saturday", 18: "weekday_sunday", 20: "weekend_friday", 21: "weekend_saturday", 22: "dateFormat", 23: "inclusiveEndDates", 24: "topAxis", 25: "axisFormat", 26: "tickInterval", 27: "excludes", 28: "includes", 29: "todayMarker", 30: "title", 31: "acc_title", 32: "acc_title_value", 33: "acc_descr", 34: "acc_descr_value", 35: "acc_descr_multiline_value", 36: "section", 38: "taskTxt", 39: "taskData", 40: "click", 41: "callbackname", 42: "callbackargs", 43: "href" },
1223
+ productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [11, 1], [11, 1], [11, 1], [11, 1], [11, 1], [11, 1], [11, 1], [19, 1], [19, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 2], [9, 2], [9, 1], [9, 1], [9, 1], [9, 2], [37, 2], [37, 3], [37, 3], [37, 4], [37, 3], [37, 4], [37, 2], [44, 2], [44, 3], [44, 3], [44, 4], [44, 3], [44, 4], [44, 2]],
1224
+ performAction: /* @__PURE__ */ h(function(u, f, b, x, Y, o, q) {
1225
+ var s = o.length - 1;
1226
+ switch (Y) {
1227
+ case 1:
1228
+ return o[s - 1];
1229
+ case 2:
1230
+ this.$ = [];
1231
+ break;
1232
+ case 3:
1233
+ o[s - 1].push(o[s]), this.$ = o[s - 1];
1234
+ break;
1235
+ case 4:
1236
+ case 5:
1237
+ this.$ = o[s];
1238
+ break;
1239
+ case 6:
1240
+ case 7:
1241
+ this.$ = [];
1242
+ break;
1243
+ case 8:
1244
+ x.setWeekday("monday");
1245
+ break;
1246
+ case 9:
1247
+ x.setWeekday("tuesday");
1248
+ break;
1249
+ case 10:
1250
+ x.setWeekday("wednesday");
1251
+ break;
1252
+ case 11:
1253
+ x.setWeekday("thursday");
1254
+ break;
1255
+ case 12:
1256
+ x.setWeekday("friday");
1257
+ break;
1258
+ case 13:
1259
+ x.setWeekday("saturday");
1260
+ break;
1261
+ case 14:
1262
+ x.setWeekday("sunday");
1263
+ break;
1264
+ case 15:
1265
+ x.setWeekend("friday");
1266
+ break;
1267
+ case 16:
1268
+ x.setWeekend("saturday");
1269
+ break;
1270
+ case 17:
1271
+ x.setDateFormat(o[s].substr(11)), this.$ = o[s].substr(11);
1272
+ break;
1273
+ case 18:
1274
+ x.enableInclusiveEndDates(), this.$ = o[s].substr(18);
1275
+ break;
1276
+ case 19:
1277
+ x.TopAxis(), this.$ = o[s].substr(8);
1278
+ break;
1279
+ case 20:
1280
+ x.setAxisFormat(o[s].substr(11)), this.$ = o[s].substr(11);
1281
+ break;
1282
+ case 21:
1283
+ x.setTickInterval(o[s].substr(13)), this.$ = o[s].substr(13);
1284
+ break;
1285
+ case 22:
1286
+ x.setExcludes(o[s].substr(9)), this.$ = o[s].substr(9);
1287
+ break;
1288
+ case 23:
1289
+ x.setIncludes(o[s].substr(9)), this.$ = o[s].substr(9);
1290
+ break;
1291
+ case 24:
1292
+ x.setTodayMarker(o[s].substr(12)), this.$ = o[s].substr(12);
1293
+ break;
1294
+ case 27:
1295
+ x.setDiagramTitle(o[s].substr(6)), this.$ = o[s].substr(6);
1296
+ break;
1297
+ case 28:
1298
+ this.$ = o[s].trim(), x.setAccTitle(this.$);
1299
+ break;
1300
+ case 29:
1301
+ case 30:
1302
+ this.$ = o[s].trim(), x.setAccDescription(this.$);
1303
+ break;
1304
+ case 31:
1305
+ x.addSection(o[s].substr(8)), this.$ = o[s].substr(8);
1306
+ break;
1307
+ case 33:
1308
+ x.addTask(o[s - 1], o[s]), this.$ = "task";
1309
+ break;
1310
+ case 34:
1311
+ this.$ = o[s - 1], x.setClickEvent(o[s - 1], o[s], null);
1312
+ break;
1313
+ case 35:
1314
+ this.$ = o[s - 2], x.setClickEvent(o[s - 2], o[s - 1], o[s]);
1315
+ break;
1316
+ case 36:
1317
+ this.$ = o[s - 2], x.setClickEvent(o[s - 2], o[s - 1], null), x.setLink(o[s - 2], o[s]);
1318
+ break;
1319
+ case 37:
1320
+ this.$ = o[s - 3], x.setClickEvent(o[s - 3], o[s - 2], o[s - 1]), x.setLink(o[s - 3], o[s]);
1321
+ break;
1322
+ case 38:
1323
+ this.$ = o[s - 2], x.setClickEvent(o[s - 2], o[s], null), x.setLink(o[s - 2], o[s - 1]);
1324
+ break;
1325
+ case 39:
1326
+ this.$ = o[s - 3], x.setClickEvent(o[s - 3], o[s - 1], o[s]), x.setLink(o[s - 3], o[s - 2]);
1327
+ break;
1328
+ case 40:
1329
+ this.$ = o[s - 1], x.setLink(o[s - 1], o[s]);
1330
+ break;
1331
+ case 41:
1332
+ case 47:
1333
+ this.$ = o[s - 1] + " " + o[s];
1334
+ break;
1335
+ case 42:
1336
+ case 43:
1337
+ case 45:
1338
+ this.$ = o[s - 2] + " " + o[s - 1] + " " + o[s];
1339
+ break;
1340
+ case 44:
1341
+ case 46:
1342
+ this.$ = o[s - 3] + " " + o[s - 2] + " " + o[s - 1] + " " + o[s];
1343
+ break;
1344
+ }
1345
+ }, "anonymous"),
1346
+ table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 17, 12: n, 13: r, 14: i, 15: a, 16: c, 17: m, 18: F, 19: 18, 20: C, 21: k, 22: L, 23: _, 24: S, 25: B, 26: A, 27: U, 28: I, 29: N, 30: W, 31: Z, 33: j, 35: p, 36: g, 37: 24, 38: y, 40: d }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 36, 11: 17, 12: n, 13: r, 14: i, 15: a, 16: c, 17: m, 18: F, 19: 18, 20: C, 21: k, 22: L, 23: _, 24: S, 25: B, 26: A, 27: U, 28: I, 29: N, 30: W, 31: Z, 33: j, 35: p, 36: g, 37: 24, 38: y, 40: d }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 17]), t(e, [2, 18]), t(e, [2, 19]), t(e, [2, 20]), t(e, [2, 21]), t(e, [2, 22]), t(e, [2, 23]), t(e, [2, 24]), t(e, [2, 25]), t(e, [2, 26]), t(e, [2, 27]), { 32: [1, 37] }, { 34: [1, 38] }, t(e, [2, 30]), t(e, [2, 31]), t(e, [2, 32]), { 39: [1, 39] }, t(e, [2, 8]), t(e, [2, 9]), t(e, [2, 10]), t(e, [2, 11]), t(e, [2, 12]), t(e, [2, 13]), t(e, [2, 14]), t(e, [2, 15]), t(e, [2, 16]), { 41: [1, 40], 43: [1, 41] }, t(e, [2, 4]), t(e, [2, 28]), t(e, [2, 29]), t(e, [2, 33]), t(e, [2, 34], { 42: [1, 42], 43: [1, 43] }), t(e, [2, 40], { 41: [1, 44] }), t(e, [2, 35], { 43: [1, 45] }), t(e, [2, 36]), t(e, [2, 38], { 42: [1, 46] }), t(e, [2, 37]), t(e, [2, 39])],
1347
+ defaultActions: {},
1348
+ parseError: /* @__PURE__ */ h(function(u, f) {
1349
+ if (f.recoverable)
1350
+ this.trace(u);
1351
+ else {
1352
+ var b = new Error(u);
1353
+ throw b.hash = f, b;
1354
+ }
1355
+ }, "parseError"),
1356
+ parse: /* @__PURE__ */ h(function(u) {
1357
+ var f = this, b = [0], x = [], Y = [null], o = [], q = this.table, s = "", E = 0, R = 0, z = 2, P = 1, K = o.slice.call(arguments, 1), O = Object.create(this.lexer), st = { yy: {} };
1358
+ for (var D in this.yy)
1359
+ Object.prototype.hasOwnProperty.call(this.yy, D) && (st.yy[D] = this.yy[D]);
1360
+ O.setInput(u, st.yy), st.yy.lexer = O, st.yy.parser = this, typeof O.yylloc > "u" && (O.yylloc = {});
1361
+ var H = O.yylloc;
1362
+ o.push(H);
1363
+ var V = O.options && O.options.ranges;
1364
+ typeof st.yy.parseError == "function" ? this.parseError = st.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1365
+ function l(ot) {
1366
+ b.length = b.length - 2 * ot, Y.length = Y.length - ot, o.length = o.length - ot;
1367
+ }
1368
+ h(l, "popStack");
1369
+ function J() {
1370
+ var ot;
1371
+ return ot = x.pop() || O.lex() || P, typeof ot != "number" && (ot instanceof Array && (x = ot, ot = x.pop()), ot = f.symbols_[ot] || ot), ot;
1372
+ }
1373
+ h(J, "lex");
1374
+ for (var $, Q, G, it, at = {}, pt, ut, Ae, Zt; ; ) {
1375
+ if (Q = b[b.length - 1], this.defaultActions[Q] ? G = this.defaultActions[Q] : (($ === null || typeof $ > "u") && ($ = J()), G = q[Q] && q[Q][$]), typeof G > "u" || !G.length || !G[0]) {
1376
+ var ie = "";
1377
+ Zt = [];
1378
+ for (pt in q[Q])
1379
+ this.terminals_[pt] && pt > z && Zt.push("'" + this.terminals_[pt] + "'");
1380
+ O.showPosition ? ie = "Parse error on line " + (E + 1) + `:
1381
+ ` + O.showPosition() + `
1382
+ Expecting ` + Zt.join(", ") + ", got '" + (this.terminals_[$] || $) + "'" : ie = "Parse error on line " + (E + 1) + ": Unexpected " + ($ == P ? "end of input" : "'" + (this.terminals_[$] || $) + "'"), this.parseError(ie, {
1383
+ text: O.match,
1384
+ token: this.terminals_[$] || $,
1385
+ line: O.yylineno,
1386
+ loc: H,
1387
+ expected: Zt
1388
+ });
1389
+ }
1390
+ if (G[0] instanceof Array && G.length > 1)
1391
+ throw new Error("Parse Error: multiple actions possible at state: " + Q + ", token: " + $);
1392
+ switch (G[0]) {
1393
+ case 1:
1394
+ b.push($), Y.push(O.yytext), o.push(O.yylloc), b.push(G[1]), $ = null, R = O.yyleng, s = O.yytext, E = O.yylineno, H = O.yylloc;
1395
+ break;
1396
+ case 2:
1397
+ if (ut = this.productions_[G[1]][1], at.$ = Y[Y.length - ut], at._$ = {
1398
+ first_line: o[o.length - (ut || 1)].first_line,
1399
+ last_line: o[o.length - 1].last_line,
1400
+ first_column: o[o.length - (ut || 1)].first_column,
1401
+ last_column: o[o.length - 1].last_column
1402
+ }, V && (at._$.range = [
1403
+ o[o.length - (ut || 1)].range[0],
1404
+ o[o.length - 1].range[1]
1405
+ ]), it = this.performAction.apply(at, [
1406
+ s,
1407
+ R,
1408
+ E,
1409
+ st.yy,
1410
+ G[1],
1411
+ Y,
1412
+ o
1413
+ ].concat(K)), typeof it < "u")
1414
+ return it;
1415
+ ut && (b = b.slice(0, -1 * ut * 2), Y = Y.slice(0, -1 * ut), o = o.slice(0, -1 * ut)), b.push(this.productions_[G[1]][0]), Y.push(at.$), o.push(at._$), Ae = q[b[b.length - 2]][b[b.length - 1]], b.push(Ae);
1416
+ break;
1417
+ case 3:
1418
+ return !0;
1419
+ }
1420
+ }
1421
+ return !0;
1422
+ }, "parse")
1423
+ }, w = /* @__PURE__ */ function() {
1424
+ var v = {
1425
+ EOF: 1,
1426
+ parseError: /* @__PURE__ */ h(function(f, b) {
1427
+ if (this.yy.parser)
1428
+ this.yy.parser.parseError(f, b);
1429
+ else
1430
+ throw new Error(f);
1431
+ }, "parseError"),
1432
+ // resets the lexer, sets new input
1433
+ setInput: /* @__PURE__ */ h(function(u, f) {
1434
+ return this.yy = f || this.yy || {}, this._input = u, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1435
+ first_line: 1,
1436
+ first_column: 0,
1437
+ last_line: 1,
1438
+ last_column: 0
1439
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1440
+ }, "setInput"),
1441
+ // consumes and returns one char from the input
1442
+ input: /* @__PURE__ */ h(function() {
1443
+ var u = this._input[0];
1444
+ this.yytext += u, this.yyleng++, this.offset++, this.match += u, this.matched += u;
1445
+ var f = u.match(/(?:\r\n?|\n).*/g);
1446
+ return f ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), u;
1447
+ }, "input"),
1448
+ // unshifts one char (or a string) into the input
1449
+ unput: /* @__PURE__ */ h(function(u) {
1450
+ var f = u.length, b = u.split(/(?:\r\n?|\n)/g);
1451
+ this._input = u + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - f), this.offset -= f;
1452
+ var x = this.match.split(/(?:\r\n?|\n)/g);
1453
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), b.length - 1 && (this.yylineno -= b.length - 1);
1454
+ var Y = this.yylloc.range;
1455
+ return this.yylloc = {
1456
+ first_line: this.yylloc.first_line,
1457
+ last_line: this.yylineno + 1,
1458
+ first_column: this.yylloc.first_column,
1459
+ last_column: b ? (b.length === x.length ? this.yylloc.first_column : 0) + x[x.length - b.length].length - b[0].length : this.yylloc.first_column - f
1460
+ }, this.options.ranges && (this.yylloc.range = [Y[0], Y[0] + this.yyleng - f]), this.yyleng = this.yytext.length, this;
1461
+ }, "unput"),
1462
+ // When called from action, caches matched text and appends it on next action
1463
+ more: /* @__PURE__ */ h(function() {
1464
+ return this._more = !0, this;
1465
+ }, "more"),
1466
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
1467
+ reject: /* @__PURE__ */ h(function() {
1468
+ if (this.options.backtrack_lexer)
1469
+ this._backtrack = !0;
1470
+ else
1471
+ 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).
1472
+ ` + this.showPosition(), {
1473
+ text: "",
1474
+ token: null,
1475
+ line: this.yylineno
1476
+ });
1477
+ return this;
1478
+ }, "reject"),
1479
+ // retain first n characters of the match
1480
+ less: /* @__PURE__ */ h(function(u) {
1481
+ this.unput(this.match.slice(u));
1482
+ }, "less"),
1483
+ // displays already matched input, i.e. for error messages
1484
+ pastInput: /* @__PURE__ */ h(function() {
1485
+ var u = this.matched.substr(0, this.matched.length - this.match.length);
1486
+ return (u.length > 20 ? "..." : "") + u.substr(-20).replace(/\n/g, "");
1487
+ }, "pastInput"),
1488
+ // displays upcoming input, i.e. for error messages
1489
+ upcomingInput: /* @__PURE__ */ h(function() {
1490
+ var u = this.match;
1491
+ return u.length < 20 && (u += this._input.substr(0, 20 - u.length)), (u.substr(0, 20) + (u.length > 20 ? "..." : "")).replace(/\n/g, "");
1492
+ }, "upcomingInput"),
1493
+ // displays the character position where the lexing error occurred, i.e. for error messages
1494
+ showPosition: /* @__PURE__ */ h(function() {
1495
+ var u = this.pastInput(), f = new Array(u.length + 1).join("-");
1496
+ return u + this.upcomingInput() + `
1497
+ ` + f + "^";
1498
+ }, "showPosition"),
1499
+ // test the lexed token: return FALSE when not a match, otherwise return token
1500
+ test_match: /* @__PURE__ */ h(function(u, f) {
1501
+ var b, x, Y;
1502
+ if (this.options.backtrack_lexer && (Y = {
1503
+ yylineno: this.yylineno,
1504
+ yylloc: {
1505
+ first_line: this.yylloc.first_line,
1506
+ last_line: this.last_line,
1507
+ first_column: this.yylloc.first_column,
1508
+ last_column: this.yylloc.last_column
1509
+ },
1510
+ yytext: this.yytext,
1511
+ match: this.match,
1512
+ matches: this.matches,
1513
+ matched: this.matched,
1514
+ yyleng: this.yyleng,
1515
+ offset: this.offset,
1516
+ _more: this._more,
1517
+ _input: this._input,
1518
+ yy: this.yy,
1519
+ conditionStack: this.conditionStack.slice(0),
1520
+ done: this.done
1521
+ }, this.options.ranges && (Y.yylloc.range = this.yylloc.range.slice(0))), x = u[0].match(/(?:\r\n?|\n).*/g), x && (this.yylineno += x.length), this.yylloc = {
1522
+ first_line: this.yylloc.last_line,
1523
+ last_line: this.yylineno + 1,
1524
+ first_column: this.yylloc.last_column,
1525
+ last_column: x ? x[x.length - 1].length - x[x.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + u[0].length
1526
+ }, this.yytext += u[0], this.match += u[0], this.matches = u, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(u[0].length), this.matched += u[0], b = this.performAction.call(this, this.yy, this, f, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), b)
1527
+ return b;
1528
+ if (this._backtrack) {
1529
+ for (var o in Y)
1530
+ this[o] = Y[o];
1531
+ return !1;
1532
+ }
1533
+ return !1;
1534
+ }, "test_match"),
1535
+ // return next match in input
1536
+ next: /* @__PURE__ */ h(function() {
1537
+ if (this.done)
1538
+ return this.EOF;
1539
+ this._input || (this.done = !0);
1540
+ var u, f, b, x;
1541
+ this._more || (this.yytext = "", this.match = "");
1542
+ for (var Y = this._currentRules(), o = 0; o < Y.length; o++)
1543
+ if (b = this._input.match(this.rules[Y[o]]), b && (!f || b[0].length > f[0].length)) {
1544
+ if (f = b, x = o, this.options.backtrack_lexer) {
1545
+ if (u = this.test_match(b, Y[o]), u !== !1)
1546
+ return u;
1547
+ if (this._backtrack) {
1548
+ f = !1;
1549
+ continue;
1550
+ } else
1551
+ return !1;
1552
+ } else if (!this.options.flex)
1553
+ break;
1554
+ }
1555
+ return f ? (u = this.test_match(f, Y[x]), u !== !1 ? u : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
1556
+ ` + this.showPosition(), {
1557
+ text: "",
1558
+ token: null,
1559
+ line: this.yylineno
1560
+ });
1561
+ }, "next"),
1562
+ // return next match that has a token
1563
+ lex: /* @__PURE__ */ h(function() {
1564
+ var f = this.next();
1565
+ return f || this.lex();
1566
+ }, "lex"),
1567
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
1568
+ begin: /* @__PURE__ */ h(function(f) {
1569
+ this.conditionStack.push(f);
1570
+ }, "begin"),
1571
+ // pop the previously active lexer condition state off the condition stack
1572
+ popState: /* @__PURE__ */ h(function() {
1573
+ var f = this.conditionStack.length - 1;
1574
+ return f > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1575
+ }, "popState"),
1576
+ // produce the lexer rule set which is active for the currently active lexer condition state
1577
+ _currentRules: /* @__PURE__ */ h(function() {
1578
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1579
+ }, "_currentRules"),
1580
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
1581
+ topState: /* @__PURE__ */ h(function(f) {
1582
+ return f = this.conditionStack.length - 1 - Math.abs(f || 0), f >= 0 ? this.conditionStack[f] : "INITIAL";
1583
+ }, "topState"),
1584
+ // alias for begin(condition)
1585
+ pushState: /* @__PURE__ */ h(function(f) {
1586
+ this.begin(f);
1587
+ }, "pushState"),
1588
+ // return the number of states currently on the stack
1589
+ stateStackSize: /* @__PURE__ */ h(function() {
1590
+ return this.conditionStack.length;
1591
+ }, "stateStackSize"),
1592
+ options: { "case-insensitive": !0 },
1593
+ performAction: /* @__PURE__ */ h(function(f, b, x, Y) {
1594
+ switch (x) {
1595
+ case 0:
1596
+ return this.begin("open_directive"), "open_directive";
1597
+ case 1:
1598
+ return this.begin("acc_title"), 31;
1599
+ case 2:
1600
+ return this.popState(), "acc_title_value";
1601
+ case 3:
1602
+ return this.begin("acc_descr"), 33;
1603
+ case 4:
1604
+ return this.popState(), "acc_descr_value";
1605
+ case 5:
1606
+ this.begin("acc_descr_multiline");
1607
+ break;
1608
+ case 6:
1609
+ this.popState();
1610
+ break;
1611
+ case 7:
1612
+ return "acc_descr_multiline_value";
1613
+ case 8:
1614
+ break;
1615
+ case 9:
1616
+ break;
1617
+ case 10:
1618
+ break;
1619
+ case 11:
1620
+ return 10;
1621
+ case 12:
1622
+ break;
1623
+ case 13:
1624
+ break;
1625
+ case 14:
1626
+ this.begin("href");
1627
+ break;
1628
+ case 15:
1629
+ this.popState();
1630
+ break;
1631
+ case 16:
1632
+ return 43;
1633
+ case 17:
1634
+ this.begin("callbackname");
1635
+ break;
1636
+ case 18:
1637
+ this.popState();
1638
+ break;
1639
+ case 19:
1640
+ this.popState(), this.begin("callbackargs");
1641
+ break;
1642
+ case 20:
1643
+ return 41;
1644
+ case 21:
1645
+ this.popState();
1646
+ break;
1647
+ case 22:
1648
+ return 42;
1649
+ case 23:
1650
+ this.begin("click");
1651
+ break;
1652
+ case 24:
1653
+ this.popState();
1654
+ break;
1655
+ case 25:
1656
+ return 40;
1657
+ case 26:
1658
+ return 4;
1659
+ case 27:
1660
+ return 22;
1661
+ case 28:
1662
+ return 23;
1663
+ case 29:
1664
+ return 24;
1665
+ case 30:
1666
+ return 25;
1667
+ case 31:
1668
+ return 26;
1669
+ case 32:
1670
+ return 28;
1671
+ case 33:
1672
+ return 27;
1673
+ case 34:
1674
+ return 29;
1675
+ case 35:
1676
+ return 12;
1677
+ case 36:
1678
+ return 13;
1679
+ case 37:
1680
+ return 14;
1681
+ case 38:
1682
+ return 15;
1683
+ case 39:
1684
+ return 16;
1685
+ case 40:
1686
+ return 17;
1687
+ case 41:
1688
+ return 18;
1689
+ case 42:
1690
+ return 20;
1691
+ case 43:
1692
+ return 21;
1693
+ case 44:
1694
+ return "date";
1695
+ case 45:
1696
+ return 30;
1697
+ case 46:
1698
+ return "accDescription";
1699
+ case 47:
1700
+ return 36;
1701
+ case 48:
1702
+ return 38;
1703
+ case 49:
1704
+ return 39;
1705
+ case 50:
1706
+ return ":";
1707
+ case 51:
1708
+ return 6;
1709
+ case 52:
1710
+ return "INVALID";
1711
+ }
1712
+ }, "anonymous"),
1713
+ rules: [/^(?:%%\{)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:%%(?!\{)*[^\n]*)/i, /^(?:[^\}]%%*[^\n]*)/i, /^(?:%%*[^\n]*[\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:%[^\n]*)/i, /^(?:href[\s]+["])/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:call[\s]+)/i, /^(?:\([\s]*\))/i, /^(?:\()/i, /^(?:[^(]*)/i, /^(?:\))/i, /^(?:[^)]*)/i, /^(?:click[\s]+)/i, /^(?:[\s\n])/i, /^(?:[^\s\n]*)/i, /^(?:gantt\b)/i, /^(?:dateFormat\s[^#\n;]+)/i, /^(?:inclusiveEndDates\b)/i, /^(?:topAxis\b)/i, /^(?:axisFormat\s[^#\n;]+)/i, /^(?:tickInterval\s[^#\n;]+)/i, /^(?:includes\s[^#\n;]+)/i, /^(?:excludes\s[^#\n;]+)/i, /^(?:todayMarker\s[^\n;]+)/i, /^(?:weekday\s+monday\b)/i, /^(?:weekday\s+tuesday\b)/i, /^(?:weekday\s+wednesday\b)/i, /^(?:weekday\s+thursday\b)/i, /^(?:weekday\s+friday\b)/i, /^(?:weekday\s+saturday\b)/i, /^(?:weekday\s+sunday\b)/i, /^(?:weekend\s+friday\b)/i, /^(?:weekend\s+saturday\b)/i, /^(?:\d\d\d\d-\d\d-\d\d\b)/i, /^(?:title\s[^\n]+)/i, /^(?:accDescription\s[^#\n;]+)/i, /^(?:section\s[^\n]+)/i, /^(?:[^:\n]+)/i, /^(?::[^#\n;]+)/i, /^(?::)/i, /^(?:$)/i, /^(?:.)/i],
1714
+ conditions: { acc_descr_multiline: { rules: [6, 7], inclusive: !1 }, acc_descr: { rules: [4], inclusive: !1 }, acc_title: { rules: [2], inclusive: !1 }, callbackargs: { rules: [21, 22], inclusive: !1 }, callbackname: { rules: [18, 19, 20], inclusive: !1 }, href: { rules: [15, 16], inclusive: !1 }, click: { rules: [24, 25], inclusive: !1 }, INITIAL: { rules: [0, 1, 3, 5, 8, 9, 10, 11, 12, 13, 14, 17, 23, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], inclusive: !0 } }
1715
+ };
1716
+ return v;
1717
+ }();
1718
+ M.lexer = w;
1719
+ function T() {
1720
+ this.yy = {};
1721
+ }
1722
+ return h(T, "Parser"), T.prototype = M, M.Parser = T, new T();
1723
+ }();
1724
+ ve.parser = ve;
1725
+ var Oi = ve;
1726
+ rt.extend(Ui);
1727
+ rt.extend(Ii);
1728
+ rt.extend(Ai);
1729
+ var Ge = { friday: 5, saturday: 6 }, lt = "", De = "", Ce = void 0, Se = "", Vt = [], zt = [], _e = /* @__PURE__ */ new Map(), Ye = [], te = [], It = "", Fe = "", Dn = ["active", "done", "crit", "milestone", "vert"], Ue = [], Rt = !1, Ee = !1, Ie = "sunday", ee = "saturday", Te = 0, Hi = /* @__PURE__ */ h(function() {
1730
+ Ye = [], te = [], It = "", Ue = [], Gt = 0, xe = void 0, jt = void 0, tt = [], lt = "", De = "", Fe = "", Ce = void 0, Se = "", Vt = [], zt = [], Rt = !1, Ee = !1, Te = 0, _e = /* @__PURE__ */ new Map(), Rn(), Ie = "sunday", ee = "saturday";
1731
+ }, "clear"), Ni = /* @__PURE__ */ h(function(t) {
1732
+ De = t;
1733
+ }, "setAxisFormat"), Pi = /* @__PURE__ */ h(function() {
1734
+ return De;
1735
+ }, "getAxisFormat"), Vi = /* @__PURE__ */ h(function(t) {
1736
+ Ce = t;
1737
+ }, "setTickInterval"), zi = /* @__PURE__ */ h(function() {
1738
+ return Ce;
1739
+ }, "getTickInterval"), Ri = /* @__PURE__ */ h(function(t) {
1740
+ Se = t;
1741
+ }, "setTodayMarker"), Zi = /* @__PURE__ */ h(function() {
1742
+ return Se;
1743
+ }, "getTodayMarker"), Bi = /* @__PURE__ */ h(function(t) {
1744
+ lt = t;
1745
+ }, "setDateFormat"), Xi = /* @__PURE__ */ h(function() {
1746
+ Rt = !0;
1747
+ }, "enableInclusiveEndDates"), qi = /* @__PURE__ */ h(function() {
1748
+ return Rt;
1749
+ }, "endDatesAreInclusive"), Gi = /* @__PURE__ */ h(function() {
1750
+ Ee = !0;
1751
+ }, "enableTopAxis"), ji = /* @__PURE__ */ h(function() {
1752
+ return Ee;
1753
+ }, "topAxisEnabled"), Qi = /* @__PURE__ */ h(function(t) {
1754
+ Fe = t;
1755
+ }, "setDisplayMode"), Ji = /* @__PURE__ */ h(function() {
1756
+ return Fe;
1757
+ }, "getDisplayMode"), Ki = /* @__PURE__ */ h(function() {
1758
+ return lt;
1759
+ }, "getDateFormat"), ts = /* @__PURE__ */ h(function(t) {
1760
+ Vt = t.toLowerCase().split(/[\s,]+/);
1761
+ }, "setIncludes"), es = /* @__PURE__ */ h(function() {
1762
+ return Vt;
1763
+ }, "getIncludes"), ns = /* @__PURE__ */ h(function(t) {
1764
+ zt = t.toLowerCase().split(/[\s,]+/);
1765
+ }, "setExcludes"), rs = /* @__PURE__ */ h(function() {
1766
+ return zt;
1767
+ }, "getExcludes"), is = /* @__PURE__ */ h(function() {
1768
+ return _e;
1769
+ }, "getLinks"), ss = /* @__PURE__ */ h(function(t) {
1770
+ It = t, Ye.push(t);
1771
+ }, "addSection"), as = /* @__PURE__ */ h(function() {
1772
+ return Ye;
1773
+ }, "getSections"), os = /* @__PURE__ */ h(function() {
1774
+ let t = je();
1775
+ const e = 10;
1776
+ let n = 0;
1777
+ for (; !t && n < e; )
1778
+ t = je(), n++;
1779
+ return te = tt, te;
1780
+ }, "getTasks"), Cn = /* @__PURE__ */ h(function(t, e, n, r) {
1781
+ const i = t.format(e.trim()), a = t.format("YYYY-MM-DD");
1782
+ return r.includes(i) || r.includes(a) ? !1 : n.includes("weekends") && (t.isoWeekday() === Ge[ee] || t.isoWeekday() === Ge[ee] + 1) || n.includes(t.format("dddd").toLowerCase()) ? !0 : n.includes(i) || n.includes(a);
1783
+ }, "isInvalidDate"), cs = /* @__PURE__ */ h(function(t) {
1784
+ Ie = t;
1785
+ }, "setWeekday"), us = /* @__PURE__ */ h(function() {
1786
+ return Ie;
1787
+ }, "getWeekday"), ls = /* @__PURE__ */ h(function(t) {
1788
+ ee = t;
1789
+ }, "setWeekend"), Sn = /* @__PURE__ */ h(function(t, e, n, r) {
1790
+ if (!n.length || t.manualEndTime)
1791
+ return;
1792
+ let i;
1793
+ t.startTime instanceof Date ? i = rt(t.startTime) : i = rt(t.startTime, e, !0), i = i.add(1, "d");
1794
+ let a;
1795
+ t.endTime instanceof Date ? a = rt(t.endTime) : a = rt(t.endTime, e, !0);
1796
+ const [c, m] = fs(
1797
+ i,
1798
+ a,
1799
+ e,
1800
+ n,
1801
+ r
1802
+ );
1803
+ t.endTime = c.toDate(), t.renderEndTime = m;
1804
+ }, "checkTaskDates"), fs = /* @__PURE__ */ h(function(t, e, n, r, i) {
1805
+ let a = !1, c = null;
1806
+ for (; t <= e; )
1807
+ a || (c = e.toDate()), a = Cn(t, n, r, i), a && (e = e.add(1, "d")), t = t.add(1, "d");
1808
+ return [e, c];
1809
+ }, "fixTaskDates"), be = /* @__PURE__ */ h(function(t, e, n) {
1810
+ if (n = n.trim(), (/* @__PURE__ */ h((m) => {
1811
+ const F = m.trim();
1812
+ return F === "x" || F === "X";
1813
+ }, "isTimestampFormat"))(e) && /^\d+$/.test(n))
1814
+ return new Date(Number(n));
1815
+ const a = /^after\s+(?<ids>[\d\w- ]+)/.exec(n);
1816
+ if (a !== null) {
1817
+ let m = null;
1818
+ for (const C of a.groups.ids.split(" ")) {
1819
+ let k = Ct(C);
1820
+ k !== void 0 && (!m || k.endTime > m.endTime) && (m = k);
1821
+ }
1822
+ if (m)
1823
+ return m.endTime;
1824
+ const F = /* @__PURE__ */ new Date();
1825
+ return F.setHours(0, 0, 0, 0), F;
1826
+ }
1827
+ let c = rt(n, e.trim(), !0);
1828
+ if (c.isValid())
1829
+ return c.toDate();
1830
+ {
1831
+ Tt.debug("Invalid date:" + n), Tt.debug("With date format:" + e.trim());
1832
+ const m = new Date(n);
1833
+ if (m === void 0 || isNaN(m.getTime()) || // WebKit browsers can mis-parse invalid dates to be ridiculously
1834
+ // huge numbers, e.g. new Date('202304') gets parsed as January 1, 202304.
1835
+ // This can cause virtually infinite loops while rendering, so for the
1836
+ // purposes of Gantt charts we'll just treat any date beyond 10,000 AD/BC as
1837
+ // invalid.
1838
+ m.getFullYear() < -1e4 || m.getFullYear() > 1e4)
1839
+ throw new Error("Invalid date:" + n);
1840
+ return m;
1841
+ }
1842
+ }, "getStartDate"), _n = /* @__PURE__ */ h(function(t) {
1843
+ const e = /^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());
1844
+ return e !== null ? [Number.parseFloat(e[1]), e[2]] : [NaN, "ms"];
1845
+ }, "parseDuration"), Yn = /* @__PURE__ */ h(function(t, e, n, r = !1) {
1846
+ n = n.trim();
1847
+ const a = /^until\s+(?<ids>[\d\w- ]+)/.exec(n);
1848
+ if (a !== null) {
1849
+ let k = null;
1850
+ for (const _ of a.groups.ids.split(" ")) {
1851
+ let S = Ct(_);
1852
+ S !== void 0 && (!k || S.startTime < k.startTime) && (k = S);
1853
+ }
1854
+ if (k)
1855
+ return k.startTime;
1856
+ const L = /* @__PURE__ */ new Date();
1857
+ return L.setHours(0, 0, 0, 0), L;
1858
+ }
1859
+ let c = rt(n, e.trim(), !0);
1860
+ if (c.isValid())
1861
+ return r && (c = c.add(1, "d")), c.toDate();
1862
+ let m = rt(t);
1863
+ const [F, C] = _n(n);
1864
+ if (!Number.isNaN(F)) {
1865
+ const k = m.add(F, C);
1866
+ k.isValid() && (m = k);
1867
+ }
1868
+ return m.toDate();
1869
+ }, "getEndDate"), Gt = 0, Ft = /* @__PURE__ */ h(function(t) {
1870
+ return t === void 0 ? (Gt = Gt + 1, "task" + Gt) : t;
1871
+ }, "parseId"), hs = /* @__PURE__ */ h(function(t, e) {
1872
+ let n;
1873
+ e.substr(0, 1) === ":" ? n = e.substr(1, e.length) : n = e;
1874
+ const r = n.split(","), i = {};
1875
+ Le(r, i, Dn);
1876
+ for (let c = 0; c < r.length; c++)
1877
+ r[c] = r[c].trim();
1878
+ let a = "";
1879
+ switch (r.length) {
1880
+ case 1:
1881
+ i.id = Ft(), i.startTime = t.endTime, a = r[0];
1882
+ break;
1883
+ case 2:
1884
+ i.id = Ft(), i.startTime = be(void 0, lt, r[0]), a = r[1];
1885
+ break;
1886
+ case 3:
1887
+ i.id = Ft(r[0]), i.startTime = be(void 0, lt, r[1]), a = r[2];
1888
+ break;
1889
+ }
1890
+ return a && (i.endTime = Yn(i.startTime, lt, a, Rt), i.manualEndTime = rt(a, "YYYY-MM-DD", !0).isValid(), Sn(i, lt, zt, Vt)), i;
1891
+ }, "compileData"), ds = /* @__PURE__ */ h(function(t, e) {
1892
+ let n;
1893
+ e.substr(0, 1) === ":" ? n = e.substr(1, e.length) : n = e;
1894
+ const r = n.split(","), i = {};
1895
+ Le(r, i, Dn);
1896
+ for (let a = 0; a < r.length; a++)
1897
+ r[a] = r[a].trim();
1898
+ switch (r.length) {
1899
+ case 1:
1900
+ i.id = Ft(), i.startTime = {
1901
+ type: "prevTaskEnd",
1902
+ id: t
1903
+ }, i.endTime = {
1904
+ data: r[0]
1905
+ };
1906
+ break;
1907
+ case 2:
1908
+ i.id = Ft(), i.startTime = {
1909
+ type: "getStartDate",
1910
+ startData: r[0]
1911
+ }, i.endTime = {
1912
+ data: r[1]
1913
+ };
1914
+ break;
1915
+ case 3:
1916
+ i.id = Ft(r[0]), i.startTime = {
1917
+ type: "getStartDate",
1918
+ startData: r[1]
1919
+ }, i.endTime = {
1920
+ data: r[2]
1921
+ };
1922
+ break;
1923
+ }
1924
+ return i;
1925
+ }, "parseData"), xe, jt, tt = [], Fn = {}, ms = /* @__PURE__ */ h(function(t, e) {
1926
+ const n = {
1927
+ section: It,
1928
+ type: It,
1929
+ processed: !1,
1930
+ manualEndTime: !1,
1931
+ renderEndTime: null,
1932
+ raw: { data: e },
1933
+ task: t,
1934
+ classes: []
1935
+ }, r = ds(jt, e);
1936
+ n.raw.startTime = r.startTime, n.raw.endTime = r.endTime, n.id = r.id, n.prevTaskId = jt, n.active = r.active, n.done = r.done, n.crit = r.crit, n.milestone = r.milestone, n.vert = r.vert, n.order = Te, Te++;
1937
+ const i = tt.push(n);
1938
+ jt = n.id, Fn[n.id] = i - 1;
1939
+ }, "addTask"), Ct = /* @__PURE__ */ h(function(t) {
1940
+ const e = Fn[t];
1941
+ return tt[e];
1942
+ }, "findTaskById"), gs = /* @__PURE__ */ h(function(t, e) {
1943
+ const n = {
1944
+ section: It,
1945
+ type: It,
1946
+ description: t,
1947
+ task: t,
1948
+ classes: []
1949
+ }, r = hs(xe, e);
1950
+ 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, xe = n, te.push(n);
1951
+ }, "addTaskOrg"), je = /* @__PURE__ */ h(function() {
1952
+ const t = /* @__PURE__ */ h(function(n) {
1953
+ const r = tt[n];
1954
+ let i = "";
1955
+ switch (tt[n].raw.startTime.type) {
1956
+ case "prevTaskEnd": {
1957
+ const a = Ct(r.prevTaskId);
1958
+ r.startTime = a.endTime;
1959
+ break;
1960
+ }
1961
+ case "getStartDate":
1962
+ i = be(void 0, lt, tt[n].raw.startTime.startData), i && (tt[n].startTime = i);
1963
+ break;
1964
+ }
1965
+ return tt[n].startTime && (tt[n].endTime = Yn(
1966
+ tt[n].startTime,
1967
+ lt,
1968
+ tt[n].raw.endTime.data,
1969
+ Rt
1970
+ ), tt[n].endTime && (tt[n].processed = !0, tt[n].manualEndTime = rt(
1971
+ tt[n].raw.endTime.data,
1972
+ "YYYY-MM-DD",
1973
+ !0
1974
+ ).isValid(), Sn(tt[n], lt, zt, Vt))), tt[n].processed;
1975
+ }, "compileTask");
1976
+ let e = !0;
1977
+ for (const [n, r] of tt.entries())
1978
+ t(n), e = e && r.processed;
1979
+ return e;
1980
+ }, "compileTasks"), ys = /* @__PURE__ */ h(function(t, e) {
1981
+ let n = e;
1982
+ _t().securityLevel !== "loose" && (n = zn(e)), t.split(",").forEach(function(r) {
1983
+ Ct(r) !== void 0 && (En(r, () => {
1984
+ window.open(n, "_self");
1985
+ }), _e.set(r, n));
1986
+ }), Un(t, "clickable");
1987
+ }, "setLink"), Un = /* @__PURE__ */ h(function(t, e) {
1988
+ t.split(",").forEach(function(n) {
1989
+ let r = Ct(n);
1990
+ r !== void 0 && r.classes.push(e);
1991
+ });
1992
+ }, "setClass"), ks = /* @__PURE__ */ h(function(t, e, n) {
1993
+ if (_t().securityLevel !== "loose" || e === void 0)
1994
+ return;
1995
+ let r = [];
1996
+ if (typeof n == "string") {
1997
+ r = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
1998
+ for (let a = 0; a < r.length; a++) {
1999
+ let c = r[a].trim();
2000
+ c.startsWith('"') && c.endsWith('"') && (c = c.substr(1, c.length - 2)), r[a] = c;
2001
+ }
2002
+ }
2003
+ r.length === 0 && r.push(t), Ct(t) !== void 0 && En(t, () => {
2004
+ Zn.runFunc(e, ...r);
2005
+ });
2006
+ }, "setClickFun"), En = /* @__PURE__ */ h(function(t, e) {
2007
+ Ue.push(
2008
+ function() {
2009
+ const n = document.querySelector(`[id="${t}"]`);
2010
+ n !== null && n.addEventListener("click", function() {
2011
+ e();
2012
+ });
2013
+ },
2014
+ function() {
2015
+ const n = document.querySelector(`[id="${t}-text"]`);
2016
+ n !== null && n.addEventListener("click", function() {
2017
+ e();
2018
+ });
2019
+ }
2020
+ );
2021
+ }, "pushFun"), ps = /* @__PURE__ */ h(function(t, e, n) {
2022
+ t.split(",").forEach(function(r) {
2023
+ ks(r, e, n);
2024
+ }), Un(t, "clickable");
2025
+ }, "setClickEvent"), vs = /* @__PURE__ */ h(function(t) {
2026
+ Ue.forEach(function(e) {
2027
+ e(t);
2028
+ });
2029
+ }, "bindFunctions"), Ts = {
2030
+ getConfig: /* @__PURE__ */ h(() => _t().gantt, "getConfig"),
2031
+ clear: Hi,
2032
+ setDateFormat: Bi,
2033
+ getDateFormat: Ki,
2034
+ enableInclusiveEndDates: Xi,
2035
+ endDatesAreInclusive: qi,
2036
+ enableTopAxis: Gi,
2037
+ topAxisEnabled: ji,
2038
+ setAxisFormat: Ni,
2039
+ getAxisFormat: Pi,
2040
+ setTickInterval: Vi,
2041
+ getTickInterval: zi,
2042
+ setTodayMarker: Ri,
2043
+ getTodayMarker: Zi,
2044
+ setAccTitle: Nn,
2045
+ getAccTitle: Hn,
2046
+ setDiagramTitle: On,
2047
+ getDiagramTitle: $n,
2048
+ setDisplayMode: Qi,
2049
+ getDisplayMode: Ji,
2050
+ setAccDescription: Wn,
2051
+ getAccDescription: An,
2052
+ addSection: ss,
2053
+ getSections: as,
2054
+ getTasks: os,
2055
+ addTask: ms,
2056
+ findTaskById: Ct,
2057
+ addTaskOrg: gs,
2058
+ setIncludes: ts,
2059
+ getIncludes: es,
2060
+ setExcludes: ns,
2061
+ getExcludes: rs,
2062
+ setClickEvent: ps,
2063
+ setLink: ys,
2064
+ getLinks: is,
2065
+ bindFunctions: vs,
2066
+ parseDuration: _n,
2067
+ isInvalidDate: Cn,
2068
+ setWeekday: cs,
2069
+ getWeekday: us,
2070
+ setWeekend: ls
2071
+ };
2072
+ function Le(t, e, n) {
2073
+ let r = !0;
2074
+ for (; r; )
2075
+ r = !1, n.forEach(function(i) {
2076
+ const a = "^\\s*" + i + "\\s*$", c = new RegExp(a);
2077
+ t[0].match(c) && (e[i] = !0, t.shift(1), r = !0);
2078
+ });
2079
+ }
2080
+ h(Le, "getTaskTags");
2081
+ rt.extend($i);
2082
+ var bs = /* @__PURE__ */ h(function() {
2083
+ Tt.debug("Something is calling, setConf, remove the call");
2084
+ }, "setConf"), Qe = {
2085
+ monday: Ht,
2086
+ tuesday: fn,
2087
+ wednesday: hn,
2088
+ thursday: xt,
2089
+ friday: dn,
2090
+ saturday: mn,
2091
+ sunday: Pt
2092
+ }, xs = /* @__PURE__ */ h((t, e) => {
2093
+ let n = [...t].map(() => -1 / 0), r = [...t].sort((a, c) => a.startTime - c.startTime || a.order - c.order), i = 0;
2094
+ for (const a of r)
2095
+ for (let c = 0; c < n.length; c++)
2096
+ if (a.startTime >= n[c]) {
2097
+ n[c] = a.endTime, a.order = c + e, c > i && (i = c);
2098
+ break;
2099
+ }
2100
+ return i;
2101
+ }, "getMaxIntersections"), ht, ye = 1e4, ws = /* @__PURE__ */ h(function(t, e, n, r) {
2102
+ const i = _t().gantt, a = _t().securityLevel;
2103
+ let c;
2104
+ a === "sandbox" && (c = Bt("#i" + e));
2105
+ const m = a === "sandbox" ? Bt(c.nodes()[0].contentDocument.body) : Bt("body"), F = a === "sandbox" ? c.nodes()[0].contentDocument : document, C = F.getElementById(e);
2106
+ ht = C.parentElement.offsetWidth, ht === void 0 && (ht = 1200), i.useWidth !== void 0 && (ht = i.useWidth);
2107
+ const k = r.db.getTasks();
2108
+ let L = [];
2109
+ for (const d of k)
2110
+ L.push(d.type);
2111
+ L = y(L);
2112
+ const _ = {};
2113
+ let S = 2 * i.topPadding;
2114
+ if (r.db.getDisplayMode() === "compact" || i.displayMode === "compact") {
2115
+ const d = {};
2116
+ for (const w of k)
2117
+ d[w.section] === void 0 ? d[w.section] = [w] : d[w.section].push(w);
2118
+ let M = 0;
2119
+ for (const w of Object.keys(d)) {
2120
+ const T = xs(d[w], M) + 1;
2121
+ M += T, S += T * (i.barHeight + i.barGap), _[w] = T;
2122
+ }
2123
+ } else {
2124
+ S += k.length * (i.barHeight + i.barGap);
2125
+ for (const d of L)
2126
+ _[d] = k.filter((M) => M.type === d).length;
2127
+ }
2128
+ C.setAttribute("viewBox", "0 0 " + ht + " " + S);
2129
+ const B = m.select(`[id="${e}"]`), A = Yi().domain([
2130
+ Jn(k, function(d) {
2131
+ return d.startTime;
2132
+ }),
2133
+ Qn(k, function(d) {
2134
+ return d.endTime;
2135
+ })
2136
+ ]).rangeRound([0, ht - i.leftPadding - i.rightPadding]);
2137
+ function U(d, M) {
2138
+ const w = d.startTime, T = M.startTime;
2139
+ let v = 0;
2140
+ return w > T ? v = 1 : w < T && (v = -1), v;
2141
+ }
2142
+ h(U, "taskCompare"), k.sort(U), I(k, ht, S), Pn(B, S, ht, i.useMaxWidth), B.append("text").text(r.db.getDiagramTitle()).attr("x", ht / 2).attr("y", i.titleTopMargin).attr("class", "titleText");
2143
+ function I(d, M, w) {
2144
+ const T = i.barHeight, v = T + i.barGap, u = i.topPadding, f = i.leftPadding, b = Gn().domain([0, L.length]).range(["#00B9FA", "#F95002"]).interpolate(dr);
2145
+ W(
2146
+ v,
2147
+ u,
2148
+ f,
2149
+ M,
2150
+ w,
2151
+ d,
2152
+ r.db.getExcludes(),
2153
+ r.db.getIncludes()
2154
+ ), j(f, u, M, w), N(d, v, u, f, T, b, M), p(v, u), g(f, u, M, w);
2155
+ }
2156
+ h(I, "makeGantt");
2157
+ function N(d, M, w, T, v, u, f) {
2158
+ d.sort((s, E) => s.vert === E.vert ? 0 : s.vert ? 1 : -1);
2159
+ const x = [...new Set(d.map((s) => s.order))].map((s) => d.find((E) => E.order === s));
2160
+ B.append("g").selectAll("rect").data(x).enter().append("rect").attr("x", 0).attr("y", function(s, E) {
2161
+ return E = s.order, E * M + w - 2;
2162
+ }).attr("width", function() {
2163
+ return f - i.rightPadding / 2;
2164
+ }).attr("height", M).attr("class", function(s) {
2165
+ for (const [E, R] of L.entries())
2166
+ if (s.type === R)
2167
+ return "section section" + E % i.numberSectionStyles;
2168
+ return "section section0";
2169
+ }).enter();
2170
+ const Y = B.append("g").selectAll("rect").data(d).enter(), o = r.db.getLinks();
2171
+ if (Y.append("rect").attr("id", function(s) {
2172
+ return s.id;
2173
+ }).attr("rx", 3).attr("ry", 3).attr("x", function(s) {
2174
+ return s.milestone ? A(s.startTime) + T + 0.5 * (A(s.endTime) - A(s.startTime)) - 0.5 * v : A(s.startTime) + T;
2175
+ }).attr("y", function(s, E) {
2176
+ return E = s.order, s.vert ? i.gridLineStartPadding : E * M + w;
2177
+ }).attr("width", function(s) {
2178
+ return s.milestone ? v : s.vert ? 0.08 * v : A(s.renderEndTime || s.endTime) - A(s.startTime);
2179
+ }).attr("height", function(s) {
2180
+ return s.vert ? k.length * (i.barHeight + i.barGap) + i.barHeight * 2 : v;
2181
+ }).attr("transform-origin", function(s, E) {
2182
+ return E = s.order, (A(s.startTime) + T + 0.5 * (A(s.endTime) - A(s.startTime))).toString() + "px " + (E * M + w + 0.5 * v).toString() + "px";
2183
+ }).attr("class", function(s) {
2184
+ const E = "task";
2185
+ let R = "";
2186
+ s.classes.length > 0 && (R = s.classes.join(" "));
2187
+ let z = 0;
2188
+ for (const [K, O] of L.entries())
2189
+ s.type === O && (z = K % i.numberSectionStyles);
2190
+ let P = "";
2191
+ return s.active ? s.crit ? P += " activeCrit" : P = " active" : s.done ? s.crit ? P = " doneCrit" : P = " done" : s.crit && (P += " crit"), P.length === 0 && (P = " task"), s.milestone && (P = " milestone " + P), s.vert && (P = " vert " + P), P += z, P += " " + R, E + P;
2192
+ }), Y.append("text").attr("id", function(s) {
2193
+ return s.id + "-text";
2194
+ }).text(function(s) {
2195
+ return s.task;
2196
+ }).attr("font-size", i.fontSize).attr("x", function(s) {
2197
+ let E = A(s.startTime), R = A(s.renderEndTime || s.endTime);
2198
+ if (s.milestone && (E += 0.5 * (A(s.endTime) - A(s.startTime)) - 0.5 * v, R = E + v), s.vert)
2199
+ return A(s.startTime) + T;
2200
+ const z = this.getBBox().width;
2201
+ return z > R - E ? R + z + 1.5 * i.leftPadding > f ? E + T - 5 : R + T + 5 : (R - E) / 2 + E + T;
2202
+ }).attr("y", function(s, E) {
2203
+ return s.vert ? i.gridLineStartPadding + k.length * (i.barHeight + i.barGap) + 60 : (E = s.order, E * M + i.barHeight / 2 + (i.fontSize / 2 - 2) + w);
2204
+ }).attr("text-height", v).attr("class", function(s) {
2205
+ const E = A(s.startTime);
2206
+ let R = A(s.endTime);
2207
+ s.milestone && (R = E + v);
2208
+ const z = this.getBBox().width;
2209
+ let P = "";
2210
+ s.classes.length > 0 && (P = s.classes.join(" "));
2211
+ let K = 0;
2212
+ for (const [st, D] of L.entries())
2213
+ s.type === D && (K = st % i.numberSectionStyles);
2214
+ let O = "";
2215
+ return s.active && (s.crit ? O = "activeCritText" + K : O = "activeText" + K), s.done ? s.crit ? O = O + " doneCritText" + K : O = O + " doneText" + K : s.crit && (O = O + " critText" + K), s.milestone && (O += " milestoneText"), s.vert && (O += " vertText"), z > R - E ? R + z + 1.5 * i.leftPadding > f ? P + " taskTextOutsideLeft taskTextOutside" + K + " " + O : P + " taskTextOutsideRight taskTextOutside" + K + " " + O + " width-" + z : P + " taskText taskText" + K + " " + O + " width-" + z;
2216
+ }), _t().securityLevel === "sandbox") {
2217
+ let s;
2218
+ s = Bt("#i" + e);
2219
+ const E = s.nodes()[0].contentDocument;
2220
+ Y.filter(function(R) {
2221
+ return o.has(R.id);
2222
+ }).each(function(R) {
2223
+ var z = E.querySelector("#" + R.id), P = E.querySelector("#" + R.id + "-text");
2224
+ const K = z.parentNode;
2225
+ var O = E.createElement("a");
2226
+ O.setAttribute("xlink:href", o.get(R.id)), O.setAttribute("target", "_top"), K.appendChild(O), O.appendChild(z), O.appendChild(P);
2227
+ });
2228
+ }
2229
+ }
2230
+ h(N, "drawRects");
2231
+ function W(d, M, w, T, v, u, f, b) {
2232
+ if (f.length === 0 && b.length === 0)
2233
+ return;
2234
+ let x, Y;
2235
+ for (const { startTime: z, endTime: P } of u)
2236
+ (x === void 0 || z < x) && (x = z), (Y === void 0 || P > Y) && (Y = P);
2237
+ if (!x || !Y)
2238
+ return;
2239
+ if (rt(Y).diff(rt(x), "year") > 5) {
2240
+ Tt.warn(
2241
+ "The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days."
2242
+ );
2243
+ return;
2244
+ }
2245
+ const o = r.db.getDateFormat(), q = [];
2246
+ let s = null, E = rt(x);
2247
+ for (; E.valueOf() <= Y; )
2248
+ r.db.isInvalidDate(E, o, f, b) ? s ? s.end = E : s = {
2249
+ start: E,
2250
+ end: E
2251
+ } : s && (q.push(s), s = null), E = E.add(1, "d");
2252
+ B.append("g").selectAll("rect").data(q).enter().append("rect").attr("id", (z) => "exclude-" + z.start.format("YYYY-MM-DD")).attr("x", (z) => A(z.start.startOf("day")) + w).attr("y", i.gridLineStartPadding).attr("width", (z) => A(z.end.endOf("day")) - A(z.start.startOf("day"))).attr("height", v - M - i.gridLineStartPadding).attr("transform-origin", function(z, P) {
2253
+ return (A(z.start) + w + 0.5 * (A(z.end) - A(z.start))).toString() + "px " + (P * d + 0.5 * v).toString() + "px";
2254
+ }).attr("class", "exclude-range");
2255
+ }
2256
+ h(W, "drawExcludeDays");
2257
+ function Z(d, M, w, T) {
2258
+ if (w <= 0 || d > M)
2259
+ return 1 / 0;
2260
+ const v = M - d, u = rt.duration({ [T ?? "day"]: w }).asMilliseconds();
2261
+ return u <= 0 ? 1 / 0 : Math.ceil(v / u);
2262
+ }
2263
+ h(Z, "getEstimatedTickCount");
2264
+ function j(d, M, w, T) {
2265
+ const v = r.db.getDateFormat(), u = r.db.getAxisFormat();
2266
+ let f;
2267
+ u ? f = u : v === "D" ? f = "%d" : f = i.axisFormat ?? "%Y-%m-%d";
2268
+ let b = ar(A).tickSize(-T + M + i.gridLineStartPadding).tickFormat(Kt(f));
2269
+ const Y = /^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(
2270
+ r.db.getTickInterval() || i.tickInterval
2271
+ );
2272
+ if (Y !== null) {
2273
+ const o = parseInt(Y[1], 10);
2274
+ if (isNaN(o) || o <= 0)
2275
+ Tt.warn(
2276
+ `Invalid tick interval value: "${Y[1]}". Skipping custom tick interval.`
2277
+ );
2278
+ else {
2279
+ const q = Y[2], s = r.db.getWeekday() || i.weekday, E = A.domain(), R = E[0], z = E[1], P = Z(R, z, o, q);
2280
+ if (P > ye)
2281
+ Tt.warn(
2282
+ `The tick interval "${o}${q}" would generate ${P} ticks, which exceeds the maximum allowed (${ye}). This may indicate an invalid date or time range. Skipping custom tick interval.`
2283
+ );
2284
+ else
2285
+ switch (q) {
2286
+ case "millisecond":
2287
+ b.ticks(Ut.every(o));
2288
+ break;
2289
+ case "second":
2290
+ b.ticks(vt.every(o));
2291
+ break;
2292
+ case "minute":
2293
+ b.ticks($t.every(o));
2294
+ break;
2295
+ case "hour":
2296
+ b.ticks(Ot.every(o));
2297
+ break;
2298
+ case "day":
2299
+ b.ticks(bt.every(o));
2300
+ break;
2301
+ case "week":
2302
+ b.ticks(Qe[s].every(o));
2303
+ break;
2304
+ case "month":
2305
+ b.ticks(Nt.every(o));
2306
+ break;
2307
+ }
2308
+ }
2309
+ }
2310
+ if (B.append("g").attr("class", "grid").attr("transform", "translate(" + d + ", " + (T - 50) + ")").call(b).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em"), r.db.topAxisEnabled() || i.topAxis) {
2311
+ let o = sr(A).tickSize(-T + M + i.gridLineStartPadding).tickFormat(Kt(f));
2312
+ if (Y !== null) {
2313
+ const q = parseInt(Y[1], 10);
2314
+ if (isNaN(q) || q <= 0)
2315
+ Tt.warn(
2316
+ `Invalid tick interval value: "${Y[1]}". Skipping custom tick interval.`
2317
+ );
2318
+ else {
2319
+ const s = Y[2], E = r.db.getWeekday() || i.weekday, R = A.domain(), z = R[0], P = R[1];
2320
+ if (Z(z, P, q, s) <= ye)
2321
+ switch (s) {
2322
+ case "millisecond":
2323
+ o.ticks(Ut.every(q));
2324
+ break;
2325
+ case "second":
2326
+ o.ticks(vt.every(q));
2327
+ break;
2328
+ case "minute":
2329
+ o.ticks($t.every(q));
2330
+ break;
2331
+ case "hour":
2332
+ o.ticks(Ot.every(q));
2333
+ break;
2334
+ case "day":
2335
+ o.ticks(bt.every(q));
2336
+ break;
2337
+ case "week":
2338
+ o.ticks(Qe[E].every(q));
2339
+ break;
2340
+ case "month":
2341
+ o.ticks(Nt.every(q));
2342
+ break;
2343
+ }
2344
+ }
2345
+ }
2346
+ B.append("g").attr("class", "grid").attr("transform", "translate(" + d + ", " + M + ")").call(o).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10);
2347
+ }
2348
+ }
2349
+ h(j, "makeGrid");
2350
+ function p(d, M) {
2351
+ let w = 0;
2352
+ const T = Object.keys(_).map((v) => [v, _[v]]);
2353
+ B.append("g").selectAll("text").data(T).enter().append(function(v) {
2354
+ const u = v[0].split(Vn.lineBreakRegex), f = -(u.length - 1) / 2, b = F.createElementNS("http://www.w3.org/2000/svg", "text");
2355
+ b.setAttribute("dy", f + "em");
2356
+ for (const [x, Y] of u.entries()) {
2357
+ const o = F.createElementNS("http://www.w3.org/2000/svg", "tspan");
2358
+ o.setAttribute("alignment-baseline", "central"), o.setAttribute("x", "10"), x > 0 && o.setAttribute("dy", "1em"), o.textContent = Y, b.appendChild(o);
2359
+ }
2360
+ return b;
2361
+ }).attr("x", 10).attr("y", function(v, u) {
2362
+ if (u > 0)
2363
+ for (let f = 0; f < u; f++)
2364
+ return w += T[u - 1][1], v[1] * d / 2 + w * d + M;
2365
+ else
2366
+ return v[1] * d / 2 + M;
2367
+ }).attr("font-size", i.sectionFontSize).attr("class", function(v) {
2368
+ for (const [u, f] of L.entries())
2369
+ if (v[0] === f)
2370
+ return "sectionTitle sectionTitle" + u % i.numberSectionStyles;
2371
+ return "sectionTitle";
2372
+ });
2373
+ }
2374
+ h(p, "vertLabels");
2375
+ function g(d, M, w, T) {
2376
+ const v = r.db.getTodayMarker();
2377
+ if (v === "off")
2378
+ return;
2379
+ const u = B.append("g").attr("class", "today"), f = /* @__PURE__ */ new Date(), b = u.append("line");
2380
+ b.attr("x1", A(f) + d).attr("x2", A(f) + d).attr("y1", i.titleTopMargin).attr("y2", T - i.titleTopMargin).attr("class", "today"), v !== "" && b.attr("style", v.replace(/,/g, ";"));
2381
+ }
2382
+ h(g, "drawToday");
2383
+ function y(d) {
2384
+ const M = {}, w = [];
2385
+ for (let T = 0, v = d.length; T < v; ++T)
2386
+ Object.prototype.hasOwnProperty.call(M, d[T]) || (M[d[T]] = !0, w.push(d[T]));
2387
+ return w;
2388
+ }
2389
+ h(y, "checkUnique");
2390
+ }, "draw"), Ms = {
2391
+ setConf: bs,
2392
+ draw: ws
2393
+ }, Ds = /* @__PURE__ */ h((t) => `
2394
+ .mermaid-main-font {
2395
+ font-family: ${t.fontFamily};
2396
+ }
2397
+
2398
+ .exclude-range {
2399
+ fill: ${t.excludeBkgColor};
2400
+ }
2401
+
2402
+ .section {
2403
+ stroke: none;
2404
+ opacity: 0.2;
2405
+ }
2406
+
2407
+ .section0 {
2408
+ fill: ${t.sectionBkgColor};
2409
+ }
2410
+
2411
+ .section2 {
2412
+ fill: ${t.sectionBkgColor2};
2413
+ }
2414
+
2415
+ .section1,
2416
+ .section3 {
2417
+ fill: ${t.altSectionBkgColor};
2418
+ opacity: 0.2;
2419
+ }
2420
+
2421
+ .sectionTitle0 {
2422
+ fill: ${t.titleColor};
2423
+ }
2424
+
2425
+ .sectionTitle1 {
2426
+ fill: ${t.titleColor};
2427
+ }
2428
+
2429
+ .sectionTitle2 {
2430
+ fill: ${t.titleColor};
2431
+ }
2432
+
2433
+ .sectionTitle3 {
2434
+ fill: ${t.titleColor};
2435
+ }
2436
+
2437
+ .sectionTitle {
2438
+ text-anchor: start;
2439
+ font-family: ${t.fontFamily};
2440
+ }
2441
+
2442
+
2443
+ /* Grid and axis */
2444
+
2445
+ .grid .tick {
2446
+ stroke: ${t.gridColor};
2447
+ opacity: 0.8;
2448
+ shape-rendering: crispEdges;
2449
+ }
2450
+
2451
+ .grid .tick text {
2452
+ font-family: ${t.fontFamily};
2453
+ fill: ${t.textColor};
2454
+ }
2455
+
2456
+ .grid path {
2457
+ stroke-width: 0;
2458
+ }
2459
+
2460
+
2461
+ /* Today line */
2462
+
2463
+ .today {
2464
+ fill: none;
2465
+ stroke: ${t.todayLineColor};
2466
+ stroke-width: 2px;
2467
+ }
2468
+
2469
+
2470
+ /* Task styling */
2471
+
2472
+ /* Default task */
2473
+
2474
+ .task {
2475
+ stroke-width: 2;
2476
+ }
2477
+
2478
+ .taskText {
2479
+ text-anchor: middle;
2480
+ font-family: ${t.fontFamily};
2481
+ }
2482
+
2483
+ .taskTextOutsideRight {
2484
+ fill: ${t.taskTextDarkColor};
2485
+ text-anchor: start;
2486
+ font-family: ${t.fontFamily};
2487
+ }
2488
+
2489
+ .taskTextOutsideLeft {
2490
+ fill: ${t.taskTextDarkColor};
2491
+ text-anchor: end;
2492
+ }
2493
+
2494
+
2495
+ /* Special case clickable */
2496
+
2497
+ .task.clickable {
2498
+ cursor: pointer;
2499
+ }
2500
+
2501
+ .taskText.clickable {
2502
+ cursor: pointer;
2503
+ fill: ${t.taskTextClickableColor} !important;
2504
+ font-weight: bold;
2505
+ }
2506
+
2507
+ .taskTextOutsideLeft.clickable {
2508
+ cursor: pointer;
2509
+ fill: ${t.taskTextClickableColor} !important;
2510
+ font-weight: bold;
2511
+ }
2512
+
2513
+ .taskTextOutsideRight.clickable {
2514
+ cursor: pointer;
2515
+ fill: ${t.taskTextClickableColor} !important;
2516
+ font-weight: bold;
2517
+ }
2518
+
2519
+
2520
+ /* Specific task settings for the sections*/
2521
+
2522
+ .taskText0,
2523
+ .taskText1,
2524
+ .taskText2,
2525
+ .taskText3 {
2526
+ fill: ${t.taskTextColor};
2527
+ }
2528
+
2529
+ .task0,
2530
+ .task1,
2531
+ .task2,
2532
+ .task3 {
2533
+ fill: ${t.taskBkgColor};
2534
+ stroke: ${t.taskBorderColor};
2535
+ }
2536
+
2537
+ .taskTextOutside0,
2538
+ .taskTextOutside2
2539
+ {
2540
+ fill: ${t.taskTextOutsideColor};
2541
+ }
2542
+
2543
+ .taskTextOutside1,
2544
+ .taskTextOutside3 {
2545
+ fill: ${t.taskTextOutsideColor};
2546
+ }
2547
+
2548
+
2549
+ /* Active task */
2550
+
2551
+ .active0,
2552
+ .active1,
2553
+ .active2,
2554
+ .active3 {
2555
+ fill: ${t.activeTaskBkgColor};
2556
+ stroke: ${t.activeTaskBorderColor};
2557
+ }
2558
+
2559
+ .activeText0,
2560
+ .activeText1,
2561
+ .activeText2,
2562
+ .activeText3 {
2563
+ fill: ${t.taskTextDarkColor} !important;
2564
+ }
2565
+
2566
+
2567
+ /* Completed task */
2568
+
2569
+ .done0,
2570
+ .done1,
2571
+ .done2,
2572
+ .done3 {
2573
+ stroke: ${t.doneTaskBorderColor};
2574
+ fill: ${t.doneTaskBkgColor};
2575
+ stroke-width: 2;
2576
+ }
2577
+
2578
+ .doneText0,
2579
+ .doneText1,
2580
+ .doneText2,
2581
+ .doneText3 {
2582
+ fill: ${t.taskTextDarkColor} !important;
2583
+ }
2584
+
2585
+
2586
+ /* Tasks on the critical line */
2587
+
2588
+ .crit0,
2589
+ .crit1,
2590
+ .crit2,
2591
+ .crit3 {
2592
+ stroke: ${t.critBorderColor};
2593
+ fill: ${t.critBkgColor};
2594
+ stroke-width: 2;
2595
+ }
2596
+
2597
+ .activeCrit0,
2598
+ .activeCrit1,
2599
+ .activeCrit2,
2600
+ .activeCrit3 {
2601
+ stroke: ${t.critBorderColor};
2602
+ fill: ${t.activeTaskBkgColor};
2603
+ stroke-width: 2;
2604
+ }
2605
+
2606
+ .doneCrit0,
2607
+ .doneCrit1,
2608
+ .doneCrit2,
2609
+ .doneCrit3 {
2610
+ stroke: ${t.critBorderColor};
2611
+ fill: ${t.doneTaskBkgColor};
2612
+ stroke-width: 2;
2613
+ cursor: pointer;
2614
+ shape-rendering: crispEdges;
2615
+ }
2616
+
2617
+ .milestone {
2618
+ transform: rotate(45deg) scale(0.8,0.8);
2619
+ }
2620
+
2621
+ .milestoneText {
2622
+ font-style: italic;
2623
+ }
2624
+ .doneCritText0,
2625
+ .doneCritText1,
2626
+ .doneCritText2,
2627
+ .doneCritText3 {
2628
+ fill: ${t.taskTextDarkColor} !important;
2629
+ }
2630
+
2631
+ .vert {
2632
+ stroke: ${t.vertLineColor};
2633
+ }
2634
+
2635
+ .vertText {
2636
+ font-size: 15px;
2637
+ text-anchor: middle;
2638
+ fill: ${t.vertLineColor} !important;
2639
+ }
2640
+
2641
+ .activeCritText0,
2642
+ .activeCritText1,
2643
+ .activeCritText2,
2644
+ .activeCritText3 {
2645
+ fill: ${t.taskTextDarkColor} !important;
2646
+ }
2647
+
2648
+ .titleText {
2649
+ text-anchor: middle;
2650
+ font-size: 18px;
2651
+ fill: ${t.titleColor || t.textColor};
2652
+ font-family: ${t.fontFamily};
2653
+ }
2654
+ `, "getStyles"), Cs = Ds, Fs = {
2655
+ parser: Oi,
2656
+ db: Ts,
2657
+ renderer: Ms,
2658
+ styles: Cs
2659
+ };
2660
+ export {
2661
+ Fs as diagram
2662
+ };