docmedown 0.1.7 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (304) hide show
  1. package/LICENSE +201 -21
  2. package/README.md +86 -37
  3. package/dist/architecture-7GRP2DOG-B8Xs9IfY.mjs +2 -0
  4. package/dist/architecture-7GRP2DOG-Vdsw7WC7.js +1 -0
  5. package/dist/cli.js +672 -1294
  6. package/dist/cynefin-OW5HDTMX-DU6kwwck.js +1 -0
  7. package/dist/cynefin-OW5HDTMX-F0P2M_lQ.mjs +2 -0
  8. package/dist/docmedown-compiler.js +228 -0
  9. package/dist/docmedown-mermaid.js +3588 -0
  10. package/dist/docmedown.cjs +7264 -80
  11. package/dist/docmedown.iife.js +7624 -424
  12. package/dist/docmedown.mjs +15531 -15009
  13. package/dist/docmedown.web.js +7628 -0
  14. package/dist/eventmodeling-NTZA5JFV-D58ICByZ.js +1 -0
  15. package/dist/eventmodeling-NTZA5JFV-SxxTo5cJ.mjs +2 -0
  16. package/dist/gitGraph-4MIJSDKK-C_R2a4aQ.mjs +2 -0
  17. package/dist/gitGraph-4MIJSDKK-CdMj8HJ8.js +1 -0
  18. package/dist/info-A6RAGUB7-CG4UBCfn.js +1 -0
  19. package/dist/info-A6RAGUB7-DmjQlHTj.mjs +2 -0
  20. package/dist/mermaid-BvOI3ZSW.js +3334 -0
  21. package/dist/mermaid-Cx9uSfoz.mjs +116948 -0
  22. package/dist/packet-AYTQ26CC-CMuoEJn0.js +1 -0
  23. package/dist/packet-AYTQ26CC-tdMo_iPL.mjs +2 -0
  24. package/dist/pie-WAS4IAKB-C1hjX8y0.js +1 -0
  25. package/dist/pie-WAS4IAKB-DG2Bio1G.mjs +2 -0
  26. package/dist/prism-CeBRmKvl.js +2 -0
  27. package/dist/prism-CummdiZX.mjs +1588 -0
  28. package/dist/radar-RG4KPBEZ-DHxYOB0f.mjs +2 -0
  29. package/dist/radar-RG4KPBEZ-Dvyo3gdA.js +1 -0
  30. package/dist/railroad-74A4TZTK-1sb9Z_QQ.js +1 -0
  31. package/dist/railroad-74A4TZTK-CwztrSkE.mjs +2 -0
  32. package/dist/railroad-abnf-HS5TGJTU-4264fZjH.js +1 -0
  33. package/dist/railroad-abnf-HS5TGJTU-BKCsR9iC.mjs +2 -0
  34. package/dist/railroad-ebnf-LZEXJU2U-BXErl5kO.js +1 -0
  35. package/dist/railroad-ebnf-LZEXJU2U-DzDOfuxK.mjs +2 -0
  36. package/dist/railroad-peg-WCYAUIDC-B6gNHamV.mjs +2 -0
  37. package/dist/railroad-peg-WCYAUIDC-D7pSwRGa.js +1 -0
  38. package/dist/rolldown-runtime-B0aSnxlc.mjs +20 -0
  39. package/dist/rolldown-runtime-DF3sbh8G.js +1 -0
  40. package/dist/svelte-compiler-loader-Deqbdbvf.js +1 -0
  41. package/dist/svelte-compiler-loader-DtYQgEKV.mjs +50 -0
  42. package/dist/svelte-runtime-Brc440dp.js +5 -0
  43. package/dist/svelte-runtime-CgCk_bw1.mjs +40 -0
  44. package/dist/treeView-Q6P3EWNA-DArM8kFH.mjs +2 -0
  45. package/dist/treeView-Q6P3EWNA-JstiGzov.js +1 -0
  46. package/dist/treemap-WGGIJYW6-CMIcmEVN.mjs +2 -0
  47. package/dist/treemap-WGGIJYW6-Dq6fFckz.js +1 -0
  48. package/dist/ts-compiler-BMDmcNn5.mjs +93 -0
  49. package/dist/ts-compiler-U7pTMJjY.js +3 -0
  50. package/dist/types/runtime/bridges/dynamic-component.d.ts +43 -0
  51. package/dist/types/runtime/bridges/element-bridge.d.ts +24 -0
  52. package/dist/types/runtime/bridges/index.d.ts +3 -0
  53. package/dist/types/runtime/bridges/react-bridge.d.ts +35 -0
  54. package/dist/types/runtime/compiler-cache.d.ts +18 -0
  55. package/dist/types/runtime/config-schema.d.ts +2 -0
  56. package/dist/types/runtime/favicons.d.ts +28 -0
  57. package/dist/types/runtime/loader/local-loader.d.ts +13 -0
  58. package/dist/types/runtime/markdown/component-body.d.ts +7 -0
  59. package/dist/types/runtime/markdown/escape.d.ts +1 -0
  60. package/dist/types/runtime/markdown/highlighter.d.ts +32 -6
  61. package/dist/types/runtime/markdown/katex.d.ts +5 -0
  62. package/dist/types/runtime/markdown/mermaid-engine.d.ts +1 -0
  63. package/dist/types/runtime/markdown/mermaid-loader.d.ts +19 -0
  64. package/dist/types/runtime/markdown/mermaid.d.ts +6 -0
  65. package/dist/types/runtime/markdown/tables.d.ts +68 -0
  66. package/dist/types/runtime/media.d.ts +30 -0
  67. package/dist/types/runtime/motion.d.ts +134 -0
  68. package/dist/types/runtime/offline-export.d.ts +9 -2
  69. package/dist/types/runtime/router.d.ts +40 -2
  70. package/dist/types/runtime/splash.d.ts +90 -0
  71. package/dist/types/runtime/svelte-compiler-engine.d.ts +1 -0
  72. package/dist/types/runtime/svelte-compiler-loader.d.ts +14 -0
  73. package/dist/types/runtime/svelte-runtime.d.ts +29 -0
  74. package/dist/types/runtime/svelte-tag.d.ts +7 -0
  75. package/dist/types/runtime/ts-compiler.d.ts +24 -0
  76. package/dist/types/runtime/types.d.ts +1 -0
  77. package/dist/types/ui/doc-context.svelte.d.ts +198 -0
  78. package/dist/types/ui/index.d.ts +33 -0
  79. package/dist/types/ui/registry.d.ts +52 -0
  80. package/dist/types/ui/theme.svelte.d.ts +32 -0
  81. package/dist/wardley-WFR3VGLG-BK9BA6h6.mjs +2 -0
  82. package/dist/wardley-WFR3VGLG-Cbs7W-dU.js +1 -0
  83. package/package.json +61 -48
  84. package/schemas/docs.schema.json +186 -181
  85. package/templates/.dmd/CounterWidget.svelte +29 -0
  86. package/templates/README.md +2 -2
  87. package/templates/favicon.svg +12 -0
  88. package/templates/favicons/favicon-book.svg +11 -0
  89. package/templates/favicons/favicon-markdown.svg +11 -0
  90. package/templates/favicons/favicon-minimal.svg +15 -0
  91. package/templates/favicons/favicon-terminal.svg +14 -0
  92. package/templates/favicons/favicon.svg +12 -0
  93. package/templates/guides/custom-components.md +82 -22
  94. package/templates/index.html +6 -3
  95. package/dist/abnfDiagram-VCTEODGH-CtQBp0Qv.mjs +0 -89
  96. package/dist/abnfDiagram-VCTEODGH-mccrzlD_.js +0 -1
  97. package/dist/arc-DgPKXEdT.mjs +0 -82
  98. package/dist/arc-n7TW7Bis.js +0 -1
  99. package/dist/architecture-7GRP2DOG-B7myQ46f.js +0 -1
  100. package/dist/architecture-7GRP2DOG-Cxj1ussQ.mjs +0 -3
  101. package/dist/architectureDiagram-5GKGNRK7-BdTCu5T3.js +0 -36
  102. package/dist/architectureDiagram-5GKGNRK7-CkgZa-G1.mjs +0 -4154
  103. package/dist/array-CApNbSU9.mjs +0 -6
  104. package/dist/array-DZSRzHA_.js +0 -1
  105. package/dist/blockDiagram-I7D4REHJ-CSYvpxQw.js +0 -129
  106. package/dist/blockDiagram-I7D4REHJ-CYngfPD9.mjs +0 -1922
  107. package/dist/c4Diagram-7LVT6UL2-B-sz5MUK.js +0 -38
  108. package/dist/c4Diagram-7LVT6UL2-DEzxFf2b.mjs +0 -3010
  109. package/dist/channel-LgHproiI.mjs +0 -5
  110. package/dist/channel-yqu0m4cl.js +0 -1
  111. package/dist/chunk-2E4U76K2-BOyeRQsI.js +0 -1
  112. package/dist/chunk-2E4U76K2-CoTrgtfg.mjs +0 -348
  113. package/dist/chunk-2Q5K7J3B-D4EgYPOq.mjs +0 -15
  114. package/dist/chunk-2Q5K7J3B-DhjCNjaM.js +0 -1
  115. package/dist/chunk-4HAMMTFA-GFyfmcSO.js +0 -62
  116. package/dist/chunk-4HAMMTFA-VgWPe1ng.mjs +0 -4188
  117. package/dist/chunk-5VM5RSS4-GINalzIv.js +0 -15
  118. package/dist/chunk-5VM5RSS4-TqxtqrwE.mjs +0 -5
  119. package/dist/chunk-75Z2AOVW-DYouz5MZ.js +0 -2
  120. package/dist/chunk-75Z2AOVW-Dz0Sko9Y.mjs +0 -1330
  121. package/dist/chunk-CLGD4ZFX-C5J-e2io.js +0 -1
  122. package/dist/chunk-CLGD4ZFX-DBkwyMMv.mjs +0 -14
  123. package/dist/chunk-DU6HZSFF-BEQZSmUu.mjs +0 -3836
  124. package/dist/chunk-DU6HZSFF-CWc5ewtb.js +0 -127
  125. package/dist/chunk-F27PBJKO-8jvY_jJK.js +0 -1
  126. package/dist/chunk-F27PBJKO-DFH3sRZG.mjs +0 -61
  127. package/dist/chunk-FOHPRMQF-LRqOLsSw.mjs +0 -21456
  128. package/dist/chunk-FOHPRMQF-tmTlwTeH.js +0 -161
  129. package/dist/chunk-GMAD6QVW-BZeZ4fdb.mjs +0 -1863
  130. package/dist/chunk-GMAD6QVW-DEQiTa0c.js +0 -72
  131. package/dist/chunk-GVQU2GXP-B1D3J05J.mjs +0 -37
  132. package/dist/chunk-GVQU2GXP-CdJIWN41.js +0 -1
  133. package/dist/chunk-IMKFNOWR-BmZb9U1f.mjs +0 -2042
  134. package/dist/chunk-IMKFNOWR-CPJsszGN.js +0 -231
  135. package/dist/chunk-JWPE2WC7-DIKiF5cm.mjs +0 -8
  136. package/dist/chunk-JWPE2WC7-p1fYVdYc.js +0 -1
  137. package/dist/chunk-L3NEJ4N5-TzDiVs78.js +0 -1
  138. package/dist/chunk-L3NEJ4N5-lal8wUID.mjs +0 -245
  139. package/dist/chunk-LNGE3PJU-BQX75wkM.js +0 -34
  140. package/dist/chunk-LNGE3PJU-DJ9JuXV6.mjs +0 -1521
  141. package/dist/chunk-OSK3NFVY-9AWK88m1.mjs +0 -672
  142. package/dist/chunk-OSK3NFVY-CHzvVe8m.js +0 -10
  143. package/dist/chunk-P2QGCYS3-6q3AXPt5.mjs +0 -67
  144. package/dist/chunk-P2QGCYS3-DKZzpRQW.js +0 -1
  145. package/dist/chunk-POPQ4Y6H-Dd7J9tx3.mjs +0 -26
  146. package/dist/chunk-POPQ4Y6H-T5C7wpjf.js +0 -1
  147. package/dist/chunk-PWAF6VOD-BYG76tEe.mjs +0 -275
  148. package/dist/chunk-PWAF6VOD-DxZLuCEw.js +0 -1
  149. package/dist/chunk-SHT3W25Y-B2Wes8jn.mjs +0 -4183
  150. package/dist/chunk-SHT3W25Y-BQjHSn5K.js +0 -168
  151. package/dist/chunk-SVP7TREG-BFMd615E.js +0 -88
  152. package/dist/chunk-SVP7TREG-CynckzeF.mjs +0 -490
  153. package/dist/chunk-TICWLB2K-BfCuoR1V.mjs +0 -3357
  154. package/dist/chunk-TICWLB2K-agcyBfUp.js +0 -206
  155. package/dist/chunk-TLUHSLCS-CUrWaKDG.mjs +0 -59
  156. package/dist/chunk-TLUHSLCS-Drx_a7am.js +0 -1
  157. package/dist/chunk-XXDRQBXY-AAk1-Cyg.js +0 -1
  158. package/dist/chunk-XXDRQBXY-DpR8eYzz.mjs +0 -9
  159. package/dist/chunk-Y2CYZVJY-CnmLqFtv.js +0 -1
  160. package/dist/chunk-Y2CYZVJY-i11wjrBe.mjs +0 -12
  161. package/dist/classDiagram-ZZMXUADV-B7IN9zcX.js +0 -1
  162. package/dist/classDiagram-ZZMXUADV-tcy6gxSB.mjs +0 -30
  163. package/dist/classDiagram-v2-VYDZK3BY-B7IN9zcX.js +0 -1
  164. package/dist/classDiagram-v2-VYDZK3BY-D5wM6Acp.mjs +0 -30
  165. package/dist/cose-bilkent-JH36ORCC-DBUPO3qJ.js +0 -1
  166. package/dist/cose-bilkent-JH36ORCC-Slpx4WIt.mjs +0 -2253
  167. package/dist/cynefin-OW5HDTMX--QVnfGi1.mjs +0 -3
  168. package/dist/cynefin-OW5HDTMX-lNKysi7S.js +0 -1
  169. package/dist/cynefinDiagram-5FMLGOSQ-CsFONYqx.js +0 -62
  170. package/dist/cynefinDiagram-5FMLGOSQ-DsrxYBcg.mjs +0 -355
  171. package/dist/cytoscape.esm-C5TvPYYm.mjs +0 -18148
  172. package/dist/cytoscape.esm-CBmWJr5M.js +0 -321
  173. package/dist/dagre-CZ6P9L_h.js +0 -1
  174. package/dist/dagre-GXQ25YYZ-CQszk-7P.js +0 -4
  175. package/dist/dagre-GXQ25YYZ-ecYByRSn.mjs +0 -425
  176. package/dist/dagre-J_1oH0eY.mjs +0 -1934
  177. package/dist/defaultLocale-N-0uLSyg.mjs +0 -198
  178. package/dist/defaultLocale-ybN1Vtvg.js +0 -1
  179. package/dist/diagram-S7CK7UJ4-CTMvxX__.js +0 -30
  180. package/dist/diagram-S7CK7UJ4-DxCghfa-.mjs +0 -301
  181. package/dist/diagram-UQ7AKVKN-1viEkqlG.js +0 -41
  182. package/dist/diagram-UQ7AKVKN-BA7Z_oB7.mjs +0 -214
  183. package/dist/diagram-VSXAHHWV-DgVT19mq.js +0 -3
  184. package/dist/diagram-VSXAHHWV-Dtqo03M5.mjs +0 -432
  185. package/dist/diagram-VX7I27RA-CNw0pOX_.js +0 -24
  186. package/dist/diagram-VX7I27RA-GMPRt8Zh.mjs +0 -527
  187. package/dist/diagram-Z3DM3KII-C6XdQK_Q.mjs +0 -134
  188. package/dist/diagram-Z3DM3KII-CPkBr3FT.js +0 -24
  189. package/dist/dist-CXWJafG_.js +0 -1
  190. package/dist/dist-DNdLIC8h.mjs +0 -59
  191. package/dist/ebnfDiagram-PWID7BFC-CseVsyL3.js +0 -1
  192. package/dist/ebnfDiagram-PWID7BFC-D_dBDXWC.mjs +0 -100
  193. package/dist/erDiagram-RLTQ6QDP-DFwfQTRS.js +0 -99
  194. package/dist/erDiagram-RLTQ6QDP-DP7ddGMH.mjs +0 -1966
  195. package/dist/eventmodeling-NTZA5JFV-CzxVg0l5.js +0 -1
  196. package/dist/eventmodeling-NTZA5JFV-Djsy__5n.mjs +0 -3
  197. package/dist/flowDiagram-HODETNUW-7hSJfI3W.js +0 -1
  198. package/dist/flowDiagram-HODETNUW-Dqu5Lr19.mjs +0 -17
  199. package/dist/ganttDiagram-EL5Y4UJY-KNL3tzTD.mjs +0 -3072
  200. package/dist/ganttDiagram-EL5Y4UJY-aiLqNWgi.js +0 -292
  201. package/dist/gitGraph-4MIJSDKK-DnElfqX7.js +0 -1
  202. package/dist/gitGraph-4MIJSDKK-xuKJBT2e.mjs +0 -3
  203. package/dist/gitGraphDiagram-WWUBYQGX-D4gSo_-e.js +0 -106
  204. package/dist/gitGraphDiagram-WWUBYQGX-Dooss5fG.mjs +0 -733
  205. package/dist/graphlib-BaETKKSa.js +0 -1
  206. package/dist/graphlib-XW-Jr8pF.mjs +0 -1267
  207. package/dist/info-A6RAGUB7-ClYskpn6.mjs +0 -3
  208. package/dist/info-A6RAGUB7-DDvvt-fW.js +0 -1
  209. package/dist/infoDiagram-27XIBGKW-B2-y2mdQ.mjs +0 -20
  210. package/dist/infoDiagram-27XIBGKW-DYQ9NzfL.js +0 -2
  211. package/dist/init-BJdqMO10.js +0 -1
  212. package/dist/init-CsQUQz36.mjs +0 -13
  213. package/dist/ishikawaDiagram-5VMMS53U-ULIhoYO5.js +0 -70
  214. package/dist/ishikawaDiagram-5VMMS53U-xAArNh-1.mjs +0 -719
  215. package/dist/journeyDiagram-3NMN7TZE-BBMYNZRL.js +0 -139
  216. package/dist/journeyDiagram-3NMN7TZE-BH-uKqP7.mjs +0 -884
  217. package/dist/kanban-definition-UXKFOSKX-Be49llXr.mjs +0 -976
  218. package/dist/kanban-definition-UXKFOSKX-CDL5yJkq.js +0 -89
  219. package/dist/line-BEwhHSLl.js +0 -1
  220. package/dist/line-CiXRog8O.mjs +0 -34
  221. package/dist/linear-75tfjrny.js +0 -1
  222. package/dist/linear-Ncx_RuON.mjs +0 -288
  223. package/dist/mermaid-parser.core-BBApyu_y.js +0 -6
  224. package/dist/mermaid-parser.core-BRHibdUE.mjs +0 -638
  225. package/dist/mindmap-definition-YA3MSWOX-Chy7XP_5.mjs +0 -1006
  226. package/dist/mindmap-definition-YA3MSWOX-DOda-fkL.js +0 -96
  227. package/dist/ordinal-B1BNQwUR.mjs +0 -65
  228. package/dist/ordinal-B9aFWmF9.js +0 -1
  229. package/dist/packet-AYTQ26CC-CorIy9Ul.js +0 -1
  230. package/dist/packet-AYTQ26CC-DWH8gXJK.mjs +0 -3
  231. package/dist/path-CnWkkRiY.mjs +0 -84
  232. package/dist/path-DIS6ck99.js +0 -1
  233. package/dist/pegDiagram-XKGWAZYB-Cdw6MeON.js +0 -1
  234. package/dist/pegDiagram-XKGWAZYB-uNfxRaq1.mjs +0 -94
  235. package/dist/pie-WAS4IAKB-Cn5eK-5P.mjs +0 -3
  236. package/dist/pie-WAS4IAKB-D84xrSoY.js +0 -1
  237. package/dist/pieDiagram-E7YTZNPT-Bd6mvpJw.js +0 -39
  238. package/dist/pieDiagram-E7YTZNPT-Cczo96a2.mjs +0 -203
  239. package/dist/quadrantDiagram-AXDQQJYC-BPfgvMsS.js +0 -7
  240. package/dist/quadrantDiagram-AXDQQJYC-eqRNtVRl.mjs +0 -2001
  241. package/dist/radar-RG4KPBEZ-DvkxGdO6.mjs +0 -3
  242. package/dist/radar-RG4KPBEZ-R2sQOLL9.js +0 -1
  243. package/dist/railroad-74A4TZTK-BOZIf6ts.js +0 -1
  244. package/dist/railroad-74A4TZTK-CrQzn8Nm.mjs +0 -3
  245. package/dist/railroad-abnf-HS5TGJTU-BZYetxLz.mjs +0 -3
  246. package/dist/railroad-abnf-HS5TGJTU-CXU1aC4B.js +0 -1
  247. package/dist/railroad-ebnf-LZEXJU2U-D29kI3YW.js +0 -1
  248. package/dist/railroad-ebnf-LZEXJU2U-qgzTOmN6.mjs +0 -3
  249. package/dist/railroad-peg-WCYAUIDC-Bjs9Ws3P.mjs +0 -3
  250. package/dist/railroad-peg-WCYAUIDC-CXviP0hz.js +0 -1
  251. package/dist/railroadDiagram-O6MQD6OU-58kvwt7H.mjs +0 -76
  252. package/dist/railroadDiagram-O6MQD6OU-CKY3uzTc.js +0 -1
  253. package/dist/requirementDiagram-BXWQKSXE-0hZ04Q6h.js +0 -84
  254. package/dist/requirementDiagram-BXWQKSXE-CS673B5n.mjs +0 -2224
  255. package/dist/rough.esm-ChRLLRha.js +0 -1
  256. package/dist/rough.esm-DXYGHN3m.mjs +0 -1361
  257. package/dist/sankeyDiagram-P5KCCOFB-D1D6HfAM.mjs +0 -972
  258. package/dist/sankeyDiagram-P5KCCOFB-ciJb9Zr8.js +0 -40
  259. package/dist/sequenceDiagram-WJ2MYXX4-BXEznuI6.js +0 -162
  260. package/dist/sequenceDiagram-WJ2MYXX4-CI1VT8AG.mjs +0 -4156
  261. package/dist/sizeCapture-INFHLROL-BihkCH-7.js +0 -1
  262. package/dist/sizeCapture-INFHLROL-BmxqyOLj.mjs +0 -46
  263. package/dist/src-B4mN2BMl.js +0 -1
  264. package/dist/src-D_hsMyeP.mjs +0 -2154
  265. package/dist/stateDiagram-D77RDMKH-BQrSs72W.mjs +0 -220
  266. package/dist/stateDiagram-D77RDMKH-D2PtkW2U.js +0 -1
  267. package/dist/stateDiagram-v2-MP3YSRHH-CCbvNfk-.mjs +0 -30
  268. package/dist/stateDiagram-v2-MP3YSRHH-Dq1QuPeN.js +0 -1
  269. package/dist/swimlanes-42K2YHIH-CA316NPm.mjs +0 -4979
  270. package/dist/swimlanes-42K2YHIH-DlggBCTy.js +0 -1
  271. package/dist/swimlanesDiagram-VR7AAH4N-BV9PEIoG.js +0 -8
  272. package/dist/swimlanesDiagram-VR7AAH4N-BfrOCfdf.mjs +0 -31
  273. package/dist/timeline-definition-24CTP7MA-Bkd8rWNJ.js +0 -120
  274. package/dist/timeline-definition-24CTP7MA-BvkqNYt1.mjs +0 -1069
  275. package/dist/treeView-Q6P3EWNA-Aof3Cp1M.mjs +0 -3
  276. package/dist/treeView-Q6P3EWNA-BTzvdwbb.js +0 -1
  277. package/dist/treemap-WGGIJYW6-BNXGg99p.mjs +0 -3
  278. package/dist/treemap-WGGIJYW6-DfR4P2Hh.js +0 -1
  279. package/dist/types/runtime/app.d.ts +0 -9
  280. package/dist/types/runtime/components/AppearanceMenu.d.ts +0 -2
  281. package/dist/types/runtime/components/Builtins.d.ts +0 -44
  282. package/dist/types/runtime/components/Content.d.ts +0 -2
  283. package/dist/types/runtime/components/DmdRegistry.d.ts +0 -19
  284. package/dist/types/runtime/components/Layout.d.ts +0 -2
  285. package/dist/types/runtime/components/MermaidDiagram.d.ts +0 -16
  286. package/dist/types/runtime/components/Navbar.d.ts +0 -2
  287. package/dist/types/runtime/components/OfflineDownloadButton.d.ts +0 -2
  288. package/dist/types/runtime/components/OfflineNotice.d.ts +0 -6
  289. package/dist/types/runtime/components/Sidebar.d.ts +0 -2
  290. package/dist/types/runtime/components/TableOfContents.d.ts +0 -8
  291. package/dist/types/runtime/index.d.ts +0 -8
  292. package/dist/types/runtime/markdown/renderer.d.ts +0 -7
  293. package/dist/types/runtime/provider/DocProvider.d.ts +0 -40
  294. package/dist/types/runtime/provider/ThemeProvider.d.ts +0 -25
  295. package/dist/types/runtime/search/SearchModal.d.ts +0 -11
  296. package/dist/vennDiagram-4TSXK5OY-BOUFXjso.js +0 -34
  297. package/dist/vennDiagram-4TSXK5OY-CeOg3-hU.mjs +0 -1880
  298. package/dist/wardley-WFR3VGLG-BOYcSLd1.mjs +0 -3
  299. package/dist/wardley-WFR3VGLG-DWDqJSgm.js +0 -1
  300. package/dist/wardleyDiagram-VM6X3IG4-BhWgMjFr.js +0 -78
  301. package/dist/wardleyDiagram-VM6X3IG4-C31KoRmF.mjs +0 -645
  302. package/dist/xychartDiagram-S5SC5T6Z-1yU8zz6I.js +0 -7
  303. package/dist/xychartDiagram-S5SC5T6Z-BK7upFom.mjs +0 -2210
  304. package/templates/.dmd/components.js +0 -25
