@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,1167 @@
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, d as select, 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, y as getEdgeId, B as rgba$1 } from './mermaid.core-CAqkCmS1.mjs';
4
+ import { c as channel } from './channel-BBZy6zOT.mjs';
5
+ import './index3.mjs';
6
+ import 'vue';
7
+ import '@vunk/plus/components/bubble-templates';
8
+ import '@vunk/core/components/spread-to';
9
+ import 'element-plus';
10
+ import '@vunk/shared/function';
11
+ import './_plugin-vue_export-helper.mjs';
12
+ import '@vunk/plus/components/agent-chat-provider';
13
+
14
+ var _a;
15
+ var parser = function() {
16
+ var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
17
+ for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
18
+ return o2;
19
+ }, "o"), $V0 = [6, 8, 10, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 43, 44, 50], $V1 = [1, 10], $V2 = [1, 11], $V3 = [1, 12], $V4 = [1, 13], $V5 = [1, 20], $V6 = [1, 21], $V7 = [1, 22], $V8 = [1, 23], $V9 = [1, 24], $Va = [1, 19], $Vb = [1, 25], $Vc = [1, 26], $Vd = [1, 18], $Ve = [1, 33], $Vf = [1, 34], $Vg = [1, 35], $Vh = [1, 36], $Vi = [1, 37], $Vj = [6, 8, 10, 13, 15, 17, 20, 21, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 43, 44, 50, 63, 64, 65, 66, 67], $Vk = [1, 42], $Vl = [1, 43], $Vm = [1, 52], $Vn = [40, 50, 68, 69], $Vo = [1, 63], $Vp = [1, 61], $Vq = [1, 58], $Vr = [1, 62], $Vs = [1, 64], $Vt = [6, 8, 10, 13, 17, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 41, 42, 43, 44, 48, 49, 50, 63, 64, 65, 66, 67], $Vu = [63, 64, 65, 66, 67], $Vv = [1, 81], $Vw = [1, 80], $Vx = [1, 78], $Vy = [1, 79], $Vz = [6, 10, 42, 47], $VA = [6, 10, 13, 41, 42, 47, 48, 49], $VB = [1, 89], $VC = [1, 88], $VD = [1, 87], $VE = [19, 56], $VF = [1, 98], $VG = [1, 97], $VH = [19, 56, 58, 60];
20
+ var parser2 = {
21
+ trace: /* @__PURE__ */ __name(function trace() {
22
+ }, "trace"),
23
+ yy: {},
24
+ symbols_: { "error": 2, "start": 3, "ER_DIAGRAM": 4, "document": 5, "EOF": 6, "line": 7, "SPACE": 8, "statement": 9, "NEWLINE": 10, "entityName": 11, "relSpec": 12, "COLON": 13, "role": 14, "STYLE_SEPARATOR": 15, "idList": 16, "BLOCK_START": 17, "attributes": 18, "BLOCK_STOP": 19, "SQS": 20, "SQE": 21, "title": 22, "title_value": 23, "acc_title": 24, "acc_title_value": 25, "acc_descr": 26, "acc_descr_value": 27, "acc_descr_multiline_value": 28, "direction": 29, "classDefStatement": 30, "classStatement": 31, "styleStatement": 32, "direction_tb": 33, "direction_bt": 34, "direction_rl": 35, "direction_lr": 36, "CLASSDEF": 37, "stylesOpt": 38, "separator": 39, "UNICODE_TEXT": 40, "STYLE_TEXT": 41, "COMMA": 42, "CLASS": 43, "STYLE": 44, "style": 45, "styleComponent": 46, "SEMI": 47, "NUM": 48, "BRKT": 49, "ENTITY_NAME": 50, "attribute": 51, "attributeType": 52, "attributeName": 53, "attributeKeyTypeList": 54, "attributeComment": 55, "ATTRIBUTE_WORD": 56, "attributeKeyType": 57, ",": 58, "ATTRIBUTE_KEY": 59, "COMMENT": 60, "cardinality": 61, "relType": 62, "ZERO_OR_ONE": 63, "ZERO_OR_MORE": 64, "ONE_OR_MORE": 65, "ONLY_ONE": 66, "MD_PARENT": 67, "NON_IDENTIFYING": 68, "IDENTIFYING": 69, "WORD": 70, "$accept": 0, "$end": 1 },
25
+ terminals_: { 2: "error", 4: "ER_DIAGRAM", 6: "EOF", 8: "SPACE", 10: "NEWLINE", 13: "COLON", 15: "STYLE_SEPARATOR", 17: "BLOCK_START", 19: "BLOCK_STOP", 20: "SQS", 21: "SQE", 22: "title", 23: "title_value", 24: "acc_title", 25: "acc_title_value", 26: "acc_descr", 27: "acc_descr_value", 28: "acc_descr_multiline_value", 33: "direction_tb", 34: "direction_bt", 35: "direction_rl", 36: "direction_lr", 37: "CLASSDEF", 40: "UNICODE_TEXT", 41: "STYLE_TEXT", 42: "COMMA", 43: "CLASS", 44: "STYLE", 47: "SEMI", 48: "NUM", 49: "BRKT", 50: "ENTITY_NAME", 56: "ATTRIBUTE_WORD", 58: ",", 59: "ATTRIBUTE_KEY", 60: "COMMENT", 63: "ZERO_OR_ONE", 64: "ZERO_OR_MORE", 65: "ONE_OR_MORE", 66: "ONLY_ONE", 67: "MD_PARENT", 68: "NON_IDENTIFYING", 69: "IDENTIFYING", 70: "WORD" },
26
+ productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [9, 5], [9, 9], [9, 7], [9, 7], [9, 4], [9, 6], [9, 3], [9, 5], [9, 1], [9, 3], [9, 7], [9, 9], [9, 6], [9, 8], [9, 4], [9, 6], [9, 2], [9, 2], [9, 2], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [29, 1], [29, 1], [29, 1], [29, 1], [30, 4], [16, 1], [16, 1], [16, 3], [16, 3], [31, 3], [32, 4], [38, 1], [38, 3], [45, 1], [45, 2], [39, 1], [39, 1], [39, 1], [46, 1], [46, 1], [46, 1], [46, 1], [11, 1], [11, 1], [18, 1], [18, 2], [51, 2], [51, 3], [51, 3], [51, 4], [52, 1], [53, 1], [54, 1], [54, 3], [57, 1], [55, 1], [12, 3], [61, 1], [61, 1], [61, 1], [61, 1], [61, 1], [62, 1], [62, 1], [14, 1], [14, 1], [14, 1]],
27
+ performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
28
+ var $0 = $$.length - 1;
29
+ switch (yystate) {
30
+ case 1:
31
+ break;
32
+ case 2:
33
+ this.$ = [];
34
+ break;
35
+ case 3:
36
+ $$[$0 - 1].push($$[$0]);
37
+ this.$ = $$[$0 - 1];
38
+ break;
39
+ case 4:
40
+ case 5:
41
+ this.$ = $$[$0];
42
+ break;
43
+ case 6:
44
+ case 7:
45
+ this.$ = [];
46
+ break;
47
+ case 8:
48
+ yy.addEntity($$[$0 - 4]);
49
+ yy.addEntity($$[$0 - 2]);
50
+ yy.addRelationship($$[$0 - 4], $$[$0], $$[$0 - 2], $$[$0 - 3]);
51
+ break;
52
+ case 9:
53
+ yy.addEntity($$[$0 - 8]);
54
+ yy.addEntity($$[$0 - 4]);
55
+ yy.addRelationship($$[$0 - 8], $$[$0], $$[$0 - 4], $$[$0 - 5]);
56
+ yy.setClass([$$[$0 - 8]], $$[$0 - 6]);
57
+ yy.setClass([$$[$0 - 4]], $$[$0 - 2]);
58
+ break;
59
+ case 10:
60
+ yy.addEntity($$[$0 - 6]);
61
+ yy.addEntity($$[$0 - 2]);
62
+ yy.addRelationship($$[$0 - 6], $$[$0], $$[$0 - 2], $$[$0 - 3]);
63
+ yy.setClass([$$[$0 - 6]], $$[$0 - 4]);
64
+ break;
65
+ case 11:
66
+ yy.addEntity($$[$0 - 6]);
67
+ yy.addEntity($$[$0 - 4]);
68
+ yy.addRelationship($$[$0 - 6], $$[$0], $$[$0 - 4], $$[$0 - 5]);
69
+ yy.setClass([$$[$0 - 4]], $$[$0 - 2]);
70
+ break;
71
+ case 12:
72
+ yy.addEntity($$[$0 - 3]);
73
+ yy.addAttributes($$[$0 - 3], $$[$0 - 1]);
74
+ break;
75
+ case 13:
76
+ yy.addEntity($$[$0 - 5]);
77
+ yy.addAttributes($$[$0 - 5], $$[$0 - 1]);
78
+ yy.setClass([$$[$0 - 5]], $$[$0 - 3]);
79
+ break;
80
+ case 14:
81
+ yy.addEntity($$[$0 - 2]);
82
+ break;
83
+ case 15:
84
+ yy.addEntity($$[$0 - 4]);
85
+ yy.setClass([$$[$0 - 4]], $$[$0 - 2]);
86
+ break;
87
+ case 16:
88
+ yy.addEntity($$[$0]);
89
+ break;
90
+ case 17:
91
+ yy.addEntity($$[$0 - 2]);
92
+ yy.setClass([$$[$0 - 2]], $$[$0]);
93
+ break;
94
+ case 18:
95
+ yy.addEntity($$[$0 - 6], $$[$0 - 4]);
96
+ yy.addAttributes($$[$0 - 6], $$[$0 - 1]);
97
+ break;
98
+ case 19:
99
+ yy.addEntity($$[$0 - 8], $$[$0 - 6]);
100
+ yy.addAttributes($$[$0 - 8], $$[$0 - 1]);
101
+ yy.setClass([$$[$0 - 8]], $$[$0 - 3]);
102
+ break;
103
+ case 20:
104
+ yy.addEntity($$[$0 - 5], $$[$0 - 3]);
105
+ break;
106
+ case 21:
107
+ yy.addEntity($$[$0 - 7], $$[$0 - 5]);
108
+ yy.setClass([$$[$0 - 7]], $$[$0 - 2]);
109
+ break;
110
+ case 22:
111
+ yy.addEntity($$[$0 - 3], $$[$0 - 1]);
112
+ break;
113
+ case 23:
114
+ yy.addEntity($$[$0 - 5], $$[$0 - 3]);
115
+ yy.setClass([$$[$0 - 5]], $$[$0]);
116
+ break;
117
+ case 24:
118
+ case 25:
119
+ this.$ = $$[$0].trim();
120
+ yy.setAccTitle(this.$);
121
+ break;
122
+ case 26:
123
+ case 27:
124
+ this.$ = $$[$0].trim();
125
+ yy.setAccDescription(this.$);
126
+ break;
127
+ case 32:
128
+ yy.setDirection("TB");
129
+ break;
130
+ case 33:
131
+ yy.setDirection("BT");
132
+ break;
133
+ case 34:
134
+ yy.setDirection("RL");
135
+ break;
136
+ case 35:
137
+ yy.setDirection("LR");
138
+ break;
139
+ case 36:
140
+ this.$ = $$[$0 - 3];
141
+ yy.addClass($$[$0 - 2], $$[$0 - 1]);
142
+ break;
143
+ case 37:
144
+ case 38:
145
+ case 56:
146
+ case 64:
147
+ this.$ = [$$[$0]];
148
+ break;
149
+ case 39:
150
+ case 40:
151
+ this.$ = $$[$0 - 2].concat([$$[$0]]);
152
+ break;
153
+ case 41:
154
+ this.$ = $$[$0 - 2];
155
+ yy.setClass($$[$0 - 1], $$[$0]);
156
+ break;
157
+ case 42:
158
+ this.$ = $$[$0 - 3];
159
+ yy.addCssStyles($$[$0 - 2], $$[$0 - 1]);
160
+ break;
161
+ case 43:
162
+ this.$ = [$$[$0]];
163
+ break;
164
+ case 44:
165
+ $$[$0 - 2].push($$[$0]);
166
+ this.$ = $$[$0 - 2];
167
+ break;
168
+ case 46:
169
+ this.$ = $$[$0 - 1] + $$[$0];
170
+ break;
171
+ case 54:
172
+ case 76:
173
+ case 77:
174
+ this.$ = $$[$0].replace(/"/g, "");
175
+ break;
176
+ case 55:
177
+ case 78:
178
+ this.$ = $$[$0];
179
+ break;
180
+ case 57:
181
+ $$[$0].push($$[$0 - 1]);
182
+ this.$ = $$[$0];
183
+ break;
184
+ case 58:
185
+ this.$ = { type: $$[$0 - 1], name: $$[$0] };
186
+ break;
187
+ case 59:
188
+ this.$ = { type: $$[$0 - 2], name: $$[$0 - 1], keys: $$[$0] };
189
+ break;
190
+ case 60:
191
+ this.$ = { type: $$[$0 - 2], name: $$[$0 - 1], comment: $$[$0] };
192
+ break;
193
+ case 61:
194
+ this.$ = { type: $$[$0 - 3], name: $$[$0 - 2], keys: $$[$0 - 1], comment: $$[$0] };
195
+ break;
196
+ case 62:
197
+ case 63:
198
+ case 66:
199
+ this.$ = $$[$0];
200
+ break;
201
+ case 65:
202
+ $$[$0 - 2].push($$[$0]);
203
+ this.$ = $$[$0 - 2];
204
+ break;
205
+ case 67:
206
+ this.$ = $$[$0].replace(/"/g, "");
207
+ break;
208
+ case 68:
209
+ this.$ = { cardA: $$[$0], relType: $$[$0 - 1], cardB: $$[$0 - 2] };
210
+ break;
211
+ case 69:
212
+ this.$ = yy.Cardinality.ZERO_OR_ONE;
213
+ break;
214
+ case 70:
215
+ this.$ = yy.Cardinality.ZERO_OR_MORE;
216
+ break;
217
+ case 71:
218
+ this.$ = yy.Cardinality.ONE_OR_MORE;
219
+ break;
220
+ case 72:
221
+ this.$ = yy.Cardinality.ONLY_ONE;
222
+ break;
223
+ case 73:
224
+ this.$ = yy.Cardinality.MD_PARENT;
225
+ break;
226
+ case 74:
227
+ this.$ = yy.Identification.NON_IDENTIFYING;
228
+ break;
229
+ case 75:
230
+ this.$ = yy.Identification.IDENTIFYING;
231
+ break;
232
+ }
233
+ }, "anonymous"),
234
+ table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, o($V0, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 9, 22: $V1, 24: $V2, 26: $V3, 28: $V4, 29: 14, 30: 15, 31: 16, 32: 17, 33: $V5, 34: $V6, 35: $V7, 36: $V8, 37: $V9, 40: $Va, 43: $Vb, 44: $Vc, 50: $Vd }, o($V0, [2, 7], { 1: [2, 1] }), o($V0, [2, 3]), { 9: 27, 11: 9, 22: $V1, 24: $V2, 26: $V3, 28: $V4, 29: 14, 30: 15, 31: 16, 32: 17, 33: $V5, 34: $V6, 35: $V7, 36: $V8, 37: $V9, 40: $Va, 43: $Vb, 44: $Vc, 50: $Vd }, o($V0, [2, 5]), o($V0, [2, 6]), o($V0, [2, 16], { 12: 28, 61: 32, 15: [1, 29], 17: [1, 30], 20: [1, 31], 63: $Ve, 64: $Vf, 65: $Vg, 66: $Vh, 67: $Vi }), { 23: [1, 38] }, { 25: [1, 39] }, { 27: [1, 40] }, o($V0, [2, 27]), o($V0, [2, 28]), o($V0, [2, 29]), o($V0, [2, 30]), o($V0, [2, 31]), o($Vj, [2, 54]), o($Vj, [2, 55]), o($V0, [2, 32]), o($V0, [2, 33]), o($V0, [2, 34]), o($V0, [2, 35]), { 16: 41, 40: $Vk, 41: $Vl }, { 16: 44, 40: $Vk, 41: $Vl }, { 16: 45, 40: $Vk, 41: $Vl }, o($V0, [2, 4]), { 11: 46, 40: $Va, 50: $Vd }, { 16: 47, 40: $Vk, 41: $Vl }, { 18: 48, 19: [1, 49], 51: 50, 52: 51, 56: $Vm }, { 11: 53, 40: $Va, 50: $Vd }, { 62: 54, 68: [1, 55], 69: [1, 56] }, o($Vn, [2, 69]), o($Vn, [2, 70]), o($Vn, [2, 71]), o($Vn, [2, 72]), o($Vn, [2, 73]), o($V0, [2, 24]), o($V0, [2, 25]), o($V0, [2, 26]), { 13: $Vo, 38: 57, 41: $Vp, 42: $Vq, 45: 59, 46: 60, 48: $Vr, 49: $Vs }, o($Vt, [2, 37]), o($Vt, [2, 38]), { 16: 65, 40: $Vk, 41: $Vl, 42: $Vq }, { 13: $Vo, 38: 66, 41: $Vp, 42: $Vq, 45: 59, 46: 60, 48: $Vr, 49: $Vs }, { 13: [1, 67], 15: [1, 68] }, o($V0, [2, 17], { 61: 32, 12: 69, 17: [1, 70], 42: $Vq, 63: $Ve, 64: $Vf, 65: $Vg, 66: $Vh, 67: $Vi }), { 19: [1, 71] }, o($V0, [2, 14]), { 18: 72, 19: [2, 56], 51: 50, 52: 51, 56: $Vm }, { 53: 73, 56: [1, 74] }, { 56: [2, 62] }, { 21: [1, 75] }, { 61: 76, 63: $Ve, 64: $Vf, 65: $Vg, 66: $Vh, 67: $Vi }, o($Vu, [2, 74]), o($Vu, [2, 75]), { 6: $Vv, 10: $Vw, 39: 77, 42: $Vx, 47: $Vy }, { 40: [1, 82], 41: [1, 83] }, o($Vz, [2, 43], { 46: 84, 13: $Vo, 41: $Vp, 48: $Vr, 49: $Vs }), o($VA, [2, 45]), o($VA, [2, 50]), o($VA, [2, 51]), o($VA, [2, 52]), o($VA, [2, 53]), o($V0, [2, 41], { 42: $Vq }), { 6: $Vv, 10: $Vw, 39: 85, 42: $Vx, 47: $Vy }, { 14: 86, 40: $VB, 50: $VC, 70: $VD }, { 16: 90, 40: $Vk, 41: $Vl }, { 11: 91, 40: $Va, 50: $Vd }, { 18: 92, 19: [1, 93], 51: 50, 52: 51, 56: $Vm }, o($V0, [2, 12]), { 19: [2, 57] }, o($VE, [2, 58], { 54: 94, 55: 95, 57: 96, 59: $VF, 60: $VG }), o([19, 56, 59, 60], [2, 63]), o($V0, [2, 22], { 15: [1, 100], 17: [1, 99] }), o([40, 50], [2, 68]), o($V0, [2, 36]), { 13: $Vo, 41: $Vp, 45: 101, 46: 60, 48: $Vr, 49: $Vs }, o($V0, [2, 47]), o($V0, [2, 48]), o($V0, [2, 49]), o($Vt, [2, 39]), o($Vt, [2, 40]), o($VA, [2, 46]), o($V0, [2, 42]), o($V0, [2, 8]), o($V0, [2, 76]), o($V0, [2, 77]), o($V0, [2, 78]), { 13: [1, 102], 42: $Vq }, { 13: [1, 104], 15: [1, 103] }, { 19: [1, 105] }, o($V0, [2, 15]), o($VE, [2, 59], { 55: 106, 58: [1, 107], 60: $VG }), o($VE, [2, 60]), o($VH, [2, 64]), o($VE, [2, 67]), o($VH, [2, 66]), { 18: 108, 19: [1, 109], 51: 50, 52: 51, 56: $Vm }, { 16: 110, 40: $Vk, 41: $Vl }, o($Vz, [2, 44], { 46: 84, 13: $Vo, 41: $Vp, 48: $Vr, 49: $Vs }), { 14: 111, 40: $VB, 50: $VC, 70: $VD }, { 16: 112, 40: $Vk, 41: $Vl }, { 14: 113, 40: $VB, 50: $VC, 70: $VD }, o($V0, [2, 13]), o($VE, [2, 61]), { 57: 114, 59: $VF }, { 19: [1, 115] }, o($V0, [2, 20]), o($V0, [2, 23], { 17: [1, 116], 42: $Vq }), o($V0, [2, 11]), { 13: [1, 117], 42: $Vq }, o($V0, [2, 10]), o($VH, [2, 65]), o($V0, [2, 18]), { 18: 118, 19: [1, 119], 51: 50, 52: 51, 56: $Vm }, { 14: 120, 40: $VB, 50: $VC, 70: $VD }, { 19: [1, 121] }, o($V0, [2, 21]), o($V0, [2, 9]), o($V0, [2, 19])],
235
+ defaultActions: { 52: [2, 62], 72: [2, 57] },
236
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
237
+ if (hash.recoverable) {
238
+ this.trace(str);
239
+ } else {
240
+ var error = new Error(str);
241
+ error.hash = hash;
242
+ throw error;
243
+ }
244
+ }, "parseError"),
245
+ parse: /* @__PURE__ */ __name(function parse(input) {
246
+ var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
247
+ var args = lstack.slice.call(arguments, 1);
248
+ var lexer2 = Object.create(this.lexer);
249
+ var sharedState = { yy: {} };
250
+ for (var k in this.yy) {
251
+ if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
252
+ sharedState.yy[k] = this.yy[k];
253
+ }
254
+ }
255
+ lexer2.setInput(input, sharedState.yy);
256
+ sharedState.yy.lexer = lexer2;
257
+ sharedState.yy.parser = this;
258
+ if (typeof lexer2.yylloc == "undefined") {
259
+ lexer2.yylloc = {};
260
+ }
261
+ var yyloc = lexer2.yylloc;
262
+ lstack.push(yyloc);
263
+ var ranges = lexer2.options && lexer2.options.ranges;
264
+ if (typeof sharedState.yy.parseError === "function") {
265
+ this.parseError = sharedState.yy.parseError;
266
+ } else {
267
+ this.parseError = Object.getPrototypeOf(this).parseError;
268
+ }
269
+ function popStack(n) {
270
+ stack.length = stack.length - 2 * n;
271
+ vstack.length = vstack.length - n;
272
+ lstack.length = lstack.length - n;
273
+ }
274
+ __name(popStack, "popStack");
275
+ function lex() {
276
+ var token;
277
+ token = tstack.pop() || lexer2.lex() || EOF;
278
+ if (typeof token !== "number") {
279
+ if (token instanceof Array) {
280
+ tstack = token;
281
+ token = tstack.pop();
282
+ }
283
+ token = self.symbols_[token] || token;
284
+ }
285
+ return token;
286
+ }
287
+ __name(lex, "lex");
288
+ var symbol, state, action, r, yyval = {}, p, len, newState, expected;
289
+ while (true) {
290
+ state = stack[stack.length - 1];
291
+ if (this.defaultActions[state]) {
292
+ action = this.defaultActions[state];
293
+ } else {
294
+ if (symbol === null || typeof symbol == "undefined") {
295
+ symbol = lex();
296
+ }
297
+ action = table[state] && table[state][symbol];
298
+ }
299
+ if (typeof action === "undefined" || !action.length || !action[0]) {
300
+ var errStr = "";
301
+ expected = [];
302
+ for (p in table[state]) {
303
+ if (this.terminals_[p] && p > TERROR) {
304
+ expected.push("'" + this.terminals_[p] + "'");
305
+ }
306
+ }
307
+ if (lexer2.showPosition) {
308
+ errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
309
+ } else {
310
+ errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
311
+ }
312
+ this.parseError(errStr, {
313
+ text: lexer2.match,
314
+ token: this.terminals_[symbol] || symbol,
315
+ line: lexer2.yylineno,
316
+ loc: yyloc,
317
+ expected
318
+ });
319
+ }
320
+ if (action[0] instanceof Array && action.length > 1) {
321
+ throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
322
+ }
323
+ switch (action[0]) {
324
+ case 1:
325
+ stack.push(symbol);
326
+ vstack.push(lexer2.yytext);
327
+ lstack.push(lexer2.yylloc);
328
+ stack.push(action[1]);
329
+ symbol = null;
330
+ {
331
+ yyleng = lexer2.yyleng;
332
+ yytext = lexer2.yytext;
333
+ yylineno = lexer2.yylineno;
334
+ yyloc = lexer2.yylloc;
335
+ }
336
+ break;
337
+ case 2:
338
+ len = this.productions_[action[1]][1];
339
+ yyval.$ = vstack[vstack.length - len];
340
+ yyval._$ = {
341
+ first_line: lstack[lstack.length - (len || 1)].first_line,
342
+ last_line: lstack[lstack.length - 1].last_line,
343
+ first_column: lstack[lstack.length - (len || 1)].first_column,
344
+ last_column: lstack[lstack.length - 1].last_column
345
+ };
346
+ if (ranges) {
347
+ yyval._$.range = [
348
+ lstack[lstack.length - (len || 1)].range[0],
349
+ lstack[lstack.length - 1].range[1]
350
+ ];
351
+ }
352
+ r = this.performAction.apply(yyval, [
353
+ yytext,
354
+ yyleng,
355
+ yylineno,
356
+ sharedState.yy,
357
+ action[1],
358
+ vstack,
359
+ lstack
360
+ ].concat(args));
361
+ if (typeof r !== "undefined") {
362
+ return r;
363
+ }
364
+ if (len) {
365
+ stack = stack.slice(0, -1 * len * 2);
366
+ vstack = vstack.slice(0, -1 * len);
367
+ lstack = lstack.slice(0, -1 * len);
368
+ }
369
+ stack.push(this.productions_[action[1]][0]);
370
+ vstack.push(yyval.$);
371
+ lstack.push(yyval._$);
372
+ newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
373
+ stack.push(newState);
374
+ break;
375
+ case 3:
376
+ return true;
377
+ }
378
+ }
379
+ return true;
380
+ }, "parse")
381
+ };
382
+ var lexer = /* @__PURE__ */ function() {
383
+ var lexer2 = {
384
+ EOF: 1,
385
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
386
+ if (this.yy.parser) {
387
+ this.yy.parser.parseError(str, hash);
388
+ } else {
389
+ throw new Error(str);
390
+ }
391
+ }, "parseError"),
392
+ // resets the lexer, sets new input
393
+ setInput: /* @__PURE__ */ __name(function(input, yy) {
394
+ this.yy = yy || this.yy || {};
395
+ this._input = input;
396
+ this._more = this._backtrack = this.done = false;
397
+ this.yylineno = this.yyleng = 0;
398
+ this.yytext = this.matched = this.match = "";
399
+ this.conditionStack = ["INITIAL"];
400
+ this.yylloc = {
401
+ first_line: 1,
402
+ first_column: 0,
403
+ last_line: 1,
404
+ last_column: 0
405
+ };
406
+ if (this.options.ranges) {
407
+ this.yylloc.range = [0, 0];
408
+ }
409
+ this.offset = 0;
410
+ return this;
411
+ }, "setInput"),
412
+ // consumes and returns one char from the input
413
+ input: /* @__PURE__ */ __name(function() {
414
+ var ch = this._input[0];
415
+ this.yytext += ch;
416
+ this.yyleng++;
417
+ this.offset++;
418
+ this.match += ch;
419
+ this.matched += ch;
420
+ var lines = ch.match(/(?:\r\n?|\n).*/g);
421
+ if (lines) {
422
+ this.yylineno++;
423
+ this.yylloc.last_line++;
424
+ } else {
425
+ this.yylloc.last_column++;
426
+ }
427
+ if (this.options.ranges) {
428
+ this.yylloc.range[1]++;
429
+ }
430
+ this._input = this._input.slice(1);
431
+ return ch;
432
+ }, "input"),
433
+ // unshifts one char (or a string) into the input
434
+ unput: /* @__PURE__ */ __name(function(ch) {
435
+ var len = ch.length;
436
+ var lines = ch.split(/(?:\r\n?|\n)/g);
437
+ this._input = ch + this._input;
438
+ this.yytext = this.yytext.substr(0, this.yytext.length - len);
439
+ this.offset -= len;
440
+ var oldLines = this.match.split(/(?:\r\n?|\n)/g);
441
+ this.match = this.match.substr(0, this.match.length - 1);
442
+ this.matched = this.matched.substr(0, this.matched.length - 1);
443
+ if (lines.length - 1) {
444
+ this.yylineno -= lines.length - 1;
445
+ }
446
+ var r = this.yylloc.range;
447
+ this.yylloc = {
448
+ first_line: this.yylloc.first_line,
449
+ last_line: this.yylineno + 1,
450
+ first_column: this.yylloc.first_column,
451
+ 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
452
+ };
453
+ if (this.options.ranges) {
454
+ this.yylloc.range = [r[0], r[0] + this.yyleng - len];
455
+ }
456
+ this.yyleng = this.yytext.length;
457
+ return this;
458
+ }, "unput"),
459
+ // When called from action, caches matched text and appends it on next action
460
+ more: /* @__PURE__ */ __name(function() {
461
+ this._more = true;
462
+ return this;
463
+ }, "more"),
464
+ // 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.
465
+ reject: /* @__PURE__ */ __name(function() {
466
+ if (this.options.backtrack_lexer) {
467
+ this._backtrack = true;
468
+ } else {
469
+ 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(), {
470
+ text: "",
471
+ token: null,
472
+ line: this.yylineno
473
+ });
474
+ }
475
+ return this;
476
+ }, "reject"),
477
+ // retain first n characters of the match
478
+ less: /* @__PURE__ */ __name(function(n) {
479
+ this.unput(this.match.slice(n));
480
+ }, "less"),
481
+ // displays already matched input, i.e. for error messages
482
+ pastInput: /* @__PURE__ */ __name(function() {
483
+ var past = this.matched.substr(0, this.matched.length - this.match.length);
484
+ return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
485
+ }, "pastInput"),
486
+ // displays upcoming input, i.e. for error messages
487
+ upcomingInput: /* @__PURE__ */ __name(function() {
488
+ var next = this.match;
489
+ if (next.length < 20) {
490
+ next += this._input.substr(0, 20 - next.length);
491
+ }
492
+ return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
493
+ }, "upcomingInput"),
494
+ // displays the character position where the lexing error occurred, i.e. for error messages
495
+ showPosition: /* @__PURE__ */ __name(function() {
496
+ var pre = this.pastInput();
497
+ var c = new Array(pre.length + 1).join("-");
498
+ return pre + this.upcomingInput() + "\n" + c + "^";
499
+ }, "showPosition"),
500
+ // test the lexed token: return FALSE when not a match, otherwise return token
501
+ test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
502
+ var token, lines, backup;
503
+ if (this.options.backtrack_lexer) {
504
+ backup = {
505
+ yylineno: this.yylineno,
506
+ yylloc: {
507
+ first_line: this.yylloc.first_line,
508
+ last_line: this.last_line,
509
+ first_column: this.yylloc.first_column,
510
+ last_column: this.yylloc.last_column
511
+ },
512
+ yytext: this.yytext,
513
+ match: this.match,
514
+ matches: this.matches,
515
+ matched: this.matched,
516
+ yyleng: this.yyleng,
517
+ offset: this.offset,
518
+ _more: this._more,
519
+ _input: this._input,
520
+ yy: this.yy,
521
+ conditionStack: this.conditionStack.slice(0),
522
+ done: this.done
523
+ };
524
+ if (this.options.ranges) {
525
+ backup.yylloc.range = this.yylloc.range.slice(0);
526
+ }
527
+ }
528
+ lines = match[0].match(/(?:\r\n?|\n).*/g);
529
+ if (lines) {
530
+ this.yylineno += lines.length;
531
+ }
532
+ this.yylloc = {
533
+ first_line: this.yylloc.last_line,
534
+ last_line: this.yylineno + 1,
535
+ first_column: this.yylloc.last_column,
536
+ last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
537
+ };
538
+ this.yytext += match[0];
539
+ this.match += match[0];
540
+ this.matches = match;
541
+ this.yyleng = this.yytext.length;
542
+ if (this.options.ranges) {
543
+ this.yylloc.range = [this.offset, this.offset += this.yyleng];
544
+ }
545
+ this._more = false;
546
+ this._backtrack = false;
547
+ this._input = this._input.slice(match[0].length);
548
+ this.matched += match[0];
549
+ token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
550
+ if (this.done && this._input) {
551
+ this.done = false;
552
+ }
553
+ if (token) {
554
+ return token;
555
+ } else if (this._backtrack) {
556
+ for (var k in backup) {
557
+ this[k] = backup[k];
558
+ }
559
+ return false;
560
+ }
561
+ return false;
562
+ }, "test_match"),
563
+ // return next match in input
564
+ next: /* @__PURE__ */ __name(function() {
565
+ if (this.done) {
566
+ return this.EOF;
567
+ }
568
+ if (!this._input) {
569
+ this.done = true;
570
+ }
571
+ var token, match, tempMatch, index;
572
+ if (!this._more) {
573
+ this.yytext = "";
574
+ this.match = "";
575
+ }
576
+ var rules = this._currentRules();
577
+ for (var i = 0; i < rules.length; i++) {
578
+ tempMatch = this._input.match(this.rules[rules[i]]);
579
+ if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
580
+ match = tempMatch;
581
+ index = i;
582
+ if (this.options.backtrack_lexer) {
583
+ token = this.test_match(tempMatch, rules[i]);
584
+ if (token !== false) {
585
+ return token;
586
+ } else if (this._backtrack) {
587
+ match = false;
588
+ continue;
589
+ } else {
590
+ return false;
591
+ }
592
+ } else if (!this.options.flex) {
593
+ break;
594
+ }
595
+ }
596
+ }
597
+ if (match) {
598
+ token = this.test_match(match, rules[index]);
599
+ if (token !== false) {
600
+ return token;
601
+ }
602
+ return false;
603
+ }
604
+ if (this._input === "") {
605
+ return this.EOF;
606
+ } else {
607
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
608
+ text: "",
609
+ token: null,
610
+ line: this.yylineno
611
+ });
612
+ }
613
+ }, "next"),
614
+ // return next match that has a token
615
+ lex: /* @__PURE__ */ __name(function lex() {
616
+ var r = this.next();
617
+ if (r) {
618
+ return r;
619
+ } else {
620
+ return this.lex();
621
+ }
622
+ }, "lex"),
623
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
624
+ begin: /* @__PURE__ */ __name(function begin(condition) {
625
+ this.conditionStack.push(condition);
626
+ }, "begin"),
627
+ // pop the previously active lexer condition state off the condition stack
628
+ popState: /* @__PURE__ */ __name(function popState() {
629
+ var n = this.conditionStack.length - 1;
630
+ if (n > 0) {
631
+ return this.conditionStack.pop();
632
+ } else {
633
+ return this.conditionStack[0];
634
+ }
635
+ }, "popState"),
636
+ // produce the lexer rule set which is active for the currently active lexer condition state
637
+ _currentRules: /* @__PURE__ */ __name(function _currentRules() {
638
+ if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
639
+ return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
640
+ } else {
641
+ return this.conditions["INITIAL"].rules;
642
+ }
643
+ }, "_currentRules"),
644
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
645
+ topState: /* @__PURE__ */ __name(function topState(n) {
646
+ n = this.conditionStack.length - 1 - Math.abs(n || 0);
647
+ if (n >= 0) {
648
+ return this.conditionStack[n];
649
+ } else {
650
+ return "INITIAL";
651
+ }
652
+ }, "topState"),
653
+ // alias for begin(condition)
654
+ pushState: /* @__PURE__ */ __name(function pushState(condition) {
655
+ this.begin(condition);
656
+ }, "pushState"),
657
+ // return the number of states currently on the stack
658
+ stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
659
+ return this.conditionStack.length;
660
+ }, "stateStackSize"),
661
+ options: { "case-insensitive": true },
662
+ performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
663
+ switch ($avoiding_name_collisions) {
664
+ case 0:
665
+ this.begin("acc_title");
666
+ return 24;
667
+ case 1:
668
+ this.popState();
669
+ return "acc_title_value";
670
+ case 2:
671
+ this.begin("acc_descr");
672
+ return 26;
673
+ case 3:
674
+ this.popState();
675
+ return "acc_descr_value";
676
+ case 4:
677
+ this.begin("acc_descr_multiline");
678
+ break;
679
+ case 5:
680
+ this.popState();
681
+ break;
682
+ case 6:
683
+ return "acc_descr_multiline_value";
684
+ case 7:
685
+ return 33;
686
+ case 8:
687
+ return 34;
688
+ case 9:
689
+ return 35;
690
+ case 10:
691
+ return 36;
692
+ case 11:
693
+ return 10;
694
+ case 12:
695
+ break;
696
+ case 13:
697
+ return 8;
698
+ case 14:
699
+ return 50;
700
+ case 15:
701
+ return 70;
702
+ case 16:
703
+ return 4;
704
+ case 17:
705
+ this.begin("block");
706
+ return 17;
707
+ case 18:
708
+ return 49;
709
+ case 19:
710
+ return 49;
711
+ case 20:
712
+ return 42;
713
+ case 21:
714
+ return 15;
715
+ case 22:
716
+ return 13;
717
+ case 23:
718
+ break;
719
+ case 24:
720
+ return 59;
721
+ case 25:
722
+ return 56;
723
+ case 26:
724
+ return 56;
725
+ case 27:
726
+ return 60;
727
+ case 28:
728
+ break;
729
+ case 29:
730
+ this.popState();
731
+ return 19;
732
+ case 30:
733
+ return yy_.yytext[0];
734
+ case 31:
735
+ return 20;
736
+ case 32:
737
+ return 21;
738
+ case 33:
739
+ this.begin("style");
740
+ return 44;
741
+ case 34:
742
+ this.popState();
743
+ return 10;
744
+ case 35:
745
+ break;
746
+ case 36:
747
+ return 13;
748
+ case 37:
749
+ return 42;
750
+ case 38:
751
+ return 49;
752
+ case 39:
753
+ this.begin("style");
754
+ return 37;
755
+ case 40:
756
+ return 43;
757
+ case 41:
758
+ return 63;
759
+ case 42:
760
+ return 65;
761
+ case 43:
762
+ return 65;
763
+ case 44:
764
+ return 65;
765
+ case 45:
766
+ return 63;
767
+ case 46:
768
+ return 63;
769
+ case 47:
770
+ return 64;
771
+ case 48:
772
+ return 64;
773
+ case 49:
774
+ return 64;
775
+ case 50:
776
+ return 64;
777
+ case 51:
778
+ return 64;
779
+ case 52:
780
+ return 65;
781
+ case 53:
782
+ return 64;
783
+ case 54:
784
+ return 65;
785
+ case 55:
786
+ return 66;
787
+ case 56:
788
+ return 66;
789
+ case 57:
790
+ return 66;
791
+ case 58:
792
+ return 66;
793
+ case 59:
794
+ return 63;
795
+ case 60:
796
+ return 64;
797
+ case 61:
798
+ return 65;
799
+ case 62:
800
+ return 67;
801
+ case 63:
802
+ return 68;
803
+ case 64:
804
+ return 69;
805
+ case 65:
806
+ return 69;
807
+ case 66:
808
+ return 68;
809
+ case 67:
810
+ return 68;
811
+ case 68:
812
+ return 68;
813
+ case 69:
814
+ return 41;
815
+ case 70:
816
+ return 47;
817
+ case 71:
818
+ return 40;
819
+ case 72:
820
+ return 48;
821
+ case 73:
822
+ return yy_.yytext[0];
823
+ case 74:
824
+ return 6;
825
+ }
826
+ }, "anonymous"),
827
+ rules: [/^(?: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, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:[\s]+)/i, /^(?:"[^"%\r\n\v\b\\]+")/i, /^(?:"[^"]*")/i, /^(?:erDiagram\b)/i, /^(?:\{)/i, /^(?:#)/i, /^(?:#)/i, /^(?:,)/i, /^(?::::)/i, /^(?::)/i, /^(?:\s+)/i, /^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i, /^(?:([^\s]*)[~].*[~]([^\s]*))/i, /^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\u00C0-\uFFFF\*]*))/i, /^(?:"[^"]*")/i, /^(?:[\n]+)/i, /^(?:\})/i, /^(?:.)/i, /^(?:\[)/i, /^(?:\])/i, /^(?:style\b)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?::)/i, /^(?:,)/i, /^(?:#)/i, /^(?:classDef\b)/i, /^(?:class\b)/i, /^(?:one or zero\b)/i, /^(?:one or more\b)/i, /^(?:one or many\b)/i, /^(?:1\+)/i, /^(?:\|o\b)/i, /^(?:zero or one\b)/i, /^(?:zero or more\b)/i, /^(?:zero or many\b)/i, /^(?:0\+)/i, /^(?:\}o\b)/i, /^(?:many\(0\))/i, /^(?:many\(1\))/i, /^(?:many\b)/i, /^(?:\}\|)/i, /^(?:one\b)/i, /^(?:only one\b)/i, /^(?:1\b)/i, /^(?:\|\|)/i, /^(?:o\|)/i, /^(?:o\{)/i, /^(?:\|\{)/i, /^(?:\s*u\b)/i, /^(?:\.\.)/i, /^(?:--)/i, /^(?:to\b)/i, /^(?:optionally to\b)/i, /^(?:\.-)/i, /^(?:-\.)/i, /^(?:([^\x00-\x7F]|\w|-|\*)+)/i, /^(?:;)/i, /^(?:([^\x00-\x7F]|\w|-|\*)+)/i, /^(?:[0-9])/i, /^(?:.)/i, /^(?:$)/i],
828
+ conditions: { "style": { "rules": [34, 35, 36, 37, 38, 69, 70], "inclusive": false }, "acc_descr_multiline": { "rules": [5, 6], "inclusive": false }, "acc_descr": { "rules": [3], "inclusive": false }, "acc_title": { "rules": [1], "inclusive": false }, "block": { "rules": [23, 24, 25, 26, 27, 28, 29, 30], "inclusive": false }, "INITIAL": { "rules": [0, 2, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 31, 32, 33, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 71, 72, 73, 74], "inclusive": true } }
829
+ };
830
+ return lexer2;
831
+ }();
832
+ parser2.lexer = lexer;
833
+ function Parser() {
834
+ this.yy = {};
835
+ }
836
+ __name(Parser, "Parser");
837
+ Parser.prototype = parser2;
838
+ parser2.Parser = Parser;
839
+ return new Parser();
840
+ }();
841
+ parser.parser = parser;
842
+ var erDiagram_default = parser;
843
+ var ErDB = (_a = class {
844
+ constructor() {
845
+ this.entities = /* @__PURE__ */ new Map();
846
+ this.relationships = [];
847
+ this.classes = /* @__PURE__ */ new Map();
848
+ this.direction = "TB";
849
+ this.Cardinality = {
850
+ ZERO_OR_ONE: "ZERO_OR_ONE",
851
+ ZERO_OR_MORE: "ZERO_OR_MORE",
852
+ ONE_OR_MORE: "ONE_OR_MORE",
853
+ ONLY_ONE: "ONLY_ONE",
854
+ MD_PARENT: "MD_PARENT"
855
+ };
856
+ this.Identification = {
857
+ NON_IDENTIFYING: "NON_IDENTIFYING",
858
+ IDENTIFYING: "IDENTIFYING"
859
+ };
860
+ this.setAccTitle = setAccTitle;
861
+ this.getAccTitle = getAccTitle;
862
+ this.setAccDescription = setAccDescription;
863
+ this.getAccDescription = getAccDescription;
864
+ this.setDiagramTitle = setDiagramTitle;
865
+ this.getDiagramTitle = getDiagramTitle;
866
+ this.getConfig = /* @__PURE__ */ __name(() => getConfig2().er, "getConfig");
867
+ this.clear();
868
+ this.addEntity = this.addEntity.bind(this);
869
+ this.addAttributes = this.addAttributes.bind(this);
870
+ this.addRelationship = this.addRelationship.bind(this);
871
+ this.setDirection = this.setDirection.bind(this);
872
+ this.addCssStyles = this.addCssStyles.bind(this);
873
+ this.addClass = this.addClass.bind(this);
874
+ this.setClass = this.setClass.bind(this);
875
+ this.setAccTitle = this.setAccTitle.bind(this);
876
+ this.setAccDescription = this.setAccDescription.bind(this);
877
+ }
878
+ /**
879
+ * Add entity
880
+ * @param name - The name of the entity
881
+ * @param alias - The alias of the entity
882
+ */
883
+ addEntity(name, alias = "") {
884
+ var _a2;
885
+ if (!this.entities.has(name)) {
886
+ this.entities.set(name, {
887
+ id: `entity-${name}-${this.entities.size}`,
888
+ label: name,
889
+ attributes: [],
890
+ alias,
891
+ shape: "erBox",
892
+ look: getConfig2().look ?? "default",
893
+ cssClasses: "default",
894
+ cssStyles: []
895
+ });
896
+ log.info("Added new entity :", name);
897
+ } else if (!((_a2 = this.entities.get(name)) == null ? void 0 : _a2.alias) && alias) {
898
+ this.entities.get(name).alias = alias;
899
+ log.info(`Add alias '${alias}' to entity '${name}'`);
900
+ }
901
+ return this.entities.get(name);
902
+ }
903
+ getEntity(name) {
904
+ return this.entities.get(name);
905
+ }
906
+ getEntities() {
907
+ return this.entities;
908
+ }
909
+ getClasses() {
910
+ return this.classes;
911
+ }
912
+ addAttributes(entityName, attribs) {
913
+ const entity = this.addEntity(entityName);
914
+ let i;
915
+ for (i = attribs.length - 1; i >= 0; i--) {
916
+ if (!attribs[i].keys) {
917
+ attribs[i].keys = [];
918
+ }
919
+ if (!attribs[i].comment) {
920
+ attribs[i].comment = "";
921
+ }
922
+ entity.attributes.push(attribs[i]);
923
+ log.debug("Added attribute ", attribs[i].name);
924
+ }
925
+ }
926
+ /**
927
+ * Add a relationship
928
+ *
929
+ * @param entA - The first entity in the relationship
930
+ * @param rolA - The role played by the first entity in relation to the second
931
+ * @param entB - The second entity in the relationship
932
+ * @param rSpec - The details of the relationship between the two entities
933
+ */
934
+ addRelationship(entA, rolA, entB, rSpec) {
935
+ const entityA = this.entities.get(entA);
936
+ const entityB = this.entities.get(entB);
937
+ if (!entityA || !entityB) {
938
+ return;
939
+ }
940
+ const rel = {
941
+ entityA: entityA.id,
942
+ roleA: rolA,
943
+ entityB: entityB.id,
944
+ relSpec: rSpec
945
+ };
946
+ this.relationships.push(rel);
947
+ log.debug("Added new relationship :", rel);
948
+ }
949
+ getRelationships() {
950
+ return this.relationships;
951
+ }
952
+ getDirection() {
953
+ return this.direction;
954
+ }
955
+ setDirection(dir) {
956
+ this.direction = dir;
957
+ }
958
+ getCompiledStyles(classDefs) {
959
+ let compiledStyles = [];
960
+ for (const customClass of classDefs) {
961
+ const cssClass = this.classes.get(customClass);
962
+ if (cssClass == null ? void 0 : cssClass.styles) {
963
+ compiledStyles = [...compiledStyles, ...cssClass.styles ?? []].map((s) => s.trim());
964
+ }
965
+ if (cssClass == null ? void 0 : cssClass.textStyles) {
966
+ compiledStyles = [...compiledStyles, ...cssClass.textStyles ?? []].map((s) => s.trim());
967
+ }
968
+ }
969
+ return compiledStyles;
970
+ }
971
+ addCssStyles(ids, styles) {
972
+ for (const id of ids) {
973
+ const entity = this.entities.get(id);
974
+ if (!styles || !entity) {
975
+ return;
976
+ }
977
+ for (const style of styles) {
978
+ entity.cssStyles.push(style);
979
+ }
980
+ }
981
+ }
982
+ addClass(ids, style) {
983
+ ids.forEach((id) => {
984
+ let classNode = this.classes.get(id);
985
+ if (classNode === void 0) {
986
+ classNode = { id, styles: [], textStyles: [] };
987
+ this.classes.set(id, classNode);
988
+ }
989
+ if (style) {
990
+ style.forEach(function(s) {
991
+ if (/color/.exec(s)) {
992
+ const newStyle = s.replace("fill", "bgFill");
993
+ classNode.textStyles.push(newStyle);
994
+ }
995
+ classNode.styles.push(s);
996
+ });
997
+ }
998
+ });
999
+ }
1000
+ setClass(ids, classNames) {
1001
+ for (const id of ids) {
1002
+ const entity = this.entities.get(id);
1003
+ if (entity) {
1004
+ for (const className of classNames) {
1005
+ entity.cssClasses += " " + className;
1006
+ }
1007
+ }
1008
+ }
1009
+ }
1010
+ clear() {
1011
+ this.entities = /* @__PURE__ */ new Map();
1012
+ this.classes = /* @__PURE__ */ new Map();
1013
+ this.relationships = [];
1014
+ clear$2();
1015
+ }
1016
+ getData() {
1017
+ const nodes = [];
1018
+ const edges = [];
1019
+ const config = getConfig2();
1020
+ for (const entityKey of this.entities.keys()) {
1021
+ const entityNode = this.entities.get(entityKey);
1022
+ if (entityNode) {
1023
+ entityNode.cssCompiledStyles = this.getCompiledStyles(entityNode.cssClasses.split(" "));
1024
+ nodes.push(entityNode);
1025
+ }
1026
+ }
1027
+ let count = 0;
1028
+ for (const relationship of this.relationships) {
1029
+ const edge = {
1030
+ id: getEdgeId(relationship.entityA, relationship.entityB, {
1031
+ prefix: "id",
1032
+ counter: count++
1033
+ }),
1034
+ type: "normal",
1035
+ curve: "basis",
1036
+ start: relationship.entityA,
1037
+ end: relationship.entityB,
1038
+ label: relationship.roleA,
1039
+ labelpos: "c",
1040
+ thickness: "normal",
1041
+ classes: "relationshipLine",
1042
+ arrowTypeStart: relationship.relSpec.cardB.toLowerCase(),
1043
+ arrowTypeEnd: relationship.relSpec.cardA.toLowerCase(),
1044
+ pattern: relationship.relSpec.relType == "IDENTIFYING" ? "solid" : "dashed",
1045
+ look: config.look
1046
+ };
1047
+ edges.push(edge);
1048
+ }
1049
+ return { nodes, edges, other: {}, config, direction: "TB" };
1050
+ }
1051
+ }, __name(_a, "ErDB"), _a);
1052
+ var erRenderer_unified_exports = {};
1053
+ __export(erRenderer_unified_exports, {
1054
+ draw: () => draw
1055
+ });
1056
+ var draw = /* @__PURE__ */ __name(async function(text, id, _version, diag) {
1057
+ log.info("REF0:");
1058
+ log.info("Drawing er diagram (unified)", id);
1059
+ const { securityLevel, er: conf, layout } = getConfig2();
1060
+ const data4Layout = diag.db.getData();
1061
+ const svg = getDiagramElement(id, securityLevel);
1062
+ data4Layout.type = diag.type;
1063
+ data4Layout.layoutAlgorithm = getRegisteredLayoutAlgorithm(layout);
1064
+ data4Layout.config.flowchart.nodeSpacing = (conf == null ? void 0 : conf.nodeSpacing) || 140;
1065
+ data4Layout.config.flowchart.rankSpacing = (conf == null ? void 0 : conf.rankSpacing) || 80;
1066
+ data4Layout.direction = diag.db.getDirection();
1067
+ data4Layout.markers = ["only_one", "zero_or_one", "one_or_more", "zero_or_more"];
1068
+ data4Layout.diagramId = id;
1069
+ await render$1(data4Layout, svg);
1070
+ if (data4Layout.layoutAlgorithm === "elk") {
1071
+ svg.select(".edges").lower();
1072
+ }
1073
+ const backgroundNodes = svg.selectAll('[id*="-background"]');
1074
+ if (Array.from(backgroundNodes).length > 0) {
1075
+ backgroundNodes.each(function() {
1076
+ const backgroundNode = select(this);
1077
+ const backgroundId = backgroundNode.attr("id");
1078
+ const nonBackgroundId = backgroundId.replace("-background", "");
1079
+ const nonBackgroundNode = svg.select(`#${CSS.escape(nonBackgroundId)}`);
1080
+ if (!nonBackgroundNode.empty()) {
1081
+ const transform = nonBackgroundNode.attr("transform");
1082
+ backgroundNode.attr("transform", transform);
1083
+ }
1084
+ });
1085
+ }
1086
+ const padding = 8;
1087
+ utils_default.insertTitle(
1088
+ svg,
1089
+ "erDiagramTitleText",
1090
+ (conf == null ? void 0 : conf.titleTopMargin) ?? 25,
1091
+ diag.db.getDiagramTitle()
1092
+ );
1093
+ setupViewPortForSVG(svg, padding, "erDiagram", (conf == null ? void 0 : conf.useMaxWidth) ?? true);
1094
+ }, "draw");
1095
+ var fade = /* @__PURE__ */ __name((color, opacity) => {
1096
+ const channel2 = channel;
1097
+ const r = channel2(color, "r");
1098
+ const g = channel2(color, "g");
1099
+ const b = channel2(color, "b");
1100
+ return rgba$1(r, g, b, opacity);
1101
+ }, "fade");
1102
+ var getStyles = /* @__PURE__ */ __name((options) => `
1103
+ .entityBox {
1104
+ fill: ${options.mainBkg};
1105
+ stroke: ${options.nodeBorder};
1106
+ }
1107
+
1108
+ .relationshipLabelBox {
1109
+ fill: ${options.tertiaryColor};
1110
+ opacity: 0.7;
1111
+ background-color: ${options.tertiaryColor};
1112
+ rect {
1113
+ opacity: 0.5;
1114
+ }
1115
+ }
1116
+
1117
+ .labelBkg {
1118
+ background-color: ${fade(options.tertiaryColor, 0.5)};
1119
+ }
1120
+
1121
+ .edgeLabel .label {
1122
+ fill: ${options.nodeBorder};
1123
+ font-size: 14px;
1124
+ }
1125
+
1126
+ .label {
1127
+ font-family: ${options.fontFamily};
1128
+ color: ${options.nodeTextColor || options.textColor};
1129
+ }
1130
+
1131
+ .edge-pattern-dashed {
1132
+ stroke-dasharray: 8,8;
1133
+ }
1134
+
1135
+ .node rect,
1136
+ .node circle,
1137
+ .node ellipse,
1138
+ .node polygon
1139
+ {
1140
+ fill: ${options.mainBkg};
1141
+ stroke: ${options.nodeBorder};
1142
+ stroke-width: 1px;
1143
+ }
1144
+
1145
+ .relationshipLine {
1146
+ stroke: ${options.lineColor};
1147
+ stroke-width: 1;
1148
+ fill: none;
1149
+ }
1150
+
1151
+ .marker {
1152
+ fill: none !important;
1153
+ stroke: ${options.lineColor} !important;
1154
+ stroke-width: 1;
1155
+ }
1156
+ `, "getStyles");
1157
+ var styles_default = getStyles;
1158
+ var diagram = {
1159
+ parser: erDiagram_default,
1160
+ get db() {
1161
+ return new ErDB();
1162
+ },
1163
+ renderer: erRenderer_unified_exports,
1164
+ styles: styles_default
1165
+ };
1166
+
1167
+ export { diagram };