@cardstack/boxel-cli 0.3.2-unstable.58 → 0.3.2-unstable.60

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 (921) hide show
  1. package/api.ts +3 -3
  2. package/bundled-realms/base/command.gts +73 -0
  3. package/bundled-test-harness/assets/adapter-TgpmkD23.js +2 -0
  4. package/bundled-test-harness/assets/add-field-to-card-definition-command-test-BVVD6_Wq.js +111 -0
  5. package/bundled-test-harness/assets/add-workspace-test-BvvYJ2Fk.js +71 -0
  6. package/bundled-test-harness/assets/ai-assistant-Ba_RBqf6.js +129 -0
  7. package/bundled-test-harness/assets/ai-assistant-panel-service-test-DK87n1hh.js +95 -0
  8. package/bundled-test-harness/assets/ai-assistant-test-CZATBlJS.js +2137 -0
  9. package/bundled-test-harness/assets/ai-function-generation-test-e58MHziu.js +996 -0
  10. package/bundled-test-harness/assets/ai-module-creation-test-CEieL3Fa.js +150 -0
  11. package/bundled-test-harness/assets/aibot-message-DhTbAqNk.js +1185 -0
  12. package/bundled-test-harness/assets/amd-transpile-test-CSk5COu7.js +425 -0
  13. package/bundled-test-harness/assets/app-Btfy4HWI.js +21464 -0
  14. package/bundled-test-harness/assets/apply-boxel-formatting-test-BHTP9NBp.js +134 -0
  15. package/bundled-test-harness/assets/apply-markdown-edit-test-BETCndeK.js +230 -0
  16. package/bundled-test-harness/assets/apply-search-replace-block-test-KNolar0-.js +630 -0
  17. package/bundled-test-harness/assets/arc-CA8yZ0zo.js +199 -0
  18. package/bundled-test-harness/assets/architecture-7EHR7CIX-C5JFMGdb.js +3 -0
  19. package/bundled-test-harness/assets/architectureDiagram-3BPJPVTR-CmVPjKgm.js +7400 -0
  20. package/bundled-test-harness/assets/auth-error-guard-test-D0rKESg_.js +30 -0
  21. package/bundled-test-harness/assets/auth-service-worker-test-DGg_vbKo.js +538 -0
  22. package/bundled-test-harness/assets/authed-fetch-test-CHF3eh_H.js +75 -0
  23. package/bundled-test-harness/assets/avif-image-def-test-p9tiyh4_.js +186 -0
  24. package/bundled-test-harness/assets/base-realm-Chjzrp6m.js +2 -0
  25. package/bundled-test-harness/assets/base-realm-DpSTsZxD.js +140 -0
  26. package/bundled-test-harness/assets/basic-test-D7qEz4hw.js +128 -0
  27. package/bundled-test-harness/assets/bfm-card-references-test-D-m1YnL8.js +577 -0
  28. package/bundled-test-harness/assets/binary-upload-dedupe-test-8RKK73EG.js +308 -0
  29. package/bundled-test-harness/assets/blockDiagram-GPEHLZMM-BdVFTa2C.js +4355 -0
  30. package/bundled-test-harness/assets/bot-registration-test-9zYny2wR.js +99 -0
  31. package/bundled-test-harness/assets/box-test-0T92xi3A.js +51 -0
  32. package/bundled-test-harness/assets/brand-guide-attachments-test-5ZtPn4cC.js +87 -0
  33. package/bundled-test-harness/assets/brand-guide-custom-css-test-CKKSgKyp.js +135 -0
  34. package/bundled-test-harness/assets/brand-logo-mark-field-test-nlNNQ3rw.js +87 -0
  35. package/bundled-test-harness/assets/broken-link-template-test-BGIExVof.js +345 -0
  36. package/bundled-test-harness/assets/browser-index-BaR-gTqG.js +3 -0
  37. package/bundled-test-harness/assets/browser-index-G4NKYBAj.js +8802 -0
  38. package/bundled-test-harness/assets/c4Diagram-AAUBKEIU-DyugX7zz.js +3764 -0
  39. package/bundled-test-harness/assets/cached-fetch-test-MtqvDphJ.js +93 -0
  40. package/bundled-test-harness/assets/can-read-realm-test-BZmwIOqS.js +58 -0
  41. package/bundled-test-harness/assets/cancel-indexing-job-test-BsQtQbDu.js +71 -0
  42. package/bundled-test-harness/assets/card-api-test-BxQ8f0-c.js +196 -0
  43. package/bundled-test-harness/assets/card-basics-test-B-uBZ8o4.js +4895 -0
  44. package/bundled-test-harness/assets/card-catalog-test-YmwmyIKf.js +377 -0
  45. package/bundled-test-harness/assets/card-copy-test-LoqdH1CQ.js +777 -0
  46. package/bundled-test-harness/assets/card-def-field-def-relationships-test-DvtBA1jv.js +560 -0
  47. package/bundled-test-harness/assets/card-def-menu-items-test-DHnd0LuM.js +182 -0
  48. package/bundled-test-harness/assets/card-delete-test-vKF0Jf1X.js +412 -0
  49. package/bundled-test-harness/assets/card-directory-name-test-CbCuPwSz.js +71 -0
  50. package/bundled-test-harness/assets/card-playground-test-CRIP3b5-.js +1497 -0
  51. package/bundled-test-harness/assets/card-prerender-ClYlSOBU.js +12661 -0
  52. package/bundled-test-harness/assets/card-search-adorn-test-Mggk5ZgY.js +128 -0
  53. package/bundled-test-harness/assets/card-search-query-builder-test-Cdl12s50.js +88 -0
  54. package/bundled-test-harness/assets/card-search-selection-menu-test-CtuCCLoB.js +108 -0
  55. package/bundled-test-harness/assets/channel-BKUMepxs.js +8 -0
  56. package/bundled-test-harness/assets/check-correctness-test-DBh8DT_f.js +252 -0
  57. package/bundled-test-harness/assets/chunk-2J33WTMH-ClrRoNQU.js +31 -0
  58. package/bundled-test-harness/assets/chunk-3OPIFGDE-g_0Oh8jN.js +5548 -0
  59. package/bundled-test-harness/assets/chunk-4BX2VUAB-D2LCc7Y9.js +11 -0
  60. package/bundled-test-harness/assets/chunk-4EGX6M5U-D8vRS5IG.js +44 -0
  61. package/bundled-test-harness/assets/chunk-55IACEB6-C5j4VAmb.js +10 -0
  62. package/bundled-test-harness/assets/chunk-5DO6E6H7-CPb3jsP0.js +27 -0
  63. package/bundled-test-harness/assets/chunk-5ZQYHXKU-BlVb7vgG.js +1767 -0
  64. package/bundled-test-harness/assets/chunk-727SXJPM-C_NVCDMC.js +3877 -0
  65. package/bundled-test-harness/assets/chunk-AQP2D5EJ-CpwrMix_.js +2622 -0
  66. package/bundled-test-harness/assets/chunk-BR22UD5L-AF0NWdjT.js +85 -0
  67. package/bundled-test-harness/assets/chunk-BSJP7CBP-Dgun5vYb.js +114 -0
  68. package/bundled-test-harness/assets/chunk-CSCIHK7Q-D7nFiAZ-.js +6144 -0
  69. package/bundled-test-harness/assets/chunk-FHYWG6QK-2nuXS9PL.js +27 -0
  70. package/bundled-test-harness/assets/chunk-FMBD7UC4-O-Y8VK1S.js +20 -0
  71. package/bundled-test-harness/assets/chunk-KSCS5N6A-Du5-DprU.js +871 -0
  72. package/bundled-test-harness/assets/chunk-L5ZTLDWV-C2lDtkix.js +43 -0
  73. package/bundled-test-harness/assets/chunk-LZXEDZCA-qAMsMZkF.js +65 -0
  74. package/bundled-test-harness/assets/chunk-MPE355IW-DcT_60Oq.js +27 -0
  75. package/bundled-test-harness/assets/chunk-MZUSXYTE-BsH_YmnC.js +36 -0
  76. package/bundled-test-harness/assets/chunk-N66VUXT2-DMyMHgoS.js +70 -0
  77. package/bundled-test-harness/assets/chunk-ND2GUHAM-DO1Znn8O.js +93 -0
  78. package/bundled-test-harness/assets/chunk-NZK2D7GU-B1YWBxHm.js +89 -0
  79. package/bundled-test-harness/assets/chunk-O5CBEL6O-CZVSBsRq.js +2395 -0
  80. package/bundled-test-harness/assets/chunk-PUPMXCY4-DzOK-Vbt.js +27 -0
  81. package/bundled-test-harness/assets/chunk-QZHKN3VN-DJFnRn99.js +20 -0
  82. package/bundled-test-harness/assets/chunk-UIBZB4QT-5KIxBxjk.js +27 -0
  83. package/bundled-test-harness/assets/chunk-WCWK7LTN-BsQwhliq.js +36 -0
  84. package/bundled-test-harness/assets/chunk-WU5MYG2G-DUVb5MAo.js +12 -0
  85. package/bundled-test-harness/assets/chunk-XPW4576I-DLaJYAOU.js +2341 -0
  86. package/bundled-test-harness/assets/classDiagram-4FO5ZUOK-DjP2uozG.js +31 -0
  87. package/bundled-test-harness/assets/classDiagram-v2-Q7XG4LA2-Dt6ps5uz.js +31 -0
  88. package/bundled-test-harness/assets/code-equality-assertion-BBezFT13.js +474 -0
  89. package/bundled-test-harness/assets/code-patches-test-DzoQGARM.js +1128 -0
  90. package/bundled-test-harness/assets/code-patching-test-D8r-pJ5w.js +114 -0
  91. package/bundled-test-harness/assets/code-ref-test-DU3HChNz.js +138 -0
  92. package/bundled-test-harness/assets/code-semantics-service-test-DArUotKy.js +65 -0
  93. package/bundled-test-harness/assets/code-submode-test-h5wWKsz2.js +1762 -0
  94. package/bundled-test-harness/assets/codeblocks-test-FbuwTy5v.js +492 -0
  95. package/bundled-test-harness/assets/codemirror-context-DVlC9C78.js +2 -0
  96. package/bundled-test-harness/assets/codemirror-editor-test-JDT9uwqM.js +1176 -0
  97. package/bundled-test-harness/assets/color-field-test-BssRlQAX.js +213 -0
  98. package/bundled-test-harness/assets/command-definitions-test-J21kOxBs.js +72 -0
  99. package/bundled-test-harness/assets/commands-DAo0DgCX.js +1379 -0
  100. package/bundled-test-harness/assets/commands-calling-test-C3deVvv_.js +200 -0
  101. package/bundled-test-harness/assets/commands-test--0zViqs2.js +1041 -0
  102. package/bundled-test-harness/assets/commands-test-BwNn2npL.js +1145 -0
  103. package/bundled-test-harness/assets/computed-test-BD_KrZmc.js +882 -0
  104. package/bundled-test-harness/assets/container-C8gu0I0Q.js +14605 -0
  105. package/bundled-test-harness/assets/convert-to-class-name-test-CX21VRzM.js +17 -0
  106. package/bundled-test-harness/assets/copy-and-edit-test-BUy_o8XJ.js +291 -0
  107. package/bundled-test-harness/assets/copy-card-test-LWbugEPe.js +156 -0
  108. package/bundled-test-harness/assets/copy-file-to-realm-test-BS25EUGV.js +99 -0
  109. package/bundled-test-harness/assets/copy-source-test-Dh33cqM8.js +56 -0
  110. package/bundled-test-harness/assets/cose-bilkent-S5V4N54A-CjAFDdpS.js +4275 -0
  111. package/bundled-test-harness/assets/create-file-test-DOc3YYij.js +963 -0
  112. package/bundled-test-harness/assets/create-file-test-DgUya7-i.js +397 -0
  113. package/bundled-test-harness/assets/create-listing-modal-test-DZxZBYS7.js +194 -0
  114. package/bundled-test-harness/assets/create-listing-pr-request-Aw0ms76l.js +64 -0
  115. package/bundled-test-harness/assets/create-listing-pr-request-test-CFvqkgky.js +117 -0
  116. package/bundled-test-harness/assets/create-spec-test-BTRt8oe8.js +239 -0
  117. package/bundled-test-harness/assets/csv-file-def-test-BVffg8wL.js +101 -0
  118. package/bundled-test-harness/assets/dagre-BM42HDAG-GoRrN65x.js +606 -0
  119. package/bundled-test-harness/assets/dagre-ByxOOmYM.js +4195 -0
  120. package/bundled-test-harness/assets/date-time-fields-test-BEcfCqgB.js +322 -0
  121. package/bundled-test-harness/assets/debug-message-test-CAxbe6x2.js +119 -0
  122. package/bundled-test-harness/assets/diagram-2AECGRRQ-B6-pvp9H.js +279 -0
  123. package/bundled-test-harness/assets/diagram-5GNKFQAL-C9M7hXIc.js +142 -0
  124. package/bundled-test-harness/assets/diagram-KO2AKTUF-BNJvCLGK.js +551 -0
  125. package/bundled-test-harness/assets/diagram-LMA3HP47-hlJyTtqP.js +184 -0
  126. package/bundled-test-harness/assets/diagram-OG6HWLK6-BvPoB3IH.js +857 -0
  127. package/bundled-test-harness/assets/diffing-test-De9Ev_Fr.js +210 -0
  128. package/bundled-test-harness/assets/dist-BsEojs3T.js +232 -0
  129. package/bundled-test-harness/assets/dist-CY3T64Hs.js +105 -0
  130. package/bundled-test-harness/assets/dist-q2xz8RMj.js +2 -0
  131. package/bundled-test-harness/assets/editor-test-DOI_TvWQ.js +551 -0
  132. package/bundled-test-harness/assets/editor.main-CpuM6HrX.js +43566 -0
  133. package/bundled-test-harness/assets/editor.main-DkMgS1qm.js +3 -0
  134. package/bundled-test-harness/assets/email-field-test-t-80Z94b.js +74 -0
  135. package/bundled-test-harness/assets/enum-field-test-DVp-2pip.js +909 -0
  136. package/bundled-test-harness/assets/erDiagram-TEJ5UH35-CYniRkua.js +2041 -0
  137. package/bundled-test-harness/assets/error-display-test-IuRxKyLz.js +343 -0
  138. package/bundled-test-harness/assets/evaluate-module-test-DdnfbFp-.js +66 -0
  139. package/bundled-test-harness/assets/eventmodeling-FCH6USID-BO089-Cs.js +3 -0
  140. package/bundled-test-harness/assets/execute-atomic-operations-test-CgbvrBlu.js +75 -0
  141. package/bundled-test-harness/assets/externals-5atxeNU4.js +5533 -0
  142. package/bundled-test-harness/assets/extract-css-variables-test-Cii-CYfc.js +169 -0
  143. package/bundled-test-harness/assets/fallback-banner-test-CUUd-Wuu.js +227 -0
  144. package/bundled-test-harness/assets/fallback-banner-test-D4NWyahM.js +53 -0
  145. package/bundled-test-harness/assets/fallback-models-test-2MJ1jAs8.js +163 -0
  146. package/bundled-test-harness/assets/fetch-card-json-test-Cruqsq6S.js +63 -0
  147. package/bundled-test-harness/assets/fetcher-test-CkHlbTzz.js +85 -0
  148. package/bundled-test-harness/assets/field-configuration-test-CqwsGNib.js +535 -0
  149. package/bundled-test-harness/assets/field-markdown-domain-test-DPjz8i4Y.js +615 -0
  150. package/bundled-test-harness/assets/field-markdown-primitives-test-Dw07UtT7.js +362 -0
  151. package/bundled-test-harness/assets/field-markdown-specialized-test-C-t34PAw.js +527 -0
  152. package/bundled-test-harness/assets/field-path-parser-test-BeNjacPu.js +387 -0
  153. package/bundled-test-harness/assets/field-playground-test-BILTGxqr.js +902 -0
  154. package/bundled-test-harness/assets/field-support-predicates-test-Df24w0Wa.js +170 -0
  155. package/bundled-test-harness/assets/field-test-helpers-P22hxBNz.js +45 -0
  156. package/bundled-test-harness/assets/file-attachment-test-Cjg4NBeM.js +635 -0
  157. package/bundled-test-harness/assets/file-chooser-test-Cl0XujPT.js +439 -0
  158. package/bundled-test-harness/assets/file-def-live-reload-test-D4Obzi12.js +50 -0
  159. package/bundled-test-harness/assets/file-def-manager-DUgR-gjs.js +470 -0
  160. package/bundled-test-harness/assets/file-def-manager-canonicalize-test-D_LWVsvz.js +451 -0
  161. package/bundled-test-harness/assets/file-def-menu-items-test-xvsUTOK4.js +114 -0
  162. package/bundled-test-harness/assets/file-def-navigation-test-DxPceB7E.js +109 -0
  163. package/bundled-test-harness/assets/file-def-serialization-test-CpwbDb8p.js +87 -0
  164. package/bundled-test-harness/assets/file-def-test-CEnKcvW9.js +219 -0
  165. package/bundled-test-harness/assets/file-tree-test-DE2aH6iq.js +773 -0
  166. package/bundled-test-harness/assets/flac-audio-def-test-BCg7LnR6.js +138 -0
  167. package/bundled-test-harness/assets/flowDiagram-I6XJVG4X-Xv8-LIxQ.js +4883 -0
  168. package/bundled-test-harness/assets/formatted-aibot-message-test-CsxFn62P.js +366 -0
  169. package/bundled-test-harness/assets/formatted-user-message-test-DjZc8qnA.js +43 -0
  170. package/bundled-test-harness/assets/freestyle-test-QEZaZCNJ.js +17 -0
  171. package/bundled-test-harness/assets/full-reindex-realm-test-C_c2OTTD.js +103 -0
  172. package/bundled-test-harness/assets/ganttDiagram-6RSMTGT7-DmvkzS5w.js +4060 -0
  173. package/bundled-test-harness/assets/garbage-collection-test-BVuvfidI.js +373 -0
  174. package/bundled-test-harness/assets/general-test-Ydis4jEq.js +926 -0
  175. package/bundled-test-harness/assets/generate-css-variables-test-CZCmgTAO.js +88 -0
  176. package/bundled-test-harness/assets/generate-example-cards-one-shot-test-x_szhkSN.js +67 -0
  177. package/bundled-test-harness/assets/get-available-realm-identifiers-test-DvRnwCHR.js +49 -0
  178. package/bundled-test-harness/assets/get-catalog-realm-identifiers-test-46TE-XA0.js +49 -0
  179. package/bundled-test-harness/assets/get-default-writable-realm-test-DaAkxTNh.js +56 -0
  180. package/bundled-test-harness/assets/get-realm-of-resource-identifier-test-9XEGHVOV.js +55 -0
  181. package/bundled-test-harness/assets/get-relationship-membership-state-test-BY4gk5JZ.js +1306 -0
  182. package/bundled-test-harness/assets/get-type-refs-from-filter-test-BynlX0JE.js +136 -0
  183. package/bundled-test-harness/assets/get-user-system-card-test-D98Xxn1k.js +52 -0
  184. package/bundled-test-harness/assets/gif-image-def-test-FwKGFGWw.js +161 -0
  185. package/bundled-test-harness/assets/gitGraph-WXDBUCRP-Bmn0Z_Xi.js +3 -0
  186. package/bundled-test-harness/assets/gitGraphDiagram-PVQCEYII-BAo0G82W.js +1150 -0
  187. package/bundled-test-harness/assets/gts-file-def-test-ivEk8Muv.js +99 -0
  188. package/bundled-test-harness/assets/head-format-preview-test-CNhvk724.js +156 -0
  189. package/bundled-test-harness/assets/helpers-BH4Yfo_2.js +5 -0
  190. package/bundled-test-harness/assets/host-mode-test-BRNndb2h.js +391 -0
  191. package/bundled-test-harness/assets/host-submode-test-DHd0x-6x.js +904 -0
  192. package/bundled-test-harness/assets/index-query-engine-test-7Fzc09fG.js +2548 -0
  193. package/bundled-test-harness/assets/index-writer-test-D3cL2q2N.js +1842 -0
  194. package/bundled-test-harness/assets/indexeddb-crypto-store-C09Shau-.js +49434 -0
  195. package/bundled-test-harness/assets/info-J43DQDTF-Dz5b1Xgc.js +3 -0
  196. package/bundled-test-harness/assets/infoDiagram-5YYISTIA-Dl8XvIfi.js +23 -0
  197. package/bundled-test-harness/assets/inspector-test-CVZVQdIJ.js +1776 -0
  198. package/bundled-test-harness/assets/instance-filter-matcher-test-C-4z6qUt.js +564 -0
  199. package/bundled-test-harness/assets/instantiate-card-test-eQ22Vt_m.js +104 -0
  200. package/bundled-test-harness/assets/interact-submode-creation-and-permissions-test-hXPsRPMU.js +497 -0
  201. package/bundled-test-harness/assets/interact-submode-setup-D55IIVc5.js +558 -0
  202. package/bundled-test-harness/assets/interact-submode-test-BwrtFe2m.js +725 -0
  203. package/bundled-test-harness/assets/invalidate-realm-identifiers-test-BMk7yd-D.js +101 -0
  204. package/bundled-test-harness/assets/invite-user-to-room-test-B5B0umJQ.js +67 -0
  205. package/bundled-test-harness/assets/ishikawaDiagram-YF4QCWOH-BrO7NAng.js +1009 -0
  206. package/bundled-test-harness/assets/isolated-render-test-DX1wdHoS.js +51 -0
  207. package/bundled-test-harness/assets/item-button-QkVr-FW0.js +203 -0
  208. package/bundled-test-harness/assets/javascript-BWNQhcCY.js +75 -0
  209. package/bundled-test-harness/assets/job-priority-header-test-CuBZloLK.js +81 -0
  210. package/bundled-test-harness/assets/journeyDiagram-JHISSGLW-B7BT66v0.js +1256 -0
  211. package/bundled-test-harness/assets/jpg-image-def-test-DEx462nY.js +430 -0
  212. package/bundled-test-harness/assets/json-file-def-test-Cray6ly6.js +92 -0
  213. package/bundled-test-harness/assets/kanban-definition-UN3LZRKU-C0E5Vmr_.js +1284 -0
  214. package/bundled-test-harness/assets/last-modified-date-test-BzE25NOB.js +18 -0
  215. package/bundled-test-harness/assets/limited-set-test-NwGNoXKc.js +123 -0
  216. package/bundled-test-harness/assets/line-BbGOk93s.js +55 -0
  217. package/bundled-test-harness/assets/linear-CHTo-YQl.js +417 -0
  218. package/bundled-test-harness/assets/linksto-broken-link-placeholder-test-CZdgRM1b.js +315 -0
  219. package/bundled-test-harness/assets/linksto-error-sentinel-test-DhsHO7Xs.js +236 -0
  220. package/bundled-test-harness/assets/linksto-many-broken-link-placeholder-test-mt-RrRta.js +303 -0
  221. package/bundled-test-harness/assets/linksto-many-per-slot-access-test-CdGUXZsi.js +301 -0
  222. package/bundled-test-harness/assets/linksto-sentinel-roundtrip-test-DOJ_6Gwf.js +258 -0
  223. package/bundled-test-harness/assets/linksto-singular-js-access-contract-test-BZC-gslF.js +194 -0
  224. package/bundled-test-harness/assets/live-prerendered-search-BSkwf5AH.js +639 -0
  225. package/bundled-test-harness/assets/live-test-DTfxZnsy.js +100 -0
  226. package/bundled-test-harness/assets/live-test-WOMYpc1I.js +2 -0
  227. package/bundled-test-harness/assets/loader-icon-error-test-F_ukQytn.js +62 -0
  228. package/bundled-test-harness/assets/loader-parallel-prefetch-test-DpNaFnhc.js +257 -0
  229. package/bundled-test-harness/assets/loader-retry-test-EQ2X0bFS.js +173 -0
  230. package/bundled-test-harness/assets/loader-test-BYkWAwc4.js +245 -0
  231. package/bundled-test-harness/assets/loading-test-jfWH_OpH.js +63 -0
  232. package/bundled-test-harness/assets/login-error-text-test-Cldr1X6h.js +51 -0
  233. package/bundled-test-harness/assets/m4a-audio-def-test-BQ1WKApD.js +185 -0
  234. package/bundled-test-harness/assets/main-ByAsLO_g.js +5 -0
  235. package/bundled-test-harness/assets/markdown-fallback-test-dtTaGP1s.js +316 -0
  236. package/bundled-test-harness/assets/markdown-file-def-test-shW9Xxd1.js +286 -0
  237. package/bundled-test-harness/assets/markdown-helpers-test-B6H7p4ay.js +183 -0
  238. package/bundled-test-harness/assets/markdown-highlighting-test-ZIrFNHRe.js +244 -0
  239. package/bundled-test-harness/assets/markdown-preview-KII3nJ2M.js +69 -0
  240. package/bundled-test-harness/assets/markdown-preview-test-De-IaUbK.js +237 -0
  241. package/bundled-test-harness/assets/marked-sync-CGSehq4u.js +2 -0
  242. package/bundled-test-harness/assets/marked-sync-DenC7QgC.js +2561 -0
  243. package/bundled-test-harness/assets/marked-sync-test-jZBr20Hq.js +146 -0
  244. package/bundled-test-harness/assets/matrix-service-sliding-sync-test-Ax4kyAMt.js +33 -0
  245. package/bundled-test-harness/assets/mermaid-parser.core-B_3tzKUl.js +114 -0
  246. package/bundled-test-harness/assets/mermaid.core-D2hqA7Hq.js +1700 -0
  247. package/bundled-test-harness/assets/message-service-subscription-test-B42KnJ91.js +113 -0
  248. package/bundled-test-harness/assets/mindmap-definition-RKZ34NQL-IZz7Qpd0.js +1347 -0
  249. package/bundled-test-harness/assets/mock-matrix-BhFWlMMr.js +14292 -0
  250. package/bundled-test-harness/assets/mock-matrix-CrtMntcN.js +2 -0
  251. package/bundled-test-harness/assets/module-transpile-cache-test-BtWN4OiM.js +66 -0
  252. package/bundled-test-harness/assets/monaco.contribution-B1hOUP3w.js +2 -0
  253. package/bundled-test-harness/assets/monaco.contribution-DhNsYtZe.js +2 -0
  254. package/bundled-test-harness/assets/monaco.contribution-DvJDImx2.js +103 -0
  255. package/bundled-test-harness/assets/monaco.contribution-yXcOyzue.js +243 -0
  256. package/bundled-test-harness/assets/mp3-audio-def-test-D365TuA7.js +129 -0
  257. package/bundled-test-harness/assets/mutex-test-DY09HLvv.js +71 -0
  258. package/bundled-test-harness/assets/number-field-test-wYaQjnzA.js +153 -0
  259. package/bundled-test-harness/assets/ogg-audio-def-test-Dl01PP31.js +191 -0
  260. package/bundled-test-harness/assets/open-create-listing-modal-test-D8C2PUFv.js +117 -0
  261. package/bundled-test-harness/assets/open-workspace-test-DN2n8IkC.js +48 -0
  262. package/bundled-test-harness/assets/operator-mode-acceptance-test-B_hzJZo4.js +1044 -0
  263. package/bundled-test-harness/assets/operator-mode-card-catalog-test-Hrrnkdt9.js +989 -0
  264. package/bundled-test-harness/assets/operator-mode-links-test-DC6sc9TZ.js +797 -0
  265. package/bundled-test-harness/assets/operator-mode-state-service-test-Aqz9_v0U.js +122 -0
  266. package/bundled-test-harness/assets/operator-mode-test-CLgpZGEM.js +617 -0
  267. package/bundled-test-harness/assets/operator-mode-ui-test-CDRrORfC.js +985 -0
  268. package/bundled-test-harness/assets/ordinal-BIRuJQBH.js +85 -0
  269. package/bundled-test-harness/assets/overlay-menu-items-test-of24KuXp.js +316 -0
  270. package/bundled-test-harness/assets/packet-YPE3B663-hs92geQG.js +3 -0
  271. package/bundled-test-harness/assets/panel-rIdTMDfK.js +3371 -0
  272. package/bundled-test-harness/assets/past-sessions-test-ZKr4ACF0.js +321 -0
  273. package/bundled-test-harness/assets/patch-code-test-BZa-Itrt.js +203 -0
  274. package/bundled-test-harness/assets/patch-fields-test-BkaHs-zo.js +992 -0
  275. package/bundled-test-harness/assets/patch-instance-test-CRMgg52p.js +287 -0
  276. package/bundled-test-harness/assets/persist-module-inspector-view-test-CqNy2RXR.js +62 -0
  277. package/bundled-test-harness/assets/phone-number-field-test-CV6gntON.js +72 -0
  278. package/bundled-test-harness/assets/pie-LRSECV5Y-DcM5pWE3.js +3 -0
  279. package/bundled-test-harness/assets/pieDiagram-4H26LBE5-CtO8RHpU.js +253 -0
  280. package/bundled-test-harness/assets/plan-install-test-lfBTuWXU.js +417 -0
  281. package/bundled-test-harness/assets/playground-VscW9KdT.js +57 -0
  282. package/bundled-test-harness/assets/png-image-def-test-CRspcIHP.js +222 -0
  283. package/bundled-test-harness/assets/prerender-file-extract-test-D3SpxfMI.js +176 -0
  284. package/bundled-test-harness/assets/prerender-html-test-WWptGXJ0.js +615 -0
  285. package/bundled-test-harness/assets/prerender-meta-test-DwQEGN6j.js +388 -0
  286. package/bundled-test-harness/assets/prerender-module-test-BM1AOwRF.js +195 -0
  287. package/bundled-test-harness/assets/prerendered-card-search-test-BVJ8IHLe.js +708 -0
  288. package/bundled-test-harness/assets/preview-format-test-DDpiXDN_.js +103 -0
  289. package/bundled-test-harness/assets/preview-test-D2UV1C5D.js +455 -0
  290. package/bundled-test-harness/assets/published-realm-url-DUIZzAJ5.js +52 -0
  291. package/bundled-test-harness/assets/published-realm-url-test-CIgSf4Ub.js +137 -0
  292. package/bundled-test-harness/assets/qs-test-Bi679H5w.js +36 -0
  293. package/bundled-test-harness/assets/quadrantDiagram-W4KKPZXB-GOTAKsCo.js +2324 -0
  294. package/bundled-test-harness/assets/query-field-barrier-test-BlOuVxdS.js +118 -0
  295. package/bundled-test-harness/assets/query-field-error-sentinel-test-BsB76iUQ.js +202 -0
  296. package/bundled-test-harness/assets/query-field-normalization-test-B2YodJCr.js +271 -0
  297. package/bundled-test-harness/assets/query-field-schema-test-CQhJASFx.js +231 -0
  298. package/bundled-test-harness/assets/query-fields-test-CaZ19leM.js +535 -0
  299. package/bundled-test-harness/assets/queue-test-DrSip6mJ.js +216 -0
  300. package/bundled-test-harness/assets/radar-GUYGQ44K-BkAe1nkp.js +3 -0
  301. package/bundled-test-harness/assets/read-card-for-ai-assistant-test-D8yB-OL9.js +91 -0
  302. package/bundled-test-harness/assets/read-file-for-ai-assistant-test-K3M0-lBD.js +45 -0
  303. package/bundled-test-harness/assets/read-source-test-CKlb0ORb.js +67 -0
  304. package/bundled-test-harness/assets/read-text-file-test-CJdasDDU.js +124 -0
  305. package/bundled-test-harness/assets/realm-DhUCLR5r.js +884 -0
  306. package/bundled-test-harness/assets/realm-field-test-kFgxphDI.js +101 -0
  307. package/bundled-test-harness/assets/realm-index-card-id-test-DAnMAqw4.js +18 -0
  308. package/bundled-test-harness/assets/realm-indexing-test-BQkX-Dat.js +4018 -0
  309. package/bundled-test-harness/assets/realm-paths-test-CmEi9rzu.js +33 -0
  310. package/bundled-test-harness/assets/realm-querying-test-eq3qSXLu.js +1062 -0
  311. package/bundled-test-harness/assets/realm-test-DLQAtdMt.js +2409 -0
  312. package/bundled-test-harness/assets/reasoning-test-CwTfyDlj.js +234 -0
  313. package/bundled-test-harness/assets/recent-files-test-MVIGLp8S.js +449 -0
  314. package/bundled-test-harness/assets/reindex-realm-test-BwLgJeB3.js +119 -0
  315. package/bundled-test-harness/assets/relationship-loading-state-test-B4Ca43yD.js +289 -0
  316. package/bundled-test-harness/assets/render-component-BKEihV4U.js +2 -0
  317. package/bundled-test-harness/assets/render-error-test-DWD6tfNe.js +22 -0
  318. package/bundled-test-harness/assets/render-service-test-BjuoVrUK.js +87 -0
  319. package/bundled-test-harness/assets/render-timer-stub-test-BgUY5u3X.js +84 -0
  320. package/bundled-test-harness/assets/rendered-markdown-DOP-s6fW.js +211 -0
  321. package/bundled-test-harness/assets/rendered-markdown-test-CD02UYwA.js +360 -0
  322. package/bundled-test-harness/assets/requirementDiagram-4Y6WPE33-DJIy7eR9.js +2550 -0
  323. package/bundled-test-harness/assets/rich-markdown-field-test-BJeQx1tL.js +806 -0
  324. package/bundled-test-harness/assets/room-message-test-CjD7FlPD.js +171 -0
  325. package/bundled-test-harness/assets/rust-crypto-GS0FFZ7H.js +16141 -0
  326. package/bundled-test-harness/assets/sanitize-module-list-test-gi0pcqSy.js +68 -0
  327. package/bundled-test-harness/assets/sankeyDiagram-5OEKKPKP-wBsbt1Mr.js +1357 -0
  328. package/bundled-test-harness/assets/schema-editor-test-BSqu8W3e.js +784 -0
  329. package/bundled-test-harness/assets/schema-generation-test-DVFuSsLl.js +28 -0
  330. package/bundled-test-harness/assets/scrolling-test-CpzkRiBS.js +292 -0
  331. package/bundled-test-harness/assets/search-and-choose-test-DVWX4XRb.js +156 -0
  332. package/bundled-test-harness/assets/search-cache-key-test-BMnYM4a5.js +79 -0
  333. package/bundled-test-harness/assets/search-command-test-kEfT0AO7.js +135 -0
  334. package/bundled-test-harness/assets/search-correlation-id-test-D08FtVUZ.js +101 -0
  335. package/bundled-test-harness/assets/search-data-test-CTrBEc1m.js +243 -0
  336. package/bundled-test-harness/assets/search-google-images-test-UnKG8qCp.js +168 -0
  337. package/bundled-test-harness/assets/search-in-flight-key-test-9Va-JXFz.js +79 -0
  338. package/bundled-test-harness/assets/search-test-COlO2lZi.js +847 -0
  339. package/bundled-test-harness/assets/send-ai-assistant-message-test-BPjOjt2R.js +52 -0
  340. package/bundled-test-harness/assets/send-bot-trigger-event-test-BB4lHbB_.js +56 -0
  341. package/bundled-test-harness/assets/send-request-via-proxy-test-U8frmHZA.js +333 -0
  342. package/bundled-test-harness/assets/sending-test-DjEzksEX.js +317 -0
  343. package/bundled-test-harness/assets/sequenceDiagram-3UESZ5HK-QAEjhoay.js +5551 -0
  344. package/bundled-test-harness/assets/serialization-test-DHdLriC8.js +8283 -0
  345. package/bundled-test-harness/assets/set-user-system-card-test-C8I1lDBh.js +59 -0
  346. package/bundled-test-harness/assets/setup-BkuybBki.js +769 -0
  347. package/bundled-test-harness/assets/setup-gxkWJKID.js +2 -0
  348. package/bundled-test-harness/assets/show-card-test-DHKQ6AI4.js +362 -0
  349. package/bundled-test-harness/assets/skills-test-DlMgZrPV.js +568 -0
  350. package/bundled-test-harness/assets/spec-test-s9Zj7x2E.js +1012 -0
  351. package/bundled-test-harness/assets/stateDiagram-AJRCARHV-nEhf3efZ.js +363 -0
  352. package/bundled-test-harness/assets/stateDiagram-v2-BHNVJYJU-tZz_3w-7.js +29 -0
  353. package/bundled-test-harness/assets/store-add-test-D44FWRl3.js +52 -0
  354. package/bundled-test-harness/assets/store-test-TTmNBs5v.js +1562 -0
  355. package/bundled-test-harness/assets/summarize-session-test-DHAuNb5K.js +169 -0
  356. package/bundled-test-harness/assets/svg-image-def-test-C2_GGzR6.js +164 -0
  357. package/bundled-test-harness/assets/switch-submode-test-CfGaoxVe.js +168 -0
  358. package/bundled-test-harness/assets/test-realm-service-worker-C21o7yvW.js +73 -0
  359. package/bundled-test-harness/assets/tests-BSt6h9iC.js +2771 -0
  360. package/bundled-test-harness/assets/text-file-def-test-CR4QO7e_.js +93 -0
  361. package/bundled-test-harness/assets/text-input-validator-test-DYS3mFj9.js +155 -0
  362. package/bundled-test-harness/assets/text-suggestion-test-GUxJ7WtF.js +339 -0
  363. package/bundled-test-harness/assets/theme-card-test-Ba2KqFB8.js +573 -0
  364. package/bundled-test-harness/assets/timeline-definition-PNZ67QCA-BQYyTIei.js +1545 -0
  365. package/bundled-test-harness/assets/transform-cards-test-DyA8eCom.js +341 -0
  366. package/bundled-test-harness/assets/treeView-BLDUP644-Z4ezSvef.js +3 -0
  367. package/bundled-test-harness/assets/treemap-LRROVOQU-Bf5rk_He.js +3 -0
  368. package/bundled-test-harness/assets/ts-file-def-test-Cxnc6H74.js +90 -0
  369. package/bundled-test-harness/assets/tsMode-oJEHe-CR.js +968 -0
  370. package/bundled-test-harness/assets/typescript-DLbb7q56.js +2 -0
  371. package/bundled-test-harness/assets/update-room-skills-test-B7VLHU3-.js +197 -0
  372. package/bundled-test-harness/assets/url-test-w-69Zycf.js +103 -0
  373. package/bundled-test-harness/assets/use-ai-assistant-test-DJkFz7_b.js +330 -0
  374. package/bundled-test-harness/assets/validate-realm-test-BioLutB8.js +53 -0
  375. package/bundled-test-harness/assets/vennDiagram-CIIHVFJN-9eLwsQET.js +2833 -0
  376. package/bundled-test-harness/assets/wardley-L42UT6IY-qNP5_917.js +3 -0
  377. package/bundled-test-harness/assets/wardleyDiagram-YWT4CUSO-DZhEm4N4.js +872 -0
  378. package/bundled-test-harness/assets/wav-audio-def-test-DqsTEBw8.js +155 -0
  379. package/bundled-test-harness/assets/webp-image-def-test-23wOLPMu.js +225 -0
  380. package/bundled-test-harness/assets/workspace-chooser-delete-test-Q6S_nGDT.js +189 -0
  381. package/bundled-test-harness/assets/workspace-chooser-test-CzsvY1v_.js +235 -0
  382. package/bundled-test-harness/assets/workspace-delete-multiple-test-BNFHkJpQ.js +213 -0
  383. package/bundled-test-harness/assets/workspace-delete-summary-test-DLzNdjvC.js +63 -0
  384. package/bundled-test-harness/assets/write-binary-file-test-PHHt9fVI.js +100 -0
  385. package/bundled-test-harness/assets/write-text-file-test-DuHe6tR5.js +172 -0
  386. package/bundled-test-harness/assets/xychartDiagram-2RQKCTM6-bflHQbEv.js +2551 -0
  387. package/bundled-test-harness/index.html +24 -23
  388. package/bundled-test-harness/tests/index.html +31 -30
  389. package/bundled-types/base/command.d.ts +48 -0
  390. package/bundled-types/host-app/components/operator-mode/publish-realm-modal.gts +17 -26
  391. package/bundled-types/host-app/lib/published-realm-url.ts +135 -0
  392. package/package.json +3 -3
  393. package/src/build-program.ts +12 -12
  394. package/src/commands/consolidate-workspaces.ts +1 -1
  395. package/src/commands/file/delete.ts +4 -4
  396. package/src/commands/file/index.ts +6 -6
  397. package/src/commands/file/lint.ts +4 -4
  398. package/src/commands/file/list.ts +3 -3
  399. package/src/commands/file/read.ts +3 -3
  400. package/src/commands/file/touch.ts +6 -6
  401. package/src/commands/file/write.ts +3 -3
  402. package/src/commands/lint.ts +6 -6
  403. package/src/commands/parse.ts +6 -6
  404. package/src/commands/profile.ts +4 -4
  405. package/src/commands/read-transpiled.ts +6 -3
  406. package/src/commands/realm/cancel-indexing.ts +3 -3
  407. package/src/commands/realm/create.ts +2 -2
  408. package/src/commands/realm/history.ts +4 -4
  409. package/src/commands/realm/index.ts +15 -15
  410. package/src/commands/realm/indexing-errors.ts +3 -3
  411. package/src/commands/realm/list.ts +2 -2
  412. package/src/commands/realm/milestone.ts +4 -4
  413. package/src/commands/realm/publish.ts +4 -4
  414. package/src/commands/realm/pull.ts +6 -6
  415. package/src/commands/realm/push.ts +7 -7
  416. package/src/commands/realm/remove.ts +3 -3
  417. package/src/commands/realm/status.ts +8 -8
  418. package/src/commands/realm/sync.ts +9 -9
  419. package/src/commands/realm/unpublish.ts +3 -3
  420. package/src/commands/realm/wait-for-ready.ts +2 -2
  421. package/src/commands/realm/watch/index.ts +2 -2
  422. package/src/commands/realm/watch/start.ts +13 -10
  423. package/src/commands/realm/watch/stop.ts +2 -2
  424. package/src/commands/run-command.ts +6 -3
  425. package/src/commands/search.ts +3 -3
  426. package/src/commands/test.ts +5 -5
  427. package/src/index.ts +2 -2
  428. package/src/lib/auth-resolver.ts +3 -3
  429. package/src/lib/boxel-cli-client.ts +18 -15
  430. package/src/lib/checkpoint-manager.ts +1 -1
  431. package/src/lib/find-checkpoint.ts +1 -1
  432. package/src/lib/profile-manager.ts +4 -4
  433. package/src/lib/realm-local-paths.ts +1 -1
  434. package/src/lib/realm-sync-base.ts +1 -1
  435. package/src/lib/seed-auth.ts +1 -1
  436. package/src/lib/sync-logic.ts +1 -1
  437. package/src/lib/watch-process-registry.ts +1 -1
  438. package/bundled-test-harness/assets/adapter-C8oDflNN.js +0 -2
  439. package/bundled-test-harness/assets/add-field-to-card-definition-command-test-Cs670972.js +0 -111
  440. package/bundled-test-harness/assets/add-workspace-test-BviDAUBK.js +0 -71
  441. package/bundled-test-harness/assets/ai-assistant-B5fp2iOz.js +0 -129
  442. package/bundled-test-harness/assets/ai-assistant-panel-service-test-NpHZzZAz.js +0 -95
  443. package/bundled-test-harness/assets/ai-assistant-test-jPV29jEw.js +0 -2137
  444. package/bundled-test-harness/assets/ai-function-generation-test-QRPcE9tQ.js +0 -996
  445. package/bundled-test-harness/assets/ai-module-creation-test-DyuyfnkY.js +0 -150
  446. package/bundled-test-harness/assets/aibot-message-Dwxp5hTW.js +0 -1185
  447. package/bundled-test-harness/assets/amd-transpile-test-CF7Lkbif.js +0 -425
  448. package/bundled-test-harness/assets/app-CgP2IpNG.js +0 -21464
  449. package/bundled-test-harness/assets/apply-boxel-formatting-test-BXyZ3z0I.js +0 -134
  450. package/bundled-test-harness/assets/apply-markdown-edit-test-C6bcaj3a.js +0 -230
  451. package/bundled-test-harness/assets/apply-search-replace-block-test-BSwC4J9g.js +0 -630
  452. package/bundled-test-harness/assets/arc-DNRb_8LA.js +0 -199
  453. package/bundled-test-harness/assets/architecture-7EHR7CIX-BtVh_LBJ.js +0 -3
  454. package/bundled-test-harness/assets/architectureDiagram-3BPJPVTR-D9UYbaKj.js +0 -7400
  455. package/bundled-test-harness/assets/auth-error-guard-test-Bvu8E7Wy.js +0 -30
  456. package/bundled-test-harness/assets/auth-service-worker-test-CC6DzdfK.js +0 -538
  457. package/bundled-test-harness/assets/authed-fetch-test-CfF-IBHI.js +0 -75
  458. package/bundled-test-harness/assets/avif-image-def-test-B9L2z0nR.js +0 -186
  459. package/bundled-test-harness/assets/base-realm-43wjttN2.js +0 -140
  460. package/bundled-test-harness/assets/base-realm-CJ5x9iyX.js +0 -2
  461. package/bundled-test-harness/assets/basic-test-B64a5zCK.js +0 -128
  462. package/bundled-test-harness/assets/bfm-card-references-test-cLQVLpth.js +0 -577
  463. package/bundled-test-harness/assets/binary-upload-dedupe-test-By7Y1iQ3.js +0 -308
  464. package/bundled-test-harness/assets/blockDiagram-GPEHLZMM-LgOorG2O.js +0 -4355
  465. package/bundled-test-harness/assets/bot-registration-test-DOjf0P1R.js +0 -99
  466. package/bundled-test-harness/assets/box-test-Cd1-RcXg.js +0 -51
  467. package/bundled-test-harness/assets/brand-guide-attachments-test-DxRqP8fo.js +0 -87
  468. package/bundled-test-harness/assets/brand-guide-custom-css-test-DBpZiHzJ.js +0 -135
  469. package/bundled-test-harness/assets/brand-logo-mark-field-test-61k4e5Om.js +0 -87
  470. package/bundled-test-harness/assets/broken-link-template-test-A1P4flQ5.js +0 -345
  471. package/bundled-test-harness/assets/browser-index-Bzhpucwe.js +0 -3
  472. package/bundled-test-harness/assets/browser-index-D0mzSWYV.js +0 -8802
  473. package/bundled-test-harness/assets/c4Diagram-AAUBKEIU-1iq94vGa.js +0 -3764
  474. package/bundled-test-harness/assets/cached-fetch-test-ByQ-5OQI.js +0 -93
  475. package/bundled-test-harness/assets/can-read-realm-test-VFLHJdEv.js +0 -58
  476. package/bundled-test-harness/assets/cancel-indexing-job-test-n3Os4ZaX.js +0 -71
  477. package/bundled-test-harness/assets/card-api-test-DvNfLv3V.js +0 -196
  478. package/bundled-test-harness/assets/card-basics-test-CKzZuFdw.js +0 -4895
  479. package/bundled-test-harness/assets/card-catalog-test-JFvkVHED.js +0 -377
  480. package/bundled-test-harness/assets/card-copy-test-iwrFA72s.js +0 -777
  481. package/bundled-test-harness/assets/card-def-field-def-relationships-test-D5s2RH5t.js +0 -560
  482. package/bundled-test-harness/assets/card-def-menu-items-test-XcmkT4NF.js +0 -182
  483. package/bundled-test-harness/assets/card-delete-test-jtAOHk1Y.js +0 -412
  484. package/bundled-test-harness/assets/card-directory-name-test-veQEp5FJ.js +0 -71
  485. package/bundled-test-harness/assets/card-playground-test-P7Ed0tO4.js +0 -1497
  486. package/bundled-test-harness/assets/card-prerender-DXG8cQEv.js +0 -12661
  487. package/bundled-test-harness/assets/card-search-adorn-test-BX0-IJHB.js +0 -128
  488. package/bundled-test-harness/assets/card-search-query-builder-test-D01uixke.js +0 -88
  489. package/bundled-test-harness/assets/card-search-selection-menu-test-DMTeZFmW.js +0 -108
  490. package/bundled-test-harness/assets/channel-BvoW_rbI.js +0 -8
  491. package/bundled-test-harness/assets/check-correctness-test-D7QB1GTo.js +0 -252
  492. package/bundled-test-harness/assets/chunk-2J33WTMH-BbxCvOlt.js +0 -31
  493. package/bundled-test-harness/assets/chunk-3OPIFGDE-DHY3s0oT.js +0 -5548
  494. package/bundled-test-harness/assets/chunk-4BX2VUAB-CRivrLQ6.js +0 -11
  495. package/bundled-test-harness/assets/chunk-4EGX6M5U-qWzlMeqd.js +0 -44
  496. package/bundled-test-harness/assets/chunk-55IACEB6-DOl6NECJ.js +0 -10
  497. package/bundled-test-harness/assets/chunk-5DO6E6H7-scwNnzDb.js +0 -27
  498. package/bundled-test-harness/assets/chunk-5ZQYHXKU-BeETnugr.js +0 -1767
  499. package/bundled-test-harness/assets/chunk-727SXJPM-BlycTxFE.js +0 -3877
  500. package/bundled-test-harness/assets/chunk-AQP2D5EJ-BE3Clw-g.js +0 -2622
  501. package/bundled-test-harness/assets/chunk-BR22UD5L-BTPKlhWA.js +0 -85
  502. package/bundled-test-harness/assets/chunk-BSJP7CBP-BIhtUfvc.js +0 -114
  503. package/bundled-test-harness/assets/chunk-CSCIHK7Q-DnRAp6Bv.js +0 -6144
  504. package/bundled-test-harness/assets/chunk-FHYWG6QK-DpIXIGDC.js +0 -27
  505. package/bundled-test-harness/assets/chunk-FMBD7UC4-B36w3LIg.js +0 -20
  506. package/bundled-test-harness/assets/chunk-KSCS5N6A-gbz9p9BU.js +0 -871
  507. package/bundled-test-harness/assets/chunk-L5ZTLDWV-HNfH9U8K.js +0 -43
  508. package/bundled-test-harness/assets/chunk-LZXEDZCA-CbKHJfzx.js +0 -65
  509. package/bundled-test-harness/assets/chunk-MPE355IW-BGVbCTZH.js +0 -27
  510. package/bundled-test-harness/assets/chunk-MZUSXYTE-DoCjuxcJ.js +0 -36
  511. package/bundled-test-harness/assets/chunk-N66VUXT2-BX17MI-i.js +0 -70
  512. package/bundled-test-harness/assets/chunk-ND2GUHAM-IpeiJZYz.js +0 -93
  513. package/bundled-test-harness/assets/chunk-NZK2D7GU-CH-Gg7qc.js +0 -89
  514. package/bundled-test-harness/assets/chunk-O5CBEL6O-D2JbLgI8.js +0 -2395
  515. package/bundled-test-harness/assets/chunk-PUPMXCY4-DS4ZxM2V.js +0 -27
  516. package/bundled-test-harness/assets/chunk-QZHKN3VN-WLHeRUJ3.js +0 -20
  517. package/bundled-test-harness/assets/chunk-UIBZB4QT-DNIJBpkq.js +0 -27
  518. package/bundled-test-harness/assets/chunk-WCWK7LTN-CqRJ3WOy.js +0 -36
  519. package/bundled-test-harness/assets/chunk-WU5MYG2G-CtItCLbE.js +0 -12
  520. package/bundled-test-harness/assets/chunk-XPW4576I-D2Q7Qo8n.js +0 -2341
  521. package/bundled-test-harness/assets/classDiagram-4FO5ZUOK-CnNFReKQ.js +0 -31
  522. package/bundled-test-harness/assets/classDiagram-v2-Q7XG4LA2-BlhpbohY.js +0 -31
  523. package/bundled-test-harness/assets/code-equality-assertion-C-2g5YGf.js +0 -474
  524. package/bundled-test-harness/assets/code-patches-test-DaV4Mon_.js +0 -1128
  525. package/bundled-test-harness/assets/code-patching-test-CcbWlImN.js +0 -114
  526. package/bundled-test-harness/assets/code-ref-test-8Yj8gbww.js +0 -138
  527. package/bundled-test-harness/assets/code-semantics-service-test-C3srTfDz.js +0 -65
  528. package/bundled-test-harness/assets/code-submode-test-BUhjvWtB.js +0 -1762
  529. package/bundled-test-harness/assets/codeblocks-test-3zAp0_GA.js +0 -492
  530. package/bundled-test-harness/assets/codemirror-context-C7KmSAyy.js +0 -2
  531. package/bundled-test-harness/assets/codemirror-editor-test-WojU4k2h.js +0 -1176
  532. package/bundled-test-harness/assets/color-field-test-yESUakoE.js +0 -213
  533. package/bundled-test-harness/assets/command-definitions-test-UsXsAhn7.js +0 -72
  534. package/bundled-test-harness/assets/commands-CBDBujm_.js +0 -1379
  535. package/bundled-test-harness/assets/commands-calling-test-DJTl0EbL.js +0 -200
  536. package/bundled-test-harness/assets/commands-test-DW2gupNS.js +0 -1041
  537. package/bundled-test-harness/assets/commands-test-DjLnuojW.js +0 -1145
  538. package/bundled-test-harness/assets/computed-test-0n5g8Ez5.js +0 -882
  539. package/bundled-test-harness/assets/container-D8y7fmir.js +0 -14602
  540. package/bundled-test-harness/assets/convert-to-class-name-test-DSIflIV2.js +0 -17
  541. package/bundled-test-harness/assets/copy-and-edit-test-BuK1ZHr-.js +0 -291
  542. package/bundled-test-harness/assets/copy-card-test-DnDC4_7J.js +0 -156
  543. package/bundled-test-harness/assets/copy-file-to-realm-test-CFd_3Iff.js +0 -99
  544. package/bundled-test-harness/assets/copy-source-test-38yUGJor.js +0 -56
  545. package/bundled-test-harness/assets/cose-bilkent-S5V4N54A-DXA1S87S.js +0 -4275
  546. package/bundled-test-harness/assets/create-file-test-B2oem0-V.js +0 -963
  547. package/bundled-test-harness/assets/create-file-test-BHk00RtD.js +0 -397
  548. package/bundled-test-harness/assets/create-listing-modal-test-L-71-Uo2.js +0 -194
  549. package/bundled-test-harness/assets/create-listing-pr-request-CZaLsHhE.js +0 -64
  550. package/bundled-test-harness/assets/create-listing-pr-request-test-OGzk4Q2E.js +0 -117
  551. package/bundled-test-harness/assets/create-spec-test-BsM7VKuH.js +0 -239
  552. package/bundled-test-harness/assets/csv-file-def-test-BhJalhE-.js +0 -101
  553. package/bundled-test-harness/assets/dagre-BIk_r1iU.js +0 -4195
  554. package/bundled-test-harness/assets/dagre-BM42HDAG-FaUWeGOj.js +0 -606
  555. package/bundled-test-harness/assets/date-time-fields-test-Cs5T6Xk1.js +0 -322
  556. package/bundled-test-harness/assets/debug-message-test-WlHe7pJF.js +0 -119
  557. package/bundled-test-harness/assets/diagram-2AECGRRQ-DLve-IVM.js +0 -279
  558. package/bundled-test-harness/assets/diagram-5GNKFQAL-CJG1RTLk.js +0 -142
  559. package/bundled-test-harness/assets/diagram-KO2AKTUF-DYGDq3dD.js +0 -551
  560. package/bundled-test-harness/assets/diagram-LMA3HP47-BNRYdpMl.js +0 -184
  561. package/bundled-test-harness/assets/diagram-OG6HWLK6-BlJH5g83.js +0 -857
  562. package/bundled-test-harness/assets/diffing-test-DO54USSm.js +0 -210
  563. package/bundled-test-harness/assets/dist-BDRmXkWl.js +0 -232
  564. package/bundled-test-harness/assets/dist-BfNSLd0O.js +0 -105
  565. package/bundled-test-harness/assets/dist-BoireClP.js +0 -2
  566. package/bundled-test-harness/assets/editor-test-DChC9LuR.js +0 -551
  567. package/bundled-test-harness/assets/editor.main-BiohyrHK.js +0 -3
  568. package/bundled-test-harness/assets/editor.main-CMU_0pR1.js +0 -43566
  569. package/bundled-test-harness/assets/email-field-test-DWIFSfZ-.js +0 -74
  570. package/bundled-test-harness/assets/enum-field-test-BUc6l4us.js +0 -909
  571. package/bundled-test-harness/assets/erDiagram-TEJ5UH35-pOJ2novh.js +0 -2041
  572. package/bundled-test-harness/assets/error-display-test-CHSE6h6Z.js +0 -343
  573. package/bundled-test-harness/assets/evaluate-module-test-Caa5n0B9.js +0 -66
  574. package/bundled-test-harness/assets/eventmodeling-FCH6USID-B6XXU7R3.js +0 -3
  575. package/bundled-test-harness/assets/execute-atomic-operations-test-CT060oDk.js +0 -75
  576. package/bundled-test-harness/assets/externals-Do1fVZ4j.js +0 -5533
  577. package/bundled-test-harness/assets/extract-css-variables-test-DzjAsMgg.js +0 -169
  578. package/bundled-test-harness/assets/fallback-banner-test-CmxysrDn.js +0 -227
  579. package/bundled-test-harness/assets/fallback-banner-test-DJ4cO8PB.js +0 -53
  580. package/bundled-test-harness/assets/fallback-models-test-r5upJFeA.js +0 -163
  581. package/bundled-test-harness/assets/fetch-card-json-test-Di1wmvy5.js +0 -63
  582. package/bundled-test-harness/assets/fetcher-test-DjzNl_7F.js +0 -85
  583. package/bundled-test-harness/assets/field-configuration-test-C3vr-HhG.js +0 -535
  584. package/bundled-test-harness/assets/field-markdown-domain-test-DG2U4qIm.js +0 -615
  585. package/bundled-test-harness/assets/field-markdown-primitives-test-Bay2v8nT.js +0 -362
  586. package/bundled-test-harness/assets/field-markdown-specialized-test-Bl0Sl4sc.js +0 -527
  587. package/bundled-test-harness/assets/field-path-parser-test-bxxwUjcm.js +0 -387
  588. package/bundled-test-harness/assets/field-playground-test-Bcjfws4m.js +0 -902
  589. package/bundled-test-harness/assets/field-support-predicates-test-DYTqOGvv.js +0 -170
  590. package/bundled-test-harness/assets/field-test-helpers-DYSfSGdh.js +0 -45
  591. package/bundled-test-harness/assets/file-attachment-test-6ypDRDS7.js +0 -635
  592. package/bundled-test-harness/assets/file-chooser-test-mtmcHTFP.js +0 -439
  593. package/bundled-test-harness/assets/file-def-live-reload-test-CX1-lOv6.js +0 -50
  594. package/bundled-test-harness/assets/file-def-manager-DNHII2oj.js +0 -470
  595. package/bundled-test-harness/assets/file-def-manager-canonicalize-test-i_7UVakF.js +0 -451
  596. package/bundled-test-harness/assets/file-def-menu-items-test-Dw458iku.js +0 -114
  597. package/bundled-test-harness/assets/file-def-navigation-test-B3Ztr1Rd.js +0 -109
  598. package/bundled-test-harness/assets/file-def-serialization-test-C_gV8AkU.js +0 -87
  599. package/bundled-test-harness/assets/file-def-test-vXXJmtxX.js +0 -219
  600. package/bundled-test-harness/assets/file-tree-test-BJCiw9jm.js +0 -773
  601. package/bundled-test-harness/assets/flac-audio-def-test-BX3SE1vW.js +0 -138
  602. package/bundled-test-harness/assets/flowDiagram-I6XJVG4X-7Q5ROn4X.js +0 -4883
  603. package/bundled-test-harness/assets/formatted-aibot-message-test-DyqUz2nt.js +0 -366
  604. package/bundled-test-harness/assets/formatted-user-message-test-aqAzqvBP.js +0 -43
  605. package/bundled-test-harness/assets/freestyle-test-CLRrZkAE.js +0 -17
  606. package/bundled-test-harness/assets/full-reindex-realm-test-ClqPVQ0c.js +0 -103
  607. package/bundled-test-harness/assets/ganttDiagram-6RSMTGT7-BkDoIAAE.js +0 -4060
  608. package/bundled-test-harness/assets/garbage-collection-test-Ba2dD3qS.js +0 -373
  609. package/bundled-test-harness/assets/general-test-D0zhs14K.js +0 -926
  610. package/bundled-test-harness/assets/generate-css-variables-test-CKrXSlHs.js +0 -88
  611. package/bundled-test-harness/assets/generate-example-cards-one-shot-test-fSAdGJeT.js +0 -67
  612. package/bundled-test-harness/assets/get-available-realm-identifiers-test-BXMUW65I.js +0 -49
  613. package/bundled-test-harness/assets/get-catalog-realm-identifiers-test-DKEq6Zcq.js +0 -49
  614. package/bundled-test-harness/assets/get-default-writable-realm-test-Dp4nBIRP.js +0 -56
  615. package/bundled-test-harness/assets/get-realm-of-resource-identifier-test-DYNnMgD-.js +0 -55
  616. package/bundled-test-harness/assets/get-relationship-membership-state-test-k9EUNWeq.js +0 -1306
  617. package/bundled-test-harness/assets/get-type-refs-from-filter-test-BPuivF-v.js +0 -136
  618. package/bundled-test-harness/assets/get-user-system-card-test-DSHv00O7.js +0 -52
  619. package/bundled-test-harness/assets/gif-image-def-test-LuDSr5Kz.js +0 -161
  620. package/bundled-test-harness/assets/gitGraph-WXDBUCRP-BrG_LYEh.js +0 -3
  621. package/bundled-test-harness/assets/gitGraphDiagram-PVQCEYII-QJjQcX4J.js +0 -1150
  622. package/bundled-test-harness/assets/gts-file-def-test-bS3ML062.js +0 -99
  623. package/bundled-test-harness/assets/head-format-preview-test-B8IPh71E.js +0 -156
  624. package/bundled-test-harness/assets/helpers-wSIq-bau.js +0 -5
  625. package/bundled-test-harness/assets/host-mode-test-D44nXoQZ.js +0 -391
  626. package/bundled-test-harness/assets/host-submode-test-CefkXg9F.js +0 -904
  627. package/bundled-test-harness/assets/index-query-engine-test-DJnDqmfK.js +0 -2548
  628. package/bundled-test-harness/assets/index-writer-test-BcrCMj37.js +0 -1842
  629. package/bundled-test-harness/assets/indexeddb-crypto-store-RTTNdynf.js +0 -49434
  630. package/bundled-test-harness/assets/info-J43DQDTF-DhDzvz9k.js +0 -3
  631. package/bundled-test-harness/assets/infoDiagram-5YYISTIA-8TmRFIRz.js +0 -23
  632. package/bundled-test-harness/assets/inspector-test-D4iMBlbL.js +0 -1776
  633. package/bundled-test-harness/assets/instance-filter-matcher-test-CYT6N3hN.js +0 -564
  634. package/bundled-test-harness/assets/instantiate-card-test-j1JS5lDe.js +0 -104
  635. package/bundled-test-harness/assets/interact-submode-creation-and-permissions-test-B-aXzOh6.js +0 -497
  636. package/bundled-test-harness/assets/interact-submode-setup-VMwOUl3u.js +0 -558
  637. package/bundled-test-harness/assets/interact-submode-test-D5lNNXdq.js +0 -725
  638. package/bundled-test-harness/assets/invalidate-realm-identifiers-test-71Ze8eGV.js +0 -101
  639. package/bundled-test-harness/assets/invite-user-to-room-test-UfjsvwVp.js +0 -67
  640. package/bundled-test-harness/assets/ishikawaDiagram-YF4QCWOH-7UALIGwM.js +0 -1009
  641. package/bundled-test-harness/assets/isolated-render-test-C2IL-Fz3.js +0 -51
  642. package/bundled-test-harness/assets/item-button-6g7XYj56.js +0 -203
  643. package/bundled-test-harness/assets/javascript-BwLQ7_Nc.js +0 -75
  644. package/bundled-test-harness/assets/job-priority-header-test-C3FfKLPP.js +0 -81
  645. package/bundled-test-harness/assets/journeyDiagram-JHISSGLW-t4gEZYup.js +0 -1256
  646. package/bundled-test-harness/assets/jpg-image-def-test-BTBk9lk5.js +0 -430
  647. package/bundled-test-harness/assets/json-file-def-test-BpU_Eidn.js +0 -92
  648. package/bundled-test-harness/assets/kanban-definition-UN3LZRKU-C_KHB3_r.js +0 -1284
  649. package/bundled-test-harness/assets/last-modified-date-test-fE7IP0q0.js +0 -18
  650. package/bundled-test-harness/assets/limited-set-test-uu2vX1Sv.js +0 -123
  651. package/bundled-test-harness/assets/line-BiZHXOjs.js +0 -55
  652. package/bundled-test-harness/assets/linear-DUaMMmmA.js +0 -417
  653. package/bundled-test-harness/assets/linksto-broken-link-placeholder-test-qZeqQ1gt.js +0 -315
  654. package/bundled-test-harness/assets/linksto-error-sentinel-test-BaV3I8Xx.js +0 -236
  655. package/bundled-test-harness/assets/linksto-many-broken-link-placeholder-test-BvJi1vCb.js +0 -303
  656. package/bundled-test-harness/assets/linksto-many-per-slot-access-test-CK60Cugk.js +0 -301
  657. package/bundled-test-harness/assets/linksto-sentinel-roundtrip-test-BWxdEO9D.js +0 -258
  658. package/bundled-test-harness/assets/linksto-singular-js-access-contract-test-CIsLhqR2.js +0 -194
  659. package/bundled-test-harness/assets/live-prerendered-search-jZe3I16p.js +0 -639
  660. package/bundled-test-harness/assets/live-test-CF_R5WGr.js +0 -2
  661. package/bundled-test-harness/assets/live-test-jO7lXuyB.js +0 -100
  662. package/bundled-test-harness/assets/loader-icon-error-test-N4JYZuTx.js +0 -62
  663. package/bundled-test-harness/assets/loader-parallel-prefetch-test-DteeG7mU.js +0 -257
  664. package/bundled-test-harness/assets/loader-retry-test-DYVgpS_I.js +0 -173
  665. package/bundled-test-harness/assets/loader-test-DLI8JIx-.js +0 -245
  666. package/bundled-test-harness/assets/loading-test-D4ZBtRYf.js +0 -63
  667. package/bundled-test-harness/assets/login-error-text-test-Dcq7q3EY.js +0 -51
  668. package/bundled-test-harness/assets/m4a-audio-def-test-BKqGO-CW.js +0 -185
  669. package/bundled-test-harness/assets/main-BjBdsiQT.js +0 -5
  670. package/bundled-test-harness/assets/markdown-fallback-test-BBj80dZZ.js +0 -316
  671. package/bundled-test-harness/assets/markdown-file-def-test-BnMF5rQF.js +0 -286
  672. package/bundled-test-harness/assets/markdown-helpers-test-DnuuSLfS.js +0 -183
  673. package/bundled-test-harness/assets/markdown-highlighting-test-CWRp2Rce.js +0 -244
  674. package/bundled-test-harness/assets/markdown-preview-test-Bf5OqKGf.js +0 -237
  675. package/bundled-test-harness/assets/markdown-preview-yYHtwNeI.js +0 -69
  676. package/bundled-test-harness/assets/marked-sync-2EfimW4i.js +0 -2
  677. package/bundled-test-harness/assets/marked-sync-DZOVFLjK.js +0 -2561
  678. package/bundled-test-harness/assets/marked-sync-test-BaaYbZNF.js +0 -146
  679. package/bundled-test-harness/assets/matrix-service-sliding-sync-test-CdEy3ASW.js +0 -33
  680. package/bundled-test-harness/assets/mermaid-parser.core-CKNAdXJW.js +0 -114
  681. package/bundled-test-harness/assets/mermaid.core-C0mfwy8A.js +0 -1700
  682. package/bundled-test-harness/assets/message-service-subscription-test-pGz_7rz3.js +0 -113
  683. package/bundled-test-harness/assets/mindmap-definition-RKZ34NQL-ClcHxkdY.js +0 -1347
  684. package/bundled-test-harness/assets/mock-matrix-D7JHfFtT.js +0 -2
  685. package/bundled-test-harness/assets/mock-matrix-DqDbNhEj.js +0 -14292
  686. package/bundled-test-harness/assets/module-transpile-cache-test-D0M-fPxs.js +0 -66
  687. package/bundled-test-harness/assets/monaco.contribution-BEs3qwfd.js +0 -103
  688. package/bundled-test-harness/assets/monaco.contribution-Dpx8UiPl.js +0 -2
  689. package/bundled-test-harness/assets/monaco.contribution-RF_qxJYG.js +0 -2
  690. package/bundled-test-harness/assets/monaco.contribution-jPVrF29f.js +0 -243
  691. package/bundled-test-harness/assets/mp3-audio-def-test-CxeRk1bl.js +0 -129
  692. package/bundled-test-harness/assets/mutex-test-D1xyxTj2.js +0 -71
  693. package/bundled-test-harness/assets/number-field-test-gjAGDy6P.js +0 -153
  694. package/bundled-test-harness/assets/ogg-audio-def-test-B6Ww3Ixr.js +0 -191
  695. package/bundled-test-harness/assets/open-create-listing-modal-test-uN58T3rI.js +0 -117
  696. package/bundled-test-harness/assets/open-workspace-test-DXVsvBFJ.js +0 -48
  697. package/bundled-test-harness/assets/operator-mode-acceptance-test-BxIq2xSS.js +0 -1044
  698. package/bundled-test-harness/assets/operator-mode-card-catalog-test-xFYx9_ng.js +0 -989
  699. package/bundled-test-harness/assets/operator-mode-links-test-qhXWmz-S.js +0 -797
  700. package/bundled-test-harness/assets/operator-mode-state-service-test-BdA_uvaY.js +0 -122
  701. package/bundled-test-harness/assets/operator-mode-test-D3EyTwq3.js +0 -617
  702. package/bundled-test-harness/assets/operator-mode-ui-test-CSrk6Q0A.js +0 -985
  703. package/bundled-test-harness/assets/ordinal-DO1mUmjg.js +0 -85
  704. package/bundled-test-harness/assets/overlay-menu-items-test-CuqqLsQT.js +0 -316
  705. package/bundled-test-harness/assets/packet-YPE3B663--JkMNy78.js +0 -3
  706. package/bundled-test-harness/assets/panel-C2rtbx32.js +0 -3371
  707. package/bundled-test-harness/assets/past-sessions-test-B9SCbbXz.js +0 -316
  708. package/bundled-test-harness/assets/patch-code-test-CcFr9pDb.js +0 -203
  709. package/bundled-test-harness/assets/patch-fields-test-BW1gzcJM.js +0 -992
  710. package/bundled-test-harness/assets/patch-instance-test-DKqA9gQ6.js +0 -287
  711. package/bundled-test-harness/assets/persist-module-inspector-view-test-D1eKBUkt.js +0 -62
  712. package/bundled-test-harness/assets/phone-number-field-test-D1is5RWv.js +0 -72
  713. package/bundled-test-harness/assets/pie-LRSECV5Y-BDVv8Wdy.js +0 -3
  714. package/bundled-test-harness/assets/pieDiagram-4H26LBE5-CSYI-nMz.js +0 -253
  715. package/bundled-test-harness/assets/plan-install-test-DB-PrjPR.js +0 -417
  716. package/bundled-test-harness/assets/playground-B0iQV7dU.js +0 -57
  717. package/bundled-test-harness/assets/png-image-def-test-DnOsJGs6.js +0 -222
  718. package/bundled-test-harness/assets/prerender-file-extract-test-DhOLozj2.js +0 -176
  719. package/bundled-test-harness/assets/prerender-html-test-DKVhQZA9.js +0 -615
  720. package/bundled-test-harness/assets/prerender-meta-test-CnRNyqSz.js +0 -388
  721. package/bundled-test-harness/assets/prerender-module-test-D163QcrZ.js +0 -195
  722. package/bundled-test-harness/assets/prerendered-card-search-test-DX-8yabJ.js +0 -708
  723. package/bundled-test-harness/assets/preview-format-test-H7bnpdlC.js +0 -103
  724. package/bundled-test-harness/assets/preview-test-B7u6uWJR.js +0 -455
  725. package/bundled-test-harness/assets/qs-test-COb0mre6.js +0 -36
  726. package/bundled-test-harness/assets/quadrantDiagram-W4KKPZXB-2Y2ben29.js +0 -2324
  727. package/bundled-test-harness/assets/query-field-barrier-test-Cypj-MhK.js +0 -118
  728. package/bundled-test-harness/assets/query-field-error-sentinel-test-Dnqn8TdN.js +0 -202
  729. package/bundled-test-harness/assets/query-field-normalization-test-B7D8SHBP.js +0 -271
  730. package/bundled-test-harness/assets/query-field-schema-test-DIYY3-c8.js +0 -231
  731. package/bundled-test-harness/assets/query-fields-test-k-VBF9PE.js +0 -535
  732. package/bundled-test-harness/assets/queue-test-B_74vXZE.js +0 -216
  733. package/bundled-test-harness/assets/radar-GUYGQ44K-Cn2A0VBR.js +0 -3
  734. package/bundled-test-harness/assets/read-card-for-ai-assistant-test-SyL9F_La.js +0 -91
  735. package/bundled-test-harness/assets/read-file-for-ai-assistant-test-nLPp49U2.js +0 -45
  736. package/bundled-test-harness/assets/read-source-test-DBELJkhN.js +0 -67
  737. package/bundled-test-harness/assets/read-text-file-test-CP1JuWlX.js +0 -124
  738. package/bundled-test-harness/assets/realm-Dr4iygv_.js +0 -884
  739. package/bundled-test-harness/assets/realm-field-test-Cice2mYk.js +0 -101
  740. package/bundled-test-harness/assets/realm-index-card-id-test-BzpozdWc.js +0 -18
  741. package/bundled-test-harness/assets/realm-indexing-test-C0YSXziR.js +0 -4018
  742. package/bundled-test-harness/assets/realm-paths-test-DV_g07rF.js +0 -33
  743. package/bundled-test-harness/assets/realm-querying-test-B526abM0.js +0 -1062
  744. package/bundled-test-harness/assets/realm-test-D8UN5X-w.js +0 -2409
  745. package/bundled-test-harness/assets/reasoning-test-ClIOvdkX.js +0 -234
  746. package/bundled-test-harness/assets/recent-files-test-C2J_dJUD.js +0 -449
  747. package/bundled-test-harness/assets/reindex-realm-test-DMphy1g6.js +0 -119
  748. package/bundled-test-harness/assets/relationship-loading-state-test-BWrZdLlZ.js +0 -289
  749. package/bundled-test-harness/assets/render-component-BII_KnyK.js +0 -2
  750. package/bundled-test-harness/assets/render-error-test-BUAJJlUi.js +0 -22
  751. package/bundled-test-harness/assets/render-service-test-BKkCjErY.js +0 -87
  752. package/bundled-test-harness/assets/render-timer-stub-test-TUDMWJ8v.js +0 -84
  753. package/bundled-test-harness/assets/rendered-markdown-ColekGTF.js +0 -211
  754. package/bundled-test-harness/assets/rendered-markdown-test-B4CWIo02.js +0 -360
  755. package/bundled-test-harness/assets/requirementDiagram-4Y6WPE33-CTICatxk.js +0 -2550
  756. package/bundled-test-harness/assets/rich-markdown-field-test-B5u6D3Nk.js +0 -806
  757. package/bundled-test-harness/assets/room-message-test-0eJSqQfu.js +0 -171
  758. package/bundled-test-harness/assets/rust-crypto-B0m3j_yZ.js +0 -16141
  759. package/bundled-test-harness/assets/sanitize-module-list-test-rH6OqjKh.js +0 -68
  760. package/bundled-test-harness/assets/sankeyDiagram-5OEKKPKP-hBIg6-LP.js +0 -1357
  761. package/bundled-test-harness/assets/schema-editor-test-DH4MLFCD.js +0 -784
  762. package/bundled-test-harness/assets/schema-generation-test-BZMkX7VA.js +0 -28
  763. package/bundled-test-harness/assets/scrolling-test-CFTyLG8X.js +0 -292
  764. package/bundled-test-harness/assets/search-and-choose-test-CcbVyp4c.js +0 -156
  765. package/bundled-test-harness/assets/search-cache-key-test-BYt46iNT.js +0 -79
  766. package/bundled-test-harness/assets/search-command-test-BRIJPr54.js +0 -135
  767. package/bundled-test-harness/assets/search-correlation-id-test-B298Tfux.js +0 -101
  768. package/bundled-test-harness/assets/search-data-test-DHV2Fd4S.js +0 -243
  769. package/bundled-test-harness/assets/search-google-images-test-CNrazllP.js +0 -168
  770. package/bundled-test-harness/assets/search-in-flight-key-test-Dy3bU2c1.js +0 -79
  771. package/bundled-test-harness/assets/search-test-DL1-gD-G.js +0 -847
  772. package/bundled-test-harness/assets/send-ai-assistant-message-test-CyEkQ5pD.js +0 -52
  773. package/bundled-test-harness/assets/send-bot-trigger-event-test-CAsK28m-.js +0 -56
  774. package/bundled-test-harness/assets/send-request-via-proxy-test-DpMlRvPv.js +0 -333
  775. package/bundled-test-harness/assets/sending-test-BOeGYcTU.js +0 -317
  776. package/bundled-test-harness/assets/sequenceDiagram-3UESZ5HK-DQMiI040.js +0 -5551
  777. package/bundled-test-harness/assets/serialization-test-gY2QQVxS.js +0 -8283
  778. package/bundled-test-harness/assets/set-user-system-card-test-BE3y5GNK.js +0 -59
  779. package/bundled-test-harness/assets/setup-B8O9JQKq.js +0 -769
  780. package/bundled-test-harness/assets/setup-BMqGUBDK.js +0 -2
  781. package/bundled-test-harness/assets/show-card-test-BfJNnWMy.js +0 -362
  782. package/bundled-test-harness/assets/skills-test-CqhnZxBi.js +0 -568
  783. package/bundled-test-harness/assets/spec-test-BUKNn_1q.js +0 -1012
  784. package/bundled-test-harness/assets/stateDiagram-AJRCARHV-BoOij2yt.js +0 -363
  785. package/bundled-test-harness/assets/stateDiagram-v2-BHNVJYJU-Dosil5p2.js +0 -29
  786. package/bundled-test-harness/assets/store-add-test-BR1M-IDR.js +0 -52
  787. package/bundled-test-harness/assets/store-test-DaqI-HRh.js +0 -1562
  788. package/bundled-test-harness/assets/summarize-session-test-BMg54JGF.js +0 -169
  789. package/bundled-test-harness/assets/svg-image-def-test-xNyIKRPV.js +0 -164
  790. package/bundled-test-harness/assets/switch-submode-test-BKvpODUD.js +0 -168
  791. package/bundled-test-harness/assets/test-realm-service-worker-DK4SmTM5.js +0 -73
  792. package/bundled-test-harness/assets/tests-x4_eRjiT.js +0 -2770
  793. package/bundled-test-harness/assets/text-file-def-test-CsXiyVfI.js +0 -93
  794. package/bundled-test-harness/assets/text-input-validator-test-D4s_laO7.js +0 -155
  795. package/bundled-test-harness/assets/text-suggestion-test-CkLf1xuS.js +0 -339
  796. package/bundled-test-harness/assets/theme-card-test-D-6L6OfD.js +0 -573
  797. package/bundled-test-harness/assets/timeline-definition-PNZ67QCA-DD2d81uJ.js +0 -1545
  798. package/bundled-test-harness/assets/transform-cards-test-CRZF2gqZ.js +0 -341
  799. package/bundled-test-harness/assets/treeView-BLDUP644-CUm8wuM-.js +0 -3
  800. package/bundled-test-harness/assets/treemap-LRROVOQU-lbLrY2PE.js +0 -3
  801. package/bundled-test-harness/assets/ts-file-def-test-CDo6ojCf.js +0 -90
  802. package/bundled-test-harness/assets/tsMode-BPQoRibc.js +0 -968
  803. package/bundled-test-harness/assets/typescript-BaU6yDhK.js +0 -2
  804. package/bundled-test-harness/assets/update-room-skills-test-BnSgVFwT.js +0 -197
  805. package/bundled-test-harness/assets/url-test-CK-HB0qu.js +0 -103
  806. package/bundled-test-harness/assets/use-ai-assistant-test-BuJXEP8H.js +0 -330
  807. package/bundled-test-harness/assets/validate-realm-test-Cx7MOtS8.js +0 -53
  808. package/bundled-test-harness/assets/vennDiagram-CIIHVFJN-DtXtzGwZ.js +0 -2833
  809. package/bundled-test-harness/assets/wardley-L42UT6IY-D8aCp_Ox.js +0 -3
  810. package/bundled-test-harness/assets/wardleyDiagram-YWT4CUSO-D-73g3bB.js +0 -872
  811. package/bundled-test-harness/assets/wav-audio-def-test-DIo2GzQL.js +0 -155
  812. package/bundled-test-harness/assets/webp-image-def-test-BQsV0_De.js +0 -225
  813. package/bundled-test-harness/assets/workspace-chooser-delete-test-peDXmnQf.js +0 -189
  814. package/bundled-test-harness/assets/workspace-chooser-test-DS2RtTEF.js +0 -235
  815. package/bundled-test-harness/assets/workspace-delete-multiple-test-DTbjRSzN.js +0 -213
  816. package/bundled-test-harness/assets/workspace-delete-summary-test-B--ink4m.js +0 -63
  817. package/bundled-test-harness/assets/write-binary-file-test-A3TQ5lFn.js +0 -100
  818. package/bundled-test-harness/assets/write-text-file-test-D_rjNDsT.js +0 -172
  819. package/bundled-test-harness/assets/xychartDiagram-2RQKCTM6-D1aoqDp-.js +0 -2551
  820. /package/bundled-test-harness/assets/{abap-CLdVBGqB.js → abap-FZAuBTMl.js} +0 -0
  821. /package/bundled-test-harness/assets/{apex-DV8eHjgQ.js → apex-CAO3qFTc.js} +0 -0
  822. /package/bundled-test-harness/assets/{array-DsDWWqmW.js → array-CRfHnEm4.js} +0 -0
  823. /package/bundled-test-harness/assets/{azcli-C4pZYsiJ.js → azcli-Bnu7jG0Y.js} +0 -0
  824. /package/bundled-test-harness/assets/{bat-DBoaeFpB.js → bat-DdE54Pqq.js} +0 -0
  825. /package/bundled-test-harness/assets/{bicep-VlrJhbeK.js → bicep-Dp4vFp3K.js} +0 -0
  826. /package/bundled-test-harness/assets/{cameligo-jyzrvLUm.js → cameligo-Cym4x98m.js} +0 -0
  827. /package/bundled-test-harness/assets/{chunk-NNHCCRGN-Be15HUz2.js → chunk-NNHCCRGN-PWOfDYpb.js} +0 -0
  828. /package/bundled-test-harness/assets/{clojure-bzahmEtz.js → clojure-B47IJ25u.js} +0 -0
  829. /package/bundled-test-harness/assets/{codemirror-context-BauLYUNt.js → codemirror-context-oJy03XqC.js} +0 -0
  830. /package/bundled-test-harness/assets/{coffee-CMADdzOH.js → coffee-CZlkBXT8.js} +0 -0
  831. /package/bundled-test-harness/assets/{cpp-CEJwzcLE.js → cpp-mX4KaA7p.js} +0 -0
  832. /package/bundled-test-harness/assets/{csharp-XYqm0UE0.js → csharp-C-OeDGwk.js} +0 -0
  833. /package/bundled-test-harness/assets/{csp-82fNWQc2.js → csp-AS2OEE8R.js} +0 -0
  834. /package/bundled-test-harness/assets/{css-B5b0ooFS.js → css-C-TQxhWe.js} +0 -0
  835. /package/bundled-test-harness/assets/{cssMode-DTKuqAkO.js → cssMode-C87GnEsk.js} +0 -0
  836. /package/bundled-test-harness/assets/{cypher-Df9GkdDY.js → cypher-T6F_0eIM.js} +0 -0
  837. /package/bundled-test-harness/assets/{cytoscape.esm-D0iwZ9Jj.js → cytoscape.esm-Bc2V-MhP.js} +0 -0
  838. /package/bundled-test-harness/assets/{dart-C4JY9dMc.js → dart-DzVesk0n.js} +0 -0
  839. /package/bundled-test-harness/assets/{defaultLocale-BtLxQtxy.js → defaultLocale-CAoL4lzt.js} +0 -0
  840. /package/bundled-test-harness/assets/{dist-D-PuK2H3.js → dist-BZ5MfZEJ.js} +0 -0
  841. /package/bundled-test-harness/assets/{dockerfile-Ck0tNttO.js → dockerfile-BH0_bQxC.js} +0 -0
  842. /package/bundled-test-harness/assets/{ecl-BpeXqJR_.js → ecl-KIxjxrJo.js} +0 -0
  843. /package/bundled-test-harness/assets/{elixir-HmBzrXaX.js → elixir-CPPdtCW1.js} +0 -0
  844. /package/bundled-test-harness/assets/{flow9-DhsfsDhH.js → flow9-Dxho7Ldf.js} +0 -0
  845. /package/bundled-test-harness/assets/{freemarker2-D3Yd6nGl.js → freemarker2-DP1aOr3_.js} +0 -0
  846. /package/bundled-test-harness/assets/{fsharp-D56OprHc.js → fsharp-ozN53Joe.js} +0 -0
  847. /package/bundled-test-harness/assets/{go-BITsFLfX.js → go-DPj6Rbqe.js} +0 -0
  848. /package/bundled-test-harness/assets/{graphlib-qkaQhadO.js → graphlib-DOITgaas.js} +0 -0
  849. /package/bundled-test-harness/assets/{graphql-CJJVsEX1.js → graphql-C8_-AnBG.js} +0 -0
  850. /package/bundled-test-harness/assets/{handlebars-Dvw6QbL7.js → handlebars-B2gYBZpU.js} +0 -0
  851. /package/bundled-test-harness/assets/{hcl-DSTZcJuq.js → hcl-r3d7BhXB.js} +0 -0
  852. /package/bundled-test-harness/assets/{helpers-D_JZYUOQ.js → helpers-CItTycq2.js} +0 -0
  853. /package/bundled-test-harness/assets/{html-Bik3qLmc.js → html-DhN1Nxr0.js} +0 -0
  854. /package/bundled-test-harness/assets/{htmlMode-DPCaR3Ab.js → htmlMode-BnBg5hCh.js} +0 -0
  855. /package/bundled-test-harness/assets/{ini-li-kC8ZU.js → ini-CzzRigmS.js} +0 -0
  856. /package/bundled-test-harness/assets/{init-Bq7IGMcH.js → init-Bd2YUhsG.js} +0 -0
  857. /package/bundled-test-harness/assets/{java-CETpuNN7.js → java-BgeDsIoV.js} +0 -0
  858. /package/bundled-test-harness/assets/{jsonMode-CZ3hOG-W.js → jsonMode-sRb0gsB8.js} +0 -0
  859. /package/bundled-test-harness/assets/{julia-hgihs1aN.js → julia-u3K1H5Ts.js} +0 -0
  860. /package/bundled-test-harness/assets/{katex-DqhsSYO4.js → katex-CHY7BUZt.js} +0 -0
  861. /package/bundled-test-harness/assets/{kotlin-CKfyb82K.js → kotlin-DfqmlJ10.js} +0 -0
  862. /package/bundled-test-harness/assets/{less-xB5yXbw8.js → less-CSzH7DPY.js} +0 -0
  863. /package/bundled-test-harness/assets/{lexon-BLwrXVrI.js → lexon-DwPTpxXt.js} +0 -0
  864. /package/bundled-test-harness/assets/{liquid-Bf2lpknJ.js → liquid-95J9g5Vk.js} +0 -0
  865. /package/bundled-test-harness/assets/{lua-Ch5i3IrF.js → lua-CGw6zbeh.js} +0 -0
  866. /package/bundled-test-harness/assets/{m3-D5tNlhaF.js → m3-BfgwloGF.js} +0 -0
  867. /package/bundled-test-harness/assets/{markdown-Dzc9uMky.js → markdown-RZRK7Mc9.js} +0 -0
  868. /package/bundled-test-harness/assets/{mdx-xsI4TJrf.js → mdx-BYD-W2sn.js} +0 -0
  869. /package/bundled-test-harness/assets/{mips-CmdzHkQm.js → mips-DAySN5Lp.js} +0 -0
  870. /package/bundled-test-harness/assets/{msdax-CAZvxB9E.js → msdax-Cy0COjTJ.js} +0 -0
  871. /package/bundled-test-harness/assets/{mysql-CyVS-z5H.js → mysql-CfGw9jyw.js} +0 -0
  872. /package/bundled-test-harness/assets/{objective-c-CCG8cTc_.js → objective-c-B4uU-8T-.js} +0 -0
  873. /package/bundled-test-harness/assets/{pascal-c8B45FOC.js → pascal-CGDuZzXi.js} +0 -0
  874. /package/bundled-test-harness/assets/{pascaligo-CCqwSqBv.js → pascaligo-eg02k4VJ.js} +0 -0
  875. /package/bundled-test-harness/assets/{path-CsS38UoK.js → path-Dxiz9G2t.js} +0 -0
  876. /package/bundled-test-harness/assets/{perl-JUICYbO2.js → perl-BiT-JJJw.js} +0 -0
  877. /package/bundled-test-harness/assets/{pgsql-aNRiL0Cg.js → pgsql-DAMjrVBF.js} +0 -0
  878. /package/bundled-test-harness/assets/{php-B0YZj_Vw.js → php-kOSUYQyc.js} +0 -0
  879. /package/bundled-test-harness/assets/{pla-D3Zb3KCn.js → pla-BShYV-HC.js} +0 -0
  880. /package/bundled-test-harness/assets/{postiats-ks1KABlA.js → postiats-9Xamd4W2.js} +0 -0
  881. /package/bundled-test-harness/assets/{powerquery-D35K_osc.js → powerquery-l2Nw525Q.js} +0 -0
  882. /package/bundled-test-harness/assets/{powershell-DXQo6KTk.js → powershell-B5rdEn86.js} +0 -0
  883. /package/bundled-test-harness/assets/{protobuf-CFDvn49_.js → protobuf-DjFcruCV.js} +0 -0
  884. /package/bundled-test-harness/assets/{pug-CGdWzJm1.js → pug-d79Nz4-Z.js} +0 -0
  885. /package/bundled-test-harness/assets/{python-BHLYjYlP.js → python-d8oxFZIM.js} +0 -0
  886. /package/bundled-test-harness/assets/{qsharp-BIq3i63T.js → qsharp-CeTlfxZW.js} +0 -0
  887. /package/bundled-test-harness/assets/{qunit-2hoQyeAZ.js → qunit-Cqwmt9Vl.js} +0 -0
  888. /package/bundled-test-harness/assets/{r-CBvzvDSA.js → r-BOu7JTro.js} +0 -0
  889. /package/bundled-test-harness/assets/{razor-JQ0RiIvo.js → razor-ZatoG_Is.js} +0 -0
  890. /package/bundled-test-harness/assets/{recent-files-cards-BQMviQb1.js → recent-files-cards-C3vIjaKb.js} +0 -0
  891. /package/bundled-test-harness/assets/{redis-BmSHTqTU.js → redis-DdXYPyQE.js} +0 -0
  892. /package/bundled-test-harness/assets/{redshift-B1NmQEH7.js → redshift-DswnW-YX.js} +0 -0
  893. /package/bundled-test-harness/assets/{render-component-g_fhz2dX.js → render-component-Bs21y6iv.js} +0 -0
  894. /package/bundled-test-harness/assets/{restructuredtext-Br9BtTbk.js → restructuredtext-C75vUmvX.js} +0 -0
  895. /package/bundled-test-harness/assets/{rough.esm-D8VnzNsL.js → rough.esm-B83ARgx6.js} +0 -0
  896. /package/bundled-test-harness/assets/{ruby-D9_-y1I3.js → ruby-D77950a-.js} +0 -0
  897. /package/bundled-test-harness/assets/{rust-1Jjr1EOs.js → rust-C_G4PKsG.js} +0 -0
  898. /package/bundled-test-harness/assets/{sb-X2JE4zEr.js → sb-Cz3P8_Gp.js} +0 -0
  899. /package/bundled-test-harness/assets/{scala-qFJERKkR.js → scala-DYqUg04P.js} +0 -0
  900. /package/bundled-test-harness/assets/{scheme-D-WJPStO.js → scheme-B31XEGu5.js} +0 -0
  901. /package/bundled-test-harness/assets/{scss-DysfZiXA.js → scss-CtvB8On5.js} +0 -0
  902. /package/bundled-test-harness/assets/{shell-C0Iu3NNJ.js → shell-C2QqpcPN.js} +0 -0
  903. /package/bundled-test-harness/assets/{solidity-Bato3Qrk.js → solidity-FHrhZFd-.js} +0 -0
  904. /package/bundled-test-harness/assets/{sophia-DI0cKdK8.js → sophia-Cxv5FOXb.js} +0 -0
  905. /package/bundled-test-harness/assets/{sparql-BTJMtwoD.js → sparql-CgGkGeQB.js} +0 -0
  906. /package/bundled-test-harness/assets/{sql-R6uHqFYU.js → sql-S6Dos2P0.js} +0 -0
  907. /package/bundled-test-harness/assets/{src-CdPyB7gY.js → src-CvuaVSsl.js} +0 -0
  908. /package/bundled-test-harness/assets/{st-CoyBvq37.js → st-Bfa7LAWp.js} +0 -0
  909. /package/bundled-test-harness/assets/{swift-Bj-haAlF.js → swift-BQD5Ef-A.js} +0 -0
  910. /package/bundled-test-harness/assets/{systemverilog-B-x1NEFI.js → systemverilog-DaNkPux4.js} +0 -0
  911. /package/bundled-test-harness/assets/{tcl-DAUdSQgz.js → tcl-gOPgCDyb.js} +0 -0
  912. /package/bundled-test-harness/assets/{test-support-BHjxBpDK.js → test-support-BEQX5x9U.js} +0 -0
  913. /package/bundled-test-harness/assets/{test-support-yKvYEh-u.js → test-support-BL4XKobD.js} +0 -0
  914. /package/bundled-test-harness/assets/{twig-B0sJ-GzS.js → twig-Bk4gPn5b.js} +0 -0
  915. /package/bundled-test-harness/assets/{typescript-DTMIM5Gl.js → typescript-pPYlxWzr.js} +0 -0
  916. /package/bundled-test-harness/assets/{typespec-6yo9VQxY.js → typespec-D9Zz743B.js} +0 -0
  917. /package/bundled-test-harness/assets/{vb-Bh2IfdtJ.js → vb-ziqHIsJV.js} +0 -0
  918. /package/bundled-test-harness/assets/{view-card-demo-U_AOj-RK.js → view-card-demo-CSIVYD3T.js} +0 -0
  919. /package/bundled-test-harness/assets/{wgsl-DsvJnCCt.js → wgsl-BXiwkiJL.js} +0 -0
  920. /package/bundled-test-harness/assets/{xml-CisPXcjD.js → xml-a_tUOik-.js} +0 -0
  921. /package/bundled-test-harness/assets/{yaml-DkHUoYI5.js → yaml-B3H8LDzK.js} +0 -0
