@vunk/plus 1.6.11 → 1.7.1

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 (411) hide show
  1. package/components/_baseUniq-BXtq6_NW.mjs +239 -0
  2. package/components/abap-B7h4dtBh.mjs +6 -0
  3. package/components/actionscript-3-Bmm7RA3Y.mjs +6 -0
  4. package/components/ada-BZS802Se.mjs +6 -0
  5. package/components/agent-chat-provider/index.mjs +74 -39
  6. package/components/andromeeda-CrngpmZk.mjs +3 -0
  7. package/components/apache-D4roVlsU.mjs +6 -0
  8. package/components/apex-D6mfw0H5.mjs +6 -0
  9. package/components/apl-DDK-VObo.mjs +18 -0
  10. package/components/applescript-C43Knf0G.mjs +6 -0
  11. package/components/ara-DRBH84ND.mjs +6 -0
  12. package/components/arc-Js_tyW10.mjs +131 -0
  13. package/components/architecture-O4VJ6CD3-ZoZ2IAk2.mjs +13 -0
  14. package/components/architectureDiagram-SUXI7LT5-kyYGGrHN.mjs +8676 -0
  15. package/components/asm-3tg4MVib.mjs +6 -0
  16. package/components/astro-v4FYbRud.mjs +19 -0
  17. package/components/aurora-x-wJ4-eM2h.mjs +3 -0
  18. package/components/awk-ChreaG-G.mjs +6 -0
  19. package/components/ayu-dark-BEKp3oqs.mjs +3 -0
  20. package/components/ballerina-B0yt0TYU.mjs +6 -0
  21. package/components/batch-Ce_EX3Sx.mjs +14 -0
  22. package/components/beancount-BRIsdQEB.mjs +6 -0
  23. package/components/berry-Brv4WWdL.mjs +14 -0
  24. package/components/bibtex-BLeFwAes.mjs +6 -0
  25. package/components/bicep-BVrgfErX.mjs +6 -0
  26. package/components/blade-By3Sw_Ex.mjs +22 -0
  27. package/components/blockDiagram-6J76NXCF-IAr4zDV3.mjs +3608 -0
  28. package/components/bubble-list/index.css +22 -0
  29. package/components/bubble-list/index.mjs +7 -134
  30. package/components/bubble-templates/index.mjs +11438 -101
  31. package/components/c-C4VtT7JA.mjs +6 -0
  32. package/components/c4Diagram-6F6E4RAY-Dv27rXcJ.mjs +2490 -0
  33. package/components/catppuccin-frappe-zLMNRRUx.mjs +3 -0
  34. package/components/catppuccin-latte-CdF5jC3c.mjs +3 -0
  35. package/components/catppuccin-macchiato-DyjXeyRt.mjs +3 -0
  36. package/components/catppuccin-mocha-66IdYxR8.mjs +3 -0
  37. package/components/cdc-30ktANo3.mjs +14 -0
  38. package/components/channel-BBZy6zOT.mjs +7 -0
  39. package/components/chat-independent/index.mjs +4 -4
  40. package/components/chunk-353BL4L5-Dn_Y_Yna.mjs +17 -0
  41. package/components/chunk-67H74DCK-Br5U8bfD.mjs +102 -0
  42. package/components/chunk-AACKK3MU-DH_MKxca.mjs +17 -0
  43. package/components/chunk-BFAMUDN2-DHLCoYMN.mjs +13 -0
  44. package/components/chunk-E2GYISFI-DQPHyyga.mjs +19 -0
  45. package/components/chunk-OW32GOEJ-CQOSE6Bn.mjs +1924 -0
  46. package/components/chunk-SKB7J2MH-BlwHRDiW.mjs +25 -0
  47. package/components/chunk-SZ463SBG-DEp8buKJ.mjs +1823 -0
  48. package/components/clarity-6uBl6Vpb.mjs +6 -0
  49. package/components/classDiagram-M3E45YP4-D0ySDe-v.mjs +30 -0
  50. package/components/classDiagram-v2-YAWTLIQI-D0ySDe-v.mjs +30 -0
  51. package/components/clojure-COBRmwo8.mjs +14 -0
  52. package/components/clone-CEJtuQzg.mjs +8 -0
  53. package/components/cmake-CDfQILeU.mjs +6 -0
  54. package/components/cobol-BOOIiISO.mjs +13 -0
  55. package/components/coffee-DO_RGoZp.mjs +9 -0
  56. package/components/cpp-DAK8ktHO.mjs +25 -0
  57. package/components/crystal-CBGbbyVp.mjs +19 -0
  58. package/components/cs-h3ksD6-P.mjs +14 -0
  59. package/components/css-BtVcDqlU.mjs +6 -0
  60. package/components/cue-BFSVLV6N.mjs +6 -0
  61. package/components/cypher-Dl2CXoXF.mjs +14 -0
  62. package/components/cytoscape.esm-BojS1z60.mjs +30216 -0
  63. package/components/d-9qSZPw74.mjs +6 -0
  64. package/components/dagre-JOIXM2OF-5zx0JY2T.mjs +705 -0
  65. package/components/dark-plus-DmZ1Dzd4.mjs +3 -0
  66. package/components/dart-CCSsOg9l.mjs +6 -0
  67. package/components/dax-CvsmLV-B.mjs +6 -0
  68. package/components/defaultLocale-DVr69WTU.mjs +202 -0
  69. package/components/diagram-5UYTHUR4-C19nyAKc.mjs +213 -0
  70. package/components/diagram-VMROVX33-DkGwo-hj.mjs +859 -0
  71. package/components/diagram-ZTM2IBQH-CBgHCu9L.mjs +315 -0
  72. package/components/diff-BEdzuHlE.mjs +6 -0
  73. package/components/dockerfile-B3DP334t.mjs +14 -0
  74. package/components/dracula-B8-AVrwI.mjs +3 -0
  75. package/components/dracula-soft-BHeefow7.mjs +3 -0
  76. package/components/dream-maker-CNLQpoF-.mjs +6 -0
  77. package/components/elixir-0rTCSSfp.mjs +11 -0
  78. package/components/elm-BhwiZPvf.mjs +10 -0
  79. package/components/erDiagram-3M52JZNH-cttdAJXW.mjs +1167 -0
  80. package/components/erb-Lra8TlYM.mjs +27 -0
  81. package/components/erlang-D2NNgvtR.mjs +17 -0
  82. package/components/everforest-dark-Cg1xdODP.mjs +3 -0
  83. package/components/everforest-light-BmTD3bxe.mjs +3 -0
  84. package/components/fish-BU5HSdZy.mjs +6 -0
  85. package/components/flowDiagram-KYDEHFYC-9HpsqDdB.mjs +2343 -0
  86. package/components/fs-CdBSddpF.mjs +17 -0
  87. package/components/ganttDiagram-EK5VF46D-8QB3ofs6.mjs +3495 -0
  88. package/components/gdresource-CAbkn6H_.mjs +11 -0
  89. package/components/gdscript-Be_cubqt.mjs +6 -0
  90. package/components/gdshader-BEzE4j_3.mjs +6 -0
  91. package/components/gherkin-xCNF9gh8.mjs +6 -0
  92. package/components/git-commit-PP9xCApN.mjs +9 -0
  93. package/components/git-rebase-DqdGofLo.mjs +9 -0
  94. package/components/gitGraph-ZV4HHKMB-BSmtVGRu.mjs +13 -0
  95. package/components/gitGraphDiagram-GW3U2K7C-DNzc0Vx_.mjs +1225 -0
  96. package/components/github-dark-O22yVQaY.mjs +3 -0
  97. package/components/github-dark-default-DB2Hkvqn.mjs +3 -0
  98. package/components/github-dark-dimmed-CMZ_OfqC.mjs +3 -0
  99. package/components/github-dark-high-contrast-DmxWVmCU.mjs +3 -0
  100. package/components/github-light-BTbR9xVK.mjs +3 -0
  101. package/components/github-light-default-DWEonwFe.mjs +3 -0
  102. package/components/github-light-high-contrast-WJ_cPDts.mjs +3 -0
  103. package/components/glimmer-js-BkPYTyD4.mjs +23 -0
  104. package/components/glsl-CGsiYPcu.mjs +9 -0
  105. package/components/gnuplot-tV8vezdE.mjs +6 -0
  106. package/components/go-CBmVHZBz.mjs +6 -0
  107. package/components/graph-3zJxsO-i.mjs +425 -0
  108. package/components/graphql-D4pgneW3.mjs +15 -0
  109. package/components/groovy-Bn4MhXgW.mjs +6 -0
  110. package/components/gruvbox-dark-hard-C89wZ4s3.mjs +3 -0
  111. package/components/gruvbox-dark-medium-swz85q_b.mjs +3 -0
  112. package/components/gruvbox-dark-soft-BYHBHQJW.mjs +3 -0
  113. package/components/gruvbox-light-hard-DEF_ZxYZ.mjs +3 -0
  114. package/components/gruvbox-light-medium-ziUMnHJx.mjs +3 -0
  115. package/components/gruvbox-light-soft-Cuwp0tsB.mjs +3 -0
  116. package/components/gts-d3WsqAZM.mjs +23 -0
  117. package/components/hack-CwaBuF5l.mjs +13 -0
  118. package/components/haml-gLijj4rW.mjs +11 -0
  119. package/components/hbs-CFi5SpI3.mjs +23 -0
  120. package/components/hcl-axoq0Ycu.mjs +6 -0
  121. package/components/hjson-I7LcauIB.mjs +6 -0
  122. package/components/hlsl-TRzjajlb.mjs +6 -0
  123. package/components/houston-CF_ws8Cq.mjs +3 -0
  124. package/components/hs-DXSGqUFF.mjs +14 -0
  125. package/components/html-CLq-n30c.mjs +11 -0
  126. package/components/html-derivative-C8POX8SL.mjs +9 -0
  127. package/components/http-BYUKZ6kX.mjs +20 -0
  128. package/components/imba-C4923lSV.mjs +6 -0
  129. package/components/index3.mjs +79528 -0
  130. package/components/info-63CPKGFF-C8sYWczU.mjs +13 -0
  131. package/components/infoDiagram-LHK5PUON-C-vFFPTf.mjs +42 -0
  132. package/components/init-ZxktEp_H.mjs +15 -0
  133. package/components/java-BfXh-0uJ.mjs +6 -0
  134. package/components/jinja-html-BmW4v_vu.mjs +11 -0
  135. package/components/jison-C9kAT_Oj.mjs +9 -0
  136. package/components/journeyDiagram-EWQZEKCU-BJrw4-AG.mjs +1262 -0
  137. package/components/js-CN_xSsjU.mjs +14 -0
  138. package/components/json-TjWBGEk1.mjs +6 -0
  139. package/components/json5-DCGCKrmX.mjs +6 -0
  140. package/components/jsonc-DLVLp8id.mjs +6 -0
  141. package/components/jsonl-B-R_pDGg.mjs +6 -0
  142. package/components/jsonnet-Cs8BnnC6.mjs +6 -0
  143. package/components/jssm-D_YBQ_cM.mjs +14 -0
  144. package/components/jsx-BPmvoin2.mjs +6 -0
  145. package/components/julia-C-JjBobP.mjs +19 -0
  146. package/components/kanagawa-dragon-DU8n2NNT.mjs +3 -0
  147. package/components/kanagawa-lotus-Byd0CDet.mjs +3 -0
  148. package/components/kanagawa-wave-DExoagcR.mjs +3 -0
  149. package/components/kanban-definition-ZSS6B67P-BptAnqU-.mjs +1057 -0
  150. package/components/kotlin-BM2ZNTMh.mjs +6 -0
  151. package/components/kusto-D9MF7CZf.mjs +14 -0
  152. package/components/laserwave-DF03wMlf.mjs +3 -0
  153. package/components/latex-BsqkLZB_.mjs +10 -0
  154. package/components/layout-sGZIJplX.mjs +2043 -0
  155. package/components/less-BAzLMJNR.mjs +6 -0
  156. package/components/light-plus-DS08Xg5J.mjs +3 -0
  157. package/components/linear-DqgVh5FN.mjs +336 -0
  158. package/components/liquid-f2VHt0dg.mjs +15 -0
  159. package/components/lisp-DAq1kaby.mjs +6 -0
  160. package/components/logo-D9l7oEJ8.mjs +6 -0
  161. package/components/lua-CH3ttzl_.mjs +9 -0
  162. package/components/makefile-D2qLe7q0.mjs +14 -0
  163. package/components/marko-DwRyI_--.mjs +15 -0
  164. package/components/material-theme-B8B2U48Q.mjs +3 -0
  165. package/components/material-theme-darker-BV0iY_T3.mjs +3 -0
  166. package/components/material-theme-lighter-DrzybSTF.mjs +3 -0
  167. package/components/material-theme-ocean-BRPLVReX.mjs +3 -0
  168. package/components/material-theme-palenight-DSJwsR_D.mjs +3 -0
  169. package/components/matlab-7XHduepk.mjs +6 -0
  170. package/components/md-BIvDPr-W.mjs +14 -0
  171. package/components/mdc-Rx6hWSHn.mjs +16 -0
  172. package/components/mdx-D5wExp-O.mjs +6 -0
  173. package/components/mermaid-CUjtoYEe.mjs +6 -0
  174. package/components/mermaid-parser.core-CH9ryA1K.mjs +16987 -0
  175. package/components/mermaid.core-CAqkCmS1.mjs +20975 -0
  176. package/components/min-BngCxx8g.mjs +109 -0
  177. package/components/min-dark-BNaN9fWk.mjs +3 -0
  178. package/components/min-light-CMrjentn.mjs +3 -0
  179. package/components/mindmap-definition-6CBA2TL7-Cp_EeEsh.mjs +5854 -0
  180. package/components/mojo-CrbF881p.mjs +6 -0
  181. package/components/monokai-DelygWXa.mjs +3 -0
  182. package/components/narrat-DOwkIbBe.mjs +14 -0
  183. package/components/nf-DHfvJ2gH.mjs +14 -0
  184. package/components/nginx-B_jWsywZ.mjs +10 -0
  185. package/components/night-owl-DSS199ra.mjs +3 -0
  186. package/components/nim-yzbnZKJd.mjs +22 -0
  187. package/components/nix--3K2gyjg.mjs +6 -0
  188. package/components/nord-CvDbBq5M.mjs +3 -0
  189. package/components/objective-c-DkOBZg1J.mjs +14 -0
  190. package/components/objective-cpp-DEoN9Fe5.mjs +6 -0
  191. package/components/ocaml-B1kfGk9Y.mjs +6 -0
  192. package/components/one-dark-pro-CsMf0BoJ.mjs +3 -0
  193. package/components/one-light-BwwAsfsj.mjs +3 -0
  194. package/components/ordinal-DSZU4PqD.mjs +76 -0
  195. package/components/packet-HUATNLJX-bfFWFja0.mjs +13 -0
  196. package/components/pascal-CU8Kjkr_.mjs +6 -0
  197. package/components/perl-FH6su6vZ.mjs +18 -0
  198. package/components/php-Dnl1TfYH.mjs +20 -0
  199. package/components/pie-WTHONI2E-QPrWs3SR.mjs +13 -0
  200. package/components/pieDiagram-NIOCPIFQ-C46Y_4C6.mjs +248 -0
  201. package/components/plastic-BjwMpBc0.mjs +3 -0
  202. package/components/plsql-B3Na24V4.mjs +6 -0
  203. package/components/poimandres-ChWyhPrn.mjs +3 -0
  204. package/components/postcss-kj1IbjVd.mjs +6 -0
  205. package/components/powerquery-B-e1fO-k.mjs +6 -0
  206. package/components/prisma-bmxcSDxq.mjs +6 -0
  207. package/components/prolog-BT9GCzqD.mjs +6 -0
  208. package/components/properties-D6yKO1eW.mjs +14 -0
  209. package/components/proto-BIXM0k1a.mjs +6 -0
  210. package/components/ps1-aFyNx8UH.mjs +18 -0
  211. package/components/pug-BrOx0bSt.mjs +21 -0
  212. package/components/puppet-N15G4Usj.mjs +6 -0
  213. package/components/purescript-DrwsEYNH.mjs +6 -0
  214. package/components/python-D2s92fRP.mjs +14 -0
  215. package/components/ql-DTm-NCRo.mjs +14 -0
  216. package/components/quadrantDiagram-2OG54O6I-Dgf6d6F_.mjs +1347 -0
  217. package/components/r-oprfD2-9.mjs +6 -0
  218. package/components/radar-NJJJXTRR-BnUCJhQL.mjs +13 -0
  219. package/components/raku-xArQd_rF.mjs +14 -0
  220. package/components/razor-BoXCAbWQ.mjs +13 -0
  221. package/components/red-DByOl5N0.mjs +3 -0
  222. package/components/reg-CULnG2WX.mjs +6 -0
  223. package/components/rel-CHRwzjd4.mjs +6 -0
  224. package/components/requirementDiagram-QOLK2EJ7-CSF6N7HA.mjs +1171 -0
  225. package/components/riscv-BNQ9cVpw.mjs +6 -0
  226. package/components/rose-pine-LL9gXmP2.mjs +3 -0
  227. package/components/rose-pine-dawn-CH9zdisO.mjs +3 -0
  228. package/components/rose-pine-moon-B1oKSfEJ.mjs +3 -0
  229. package/components/rst-bEtD1v7N.mjs +36 -0
  230. package/components/ruby-BmfBy6EV.mjs +44 -0
  231. package/components/rust-Bf_fdNdL.mjs +14 -0
  232. package/components/sankeyDiagram-4UZDY2LN-BAHB7dMS.mjs +1199 -0
  233. package/components/sas-BLBgC3TA.mjs +9 -0
  234. package/components/sass-BheygBdF.mjs +6 -0
  235. package/components/scala-B-_7vFVn.mjs +6 -0
  236. package/components/scheme-BSHdPinv.mjs +6 -0
  237. package/components/scss-Dq-LbI_c.mjs +9 -0
  238. package/components/sequenceDiagram-SKLFT4DO-10gLJ50N.mjs +3422 -0
  239. package/components/shaderlab-BOQRTiQi.mjs +17 -0
  240. package/components/shellsession-Cu3c0QAc.mjs +17 -0
  241. package/components/slack-dark-BEe10hxO.mjs +3 -0
  242. package/components/slack-ochin-BKmu9pBc.mjs +3 -0
  243. package/components/smalltalk-qxcGy4fT.mjs +6 -0
  244. package/components/snazzy-light-Dcvd-ZyI.mjs +3 -0
  245. package/components/solarized-dark-BBl5y5sR.mjs +3 -0
  246. package/components/solarized-light-DW9b_AY8.mjs +3 -0
  247. package/components/solidity-CewKZgp-.mjs +6 -0
  248. package/components/sparql-DswowMAp.mjs +9 -0
  249. package/components/splunk-gK6Iw_P9.mjs +14 -0
  250. package/components/sql-DzUuSofg.mjs +6 -0
  251. package/components/ssh-config-Bk_I5wDR.mjs +6 -0
  252. package/components/stata-Dl7wDdBE.mjs +9 -0
  253. package/components/stateDiagram-MI5ZYTHO-D6p6nCaj.mjs +459 -0
  254. package/components/stateDiagram-v2-5AN5P6BG-DaN5hC-t.mjs +29 -0
  255. package/components/stylus-qRNkxrFU.mjs +14 -0
  256. package/components/svelte-B9qv3vkS.mjs +15 -0
  257. package/components/swift-BRQRsam8.mjs +6 -0
  258. package/components/synthwave-84-CoUef9sh.mjs +3 -0
  259. package/components/system-verilog-BcESSvRn.mjs +6 -0
  260. package/components/tasl-DfOr2qHi.mjs +6 -0
  261. package/components/tcl-CTsc4-t7.mjs +6 -0
  262. package/components/tex-CumJx1zu.mjs +9 -0
  263. package/components/timeline-definition-MYPXXCX6-gLqnWxDu.mjs +1234 -0
  264. package/components/tokyo-night-DjtLpAEY.mjs +3 -0
  265. package/components/toml-vHPzWDj6.mjs +6 -0
  266. package/components/treemap-75Q7IDZK-B2atdfMH.mjs +13 -0
  267. package/components/tsx-CmGGo4Hm.mjs +6 -0
  268. package/components/turtle-BnC7StHY.mjs +6 -0
  269. package/components/twig-0XKNpXN1.mjs +35 -0
  270. package/components/typescript-CgxwwAuC.mjs +14 -0
  271. package/components/v-Bmdjo9cy.mjs +6 -0
  272. package/components/vb-DuF6ZenW.mjs +14 -0
  273. package/components/verilog-CCb_iTfF.mjs +6 -0
  274. package/components/vesper-4Q1cEwPL.mjs +3 -0
  275. package/components/vhdl-DMqk4T2s.mjs +6 -0
  276. package/components/vimscript-aKp9YbYm.mjs +18 -0
  277. package/components/vitesse-black-BqNLki8b.mjs +3 -0
  278. package/components/vitesse-dark-jJ32WhwH.mjs +3 -0
  279. package/components/vitesse-light-476zM4e6.mjs +3 -0
  280. package/components/vue-DVNNTw2l.mjs +40 -0
  281. package/components/vue-html-Cr5wciIP.mjs +16 -0
  282. package/components/vyper-DYedWgAE.mjs +14 -0
  283. package/components/wasm-BBh6f151.mjs +6 -0
  284. package/components/wasm-DDgzZJey.mjs +7 -0
  285. package/components/wenyan-BdqozpMZ.mjs +6 -0
  286. package/components/wgsl-Vo-hHVWH.mjs +6 -0
  287. package/components/wolfram-CRmjUoI4.mjs +6 -0
  288. package/components/xml-BMzZeaqs.mjs +9 -0
  289. package/components/xsl-CAhvzxWv.mjs +10 -0
  290. package/components/xychartDiagram-H2YORKM3-Whqa4ezL.mjs +1893 -0
  291. package/components/yml-BhSrWWMS.mjs +14 -0
  292. package/components/zenscript-DFINJL6j.mjs +6 -0
  293. package/components/zig-CS4FMAZp.mjs +6 -0
  294. package/components/zsh-hcK4TBd7.mjs +26 -0
  295. package/index.css +23 -0
  296. package/package.json +4 -1
  297. package/components/agent-chat-provider/index.d.ts +0 -7
  298. package/components/agent-chat-provider/src/api.d.ts +0 -3
  299. package/components/agent-chat-provider/src/const-roles.d.ts +0 -8
  300. package/components/agent-chat-provider/src/const.d.ts +0 -1
  301. package/components/agent-chat-provider/src/index.vue.d.ts +0 -22
  302. package/components/agent-chat-provider/src/types.d.ts +0 -50
  303. package/components/agent-chat-provider/src/use.d.ts +0 -5
  304. package/components/avatar/index.d.ts +0 -4
  305. package/components/avatar/src/ctx.d.ts +0 -6
  306. package/components/avatar/src/index.vue.d.ts +0 -180
  307. package/components/avatar/src/types.d.ts +0 -1
  308. package/components/broadcasting-markdown/index.d.ts +0 -7
  309. package/components/broadcasting-markdown/src/const.d.ts +0 -13
  310. package/components/broadcasting-markdown/src/ctx.d.ts +0 -129
  311. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +0 -104
  312. package/components/broadcasting-markdown/src/index.vue.d.ts +0 -439
  313. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +0 -79
  314. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +0 -67
  315. package/components/broadcasting-markdown/src/types.d.ts +0 -26
  316. package/components/broadcasting-markdown/src/use.d.ts +0 -21
  317. package/components/bubble-list/index.d.ts +0 -5
  318. package/components/bubble-list/src/ctx.d.ts +0 -32
  319. package/components/bubble-list/src/index.vue.d.ts +0 -810
  320. package/components/bubble-list/src/types.d.ts +0 -4
  321. package/components/bubble-templates/index.d.ts +0 -4
  322. package/components/bubble-templates/src/index.vue.d.ts +0 -595
  323. package/components/bubble-templates/src/types.d.ts +0 -40
  324. package/components/chat-independent/index.d.ts +0 -4
  325. package/components/chat-independent/src/const.d.ts +0 -13
  326. package/components/chat-independent/src/ctx.d.ts +0 -21
  327. package/components/chat-independent/src/index.vue.d.ts +0 -2429
  328. package/components/chat-independent/src/types.d.ts +0 -13
  329. package/components/index.d.ts +0 -0
  330. package/components/lottie-animation/index.d.ts +0 -4
  331. package/components/lottie-animation/src/ctx.d.ts +0 -10
  332. package/components/lottie-animation/src/index.vue.d.ts +0 -21
  333. package/components/lottie-animation/src/types.d.ts +0 -4
  334. package/components/metahuman-broadcasting/index.d.ts +0 -5
  335. package/components/metahuman-broadcasting/src/ctx.d.ts +0 -57
  336. package/components/metahuman-broadcasting/src/index.vue.d.ts +0 -885
  337. package/components/metahuman-broadcasting/src/types.d.ts +0 -1
  338. package/components/monaco-editor/index.d.ts +0 -5
  339. package/components/monaco-editor/src/ctx.d.ts +0 -23
  340. package/components/monaco-editor/src/index.vue.d.ts +0 -40
  341. package/components/monaco-editor/src/types.d.ts +0 -1
  342. package/components/monaco-environment/index.d.ts +0 -4
  343. package/components/monaco-environment/src/ctx.d.ts +0 -8
  344. package/components/monaco-environment/src/index.vue.d.ts +0 -2
  345. package/components/monaco-environment/src/types.d.ts +0 -1
  346. package/components/pixi-frame/index.d.ts +0 -11
  347. package/components/pixi-frame/src/apng.vue.d.ts +0 -161
  348. package/components/pixi-frame/src/bitmap.vue.d.ts +0 -158
  349. package/components/pixi-frame/src/core.vue.d.ts +0 -173
  350. package/components/pixi-frame/src/ctx.d.ts +0 -55
  351. package/components/pixi-frame/src/index.vue.d.ts +0 -591
  352. package/components/pixi-frame/src/provider.vue.d.ts +0 -2
  353. package/components/pixi-frame/src/types.d.ts +0 -17
  354. package/components/pixi-frame/src/use.d.ts +0 -16
  355. package/components/pixi-frame/src/useSprite.d.ts +0 -12
  356. package/components/pixi-frame/src/video.vue.d.ts +0 -159
  357. package/components/pixi-frame/src/view.vue.d.ts +0 -29
  358. package/components/recorder-button/index.d.ts +0 -4
  359. package/components/recorder-button/src/ctx.d.ts +0 -41
  360. package/components/recorder-button/src/index.vue.d.ts +0 -333
  361. package/components/recorder-button/src/speech-to-text.d.ts +0 -1
  362. package/components/recorder-button/src/types.d.ts +0 -7
  363. package/components/routes-menu-content/index.d.ts +0 -4
  364. package/components/routes-menu-content/src/ctx.d.ts +0 -17
  365. package/components/routes-menu-content/src/index.vue.d.ts +0 -350
  366. package/components/routes-menu-content/src/item/core/ctx.d.ts +0 -18
  367. package/components/routes-menu-content/src/item/core/index.vue.d.ts +0 -185
  368. package/components/routes-menu-content/src/item/ctx.d.ts +0 -14
  369. package/components/routes-menu-content/src/item/index.vue.d.ts +0 -316
  370. package/components/routes-menu-content/src/types.d.ts +0 -1
  371. package/components/sender/index.d.ts +0 -4
  372. package/components/sender/src/SenderHeader.vue.d.ts +0 -270
  373. package/components/sender/src/ctx.d.ts +0 -64
  374. package/components/sender/src/index.vue.d.ts +0 -779
  375. package/components/sender/src/types.d.ts +0 -1
  376. package/components/speech-button/index.d.ts +0 -4
  377. package/components/speech-button/src/LoadingIcon.vue.d.ts +0 -2
  378. package/components/speech-button/src/RecordingIcon.vue.d.ts +0 -2
  379. package/components/speech-button/src/ctx.d.ts +0 -10
  380. package/components/speech-button/src/index.vue.d.ts +0 -22
  381. package/components/speech-button/src/types.d.ts +0 -1
  382. package/components/table-columns/index.d.ts +0 -5
  383. package/components/table-columns/src/ctx.d.ts +0 -59
  384. package/components/table-columns/src/el-ctx.d.ts +0 -57
  385. package/components/table-columns/src/index.vue.d.ts +0 -266
  386. package/components/table-columns/src/types.d.ts +0 -21
  387. package/components/tables-v1/index.d.ts +0 -5
  388. package/components/tables-v1/src/ctx.d.ts +0 -280
  389. package/components/tables-v1/src/el-ctx.d.ts +0 -262
  390. package/components/tables-v1/src/index.vue.d.ts +0 -3054
  391. package/components/tables-v1/src/types.d.ts +0 -3
  392. package/components/tables-v1-checkbox/index.d.ts +0 -5
  393. package/components/tables-v1-checkbox/src/ctx.d.ts +0 -313
  394. package/components/tables-v1-checkbox/src/index.vue.d.ts +0 -3831
  395. package/components/tables-v1-checkbox/src/types.d.ts +0 -1
  396. package/components/text/index.d.ts +0 -4
  397. package/components/text/src/ctx.d.ts +0 -341
  398. package/components/text/src/index.vue.d.ts +0 -4593
  399. package/components/text/src/types.d.ts +0 -1
  400. package/components/typing-markdown/index.d.ts +0 -4
  401. package/components/typing-markdown/src/core.d.ts +0 -2
  402. package/components/typing-markdown/src/ctx.d.ts +0 -41
  403. package/components/typing-markdown/src/index.vue.d.ts +0 -75
  404. package/components/typing-markdown/src/types.d.ts +0 -1
  405. package/components/vditor/index.d.ts +0 -5
  406. package/components/vditor/src/ctx.d.ts +0 -38
  407. package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
  408. package/components/vditor/src/handle-value.vue.d.ts +0 -18
  409. package/components/vditor/src/index.vue.d.ts +0 -143
  410. package/components/vditor/src/types.d.ts +0 -9
  411. package/components/vditor/src/use.d.ts +0 -4
