@wzh-/ai-chat-example 1.0.0 → 1.0.2

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 (1176) hide show
  1. package/dist/App.vue.d.ts +2 -0
  2. package/dist/_basePickBy-CkZky1V-.js +135 -0
  3. package/dist/_baseUniq-f11MNaXe.js +573 -0
  4. package/dist/abap--jVlqvLx.js +2 -0
  5. package/dist/actionscript-3-N1AoJtTA.js +2 -0
  6. package/dist/ada-CYGINLea.js +2 -0
  7. package/dist/andromeeda-CvsZnG9k.js +2 -0
  8. package/dist/angular-html-C5vmpet2.js +14 -0
  9. package/dist/angular-html-CLTv4jM9.js +5 -0
  10. package/dist/angular-ts-BKqJWrwt.js +19 -0
  11. package/dist/apache-D6X-_dyJ.js +2 -0
  12. package/dist/apex-C7VgAgAE.js +2 -0
  13. package/dist/apl-BcJs32yU.js +15 -0
  14. package/dist/applescript-DN64Su6U.js +2 -0
  15. package/dist/ara-Dm1jHrgg.js +2 -0
  16. package/dist/arc-Dh_0vvHo.js +78 -0
  17. package/dist/architecture-U656AL7Q-BqUSHYp0.js +8 -0
  18. package/dist/architectureDiagram-VXUJARFQ-BQvEdgpc.js +4053 -0
  19. package/dist/array-CkdOJbdT.js +5 -0
  20. package/dist/asciidoc-BpqtqRF5.js +2 -0
  21. package/dist/asm-DUGlKYIq.js +2 -0
  22. package/dist/astro-q-huTQEP.js +16 -0
  23. package/dist/aurora-x-DwOih-un.js +2 -0
  24. package/dist/awk-DcnVbJrN.js +2 -0
  25. package/dist/ayu-dark-Bd-89MKE.js +2 -0
  26. package/dist/ballerina-BQVdQd9X.js +2 -0
  27. package/dist/bash-DI_p7w58.js +2 -0
  28. package/dist/bat-juB1J52r.js +2 -0
  29. package/dist/beancount-ThxIlRc3.js +2 -0
  30. package/dist/berry-qC18BfC_.js +2 -0
  31. package/dist/bibtex-CahMDY_0.js +2 -0
  32. package/dist/bicep-CHLBKS47.js +2 -0
  33. package/dist/blade-Ckff5WJQ.js +19 -0
  34. package/dist/blockDiagram-VD42YOAC-DKkDshq3.js +3013 -0
  35. package/dist/bsl-BTNab0FD.js +3 -0
  36. package/dist/c-BYDGkYzS.js +2 -0
  37. package/dist/c-CX6yudYR.js +2 -0
  38. package/dist/c4Diagram-YG6GDRKO-KsGqOrVB.js +2955 -0
  39. package/dist/cadence-DA5J9-Di.js +2 -0
  40. package/dist/cairo-DUZgbTPW.js +3 -0
  41. package/dist/catppuccin-frappe-CE3kxG1f.js +2 -0
  42. package/dist/catppuccin-latte-DW2FXeIv.js +2 -0
  43. package/dist/catppuccin-macchiato-CD5qjRSF.js +2 -0
  44. package/dist/catppuccin-mocha-BYwVJvjI.js +2 -0
  45. package/dist/channel-BrxVk5HC.js +3 -0
  46. package/dist/chunk-4BX2VUAB-BGxl5VGr.js +6 -0
  47. package/dist/chunk-55IACEB6-CDMD5yu1.js +6 -0
  48. package/dist/chunk-76Q3JFCE-Db4Lkmow.js +19 -0
  49. package/dist/chunk-ABZYJK2D-BZvlc6Ej.js +2515 -0
  50. package/dist/chunk-ATLVNIR6-C3g7rsIT.js +65 -0
  51. package/dist/chunk-B4BG7PRW-Dx-bGI1r.js +3108 -0
  52. package/dist/chunk-CVBHYZKI-DxEBlSK7.js +10 -0
  53. package/dist/chunk-DI55MBZ5-CCWuZnfW.js +1994 -0
  54. package/dist/chunk-DNh5sLlG.js +18 -0
  55. package/dist/chunk-EXTU4WIE-BjMX7pAs.js +7 -0
  56. package/dist/chunk-FMBD7UC4-Dj3Ok4Bk.js +3 -0
  57. package/dist/chunk-FPAJGGOC-nWbO3e1v.js +12252 -0
  58. package/dist/chunk-FWNWRKHM-CjcwRw2u.js +56 -0
  59. package/dist/chunk-HN2XXSSU-Lv4Ef0co.js +74 -0
  60. package/dist/chunk-JA3XYJ7Z-Dhh1_u_p.js +463 -0
  61. package/dist/chunk-JZLCHNYA-vrb_Ucuc.js +4861 -0
  62. package/dist/chunk-LBM3YZW2-D8lrIfGo.js +19 -0
  63. package/dist/chunk-LHMN2FUI-DLQ0i8hl.js +19 -0
  64. package/dist/chunk-MI3HLSF2-Dy6F9XgR.js +1140 -0
  65. package/dist/chunk-N4CR4FBY-BdaGxHlZ.js +39 -0
  66. package/dist/chunk-O7ZBX7Z2-D8Yaukr5.js +26 -0
  67. package/dist/chunk-QN33PNHL-DnPw7tni.js +23 -0
  68. package/dist/chunk-QXUST7PY-D9mGQ-UP.js +486 -0
  69. package/dist/chunk-QZHKN3VN-ClanGuXA.js +11 -0
  70. package/dist/chunk-S3R3BYOJ-DHTsHczu.js +1074 -0
  71. package/dist/chunk-S6J4BHB3-8RrHs9bD.js +19 -0
  72. package/dist/chunk-T53DSG4Q-C2BDA_QX.js +24 -0
  73. package/dist/chunk-TZMSLE5B-F4nHm7N1.js +55 -0
  74. package/dist/chunk-XAJISQIX-Bz7ki7DY.js +135 -0
  75. package/dist/clarity-CsFOkG3c.js +2 -0
  76. package/dist/classDiagram-2ON5EDUG-C_ZEMlKu.js +33 -0
  77. package/dist/classDiagram-v2-WZHVMYZB-BHb5nZOM.js +33 -0
  78. package/dist/clojure-u1TZmmdQ.js +2 -0
  79. package/dist/clone-BRioDvRr.js +7 -0
  80. package/dist/cmake-CA3Lfsq7.js +2 -0
  81. package/dist/cmake-K1k8HMYR.js +2 -0
  82. package/dist/cobol-DhzLzJib.js +10 -0
  83. package/dist/codeowners-l4eSxhtA.js +2 -0
  84. package/dist/codeql-5CeQaktT.js +2 -0
  85. package/dist/coffee-P21KTKMu.js +3 -0
  86. package/dist/common-lisp-BVttGbYJ.js +2 -0
  87. package/dist/components/ChatConversation/ChatConversation.vue.d.ts +7 -0
  88. package/dist/components/ChatConversation/index.d.ts +1 -0
  89. package/dist/components/ChatPromptInputProvider/ChatPromptInputProvider.vue.d.ts +17 -0
  90. package/dist/components/ChatPromptInputProvider/index.d.ts +1 -0
  91. package/dist/components/ai-elements/artifact/Artifact.vue.d.ts +21 -0
  92. package/dist/components/ai-elements/artifact/ArtifactAction.vue.d.ts +32 -0
  93. package/dist/components/ai-elements/artifact/ArtifactActions.vue.d.ts +21 -0
  94. package/dist/components/ai-elements/artifact/ArtifactClose.vue.d.ts +27 -0
  95. package/dist/components/ai-elements/artifact/ArtifactContent.vue.d.ts +21 -0
  96. package/dist/components/ai-elements/artifact/ArtifactDescription.vue.d.ts +21 -0
  97. package/dist/components/ai-elements/artifact/ArtifactHeader.vue.d.ts +21 -0
  98. package/dist/components/ai-elements/artifact/ArtifactTitle.vue.d.ts +21 -0
  99. package/dist/components/ai-elements/artifact/index.d.ts +8 -0
  100. package/dist/components/ai-elements/canvas/index.d.ts +1 -0
  101. package/dist/components/ai-elements/chain-of-thought/ChainOfThought.vue.d.ts +30 -0
  102. package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtContent.vue.d.ts +21 -0
  103. package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtHeader.vue.d.ts +21 -0
  104. package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtImage.vue.d.ts +22 -0
  105. package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtSearchResult.vue.d.ts +21 -0
  106. package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtSearchResults.vue.d.ts +21 -0
  107. package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtStep.vue.d.ts +28 -0
  108. package/dist/components/ai-elements/chain-of-thought/context.d.ts +6 -0
  109. package/dist/components/ai-elements/chain-of-thought/index.d.ts +7 -0
  110. package/dist/components/ai-elements/checkpoint/Checkpoint.vue.d.ts +21 -0
  111. package/dist/components/ai-elements/checkpoint/CheckpointIcon.vue.d.ts +21 -0
  112. package/dist/components/ai-elements/checkpoint/CheckpointTrigger.vue.d.ts +27 -0
  113. package/dist/components/ai-elements/checkpoint/index.d.ts +3 -0
  114. package/dist/components/ai-elements/code-block/CodeBlock.vue.d.ts +27 -0
  115. package/dist/components/ai-elements/code-block/CodeBlockCopyButton.vue.d.ts +30 -0
  116. package/dist/components/ai-elements/code-block/context.d.ts +5 -0
  117. package/dist/components/ai-elements/code-block/index.d.ts +2 -0
  118. package/dist/components/ai-elements/code-block/utils.d.ts +2 -0
  119. package/dist/components/ai-elements/confirmation/Confirmation.vue.d.ts +25 -0
  120. package/dist/components/ai-elements/confirmation/ConfirmationAccepted.vue.d.ts +17 -0
  121. package/dist/components/ai-elements/confirmation/ConfirmationAction.vue.d.ts +17 -0
  122. package/dist/components/ai-elements/confirmation/ConfirmationActions.vue.d.ts +21 -0
  123. package/dist/components/ai-elements/confirmation/ConfirmationRejected.vue.d.ts +17 -0
  124. package/dist/components/ai-elements/confirmation/ConfirmationRequest.vue.d.ts +17 -0
  125. package/dist/components/ai-elements/confirmation/ConfirmationTitle.vue.d.ts +21 -0
  126. package/dist/components/ai-elements/confirmation/context.d.ts +29 -0
  127. package/dist/components/ai-elements/confirmation/index.d.ts +7 -0
  128. package/dist/components/ai-elements/connection/Connection.vue.d.ts +3 -0
  129. package/dist/components/ai-elements/connection/index.d.ts +1 -0
  130. package/dist/components/ai-elements/context/Context.vue.d.ts +25 -0
  131. package/dist/components/ai-elements/context/ContextCacheUsage.vue.d.ts +21 -0
  132. package/dist/components/ai-elements/context/ContextContent.vue.d.ts +21 -0
  133. package/dist/components/ai-elements/context/ContextContentBody.vue.d.ts +21 -0
  134. package/dist/components/ai-elements/context/ContextContentFooter.vue.d.ts +21 -0
  135. package/dist/components/ai-elements/context/ContextContentHeader.vue.d.ts +21 -0
  136. package/dist/components/ai-elements/context/ContextIcon.vue.d.ts +2 -0
  137. package/dist/components/ai-elements/context/ContextInputUsage.vue.d.ts +21 -0
  138. package/dist/components/ai-elements/context/ContextOutputUsage.vue.d.ts +21 -0
  139. package/dist/components/ai-elements/context/ContextReasoningUsage.vue.d.ts +21 -0
  140. package/dist/components/ai-elements/context/ContextTrigger.vue.d.ts +17 -0
  141. package/dist/components/ai-elements/context/TokensWithCost.vue.d.ts +6 -0
  142. package/dist/components/ai-elements/context/context.d.ts +11 -0
  143. package/dist/components/ai-elements/context/index.d.ts +12 -0
  144. package/dist/components/ai-elements/controls/Controls.vue.d.ts +6 -0
  145. package/dist/components/ai-elements/controls/index.d.ts +1 -0
  146. package/dist/components/ai-elements/conversation/Conversation.vue.d.ts +47 -0
  147. package/dist/components/ai-elements/conversation/ConversationContent.vue.d.ts +21 -0
  148. package/dist/components/ai-elements/conversation/ConversationEmptyState.vue.d.ts +27 -0
  149. package/dist/components/ai-elements/conversation/ConversationScrollButton.vue.d.ts +6 -0
  150. package/dist/components/ai-elements/conversation/index.d.ts +4 -0
  151. package/dist/components/ai-elements/edge/Animated.vue.d.ts +4 -0
  152. package/dist/components/ai-elements/edge/Temporary.vue.d.ts +4 -0
  153. package/dist/components/ai-elements/edge/index.d.ts +2 -0
  154. package/dist/components/ai-elements/image/Image.vue.d.ts +8 -0
  155. package/dist/components/ai-elements/image/index.d.ts +1 -0
  156. package/dist/components/ai-elements/inline-citation/InlineCitation.vue.d.ts +21 -0
  157. package/dist/components/ai-elements/inline-citation/InlineCitationCard.vue.d.ts +24 -0
  158. package/dist/components/ai-elements/inline-citation/InlineCitationCardBody.vue.d.ts +21 -0
  159. package/dist/components/ai-elements/inline-citation/InlineCitationCardTrigger.vue.d.ts +7 -0
  160. package/dist/components/ai-elements/inline-citation/InlineCitationCarousel.vue.d.ts +21 -0
  161. package/dist/components/ai-elements/inline-citation/InlineCitationCarouselContent.vue.d.ts +17 -0
  162. package/dist/components/ai-elements/inline-citation/InlineCitationCarouselHeader.vue.d.ts +21 -0
  163. package/dist/components/ai-elements/inline-citation/InlineCitationCarouselIndex.vue.d.ts +21 -0
  164. package/dist/components/ai-elements/inline-citation/InlineCitationCarouselItem.vue.d.ts +21 -0
  165. package/dist/components/ai-elements/inline-citation/InlineCitationCarouselNext.vue.d.ts +6 -0
  166. package/dist/components/ai-elements/inline-citation/InlineCitationCarouselPrev.vue.d.ts +6 -0
  167. package/dist/components/ai-elements/inline-citation/InlineCitationQuote.vue.d.ts +21 -0
  168. package/dist/components/ai-elements/inline-citation/InlineCitationSource.vue.d.ts +24 -0
  169. package/dist/components/ai-elements/inline-citation/InlineCitationText.vue.d.ts +21 -0
  170. package/dist/components/ai-elements/inline-citation/index.d.ts +14 -0
  171. package/dist/components/ai-elements/loader/Loader.vue.d.ts +9 -0
  172. package/dist/components/ai-elements/loader/LoaderIcon.vue.d.ts +7 -0
  173. package/dist/components/ai-elements/loader/index.d.ts +2 -0
  174. package/dist/components/ai-elements/message/Message.vue.d.ts +23 -0
  175. package/dist/components/ai-elements/message/MessageAction.vue.d.ts +28 -0
  176. package/dist/components/ai-elements/message/MessageActions.vue.d.ts +21 -0
  177. package/dist/components/ai-elements/message/MessageAttachment.vue.d.ts +12 -0
  178. package/dist/components/ai-elements/message/MessageAttachments.vue.d.ts +21 -0
  179. package/dist/components/ai-elements/message/MessageAvatar.vue.d.ts +8 -0
  180. package/dist/components/ai-elements/message/MessageBranch.vue.d.ts +28 -0
  181. package/dist/components/ai-elements/message/MessageBranchContent.vue.d.ts +6 -0
  182. package/dist/components/ai-elements/message/MessageBranchNext.vue.d.ts +17 -0
  183. package/dist/components/ai-elements/message/MessageBranchPage.vue.d.ts +6 -0
  184. package/dist/components/ai-elements/message/MessageBranchPrevious.vue.d.ts +17 -0
  185. package/dist/components/ai-elements/message/MessageBranchSelector.vue.d.ts +21 -0
  186. package/dist/components/ai-elements/message/MessageContent.vue.d.ts +21 -0
  187. package/dist/components/ai-elements/message/MessageResponse.vue.d.ts +7 -0
  188. package/dist/components/ai-elements/message/MessageToolbar.vue.d.ts +21 -0
  189. package/dist/components/ai-elements/message/context.d.ts +11 -0
  190. package/dist/components/ai-elements/message/index.d.ts +15 -0
  191. package/dist/components/ai-elements/model-selector/ModelSelector.vue.d.ts +17 -0
  192. package/dist/components/ai-elements/model-selector/ModelSelectorContent.vue.d.ts +24 -0
  193. package/dist/components/ai-elements/model-selector/ModelSelectorDialog.vue.d.ts +17 -0
  194. package/dist/components/ai-elements/model-selector/ModelSelectorEmpty.vue.d.ts +17 -0
  195. package/dist/components/ai-elements/model-selector/ModelSelectorGroup.vue.d.ts +17 -0
  196. package/dist/components/ai-elements/model-selector/ModelSelectorInput.vue.d.ts +6 -0
  197. package/dist/components/ai-elements/model-selector/ModelSelectorItem.vue.d.ts +17 -0
  198. package/dist/components/ai-elements/model-selector/ModelSelectorList.vue.d.ts +17 -0
  199. package/dist/components/ai-elements/model-selector/ModelSelectorLogo.vue.d.ts +7 -0
  200. package/dist/components/ai-elements/model-selector/ModelSelectorLogoGroup.vue.d.ts +21 -0
  201. package/dist/components/ai-elements/model-selector/ModelSelectorName.vue.d.ts +21 -0
  202. package/dist/components/ai-elements/model-selector/ModelSelectorSeparator.vue.d.ts +2 -0
  203. package/dist/components/ai-elements/model-selector/ModelSelectorShortcut.vue.d.ts +17 -0
  204. package/dist/components/ai-elements/model-selector/ModelSelectorTrigger.vue.d.ts +17 -0
  205. package/dist/components/ai-elements/model-selector/index.d.ts +14 -0
  206. package/dist/components/ai-elements/node/Node.vue.d.ts +26 -0
  207. package/dist/components/ai-elements/node/NodeAction.vue.d.ts +17 -0
  208. package/dist/components/ai-elements/node/NodeContent.vue.d.ts +21 -0
  209. package/dist/components/ai-elements/node/NodeDescription.vue.d.ts +17 -0
  210. package/dist/components/ai-elements/node/NodeFooter.vue.d.ts +21 -0
  211. package/dist/components/ai-elements/node/NodeHeader.vue.d.ts +21 -0
  212. package/dist/components/ai-elements/node/NodeTitle.vue.d.ts +17 -0
  213. package/dist/components/ai-elements/node/index.d.ts +7 -0
  214. package/dist/components/ai-elements/open-in-chat/OpenIn.vue.d.ts +20 -0
  215. package/dist/components/ai-elements/open-in-chat/OpenInContent.vue.d.ts +21 -0
  216. package/dist/components/ai-elements/open-in-chat/OpenInItemLink.vue.d.ts +8 -0
  217. package/dist/components/ai-elements/open-in-chat/OpenInTrigger.vue.d.ts +17 -0
  218. package/dist/components/ai-elements/open-in-chat/context.d.ts +7 -0
  219. package/dist/components/ai-elements/open-in-chat/index.d.ts +9 -0
  220. package/dist/components/ai-elements/open-in-chat/providers/icons/ChatGPT.vue.d.ts +2 -0
  221. package/dist/components/ai-elements/open-in-chat/providers/icons/Claude.vue.d.ts +2 -0
  222. package/dist/components/ai-elements/open-in-chat/providers/icons/Cursor.vue.d.ts +2 -0
  223. package/dist/components/ai-elements/open-in-chat/providers/icons/Github.vue.d.ts +2 -0
  224. package/dist/components/ai-elements/open-in-chat/providers/icons/Scira.vue.d.ts +2 -0
  225. package/dist/components/ai-elements/open-in-chat/providers/icons/V0.vue.d.ts +2 -0
  226. package/dist/components/ai-elements/open-in-chat/providers/icons/index.d.ts +6 -0
  227. package/dist/components/ai-elements/open-in-chat/providers/index.d.ts +38 -0
  228. package/dist/components/ai-elements/open-in-chat/providers/items/OpenInChatGPT.vue.d.ts +2 -0
  229. package/dist/components/ai-elements/open-in-chat/providers/items/OpenInClaude.vue.d.ts +2 -0
  230. package/dist/components/ai-elements/open-in-chat/providers/items/OpenInCursor.vue.d.ts +2 -0
  231. package/dist/components/ai-elements/open-in-chat/providers/items/OpenInScira.vue.d.ts +2 -0
  232. package/dist/components/ai-elements/open-in-chat/providers/items/OpenInT3.vue.d.ts +2 -0
  233. package/dist/components/ai-elements/open-in-chat/providers/items/OpenInv0.vue.d.ts +2 -0
  234. package/dist/components/ai-elements/panel/Panel.vue.d.ts +25 -0
  235. package/dist/components/ai-elements/panel/index.d.ts +1 -0
  236. package/dist/components/ai-elements/plan/Plan.vue.d.ts +24 -0
  237. package/dist/components/ai-elements/plan/PlanAction.vue.d.ts +17 -0
  238. package/dist/components/ai-elements/plan/PlanContent.vue.d.ts +17 -0
  239. package/dist/components/ai-elements/plan/PlanDescription.vue.d.ts +22 -0
  240. package/dist/components/ai-elements/plan/PlanFooter.vue.d.ts +17 -0
  241. package/dist/components/ai-elements/plan/PlanHeader.vue.d.ts +21 -0
  242. package/dist/components/ai-elements/plan/PlanTitle.vue.d.ts +18 -0
  243. package/dist/components/ai-elements/plan/PlanTrigger.vue.d.ts +6 -0
  244. package/dist/components/ai-elements/plan/context.d.ts +7 -0
  245. package/dist/components/ai-elements/plan/index.d.ts +8 -0
  246. package/dist/components/ai-elements/prompt-input/PromptInput.vue.d.ts +46 -0
  247. package/dist/components/ai-elements/prompt-input/PromptInputActionAddAttachments.vue.d.ts +7 -0
  248. package/dist/components/ai-elements/prompt-input/PromptInputActionMenu.vue.d.ts +21 -0
  249. package/dist/components/ai-elements/prompt-input/PromptInputActionMenuContent.vue.d.ts +23 -0
  250. package/dist/components/ai-elements/prompt-input/PromptInputActionMenuItem.vue.d.ts +23 -0
  251. package/dist/components/ai-elements/prompt-input/PromptInputActionMenuTrigger.vue.d.ts +23 -0
  252. package/dist/components/ai-elements/prompt-input/PromptInputAttachment.vue.d.ts +8 -0
  253. package/dist/components/ai-elements/prompt-input/PromptInputAttachments.vue.d.ts +23 -0
  254. package/dist/components/ai-elements/prompt-input/PromptInputBody.vue.d.ts +21 -0
  255. package/dist/components/ai-elements/prompt-input/PromptInputButton.vue.d.ts +20 -0
  256. package/dist/components/ai-elements/prompt-input/PromptInputCommand.vue.d.ts +23 -0
  257. package/dist/components/ai-elements/prompt-input/PromptInputCommandEmpty.vue.d.ts +23 -0
  258. package/dist/components/ai-elements/prompt-input/PromptInputCommandGroup.vue.d.ts +23 -0
  259. package/dist/components/ai-elements/prompt-input/PromptInputCommandInput.vue.d.ts +8 -0
  260. package/dist/components/ai-elements/prompt-input/PromptInputCommandItem.vue.d.ts +23 -0
  261. package/dist/components/ai-elements/prompt-input/PromptInputCommandList.vue.d.ts +8 -0
  262. package/dist/components/ai-elements/prompt-input/PromptInputCommandSeparator.vue.d.ts +8 -0
  263. package/dist/components/ai-elements/prompt-input/PromptInputFooter.vue.d.ts +23 -0
  264. package/dist/components/ai-elements/prompt-input/PromptInputHeader.vue.d.ts +23 -0
  265. package/dist/components/ai-elements/prompt-input/PromptInputHoverCard.vue.d.ts +26 -0
  266. package/dist/components/ai-elements/prompt-input/PromptInputHoverCardContent.vue.d.ts +23 -0
  267. package/dist/components/ai-elements/prompt-input/PromptInputHoverCardTrigger.vue.d.ts +21 -0
  268. package/dist/components/ai-elements/prompt-input/PromptInputProvider.vue.d.ts +43 -0
  269. package/dist/components/ai-elements/prompt-input/PromptInputSelect.vue.d.ts +21 -0
  270. package/dist/components/ai-elements/prompt-input/PromptInputSelectContent.vue.d.ts +23 -0
  271. package/dist/components/ai-elements/prompt-input/PromptInputSelectItem.vue.d.ts +23 -0
  272. package/dist/components/ai-elements/prompt-input/PromptInputSelectTrigger.vue.d.ts +23 -0
  273. package/dist/components/ai-elements/prompt-input/PromptInputSelectValue.vue.d.ts +23 -0
  274. package/dist/components/ai-elements/prompt-input/PromptInputSpeechButton.vue.d.ts +51 -0
  275. package/dist/components/ai-elements/prompt-input/PromptInputSubmit.vue.d.ts +30 -0
  276. package/dist/components/ai-elements/prompt-input/PromptInputTab.vue.d.ts +21 -0
  277. package/dist/components/ai-elements/prompt-input/PromptInputTabBody.vue.d.ts +21 -0
  278. package/dist/components/ai-elements/prompt-input/PromptInputTabItem.vue.d.ts +21 -0
  279. package/dist/components/ai-elements/prompt-input/PromptInputTabLabel.vue.d.ts +21 -0
  280. package/dist/components/ai-elements/prompt-input/PromptInputTabsList.vue.d.ts +21 -0
  281. package/dist/components/ai-elements/prompt-input/PromptInputTextarea.vue.d.ts +8 -0
  282. package/dist/components/ai-elements/prompt-input/PromptInputTools.vue.d.ts +21 -0
  283. package/dist/components/ai-elements/prompt-input/context.d.ts +22 -0
  284. package/dist/components/ai-elements/prompt-input/index.d.ts +39 -0
  285. package/dist/components/ai-elements/prompt-input/types.d.ts +24 -0
  286. package/dist/components/ai-elements/queue/Queue.vue.d.ts +21 -0
  287. package/dist/components/ai-elements/queue/QueueItem.vue.d.ts +21 -0
  288. package/dist/components/ai-elements/queue/QueueItemAction.vue.d.ts +21 -0
  289. package/dist/components/ai-elements/queue/QueueItemActions.vue.d.ts +21 -0
  290. package/dist/components/ai-elements/queue/QueueItemAttachment.vue.d.ts +21 -0
  291. package/dist/components/ai-elements/queue/QueueItemContent.vue.d.ts +24 -0
  292. package/dist/components/ai-elements/queue/QueueItemDescription.vue.d.ts +24 -0
  293. package/dist/components/ai-elements/queue/QueueItemFile.vue.d.ts +21 -0
  294. package/dist/components/ai-elements/queue/QueueItemImage.vue.d.ts +6 -0
  295. package/dist/components/ai-elements/queue/QueueItemIndicator.vue.d.ts +9 -0
  296. package/dist/components/ai-elements/queue/QueueList.vue.d.ts +21 -0
  297. package/dist/components/ai-elements/queue/QueueSection.vue.d.ts +24 -0
  298. package/dist/components/ai-elements/queue/QueueSectionContent.vue.d.ts +21 -0
  299. package/dist/components/ai-elements/queue/QueueSectionLabel.vue.d.ts +23 -0
  300. package/dist/components/ai-elements/queue/QueueSectionTrigger.vue.d.ts +21 -0
  301. package/dist/components/ai-elements/queue/index.d.ts +15 -0
  302. package/dist/components/ai-elements/reasoning/Reasoning.vue.d.ts +35 -0
  303. package/dist/components/ai-elements/reasoning/ReasoningContent.vue.d.ts +7 -0
  304. package/dist/components/ai-elements/reasoning/ReasoningTrigger.vue.d.ts +21 -0
  305. package/dist/components/ai-elements/reasoning/context.d.ts +9 -0
  306. package/dist/components/ai-elements/reasoning/index.d.ts +3 -0
  307. package/dist/components/ai-elements/shimmer/Shimmer.vue.d.ts +28 -0
  308. package/dist/components/ai-elements/shimmer/index.d.ts +1 -0
  309. package/dist/components/ai-elements/sources/Source.vue.d.ts +23 -0
  310. package/dist/components/ai-elements/sources/Sources.vue.d.ts +21 -0
  311. package/dist/components/ai-elements/sources/SourcesContent.vue.d.ts +21 -0
  312. package/dist/components/ai-elements/sources/SourcesTrigger.vue.d.ts +22 -0
  313. package/dist/components/ai-elements/sources/index.d.ts +4 -0
  314. package/dist/components/ai-elements/suggestion/Suggestion.vue.d.ts +31 -0
  315. package/dist/components/ai-elements/suggestion/Suggestions.vue.d.ts +21 -0
  316. package/dist/components/ai-elements/suggestion/index.d.ts +2 -0
  317. package/dist/components/ai-elements/task/Task.vue.d.ts +28 -0
  318. package/dist/components/ai-elements/task/TaskContent.vue.d.ts +21 -0
  319. package/dist/components/ai-elements/task/TaskItem.vue.d.ts +21 -0
  320. package/dist/components/ai-elements/task/TaskItemFile.vue.d.ts +21 -0
  321. package/dist/components/ai-elements/task/TaskTrigger.vue.d.ts +22 -0
  322. package/dist/components/ai-elements/task/index.d.ts +5 -0
  323. package/dist/components/ai-elements/tool/Tool.vue.d.ts +21 -0
  324. package/dist/components/ai-elements/tool/ToolContent.vue.d.ts +21 -0
  325. package/dist/components/ai-elements/tool/ToolHeader.vue.d.ts +10 -0
  326. package/dist/components/ai-elements/tool/ToolInput.vue.d.ts +8 -0
  327. package/dist/components/ai-elements/tool/ToolOutput.vue.d.ts +9 -0
  328. package/dist/components/ai-elements/tool/ToolStatusBadge.vue.d.ts +6 -0
  329. package/dist/components/ai-elements/tool/index.d.ts +5 -0
  330. package/dist/components/ai-elements/toolbar/Toolbar.vue.d.ts +25 -0
  331. package/dist/components/ai-elements/toolbar/index.d.ts +1 -0
  332. package/dist/components/ai-elements/web-preview/WebPreview.vue.d.ts +34 -0
  333. package/dist/components/ai-elements/web-preview/WebPreviewBody.vue.d.ts +24 -0
  334. package/dist/components/ai-elements/web-preview/WebPreviewConsole.vue.d.ts +30 -0
  335. package/dist/components/ai-elements/web-preview/WebPreviewNavigation.vue.d.ts +21 -0
  336. package/dist/components/ai-elements/web-preview/WebPreviewNavigationButton.vue.d.ts +30 -0
  337. package/dist/components/ai-elements/web-preview/WebPreviewUrl.vue.d.ts +9 -0
  338. package/dist/components/ai-elements/web-preview/context.d.ts +9 -0
  339. package/dist/components/ai-elements/web-preview/index.d.ts +7 -0
  340. package/dist/components/ui/alert/Alert.vue.d.ts +23 -0
  341. package/dist/components/ui/alert/AlertDescription.vue.d.ts +21 -0
  342. package/dist/components/ui/alert/AlertTitle.vue.d.ts +21 -0
  343. package/dist/components/ui/alert/index.d.ts +8 -0
  344. package/dist/components/ui/avatar/Avatar.vue.d.ts +21 -0
  345. package/dist/components/ui/avatar/AvatarFallback.vue.d.ts +22 -0
  346. package/dist/components/ui/avatar/AvatarImage.vue.d.ts +18 -0
  347. package/dist/components/ui/avatar/index.d.ts +3 -0
  348. package/dist/components/ui/badge/Badge.vue.d.ts +24 -0
  349. package/dist/components/ui/badge/index.d.ts +6 -0
  350. package/dist/components/ui/button/Button.vue.d.ts +27 -0
  351. package/dist/components/ui/button/index.d.ts +7 -0
  352. package/dist/components/ui/button-group/ButtonGroup.vue.d.ts +23 -0
  353. package/dist/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +9 -0
  354. package/dist/components/ui/button-group/ButtonGroupText.vue.d.ts +26 -0
  355. package/dist/components/ui/button-group/index.d.ts +8 -0
  356. package/dist/components/ui/card/Card.vue.d.ts +21 -0
  357. package/dist/components/ui/card/CardAction.vue.d.ts +21 -0
  358. package/dist/components/ui/card/CardContent.vue.d.ts +21 -0
  359. package/dist/components/ui/card/CardDescription.vue.d.ts +21 -0
  360. package/dist/components/ui/card/CardFooter.vue.d.ts +21 -0
  361. package/dist/components/ui/card/CardHeader.vue.d.ts +21 -0
  362. package/dist/components/ui/card/CardTitle.vue.d.ts +21 -0
  363. package/dist/components/ui/card/index.d.ts +7 -0
  364. package/dist/components/ui/carousel/CarouselContent.vue.d.ts +22 -0
  365. package/dist/components/ui/carousel/CarouselItem.vue.d.ts +18 -0
  366. package/dist/components/ui/carousel/CarouselNext.vue.d.ts +26 -0
  367. package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +26 -0
  368. package/dist/components/ui/carousel/index.d.ts +7 -0
  369. package/dist/components/ui/carousel/interface.d.ts +19 -0
  370. package/dist/components/ui/collapsible/Collapsible.vue.d.ts +24 -0
  371. package/dist/components/ui/collapsible/CollapsibleContent.vue.d.ts +18 -0
  372. package/dist/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +18 -0
  373. package/dist/components/ui/collapsible/index.d.ts +3 -0
  374. package/dist/components/ui/command/Command.vue.d.ts +40 -0
  375. package/dist/components/ui/command/CommandDialog.vue.d.ts +32 -0
  376. package/dist/components/ui/command/CommandEmpty.vue.d.ts +22 -0
  377. package/dist/components/ui/command/CommandGroup.vue.d.ts +23 -0
  378. package/dist/components/ui/command/CommandInput.vue.d.ts +7 -0
  379. package/dist/components/ui/command/CommandItem.vue.d.ts +30 -0
  380. package/dist/components/ui/command/CommandList.vue.d.ts +22 -0
  381. package/dist/components/ui/command/CommandSeparator.vue.d.ts +22 -0
  382. package/dist/components/ui/command/CommandShortcut.vue.d.ts +21 -0
  383. package/dist/components/ui/command/index.d.ts +90 -0
  384. package/dist/components/ui/dialog/Dialog.vue.d.ts +25 -0
  385. package/dist/components/ui/dialog/DialogClose.vue.d.ts +18 -0
  386. package/dist/components/ui/dialog/DialogContent.vue.d.ts +39 -0
  387. package/dist/components/ui/dialog/DialogDescription.vue.d.ts +22 -0
  388. package/dist/components/ui/dialog/DialogFooter.vue.d.ts +21 -0
  389. package/dist/components/ui/dialog/DialogHeader.vue.d.ts +21 -0
  390. package/dist/components/ui/dialog/DialogOverlay.vue.d.ts +22 -0
  391. package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +36 -0
  392. package/dist/components/ui/dialog/DialogTitle.vue.d.ts +22 -0
  393. package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +18 -0
  394. package/dist/components/ui/dialog/index.d.ts +10 -0
  395. package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +24 -0
  396. package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +29 -0
  397. package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
  398. package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +18 -0
  399. package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +26 -0
  400. package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +23 -0
  401. package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +22 -0
  402. package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +27 -0
  403. package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +7 -0
  404. package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +21 -0
  405. package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +22 -0
  406. package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +38 -0
  407. package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +23 -0
  408. package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +18 -0
  409. package/dist/components/ui/dropdown-menu/index.d.ts +15 -0
  410. package/dist/components/ui/hover-card/HoverCard.vue.d.ts +24 -0
  411. package/dist/components/ui/hover-card/HoverCardContent.vue.d.ts +24 -0
  412. package/dist/components/ui/hover-card/HoverCardTrigger.vue.d.ts +18 -0
  413. package/dist/components/ui/hover-card/index.d.ts +3 -0
  414. package/dist/components/ui/input/Input.vue.d.ts +12 -0
  415. package/dist/components/ui/input/index.d.ts +1 -0
  416. package/dist/components/ui/input-group/InputGroup.vue.d.ts +21 -0
  417. package/dist/components/ui/input-group/InputGroupAddon.vue.d.ts +25 -0
  418. package/dist/components/ui/input-group/InputGroupButton.vue.d.ts +21 -0
  419. package/dist/components/ui/input-group/InputGroupInput.vue.d.ts +6 -0
  420. package/dist/components/ui/input-group/InputGroupText.vue.d.ts +21 -0
  421. package/dist/components/ui/input-group/InputGroupTextarea.vue.d.ts +6 -0
  422. package/dist/components/ui/input-group/index.d.ts +22 -0
  423. package/dist/components/ui/progress/Progress.vue.d.ts +9 -0
  424. package/dist/components/ui/progress/index.d.ts +1 -0
  425. package/dist/components/ui/scroll-area/ScrollArea.vue.d.ts +22 -0
  426. package/dist/components/ui/scroll-area/ScrollBar.vue.d.ts +9 -0
  427. package/dist/components/ui/scroll-area/index.d.ts +2 -0
  428. package/dist/components/ui/select/Select.vue.d.ts +28 -0
  429. package/dist/components/ui/select/SelectContent.vue.d.ts +32 -0
  430. package/dist/components/ui/select/SelectGroup.vue.d.ts +18 -0
  431. package/dist/components/ui/select/SelectItem.vue.d.ts +23 -0
  432. package/dist/components/ui/select/SelectItemText.vue.d.ts +18 -0
  433. package/dist/components/ui/select/SelectLabel.vue.d.ts +22 -0
  434. package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +22 -0
  435. package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +22 -0
  436. package/dist/components/ui/select/SelectSeparator.vue.d.ts +7 -0
  437. package/dist/components/ui/select/SelectTrigger.vue.d.ts +25 -0
  438. package/dist/components/ui/select/SelectValue.vue.d.ts +18 -0
  439. package/dist/components/ui/select/index.d.ts +11 -0
  440. package/dist/components/ui/separator/Separator.vue.d.ts +10 -0
  441. package/dist/components/ui/separator/index.d.ts +1 -0
  442. package/dist/components/ui/textarea/Textarea.vue.d.ts +12 -0
  443. package/dist/components/ui/textarea/index.d.ts +1 -0
  444. package/dist/components/ui/tooltip/Tooltip.vue.d.ts +24 -0
  445. package/dist/components/ui/tooltip/TooltipContent.vue.d.ts +30 -0
  446. package/dist/components/ui/tooltip/TooltipProvider.vue.d.ts +20 -0
  447. package/dist/components/ui/tooltip/TooltipTrigger.vue.d.ts +18 -0
  448. package/dist/components/ui/tooltip/index.d.ts +4 -0
  449. package/dist/composables/useChat.d.ts +8 -0
  450. package/dist/coq-CZjzQDnb.js +2 -0
  451. package/dist/cose-bilkent-S5V4N54A-Dy-do3hl.js +2250 -0
  452. package/dist/cpp-C6JyDxZu.js +16 -0
  453. package/dist/cpp-GAIEvywS.js +6 -0
  454. package/dist/crystal-BJfcoGS4.js +16 -0
  455. package/dist/csharp-BbUwciq4.js +2 -0
  456. package/dist/csharp-JE-9ns6W.js +2 -0
  457. package/dist/css-Crp0iO_o.js +2 -0
  458. package/dist/css-Cy-fypCV.js +2 -0
  459. package/dist/csv-DJ7xG4PY.js +2 -0
  460. package/dist/csv-DtT8LmMi.js +2 -0
  461. package/dist/cue-BwjaQTCz.js +2 -0
  462. package/dist/cypher-B7e06enY.js +2 -0
  463. package/dist/cytoscape.esm-CWqS6puh.js +18100 -0
  464. package/dist/d-q60wkid4.js +2 -0
  465. package/dist/dagre-6UL2VRFP-B38_sZWh.js +298 -0
  466. package/dist/dagre-DtvXp3zQ.js +1395 -0
  467. package/dist/dark-plus-D_fA88xf.js +2 -0
  468. package/dist/dart-DjkWvBgr.js +2 -0
  469. package/dist/dax-lueLIZQI.js +2 -0
  470. package/dist/defaultLocale-CoJOMwPq.js +177 -0
  471. package/dist/desktop-DaphHKD5.js +2 -0
  472. package/dist/diagram-PSM6KHXK-D6swsG-y.js +497 -0
  473. package/dist/diagram-QEK2KX5R-B7Hi0LAL.js +226 -0
  474. package/dist/diagram-S2PKOQOG-DLx7PlpM.js +144 -0
  475. package/dist/diff-COB48_rb.js +2 -0
  476. package/dist/diff-DlXnqUMK.js +2 -0
  477. package/dist/dist-CrnZo_23.js +49 -0
  478. package/dist/docker-DZKmuwpA.js +2 -0
  479. package/dist/dotenv-hmNahw-8.js +2 -0
  480. package/dist/dracula-ddM3a7au.js +2 -0
  481. package/dist/dracula-soft-vfA-TA_S.js +2 -0
  482. package/dist/dream-maker-Cxa2a8FY.js +2 -0
  483. package/dist/edge-Dm7HQa9N.js +12 -0
  484. package/dist/elixir-BkvHyCNd.js +5 -0
  485. package/dist/elm-rz9wTSrn.js +4 -0
  486. package/dist/emacs-lisp-w5URnZPZ.js +2 -0
  487. package/dist/erDiagram-Q2GNP2WA-B67FD8rh.js +1603 -0
  488. package/dist/erb-DyrwQYVz.js +25 -0
  489. package/dist/erlang-DLFKZs5N.js +3 -0
  490. package/dist/everforest-dark-DAPtv4yI.js +2 -0
  491. package/dist/everforest-light-nQzYm8GO.js +2 -0
  492. package/dist/fennel-CJDNJZTU.js +2 -0
  493. package/dist/fish-BkYaLI4-.js +2 -0
  494. package/dist/flowDiagram-NV44I4VS-DHXgrdJY.js +4132 -0
  495. package/dist/fluent-DShra35H.js +2 -0
  496. package/dist/fortran-fixed-form-SzB0QY3n.js +3 -0
  497. package/dist/fortran-free-form-CgbOAJnm.js +2 -0
  498. package/dist/fortran-free-form-Js8JrQQE.js +2 -0
  499. package/dist/fsharp-CtWO0jvL.js +3 -0
  500. package/dist/ganttDiagram-JELNMOA3-CGIqBt1P.js +3009 -0
  501. package/dist/gdresource-CgyXKpe4.js +8 -0
  502. package/dist/gdscript-DnurdQnh.js +2 -0
  503. package/dist/gdscript-STdmRKv-.js +2 -0
  504. package/dist/gdshader-Bs2s6cSB.js +2 -0
  505. package/dist/gdshader-YiVaPq6D.js +2 -0
  506. package/dist/genie-BppkvzZC.js +2 -0
  507. package/dist/gherkin-Bp4zdWMb.js +2 -0
  508. package/dist/git-commit--0GGwZNa.js +3 -0
  509. package/dist/git-rebase-orw-bSIZ.js +3 -0
  510. package/dist/gitGraph-F6HP7TQM-CH5XLm5Z.js +8 -0
  511. package/dist/gitGraphDiagram-NY62KEGX-Cq8AbOhM.js +634 -0
  512. package/dist/github-dark-CMN1tZPn.js +2 -0
  513. package/dist/github-dark-DxCf_Qaz.js +2 -0
  514. package/dist/github-dark-default-DVCJut02.js +2 -0
  515. package/dist/github-dark-dimmed-DXu9oDqW.js +2 -0
  516. package/dist/github-dark-high-contrast-BBZdE-mX.js +2 -0
  517. package/dist/github-light-CfdX7txK.js +2 -0
  518. package/dist/github-light-Y8g-VxKq.js +2 -0
  519. package/dist/github-light-default-BNGkGE--.js +2 -0
  520. package/dist/github-light-high-contrast-DiSIc-nG.js +2 -0
  521. package/dist/gleam-Lw0tKp8T.js +2 -0
  522. package/dist/glimmer-js-C6E6wJv0.js +12 -0
  523. package/dist/glimmer-ts-C6GgTGNO.js +12 -0
  524. package/dist/glsl-D8_YBRKT.js +3 -0
  525. package/dist/glsl-rwn_QCp2.js +3 -0
  526. package/dist/gnuplot-BeA3etmO.js +2 -0
  527. package/dist/go-BhDDN9y4.js +2 -0
  528. package/dist/go-xfE7BrfS.js +2 -0
  529. package/dist/graphlib-BZdVmxO6.js +223 -0
  530. package/dist/graphql-DQHhbQm2.js +6 -0
  531. package/dist/graphql-DoBLseH6.js +12 -0
  532. package/dist/groovy-C5-mv4io.js +2 -0
  533. package/dist/gruvbox-dark-hard-CULu6kVy.js +2 -0
  534. package/dist/gruvbox-dark-medium-BJM4uQXO.js +2 -0
  535. package/dist/gruvbox-dark-soft-CVaORUwa.js +2 -0
  536. package/dist/gruvbox-light-hard-B-WJAGLa.js +2 -0
  537. package/dist/gruvbox-light-medium-jc8FWnuC.js +2 -0
  538. package/dist/gruvbox-light-soft-CmvYQK92.js +2 -0
  539. package/dist/hack-DEAxoi73.js +10 -0
  540. package/dist/haml-BG2d3iX4.js +4 -0
  541. package/dist/haml-mA656Lm7.js +8 -0
  542. package/dist/handlebars-CO5xAxJ3.js +12 -0
  543. package/dist/haskell-Hsexh2aP.js +2 -0
  544. package/dist/haxe-BJVSeYxy.js +2 -0
  545. package/dist/haxe-CD_Rs3P5.js +2 -0
  546. package/dist/hcl-D098sJ_J.js +2 -0
  547. package/dist/hjson-BwXHX5r6.js +2 -0
  548. package/dist/hlsl-B0pnUVYG.js +2 -0
  549. package/dist/hlsl-Dt9-unql.js +2 -0
  550. package/dist/houston-C7hMWO_I.js +2 -0
  551. package/dist/html-DFCxtjnd.js +4 -0
  552. package/dist/html-DKSj3FeM.js +8 -0
  553. package/dist/html-derivative-BCRkrTcD.js +5 -0
  554. package/dist/html-derivative-C-vidKoA.js +3 -0
  555. package/dist/http-CYP1tEDW.js +17 -0
  556. package/dist/hurl-BJexUSKz.js +15 -0
  557. package/dist/hxml-XfuSEjM-.js +3 -0
  558. package/dist/hy-DPQ04rHt.js +2 -0
  559. package/dist/imba-Bgu2n5Mo.js +2 -0
  560. package/dist/index.d.ts +3 -0
  561. package/dist/index.js +2984 -0
  562. package/dist/index.mjs +37693 -0
  563. package/dist/info-NVLQJR56-hEN1y0nS.js +8 -0
  564. package/dist/infoDiagram-WHAUD3N6-btPwHXxp.js +31 -0
  565. package/dist/ini-g9mZnyrk.js +2 -0
  566. package/dist/init-CBay3kgM.js +13 -0
  567. package/dist/isArrayLikeObject-Dz_TDfw0.js +459 -0
  568. package/dist/isEmpty-CCym_WUL.js +32 -0
  569. package/dist/java-CUbPyze1.js +2 -0
  570. package/dist/java-DIOGgqAD.js +2 -0
  571. package/dist/javascript-9-JPeKdm.js +2 -0
  572. package/dist/javascript-De1qhUaI.js +2 -0
  573. package/dist/jinja-CVFxFRh6.js +5 -0
  574. package/dist/jison-0X6LppGq.js +3 -0
  575. package/dist/journeyDiagram-XKPGCS4Q-3OxtBx3I.js +884 -0
  576. package/dist/json-DJtYdWQK.js +2 -0
  577. package/dist/json-fcFpRaf3.js +2 -0
  578. package/dist/json5-CPTZJOmf.js +2 -0
  579. package/dist/jsonc-CYrayg0k.js +2 -0
  580. package/dist/jsonl-Bsv7LjJ3.js +2 -0
  581. package/dist/jsonnet-B7LkHJxg.js +2 -0
  582. package/dist/jssm-BopKGZKg.js +2 -0
  583. package/dist/jsx-Bf3Nk9Di.js +2 -0
  584. package/dist/jsx-qo0JNHpZ.js +2 -0
  585. package/dist/julia-ChGs-n_c.js +17 -0
  586. package/dist/kanagawa-dragon-CSqqi78I.js +2 -0
  587. package/dist/kanagawa-lotus-l2vgoxpH.js +2 -0
  588. package/dist/kanagawa-wave-BWhFcnLj.js +2 -0
  589. package/dist/kanban-definition-3W4ZIXB7-zdtnJaXz.js +971 -0
  590. package/dist/katex-BcWXJDMd.js +22097 -0
  591. package/dist/katex-K1dsczyg.js +2 -0
  592. package/dist/kdl-BbokxoZ9.js +2 -0
  593. package/dist/kotlin-3dXKmwyJ.js +2 -0
  594. package/dist/kusto-Os6_yHEz.js +2 -0
  595. package/dist/laserwave-8RcN1zf8.js +2 -0
  596. package/dist/latex-BnWZlY4q.js +4 -0
  597. package/dist/lean--0Wr4Cy4.js +2 -0
  598. package/dist/less-B4ybD-7s.js +2 -0
  599. package/dist/less-Cb54jO7u.js +2 -0
  600. package/dist/lib/utils.d.ts +2 -0
  601. package/dist/light-plus-CP_iZQDF.js +2 -0
  602. package/dist/line-EpckC7pZ.js +30 -0
  603. package/dist/linear-DjVN4o4U.js +250 -0
  604. package/dist/liquid-pc5Mduds.js +12 -0
  605. package/dist/llvm-ILH_SX7E.js +2 -0
  606. package/dist/log-DwO_GzA0.js +2 -0
  607. package/dist/logo-B4FeRowR.js +2 -0
  608. package/dist/lua-0TqNbT8C.js +3 -0
  609. package/dist/lua-6pXga3HV.js +3 -0
  610. package/dist/luau-DsUEyLJN.js +2 -0
  611. package/dist/main.d.ts +0 -0
  612. package/dist/make-p6NYc19I.js +2 -0
  613. package/dist/markdown-CCRtgC0b.js +2 -0
  614. package/dist/markdown-LaaQ4Eua.js +2 -0
  615. package/dist/marked.esm-D9xINNve.js +1384 -0
  616. package/dist/marko-D8uDUUEs.js +12 -0
  617. package/dist/material-theme-D__z84-n.js +2 -0
  618. package/dist/material-theme-darker-CWC5BoMv.js +2 -0
  619. package/dist/material-theme-lighter-BJrV5b2o.js +2 -0
  620. package/dist/material-theme-ocean-DYpMfDiX.js +2 -0
  621. package/dist/material-theme-palenight-3Ix3iI7Q.js +2 -0
  622. package/dist/math-CJAnbPum.js +8 -0
  623. package/dist/matlab-CL0oMGfq.js +2 -0
  624. package/dist/mdc-Ki3KnB5U.js +13 -0
  625. package/dist/mdx-BTufVkNP.js +2 -0
  626. package/dist/mermaid-FCjIh1A7.js +2 -0
  627. package/dist/mermaid-parser.core-DVXSGppp.js +48 -0
  628. package/dist/mermaid.core-Ra1JFCui.js +895 -0
  629. package/dist/min-dark-B4KRMcN3.js +2 -0
  630. package/dist/min-light-BQVJODr0.js +2 -0
  631. package/dist/mindmap-definition-VGOIOE7T-CRPO52xV.js +960 -0
  632. package/dist/mipsasm-Cn6AQ4lM.js +2 -0
  633. package/dist/mojo-C9IiQhp4.js +2 -0
  634. package/dist/monokai-vDwMMRi4.js +2 -0
  635. package/dist/move-BdizQ4_I.js +2 -0
  636. package/dist/narrat-BP2kx-u2.js +2 -0
  637. package/dist/nextflow-CyRmCGOe.js +2 -0
  638. package/dist/nginx-B46vdQ9n.js +4 -0
  639. package/dist/night-owl-DmjkOa5g.js +2 -0
  640. package/dist/nim-BxQNx10D.js +19 -0
  641. package/dist/nix-qPhlsqZI.js +2 -0
  642. package/dist/nord-sjxbvIbg.js +2 -0
  643. package/dist/nushell-puA-1bCW.js +2 -0
  644. package/dist/objective-c-D-qDLNy5.js +2 -0
  645. package/dist/objective-cpp-CFxSAM6p.js +2 -0
  646. package/dist/ocaml-CsLB7SWJ.js +2 -0
  647. package/dist/one-dark-pro-BHH-VjFD.js +2 -0
  648. package/dist/one-light-BqE6erWk.js +2 -0
  649. package/dist/openscad-DJCIQfnJ.js +2 -0
  650. package/dist/ordinal-CYQpsShT.js +61 -0
  651. package/dist/packet-BFZMPI3H-Bnlch4JI.js +8 -0
  652. package/dist/pascal-CPg9_ZFN.js +2 -0
  653. package/dist/path-esxOUfAH.js +79 -0
  654. package/dist/perl-D1bDaADZ.js +15 -0
  655. package/dist/php-BX51InqL.js +9 -0
  656. package/dist/php-D5tmU8Cr.js +16 -0
  657. package/dist/pie-7BOR55EZ-B9egLHl5.js +8 -0
  658. package/dist/pieDiagram-ADFJNKIX-CKSgB7fx.js +172 -0
  659. package/dist/pkl-BQQ96hvn.js +2 -0
  660. package/dist/plastic-BrNUBdSC.js +2 -0
  661. package/dist/plsql-Co7Bxe7U.js +2 -0
  662. package/dist/po-BqzJCro7.js +2 -0
  663. package/dist/poimandres-C_AK8TlO.js +2 -0
  664. package/dist/polar-CtdYIPEe.js +2 -0
  665. package/dist/postcss-ChqFKb46.js +2 -0
  666. package/dist/postcss-ainQkoyY.js +2 -0
  667. package/dist/powerquery-CDugc1w-.js +2 -0
  668. package/dist/powershell-j5X-IA59.js +2 -0
  669. package/dist/prisma-Cyl7YhUw.js +2 -0
  670. package/dist/prolog-DELKnUYf.js +2 -0
  671. package/dist/proto-C4A_gDBY.js +2 -0
  672. package/dist/pug-BcLlS7Yb.js +10 -0
  673. package/dist/puppet-DFC9LyFj.js +2 -0
  674. package/dist/purescript-eECq7_n2.js +2 -0
  675. package/dist/python-BhdCuCld.js +2 -0
  676. package/dist/python-CuBu5pyY.js +2 -0
  677. package/dist/qml-MD0NqqIl.js +3 -0
  678. package/dist/qmldir-BpJII-Ze.js +2 -0
  679. package/dist/qss-CpMcemMc.js +2 -0
  680. package/dist/quadrantDiagram-AYHSOK5B-BHzqivzD.js +1970 -0
  681. package/dist/r-CQeHOO4c.js +2 -0
  682. package/dist/r-D90zdkbN.js +2 -0
  683. package/dist/racket-COTs6Zfi.js +2 -0
  684. package/dist/radar-NHE76QYJ-DdALhlvV.js +8 -0
  685. package/dist/raku-DfOtwMUC.js +2 -0
  686. package/dist/razor-eRwFWsjJ.js +10 -0
  687. package/dist/red-CWGFZsim.js +2 -0
  688. package/dist/reg-BX5DwoEA.js +2 -0
  689. package/dist/regexp-Ca0eDBa2.js +2 -0
  690. package/dist/regexp-Cap8fK_2.js +2 -0
  691. package/dist/rel-CzXuLSk3.js +2 -0
  692. package/dist/request/index.d.ts +6 -0
  693. package/dist/requirementDiagram-UZGBJVZJ-Darhwvir.js +2194 -0
  694. package/dist/riscv-DnFIiqh3.js +2 -0
  695. package/dist/rose-pine-C4v2iQVe.js +2 -0
  696. package/dist/rose-pine-dawn-D5sdDB-J.js +2 -0
  697. package/dist/rose-pine-moon-2Vb7bLLO.js +2 -0
  698. package/dist/rosmsg-D02ul3fM.js +2 -0
  699. package/dist/rst-DFmSdXGd.js +34 -0
  700. package/dist/ruby-BAEFomR0.js +20 -0
  701. package/dist/ruby-DDMUvAvC.js +28 -0
  702. package/dist/rust-s3hBbfQg.js +2 -0
  703. package/dist/sankeyDiagram-TZEHDZUN-KiSvBN_C.js +884 -0
  704. package/dist/sas-TjtLSnOp.js +3 -0
  705. package/dist/sass-v3HeJ9Fl.js +2 -0
  706. package/dist/scala-BTIBM_Vn.js +2 -0
  707. package/dist/scheme-C4NQMf7a.js +2 -0
  708. package/dist/scss-C-bthdG1.js +3 -0
  709. package/dist/scss-D-6-mg-f.js +3 -0
  710. package/dist/sdbl-BA3l-JrH.js +2 -0
  711. package/dist/sdbl-gc7zIVWR.js +2 -0
  712. package/dist/sequenceDiagram-WL72ISMW-D2Mo7Vtj.js +3560 -0
  713. package/dist/shaderlab-BRlB5fpk.js +3 -0
  714. package/dist/shellscript-BQ8mKDAF.js +2 -0
  715. package/dist/shellscript-DZa_4vvb.js +2 -0
  716. package/dist/shellsession-CIlmlgbR.js +3 -0
  717. package/dist/slack-dark-DhXO5DWr.js +2 -0
  718. package/dist/slack-ochin-aAGl4PPH.js +2 -0
  719. package/dist/smalltalk-DbwVUw_i.js +2 -0
  720. package/dist/snazzy-light-B4S5mk83.js +2 -0
  721. package/dist/solarized-dark-Dexkq3Fm.js +2 -0
  722. package/dist/solarized-light-I-Bzy8UC.js +2 -0
  723. package/dist/solidity-SMk0TJDc.js +2 -0
  724. package/dist/soy-DwSCrzEF.js +5 -0
  725. package/dist/sparql-D9kVSpEx.js +3 -0
  726. package/dist/splunk-DXXu2r7r.js +2 -0
  727. package/dist/sql-Bi3LyNPb.js +2 -0
  728. package/dist/sql-D0eLHBiZ.js +2 -0
  729. package/dist/src-B-SBGd0A.js +1975 -0
  730. package/dist/ssh-config-DyVcFTfI.js +2 -0
  731. package/dist/stata-DkEObyNb.js +3 -0
  732. package/dist/stateDiagram-FKZM4ZOC-BRQN2Npg.js +224 -0
  733. package/dist/stateDiagram-v2-4FDKWEC3-CeeIKiFG.js +32 -0
  734. package/dist/stylus-BKTuFHcX.js +2 -0
  735. package/dist/stylus-DEHALDNh.js +2 -0
  736. package/dist/svelte-KFuclcR6.js +12 -0
  737. package/dist/swift-Cenptrnf.js +2 -0
  738. package/dist/synthwave-84-BRkDuVE-.js +2 -0
  739. package/dist/system-verilog-Cvgukx4v.js +2 -0
  740. package/dist/systemd-BepdslJQ.js +2 -0
  741. package/dist/talonscript-Q98m-VXh.js +2 -0
  742. package/dist/tasl-uebrX98X.js +2 -0
  743. package/dist/tcl-B1Ny4XFf.js +2 -0
  744. package/dist/templ-C5mtYbb_.js +10 -0
  745. package/dist/terraform-0mA5ERTe.js +2 -0
  746. package/dist/tex-B4uYy1vC.js +3 -0
  747. package/dist/tex-BoVFa1ir.js +3 -0
  748. package/dist/timeline-definition-IT6M3QCI-CSwH0Pnx.js +830 -0
  749. package/dist/tokyo-night-D0mU3-u8.js +2 -0
  750. package/dist/toml-vMAjra5M.js +2 -0
  751. package/dist/treemap-KMMF4GRG-COjpj6-C.js +8 -0
  752. package/dist/ts-tags-DRdTXGhb.js +38 -0
  753. package/dist/tsv-BnmbkntZ.js +2 -0
  754. package/dist/tsx-BaaPsUbd.js +2 -0
  755. package/dist/tsx-C0w0w5St.js +2 -0
  756. package/dist/turtle-4UWi_qX6.js +2 -0
  757. package/dist/turtle-BRmolh-6.js +2 -0
  758. package/dist/twig-cEhAbahS.js +33 -0
  759. package/dist/typescript-4YtK2JL4.js +2 -0
  760. package/dist/typescript-CmJ8D0yY.js +2 -0
  761. package/dist/typespec-CILw3zvZ.js +2 -0
  762. package/dist/typst-CLajFw6q.js +2 -0
  763. package/dist/v-MJV2RQvK.js +2 -0
  764. package/dist/vala-Dc1TiHw1.js +2 -0
  765. package/dist/vb-CoJdNmGs.js +2 -0
  766. package/dist/verilog-C7aVmiO0.js +2 -0
  767. package/dist/vesper-Cvcqyrim.js +2 -0
  768. package/dist/vhdl-CYQvzAG1.js +2 -0
  769. package/dist/viml-DOyjiDI8.js +2 -0
  770. package/dist/vitesse-black-CUYJaB5b.js +2 -0
  771. package/dist/vitesse-dark-BNlzDJ1Z.js +2 -0
  772. package/dist/vitesse-light-JU98KqVa.js +2 -0
  773. package/dist/vue-B3C4YeUK.js +8 -0
  774. package/dist/vue-DMpjAWNv.js +20 -0
  775. package/dist/vue-html-BIZN50ug.js +13 -0
  776. package/dist/vue-vine-DxezWcjL.js +22 -0
  777. package/dist/vyper-JU_r7Ch6.js +2 -0
  778. package/dist/wasm-DJ1S--fN.js +2 -0
  779. package/dist/wasm-eLFiAU8u.js +2 -0
  780. package/dist/wenyan-CqkzmyWz.js +2 -0
  781. package/dist/wgsl-gV62iTnF.js +2 -0
  782. package/dist/wikitext-BfUl8La4.js +2 -0
  783. package/dist/wit-kp_bCf2U.js +2 -0
  784. package/dist/wolfram-aPsN9AKt.js +2 -0
  785. package/dist/xml-BglBgo29.js +3 -0
  786. package/dist/xml-BxRdgEAX.js +3 -0
  787. package/dist/xsl-Cni90e0k.js +4 -0
  788. package/dist/xychartDiagram-PRI3JC2R-CGXFYn39.js +2022 -0
  789. package/dist/yaml-DQRfaSRo.js +2 -0
  790. package/dist/yaml-P2kjOPvW.js +2 -0
  791. package/dist/zenscript-BuY4FX-t.js +2 -0
  792. package/dist/zig-CGDGjytz.js +2 -0
  793. package/package.json +66 -60
  794. package/.vscode/extensions.json +0 -3
  795. package/.vscode/settings.json +0 -6
  796. package/auto-imports.d.ts +0 -73
  797. package/components.d.ts +0 -312
  798. package/components.json +0 -21
  799. package/index.html +0 -13
  800. package/src/App.vue +0 -68
  801. package/src/components/ChatConversation/ChatConversation.vue +0 -97
  802. package/src/components/ChatConversation/index.ts +0 -1
  803. package/src/components/ChatPromptInputProvider/ChatPromptInputProvider.vue +0 -47
  804. package/src/components/ChatPromptInputProvider/index.ts +0 -1
  805. package/src/components/ai-elements/artifact/Artifact.vue +0 -23
  806. package/src/components/ai-elements/artifact/ArtifactAction.vue +0 -72
  807. package/src/components/ai-elements/artifact/ArtifactActions.vue +0 -19
  808. package/src/components/ai-elements/artifact/ArtifactClose.vue +0 -39
  809. package/src/components/ai-elements/artifact/ArtifactContent.vue +0 -20
  810. package/src/components/ai-elements/artifact/ArtifactDescription.vue +0 -20
  811. package/src/components/ai-elements/artifact/ArtifactHeader.vue +0 -23
  812. package/src/components/ai-elements/artifact/ArtifactTitle.vue +0 -20
  813. package/src/components/ai-elements/artifact/index.ts +0 -8
  814. package/src/components/ai-elements/canvas/Canvas.vue +0 -37
  815. package/src/components/ai-elements/canvas/index.ts +0 -1
  816. package/src/components/ai-elements/chain-of-thought/ChainOfThought.vue +0 -41
  817. package/src/components/ai-elements/chain-of-thought/ChainOfThoughtContent.vue +0 -32
  818. package/src/components/ai-elements/chain-of-thought/ChainOfThoughtHeader.vue +0 -43
  819. package/src/components/ai-elements/chain-of-thought/ChainOfThoughtImage.vue +0 -25
  820. package/src/components/ai-elements/chain-of-thought/ChainOfThoughtSearchResult.vue +0 -24
  821. package/src/components/ai-elements/chain-of-thought/ChainOfThoughtSearchResults.vue +0 -17
  822. package/src/components/ai-elements/chain-of-thought/ChainOfThoughtStep.vue +0 -54
  823. package/src/components/ai-elements/chain-of-thought/context.ts +0 -22
  824. package/src/components/ai-elements/chain-of-thought/index.ts +0 -7
  825. package/src/components/ai-elements/checkpoint/Checkpoint.vue +0 -19
  826. package/src/components/ai-elements/checkpoint/CheckpointIcon.vue +0 -19
  827. package/src/components/ai-elements/checkpoint/CheckpointTrigger.vue +0 -46
  828. package/src/components/ai-elements/checkpoint/index.ts +0 -3
  829. package/src/components/ai-elements/code-block/CodeBlock.vue +0 -84
  830. package/src/components/ai-elements/code-block/CodeBlockCopyButton.vue +0 -84
  831. package/src/components/ai-elements/code-block/context.ts +0 -7
  832. package/src/components/ai-elements/code-block/index.ts +0 -2
  833. package/src/components/ai-elements/code-block/utils.ts +0 -46
  834. package/src/components/ai-elements/confirmation/Confirmation.vue +0 -30
  835. package/src/components/ai-elements/confirmation/ConfirmationAccepted.vue +0 -18
  836. package/src/components/ai-elements/confirmation/ConfirmationAction.vue +0 -9
  837. package/src/components/ai-elements/confirmation/ConfirmationActions.vue +0 -23
  838. package/src/components/ai-elements/confirmation/ConfirmationRejected.vue +0 -18
  839. package/src/components/ai-elements/confirmation/ConfirmationRequest.vue +0 -11
  840. package/src/components/ai-elements/confirmation/ConfirmationTitle.vue +0 -18
  841. package/src/components/ai-elements/confirmation/context.ts +0 -46
  842. package/src/components/ai-elements/confirmation/index.ts +0 -7
  843. package/src/components/ai-elements/connection/Connection.vue +0 -36
  844. package/src/components/ai-elements/connection/index.ts +0 -1
  845. package/src/components/ai-elements/context/Context.vue +0 -29
  846. package/src/components/ai-elements/context/ContextCacheUsage.vue +0 -45
  847. package/src/components/ai-elements/context/ContextContent.vue +0 -20
  848. package/src/components/ai-elements/context/ContextContentBody.vue +0 -14
  849. package/src/components/ai-elements/context/ContextContentFooter.vue +0 -49
  850. package/src/components/ai-elements/context/ContextContentHeader.vue +0 -49
  851. package/src/components/ai-elements/context/ContextIcon.vue +0 -62
  852. package/src/components/ai-elements/context/ContextInputUsage.vue +0 -46
  853. package/src/components/ai-elements/context/ContextOutputUsage.vue +0 -45
  854. package/src/components/ai-elements/context/ContextReasoningUsage.vue +0 -48
  855. package/src/components/ai-elements/context/ContextTrigger.vue +0 -32
  856. package/src/components/ai-elements/context/TokensWithCost.vue +0 -25
  857. package/src/components/ai-elements/context/context.ts +0 -23
  858. package/src/components/ai-elements/context/index.ts +0 -12
  859. package/src/components/ai-elements/controls/Controls.vue +0 -25
  860. package/src/components/ai-elements/controls/index.ts +0 -1
  861. package/src/components/ai-elements/conversation/Conversation.vue +0 -37
  862. package/src/components/ai-elements/conversation/ConversationContent.vue +0 -21
  863. package/src/components/ai-elements/conversation/ConversationEmptyState.vue +0 -40
  864. package/src/components/ai-elements/conversation/ConversationScrollButton.vue +0 -34
  865. package/src/components/ai-elements/conversation/index.ts +0 -4
  866. package/src/components/ai-elements/edge/Animated.vue +0 -91
  867. package/src/components/ai-elements/edge/Temporary.vue +0 -28
  868. package/src/components/ai-elements/edge/index.ts +0 -2
  869. package/src/components/ai-elements/image/Image.vue +0 -29
  870. package/src/components/ai-elements/image/index.ts +0 -1
  871. package/src/components/ai-elements/inline-citation/InlineCitation.vue +0 -14
  872. package/src/components/ai-elements/inline-citation/InlineCitationCard.vue +0 -17
  873. package/src/components/ai-elements/inline-citation/InlineCitationCardBody.vue +0 -15
  874. package/src/components/ai-elements/inline-citation/InlineCitationCardTrigger.vue +0 -35
  875. package/src/components/ai-elements/inline-citation/InlineCitationCarousel.vue +0 -15
  876. package/src/components/ai-elements/inline-citation/InlineCitationCarouselContent.vue +0 -9
  877. package/src/components/ai-elements/inline-citation/InlineCitationCarouselHeader.vue +0 -16
  878. package/src/components/ai-elements/inline-citation/InlineCitationCarouselIndex.vue +0 -46
  879. package/src/components/ai-elements/inline-citation/InlineCitationCarouselItem.vue +0 -15
  880. package/src/components/ai-elements/inline-citation/InlineCitationCarouselNext.vue +0 -23
  881. package/src/components/ai-elements/inline-citation/InlineCitationCarouselPrev.vue +0 -23
  882. package/src/components/ai-elements/inline-citation/InlineCitationQuote.vue +0 -16
  883. package/src/components/ai-elements/inline-citation/InlineCitationSource.vue +0 -26
  884. package/src/components/ai-elements/inline-citation/InlineCitationText.vue +0 -14
  885. package/src/components/ai-elements/inline-citation/index.ts +0 -14
  886. package/src/components/ai-elements/loader/Loader.vue +0 -23
  887. package/src/components/ai-elements/loader/LoaderIcon.vue +0 -38
  888. package/src/components/ai-elements/loader/index.ts +0 -2
  889. package/src/components/ai-elements/message/Message.vue +0 -27
  890. package/src/components/ai-elements/message/MessageAction.vue +0 -45
  891. package/src/components/ai-elements/message/MessageActions.vue +0 -19
  892. package/src/components/ai-elements/message/MessageAttachment.vue +0 -87
  893. package/src/components/ai-elements/message/MessageAttachments.vue +0 -25
  894. package/src/components/ai-elements/message/MessageAvatar.vue +0 -22
  895. package/src/components/ai-elements/message/MessageBranch.vue +0 -66
  896. package/src/components/ai-elements/message/MessageBranchContent.vue +0 -51
  897. package/src/components/ai-elements/message/MessageBranchNext.vue +0 -23
  898. package/src/components/ai-elements/message/MessageBranchPage.vue +0 -28
  899. package/src/components/ai-elements/message/MessageBranchPrevious.vue +0 -23
  900. package/src/components/ai-elements/message/MessageBranchSelector.vue +0 -23
  901. package/src/components/ai-elements/message/MessageContent.vue +0 -26
  902. package/src/components/ai-elements/message/MessageResponse.vue +0 -42
  903. package/src/components/ai-elements/message/MessageToolbar.vue +0 -24
  904. package/src/components/ai-elements/message/context.ts +0 -22
  905. package/src/components/ai-elements/message/index.ts +0 -15
  906. package/src/components/ai-elements/model-selector/ModelSelector.vue +0 -9
  907. package/src/components/ai-elements/model-selector/ModelSelectorContent.vue +0 -29
  908. package/src/components/ai-elements/model-selector/ModelSelectorDialog.vue +0 -9
  909. package/src/components/ai-elements/model-selector/ModelSelectorEmpty.vue +0 -9
  910. package/src/components/ai-elements/model-selector/ModelSelectorGroup.vue +0 -9
  911. package/src/components/ai-elements/model-selector/ModelSelectorInput.vue +0 -18
  912. package/src/components/ai-elements/model-selector/ModelSelectorItem.vue +0 -10
  913. package/src/components/ai-elements/model-selector/ModelSelectorList.vue +0 -9
  914. package/src/components/ai-elements/model-selector/ModelSelectorLogo.vue +0 -22
  915. package/src/components/ai-elements/model-selector/ModelSelectorLogoGroup.vue +0 -24
  916. package/src/components/ai-elements/model-selector/ModelSelectorName.vue +0 -19
  917. package/src/components/ai-elements/model-selector/ModelSelectorSeparator.vue +0 -7
  918. package/src/components/ai-elements/model-selector/ModelSelectorShortcut.vue +0 -9
  919. package/src/components/ai-elements/model-selector/ModelSelectorTrigger.vue +0 -9
  920. package/src/components/ai-elements/model-selector/index.ts +0 -14
  921. package/src/components/ai-elements/node/Node.vue +0 -31
  922. package/src/components/ai-elements/node/NodeAction.vue +0 -9
  923. package/src/components/ai-elements/node/NodeContent.vue +0 -15
  924. package/src/components/ai-elements/node/NodeDescription.vue +0 -9
  925. package/src/components/ai-elements/node/NodeFooter.vue +0 -15
  926. package/src/components/ai-elements/node/NodeHeader.vue +0 -15
  927. package/src/components/ai-elements/node/NodeTitle.vue +0 -9
  928. package/src/components/ai-elements/node/index.ts +0 -7
  929. package/src/components/ai-elements/open-in-chat/OpenIn.vue +0 -20
  930. package/src/components/ai-elements/open-in-chat/OpenInContent.vue +0 -25
  931. package/src/components/ai-elements/open-in-chat/OpenInItemLink.vue +0 -30
  932. package/src/components/ai-elements/open-in-chat/OpenInTrigger.vue +0 -16
  933. package/src/components/ai-elements/open-in-chat/context.ts +0 -20
  934. package/src/components/ai-elements/open-in-chat/index.ts +0 -9
  935. package/src/components/ai-elements/open-in-chat/providers/icons/ChatGPT.vue +0 -13
  936. package/src/components/ai-elements/open-in-chat/providers/icons/Claude.vue +0 -15
  937. package/src/components/ai-elements/open-in-chat/providers/icons/Cursor.vue +0 -13
  938. package/src/components/ai-elements/open-in-chat/providers/icons/Github.vue +0 -8
  939. package/src/components/ai-elements/open-in-chat/providers/icons/Scira.vue +0 -58
  940. package/src/components/ai-elements/open-in-chat/providers/icons/V0.vue +0 -15
  941. package/src/components/ai-elements/open-in-chat/providers/icons/index.ts +0 -6
  942. package/src/components/ai-elements/open-in-chat/providers/index.ts +0 -69
  943. package/src/components/ai-elements/open-in-chat/providers/items/OpenInChatGPT.vue +0 -18
  944. package/src/components/ai-elements/open-in-chat/providers/items/OpenInClaude.vue +0 -18
  945. package/src/components/ai-elements/open-in-chat/providers/items/OpenInCursor.vue +0 -18
  946. package/src/components/ai-elements/open-in-chat/providers/items/OpenInScira.vue +0 -18
  947. package/src/components/ai-elements/open-in-chat/providers/items/OpenInT3.vue +0 -18
  948. package/src/components/ai-elements/open-in-chat/providers/items/OpenInv0.vue +0 -18
  949. package/src/components/ai-elements/panel/Panel.vue +0 -28
  950. package/src/components/ai-elements/panel/index.ts +0 -1
  951. package/src/components/ai-elements/plan/Plan.vue +0 -32
  952. package/src/components/ai-elements/plan/PlanAction.vue +0 -9
  953. package/src/components/ai-elements/plan/PlanContent.vue +0 -12
  954. package/src/components/ai-elements/plan/PlanDescription.vue +0 -25
  955. package/src/components/ai-elements/plan/PlanFooter.vue +0 -9
  956. package/src/components/ai-elements/plan/PlanHeader.vue +0 -18
  957. package/src/components/ai-elements/plan/PlanTitle.vue +0 -16
  958. package/src/components/ai-elements/plan/PlanTrigger.vue +0 -25
  959. package/src/components/ai-elements/plan/context.ts +0 -20
  960. package/src/components/ai-elements/plan/index.ts +0 -8
  961. package/src/components/ai-elements/prompt-input/PromptInput.vue +0 -116
  962. package/src/components/ai-elements/prompt-input/PromptInputActionAddAttachments.vue +0 -22
  963. package/src/components/ai-elements/prompt-input/PromptInputActionMenu.vue +0 -15
  964. package/src/components/ai-elements/prompt-input/PromptInputActionMenuContent.vue +0 -21
  965. package/src/components/ai-elements/prompt-input/PromptInputActionMenuItem.vue +0 -19
  966. package/src/components/ai-elements/prompt-input/PromptInputActionMenuTrigger.vue +0 -22
  967. package/src/components/ai-elements/prompt-input/PromptInputAttachment.vue +0 -94
  968. package/src/components/ai-elements/prompt-input/PromptInputAttachments.vue +0 -22
  969. package/src/components/ai-elements/prompt-input/PromptInputBody.vue +0 -12
  970. package/src/components/ai-elements/prompt-input/PromptInputButton.vue +0 -56
  971. package/src/components/ai-elements/prompt-input/PromptInputCommand.vue +0 -19
  972. package/src/components/ai-elements/prompt-input/PromptInputCommandEmpty.vue +0 -19
  973. package/src/components/ai-elements/prompt-input/PromptInputCommandGroup.vue +0 -19
  974. package/src/components/ai-elements/prompt-input/PromptInputCommandInput.vue +0 -17
  975. package/src/components/ai-elements/prompt-input/PromptInputCommandItem.vue +0 -19
  976. package/src/components/ai-elements/prompt-input/PromptInputCommandList.vue +0 -17
  977. package/src/components/ai-elements/prompt-input/PromptInputCommandSeparator.vue +0 -16
  978. package/src/components/ai-elements/prompt-input/PromptInputFooter.vue +0 -23
  979. package/src/components/ai-elements/prompt-input/PromptInputHeader.vue +0 -23
  980. package/src/components/ai-elements/prompt-input/PromptInputHoverCard.vue +0 -23
  981. package/src/components/ai-elements/prompt-input/PromptInputHoverCardContent.vue +0 -19
  982. package/src/components/ai-elements/prompt-input/PromptInputHoverCardTrigger.vue +0 -15
  983. package/src/components/ai-elements/prompt-input/PromptInputProvider.vue +0 -32
  984. package/src/components/ai-elements/prompt-input/PromptInputSelect.vue +0 -15
  985. package/src/components/ai-elements/prompt-input/PromptInputSelectContent.vue +0 -19
  986. package/src/components/ai-elements/prompt-input/PromptInputSelectItem.vue +0 -19
  987. package/src/components/ai-elements/prompt-input/PromptInputSelectTrigger.vue +0 -26
  988. package/src/components/ai-elements/prompt-input/PromptInputSelectValue.vue +0 -19
  989. package/src/components/ai-elements/prompt-input/PromptInputSpeechButton.vue +0 -137
  990. package/src/components/ai-elements/prompt-input/PromptInputSubmit.vue +0 -60
  991. package/src/components/ai-elements/prompt-input/PromptInputTab.vue +0 -16
  992. package/src/components/ai-elements/prompt-input/PromptInputTabBody.vue +0 -16
  993. package/src/components/ai-elements/prompt-input/PromptInputTabItem.vue +0 -16
  994. package/src/components/ai-elements/prompt-input/PromptInputTabLabel.vue +0 -16
  995. package/src/components/ai-elements/prompt-input/PromptInputTabsList.vue +0 -16
  996. package/src/components/ai-elements/prompt-input/PromptInputTextarea.vue +0 -78
  997. package/src/components/ai-elements/prompt-input/PromptInputTools.vue +0 -12
  998. package/src/components/ai-elements/prompt-input/context.ts +0 -223
  999. package/src/components/ai-elements/prompt-input/index.ts +0 -39
  1000. package/src/components/ai-elements/prompt-input/types.ts +0 -28
  1001. package/src/components/ai-elements/queue/Queue.vue +0 -21
  1002. package/src/components/ai-elements/queue/QueueItem.vue +0 -21
  1003. package/src/components/ai-elements/queue/QueueItemAction.vue +0 -25
  1004. package/src/components/ai-elements/queue/QueueItemActions.vue +0 -14
  1005. package/src/components/ai-elements/queue/QueueItemAttachment.vue +0 -14
  1006. package/src/components/ai-elements/queue/QueueItemContent.vue +0 -32
  1007. package/src/components/ai-elements/queue/QueueItemDescription.vue +0 -32
  1008. package/src/components/ai-elements/queue/QueueItemFile.vue +0 -25
  1009. package/src/components/ai-elements/queue/QueueItemImage.vue +0 -18
  1010. package/src/components/ai-elements/queue/QueueItemIndicator.vue +0 -30
  1011. package/src/components/ai-elements/queue/QueueList.vue +0 -22
  1012. package/src/components/ai-elements/queue/QueueSection.vue +0 -26
  1013. package/src/components/ai-elements/queue/QueueSectionContent.vue +0 -15
  1014. package/src/components/ai-elements/queue/QueueSectionLabel.vue +0 -26
  1015. package/src/components/ai-elements/queue/QueueSectionTrigger.vue +0 -25
  1016. package/src/components/ai-elements/queue/index.ts +0 -15
  1017. package/src/components/ai-elements/reasoning/Reasoning.vue +0 -94
  1018. package/src/components/ai-elements/reasoning/ReasoningContent.vue +0 -41
  1019. package/src/components/ai-elements/reasoning/ReasoningTrigger.vue +0 -61
  1020. package/src/components/ai-elements/reasoning/context.ts +0 -19
  1021. package/src/components/ai-elements/reasoning/index.ts +0 -3
  1022. package/src/components/ai-elements/shimmer/Shimmer.vue +0 -69
  1023. package/src/components/ai-elements/shimmer/index.ts +0 -1
  1024. package/src/components/ai-elements/sources/Source.vue +0 -26
  1025. package/src/components/ai-elements/sources/Sources.vue +0 -17
  1026. package/src/components/ai-elements/sources/SourcesContent.vue +0 -23
  1027. package/src/components/ai-elements/sources/SourcesTrigger.vue +0 -24
  1028. package/src/components/ai-elements/sources/index.ts +0 -4
  1029. package/src/components/ai-elements/suggestion/Suggestion.vue +0 -38
  1030. package/src/components/ai-elements/suggestion/Suggestions.vue +0 -20
  1031. package/src/components/ai-elements/suggestion/index.ts +0 -2
  1032. package/src/components/ai-elements/task/Task.vue +0 -32
  1033. package/src/components/ai-elements/task/TaskContent.vue +0 -27
  1034. package/src/components/ai-elements/task/TaskItem.vue +0 -16
  1035. package/src/components/ai-elements/task/TaskItemFile.vue +0 -18
  1036. package/src/components/ai-elements/task/TaskTrigger.vue +0 -33
  1037. package/src/components/ai-elements/task/index.ts +0 -5
  1038. package/src/components/ai-elements/tool/Tool.vue +0 -18
  1039. package/src/components/ai-elements/tool/ToolContent.vue +0 -23
  1040. package/src/components/ai-elements/tool/ToolHeader.vue +0 -38
  1041. package/src/components/ai-elements/tool/ToolInput.vue +0 -32
  1042. package/src/components/ai-elements/tool/ToolOutput.vue +0 -69
  1043. package/src/components/ai-elements/tool/ToolStatusBadge.vue +0 -63
  1044. package/src/components/ai-elements/tool/index.ts +0 -5
  1045. package/src/components/ai-elements/toolbar/Toolbar.vue +0 -32
  1046. package/src/components/ai-elements/toolbar/index.ts +0 -1
  1047. package/src/components/ai-elements/web-preview/WebPreview.vue +0 -60
  1048. package/src/components/ai-elements/web-preview/WebPreviewBody.vue +0 -34
  1049. package/src/components/ai-elements/web-preview/WebPreviewConsole.vue +0 -92
  1050. package/src/components/ai-elements/web-preview/WebPreviewNavigation.vue +0 -21
  1051. package/src/components/ai-elements/web-preview/WebPreviewNavigationButton.vue +0 -45
  1052. package/src/components/ai-elements/web-preview/WebPreviewUrl.vue +0 -43
  1053. package/src/components/ai-elements/web-preview/context.ts +0 -25
  1054. package/src/components/ai-elements/web-preview/index.ts +0 -7
  1055. package/src/components/ui/alert/Alert.vue +0 -21
  1056. package/src/components/ui/alert/AlertDescription.vue +0 -17
  1057. package/src/components/ui/alert/AlertTitle.vue +0 -17
  1058. package/src/components/ui/alert/index.ts +0 -24
  1059. package/src/components/ui/avatar/Avatar.vue +0 -18
  1060. package/src/components/ui/avatar/AvatarFallback.vue +0 -21
  1061. package/src/components/ui/avatar/AvatarImage.vue +0 -16
  1062. package/src/components/ui/avatar/index.ts +0 -3
  1063. package/src/components/ui/badge/Badge.vue +0 -26
  1064. package/src/components/ui/badge/index.ts +0 -26
  1065. package/src/components/ui/button/Button.vue +0 -29
  1066. package/src/components/ui/button/index.ts +0 -38
  1067. package/src/components/ui/button-group/ButtonGroup.vue +0 -22
  1068. package/src/components/ui/button-group/ButtonGroupSeparator.vue +0 -24
  1069. package/src/components/ui/button-group/ButtonGroupText.vue +0 -29
  1070. package/src/components/ui/button-group/index.ts +0 -25
  1071. package/src/components/ui/card/Card.vue +0 -22
  1072. package/src/components/ui/card/CardAction.vue +0 -17
  1073. package/src/components/ui/card/CardContent.vue +0 -17
  1074. package/src/components/ui/card/CardDescription.vue +0 -17
  1075. package/src/components/ui/card/CardFooter.vue +0 -17
  1076. package/src/components/ui/card/CardHeader.vue +0 -17
  1077. package/src/components/ui/card/CardTitle.vue +0 -17
  1078. package/src/components/ui/card/index.ts +0 -7
  1079. package/src/components/ui/carousel/Carousel.vue +0 -53
  1080. package/src/components/ui/carousel/CarouselContent.vue +0 -33
  1081. package/src/components/ui/carousel/CarouselItem.vue +0 -24
  1082. package/src/components/ui/carousel/CarouselNext.vue +0 -41
  1083. package/src/components/ui/carousel/CarouselPrevious.vue +0 -41
  1084. package/src/components/ui/carousel/index.ts +0 -10
  1085. package/src/components/ui/carousel/interface.ts +0 -26
  1086. package/src/components/ui/carousel/useCarousel.ts +0 -56
  1087. package/src/components/ui/collapsible/Collapsible.vue +0 -19
  1088. package/src/components/ui/collapsible/CollapsibleContent.vue +0 -15
  1089. package/src/components/ui/collapsible/CollapsibleTrigger.vue +0 -15
  1090. package/src/components/ui/collapsible/index.ts +0 -3
  1091. package/src/components/ui/command/Command.vue +0 -87
  1092. package/src/components/ui/command/CommandDialog.vue +0 -31
  1093. package/src/components/ui/command/CommandEmpty.vue +0 -27
  1094. package/src/components/ui/command/CommandGroup.vue +0 -45
  1095. package/src/components/ui/command/CommandInput.vue +0 -39
  1096. package/src/components/ui/command/CommandItem.vue +0 -76
  1097. package/src/components/ui/command/CommandList.vue +0 -25
  1098. package/src/components/ui/command/CommandSeparator.vue +0 -21
  1099. package/src/components/ui/command/CommandShortcut.vue +0 -17
  1100. package/src/components/ui/command/index.ts +0 -25
  1101. package/src/components/ui/dialog/Dialog.vue +0 -19
  1102. package/src/components/ui/dialog/DialogClose.vue +0 -15
  1103. package/src/components/ui/dialog/DialogContent.vue +0 -53
  1104. package/src/components/ui/dialog/DialogDescription.vue +0 -23
  1105. package/src/components/ui/dialog/DialogFooter.vue +0 -15
  1106. package/src/components/ui/dialog/DialogHeader.vue +0 -17
  1107. package/src/components/ui/dialog/DialogOverlay.vue +0 -21
  1108. package/src/components/ui/dialog/DialogScrollContent.vue +0 -59
  1109. package/src/components/ui/dialog/DialogTitle.vue +0 -23
  1110. package/src/components/ui/dialog/DialogTrigger.vue +0 -15
  1111. package/src/components/ui/dialog/index.ts +0 -10
  1112. package/src/components/ui/dropdown-menu/DropdownMenu.vue +0 -19
  1113. package/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +0 -39
  1114. package/src/components/ui/dropdown-menu/DropdownMenuContent.vue +0 -39
  1115. package/src/components/ui/dropdown-menu/DropdownMenuGroup.vue +0 -15
  1116. package/src/components/ui/dropdown-menu/DropdownMenuItem.vue +0 -31
  1117. package/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +0 -23
  1118. package/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +0 -21
  1119. package/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +0 -40
  1120. package/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +0 -23
  1121. package/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +0 -17
  1122. package/src/components/ui/dropdown-menu/DropdownMenuSub.vue +0 -18
  1123. package/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +0 -27
  1124. package/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +0 -30
  1125. package/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue +0 -17
  1126. package/src/components/ui/dropdown-menu/index.ts +0 -16
  1127. package/src/components/ui/hover-card/HoverCard.vue +0 -19
  1128. package/src/components/ui/hover-card/HoverCardContent.vue +0 -43
  1129. package/src/components/ui/hover-card/HoverCardTrigger.vue +0 -15
  1130. package/src/components/ui/hover-card/index.ts +0 -3
  1131. package/src/components/ui/input/Input.vue +0 -33
  1132. package/src/components/ui/input/index.ts +0 -1
  1133. package/src/components/ui/input-group/InputGroup.vue +0 -37
  1134. package/src/components/ui/input-group/InputGroupAddon.vue +0 -36
  1135. package/src/components/ui/input-group/InputGroupButton.vue +0 -21
  1136. package/src/components/ui/input-group/InputGroupInput.vue +0 -19
  1137. package/src/components/ui/input-group/InputGroupText.vue +0 -19
  1138. package/src/components/ui/input-group/InputGroupTextarea.vue +0 -19
  1139. package/src/components/ui/input-group/index.ts +0 -59
  1140. package/src/components/ui/progress/Progress.vue +0 -38
  1141. package/src/components/ui/progress/index.ts +0 -1
  1142. package/src/components/ui/scroll-area/ScrollArea.vue +0 -33
  1143. package/src/components/ui/scroll-area/ScrollBar.vue +0 -32
  1144. package/src/components/ui/scroll-area/index.ts +0 -2
  1145. package/src/components/ui/select/Select.vue +0 -19
  1146. package/src/components/ui/select/SelectContent.vue +0 -51
  1147. package/src/components/ui/select/SelectGroup.vue +0 -15
  1148. package/src/components/ui/select/SelectItem.vue +0 -44
  1149. package/src/components/ui/select/SelectItemText.vue +0 -15
  1150. package/src/components/ui/select/SelectLabel.vue +0 -17
  1151. package/src/components/ui/select/SelectScrollDownButton.vue +0 -26
  1152. package/src/components/ui/select/SelectScrollUpButton.vue +0 -26
  1153. package/src/components/ui/select/SelectSeparator.vue +0 -19
  1154. package/src/components/ui/select/SelectTrigger.vue +0 -33
  1155. package/src/components/ui/select/SelectValue.vue +0 -15
  1156. package/src/components/ui/select/index.ts +0 -11
  1157. package/src/components/ui/separator/Separator.vue +0 -29
  1158. package/src/components/ui/separator/index.ts +0 -1
  1159. package/src/components/ui/textarea/Textarea.vue +0 -28
  1160. package/src/components/ui/textarea/index.ts +0 -1
  1161. package/src/components/ui/tooltip/Tooltip.vue +0 -19
  1162. package/src/components/ui/tooltip/TooltipContent.vue +0 -34
  1163. package/src/components/ui/tooltip/TooltipProvider.vue +0 -14
  1164. package/src/components/ui/tooltip/TooltipTrigger.vue +0 -15
  1165. package/src/components/ui/tooltip/index.ts +0 -4
  1166. package/src/composables/useChat.ts +0 -46
  1167. package/src/index.ts +0 -3
  1168. package/src/lib/utils.ts +0 -7
  1169. package/src/main.ts +0 -5
  1170. package/src/request/index.ts +0 -41
  1171. package/src/style.css +0 -120
  1172. package/tsconfig.app.json +0 -25
  1173. package/tsconfig.json +0 -13
  1174. package/tsconfig.node.json +0 -26
  1175. package/vite.config.ts +0 -26
  1176. /package/{public → dist}/vite.svg +0 -0
