@foris/avocado-not-front 1.11.7-beta.4 → 1.12.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 (342) hide show
  1. package/dist/abap-Y8Dl9g_6-Y8Dl9g_6.js +6 -0
  2. package/dist/actionscript-3-DZzbMeqX-DZzbMeqX.js +6 -0
  3. package/dist/ada-vP6ak0IW-vP6ak0IW.js +6 -0
  4. package/dist/andromeeda-BIpZ7gaU-BIpZ7gaU.js +4 -0
  5. package/dist/angular-html-DPB4Rf0C-1_1_4tyh.js +34 -0
  6. package/dist/angular-ts-CeqPwKaz-ohSx1G-R.js +24 -0
  7. package/dist/apache-BUjz-sD2-BUjz-sD2.js +6 -0
  8. package/dist/apex-oLhhs58q-oLhhs58q.js +6 -0
  9. package/dist/apl-Bfz1rp5e-DI6exAvT.js +17 -0
  10. package/dist/applescript-BPx7YFFu-BPx7YFFu.js +6 -0
  11. package/dist/ara-Z2fSOxSw-Z2fSOxSw.js +6 -0
  12. package/dist/arc-DHSZg76Q-C6o4oFmD.js +85 -0
  13. package/dist/architectureDiagram-VXUJARFQ-Cp8vugxX-9O3-degh.js +4672 -0
  14. package/dist/asciidoc-B-pCoB3G-B-pCoB3G.js +6 -0
  15. package/dist/asm-BTWLY5ym-BTWLY5ym.js +6 -0
  16. package/dist/astro-CFFExE8Q-D857V_mk.js +18 -0
  17. package/dist/aurora-x-BwoVEUWZ-BwoVEUWZ.js +4 -0
  18. package/dist/avocado-not-front.es.js +8 -2167
  19. package/dist/avocado-not-front.umd.js +4642 -3
  20. package/dist/awk-Fb0P9dkn-Fb0P9dkn.js +6 -0
  21. package/dist/ayu-dark-CxPZkpb2-CxPZkpb2.js +4 -0
  22. package/dist/ballerina-oZK-YekG-oZK-YekG.js +6 -0
  23. package/dist/bat-0FvbqU9S-0FvbqU9S.js +6 -0
  24. package/dist/beancount-DqJEb89h-DqJEb89h.js +6 -0
  25. package/dist/berry-DODBq_Ff-DODBq_Ff.js +6 -0
  26. package/dist/bibtex-EULQRLY5-EULQRLY5.js +6 -0
  27. package/dist/bicep-BorU73w0-BorU73w0.js +6 -0
  28. package/dist/blade-DRRSiTQz-DuQj1Sqy.js +21 -0
  29. package/dist/blockDiagram-VD42YOAC-B4cTulr6-CNlYtTjf.js +2407 -0
  30. package/dist/bsl-NkNNwerW-DeWv6DbE.js +8 -0
  31. package/dist/c-eeMepfLm-eeMepfLm.js +6 -0
  32. package/dist/c4Diagram-YG6GDRKO-B8--s8xx-CZw1PsLU.js +1585 -0
  33. package/dist/cadence-02UX7mW8-02UX7mW8.js +6 -0
  34. package/dist/cairo-DM6WF2e3-BLxuUSuB.js +8 -0
  35. package/dist/catppuccin-frappe-D3cH2rXe-D3cH2rXe.js +4 -0
  36. package/dist/catppuccin-latte-C0LRGUW4-C0LRGUW4.js +4 -0
  37. package/dist/catppuccin-macchiato-c5wQ11TT-c5wQ11TT.js +4 -0
  38. package/dist/catppuccin-mocha-WMD6Qvya-WMD6Qvya.js +4 -0
  39. package/dist/channel-Cqk_cOiy-72hMZ_v0.js +5 -0
  40. package/dist/chunk-4BX2VUAB-Cb-wAjVN-DlY_dtbp.js +9 -0
  41. package/dist/chunk-55IACEB6-QFXfbMHG-AnxyrPT-.js +8 -0
  42. package/dist/chunk-B4BG7PRW-CFs53zrP-DB12fnkn.js +1375 -0
  43. package/dist/chunk-DI55MBZ5-CKjAOeh7-D98MsfUL.js +1383 -0
  44. package/dist/chunk-FMBD7UC4-B29MtLTn-tjtGIWPm.js +19 -0
  45. package/dist/chunk-QN33PNHL-5bU-bM6A-vK9OZVa6.js +20 -0
  46. package/dist/chunk-QZHKN3VN-B_Q6cMrq-78n0e61s.js +15 -0
  47. package/dist/chunk-TZMSLE5B-DlULRafu-BlGLxuE_.js +64 -0
  48. package/dist/clarity-PKm5CwqM-PKm5CwqM.js +6 -0
  49. package/dist/classDiagram-2ON5EDUG-DJmXfcVi-CF8YlvOv.js +22 -0
  50. package/dist/classDiagram-v2-WZHVMYZB-DJmXfcVi-CF8YlvOv.js +22 -0
  51. package/dist/clojure-CXJfHrL3-CXJfHrL3.js +6 -0
  52. package/dist/cmake-BJz8BOTU-BJz8BOTU.js +6 -0
  53. package/dist/cobol-DYTFdEK1-1eoMdnt0.js +12 -0
  54. package/dist/code-block-QI2IAROF-C_F85uim-MNaL7yo9.js +2805 -0
  55. package/dist/codeowners-Bt9yU6NX-Bt9yU6NX.js +6 -0
  56. package/dist/codeql-DHkodjjI-DHkodjjI.js +6 -0
  57. package/dist/coffee-DGBR_nr_-Cu5d6u6p.js +8 -0
  58. package/dist/common-lisp-EVqT9Zhp-EVqT9Zhp.js +6 -0
  59. package/dist/coq-B0L9upzn-B0L9upzn.js +6 -0
  60. package/dist/cose-bilkent-S5V4N54A-N3jM_XQd-BbbJbKzj.js +2612 -0
  61. package/dist/cpp-ZFnOq6fV-CkUSzFY-.js +19 -0
  62. package/dist/crystal-CRJyc4G--B_7jzPPy.js +18 -0
  63. package/dist/csharp-C7yUs7-w-C7yUs7-w.js +6 -0
  64. package/dist/css-CECN5uSL-CECN5uSL.js +6 -0
  65. package/dist/csv-CmYOceLb-DlI6xKnA.js +6 -0
  66. package/dist/cue-ZzumE7IT-ZzumE7IT.js +6 -0
  67. package/dist/cypher-jpdmjtA6-jpdmjtA6.js +6 -0
  68. package/dist/cytoscape.esm-ClN43hhW-Dh4GqQxb.js +18836 -0
  69. package/dist/d-CBagWSwH-CBagWSwH.js +6 -0
  70. package/dist/dagre-6UL2VRFP-CJdrtgOu-CLaqjT6l.js +451 -0
  71. package/dist/dark-plus-pUHDTVV0-pUHDTVV0.js +4 -0
  72. package/dist/dart-6ObCrKr9-6ObCrKr9.js +6 -0
  73. package/dist/dax-CcDT-8dH-CcDT-8dH.js +6 -0
  74. package/dist/defaultLocale-DcQU6Vee-C62bXCQv.js +177 -0
  75. package/dist/desktop-B93p9R9O-B93p9R9O.js +6 -0
  76. package/dist/diagram-PSM6KHXK-DSaDqHvO-DVH1Sew6.js +544 -0
  77. package/dist/diagram-QEK2KX5R-BbxboH_--DYDmO4S1.js +224 -0
  78. package/dist/diagram-S2PKOQOG-DWsCb5He--yPVUK-A.js +146 -0
  79. package/dist/diff-BxzP2J8R-BxzP2J8R.js +6 -0
  80. package/dist/docker-CsHqm9tx-CsHqm9tx.js +6 -0
  81. package/dist/dotenv-BMjVjUL1-BMjVjUL1.js +6 -0
  82. package/dist/dracula-BtZx2Kac-BtZx2Kac.js +4 -0
  83. package/dist/dracula-soft-BKa-aqBv-BKa-aqBv.js +4 -0
  84. package/dist/dream-maker-PAx17jaB-PAx17jaB.js +6 -0
  85. package/dist/edge-B882-fmN-CXsL8OuZ.js +14 -0
  86. package/dist/elixir-DRzNHQCz-EnC5QsDh.js +10 -0
  87. package/dist/elm-DZPAA5Qn-BCPZo0aa.js +9 -0
  88. package/dist/emacs-lisp-Cfxdx5D--Cfxdx5D-.js +6 -0
  89. package/dist/erDiagram-Q2GNP2WA-Bl0uHx93-Cm6cgw10.js +844 -0
  90. package/dist/erb-DB1DqdBc-CnAEHkSC.js +27 -0
  91. package/dist/erlang-DNcDT8Hi-Cs3llSSi.js +8 -0
  92. package/dist/everforest-dark-DMCBqXCK-DMCBqXCK.js +4 -0
  93. package/dist/everforest-light-BbXl82Em-BbXl82Em.js +4 -0
  94. package/dist/fennel-N4WcXuKx-N4WcXuKx.js +6 -0
  95. package/dist/fish-BTDEUgqH-BTDEUgqH.js +6 -0
  96. package/dist/flowDiagram-NV44I4VS-Dq0mXT8f-BL0sk42H.js +1631 -0
  97. package/dist/fluent-BMXUxfv1-BMXUxfv1.js +6 -0
  98. package/dist/fortran-fixed-form-DUsA-VGo-CYX4aMfD.js +8 -0
  99. package/dist/fortran-free-form-DPIT_jbP-DPIT_jbP.js +6 -0
  100. package/dist/fsharp-CYOiIVNx-D3KYyprZ.js +8 -0
  101. package/dist/ganttDiagram-JELNMOA3-Dj1adndm-BODWVm5T.js +2702 -0
  102. package/dist/gdresource-BwtMIoBm-DVtwhfL2.js +10 -0
  103. package/dist/gdscript-BifyeYhI-BifyeYhI.js +6 -0
  104. package/dist/gdshader-Bk8fF6yr-Bk8fF6yr.js +6 -0
  105. package/dist/genie-DzUvd7U9-DzUvd7U9.js +6 -0
  106. package/dist/gherkin-DHRaV0YP-DHRaV0YP.js +6 -0
  107. package/dist/git-commit-Bd32YZ0K-D9qSjMiw.js +8 -0
  108. package/dist/git-rebase-ZWUFO_T4-uqUGWt5o.js +8 -0
  109. package/dist/gitGraphDiagram-NY62KEGX-DIFZugA1-BsIE257G.js +715 -0
  110. package/dist/github-dark-DenFmJkN-DenFmJkN.js +4 -0
  111. package/dist/github-dark-default-BJPUVz4H-BJPUVz4H.js +4 -0
  112. package/dist/github-dark-dimmed-DUshB20C-DUshB20C.js +4 -0
  113. package/dist/github-dark-high-contrast-D3aGCnF8-D3aGCnF8.js +4 -0
  114. package/dist/github-light-JYsPkUQd-JYsPkUQd.js +4 -0
  115. package/dist/github-light-default-D99KPAby-D99KPAby.js +4 -0
  116. package/dist/github-light-high-contrast-BbmZE-Mp-BbmZE-Mp.js +4 -0
  117. package/dist/gleam-Bv284lvN-Bv284lvN.js +6 -0
  118. package/dist/glimmer-js-DkxNrfPT-Dr8vv_dk.js +14 -0
  119. package/dist/glimmer-ts-D6YZEmK_-CeJS1lkt.js +14 -0
  120. package/dist/glsl-CkUcVZNK-D6P60Alb.js +8 -0
  121. package/dist/gnuplot-yPG9-sE_-yPG9-sE_.js +6 -0
  122. package/dist/go-ChxJuLYK-ChxJuLYK.js +6 -0
  123. package/dist/graph-DB2UxkYH-Bs-uwV4G.js +1190 -0
  124. package/dist/graphql-CBu2ehBn-B9KpeKh4.js +14 -0
  125. package/dist/groovy-CJQTphOW-CJQTphOW.js +6 -0
  126. package/dist/gruvbox-dark-hard-C5HOtKIh-C5HOtKIh.js +4 -0
  127. package/dist/gruvbox-dark-medium-FVgwJHuz-FVgwJHuz.js +4 -0
  128. package/dist/gruvbox-dark-soft-B46F314v-B46F314v.js +4 -0
  129. package/dist/gruvbox-light-hard-CJD38wDZ-CJD38wDZ.js +4 -0
  130. package/dist/gruvbox-light-medium-BlIhMYTA-BlIhMYTA.js +4 -0
  131. package/dist/gruvbox-light-soft-DoPHyLVZ-DoPHyLVZ.js +4 -0
  132. package/dist/hack-DVWgrvc2-CFszvyOs.js +12 -0
  133. package/dist/haml-NZLVzu_R-6sAynSNG.js +10 -0
  134. package/dist/handlebars-mxStpSE7-C1GOcwW1.js +14 -0
  135. package/dist/haskell-WeIwNIP6-WeIwNIP6.js +6 -0
  136. package/dist/haxe-TztHsm5T-TztHsm5T.js +6 -0
  137. package/dist/hcl-D438OF-I-D438OF-I.js +6 -0
  138. package/dist/hjson-DYBUbqOl-DYBUbqOl.js +6 -0
  139. package/dist/hlsl-Bk8TCZNL-Bk8TCZNL.js +6 -0
  140. package/dist/hooks/useAction.d.ts +3 -3
  141. package/dist/houston-BDYrDoDW-BDYrDoDW.js +4 -0
  142. package/dist/html-B50bmoVb-BJ3eCZKL.js +10 -0
  143. package/dist/html-derivative-ByyNxAP5-BxLhKRHw.js +10 -0
  144. package/dist/http-BVIWqb92-CjnDmEd8.js +19 -0
  145. package/dist/hurl-B8OTiYoQ-DoRwHSAy.js +17 -0
  146. package/dist/hxml-GbqSQCLa-BnvJylRx.js +8 -0
  147. package/dist/hy-Brt5EZ7--Brt5EZ7-.js +6 -0
  148. package/dist/imba-CimUv-Uh-CimUv-Uh.js +6 -0
  149. package/dist/infoDiagram-WHAUD3N6-DPjzRs82-ChgGSBbk.js +27 -0
  150. package/dist/ini-BZIuRIvJ-BZIuRIvJ.js +6 -0
  151. package/dist/init-DjUOC4st-C8Nwz6AJ.js +16 -0
  152. package/dist/java-DY6VlHhP-DY6VlHhP.js +6 -0
  153. package/dist/javascript-C25yR2R2-C25yR2R2.js +6 -0
  154. package/dist/jinja-CI-LSgSv-BEWEZ83m.js +13 -0
  155. package/dist/jison-DdreslRX-DzaoIrEq.js +8 -0
  156. package/dist/journeyDiagram-XKPGCS4Q-DLrlPVyq-DYzqQ6Qu.js +840 -0
  157. package/dist/json-DxJze_jm-DxJze_jm.js +6 -0
  158. package/dist/json5-BT4Fjg39-BT4Fjg39.js +6 -0
  159. package/dist/jsonc-CHjZD8gR-CHjZD8gR.js +6 -0
  160. package/dist/jsonl-BGuvDmy9-BGuvDmy9.js +6 -0
  161. package/dist/jsonnet-Bx2cfsXg-Bx2cfsXg.js +6 -0
  162. package/dist/jssm-BcADi6EI-BcADi6EI.js +6 -0
  163. package/dist/jsx-BtKADgXT-BtKADgXT.js +6 -0
  164. package/dist/julia-ll8P6QXy-CifMye9u.js +19 -0
  165. package/dist/kanagawa-dragon-CiKur4Hl-CiKur4Hl.js +4 -0
  166. package/dist/kanagawa-lotus-BKu-smKu-BKu-smKu.js +4 -0
  167. package/dist/kanagawa-wave-CQwozSzG-CQwozSzG.js +4 -0
  168. package/dist/kanban-definition-3W4ZIXB7-BTI5yGHx-Bz8MmnxI.js +724 -0
  169. package/dist/katex.min-l0sNRNKZ-l0sNRNKZ.js +1 -0
  170. package/dist/kdl-BNOv9TC3-0Q4F1UAs.js +6 -0
  171. package/dist/kotlin-ByBMgTeR-ByBMgTeR.js +6 -0
  172. package/dist/kusto-VWFLl2T0-VWFLl2T0.js +6 -0
  173. package/dist/laserwave-6a00oqik-6a00oqik.js +4 -0
  174. package/dist/latex-DF20280u-RMy1LUrW.js +9 -0
  175. package/dist/layout-Q6wQN5dr-BC95Y2G0.js +1727 -0
  176. package/dist/lean-D5yRrexI-D5yRrexI.js +6 -0
  177. package/dist/less-B1GLI2Di-B1GLI2Di.js +6 -0
  178. package/dist/light-plus-CZuVqSLX-CZuVqSLX.js +4 -0
  179. package/dist/linear-UL3ZZUJv-CWZvrkAD.js +277 -0
  180. package/dist/liquid-CHzkx3jT-G75tv0iE.js +14 -0
  181. package/dist/llvm-co1rIKs3-co1rIKs3.js +6 -0
  182. package/dist/log-Al8wyEFV-Al8wyEFV.js +6 -0
  183. package/dist/logo-DBa4JDzV-DBa4JDzV.js +6 -0
  184. package/dist/lua-kX5WP_P5-DxLUTRud.js +8 -0
  185. package/dist/luau-DtBSxLyz-DtBSxLyz.js +6 -0
  186. package/dist/make-CsMclxtr-CsMclxtr.js +6 -0
  187. package/dist/markdown-CrScaQ96-CrScaQ96.js +6 -0
  188. package/dist/marko-ls0Jg2j8-BHrfxEh0.js +14 -0
  189. package/dist/material-theme-D6KBX41T-D6KBX41T.js +4 -0
  190. package/dist/material-theme-darker-CkRroheE-CkRroheE.js +4 -0
  191. package/dist/material-theme-lighter-BUBw43Yz-BUBw43Yz.js +4 -0
  192. package/dist/material-theme-ocean-ClGX14Ja-ClGX14Ja.js +4 -0
  193. package/dist/material-theme-palenight-C1RVm8K1-C1RVm8K1.js +4 -0
  194. package/dist/matlab-BOAaUVP0-BOAaUVP0.js +6 -0
  195. package/dist/mdc-DIP5_jeM-Cff0amyo.js +15 -0
  196. package/dist/mdx-BOhZZUJ8-BOhZZUJ8.js +6 -0
  197. package/dist/mermaid-B0ixDHKN-B0ixDHKN.js +6 -0
  198. package/dist/mermaid-NA5CF7SZ-BDJrKfjz-Cq0tva8U.js +140994 -0
  199. package/dist/mermaid.core-Cpfp0NBU-DQS-fLaZ.js +14401 -0
  200. package/dist/min-dark-C7ak0t6c-C7ak0t6c.js +4 -0
  201. package/dist/min-light-CKFxVcPp-CKFxVcPp.js +4 -0
  202. package/dist/mindmap-definition-VGOIOE7T-B6ovfeib-CXlRkpn9.js +790 -0
  203. package/dist/mipsasm-CTx18fBl-CTx18fBl.js +6 -0
  204. package/dist/mojo-BD611d7o-BD611d7o.js +6 -0
  205. package/dist/monokai-C1KBYcO0-C1KBYcO0.js +4 -0
  206. package/dist/move-F-dICmj2-F-dICmj2.js +6 -0
  207. package/dist/narrat-DmhDCBs--DmhDCBs-.js +6 -0
  208. package/dist/nextflow-DmSVRGjG-DmSVRGjG.js +6 -0
  209. package/dist/nginx-COxS3qoU-CvZmIOfz.js +9 -0
  210. package/dist/night-owl-Bm2rzalh-Bm2rzalh.js +4 -0
  211. package/dist/nim-CCwXZLHG-CVhjPGL5.js +21 -0
  212. package/dist/nix-BZK5F767-BZK5F767.js +9 -0
  213. package/dist/nord-CC5OiUXg-CC5OiUXg.js +4 -0
  214. package/dist/nushell-D8j3dhT--D8j3dhT-.js +6 -0
  215. package/dist/objective-c-Itk8tzmv-Itk8tzmv.js +6 -0
  216. package/dist/objective-cpp-DGt5UKRO-DGt5UKRO.js +6 -0
  217. package/dist/ocaml-eSVK32Eg-eSVK32Eg.js +6 -0
  218. package/dist/one-dark-pro-DTA3VF0_-DTA3VF0_.js +4 -0
  219. package/dist/one-light-D9sNaUtq-D9sNaUtq.js +4 -0
  220. package/dist/openscad-Sp5uZ6f2-Sp5uZ6f2.js +6 -0
  221. package/dist/ordinal-MUacOSdK-B1MUT0BL.js +65 -0
  222. package/dist/pascal-xy8pJNns-xy8pJNns.js +6 -0
  223. package/dist/perl-NvKK8p2P-DbsmNmLT.js +17 -0
  224. package/dist/php-CK5hNnT0-DEpqLZ_n.js +19 -0
  225. package/dist/pieDiagram-ADFJNKIX-Bn24elWA-iGwy_4tX.js +166 -0
  226. package/dist/pkl-C-zSNmaA-C-zSNmaA.js +6 -0
  227. package/dist/plastic-CSTz3KZp-CSTz3KZp.js +4 -0
  228. package/dist/plsql-pVbGZfOv-pVbGZfOv.js +6 -0
  229. package/dist/po-BNfHvqmm-BNfHvqmm.js +6 -0
  230. package/dist/poimandres-C-VADXHD-C-VADXHD.js +4 -0
  231. package/dist/polar-CAZahv3u-CAZahv3u.js +6 -0
  232. package/dist/postcss-05aHdL-n-05aHdL-n.js +6 -0
  233. package/dist/powerquery-DI9HkTvs-DI9HkTvs.js +6 -0
  234. package/dist/powershell-Clc4ydu--Clc4ydu-.js +6 -0
  235. package/dist/prisma-FZjmVtSl-FZjmVtSl.js +6 -0
  236. package/dist/prolog-C5-yg4TO-C5-yg4TO.js +6 -0
  237. package/dist/proto-MmCPeFAD-MmCPeFAD.js +6 -0
  238. package/dist/pug-XOw9Q1Ho-BO4tUzTj.js +12 -0
  239. package/dist/puppet-CUJHmnxV-CUJHmnxV.js +6 -0
  240. package/dist/purescript-rUfGld-4-rUfGld-4.js +6 -0
  241. package/dist/python-BFNSHbwJ-BFNSHbwJ.js +6 -0
  242. package/dist/qml-rTNXsquU-DeTe0b4l.js +8 -0
  243. package/dist/qmldir-BInDYbpo-BInDYbpo.js +6 -0
  244. package/dist/qss-AeJTysr_-AeJTysr_.js +6 -0
  245. package/dist/quadrantDiagram-AYHSOK5B-CsbmyLll-CFP8fgtI.js +1030 -0
  246. package/dist/r-Bm0uF0U2-Bm0uF0U2.js +6 -0
  247. package/dist/racket-B83wSAja-B83wSAja.js +6 -0
  248. package/dist/raku-nEQ4ZJJ7-nEQ4ZJJ7.js +6 -0
  249. package/dist/razor-CoqPuKQU-DUBs-Qe6.js +12 -0
  250. package/dist/red-7y8PH7HH-7y8PH7HH.js +4 -0
  251. package/dist/reg-m_s_Kiip-m_s_Kiip.js +6 -0
  252. package/dist/regexp-BazyLpPg-BazyLpPg.js +6 -0
  253. package/dist/rel-BcRfyd6Q-BcRfyd6Q.js +6 -0
  254. package/dist/requirementDiagram-UZGBJVZJ--9rfbKaz-CC8EZoyz.js +854 -0
  255. package/dist/riscv-Ce8MAQLP-Ce8MAQLP.js +6 -0
  256. package/dist/rose-pine-BKc3yVeu-BKc3yVeu.js +4 -0
  257. package/dist/rose-pine-dawn-BulJcPZT-BulJcPZT.js +4 -0
  258. package/dist/rose-pine-moon-j6jiXKV8-j6jiXKV8.js +4 -0
  259. package/dist/rosmsg-Cz0w1km8-Cz0w1km8.js +6 -0
  260. package/dist/rst-AoEjemIj-Dr7TcJwd.js +36 -0
  261. package/dist/ruby-CGSl8JoB-D4hDjzwe.js +36 -0
  262. package/dist/rust-CLzF9zIN-CLzF9zIN.js +6 -0
  263. package/dist/sankeyDiagram-TZEHDZUN-Cp2id-3k-DhByp8vU.js +830 -0
  264. package/dist/sas-fpEvgATw-D9dNv8Ej.js +8 -0
  265. package/dist/sass-DxHp5rTx-DxHp5rTx.js +6 -0
  266. package/dist/scala-D4grkFkl-D4grkFkl.js +6 -0
  267. package/dist/scheme-BCRWuEm4-BCRWuEm4.js +6 -0
  268. package/dist/scss-B1FaCqwR-DbNEJJFR.js +8 -0
  269. package/dist/sdbl-B7T8abf4-B7T8abf4.js +6 -0
  270. package/dist/sequenceDiagram-WL72ISMW-Bdoz1Co7-DcFuWrLs.js +2526 -0
  271. package/dist/services/axios/useFetchAndLoad.d.ts +1 -1
  272. package/dist/shaderlab-Cr62-Wb4-D_jbKjpl.js +8 -0
  273. package/dist/shellscript-InADTalH-InADTalH.js +6 -0
  274. package/dist/shellsession-DiDJNQdy-BGvYrs9g.js +8 -0
  275. package/dist/slack-dark-i7wN4OET-i7wN4OET.js +4 -0
  276. package/dist/slack-ochin-ndHf0LoP-ndHf0LoP.js +4 -0
  277. package/dist/smalltalk-BlI1_OkM-BlI1_OkM.js +6 -0
  278. package/dist/snazzy-light-BlSJXAu4-BlSJXAu4.js +4 -0
  279. package/dist/solarized-dark-UTmkh7lw-UTmkh7lw.js +4 -0
  280. package/dist/solarized-light-BheCkDPT-BheCkDPT.js +4 -0
  281. package/dist/solidity-DUWnFhS6-DUWnFhS6.js +6 -0
  282. package/dist/soy-YPoZ1G2p-C1q7UQeu.js +10 -0
  283. package/dist/sparql-B0KWFEri-CqC-y0Su.js +8 -0
  284. package/dist/splunk-CRXR8A9s-CRXR8A9s.js +6 -0
  285. package/dist/sql-Cn_v3PB0-Cn_v3PB0.js +6 -0
  286. package/dist/ssh-config-DP-hNVbF-DP-hNVbF.js +6 -0
  287. package/dist/stata-B8c5fTjX-Bf3brRPV.js +8 -0
  288. package/dist/stateDiagram-FKZM4ZOC-BLHxjrc8-FBnBvaVW.js +268 -0
  289. package/dist/stateDiagram-v2-4FDKWEC3-CbxCwS8b-B_Pfgmu4.js +21 -0
  290. package/dist/style.css +1 -1
  291. package/dist/stylus-CyKEU1Ej-CyKEU1Ej.js +6 -0
  292. package/dist/svelte-5UasyOg7-e8KUCojE.js +14 -0
  293. package/dist/swift-9UzSvamq-9UzSvamq.js +6 -0
  294. package/dist/synthwave-84-NU3C_KFZ-NU3C_KFZ.js +4 -0
  295. package/dist/system-verilog-BCm7smPJ-BCm7smPJ.js +6 -0
  296. package/dist/systemd-C-4qm6XH-C-4qm6XH.js +6 -0
  297. package/dist/talonscript-CFF3LF_O-CvtCkGGO.js +6 -0
  298. package/dist/tasl-Cg_WBUAe-Cg_WBUAe.js +6 -0
  299. package/dist/tcl-DN7buRTF-DN7buRTF.js +6 -0
  300. package/dist/templ-peLZIM2D-DkTUdVi-.js +12 -0
  301. package/dist/terraform-DGvcn9zM-DGvcn9zM.js +6 -0
  302. package/dist/tex-DpOayVob-BjP51rYh.js +8 -0
  303. package/dist/timeline-definition-IT6M3QCI-s3Wsbz6h-DfdfMl2Q.js +805 -0
  304. package/dist/tokyo-night-DP4TmcQl-DP4TmcQl.js +4 -0
  305. package/dist/toml-DY62mUL_-DY62mUL_.js +6 -0
  306. package/dist/treemap-KMMF4GRG-D_L55G0b-CANAYd5X.js +15006 -0
  307. package/dist/ts-tags-CWmBp2js-DrKIoTCJ.js +43 -0
  308. package/dist/tsv-BtvSkaG0-BtvSkaG0.js +6 -0
  309. package/dist/tsx-B8rCNbgL-B8rCNbgL.js +6 -0
  310. package/dist/turtle-_H59FV7D-_H59FV7D.js +6 -0
  311. package/dist/twig-Cpoho6oi-CQE9XWXP.js +35 -0
  312. package/dist/typescript-RycA9KXf-RycA9KXf.js +6 -0
  313. package/dist/typespec-DWqp-kUU-DWqp-kUU.js +6 -0
  314. package/dist/typst-D_1QKWns-D_1QKWns.js +6 -0
  315. package/dist/v-BPCNiyYe-BPCNiyYe.js +6 -0
  316. package/dist/vala-uxaPR7d1-uxaPR7d1.js +6 -0
  317. package/dist/vb-D8_c5-KN-D8_c5-KN.js +6 -0
  318. package/dist/verilog-B-bybjPF-B-bybjPF.js +6 -0
  319. package/dist/vesper-BckBta1U-BckBta1U.js +4 -0
  320. package/dist/vhdl-CUlNa8ac-CUlNa8ac.js +6 -0
  321. package/dist/viml-DsfA-sWm-DsfA-sWm.js +6 -0
  322. package/dist/vitesse-black-BoGvW84i-BoGvW84i.js +4 -0
  323. package/dist/vitesse-dark-Cym-eLtO-Cym-eLtO.js +4 -0
  324. package/dist/vitesse-light-CcmG315c-CcmG315c.js +4 -0
  325. package/dist/vue-DmFKWfEU-DXvRBLDJ.js +31 -0
  326. package/dist/vue-html-BB2aI7Yc-e0S8MQFq.js +15 -0
  327. package/dist/vue-vine-CznNap4x-DAbzn77p.js +24 -0
  328. package/dist/vyper-CPQuu50u-CPQuu50u.js +6 -0
  329. package/dist/wasm-BBXxrAl7-BBXxrAl7.js +6 -0
  330. package/dist/wasm-DQxwEHae-DQxwEHae.js +7 -0
  331. package/dist/wenyan-pbVjoM9_-pbVjoM9_.js +6 -0
  332. package/dist/wgsl-DY4iK1q1-DY4iK1q1.js +6 -0
  333. package/dist/wikitext-Z-MoUasO-Z-MoUasO.js +6 -0
  334. package/dist/wit-CQMQOlTg-CQMQOlTg.js +6 -0
  335. package/dist/wolfram-Dz4KXISs-Dz4KXISs.js +6 -0
  336. package/dist/xml-C2J0sS9M-IZlib8U3.js +8 -0
  337. package/dist/xsl-CbTBIiv3-CgleMmCH.js +9 -0
  338. package/dist/xychartDiagram-PRI3JC2R-D3ejwy7u-CFsnZXTL.js +1345 -0
  339. package/dist/yaml-DaO7k5B1-DaO7k5B1.js +6 -0
  340. package/dist/zenscript-CxBjpf9c-CxBjpf9c.js +6 -0
  341. package/dist/zig-Vm0PO9wB-Vm0PO9wB.js +6 -0
  342. package/package.json +25 -42
