@elmethis/core 1.0.0-alpha.14 → 1.0.0-alpha.140

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 (439) hide show
  1. package/dist/{Bash-Cd5wtNan.js → Bash-AnB1C5rB.js} +19 -15
  2. package/dist/Css-B8ydTxz6.js +18 -0
  3. package/dist/ElmShikiHighlighter-BjszRo5d.js +7469 -0
  4. package/dist/{Rust-Beyp-qeb.js → Rust-D6u5pnz9.js} +3 -3
  5. package/dist/_basePickBy-Dna5Lu4R.js +152 -0
  6. package/dist/_baseUniq-DoD3ppoF.js +583 -0
  7. package/dist/abap-BmBUA35e.js +6 -0
  8. package/dist/actionscript-3-Duslr-Xk.js +6 -0
  9. package/dist/ada-CBvPkFpZ.js +6 -0
  10. package/dist/andromeeda-uXNdzNpk.js +4 -0
  11. package/dist/angular-html-BykNicnS.js +32 -0
  12. package/dist/angular-ts-BHpD0guW.js +21 -0
  13. package/dist/apache-CVNlsSDc.js +6 -0
  14. package/dist/apex-DFk3KRB1.js +6 -0
  15. package/dist/apl-iiNHpPRe.js +16 -0
  16. package/dist/applescript-D0lq2uyG.js +6 -0
  17. package/dist/ara-BxwG6H0R.js +6 -0
  18. package/dist/arc-Sg2hIErX.js +83 -0
  19. package/dist/architecture-I3QFYML2-Cr3eE8TC.js +5 -0
  20. package/dist/architectureDiagram-UYN6MBPD-DML6M8Xe.js +4594 -0
  21. package/dist/asciidoc-DfqmH17V.js +6 -0
  22. package/dist/asm-RC0Yh-NZ.js +6 -0
  23. package/dist/astro-jjdX1_o0.js +16 -0
  24. package/dist/aurora-x-BwoVEUWZ.js +4 -0
  25. package/dist/awk-gPH8MVMW.js +6 -0
  26. package/dist/ayu-dark-CxPZkpb2.js +4 -0
  27. package/dist/ballerina-kvLnRU_e.js +6 -0
  28. package/dist/bat-BHYy44sT.js +6 -0
  29. package/dist/beancount-CRuI-qxP.js +6 -0
  30. package/dist/berry-Ci9U0o4h.js +6 -0
  31. package/dist/bibtex-CX618D15.js +6 -0
  32. package/dist/bicep-iuYiPopT.js +6 -0
  33. package/dist/blade-C-EMBGSs.js +18 -0
  34. package/dist/blockDiagram-ZHA2E4KO-DUTZa5UU.js +2247 -0
  35. package/dist/bsl-CXtfttnD.js +8 -0
  36. package/dist/c-DASdrs7p.js +6 -0
  37. package/dist/c4Diagram-6F5ED5ID-Nk3OUrzy.js +1581 -0
  38. package/dist/cadence-BwtsKTvx.js +6 -0
  39. package/dist/cairo-BWa6TLMq.js +8 -0
  40. package/dist/catppuccin-frappe-BrTOiad2.js +4 -0
  41. package/dist/catppuccin-latte-D-dc_R4m.js +4 -0
  42. package/dist/catppuccin-macchiato-DN4jOp0G.js +4 -0
  43. package/dist/catppuccin-mocha-B8yCE3-3.js +4 -0
  44. package/dist/channel-BXMaWN8j.js +5 -0
  45. package/dist/chunk-5HRBRIJM-O7fddiBY.js +24 -0
  46. package/dist/chunk-7U56Z5CX-DOy_XlUF.js +1215 -0
  47. package/dist/chunk-ASOPGD6M-CRHrFIjk.js +64 -0
  48. package/dist/chunk-KFBOBJHC-kjD7HAK_.js +15 -0
  49. package/dist/chunk-T2TOU4HS-DAV9o7jd.js +1303 -0
  50. package/dist/chunk-TMUBEWPD-Ch3JZI2O.js +9 -0
  51. package/dist/clarity-9Cadad6s.js +6 -0
  52. package/dist/classDiagram-LNE6IOMH-BXuvXlWw.js +14 -0
  53. package/dist/classDiagram-v2-MQ7JQ4JX-BXuvXlWw.js +14 -0
  54. package/dist/clojure-CsKKFGwv.js +6 -0
  55. package/dist/clone-C-OzJ6u8.js +8 -0
  56. package/dist/cmake-Ba0CZDb1.js +6 -0
  57. package/dist/cobol-CAatoUdx.js +10 -0
  58. package/dist/codeowners-Bt9yU6NX.js +6 -0
  59. package/dist/codeql-Ce2eNlR6.js +6 -0
  60. package/dist/coffee-D_GzM8k1.js +8 -0
  61. package/dist/common-lisp-r7ZEOG7T.js +6 -0
  62. package/dist/components/{inline/ElmInlineCode.stories.d.ts → badge/ElmBadge.stories.d.ts} +2 -2
  63. package/dist/components/badge/ElmBadge.vue.d.ts +21 -0
  64. package/dist/components/badge/ElmTag.stories.d.ts +7 -0
  65. package/dist/components/badge/ElmTag.vue.d.ts +14 -0
  66. package/dist/components/code/ElmCodeBlock.vue.d.ts +8 -1
  67. package/dist/components/code/ElmKatex.vue.d.ts +3 -1
  68. package/dist/components/code/ElmMermaid.stories.d.ts +7 -0
  69. package/dist/components/code/ElmMermaid.vue.d.ts +8 -0
  70. package/dist/components/code/{ElmPrismHighlighter.stories.d.ts → ElmShikiHighlighter.stories.d.ts} +2 -3
  71. package/dist/components/code/{ElmPrismHighlighter.vue.d.ts → ElmShikiHighlighter.vue.d.ts} +3 -3
  72. package/dist/components/containments/ElmColumn.vue.d.ts +3 -2
  73. package/dist/components/containments/ElmColumnList.vue.d.ts +3 -2
  74. package/dist/components/containments/ElmDesktopWindow.stories.d.ts +6 -0
  75. package/dist/components/containments/ElmDesktopWindow.vue.d.ts +27 -0
  76. package/dist/components/containments/ElmModal.stories.d.ts +6 -0
  77. package/dist/components/containments/ElmModal.vue.d.ts +35 -0
  78. package/dist/components/containments/ElmSnackbar.stories.d.ts +6 -0
  79. package/dist/components/containments/ElmSnackbar.vue.d.ts +11 -0
  80. package/dist/components/containments/ElmSnackbarContainer.vue.d.ts +10 -0
  81. package/dist/components/containments/ElmToggle.stories.d.ts +1 -0
  82. package/dist/components/containments/ElmToggle.vue.d.ts +13 -6
  83. package/dist/components/containments/ElmTooltip.vue.d.ts +5 -2
  84. package/dist/components/containments/useSnackbarState.d.ts +28 -0
  85. package/dist/components/data/ElmMultiProgress.stories.d.ts +6 -0
  86. package/dist/components/data/ElmMultiProgress.vue.d.ts +30 -0
  87. package/dist/components/data/ElmProgress.stories.d.ts +1 -0
  88. package/dist/components/data/ElmProgress.vue.d.ts +6 -1
  89. package/dist/components/data/ElmStatusMessage.stories.d.ts +9 -0
  90. package/dist/components/data/ElmStatusMessage.vue.d.ts +6 -0
  91. package/dist/components/fallback/ElmBlockFallback.stories.d.ts +6 -0
  92. package/dist/components/fallback/ElmBlockFallback.vue.d.ts +4 -0
  93. package/dist/components/fallback/ElmRectangleWave.vue.d.ts +1 -1
  94. package/dist/components/fallback/ElmSpinner.stories.d.ts +6 -0
  95. package/dist/components/fallback/ElmSpinner.vue.d.ts +9 -0
  96. package/dist/components/form/ElmButton.stories.d.ts +11 -0
  97. package/dist/components/form/ElmButton.vue.d.ts +41 -0
  98. package/dist/components/form/ElmCheckbox.vue.d.ts +16 -6
  99. package/dist/components/form/ElmSwitch.stories.d.ts +6 -0
  100. package/dist/components/form/ElmSwitch.vue.d.ts +32 -0
  101. package/dist/components/form/ElmTextField.stories.d.ts +6 -0
  102. package/dist/components/form/ElmTextField.vue.d.ts +30 -0
  103. package/dist/components/form/ElmTotp.stories.d.ts +6 -0
  104. package/dist/components/form/ElmTotp.vue.d.ts +12 -0
  105. package/dist/components/headings/ElmFragmentIdentifier.stories.d.ts +6 -0
  106. package/dist/components/headings/ElmFragmentIdentifier.vue.d.ts +8 -0
  107. package/dist/components/headings/ElmHeading1.vue.d.ts +3 -1
  108. package/dist/components/headings/ElmHeading2.vue.d.ts +3 -1
  109. package/dist/components/headings/ElmHeading3.vue.d.ts +3 -1
  110. package/dist/components/icon/ElmArrowIcon.stories.d.ts +6 -0
  111. package/dist/components/icon/ElmArrowIcon.vue.d.ts +26 -0
  112. package/dist/components/icon/ElmBookmarkIcon.stories.d.ts +8 -0
  113. package/dist/components/icon/ElmBookmarkIcon.vue.d.ts +7 -0
  114. package/dist/components/icon/ElmCubeIcon.vue.d.ts +1 -1
  115. package/dist/components/icon/ElmDotLoadingIcon.vue.d.ts +2 -2
  116. package/dist/components/icon/ElmLanguageIcon.vue.d.ts +1 -1
  117. package/dist/components/icon/ElmLoginIcon.stories.d.ts +6 -0
  118. package/dist/components/icon/ElmLoginIcon.vue.d.ts +18 -0
  119. package/dist/components/icon/languages/Bash.vue.d.ts +1 -1
  120. package/dist/components/icon/languages/{JavaScript.vue.d.ts → Css.vue.d.ts} +1 -1
  121. package/dist/components/icon/languages/Rust.vue.d.ts +1 -1
  122. package/dist/components/inline/ElmInlineLink.vue.d.ts +1 -1
  123. package/dist/components/inline/ElmInlineRuby.vue.d.ts +1 -1
  124. package/dist/components/inline/ElmInlineText.stories.d.ts +1 -0
  125. package/dist/components/inline/ElmInlineText.vue.d.ts +10 -1
  126. package/dist/components/inline/ElmTypingAnimation.stories.d.ts +6 -0
  127. package/dist/components/inline/ElmTypingAnimation.vue.d.ts +21 -0
  128. package/dist/components/jsonschema/ElmChildContainer.stories.d.ts +6 -0
  129. package/dist/components/jsonschema/ElmChildContainer.vue.d.ts +21 -0
  130. package/dist/components/jsonschema/ElmFieldAttribute.stories.d.ts +6 -0
  131. package/dist/components/jsonschema/ElmFieldAttribute.vue.d.ts +7 -0
  132. package/dist/components/jsonschema/ElmFieldType.stories.d.ts +7 -0
  133. package/dist/components/jsonschema/ElmFieldType.vue.d.ts +8 -0
  134. package/dist/components/jsonschema/ElmJsonSchema.stories.d.ts +7 -0
  135. package/dist/components/jsonschema/ElmJsonSchema.vue.d.ts +7 -0
  136. package/dist/components/media/ElmFile.vue.d.ts +6 -1
  137. package/dist/components/media/ElmImage.stories.d.ts +1 -0
  138. package/dist/components/media/ElmImage.vue.d.ts +5 -0
  139. package/dist/components/navigation/ElmBookmark.stories.d.ts +2 -0
  140. package/dist/components/navigation/ElmBookmark.vue.d.ts +13 -9
  141. package/dist/components/navigation/ElmBreadcrumb.vue.d.ts +3 -1
  142. package/dist/components/navigation/ElmPagetop.vue.d.ts +1 -1
  143. package/dist/components/navigation/ElmTableOfContents.vue.d.ts +1 -1
  144. package/dist/components/others/ElmColorSample.stories.d.ts +6 -0
  145. package/dist/components/others/ElmColorSample.vue.d.ts +8 -0
  146. package/dist/components/others/ElmColorTable.stories.d.ts +6 -0
  147. package/dist/components/others/ElmColorTable.vue.d.ts +11 -0
  148. package/dist/components/others/ElmTemplate.stories.d.ts +6 -0
  149. package/dist/components/others/ElmTyping.vue.d.ts +4 -0
  150. package/dist/components/renderer/ElmJsonRenderer.vue.d.ts +3 -8
  151. package/dist/components/renderer/ElmJsonRendererAsync.vue.d.ts +3 -0
  152. package/dist/components/table/ElmTable.vue.d.ts +8 -2
  153. package/dist/components/table/ElmTableBody.vue.d.ts +3 -2
  154. package/dist/components/table/ElmTableCell.vue.d.ts +2 -1
  155. package/dist/components/table/ElmTableHeader.vue.d.ts +3 -2
  156. package/dist/components/table/ElmTableRow.vue.d.ts +3 -2
  157. package/dist/components/template/ElmTemplate.vue.d.ts +1 -1
  158. package/dist/components/typography/ElmBlockQuote.vue.d.ts +5 -2
  159. package/dist/components/typography/ElmBulletedList.vue.d.ts +5 -2
  160. package/dist/components/typography/ElmCallout.vue.d.ts +5 -2
  161. package/dist/components/typography/ElmDivider.vue.d.ts +8 -1
  162. package/dist/components/typography/ElmListItem.vue.d.ts +3 -2
  163. package/dist/components/typography/ElmNumberedList.vue.d.ts +5 -2
  164. package/dist/components/typography/ElmParagraph.vue.d.ts +5 -2
  165. package/dist/coq-D7gLDqnE.js +6 -0
  166. package/dist/cpp-DgBvEX06.js +18 -0
  167. package/dist/crystal-Irrx0Pa-.js +18 -0
  168. package/dist/csharp-DP0xB1m9.js +6 -0
  169. package/dist/css-D1aVdRIU.js +6 -0
  170. package/dist/csv-DvCncUGQ.js +6 -0
  171. package/dist/cue-BXMrmvay.js +6 -0
  172. package/dist/cypher-Bjq2-Qil.js +6 -0
  173. package/dist/cytoscape.esm-D7d-JUdX.js +17637 -0
  174. package/dist/d-D6ZXmn3l.js +6 -0
  175. package/dist/dagre-4EVJKHTY-BYRN9jou.js +447 -0
  176. package/dist/dark-plus-pUHDTVV0.js +4 -0
  177. package/dist/dart-Dz59Is3F.js +6 -0
  178. package/dist/dax-BQnxIpeJ.js +6 -0
  179. package/dist/desktop-Db9vb-dl.js +6 -0
  180. package/dist/diagram-QW4FP2JN-Bs-8drax.js +126 -0
  181. package/dist/diff-CXJVWqiZ.js +6 -0
  182. package/dist/docker-CsHqm9tx.js +6 -0
  183. package/dist/dotenv-CpZf7hu_.js +6 -0
  184. package/dist/dracula-BtZx2Kac.js +4 -0
  185. package/dist/dracula-soft-BKa-aqBv.js +4 -0
  186. package/dist/dream-maker-B0kijSoP.js +6 -0
  187. package/dist/edge-DUKxyBaA.js +12 -0
  188. package/dist/elixir-DciEEYXV.js +8 -0
  189. package/dist/elm-C-_4e5ZU.js +8 -0
  190. package/dist/elmethis.js +68 -44
  191. package/dist/elmethis.umd.cjs +2424 -191
  192. package/dist/emacs-lisp-BAefI874.js +6 -0
  193. package/dist/erDiagram-6RL3IURR-ribDrswX.js +937 -0
  194. package/dist/erb-qWJ2Sxju.js +10 -0
  195. package/dist/erlang-zeJgoGSf.js +6 -0
  196. package/dist/everforest-dark-DMCBqXCK.js +4 -0
  197. package/dist/everforest-light-BbXl82Em.js +4 -0
  198. package/dist/fennel-DNqkz9pE.js +6 -0
  199. package/dist/fish-CgmTWKa-.js +6 -0
  200. package/dist/flowDiagram-7ASYPVHJ-CuBgt9gS.js +1484 -0
  201. package/dist/fluent-BapTxJsC.js +6 -0
  202. package/dist/fortran-fixed-form-BJHD-IIW.js +8 -0
  203. package/dist/fortran-free-form-DIGrsU3L.js +6 -0
  204. package/dist/fsharp-C9ST_v27.js +8 -0
  205. package/dist/ganttDiagram-NTVNEXSI-DBJrsNdL.js +2493 -0
  206. package/dist/gdresource-BDmP_ODe.js +10 -0
  207. package/dist/gdscript-C_KI5dtV.js +6 -0
  208. package/dist/gdshader-BGJEsM2Z.js +6 -0
  209. package/dist/genie-C9gPjc6J.js +6 -0
  210. package/dist/gherkin-bka1Exbx.js +6 -0
  211. package/dist/git-commit-CpnaV1vS.js +8 -0
  212. package/dist/git-rebase-i91KcDkj.js +8 -0
  213. package/dist/gitGraph-YCYPL57B-Dxn-b765.js +5 -0
  214. package/dist/gitGraphDiagram-NRZ2UAAF-CLVLlkG2.js +712 -0
  215. package/dist/github-dark-DenFmJkN.js +4 -0
  216. package/dist/github-dark-default-BJPUVz4H.js +4 -0
  217. package/dist/github-dark-dimmed-DUshB20C.js +4 -0
  218. package/dist/github-dark-high-contrast-D3aGCnF8.js +4 -0
  219. package/dist/github-light-JYsPkUQd.js +4 -0
  220. package/dist/github-light-default-D99KPAby.js +4 -0
  221. package/dist/github-light-high-contrast-BbmZE-Mp.js +4 -0
  222. package/dist/gleam-B4k9YFGD.js +6 -0
  223. package/dist/glimmer-js-Cy-seTWt.js +14 -0
  224. package/dist/glimmer-ts-BqS9vK74.js +14 -0
  225. package/dist/glsl-XLGYNq5B.js +8 -0
  226. package/dist/gnuplot-DnWoRZt-.js +6 -0
  227. package/dist/go-BE_MH2_f.js +6 -0
  228. package/dist/graph-Bez2_NoA.js +247 -0
  229. package/dist/graphql-DfqJ60AB.js +14 -0
  230. package/dist/groovy-CyKtXwrG.js +6 -0
  231. package/dist/hack-BcPvMs07.js +10 -0
  232. package/dist/haml-kgLjPoQR.js +10 -0
  233. package/dist/handlebars-CxEEvn8q.js +14 -0
  234. package/dist/haskell-DA6E-9ES.js +6 -0
  235. package/dist/haxe-CZZ33vZw.js +6 -0
  236. package/dist/hcl-BmHk-gID.js +6 -0
  237. package/dist/hjson-CgwED-oz.js +6 -0
  238. package/dist/hlsl-3-lv4gi7.js +6 -0
  239. package/dist/hooks/useElmethisTheme.d.ts +4 -0
  240. package/dist/hooks/useTyping.d.ts +17 -0
  241. package/dist/houston-BDYrDoDW.js +4 -0
  242. package/dist/html-CAwPY-4s.js +10 -0
  243. package/dist/html-derivative-CgU1HeVZ.js +8 -0
  244. package/dist/http-CtmMjKg2.js +14 -0
  245. package/dist/hxml-BNKImryz.js +8 -0
  246. package/dist/hy-C2xHhR6I.js +6 -0
  247. package/dist/imba-Drd0AMDo.js +8 -0
  248. package/dist/{index-DO0Qe0Kt.js → index-D1xdlTqU.js} +17156 -15920
  249. package/dist/index.d.ts +28 -4
  250. package/dist/info-46DW6VJ7-De-85lhs.js +5 -0
  251. package/dist/infoDiagram-A4XQUW5V-BPrPq9DF.js +22 -0
  252. package/dist/ini-BUcvsX-U.js +6 -0
  253. package/dist/init-DjUOC4st.js +16 -0
  254. package/dist/java-B7odJ7Ap.js +6 -0
  255. package/dist/javascript-fa8UlHZE.js +6 -0
  256. package/dist/jinja-BPjRosMt.js +11 -0
  257. package/dist/jison-BygvlveW.js +8 -0
  258. package/dist/journeyDiagram-G5WM74LC-CnI5BKTx.js +810 -0
  259. package/dist/json-Cz3rcMTA.js +6 -0
  260. package/dist/json5-uIDDV5qu.js +6 -0
  261. package/dist/jsonc-i-WRxL89.js +6 -0
  262. package/dist/jsonl-B0wQGTiP.js +6 -0
  263. package/dist/jsonnet-DEQ7IUoJ.js +6 -0
  264. package/dist/jssm-IG12tW_e.js +6 -0
  265. package/dist/jsx-Bkesy5tT.js +6 -0
  266. package/dist/julia-CRcgK_Of.js +16 -0
  267. package/dist/kanagawa-dragon-CiKur4Hl.js +4 -0
  268. package/dist/kanagawa-lotus-BKu-smKu.js +4 -0
  269. package/dist/kanagawa-wave-CQwozSzG.js +4 -0
  270. package/dist/kanban-definition-QRCXZQQD-DrR4vU6r.js +718 -0
  271. package/dist/kotlin-DCgZY7Ii.js +6 -0
  272. package/dist/kusto-BrNSo3rV.js +6 -0
  273. package/dist/laserwave-6a00oqik.js +4 -0
  274. package/dist/latex-D-TusJJP.js +8 -0
  275. package/dist/layout-COyBDkVe.js +1325 -0
  276. package/dist/lean-CYSet4vs.js +6 -0
  277. package/dist/less-BPRpblJr.js +6 -0
  278. package/dist/light-plus-CZuVqSLX.js +4 -0
  279. package/dist/linear-vUygCKAW.js +423 -0
  280. package/dist/liquid-B7RQOxbw.js +14 -0
  281. package/dist/log-D2eRfqDn.js +6 -0
  282. package/dist/logo-QEAtGWZ9.js +6 -0
  283. package/dist/lua-BVfhNLDr.js +8 -0
  284. package/dist/luau-BjYGiqID.js +6 -0
  285. package/dist/make-BjuHP00g.js +6 -0
  286. package/dist/markdown-B7jjCkMW.js +6 -0
  287. package/dist/marko-vyeifSx8.js +14 -0
  288. package/dist/material-theme-D6KBX41T.js +4 -0
  289. package/dist/material-theme-darker-CkRroheE.js +4 -0
  290. package/dist/material-theme-lighter-BUBw43Yz.js +4 -0
  291. package/dist/material-theme-ocean-ClGX14Ja.js +4 -0
  292. package/dist/material-theme-palenight-C1RVm8K1.js +4 -0
  293. package/dist/matlab-Co0cm4Uj.js +6 -0
  294. package/dist/mdc-AwGfuot8.js +12 -0
  295. package/dist/mdx-DIoECIFU.js +6 -0
  296. package/dist/mermaid-B8Znk7YO.js +6 -0
  297. package/dist/mermaid-parser.core-o6MVuPct.js +12479 -0
  298. package/dist/mermaid.core-CrPCZGbK.js +14844 -0
  299. package/dist/min-dark-C7ak0t6c.js +4 -0
  300. package/dist/min-light-CKFxVcPp.js +4 -0
  301. package/dist/mindmap-definition-GWI6TPTV-DC9-zuJZ.js +3219 -0
  302. package/dist/mipsasm-Dn465ziZ.js +6 -0
  303. package/dist/mojo-DPiIJnW3.js +6 -0
  304. package/dist/monokai-C1KBYcO0.js +4 -0
  305. package/dist/move-D0U3hAMk.js +6 -0
  306. package/dist/narrat-Dz4d7OmN.js +6 -0
  307. package/dist/nextflow-DW0Yq9a2.js +6 -0
  308. package/dist/nginx-Can2eAjw.js +8 -0
  309. package/dist/night-owl-Bm2rzalh.js +4 -0
  310. package/dist/nim-B1j3Kg94.js +20 -0
  311. package/dist/nix-DUbL-Ieg.js +6 -0
  312. package/dist/nord-CC5OiUXg.js +4 -0
  313. package/dist/nushell-DX7mjnU-.js +6 -0
  314. package/dist/objective-c-BVVh5_wH.js +6 -0
  315. package/dist/objective-cpp-B7rOm0GT.js +6 -0
  316. package/dist/ocaml-BZLsfx_o.js +6 -0
  317. package/dist/one-dark-pro-DTA3VF0_.js +4 -0
  318. package/dist/one-light-D9sNaUtq.js +4 -0
  319. package/dist/ordinal-DfAQgscy.js +61 -0
  320. package/dist/packet-W2GHVCYJ-BaD_yypn.js +5 -0
  321. package/dist/pascal-l2bqd7Dz.js +6 -0
  322. package/dist/perl-B6oy4kD0.js +16 -0
  323. package/dist/php-DGP0mMYG.js +18 -0
  324. package/dist/pie-BEWT4RHE-OeInp-RN.js +5 -0
  325. package/dist/pieDiagram-YF2LJOPJ-DviPVNka.js +161 -0
  326. package/dist/plastic-CSTz3KZp.js +4 -0
  327. package/dist/plsql-oVq_K_wH.js +6 -0
  328. package/dist/po-C82DhkWG.js +6 -0
  329. package/dist/poimandres-C-VADXHD.js +4 -0
  330. package/dist/polar-Ld-I0zJ7.js +6 -0
  331. package/dist/postcss-BZ3MNRIJ.js +6 -0
  332. package/dist/powerquery-CgRa2XRw.js +6 -0
  333. package/dist/powershell-CJR6U-QA.js +6 -0
  334. package/dist/prisma-COL_v1x4.js +6 -0
  335. package/dist/prolog-CuvJOxqT.js +6 -0
  336. package/dist/proto-o9HLmF90.js +6 -0
  337. package/dist/pug-CBXnJ8g8.js +12 -0
  338. package/dist/puppet-BYzxAd8_.js +6 -0
  339. package/dist/purescript-B_1NgE2N.js +6 -0
  340. package/dist/python-DsQISJFZ.js +6 -0
  341. package/dist/qml-FlMIyjU9.js +8 -0
  342. package/dist/qmldir-BInDYbpo.js +6 -0
  343. package/dist/qss-D-h4NdUG.js +6 -0
  344. package/dist/quadrantDiagram-OS5C2QUG-ZXGTzIMD.js +1024 -0
  345. package/dist/r-F-9I-ITZ.js +6 -0
  346. package/dist/racket-BoD1TBFT.js +6 -0
  347. package/dist/raku-IaYcw19m.js +6 -0
  348. package/dist/razor-Bje1i-BN.js +10 -0
  349. package/dist/red-7y8PH7HH.js +4 -0
  350. package/dist/reg-CMUdAgIP.js +6 -0
  351. package/dist/regexp-CXbjUNFD.js +6 -0
  352. package/dist/rel-BaRn3QX7.js +6 -0
  353. package/dist/requirementDiagram-MIRIMTAZ-BBQg3ZoA.js +768 -0
  354. package/dist/riscv-D275NyXt.js +6 -0
  355. package/dist/rose-pine-DhT-HZE9.js +4 -0
  356. package/dist/rose-pine-dawn-DiCjL2i4.js +4 -0
  357. package/dist/rose-pine-moon-BNmGHlcn.js +4 -0
  358. package/dist/rst-B-Yhj7ct.js +22 -0
  359. package/dist/ruby-DTuHl1fB.js +30 -0
  360. package/dist/rust-Cii5SJWu.js +6 -0
  361. package/dist/sankeyDiagram-Y46BX6SQ-kRxFmf2d.js +805 -0
  362. package/dist/sas-E6uq4Yf6.js +8 -0
  363. package/dist/sass-eCUyDs9S.js +6 -0
  364. package/dist/scala-BoCxXFyN.js +6 -0
  365. package/dist/scheme-CJeyKjnR.js +6 -0
  366. package/dist/scss-DhHc4lxB.js +8 -0
  367. package/dist/sdbl-bnfMePEG.js +6 -0
  368. package/dist/sequenceDiagram-G6AWOVSC-J-adtWLC.js +2274 -0
  369. package/dist/shaderlab-CvqEIoL0.js +8 -0
  370. package/dist/shellscript-DXPd9Pjm.js +6 -0
  371. package/dist/shellsession-BM4Gi9UW.js +8 -0
  372. package/dist/slack-dark-i7wN4OET.js +4 -0
  373. package/dist/slack-ochin-ndHf0LoP.js +4 -0
  374. package/dist/smalltalk-C-SeEPAs.js +6 -0
  375. package/dist/snazzy-light-BlSJXAu4.js +4 -0
  376. package/dist/solarized-dark-UTmkh7lw.js +4 -0
  377. package/dist/solarized-light-BheCkDPT.js +4 -0
  378. package/dist/solidity-BG_k8fA_.js +6 -0
  379. package/dist/soy-yvpdUHGC.js +8 -0
  380. package/dist/sparql-DhuelBut.js +8 -0
  381. package/dist/splunk-5AdRU-op.js +6 -0
  382. package/dist/sql-CE1s-LNJ.js +6 -0
  383. package/dist/ssh-config-DHHGll-v.js +6 -0
  384. package/dist/stata-XG8GBm9b.js +8 -0
  385. package/dist/stateDiagram-MAYHULR4-CnqR21Ky.js +268 -0
  386. package/dist/stateDiagram-v2-4JROLMXI-BXZl6QHK.js +14 -0
  387. package/dist/stylus-Bx_GeJsi.js +6 -0
  388. package/dist/svelte-01qw6Rxm.js +14 -0
  389. package/dist/swift-BAWqNR8A.js +6 -0
  390. package/dist/synthwave-84-NU3C_KFZ.js +4 -0
  391. package/dist/system-verilog-Cui-g-ut.js +6 -0
  392. package/dist/systemd-CsKYQIQK.js +6 -0
  393. package/dist/talonscript-D2dGh8FO.js +6 -0
  394. package/dist/tasl-D3W8HMV6.js +6 -0
  395. package/dist/tcl-DBFP4l7q.js +6 -0
  396. package/dist/templ-CkuR9rNI.js +12 -0
  397. package/dist/terraform-CBat0YKl.js +6 -0
  398. package/dist/tex-mHs7a43s.js +8 -0
  399. package/dist/timeline-definition-U7ZMHBDA-DmgHfw1m.js +804 -0
  400. package/dist/tokyo-night-DP4TmcQl.js +4 -0
  401. package/dist/toml-4juXvPlK.js +6 -0
  402. package/dist/ts-tags-DA8sBOJH.js +41 -0
  403. package/dist/tsv-BtvSkaG0.js +6 -0
  404. package/dist/tsx-DiGsgWT8.js +6 -0
  405. package/dist/turtle-BJ2wmjPc.js +6 -0
  406. package/dist/twig-5rMZH5nB.js +18 -0
  407. package/dist/typescript-buWNZFwO.js +6 -0
  408. package/dist/typespec-bLbdsxJL.js +6 -0
  409. package/dist/typst-YfWVUfOB.js +6 -0
  410. package/dist/v-wa8Orrdd.js +6 -0
  411. package/dist/vala-DRdriFr_.js +6 -0
  412. package/dist/vb-E2_-jk4M.js +6 -0
  413. package/dist/verilog-B1iBoR5_.js +6 -0
  414. package/dist/vesper-CJsaOsSM.js +4 -0
  415. package/dist/vhdl-CRVaAhXk.js +6 -0
  416. package/dist/viml-B-zWOd7Z.js +6 -0
  417. package/dist/vitesse-black-BoGvW84i.js +4 -0
  418. package/dist/vitesse-dark-Cym-eLtO.js +4 -0
  419. package/dist/vitesse-light-CcmG315c.js +4 -0
  420. package/dist/vue-V5-KOnq6.js +31 -0
  421. package/dist/vue-html-B8gQHLrf.js +10 -0
  422. package/dist/vyper-7y1ADzZr.js +6 -0
  423. package/dist/wasm-BWqHbxc2.js +6 -0
  424. package/dist/wasm-DQxwEHae.js +7 -0
  425. package/dist/wenyan-BMYnfus1.js +6 -0
  426. package/dist/wgsl-Cg1wrNXn.js +6 -0
  427. package/dist/wikitext-CntM04PE.js +6 -0
  428. package/dist/wolfram-Ws5qPlX9.js +6 -0
  429. package/dist/xml-ChBsf5uy.js +8 -0
  430. package/dist/xsl-BefjlXrd.js +8 -0
  431. package/dist/xychartDiagram-6QU3TZC5-BTmney6_.js +1304 -0
  432. package/dist/yaml-Bbg74JKr.js +6 -0
  433. package/dist/zenscript-C7IWVCmN.js +6 -0
  434. package/dist/zig-ppDBI4fs.js +6 -0
  435. package/package.json +35 -23
  436. package/dist/JavaScript-CPGj6jvI.js +0 -22
  437. package/dist/TypeScript-Dk8QmsMS.js +0 -22
  438. package/dist/components/icon/languages/TypeScript.vue.d.ts +0 -2
  439. package/dist/components/inline/ElmInlineCode.vue.d.ts +0 -15