@@ -0,0 +1,3009 @@
1
+ import { i as __toESM, t as __commonJSMin } from "./chunk-DNh5sLlG.js";
2
+ import "./isArrayLikeObject-Dz_TDfw0.js";
3
+ import { g as utils_default } from "./chunk-S3R3BYOJ-DHTsHczu.js";
4
+ import { a as nogamma, c as Rgb, d as define_default, f as extend, g as log, h as __name, i as hue, p as select_default, s as Color, u as rgbConvert, v as require_dayjs_min } from "./src-B-SBGd0A.js";
5
+ import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, c as configureSvgSize, s as common_default, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-BZvlc6Ej.js";
6
+ import { a as bisector, i as tickStep, n as continuous, r as copy, t as linear } from "./linear-DjVN4o4U.js";
7
+ import "./defaultLocale-CoJOMwPq.js";
8
+ import { t as initRange } from "./init-CBay3kgM.js";
9
+ import "./math-CJAnbPum.js";
10
+ import { t as require_dist } from "./dist-CrnZo_23.js";
11
+ function max(i, c) {
12
+ let l;
13
+ if (c === void 0) for (let c of i) c != null && (l < c || l === void 0 && c >= c) && (l = c);
14
+ else {
15
+ let u = -1;
16
+ for (let d of i) (d = c(d, ++u, i)) != null && (l < d || l === void 0 && d >= d) && (l = d);
17
+ }
18
+ return l;
19
+ }
20
+ function min(i, c) {
21
+ let l;
22
+ if (c === void 0) for (let c of i) c != null && (l > c || l === void 0 && c >= c) && (l = c);
23
+ else {
24
+ let u = -1;
25
+ for (let d of i) (d = c(d, ++u, i)) != null && (l > d || l === void 0 && d >= d) && (l = d);
26
+ }
27
+ return l;
28
+ }
29
+ function identity_default(i) {
30
+ return i;
31
+ }
32
+ var top = 1, right = 2, bottom = 3, left = 4, epsilon = 1e-6;
33
+ function translateX(i) {
34
+ return "translate(" + i + ",0)";
35
+ }
36
+ function translateY(i) {
37
+ return "translate(0," + i + ")";
38
+ }
39
+ function number$1(i) {
40
+ return (c) => +i(c);
41
+ }
42
+ function center(i, c) {
43
+ return c = Math.max(0, i.bandwidth() - c * 2) / 2, i.round() && (c = Math.round(c)), (l) => +i(l) + c;
44
+ }
45
+ function entering() {
46
+ return !this.__axis;
47
+ }
48
+ function axis(i, c) {
49
+ var l = [], u = null, d = null, f = 6, p = 6, m = 3, h = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : .5, g = i === top || i === left ? -1 : 1, _ = i === left || i === right ? "x" : "y", v = i === top || i === bottom ? translateX : translateY;
50
+ function y(y) {
51
+ var b = u ?? (c.ticks ? c.ticks.apply(c, l) : c.domain()), x = d ?? (c.tickFormat ? c.tickFormat.apply(c, l) : identity_default), S = Math.max(f, 0) + m, C = c.range(), T = +C[0] + h, E = +C[C.length - 1] + h, D = (c.bandwidth ? center : number$1)(c.copy(), h), O = y.selection ? y.selection() : y, k = O.selectAll(".domain").data([null]), A = O.selectAll(".tick").data(b, c).order(), j = A.exit(), M = A.enter().append("g").attr("class", "tick"), N = A.select("line"), P = A.select("text");
52
+ k = k.merge(k.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), A = A.merge(M), N = N.merge(M.append("line").attr("stroke", "currentColor").attr(_ + "2", g * f)), P = P.merge(M.append("text").attr("fill", "currentColor").attr(_, g * S).attr("dy", i === top ? "0em" : i === bottom ? "0.71em" : "0.32em")), y !== O && (k = k.transition(y), A = A.transition(y), N = N.transition(y), P = P.transition(y), j = j.transition(y).attr("opacity", epsilon).attr("transform", function(i) {
53
+ return isFinite(i = D(i)) ? v(i + h) : this.getAttribute("transform");
54
+ }), M.attr("opacity", epsilon).attr("transform", function(i) {
55
+ var c = this.parentNode.__axis;
56
+ return v((c && isFinite(c = c(i)) ? c : D(i)) + h);
57
+ })), j.remove(), k.attr("d", i === left || i === right ? p ? "M" + g * p + "," + T + "H" + h + "V" + E + "H" + g * p : "M" + h + "," + T + "V" + E : p ? "M" + T + "," + g * p + "V" + h + "H" + E + "V" + g * p : "M" + T + "," + h + "H" + E), A.attr("opacity", 1).attr("transform", function(i) {
58
+ return v(D(i) + h);
59
+ }), N.attr(_ + "2", g * f), P.attr(_, g * S).text(x), O.filter(entering).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", i === right ? "start" : i === left ? "end" : "middle"), O.each(function() {
60
+ this.__axis = D;
61
+ });
62
+ }
63
+ return y.scale = function(i) {
64
+ return arguments.length ? (c = i, y) : c;
65
+ }, y.ticks = function() {
66
+ return l = Array.from(arguments), y;
67
+ }, y.tickArguments = function(i) {
68
+ return arguments.length ? (l = i == null ? [] : Array.from(i), y) : l.slice();
69
+ }, y.tickValues = function(i) {
70
+ return arguments.length ? (u = i == null ? null : Array.from(i), y) : u && u.slice();
71
+ }, y.tickFormat = function(i) {
72
+ return arguments.length ? (d = i, y) : d;
73
+ }, y.tickSize = function(i) {
74
+ return arguments.length ? (f = p = +i, y) : f;
75
+ }, y.tickSizeInner = function(i) {
76
+ return arguments.length ? (f = +i, y) : f;
77
+ }, y.tickSizeOuter = function(i) {
78
+ return arguments.length ? (p = +i, y) : p;
79
+ }, y.tickPadding = function(i) {
80
+ return arguments.length ? (m = +i, y) : m;
81
+ }, y.offset = function(i) {
82
+ return arguments.length ? (h = +i, y) : h;
83
+ }, y;
84
+ }
85
+ function axisTop(i) {
86
+ return axis(top, i);
87
+ }
88
+ function axisBottom(i) {
89
+ return axis(bottom, i);
90
+ }
91
+ const radians = Math.PI / 180, degrees = 180 / Math.PI;
92
+ var K = 18, Xn = .96422, Yn = 1, Zn = .82521, t0$1 = 4 / 29, t1$1 = 6 / 29, t2 = 3 * t1$1 * t1$1, t3 = t1$1 * t1$1 * t1$1;
93
+ function labConvert(i) {
94
+ if (i instanceof Lab) return new Lab(i.l, i.a, i.b, i.opacity);
95
+ if (i instanceof Hcl) return hcl2lab(i);
96
+ i instanceof Rgb || (i = rgbConvert(i));
97
+ var c = rgb2lrgb(i.r), l = rgb2lrgb(i.g), u = rgb2lrgb(i.b), f = xyz2lab((.2225045 * c + .7168786 * l + .0606169 * u) / Yn), p, m;
98
+ return c === l && l === u ? p = m = f : (p = xyz2lab((.4360747 * c + .3850649 * l + .1430804 * u) / Xn), m = xyz2lab((.0139322 * c + .0971045 * l + .7141733 * u) / Zn)), new Lab(116 * f - 16, 500 * (p - f), 200 * (f - m), i.opacity);
99
+ }
100
+ function lab(i, c, l, u) {
101
+ return arguments.length === 1 ? labConvert(i) : new Lab(i, c, l, u ?? 1);
102
+ }
103
+ function Lab(i, c, l, u) {
104
+ this.l = +i, this.a = +c, this.b = +l, this.opacity = +u;
105
+ }
106
+ define_default(Lab, lab, extend(Color, {
107
+ brighter(i) {
108
+ return new Lab(this.l + K * (i ?? 1), this.a, this.b, this.opacity);
109
+ },
110
+ darker(i) {
111
+ return new Lab(this.l - K * (i ?? 1), this.a, this.b, this.opacity);
112
+ },
113
+ rgb() {
114
+ var i = (this.l + 16) / 116, c = isNaN(this.a) ? i : i + this.a / 500, l = isNaN(this.b) ? i : i - this.b / 200;
115
+ return c = Xn * lab2xyz(c), i = Yn * lab2xyz(i), l = Zn * lab2xyz(l), new Rgb(lrgb2rgb(3.1338561 * c - 1.6168667 * i - .4906146 * l), lrgb2rgb(-.9787684 * c + 1.9161415 * i + .033454 * l), lrgb2rgb(.0719453 * c - .2289914 * i + 1.4052427 * l), this.opacity);
116
+ }
117
+ }));
118
+ function xyz2lab(i) {
119
+ return i > t3 ? i ** (1 / 3) : i / t2 + t0$1;
120
+ }
121
+ function lab2xyz(i) {
122
+ return i > t1$1 ? i * i * i : t2 * (i - t0$1);
123
+ }
124
+ function lrgb2rgb(i) {
125
+ return 255 * (i <= .0031308 ? 12.92 * i : 1.055 * i ** (1 / 2.4) - .055);
126
+ }
127
+ function rgb2lrgb(i) {
128
+ return (i /= 255) <= .04045 ? i / 12.92 : ((i + .055) / 1.055) ** 2.4;
129
+ }
130
+ function hclConvert(i) {
131
+ if (i instanceof Hcl) return new Hcl(i.h, i.c, i.l, i.opacity);
132
+ if (i instanceof Lab || (i = labConvert(i)), i.a === 0 && i.b === 0) return new Hcl(NaN, 0 < i.l && i.l < 100 ? 0 : NaN, i.l, i.opacity);
133
+ var c = Math.atan2(i.b, i.a) * degrees;
134
+ return new Hcl(c < 0 ? c + 360 : c, Math.sqrt(i.a * i.a + i.b * i.b), i.l, i.opacity);
135
+ }
136
+ function hcl(i, c, l, u) {
137
+ return arguments.length === 1 ? hclConvert(i) : new Hcl(i, c, l, u ?? 1);
138
+ }
139
+ function Hcl(i, c, l, u) {
140
+ this.h = +i, this.c = +c, this.l = +l, this.opacity = +u;
141
+ }
142
+ function hcl2lab(i) {
143
+ if (isNaN(i.h)) return new Lab(i.l, 0, 0, i.opacity);
144
+ var c = i.h * radians;
145
+ return new Lab(i.l, Math.cos(c) * i.c, Math.sin(c) * i.c, i.opacity);
146
+ }
147
+ define_default(Hcl, hcl, extend(Color, {
148
+ brighter(i) {
149
+ return new Hcl(this.h, this.c, this.l + K * (i ?? 1), this.opacity);
150
+ },
151
+ darker(i) {
152
+ return new Hcl(this.h, this.c, this.l - K * (i ?? 1), this.opacity);
153
+ },
154
+ rgb() {
155
+ return hcl2lab(this).rgb();
156
+ }
157
+ }));
158
+ function hcl$1(i) {
159
+ return function(c, l) {
160
+ var d = i((c = hcl(c)).h, (l = hcl(l)).h), f = nogamma(c.c, l.c), p = nogamma(c.l, l.l), m = nogamma(c.opacity, l.opacity);
161
+ return function(i) {
162
+ return c.h = d(i), c.c = f(i), c.l = p(i), c.opacity = m(i), c + "";
163
+ };
164
+ };
165
+ }
166
+ var hcl_default = hcl$1(hue);
167
+ function nice(i, c) {
168
+ i = i.slice();
169
+ var l = 0, u = i.length - 1, d = i[l], f = i[u], p;
170
+ return f < d && (p = l, l = u, u = p, p = d, d = f, f = p), i[l] = c.floor(d), i[u] = c.ceil(f), i;
171
+ }
172
+ var t0 = /* @__PURE__ */ new Date(), t1 = /* @__PURE__ */ new Date();
173
+ function timeInterval(i, c, l, u) {
174
+ function d(c) {
175
+ return i(c = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+c)), c;
176
+ }
177
+ return d.floor = (c) => (i(c = /* @__PURE__ */ new Date(+c)), c), d.ceil = (l) => (i(l = /* @__PURE__ */ new Date(l - 1)), c(l, 1), i(l), l), d.round = (i) => {
178
+ let c = d(i), l = d.ceil(i);
179
+ return i - c < l - i ? c : l;
180
+ }, d.offset = (i, l) => (c(i = /* @__PURE__ */ new Date(+i), l == null ? 1 : Math.floor(l)), i), d.range = (l, u, f) => {
181
+ let p = [];
182
+ if (l = d.ceil(l), f = f == null ? 1 : Math.floor(f), !(l < u) || !(f > 0)) return p;
183
+ let m;
184
+ do
185
+ p.push(m = /* @__PURE__ */ new Date(+l)), c(l, f), i(l);
186
+ while (m < l && l < u);
187
+ return p;
188
+ }, d.filter = (l) => timeInterval((c) => {
189
+ if (c >= c) for (; i(c), !l(c);) c.setTime(c - 1);
190
+ }, (i, u) => {
191
+ if (i >= i) if (u < 0) for (; ++u <= 0;) for (; c(i, -1), !l(i););
192
+ else for (; --u >= 0;) for (; c(i, 1), !l(i););
193
+ }), l && (d.count = (c, u) => (t0.setTime(+c), t1.setTime(+u), i(t0), i(t1), Math.floor(l(t0, t1))), d.every = (i) => (i = Math.floor(i), !isFinite(i) || !(i > 0) ? null : i > 1 ? d.filter(u ? (c) => u(c) % i === 0 : (c) => d.count(0, c) % i === 0) : d)), d;
194
+ }
195
+ const millisecond = timeInterval(() => {}, (i, c) => {
196
+ i.setTime(+i + c);
197
+ }, (i, c) => c - i);
198
+ millisecond.every = (i) => (i = Math.floor(i), !isFinite(i) || !(i > 0) ? null : i > 1 ? timeInterval((c) => {
199
+ c.setTime(Math.floor(c / i) * i);
200
+ }, (c, l) => {
201
+ c.setTime(+c + l * i);
202
+ }, (c, l) => (l - c) / i) : millisecond), millisecond.range;
203
+ const durationSecond = 1e3, durationMinute = durationSecond * 60, durationHour = durationMinute * 60, durationDay = durationHour * 24, durationWeek = durationDay * 7, durationMonth = durationDay * 30, durationYear = durationDay * 365, second = timeInterval((i) => {
204
+ i.setTime(i - i.getMilliseconds());
205
+ }, (i, c) => {
206
+ i.setTime(+i + c * durationSecond);
207
+ }, (i, c) => (c - i) / durationSecond, (i) => i.getUTCSeconds());
208
+ second.range;
209
+ const timeMinute = timeInterval((i) => {
210
+ i.setTime(i - i.getMilliseconds() - i.getSeconds() * durationSecond);
211
+ }, (i, c) => {
212
+ i.setTime(+i + c * durationMinute);
213
+ }, (i, c) => (c - i) / durationMinute, (i) => i.getMinutes());
214
+ timeMinute.range;
215
+ const utcMinute = timeInterval((i) => {
216
+ i.setUTCSeconds(0, 0);
217
+ }, (i, c) => {
218
+ i.setTime(+i + c * durationMinute);
219
+ }, (i, c) => (c - i) / durationMinute, (i) => i.getUTCMinutes());
220
+ utcMinute.range;
221
+ const timeHour = timeInterval((i) => {
222
+ i.setTime(i - i.getMilliseconds() - i.getSeconds() * durationSecond - i.getMinutes() * durationMinute);
223
+ }, (i, c) => {
224
+ i.setTime(+i + c * durationHour);
225
+ }, (i, c) => (c - i) / durationHour, (i) => i.getHours());
226
+ timeHour.range;
227
+ const utcHour = timeInterval((i) => {
228
+ i.setUTCMinutes(0, 0, 0);
229
+ }, (i, c) => {
230
+ i.setTime(+i + c * durationHour);
231
+ }, (i, c) => (c - i) / durationHour, (i) => i.getUTCHours());
232
+ utcHour.range;
233
+ const timeDay = timeInterval((i) => i.setHours(0, 0, 0, 0), (i, c) => i.setDate(i.getDate() + c), (i, c) => (c - i - (c.getTimezoneOffset() - i.getTimezoneOffset()) * durationMinute) / durationDay, (i) => i.getDate() - 1);
234
+ timeDay.range;
235
+ const utcDay = timeInterval((i) => {
236
+ i.setUTCHours(0, 0, 0, 0);
237
+ }, (i, c) => {
238
+ i.setUTCDate(i.getUTCDate() + c);
239
+ }, (i, c) => (c - i) / durationDay, (i) => i.getUTCDate() - 1);
240
+ utcDay.range;
241
+ const unixDay = timeInterval((i) => {
242
+ i.setUTCHours(0, 0, 0, 0);
243
+ }, (i, c) => {
244
+ i.setUTCDate(i.getUTCDate() + c);
245
+ }, (i, c) => (c - i) / durationDay, (i) => Math.floor(i / durationDay));
246
+ unixDay.range;
247
+ function timeWeekday(i) {
248
+ return timeInterval((c) => {
249
+ c.setDate(c.getDate() - (c.getDay() + 7 - i) % 7), c.setHours(0, 0, 0, 0);
250
+ }, (i, c) => {
251
+ i.setDate(i.getDate() + c * 7);
252
+ }, (i, c) => (c - i - (c.getTimezoneOffset() - i.getTimezoneOffset()) * durationMinute) / durationWeek);
253
+ }
254
+ const timeSunday = timeWeekday(0), timeMonday = timeWeekday(1), timeTuesday = timeWeekday(2), timeWednesday = timeWeekday(3), timeThursday = timeWeekday(4), timeFriday = timeWeekday(5), timeSaturday = timeWeekday(6);
255
+ timeSunday.range, timeMonday.range, timeTuesday.range, timeWednesday.range, timeThursday.range, timeFriday.range, timeSaturday.range;
256
+ function utcWeekday(i) {
257
+ return timeInterval((c) => {
258
+ c.setUTCDate(c.getUTCDate() - (c.getUTCDay() + 7 - i) % 7), c.setUTCHours(0, 0, 0, 0);
259
+ }, (i, c) => {
260
+ i.setUTCDate(i.getUTCDate() + c * 7);
261
+ }, (i, c) => (c - i) / durationWeek);
262
+ }
263
+ const utcSunday = utcWeekday(0), utcMonday = utcWeekday(1), utcTuesday = utcWeekday(2), utcWednesday = utcWeekday(3), utcThursday = utcWeekday(4), utcFriday = utcWeekday(5), utcSaturday = utcWeekday(6);
264
+ utcSunday.range, utcMonday.range, utcTuesday.range, utcWednesday.range, utcThursday.range, utcFriday.range, utcSaturday.range;
265
+ const timeMonth = timeInterval((i) => {
266
+ i.setDate(1), i.setHours(0, 0, 0, 0);
267
+ }, (i, c) => {
268
+ i.setMonth(i.getMonth() + c);
269
+ }, (i, c) => c.getMonth() - i.getMonth() + (c.getFullYear() - i.getFullYear()) * 12, (i) => i.getMonth());
270
+ timeMonth.range;
271
+ const utcMonth = timeInterval((i) => {
272
+ i.setUTCDate(1), i.setUTCHours(0, 0, 0, 0);
273
+ }, (i, c) => {
274
+ i.setUTCMonth(i.getUTCMonth() + c);
275
+ }, (i, c) => c.getUTCMonth() - i.getUTCMonth() + (c.getUTCFullYear() - i.getUTCFullYear()) * 12, (i) => i.getUTCMonth());
276
+ utcMonth.range;
277
+ const timeYear = timeInterval((i) => {
278
+ i.setMonth(0, 1), i.setHours(0, 0, 0, 0);
279
+ }, (i, c) => {
280
+ i.setFullYear(i.getFullYear() + c);
281
+ }, (i, c) => c.getFullYear() - i.getFullYear(), (i) => i.getFullYear());
282
+ timeYear.every = (i) => !isFinite(i = Math.floor(i)) || !(i > 0) ? null : timeInterval((c) => {
283
+ c.setFullYear(Math.floor(c.getFullYear() / i) * i), c.setMonth(0, 1), c.setHours(0, 0, 0, 0);
284
+ }, (c, l) => {
285
+ c.setFullYear(c.getFullYear() + l * i);
286
+ }), timeYear.range;
287
+ const utcYear = timeInterval((i) => {
288
+ i.setUTCMonth(0, 1), i.setUTCHours(0, 0, 0, 0);
289
+ }, (i, c) => {
290
+ i.setUTCFullYear(i.getUTCFullYear() + c);
291
+ }, (i, c) => c.getUTCFullYear() - i.getUTCFullYear(), (i) => i.getUTCFullYear());
292
+ utcYear.every = (i) => !isFinite(i = Math.floor(i)) || !(i > 0) ? null : timeInterval((c) => {
293
+ c.setUTCFullYear(Math.floor(c.getUTCFullYear() / i) * i), c.setUTCMonth(0, 1), c.setUTCHours(0, 0, 0, 0);
294
+ }, (c, l) => {
295
+ c.setUTCFullYear(c.getUTCFullYear() + l * i);
296
+ }), utcYear.range;
297
+ function ticker(i, c, l, u, d, f) {
298
+ let p = [
299
+ [
300
+ second,
301
+ 1,
302
+ durationSecond
303
+ ],
304
+ [
305
+ second,
306
+ 5,
307
+ 5 * durationSecond
308
+ ],
309
+ [
310
+ second,
311
+ 15,
312
+ 15 * durationSecond
313
+ ],
314
+ [
315
+ second,
316
+ 30,
317
+ 30 * durationSecond
318
+ ],
319
+ [
320
+ f,
321
+ 1,
322
+ durationMinute
323
+ ],
324
+ [
325
+ f,
326
+ 5,
327
+ 5 * durationMinute
328
+ ],
329
+ [
330
+ f,
331
+ 15,
332
+ 15 * durationMinute
333
+ ],
334
+ [
335
+ f,
336
+ 30,
337
+ 30 * durationMinute
338
+ ],
339
+ [
340
+ d,
341
+ 1,
342
+ durationHour
343
+ ],
344
+ [
345
+ d,
346
+ 3,
347
+ 3 * durationHour
348
+ ],
349
+ [
350
+ d,
351
+ 6,
352
+ 6 * durationHour
353
+ ],
354
+ [
355
+ d,
356
+ 12,
357
+ 12 * durationHour
358
+ ],
359
+ [
360
+ u,
361
+ 1,
362
+ durationDay
363
+ ],
364
+ [
365
+ u,
366
+ 2,
367
+ 2 * durationDay
368
+ ],
369
+ [
370
+ l,
371
+ 1,
372
+ durationWeek
373
+ ],
374
+ [
375
+ c,
376
+ 1,
377
+ durationMonth
378
+ ],
379
+ [
380
+ c,
381
+ 3,
382
+ 3 * durationMonth
383
+ ],
384
+ [
385
+ i,
386
+ 1,
387
+ durationYear
388
+ ]
389
+ ];
390
+ function m(i, c, l) {
391
+ let u = c < i;
392
+ u && ([i, c] = [c, i]);
393
+ let d = l && typeof l.range == "function" ? l : h(i, c, l), f = d ? d.range(i, +c + 1) : [];
394
+ return u ? f.reverse() : f;
395
+ }
396
+ function h(c, l, u) {
397
+ let d = Math.abs(l - c) / u, f = bisector(([, , i]) => i).right(p, d);
398
+ if (f === p.length) return i.every(tickStep(c / durationYear, l / durationYear, u));
399
+ if (f === 0) return millisecond.every(Math.max(tickStep(c, l, u), 1));
400
+ let [m, h] = p[d / p[f - 1][2] < p[f][2] / d ? f - 1 : f];
401
+ return m.every(h);
402
+ }
403
+ return [m, h];
404
+ }
405
+ var [utcTicks, utcTickInterval] = ticker(utcYear, utcMonth, utcSunday, unixDay, utcHour, utcMinute), [timeTicks, timeTickInterval] = ticker(timeYear, timeMonth, timeSunday, timeDay, timeHour, timeMinute);
406
+ function localDate(i) {
407
+ if (0 <= i.y && i.y < 100) {
408
+ var c = new Date(-1, i.m, i.d, i.H, i.M, i.S, i.L);
409
+ return c.setFullYear(i.y), c;
410
+ }
411
+ return new Date(i.y, i.m, i.d, i.H, i.M, i.S, i.L);
412
+ }
413
+ function utcDate(i) {
414
+ if (0 <= i.y && i.y < 100) {
415
+ var c = new Date(Date.UTC(-1, i.m, i.d, i.H, i.M, i.S, i.L));
416
+ return c.setUTCFullYear(i.y), c;
417
+ }
418
+ return new Date(Date.UTC(i.y, i.m, i.d, i.H, i.M, i.S, i.L));
419
+ }
420
+ function newDate(i, c, l) {
421
+ return {
422
+ y: i,
423
+ m: c,
424
+ d: l,
425
+ H: 0,
426
+ M: 0,
427
+ S: 0,
428
+ L: 0
429
+ };
430
+ }
431
+ function formatLocale(i) {
432
+ var c = i.dateTime, l = i.date, u = i.time, d = i.periods, f = i.days, p = i.shortDays, m = i.months, h = i.shortMonths, g = formatRe(d), _ = formatLookup(d), v = formatRe(f), y = formatLookup(f), b = formatRe(p), x = formatLookup(p), S = formatRe(m), C = formatLookup(m), T = formatRe(h), E = formatLookup(h), D = {
433
+ a: V,
434
+ A: H,
435
+ b: U,
436
+ B: W,
437
+ c: null,
438
+ d: formatDayOfMonth,
439
+ e: formatDayOfMonth,
440
+ f: formatMicroseconds,
441
+ g: formatYearISO,
442
+ G: formatFullYearISO,
443
+ H: formatHour24,
444
+ I: formatHour12,
445
+ j: formatDayOfYear,
446
+ L: formatMilliseconds,
447
+ m: formatMonthNumber,
448
+ M: formatMinutes,
449
+ p: G,
450
+ q,
451
+ Q: formatUnixTimestamp,
452
+ s: formatUnixTimestampSeconds,
453
+ S: formatSeconds,
454
+ u: formatWeekdayNumberMonday,
455
+ U: formatWeekNumberSunday,
456
+ V: formatWeekNumberISO,
457
+ w: formatWeekdayNumberSunday,
458
+ W: formatWeekNumberMonday,
459
+ x: null,
460
+ X: null,
461
+ y: formatYear,
462
+ Y: formatFullYear,
463
+ Z: formatZone,
464
+ "%": formatLiteralPercent
465
+ }, O = {
466
+ a: J,
467
+ A: Y,
468
+ b: X,
469
+ B: Z,
470
+ c: null,
471
+ d: formatUTCDayOfMonth,
472
+ e: formatUTCDayOfMonth,
473
+ f: formatUTCMicroseconds,
474
+ g: formatUTCYearISO,
475
+ G: formatUTCFullYearISO,
476
+ H: formatUTCHour24,
477
+ I: formatUTCHour12,
478
+ j: formatUTCDayOfYear,
479
+ L: formatUTCMilliseconds,
480
+ m: formatUTCMonthNumber,
481
+ M: formatUTCMinutes,
482
+ p: Q,
483
+ q: $,
484
+ Q: formatUnixTimestamp,
485
+ s: formatUnixTimestampSeconds,
486
+ S: formatUTCSeconds,
487
+ u: formatUTCWeekdayNumberMonday,
488
+ U: formatUTCWeekNumberSunday,
489
+ V: formatUTCWeekNumberISO,
490
+ w: formatUTCWeekdayNumberSunday,
491
+ W: formatUTCWeekNumberMonday,
492
+ x: null,
493
+ X: null,
494
+ y: formatUTCYear,
495
+ Y: formatUTCFullYear,
496
+ Z: formatUTCZone,
497
+ "%": formatLiteralPercent
498
+ }, k = {
499
+ a: P,
500
+ A: F,
501
+ b: I,
502
+ B: L,
503
+ c: R,
504
+ d: parseDayOfMonth,
505
+ e: parseDayOfMonth,
506
+ f: parseMicroseconds,
507
+ g: parseYear,
508
+ G: parseFullYear,
509
+ H: parseHour24,
510
+ I: parseHour24,
511
+ j: parseDayOfYear,
512
+ L: parseMilliseconds,
513
+ m: parseMonthNumber,
514
+ M: parseMinutes,
515
+ p: N,
516
+ q: parseQuarter,
517
+ Q: parseUnixTimestamp,
518
+ s: parseUnixTimestampSeconds,
519
+ S: parseSeconds,
520
+ u: parseWeekdayNumberMonday,
521
+ U: parseWeekNumberSunday,
522
+ V: parseWeekNumberISO,
523
+ w: parseWeekdayNumberSunday,
524
+ W: parseWeekNumberMonday,
525
+ x: z,
526
+ X: B,
527
+ y: parseYear,
528
+ Y: parseFullYear,
529
+ Z: parseZone,
530
+ "%": parseLiteralPercent
531
+ };
532
+ D.x = A(l, D), D.X = A(u, D), D.c = A(c, D), O.x = A(l, O), O.X = A(u, O), O.c = A(c, O);
533
+ function A(i, c) {
534
+ return function(l) {
535
+ var u = [], d = -1, f = 0, p = i.length, m, h, g;
536
+ for (l instanceof Date || (l = /* @__PURE__ */ new Date(+l)); ++d < p;) i.charCodeAt(d) === 37 && (u.push(i.slice(f, d)), (h = pads[m = i.charAt(++d)]) == null ? h = m === "e" ? " " : "0" : m = i.charAt(++d), (g = c[m]) && (m = g(l, h)), u.push(m), f = d + 1);
537
+ return u.push(i.slice(f, d)), u.join("");
538
+ };
539
+ }
540
+ function j(i, c) {
541
+ return function(l) {
542
+ var u = newDate(1900, void 0, 1), d = M(u, i, l += "", 0), f, p;
543
+ if (d != l.length) return null;
544
+ if ("Q" in u) return new Date(u.Q);
545
+ if ("s" in u) return new Date(u.s * 1e3 + ("L" in u ? u.L : 0));
546
+ if (c && !("Z" in u) && (u.Z = 0), "p" in u && (u.H = u.H % 12 + u.p * 12), u.m === void 0 && (u.m = "q" in u ? u.q : 0), "V" in u) {
547
+ if (u.V < 1 || u.V > 53) return null;
548
+ "w" in u || (u.w = 1), "Z" in u ? (f = utcDate(newDate(u.y, 0, 1)), p = f.getUTCDay(), f = p > 4 || p === 0 ? utcMonday.ceil(f) : utcMonday(f), f = utcDay.offset(f, (u.V - 1) * 7), u.y = f.getUTCFullYear(), u.m = f.getUTCMonth(), u.d = f.getUTCDate() + (u.w + 6) % 7) : (f = localDate(newDate(u.y, 0, 1)), p = f.getDay(), f = p > 4 || p === 0 ? timeMonday.ceil(f) : timeMonday(f), f = timeDay.offset(f, (u.V - 1) * 7), u.y = f.getFullYear(), u.m = f.getMonth(), u.d = f.getDate() + (u.w + 6) % 7);
549
+ } else ("W" in u || "U" in u) && ("w" in u || (u.w = "u" in u ? u.u % 7 : "W" in u ? 1 : 0), p = "Z" in u ? utcDate(newDate(u.y, 0, 1)).getUTCDay() : localDate(newDate(u.y, 0, 1)).getDay(), u.m = 0, u.d = "W" in u ? (u.w + 6) % 7 + u.W * 7 - (p + 5) % 7 : u.w + u.U * 7 - (p + 6) % 7);
550
+ return "Z" in u ? (u.H += u.Z / 100 | 0, u.M += u.Z % 100, utcDate(u)) : localDate(u);
551
+ };
552
+ }
553
+ function M(i, c, l, u) {
554
+ for (var d = 0, f = c.length, p = l.length, m, h; d < f;) {
555
+ if (u >= p) return -1;
556
+ if (m = c.charCodeAt(d++), m === 37) {
557
+ if (m = c.charAt(d++), h = k[m in pads ? c.charAt(d++) : m], !h || (u = h(i, l, u)) < 0) return -1;
558
+ } else if (m != l.charCodeAt(u++)) return -1;
559
+ }
560
+ return u;
561
+ }
562
+ function N(i, c, l) {
563
+ var u = g.exec(c.slice(l));
564
+ return u ? (i.p = _.get(u[0].toLowerCase()), l + u[0].length) : -1;
565
+ }
566
+ function P(i, c, l) {
567
+ var u = b.exec(c.slice(l));
568
+ return u ? (i.w = x.get(u[0].toLowerCase()), l + u[0].length) : -1;
569
+ }
570
+ function F(i, c, l) {
571
+ var u = v.exec(c.slice(l));
572
+ return u ? (i.w = y.get(u[0].toLowerCase()), l + u[0].length) : -1;
573
+ }
574
+ function I(i, c, l) {
575
+ var u = T.exec(c.slice(l));
576
+ return u ? (i.m = E.get(u[0].toLowerCase()), l + u[0].length) : -1;
577
+ }
578
+ function L(i, c, l) {
579
+ var u = S.exec(c.slice(l));
580
+ return u ? (i.m = C.get(u[0].toLowerCase()), l + u[0].length) : -1;
581
+ }
582
+ function R(i, l, u) {
583
+ return M(i, c, l, u);
584
+ }
585
+ function z(i, c, u) {
586
+ return M(i, l, c, u);
587
+ }
588
+ function B(i, c, l) {
589
+ return M(i, u, c, l);
590
+ }
591
+ function V(i) {
592
+ return p[i.getDay()];
593
+ }
594
+ function H(i) {
595
+ return f[i.getDay()];
596
+ }
597
+ function U(i) {
598
+ return h[i.getMonth()];
599
+ }
600
+ function W(i) {
601
+ return m[i.getMonth()];
602
+ }
603
+ function G(i) {
604
+ return d[+(i.getHours() >= 12)];
605
+ }
606
+ function q(i) {
607
+ return 1 + ~~(i.getMonth() / 3);
608
+ }
609
+ function J(i) {
610
+ return p[i.getUTCDay()];
611
+ }
612
+ function Y(i) {
613
+ return f[i.getUTCDay()];
614
+ }
615
+ function X(i) {
616
+ return h[i.getUTCMonth()];
617
+ }
618
+ function Z(i) {
619
+ return m[i.getUTCMonth()];
620
+ }
621
+ function Q(i) {
622
+ return d[+(i.getUTCHours() >= 12)];
623
+ }
624
+ function $(i) {
625
+ return 1 + ~~(i.getUTCMonth() / 3);
626
+ }
627
+ return {
628
+ format: function(i) {
629
+ var c = A(i += "", D);
630
+ return c.toString = function() {
631
+ return i;
632
+ }, c;
633
+ },
634
+ parse: function(i) {
635
+ var c = j(i += "", !1);
636
+ return c.toString = function() {
637
+ return i;
638
+ }, c;
639
+ },
640
+ utcFormat: function(i) {
641
+ var c = A(i += "", O);
642
+ return c.toString = function() {
643
+ return i;
644
+ }, c;
645
+ },
646
+ utcParse: function(i) {
647
+ var c = j(i += "", !0);
648
+ return c.toString = function() {
649
+ return i;
650
+ }, c;
651
+ }
652
+ };
653
+ }
654
+ var pads = {
655
+ "-": "",
656
+ _: " ",
657
+ 0: "0"
658
+ }, numberRe = /^\s*\d+/, percentRe = /^%/, requoteRe = /[\\^$*+?|[\]().{}]/g;
659
+ function pad(i, c, l) {
660
+ var u = i < 0 ? "-" : "", d = (u ? -i : i) + "", f = d.length;
661
+ return u + (f < l ? Array(l - f + 1).join(c) + d : d);
662
+ }
663
+ function requote(i) {
664
+ return i.replace(requoteRe, "\\$&");
665
+ }
666
+ function formatRe(i) {
667
+ return RegExp("^(?:" + i.map(requote).join("|") + ")", "i");
668
+ }
669
+ function formatLookup(i) {
670
+ return new Map(i.map((i, c) => [i.toLowerCase(), c]));
671
+ }
672
+ function parseWeekdayNumberSunday(i, c, l) {
673
+ var u = numberRe.exec(c.slice(l, l + 1));
674
+ return u ? (i.w = +u[0], l + u[0].length) : -1;
675
+ }
676
+ function parseWeekdayNumberMonday(i, c, l) {
677
+ var u = numberRe.exec(c.slice(l, l + 1));
678
+ return u ? (i.u = +u[0], l + u[0].length) : -1;
679
+ }
680
+ function parseWeekNumberSunday(i, c, l) {
681
+ var u = numberRe.exec(c.slice(l, l + 2));
682
+ return u ? (i.U = +u[0], l + u[0].length) : -1;
683
+ }
684
+ function parseWeekNumberISO(i, c, l) {
685
+ var u = numberRe.exec(c.slice(l, l + 2));
686
+ return u ? (i.V = +u[0], l + u[0].length) : -1;
687
+ }
688
+ function parseWeekNumberMonday(i, c, l) {
689
+ var u = numberRe.exec(c.slice(l, l + 2));
690
+ return u ? (i.W = +u[0], l + u[0].length) : -1;
691
+ }
692
+ function parseFullYear(i, c, l) {
693
+ var u = numberRe.exec(c.slice(l, l + 4));
694
+ return u ? (i.y = +u[0], l + u[0].length) : -1;
695
+ }
696
+ function parseYear(i, c, l) {
697
+ var u = numberRe.exec(c.slice(l, l + 2));
698
+ return u ? (i.y = +u[0] + (+u[0] > 68 ? 1900 : 2e3), l + u[0].length) : -1;
699
+ }
700
+ function parseZone(i, c, l) {
701
+ var u = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(c.slice(l, l + 6));
702
+ return u ? (i.Z = u[1] ? 0 : -(u[2] + (u[3] || "00")), l + u[0].length) : -1;
703
+ }
704
+ function parseQuarter(i, c, l) {
705
+ var u = numberRe.exec(c.slice(l, l + 1));
706
+ return u ? (i.q = u[0] * 3 - 3, l + u[0].length) : -1;
707
+ }
708
+ function parseMonthNumber(i, c, l) {
709
+ var u = numberRe.exec(c.slice(l, l + 2));
710
+ return u ? (i.m = u[0] - 1, l + u[0].length) : -1;
711
+ }
712
+ function parseDayOfMonth(i, c, l) {
713
+ var u = numberRe.exec(c.slice(l, l + 2));
714
+ return u ? (i.d = +u[0], l + u[0].length) : -1;
715
+ }
716
+ function parseDayOfYear(i, c, l) {
717
+ var u = numberRe.exec(c.slice(l, l + 3));
718
+ return u ? (i.m = 0, i.d = +u[0], l + u[0].length) : -1;
719
+ }
720
+ function parseHour24(i, c, l) {
721
+ var u = numberRe.exec(c.slice(l, l + 2));
722
+ return u ? (i.H = +u[0], l + u[0].length) : -1;
723
+ }
724
+ function parseMinutes(i, c, l) {
725
+ var u = numberRe.exec(c.slice(l, l + 2));
726
+ return u ? (i.M = +u[0], l + u[0].length) : -1;
727
+ }
728
+ function parseSeconds(i, c, l) {
729
+ var u = numberRe.exec(c.slice(l, l + 2));
730
+ return u ? (i.S = +u[0], l + u[0].length) : -1;
731
+ }
732
+ function parseMilliseconds(i, c, l) {
733
+ var u = numberRe.exec(c.slice(l, l + 3));
734
+ return u ? (i.L = +u[0], l + u[0].length) : -1;
735
+ }
736
+ function parseMicroseconds(i, c, l) {
737
+ var u = numberRe.exec(c.slice(l, l + 6));
738
+ return u ? (i.L = Math.floor(u[0] / 1e3), l + u[0].length) : -1;
739
+ }
740
+ function parseLiteralPercent(i, c, l) {
741
+ var u = percentRe.exec(c.slice(l, l + 1));
742
+ return u ? l + u[0].length : -1;
743
+ }
744
+ function parseUnixTimestamp(i, c, l) {
745
+ var u = numberRe.exec(c.slice(l));
746
+ return u ? (i.Q = +u[0], l + u[0].length) : -1;
747
+ }
748
+ function parseUnixTimestampSeconds(i, c, l) {
749
+ var u = numberRe.exec(c.slice(l));
750
+ return u ? (i.s = +u[0], l + u[0].length) : -1;
751
+ }
752
+ function formatDayOfMonth(i, c) {
753
+ return pad(i.getDate(), c, 2);
754
+ }
755
+ function formatHour24(i, c) {
756
+ return pad(i.getHours(), c, 2);
757
+ }
758
+ function formatHour12(i, c) {
759
+ return pad(i.getHours() % 12 || 12, c, 2);
760
+ }
761
+ function formatDayOfYear(i, c) {
762
+ return pad(1 + timeDay.count(timeYear(i), i), c, 3);
763
+ }
764
+ function formatMilliseconds(i, c) {
765
+ return pad(i.getMilliseconds(), c, 3);
766
+ }
767
+ function formatMicroseconds(i, c) {
768
+ return formatMilliseconds(i, c) + "000";
769
+ }
770
+ function formatMonthNumber(i, c) {
771
+ return pad(i.getMonth() + 1, c, 2);
772
+ }
773
+ function formatMinutes(i, c) {
774
+ return pad(i.getMinutes(), c, 2);
775
+ }
776
+ function formatSeconds(i, c) {
777
+ return pad(i.getSeconds(), c, 2);
778
+ }
779
+ function formatWeekdayNumberMonday(i) {
780
+ var c = i.getDay();
781
+ return c === 0 ? 7 : c;
782
+ }
783
+ function formatWeekNumberSunday(i, c) {
784
+ return pad(timeSunday.count(timeYear(i) - 1, i), c, 2);
785
+ }
786
+ function dISO(i) {
787
+ var c = i.getDay();
788
+ return c >= 4 || c === 0 ? timeThursday(i) : timeThursday.ceil(i);
789
+ }
790
+ function formatWeekNumberISO(i, c) {
791
+ return i = dISO(i), pad(timeThursday.count(timeYear(i), i) + (timeYear(i).getDay() === 4), c, 2);
792
+ }
793
+ function formatWeekdayNumberSunday(i) {
794
+ return i.getDay();
795
+ }
796
+ function formatWeekNumberMonday(i, c) {
797
+ return pad(timeMonday.count(timeYear(i) - 1, i), c, 2);
798
+ }
799
+ function formatYear(i, c) {
800
+ return pad(i.getFullYear() % 100, c, 2);
801
+ }
802
+ function formatYearISO(i, c) {
803
+ return i = dISO(i), pad(i.getFullYear() % 100, c, 2);
804
+ }
805
+ function formatFullYear(i, c) {
806
+ return pad(i.getFullYear() % 1e4, c, 4);
807
+ }
808
+ function formatFullYearISO(i, c) {
809
+ var l = i.getDay();
810
+ return i = l >= 4 || l === 0 ? timeThursday(i) : timeThursday.ceil(i), pad(i.getFullYear() % 1e4, c, 4);
811
+ }
812
+ function formatZone(i) {
813
+ var c = i.getTimezoneOffset();
814
+ return (c > 0 ? "-" : (c *= -1, "+")) + pad(c / 60 | 0, "0", 2) + pad(c % 60, "0", 2);
815
+ }
816
+ function formatUTCDayOfMonth(i, c) {
817
+ return pad(i.getUTCDate(), c, 2);
818
+ }
819
+ function formatUTCHour24(i, c) {
820
+ return pad(i.getUTCHours(), c, 2);
821
+ }
822
+ function formatUTCHour12(i, c) {
823
+ return pad(i.getUTCHours() % 12 || 12, c, 2);
824
+ }
825
+ function formatUTCDayOfYear(i, c) {
826
+ return pad(1 + utcDay.count(utcYear(i), i), c, 3);
827
+ }
828
+ function formatUTCMilliseconds(i, c) {
829
+ return pad(i.getUTCMilliseconds(), c, 3);
830
+ }
831
+ function formatUTCMicroseconds(i, c) {
832
+ return formatUTCMilliseconds(i, c) + "000";
833
+ }
834
+ function formatUTCMonthNumber(i, c) {
835
+ return pad(i.getUTCMonth() + 1, c, 2);
836
+ }
837
+ function formatUTCMinutes(i, c) {
838
+ return pad(i.getUTCMinutes(), c, 2);
839
+ }
840
+ function formatUTCSeconds(i, c) {
841
+ return pad(i.getUTCSeconds(), c, 2);
842
+ }
843
+ function formatUTCWeekdayNumberMonday(i) {
844
+ var c = i.getUTCDay();
845
+ return c === 0 ? 7 : c;
846
+ }
847
+ function formatUTCWeekNumberSunday(i, c) {
848
+ return pad(utcSunday.count(utcYear(i) - 1, i), c, 2);
849
+ }
850
+ function UTCdISO(i) {
851
+ var c = i.getUTCDay();
852
+ return c >= 4 || c === 0 ? utcThursday(i) : utcThursday.ceil(i);
853
+ }
854
+ function formatUTCWeekNumberISO(i, c) {
855
+ return i = UTCdISO(i), pad(utcThursday.count(utcYear(i), i) + (utcYear(i).getUTCDay() === 4), c, 2);
856
+ }
857
+ function formatUTCWeekdayNumberSunday(i) {
858
+ return i.getUTCDay();
859
+ }
860
+ function formatUTCWeekNumberMonday(i, c) {
861
+ return pad(utcMonday.count(utcYear(i) - 1, i), c, 2);
862
+ }
863
+ function formatUTCYear(i, c) {
864
+ return pad(i.getUTCFullYear() % 100, c, 2);
865
+ }
866
+ function formatUTCYearISO(i, c) {
867
+ return i = UTCdISO(i), pad(i.getUTCFullYear() % 100, c, 2);
868
+ }
869
+ function formatUTCFullYear(i, c) {
870
+ return pad(i.getUTCFullYear() % 1e4, c, 4);
871
+ }
872
+ function formatUTCFullYearISO(i, c) {
873
+ var l = i.getUTCDay();
874
+ return i = l >= 4 || l === 0 ? utcThursday(i) : utcThursday.ceil(i), pad(i.getUTCFullYear() % 1e4, c, 4);
875
+ }
876
+ function formatUTCZone() {
877
+ return "+0000";
878
+ }
879
+ function formatLiteralPercent() {
880
+ return "%";
881
+ }
882
+ function formatUnixTimestamp(i) {
883
+ return +i;
884
+ }
885
+ function formatUnixTimestampSeconds(i) {
886
+ return Math.floor(i / 1e3);
887
+ }
888
+ var locale, timeFormat;
889
+ defaultLocale({
890
+ dateTime: "%x, %X",
891
+ date: "%-m/%-d/%Y",
892
+ time: "%-I:%M:%S %p",
893
+ periods: ["AM", "PM"],
894
+ days: [
895
+ "Sunday",
896
+ "Monday",
897
+ "Tuesday",
898
+ "Wednesday",
899
+ "Thursday",
900
+ "Friday",
901
+ "Saturday"
902
+ ],
903
+ shortDays: [
904
+ "Sun",
905
+ "Mon",
906
+ "Tue",
907
+ "Wed",
908
+ "Thu",
909
+ "Fri",
910
+ "Sat"
911
+ ],
912
+ months: [
913
+ "January",
914
+ "February",
915
+ "March",
916
+ "April",
917
+ "May",
918
+ "June",
919
+ "July",
920
+ "August",
921
+ "September",
922
+ "October",
923
+ "November",
924
+ "December"
925
+ ],
926
+ shortMonths: [
927
+ "Jan",
928
+ "Feb",
929
+ "Mar",
930
+ "Apr",
931
+ "May",
932
+ "Jun",
933
+ "Jul",
934
+ "Aug",
935
+ "Sep",
936
+ "Oct",
937
+ "Nov",
938
+ "Dec"
939
+ ]
940
+ });
941
+ function defaultLocale(i) {
942
+ return locale = formatLocale(i), timeFormat = locale.format, locale.parse, locale.utcFormat, locale.utcParse, locale;
943
+ }
944
+ function date(i) {
945
+ return new Date(i);
946
+ }
947
+ function number(i) {
948
+ return i instanceof Date ? +i : +/* @__PURE__ */ new Date(+i);
949
+ }
950
+ function calendar(i, c, l, u, d, f, p, m, h, g) {
951
+ var _ = continuous(), v = _.invert, y = _.domain, b = g(".%L"), x = g(":%S"), S = g("%I:%M"), C = g("%I %p"), T = g("%a %d"), E = g("%b %d"), D = g("%B"), O = g("%Y");
952
+ function k(i) {
953
+ return (h(i) < i ? b : m(i) < i ? x : p(i) < i ? S : f(i) < i ? C : u(i) < i ? d(i) < i ? T : E : l(i) < i ? D : O)(i);
954
+ }
955
+ return _.invert = function(i) {
956
+ return new Date(v(i));
957
+ }, _.domain = function(i) {
958
+ return arguments.length ? y(Array.from(i, number)) : y().map(date);
959
+ }, _.ticks = function(c) {
960
+ var l = y();
961
+ return i(l[0], l[l.length - 1], c ?? 10);
962
+ }, _.tickFormat = function(i, c) {
963
+ return c == null ? k : g(c);
964
+ }, _.nice = function(i) {
965
+ var l = y();
966
+ return (!i || typeof i.range != "function") && (i = c(l[0], l[l.length - 1], i ?? 10)), i ? y(nice(l, i)) : _;
967
+ }, _.copy = function() {
968
+ return copy(_, calendar(i, c, l, u, d, f, p, m, h, g));
969
+ }, _;
970
+ }
971
+ function time() {
972
+ 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);
973
+ }
974
+ var require_isoWeek = /* @__PURE__ */ __commonJSMin(((i, c) => {
975
+ (function(l, u) {
976
+ typeof i == "object" && c !== void 0 ? c.exports = u() : typeof define == "function" && define.amd ? define(u) : (l = typeof globalThis < "u" ? globalThis : l || self).dayjs_plugin_isoWeek = u();
977
+ })(i, (function() {
978
+ var i = "day";
979
+ return function(c, l, u) {
980
+ var d = function(c) {
981
+ return c.add(4 - c.isoWeekday(), i);
982
+ }, f = l.prototype;
983
+ f.isoWeekYear = function() {
984
+ return d(this).year();
985
+ }, f.isoWeek = function(c) {
986
+ if (!this.$utils().u(c)) return this.add(7 * (c - this.isoWeek()), i);
987
+ var l, f, p, m, h = d(this), g = (l = this.isoWeekYear(), f = this.$u, p = (f ? u.utc : u)().year(l).startOf("year"), m = 4 - p.isoWeekday(), p.isoWeekday() > 4 && (m += 7), p.add(m, i));
988
+ return h.diff(g, "week") + 1;
989
+ }, f.isoWeekday = function(i) {
990
+ return this.$utils().u(i) ? this.day() || 7 : this.day(this.day() % 7 ? i : i - 7);
991
+ };
992
+ var p = f.startOf;
993
+ f.startOf = function(i, c) {
994
+ var l = this.$utils(), u = !!l.u(c) || c;
995
+ return l.p(i) === "isoweek" ? u ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : p.bind(this)(i, c);
996
+ };
997
+ };
998
+ }));
999
+ })), require_customParseFormat = /* @__PURE__ */ __commonJSMin(((i, c) => {
1000
+ (function(l, u) {
1001
+ typeof i == "object" && c !== void 0 ? c.exports = u() : typeof define == "function" && define.amd ? define(u) : (l = typeof globalThis < "u" ? globalThis : l || self).dayjs_plugin_customParseFormat = u();
1002
+ })(i, (function() {
1003
+ var i = {
1004
+ LTS: "h:mm:ss A",
1005
+ LT: "h:mm A",
1006
+ L: "MM/DD/YYYY",
1007
+ LL: "MMMM D, YYYY",
1008
+ LLL: "MMMM D, YYYY h:mm A",
1009
+ LLLL: "dddd, MMMM D, YYYY h:mm A"
1010
+ }, c = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, l = /\d/, u = /\d\d/, d = /\d\d?/, f = /\d*[^-_:/,()\s\d]+/, p = {}, m = function(i) {
1011
+ return (i = +i) + (i > 68 ? 1900 : 2e3);
1012
+ }, h = function(i) {
1013
+ return function(c) {
1014
+ this[i] = +c;
1015
+ };
1016
+ }, g = [/[+-]\d\d:?(\d\d)?|Z/, function(i) {
1017
+ (this.zone ||= {}).offset = function(i) {
1018
+ if (!i || i === "Z") return 0;
1019
+ var c = i.match(/([+-]|\d\d)/g), l = 60 * c[1] + (+c[2] || 0);
1020
+ return l === 0 ? 0 : c[0] === "+" ? -l : l;
1021
+ }(i);
1022
+ }], _ = function(i) {
1023
+ var c = p[i];
1024
+ return c && (c.indexOf ? c : c.s.concat(c.f));
1025
+ }, v = function(i, c) {
1026
+ var l, u = p.meridiem;
1027
+ if (u) {
1028
+ for (var d = 1; d <= 24; d += 1) if (i.indexOf(u(d, 0, c)) > -1) {
1029
+ l = d > 12;
1030
+ break;
1031
+ }
1032
+ } else l = i === (c ? "pm" : "PM");
1033
+ return l;
1034
+ }, y = {
1035
+ A: [f, function(i) {
1036
+ this.afternoon = v(i, !1);
1037
+ }],
1038
+ a: [f, function(i) {
1039
+ this.afternoon = v(i, !0);
1040
+ }],
1041
+ Q: [l, function(i) {
1042
+ this.month = 3 * (i - 1) + 1;
1043
+ }],
1044
+ S: [l, function(i) {
1045
+ this.milliseconds = 100 * i;
1046
+ }],
1047
+ SS: [u, function(i) {
1048
+ this.milliseconds = 10 * i;
1049
+ }],
1050
+ SSS: [/\d{3}/, function(i) {
1051
+ this.milliseconds = +i;
1052
+ }],
1053
+ s: [d, h("seconds")],
1054
+ ss: [d, h("seconds")],
1055
+ m: [d, h("minutes")],
1056
+ mm: [d, h("minutes")],
1057
+ H: [d, h("hours")],
1058
+ h: [d, h("hours")],
1059
+ HH: [d, h("hours")],
1060
+ hh: [d, h("hours")],
1061
+ D: [d, h("day")],
1062
+ DD: [u, h("day")],
1063
+ Do: [f, function(i) {
1064
+ var c = p.ordinal;
1065
+ if (this.day = i.match(/\d+/)[0], c) for (var l = 1; l <= 31; l += 1) c(l).replace(/\[|\]/g, "") === i && (this.day = l);
1066
+ }],
1067
+ w: [d, h("week")],
1068
+ ww: [u, h("week")],
1069
+ M: [d, h("month")],
1070
+ MM: [u, h("month")],
1071
+ MMM: [f, function(i) {
1072
+ var c = _("months"), l = (_("monthsShort") || c.map((function(i) {
1073
+ return i.slice(0, 3);
1074
+ }))).indexOf(i) + 1;
1075
+ if (l < 1) throw Error();
1076
+ this.month = l % 12 || l;
1077
+ }],
1078
+ MMMM: [f, function(i) {
1079
+ var c = _("months").indexOf(i) + 1;
1080
+ if (c < 1) throw Error();
1081
+ this.month = c % 12 || c;
1082
+ }],
1083
+ Y: [/[+-]?\d+/, h("year")],
1084
+ YY: [u, function(i) {
1085
+ this.year = m(i);
1086
+ }],
1087
+ YYYY: [/\d{4}/, h("year")],
1088
+ Z: g,
1089
+ ZZ: g
1090
+ };
1091
+ function b(l) {
1092
+ for (var u = l, d = p && p.formats, f = (l = u.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(c, l, u) {
1093
+ var f = u && u.toUpperCase();
1094
+ return l || d[u] || i[u] || d[f].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(i, c, l) {
1095
+ return c || l.slice(1);
1096
+ }));
1097
+ }))).match(c), m = f.length, h = 0; h < m; h += 1) {
1098
+ var g = f[h], _ = y[g], v = _ && _[0], b = _ && _[1];
1099
+ f[h] = b ? {
1100
+ regex: v,
1101
+ parser: b
1102
+ } : g.replace(/^\[|\]$/g, "");
1103
+ }
1104
+ return function(i) {
1105
+ for (var c = {}, l = 0, u = 0; l < m; l += 1) {
1106
+ var d = f[l];
1107
+ if (typeof d == "string") u += d.length;
1108
+ else {
1109
+ var p = d.regex, h = d.parser, g = i.slice(u), _ = p.exec(g)[0];
1110
+ h.call(c, _), i = i.replace(_, "");
1111
+ }
1112
+ }
1113
+ return function(i) {
1114
+ var c = i.afternoon;
1115
+ if (c !== void 0) {
1116
+ var l = i.hours;
1117
+ c ? l < 12 && (i.hours += 12) : l === 12 && (i.hours = 0), delete i.afternoon;
1118
+ }
1119
+ }(c), c;
1120
+ };
1121
+ }
1122
+ return function(i, c, l) {
1123
+ l.p.customParseFormat = !0, i && i.parseTwoDigitYear && (m = i.parseTwoDigitYear);
1124
+ var u = c.prototype, d = u.parse;
1125
+ u.parse = function(i) {
1126
+ var c = i.date, u = i.utc, f = i.args;
1127
+ this.$u = u;
1128
+ var m = f[1];
1129
+ if (typeof m == "string") {
1130
+ var h = !0 === f[2], g = !0 === f[3], _ = h || g, v = f[2];
1131
+ g && (v = f[2]), p = this.$locale(), !h && v && (p = l.Ls[v]), this.$d = function(i, c, l, u) {
1132
+ try {
1133
+ if (["x", "X"].indexOf(c) > -1) return /* @__PURE__ */ new Date((c === "X" ? 1e3 : 1) * i);
1134
+ var d = b(c)(i), f = d.year, p = d.month, m = d.day, h = d.hours, g = d.minutes, _ = d.seconds, v = d.milliseconds, y = d.zone, x = d.week, S = /* @__PURE__ */ new Date(), C = m || (f || p ? 1 : S.getDate()), T = f || S.getFullYear(), E = 0;
1135
+ f && !p || (E = p > 0 ? p - 1 : S.getMonth());
1136
+ var D, O = h || 0, k = g || 0, A = _ || 0, j = v || 0;
1137
+ return y ? new Date(Date.UTC(T, E, C, O, k, A, j + 60 * y.offset * 1e3)) : l ? new Date(Date.UTC(T, E, C, O, k, A, j)) : (D = new Date(T, E, C, O, k, A, j), x && (D = u(D).week(x).toDate()), D);
1138
+ } catch {
1139
+ return /* @__PURE__ */ new Date("");
1140
+ }
1141
+ }(c, m, u, l), this.init(), v && !0 !== v && (this.$L = this.locale(v).$L), _ && c != this.format(m) && (this.$d = /* @__PURE__ */ new Date("")), p = {};
1142
+ } else if (m instanceof Array) for (var y = m.length, x = 1; x <= y; x += 1) {
1143
+ f[1] = m[x - 1];
1144
+ var S = l.apply(this, f);
1145
+ if (S.isValid()) {
1146
+ this.$d = S.$d, this.$L = S.$L, this.init();
1147
+ break;
1148
+ }
1149
+ x === y && (this.$d = /* @__PURE__ */ new Date(""));
1150
+ }
1151
+ else d.call(this, i);
1152
+ };
1153
+ };
1154
+ }));
1155
+ })), require_advancedFormat = /* @__PURE__ */ __commonJSMin(((i, c) => {
1156
+ (function(l, u) {
1157
+ typeof i == "object" && c !== void 0 ? c.exports = u() : typeof define == "function" && define.amd ? define(u) : (l = typeof globalThis < "u" ? globalThis : l || self).dayjs_plugin_advancedFormat = u();
1158
+ })(i, (function() {
1159
+ return function(i, c) {
1160
+ var l = c.prototype, u = l.format;
1161
+ l.format = function(i) {
1162
+ var c = this, l = this.$locale();
1163
+ if (!this.isValid()) return u.bind(this)(i);
1164
+ var d = this.$utils(), f = (i || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, (function(i) {
1165
+ switch (i) {
1166
+ case "Q": return Math.ceil((c.$M + 1) / 3);
1167
+ case "Do": return l.ordinal(c.$D);
1168
+ case "gggg": return c.weekYear();
1169
+ case "GGGG": return c.isoWeekYear();
1170
+ case "wo": return l.ordinal(c.week(), "W");
1171
+ case "w":
1172
+ case "ww": return d.s(c.week(), i === "w" ? 1 : 2, "0");
1173
+ case "W":
1174
+ case "WW": return d.s(c.isoWeek(), i === "W" ? 1 : 2, "0");
1175
+ case "k":
1176
+ case "kk": return d.s(String(c.$H === 0 ? 24 : c.$H), i === "k" ? 1 : 2, "0");
1177
+ case "X": return Math.floor(c.$d.getTime() / 1e3);
1178
+ case "x": return c.$d.getTime();
1179
+ case "z": return "[" + c.offsetName() + "]";
1180
+ case "zzz": return "[" + c.offsetName("long") + "]";
1181
+ default: return i;
1182
+ }
1183
+ }));
1184
+ return u.bind(this)(f);
1185
+ };
1186
+ };
1187
+ }));
1188
+ })), require_duration = /* @__PURE__ */ __commonJSMin(((i, c) => {
1189
+ (function(l, u) {
1190
+ typeof i == "object" && c !== void 0 ? c.exports = u() : typeof define == "function" && define.amd ? define(u) : (l = typeof globalThis < "u" ? globalThis : l || self).dayjs_plugin_duration = u();
1191
+ })(i, (function() {
1192
+ var i, c, l = 1e3, u = 6e4, d = 36e5, f = 864e5, p = /\[([^\]]+)]|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, m = 31536e6, h = 2628e6, g = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, _ = {
1193
+ years: m,
1194
+ months: h,
1195
+ days: f,
1196
+ hours: d,
1197
+ minutes: u,
1198
+ seconds: l,
1199
+ milliseconds: 1,
1200
+ weeks: 6048e5
1201
+ }, v = function(i) {
1202
+ return i instanceof E;
1203
+ }, y = function(i, c, l) {
1204
+ return new E(i, l, c.$l);
1205
+ }, b = function(i) {
1206
+ return c.p(i) + "s";
1207
+ }, x = function(i) {
1208
+ return i < 0;
1209
+ }, S = function(i) {
1210
+ return x(i) ? Math.ceil(i) : Math.floor(i);
1211
+ }, C = function(i) {
1212
+ return Math.abs(i);
1213
+ }, T = function(i, c) {
1214
+ return i ? x(i) ? {
1215
+ negative: !0,
1216
+ format: "" + C(i) + c
1217
+ } : {
1218
+ negative: !1,
1219
+ format: "" + i + c
1220
+ } : {
1221
+ negative: !1,
1222
+ format: ""
1223
+ };
1224
+ }, E = function() {
1225
+ function x(i, c, l) {
1226
+ var u = this;
1227
+ if (this.$d = {}, this.$l = l, i === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), c) return y(i * _[b(c)], this);
1228
+ if (typeof i == "number") return this.$ms = i, this.parseFromMilliseconds(), this;
1229
+ if (typeof i == "object") return Object.keys(i).forEach((function(c) {
1230
+ u.$d[b(c)] = i[c];
1231
+ })), this.calMilliseconds(), this;
1232
+ if (typeof i == "string") {
1233
+ var d = i.match(g);
1234
+ if (d) {
1235
+ var f = d.slice(2).map((function(i) {
1236
+ return i == null ? 0 : Number(i);
1237
+ }));
1238
+ return this.$d.years = f[0], this.$d.months = f[1], this.$d.weeks = f[2], this.$d.days = f[3], this.$d.hours = f[4], this.$d.minutes = f[5], this.$d.seconds = f[6], this.calMilliseconds(), this;
1239
+ }
1240
+ }
1241
+ return this;
1242
+ }
1243
+ var C = x.prototype;
1244
+ return C.calMilliseconds = function() {
1245
+ var i = this;
1246
+ this.$ms = Object.keys(this.$d).reduce((function(c, l) {
1247
+ return c + (i.$d[l] || 0) * _[l];
1248
+ }), 0);
1249
+ }, C.parseFromMilliseconds = function() {
1250
+ var i = this.$ms;
1251
+ this.$d.years = S(i / m), i %= m, this.$d.months = S(i / h), i %= h, this.$d.days = S(i / f), i %= f, this.$d.hours = S(i / d), i %= d, this.$d.minutes = S(i / u), i %= u, this.$d.seconds = S(i / l), i %= l, this.$d.milliseconds = i;
1252
+ }, C.toISOString = function() {
1253
+ var i = T(this.$d.years, "Y"), c = T(this.$d.months, "M"), l = +this.$d.days || 0;
1254
+ this.$d.weeks && (l += 7 * this.$d.weeks);
1255
+ var u = T(l, "D"), d = T(this.$d.hours, "H"), f = T(this.$d.minutes, "M"), p = this.$d.seconds || 0;
1256
+ this.$d.milliseconds && (p += this.$d.milliseconds / 1e3, p = Math.round(1e3 * p) / 1e3);
1257
+ var m = T(p, "S"), h = i.negative || c.negative || u.negative || d.negative || f.negative || m.negative, g = d.format || f.format || m.format ? "T" : "", _ = (h ? "-" : "") + "P" + i.format + c.format + u.format + g + d.format + f.format + m.format;
1258
+ return _ === "P" || _ === "-P" ? "P0D" : _;
1259
+ }, C.toJSON = function() {
1260
+ return this.toISOString();
1261
+ }, C.format = function(i) {
1262
+ var l = i || "YYYY-MM-DDTHH:mm:ss", u = {
1263
+ Y: this.$d.years,
1264
+ YY: c.s(this.$d.years, 2, "0"),
1265
+ YYYY: c.s(this.$d.years, 4, "0"),
1266
+ M: this.$d.months,
1267
+ MM: c.s(this.$d.months, 2, "0"),
1268
+ D: this.$d.days,
1269
+ DD: c.s(this.$d.days, 2, "0"),
1270
+ H: this.$d.hours,
1271
+ HH: c.s(this.$d.hours, 2, "0"),
1272
+ m: this.$d.minutes,
1273
+ mm: c.s(this.$d.minutes, 2, "0"),
1274
+ s: this.$d.seconds,
1275
+ ss: c.s(this.$d.seconds, 2, "0"),
1276
+ SSS: c.s(this.$d.milliseconds, 3, "0")
1277
+ };
1278
+ return l.replace(p, (function(i, c) {
1279
+ return c || String(u[i]);
1280
+ }));
1281
+ }, C.as = function(i) {
1282
+ return this.$ms / _[b(i)];
1283
+ }, C.get = function(i) {
1284
+ var c = this.$ms, l = b(i);
1285
+ return l === "milliseconds" ? c %= 1e3 : c = l === "weeks" ? S(c / _[l]) : this.$d[l], c || 0;
1286
+ }, C.add = function(i, c, l) {
1287
+ var u;
1288
+ return u = c ? i * _[b(c)] : v(i) ? i.$ms : y(i, this).$ms, y(this.$ms + u * (l ? -1 : 1), this);
1289
+ }, C.subtract = function(i, c) {
1290
+ return this.add(i, c, !0);
1291
+ }, C.locale = function(i) {
1292
+ var c = this.clone();
1293
+ return c.$l = i, c;
1294
+ }, C.clone = function() {
1295
+ return y(this.$ms, this);
1296
+ }, C.humanize = function(c) {
1297
+ return i().add(this.$ms, "ms").locale(this.$l).fromNow(!c);
1298
+ }, C.valueOf = function() {
1299
+ return this.asMilliseconds();
1300
+ }, C.milliseconds = function() {
1301
+ return this.get("milliseconds");
1302
+ }, C.asMilliseconds = function() {
1303
+ return this.as("milliseconds");
1304
+ }, C.seconds = function() {
1305
+ return this.get("seconds");
1306
+ }, C.asSeconds = function() {
1307
+ return this.as("seconds");
1308
+ }, C.minutes = function() {
1309
+ return this.get("minutes");
1310
+ }, C.asMinutes = function() {
1311
+ return this.as("minutes");
1312
+ }, C.hours = function() {
1313
+ return this.get("hours");
1314
+ }, C.asHours = function() {
1315
+ return this.as("hours");
1316
+ }, C.days = function() {
1317
+ return this.get("days");
1318
+ }, C.asDays = function() {
1319
+ return this.as("days");
1320
+ }, C.weeks = function() {
1321
+ return this.get("weeks");
1322
+ }, C.asWeeks = function() {
1323
+ return this.as("weeks");
1324
+ }, C.months = function() {
1325
+ return this.get("months");
1326
+ }, C.asMonths = function() {
1327
+ return this.as("months");
1328
+ }, C.years = function() {
1329
+ return this.get("years");
1330
+ }, C.asYears = function() {
1331
+ return this.as("years");
1332
+ }, x;
1333
+ }(), D = function(i, c, l) {
1334
+ return i.add(c.years() * l, "y").add(c.months() * l, "M").add(c.days() * l, "d").add(c.hours() * l, "h").add(c.minutes() * l, "m").add(c.seconds() * l, "s").add(c.milliseconds() * l, "ms");
1335
+ };
1336
+ return function(l, u, d) {
1337
+ i = d, c = d().$utils(), d.duration = function(i, c) {
1338
+ return y(i, { $l: d.locale() }, c);
1339
+ }, d.isDuration = v;
1340
+ var f = u.prototype.add, p = u.prototype.subtract;
1341
+ u.prototype.add = function(i, c) {
1342
+ return v(i) ? D(this, i, 1) : f.bind(this)(i, c);
1343
+ }, u.prototype.subtract = function(i, c) {
1344
+ return v(i) ? D(this, i, -1) : p.bind(this)(i, c);
1345
+ };
1346
+ };
1347
+ }));
1348
+ })), import_dist = require_dist(), import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min(), 1), import_isoWeek = /* @__PURE__ */ __toESM(require_isoWeek(), 1), import_customParseFormat = /* @__PURE__ */ __toESM(require_customParseFormat(), 1), import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat(), 1), import_dayjs_min$1 = /* @__PURE__ */ __toESM(require_dayjs_min(), 1), import_duration = /* @__PURE__ */ __toESM(require_duration(), 1), parser = (function() {
1349
+ var i = /* @__PURE__ */ __name(function(i, c, l, u) {
1350
+ for (l ||= {}, u = i.length; u--; l[i[u]] = c);
1351
+ return l;
1352
+ }, "o"), c = [
1353
+ 6,
1354
+ 8,
1355
+ 10,
1356
+ 12,
1357
+ 13,
1358
+ 14,
1359
+ 15,
1360
+ 16,
1361
+ 17,
1362
+ 18,
1363
+ 20,
1364
+ 21,
1365
+ 22,
1366
+ 23,
1367
+ 24,
1368
+ 25,
1369
+ 26,
1370
+ 27,
1371
+ 28,
1372
+ 29,
1373
+ 30,
1374
+ 31,
1375
+ 33,
1376
+ 35,
1377
+ 36,
1378
+ 38,
1379
+ 40
1380
+ ], l = [1, 26], u = [1, 27], d = [1, 28], f = [1, 29], p = [1, 30], m = [1, 31], g = [1, 32], _ = [1, 33], v = [1, 34], y = [1, 9], b = [1, 10], x = [1, 11], S = [1, 12], C = [1, 13], T = [1, 14], E = [1, 15], D = [1, 16], O = [1, 19], k = [1, 20], A = [1, 21], j = [1, 22], M = [1, 23], N = [1, 25], P = [1, 35], F = {
1381
+ trace: /* @__PURE__ */ __name(function() {}, "trace"),
1382
+ yy: {},
1383
+ symbols_: {
1384
+ error: 2,
1385
+ start: 3,
1386
+ gantt: 4,
1387
+ document: 5,
1388
+ EOF: 6,
1389
+ line: 7,
1390
+ SPACE: 8,
1391
+ statement: 9,
1392
+ NL: 10,
1393
+ weekday: 11,
1394
+ weekday_monday: 12,
1395
+ weekday_tuesday: 13,
1396
+ weekday_wednesday: 14,
1397
+ weekday_thursday: 15,
1398
+ weekday_friday: 16,
1399
+ weekday_saturday: 17,
1400
+ weekday_sunday: 18,
1401
+ weekend: 19,
1402
+ weekend_friday: 20,
1403
+ weekend_saturday: 21,
1404
+ dateFormat: 22,
1405
+ inclusiveEndDates: 23,
1406
+ topAxis: 24,
1407
+ axisFormat: 25,
1408
+ tickInterval: 26,
1409
+ excludes: 27,
1410
+ includes: 28,
1411
+ todayMarker: 29,
1412
+ title: 30,
1413
+ acc_title: 31,
1414
+ acc_title_value: 32,
1415
+ acc_descr: 33,
1416
+ acc_descr_value: 34,
1417
+ acc_descr_multiline_value: 35,
1418
+ section: 36,
1419
+ clickStatement: 37,
1420
+ taskTxt: 38,
1421
+ taskData: 39,
1422
+ click: 40,
1423
+ callbackname: 41,
1424
+ callbackargs: 42,
1425
+ href: 43,
1426
+ clickStatementDebug: 44,
1427
+ $accept: 0,
1428
+ $end: 1
1429
+ },
1430
+ terminals_: {
1431
+ 2: "error",
1432
+ 4: "gantt",
1433
+ 6: "EOF",
1434
+ 8: "SPACE",
1435
+ 10: "NL",
1436
+ 12: "weekday_monday",
1437
+ 13: "weekday_tuesday",
1438
+ 14: "weekday_wednesday",
1439
+ 15: "weekday_thursday",
1440
+ 16: "weekday_friday",
1441
+ 17: "weekday_saturday",
1442
+ 18: "weekday_sunday",
1443
+ 20: "weekend_friday",
1444
+ 21: "weekend_saturday",
1445
+ 22: "dateFormat",
1446
+ 23: "inclusiveEndDates",
1447
+ 24: "topAxis",
1448
+ 25: "axisFormat",
1449
+ 26: "tickInterval",
1450
+ 27: "excludes",
1451
+ 28: "includes",
1452
+ 29: "todayMarker",
1453
+ 30: "title",
1454
+ 31: "acc_title",
1455
+ 32: "acc_title_value",
1456
+ 33: "acc_descr",
1457
+ 34: "acc_descr_value",
1458
+ 35: "acc_descr_multiline_value",
1459
+ 36: "section",
1460
+ 38: "taskTxt",
1461
+ 39: "taskData",
1462
+ 40: "click",
1463
+ 41: "callbackname",
1464
+ 42: "callbackargs",
1465
+ 43: "href"
1466
+ },
1467
+ productions_: [
1468
+ 0,
1469
+ [3, 3],
1470
+ [5, 0],
1471
+ [5, 2],
1472
+ [7, 2],
1473
+ [7, 1],
1474
+ [7, 1],
1475
+ [7, 1],
1476
+ [11, 1],
1477
+ [11, 1],
1478
+ [11, 1],
1479
+ [11, 1],
1480
+ [11, 1],
1481
+ [11, 1],
1482
+ [11, 1],
1483
+ [19, 1],
1484
+ [19, 1],
1485
+ [9, 1],
1486
+ [9, 1],
1487
+ [9, 1],
1488
+ [9, 1],
1489
+ [9, 1],
1490
+ [9, 1],
1491
+ [9, 1],
1492
+ [9, 1],
1493
+ [9, 1],
1494
+ [9, 1],
1495
+ [9, 1],
1496
+ [9, 2],
1497
+ [9, 2],
1498
+ [9, 1],
1499
+ [9, 1],
1500
+ [9, 1],
1501
+ [9, 2],
1502
+ [37, 2],
1503
+ [37, 3],
1504
+ [37, 3],
1505
+ [37, 4],
1506
+ [37, 3],
1507
+ [37, 4],
1508
+ [37, 2],
1509
+ [44, 2],
1510
+ [44, 3],
1511
+ [44, 3],
1512
+ [44, 4],
1513
+ [44, 3],
1514
+ [44, 4],
1515
+ [44, 2]
1516
+ ],
1517
+ performAction: /* @__PURE__ */ __name(function(i, c, l, u, d, f, p) {
1518
+ var m = f.length - 1;
1519
+ switch (d) {
1520
+ case 1: return f[m - 1];
1521
+ case 2:
1522
+ this.$ = [];
1523
+ break;
1524
+ case 3:
1525
+ f[m - 1].push(f[m]), this.$ = f[m - 1];
1526
+ break;
1527
+ case 4:
1528
+ case 5:
1529
+ this.$ = f[m];
1530
+ break;
1531
+ case 6:
1532
+ case 7:
1533
+ this.$ = [];
1534
+ break;
1535
+ case 8:
1536
+ u.setWeekday("monday");
1537
+ break;
1538
+ case 9:
1539
+ u.setWeekday("tuesday");
1540
+ break;
1541
+ case 10:
1542
+ u.setWeekday("wednesday");
1543
+ break;
1544
+ case 11:
1545
+ u.setWeekday("thursday");
1546
+ break;
1547
+ case 12:
1548
+ u.setWeekday("friday");
1549
+ break;
1550
+ case 13:
1551
+ u.setWeekday("saturday");
1552
+ break;
1553
+ case 14:
1554
+ u.setWeekday("sunday");
1555
+ break;
1556
+ case 15:
1557
+ u.setWeekend("friday");
1558
+ break;
1559
+ case 16:
1560
+ u.setWeekend("saturday");
1561
+ break;
1562
+ case 17:
1563
+ u.setDateFormat(f[m].substr(11)), this.$ = f[m].substr(11);
1564
+ break;
1565
+ case 18:
1566
+ u.enableInclusiveEndDates(), this.$ = f[m].substr(18);
1567
+ break;
1568
+ case 19:
1569
+ u.TopAxis(), this.$ = f[m].substr(8);
1570
+ break;
1571
+ case 20:
1572
+ u.setAxisFormat(f[m].substr(11)), this.$ = f[m].substr(11);
1573
+ break;
1574
+ case 21:
1575
+ u.setTickInterval(f[m].substr(13)), this.$ = f[m].substr(13);
1576
+ break;
1577
+ case 22:
1578
+ u.setExcludes(f[m].substr(9)), this.$ = f[m].substr(9);
1579
+ break;
1580
+ case 23:
1581
+ u.setIncludes(f[m].substr(9)), this.$ = f[m].substr(9);
1582
+ break;
1583
+ case 24:
1584
+ u.setTodayMarker(f[m].substr(12)), this.$ = f[m].substr(12);
1585
+ break;
1586
+ case 27:
1587
+ u.setDiagramTitle(f[m].substr(6)), this.$ = f[m].substr(6);
1588
+ break;
1589
+ case 28:
1590
+ this.$ = f[m].trim(), u.setAccTitle(this.$);
1591
+ break;
1592
+ case 29:
1593
+ case 30:
1594
+ this.$ = f[m].trim(), u.setAccDescription(this.$);
1595
+ break;
1596
+ case 31:
1597
+ u.addSection(f[m].substr(8)), this.$ = f[m].substr(8);
1598
+ break;
1599
+ case 33:
1600
+ u.addTask(f[m - 1], f[m]), this.$ = "task";
1601
+ break;
1602
+ case 34:
1603
+ this.$ = f[m - 1], u.setClickEvent(f[m - 1], f[m], null);
1604
+ break;
1605
+ case 35:
1606
+ this.$ = f[m - 2], u.setClickEvent(f[m - 2], f[m - 1], f[m]);
1607
+ break;
1608
+ case 36:
1609
+ this.$ = f[m - 2], u.setClickEvent(f[m - 2], f[m - 1], null), u.setLink(f[m - 2], f[m]);
1610
+ break;
1611
+ case 37:
1612
+ this.$ = f[m - 3], u.setClickEvent(f[m - 3], f[m - 2], f[m - 1]), u.setLink(f[m - 3], f[m]);
1613
+ break;
1614
+ case 38:
1615
+ this.$ = f[m - 2], u.setClickEvent(f[m - 2], f[m], null), u.setLink(f[m - 2], f[m - 1]);
1616
+ break;
1617
+ case 39:
1618
+ this.$ = f[m - 3], u.setClickEvent(f[m - 3], f[m - 1], f[m]), u.setLink(f[m - 3], f[m - 2]);
1619
+ break;
1620
+ case 40:
1621
+ this.$ = f[m - 1], u.setLink(f[m - 1], f[m]);
1622
+ break;
1623
+ case 41:
1624
+ case 47:
1625
+ this.$ = f[m - 1] + " " + f[m];
1626
+ break;
1627
+ case 42:
1628
+ case 43:
1629
+ case 45:
1630
+ this.$ = f[m - 2] + " " + f[m - 1] + " " + f[m];
1631
+ break;
1632
+ case 44:
1633
+ case 46:
1634
+ this.$ = f[m - 3] + " " + f[m - 2] + " " + f[m - 1] + " " + f[m];
1635
+ break;
1636
+ }
1637
+ }, "anonymous"),
1638
+ table: [
1639
+ {
1640
+ 3: 1,
1641
+ 4: [1, 2]
1642
+ },
1643
+ { 1: [3] },
1644
+ i(c, [2, 2], { 5: 3 }),
1645
+ {
1646
+ 6: [1, 4],
1647
+ 7: 5,
1648
+ 8: [1, 6],
1649
+ 9: 7,
1650
+ 10: [1, 8],
1651
+ 11: 17,
1652
+ 12: l,
1653
+ 13: u,
1654
+ 14: d,
1655
+ 15: f,
1656
+ 16: p,
1657
+ 17: m,
1658
+ 18: g,
1659
+ 19: 18,
1660
+ 20: _,
1661
+ 21: v,
1662
+ 22: y,
1663
+ 23: b,
1664
+ 24: x,
1665
+ 25: S,
1666
+ 26: C,
1667
+ 27: T,
1668
+ 28: E,
1669
+ 29: D,
1670
+ 30: O,
1671
+ 31: k,
1672
+ 33: A,
1673
+ 35: j,
1674
+ 36: M,
1675
+ 37: 24,
1676
+ 38: N,
1677
+ 40: P
1678
+ },
1679
+ i(c, [2, 7], { 1: [2, 1] }),
1680
+ i(c, [2, 3]),
1681
+ {
1682
+ 9: 36,
1683
+ 11: 17,
1684
+ 12: l,
1685
+ 13: u,
1686
+ 14: d,
1687
+ 15: f,
1688
+ 16: p,
1689
+ 17: m,
1690
+ 18: g,
1691
+ 19: 18,
1692
+ 20: _,
1693
+ 21: v,
1694
+ 22: y,
1695
+ 23: b,
1696
+ 24: x,
1697
+ 25: S,
1698
+ 26: C,
1699
+ 27: T,
1700
+ 28: E,
1701
+ 29: D,
1702
+ 30: O,
1703
+ 31: k,
1704
+ 33: A,
1705
+ 35: j,
1706
+ 36: M,
1707
+ 37: 24,
1708
+ 38: N,
1709
+ 40: P
1710
+ },
1711
+ i(c, [2, 5]),
1712
+ i(c, [2, 6]),
1713
+ i(c, [2, 17]),
1714
+ i(c, [2, 18]),
1715
+ i(c, [2, 19]),
1716
+ i(c, [2, 20]),
1717
+ i(c, [2, 21]),
1718
+ i(c, [2, 22]),
1719
+ i(c, [2, 23]),
1720
+ i(c, [2, 24]),
1721
+ i(c, [2, 25]),
1722
+ i(c, [2, 26]),
1723
+ i(c, [2, 27]),
1724
+ { 32: [1, 37] },
1725
+ { 34: [1, 38] },
1726
+ i(c, [2, 30]),
1727
+ i(c, [2, 31]),
1728
+ i(c, [2, 32]),
1729
+ { 39: [1, 39] },
1730
+ i(c, [2, 8]),
1731
+ i(c, [2, 9]),
1732
+ i(c, [2, 10]),
1733
+ i(c, [2, 11]),
1734
+ i(c, [2, 12]),
1735
+ i(c, [2, 13]),
1736
+ i(c, [2, 14]),
1737
+ i(c, [2, 15]),
1738
+ i(c, [2, 16]),
1739
+ {
1740
+ 41: [1, 40],
1741
+ 43: [1, 41]
1742
+ },
1743
+ i(c, [2, 4]),
1744
+ i(c, [2, 28]),
1745
+ i(c, [2, 29]),
1746
+ i(c, [2, 33]),
1747
+ i(c, [2, 34], {
1748
+ 42: [1, 42],
1749
+ 43: [1, 43]
1750
+ }),
1751
+ i(c, [2, 40], { 41: [1, 44] }),
1752
+ i(c, [2, 35], { 43: [1, 45] }),
1753
+ i(c, [2, 36]),
1754
+ i(c, [2, 38], { 42: [1, 46] }),
1755
+ i(c, [2, 37]),
1756
+ i(c, [2, 39])
1757
+ ],
1758
+ defaultActions: {},
1759
+ parseError: /* @__PURE__ */ __name(function(i, c) {
1760
+ if (c.recoverable) this.trace(i);
1761
+ else {
1762
+ var l = Error(i);
1763
+ throw l.hash = c, l;
1764
+ }
1765
+ }, "parseError"),
1766
+ parse: /* @__PURE__ */ __name(function(i) {
1767
+ var c = this, l = [0], u = [], d = [null], f = [], p = this.table, m = "", g = 0, _ = 0, v = 0, y = 2, b = 1, x = f.slice.call(arguments, 1), S = Object.create(this.lexer), C = { yy: {} };
1768
+ for (var T in this.yy) Object.prototype.hasOwnProperty.call(this.yy, T) && (C.yy[T] = this.yy[T]);
1769
+ S.setInput(i, C.yy), C.yy.lexer = S, C.yy.parser = this, S.yylloc === void 0 && (S.yylloc = {});
1770
+ var E = S.yylloc;
1771
+ f.push(E);
1772
+ var D = S.options && S.options.ranges;
1773
+ typeof C.yy.parseError == "function" ? this.parseError = C.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1774
+ function O(i) {
1775
+ l.length -= 2 * i, d.length -= i, f.length -= i;
1776
+ }
1777
+ __name(O, "popStack");
1778
+ function k() {
1779
+ var i = u.pop() || S.lex() || b;
1780
+ return typeof i != "number" && (i instanceof Array && (u = i, i = u.pop()), i = c.symbols_[i] || i), i;
1781
+ }
1782
+ __name(k, "lex");
1783
+ for (var A, j, M, N, P, F = {}, I, L, R, z;;) {
1784
+ if (M = l[l.length - 1], this.defaultActions[M] ? N = this.defaultActions[M] : (A ??= k(), N = p[M] && p[M][A]), N === void 0 || !N.length || !N[0]) {
1785
+ var B = "";
1786
+ for (I in z = [], p[M]) this.terminals_[I] && I > y && z.push("'" + this.terminals_[I] + "'");
1787
+ B = S.showPosition ? "Parse error on line " + (g + 1) + ":\n" + S.showPosition() + "\nExpecting " + z.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : "Parse error on line " + (g + 1) + ": Unexpected " + (A == b ? "end of input" : "'" + (this.terminals_[A] || A) + "'"), this.parseError(B, {
1788
+ text: S.match,
1789
+ token: this.terminals_[A] || A,
1790
+ line: S.yylineno,
1791
+ loc: E,
1792
+ expected: z
1793
+ });
1794
+ }
1795
+ if (N[0] instanceof Array && N.length > 1) throw Error("Parse Error: multiple actions possible at state: " + M + ", token: " + A);
1796
+ switch (N[0]) {
1797
+ case 1:
1798
+ l.push(A), d.push(S.yytext), f.push(S.yylloc), l.push(N[1]), A = null, j ? (A = j, j = null) : (_ = S.yyleng, m = S.yytext, g = S.yylineno, E = S.yylloc, v > 0 && v--);
1799
+ break;
1800
+ case 2:
1801
+ if (L = this.productions_[N[1]][1], F.$ = d[d.length - L], F._$ = {
1802
+ first_line: f[f.length - (L || 1)].first_line,
1803
+ last_line: f[f.length - 1].last_line,
1804
+ first_column: f[f.length - (L || 1)].first_column,
1805
+ last_column: f[f.length - 1].last_column
1806
+ }, D && (F._$.range = [f[f.length - (L || 1)].range[0], f[f.length - 1].range[1]]), P = this.performAction.apply(F, [
1807
+ m,
1808
+ _,
1809
+ g,
1810
+ C.yy,
1811
+ N[1],
1812
+ d,
1813
+ f
1814
+ ].concat(x)), P !== void 0) return P;
1815
+ L && (l = l.slice(0, -1 * L * 2), d = d.slice(0, -1 * L), f = f.slice(0, -1 * L)), l.push(this.productions_[N[1]][0]), d.push(F.$), f.push(F._$), R = p[l[l.length - 2]][l[l.length - 1]], l.push(R);
1816
+ break;
1817
+ case 3: return !0;
1818
+ }
1819
+ }
1820
+ return !0;
1821
+ }, "parse")
1822
+ };
1823
+ F.lexer = /* @__PURE__ */ (function() {
1824
+ return {
1825
+ EOF: 1,
1826
+ parseError: /* @__PURE__ */ __name(function(i, c) {
1827
+ if (this.yy.parser) this.yy.parser.parseError(i, c);
1828
+ else throw Error(i);
1829
+ }, "parseError"),
1830
+ setInput: /* @__PURE__ */ __name(function(i, c) {
1831
+ return this.yy = c || this.yy || {}, this._input = i, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1832
+ first_line: 1,
1833
+ first_column: 0,
1834
+ last_line: 1,
1835
+ last_column: 0
1836
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1837
+ }, "setInput"),
1838
+ input: /* @__PURE__ */ __name(function() {
1839
+ var i = this._input[0];
1840
+ return this.yytext += i, this.yyleng++, this.offset++, this.match += i, this.matched += i, i.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), i;
1841
+ }, "input"),
1842
+ unput: /* @__PURE__ */ __name(function(i) {
1843
+ var c = i.length, l = i.split(/(?:\r\n?|\n)/g);
1844
+ this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - c), this.offset -= c;
1845
+ var u = this.match.split(/(?:\r\n?|\n)/g);
1846
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), l.length - 1 && (this.yylineno -= l.length - 1);
1847
+ var d = this.yylloc.range;
1848
+ return this.yylloc = {
1849
+ first_line: this.yylloc.first_line,
1850
+ last_line: this.yylineno + 1,
1851
+ first_column: this.yylloc.first_column,
1852
+ last_column: l ? (l.length === u.length ? this.yylloc.first_column : 0) + u[u.length - l.length].length - l[0].length : this.yylloc.first_column - c
1853
+ }, this.options.ranges && (this.yylloc.range = [d[0], d[0] + this.yyleng - c]), this.yyleng = this.yytext.length, this;
1854
+ }, "unput"),
1855
+ more: /* @__PURE__ */ __name(function() {
1856
+ return this._more = !0, this;
1857
+ }, "more"),
1858
+ reject: /* @__PURE__ */ __name(function() {
1859
+ if (this.options.backtrack_lexer) this._backtrack = !0;
1860
+ 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(), {
1861
+ text: "",
1862
+ token: null,
1863
+ line: this.yylineno
1864
+ });
1865
+ return this;
1866
+ }, "reject"),
1867
+ less: /* @__PURE__ */ __name(function(i) {
1868
+ this.unput(this.match.slice(i));
1869
+ }, "less"),
1870
+ pastInput: /* @__PURE__ */ __name(function() {
1871
+ var i = this.matched.substr(0, this.matched.length - this.match.length);
1872
+ return (i.length > 20 ? "..." : "") + i.substr(-20).replace(/\n/g, "");
1873
+ }, "pastInput"),
1874
+ upcomingInput: /* @__PURE__ */ __name(function() {
1875
+ var i = this.match;
1876
+ return i.length < 20 && (i += this._input.substr(0, 20 - i.length)), (i.substr(0, 20) + (i.length > 20 ? "..." : "")).replace(/\n/g, "");
1877
+ }, "upcomingInput"),
1878
+ showPosition: /* @__PURE__ */ __name(function() {
1879
+ var i = this.pastInput(), c = Array(i.length + 1).join("-");
1880
+ return i + this.upcomingInput() + "\n" + c + "^";
1881
+ }, "showPosition"),
1882
+ test_match: /* @__PURE__ */ __name(function(i, c) {
1883
+ var l, u, d;
1884
+ if (this.options.backtrack_lexer && (d = {
1885
+ yylineno: this.yylineno,
1886
+ yylloc: {
1887
+ first_line: this.yylloc.first_line,
1888
+ last_line: this.last_line,
1889
+ first_column: this.yylloc.first_column,
1890
+ last_column: this.yylloc.last_column
1891
+ },
1892
+ yytext: this.yytext,
1893
+ match: this.match,
1894
+ matches: this.matches,
1895
+ matched: this.matched,
1896
+ yyleng: this.yyleng,
1897
+ offset: this.offset,
1898
+ _more: this._more,
1899
+ _input: this._input,
1900
+ yy: this.yy,
1901
+ conditionStack: this.conditionStack.slice(0),
1902
+ done: this.done
1903
+ }, this.options.ranges && (d.yylloc.range = this.yylloc.range.slice(0))), u = i[0].match(/(?:\r\n?|\n).*/g), u && (this.yylineno += u.length), this.yylloc = {
1904
+ first_line: this.yylloc.last_line,
1905
+ last_line: this.yylineno + 1,
1906
+ first_column: this.yylloc.last_column,
1907
+ last_column: u ? u[u.length - 1].length - u[u.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + i[0].length
1908
+ }, this.yytext += i[0], this.match += i[0], this.matches = i, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(i[0].length), this.matched += i[0], l = this.performAction.call(this, this.yy, this, c, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), l) return l;
1909
+ if (this._backtrack) {
1910
+ for (var f in d) this[f] = d[f];
1911
+ return !1;
1912
+ }
1913
+ return !1;
1914
+ }, "test_match"),
1915
+ next: /* @__PURE__ */ __name(function() {
1916
+ if (this.done) return this.EOF;
1917
+ this._input || (this.done = !0);
1918
+ var i, c, l, u;
1919
+ this._more || (this.yytext = "", this.match = "");
1920
+ for (var d = this._currentRules(), f = 0; f < d.length; f++) if (l = this._input.match(this.rules[d[f]]), l && (!c || l[0].length > c[0].length)) {
1921
+ if (c = l, u = f, this.options.backtrack_lexer) {
1922
+ if (i = this.test_match(l, d[f]), i !== !1) return i;
1923
+ if (this._backtrack) {
1924
+ c = !1;
1925
+ continue;
1926
+ } else return !1;
1927
+ } else if (!this.options.flex) break;
1928
+ }
1929
+ return c ? (i = this.test_match(c, d[u]), i === !1 ? !1 : i) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1930
+ text: "",
1931
+ token: null,
1932
+ line: this.yylineno
1933
+ });
1934
+ }, "next"),
1935
+ lex: /* @__PURE__ */ __name(function() {
1936
+ return this.next() || this.lex();
1937
+ }, "lex"),
1938
+ begin: /* @__PURE__ */ __name(function(i) {
1939
+ this.conditionStack.push(i);
1940
+ }, "begin"),
1941
+ popState: /* @__PURE__ */ __name(function() {
1942
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1943
+ }, "popState"),
1944
+ _currentRules: /* @__PURE__ */ __name(function() {
1945
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1946
+ }, "_currentRules"),
1947
+ topState: /* @__PURE__ */ __name(function(i) {
1948
+ return i = this.conditionStack.length - 1 - Math.abs(i || 0), i >= 0 ? this.conditionStack[i] : "INITIAL";
1949
+ }, "topState"),
1950
+ pushState: /* @__PURE__ */ __name(function(i) {
1951
+ this.begin(i);
1952
+ }, "pushState"),
1953
+ stateStackSize: /* @__PURE__ */ __name(function() {
1954
+ return this.conditionStack.length;
1955
+ }, "stateStackSize"),
1956
+ options: { "case-insensitive": !0 },
1957
+ performAction: /* @__PURE__ */ __name(function(i, c, l, u) {
1958
+ switch (l) {
1959
+ case 0: return this.begin("open_directive"), "open_directive";
1960
+ case 1: return this.begin("acc_title"), 31;
1961
+ case 2: return this.popState(), "acc_title_value";
1962
+ case 3: return this.begin("acc_descr"), 33;
1963
+ case 4: return this.popState(), "acc_descr_value";
1964
+ case 5:
1965
+ this.begin("acc_descr_multiline");
1966
+ break;
1967
+ case 6:
1968
+ this.popState();
1969
+ break;
1970
+ case 7: return "acc_descr_multiline_value";
1971
+ case 8: break;
1972
+ case 9: break;
1973
+ case 10: break;
1974
+ case 11: return 10;
1975
+ case 12: break;
1976
+ case 13: break;
1977
+ case 14:
1978
+ this.begin("href");
1979
+ break;
1980
+ case 15:
1981
+ this.popState();
1982
+ break;
1983
+ case 16: return 43;
1984
+ case 17:
1985
+ this.begin("callbackname");
1986
+ break;
1987
+ case 18:
1988
+ this.popState();
1989
+ break;
1990
+ case 19:
1991
+ this.popState(), this.begin("callbackargs");
1992
+ break;
1993
+ case 20: return 41;
1994
+ case 21:
1995
+ this.popState();
1996
+ break;
1997
+ case 22: return 42;
1998
+ case 23:
1999
+ this.begin("click");
2000
+ break;
2001
+ case 24:
2002
+ this.popState();
2003
+ break;
2004
+ case 25: return 40;
2005
+ case 26: return 4;
2006
+ case 27: return 22;
2007
+ case 28: return 23;
2008
+ case 29: return 24;
2009
+ case 30: return 25;
2010
+ case 31: return 26;
2011
+ case 32: return 28;
2012
+ case 33: return 27;
2013
+ case 34: return 29;
2014
+ case 35: return 12;
2015
+ case 36: return 13;
2016
+ case 37: return 14;
2017
+ case 38: return 15;
2018
+ case 39: return 16;
2019
+ case 40: return 17;
2020
+ case 41: return 18;
2021
+ case 42: return 20;
2022
+ case 43: return 21;
2023
+ case 44: return "date";
2024
+ case 45: return 30;
2025
+ case 46: return "accDescription";
2026
+ case 47: return 36;
2027
+ case 48: return 38;
2028
+ case 49: return 39;
2029
+ case 50: return ":";
2030
+ case 51: return 6;
2031
+ case 52: return "INVALID";
2032
+ }
2033
+ }, "anonymous"),
2034
+ rules: [
2035
+ /^(?:%%\{)/i,
2036
+ /^(?:accTitle\s*:\s*)/i,
2037
+ /^(?:(?!\n||)*[^\n]*)/i,
2038
+ /^(?:accDescr\s*:\s*)/i,
2039
+ /^(?:(?!\n||)*[^\n]*)/i,
2040
+ /^(?:accDescr\s*\{\s*)/i,
2041
+ /^(?:[\}])/i,
2042
+ /^(?:[^\}]*)/i,
2043
+ /^(?:%%(?!\{)*[^\n]*)/i,
2044
+ /^(?:[^\}]%%*[^\n]*)/i,
2045
+ /^(?:%%*[^\n]*[\n]*)/i,
2046
+ /^(?:[\n]+)/i,
2047
+ /^(?:\s+)/i,
2048
+ /^(?:%[^\n]*)/i,
2049
+ /^(?:href[\s]+["])/i,
2050
+ /^(?:["])/i,
2051
+ /^(?:[^"]*)/i,
2052
+ /^(?:call[\s]+)/i,
2053
+ /^(?:\([\s]*\))/i,
2054
+ /^(?:\()/i,
2055
+ /^(?:[^(]*)/i,
2056
+ /^(?:\))/i,
2057
+ /^(?:[^)]*)/i,
2058
+ /^(?:click[\s]+)/i,
2059
+ /^(?:[\s\n])/i,
2060
+ /^(?:[^\s\n]*)/i,
2061
+ /^(?:gantt\b)/i,
2062
+ /^(?:dateFormat\s[^#\n;]+)/i,
2063
+ /^(?:inclusiveEndDates\b)/i,
2064
+ /^(?:topAxis\b)/i,
2065
+ /^(?:axisFormat\s[^#\n;]+)/i,
2066
+ /^(?:tickInterval\s[^#\n;]+)/i,
2067
+ /^(?:includes\s[^#\n;]+)/i,
2068
+ /^(?:excludes\s[^#\n;]+)/i,
2069
+ /^(?:todayMarker\s[^\n;]+)/i,
2070
+ /^(?:weekday\s+monday\b)/i,
2071
+ /^(?:weekday\s+tuesday\b)/i,
2072
+ /^(?:weekday\s+wednesday\b)/i,
2073
+ /^(?:weekday\s+thursday\b)/i,
2074
+ /^(?:weekday\s+friday\b)/i,
2075
+ /^(?:weekday\s+saturday\b)/i,
2076
+ /^(?:weekday\s+sunday\b)/i,
2077
+ /^(?:weekend\s+friday\b)/i,
2078
+ /^(?:weekend\s+saturday\b)/i,
2079
+ /^(?:\d\d\d\d-\d\d-\d\d\b)/i,
2080
+ /^(?:title\s[^\n]+)/i,
2081
+ /^(?:accDescription\s[^#\n;]+)/i,
2082
+ /^(?:section\s[^\n]+)/i,
2083
+ /^(?:[^:\n]+)/i,
2084
+ /^(?::[^#\n;]+)/i,
2085
+ /^(?::)/i,
2086
+ /^(?:$)/i,
2087
+ /^(?:.)/i
2088
+ ],
2089
+ conditions: {
2090
+ acc_descr_multiline: {
2091
+ rules: [6, 7],
2092
+ inclusive: !1
2093
+ },
2094
+ acc_descr: {
2095
+ rules: [4],
2096
+ inclusive: !1
2097
+ },
2098
+ acc_title: {
2099
+ rules: [2],
2100
+ inclusive: !1
2101
+ },
2102
+ callbackargs: {
2103
+ rules: [21, 22],
2104
+ inclusive: !1
2105
+ },
2106
+ callbackname: {
2107
+ rules: [
2108
+ 18,
2109
+ 19,
2110
+ 20
2111
+ ],
2112
+ inclusive: !1
2113
+ },
2114
+ href: {
2115
+ rules: [15, 16],
2116
+ inclusive: !1
2117
+ },
2118
+ click: {
2119
+ rules: [24, 25],
2120
+ inclusive: !1
2121
+ },
2122
+ INITIAL: {
2123
+ rules: [
2124
+ 0,
2125
+ 1,
2126
+ 3,
2127
+ 5,
2128
+ 8,
2129
+ 9,
2130
+ 10,
2131
+ 11,
2132
+ 12,
2133
+ 13,
2134
+ 14,
2135
+ 17,
2136
+ 23,
2137
+ 26,
2138
+ 27,
2139
+ 28,
2140
+ 29,
2141
+ 30,
2142
+ 31,
2143
+ 32,
2144
+ 33,
2145
+ 34,
2146
+ 35,
2147
+ 36,
2148
+ 37,
2149
+ 38,
2150
+ 39,
2151
+ 40,
2152
+ 41,
2153
+ 42,
2154
+ 43,
2155
+ 44,
2156
+ 45,
2157
+ 46,
2158
+ 47,
2159
+ 48,
2160
+ 49,
2161
+ 50,
2162
+ 51,
2163
+ 52
2164
+ ],
2165
+ inclusive: !0
2166
+ }
2167
+ }
2168
+ };
2169
+ })();
2170
+ function I() {
2171
+ this.yy = {};
2172
+ }
2173
+ return __name(I, "Parser"), I.prototype = F, F.Parser = I, new I();
2174
+ })();
2175
+ parser.parser = parser;
2176
+ var gantt_default = parser;
2177
+ import_dayjs_min.default.extend(import_isoWeek.default), import_dayjs_min.default.extend(import_customParseFormat.default), import_dayjs_min.default.extend(import_advancedFormat.default);
2178
+ var WEEKEND_START_DAY = {
2179
+ friday: 5,
2180
+ saturday: 6
2181
+ }, dateFormat = "", axisFormat = "", tickInterval = void 0, todayMarker = "", includes = [], excludes = [], links = /* @__PURE__ */ new Map(), sections = [], tasks = [], currentSection = "", displayMode = "", tags = [
2182
+ "active",
2183
+ "done",
2184
+ "crit",
2185
+ "milestone",
2186
+ "vert"
2187
+ ], funs = [], inclusiveEndDates = !1, topAxis = !1, weekday = "sunday", weekend = "saturday", lastOrder = 0, clear2 = /* @__PURE__ */ __name(function() {
2188
+ sections = [], tasks = [], currentSection = "", funs = [], taskCnt = 0, lastTask = void 0, lastTaskID = void 0, rawTasks = [], dateFormat = "", axisFormat = "", displayMode = "", tickInterval = void 0, todayMarker = "", includes = [], excludes = [], inclusiveEndDates = !1, topAxis = !1, lastOrder = 0, links = /* @__PURE__ */ new Map(), clear(), weekday = "sunday", weekend = "saturday";
2189
+ }, "clear"), setAxisFormat = /* @__PURE__ */ __name(function(i) {
2190
+ axisFormat = i;
2191
+ }, "setAxisFormat"), getAxisFormat = /* @__PURE__ */ __name(function() {
2192
+ return axisFormat;
2193
+ }, "getAxisFormat"), setTickInterval = /* @__PURE__ */ __name(function(i) {
2194
+ tickInterval = i;
2195
+ }, "setTickInterval"), getTickInterval = /* @__PURE__ */ __name(function() {
2196
+ return tickInterval;
2197
+ }, "getTickInterval"), setTodayMarker = /* @__PURE__ */ __name(function(i) {
2198
+ todayMarker = i;
2199
+ }, "setTodayMarker"), getTodayMarker = /* @__PURE__ */ __name(function() {
2200
+ return todayMarker;
2201
+ }, "getTodayMarker"), setDateFormat = /* @__PURE__ */ __name(function(i) {
2202
+ dateFormat = i;
2203
+ }, "setDateFormat"), enableInclusiveEndDates = /* @__PURE__ */ __name(function() {
2204
+ inclusiveEndDates = !0;
2205
+ }, "enableInclusiveEndDates"), endDatesAreInclusive = /* @__PURE__ */ __name(function() {
2206
+ return inclusiveEndDates;
2207
+ }, "endDatesAreInclusive"), enableTopAxis = /* @__PURE__ */ __name(function() {
2208
+ topAxis = !0;
2209
+ }, "enableTopAxis"), topAxisEnabled = /* @__PURE__ */ __name(function() {
2210
+ return topAxis;
2211
+ }, "topAxisEnabled"), setDisplayMode = /* @__PURE__ */ __name(function(i) {
2212
+ displayMode = i;
2213
+ }, "setDisplayMode"), getDisplayMode = /* @__PURE__ */ __name(function() {
2214
+ return displayMode;
2215
+ }, "getDisplayMode"), getDateFormat = /* @__PURE__ */ __name(function() {
2216
+ return dateFormat;
2217
+ }, "getDateFormat"), setIncludes = /* @__PURE__ */ __name(function(i) {
2218
+ includes = i.toLowerCase().split(/[\s,]+/);
2219
+ }, "setIncludes"), getIncludes = /* @__PURE__ */ __name(function() {
2220
+ return includes;
2221
+ }, "getIncludes"), setExcludes = /* @__PURE__ */ __name(function(i) {
2222
+ excludes = i.toLowerCase().split(/[\s,]+/);
2223
+ }, "setExcludes"), getExcludes = /* @__PURE__ */ __name(function() {
2224
+ return excludes;
2225
+ }, "getExcludes"), getLinks = /* @__PURE__ */ __name(function() {
2226
+ return links;
2227
+ }, "getLinks"), addSection = /* @__PURE__ */ __name(function(i) {
2228
+ currentSection = i, sections.push(i);
2229
+ }, "addSection"), getSections = /* @__PURE__ */ __name(function() {
2230
+ return sections;
2231
+ }, "getSections"), getTasks = /* @__PURE__ */ __name(function() {
2232
+ let i = compileTasks(), c = 0;
2233
+ for (; !i && c < 10;) i = compileTasks(), c++;
2234
+ return tasks = rawTasks, tasks;
2235
+ }, "getTasks"), isInvalidDate = /* @__PURE__ */ __name(function(i, c, l, u) {
2236
+ let d = i.format(c.trim()), f = i.format("YYYY-MM-DD");
2237
+ return u.includes(d) || u.includes(f) ? !1 : l.includes("weekends") && (i.isoWeekday() === WEEKEND_START_DAY[weekend] || i.isoWeekday() === WEEKEND_START_DAY[weekend] + 1) || l.includes(i.format("dddd").toLowerCase()) ? !0 : l.includes(d) || l.includes(f);
2238
+ }, "isInvalidDate"), setWeekday = /* @__PURE__ */ __name(function(i) {
2239
+ weekday = i;
2240
+ }, "setWeekday"), getWeekday = /* @__PURE__ */ __name(function() {
2241
+ return weekday;
2242
+ }, "getWeekday"), setWeekend = /* @__PURE__ */ __name(function(i) {
2243
+ weekend = i;
2244
+ }, "setWeekend"), checkTaskDates = /* @__PURE__ */ __name(function(i, c, l, u) {
2245
+ if (!l.length || i.manualEndTime) return;
2246
+ let d;
2247
+ d = i.startTime instanceof Date ? (0, import_dayjs_min.default)(i.startTime) : (0, import_dayjs_min.default)(i.startTime, c, !0), d = d.add(1, "d");
2248
+ let f;
2249
+ f = i.endTime instanceof Date ? (0, import_dayjs_min.default)(i.endTime) : (0, import_dayjs_min.default)(i.endTime, c, !0);
2250
+ let [p, m] = fixTaskDates(d, f, c, l, u);
2251
+ i.endTime = p.toDate(), i.renderEndTime = m;
2252
+ }, "checkTaskDates"), fixTaskDates = /* @__PURE__ */ __name(function(i, c, l, u, d) {
2253
+ let f = !1, p = null;
2254
+ for (; i <= c;) f || (p = c.toDate()), f = isInvalidDate(i, l, u, d), f && (c = c.add(1, "d")), i = i.add(1, "d");
2255
+ return [c, p];
2256
+ }, "fixTaskDates"), getStartDate = /* @__PURE__ */ __name(function(i, c, l) {
2257
+ if (l = l.trim(), (/* @__PURE__ */ __name((i) => {
2258
+ let c = i.trim();
2259
+ return c === "x" || c === "X";
2260
+ }, "isTimestampFormat"))(c) && /^\d+$/.test(l)) return new Date(Number(l));
2261
+ let u = /^after\s+(?<ids>[\d\w- ]+)/.exec(l);
2262
+ if (u !== null) {
2263
+ let i = null;
2264
+ for (let c of u.groups.ids.split(" ")) {
2265
+ let l = findTaskById(c);
2266
+ l !== void 0 && (!i || l.endTime > i.endTime) && (i = l);
2267
+ }
2268
+ if (i) return i.endTime;
2269
+ let c = /* @__PURE__ */ new Date();
2270
+ return c.setHours(0, 0, 0, 0), c;
2271
+ }
2272
+ let d = (0, import_dayjs_min.default)(l, c.trim(), !0);
2273
+ if (d.isValid()) return d.toDate();
2274
+ {
2275
+ log.debug("Invalid date:" + l), log.debug("With date format:" + c.trim());
2276
+ let i = new Date(l);
2277
+ if (i === void 0 || isNaN(i.getTime()) || i.getFullYear() < -1e4 || i.getFullYear() > 1e4) throw Error("Invalid date:" + l);
2278
+ return i;
2279
+ }
2280
+ }, "getStartDate"), parseDuration = /* @__PURE__ */ __name(function(i) {
2281
+ let c = /^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(i.trim());
2282
+ return c === null ? [NaN, "ms"] : [Number.parseFloat(c[1]), c[2]];
2283
+ }, "parseDuration"), getEndDate = /* @__PURE__ */ __name(function(i, c, l, u = !1) {
2284
+ l = l.trim();
2285
+ let d = /^until\s+(?<ids>[\d\w- ]+)/.exec(l);
2286
+ if (d !== null) {
2287
+ let i = null;
2288
+ for (let c of d.groups.ids.split(" ")) {
2289
+ let l = findTaskById(c);
2290
+ l !== void 0 && (!i || l.startTime < i.startTime) && (i = l);
2291
+ }
2292
+ if (i) return i.startTime;
2293
+ let c = /* @__PURE__ */ new Date();
2294
+ return c.setHours(0, 0, 0, 0), c;
2295
+ }
2296
+ let f = (0, import_dayjs_min.default)(l, c.trim(), !0);
2297
+ if (f.isValid()) return u && (f = f.add(1, "d")), f.toDate();
2298
+ let p = (0, import_dayjs_min.default)(i), [m, h] = parseDuration(l);
2299
+ if (!Number.isNaN(m)) {
2300
+ let i = p.add(m, h);
2301
+ i.isValid() && (p = i);
2302
+ }
2303
+ return p.toDate();
2304
+ }, "getEndDate"), taskCnt = 0, parseId = /* @__PURE__ */ __name(function(i) {
2305
+ return i === void 0 ? (taskCnt += 1, "task" + taskCnt) : i;
2306
+ }, "parseId"), compileData = /* @__PURE__ */ __name(function(i, c) {
2307
+ let l;
2308
+ l = c.substr(0, 1) === ":" ? c.substr(1, c.length) : c;
2309
+ let u = l.split(","), d = {};
2310
+ getTaskTags(u, d, tags);
2311
+ for (let i = 0; i < u.length; i++) u[i] = u[i].trim();
2312
+ let f = "";
2313
+ switch (u.length) {
2314
+ case 1:
2315
+ d.id = parseId(), d.startTime = i.endTime, f = u[0];
2316
+ break;
2317
+ case 2:
2318
+ d.id = parseId(), d.startTime = getStartDate(void 0, dateFormat, u[0]), f = u[1];
2319
+ break;
2320
+ case 3:
2321
+ d.id = parseId(u[0]), d.startTime = getStartDate(void 0, dateFormat, u[1]), f = u[2];
2322
+ break;
2323
+ default:
2324
+ }
2325
+ return f && (d.endTime = getEndDate(d.startTime, dateFormat, f, inclusiveEndDates), d.manualEndTime = (0, import_dayjs_min.default)(f, "YYYY-MM-DD", !0).isValid(), checkTaskDates(d, dateFormat, excludes, includes)), d;
2326
+ }, "compileData"), parseData = /* @__PURE__ */ __name(function(i, c) {
2327
+ let l;
2328
+ l = c.substr(0, 1) === ":" ? c.substr(1, c.length) : c;
2329
+ let u = l.split(","), d = {};
2330
+ getTaskTags(u, d, tags);
2331
+ for (let i = 0; i < u.length; i++) u[i] = u[i].trim();
2332
+ switch (u.length) {
2333
+ case 1:
2334
+ d.id = parseId(), d.startTime = {
2335
+ type: "prevTaskEnd",
2336
+ id: i
2337
+ }, d.endTime = { data: u[0] };
2338
+ break;
2339
+ case 2:
2340
+ d.id = parseId(), d.startTime = {
2341
+ type: "getStartDate",
2342
+ startData: u[0]
2343
+ }, d.endTime = { data: u[1] };
2344
+ break;
2345
+ case 3:
2346
+ d.id = parseId(u[0]), d.startTime = {
2347
+ type: "getStartDate",
2348
+ startData: u[1]
2349
+ }, d.endTime = { data: u[2] };
2350
+ break;
2351
+ default:
2352
+ }
2353
+ return d;
2354
+ }, "parseData"), lastTask, lastTaskID, rawTasks = [], taskDb = {}, addTask = /* @__PURE__ */ __name(function(i, c) {
2355
+ let l = {
2356
+ section: currentSection,
2357
+ type: currentSection,
2358
+ processed: !1,
2359
+ manualEndTime: !1,
2360
+ renderEndTime: null,
2361
+ raw: { data: c },
2362
+ task: i,
2363
+ classes: []
2364
+ }, u = parseData(lastTaskID, c);
2365
+ l.raw.startTime = u.startTime, l.raw.endTime = u.endTime, l.id = u.id, l.prevTaskId = lastTaskID, l.active = u.active, l.done = u.done, l.crit = u.crit, l.milestone = u.milestone, l.vert = u.vert, l.order = lastOrder, lastOrder++;
2366
+ let d = rawTasks.push(l);
2367
+ lastTaskID = l.id, taskDb[l.id] = d - 1;
2368
+ }, "addTask"), findTaskById = /* @__PURE__ */ __name(function(i) {
2369
+ let c = taskDb[i];
2370
+ return rawTasks[c];
2371
+ }, "findTaskById"), addTaskOrg = /* @__PURE__ */ __name(function(i, c) {
2372
+ let l = {
2373
+ section: currentSection,
2374
+ type: currentSection,
2375
+ description: i,
2376
+ task: i,
2377
+ classes: []
2378
+ }, u = compileData(lastTask, c);
2379
+ l.startTime = u.startTime, l.endTime = u.endTime, l.id = u.id, l.active = u.active, l.done = u.done, l.crit = u.crit, l.milestone = u.milestone, l.vert = u.vert, lastTask = l, tasks.push(l);
2380
+ }, "addTaskOrg"), compileTasks = /* @__PURE__ */ __name(function() {
2381
+ let i = /* @__PURE__ */ __name(function(i) {
2382
+ let c = rawTasks[i], l = "";
2383
+ switch (rawTasks[i].raw.startTime.type) {
2384
+ case "prevTaskEnd":
2385
+ c.startTime = findTaskById(c.prevTaskId).endTime;
2386
+ break;
2387
+ case "getStartDate":
2388
+ l = getStartDate(void 0, dateFormat, rawTasks[i].raw.startTime.startData), l && (rawTasks[i].startTime = l);
2389
+ break;
2390
+ }
2391
+ return rawTasks[i].startTime && (rawTasks[i].endTime = getEndDate(rawTasks[i].startTime, dateFormat, rawTasks[i].raw.endTime.data, inclusiveEndDates), rawTasks[i].endTime && (rawTasks[i].processed = !0, rawTasks[i].manualEndTime = (0, import_dayjs_min.default)(rawTasks[i].raw.endTime.data, "YYYY-MM-DD", !0).isValid(), checkTaskDates(rawTasks[i], dateFormat, excludes, includes))), rawTasks[i].processed;
2392
+ }, "compileTask"), c = !0;
2393
+ for (let [l, u] of rawTasks.entries()) i(l), c &&= u.processed;
2394
+ return c;
2395
+ }, "compileTasks"), setLink = /* @__PURE__ */ __name(function(i, c) {
2396
+ let l = c;
2397
+ getConfig2().securityLevel !== "loose" && (l = (0, import_dist.sanitizeUrl)(c)), i.split(",").forEach(function(i) {
2398
+ findTaskById(i) !== void 0 && (pushFun(i, () => {
2399
+ window.open(l, "_self");
2400
+ }), links.set(i, l));
2401
+ }), setClass(i, "clickable");
2402
+ }, "setLink"), setClass = /* @__PURE__ */ __name(function(i, c) {
2403
+ i.split(",").forEach(function(i) {
2404
+ let l = findTaskById(i);
2405
+ l !== void 0 && l.classes.push(c);
2406
+ });
2407
+ }, "setClass"), setClickFun = /* @__PURE__ */ __name(function(i, c, u) {
2408
+ if (getConfig2().securityLevel !== "loose" || c === void 0) return;
2409
+ let d = [];
2410
+ if (typeof u == "string") {
2411
+ d = u.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
2412
+ for (let i = 0; i < d.length; i++) {
2413
+ let c = d[i].trim();
2414
+ c.startsWith("\"") && c.endsWith("\"") && (c = c.substr(1, c.length - 2)), d[i] = c;
2415
+ }
2416
+ }
2417
+ d.length === 0 && d.push(i), findTaskById(i) !== void 0 && pushFun(i, () => {
2418
+ utils_default.runFunc(c, ...d);
2419
+ });
2420
+ }, "setClickFun"), pushFun = /* @__PURE__ */ __name(function(i, c) {
2421
+ funs.push(function() {
2422
+ let l = document.querySelector(`[id="${i}"]`);
2423
+ l !== null && l.addEventListener("click", function() {
2424
+ c();
2425
+ });
2426
+ }, function() {
2427
+ let l = document.querySelector(`[id="${i}-text"]`);
2428
+ l !== null && l.addEventListener("click", function() {
2429
+ c();
2430
+ });
2431
+ });
2432
+ }, "pushFun"), ganttDb_default = {
2433
+ getConfig: /* @__PURE__ */ __name(() => getConfig2().gantt, "getConfig"),
2434
+ clear: clear2,
2435
+ setDateFormat,
2436
+ getDateFormat,
2437
+ enableInclusiveEndDates,
2438
+ endDatesAreInclusive,
2439
+ enableTopAxis,
2440
+ topAxisEnabled,
2441
+ setAxisFormat,
2442
+ getAxisFormat,
2443
+ setTickInterval,
2444
+ getTickInterval,
2445
+ setTodayMarker,
2446
+ getTodayMarker,
2447
+ setAccTitle,
2448
+ getAccTitle,
2449
+ setDiagramTitle,
2450
+ getDiagramTitle,
2451
+ setDisplayMode,
2452
+ getDisplayMode,
2453
+ setAccDescription,
2454
+ getAccDescription,
2455
+ addSection,
2456
+ getSections,
2457
+ getTasks,
2458
+ addTask,
2459
+ findTaskById,
2460
+ addTaskOrg,
2461
+ setIncludes,
2462
+ getIncludes,
2463
+ setExcludes,
2464
+ getExcludes,
2465
+ setClickEvent: /* @__PURE__ */ __name(function(i, c, l) {
2466
+ i.split(",").forEach(function(i) {
2467
+ setClickFun(i, c, l);
2468
+ }), setClass(i, "clickable");
2469
+ }, "setClickEvent"),
2470
+ setLink,
2471
+ getLinks,
2472
+ bindFunctions: /* @__PURE__ */ __name(function(i) {
2473
+ funs.forEach(function(c) {
2474
+ c(i);
2475
+ });
2476
+ }, "bindFunctions"),
2477
+ parseDuration,
2478
+ isInvalidDate,
2479
+ setWeekday,
2480
+ getWeekday,
2481
+ setWeekend
2482
+ };
2483
+ function getTaskTags(i, c, l) {
2484
+ let u = !0;
2485
+ for (; u;) u = !1, l.forEach(function(l) {
2486
+ let d = "^\\s*" + l + "\\s*$", f = new RegExp(d);
2487
+ i[0].match(f) && (c[l] = !0, i.shift(1), u = !0);
2488
+ });
2489
+ }
2490
+ __name(getTaskTags, "getTaskTags"), import_dayjs_min$1.default.extend(import_duration.default);
2491
+ var setConf = /* @__PURE__ */ __name(function() {
2492
+ log.debug("Something is calling, setConf, remove the call");
2493
+ }, "setConf"), mapWeekdayToTimeFunction = {
2494
+ monday: timeMonday,
2495
+ tuesday: timeTuesday,
2496
+ wednesday: timeWednesday,
2497
+ thursday: timeThursday,
2498
+ friday: timeFriday,
2499
+ saturday: timeSaturday,
2500
+ sunday: timeSunday
2501
+ }, getMaxIntersections = /* @__PURE__ */ __name((i, c) => {
2502
+ let l = [...i].map(() => -Infinity), u = [...i].sort((i, c) => i.startTime - c.startTime || i.order - c.order), d = 0;
2503
+ for (let i of u) for (let u = 0; u < l.length; u++) if (i.startTime >= l[u]) {
2504
+ l[u] = i.endTime, i.order = u + c, u > d && (d = u);
2505
+ break;
2506
+ }
2507
+ return d;
2508
+ }, "getMaxIntersections"), w, MAX_TICK_COUNT = 1e4, diagram = {
2509
+ parser: gantt_default,
2510
+ db: ganttDb_default,
2511
+ renderer: {
2512
+ setConf,
2513
+ draw: /* @__PURE__ */ __name(function(i, c, l, u) {
2514
+ let d = getConfig2().gantt, f = getConfig2().securityLevel, p;
2515
+ f === "sandbox" && (p = select_default("#i" + c));
2516
+ let g = select_default(f === "sandbox" ? p.nodes()[0].contentDocument.body : "body"), v = f === "sandbox" ? p.nodes()[0].contentDocument : document, y = v.getElementById(c);
2517
+ w = y.parentElement.offsetWidth, w === void 0 && (w = 1200), d.useWidth !== void 0 && (w = d.useWidth);
2518
+ let b = u.db.getTasks(), x = [];
2519
+ for (let i of b) x.push(i.type);
2520
+ x = V(x);
2521
+ let S = {}, C = 2 * d.topPadding;
2522
+ if (u.db.getDisplayMode() === "compact" || d.displayMode === "compact") {
2523
+ let i = {};
2524
+ for (let c of b) i[c.section] === void 0 ? i[c.section] = [c] : i[c.section].push(c);
2525
+ let c = 0;
2526
+ for (let l of Object.keys(i)) {
2527
+ let u = getMaxIntersections(i[l], c) + 1;
2528
+ c += u, C += u * (d.barHeight + d.barGap), S[l] = u;
2529
+ }
2530
+ } else {
2531
+ C += b.length * (d.barHeight + d.barGap);
2532
+ for (let i of x) S[i] = b.filter((c) => c.type === i).length;
2533
+ }
2534
+ y.setAttribute("viewBox", "0 0 " + w + " " + C);
2535
+ let T = g.select(`[id="${c}"]`), E = time().domain([min(b, function(i) {
2536
+ return i.startTime;
2537
+ }), max(b, function(i) {
2538
+ return i.endTime;
2539
+ })]).rangeRound([0, w - d.leftPadding - d.rightPadding]);
2540
+ function A(i, c) {
2541
+ let l = i.startTime, u = c.startTime, d = 0;
2542
+ return l > u ? d = 1 : l < u && (d = -1), d;
2543
+ }
2544
+ __name(A, "taskCompare"), b.sort(A), j(b, w, C), configureSvgSize(T, C, w, d.useMaxWidth), T.append("text").text(u.db.getDiagramTitle()).attr("x", w / 2).attr("y", d.titleTopMargin).attr("class", "titleText");
2545
+ function j(i, c, l) {
2546
+ let f = d.barHeight, p = f + d.barGap, m = d.topPadding, h = d.leftPadding, g = linear().domain([0, x.length]).range(["#00B9FA", "#F95002"]).interpolate(hcl_default);
2547
+ N(p, m, h, c, l, i, u.db.getExcludes(), u.db.getIncludes()), F(h, m, c, l), M(i, p, m, h, f, g, c, l), L(p, m, h, f, g), R(h, m, c, l);
2548
+ }
2549
+ __name(j, "makeGantt");
2550
+ function M(i, l, f, p, m, h, g) {
2551
+ i.sort((i, c) => i.vert === c.vert ? 0 : i.vert ? 1 : -1);
2552
+ let v = [...new Set(i.map((i) => i.order))].map((c) => i.find((i) => i.order === c));
2553
+ T.append("g").selectAll("rect").data(v).enter().append("rect").attr("x", 0).attr("y", function(i, c) {
2554
+ return c = i.order, c * l + f - 2;
2555
+ }).attr("width", function() {
2556
+ return g - d.rightPadding / 2;
2557
+ }).attr("height", l).attr("class", function(i) {
2558
+ for (let [c, l] of x.entries()) if (i.type === l) return "section section" + c % d.numberSectionStyles;
2559
+ return "section section0";
2560
+ }).enter();
2561
+ let y = T.append("g").selectAll("rect").data(i).enter(), S = u.db.getLinks();
2562
+ if (y.append("rect").attr("id", function(i) {
2563
+ return i.id;
2564
+ }).attr("rx", 3).attr("ry", 3).attr("x", function(i) {
2565
+ return i.milestone ? E(i.startTime) + p + .5 * (E(i.endTime) - E(i.startTime)) - .5 * m : E(i.startTime) + p;
2566
+ }).attr("y", function(i, c) {
2567
+ return c = i.order, i.vert ? d.gridLineStartPadding : c * l + f;
2568
+ }).attr("width", function(i) {
2569
+ return i.milestone ? m : i.vert ? .08 * m : E(i.renderEndTime || i.endTime) - E(i.startTime);
2570
+ }).attr("height", function(i) {
2571
+ return i.vert ? b.length * (d.barHeight + d.barGap) + d.barHeight * 2 : m;
2572
+ }).attr("transform-origin", function(i, c) {
2573
+ return c = i.order, (E(i.startTime) + p + .5 * (E(i.endTime) - E(i.startTime))).toString() + "px " + (c * l + f + .5 * m).toString() + "px";
2574
+ }).attr("class", function(i) {
2575
+ let c = "";
2576
+ i.classes.length > 0 && (c = i.classes.join(" "));
2577
+ let l = 0;
2578
+ for (let [c, u] of x.entries()) i.type === u && (l = c % d.numberSectionStyles);
2579
+ let u = "";
2580
+ return i.active ? i.crit ? u += " activeCrit" : u = " active" : i.done ? u = i.crit ? " doneCrit" : " done" : i.crit && (u += " crit"), u.length === 0 && (u = " task"), i.milestone && (u = " milestone " + u), i.vert && (u = " vert " + u), u += l, u += " " + c, "task" + u;
2581
+ }), y.append("text").attr("id", function(i) {
2582
+ return i.id + "-text";
2583
+ }).text(function(i) {
2584
+ return i.task;
2585
+ }).attr("font-size", d.fontSize).attr("x", function(i) {
2586
+ let c = E(i.startTime), l = E(i.renderEndTime || i.endTime);
2587
+ if (i.milestone && (c += .5 * (E(i.endTime) - E(i.startTime)) - .5 * m, l = c + m), i.vert) return E(i.startTime) + p;
2588
+ let u = this.getBBox().width;
2589
+ return u > l - c ? l + u + 1.5 * d.leftPadding > g ? c + p - 5 : l + p + 5 : (l - c) / 2 + c + p;
2590
+ }).attr("y", function(i, c) {
2591
+ return i.vert ? d.gridLineStartPadding + b.length * (d.barHeight + d.barGap) + 60 : (c = i.order, c * l + d.barHeight / 2 + (d.fontSize / 2 - 2) + f);
2592
+ }).attr("text-height", m).attr("class", function(i) {
2593
+ let c = E(i.startTime), l = E(i.endTime);
2594
+ i.milestone && (l = c + m);
2595
+ let u = this.getBBox().width, f = "";
2596
+ i.classes.length > 0 && (f = i.classes.join(" "));
2597
+ let p = 0;
2598
+ for (let [c, l] of x.entries()) i.type === l && (p = c % d.numberSectionStyles);
2599
+ let h = "";
2600
+ return i.active && (h = i.crit ? "activeCritText" + p : "activeText" + p), i.done ? h = i.crit ? h + " doneCritText" + p : h + " doneText" + p : i.crit && (h = h + " critText" + p), i.milestone && (h += " milestoneText"), i.vert && (h += " vertText"), u > l - c ? l + u + 1.5 * d.leftPadding > g ? f + " taskTextOutsideLeft taskTextOutside" + p + " " + h : f + " taskTextOutsideRight taskTextOutside" + p + " " + h + " width-" + u : f + " taskText taskText" + p + " " + h + " width-" + u;
2601
+ }), getConfig2().securityLevel === "sandbox") {
2602
+ let i;
2603
+ i = select_default("#i" + c);
2604
+ let l = i.nodes()[0].contentDocument;
2605
+ y.filter(function(i) {
2606
+ return S.has(i.id);
2607
+ }).each(function(i) {
2608
+ var c = l.querySelector("#" + i.id), u = l.querySelector("#" + i.id + "-text");
2609
+ let d = c.parentNode;
2610
+ var f = l.createElement("a");
2611
+ f.setAttribute("xlink:href", S.get(i.id)), f.setAttribute("target", "_top"), d.appendChild(f), f.appendChild(c), f.appendChild(u);
2612
+ });
2613
+ }
2614
+ }
2615
+ __name(M, "drawRects");
2616
+ function N(i, c, l, f, p, h, g, _) {
2617
+ if (g.length === 0 && _.length === 0) return;
2618
+ let v, y;
2619
+ for (let { startTime: i, endTime: c } of h) (v === void 0 || i < v) && (v = i), (y === void 0 || c > y) && (y = c);
2620
+ if (!v || !y) return;
2621
+ if ((0, import_dayjs_min$1.default)(y).diff((0, import_dayjs_min$1.default)(v), "year") > 5) {
2622
+ log.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");
2623
+ return;
2624
+ }
2625
+ let b = u.db.getDateFormat(), x = [], S = null, C = (0, import_dayjs_min$1.default)(v);
2626
+ for (; C.valueOf() <= y;) u.db.isInvalidDate(C, b, g, _) ? S ? S.end = C : S = {
2627
+ start: C,
2628
+ end: C
2629
+ } : S &&= (x.push(S), null), C = C.add(1, "d");
2630
+ T.append("g").selectAll("rect").data(x).enter().append("rect").attr("id", (i) => "exclude-" + i.start.format("YYYY-MM-DD")).attr("x", (i) => E(i.start.startOf("day")) + l).attr("y", d.gridLineStartPadding).attr("width", (i) => E(i.end.endOf("day")) - E(i.start.startOf("day"))).attr("height", p - c - d.gridLineStartPadding).attr("transform-origin", function(c, u) {
2631
+ return (E(c.start) + l + .5 * (E(c.end) - E(c.start))).toString() + "px " + (u * i + .5 * p).toString() + "px";
2632
+ }).attr("class", "exclude-range");
2633
+ }
2634
+ __name(N, "drawExcludeDays");
2635
+ function P(i, c, l, u) {
2636
+ if (l <= 0 || i > c) return Infinity;
2637
+ let d = c - i, f = import_dayjs_min$1.default.duration({ [u ?? "day"]: l }).asMilliseconds();
2638
+ return f <= 0 ? Infinity : Math.ceil(d / f);
2639
+ }
2640
+ __name(P, "getEstimatedTickCount");
2641
+ function F(i, c, l, f) {
2642
+ let p = u.db.getDateFormat(), h = u.db.getAxisFormat(), g;
2643
+ g = h || (p === "D" ? "%d" : d.axisFormat ?? "%Y-%m-%d");
2644
+ let _ = axisBottom(E).tickSize(-f + c + d.gridLineStartPadding).tickFormat(timeFormat(g)), v = /^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(u.db.getTickInterval() || d.tickInterval);
2645
+ if (v !== null) {
2646
+ let i = parseInt(v[1], 10);
2647
+ if (isNaN(i) || i <= 0) log.warn(`Invalid tick interval value: "${v[1]}". Skipping custom tick interval.`);
2648
+ else {
2649
+ let c = v[2], l = u.db.getWeekday() || d.weekday, f = E.domain(), p = f[0], h = f[1], g = P(p, h, i, c);
2650
+ if (g > MAX_TICK_COUNT) log.warn(`The tick interval "${i}${c}" would generate ${g} ticks, which exceeds the maximum allowed (${MAX_TICK_COUNT}). This may indicate an invalid date or time range. Skipping custom tick interval.`);
2651
+ else switch (c) {
2652
+ case "millisecond":
2653
+ _.ticks(millisecond.every(i));
2654
+ break;
2655
+ case "second":
2656
+ _.ticks(second.every(i));
2657
+ break;
2658
+ case "minute":
2659
+ _.ticks(timeMinute.every(i));
2660
+ break;
2661
+ case "hour":
2662
+ _.ticks(timeHour.every(i));
2663
+ break;
2664
+ case "day":
2665
+ _.ticks(timeDay.every(i));
2666
+ break;
2667
+ case "week":
2668
+ _.ticks(mapWeekdayToTimeFunction[l].every(i));
2669
+ break;
2670
+ case "month":
2671
+ _.ticks(timeMonth.every(i));
2672
+ break;
2673
+ }
2674
+ }
2675
+ }
2676
+ if (T.append("g").attr("class", "grid").attr("transform", "translate(" + i + ", " + (f - 50) + ")").call(_).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em"), u.db.topAxisEnabled() || d.topAxis) {
2677
+ let l = axisTop(E).tickSize(-f + c + d.gridLineStartPadding).tickFormat(timeFormat(g));
2678
+ if (v !== null) {
2679
+ let i = parseInt(v[1], 10);
2680
+ if (isNaN(i) || i <= 0) log.warn(`Invalid tick interval value: "${v[1]}". Skipping custom tick interval.`);
2681
+ else {
2682
+ let c = v[2], f = u.db.getWeekday() || d.weekday, p = E.domain(), m = p[0], h = p[1];
2683
+ if (P(m, h, i, c) <= MAX_TICK_COUNT) switch (c) {
2684
+ case "millisecond":
2685
+ l.ticks(millisecond.every(i));
2686
+ break;
2687
+ case "second":
2688
+ l.ticks(second.every(i));
2689
+ break;
2690
+ case "minute":
2691
+ l.ticks(timeMinute.every(i));
2692
+ break;
2693
+ case "hour":
2694
+ l.ticks(timeHour.every(i));
2695
+ break;
2696
+ case "day":
2697
+ l.ticks(timeDay.every(i));
2698
+ break;
2699
+ case "week":
2700
+ l.ticks(mapWeekdayToTimeFunction[f].every(i));
2701
+ break;
2702
+ case "month":
2703
+ l.ticks(timeMonth.every(i));
2704
+ break;
2705
+ }
2706
+ }
2707
+ }
2708
+ T.append("g").attr("class", "grid").attr("transform", "translate(" + i + ", " + c + ")").call(l).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10);
2709
+ }
2710
+ }
2711
+ __name(F, "makeGrid");
2712
+ function L(i, c) {
2713
+ let l = 0, u = Object.keys(S).map((i) => [i, S[i]]);
2714
+ T.append("g").selectAll("text").data(u).enter().append(function(i) {
2715
+ let c = i[0].split(common_default.lineBreakRegex), l = -(c.length - 1) / 2, u = v.createElementNS("http://www.w3.org/2000/svg", "text");
2716
+ u.setAttribute("dy", l + "em");
2717
+ for (let [i, l] of c.entries()) {
2718
+ let c = v.createElementNS("http://www.w3.org/2000/svg", "tspan");
2719
+ c.setAttribute("alignment-baseline", "central"), c.setAttribute("x", "10"), i > 0 && c.setAttribute("dy", "1em"), c.textContent = l, u.appendChild(c);
2720
+ }
2721
+ return u;
2722
+ }).attr("x", 10).attr("y", function(d, f) {
2723
+ if (f > 0) for (let p = 0; p < f; p++) return l += u[f - 1][1], d[1] * i / 2 + l * i + c;
2724
+ else return d[1] * i / 2 + c;
2725
+ }).attr("font-size", d.sectionFontSize).attr("class", function(i) {
2726
+ for (let [c, l] of x.entries()) if (i[0] === l) return "sectionTitle sectionTitle" + c % d.numberSectionStyles;
2727
+ return "sectionTitle";
2728
+ });
2729
+ }
2730
+ __name(L, "vertLabels");
2731
+ function R(i, c, l, f) {
2732
+ let p = u.db.getTodayMarker();
2733
+ if (p === "off") return;
2734
+ let m = T.append("g").attr("class", "today"), h = /* @__PURE__ */ new Date(), g = m.append("line");
2735
+ g.attr("x1", E(h) + i).attr("x2", E(h) + i).attr("y1", d.titleTopMargin).attr("y2", f - d.titleTopMargin).attr("class", "today"), p !== "" && g.attr("style", p.replace(/,/g, ";"));
2736
+ }
2737
+ __name(R, "drawToday");
2738
+ function V(i) {
2739
+ let c = {}, l = [];
2740
+ for (let u = 0, d = i.length; u < d; ++u) Object.prototype.hasOwnProperty.call(c, i[u]) || (c[i[u]] = !0, l.push(i[u]));
2741
+ return l;
2742
+ }
2743
+ __name(V, "checkUnique");
2744
+ }, "draw")
2745
+ },
2746
+ styles: /* @__PURE__ */ __name((i) => `
2747
+ .mermaid-main-font {
2748
+ font-family: ${i.fontFamily};
2749
+ }
2750
+
2751
+ .exclude-range {
2752
+ fill: ${i.excludeBkgColor};
2753
+ }
2754
+
2755
+ .section {
2756
+ stroke: none;
2757
+ opacity: 0.2;
2758
+ }
2759
+
2760
+ .section0 {
2761
+ fill: ${i.sectionBkgColor};
2762
+ }
2763
+
2764
+ .section2 {
2765
+ fill: ${i.sectionBkgColor2};
2766
+ }
2767
+
2768
+ .section1,
2769
+ .section3 {
2770
+ fill: ${i.altSectionBkgColor};
2771
+ opacity: 0.2;
2772
+ }
2773
+
2774
+ .sectionTitle0 {
2775
+ fill: ${i.titleColor};
2776
+ }
2777
+
2778
+ .sectionTitle1 {
2779
+ fill: ${i.titleColor};
2780
+ }
2781
+
2782
+ .sectionTitle2 {
2783
+ fill: ${i.titleColor};
2784
+ }
2785
+
2786
+ .sectionTitle3 {
2787
+ fill: ${i.titleColor};
2788
+ }
2789
+
2790
+ .sectionTitle {
2791
+ text-anchor: start;
2792
+ font-family: ${i.fontFamily};
2793
+ }
2794
+
2795
+
2796
+ /* Grid and axis */
2797
+
2798
+ .grid .tick {
2799
+ stroke: ${i.gridColor};
2800
+ opacity: 0.8;
2801
+ shape-rendering: crispEdges;
2802
+ }
2803
+
2804
+ .grid .tick text {
2805
+ font-family: ${i.fontFamily};
2806
+ fill: ${i.textColor};
2807
+ }
2808
+
2809
+ .grid path {
2810
+ stroke-width: 0;
2811
+ }
2812
+
2813
+
2814
+ /* Today line */
2815
+
2816
+ .today {
2817
+ fill: none;
2818
+ stroke: ${i.todayLineColor};
2819
+ stroke-width: 2px;
2820
+ }
2821
+
2822
+
2823
+ /* Task styling */
2824
+
2825
+ /* Default task */
2826
+
2827
+ .task {
2828
+ stroke-width: 2;
2829
+ }
2830
+
2831
+ .taskText {
2832
+ text-anchor: middle;
2833
+ font-family: ${i.fontFamily};
2834
+ }
2835
+
2836
+ .taskTextOutsideRight {
2837
+ fill: ${i.taskTextDarkColor};
2838
+ text-anchor: start;
2839
+ font-family: ${i.fontFamily};
2840
+ }
2841
+
2842
+ .taskTextOutsideLeft {
2843
+ fill: ${i.taskTextDarkColor};
2844
+ text-anchor: end;
2845
+ }
2846
+
2847
+
2848
+ /* Special case clickable */
2849
+
2850
+ .task.clickable {
2851
+ cursor: pointer;
2852
+ }
2853
+
2854
+ .taskText.clickable {
2855
+ cursor: pointer;
2856
+ fill: ${i.taskTextClickableColor} !important;
2857
+ font-weight: bold;
2858
+ }
2859
+
2860
+ .taskTextOutsideLeft.clickable {
2861
+ cursor: pointer;
2862
+ fill: ${i.taskTextClickableColor} !important;
2863
+ font-weight: bold;
2864
+ }
2865
+
2866
+ .taskTextOutsideRight.clickable {
2867
+ cursor: pointer;
2868
+ fill: ${i.taskTextClickableColor} !important;
2869
+ font-weight: bold;
2870
+ }
2871
+
2872
+
2873
+ /* Specific task settings for the sections*/
2874
+
2875
+ .taskText0,
2876
+ .taskText1,
2877
+ .taskText2,
2878
+ .taskText3 {
2879
+ fill: ${i.taskTextColor};
2880
+ }
2881
+
2882
+ .task0,
2883
+ .task1,
2884
+ .task2,
2885
+ .task3 {
2886
+ fill: ${i.taskBkgColor};
2887
+ stroke: ${i.taskBorderColor};
2888
+ }
2889
+
2890
+ .taskTextOutside0,
2891
+ .taskTextOutside2
2892
+ {
2893
+ fill: ${i.taskTextOutsideColor};
2894
+ }
2895
+
2896
+ .taskTextOutside1,
2897
+ .taskTextOutside3 {
2898
+ fill: ${i.taskTextOutsideColor};
2899
+ }
2900
+
2901
+
2902
+ /* Active task */
2903
+
2904
+ .active0,
2905
+ .active1,
2906
+ .active2,
2907
+ .active3 {
2908
+ fill: ${i.activeTaskBkgColor};
2909
+ stroke: ${i.activeTaskBorderColor};
2910
+ }
2911
+
2912
+ .activeText0,
2913
+ .activeText1,
2914
+ .activeText2,
2915
+ .activeText3 {
2916
+ fill: ${i.taskTextDarkColor} !important;
2917
+ }
2918
+
2919
+
2920
+ /* Completed task */
2921
+
2922
+ .done0,
2923
+ .done1,
2924
+ .done2,
2925
+ .done3 {
2926
+ stroke: ${i.doneTaskBorderColor};
2927
+ fill: ${i.doneTaskBkgColor};
2928
+ stroke-width: 2;
2929
+ }
2930
+
2931
+ .doneText0,
2932
+ .doneText1,
2933
+ .doneText2,
2934
+ .doneText3 {
2935
+ fill: ${i.taskTextDarkColor} !important;
2936
+ }
2937
+
2938
+
2939
+ /* Tasks on the critical line */
2940
+
2941
+ .crit0,
2942
+ .crit1,
2943
+ .crit2,
2944
+ .crit3 {
2945
+ stroke: ${i.critBorderColor};
2946
+ fill: ${i.critBkgColor};
2947
+ stroke-width: 2;
2948
+ }
2949
+
2950
+ .activeCrit0,
2951
+ .activeCrit1,
2952
+ .activeCrit2,
2953
+ .activeCrit3 {
2954
+ stroke: ${i.critBorderColor};
2955
+ fill: ${i.activeTaskBkgColor};
2956
+ stroke-width: 2;
2957
+ }
2958
+
2959
+ .doneCrit0,
2960
+ .doneCrit1,
2961
+ .doneCrit2,
2962
+ .doneCrit3 {
2963
+ stroke: ${i.critBorderColor};
2964
+ fill: ${i.doneTaskBkgColor};
2965
+ stroke-width: 2;
2966
+ cursor: pointer;
2967
+ shape-rendering: crispEdges;
2968
+ }
2969
+
2970
+ .milestone {
2971
+ transform: rotate(45deg) scale(0.8,0.8);
2972
+ }
2973
+
2974
+ .milestoneText {
2975
+ font-style: italic;
2976
+ }
2977
+ .doneCritText0,
2978
+ .doneCritText1,
2979
+ .doneCritText2,
2980
+ .doneCritText3 {
2981
+ fill: ${i.taskTextDarkColor} !important;
2982
+ }
2983
+
2984
+ .vert {
2985
+ stroke: ${i.vertLineColor};
2986
+ }
2987
+
2988
+ .vertText {
2989
+ font-size: 15px;
2990
+ text-anchor: middle;
2991
+ fill: ${i.vertLineColor} !important;
2992
+ }
2993
+
2994
+ .activeCritText0,
2995
+ .activeCritText1,
2996
+ .activeCritText2,
2997
+ .activeCritText3 {
2998
+ fill: ${i.taskTextDarkColor} !important;
2999
+ }
3000
+
3001
+ .titleText {
3002
+ text-anchor: middle;
3003
+ font-size: 18px;
3004
+ fill: ${i.titleColor || i.textColor};
3005
+ font-family: ${i.fontFamily};
3006
+ }
3007
+ `, "getStyles")
3008
+ };
3009
+ export { diagram };