@foris/ai-agent 0.1.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (397) hide show
  1. package/dist/abap-Y8Dl9g_6.js +6 -0
  2. package/dist/actionscript-3-DZzbMeqX.js +6 -0
  3. package/dist/ada-vP6ak0IW.js +6 -0
  4. package/dist/ai-agent.es.js +6 -285
  5. package/dist/ai-agent.umd.js +3874 -3
  6. package/dist/ai-chat-panel/ChatPanel.d.ts +1 -1
  7. package/dist/ai-chat-panel/chatPanel.constants.d.ts +17 -0
  8. package/dist/ai-sparkles-icon/AiSparklesIcon.d.ts +6 -0
  9. package/dist/ai-sparkles-icon/index.d.ts +2 -0
  10. package/dist/ai-summary-card/SummaryCard.d.ts +3 -1
  11. package/dist/andromeeda-BIpZ7gaU.js +4 -0
  12. package/dist/angular-html-DPB4Rf0C.js +32 -0
  13. package/dist/angular-ts-CeqPwKaz.js +24 -0
  14. package/dist/apache-BUjz-sD2.js +6 -0
  15. package/dist/apex-oLhhs58q.js +6 -0
  16. package/dist/apl-Bfz1rp5e.js +17 -0
  17. package/dist/applescript-BPx7YFFu.js +6 -0
  18. package/dist/ara-Z2fSOxSw.js +6 -0
  19. package/dist/arc-DN1xn8kz.js +85 -0
  20. package/dist/architectureDiagram-VXUJARFQ-CuFlEJrK.js +4674 -0
  21. package/dist/asciidoc-B-pCoB3G.js +6 -0
  22. package/dist/asm-BTWLY5ym.js +6 -0
  23. package/dist/astro-CFFExE8Q.js +18 -0
  24. package/dist/aurora-x-BwoVEUWZ.js +4 -0
  25. package/dist/awk-Fb0P9dkn.js +6 -0
  26. package/dist/ayu-dark-CxPZkpb2.js +4 -0
  27. package/dist/ballerina-oZK-YekG.js +6 -0
  28. package/dist/bat-0FvbqU9S.js +6 -0
  29. package/dist/beancount-DqJEb89h.js +6 -0
  30. package/dist/berry-DODBq_Ff.js +6 -0
  31. package/dist/bibtex-EULQRLY5.js +6 -0
  32. package/dist/bicep-BorU73w0.js +6 -0
  33. package/dist/blade-DRRSiTQz.js +21 -0
  34. package/dist/blockDiagram-VD42YOAC-Ceho4Zhj.js +2407 -0
  35. package/dist/bsl-NkNNwerW.js +8 -0
  36. package/dist/c-eeMepfLm.js +6 -0
  37. package/dist/c4Diagram-YG6GDRKO-zPB3iQJ7.js +1585 -0
  38. package/dist/cadence-02UX7mW8.js +6 -0
  39. package/dist/cairo-DM6WF2e3.js +8 -0
  40. package/dist/catppuccin-frappe-D3cH2rXe.js +4 -0
  41. package/dist/catppuccin-latte-C0LRGUW4.js +4 -0
  42. package/dist/catppuccin-macchiato-c5wQ11TT.js +4 -0
  43. package/dist/catppuccin-mocha-WMD6Qvya.js +4 -0
  44. package/dist/channel-BC4mWQQF.js +5 -0
  45. package/dist/chunk-4BX2VUAB-BZlHuf6l.js +9 -0
  46. package/dist/chunk-55IACEB6-Dr8rgvy_.js +8 -0
  47. package/dist/chunk-B4BG7PRW-Ccllo2e-.js +1377 -0
  48. package/dist/chunk-DI55MBZ5-DvAROTIr.js +1383 -0
  49. package/dist/chunk-FMBD7UC4-CVr83prI.js +19 -0
  50. package/dist/chunk-QN33PNHL-nSyFq8_s.js +20 -0
  51. package/dist/chunk-QZHKN3VN-Dg8JYP6e.js +15 -0
  52. package/dist/chunk-TZMSLE5B-Bmj6LGNW.js +64 -0
  53. package/dist/clarity-PKm5CwqM.js +6 -0
  54. package/dist/classDiagram-2ON5EDUG-DAkxtl6o.js +22 -0
  55. package/dist/classDiagram-v2-WZHVMYZB-DAkxtl6o.js +22 -0
  56. package/dist/clojure-CXJfHrL3.js +6 -0
  57. package/dist/cmake-BJz8BOTU.js +6 -0
  58. package/dist/cobol-DYTFdEK1.js +12 -0
  59. package/dist/code-block-QI2IAROF-DN-BnDmt.js +9263 -0
  60. package/dist/codeowners-Bt9yU6NX.js +6 -0
  61. package/dist/codeql-DHkodjjI.js +6 -0
  62. package/dist/coffee-DGBR_nr_.js +8 -0
  63. package/dist/common-lisp-EVqT9Zhp.js +6 -0
  64. package/dist/components/ai-elements/artifact.d.ts +23 -0
  65. package/dist/components/ai-elements/canvas.d.ts +7 -0
  66. package/dist/components/ai-elements/chain-of-thought.d.ts +29 -0
  67. package/dist/components/ai-elements/checkpoint.d.ts +11 -0
  68. package/dist/components/ai-elements/code-block.d.ts +17 -0
  69. package/dist/components/ai-elements/confirmation.d.ts +49 -0
  70. package/dist/components/ai-elements/connection.d.ts +2 -0
  71. package/dist/components/ai-elements/context.d.ts +32 -0
  72. package/dist/components/ai-elements/controls.d.ts +4 -0
  73. package/dist/components/ai-elements/conversation.d.ts +15 -0
  74. package/dist/components/ai-elements/edge.d.ts +5 -0
  75. package/dist/components/ai-elements/image.d.ts +6 -0
  76. package/dist/components/ai-elements/inline-citation.d.ts +38 -0
  77. package/dist/components/ai-elements/loader.d.ts +5 -0
  78. package/dist/components/ai-elements/message.d.ts +46 -0
  79. package/dist/components/ai-elements/model-selector.d.ts +35 -0
  80. package/dist/components/ai-elements/node.d.ts +21 -0
  81. package/dist/components/ai-elements/open-in-chat.d.ts +28 -0
  82. package/dist/components/ai-elements/panel.d.ts +5 -0
  83. package/dist/components/ai-elements/plan.d.ts +25 -0
  84. package/dist/components/ai-elements/prompt-input.d.ts +187 -0
  85. package/dist/components/ai-elements/queue.d.ts +61 -0
  86. package/dist/components/ai-elements/reasoning.d.ts +26 -0
  87. package/dist/components/ai-elements/shimmer.d.ts +9 -0
  88. package/dist/components/ai-elements/sources.d.ts +12 -0
  89. package/dist/components/ai-elements/suggestion.d.ts +10 -0
  90. package/dist/components/ai-elements/task.d.ts +14 -0
  91. package/dist/components/ai-elements/tool.d.ts +23 -0
  92. package/dist/components/ai-elements/toolbar.d.ts +5 -0
  93. package/dist/components/ai-elements/web-preview.d.ts +34 -0
  94. package/dist/components/ui/alert.d.ts +9 -0
  95. package/dist/components/ui/badge.d.ts +9 -0
  96. package/dist/components/ui/button-group.d.ts +12 -0
  97. package/dist/components/ui/button.d.ts +10 -0
  98. package/dist/components/ui/card.d.ts +9 -0
  99. package/dist/components/ui/carousel.d.ts +19 -0
  100. package/dist/components/ui/collapsible.d.ts +6 -0
  101. package/dist/components/ui/command.d.ts +18 -0
  102. package/dist/components/ui/dialog.d.ts +15 -0
  103. package/dist/components/ui/dropdown-menu.d.ts +25 -0
  104. package/dist/components/ui/hover-card.d.ts +6 -0
  105. package/dist/components/ui/input-group.d.ts +16 -0
  106. package/dist/components/ui/input.d.ts +3 -0
  107. package/dist/components/ui/progress.d.ts +4 -0
  108. package/dist/components/ui/scroll-area.d.ts +5 -0
  109. package/dist/components/ui/select.d.ts +15 -0
  110. package/dist/components/ui/separator.d.ts +4 -0
  111. package/dist/components/ui/textarea.d.ts +3 -0
  112. package/dist/components/ui/tooltip.d.ts +7 -0
  113. package/dist/coq-B0L9upzn.js +6 -0
  114. package/dist/cose-bilkent-S5V4N54A-DwRYWoaW.js +2612 -0
  115. package/dist/cpp-ZFnOq6fV.js +19 -0
  116. package/dist/crystal-CRJyc4G-.js +18 -0
  117. package/dist/csharp-C7yUs7-w.js +6 -0
  118. package/dist/css-CECN5uSL.js +6 -0
  119. package/dist/csv-CmYOceLb.js +6 -0
  120. package/dist/cue-ZzumE7IT.js +6 -0
  121. package/dist/cypher-jpdmjtA6.js +6 -0
  122. package/dist/cytoscape.esm-ClN43hhW.js +18846 -0
  123. package/dist/d-CBagWSwH.js +6 -0
  124. package/dist/dagre-6UL2VRFP-imN1Fyg8.js +451 -0
  125. package/dist/dark-plus-pUHDTVV0.js +4 -0
  126. package/dist/dart-6ObCrKr9.js +6 -0
  127. package/dist/dax-CcDT-8dH.js +6 -0
  128. package/dist/defaultLocale-DcQU6Vee.js +177 -0
  129. package/dist/desktop-B93p9R9O.js +6 -0
  130. package/dist/diagram-PSM6KHXK-DAIDeBLn.js +544 -0
  131. package/dist/diagram-QEK2KX5R-DQFy-qK9.js +224 -0
  132. package/dist/diagram-S2PKOQOG-Hlk0Nx_Y.js +146 -0
  133. package/dist/diff-BxzP2J8R.js +6 -0
  134. package/dist/docker-CsHqm9tx.js +6 -0
  135. package/dist/dotenv-BMjVjUL1.js +6 -0
  136. package/dist/dracula-BtZx2Kac.js +4 -0
  137. package/dist/dracula-soft-BKa-aqBv.js +4 -0
  138. package/dist/dream-maker-PAx17jaB.js +6 -0
  139. package/dist/edge-B882-fmN.js +14 -0
  140. package/dist/elixir-DRzNHQCz.js +10 -0
  141. package/dist/elm-DZPAA5Qn.js +9 -0
  142. package/dist/emacs-lisp-Cfxdx5D-.js +6 -0
  143. package/dist/erDiagram-Q2GNP2WA-C8PZPSaf.js +846 -0
  144. package/dist/erb-DB1DqdBc.js +27 -0
  145. package/dist/erlang-DNcDT8Hi.js +8 -0
  146. package/dist/everforest-dark-DMCBqXCK.js +4 -0
  147. package/dist/everforest-light-BbXl82Em.js +4 -0
  148. package/dist/fennel-N4WcXuKx.js +6 -0
  149. package/dist/fish-BTDEUgqH.js +6 -0
  150. package/dist/flowDiagram-NV44I4VS-CgTiIFnt.js +1631 -0
  151. package/dist/fluent-BMXUxfv1.js +6 -0
  152. package/dist/fortran-fixed-form-DUsA-VGo.js +8 -0
  153. package/dist/fortran-free-form-DPIT_jbP.js +6 -0
  154. package/dist/fsharp-CYOiIVNx.js +8 -0
  155. package/dist/ganttDiagram-JELNMOA3-DzYZEAE_.js +2702 -0
  156. package/dist/gdresource-BwtMIoBm.js +10 -0
  157. package/dist/gdscript-BifyeYhI.js +6 -0
  158. package/dist/gdshader-Bk8fF6yr.js +6 -0
  159. package/dist/genie-DzUvd7U9.js +6 -0
  160. package/dist/gherkin-DHRaV0YP.js +6 -0
  161. package/dist/git-commit-Bd32YZ0K.js +8 -0
  162. package/dist/git-rebase-ZWUFO_T4.js +8 -0
  163. package/dist/gitGraphDiagram-NY62KEGX-CPwI-Uag.js +715 -0
  164. package/dist/github-dark-DenFmJkN.js +4 -0
  165. package/dist/github-dark-default-BJPUVz4H.js +4 -0
  166. package/dist/github-dark-dimmed-DUshB20C.js +4 -0
  167. package/dist/github-dark-high-contrast-D3aGCnF8.js +4 -0
  168. package/dist/github-light-JYsPkUQd.js +4 -0
  169. package/dist/github-light-default-D99KPAby.js +4 -0
  170. package/dist/github-light-high-contrast-BbmZE-Mp.js +4 -0
  171. package/dist/gleam-Bv284lvN.js +6 -0
  172. package/dist/glimmer-js-DkxNrfPT.js +14 -0
  173. package/dist/glimmer-ts-D6YZEmK_.js +14 -0
  174. package/dist/glsl-CkUcVZNK.js +8 -0
  175. package/dist/gnuplot-yPG9-sE_.js +6 -0
  176. package/dist/go-ChxJuLYK.js +6 -0
  177. package/dist/graph-DB2UxkYH.js +1190 -0
  178. package/dist/graphql-CBu2ehBn.js +14 -0
  179. package/dist/groovy-CJQTphOW.js +6 -0
  180. package/dist/gruvbox-dark-hard-C5HOtKIh.js +4 -0
  181. package/dist/gruvbox-dark-medium-FVgwJHuz.js +4 -0
  182. package/dist/gruvbox-dark-soft-B46F314v.js +4 -0
  183. package/dist/gruvbox-light-hard-CJD38wDZ.js +4 -0
  184. package/dist/gruvbox-light-medium-BlIhMYTA.js +4 -0
  185. package/dist/gruvbox-light-soft-DoPHyLVZ.js +4 -0
  186. package/dist/hack-DVWgrvc2.js +12 -0
  187. package/dist/haml-NZLVzu_R.js +10 -0
  188. package/dist/handlebars-mxStpSE7.js +14 -0
  189. package/dist/haskell-WeIwNIP6.js +6 -0
  190. package/dist/haxe-TztHsm5T.js +6 -0
  191. package/dist/hcl-D438OF-I.js +6 -0
  192. package/dist/hjson-DYBUbqOl.js +6 -0
  193. package/dist/hlsl-Bk8TCZNL.js +6 -0
  194. package/dist/houston-BDYrDoDW.js +4 -0
  195. package/dist/html-B50bmoVb.js +10 -0
  196. package/dist/html-derivative-ByyNxAP5.js +10 -0
  197. package/dist/http-BVIWqb92.js +19 -0
  198. package/dist/hurl-B8OTiYoQ.js +17 -0
  199. package/dist/hxml-GbqSQCLa.js +8 -0
  200. package/dist/hy-Brt5EZ7-.js +6 -0
  201. package/dist/imba-CimUv-Uh.js +6 -0
  202. package/dist/index-C2DJ8qoy.js +45435 -0
  203. package/dist/infoDiagram-WHAUD3N6-CcN7ZNYI.js +27 -0
  204. package/dist/ini-BZIuRIvJ.js +6 -0
  205. package/dist/init-DjUOC4st.js +16 -0
  206. package/dist/java-DY6VlHhP.js +6 -0
  207. package/dist/javascript-C25yR2R2.js +6 -0
  208. package/dist/jinja-CI-LSgSv.js +13 -0
  209. package/dist/jison-DdreslRX.js +8 -0
  210. package/dist/journeyDiagram-XKPGCS4Q-BACao6jz.js +840 -0
  211. package/dist/json-DxJze_jm.js +6 -0
  212. package/dist/json5-BT4Fjg39.js +6 -0
  213. package/dist/jsonc-CHjZD8gR.js +6 -0
  214. package/dist/jsonl-BGuvDmy9.js +6 -0
  215. package/dist/jsonnet-Bx2cfsXg.js +6 -0
  216. package/dist/jssm-BcADi6EI.js +6 -0
  217. package/dist/jsx-BtKADgXT.js +6 -0
  218. package/dist/julia-ll8P6QXy.js +19 -0
  219. package/dist/kanagawa-dragon-CiKur4Hl.js +4 -0
  220. package/dist/kanagawa-lotus-BKu-smKu.js +4 -0
  221. package/dist/kanagawa-wave-CQwozSzG.js +4 -0
  222. package/dist/kanban-definition-3W4ZIXB7-Jb7Xwf92.js +724 -0
  223. package/dist/katex.min-l0sNRNKZ.js +1 -0
  224. package/dist/kdl-BNOv9TC3.js +6 -0
  225. package/dist/kotlin-ByBMgTeR.js +6 -0
  226. package/dist/kusto-VWFLl2T0.js +6 -0
  227. package/dist/laserwave-6a00oqik.js +4 -0
  228. package/dist/latex-DF20280u.js +9 -0
  229. package/dist/layout-Q6wQN5dr.js +1730 -0
  230. package/dist/lean-D5yRrexI.js +6 -0
  231. package/dist/less-B1GLI2Di.js +6 -0
  232. package/dist/lib/utils.d.ts +2 -0
  233. package/dist/light-plus-CZuVqSLX.js +4 -0
  234. package/dist/linear-CxGB80S5.js +277 -0
  235. package/dist/liquid-CHzkx3jT.js +14 -0
  236. package/dist/llvm-co1rIKs3.js +6 -0
  237. package/dist/log-Al8wyEFV.js +6 -0
  238. package/dist/logo-DBa4JDzV.js +6 -0
  239. package/dist/lua-kX5WP_P5.js +8 -0
  240. package/dist/luau-DtBSxLyz.js +6 -0
  241. package/dist/make-CsMclxtr.js +6 -0
  242. package/dist/markdown-CrScaQ96.js +6 -0
  243. package/dist/marko-ls0Jg2j8.js +14 -0
  244. package/dist/material-theme-D6KBX41T.js +4 -0
  245. package/dist/material-theme-darker-CkRroheE.js +4 -0
  246. package/dist/material-theme-lighter-BUBw43Yz.js +4 -0
  247. package/dist/material-theme-ocean-ClGX14Ja.js +4 -0
  248. package/dist/material-theme-palenight-C1RVm8K1.js +4 -0
  249. package/dist/matlab-BOAaUVP0.js +6 -0
  250. package/dist/mdc-DIP5_jeM.js +15 -0
  251. package/dist/mdx-BOhZZUJ8.js +6 -0
  252. package/dist/mermaid-B0ixDHKN.js +6 -0
  253. package/dist/mermaid-NA5CF7SZ-DekDSZe_.js +6 -0
  254. package/dist/mermaid.core-xMGW442o.js +14414 -0
  255. package/dist/min-dark-C7ak0t6c.js +4 -0
  256. package/dist/min-light-CKFxVcPp.js +4 -0
  257. package/dist/mindmap-definition-VGOIOE7T-UHZgRHb7.js +790 -0
  258. package/dist/mipsasm-CTx18fBl.js +6 -0
  259. package/dist/mojo-BD611d7o.js +6 -0
  260. package/dist/monokai-C1KBYcO0.js +4 -0
  261. package/dist/move-F-dICmj2.js +6 -0
  262. package/dist/narrat-DmhDCBs-.js +6 -0
  263. package/dist/nextflow-DmSVRGjG.js +6 -0
  264. package/dist/nginx-COxS3qoU.js +9 -0
  265. package/dist/night-owl-Bm2rzalh.js +4 -0
  266. package/dist/nim-CCwXZLHG.js +21 -0
  267. package/dist/nix-BZK5F767.js +9 -0
  268. package/dist/nord-CC5OiUXg.js +4 -0
  269. package/dist/nushell-D8j3dhT-.js +6 -0
  270. package/dist/objective-c-Itk8tzmv.js +6 -0
  271. package/dist/objective-cpp-DGt5UKRO.js +6 -0
  272. package/dist/ocaml-eSVK32Eg.js +6 -0
  273. package/dist/one-dark-pro-DTA3VF0_.js +4 -0
  274. package/dist/one-light-D9sNaUtq.js +4 -0
  275. package/dist/openscad-Sp5uZ6f2.js +6 -0
  276. package/dist/ordinal-MUacOSdK.js +65 -0
  277. package/dist/pascal-xy8pJNns.js +6 -0
  278. package/dist/perl-NvKK8p2P.js +17 -0
  279. package/dist/php-CK5hNnT0.js +19 -0
  280. package/dist/pieDiagram-ADFJNKIX-CHrTFTbw.js +166 -0
  281. package/dist/pkl-C-zSNmaA.js +6 -0
  282. package/dist/plastic-CSTz3KZp.js +4 -0
  283. package/dist/plsql-pVbGZfOv.js +6 -0
  284. package/dist/po-BNfHvqmm.js +6 -0
  285. package/dist/poimandres-C-VADXHD.js +4 -0
  286. package/dist/polar-CAZahv3u.js +6 -0
  287. package/dist/postcss-05aHdL-n.js +6 -0
  288. package/dist/powerquery-DI9HkTvs.js +6 -0
  289. package/dist/powershell-Clc4ydu-.js +6 -0
  290. package/dist/prisma-FZjmVtSl.js +6 -0
  291. package/dist/prolog-C5-yg4TO.js +6 -0
  292. package/dist/proto-MmCPeFAD.js +6 -0
  293. package/dist/pug-XOw9Q1Ho.js +12 -0
  294. package/dist/puppet-CUJHmnxV.js +6 -0
  295. package/dist/purescript-rUfGld-4.js +6 -0
  296. package/dist/python-BFNSHbwJ.js +6 -0
  297. package/dist/qml-rTNXsquU.js +8 -0
  298. package/dist/qmldir-BInDYbpo.js +6 -0
  299. package/dist/qss-AeJTysr_.js +6 -0
  300. package/dist/quadrantDiagram-AYHSOK5B-CDfhMB18.js +1030 -0
  301. package/dist/r-Bm0uF0U2.js +6 -0
  302. package/dist/racket-B83wSAja.js +6 -0
  303. package/dist/raku-nEQ4ZJJ7.js +6 -0
  304. package/dist/razor-CoqPuKQU.js +12 -0
  305. package/dist/red-7y8PH7HH.js +4 -0
  306. package/dist/reg-m_s_Kiip.js +6 -0
  307. package/dist/regexp-BazyLpPg.js +6 -0
  308. package/dist/rel-BcRfyd6Q.js +6 -0
  309. package/dist/requirementDiagram-UZGBJVZJ-C0aeVQh6.js +856 -0
  310. package/dist/riscv-Ce8MAQLP.js +6 -0
  311. package/dist/rose-pine-BKc3yVeu.js +4 -0
  312. package/dist/rose-pine-dawn-BulJcPZT.js +4 -0
  313. package/dist/rose-pine-moon-j6jiXKV8.js +4 -0
  314. package/dist/rosmsg-Cz0w1km8.js +6 -0
  315. package/dist/rst-AoEjemIj.js +36 -0
  316. package/dist/ruby-CGSl8JoB.js +36 -0
  317. package/dist/rust-CLzF9zIN.js +6 -0
  318. package/dist/sankeyDiagram-TZEHDZUN-kjxRgXd2.js +830 -0
  319. package/dist/sas-fpEvgATw.js +8 -0
  320. package/dist/sass-DxHp5rTx.js +6 -0
  321. package/dist/scala-D4grkFkl.js +6 -0
  322. package/dist/scheme-BCRWuEm4.js +6 -0
  323. package/dist/scss-B1FaCqwR.js +8 -0
  324. package/dist/sdbl-B7T8abf4.js +6 -0
  325. package/dist/sequenceDiagram-WL72ISMW-Bs0jyVuH.js +2526 -0
  326. package/dist/shaderlab-Cr62-Wb4.js +8 -0
  327. package/dist/shellscript-InADTalH.js +6 -0
  328. package/dist/shellsession-DiDJNQdy.js +8 -0
  329. package/dist/slack-dark-i7wN4OET.js +4 -0
  330. package/dist/slack-ochin-ndHf0LoP.js +4 -0
  331. package/dist/smalltalk-BlI1_OkM.js +6 -0
  332. package/dist/snazzy-light-BlSJXAu4.js +4 -0
  333. package/dist/solarized-dark-UTmkh7lw.js +4 -0
  334. package/dist/solarized-light-BheCkDPT.js +4 -0
  335. package/dist/solidity-DUWnFhS6.js +6 -0
  336. package/dist/soy-YPoZ1G2p.js +10 -0
  337. package/dist/sparql-B0KWFEri.js +8 -0
  338. package/dist/splunk-CRXR8A9s.js +6 -0
  339. package/dist/sql-Cn_v3PB0.js +6 -0
  340. package/dist/ssh-config-DP-hNVbF.js +6 -0
  341. package/dist/stata-B8c5fTjX.js +8 -0
  342. package/dist/stateDiagram-FKZM4ZOC-CAWwlh9R.js +268 -0
  343. package/dist/stateDiagram-v2-4FDKWEC3-9TYlTzc3.js +21 -0
  344. package/dist/style.css +1 -1
  345. package/dist/stylus-CyKEU1Ej.js +6 -0
  346. package/dist/svelte-5UasyOg7.js +14 -0
  347. package/dist/swift-9UzSvamq.js +6 -0
  348. package/dist/synthwave-84-NU3C_KFZ.js +4 -0
  349. package/dist/system-verilog-BCm7smPJ.js +6 -0
  350. package/dist/systemd-C-4qm6XH.js +6 -0
  351. package/dist/tailwind.css +126 -0
  352. package/dist/talonscript-CFF3LF_O.js +6 -0
  353. package/dist/tasl-Cg_WBUAe.js +6 -0
  354. package/dist/tcl-DN7buRTF.js +6 -0
  355. package/dist/templ-peLZIM2D.js +12 -0
  356. package/dist/terraform-DGvcn9zM.js +6 -0
  357. package/dist/tex-DpOayVob.js +8 -0
  358. package/dist/timeline-definition-IT6M3QCI-DrPozOxH.js +805 -0
  359. package/dist/tokyo-night-DP4TmcQl.js +4 -0
  360. package/dist/toml-DY62mUL_.js +6 -0
  361. package/dist/treemap-KMMF4GRG-D_L55G0b.js +15045 -0
  362. package/dist/ts-tags-CWmBp2js.js +43 -0
  363. package/dist/tsv-BtvSkaG0.js +6 -0
  364. package/dist/tsx-B8rCNbgL.js +6 -0
  365. package/dist/turtle-_H59FV7D.js +6 -0
  366. package/dist/twig-Cpoho6oi.js +35 -0
  367. package/dist/typescript-RycA9KXf.js +6 -0
  368. package/dist/typespec-DWqp-kUU.js +6 -0
  369. package/dist/typst-D_1QKWns.js +6 -0
  370. package/dist/v-BPCNiyYe.js +6 -0
  371. package/dist/vala-uxaPR7d1.js +6 -0
  372. package/dist/vb-D8_c5-KN.js +6 -0
  373. package/dist/verilog-B-bybjPF.js +6 -0
  374. package/dist/vesper-BckBta1U.js +4 -0
  375. package/dist/vhdl-CUlNa8ac.js +6 -0
  376. package/dist/viml-DsfA-sWm.js +6 -0
  377. package/dist/vitesse-black-BoGvW84i.js +4 -0
  378. package/dist/vitesse-dark-Cym-eLtO.js +4 -0
  379. package/dist/vitesse-light-CcmG315c.js +4 -0
  380. package/dist/vue-DmFKWfEU.js +31 -0
  381. package/dist/vue-html-BB2aI7Yc.js +15 -0
  382. package/dist/vue-vine-CznNap4x.js +24 -0
  383. package/dist/vyper-CPQuu50u.js +6 -0
  384. package/dist/wasm-BBXxrAl7.js +6 -0
  385. package/dist/wasm-DQxwEHae.js +7 -0
  386. package/dist/wenyan-pbVjoM9_.js +6 -0
  387. package/dist/wgsl-DY4iK1q1.js +6 -0
  388. package/dist/wikitext-Z-MoUasO.js +6 -0
  389. package/dist/wit-CQMQOlTg.js +6 -0
  390. package/dist/wolfram-Dz4KXISs.js +6 -0
  391. package/dist/xml-C2J0sS9M.js +8 -0
  392. package/dist/xsl-CbTBIiv3.js +9 -0
  393. package/dist/xychartDiagram-PRI3JC2R-BkO8dJff.js +1345 -0
  394. package/dist/yaml-DaO7k5B1.js +6 -0
  395. package/dist/zenscript-CxBjpf9c.js +6 -0
  396. package/dist/zig-Vm0PO9wB.js +6 -0
  397. package/package.json +35 -7
