@foris/ai-agent 0.9.0 → 0.9.1-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (345) hide show
  1. package/dist/ai-agent.es.js +2780 -7
  2. package/dist/ai-agent.umd.js +4 -3817
  3. package/dist/ai-prompt-code-editor/PromptCodeEditor.d.ts +2 -2
  4. package/dist/components/ai-elements/code-block.d.ts +4 -3
  5. package/dist/components/ai-elements/streamdown-code.d.ts +13 -0
  6. package/dist/components/ui/input-group.d.ts +1 -1
  7. package/dist/style.css +1 -1
  8. package/package.json +56 -13
  9. package/dist/abap-Y8Dl9g_6.js +0 -6
  10. package/dist/actionscript-3-DZzbMeqX.js +0 -6
  11. package/dist/ada-vP6ak0IW.js +0 -6
  12. package/dist/andromeeda-BIpZ7gaU.js +0 -4
  13. package/dist/angular-html-DPB4Rf0C.js +0 -32
  14. package/dist/angular-ts-CeqPwKaz.js +0 -24
  15. package/dist/apache-BUjz-sD2.js +0 -6
  16. package/dist/apex-oLhhs58q.js +0 -6
  17. package/dist/apl-Bfz1rp5e.js +0 -17
  18. package/dist/applescript-BPx7YFFu.js +0 -6
  19. package/dist/ara-Z2fSOxSw.js +0 -6
  20. package/dist/arc-DHSZg76Q.js +0 -85
  21. package/dist/architectureDiagram-VXUJARFQ-Cp8vugxX.js +0 -4674
  22. package/dist/asciidoc-B-pCoB3G.js +0 -6
  23. package/dist/asm-BTWLY5ym.js +0 -6
  24. package/dist/astro-CFFExE8Q.js +0 -18
  25. package/dist/aurora-x-BwoVEUWZ.js +0 -4
  26. package/dist/awk-Fb0P9dkn.js +0 -6
  27. package/dist/ayu-dark-CxPZkpb2.js +0 -4
  28. package/dist/ballerina-oZK-YekG.js +0 -6
  29. package/dist/bat-0FvbqU9S.js +0 -6
  30. package/dist/beancount-DqJEb89h.js +0 -6
  31. package/dist/berry-DODBq_Ff.js +0 -6
  32. package/dist/bibtex-EULQRLY5.js +0 -6
  33. package/dist/bicep-BorU73w0.js +0 -6
  34. package/dist/blade-DRRSiTQz.js +0 -21
  35. package/dist/blockDiagram-VD42YOAC-B4cTulr6.js +0 -2407
  36. package/dist/bsl-NkNNwerW.js +0 -8
  37. package/dist/c-eeMepfLm.js +0 -6
  38. package/dist/c4Diagram-YG6GDRKO-B8--s8xx.js +0 -1585
  39. package/dist/cadence-02UX7mW8.js +0 -6
  40. package/dist/cairo-DM6WF2e3.js +0 -8
  41. package/dist/catppuccin-frappe-D3cH2rXe.js +0 -4
  42. package/dist/catppuccin-latte-C0LRGUW4.js +0 -4
  43. package/dist/catppuccin-macchiato-c5wQ11TT.js +0 -4
  44. package/dist/catppuccin-mocha-WMD6Qvya.js +0 -4
  45. package/dist/channel-Cqk_cOiy.js +0 -5
  46. package/dist/chunk-4BX2VUAB-Cb-wAjVN.js +0 -9
  47. package/dist/chunk-55IACEB6-QFXfbMHG.js +0 -8
  48. package/dist/chunk-B4BG7PRW-CFs53zrP.js +0 -1377
  49. package/dist/chunk-DI55MBZ5-CKjAOeh7.js +0 -1383
  50. package/dist/chunk-FMBD7UC4-B29MtLTn.js +0 -19
  51. package/dist/chunk-QN33PNHL-5bU-bM6A.js +0 -20
  52. package/dist/chunk-QZHKN3VN-B_Q6cMrq.js +0 -15
  53. package/dist/chunk-TZMSLE5B-DlULRafu.js +0 -64
  54. package/dist/clarity-PKm5CwqM.js +0 -6
  55. package/dist/classDiagram-2ON5EDUG-DJmXfcVi.js +0 -22
  56. package/dist/classDiagram-v2-WZHVMYZB-DJmXfcVi.js +0 -22
  57. package/dist/clojure-CXJfHrL3.js +0 -6
  58. package/dist/cmake-BJz8BOTU.js +0 -6
  59. package/dist/cobol-DYTFdEK1.js +0 -12
  60. package/dist/code-block-QI2IAROF-C_F85uim.js +0 -2812
  61. package/dist/codeowners-Bt9yU6NX.js +0 -6
  62. package/dist/codeql-DHkodjjI.js +0 -6
  63. package/dist/coffee-DGBR_nr_.js +0 -8
  64. package/dist/common-lisp-EVqT9Zhp.js +0 -6
  65. package/dist/coq-B0L9upzn.js +0 -6
  66. package/dist/cose-bilkent-S5V4N54A-N3jM_XQd.js +0 -2612
  67. package/dist/cpp-ZFnOq6fV.js +0 -19
  68. package/dist/crystal-CRJyc4G-.js +0 -18
  69. package/dist/csharp-C7yUs7-w.js +0 -6
  70. package/dist/css-CECN5uSL.js +0 -6
  71. package/dist/csv-CmYOceLb.js +0 -6
  72. package/dist/cue-ZzumE7IT.js +0 -6
  73. package/dist/cypher-jpdmjtA6.js +0 -6
  74. package/dist/cytoscape.esm-ClN43hhW.js +0 -18846
  75. package/dist/d-CBagWSwH.js +0 -6
  76. package/dist/dagre-6UL2VRFP-CJdrtgOu.js +0 -451
  77. package/dist/dark-plus-pUHDTVV0.js +0 -4
  78. package/dist/dart-6ObCrKr9.js +0 -6
  79. package/dist/dax-CcDT-8dH.js +0 -6
  80. package/dist/defaultLocale-DcQU6Vee.js +0 -177
  81. package/dist/desktop-B93p9R9O.js +0 -6
  82. package/dist/diagram-PSM6KHXK-DSaDqHvO.js +0 -544
  83. package/dist/diagram-QEK2KX5R-BbxboH_-.js +0 -224
  84. package/dist/diagram-S2PKOQOG-DWsCb5He.js +0 -146
  85. package/dist/diff-BxzP2J8R.js +0 -6
  86. package/dist/docker-CsHqm9tx.js +0 -6
  87. package/dist/dotenv-BMjVjUL1.js +0 -6
  88. package/dist/dracula-BtZx2Kac.js +0 -4
  89. package/dist/dracula-soft-BKa-aqBv.js +0 -4
  90. package/dist/dream-maker-PAx17jaB.js +0 -6
  91. package/dist/edge-B882-fmN.js +0 -14
  92. package/dist/elixir-DRzNHQCz.js +0 -10
  93. package/dist/elm-DZPAA5Qn.js +0 -9
  94. package/dist/emacs-lisp-Cfxdx5D-.js +0 -6
  95. package/dist/erDiagram-Q2GNP2WA-Bl0uHx93.js +0 -846
  96. package/dist/erb-DB1DqdBc.js +0 -27
  97. package/dist/erlang-DNcDT8Hi.js +0 -8
  98. package/dist/everforest-dark-DMCBqXCK.js +0 -4
  99. package/dist/everforest-light-BbXl82Em.js +0 -4
  100. package/dist/fennel-N4WcXuKx.js +0 -6
  101. package/dist/fish-BTDEUgqH.js +0 -6
  102. package/dist/flowDiagram-NV44I4VS-Dq0mXT8f.js +0 -1631
  103. package/dist/fluent-BMXUxfv1.js +0 -6
  104. package/dist/fortran-fixed-form-DUsA-VGo.js +0 -8
  105. package/dist/fortran-free-form-DPIT_jbP.js +0 -6
  106. package/dist/fsharp-CYOiIVNx.js +0 -8
  107. package/dist/ganttDiagram-JELNMOA3-Dj1adndm.js +0 -2702
  108. package/dist/gdresource-BwtMIoBm.js +0 -10
  109. package/dist/gdscript-BifyeYhI.js +0 -6
  110. package/dist/gdshader-Bk8fF6yr.js +0 -6
  111. package/dist/genie-DzUvd7U9.js +0 -6
  112. package/dist/gherkin-DHRaV0YP.js +0 -6
  113. package/dist/git-commit-Bd32YZ0K.js +0 -8
  114. package/dist/git-rebase-ZWUFO_T4.js +0 -8
  115. package/dist/gitGraphDiagram-NY62KEGX-DIFZugA1.js +0 -715
  116. package/dist/github-dark-DenFmJkN.js +0 -4
  117. package/dist/github-dark-default-BJPUVz4H.js +0 -4
  118. package/dist/github-dark-dimmed-DUshB20C.js +0 -4
  119. package/dist/github-dark-high-contrast-D3aGCnF8.js +0 -4
  120. package/dist/github-light-JYsPkUQd.js +0 -4
  121. package/dist/github-light-default-D99KPAby.js +0 -4
  122. package/dist/github-light-high-contrast-BbmZE-Mp.js +0 -4
  123. package/dist/gleam-Bv284lvN.js +0 -6
  124. package/dist/glimmer-js-DkxNrfPT.js +0 -14
  125. package/dist/glimmer-ts-D6YZEmK_.js +0 -14
  126. package/dist/glsl-CkUcVZNK.js +0 -8
  127. package/dist/gnuplot-yPG9-sE_.js +0 -6
  128. package/dist/go-ChxJuLYK.js +0 -6
  129. package/dist/graph-DB2UxkYH.js +0 -1190
  130. package/dist/graphql-CBu2ehBn.js +0 -14
  131. package/dist/groovy-CJQTphOW.js +0 -6
  132. package/dist/gruvbox-dark-hard-C5HOtKIh.js +0 -4
  133. package/dist/gruvbox-dark-medium-FVgwJHuz.js +0 -4
  134. package/dist/gruvbox-dark-soft-B46F314v.js +0 -4
  135. package/dist/gruvbox-light-hard-CJD38wDZ.js +0 -4
  136. package/dist/gruvbox-light-medium-BlIhMYTA.js +0 -4
  137. package/dist/gruvbox-light-soft-DoPHyLVZ.js +0 -4
  138. package/dist/hack-DVWgrvc2.js +0 -12
  139. package/dist/haml-NZLVzu_R.js +0 -10
  140. package/dist/handlebars-mxStpSE7.js +0 -14
  141. package/dist/haskell-WeIwNIP6.js +0 -6
  142. package/dist/haxe-TztHsm5T.js +0 -6
  143. package/dist/hcl-D438OF-I.js +0 -6
  144. package/dist/hjson-DYBUbqOl.js +0 -6
  145. package/dist/hlsl-Bk8TCZNL.js +0 -6
  146. package/dist/houston-BDYrDoDW.js +0 -4
  147. package/dist/html-B50bmoVb.js +0 -10
  148. package/dist/html-derivative-ByyNxAP5.js +0 -10
  149. package/dist/http-BVIWqb92.js +0 -19
  150. package/dist/hurl-B8OTiYoQ.js +0 -17
  151. package/dist/hxml-GbqSQCLa.js +0 -8
  152. package/dist/hy-Brt5EZ7-.js +0 -6
  153. package/dist/imba-CimUv-Uh.js +0 -6
  154. package/dist/index-gmzqSpwg.js +0 -71246
  155. package/dist/infoDiagram-WHAUD3N6-DPjzRs82.js +0 -27
  156. package/dist/ini-BZIuRIvJ.js +0 -6
  157. package/dist/init-DjUOC4st.js +0 -16
  158. package/dist/java-DY6VlHhP.js +0 -6
  159. package/dist/javascript-C25yR2R2.js +0 -6
  160. package/dist/jinja-CI-LSgSv.js +0 -13
  161. package/dist/jison-DdreslRX.js +0 -8
  162. package/dist/journeyDiagram-XKPGCS4Q-DLrlPVyq.js +0 -840
  163. package/dist/json-DxJze_jm.js +0 -6
  164. package/dist/json5-BT4Fjg39.js +0 -6
  165. package/dist/jsonc-CHjZD8gR.js +0 -6
  166. package/dist/jsonl-BGuvDmy9.js +0 -6
  167. package/dist/jsonnet-Bx2cfsXg.js +0 -6
  168. package/dist/jssm-BcADi6EI.js +0 -6
  169. package/dist/jsx-BtKADgXT.js +0 -6
  170. package/dist/julia-ll8P6QXy.js +0 -19
  171. package/dist/kanagawa-dragon-CiKur4Hl.js +0 -4
  172. package/dist/kanagawa-lotus-BKu-smKu.js +0 -4
  173. package/dist/kanagawa-wave-CQwozSzG.js +0 -4
  174. package/dist/kanban-definition-3W4ZIXB7-BTI5yGHx.js +0 -724
  175. package/dist/katex.min-l0sNRNKZ.js +0 -1
  176. package/dist/kdl-BNOv9TC3.js +0 -6
  177. package/dist/kotlin-ByBMgTeR.js +0 -6
  178. package/dist/kusto-VWFLl2T0.js +0 -6
  179. package/dist/laserwave-6a00oqik.js +0 -4
  180. package/dist/latex-DF20280u.js +0 -9
  181. package/dist/layout-Q6wQN5dr.js +0 -1730
  182. package/dist/lean-D5yRrexI.js +0 -6
  183. package/dist/less-B1GLI2Di.js +0 -6
  184. package/dist/light-plus-CZuVqSLX.js +0 -4
  185. package/dist/linear-UL3ZZUJv.js +0 -277
  186. package/dist/liquid-CHzkx3jT.js +0 -14
  187. package/dist/llvm-co1rIKs3.js +0 -6
  188. package/dist/log-Al8wyEFV.js +0 -6
  189. package/dist/logo-DBa4JDzV.js +0 -6
  190. package/dist/lua-kX5WP_P5.js +0 -8
  191. package/dist/luau-DtBSxLyz.js +0 -6
  192. package/dist/make-CsMclxtr.js +0 -6
  193. package/dist/markdown-CrScaQ96.js +0 -6
  194. package/dist/marko-ls0Jg2j8.js +0 -14
  195. package/dist/material-theme-D6KBX41T.js +0 -4
  196. package/dist/material-theme-darker-CkRroheE.js +0 -4
  197. package/dist/material-theme-lighter-BUBw43Yz.js +0 -4
  198. package/dist/material-theme-ocean-ClGX14Ja.js +0 -4
  199. package/dist/material-theme-palenight-C1RVm8K1.js +0 -4
  200. package/dist/matlab-BOAaUVP0.js +0 -6
  201. package/dist/mdc-DIP5_jeM.js +0 -15
  202. package/dist/mdx-BOhZZUJ8.js +0 -6
  203. package/dist/mermaid-B0ixDHKN.js +0 -6
  204. package/dist/mermaid-NA5CF7SZ-BDJrKfjz.js +0 -6
  205. package/dist/mermaid.core-Cpfp0NBU.js +0 -14414
  206. package/dist/min-dark-C7ak0t6c.js +0 -4
  207. package/dist/min-light-CKFxVcPp.js +0 -4
  208. package/dist/mindmap-definition-VGOIOE7T-B6ovfeib.js +0 -790
  209. package/dist/mipsasm-CTx18fBl.js +0 -6
  210. package/dist/mojo-BD611d7o.js +0 -6
  211. package/dist/monokai-C1KBYcO0.js +0 -4
  212. package/dist/move-F-dICmj2.js +0 -6
  213. package/dist/narrat-DmhDCBs-.js +0 -6
  214. package/dist/nextflow-DmSVRGjG.js +0 -6
  215. package/dist/nginx-COxS3qoU.js +0 -9
  216. package/dist/night-owl-Bm2rzalh.js +0 -4
  217. package/dist/nim-CCwXZLHG.js +0 -21
  218. package/dist/nix-BZK5F767.js +0 -9
  219. package/dist/nord-CC5OiUXg.js +0 -4
  220. package/dist/nushell-D8j3dhT-.js +0 -6
  221. package/dist/objective-c-Itk8tzmv.js +0 -6
  222. package/dist/objective-cpp-DGt5UKRO.js +0 -6
  223. package/dist/ocaml-eSVK32Eg.js +0 -6
  224. package/dist/one-dark-pro-DTA3VF0_.js +0 -4
  225. package/dist/one-light-D9sNaUtq.js +0 -4
  226. package/dist/openscad-Sp5uZ6f2.js +0 -6
  227. package/dist/ordinal-MUacOSdK.js +0 -65
  228. package/dist/pascal-xy8pJNns.js +0 -6
  229. package/dist/perl-NvKK8p2P.js +0 -17
  230. package/dist/php-CK5hNnT0.js +0 -19
  231. package/dist/pieDiagram-ADFJNKIX-Bn24elWA.js +0 -166
  232. package/dist/pkl-C-zSNmaA.js +0 -6
  233. package/dist/plastic-CSTz3KZp.js +0 -4
  234. package/dist/plsql-pVbGZfOv.js +0 -6
  235. package/dist/po-BNfHvqmm.js +0 -6
  236. package/dist/poimandres-C-VADXHD.js +0 -4
  237. package/dist/polar-CAZahv3u.js +0 -6
  238. package/dist/postcss-05aHdL-n.js +0 -6
  239. package/dist/powerquery-DI9HkTvs.js +0 -6
  240. package/dist/powershell-Clc4ydu-.js +0 -6
  241. package/dist/prisma-FZjmVtSl.js +0 -6
  242. package/dist/prolog-C5-yg4TO.js +0 -6
  243. package/dist/proto-MmCPeFAD.js +0 -6
  244. package/dist/pug-XOw9Q1Ho.js +0 -12
  245. package/dist/puppet-CUJHmnxV.js +0 -6
  246. package/dist/purescript-rUfGld-4.js +0 -6
  247. package/dist/python-BFNSHbwJ.js +0 -6
  248. package/dist/qml-rTNXsquU.js +0 -8
  249. package/dist/qmldir-BInDYbpo.js +0 -6
  250. package/dist/qss-AeJTysr_.js +0 -6
  251. package/dist/quadrantDiagram-AYHSOK5B-CsbmyLll.js +0 -1030
  252. package/dist/r-Bm0uF0U2.js +0 -6
  253. package/dist/racket-B83wSAja.js +0 -6
  254. package/dist/raku-nEQ4ZJJ7.js +0 -6
  255. package/dist/razor-CoqPuKQU.js +0 -12
  256. package/dist/red-7y8PH7HH.js +0 -4
  257. package/dist/reg-m_s_Kiip.js +0 -6
  258. package/dist/regexp-BazyLpPg.js +0 -6
  259. package/dist/rel-BcRfyd6Q.js +0 -6
  260. package/dist/requirementDiagram-UZGBJVZJ--9rfbKaz.js +0 -856
  261. package/dist/riscv-Ce8MAQLP.js +0 -6
  262. package/dist/rose-pine-BKc3yVeu.js +0 -4
  263. package/dist/rose-pine-dawn-BulJcPZT.js +0 -4
  264. package/dist/rose-pine-moon-j6jiXKV8.js +0 -4
  265. package/dist/rosmsg-Cz0w1km8.js +0 -6
  266. package/dist/rst-AoEjemIj.js +0 -36
  267. package/dist/ruby-CGSl8JoB.js +0 -36
  268. package/dist/rust-CLzF9zIN.js +0 -6
  269. package/dist/sankeyDiagram-TZEHDZUN-Cp2id-3k.js +0 -830
  270. package/dist/sas-fpEvgATw.js +0 -8
  271. package/dist/sass-DxHp5rTx.js +0 -6
  272. package/dist/scala-D4grkFkl.js +0 -6
  273. package/dist/scheme-BCRWuEm4.js +0 -6
  274. package/dist/scss-B1FaCqwR.js +0 -8
  275. package/dist/sdbl-B7T8abf4.js +0 -6
  276. package/dist/sequenceDiagram-WL72ISMW-Bdoz1Co7.js +0 -2526
  277. package/dist/shaderlab-Cr62-Wb4.js +0 -8
  278. package/dist/shellscript-InADTalH.js +0 -6
  279. package/dist/shellsession-DiDJNQdy.js +0 -8
  280. package/dist/slack-dark-i7wN4OET.js +0 -4
  281. package/dist/slack-ochin-ndHf0LoP.js +0 -4
  282. package/dist/smalltalk-BlI1_OkM.js +0 -6
  283. package/dist/snazzy-light-BlSJXAu4.js +0 -4
  284. package/dist/solarized-dark-UTmkh7lw.js +0 -4
  285. package/dist/solarized-light-BheCkDPT.js +0 -4
  286. package/dist/solidity-DUWnFhS6.js +0 -6
  287. package/dist/soy-YPoZ1G2p.js +0 -10
  288. package/dist/sparql-B0KWFEri.js +0 -8
  289. package/dist/splunk-CRXR8A9s.js +0 -6
  290. package/dist/sql-Cn_v3PB0.js +0 -6
  291. package/dist/ssh-config-DP-hNVbF.js +0 -6
  292. package/dist/stata-B8c5fTjX.js +0 -8
  293. package/dist/stateDiagram-FKZM4ZOC-BLHxjrc8.js +0 -268
  294. package/dist/stateDiagram-v2-4FDKWEC3-CbxCwS8b.js +0 -21
  295. package/dist/stylus-CyKEU1Ej.js +0 -6
  296. package/dist/svelte-5UasyOg7.js +0 -14
  297. package/dist/swift-9UzSvamq.js +0 -6
  298. package/dist/synthwave-84-NU3C_KFZ.js +0 -4
  299. package/dist/system-verilog-BCm7smPJ.js +0 -6
  300. package/dist/systemd-C-4qm6XH.js +0 -6
  301. package/dist/talonscript-CFF3LF_O.js +0 -6
  302. package/dist/tasl-Cg_WBUAe.js +0 -6
  303. package/dist/tcl-DN7buRTF.js +0 -6
  304. package/dist/templ-peLZIM2D.js +0 -12
  305. package/dist/terraform-DGvcn9zM.js +0 -6
  306. package/dist/tex-DpOayVob.js +0 -8
  307. package/dist/timeline-definition-IT6M3QCI-s3Wsbz6h.js +0 -805
  308. package/dist/tokyo-night-DP4TmcQl.js +0 -4
  309. package/dist/toml-DY62mUL_.js +0 -6
  310. package/dist/treemap-KMMF4GRG-D_L55G0b.js +0 -15045
  311. package/dist/ts-tags-CWmBp2js.js +0 -43
  312. package/dist/tsv-BtvSkaG0.js +0 -6
  313. package/dist/tsx-B8rCNbgL.js +0 -6
  314. package/dist/turtle-_H59FV7D.js +0 -6
  315. package/dist/twig-Cpoho6oi.js +0 -35
  316. package/dist/typescript-RycA9KXf.js +0 -6
  317. package/dist/typespec-DWqp-kUU.js +0 -6
  318. package/dist/typst-D_1QKWns.js +0 -6
  319. package/dist/v-BPCNiyYe.js +0 -6
  320. package/dist/vala-uxaPR7d1.js +0 -6
  321. package/dist/vb-D8_c5-KN.js +0 -6
  322. package/dist/verilog-B-bybjPF.js +0 -6
  323. package/dist/vesper-BckBta1U.js +0 -4
  324. package/dist/vhdl-CUlNa8ac.js +0 -6
  325. package/dist/viml-DsfA-sWm.js +0 -6
  326. package/dist/vitesse-black-BoGvW84i.js +0 -4
  327. package/dist/vitesse-dark-Cym-eLtO.js +0 -4
  328. package/dist/vitesse-light-CcmG315c.js +0 -4
  329. package/dist/vue-DmFKWfEU.js +0 -31
  330. package/dist/vue-html-BB2aI7Yc.js +0 -15
  331. package/dist/vue-vine-CznNap4x.js +0 -24
  332. package/dist/vyper-CPQuu50u.js +0 -6
  333. package/dist/wasm-BBXxrAl7.js +0 -6
  334. package/dist/wasm-DQxwEHae.js +0 -7
  335. package/dist/wenyan-pbVjoM9_.js +0 -6
  336. package/dist/wgsl-DY4iK1q1.js +0 -6
  337. package/dist/wikitext-Z-MoUasO.js +0 -6
  338. package/dist/wit-CQMQOlTg.js +0 -6
  339. package/dist/wolfram-Dz4KXISs.js +0 -6
  340. package/dist/xml-C2J0sS9M.js +0 -8
  341. package/dist/xsl-CbTBIiv3.js +0 -9
  342. package/dist/xychartDiagram-PRI3JC2R-D3ejwy7u.js +0 -1345
  343. package/dist/yaml-DaO7k5B1.js +0 -6
  344. package/dist/zenscript-CxBjpf9c.js +0 -6
  345. package/dist/zig-Vm0PO9wB.js +0 -6