@@ -1,2224 +0,0 @@
1
- import { m as e } from "./src-D_hsMyeP.mjs";
2
- import { n as t, t as n } from "./chunk-Y2CYZVJY-i11wjrBe.mjs";
3
- import { H as r, K as i, U as a, a as o, b as s, v as c, w as l, x as u, y as d } from "./chunk-DU6HZSFF-BEQZSmUu.mjs";
4
- import { g as f } from "./chunk-75Z2AOVW-Dz0Sko9Y.mjs";
5
- import "./chunk-P2QGCYS3-6q3AXPt5.mjs";
6
- import "./chunk-PWAF6VOD-BYG76tEe.mjs";
7
- import "./chunk-GMAD6QVW-BZeZ4fdb.mjs";
8
- import "./chunk-4HAMMTFA-VgWPe1ng.mjs";
9
- import "./chunk-GVQU2GXP-B1D3J05J.mjs";
10
- import "./chunk-L3NEJ4N5-lal8wUID.mjs";
11
- import "./chunk-OSK3NFVY-9AWK88m1.mjs";
12
- import { r as p, t as m } from "./chunk-TLUHSLCS-CUrWaKDG.mjs";
13
- import { t as h } from "./chunk-XXDRQBXY-DpR8eYzz.mjs";
14
- import { t as g } from "./chunk-POPQ4Y6H-Dd7J9tx3.mjs";
15
- //#region node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-BXWQKSXE.mjs
16
- var _ = (function() {
17
- var e = /* @__PURE__ */ t(function(e, t, n, r) {
18
- for (n ||= {}, r = e.length; r--; n[e[r]] = t);
19
- return n;
20
- }, "o"), n = [1, 3], r = [1, 4], i = [1, 5], a = [1, 6], o = [
21
- 5,
22
- 6,
23
- 8,
24
- 9,
25
- 11,
26
- 13,
27
- 21,
28
- 22,
29
- 23,
30
- 24,
31
- 41,
32
- 42,
33
- 43,
34
- 44,
35
- 45,
36
- 46,
37
- 54,
38
- 72,
39
- 74,
40
- 77,
41
- 89,
42
- 90
43
- ], s = [1, 22], c = [2, 7], l = [1, 26], u = [1, 27], d = [1, 28], f = [1, 29], p = [1, 33], m = [1, 34], h = [1, 35], g = [1, 36], _ = [1, 37], v = [1, 38], y = [1, 24], b = [1, 31], x = [1, 32], S = [1, 30], C = [1, 39], w = [1, 40], T = [
44
- 5,
45
- 8,
46
- 9,
47
- 11,
48
- 13,
49
- 21,
50
- 22,
51
- 23,
52
- 24,
53
- 41,
54
- 42,
55
- 43,
56
- 44,
57
- 45,
58
- 46,
59
- 54,
60
- 72,
61
- 74,
62
- 77,
63
- 89,
64
- 90
65
- ], E = [1, 61], D = [89, 90], O = [
66
- 5,
67
- 8,
68
- 9,
69
- 11,
70
- 13,
71
- 21,
72
- 22,
73
- 23,
74
- 24,
75
- 27,
76
- 29,
77
- 41,
78
- 42,
79
- 43,
80
- 44,
81
- 45,
82
- 46,
83
- 54,
84
- 61,
85
- 63,
86
- 72,
87
- 74,
88
- 75,
89
- 76,
90
- 77,
91
- 80,
92
- 81,
93
- 82,
94
- 83,
95
- 84,
96
- 85,
97
- 86,
98
- 87,
99
- 88,
100
- 89,
101
- 90
102
- ], k = [27, 29], ee = [1, 70], A = [1, 71], te = [1, 72], ne = [1, 73], re = [1, 74], ie = [1, 75], ae = [1, 76], j = [1, 83], M = [1, 80], N = [1, 84], P = [1, 85], F = [1, 86], I = [1, 87], L = [1, 88], R = [1, 89], z = [1, 90], B = [1, 91], V = [1, 92], oe = [
103
- 5,
104
- 8,
105
- 9,
106
- 11,
107
- 13,
108
- 21,
109
- 22,
110
- 23,
111
- 24,
112
- 27,
113
- 41,
114
- 42,
115
- 43,
116
- 44,
117
- 45,
118
- 46,
119
- 54,
120
- 72,
121
- 74,
122
- 75,
123
- 76,
124
- 77,
125
- 80,
126
- 81,
127
- 82,
128
- 83,
129
- 84,
130
- 85,
131
- 86,
132
- 87,
133
- 88,
134
- 89,
135
- 90
136
- ], H = [63, 64], se = [1, 101], ce = [
137
- 5,
138
- 8,
139
- 9,
140
- 11,
141
- 13,
142
- 21,
143
- 22,
144
- 23,
145
- 24,
146
- 41,
147
- 42,
148
- 43,
149
- 44,
150
- 45,
151
- 46,
152
- 54,
153
- 72,
154
- 74,
155
- 76,
156
- 77,
157
- 89,
158
- 90
159
- ], U = [
160
- 5,
161
- 8,
162
- 9,
163
- 11,
164
- 13,
165
- 21,
166
- 22,
167
- 23,
168
- 24,
169
- 41,
170
- 42,
171
- 43,
172
- 44,
173
- 45,
174
- 46,
175
- 54,
176
- 72,
177
- 74,
178
- 75,
179
- 76,
180
- 77,
181
- 80,
182
- 81,
183
- 82,
184
- 83,
185
- 84,
186
- 85,
187
- 86,
188
- 87,
189
- 88,
190
- 89,
191
- 90
192
- ], W = [1, 110], G = [1, 106], K = [1, 107], q = [1, 108], J = [1, 109], Y = [1, 111], X = [1, 116], Z = [1, 117], Q = [1, 114], $ = [1, 115], le = {
193
- trace: /* @__PURE__ */ t(function() {}, "trace"),
194
- yy: {},
195
- symbols_: {
196
- error: 2,
197
- start: 3,
198
- directive: 4,
199
- NEWLINE: 5,
200
- RD: 6,
201
- diagram: 7,
202
- EOF: 8,
203
- acc_title: 9,
204
- acc_title_value: 10,
205
- acc_descr: 11,
206
- acc_descr_value: 12,
207
- acc_descr_multiline_value: 13,
208
- requirementDef: 14,
209
- elementDef: 15,
210
- relationshipDef: 16,
211
- direction: 17,
212
- styleStatement: 18,
213
- classDefStatement: 19,
214
- classStatement: 20,
215
- direction_tb: 21,
216
- direction_bt: 22,
217
- direction_rl: 23,
218
- direction_lr: 24,
219
- requirementType: 25,
220
- requirementName: 26,
221
- STRUCT_START: 27,
222
- requirementBody: 28,
223
- STYLE_SEPARATOR: 29,
224
- idList: 30,
225
- ID: 31,
226
- COLONSEP: 32,
227
- id: 33,
228
- TEXT: 34,
229
- text: 35,
230
- RISK: 36,
231
- riskLevel: 37,
232
- VERIFYMTHD: 38,
233
- verifyType: 39,
234
- STRUCT_STOP: 40,
235
- REQUIREMENT: 41,
236
- FUNCTIONAL_REQUIREMENT: 42,
237
- INTERFACE_REQUIREMENT: 43,
238
- PERFORMANCE_REQUIREMENT: 44,
239
- PHYSICAL_REQUIREMENT: 45,
240
- DESIGN_CONSTRAINT: 46,
241
- LOW_RISK: 47,
242
- MED_RISK: 48,
243
- HIGH_RISK: 49,
244
- VERIFY_ANALYSIS: 50,
245
- VERIFY_DEMONSTRATION: 51,
246
- VERIFY_INSPECTION: 52,
247
- VERIFY_TEST: 53,
248
- ELEMENT: 54,
249
- elementName: 55,
250
- elementBody: 56,
251
- TYPE: 57,
252
- type: 58,
253
- DOCREF: 59,
254
- ref: 60,
255
- END_ARROW_L: 61,
256
- relationship: 62,
257
- LINE: 63,
258
- END_ARROW_R: 64,
259
- CONTAINS: 65,
260
- COPIES: 66,
261
- DERIVES: 67,
262
- SATISFIES: 68,
263
- VERIFIES: 69,
264
- REFINES: 70,
265
- TRACES: 71,
266
- CLASSDEF: 72,
267
- stylesOpt: 73,
268
- CLASS: 74,
269
- ALPHA: 75,
270
- COMMA: 76,
271
- STYLE: 77,
272
- style: 78,
273
- styleComponent: 79,
274
- NUM: 80,
275
- COLON: 81,
276
- UNIT: 82,
277
- SPACE: 83,
278
- BRKT: 84,
279
- PCT: 85,
280
- MINUS: 86,
281
- LABEL: 87,
282
- SEMICOLON: 88,
283
- unqString: 89,
284
- qString: 90,
285
- $accept: 0,
286
- $end: 1
287
- },
288
- terminals_: {
289
- 2: "error",
290
- 5: "NEWLINE",
291
- 6: "RD",
292
- 8: "EOF",
293
- 9: "acc_title",
294
- 10: "acc_title_value",
295
- 11: "acc_descr",
296
- 12: "acc_descr_value",
297
- 13: "acc_descr_multiline_value",
298
- 21: "direction_tb",
299
- 22: "direction_bt",
300
- 23: "direction_rl",
301
- 24: "direction_lr",
302
- 27: "STRUCT_START",
303
- 29: "STYLE_SEPARATOR",
304
- 31: "ID",
305
- 32: "COLONSEP",
306
- 34: "TEXT",
307
- 36: "RISK",
308
- 38: "VERIFYMTHD",
309
- 40: "STRUCT_STOP",
310
- 41: "REQUIREMENT",
311
- 42: "FUNCTIONAL_REQUIREMENT",
312
- 43: "INTERFACE_REQUIREMENT",
313
- 44: "PERFORMANCE_REQUIREMENT",
314
- 45: "PHYSICAL_REQUIREMENT",
315
- 46: "DESIGN_CONSTRAINT",
316
- 47: "LOW_RISK",
317
- 48: "MED_RISK",
318
- 49: "HIGH_RISK",
319
- 50: "VERIFY_ANALYSIS",
320
- 51: "VERIFY_DEMONSTRATION",
321
- 52: "VERIFY_INSPECTION",
322
- 53: "VERIFY_TEST",
323
- 54: "ELEMENT",
324
- 57: "TYPE",
325
- 59: "DOCREF",
326
- 61: "END_ARROW_L",
327
- 63: "LINE",
328
- 64: "END_ARROW_R",
329
- 65: "CONTAINS",
330
- 66: "COPIES",
331
- 67: "DERIVES",
332
- 68: "SATISFIES",
333
- 69: "VERIFIES",
334
- 70: "REFINES",
335
- 71: "TRACES",
336
- 72: "CLASSDEF",
337
- 74: "CLASS",
338
- 75: "ALPHA",
339
- 76: "COMMA",
340
- 77: "STYLE",
341
- 80: "NUM",
342
- 81: "COLON",
343
- 82: "UNIT",
344
- 83: "SPACE",
345
- 84: "BRKT",
346
- 85: "PCT",
347
- 86: "MINUS",
348
- 87: "LABEL",
349
- 88: "SEMICOLON",
350
- 89: "unqString",
351
- 90: "qString"
352
- },
353
- productions_: [
354
- 0,
355
- [3, 3],
356
- [3, 2],
357
- [3, 4],
358
- [4, 2],
359
- [4, 2],
360
- [4, 1],
361
- [7, 0],
362
- [7, 2],
363
- [7, 2],
364
- [7, 2],
365
- [7, 2],
366
- [7, 2],
367
- [7, 2],
368
- [7, 2],
369
- [7, 2],
370
- [7, 2],
371
- [17, 1],
372
- [17, 1],
373
- [17, 1],
374
- [17, 1],
375
- [14, 5],
376
- [14, 7],
377
- [28, 5],
378
- [28, 5],
379
- [28, 5],
380
- [28, 5],
381
- [28, 2],
382
- [28, 1],
383
- [25, 1],
384
- [25, 1],
385
- [25, 1],
386
- [25, 1],
387
- [25, 1],
388
- [25, 1],
389
- [37, 1],
390
- [37, 1],
391
- [37, 1],
392
- [39, 1],
393
- [39, 1],
394
- [39, 1],
395
- [39, 1],
396
- [15, 5],
397
- [15, 7],
398
- [56, 5],
399
- [56, 5],
400
- [56, 2],
401
- [56, 1],
402
- [16, 5],
403
- [16, 5],
404
- [62, 1],
405
- [62, 1],
406
- [62, 1],
407
- [62, 1],
408
- [62, 1],
409
- [62, 1],
410
- [62, 1],
411
- [19, 3],
412
- [20, 3],
413
- [20, 3],
414
- [30, 1],
415
- [30, 3],
416
- [30, 1],
417
- [30, 3],
418
- [18, 3],
419
- [73, 1],
420
- [73, 3],
421
- [78, 1],
422
- [78, 2],
423
- [79, 1],
424
- [79, 1],
425
- [79, 1],
426
- [79, 1],
427
- [79, 1],
428
- [79, 1],
429
- [79, 1],
430
- [79, 1],
431
- [79, 1],
432
- [79, 1],
433
- [26, 1],
434
- [26, 1],
435
- [33, 1],
436
- [33, 1],
437
- [35, 1],
438
- [35, 1],
439
- [55, 1],
440
- [55, 1],
441
- [58, 1],
442
- [58, 1],
443
- [60, 1],
444
- [60, 1]
445
- ],
446
- performAction: /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
447
- var s = a.length - 1;
448
- switch (i) {
449
- case 4:
450
- this.$ = a[s].trim(), r.setAccTitle(this.$);
451
- break;
452
- case 5:
453
- case 6:
454
- this.$ = a[s].trim(), r.setAccDescription(this.$);
455
- break;
456
- case 7:
457
- this.$ = [];
458
- break;
459
- case 17:
460
- r.setDirection("TB");
461
- break;
462
- case 18:
463
- r.setDirection("BT");
464
- break;
465
- case 19:
466
- r.setDirection("RL");
467
- break;
468
- case 20:
469
- r.setDirection("LR");
470
- break;
471
- case 21:
472
- r.addRequirement(a[s - 3], a[s - 4]);
473
- break;
474
- case 22:
475
- r.addRequirement(a[s - 5], a[s - 6]), r.setClass([a[s - 5]], a[s - 3]);
476
- break;
477
- case 23:
478
- r.setNewReqId(a[s - 2]);
479
- break;
480
- case 24:
481
- r.setNewReqText(a[s - 2]);
482
- break;
483
- case 25:
484
- r.setNewReqRisk(a[s - 2]);
485
- break;
486
- case 26:
487
- r.setNewReqVerifyMethod(a[s - 2]);
488
- break;
489
- case 29:
490
- this.$ = r.RequirementType.REQUIREMENT;
491
- break;
492
- case 30:
493
- this.$ = r.RequirementType.FUNCTIONAL_REQUIREMENT;
494
- break;
495
- case 31:
496
- this.$ = r.RequirementType.INTERFACE_REQUIREMENT;
497
- break;
498
- case 32:
499
- this.$ = r.RequirementType.PERFORMANCE_REQUIREMENT;
500
- break;
501
- case 33:
502
- this.$ = r.RequirementType.PHYSICAL_REQUIREMENT;
503
- break;
504
- case 34:
505
- this.$ = r.RequirementType.DESIGN_CONSTRAINT;
506
- break;
507
- case 35:
508
- this.$ = r.RiskLevel.LOW_RISK;
509
- break;
510
- case 36:
511
- this.$ = r.RiskLevel.MED_RISK;
512
- break;
513
- case 37:
514
- this.$ = r.RiskLevel.HIGH_RISK;
515
- break;
516
- case 38:
517
- this.$ = r.VerifyType.VERIFY_ANALYSIS;
518
- break;
519
- case 39:
520
- this.$ = r.VerifyType.VERIFY_DEMONSTRATION;
521
- break;
522
- case 40:
523
- this.$ = r.VerifyType.VERIFY_INSPECTION;
524
- break;
525
- case 41:
526
- this.$ = r.VerifyType.VERIFY_TEST;
527
- break;
528
- case 42:
529
- r.addElement(a[s - 3]);
530
- break;
531
- case 43:
532
- r.addElement(a[s - 5]), r.setClass([a[s - 5]], a[s - 3]);
533
- break;
534
- case 44:
535
- r.setNewElementType(a[s - 2]);
536
- break;
537
- case 45:
538
- r.setNewElementDocRef(a[s - 2]);
539
- break;
540
- case 48:
541
- r.addRelationship(a[s - 2], a[s], a[s - 4]);
542
- break;
543
- case 49:
544
- r.addRelationship(a[s - 2], a[s - 4], a[s]);
545
- break;
546
- case 50:
547
- this.$ = r.Relationships.CONTAINS;
548
- break;
549
- case 51:
550
- this.$ = r.Relationships.COPIES;
551
- break;
552
- case 52:
553
- this.$ = r.Relationships.DERIVES;
554
- break;
555
- case 53:
556
- this.$ = r.Relationships.SATISFIES;
557
- break;
558
- case 54:
559
- this.$ = r.Relationships.VERIFIES;
560
- break;
561
- case 55:
562
- this.$ = r.Relationships.REFINES;
563
- break;
564
- case 56:
565
- this.$ = r.Relationships.TRACES;
566
- break;
567
- case 57:
568
- this.$ = a[s - 2], r.defineClass(a[s - 1], a[s]);
569
- break;
570
- case 58:
571
- r.setClass(a[s - 1], a[s]);
572
- break;
573
- case 59:
574
- r.setClass([a[s - 2]], a[s]);
575
- break;
576
- case 60:
577
- case 62:
578
- this.$ = [a[s]];
579
- break;
580
- case 61:
581
- case 63:
582
- this.$ = a[s - 2].concat([a[s]]);
583
- break;
584
- case 64:
585
- this.$ = a[s - 2], r.setCssStyle(a[s - 1], a[s]);
586
- break;
587
- case 65:
588
- this.$ = [a[s]];
589
- break;
590
- case 66:
591
- a[s - 2].push(a[s]), this.$ = a[s - 2];
592
- break;
593
- case 68: this.$ = a[s - 1] + a[s];
594
- }
595
- }, "anonymous"),
596
- table: [
597
- {
598
- 3: 1,
599
- 4: 2,
600
- 6: n,
601
- 9: r,
602
- 11: i,
603
- 13: a
604
- },
605
- { 1: [3] },
606
- {
607
- 3: 8,
608
- 4: 2,
609
- 5: [1, 7],
610
- 6: n,
611
- 9: r,
612
- 11: i,
613
- 13: a
614
- },
615
- { 5: [1, 9] },
616
- { 10: [1, 10] },
617
- { 12: [1, 11] },
618
- e(o, [2, 6]),
619
- {
620
- 3: 12,
621
- 4: 2,
622
- 6: n,
623
- 9: r,
624
- 11: i,
625
- 13: a
626
- },
627
- { 1: [2, 2] },
628
- {
629
- 4: 17,
630
- 5: s,
631
- 7: 13,
632
- 8: c,
633
- 9: r,
634
- 11: i,
635
- 13: a,
636
- 14: 14,
637
- 15: 15,
638
- 16: 16,
639
- 17: 18,
640
- 18: 19,
641
- 19: 20,
642
- 20: 21,
643
- 21: l,
644
- 22: u,
645
- 23: d,
646
- 24: f,
647
- 25: 23,
648
- 33: 25,
649
- 41: p,
650
- 42: m,
651
- 43: h,
652
- 44: g,
653
- 45: _,
654
- 46: v,
655
- 54: y,
656
- 72: b,
657
- 74: x,
658
- 77: S,
659
- 89: C,
660
- 90: w
661
- },
662
- e(o, [2, 4]),
663
- e(o, [2, 5]),
664
- { 1: [2, 1] },
665
- { 8: [1, 41] },
666
- {
667
- 4: 17,
668
- 5: s,
669
- 7: 42,
670
- 8: c,
671
- 9: r,
672
- 11: i,
673
- 13: a,
674
- 14: 14,
675
- 15: 15,
676
- 16: 16,
677
- 17: 18,
678
- 18: 19,
679
- 19: 20,
680
- 20: 21,
681
- 21: l,
682
- 22: u,
683
- 23: d,
684
- 24: f,
685
- 25: 23,
686
- 33: 25,
687
- 41: p,
688
- 42: m,
689
- 43: h,
690
- 44: g,
691
- 45: _,
692
- 46: v,
693
- 54: y,
694
- 72: b,
695
- 74: x,
696
- 77: S,
697
- 89: C,
698
- 90: w
699
- },
700
- {
701
- 4: 17,
702
- 5: s,
703
- 7: 43,
704
- 8: c,
705
- 9: r,
706
- 11: i,
707
- 13: a,
708
- 14: 14,
709
- 15: 15,
710
- 16: 16,
711
- 17: 18,
712
- 18: 19,
713
- 19: 20,
714
- 20: 21,
715
- 21: l,
716
- 22: u,
717
- 23: d,
718
- 24: f,
719
- 25: 23,
720
- 33: 25,
721
- 41: p,
722
- 42: m,
723
- 43: h,
724
- 44: g,
725
- 45: _,
726
- 46: v,
727
- 54: y,
728
- 72: b,
729
- 74: x,
730
- 77: S,
731
- 89: C,
732
- 90: w
733
- },
734
- {
735
- 4: 17,
736
- 5: s,
737
- 7: 44,
738
- 8: c,
739
- 9: r,
740
- 11: i,
741
- 13: a,
742
- 14: 14,
743
- 15: 15,
744
- 16: 16,
745
- 17: 18,
746
- 18: 19,
747
- 19: 20,
748
- 20: 21,
749
- 21: l,
750
- 22: u,
751
- 23: d,
752
- 24: f,
753
- 25: 23,
754
- 33: 25,
755
- 41: p,
756
- 42: m,
757
- 43: h,
758
- 44: g,
759
- 45: _,
760
- 46: v,
761
- 54: y,
762
- 72: b,
763
- 74: x,
764
- 77: S,
765
- 89: C,
766
- 90: w
767
- },
768
- {
769
- 4: 17,
770
- 5: s,
771
- 7: 45,
772
- 8: c,
773
- 9: r,
774
- 11: i,
775
- 13: a,
776
- 14: 14,
777
- 15: 15,
778
- 16: 16,
779
- 17: 18,
780
- 18: 19,
781
- 19: 20,
782
- 20: 21,
783
- 21: l,
784
- 22: u,
785
- 23: d,
786
- 24: f,
787
- 25: 23,
788
- 33: 25,
789
- 41: p,
790
- 42: m,
791
- 43: h,
792
- 44: g,
793
- 45: _,
794
- 46: v,
795
- 54: y,
796
- 72: b,
797
- 74: x,
798
- 77: S,
799
- 89: C,
800
- 90: w
801
- },
802
- {
803
- 4: 17,
804
- 5: s,
805
- 7: 46,
806
- 8: c,
807
- 9: r,
808
- 11: i,
809
- 13: a,
810
- 14: 14,
811
- 15: 15,
812
- 16: 16,
813
- 17: 18,
814
- 18: 19,
815
- 19: 20,
816
- 20: 21,
817
- 21: l,
818
- 22: u,
819
- 23: d,
820
- 24: f,
821
- 25: 23,
822
- 33: 25,
823
- 41: p,
824
- 42: m,
825
- 43: h,
826
- 44: g,
827
- 45: _,
828
- 46: v,
829
- 54: y,
830
- 72: b,
831
- 74: x,
832
- 77: S,
833
- 89: C,
834
- 90: w
835
- },
836
- {
837
- 4: 17,
838
- 5: s,
839
- 7: 47,
840
- 8: c,
841
- 9: r,
842
- 11: i,
843
- 13: a,
844
- 14: 14,
845
- 15: 15,
846
- 16: 16,
847
- 17: 18,
848
- 18: 19,
849
- 19: 20,
850
- 20: 21,
851
- 21: l,
852
- 22: u,
853
- 23: d,
854
- 24: f,
855
- 25: 23,
856
- 33: 25,
857
- 41: p,
858
- 42: m,
859
- 43: h,
860
- 44: g,
861
- 45: _,
862
- 46: v,
863
- 54: y,
864
- 72: b,
865
- 74: x,
866
- 77: S,
867
- 89: C,
868
- 90: w
869
- },
870
- {
871
- 4: 17,
872
- 5: s,
873
- 7: 48,
874
- 8: c,
875
- 9: r,
876
- 11: i,
877
- 13: a,
878
- 14: 14,
879
- 15: 15,
880
- 16: 16,
881
- 17: 18,
882
- 18: 19,
883
- 19: 20,
884
- 20: 21,
885
- 21: l,
886
- 22: u,
887
- 23: d,
888
- 24: f,
889
- 25: 23,
890
- 33: 25,
891
- 41: p,
892
- 42: m,
893
- 43: h,
894
- 44: g,
895
- 45: _,
896
- 46: v,
897
- 54: y,
898
- 72: b,
899
- 74: x,
900
- 77: S,
901
- 89: C,
902
- 90: w
903
- },
904
- {
905
- 4: 17,
906
- 5: s,
907
- 7: 49,
908
- 8: c,
909
- 9: r,
910
- 11: i,
911
- 13: a,
912
- 14: 14,
913
- 15: 15,
914
- 16: 16,
915
- 17: 18,
916
- 18: 19,
917
- 19: 20,
918
- 20: 21,
919
- 21: l,
920
- 22: u,
921
- 23: d,
922
- 24: f,
923
- 25: 23,
924
- 33: 25,
925
- 41: p,
926
- 42: m,
927
- 43: h,
928
- 44: g,
929
- 45: _,
930
- 46: v,
931
- 54: y,
932
- 72: b,
933
- 74: x,
934
- 77: S,
935
- 89: C,
936
- 90: w
937
- },
938
- {
939
- 4: 17,
940
- 5: s,
941
- 7: 50,
942
- 8: c,
943
- 9: r,
944
- 11: i,
945
- 13: a,
946
- 14: 14,
947
- 15: 15,
948
- 16: 16,
949
- 17: 18,
950
- 18: 19,
951
- 19: 20,
952
- 20: 21,
953
- 21: l,
954
- 22: u,
955
- 23: d,
956
- 24: f,
957
- 25: 23,
958
- 33: 25,
959
- 41: p,
960
- 42: m,
961
- 43: h,
962
- 44: g,
963
- 45: _,
964
- 46: v,
965
- 54: y,
966
- 72: b,
967
- 74: x,
968
- 77: S,
969
- 89: C,
970
- 90: w
971
- },
972
- {
973
- 26: 51,
974
- 89: [1, 52],
975
- 90: [1, 53]
976
- },
977
- {
978
- 55: 54,
979
- 89: [1, 55],
980
- 90: [1, 56]
981
- },
982
- {
983
- 29: [1, 59],
984
- 61: [1, 57],
985
- 63: [1, 58]
986
- },
987
- e(T, [2, 17]),
988
- e(T, [2, 18]),
989
- e(T, [2, 19]),
990
- e(T, [2, 20]),
991
- {
992
- 30: 60,
993
- 33: 62,
994
- 75: E,
995
- 89: C,
996
- 90: w
997
- },
998
- {
999
- 30: 63,
1000
- 33: 62,
1001
- 75: E,
1002
- 89: C,
1003
- 90: w
1004
- },
1005
- {
1006
- 30: 64,
1007
- 33: 62,
1008
- 75: E,
1009
- 89: C,
1010
- 90: w
1011
- },
1012
- e(D, [2, 29]),
1013
- e(D, [2, 30]),
1014
- e(D, [2, 31]),
1015
- e(D, [2, 32]),
1016
- e(D, [2, 33]),
1017
- e(D, [2, 34]),
1018
- e(O, [2, 81]),
1019
- e(O, [2, 82]),
1020
- { 1: [2, 3] },
1021
- { 8: [2, 8] },
1022
- { 8: [2, 9] },
1023
- { 8: [2, 10] },
1024
- { 8: [2, 11] },
1025
- { 8: [2, 12] },
1026
- { 8: [2, 13] },
1027
- { 8: [2, 14] },
1028
- { 8: [2, 15] },
1029
- { 8: [2, 16] },
1030
- {
1031
- 27: [1, 65],
1032
- 29: [1, 66]
1033
- },
1034
- e(k, [2, 79]),
1035
- e(k, [2, 80]),
1036
- {
1037
- 27: [1, 67],
1038
- 29: [1, 68]
1039
- },
1040
- e(k, [2, 85]),
1041
- e(k, [2, 86]),
1042
- {
1043
- 62: 69,
1044
- 65: ee,
1045
- 66: A,
1046
- 67: te,
1047
- 68: ne,
1048
- 69: re,
1049
- 70: ie,
1050
- 71: ae
1051
- },
1052
- {
1053
- 62: 77,
1054
- 65: ee,
1055
- 66: A,
1056
- 67: te,
1057
- 68: ne,
1058
- 69: re,
1059
- 70: ie,
1060
- 71: ae
1061
- },
1062
- {
1063
- 30: 78,
1064
- 33: 62,
1065
- 75: E,
1066
- 89: C,
1067
- 90: w
1068
- },
1069
- {
1070
- 73: 79,
1071
- 75: j,
1072
- 76: M,
1073
- 78: 81,
1074
- 79: 82,
1075
- 80: N,
1076
- 81: P,
1077
- 82: F,
1078
- 83: I,
1079
- 84: L,
1080
- 85: R,
1081
- 86: z,
1082
- 87: B,
1083
- 88: V
1084
- },
1085
- e(oe, [2, 60]),
1086
- e(oe, [2, 62]),
1087
- {
1088
- 73: 93,
1089
- 75: j,
1090
- 76: M,
1091
- 78: 81,
1092
- 79: 82,
1093
- 80: N,
1094
- 81: P,
1095
- 82: F,
1096
- 83: I,
1097
- 84: L,
1098
- 85: R,
1099
- 86: z,
1100
- 87: B,
1101
- 88: V
1102
- },
1103
- {
1104
- 30: 94,
1105
- 33: 62,
1106
- 75: E,
1107
- 76: M,
1108
- 89: C,
1109
- 90: w
1110
- },
1111
- { 5: [1, 95] },
1112
- {
1113
- 30: 96,
1114
- 33: 62,
1115
- 75: E,
1116
- 89: C,
1117
- 90: w
1118
- },
1119
- { 5: [1, 97] },
1120
- {
1121
- 30: 98,
1122
- 33: 62,
1123
- 75: E,
1124
- 89: C,
1125
- 90: w
1126
- },
1127
- { 63: [1, 99] },
1128
- e(H, [2, 50]),
1129
- e(H, [2, 51]),
1130
- e(H, [2, 52]),
1131
- e(H, [2, 53]),
1132
- e(H, [2, 54]),
1133
- e(H, [2, 55]),
1134
- e(H, [2, 56]),
1135
- { 64: [1, 100] },
1136
- e(T, [2, 59], { 76: M }),
1137
- e(T, [2, 64], { 76: se }),
1138
- {
1139
- 33: 103,
1140
- 75: [1, 102],
1141
- 89: C,
1142
- 90: w
1143
- },
1144
- e(ce, [2, 65], {
1145
- 79: 104,
1146
- 75: j,
1147
- 80: N,
1148
- 81: P,
1149
- 82: F,
1150
- 83: I,
1151
- 84: L,
1152
- 85: R,
1153
- 86: z,
1154
- 87: B,
1155
- 88: V
1156
- }),
1157
- e(U, [2, 67]),
1158
- e(U, [2, 69]),
1159
- e(U, [2, 70]),
1160
- e(U, [2, 71]),
1161
- e(U, [2, 72]),
1162
- e(U, [2, 73]),
1163
- e(U, [2, 74]),
1164
- e(U, [2, 75]),
1165
- e(U, [2, 76]),
1166
- e(U, [2, 77]),
1167
- e(U, [2, 78]),
1168
- e(T, [2, 57], { 76: se }),
1169
- e(T, [2, 58], { 76: M }),
1170
- {
1171
- 5: W,
1172
- 28: 105,
1173
- 31: G,
1174
- 34: K,
1175
- 36: q,
1176
- 38: J,
1177
- 40: Y
1178
- },
1179
- {
1180
- 27: [1, 112],
1181
- 76: M
1182
- },
1183
- {
1184
- 5: X,
1185
- 40: Z,
1186
- 56: 113,
1187
- 57: Q,
1188
- 59: $
1189
- },
1190
- {
1191
- 27: [1, 118],
1192
- 76: M
1193
- },
1194
- {
1195
- 33: 119,
1196
- 89: C,
1197
- 90: w
1198
- },
1199
- {
1200
- 33: 120,
1201
- 89: C,
1202
- 90: w
1203
- },
1204
- {
1205
- 75: j,
1206
- 78: 121,
1207
- 79: 82,
1208
- 80: N,
1209
- 81: P,
1210
- 82: F,
1211
- 83: I,
1212
- 84: L,
1213
- 85: R,
1214
- 86: z,
1215
- 87: B,
1216
- 88: V
1217
- },
1218
- e(oe, [2, 61]),
1219
- e(oe, [2, 63]),
1220
- e(U, [2, 68]),
1221
- e(T, [2, 21]),
1222
- { 32: [1, 122] },
1223
- { 32: [1, 123] },
1224
- { 32: [1, 124] },
1225
- { 32: [1, 125] },
1226
- {
1227
- 5: W,
1228
- 28: 126,
1229
- 31: G,
1230
- 34: K,
1231
- 36: q,
1232
- 38: J,
1233
- 40: Y
1234
- },
1235
- e(T, [2, 28]),
1236
- { 5: [1, 127] },
1237
- e(T, [2, 42]),
1238
- { 32: [1, 128] },
1239
- { 32: [1, 129] },
1240
- {
1241
- 5: X,
1242
- 40: Z,
1243
- 56: 130,
1244
- 57: Q,
1245
- 59: $
1246
- },
1247
- e(T, [2, 47]),
1248
- { 5: [1, 131] },
1249
- e(T, [2, 48]),
1250
- e(T, [2, 49]),
1251
- e(ce, [2, 66], {
1252
- 79: 104,
1253
- 75: j,
1254
- 80: N,
1255
- 81: P,
1256
- 82: F,
1257
- 83: I,
1258
- 84: L,
1259
- 85: R,
1260
- 86: z,
1261
- 87: B,
1262
- 88: V
1263
- }),
1264
- {
1265
- 33: 132,
1266
- 89: C,
1267
- 90: w
1268
- },
1269
- {
1270
- 35: 133,
1271
- 89: [1, 134],
1272
- 90: [1, 135]
1273
- },
1274
- {
1275
- 37: 136,
1276
- 47: [1, 137],
1277
- 48: [1, 138],
1278
- 49: [1, 139]
1279
- },
1280
- {
1281
- 39: 140,
1282
- 50: [1, 141],
1283
- 51: [1, 142],
1284
- 52: [1, 143],
1285
- 53: [1, 144]
1286
- },
1287
- e(T, [2, 27]),
1288
- {
1289
- 5: W,
1290
- 28: 145,
1291
- 31: G,
1292
- 34: K,
1293
- 36: q,
1294
- 38: J,
1295
- 40: Y
1296
- },
1297
- {
1298
- 58: 146,
1299
- 89: [1, 147],
1300
- 90: [1, 148]
1301
- },
1302
- {
1303
- 60: 149,
1304
- 89: [1, 150],
1305
- 90: [1, 151]
1306
- },
1307
- e(T, [2, 46]),
1308
- {
1309
- 5: X,
1310
- 40: Z,
1311
- 56: 152,
1312
- 57: Q,
1313
- 59: $
1314
- },
1315
- { 5: [1, 153] },
1316
- { 5: [1, 154] },
1317
- { 5: [2, 83] },
1318
- { 5: [2, 84] },
1319
- { 5: [1, 155] },
1320
- { 5: [2, 35] },
1321
- { 5: [2, 36] },
1322
- { 5: [2, 37] },
1323
- { 5: [1, 156] },
1324
- { 5: [2, 38] },
1325
- { 5: [2, 39] },
1326
- { 5: [2, 40] },
1327
- { 5: [2, 41] },
1328
- e(T, [2, 22]),
1329
- { 5: [1, 157] },
1330
- { 5: [2, 87] },
1331
- { 5: [2, 88] },
1332
- { 5: [1, 158] },
1333
- { 5: [2, 89] },
1334
- { 5: [2, 90] },
1335
- e(T, [2, 43]),
1336
- {
1337
- 5: W,
1338
- 28: 159,
1339
- 31: G,
1340
- 34: K,
1341
- 36: q,
1342
- 38: J,
1343
- 40: Y
1344
- },
1345
- {
1346
- 5: W,
1347
- 28: 160,
1348
- 31: G,
1349
- 34: K,
1350
- 36: q,
1351
- 38: J,
1352
- 40: Y
1353
- },
1354
- {
1355
- 5: W,
1356
- 28: 161,
1357
- 31: G,
1358
- 34: K,
1359
- 36: q,
1360
- 38: J,
1361
- 40: Y
1362
- },
1363
- {
1364
- 5: W,
1365
- 28: 162,
1366
- 31: G,
1367
- 34: K,
1368
- 36: q,
1369
- 38: J,
1370
- 40: Y
1371
- },
1372
- {
1373
- 5: X,
1374
- 40: Z,
1375
- 56: 163,
1376
- 57: Q,
1377
- 59: $
1378
- },
1379
- {
1380
- 5: X,
1381
- 40: Z,
1382
- 56: 164,
1383
- 57: Q,
1384
- 59: $
1385
- },
1386
- e(T, [2, 23]),
1387
- e(T, [2, 24]),
1388
- e(T, [2, 25]),
1389
- e(T, [2, 26]),
1390
- e(T, [2, 44]),
1391
- e(T, [2, 45])
1392
- ],
1393
- defaultActions: {
1394
- 8: [2, 2],
1395
- 12: [2, 1],
1396
- 41: [2, 3],
1397
- 42: [2, 8],
1398
- 43: [2, 9],
1399
- 44: [2, 10],
1400
- 45: [2, 11],
1401
- 46: [2, 12],
1402
- 47: [2, 13],
1403
- 48: [2, 14],
1404
- 49: [2, 15],
1405
- 50: [2, 16],
1406
- 134: [2, 83],
1407
- 135: [2, 84],
1408
- 137: [2, 35],
1409
- 138: [2, 36],
1410
- 139: [2, 37],
1411
- 141: [2, 38],
1412
- 142: [2, 39],
1413
- 143: [2, 40],
1414
- 144: [2, 41],
1415
- 147: [2, 87],
1416
- 148: [2, 88],
1417
- 150: [2, 89],
1418
- 151: [2, 90]
1419
- },
1420
- parseError: /* @__PURE__ */ t(function(e, t) {
1421
- if (t.recoverable) this.trace(e);
1422
- else {
1423
- var n = Error(e);
1424
- throw n.hash = t, n;
1425
- }
1426
- }, "parseError"),
1427
- parse: /* @__PURE__ */ t(function(e) {
1428
- var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
1429
- for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
1430
- h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
1431
- var v = h.yylloc;
1432
- o.push(v);
1433
- var y = h.options && h.options.ranges;
1434
- this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
1435
- function b(e) {
1436
- r.length -= 2 * e, a.length -= e, o.length -= e;
1437
- }
1438
- t(b, "popStack");
1439
- function x() {
1440
- var e = i.pop() || h.lex() || p;
1441
- return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
1442
- }
1443
- t(x, "lex");
1444
- for (var S, C, w, T, E, D = {}, O, k, ee, A;;) {
1445
- if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
1446
- var te = "";
1447
- for (O in A = [], s[w]) this.terminals_[O] && O > f && A.push("'" + this.terminals_[O] + "'");
1448
- te = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + A.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(te, {
1449
- text: h.match,
1450
- token: this.terminals_[S] || S,
1451
- line: h.yylineno,
1452
- loc: v,
1453
- expected: A
1454
- });
1455
- }
1456
- if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
1457
- switch (T[0]) {
1458
- case 1:
1459
- r.push(S), a.push(h.yytext), o.push(h.yylloc), r.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
1460
- break;
1461
- case 2:
1462
- if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
1463
- first_line: o[o.length - (k || 1)].first_line,
1464
- last_line: o[o.length - 1].last_line,
1465
- first_column: o[o.length - (k || 1)].first_column,
1466
- last_column: o[o.length - 1].last_column
1467
- }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
1468
- c,
1469
- u,
1470
- l,
1471
- g.yy,
1472
- T[1],
1473
- a,
1474
- o
1475
- ].concat(m)), E !== void 0) return E;
1476
- k && (r = r.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), r.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), ee = s[r[r.length - 2]][r[r.length - 1]], r.push(ee);
1477
- break;
1478
- case 3: return !0;
1479
- }
1480
- }
1481
- return !0;
1482
- }, "parse")
1483
- };
1484
- le.lexer = /* @__PURE__ */ (function() {
1485
- return {
1486
- EOF: 1,
1487
- parseError: /* @__PURE__ */ t(function(e, t) {
1488
- if (this.yy.parser) this.yy.parser.parseError(e, t);
1489
- else throw Error(e);
1490
- }, "parseError"),
1491
- setInput: /* @__PURE__ */ t(function(e, t) {
1492
- return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1493
- first_line: 1,
1494
- first_column: 0,
1495
- last_line: 1,
1496
- last_column: 0
1497
- }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1498
- }, "setInput"),
1499
- input: /* @__PURE__ */ t(function() {
1500
- var e = this._input[0];
1501
- return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
1502
- }, "input"),
1503
- unput: /* @__PURE__ */ t(function(e) {
1504
- var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1505
- this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1506
- var r = this.match.split(/(?:\r\n?|\n)/g);
1507
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
1508
- var i = this.yylloc.range;
1509
- return this.yylloc = {
1510
- first_line: this.yylloc.first_line,
1511
- last_line: this.yylineno + 1,
1512
- first_column: this.yylloc.first_column,
1513
- last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
1514
- }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1515
- }, "unput"),
1516
- more: /* @__PURE__ */ t(function() {
1517
- return this._more = !0, this;
1518
- }, "more"),
1519
- reject: /* @__PURE__ */ t(function() {
1520
- if (this.options.backtrack_lexer) this._backtrack = !0;
1521
- else 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(), {
1522
- text: "",
1523
- token: null,
1524
- line: this.yylineno
1525
- });
1526
- return this;
1527
- }, "reject"),
1528
- less: /* @__PURE__ */ t(function(e) {
1529
- this.unput(this.match.slice(e));
1530
- }, "less"),
1531
- pastInput: /* @__PURE__ */ t(function() {
1532
- var e = this.matched.substr(0, this.matched.length - this.match.length);
1533
- return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1534
- }, "pastInput"),
1535
- upcomingInput: /* @__PURE__ */ t(function() {
1536
- var e = this.match;
1537
- return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1538
- }, "upcomingInput"),
1539
- showPosition: /* @__PURE__ */ t(function() {
1540
- var e = this.pastInput(), t = Array(e.length + 1).join("-");
1541
- return e + this.upcomingInput() + "\n" + t + "^";
1542
- }, "showPosition"),
1543
- test_match: /* @__PURE__ */ t(function(e, t) {
1544
- var n, r, i;
1545
- if (this.options.backtrack_lexer && (i = {
1546
- yylineno: this.yylineno,
1547
- yylloc: {
1548
- first_line: this.yylloc.first_line,
1549
- last_line: this.last_line,
1550
- first_column: this.yylloc.first_column,
1551
- last_column: this.yylloc.last_column
1552
- },
1553
- yytext: this.yytext,
1554
- match: this.match,
1555
- matches: this.matches,
1556
- matched: this.matched,
1557
- yyleng: this.yyleng,
1558
- offset: this.offset,
1559
- _more: this._more,
1560
- _input: this._input,
1561
- yy: this.yy,
1562
- conditionStack: this.conditionStack.slice(0),
1563
- done: this.done
1564
- }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
1565
- first_line: this.yylloc.last_line,
1566
- last_line: this.yylineno + 1,
1567
- first_column: this.yylloc.last_column,
1568
- last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
1569
- }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
1570
- if (this._backtrack) {
1571
- for (var a in i) this[a] = i[a];
1572
- return !1;
1573
- }
1574
- return !1;
1575
- }, "test_match"),
1576
- next: /* @__PURE__ */ t(function() {
1577
- if (this.done) return this.EOF;
1578
- this._input || (this.done = !0);
1579
- var e, t, n, r;
1580
- this._more || (this.yytext = "", this.match = "");
1581
- for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
1582
- if (t = n, r = a, this.options.backtrack_lexer) {
1583
- if (e = this.test_match(n, i[a]), e !== !1) return e;
1584
- if (this._backtrack) {
1585
- t = !1;
1586
- continue;
1587
- }
1588
- return !1;
1589
- }
1590
- if (!this.options.flex) break;
1591
- }
1592
- return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1593
- text: "",
1594
- token: null,
1595
- line: this.yylineno
1596
- });
1597
- }, "next"),
1598
- lex: /* @__PURE__ */ t(function() {
1599
- return this.next() || this.lex();
1600
- }, "lex"),
1601
- begin: /* @__PURE__ */ t(function(e) {
1602
- this.conditionStack.push(e);
1603
- }, "begin"),
1604
- popState: /* @__PURE__ */ t(function() {
1605
- return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1606
- }, "popState"),
1607
- _currentRules: /* @__PURE__ */ t(function() {
1608
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1609
- }, "_currentRules"),
1610
- topState: /* @__PURE__ */ t(function(e) {
1611
- return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1612
- }, "topState"),
1613
- pushState: /* @__PURE__ */ t(function(e) {
1614
- this.begin(e);
1615
- }, "pushState"),
1616
- stateStackSize: /* @__PURE__ */ t(function() {
1617
- return this.conditionStack.length;
1618
- }, "stateStackSize"),
1619
- options: { "case-insensitive": !0 },
1620
- performAction: /* @__PURE__ */ t(function(e, t, n, r) {
1621
- switch (n) {
1622
- case 0: return "title";
1623
- case 1: return this.begin("acc_title"), 9;
1624
- case 2: return this.popState(), "acc_title_value";
1625
- case 3: return this.begin("acc_descr"), 11;
1626
- case 4: return this.popState(), "acc_descr_value";
1627
- case 5:
1628
- this.begin("acc_descr_multiline");
1629
- break;
1630
- case 6:
1631
- this.popState();
1632
- break;
1633
- case 7: return "acc_descr_multiline_value";
1634
- case 8: return 21;
1635
- case 9: return 22;
1636
- case 10: return 23;
1637
- case 11: return 24;
1638
- case 12: return 5;
1639
- case 13: break;
1640
- case 14: break;
1641
- case 15: break;
1642
- case 16: return 8;
1643
- case 17: return 6;
1644
- case 18: return 27;
1645
- case 19: return 40;
1646
- case 20: return 29;
1647
- case 21: return 32;
1648
- case 22: return 31;
1649
- case 23: return 34;
1650
- case 24: return 36;
1651
- case 25: return 38;
1652
- case 26: return 41;
1653
- case 27: return 42;
1654
- case 28: return 43;
1655
- case 29: return 44;
1656
- case 30: return 45;
1657
- case 31: return 46;
1658
- case 32: return 47;
1659
- case 33: return 48;
1660
- case 34: return 49;
1661
- case 35: return 50;
1662
- case 36: return 51;
1663
- case 37: return 52;
1664
- case 38: return 53;
1665
- case 39: return 54;
1666
- case 40: return 65;
1667
- case 41: return 66;
1668
- case 42: return 67;
1669
- case 43: return 68;
1670
- case 44: return 69;
1671
- case 45: return 70;
1672
- case 46: return 71;
1673
- case 47: return 57;
1674
- case 48: return 59;
1675
- case 49: return this.begin("style"), 77;
1676
- case 50: return 75;
1677
- case 51: return 81;
1678
- case 52: return 88;
1679
- case 53: return "PERCENT";
1680
- case 54: return 86;
1681
- case 55: return 84;
1682
- case 56: break;
1683
- case 57:
1684
- this.begin("string");
1685
- break;
1686
- case 58:
1687
- this.popState();
1688
- break;
1689
- case 59: return this.begin("style"), 72;
1690
- case 60: return this.begin("style"), 74;
1691
- case 61: return 61;
1692
- case 62: return 64;
1693
- case 63: return 63;
1694
- case 64:
1695
- this.begin("string");
1696
- break;
1697
- case 65:
1698
- this.popState();
1699
- break;
1700
- case 66: return "qString";
1701
- case 67: return t.yytext = t.yytext.trim(), 89;
1702
- case 68: return 75;
1703
- case 69: return 80;
1704
- case 70: return 76;
1705
- }
1706
- }, "anonymous"),
1707
- rules: [
1708
- /^(?:title\s[^#\n;]+)/i,
1709
- /^(?:accTitle\s*:\s*)/i,
1710
- /^(?:(?!\n||)*[^\n]*)/i,
1711
- /^(?:accDescr\s*:\s*)/i,
1712
- /^(?:(?!\n||)*[^\n]*)/i,
1713
- /^(?:accDescr\s*\{\s*)/i,
1714
- /^(?:[\}])/i,
1715
- /^(?:[^\}]*)/i,
1716
- /^(?:.*direction\s+TB[^\n]*)/i,
1717
- /^(?:.*direction\s+BT[^\n]*)/i,
1718
- /^(?:.*direction\s+RL[^\n]*)/i,
1719
- /^(?:.*direction\s+LR[^\n]*)/i,
1720
- /^(?:(\r?\n)+)/i,
1721
- /^(?:\s+)/i,
1722
- /^(?:#[^\n]*)/i,
1723
- /^(?:%[^\n]*)/i,
1724
- /^(?:$)/i,
1725
- /^(?:requirementDiagram\b)/i,
1726
- /^(?:\{)/i,
1727
- /^(?:\})/i,
1728
- /^(?::{3})/i,
1729
- /^(?::)/i,
1730
- /^(?:id\b)/i,
1731
- /^(?:text\b)/i,
1732
- /^(?:risk\b)/i,
1733
- /^(?:verifyMethod\b)/i,
1734
- /^(?:requirement\b)/i,
1735
- /^(?:functionalRequirement\b)/i,
1736
- /^(?:interfaceRequirement\b)/i,
1737
- /^(?:performanceRequirement\b)/i,
1738
- /^(?:physicalRequirement\b)/i,
1739
- /^(?:designConstraint\b)/i,
1740
- /^(?:low\b)/i,
1741
- /^(?:medium\b)/i,
1742
- /^(?:high\b)/i,
1743
- /^(?:analysis\b)/i,
1744
- /^(?:demonstration\b)/i,
1745
- /^(?:inspection\b)/i,
1746
- /^(?:test\b)/i,
1747
- /^(?:element\b)/i,
1748
- /^(?:contains\b)/i,
1749
- /^(?:copies\b)/i,
1750
- /^(?:derives\b)/i,
1751
- /^(?:satisfies\b)/i,
1752
- /^(?:verifies\b)/i,
1753
- /^(?:refines\b)/i,
1754
- /^(?:traces\b)/i,
1755
- /^(?:type\b)/i,
1756
- /^(?:docref\b)/i,
1757
- /^(?:style\b)/i,
1758
- /^(?:\w+)/i,
1759
- /^(?::)/i,
1760
- /^(?:;)/i,
1761
- /^(?:%)/i,
1762
- /^(?:-)/i,
1763
- /^(?:#)/i,
1764
- /^(?: )/i,
1765
- /^(?:["])/i,
1766
- /^(?:\n)/i,
1767
- /^(?:classDef\b)/i,
1768
- /^(?:class\b)/i,
1769
- /^(?:<-)/i,
1770
- /^(?:->)/i,
1771
- /^(?:-)/i,
1772
- /^(?:["])/i,
1773
- /^(?:["])/i,
1774
- /^(?:[^"]*)/i,
1775
- /^(?:[\w][^:,\r\n\{\<\>\-\=]*)/i,
1776
- /^(?:\w+)/i,
1777
- /^(?:[0-9]+)/i,
1778
- /^(?:,)/i
1779
- ],
1780
- conditions: {
1781
- acc_descr_multiline: {
1782
- rules: [
1783
- 6,
1784
- 7,
1785
- 68,
1786
- 69,
1787
- 70
1788
- ],
1789
- inclusive: !1
1790
- },
1791
- acc_descr: {
1792
- rules: [
1793
- 4,
1794
- 68,
1795
- 69,
1796
- 70
1797
- ],
1798
- inclusive: !1
1799
- },
1800
- acc_title: {
1801
- rules: [
1802
- 2,
1803
- 68,
1804
- 69,
1805
- 70
1806
- ],
1807
- inclusive: !1
1808
- },
1809
- style: {
1810
- rules: [
1811
- 50,
1812
- 51,
1813
- 52,
1814
- 53,
1815
- 54,
1816
- 55,
1817
- 56,
1818
- 57,
1819
- 58,
1820
- 68,
1821
- 69,
1822
- 70
1823
- ],
1824
- inclusive: !1
1825
- },
1826
- unqString: {
1827
- rules: [
1828
- 68,
1829
- 69,
1830
- 70
1831
- ],
1832
- inclusive: !1
1833
- },
1834
- token: {
1835
- rules: [
1836
- 68,
1837
- 69,
1838
- 70
1839
- ],
1840
- inclusive: !1
1841
- },
1842
- string: {
1843
- rules: [
1844
- 65,
1845
- 66,
1846
- 68,
1847
- 69,
1848
- 70
1849
- ],
1850
- inclusive: !1
1851
- },
1852
- INITIAL: {
1853
- rules: [
1854
- 0,
1855
- 1,
1856
- 3,
1857
- 5,
1858
- 8,
1859
- 9,
1860
- 10,
1861
- 11,
1862
- 12,
1863
- 13,
1864
- 14,
1865
- 15,
1866
- 16,
1867
- 17,
1868
- 18,
1869
- 19,
1870
- 20,
1871
- 21,
1872
- 22,
1873
- 23,
1874
- 24,
1875
- 25,
1876
- 26,
1877
- 27,
1878
- 28,
1879
- 29,
1880
- 30,
1881
- 31,
1882
- 32,
1883
- 33,
1884
- 34,
1885
- 35,
1886
- 36,
1887
- 37,
1888
- 38,
1889
- 39,
1890
- 40,
1891
- 41,
1892
- 42,
1893
- 43,
1894
- 44,
1895
- 45,
1896
- 46,
1897
- 47,
1898
- 48,
1899
- 49,
1900
- 59,
1901
- 60,
1902
- 61,
1903
- 62,
1904
- 63,
1905
- 64,
1906
- 67,
1907
- 68,
1908
- 69,
1909
- 70
1910
- ],
1911
- inclusive: !0
1912
- }
1913
- }
1914
- };
1915
- })();
1916
- function ue() {
1917
- this.yy = {};
1918
- }
1919
- return t(ue, "Parser"), ue.prototype = le, le.Parser = ue, new ue();
1920
- })();
1921
- _.parser = _;
1922
- var v = _, y = class {
1923
- constructor() {
1924
- this.relations = [], this.latestRequirement = this.getInitialRequirement(), this.requirements = /* @__PURE__ */ new Map(), this.latestElement = this.getInitialElement(), this.elements = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.direction = "TB", this.RequirementType = {
1925
- REQUIREMENT: "Requirement",
1926
- FUNCTIONAL_REQUIREMENT: "Functional Requirement",
1927
- INTERFACE_REQUIREMENT: "Interface Requirement",
1928
- PERFORMANCE_REQUIREMENT: "Performance Requirement",
1929
- PHYSICAL_REQUIREMENT: "Physical Requirement",
1930
- DESIGN_CONSTRAINT: "Design Constraint"
1931
- }, this.RiskLevel = {
1932
- LOW_RISK: "Low",
1933
- MED_RISK: "Medium",
1934
- HIGH_RISK: "High"
1935
- }, this.VerifyType = {
1936
- VERIFY_ANALYSIS: "Analysis",
1937
- VERIFY_DEMONSTRATION: "Demonstration",
1938
- VERIFY_INSPECTION: "Inspection",
1939
- VERIFY_TEST: "Test"
1940
- }, this.Relationships = {
1941
- CONTAINS: "contains",
1942
- COPIES: "copies",
1943
- DERIVES: "derives",
1944
- SATISFIES: "satisfies",
1945
- VERIFIES: "verifies",
1946
- REFINES: "refines",
1947
- TRACES: "traces"
1948
- }, this.setAccTitle = a, this.getAccTitle = d, this.setAccDescription = r, this.getAccDescription = c, this.setDiagramTitle = i, this.getDiagramTitle = l, this.getConfig = /* @__PURE__ */ t(() => u().requirement, "getConfig"), this.clear(), this.setDirection = this.setDirection.bind(this), this.addRequirement = this.addRequirement.bind(this), this.setNewReqId = this.setNewReqId.bind(this), this.setNewReqRisk = this.setNewReqRisk.bind(this), this.setNewReqText = this.setNewReqText.bind(this), this.setNewReqVerifyMethod = this.setNewReqVerifyMethod.bind(this), this.addElement = this.addElement.bind(this), this.setNewElementType = this.setNewElementType.bind(this), this.setNewElementDocRef = this.setNewElementDocRef.bind(this), this.addRelationship = this.addRelationship.bind(this), this.setCssStyle = this.setCssStyle.bind(this), this.setClass = this.setClass.bind(this), this.defineClass = this.defineClass.bind(this), this.setAccTitle = this.setAccTitle.bind(this), this.setAccDescription = this.setAccDescription.bind(this);
1949
- }
1950
- static {
1951
- t(this, "RequirementDB");
1952
- }
1953
- getDirection() {
1954
- return this.direction;
1955
- }
1956
- setDirection(e) {
1957
- this.direction = e;
1958
- }
1959
- resetLatestRequirement() {
1960
- this.latestRequirement = this.getInitialRequirement();
1961
- }
1962
- resetLatestElement() {
1963
- this.latestElement = this.getInitialElement();
1964
- }
1965
- getInitialRequirement() {
1966
- return {
1967
- requirementId: "",
1968
- text: "",
1969
- risk: "",
1970
- verifyMethod: "",
1971
- name: "",
1972
- type: "",
1973
- cssStyles: [],
1974
- classes: ["default"]
1975
- };
1976
- }
1977
- getInitialElement() {
1978
- return {
1979
- name: "",
1980
- type: "",
1981
- docRef: "",
1982
- cssStyles: [],
1983
- classes: ["default"]
1984
- };
1985
- }
1986
- addRequirement(e, t) {
1987
- return this.requirements.has(e) || this.requirements.set(e, {
1988
- name: e,
1989
- type: t,
1990
- requirementId: this.latestRequirement.requirementId,
1991
- text: this.latestRequirement.text,
1992
- risk: this.latestRequirement.risk,
1993
- verifyMethod: this.latestRequirement.verifyMethod,
1994
- cssStyles: [],
1995
- classes: ["default"]
1996
- }), this.resetLatestRequirement(), this.requirements.get(e);
1997
- }
1998
- getRequirements() {
1999
- return this.requirements;
2000
- }
2001
- setNewReqId(e) {
2002
- this.latestRequirement !== void 0 && (this.latestRequirement.requirementId = e);
2003
- }
2004
- setNewReqText(e) {
2005
- this.latestRequirement !== void 0 && (this.latestRequirement.text = e);
2006
- }
2007
- setNewReqRisk(e) {
2008
- this.latestRequirement !== void 0 && (this.latestRequirement.risk = e);
2009
- }
2010
- setNewReqVerifyMethod(e) {
2011
- this.latestRequirement !== void 0 && (this.latestRequirement.verifyMethod = e);
2012
- }
2013
- addElement(t) {
2014
- return this.elements.has(t) || (this.elements.set(t, {
2015
- name: t,
2016
- type: this.latestElement.type,
2017
- docRef: this.latestElement.docRef,
2018
- cssStyles: [],
2019
- classes: ["default"]
2020
- }), e.info("Added new element: ", t)), this.resetLatestElement(), this.elements.get(t);
2021
- }
2022
- getElements() {
2023
- return this.elements;
2024
- }
2025
- setNewElementType(e) {
2026
- this.latestElement !== void 0 && (this.latestElement.type = e);
2027
- }
2028
- setNewElementDocRef(e) {
2029
- this.latestElement !== void 0 && (this.latestElement.docRef = e);
2030
- }
2031
- addRelationship(e, t, n) {
2032
- this.relations.push({
2033
- type: e,
2034
- src: t,
2035
- dst: n
2036
- });
2037
- }
2038
- getRelationships() {
2039
- return this.relations;
2040
- }
2041
- clear() {
2042
- this.relations = [], this.resetLatestRequirement(), this.requirements = /* @__PURE__ */ new Map(), this.resetLatestElement(), this.elements = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), o();
2043
- }
2044
- setCssStyle(e, t) {
2045
- for (let n of e) {
2046
- let e = this.requirements.get(n) ?? this.elements.get(n);
2047
- if (!t || !e) return;
2048
- for (let n of t) n.includes(",") ? e.cssStyles.push(...n.split(",")) : e.cssStyles.push(n);
2049
- }
2050
- }
2051
- setClass(e, t) {
2052
- for (let n of e) {
2053
- let e = this.requirements.get(n) ?? this.elements.get(n);
2054
- if (e) for (let n of t) {
2055
- e.classes.push(n);
2056
- let t = this.classes.get(n)?.styles;
2057
- t && e.cssStyles.push(...t);
2058
- }
2059
- }
2060
- }
2061
- defineClass(e, t) {
2062
- for (let n of e) {
2063
- let e = this.classes.get(n);
2064
- e === void 0 && (e = {
2065
- id: n,
2066
- styles: [],
2067
- textStyles: []
2068
- }, this.classes.set(n, e)), t && t.forEach(function(t) {
2069
- if (/color/.exec(t)) {
2070
- let n = t.replace("fill", "bgFill");
2071
- e.textStyles.push(n);
2072
- }
2073
- e.styles.push(t);
2074
- }), this.requirements.forEach((e) => {
2075
- e.classes.includes(n) && e.cssStyles.push(...t.flatMap((e) => e.split(",")));
2076
- }), this.elements.forEach((e) => {
2077
- e.classes.includes(n) && e.cssStyles.push(...t.flatMap((e) => e.split(",")));
2078
- });
2079
- }
2080
- }
2081
- getClasses() {
2082
- return this.classes;
2083
- }
2084
- getData() {
2085
- let e = u(), t = [], n = [];
2086
- for (let n of this.requirements.values()) {
2087
- let r = n;
2088
- r.id = n.name, r.cssStyles = n.cssStyles, r.cssClasses = n.classes.join(" "), r.shape = "requirementBox", r.look = e.look, r.colorIndex = t.length, t.push(r);
2089
- }
2090
- for (let n of this.elements.values()) {
2091
- let r = n;
2092
- r.shape = "requirementBox", r.look = e.look, r.id = n.name, r.cssStyles = n.cssStyles, r.cssClasses = n.classes.join(" "), r.colorIndex = t.length, t.push(r);
2093
- }
2094
- let r = 0;
2095
- for (let t of this.relations) {
2096
- let i = t.type === this.Relationships.CONTAINS, a = {
2097
- id: `${t.src}-${t.dst}-${r++}`,
2098
- start: this.requirements.get(t.src)?.name ?? this.elements.get(t.src)?.name,
2099
- end: this.requirements.get(t.dst)?.name ?? this.elements.get(t.dst)?.name,
2100
- label: `&lt;&lt;${t.type}&gt;&gt;`,
2101
- classes: "relationshipLine",
2102
- style: ["fill:none", i ? "" : "stroke-dasharray: 10,7"],
2103
- labelpos: "c",
2104
- thickness: "normal",
2105
- type: "normal",
2106
- pattern: i ? "normal" : "dashed",
2107
- arrowTypeStart: i ? "requirement_contains" : "",
2108
- arrowTypeEnd: i ? "" : "requirement_arrow",
2109
- look: e.look,
2110
- labelType: "markdown"
2111
- };
2112
- n.push(a);
2113
- }
2114
- return {
2115
- nodes: t,
2116
- edges: n,
2117
- other: {},
2118
- config: e,
2119
- direction: this.getDirection()
2120
- };
2121
- }
2122
- }, b = /* @__PURE__ */ t((e) => {
2123
- let { themeVariables: t, look: n } = s(), { bkgColorArray: r, borderColorArray: i } = t;
2124
- if (!i?.length) return "";
2125
- let a = "";
2126
- for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) a += `
2127
-
2128
- [data-look="${n}"][data-color-id="color-${t}"].node path {
2129
- stroke: ${i[t]};
2130
- fill: ${r?.length ? r[t] : ""};
2131
- }
2132
-
2133
- [data-look="${n}"][data-color-id="color-${t}"].node rect {
2134
- stroke: ${i[t]};
2135
- fill: ${r?.length ? r[t] : ""};
2136
- }
2137
- `;
2138
- return a;
2139
- }, "genColor"), x = /* @__PURE__ */ t((e) => {
2140
- let { look: t, themeVariables: n } = s(), { requirementEdgeLabelBackground: r } = n;
2141
- return `
2142
- ${b(e)}
2143
- marker {
2144
- fill: ${e.relationColor};
2145
- stroke: ${e.relationColor};
2146
- }
2147
-
2148
- marker.cross {
2149
- stroke: ${e.lineColor};
2150
- }
2151
-
2152
- svg {
2153
- font-family: ${e.fontFamily};
2154
- font-size: ${e.fontSize};
2155
- }
2156
-
2157
- .reqBox {
2158
- fill: ${e.requirementBackground};
2159
- fill-opacity: 1.0;
2160
- stroke: ${e.requirementBorderColor};
2161
- stroke-width: ${e.requirementBorderSize};
2162
- }
2163
-
2164
- .reqTitle, .reqLabel{
2165
- fill: ${e.requirementTextColor};
2166
- }
2167
- .reqLabelBox {
2168
- fill: ${e.relationLabelBackground};
2169
- fill-opacity: 1.0;
2170
- }
2171
-
2172
- .req-title-line {
2173
- stroke: ${e.requirementBorderColor};
2174
- stroke-width: ${e.requirementBorderSize};
2175
- }
2176
- .relationshipLine {
2177
- stroke: ${e.relationColor};
2178
- stroke-width: ${t === "neo" ? e.strokeWidth : "1px"};
2179
- }
2180
- .relationshipLabel {
2181
- fill: ${e.relationLabelColor};
2182
- }
2183
- .edgeLabel {
2184
- background-color: ${e.edgeLabelBackground};
2185
- }
2186
- .edgeLabel .label rect {
2187
- fill: ${e.edgeLabelBackground};
2188
- }
2189
- .edgeLabel .label text {
2190
- fill: ${e.relationLabelColor};
2191
- }
2192
- .divider {
2193
- stroke: ${e.nodeBorder};
2194
- stroke-width: 1;
2195
- }
2196
- .label {
2197
- font-family: ${e.fontFamily};
2198
- color: ${e.nodeTextColor || e.textColor};
2199
- }
2200
- .label text,span {
2201
- fill: ${e.nodeTextColor || e.textColor};
2202
- color: ${e.nodeTextColor || e.textColor};
2203
- }
2204
- .labelBkg {
2205
- background-color: ${r ?? e.edgeLabelBackground};
2206
- }
2207
-
2208
- `;
2209
- }, "getStyles"), S = {};
2210
- n(S, { draw: () => C });
2211
- var C = /* @__PURE__ */ t(async function(t, n, r, i) {
2212
- e.info("REF0:"), e.info("Drawing requirement diagram (unified)", n);
2213
- let { securityLevel: a, state: o, layout: s, look: c } = u(), l = i.db.getData(), d = h(n, a);
2214
- l.type = i.type, l.layoutAlgorithm = m(s), l.nodeSpacing = o?.nodeSpacing ?? 50, l.rankSpacing = o?.rankSpacing ?? 50, l.markers = c === "neo" ? ["requirement_contains_neo", "requirement_arrow_neo"] : ["requirement_contains", "requirement_arrow"], l.diagramId = n, await p(l, d), f.insertTitle(d, "requirementDiagramTitleText", o?.titleTopMargin ?? 25, i.db.getDiagramTitle()), g(d, 8, "requirementDiagram", o?.useMaxWidth ?? !0);
2215
- }, "draw"), w = {
2216
- parser: v,
2217
- get db() {
2218
- return new y();
2219
- },
2220
- renderer: S,
2221
- styles: x
2222
- };
2223
- //#endregion
2224
- export { w as diagram };