@@ -0,0 +1,715 @@
1
+ import { p as Z } from "./chunk-4BX2VUAB-BZlHuf6l.js";
2
+ import { I as F } from "./chunk-QZHKN3VN-Dg8JYP6e.js";
3
+ import { C as U, _ as h, d as rr, D as er, E as tr, F as ar, l as m, s as nr, g as sr, b as or, c as cr, n as ir, o as dr, e as B, t as hr, j as lr, u as $r, G as fr } from "./mermaid.core-xMGW442o.js";
4
+ import { p as gr } from "./treemap-KMMF4GRG-D_L55G0b.js";
5
+ import "./index-C2DJ8qoy.js";
6
+ import "react";
7
+ import "react-dom";
8
+ var u = {
9
+ NORMAL: 0,
10
+ REVERSE: 1,
11
+ HIGHLIGHT: 2,
12
+ MERGE: 3,
13
+ CHERRY_PICK: 4
14
+ }, yr = U.gitGraph, z = /* @__PURE__ */ h(() => er({
15
+ ...yr,
16
+ ...tr().gitGraph
17
+ }), "getConfig"), i = new F(() => {
18
+ const t = z(), r = t.mainBranchName, a = t.mainBranchOrder;
19
+ return {
20
+ mainBranchName: r,
21
+ commits: /* @__PURE__ */ new Map(),
22
+ head: null,
23
+ branchConfig: /* @__PURE__ */ new Map([[r, { name: r, order: a }]]),
24
+ branches: /* @__PURE__ */ new Map([[r, null]]),
25
+ currBranch: r,
26
+ direction: "LR",
27
+ seq: 0,
28
+ options: {}
29
+ };
30
+ });
31
+ function j() {
32
+ return ar({ length: 7 });
33
+ }
34
+ h(j, "getID");
35
+ function N(t, r) {
36
+ const a = /* @__PURE__ */ Object.create(null);
37
+ return t.reduce((s, e) => {
38
+ const n = r(e);
39
+ return a[n] || (a[n] = !0, s.push(e)), s;
40
+ }, []);
41
+ }
42
+ h(N, "uniqBy");
43
+ var xr = /* @__PURE__ */ h(function(t) {
44
+ i.records.direction = t;
45
+ }, "setDirection"), ur = /* @__PURE__ */ h(function(t) {
46
+ m.debug("options str", t), t = t == null ? void 0 : t.trim(), t = t || "{}";
47
+ try {
48
+ i.records.options = JSON.parse(t);
49
+ } catch (r) {
50
+ m.error("error while parsing gitGraph options", r.message);
51
+ }
52
+ }, "setOptions"), pr = /* @__PURE__ */ h(function() {
53
+ return i.records.options;
54
+ }, "getOptions"), br = /* @__PURE__ */ h(function(t) {
55
+ let r = t.msg, a = t.id;
56
+ const s = t.type;
57
+ let e = t.tags;
58
+ m.info("commit", r, a, s, e), m.debug("Entering commit:", r, a, s, e);
59
+ const n = z();
60
+ a = B.sanitizeText(a, n), r = B.sanitizeText(r, n), e = e == null ? void 0 : e.map((o) => B.sanitizeText(o, n));
61
+ const c = {
62
+ id: a || i.records.seq + "-" + j(),
63
+ message: r,
64
+ seq: i.records.seq++,
65
+ type: s ?? u.NORMAL,
66
+ tags: e ?? [],
67
+ parents: i.records.head == null ? [] : [i.records.head.id],
68
+ branch: i.records.currBranch
69
+ };
70
+ i.records.head = c, m.info("main branch", n.mainBranchName), i.records.commits.has(c.id) && m.warn(`Commit ID ${c.id} already exists`), i.records.commits.set(c.id, c), i.records.branches.set(i.records.currBranch, c.id), m.debug("in pushCommit " + c.id);
71
+ }, "commit"), mr = /* @__PURE__ */ h(function(t) {
72
+ let r = t.name;
73
+ const a = t.order;
74
+ if (r = B.sanitizeText(r, z()), i.records.branches.has(r))
75
+ throw new Error(
76
+ `Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`
77
+ );
78
+ i.records.branches.set(r, i.records.head != null ? i.records.head.id : null), i.records.branchConfig.set(r, { name: r, order: a }), _(r), m.debug("in createBranch");
79
+ }, "branch"), wr = /* @__PURE__ */ h((t) => {
80
+ let r = t.branch, a = t.id;
81
+ const s = t.type, e = t.tags, n = z();
82
+ r = B.sanitizeText(r, n), a && (a = B.sanitizeText(a, n));
83
+ const c = i.records.branches.get(i.records.currBranch), o = i.records.branches.get(r), $ = c ? i.records.commits.get(c) : void 0, l = o ? i.records.commits.get(o) : void 0;
84
+ if ($ && l && $.branch === r)
85
+ throw new Error(`Cannot merge branch '${r}' into itself.`);
86
+ if (i.records.currBranch === r) {
87
+ const d = new Error('Incorrect usage of "merge". Cannot merge a branch to itself');
88
+ throw d.hash = {
89
+ text: `merge ${r}`,
90
+ token: `merge ${r}`,
91
+ expected: ["branch abc"]
92
+ }, d;
93
+ }
94
+ if ($ === void 0 || !$) {
95
+ const d = new Error(
96
+ `Incorrect usage of "merge". Current branch (${i.records.currBranch})has no commits`
97
+ );
98
+ throw d.hash = {
99
+ text: `merge ${r}`,
100
+ token: `merge ${r}`,
101
+ expected: ["commit"]
102
+ }, d;
103
+ }
104
+ if (!i.records.branches.has(r)) {
105
+ const d = new Error(
106
+ 'Incorrect usage of "merge". Branch to be merged (' + r + ") does not exist"
107
+ );
108
+ throw d.hash = {
109
+ text: `merge ${r}`,
110
+ token: `merge ${r}`,
111
+ expected: [`branch ${r}`]
112
+ }, d;
113
+ }
114
+ if (l === void 0 || !l) {
115
+ const d = new Error(
116
+ 'Incorrect usage of "merge". Branch to be merged (' + r + ") has no commits"
117
+ );
118
+ throw d.hash = {
119
+ text: `merge ${r}`,
120
+ token: `merge ${r}`,
121
+ expected: ['"commit"']
122
+ }, d;
123
+ }
124
+ if ($ === l) {
125
+ const d = new Error('Incorrect usage of "merge". Both branches have same head');
126
+ throw d.hash = {
127
+ text: `merge ${r}`,
128
+ token: `merge ${r}`,
129
+ expected: ["branch abc"]
130
+ }, d;
131
+ }
132
+ if (a && i.records.commits.has(a)) {
133
+ const d = new Error(
134
+ 'Incorrect usage of "merge". Commit with id:' + a + " already exists, use different custom id"
135
+ );
136
+ throw d.hash = {
137
+ text: `merge ${r} ${a} ${s} ${e == null ? void 0 : e.join(" ")}`,
138
+ token: `merge ${r} ${a} ${s} ${e == null ? void 0 : e.join(" ")}`,
139
+ expected: [
140
+ `merge ${r} ${a}_UNIQUE ${s} ${e == null ? void 0 : e.join(" ")}`
141
+ ]
142
+ }, d;
143
+ }
144
+ const f = o || "", g = {
145
+ id: a || `${i.records.seq}-${j()}`,
146
+ message: `merged branch ${r} into ${i.records.currBranch}`,
147
+ seq: i.records.seq++,
148
+ parents: i.records.head == null ? [] : [i.records.head.id, f],
149
+ branch: i.records.currBranch,
150
+ type: u.MERGE,
151
+ customType: s,
152
+ customId: !!a,
153
+ tags: e ?? []
154
+ };
155
+ i.records.head = g, i.records.commits.set(g.id, g), i.records.branches.set(i.records.currBranch, g.id), m.debug(i.records.branches), m.debug("in mergeBranch");
156
+ }, "merge"), vr = /* @__PURE__ */ h(function(t) {
157
+ let r = t.id, a = t.targetId, s = t.tags, e = t.parent;
158
+ m.debug("Entering cherryPick:", r, a, s);
159
+ const n = z();
160
+ if (r = B.sanitizeText(r, n), a = B.sanitizeText(a, n), s = s == null ? void 0 : s.map(($) => B.sanitizeText($, n)), e = B.sanitizeText(e, n), !r || !i.records.commits.has(r)) {
161
+ const $ = new Error(
162
+ 'Incorrect usage of "cherryPick". Source commit id should exist and provided'
163
+ );
164
+ throw $.hash = {
165
+ text: `cherryPick ${r} ${a}`,
166
+ token: `cherryPick ${r} ${a}`,
167
+ expected: ["cherry-pick abc"]
168
+ }, $;
169
+ }
170
+ const c = i.records.commits.get(r);
171
+ if (c === void 0 || !c)
172
+ throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');
173
+ if (e && !(Array.isArray(c.parents) && c.parents.includes(e)))
174
+ throw new Error(
175
+ "Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit."
176
+ );
177
+ const o = c.branch;
178
+ if (c.type === u.MERGE && !e)
179
+ throw new Error(
180
+ "Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified."
181
+ );
182
+ if (!a || !i.records.commits.has(a)) {
183
+ if (o === i.records.currBranch) {
184
+ const g = new Error(
185
+ 'Incorrect usage of "cherryPick". Source commit is already on current branch'
186
+ );
187
+ throw g.hash = {
188
+ text: `cherryPick ${r} ${a}`,
189
+ token: `cherryPick ${r} ${a}`,
190
+ expected: ["cherry-pick abc"]
191
+ }, g;
192
+ }
193
+ const $ = i.records.branches.get(i.records.currBranch);
194
+ if ($ === void 0 || !$) {
195
+ const g = new Error(
196
+ `Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`
197
+ );
198
+ throw g.hash = {
199
+ text: `cherryPick ${r} ${a}`,
200
+ token: `cherryPick ${r} ${a}`,
201
+ expected: ["cherry-pick abc"]
202
+ }, g;
203
+ }
204
+ const l = i.records.commits.get($);
205
+ if (l === void 0 || !l) {
206
+ const g = new Error(
207
+ `Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`
208
+ );
209
+ throw g.hash = {
210
+ text: `cherryPick ${r} ${a}`,
211
+ token: `cherryPick ${r} ${a}`,
212
+ expected: ["cherry-pick abc"]
213
+ }, g;
214
+ }
215
+ const f = {
216
+ id: i.records.seq + "-" + j(),
217
+ message: `cherry-picked ${c == null ? void 0 : c.message} into ${i.records.currBranch}`,
218
+ seq: i.records.seq++,
219
+ parents: i.records.head == null ? [] : [i.records.head.id, c.id],
220
+ branch: i.records.currBranch,
221
+ type: u.CHERRY_PICK,
222
+ tags: s ? s.filter(Boolean) : [
223
+ `cherry-pick:${c.id}${c.type === u.MERGE ? `|parent:${e}` : ""}`
224
+ ]
225
+ };
226
+ i.records.head = f, i.records.commits.set(f.id, f), i.records.branches.set(i.records.currBranch, f.id), m.debug(i.records.branches), m.debug("in cherryPick");
227
+ }
228
+ }, "cherryPick"), _ = /* @__PURE__ */ h(function(t) {
229
+ if (t = B.sanitizeText(t, z()), i.records.branches.has(t)) {
230
+ i.records.currBranch = t;
231
+ const r = i.records.branches.get(i.records.currBranch);
232
+ r === void 0 || !r ? i.records.head = null : i.records.head = i.records.commits.get(r) ?? null;
233
+ } else {
234
+ const r = new Error(
235
+ `Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`
236
+ );
237
+ throw r.hash = {
238
+ text: `checkout ${t}`,
239
+ token: `checkout ${t}`,
240
+ expected: [`branch ${t}`]
241
+ }, r;
242
+ }
243
+ }, "checkout");
244
+ function D(t, r, a) {
245
+ const s = t.indexOf(r);
246
+ s === -1 ? t.push(a) : t.splice(s, 1, a);
247
+ }
248
+ h(D, "upsert");
249
+ function A(t) {
250
+ const r = t.reduce((e, n) => e.seq > n.seq ? e : n, t[0]);
251
+ let a = "";
252
+ t.forEach(function(e) {
253
+ e === r ? a += " *" : a += " |";
254
+ });
255
+ const s = [a, r.id, r.seq];
256
+ for (const e in i.records.branches)
257
+ i.records.branches.get(e) === r.id && s.push(e);
258
+ if (m.debug(s.join(" ")), r.parents && r.parents.length == 2 && r.parents[0] && r.parents[1]) {
259
+ const e = i.records.commits.get(r.parents[0]);
260
+ D(t, r, e), r.parents[1] && t.push(i.records.commits.get(r.parents[1]));
261
+ } else {
262
+ if (r.parents.length == 0)
263
+ return;
264
+ if (r.parents[0]) {
265
+ const e = i.records.commits.get(r.parents[0]);
266
+ D(t, r, e);
267
+ }
268
+ }
269
+ t = N(t, (e) => e.id), A(t);
270
+ }
271
+ h(A, "prettyPrintCommitHistory");
272
+ var Cr = /* @__PURE__ */ h(function() {
273
+ m.debug(i.records.commits);
274
+ const t = V()[0];
275
+ A([t]);
276
+ }, "prettyPrint"), Er = /* @__PURE__ */ h(function() {
277
+ i.reset(), hr();
278
+ }, "clear"), Br = /* @__PURE__ */ h(function() {
279
+ return [...i.records.branchConfig.values()].map((r, a) => r.order !== null && r.order !== void 0 ? r : {
280
+ ...r,
281
+ order: parseFloat(`0.${a}`)
282
+ }).sort((r, a) => (r.order ?? 0) - (a.order ?? 0)).map(({ name: r }) => ({ name: r }));
283
+ }, "getBranchesAsObjArray"), kr = /* @__PURE__ */ h(function() {
284
+ return i.records.branches;
285
+ }, "getBranches"), Lr = /* @__PURE__ */ h(function() {
286
+ return i.records.commits;
287
+ }, "getCommits"), V = /* @__PURE__ */ h(function() {
288
+ const t = [...i.records.commits.values()];
289
+ return t.forEach(function(r) {
290
+ m.debug(r.id);
291
+ }), t.sort((r, a) => r.seq - a.seq), t;
292
+ }, "getCommitsArray"), Tr = /* @__PURE__ */ h(function() {
293
+ return i.records.currBranch;
294
+ }, "getCurrentBranch"), Mr = /* @__PURE__ */ h(function() {
295
+ return i.records.direction;
296
+ }, "getDirection"), Rr = /* @__PURE__ */ h(function() {
297
+ return i.records.head;
298
+ }, "getHead"), X = {
299
+ commitType: u,
300
+ getConfig: z,
301
+ setDirection: xr,
302
+ setOptions: ur,
303
+ getOptions: pr,
304
+ commit: br,
305
+ branch: mr,
306
+ merge: wr,
307
+ cherryPick: vr,
308
+ checkout: _,
309
+ //reset,
310
+ prettyPrint: Cr,
311
+ clear: Er,
312
+ getBranchesAsObjArray: Br,
313
+ getBranches: kr,
314
+ getCommits: Lr,
315
+ getCommitsArray: V,
316
+ getCurrentBranch: Tr,
317
+ getDirection: Mr,
318
+ getHead: Rr,
319
+ setAccTitle: nr,
320
+ getAccTitle: sr,
321
+ getAccDescription: or,
322
+ setAccDescription: cr,
323
+ setDiagramTitle: ir,
324
+ getDiagramTitle: dr
325
+ }, Ir = /* @__PURE__ */ h((t, r) => {
326
+ Z(t, r), t.dir && r.setDirection(t.dir);
327
+ for (const a of t.statements)
328
+ qr(a, r);
329
+ }, "populate"), qr = /* @__PURE__ */ h((t, r) => {
330
+ const s = {
331
+ Commit: /* @__PURE__ */ h((e) => r.commit(Or(e)), "Commit"),
332
+ Branch: /* @__PURE__ */ h((e) => r.branch(zr(e)), "Branch"),
333
+ Merge: /* @__PURE__ */ h((e) => r.merge(Gr(e)), "Merge"),
334
+ Checkout: /* @__PURE__ */ h((e) => r.checkout(Hr(e)), "Checkout"),
335
+ CherryPicking: /* @__PURE__ */ h((e) => r.cherryPick(Pr(e)), "CherryPicking")
336
+ }[t.$type];
337
+ s ? s(t) : m.error(`Unknown statement type: ${t.$type}`);
338
+ }, "parseStatement"), Or = /* @__PURE__ */ h((t) => ({
339
+ id: t.id,
340
+ msg: t.message ?? "",
341
+ type: t.type !== void 0 ? u[t.type] : u.NORMAL,
342
+ tags: t.tags ?? void 0
343
+ }), "parseCommit"), zr = /* @__PURE__ */ h((t) => ({
344
+ name: t.name,
345
+ order: t.order ?? 0
346
+ }), "parseBranch"), Gr = /* @__PURE__ */ h((t) => ({
347
+ branch: t.branch,
348
+ id: t.id ?? "",
349
+ type: t.type !== void 0 ? u[t.type] : void 0,
350
+ tags: t.tags ?? void 0
351
+ }), "parseMerge"), Hr = /* @__PURE__ */ h((t) => t.branch, "parseCheckout"), Pr = /* @__PURE__ */ h((t) => {
352
+ var a;
353
+ return {
354
+ id: t.id,
355
+ targetId: "",
356
+ tags: ((a = t.tags) == null ? void 0 : a.length) === 0 ? void 0 : t.tags,
357
+ parent: t.parent
358
+ };
359
+ }, "parseCherryPicking"), Wr = {
360
+ parse: /* @__PURE__ */ h(async (t) => {
361
+ const r = await gr("gitGraph", t);
362
+ m.debug(r), Ir(r, X);
363
+ }, "parse")
364
+ }, S = rr(), b = S == null ? void 0 : S.gitGraph, R = 10, I = 40, k = 4, L = 2, O = 8, C = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), P = 30, G = /* @__PURE__ */ new Map(), W = [], M = 0, x = "LR", jr = /* @__PURE__ */ h(() => {
365
+ C.clear(), E.clear(), G.clear(), M = 0, W = [], x = "LR";
366
+ }, "clear"), J = /* @__PURE__ */ h((t) => {
367
+ const r = document.createElementNS("http://www.w3.org/2000/svg", "text");
368
+ return (typeof t == "string" ? t.split(/\\n|\n|<br\s*\/?>/gi) : t).forEach((s) => {
369
+ const e = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
370
+ e.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve"), e.setAttribute("dy", "1em"), e.setAttribute("x", "0"), e.setAttribute("class", "row"), e.textContent = s.trim(), r.appendChild(e);
371
+ }), r;
372
+ }, "drawText"), Q = /* @__PURE__ */ h((t) => {
373
+ let r, a, s;
374
+ return x === "BT" ? (a = /* @__PURE__ */ h((e, n) => e <= n, "comparisonFunc"), s = 1 / 0) : (a = /* @__PURE__ */ h((e, n) => e >= n, "comparisonFunc"), s = 0), t.forEach((e) => {
375
+ var c, o;
376
+ const n = x === "TB" || x == "BT" ? (c = E.get(e)) == null ? void 0 : c.y : (o = E.get(e)) == null ? void 0 : o.x;
377
+ n !== void 0 && a(n, s) && (r = e, s = n);
378
+ }), r;
379
+ }, "findClosestParent"), Sr = /* @__PURE__ */ h((t) => {
380
+ let r = "", a = 1 / 0;
381
+ return t.forEach((s) => {
382
+ const e = E.get(s).y;
383
+ e <= a && (r = s, a = e);
384
+ }), r || void 0;
385
+ }, "findClosestParentBT"), Dr = /* @__PURE__ */ h((t, r, a) => {
386
+ let s = a, e = a;
387
+ const n = [];
388
+ t.forEach((c) => {
389
+ const o = r.get(c);
390
+ if (!o)
391
+ throw new Error(`Commit not found for key ${c}`);
392
+ o.parents.length ? (s = Yr(o), e = Math.max(s, e)) : n.push(o), Kr(o, s);
393
+ }), s = e, n.forEach((c) => {
394
+ Nr(c, s, a);
395
+ }), t.forEach((c) => {
396
+ const o = r.get(c);
397
+ if (o != null && o.parents.length) {
398
+ const $ = Sr(o.parents);
399
+ s = E.get($).y - I, s <= e && (e = s);
400
+ const l = C.get(o.branch).pos, f = s - R;
401
+ E.set(o.id, { x: l, y: f });
402
+ }
403
+ });
404
+ }, "setParallelBTPos"), Ar = /* @__PURE__ */ h((t) => {
405
+ var s;
406
+ const r = Q(t.parents.filter((e) => e !== null));
407
+ if (!r)
408
+ throw new Error(`Closest parent not found for commit ${t.id}`);
409
+ const a = (s = E.get(r)) == null ? void 0 : s.y;
410
+ if (a === void 0)
411
+ throw new Error(`Closest parent position not found for commit ${t.id}`);
412
+ return a;
413
+ }, "findClosestParentPos"), Yr = /* @__PURE__ */ h((t) => Ar(t) + I, "calculateCommitPosition"), Kr = /* @__PURE__ */ h((t, r) => {
414
+ const a = C.get(t.branch);
415
+ if (!a)
416
+ throw new Error(`Branch not found for commit ${t.id}`);
417
+ const s = a.pos, e = r + R;
418
+ return E.set(t.id, { x: s, y: e }), { x: s, y: e };
419
+ }, "setCommitPosition"), Nr = /* @__PURE__ */ h((t, r, a) => {
420
+ const s = C.get(t.branch);
421
+ if (!s)
422
+ throw new Error(`Branch not found for commit ${t.id}`);
423
+ const e = r + a, n = s.pos;
424
+ E.set(t.id, { x: n, y: e });
425
+ }, "setRootPosition"), _r = /* @__PURE__ */ h((t, r, a, s, e, n) => {
426
+ if (n === u.HIGHLIGHT)
427
+ t.append("rect").attr("x", a.x - 10).attr("y", a.y - 10).attr("width", 20).attr("height", 20).attr(
428
+ "class",
429
+ `commit ${r.id} commit-highlight${e % O} ${s}-outer`
430
+ ), t.append("rect").attr("x", a.x - 6).attr("y", a.y - 6).attr("width", 12).attr("height", 12).attr(
431
+ "class",
432
+ `commit ${r.id} commit${e % O} ${s}-inner`
433
+ );
434
+ else if (n === u.CHERRY_PICK)
435
+ t.append("circle").attr("cx", a.x).attr("cy", a.y).attr("r", 10).attr("class", `commit ${r.id} ${s}`), t.append("circle").attr("cx", a.x - 3).attr("cy", a.y + 2).attr("r", 2.75).attr("fill", "#fff").attr("class", `commit ${r.id} ${s}`), t.append("circle").attr("cx", a.x + 3).attr("cy", a.y + 2).attr("r", 2.75).attr("fill", "#fff").attr("class", `commit ${r.id} ${s}`), t.append("line").attr("x1", a.x + 3).attr("y1", a.y + 1).attr("x2", a.x).attr("y2", a.y - 5).attr("stroke", "#fff").attr("class", `commit ${r.id} ${s}`), t.append("line").attr("x1", a.x - 3).attr("y1", a.y + 1).attr("x2", a.x).attr("y2", a.y - 5).attr("stroke", "#fff").attr("class", `commit ${r.id} ${s}`);
436
+ else {
437
+ const c = t.append("circle");
438
+ if (c.attr("cx", a.x), c.attr("cy", a.y), c.attr("r", r.type === u.MERGE ? 9 : 10), c.attr("class", `commit ${r.id} commit${e % O}`), n === u.MERGE) {
439
+ const o = t.append("circle");
440
+ o.attr("cx", a.x), o.attr("cy", a.y), o.attr("r", 6), o.attr(
441
+ "class",
442
+ `commit ${s} ${r.id} commit${e % O}`
443
+ );
444
+ }
445
+ n === u.REVERSE && t.append("path").attr(
446
+ "d",
447
+ `M ${a.x - 5},${a.y - 5}L${a.x + 5},${a.y + 5}M${a.x - 5},${a.y + 5}L${a.x + 5},${a.y - 5}`
448
+ ).attr("class", `commit ${s} ${r.id} commit${e % O}`);
449
+ }
450
+ }, "drawCommitBullet"), Vr = /* @__PURE__ */ h((t, r, a, s) => {
451
+ var e;
452
+ if (r.type !== u.CHERRY_PICK && (r.customId && r.type === u.MERGE || r.type !== u.MERGE) && (b != null && b.showCommitLabel)) {
453
+ const n = t.append("g"), c = n.insert("rect").attr("class", "commit-label-bkg"), o = n.append("text").attr("x", s).attr("y", a.y + 25).attr("class", "commit-label").text(r.id), $ = (e = o.node()) == null ? void 0 : e.getBBox();
454
+ if ($ && (c.attr("x", a.posWithOffset - $.width / 2 - L).attr("y", a.y + 13.5).attr("width", $.width + 2 * L).attr("height", $.height + 2 * L), x === "TB" || x === "BT" ? (c.attr("x", a.x - ($.width + 4 * k + 5)).attr("y", a.y - 12), o.attr("x", a.x - ($.width + 4 * k)).attr("y", a.y + $.height - 12)) : o.attr("x", a.posWithOffset - $.width / 2), b.rotateCommitLabel))
455
+ if (x === "TB" || x === "BT")
456
+ o.attr(
457
+ "transform",
458
+ "rotate(-45, " + a.x + ", " + a.y + ")"
459
+ ), c.attr(
460
+ "transform",
461
+ "rotate(-45, " + a.x + ", " + a.y + ")"
462
+ );
463
+ else {
464
+ const l = -7.5 - ($.width + 10) / 25 * 9.5, f = 10 + $.width / 25 * 8.5;
465
+ n.attr(
466
+ "transform",
467
+ "translate(" + l + ", " + f + ") rotate(-45, " + s + ", " + a.y + ")"
468
+ );
469
+ }
470
+ }
471
+ }, "drawCommitLabel"), Xr = /* @__PURE__ */ h((t, r, a, s) => {
472
+ var e;
473
+ if (r.tags.length > 0) {
474
+ let n = 0, c = 0, o = 0;
475
+ const $ = [];
476
+ for (const l of r.tags.reverse()) {
477
+ const f = t.insert("polygon"), g = t.append("circle"), d = t.append("text").attr("y", a.y - 16 - n).attr("class", "tag-label").text(l), y = (e = d.node()) == null ? void 0 : e.getBBox();
478
+ if (!y)
479
+ throw new Error("Tag bbox not found");
480
+ c = Math.max(c, y.width), o = Math.max(o, y.height), d.attr("x", a.posWithOffset - y.width / 2), $.push({
481
+ tag: d,
482
+ hole: g,
483
+ rect: f,
484
+ yOffset: n
485
+ }), n += 20;
486
+ }
487
+ for (const { tag: l, hole: f, rect: g, yOffset: d } of $) {
488
+ const y = o / 2, p = a.y - 19.2 - d;
489
+ if (g.attr("class", "tag-label-bkg").attr(
490
+ "points",
491
+ `
492
+ ${s - c / 2 - k / 2},${p + L}
493
+ ${s - c / 2 - k / 2},${p - L}
494
+ ${a.posWithOffset - c / 2 - k},${p - y - L}
495
+ ${a.posWithOffset + c / 2 + k},${p - y - L}
496
+ ${a.posWithOffset + c / 2 + k},${p + y + L}
497
+ ${a.posWithOffset - c / 2 - k},${p + y + L}`
498
+ ), f.attr("cy", p).attr("cx", s - c / 2 + k / 2).attr("r", 1.5).attr("class", "tag-hole"), x === "TB" || x === "BT") {
499
+ const w = s + d;
500
+ g.attr("class", "tag-label-bkg").attr(
501
+ "points",
502
+ `
503
+ ${a.x},${w + 2}
504
+ ${a.x},${w - 2}
505
+ ${a.x + R},${w - y - 2}
506
+ ${a.x + R + c + 4},${w - y - 2}
507
+ ${a.x + R + c + 4},${w + y + 2}
508
+ ${a.x + R},${w + y + 2}`
509
+ ).attr("transform", "translate(12,12) rotate(45, " + a.x + "," + s + ")"), f.attr("cx", a.x + k / 2).attr("cy", w).attr("transform", "translate(12,12) rotate(45, " + a.x + "," + s + ")"), l.attr("x", a.x + 5).attr("y", w + 3).attr("transform", "translate(14,14) rotate(45, " + a.x + "," + s + ")");
510
+ }
511
+ }
512
+ }
513
+ }, "drawCommitTags"), Jr = /* @__PURE__ */ h((t) => {
514
+ switch (t.customType ?? t.type) {
515
+ case u.NORMAL:
516
+ return "commit-normal";
517
+ case u.REVERSE:
518
+ return "commit-reverse";
519
+ case u.HIGHLIGHT:
520
+ return "commit-highlight";
521
+ case u.MERGE:
522
+ return "commit-merge";
523
+ case u.CHERRY_PICK:
524
+ return "commit-cherry-pick";
525
+ default:
526
+ return "commit-normal";
527
+ }
528
+ }, "getCommitClassType"), Qr = /* @__PURE__ */ h((t, r, a, s) => {
529
+ const e = { x: 0, y: 0 };
530
+ if (t.parents.length > 0) {
531
+ const n = Q(t.parents);
532
+ if (n) {
533
+ const c = s.get(n) ?? e;
534
+ return r === "TB" ? c.y + I : r === "BT" ? (s.get(t.id) ?? e).y - I : c.x + I;
535
+ }
536
+ } else
537
+ return r === "TB" ? P : r === "BT" ? (s.get(t.id) ?? e).y - I : 0;
538
+ return 0;
539
+ }, "calculatePosition"), Zr = /* @__PURE__ */ h((t, r, a) => {
540
+ var c, o;
541
+ const s = x === "BT" && a ? r : r + R, e = x === "TB" || x === "BT" ? s : (c = C.get(t.branch)) == null ? void 0 : c.pos, n = x === "TB" || x === "BT" ? (o = C.get(t.branch)) == null ? void 0 : o.pos : s;
542
+ if (n === void 0 || e === void 0)
543
+ throw new Error(`Position were undefined for commit ${t.id}`);
544
+ return { x: n, y: e, posWithOffset: s };
545
+ }, "getCommitPosition"), K = /* @__PURE__ */ h((t, r, a) => {
546
+ if (!b)
547
+ throw new Error("GitGraph config not found");
548
+ const s = t.append("g").attr("class", "commit-bullets"), e = t.append("g").attr("class", "commit-labels");
549
+ let n = x === "TB" || x === "BT" ? P : 0;
550
+ const c = [...r.keys()], o = (b == null ? void 0 : b.parallelCommits) ?? !1, $ = /* @__PURE__ */ h((f, g) => {
551
+ var p, w;
552
+ const d = (p = r.get(f)) == null ? void 0 : p.seq, y = (w = r.get(g)) == null ? void 0 : w.seq;
553
+ return d !== void 0 && y !== void 0 ? d - y : 0;
554
+ }, "sortKeys");
555
+ let l = c.sort($);
556
+ x === "BT" && (o && Dr(l, r, n), l = l.reverse()), l.forEach((f) => {
557
+ var y;
558
+ const g = r.get(f);
559
+ if (!g)
560
+ throw new Error(`Commit not found for key ${f}`);
561
+ o && (n = Qr(g, x, n, E));
562
+ const d = Zr(g, n, o);
563
+ if (a) {
564
+ const p = Jr(g), w = g.customType ?? g.type, q = ((y = C.get(g.branch)) == null ? void 0 : y.index) ?? 0;
565
+ _r(s, g, d, p, q, w), Vr(e, g, d, n), Xr(e, g, d, n);
566
+ }
567
+ x === "TB" || x === "BT" ? E.set(g.id, { x: d.x, y: d.posWithOffset }) : E.set(g.id, { x: d.posWithOffset, y: d.y }), n = x === "BT" && o ? n + I : n + I + R, n > M && (M = n);
568
+ });
569
+ }, "drawCommits"), Fr = /* @__PURE__ */ h((t, r, a, s, e) => {
570
+ const c = (x === "TB" || x === "BT" ? a.x < s.x : a.y < s.y) ? r.branch : t.branch, o = /* @__PURE__ */ h((l) => l.branch === c, "isOnBranchToGetCurve"), $ = /* @__PURE__ */ h((l) => l.seq > t.seq && l.seq < r.seq, "isBetweenCommits");
571
+ return [...e.values()].some((l) => $(l) && o(l));
572
+ }, "shouldRerouteArrow"), H = /* @__PURE__ */ h((t, r, a = 0) => {
573
+ const s = t + Math.abs(t - r) / 2;
574
+ if (a > 5)
575
+ return s;
576
+ if (W.every((c) => Math.abs(c - s) >= 10))
577
+ return W.push(s), s;
578
+ const n = Math.abs(t - r);
579
+ return H(t, r - n / 5, a + 1);
580
+ }, "findLane"), Ur = /* @__PURE__ */ h((t, r, a, s) => {
581
+ var y, p, w, q, Y;
582
+ const e = E.get(r.id), n = E.get(a.id);
583
+ if (e === void 0 || n === void 0)
584
+ throw new Error(`Commit positions not found for commits ${r.id} and ${a.id}`);
585
+ const c = Fr(r, a, e, n, s);
586
+ let o = "", $ = "", l = 0, f = 0, g = (y = C.get(a.branch)) == null ? void 0 : y.index;
587
+ a.type === u.MERGE && r.id !== a.parents[0] && (g = (p = C.get(r.branch)) == null ? void 0 : p.index);
588
+ let d;
589
+ if (c) {
590
+ o = "A 10 10, 0, 0, 0,", $ = "A 10 10, 0, 0, 1,", l = 10, f = 10;
591
+ const T = e.y < n.y ? H(e.y, n.y) : H(n.y, e.y), v = e.x < n.x ? H(e.x, n.x) : H(n.x, e.x);
592
+ x === "TB" ? e.x < n.x ? d = `M ${e.x} ${e.y} L ${v - l} ${e.y} ${$} ${v} ${e.y + f} L ${v} ${n.y - l} ${o} ${v + f} ${n.y} L ${n.x} ${n.y}` : (g = (w = C.get(r.branch)) == null ? void 0 : w.index, d = `M ${e.x} ${e.y} L ${v + l} ${e.y} ${o} ${v} ${e.y + f} L ${v} ${n.y - l} ${$} ${v - f} ${n.y} L ${n.x} ${n.y}`) : x === "BT" ? e.x < n.x ? d = `M ${e.x} ${e.y} L ${v - l} ${e.y} ${o} ${v} ${e.y - f} L ${v} ${n.y + l} ${$} ${v + f} ${n.y} L ${n.x} ${n.y}` : (g = (q = C.get(r.branch)) == null ? void 0 : q.index, d = `M ${e.x} ${e.y} L ${v + l} ${e.y} ${$} ${v} ${e.y - f} L ${v} ${n.y + l} ${o} ${v - f} ${n.y} L ${n.x} ${n.y}`) : e.y < n.y ? d = `M ${e.x} ${e.y} L ${e.x} ${T - l} ${o} ${e.x + f} ${T} L ${n.x - l} ${T} ${$} ${n.x} ${T + f} L ${n.x} ${n.y}` : (g = (Y = C.get(r.branch)) == null ? void 0 : Y.index, d = `M ${e.x} ${e.y} L ${e.x} ${T + l} ${$} ${e.x + f} ${T} L ${n.x - l} ${T} ${o} ${n.x} ${T - f} L ${n.x} ${n.y}`);
593
+ } else
594
+ o = "A 20 20, 0, 0, 0,", $ = "A 20 20, 0, 0, 1,", l = 20, f = 20, x === "TB" ? (e.x < n.x && (a.type === u.MERGE && r.id !== a.parents[0] ? d = `M ${e.x} ${e.y} L ${e.x} ${n.y - l} ${o} ${e.x + f} ${n.y} L ${n.x} ${n.y}` : d = `M ${e.x} ${e.y} L ${n.x - l} ${e.y} ${$} ${n.x} ${e.y + f} L ${n.x} ${n.y}`), e.x > n.x && (o = "A 20 20, 0, 0, 0,", $ = "A 20 20, 0, 0, 1,", l = 20, f = 20, a.type === u.MERGE && r.id !== a.parents[0] ? d = `M ${e.x} ${e.y} L ${e.x} ${n.y - l} ${$} ${e.x - f} ${n.y} L ${n.x} ${n.y}` : d = `M ${e.x} ${e.y} L ${n.x + l} ${e.y} ${o} ${n.x} ${e.y + f} L ${n.x} ${n.y}`), e.x === n.x && (d = `M ${e.x} ${e.y} L ${n.x} ${n.y}`)) : x === "BT" ? (e.x < n.x && (a.type === u.MERGE && r.id !== a.parents[0] ? d = `M ${e.x} ${e.y} L ${e.x} ${n.y + l} ${$} ${e.x + f} ${n.y} L ${n.x} ${n.y}` : d = `M ${e.x} ${e.y} L ${n.x - l} ${e.y} ${o} ${n.x} ${e.y - f} L ${n.x} ${n.y}`), e.x > n.x && (o = "A 20 20, 0, 0, 0,", $ = "A 20 20, 0, 0, 1,", l = 20, f = 20, a.type === u.MERGE && r.id !== a.parents[0] ? d = `M ${e.x} ${e.y} L ${e.x} ${n.y + l} ${o} ${e.x - f} ${n.y} L ${n.x} ${n.y}` : d = `M ${e.x} ${e.y} L ${n.x - l} ${e.y} ${o} ${n.x} ${e.y - f} L ${n.x} ${n.y}`), e.x === n.x && (d = `M ${e.x} ${e.y} L ${n.x} ${n.y}`)) : (e.y < n.y && (a.type === u.MERGE && r.id !== a.parents[0] ? d = `M ${e.x} ${e.y} L ${n.x - l} ${e.y} ${$} ${n.x} ${e.y + f} L ${n.x} ${n.y}` : d = `M ${e.x} ${e.y} L ${e.x} ${n.y - l} ${o} ${e.x + f} ${n.y} L ${n.x} ${n.y}`), e.y > n.y && (a.type === u.MERGE && r.id !== a.parents[0] ? d = `M ${e.x} ${e.y} L ${n.x - l} ${e.y} ${o} ${n.x} ${e.y - f} L ${n.x} ${n.y}` : d = `M ${e.x} ${e.y} L ${e.x} ${n.y + l} ${$} ${e.x + f} ${n.y} L ${n.x} ${n.y}`), e.y === n.y && (d = `M ${e.x} ${e.y} L ${n.x} ${n.y}`));
595
+ if (d === void 0)
596
+ throw new Error("Line definition not found");
597
+ t.append("path").attr("d", d).attr("class", "arrow arrow" + g % O);
598
+ }, "drawArrow"), re = /* @__PURE__ */ h((t, r) => {
599
+ const a = t.append("g").attr("class", "commit-arrows");
600
+ [...r.keys()].forEach((s) => {
601
+ const e = r.get(s);
602
+ e.parents && e.parents.length > 0 && e.parents.forEach((n) => {
603
+ Ur(a, r.get(n), e, r);
604
+ });
605
+ });
606
+ }, "drawArrows"), ee = /* @__PURE__ */ h((t, r) => {
607
+ const a = t.append("g");
608
+ r.forEach((s, e) => {
609
+ var p;
610
+ const n = e % O, c = (p = C.get(s.name)) == null ? void 0 : p.pos;
611
+ if (c === void 0)
612
+ throw new Error(`Position not found for branch ${s.name}`);
613
+ const o = a.append("line");
614
+ o.attr("x1", 0), o.attr("y1", c), o.attr("x2", M), o.attr("y2", c), o.attr("class", "branch branch" + n), x === "TB" ? (o.attr("y1", P), o.attr("x1", c), o.attr("y2", M), o.attr("x2", c)) : x === "BT" && (o.attr("y1", M), o.attr("x1", c), o.attr("y2", P), o.attr("x2", c)), W.push(c);
615
+ const $ = s.name, l = J($), f = a.insert("rect"), d = a.insert("g").attr("class", "branchLabel").insert("g").attr("class", "label branch-label" + n);
616
+ d.node().appendChild(l);
617
+ const y = l.getBBox();
618
+ f.attr("class", "branchLabelBkg label" + n).attr("rx", 4).attr("ry", 4).attr("x", -y.width - 4 - ((b == null ? void 0 : b.rotateCommitLabel) === !0 ? 30 : 0)).attr("y", -y.height / 2 + 8).attr("width", y.width + 18).attr("height", y.height + 4), d.attr(
619
+ "transform",
620
+ "translate(" + (-y.width - 14 - ((b == null ? void 0 : b.rotateCommitLabel) === !0 ? 30 : 0)) + ", " + (c - y.height / 2 - 1) + ")"
621
+ ), x === "TB" ? (f.attr("x", c - y.width / 2 - 10).attr("y", 0), d.attr("transform", "translate(" + (c - y.width / 2 - 5) + ", 0)")) : x === "BT" ? (f.attr("x", c - y.width / 2 - 10).attr("y", M), d.attr("transform", "translate(" + (c - y.width / 2 - 5) + ", " + M + ")")) : f.attr("transform", "translate(-19, " + (c - y.height / 2) + ")");
622
+ });
623
+ }, "drawBranches"), te = /* @__PURE__ */ h(function(t, r, a, s, e) {
624
+ return C.set(t, { pos: r, index: a }), r += 50 + (e ? 40 : 0) + (x === "TB" || x === "BT" ? s.width / 2 : 0), r;
625
+ }, "setBranchPosition"), ae = /* @__PURE__ */ h(function(t, r, a, s) {
626
+ if (jr(), m.debug("in gitgraph renderer", t + `
627
+ `, "id:", r, a), !b)
628
+ throw new Error("GitGraph config not found");
629
+ const e = b.rotateCommitLabel ?? !1, n = s.db;
630
+ G = n.getCommits();
631
+ const c = n.getBranchesAsObjArray();
632
+ x = n.getDirection();
633
+ const o = lr(`[id="${r}"]`);
634
+ let $ = 0;
635
+ c.forEach((l, f) => {
636
+ var q;
637
+ const g = J(l.name), d = o.append("g"), y = d.insert("g").attr("class", "branchLabel"), p = y.insert("g").attr("class", "label branch-label");
638
+ (q = p.node()) == null || q.appendChild(g);
639
+ const w = g.getBBox();
640
+ $ = te(l.name, $, f, w, e), p.remove(), y.remove(), d.remove();
641
+ }), K(o, G, !1), b.showBranches && ee(o, c), re(o, G), K(o, G, !0), $r.insertTitle(
642
+ o,
643
+ "gitTitleText",
644
+ b.titleTopMargin ?? 0,
645
+ n.getDiagramTitle()
646
+ ), fr(
647
+ void 0,
648
+ o,
649
+ b.diagramPadding,
650
+ b.useMaxWidth
651
+ );
652
+ }, "draw"), ne = {
653
+ draw: ae
654
+ }, se = /* @__PURE__ */ h((t) => `
655
+ .commit-id,
656
+ .commit-msg,
657
+ .branch-label {
658
+ fill: lightgrey;
659
+ color: lightgrey;
660
+ font-family: 'trebuchet ms', verdana, arial, sans-serif;
661
+ font-family: var(--mermaid-font-family);
662
+ }
663
+ ${[0, 1, 2, 3, 4, 5, 6, 7].map(
664
+ (r) => `
665
+ .branch-label${r} { fill: ${t["gitBranchLabel" + r]}; }
666
+ .commit${r} { stroke: ${t["git" + r]}; fill: ${t["git" + r]}; }
667
+ .commit-highlight${r} { stroke: ${t["gitInv" + r]}; fill: ${t["gitInv" + r]}; }
668
+ .label${r} { fill: ${t["git" + r]}; }
669
+ .arrow${r} { stroke: ${t["git" + r]}; }
670
+ `
671
+ ).join(`
672
+ `)}
673
+
674
+ .branch {
675
+ stroke-width: 1;
676
+ stroke: ${t.lineColor};
677
+ stroke-dasharray: 2;
678
+ }
679
+ .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelColor};}
680
+ .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelBackground}; opacity: 0.5; }
681
+ .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}
682
+ .tag-label-bkg { fill: ${t.tagLabelBackground}; stroke: ${t.tagLabelBorder}; }
683
+ .tag-hole { fill: ${t.textColor}; }
684
+
685
+ .commit-merge {
686
+ stroke: ${t.primaryColor};
687
+ fill: ${t.primaryColor};
688
+ }
689
+ .commit-reverse {
690
+ stroke: ${t.primaryColor};
691
+ fill: ${t.primaryColor};
692
+ stroke-width: 3;
693
+ }
694
+ .commit-highlight-outer {
695
+ }
696
+ .commit-highlight-inner {
697
+ stroke: ${t.primaryColor};
698
+ fill: ${t.primaryColor};
699
+ }
700
+
701
+ .arrow { stroke-width: 8; stroke-linecap: round; fill: none}
702
+ .gitTitleText {
703
+ text-anchor: middle;
704
+ font-size: 18px;
705
+ fill: ${t.textColor};
706
+ }
707
+ `, "getStyles"), oe = se, ge = {
708
+ parser: Wr,
709
+ db: X,
710
+ renderer: ne,
711
+ styles: oe
712
+ };
713
+ export {
714
+ ge as diagram
715
+ };