@cloudbase/agent-example-ui-web-shared 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (346) hide show
  1. package/README.md +75 -0
  2. package/dist/_basePickBy-DsoLgTN_.js +151 -0
  3. package/dist/_baseUniq-CfGVqM25.js +614 -0
  4. package/dist/abap-Y8Dl9g_6.js +6 -0
  5. package/dist/actionscript-3-DZzbMeqX.js +6 -0
  6. package/dist/ada-vP6ak0IW.js +6 -0
  7. package/dist/andromeeda-BIpZ7gaU.js +4 -0
  8. package/dist/angular-html-BmadGEgW.js +32 -0
  9. package/dist/angular-ts-D-QQnnGT.js +21 -0
  10. package/dist/apache-BUjz-sD2.js +6 -0
  11. package/dist/apex-D_wPycVx.js +6 -0
  12. package/dist/apl-sitt7C8I.js +16 -0
  13. package/dist/applescript-BPx7YFFu.js +6 -0
  14. package/dist/ara-Z2fSOxSw.js +6 -0
  15. package/dist/arc-Bhpsr2QW.js +83 -0
  16. package/dist/architecture-O4VJ6CD3-ByjLkabB.js +5 -0
  17. package/dist/architectureDiagram-VXUJARFQ-B2nTXDaN.js +4662 -0
  18. package/dist/asciidoc-B-pCoB3G.js +6 -0
  19. package/dist/asm-BTWLY5ym.js +6 -0
  20. package/dist/astro-DHnp0xIo.js +18 -0
  21. package/dist/aurora-x-BwoVEUWZ.js +4 -0
  22. package/dist/awk-Fb0P9dkn.js +6 -0
  23. package/dist/ayu-dark-CxPZkpb2.js +4 -0
  24. package/dist/ballerina-oZK-YekG.js +6 -0
  25. package/dist/bat-0FvbqU9S.js +6 -0
  26. package/dist/beancount-DEfTbbFX.js +6 -0
  27. package/dist/berry-PwsHPR_K.js +6 -0
  28. package/dist/bibtex-EULQRLY5.js +6 -0
  29. package/dist/bicep-DFU2oTl7.js +6 -0
  30. package/dist/blade-OPzGcV14.js +20 -0
  31. package/dist/blockDiagram-VD42YOAC-CJ7h4fs1.js +2261 -0
  32. package/dist/bsl-NkNNwerW.js +8 -0
  33. package/dist/c-eeMepfLm.js +6 -0
  34. package/dist/c4Diagram-YG6GDRKO-CMn-V_Rj.js +1580 -0
  35. package/dist/cadence-DMRWHJp4.js +6 -0
  36. package/dist/cairo-DM6WF2e3.js +8 -0
  37. package/dist/catppuccin-frappe-5udUqgsX.js +4 -0
  38. package/dist/catppuccin-latte-ufkS-HWv.js +4 -0
  39. package/dist/catppuccin-macchiato-DzL2LPek.js +4 -0
  40. package/dist/catppuccin-mocha-DDDDwkUT.js +4 -0
  41. package/dist/channel-BnNWKWvN.js +5 -0
  42. package/dist/chunk-4BX2VUAB-CyPEBoP8.js +8 -0
  43. package/dist/chunk-55IACEB6-w4-quNxZ.js +8 -0
  44. package/dist/chunk-B4BG7PRW-DrV4r72b.js +1375 -0
  45. package/dist/chunk-DI55MBZ5-C4wHkxQf.js +1370 -0
  46. package/dist/chunk-FMBD7UC4-1KdK02xM.js +19 -0
  47. package/dist/chunk-QN33PNHL-DFrR3f1n.js +19 -0
  48. package/dist/chunk-QZHKN3VN-DAS9AWyb.js +15 -0
  49. package/dist/chunk-TZMSLE5B-C9HdFzIP.js +64 -0
  50. package/dist/clarity-BseSxcHx.js +6 -0
  51. package/dist/classDiagram-2ON5EDUG-BEJ5FmEf.js +16 -0
  52. package/dist/classDiagram-v2-WZHVMYZB-BEJ5FmEf.js +16 -0
  53. package/dist/clojure-CXJfHrL3.js +6 -0
  54. package/dist/clone-BPNEuzJI.js +8 -0
  55. package/dist/cmake-BJz8BOTU.js +6 -0
  56. package/dist/cobol-R4Vn9a46.js +10 -0
  57. package/dist/codeowners-Bt9yU6NX.js +6 -0
  58. package/dist/codeql-DHkodjjI.js +6 -0
  59. package/dist/coffee-Dl27lzbd.js +8 -0
  60. package/dist/common-lisp-EVqT9Zhp.js +6 -0
  61. package/dist/coq-B0L9upzn.js +6 -0
  62. package/dist/cose-bilkent-S5V4N54A-BP2I2iQy.js +2609 -0
  63. package/dist/cpp-Cj177cuW.js +18 -0
  64. package/dist/crystal-ymVvJzbZ.js +18 -0
  65. package/dist/csharp-DmxfTLWR.js +6 -0
  66. package/dist/css-CECN5uSL.js +6 -0
  67. package/dist/csv-CmYOceLb.js +6 -0
  68. package/dist/cue-ZzumE7IT.js +6 -0
  69. package/dist/cypher-jpdmjtA6.js +6 -0
  70. package/dist/cytoscape.esm-DfdJODL8.js +18735 -0
  71. package/dist/d-CBagWSwH.js +6 -0
  72. package/dist/dagre-6UL2VRFP-GLlqJd77.js +444 -0
  73. package/dist/dark-plus-pUHDTVV0.js +4 -0
  74. package/dist/dart-6ObCrKr9.js +6 -0
  75. package/dist/dax-CcDT-8dH.js +6 -0
  76. package/dist/defaultLocale-D7EN2tov.js +171 -0
  77. package/dist/desktop-B93p9R9O.js +6 -0
  78. package/dist/diagram-PSM6KHXK-Cudkx7lC.js +531 -0
  79. package/dist/diagram-QEK2KX5R-3WBR4tiq.js +217 -0
  80. package/dist/diagram-S2PKOQOG-BTYcy78O.js +142 -0
  81. package/dist/diff-BxzP2J8R.js +6 -0
  82. package/dist/docker-CsHqm9tx.js +6 -0
  83. package/dist/dotenv-BMjVjUL1.js +6 -0
  84. package/dist/dracula-BtZx2Kac.js +4 -0
  85. package/dist/dracula-soft-BKa-aqBv.js +4 -0
  86. package/dist/dream-maker-PAx17jaB.js +6 -0
  87. package/dist/edge-_LvgTcmu.js +12 -0
  88. package/dist/elixir-BTCUAmQk.js +8 -0
  89. package/dist/elm-BtNbw_Cd.js +8 -0
  90. package/dist/emacs-lisp-Cfxdx5D-.js +6 -0
  91. package/dist/erDiagram-Q2GNP2WA-CKkpjSHd.js +841 -0
  92. package/dist/erb-D0PIpZCP.js +10 -0
  93. package/dist/erlang-DNcDT8Hi.js +8 -0
  94. package/dist/everforest-dark-DMCBqXCK.js +4 -0
  95. package/dist/everforest-light-BbXl82Em.js +4 -0
  96. package/dist/example-ui-web-shared.css +1 -0
  97. package/dist/example-ui-web-shared.js +13 -0
  98. package/dist/example-ui-web-shared.umd.cjs +3266 -0
  99. package/dist/fennel-N4WcXuKx.js +6 -0
  100. package/dist/fish-B6QqlqeT.js +6 -0
  101. package/dist/flowDiagram-NV44I4VS-BZQmra6J.js +1620 -0
  102. package/dist/fluent-BMXUxfv1.js +6 -0
  103. package/dist/fortran-fixed-form-DUsA-VGo.js +8 -0
  104. package/dist/fortran-free-form-DPIT_jbP.js +6 -0
  105. package/dist/fsharp-Pr2u3cIG.js +8 -0
  106. package/dist/ganttDiagram-LVOFAZNH-G4ze91pK.js +2506 -0
  107. package/dist/gdresource-BwtMIoBm.js +10 -0
  108. package/dist/gdscript-BifyeYhI.js +6 -0
  109. package/dist/gdshader-Bk8fF6yr.js +6 -0
  110. package/dist/genie-DzUvd7U9.js +6 -0
  111. package/dist/gherkin-DHRaV0YP.js +6 -0
  112. package/dist/git-commit-Bd32YZ0K.js +8 -0
  113. package/dist/git-rebase-ZWUFO_T4.js +8 -0
  114. package/dist/gitGraph-ZV4HHKMB-ATtQcfVU.js +5 -0
  115. package/dist/gitGraphDiagram-NY62KEGX-wmWYxzVf.js +699 -0
  116. package/dist/github-dark-DenFmJkN.js +4 -0
  117. package/dist/github-dark-default-BJPUVz4H.js +4 -0
  118. package/dist/github-dark-dimmed-DUshB20C.js +4 -0
  119. package/dist/github-dark-high-contrast-D3aGCnF8.js +4 -0
  120. package/dist/github-light-JYsPkUQd.js +4 -0
  121. package/dist/github-light-default-D99KPAby.js +4 -0
  122. package/dist/github-light-high-contrast-BbmZE-Mp.js +4 -0
  123. package/dist/gleam-Bv284lvN.js +6 -0
  124. package/dist/glimmer-js-CkxRszZZ.js +14 -0
  125. package/dist/glimmer-ts-Bi6BYQCn.js +14 -0
  126. package/dist/glsl-CkUcVZNK.js +8 -0
  127. package/dist/gnuplot-yPG9-sE_.js +6 -0
  128. package/dist/go-ChxJuLYK.js +6 -0
  129. package/dist/graph-DtYyQcBS.js +247 -0
  130. package/dist/graphql-BLaPX4fU.js +14 -0
  131. package/dist/groovy-CJQTphOW.js +6 -0
  132. package/dist/gruvbox-dark-hard-C2ND4cMr.js +4 -0
  133. package/dist/gruvbox-dark-medium-C8k4c8au.js +4 -0
  134. package/dist/gruvbox-dark-soft-xx9Q6FaG.js +4 -0
  135. package/dist/gruvbox-light-hard-BpUXv5in.js +4 -0
  136. package/dist/gruvbox-light-medium-D3XFCoU1.js +4 -0
  137. package/dist/gruvbox-light-soft-u7hpfz6Z.js +4 -0
  138. package/dist/hack-Bx1jMtBC.js +10 -0
  139. package/dist/haml-6FagfhCM.js +10 -0
  140. package/dist/handlebars-Bd5Y4M6I.js +14 -0
  141. package/dist/haskell-WeIwNIP6.js +6 -0
  142. package/dist/haxe-TztHsm5T.js +6 -0
  143. package/dist/hcl-D438OF-I.js +6 -0
  144. package/dist/hjson-DYBUbqOl.js +6 -0
  145. package/dist/hlsl-Bk8TCZNL.js +6 -0
  146. package/dist/houston-BDYrDoDW.js +4 -0
  147. package/dist/html-7XVNRwN7.js +10 -0
  148. package/dist/html-derivative-BNxZ5Yf6.js +8 -0
  149. package/dist/http-WC357zBG.js +14 -0
  150. package/dist/hxml-GbqSQCLa.js +8 -0
  151. package/dist/hy-Brt5EZ7-.js +6 -0
  152. package/dist/imba-CimUv-Uh.js +6 -0
  153. package/dist/index-BwnMECPw.js +74557 -0
  154. package/dist/index.d.ts +141 -0
  155. package/dist/info-63CPKGFF-BX_xmFEB.js +5 -0
  156. package/dist/infoDiagram-F6ZHWCRC-DlnNGJa3.js +24 -0
  157. package/dist/ini-BZIuRIvJ.js +6 -0
  158. package/dist/init-DjUOC4st.js +16 -0
  159. package/dist/java-DY6VlHhP.js +6 -0
  160. package/dist/javascript-Dp1Jmi5H.js +6 -0
  161. package/dist/jinja-WEhOU5ES.js +11 -0
  162. package/dist/jison-c2JI40PB.js +8 -0
  163. package/dist/journeyDiagram-XKPGCS4Q-DYIpnLRL.js +834 -0
  164. package/dist/json-DxJze_jm.js +6 -0
  165. package/dist/json5-BT4Fjg39.js +6 -0
  166. package/dist/jsonc-CHjZD8gR.js +6 -0
  167. package/dist/jsonl-BGuvDmy9.js +6 -0
  168. package/dist/jsonnet-Bx2cfsXg.js +6 -0
  169. package/dist/jssm-BcADi6EI.js +6 -0
  170. package/dist/jsx-BtKADgXT.js +6 -0
  171. package/dist/julia-DcoDQokW.js +16 -0
  172. package/dist/kanagawa-dragon-CiKur4Hl.js +4 -0
  173. package/dist/kanagawa-lotus-BKu-smKu.js +4 -0
  174. package/dist/kanagawa-wave-CQwozSzG.js +4 -0
  175. package/dist/kanban-definition-3W4ZIXB7-BfLzEp1W.js +719 -0
  176. package/dist/kotlin-ByBMgTeR.js +6 -0
  177. package/dist/kusto-VWFLl2T0.js +6 -0
  178. package/dist/laserwave-6a00oqik.js +4 -0
  179. package/dist/latex-MZCpjnva.js +8 -0
  180. package/dist/layout-laBzEXyf.js +1324 -0
  181. package/dist/lean-DXqEE_d1.js +6 -0
  182. package/dist/less-B1GLI2Di.js +6 -0
  183. package/dist/light-plus-CZuVqSLX.js +4 -0
  184. package/dist/linear-B_hH_v1-.js +259 -0
  185. package/dist/liquid-3HHuHOZ2.js +14 -0
  186. package/dist/llvm-6RQLId6G.js +6 -0
  187. package/dist/log-Al8wyEFV.js +6 -0
  188. package/dist/logo-DBa4JDzV.js +6 -0
  189. package/dist/lua-kX5WP_P5.js +8 -0
  190. package/dist/luau-DtBSxLyz.js +6 -0
  191. package/dist/make-CsMclxtr.js +6 -0
  192. package/dist/markdown-CrScaQ96.js +6 -0
  193. package/dist/marko-DDi9qpQP.js +14 -0
  194. package/dist/material-theme-D6KBX41T.js +4 -0
  195. package/dist/material-theme-darker-CkRroheE.js +4 -0
  196. package/dist/material-theme-lighter-BUBw43Yz.js +4 -0
  197. package/dist/material-theme-ocean-ClGX14Ja.js +4 -0
  198. package/dist/material-theme-palenight-C1RVm8K1.js +4 -0
  199. package/dist/matlab-BOAaUVP0.js +6 -0
  200. package/dist/mdc-FI2x3BiY.js +12 -0
  201. package/dist/mdx-BOhZZUJ8.js +6 -0
  202. package/dist/mermaid-B0ixDHKN.js +6 -0
  203. package/dist/mermaid-parser.core-BPhNDB0i.js +12966 -0
  204. package/dist/mermaid.core-DRVB33lp.js +14178 -0
  205. package/dist/min-dark-C7ak0t6c.js +4 -0
  206. package/dist/min-light-CKFxVcPp.js +4 -0
  207. package/dist/mindmap-definition-VGOIOE7T-DgF_iRLG.js +784 -0
  208. package/dist/mipsasm-CTx18fBl.js +6 -0
  209. package/dist/mojo-BD611d7o.js +6 -0
  210. package/dist/monokai-C1KBYcO0.js +4 -0
  211. package/dist/move-DSb5dTSj.js +6 -0
  212. package/dist/narrat-DmhDCBs-.js +6 -0
  213. package/dist/nextflow-BAAEJxI_.js +6 -0
  214. package/dist/nginx-5vhPAEw3.js +8 -0
  215. package/dist/night-owl-Bm2rzalh.js +4 -0
  216. package/dist/nim-BhS8gg0S.js +20 -0
  217. package/dist/nix-ceY58Dty.js +6 -0
  218. package/dist/nord-CC5OiUXg.js +4 -0
  219. package/dist/nushell-CQi4NV-2.js +6 -0
  220. package/dist/objective-c-Itk8tzmv.js +6 -0
  221. package/dist/objective-cpp-DGt5UKRO.js +6 -0
  222. package/dist/ocaml-eSVK32Eg.js +6 -0
  223. package/dist/one-dark-pro-DTA3VF0_.js +4 -0
  224. package/dist/one-light-D9sNaUtq.js +4 -0
  225. package/dist/ordinal-DfAQgscy.js +61 -0
  226. package/dist/packet-HUATNLJX-9ClN_Rip.js +5 -0
  227. package/dist/pascal-xy8pJNns.js +6 -0
  228. package/dist/perl-BoEn6HmT.js +16 -0
  229. package/dist/php-BRU9zhoN.js +18 -0
  230. package/dist/pie-WTHONI2E-DNhle9n-.js +5 -0
  231. package/dist/pieDiagram-ADFJNKIX-BQY_zi2l.js +161 -0
  232. package/dist/plastic-CSTz3KZp.js +4 -0
  233. package/dist/plsql-pVbGZfOv.js +6 -0
  234. package/dist/po-BNfHvqmm.js +6 -0
  235. package/dist/poimandres-C-VADXHD.js +4 -0
  236. package/dist/polar-CAZahv3u.js +6 -0
  237. package/dist/postcss-05aHdL-n.js +6 -0
  238. package/dist/powerquery-DI9HkTvs.js +6 -0
  239. package/dist/powershell-Clc4ydu-.js +6 -0
  240. package/dist/prisma-FZjmVtSl.js +6 -0
  241. package/dist/prolog-C5-yg4TO.js +6 -0
  242. package/dist/proto-MmCPeFAD.js +6 -0
  243. package/dist/pug-CJWI-qSo.js +12 -0
  244. package/dist/puppet-CUJHmnxV.js +6 -0
  245. package/dist/purescript-rUfGld-4.js +6 -0
  246. package/dist/python-BFNSHbwJ.js +6 -0
  247. package/dist/qml-D3ATcgGh.js +8 -0
  248. package/dist/qmldir-BInDYbpo.js +6 -0
  249. package/dist/qss-AeJTysr_.js +6 -0
  250. package/dist/quadrantDiagram-AYHSOK5B-yqzbwWCe.js +1022 -0
  251. package/dist/r-Bm0uF0U2.js +6 -0
  252. package/dist/racket-B83wSAja.js +6 -0
  253. package/dist/radar-NJJJXTRR-DrUJ4X57.js +5 -0
  254. package/dist/raku-nEQ4ZJJ7.js +6 -0
  255. package/dist/razor-BPFYEoc9.js +10 -0
  256. package/dist/red-7y8PH7HH.js +4 -0
  257. package/dist/reg-m_s_Kiip.js +6 -0
  258. package/dist/regexp-BazyLpPg.js +6 -0
  259. package/dist/rel-BcRfyd6Q.js +6 -0
  260. package/dist/requirementDiagram-UZGBJVZJ-o9pQ6xmh.js +850 -0
  261. package/dist/riscv-Ce8MAQLP.js +6 -0
  262. package/dist/rose-pine-Cr4kwgAY.js +4 -0
  263. package/dist/rose-pine-dawn-ClRRUdXX.js +4 -0
  264. package/dist/rose-pine-moon-ucNn3Gm8.js +4 -0
  265. package/dist/rst-B6mPMsKo.js +22 -0
  266. package/dist/ruby-DInklMmU.js +30 -0
  267. package/dist/rust-CLzF9zIN.js +6 -0
  268. package/dist/sankeyDiagram-TZEHDZUN-DlBKlNR7.js +810 -0
  269. package/dist/sas-fpEvgATw.js +8 -0
  270. package/dist/sass-DxHp5rTx.js +6 -0
  271. package/dist/scala-D4grkFkl.js +6 -0
  272. package/dist/scheme-BCRWuEm4.js +6 -0
  273. package/dist/scss-B1FaCqwR.js +8 -0
  274. package/dist/sdbl-B7T8abf4.js +6 -0
  275. package/dist/sequenceDiagram-WL72ISMW-DL-l4Isj.js +2511 -0
  276. package/dist/shaderlab-Cr62-Wb4.js +8 -0
  277. package/dist/shellscript-InADTalH.js +6 -0
  278. package/dist/shellsession-DiDJNQdy.js +8 -0
  279. package/dist/slack-dark-i7wN4OET.js +4 -0
  280. package/dist/slack-ochin-ndHf0LoP.js +4 -0
  281. package/dist/smalltalk-BlI1_OkM.js +6 -0
  282. package/dist/snazzy-light-BlSJXAu4.js +4 -0
  283. package/dist/solarized-dark-UTmkh7lw.js +4 -0
  284. package/dist/solarized-light-BheCkDPT.js +4 -0
  285. package/dist/solidity-CneOhxmR.js +6 -0
  286. package/dist/soy-LybuU3Y_.js +8 -0
  287. package/dist/sparql-B0KWFEri.js +8 -0
  288. package/dist/splunk-CRXR8A9s.js +6 -0
  289. package/dist/sql-Cn_v3PB0.js +6 -0
  290. package/dist/ssh-config-DP-hNVbF.js +6 -0
  291. package/dist/stata-B8c5fTjX.js +8 -0
  292. package/dist/stateDiagram-FKZM4ZOC--uMIzkuj.js +263 -0
  293. package/dist/stateDiagram-v2-4FDKWEC3-DX9eQdtw.js +16 -0
  294. package/dist/stylus-CyKEU1Ej.js +6 -0
  295. package/dist/svelte-BjDUPxZ1.js +14 -0
  296. package/dist/swift-9UzSvamq.js +6 -0
  297. package/dist/synthwave-84-NU3C_KFZ.js +4 -0
  298. package/dist/system-verilog-BCm7smPJ.js +6 -0
  299. package/dist/systemd-C-4qm6XH.js +6 -0
  300. package/dist/talonscript-CFF3LF_O.js +6 -0
  301. package/dist/tasl-Cg_WBUAe.js +6 -0
  302. package/dist/tcl-DN7buRTF.js +6 -0
  303. package/dist/templ-Brj2RH7A.js +12 -0
  304. package/dist/terraform-DGvcn9zM.js +6 -0
  305. package/dist/tex-CmrLTxbG.js +8 -0
  306. package/dist/timeline-definition-IT6M3QCI-Dto4qGp3.js +795 -0
  307. package/dist/tokyo-night-DP4TmcQl.js +4 -0
  308. package/dist/toml-DY62mUL_.js +6 -0
  309. package/dist/treemap-75Q7IDZK-BwkByH_W.js +5 -0
  310. package/dist/ts-tags-CZMzuZh-.js +41 -0
  311. package/dist/tsv-BtvSkaG0.js +6 -0
  312. package/dist/tsx-B8rCNbgL.js +6 -0
  313. package/dist/turtle-_H59FV7D.js +6 -0
  314. package/dist/twig-GjIxYqCX.js +18 -0
  315. package/dist/typescript-mg6ATTE8.js +6 -0
  316. package/dist/typespec-Djmco60m.js +6 -0
  317. package/dist/typst-D_1QKWns.js +6 -0
  318. package/dist/v-BW14IZv7.js +6 -0
  319. package/dist/vala-uxaPR7d1.js +6 -0
  320. package/dist/vb-D8_c5-KN.js +6 -0
  321. package/dist/verilog-B-bybjPF.js +6 -0
  322. package/dist/vesper-BckBta1U.js +4 -0
  323. package/dist/vhdl-CUlNa8ac.js +6 -0
  324. package/dist/viml-DsfA-sWm.js +6 -0
  325. package/dist/vite.svg +1 -0
  326. package/dist/vitesse-black-BoGvW84i.js +4 -0
  327. package/dist/vitesse-dark-Cym-eLtO.js +4 -0
  328. package/dist/vitesse-light-CcmG315c.js +4 -0
  329. package/dist/vue-D-ba2-Rx.js +31 -0
  330. package/dist/vue-html-Dn2ZoOSz.js +10 -0
  331. package/dist/vue-vine-Jmfkm6lF.js +20 -0
  332. package/dist/vyper-CPQuu50u.js +6 -0
  333. package/dist/wasm-BBXxrAl7.js +6 -0
  334. package/dist/wasm-DQxwEHae.js +7 -0
  335. package/dist/wenyan-pbVjoM9_.js +6 -0
  336. package/dist/wgsl-DY4iK1q1.js +6 -0
  337. package/dist/wikitext-Z-MoUasO.js +6 -0
  338. package/dist/wit-CQMQOlTg.js +6 -0
  339. package/dist/wolfram-Dz4KXISs.js +6 -0
  340. package/dist/xml-C2J0sS9M.js +8 -0
  341. package/dist/xsl-BmSZphgC.js +8 -0
  342. package/dist/xychartDiagram-PRI3JC2R-Bk3l_WzG.js +1340 -0
  343. package/dist/yaml-DaO7k5B1.js +6 -0
  344. package/dist/zenscript-CxBjpf9c.js +6 -0
  345. package/dist/zig-Vm0PO9wB.js +6 -0
  346. package/package.json +74 -0