@@ -0,0 +1,804 @@
1
+ import { _ as s, c as xt, l as T, d as q, aa as kt, ab as _t, ac as bt, ad as vt, ae as wt, af as St, x as Et } from "./mermaid.core-CrPCZGbK.js";
2
+ import { d as nt } from "./arc-Sg2hIErX.js";
3
+ var X = function() {
4
+ var n = /* @__PURE__ */ s(function(f, i, a, d) {
5
+ for (a = a || {}, d = f.length; d--; a[f[d]] = i) ;
6
+ return a;
7
+ }, "o"), t = [6, 8, 10, 11, 12, 14, 16, 17, 20, 21], e = [1, 9], l = [1, 10], r = [1, 11], h = [1, 12], c = [1, 13], g = [1, 16], m = [1, 17], p = {
8
+ trace: /* @__PURE__ */ s(function() {
9
+ }, "trace"),
10
+ yy: {},
11
+ symbols_: { error: 2, start: 3, timeline: 4, document: 5, EOF: 6, line: 7, SPACE: 8, statement: 9, NEWLINE: 10, title: 11, acc_title: 12, acc_title_value: 13, acc_descr: 14, acc_descr_value: 15, acc_descr_multiline_value: 16, section: 17, period_statement: 18, event_statement: 19, period: 20, event: 21, $accept: 0, $end: 1 },
12
+ terminals_: { 2: "error", 4: "timeline", 6: "EOF", 8: "SPACE", 10: "NEWLINE", 11: "title", 12: "acc_title", 13: "acc_title_value", 14: "acc_descr", 15: "acc_descr_value", 16: "acc_descr_multiline_value", 17: "section", 20: "period", 21: "event" },
13
+ productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [9, 1], [9, 2], [9, 2], [9, 1], [9, 1], [9, 1], [9, 1], [18, 1], [19, 1]],
14
+ performAction: /* @__PURE__ */ s(function(i, a, d, u, y, o, S) {
15
+ var k = o.length - 1;
16
+ switch (y) {
17
+ case 1:
18
+ return o[k - 1];
19
+ case 2:
20
+ this.$ = [];
21
+ break;
22
+ case 3:
23
+ o[k - 1].push(o[k]), this.$ = o[k - 1];
24
+ break;
25
+ case 4:
26
+ case 5:
27
+ this.$ = o[k];
28
+ break;
29
+ case 6:
30
+ case 7:
31
+ this.$ = [];
32
+ break;
33
+ case 8:
34
+ u.getCommonDb().setDiagramTitle(o[k].substr(6)), this.$ = o[k].substr(6);
35
+ break;
36
+ case 9:
37
+ this.$ = o[k].trim(), u.getCommonDb().setAccTitle(this.$);
38
+ break;
39
+ case 10:
40
+ case 11:
41
+ this.$ = o[k].trim(), u.getCommonDb().setAccDescription(this.$);
42
+ break;
43
+ case 12:
44
+ u.addSection(o[k].substr(8)), this.$ = o[k].substr(8);
45
+ break;
46
+ case 15:
47
+ u.addTask(o[k], 0, ""), this.$ = o[k];
48
+ break;
49
+ case 16:
50
+ u.addEvent(o[k].substr(2)), this.$ = o[k];
51
+ break;
52
+ }
53
+ }, "anonymous"),
54
+ table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, n(t, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: e, 12: l, 14: r, 16: h, 17: c, 18: 14, 19: 15, 20: g, 21: m }, n(t, [2, 7], { 1: [2, 1] }), n(t, [2, 3]), { 9: 18, 11: e, 12: l, 14: r, 16: h, 17: c, 18: 14, 19: 15, 20: g, 21: m }, n(t, [2, 5]), n(t, [2, 6]), n(t, [2, 8]), { 13: [1, 19] }, { 15: [1, 20] }, n(t, [2, 11]), n(t, [2, 12]), n(t, [2, 13]), n(t, [2, 14]), n(t, [2, 15]), n(t, [2, 16]), n(t, [2, 4]), n(t, [2, 9]), n(t, [2, 10])],
55
+ defaultActions: {},
56
+ parseError: /* @__PURE__ */ s(function(i, a) {
57
+ if (a.recoverable)
58
+ this.trace(i);
59
+ else {
60
+ var d = new Error(i);
61
+ throw d.hash = a, d;
62
+ }
63
+ }, "parseError"),
64
+ parse: /* @__PURE__ */ s(function(i) {
65
+ var a = this, d = [0], u = [], y = [null], o = [], S = this.table, k = "", M = 0, P = 0, B = 2, J = 1, O = o.slice.call(arguments, 1), _ = Object.create(this.lexer), E = { yy: {} };
66
+ for (var v in this.yy)
67
+ Object.prototype.hasOwnProperty.call(this.yy, v) && (E.yy[v] = this.yy[v]);
68
+ _.setInput(i, E.yy), E.yy.lexer = _, E.yy.parser = this, typeof _.yylloc > "u" && (_.yylloc = {});
69
+ var L = _.yylloc;
70
+ o.push(L);
71
+ var A = _.options && _.options.ranges;
72
+ typeof E.yy.parseError == "function" ? this.parseError = E.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
73
+ function R(I) {
74
+ d.length = d.length - 2 * I, y.length = y.length - I, o.length = o.length - I;
75
+ }
76
+ s(R, "popStack");
77
+ function F() {
78
+ var I;
79
+ return I = u.pop() || _.lex() || J, typeof I != "number" && (I instanceof Array && (u = I, I = u.pop()), I = a.symbols_[I] || I), I;
80
+ }
81
+ s(F, "lex");
82
+ for (var w, C, N, K, z = {}, j, $, et, G; ; ) {
83
+ if (C = d[d.length - 1], this.defaultActions[C] ? N = this.defaultActions[C] : ((w === null || typeof w > "u") && (w = F()), N = S[C] && S[C][w]), typeof N > "u" || !N.length || !N[0]) {
84
+ var Q = "";
85
+ G = [];
86
+ for (j in S[C])
87
+ this.terminals_[j] && j > B && G.push("'" + this.terminals_[j] + "'");
88
+ _.showPosition ? Q = "Parse error on line " + (M + 1) + `:
89
+ ` + _.showPosition() + `
90
+ Expecting ` + G.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : Q = "Parse error on line " + (M + 1) + ": Unexpected " + (w == J ? "end of input" : "'" + (this.terminals_[w] || w) + "'"), this.parseError(Q, {
91
+ text: _.match,
92
+ token: this.terminals_[w] || w,
93
+ line: _.yylineno,
94
+ loc: L,
95
+ expected: G
96
+ });
97
+ }
98
+ if (N[0] instanceof Array && N.length > 1)
99
+ throw new Error("Parse Error: multiple actions possible at state: " + C + ", token: " + w);
100
+ switch (N[0]) {
101
+ case 1:
102
+ d.push(w), y.push(_.yytext), o.push(_.yylloc), d.push(N[1]), w = null, P = _.yyleng, k = _.yytext, M = _.yylineno, L = _.yylloc;
103
+ break;
104
+ case 2:
105
+ if ($ = this.productions_[N[1]][1], z.$ = y[y.length - $], z._$ = {
106
+ first_line: o[o.length - ($ || 1)].first_line,
107
+ last_line: o[o.length - 1].last_line,
108
+ first_column: o[o.length - ($ || 1)].first_column,
109
+ last_column: o[o.length - 1].last_column
110
+ }, A && (z._$.range = [
111
+ o[o.length - ($ || 1)].range[0],
112
+ o[o.length - 1].range[1]
113
+ ]), K = this.performAction.apply(z, [
114
+ k,
115
+ P,
116
+ M,
117
+ E.yy,
118
+ N[1],
119
+ y,
120
+ o
121
+ ].concat(O)), typeof K < "u")
122
+ return K;
123
+ $ && (d = d.slice(0, -1 * $ * 2), y = y.slice(0, -1 * $), o = o.slice(0, -1 * $)), d.push(this.productions_[N[1]][0]), y.push(z.$), o.push(z._$), et = S[d[d.length - 2]][d[d.length - 1]], d.push(et);
124
+ break;
125
+ case 3:
126
+ return !0;
127
+ }
128
+ }
129
+ return !0;
130
+ }, "parse")
131
+ }, x = /* @__PURE__ */ function() {
132
+ var f = {
133
+ EOF: 1,
134
+ parseError: /* @__PURE__ */ s(function(a, d) {
135
+ if (this.yy.parser)
136
+ this.yy.parser.parseError(a, d);
137
+ else
138
+ throw new Error(a);
139
+ }, "parseError"),
140
+ // resets the lexer, sets new input
141
+ setInput: /* @__PURE__ */ s(function(i, a) {
142
+ return this.yy = a || 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 = {
143
+ first_line: 1,
144
+ first_column: 0,
145
+ last_line: 1,
146
+ last_column: 0
147
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
148
+ }, "setInput"),
149
+ // consumes and returns one char from the input
150
+ input: /* @__PURE__ */ s(function() {
151
+ var i = this._input[0];
152
+ this.yytext += i, this.yyleng++, this.offset++, this.match += i, this.matched += i;
153
+ var a = i.match(/(?:\r\n?|\n).*/g);
154
+ return a ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), i;
155
+ }, "input"),
156
+ // unshifts one char (or a string) into the input
157
+ unput: /* @__PURE__ */ s(function(i) {
158
+ var a = i.length, d = i.split(/(?:\r\n?|\n)/g);
159
+ this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - a), this.offset -= a;
160
+ var u = this.match.split(/(?:\r\n?|\n)/g);
161
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), d.length - 1 && (this.yylineno -= d.length - 1);
162
+ var y = this.yylloc.range;
163
+ return this.yylloc = {
164
+ first_line: this.yylloc.first_line,
165
+ last_line: this.yylineno + 1,
166
+ first_column: this.yylloc.first_column,
167
+ last_column: d ? (d.length === u.length ? this.yylloc.first_column : 0) + u[u.length - d.length].length - d[0].length : this.yylloc.first_column - a
168
+ }, this.options.ranges && (this.yylloc.range = [y[0], y[0] + this.yyleng - a]), this.yyleng = this.yytext.length, this;
169
+ }, "unput"),
170
+ // When called from action, caches matched text and appends it on next action
171
+ more: /* @__PURE__ */ s(function() {
172
+ return this._more = !0, this;
173
+ }, "more"),
174
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
175
+ reject: /* @__PURE__ */ s(function() {
176
+ if (this.options.backtrack_lexer)
177
+ this._backtrack = !0;
178
+ else
179
+ 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).
180
+ ` + this.showPosition(), {
181
+ text: "",
182
+ token: null,
183
+ line: this.yylineno
184
+ });
185
+ return this;
186
+ }, "reject"),
187
+ // retain first n characters of the match
188
+ less: /* @__PURE__ */ s(function(i) {
189
+ this.unput(this.match.slice(i));
190
+ }, "less"),
191
+ // displays already matched input, i.e. for error messages
192
+ pastInput: /* @__PURE__ */ s(function() {
193
+ var i = this.matched.substr(0, this.matched.length - this.match.length);
194
+ return (i.length > 20 ? "..." : "") + i.substr(-20).replace(/\n/g, "");
195
+ }, "pastInput"),
196
+ // displays upcoming input, i.e. for error messages
197
+ upcomingInput: /* @__PURE__ */ s(function() {
198
+ var i = this.match;
199
+ return i.length < 20 && (i += this._input.substr(0, 20 - i.length)), (i.substr(0, 20) + (i.length > 20 ? "..." : "")).replace(/\n/g, "");
200
+ }, "upcomingInput"),
201
+ // displays the character position where the lexing error occurred, i.e. for error messages
202
+ showPosition: /* @__PURE__ */ s(function() {
203
+ var i = this.pastInput(), a = new Array(i.length + 1).join("-");
204
+ return i + this.upcomingInput() + `
205
+ ` + a + "^";
206
+ }, "showPosition"),
207
+ // test the lexed token: return FALSE when not a match, otherwise return token
208
+ test_match: /* @__PURE__ */ s(function(i, a) {
209
+ var d, u, y;
210
+ if (this.options.backtrack_lexer && (y = {
211
+ yylineno: this.yylineno,
212
+ yylloc: {
213
+ first_line: this.yylloc.first_line,
214
+ last_line: this.last_line,
215
+ first_column: this.yylloc.first_column,
216
+ last_column: this.yylloc.last_column
217
+ },
218
+ yytext: this.yytext,
219
+ match: this.match,
220
+ matches: this.matches,
221
+ matched: this.matched,
222
+ yyleng: this.yyleng,
223
+ offset: this.offset,
224
+ _more: this._more,
225
+ _input: this._input,
226
+ yy: this.yy,
227
+ conditionStack: this.conditionStack.slice(0),
228
+ done: this.done
229
+ }, this.options.ranges && (y.yylloc.range = this.yylloc.range.slice(0))), u = i[0].match(/(?:\r\n?|\n).*/g), u && (this.yylineno += u.length), this.yylloc = {
230
+ first_line: this.yylloc.last_line,
231
+ last_line: this.yylineno + 1,
232
+ first_column: this.yylloc.last_column,
233
+ last_column: u ? u[u.length - 1].length - u[u.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + i[0].length
234
+ }, 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], d = this.performAction.call(this, this.yy, this, a, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), d)
235
+ return d;
236
+ if (this._backtrack) {
237
+ for (var o in y)
238
+ this[o] = y[o];
239
+ return !1;
240
+ }
241
+ return !1;
242
+ }, "test_match"),
243
+ // return next match in input
244
+ next: /* @__PURE__ */ s(function() {
245
+ if (this.done)
246
+ return this.EOF;
247
+ this._input || (this.done = !0);
248
+ var i, a, d, u;
249
+ this._more || (this.yytext = "", this.match = "");
250
+ for (var y = this._currentRules(), o = 0; o < y.length; o++)
251
+ if (d = this._input.match(this.rules[y[o]]), d && (!a || d[0].length > a[0].length)) {
252
+ if (a = d, u = o, this.options.backtrack_lexer) {
253
+ if (i = this.test_match(d, y[o]), i !== !1)
254
+ return i;
255
+ if (this._backtrack) {
256
+ a = !1;
257
+ continue;
258
+ } else
259
+ return !1;
260
+ } else if (!this.options.flex)
261
+ break;
262
+ }
263
+ return a ? (i = this.test_match(a, y[u]), i !== !1 ? i : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
264
+ ` + this.showPosition(), {
265
+ text: "",
266
+ token: null,
267
+ line: this.yylineno
268
+ });
269
+ }, "next"),
270
+ // return next match that has a token
271
+ lex: /* @__PURE__ */ s(function() {
272
+ var a = this.next();
273
+ return a || this.lex();
274
+ }, "lex"),
275
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
276
+ begin: /* @__PURE__ */ s(function(a) {
277
+ this.conditionStack.push(a);
278
+ }, "begin"),
279
+ // pop the previously active lexer condition state off the condition stack
280
+ popState: /* @__PURE__ */ s(function() {
281
+ var a = this.conditionStack.length - 1;
282
+ return a > 0 ? this.conditionStack.pop() : this.conditionStack[0];
283
+ }, "popState"),
284
+ // produce the lexer rule set which is active for the currently active lexer condition state
285
+ _currentRules: /* @__PURE__ */ s(function() {
286
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
287
+ }, "_currentRules"),
288
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
289
+ topState: /* @__PURE__ */ s(function(a) {
290
+ return a = this.conditionStack.length - 1 - Math.abs(a || 0), a >= 0 ? this.conditionStack[a] : "INITIAL";
291
+ }, "topState"),
292
+ // alias for begin(condition)
293
+ pushState: /* @__PURE__ */ s(function(a) {
294
+ this.begin(a);
295
+ }, "pushState"),
296
+ // return the number of states currently on the stack
297
+ stateStackSize: /* @__PURE__ */ s(function() {
298
+ return this.conditionStack.length;
299
+ }, "stateStackSize"),
300
+ options: { "case-insensitive": !0 },
301
+ performAction: /* @__PURE__ */ s(function(a, d, u, y) {
302
+ switch (u) {
303
+ case 0:
304
+ break;
305
+ case 1:
306
+ break;
307
+ case 2:
308
+ return 10;
309
+ case 3:
310
+ break;
311
+ case 4:
312
+ break;
313
+ case 5:
314
+ return 4;
315
+ case 6:
316
+ return 11;
317
+ case 7:
318
+ return this.begin("acc_title"), 12;
319
+ case 8:
320
+ return this.popState(), "acc_title_value";
321
+ case 9:
322
+ return this.begin("acc_descr"), 14;
323
+ case 10:
324
+ return this.popState(), "acc_descr_value";
325
+ case 11:
326
+ this.begin("acc_descr_multiline");
327
+ break;
328
+ case 12:
329
+ this.popState();
330
+ break;
331
+ case 13:
332
+ return "acc_descr_multiline_value";
333
+ case 14:
334
+ return 17;
335
+ case 15:
336
+ return 21;
337
+ case 16:
338
+ return 20;
339
+ case 17:
340
+ return 6;
341
+ case 18:
342
+ return "INVALID";
343
+ }
344
+ }, "anonymous"),
345
+ rules: [/^(?:%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:#[^\n]*)/i, /^(?:timeline\b)/i, /^(?:title\s[^\n]+)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:section\s[^:\n]+)/i, /^(?::\s[^:\n]+)/i, /^(?:[^#:\n]+)/i, /^(?:$)/i, /^(?:.)/i],
346
+ conditions: { acc_descr_multiline: { rules: [12, 13], inclusive: !1 }, acc_descr: { rules: [10], inclusive: !1 }, acc_title: { rules: [8], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18], inclusive: !0 } }
347
+ };
348
+ return f;
349
+ }();
350
+ p.lexer = x;
351
+ function b() {
352
+ this.yy = {};
353
+ }
354
+ return s(b, "Parser"), b.prototype = p, p.Parser = b, new b();
355
+ }();
356
+ X.parser = X;
357
+ var Tt = X, at = {};
358
+ wt(at, {
359
+ addEvent: () => yt,
360
+ addSection: () => ht,
361
+ addTask: () => pt,
362
+ addTaskOrg: () => gt,
363
+ clear: () => ct,
364
+ default: () => It,
365
+ getCommonDb: () => ot,
366
+ getSections: () => dt,
367
+ getTasks: () => ut
368
+ });
369
+ var V = "", lt = 0, Y = [], U = [], W = [], ot = /* @__PURE__ */ s(() => St, "getCommonDb"), ct = /* @__PURE__ */ s(function() {
370
+ Y.length = 0, U.length = 0, V = "", W.length = 0, Et();
371
+ }, "clear"), ht = /* @__PURE__ */ s(function(n) {
372
+ V = n, Y.push(n);
373
+ }, "addSection"), dt = /* @__PURE__ */ s(function() {
374
+ return Y;
375
+ }, "getSections"), ut = /* @__PURE__ */ s(function() {
376
+ let n = rt();
377
+ const t = 100;
378
+ let e = 0;
379
+ for (; !n && e < t; )
380
+ n = rt(), e++;
381
+ return U.push(...W), U;
382
+ }, "getTasks"), pt = /* @__PURE__ */ s(function(n, t, e) {
383
+ const l = {
384
+ id: lt++,
385
+ section: V,
386
+ type: V,
387
+ task: n,
388
+ score: t || 0,
389
+ //if event is defined, then add it the events array
390
+ events: e ? [e] : []
391
+ };
392
+ W.push(l);
393
+ }, "addTask"), yt = /* @__PURE__ */ s(function(n) {
394
+ W.find((e) => e.id === lt - 1).events.push(n);
395
+ }, "addEvent"), gt = /* @__PURE__ */ s(function(n) {
396
+ const t = {
397
+ section: V,
398
+ type: V,
399
+ description: n,
400
+ task: n,
401
+ classes: []
402
+ };
403
+ U.push(t);
404
+ }, "addTaskOrg"), rt = /* @__PURE__ */ s(function() {
405
+ const n = /* @__PURE__ */ s(function(e) {
406
+ return W[e].processed;
407
+ }, "compileTask");
408
+ let t = !0;
409
+ for (const [e, l] of W.entries())
410
+ n(e), t = t && l.processed;
411
+ return t;
412
+ }, "compileTasks"), It = {
413
+ clear: ct,
414
+ getCommonDb: ot,
415
+ addSection: ht,
416
+ getSections: dt,
417
+ getTasks: ut,
418
+ addTask: pt,
419
+ addTaskOrg: gt,
420
+ addEvent: yt
421
+ }, Nt = 12, Z = /* @__PURE__ */ s(function(n, t) {
422
+ const e = n.append("rect");
423
+ return e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), e.attr("rx", t.rx), e.attr("ry", t.ry), t.class !== void 0 && e.attr("class", t.class), e;
424
+ }, "drawRect"), Lt = /* @__PURE__ */ s(function(n, t) {
425
+ const l = n.append("circle").attr("cx", t.cx).attr("cy", t.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), r = n.append("g");
426
+ r.append("circle").attr("cx", t.cx - 15 / 3).attr("cy", t.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), r.append("circle").attr("cx", t.cx + 15 / 3).attr("cy", t.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
427
+ function h(m) {
428
+ const p = nt().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
429
+ m.append("path").attr("class", "mouth").attr("d", p).attr("transform", "translate(" + t.cx + "," + (t.cy + 2) + ")");
430
+ }
431
+ s(h, "smile");
432
+ function c(m) {
433
+ const p = nt().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
434
+ m.append("path").attr("class", "mouth").attr("d", p).attr("transform", "translate(" + t.cx + "," + (t.cy + 7) + ")");
435
+ }
436
+ s(c, "sad");
437
+ function g(m) {
438
+ m.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", t.cx - 5).attr("y1", t.cy + 7).attr("x2", t.cx + 5).attr("y2", t.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
439
+ }
440
+ return s(g, "ambivalent"), t.score > 3 ? h(r) : t.score < 3 ? c(r) : g(r), l;
441
+ }, "drawFace"), Mt = /* @__PURE__ */ s(function(n, t) {
442
+ const e = n.append("circle");
443
+ return e.attr("cx", t.cx), e.attr("cy", t.cy), e.attr("class", "actor-" + t.pos), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("r", t.r), e.class !== void 0 && e.attr("class", e.class), t.title !== void 0 && e.append("title").text(t.title), e;
444
+ }, "drawCircle"), ft = /* @__PURE__ */ s(function(n, t) {
445
+ const e = t.text.replace(/<br\s*\/?>/gi, " "), l = n.append("text");
446
+ l.attr("x", t.x), l.attr("y", t.y), l.attr("class", "legend"), l.style("text-anchor", t.anchor), t.class !== void 0 && l.attr("class", t.class);
447
+ const r = l.append("tspan");
448
+ return r.attr("x", t.x + t.textMargin * 2), r.text(e), l;
449
+ }, "drawText"), $t = /* @__PURE__ */ s(function(n, t) {
450
+ function e(r, h, c, g, m) {
451
+ return r + "," + h + " " + (r + c) + "," + h + " " + (r + c) + "," + (h + g - m) + " " + (r + c - m * 1.2) + "," + (h + g) + " " + r + "," + (h + g);
452
+ }
453
+ s(e, "genPoints");
454
+ const l = n.append("polygon");
455
+ l.attr("points", e(t.x, t.y, 50, 20, 7)), l.attr("class", "labelBox"), t.y = t.y + t.labelMargin, t.x = t.x + 0.5 * t.labelMargin, ft(n, t);
456
+ }, "drawLabel"), Pt = /* @__PURE__ */ s(function(n, t, e) {
457
+ const l = n.append("g"), r = D();
458
+ r.x = t.x, r.y = t.y, r.fill = t.fill, r.width = e.width, r.height = e.height, r.class = "journey-section section-type-" + t.num, r.rx = 3, r.ry = 3, Z(l, r), mt(e)(
459
+ t.text,
460
+ l,
461
+ r.x,
462
+ r.y,
463
+ r.width,
464
+ r.height,
465
+ { class: "journey-section section-type-" + t.num },
466
+ e,
467
+ t.colour
468
+ );
469
+ }, "drawSection"), it = -1, At = /* @__PURE__ */ s(function(n, t, e) {
470
+ const l = t.x + e.width / 2, r = n.append("g");
471
+ it++;
472
+ const h = 300 + 5 * 30;
473
+ r.append("line").attr("id", "task" + it).attr("x1", l).attr("y1", t.y).attr("x2", l).attr("y2", h).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), Lt(r, {
474
+ cx: l,
475
+ cy: 300 + (5 - t.score) * 30,
476
+ score: t.score
477
+ });
478
+ const c = D();
479
+ c.x = t.x, c.y = t.y, c.fill = t.fill, c.width = e.width, c.height = e.height, c.class = "task task-type-" + t.num, c.rx = 3, c.ry = 3, Z(r, c), mt(e)(
480
+ t.task,
481
+ r,
482
+ c.x,
483
+ c.y,
484
+ c.width,
485
+ c.height,
486
+ { class: "task" },
487
+ e,
488
+ t.colour
489
+ );
490
+ }, "drawTask"), Ct = /* @__PURE__ */ s(function(n, t) {
491
+ Z(n, {
492
+ x: t.startx,
493
+ y: t.starty,
494
+ width: t.stopx - t.startx,
495
+ height: t.stopy - t.starty,
496
+ fill: t.fill,
497
+ class: "rect"
498
+ }).lower();
499
+ }, "drawBackgroundRect"), Ht = /* @__PURE__ */ s(function() {
500
+ return {
501
+ x: 0,
502
+ y: 0,
503
+ fill: void 0,
504
+ "text-anchor": "start",
505
+ width: 100,
506
+ height: 100,
507
+ textMargin: 0,
508
+ rx: 0,
509
+ ry: 0
510
+ };
511
+ }, "getTextObj"), D = /* @__PURE__ */ s(function() {
512
+ return {
513
+ x: 0,
514
+ y: 0,
515
+ width: 100,
516
+ anchor: "start",
517
+ height: 100,
518
+ rx: 0,
519
+ ry: 0
520
+ };
521
+ }, "getNoteRect"), mt = /* @__PURE__ */ function() {
522
+ function n(r, h, c, g, m, p, x, b) {
523
+ const f = h.append("text").attr("x", c + m / 2).attr("y", g + p / 2 + 5).style("font-color", b).style("text-anchor", "middle").text(r);
524
+ l(f, x);
525
+ }
526
+ s(n, "byText");
527
+ function t(r, h, c, g, m, p, x, b, f) {
528
+ const { taskFontSize: i, taskFontFamily: a } = b, d = r.split(/<br\s*\/?>/gi);
529
+ for (let u = 0; u < d.length; u++) {
530
+ const y = u * i - i * (d.length - 1) / 2, o = h.append("text").attr("x", c + m / 2).attr("y", g).attr("fill", f).style("text-anchor", "middle").style("font-size", i).style("font-family", a);
531
+ o.append("tspan").attr("x", c + m / 2).attr("dy", y).text(d[u]), o.attr("y", g + p / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), l(o, x);
532
+ }
533
+ }
534
+ s(t, "byTspan");
535
+ function e(r, h, c, g, m, p, x, b) {
536
+ const f = h.append("switch"), a = f.append("foreignObject").attr("x", c).attr("y", g).attr("width", m).attr("height", p).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
537
+ a.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(r), t(r, f, c, g, m, p, x, b), l(a, x);
538
+ }
539
+ s(e, "byFo");
540
+ function l(r, h) {
541
+ for (const c in h)
542
+ c in h && r.attr(c, h[c]);
543
+ }
544
+ return s(l, "_setTextAttrs"), function(r) {
545
+ return r.textPlacement === "fo" ? e : r.textPlacement === "old" ? n : t;
546
+ };
547
+ }(), Rt = /* @__PURE__ */ s(function(n) {
548
+ n.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
549
+ }, "initGraphics");
550
+ function tt(n, t) {
551
+ n.each(function() {
552
+ var e = q(this), l = e.text().split(/(\s+|<br>)/).reverse(), r, h = [], c = 1.1, g = e.attr("y"), m = parseFloat(e.attr("dy")), p = e.text(null).append("tspan").attr("x", 0).attr("y", g).attr("dy", m + "em");
553
+ for (let x = 0; x < l.length; x++)
554
+ r = l[l.length - 1 - x], h.push(r), p.text(h.join(" ").trim()), (p.node().getComputedTextLength() > t || r === "<br>") && (h.pop(), p.text(h.join(" ").trim()), r === "<br>" ? h = [""] : h = [r], p = e.append("tspan").attr("x", 0).attr("y", g).attr("dy", c + "em").text(r));
555
+ });
556
+ }
557
+ s(tt, "wrap");
558
+ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
559
+ var b;
560
+ const r = e % Nt - 1, h = n.append("g");
561
+ t.section = r, h.attr(
562
+ "class",
563
+ (t.class ? t.class + " " : "") + "timeline-node " + ("section-" + r)
564
+ );
565
+ const c = h.append("g"), g = h.append("g"), p = g.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(tt, t.width).node().getBBox(), x = (b = l.fontSize) != null && b.replace ? l.fontSize.replace("px", "") : l.fontSize;
566
+ return t.height = p.height + x * 1.1 * 0.5 + t.padding, t.height = Math.max(t.height, t.maxHeight), t.width = t.width + 2 * t.padding, g.attr("transform", "translate(" + t.width / 2 + ", " + t.padding / 2 + ")"), Vt(c, t, r, l), t;
567
+ }, "drawNode"), zt = /* @__PURE__ */ s(function(n, t, e) {
568
+ var g;
569
+ const l = n.append("g"), h = l.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(tt, t.width).node().getBBox(), c = (g = e.fontSize) != null && g.replace ? e.fontSize.replace("px", "") : e.fontSize;
570
+ return l.remove(), h.height + c * 1.1 * 0.5 + t.padding;
571
+ }, "getVirtualNodeHeight"), Vt = /* @__PURE__ */ s(function(n, t, e) {
572
+ n.append("path").attr("id", "node-" + t.id).attr("class", "node-bkg node-" + t.type).attr(
573
+ "d",
574
+ `M0 ${t.height - 5} v${-t.height + 2 * 5} q0,-5 5,-5 h${t.width - 2 * 5} q5,0 5,5 v${t.height - 5} H0 Z`
575
+ ), n.append("line").attr("class", "node-line-" + e).attr("x1", 0).attr("y1", t.height).attr("x2", t.width).attr("y2", t.height);
576
+ }, "defaultBkg"), H = {
577
+ drawRect: Z,
578
+ drawCircle: Mt,
579
+ drawSection: Pt,
580
+ drawText: ft,
581
+ drawLabel: $t,
582
+ drawTask: At,
583
+ drawBackgroundRect: Ct,
584
+ getTextObj: Ht,
585
+ getNoteRect: D,
586
+ initGraphics: Rt,
587
+ drawNode: Ft,
588
+ getVirtualNodeHeight: zt
589
+ }, Wt = /* @__PURE__ */ s(function(n, t, e, l) {
590
+ var O, _;
591
+ const r = xt(), h = r.leftMargin ?? 50;
592
+ T.debug("timeline", l.db);
593
+ const c = r.securityLevel;
594
+ let g;
595
+ c === "sandbox" && (g = q("#i" + t));
596
+ const p = (c === "sandbox" ? q(g.nodes()[0].contentDocument.body) : q("body")).select("#" + t);
597
+ p.append("g");
598
+ const x = l.db.getTasks(), b = l.db.getCommonDb().getDiagramTitle();
599
+ T.debug("task", x), H.initGraphics(p);
600
+ const f = l.db.getSections();
601
+ T.debug("sections", f);
602
+ let i = 0, a = 0, d = 0, u = 0, y = 50 + h, o = 50;
603
+ u = 50;
604
+ let S = 0, k = !0;
605
+ f.forEach(function(E) {
606
+ const v = {
607
+ number: S,
608
+ descr: E,
609
+ section: S,
610
+ width: 150,
611
+ padding: 20,
612
+ maxHeight: i
613
+ }, L = H.getVirtualNodeHeight(p, v, r);
614
+ T.debug("sectionHeight before draw", L), i = Math.max(i, L + 20);
615
+ });
616
+ let M = 0, P = 0;
617
+ T.debug("tasks.length", x.length);
618
+ for (const [E, v] of x.entries()) {
619
+ const L = {
620
+ number: E,
621
+ descr: v,
622
+ section: v.section,
623
+ width: 150,
624
+ padding: 20,
625
+ maxHeight: a
626
+ }, A = H.getVirtualNodeHeight(p, L, r);
627
+ T.debug("taskHeight before draw", A), a = Math.max(a, A + 20), M = Math.max(M, v.events.length);
628
+ let R = 0;
629
+ for (const F of v.events) {
630
+ const w = {
631
+ descr: F,
632
+ section: v.section,
633
+ number: v.section,
634
+ width: 150,
635
+ padding: 20,
636
+ maxHeight: 50
637
+ };
638
+ R += H.getVirtualNodeHeight(p, w, r);
639
+ }
640
+ P = Math.max(P, R);
641
+ }
642
+ T.debug("maxSectionHeight before draw", i), T.debug("maxTaskHeight before draw", a), f && f.length > 0 ? f.forEach((E) => {
643
+ const v = x.filter((F) => F.section === E), L = {
644
+ number: S,
645
+ descr: E,
646
+ section: S,
647
+ width: 200 * Math.max(v.length, 1) - 50,
648
+ padding: 20,
649
+ maxHeight: i
650
+ };
651
+ T.debug("sectionNode", L);
652
+ const A = p.append("g"), R = H.drawNode(A, L, S, r);
653
+ T.debug("sectionNode output", R), A.attr("transform", `translate(${y}, ${u})`), o += i + 50, v.length > 0 && st(
654
+ p,
655
+ v,
656
+ S,
657
+ y,
658
+ o,
659
+ a,
660
+ r,
661
+ M,
662
+ P,
663
+ i,
664
+ !1
665
+ ), y += 200 * Math.max(v.length, 1), o = u, S++;
666
+ }) : (k = !1, st(
667
+ p,
668
+ x,
669
+ S,
670
+ y,
671
+ o,
672
+ a,
673
+ r,
674
+ M,
675
+ P,
676
+ i,
677
+ !0
678
+ ));
679
+ const B = p.node().getBBox();
680
+ T.debug("bounds", B), b && p.append("text").text(b).attr("x", B.width / 2 - h).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), d = k ? i + a + 150 : a + 100, p.append("g").attr("class", "lineWrapper").append("line").attr("x1", h).attr("y1", d).attr("x2", B.width + 3 * h).attr("y2", d).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), kt(
681
+ void 0,
682
+ p,
683
+ ((O = r.timeline) == null ? void 0 : O.padding) ?? 50,
684
+ ((_ = r.timeline) == null ? void 0 : _.useMaxWidth) ?? !1
685
+ );
686
+ }, "draw"), st = /* @__PURE__ */ s(function(n, t, e, l, r, h, c, g, m, p, x) {
687
+ var b;
688
+ for (const f of t) {
689
+ const i = {
690
+ descr: f.task,
691
+ section: e,
692
+ number: e,
693
+ width: 150,
694
+ padding: 20,
695
+ maxHeight: h
696
+ };
697
+ T.debug("taskNode", i);
698
+ const a = n.append("g").attr("class", "taskWrapper"), u = H.drawNode(a, i, e, c).height;
699
+ if (T.debug("taskHeight after draw", u), a.attr("transform", `translate(${l}, ${r})`), h = Math.max(h, u), f.events) {
700
+ const y = n.append("g").attr("class", "lineWrapper");
701
+ let o = h;
702
+ r += 100, o = o + Bt(n, f.events, e, l, r, c), r -= 100, y.append("line").attr("x1", l + 190 / 2).attr("y1", r + h).attr("x2", l + 190 / 2).attr(
703
+ "y2",
704
+ r + h + (x ? h : p) + m + 120
705
+ ).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", "url(#arrowhead)").attr("stroke-dasharray", "5,5");
706
+ }
707
+ l = l + 200, x && !((b = c.timeline) != null && b.disableMulticolor) && e++;
708
+ }
709
+ r = r - 10;
710
+ }, "drawTasks"), Bt = /* @__PURE__ */ s(function(n, t, e, l, r, h) {
711
+ let c = 0;
712
+ const g = r;
713
+ r = r + 100;
714
+ for (const m of t) {
715
+ const p = {
716
+ descr: m,
717
+ section: e,
718
+ number: e,
719
+ width: 150,
720
+ padding: 20,
721
+ maxHeight: 50
722
+ };
723
+ T.debug("eventNode", p);
724
+ const x = n.append("g").attr("class", "eventWrapper"), f = H.drawNode(x, p, e, h).height;
725
+ c = c + f, x.attr("transform", `translate(${l}, ${r})`), r = r + 10 + f;
726
+ }
727
+ return r = g, c;
728
+ }, "drawEvents"), Ot = {
729
+ setConf: /* @__PURE__ */ s(() => {
730
+ }, "setConf"),
731
+ draw: Wt
732
+ }, jt = /* @__PURE__ */ s((n) => {
733
+ let t = "";
734
+ for (let e = 0; e < n.THEME_COLOR_LIMIT; e++)
735
+ n["lineColor" + e] = n["lineColor" + e] || n["cScaleInv" + e], _t(n["lineColor" + e]) ? n["lineColor" + e] = bt(n["lineColor" + e], 20) : n["lineColor" + e] = vt(n["lineColor" + e], 20);
736
+ for (let e = 0; e < n.THEME_COLOR_LIMIT; e++) {
737
+ const l = "" + (17 - 3 * e);
738
+ t += `
739
+ .section-${e - 1} rect, .section-${e - 1} path, .section-${e - 1} circle, .section-${e - 1} path {
740
+ fill: ${n["cScale" + e]};
741
+ }
742
+ .section-${e - 1} text {
743
+ fill: ${n["cScaleLabel" + e]};
744
+ }
745
+ .node-icon-${e - 1} {
746
+ font-size: 40px;
747
+ color: ${n["cScaleLabel" + e]};
748
+ }
749
+ .section-edge-${e - 1}{
750
+ stroke: ${n["cScale" + e]};
751
+ }
752
+ .edge-depth-${e - 1}{
753
+ stroke-width: ${l};
754
+ }
755
+ .section-${e - 1} line {
756
+ stroke: ${n["cScaleInv" + e]} ;
757
+ stroke-width: 3;
758
+ }
759
+
760
+ .lineWrapper line{
761
+ stroke: ${n["cScaleLabel" + e]} ;
762
+ }
763
+
764
+ .disabled, .disabled circle, .disabled text {
765
+ fill: lightgray;
766
+ }
767
+ .disabled text {
768
+ fill: #efefef;
769
+ }
770
+ `;
771
+ }
772
+ return t;
773
+ }, "genSections"), Gt = /* @__PURE__ */ s((n) => `
774
+ .edge {
775
+ stroke-width: 3;
776
+ }
777
+ ${jt(n)}
778
+ .section-root rect, .section-root path, .section-root circle {
779
+ fill: ${n.git0};
780
+ }
781
+ .section-root text {
782
+ fill: ${n.gitBranchLabel0};
783
+ }
784
+ .icon-container {
785
+ height:100%;
786
+ display: flex;
787
+ justify-content: center;
788
+ align-items: center;
789
+ }
790
+ .edge {
791
+ fill: none;
792
+ }
793
+ .eventWrapper {
794
+ filter: brightness(120%);
795
+ }
796
+ `, "getStyles"), qt = Gt, Jt = {
797
+ db: at,
798
+ renderer: Ot,
799
+ parser: Tt,
800
+ styles: qt
801
+ };
802
+ export {
803
+ Jt as diagram
804
+ };