@belonguniverseai/react-sdk 0.1.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 (848) hide show
  1. package/README.md +47 -0
  2. package/dist/api/agent-grants.d.ts +61 -0
  3. package/dist/api/api-context.d.ts +9 -0
  4. package/dist/api/client.d.ts +2053 -0
  5. package/dist/api/mutations.d.ts +3 -0
  6. package/dist/api/queries.d.ts +21 -0
  7. package/dist/api/query-keys.d.ts +13 -0
  8. package/dist/api/report-client-error.d.ts +23 -0
  9. package/dist/api/skills.d.ts +23 -0
  10. package/dist/api/workspace-files.d.ts +9 -0
  11. package/dist/app/BelongDock.d.ts +29 -0
  12. package/dist/app/VoiceOverlay.d.ts +18 -0
  13. package/dist/app/providers.d.ts +12 -0
  14. package/dist/app/router.d.ts +2 -0
  15. package/dist/browser/control-channel.d.ts +29 -0
  16. package/dist/browser/dom-bridge.d.ts +6 -0
  17. package/dist/browser/spa-navigate.d.ts +87 -0
  18. package/dist/component/BelongWidget.d.ts +27 -0
  19. package/dist/component/abap-BqLfTM3_.js +9 -0
  20. package/dist/component/abap-Dosx9LfS.js +9 -0
  21. package/dist/component/actionscript-3-CFt6EqSB.js +9 -0
  22. package/dist/component/actionscript-3-CShGOdtT.js +9 -0
  23. package/dist/component/ada-8tCnwMXx.js +9 -0
  24. package/dist/component/ada-DaqFF2jd.js +9 -0
  25. package/dist/component/andromeeda-BxBtQ0rC.js +7 -0
  26. package/dist/component/andromeeda-Dx5fm3r-.js +7 -0
  27. package/dist/component/angular-html-CAoRrq6i.js +35 -0
  28. package/dist/component/angular-html-DG52iVg8.js +35 -0
  29. package/dist/component/angular-ts-BvOrReBc.js +24 -0
  30. package/dist/component/angular-ts-LQyiJZqb.js +24 -0
  31. package/dist/component/apache-HdVsAIQf.js +9 -0
  32. package/dist/component/apache-c3M5d5MN.js +9 -0
  33. package/dist/component/apex-B-y6HhVC.js +9 -0
  34. package/dist/component/apex-DXDfZUnb.js +9 -0
  35. package/dist/component/apl-BnXq3ZtQ.js +19 -0
  36. package/dist/component/apl-D7VFrOyT.js +19 -0
  37. package/dist/component/applescript-BZbrjHcY.js +9 -0
  38. package/dist/component/applescript-Bo1adDet.js +9 -0
  39. package/dist/component/ara-C1QNxHcU.js +9 -0
  40. package/dist/component/ara-ZjRpP-93.js +9 -0
  41. package/dist/component/arc-DGQIe3ON.js +86 -0
  42. package/dist/component/architectureDiagram-3BPJPVTR-C3uLEfb1.js +4697 -0
  43. package/dist/component/asciidoc-2fV_Cv2j.js +9 -0
  44. package/dist/component/asciidoc-D7PshqvO.js +9 -0
  45. package/dist/component/asm-ClEowkZP.js +9 -0
  46. package/dist/component/asm-DmyJawQj.js +9 -0
  47. package/dist/component/astro-9MHfKoOi.js +21 -0
  48. package/dist/component/astro-Bi3QRBCO.js +21 -0
  49. package/dist/component/aurora-x-BGO53J2I.js +7 -0
  50. package/dist/component/aurora-x-C98he-36.js +7 -0
  51. package/dist/component/awk-CIiDOfUC.js +9 -0
  52. package/dist/component/awk-DnzYQYUx.js +9 -0
  53. package/dist/component/ayu-dark-CK1VRikm.js +7 -0
  54. package/dist/component/ayu-dark-J6FX8oSr.js +7 -0
  55. package/dist/component/ayu-light-DIKBJiwH.js +7 -0
  56. package/dist/component/ayu-light-x4Q5N51d.js +7 -0
  57. package/dist/component/ayu-mirage-C5_fPLwf.js +7 -0
  58. package/dist/component/ayu-mirage-DhPHVcGJ.js +7 -0
  59. package/dist/component/ballerina-CeqVHW9D.js +9 -0
  60. package/dist/component/ballerina-epCf0_WV.js +9 -0
  61. package/dist/component/bat-Cuej7k1C.js +9 -0
  62. package/dist/component/bat-Dai7pznF.js +9 -0
  63. package/dist/component/beancount-CpREEZMl.js +9 -0
  64. package/dist/component/beancount-CwiYx9PE.js +9 -0
  65. package/dist/component/berry-BoYGiG42.js +9 -0
  66. package/dist/component/berry-DFo_i8CN.js +9 -0
  67. package/dist/component/bibtex-2bgmGv5w.js +9 -0
  68. package/dist/component/bibtex-BkTrlnvh.js +9 -0
  69. package/dist/component/bicep-C80YQkEm.js +9 -0
  70. package/dist/component/bicep-DYkQKpr8.js +9 -0
  71. package/dist/component/bird2-5AxdId5f.js +9 -0
  72. package/dist/component/bird2-CjcgWn0f.js +9 -0
  73. package/dist/component/blade-BdUlKesy.js +23 -0
  74. package/dist/component/blade-DNMMxdfa.js +23 -0
  75. package/dist/component/blockDiagram-GPEHLZMM-YerYvLm_.js +2421 -0
  76. package/dist/component/bsl-CYB_gPZn.js +11 -0
  77. package/dist/component/bsl-DJ4bR5oi.js +11 -0
  78. package/dist/component/c-C4AMyX3G.js +9 -0
  79. package/dist/component/c-C7DfT4H8.js +9 -0
  80. package/dist/component/c3-DDixCt0K.js +9 -0
  81. package/dist/component/c3-xeavH2G2.js +9 -0
  82. package/dist/component/c4Diagram-AAUBKEIU-p8UR34Zq.js +1586 -0
  83. package/dist/component/cadence-Cy8toSoU.js +9 -0
  84. package/dist/component/cadence-xq71MyIp.js +9 -0
  85. package/dist/component/cairo-B1qo5_uz.js +11 -0
  86. package/dist/component/cairo-CZSJv_Y_.js +11 -0
  87. package/dist/component/catppuccin-frappe-BGDzipYl.js +7 -0
  88. package/dist/component/catppuccin-frappe-DZ2VPnzg.js +7 -0
  89. package/dist/component/catppuccin-latte-9zQ0xneh.js +7 -0
  90. package/dist/component/catppuccin-latte-CK4XjBXq.js +7 -0
  91. package/dist/component/catppuccin-macchiato-CIKuiG5O.js +7 -0
  92. package/dist/component/catppuccin-macchiato-D1xBlgUI.js +7 -0
  93. package/dist/component/catppuccin-mocha-CQk3ku6b.js +7 -0
  94. package/dist/component/catppuccin-mocha-Dr22M_MR.js +7 -0
  95. package/dist/component/channel-ahmILYyG.js +8 -0
  96. package/dist/component/chunk-2J33WTMH-CGaAxoSO.js +22 -0
  97. package/dist/component/chunk-4BX2VUAB-gRTK7Di9.js +11 -0
  98. package/dist/component/chunk-55IACEB6-XfJuuv6Y.js +11 -0
  99. package/dist/component/chunk-727SXJPM-Cy0hXMuO.js +1537 -0
  100. package/dist/component/chunk-AQP2D5EJ-CZHGw4se.js +1396 -0
  101. package/dist/component/chunk-FMBD7UC4-CyqtPCO0.js +22 -0
  102. package/dist/component/chunk-ND2GUHAM-CzTviSBV.js +71 -0
  103. package/dist/component/chunk-QZHKN3VN-CHDEerWv.js +21 -0
  104. package/dist/component/clarity-Dmd3VcKv.js +9 -0
  105. package/dist/component/clarity-FR-MQPIo.js +9 -0
  106. package/dist/component/classDiagram-4FO5ZUOK-BDzl1OcC.js +19 -0
  107. package/dist/component/classDiagram-v2-Q7XG4LA2-BDzl1OcC.js +19 -0
  108. package/dist/component/clojure-CZ5pqCKI.js +9 -0
  109. package/dist/component/clojure-DUXXPerS.js +9 -0
  110. package/dist/component/cmake-DeSLuBit.js +9 -0
  111. package/dist/component/cmake-Dh5RXd_q.js +9 -0
  112. package/dist/component/cobol-B0R9veOS.js +13 -0
  113. package/dist/component/cobol-DayClXiO.js +13 -0
  114. package/dist/component/codeowners-C5Gg1qBb.js +9 -0
  115. package/dist/component/codeowners-RGJbf4XS.js +9 -0
  116. package/dist/component/codeql-1OtYEVEY.js +9 -0
  117. package/dist/component/codeql-CoCy8yp4.js +9 -0
  118. package/dist/component/coffee-kdLRO3eV.js +11 -0
  119. package/dist/component/coffee-tRjJZw7o.js +11 -0
  120. package/dist/component/common-lisp-BeJe0ab6.js +9 -0
  121. package/dist/component/common-lisp-GbfS1OBj.js +9 -0
  122. package/dist/component/coq-B0RJLsKz.js +9 -0
  123. package/dist/component/coq-DMlFNAl3.js +9 -0
  124. package/dist/component/cose-bilkent-S5V4N54A-4R0ErgrZ.js +2611 -0
  125. package/dist/component/cpp-BpiKH-9I.js +21 -0
  126. package/dist/component/cpp-BwGJQL2p.js +21 -0
  127. package/dist/component/crystal-Bb_LifhW.js +21 -0
  128. package/dist/component/crystal-D0cTXans.js +21 -0
  129. package/dist/component/csharp-5kMbpBNi.js +9 -0
  130. package/dist/component/csharp-UFMQzTVu.js +9 -0
  131. package/dist/component/css-B2ckPEoZ.js +9 -0
  132. package/dist/component/css-MDiv-Xmm.js +9 -0
  133. package/dist/component/csv-Ba1T94jM.js +9 -0
  134. package/dist/component/csv-DZ-mzuKa.js +9 -0
  135. package/dist/component/cue-CtGb6f31.js +9 -0
  136. package/dist/component/cue-DbYr629m.js +9 -0
  137. package/dist/component/cypher-7eGqJtNJ.js +9 -0
  138. package/dist/component/cypher-pD9MnYc_.js +9 -0
  139. package/dist/component/cytoscape.esm-C31R6JOv.js +18772 -0
  140. package/dist/component/d-BefBLeap.js +9 -0
  141. package/dist/component/d-Dij3nCx4.js +9 -0
  142. package/dist/component/dagre-BM42HDAG-BcJQXGn3.js +448 -0
  143. package/dist/component/dark-plus-C9nS7rhq.js +7 -0
  144. package/dist/component/dark-plus-L3JON0ir.js +7 -0
  145. package/dist/component/dart-BWNSliXX.js +9 -0
  146. package/dist/component/dart-DCRAsZQK.js +9 -0
  147. package/dist/component/dax-CWdGoxkM.js +9 -0
  148. package/dist/component/dax-pykceZLM.js +9 -0
  149. package/dist/component/defaultLocale-BXpxsZAK.js +174 -0
  150. package/dist/component/desktop-4j8jFU02.js +9 -0
  151. package/dist/component/desktop-B3AeStqn.js +9 -0
  152. package/dist/component/diagram-2AECGRRQ-Cld7-k7F.js +220 -0
  153. package/dist/component/diagram-5GNKFQAL-d7JtHVRK.js +126 -0
  154. package/dist/component/diagram-KO2AKTUF-Avxzz4xw.js +464 -0
  155. package/dist/component/diagram-LMA3HP47-Cy_E5-rU.js +148 -0
  156. package/dist/component/diagram-OG6HWLK6-DUsJK7Js.js +534 -0
  157. package/dist/component/diff-DuoPSmgL.js +9 -0
  158. package/dist/component/diff-IyCSM08A.js +9 -0
  159. package/dist/component/docker-BSrvy0o9.js +9 -0
  160. package/dist/component/docker-Ca4vT6OJ.js +9 -0
  161. package/dist/component/dotenv-CUP-PB19.js +9 -0
  162. package/dist/component/dotenv-aA3GGxJM.js +9 -0
  163. package/dist/component/dracula-2BaSCSav.js +7 -0
  164. package/dist/component/dracula-Lg7_DbOD.js +7 -0
  165. package/dist/component/dracula-soft-AsPqNBvZ.js +7 -0
  166. package/dist/component/dracula-soft-n6R-sBGM.js +7 -0
  167. package/dist/component/dream-maker-B2xERNvR.js +9 -0
  168. package/dist/component/dream-maker-Jadq_Ln7.js +9 -0
  169. package/dist/component/edge-B-amp2rn.js +15 -0
  170. package/dist/component/edge-Bol1lNG-.js +15 -0
  171. package/dist/component/elixir-DSzpv_bE.js +11 -0
  172. package/dist/component/elixir-t5YY_ese.js +11 -0
  173. package/dist/component/elm-DNaka8RZ.js +11 -0
  174. package/dist/component/elm-JLsvCHy1.js +11 -0
  175. package/dist/component/emacs-lisp-C6XZT609.js +9 -0
  176. package/dist/component/emacs-lisp-DWDtb5kD.js +9 -0
  177. package/dist/component/erDiagram-TEJ5UH35-DEdqrWqp.js +905 -0
  178. package/dist/component/erb-BJ95qgrJ.js +13 -0
  179. package/dist/component/erb-rGIYAeIa.js +13 -0
  180. package/dist/component/erlang-By5grfmz.js +11 -0
  181. package/dist/component/erlang-rAClsghX.js +11 -0
  182. package/dist/component/everforest-dark-DBhTz0Lt.js +7 -0
  183. package/dist/component/everforest-dark-_A43rkLf.js +7 -0
  184. package/dist/component/everforest-light-Bep_XOgu.js +7 -0
  185. package/dist/component/everforest-light-DHbrW2te.js +7 -0
  186. package/dist/component/fennel-CeQPNUU9.js +9 -0
  187. package/dist/component/fennel-QllfYze1.js +9 -0
  188. package/dist/component/fish-BXP1eRyz.js +9 -0
  189. package/dist/component/fish-DkfR0DRL.js +9 -0
  190. package/dist/component/flowDiagram-I6XJVG4X-BWzYDsjP.js +1634 -0
  191. package/dist/component/fluent-Ih0R99Ix.js +9 -0
  192. package/dist/component/fluent-RduSrzCZ.js +9 -0
  193. package/dist/component/fortran-fixed-form-C3I8YlEU.js +11 -0
  194. package/dist/component/fortran-fixed-form-D7OlW0lw.js +11 -0
  195. package/dist/component/fortran-free-form-CXj2ku4f.js +9 -0
  196. package/dist/component/fortran-free-form-DifCDW_P.js +9 -0
  197. package/dist/component/fsharp-65O4P3S5.js +11 -0
  198. package/dist/component/fsharp-CXzwUWsC.js +11 -0
  199. package/dist/component/ganttDiagram-6RSMTGT7-DzfeVIgF.js +2709 -0
  200. package/dist/component/gdresource-Bn5VhPaI.js +13 -0
  201. package/dist/component/gdresource-kUFIn9eK.js +13 -0
  202. package/dist/component/gdscript-BNGA6E65.js +9 -0
  203. package/dist/component/gdscript-LjKsfw3O.js +9 -0
  204. package/dist/component/gdshader-C-Gp5-Ot.js +9 -0
  205. package/dist/component/gdshader-C1lRZRQz.js +9 -0
  206. package/dist/component/genie-B8viIUNC.js +9 -0
  207. package/dist/component/genie-eR37RVXX.js +9 -0
  208. package/dist/component/gherkin-BVA-IOor.js +9 -0
  209. package/dist/component/gherkin-CuORnKvF.js +9 -0
  210. package/dist/component/git-commit-BNPqpLhi.js +11 -0
  211. package/dist/component/git-commit-Dh7BfmB9.js +11 -0
  212. package/dist/component/git-rebase-B5TXZutB.js +11 -0
  213. package/dist/component/git-rebase-DhwWS8MC.js +11 -0
  214. package/dist/component/gitGraphDiagram-PVQCEYII-CKzbGWcQ.js +818 -0
  215. package/dist/component/github-dark-5b4g_bOp.js +7 -0
  216. package/dist/component/github-dark-default-6zDGR7DJ.js +7 -0
  217. package/dist/component/github-dark-default-H56pGX_M.js +7 -0
  218. package/dist/component/github-dark-dimmed-B1iXBBmo.js +7 -0
  219. package/dist/component/github-dark-dimmed-DjYa1rhk.js +7 -0
  220. package/dist/component/github-dark-high-contrast-BuNi_Wj5.js +7 -0
  221. package/dist/component/github-dark-high-contrast-DvpYRI-4.js +7 -0
  222. package/dist/component/github-dark-mxHsWyJ4.js +7 -0
  223. package/dist/component/github-light-CTdjTVPf.js +7 -0
  224. package/dist/component/github-light-KqdY1rAV.js +7 -0
  225. package/dist/component/github-light-default-BlRYTBRQ.js +7 -0
  226. package/dist/component/github-light-default-Drw5Jl_p.js +7 -0
  227. package/dist/component/github-light-high-contrast-9d8ktz0h.js +7 -0
  228. package/dist/component/github-light-high-contrast-ColFVC7A.js +7 -0
  229. package/dist/component/gleam-BXQHq2ZT.js +9 -0
  230. package/dist/component/gleam-RfA2dpfH.js +9 -0
  231. package/dist/component/glimmer-js-BHZ1FuRp.js +17 -0
  232. package/dist/component/glimmer-js-Gdq_UYVf.js +17 -0
  233. package/dist/component/glimmer-ts-D6H7q5ls.js +17 -0
  234. package/dist/component/glimmer-ts-DdmgeZua.js +17 -0
  235. package/dist/component/glsl-D1RRylbk.js +11 -0
  236. package/dist/component/glsl-MDSU_3-y.js +11 -0
  237. package/dist/component/gn-D8VPrt1o.js +9 -0
  238. package/dist/component/gn-DJpTAp5e.js +9 -0
  239. package/dist/component/gnuplot-BNzwvBx5.js +9 -0
  240. package/dist/component/gnuplot-Iqvzplz-.js +9 -0
  241. package/dist/component/go-D-G7cxeA.js +9 -0
  242. package/dist/component/go-TNOI7pQc.js +9 -0
  243. package/dist/component/graph-BZLHvygk.js +1548 -0
  244. package/dist/component/graphql-CW6tYk7X.js +17 -0
  245. package/dist/component/graphql-DGugpl40.js +17 -0
  246. package/dist/component/groovy-5_UI-q3N.js +9 -0
  247. package/dist/component/groovy-D7GH48W8.js +9 -0
  248. package/dist/component/gruvbox-dark-hard-Ch2GYDcJ.js +7 -0
  249. package/dist/component/gruvbox-dark-hard-Dpxv_Il6.js +7 -0
  250. package/dist/component/gruvbox-dark-medium-DqoxKYPx.js +7 -0
  251. package/dist/component/gruvbox-dark-medium-eGVEUM8W.js +7 -0
  252. package/dist/component/gruvbox-dark-soft-BA9DdijB.js +7 -0
  253. package/dist/component/gruvbox-dark-soft-DRaJAZcW.js +7 -0
  254. package/dist/component/gruvbox-light-hard-BJXIrqpz.js +7 -0
  255. package/dist/component/gruvbox-light-hard-_qNpoYJy.js +7 -0
  256. package/dist/component/gruvbox-light-medium-39dkJwxv.js +7 -0
  257. package/dist/component/gruvbox-light-medium-IkDFQhcB.js +7 -0
  258. package/dist/component/gruvbox-light-soft-DWPQo7Dn.js +7 -0
  259. package/dist/component/gruvbox-light-soft-Dpz5D6wP.js +7 -0
  260. package/dist/component/hack-BSrzyV-l.js +13 -0
  261. package/dist/component/hack-CJNnfXZh.js +13 -0
  262. package/dist/component/haml-DL-NAYVg.js +13 -0
  263. package/dist/component/haml-DYkTKupK.js +13 -0
  264. package/dist/component/handlebars-B2Z6CWhc.js +17 -0
  265. package/dist/component/handlebars-Cwj0qzUo.js +17 -0
  266. package/dist/component/haskell-Cj3J4fKD.js +9 -0
  267. package/dist/component/haskell-h36TjJLk.js +9 -0
  268. package/dist/component/haxe-CcifGI6O.js +9 -0
  269. package/dist/component/haxe-Coqw0Tt8.js +9 -0
  270. package/dist/component/hcl-BPVqiZDb.js +9 -0
  271. package/dist/component/hcl-DaPl6lOC.js +9 -0
  272. package/dist/component/highlighted-body-OFNGDK62-BkGwwkHo.js +22 -0
  273. package/dist/component/hjson-CfcQXz3-.js +9 -0
  274. package/dist/component/hjson-DsTgWNxt.js +9 -0
  275. package/dist/component/hlsl-CLzjZIQL.js +9 -0
  276. package/dist/component/hlsl-DVyuzW8h.js +9 -0
  277. package/dist/component/horizon-DaNatiIz.js +7 -0
  278. package/dist/component/horizon-bright-CthJh1Qp.js +7 -0
  279. package/dist/component/horizon-bright-DMKA6ab6.js +7 -0
  280. package/dist/component/horizon-q20CuJTh.js +7 -0
  281. package/dist/component/houston-CjpgGYwZ.js +7 -0
  282. package/dist/component/houston-DnIZxOiF.js +7 -0
  283. package/dist/component/html-DSjghx6n.js +13 -0
  284. package/dist/component/html-derivative-CxizaS1Z.js +11 -0
  285. package/dist/component/html-derivative-DDrVhQXu.js +11 -0
  286. package/dist/component/html-tY6fNMOn.js +13 -0
  287. package/dist/component/http-CLvA54iU.js +17 -0
  288. package/dist/component/http-CPkD6MSf.js +17 -0
  289. package/dist/component/hurl-CuuCK9Id.js +15 -0
  290. package/dist/component/hurl-LcD0R7wh.js +15 -0
  291. package/dist/component/hxml-CJz9SfqN.js +11 -0
  292. package/dist/component/hxml-DLsAgg8X.js +11 -0
  293. package/dist/component/hy-CAEey4h7.js +9 -0
  294. package/dist/component/hy-Dm2IGIb-.js +9 -0
  295. package/dist/component/imba-5G9Fs_nr.js +9 -0
  296. package/dist/component/imba-CH2D1ce9.js +9 -0
  297. package/dist/component/index.d.ts +3 -0
  298. package/dist/component/index.js +8 -0
  299. package/dist/component/infoDiagram-5YYISTIA-D9xN-Pqc.js +27 -0
  300. package/dist/component/ini-Dt2l3RWi.js +9 -0
  301. package/dist/component/ini-kgvXisvj.js +9 -0
  302. package/dist/component/init-BOu0eQYQ.js +19 -0
  303. package/dist/component/ishikawaDiagram-YF4QCWOH--YDYWDwv.js +627 -0
  304. package/dist/component/java-BKLcvtEM.js +9 -0
  305. package/dist/component/java-oSN7P0Od.js +9 -0
  306. package/dist/component/javascript-CyaMmpOO.js +9 -0
  307. package/dist/component/javascript-DFm3DOoX.js +9 -0
  308. package/dist/component/jinja-Ch28RrFG.js +14 -0
  309. package/dist/component/jinja-CsTh8Ahj.js +14 -0
  310. package/dist/component/jison-Bu0o8a1Z.js +11 -0
  311. package/dist/component/jison-DLgrOJpy.js +11 -0
  312. package/dist/component/journeyDiagram-JHISSGLW-B9-CHfSv.js +837 -0
  313. package/dist/component/json-D-WsbO45.js +9 -0
  314. package/dist/component/json-rmrBoeO_.js +9 -0
  315. package/dist/component/json5-B1J6XVPd.js +9 -0
  316. package/dist/component/json5-B3-n7IrD.js +9 -0
  317. package/dist/component/jsonc-BgfI3zjg.js +9 -0
  318. package/dist/component/jsonc-HFvGREK8.js +9 -0
  319. package/dist/component/jsonl-DHttz8sH.js +9 -0
  320. package/dist/component/jsonl-l_eIcPip.js +9 -0
  321. package/dist/component/jsonnet-D6SNIhw0.js +9 -0
  322. package/dist/component/jsonnet-DO8Zfk6p.js +9 -0
  323. package/dist/component/jssm-CKRLojKZ.js +9 -0
  324. package/dist/component/jssm-Dy1zjXNg.js +9 -0
  325. package/dist/component/jsx-CpVvoVGp.js +9 -0
  326. package/dist/component/jsx-si2wS7pt.js +9 -0
  327. package/dist/component/julia-BPzvBJ4R.js +19 -0
  328. package/dist/component/julia-CfyFig21.js +19 -0
  329. package/dist/component/just-D5rIv9U4.js +21 -0
  330. package/dist/component/just-fRm_weEQ.js +21 -0
  331. package/dist/component/kanagawa-dragon-BOBo9JLg.js +7 -0
  332. package/dist/component/kanagawa-dragon-BWPCHB_7.js +7 -0
  333. package/dist/component/kanagawa-lotus-8m_3LhhF.js +7 -0
  334. package/dist/component/kanagawa-lotus-B5o1JCNj.js +7 -0
  335. package/dist/component/kanagawa-wave-BSP7z6KH.js +7 -0
  336. package/dist/component/kanagawa-wave-ClYLx7ql.js +7 -0
  337. package/dist/component/kanban-definition-UN3LZRKU-Cmh8twbq.js +727 -0
  338. package/dist/component/kdl-GafIF83C.js +9 -0
  339. package/dist/component/kdl-_X6wsgV0.js +9 -0
  340. package/dist/component/kotlin-B3jfEOcv.js +9 -0
  341. package/dist/component/kotlin-BWMoZeA3.js +9 -0
  342. package/dist/component/kusto-Bkz9eBch.js +9 -0
  343. package/dist/component/kusto-ohiqZ64l.js +9 -0
  344. package/dist/component/laserwave-BmajecBZ.js +7 -0
  345. package/dist/component/laserwave-Bp21zlIO.js +7 -0
  346. package/dist/component/latex-BYzveWoN.js +11 -0
  347. package/dist/component/latex-Bi4Lg68B.js +11 -0
  348. package/dist/component/layout-Bu6nRdWm.js +1731 -0
  349. package/dist/component/lean-BBkk0btj.js +9 -0
  350. package/dist/component/lean-DFmhzmny.js +9 -0
  351. package/dist/component/less-ChX34X5W.js +9 -0
  352. package/dist/component/less-kqPRXL1K.js +9 -0
  353. package/dist/component/light-plus-DFxAowZg.js +7 -0
  354. package/dist/component/light-plus-_t1yKirF.js +7 -0
  355. package/dist/component/linear-BDyEUcVD.js +262 -0
  356. package/dist/component/liquid-Bri_C9oi.js +17 -0
  357. package/dist/component/liquid-f2WMwCDi.js +17 -0
  358. package/dist/component/llvm-COuD10ql.js +9 -0
  359. package/dist/component/llvm-dub2631B.js +9 -0
  360. package/dist/component/log-A8St-vyh.js +9 -0
  361. package/dist/component/log-g58LFxM8.js +9 -0
  362. package/dist/component/logo-DZmThwvl.js +9 -0
  363. package/dist/component/logo-x6YxnKST.js +9 -0
  364. package/dist/component/lua-Bj2G8q-Z.js +11 -0
  365. package/dist/component/lua-CyXCKT0u.js +11 -0
  366. package/dist/component/luau-B8fyn01D.js +9 -0
  367. package/dist/component/luau-C5q2C4N6.js +9 -0
  368. package/dist/component/make-DOTJ8IeI.js +9 -0
  369. package/dist/component/make-DTiRnfNf.js +9 -0
  370. package/dist/component/markdown-D3u32LKS.js +9 -0
  371. package/dist/component/markdown-DHm1k_6p.js +9 -0
  372. package/dist/component/marko-CUgdvzuR.js +17 -0
  373. package/dist/component/marko-SwZmWzIv.js +17 -0
  374. package/dist/component/material-theme-BIfRQKI0.js +7 -0
  375. package/dist/component/material-theme-CxS7GniW.js +7 -0
  376. package/dist/component/material-theme-darker-DKP5DIOi.js +7 -0
  377. package/dist/component/material-theme-darker-DkNB3xjL.js +7 -0
  378. package/dist/component/material-theme-lighter-3I4JYnlq.js +7 -0
  379. package/dist/component/material-theme-lighter-D5xivCfx.js +7 -0
  380. package/dist/component/material-theme-ocean-B31yuEXO.js +7 -0
  381. package/dist/component/material-theme-ocean-rw0kJPZg.js +7 -0
  382. package/dist/component/material-theme-palenight-BfunK0Uo.js +7 -0
  383. package/dist/component/material-theme-palenight-COTbh91p.js +7 -0
  384. package/dist/component/matlab-CkKSQcnX.js +9 -0
  385. package/dist/component/matlab-DCF6d5YL.js +9 -0
  386. package/dist/component/mdc-D92XwdT9.js +15 -0
  387. package/dist/component/mdc-gb_v49HI.js +15 -0
  388. package/dist/component/mdx-C6kH9TSz.js +9 -0
  389. package/dist/component/mdx-Dqb5H0t-.js +9 -0
  390. package/dist/component/mermaid-0bkYzXfL.js +9 -0
  391. package/dist/component/mermaid-GHXKKRXX-C5Y3BZXR.js +107122 -0
  392. package/dist/component/mermaid-N7-yWHiu.js +9 -0
  393. package/dist/component/min-dark-CqEfelDe.js +7 -0
  394. package/dist/component/min-dark-FAglrjWz.js +7 -0
  395. package/dist/component/min-light-BmdYN58_.js +7 -0
  396. package/dist/component/min-light-CcJCxfWw.js +7 -0
  397. package/dist/component/mindmap-definition-RKZ34NQL-CnFpVFpl.js +833 -0
  398. package/dist/component/mipsasm-BYNReuUT.js +9 -0
  399. package/dist/component/mipsasm-CKzkMNWr.js +9 -0
  400. package/dist/component/mojo-0URGVph7.js +9 -0
  401. package/dist/component/mojo-C563AncR.js +9 -0
  402. package/dist/component/monokai-D3_c3OUm.js +7 -0
  403. package/dist/component/monokai-ugSJFofr.js +7 -0
  404. package/dist/component/moonbit-BkJk2kyS.js +9 -0
  405. package/dist/component/moonbit-DlIX78rk.js +9 -0
  406. package/dist/component/move-BQAHOJb2.js +9 -0
  407. package/dist/component/move-eiW4QYDW.js +9 -0
  408. package/dist/component/narrat-2oVindvn.js +9 -0
  409. package/dist/component/narrat-Dc4cTFeW.js +9 -0
  410. package/dist/component/nextflow-B4caLl5A.js +11 -0
  411. package/dist/component/nextflow-Bk0ryO1R.js +11 -0
  412. package/dist/component/nextflow-groovy-BnXf2WiC.js +9 -0
  413. package/dist/component/nextflow-groovy-DIMIAEOy.js +9 -0
  414. package/dist/component/nginx-BaGEfT9r.js +11 -0
  415. package/dist/component/nginx-Dprlne5J.js +11 -0
  416. package/dist/component/night-owl-B6L5FL5v.js +7 -0
  417. package/dist/component/night-owl-CB_IXuNH.js +7 -0
  418. package/dist/component/night-owl-light-BZxeyl5X.js +7 -0
  419. package/dist/component/night-owl-light-CoPr05P4.js +7 -0
  420. package/dist/component/nim-BKvvFCe_.js +23 -0
  421. package/dist/component/nim-CQZqLxeE.js +23 -0
  422. package/dist/component/nix-Cp8a0vy5.js +12 -0
  423. package/dist/component/nix-DEY1zukk.js +12 -0
  424. package/dist/component/nord-D3PAEvHH.js +7 -0
  425. package/dist/component/nord-DPPgRakM.js +7 -0
  426. package/dist/component/nushell-BdsblUId.js +9 -0
  427. package/dist/component/nushell-DUUbmBaO.js +9 -0
  428. package/dist/component/objective-c-CNN3tl1v.js +9 -0
  429. package/dist/component/objective-c-D_6I2dsG.js +9 -0
  430. package/dist/component/objective-cpp-BjicYcS7.js +9 -0
  431. package/dist/component/objective-cpp-z4LTaUcg.js +9 -0
  432. package/dist/component/ocaml-BnD9haV8.js +9 -0
  433. package/dist/component/ocaml-DZseEUty.js +9 -0
  434. package/dist/component/odin-CnsCKboc.js +9 -0
  435. package/dist/component/odin-P2WSXO4H.js +9 -0
  436. package/dist/component/one-dark-pro-C_eaQ16k.js +7 -0
  437. package/dist/component/one-dark-pro-OimEv0Ou.js +7 -0
  438. package/dist/component/one-light-B0ti6b9S.js +7 -0
  439. package/dist/component/one-light-j3UfPQB3.js +7 -0
  440. package/dist/component/openscad-2vaKslxR.js +9 -0
  441. package/dist/component/openscad-jE6oRbDv.js +9 -0
  442. package/dist/component/ordinal-D0x7izaa.js +64 -0
  443. package/dist/component/pascal-8jl8irAj.js +9 -0
  444. package/dist/component/pascal-d7SASCGO.js +9 -0
  445. package/dist/component/perl-DHC1BZ_5.js +19 -0
  446. package/dist/component/perl-DVm7Pq-D.js +19 -0
  447. package/dist/component/php-BF_l-EgM.js +21 -0
  448. package/dist/component/php-BtpW2-DO.js +21 -0
  449. package/dist/component/pieDiagram-4H26LBE5-u-blLkni.js +166 -0
  450. package/dist/component/pkl-CoBnC_8G.js +9 -0
  451. package/dist/component/pkl-DZdA2Trc.js +9 -0
  452. package/dist/component/plastic-3IjBbwNP.js +7 -0
  453. package/dist/component/plastic-CixB-AlW.js +7 -0
  454. package/dist/component/plsql-Cv-ZxhCL.js +9 -0
  455. package/dist/component/plsql-CzeGyK0m.js +9 -0
  456. package/dist/component/po-eb_Amfj2.js +9 -0
  457. package/dist/component/po-moSB12fi.js +9 -0
  458. package/dist/component/poimandres-C03Jy3KZ.js +7 -0
  459. package/dist/component/poimandres-CKZ3f48N.js +7 -0
  460. package/dist/component/polar-BKFAKBSA.js +9 -0
  461. package/dist/component/polar-CsPCUbKt.js +9 -0
  462. package/dist/component/postcss-CytNqPC0.js +9 -0
  463. package/dist/component/postcss-D3_LY2LH.js +9 -0
  464. package/dist/component/powerquery-CpTndMW_.js +9 -0
  465. package/dist/component/powerquery-f-cemdrG.js +9 -0
  466. package/dist/component/powershell-B-JkstDq.js +9 -0
  467. package/dist/component/powershell-BkDB3ZO9.js +9 -0
  468. package/dist/component/prisma-B4mlcaEB.js +9 -0
  469. package/dist/component/prisma-BX88wNNq.js +9 -0
  470. package/dist/component/prolog-ZYcjPjsY.js +9 -0
  471. package/dist/component/prolog-ftPRGVaT.js +9 -0
  472. package/dist/component/proto-B5SG7zCc.js +9 -0
  473. package/dist/component/proto-DpTcjJFH.js +9 -0
  474. package/dist/component/pug-BziTjzcZ.js +15 -0
  475. package/dist/component/pug-XUdLuJ2s.js +15 -0
  476. package/dist/component/puppet-BeyD5DhV.js +9 -0
  477. package/dist/component/puppet-DjFvC8zy.js +9 -0
  478. package/dist/component/purescript-BBRU0YyZ.js +9 -0
  479. package/dist/component/purescript-Bf3WPYAV.js +9 -0
  480. package/dist/component/python-C7yusFoO.js +9 -0
  481. package/dist/component/python-CuNbg5wx.js +9 -0
  482. package/dist/component/qml-Cu9RjXOs.js +11 -0
  483. package/dist/component/qml-Z-uvElxQ.js +11 -0
  484. package/dist/component/qmldir-BHp2usxt.js +9 -0
  485. package/dist/component/qmldir-C6P--W6X.js +9 -0
  486. package/dist/component/qss-CgcBaeYL.js +9 -0
  487. package/dist/component/qss-iWzt-Nzy.js +9 -0
  488. package/dist/component/quadrantDiagram-W4KKPZXB-Bpq-EoMM.js +1033 -0
  489. package/dist/component/r-8lH98zbN.js +9 -0
  490. package/dist/component/r-CyFkAlMF.js +9 -0
  491. package/dist/component/racket-DaWPCRlQ.js +9 -0
  492. package/dist/component/racket-effgGH8q.js +9 -0
  493. package/dist/component/raku-DXM7wT4g.js +9 -0
  494. package/dist/component/raku-GZVvT-nH.js +9 -0
  495. package/dist/component/razor-CYq4jbLW.js +13 -0
  496. package/dist/component/razor-DQFDiXM1.js +13 -0
  497. package/dist/component/red-B9TgEgRC.js +7 -0
  498. package/dist/component/red-BNC90Lxb.js +7 -0
  499. package/dist/component/reg-C62uOG3A.js +9 -0
  500. package/dist/component/reg-CQgRgzkw.js +9 -0
  501. package/dist/component/regexp-D8jeZrvm.js +9 -0
  502. package/dist/component/regexp-UNvxOND4.js +9 -0
  503. package/dist/component/rel-BRyuNjQD.js +9 -0
  504. package/dist/component/rel-Cyzm_Cno.js +9 -0
  505. package/dist/component/requirementDiagram-4Y6WPE33-B8V7mLRY.js +888 -0
  506. package/dist/component/riscv-BHdC-Wfh.js +9 -0
  507. package/dist/component/riscv-BZ9l50bA.js +9 -0
  508. package/dist/component/ron--0kZyCV0.js +9 -0
  509. package/dist/component/ron-CJx-eqt3.js +9 -0
  510. package/dist/component/rose-pine-XHcBRH-D.js +7 -0
  511. package/dist/component/rose-pine-dawn-Bz77Igqs.js +7 -0
  512. package/dist/component/rose-pine-dawn-RL42yTas.js +7 -0
  513. package/dist/component/rose-pine-ksWn8nuO.js +7 -0
  514. package/dist/component/rose-pine-moon-BtSW__9n.js +7 -0
  515. package/dist/component/rose-pine-moon-QJS0aJgR.js +7 -0
  516. package/dist/component/rosmsg-BPUqDEe2.js +9 -0
  517. package/dist/component/rosmsg-CM65NRE0.js +9 -0
  518. package/dist/component/rst-CqXkCW5F.js +25 -0
  519. package/dist/component/rst-DQATMrFw.js +25 -0
  520. package/dist/component/ruby-B09XKrLg.js +33 -0
  521. package/dist/component/ruby-BJtrPIFQ.js +33 -0
  522. package/dist/component/rust-3aEF0O7t.js +9 -0
  523. package/dist/component/rust-XKBJng8W.js +9 -0
  524. package/dist/component/sankeyDiagram-5OEKKPKP-C-TbMbsr.js +862 -0
  525. package/dist/component/sas-COkwgxe_.js +11 -0
  526. package/dist/component/sas-DDLczODn.js +11 -0
  527. package/dist/component/sass-BIT8Mghp.js +9 -0
  528. package/dist/component/sass-CbXM5obh.js +9 -0
  529. package/dist/component/scala-CWyCExvl.js +9 -0
  530. package/dist/component/scala-DmAjX8OM.js +9 -0
  531. package/dist/component/scheme-BLXiZF3M.js +9 -0
  532. package/dist/component/scheme-ERi8vGmO.js +9 -0
  533. package/dist/component/scss-BX4eQ0c3.js +11 -0
  534. package/dist/component/scss-Biq-xkEY.js +11 -0
  535. package/dist/component/sdbl-B4TEJKGi.js +9 -0
  536. package/dist/component/sdbl-tnLxE-ur.js +9 -0
  537. package/dist/component/sequenceDiagram-3UESZ5HK-UHhixLbD.js +2897 -0
  538. package/dist/component/shaderlab-DMYXUCqo.js +11 -0
  539. package/dist/component/shaderlab-DqcfJRqk.js +11 -0
  540. package/dist/component/shellscript-B533aeAq.js +9 -0
  541. package/dist/component/shellscript-B8M9FK6Q.js +9 -0
  542. package/dist/component/shellsession-CvrLJEnp.js +11 -0
  543. package/dist/component/shellsession-Cy0cdv3D.js +11 -0
  544. package/dist/component/slack-dark-9TBiD8mL.js +7 -0
  545. package/dist/component/slack-dark-DN-r2Kgp.js +7 -0
  546. package/dist/component/slack-ochin-9pgdwMdj.js +7 -0
  547. package/dist/component/slack-ochin-DoqPjNJD.js +7 -0
  548. package/dist/component/smalltalk-Bbm0pJzJ.js +9 -0
  549. package/dist/component/smalltalk-BgwWJ0LQ.js +9 -0
  550. package/dist/component/snazzy-light-CRiZMLw1.js +7 -0
  551. package/dist/component/snazzy-light-D2QxPpzI.js +7 -0
  552. package/dist/component/solarized-dark-CpiZBbF-.js +7 -0
  553. package/dist/component/solarized-dark-DrZ258Kz.js +7 -0
  554. package/dist/component/solarized-light-940Q0ET-.js +7 -0
  555. package/dist/component/solarized-light-CZjXGjG0.js +7 -0
  556. package/dist/component/solidity-BiVIJAyo.js +9 -0
  557. package/dist/component/solidity-DsGO0zKs.js +9 -0
  558. package/dist/component/soy-B8d9iNux.js +11 -0
  559. package/dist/component/soy-CrWxFFIL.js +11 -0
  560. package/dist/component/sparql-C9-sbVPb.js +11 -0
  561. package/dist/component/sparql-D4y9QLpW.js +11 -0
  562. package/dist/component/splunk-8ZGt17T1.js +9 -0
  563. package/dist/component/splunk-CoLR9YoS.js +9 -0
  564. package/dist/component/sql-kcHmCqqm.js +9 -0
  565. package/dist/component/sql-vg8sPfqQ.js +9 -0
  566. package/dist/component/ssh-config-CaXR5cZI.js +9 -0
  567. package/dist/component/ssh-config-DIPB8nWv.js +9 -0
  568. package/dist/component/stata-DTwlvRC-.js +11 -0
  569. package/dist/component/stata-wXDnjjLv.js +11 -0
  570. package/dist/component/stateDiagram-AJRCARHV-DBGVr_mf.js +266 -0
  571. package/dist/component/stateDiagram-v2-BHNVJYJU-BasSd11t.js +19 -0
  572. package/dist/component/stylus-BVi_fesw.js +9 -0
  573. package/dist/component/stylus-WAexVQ6f.js +9 -0
  574. package/dist/component/surrealql-BMPoOZ16.js +11 -0
  575. package/dist/component/surrealql-CoR3cmJl.js +11 -0
  576. package/dist/component/svelte-BXoajfvD.js +17 -0
  577. package/dist/component/svelte-CSNEH6tH.js +17 -0
  578. package/dist/component/swift-C1L5BrdG.js +9 -0
  579. package/dist/component/swift-DvqRLmJa.js +9 -0
  580. package/dist/component/synthwave-84-CjU0tbaA.js +7 -0
  581. package/dist/component/synthwave-84-D0HCetP1.js +7 -0
  582. package/dist/component/system-verilog-BlCQhLvC.js +9 -0
  583. package/dist/component/system-verilog-NfYSOS9X.js +9 -0
  584. package/dist/component/systemd-C-VULMOV.js +9 -0
  585. package/dist/component/systemd-DPQeba_a.js +9 -0
  586. package/dist/component/talonscript-0iKTliWA.js +9 -0
  587. package/dist/component/talonscript-Dcq0YJ69.js +9 -0
  588. package/dist/component/tasl-CBnjmw_u.js +9 -0
  589. package/dist/component/tasl-DPTcRLbU.js +9 -0
  590. package/dist/component/tcl-B8YZq0wg.js +9 -0
  591. package/dist/component/tcl-D3IfUIUn.js +9 -0
  592. package/dist/component/templ-BWrZoBOl.js +15 -0
  593. package/dist/component/templ-CNKcDxHw.js +15 -0
  594. package/dist/component/terraform-BBGJbbOd.js +9 -0
  595. package/dist/component/terraform-CpHfbII0.js +9 -0
  596. package/dist/component/tex-Do7cxq2n.js +11 -0
  597. package/dist/component/tex-DotwMf2L.js +11 -0
  598. package/dist/component/timeline-definition-PNZ67QCA-BTzUH3cf.js +1058 -0
  599. package/dist/component/tokyo-night-50KL4qXP.js +7 -0
  600. package/dist/component/tokyo-night-CFdInRHE.js +7 -0
  601. package/dist/component/toml-BgG8u2uy.js +9 -0
  602. package/dist/component/toml-Cdrl1XDU.js +9 -0
  603. package/dist/component/ts-tags-CZ_-X2Or.js +44 -0
  604. package/dist/component/ts-tags-JQGxDVZd.js +44 -0
  605. package/dist/component/tsv-CH-Gpfzn.js +9 -0
  606. package/dist/component/tsv-DXq61Z_y.js +9 -0
  607. package/dist/component/tsx-B6WYiHjH.js +9 -0
  608. package/dist/component/tsx-BI2vzHzF.js +9 -0
  609. package/dist/component/turtle-BLh3UAZ1.js +9 -0
  610. package/dist/component/turtle-DuS0HQ9p.js +9 -0
  611. package/dist/component/twig-BA9yPOhQ.js +21 -0
  612. package/dist/component/twig-F0j_PXgJ.js +21 -0
  613. package/dist/component/typescript-Bt_Em9TU.js +9 -0
  614. package/dist/component/typescript-BxspRrVw.js +9 -0
  615. package/dist/component/typespec-CBQfkfKg.js +9 -0
  616. package/dist/component/typespec-ChsG4DJP.js +9 -0
  617. package/dist/component/typst-CLNdxZpy.js +9 -0
  618. package/dist/component/typst-rCvFF3Ml.js +9 -0
  619. package/dist/component/v-Bc8b7HcA.js +9 -0
  620. package/dist/component/v-DkBTCxRz.js +9 -0
  621. package/dist/component/vala-Bf6duLsN.js +9 -0
  622. package/dist/component/vala-D3NFAJvZ.js +9 -0
  623. package/dist/component/vb-CbCKaE0V.js +9 -0
  624. package/dist/component/vb-DoG_86dU.js +9 -0
  625. package/dist/component/vennDiagram-CIIHVFJN-CVh3weJ2.js +1560 -0
  626. package/dist/component/verilog-BsnhA3AJ.js +9 -0
  627. package/dist/component/verilog-nZodAh2g.js +9 -0
  628. package/dist/component/vesper-C9xEuBGK.js +7 -0
  629. package/dist/component/vesper-DGjNIaCs.js +7 -0
  630. package/dist/component/vhdl-D19XVLHt.js +9 -0
  631. package/dist/component/vhdl-mXcQB2Fg.js +9 -0
  632. package/dist/component/viml-8k_5DKNK.js +9 -0
  633. package/dist/component/viml-COJbZm0U.js +9 -0
  634. package/dist/component/vitesse-black-Bct4R3m4.js +7 -0
  635. package/dist/component/vitesse-black-heVxAgDf.js +7 -0
  636. package/dist/component/vitesse-dark-DdWh6SFL.js +7 -0
  637. package/dist/component/vitesse-dark-DiXBkaTo.js +7 -0
  638. package/dist/component/vitesse-light-CerMU32A.js +7 -0
  639. package/dist/component/vitesse-light-Eee3KZAP.js +7 -0
  640. package/dist/component/vue-DjB6jmJ7.js +34 -0
  641. package/dist/component/vue-YqIdEku3.js +34 -0
  642. package/dist/component/vue-html-BkvRG1qx.js +11 -0
  643. package/dist/component/vue-html-CXFz0iVx.js +11 -0
  644. package/dist/component/vue-vine-CFD4nsF4.js +21 -0
  645. package/dist/component/vue-vine-lE-jUeB6.js +21 -0
  646. package/dist/component/vyper-DTCkLS2f.js +9 -0
  647. package/dist/component/vyper-_vSvOdCD.js +9 -0
  648. package/dist/component/wardley-L42UT6IY-HA1eSIS_.js +23141 -0
  649. package/dist/component/wardleyDiagram-YWT4CUSO-Uu5KXQum.js +681 -0
  650. package/dist/component/wasm-BEUtLzBq.js +10 -0
  651. package/dist/component/wasm-Bw9k5bmy.js +9 -0
  652. package/dist/component/wasm-NiufRxKC.js +9 -0
  653. package/dist/component/wasm-rA9i46L9.js +10 -0
  654. package/dist/component/wenyan-BAnK6VvJ.js +9 -0
  655. package/dist/component/wenyan-EBJbIPqf.js +9 -0
  656. package/dist/component/wgsl-B9MSpOv3.js +9 -0
  657. package/dist/component/wgsl-Dlg8zdV4.js +9 -0
  658. package/dist/component/wikitext-C8AvgBS7.js +9 -0
  659. package/dist/component/wikitext-sNd9wc1e.js +9 -0
  660. package/dist/component/wit-BM4EHoLb.js +9 -0
  661. package/dist/component/wit-BUXWAgVD.js +9 -0
  662. package/dist/component/wolfram-Ba-Qm5eW.js +9 -0
  663. package/dist/component/wolfram-CKRVXwGa.js +9 -0
  664. package/dist/component/xml-CE4MTCb-.js +11 -0
  665. package/dist/component/xml-DXvCmeFI.js +11 -0
  666. package/dist/component/xsl-BrFD-9o5.js +11 -0
  667. package/dist/component/xsl-CHBQO4kd.js +11 -0
  668. package/dist/component/xychartDiagram-2RQKCTM6-IkxwUbCF.js +1375 -0
  669. package/dist/component/yaml-CF4mYNnF.js +9 -0
  670. package/dist/component/yaml-XzfbPk1C.js +9 -0
  671. package/dist/component/zenscript-C0pvNsdh.js +9 -0
  672. package/dist/component/zenscript-xkkNgCqg.js +9 -0
  673. package/dist/component/zig-Bz6GLPWH.js +9 -0
  674. package/dist/component/zig-oixaTxav.js +9 -0
  675. package/dist/components/ai-elements/attachments.d.ts +54 -0
  676. package/dist/components/ai-elements/code-block.d.ts +46 -0
  677. package/dist/components/ai-elements/conversation.d.ts +23 -0
  678. package/dist/components/ai-elements/copy-button.d.ts +6 -0
  679. package/dist/components/ai-elements/file-tree.d.ts +26 -0
  680. package/dist/components/ai-elements/link-safety-modal.d.ts +8 -0
  681. package/dist/components/ai-elements/message.d.ts +38 -0
  682. package/dist/components/ai-elements/plan.d.ts +25 -0
  683. package/dist/components/ai-elements/prompt-input.d.ts +158 -0
  684. package/dist/components/ai-elements/reasoning.d.ts +26 -0
  685. package/dist/components/ai-elements/shell-highlight.d.ts +3 -0
  686. package/dist/components/ai-elements/shimmer.d.ts +9 -0
  687. package/dist/components/ai-elements/suggestion.d.ts +10 -0
  688. package/dist/components/ai-elements/task.d.ts +14 -0
  689. package/dist/components/ai-elements/terminal-task.d.ts +5 -0
  690. package/dist/components/ai-elements/tool.d.ts +31 -0
  691. package/dist/components/embed/AgentGrantCard.d.ts +25 -0
  692. package/dist/components/embed/AtMentionMenu.d.ts +13 -0
  693. package/dist/components/embed/BelongMark.d.ts +4 -0
  694. package/dist/components/embed/BrandMark.d.ts +11 -0
  695. package/dist/components/embed/CapabilityHints.d.ts +1 -0
  696. package/dist/components/embed/ComposerMenu.d.ts +36 -0
  697. package/dist/components/embed/CsvTable.d.ts +10 -0
  698. package/dist/components/embed/EmbedAvatar.d.ts +35 -0
  699. package/dist/components/embed/EmbedComposer.d.ts +31 -0
  700. package/dist/components/embed/EmbedConversation.d.ts +31 -0
  701. package/dist/components/embed/EmbedFiles.d.ts +28 -0
  702. package/dist/components/embed/EmbedHeader.d.ts +11 -0
  703. package/dist/components/embed/EmbedLogin.d.ts +11 -0
  704. package/dist/components/embed/EmbedRail.d.ts +49 -0
  705. package/dist/components/embed/EmbedSessions.d.ts +23 -0
  706. package/dist/components/embed/FilePreview.d.ts +12 -0
  707. package/dist/components/embed/FilePreviewDialog.d.ts +19 -0
  708. package/dist/components/embed/MentionInput.d.ts +23 -0
  709. package/dist/components/embed/MentionPill.d.ts +25 -0
  710. package/dist/components/embed/OnboardingOverlay.d.ts +21 -0
  711. package/dist/components/embed/OnboardingTour.d.ts +24 -0
  712. package/dist/components/embed/OnboardingWelcome.d.ts +23 -0
  713. package/dist/components/embed/PlanCue.d.ts +9 -0
  714. package/dist/components/embed/PlanPanel.d.ts +13 -0
  715. package/dist/components/embed/PlanView.d.ts +16 -0
  716. package/dist/components/embed/PoweredByBelong.d.ts +7 -0
  717. package/dist/components/embed/PreviewContent.d.ts +26 -0
  718. package/dist/components/embed/PreviewPanel.d.ts +17 -0
  719. package/dist/components/embed/ProgressRing.d.ts +13 -0
  720. package/dist/components/embed/SlashCommandMenu.d.ts +13 -0
  721. package/dist/components/embed/UploadedFiles.d.ts +9 -0
  722. package/dist/components/embed/UsageMeter.d.ts +9 -0
  723. package/dist/components/embed/WelcomeIntro.d.ts +10 -0
  724. package/dist/components/embed/WorkspaceTree.d.ts +22 -0
  725. package/dist/components/embed/__plan-test-utils__.d.ts +13 -0
  726. package/dist/components/embed/dev-runtime-bar.d.ts +21 -0
  727. package/dist/components/embed/embed-composer.fixtures.d.ts +3 -0
  728. package/dist/components/embed/embed-rail.fixtures.d.ts +3 -0
  729. package/dist/components/embed/file-preview-kind.d.ts +7 -0
  730. package/dist/components/embed/onboarding-story-dock.d.ts +20 -0
  731. package/dist/components/embed/onboarding.fixtures.d.ts +9 -0
  732. package/dist/components/embed/parse-csv.d.ts +10 -0
  733. package/dist/components/embed/preview-content-kind.d.ts +15 -0
  734. package/dist/components/embed/use-panel-resize.d.ts +4 -0
  735. package/dist/components/embed/use-preview-bytes.d.ts +39 -0
  736. package/dist/components/feedback/feedback-metadata.d.ts +37 -0
  737. package/dist/components/feedback/message-feedback.d.ts +9 -0
  738. package/dist/components/ui/accordion.d.ts +7 -0
  739. package/dist/components/ui/alert.d.ts +9 -0
  740. package/dist/components/ui/avatar.d.ts +11 -0
  741. package/dist/components/ui/badge.d.ts +9 -0
  742. package/dist/components/ui/button-group.d.ts +11 -0
  743. package/dist/components/ui/button.d.ts +10 -0
  744. package/dist/components/ui/card.d.ts +9 -0
  745. package/dist/components/ui/carousel.d.ts +19 -0
  746. package/dist/components/ui/checkbox.d.ts +4 -0
  747. package/dist/components/ui/collapsible.d.ts +5 -0
  748. package/dist/components/ui/command.d.ts +18 -0
  749. package/dist/components/ui/dialog.d.ts +17 -0
  750. package/dist/components/ui/dropdown-menu.d.ts +25 -0
  751. package/dist/components/ui/hover-card.d.ts +6 -0
  752. package/dist/components/ui/input-group.d.ts +16 -0
  753. package/dist/components/ui/input.d.ts +3 -0
  754. package/dist/components/ui/popover.d.ts +10 -0
  755. package/dist/components/ui/progress.d.ts +4 -0
  756. package/dist/components/ui/radio-group.d.ts +5 -0
  757. package/dist/components/ui/scroll-area.d.ts +5 -0
  758. package/dist/components/ui/select.d.ts +15 -0
  759. package/dist/components/ui/separator.d.ts +4 -0
  760. package/dist/components/ui/spinner.d.ts +2 -0
  761. package/dist/components/ui/switch.d.ts +6 -0
  762. package/dist/components/ui/tabs.d.ts +11 -0
  763. package/dist/components/ui/textarea.d.ts +3 -0
  764. package/dist/components/ui/tooltip.d.ts +7 -0
  765. package/dist/dev-main.d.ts +0 -0
  766. package/dist/embed/agent-grant-refresh.d.ts +37 -0
  767. package/dist/embed/at-mentions.d.ts +80 -0
  768. package/dist/embed/auth0-refresh.d.ts +78 -0
  769. package/dist/embed/auto-embed.d.ts +19 -0
  770. package/dist/embed/bootstrap.d.ts +10 -0
  771. package/dist/embed/brand-marks.d.ts +11 -0
  772. package/dist/embed/build-info.d.ts +30 -0
  773. package/dist/embed/build-version.d.ts +28 -0
  774. package/dist/embed/chat-mode.d.ts +46 -0
  775. package/dist/embed/composer-focus.d.ts +14 -0
  776. package/dist/embed/copy.d.ts +84 -0
  777. package/dist/embed/custom-css.d.ts +2 -0
  778. package/dist/embed/debug-overrides.d.ts +11 -0
  779. package/dist/embed/dev-mode.d.ts +56 -0
  780. package/dist/embed/dock-layout.d.ts +30 -0
  781. package/dist/embed/dock-state.d.ts +32 -0
  782. package/dist/embed/download-url.d.ts +9 -0
  783. package/dist/embed/file-type-icon.d.ts +29 -0
  784. package/dist/embed/format-bytes.d.ts +2 -0
  785. package/dist/embed/global.d.ts +79 -0
  786. package/dist/embed/locale.d.ts +18 -0
  787. package/dist/embed/logo.d.ts +1 -0
  788. package/dist/embed/mic-press.d.ts +27 -0
  789. package/dist/embed/onboarding-prefs.d.ts +52 -0
  790. package/dist/embed/onboarding-steps.d.ts +27 -0
  791. package/dist/embed/onboarding-store.d.ts +39 -0
  792. package/dist/embed/plan-auto-open.d.ts +8 -0
  793. package/dist/embed/plan-decision.d.ts +10 -0
  794. package/dist/embed/plan-intent.d.ts +17 -0
  795. package/dist/embed/portal-container.d.ts +23 -0
  796. package/dist/embed/presets.d.ts +29 -0
  797. package/dist/embed/session-record.d.ts +16 -0
  798. package/dist/embed/shadow-mount.d.ts +37 -0
  799. package/dist/embed/slash-commands.d.ts +49 -0
  800. package/dist/embed/theme.d.ts +40 -0
  801. package/dist/embed/universe-origin.d.ts +24 -0
  802. package/dist/embed/use-workspace-file-download.d.ts +16 -0
  803. package/dist/embed/voice/audio-forwarder.worklet.d.ts +22 -0
  804. package/dist/embed/voice/audio-utils.d.ts +38 -0
  805. package/dist/embed/voice/deepgram-stt.d.ts +69 -0
  806. package/dist/embed/voice/mic-capture.d.ts +34 -0
  807. package/dist/embed/voice/sentence-split.d.ts +11 -0
  808. package/dist/embed/voice/voice-http.d.ts +8 -0
  809. package/dist/embed/voice/voice-token.d.ts +40 -0
  810. package/dist/embed/voice-bus.d.ts +75 -0
  811. package/dist/embed/voice-config.d.ts +52 -0
  812. package/dist/embed/voice-fillers.d.ts +2 -0
  813. package/dist/embed/voice-prefs.d.ts +55 -0
  814. package/dist/embed/voice-tts.d.ts +101 -0
  815. package/dist/embed/workspace-paths.d.ts +9 -0
  816. package/dist/infrastructure/telemetry/session-span-processor.d.ts +11 -0
  817. package/dist/infrastructure/telemetry/web-sdk.d.ts +29 -0
  818. package/dist/lib/belong.d.ts +12 -0
  819. package/dist/lib/tab-leadership.d.ts +46 -0
  820. package/dist/lib/use-tab-leadership.d.ts +8 -0
  821. package/dist/lib/utils.d.ts +9 -0
  822. package/dist/public-api.d.ts +3 -0
  823. package/dist/routes/chat-attachment-chip.d.ts +9 -0
  824. package/dist/routes/chat.d.ts +29 -0
  825. package/dist/routes/documents.d.ts +16 -0
  826. package/dist/routes/files.d.ts +14 -0
  827. package/dist/routes/sample-artifact.d.ts +7 -0
  828. package/dist/routes/sessions.d.ts +4 -0
  829. package/dist/routes/static-chat-fixture.d.ts +26 -0
  830. package/dist/stream/ai-sdk-part-renderers.d.ts +66 -0
  831. package/dist/stream/belong-chat-transport.d.ts +679 -0
  832. package/dist/stream/belong-data-parts.d.ts +207 -0
  833. package/dist/stream/chat-upload.d.ts +35 -0
  834. package/dist/stream/plan-panel-store.d.ts +11 -0
  835. package/dist/stream/plan-progress-store.d.ts +4 -0
  836. package/dist/stream/plan-progress.d.ts +25 -0
  837. package/dist/stream/plan-store.d.ts +16 -0
  838. package/dist/stream/preview-panel-store.d.ts +50 -0
  839. package/dist/stream/sandbox-output.d.ts +32 -0
  840. package/dist/stream/select-latest-plan.d.ts +17 -0
  841. package/dist/stream/select-session-usage.d.ts +23 -0
  842. package/dist/stream/session-title.d.ts +15 -0
  843. package/dist/stream/stream-state-store.d.ts +67 -0
  844. package/dist/stream/tool-io.d.ts +7 -0
  845. package/dist/test/render.d.ts +23 -0
  846. package/dist/test-setup.d.ts +1 -0
  847. package/dist/types/public.d.ts +189 -0
  848. package/package.json +38 -0