@@ -0,0 +1,6 @@
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
+ };
@@ -0,0 +1,444 @@
1
+ import { _ as w, aw as F, ax as Y, ay as _, az as H, l as i, c as V, aA as z, aB as U, ai as $, an as q, aj as P, ah as K, aC as Q, aD as W, aE as Z } from "./mermaid.core-DRVB33lp.js";
2
+ import { G as B } from "./graph-DtYyQcBS.js";
3
+ import { l as I } from "./layout-laBzEXyf.js";
4
+ import { i as b } from "./_baseUniq-CfGVqM25.js";
5
+ import { c as L } from "./clone-BPNEuzJI.js";
6
+ import { m as A } from "./_basePickBy-DsoLgTN_.js";
7
+ function h(e) {
8
+ var t = {
9
+ options: {
10
+ directed: e.isDirected(),
11
+ multigraph: e.isMultigraph(),
12
+ compound: e.isCompound()
13
+ },
14
+ nodes: ee(e),
15
+ edges: ne(e)
16
+ };
17
+ return b(e.graph()) || (t.value = L(e.graph())), t;
18
+ }
19
+ function ee(e) {
20
+ return A(e.nodes(), function(t) {
21
+ var n = e.node(t), a = e.parent(t), r = { v: t };
22
+ return b(n) || (r.value = n), b(a) || (r.parent = a), r;
23
+ });
24
+ }
25
+ function ne(e) {
26
+ return A(e.edges(), function(t) {
27
+ var n = e.edge(t), a = { v: t.v, w: t.w };
28
+ return b(t.name) || (a.name = t.name), b(n) || (a.value = n), a;
29
+ });
30
+ }
31
+ var d = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Map(), te = /* @__PURE__ */ w(() => {
32
+ y.clear(), J.clear(), d.clear();
33
+ }, "clear"), D = /* @__PURE__ */ w((e, t) => {
34
+ const n = y.get(t) || [];
35
+ return i.trace("In isDescendant", t, " ", e, " = ", n.includes(e)), n.includes(e);
36
+ }, "isDescendant"), se = /* @__PURE__ */ w((e, t) => {
37
+ const n = y.get(t) || [];
38
+ 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) || D(e.v, t) || D(e.w, t) || n.includes(e.w) : (i.debug("Tilt, ", t, ",not in descendants"), !1);
39
+ }, "edgeInCluster"), G = /* @__PURE__ */ w((e, t, n, a) => {
40
+ i.warn(
41
+ "Copying children of ",
42
+ e,
43
+ "root",
44
+ a,
45
+ "data",
46
+ t.node(e),
47
+ a
48
+ );
49
+ const r = t.children(e) || [];
50
+ e !== a && r.push(e), i.warn("Copying (nodes) clusterId", e, "nodes", r), r.forEach((o) => {
51
+ if (t.children(o).length > 0)
52
+ G(o, t, n, a);
53
+ else {
54
+ const l = t.node(o);
55
+ i.info("cp ", o, " to ", a, " with parent ", e), n.setNode(o, l), a !== t.parent(o) && (i.warn("Setting parent", o, t.parent(o)), n.setParent(o, t.parent(o))), e !== a && o !== e ? (i.debug("Setting parent", o, e), n.setParent(o, e)) : (i.info("In copy ", e, "root", a, "data", t.node(e), a), i.debug(
56
+ "Not Setting parent for node=",
57
+ o,
58
+ "cluster!==rootId",
59
+ e !== a,
60
+ "node!==clusterId",
61
+ o !== e
62
+ ));
63
+ const u = t.edges(o);
64
+ i.debug("Copying Edges", u), u.forEach((c) => {
65
+ i.info("Edge", c);
66
+ const m = t.edge(c.v, c.w, c.name);
67
+ i.info("Edge data", m, a);
68
+ try {
69
+ se(c, a) ? (i.info("Copying as ", c.v, c.w, m, c.name), n.setEdge(c.v, c.w, m, c.name), i.info("newGraph edges ", n.edges(), n.edge(n.edges()[0]))) : i.info(
70
+ "Skipping copy of edge ",
71
+ c.v,
72
+ "-->",
73
+ c.w,
74
+ " rootId: ",
75
+ a,
76
+ " clusterId:",
77
+ e
78
+ );
79
+ } catch (v) {
80
+ i.error(v);
81
+ }
82
+ });
83
+ }
84
+ i.debug("Removing node", o), t.removeNode(o);
85
+ });
86
+ }, "copy"), R = /* @__PURE__ */ w((e, t) => {
87
+ const n = t.children(e);
88
+ let a = [...n];
89
+ for (const r of n)
90
+ J.set(r, e), a = [...a, ...R(r, t)];
91
+ return a;
92
+ }, "extractDescendants"), ie = /* @__PURE__ */ w((e, t, n) => {
93
+ const a = e.edges().filter((c) => c.v === t || c.w === t), r = e.edges().filter((c) => c.v === n || c.w === n), o = a.map((c) => ({ v: c.v === t ? n : c.v, w: c.w === t ? t : c.w })), l = r.map((c) => ({ v: c.v, w: c.w }));
94
+ return o.filter((c) => l.some((m) => c.v === m.v && c.w === m.w));
95
+ }, "findCommonEdges"), C = /* @__PURE__ */ w((e, t, n) => {
96
+ const a = t.children(e);
97
+ if (i.trace("Searching children of id ", e, a), a.length < 1)
98
+ return e;
99
+ let r;
100
+ for (const o of a) {
101
+ const l = C(o, t, n), u = ie(t, n, l);
102
+ if (l)
103
+ if (u.length > 0)
104
+ r = l;
105
+ else
106
+ return l;
107
+ }
108
+ return r;
109
+ }, "findNonClusterChild"), k = /* @__PURE__ */ w((e) => !d.has(e) || !d.get(e).externalConnections ? e : d.has(e) ? d.get(e).id : e, "getAnchorId"), re = /* @__PURE__ */ w((e, t) => {
110
+ if (!e || t > 10) {
111
+ i.debug("Opting out, no graph ");
112
+ return;
113
+ } else
114
+ i.debug("Opting in, graph ");
115
+ e.nodes().forEach(function(n) {
116
+ e.children(n).length > 0 && (i.warn(
117
+ "Cluster identified",
118
+ n,
119
+ " Replacement id in edges: ",
120
+ C(n, e, n)
121
+ ), y.set(n, R(n, e)), d.set(n, { id: C(n, e, n), clusterData: e.node(n) }));
122
+ }), e.nodes().forEach(function(n) {
123
+ const a = e.children(n), r = e.edges();
124
+ a.length > 0 ? (i.debug("Cluster identified", n, y), r.forEach((o) => {
125
+ const l = D(o.v, n), u = D(o.w, n);
126
+ l ^ u && (i.warn("Edge: ", o, " leaves cluster ", n), i.warn("Descendants of XXX ", n, ": ", y.get(n)), d.get(n).externalConnections = !0);
127
+ })) : i.debug("Not a cluster ", n, y);
128
+ });
129
+ for (let n of d.keys()) {
130
+ const a = d.get(n).id, r = e.parent(a);
131
+ r !== n && d.has(r) && !d.get(r).externalConnections && (d.get(n).id = r);
132
+ }
133
+ e.edges().forEach(function(n) {
134
+ const a = e.edge(n);
135
+ i.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(n)), i.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(e.edge(n)));
136
+ let r = n.v, o = n.w;
137
+ if (i.warn(
138
+ "Fix XXX",
139
+ d,
140
+ "ids:",
141
+ n.v,
142
+ n.w,
143
+ "Translating: ",
144
+ d.get(n.v),
145
+ " --- ",
146
+ d.get(n.w)
147
+ ), d.get(n.v) || d.get(n.w)) {
148
+ if (i.warn("Fixing and trying - removing XXX", n.v, n.w, n.name), r = k(n.v), o = k(n.w), e.removeEdge(n.v, n.w, n.name), r !== n.v) {
149
+ const l = e.parent(r);
150
+ d.get(l).externalConnections = !0, a.fromCluster = n.v;
151
+ }
152
+ if (o !== n.w) {
153
+ const l = e.parent(o);
154
+ d.get(l).externalConnections = !0, a.toCluster = n.w;
155
+ }
156
+ i.warn("Fix Replacing with XXX", r, o, n.name), e.setEdge(r, o, a, n.name);
157
+ }
158
+ }), i.warn("Adjusted Graph", h(e)), T(e, 0), i.trace(d);
159
+ }, "adjustClustersAndEdges"), T = /* @__PURE__ */ w((e, t) => {
160
+ if (i.warn("extractor - ", t, h(e), e.children("D")), t > 10) {
161
+ i.error("Bailing out");
162
+ return;
163
+ }
164
+ let n = e.nodes(), a = !1;
165
+ for (const r of n) {
166
+ const o = e.children(r);
167
+ a = a || o.length > 0;
168
+ }
169
+ if (!a) {
170
+ i.debug("Done, no node has children", e.nodes());
171
+ return;
172
+ }
173
+ i.debug("Nodes = ", n, t);
174
+ for (const r of n)
175
+ if (i.debug(
176
+ "Extracting node",
177
+ r,
178
+ d,
179
+ d.has(r) && !d.get(r).externalConnections,
180
+ !e.parent(r),
181
+ e.node(r),
182
+ e.children("D"),
183
+ " Depth ",
184
+ t
185
+ ), !d.has(r))
186
+ i.debug("Not a cluster", r, t);
187
+ else if (!d.get(r).externalConnections && e.children(r) && e.children(r).length > 0) {
188
+ i.warn(
189
+ "Cluster without external connections, without a parent and with children",
190
+ r,
191
+ t
192
+ );
193
+ let l = e.graph().rankdir === "TB" ? "LR" : "TB";
194
+ d.get(r)?.clusterData?.dir && (l = d.get(r).clusterData.dir, i.warn("Fixing dir", d.get(r).clusterData.dir, l));
195
+ const u = new B({
196
+ multigraph: !0,
197
+ compound: !0
198
+ }).setGraph({
199
+ rankdir: l,
200
+ nodesep: 50,
201
+ ranksep: 50,
202
+ marginx: 8,
203
+ marginy: 8
204
+ }).setDefaultEdgeLabel(function() {
205
+ return {};
206
+ });
207
+ i.warn("Old graph before copy", h(e)), G(r, e, u, r), e.setNode(r, {
208
+ clusterNode: !0,
209
+ id: r,
210
+ clusterData: d.get(r).clusterData,
211
+ label: d.get(r).label,
212
+ graph: u
213
+ }), i.warn("New graph after copy node: (", r, ")", h(u)), i.debug("Old graph after copy", h(e));
214
+ } else
215
+ i.warn(
216
+ "Cluster ** ",
217
+ r,
218
+ " **not meeting the criteria !externalConnections:",
219
+ !d.get(r).externalConnections,
220
+ " no parent: ",
221
+ !e.parent(r),
222
+ " children ",
223
+ e.children(r) && e.children(r).length > 0,
224
+ e.children("D"),
225
+ t
226
+ ), i.debug(d);
227
+ n = e.nodes(), i.warn("New list of nodes", n);
228
+ for (const r of n) {
229
+ const o = e.node(r);
230
+ i.warn(" Now next level", r, o), o?.clusterNode && T(o.graph, t + 1);
231
+ }
232
+ }, "extractor"), M = /* @__PURE__ */ w((e, t) => {
233
+ if (t.length === 0)
234
+ return [];
235
+ let n = Object.assign([], t);
236
+ return t.forEach((a) => {
237
+ const r = e.children(a), o = M(e, r);
238
+ n = [...n, ...o];
239
+ }), n;
240
+ }, "sorter"), oe = /* @__PURE__ */ w((e) => M(e, e.children()), "sortNodesByHierarchy"), j = /* @__PURE__ */ w(async (e, t, n, a, r, o) => {
241
+ i.warn("Graph in recursive render:XAX", h(t), r);
242
+ const l = t.graph().rankdir;
243
+ i.trace("Dir in recursive render - dir:", l);
244
+ const u = e.insert("g").attr("class", "root");
245
+ 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]));
246
+ const c = u.insert("g").attr("class", "clusters"), m = u.insert("g").attr("class", "edgePaths"), v = u.insert("g").attr("class", "edgeLabels"), X = u.insert("g").attr("class", "nodes");
247
+ await Promise.all(
248
+ t.nodes().map(async function(f) {
249
+ const s = t.node(f);
250
+ if (r !== void 0) {
251
+ const g = JSON.parse(JSON.stringify(r.clusterData));
252
+ i.trace(
253
+ `Setting data for parent cluster XXX
254
+ Node.id = `,
255
+ f,
256
+ `
257
+ data=`,
258
+ g.height,
259
+ `
260
+ Parent cluster`,
261
+ r.height
262
+ ), t.setNode(r.id, g), t.parent(f) || (i.trace("Setting parent", f, r.id), t.setParent(f, r.id, g));
263
+ }
264
+ if (i.info("(Insert) Node XXX" + f + ": " + JSON.stringify(t.node(f))), s?.clusterNode) {
265
+ i.info("Cluster identified XBX", f, s.width, t.node(f));
266
+ const { ranksep: g, nodesep: E } = t.graph();
267
+ s.graph.setGraph({
268
+ ...s.graph.graph(),
269
+ ranksep: g + 25,
270
+ nodesep: E
271
+ });
272
+ const N = await j(
273
+ X,
274
+ s.graph,
275
+ n,
276
+ a,
277
+ t.node(f),
278
+ o
279
+ ), x = N.elem;
280
+ z(s, x), s.diff = N.diff || 0, i.info(
281
+ "New compound node after recursive render XAX",
282
+ f,
283
+ "width",
284
+ // node,
285
+ s.width,
286
+ "height",
287
+ s.height
288
+ // node.x,
289
+ // node.y
290
+ ), U(x, s);
291
+ } else
292
+ t.children(f).length > 0 ? (i.trace(
293
+ "Cluster - the non recursive path XBX",
294
+ f,
295
+ s.id,
296
+ s,
297
+ s.width,
298
+ "Graph:",
299
+ t
300
+ ), i.trace(C(s.id, t)), d.set(s.id, { id: C(s.id, t), node: s })) : (i.trace("Node - the non recursive path XAX", f, X, t.node(f), l), await $(X, t.node(f), { config: o, dir: l }));
301
+ })
302
+ ), await (/* @__PURE__ */ w(async () => {
303
+ const f = t.edges().map(async function(s) {
304
+ const g = t.edge(s.v, s.w, s.name);
305
+ 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(
306
+ "Fix",
307
+ d,
308
+ "ids:",
309
+ s.v,
310
+ s.w,
311
+ "Translating: ",
312
+ d.get(s.v),
313
+ d.get(s.w)
314
+ ), await Z(v, g);
315
+ });
316
+ await Promise.all(f);
317
+ }, "processEdges"))(), i.info("Graph before layout:", JSON.stringify(h(t))), i.info("############################################# XXX"), i.info("### Layout ### XXX"), i.info("############################################# XXX"), I(t), i.info("Graph after layout:", JSON.stringify(h(t)));
318
+ let O = 0, { subGraphTitleTotalMargin: S } = q(o);
319
+ return await Promise.all(
320
+ oe(t).map(async function(f) {
321
+ const s = t.node(f);
322
+ if (i.info(
323
+ "Position XBX => " + f + ": (" + s.x,
324
+ "," + s.y,
325
+ ") width: ",
326
+ s.width,
327
+ " height: ",
328
+ s.height
329
+ ), s?.clusterNode)
330
+ s.y += S, i.info(
331
+ "A tainted cluster node XBX1",
332
+ f,
333
+ s.id,
334
+ s.width,
335
+ s.height,
336
+ s.x,
337
+ s.y,
338
+ t.parent(f)
339
+ ), d.get(s.id).node = s, P(s);
340
+ else if (t.children(f).length > 0) {
341
+ i.info(
342
+ "A pure cluster node XBX1",
343
+ f,
344
+ s.id,
345
+ s.x,
346
+ s.y,
347
+ s.width,
348
+ s.height,
349
+ t.parent(f)
350
+ ), s.height += S, t.node(s.parentId);
351
+ const g = s?.padding / 2 || 0, E = s?.labelBBox?.height || 0, N = E - g || 0;
352
+ i.debug("OffsetY", N, "labelHeight", E, "halfPadding", g), await K(c, s), d.get(s.id).node = s;
353
+ } else {
354
+ const g = t.node(s.parentId);
355
+ s.y += S / 2, i.info(
356
+ "A regular node XBX1 - using the padding",
357
+ s.id,
358
+ "parent",
359
+ s.parentId,
360
+ s.width,
361
+ s.height,
362
+ s.x,
363
+ s.y,
364
+ "offsetY",
365
+ s.offsetY,
366
+ "parent",
367
+ g,
368
+ g?.offsetY,
369
+ s
370
+ ), P(s);
371
+ }
372
+ })
373
+ ), t.edges().forEach(function(f) {
374
+ const s = t.edge(f);
375
+ i.info("Edge " + f.v + " -> " + f.w + ": " + JSON.stringify(s), s), s.points.forEach((x) => x.y += S / 2);
376
+ const g = t.node(f.v);
377
+ var E = t.node(f.w);
378
+ const N = Q(m, s, d, n, g, E, a);
379
+ W(s, N);
380
+ }), t.nodes().forEach(function(f) {
381
+ const s = t.node(f);
382
+ i.info(f, s.type, s.diff), s.isGroup && (O = s.diff);
383
+ }), i.warn("Returning from recursive render XAX", u, O), { elem: u, diff: O };
384
+ }, "recursiveRender"), ge = /* @__PURE__ */ w(async (e, t) => {
385
+ const n = new B({
386
+ multigraph: !0,
387
+ compound: !0
388
+ }).setGraph({
389
+ rankdir: e.direction,
390
+ nodesep: e.config?.nodeSpacing || e.config?.flowchart?.nodeSpacing || e.nodeSpacing,
391
+ ranksep: e.config?.rankSpacing || e.config?.flowchart?.rankSpacing || e.rankSpacing,
392
+ marginx: 8,
393
+ marginy: 8
394
+ }).setDefaultEdgeLabel(function() {
395
+ return {};
396
+ }), a = t.select("g");
397
+ F(a, e.markers, e.type, e.diagramId), Y(), _(), H(), te(), e.nodes.forEach((o) => {
398
+ n.setNode(o.id, { ...o }), o.parentId && n.setParent(o.id, o.parentId);
399
+ }), i.debug("Edges:", e.edges), e.edges.forEach((o) => {
400
+ if (o.start === o.end) {
401
+ const l = o.start, u = l + "---" + l + "---1", c = l + "---" + l + "---2", m = n.node(l);
402
+ n.setNode(u, {
403
+ domId: u,
404
+ id: u,
405
+ parentId: m.parentId,
406
+ labelStyle: "",
407
+ label: "",
408
+ padding: 0,
409
+ shape: "labelRect",
410
+ // shape: 'rect',
411
+ style: "",
412
+ width: 10,
413
+ height: 10
414
+ }), n.setParent(u, m.parentId), n.setNode(c, {
415
+ domId: c,
416
+ id: c,
417
+ parentId: m.parentId,
418
+ labelStyle: "",
419
+ padding: 0,
420
+ // shape: 'rect',
421
+ shape: "labelRect",
422
+ label: "",
423
+ style: "",
424
+ width: 10,
425
+ height: 10
426
+ }), n.setParent(c, m.parentId);
427
+ const v = structuredClone(o), X = structuredClone(o), p = structuredClone(o);
428
+ v.label = "", v.arrowTypeEnd = "none", v.id = l + "-cyclic-special-1", X.arrowTypeStart = "none", X.arrowTypeEnd = "none", X.id = l + "-cyclic-special-mid", p.label = "", m.isGroup && (v.fromCluster = l, p.toCluster = l), p.id = l + "-cyclic-special-2", p.arrowTypeStart = "none", n.setEdge(l, u, v, l + "-cyclic-special-0"), n.setEdge(u, c, X, l + "-cyclic-special-1"), n.setEdge(c, l, p, l + "-cyc<lic-special-2");
429
+ } else
430
+ n.setEdge(o.start, o.end, { ...o }, o.id);
431
+ }), i.warn("Graph at first:", JSON.stringify(h(n))), re(n), i.warn("Graph after XAX:", JSON.stringify(h(n)));
432
+ const r = V();
433
+ await j(
434
+ a,
435
+ n,
436
+ e.type,
437
+ e.diagramId,
438
+ void 0,
439
+ r
440
+ );
441
+ }, "render");
442
+ export {
443
+ ge as render
444
+ };
@@ -0,0 +1,4 @@
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
+ };