@@ -1,6 +0,0 @@
1
- const e = Object.freeze(JSON.parse('{"displayName":"D","fileTypes":["d","di","dpp"],"name":"d","patterns":[{"include":"#comment"},{"include":"#type"},{"include":"#statement"},{"include":"#expression"}],"repository":{"aggregate-declaration":{"patterns":[{"include":"#class-declaration"},{"include":"#interface-declaration"},{"include":"#struct-declaration"},{"include":"#union-declaration"},{"include":"#mixin-template-declaration"},{"include":"#template-declaration"}]},"alias-declaration":{"patterns":[{"begin":"\\\\b(alias)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.other.alias.d"}},"end":";","endCaptures":{"0":{"name":"meta.alias.end.d"}},"patterns":[{"include":"#type"},{"match":"=(?![=>])","name":"keyword.operator.equal.alias.d"},{"include":"#expression"}]}]},"align-attribute":{"patterns":[{"begin":"\\\\balign\\\\s*\\\\(","end":"\\\\)","name":"storage.modifier.align-attribute.d","patterns":[{"include":"#integer-literal"}]},{"match":"\\\\balign\\\\b\\\\s*(?!\\\\()","name":"storage.modifier.align-attribute.d"}]},"alternate-wysiwyg-string":{"patterns":[{"begin":"`","end":"`[cdw]?","name":"string.alternate-wysiwyg-string.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"arbitrary-delimited-string":{"begin":"q\\"(\\\\w+)","end":"\\\\1\\"","name":"string.delimited.d","patterns":[{"match":".","name":"string.delimited.d"}]},"arithmetic-expression":{"patterns":[{"match":"\\\\^\\\\^|\\\\+\\\\+|--|(?<!/)\\\\+(?!/)|[-~]|(?<!/)\\\\*(?!/)|(?<![*+/])/(?![*+/])|%","name":"keyword.operator.numeric.d"}]},"asm-instruction":{"patterns":[{"include":"#comment"},{"match":"\\\\b(align|even|naked|db|ds|di|dl|df|dd|de)\\\\b|:","name":"keyword.asm-instruction.d"},{"match":"\\\\b__LOCAL_SIZE\\\\b","name":"constant.language.assembly.d"},{"match":"\\\\b(offsetof|seg)\\\\b","name":"support.type.assembly.d"},{"include":"#asm-type-prefix"},{"include":"#asm-primary-expression"},{"include":"#operands"},{"include":"#register"},{"include":"#register-64"},{"include":"#float-literal"},{"include":"#integer-literal"},{"include":"#identifier"}]},"asm-statement":{"patterns":[{"begin":"\\\\b(asm)\\\\b\\\\s*(?=\\\\{)","captures":{"1":{"name":"keyword.control.switch.d"}},"end":"(?<=})","patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"keyword.control.asm.begin.d"}},"contentName":"gfm.markup.raw.assembly.d","end":"}","endCaptures":{"0":{"name":"keyword.control.asm.end.d"}},"patterns":[{"include":"#asm-instruction"}]}]}]},"asm-type-prefix":{"patterns":[{"match":"\\\\b((near\\\\s+ptr)|(far\\\\s+ptr)|(byte\\\\s+ptr)|(short\\\\s+ptr)|(int\\\\s+ptr)|(word\\\\s+ptr)|(dword\\\\s+ptr)|(qword\\\\s+ptr)|(float\\\\s+ptr)|(double\\\\s+ptr)|(real\\\\s+ptr))\\\\b","name":"support.type.asm-type-prefix.d"}]},"assert-expression":{"patterns":[{"begin":"\\\\bassert\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.assert.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.assert.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"assign-expression":{"patterns":[{"match":">>>=|\\\\^\\\\^=|>>=|<<=|~=|\\\\^=|\\\\|=|&=|%=|/=|\\\\*=|-=|\\\\+=|=(?!>)","name":"keyword.operator.assign.d"}]},"attribute":{"patterns":[{"include":"#linkage-attribute"},{"include":"#align-attribute"},{"include":"#deprecated-attribute"},{"include":"#protection-attribute"},{"include":"#pragma"},{"match":"\\\\b(static|extern|abstract|final|override|synchronized|auto|scope|const|immutable|inout|shared|__gshared|nothrow|pure|ref)\\\\b","name":"entity.other.attribute-name.d"},{"include":"#property"}]},"base-type":{"patterns":[{"match":"\\\\b(auto|bool|byte|ubyte|short|ushort|int|uint|long|ulong|char|wchar|dchar|float|double|real|ifloat|idouble|ireal|cfloat|cdouble|creal|void|noreturn)\\\\b","name":"storage.type.basic-type.d"},{"match":"\\\\b(string|wstring|dstring|size_t|ptrdiff_t)\\\\b(?!\\\\s*=)","name":"storage.type.basic-type.d"}]},"binary-integer":{"patterns":[{"match":"\\\\b(0[Bb])[01_]+(Lu|LU|uL|UL|[LUu])?\\\\b","name":"constant.numeric.integer.binary.d"}]},"bitwise-expression":{"patterns":[{"match":"[\\\\&^|]","name":"keyword.operator.bitwise.d"}]},"block-comment":{"patterns":[{"begin":"/((?!\\\\*/)\\\\*)+","beginCaptures":{"0":{"name":"comment.block.begin.d"}},"end":"\\\\*+/","endCaptures":{"0":{"name":"comment.block.end.d"}},"name":"comment.block.content.d"}]},"break-statement":{"patterns":[{"match":"\\\\bbreak\\\\b","name":"keyword.control.break.d"}]},"case-statement":{"patterns":[{"begin":"\\\\b(case)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.control.case.range.d"}},"end":":","endCaptures":{"0":{"name":"meta.case.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"cast-expression":{"patterns":[{"begin":"\\\\b(cast)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.cast.d"},"2":{"name":"keyword.operator.cast.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.operator.cast.end.d"}},"patterns":[{"include":"#type"},{"include":"#extended-type"}]}]},"catch":{"patterns":[{"begin":"\\\\b(catch)\\\\b\\\\s*(?=\\\\()","captures":{"1":{"name":"keyword.control.catch.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"catches":{"patterns":[{"include":"#catch"}]},"character":{"patterns":[{"match":"[\\\\w\\\\s]+","name":"string.character.d"}]},"character-literal":{"patterns":[{"begin":"\'","end":"\'","name":"string.character-literal.d","patterns":[{"include":"#character"},{"include":"#escape-sequence"}]}]},"class-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.class.d"},"2":{"name":"entity.name.class.d"}},"match":"\\\\b(class)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"},{"include":"#protection-attribute"},{"include":"#class-members"}]},"class-members":{"patterns":[{"include":"#shared-static-constructor"},{"include":"#shared-static-destructor"},{"include":"#constructor"},{"include":"#destructor"},{"include":"#postblit"},{"include":"#invariant"},{"include":"#member-function-attribute"}]},"colon":{"patterns":[{"match":":","name":"support.type.colon.d"}]},"comma":{"patterns":[{"match":",","name":"keyword.operator.comma.d"}]},"comment":{"patterns":[{"include":"#block-comment"},{"include":"#line-comment"},{"include":"#nesting-block-comment"}]},"condition":{"patterns":[{"include":"#version-condition"},{"include":"#debug-condition"},{"include":"#static-if-condition"}]},"conditional-declaration":{"patterns":[{"include":"#condition"},{"match":"\\\\belse\\\\b","name":"keyword.control.else.d"},{"include":"#colon"},{"include":"#decl-defs"}]},"conditional-expression":{"patterns":[{"match":"\\\\s([:?])\\\\s","name":"keyword.operator.ternary.d"}]},"conditional-statement":{"patterns":[{"include":"#condition"},{"include":"#no-scope-non-empty-statement"},{"match":"\\\\belse\\\\b","name":"keyword.control.else.d"}]},"constructor":{"patterns":[{"match":"\\\\bthis\\\\b","name":"entity.name.function.constructor.d"}]},"continue-statement":{"patterns":[{"match":"\\\\bcontinue\\\\b","name":"keyword.control.continue.d"}]},"debug-condition":{"patterns":[{"begin":"\\\\bdebug\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.debug.identifier.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.debug.identifier.end.d"}},"patterns":[{"include":"#integer-literal"},{"include":"#identifier"}]},{"match":"\\\\bdebug\\\\b\\\\s*(?!\\\\()","name":"keyword.other.debug.plain.d"}]},"debug-specification":{"patterns":[{"match":"\\\\bdebug\\\\b\\\\s*(?==)","name":"keyword.other.debug-specification.d"}]},"decimal-float":{"patterns":[{"match":"\\\\b((\\\\.[0-9])|(0\\\\.)|(([1-9]|(0[1-9_]))[0-9_]*\\\\.))[0-9_]*((e-|E-|e\\\\+|E\\\\+|[Ee])[0-9][0-9_]*)?[FLf]?i?\\\\b","name":"constant.numeric.float.decimal.d"}]},"decimal-integer":{"patterns":[{"match":"\\\\b(0(?=[^BXbx\\\\d]))|([1-9][0-9_]*)(Lu|LU|uL|UL|[LUu])?\\\\b","name":"constant.numeric.integer.decimal.d"}]},"declaration":{"patterns":[{"include":"#alias-declaration"},{"include":"#aggregate-declaration"},{"include":"#enum-declaration"},{"include":"#import-declaration"},{"include":"#storage-class"},{"include":"#void-initializer"},{"include":"#mixin-declaration"}]},"declaration-statement":{"patterns":[{"include":"#declaration"}]},"default-statement":{"patterns":[{"captures":{"1":{"name":"keyword.control.case.default.d"},"2":{"name":"meta.default.colon.d"}},"match":"\\\\b(default)\\\\s*(:)"}]},"delete-expression":{"patterns":[{"match":"\\\\bdelete\\\\s+","name":"keyword.other.delete.d"}]},"delimited-string":{"begin":"q\\"","end":"\\"","name":"string.delimited.d","patterns":[{"include":"#delimited-string-bracket"},{"include":"#delimited-string-parens"},{"include":"#delimited-string-angle-brackets"},{"include":"#delimited-string-braces"}]},"delimited-string-angle-brackets":{"patterns":[{"begin":"<","end":">","name":"constant.character.angle-brackets.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"delimited-string-braces":{"patterns":[{"begin":"\\\\{","end":"}","name":"constant.character.delimited.braces.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"delimited-string-bracket":{"patterns":[{"begin":"\\\\[","end":"]","name":"constant.characters.delimited.brackets.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"delimited-string-parens":{"patterns":[{"begin":"\\\\(","end":"\\\\)","name":"constant.character.delimited.parens.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"deprecated-statement":{"patterns":[{"begin":"\\\\bdeprecated\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.deprecated.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.deprecated.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]},{"match":"\\\\bdeprecated\\\\b\\\\s*(?!\\\\()","name":"keyword.other.deprecated.plain.d"}]},"destructor":{"patterns":[{"match":"\\\\b~this\\\\s*\\\\(\\\\s*\\\\)","name":"entity.name.class.destructor.d"}]},"do-statement":{"patterns":[{"match":"\\\\bdo\\\\b","name":"keyword.control.do.d"}]},"double-quoted-characters":{"patterns":[{"include":"#character"},{"include":"#end-of-line"},{"include":"#escape-sequence"}]},"double-quoted-string":{"patterns":[{"begin":"\\"","end":"\\"[cdw]?","name":"string.double-quoted-string.d","patterns":[{"include":"#double-quoted-characters"}]}]},"end-of-line":{"patterns":[{"match":"\\\\n+","name":"string.character.end-of-line.d"}]},"enum-declaration":{"patterns":[{"begin":"\\\\b(enum)\\\\b\\\\s+(?=.*[;=])","beginCaptures":{"1":{"name":"storage.type.enum.d"}},"end":"([A-Z_a-z][_\\\\w\\\\d]*)\\\\s*(?=[(;=])(;)?","endCaptures":{"1":{"name":"entity.name.type.enum.d"},"2":{"name":"meta.enum.end.d"}},"patterns":[{"include":"#type"},{"include":"#extended-type"},{"match":"=(?![=>])","name":"keyword.operator.equal.alias.d"}]}]},"eof":{"patterns":[{"begin":"__EOF__","beginCaptures":{"0":{"name":"comment.block.documentation.eof.start.d"}},"end":"(?!__NEVER_MATCH__)__NEVER_MATCH__","name":"text.eof.d"}]},"equal":{"patterns":[{"match":"=(?![=>])","name":"keyword.operator.equal.d"}]},"escape-sequence":{"patterns":[{"match":"(\\\\\\\\(?:quot|amp|lt|gt|OElig|oelig|Scaron|scaron|Yuml|circ|tilde|ensp|emsp|thinsp|zwnj|zwj|lrm|rlm|ndash|mdash|lsquo|rsquo|sbquo|ldquo|rdquo|bdquo|dagger|Dagger|permil|lsaquo|rsaquo|euro|nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|Aelig|Ccedil|egrave|eacute|ecirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|fnof|Alpha|Beta|Gamma|Delta|Epsilon|Zeta|Eta|Theta|Iota|Kappa|Lambda|Mu|Nu|Xi|Omicron|Pi|Rho|Sigma|Tau|Upsilon|Phi|Chi|Psi|Omega|alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigmaf?|tau|upsilon|phi|chi|psi|omega|thetasym|upsih|piv|bull|hellip|prime|Prime|oline|frasl|weierp|image|real|trade|alefsym|larr|uarr|rarr|darr|harr|crarr|lArr|uArr|rArr|dArr|hArr|forall|part|exist|empty|nabla|isin|notin|ni|prod|sum|minux|lowast|radic|prop|infin|ang|and|or|cap|cup|int|there4|sim|cong|asymp|ne|equiv|le|ge|sub|sup|nsub|sube|supe|oplus|otimes|perp|sdot|lceil|rceil|lfloor|rfloor|loz|spades|clubs|hearts|diams|lang|rang))","name":"constant.character.escape-sequence.entity.d"},{"match":"(\\\\\\\\(?:x[_\\\\h]{2}|u[_\\\\h]{4}|U[_\\\\h]{8}|[0-7]{1,3}))","name":"constant.character.escape-sequence.number.d"},{"match":"(\\\\\\\\[\\"\'0?\\\\\\\\abfnrtv])","name":"constant.character.escape-sequence.d"}]},"expression":{"patterns":[{"include":"#index-expression"},{"include":"#expression-no-index"}]},"expression-no-index":{"patterns":[{"include":"#function-literal"},{"include":"#assert-expression"},{"include":"#assign-expression"},{"include":"#mixin-expression"},{"include":"#import-expression"},{"include":"#traits-expression"},{"include":"#is-expression"},{"include":"#typeid-expression"},{"include":"#shift-expression"},{"include":"#logical-expression"},{"include":"#rel-expression"},{"include":"#bitwise-expression"},{"include":"#identity-expression"},{"include":"#in-expression"},{"include":"#conditional-expression"},{"include":"#arithmetic-expression"},{"include":"#new-expression"},{"include":"#delete-expression"},{"include":"#cast-expression"},{"include":"#type-specialization"},{"include":"#comma"},{"include":"#special-keyword"},{"include":"#functions"},{"include":"#type"},{"include":"#parentheses-expression"},{"include":"#lexical"}]},"extended-type":{"patterns":[{"match":"\\\\b((\\\\.\\\\s*)?[_\\\\w][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[_\\\\w][_\\\\d\\\\w]*)*\\\\b","name":"entity.name.type.d"},{"begin":"\\\\[","beginCaptures":{"0":{"name":"storage.type.array.expression.begin.d"}},"end":"]","endCaptures":{"0":{"name":"storage.type.array.expression.end.d"}},"patterns":[{"match":"\\\\.\\\\.|\\\\$","name":"keyword.operator.slice.d"},{"include":"#type"},{"include":"#expression"}]}]},"final-switch-statement":{"patterns":[{"begin":"\\\\b(final\\\\s+switch)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.final.switch.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"finally-statement":{"patterns":[{"match":"\\\\bfinally\\\\b","name":"keyword.control.throw.d"}]},"float-literal":{"patterns":[{"include":"#decimal-float"},{"include":"#hexadecimal-float"}]},"for-statement":{"patterns":[{"begin":"\\\\b(for)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.for.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"foreach-reverse-statement":{"patterns":[{"begin":"\\\\b(foreach_reverse)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.foreach_reverse.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"match":";","name":"keyword.operator.semi-colon.d"},{"include":"source.d"}]}]}]},"foreach-statement":{"patterns":[{"begin":"\\\\b(foreach)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.foreach.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"match":";","name":"keyword.operator.semi-colon.d"},{"include":"source.d"}]}]}]},"function-attribute":{"patterns":[{"match":"\\\\b(nothrow|pure)\\\\b","name":"storage.type.modifier.function-attribute.d"},{"include":"#property"}]},"function-body":{"patterns":[{"include":"#in-statement"},{"include":"#out-statement"},{"include":"#block-statement"}]},"function-literal":{"patterns":[{"match":"=>","name":"keyword.operator.lambda.d"},{"match":"\\\\b(function|delegate)\\\\b","name":"keyword.other.function-literal.d"},{"begin":"\\\\b([_\\\\w][_\\\\d\\\\w]*)\\\\s*(=>)","beginCaptures":{"1":{"name":"variable.parameter.d"},"2":{"name":"meta.lexical.token.symbolic.d"}},"end":"(?=[]),;}])","patterns":[{"include":"source.d"}]},{"begin":"(?<=[()])(\\\\s*)(\\\\{)","beginCaptures":{"1":{"name":"source.d"},"2":{"name":"source.d"}},"end":"}","patterns":[{"include":"source.d"}]}]},"function-prelude":{"patterns":[{"match":"(?!type(?:of|id))((\\\\.\\\\s*)?[_\\\\w][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[_\\\\w][_\\\\d\\\\w]*)*\\\\s*(?=\\\\()","name":"entity.name.function.d"}]},"functions":{"patterns":[{"include":"#function-attribute"},{"include":"#function-prelude"}]},"goto-statement":{"patterns":[{"match":"\\\\bgoto\\\\s+default\\\\b","name":"keyword.control.goto.d"},{"match":"\\\\bgoto\\\\s+case\\\\b","name":"keyword.control.goto.d"},{"match":"\\\\bgoto\\\\b","name":"keyword.control.goto.d"}]},"hex-string":{"patterns":[{"begin":"x\\"","end":"\\"[cdw]?","name":"string.hex-string.d","patterns":[{"match":"[_s\\\\h]+","name":"constant.character.hex-string.d"}]}]},"hexadecimal-float":{"patterns":[{"match":"\\\\b0[Xx][_\\\\h]*(\\\\.[_\\\\h]*)?(p-|P-|p\\\\+|P\\\\+|[Pp])[0-9][0-9_]*[FLf]?i?\\\\b","name":"constant.numeric.float.hexadecimal.d"}]},"hexadecimal-integer":{"patterns":[{"match":"\\\\b(0[Xx])(\\\\h[_\\\\h]*)(Lu|LU|uL|UL|[LUu])?\\\\b","name":"constant.numeric.integer.hexadecimal.d"}]},"identifier":{"patterns":[{"match":"\\\\b((\\\\.\\\\s*)?[_\\\\w][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[_\\\\w][_\\\\d\\\\w]*)*\\\\b","name":"variable.d"}]},"identifier-list":{"patterns":[{"match":",","name":"keyword.other.comma.d"},{"include":"#identifier"}]},"identity-expression":{"patterns":[{"match":"\\\\b(!??is)\\\\b","name":"keyword.operator.identity.d"}]},"ies-string":{"patterns":[{"begin":"i\\"","end":"\\"[cdw]?","name":"string.ies-string.d","patterns":[{"include":"#interpolation-escape"},{"include":"#interpolation-sequence"},{"include":"#double-quoted-characters"}]}]},"ies-token-string":{"begin":"iq\\\\{","beginCaptures":{"0":{"name":"string.quoted.token.d"}},"end":"}[cdw]?","endCaptures":{"0":{"name":"string.quoted.token.d"}},"patterns":[{"include":"#interpolation-sequence"},{"include":"#token-string-content"}]},"ies-wysiwyg-string":{"patterns":[{"begin":"i`","end":"`[cdw]?","name":"string.ies-wysiwyg-string.d","patterns":[{"include":"#interpolation-escape"},{"include":"#interpolation-sequence"},{"include":"#wysiwyg-characters"}]}]},"if-statement":{"patterns":[{"begin":"\\\\b(if)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.if.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]},{"match":"\\\\belse\\\\b\\\\s*","name":"keyword.control.else.d"}]},"import-declaration":{"patterns":[{"begin":"\\\\b(static\\\\s+)?(import)\\\\s+(?!\\\\()","beginCaptures":{"1":{"name":"keyword.package.import.d"},"2":{"name":"keyword.package.import.d"}},"end":";","endCaptures":{"0":{"name":"meta.import.end.d"}},"patterns":[{"include":"#import-identifier"},{"include":"#comma"},{"include":"#comment"}]}]},"import-expression":{"patterns":[{"begin":"\\\\b(import)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.other.import.d"},"2":{"name":"keyword.other.import.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.import.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"import-identifier":{"patterns":[{"match":"([A-Z_a-z][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[A-Z_a-z][_\\\\d\\\\w]*)*","name":"variable.parameter.import.d"}]},"in-expression":{"patterns":[{"match":"\\\\b(!??in)\\\\b","name":"keyword.operator.in.d"}]},"in-statement":{"patterns":[{"match":"\\\\bin\\\\b","name":"keyword.control.in.d"}]},"index-expression":{"patterns":[{"begin":"\\\\[","end":"]","patterns":[{"match":"\\\\.\\\\.|\\\\$","name":"keyword.operator.slice.d"},{"include":"#expression-no-index"}]}]},"integer-literal":{"patterns":[{"include":"#decimal-integer"},{"include":"#binary-integer"},{"include":"#hexadecimal-integer"}]},"interface-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.interface.d"},"2":{"name":"entity.name.type.interface.d"}},"match":"\\\\b(interface)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"interpolation-escape":{"match":"\\\\\\\\\\\\$","name":"constant.character.escape-sequence.d"},"interpolation-sequence":{"begin":"\\\\$\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.d"}},"name":"meta.interpolation.expression.d","patterns":[{"include":"#expression"}]},"invariant":{"patterns":[{"match":"\\\\binvariant\\\\s*\\\\(\\\\s*\\\\)","name":"entity.name.class.invariant.d"}]},"is-expression":{"patterns":[{"begin":"\\\\bis\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.token.is.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.token.is.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"keyword":{"patterns":[{"match":"\\\\babstract\\\\b","name":"keyword.token.abstract.d"},{"match":"\\\\balias\\\\b","name":"keyword.token.alias.d"},{"match":"\\\\balign\\\\b","name":"keyword.token.align.d"},{"match":"\\\\basm\\\\b","name":"keyword.token.asm.d"},{"match":"\\\\bassert\\\\b","name":"keyword.token.assert.d"},{"match":"\\\\bauto\\\\b","name":"keyword.token.auto.d"},{"match":"\\\\bbool\\\\b","name":"keyword.token.bool.d"},{"match":"\\\\bbreak\\\\b","name":"keyword.token.break.d"},{"match":"\\\\bbyte\\\\b","name":"keyword.token.byte.d"},{"match":"\\\\bcase\\\\b","name":"keyword.token.case.d"},{"match":"\\\\bcast\\\\b","name":"keyword.token.cast.d"},{"match":"\\\\bcatch\\\\b","name":"keyword.token.catch.d"},{"match":"\\\\bcdouble\\\\b","name":"keyword.token.cdouble.d"},{"match":"\\\\bcent\\\\b","name":"keyword.token.cent.d"},{"match":"\\\\bcfloat\\\\b","name":"keyword.token.cfloat.d"},{"match":"\\\\bchar\\\\b","name":"keyword.token.char.d"},{"match":"\\\\bclass\\\\b","name":"keyword.token.class.d"},{"match":"\\\\bconst\\\\b","name":"keyword.token.const.d"},{"match":"\\\\bcontinue\\\\b","name":"keyword.token.continue.d"},{"match":"\\\\bcreal\\\\b","name":"keyword.token.creal.d"},{"match":"\\\\bdchar\\\\b","name":"keyword.token.dchar.d"},{"match":"\\\\bdebug\\\\b","name":"keyword.token.debug.d"},{"match":"\\\\bdefault\\\\b","name":"keyword.token.default.d"},{"match":"\\\\bdelegate\\\\b","name":"keyword.token.delegate.d"},{"match":"\\\\bdelete\\\\b","name":"keyword.token.delete.d"},{"match":"\\\\bdeprecated\\\\b","name":"keyword.token.deprecated.d"},{"match":"\\\\bdo\\\\b","name":"keyword.token.do.d"},{"match":"\\\\bdouble\\\\b","name":"keyword.token.double.d"},{"match":"\\\\belse\\\\b","name":"keyword.token.else.d"},{"match":"\\\\benum\\\\b","name":"keyword.token.enum.d"},{"match":"\\\\bexport\\\\b","name":"keyword.token.export.d"},{"match":"\\\\bextern\\\\b","name":"keyword.token.extern.d"},{"match":"\\\\bfalse\\\\b","name":"constant.language.boolean.false.d"},{"match":"\\\\bfinal\\\\b","name":"keyword.token.final.d"},{"match":"\\\\bfinally\\\\b","name":"keyword.token.finally.d"},{"match":"\\\\bfloat\\\\b","name":"keyword.token.float.d"},{"match":"\\\\bfor\\\\b","name":"keyword.token.for.d"},{"match":"\\\\bforeach\\\\b","name":"keyword.token.foreach.d"},{"match":"\\\\bforeach_reverse\\\\b","name":"keyword.token.foreach_reverse.d"},{"match":"\\\\bfunction\\\\b","name":"keyword.token.function.d"},{"match":"\\\\bgoto\\\\b","name":"keyword.token.goto.d"},{"match":"\\\\bidouble\\\\b","name":"keyword.token.idouble.d"},{"match":"\\\\bif\\\\b","name":"keyword.token.if.d"},{"match":"\\\\bifloat\\\\b","name":"keyword.token.ifloat.d"},{"match":"\\\\bimmutable\\\\b","name":"keyword.token.immutable.d"},{"match":"\\\\bimport\\\\b","name":"keyword.token.import.d"},{"match":"\\\\bin\\\\b","name":"keyword.token.in.d"},{"match":"\\\\binout\\\\b","name":"keyword.token.inout.d"},{"match":"\\\\bint\\\\b","name":"keyword.token.int.d"},{"match":"\\\\binterface\\\\b","name":"keyword.token.interface.d"},{"match":"\\\\binvariant\\\\b","name":"keyword.token.invariant.d"},{"match":"\\\\bireal\\\\b","name":"keyword.token.ireal.d"},{"match":"\\\\bis\\\\b","name":"keyword.token.is.d"},{"match":"\\\\blazy\\\\b","name":"keyword.token.lazy.d"},{"match":"\\\\blong\\\\b","name":"keyword.token.long.d"},{"match":"\\\\bmacro\\\\b","name":"keyword.token.macro.d"},{"match":"\\\\bmixin\\\\b","name":"keyword.token.mixin.d"},{"match":"\\\\bmodule\\\\b","name":"keyword.token.module.d"},{"match":"\\\\bnew\\\\b","name":"keyword.token.new.d"},{"match":"\\\\bnothrow\\\\b","name":"keyword.token.nothrow.d"},{"match":"\\\\bnull\\\\b","name":"constant.language.null.d"},{"match":"\\\\bout\\\\b","name":"keyword.token.out.d"},{"match":"\\\\boverride\\\\b","name":"keyword.token.override.d"},{"match":"\\\\bpackage\\\\b","name":"keyword.token.package.d"},{"match":"\\\\bpragma\\\\b","name":"keyword.token.pragma.d"},{"match":"\\\\bprivate\\\\b","name":"keyword.token.private.d"},{"match":"\\\\bprotected\\\\b","name":"keyword.token.protected.d"},{"match":"\\\\bpublic\\\\b","name":"keyword.token.public.d"},{"match":"\\\\bpure\\\\b","name":"keyword.token.pure.d"},{"match":"\\\\breal\\\\b","name":"keyword.token.real.d"},{"match":"\\\\bref\\\\b","name":"keyword.token.ref.d"},{"match":"\\\\breturn\\\\b","name":"keyword.token.return.d"},{"match":"\\\\bscope\\\\b","name":"keyword.token.scope.d"},{"match":"\\\\bshared\\\\b","name":"keyword.token.shared.d"},{"match":"\\\\bshort\\\\b","name":"keyword.token.short.d"},{"match":"\\\\bstatic\\\\b","name":"keyword.token.static.d"},{"match":"\\\\bstruct\\\\b","name":"keyword.token.struct.d"},{"match":"\\\\bsuper\\\\b","name":"keyword.token.super.d"},{"match":"\\\\bswitch\\\\b","name":"keyword.token.switch.d"},{"match":"\\\\bsynchronized\\\\b","name":"keyword.token.synchronized.d"},{"match":"\\\\btemplate\\\\b","name":"keyword.token.template.d"},{"match":"\\\\bthis\\\\b","name":"keyword.token.this.d"},{"match":"\\\\bthrow\\\\b","name":"keyword.token.throw.d"},{"match":"\\\\btrue\\\\b","name":"constant.language.boolean.true.d"},{"match":"\\\\btry\\\\b","name":"keyword.token.try.d"},{"match":"\\\\btypedef\\\\b","name":"keyword.token.typedef.d"},{"match":"\\\\btypeid\\\\b","name":"keyword.token.typeid.d"},{"match":"\\\\btypeof\\\\b","name":"keyword.token.typeof.d"},{"match":"\\\\bubyte\\\\b","name":"keyword.token.ubyte.d"},{"match":"\\\\bucent\\\\b","name":"keyword.token.ucent.d"},{"match":"\\\\buint\\\\b","name":"keyword.token.uint.d"},{"match":"\\\\bulong\\\\b","name":"keyword.token.ulong.d"},{"match":"\\\\bunion\\\\b","name":"keyword.token.union.d"},{"match":"\\\\bunittest\\\\b","name":"keyword.token.unittest.d"},{"match":"\\\\bushort\\\\b","name":"keyword.token.ushort.d"},{"match":"\\\\bversion\\\\b","name":"keyword.token.version.d"},{"match":"\\\\bvoid\\\\b","name":"keyword.token.void.d"},{"match":"\\\\bvolatile\\\\b","name":"keyword.token.volatile.d"},{"match":"\\\\bwchar\\\\b","name":"keyword.token.wchar.d"},{"match":"\\\\bwhile\\\\b","name":"keyword.token.while.d"},{"match":"\\\\bwith\\\\b","name":"keyword.token.with.d"},{"match":"\\\\b__FILE__\\\\b","name":"keyword.token.__FILE__.d"},{"match":"\\\\b__MODULE__\\\\b","name":"keyword.token.__MODULE__.d"},{"match":"\\\\b__LINE__\\\\b","name":"keyword.token.__LINE__.d"},{"match":"\\\\b__FUNCTION__\\\\b","name":"keyword.token.__FUNCTION__.d"},{"match":"\\\\b__PRETTY_FUNCTION__\\\\b","name":"keyword.token.__PRETTY_FUNCTION__.d"},{"match":"\\\\b__gshared\\\\b","name":"keyword.token.__gshared.d"},{"match":"\\\\b__traits\\\\b","name":"keyword.token.__traits.d"},{"match":"\\\\b__vector\\\\b","name":"keyword.token.__vector.d"},{"match":"\\\\b__parameters\\\\b","name":"keyword.token.__parameters.d"}]},"labeled-statement":{"patterns":[{"match":"\\\\b(?!abstract|alias|align|asm|assert|auto|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|in|inout|int|interface|invariant|ireal|is|lazy|long|macro|mixin|module|new|nothrow|noreturn|null|out|override|package|pragma|private|protected|public|pure|real|ref|return|scope|shared|short|static|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|__FILE__|__MODULE__|__LINE__|__FUNCTION__|__PRETTY_FUNCTION__|__gshared|__traits|__vector|__parameters)[A-Z_a-z][0-9A-Z_a-z]*\\\\s*:","name":"entity.name.d"}]},"lexical":{"patterns":[{"include":"#comment"},{"include":"#string-literal"},{"include":"#character-literal"},{"include":"#float-literal"},{"include":"#integer-literal"},{"include":"#eof"},{"include":"#special-tokens"},{"include":"#special-token-sequence"},{"include":"#keyword"},{"include":"#identifier"}]},"line-comment":{"patterns":[{"match":"//+.*$","name":"comment.line.d"}]},"linkage-attribute":{"patterns":[{"begin":"\\\\bextern\\\\s*\\\\(\\\\s*C\\\\+\\\\+\\\\s*,","beginCaptures":{"0":{"name":"keyword.other.extern.cplusplus.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.extern.cplusplus.end.d"}},"patterns":[{"include":"#identifier"},{"include":"#comma"}]},{"begin":"\\\\bextern\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.extern.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.extern.end.d"}},"patterns":[{"include":"#linkage-type"}]}]},"linkage-type":{"patterns":[{"match":"C|C\\\\+\\\\+|D|Windows|Pascal|System","name":"storage.modifier.linkage-type.d"}]},"logical-expression":{"patterns":[{"match":"\\\\|\\\\||&&|==|!=?","name":"keyword.operator.logical.d"}]},"member-function-attribute":{"patterns":[{"match":"\\\\b(const|immutable|inout|shared)\\\\b","name":"storage.type.modifier.member-function-attribute"}]},"mixin-declaration":{"patterns":[{"begin":"\\\\bmixin\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.mixin.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.mixin.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"mixin-expression":{"patterns":[{"begin":"\\\\bmixin\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.mixin.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.mixin.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"mixin-statement":{"patterns":[{"begin":"\\\\bmixin\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.control.mixin.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.control.mixin.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"mixin-template-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.mixintemplate.d"},"2":{"name":"entity.name.type.mixintemplate.d"}},"match":"\\\\b(mixin\\\\s*template)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"module":{"packages":[{"import":"#module-declaration"}]},"module-declaration":{"patterns":[{"begin":"\\\\b(module)\\\\s+","beginCaptures":{"1":{"name":"keyword.package.module.d"}},"end":";","endCaptures":{"0":{"name":"meta.module.end.d"}},"patterns":[{"include":"#module-identifier"},{"include":"#comment"}]}]},"module-identifier":{"patterns":[{"match":"([A-Z_a-z][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[A-Z_a-z][_\\\\d\\\\w]*)*","name":"variable.parameter.module.d"}]},"nesting-block-comment":{"patterns":[{"begin":"/((?!\\\\+/)\\\\+)+","beginCaptures":{"0":{"name":"comment.block.documentation.begin.d"}},"end":"\\\\++/","endCaptures":{"0":{"name":"comment.block.documentation.end.d"}},"name":"comment.block.documentation.content.d","patterns":[{"include":"#nesting-block-comment"}]}]},"new-expression":{"patterns":[{"match":"\\\\bnew\\\\s+","name":"keyword.other.new.d"}]},"non-block-statement":{"patterns":[{"include":"#module-declaration"},{"include":"#labeled-statement"},{"include":"#if-statement"},{"include":"#while-statement"},{"include":"#do-statement"},{"include":"#for-statement"},{"include":"#static-foreach"},{"include":"#static-foreach-reverse"},{"include":"#foreach-statement"},{"include":"#foreach-reverse-statement"},{"include":"#switch-statement"},{"include":"#final-switch-statement"},{"include":"#case-statement"},{"include":"#default-statement"},{"include":"#continue-statement"},{"include":"#break-statement"},{"include":"#return-statement"},{"include":"#goto-statement"},{"include":"#with-statement"},{"include":"#synchronized-statement"},{"include":"#try-statement"},{"include":"#catches"},{"include":"#scope-guard-statement"},{"include":"#throw-statement"},{"include":"#finally-statement"},{"include":"#asm-statement"},{"include":"#pragma-statement"},{"include":"#mixin-statement"},{"include":"#conditional-statement"},{"include":"#static-assert"},{"include":"#deprecated-statement"},{"include":"#unit-test"},{"include":"#declaration-statement"}]},"operands":{"patterns":[{"match":"[:?]","name":"keyword.operator.ternary.assembly.d"},{"match":"[]\\\\[]","name":"keyword.operator.bracket.assembly.d"},{"match":">>>|\\\\|\\\\||&&|==|!=|<=|>=|<<|>>|[-!%\\\\&*+/<>^|~]","name":"keyword.operator.assembly.d"}]},"out-statement":{"patterns":[{"begin":"\\\\bout\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.control.out.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.control.out.end.d"}},"patterns":[{"include":"#identifier"}]},{"match":"\\\\bout\\\\b","name":"keyword.control.out.d"}]},"parentheses-expression":{"patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"#expression"}]}]},"postblit":{"patterns":[{"match":"\\\\bthis\\\\s*\\\\(\\\\s*this\\\\s*\\\\)\\\\s","name":"entity.name.class.postblit.d"}]},"pragma":{"patterns":[{"match":"\\\\bpragma\\\\s*\\\\(\\\\s*[_\\\\w][_\\\\d\\\\w]*\\\\s*\\\\)","name":"keyword.other.pragma.d"},{"begin":"\\\\bpragma\\\\s*\\\\(\\\\s*[_\\\\w][_\\\\d\\\\w]*\\\\s*,","end":"\\\\)","name":"keyword.other.pragma.d","patterns":[{"include":"#expression"}]},{"match":"^#!.+","name":"gfm.markup.header.preprocessor.script-tag.d"}]},"pragma-statement":{"patterns":[{"include":"#pragma"}]},"property":{"patterns":[{"match":"@(property|safe|trusted|system|disable|nogc)\\\\b","name":"entity.name.tag.property.d"},{"include":"#user-defined-attribute"}]},"protection-attribute":{"patterns":[{"match":"\\\\b(private|package|protected|public|export)\\\\b","name":"keyword.other.protections.d"}]},"register":{"patterns":[{"match":"\\\\b(XMM0|XMM1|XMM2|XMM3|XMM4|XMM5|XMM6|XMM7|MM0|MM1|MM2|MM3|MM4|MM5|MM6|MM7|ST\\\\(0\\\\)|ST\\\\(1\\\\)|ST\\\\(2\\\\)|ST\\\\(3\\\\)|ST\\\\(4\\\\)|ST\\\\(5\\\\)|ST\\\\(6\\\\)|ST\\\\(7\\\\)|ST|TR1|TR2|TR3|TR4|TR5|TR6|TR7|DR0|DR1|DR2|DR3|DR4|DR5|DR6|DR7|CR0|CR2|CR3|CR4|EAX|EBX|ECX|EDX|EBP|ESP|EDI|ESI|AL|AH|AX|BL|BH|BX|CL|CH|CX|DL|DH|DX|BP|SP|DI|SI|ES|CS|SS|DS|GS|FS)\\\\b","name":"storage.type.assembly.register.d"}]},"register-64":{"patterns":[{"match":"\\\\b(RAX|RBX|RCX|RDX|BPL|RBP|SPL|RSP|DIL|RDI|SIL|RSI|R8B|R8W|R8D?|R9B|R9W|R9D?|R10B|R10W|R10D?|R11B|R11W|R11D?|R12B|R12W|R12D?|R13B|R13W|R13D?|R14B|R14W|R14D?|R15B|R15W|R15D?|XMM8|XMM9|XMM10|XMM11|XMM12|XMM13|XMM14|XMM15|YMM0|YMM1|YMM2|YMM3|YMM4|YMM5|YMM6|YMM7|YMM8|YMM9|YMM10|YMM11|YMM12|YMM13|YMM14|YMM15)\\\\b","name":"storage.type.assembly.register-64.d"}]},"rel-expression":{"patterns":[{"match":"!<>=?|<>=|!>=|!<=|<=|>=|<>|!>|!<|[<>]","name":"keyword.operator.rel.d"}]},"return-statement":{"patterns":[{"match":"\\\\breturn\\\\b","name":"keyword.control.return.d"}]},"scope-guard-statement":{"patterns":[{"match":"\\\\bscope\\\\s*\\\\((exit|success|failure)\\\\)","name":"keyword.control.scope.d"}]},"semi-colon":{"patterns":[{"match":";","name":"meta.statement.end.d"}]},"shared-static-constructor":{"patterns":[{"match":"\\\\b(shared\\\\s+)?static\\\\s+this\\\\s*\\\\(\\\\s*\\\\)","name":"entity.name.class.constructor.shared-static.d"},{"include":"#function-body"}]},"shared-static-destructor":{"patterns":[{"match":"\\\\b(shared\\\\s+)?static\\\\s+~this\\\\s*\\\\(\\\\s*\\\\)","name":"entity.name.class.destructor.static.d"}]},"shift-expression":{"patterns":[{"match":"<<|>>>??","name":"keyword.operator.shift.d"},{"include":"#add-expression"}]},"special-keyword":{"patterns":[{"match":"\\\\b(__(?:FILE|FILE_FULL_PATH|MODULE|LINE|FUNCTION|PRETTY_FUNCTION)__)\\\\b","name":"constant.language.special-keyword.d"}]},"special-token-sequence":{"patterns":[{"match":"#\\\\s*line.*","name":"gfm.markup.italic.special-token-sequence.d"}]},"special-tokens":{"patterns":[{"match":"\\\\b(__(?:DATE|TIME|TIMESTAMP|VENDOR|VERSION)__)\\\\b","name":"gfm.markup.raw.special-tokens.d"}]},"statement":{"patterns":[{"include":"#non-block-statement"},{"include":"#semi-colon"}]},"static-assert":{"patterns":[{"begin":"\\\\bstatic\\\\s+assert\\\\b\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.static-assert.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.static-assert.end.d"}},"patterns":[{"include":"#expression"}]}]},"static-foreach":{"patterns":[{"begin":"\\\\b(static\\\\s+foreach)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.static-foreach.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"match":";","name":"keyword.operator.semi-colon.d"},{"include":"source.d"}]}]}]},"static-foreach-reverse":{"patterns":[{"begin":"\\\\b(static\\\\s+foreach_reverse)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.static-foreach.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"match":";","name":"keyword.operator.semi-colon.d"},{"include":"source.d"}]}]}]},"static-if-condition":{"patterns":[{"begin":"\\\\bstatic\\\\s+if\\\\b\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.control.static-if.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.control.static-if.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"}]}]},"storage-class":{"patterns":[{"match":"\\\\b(deprecated|enum|static|extern|abstract|final|override|synchronized|auto|scope|const|immutable|inout|shared|__gshared|nothrow|pure|ref)\\\\b","name":"storage.class.d"},{"include":"#linkage-attribute"},{"include":"#align-attribute"},{"include":"#property"}]},"string-literal":{"patterns":[{"include":"#wysiwyg-string"},{"include":"#alternate-wysiwyg-string"},{"include":"#hex-string"},{"include":"#arbitrary-delimited-string"},{"include":"#delimited-string"},{"include":"#double-quoted-string"},{"include":"#token-string"},{"include":"#ies-string"},{"include":"#ies-wysiwyg-string"},{"include":"#ies-token-string"}]},"struct-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.struct.d"},"2":{"name":"entity.name.type.struct.d"}},"match":"\\\\b(struct)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"switch-statement":{"patterns":[{"begin":"\\\\b(switch)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.switch.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"synchronized-statement":{"patterns":[{"begin":"\\\\b(synchronized)\\\\b\\\\s*(?=\\\\()","captures":{"1":{"name":"keyword.control.synchronized.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"template-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.template.d"},"2":{"name":"entity.name.type.template.d"}},"match":"\\\\b(template)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"throw-statement":{"patterns":[{"match":"\\\\bthrow\\\\b","name":"keyword.control.throw.d"}]},"token-string":{"begin":"q\\\\{","beginCaptures":{"0":{"name":"string.quoted.token.d"}},"end":"}[cdw]?","endCaptures":{"0":{"name":"string.quoted.token.d"}},"patterns":[{"include":"#token-string-content"}]},"token-string-content":{"patterns":[{"begin":"\\\\{","end":"}","patterns":[{"include":"#token-string-content"}]},{"include":"#comment"},{"include":"#tokens"}]},"tokens":{"patterns":[{"include":"#string-literal"},{"include":"#character-literal"},{"include":"#integer-literal"},{"include":"#float-literal"},{"include":"#keyword"},{"match":"~=?|>>>|>>=?|>=?|=>|==?|<>|<=|<<?|%=|[#%]|&=|&&|[$\\\\&]|\\\\|=|\\\\|\\\\|?|\\\\+=|\\\\+\\\\+?|\\\\^=|\\\\^\\\\^=?|\\\\^|\\\\*=|[]()*\\\\[{}]|\\\\.\\\\.\\\\.?|[.?]|!>=?|!=|!<>=?|!<=?|!|/=|[,/:;@]|-=|--?","name":"meta.lexical.token.symbolic.d"},{"include":"#identifier"}]},"traits-argument":{"patterns":[{"include":"#expression"},{"include":"#type"}]},"traits-arguments":{"patterns":[{"include":"#traits-argument"},{"include":"#comma"}]},"traits-expression":{"patterns":[{"begin":"\\\\b__traits\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.traits.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.traits.end.d"}},"patterns":[{"include":"#traits-keyword"},{"include":"#comma"},{"include":"#traits-argument"}]}]},"traits-keyword":{"patterns":[{"match":"isAbstractClass|isArithmetic|isAssociativeArray|isFinalClass|isPOD|isNested|isFloating|isIntegral|isScalar|isStaticArray|isUnsigned|isVirtualFunction|isVirtualMethod|isAbstractFunction|isFinalFunction|isStaticFunction|isOverrideFunction|isRef|isOut|isLazy|hasMember|identifier|getAliasThis|getAttributes|getMember|getOverloads|getProtection|getVirtualFunctions|getVirtualMethods|getUnitTests|parent|classInstanceSize|getVirtualIndex|allMembers|derivedMembers|isSame|compiles","name":"support.constant.traits-keyword.d"}]},"try-statement":{"patterns":[{"match":"\\\\btry\\\\b","name":"keyword.control.try.d"}]},"type":{"patterns":[{"include":"#typeof"},{"include":"#base-type"},{"include":"#type-ctor"},{"begin":"!\\\\(","end":"\\\\)","patterns":[{"include":"#type"},{"include":"#expression"}]}]},"type-ctor":{"patterns":[{"match":"(const|immutable|inout|shared)\\\\b","name":"storage.type.modifier.d"}]},"type-specialization":{"patterns":[{"match":"\\\\b(struct|union|class|interface|enum|function|delegate|super|const|immutable|inout|shared|return|__parameters)\\\\b","name":"keyword.other.storage.type-specialization.d"}]},"typeid-expression":{"patterns":[{"match":"\\\\btypeid\\\\s*(?=\\\\()","name":"keyword.other.typeid.d"}]},"typeof":{"begin":"typeof\\\\s*\\\\(","end":"\\\\)","name":"keyword.token.typeof.d","patterns":[{"match":"return","name":"keyword.control.return.d"},{"include":"#expression"}]},"union-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.union.d"},"2":{"name":"entity.name.type.union.d"}},"match":"\\\\b(union)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"user-defined-attribute":{"patterns":[{"match":"@([_\\\\w][_\\\\d\\\\w]*)\\\\b","name":"entity.name.tag.user-defined-property.d"},{"begin":"@([_\\\\w][_\\\\d\\\\w]*)?\\\\(","end":"\\\\)","name":"entity.name.tag.user-defined-property.d","patterns":[{"include":"#expression"}]}]},"version-condition":{"patterns":[{"match":"\\\\bversion\\\\s*\\\\(\\\\s*unittest\\\\s*\\\\)","name":"keyword.other.version.unittest.d"},{"match":"\\\\bversion\\\\s*\\\\(\\\\s*assert\\\\s*\\\\)","name":"keyword.other.version.assert.d"},{"begin":"\\\\bversion\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.version.identifier.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.version.identifer.end.d"}},"patterns":[{"include":"#integer-literal"},{"include":"#identifier"}]},{"include":"#version-specification"}]},"version-specification":{"patterns":[{"match":"\\\\bversion\\\\b\\\\s*(?==)","name":"keyword.other.version-specification.d"}]},"void-initializer":{"patterns":[{"match":"\\\\bvoid\\\\b","name":"support.type.void.d"}]},"while-statement":{"patterns":[{"begin":"\\\\b(while)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.while.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"with-statement":{"patterns":[{"begin":"\\\\b(with)\\\\b\\\\s*(?=\\\\()","captures":{"1":{"name":"keyword.control.with.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"wysiwyg-characters":{"patterns":[{"include":"#character"},{"include":"#end-of-line"}]},"wysiwyg-string":{"patterns":[{"begin":"r\\"","end":"\\"[cdw]?","name":"string.wysiwyg-string.d","patterns":[{"include":"#wysiwyg-characters"}]}]}},"scopeName":"source.d"}')), t = [
2
- e
3
- ];
4
- export {
5
- t as default
6
- };
@@ -1,451 +0,0 @@
1
- import { _ as X, al as j, am as F, an as Y, ao as H, l as i, d as V, ap as q, aq as U, ai as $, ar as z, aj as P, ah as K, as as Q, at as W, au as Z } from "./mermaid.core-Cpfp0NBU.js";
2
- import { i as x, G as B } from "./graph-DB2UxkYH.js";
3
- import { b as L, m as A, l as I } from "./layout-Q6wQN5dr.js";
4
- import "./index-gmzqSpwg.js";
5
- import "react";
6
- import "react-dom";
7
- var ee = 4;
8
- function ne(e) {
9
- return L(e, ee);
10
- }
11
- function p(e) {
12
- var t = {
13
- options: {
14
- directed: e.isDirected(),
15
- multigraph: e.isMultigraph(),
16
- compound: e.isCompound()
17
- },
18
- nodes: te(e),
19
- edges: se(e)
20
- };
21
- return x(e.graph()) || (t.value = ne(e.graph())), t;
22
- }
23
- function te(e) {
24
- return A(e.nodes(), function(t) {
25
- var n = e.node(t), o = e.parent(t), c = { v: t };
26
- return x(n) || (c.value = n), x(o) || (c.parent = o), c;
27
- });
28
- }
29
- function se(e) {
30
- return A(e.edges(), function(t) {
31
- var n = e.edge(t), o = { v: t.v, w: t.w };
32
- return x(t.name) || (o.name = t.name), x(n) || (o.value = n), o;
33
- });
34
- }
35
- var f = /* @__PURE__ */ new Map(), b = /* @__PURE__ */ new Map(), G = /* @__PURE__ */ new Map(), ie = /* @__PURE__ */ X(() => {
36
- b.clear(), G.clear(), f.clear();
37
- }, "clear"), O = /* @__PURE__ */ X((e, t) => {
38
- const n = b.get(t) || [];
39
- return i.trace("In isDescendant", t, " ", e, " = ", n.includes(e)), n.includes(e);
40
- }, "isDescendant"), re = /* @__PURE__ */ X((e, t) => {
41
- const n = b.get(t) || [];
42
- return i.info("Descendants of ", t, " is ", n), i.info("Edge is ", e), e.v === t || e.w === t ? !1 : n ? n.includes(e.v) || O(e.v, t) || O(e.w, t) || n.includes(e.w) : (i.debug("Tilt, ", t, ",not in descendants"), !1);
43
- }, "edgeInCluster"), J = /* @__PURE__ */ X((e, t, n, o) => {
44
- i.warn(
45
- "Copying children of ",
46
- e,
47
- "root",
48
- o,
49
- "data",
50
- t.node(e),
51
- o
52
- );
53
- const c = t.children(e) || [];
54
- e !== o && c.push(e), i.warn("Copying (nodes) clusterId", e, "nodes", c), c.forEach((a) => {
55
- if (t.children(a).length > 0)
56
- J(a, t, n, o);
57
- else {
58
- const r = t.node(a);
59
- i.info("cp ", a, " to ", o, " with parent ", e), n.setNode(a, r), o !== t.parent(a) && (i.warn("Setting parent", a, t.parent(a)), n.setParent(a, t.parent(a))), e !== o && a !== e ? (i.debug("Setting parent", a, e), n.setParent(a, e)) : (i.info("In copy ", e, "root", o, "data", t.node(e), o), i.debug(
60
- "Not Setting parent for node=",
61
- a,
62
- "cluster!==rootId",
63
- e !== o,
64
- "node!==clusterId",
65
- a !== e
66
- ));
67
- const u = t.edges(a);
68
- i.debug("Copying Edges", u), u.forEach((l) => {
69
- i.info("Edge", l);
70
- const v = t.edge(l.v, l.w, l.name);
71
- i.info("Edge data", v, o);
72
- try {
73
- re(l, o) ? (i.info("Copying as ", l.v, l.w, v, l.name), n.setEdge(l.v, l.w, v, l.name), i.info("newGraph edges ", n.edges(), n.edge(n.edges()[0]))) : i.info(
74
- "Skipping copy of edge ",
75
- l.v,
76
- "-->",
77
- l.w,
78
- " rootId: ",
79
- o,
80
- " clusterId:",
81
- e
82
- );
83
- } catch (C) {
84
- i.error(C);
85
- }
86
- });
87
- }
88
- i.debug("Removing node", a), t.removeNode(a);
89
- });
90
- }, "copy"), R = /* @__PURE__ */ X((e, t) => {
91
- const n = t.children(e);
92
- let o = [...n];
93
- for (const c of n)
94
- G.set(c, e), o = [...o, ...R(c, t)];
95
- return o;
96
- }, "extractDescendants"), oe = /* @__PURE__ */ X((e, t, n) => {
97
- const o = e.edges().filter((l) => l.v === t || l.w === t), c = e.edges().filter((l) => l.v === n || l.w === n), a = o.map((l) => ({ v: l.v === t ? n : l.v, w: l.w === t ? t : l.w })), r = c.map((l) => ({ v: l.v, w: l.w }));
98
- return a.filter((l) => r.some((v) => l.v === v.v && l.w === v.w));
99
- }, "findCommonEdges"), D = /* @__PURE__ */ X((e, t, n) => {
100
- const o = t.children(e);
101
- if (i.trace("Searching children of id ", e, o), o.length < 1)
102
- return e;
103
- let c;
104
- for (const a of o) {
105
- const r = D(a, t, n), u = oe(t, n, r);
106
- if (r)
107
- if (u.length > 0)
108
- c = r;
109
- else
110
- return r;
111
- }
112
- return c;
113
- }, "findNonClusterChild"), k = /* @__PURE__ */ X((e) => !f.has(e) || !f.get(e).externalConnections ? e : f.has(e) ? f.get(e).id : e, "getAnchorId"), ae = /* @__PURE__ */ X((e, t) => {
114
- if (!e || t > 10) {
115
- i.debug("Opting out, no graph ");
116
- return;
117
- } else
118
- i.debug("Opting in, graph ");
119
- e.nodes().forEach(function(n) {
120
- e.children(n).length > 0 && (i.warn(
121
- "Cluster identified",
122
- n,
123
- " Replacement id in edges: ",
124
- D(n, e, n)
125
- ), b.set(n, R(n, e)), f.set(n, { id: D(n, e, n), clusterData: e.node(n) }));
126
- }), e.nodes().forEach(function(n) {
127
- const o = e.children(n), c = e.edges();
128
- o.length > 0 ? (i.debug("Cluster identified", n, b), c.forEach((a) => {
129
- const r = O(a.v, n), u = O(a.w, n);
130
- r ^ u && (i.warn("Edge: ", a, " leaves cluster ", n), i.warn("Descendants of XXX ", n, ": ", b.get(n)), f.get(n).externalConnections = !0);
131
- })) : i.debug("Not a cluster ", n, b);
132
- });
133
- for (let n of f.keys()) {
134
- const o = f.get(n).id, c = e.parent(o);
135
- c !== n && f.has(c) && !f.get(c).externalConnections && (f.get(n).id = c);
136
- }
137
- e.edges().forEach(function(n) {
138
- const o = e.edge(n);
139
- i.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(n)), i.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(e.edge(n)));
140
- let c = n.v, a = n.w;
141
- if (i.warn(
142
- "Fix XXX",
143
- f,
144
- "ids:",
145
- n.v,
146
- n.w,
147
- "Translating: ",
148
- f.get(n.v),
149
- " --- ",
150
- f.get(n.w)
151
- ), f.get(n.v) || f.get(n.w)) {
152
- if (i.warn("Fixing and trying - removing XXX", n.v, n.w, n.name), c = k(n.v), a = k(n.w), e.removeEdge(n.v, n.w, n.name), c !== n.v) {
153
- const r = e.parent(c);
154
- f.get(r).externalConnections = !0, o.fromCluster = n.v;
155
- }
156
- if (a !== n.w) {
157
- const r = e.parent(a);
158
- f.get(r).externalConnections = !0, o.toCluster = n.w;
159
- }
160
- i.warn("Fix Replacing with XXX", c, a, n.name), e.setEdge(c, a, o, n.name);
161
- }
162
- }), i.warn("Adjusted Graph", p(e)), T(e, 0), i.trace(f);
163
- }, "adjustClustersAndEdges"), T = /* @__PURE__ */ X((e, t) => {
164
- var c, a;
165
- if (i.warn("extractor - ", t, p(e), e.children("D")), t > 10) {
166
- i.error("Bailing out");
167
- return;
168
- }
169
- let n = e.nodes(), o = !1;
170
- for (const r of n) {
171
- const u = e.children(r);
172
- o = o || u.length > 0;
173
- }
174
- if (!o) {
175
- i.debug("Done, no node has children", e.nodes());
176
- return;
177
- }
178
- i.debug("Nodes = ", n, t);
179
- for (const r of n)
180
- if (i.debug(
181
- "Extracting node",
182
- r,
183
- f,
184
- f.has(r) && !f.get(r).externalConnections,
185
- !e.parent(r),
186
- e.node(r),
187
- e.children("D"),
188
- " Depth ",
189
- t
190
- ), !f.has(r))
191
- i.debug("Not a cluster", r, t);
192
- else if (!f.get(r).externalConnections && e.children(r) && e.children(r).length > 0) {
193
- i.warn(
194
- "Cluster without external connections, without a parent and with children",
195
- r,
196
- t
197
- );
198
- let l = e.graph().rankdir === "TB" ? "LR" : "TB";
199
- (a = (c = f.get(r)) == null ? void 0 : c.clusterData) != null && a.dir && (l = f.get(r).clusterData.dir, i.warn("Fixing dir", f.get(r).clusterData.dir, l));
200
- const v = new B({
201
- multigraph: !0,
202
- compound: !0
203
- }).setGraph({
204
- rankdir: l,
205
- nodesep: 50,
206
- ranksep: 50,
207
- marginx: 8,
208
- marginy: 8
209
- }).setDefaultEdgeLabel(function() {
210
- return {};
211
- });
212
- i.warn("Old graph before copy", p(e)), J(r, e, v, r), e.setNode(r, {
213
- clusterNode: !0,
214
- id: r,
215
- clusterData: f.get(r).clusterData,
216
- label: f.get(r).label,
217
- graph: v
218
- }), i.warn("New graph after copy node: (", r, ")", p(v)), i.debug("Old graph after copy", p(e));
219
- } else
220
- i.warn(
221
- "Cluster ** ",
222
- r,
223
- " **not meeting the criteria !externalConnections:",
224
- !f.get(r).externalConnections,
225
- " no parent: ",
226
- !e.parent(r),
227
- " children ",
228
- e.children(r) && e.children(r).length > 0,
229
- e.children("D"),
230
- t
231
- ), i.debug(f);
232
- n = e.nodes(), i.warn("New list of nodes", n);
233
- for (const r of n) {
234
- const u = e.node(r);
235
- i.warn(" Now next level", r, u), u != null && u.clusterNode && T(u.graph, t + 1);
236
- }
237
- }, "extractor"), M = /* @__PURE__ */ X((e, t) => {
238
- if (t.length === 0)
239
- return [];
240
- let n = Object.assign([], t);
241
- return t.forEach((o) => {
242
- const c = e.children(o), a = M(e, c);
243
- n = [...n, ...a];
244
- }), n;
245
- }, "sorter"), ce = /* @__PURE__ */ X((e) => M(e, e.children()), "sortNodesByHierarchy"), _ = /* @__PURE__ */ X(async (e, t, n, o, c, a) => {
246
- i.warn("Graph in recursive render:XAX", p(t), c);
247
- const r = t.graph().rankdir;
248
- i.trace("Dir in recursive render - dir:", r);
249
- const u = e.insert("g").attr("class", "root");
250
- t.nodes() ? i.info("Recursive render XXX", t.nodes()) : i.info("No nodes found for", t), t.edges().length > 0 && i.info("Recursive edges", t.edge(t.edges()[0]));
251
- const l = u.insert("g").attr("class", "clusters"), v = u.insert("g").attr("class", "edgePaths"), C = u.insert("g").attr("class", "edgeLabels"), g = u.insert("g").attr("class", "nodes");
252
- await Promise.all(
253
- t.nodes().map(async function(d) {
254
- const s = t.node(d);
255
- if (c !== void 0) {
256
- const w = JSON.parse(JSON.stringify(c.clusterData));
257
- i.trace(
258
- `Setting data for parent cluster XXX
259
- Node.id = `,
260
- d,
261
- `
262
- data=`,
263
- w.height,
264
- `
265
- Parent cluster`,
266
- c.height
267
- ), t.setNode(c.id, w), t.parent(d) || (i.trace("Setting parent", d, c.id), t.setParent(d, c.id, w));
268
- }
269
- if (i.info("(Insert) Node XXX" + d + ": " + JSON.stringify(t.node(d))), s != null && s.clusterNode) {
270
- i.info("Cluster identified XBX", d, s.width, t.node(d));
271
- const { ranksep: w, nodesep: m } = t.graph();
272
- s.graph.setGraph({
273
- ...s.graph.graph(),
274
- ranksep: w + 25,
275
- nodesep: m
276
- });
277
- const N = await _(
278
- g,
279
- s.graph,
280
- n,
281
- o,
282
- t.node(d),
283
- a
284
- ), S = N.elem;
285
- q(s, S), s.diff = N.diff || 0, i.info(
286
- "New compound node after recursive render XAX",
287
- d,
288
- "width",
289
- // node,
290
- s.width,
291
- "height",
292
- s.height
293
- // node.x,
294
- // node.y
295
- ), U(S, s);
296
- } else
297
- t.children(d).length > 0 ? (i.trace(
298
- "Cluster - the non recursive path XBX",
299
- d,
300
- s.id,
301
- s,
302
- s.width,
303
- "Graph:",
304
- t
305
- ), i.trace(D(s.id, t)), f.set(s.id, { id: D(s.id, t), node: s })) : (i.trace("Node - the non recursive path XAX", d, g, t.node(d), r), await $(g, t.node(d), { config: a, dir: r }));
306
- })
307
- ), await (/* @__PURE__ */ X(async () => {
308
- const d = t.edges().map(async function(s) {
309
- const w = t.edge(s.v, s.w, s.name);
310
- i.info("Edge " + s.v + " -> " + s.w + ": " + JSON.stringify(s)), i.info("Edge " + s.v + " -> " + s.w + ": ", s, " ", JSON.stringify(t.edge(s))), i.info(
311
- "Fix",
312
- f,
313
- "ids:",
314
- s.v,
315
- s.w,
316
- "Translating: ",
317
- f.get(s.v),
318
- f.get(s.w)
319
- ), await Z(C, w);
320
- });
321
- await Promise.all(d);
322
- }, "processEdges"))(), i.info("Graph before layout:", JSON.stringify(p(t))), i.info("############################################# XXX"), i.info("### Layout ### XXX"), i.info("############################################# XXX"), I(t), i.info("Graph after layout:", JSON.stringify(p(t)));
323
- let E = 0, { subGraphTitleTotalMargin: y } = z(a);
324
- return await Promise.all(
325
- ce(t).map(async function(d) {
326
- var w;
327
- const s = t.node(d);
328
- if (i.info(
329
- "Position XBX => " + d + ": (" + s.x,
330
- "," + s.y,
331
- ") width: ",
332
- s.width,
333
- " height: ",
334
- s.height
335
- ), s != null && s.clusterNode)
336
- s.y += y, i.info(
337
- "A tainted cluster node XBX1",
338
- d,
339
- s.id,
340
- s.width,
341
- s.height,
342
- s.x,
343
- s.y,
344
- t.parent(d)
345
- ), f.get(s.id).node = s, P(s);
346
- else if (t.children(d).length > 0) {
347
- i.info(
348
- "A pure cluster node XBX1",
349
- d,
350
- s.id,
351
- s.x,
352
- s.y,
353
- s.width,
354
- s.height,
355
- t.parent(d)
356
- ), s.height += y, t.node(s.parentId);
357
- const m = (s == null ? void 0 : s.padding) / 2 || 0, N = ((w = s == null ? void 0 : s.labelBBox) == null ? void 0 : w.height) || 0, S = N - m || 0;
358
- i.debug("OffsetY", S, "labelHeight", N, "halfPadding", m), await K(l, s), f.get(s.id).node = s;
359
- } else {
360
- const m = t.node(s.parentId);
361
- s.y += y / 2, i.info(
362
- "A regular node XBX1 - using the padding",
363
- s.id,
364
- "parent",
365
- s.parentId,
366
- s.width,
367
- s.height,
368
- s.x,
369
- s.y,
370
- "offsetY",
371
- s.offsetY,
372
- "parent",
373
- m,
374
- m == null ? void 0 : m.offsetY,
375
- s
376
- ), P(s);
377
- }
378
- })
379
- ), t.edges().forEach(function(d) {
380
- const s = t.edge(d);
381
- i.info("Edge " + d.v + " -> " + d.w + ": " + JSON.stringify(s), s), s.points.forEach((S) => S.y += y / 2);
382
- const w = t.node(d.v);
383
- var m = t.node(d.w);
384
- const N = Q(v, s, f, n, w, m, o);
385
- W(s, N);
386
- }), t.nodes().forEach(function(d) {
387
- const s = t.node(d);
388
- i.info(d, s.type, s.diff), s.isGroup && (E = s.diff);
389
- }), i.warn("Returning from recursive render XAX", u, E), { elem: u, diff: E };
390
- }, "recursiveRender"), me = /* @__PURE__ */ X(async (e, t) => {
391
- var a, r, u, l, v, C;
392
- const n = new B({
393
- multigraph: !0,
394
- compound: !0
395
- }).setGraph({
396
- rankdir: e.direction,
397
- nodesep: ((a = e.config) == null ? void 0 : a.nodeSpacing) || ((u = (r = e.config) == null ? void 0 : r.flowchart) == null ? void 0 : u.nodeSpacing) || e.nodeSpacing,
398
- ranksep: ((l = e.config) == null ? void 0 : l.rankSpacing) || ((C = (v = e.config) == null ? void 0 : v.flowchart) == null ? void 0 : C.rankSpacing) || e.rankSpacing,
399
- marginx: 8,
400
- marginy: 8
401
- }).setDefaultEdgeLabel(function() {
402
- return {};
403
- }), o = t.select("g");
404
- j(o, e.markers, e.type, e.diagramId), F(), Y(), H(), ie(), e.nodes.forEach((g) => {
405
- n.setNode(g.id, { ...g }), g.parentId && n.setParent(g.id, g.parentId);
406
- }), i.debug("Edges:", e.edges), e.edges.forEach((g) => {
407
- if (g.start === g.end) {
408
- const h = g.start, E = h + "---" + h + "---1", y = h + "---" + h + "---2", d = n.node(h);
409
- n.setNode(E, {
410
- domId: E,
411
- id: E,
412
- parentId: d.parentId,
413
- labelStyle: "",
414
- label: "",
415
- padding: 0,
416
- shape: "labelRect",
417
- // shape: 'rect',
418
- style: "",
419
- width: 10,
420
- height: 10
421
- }), n.setParent(E, d.parentId), n.setNode(y, {
422
- domId: y,
423
- id: y,
424
- parentId: d.parentId,
425
- labelStyle: "",
426
- padding: 0,
427
- // shape: 'rect',
428
- shape: "labelRect",
429
- label: "",
430
- style: "",
431
- width: 10,
432
- height: 10
433
- }), n.setParent(y, d.parentId);
434
- const s = structuredClone(g), w = structuredClone(g), m = structuredClone(g);
435
- s.label = "", s.arrowTypeEnd = "none", s.id = h + "-cyclic-special-1", w.arrowTypeStart = "none", w.arrowTypeEnd = "none", w.id = h + "-cyclic-special-mid", m.label = "", d.isGroup && (s.fromCluster = h, m.toCluster = h), m.id = h + "-cyclic-special-2", m.arrowTypeStart = "none", n.setEdge(h, E, s, h + "-cyclic-special-0"), n.setEdge(E, y, w, h + "-cyclic-special-1"), n.setEdge(y, h, m, h + "-cyc<lic-special-2");
436
- } else
437
- n.setEdge(g.start, g.end, { ...g }, g.id);
438
- }), i.warn("Graph at first:", JSON.stringify(p(n))), ae(n), i.warn("Graph after XAX:", JSON.stringify(p(n)));
439
- const c = V();
440
- await _(
441
- o,
442
- n,
443
- e.type,
444
- e.diagramId,
445
- void 0,
446
- c
447
- );
448
- }, "render");
449
- export {
450
- me as render
451
- };
@@ -1,4 +0,0 @@
1
- const e = Object.freeze(JSON.parse('{"colors":{"actionBar.toggledBackground":"#383a49","activityBarBadge.background":"#007ACC","checkbox.border":"#6B6B6B","editor.background":"#1E1E1E","editor.foreground":"#D4D4D4","editor.inactiveSelectionBackground":"#3A3D41","editor.selectionHighlightBackground":"#ADD6FF26","editorIndentGuide.activeBackground1":"#707070","editorIndentGuide.background1":"#404040","input.placeholderForeground":"#A6A6A6","list.activeSelectionIconForeground":"#FFF","list.dropBackground":"#383B3D","menu.background":"#252526","menu.border":"#454545","menu.foreground":"#CCCCCC","menu.selectionBackground":"#0078d4","menu.separatorBackground":"#454545","ports.iconRunningProcessForeground":"#369432","sideBarSectionHeader.background":"#0000","sideBarSectionHeader.border":"#ccc3","sideBarTitle.foreground":"#BBBBBB","statusBarItem.remoteBackground":"#16825D","statusBarItem.remoteForeground":"#FFF","tab.lastPinnedBorder":"#ccc3","tab.selectedBackground":"#222222","tab.selectedForeground":"#ffffffa0","terminal.inactiveSelectionBackground":"#3A3D41","widget.border":"#303031"},"displayName":"Dark Plus","name":"dark-plus","semanticHighlighting":true,"semanticTokenColors":{"customLiteral":"#DCDCAA","newOperator":"#C586C0","numberLiteral":"#b5cea8","stringLiteral":"#ce9178"},"tokenColors":[{"scope":["meta.embedded","source.groovy.embedded","string meta.image.inline.markdown","variable.legacy.builtin.python"],"settings":{"foreground":"#D4D4D4"}},{"scope":"emphasis","settings":{"fontStyle":"italic"}},{"scope":"strong","settings":{"fontStyle":"bold"}},{"scope":"header","settings":{"foreground":"#000080"}},{"scope":"comment","settings":{"foreground":"#6A9955"}},{"scope":"constant.language","settings":{"foreground":"#569cd6"}},{"scope":["constant.numeric","variable.other.enummember","keyword.operator.plus.exponent","keyword.operator.minus.exponent"],"settings":{"foreground":"#b5cea8"}},{"scope":"constant.regexp","settings":{"foreground":"#646695"}},{"scope":"entity.name.tag","settings":{"foreground":"#569cd6"}},{"scope":["entity.name.tag.css","entity.name.tag.less"],"settings":{"foreground":"#d7ba7d"}},{"scope":"entity.other.attribute-name","settings":{"foreground":"#9cdcfe"}},{"scope":["entity.other.attribute-name.class.css","source.css entity.other.attribute-name.class","entity.other.attribute-name.id.css","entity.other.attribute-name.parent-selector.css","entity.other.attribute-name.parent.less","source.css entity.other.attribute-name.pseudo-class","entity.other.attribute-name.pseudo-element.css","source.css.less entity.other.attribute-name.id","entity.other.attribute-name.scss"],"settings":{"foreground":"#d7ba7d"}},{"scope":"invalid","settings":{"foreground":"#f44747"}},{"scope":"markup.underline","settings":{"fontStyle":"underline"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#569cd6"}},{"scope":"markup.heading","settings":{"fontStyle":"bold","foreground":"#569cd6"}},{"scope":"markup.italic","settings":{"fontStyle":"italic"}},{"scope":"markup.strikethrough","settings":{"fontStyle":"strikethrough"}},{"scope":"markup.inserted","settings":{"foreground":"#b5cea8"}},{"scope":"markup.deleted","settings":{"foreground":"#ce9178"}},{"scope":"markup.changed","settings":{"foreground":"#569cd6"}},{"scope":"punctuation.definition.quote.begin.markdown","settings":{"foreground":"#6A9955"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#6796e6"}},{"scope":"markup.inline.raw","settings":{"foreground":"#ce9178"}},{"scope":"punctuation.definition.tag","settings":{"foreground":"#808080"}},{"scope":["meta.preprocessor","entity.name.function.preprocessor"],"settings":{"foreground":"#569cd6"}},{"scope":"meta.preprocessor.string","settings":{"foreground":"#ce9178"}},{"scope":"meta.preprocessor.numeric","settings":{"foreground":"#b5cea8"}},{"scope":"meta.structure.dictionary.key.python","settings":{"foreground":"#9cdcfe"}},{"scope":"meta.diff.header","settings":{"foreground":"#569cd6"}},{"scope":"storage","settings":{"foreground":"#569cd6"}},{"scope":"storage.type","settings":{"foreground":"#569cd6"}},{"scope":["storage.modifier","keyword.operator.noexcept"],"settings":{"foreground":"#569cd6"}},{"scope":["string","meta.embedded.assembly"],"settings":{"foreground":"#ce9178"}},{"scope":"string.tag","settings":{"foreground":"#ce9178"}},{"scope":"string.value","settings":{"foreground":"#ce9178"}},{"scope":"string.regexp","settings":{"foreground":"#d16969"}},{"scope":["punctuation.definition.template-expression.begin","punctuation.definition.template-expression.end","punctuation.section.embedded"],"settings":{"foreground":"#569cd6"}},{"scope":["meta.template.expression"],"settings":{"foreground":"#d4d4d4"}},{"scope":["support.type.vendored.property-name","support.type.property-name","source.css variable","source.coffee.embedded"],"settings":{"foreground":"#9cdcfe"}},{"scope":"keyword","settings":{"foreground":"#569cd6"}},{"scope":"keyword.control","settings":{"foreground":"#569cd6"}},{"scope":"keyword.operator","settings":{"foreground":"#d4d4d4"}},{"scope":["keyword.operator.new","keyword.operator.expression","keyword.operator.cast","keyword.operator.sizeof","keyword.operator.alignof","keyword.operator.typeid","keyword.operator.alignas","keyword.operator.instanceof","keyword.operator.logical.python","keyword.operator.wordlike"],"settings":{"foreground":"#569cd6"}},{"scope":"keyword.other.unit","settings":{"foreground":"#b5cea8"}},{"scope":["punctuation.section.embedded.begin.php","punctuation.section.embedded.end.php"],"settings":{"foreground":"#569cd6"}},{"scope":"support.function.git-rebase","settings":{"foreground":"#9cdcfe"}},{"scope":"constant.sha.git-rebase","settings":{"foreground":"#b5cea8"}},{"scope":["storage.modifier.import.java","variable.language.wildcard.java","storage.modifier.package.java"],"settings":{"foreground":"#d4d4d4"}},{"scope":"variable.language","settings":{"foreground":"#569cd6"}},{"scope":["entity.name.function","support.function","support.constant.handlebars","source.powershell variable.other.member","entity.name.operator.custom-literal"],"settings":{"foreground":"#DCDCAA"}},{"scope":["support.class","support.type","entity.name.type","entity.name.namespace","entity.other.attribute","entity.name.scope-resolution","entity.name.class","storage.type.numeric.go","storage.type.byte.go","storage.type.boolean.go","storage.type.string.go","storage.type.uintptr.go","storage.type.error.go","storage.type.rune.go","storage.type.cs","storage.type.generic.cs","storage.type.modifier.cs","storage.type.variable.cs","storage.type.annotation.java","storage.type.generic.java","storage.type.java","storage.type.object.array.java","storage.type.primitive.array.java","storage.type.primitive.java","storage.type.token.java","storage.type.groovy","storage.type.annotation.groovy","storage.type.parameters.groovy","storage.type.generic.groovy","storage.type.object.array.groovy","storage.type.primitive.array.groovy","storage.type.primitive.groovy"],"settings":{"foreground":"#4EC9B0"}},{"scope":["meta.type.cast.expr","meta.type.new.expr","support.constant.math","support.constant.dom","support.constant.json","entity.other.inherited-class","punctuation.separator.namespace.ruby"],"settings":{"foreground":"#4EC9B0"}},{"scope":["keyword.control","source.cpp keyword.operator.new","keyword.operator.delete","keyword.other.using","keyword.other.directive.using","keyword.other.operator","entity.name.operator"],"settings":{"foreground":"#C586C0"}},{"scope":["variable","meta.definition.variable.name","support.variable","entity.name.variable","constant.other.placeholder"],"settings":{"foreground":"#9CDCFE"}},{"scope":["variable.other.constant","variable.other.enummember"],"settings":{"foreground":"#4FC1FF"}},{"scope":["meta.object-literal.key"],"settings":{"foreground":"#9CDCFE"}},{"scope":["support.constant.property-value","support.constant.font-name","support.constant.media-type","support.constant.media","constant.other.color.rgb-value","constant.other.rgb-value","support.constant.color"],"settings":{"foreground":"#CE9178"}},{"scope":["punctuation.definition.group.regexp","punctuation.definition.group.assertion.regexp","punctuation.definition.character-class.regexp","punctuation.character.set.begin.regexp","punctuation.character.set.end.regexp","keyword.operator.negation.regexp","support.other.parenthesis.regexp"],"settings":{"foreground":"#CE9178"}},{"scope":["constant.character.character-class.regexp","constant.other.character-class.set.regexp","constant.other.character-class.regexp","constant.character.set.regexp"],"settings":{"foreground":"#d16969"}},{"scope":["keyword.operator.or.regexp","keyword.control.anchor.regexp"],"settings":{"foreground":"#DCDCAA"}},{"scope":"keyword.operator.quantifier.regexp","settings":{"foreground":"#d7ba7d"}},{"scope":["constant.character","constant.other.option"],"settings":{"foreground":"#569cd6"}},{"scope":"constant.character.escape","settings":{"foreground":"#d7ba7d"}},{"scope":"entity.name.label","settings":{"foreground":"#C8C8C8"}}],"type":"dark"}'));
2
- export {
3
- e as default
4
- };