@@ -0,0 +1,2709 @@
1
+ import { bi as on, bj as $n, bk as cn, bl as un, bm as ln, bn as ue, bo as On, b7 as oe, g as Hn, s as Nn, t as Pn, q as Rn, a as Vn, b as zn, _ as d, c as Yt, d as Zt, e as qn, bp as rt, l as Tt, k as Bn, j as Zn, B as Xn, u as Gn } from "./mermaid-GHXKKRXX-C5Y3BZXR.js";
2
+ import { b as jn, t as Ne, c as Qn, a as Jn, l as Kn } from "./linear-BDyEUcVD.js";
3
+ import { i as tr } from "./init-BOu0eQYQ.js";
4
+ globalThis.process = globalThis.process || { env: {} };
5
+ globalThis.global = globalThis.global || globalThis;
6
+ function er(t, e) {
7
+ let n;
8
+ if (e === void 0)
9
+ for (const r of t)
10
+ r != null && (n < r || n === void 0 && r >= r) && (n = r);
11
+ else {
12
+ let r = -1;
13
+ for (let i of t)
14
+ (i = e(i, ++r, t)) != null && (n < i || n === void 0 && i >= i) && (n = i);
15
+ }
16
+ return n;
17
+ }
18
+ function nr(t, e) {
19
+ let n;
20
+ if (e === void 0)
21
+ for (const r of t)
22
+ r != null && (n > r || n === void 0 && r >= r) && (n = r);
23
+ else {
24
+ let r = -1;
25
+ for (let i of t)
26
+ (i = e(i, ++r, t)) != null && (n > i || n === void 0 && i >= i) && (n = i);
27
+ }
28
+ return n;
29
+ }
30
+ function rr(t) {
31
+ return t;
32
+ }
33
+ var Gt = 1, le = 2, xe = 3, Xt = 4, Pe = 1e-6;
34
+ function ir(t) {
35
+ return "translate(" + t + ",0)";
36
+ }
37
+ function sr(t) {
38
+ return "translate(0," + t + ")";
39
+ }
40
+ function ar(t) {
41
+ return (e) => +t(e);
42
+ }
43
+ function or(t, e) {
44
+ return e = Math.max(0, t.bandwidth() - e * 2) / 2, t.round() && (e = Math.round(e)), (n) => +t(n) + e;
45
+ }
46
+ function cr() {
47
+ return !this.__axis;
48
+ }
49
+ function fn(t, e) {
50
+ var n = [], r = null, i = null, a = 6, c = 6, m = 3, Y = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, C = t === Gt || t === Xt ? -1 : 1, p = t === Xt || t === le ? "x" : "y", L = t === Gt || t === xe ? ir : sr;
51
+ function _(S) {
52
+ var B = r ?? (e.ticks ? e.ticks.apply(e, n) : e.domain()), A = i ?? (e.tickFormat ? e.tickFormat.apply(e, n) : rr), U = Math.max(a, 0) + m, I = e.range(), N = +I[0] + Y, W = +I[I.length - 1] + Y, q = (e.bandwidth ? or : ar)(e.copy(), Y), j = S.selection ? S.selection() : S, k = j.selectAll(".domain").data([null]), g = j.selectAll(".tick").data(B, e).order(), y = g.exit(), h = g.enter().append("g").attr("class", "tick"), D = g.select("line"), w = g.select("text");
53
+ k = k.merge(k.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), g = g.merge(h), D = D.merge(h.append("line").attr("stroke", "currentColor").attr(p + "2", C * a)), w = w.merge(h.append("text").attr("fill", "currentColor").attr(p, C * U).attr("dy", t === Gt ? "0em" : t === xe ? "0.71em" : "0.32em")), S !== j && (k = k.transition(S), g = g.transition(S), D = D.transition(S), w = w.transition(S), y = y.transition(S).attr("opacity", Pe).attr("transform", function(T) {
54
+ return isFinite(T = q(T)) ? L(T + Y) : this.getAttribute("transform");
55
+ }), h.attr("opacity", Pe).attr("transform", function(T) {
56
+ var v = this.parentNode.__axis;
57
+ return L((v && isFinite(v = v(T)) ? v : q(T)) + Y);
58
+ })), y.remove(), k.attr("d", t === Xt || t === le ? c ? "M" + C * c + "," + N + "H" + Y + "V" + W + "H" + C * c : "M" + Y + "," + N + "V" + W : c ? "M" + N + "," + C * c + "V" + Y + "H" + W + "V" + C * c : "M" + N + "," + Y + "H" + W), g.attr("opacity", 1).attr("transform", function(T) {
59
+ return L(q(T) + Y);
60
+ }), D.attr(p + "2", C * a), w.attr(p, C * U).text(A), j.filter(cr).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", t === le ? "start" : t === Xt ? "end" : "middle"), j.each(function() {
61
+ this.__axis = q;
62
+ });
63
+ }
64
+ return _.scale = function(S) {
65
+ return arguments.length ? (e = S, _) : e;
66
+ }, _.ticks = function() {
67
+ return n = Array.from(arguments), _;
68
+ }, _.tickArguments = function(S) {
69
+ return arguments.length ? (n = S == null ? [] : Array.from(S), _) : n.slice();
70
+ }, _.tickValues = function(S) {
71
+ return arguments.length ? (r = S == null ? null : Array.from(S), _) : r && r.slice();
72
+ }, _.tickFormat = function(S) {
73
+ return arguments.length ? (i = S, _) : i;
74
+ }, _.tickSize = function(S) {
75
+ return arguments.length ? (a = c = +S, _) : a;
76
+ }, _.tickSizeInner = function(S) {
77
+ return arguments.length ? (a = +S, _) : a;
78
+ }, _.tickSizeOuter = function(S) {
79
+ return arguments.length ? (c = +S, _) : c;
80
+ }, _.tickPadding = function(S) {
81
+ return arguments.length ? (m = +S, _) : m;
82
+ }, _.offset = function(S) {
83
+ return arguments.length ? (Y = +S, _) : Y;
84
+ }, _;
85
+ }
86
+ function ur(t) {
87
+ return fn(Gt, t);
88
+ }
89
+ function lr(t) {
90
+ return fn(xe, t);
91
+ }
92
+ const fr = Math.PI / 180, dr = 180 / Math.PI, ne = 18, dn = 0.96422, hn = 1, mn = 0.82521, gn = 4 / 29, Ft = 6 / 29, yn = 3 * Ft * Ft, hr = Ft * Ft * Ft;
93
+ function kn(t) {
94
+ if (t instanceof ft) return new ft(t.l, t.a, t.b, t.opacity);
95
+ if (t instanceof ht) return pn(t);
96
+ t instanceof on || (t = $n(t));
97
+ var e = me(t.r), n = me(t.g), r = me(t.b), i = fe((0.2225045 * e + 0.7168786 * n + 0.0606169 * r) / hn), a, c;
98
+ return e === n && n === r ? a = c = i : (a = fe((0.4360747 * e + 0.3850649 * n + 0.1430804 * r) / dn), c = fe((0.0139322 * e + 0.0971045 * n + 0.7141733 * r) / mn)), new ft(116 * i - 16, 500 * (a - i), 200 * (i - c), t.opacity);
99
+ }
100
+ function mr(t, e, n, r) {
101
+ return arguments.length === 1 ? kn(t) : new ft(t, e, n, r ?? 1);
102
+ }
103
+ function ft(t, e, n, r) {
104
+ this.l = +t, this.a = +e, this.b = +n, this.opacity = +r;
105
+ }
106
+ cn(ft, mr, un(ln, {
107
+ brighter(t) {
108
+ return new ft(this.l + ne * (t ?? 1), this.a, this.b, this.opacity);
109
+ },
110
+ darker(t) {
111
+ return new ft(this.l - ne * (t ?? 1), this.a, this.b, this.opacity);
112
+ },
113
+ rgb() {
114
+ var t = (this.l + 16) / 116, e = isNaN(this.a) ? t : t + this.a / 500, n = isNaN(this.b) ? t : t - this.b / 200;
115
+ return e = dn * de(e), t = hn * de(t), n = mn * de(n), new on(
116
+ he(3.1338561 * e - 1.6168667 * t - 0.4906146 * n),
117
+ he(-0.9787684 * e + 1.9161415 * t + 0.033454 * n),
118
+ he(0.0719453 * e - 0.2289914 * t + 1.4052427 * n),
119
+ this.opacity
120
+ );
121
+ }
122
+ }));
123
+ function fe(t) {
124
+ return t > hr ? Math.pow(t, 1 / 3) : t / yn + gn;
125
+ }
126
+ function de(t) {
127
+ return t > Ft ? t * t * t : yn * (t - gn);
128
+ }
129
+ function he(t) {
130
+ return 255 * (t <= 31308e-7 ? 12.92 * t : 1.055 * Math.pow(t, 1 / 2.4) - 0.055);
131
+ }
132
+ function me(t) {
133
+ return (t /= 255) <= 0.04045 ? t / 12.92 : Math.pow((t + 0.055) / 1.055, 2.4);
134
+ }
135
+ function gr(t) {
136
+ if (t instanceof ht) return new ht(t.h, t.c, t.l, t.opacity);
137
+ if (t instanceof ft || (t = kn(t)), t.a === 0 && t.b === 0) return new ht(NaN, 0 < t.l && t.l < 100 ? 0 : NaN, t.l, t.opacity);
138
+ var e = Math.atan2(t.b, t.a) * dr;
139
+ return new ht(e < 0 ? e + 360 : e, Math.sqrt(t.a * t.a + t.b * t.b), t.l, t.opacity);
140
+ }
141
+ function be(t, e, n, r) {
142
+ return arguments.length === 1 ? gr(t) : new ht(t, e, n, r ?? 1);
143
+ }
144
+ function ht(t, e, n, r) {
145
+ this.h = +t, this.c = +e, this.l = +n, this.opacity = +r;
146
+ }
147
+ function pn(t) {
148
+ if (isNaN(t.h)) return new ft(t.l, 0, 0, t.opacity);
149
+ var e = t.h * fr;
150
+ return new ft(t.l, Math.cos(e) * t.c, Math.sin(e) * t.c, t.opacity);
151
+ }
152
+ cn(ht, be, un(ln, {
153
+ brighter(t) {
154
+ return new ht(this.h, this.c, this.l + ne * (t ?? 1), this.opacity);
155
+ },
156
+ darker(t) {
157
+ return new ht(this.h, this.c, this.l - ne * (t ?? 1), this.opacity);
158
+ },
159
+ rgb() {
160
+ return pn(this).rgb();
161
+ }
162
+ }));
163
+ function yr(t) {
164
+ return function(e, n) {
165
+ var r = t((e = be(e)).h, (n = be(n)).h), i = ue(e.c, n.c), a = ue(e.l, n.l), c = ue(e.opacity, n.opacity);
166
+ return function(m) {
167
+ return e.h = r(m), e.c = i(m), e.l = a(m), e.opacity = c(m), e + "";
168
+ };
169
+ };
170
+ }
171
+ const kr = yr(On);
172
+ function pr(t, e) {
173
+ t = t.slice();
174
+ var n = 0, r = t.length - 1, i = t[n], a = t[r], c;
175
+ 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;
176
+ }
177
+ const ge = /* @__PURE__ */ new Date(), ye = /* @__PURE__ */ new Date();
178
+ function et(t, e, n, r) {
179
+ function i(a) {
180
+ return t(a = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+a)), a;
181
+ }
182
+ 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) => {
183
+ const c = i(a), m = i.ceil(a);
184
+ return a - c < m - a ? c : m;
185
+ }, i.offset = (a, c) => (e(a = /* @__PURE__ */ new Date(+a), c == null ? 1 : Math.floor(c)), a), i.range = (a, c, m) => {
186
+ const Y = [];
187
+ if (a = i.ceil(a), m = m == null ? 1 : Math.floor(m), !(a < c) || !(m > 0)) return Y;
188
+ let C;
189
+ do
190
+ Y.push(C = /* @__PURE__ */ new Date(+a)), e(a, m), t(a);
191
+ while (C < a && a < c);
192
+ return Y;
193
+ }, i.filter = (a) => et((c) => {
194
+ if (c >= c) for (; t(c), !a(c); ) c.setTime(c - 1);
195
+ }, (c, m) => {
196
+ if (c >= c)
197
+ if (m < 0) for (; ++m <= 0; )
198
+ for (; e(c, -1), !a(c); )
199
+ ;
200
+ else for (; --m >= 0; )
201
+ for (; e(c, 1), !a(c); )
202
+ ;
203
+ }), n && (i.count = (a, c) => (ge.setTime(+a), ye.setTime(+c), t(ge), t(ye), Math.floor(n(ge, ye))), 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;
204
+ }
205
+ const Et = et(() => {
206
+ }, (t, e) => {
207
+ t.setTime(+t + e);
208
+ }, (t, e) => e - t);
209
+ Et.every = (t) => (t = Math.floor(t), !isFinite(t) || !(t > 0) ? null : t > 1 ? et((e) => {
210
+ e.setTime(Math.floor(e / t) * t);
211
+ }, (e, n) => {
212
+ e.setTime(+e + n * t);
213
+ }, (e, n) => (n - e) / t) : Et);
214
+ Et.range;
215
+ const mt = 1e3, ct = mt * 60, gt = ct * 60, yt = gt * 24, Se = yt * 7, Re = yt * 30, ke = yt * 365, vt = et((t) => {
216
+ t.setTime(t - t.getMilliseconds());
217
+ }, (t, e) => {
218
+ t.setTime(+t + e * mt);
219
+ }, (t, e) => (e - t) / mt, (t) => t.getUTCSeconds());
220
+ vt.range;
221
+ const Ot = et((t) => {
222
+ t.setTime(t - t.getMilliseconds() - t.getSeconds() * mt);
223
+ }, (t, e) => {
224
+ t.setTime(+t + e * ct);
225
+ }, (t, e) => (e - t) / ct, (t) => t.getMinutes());
226
+ Ot.range;
227
+ const vr = et((t) => {
228
+ t.setUTCSeconds(0, 0);
229
+ }, (t, e) => {
230
+ t.setTime(+t + e * ct);
231
+ }, (t, e) => (e - t) / ct, (t) => t.getUTCMinutes());
232
+ vr.range;
233
+ const Ht = et((t) => {
234
+ t.setTime(t - t.getMilliseconds() - t.getSeconds() * mt - t.getMinutes() * ct);
235
+ }, (t, e) => {
236
+ t.setTime(+t + e * gt);
237
+ }, (t, e) => (e - t) / gt, (t) => t.getHours());
238
+ Ht.range;
239
+ const Tr = et((t) => {
240
+ t.setUTCMinutes(0, 0, 0);
241
+ }, (t, e) => {
242
+ t.setTime(+t + e * gt);
243
+ }, (t, e) => (e - t) / gt, (t) => t.getUTCHours());
244
+ Tr.range;
245
+ const xt = et(
246
+ (t) => t.setHours(0, 0, 0, 0),
247
+ (t, e) => t.setDate(t.getDate() + e),
248
+ (t, e) => (e - t - (e.getTimezoneOffset() - t.getTimezoneOffset()) * ct) / yt,
249
+ (t) => t.getDate() - 1
250
+ );
251
+ xt.range;
252
+ const _e = et((t) => {
253
+ t.setUTCHours(0, 0, 0, 0);
254
+ }, (t, e) => {
255
+ t.setUTCDate(t.getUTCDate() + e);
256
+ }, (t, e) => (e - t) / yt, (t) => t.getUTCDate() - 1);
257
+ _e.range;
258
+ const xr = et((t) => {
259
+ t.setUTCHours(0, 0, 0, 0);
260
+ }, (t, e) => {
261
+ t.setUTCDate(t.getUTCDate() + e);
262
+ }, (t, e) => (e - t) / yt, (t) => Math.floor(t / yt));
263
+ xr.range;
264
+ function Dt(t) {
265
+ return et((e) => {
266
+ e.setDate(e.getDate() - (e.getDay() + 7 - t) % 7), e.setHours(0, 0, 0, 0);
267
+ }, (e, n) => {
268
+ e.setDate(e.getDate() + n * 7);
269
+ }, (e, n) => (n - e - (n.getTimezoneOffset() - e.getTimezoneOffset()) * ct) / Se);
270
+ }
271
+ const Rt = Dt(0), Nt = Dt(1), vn = Dt(2), Tn = Dt(3), bt = Dt(4), xn = Dt(5), bn = Dt(6);
272
+ Rt.range;
273
+ Nt.range;
274
+ vn.range;
275
+ Tn.range;
276
+ bt.range;
277
+ xn.range;
278
+ bn.range;
279
+ function Mt(t) {
280
+ return et((e) => {
281
+ e.setUTCDate(e.getUTCDate() - (e.getUTCDay() + 7 - t) % 7), e.setUTCHours(0, 0, 0, 0);
282
+ }, (e, n) => {
283
+ e.setUTCDate(e.getUTCDate() + n * 7);
284
+ }, (e, n) => (n - e) / Se);
285
+ }
286
+ const wn = Mt(0), re = Mt(1), br = Mt(2), wr = Mt(3), It = Mt(4), Dr = Mt(5), Mr = Mt(6);
287
+ wn.range;
288
+ re.range;
289
+ br.range;
290
+ wr.range;
291
+ It.range;
292
+ Dr.range;
293
+ Mr.range;
294
+ const Pt = et((t) => {
295
+ t.setDate(1), t.setHours(0, 0, 0, 0);
296
+ }, (t, e) => {
297
+ t.setMonth(t.getMonth() + e);
298
+ }, (t, e) => e.getMonth() - t.getMonth() + (e.getFullYear() - t.getFullYear()) * 12, (t) => t.getMonth());
299
+ Pt.range;
300
+ const Cr = et((t) => {
301
+ t.setUTCDate(1), t.setUTCHours(0, 0, 0, 0);
302
+ }, (t, e) => {
303
+ t.setUTCMonth(t.getUTCMonth() + e);
304
+ }, (t, e) => e.getUTCMonth() - t.getUTCMonth() + (e.getUTCFullYear() - t.getUTCFullYear()) * 12, (t) => t.getUTCMonth());
305
+ Cr.range;
306
+ const kt = et((t) => {
307
+ t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
308
+ }, (t, e) => {
309
+ t.setFullYear(t.getFullYear() + e);
310
+ }, (t, e) => e.getFullYear() - t.getFullYear(), (t) => t.getFullYear());
311
+ kt.every = (t) => !isFinite(t = Math.floor(t)) || !(t > 0) ? null : et((e) => {
312
+ e.setFullYear(Math.floor(e.getFullYear() / t) * t), e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
313
+ }, (e, n) => {
314
+ e.setFullYear(e.getFullYear() + n * t);
315
+ });
316
+ kt.range;
317
+ const wt = et((t) => {
318
+ t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
319
+ }, (t, e) => {
320
+ t.setUTCFullYear(t.getUTCFullYear() + e);
321
+ }, (t, e) => e.getUTCFullYear() - t.getUTCFullYear(), (t) => t.getUTCFullYear());
322
+ wt.every = (t) => !isFinite(t = Math.floor(t)) || !(t > 0) ? null : et((e) => {
323
+ e.setUTCFullYear(Math.floor(e.getUTCFullYear() / t) * t), e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
324
+ }, (e, n) => {
325
+ e.setUTCFullYear(e.getUTCFullYear() + n * t);
326
+ });
327
+ wt.range;
328
+ function Sr(t, e, n, r, i, a) {
329
+ const c = [
330
+ [vt, 1, mt],
331
+ [vt, 5, 5 * mt],
332
+ [vt, 15, 15 * mt],
333
+ [vt, 30, 30 * mt],
334
+ [a, 1, ct],
335
+ [a, 5, 5 * ct],
336
+ [a, 15, 15 * ct],
337
+ [a, 30, 30 * ct],
338
+ [i, 1, gt],
339
+ [i, 3, 3 * gt],
340
+ [i, 6, 6 * gt],
341
+ [i, 12, 12 * gt],
342
+ [r, 1, yt],
343
+ [r, 2, 2 * yt],
344
+ [n, 1, Se],
345
+ [e, 1, Re],
346
+ [e, 3, 3 * Re],
347
+ [t, 1, ke]
348
+ ];
349
+ function m(C, p, L) {
350
+ const _ = p < C;
351
+ _ && ([C, p] = [p, C]);
352
+ const S = L && typeof L.range == "function" ? L : Y(C, p, L), B = S ? S.range(C, +p + 1) : [];
353
+ return _ ? B.reverse() : B;
354
+ }
355
+ function Y(C, p, L) {
356
+ const _ = Math.abs(p - C) / L, S = jn(([, , U]) => U).right(c, _);
357
+ if (S === c.length) return t.every(Ne(C / ke, p / ke, L));
358
+ if (S === 0) return Et.every(Math.max(Ne(C, p, L), 1));
359
+ const [B, A] = c[_ / c[S - 1][2] < c[S][2] / _ ? S - 1 : S];
360
+ return B.every(A);
361
+ }
362
+ return [m, Y];
363
+ }
364
+ const [_r, Yr] = Sr(kt, Pt, Rt, xt, Ht, Ot);
365
+ function pe(t) {
366
+ if (0 <= t.y && t.y < 100) {
367
+ var e = new Date(-1, t.m, t.d, t.H, t.M, t.S, t.L);
368
+ return e.setFullYear(t.y), e;
369
+ }
370
+ return new Date(t.y, t.m, t.d, t.H, t.M, t.S, t.L);
371
+ }
372
+ function ve(t) {
373
+ if (0 <= t.y && t.y < 100) {
374
+ var e = new Date(Date.UTC(-1, t.m, t.d, t.H, t.M, t.S, t.L));
375
+ return e.setUTCFullYear(t.y), e;
376
+ }
377
+ return new Date(Date.UTC(t.y, t.m, t.d, t.H, t.M, t.S, t.L));
378
+ }
379
+ function At(t, e, n) {
380
+ return { y: t, m: e, d: n, H: 0, M: 0, S: 0, L: 0 };
381
+ }
382
+ function Fr(t) {
383
+ var e = t.dateTime, n = t.date, r = t.time, i = t.periods, a = t.days, c = t.shortDays, m = t.months, Y = t.shortMonths, C = Wt(i), p = $t(i), L = Wt(a), _ = $t(a), S = Wt(c), B = $t(c), A = Wt(m), U = $t(m), I = Wt(Y), N = $t(Y), W = {
384
+ a: b,
385
+ A: F,
386
+ b: o,
387
+ B: X,
388
+ c: null,
389
+ d: Xe,
390
+ e: Xe,
391
+ f: Kr,
392
+ g: ui,
393
+ G: fi,
394
+ H: jr,
395
+ I: Qr,
396
+ j: Jr,
397
+ L: Dn,
398
+ m: ti,
399
+ M: ei,
400
+ p: s,
401
+ q: E,
402
+ Q: Qe,
403
+ s: Je,
404
+ S: ni,
405
+ u: ri,
406
+ U: ii,
407
+ V: si,
408
+ w: ai,
409
+ W: oi,
410
+ x: null,
411
+ X: null,
412
+ y: ci,
413
+ Y: li,
414
+ Z: di,
415
+ "%": je
416
+ }, q = {
417
+ a: z,
418
+ A: V,
419
+ b: P,
420
+ B: K,
421
+ c: null,
422
+ d: Ge,
423
+ e: Ge,
424
+ f: yi,
425
+ g: Ci,
426
+ G: _i,
427
+ H: hi,
428
+ I: mi,
429
+ j: gi,
430
+ L: Cn,
431
+ m: ki,
432
+ M: pi,
433
+ p: O,
434
+ q: st,
435
+ Q: Qe,
436
+ s: Je,
437
+ S: vi,
438
+ u: Ti,
439
+ U: xi,
440
+ V: bi,
441
+ w: wi,
442
+ W: Di,
443
+ x: null,
444
+ X: null,
445
+ y: Mi,
446
+ Y: Si,
447
+ Z: Yi,
448
+ "%": je
449
+ }, j = {
450
+ a: D,
451
+ A: w,
452
+ b: T,
453
+ B: v,
454
+ c: u,
455
+ d: Be,
456
+ e: Be,
457
+ f: Br,
458
+ g: qe,
459
+ G: ze,
460
+ H: Ze,
461
+ I: Ze,
462
+ j: Rr,
463
+ L: qr,
464
+ m: Pr,
465
+ M: Vr,
466
+ p: h,
467
+ q: Nr,
468
+ Q: Xr,
469
+ s: Gr,
470
+ S: zr,
471
+ u: Ar,
472
+ U: Wr,
473
+ V: $r,
474
+ w: Lr,
475
+ W: Or,
476
+ x: f,
477
+ X: x,
478
+ y: qe,
479
+ Y: ze,
480
+ Z: Hr,
481
+ "%": Zr
482
+ };
483
+ W.x = k(n, W), W.X = k(r, W), W.c = k(e, W), q.x = k(n, q), q.X = k(r, q), q.c = k(e, q);
484
+ function k(M, H) {
485
+ return function(R) {
486
+ var l = [], J = -1, $ = 0, Q = M.length, G, it, at;
487
+ for (R instanceof Date || (R = /* @__PURE__ */ new Date(+R)); ++J < Q; )
488
+ M.charCodeAt(J) === 37 && (l.push(M.slice($, J)), (it = Ve[G = M.charAt(++J)]) != null ? G = M.charAt(++J) : it = G === "e" ? " " : "0", (at = H[G]) && (G = at(R, it)), l.push(G), $ = J + 1);
489
+ return l.push(M.slice($, J)), l.join("");
490
+ };
491
+ }
492
+ function g(M, H) {
493
+ return function(R) {
494
+ var l = At(1900, void 0, 1), J = y(l, M, R += "", 0), $, Q;
495
+ if (J != R.length) return null;
496
+ if ("Q" in l) return new Date(l.Q);
497
+ if ("s" in l) return new Date(l.s * 1e3 + ("L" in l ? l.L : 0));
498
+ 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) {
499
+ if (l.V < 1 || l.V > 53) return null;
500
+ "w" in l || (l.w = 1), "Z" in l ? ($ = ve(At(l.y, 0, 1)), Q = $.getUTCDay(), $ = Q > 4 || Q === 0 ? re.ceil($) : re($), $ = _e.offset($, (l.V - 1) * 7), l.y = $.getUTCFullYear(), l.m = $.getUTCMonth(), l.d = $.getUTCDate() + (l.w + 6) % 7) : ($ = pe(At(l.y, 0, 1)), Q = $.getDay(), $ = Q > 4 || Q === 0 ? Nt.ceil($) : Nt($), $ = xt.offset($, (l.V - 1) * 7), l.y = $.getFullYear(), l.m = $.getMonth(), l.d = $.getDate() + (l.w + 6) % 7);
501
+ } 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 ? ve(At(l.y, 0, 1)).getUTCDay() : pe(At(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);
502
+ return "Z" in l ? (l.H += l.Z / 100 | 0, l.M += l.Z % 100, ve(l)) : pe(l);
503
+ };
504
+ }
505
+ function y(M, H, R, l) {
506
+ for (var J = 0, $ = H.length, Q = R.length, G, it; J < $; ) {
507
+ if (l >= Q) return -1;
508
+ if (G = H.charCodeAt(J++), G === 37) {
509
+ if (G = H.charAt(J++), it = j[G in Ve ? H.charAt(J++) : G], !it || (l = it(M, R, l)) < 0) return -1;
510
+ } else if (G != R.charCodeAt(l++))
511
+ return -1;
512
+ }
513
+ return l;
514
+ }
515
+ function h(M, H, R) {
516
+ var l = C.exec(H.slice(R));
517
+ return l ? (M.p = p.get(l[0].toLowerCase()), R + l[0].length) : -1;
518
+ }
519
+ function D(M, H, R) {
520
+ var l = S.exec(H.slice(R));
521
+ return l ? (M.w = B.get(l[0].toLowerCase()), R + l[0].length) : -1;
522
+ }
523
+ function w(M, H, R) {
524
+ var l = L.exec(H.slice(R));
525
+ return l ? (M.w = _.get(l[0].toLowerCase()), R + l[0].length) : -1;
526
+ }
527
+ function T(M, H, R) {
528
+ var l = I.exec(H.slice(R));
529
+ return l ? (M.m = N.get(l[0].toLowerCase()), R + l[0].length) : -1;
530
+ }
531
+ function v(M, H, R) {
532
+ var l = A.exec(H.slice(R));
533
+ return l ? (M.m = U.get(l[0].toLowerCase()), R + l[0].length) : -1;
534
+ }
535
+ function u(M, H, R) {
536
+ return y(M, e, H, R);
537
+ }
538
+ function f(M, H, R) {
539
+ return y(M, n, H, R);
540
+ }
541
+ function x(M, H, R) {
542
+ return y(M, r, H, R);
543
+ }
544
+ function b(M) {
545
+ return c[M.getDay()];
546
+ }
547
+ function F(M) {
548
+ return a[M.getDay()];
549
+ }
550
+ function o(M) {
551
+ return Y[M.getMonth()];
552
+ }
553
+ function X(M) {
554
+ return m[M.getMonth()];
555
+ }
556
+ function s(M) {
557
+ return i[+(M.getHours() >= 12)];
558
+ }
559
+ function E(M) {
560
+ return 1 + ~~(M.getMonth() / 3);
561
+ }
562
+ function z(M) {
563
+ return c[M.getUTCDay()];
564
+ }
565
+ function V(M) {
566
+ return a[M.getUTCDay()];
567
+ }
568
+ function P(M) {
569
+ return Y[M.getUTCMonth()];
570
+ }
571
+ function K(M) {
572
+ return m[M.getUTCMonth()];
573
+ }
574
+ function O(M) {
575
+ return i[+(M.getUTCHours() >= 12)];
576
+ }
577
+ function st(M) {
578
+ return 1 + ~~(M.getUTCMonth() / 3);
579
+ }
580
+ return {
581
+ format: function(M) {
582
+ var H = k(M += "", W);
583
+ return H.toString = function() {
584
+ return M;
585
+ }, H;
586
+ },
587
+ parse: function(M) {
588
+ var H = g(M += "", !1);
589
+ return H.toString = function() {
590
+ return M;
591
+ }, H;
592
+ },
593
+ utcFormat: function(M) {
594
+ var H = k(M += "", q);
595
+ return H.toString = function() {
596
+ return M;
597
+ }, H;
598
+ },
599
+ utcParse: function(M) {
600
+ var H = g(M += "", !0);
601
+ return H.toString = function() {
602
+ return M;
603
+ }, H;
604
+ }
605
+ };
606
+ }
607
+ var Ve = { "-": "", _: " ", 0: "0" }, nt = /^\s*\d+/, Ur = /^%/, Er = /[\\^$*+?|[\]().{}]/g;
608
+ function Z(t, e, n) {
609
+ var r = t < 0 ? "-" : "", i = (r ? -t : t) + "", a = i.length;
610
+ return r + (a < n ? new Array(n - a + 1).join(e) + i : i);
611
+ }
612
+ function Ir(t) {
613
+ return t.replace(Er, "\\$&");
614
+ }
615
+ function Wt(t) {
616
+ return new RegExp("^(?:" + t.map(Ir).join("|") + ")", "i");
617
+ }
618
+ function $t(t) {
619
+ return new Map(t.map((e, n) => [e.toLowerCase(), n]));
620
+ }
621
+ function Lr(t, e, n) {
622
+ var r = nt.exec(e.slice(n, n + 1));
623
+ return r ? (t.w = +r[0], n + r[0].length) : -1;
624
+ }
625
+ function Ar(t, e, n) {
626
+ var r = nt.exec(e.slice(n, n + 1));
627
+ return r ? (t.u = +r[0], n + r[0].length) : -1;
628
+ }
629
+ function Wr(t, e, n) {
630
+ var r = nt.exec(e.slice(n, n + 2));
631
+ return r ? (t.U = +r[0], n + r[0].length) : -1;
632
+ }
633
+ function $r(t, e, n) {
634
+ var r = nt.exec(e.slice(n, n + 2));
635
+ return r ? (t.V = +r[0], n + r[0].length) : -1;
636
+ }
637
+ function Or(t, e, n) {
638
+ var r = nt.exec(e.slice(n, n + 2));
639
+ return r ? (t.W = +r[0], n + r[0].length) : -1;
640
+ }
641
+ function ze(t, e, n) {
642
+ var r = nt.exec(e.slice(n, n + 4));
643
+ return r ? (t.y = +r[0], n + r[0].length) : -1;
644
+ }
645
+ function qe(t, e, n) {
646
+ var r = nt.exec(e.slice(n, n + 2));
647
+ return r ? (t.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
648
+ }
649
+ function Hr(t, e, n) {
650
+ var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n, n + 6));
651
+ return r ? (t.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
652
+ }
653
+ function Nr(t, e, n) {
654
+ var r = nt.exec(e.slice(n, n + 1));
655
+ return r ? (t.q = r[0] * 3 - 3, n + r[0].length) : -1;
656
+ }
657
+ function Pr(t, e, n) {
658
+ var r = nt.exec(e.slice(n, n + 2));
659
+ return r ? (t.m = r[0] - 1, n + r[0].length) : -1;
660
+ }
661
+ function Be(t, e, n) {
662
+ var r = nt.exec(e.slice(n, n + 2));
663
+ return r ? (t.d = +r[0], n + r[0].length) : -1;
664
+ }
665
+ function Rr(t, e, n) {
666
+ var r = nt.exec(e.slice(n, n + 3));
667
+ return r ? (t.m = 0, t.d = +r[0], n + r[0].length) : -1;
668
+ }
669
+ function Ze(t, e, n) {
670
+ var r = nt.exec(e.slice(n, n + 2));
671
+ return r ? (t.H = +r[0], n + r[0].length) : -1;
672
+ }
673
+ function Vr(t, e, n) {
674
+ var r = nt.exec(e.slice(n, n + 2));
675
+ return r ? (t.M = +r[0], n + r[0].length) : -1;
676
+ }
677
+ function zr(t, e, n) {
678
+ var r = nt.exec(e.slice(n, n + 2));
679
+ return r ? (t.S = +r[0], n + r[0].length) : -1;
680
+ }
681
+ function qr(t, e, n) {
682
+ var r = nt.exec(e.slice(n, n + 3));
683
+ return r ? (t.L = +r[0], n + r[0].length) : -1;
684
+ }
685
+ function Br(t, e, n) {
686
+ var r = nt.exec(e.slice(n, n + 6));
687
+ return r ? (t.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
688
+ }
689
+ function Zr(t, e, n) {
690
+ var r = Ur.exec(e.slice(n, n + 1));
691
+ return r ? n + r[0].length : -1;
692
+ }
693
+ function Xr(t, e, n) {
694
+ var r = nt.exec(e.slice(n));
695
+ return r ? (t.Q = +r[0], n + r[0].length) : -1;
696
+ }
697
+ function Gr(t, e, n) {
698
+ var r = nt.exec(e.slice(n));
699
+ return r ? (t.s = +r[0], n + r[0].length) : -1;
700
+ }
701
+ function Xe(t, e) {
702
+ return Z(t.getDate(), e, 2);
703
+ }
704
+ function jr(t, e) {
705
+ return Z(t.getHours(), e, 2);
706
+ }
707
+ function Qr(t, e) {
708
+ return Z(t.getHours() % 12 || 12, e, 2);
709
+ }
710
+ function Jr(t, e) {
711
+ return Z(1 + xt.count(kt(t), t), e, 3);
712
+ }
713
+ function Dn(t, e) {
714
+ return Z(t.getMilliseconds(), e, 3);
715
+ }
716
+ function Kr(t, e) {
717
+ return Dn(t, e) + "000";
718
+ }
719
+ function ti(t, e) {
720
+ return Z(t.getMonth() + 1, e, 2);
721
+ }
722
+ function ei(t, e) {
723
+ return Z(t.getMinutes(), e, 2);
724
+ }
725
+ function ni(t, e) {
726
+ return Z(t.getSeconds(), e, 2);
727
+ }
728
+ function ri(t) {
729
+ var e = t.getDay();
730
+ return e === 0 ? 7 : e;
731
+ }
732
+ function ii(t, e) {
733
+ return Z(Rt.count(kt(t) - 1, t), e, 2);
734
+ }
735
+ function Mn(t) {
736
+ var e = t.getDay();
737
+ return e >= 4 || e === 0 ? bt(t) : bt.ceil(t);
738
+ }
739
+ function si(t, e) {
740
+ return t = Mn(t), Z(bt.count(kt(t), t) + (kt(t).getDay() === 4), e, 2);
741
+ }
742
+ function ai(t) {
743
+ return t.getDay();
744
+ }
745
+ function oi(t, e) {
746
+ return Z(Nt.count(kt(t) - 1, t), e, 2);
747
+ }
748
+ function ci(t, e) {
749
+ return Z(t.getFullYear() % 100, e, 2);
750
+ }
751
+ function ui(t, e) {
752
+ return t = Mn(t), Z(t.getFullYear() % 100, e, 2);
753
+ }
754
+ function li(t, e) {
755
+ return Z(t.getFullYear() % 1e4, e, 4);
756
+ }
757
+ function fi(t, e) {
758
+ var n = t.getDay();
759
+ return t = n >= 4 || n === 0 ? bt(t) : bt.ceil(t), Z(t.getFullYear() % 1e4, e, 4);
760
+ }
761
+ function di(t) {
762
+ var e = t.getTimezoneOffset();
763
+ return (e > 0 ? "-" : (e *= -1, "+")) + Z(e / 60 | 0, "0", 2) + Z(e % 60, "0", 2);
764
+ }
765
+ function Ge(t, e) {
766
+ return Z(t.getUTCDate(), e, 2);
767
+ }
768
+ function hi(t, e) {
769
+ return Z(t.getUTCHours(), e, 2);
770
+ }
771
+ function mi(t, e) {
772
+ return Z(t.getUTCHours() % 12 || 12, e, 2);
773
+ }
774
+ function gi(t, e) {
775
+ return Z(1 + _e.count(wt(t), t), e, 3);
776
+ }
777
+ function Cn(t, e) {
778
+ return Z(t.getUTCMilliseconds(), e, 3);
779
+ }
780
+ function yi(t, e) {
781
+ return Cn(t, e) + "000";
782
+ }
783
+ function ki(t, e) {
784
+ return Z(t.getUTCMonth() + 1, e, 2);
785
+ }
786
+ function pi(t, e) {
787
+ return Z(t.getUTCMinutes(), e, 2);
788
+ }
789
+ function vi(t, e) {
790
+ return Z(t.getUTCSeconds(), e, 2);
791
+ }
792
+ function Ti(t) {
793
+ var e = t.getUTCDay();
794
+ return e === 0 ? 7 : e;
795
+ }
796
+ function xi(t, e) {
797
+ return Z(wn.count(wt(t) - 1, t), e, 2);
798
+ }
799
+ function Sn(t) {
800
+ var e = t.getUTCDay();
801
+ return e >= 4 || e === 0 ? It(t) : It.ceil(t);
802
+ }
803
+ function bi(t, e) {
804
+ return t = Sn(t), Z(It.count(wt(t), t) + (wt(t).getUTCDay() === 4), e, 2);
805
+ }
806
+ function wi(t) {
807
+ return t.getUTCDay();
808
+ }
809
+ function Di(t, e) {
810
+ return Z(re.count(wt(t) - 1, t), e, 2);
811
+ }
812
+ function Mi(t, e) {
813
+ return Z(t.getUTCFullYear() % 100, e, 2);
814
+ }
815
+ function Ci(t, e) {
816
+ return t = Sn(t), Z(t.getUTCFullYear() % 100, e, 2);
817
+ }
818
+ function Si(t, e) {
819
+ return Z(t.getUTCFullYear() % 1e4, e, 4);
820
+ }
821
+ function _i(t, e) {
822
+ var n = t.getUTCDay();
823
+ return t = n >= 4 || n === 0 ? It(t) : It.ceil(t), Z(t.getUTCFullYear() % 1e4, e, 4);
824
+ }
825
+ function Yi() {
826
+ return "+0000";
827
+ }
828
+ function je() {
829
+ return "%";
830
+ }
831
+ function Qe(t) {
832
+ return +t;
833
+ }
834
+ function Je(t) {
835
+ return Math.floor(+t / 1e3);
836
+ }
837
+ var St, ie;
838
+ Fi({
839
+ dateTime: "%x, %X",
840
+ date: "%-m/%-d/%Y",
841
+ time: "%-I:%M:%S %p",
842
+ periods: ["AM", "PM"],
843
+ days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
844
+ shortDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
845
+ months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
846
+ shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
847
+ });
848
+ function Fi(t) {
849
+ return St = Fr(t), ie = St.format, St.parse, St.utcFormat, St.utcParse, St;
850
+ }
851
+ function Ui(t) {
852
+ return new Date(t);
853
+ }
854
+ function Ei(t) {
855
+ return t instanceof Date ? +t : +/* @__PURE__ */ new Date(+t);
856
+ }
857
+ function _n(t, e, n, r, i, a, c, m, Y, C) {
858
+ var p = Qn(), L = p.invert, _ = p.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"), q = C("%Y");
859
+ function j(k) {
860
+ return (Y(k) < k ? S : m(k) < k ? B : c(k) < k ? A : a(k) < k ? U : r(k) < k ? i(k) < k ? I : N : n(k) < k ? W : q)(k);
861
+ }
862
+ return p.invert = function(k) {
863
+ return new Date(L(k));
864
+ }, p.domain = function(k) {
865
+ return arguments.length ? _(Array.from(k, Ei)) : _().map(Ui);
866
+ }, p.ticks = function(k) {
867
+ var g = _();
868
+ return t(g[0], g[g.length - 1], k ?? 10);
869
+ }, p.tickFormat = function(k, g) {
870
+ return g == null ? j : C(g);
871
+ }, p.nice = function(k) {
872
+ var g = _();
873
+ return (!k || typeof k.range != "function") && (k = e(g[0], g[g.length - 1], k ?? 10)), k ? _(pr(g, k)) : p;
874
+ }, p.copy = function() {
875
+ return Jn(p, _n(t, e, n, r, i, a, c, m, Y, C));
876
+ }, p;
877
+ }
878
+ function Ii() {
879
+ return tr.apply(_n(_r, Yr, kt, Pt, Rt, xt, Ht, Ot, vt, ie).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
880
+ }
881
+ var jt = { exports: {} }, Li = jt.exports, Ke;
882
+ function Ai() {
883
+ return Ke || (Ke = 1, (function(t, e) {
884
+ (function(n, r) {
885
+ t.exports = r();
886
+ })(Li, (function() {
887
+ var n = "day";
888
+ return function(r, i, a) {
889
+ var c = function(C) {
890
+ return C.add(4 - C.isoWeekday(), n);
891
+ }, m = i.prototype;
892
+ m.isoWeekYear = function() {
893
+ return c(this).year();
894
+ }, m.isoWeek = function(C) {
895
+ if (!this.$utils().u(C)) return this.add(7 * (C - this.isoWeek()), n);
896
+ var p, L, _, S, B = c(this), A = (p = this.isoWeekYear(), L = this.$u, _ = (L ? a.utc : a)().year(p).startOf("year"), S = 4 - _.isoWeekday(), _.isoWeekday() > 4 && (S += 7), _.add(S, n));
897
+ return B.diff(A, "week") + 1;
898
+ }, m.isoWeekday = function(C) {
899
+ return this.$utils().u(C) ? this.day() || 7 : this.day(this.day() % 7 ? C : C - 7);
900
+ };
901
+ var Y = m.startOf;
902
+ m.startOf = function(C, p) {
903
+ var L = this.$utils(), _ = !!L.u(p) || p;
904
+ 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") : Y.bind(this)(C, p);
905
+ };
906
+ };
907
+ }));
908
+ })(jt)), jt.exports;
909
+ }
910
+ var Wi = Ai();
911
+ const $i = /* @__PURE__ */ oe(Wi);
912
+ var Qt = { exports: {} }, Oi = Qt.exports, tn;
913
+ function Hi() {
914
+ return tn || (tn = 1, (function(t, e) {
915
+ (function(n, r) {
916
+ t.exports = r();
917
+ })(Oi, (function() {
918
+ 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]+/, Y = {}, C = function(U) {
919
+ return (U = +U) + (U > 68 ? 1900 : 2e3);
920
+ }, p = function(U) {
921
+ return function(I) {
922
+ this[U] = +I;
923
+ };
924
+ }, L = [/[+-]\d\d:?(\d\d)?|Z/, function(U) {
925
+ (this.zone || (this.zone = {})).offset = (function(I) {
926
+ if (!I || I === "Z") return 0;
927
+ var N = I.match(/([+-]|\d\d)/g), W = 60 * N[1] + (+N[2] || 0);
928
+ return W === 0 ? 0 : N[0] === "+" ? -W : W;
929
+ })(U);
930
+ }], _ = function(U) {
931
+ var I = Y[U];
932
+ return I && (I.indexOf ? I : I.s.concat(I.f));
933
+ }, S = function(U, I) {
934
+ var N, W = Y.meridiem;
935
+ if (W) {
936
+ for (var q = 1; q <= 24; q += 1) if (U.indexOf(W(q, 0, I)) > -1) {
937
+ N = q > 12;
938
+ break;
939
+ }
940
+ } else N = U === (I ? "pm" : "PM");
941
+ return N;
942
+ }, B = { A: [m, function(U) {
943
+ this.afternoon = S(U, !1);
944
+ }], a: [m, function(U) {
945
+ this.afternoon = S(U, !0);
946
+ }], Q: [i, function(U) {
947
+ this.month = 3 * (U - 1) + 1;
948
+ }], S: [i, function(U) {
949
+ this.milliseconds = 100 * +U;
950
+ }], SS: [a, function(U) {
951
+ this.milliseconds = 10 * +U;
952
+ }], SSS: [/\d{3}/, function(U) {
953
+ this.milliseconds = +U;
954
+ }], s: [c, p("seconds")], ss: [c, p("seconds")], m: [c, p("minutes")], mm: [c, p("minutes")], H: [c, p("hours")], h: [c, p("hours")], HH: [c, p("hours")], hh: [c, p("hours")], D: [c, p("day")], DD: [a, p("day")], Do: [m, function(U) {
955
+ var I = Y.ordinal, N = U.match(/\d+/);
956
+ if (this.day = N[0], I) for (var W = 1; W <= 31; W += 1) I(W).replace(/\[|\]/g, "") === U && (this.day = W);
957
+ }], w: [c, p("week")], ww: [a, p("week")], M: [c, p("month")], MM: [a, p("month")], MMM: [m, function(U) {
958
+ var I = _("months"), N = (_("monthsShort") || I.map((function(W) {
959
+ return W.slice(0, 3);
960
+ }))).indexOf(U) + 1;
961
+ if (N < 1) throw new Error();
962
+ this.month = N % 12 || N;
963
+ }], MMMM: [m, function(U) {
964
+ var I = _("months").indexOf(U) + 1;
965
+ if (I < 1) throw new Error();
966
+ this.month = I % 12 || I;
967
+ }], Y: [/[+-]?\d+/, p("year")], YY: [a, function(U) {
968
+ this.year = C(U);
969
+ }], YYYY: [/\d{4}/, p("year")], Z: L, ZZ: L };
970
+ function A(U) {
971
+ var I, N;
972
+ I = U, N = Y && Y.formats;
973
+ for (var W = (U = I.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(D, w, T) {
974
+ var v = T && T.toUpperCase();
975
+ return w || N[T] || n[T] || N[v].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(u, f, x) {
976
+ return f || x.slice(1);
977
+ }));
978
+ }))).match(r), q = W.length, j = 0; j < q; j += 1) {
979
+ var k = W[j], g = B[k], y = g && g[0], h = g && g[1];
980
+ W[j] = h ? { regex: y, parser: h } : k.replace(/^\[|\]$/g, "");
981
+ }
982
+ return function(D) {
983
+ for (var w = {}, T = 0, v = 0; T < q; T += 1) {
984
+ var u = W[T];
985
+ if (typeof u == "string") v += u.length;
986
+ else {
987
+ var f = u.regex, x = u.parser, b = D.slice(v), F = f.exec(b)[0];
988
+ x.call(w, F), D = D.replace(F, "");
989
+ }
990
+ }
991
+ return (function(o) {
992
+ var X = o.afternoon;
993
+ if (X !== void 0) {
994
+ var s = o.hours;
995
+ X ? s < 12 && (o.hours += 12) : s === 12 && (o.hours = 0), delete o.afternoon;
996
+ }
997
+ })(w), w;
998
+ };
999
+ }
1000
+ return function(U, I, N) {
1001
+ N.p.customParseFormat = !0, U && U.parseTwoDigitYear && (C = U.parseTwoDigitYear);
1002
+ var W = I.prototype, q = W.parse;
1003
+ W.parse = function(j) {
1004
+ var k = j.date, g = j.utc, y = j.args;
1005
+ this.$u = g;
1006
+ var h = y[1];
1007
+ if (typeof h == "string") {
1008
+ var D = y[2] === !0, w = y[3] === !0, T = D || w, v = y[2];
1009
+ w && (v = y[2]), Y = this.$locale(), !D && v && (Y = N.Ls[v]), this.$d = (function(b, F, o, X) {
1010
+ try {
1011
+ if (["x", "X"].indexOf(F) > -1) return new Date((F === "X" ? 1e3 : 1) * b);
1012
+ var s = A(F)(b), E = s.year, z = s.month, V = s.day, P = s.hours, K = s.minutes, O = s.seconds, st = s.milliseconds, M = s.zone, H = s.week, R = /* @__PURE__ */ new Date(), l = V || (E || z ? 1 : R.getDate()), J = E || R.getFullYear(), $ = 0;
1013
+ E && !z || ($ = z > 0 ? z - 1 : R.getMonth());
1014
+ var Q, G = P || 0, it = K || 0, at = O || 0, pt = st || 0;
1015
+ return M ? new Date(Date.UTC(J, $, l, G, it, at, pt + 60 * M.offset * 1e3)) : o ? new Date(Date.UTC(J, $, l, G, it, at, pt)) : (Q = new Date(J, $, l, G, it, at, pt), H && (Q = X(Q).week(H).toDate()), Q);
1016
+ } catch {
1017
+ return /* @__PURE__ */ new Date("");
1018
+ }
1019
+ })(k, h, g, N), this.init(), v && v !== !0 && (this.$L = this.locale(v).$L), T && k != this.format(h) && (this.$d = /* @__PURE__ */ new Date("")), Y = {};
1020
+ } else if (h instanceof Array) for (var u = h.length, f = 1; f <= u; f += 1) {
1021
+ y[1] = h[f - 1];
1022
+ var x = N.apply(this, y);
1023
+ if (x.isValid()) {
1024
+ this.$d = x.$d, this.$L = x.$L, this.init();
1025
+ break;
1026
+ }
1027
+ f === u && (this.$d = /* @__PURE__ */ new Date(""));
1028
+ }
1029
+ else q.call(this, j);
1030
+ };
1031
+ };
1032
+ }));
1033
+ })(Qt)), Qt.exports;
1034
+ }
1035
+ var Ni = Hi();
1036
+ const Pi = /* @__PURE__ */ oe(Ni);
1037
+ var Jt = { exports: {} }, Ri = Jt.exports, en;
1038
+ function Vi() {
1039
+ return en || (en = 1, (function(t, e) {
1040
+ (function(n, r) {
1041
+ t.exports = r();
1042
+ })(Ri, (function() {
1043
+ return function(n, r) {
1044
+ var i = r.prototype, a = i.format;
1045
+ i.format = function(c) {
1046
+ var m = this, Y = this.$locale();
1047
+ if (!this.isValid()) return a.bind(this)(c);
1048
+ var C = this.$utils(), p = (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) {
1049
+ switch (L) {
1050
+ case "Q":
1051
+ return Math.ceil((m.$M + 1) / 3);
1052
+ case "Do":
1053
+ return Y.ordinal(m.$D);
1054
+ case "gggg":
1055
+ return m.weekYear();
1056
+ case "GGGG":
1057
+ return m.isoWeekYear();
1058
+ case "wo":
1059
+ return Y.ordinal(m.week(), "W");
1060
+ case "w":
1061
+ case "ww":
1062
+ return C.s(m.week(), L === "w" ? 1 : 2, "0");
1063
+ case "W":
1064
+ case "WW":
1065
+ return C.s(m.isoWeek(), L === "W" ? 1 : 2, "0");
1066
+ case "k":
1067
+ case "kk":
1068
+ return C.s(String(m.$H === 0 ? 24 : m.$H), L === "k" ? 1 : 2, "0");
1069
+ case "X":
1070
+ return Math.floor(m.$d.getTime() / 1e3);
1071
+ case "x":
1072
+ return m.$d.getTime();
1073
+ case "z":
1074
+ return "[" + m.offsetName() + "]";
1075
+ case "zzz":
1076
+ return "[" + m.offsetName("long") + "]";
1077
+ default:
1078
+ return L;
1079
+ }
1080
+ }));
1081
+ return a.bind(this)(p);
1082
+ };
1083
+ };
1084
+ }));
1085
+ })(Jt)), Jt.exports;
1086
+ }
1087
+ var zi = Vi();
1088
+ const qi = /* @__PURE__ */ oe(zi);
1089
+ var Kt = { exports: {} }, Bi = Kt.exports, nn;
1090
+ function Zi() {
1091
+ return nn || (nn = 1, (function(t, e) {
1092
+ (function(n, r) {
1093
+ t.exports = r();
1094
+ })(Bi, (function() {
1095
+ var n, r, i = 1e3, a = 6e4, c = 36e5, m = 864e5, Y = 31536e6, C = 2628e6, p = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, L = /\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g, _ = { years: Y, months: C, days: m, hours: c, minutes: a, seconds: i, milliseconds: 1, weeks: 6048e5 }, S = function(k) {
1096
+ return k instanceof q;
1097
+ }, B = function(k, g, y) {
1098
+ return new q(k, y, g.$l);
1099
+ }, A = function(k) {
1100
+ return r.p(k) + "s";
1101
+ }, U = function(k) {
1102
+ return k < 0;
1103
+ }, I = function(k) {
1104
+ return U(k) ? Math.ceil(k) : Math.floor(k);
1105
+ }, N = function(k) {
1106
+ return Math.abs(k);
1107
+ }, W = function(k, g) {
1108
+ return k ? U(k) ? { negative: !0, format: "" + N(k) + g } : { negative: !1, format: "" + k + g } : { negative: !1, format: "" };
1109
+ }, q = (function() {
1110
+ function k(y, h, D) {
1111
+ var w = this;
1112
+ if (this.$d = {}, this.$l = D, y === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), h) return B(y * _[A(h)], this);
1113
+ if (typeof y == "number") return this.$ms = y, this.parseFromMilliseconds(), this;
1114
+ if (typeof y == "object") return Object.keys(y).forEach((function(u) {
1115
+ w.$d[A(u)] = y[u];
1116
+ })), this.calMilliseconds(), this;
1117
+ if (typeof y == "string") {
1118
+ var T = y.match(p);
1119
+ if (T) {
1120
+ var v = T.slice(2).map((function(u) {
1121
+ return u != null ? Number(u) : 0;
1122
+ }));
1123
+ 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;
1124
+ }
1125
+ }
1126
+ return this;
1127
+ }
1128
+ var g = k.prototype;
1129
+ return g.calMilliseconds = function() {
1130
+ var y = this;
1131
+ this.$ms = Object.keys(this.$d).reduce((function(h, D) {
1132
+ return h + (y.$d[D] || 0) * _[D];
1133
+ }), 0);
1134
+ }, g.parseFromMilliseconds = function() {
1135
+ var y = this.$ms;
1136
+ this.$d.years = I(y / Y), y %= Y, this.$d.months = I(y / C), y %= C, 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;
1137
+ }, g.toISOString = function() {
1138
+ var y = W(this.$d.years, "Y"), h = W(this.$d.months, "M"), D = +this.$d.days || 0;
1139
+ this.$d.weeks && (D += 7 * this.$d.weeks);
1140
+ var w = W(D, "D"), T = W(this.$d.hours, "H"), v = W(this.$d.minutes, "M"), u = this.$d.seconds || 0;
1141
+ this.$d.milliseconds && (u += this.$d.milliseconds / 1e3, u = Math.round(1e3 * u) / 1e3);
1142
+ var f = W(u, "S"), x = y.negative || h.negative || w.negative || T.negative || v.negative || f.negative, b = T.format || v.format || f.format ? "T" : "", F = (x ? "-" : "") + "P" + y.format + h.format + w.format + b + T.format + v.format + f.format;
1143
+ return F === "P" || F === "-P" ? "P0D" : F;
1144
+ }, g.toJSON = function() {
1145
+ return this.toISOString();
1146
+ }, g.format = function(y) {
1147
+ var h = y || "YYYY-MM-DDTHH:mm:ss", D = { 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") };
1148
+ return h.replace(L, (function(w, T) {
1149
+ return T || String(D[w]);
1150
+ }));
1151
+ }, g.as = function(y) {
1152
+ return this.$ms / _[A(y)];
1153
+ }, g.get = function(y) {
1154
+ var h = this.$ms, D = A(y);
1155
+ return D === "milliseconds" ? h %= 1e3 : h = D === "weeks" ? I(h / _[D]) : this.$d[D], h || 0;
1156
+ }, g.add = function(y, h, D) {
1157
+ var w;
1158
+ return w = h ? y * _[A(h)] : S(y) ? y.$ms : B(y, this).$ms, B(this.$ms + w * (D ? -1 : 1), this);
1159
+ }, g.subtract = function(y, h) {
1160
+ return this.add(y, h, !0);
1161
+ }, g.locale = function(y) {
1162
+ var h = this.clone();
1163
+ return h.$l = y, h;
1164
+ }, g.clone = function() {
1165
+ return B(this.$ms, this);
1166
+ }, g.humanize = function(y) {
1167
+ return n().add(this.$ms, "ms").locale(this.$l).fromNow(!y);
1168
+ }, g.valueOf = function() {
1169
+ return this.asMilliseconds();
1170
+ }, g.milliseconds = function() {
1171
+ return this.get("milliseconds");
1172
+ }, g.asMilliseconds = function() {
1173
+ return this.as("milliseconds");
1174
+ }, g.seconds = function() {
1175
+ return this.get("seconds");
1176
+ }, g.asSeconds = function() {
1177
+ return this.as("seconds");
1178
+ }, g.minutes = function() {
1179
+ return this.get("minutes");
1180
+ }, g.asMinutes = function() {
1181
+ return this.as("minutes");
1182
+ }, g.hours = function() {
1183
+ return this.get("hours");
1184
+ }, g.asHours = function() {
1185
+ return this.as("hours");
1186
+ }, g.days = function() {
1187
+ return this.get("days");
1188
+ }, g.asDays = function() {
1189
+ return this.as("days");
1190
+ }, g.weeks = function() {
1191
+ return this.get("weeks");
1192
+ }, g.asWeeks = function() {
1193
+ return this.as("weeks");
1194
+ }, g.months = function() {
1195
+ return this.get("months");
1196
+ }, g.asMonths = function() {
1197
+ return this.as("months");
1198
+ }, g.years = function() {
1199
+ return this.get("years");
1200
+ }, g.asYears = function() {
1201
+ return this.as("years");
1202
+ }, k;
1203
+ })(), j = function(k, g, y) {
1204
+ return k.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");
1205
+ };
1206
+ return function(k, g, y) {
1207
+ n = y, r = y().$utils(), y.duration = function(w, T) {
1208
+ var v = y.locale();
1209
+ return B(w, { $l: v }, T);
1210
+ }, y.isDuration = S;
1211
+ var h = g.prototype.add, D = g.prototype.subtract;
1212
+ g.prototype.add = function(w, T) {
1213
+ return S(w) ? j(this, w, 1) : h.bind(this)(w, T);
1214
+ }, g.prototype.subtract = function(w, T) {
1215
+ return S(w) ? j(this, w, -1) : D.bind(this)(w, T);
1216
+ };
1217
+ };
1218
+ }));
1219
+ })(Kt)), Kt.exports;
1220
+ }
1221
+ var Xi = Zi();
1222
+ const Gi = /* @__PURE__ */ oe(Xi);
1223
+ var we = (function() {
1224
+ var t = /* @__PURE__ */ d(function(v, u, f, x) {
1225
+ for (f = f || {}, x = v.length; x--; f[v[x]] = u) ;
1226
+ return f;
1227
+ }, "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], Y = [1, 32], C = [1, 33], p = [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], q = [1, 20], j = [1, 21], k = [1, 22], g = [1, 23], y = [1, 25], h = [1, 35], D = {
1228
+ trace: /* @__PURE__ */ d(function() {
1229
+ }, "trace"),
1230
+ yy: {},
1231
+ 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 },
1232
+ 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" },
1233
+ 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]],
1234
+ performAction: /* @__PURE__ */ d(function(u, f, x, b, F, o, X) {
1235
+ var s = o.length - 1;
1236
+ switch (F) {
1237
+ case 1:
1238
+ return o[s - 1];
1239
+ case 2:
1240
+ this.$ = [];
1241
+ break;
1242
+ case 3:
1243
+ o[s - 1].push(o[s]), this.$ = o[s - 1];
1244
+ break;
1245
+ case 4:
1246
+ case 5:
1247
+ this.$ = o[s];
1248
+ break;
1249
+ case 6:
1250
+ case 7:
1251
+ this.$ = [];
1252
+ break;
1253
+ case 8:
1254
+ b.setWeekday("monday");
1255
+ break;
1256
+ case 9:
1257
+ b.setWeekday("tuesday");
1258
+ break;
1259
+ case 10:
1260
+ b.setWeekday("wednesday");
1261
+ break;
1262
+ case 11:
1263
+ b.setWeekday("thursday");
1264
+ break;
1265
+ case 12:
1266
+ b.setWeekday("friday");
1267
+ break;
1268
+ case 13:
1269
+ b.setWeekday("saturday");
1270
+ break;
1271
+ case 14:
1272
+ b.setWeekday("sunday");
1273
+ break;
1274
+ case 15:
1275
+ b.setWeekend("friday");
1276
+ break;
1277
+ case 16:
1278
+ b.setWeekend("saturday");
1279
+ break;
1280
+ case 17:
1281
+ b.setDateFormat(o[s].substr(11)), this.$ = o[s].substr(11);
1282
+ break;
1283
+ case 18:
1284
+ b.enableInclusiveEndDates(), this.$ = o[s].substr(18);
1285
+ break;
1286
+ case 19:
1287
+ b.TopAxis(), this.$ = o[s].substr(8);
1288
+ break;
1289
+ case 20:
1290
+ b.setAxisFormat(o[s].substr(11)), this.$ = o[s].substr(11);
1291
+ break;
1292
+ case 21:
1293
+ b.setTickInterval(o[s].substr(13)), this.$ = o[s].substr(13);
1294
+ break;
1295
+ case 22:
1296
+ b.setExcludes(o[s].substr(9)), this.$ = o[s].substr(9);
1297
+ break;
1298
+ case 23:
1299
+ b.setIncludes(o[s].substr(9)), this.$ = o[s].substr(9);
1300
+ break;
1301
+ case 24:
1302
+ b.setTodayMarker(o[s].substr(12)), this.$ = o[s].substr(12);
1303
+ break;
1304
+ case 27:
1305
+ b.setDiagramTitle(o[s].substr(6)), this.$ = o[s].substr(6);
1306
+ break;
1307
+ case 28:
1308
+ this.$ = o[s].trim(), b.setAccTitle(this.$);
1309
+ break;
1310
+ case 29:
1311
+ case 30:
1312
+ this.$ = o[s].trim(), b.setAccDescription(this.$);
1313
+ break;
1314
+ case 31:
1315
+ b.addSection(o[s].substr(8)), this.$ = o[s].substr(8);
1316
+ break;
1317
+ case 33:
1318
+ b.addTask(o[s - 1], o[s]), this.$ = "task";
1319
+ break;
1320
+ case 34:
1321
+ this.$ = o[s - 1], b.setClickEvent(o[s - 1], o[s], null);
1322
+ break;
1323
+ case 35:
1324
+ this.$ = o[s - 2], b.setClickEvent(o[s - 2], o[s - 1], o[s]);
1325
+ break;
1326
+ case 36:
1327
+ this.$ = o[s - 2], b.setClickEvent(o[s - 2], o[s - 1], null), b.setLink(o[s - 2], o[s]);
1328
+ break;
1329
+ case 37:
1330
+ this.$ = o[s - 3], b.setClickEvent(o[s - 3], o[s - 2], o[s - 1]), b.setLink(o[s - 3], o[s]);
1331
+ break;
1332
+ case 38:
1333
+ this.$ = o[s - 2], b.setClickEvent(o[s - 2], o[s], null), b.setLink(o[s - 2], o[s - 1]);
1334
+ break;
1335
+ case 39:
1336
+ this.$ = o[s - 3], b.setClickEvent(o[s - 3], o[s - 1], o[s]), b.setLink(o[s - 3], o[s - 2]);
1337
+ break;
1338
+ case 40:
1339
+ this.$ = o[s - 1], b.setLink(o[s - 1], o[s]);
1340
+ break;
1341
+ case 41:
1342
+ case 47:
1343
+ this.$ = o[s - 1] + " " + o[s];
1344
+ break;
1345
+ case 42:
1346
+ case 43:
1347
+ case 45:
1348
+ this.$ = o[s - 2] + " " + o[s - 1] + " " + o[s];
1349
+ break;
1350
+ case 44:
1351
+ case 46:
1352
+ this.$ = o[s - 3] + " " + o[s - 2] + " " + o[s - 1] + " " + o[s];
1353
+ break;
1354
+ }
1355
+ }, "anonymous"),
1356
+ 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: Y, 19: 18, 20: C, 21: p, 22: L, 23: _, 24: S, 25: B, 26: A, 27: U, 28: I, 29: N, 30: W, 31: q, 33: j, 35: k, 36: g, 37: 24, 38: y, 40: h }, 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: Y, 19: 18, 20: C, 21: p, 22: L, 23: _, 24: S, 25: B, 26: A, 27: U, 28: I, 29: N, 30: W, 31: q, 33: j, 35: k, 36: g, 37: 24, 38: y, 40: h }, 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])],
1357
+ defaultActions: {},
1358
+ parseError: /* @__PURE__ */ d(function(u, f) {
1359
+ if (f.recoverable)
1360
+ this.trace(u);
1361
+ else {
1362
+ var x = new Error(u);
1363
+ throw x.hash = f, x;
1364
+ }
1365
+ }, "parseError"),
1366
+ parse: /* @__PURE__ */ d(function(u) {
1367
+ var f = this, x = [0], b = [], F = [null], o = [], X = this.table, s = "", E = 0, z = 0, V = 2, P = 1, K = o.slice.call(arguments, 1), O = Object.create(this.lexer), st = { yy: {} };
1368
+ for (var M in this.yy)
1369
+ Object.prototype.hasOwnProperty.call(this.yy, M) && (st.yy[M] = this.yy[M]);
1370
+ O.setInput(u, st.yy), st.yy.lexer = O, st.yy.parser = this, typeof O.yylloc > "u" && (O.yylloc = {});
1371
+ var H = O.yylloc;
1372
+ o.push(H);
1373
+ var R = O.options && O.options.ranges;
1374
+ typeof st.yy.parseError == "function" ? this.parseError = st.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1375
+ function l(ot) {
1376
+ x.length = x.length - 2 * ot, F.length = F.length - ot, o.length = o.length - ot;
1377
+ }
1378
+ d(l, "popStack");
1379
+ function J() {
1380
+ var ot;
1381
+ return ot = b.pop() || O.lex() || P, typeof ot != "number" && (ot instanceof Array && (b = ot, ot = b.pop()), ot = f.symbols_[ot] || ot), ot;
1382
+ }
1383
+ d(J, "lex");
1384
+ for (var $, Q, G, it, at = {}, pt, ut, He, Bt; ; ) {
1385
+ if (Q = x[x.length - 1], this.defaultActions[Q] ? G = this.defaultActions[Q] : (($ === null || typeof $ > "u") && ($ = J()), G = X[Q] && X[Q][$]), typeof G > "u" || !G.length || !G[0]) {
1386
+ var ce = "";
1387
+ Bt = [];
1388
+ for (pt in X[Q])
1389
+ this.terminals_[pt] && pt > V && Bt.push("'" + this.terminals_[pt] + "'");
1390
+ O.showPosition ? ce = "Parse error on line " + (E + 1) + `:
1391
+ ` + O.showPosition() + `
1392
+ Expecting ` + Bt.join(", ") + ", got '" + (this.terminals_[$] || $) + "'" : ce = "Parse error on line " + (E + 1) + ": Unexpected " + ($ == P ? "end of input" : "'" + (this.terminals_[$] || $) + "'"), this.parseError(ce, {
1393
+ text: O.match,
1394
+ token: this.terminals_[$] || $,
1395
+ line: O.yylineno,
1396
+ loc: H,
1397
+ expected: Bt
1398
+ });
1399
+ }
1400
+ if (G[0] instanceof Array && G.length > 1)
1401
+ throw new Error("Parse Error: multiple actions possible at state: " + Q + ", token: " + $);
1402
+ switch (G[0]) {
1403
+ case 1:
1404
+ x.push($), F.push(O.yytext), o.push(O.yylloc), x.push(G[1]), $ = null, z = O.yyleng, s = O.yytext, E = O.yylineno, H = O.yylloc;
1405
+ break;
1406
+ case 2:
1407
+ if (ut = this.productions_[G[1]][1], at.$ = F[F.length - ut], at._$ = {
1408
+ first_line: o[o.length - (ut || 1)].first_line,
1409
+ last_line: o[o.length - 1].last_line,
1410
+ first_column: o[o.length - (ut || 1)].first_column,
1411
+ last_column: o[o.length - 1].last_column
1412
+ }, R && (at._$.range = [
1413
+ o[o.length - (ut || 1)].range[0],
1414
+ o[o.length - 1].range[1]
1415
+ ]), it = this.performAction.apply(at, [
1416
+ s,
1417
+ z,
1418
+ E,
1419
+ st.yy,
1420
+ G[1],
1421
+ F,
1422
+ o
1423
+ ].concat(K)), typeof it < "u")
1424
+ return it;
1425
+ ut && (x = x.slice(0, -1 * ut * 2), F = F.slice(0, -1 * ut), o = o.slice(0, -1 * ut)), x.push(this.productions_[G[1]][0]), F.push(at.$), o.push(at._$), He = X[x[x.length - 2]][x[x.length - 1]], x.push(He);
1426
+ break;
1427
+ case 3:
1428
+ return !0;
1429
+ }
1430
+ }
1431
+ return !0;
1432
+ }, "parse")
1433
+ }, w = /* @__PURE__ */ (function() {
1434
+ var v = {
1435
+ EOF: 1,
1436
+ parseError: /* @__PURE__ */ d(function(f, x) {
1437
+ if (this.yy.parser)
1438
+ this.yy.parser.parseError(f, x);
1439
+ else
1440
+ throw new Error(f);
1441
+ }, "parseError"),
1442
+ // resets the lexer, sets new input
1443
+ setInput: /* @__PURE__ */ d(function(u, f) {
1444
+ 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 = {
1445
+ first_line: 1,
1446
+ first_column: 0,
1447
+ last_line: 1,
1448
+ last_column: 0
1449
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1450
+ }, "setInput"),
1451
+ // consumes and returns one char from the input
1452
+ input: /* @__PURE__ */ d(function() {
1453
+ var u = this._input[0];
1454
+ this.yytext += u, this.yyleng++, this.offset++, this.match += u, this.matched += u;
1455
+ var f = u.match(/(?:\r\n?|\n).*/g);
1456
+ 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;
1457
+ }, "input"),
1458
+ // unshifts one char (or a string) into the input
1459
+ unput: /* @__PURE__ */ d(function(u) {
1460
+ var f = u.length, x = u.split(/(?:\r\n?|\n)/g);
1461
+ this._input = u + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - f), this.offset -= f;
1462
+ var b = this.match.split(/(?:\r\n?|\n)/g);
1463
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), x.length - 1 && (this.yylineno -= x.length - 1);
1464
+ var F = this.yylloc.range;
1465
+ return this.yylloc = {
1466
+ first_line: this.yylloc.first_line,
1467
+ last_line: this.yylineno + 1,
1468
+ first_column: this.yylloc.first_column,
1469
+ last_column: x ? (x.length === b.length ? this.yylloc.first_column : 0) + b[b.length - x.length].length - x[0].length : this.yylloc.first_column - f
1470
+ }, this.options.ranges && (this.yylloc.range = [F[0], F[0] + this.yyleng - f]), this.yyleng = this.yytext.length, this;
1471
+ }, "unput"),
1472
+ // When called from action, caches matched text and appends it on next action
1473
+ more: /* @__PURE__ */ d(function() {
1474
+ return this._more = !0, this;
1475
+ }, "more"),
1476
+ // 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.
1477
+ reject: /* @__PURE__ */ d(function() {
1478
+ if (this.options.backtrack_lexer)
1479
+ this._backtrack = !0;
1480
+ else
1481
+ 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).
1482
+ ` + this.showPosition(), {
1483
+ text: "",
1484
+ token: null,
1485
+ line: this.yylineno
1486
+ });
1487
+ return this;
1488
+ }, "reject"),
1489
+ // retain first n characters of the match
1490
+ less: /* @__PURE__ */ d(function(u) {
1491
+ this.unput(this.match.slice(u));
1492
+ }, "less"),
1493
+ // displays already matched input, i.e. for error messages
1494
+ pastInput: /* @__PURE__ */ d(function() {
1495
+ var u = this.matched.substr(0, this.matched.length - this.match.length);
1496
+ return (u.length > 20 ? "..." : "") + u.substr(-20).replace(/\n/g, "");
1497
+ }, "pastInput"),
1498
+ // displays upcoming input, i.e. for error messages
1499
+ upcomingInput: /* @__PURE__ */ d(function() {
1500
+ var u = this.match;
1501
+ return u.length < 20 && (u += this._input.substr(0, 20 - u.length)), (u.substr(0, 20) + (u.length > 20 ? "..." : "")).replace(/\n/g, "");
1502
+ }, "upcomingInput"),
1503
+ // displays the character position where the lexing error occurred, i.e. for error messages
1504
+ showPosition: /* @__PURE__ */ d(function() {
1505
+ var u = this.pastInput(), f = new Array(u.length + 1).join("-");
1506
+ return u + this.upcomingInput() + `
1507
+ ` + f + "^";
1508
+ }, "showPosition"),
1509
+ // test the lexed token: return FALSE when not a match, otherwise return token
1510
+ test_match: /* @__PURE__ */ d(function(u, f) {
1511
+ var x, b, F;
1512
+ if (this.options.backtrack_lexer && (F = {
1513
+ yylineno: this.yylineno,
1514
+ yylloc: {
1515
+ first_line: this.yylloc.first_line,
1516
+ last_line: this.last_line,
1517
+ first_column: this.yylloc.first_column,
1518
+ last_column: this.yylloc.last_column
1519
+ },
1520
+ yytext: this.yytext,
1521
+ match: this.match,
1522
+ matches: this.matches,
1523
+ matched: this.matched,
1524
+ yyleng: this.yyleng,
1525
+ offset: this.offset,
1526
+ _more: this._more,
1527
+ _input: this._input,
1528
+ yy: this.yy,
1529
+ conditionStack: this.conditionStack.slice(0),
1530
+ done: this.done
1531
+ }, this.options.ranges && (F.yylloc.range = this.yylloc.range.slice(0))), b = u[0].match(/(?:\r\n?|\n).*/g), b && (this.yylineno += b.length), this.yylloc = {
1532
+ first_line: this.yylloc.last_line,
1533
+ last_line: this.yylineno + 1,
1534
+ first_column: this.yylloc.last_column,
1535
+ last_column: b ? b[b.length - 1].length - b[b.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + u[0].length
1536
+ }, 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], x = this.performAction.call(this, this.yy, this, f, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), x)
1537
+ return x;
1538
+ if (this._backtrack) {
1539
+ for (var o in F)
1540
+ this[o] = F[o];
1541
+ return !1;
1542
+ }
1543
+ return !1;
1544
+ }, "test_match"),
1545
+ // return next match in input
1546
+ next: /* @__PURE__ */ d(function() {
1547
+ if (this.done)
1548
+ return this.EOF;
1549
+ this._input || (this.done = !0);
1550
+ var u, f, x, b;
1551
+ this._more || (this.yytext = "", this.match = "");
1552
+ for (var F = this._currentRules(), o = 0; o < F.length; o++)
1553
+ if (x = this._input.match(this.rules[F[o]]), x && (!f || x[0].length > f[0].length)) {
1554
+ if (f = x, b = o, this.options.backtrack_lexer) {
1555
+ if (u = this.test_match(x, F[o]), u !== !1)
1556
+ return u;
1557
+ if (this._backtrack) {
1558
+ f = !1;
1559
+ continue;
1560
+ } else
1561
+ return !1;
1562
+ } else if (!this.options.flex)
1563
+ break;
1564
+ }
1565
+ return f ? (u = this.test_match(f, F[b]), u !== !1 ? u : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
1566
+ ` + this.showPosition(), {
1567
+ text: "",
1568
+ token: null,
1569
+ line: this.yylineno
1570
+ });
1571
+ }, "next"),
1572
+ // return next match that has a token
1573
+ lex: /* @__PURE__ */ d(function() {
1574
+ var f = this.next();
1575
+ return f || this.lex();
1576
+ }, "lex"),
1577
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
1578
+ begin: /* @__PURE__ */ d(function(f) {
1579
+ this.conditionStack.push(f);
1580
+ }, "begin"),
1581
+ // pop the previously active lexer condition state off the condition stack
1582
+ popState: /* @__PURE__ */ d(function() {
1583
+ var f = this.conditionStack.length - 1;
1584
+ return f > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1585
+ }, "popState"),
1586
+ // produce the lexer rule set which is active for the currently active lexer condition state
1587
+ _currentRules: /* @__PURE__ */ d(function() {
1588
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1589
+ }, "_currentRules"),
1590
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
1591
+ topState: /* @__PURE__ */ d(function(f) {
1592
+ return f = this.conditionStack.length - 1 - Math.abs(f || 0), f >= 0 ? this.conditionStack[f] : "INITIAL";
1593
+ }, "topState"),
1594
+ // alias for begin(condition)
1595
+ pushState: /* @__PURE__ */ d(function(f) {
1596
+ this.begin(f);
1597
+ }, "pushState"),
1598
+ // return the number of states currently on the stack
1599
+ stateStackSize: /* @__PURE__ */ d(function() {
1600
+ return this.conditionStack.length;
1601
+ }, "stateStackSize"),
1602
+ options: { "case-insensitive": !0 },
1603
+ performAction: /* @__PURE__ */ d(function(f, x, b, F) {
1604
+ switch (b) {
1605
+ case 0:
1606
+ return this.begin("open_directive"), "open_directive";
1607
+ case 1:
1608
+ return this.begin("acc_title"), 31;
1609
+ case 2:
1610
+ return this.popState(), "acc_title_value";
1611
+ case 3:
1612
+ return this.begin("acc_descr"), 33;
1613
+ case 4:
1614
+ return this.popState(), "acc_descr_value";
1615
+ case 5:
1616
+ this.begin("acc_descr_multiline");
1617
+ break;
1618
+ case 6:
1619
+ this.popState();
1620
+ break;
1621
+ case 7:
1622
+ return "acc_descr_multiline_value";
1623
+ case 8:
1624
+ break;
1625
+ case 9:
1626
+ break;
1627
+ case 10:
1628
+ break;
1629
+ case 11:
1630
+ return 10;
1631
+ case 12:
1632
+ break;
1633
+ case 13:
1634
+ break;
1635
+ case 14:
1636
+ this.begin("href");
1637
+ break;
1638
+ case 15:
1639
+ this.popState();
1640
+ break;
1641
+ case 16:
1642
+ return 43;
1643
+ case 17:
1644
+ this.begin("callbackname");
1645
+ break;
1646
+ case 18:
1647
+ this.popState();
1648
+ break;
1649
+ case 19:
1650
+ this.popState(), this.begin("callbackargs");
1651
+ break;
1652
+ case 20:
1653
+ return 41;
1654
+ case 21:
1655
+ this.popState();
1656
+ break;
1657
+ case 22:
1658
+ return 42;
1659
+ case 23:
1660
+ this.begin("click");
1661
+ break;
1662
+ case 24:
1663
+ this.popState();
1664
+ break;
1665
+ case 25:
1666
+ return 40;
1667
+ case 26:
1668
+ return 4;
1669
+ case 27:
1670
+ return 22;
1671
+ case 28:
1672
+ return 23;
1673
+ case 29:
1674
+ return 24;
1675
+ case 30:
1676
+ return 25;
1677
+ case 31:
1678
+ return 26;
1679
+ case 32:
1680
+ return 28;
1681
+ case 33:
1682
+ return 27;
1683
+ case 34:
1684
+ return 29;
1685
+ case 35:
1686
+ return 12;
1687
+ case 36:
1688
+ return 13;
1689
+ case 37:
1690
+ return 14;
1691
+ case 38:
1692
+ return 15;
1693
+ case 39:
1694
+ return 16;
1695
+ case 40:
1696
+ return 17;
1697
+ case 41:
1698
+ return 18;
1699
+ case 42:
1700
+ return 20;
1701
+ case 43:
1702
+ return 21;
1703
+ case 44:
1704
+ return "date";
1705
+ case 45:
1706
+ return 30;
1707
+ case 46:
1708
+ return "accDescription";
1709
+ case 47:
1710
+ return 36;
1711
+ case 48:
1712
+ return 38;
1713
+ case 49:
1714
+ return 39;
1715
+ case 50:
1716
+ return ":";
1717
+ case 51:
1718
+ return 6;
1719
+ case 52:
1720
+ return "INVALID";
1721
+ }
1722
+ }, "anonymous"),
1723
+ 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],
1724
+ 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 } }
1725
+ };
1726
+ return v;
1727
+ })();
1728
+ D.lexer = w;
1729
+ function T() {
1730
+ this.yy = {};
1731
+ }
1732
+ return d(T, "Parser"), T.prototype = D, D.Parser = T, new T();
1733
+ })();
1734
+ we.parser = we;
1735
+ var ji = we;
1736
+ rt.extend($i);
1737
+ rt.extend(Pi);
1738
+ rt.extend(qi);
1739
+ var rn = { friday: 5, saturday: 6 }, lt = "", Ye = "", Fe = void 0, Ue = "", Vt = [], zt = [], Ee = /* @__PURE__ */ new Map(), Ie = [], se = [], Lt = "", Le = "", Yn = ["active", "done", "crit", "milestone", "vert"], Ae = [], _t = "", qt = !1, We = !1, $e = "sunday", ae = "saturday", De = 0, Qi = /* @__PURE__ */ d(function() {
1740
+ Ie = [], se = [], Lt = "", Ae = [], te = 0, Ce = void 0, ee = void 0, tt = [], lt = "", Ye = "", Le = "", Fe = void 0, Ue = "", Vt = [], zt = [], qt = !1, We = !1, De = 0, Ee = /* @__PURE__ */ new Map(), _t = "", Xn(), $e = "sunday", ae = "saturday";
1741
+ }, "clear"), Ji = /* @__PURE__ */ d(function(t) {
1742
+ _t = t;
1743
+ }, "setDiagramId"), Ki = /* @__PURE__ */ d(function(t) {
1744
+ Ye = t;
1745
+ }, "setAxisFormat"), ts = /* @__PURE__ */ d(function() {
1746
+ return Ye;
1747
+ }, "getAxisFormat"), es = /* @__PURE__ */ d(function(t) {
1748
+ Fe = t;
1749
+ }, "setTickInterval"), ns = /* @__PURE__ */ d(function() {
1750
+ return Fe;
1751
+ }, "getTickInterval"), rs = /* @__PURE__ */ d(function(t) {
1752
+ Ue = t;
1753
+ }, "setTodayMarker"), is = /* @__PURE__ */ d(function() {
1754
+ return Ue;
1755
+ }, "getTodayMarker"), ss = /* @__PURE__ */ d(function(t) {
1756
+ lt = t;
1757
+ }, "setDateFormat"), as = /* @__PURE__ */ d(function() {
1758
+ qt = !0;
1759
+ }, "enableInclusiveEndDates"), os = /* @__PURE__ */ d(function() {
1760
+ return qt;
1761
+ }, "endDatesAreInclusive"), cs = /* @__PURE__ */ d(function() {
1762
+ We = !0;
1763
+ }, "enableTopAxis"), us = /* @__PURE__ */ d(function() {
1764
+ return We;
1765
+ }, "topAxisEnabled"), ls = /* @__PURE__ */ d(function(t) {
1766
+ Le = t;
1767
+ }, "setDisplayMode"), fs = /* @__PURE__ */ d(function() {
1768
+ return Le;
1769
+ }, "getDisplayMode"), ds = /* @__PURE__ */ d(function() {
1770
+ return lt;
1771
+ }, "getDateFormat"), hs = /* @__PURE__ */ d(function(t) {
1772
+ Vt = t.toLowerCase().split(/[\s,]+/);
1773
+ }, "setIncludes"), ms = /* @__PURE__ */ d(function() {
1774
+ return Vt;
1775
+ }, "getIncludes"), gs = /* @__PURE__ */ d(function(t) {
1776
+ zt = t.toLowerCase().split(/[\s,]+/);
1777
+ }, "setExcludes"), ys = /* @__PURE__ */ d(function() {
1778
+ return zt;
1779
+ }, "getExcludes"), ks = /* @__PURE__ */ d(function() {
1780
+ return Ee;
1781
+ }, "getLinks"), ps = /* @__PURE__ */ d(function(t) {
1782
+ Lt = t, Ie.push(t);
1783
+ }, "addSection"), vs = /* @__PURE__ */ d(function() {
1784
+ return Ie;
1785
+ }, "getSections"), Ts = /* @__PURE__ */ d(function() {
1786
+ let t = sn();
1787
+ const e = 10;
1788
+ let n = 0;
1789
+ for (; !t && n < e; )
1790
+ t = sn(), n++;
1791
+ return se = tt, se;
1792
+ }, "getTasks"), Fn = /* @__PURE__ */ d(function(t, e, n, r) {
1793
+ const i = t.format(e.trim()), a = t.format("YYYY-MM-DD");
1794
+ return r.includes(i) || r.includes(a) ? !1 : n.includes("weekends") && (t.isoWeekday() === rn[ae] || t.isoWeekday() === rn[ae] + 1) || n.includes(t.format("dddd").toLowerCase()) ? !0 : n.includes(i) || n.includes(a);
1795
+ }, "isInvalidDate"), xs = /* @__PURE__ */ d(function(t) {
1796
+ $e = t;
1797
+ }, "setWeekday"), bs = /* @__PURE__ */ d(function() {
1798
+ return $e;
1799
+ }, "getWeekday"), ws = /* @__PURE__ */ d(function(t) {
1800
+ ae = t;
1801
+ }, "setWeekend"), Un = /* @__PURE__ */ d(function(t, e, n, r) {
1802
+ if (!n.length || t.manualEndTime)
1803
+ return;
1804
+ let i;
1805
+ t.startTime instanceof Date ? i = rt(t.startTime) : i = rt(t.startTime, e, !0), i = i.add(1, "d");
1806
+ let a;
1807
+ t.endTime instanceof Date ? a = rt(t.endTime) : a = rt(t.endTime, e, !0);
1808
+ const [c, m] = Ds(
1809
+ i,
1810
+ a,
1811
+ e,
1812
+ n,
1813
+ r
1814
+ );
1815
+ t.endTime = c.toDate(), t.renderEndTime = m;
1816
+ }, "checkTaskDates"), Ds = /* @__PURE__ */ d(function(t, e, n, r, i) {
1817
+ let a = !1, c = null;
1818
+ const m = e.add(1e4, "d");
1819
+ for (; t <= e; ) {
1820
+ if (a || (c = e.toDate()), a = Fn(t, n, r, i), a && (e = e.add(1, "d"), e > m))
1821
+ throw new Error(
1822
+ "Failed to find a valid date that was not excluded by `excludes` after 10,000 iterations."
1823
+ );
1824
+ t = t.add(1, "d");
1825
+ }
1826
+ return [e, c];
1827
+ }, "fixTaskDates"), Me = /* @__PURE__ */ d(function(t, e, n) {
1828
+ if (n = n.trim(), (/* @__PURE__ */ d((m) => {
1829
+ const Y = m.trim();
1830
+ return Y === "x" || Y === "X";
1831
+ }, "isTimestampFormat"))(e) && /^\d+$/.test(n))
1832
+ return new Date(Number(n));
1833
+ const a = /^after\s+(?<ids>[\d\w- ]+)/.exec(n);
1834
+ if (a !== null) {
1835
+ let m = null;
1836
+ for (const C of a.groups.ids.split(" ")) {
1837
+ let p = Ct(C);
1838
+ p !== void 0 && (!m || p.endTime > m.endTime) && (m = p);
1839
+ }
1840
+ if (m)
1841
+ return m.endTime;
1842
+ const Y = /* @__PURE__ */ new Date();
1843
+ return Y.setHours(0, 0, 0, 0), Y;
1844
+ }
1845
+ let c = rt(n, e.trim(), !0);
1846
+ if (c.isValid())
1847
+ return c.toDate();
1848
+ {
1849
+ Tt.debug("Invalid date:" + n), Tt.debug("With date format:" + e.trim());
1850
+ const m = new Date(n);
1851
+ if (m === void 0 || isNaN(m.getTime()) || // WebKit browsers can mis-parse invalid dates to be ridiculously
1852
+ // huge numbers, e.g. new Date('202304') gets parsed as January 1, 202304.
1853
+ // This can cause virtually infinite loops while rendering, so for the
1854
+ // purposes of Gantt charts we'll just treat any date beyond 10,000 AD/BC as
1855
+ // invalid.
1856
+ m.getFullYear() < -1e4 || m.getFullYear() > 1e4)
1857
+ throw new Error("Invalid date:" + n);
1858
+ return m;
1859
+ }
1860
+ }, "getStartDate"), En = /* @__PURE__ */ d(function(t) {
1861
+ const e = /^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());
1862
+ return e !== null ? [Number.parseFloat(e[1]), e[2]] : [NaN, "ms"];
1863
+ }, "parseDuration"), In = /* @__PURE__ */ d(function(t, e, n, r = !1) {
1864
+ n = n.trim();
1865
+ const a = /^until\s+(?<ids>[\d\w- ]+)/.exec(n);
1866
+ if (a !== null) {
1867
+ let p = null;
1868
+ for (const _ of a.groups.ids.split(" ")) {
1869
+ let S = Ct(_);
1870
+ S !== void 0 && (!p || S.startTime < p.startTime) && (p = S);
1871
+ }
1872
+ if (p)
1873
+ return p.startTime;
1874
+ const L = /* @__PURE__ */ new Date();
1875
+ return L.setHours(0, 0, 0, 0), L;
1876
+ }
1877
+ let c = rt(n, e.trim(), !0);
1878
+ if (c.isValid())
1879
+ return r && (c = c.add(1, "d")), c.toDate();
1880
+ let m = rt(t);
1881
+ const [Y, C] = En(n);
1882
+ if (!Number.isNaN(Y)) {
1883
+ const p = m.add(Y, C);
1884
+ p.isValid() && (m = p);
1885
+ }
1886
+ return m.toDate();
1887
+ }, "getEndDate"), te = 0, Ut = /* @__PURE__ */ d(function(t) {
1888
+ return t === void 0 ? (te = te + 1, "task" + te) : t;
1889
+ }, "parseId"), Ms = /* @__PURE__ */ d(function(t, e) {
1890
+ let n;
1891
+ e.substr(0, 1) === ":" ? n = e.substr(1, e.length) : n = e;
1892
+ const r = n.split(","), i = {};
1893
+ Oe(r, i, Yn);
1894
+ for (let c = 0; c < r.length; c++)
1895
+ r[c] = r[c].trim();
1896
+ let a = "";
1897
+ switch (r.length) {
1898
+ case 1:
1899
+ i.id = Ut(), i.startTime = t.endTime, a = r[0];
1900
+ break;
1901
+ case 2:
1902
+ i.id = Ut(), i.startTime = Me(void 0, lt, r[0]), a = r[1];
1903
+ break;
1904
+ case 3:
1905
+ i.id = Ut(r[0]), i.startTime = Me(void 0, lt, r[1]), a = r[2];
1906
+ break;
1907
+ }
1908
+ return a && (i.endTime = In(i.startTime, lt, a, qt), i.manualEndTime = rt(a, "YYYY-MM-DD", !0).isValid(), Un(i, lt, zt, Vt)), i;
1909
+ }, "compileData"), Cs = /* @__PURE__ */ d(function(t, e) {
1910
+ let n;
1911
+ e.substr(0, 1) === ":" ? n = e.substr(1, e.length) : n = e;
1912
+ const r = n.split(","), i = {};
1913
+ Oe(r, i, Yn);
1914
+ for (let a = 0; a < r.length; a++)
1915
+ r[a] = r[a].trim();
1916
+ switch (r.length) {
1917
+ case 1:
1918
+ i.id = Ut(), i.startTime = {
1919
+ type: "prevTaskEnd",
1920
+ id: t
1921
+ }, i.endTime = {
1922
+ data: r[0]
1923
+ };
1924
+ break;
1925
+ case 2:
1926
+ i.id = Ut(), i.startTime = {
1927
+ type: "getStartDate",
1928
+ startData: r[0]
1929
+ }, i.endTime = {
1930
+ data: r[1]
1931
+ };
1932
+ break;
1933
+ case 3:
1934
+ i.id = Ut(r[0]), i.startTime = {
1935
+ type: "getStartDate",
1936
+ startData: r[1]
1937
+ }, i.endTime = {
1938
+ data: r[2]
1939
+ };
1940
+ break;
1941
+ }
1942
+ return i;
1943
+ }, "parseData"), Ce, ee, tt = [], Ln = {}, Ss = /* @__PURE__ */ d(function(t, e) {
1944
+ const n = {
1945
+ section: Lt,
1946
+ type: Lt,
1947
+ processed: !1,
1948
+ manualEndTime: !1,
1949
+ renderEndTime: null,
1950
+ raw: { data: e },
1951
+ task: t,
1952
+ classes: []
1953
+ }, r = Cs(ee, e);
1954
+ n.raw.startTime = r.startTime, n.raw.endTime = r.endTime, n.id = r.id, n.prevTaskId = ee, n.active = r.active, n.done = r.done, n.crit = r.crit, n.milestone = r.milestone, n.vert = r.vert, n.order = De, De++;
1955
+ const i = tt.push(n);
1956
+ ee = n.id, Ln[n.id] = i - 1;
1957
+ }, "addTask"), Ct = /* @__PURE__ */ d(function(t) {
1958
+ const e = Ln[t];
1959
+ return tt[e];
1960
+ }, "findTaskById"), _s = /* @__PURE__ */ d(function(t, e) {
1961
+ const n = {
1962
+ section: Lt,
1963
+ type: Lt,
1964
+ description: t,
1965
+ task: t,
1966
+ classes: []
1967
+ }, r = Ms(Ce, e);
1968
+ 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, Ce = n, se.push(n);
1969
+ }, "addTaskOrg"), sn = /* @__PURE__ */ d(function() {
1970
+ const t = /* @__PURE__ */ d(function(n) {
1971
+ const r = tt[n];
1972
+ let i = "";
1973
+ switch (tt[n].raw.startTime.type) {
1974
+ case "prevTaskEnd": {
1975
+ const a = Ct(r.prevTaskId);
1976
+ r.startTime = a.endTime;
1977
+ break;
1978
+ }
1979
+ case "getStartDate":
1980
+ i = Me(void 0, lt, tt[n].raw.startTime.startData), i && (tt[n].startTime = i);
1981
+ break;
1982
+ }
1983
+ return tt[n].startTime && (tt[n].endTime = In(
1984
+ tt[n].startTime,
1985
+ lt,
1986
+ tt[n].raw.endTime.data,
1987
+ qt
1988
+ ), tt[n].endTime && (tt[n].processed = !0, tt[n].manualEndTime = rt(
1989
+ tt[n].raw.endTime.data,
1990
+ "YYYY-MM-DD",
1991
+ !0
1992
+ ).isValid(), Un(tt[n], lt, zt, Vt))), tt[n].processed;
1993
+ }, "compileTask");
1994
+ let e = !0;
1995
+ for (const [n, r] of tt.entries())
1996
+ t(n), e = e && r.processed;
1997
+ return e;
1998
+ }, "compileTasks"), Ys = /* @__PURE__ */ d(function(t, e) {
1999
+ let n = e;
2000
+ Yt().securityLevel !== "loose" && (n = Zn.sanitizeUrl(e)), t.split(",").forEach(function(r) {
2001
+ Ct(r) !== void 0 && (Wn(r, () => {
2002
+ window.open(n, "_self");
2003
+ }), Ee.set(r, n));
2004
+ }), An(t, "clickable");
2005
+ }, "setLink"), An = /* @__PURE__ */ d(function(t, e) {
2006
+ t.split(",").forEach(function(n) {
2007
+ let r = Ct(n);
2008
+ r !== void 0 && r.classes.push(e);
2009
+ });
2010
+ }, "setClass"), Fs = /* @__PURE__ */ d(function(t, e, n) {
2011
+ if (Yt().securityLevel !== "loose" || e === void 0)
2012
+ return;
2013
+ let r = [];
2014
+ if (typeof n == "string") {
2015
+ r = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
2016
+ for (let a = 0; a < r.length; a++) {
2017
+ let c = r[a].trim();
2018
+ c.startsWith('"') && c.endsWith('"') && (c = c.substr(1, c.length - 2)), r[a] = c;
2019
+ }
2020
+ }
2021
+ r.length === 0 && r.push(t), Ct(t) !== void 0 && Wn(t, () => {
2022
+ Gn.runFunc(e, ...r);
2023
+ });
2024
+ }, "setClickFun"), Wn = /* @__PURE__ */ d(function(t, e) {
2025
+ Ae.push(
2026
+ function() {
2027
+ const n = _t ? `${_t}-${t}` : t, r = document.querySelector(`[id="${n}"]`);
2028
+ r !== null && r.addEventListener("click", function() {
2029
+ e();
2030
+ });
2031
+ },
2032
+ function() {
2033
+ const n = _t ? `${_t}-${t}` : t, r = document.querySelector(`[id="${n}-text"]`);
2034
+ r !== null && r.addEventListener("click", function() {
2035
+ e();
2036
+ });
2037
+ }
2038
+ );
2039
+ }, "pushFun"), Us = /* @__PURE__ */ d(function(t, e, n) {
2040
+ t.split(",").forEach(function(r) {
2041
+ Fs(r, e, n);
2042
+ }), An(t, "clickable");
2043
+ }, "setClickEvent"), Es = /* @__PURE__ */ d(function(t) {
2044
+ Ae.forEach(function(e) {
2045
+ e(t);
2046
+ });
2047
+ }, "bindFunctions"), Is = {
2048
+ getConfig: /* @__PURE__ */ d(() => Yt().gantt, "getConfig"),
2049
+ clear: Qi,
2050
+ setDateFormat: ss,
2051
+ getDateFormat: ds,
2052
+ enableInclusiveEndDates: as,
2053
+ endDatesAreInclusive: os,
2054
+ enableTopAxis: cs,
2055
+ topAxisEnabled: us,
2056
+ setAxisFormat: Ki,
2057
+ getAxisFormat: ts,
2058
+ setTickInterval: es,
2059
+ getTickInterval: ns,
2060
+ setTodayMarker: rs,
2061
+ getTodayMarker: is,
2062
+ setAccTitle: zn,
2063
+ getAccTitle: Vn,
2064
+ setDiagramTitle: Rn,
2065
+ getDiagramTitle: Pn,
2066
+ setDiagramId: Ji,
2067
+ setDisplayMode: ls,
2068
+ getDisplayMode: fs,
2069
+ setAccDescription: Nn,
2070
+ getAccDescription: Hn,
2071
+ addSection: ps,
2072
+ getSections: vs,
2073
+ getTasks: Ts,
2074
+ addTask: Ss,
2075
+ findTaskById: Ct,
2076
+ addTaskOrg: _s,
2077
+ setIncludes: hs,
2078
+ getIncludes: ms,
2079
+ setExcludes: gs,
2080
+ getExcludes: ys,
2081
+ setClickEvent: Us,
2082
+ setLink: Ys,
2083
+ getLinks: ks,
2084
+ bindFunctions: Es,
2085
+ parseDuration: En,
2086
+ isInvalidDate: Fn,
2087
+ setWeekday: xs,
2088
+ getWeekday: bs,
2089
+ setWeekend: ws
2090
+ };
2091
+ function Oe(t, e, n) {
2092
+ let r = !0;
2093
+ for (; r; )
2094
+ r = !1, n.forEach(function(i) {
2095
+ const a = "^\\s*" + i + "\\s*$", c = new RegExp(a);
2096
+ t[0].match(c) && (e[i] = !0, t.shift(1), r = !0);
2097
+ });
2098
+ }
2099
+ d(Oe, "getTaskTags");
2100
+ rt.extend(Gi);
2101
+ var Ls = /* @__PURE__ */ d(function() {
2102
+ Tt.debug("Something is calling, setConf, remove the call");
2103
+ }, "setConf"), an = {
2104
+ monday: Nt,
2105
+ tuesday: vn,
2106
+ wednesday: Tn,
2107
+ thursday: bt,
2108
+ friday: xn,
2109
+ saturday: bn,
2110
+ sunday: Rt
2111
+ }, As = /* @__PURE__ */ d((t, e) => {
2112
+ let n = [...t].map(() => -1 / 0), r = [...t].sort((a, c) => a.startTime - c.startTime || a.order - c.order), i = 0;
2113
+ for (const a of r)
2114
+ for (let c = 0; c < n.length; c++)
2115
+ if (a.startTime >= n[c]) {
2116
+ n[c] = a.endTime, a.order = c + e, c > i && (i = c);
2117
+ break;
2118
+ }
2119
+ return i;
2120
+ }, "getMaxIntersections"), dt, Te = 1e4, Ws = /* @__PURE__ */ d(function(t, e, n, r) {
2121
+ const i = Yt().gantt;
2122
+ r.db.setDiagramId(e);
2123
+ const a = Yt().securityLevel;
2124
+ let c;
2125
+ a === "sandbox" && (c = Zt("#i" + e));
2126
+ const m = a === "sandbox" ? Zt(c.nodes()[0].contentDocument.body) : Zt("body"), Y = a === "sandbox" ? c.nodes()[0].contentDocument : document, C = Y.getElementById(e);
2127
+ dt = C.parentElement.offsetWidth, dt === void 0 && (dt = 1200), i.useWidth !== void 0 && (dt = i.useWidth);
2128
+ const p = r.db.getTasks();
2129
+ let L = [];
2130
+ for (const h of p)
2131
+ L.push(h.type);
2132
+ L = y(L);
2133
+ const _ = {};
2134
+ let S = 2 * i.topPadding;
2135
+ if (r.db.getDisplayMode() === "compact" || i.displayMode === "compact") {
2136
+ const h = {};
2137
+ for (const w of p)
2138
+ h[w.section] === void 0 ? h[w.section] = [w] : h[w.section].push(w);
2139
+ let D = 0;
2140
+ for (const w of Object.keys(h)) {
2141
+ const T = As(h[w], D) + 1;
2142
+ D += T, S += T * (i.barHeight + i.barGap), _[w] = T;
2143
+ }
2144
+ } else {
2145
+ S += p.length * (i.barHeight + i.barGap);
2146
+ for (const h of L)
2147
+ _[h] = p.filter((D) => D.type === h).length;
2148
+ }
2149
+ C.setAttribute("viewBox", "0 0 " + dt + " " + S);
2150
+ const B = m.select(`[id="${e}"]`), A = Ii().domain([
2151
+ nr(p, function(h) {
2152
+ return h.startTime;
2153
+ }),
2154
+ er(p, function(h) {
2155
+ return h.endTime;
2156
+ })
2157
+ ]).rangeRound([0, dt - i.leftPadding - i.rightPadding]);
2158
+ function U(h, D) {
2159
+ const w = h.startTime, T = D.startTime;
2160
+ let v = 0;
2161
+ return w > T ? v = 1 : w < T && (v = -1), v;
2162
+ }
2163
+ d(U, "taskCompare"), p.sort(U), I(p, dt, S), qn(B, S, dt, i.useMaxWidth), B.append("text").text(r.db.getDiagramTitle()).attr("x", dt / 2).attr("y", i.titleTopMargin).attr("class", "titleText");
2164
+ function I(h, D, w) {
2165
+ const T = i.barHeight, v = T + i.barGap, u = i.topPadding, f = i.leftPadding, x = Kn().domain([0, L.length]).range(["#00B9FA", "#F95002"]).interpolate(kr);
2166
+ W(
2167
+ v,
2168
+ u,
2169
+ f,
2170
+ D,
2171
+ w,
2172
+ h,
2173
+ r.db.getExcludes(),
2174
+ r.db.getIncludes()
2175
+ ), j(f, u, D, w), N(h, v, u, f, T, x, D), k(v, u), g(f, u, D, w);
2176
+ }
2177
+ d(I, "makeGantt");
2178
+ function N(h, D, w, T, v, u, f) {
2179
+ h.sort((s, E) => s.vert === E.vert ? 0 : s.vert ? 1 : -1);
2180
+ const b = [...new Set(h.map((s) => s.order))].map((s) => h.find((E) => E.order === s));
2181
+ B.append("g").selectAll("rect").data(b).enter().append("rect").attr("x", 0).attr("y", function(s, E) {
2182
+ return E = s.order, E * D + w - 2;
2183
+ }).attr("width", function() {
2184
+ return f - i.rightPadding / 2;
2185
+ }).attr("height", D).attr("class", function(s) {
2186
+ for (const [E, z] of L.entries())
2187
+ if (s.type === z)
2188
+ return "section section" + E % i.numberSectionStyles;
2189
+ return "section section0";
2190
+ }).enter();
2191
+ const F = B.append("g").selectAll("rect").data(h).enter(), o = r.db.getLinks();
2192
+ if (F.append("rect").attr("id", function(s) {
2193
+ return e + "-" + s.id;
2194
+ }).attr("rx", 3).attr("ry", 3).attr("x", function(s) {
2195
+ return s.milestone ? A(s.startTime) + T + 0.5 * (A(s.endTime) - A(s.startTime)) - 0.5 * v : A(s.startTime) + T;
2196
+ }).attr("y", function(s, E) {
2197
+ return E = s.order, s.vert ? i.gridLineStartPadding : E * D + w;
2198
+ }).attr("width", function(s) {
2199
+ return s.milestone ? v : s.vert ? 0.08 * v : A(s.renderEndTime || s.endTime) - A(s.startTime);
2200
+ }).attr("height", function(s) {
2201
+ return s.vert ? p.length * (i.barHeight + i.barGap) + i.barHeight * 2 : v;
2202
+ }).attr("transform-origin", function(s, E) {
2203
+ return E = s.order, (A(s.startTime) + T + 0.5 * (A(s.endTime) - A(s.startTime))).toString() + "px " + (E * D + w + 0.5 * v).toString() + "px";
2204
+ }).attr("class", function(s) {
2205
+ const E = "task";
2206
+ let z = "";
2207
+ s.classes.length > 0 && (z = s.classes.join(" "));
2208
+ let V = 0;
2209
+ for (const [K, O] of L.entries())
2210
+ s.type === O && (V = K % i.numberSectionStyles);
2211
+ let P = "";
2212
+ 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 += V, P += " " + z, E + P;
2213
+ }), F.append("text").attr("id", function(s) {
2214
+ return e + "-" + s.id + "-text";
2215
+ }).text(function(s) {
2216
+ return s.task;
2217
+ }).attr("font-size", i.fontSize).attr("x", function(s) {
2218
+ let E = A(s.startTime), z = A(s.renderEndTime || s.endTime);
2219
+ if (s.milestone && (E += 0.5 * (A(s.endTime) - A(s.startTime)) - 0.5 * v, z = E + v), s.vert)
2220
+ return A(s.startTime) + T;
2221
+ const V = this.getBBox().width;
2222
+ return V > z - E ? z + V + 1.5 * i.leftPadding > f ? E + T - 5 : z + T + 5 : (z - E) / 2 + E + T;
2223
+ }).attr("y", function(s, E) {
2224
+ return s.vert ? i.gridLineStartPadding + p.length * (i.barHeight + i.barGap) + 60 : (E = s.order, E * D + i.barHeight / 2 + (i.fontSize / 2 - 2) + w);
2225
+ }).attr("text-height", v).attr("class", function(s) {
2226
+ const E = A(s.startTime);
2227
+ let z = A(s.endTime);
2228
+ s.milestone && (z = E + v);
2229
+ const V = this.getBBox().width;
2230
+ let P = "";
2231
+ s.classes.length > 0 && (P = s.classes.join(" "));
2232
+ let K = 0;
2233
+ for (const [st, M] of L.entries())
2234
+ s.type === M && (K = st % i.numberSectionStyles);
2235
+ let O = "";
2236
+ 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"), V > z - E ? z + V + 1.5 * i.leftPadding > f ? P + " taskTextOutsideLeft taskTextOutside" + K + " " + O : P + " taskTextOutsideRight taskTextOutside" + K + " " + O + " width-" + V : P + " taskText taskText" + K + " " + O + " width-" + V;
2237
+ }), Yt().securityLevel === "sandbox") {
2238
+ let s;
2239
+ s = Zt("#i" + e);
2240
+ const E = s.nodes()[0].contentDocument;
2241
+ F.filter(function(z) {
2242
+ return o.has(z.id);
2243
+ }).each(function(z) {
2244
+ var V = E.querySelector("#" + CSS.escape(e + "-" + z.id)), P = E.querySelector("#" + CSS.escape(e + "-" + z.id + "-text"));
2245
+ const K = V.parentNode;
2246
+ var O = E.createElement("a");
2247
+ O.setAttribute("xlink:href", o.get(z.id)), O.setAttribute("target", "_top"), K.appendChild(O), O.appendChild(V), O.appendChild(P);
2248
+ });
2249
+ }
2250
+ }
2251
+ d(N, "drawRects");
2252
+ function W(h, D, w, T, v, u, f, x) {
2253
+ if (f.length === 0 && x.length === 0)
2254
+ return;
2255
+ let b, F;
2256
+ for (const { startTime: V, endTime: P } of u)
2257
+ (b === void 0 || V < b) && (b = V), (F === void 0 || P > F) && (F = P);
2258
+ if (!b || !F)
2259
+ return;
2260
+ if (rt(F).diff(rt(b), "year") > 5) {
2261
+ Tt.warn(
2262
+ "The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days."
2263
+ );
2264
+ return;
2265
+ }
2266
+ const o = r.db.getDateFormat(), X = [];
2267
+ let s = null, E = rt(b);
2268
+ for (; E.valueOf() <= F; )
2269
+ r.db.isInvalidDate(E, o, f, x) ? s ? s.end = E : s = {
2270
+ start: E,
2271
+ end: E
2272
+ } : s && (X.push(s), s = null), E = E.add(1, "d");
2273
+ B.append("g").selectAll("rect").data(X).enter().append("rect").attr("id", (V) => e + "-exclude-" + V.start.format("YYYY-MM-DD")).attr("x", (V) => A(V.start.startOf("day")) + w).attr("y", i.gridLineStartPadding).attr("width", (V) => A(V.end.endOf("day")) - A(V.start.startOf("day"))).attr("height", v - D - i.gridLineStartPadding).attr("transform-origin", function(V, P) {
2274
+ return (A(V.start) + w + 0.5 * (A(V.end) - A(V.start))).toString() + "px " + (P * h + 0.5 * v).toString() + "px";
2275
+ }).attr("class", "exclude-range");
2276
+ }
2277
+ d(W, "drawExcludeDays");
2278
+ function q(h, D, w, T) {
2279
+ if (w <= 0 || h > D)
2280
+ return 1 / 0;
2281
+ const v = D - h, u = rt.duration({ [T ?? "day"]: w }).asMilliseconds();
2282
+ return u <= 0 ? 1 / 0 : Math.ceil(v / u);
2283
+ }
2284
+ d(q, "getEstimatedTickCount");
2285
+ function j(h, D, w, T) {
2286
+ const v = r.db.getDateFormat(), u = r.db.getAxisFormat();
2287
+ let f;
2288
+ u ? f = u : v === "D" ? f = "%d" : f = i.axisFormat ?? "%Y-%m-%d";
2289
+ let x = lr(A).tickSize(-T + D + i.gridLineStartPadding).tickFormat(ie(f));
2290
+ const F = /^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(
2291
+ r.db.getTickInterval() || i.tickInterval
2292
+ );
2293
+ if (F !== null) {
2294
+ const o = parseInt(F[1], 10);
2295
+ if (isNaN(o) || o <= 0)
2296
+ Tt.warn(
2297
+ `Invalid tick interval value: "${F[1]}". Skipping custom tick interval.`
2298
+ );
2299
+ else {
2300
+ const X = F[2], s = r.db.getWeekday() || i.weekday, E = A.domain(), z = E[0], V = E[1], P = q(z, V, o, X);
2301
+ if (P > Te)
2302
+ Tt.warn(
2303
+ `The tick interval "${o}${X}" would generate ${P} ticks, which exceeds the maximum allowed (${Te}). This may indicate an invalid date or time range. Skipping custom tick interval.`
2304
+ );
2305
+ else
2306
+ switch (X) {
2307
+ case "millisecond":
2308
+ x.ticks(Et.every(o));
2309
+ break;
2310
+ case "second":
2311
+ x.ticks(vt.every(o));
2312
+ break;
2313
+ case "minute":
2314
+ x.ticks(Ot.every(o));
2315
+ break;
2316
+ case "hour":
2317
+ x.ticks(Ht.every(o));
2318
+ break;
2319
+ case "day":
2320
+ x.ticks(xt.every(o));
2321
+ break;
2322
+ case "week":
2323
+ x.ticks(an[s].every(o));
2324
+ break;
2325
+ case "month":
2326
+ x.ticks(Pt.every(o));
2327
+ break;
2328
+ }
2329
+ }
2330
+ }
2331
+ if (B.append("g").attr("class", "grid").attr("transform", "translate(" + h + ", " + (T - 50) + ")").call(x).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em"), r.db.topAxisEnabled() || i.topAxis) {
2332
+ let o = ur(A).tickSize(-T + D + i.gridLineStartPadding).tickFormat(ie(f));
2333
+ if (F !== null) {
2334
+ const X = parseInt(F[1], 10);
2335
+ if (isNaN(X) || X <= 0)
2336
+ Tt.warn(
2337
+ `Invalid tick interval value: "${F[1]}". Skipping custom tick interval.`
2338
+ );
2339
+ else {
2340
+ const s = F[2], E = r.db.getWeekday() || i.weekday, z = A.domain(), V = z[0], P = z[1];
2341
+ if (q(V, P, X, s) <= Te)
2342
+ switch (s) {
2343
+ case "millisecond":
2344
+ o.ticks(Et.every(X));
2345
+ break;
2346
+ case "second":
2347
+ o.ticks(vt.every(X));
2348
+ break;
2349
+ case "minute":
2350
+ o.ticks(Ot.every(X));
2351
+ break;
2352
+ case "hour":
2353
+ o.ticks(Ht.every(X));
2354
+ break;
2355
+ case "day":
2356
+ o.ticks(xt.every(X));
2357
+ break;
2358
+ case "week":
2359
+ o.ticks(an[E].every(X));
2360
+ break;
2361
+ case "month":
2362
+ o.ticks(Pt.every(X));
2363
+ break;
2364
+ }
2365
+ }
2366
+ }
2367
+ B.append("g").attr("class", "grid").attr("transform", "translate(" + h + ", " + D + ")").call(o).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10);
2368
+ }
2369
+ }
2370
+ d(j, "makeGrid");
2371
+ function k(h, D) {
2372
+ let w = 0;
2373
+ const T = Object.keys(_).map((v) => [v, _[v]]);
2374
+ B.append("g").selectAll("text").data(T).enter().append(function(v) {
2375
+ const u = v[0].split(Bn.lineBreakRegex), f = -(u.length - 1) / 2, x = Y.createElementNS("http://www.w3.org/2000/svg", "text");
2376
+ x.setAttribute("dy", f + "em");
2377
+ for (const [b, F] of u.entries()) {
2378
+ const o = Y.createElementNS("http://www.w3.org/2000/svg", "tspan");
2379
+ o.setAttribute("alignment-baseline", "central"), o.setAttribute("x", "10"), b > 0 && o.setAttribute("dy", "1em"), o.textContent = F, x.appendChild(o);
2380
+ }
2381
+ return x;
2382
+ }).attr("x", 10).attr("y", function(v, u) {
2383
+ if (u > 0)
2384
+ for (let f = 0; f < u; f++)
2385
+ return w += T[u - 1][1], v[1] * h / 2 + w * h + D;
2386
+ else
2387
+ return v[1] * h / 2 + D;
2388
+ }).attr("font-size", i.sectionFontSize).attr("class", function(v) {
2389
+ for (const [u, f] of L.entries())
2390
+ if (v[0] === f)
2391
+ return "sectionTitle sectionTitle" + u % i.numberSectionStyles;
2392
+ return "sectionTitle";
2393
+ });
2394
+ }
2395
+ d(k, "vertLabels");
2396
+ function g(h, D, w, T) {
2397
+ const v = r.db.getTodayMarker();
2398
+ if (v === "off")
2399
+ return;
2400
+ const u = B.append("g").attr("class", "today"), f = /* @__PURE__ */ new Date(), x = u.append("line");
2401
+ x.attr("x1", A(f) + h).attr("x2", A(f) + h).attr("y1", i.titleTopMargin).attr("y2", T - i.titleTopMargin).attr("class", "today"), v !== "" && x.attr("style", v.replace(/,/g, ";"));
2402
+ }
2403
+ d(g, "drawToday");
2404
+ function y(h) {
2405
+ const D = {}, w = [];
2406
+ for (let T = 0, v = h.length; T < v; ++T)
2407
+ Object.prototype.hasOwnProperty.call(D, h[T]) || (D[h[T]] = !0, w.push(h[T]));
2408
+ return w;
2409
+ }
2410
+ d(y, "checkUnique");
2411
+ }, "draw"), $s = {
2412
+ setConf: Ls,
2413
+ draw: Ws
2414
+ }, Os = /* @__PURE__ */ d((t) => `
2415
+ .mermaid-main-font {
2416
+ font-family: ${t.fontFamily};
2417
+ }
2418
+
2419
+ .exclude-range {
2420
+ fill: ${t.excludeBkgColor};
2421
+ }
2422
+
2423
+ .section {
2424
+ stroke: none;
2425
+ opacity: 0.2;
2426
+ }
2427
+
2428
+ .section0 {
2429
+ fill: ${t.sectionBkgColor};
2430
+ }
2431
+
2432
+ .section2 {
2433
+ fill: ${t.sectionBkgColor2};
2434
+ }
2435
+
2436
+ .section1,
2437
+ .section3 {
2438
+ fill: ${t.altSectionBkgColor};
2439
+ opacity: 0.2;
2440
+ }
2441
+
2442
+ .sectionTitle0 {
2443
+ fill: ${t.titleColor};
2444
+ }
2445
+
2446
+ .sectionTitle1 {
2447
+ fill: ${t.titleColor};
2448
+ }
2449
+
2450
+ .sectionTitle2 {
2451
+ fill: ${t.titleColor};
2452
+ }
2453
+
2454
+ .sectionTitle3 {
2455
+ fill: ${t.titleColor};
2456
+ }
2457
+
2458
+ .sectionTitle {
2459
+ text-anchor: start;
2460
+ font-family: ${t.fontFamily};
2461
+ }
2462
+
2463
+
2464
+ /* Grid and axis */
2465
+
2466
+ .grid .tick {
2467
+ stroke: ${t.gridColor};
2468
+ opacity: 0.8;
2469
+ shape-rendering: crispEdges;
2470
+ }
2471
+
2472
+ .grid .tick text {
2473
+ font-family: ${t.fontFamily};
2474
+ fill: ${t.textColor};
2475
+ }
2476
+
2477
+ .grid path {
2478
+ stroke-width: 0;
2479
+ }
2480
+
2481
+
2482
+ /* Today line */
2483
+
2484
+ .today {
2485
+ fill: none;
2486
+ stroke: ${t.todayLineColor};
2487
+ stroke-width: 2px;
2488
+ }
2489
+
2490
+
2491
+ /* Task styling */
2492
+
2493
+ /* Default task */
2494
+
2495
+ .task {
2496
+ stroke-width: 2;
2497
+ }
2498
+
2499
+ .taskText {
2500
+ text-anchor: middle;
2501
+ font-family: ${t.fontFamily};
2502
+ }
2503
+
2504
+ .taskTextOutsideRight {
2505
+ fill: ${t.taskTextDarkColor};
2506
+ text-anchor: start;
2507
+ font-family: ${t.fontFamily};
2508
+ }
2509
+
2510
+ .taskTextOutsideLeft {
2511
+ fill: ${t.taskTextDarkColor};
2512
+ text-anchor: end;
2513
+ }
2514
+
2515
+
2516
+ /* Special case clickable */
2517
+
2518
+ .task.clickable {
2519
+ cursor: pointer;
2520
+ }
2521
+
2522
+ .taskText.clickable {
2523
+ cursor: pointer;
2524
+ fill: ${t.taskTextClickableColor} !important;
2525
+ font-weight: bold;
2526
+ }
2527
+
2528
+ .taskTextOutsideLeft.clickable {
2529
+ cursor: pointer;
2530
+ fill: ${t.taskTextClickableColor} !important;
2531
+ font-weight: bold;
2532
+ }
2533
+
2534
+ .taskTextOutsideRight.clickable {
2535
+ cursor: pointer;
2536
+ fill: ${t.taskTextClickableColor} !important;
2537
+ font-weight: bold;
2538
+ }
2539
+
2540
+
2541
+ /* Specific task settings for the sections*/
2542
+
2543
+ .taskText0,
2544
+ .taskText1,
2545
+ .taskText2,
2546
+ .taskText3 {
2547
+ fill: ${t.taskTextColor};
2548
+ }
2549
+
2550
+ .task0,
2551
+ .task1,
2552
+ .task2,
2553
+ .task3 {
2554
+ fill: ${t.taskBkgColor};
2555
+ stroke: ${t.taskBorderColor};
2556
+ }
2557
+
2558
+ .taskTextOutside0,
2559
+ .taskTextOutside2
2560
+ {
2561
+ fill: ${t.taskTextOutsideColor};
2562
+ }
2563
+
2564
+ .taskTextOutside1,
2565
+ .taskTextOutside3 {
2566
+ fill: ${t.taskTextOutsideColor};
2567
+ }
2568
+
2569
+
2570
+ /* Active task */
2571
+
2572
+ .active0,
2573
+ .active1,
2574
+ .active2,
2575
+ .active3 {
2576
+ fill: ${t.activeTaskBkgColor};
2577
+ stroke: ${t.activeTaskBorderColor};
2578
+ }
2579
+
2580
+ .activeText0,
2581
+ .activeText1,
2582
+ .activeText2,
2583
+ .activeText3 {
2584
+ fill: ${t.taskTextDarkColor} !important;
2585
+ }
2586
+
2587
+
2588
+ /* Completed task */
2589
+
2590
+ .done0,
2591
+ .done1,
2592
+ .done2,
2593
+ .done3 {
2594
+ stroke: ${t.doneTaskBorderColor};
2595
+ fill: ${t.doneTaskBkgColor};
2596
+ stroke-width: 2;
2597
+ }
2598
+
2599
+ .doneText0,
2600
+ .doneText1,
2601
+ .doneText2,
2602
+ .doneText3 {
2603
+ fill: ${t.taskTextDarkColor} !important;
2604
+ }
2605
+
2606
+ /* Done task text displayed outside the bar sits against the diagram background,
2607
+ not against the done-task bar, so it must use the outside/contrast color. */
2608
+ .doneText0.taskTextOutsideLeft,
2609
+ .doneText0.taskTextOutsideRight,
2610
+ .doneText1.taskTextOutsideLeft,
2611
+ .doneText1.taskTextOutsideRight,
2612
+ .doneText2.taskTextOutsideLeft,
2613
+ .doneText2.taskTextOutsideRight,
2614
+ .doneText3.taskTextOutsideLeft,
2615
+ .doneText3.taskTextOutsideRight {
2616
+ fill: ${t.taskTextOutsideColor} !important;
2617
+ }
2618
+
2619
+
2620
+ /* Tasks on the critical line */
2621
+
2622
+ .crit0,
2623
+ .crit1,
2624
+ .crit2,
2625
+ .crit3 {
2626
+ stroke: ${t.critBorderColor};
2627
+ fill: ${t.critBkgColor};
2628
+ stroke-width: 2;
2629
+ }
2630
+
2631
+ .activeCrit0,
2632
+ .activeCrit1,
2633
+ .activeCrit2,
2634
+ .activeCrit3 {
2635
+ stroke: ${t.critBorderColor};
2636
+ fill: ${t.activeTaskBkgColor};
2637
+ stroke-width: 2;
2638
+ }
2639
+
2640
+ .doneCrit0,
2641
+ .doneCrit1,
2642
+ .doneCrit2,
2643
+ .doneCrit3 {
2644
+ stroke: ${t.critBorderColor};
2645
+ fill: ${t.doneTaskBkgColor};
2646
+ stroke-width: 2;
2647
+ cursor: pointer;
2648
+ shape-rendering: crispEdges;
2649
+ }
2650
+
2651
+ .milestone {
2652
+ transform: rotate(45deg) scale(0.8,0.8);
2653
+ }
2654
+
2655
+ .milestoneText {
2656
+ font-style: italic;
2657
+ }
2658
+ .doneCritText0,
2659
+ .doneCritText1,
2660
+ .doneCritText2,
2661
+ .doneCritText3 {
2662
+ fill: ${t.taskTextDarkColor} !important;
2663
+ }
2664
+
2665
+ /* Done-crit task text outside the bar — same reasoning as doneText above. */
2666
+ .doneCritText0.taskTextOutsideLeft,
2667
+ .doneCritText0.taskTextOutsideRight,
2668
+ .doneCritText1.taskTextOutsideLeft,
2669
+ .doneCritText1.taskTextOutsideRight,
2670
+ .doneCritText2.taskTextOutsideLeft,
2671
+ .doneCritText2.taskTextOutsideRight,
2672
+ .doneCritText3.taskTextOutsideLeft,
2673
+ .doneCritText3.taskTextOutsideRight {
2674
+ fill: ${t.taskTextOutsideColor} !important;
2675
+ }
2676
+
2677
+ .vert {
2678
+ stroke: ${t.vertLineColor};
2679
+ }
2680
+
2681
+ .vertText {
2682
+ font-size: 15px;
2683
+ text-anchor: middle;
2684
+ fill: ${t.vertLineColor} !important;
2685
+ }
2686
+
2687
+ .activeCritText0,
2688
+ .activeCritText1,
2689
+ .activeCritText2,
2690
+ .activeCritText3 {
2691
+ fill: ${t.taskTextDarkColor} !important;
2692
+ }
2693
+
2694
+ .titleText {
2695
+ text-anchor: middle;
2696
+ font-size: 18px;
2697
+ fill: ${t.titleColor || t.textColor};
2698
+ font-family: ${t.fontFamily};
2699
+ }
2700
+ `, "getStyles"), Hs = Os, Vs = {
2701
+ parser: ji,
2702
+ db: Is,
2703
+ renderer: $s,
2704
+ styles: Hs
2705
+ };
2706
+ export {
2707
+ Vs as diagram
2708
+ };
2709
+ //# sourceMappingURL=ganttDiagram-6RSMTGT7-DzfeVIgF.js.map