@@ -0,0 +1,1171 @@
1
+ import { g as getDiagramElement } from './chunk-BFAMUDN2-DHLCoYMN.mjs';
2
+ import { s as setupViewPortForSVG } from './chunk-SKB7J2MH-BlwHRDiW.mjs';
3
+ import { _ as __name, D as __export, l as log, c as getConfig2, p as getRegisteredLayoutAlgorithm, r as render$1, u as utils_default, b as setAccTitle, a as getAccTitle, s as setAccDescription, g as getAccDescription, q as setDiagramTitle, t as getDiagramTitle, z as clear$2 } from './mermaid.core-CAqkCmS1.mjs';
4
+ import './index3.mjs';
5
+ import 'vue';
6
+ import '@vunk/plus/components/bubble-templates';
7
+ import '@vunk/core/components/spread-to';
8
+ import 'element-plus';
9
+ import '@vunk/shared/function';
10
+ import './_plugin-vue_export-helper.mjs';
11
+ import '@vunk/plus/components/agent-chat-provider';
12
+
13
+ var _a;
14
+ var parser = function() {
15
+ var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
16
+ for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
17
+ return o2;
18
+ }, "o"), $V0 = [1, 3], $V1 = [1, 4], $V2 = [1, 5], $V3 = [1, 6], $V4 = [5, 6, 8, 9, 11, 13, 21, 22, 23, 24, 41, 42, 43, 44, 45, 46, 54, 72, 74, 77, 89, 90], $V5 = [1, 22], $V6 = [2, 7], $V7 = [1, 26], $V8 = [1, 27], $V9 = [1, 28], $Va = [1, 29], $Vb = [1, 33], $Vc = [1, 34], $Vd = [1, 35], $Ve = [1, 36], $Vf = [1, 37], $Vg = [1, 38], $Vh = [1, 24], $Vi = [1, 31], $Vj = [1, 32], $Vk = [1, 30], $Vl = [1, 39], $Vm = [1, 40], $Vn = [5, 8, 9, 11, 13, 21, 22, 23, 24, 41, 42, 43, 44, 45, 46, 54, 72, 74, 77, 89, 90], $Vo = [1, 61], $Vp = [89, 90], $Vq = [5, 8, 9, 11, 13, 21, 22, 23, 24, 27, 29, 41, 42, 43, 44, 45, 46, 54, 61, 63, 72, 74, 75, 76, 77, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], $Vr = [27, 29], $Vs = [1, 70], $Vt = [1, 71], $Vu = [1, 72], $Vv = [1, 73], $Vw = [1, 74], $Vx = [1, 75], $Vy = [1, 76], $Vz = [1, 83], $VA = [1, 80], $VB = [1, 84], $VC = [1, 85], $VD = [1, 86], $VE = [1, 87], $VF = [1, 88], $VG = [1, 89], $VH = [1, 90], $VI = [1, 91], $VJ = [1, 92], $VK = [5, 8, 9, 11, 13, 21, 22, 23, 24, 27, 41, 42, 43, 44, 45, 46, 54, 72, 74, 75, 76, 77, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], $VL = [63, 64], $VM = [1, 101], $VN = [5, 8, 9, 11, 13, 21, 22, 23, 24, 41, 42, 43, 44, 45, 46, 54, 72, 74, 76, 77, 89, 90], $VO = [5, 8, 9, 11, 13, 21, 22, 23, 24, 41, 42, 43, 44, 45, 46, 54, 72, 74, 75, 76, 77, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], $VP = [1, 110], $VQ = [1, 106], $VR = [1, 107], $VS = [1, 108], $VT = [1, 109], $VU = [1, 111], $VV = [1, 116], $VW = [1, 117], $VX = [1, 114], $VY = [1, 115];
19
+ var parser2 = {
20
+ trace: /* @__PURE__ */ __name(function trace() {
21
+ }, "trace"),
22
+ yy: {},
23
+ symbols_: { "error": 2, "start": 3, "directive": 4, "NEWLINE": 5, "RD": 6, "diagram": 7, "EOF": 8, "acc_title": 9, "acc_title_value": 10, "acc_descr": 11, "acc_descr_value": 12, "acc_descr_multiline_value": 13, "requirementDef": 14, "elementDef": 15, "relationshipDef": 16, "direction": 17, "styleStatement": 18, "classDefStatement": 19, "classStatement": 20, "direction_tb": 21, "direction_bt": 22, "direction_rl": 23, "direction_lr": 24, "requirementType": 25, "requirementName": 26, "STRUCT_START": 27, "requirementBody": 28, "STYLE_SEPARATOR": 29, "idList": 30, "ID": 31, "COLONSEP": 32, "id": 33, "TEXT": 34, "text": 35, "RISK": 36, "riskLevel": 37, "VERIFYMTHD": 38, "verifyType": 39, "STRUCT_STOP": 40, "REQUIREMENT": 41, "FUNCTIONAL_REQUIREMENT": 42, "INTERFACE_REQUIREMENT": 43, "PERFORMANCE_REQUIREMENT": 44, "PHYSICAL_REQUIREMENT": 45, "DESIGN_CONSTRAINT": 46, "LOW_RISK": 47, "MED_RISK": 48, "HIGH_RISK": 49, "VERIFY_ANALYSIS": 50, "VERIFY_DEMONSTRATION": 51, "VERIFY_INSPECTION": 52, "VERIFY_TEST": 53, "ELEMENT": 54, "elementName": 55, "elementBody": 56, "TYPE": 57, "type": 58, "DOCREF": 59, "ref": 60, "END_ARROW_L": 61, "relationship": 62, "LINE": 63, "END_ARROW_R": 64, "CONTAINS": 65, "COPIES": 66, "DERIVES": 67, "SATISFIES": 68, "VERIFIES": 69, "REFINES": 70, "TRACES": 71, "CLASSDEF": 72, "stylesOpt": 73, "CLASS": 74, "ALPHA": 75, "COMMA": 76, "STYLE": 77, "style": 78, "styleComponent": 79, "NUM": 80, "COLON": 81, "UNIT": 82, "SPACE": 83, "BRKT": 84, "PCT": 85, "MINUS": 86, "LABEL": 87, "SEMICOLON": 88, "unqString": 89, "qString": 90, "$accept": 0, "$end": 1 },
24
+ terminals_: { 2: "error", 5: "NEWLINE", 6: "RD", 8: "EOF", 9: "acc_title", 10: "acc_title_value", 11: "acc_descr", 12: "acc_descr_value", 13: "acc_descr_multiline_value", 21: "direction_tb", 22: "direction_bt", 23: "direction_rl", 24: "direction_lr", 27: "STRUCT_START", 29: "STYLE_SEPARATOR", 31: "ID", 32: "COLONSEP", 34: "TEXT", 36: "RISK", 38: "VERIFYMTHD", 40: "STRUCT_STOP", 41: "REQUIREMENT", 42: "FUNCTIONAL_REQUIREMENT", 43: "INTERFACE_REQUIREMENT", 44: "PERFORMANCE_REQUIREMENT", 45: "PHYSICAL_REQUIREMENT", 46: "DESIGN_CONSTRAINT", 47: "LOW_RISK", 48: "MED_RISK", 49: "HIGH_RISK", 50: "VERIFY_ANALYSIS", 51: "VERIFY_DEMONSTRATION", 52: "VERIFY_INSPECTION", 53: "VERIFY_TEST", 54: "ELEMENT", 57: "TYPE", 59: "DOCREF", 61: "END_ARROW_L", 63: "LINE", 64: "END_ARROW_R", 65: "CONTAINS", 66: "COPIES", 67: "DERIVES", 68: "SATISFIES", 69: "VERIFIES", 70: "REFINES", 71: "TRACES", 72: "CLASSDEF", 74: "CLASS", 75: "ALPHA", 76: "COMMA", 77: "STYLE", 80: "NUM", 81: "COLON", 82: "UNIT", 83: "SPACE", 84: "BRKT", 85: "PCT", 86: "MINUS", 87: "LABEL", 88: "SEMICOLON", 89: "unqString", 90: "qString" },
25
+ productions_: [0, [3, 3], [3, 2], [3, 4], [4, 2], [4, 2], [4, 1], [7, 0], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [17, 1], [17, 1], [17, 1], [17, 1], [14, 5], [14, 7], [28, 5], [28, 5], [28, 5], [28, 5], [28, 2], [28, 1], [25, 1], [25, 1], [25, 1], [25, 1], [25, 1], [25, 1], [37, 1], [37, 1], [37, 1], [39, 1], [39, 1], [39, 1], [39, 1], [15, 5], [15, 7], [56, 5], [56, 5], [56, 2], [56, 1], [16, 5], [16, 5], [62, 1], [62, 1], [62, 1], [62, 1], [62, 1], [62, 1], [62, 1], [19, 3], [20, 3], [20, 3], [30, 1], [30, 3], [30, 1], [30, 3], [18, 3], [73, 1], [73, 3], [78, 1], [78, 2], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [26, 1], [26, 1], [33, 1], [33, 1], [35, 1], [35, 1], [55, 1], [55, 1], [58, 1], [58, 1], [60, 1], [60, 1]],
26
+ performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
27
+ var $0 = $$.length - 1;
28
+ switch (yystate) {
29
+ case 4:
30
+ this.$ = $$[$0].trim();
31
+ yy.setAccTitle(this.$);
32
+ break;
33
+ case 5:
34
+ case 6:
35
+ this.$ = $$[$0].trim();
36
+ yy.setAccDescription(this.$);
37
+ break;
38
+ case 7:
39
+ this.$ = [];
40
+ break;
41
+ case 17:
42
+ yy.setDirection("TB");
43
+ break;
44
+ case 18:
45
+ yy.setDirection("BT");
46
+ break;
47
+ case 19:
48
+ yy.setDirection("RL");
49
+ break;
50
+ case 20:
51
+ yy.setDirection("LR");
52
+ break;
53
+ case 21:
54
+ yy.addRequirement($$[$0 - 3], $$[$0 - 4]);
55
+ break;
56
+ case 22:
57
+ yy.addRequirement($$[$0 - 5], $$[$0 - 6]);
58
+ yy.setClass([$$[$0 - 5]], $$[$0 - 3]);
59
+ break;
60
+ case 23:
61
+ yy.setNewReqId($$[$0 - 2]);
62
+ break;
63
+ case 24:
64
+ yy.setNewReqText($$[$0 - 2]);
65
+ break;
66
+ case 25:
67
+ yy.setNewReqRisk($$[$0 - 2]);
68
+ break;
69
+ case 26:
70
+ yy.setNewReqVerifyMethod($$[$0 - 2]);
71
+ break;
72
+ case 29:
73
+ this.$ = yy.RequirementType.REQUIREMENT;
74
+ break;
75
+ case 30:
76
+ this.$ = yy.RequirementType.FUNCTIONAL_REQUIREMENT;
77
+ break;
78
+ case 31:
79
+ this.$ = yy.RequirementType.INTERFACE_REQUIREMENT;
80
+ break;
81
+ case 32:
82
+ this.$ = yy.RequirementType.PERFORMANCE_REQUIREMENT;
83
+ break;
84
+ case 33:
85
+ this.$ = yy.RequirementType.PHYSICAL_REQUIREMENT;
86
+ break;
87
+ case 34:
88
+ this.$ = yy.RequirementType.DESIGN_CONSTRAINT;
89
+ break;
90
+ case 35:
91
+ this.$ = yy.RiskLevel.LOW_RISK;
92
+ break;
93
+ case 36:
94
+ this.$ = yy.RiskLevel.MED_RISK;
95
+ break;
96
+ case 37:
97
+ this.$ = yy.RiskLevel.HIGH_RISK;
98
+ break;
99
+ case 38:
100
+ this.$ = yy.VerifyType.VERIFY_ANALYSIS;
101
+ break;
102
+ case 39:
103
+ this.$ = yy.VerifyType.VERIFY_DEMONSTRATION;
104
+ break;
105
+ case 40:
106
+ this.$ = yy.VerifyType.VERIFY_INSPECTION;
107
+ break;
108
+ case 41:
109
+ this.$ = yy.VerifyType.VERIFY_TEST;
110
+ break;
111
+ case 42:
112
+ yy.addElement($$[$0 - 3]);
113
+ break;
114
+ case 43:
115
+ yy.addElement($$[$0 - 5]);
116
+ yy.setClass([$$[$0 - 5]], $$[$0 - 3]);
117
+ break;
118
+ case 44:
119
+ yy.setNewElementType($$[$0 - 2]);
120
+ break;
121
+ case 45:
122
+ yy.setNewElementDocRef($$[$0 - 2]);
123
+ break;
124
+ case 48:
125
+ yy.addRelationship($$[$0 - 2], $$[$0], $$[$0 - 4]);
126
+ break;
127
+ case 49:
128
+ yy.addRelationship($$[$0 - 2], $$[$0 - 4], $$[$0]);
129
+ break;
130
+ case 50:
131
+ this.$ = yy.Relationships.CONTAINS;
132
+ break;
133
+ case 51:
134
+ this.$ = yy.Relationships.COPIES;
135
+ break;
136
+ case 52:
137
+ this.$ = yy.Relationships.DERIVES;
138
+ break;
139
+ case 53:
140
+ this.$ = yy.Relationships.SATISFIES;
141
+ break;
142
+ case 54:
143
+ this.$ = yy.Relationships.VERIFIES;
144
+ break;
145
+ case 55:
146
+ this.$ = yy.Relationships.REFINES;
147
+ break;
148
+ case 56:
149
+ this.$ = yy.Relationships.TRACES;
150
+ break;
151
+ case 57:
152
+ this.$ = $$[$0 - 2];
153
+ yy.defineClass($$[$0 - 1], $$[$0]);
154
+ break;
155
+ case 58:
156
+ yy.setClass($$[$0 - 1], $$[$0]);
157
+ break;
158
+ case 59:
159
+ yy.setClass([$$[$0 - 2]], $$[$0]);
160
+ break;
161
+ case 60:
162
+ case 62:
163
+ this.$ = [$$[$0]];
164
+ break;
165
+ case 61:
166
+ case 63:
167
+ this.$ = $$[$0 - 2].concat([$$[$0]]);
168
+ break;
169
+ case 64:
170
+ this.$ = $$[$0 - 2];
171
+ yy.setCssStyle($$[$0 - 1], $$[$0]);
172
+ break;
173
+ case 65:
174
+ this.$ = [$$[$0]];
175
+ break;
176
+ case 66:
177
+ $$[$0 - 2].push($$[$0]);
178
+ this.$ = $$[$0 - 2];
179
+ break;
180
+ case 68:
181
+ this.$ = $$[$0 - 1] + $$[$0];
182
+ break;
183
+ }
184
+ }, "anonymous"),
185
+ table: [{ 3: 1, 4: 2, 6: $V0, 9: $V1, 11: $V2, 13: $V3 }, { 1: [3] }, { 3: 8, 4: 2, 5: [1, 7], 6: $V0, 9: $V1, 11: $V2, 13: $V3 }, { 5: [1, 9] }, { 10: [1, 10] }, { 12: [1, 11] }, o($V4, [2, 6]), { 3: 12, 4: 2, 6: $V0, 9: $V1, 11: $V2, 13: $V3 }, { 1: [2, 2] }, { 4: 17, 5: $V5, 7: 13, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, o($V4, [2, 4]), o($V4, [2, 5]), { 1: [2, 1] }, { 8: [1, 41] }, { 4: 17, 5: $V5, 7: 42, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, { 4: 17, 5: $V5, 7: 43, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, { 4: 17, 5: $V5, 7: 44, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, { 4: 17, 5: $V5, 7: 45, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, { 4: 17, 5: $V5, 7: 46, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, { 4: 17, 5: $V5, 7: 47, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, { 4: 17, 5: $V5, 7: 48, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, { 4: 17, 5: $V5, 7: 49, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, { 4: 17, 5: $V5, 7: 50, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, { 26: 51, 89: [1, 52], 90: [1, 53] }, { 55: 54, 89: [1, 55], 90: [1, 56] }, { 29: [1, 59], 61: [1, 57], 63: [1, 58] }, o($Vn, [2, 17]), o($Vn, [2, 18]), o($Vn, [2, 19]), o($Vn, [2, 20]), { 30: 60, 33: 62, 75: $Vo, 89: $Vl, 90: $Vm }, { 30: 63, 33: 62, 75: $Vo, 89: $Vl, 90: $Vm }, { 30: 64, 33: 62, 75: $Vo, 89: $Vl, 90: $Vm }, o($Vp, [2, 29]), o($Vp, [2, 30]), o($Vp, [2, 31]), o($Vp, [2, 32]), o($Vp, [2, 33]), o($Vp, [2, 34]), o($Vq, [2, 81]), o($Vq, [2, 82]), { 1: [2, 3] }, { 8: [2, 8] }, { 8: [2, 9] }, { 8: [2, 10] }, { 8: [2, 11] }, { 8: [2, 12] }, { 8: [2, 13] }, { 8: [2, 14] }, { 8: [2, 15] }, { 8: [2, 16] }, { 27: [1, 65], 29: [1, 66] }, o($Vr, [2, 79]), o($Vr, [2, 80]), { 27: [1, 67], 29: [1, 68] }, o($Vr, [2, 85]), o($Vr, [2, 86]), { 62: 69, 65: $Vs, 66: $Vt, 67: $Vu, 68: $Vv, 69: $Vw, 70: $Vx, 71: $Vy }, { 62: 77, 65: $Vs, 66: $Vt, 67: $Vu, 68: $Vv, 69: $Vw, 70: $Vx, 71: $Vy }, { 30: 78, 33: 62, 75: $Vo, 89: $Vl, 90: $Vm }, { 73: 79, 75: $Vz, 76: $VA, 78: 81, 79: 82, 80: $VB, 81: $VC, 82: $VD, 83: $VE, 84: $VF, 85: $VG, 86: $VH, 87: $VI, 88: $VJ }, o($VK, [2, 60]), o($VK, [2, 62]), { 73: 93, 75: $Vz, 76: $VA, 78: 81, 79: 82, 80: $VB, 81: $VC, 82: $VD, 83: $VE, 84: $VF, 85: $VG, 86: $VH, 87: $VI, 88: $VJ }, { 30: 94, 33: 62, 75: $Vo, 76: $VA, 89: $Vl, 90: $Vm }, { 5: [1, 95] }, { 30: 96, 33: 62, 75: $Vo, 89: $Vl, 90: $Vm }, { 5: [1, 97] }, { 30: 98, 33: 62, 75: $Vo, 89: $Vl, 90: $Vm }, { 63: [1, 99] }, o($VL, [2, 50]), o($VL, [2, 51]), o($VL, [2, 52]), o($VL, [2, 53]), o($VL, [2, 54]), o($VL, [2, 55]), o($VL, [2, 56]), { 64: [1, 100] }, o($Vn, [2, 59], { 76: $VA }), o($Vn, [2, 64], { 76: $VM }), { 33: 103, 75: [1, 102], 89: $Vl, 90: $Vm }, o($VN, [2, 65], { 79: 104, 75: $Vz, 80: $VB, 81: $VC, 82: $VD, 83: $VE, 84: $VF, 85: $VG, 86: $VH, 87: $VI, 88: $VJ }), o($VO, [2, 67]), o($VO, [2, 69]), o($VO, [2, 70]), o($VO, [2, 71]), o($VO, [2, 72]), o($VO, [2, 73]), o($VO, [2, 74]), o($VO, [2, 75]), o($VO, [2, 76]), o($VO, [2, 77]), o($VO, [2, 78]), o($Vn, [2, 57], { 76: $VM }), o($Vn, [2, 58], { 76: $VA }), { 5: $VP, 28: 105, 31: $VQ, 34: $VR, 36: $VS, 38: $VT, 40: $VU }, { 27: [1, 112], 76: $VA }, { 5: $VV, 40: $VW, 56: 113, 57: $VX, 59: $VY }, { 27: [1, 118], 76: $VA }, { 33: 119, 89: $Vl, 90: $Vm }, { 33: 120, 89: $Vl, 90: $Vm }, { 75: $Vz, 78: 121, 79: 82, 80: $VB, 81: $VC, 82: $VD, 83: $VE, 84: $VF, 85: $VG, 86: $VH, 87: $VI, 88: $VJ }, o($VK, [2, 61]), o($VK, [2, 63]), o($VO, [2, 68]), o($Vn, [2, 21]), { 32: [1, 122] }, { 32: [1, 123] }, { 32: [1, 124] }, { 32: [1, 125] }, { 5: $VP, 28: 126, 31: $VQ, 34: $VR, 36: $VS, 38: $VT, 40: $VU }, o($Vn, [2, 28]), { 5: [1, 127] }, o($Vn, [2, 42]), { 32: [1, 128] }, { 32: [1, 129] }, { 5: $VV, 40: $VW, 56: 130, 57: $VX, 59: $VY }, o($Vn, [2, 47]), { 5: [1, 131] }, o($Vn, [2, 48]), o($Vn, [2, 49]), o($VN, [2, 66], { 79: 104, 75: $Vz, 80: $VB, 81: $VC, 82: $VD, 83: $VE, 84: $VF, 85: $VG, 86: $VH, 87: $VI, 88: $VJ }), { 33: 132, 89: $Vl, 90: $Vm }, { 35: 133, 89: [1, 134], 90: [1, 135] }, { 37: 136, 47: [1, 137], 48: [1, 138], 49: [1, 139] }, { 39: 140, 50: [1, 141], 51: [1, 142], 52: [1, 143], 53: [1, 144] }, o($Vn, [2, 27]), { 5: $VP, 28: 145, 31: $VQ, 34: $VR, 36: $VS, 38: $VT, 40: $VU }, { 58: 146, 89: [1, 147], 90: [1, 148] }, { 60: 149, 89: [1, 150], 90: [1, 151] }, o($Vn, [2, 46]), { 5: $VV, 40: $VW, 56: 152, 57: $VX, 59: $VY }, { 5: [1, 153] }, { 5: [1, 154] }, { 5: [2, 83] }, { 5: [2, 84] }, { 5: [1, 155] }, { 5: [2, 35] }, { 5: [2, 36] }, { 5: [2, 37] }, { 5: [1, 156] }, { 5: [2, 38] }, { 5: [2, 39] }, { 5: [2, 40] }, { 5: [2, 41] }, o($Vn, [2, 22]), { 5: [1, 157] }, { 5: [2, 87] }, { 5: [2, 88] }, { 5: [1, 158] }, { 5: [2, 89] }, { 5: [2, 90] }, o($Vn, [2, 43]), { 5: $VP, 28: 159, 31: $VQ, 34: $VR, 36: $VS, 38: $VT, 40: $VU }, { 5: $VP, 28: 160, 31: $VQ, 34: $VR, 36: $VS, 38: $VT, 40: $VU }, { 5: $VP, 28: 161, 31: $VQ, 34: $VR, 36: $VS, 38: $VT, 40: $VU }, { 5: $VP, 28: 162, 31: $VQ, 34: $VR, 36: $VS, 38: $VT, 40: $VU }, { 5: $VV, 40: $VW, 56: 163, 57: $VX, 59: $VY }, { 5: $VV, 40: $VW, 56: 164, 57: $VX, 59: $VY }, o($Vn, [2, 23]), o($Vn, [2, 24]), o($Vn, [2, 25]), o($Vn, [2, 26]), o($Vn, [2, 44]), o($Vn, [2, 45])],
186
+ defaultActions: { 8: [2, 2], 12: [2, 1], 41: [2, 3], 42: [2, 8], 43: [2, 9], 44: [2, 10], 45: [2, 11], 46: [2, 12], 47: [2, 13], 48: [2, 14], 49: [2, 15], 50: [2, 16], 134: [2, 83], 135: [2, 84], 137: [2, 35], 138: [2, 36], 139: [2, 37], 141: [2, 38], 142: [2, 39], 143: [2, 40], 144: [2, 41], 147: [2, 87], 148: [2, 88], 150: [2, 89], 151: [2, 90] },
187
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
188
+ if (hash.recoverable) {
189
+ this.trace(str);
190
+ } else {
191
+ var error = new Error(str);
192
+ error.hash = hash;
193
+ throw error;
194
+ }
195
+ }, "parseError"),
196
+ parse: /* @__PURE__ */ __name(function parse(input) {
197
+ var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
198
+ var args = lstack.slice.call(arguments, 1);
199
+ var lexer2 = Object.create(this.lexer);
200
+ var sharedState = { yy: {} };
201
+ for (var k in this.yy) {
202
+ if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
203
+ sharedState.yy[k] = this.yy[k];
204
+ }
205
+ }
206
+ lexer2.setInput(input, sharedState.yy);
207
+ sharedState.yy.lexer = lexer2;
208
+ sharedState.yy.parser = this;
209
+ if (typeof lexer2.yylloc == "undefined") {
210
+ lexer2.yylloc = {};
211
+ }
212
+ var yyloc = lexer2.yylloc;
213
+ lstack.push(yyloc);
214
+ var ranges = lexer2.options && lexer2.options.ranges;
215
+ if (typeof sharedState.yy.parseError === "function") {
216
+ this.parseError = sharedState.yy.parseError;
217
+ } else {
218
+ this.parseError = Object.getPrototypeOf(this).parseError;
219
+ }
220
+ function popStack(n) {
221
+ stack.length = stack.length - 2 * n;
222
+ vstack.length = vstack.length - n;
223
+ lstack.length = lstack.length - n;
224
+ }
225
+ __name(popStack, "popStack");
226
+ function lex() {
227
+ var token;
228
+ token = tstack.pop() || lexer2.lex() || EOF;
229
+ if (typeof token !== "number") {
230
+ if (token instanceof Array) {
231
+ tstack = token;
232
+ token = tstack.pop();
233
+ }
234
+ token = self.symbols_[token] || token;
235
+ }
236
+ return token;
237
+ }
238
+ __name(lex, "lex");
239
+ var symbol, state, action, r, yyval = {}, p, len, newState, expected;
240
+ while (true) {
241
+ state = stack[stack.length - 1];
242
+ if (this.defaultActions[state]) {
243
+ action = this.defaultActions[state];
244
+ } else {
245
+ if (symbol === null || typeof symbol == "undefined") {
246
+ symbol = lex();
247
+ }
248
+ action = table[state] && table[state][symbol];
249
+ }
250
+ if (typeof action === "undefined" || !action.length || !action[0]) {
251
+ var errStr = "";
252
+ expected = [];
253
+ for (p in table[state]) {
254
+ if (this.terminals_[p] && p > TERROR) {
255
+ expected.push("'" + this.terminals_[p] + "'");
256
+ }
257
+ }
258
+ if (lexer2.showPosition) {
259
+ errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
260
+ } else {
261
+ errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
262
+ }
263
+ this.parseError(errStr, {
264
+ text: lexer2.match,
265
+ token: this.terminals_[symbol] || symbol,
266
+ line: lexer2.yylineno,
267
+ loc: yyloc,
268
+ expected
269
+ });
270
+ }
271
+ if (action[0] instanceof Array && action.length > 1) {
272
+ throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
273
+ }
274
+ switch (action[0]) {
275
+ case 1:
276
+ stack.push(symbol);
277
+ vstack.push(lexer2.yytext);
278
+ lstack.push(lexer2.yylloc);
279
+ stack.push(action[1]);
280
+ symbol = null;
281
+ {
282
+ yyleng = lexer2.yyleng;
283
+ yytext = lexer2.yytext;
284
+ yylineno = lexer2.yylineno;
285
+ yyloc = lexer2.yylloc;
286
+ }
287
+ break;
288
+ case 2:
289
+ len = this.productions_[action[1]][1];
290
+ yyval.$ = vstack[vstack.length - len];
291
+ yyval._$ = {
292
+ first_line: lstack[lstack.length - (len || 1)].first_line,
293
+ last_line: lstack[lstack.length - 1].last_line,
294
+ first_column: lstack[lstack.length - (len || 1)].first_column,
295
+ last_column: lstack[lstack.length - 1].last_column
296
+ };
297
+ if (ranges) {
298
+ yyval._$.range = [
299
+ lstack[lstack.length - (len || 1)].range[0],
300
+ lstack[lstack.length - 1].range[1]
301
+ ];
302
+ }
303
+ r = this.performAction.apply(yyval, [
304
+ yytext,
305
+ yyleng,
306
+ yylineno,
307
+ sharedState.yy,
308
+ action[1],
309
+ vstack,
310
+ lstack
311
+ ].concat(args));
312
+ if (typeof r !== "undefined") {
313
+ return r;
314
+ }
315
+ if (len) {
316
+ stack = stack.slice(0, -1 * len * 2);
317
+ vstack = vstack.slice(0, -1 * len);
318
+ lstack = lstack.slice(0, -1 * len);
319
+ }
320
+ stack.push(this.productions_[action[1]][0]);
321
+ vstack.push(yyval.$);
322
+ lstack.push(yyval._$);
323
+ newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
324
+ stack.push(newState);
325
+ break;
326
+ case 3:
327
+ return true;
328
+ }
329
+ }
330
+ return true;
331
+ }, "parse")
332
+ };
333
+ var lexer = /* @__PURE__ */ function() {
334
+ var lexer2 = {
335
+ EOF: 1,
336
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
337
+ if (this.yy.parser) {
338
+ this.yy.parser.parseError(str, hash);
339
+ } else {
340
+ throw new Error(str);
341
+ }
342
+ }, "parseError"),
343
+ // resets the lexer, sets new input
344
+ setInput: /* @__PURE__ */ __name(function(input, yy) {
345
+ this.yy = yy || this.yy || {};
346
+ this._input = input;
347
+ this._more = this._backtrack = this.done = false;
348
+ this.yylineno = this.yyleng = 0;
349
+ this.yytext = this.matched = this.match = "";
350
+ this.conditionStack = ["INITIAL"];
351
+ this.yylloc = {
352
+ first_line: 1,
353
+ first_column: 0,
354
+ last_line: 1,
355
+ last_column: 0
356
+ };
357
+ if (this.options.ranges) {
358
+ this.yylloc.range = [0, 0];
359
+ }
360
+ this.offset = 0;
361
+ return this;
362
+ }, "setInput"),
363
+ // consumes and returns one char from the input
364
+ input: /* @__PURE__ */ __name(function() {
365
+ var ch = this._input[0];
366
+ this.yytext += ch;
367
+ this.yyleng++;
368
+ this.offset++;
369
+ this.match += ch;
370
+ this.matched += ch;
371
+ var lines = ch.match(/(?:\r\n?|\n).*/g);
372
+ if (lines) {
373
+ this.yylineno++;
374
+ this.yylloc.last_line++;
375
+ } else {
376
+ this.yylloc.last_column++;
377
+ }
378
+ if (this.options.ranges) {
379
+ this.yylloc.range[1]++;
380
+ }
381
+ this._input = this._input.slice(1);
382
+ return ch;
383
+ }, "input"),
384
+ // unshifts one char (or a string) into the input
385
+ unput: /* @__PURE__ */ __name(function(ch) {
386
+ var len = ch.length;
387
+ var lines = ch.split(/(?:\r\n?|\n)/g);
388
+ this._input = ch + this._input;
389
+ this.yytext = this.yytext.substr(0, this.yytext.length - len);
390
+ this.offset -= len;
391
+ var oldLines = this.match.split(/(?:\r\n?|\n)/g);
392
+ this.match = this.match.substr(0, this.match.length - 1);
393
+ this.matched = this.matched.substr(0, this.matched.length - 1);
394
+ if (lines.length - 1) {
395
+ this.yylineno -= lines.length - 1;
396
+ }
397
+ var r = this.yylloc.range;
398
+ this.yylloc = {
399
+ first_line: this.yylloc.first_line,
400
+ last_line: this.yylineno + 1,
401
+ first_column: this.yylloc.first_column,
402
+ last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len
403
+ };
404
+ if (this.options.ranges) {
405
+ this.yylloc.range = [r[0], r[0] + this.yyleng - len];
406
+ }
407
+ this.yyleng = this.yytext.length;
408
+ return this;
409
+ }, "unput"),
410
+ // When called from action, caches matched text and appends it on next action
411
+ more: /* @__PURE__ */ __name(function() {
412
+ this._more = true;
413
+ return this;
414
+ }, "more"),
415
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
416
+ reject: /* @__PURE__ */ __name(function() {
417
+ if (this.options.backtrack_lexer) {
418
+ this._backtrack = true;
419
+ } else {
420
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
421
+ text: "",
422
+ token: null,
423
+ line: this.yylineno
424
+ });
425
+ }
426
+ return this;
427
+ }, "reject"),
428
+ // retain first n characters of the match
429
+ less: /* @__PURE__ */ __name(function(n) {
430
+ this.unput(this.match.slice(n));
431
+ }, "less"),
432
+ // displays already matched input, i.e. for error messages
433
+ pastInput: /* @__PURE__ */ __name(function() {
434
+ var past = this.matched.substr(0, this.matched.length - this.match.length);
435
+ return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
436
+ }, "pastInput"),
437
+ // displays upcoming input, i.e. for error messages
438
+ upcomingInput: /* @__PURE__ */ __name(function() {
439
+ var next = this.match;
440
+ if (next.length < 20) {
441
+ next += this._input.substr(0, 20 - next.length);
442
+ }
443
+ return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
444
+ }, "upcomingInput"),
445
+ // displays the character position where the lexing error occurred, i.e. for error messages
446
+ showPosition: /* @__PURE__ */ __name(function() {
447
+ var pre = this.pastInput();
448
+ var c = new Array(pre.length + 1).join("-");
449
+ return pre + this.upcomingInput() + "\n" + c + "^";
450
+ }, "showPosition"),
451
+ // test the lexed token: return FALSE when not a match, otherwise return token
452
+ test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
453
+ var token, lines, backup;
454
+ if (this.options.backtrack_lexer) {
455
+ backup = {
456
+ yylineno: this.yylineno,
457
+ yylloc: {
458
+ first_line: this.yylloc.first_line,
459
+ last_line: this.last_line,
460
+ first_column: this.yylloc.first_column,
461
+ last_column: this.yylloc.last_column
462
+ },
463
+ yytext: this.yytext,
464
+ match: this.match,
465
+ matches: this.matches,
466
+ matched: this.matched,
467
+ yyleng: this.yyleng,
468
+ offset: this.offset,
469
+ _more: this._more,
470
+ _input: this._input,
471
+ yy: this.yy,
472
+ conditionStack: this.conditionStack.slice(0),
473
+ done: this.done
474
+ };
475
+ if (this.options.ranges) {
476
+ backup.yylloc.range = this.yylloc.range.slice(0);
477
+ }
478
+ }
479
+ lines = match[0].match(/(?:\r\n?|\n).*/g);
480
+ if (lines) {
481
+ this.yylineno += lines.length;
482
+ }
483
+ this.yylloc = {
484
+ first_line: this.yylloc.last_line,
485
+ last_line: this.yylineno + 1,
486
+ first_column: this.yylloc.last_column,
487
+ last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
488
+ };
489
+ this.yytext += match[0];
490
+ this.match += match[0];
491
+ this.matches = match;
492
+ this.yyleng = this.yytext.length;
493
+ if (this.options.ranges) {
494
+ this.yylloc.range = [this.offset, this.offset += this.yyleng];
495
+ }
496
+ this._more = false;
497
+ this._backtrack = false;
498
+ this._input = this._input.slice(match[0].length);
499
+ this.matched += match[0];
500
+ token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
501
+ if (this.done && this._input) {
502
+ this.done = false;
503
+ }
504
+ if (token) {
505
+ return token;
506
+ } else if (this._backtrack) {
507
+ for (var k in backup) {
508
+ this[k] = backup[k];
509
+ }
510
+ return false;
511
+ }
512
+ return false;
513
+ }, "test_match"),
514
+ // return next match in input
515
+ next: /* @__PURE__ */ __name(function() {
516
+ if (this.done) {
517
+ return this.EOF;
518
+ }
519
+ if (!this._input) {
520
+ this.done = true;
521
+ }
522
+ var token, match, tempMatch, index;
523
+ if (!this._more) {
524
+ this.yytext = "";
525
+ this.match = "";
526
+ }
527
+ var rules = this._currentRules();
528
+ for (var i = 0; i < rules.length; i++) {
529
+ tempMatch = this._input.match(this.rules[rules[i]]);
530
+ if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
531
+ match = tempMatch;
532
+ index = i;
533
+ if (this.options.backtrack_lexer) {
534
+ token = this.test_match(tempMatch, rules[i]);
535
+ if (token !== false) {
536
+ return token;
537
+ } else if (this._backtrack) {
538
+ match = false;
539
+ continue;
540
+ } else {
541
+ return false;
542
+ }
543
+ } else if (!this.options.flex) {
544
+ break;
545
+ }
546
+ }
547
+ }
548
+ if (match) {
549
+ token = this.test_match(match, rules[index]);
550
+ if (token !== false) {
551
+ return token;
552
+ }
553
+ return false;
554
+ }
555
+ if (this._input === "") {
556
+ return this.EOF;
557
+ } else {
558
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
559
+ text: "",
560
+ token: null,
561
+ line: this.yylineno
562
+ });
563
+ }
564
+ }, "next"),
565
+ // return next match that has a token
566
+ lex: /* @__PURE__ */ __name(function lex() {
567
+ var r = this.next();
568
+ if (r) {
569
+ return r;
570
+ } else {
571
+ return this.lex();
572
+ }
573
+ }, "lex"),
574
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
575
+ begin: /* @__PURE__ */ __name(function begin(condition) {
576
+ this.conditionStack.push(condition);
577
+ }, "begin"),
578
+ // pop the previously active lexer condition state off the condition stack
579
+ popState: /* @__PURE__ */ __name(function popState() {
580
+ var n = this.conditionStack.length - 1;
581
+ if (n > 0) {
582
+ return this.conditionStack.pop();
583
+ } else {
584
+ return this.conditionStack[0];
585
+ }
586
+ }, "popState"),
587
+ // produce the lexer rule set which is active for the currently active lexer condition state
588
+ _currentRules: /* @__PURE__ */ __name(function _currentRules() {
589
+ if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
590
+ return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
591
+ } else {
592
+ return this.conditions["INITIAL"].rules;
593
+ }
594
+ }, "_currentRules"),
595
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
596
+ topState: /* @__PURE__ */ __name(function topState(n) {
597
+ n = this.conditionStack.length - 1 - Math.abs(n || 0);
598
+ if (n >= 0) {
599
+ return this.conditionStack[n];
600
+ } else {
601
+ return "INITIAL";
602
+ }
603
+ }, "topState"),
604
+ // alias for begin(condition)
605
+ pushState: /* @__PURE__ */ __name(function pushState(condition) {
606
+ this.begin(condition);
607
+ }, "pushState"),
608
+ // return the number of states currently on the stack
609
+ stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
610
+ return this.conditionStack.length;
611
+ }, "stateStackSize"),
612
+ options: { "case-insensitive": true },
613
+ performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
614
+ switch ($avoiding_name_collisions) {
615
+ case 0:
616
+ return "title";
617
+ case 1:
618
+ this.begin("acc_title");
619
+ return 9;
620
+ case 2:
621
+ this.popState();
622
+ return "acc_title_value";
623
+ case 3:
624
+ this.begin("acc_descr");
625
+ return 11;
626
+ case 4:
627
+ this.popState();
628
+ return "acc_descr_value";
629
+ case 5:
630
+ this.begin("acc_descr_multiline");
631
+ break;
632
+ case 6:
633
+ this.popState();
634
+ break;
635
+ case 7:
636
+ return "acc_descr_multiline_value";
637
+ case 8:
638
+ return 21;
639
+ case 9:
640
+ return 22;
641
+ case 10:
642
+ return 23;
643
+ case 11:
644
+ return 24;
645
+ case 12:
646
+ return 5;
647
+ case 13:
648
+ break;
649
+ case 14:
650
+ break;
651
+ case 15:
652
+ break;
653
+ case 16:
654
+ return 8;
655
+ case 17:
656
+ return 6;
657
+ case 18:
658
+ return 27;
659
+ case 19:
660
+ return 40;
661
+ case 20:
662
+ return 29;
663
+ case 21:
664
+ return 32;
665
+ case 22:
666
+ return 31;
667
+ case 23:
668
+ return 34;
669
+ case 24:
670
+ return 36;
671
+ case 25:
672
+ return 38;
673
+ case 26:
674
+ return 41;
675
+ case 27:
676
+ return 42;
677
+ case 28:
678
+ return 43;
679
+ case 29:
680
+ return 44;
681
+ case 30:
682
+ return 45;
683
+ case 31:
684
+ return 46;
685
+ case 32:
686
+ return 47;
687
+ case 33:
688
+ return 48;
689
+ case 34:
690
+ return 49;
691
+ case 35:
692
+ return 50;
693
+ case 36:
694
+ return 51;
695
+ case 37:
696
+ return 52;
697
+ case 38:
698
+ return 53;
699
+ case 39:
700
+ return 54;
701
+ case 40:
702
+ return 65;
703
+ case 41:
704
+ return 66;
705
+ case 42:
706
+ return 67;
707
+ case 43:
708
+ return 68;
709
+ case 44:
710
+ return 69;
711
+ case 45:
712
+ return 70;
713
+ case 46:
714
+ return 71;
715
+ case 47:
716
+ return 57;
717
+ case 48:
718
+ return 59;
719
+ case 49:
720
+ this.begin("style");
721
+ return 77;
722
+ case 50:
723
+ return 75;
724
+ case 51:
725
+ return 81;
726
+ case 52:
727
+ return 88;
728
+ case 53:
729
+ return "PERCENT";
730
+ case 54:
731
+ return 86;
732
+ case 55:
733
+ return 84;
734
+ case 56:
735
+ break;
736
+ case 57:
737
+ this.begin("string");
738
+ break;
739
+ case 58:
740
+ this.popState();
741
+ break;
742
+ case 59:
743
+ this.begin("style");
744
+ return 72;
745
+ case 60:
746
+ this.begin("style");
747
+ return 74;
748
+ case 61:
749
+ return 61;
750
+ case 62:
751
+ return 64;
752
+ case 63:
753
+ return 63;
754
+ case 64:
755
+ this.begin("string");
756
+ break;
757
+ case 65:
758
+ this.popState();
759
+ break;
760
+ case 66:
761
+ return "qString";
762
+ case 67:
763
+ yy_.yytext = yy_.yytext.trim();
764
+ return 89;
765
+ case 68:
766
+ return 75;
767
+ case 69:
768
+ return 80;
769
+ case 70:
770
+ return 76;
771
+ }
772
+ }, "anonymous"),
773
+ rules: [/^(?:title\s[^#\n;]+)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:.*direction\s+TB[^\n]*)/i, /^(?:.*direction\s+BT[^\n]*)/i, /^(?:.*direction\s+RL[^\n]*)/i, /^(?:.*direction\s+LR[^\n]*)/i, /^(?:(\r?\n)+)/i, /^(?:\s+)/i, /^(?:#[^\n]*)/i, /^(?:%[^\n]*)/i, /^(?:$)/i, /^(?:requirementDiagram\b)/i, /^(?:\{)/i, /^(?:\})/i, /^(?::{3})/i, /^(?::)/i, /^(?:id\b)/i, /^(?:text\b)/i, /^(?:risk\b)/i, /^(?:verifyMethod\b)/i, /^(?:requirement\b)/i, /^(?:functionalRequirement\b)/i, /^(?:interfaceRequirement\b)/i, /^(?:performanceRequirement\b)/i, /^(?:physicalRequirement\b)/i, /^(?:designConstraint\b)/i, /^(?:low\b)/i, /^(?:medium\b)/i, /^(?:high\b)/i, /^(?:analysis\b)/i, /^(?:demonstration\b)/i, /^(?:inspection\b)/i, /^(?:test\b)/i, /^(?:element\b)/i, /^(?:contains\b)/i, /^(?:copies\b)/i, /^(?:derives\b)/i, /^(?:satisfies\b)/i, /^(?:verifies\b)/i, /^(?:refines\b)/i, /^(?:traces\b)/i, /^(?:type\b)/i, /^(?:docref\b)/i, /^(?:style\b)/i, /^(?:\w+)/i, /^(?::)/i, /^(?:;)/i, /^(?:%)/i, /^(?:-)/i, /^(?:#)/i, /^(?: )/i, /^(?:["])/i, /^(?:\n)/i, /^(?:classDef\b)/i, /^(?:class\b)/i, /^(?:<-)/i, /^(?:->)/i, /^(?:-)/i, /^(?:["])/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:[\w][^:,\r\n\{\<\>\-\=]*)/i, /^(?:\w+)/i, /^(?:[0-9]+)/i, /^(?:,)/i],
774
+ conditions: { "acc_descr_multiline": { "rules": [6, 7, 68, 69, 70], "inclusive": false }, "acc_descr": { "rules": [4, 68, 69, 70], "inclusive": false }, "acc_title": { "rules": [2, 68, 69, 70], "inclusive": false }, "style": { "rules": [50, 51, 52, 53, 54, 55, 56, 57, 58, 68, 69, 70], "inclusive": false }, "unqString": { "rules": [68, 69, 70], "inclusive": false }, "token": { "rules": [68, 69, 70], "inclusive": false }, "string": { "rules": [65, 66, 68, 69, 70], "inclusive": false }, "INITIAL": { "rules": [0, 1, 3, 5, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 59, 60, 61, 62, 63, 64, 67, 68, 69, 70], "inclusive": true } }
775
+ };
776
+ return lexer2;
777
+ }();
778
+ parser2.lexer = lexer;
779
+ function Parser() {
780
+ this.yy = {};
781
+ }
782
+ __name(Parser, "Parser");
783
+ Parser.prototype = parser2;
784
+ parser2.Parser = Parser;
785
+ return new Parser();
786
+ }();
787
+ parser.parser = parser;
788
+ var requirementDiagram_default = parser;
789
+ var RequirementDB = (_a = class {
790
+ constructor() {
791
+ this.relations = [];
792
+ this.latestRequirement = this.getInitialRequirement();
793
+ this.requirements = /* @__PURE__ */ new Map();
794
+ this.latestElement = this.getInitialElement();
795
+ this.elements = /* @__PURE__ */ new Map();
796
+ this.classes = /* @__PURE__ */ new Map();
797
+ this.direction = "TB";
798
+ this.RequirementType = {
799
+ REQUIREMENT: "Requirement",
800
+ FUNCTIONAL_REQUIREMENT: "Functional Requirement",
801
+ INTERFACE_REQUIREMENT: "Interface Requirement",
802
+ PERFORMANCE_REQUIREMENT: "Performance Requirement",
803
+ PHYSICAL_REQUIREMENT: "Physical Requirement",
804
+ DESIGN_CONSTRAINT: "Design Constraint"
805
+ };
806
+ this.RiskLevel = {
807
+ LOW_RISK: "Low",
808
+ MED_RISK: "Medium",
809
+ HIGH_RISK: "High"
810
+ };
811
+ this.VerifyType = {
812
+ VERIFY_ANALYSIS: "Analysis",
813
+ VERIFY_DEMONSTRATION: "Demonstration",
814
+ VERIFY_INSPECTION: "Inspection",
815
+ VERIFY_TEST: "Test"
816
+ };
817
+ this.Relationships = {
818
+ CONTAINS: "contains",
819
+ COPIES: "copies",
820
+ DERIVES: "derives",
821
+ SATISFIES: "satisfies",
822
+ VERIFIES: "verifies",
823
+ REFINES: "refines",
824
+ TRACES: "traces"
825
+ };
826
+ this.setAccTitle = setAccTitle;
827
+ this.getAccTitle = getAccTitle;
828
+ this.setAccDescription = setAccDescription;
829
+ this.getAccDescription = getAccDescription;
830
+ this.setDiagramTitle = setDiagramTitle;
831
+ this.getDiagramTitle = getDiagramTitle;
832
+ this.getConfig = /* @__PURE__ */ __name(() => getConfig2().requirement, "getConfig");
833
+ this.clear();
834
+ this.setDirection = this.setDirection.bind(this);
835
+ this.addRequirement = this.addRequirement.bind(this);
836
+ this.setNewReqId = this.setNewReqId.bind(this);
837
+ this.setNewReqRisk = this.setNewReqRisk.bind(this);
838
+ this.setNewReqText = this.setNewReqText.bind(this);
839
+ this.setNewReqVerifyMethod = this.setNewReqVerifyMethod.bind(this);
840
+ this.addElement = this.addElement.bind(this);
841
+ this.setNewElementType = this.setNewElementType.bind(this);
842
+ this.setNewElementDocRef = this.setNewElementDocRef.bind(this);
843
+ this.addRelationship = this.addRelationship.bind(this);
844
+ this.setCssStyle = this.setCssStyle.bind(this);
845
+ this.setClass = this.setClass.bind(this);
846
+ this.defineClass = this.defineClass.bind(this);
847
+ this.setAccTitle = this.setAccTitle.bind(this);
848
+ this.setAccDescription = this.setAccDescription.bind(this);
849
+ }
850
+ getDirection() {
851
+ return this.direction;
852
+ }
853
+ setDirection(dir) {
854
+ this.direction = dir;
855
+ }
856
+ resetLatestRequirement() {
857
+ this.latestRequirement = this.getInitialRequirement();
858
+ }
859
+ resetLatestElement() {
860
+ this.latestElement = this.getInitialElement();
861
+ }
862
+ getInitialRequirement() {
863
+ return {
864
+ requirementId: "",
865
+ text: "",
866
+ risk: "",
867
+ verifyMethod: "",
868
+ name: "",
869
+ type: "",
870
+ cssStyles: [],
871
+ classes: ["default"]
872
+ };
873
+ }
874
+ getInitialElement() {
875
+ return {
876
+ name: "",
877
+ type: "",
878
+ docRef: "",
879
+ cssStyles: [],
880
+ classes: ["default"]
881
+ };
882
+ }
883
+ addRequirement(name, type) {
884
+ if (!this.requirements.has(name)) {
885
+ this.requirements.set(name, {
886
+ name,
887
+ type,
888
+ requirementId: this.latestRequirement.requirementId,
889
+ text: this.latestRequirement.text,
890
+ risk: this.latestRequirement.risk,
891
+ verifyMethod: this.latestRequirement.verifyMethod,
892
+ cssStyles: [],
893
+ classes: ["default"]
894
+ });
895
+ }
896
+ this.resetLatestRequirement();
897
+ return this.requirements.get(name);
898
+ }
899
+ getRequirements() {
900
+ return this.requirements;
901
+ }
902
+ setNewReqId(id) {
903
+ if (this.latestRequirement !== void 0) {
904
+ this.latestRequirement.requirementId = id;
905
+ }
906
+ }
907
+ setNewReqText(text) {
908
+ if (this.latestRequirement !== void 0) {
909
+ this.latestRequirement.text = text;
910
+ }
911
+ }
912
+ setNewReqRisk(risk) {
913
+ if (this.latestRequirement !== void 0) {
914
+ this.latestRequirement.risk = risk;
915
+ }
916
+ }
917
+ setNewReqVerifyMethod(verifyMethod) {
918
+ if (this.latestRequirement !== void 0) {
919
+ this.latestRequirement.verifyMethod = verifyMethod;
920
+ }
921
+ }
922
+ addElement(name) {
923
+ if (!this.elements.has(name)) {
924
+ this.elements.set(name, {
925
+ name,
926
+ type: this.latestElement.type,
927
+ docRef: this.latestElement.docRef,
928
+ cssStyles: [],
929
+ classes: ["default"]
930
+ });
931
+ log.info("Added new element: ", name);
932
+ }
933
+ this.resetLatestElement();
934
+ return this.elements.get(name);
935
+ }
936
+ getElements() {
937
+ return this.elements;
938
+ }
939
+ setNewElementType(type) {
940
+ if (this.latestElement !== void 0) {
941
+ this.latestElement.type = type;
942
+ }
943
+ }
944
+ setNewElementDocRef(docRef) {
945
+ if (this.latestElement !== void 0) {
946
+ this.latestElement.docRef = docRef;
947
+ }
948
+ }
949
+ addRelationship(type, src, dst) {
950
+ this.relations.push({
951
+ type,
952
+ src,
953
+ dst
954
+ });
955
+ }
956
+ getRelationships() {
957
+ return this.relations;
958
+ }
959
+ clear() {
960
+ this.relations = [];
961
+ this.resetLatestRequirement();
962
+ this.requirements = /* @__PURE__ */ new Map();
963
+ this.resetLatestElement();
964
+ this.elements = /* @__PURE__ */ new Map();
965
+ this.classes = /* @__PURE__ */ new Map();
966
+ clear$2();
967
+ }
968
+ setCssStyle(ids, styles) {
969
+ for (const id of ids) {
970
+ const node = this.requirements.get(id) ?? this.elements.get(id);
971
+ if (!styles || !node) {
972
+ return;
973
+ }
974
+ for (const s of styles) {
975
+ if (s.includes(",")) {
976
+ node.cssStyles.push(...s.split(","));
977
+ } else {
978
+ node.cssStyles.push(s);
979
+ }
980
+ }
981
+ }
982
+ }
983
+ setClass(ids, classNames) {
984
+ var _a2;
985
+ for (const id of ids) {
986
+ const node = this.requirements.get(id) ?? this.elements.get(id);
987
+ if (node) {
988
+ for (const _class of classNames) {
989
+ node.classes.push(_class);
990
+ const styles = (_a2 = this.classes.get(_class)) == null ? void 0 : _a2.styles;
991
+ if (styles) {
992
+ node.cssStyles.push(...styles);
993
+ }
994
+ }
995
+ }
996
+ }
997
+ }
998
+ defineClass(ids, style) {
999
+ for (const id of ids) {
1000
+ let styleClass = this.classes.get(id);
1001
+ if (styleClass === void 0) {
1002
+ styleClass = { id, styles: [], textStyles: [] };
1003
+ this.classes.set(id, styleClass);
1004
+ }
1005
+ if (style) {
1006
+ style.forEach(function(s) {
1007
+ if (/color/.exec(s)) {
1008
+ const newStyle = s.replace("fill", "bgFill");
1009
+ styleClass.textStyles.push(newStyle);
1010
+ }
1011
+ styleClass.styles.push(s);
1012
+ });
1013
+ }
1014
+ this.requirements.forEach((value) => {
1015
+ if (value.classes.includes(id)) {
1016
+ value.cssStyles.push(...style.flatMap((s) => s.split(",")));
1017
+ }
1018
+ });
1019
+ this.elements.forEach((value) => {
1020
+ if (value.classes.includes(id)) {
1021
+ value.cssStyles.push(...style.flatMap((s) => s.split(",")));
1022
+ }
1023
+ });
1024
+ }
1025
+ }
1026
+ getClasses() {
1027
+ return this.classes;
1028
+ }
1029
+ getData() {
1030
+ var _a2, _b, _c, _d;
1031
+ const config = getConfig2();
1032
+ const nodes = [];
1033
+ const edges = [];
1034
+ for (const requirement of this.requirements.values()) {
1035
+ const node = requirement;
1036
+ node.id = requirement.name;
1037
+ node.cssStyles = requirement.cssStyles;
1038
+ node.cssClasses = requirement.classes.join(" ");
1039
+ node.shape = "requirementBox";
1040
+ node.look = config.look;
1041
+ nodes.push(node);
1042
+ }
1043
+ for (const element of this.elements.values()) {
1044
+ const node = element;
1045
+ node.shape = "requirementBox";
1046
+ node.look = config.look;
1047
+ node.id = element.name;
1048
+ node.cssStyles = element.cssStyles;
1049
+ node.cssClasses = element.classes.join(" ");
1050
+ nodes.push(node);
1051
+ }
1052
+ for (const relation of this.relations) {
1053
+ let counter = 0;
1054
+ const isContains = relation.type === this.Relationships.CONTAINS;
1055
+ const edge = {
1056
+ id: `${relation.src}-${relation.dst}-${counter}`,
1057
+ start: ((_a2 = this.requirements.get(relation.src)) == null ? void 0 : _a2.name) ?? ((_b = this.elements.get(relation.src)) == null ? void 0 : _b.name),
1058
+ end: ((_c = this.requirements.get(relation.dst)) == null ? void 0 : _c.name) ?? ((_d = this.elements.get(relation.dst)) == null ? void 0 : _d.name),
1059
+ label: `&lt;&lt;${relation.type}&gt;&gt;`,
1060
+ classes: "relationshipLine",
1061
+ style: ["fill:none", isContains ? "" : "stroke-dasharray: 10,7"],
1062
+ labelpos: "c",
1063
+ thickness: "normal",
1064
+ type: "normal",
1065
+ pattern: isContains ? "normal" : "dashed",
1066
+ arrowTypeStart: isContains ? "requirement_contains" : "",
1067
+ arrowTypeEnd: isContains ? "" : "requirement_arrow",
1068
+ look: config.look
1069
+ };
1070
+ edges.push(edge);
1071
+ counter++;
1072
+ }
1073
+ return { nodes, edges, other: {}, config, direction: this.getDirection() };
1074
+ }
1075
+ }, __name(_a, "RequirementDB"), _a);
1076
+ var getStyles = /* @__PURE__ */ __name((options) => `
1077
+
1078
+ marker {
1079
+ fill: ${options.relationColor};
1080
+ stroke: ${options.relationColor};
1081
+ }
1082
+
1083
+ marker.cross {
1084
+ stroke: ${options.lineColor};
1085
+ }
1086
+
1087
+ svg {
1088
+ font-family: ${options.fontFamily};
1089
+ font-size: ${options.fontSize};
1090
+ }
1091
+
1092
+ .reqBox {
1093
+ fill: ${options.requirementBackground};
1094
+ fill-opacity: 1.0;
1095
+ stroke: ${options.requirementBorderColor};
1096
+ stroke-width: ${options.requirementBorderSize};
1097
+ }
1098
+
1099
+ .reqTitle, .reqLabel{
1100
+ fill: ${options.requirementTextColor};
1101
+ }
1102
+ .reqLabelBox {
1103
+ fill: ${options.relationLabelBackground};
1104
+ fill-opacity: 1.0;
1105
+ }
1106
+
1107
+ .req-title-line {
1108
+ stroke: ${options.requirementBorderColor};
1109
+ stroke-width: ${options.requirementBorderSize};
1110
+ }
1111
+ .relationshipLine {
1112
+ stroke: ${options.relationColor};
1113
+ stroke-width: 1;
1114
+ }
1115
+ .relationshipLabel {
1116
+ fill: ${options.relationLabelColor};
1117
+ }
1118
+ .divider {
1119
+ stroke: ${options.nodeBorder};
1120
+ stroke-width: 1;
1121
+ }
1122
+ .label {
1123
+ font-family: ${options.fontFamily};
1124
+ color: ${options.nodeTextColor || options.textColor};
1125
+ }
1126
+ .label text,span {
1127
+ fill: ${options.nodeTextColor || options.textColor};
1128
+ color: ${options.nodeTextColor || options.textColor};
1129
+ }
1130
+ .labelBkg {
1131
+ background-color: ${options.edgeLabelBackground};
1132
+ }
1133
+
1134
+ `, "getStyles");
1135
+ var styles_default = getStyles;
1136
+ var requirementRenderer_exports = {};
1137
+ __export(requirementRenderer_exports, {
1138
+ draw: () => draw
1139
+ });
1140
+ var draw = /* @__PURE__ */ __name(async function(text, id, _version, diag) {
1141
+ log.info("REF0:");
1142
+ log.info("Drawing requirement diagram (unified)", id);
1143
+ const { securityLevel, state: conf, layout } = getConfig2();
1144
+ const data4Layout = diag.db.getData();
1145
+ const svg = getDiagramElement(id, securityLevel);
1146
+ data4Layout.type = diag.type;
1147
+ data4Layout.layoutAlgorithm = getRegisteredLayoutAlgorithm(layout);
1148
+ data4Layout.nodeSpacing = (conf == null ? void 0 : conf.nodeSpacing) ?? 50;
1149
+ data4Layout.rankSpacing = (conf == null ? void 0 : conf.rankSpacing) ?? 50;
1150
+ data4Layout.markers = ["requirement_contains", "requirement_arrow"];
1151
+ data4Layout.diagramId = id;
1152
+ await render$1(data4Layout, svg);
1153
+ const padding = 8;
1154
+ utils_default.insertTitle(
1155
+ svg,
1156
+ "requirementDiagramTitleText",
1157
+ (conf == null ? void 0 : conf.titleTopMargin) ?? 25,
1158
+ diag.db.getDiagramTitle()
1159
+ );
1160
+ setupViewPortForSVG(svg, padding, "requirementDiagram", (conf == null ? void 0 : conf.useMaxWidth) ?? true);
1161
+ }, "draw");
1162
+ var diagram = {
1163
+ parser: requirementDiagram_default,
1164
+ get db() {
1165
+ return new RequirementDB();
1166
+ },
1167
+ renderer: requirementRenderer_exports,
1168
+ styles: styles_default
1169
+ };
1170
+
1171
+ export { diagram };