@@ -0,0 +1,4060 @@
1
+ import { i as __name, s as __toESM, t as __commonJSMin } from "./chunk-CGdGNDIi.js";
2
+ import { t as require_dayjs_min } from "./dayjs.min-BZyUxGeZ.js";
3
+ import { t as require_advancedFormat } from "./advancedFormat-BH-WQLmQ.js";
4
+ import { a as nogamma, c as Rgb, d as define_default, f as extend, g as log, h as __name$1, i as hue, p as select_default, s as Color, u as rgbConvert } from "./src-CvuaVSsl.js";
5
+ import { H as setAccDescription, K as setDiagramTitle, U as setAccTitle, a as clear, c as configureSvgSize, s as common_default, v as getAccDescription, w as getDiagramTitle, x as getConfig2, y as getAccTitle } from "./chunk-CSCIHK7Q-D7nFiAZ-.js";
6
+ import { a as bisector, i as tickStep, n as continuous, r as copy, t as linear } from "./linear-CHTo-YQl.js";
7
+ import { t as initRange } from "./init-Bd2YUhsG.js";
8
+ import { t as require_dist } from "./dist-BZ5MfZEJ.js";
9
+ import { g as utils_default } from "./chunk-5ZQYHXKU-BlVb7vgG.js";
10
+ //#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/max.js
11
+ function max(values, valueof) {
12
+ let max;
13
+ if (valueof === void 0) {
14
+ for (const value of values) if (value != null && (max < value || max === void 0 && value >= value)) max = value;
15
+ } else {
16
+ let index = -1;
17
+ for (let value of values) if ((value = valueof(value, ++index, values)) != null && (max < value || max === void 0 && value >= value)) max = value;
18
+ }
19
+ return max;
20
+ }
21
+ //#endregion
22
+ //#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/min.js
23
+ function min(values, valueof) {
24
+ let min;
25
+ if (valueof === void 0) {
26
+ for (const value of values) if (value != null && (min > value || min === void 0 && value >= value)) min = value;
27
+ } else {
28
+ let index = -1;
29
+ for (let value of values) if ((value = valueof(value, ++index, values)) != null && (min > value || min === void 0 && value >= value)) min = value;
30
+ }
31
+ return min;
32
+ }
33
+ //#endregion
34
+ //#region ../../node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/identity.js
35
+ function identity_default(x) {
36
+ return x;
37
+ }
38
+ __name(identity_default, "default");
39
+ //#endregion
40
+ //#region ../../node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/axis.js
41
+ var top = 1;
42
+ var right = 2;
43
+ var bottom = 3;
44
+ var left = 4;
45
+ var epsilon = 1e-6;
46
+ function translateX(x) {
47
+ return "translate(" + x + ",0)";
48
+ }
49
+ function translateY(y) {
50
+ return "translate(0," + y + ")";
51
+ }
52
+ function number$1(scale) {
53
+ return (d) => +scale(d);
54
+ }
55
+ __name(number$1, "number");
56
+ function center(scale, offset) {
57
+ offset = Math.max(0, scale.bandwidth() - offset * 2) / 2;
58
+ if (scale.round()) offset = Math.round(offset);
59
+ return (d) => +scale(d) + offset;
60
+ }
61
+ function entering() {
62
+ return !this.__axis;
63
+ }
64
+ function axis(orient, scale) {
65
+ var tickArguments = [];
66
+ var tickValues = null;
67
+ var tickFormat = null;
68
+ var tickSizeInner = 6;
69
+ var tickSizeOuter = 6;
70
+ var tickPadding = 3;
71
+ var offset = typeof window !== "undefined" && window.devicePixelRatio > 1 ? 0 : .5;
72
+ var k = orient === top || orient === left ? -1 : 1;
73
+ var x = orient === left || orient === right ? "x" : "y";
74
+ var transform = orient === top || orient === bottom ? translateX : translateY;
75
+ function axis(context) {
76
+ var values = tickValues == null ? scale.ticks ? scale.ticks.apply(scale, tickArguments) : scale.domain() : tickValues;
77
+ var format = tickFormat == null ? scale.tickFormat ? scale.tickFormat.apply(scale, tickArguments) : identity_default : tickFormat;
78
+ var spacing = Math.max(tickSizeInner, 0) + tickPadding;
79
+ var range = scale.range();
80
+ var range0 = +range[0] + offset;
81
+ var range1 = +range[range.length - 1] + offset;
82
+ var position = (scale.bandwidth ? center : number$1)(scale.copy(), offset);
83
+ var selection = context.selection ? context.selection() : context;
84
+ var path = selection.selectAll(".domain").data([null]);
85
+ var tick = selection.selectAll(".tick").data(values, scale).order();
86
+ var tickExit = tick.exit();
87
+ var tickEnter = tick.enter().append("g").attr("class", "tick");
88
+ var line = tick.select("line");
89
+ var text = tick.select("text");
90
+ path = path.merge(path.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor"));
91
+ tick = tick.merge(tickEnter);
92
+ line = line.merge(tickEnter.append("line").attr("stroke", "currentColor").attr(x + "2", k * tickSizeInner));
93
+ text = text.merge(tickEnter.append("text").attr("fill", "currentColor").attr(x, k * spacing).attr("dy", orient === top ? "0em" : orient === bottom ? "0.71em" : "0.32em"));
94
+ if (context !== selection) {
95
+ path = path.transition(context);
96
+ tick = tick.transition(context);
97
+ line = line.transition(context);
98
+ text = text.transition(context);
99
+ tickExit = tickExit.transition(context).attr("opacity", epsilon).attr("transform", function(d) {
100
+ return isFinite(d = position(d)) ? transform(d + offset) : this.getAttribute("transform");
101
+ });
102
+ tickEnter.attr("opacity", epsilon).attr("transform", function(d) {
103
+ var p = this.parentNode.__axis;
104
+ return transform((p && isFinite(p = p(d)) ? p : position(d)) + offset);
105
+ });
106
+ }
107
+ tickExit.remove();
108
+ path.attr("d", orient === left || orient === right ? tickSizeOuter ? "M" + k * tickSizeOuter + "," + range0 + "H" + offset + "V" + range1 + "H" + k * tickSizeOuter : "M" + offset + "," + range0 + "V" + range1 : tickSizeOuter ? "M" + range0 + "," + k * tickSizeOuter + "V" + offset + "H" + range1 + "V" + k * tickSizeOuter : "M" + range0 + "," + offset + "H" + range1);
109
+ tick.attr("opacity", 1).attr("transform", function(d) {
110
+ return transform(position(d) + offset);
111
+ });
112
+ line.attr(x + "2", k * tickSizeInner);
113
+ text.attr(x, k * spacing).text(format);
114
+ selection.filter(entering).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", orient === right ? "start" : orient === left ? "end" : "middle");
115
+ selection.each(function() {
116
+ this.__axis = position;
117
+ });
118
+ }
119
+ axis.scale = function(_) {
120
+ return arguments.length ? (scale = _, axis) : scale;
121
+ };
122
+ axis.ticks = function() {
123
+ return tickArguments = Array.from(arguments), axis;
124
+ };
125
+ axis.tickArguments = function(_) {
126
+ return arguments.length ? (tickArguments = _ == null ? [] : Array.from(_), axis) : tickArguments.slice();
127
+ };
128
+ axis.tickValues = function(_) {
129
+ return arguments.length ? (tickValues = _ == null ? null : Array.from(_), axis) : tickValues && tickValues.slice();
130
+ };
131
+ axis.tickFormat = function(_) {
132
+ return arguments.length ? (tickFormat = _, axis) : tickFormat;
133
+ };
134
+ axis.tickSize = function(_) {
135
+ return arguments.length ? (tickSizeInner = tickSizeOuter = +_, axis) : tickSizeInner;
136
+ };
137
+ axis.tickSizeInner = function(_) {
138
+ return arguments.length ? (tickSizeInner = +_, axis) : tickSizeInner;
139
+ };
140
+ axis.tickSizeOuter = function(_) {
141
+ return arguments.length ? (tickSizeOuter = +_, axis) : tickSizeOuter;
142
+ };
143
+ axis.tickPadding = function(_) {
144
+ return arguments.length ? (tickPadding = +_, axis) : tickPadding;
145
+ };
146
+ axis.offset = function(_) {
147
+ return arguments.length ? (offset = +_, axis) : offset;
148
+ };
149
+ return axis;
150
+ }
151
+ function axisTop(scale) {
152
+ return axis(top, scale);
153
+ }
154
+ function axisBottom(scale) {
155
+ return axis(bottom, scale);
156
+ }
157
+ //#endregion
158
+ //#region ../../node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/math.js
159
+ var radians = Math.PI / 180;
160
+ var degrees = 180 / Math.PI;
161
+ //#endregion
162
+ //#region ../../node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/lab.js
163
+ var K = 18;
164
+ var Xn = .96422;
165
+ var Yn = 1;
166
+ var Zn = .82521;
167
+ var t0$1 = 4 / 29;
168
+ var t1$1 = 6 / 29;
169
+ var t2 = 3 * t1$1 * t1$1;
170
+ var t3 = t1$1 * t1$1 * t1$1;
171
+ function labConvert(o) {
172
+ if (o instanceof Lab) return new Lab(o.l, o.a, o.b, o.opacity);
173
+ if (o instanceof Hcl) return hcl2lab(o);
174
+ if (!(o instanceof Rgb)) o = rgbConvert(o);
175
+ var r = rgb2lrgb(o.r);
176
+ var g = rgb2lrgb(o.g);
177
+ var b = rgb2lrgb(o.b);
178
+ var y = xyz2lab((.2225045 * r + .7168786 * g + .0606169 * b) / Yn);
179
+ var x;
180
+ var z;
181
+ if (r === g && g === b) x = z = y;
182
+ else {
183
+ x = xyz2lab((.4360747 * r + .3850649 * g + .1430804 * b) / Xn);
184
+ z = xyz2lab((.0139322 * r + .0971045 * g + .7141733 * b) / Zn);
185
+ }
186
+ return new Lab(116 * y - 16, 500 * (x - y), 200 * (y - z), o.opacity);
187
+ }
188
+ function lab(l, a, b, opacity) {
189
+ return arguments.length === 1 ? labConvert(l) : new Lab(l, a, b, opacity == null ? 1 : opacity);
190
+ }
191
+ function Lab(l, a, b, opacity) {
192
+ this.l = +l;
193
+ this.a = +a;
194
+ this.b = +b;
195
+ this.opacity = +opacity;
196
+ }
197
+ define_default(Lab, lab, extend(Color, {
198
+ brighter(k) {
199
+ return new Lab(this.l + K * (k == null ? 1 : k), this.a, this.b, this.opacity);
200
+ },
201
+ darker(k) {
202
+ return new Lab(this.l - K * (k == null ? 1 : k), this.a, this.b, this.opacity);
203
+ },
204
+ rgb() {
205
+ var y = (this.l + 16) / 116;
206
+ var x = isNaN(this.a) ? y : y + this.a / 500;
207
+ var z = isNaN(this.b) ? y : y - this.b / 200;
208
+ x = Xn * lab2xyz(x);
209
+ y = Yn * lab2xyz(y);
210
+ z = Zn * lab2xyz(z);
211
+ return new Rgb(lrgb2rgb(3.1338561 * x - 1.6168667 * y - .4906146 * z), lrgb2rgb(-.9787684 * x + 1.9161415 * y + .033454 * z), lrgb2rgb(.0719453 * x - .2289914 * y + 1.4052427 * z), this.opacity);
212
+ }
213
+ }));
214
+ function xyz2lab(t) {
215
+ return t > t3 ? Math.pow(t, 1 / 3) : t / t2 + t0$1;
216
+ }
217
+ function lab2xyz(t) {
218
+ return t > t1$1 ? t * t * t : t2 * (t - t0$1);
219
+ }
220
+ function lrgb2rgb(x) {
221
+ return 255 * (x <= .0031308 ? 12.92 * x : 1.055 * Math.pow(x, 1 / 2.4) - .055);
222
+ }
223
+ function rgb2lrgb(x) {
224
+ return (x /= 255) <= .04045 ? x / 12.92 : Math.pow((x + .055) / 1.055, 2.4);
225
+ }
226
+ function hclConvert(o) {
227
+ if (o instanceof Hcl) return new Hcl(o.h, o.c, o.l, o.opacity);
228
+ if (!(o instanceof Lab)) o = labConvert(o);
229
+ if (o.a === 0 && o.b === 0) return new Hcl(NaN, 0 < o.l && o.l < 100 ? 0 : NaN, o.l, o.opacity);
230
+ var h = Math.atan2(o.b, o.a) * degrees;
231
+ return new Hcl(h < 0 ? h + 360 : h, Math.sqrt(o.a * o.a + o.b * o.b), o.l, o.opacity);
232
+ }
233
+ function hcl$1(h, c, l, opacity) {
234
+ return arguments.length === 1 ? hclConvert(h) : new Hcl(h, c, l, opacity == null ? 1 : opacity);
235
+ }
236
+ __name(hcl$1, "hcl");
237
+ function Hcl(h, c, l, opacity) {
238
+ this.h = +h;
239
+ this.c = +c;
240
+ this.l = +l;
241
+ this.opacity = +opacity;
242
+ }
243
+ function hcl2lab(o) {
244
+ if (isNaN(o.h)) return new Lab(o.l, 0, 0, o.opacity);
245
+ var h = o.h * radians;
246
+ return new Lab(o.l, Math.cos(h) * o.c, Math.sin(h) * o.c, o.opacity);
247
+ }
248
+ define_default(Hcl, hcl$1, extend(Color, {
249
+ brighter(k) {
250
+ return new Hcl(this.h, this.c, this.l + K * (k == null ? 1 : k), this.opacity);
251
+ },
252
+ darker(k) {
253
+ return new Hcl(this.h, this.c, this.l - K * (k == null ? 1 : k), this.opacity);
254
+ },
255
+ rgb() {
256
+ return hcl2lab(this).rgb();
257
+ }
258
+ }));
259
+ //#endregion
260
+ //#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/hcl.js
261
+ function hcl(hue) {
262
+ return function(start, end) {
263
+ var h = hue((start = hcl$1(start)).h, (end = hcl$1(end)).h);
264
+ var c = nogamma(start.c, end.c);
265
+ var l = nogamma(start.l, end.l);
266
+ var opacity = nogamma(start.opacity, end.opacity);
267
+ return function(t) {
268
+ start.h = h(t);
269
+ start.c = c(t);
270
+ start.l = l(t);
271
+ start.opacity = opacity(t);
272
+ return start + "";
273
+ };
274
+ };
275
+ }
276
+ var hcl_default = hcl(hue);
277
+ //#endregion
278
+ //#region ../../node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/nice.js
279
+ function nice(domain, interval) {
280
+ domain = domain.slice();
281
+ var i0 = 0;
282
+ var i1 = domain.length - 1;
283
+ var x0 = domain[i0];
284
+ var x1 = domain[i1];
285
+ var t;
286
+ if (x1 < x0) {
287
+ t = i0, i0 = i1, i1 = t;
288
+ t = x0, x0 = x1, x1 = t;
289
+ }
290
+ domain[i0] = interval.floor(x0);
291
+ domain[i1] = interval.ceil(x1);
292
+ return domain;
293
+ }
294
+ //#endregion
295
+ //#region ../../node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/interval.js
296
+ var t0 = /* @__PURE__ */ new Date();
297
+ var t1 = /* @__PURE__ */ new Date();
298
+ function timeInterval(floori, offseti, count, field) {
299
+ function interval(date) {
300
+ return floori(date = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+date)), date;
301
+ }
302
+ interval.floor = (date) => {
303
+ return floori(date = /* @__PURE__ */ new Date(+date)), date;
304
+ };
305
+ interval.ceil = (date) => {
306
+ return floori(date = /* @__PURE__ */ new Date(date - 1)), offseti(date, 1), floori(date), date;
307
+ };
308
+ interval.round = (date) => {
309
+ const d0 = interval(date);
310
+ const d1 = interval.ceil(date);
311
+ return date - d0 < d1 - date ? d0 : d1;
312
+ };
313
+ interval.offset = (date, step) => {
314
+ return offseti(date = /* @__PURE__ */ new Date(+date), step == null ? 1 : Math.floor(step)), date;
315
+ };
316
+ interval.range = (start, stop, step) => {
317
+ const range = [];
318
+ start = interval.ceil(start);
319
+ step = step == null ? 1 : Math.floor(step);
320
+ if (!(start < stop) || !(step > 0)) return range;
321
+ let previous;
322
+ do
323
+ range.push(previous = /* @__PURE__ */ new Date(+start)), offseti(start, step), floori(start);
324
+ while (previous < start && start < stop);
325
+ return range;
326
+ };
327
+ interval.filter = (test) => {
328
+ return timeInterval((date) => {
329
+ if (date >= date) while (floori(date), !test(date)) date.setTime(date - 1);
330
+ }, (date, step) => {
331
+ if (date >= date) if (step < 0) while (++step <= 0) while (offseti(date, -1), !test(date));
332
+ else while (--step >= 0) while (offseti(date, 1), !test(date));
333
+ });
334
+ };
335
+ if (count) {
336
+ interval.count = (start, end) => {
337
+ t0.setTime(+start), t1.setTime(+end);
338
+ floori(t0), floori(t1);
339
+ return Math.floor(count(t0, t1));
340
+ };
341
+ interval.every = (step) => {
342
+ step = Math.floor(step);
343
+ return !isFinite(step) || !(step > 0) ? null : !(step > 1) ? interval : interval.filter(field ? (d) => field(d) % step === 0 : (d) => interval.count(0, d) % step === 0);
344
+ };
345
+ }
346
+ return interval;
347
+ }
348
+ //#endregion
349
+ //#region ../../node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/millisecond.js
350
+ var millisecond = timeInterval(() => {}, (date, step) => {
351
+ date.setTime(+date + step);
352
+ }, (start, end) => {
353
+ return end - start;
354
+ });
355
+ millisecond.every = (k) => {
356
+ k = Math.floor(k);
357
+ if (!isFinite(k) || !(k > 0)) return null;
358
+ if (!(k > 1)) return millisecond;
359
+ return timeInterval((date) => {
360
+ date.setTime(Math.floor(date / k) * k);
361
+ }, (date, step) => {
362
+ date.setTime(+date + step * k);
363
+ }, (start, end) => {
364
+ return (end - start) / k;
365
+ });
366
+ };
367
+ millisecond.range;
368
+ //#endregion
369
+ //#region ../../node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/duration.js
370
+ var durationSecond = 1e3;
371
+ var durationMinute = durationSecond * 60;
372
+ var durationHour = durationMinute * 60;
373
+ var durationDay = durationHour * 24;
374
+ var durationWeek = durationDay * 7;
375
+ var durationMonth = durationDay * 30;
376
+ var durationYear = durationDay * 365;
377
+ //#endregion
378
+ //#region ../../node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/second.js
379
+ var second = timeInterval((date) => {
380
+ date.setTime(date - date.getMilliseconds());
381
+ }, (date, step) => {
382
+ date.setTime(+date + step * durationSecond);
383
+ }, (start, end) => {
384
+ return (end - start) / durationSecond;
385
+ }, (date) => {
386
+ return date.getUTCSeconds();
387
+ });
388
+ second.range;
389
+ //#endregion
390
+ //#region ../../node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/minute.js
391
+ var timeMinute = timeInterval((date) => {
392
+ date.setTime(date - date.getMilliseconds() - date.getSeconds() * durationSecond);
393
+ }, (date, step) => {
394
+ date.setTime(+date + step * durationMinute);
395
+ }, (start, end) => {
396
+ return (end - start) / durationMinute;
397
+ }, (date) => {
398
+ return date.getMinutes();
399
+ });
400
+ timeMinute.range;
401
+ var utcMinute = timeInterval((date) => {
402
+ date.setUTCSeconds(0, 0);
403
+ }, (date, step) => {
404
+ date.setTime(+date + step * durationMinute);
405
+ }, (start, end) => {
406
+ return (end - start) / durationMinute;
407
+ }, (date) => {
408
+ return date.getUTCMinutes();
409
+ });
410
+ utcMinute.range;
411
+ //#endregion
412
+ //#region ../../node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/hour.js
413
+ var timeHour = timeInterval((date) => {
414
+ date.setTime(date - date.getMilliseconds() - date.getSeconds() * durationSecond - date.getMinutes() * durationMinute);
415
+ }, (date, step) => {
416
+ date.setTime(+date + step * durationHour);
417
+ }, (start, end) => {
418
+ return (end - start) / durationHour;
419
+ }, (date) => {
420
+ return date.getHours();
421
+ });
422
+ timeHour.range;
423
+ var utcHour = timeInterval((date) => {
424
+ date.setUTCMinutes(0, 0, 0);
425
+ }, (date, step) => {
426
+ date.setTime(+date + step * durationHour);
427
+ }, (start, end) => {
428
+ return (end - start) / durationHour;
429
+ }, (date) => {
430
+ return date.getUTCHours();
431
+ });
432
+ utcHour.range;
433
+ //#endregion
434
+ //#region ../../node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/day.js
435
+ var timeDay = timeInterval((date) => date.setHours(0, 0, 0, 0), (date, step) => date.setDate(date.getDate() + step), (start, end) => (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * durationMinute) / durationDay, (date) => date.getDate() - 1);
436
+ timeDay.range;
437
+ var utcDay = timeInterval((date) => {
438
+ date.setUTCHours(0, 0, 0, 0);
439
+ }, (date, step) => {
440
+ date.setUTCDate(date.getUTCDate() + step);
441
+ }, (start, end) => {
442
+ return (end - start) / durationDay;
443
+ }, (date) => {
444
+ return date.getUTCDate() - 1;
445
+ });
446
+ utcDay.range;
447
+ var unixDay = timeInterval((date) => {
448
+ date.setUTCHours(0, 0, 0, 0);
449
+ }, (date, step) => {
450
+ date.setUTCDate(date.getUTCDate() + step);
451
+ }, (start, end) => {
452
+ return (end - start) / durationDay;
453
+ }, (date) => {
454
+ return Math.floor(date / durationDay);
455
+ });
456
+ unixDay.range;
457
+ //#endregion
458
+ //#region ../../node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/week.js
459
+ function timeWeekday(i) {
460
+ return timeInterval((date) => {
461
+ date.setDate(date.getDate() - (date.getDay() + 7 - i) % 7);
462
+ date.setHours(0, 0, 0, 0);
463
+ }, (date, step) => {
464
+ date.setDate(date.getDate() + step * 7);
465
+ }, (start, end) => {
466
+ return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * durationMinute) / durationWeek;
467
+ });
468
+ }
469
+ var timeSunday = timeWeekday(0);
470
+ var timeMonday = timeWeekday(1);
471
+ var timeTuesday = timeWeekday(2);
472
+ var timeWednesday = timeWeekday(3);
473
+ var timeThursday = timeWeekday(4);
474
+ var timeFriday = timeWeekday(5);
475
+ var timeSaturday = timeWeekday(6);
476
+ timeSunday.range;
477
+ timeMonday.range;
478
+ timeTuesday.range;
479
+ timeWednesday.range;
480
+ timeThursday.range;
481
+ timeFriday.range;
482
+ timeSaturday.range;
483
+ function utcWeekday(i) {
484
+ return timeInterval((date) => {
485
+ date.setUTCDate(date.getUTCDate() - (date.getUTCDay() + 7 - i) % 7);
486
+ date.setUTCHours(0, 0, 0, 0);
487
+ }, (date, step) => {
488
+ date.setUTCDate(date.getUTCDate() + step * 7);
489
+ }, (start, end) => {
490
+ return (end - start) / durationWeek;
491
+ });
492
+ }
493
+ var utcSunday = utcWeekday(0);
494
+ var utcMonday = utcWeekday(1);
495
+ var utcTuesday = utcWeekday(2);
496
+ var utcWednesday = utcWeekday(3);
497
+ var utcThursday = utcWeekday(4);
498
+ var utcFriday = utcWeekday(5);
499
+ var utcSaturday = utcWeekday(6);
500
+ utcSunday.range;
501
+ utcMonday.range;
502
+ utcTuesday.range;
503
+ utcWednesday.range;
504
+ utcThursday.range;
505
+ utcFriday.range;
506
+ utcSaturday.range;
507
+ //#endregion
508
+ //#region ../../node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/month.js
509
+ var timeMonth = timeInterval((date) => {
510
+ date.setDate(1);
511
+ date.setHours(0, 0, 0, 0);
512
+ }, (date, step) => {
513
+ date.setMonth(date.getMonth() + step);
514
+ }, (start, end) => {
515
+ return end.getMonth() - start.getMonth() + (end.getFullYear() - start.getFullYear()) * 12;
516
+ }, (date) => {
517
+ return date.getMonth();
518
+ });
519
+ timeMonth.range;
520
+ var utcMonth = timeInterval((date) => {
521
+ date.setUTCDate(1);
522
+ date.setUTCHours(0, 0, 0, 0);
523
+ }, (date, step) => {
524
+ date.setUTCMonth(date.getUTCMonth() + step);
525
+ }, (start, end) => {
526
+ return end.getUTCMonth() - start.getUTCMonth() + (end.getUTCFullYear() - start.getUTCFullYear()) * 12;
527
+ }, (date) => {
528
+ return date.getUTCMonth();
529
+ });
530
+ utcMonth.range;
531
+ //#endregion
532
+ //#region ../../node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/year.js
533
+ var timeYear = timeInterval((date) => {
534
+ date.setMonth(0, 1);
535
+ date.setHours(0, 0, 0, 0);
536
+ }, (date, step) => {
537
+ date.setFullYear(date.getFullYear() + step);
538
+ }, (start, end) => {
539
+ return end.getFullYear() - start.getFullYear();
540
+ }, (date) => {
541
+ return date.getFullYear();
542
+ });
543
+ timeYear.every = (k) => {
544
+ return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : timeInterval((date) => {
545
+ date.setFullYear(Math.floor(date.getFullYear() / k) * k);
546
+ date.setMonth(0, 1);
547
+ date.setHours(0, 0, 0, 0);
548
+ }, (date, step) => {
549
+ date.setFullYear(date.getFullYear() + step * k);
550
+ });
551
+ };
552
+ timeYear.range;
553
+ var utcYear = timeInterval((date) => {
554
+ date.setUTCMonth(0, 1);
555
+ date.setUTCHours(0, 0, 0, 0);
556
+ }, (date, step) => {
557
+ date.setUTCFullYear(date.getUTCFullYear() + step);
558
+ }, (start, end) => {
559
+ return end.getUTCFullYear() - start.getUTCFullYear();
560
+ }, (date) => {
561
+ return date.getUTCFullYear();
562
+ });
563
+ utcYear.every = (k) => {
564
+ return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : timeInterval((date) => {
565
+ date.setUTCFullYear(Math.floor(date.getUTCFullYear() / k) * k);
566
+ date.setUTCMonth(0, 1);
567
+ date.setUTCHours(0, 0, 0, 0);
568
+ }, (date, step) => {
569
+ date.setUTCFullYear(date.getUTCFullYear() + step * k);
570
+ });
571
+ };
572
+ utcYear.range;
573
+ //#endregion
574
+ //#region ../../node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/ticks.js
575
+ function ticker(year, month, week, day, hour, minute) {
576
+ const tickIntervals = [
577
+ [
578
+ second,
579
+ 1,
580
+ durationSecond
581
+ ],
582
+ [
583
+ second,
584
+ 5,
585
+ 5 * durationSecond
586
+ ],
587
+ [
588
+ second,
589
+ 15,
590
+ 15 * durationSecond
591
+ ],
592
+ [
593
+ second,
594
+ 30,
595
+ 30 * durationSecond
596
+ ],
597
+ [
598
+ minute,
599
+ 1,
600
+ durationMinute
601
+ ],
602
+ [
603
+ minute,
604
+ 5,
605
+ 5 * durationMinute
606
+ ],
607
+ [
608
+ minute,
609
+ 15,
610
+ 15 * durationMinute
611
+ ],
612
+ [
613
+ minute,
614
+ 30,
615
+ 30 * durationMinute
616
+ ],
617
+ [
618
+ hour,
619
+ 1,
620
+ durationHour
621
+ ],
622
+ [
623
+ hour,
624
+ 3,
625
+ 3 * durationHour
626
+ ],
627
+ [
628
+ hour,
629
+ 6,
630
+ 6 * durationHour
631
+ ],
632
+ [
633
+ hour,
634
+ 12,
635
+ 12 * durationHour
636
+ ],
637
+ [
638
+ day,
639
+ 1,
640
+ durationDay
641
+ ],
642
+ [
643
+ day,
644
+ 2,
645
+ 2 * durationDay
646
+ ],
647
+ [
648
+ week,
649
+ 1,
650
+ durationWeek
651
+ ],
652
+ [
653
+ month,
654
+ 1,
655
+ durationMonth
656
+ ],
657
+ [
658
+ month,
659
+ 3,
660
+ 3 * durationMonth
661
+ ],
662
+ [
663
+ year,
664
+ 1,
665
+ durationYear
666
+ ]
667
+ ];
668
+ function ticks(start, stop, count) {
669
+ const reverse = stop < start;
670
+ if (reverse) [start, stop] = [stop, start];
671
+ const interval = count && typeof count.range === "function" ? count : tickInterval(start, stop, count);
672
+ const ticks = interval ? interval.range(start, +stop + 1) : [];
673
+ return reverse ? ticks.reverse() : ticks;
674
+ }
675
+ function tickInterval(start, stop, count) {
676
+ const target = Math.abs(stop - start) / count;
677
+ const i = bisector(([, , step]) => step).right(tickIntervals, target);
678
+ if (i === tickIntervals.length) return year.every(tickStep(start / durationYear, stop / durationYear, count));
679
+ if (i === 0) return millisecond.every(Math.max(tickStep(start, stop, count), 1));
680
+ const [t, step] = tickIntervals[target / tickIntervals[i - 1][2] < tickIntervals[i][2] / target ? i - 1 : i];
681
+ return t.every(step);
682
+ }
683
+ return [ticks, tickInterval];
684
+ }
685
+ var [utcTicks, utcTickInterval] = ticker(utcYear, utcMonth, utcSunday, unixDay, utcHour, utcMinute);
686
+ var [timeTicks, timeTickInterval] = ticker(timeYear, timeMonth, timeSunday, timeDay, timeHour, timeMinute);
687
+ //#endregion
688
+ //#region ../../node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/locale.js
689
+ function localDate(d) {
690
+ if (0 <= d.y && d.y < 100) {
691
+ var date = new Date(-1, d.m, d.d, d.H, d.M, d.S, d.L);
692
+ date.setFullYear(d.y);
693
+ return date;
694
+ }
695
+ return new Date(d.y, d.m, d.d, d.H, d.M, d.S, d.L);
696
+ }
697
+ function utcDate(d) {
698
+ if (0 <= d.y && d.y < 100) {
699
+ var date = new Date(Date.UTC(-1, d.m, d.d, d.H, d.M, d.S, d.L));
700
+ date.setUTCFullYear(d.y);
701
+ return date;
702
+ }
703
+ return new Date(Date.UTC(d.y, d.m, d.d, d.H, d.M, d.S, d.L));
704
+ }
705
+ function newDate(y, m, d) {
706
+ return {
707
+ y,
708
+ m,
709
+ d,
710
+ H: 0,
711
+ M: 0,
712
+ S: 0,
713
+ L: 0
714
+ };
715
+ }
716
+ function formatLocale(locale) {
717
+ var locale_dateTime = locale.dateTime;
718
+ var locale_date = locale.date;
719
+ var locale_time = locale.time;
720
+ var locale_periods = locale.periods;
721
+ var locale_weekdays = locale.days;
722
+ var locale_shortWeekdays = locale.shortDays;
723
+ var locale_months = locale.months;
724
+ var locale_shortMonths = locale.shortMonths;
725
+ var periodRe = formatRe(locale_periods);
726
+ var periodLookup = formatLookup(locale_periods);
727
+ var weekdayRe = formatRe(locale_weekdays);
728
+ var weekdayLookup = formatLookup(locale_weekdays);
729
+ var shortWeekdayRe = formatRe(locale_shortWeekdays);
730
+ var shortWeekdayLookup = formatLookup(locale_shortWeekdays);
731
+ var monthRe = formatRe(locale_months);
732
+ var monthLookup = formatLookup(locale_months);
733
+ var shortMonthRe = formatRe(locale_shortMonths);
734
+ var shortMonthLookup = formatLookup(locale_shortMonths);
735
+ var formats = {
736
+ "a": formatShortWeekday,
737
+ "A": formatWeekday,
738
+ "b": formatShortMonth,
739
+ "B": formatMonth,
740
+ "c": null,
741
+ "d": formatDayOfMonth,
742
+ "e": formatDayOfMonth,
743
+ "f": formatMicroseconds,
744
+ "g": formatYearISO,
745
+ "G": formatFullYearISO,
746
+ "H": formatHour24,
747
+ "I": formatHour12,
748
+ "j": formatDayOfYear,
749
+ "L": formatMilliseconds,
750
+ "m": formatMonthNumber,
751
+ "M": formatMinutes,
752
+ "p": formatPeriod,
753
+ "q": formatQuarter,
754
+ "Q": formatUnixTimestamp,
755
+ "s": formatUnixTimestampSeconds,
756
+ "S": formatSeconds,
757
+ "u": formatWeekdayNumberMonday,
758
+ "U": formatWeekNumberSunday,
759
+ "V": formatWeekNumberISO,
760
+ "w": formatWeekdayNumberSunday,
761
+ "W": formatWeekNumberMonday,
762
+ "x": null,
763
+ "X": null,
764
+ "y": formatYear,
765
+ "Y": formatFullYear,
766
+ "Z": formatZone,
767
+ "%": formatLiteralPercent
768
+ };
769
+ var utcFormats = {
770
+ "a": formatUTCShortWeekday,
771
+ "A": formatUTCWeekday,
772
+ "b": formatUTCShortMonth,
773
+ "B": formatUTCMonth,
774
+ "c": null,
775
+ "d": formatUTCDayOfMonth,
776
+ "e": formatUTCDayOfMonth,
777
+ "f": formatUTCMicroseconds,
778
+ "g": formatUTCYearISO,
779
+ "G": formatUTCFullYearISO,
780
+ "H": formatUTCHour24,
781
+ "I": formatUTCHour12,
782
+ "j": formatUTCDayOfYear,
783
+ "L": formatUTCMilliseconds,
784
+ "m": formatUTCMonthNumber,
785
+ "M": formatUTCMinutes,
786
+ "p": formatUTCPeriod,
787
+ "q": formatUTCQuarter,
788
+ "Q": formatUnixTimestamp,
789
+ "s": formatUnixTimestampSeconds,
790
+ "S": formatUTCSeconds,
791
+ "u": formatUTCWeekdayNumberMonday,
792
+ "U": formatUTCWeekNumberSunday,
793
+ "V": formatUTCWeekNumberISO,
794
+ "w": formatUTCWeekdayNumberSunday,
795
+ "W": formatUTCWeekNumberMonday,
796
+ "x": null,
797
+ "X": null,
798
+ "y": formatUTCYear,
799
+ "Y": formatUTCFullYear,
800
+ "Z": formatUTCZone,
801
+ "%": formatLiteralPercent
802
+ };
803
+ var parses = {
804
+ "a": parseShortWeekday,
805
+ "A": parseWeekday,
806
+ "b": parseShortMonth,
807
+ "B": parseMonth,
808
+ "c": parseLocaleDateTime,
809
+ "d": parseDayOfMonth,
810
+ "e": parseDayOfMonth,
811
+ "f": parseMicroseconds,
812
+ "g": parseYear,
813
+ "G": parseFullYear,
814
+ "H": parseHour24,
815
+ "I": parseHour24,
816
+ "j": parseDayOfYear,
817
+ "L": parseMilliseconds,
818
+ "m": parseMonthNumber,
819
+ "M": parseMinutes,
820
+ "p": parsePeriod,
821
+ "q": parseQuarter,
822
+ "Q": parseUnixTimestamp,
823
+ "s": parseUnixTimestampSeconds,
824
+ "S": parseSeconds,
825
+ "u": parseWeekdayNumberMonday,
826
+ "U": parseWeekNumberSunday,
827
+ "V": parseWeekNumberISO,
828
+ "w": parseWeekdayNumberSunday,
829
+ "W": parseWeekNumberMonday,
830
+ "x": parseLocaleDate,
831
+ "X": parseLocaleTime,
832
+ "y": parseYear,
833
+ "Y": parseFullYear,
834
+ "Z": parseZone,
835
+ "%": parseLiteralPercent
836
+ };
837
+ formats.x = newFormat(locale_date, formats);
838
+ formats.X = newFormat(locale_time, formats);
839
+ formats.c = newFormat(locale_dateTime, formats);
840
+ utcFormats.x = newFormat(locale_date, utcFormats);
841
+ utcFormats.X = newFormat(locale_time, utcFormats);
842
+ utcFormats.c = newFormat(locale_dateTime, utcFormats);
843
+ function newFormat(specifier, formats) {
844
+ return function(date) {
845
+ var string = [];
846
+ var i = -1;
847
+ var j = 0;
848
+ var n = specifier.length;
849
+ var c;
850
+ var pad;
851
+ var format;
852
+ if (!(date instanceof Date)) date = /* @__PURE__ */ new Date(+date);
853
+ while (++i < n) if (specifier.charCodeAt(i) === 37) {
854
+ string.push(specifier.slice(j, i));
855
+ if ((pad = pads[c = specifier.charAt(++i)]) != null) c = specifier.charAt(++i);
856
+ else pad = c === "e" ? " " : "0";
857
+ if (format = formats[c]) c = format(date, pad);
858
+ string.push(c);
859
+ j = i + 1;
860
+ }
861
+ string.push(specifier.slice(j, i));
862
+ return string.join("");
863
+ };
864
+ }
865
+ function newParse(specifier, Z) {
866
+ return function(string) {
867
+ var d = newDate(1900, void 0, 1);
868
+ var i = parseSpecifier(d, specifier, string += "", 0);
869
+ var week;
870
+ var day;
871
+ if (i != string.length) return null;
872
+ if ("Q" in d) return new Date(d.Q);
873
+ if ("s" in d) return new Date(d.s * 1e3 + ("L" in d ? d.L : 0));
874
+ if (Z && !("Z" in d)) d.Z = 0;
875
+ if ("p" in d) d.H = d.H % 12 + d.p * 12;
876
+ if (d.m === void 0) d.m = "q" in d ? d.q : 0;
877
+ if ("V" in d) {
878
+ if (d.V < 1 || d.V > 53) return null;
879
+ if (!("w" in d)) d.w = 1;
880
+ if ("Z" in d) {
881
+ week = utcDate(newDate(d.y, 0, 1)), day = week.getUTCDay();
882
+ week = day > 4 || day === 0 ? utcMonday.ceil(week) : utcMonday(week);
883
+ week = utcDay.offset(week, (d.V - 1) * 7);
884
+ d.y = week.getUTCFullYear();
885
+ d.m = week.getUTCMonth();
886
+ d.d = week.getUTCDate() + (d.w + 6) % 7;
887
+ } else {
888
+ week = localDate(newDate(d.y, 0, 1)), day = week.getDay();
889
+ week = day > 4 || day === 0 ? timeMonday.ceil(week) : timeMonday(week);
890
+ week = timeDay.offset(week, (d.V - 1) * 7);
891
+ d.y = week.getFullYear();
892
+ d.m = week.getMonth();
893
+ d.d = week.getDate() + (d.w + 6) % 7;
894
+ }
895
+ } else if ("W" in d || "U" in d) {
896
+ if (!("w" in d)) d.w = "u" in d ? d.u % 7 : "W" in d ? 1 : 0;
897
+ day = "Z" in d ? utcDate(newDate(d.y, 0, 1)).getUTCDay() : localDate(newDate(d.y, 0, 1)).getDay();
898
+ d.m = 0;
899
+ d.d = "W" in d ? (d.w + 6) % 7 + d.W * 7 - (day + 5) % 7 : d.w + d.U * 7 - (day + 6) % 7;
900
+ }
901
+ if ("Z" in d) {
902
+ d.H += d.Z / 100 | 0;
903
+ d.M += d.Z % 100;
904
+ return utcDate(d);
905
+ }
906
+ return localDate(d);
907
+ };
908
+ }
909
+ function parseSpecifier(d, specifier, string, j) {
910
+ var i = 0;
911
+ var n = specifier.length;
912
+ var m = string.length;
913
+ var c;
914
+ var parse;
915
+ while (i < n) {
916
+ if (j >= m) return -1;
917
+ c = specifier.charCodeAt(i++);
918
+ if (c === 37) {
919
+ c = specifier.charAt(i++);
920
+ parse = parses[c in pads ? specifier.charAt(i++) : c];
921
+ if (!parse || (j = parse(d, string, j)) < 0) return -1;
922
+ } else if (c != string.charCodeAt(j++)) return -1;
923
+ }
924
+ return j;
925
+ }
926
+ function parsePeriod(d, string, i) {
927
+ var n = periodRe.exec(string.slice(i));
928
+ return n ? (d.p = periodLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
929
+ }
930
+ function parseShortWeekday(d, string, i) {
931
+ var n = shortWeekdayRe.exec(string.slice(i));
932
+ return n ? (d.w = shortWeekdayLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
933
+ }
934
+ function parseWeekday(d, string, i) {
935
+ var n = weekdayRe.exec(string.slice(i));
936
+ return n ? (d.w = weekdayLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
937
+ }
938
+ function parseShortMonth(d, string, i) {
939
+ var n = shortMonthRe.exec(string.slice(i));
940
+ return n ? (d.m = shortMonthLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
941
+ }
942
+ function parseMonth(d, string, i) {
943
+ var n = monthRe.exec(string.slice(i));
944
+ return n ? (d.m = monthLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
945
+ }
946
+ function parseLocaleDateTime(d, string, i) {
947
+ return parseSpecifier(d, locale_dateTime, string, i);
948
+ }
949
+ function parseLocaleDate(d, string, i) {
950
+ return parseSpecifier(d, locale_date, string, i);
951
+ }
952
+ function parseLocaleTime(d, string, i) {
953
+ return parseSpecifier(d, locale_time, string, i);
954
+ }
955
+ function formatShortWeekday(d) {
956
+ return locale_shortWeekdays[d.getDay()];
957
+ }
958
+ function formatWeekday(d) {
959
+ return locale_weekdays[d.getDay()];
960
+ }
961
+ function formatShortMonth(d) {
962
+ return locale_shortMonths[d.getMonth()];
963
+ }
964
+ function formatMonth(d) {
965
+ return locale_months[d.getMonth()];
966
+ }
967
+ function formatPeriod(d) {
968
+ return locale_periods[+(d.getHours() >= 12)];
969
+ }
970
+ function formatQuarter(d) {
971
+ return 1 + ~~(d.getMonth() / 3);
972
+ }
973
+ function formatUTCShortWeekday(d) {
974
+ return locale_shortWeekdays[d.getUTCDay()];
975
+ }
976
+ function formatUTCWeekday(d) {
977
+ return locale_weekdays[d.getUTCDay()];
978
+ }
979
+ function formatUTCShortMonth(d) {
980
+ return locale_shortMonths[d.getUTCMonth()];
981
+ }
982
+ function formatUTCMonth(d) {
983
+ return locale_months[d.getUTCMonth()];
984
+ }
985
+ function formatUTCPeriod(d) {
986
+ return locale_periods[+(d.getUTCHours() >= 12)];
987
+ }
988
+ function formatUTCQuarter(d) {
989
+ return 1 + ~~(d.getUTCMonth() / 3);
990
+ }
991
+ return {
992
+ format: function(specifier) {
993
+ var f = newFormat(specifier += "", formats);
994
+ f.toString = function() {
995
+ return specifier;
996
+ };
997
+ return f;
998
+ },
999
+ parse: function(specifier) {
1000
+ var p = newParse(specifier += "", false);
1001
+ p.toString = function() {
1002
+ return specifier;
1003
+ };
1004
+ return p;
1005
+ },
1006
+ utcFormat: function(specifier) {
1007
+ var f = newFormat(specifier += "", utcFormats);
1008
+ f.toString = function() {
1009
+ return specifier;
1010
+ };
1011
+ return f;
1012
+ },
1013
+ utcParse: function(specifier) {
1014
+ var p = newParse(specifier += "", true);
1015
+ p.toString = function() {
1016
+ return specifier;
1017
+ };
1018
+ return p;
1019
+ }
1020
+ };
1021
+ }
1022
+ var pads = {
1023
+ "-": "",
1024
+ "_": " ",
1025
+ "0": "0"
1026
+ };
1027
+ var numberRe = /^\s*\d+/;
1028
+ var percentRe = /^%/;
1029
+ var requoteRe = /[\\^$*+?|[\]().{}]/g;
1030
+ function pad(value, fill, width) {
1031
+ var sign = value < 0 ? "-" : "";
1032
+ var string = (sign ? -value : value) + "";
1033
+ var length = string.length;
1034
+ return sign + (length < width ? new Array(width - length + 1).join(fill) + string : string);
1035
+ }
1036
+ function requote(s) {
1037
+ return s.replace(requoteRe, "\\$&");
1038
+ }
1039
+ function formatRe(names) {
1040
+ return new RegExp("^(?:" + names.map(requote).join("|") + ")", "i");
1041
+ }
1042
+ function formatLookup(names) {
1043
+ return new Map(names.map((name, i) => [name.toLowerCase(), i]));
1044
+ }
1045
+ function parseWeekdayNumberSunday(d, string, i) {
1046
+ var n = numberRe.exec(string.slice(i, i + 1));
1047
+ return n ? (d.w = +n[0], i + n[0].length) : -1;
1048
+ }
1049
+ function parseWeekdayNumberMonday(d, string, i) {
1050
+ var n = numberRe.exec(string.slice(i, i + 1));
1051
+ return n ? (d.u = +n[0], i + n[0].length) : -1;
1052
+ }
1053
+ function parseWeekNumberSunday(d, string, i) {
1054
+ var n = numberRe.exec(string.slice(i, i + 2));
1055
+ return n ? (d.U = +n[0], i + n[0].length) : -1;
1056
+ }
1057
+ function parseWeekNumberISO(d, string, i) {
1058
+ var n = numberRe.exec(string.slice(i, i + 2));
1059
+ return n ? (d.V = +n[0], i + n[0].length) : -1;
1060
+ }
1061
+ function parseWeekNumberMonday(d, string, i) {
1062
+ var n = numberRe.exec(string.slice(i, i + 2));
1063
+ return n ? (d.W = +n[0], i + n[0].length) : -1;
1064
+ }
1065
+ function parseFullYear(d, string, i) {
1066
+ var n = numberRe.exec(string.slice(i, i + 4));
1067
+ return n ? (d.y = +n[0], i + n[0].length) : -1;
1068
+ }
1069
+ function parseYear(d, string, i) {
1070
+ var n = numberRe.exec(string.slice(i, i + 2));
1071
+ return n ? (d.y = +n[0] + (+n[0] > 68 ? 1900 : 2e3), i + n[0].length) : -1;
1072
+ }
1073
+ function parseZone(d, string, i) {
1074
+ var n = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(string.slice(i, i + 6));
1075
+ return n ? (d.Z = n[1] ? 0 : -(n[2] + (n[3] || "00")), i + n[0].length) : -1;
1076
+ }
1077
+ function parseQuarter(d, string, i) {
1078
+ var n = numberRe.exec(string.slice(i, i + 1));
1079
+ return n ? (d.q = n[0] * 3 - 3, i + n[0].length) : -1;
1080
+ }
1081
+ function parseMonthNumber(d, string, i) {
1082
+ var n = numberRe.exec(string.slice(i, i + 2));
1083
+ return n ? (d.m = n[0] - 1, i + n[0].length) : -1;
1084
+ }
1085
+ function parseDayOfMonth(d, string, i) {
1086
+ var n = numberRe.exec(string.slice(i, i + 2));
1087
+ return n ? (d.d = +n[0], i + n[0].length) : -1;
1088
+ }
1089
+ function parseDayOfYear(d, string, i) {
1090
+ var n = numberRe.exec(string.slice(i, i + 3));
1091
+ return n ? (d.m = 0, d.d = +n[0], i + n[0].length) : -1;
1092
+ }
1093
+ function parseHour24(d, string, i) {
1094
+ var n = numberRe.exec(string.slice(i, i + 2));
1095
+ return n ? (d.H = +n[0], i + n[0].length) : -1;
1096
+ }
1097
+ function parseMinutes(d, string, i) {
1098
+ var n = numberRe.exec(string.slice(i, i + 2));
1099
+ return n ? (d.M = +n[0], i + n[0].length) : -1;
1100
+ }
1101
+ function parseSeconds(d, string, i) {
1102
+ var n = numberRe.exec(string.slice(i, i + 2));
1103
+ return n ? (d.S = +n[0], i + n[0].length) : -1;
1104
+ }
1105
+ function parseMilliseconds(d, string, i) {
1106
+ var n = numberRe.exec(string.slice(i, i + 3));
1107
+ return n ? (d.L = +n[0], i + n[0].length) : -1;
1108
+ }
1109
+ function parseMicroseconds(d, string, i) {
1110
+ var n = numberRe.exec(string.slice(i, i + 6));
1111
+ return n ? (d.L = Math.floor(n[0] / 1e3), i + n[0].length) : -1;
1112
+ }
1113
+ function parseLiteralPercent(d, string, i) {
1114
+ var n = percentRe.exec(string.slice(i, i + 1));
1115
+ return n ? i + n[0].length : -1;
1116
+ }
1117
+ function parseUnixTimestamp(d, string, i) {
1118
+ var n = numberRe.exec(string.slice(i));
1119
+ return n ? (d.Q = +n[0], i + n[0].length) : -1;
1120
+ }
1121
+ function parseUnixTimestampSeconds(d, string, i) {
1122
+ var n = numberRe.exec(string.slice(i));
1123
+ return n ? (d.s = +n[0], i + n[0].length) : -1;
1124
+ }
1125
+ function formatDayOfMonth(d, p) {
1126
+ return pad(d.getDate(), p, 2);
1127
+ }
1128
+ function formatHour24(d, p) {
1129
+ return pad(d.getHours(), p, 2);
1130
+ }
1131
+ function formatHour12(d, p) {
1132
+ return pad(d.getHours() % 12 || 12, p, 2);
1133
+ }
1134
+ function formatDayOfYear(d, p) {
1135
+ return pad(1 + timeDay.count(timeYear(d), d), p, 3);
1136
+ }
1137
+ function formatMilliseconds(d, p) {
1138
+ return pad(d.getMilliseconds(), p, 3);
1139
+ }
1140
+ function formatMicroseconds(d, p) {
1141
+ return formatMilliseconds(d, p) + "000";
1142
+ }
1143
+ function formatMonthNumber(d, p) {
1144
+ return pad(d.getMonth() + 1, p, 2);
1145
+ }
1146
+ function formatMinutes(d, p) {
1147
+ return pad(d.getMinutes(), p, 2);
1148
+ }
1149
+ function formatSeconds(d, p) {
1150
+ return pad(d.getSeconds(), p, 2);
1151
+ }
1152
+ function formatWeekdayNumberMonday(d) {
1153
+ var day = d.getDay();
1154
+ return day === 0 ? 7 : day;
1155
+ }
1156
+ function formatWeekNumberSunday(d, p) {
1157
+ return pad(timeSunday.count(timeYear(d) - 1, d), p, 2);
1158
+ }
1159
+ function dISO(d) {
1160
+ var day = d.getDay();
1161
+ return day >= 4 || day === 0 ? timeThursday(d) : timeThursday.ceil(d);
1162
+ }
1163
+ function formatWeekNumberISO(d, p) {
1164
+ d = dISO(d);
1165
+ return pad(timeThursday.count(timeYear(d), d) + (timeYear(d).getDay() === 4), p, 2);
1166
+ }
1167
+ function formatWeekdayNumberSunday(d) {
1168
+ return d.getDay();
1169
+ }
1170
+ function formatWeekNumberMonday(d, p) {
1171
+ return pad(timeMonday.count(timeYear(d) - 1, d), p, 2);
1172
+ }
1173
+ function formatYear(d, p) {
1174
+ return pad(d.getFullYear() % 100, p, 2);
1175
+ }
1176
+ function formatYearISO(d, p) {
1177
+ d = dISO(d);
1178
+ return pad(d.getFullYear() % 100, p, 2);
1179
+ }
1180
+ function formatFullYear(d, p) {
1181
+ return pad(d.getFullYear() % 1e4, p, 4);
1182
+ }
1183
+ function formatFullYearISO(d, p) {
1184
+ var day = d.getDay();
1185
+ d = day >= 4 || day === 0 ? timeThursday(d) : timeThursday.ceil(d);
1186
+ return pad(d.getFullYear() % 1e4, p, 4);
1187
+ }
1188
+ function formatZone(d) {
1189
+ var z = d.getTimezoneOffset();
1190
+ return (z > 0 ? "-" : (z *= -1, "+")) + pad(z / 60 | 0, "0", 2) + pad(z % 60, "0", 2);
1191
+ }
1192
+ function formatUTCDayOfMonth(d, p) {
1193
+ return pad(d.getUTCDate(), p, 2);
1194
+ }
1195
+ function formatUTCHour24(d, p) {
1196
+ return pad(d.getUTCHours(), p, 2);
1197
+ }
1198
+ function formatUTCHour12(d, p) {
1199
+ return pad(d.getUTCHours() % 12 || 12, p, 2);
1200
+ }
1201
+ function formatUTCDayOfYear(d, p) {
1202
+ return pad(1 + utcDay.count(utcYear(d), d), p, 3);
1203
+ }
1204
+ function formatUTCMilliseconds(d, p) {
1205
+ return pad(d.getUTCMilliseconds(), p, 3);
1206
+ }
1207
+ function formatUTCMicroseconds(d, p) {
1208
+ return formatUTCMilliseconds(d, p) + "000";
1209
+ }
1210
+ function formatUTCMonthNumber(d, p) {
1211
+ return pad(d.getUTCMonth() + 1, p, 2);
1212
+ }
1213
+ function formatUTCMinutes(d, p) {
1214
+ return pad(d.getUTCMinutes(), p, 2);
1215
+ }
1216
+ function formatUTCSeconds(d, p) {
1217
+ return pad(d.getUTCSeconds(), p, 2);
1218
+ }
1219
+ function formatUTCWeekdayNumberMonday(d) {
1220
+ var dow = d.getUTCDay();
1221
+ return dow === 0 ? 7 : dow;
1222
+ }
1223
+ function formatUTCWeekNumberSunday(d, p) {
1224
+ return pad(utcSunday.count(utcYear(d) - 1, d), p, 2);
1225
+ }
1226
+ function UTCdISO(d) {
1227
+ var day = d.getUTCDay();
1228
+ return day >= 4 || day === 0 ? utcThursday(d) : utcThursday.ceil(d);
1229
+ }
1230
+ function formatUTCWeekNumberISO(d, p) {
1231
+ d = UTCdISO(d);
1232
+ return pad(utcThursday.count(utcYear(d), d) + (utcYear(d).getUTCDay() === 4), p, 2);
1233
+ }
1234
+ function formatUTCWeekdayNumberSunday(d) {
1235
+ return d.getUTCDay();
1236
+ }
1237
+ function formatUTCWeekNumberMonday(d, p) {
1238
+ return pad(utcMonday.count(utcYear(d) - 1, d), p, 2);
1239
+ }
1240
+ function formatUTCYear(d, p) {
1241
+ return pad(d.getUTCFullYear() % 100, p, 2);
1242
+ }
1243
+ function formatUTCYearISO(d, p) {
1244
+ d = UTCdISO(d);
1245
+ return pad(d.getUTCFullYear() % 100, p, 2);
1246
+ }
1247
+ function formatUTCFullYear(d, p) {
1248
+ return pad(d.getUTCFullYear() % 1e4, p, 4);
1249
+ }
1250
+ function formatUTCFullYearISO(d, p) {
1251
+ var day = d.getUTCDay();
1252
+ d = day >= 4 || day === 0 ? utcThursday(d) : utcThursday.ceil(d);
1253
+ return pad(d.getUTCFullYear() % 1e4, p, 4);
1254
+ }
1255
+ function formatUTCZone() {
1256
+ return "+0000";
1257
+ }
1258
+ function formatLiteralPercent() {
1259
+ return "%";
1260
+ }
1261
+ function formatUnixTimestamp(d) {
1262
+ return +d;
1263
+ }
1264
+ function formatUnixTimestampSeconds(d) {
1265
+ return Math.floor(+d / 1e3);
1266
+ }
1267
+ //#endregion
1268
+ //#region ../../node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/defaultLocale.js
1269
+ var locale;
1270
+ var timeFormat;
1271
+ defaultLocale({
1272
+ dateTime: "%x, %X",
1273
+ date: "%-m/%-d/%Y",
1274
+ time: "%-I:%M:%S %p",
1275
+ periods: ["AM", "PM"],
1276
+ days: [
1277
+ "Sunday",
1278
+ "Monday",
1279
+ "Tuesday",
1280
+ "Wednesday",
1281
+ "Thursday",
1282
+ "Friday",
1283
+ "Saturday"
1284
+ ],
1285
+ shortDays: [
1286
+ "Sun",
1287
+ "Mon",
1288
+ "Tue",
1289
+ "Wed",
1290
+ "Thu",
1291
+ "Fri",
1292
+ "Sat"
1293
+ ],
1294
+ months: [
1295
+ "January",
1296
+ "February",
1297
+ "March",
1298
+ "April",
1299
+ "May",
1300
+ "June",
1301
+ "July",
1302
+ "August",
1303
+ "September",
1304
+ "October",
1305
+ "November",
1306
+ "December"
1307
+ ],
1308
+ shortMonths: [
1309
+ "Jan",
1310
+ "Feb",
1311
+ "Mar",
1312
+ "Apr",
1313
+ "May",
1314
+ "Jun",
1315
+ "Jul",
1316
+ "Aug",
1317
+ "Sep",
1318
+ "Oct",
1319
+ "Nov",
1320
+ "Dec"
1321
+ ]
1322
+ });
1323
+ function defaultLocale(definition) {
1324
+ locale = formatLocale(definition);
1325
+ timeFormat = locale.format;
1326
+ locale.parse;
1327
+ locale.utcFormat;
1328
+ locale.utcParse;
1329
+ return locale;
1330
+ }
1331
+ //#endregion
1332
+ //#region ../../node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/time.js
1333
+ function date(t) {
1334
+ return new Date(t);
1335
+ }
1336
+ function number(t) {
1337
+ return t instanceof Date ? +t : +/* @__PURE__ */ new Date(+t);
1338
+ }
1339
+ function calendar(ticks, tickInterval, year, month, week, day, hour, minute, second, format) {
1340
+ var scale = continuous();
1341
+ var invert = scale.invert;
1342
+ var domain = scale.domain;
1343
+ var formatMillisecond = format(".%L");
1344
+ var formatSecond = format(":%S");
1345
+ var formatMinute = format("%I:%M");
1346
+ var formatHour = format("%I %p");
1347
+ var formatDay = format("%a %d");
1348
+ var formatWeek = format("%b %d");
1349
+ var formatMonth = format("%B");
1350
+ var formatYear = format("%Y");
1351
+ function tickFormat(date) {
1352
+ return (second(date) < date ? formatMillisecond : minute(date) < date ? formatSecond : hour(date) < date ? formatMinute : day(date) < date ? formatHour : month(date) < date ? week(date) < date ? formatDay : formatWeek : year(date) < date ? formatMonth : formatYear)(date);
1353
+ }
1354
+ scale.invert = function(y) {
1355
+ return new Date(invert(y));
1356
+ };
1357
+ scale.domain = function(_) {
1358
+ return arguments.length ? domain(Array.from(_, number)) : domain().map(date);
1359
+ };
1360
+ scale.ticks = function(interval) {
1361
+ var d = domain();
1362
+ return ticks(d[0], d[d.length - 1], interval == null ? 10 : interval);
1363
+ };
1364
+ scale.tickFormat = function(count, specifier) {
1365
+ return specifier == null ? tickFormat : format(specifier);
1366
+ };
1367
+ scale.nice = function(interval) {
1368
+ var d = domain();
1369
+ if (!interval || typeof interval.range !== "function") interval = tickInterval(d[0], d[d.length - 1], interval == null ? 10 : interval);
1370
+ return interval ? domain(nice(d, interval)) : scale;
1371
+ };
1372
+ scale.copy = function() {
1373
+ return copy(scale, calendar(ticks, tickInterval, year, month, week, day, hour, minute, second, format));
1374
+ };
1375
+ return scale;
1376
+ }
1377
+ function time() {
1378
+ return initRange.apply(calendar(timeTicks, timeTickInterval, timeYear, timeMonth, timeSunday, timeDay, timeHour, timeMinute, second, timeFormat).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
1379
+ }
1380
+ //#endregion
1381
+ //#region ../../node_modules/.pnpm/dayjs@1.11.20/node_modules/dayjs/plugin/isoWeek.js
1382
+ var require_isoWeek = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1383
+ (function(e, t) {
1384
+ "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_plugin_isoWeek = t();
1385
+ })(exports, function() {
1386
+ "use strict";
1387
+ var e = "day";
1388
+ return function(t, i, s) {
1389
+ var a = function(t) {
1390
+ return t.add(4 - t.isoWeekday(), e);
1391
+ };
1392
+ var d = i.prototype;
1393
+ d.isoWeekYear = function() {
1394
+ return a(this).year();
1395
+ }, d.isoWeek = function(t) {
1396
+ if (!this.$utils().u(t)) return this.add(7 * (t - this.isoWeek()), e);
1397
+ var i;
1398
+ var d;
1399
+ var n;
1400
+ var o;
1401
+ var r = a(this);
1402
+ var u = (i = this.isoWeekYear(), d = this.$u, n = (d ? s.utc : s)().year(i).startOf("year"), o = 4 - n.isoWeekday(), n.isoWeekday() > 4 && (o += 7), n.add(o, e));
1403
+ return r.diff(u, "week") + 1;
1404
+ }, d.isoWeekday = function(e) {
1405
+ return this.$utils().u(e) ? this.day() || 7 : this.day(this.day() % 7 ? e : e - 7);
1406
+ };
1407
+ var n = d.startOf;
1408
+ d.startOf = function(e, t) {
1409
+ var i = this.$utils();
1410
+ var s = !!i.u(t) || t;
1411
+ return "isoweek" === i.p(e) ? s ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : n.bind(this)(e, t);
1412
+ };
1413
+ };
1414
+ });
1415
+ }));
1416
+ //#endregion
1417
+ //#region ../../node_modules/.pnpm/dayjs@1.11.20/node_modules/dayjs/plugin/customParseFormat.js
1418
+ var require_customParseFormat = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1419
+ (function(e, t) {
1420
+ "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_plugin_customParseFormat = t();
1421
+ })(exports, function() {
1422
+ "use strict";
1423
+ var e = {
1424
+ LTS: "h:mm:ss A",
1425
+ LT: "h:mm A",
1426
+ L: "MM/DD/YYYY",
1427
+ LL: "MMMM D, YYYY",
1428
+ LLL: "MMMM D, YYYY h:mm A",
1429
+ LLLL: "dddd, MMMM D, YYYY h:mm A"
1430
+ };
1431
+ var t = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g;
1432
+ var n = /\d/;
1433
+ var r = /\d\d/;
1434
+ var i = /\d\d?/;
1435
+ var o = /\d*[^-_:/,()\s\d]+/;
1436
+ var s = {};
1437
+ var a = function(e) {
1438
+ return (e = +e) + (e > 68 ? 1900 : 2e3);
1439
+ };
1440
+ var f = function(e) {
1441
+ return function(t) {
1442
+ this[e] = +t;
1443
+ };
1444
+ };
1445
+ var h = [/[+-]\d\d:?(\d\d)?|Z/, function(e) {
1446
+ (this.zone || (this.zone = {})).offset = function(e) {
1447
+ if (!e) return 0;
1448
+ if ("Z" === e) return 0;
1449
+ var t = e.match(/([+-]|\d\d)/g), n = 60 * t[1] + (+t[2] || 0);
1450
+ return 0 === n ? 0 : "+" === t[0] ? -n : n;
1451
+ }(e);
1452
+ }];
1453
+ var u = function(e) {
1454
+ var t = s[e];
1455
+ return t && (t.indexOf ? t : t.s.concat(t.f));
1456
+ };
1457
+ var d = function(e, t) {
1458
+ var n, r = s.meridiem;
1459
+ if (r) {
1460
+ for (var i = 1; i <= 24; i += 1) if (e.indexOf(r(i, 0, t)) > -1) {
1461
+ n = i > 12;
1462
+ break;
1463
+ }
1464
+ } else n = e === (t ? "pm" : "PM");
1465
+ return n;
1466
+ };
1467
+ var c = {
1468
+ A: [o, function(e) {
1469
+ this.afternoon = d(e, !1);
1470
+ }],
1471
+ a: [o, function(e) {
1472
+ this.afternoon = d(e, !0);
1473
+ }],
1474
+ Q: [n, function(e) {
1475
+ this.month = 3 * (e - 1) + 1;
1476
+ }],
1477
+ S: [n, function(e) {
1478
+ this.milliseconds = 100 * +e;
1479
+ }],
1480
+ SS: [r, function(e) {
1481
+ this.milliseconds = 10 * +e;
1482
+ }],
1483
+ SSS: [/\d{3}/, function(e) {
1484
+ this.milliseconds = +e;
1485
+ }],
1486
+ s: [i, f("seconds")],
1487
+ ss: [i, f("seconds")],
1488
+ m: [i, f("minutes")],
1489
+ mm: [i, f("minutes")],
1490
+ H: [i, f("hours")],
1491
+ h: [i, f("hours")],
1492
+ HH: [i, f("hours")],
1493
+ hh: [i, f("hours")],
1494
+ D: [i, f("day")],
1495
+ DD: [r, f("day")],
1496
+ Do: [o, function(e) {
1497
+ var t = s.ordinal, n = e.match(/\d+/);
1498
+ if (this.day = n[0], t) for (var r = 1; r <= 31; r += 1) t(r).replace(/\[|\]/g, "") === e && (this.day = r);
1499
+ }],
1500
+ w: [i, f("week")],
1501
+ ww: [r, f("week")],
1502
+ M: [i, f("month")],
1503
+ MM: [r, f("month")],
1504
+ MMM: [o, function(e) {
1505
+ var t = u("months"), n = (u("monthsShort") || t.map(function(e) {
1506
+ return e.slice(0, 3);
1507
+ })).indexOf(e) + 1;
1508
+ if (n < 1) throw new Error();
1509
+ this.month = n % 12 || n;
1510
+ }],
1511
+ MMMM: [o, function(e) {
1512
+ var t = u("months").indexOf(e) + 1;
1513
+ if (t < 1) throw new Error();
1514
+ this.month = t % 12 || t;
1515
+ }],
1516
+ Y: [/[+-]?\d+/, f("year")],
1517
+ YY: [r, function(e) {
1518
+ this.year = a(e);
1519
+ }],
1520
+ YYYY: [/\d{4}/, f("year")],
1521
+ Z: h,
1522
+ ZZ: h
1523
+ };
1524
+ function l(n) {
1525
+ var r = n;
1526
+ var i = s && s.formats;
1527
+ for (var o = (n = r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(t, n, r) {
1528
+ var o = r && r.toUpperCase();
1529
+ return n || i[r] || e[r] || i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(e, t, n) {
1530
+ return t || n.slice(1);
1531
+ });
1532
+ })).match(t), a = o.length, f = 0; f < a; f += 1) {
1533
+ var h = o[f];
1534
+ var u = c[h];
1535
+ var d = u && u[0];
1536
+ var l = u && u[1];
1537
+ o[f] = l ? {
1538
+ regex: d,
1539
+ parser: l
1540
+ } : h.replace(/^\[|\]$/g, "");
1541
+ }
1542
+ return function(e) {
1543
+ for (var t = {}, n = 0, r = 0; n < a; n += 1) {
1544
+ var i = o[n];
1545
+ if ("string" == typeof i) r += i.length;
1546
+ else {
1547
+ var s = i.regex;
1548
+ var f = i.parser;
1549
+ var h = e.slice(r);
1550
+ var u = s.exec(h)[0];
1551
+ f.call(t, u), e = e.replace(u, "");
1552
+ }
1553
+ }
1554
+ return function(e) {
1555
+ var t = e.afternoon;
1556
+ if (void 0 !== t) {
1557
+ var n = e.hours;
1558
+ t ? n < 12 && (e.hours += 12) : 12 === n && (e.hours = 0), delete e.afternoon;
1559
+ }
1560
+ }(t), t;
1561
+ };
1562
+ }
1563
+ return function(e, t, n) {
1564
+ n.p.customParseFormat = !0, e && e.parseTwoDigitYear && (a = e.parseTwoDigitYear);
1565
+ var r = t.prototype;
1566
+ var i = r.parse;
1567
+ r.parse = function(e) {
1568
+ var t = e.date;
1569
+ var r = e.utc;
1570
+ var o = e.args;
1571
+ this.$u = r;
1572
+ var a = o[1];
1573
+ if ("string" == typeof a) {
1574
+ var f = !0 === o[2];
1575
+ var h = !0 === o[3];
1576
+ var u = f || h;
1577
+ var d = o[2];
1578
+ h && (d = o[2]), s = this.$locale(), !f && d && (s = n.Ls[d]), this.$d = function(e, t, n, r) {
1579
+ try {
1580
+ if (["x", "X"].indexOf(t) > -1) return /* @__PURE__ */ new Date(("X" === t ? 1e3 : 1) * e);
1581
+ var i = l(t)(e);
1582
+ var o = i.year;
1583
+ var s = i.month;
1584
+ var a = i.day;
1585
+ var f = i.hours;
1586
+ var h = i.minutes;
1587
+ var u = i.seconds;
1588
+ var d = i.milliseconds;
1589
+ var c = i.zone;
1590
+ var m = i.week;
1591
+ var M = /* @__PURE__ */ new Date();
1592
+ var Y = a || (o || s ? 1 : M.getDate());
1593
+ var p = o || M.getFullYear();
1594
+ var v = 0;
1595
+ o && !s || (v = s > 0 ? s - 1 : M.getMonth());
1596
+ var D;
1597
+ var w = f || 0;
1598
+ var g = h || 0;
1599
+ var y = u || 0;
1600
+ var L = d || 0;
1601
+ return c ? new Date(Date.UTC(p, v, Y, w, g, y, L + 60 * c.offset * 1e3)) : n ? new Date(Date.UTC(p, v, Y, w, g, y, L)) : (D = new Date(p, v, Y, w, g, y, L), m && (D = r(D).week(m).toDate()), D);
1602
+ } catch (e) {
1603
+ return /* @__PURE__ */ new Date("");
1604
+ }
1605
+ }(t, a, r, n), this.init(), d && !0 !== d && (this.$L = this.locale(d).$L), u && t != this.format(a) && (this.$d = /* @__PURE__ */ new Date("")), s = {};
1606
+ } else if (a instanceof Array) for (var c = a.length, m = 1; m <= c; m += 1) {
1607
+ o[1] = a[m - 1];
1608
+ var M = n.apply(this, o);
1609
+ if (M.isValid()) {
1610
+ this.$d = M.$d, this.$L = M.$L, this.init();
1611
+ break;
1612
+ }
1613
+ m === c && (this.$d = /* @__PURE__ */ new Date(""));
1614
+ }
1615
+ else i.call(this, e);
1616
+ };
1617
+ };
1618
+ });
1619
+ }));
1620
+ //#endregion
1621
+ //#region ../../node_modules/.pnpm/dayjs@1.11.20/node_modules/dayjs/plugin/duration.js
1622
+ var require_duration = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1623
+ (function(t, s) {
1624
+ "object" == typeof exports && "undefined" != typeof module ? module.exports = s() : "function" == typeof define && define.amd ? define(s) : (t = "undefined" != typeof globalThis ? globalThis : t || self).dayjs_plugin_duration = s();
1625
+ })(exports, function() {
1626
+ "use strict";
1627
+ var t;
1628
+ var s;
1629
+ var n = 1e3;
1630
+ var i = 6e4;
1631
+ var e = 36e5;
1632
+ var r = 864e5;
1633
+ var o = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;
1634
+ var u = 31536e6;
1635
+ var d = 2628e6;
1636
+ var a = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
1637
+ var h = {
1638
+ years: u,
1639
+ months: d,
1640
+ days: r,
1641
+ hours: e,
1642
+ minutes: i,
1643
+ seconds: n,
1644
+ milliseconds: 1,
1645
+ weeks: 6048e5
1646
+ };
1647
+ var c = function(t) {
1648
+ return t instanceof g;
1649
+ };
1650
+ var f = function(t, s, n) {
1651
+ return new g(t, n, s.$l);
1652
+ };
1653
+ var m = function(t) {
1654
+ return s.p(t) + "s";
1655
+ };
1656
+ var l = function(t) {
1657
+ return t < 0;
1658
+ };
1659
+ var $ = function(t) {
1660
+ return l(t) ? Math.ceil(t) : Math.floor(t);
1661
+ };
1662
+ var y = function(t) {
1663
+ return Math.abs(t);
1664
+ };
1665
+ var v = function(t, s) {
1666
+ return t ? l(t) ? {
1667
+ negative: !0,
1668
+ format: "" + y(t) + s
1669
+ } : {
1670
+ negative: !1,
1671
+ format: "" + t + s
1672
+ } : {
1673
+ negative: !1,
1674
+ format: ""
1675
+ };
1676
+ };
1677
+ var g = function() {
1678
+ function l(t, s, n) {
1679
+ var i = this;
1680
+ if (this.$d = {}, this.$l = n, void 0 === t && (this.$ms = 0, this.parseFromMilliseconds()), s) return f(t * h[m(s)], this);
1681
+ if ("number" == typeof t) return this.$ms = t, this.parseFromMilliseconds(), this;
1682
+ if ("object" == typeof t) return Object.keys(t).forEach(function(s) {
1683
+ i.$d[m(s)] = t[s];
1684
+ }), this.calMilliseconds(), this;
1685
+ if ("string" == typeof t) {
1686
+ var e = t.match(a);
1687
+ if (e) {
1688
+ var r = e.slice(2).map(function(t) {
1689
+ return null != t ? Number(t) : 0;
1690
+ });
1691
+ return this.$d.years = r[0], this.$d.months = r[1], this.$d.weeks = r[2], this.$d.days = r[3], this.$d.hours = r[4], this.$d.minutes = r[5], this.$d.seconds = r[6], this.calMilliseconds(), this;
1692
+ }
1693
+ }
1694
+ return this;
1695
+ }
1696
+ var y = l.prototype;
1697
+ return y.calMilliseconds = function() {
1698
+ var t = this;
1699
+ this.$ms = Object.keys(this.$d).reduce(function(s, n) {
1700
+ return s + (t.$d[n] || 0) * h[n];
1701
+ }, 0);
1702
+ }, y.parseFromMilliseconds = function() {
1703
+ var t = this.$ms;
1704
+ this.$d.years = $(t / u), t %= u, this.$d.months = $(t / d), t %= d, this.$d.days = $(t / r), t %= r, this.$d.hours = $(t / e), t %= e, this.$d.minutes = $(t / i), t %= i, this.$d.seconds = $(t / n), t %= n, this.$d.milliseconds = t;
1705
+ }, y.toISOString = function() {
1706
+ var t = v(this.$d.years, "Y"), s = v(this.$d.months, "M"), n = +this.$d.days || 0;
1707
+ this.$d.weeks && (n += 7 * this.$d.weeks);
1708
+ var i = v(n, "D"), e = v(this.$d.hours, "H"), r = v(this.$d.minutes, "M"), o = this.$d.seconds || 0;
1709
+ this.$d.milliseconds && (o += this.$d.milliseconds / 1e3, o = Math.round(1e3 * o) / 1e3);
1710
+ var u = v(o, "S"), d = t.negative || s.negative || i.negative || e.negative || r.negative || u.negative, a = e.format || r.format || u.format ? "T" : "", h = (d ? "-" : "") + "P" + t.format + s.format + i.format + a + e.format + r.format + u.format;
1711
+ return "P" === h || "-P" === h ? "P0D" : h;
1712
+ }, y.toJSON = function() {
1713
+ return this.toISOString();
1714
+ }, y.format = function(t) {
1715
+ var n = t || "YYYY-MM-DDTHH:mm:ss", i = {
1716
+ Y: this.$d.years,
1717
+ YY: s.s(this.$d.years, 2, "0"),
1718
+ YYYY: s.s(this.$d.years, 4, "0"),
1719
+ M: this.$d.months,
1720
+ MM: s.s(this.$d.months, 2, "0"),
1721
+ D: this.$d.days,
1722
+ DD: s.s(this.$d.days, 2, "0"),
1723
+ H: this.$d.hours,
1724
+ HH: s.s(this.$d.hours, 2, "0"),
1725
+ m: this.$d.minutes,
1726
+ mm: s.s(this.$d.minutes, 2, "0"),
1727
+ s: this.$d.seconds,
1728
+ ss: s.s(this.$d.seconds, 2, "0"),
1729
+ SSS: s.s(this.$d.milliseconds, 3, "0")
1730
+ };
1731
+ return n.replace(o, function(t, s) {
1732
+ return s || String(i[t]);
1733
+ });
1734
+ }, y.as = function(t) {
1735
+ return this.$ms / h[m(t)];
1736
+ }, y.get = function(t) {
1737
+ var s = this.$ms, n = m(t);
1738
+ return "milliseconds" === n ? s %= 1e3 : s = "weeks" === n ? $(s / h[n]) : this.$d[n], s || 0;
1739
+ }, y.add = function(t, s, n) {
1740
+ var i;
1741
+ return i = s ? t * h[m(s)] : c(t) ? t.$ms : f(t, this).$ms, f(this.$ms + i * (n ? -1 : 1), this);
1742
+ }, y.subtract = function(t, s) {
1743
+ return this.add(t, s, !0);
1744
+ }, y.locale = function(t) {
1745
+ var s = this.clone();
1746
+ return s.$l = t, s;
1747
+ }, y.clone = function() {
1748
+ return f(this.$ms, this);
1749
+ }, y.humanize = function(s) {
1750
+ return t().add(this.$ms, "ms").locale(this.$l).fromNow(!s);
1751
+ }, y.valueOf = function() {
1752
+ return this.asMilliseconds();
1753
+ }, y.milliseconds = function() {
1754
+ return this.get("milliseconds");
1755
+ }, y.asMilliseconds = function() {
1756
+ return this.as("milliseconds");
1757
+ }, y.seconds = function() {
1758
+ return this.get("seconds");
1759
+ }, y.asSeconds = function() {
1760
+ return this.as("seconds");
1761
+ }, y.minutes = function() {
1762
+ return this.get("minutes");
1763
+ }, y.asMinutes = function() {
1764
+ return this.as("minutes");
1765
+ }, y.hours = function() {
1766
+ return this.get("hours");
1767
+ }, y.asHours = function() {
1768
+ return this.as("hours");
1769
+ }, y.days = function() {
1770
+ return this.get("days");
1771
+ }, y.asDays = function() {
1772
+ return this.as("days");
1773
+ }, y.weeks = function() {
1774
+ return this.get("weeks");
1775
+ }, y.asWeeks = function() {
1776
+ return this.as("weeks");
1777
+ }, y.months = function() {
1778
+ return this.get("months");
1779
+ }, y.asMonths = function() {
1780
+ return this.as("months");
1781
+ }, y.years = function() {
1782
+ return this.get("years");
1783
+ }, y.asYears = function() {
1784
+ return this.as("years");
1785
+ }, l;
1786
+ }();
1787
+ var p = function(t, s, n) {
1788
+ return t.add(s.years() * n, "y").add(s.months() * n, "M").add(s.days() * n, "d").add(s.hours() * n, "h").add(s.minutes() * n, "m").add(s.seconds() * n, "s").add(s.milliseconds() * n, "ms");
1789
+ };
1790
+ return function(n, i, e) {
1791
+ t = e, s = e().$utils(), e.duration = function(t, s) {
1792
+ return f(t, { $l: e.locale() }, s);
1793
+ }, e.isDuration = c;
1794
+ var r = i.prototype.add;
1795
+ var o = i.prototype.subtract;
1796
+ i.prototype.add = function(t, s) {
1797
+ return c(t) ? p(this, t, 1) : r.bind(this)(t, s);
1798
+ }, i.prototype.subtract = function(t, s) {
1799
+ return c(t) ? p(this, t, -1) : o.bind(this)(t, s);
1800
+ };
1801
+ };
1802
+ });
1803
+ }));
1804
+ //#endregion
1805
+ //#region ../../node_modules/.pnpm/mermaid@11.15.0/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-6RSMTGT7.mjs
1806
+ var import_dist = require_dist();
1807
+ var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min(), 1);
1808
+ var import_isoWeek = /* @__PURE__ */ __toESM(require_isoWeek(), 1);
1809
+ var import_customParseFormat = /* @__PURE__ */ __toESM(require_customParseFormat(), 1);
1810
+ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat(), 1);
1811
+ var import_duration = /* @__PURE__ */ __toESM(require_duration(), 1);
1812
+ var parser = function() {
1813
+ var o = /* @__PURE__ */ __name$1(function(k, v, o2, l) {
1814
+ for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v);
1815
+ return o2;
1816
+ }, "o");
1817
+ var $V0 = [
1818
+ 6,
1819
+ 8,
1820
+ 10,
1821
+ 12,
1822
+ 13,
1823
+ 14,
1824
+ 15,
1825
+ 16,
1826
+ 17,
1827
+ 18,
1828
+ 20,
1829
+ 21,
1830
+ 22,
1831
+ 23,
1832
+ 24,
1833
+ 25,
1834
+ 26,
1835
+ 27,
1836
+ 28,
1837
+ 29,
1838
+ 30,
1839
+ 31,
1840
+ 33,
1841
+ 35,
1842
+ 36,
1843
+ 38,
1844
+ 40
1845
+ ];
1846
+ var $V1 = [1, 26];
1847
+ var $V2 = [1, 27];
1848
+ var $V3 = [1, 28];
1849
+ var $V4 = [1, 29];
1850
+ var $V5 = [1, 30];
1851
+ var $V6 = [1, 31];
1852
+ var $V7 = [1, 32];
1853
+ var $V8 = [1, 33];
1854
+ var $V9 = [1, 34];
1855
+ var $Va = [1, 9];
1856
+ var $Vb = [1, 10];
1857
+ var $Vc = [1, 11];
1858
+ var $Vd = [1, 12];
1859
+ var $Ve = [1, 13];
1860
+ var $Vf = [1, 14];
1861
+ var $Vg = [1, 15];
1862
+ var $Vh = [1, 16];
1863
+ var $Vi = [1, 19];
1864
+ var $Vj = [1, 20];
1865
+ var $Vk = [1, 21];
1866
+ var $Vl = [1, 22];
1867
+ var $Vm = [1, 23];
1868
+ var $Vn = [1, 25];
1869
+ var $Vo = [1, 35];
1870
+ var parser2 = {
1871
+ trace: /* @__PURE__ */ __name$1(function trace() {}, "trace"),
1872
+ yy: {},
1873
+ symbols_: {
1874
+ "error": 2,
1875
+ "start": 3,
1876
+ "gantt": 4,
1877
+ "document": 5,
1878
+ "EOF": 6,
1879
+ "line": 7,
1880
+ "SPACE": 8,
1881
+ "statement": 9,
1882
+ "NL": 10,
1883
+ "weekday": 11,
1884
+ "weekday_monday": 12,
1885
+ "weekday_tuesday": 13,
1886
+ "weekday_wednesday": 14,
1887
+ "weekday_thursday": 15,
1888
+ "weekday_friday": 16,
1889
+ "weekday_saturday": 17,
1890
+ "weekday_sunday": 18,
1891
+ "weekend": 19,
1892
+ "weekend_friday": 20,
1893
+ "weekend_saturday": 21,
1894
+ "dateFormat": 22,
1895
+ "inclusiveEndDates": 23,
1896
+ "topAxis": 24,
1897
+ "axisFormat": 25,
1898
+ "tickInterval": 26,
1899
+ "excludes": 27,
1900
+ "includes": 28,
1901
+ "todayMarker": 29,
1902
+ "title": 30,
1903
+ "acc_title": 31,
1904
+ "acc_title_value": 32,
1905
+ "acc_descr": 33,
1906
+ "acc_descr_value": 34,
1907
+ "acc_descr_multiline_value": 35,
1908
+ "section": 36,
1909
+ "clickStatement": 37,
1910
+ "taskTxt": 38,
1911
+ "taskData": 39,
1912
+ "click": 40,
1913
+ "callbackname": 41,
1914
+ "callbackargs": 42,
1915
+ "href": 43,
1916
+ "clickStatementDebug": 44,
1917
+ "$accept": 0,
1918
+ "$end": 1
1919
+ },
1920
+ terminals_: {
1921
+ 2: "error",
1922
+ 4: "gantt",
1923
+ 6: "EOF",
1924
+ 8: "SPACE",
1925
+ 10: "NL",
1926
+ 12: "weekday_monday",
1927
+ 13: "weekday_tuesday",
1928
+ 14: "weekday_wednesday",
1929
+ 15: "weekday_thursday",
1930
+ 16: "weekday_friday",
1931
+ 17: "weekday_saturday",
1932
+ 18: "weekday_sunday",
1933
+ 20: "weekend_friday",
1934
+ 21: "weekend_saturday",
1935
+ 22: "dateFormat",
1936
+ 23: "inclusiveEndDates",
1937
+ 24: "topAxis",
1938
+ 25: "axisFormat",
1939
+ 26: "tickInterval",
1940
+ 27: "excludes",
1941
+ 28: "includes",
1942
+ 29: "todayMarker",
1943
+ 30: "title",
1944
+ 31: "acc_title",
1945
+ 32: "acc_title_value",
1946
+ 33: "acc_descr",
1947
+ 34: "acc_descr_value",
1948
+ 35: "acc_descr_multiline_value",
1949
+ 36: "section",
1950
+ 38: "taskTxt",
1951
+ 39: "taskData",
1952
+ 40: "click",
1953
+ 41: "callbackname",
1954
+ 42: "callbackargs",
1955
+ 43: "href"
1956
+ },
1957
+ productions_: [
1958
+ 0,
1959
+ [3, 3],
1960
+ [5, 0],
1961
+ [5, 2],
1962
+ [7, 2],
1963
+ [7, 1],
1964
+ [7, 1],
1965
+ [7, 1],
1966
+ [11, 1],
1967
+ [11, 1],
1968
+ [11, 1],
1969
+ [11, 1],
1970
+ [11, 1],
1971
+ [11, 1],
1972
+ [11, 1],
1973
+ [19, 1],
1974
+ [19, 1],
1975
+ [9, 1],
1976
+ [9, 1],
1977
+ [9, 1],
1978
+ [9, 1],
1979
+ [9, 1],
1980
+ [9, 1],
1981
+ [9, 1],
1982
+ [9, 1],
1983
+ [9, 1],
1984
+ [9, 1],
1985
+ [9, 1],
1986
+ [9, 2],
1987
+ [9, 2],
1988
+ [9, 1],
1989
+ [9, 1],
1990
+ [9, 1],
1991
+ [9, 2],
1992
+ [37, 2],
1993
+ [37, 3],
1994
+ [37, 3],
1995
+ [37, 4],
1996
+ [37, 3],
1997
+ [37, 4],
1998
+ [37, 2],
1999
+ [44, 2],
2000
+ [44, 3],
2001
+ [44, 3],
2002
+ [44, 4],
2003
+ [44, 3],
2004
+ [44, 4],
2005
+ [44, 2]
2006
+ ],
2007
+ performAction: /* @__PURE__ */ __name$1(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
2008
+ var $0 = $$.length - 1;
2009
+ switch (yystate) {
2010
+ case 1: return $$[$0 - 1];
2011
+ case 2:
2012
+ this.$ = [];
2013
+ break;
2014
+ case 3:
2015
+ $$[$0 - 1].push($$[$0]);
2016
+ this.$ = $$[$0 - 1];
2017
+ break;
2018
+ case 4:
2019
+ case 5:
2020
+ this.$ = $$[$0];
2021
+ break;
2022
+ case 6:
2023
+ case 7:
2024
+ this.$ = [];
2025
+ break;
2026
+ case 8:
2027
+ yy.setWeekday("monday");
2028
+ break;
2029
+ case 9:
2030
+ yy.setWeekday("tuesday");
2031
+ break;
2032
+ case 10:
2033
+ yy.setWeekday("wednesday");
2034
+ break;
2035
+ case 11:
2036
+ yy.setWeekday("thursday");
2037
+ break;
2038
+ case 12:
2039
+ yy.setWeekday("friday");
2040
+ break;
2041
+ case 13:
2042
+ yy.setWeekday("saturday");
2043
+ break;
2044
+ case 14:
2045
+ yy.setWeekday("sunday");
2046
+ break;
2047
+ case 15:
2048
+ yy.setWeekend("friday");
2049
+ break;
2050
+ case 16:
2051
+ yy.setWeekend("saturday");
2052
+ break;
2053
+ case 17:
2054
+ yy.setDateFormat($$[$0].substr(11));
2055
+ this.$ = $$[$0].substr(11);
2056
+ break;
2057
+ case 18:
2058
+ yy.enableInclusiveEndDates();
2059
+ this.$ = $$[$0].substr(18);
2060
+ break;
2061
+ case 19:
2062
+ yy.TopAxis();
2063
+ this.$ = $$[$0].substr(8);
2064
+ break;
2065
+ case 20:
2066
+ yy.setAxisFormat($$[$0].substr(11));
2067
+ this.$ = $$[$0].substr(11);
2068
+ break;
2069
+ case 21:
2070
+ yy.setTickInterval($$[$0].substr(13));
2071
+ this.$ = $$[$0].substr(13);
2072
+ break;
2073
+ case 22:
2074
+ yy.setExcludes($$[$0].substr(9));
2075
+ this.$ = $$[$0].substr(9);
2076
+ break;
2077
+ case 23:
2078
+ yy.setIncludes($$[$0].substr(9));
2079
+ this.$ = $$[$0].substr(9);
2080
+ break;
2081
+ case 24:
2082
+ yy.setTodayMarker($$[$0].substr(12));
2083
+ this.$ = $$[$0].substr(12);
2084
+ break;
2085
+ case 27:
2086
+ yy.setDiagramTitle($$[$0].substr(6));
2087
+ this.$ = $$[$0].substr(6);
2088
+ break;
2089
+ case 28:
2090
+ this.$ = $$[$0].trim();
2091
+ yy.setAccTitle(this.$);
2092
+ break;
2093
+ case 29:
2094
+ case 30:
2095
+ this.$ = $$[$0].trim();
2096
+ yy.setAccDescription(this.$);
2097
+ break;
2098
+ case 31:
2099
+ yy.addSection($$[$0].substr(8));
2100
+ this.$ = $$[$0].substr(8);
2101
+ break;
2102
+ case 33:
2103
+ yy.addTask($$[$0 - 1], $$[$0]);
2104
+ this.$ = "task";
2105
+ break;
2106
+ case 34:
2107
+ this.$ = $$[$0 - 1];
2108
+ yy.setClickEvent($$[$0 - 1], $$[$0], null);
2109
+ break;
2110
+ case 35:
2111
+ this.$ = $$[$0 - 2];
2112
+ yy.setClickEvent($$[$0 - 2], $$[$0 - 1], $$[$0]);
2113
+ break;
2114
+ case 36:
2115
+ this.$ = $$[$0 - 2];
2116
+ yy.setClickEvent($$[$0 - 2], $$[$0 - 1], null);
2117
+ yy.setLink($$[$0 - 2], $$[$0]);
2118
+ break;
2119
+ case 37:
2120
+ this.$ = $$[$0 - 3];
2121
+ yy.setClickEvent($$[$0 - 3], $$[$0 - 2], $$[$0 - 1]);
2122
+ yy.setLink($$[$0 - 3], $$[$0]);
2123
+ break;
2124
+ case 38:
2125
+ this.$ = $$[$0 - 2];
2126
+ yy.setClickEvent($$[$0 - 2], $$[$0], null);
2127
+ yy.setLink($$[$0 - 2], $$[$0 - 1]);
2128
+ break;
2129
+ case 39:
2130
+ this.$ = $$[$0 - 3];
2131
+ yy.setClickEvent($$[$0 - 3], $$[$0 - 1], $$[$0]);
2132
+ yy.setLink($$[$0 - 3], $$[$0 - 2]);
2133
+ break;
2134
+ case 40:
2135
+ this.$ = $$[$0 - 1];
2136
+ yy.setLink($$[$0 - 1], $$[$0]);
2137
+ break;
2138
+ case 41:
2139
+ case 47:
2140
+ this.$ = $$[$0 - 1] + " " + $$[$0];
2141
+ break;
2142
+ case 42:
2143
+ case 43:
2144
+ case 45:
2145
+ this.$ = $$[$0 - 2] + " " + $$[$0 - 1] + " " + $$[$0];
2146
+ break;
2147
+ case 44:
2148
+ case 46:
2149
+ this.$ = $$[$0 - 3] + " " + $$[$0 - 2] + " " + $$[$0 - 1] + " " + $$[$0];
2150
+ break;
2151
+ }
2152
+ }, "anonymous"),
2153
+ table: [
2154
+ {
2155
+ 3: 1,
2156
+ 4: [1, 2]
2157
+ },
2158
+ { 1: [3] },
2159
+ o($V0, [2, 2], { 5: 3 }),
2160
+ {
2161
+ 6: [1, 4],
2162
+ 7: 5,
2163
+ 8: [1, 6],
2164
+ 9: 7,
2165
+ 10: [1, 8],
2166
+ 11: 17,
2167
+ 12: $V1,
2168
+ 13: $V2,
2169
+ 14: $V3,
2170
+ 15: $V4,
2171
+ 16: $V5,
2172
+ 17: $V6,
2173
+ 18: $V7,
2174
+ 19: 18,
2175
+ 20: $V8,
2176
+ 21: $V9,
2177
+ 22: $Va,
2178
+ 23: $Vb,
2179
+ 24: $Vc,
2180
+ 25: $Vd,
2181
+ 26: $Ve,
2182
+ 27: $Vf,
2183
+ 28: $Vg,
2184
+ 29: $Vh,
2185
+ 30: $Vi,
2186
+ 31: $Vj,
2187
+ 33: $Vk,
2188
+ 35: $Vl,
2189
+ 36: $Vm,
2190
+ 37: 24,
2191
+ 38: $Vn,
2192
+ 40: $Vo
2193
+ },
2194
+ o($V0, [2, 7], { 1: [2, 1] }),
2195
+ o($V0, [2, 3]),
2196
+ {
2197
+ 9: 36,
2198
+ 11: 17,
2199
+ 12: $V1,
2200
+ 13: $V2,
2201
+ 14: $V3,
2202
+ 15: $V4,
2203
+ 16: $V5,
2204
+ 17: $V6,
2205
+ 18: $V7,
2206
+ 19: 18,
2207
+ 20: $V8,
2208
+ 21: $V9,
2209
+ 22: $Va,
2210
+ 23: $Vb,
2211
+ 24: $Vc,
2212
+ 25: $Vd,
2213
+ 26: $Ve,
2214
+ 27: $Vf,
2215
+ 28: $Vg,
2216
+ 29: $Vh,
2217
+ 30: $Vi,
2218
+ 31: $Vj,
2219
+ 33: $Vk,
2220
+ 35: $Vl,
2221
+ 36: $Vm,
2222
+ 37: 24,
2223
+ 38: $Vn,
2224
+ 40: $Vo
2225
+ },
2226
+ o($V0, [2, 5]),
2227
+ o($V0, [2, 6]),
2228
+ o($V0, [2, 17]),
2229
+ o($V0, [2, 18]),
2230
+ o($V0, [2, 19]),
2231
+ o($V0, [2, 20]),
2232
+ o($V0, [2, 21]),
2233
+ o($V0, [2, 22]),
2234
+ o($V0, [2, 23]),
2235
+ o($V0, [2, 24]),
2236
+ o($V0, [2, 25]),
2237
+ o($V0, [2, 26]),
2238
+ o($V0, [2, 27]),
2239
+ { 32: [1, 37] },
2240
+ { 34: [1, 38] },
2241
+ o($V0, [2, 30]),
2242
+ o($V0, [2, 31]),
2243
+ o($V0, [2, 32]),
2244
+ { 39: [1, 39] },
2245
+ o($V0, [2, 8]),
2246
+ o($V0, [2, 9]),
2247
+ o($V0, [2, 10]),
2248
+ o($V0, [2, 11]),
2249
+ o($V0, [2, 12]),
2250
+ o($V0, [2, 13]),
2251
+ o($V0, [2, 14]),
2252
+ o($V0, [2, 15]),
2253
+ o($V0, [2, 16]),
2254
+ {
2255
+ 41: [1, 40],
2256
+ 43: [1, 41]
2257
+ },
2258
+ o($V0, [2, 4]),
2259
+ o($V0, [2, 28]),
2260
+ o($V0, [2, 29]),
2261
+ o($V0, [2, 33]),
2262
+ o($V0, [2, 34], {
2263
+ 42: [1, 42],
2264
+ 43: [1, 43]
2265
+ }),
2266
+ o($V0, [2, 40], { 41: [1, 44] }),
2267
+ o($V0, [2, 35], { 43: [1, 45] }),
2268
+ o($V0, [2, 36]),
2269
+ o($V0, [2, 38], { 42: [1, 46] }),
2270
+ o($V0, [2, 37]),
2271
+ o($V0, [2, 39])
2272
+ ],
2273
+ defaultActions: {},
2274
+ parseError: /* @__PURE__ */ __name$1(function parseError(str, hash) {
2275
+ if (hash.recoverable) this.trace(str);
2276
+ else {
2277
+ var error = new Error(str);
2278
+ error.hash = hash;
2279
+ throw error;
2280
+ }
2281
+ }, "parseError"),
2282
+ parse: /* @__PURE__ */ __name$1(function parse(input) {
2283
+ var self = this;
2284
+ var stack = [0];
2285
+ var tstack = [];
2286
+ var vstack = [null];
2287
+ var lstack = [];
2288
+ var table = this.table;
2289
+ var yytext = "";
2290
+ var yylineno = 0;
2291
+ var yyleng = 0;
2292
+ var recovering = 0;
2293
+ var TERROR = 2;
2294
+ var EOF = 1;
2295
+ var args = lstack.slice.call(arguments, 1);
2296
+ var lexer2 = Object.create(this.lexer);
2297
+ var sharedState = { yy: {} };
2298
+ for (var k in this.yy) if (Object.prototype.hasOwnProperty.call(this.yy, k)) sharedState.yy[k] = this.yy[k];
2299
+ lexer2.setInput(input, sharedState.yy);
2300
+ sharedState.yy.lexer = lexer2;
2301
+ sharedState.yy.parser = this;
2302
+ if (typeof lexer2.yylloc == "undefined") lexer2.yylloc = {};
2303
+ var yyloc = lexer2.yylloc;
2304
+ lstack.push(yyloc);
2305
+ var ranges = lexer2.options && lexer2.options.ranges;
2306
+ if (typeof sharedState.yy.parseError === "function") this.parseError = sharedState.yy.parseError;
2307
+ else this.parseError = Object.getPrototypeOf(this).parseError;
2308
+ function popStack(n) {
2309
+ stack.length = stack.length - 2 * n;
2310
+ vstack.length = vstack.length - n;
2311
+ lstack.length = lstack.length - n;
2312
+ }
2313
+ __name$1(popStack, "popStack");
2314
+ function lex() {
2315
+ var token = tstack.pop() || lexer2.lex() || EOF;
2316
+ if (typeof token !== "number") {
2317
+ if (token instanceof Array) {
2318
+ tstack = token;
2319
+ token = tstack.pop();
2320
+ }
2321
+ token = self.symbols_[token] || token;
2322
+ }
2323
+ return token;
2324
+ }
2325
+ __name$1(lex, "lex");
2326
+ var symbol;
2327
+ var preErrorSymbol;
2328
+ var state;
2329
+ var action;
2330
+ var r;
2331
+ var yyval = {};
2332
+ var p;
2333
+ var len;
2334
+ var newState;
2335
+ var expected;
2336
+ while (true) {
2337
+ state = stack[stack.length - 1];
2338
+ if (this.defaultActions[state]) action = this.defaultActions[state];
2339
+ else {
2340
+ if (symbol === null || typeof symbol == "undefined") symbol = lex();
2341
+ action = table[state] && table[state][symbol];
2342
+ }
2343
+ if (typeof action === "undefined" || !action.length || !action[0]) {
2344
+ var errStr = "";
2345
+ expected = [];
2346
+ for (p in table[state]) if (this.terminals_[p] && p > TERROR) expected.push("'" + this.terminals_[p] + "'");
2347
+ if (lexer2.showPosition) errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
2348
+ else errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
2349
+ this.parseError(errStr, {
2350
+ text: lexer2.match,
2351
+ token: this.terminals_[symbol] || symbol,
2352
+ line: lexer2.yylineno,
2353
+ loc: yyloc,
2354
+ expected
2355
+ });
2356
+ }
2357
+ if (action[0] instanceof Array && action.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
2358
+ switch (action[0]) {
2359
+ case 1:
2360
+ stack.push(symbol);
2361
+ vstack.push(lexer2.yytext);
2362
+ lstack.push(lexer2.yylloc);
2363
+ stack.push(action[1]);
2364
+ symbol = null;
2365
+ if (!preErrorSymbol) {
2366
+ yyleng = lexer2.yyleng;
2367
+ yytext = lexer2.yytext;
2368
+ yylineno = lexer2.yylineno;
2369
+ yyloc = lexer2.yylloc;
2370
+ if (recovering > 0) recovering--;
2371
+ } else {
2372
+ symbol = preErrorSymbol;
2373
+ preErrorSymbol = null;
2374
+ }
2375
+ break;
2376
+ case 2:
2377
+ len = this.productions_[action[1]][1];
2378
+ yyval.$ = vstack[vstack.length - len];
2379
+ yyval._$ = {
2380
+ first_line: lstack[lstack.length - (len || 1)].first_line,
2381
+ last_line: lstack[lstack.length - 1].last_line,
2382
+ first_column: lstack[lstack.length - (len || 1)].first_column,
2383
+ last_column: lstack[lstack.length - 1].last_column
2384
+ };
2385
+ if (ranges) yyval._$.range = [lstack[lstack.length - (len || 1)].range[0], lstack[lstack.length - 1].range[1]];
2386
+ r = this.performAction.apply(yyval, [
2387
+ yytext,
2388
+ yyleng,
2389
+ yylineno,
2390
+ sharedState.yy,
2391
+ action[1],
2392
+ vstack,
2393
+ lstack
2394
+ ].concat(args));
2395
+ if (typeof r !== "undefined") return r;
2396
+ if (len) {
2397
+ stack = stack.slice(0, -1 * len * 2);
2398
+ vstack = vstack.slice(0, -1 * len);
2399
+ lstack = lstack.slice(0, -1 * len);
2400
+ }
2401
+ stack.push(this.productions_[action[1]][0]);
2402
+ vstack.push(yyval.$);
2403
+ lstack.push(yyval._$);
2404
+ newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
2405
+ stack.push(newState);
2406
+ break;
2407
+ case 3: return true;
2408
+ }
2409
+ }
2410
+ return true;
2411
+ }, "parse")
2412
+ };
2413
+ parser2.lexer = /* @__PURE__ */ function() {
2414
+ return {
2415
+ EOF: 1,
2416
+ parseError: /* @__PURE__ */ __name$1(function parseError(str, hash) {
2417
+ if (this.yy.parser) this.yy.parser.parseError(str, hash);
2418
+ else throw new Error(str);
2419
+ }, "parseError"),
2420
+ setInput: /* @__PURE__ */ __name$1(function(input, yy) {
2421
+ this.yy = yy || this.yy || {};
2422
+ this._input = input;
2423
+ this._more = this._backtrack = this.done = false;
2424
+ this.yylineno = this.yyleng = 0;
2425
+ this.yytext = this.matched = this.match = "";
2426
+ this.conditionStack = ["INITIAL"];
2427
+ this.yylloc = {
2428
+ first_line: 1,
2429
+ first_column: 0,
2430
+ last_line: 1,
2431
+ last_column: 0
2432
+ };
2433
+ if (this.options.ranges) this.yylloc.range = [0, 0];
2434
+ this.offset = 0;
2435
+ return this;
2436
+ }, "setInput"),
2437
+ input: /* @__PURE__ */ __name$1(function() {
2438
+ var ch = this._input[0];
2439
+ this.yytext += ch;
2440
+ this.yyleng++;
2441
+ this.offset++;
2442
+ this.match += ch;
2443
+ this.matched += ch;
2444
+ if (ch.match(/(?:\r\n?|\n).*/g)) {
2445
+ this.yylineno++;
2446
+ this.yylloc.last_line++;
2447
+ } else this.yylloc.last_column++;
2448
+ if (this.options.ranges) this.yylloc.range[1]++;
2449
+ this._input = this._input.slice(1);
2450
+ return ch;
2451
+ }, "input"),
2452
+ unput: /* @__PURE__ */ __name$1(function(ch) {
2453
+ var len = ch.length;
2454
+ var lines = ch.split(/(?:\r\n?|\n)/g);
2455
+ this._input = ch + this._input;
2456
+ this.yytext = this.yytext.substr(0, this.yytext.length - len);
2457
+ this.offset -= len;
2458
+ var oldLines = this.match.split(/(?:\r\n?|\n)/g);
2459
+ this.match = this.match.substr(0, this.match.length - 1);
2460
+ this.matched = this.matched.substr(0, this.matched.length - 1);
2461
+ if (lines.length - 1) this.yylineno -= lines.length - 1;
2462
+ var r = this.yylloc.range;
2463
+ this.yylloc = {
2464
+ first_line: this.yylloc.first_line,
2465
+ last_line: this.yylineno + 1,
2466
+ first_column: this.yylloc.first_column,
2467
+ last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len
2468
+ };
2469
+ if (this.options.ranges) this.yylloc.range = [r[0], r[0] + this.yyleng - len];
2470
+ this.yyleng = this.yytext.length;
2471
+ return this;
2472
+ }, "unput"),
2473
+ more: /* @__PURE__ */ __name$1(function() {
2474
+ this._more = true;
2475
+ return this;
2476
+ }, "more"),
2477
+ reject: /* @__PURE__ */ __name$1(function() {
2478
+ if (this.options.backtrack_lexer) this._backtrack = true;
2479
+ else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
2480
+ text: "",
2481
+ token: null,
2482
+ line: this.yylineno
2483
+ });
2484
+ return this;
2485
+ }, "reject"),
2486
+ less: /* @__PURE__ */ __name$1(function(n) {
2487
+ this.unput(this.match.slice(n));
2488
+ }, "less"),
2489
+ pastInput: /* @__PURE__ */ __name$1(function() {
2490
+ var past = this.matched.substr(0, this.matched.length - this.match.length);
2491
+ return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
2492
+ }, "pastInput"),
2493
+ upcomingInput: /* @__PURE__ */ __name$1(function() {
2494
+ var next = this.match;
2495
+ if (next.length < 20) next += this._input.substr(0, 20 - next.length);
2496
+ return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
2497
+ }, "upcomingInput"),
2498
+ showPosition: /* @__PURE__ */ __name$1(function() {
2499
+ var pre = this.pastInput();
2500
+ var c = new Array(pre.length + 1).join("-");
2501
+ return pre + this.upcomingInput() + "\n" + c + "^";
2502
+ }, "showPosition"),
2503
+ test_match: /* @__PURE__ */ __name$1(function(match, indexed_rule) {
2504
+ var token;
2505
+ var lines;
2506
+ var backup;
2507
+ if (this.options.backtrack_lexer) {
2508
+ backup = {
2509
+ yylineno: this.yylineno,
2510
+ yylloc: {
2511
+ first_line: this.yylloc.first_line,
2512
+ last_line: this.last_line,
2513
+ first_column: this.yylloc.first_column,
2514
+ last_column: this.yylloc.last_column
2515
+ },
2516
+ yytext: this.yytext,
2517
+ match: this.match,
2518
+ matches: this.matches,
2519
+ matched: this.matched,
2520
+ yyleng: this.yyleng,
2521
+ offset: this.offset,
2522
+ _more: this._more,
2523
+ _input: this._input,
2524
+ yy: this.yy,
2525
+ conditionStack: this.conditionStack.slice(0),
2526
+ done: this.done
2527
+ };
2528
+ if (this.options.ranges) backup.yylloc.range = this.yylloc.range.slice(0);
2529
+ }
2530
+ lines = match[0].match(/(?:\r\n?|\n).*/g);
2531
+ if (lines) this.yylineno += lines.length;
2532
+ this.yylloc = {
2533
+ first_line: this.yylloc.last_line,
2534
+ last_line: this.yylineno + 1,
2535
+ first_column: this.yylloc.last_column,
2536
+ last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
2537
+ };
2538
+ this.yytext += match[0];
2539
+ this.match += match[0];
2540
+ this.matches = match;
2541
+ this.yyleng = this.yytext.length;
2542
+ if (this.options.ranges) this.yylloc.range = [this.offset, this.offset += this.yyleng];
2543
+ this._more = false;
2544
+ this._backtrack = false;
2545
+ this._input = this._input.slice(match[0].length);
2546
+ this.matched += match[0];
2547
+ token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
2548
+ if (this.done && this._input) this.done = false;
2549
+ if (token) return token;
2550
+ else if (this._backtrack) {
2551
+ for (var k in backup) this[k] = backup[k];
2552
+ return false;
2553
+ }
2554
+ return false;
2555
+ }, "test_match"),
2556
+ next: /* @__PURE__ */ __name$1(function() {
2557
+ if (this.done) return this.EOF;
2558
+ if (!this._input) this.done = true;
2559
+ var token;
2560
+ var match;
2561
+ var tempMatch;
2562
+ var index;
2563
+ if (!this._more) {
2564
+ this.yytext = "";
2565
+ this.match = "";
2566
+ }
2567
+ var rules = this._currentRules();
2568
+ for (var i = 0; i < rules.length; i++) {
2569
+ tempMatch = this._input.match(this.rules[rules[i]]);
2570
+ if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
2571
+ match = tempMatch;
2572
+ index = i;
2573
+ if (this.options.backtrack_lexer) {
2574
+ token = this.test_match(tempMatch, rules[i]);
2575
+ if (token !== false) return token;
2576
+ else if (this._backtrack) {
2577
+ match = false;
2578
+ continue;
2579
+ } else return false;
2580
+ } else if (!this.options.flex) break;
2581
+ }
2582
+ }
2583
+ if (match) {
2584
+ token = this.test_match(match, rules[index]);
2585
+ if (token !== false) return token;
2586
+ return false;
2587
+ }
2588
+ if (this._input === "") return this.EOF;
2589
+ else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
2590
+ text: "",
2591
+ token: null,
2592
+ line: this.yylineno
2593
+ });
2594
+ }, "next"),
2595
+ lex: /* @__PURE__ */ __name$1(function lex() {
2596
+ var r = this.next();
2597
+ if (r) return r;
2598
+ else return this.lex();
2599
+ }, "lex"),
2600
+ begin: /* @__PURE__ */ __name$1(function begin(condition) {
2601
+ this.conditionStack.push(condition);
2602
+ }, "begin"),
2603
+ popState: /* @__PURE__ */ __name$1(function popState() {
2604
+ if (this.conditionStack.length - 1 > 0) return this.conditionStack.pop();
2605
+ else return this.conditionStack[0];
2606
+ }, "popState"),
2607
+ _currentRules: /* @__PURE__ */ __name$1(function _currentRules() {
2608
+ if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
2609
+ else return this.conditions["INITIAL"].rules;
2610
+ }, "_currentRules"),
2611
+ topState: /* @__PURE__ */ __name$1(function topState(n) {
2612
+ n = this.conditionStack.length - 1 - Math.abs(n || 0);
2613
+ if (n >= 0) return this.conditionStack[n];
2614
+ else return "INITIAL";
2615
+ }, "topState"),
2616
+ pushState: /* @__PURE__ */ __name$1(function pushState(condition) {
2617
+ this.begin(condition);
2618
+ }, "pushState"),
2619
+ stateStackSize: /* @__PURE__ */ __name$1(function stateStackSize() {
2620
+ return this.conditionStack.length;
2621
+ }, "stateStackSize"),
2622
+ options: { "case-insensitive": true },
2623
+ performAction: /* @__PURE__ */ __name$1(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
2624
+ switch ($avoiding_name_collisions) {
2625
+ case 0:
2626
+ this.begin("open_directive");
2627
+ return "open_directive";
2628
+ case 1:
2629
+ this.begin("acc_title");
2630
+ return 31;
2631
+ case 2:
2632
+ this.popState();
2633
+ return "acc_title_value";
2634
+ case 3:
2635
+ this.begin("acc_descr");
2636
+ return 33;
2637
+ case 4:
2638
+ this.popState();
2639
+ return "acc_descr_value";
2640
+ case 5:
2641
+ this.begin("acc_descr_multiline");
2642
+ break;
2643
+ case 6:
2644
+ this.popState();
2645
+ break;
2646
+ case 7: return "acc_descr_multiline_value";
2647
+ case 8: break;
2648
+ case 9: break;
2649
+ case 10: break;
2650
+ case 11: return 10;
2651
+ case 12: break;
2652
+ case 13: break;
2653
+ case 14:
2654
+ this.begin("href");
2655
+ break;
2656
+ case 15:
2657
+ this.popState();
2658
+ break;
2659
+ case 16: return 43;
2660
+ case 17:
2661
+ this.begin("callbackname");
2662
+ break;
2663
+ case 18:
2664
+ this.popState();
2665
+ break;
2666
+ case 19:
2667
+ this.popState();
2668
+ this.begin("callbackargs");
2669
+ break;
2670
+ case 20: return 41;
2671
+ case 21:
2672
+ this.popState();
2673
+ break;
2674
+ case 22: return 42;
2675
+ case 23:
2676
+ this.begin("click");
2677
+ break;
2678
+ case 24:
2679
+ this.popState();
2680
+ break;
2681
+ case 25: return 40;
2682
+ case 26: return 4;
2683
+ case 27: return 22;
2684
+ case 28: return 23;
2685
+ case 29: return 24;
2686
+ case 30: return 25;
2687
+ case 31: return 26;
2688
+ case 32: return 28;
2689
+ case 33: return 27;
2690
+ case 34: return 29;
2691
+ case 35: return 12;
2692
+ case 36: return 13;
2693
+ case 37: return 14;
2694
+ case 38: return 15;
2695
+ case 39: return 16;
2696
+ case 40: return 17;
2697
+ case 41: return 18;
2698
+ case 42: return 20;
2699
+ case 43: return 21;
2700
+ case 44: return "date";
2701
+ case 45: return 30;
2702
+ case 46: return "accDescription";
2703
+ case 47: return 36;
2704
+ case 48: return 38;
2705
+ case 49: return 39;
2706
+ case 50: return ":";
2707
+ case 51: return 6;
2708
+ case 52: return "INVALID";
2709
+ }
2710
+ }, "anonymous"),
2711
+ rules: [
2712
+ /^(?:%%\{)/i,
2713
+ /^(?:accTitle\s*:\s*)/i,
2714
+ /^(?:(?!\n||)*[^\n]*)/i,
2715
+ /^(?:accDescr\s*:\s*)/i,
2716
+ /^(?:(?!\n||)*[^\n]*)/i,
2717
+ /^(?:accDescr\s*\{\s*)/i,
2718
+ /^(?:[\}])/i,
2719
+ /^(?:[^\}]*)/i,
2720
+ /^(?:%%(?!\{)*[^\n]*)/i,
2721
+ /^(?:[^\}]%%*[^\n]*)/i,
2722
+ /^(?:%%*[^\n]*[\n]*)/i,
2723
+ /^(?:[\n]+)/i,
2724
+ /^(?:\s+)/i,
2725
+ /^(?:%[^\n]*)/i,
2726
+ /^(?:href[\s]+["])/i,
2727
+ /^(?:["])/i,
2728
+ /^(?:[^"]*)/i,
2729
+ /^(?:call[\s]+)/i,
2730
+ /^(?:\([\s]*\))/i,
2731
+ /^(?:\()/i,
2732
+ /^(?:[^(]*)/i,
2733
+ /^(?:\))/i,
2734
+ /^(?:[^)]*)/i,
2735
+ /^(?:click[\s]+)/i,
2736
+ /^(?:[\s\n])/i,
2737
+ /^(?:[^\s\n]*)/i,
2738
+ /^(?:gantt\b)/i,
2739
+ /^(?:dateFormat\s[^#\n;]+)/i,
2740
+ /^(?:inclusiveEndDates\b)/i,
2741
+ /^(?:topAxis\b)/i,
2742
+ /^(?:axisFormat\s[^#\n;]+)/i,
2743
+ /^(?:tickInterval\s[^#\n;]+)/i,
2744
+ /^(?:includes\s[^#\n;]+)/i,
2745
+ /^(?:excludes\s[^#\n;]+)/i,
2746
+ /^(?:todayMarker\s[^\n;]+)/i,
2747
+ /^(?:weekday\s+monday\b)/i,
2748
+ /^(?:weekday\s+tuesday\b)/i,
2749
+ /^(?:weekday\s+wednesday\b)/i,
2750
+ /^(?:weekday\s+thursday\b)/i,
2751
+ /^(?:weekday\s+friday\b)/i,
2752
+ /^(?:weekday\s+saturday\b)/i,
2753
+ /^(?:weekday\s+sunday\b)/i,
2754
+ /^(?:weekend\s+friday\b)/i,
2755
+ /^(?:weekend\s+saturday\b)/i,
2756
+ /^(?:\d\d\d\d-\d\d-\d\d\b)/i,
2757
+ /^(?:title\s[^\n]+)/i,
2758
+ /^(?:accDescription\s[^#\n;]+)/i,
2759
+ /^(?:section\s[^\n]+)/i,
2760
+ /^(?:[^:\n]+)/i,
2761
+ /^(?::[^#\n;]+)/i,
2762
+ /^(?::)/i,
2763
+ /^(?:$)/i,
2764
+ /^(?:.)/i
2765
+ ],
2766
+ conditions: {
2767
+ "acc_descr_multiline": {
2768
+ "rules": [6, 7],
2769
+ "inclusive": false
2770
+ },
2771
+ "acc_descr": {
2772
+ "rules": [4],
2773
+ "inclusive": false
2774
+ },
2775
+ "acc_title": {
2776
+ "rules": [2],
2777
+ "inclusive": false
2778
+ },
2779
+ "callbackargs": {
2780
+ "rules": [21, 22],
2781
+ "inclusive": false
2782
+ },
2783
+ "callbackname": {
2784
+ "rules": [
2785
+ 18,
2786
+ 19,
2787
+ 20
2788
+ ],
2789
+ "inclusive": false
2790
+ },
2791
+ "href": {
2792
+ "rules": [15, 16],
2793
+ "inclusive": false
2794
+ },
2795
+ "click": {
2796
+ "rules": [24, 25],
2797
+ "inclusive": false
2798
+ },
2799
+ "INITIAL": {
2800
+ "rules": [
2801
+ 0,
2802
+ 1,
2803
+ 3,
2804
+ 5,
2805
+ 8,
2806
+ 9,
2807
+ 10,
2808
+ 11,
2809
+ 12,
2810
+ 13,
2811
+ 14,
2812
+ 17,
2813
+ 23,
2814
+ 26,
2815
+ 27,
2816
+ 28,
2817
+ 29,
2818
+ 30,
2819
+ 31,
2820
+ 32,
2821
+ 33,
2822
+ 34,
2823
+ 35,
2824
+ 36,
2825
+ 37,
2826
+ 38,
2827
+ 39,
2828
+ 40,
2829
+ 41,
2830
+ 42,
2831
+ 43,
2832
+ 44,
2833
+ 45,
2834
+ 46,
2835
+ 47,
2836
+ 48,
2837
+ 49,
2838
+ 50,
2839
+ 51,
2840
+ 52
2841
+ ],
2842
+ "inclusive": true
2843
+ }
2844
+ }
2845
+ };
2846
+ }();
2847
+ function Parser() {
2848
+ this.yy = {};
2849
+ }
2850
+ __name$1(Parser, "Parser");
2851
+ Parser.prototype = parser2;
2852
+ parser2.Parser = Parser;
2853
+ return new Parser();
2854
+ }();
2855
+ parser.parser = parser;
2856
+ var gantt_default = parser;
2857
+ import_dayjs_min.default.extend(import_isoWeek.default);
2858
+ import_dayjs_min.default.extend(import_customParseFormat.default);
2859
+ import_dayjs_min.default.extend(import_advancedFormat.default);
2860
+ var WEEKEND_START_DAY = {
2861
+ friday: 5,
2862
+ saturday: 6
2863
+ };
2864
+ var dateFormat = "";
2865
+ var axisFormat = "";
2866
+ var tickInterval = void 0;
2867
+ var todayMarker = "";
2868
+ var includes = [];
2869
+ var excludes = [];
2870
+ var links = /* @__PURE__ */ new Map();
2871
+ var sections = [];
2872
+ var tasks = [];
2873
+ var currentSection = "";
2874
+ var displayMode = "";
2875
+ var tags = [
2876
+ "active",
2877
+ "done",
2878
+ "crit",
2879
+ "milestone",
2880
+ "vert"
2881
+ ];
2882
+ var funs = [];
2883
+ var diagramId = "";
2884
+ var inclusiveEndDates = false;
2885
+ var topAxis = false;
2886
+ var weekday = "sunday";
2887
+ var weekend = "saturday";
2888
+ var lastOrder = 0;
2889
+ var clear2 = /* @__PURE__ */ __name$1(function() {
2890
+ sections = [];
2891
+ tasks = [];
2892
+ currentSection = "";
2893
+ funs = [];
2894
+ taskCnt = 0;
2895
+ lastTask = void 0;
2896
+ lastTaskID = void 0;
2897
+ rawTasks = [];
2898
+ dateFormat = "";
2899
+ axisFormat = "";
2900
+ displayMode = "";
2901
+ tickInterval = void 0;
2902
+ todayMarker = "";
2903
+ includes = [];
2904
+ excludes = [];
2905
+ inclusiveEndDates = false;
2906
+ topAxis = false;
2907
+ lastOrder = 0;
2908
+ links = /* @__PURE__ */ new Map();
2909
+ diagramId = "";
2910
+ clear();
2911
+ weekday = "sunday";
2912
+ weekend = "saturday";
2913
+ }, "clear");
2914
+ var setDiagramId = /* @__PURE__ */ __name$1(function(id) {
2915
+ diagramId = id;
2916
+ }, "setDiagramId");
2917
+ var setAxisFormat = /* @__PURE__ */ __name$1(function(txt) {
2918
+ axisFormat = txt;
2919
+ }, "setAxisFormat");
2920
+ var getAxisFormat = /* @__PURE__ */ __name$1(function() {
2921
+ return axisFormat;
2922
+ }, "getAxisFormat");
2923
+ var setTickInterval = /* @__PURE__ */ __name$1(function(txt) {
2924
+ tickInterval = txt;
2925
+ }, "setTickInterval");
2926
+ var getTickInterval = /* @__PURE__ */ __name$1(function() {
2927
+ return tickInterval;
2928
+ }, "getTickInterval");
2929
+ var setTodayMarker = /* @__PURE__ */ __name$1(function(txt) {
2930
+ todayMarker = txt;
2931
+ }, "setTodayMarker");
2932
+ var getTodayMarker = /* @__PURE__ */ __name$1(function() {
2933
+ return todayMarker;
2934
+ }, "getTodayMarker");
2935
+ var setDateFormat = /* @__PURE__ */ __name$1(function(txt) {
2936
+ dateFormat = txt;
2937
+ }, "setDateFormat");
2938
+ var enableInclusiveEndDates = /* @__PURE__ */ __name$1(function() {
2939
+ inclusiveEndDates = true;
2940
+ }, "enableInclusiveEndDates");
2941
+ var endDatesAreInclusive = /* @__PURE__ */ __name$1(function() {
2942
+ return inclusiveEndDates;
2943
+ }, "endDatesAreInclusive");
2944
+ var enableTopAxis = /* @__PURE__ */ __name$1(function() {
2945
+ topAxis = true;
2946
+ }, "enableTopAxis");
2947
+ var topAxisEnabled = /* @__PURE__ */ __name$1(function() {
2948
+ return topAxis;
2949
+ }, "topAxisEnabled");
2950
+ var setDisplayMode = /* @__PURE__ */ __name$1(function(txt) {
2951
+ displayMode = txt;
2952
+ }, "setDisplayMode");
2953
+ var getDisplayMode = /* @__PURE__ */ __name$1(function() {
2954
+ return displayMode;
2955
+ }, "getDisplayMode");
2956
+ var getDateFormat = /* @__PURE__ */ __name$1(function() {
2957
+ return dateFormat;
2958
+ }, "getDateFormat");
2959
+ var setIncludes = /* @__PURE__ */ __name$1(function(txt) {
2960
+ includes = txt.toLowerCase().split(/[\s,]+/);
2961
+ }, "setIncludes");
2962
+ var getIncludes = /* @__PURE__ */ __name$1(function() {
2963
+ return includes;
2964
+ }, "getIncludes");
2965
+ var setExcludes = /* @__PURE__ */ __name$1(function(txt) {
2966
+ excludes = txt.toLowerCase().split(/[\s,]+/);
2967
+ }, "setExcludes");
2968
+ var getExcludes = /* @__PURE__ */ __name$1(function() {
2969
+ return excludes;
2970
+ }, "getExcludes");
2971
+ var getLinks = /* @__PURE__ */ __name$1(function() {
2972
+ return links;
2973
+ }, "getLinks");
2974
+ var addSection = /* @__PURE__ */ __name$1(function(txt) {
2975
+ currentSection = txt;
2976
+ sections.push(txt);
2977
+ }, "addSection");
2978
+ var getSections = /* @__PURE__ */ __name$1(function() {
2979
+ return sections;
2980
+ }, "getSections");
2981
+ var getTasks = /* @__PURE__ */ __name$1(function() {
2982
+ let allItemsProcessed = compileTasks();
2983
+ const maxDepth = 10;
2984
+ let iterationCount = 0;
2985
+ while (!allItemsProcessed && iterationCount < maxDepth) {
2986
+ allItemsProcessed = compileTasks();
2987
+ iterationCount++;
2988
+ }
2989
+ tasks = rawTasks;
2990
+ return tasks;
2991
+ }, "getTasks");
2992
+ var isInvalidDate = /* @__PURE__ */ __name$1(function(date, dateFormat2, excludes2, includes2) {
2993
+ const formattedDate = date.format(dateFormat2.trim());
2994
+ const dateOnly = date.format("YYYY-MM-DD");
2995
+ if (includes2.includes(formattedDate) || includes2.includes(dateOnly)) return false;
2996
+ if (excludes2.includes("weekends") && (date.isoWeekday() === WEEKEND_START_DAY[weekend] || date.isoWeekday() === WEEKEND_START_DAY[weekend] + 1)) return true;
2997
+ if (excludes2.includes(date.format("dddd").toLowerCase())) return true;
2998
+ return excludes2.includes(formattedDate) || excludes2.includes(dateOnly);
2999
+ }, "isInvalidDate");
3000
+ var setWeekday = /* @__PURE__ */ __name$1(function(txt) {
3001
+ weekday = txt;
3002
+ }, "setWeekday");
3003
+ var getWeekday = /* @__PURE__ */ __name$1(function() {
3004
+ return weekday;
3005
+ }, "getWeekday");
3006
+ var setWeekend = /* @__PURE__ */ __name$1(function(startDay) {
3007
+ weekend = startDay;
3008
+ }, "setWeekend");
3009
+ var checkTaskDates = /* @__PURE__ */ __name$1(function(task, dateFormat2, excludes2, includes2) {
3010
+ if (!excludes2.length || task.manualEndTime) return;
3011
+ let startTime;
3012
+ if (task.startTime instanceof Date) startTime = (0, import_dayjs_min.default)(task.startTime);
3013
+ else startTime = (0, import_dayjs_min.default)(task.startTime, dateFormat2, true);
3014
+ startTime = startTime.add(1, "d");
3015
+ let originalEndTime;
3016
+ if (task.endTime instanceof Date) originalEndTime = (0, import_dayjs_min.default)(task.endTime);
3017
+ else originalEndTime = (0, import_dayjs_min.default)(task.endTime, dateFormat2, true);
3018
+ const [fixedEndTime, renderEndTime] = fixTaskDates(startTime, originalEndTime, dateFormat2, excludes2, includes2);
3019
+ task.endTime = fixedEndTime.toDate();
3020
+ task.renderEndTime = renderEndTime;
3021
+ }, "checkTaskDates");
3022
+ var fixTaskDates = /* @__PURE__ */ __name$1(function(startTime, endTime, dateFormat2, excludes2, includes2) {
3023
+ let invalid = false;
3024
+ let renderEndTime = null;
3025
+ const maxEndTime = endTime.add(1e4, "d");
3026
+ while (startTime <= endTime) {
3027
+ if (!invalid) renderEndTime = endTime.toDate();
3028
+ invalid = isInvalidDate(startTime, dateFormat2, excludes2, includes2);
3029
+ if (invalid) {
3030
+ endTime = endTime.add(1, "d");
3031
+ if (endTime > maxEndTime) throw new Error("Failed to find a valid date that was not excluded by `excludes` after 10,000 iterations.");
3032
+ }
3033
+ startTime = startTime.add(1, "d");
3034
+ }
3035
+ return [endTime, renderEndTime];
3036
+ }, "fixTaskDates");
3037
+ var getStartDate = /* @__PURE__ */ __name$1(function(prevTime, dateFormat2, str) {
3038
+ str = str.trim();
3039
+ if ((/* @__PURE__ */ __name$1((format) => {
3040
+ const trimmedFormat = format.trim();
3041
+ return trimmedFormat === "x" || trimmedFormat === "X";
3042
+ }, "isTimestampFormat"))(dateFormat2) && /^\d+$/.test(str)) return new Date(Number(str));
3043
+ const afterStatement = /^after\s+(?<ids>[\d\w- ]+)/.exec(str);
3044
+ if (afterStatement !== null) {
3045
+ let latestTask = null;
3046
+ for (const id of afterStatement.groups.ids.split(" ")) {
3047
+ let task = findTaskById(id);
3048
+ if (task !== void 0 && (!latestTask || task.endTime > latestTask.endTime)) latestTask = task;
3049
+ }
3050
+ if (latestTask) return latestTask.endTime;
3051
+ const today = /* @__PURE__ */ new Date();
3052
+ today.setHours(0, 0, 0, 0);
3053
+ return today;
3054
+ }
3055
+ let mDate = (0, import_dayjs_min.default)(str, dateFormat2.trim(), true);
3056
+ if (mDate.isValid()) return mDate.toDate();
3057
+ else {
3058
+ log.debug("Invalid date:" + str);
3059
+ log.debug("With date format:" + dateFormat2.trim());
3060
+ const d = new Date(str);
3061
+ if (d === void 0 || isNaN(d.getTime()) || d.getFullYear() < -1e4 || d.getFullYear() > 1e4) throw new Error("Invalid date:" + str);
3062
+ return d;
3063
+ }
3064
+ }, "getStartDate");
3065
+ var parseDuration = /* @__PURE__ */ __name$1(function(str) {
3066
+ const statement = /^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(str.trim());
3067
+ if (statement !== null) return [Number.parseFloat(statement[1]), statement[2]];
3068
+ return [NaN, "ms"];
3069
+ }, "parseDuration");
3070
+ var getEndDate = /* @__PURE__ */ __name$1(function(prevTime, dateFormat2, str, inclusive = false) {
3071
+ str = str.trim();
3072
+ const untilStatement = /^until\s+(?<ids>[\d\w- ]+)/.exec(str);
3073
+ if (untilStatement !== null) {
3074
+ let earliestTask = null;
3075
+ for (const id of untilStatement.groups.ids.split(" ")) {
3076
+ let task = findTaskById(id);
3077
+ if (task !== void 0 && (!earliestTask || task.startTime < earliestTask.startTime)) earliestTask = task;
3078
+ }
3079
+ if (earliestTask) return earliestTask.startTime;
3080
+ const today = /* @__PURE__ */ new Date();
3081
+ today.setHours(0, 0, 0, 0);
3082
+ return today;
3083
+ }
3084
+ let parsedDate = (0, import_dayjs_min.default)(str, dateFormat2.trim(), true);
3085
+ if (parsedDate.isValid()) {
3086
+ if (inclusive) parsedDate = parsedDate.add(1, "d");
3087
+ return parsedDate.toDate();
3088
+ }
3089
+ let endTime = (0, import_dayjs_min.default)(prevTime);
3090
+ const [durationValue, durationUnit] = parseDuration(str);
3091
+ if (!Number.isNaN(durationValue)) {
3092
+ const newEndTime = endTime.add(durationValue, durationUnit);
3093
+ if (newEndTime.isValid()) endTime = newEndTime;
3094
+ }
3095
+ return endTime.toDate();
3096
+ }, "getEndDate");
3097
+ var taskCnt = 0;
3098
+ var parseId = /* @__PURE__ */ __name$1(function(idStr) {
3099
+ if (idStr === void 0) {
3100
+ taskCnt = taskCnt + 1;
3101
+ return "task" + taskCnt;
3102
+ }
3103
+ return idStr;
3104
+ }, "parseId");
3105
+ var compileData = /* @__PURE__ */ __name$1(function(prevTask, dataStr) {
3106
+ let ds;
3107
+ if (dataStr.substr(0, 1) === ":") ds = dataStr.substr(1, dataStr.length);
3108
+ else ds = dataStr;
3109
+ const data = ds.split(",");
3110
+ const task = {};
3111
+ getTaskTags(data, task, tags);
3112
+ for (let i = 0; i < data.length; i++) data[i] = data[i].trim();
3113
+ let endTimeData = "";
3114
+ switch (data.length) {
3115
+ case 1:
3116
+ task.id = parseId();
3117
+ task.startTime = prevTask.endTime;
3118
+ endTimeData = data[0];
3119
+ break;
3120
+ case 2:
3121
+ task.id = parseId();
3122
+ task.startTime = getStartDate(void 0, dateFormat, data[0]);
3123
+ endTimeData = data[1];
3124
+ break;
3125
+ case 3:
3126
+ task.id = parseId(data[0]);
3127
+ task.startTime = getStartDate(void 0, dateFormat, data[1]);
3128
+ endTimeData = data[2];
3129
+ break;
3130
+ default:
3131
+ }
3132
+ if (endTimeData) {
3133
+ task.endTime = getEndDate(task.startTime, dateFormat, endTimeData, inclusiveEndDates);
3134
+ task.manualEndTime = (0, import_dayjs_min.default)(endTimeData, "YYYY-MM-DD", true).isValid();
3135
+ checkTaskDates(task, dateFormat, excludes, includes);
3136
+ }
3137
+ return task;
3138
+ }, "compileData");
3139
+ var parseData = /* @__PURE__ */ __name$1(function(prevTaskId, dataStr) {
3140
+ let ds;
3141
+ if (dataStr.substr(0, 1) === ":") ds = dataStr.substr(1, dataStr.length);
3142
+ else ds = dataStr;
3143
+ const data = ds.split(",");
3144
+ const task = {};
3145
+ getTaskTags(data, task, tags);
3146
+ for (let i = 0; i < data.length; i++) data[i] = data[i].trim();
3147
+ switch (data.length) {
3148
+ case 1:
3149
+ task.id = parseId();
3150
+ task.startTime = {
3151
+ type: "prevTaskEnd",
3152
+ id: prevTaskId
3153
+ };
3154
+ task.endTime = { data: data[0] };
3155
+ break;
3156
+ case 2:
3157
+ task.id = parseId();
3158
+ task.startTime = {
3159
+ type: "getStartDate",
3160
+ startData: data[0]
3161
+ };
3162
+ task.endTime = { data: data[1] };
3163
+ break;
3164
+ case 3:
3165
+ task.id = parseId(data[0]);
3166
+ task.startTime = {
3167
+ type: "getStartDate",
3168
+ startData: data[1]
3169
+ };
3170
+ task.endTime = { data: data[2] };
3171
+ break;
3172
+ default:
3173
+ }
3174
+ return task;
3175
+ }, "parseData");
3176
+ var lastTask;
3177
+ var lastTaskID;
3178
+ var rawTasks = [];
3179
+ var taskDb = {};
3180
+ var addTask = /* @__PURE__ */ __name$1(function(descr, data) {
3181
+ const rawTask = {
3182
+ section: currentSection,
3183
+ type: currentSection,
3184
+ processed: false,
3185
+ manualEndTime: false,
3186
+ renderEndTime: null,
3187
+ raw: { data },
3188
+ task: descr,
3189
+ classes: []
3190
+ };
3191
+ const taskInfo = parseData(lastTaskID, data);
3192
+ rawTask.raw.startTime = taskInfo.startTime;
3193
+ rawTask.raw.endTime = taskInfo.endTime;
3194
+ rawTask.id = taskInfo.id;
3195
+ rawTask.prevTaskId = lastTaskID;
3196
+ rawTask.active = taskInfo.active;
3197
+ rawTask.done = taskInfo.done;
3198
+ rawTask.crit = taskInfo.crit;
3199
+ rawTask.milestone = taskInfo.milestone;
3200
+ rawTask.vert = taskInfo.vert;
3201
+ rawTask.order = lastOrder;
3202
+ lastOrder++;
3203
+ const pos = rawTasks.push(rawTask);
3204
+ lastTaskID = rawTask.id;
3205
+ taskDb[rawTask.id] = pos - 1;
3206
+ }, "addTask");
3207
+ var findTaskById = /* @__PURE__ */ __name$1(function(id) {
3208
+ const pos = taskDb[id];
3209
+ return rawTasks[pos];
3210
+ }, "findTaskById");
3211
+ var addTaskOrg = /* @__PURE__ */ __name$1(function(descr, data) {
3212
+ const newTask = {
3213
+ section: currentSection,
3214
+ type: currentSection,
3215
+ description: descr,
3216
+ task: descr,
3217
+ classes: []
3218
+ };
3219
+ const taskInfo = compileData(lastTask, data);
3220
+ newTask.startTime = taskInfo.startTime;
3221
+ newTask.endTime = taskInfo.endTime;
3222
+ newTask.id = taskInfo.id;
3223
+ newTask.active = taskInfo.active;
3224
+ newTask.done = taskInfo.done;
3225
+ newTask.crit = taskInfo.crit;
3226
+ newTask.milestone = taskInfo.milestone;
3227
+ newTask.vert = taskInfo.vert;
3228
+ lastTask = newTask;
3229
+ tasks.push(newTask);
3230
+ }, "addTaskOrg");
3231
+ var compileTasks = /* @__PURE__ */ __name$1(function() {
3232
+ const compileTask = /* @__PURE__ */ __name$1(function(pos) {
3233
+ const task = rawTasks[pos];
3234
+ let startTime = "";
3235
+ switch (rawTasks[pos].raw.startTime.type) {
3236
+ case "prevTaskEnd":
3237
+ task.startTime = findTaskById(task.prevTaskId).endTime;
3238
+ break;
3239
+ case "getStartDate":
3240
+ startTime = getStartDate(void 0, dateFormat, rawTasks[pos].raw.startTime.startData);
3241
+ if (startTime) rawTasks[pos].startTime = startTime;
3242
+ break;
3243
+ }
3244
+ if (rawTasks[pos].startTime) {
3245
+ rawTasks[pos].endTime = getEndDate(rawTasks[pos].startTime, dateFormat, rawTasks[pos].raw.endTime.data, inclusiveEndDates);
3246
+ if (rawTasks[pos].endTime) {
3247
+ rawTasks[pos].processed = true;
3248
+ rawTasks[pos].manualEndTime = (0, import_dayjs_min.default)(rawTasks[pos].raw.endTime.data, "YYYY-MM-DD", true).isValid();
3249
+ checkTaskDates(rawTasks[pos], dateFormat, excludes, includes);
3250
+ }
3251
+ }
3252
+ return rawTasks[pos].processed;
3253
+ }, "compileTask");
3254
+ let allProcessed = true;
3255
+ for (const [i, rawTask] of rawTasks.entries()) {
3256
+ compileTask(i);
3257
+ allProcessed = allProcessed && rawTask.processed;
3258
+ }
3259
+ return allProcessed;
3260
+ }, "compileTasks");
3261
+ var setLink = /* @__PURE__ */ __name$1(function(ids, _linkStr) {
3262
+ let linkStr = _linkStr;
3263
+ if (getConfig2().securityLevel !== "loose") linkStr = (0, import_dist.sanitizeUrl)(_linkStr);
3264
+ ids.split(",").forEach(function(id) {
3265
+ if (findTaskById(id) !== void 0) {
3266
+ pushFun(id, () => {
3267
+ window.open(linkStr, "_self");
3268
+ });
3269
+ links.set(id, linkStr);
3270
+ }
3271
+ });
3272
+ setClass(ids, "clickable");
3273
+ }, "setLink");
3274
+ var setClass = /* @__PURE__ */ __name$1(function(ids, className) {
3275
+ ids.split(",").forEach(function(id) {
3276
+ let rawTask = findTaskById(id);
3277
+ if (rawTask !== void 0) rawTask.classes.push(className);
3278
+ });
3279
+ }, "setClass");
3280
+ var setClickFun = /* @__PURE__ */ __name$1(function(id, functionName, functionArgs) {
3281
+ if (getConfig2().securityLevel !== "loose") return;
3282
+ if (functionName === void 0) return;
3283
+ let argList = [];
3284
+ if (typeof functionArgs === "string") {
3285
+ argList = functionArgs.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
3286
+ for (let i = 0; i < argList.length; i++) {
3287
+ let item = argList[i].trim();
3288
+ if (item.startsWith("\"") && item.endsWith("\"")) item = item.substr(1, item.length - 2);
3289
+ argList[i] = item;
3290
+ }
3291
+ }
3292
+ if (argList.length === 0) argList.push(id);
3293
+ if (findTaskById(id) !== void 0) pushFun(id, () => {
3294
+ utils_default.runFunc(functionName, ...argList);
3295
+ });
3296
+ }, "setClickFun");
3297
+ var pushFun = /* @__PURE__ */ __name$1(function(id, callbackFunction) {
3298
+ funs.push(function() {
3299
+ const prefixedId = diagramId ? `${diagramId}-${id}` : id;
3300
+ const elem = document.querySelector(`[id="${prefixedId}"]`);
3301
+ if (elem !== null) elem.addEventListener("click", function() {
3302
+ callbackFunction();
3303
+ });
3304
+ }, function() {
3305
+ const prefixedId = diagramId ? `${diagramId}-${id}` : id;
3306
+ const elem = document.querySelector(`[id="${prefixedId}-text"]`);
3307
+ if (elem !== null) elem.addEventListener("click", function() {
3308
+ callbackFunction();
3309
+ });
3310
+ });
3311
+ }, "pushFun");
3312
+ var ganttDb_default = {
3313
+ getConfig: /* @__PURE__ */ __name$1(() => getConfig2().gantt, "getConfig"),
3314
+ clear: clear2,
3315
+ setDateFormat,
3316
+ getDateFormat,
3317
+ enableInclusiveEndDates,
3318
+ endDatesAreInclusive,
3319
+ enableTopAxis,
3320
+ topAxisEnabled,
3321
+ setAxisFormat,
3322
+ getAxisFormat,
3323
+ setTickInterval,
3324
+ getTickInterval,
3325
+ setTodayMarker,
3326
+ getTodayMarker,
3327
+ setAccTitle,
3328
+ getAccTitle,
3329
+ setDiagramTitle,
3330
+ getDiagramTitle,
3331
+ setDiagramId,
3332
+ setDisplayMode,
3333
+ getDisplayMode,
3334
+ setAccDescription,
3335
+ getAccDescription,
3336
+ addSection,
3337
+ getSections,
3338
+ getTasks,
3339
+ addTask,
3340
+ findTaskById,
3341
+ addTaskOrg,
3342
+ setIncludes,
3343
+ getIncludes,
3344
+ setExcludes,
3345
+ getExcludes,
3346
+ setClickEvent: /* @__PURE__ */ __name$1(function(ids, functionName, functionArgs) {
3347
+ ids.split(",").forEach(function(id) {
3348
+ setClickFun(id, functionName, functionArgs);
3349
+ });
3350
+ setClass(ids, "clickable");
3351
+ }, "setClickEvent"),
3352
+ setLink,
3353
+ getLinks,
3354
+ bindFunctions: /* @__PURE__ */ __name$1(function(element) {
3355
+ funs.forEach(function(fun) {
3356
+ fun(element);
3357
+ });
3358
+ }, "bindFunctions"),
3359
+ parseDuration,
3360
+ isInvalidDate,
3361
+ setWeekday,
3362
+ getWeekday,
3363
+ setWeekend
3364
+ };
3365
+ function getTaskTags(data, task, tags2) {
3366
+ let matchFound = true;
3367
+ while (matchFound) {
3368
+ matchFound = false;
3369
+ tags2.forEach(function(t) {
3370
+ const pattern = "^\\s*" + t + "\\s*$";
3371
+ const regex = new RegExp(pattern);
3372
+ if (data[0].match(regex)) {
3373
+ task[t] = true;
3374
+ data.shift(1);
3375
+ matchFound = true;
3376
+ }
3377
+ });
3378
+ }
3379
+ }
3380
+ __name$1(getTaskTags, "getTaskTags");
3381
+ import_dayjs_min.default.extend(import_duration.default);
3382
+ var setConf = /* @__PURE__ */ __name$1(function() {
3383
+ log.debug("Something is calling, setConf, remove the call");
3384
+ }, "setConf");
3385
+ var mapWeekdayToTimeFunction = {
3386
+ monday: timeMonday,
3387
+ tuesday: timeTuesday,
3388
+ wednesday: timeWednesday,
3389
+ thursday: timeThursday,
3390
+ friday: timeFriday,
3391
+ saturday: timeSaturday,
3392
+ sunday: timeSunday
3393
+ };
3394
+ var getMaxIntersections = /* @__PURE__ */ __name$1((tasks2, orderOffset) => {
3395
+ let timeline = [...tasks2].map(() => -Infinity);
3396
+ let sorted = [...tasks2].sort((a, b) => a.startTime - b.startTime || a.order - b.order);
3397
+ let maxIntersections = 0;
3398
+ for (const element of sorted) for (let j = 0; j < timeline.length; j++) if (element.startTime >= timeline[j]) {
3399
+ timeline[j] = element.endTime;
3400
+ element.order = j + orderOffset;
3401
+ if (j > maxIntersections) maxIntersections = j;
3402
+ break;
3403
+ }
3404
+ return maxIntersections;
3405
+ }, "getMaxIntersections");
3406
+ var w;
3407
+ var MAX_TICK_COUNT = 1e4;
3408
+ var diagram = {
3409
+ parser: gantt_default,
3410
+ db: ganttDb_default,
3411
+ renderer: {
3412
+ setConf,
3413
+ draw: /* @__PURE__ */ __name$1(function(text, id, version, diagObj) {
3414
+ const conf = getConfig2().gantt;
3415
+ diagObj.db.setDiagramId(id);
3416
+ const securityLevel = getConfig2().securityLevel;
3417
+ let sandboxElement;
3418
+ if (securityLevel === "sandbox") sandboxElement = select_default("#i" + id);
3419
+ const root = securityLevel === "sandbox" ? select_default(sandboxElement.nodes()[0].contentDocument.body) : select_default("body");
3420
+ const doc = securityLevel === "sandbox" ? sandboxElement.nodes()[0].contentDocument : document;
3421
+ const elem = doc.getElementById(id);
3422
+ w = elem.parentElement.offsetWidth;
3423
+ if (w === void 0) w = 1200;
3424
+ if (conf.useWidth !== void 0) w = conf.useWidth;
3425
+ const taskArray = diagObj.db.getTasks();
3426
+ let categories = [];
3427
+ for (const element of taskArray) categories.push(element.type);
3428
+ categories = checkUnique(categories);
3429
+ const categoryHeights = {};
3430
+ let h = 2 * conf.topPadding;
3431
+ if (diagObj.db.getDisplayMode() === "compact" || conf.displayMode === "compact") {
3432
+ const categoryElements = {};
3433
+ for (const element of taskArray) if (categoryElements[element.section] === void 0) categoryElements[element.section] = [element];
3434
+ else categoryElements[element.section].push(element);
3435
+ let intersections = 0;
3436
+ for (const category of Object.keys(categoryElements)) {
3437
+ const categoryHeight = getMaxIntersections(categoryElements[category], intersections) + 1;
3438
+ intersections += categoryHeight;
3439
+ h += categoryHeight * (conf.barHeight + conf.barGap);
3440
+ categoryHeights[category] = categoryHeight;
3441
+ }
3442
+ } else {
3443
+ h += taskArray.length * (conf.barHeight + conf.barGap);
3444
+ for (const category of categories) categoryHeights[category] = taskArray.filter((task) => task.type === category).length;
3445
+ }
3446
+ elem.setAttribute("viewBox", "0 0 " + w + " " + h);
3447
+ const svg = root.select(`[id="${id}"]`);
3448
+ const timeScale = time().domain([min(taskArray, function(d) {
3449
+ return d.startTime;
3450
+ }), max(taskArray, function(d) {
3451
+ return d.endTime;
3452
+ })]).rangeRound([0, w - conf.leftPadding - conf.rightPadding]);
3453
+ function taskCompare(a, b) {
3454
+ const taskA = a.startTime;
3455
+ const taskB = b.startTime;
3456
+ let result = 0;
3457
+ if (taskA > taskB) result = 1;
3458
+ else if (taskA < taskB) result = -1;
3459
+ return result;
3460
+ }
3461
+ __name$1(taskCompare, "taskCompare");
3462
+ taskArray.sort(taskCompare);
3463
+ makeGantt(taskArray, w, h);
3464
+ configureSvgSize(svg, h, w, conf.useMaxWidth);
3465
+ svg.append("text").text(diagObj.db.getDiagramTitle()).attr("x", w / 2).attr("y", conf.titleTopMargin).attr("class", "titleText");
3466
+ function makeGantt(tasks2, pageWidth, pageHeight) {
3467
+ const barHeight = conf.barHeight;
3468
+ const gap = barHeight + conf.barGap;
3469
+ const topPadding = conf.topPadding;
3470
+ const leftPadding = conf.leftPadding;
3471
+ const colorScale = linear().domain([0, categories.length]).range(["#00B9FA", "#F95002"]).interpolate(hcl_default);
3472
+ drawExcludeDays(gap, topPadding, leftPadding, pageWidth, pageHeight, tasks2, diagObj.db.getExcludes(), diagObj.db.getIncludes());
3473
+ makeGrid(leftPadding, topPadding, pageWidth, pageHeight);
3474
+ drawRects(tasks2, gap, topPadding, leftPadding, barHeight, colorScale, pageWidth, pageHeight);
3475
+ vertLabels(gap, topPadding, leftPadding, barHeight, colorScale);
3476
+ drawToday(leftPadding, topPadding, pageWidth, pageHeight);
3477
+ }
3478
+ __name$1(makeGantt, "makeGantt");
3479
+ function drawRects(theArray, theGap, theTopPad, theSidePad, theBarHeight, theColorScale, w2) {
3480
+ theArray.sort((a, b) => a.vert === b.vert ? 0 : a.vert ? 1 : -1);
3481
+ const uniqueTasks = [...new Set(theArray.map((item) => item.order))].map((id2) => theArray.find((item) => item.order === id2));
3482
+ svg.append("g").selectAll("rect").data(uniqueTasks).enter().append("rect").attr("x", 0).attr("y", function(d, i) {
3483
+ i = d.order;
3484
+ return i * theGap + theTopPad - 2;
3485
+ }).attr("width", function() {
3486
+ return w2 - conf.rightPadding / 2;
3487
+ }).attr("height", theGap).attr("class", function(d) {
3488
+ for (const [i, category] of categories.entries()) if (d.type === category) return "section section" + i % conf.numberSectionStyles;
3489
+ return "section section0";
3490
+ }).enter();
3491
+ const rectangles = svg.append("g").selectAll("rect").data(theArray).enter();
3492
+ const links2 = diagObj.db.getLinks();
3493
+ rectangles.append("rect").attr("id", function(d) {
3494
+ return id + "-" + d.id;
3495
+ }).attr("rx", 3).attr("ry", 3).attr("x", function(d) {
3496
+ if (d.milestone) return timeScale(d.startTime) + theSidePad + .5 * (timeScale(d.endTime) - timeScale(d.startTime)) - .5 * theBarHeight;
3497
+ return timeScale(d.startTime) + theSidePad;
3498
+ }).attr("y", function(d, i) {
3499
+ i = d.order;
3500
+ if (d.vert) return conf.gridLineStartPadding;
3501
+ return i * theGap + theTopPad;
3502
+ }).attr("width", function(d) {
3503
+ if (d.milestone) return theBarHeight;
3504
+ if (d.vert) return .08 * theBarHeight;
3505
+ return timeScale(d.renderEndTime || d.endTime) - timeScale(d.startTime);
3506
+ }).attr("height", function(d) {
3507
+ if (d.vert) return taskArray.length * (conf.barHeight + conf.barGap) + conf.barHeight * 2;
3508
+ return theBarHeight;
3509
+ }).attr("transform-origin", function(d, i) {
3510
+ i = d.order;
3511
+ return (timeScale(d.startTime) + theSidePad + .5 * (timeScale(d.endTime) - timeScale(d.startTime))).toString() + "px " + (i * theGap + theTopPad + .5 * theBarHeight).toString() + "px";
3512
+ }).attr("class", function(d) {
3513
+ const res = "task";
3514
+ let classStr = "";
3515
+ if (d.classes.length > 0) classStr = d.classes.join(" ");
3516
+ let secNum = 0;
3517
+ for (const [i, category] of categories.entries()) if (d.type === category) secNum = i % conf.numberSectionStyles;
3518
+ let taskClass = "";
3519
+ if (d.active) if (d.crit) taskClass += " activeCrit";
3520
+ else taskClass = " active";
3521
+ else if (d.done) if (d.crit) taskClass = " doneCrit";
3522
+ else taskClass = " done";
3523
+ else if (d.crit) taskClass += " crit";
3524
+ if (taskClass.length === 0) taskClass = " task";
3525
+ if (d.milestone) taskClass = " milestone " + taskClass;
3526
+ if (d.vert) taskClass = " vert " + taskClass;
3527
+ taskClass += secNum;
3528
+ taskClass += " " + classStr;
3529
+ return res + taskClass;
3530
+ });
3531
+ rectangles.append("text").attr("id", function(d) {
3532
+ return id + "-" + d.id + "-text";
3533
+ }).text(function(d) {
3534
+ return d.task;
3535
+ }).attr("font-size", conf.fontSize).attr("x", function(d) {
3536
+ let startX = timeScale(d.startTime);
3537
+ let endX = timeScale(d.renderEndTime || d.endTime);
3538
+ if (d.milestone) {
3539
+ startX += .5 * (timeScale(d.endTime) - timeScale(d.startTime)) - .5 * theBarHeight;
3540
+ endX = startX + theBarHeight;
3541
+ }
3542
+ if (d.vert) return timeScale(d.startTime) + theSidePad;
3543
+ const textWidth = this.getBBox().width;
3544
+ if (textWidth > endX - startX) if (endX + textWidth + 1.5 * conf.leftPadding > w2) return startX + theSidePad - 5;
3545
+ else return endX + theSidePad + 5;
3546
+ else return (endX - startX) / 2 + startX + theSidePad;
3547
+ }).attr("y", function(d, i) {
3548
+ if (d.vert) return conf.gridLineStartPadding + taskArray.length * (conf.barHeight + conf.barGap) + 60;
3549
+ i = d.order;
3550
+ return i * theGap + conf.barHeight / 2 + (conf.fontSize / 2 - 2) + theTopPad;
3551
+ }).attr("text-height", theBarHeight).attr("class", function(d) {
3552
+ const startX = timeScale(d.startTime);
3553
+ let endX = timeScale(d.endTime);
3554
+ if (d.milestone) endX = startX + theBarHeight;
3555
+ const textWidth = this.getBBox().width;
3556
+ let classStr = "";
3557
+ if (d.classes.length > 0) classStr = d.classes.join(" ");
3558
+ let secNum = 0;
3559
+ for (const [i, category] of categories.entries()) if (d.type === category) secNum = i % conf.numberSectionStyles;
3560
+ let taskType = "";
3561
+ if (d.active) if (d.crit) taskType = "activeCritText" + secNum;
3562
+ else taskType = "activeText" + secNum;
3563
+ if (d.done) if (d.crit) taskType = taskType + " doneCritText" + secNum;
3564
+ else taskType = taskType + " doneText" + secNum;
3565
+ else if (d.crit) taskType = taskType + " critText" + secNum;
3566
+ if (d.milestone) taskType += " milestoneText";
3567
+ if (d.vert) taskType += " vertText";
3568
+ if (textWidth > endX - startX) if (endX + textWidth + 1.5 * conf.leftPadding > w2) return classStr + " taskTextOutsideLeft taskTextOutside" + secNum + " " + taskType;
3569
+ else return classStr + " taskTextOutsideRight taskTextOutside" + secNum + " " + taskType + " width-" + textWidth;
3570
+ else return classStr + " taskText taskText" + secNum + " " + taskType + " width-" + textWidth;
3571
+ });
3572
+ if (getConfig2().securityLevel === "sandbox") {
3573
+ let sandboxElement2;
3574
+ sandboxElement2 = select_default("#i" + id);
3575
+ const doc2 = sandboxElement2.nodes()[0].contentDocument;
3576
+ rectangles.filter(function(d) {
3577
+ return links2.has(d.id);
3578
+ }).each(function(o) {
3579
+ var taskRect = doc2.querySelector("#" + CSS.escape(id + "-" + o.id));
3580
+ var taskText = doc2.querySelector("#" + CSS.escape(id + "-" + o.id + "-text"));
3581
+ const oldParent = taskRect.parentNode;
3582
+ var Link = doc2.createElement("a");
3583
+ Link.setAttribute("xlink:href", links2.get(o.id));
3584
+ Link.setAttribute("target", "_top");
3585
+ oldParent.appendChild(Link);
3586
+ Link.appendChild(taskRect);
3587
+ Link.appendChild(taskText);
3588
+ });
3589
+ }
3590
+ }
3591
+ __name$1(drawRects, "drawRects");
3592
+ function drawExcludeDays(theGap, theTopPad, theSidePad, w2, h2, tasks2, excludes2, includes2) {
3593
+ if (excludes2.length === 0 && includes2.length === 0) return;
3594
+ let minTime;
3595
+ let maxTime;
3596
+ for (const { startTime, endTime } of tasks2) {
3597
+ if (minTime === void 0 || startTime < minTime) minTime = startTime;
3598
+ if (maxTime === void 0 || endTime > maxTime) maxTime = endTime;
3599
+ }
3600
+ if (!minTime || !maxTime) return;
3601
+ if ((0, import_dayjs_min.default)(maxTime).diff((0, import_dayjs_min.default)(minTime), "year") > 5) {
3602
+ log.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");
3603
+ return;
3604
+ }
3605
+ const dateFormat2 = diagObj.db.getDateFormat();
3606
+ const excludeRanges = [];
3607
+ let range = null;
3608
+ let d = (0, import_dayjs_min.default)(minTime);
3609
+ while (d.valueOf() <= maxTime) {
3610
+ if (diagObj.db.isInvalidDate(d, dateFormat2, excludes2, includes2)) if (!range) range = {
3611
+ start: d,
3612
+ end: d
3613
+ };
3614
+ else range.end = d;
3615
+ else if (range) {
3616
+ excludeRanges.push(range);
3617
+ range = null;
3618
+ }
3619
+ d = d.add(1, "d");
3620
+ }
3621
+ svg.append("g").selectAll("rect").data(excludeRanges).enter().append("rect").attr("id", (d2) => id + "-exclude-" + d2.start.format("YYYY-MM-DD")).attr("x", (d2) => timeScale(d2.start.startOf("day")) + theSidePad).attr("y", conf.gridLineStartPadding).attr("width", (d2) => timeScale(d2.end.endOf("day")) - timeScale(d2.start.startOf("day"))).attr("height", h2 - theTopPad - conf.gridLineStartPadding).attr("transform-origin", function(d2, i) {
3622
+ return (timeScale(d2.start) + theSidePad + .5 * (timeScale(d2.end) - timeScale(d2.start))).toString() + "px " + (i * theGap + .5 * h2).toString() + "px";
3623
+ }).attr("class", "exclude-range");
3624
+ }
3625
+ __name$1(drawExcludeDays, "drawExcludeDays");
3626
+ function getEstimatedTickCount(minTime, maxTime, every, interval) {
3627
+ if (every <= 0 || minTime > maxTime) return Infinity;
3628
+ const timeDiffMs = maxTime - minTime;
3629
+ const intervalMs = import_dayjs_min.default.duration({ [interval ?? "day"]: every }).asMilliseconds();
3630
+ if (intervalMs <= 0) return Infinity;
3631
+ return Math.ceil(timeDiffMs / intervalMs);
3632
+ }
3633
+ __name$1(getEstimatedTickCount, "getEstimatedTickCount");
3634
+ function makeGrid(theSidePad, theTopPad, w2, h2) {
3635
+ const dateFormat2 = diagObj.db.getDateFormat();
3636
+ const userAxisFormat = diagObj.db.getAxisFormat();
3637
+ let axisFormat2;
3638
+ if (userAxisFormat) axisFormat2 = userAxisFormat;
3639
+ else if (dateFormat2 === "D") axisFormat2 = "%d";
3640
+ else axisFormat2 = conf.axisFormat ?? "%Y-%m-%d";
3641
+ let bottomXAxis = axisBottom(timeScale).tickSize(-h2 + theTopPad + conf.gridLineStartPadding).tickFormat(timeFormat(axisFormat2));
3642
+ const resultTickInterval = /^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(diagObj.db.getTickInterval() || conf.tickInterval);
3643
+ if (resultTickInterval !== null) {
3644
+ const every = parseInt(resultTickInterval[1], 10);
3645
+ if (isNaN(every) || every <= 0) log.warn(`Invalid tick interval value: "${resultTickInterval[1]}". Skipping custom tick interval.`);
3646
+ else {
3647
+ const interval = resultTickInterval[2];
3648
+ const weekday2 = diagObj.db.getWeekday() || conf.weekday;
3649
+ const domain = timeScale.domain();
3650
+ const minTime = domain[0];
3651
+ const maxTime = domain[1];
3652
+ const estimatedTicks = getEstimatedTickCount(minTime, maxTime, every, interval);
3653
+ if (estimatedTicks > MAX_TICK_COUNT) log.warn(`The tick interval "${every}${interval}" would generate ${estimatedTicks} ticks, which exceeds the maximum allowed (${MAX_TICK_COUNT}). This may indicate an invalid date or time range. Skipping custom tick interval.`);
3654
+ else switch (interval) {
3655
+ case "millisecond":
3656
+ bottomXAxis.ticks(millisecond.every(every));
3657
+ break;
3658
+ case "second":
3659
+ bottomXAxis.ticks(second.every(every));
3660
+ break;
3661
+ case "minute":
3662
+ bottomXAxis.ticks(timeMinute.every(every));
3663
+ break;
3664
+ case "hour":
3665
+ bottomXAxis.ticks(timeHour.every(every));
3666
+ break;
3667
+ case "day":
3668
+ bottomXAxis.ticks(timeDay.every(every));
3669
+ break;
3670
+ case "week":
3671
+ bottomXAxis.ticks(mapWeekdayToTimeFunction[weekday2].every(every));
3672
+ break;
3673
+ case "month":
3674
+ bottomXAxis.ticks(timeMonth.every(every));
3675
+ break;
3676
+ }
3677
+ }
3678
+ }
3679
+ svg.append("g").attr("class", "grid").attr("transform", "translate(" + theSidePad + ", " + (h2 - 50) + ")").call(bottomXAxis).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em");
3680
+ if (diagObj.db.topAxisEnabled() || conf.topAxis) {
3681
+ let topXAxis = axisTop(timeScale).tickSize(-h2 + theTopPad + conf.gridLineStartPadding).tickFormat(timeFormat(axisFormat2));
3682
+ if (resultTickInterval !== null) {
3683
+ const every = parseInt(resultTickInterval[1], 10);
3684
+ if (isNaN(every) || every <= 0) log.warn(`Invalid tick interval value: "${resultTickInterval[1]}". Skipping custom tick interval.`);
3685
+ else {
3686
+ const interval = resultTickInterval[2];
3687
+ const weekday2 = diagObj.db.getWeekday() || conf.weekday;
3688
+ const domain = timeScale.domain();
3689
+ const minTime = domain[0];
3690
+ const maxTime = domain[1];
3691
+ if (getEstimatedTickCount(minTime, maxTime, every, interval) <= MAX_TICK_COUNT) switch (interval) {
3692
+ case "millisecond":
3693
+ topXAxis.ticks(millisecond.every(every));
3694
+ break;
3695
+ case "second":
3696
+ topXAxis.ticks(second.every(every));
3697
+ break;
3698
+ case "minute":
3699
+ topXAxis.ticks(timeMinute.every(every));
3700
+ break;
3701
+ case "hour":
3702
+ topXAxis.ticks(timeHour.every(every));
3703
+ break;
3704
+ case "day":
3705
+ topXAxis.ticks(timeDay.every(every));
3706
+ break;
3707
+ case "week":
3708
+ topXAxis.ticks(mapWeekdayToTimeFunction[weekday2].every(every));
3709
+ break;
3710
+ case "month":
3711
+ topXAxis.ticks(timeMonth.every(every));
3712
+ break;
3713
+ }
3714
+ }
3715
+ }
3716
+ svg.append("g").attr("class", "grid").attr("transform", "translate(" + theSidePad + ", " + theTopPad + ")").call(topXAxis).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10);
3717
+ }
3718
+ }
3719
+ __name$1(makeGrid, "makeGrid");
3720
+ function vertLabels(theGap, theTopPad) {
3721
+ let prevGap = 0;
3722
+ const numOccurrences = Object.keys(categoryHeights).map((d) => [d, categoryHeights[d]]);
3723
+ svg.append("g").selectAll("text").data(numOccurrences).enter().append(function(d) {
3724
+ const rows = d[0].split(common_default.lineBreakRegex);
3725
+ const dy = -(rows.length - 1) / 2;
3726
+ const svgLabel = doc.createElementNS("http://www.w3.org/2000/svg", "text");
3727
+ svgLabel.setAttribute("dy", dy + "em");
3728
+ for (const [j, row] of rows.entries()) {
3729
+ const tspan = doc.createElementNS("http://www.w3.org/2000/svg", "tspan");
3730
+ tspan.setAttribute("alignment-baseline", "central");
3731
+ tspan.setAttribute("x", "10");
3732
+ if (j > 0) tspan.setAttribute("dy", "1em");
3733
+ tspan.textContent = row;
3734
+ svgLabel.appendChild(tspan);
3735
+ }
3736
+ return svgLabel;
3737
+ }).attr("x", 10).attr("y", function(d, i) {
3738
+ if (i > 0) for (let j = 0; j < i; j++) {
3739
+ prevGap += numOccurrences[i - 1][1];
3740
+ return d[1] * theGap / 2 + prevGap * theGap + theTopPad;
3741
+ }
3742
+ else return d[1] * theGap / 2 + theTopPad;
3743
+ }).attr("font-size", conf.sectionFontSize).attr("class", function(d) {
3744
+ for (const [i, category] of categories.entries()) if (d[0] === category) return "sectionTitle sectionTitle" + i % conf.numberSectionStyles;
3745
+ return "sectionTitle";
3746
+ });
3747
+ }
3748
+ __name$1(vertLabels, "vertLabels");
3749
+ function drawToday(theSidePad, theTopPad, w2, h2) {
3750
+ const todayMarker2 = diagObj.db.getTodayMarker();
3751
+ if (todayMarker2 === "off") return;
3752
+ const todayG = svg.append("g").attr("class", "today");
3753
+ const today = /* @__PURE__ */ new Date();
3754
+ const todayLine = todayG.append("line");
3755
+ todayLine.attr("x1", timeScale(today) + theSidePad).attr("x2", timeScale(today) + theSidePad).attr("y1", conf.titleTopMargin).attr("y2", h2 - conf.titleTopMargin).attr("class", "today");
3756
+ if (todayMarker2 !== "") todayLine.attr("style", todayMarker2.replace(/,/g, ";"));
3757
+ }
3758
+ __name$1(drawToday, "drawToday");
3759
+ function checkUnique(arr) {
3760
+ const hash = {};
3761
+ const result = [];
3762
+ for (let i = 0, l = arr.length; i < l; ++i) if (!Object.prototype.hasOwnProperty.call(hash, arr[i])) {
3763
+ hash[arr[i]] = true;
3764
+ result.push(arr[i]);
3765
+ }
3766
+ return result;
3767
+ }
3768
+ __name$1(checkUnique, "checkUnique");
3769
+ }, "draw")
3770
+ },
3771
+ styles: /* @__PURE__ */ __name$1((options) => `
3772
+ .mermaid-main-font {
3773
+ font-family: ${options.fontFamily};
3774
+ }
3775
+
3776
+ .exclude-range {
3777
+ fill: ${options.excludeBkgColor};
3778
+ }
3779
+
3780
+ .section {
3781
+ stroke: none;
3782
+ opacity: 0.2;
3783
+ }
3784
+
3785
+ .section0 {
3786
+ fill: ${options.sectionBkgColor};
3787
+ }
3788
+
3789
+ .section2 {
3790
+ fill: ${options.sectionBkgColor2};
3791
+ }
3792
+
3793
+ .section1,
3794
+ .section3 {
3795
+ fill: ${options.altSectionBkgColor};
3796
+ opacity: 0.2;
3797
+ }
3798
+
3799
+ .sectionTitle0 {
3800
+ fill: ${options.titleColor};
3801
+ }
3802
+
3803
+ .sectionTitle1 {
3804
+ fill: ${options.titleColor};
3805
+ }
3806
+
3807
+ .sectionTitle2 {
3808
+ fill: ${options.titleColor};
3809
+ }
3810
+
3811
+ .sectionTitle3 {
3812
+ fill: ${options.titleColor};
3813
+ }
3814
+
3815
+ .sectionTitle {
3816
+ text-anchor: start;
3817
+ font-family: ${options.fontFamily};
3818
+ }
3819
+
3820
+
3821
+ /* Grid and axis */
3822
+
3823
+ .grid .tick {
3824
+ stroke: ${options.gridColor};
3825
+ opacity: 0.8;
3826
+ shape-rendering: crispEdges;
3827
+ }
3828
+
3829
+ .grid .tick text {
3830
+ font-family: ${options.fontFamily};
3831
+ fill: ${options.textColor};
3832
+ }
3833
+
3834
+ .grid path {
3835
+ stroke-width: 0;
3836
+ }
3837
+
3838
+
3839
+ /* Today line */
3840
+
3841
+ .today {
3842
+ fill: none;
3843
+ stroke: ${options.todayLineColor};
3844
+ stroke-width: 2px;
3845
+ }
3846
+
3847
+
3848
+ /* Task styling */
3849
+
3850
+ /* Default task */
3851
+
3852
+ .task {
3853
+ stroke-width: 2;
3854
+ }
3855
+
3856
+ .taskText {
3857
+ text-anchor: middle;
3858
+ font-family: ${options.fontFamily};
3859
+ }
3860
+
3861
+ .taskTextOutsideRight {
3862
+ fill: ${options.taskTextDarkColor};
3863
+ text-anchor: start;
3864
+ font-family: ${options.fontFamily};
3865
+ }
3866
+
3867
+ .taskTextOutsideLeft {
3868
+ fill: ${options.taskTextDarkColor};
3869
+ text-anchor: end;
3870
+ }
3871
+
3872
+
3873
+ /* Special case clickable */
3874
+
3875
+ .task.clickable {
3876
+ cursor: pointer;
3877
+ }
3878
+
3879
+ .taskText.clickable {
3880
+ cursor: pointer;
3881
+ fill: ${options.taskTextClickableColor} !important;
3882
+ font-weight: bold;
3883
+ }
3884
+
3885
+ .taskTextOutsideLeft.clickable {
3886
+ cursor: pointer;
3887
+ fill: ${options.taskTextClickableColor} !important;
3888
+ font-weight: bold;
3889
+ }
3890
+
3891
+ .taskTextOutsideRight.clickable {
3892
+ cursor: pointer;
3893
+ fill: ${options.taskTextClickableColor} !important;
3894
+ font-weight: bold;
3895
+ }
3896
+
3897
+
3898
+ /* Specific task settings for the sections*/
3899
+
3900
+ .taskText0,
3901
+ .taskText1,
3902
+ .taskText2,
3903
+ .taskText3 {
3904
+ fill: ${options.taskTextColor};
3905
+ }
3906
+
3907
+ .task0,
3908
+ .task1,
3909
+ .task2,
3910
+ .task3 {
3911
+ fill: ${options.taskBkgColor};
3912
+ stroke: ${options.taskBorderColor};
3913
+ }
3914
+
3915
+ .taskTextOutside0,
3916
+ .taskTextOutside2
3917
+ {
3918
+ fill: ${options.taskTextOutsideColor};
3919
+ }
3920
+
3921
+ .taskTextOutside1,
3922
+ .taskTextOutside3 {
3923
+ fill: ${options.taskTextOutsideColor};
3924
+ }
3925
+
3926
+
3927
+ /* Active task */
3928
+
3929
+ .active0,
3930
+ .active1,
3931
+ .active2,
3932
+ .active3 {
3933
+ fill: ${options.activeTaskBkgColor};
3934
+ stroke: ${options.activeTaskBorderColor};
3935
+ }
3936
+
3937
+ .activeText0,
3938
+ .activeText1,
3939
+ .activeText2,
3940
+ .activeText3 {
3941
+ fill: ${options.taskTextDarkColor} !important;
3942
+ }
3943
+
3944
+
3945
+ /* Completed task */
3946
+
3947
+ .done0,
3948
+ .done1,
3949
+ .done2,
3950
+ .done3 {
3951
+ stroke: ${options.doneTaskBorderColor};
3952
+ fill: ${options.doneTaskBkgColor};
3953
+ stroke-width: 2;
3954
+ }
3955
+
3956
+ .doneText0,
3957
+ .doneText1,
3958
+ .doneText2,
3959
+ .doneText3 {
3960
+ fill: ${options.taskTextDarkColor} !important;
3961
+ }
3962
+
3963
+ /* Done task text displayed outside the bar sits against the diagram background,
3964
+ not against the done-task bar, so it must use the outside/contrast color. */
3965
+ .doneText0.taskTextOutsideLeft,
3966
+ .doneText0.taskTextOutsideRight,
3967
+ .doneText1.taskTextOutsideLeft,
3968
+ .doneText1.taskTextOutsideRight,
3969
+ .doneText2.taskTextOutsideLeft,
3970
+ .doneText2.taskTextOutsideRight,
3971
+ .doneText3.taskTextOutsideLeft,
3972
+ .doneText3.taskTextOutsideRight {
3973
+ fill: ${options.taskTextOutsideColor} !important;
3974
+ }
3975
+
3976
+
3977
+ /* Tasks on the critical line */
3978
+
3979
+ .crit0,
3980
+ .crit1,
3981
+ .crit2,
3982
+ .crit3 {
3983
+ stroke: ${options.critBorderColor};
3984
+ fill: ${options.critBkgColor};
3985
+ stroke-width: 2;
3986
+ }
3987
+
3988
+ .activeCrit0,
3989
+ .activeCrit1,
3990
+ .activeCrit2,
3991
+ .activeCrit3 {
3992
+ stroke: ${options.critBorderColor};
3993
+ fill: ${options.activeTaskBkgColor};
3994
+ stroke-width: 2;
3995
+ }
3996
+
3997
+ .doneCrit0,
3998
+ .doneCrit1,
3999
+ .doneCrit2,
4000
+ .doneCrit3 {
4001
+ stroke: ${options.critBorderColor};
4002
+ fill: ${options.doneTaskBkgColor};
4003
+ stroke-width: 2;
4004
+ cursor: pointer;
4005
+ shape-rendering: crispEdges;
4006
+ }
4007
+
4008
+ .milestone {
4009
+ transform: rotate(45deg) scale(0.8,0.8);
4010
+ }
4011
+
4012
+ .milestoneText {
4013
+ font-style: italic;
4014
+ }
4015
+ .doneCritText0,
4016
+ .doneCritText1,
4017
+ .doneCritText2,
4018
+ .doneCritText3 {
4019
+ fill: ${options.taskTextDarkColor} !important;
4020
+ }
4021
+
4022
+ /* Done-crit task text outside the bar \u2014 same reasoning as doneText above. */
4023
+ .doneCritText0.taskTextOutsideLeft,
4024
+ .doneCritText0.taskTextOutsideRight,
4025
+ .doneCritText1.taskTextOutsideLeft,
4026
+ .doneCritText1.taskTextOutsideRight,
4027
+ .doneCritText2.taskTextOutsideLeft,
4028
+ .doneCritText2.taskTextOutsideRight,
4029
+ .doneCritText3.taskTextOutsideLeft,
4030
+ .doneCritText3.taskTextOutsideRight {
4031
+ fill: ${options.taskTextOutsideColor} !important;
4032
+ }
4033
+
4034
+ .vert {
4035
+ stroke: ${options.vertLineColor};
4036
+ }
4037
+
4038
+ .vertText {
4039
+ font-size: 15px;
4040
+ text-anchor: middle;
4041
+ fill: ${options.vertLineColor} !important;
4042
+ }
4043
+
4044
+ .activeCritText0,
4045
+ .activeCritText1,
4046
+ .activeCritText2,
4047
+ .activeCritText3 {
4048
+ fill: ${options.taskTextDarkColor} !important;
4049
+ }
4050
+
4051
+ .titleText {
4052
+ text-anchor: middle;
4053
+ font-size: 18px;
4054
+ fill: ${options.titleColor || options.textColor};
4055
+ font-family: ${options.fontFamily};
4056
+ }
4057
+ `, "getStyles")
4058
+ };
4059
+ //#endregion
4060
+ export { diagram };