@@ -0,0 +1,830 @@
1
+ import { _ as p, d as lt, g as xt, s as kt, b as vt, c as bt, p as wt, o as St, v as Et, e as Lt, x as Mt, j as Q, ad as At } from "./mermaid.core-Cpfp0NBU-DQS-fLaZ.js";
2
+ import { h as Tt } from "./ordinal-MUacOSdK-B1MUT0BL.js";
3
+ import "./mermaid-NA5CF7SZ-BDJrKfjz-Cq0tva8U.js";
4
+ import "react";
5
+ import "react-dom";
6
+ import "./init-DjUOC4st-C8Nwz6AJ.js";
7
+ function Pt(t) {
8
+ for (var n = t.length / 6 | 0, r = new Array(n), a = 0; a < n; )
9
+ r[a] = "#" + t.slice(a * 6, ++a * 6);
10
+ return r;
11
+ }
12
+ const Nt = Pt("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");
13
+ function ct(t, n) {
14
+ let r;
15
+ if (n === void 0)
16
+ for (const a of t)
17
+ a != null && (r < a || r === void 0 && a >= a) && (r = a);
18
+ else {
19
+ let a = -1;
20
+ for (let c of t)
21
+ (c = n(c, ++a, t)) != null && (r < c || r === void 0 && c >= c) && (r = c);
22
+ }
23
+ return r;
24
+ }
25
+ function pt(t, n) {
26
+ let r;
27
+ if (n === void 0)
28
+ for (const a of t)
29
+ a != null && (r > a || r === void 0 && a >= a) && (r = a);
30
+ else {
31
+ let a = -1;
32
+ for (let c of t)
33
+ (c = n(c, ++a, t)) != null && (r > c || r === void 0 && c >= c) && (r = c);
34
+ }
35
+ return r;
36
+ }
37
+ function tt(t, n) {
38
+ let r = 0;
39
+ if (n === void 0)
40
+ for (let a of t)
41
+ (a = +a) && (r += a);
42
+ else {
43
+ let a = -1;
44
+ for (let c of t)
45
+ (c = +n(c, ++a, t)) && (r += c);
46
+ }
47
+ return r;
48
+ }
49
+ function Ot(t) {
50
+ return t.target.depth;
51
+ }
52
+ function Ct(t) {
53
+ return t.depth;
54
+ }
55
+ function $t(t, n) {
56
+ return n - 1 - t.height;
57
+ }
58
+ function _t(t, n) {
59
+ return t.sourceLinks.length ? t.depth : n - 1;
60
+ }
61
+ function Dt(t) {
62
+ return t.targetLinks.length ? t.depth : t.sourceLinks.length ? pt(t.sourceLinks, Ot) - 1 : 0;
63
+ }
64
+ function R(t) {
65
+ return function() {
66
+ return t;
67
+ };
68
+ }
69
+ function ht(t, n) {
70
+ return X(t.source, n.source) || t.index - n.index;
71
+ }
72
+ function ut(t, n) {
73
+ return X(t.target, n.target) || t.index - n.index;
74
+ }
75
+ function X(t, n) {
76
+ return t.y0 - n.y0;
77
+ }
78
+ function et(t) {
79
+ return t.value;
80
+ }
81
+ function It(t) {
82
+ return t.index;
83
+ }
84
+ function jt(t) {
85
+ return t.nodes;
86
+ }
87
+ function zt(t) {
88
+ return t.links;
89
+ }
90
+ function ft(t, n) {
91
+ const r = t.get(n);
92
+ if (!r)
93
+ throw new Error("missing: " + n);
94
+ return r;
95
+ }
96
+ function yt({ nodes: t }) {
97
+ for (const n of t) {
98
+ let r = n.y0, a = r;
99
+ for (const c of n.sourceLinks)
100
+ c.y0 = r + c.width / 2, r += c.width;
101
+ for (const c of n.targetLinks)
102
+ c.y1 = a + c.width / 2, a += c.width;
103
+ }
104
+ }
105
+ function Ft() {
106
+ let t = 0, n = 0, r = 1, a = 1, c = 24, k = 8, _, m = It, i = _t, o, f, g = jt, y = zt, w = 6;
107
+ function v() {
108
+ const e = { nodes: g.apply(null, arguments), links: y.apply(null, arguments) };
109
+ return N(e), A(e), T(e), $(e), O(e), yt(e), e;
110
+ }
111
+ v.update = function(e) {
112
+ return yt(e), e;
113
+ }, v.nodeId = function(e) {
114
+ return arguments.length ? (m = typeof e == "function" ? e : R(e), v) : m;
115
+ }, v.nodeAlign = function(e) {
116
+ return arguments.length ? (i = typeof e == "function" ? e : R(e), v) : i;
117
+ }, v.nodeSort = function(e) {
118
+ return arguments.length ? (o = e, v) : o;
119
+ }, v.nodeWidth = function(e) {
120
+ return arguments.length ? (c = +e, v) : c;
121
+ }, v.nodePadding = function(e) {
122
+ return arguments.length ? (k = _ = +e, v) : k;
123
+ }, v.nodes = function(e) {
124
+ return arguments.length ? (g = typeof e == "function" ? e : R(e), v) : g;
125
+ }, v.links = function(e) {
126
+ return arguments.length ? (y = typeof e == "function" ? e : R(e), v) : y;
127
+ }, v.linkSort = function(e) {
128
+ return arguments.length ? (f = e, v) : f;
129
+ }, v.size = function(e) {
130
+ return arguments.length ? (t = n = 0, r = +e[0], a = +e[1], v) : [r - t, a - n];
131
+ }, v.extent = function(e) {
132
+ return arguments.length ? (t = +e[0][0], r = +e[1][0], n = +e[0][1], a = +e[1][1], v) : [[t, n], [r, a]];
133
+ }, v.iterations = function(e) {
134
+ return arguments.length ? (w = +e, v) : w;
135
+ };
136
+ function N({ nodes: e, links: u }) {
137
+ for (const [h, s] of e.entries())
138
+ s.index = h, s.sourceLinks = [], s.targetLinks = [];
139
+ const l = new Map(e.map((h, s) => [m(h, s, e), h]));
140
+ for (const [h, s] of u.entries()) {
141
+ s.index = h;
142
+ let { source: x, target: b } = s;
143
+ typeof x != "object" && (x = s.source = ft(l, x)), typeof b != "object" && (b = s.target = ft(l, b)), x.sourceLinks.push(s), b.targetLinks.push(s);
144
+ }
145
+ if (f != null)
146
+ for (const { sourceLinks: h, targetLinks: s } of e)
147
+ h.sort(f), s.sort(f);
148
+ }
149
+ function A({ nodes: e }) {
150
+ for (const u of e)
151
+ u.value = u.fixedValue === void 0 ? Math.max(tt(u.sourceLinks, et), tt(u.targetLinks, et)) : u.fixedValue;
152
+ }
153
+ function T({ nodes: e }) {
154
+ const u = e.length;
155
+ let l = new Set(e), h = /* @__PURE__ */ new Set(), s = 0;
156
+ for (; l.size; ) {
157
+ for (const x of l) {
158
+ x.depth = s;
159
+ for (const { target: b } of x.sourceLinks)
160
+ h.add(b);
161
+ }
162
+ if (++s > u)
163
+ throw new Error("circular link");
164
+ l = h, h = /* @__PURE__ */ new Set();
165
+ }
166
+ }
167
+ function $({ nodes: e }) {
168
+ const u = e.length;
169
+ let l = new Set(e), h = /* @__PURE__ */ new Set(), s = 0;
170
+ for (; l.size; ) {
171
+ for (const x of l) {
172
+ x.height = s;
173
+ for (const { source: b } of x.targetLinks)
174
+ h.add(b);
175
+ }
176
+ if (++s > u)
177
+ throw new Error("circular link");
178
+ l = h, h = /* @__PURE__ */ new Set();
179
+ }
180
+ }
181
+ function P({ nodes: e }) {
182
+ const u = ct(e, (s) => s.depth) + 1, l = (r - t - c) / (u - 1), h = new Array(u);
183
+ for (const s of e) {
184
+ const x = Math.max(0, Math.min(u - 1, Math.floor(i.call(null, s, u))));
185
+ s.layer = x, s.x0 = t + x * l, s.x1 = s.x0 + c, h[x] ? h[x].push(s) : h[x] = [s];
186
+ }
187
+ if (o)
188
+ for (const s of h)
189
+ s.sort(o);
190
+ return h;
191
+ }
192
+ function S(e) {
193
+ const u = pt(e, (l) => (a - n - (l.length - 1) * _) / tt(l, et));
194
+ for (const l of e) {
195
+ let h = n;
196
+ for (const s of l) {
197
+ s.y0 = h, s.y1 = h + s.value * u, h = s.y1 + _;
198
+ for (const x of s.sourceLinks)
199
+ x.width = x.value * u;
200
+ }
201
+ h = (a - h + _) / (l.length + 1);
202
+ for (let s = 0; s < l.length; ++s) {
203
+ const x = l[s];
204
+ x.y0 += h * (s + 1), x.y1 += h * (s + 1);
205
+ }
206
+ I(l);
207
+ }
208
+ }
209
+ function O(e) {
210
+ const u = P(e);
211
+ _ = Math.min(k, (a - n) / (ct(u, (l) => l.length) - 1)), S(u);
212
+ for (let l = 0; l < w; ++l) {
213
+ const h = Math.pow(0.99, l), s = Math.max(1 - h, (l + 1) / w);
214
+ C(u, h, s), D(u, h, s);
215
+ }
216
+ }
217
+ function D(e, u, l) {
218
+ for (let h = 1, s = e.length; h < s; ++h) {
219
+ const x = e[h];
220
+ for (const b of x) {
221
+ let G = 0, j = 0;
222
+ for (const { source: V, value: J } of b.targetLinks) {
223
+ let q = J * (b.layer - V.layer);
224
+ G += M(V, b) * q, j += q;
225
+ }
226
+ if (!(j > 0))
227
+ continue;
228
+ let B = (G / j - b.y0) * u;
229
+ b.y0 += B, b.y1 += B, E(b);
230
+ }
231
+ o === void 0 && x.sort(X), d(x, l);
232
+ }
233
+ }
234
+ function C(e, u, l) {
235
+ for (let h = e.length, s = h - 2; s >= 0; --s) {
236
+ const x = e[s];
237
+ for (const b of x) {
238
+ let G = 0, j = 0;
239
+ for (const { target: V, value: J } of b.sourceLinks) {
240
+ let q = J * (V.layer - b.layer);
241
+ G += W(b, V) * q, j += q;
242
+ }
243
+ if (!(j > 0))
244
+ continue;
245
+ let B = (G / j - b.y0) * u;
246
+ b.y0 += B, b.y1 += B, E(b);
247
+ }
248
+ o === void 0 && x.sort(X), d(x, l);
249
+ }
250
+ }
251
+ function d(e, u) {
252
+ const l = e.length >> 1, h = e[l];
253
+ U(e, h.y0 - _, l - 1, u), L(e, h.y1 + _, l + 1, u), U(e, a, e.length - 1, u), L(e, n, 0, u);
254
+ }
255
+ function L(e, u, l, h) {
256
+ for (; l < e.length; ++l) {
257
+ const s = e[l], x = (u - s.y0) * h;
258
+ x > 1e-6 && (s.y0 += x, s.y1 += x), u = s.y1 + _;
259
+ }
260
+ }
261
+ function U(e, u, l, h) {
262
+ for (; l >= 0; --l) {
263
+ const s = e[l], x = (s.y1 - u) * h;
264
+ x > 1e-6 && (s.y0 -= x, s.y1 -= x), u = s.y0 - _;
265
+ }
266
+ }
267
+ function E({ sourceLinks: e, targetLinks: u }) {
268
+ if (f === void 0) {
269
+ for (const { source: { sourceLinks: l } } of u)
270
+ l.sort(ut);
271
+ for (const { target: { targetLinks: l } } of e)
272
+ l.sort(ht);
273
+ }
274
+ }
275
+ function I(e) {
276
+ if (f === void 0)
277
+ for (const { sourceLinks: u, targetLinks: l } of e)
278
+ u.sort(ut), l.sort(ht);
279
+ }
280
+ function M(e, u) {
281
+ let l = e.y0 - (e.sourceLinks.length - 1) * _ / 2;
282
+ for (const { target: h, width: s } of e.sourceLinks) {
283
+ if (h === u)
284
+ break;
285
+ l += s + _;
286
+ }
287
+ for (const { source: h, width: s } of u.targetLinks) {
288
+ if (h === e)
289
+ break;
290
+ l -= s;
291
+ }
292
+ return l;
293
+ }
294
+ function W(e, u) {
295
+ let l = u.y0 - (u.targetLinks.length - 1) * _ / 2;
296
+ for (const { source: h, width: s } of u.targetLinks) {
297
+ if (h === e)
298
+ break;
299
+ l += s + _;
300
+ }
301
+ for (const { target: h, width: s } of e.sourceLinks) {
302
+ if (h === u)
303
+ break;
304
+ l -= s;
305
+ }
306
+ return l;
307
+ }
308
+ return v;
309
+ }
310
+ var rt = Math.PI, st = 2 * rt, z = 1e-6, Ut = st - z;
311
+ function ot() {
312
+ this._x0 = this._y0 = // start of current subpath
313
+ this._x1 = this._y1 = null, this._ = "";
314
+ }
315
+ function mt() {
316
+ return new ot();
317
+ }
318
+ ot.prototype = mt.prototype = {
319
+ constructor: ot,
320
+ moveTo: function(t, n) {
321
+ this._ += "M" + (this._x0 = this._x1 = +t) + "," + (this._y0 = this._y1 = +n);
322
+ },
323
+ closePath: function() {
324
+ this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._ += "Z");
325
+ },
326
+ lineTo: function(t, n) {
327
+ this._ += "L" + (this._x1 = +t) + "," + (this._y1 = +n);
328
+ },
329
+ quadraticCurveTo: function(t, n, r, a) {
330
+ this._ += "Q" + +t + "," + +n + "," + (this._x1 = +r) + "," + (this._y1 = +a);
331
+ },
332
+ bezierCurveTo: function(t, n, r, a, c, k) {
333
+ this._ += "C" + +t + "," + +n + "," + +r + "," + +a + "," + (this._x1 = +c) + "," + (this._y1 = +k);
334
+ },
335
+ arcTo: function(t, n, r, a, c) {
336
+ t = +t, n = +n, r = +r, a = +a, c = +c;
337
+ var k = this._x1, _ = this._y1, m = r - t, i = a - n, o = k - t, f = _ - n, g = o * o + f * f;
338
+ if (c < 0)
339
+ throw new Error("negative radius: " + c);
340
+ if (this._x1 === null)
341
+ this._ += "M" + (this._x1 = t) + "," + (this._y1 = n);
342
+ else if (g > z)
343
+ if (!(Math.abs(f * m - i * o) > z) || !c)
344
+ this._ += "L" + (this._x1 = t) + "," + (this._y1 = n);
345
+ else {
346
+ var y = r - k, w = a - _, v = m * m + i * i, N = y * y + w * w, A = Math.sqrt(v), T = Math.sqrt(g), $ = c * Math.tan((rt - Math.acos((v + g - N) / (2 * A * T))) / 2), P = $ / T, S = $ / A;
347
+ Math.abs(P - 1) > z && (this._ += "L" + (t + P * o) + "," + (n + P * f)), this._ += "A" + c + "," + c + ",0,0," + +(f * y > o * w) + "," + (this._x1 = t + S * m) + "," + (this._y1 = n + S * i);
348
+ }
349
+ },
350
+ arc: function(t, n, r, a, c, k) {
351
+ t = +t, n = +n, r = +r, k = !!k;
352
+ var _ = r * Math.cos(a), m = r * Math.sin(a), i = t + _, o = n + m, f = 1 ^ k, g = k ? a - c : c - a;
353
+ if (r < 0)
354
+ throw new Error("negative radius: " + r);
355
+ this._x1 === null ? this._ += "M" + i + "," + o : (Math.abs(this._x1 - i) > z || Math.abs(this._y1 - o) > z) && (this._ += "L" + i + "," + o), r && (g < 0 && (g = g % st + st), g > Ut ? this._ += "A" + r + "," + r + ",0,1," + f + "," + (t - _) + "," + (n - m) + "A" + r + "," + r + ",0,1," + f + "," + (this._x1 = i) + "," + (this._y1 = o) : g > z && (this._ += "A" + r + "," + r + ",0," + +(g >= rt) + "," + f + "," + (this._x1 = t + r * Math.cos(c)) + "," + (this._y1 = n + r * Math.sin(c))));
356
+ },
357
+ rect: function(t, n, r, a) {
358
+ this._ += "M" + (this._x0 = this._x1 = +t) + "," + (this._y0 = this._y1 = +n) + "h" + +r + "v" + +a + "h" + -r + "Z";
359
+ },
360
+ toString: function() {
361
+ return this._;
362
+ }
363
+ };
364
+ function dt(t) {
365
+ return function() {
366
+ return t;
367
+ };
368
+ }
369
+ function Wt(t) {
370
+ return t[0];
371
+ }
372
+ function Gt(t) {
373
+ return t[1];
374
+ }
375
+ var Bt = Array.prototype.slice;
376
+ function Vt(t) {
377
+ return t.source;
378
+ }
379
+ function qt(t) {
380
+ return t.target;
381
+ }
382
+ function Qt(t) {
383
+ var n = Vt, r = qt, a = Wt, c = Gt, k = null;
384
+ function _() {
385
+ var m, i = Bt.call(arguments), o = n.apply(this, i), f = r.apply(this, i);
386
+ if (k || (k = m = mt()), t(k, +a.apply(this, (i[0] = o, i)), +c.apply(this, i), +a.apply(this, (i[0] = f, i)), +c.apply(this, i)), m)
387
+ return k = null, m + "" || null;
388
+ }
389
+ return _.source = function(m) {
390
+ return arguments.length ? (n = m, _) : n;
391
+ }, _.target = function(m) {
392
+ return arguments.length ? (r = m, _) : r;
393
+ }, _.x = function(m) {
394
+ return arguments.length ? (a = typeof m == "function" ? m : dt(+m), _) : a;
395
+ }, _.y = function(m) {
396
+ return arguments.length ? (c = typeof m == "function" ? m : dt(+m), _) : c;
397
+ }, _.context = function(m) {
398
+ return arguments.length ? (k = m ?? null, _) : k;
399
+ }, _;
400
+ }
401
+ function Rt(t, n, r, a, c) {
402
+ t.moveTo(n, r), t.bezierCurveTo(n = (n + a) / 2, r, n, c, a, c);
403
+ }
404
+ function Xt() {
405
+ return Qt(Rt);
406
+ }
407
+ function Yt(t) {
408
+ return [t.source.x1, t.y0];
409
+ }
410
+ function Kt(t) {
411
+ return [t.target.x0, t.y1];
412
+ }
413
+ function Zt() {
414
+ return Xt().source(Yt).target(Kt);
415
+ }
416
+ var at = function() {
417
+ var t = /* @__PURE__ */ p(function(m, i, o, f) {
418
+ for (o = o || {}, f = m.length; f--; o[m[f]] = i)
419
+ ;
420
+ return o;
421
+ }, "o"), n = [1, 9], r = [1, 10], a = [1, 5, 10, 12], c = {
422
+ trace: /* @__PURE__ */ p(function() {
423
+ }, "trace"),
424
+ yy: {},
425
+ symbols_: { error: 2, start: 3, SANKEY: 4, NEWLINE: 5, csv: 6, opt_eof: 7, record: 8, csv_tail: 9, EOF: 10, "field[source]": 11, COMMA: 12, "field[target]": 13, "field[value]": 14, field: 15, escaped: 16, non_escaped: 17, DQUOTE: 18, ESCAPED_TEXT: 19, NON_ESCAPED_TEXT: 20, $accept: 0, $end: 1 },
426
+ terminals_: { 2: "error", 4: "SANKEY", 5: "NEWLINE", 10: "EOF", 11: "field[source]", 12: "COMMA", 13: "field[target]", 14: "field[value]", 18: "DQUOTE", 19: "ESCAPED_TEXT", 20: "NON_ESCAPED_TEXT" },
427
+ productions_: [0, [3, 4], [6, 2], [9, 2], [9, 0], [7, 1], [7, 0], [8, 5], [15, 1], [15, 1], [16, 3], [17, 1]],
428
+ performAction: /* @__PURE__ */ p(function(m, i, o, f, g, y, w) {
429
+ var v = y.length - 1;
430
+ switch (g) {
431
+ case 7:
432
+ const N = f.findOrCreateNode(y[v - 4].trim().replaceAll('""', '"')), A = f.findOrCreateNode(y[v - 2].trim().replaceAll('""', '"')), T = parseFloat(y[v].trim());
433
+ f.addLink(N, A, T);
434
+ break;
435
+ case 8:
436
+ case 9:
437
+ case 11:
438
+ this.$ = y[v];
439
+ break;
440
+ case 10:
441
+ this.$ = y[v - 1];
442
+ break;
443
+ }
444
+ }, "anonymous"),
445
+ table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, { 5: [1, 3] }, { 6: 4, 8: 5, 15: 6, 16: 7, 17: 8, 18: n, 20: r }, { 1: [2, 6], 7: 11, 10: [1, 12] }, t(r, [2, 4], { 9: 13, 5: [1, 14] }), { 12: [1, 15] }, t(a, [2, 8]), t(a, [2, 9]), { 19: [1, 16] }, t(a, [2, 11]), { 1: [2, 1] }, { 1: [2, 5] }, t(r, [2, 2]), { 6: 17, 8: 5, 15: 6, 16: 7, 17: 8, 18: n, 20: r }, { 15: 18, 16: 7, 17: 8, 18: n, 20: r }, { 18: [1, 19] }, t(r, [2, 3]), { 12: [1, 20] }, t(a, [2, 10]), { 15: 21, 16: 7, 17: 8, 18: n, 20: r }, t([1, 5, 10], [2, 7])],
446
+ defaultActions: { 11: [2, 1], 12: [2, 5] },
447
+ parseError: /* @__PURE__ */ p(function(m, i) {
448
+ if (i.recoverable)
449
+ this.trace(m);
450
+ else {
451
+ var o = new Error(m);
452
+ throw o.hash = i, o;
453
+ }
454
+ }, "parseError"),
455
+ parse: /* @__PURE__ */ p(function(m) {
456
+ var i = this, o = [0], f = [], g = [null], y = [], w = this.table, v = "", N = 0, A = 0, T = 2, $ = 1, P = y.slice.call(arguments, 1), S = Object.create(this.lexer), O = { yy: {} };
457
+ for (var D in this.yy)
458
+ Object.prototype.hasOwnProperty.call(this.yy, D) && (O.yy[D] = this.yy[D]);
459
+ S.setInput(m, O.yy), O.yy.lexer = S, O.yy.parser = this, typeof S.yylloc > "u" && (S.yylloc = {});
460
+ var C = S.yylloc;
461
+ y.push(C);
462
+ var d = S.options && S.options.ranges;
463
+ typeof O.yy.parseError == "function" ? this.parseError = O.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
464
+ function L(b) {
465
+ o.length = o.length - 2 * b, g.length = g.length - b, y.length = y.length - b;
466
+ }
467
+ p(L, "popStack");
468
+ function U() {
469
+ var b;
470
+ return b = f.pop() || S.lex() || $, typeof b != "number" && (b instanceof Array && (f = b, b = f.pop()), b = i.symbols_[b] || b), b;
471
+ }
472
+ p(U, "lex");
473
+ for (var E, I, M, W, e = {}, u, l, h, s; ; ) {
474
+ if (I = o[o.length - 1], this.defaultActions[I] ? M = this.defaultActions[I] : ((E === null || typeof E > "u") && (E = U()), M = w[I] && w[I][E]), typeof M > "u" || !M.length || !M[0]) {
475
+ var x = "";
476
+ s = [];
477
+ for (u in w[I])
478
+ this.terminals_[u] && u > T && s.push("'" + this.terminals_[u] + "'");
479
+ S.showPosition ? x = "Parse error on line " + (N + 1) + `:
480
+ ` + S.showPosition() + `
481
+ Expecting ` + s.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : x = "Parse error on line " + (N + 1) + ": Unexpected " + (E == $ ? "end of input" : "'" + (this.terminals_[E] || E) + "'"), this.parseError(x, {
482
+ text: S.match,
483
+ token: this.terminals_[E] || E,
484
+ line: S.yylineno,
485
+ loc: C,
486
+ expected: s
487
+ });
488
+ }
489
+ if (M[0] instanceof Array && M.length > 1)
490
+ throw new Error("Parse Error: multiple actions possible at state: " + I + ", token: " + E);
491
+ switch (M[0]) {
492
+ case 1:
493
+ o.push(E), g.push(S.yytext), y.push(S.yylloc), o.push(M[1]), E = null, A = S.yyleng, v = S.yytext, N = S.yylineno, C = S.yylloc;
494
+ break;
495
+ case 2:
496
+ if (l = this.productions_[M[1]][1], e.$ = g[g.length - l], e._$ = {
497
+ first_line: y[y.length - (l || 1)].first_line,
498
+ last_line: y[y.length - 1].last_line,
499
+ first_column: y[y.length - (l || 1)].first_column,
500
+ last_column: y[y.length - 1].last_column
501
+ }, d && (e._$.range = [
502
+ y[y.length - (l || 1)].range[0],
503
+ y[y.length - 1].range[1]
504
+ ]), W = this.performAction.apply(e, [
505
+ v,
506
+ A,
507
+ N,
508
+ O.yy,
509
+ M[1],
510
+ g,
511
+ y
512
+ ].concat(P)), typeof W < "u")
513
+ return W;
514
+ l && (o = o.slice(0, -1 * l * 2), g = g.slice(0, -1 * l), y = y.slice(0, -1 * l)), o.push(this.productions_[M[1]][0]), g.push(e.$), y.push(e._$), h = w[o[o.length - 2]][o[o.length - 1]], o.push(h);
515
+ break;
516
+ case 3:
517
+ return !0;
518
+ }
519
+ }
520
+ return !0;
521
+ }, "parse")
522
+ }, k = /* @__PURE__ */ function() {
523
+ var m = {
524
+ EOF: 1,
525
+ parseError: /* @__PURE__ */ p(function(i, o) {
526
+ if (this.yy.parser)
527
+ this.yy.parser.parseError(i, o);
528
+ else
529
+ throw new Error(i);
530
+ }, "parseError"),
531
+ // resets the lexer, sets new input
532
+ setInput: /* @__PURE__ */ p(function(i, o) {
533
+ return this.yy = o || 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 = {
534
+ first_line: 1,
535
+ first_column: 0,
536
+ last_line: 1,
537
+ last_column: 0
538
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
539
+ }, "setInput"),
540
+ // consumes and returns one char from the input
541
+ input: /* @__PURE__ */ p(function() {
542
+ var i = this._input[0];
543
+ this.yytext += i, this.yyleng++, this.offset++, this.match += i, this.matched += i;
544
+ var o = i.match(/(?:\r\n?|\n).*/g);
545
+ return o ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), i;
546
+ }, "input"),
547
+ // unshifts one char (or a string) into the input
548
+ unput: /* @__PURE__ */ p(function(i) {
549
+ var o = i.length, f = i.split(/(?:\r\n?|\n)/g);
550
+ this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - o), this.offset -= o;
551
+ var g = this.match.split(/(?:\r\n?|\n)/g);
552
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), f.length - 1 && (this.yylineno -= f.length - 1);
553
+ var y = this.yylloc.range;
554
+ return this.yylloc = {
555
+ first_line: this.yylloc.first_line,
556
+ last_line: this.yylineno + 1,
557
+ first_column: this.yylloc.first_column,
558
+ last_column: f ? (f.length === g.length ? this.yylloc.first_column : 0) + g[g.length - f.length].length - f[0].length : this.yylloc.first_column - o
559
+ }, this.options.ranges && (this.yylloc.range = [y[0], y[0] + this.yyleng - o]), this.yyleng = this.yytext.length, this;
560
+ }, "unput"),
561
+ // When called from action, caches matched text and appends it on next action
562
+ more: /* @__PURE__ */ p(function() {
563
+ return this._more = !0, this;
564
+ }, "more"),
565
+ // 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.
566
+ reject: /* @__PURE__ */ p(function() {
567
+ if (this.options.backtrack_lexer)
568
+ this._backtrack = !0;
569
+ else
570
+ 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).
571
+ ` + this.showPosition(), {
572
+ text: "",
573
+ token: null,
574
+ line: this.yylineno
575
+ });
576
+ return this;
577
+ }, "reject"),
578
+ // retain first n characters of the match
579
+ less: /* @__PURE__ */ p(function(i) {
580
+ this.unput(this.match.slice(i));
581
+ }, "less"),
582
+ // displays already matched input, i.e. for error messages
583
+ pastInput: /* @__PURE__ */ p(function() {
584
+ var i = this.matched.substr(0, this.matched.length - this.match.length);
585
+ return (i.length > 20 ? "..." : "") + i.substr(-20).replace(/\n/g, "");
586
+ }, "pastInput"),
587
+ // displays upcoming input, i.e. for error messages
588
+ upcomingInput: /* @__PURE__ */ p(function() {
589
+ var i = this.match;
590
+ return i.length < 20 && (i += this._input.substr(0, 20 - i.length)), (i.substr(0, 20) + (i.length > 20 ? "..." : "")).replace(/\n/g, "");
591
+ }, "upcomingInput"),
592
+ // displays the character position where the lexing error occurred, i.e. for error messages
593
+ showPosition: /* @__PURE__ */ p(function() {
594
+ var i = this.pastInput(), o = new Array(i.length + 1).join("-");
595
+ return i + this.upcomingInput() + `
596
+ ` + o + "^";
597
+ }, "showPosition"),
598
+ // test the lexed token: return FALSE when not a match, otherwise return token
599
+ test_match: /* @__PURE__ */ p(function(i, o) {
600
+ var f, g, y;
601
+ if (this.options.backtrack_lexer && (y = {
602
+ yylineno: this.yylineno,
603
+ yylloc: {
604
+ first_line: this.yylloc.first_line,
605
+ last_line: this.last_line,
606
+ first_column: this.yylloc.first_column,
607
+ last_column: this.yylloc.last_column
608
+ },
609
+ yytext: this.yytext,
610
+ match: this.match,
611
+ matches: this.matches,
612
+ matched: this.matched,
613
+ yyleng: this.yyleng,
614
+ offset: this.offset,
615
+ _more: this._more,
616
+ _input: this._input,
617
+ yy: this.yy,
618
+ conditionStack: this.conditionStack.slice(0),
619
+ done: this.done
620
+ }, this.options.ranges && (y.yylloc.range = this.yylloc.range.slice(0))), g = i[0].match(/(?:\r\n?|\n).*/g), g && (this.yylineno += g.length), this.yylloc = {
621
+ first_line: this.yylloc.last_line,
622
+ last_line: this.yylineno + 1,
623
+ first_column: this.yylloc.last_column,
624
+ last_column: g ? g[g.length - 1].length - g[g.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + i[0].length
625
+ }, 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], f = this.performAction.call(this, this.yy, this, o, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), f)
626
+ return f;
627
+ if (this._backtrack) {
628
+ for (var w in y)
629
+ this[w] = y[w];
630
+ return !1;
631
+ }
632
+ return !1;
633
+ }, "test_match"),
634
+ // return next match in input
635
+ next: /* @__PURE__ */ p(function() {
636
+ if (this.done)
637
+ return this.EOF;
638
+ this._input || (this.done = !0);
639
+ var i, o, f, g;
640
+ this._more || (this.yytext = "", this.match = "");
641
+ for (var y = this._currentRules(), w = 0; w < y.length; w++)
642
+ if (f = this._input.match(this.rules[y[w]]), f && (!o || f[0].length > o[0].length)) {
643
+ if (o = f, g = w, this.options.backtrack_lexer) {
644
+ if (i = this.test_match(f, y[w]), i !== !1)
645
+ return i;
646
+ if (this._backtrack) {
647
+ o = !1;
648
+ continue;
649
+ } else
650
+ return !1;
651
+ } else if (!this.options.flex)
652
+ break;
653
+ }
654
+ return o ? (i = this.test_match(o, y[g]), i !== !1 ? i : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
655
+ ` + this.showPosition(), {
656
+ text: "",
657
+ token: null,
658
+ line: this.yylineno
659
+ });
660
+ }, "next"),
661
+ // return next match that has a token
662
+ lex: /* @__PURE__ */ p(function() {
663
+ var i = this.next();
664
+ return i || this.lex();
665
+ }, "lex"),
666
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
667
+ begin: /* @__PURE__ */ p(function(i) {
668
+ this.conditionStack.push(i);
669
+ }, "begin"),
670
+ // pop the previously active lexer condition state off the condition stack
671
+ popState: /* @__PURE__ */ p(function() {
672
+ var i = this.conditionStack.length - 1;
673
+ return i > 0 ? this.conditionStack.pop() : this.conditionStack[0];
674
+ }, "popState"),
675
+ // produce the lexer rule set which is active for the currently active lexer condition state
676
+ _currentRules: /* @__PURE__ */ p(function() {
677
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
678
+ }, "_currentRules"),
679
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
680
+ topState: /* @__PURE__ */ p(function(i) {
681
+ return i = this.conditionStack.length - 1 - Math.abs(i || 0), i >= 0 ? this.conditionStack[i] : "INITIAL";
682
+ }, "topState"),
683
+ // alias for begin(condition)
684
+ pushState: /* @__PURE__ */ p(function(i) {
685
+ this.begin(i);
686
+ }, "pushState"),
687
+ // return the number of states currently on the stack
688
+ stateStackSize: /* @__PURE__ */ p(function() {
689
+ return this.conditionStack.length;
690
+ }, "stateStackSize"),
691
+ options: { "case-insensitive": !0 },
692
+ performAction: /* @__PURE__ */ p(function(i, o, f, g) {
693
+ switch (f) {
694
+ case 0:
695
+ return this.pushState("csv"), 4;
696
+ case 1:
697
+ return this.pushState("csv"), 4;
698
+ case 2:
699
+ return 10;
700
+ case 3:
701
+ return 5;
702
+ case 4:
703
+ return 12;
704
+ case 5:
705
+ return this.pushState("escaped_text"), 18;
706
+ case 6:
707
+ return 20;
708
+ case 7:
709
+ return this.popState("escaped_text"), 18;
710
+ case 8:
711
+ return 19;
712
+ }
713
+ }, "anonymous"),
714
+ rules: [/^(?:sankey-beta\b)/i, /^(?:sankey\b)/i, /^(?:$)/i, /^(?:((\u000D\u000A)|(\u000A)))/i, /^(?:(\u002C))/i, /^(?:(\u0022))/i, /^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i, /^(?:(\u0022)(?!(\u0022)))/i, /^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],
715
+ conditions: { csv: { rules: [2, 3, 4, 5, 6, 7, 8], inclusive: !1 }, escaped_text: { rules: [7, 8], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7, 8], inclusive: !0 } }
716
+ };
717
+ return m;
718
+ }();
719
+ c.lexer = k;
720
+ function _() {
721
+ this.yy = {};
722
+ }
723
+ return p(_, "Parser"), _.prototype = c, c.Parser = _, new _();
724
+ }();
725
+ at.parser = at;
726
+ var Y = at, Z = [], H = [], K = /* @__PURE__ */ new Map(), Ht = /* @__PURE__ */ p(() => {
727
+ Z = [], H = [], K = /* @__PURE__ */ new Map(), Et();
728
+ }, "clear"), nt, Jt = (nt = class {
729
+ constructor(t, n, r = 0) {
730
+ this.source = t, this.target = n, this.value = r;
731
+ }
732
+ }, p(nt, "SankeyLink"), nt), te = /* @__PURE__ */ p((t, n, r) => {
733
+ Z.push(new Jt(t, n, r));
734
+ }, "addLink"), it, ee = (it = class {
735
+ constructor(t) {
736
+ this.ID = t;
737
+ }
738
+ }, p(it, "SankeyNode"), it), ne = /* @__PURE__ */ p((t) => {
739
+ t = Lt.sanitizeText(t, lt());
740
+ let n = K.get(t);
741
+ return n === void 0 && (n = new ee(t), K.set(t, n), H.push(n)), n;
742
+ }, "findOrCreateNode"), ie = /* @__PURE__ */ p(() => H, "getNodes"), re = /* @__PURE__ */ p(() => Z, "getLinks"), se = /* @__PURE__ */ p(() => ({
743
+ nodes: H.map((t) => ({ id: t.ID })),
744
+ links: Z.map((t) => ({
745
+ source: t.source.ID,
746
+ target: t.target.ID,
747
+ value: t.value
748
+ }))
749
+ }), "getGraph"), oe = {
750
+ nodesMap: K,
751
+ getConfig: /* @__PURE__ */ p(() => lt().sankey, "getConfig"),
752
+ getNodes: ie,
753
+ getLinks: re,
754
+ getGraph: se,
755
+ addLink: te,
756
+ findOrCreateNode: ne,
757
+ getAccTitle: xt,
758
+ setAccTitle: kt,
759
+ getAccDescription: vt,
760
+ setAccDescription: bt,
761
+ getDiagramTitle: wt,
762
+ setDiagramTitle: St,
763
+ clear: Ht
764
+ }, F, gt = (F = class {
765
+ static next(t) {
766
+ return new F(t + ++F.count);
767
+ }
768
+ constructor(t) {
769
+ this.id = t, this.href = `#${t}`;
770
+ }
771
+ toString() {
772
+ return "url(" + this.href + ")";
773
+ }
774
+ }, p(F, "Uid"), F.count = 0, F), ae = {
775
+ left: Ct,
776
+ right: $t,
777
+ center: Dt,
778
+ justify: _t
779
+ }, le = /* @__PURE__ */ p(function(t, n, r, a) {
780
+ const { securityLevel: c, sankey: k } = lt(), _ = Mt.sankey;
781
+ let m;
782
+ c === "sandbox" && (m = Q("#i" + n));
783
+ const i = c === "sandbox" ? Q(m.nodes()[0].contentDocument.body) : Q("body"), o = c === "sandbox" ? i.select(`[id="${n}"]`) : Q(`[id="${n}"]`), f = (k == null ? void 0 : k.width) ?? _.width, g = (k == null ? void 0 : k.height) ?? _.width, y = (k == null ? void 0 : k.useMaxWidth) ?? _.useMaxWidth, w = (k == null ? void 0 : k.nodeAlignment) ?? _.nodeAlignment, v = (k == null ? void 0 : k.prefix) ?? _.prefix, N = (k == null ? void 0 : k.suffix) ?? _.suffix, A = (k == null ? void 0 : k.showValues) ?? _.showValues, T = a.db.getGraph(), $ = ae[w];
784
+ Ft().nodeId((d) => d.id).nodeWidth(10).nodePadding(10 + (A ? 15 : 0)).nodeAlign($).extent([
785
+ [0, 0],
786
+ [f, g]
787
+ ])(T);
788
+ const P = Tt(Nt);
789
+ o.append("g").attr("class", "nodes").selectAll(".node").data(T.nodes).join("g").attr("class", "node").attr("id", (d) => (d.uid = gt.next("node-")).id).attr("transform", function(d) {
790
+ return "translate(" + d.x0 + "," + d.y0 + ")";
791
+ }).attr("x", (d) => d.x0).attr("y", (d) => d.y0).append("rect").attr("height", (d) => d.y1 - d.y0).attr("width", (d) => d.x1 - d.x0).attr("fill", (d) => P(d.id));
792
+ const S = /* @__PURE__ */ p(({ id: d, value: L }) => A ? `${d}
793
+ ${v}${Math.round(L * 100) / 100}${N}` : d, "getText");
794
+ o.append("g").attr("class", "node-labels").attr("font-size", 14).selectAll("text").data(T.nodes).join("text").attr("x", (d) => d.x0 < f / 2 ? d.x1 + 6 : d.x0 - 6).attr("y", (d) => (d.y1 + d.y0) / 2).attr("dy", `${A ? "0" : "0.35"}em`).attr("text-anchor", (d) => d.x0 < f / 2 ? "start" : "end").text(S);
795
+ const O = o.append("g").attr("class", "links").attr("fill", "none").attr("stroke-opacity", 0.5).selectAll(".link").data(T.links).join("g").attr("class", "link").style("mix-blend-mode", "multiply"), D = (k == null ? void 0 : k.linkColor) ?? "gradient";
796
+ if (D === "gradient") {
797
+ const d = O.append("linearGradient").attr("id", (L) => (L.uid = gt.next("linearGradient-")).id).attr("gradientUnits", "userSpaceOnUse").attr("x1", (L) => L.source.x1).attr("x2", (L) => L.target.x0);
798
+ d.append("stop").attr("offset", "0%").attr("stop-color", (L) => P(L.source.id)), d.append("stop").attr("offset", "100%").attr("stop-color", (L) => P(L.target.id));
799
+ }
800
+ let C;
801
+ switch (D) {
802
+ case "gradient":
803
+ C = /* @__PURE__ */ p((d) => d.uid, "coloring");
804
+ break;
805
+ case "source":
806
+ C = /* @__PURE__ */ p((d) => P(d.source.id), "coloring");
807
+ break;
808
+ case "target":
809
+ C = /* @__PURE__ */ p((d) => P(d.target.id), "coloring");
810
+ break;
811
+ default:
812
+ C = D;
813
+ }
814
+ O.append("path").attr("d", Zt()).attr("stroke", C).attr("stroke-width", (d) => Math.max(1, d.width)), At(void 0, o, 0, y);
815
+ }, "draw"), ce = {
816
+ draw: le
817
+ }, he = /* @__PURE__ */ p((t) => t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g, "").replaceAll(/([\n\r])+/g, `
818
+ `).trim(), "prepareTextForParsing"), ue = /* @__PURE__ */ p((t) => `.label {
819
+ font-family: ${t.fontFamily};
820
+ }`, "getStyles"), fe = ue, ye = Y.parse.bind(Y);
821
+ Y.parse = (t) => ye(he(t));
822
+ var ke = {
823
+ styles: fe,
824
+ parser: Y,
825
+ db: oe,
826
+ renderer: ce
827
+ };
828
+ export {
829
+ ke as diagram
830
+ };