@chaibuilder/pages 0.16.10 → 0.16.12

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 (764) hide show
  1. package/dist/{2AITGKQY-C0A7leVc.cjs → 2AITGKQY-AK2WgbeT.cjs} +1 -1
  2. package/dist/{2AITGKQY-LtoYzpXb.js → 2AITGKQY-D1mM4eEh.js} +2 -2
  3. package/dist/{NCMVHL6D-BqKNTZhH.js → NCMVHL6D-BeRsWdGV.js} +2 -2
  4. package/dist/{NCMVHL6D-BbCiXTDR.cjs → NCMVHL6D-DItDf9IY.cjs} +1 -1
  5. package/dist/{ZDWCUMSJ-DEjMuvHw.cjs → ZDWCUMSJ-COSBY-at.cjs} +1 -1
  6. package/dist/{ZDWCUMSJ-CudD-G3A.js → ZDWCUMSJ-D6caRaY7.js} +1 -1
  7. package/dist/{add-new-language-page-CTZglguY.cjs → add-new-language-page-CQcFi0Tp.cjs} +1 -1
  8. package/dist/{add-new-language-page-C3R8vwOA.js → add-new-language-page-nnaUe-qk.js} +2 -2
  9. package/dist/{add-new-page-Dn-jphFf.js → add-new-page-Ba1fq6LH.js} +1 -1
  10. package/dist/{add-new-page-ByCsABU-.cjs → add-new-page-DxObnvo_.cjs} +1 -1
  11. package/dist/{ai-panel-content-VYS5Bn3a.cjs → ai-panel-content-B2AgBWqo.cjs} +1 -1
  12. package/dist/{ai-panel-content-CF7-wrq0.js → ai-panel-content-M1UnzG_f.js} +2 -2
  13. package/dist/{ai-panel-default-lang-C_zJzkZ4.js → ai-panel-default-lang-CHOFEwmV.js} +2 -2
  14. package/dist/{ai-panel-default-lang-D5vpT3cL.cjs → ai-panel-default-lang-sy6vkQJh.cjs} +3 -3
  15. package/dist/{ai-panel-other-lang-5Hdkr4eJ.js → ai-panel-other-lang-B4euTuod.js} +2 -2
  16. package/dist/ai-panel-other-lang-BwjSDD3L.cjs +1 -0
  17. package/dist/ai-prompt-input-B_NRADBT.js +988 -0
  18. package/dist/ai-prompt-input-DcyVXcLG.cjs +1 -0
  19. package/dist/{ai-translation-prompt-E3TEDobP.js → ai-translation-prompt-CVuPbgXw.js} +1 -1
  20. package/dist/{ai-translation-prompt-BYubvAxO.cjs → ai-translation-prompt-Ip7w2_Ey.cjs} +1 -1
  21. package/dist/{delete-page-CecAr8Ev.cjs → delete-page-CbY8q5M3.cjs} +1 -1
  22. package/dist/{delete-page-BtWRzpTh.js → delete-page-SX9X35nA.js} +1 -1
  23. package/dist/{digital-asset-manager-Y8YMABE1.cjs → digital-asset-manager-CIMo79Di.cjs} +1 -1
  24. package/dist/{digital-asset-manager-CyBlpHrq.js → digital-asset-manager-SAFNO_mx.js} +1 -1
  25. package/dist/{duplicate-page-3Dv56tPR.js → duplicate-page-5SwLvmkX.js} +2 -2
  26. package/dist/{duplicate-page-nGQAYVQc.cjs → duplicate-page-CXK2HcxD.cjs} +1 -1
  27. package/dist/{dynamic-page-selector-B9XaZMxt.cjs → dynamic-page-selector-Crd3y4Hk.cjs} +1 -1
  28. package/dist/{dynamic-page-selector-BapENUmp.js → dynamic-page-selector-DfcuTqRN.js} +1 -1
  29. package/dist/{image-editor-EmBN_Nn_.cjs → image-editor-CnDnY97s.cjs} +1 -1
  30. package/dist/{index-C1bimRWu.cjs → index-Bz7smSC0.cjs} +2 -2
  31. package/dist/{index-C_34q9jG.js → index-EnM7J19_.js} +16 -16
  32. package/dist/index.cjs +1 -1
  33. package/dist/index.js +1 -1
  34. package/dist/{json-diff-viewer-D2tCblUU.js → json-diff-viewer-CDwpbuag.js} +1 -1
  35. package/dist/{json-diff-viewer-B9kQEwcr.cjs → json-diff-viewer-D34kDA_c.cjs} +2 -2
  36. package/dist/{lang-panel-CsA6jzez.js → lang-panel-CUIeO5bb.js} +2 -2
  37. package/dist/{lang-panel-ClCAoE4L.cjs → lang-panel-CaFrYllL.cjs} +1 -1
  38. package/dist/{mark-as-template-BsOhlLYx.js → mark-as-template-D0dLQaIB.js} +1 -1
  39. package/dist/{mark-as-template-DUeGBAgn.cjs → mark-as-template-v182tmN6.cjs} +1 -1
  40. package/dist/{no-language-page-content-KLiCVKWw.cjs → no-language-page-content-Bk4fEx_p.cjs} +1 -1
  41. package/dist/{no-language-page-content-DveHrqZF.js → no-language-page-content-ByRFD_qA.js} +1 -1
  42. package/dist/{page-creator-Du1tv5PL.js → page-creator-Bh0IUGR3.js} +2 -2
  43. package/dist/{page-creator-I5z6OA-y.cjs → page-creator-BnvaGZVI.cjs} +1 -1
  44. package/dist/{page-lock-request-DSCZ2b9Y.cjs → page-lock-request-C2b1kqyA.cjs} +1 -1
  45. package/dist/{page-lock-request-C_FjXr4-.js → page-lock-request-CaNqxfD6.js} +1 -1
  46. package/dist/{page-locked-by-dialog-DAJlxcUt.js → page-locked-by-dialog--WLDdkw9.js} +1 -1
  47. package/dist/{page-locked-by-dialog-Daefw0-2.cjs → page-locked-by-dialog-90ElC8aG.cjs} +1 -1
  48. package/dist/{page-manager-new-BNk_0XVK.js → page-manager-new-Bo4-zwfW.js} +2 -2
  49. package/dist/{page-manager-new-DmA0Ka0c.cjs → page-manager-new-SNRQn7Az.cjs} +1 -1
  50. package/dist/{page-manager-search-and-filter-heV_U9x0.js → page-manager-search-and-filter-BETHSa3y.js} +1 -1
  51. package/dist/{page-manager-search-and-filter-DkR8sFPh.cjs → page-manager-search-and-filter-hyUIHOD_.cjs} +1 -1
  52. package/dist/{page-revisions-content-BIhjzS21.cjs → page-revisions-content-BCMjvZRZ.cjs} +1 -1
  53. package/dist/{page-revisions-content-BVg59skx.js → page-revisions-content-VWthKL7O.js} +2 -2
  54. package/dist/pages.css +1 -1
  55. package/dist/{publish-pages-content-BhJ_uRxQ.js → publish-pages-content-6N7aEcM1.js} +2 -2
  56. package/dist/{publish-pages-content-CKydxoZ_.cjs → publish-pages-content-CaBwfekc.cjs} +1 -1
  57. package/dist/{save-to-lib-C3mx8iXu.cjs → save-to-lib-CtGpDkC6.cjs} +1 -1
  58. package/dist/{save-to-lib-Byfa7tCG.js → save-to-lib-YYBxY7MV.js} +1 -1
  59. package/dist/selected-block-display-BEbuJn0l.cjs +16 -0
  60. package/dist/selected-block-display-DdW-DWF1.js +394 -0
  61. package/dist/{seo-panel-DxaEiunO.cjs → seo-panel-B9P7fXjo.cjs} +1 -1
  62. package/dist/{seo-panel-CrpYigIp.js → seo-panel-CqJDhbj-.js} +1 -1
  63. package/dist/server.cjs +4 -52
  64. package/dist/server.js +309 -10089
  65. package/dist/{shared-json-ld-CcUhox6j.cjs → shared-json-ld-CyxmC9y5.cjs} +1 -1
  66. package/dist/{shared-json-ld-DczSLaqw.js → shared-json-ld-DxEPILj_.js} +1 -1
  67. package/dist/{slug-input-CsniBgYf.cjs → slug-input-RNiSrU3p.cjs} +1 -1
  68. package/dist/{slug-input-CjagPxIn.js → slug-input-j5z5ZQn9.js} +1 -1
  69. package/dist/{theme-panel-footer-BYI0_a19.cjs → theme-panel-footer-CCsiDIVl.cjs} +1 -1
  70. package/dist/{theme-panel-footer-C-uSbeOf.js → theme-panel-footer-DD2yalfG.js} +1 -1
  71. package/dist/{unmark-as-template-CGKkAZPZ.js → unmark-as-template-B2hKhAHn.js} +1 -1
  72. package/dist/{unmark-as-template-GuUssCYI.cjs → unmark-as-template-DXjLbqOM.cjs} +1 -1
  73. package/dist/{unpublish-page-D67IrGmd.cjs → unpublish-page-BdJScWMX.cjs} +1 -1
  74. package/dist/{unpublish-page-ow8e1CXO.js → unpublish-page-BvB1PGSz.js} +1 -1
  75. package/dist/use-page-expand-manager-2KjeYfVS.cjs +1 -0
  76. package/dist/{web-preview-Dm8A9E8S.cjs → web-preview-BI4jd0O7.cjs} +1 -1
  77. package/dist/{web-preview-NCfHy3pB.js → web-preview-CwVpkcwU.js} +1 -1
  78. package/package.json +1 -1
  79. package/dist/_arrayEach-7nw56Qes.cjs +0 -1
  80. package/dist/_arrayEach-CBNlJl8q.js +0 -44
  81. package/dist/abap-DV7Q1lGP.cjs +0 -1
  82. package/dist/abap-Y8Dl9g_6.js +0 -6
  83. package/dist/actionscript-3-DXOxkRa2.cjs +0 -1
  84. package/dist/actionscript-3-DZzbMeqX.js +0 -6
  85. package/dist/ada-D46EKCNf.cjs +0 -1
  86. package/dist/ada-vP6ak0IW.js +0 -6
  87. package/dist/ai-panel-other-lang-BFnghH5Z.cjs +0 -1
  88. package/dist/ai-prompt-input-BXp7SxcJ.cjs +0 -45
  89. package/dist/ai-prompt-input-CrBweB8X.js +0 -4027
  90. package/dist/andromeeda-BIpZ7gaU.js +0 -4
  91. package/dist/andromeeda-DVDxRwp5.cjs +0 -1
  92. package/dist/angular-html-DPB4Rf0C.js +0 -32
  93. package/dist/angular-html-KMf2QdtP.cjs +0 -1
  94. package/dist/angular-ts-BxIbo3R1.cjs +0 -1
  95. package/dist/angular-ts-CTOR2ofC.js +0 -21
  96. package/dist/apache-BUjz-sD2.js +0 -6
  97. package/dist/apache-DL1xuH1f.cjs +0 -1
  98. package/dist/apex-CtcXmQ6V.js +0 -6
  99. package/dist/apex-UUd3Occv.cjs +0 -1
  100. package/dist/apl-CjNiDgad.js +0 -16
  101. package/dist/apl-Dj2G2M9w.cjs +0 -1
  102. package/dist/applescript-BPx7YFFu.js +0 -6
  103. package/dist/applescript-COilsSrZ.cjs +0 -1
  104. package/dist/ara-B6Lpq1YJ.cjs +0 -1
  105. package/dist/ara-Z2fSOxSw.js +0 -6
  106. package/dist/arc-CuYV2Z4i.js +0 -83
  107. package/dist/arc-Dzs-yn9V.cjs +0 -1
  108. package/dist/architecture-U656AL7Q-BFW69Rn1.js +0 -5
  109. package/dist/architecture-U656AL7Q-C1RBosC-.cjs +0 -1
  110. package/dist/architectureDiagram-VXUJARFQ-C7E-J7qp.js +0 -4669
  111. package/dist/architectureDiagram-VXUJARFQ-i1olysFf.cjs +0 -36
  112. package/dist/asciidoc-B-pCoB3G.js +0 -6
  113. package/dist/asciidoc-DcKqW72n.cjs +0 -1
  114. package/dist/asm-BTWLY5ym.js +0 -6
  115. package/dist/asm-DYMFy-sD.cjs +0 -1
  116. package/dist/astro-CFFExE8Q.js +0 -18
  117. package/dist/astro-DAOP_Xq6.cjs +0 -1
  118. package/dist/aurora-x-BwoVEUWZ.js +0 -4
  119. package/dist/aurora-x-C5IpmIOG.cjs +0 -1
  120. package/dist/awk-Fb0P9dkn.js +0 -6
  121. package/dist/awk-IEszImW6.cjs +0 -1
  122. package/dist/ayu-dark-Cv7nTiif.cjs +0 -1
  123. package/dist/ayu-dark-CxPZkpb2.js +0 -4
  124. package/dist/ballerina-Dr6dU4hP.cjs +0 -1
  125. package/dist/ballerina-oZK-YekG.js +0 -6
  126. package/dist/bat-0FvbqU9S.js +0 -6
  127. package/dist/bat-DGkUhhn2.cjs +0 -1
  128. package/dist/beancount-Bv1Sweoy.cjs +0 -1
  129. package/dist/beancount-DqJEb89h.js +0 -6
  130. package/dist/berry-DZkhZ7K3.cjs +0 -1
  131. package/dist/berry-PwsHPR_K.js +0 -6
  132. package/dist/bibtex-BgA36Z3k.cjs +0 -1
  133. package/dist/bibtex-EULQRLY5.js +0 -6
  134. package/dist/bicep-BorU73w0.js +0 -6
  135. package/dist/bicep-DL0zb-7W.cjs +0 -1
  136. package/dist/blade-BYkiyM-T.cjs +0 -1
  137. package/dist/blade-CRa6j5zS.js +0 -20
  138. package/dist/blockDiagram-VD42YOAC-8bGFphRU.js +0 -2368
  139. package/dist/blockDiagram-VD42YOAC-DG8nN7FI.cjs +0 -122
  140. package/dist/bsl-9bVgFeM9.cjs +0 -1
  141. package/dist/bsl-NkNNwerW.js +0 -8
  142. package/dist/c-CtlmKnPF.cjs +0 -1
  143. package/dist/c-eeMepfLm.js +0 -6
  144. package/dist/c4Diagram-YG6GDRKO-C5vTWKII.js +0 -1581
  145. package/dist/c4Diagram-YG6GDRKO-ojLwrHAZ.cjs +0 -10
  146. package/dist/cadence-02UX7mW8.js +0 -6
  147. package/dist/cadence-DcbmM5v3.cjs +0 -1
  148. package/dist/cairo-DM6WF2e3.js +0 -8
  149. package/dist/cairo-li7sQsxU.cjs +0 -1
  150. package/dist/catppuccin-frappe-Bn4lgmUk.cjs +0 -1
  151. package/dist/catppuccin-frappe-D3cH2rXe.js +0 -4
  152. package/dist/catppuccin-latte-BPtsb8jD.cjs +0 -1
  153. package/dist/catppuccin-latte-C0LRGUW4.js +0 -4
  154. package/dist/catppuccin-macchiato-BLfpQWhT.cjs +0 -1
  155. package/dist/catppuccin-macchiato-c5wQ11TT.js +0 -4
  156. package/dist/catppuccin-mocha-COMta283.cjs +0 -1
  157. package/dist/catppuccin-mocha-WMD6Qvya.js +0 -4
  158. package/dist/channel-Cdlcq82Q.js +0 -5
  159. package/dist/channel-D8SQrHOQ.cjs +0 -1
  160. package/dist/chunk-4BX2VUAB-D0Nkkvke.cjs +0 -1
  161. package/dist/chunk-4BX2VUAB-kRXCJxGQ.js +0 -9
  162. package/dist/chunk-55IACEB6-Ya_-e5Gj.cjs +0 -1
  163. package/dist/chunk-55IACEB6-xzVewFKl.js +0 -8
  164. package/dist/chunk-B4BG7PRW-C8Sj4Rta.cjs +0 -165
  165. package/dist/chunk-B4BG7PRW-DG5qX3ch.js +0 -1376
  166. package/dist/chunk-DI55MBZ5-C9He0Rku.cjs +0 -220
  167. package/dist/chunk-DI55MBZ5-CI_Ti_F2.js +0 -1382
  168. package/dist/chunk-FMBD7UC4-9Wx_99-Q.js +0 -19
  169. package/dist/chunk-FMBD7UC4-Be12B01Q.cjs +0 -15
  170. package/dist/chunk-QN33PNHL-B65aZfT8.cjs +0 -1
  171. package/dist/chunk-QN33PNHL-qSV2Zj2E.js +0 -20
  172. package/dist/chunk-QZHKN3VN-Dcw61eWf.js +0 -15
  173. package/dist/chunk-QZHKN3VN-V8GIXVhC.cjs +0 -1
  174. package/dist/chunk-TZMSLE5B-BUsuXR8P.cjs +0 -1
  175. package/dist/chunk-TZMSLE5B-De8BBIp6.js +0 -64
  176. package/dist/clarity-PKm5CwqM.js +0 -6
  177. package/dist/clarity-gPuvqtpF.cjs +0 -1
  178. package/dist/classDiagram-2ON5EDUG-DD8PWOat.cjs +0 -1
  179. package/dist/classDiagram-2ON5EDUG-DYXMSnp5.js +0 -16
  180. package/dist/classDiagram-v2-WZHVMYZB-DD8PWOat.cjs +0 -1
  181. package/dist/classDiagram-v2-WZHVMYZB-DYXMSnp5.js +0 -16
  182. package/dist/clojure-CXJfHrL3.js +0 -6
  183. package/dist/clojure-OUsr1SUl.cjs +0 -1
  184. package/dist/cmake-BJz8BOTU.js +0 -6
  185. package/dist/cmake-jM6P58qY.cjs +0 -1
  186. package/dist/cobol-CcrsCSUZ.cjs +0 -1
  187. package/dist/cobol-HihOMwht.js +0 -10
  188. package/dist/codeowners-Bt9yU6NX.js +0 -6
  189. package/dist/codeowners-QhPK6lIJ.cjs +0 -1
  190. package/dist/codeql-D9-TdUN8.cjs +0 -1
  191. package/dist/codeql-DHkodjjI.js +0 -6
  192. package/dist/coffee-DGBR_nr_.js +0 -8
  193. package/dist/coffee-DycxIFwY.cjs +0 -1
  194. package/dist/common-lisp-C77gR-8i.cjs +0 -1
  195. package/dist/common-lisp-EVqT9Zhp.js +0 -6
  196. package/dist/coq-B0L9upzn.js +0 -6
  197. package/dist/coq-vlPdR5hP.cjs +0 -1
  198. package/dist/cose-bilkent-S5V4N54A-BzynRFve.cjs +0 -1
  199. package/dist/cose-bilkent-S5V4N54A-C0LrMYq9.js +0 -2609
  200. package/dist/cpp-Cj177cuW.js +0 -18
  201. package/dist/cpp-DvI2Eoso.cjs +0 -1
  202. package/dist/crystal-B_WXhL2O.cjs +0 -1
  203. package/dist/crystal-CRJyc4G-.js +0 -18
  204. package/dist/csharp-C902_8Dy.cjs +0 -1
  205. package/dist/csharp-COJ2mCKr.js +0 -6
  206. package/dist/css-CECN5uSL.js +0 -6
  207. package/dist/css-Do0mp2lm.cjs +0 -1
  208. package/dist/csv-CmYOceLb.js +0 -6
  209. package/dist/csv-DiEdJzSJ.cjs +0 -1
  210. package/dist/cue-D1vJRJEx.cjs +0 -1
  211. package/dist/cue-ZzumE7IT.js +0 -6
  212. package/dist/cypher-atSM3NsM.cjs +0 -1
  213. package/dist/cypher-jpdmjtA6.js +0 -6
  214. package/dist/cytoscape.esm-DdQZKk9f.js +0 -18735
  215. package/dist/cytoscape.esm-DkGgpG6d.cjs +0 -331
  216. package/dist/d-2qe3NhmZ.cjs +0 -1
  217. package/dist/d-CBagWSwH.js +0 -6
  218. package/dist/dagre-6UL2VRFP-CJe6baLS.cjs +0 -4
  219. package/dist/dagre-6UL2VRFP-DK7rwVEg.js +0 -445
  220. package/dist/dark-plus-CRFsux2L.js +0 -4
  221. package/dist/dark-plus-DwC1RSst.cjs +0 -1
  222. package/dist/dart-6ObCrKr9.js +0 -6
  223. package/dist/dart-Ds0_0fwe.cjs +0 -1
  224. package/dist/dax-CcDT-8dH.js +0 -6
  225. package/dist/dax-DbkQa40E.cjs +0 -1
  226. package/dist/defaultLocale-D7EN2tov.js +0 -171
  227. package/dist/defaultLocale-DIVzfLaQ.cjs +0 -1
  228. package/dist/desktop-B93p9R9O.js +0 -6
  229. package/dist/desktop-tn3MFXCZ.cjs +0 -1
  230. package/dist/diagram-PSM6KHXK-C_A00ng9.js +0 -534
  231. package/dist/diagram-PSM6KHXK-X4v5dsQ4.cjs +0 -24
  232. package/dist/diagram-QEK2KX5R-rhfU6qwd.cjs +0 -43
  233. package/dist/diagram-QEK2KX5R-tTChUtDg.js +0 -221
  234. package/dist/diagram-S2PKOQOG-CJixlBq7.js +0 -143
  235. package/dist/diagram-S2PKOQOG-XyZUZk_b.cjs +0 -24
  236. package/dist/diff-BxzP2J8R.js +0 -6
  237. package/dist/diff-CA31fCOg.cjs +0 -1
  238. package/dist/docker-CsHqm9tx.js +0 -6
  239. package/dist/docker-zJpMwmYa.cjs +0 -1
  240. package/dist/dotenv-BMjVjUL1.js +0 -6
  241. package/dist/dotenv-DpcNCNek.cjs +0 -1
  242. package/dist/dracula-BNgwAJ-d.cjs +0 -1
  243. package/dist/dracula-BtZx2Kac.js +0 -4
  244. package/dist/dracula-soft-BHZ7sHFu.cjs +0 -1
  245. package/dist/dracula-soft-BKa-aqBv.js +0 -4
  246. package/dist/dream-maker-BkijXDkm.cjs +0 -1
  247. package/dist/dream-maker-PAx17jaB.js +0 -6
  248. package/dist/edge-BYQkOzbF.js +0 -12
  249. package/dist/edge-DaIYN5Mx.cjs +0 -1
  250. package/dist/elixir-BH_wmMK4.cjs +0 -1
  251. package/dist/elixir-Dh036GMp.js +0 -8
  252. package/dist/elm-BtNbw_Cd.js +0 -8
  253. package/dist/elm-Dc4sEBjc.cjs +0 -1
  254. package/dist/emacs-lisp-C1UCIjUO.cjs +0 -1
  255. package/dist/emacs-lisp-Cfxdx5D-.js +0 -6
  256. package/dist/erDiagram-Q2GNP2WA-B1QcX93p.js +0 -842
  257. package/dist/erDiagram-Q2GNP2WA-Up8_IT91.cjs +0 -60
  258. package/dist/erb-BqFQADjR.cjs +0 -1
  259. package/dist/erb-CS4zioBv.js +0 -10
  260. package/dist/erlang-CB2cfp6Z.cjs +0 -1
  261. package/dist/erlang-DNcDT8Hi.js +0 -8
  262. package/dist/everforest-dark-DMCBqXCK.js +0 -4
  263. package/dist/everforest-dark-_sBMomR1.cjs +0 -1
  264. package/dist/everforest-light-BbXl82Em.js +0 -4
  265. package/dist/everforest-light-H0xoYxl0.cjs +0 -1
  266. package/dist/fennel-Bz9-EMMc.cjs +0 -1
  267. package/dist/fennel-N4WcXuKx.js +0 -6
  268. package/dist/fish-BTDEUgqH.js +0 -6
  269. package/dist/fish-DwmQKRZi.cjs +0 -1
  270. package/dist/flowDiagram-NV44I4VS-BJffdKk6.cjs +0 -162
  271. package/dist/flowDiagram-NV44I4VS-Dq0-N_i3.js +0 -1627
  272. package/dist/fluent-BMXUxfv1.js +0 -6
  273. package/dist/fluent-CJtpNuaO.cjs +0 -1
  274. package/dist/fortran-fixed-form-DUsA-VGo.js +0 -8
  275. package/dist/fortran-fixed-form-rAbNFykM.cjs +0 -1
  276. package/dist/fortran-free-form-DPIT_jbP.js +0 -6
  277. package/dist/fortran-free-form-DRAcQkel.cjs +0 -1
  278. package/dist/fsharp-CYOiIVNx.js +0 -8
  279. package/dist/fsharp-DVcRF7k-.cjs +0 -1
  280. package/dist/ganttDiagram-LVOFAZNH-CndRZUwp.cjs +0 -267
  281. package/dist/ganttDiagram-LVOFAZNH-DCuouHg6.js +0 -2506
  282. package/dist/gdresource-BwtMIoBm.js +0 -10
  283. package/dist/gdresource-CcLusmd_.cjs +0 -1
  284. package/dist/gdscript-BifyeYhI.js +0 -6
  285. package/dist/gdscript-DSegQKMB.cjs +0 -1
  286. package/dist/gdshader-Bk8fF6yr.js +0 -6
  287. package/dist/gdshader-DsmqQl4t.cjs +0 -1
  288. package/dist/genie-Dy2rU8CF.cjs +0 -1
  289. package/dist/genie-DzUvd7U9.js +0 -6
  290. package/dist/gherkin-BmiEVBJ1.cjs +0 -1
  291. package/dist/gherkin-DHRaV0YP.js +0 -6
  292. package/dist/git-commit-Bd32YZ0K.js +0 -8
  293. package/dist/git-commit-DlVDzq9L.cjs +0 -1
  294. package/dist/git-rebase-Bn4RLd7u.cjs +0 -1
  295. package/dist/git-rebase-ZWUFO_T4.js +0 -8
  296. package/dist/gitGraph-F6HP7TQM-1lOuaCHS.cjs +0 -1
  297. package/dist/gitGraph-F6HP7TQM-Bwgh2Tgj.js +0 -5
  298. package/dist/gitGraphDiagram-NY62KEGX-BFpRv9B4.js +0 -712
  299. package/dist/gitGraphDiagram-NY62KEGX-Cc8RVspd.cjs +0 -65
  300. package/dist/github-dark-BKL9xNgN.cjs +0 -1
  301. package/dist/github-dark-DenFmJkN.js +0 -4
  302. package/dist/github-dark-default-BJPUVz4H.js +0 -4
  303. package/dist/github-dark-default-Dsv5MuSi.cjs +0 -1
  304. package/dist/github-dark-dimmed-CtB9hz8U.cjs +0 -1
  305. package/dist/github-dark-dimmed-DUshB20C.js +0 -4
  306. package/dist/github-dark-high-contrast-BqZVM-jF.cjs +0 -1
  307. package/dist/github-dark-high-contrast-D3aGCnF8.js +0 -4
  308. package/dist/github-light-BFTOhCbz.cjs +0 -1
  309. package/dist/github-light-JYsPkUQd.js +0 -4
  310. package/dist/github-light-default-BZoWH9dH.cjs +0 -1
  311. package/dist/github-light-default-D99KPAby.js +0 -4
  312. package/dist/github-light-high-contrast-BbmZE-Mp.js +0 -4
  313. package/dist/github-light-high-contrast-Ks3kPGJU.cjs +0 -1
  314. package/dist/gleam-Bv284lvN.js +0 -6
  315. package/dist/gleam-DHVuTCr7.cjs +0 -1
  316. package/dist/glimmer-js-CzmC7OX8.cjs +0 -1
  317. package/dist/glimmer-js-DkxNrfPT.js +0 -14
  318. package/dist/glimmer-ts-D6YZEmK_.js +0 -14
  319. package/dist/glimmer-ts-DLN2_wRt.cjs +0 -1
  320. package/dist/glsl-CQekZ3Zq.cjs +0 -1
  321. package/dist/glsl-CkUcVZNK.js +0 -8
  322. package/dist/gnuplot-CDPKvI9X.cjs +0 -1
  323. package/dist/gnuplot-yPG9-sE_.js +0 -6
  324. package/dist/go-ChxJuLYK.js +0 -6
  325. package/dist/go-epHseFUa.cjs +0 -1
  326. package/dist/graph-BJDrjORS.js +0 -244
  327. package/dist/graph-BLd2spTm.cjs +0 -1
  328. package/dist/graphql-BnP1YhXQ.cjs +0 -1
  329. package/dist/graphql-CBu2ehBn.js +0 -14
  330. package/dist/groovy-CJQTphOW.js +0 -6
  331. package/dist/groovy-D7VuDBXz.cjs +0 -1
  332. package/dist/gruvbox-dark-hard-C5HOtKIh.js +0 -4
  333. package/dist/gruvbox-dark-hard-CUGefKS6.cjs +0 -1
  334. package/dist/gruvbox-dark-medium-BoKPlKfz.cjs +0 -1
  335. package/dist/gruvbox-dark-medium-FVgwJHuz.js +0 -4
  336. package/dist/gruvbox-dark-soft-B46F314v.js +0 -4
  337. package/dist/gruvbox-dark-soft-DSrhOWeL.cjs +0 -1
  338. package/dist/gruvbox-light-hard-CJD38wDZ.js +0 -4
  339. package/dist/gruvbox-light-hard-De4IuseP.cjs +0 -1
  340. package/dist/gruvbox-light-medium-BlIhMYTA.js +0 -4
  341. package/dist/gruvbox-light-medium-CzMY3IEJ.cjs +0 -1
  342. package/dist/gruvbox-light-soft-DoPHyLVZ.js +0 -4
  343. package/dist/gruvbox-light-soft-U4iAIpWZ.cjs +0 -1
  344. package/dist/hack-BaDv2o40.cjs +0 -1
  345. package/dist/hack-ItRNKiEb.js +0 -10
  346. package/dist/haml-Bk21rGjP.cjs +0 -1
  347. package/dist/haml-NZLVzu_R.js +0 -10
  348. package/dist/handlebars-CJJi3lrU.cjs +0 -1
  349. package/dist/handlebars-mxStpSE7.js +0 -14
  350. package/dist/haskell-BShesV2P.cjs +0 -1
  351. package/dist/haskell-WeIwNIP6.js +0 -6
  352. package/dist/haxe-Bo5XuRS0.cjs +0 -1
  353. package/dist/haxe-TztHsm5T.js +0 -6
  354. package/dist/hcl-CrZnvm-1.cjs +0 -1
  355. package/dist/hcl-D438OF-I.js +0 -6
  356. package/dist/hjson-CEESwTUP.cjs +0 -1
  357. package/dist/hjson-DYBUbqOl.js +0 -6
  358. package/dist/hlsl-Bk8TCZNL.js +0 -6
  359. package/dist/hlsl-CyvYRIb9.cjs +0 -1
  360. package/dist/houston-BDYrDoDW.js +0 -4
  361. package/dist/houston-T57H3gQZ.cjs +0 -1
  362. package/dist/html-B50bmoVb.js +0 -10
  363. package/dist/html-C62Zf2h4.cjs +0 -1
  364. package/dist/html-derivative-C6bxFbFW.js +0 -8
  365. package/dist/html-derivative-NDb86jON.cjs +0 -1
  366. package/dist/http-BPlLI56k.cjs +0 -1
  367. package/dist/http-DLvAkeD-.js +0 -14
  368. package/dist/hurl-BQGBr8gH.cjs +0 -1
  369. package/dist/hurl-CgkFN90t.js +0 -12
  370. package/dist/hxml-GbqSQCLa.js +0 -8
  371. package/dist/hxml-vnw7fzrV.cjs +0 -1
  372. package/dist/hy-Brt5EZ7-.js +0 -6
  373. package/dist/hy-a1E2Ed6P.cjs +0 -1
  374. package/dist/imba-CR1Q6r17.cjs +0 -1
  375. package/dist/imba-CimUv-Uh.js +0 -6
  376. package/dist/info-NVLQJR56-C3piIB8L.cjs +0 -1
  377. package/dist/info-NVLQJR56-DxpWS9Ek.js +0 -5
  378. package/dist/infoDiagram-ER5ION4S-DqXS6eRb.cjs +0 -2
  379. package/dist/infoDiagram-ER5ION4S-iBX13SKY.js +0 -24
  380. package/dist/ini-BZIuRIvJ.js +0 -6
  381. package/dist/ini-Dpu3Xy2p.cjs +0 -1
  382. package/dist/init-CHZsXQcr.cjs +0 -1
  383. package/dist/init-DjUOC4st.js +0 -16
  384. package/dist/java--6gf61wy.cjs +0 -1
  385. package/dist/java-DY6VlHhP.js +0 -6
  386. package/dist/javascript-C25yR2R2.js +0 -6
  387. package/dist/javascript-DgmXW4Ha.cjs +0 -1
  388. package/dist/jinja-6NmewwV8.cjs +0 -1
  389. package/dist/jinja-CFW5uAwY.js +0 -11
  390. package/dist/jison-CD9Qsaj0.cjs +0 -1
  391. package/dist/jison-DdreslRX.js +0 -8
  392. package/dist/journeyDiagram-XKPGCS4Q-CIELmZlO.js +0 -836
  393. package/dist/journeyDiagram-XKPGCS4Q-CJX0XVNj.cjs +0 -139
  394. package/dist/json-DxJze_jm.js +0 -6
  395. package/dist/json-YkPizm35.cjs +0 -1
  396. package/dist/json5-BT4Fjg39.js +0 -6
  397. package/dist/json5-CCgFZiQn.cjs +0 -1
  398. package/dist/jsonc-CHjZD8gR.js +0 -6
  399. package/dist/jsonc-CKPHIcXW.cjs +0 -1
  400. package/dist/jsonl-BGuvDmy9.js +0 -6
  401. package/dist/jsonl-Dq56Hab-.cjs +0 -1
  402. package/dist/jsonnet-Bx2cfsXg.js +0 -6
  403. package/dist/jsonnet-Csh7E68F.cjs +0 -1
  404. package/dist/jssm-BcADi6EI.js +0 -6
  405. package/dist/jssm-D0M9iZPY.cjs +0 -1
  406. package/dist/jsx-BtKADgXT.js +0 -6
  407. package/dist/jsx-DLX6UGgg.cjs +0 -1
  408. package/dist/julia--2-efCjg.js +0 -16
  409. package/dist/julia-DimQn8rn.cjs +0 -1
  410. package/dist/kanagawa-dragon-BJZF7xDr.cjs +0 -1
  411. package/dist/kanagawa-dragon-CiKur4Hl.js +0 -4
  412. package/dist/kanagawa-lotus-BKu-smKu.js +0 -4
  413. package/dist/kanagawa-lotus-BhgzmRV4.cjs +0 -1
  414. package/dist/kanagawa-wave-BgJip59C.cjs +0 -1
  415. package/dist/kanagawa-wave-CQwozSzG.js +0 -4
  416. package/dist/kanban-definition-3W4ZIXB7-DnhdFt_Y.cjs +0 -89
  417. package/dist/kanban-definition-3W4ZIXB7-WK7l1gdb.js +0 -721
  418. package/dist/kdl-BNOv9TC3.js +0 -6
  419. package/dist/kdl-CDG1p2Qi.cjs +0 -1
  420. package/dist/kotlin-BHZjvNqT.cjs +0 -1
  421. package/dist/kotlin-ByBMgTeR.js +0 -6
  422. package/dist/kusto-BgZ0fOqg.cjs +0 -1
  423. package/dist/kusto-VWFLl2T0.js +0 -6
  424. package/dist/laserwave--izBLY1I.cjs +0 -1
  425. package/dist/laserwave-6a00oqik.js +0 -4
  426. package/dist/latex-CO8r39zT.js +0 -8
  427. package/dist/latex-Xma1qZep.cjs +0 -1
  428. package/dist/layout-AXx0t5i6.cjs +0 -1
  429. package/dist/layout-B6VyrpKo.js +0 -1223
  430. package/dist/lean-BCqiTZhG.cjs +0 -1
  431. package/dist/lean-k2QBx9cb.js +0 -6
  432. package/dist/less-B1GLI2Di.js +0 -6
  433. package/dist/less-Dtg8mm6P.cjs +0 -1
  434. package/dist/light-plus-B5D0le0o.cjs +0 -1
  435. package/dist/light-plus-CZuVqSLX.js +0 -4
  436. package/dist/linear-CdbmJ0kA.cjs +0 -1
  437. package/dist/linear-CebAae2s.js +0 -259
  438. package/dist/liquid-CHzkx3jT.js +0 -14
  439. package/dist/liquid-DjlCV7Vm.cjs +0 -1
  440. package/dist/llvm-DcRvQ_r8.cjs +0 -1
  441. package/dist/llvm-co1rIKs3.js +0 -6
  442. package/dist/log-Al8wyEFV.js +0 -6
  443. package/dist/log-CjTZ0gSB.cjs +0 -1
  444. package/dist/logo-BAktp_5i.cjs +0 -1
  445. package/dist/logo-DBa4JDzV.js +0 -6
  446. package/dist/lua-BfOnSJPp.cjs +0 -1
  447. package/dist/lua-kX5WP_P5.js +0 -8
  448. package/dist/luau-DTep-u3e.cjs +0 -1
  449. package/dist/luau-DtBSxLyz.js +0 -6
  450. package/dist/make-CsMclxtr.js +0 -6
  451. package/dist/make-NcdIe21U.cjs +0 -1
  452. package/dist/markdown-Byu9Sdmq.cjs +0 -1
  453. package/dist/markdown-CrScaQ96.js +0 -6
  454. package/dist/marko-Cvx4TamJ.cjs +0 -1
  455. package/dist/marko-ls0Jg2j8.js +0 -14
  456. package/dist/material-theme-D6KBX41T.js +0 -4
  457. package/dist/material-theme-Dj0-OyRN.cjs +0 -1
  458. package/dist/material-theme-darker-CkRroheE.js +0 -4
  459. package/dist/material-theme-darker-Dvfs29ir.cjs +0 -1
  460. package/dist/material-theme-lighter-BUBw43Yz.js +0 -4
  461. package/dist/material-theme-lighter-EU3ZGl_r.cjs +0 -1
  462. package/dist/material-theme-ocean-ClGX14Ja.js +0 -4
  463. package/dist/material-theme-ocean-px_3Pwqa.cjs +0 -1
  464. package/dist/material-theme-palenight-38jxvsGX.cjs +0 -1
  465. package/dist/material-theme-palenight-C1RVm8K1.js +0 -4
  466. package/dist/matlab-BOAaUVP0.js +0 -6
  467. package/dist/matlab-CHTOL9Kx.cjs +0 -1
  468. package/dist/mdc-DEPKJPdx.cjs +0 -1
  469. package/dist/mdc-uaivvctV.js +0 -12
  470. package/dist/mdx-BOhZZUJ8.js +0 -6
  471. package/dist/mdx-CjwI68TB.cjs +0 -1
  472. package/dist/mermaid-B0ixDHKN.js +0 -6
  473. package/dist/mermaid-XEfjk_VN.cjs +0 -1
  474. package/dist/mermaid-parser.core-DKJdj2_U.cjs +0 -128
  475. package/dist/mermaid-parser.core-GitSl6co.js +0 -13256
  476. package/dist/mermaid.core-3NhAXOzj.js +0 -14260
  477. package/dist/mermaid.core-Cop_RRH4.cjs +0 -196
  478. package/dist/min-dark-C7ak0t6c.js +0 -4
  479. package/dist/min-dark-tt5o_I5e.cjs +0 -1
  480. package/dist/min-light-CKFxVcPp.js +0 -4
  481. package/dist/min-light-tmTHl_CQ.cjs +0 -1
  482. package/dist/mindmap-definition-VGOIOE7T-BOk1rAbB.js +0 -787
  483. package/dist/mindmap-definition-VGOIOE7T-cJsasSc0.cjs +0 -68
  484. package/dist/mipsasm-BSlRcFIy.cjs +0 -1
  485. package/dist/mipsasm-CTx18fBl.js +0 -6
  486. package/dist/mojo-BD611d7o.js +0 -6
  487. package/dist/mojo-BQ8pQfYA.cjs +0 -1
  488. package/dist/monokai-C1KBYcO0.js +0 -4
  489. package/dist/monokai-DMIxv6MM.cjs +0 -1
  490. package/dist/move-Bm1vlCWg.cjs +0 -1
  491. package/dist/move-F-dICmj2.js +0 -6
  492. package/dist/narrat-CBeKHgTl.cjs +0 -1
  493. package/dist/narrat-DmhDCBs-.js +0 -6
  494. package/dist/nextflow-0_vzQJwQ.cjs +0 -1
  495. package/dist/nextflow-BAAEJxI_.js +0 -6
  496. package/dist/nginx-5vhPAEw3.js +0 -8
  497. package/dist/nginx-ByVOUyIE.cjs +0 -1
  498. package/dist/night-owl-BN78kThQ.cjs +0 -1
  499. package/dist/night-owl-Bm2rzalh.js +0 -4
  500. package/dist/nim-Bqmp5Of3.cjs +0 -1
  501. package/dist/nim-QAjRdh9w.js +0 -20
  502. package/dist/nix-B_7Vy2bT.js +0 -6
  503. package/dist/nix-BoOZl1xr.cjs +0 -1
  504. package/dist/nord-CC5OiUXg.js +0 -4
  505. package/dist/nord-Ca5AGUWc.cjs +0 -1
  506. package/dist/nushell-D8j3dhT-.js +0 -6
  507. package/dist/nushell-nGrB_wpI.cjs +0 -1
  508. package/dist/objective-c-Itk8tzmv.js +0 -6
  509. package/dist/objective-c-RjkWwFge.cjs +0 -1
  510. package/dist/objective-cpp-DGt5UKRO.js +0 -6
  511. package/dist/objective-cpp-HnfhWwRe.cjs +0 -1
  512. package/dist/ocaml-Cx8ewW_A.cjs +0 -1
  513. package/dist/ocaml-eSVK32Eg.js +0 -6
  514. package/dist/one-dark-pro-C09VQHwB.cjs +0 -1
  515. package/dist/one-dark-pro-DTA3VF0_.js +0 -4
  516. package/dist/one-light-020-h_lv.cjs +0 -1
  517. package/dist/one-light-D9sNaUtq.js +0 -4
  518. package/dist/ordinal-CagbB1m8.cjs +0 -1
  519. package/dist/ordinal-DfAQgscy.js +0 -61
  520. package/dist/packet-BFZMPI3H-B0uDu6gg.cjs +0 -1
  521. package/dist/packet-BFZMPI3H-tS-CKRal.js +0 -5
  522. package/dist/pascal-DBu9vQ2o.cjs +0 -1
  523. package/dist/pascal-xy8pJNns.js +0 -6
  524. package/dist/perl-CxWZPeDZ.cjs +0 -1
  525. package/dist/perl-DkVrgJBg.js +0 -16
  526. package/dist/php-BLXVJphD.cjs +0 -1
  527. package/dist/php-j2zCzTEz.js +0 -18
  528. package/dist/pie-7BOR55EZ-CcDzfu0_.js +0 -5
  529. package/dist/pie-7BOR55EZ-CqYqIXXG.cjs +0 -1
  530. package/dist/pieDiagram-ADFJNKIX-CFfE-HG7.js +0 -162
  531. package/dist/pieDiagram-ADFJNKIX-DWVdC3zW.cjs +0 -30
  532. package/dist/pkl-C-zSNmaA.js +0 -6
  533. package/dist/pkl-Dvyry4Rm.cjs +0 -1
  534. package/dist/plastic-CSTz3KZp.js +0 -4
  535. package/dist/plastic-r5piqq-S.cjs +0 -1
  536. package/dist/plsql-IJkoPJ9P.cjs +0 -1
  537. package/dist/plsql-pVbGZfOv.js +0 -6
  538. package/dist/po-BNfHvqmm.js +0 -6
  539. package/dist/po-Rhu6MvnX.cjs +0 -1
  540. package/dist/poimandres-BLP3NNjc.cjs +0 -1
  541. package/dist/poimandres-C-VADXHD.js +0 -4
  542. package/dist/polar-BtWqSUq2.cjs +0 -1
  543. package/dist/polar-CAZahv3u.js +0 -6
  544. package/dist/postcss-05aHdL-n.js +0 -6
  545. package/dist/postcss-Dh97DcaJ.cjs +0 -1
  546. package/dist/powerquery-BGL6VIw7.cjs +0 -1
  547. package/dist/powerquery-DI9HkTvs.js +0 -6
  548. package/dist/powershell-BiEPMjy-.cjs +0 -1
  549. package/dist/powershell-Clc4ydu-.js +0 -6
  550. package/dist/prisma-Dp473sn0.cjs +0 -1
  551. package/dist/prisma-FZjmVtSl.js +0 -6
  552. package/dist/prolog-C5-yg4TO.js +0 -6
  553. package/dist/prolog-N1U-3UeF.cjs +0 -1
  554. package/dist/proto-MmCPeFAD.js +0 -6
  555. package/dist/proto-kd7Vn2fe.cjs +0 -1
  556. package/dist/pug-DiGNE7sm.cjs +0 -1
  557. package/dist/pug-XOw9Q1Ho.js +0 -12
  558. package/dist/puppet-CUJHmnxV.js +0 -6
  559. package/dist/puppet-cDQP_ZC_.cjs +0 -1
  560. package/dist/purescript-DMxb59gF.cjs +0 -1
  561. package/dist/purescript-rUfGld-4.js +0 -6
  562. package/dist/python-BFNSHbwJ.js +0 -6
  563. package/dist/python-s9jfVbew.cjs +0 -1
  564. package/dist/qml-beorq0E4.cjs +0 -1
  565. package/dist/qml-rTNXsquU.js +0 -8
  566. package/dist/qmldir-BInDYbpo.js +0 -6
  567. package/dist/qmldir-DNF9H2ir.cjs +0 -1
  568. package/dist/qss-AeJTysr_.js +0 -6
  569. package/dist/qss-DwA_oiAM.cjs +0 -1
  570. package/dist/quadrantDiagram-AYHSOK5B-6xSOcCxL.js +0 -1024
  571. package/dist/quadrantDiagram-AYHSOK5B-J0R9fpox.cjs +0 -7
  572. package/dist/r-Bm0uF0U2.js +0 -6
  573. package/dist/r-ChIwckeM.cjs +0 -1
  574. package/dist/racket-B83wSAja.js +0 -6
  575. package/dist/racket-D4laxZit.cjs +0 -1
  576. package/dist/radar-NHE76QYJ-C4G7hzu6.js +0 -5
  577. package/dist/radar-NHE76QYJ-EznHmPEg.cjs +0 -1
  578. package/dist/raku-DHySPsLw.cjs +0 -1
  579. package/dist/raku-nEQ4ZJJ7.js +0 -6
  580. package/dist/razor-DgCbant-.cjs +0 -1
  581. package/dist/razor-Dh1wKTmh.js +0 -10
  582. package/dist/red-7y8PH7HH.js +0 -4
  583. package/dist/red-BQGOv1D5.cjs +0 -1
  584. package/dist/reg-CevkCKuZ.cjs +0 -1
  585. package/dist/reg-m_s_Kiip.js +0 -6
  586. package/dist/regexp-BazyLpPg.js +0 -6
  587. package/dist/regexp-DabTWNLE.cjs +0 -1
  588. package/dist/rel-BS5APza7.cjs +0 -1
  589. package/dist/rel-BcRfyd6Q.js +0 -6
  590. package/dist/requirementDiagram-UZGBJVZJ-DXq0f3Op.cjs +0 -64
  591. package/dist/requirementDiagram-UZGBJVZJ-p2d3AnQ8.js +0 -852
  592. package/dist/riscv-BnGFr6V7.cjs +0 -1
  593. package/dist/riscv-Ce8MAQLP.js +0 -6
  594. package/dist/rose-pine-Cr4kwgAY.js +0 -4
  595. package/dist/rose-pine-Dynd1SQq.cjs +0 -1
  596. package/dist/rose-pine-dawn-ClRRUdXX.js +0 -4
  597. package/dist/rose-pine-dawn-DwrpEjkh.cjs +0 -1
  598. package/dist/rose-pine-moon-8HmiewSG.cjs +0 -1
  599. package/dist/rose-pine-moon-ucNn3Gm8.js +0 -4
  600. package/dist/rosmsg-C7VSFzUC.cjs +0 -1
  601. package/dist/rosmsg-Cz0w1km8.js +0 -6
  602. package/dist/rst-CcbeA9zE.js +0 -22
  603. package/dist/rst-D08gsKw8.cjs +0 -1
  604. package/dist/ruby-B5H7kBtd.cjs +0 -1
  605. package/dist/ruby-DMPw6uKF.js +0 -30
  606. package/dist/rust-CLzF9zIN.js +0 -6
  607. package/dist/rust-CNeTMPbB.cjs +0 -1
  608. package/dist/sankeyDiagram-TZEHDZUN-CLBuuob-.cjs +0 -10
  609. package/dist/sankeyDiagram-TZEHDZUN-CbASga1e.js +0 -810
  610. package/dist/sas-D5Fn8Q38.cjs +0 -1
  611. package/dist/sas-fpEvgATw.js +0 -8
  612. package/dist/sass-DxHp5rTx.js +0 -6
  613. package/dist/sass-vyo-bUwh.cjs +0 -1
  614. package/dist/scala-D4grkFkl.js +0 -6
  615. package/dist/scala-ZSekD-8-.cjs +0 -1
  616. package/dist/scheme-BCRWuEm4.js +0 -6
  617. package/dist/scheme-vM0LdD-_.cjs +0 -1
  618. package/dist/scss-B1FaCqwR.js +0 -8
  619. package/dist/scss-CKlduTMv.cjs +0 -1
  620. package/dist/sdbl-B7T8abf4.js +0 -6
  621. package/dist/sdbl-DeWT5r4i.cjs +0 -1
  622. package/dist/selected-block-display-CZ3zwgqL.js +0 -43632
  623. package/dist/selected-block-display-GwQBADhp.cjs +0 -541
  624. package/dist/sequenceDiagram-WL72ISMW-3T2mzAhA.js +0 -2522
  625. package/dist/sequenceDiagram-WL72ISMW-DmS_WEPR.cjs +0 -145
  626. package/dist/shaderlab-Cr62-Wb4.js +0 -8
  627. package/dist/shaderlab-DGJjQHxC.cjs +0 -1
  628. package/dist/shellscript-DYWjN7qW.cjs +0 -1
  629. package/dist/shellscript-InADTalH.js +0 -6
  630. package/dist/shellsession-DMUSXX8m.cjs +0 -1
  631. package/dist/shellsession-DiDJNQdy.js +0 -8
  632. package/dist/slack-dark-akqwQ7ED.cjs +0 -1
  633. package/dist/slack-dark-i7wN4OET.js +0 -4
  634. package/dist/slack-ochin-BoQQWmTv.cjs +0 -1
  635. package/dist/slack-ochin-ndHf0LoP.js +0 -4
  636. package/dist/smalltalk-BNs6hxu4.cjs +0 -1
  637. package/dist/smalltalk-BlI1_OkM.js +0 -6
  638. package/dist/snazzy-light-BlSJXAu4.js +0 -4
  639. package/dist/snazzy-light-D_IwRieF.cjs +0 -1
  640. package/dist/solarized-dark-UTmkh7lw.js +0 -4
  641. package/dist/solarized-dark-gmm-WbDC.cjs +0 -1
  642. package/dist/solarized-light-BheCkDPT.js +0 -4
  643. package/dist/solarized-light-DzcxRSZP.cjs +0 -1
  644. package/dist/solidity-CYggdHYd.cjs +0 -1
  645. package/dist/solidity-CneOhxmR.js +0 -6
  646. package/dist/soy-C1-6njHa.js +0 -8
  647. package/dist/soy-CDFPDtGX.cjs +0 -1
  648. package/dist/sparql-6Cg9ppCl.cjs +0 -1
  649. package/dist/sparql-B0KWFEri.js +0 -8
  650. package/dist/splunk-CRXR8A9s.js +0 -6
  651. package/dist/splunk-CWPivao_.cjs +0 -1
  652. package/dist/sql-Cn_v3PB0.js +0 -6
  653. package/dist/sql-DhUUVgH1.cjs +0 -1
  654. package/dist/ssh-config-B93wBIBa.cjs +0 -1
  655. package/dist/ssh-config-DP-hNVbF.js +0 -6
  656. package/dist/stata-B8c5fTjX.js +0 -8
  657. package/dist/stata-DCWFCQQG.cjs +0 -1
  658. package/dist/stateDiagram-FKZM4ZOC-BmMX9umD.cjs +0 -1
  659. package/dist/stateDiagram-FKZM4ZOC-D9lkyJcL.js +0 -264
  660. package/dist/stateDiagram-v2-4FDKWEC3-BwQkMtRv.cjs +0 -1
  661. package/dist/stateDiagram-v2-4FDKWEC3-D0yq-_gB.js +0 -16
  662. package/dist/stylus-B64Bt0D4.cjs +0 -1
  663. package/dist/stylus-CyKEU1Ej.js +0 -6
  664. package/dist/svelte-5UasyOg7.js +0 -14
  665. package/dist/svelte-DFg_x5i4.cjs +0 -1
  666. package/dist/swift-9UzSvamq.js +0 -6
  667. package/dist/swift-BMbGdc3j.cjs +0 -1
  668. package/dist/synthwave-84-BBRLOmNT.cjs +0 -1
  669. package/dist/synthwave-84-NU3C_KFZ.js +0 -4
  670. package/dist/system-verilog-BCm7smPJ.js +0 -6
  671. package/dist/system-verilog-BFclLo9e.cjs +0 -1
  672. package/dist/systemd-C-4qm6XH.js +0 -6
  673. package/dist/systemd-Dtw7P4tb.cjs +0 -1
  674. package/dist/talonscript-CFF3LF_O.js +0 -6
  675. package/dist/talonscript-D8SvZJVc.cjs +0 -1
  676. package/dist/tasl--DC4oX-L.cjs +0 -1
  677. package/dist/tasl-Cg_WBUAe.js +0 -6
  678. package/dist/tcl-0Q0H86Yn.cjs +0 -1
  679. package/dist/tcl-DN7buRTF.js +0 -6
  680. package/dist/templ-BDNMUns0.cjs +0 -1
  681. package/dist/templ-peLZIM2D.js +0 -12
  682. package/dist/terraform-C0RDrmWi.cjs +0 -1
  683. package/dist/terraform-DGvcn9zM.js +0 -6
  684. package/dist/tex-BUUuwxQS.js +0 -8
  685. package/dist/tex-By7qnogv.cjs +0 -1
  686. package/dist/timeline-definition-IT6M3QCI-Bi9IiYMF.cjs +0 -61
  687. package/dist/timeline-definition-IT6M3QCI-LtkAohDp.js +0 -801
  688. package/dist/tokyo-night-DP4TmcQl.js +0 -4
  689. package/dist/tokyo-night-GOhjzM5y.cjs +0 -1
  690. package/dist/toml-DY62mUL_.js +0 -6
  691. package/dist/toml-Q64DoSvG.cjs +0 -1
  692. package/dist/treemap-KMMF4GRG-DAuFMsAI.cjs +0 -1
  693. package/dist/treemap-KMMF4GRG-vy1iI8-N.js +0 -5
  694. package/dist/ts-tags-DILCom6A.cjs +0 -1
  695. package/dist/ts-tags-ioVe2PKw.js +0 -41
  696. package/dist/tsv-BtvSkaG0.js +0 -6
  697. package/dist/tsv-DqNGnuVj.cjs +0 -1
  698. package/dist/tsx-B8rCNbgL.js +0 -6
  699. package/dist/tsx-DIpfUf9u.cjs +0 -1
  700. package/dist/turtle-DipIidr5.cjs +0 -1
  701. package/dist/turtle-_H59FV7D.js +0 -6
  702. package/dist/twig-B42NGISI.cjs +0 -1
  703. package/dist/twig-CcRLVyUg.js +0 -18
  704. package/dist/typescript-RycA9KXf.js +0 -6
  705. package/dist/typescript-b48wo4zk.cjs +0 -1
  706. package/dist/typespec-CLqB-2XS.cjs +0 -1
  707. package/dist/typespec-Djmco60m.js +0 -6
  708. package/dist/typst-Cqq4j4V-.cjs +0 -1
  709. package/dist/typst-D_1QKWns.js +0 -6
  710. package/dist/use-page-expand-manager-B5Y2KS1c.cjs +0 -1
  711. package/dist/v-81C2s01-.cjs +0 -1
  712. package/dist/v-BPCNiyYe.js +0 -6
  713. package/dist/vala-CsAYdCD2.cjs +0 -1
  714. package/dist/vala-uxaPR7d1.js +0 -6
  715. package/dist/vb-AiTMb16X.cjs +0 -1
  716. package/dist/vb-D8_c5-KN.js +0 -6
  717. package/dist/verilog-AMohXZcN.cjs +0 -1
  718. package/dist/verilog-B-bybjPF.js +0 -6
  719. package/dist/vesper-B59Iw4gV.cjs +0 -1
  720. package/dist/vesper-BckBta1U.js +0 -4
  721. package/dist/vhdl-CUlNa8ac.js +0 -6
  722. package/dist/vhdl-DIdR1NA5.cjs +0 -1
  723. package/dist/viml-D01eKeA4.cjs +0 -1
  724. package/dist/viml-DsfA-sWm.js +0 -6
  725. package/dist/vitesse-black-BoGvW84i.js +0 -4
  726. package/dist/vitesse-black-MF-1S1MG.cjs +0 -1
  727. package/dist/vitesse-dark-Cym-eLtO.js +0 -4
  728. package/dist/vitesse-dark-SIffJYSe.cjs +0 -1
  729. package/dist/vitesse-light-CcmG315c.js +0 -4
  730. package/dist/vitesse-light-U63SkYGT.cjs +0 -1
  731. package/dist/vue-DUYfTwgV.cjs +0 -1
  732. package/dist/vue-DrinnB8Y.js +0 -31
  733. package/dist/vue-html-B8T_zUQ-.cjs +0 -1
  734. package/dist/vue-html-CQOyCFnQ.js +0 -10
  735. package/dist/vue-vine-CAyeVfAj.js +0 -20
  736. package/dist/vue-vine-ClEtVpt5.cjs +0 -1
  737. package/dist/vyper-CPQuu50u.js +0 -6
  738. package/dist/vyper-DTzyzn3a.cjs +0 -1
  739. package/dist/wasm-BBXxrAl7.js +0 -6
  740. package/dist/wasm-DQxwEHae.js +0 -7
  741. package/dist/wasm-Dp-QrJpp.cjs +0 -1
  742. package/dist/wasm-Dw4u1m6u.cjs +0 -1
  743. package/dist/wenyan-CRNx8UP3.cjs +0 -1
  744. package/dist/wenyan-pbVjoM9_.js +0 -6
  745. package/dist/wgsl-DF5qc9dd.cjs +0 -1
  746. package/dist/wgsl-DY4iK1q1.js +0 -6
  747. package/dist/wikitext-D7uzEIfK.cjs +0 -1
  748. package/dist/wikitext-Z-MoUasO.js +0 -6
  749. package/dist/wit-BjWgLsJj.cjs +0 -1
  750. package/dist/wit-CQMQOlTg.js +0 -6
  751. package/dist/wolfram-BR4t3Ffc.cjs +0 -1
  752. package/dist/wolfram-Dz4KXISs.js +0 -6
  753. package/dist/xml-BpsKWkuV.cjs +0 -1
  754. package/dist/xml-C2J0sS9M.js +0 -8
  755. package/dist/xsl-BmSZphgC.js +0 -8
  756. package/dist/xsl-D-3VYix6.cjs +0 -1
  757. package/dist/xychartDiagram-PRI3JC2R-d5V8_6ka.cjs +0 -7
  758. package/dist/xychartDiagram-PRI3JC2R-ggiHJXU7.js +0 -1340
  759. package/dist/yaml-DaO7k5B1.js +0 -6
  760. package/dist/yaml-XVBmpKh-.cjs +0 -1
  761. package/dist/zenscript-CxBjpf9c.js +0 -6
  762. package/dist/zenscript-fNvwKexi.cjs +0 -1
  763. package/dist/zig-BAyIAcWK.cjs +0 -1
  764. package/dist/zig-Vm0PO9wB.js +0 -6
@@ -1,1581 +0,0 @@
1
- import { d as Se, g as De } from "./chunk-TZMSLE5B-De8BBIp6.js";
2
- import { _ as g, a as Pe, s as Be, g as Ie, b as Me, c as Le, d as Bt, w as Ne, e as $t, f as de, h as Tt, i as ge, j as jt, l as fe, k as Ye, m as je } from "./mermaid.core-3NhAXOzj.js";
3
- var Ft = function() {
4
- var e = /* @__PURE__ */ g(function(_t, x, m, v) {
5
- for (m = m || {}, v = _t.length; v--; m[_t[v]] = x) ;
6
- return m;
7
- }, "o"), t = [1, 24], s = [1, 25], o = [1, 26], l = [1, 27], a = [1, 28], r = [1, 63], n = [1, 64], i = [1, 65], u = [1, 66], d = [1, 67], f = [1, 68], y = [1, 69], E = [1, 29], O = [1, 30], S = [1, 31], P = [1, 32], M = [1, 33], U = [1, 34], H = [1, 35], q = [1, 36], G = [1, 37], K = [1, 38], J = [1, 39], Z = [1, 40], $ = [1, 41], tt = [1, 42], et = [1, 43], at = [1, 44], it = [1, 45], nt = [1, 46], rt = [1, 47], st = [1, 48], lt = [1, 50], ot = [1, 51], ct = [1, 52], ht = [1, 53], ut = [1, 54], dt = [1, 55], ft = [1, 56], pt = [1, 57], yt = [1, 58], gt = [1, 59], bt = [1, 60], Ct = [14, 42], Qt = [14, 34, 36, 37, 38, 39, 40, 41, 42, 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, 69, 70, 71, 72, 73, 74], St = [12, 14, 34, 36, 37, 38, 39, 40, 41, 42, 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, 69, 70, 71, 72, 73, 74], k = [1, 82], A = [1, 83], C = [1, 84], w = [1, 85], T = [12, 14, 42], le = [12, 14, 33, 42], Mt = [12, 14, 33, 42, 76, 77, 79, 80], vt = [12, 33], Ht = [34, 36, 37, 38, 39, 40, 41, 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, 69, 70, 71, 72, 73, 74], qt = {
8
- trace: /* @__PURE__ */ g(function() {
9
- }, "trace"),
10
- yy: {},
11
- symbols_: { error: 2, start: 3, mermaidDoc: 4, direction: 5, direction_tb: 6, direction_bt: 7, direction_rl: 8, direction_lr: 9, graphConfig: 10, C4_CONTEXT: 11, NEWLINE: 12, statements: 13, EOF: 14, C4_CONTAINER: 15, C4_COMPONENT: 16, C4_DYNAMIC: 17, C4_DEPLOYMENT: 18, otherStatements: 19, diagramStatements: 20, otherStatement: 21, title: 22, accDescription: 23, acc_title: 24, acc_title_value: 25, acc_descr: 26, acc_descr_value: 27, acc_descr_multiline_value: 28, boundaryStatement: 29, boundaryStartStatement: 30, boundaryStopStatement: 31, boundaryStart: 32, LBRACE: 33, ENTERPRISE_BOUNDARY: 34, attributes: 35, SYSTEM_BOUNDARY: 36, BOUNDARY: 37, CONTAINER_BOUNDARY: 38, NODE: 39, NODE_L: 40, NODE_R: 41, RBRACE: 42, diagramStatement: 43, PERSON: 44, PERSON_EXT: 45, SYSTEM: 46, SYSTEM_DB: 47, SYSTEM_QUEUE: 48, SYSTEM_EXT: 49, SYSTEM_EXT_DB: 50, SYSTEM_EXT_QUEUE: 51, CONTAINER: 52, CONTAINER_DB: 53, CONTAINER_QUEUE: 54, CONTAINER_EXT: 55, CONTAINER_EXT_DB: 56, CONTAINER_EXT_QUEUE: 57, COMPONENT: 58, COMPONENT_DB: 59, COMPONENT_QUEUE: 60, COMPONENT_EXT: 61, COMPONENT_EXT_DB: 62, COMPONENT_EXT_QUEUE: 63, REL: 64, BIREL: 65, REL_U: 66, REL_D: 67, REL_L: 68, REL_R: 69, REL_B: 70, REL_INDEX: 71, UPDATE_EL_STYLE: 72, UPDATE_REL_STYLE: 73, UPDATE_LAYOUT_CONFIG: 74, attribute: 75, STR: 76, STR_KEY: 77, STR_VALUE: 78, ATTRIBUTE: 79, ATTRIBUTE_EMPTY: 80, $accept: 0, $end: 1 },
12
- terminals_: { 2: "error", 6: "direction_tb", 7: "direction_bt", 8: "direction_rl", 9: "direction_lr", 11: "C4_CONTEXT", 12: "NEWLINE", 14: "EOF", 15: "C4_CONTAINER", 16: "C4_COMPONENT", 17: "C4_DYNAMIC", 18: "C4_DEPLOYMENT", 22: "title", 23: "accDescription", 24: "acc_title", 25: "acc_title_value", 26: "acc_descr", 27: "acc_descr_value", 28: "acc_descr_multiline_value", 33: "LBRACE", 34: "ENTERPRISE_BOUNDARY", 36: "SYSTEM_BOUNDARY", 37: "BOUNDARY", 38: "CONTAINER_BOUNDARY", 39: "NODE", 40: "NODE_L", 41: "NODE_R", 42: "RBRACE", 44: "PERSON", 45: "PERSON_EXT", 46: "SYSTEM", 47: "SYSTEM_DB", 48: "SYSTEM_QUEUE", 49: "SYSTEM_EXT", 50: "SYSTEM_EXT_DB", 51: "SYSTEM_EXT_QUEUE", 52: "CONTAINER", 53: "CONTAINER_DB", 54: "CONTAINER_QUEUE", 55: "CONTAINER_EXT", 56: "CONTAINER_EXT_DB", 57: "CONTAINER_EXT_QUEUE", 58: "COMPONENT", 59: "COMPONENT_DB", 60: "COMPONENT_QUEUE", 61: "COMPONENT_EXT", 62: "COMPONENT_EXT_DB", 63: "COMPONENT_EXT_QUEUE", 64: "REL", 65: "BIREL", 66: "REL_U", 67: "REL_D", 68: "REL_L", 69: "REL_R", 70: "REL_B", 71: "REL_INDEX", 72: "UPDATE_EL_STYLE", 73: "UPDATE_REL_STYLE", 74: "UPDATE_LAYOUT_CONFIG", 76: "STR", 77: "STR_KEY", 78: "STR_VALUE", 79: "ATTRIBUTE", 80: "ATTRIBUTE_EMPTY" },
13
- productions_: [0, [3, 1], [3, 1], [5, 1], [5, 1], [5, 1], [5, 1], [4, 1], [10, 4], [10, 4], [10, 4], [10, 4], [10, 4], [13, 1], [13, 1], [13, 2], [19, 1], [19, 2], [19, 3], [21, 1], [21, 1], [21, 2], [21, 2], [21, 1], [29, 3], [30, 3], [30, 3], [30, 4], [32, 2], [32, 2], [32, 2], [32, 2], [32, 2], [32, 2], [32, 2], [31, 1], [20, 1], [20, 2], [20, 3], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 1], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [35, 1], [35, 2], [75, 1], [75, 2], [75, 1], [75, 1]],
14
- performAction: /* @__PURE__ */ g(function(x, m, v, b, R, h, Dt) {
15
- var p = h.length - 1;
16
- switch (R) {
17
- case 3:
18
- b.setDirection("TB");
19
- break;
20
- case 4:
21
- b.setDirection("BT");
22
- break;
23
- case 5:
24
- b.setDirection("RL");
25
- break;
26
- case 6:
27
- b.setDirection("LR");
28
- break;
29
- case 8:
30
- case 9:
31
- case 10:
32
- case 11:
33
- case 12:
34
- b.setC4Type(h[p - 3]);
35
- break;
36
- case 19:
37
- b.setTitle(h[p].substring(6)), this.$ = h[p].substring(6);
38
- break;
39
- case 20:
40
- b.setAccDescription(h[p].substring(15)), this.$ = h[p].substring(15);
41
- break;
42
- case 21:
43
- this.$ = h[p].trim(), b.setTitle(this.$);
44
- break;
45
- case 22:
46
- case 23:
47
- this.$ = h[p].trim(), b.setAccDescription(this.$);
48
- break;
49
- case 28:
50
- h[p].splice(2, 0, "ENTERPRISE"), b.addPersonOrSystemBoundary(...h[p]), this.$ = h[p];
51
- break;
52
- case 29:
53
- h[p].splice(2, 0, "SYSTEM"), b.addPersonOrSystemBoundary(...h[p]), this.$ = h[p];
54
- break;
55
- case 30:
56
- b.addPersonOrSystemBoundary(...h[p]), this.$ = h[p];
57
- break;
58
- case 31:
59
- h[p].splice(2, 0, "CONTAINER"), b.addContainerBoundary(...h[p]), this.$ = h[p];
60
- break;
61
- case 32:
62
- b.addDeploymentNode("node", ...h[p]), this.$ = h[p];
63
- break;
64
- case 33:
65
- b.addDeploymentNode("nodeL", ...h[p]), this.$ = h[p];
66
- break;
67
- case 34:
68
- b.addDeploymentNode("nodeR", ...h[p]), this.$ = h[p];
69
- break;
70
- case 35:
71
- b.popBoundaryParseStack();
72
- break;
73
- case 39:
74
- b.addPersonOrSystem("person", ...h[p]), this.$ = h[p];
75
- break;
76
- case 40:
77
- b.addPersonOrSystem("external_person", ...h[p]), this.$ = h[p];
78
- break;
79
- case 41:
80
- b.addPersonOrSystem("system", ...h[p]), this.$ = h[p];
81
- break;
82
- case 42:
83
- b.addPersonOrSystem("system_db", ...h[p]), this.$ = h[p];
84
- break;
85
- case 43:
86
- b.addPersonOrSystem("system_queue", ...h[p]), this.$ = h[p];
87
- break;
88
- case 44:
89
- b.addPersonOrSystem("external_system", ...h[p]), this.$ = h[p];
90
- break;
91
- case 45:
92
- b.addPersonOrSystem("external_system_db", ...h[p]), this.$ = h[p];
93
- break;
94
- case 46:
95
- b.addPersonOrSystem("external_system_queue", ...h[p]), this.$ = h[p];
96
- break;
97
- case 47:
98
- b.addContainer("container", ...h[p]), this.$ = h[p];
99
- break;
100
- case 48:
101
- b.addContainer("container_db", ...h[p]), this.$ = h[p];
102
- break;
103
- case 49:
104
- b.addContainer("container_queue", ...h[p]), this.$ = h[p];
105
- break;
106
- case 50:
107
- b.addContainer("external_container", ...h[p]), this.$ = h[p];
108
- break;
109
- case 51:
110
- b.addContainer("external_container_db", ...h[p]), this.$ = h[p];
111
- break;
112
- case 52:
113
- b.addContainer("external_container_queue", ...h[p]), this.$ = h[p];
114
- break;
115
- case 53:
116
- b.addComponent("component", ...h[p]), this.$ = h[p];
117
- break;
118
- case 54:
119
- b.addComponent("component_db", ...h[p]), this.$ = h[p];
120
- break;
121
- case 55:
122
- b.addComponent("component_queue", ...h[p]), this.$ = h[p];
123
- break;
124
- case 56:
125
- b.addComponent("external_component", ...h[p]), this.$ = h[p];
126
- break;
127
- case 57:
128
- b.addComponent("external_component_db", ...h[p]), this.$ = h[p];
129
- break;
130
- case 58:
131
- b.addComponent("external_component_queue", ...h[p]), this.$ = h[p];
132
- break;
133
- case 60:
134
- b.addRel("rel", ...h[p]), this.$ = h[p];
135
- break;
136
- case 61:
137
- b.addRel("birel", ...h[p]), this.$ = h[p];
138
- break;
139
- case 62:
140
- b.addRel("rel_u", ...h[p]), this.$ = h[p];
141
- break;
142
- case 63:
143
- b.addRel("rel_d", ...h[p]), this.$ = h[p];
144
- break;
145
- case 64:
146
- b.addRel("rel_l", ...h[p]), this.$ = h[p];
147
- break;
148
- case 65:
149
- b.addRel("rel_r", ...h[p]), this.$ = h[p];
150
- break;
151
- case 66:
152
- b.addRel("rel_b", ...h[p]), this.$ = h[p];
153
- break;
154
- case 67:
155
- h[p].splice(0, 1), b.addRel("rel", ...h[p]), this.$ = h[p];
156
- break;
157
- case 68:
158
- b.updateElStyle("update_el_style", ...h[p]), this.$ = h[p];
159
- break;
160
- case 69:
161
- b.updateRelStyle("update_rel_style", ...h[p]), this.$ = h[p];
162
- break;
163
- case 70:
164
- b.updateLayoutConfig("update_layout_config", ...h[p]), this.$ = h[p];
165
- break;
166
- case 71:
167
- this.$ = [h[p]];
168
- break;
169
- case 72:
170
- h[p].unshift(h[p - 1]), this.$ = h[p];
171
- break;
172
- case 73:
173
- case 75:
174
- this.$ = h[p].trim();
175
- break;
176
- case 74:
177
- let Et = {};
178
- Et[h[p - 1].trim()] = h[p].trim(), this.$ = Et;
179
- break;
180
- case 76:
181
- this.$ = "";
182
- break;
183
- }
184
- }, "anonymous"),
185
- table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 7: [1, 6], 8: [1, 7], 9: [1, 8], 10: 4, 11: [1, 9], 15: [1, 10], 16: [1, 11], 17: [1, 12], 18: [1, 13] }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 7] }, { 1: [2, 3] }, { 1: [2, 4] }, { 1: [2, 5] }, { 1: [2, 6] }, { 12: [1, 14] }, { 12: [1, 15] }, { 12: [1, 16] }, { 12: [1, 17] }, { 12: [1, 18] }, { 13: 19, 19: 20, 20: 21, 21: 22, 22: t, 23: s, 24: o, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: r, 36: n, 37: i, 38: u, 39: d, 40: f, 41: y, 43: 23, 44: E, 45: O, 46: S, 47: P, 48: M, 49: U, 50: H, 51: q, 52: G, 53: K, 54: J, 55: Z, 56: $, 57: tt, 58: et, 59: at, 60: it, 61: nt, 62: rt, 63: st, 64: lt, 65: ot, 66: ct, 67: ht, 68: ut, 69: dt, 70: ft, 71: pt, 72: yt, 73: gt, 74: bt }, { 13: 70, 19: 20, 20: 21, 21: 22, 22: t, 23: s, 24: o, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: r, 36: n, 37: i, 38: u, 39: d, 40: f, 41: y, 43: 23, 44: E, 45: O, 46: S, 47: P, 48: M, 49: U, 50: H, 51: q, 52: G, 53: K, 54: J, 55: Z, 56: $, 57: tt, 58: et, 59: at, 60: it, 61: nt, 62: rt, 63: st, 64: lt, 65: ot, 66: ct, 67: ht, 68: ut, 69: dt, 70: ft, 71: pt, 72: yt, 73: gt, 74: bt }, { 13: 71, 19: 20, 20: 21, 21: 22, 22: t, 23: s, 24: o, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: r, 36: n, 37: i, 38: u, 39: d, 40: f, 41: y, 43: 23, 44: E, 45: O, 46: S, 47: P, 48: M, 49: U, 50: H, 51: q, 52: G, 53: K, 54: J, 55: Z, 56: $, 57: tt, 58: et, 59: at, 60: it, 61: nt, 62: rt, 63: st, 64: lt, 65: ot, 66: ct, 67: ht, 68: ut, 69: dt, 70: ft, 71: pt, 72: yt, 73: gt, 74: bt }, { 13: 72, 19: 20, 20: 21, 21: 22, 22: t, 23: s, 24: o, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: r, 36: n, 37: i, 38: u, 39: d, 40: f, 41: y, 43: 23, 44: E, 45: O, 46: S, 47: P, 48: M, 49: U, 50: H, 51: q, 52: G, 53: K, 54: J, 55: Z, 56: $, 57: tt, 58: et, 59: at, 60: it, 61: nt, 62: rt, 63: st, 64: lt, 65: ot, 66: ct, 67: ht, 68: ut, 69: dt, 70: ft, 71: pt, 72: yt, 73: gt, 74: bt }, { 13: 73, 19: 20, 20: 21, 21: 22, 22: t, 23: s, 24: o, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: r, 36: n, 37: i, 38: u, 39: d, 40: f, 41: y, 43: 23, 44: E, 45: O, 46: S, 47: P, 48: M, 49: U, 50: H, 51: q, 52: G, 53: K, 54: J, 55: Z, 56: $, 57: tt, 58: et, 59: at, 60: it, 61: nt, 62: rt, 63: st, 64: lt, 65: ot, 66: ct, 67: ht, 68: ut, 69: dt, 70: ft, 71: pt, 72: yt, 73: gt, 74: bt }, { 14: [1, 74] }, e(Ct, [2, 13], { 43: 23, 29: 49, 30: 61, 32: 62, 20: 75, 34: r, 36: n, 37: i, 38: u, 39: d, 40: f, 41: y, 44: E, 45: O, 46: S, 47: P, 48: M, 49: U, 50: H, 51: q, 52: G, 53: K, 54: J, 55: Z, 56: $, 57: tt, 58: et, 59: at, 60: it, 61: nt, 62: rt, 63: st, 64: lt, 65: ot, 66: ct, 67: ht, 68: ut, 69: dt, 70: ft, 71: pt, 72: yt, 73: gt, 74: bt }), e(Ct, [2, 14]), e(Qt, [2, 16], { 12: [1, 76] }), e(Ct, [2, 36], { 12: [1, 77] }), e(St, [2, 19]), e(St, [2, 20]), { 25: [1, 78] }, { 27: [1, 79] }, e(St, [2, 23]), { 35: 80, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 86, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 87, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 88, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 89, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 90, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 91, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 92, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 93, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 94, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 95, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 96, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 97, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 98, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 99, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 100, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 101, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 102, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 103, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 104, 75: 81, 76: k, 77: A, 79: C, 80: w }, e(T, [2, 59]), { 35: 105, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 106, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 107, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 108, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 109, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 110, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 111, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 112, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 113, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 114, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 115, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 20: 116, 29: 49, 30: 61, 32: 62, 34: r, 36: n, 37: i, 38: u, 39: d, 40: f, 41: y, 43: 23, 44: E, 45: O, 46: S, 47: P, 48: M, 49: U, 50: H, 51: q, 52: G, 53: K, 54: J, 55: Z, 56: $, 57: tt, 58: et, 59: at, 60: it, 61: nt, 62: rt, 63: st, 64: lt, 65: ot, 66: ct, 67: ht, 68: ut, 69: dt, 70: ft, 71: pt, 72: yt, 73: gt, 74: bt }, { 12: [1, 118], 33: [1, 117] }, { 35: 119, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 120, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 121, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 122, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 123, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 124, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 125, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 14: [1, 126] }, { 14: [1, 127] }, { 14: [1, 128] }, { 14: [1, 129] }, { 1: [2, 8] }, e(Ct, [2, 15]), e(Qt, [2, 17], { 21: 22, 19: 130, 22: t, 23: s, 24: o, 26: l, 28: a }), e(Ct, [2, 37], { 19: 20, 20: 21, 21: 22, 43: 23, 29: 49, 30: 61, 32: 62, 13: 131, 22: t, 23: s, 24: o, 26: l, 28: a, 34: r, 36: n, 37: i, 38: u, 39: d, 40: f, 41: y, 44: E, 45: O, 46: S, 47: P, 48: M, 49: U, 50: H, 51: q, 52: G, 53: K, 54: J, 55: Z, 56: $, 57: tt, 58: et, 59: at, 60: it, 61: nt, 62: rt, 63: st, 64: lt, 65: ot, 66: ct, 67: ht, 68: ut, 69: dt, 70: ft, 71: pt, 72: yt, 73: gt, 74: bt }), e(St, [2, 21]), e(St, [2, 22]), e(T, [2, 39]), e(le, [2, 71], { 75: 81, 35: 132, 76: k, 77: A, 79: C, 80: w }), e(Mt, [2, 73]), { 78: [1, 133] }, e(Mt, [2, 75]), e(Mt, [2, 76]), e(T, [2, 40]), e(T, [2, 41]), e(T, [2, 42]), e(T, [2, 43]), e(T, [2, 44]), e(T, [2, 45]), e(T, [2, 46]), e(T, [2, 47]), e(T, [2, 48]), e(T, [2, 49]), e(T, [2, 50]), e(T, [2, 51]), e(T, [2, 52]), e(T, [2, 53]), e(T, [2, 54]), e(T, [2, 55]), e(T, [2, 56]), e(T, [2, 57]), e(T, [2, 58]), e(T, [2, 60]), e(T, [2, 61]), e(T, [2, 62]), e(T, [2, 63]), e(T, [2, 64]), e(T, [2, 65]), e(T, [2, 66]), e(T, [2, 67]), e(T, [2, 68]), e(T, [2, 69]), e(T, [2, 70]), { 31: 134, 42: [1, 135] }, { 12: [1, 136] }, { 33: [1, 137] }, e(vt, [2, 28]), e(vt, [2, 29]), e(vt, [2, 30]), e(vt, [2, 31]), e(vt, [2, 32]), e(vt, [2, 33]), e(vt, [2, 34]), { 1: [2, 9] }, { 1: [2, 10] }, { 1: [2, 11] }, { 1: [2, 12] }, e(Qt, [2, 18]), e(Ct, [2, 38]), e(le, [2, 72]), e(Mt, [2, 74]), e(T, [2, 24]), e(T, [2, 35]), e(Ht, [2, 25]), e(Ht, [2, 26], { 12: [1, 138] }), e(Ht, [2, 27])],
186
- defaultActions: { 2: [2, 1], 3: [2, 2], 4: [2, 7], 5: [2, 3], 6: [2, 4], 7: [2, 5], 8: [2, 6], 74: [2, 8], 126: [2, 9], 127: [2, 10], 128: [2, 11], 129: [2, 12] },
187
- parseError: /* @__PURE__ */ g(function(x, m) {
188
- if (m.recoverable)
189
- this.trace(x);
190
- else {
191
- var v = new Error(x);
192
- throw v.hash = m, v;
193
- }
194
- }, "parseError"),
195
- parse: /* @__PURE__ */ g(function(x) {
196
- var m = this, v = [0], b = [], R = [null], h = [], Dt = this.table, p = "", Et = 0, oe = 0, we = 2, ce = 1, Te = h.slice.call(arguments, 1), D = Object.create(this.lexer), kt = { yy: {} };
197
- for (var Gt in this.yy)
198
- Object.prototype.hasOwnProperty.call(this.yy, Gt) && (kt.yy[Gt] = this.yy[Gt]);
199
- D.setInput(x, kt.yy), kt.yy.lexer = D, kt.yy.parser = this, typeof D.yylloc > "u" && (D.yylloc = {});
200
- var Kt = D.yylloc;
201
- h.push(Kt);
202
- var Oe = D.options && D.options.ranges;
203
- typeof kt.yy.parseError == "function" ? this.parseError = kt.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
204
- function Re(L) {
205
- v.length = v.length - 2 * L, R.length = R.length - L, h.length = h.length - L;
206
- }
207
- g(Re, "popStack");
208
- function he() {
209
- var L;
210
- return L = b.pop() || D.lex() || ce, typeof L != "number" && (L instanceof Array && (b = L, L = b.pop()), L = m.symbols_[L] || L), L;
211
- }
212
- g(he, "lex");
213
- for (var I, At, N, Jt, wt = {}, Nt, W, ue, Yt; ; ) {
214
- if (At = v[v.length - 1], this.defaultActions[At] ? N = this.defaultActions[At] : ((I === null || typeof I > "u") && (I = he()), N = Dt[At] && Dt[At][I]), typeof N > "u" || !N.length || !N[0]) {
215
- var Zt = "";
216
- Yt = [];
217
- for (Nt in Dt[At])
218
- this.terminals_[Nt] && Nt > we && Yt.push("'" + this.terminals_[Nt] + "'");
219
- D.showPosition ? Zt = "Parse error on line " + (Et + 1) + `:
220
- ` + D.showPosition() + `
221
- Expecting ` + Yt.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : Zt = "Parse error on line " + (Et + 1) + ": Unexpected " + (I == ce ? "end of input" : "'" + (this.terminals_[I] || I) + "'"), this.parseError(Zt, {
222
- text: D.match,
223
- token: this.terminals_[I] || I,
224
- line: D.yylineno,
225
- loc: Kt,
226
- expected: Yt
227
- });
228
- }
229
- if (N[0] instanceof Array && N.length > 1)
230
- throw new Error("Parse Error: multiple actions possible at state: " + At + ", token: " + I);
231
- switch (N[0]) {
232
- case 1:
233
- v.push(I), R.push(D.yytext), h.push(D.yylloc), v.push(N[1]), I = null, oe = D.yyleng, p = D.yytext, Et = D.yylineno, Kt = D.yylloc;
234
- break;
235
- case 2:
236
- if (W = this.productions_[N[1]][1], wt.$ = R[R.length - W], wt._$ = {
237
- first_line: h[h.length - (W || 1)].first_line,
238
- last_line: h[h.length - 1].last_line,
239
- first_column: h[h.length - (W || 1)].first_column,
240
- last_column: h[h.length - 1].last_column
241
- }, Oe && (wt._$.range = [
242
- h[h.length - (W || 1)].range[0],
243
- h[h.length - 1].range[1]
244
- ]), Jt = this.performAction.apply(wt, [
245
- p,
246
- oe,
247
- Et,
248
- kt.yy,
249
- N[1],
250
- R,
251
- h
252
- ].concat(Te)), typeof Jt < "u")
253
- return Jt;
254
- W && (v = v.slice(0, -1 * W * 2), R = R.slice(0, -1 * W), h = h.slice(0, -1 * W)), v.push(this.productions_[N[1]][0]), R.push(wt.$), h.push(wt._$), ue = Dt[v[v.length - 2]][v[v.length - 1]], v.push(ue);
255
- break;
256
- case 3:
257
- return !0;
258
- }
259
- }
260
- return !0;
261
- }, "parse")
262
- }, Ce = /* @__PURE__ */ function() {
263
- var _t = {
264
- EOF: 1,
265
- parseError: /* @__PURE__ */ g(function(m, v) {
266
- if (this.yy.parser)
267
- this.yy.parser.parseError(m, v);
268
- else
269
- throw new Error(m);
270
- }, "parseError"),
271
- // resets the lexer, sets new input
272
- setInput: /* @__PURE__ */ g(function(x, m) {
273
- return this.yy = m || this.yy || {}, this._input = x, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
274
- first_line: 1,
275
- first_column: 0,
276
- last_line: 1,
277
- last_column: 0
278
- }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
279
- }, "setInput"),
280
- // consumes and returns one char from the input
281
- input: /* @__PURE__ */ g(function() {
282
- var x = this._input[0];
283
- this.yytext += x, this.yyleng++, this.offset++, this.match += x, this.matched += x;
284
- var m = x.match(/(?:\r\n?|\n).*/g);
285
- return m ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), x;
286
- }, "input"),
287
- // unshifts one char (or a string) into the input
288
- unput: /* @__PURE__ */ g(function(x) {
289
- var m = x.length, v = x.split(/(?:\r\n?|\n)/g);
290
- this._input = x + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - m), this.offset -= m;
291
- var b = this.match.split(/(?:\r\n?|\n)/g);
292
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), v.length - 1 && (this.yylineno -= v.length - 1);
293
- var R = this.yylloc.range;
294
- return this.yylloc = {
295
- first_line: this.yylloc.first_line,
296
- last_line: this.yylineno + 1,
297
- first_column: this.yylloc.first_column,
298
- last_column: v ? (v.length === b.length ? this.yylloc.first_column : 0) + b[b.length - v.length].length - v[0].length : this.yylloc.first_column - m
299
- }, this.options.ranges && (this.yylloc.range = [R[0], R[0] + this.yyleng - m]), this.yyleng = this.yytext.length, this;
300
- }, "unput"),
301
- // When called from action, caches matched text and appends it on next action
302
- more: /* @__PURE__ */ g(function() {
303
- return this._more = !0, this;
304
- }, "more"),
305
- // 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.
306
- reject: /* @__PURE__ */ g(function() {
307
- if (this.options.backtrack_lexer)
308
- this._backtrack = !0;
309
- else
310
- 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).
311
- ` + this.showPosition(), {
312
- text: "",
313
- token: null,
314
- line: this.yylineno
315
- });
316
- return this;
317
- }, "reject"),
318
- // retain first n characters of the match
319
- less: /* @__PURE__ */ g(function(x) {
320
- this.unput(this.match.slice(x));
321
- }, "less"),
322
- // displays already matched input, i.e. for error messages
323
- pastInput: /* @__PURE__ */ g(function() {
324
- var x = this.matched.substr(0, this.matched.length - this.match.length);
325
- return (x.length > 20 ? "..." : "") + x.substr(-20).replace(/\n/g, "");
326
- }, "pastInput"),
327
- // displays upcoming input, i.e. for error messages
328
- upcomingInput: /* @__PURE__ */ g(function() {
329
- var x = this.match;
330
- return x.length < 20 && (x += this._input.substr(0, 20 - x.length)), (x.substr(0, 20) + (x.length > 20 ? "..." : "")).replace(/\n/g, "");
331
- }, "upcomingInput"),
332
- // displays the character position where the lexing error occurred, i.e. for error messages
333
- showPosition: /* @__PURE__ */ g(function() {
334
- var x = this.pastInput(), m = new Array(x.length + 1).join("-");
335
- return x + this.upcomingInput() + `
336
- ` + m + "^";
337
- }, "showPosition"),
338
- // test the lexed token: return FALSE when not a match, otherwise return token
339
- test_match: /* @__PURE__ */ g(function(x, m) {
340
- var v, b, R;
341
- if (this.options.backtrack_lexer && (R = {
342
- yylineno: this.yylineno,
343
- yylloc: {
344
- first_line: this.yylloc.first_line,
345
- last_line: this.last_line,
346
- first_column: this.yylloc.first_column,
347
- last_column: this.yylloc.last_column
348
- },
349
- yytext: this.yytext,
350
- match: this.match,
351
- matches: this.matches,
352
- matched: this.matched,
353
- yyleng: this.yyleng,
354
- offset: this.offset,
355
- _more: this._more,
356
- _input: this._input,
357
- yy: this.yy,
358
- conditionStack: this.conditionStack.slice(0),
359
- done: this.done
360
- }, this.options.ranges && (R.yylloc.range = this.yylloc.range.slice(0))), b = x[0].match(/(?:\r\n?|\n).*/g), b && (this.yylineno += b.length), this.yylloc = {
361
- first_line: this.yylloc.last_line,
362
- last_line: this.yylineno + 1,
363
- first_column: this.yylloc.last_column,
364
- last_column: b ? b[b.length - 1].length - b[b.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + x[0].length
365
- }, this.yytext += x[0], this.match += x[0], this.matches = x, 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(x[0].length), this.matched += x[0], v = this.performAction.call(this, this.yy, this, m, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), v)
366
- return v;
367
- if (this._backtrack) {
368
- for (var h in R)
369
- this[h] = R[h];
370
- return !1;
371
- }
372
- return !1;
373
- }, "test_match"),
374
- // return next match in input
375
- next: /* @__PURE__ */ g(function() {
376
- if (this.done)
377
- return this.EOF;
378
- this._input || (this.done = !0);
379
- var x, m, v, b;
380
- this._more || (this.yytext = "", this.match = "");
381
- for (var R = this._currentRules(), h = 0; h < R.length; h++)
382
- if (v = this._input.match(this.rules[R[h]]), v && (!m || v[0].length > m[0].length)) {
383
- if (m = v, b = h, this.options.backtrack_lexer) {
384
- if (x = this.test_match(v, R[h]), x !== !1)
385
- return x;
386
- if (this._backtrack) {
387
- m = !1;
388
- continue;
389
- } else
390
- return !1;
391
- } else if (!this.options.flex)
392
- break;
393
- }
394
- return m ? (x = this.test_match(m, R[b]), x !== !1 ? x : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
395
- ` + this.showPosition(), {
396
- text: "",
397
- token: null,
398
- line: this.yylineno
399
- });
400
- }, "next"),
401
- // return next match that has a token
402
- lex: /* @__PURE__ */ g(function() {
403
- var m = this.next();
404
- return m || this.lex();
405
- }, "lex"),
406
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
407
- begin: /* @__PURE__ */ g(function(m) {
408
- this.conditionStack.push(m);
409
- }, "begin"),
410
- // pop the previously active lexer condition state off the condition stack
411
- popState: /* @__PURE__ */ g(function() {
412
- var m = this.conditionStack.length - 1;
413
- return m > 0 ? this.conditionStack.pop() : this.conditionStack[0];
414
- }, "popState"),
415
- // produce the lexer rule set which is active for the currently active lexer condition state
416
- _currentRules: /* @__PURE__ */ g(function() {
417
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
418
- }, "_currentRules"),
419
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
420
- topState: /* @__PURE__ */ g(function(m) {
421
- return m = this.conditionStack.length - 1 - Math.abs(m || 0), m >= 0 ? this.conditionStack[m] : "INITIAL";
422
- }, "topState"),
423
- // alias for begin(condition)
424
- pushState: /* @__PURE__ */ g(function(m) {
425
- this.begin(m);
426
- }, "pushState"),
427
- // return the number of states currently on the stack
428
- stateStackSize: /* @__PURE__ */ g(function() {
429
- return this.conditionStack.length;
430
- }, "stateStackSize"),
431
- options: {},
432
- performAction: /* @__PURE__ */ g(function(m, v, b, R) {
433
- switch (b) {
434
- case 0:
435
- return 6;
436
- case 1:
437
- return 7;
438
- case 2:
439
- return 8;
440
- case 3:
441
- return 9;
442
- case 4:
443
- return 22;
444
- case 5:
445
- return 23;
446
- case 6:
447
- return this.begin("acc_title"), 24;
448
- case 7:
449
- return this.popState(), "acc_title_value";
450
- case 8:
451
- return this.begin("acc_descr"), 26;
452
- case 9:
453
- return this.popState(), "acc_descr_value";
454
- case 10:
455
- this.begin("acc_descr_multiline");
456
- break;
457
- case 11:
458
- this.popState();
459
- break;
460
- case 12:
461
- return "acc_descr_multiline_value";
462
- case 13:
463
- break;
464
- case 14:
465
- c;
466
- break;
467
- case 15:
468
- return 12;
469
- case 16:
470
- break;
471
- case 17:
472
- return 11;
473
- case 18:
474
- return 15;
475
- case 19:
476
- return 16;
477
- case 20:
478
- return 17;
479
- case 21:
480
- return 18;
481
- case 22:
482
- return this.begin("person_ext"), 45;
483
- case 23:
484
- return this.begin("person"), 44;
485
- case 24:
486
- return this.begin("system_ext_queue"), 51;
487
- case 25:
488
- return this.begin("system_ext_db"), 50;
489
- case 26:
490
- return this.begin("system_ext"), 49;
491
- case 27:
492
- return this.begin("system_queue"), 48;
493
- case 28:
494
- return this.begin("system_db"), 47;
495
- case 29:
496
- return this.begin("system"), 46;
497
- case 30:
498
- return this.begin("boundary"), 37;
499
- case 31:
500
- return this.begin("enterprise_boundary"), 34;
501
- case 32:
502
- return this.begin("system_boundary"), 36;
503
- case 33:
504
- return this.begin("container_ext_queue"), 57;
505
- case 34:
506
- return this.begin("container_ext_db"), 56;
507
- case 35:
508
- return this.begin("container_ext"), 55;
509
- case 36:
510
- return this.begin("container_queue"), 54;
511
- case 37:
512
- return this.begin("container_db"), 53;
513
- case 38:
514
- return this.begin("container"), 52;
515
- case 39:
516
- return this.begin("container_boundary"), 38;
517
- case 40:
518
- return this.begin("component_ext_queue"), 63;
519
- case 41:
520
- return this.begin("component_ext_db"), 62;
521
- case 42:
522
- return this.begin("component_ext"), 61;
523
- case 43:
524
- return this.begin("component_queue"), 60;
525
- case 44:
526
- return this.begin("component_db"), 59;
527
- case 45:
528
- return this.begin("component"), 58;
529
- case 46:
530
- return this.begin("node"), 39;
531
- case 47:
532
- return this.begin("node"), 39;
533
- case 48:
534
- return this.begin("node_l"), 40;
535
- case 49:
536
- return this.begin("node_r"), 41;
537
- case 50:
538
- return this.begin("rel"), 64;
539
- case 51:
540
- return this.begin("birel"), 65;
541
- case 52:
542
- return this.begin("rel_u"), 66;
543
- case 53:
544
- return this.begin("rel_u"), 66;
545
- case 54:
546
- return this.begin("rel_d"), 67;
547
- case 55:
548
- return this.begin("rel_d"), 67;
549
- case 56:
550
- return this.begin("rel_l"), 68;
551
- case 57:
552
- return this.begin("rel_l"), 68;
553
- case 58:
554
- return this.begin("rel_r"), 69;
555
- case 59:
556
- return this.begin("rel_r"), 69;
557
- case 60:
558
- return this.begin("rel_b"), 70;
559
- case 61:
560
- return this.begin("rel_index"), 71;
561
- case 62:
562
- return this.begin("update_el_style"), 72;
563
- case 63:
564
- return this.begin("update_rel_style"), 73;
565
- case 64:
566
- return this.begin("update_layout_config"), 74;
567
- case 65:
568
- return "EOF_IN_STRUCT";
569
- case 66:
570
- return this.begin("attribute"), "ATTRIBUTE_EMPTY";
571
- case 67:
572
- this.begin("attribute");
573
- break;
574
- case 68:
575
- this.popState(), this.popState();
576
- break;
577
- case 69:
578
- return 80;
579
- case 70:
580
- break;
581
- case 71:
582
- return 80;
583
- case 72:
584
- this.begin("string");
585
- break;
586
- case 73:
587
- this.popState();
588
- break;
589
- case 74:
590
- return "STR";
591
- case 75:
592
- this.begin("string_kv");
593
- break;
594
- case 76:
595
- return this.begin("string_kv_key"), "STR_KEY";
596
- case 77:
597
- this.popState(), this.begin("string_kv_value");
598
- break;
599
- case 78:
600
- return "STR_VALUE";
601
- case 79:
602
- this.popState(), this.popState();
603
- break;
604
- case 80:
605
- return "STR";
606
- case 81:
607
- return "LBRACE";
608
- case 82:
609
- return "RBRACE";
610
- case 83:
611
- return "SPACE";
612
- case 84:
613
- return "EOL";
614
- case 85:
615
- return 14;
616
- }
617
- }, "anonymous"),
618
- rules: [/^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:title\s[^#\n;]+)/, /^(?:accDescription\s[^#\n;]+)/, /^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/, /^(?:%%[^\n]*(\r?\n)*)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:C4Context\b)/, /^(?:C4Container\b)/, /^(?:C4Component\b)/, /^(?:C4Dynamic\b)/, /^(?:C4Deployment\b)/, /^(?:Person_Ext\b)/, /^(?:Person\b)/, /^(?:SystemQueue_Ext\b)/, /^(?:SystemDb_Ext\b)/, /^(?:System_Ext\b)/, /^(?:SystemQueue\b)/, /^(?:SystemDb\b)/, /^(?:System\b)/, /^(?:Boundary\b)/, /^(?:Enterprise_Boundary\b)/, /^(?:System_Boundary\b)/, /^(?:ContainerQueue_Ext\b)/, /^(?:ContainerDb_Ext\b)/, /^(?:Container_Ext\b)/, /^(?:ContainerQueue\b)/, /^(?:ContainerDb\b)/, /^(?:Container\b)/, /^(?:Container_Boundary\b)/, /^(?:ComponentQueue_Ext\b)/, /^(?:ComponentDb_Ext\b)/, /^(?:Component_Ext\b)/, /^(?:ComponentQueue\b)/, /^(?:ComponentDb\b)/, /^(?:Component\b)/, /^(?:Deployment_Node\b)/, /^(?:Node\b)/, /^(?:Node_L\b)/, /^(?:Node_R\b)/, /^(?:Rel\b)/, /^(?:BiRel\b)/, /^(?:Rel_Up\b)/, /^(?:Rel_U\b)/, /^(?:Rel_Down\b)/, /^(?:Rel_D\b)/, /^(?:Rel_Left\b)/, /^(?:Rel_L\b)/, /^(?:Rel_Right\b)/, /^(?:Rel_R\b)/, /^(?:Rel_Back\b)/, /^(?:RelIndex\b)/, /^(?:UpdateElementStyle\b)/, /^(?:UpdateRelStyle\b)/, /^(?:UpdateLayoutConfig\b)/, /^(?:$)/, /^(?:[(][ ]*[,])/, /^(?:[(])/, /^(?:[)])/, /^(?:,,)/, /^(?:,)/, /^(?:[ ]*["]["])/, /^(?:[ ]*["])/, /^(?:["])/, /^(?:[^"]*)/, /^(?:[ ]*[\$])/, /^(?:[^=]*)/, /^(?:[=][ ]*["])/, /^(?:[^"]+)/, /^(?:["])/, /^(?:[^,]+)/, /^(?:\{)/, /^(?:\})/, /^(?:[\s]+)/, /^(?:[\n\r]+)/, /^(?:$)/],
619
- conditions: { acc_descr_multiline: { rules: [11, 12], inclusive: !1 }, acc_descr: { rules: [9], inclusive: !1 }, acc_title: { rules: [7], inclusive: !1 }, string_kv_value: { rules: [78, 79], inclusive: !1 }, string_kv_key: { rules: [77], inclusive: !1 }, string_kv: { rules: [76], inclusive: !1 }, string: { rules: [73, 74], inclusive: !1 }, attribute: { rules: [68, 69, 70, 71, 72, 75, 80], inclusive: !1 }, update_layout_config: { rules: [65, 66, 67, 68], inclusive: !1 }, update_rel_style: { rules: [65, 66, 67, 68], inclusive: !1 }, update_el_style: { rules: [65, 66, 67, 68], inclusive: !1 }, rel_b: { rules: [65, 66, 67, 68], inclusive: !1 }, rel_r: { rules: [65, 66, 67, 68], inclusive: !1 }, rel_l: { rules: [65, 66, 67, 68], inclusive: !1 }, rel_d: { rules: [65, 66, 67, 68], inclusive: !1 }, rel_u: { rules: [65, 66, 67, 68], inclusive: !1 }, rel_bi: { rules: [], inclusive: !1 }, rel: { rules: [65, 66, 67, 68], inclusive: !1 }, node_r: { rules: [65, 66, 67, 68], inclusive: !1 }, node_l: { rules: [65, 66, 67, 68], inclusive: !1 }, node: { rules: [65, 66, 67, 68], inclusive: !1 }, index: { rules: [], inclusive: !1 }, rel_index: { rules: [65, 66, 67, 68], inclusive: !1 }, component_ext_queue: { rules: [], inclusive: !1 }, component_ext_db: { rules: [65, 66, 67, 68], inclusive: !1 }, component_ext: { rules: [65, 66, 67, 68], inclusive: !1 }, component_queue: { rules: [65, 66, 67, 68], inclusive: !1 }, component_db: { rules: [65, 66, 67, 68], inclusive: !1 }, component: { rules: [65, 66, 67, 68], inclusive: !1 }, container_boundary: { rules: [65, 66, 67, 68], inclusive: !1 }, container_ext_queue: { rules: [65, 66, 67, 68], inclusive: !1 }, container_ext_db: { rules: [65, 66, 67, 68], inclusive: !1 }, container_ext: { rules: [65, 66, 67, 68], inclusive: !1 }, container_queue: { rules: [65, 66, 67, 68], inclusive: !1 }, container_db: { rules: [65, 66, 67, 68], inclusive: !1 }, container: { rules: [65, 66, 67, 68], inclusive: !1 }, birel: { rules: [65, 66, 67, 68], inclusive: !1 }, system_boundary: { rules: [65, 66, 67, 68], inclusive: !1 }, enterprise_boundary: { rules: [65, 66, 67, 68], inclusive: !1 }, boundary: { rules: [65, 66, 67, 68], inclusive: !1 }, system_ext_queue: { rules: [65, 66, 67, 68], inclusive: !1 }, system_ext_db: { rules: [65, 66, 67, 68], inclusive: !1 }, system_ext: { rules: [65, 66, 67, 68], inclusive: !1 }, system_queue: { rules: [65, 66, 67, 68], inclusive: !1 }, system_db: { rules: [65, 66, 67, 68], inclusive: !1 }, system: { rules: [65, 66, 67, 68], inclusive: !1 }, person_ext: { rules: [65, 66, 67, 68], inclusive: !1 }, person: { rules: [65, 66, 67, 68], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 8, 10, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 81, 82, 83, 84, 85], inclusive: !0 } }
620
- };
621
- return _t;
622
- }();
623
- qt.lexer = Ce;
624
- function Lt() {
625
- this.yy = {};
626
- }
627
- return g(Lt, "Parser"), Lt.prototype = qt, qt.Parser = Lt, new Lt();
628
- }();
629
- Ft.parser = Ft;
630
- var Ue = Ft, V = [], xt = [""], B = "global", F = "", X = [
631
- {
632
- alias: "global",
633
- label: { text: "global" },
634
- type: { text: "global" },
635
- tags: null,
636
- link: null,
637
- parentBoundary: ""
638
- }
639
- ], It = [], ie = "", ne = !1, Vt = 4, zt = 2, be, Fe = /* @__PURE__ */ g(function() {
640
- return be;
641
- }, "getC4Type"), Ve = /* @__PURE__ */ g(function(e) {
642
- be = ge(e, Bt());
643
- }, "setC4Type"), ze = /* @__PURE__ */ g(function(e, t, s, o, l, a, r, n, i) {
644
- if (e == null || t === void 0 || t === null || s === void 0 || s === null || o === void 0 || o === null)
645
- return;
646
- let u = {};
647
- const d = It.find((f) => f.from === t && f.to === s);
648
- if (d ? u = d : It.push(u), u.type = e, u.from = t, u.to = s, u.label = { text: o }, l == null)
649
- u.techn = { text: "" };
650
- else if (typeof l == "object") {
651
- let [f, y] = Object.entries(l)[0];
652
- u[f] = { text: y };
653
- } else
654
- u.techn = { text: l };
655
- if (a == null)
656
- u.descr = { text: "" };
657
- else if (typeof a == "object") {
658
- let [f, y] = Object.entries(a)[0];
659
- u[f] = { text: y };
660
- } else
661
- u.descr = { text: a };
662
- if (typeof r == "object") {
663
- let [f, y] = Object.entries(r)[0];
664
- u[f] = y;
665
- } else
666
- u.sprite = r;
667
- if (typeof n == "object") {
668
- let [f, y] = Object.entries(n)[0];
669
- u[f] = y;
670
- } else
671
- u.tags = n;
672
- if (typeof i == "object") {
673
- let [f, y] = Object.entries(i)[0];
674
- u[f] = y;
675
- } else
676
- u.link = i;
677
- u.wrap = mt();
678
- }, "addRel"), Xe = /* @__PURE__ */ g(function(e, t, s, o, l, a, r) {
679
- if (t === null || s === null)
680
- return;
681
- let n = {};
682
- const i = V.find((u) => u.alias === t);
683
- if (i && t === i.alias ? n = i : (n.alias = t, V.push(n)), s == null ? n.label = { text: "" } : n.label = { text: s }, o == null)
684
- n.descr = { text: "" };
685
- else if (typeof o == "object") {
686
- let [u, d] = Object.entries(o)[0];
687
- n[u] = { text: d };
688
- } else
689
- n.descr = { text: o };
690
- if (typeof l == "object") {
691
- let [u, d] = Object.entries(l)[0];
692
- n[u] = d;
693
- } else
694
- n.sprite = l;
695
- if (typeof a == "object") {
696
- let [u, d] = Object.entries(a)[0];
697
- n[u] = d;
698
- } else
699
- n.tags = a;
700
- if (typeof r == "object") {
701
- let [u, d] = Object.entries(r)[0];
702
- n[u] = d;
703
- } else
704
- n.link = r;
705
- n.typeC4Shape = { text: e }, n.parentBoundary = B, n.wrap = mt();
706
- }, "addPersonOrSystem"), We = /* @__PURE__ */ g(function(e, t, s, o, l, a, r, n) {
707
- if (t === null || s === null)
708
- return;
709
- let i = {};
710
- const u = V.find((d) => d.alias === t);
711
- if (u && t === u.alias ? i = u : (i.alias = t, V.push(i)), s == null ? i.label = { text: "" } : i.label = { text: s }, o == null)
712
- i.techn = { text: "" };
713
- else if (typeof o == "object") {
714
- let [d, f] = Object.entries(o)[0];
715
- i[d] = { text: f };
716
- } else
717
- i.techn = { text: o };
718
- if (l == null)
719
- i.descr = { text: "" };
720
- else if (typeof l == "object") {
721
- let [d, f] = Object.entries(l)[0];
722
- i[d] = { text: f };
723
- } else
724
- i.descr = { text: l };
725
- if (typeof a == "object") {
726
- let [d, f] = Object.entries(a)[0];
727
- i[d] = f;
728
- } else
729
- i.sprite = a;
730
- if (typeof r == "object") {
731
- let [d, f] = Object.entries(r)[0];
732
- i[d] = f;
733
- } else
734
- i.tags = r;
735
- if (typeof n == "object") {
736
- let [d, f] = Object.entries(n)[0];
737
- i[d] = f;
738
- } else
739
- i.link = n;
740
- i.wrap = mt(), i.typeC4Shape = { text: e }, i.parentBoundary = B;
741
- }, "addContainer"), Qe = /* @__PURE__ */ g(function(e, t, s, o, l, a, r, n) {
742
- if (t === null || s === null)
743
- return;
744
- let i = {};
745
- const u = V.find((d) => d.alias === t);
746
- if (u && t === u.alias ? i = u : (i.alias = t, V.push(i)), s == null ? i.label = { text: "" } : i.label = { text: s }, o == null)
747
- i.techn = { text: "" };
748
- else if (typeof o == "object") {
749
- let [d, f] = Object.entries(o)[0];
750
- i[d] = { text: f };
751
- } else
752
- i.techn = { text: o };
753
- if (l == null)
754
- i.descr = { text: "" };
755
- else if (typeof l == "object") {
756
- let [d, f] = Object.entries(l)[0];
757
- i[d] = { text: f };
758
- } else
759
- i.descr = { text: l };
760
- if (typeof a == "object") {
761
- let [d, f] = Object.entries(a)[0];
762
- i[d] = f;
763
- } else
764
- i.sprite = a;
765
- if (typeof r == "object") {
766
- let [d, f] = Object.entries(r)[0];
767
- i[d] = f;
768
- } else
769
- i.tags = r;
770
- if (typeof n == "object") {
771
- let [d, f] = Object.entries(n)[0];
772
- i[d] = f;
773
- } else
774
- i.link = n;
775
- i.wrap = mt(), i.typeC4Shape = { text: e }, i.parentBoundary = B;
776
- }, "addComponent"), He = /* @__PURE__ */ g(function(e, t, s, o, l) {
777
- if (e === null || t === null)
778
- return;
779
- let a = {};
780
- const r = X.find((n) => n.alias === e);
781
- if (r && e === r.alias ? a = r : (a.alias = e, X.push(a)), t == null ? a.label = { text: "" } : a.label = { text: t }, s == null)
782
- a.type = { text: "system" };
783
- else if (typeof s == "object") {
784
- let [n, i] = Object.entries(s)[0];
785
- a[n] = { text: i };
786
- } else
787
- a.type = { text: s };
788
- if (typeof o == "object") {
789
- let [n, i] = Object.entries(o)[0];
790
- a[n] = i;
791
- } else
792
- a.tags = o;
793
- if (typeof l == "object") {
794
- let [n, i] = Object.entries(l)[0];
795
- a[n] = i;
796
- } else
797
- a.link = l;
798
- a.parentBoundary = B, a.wrap = mt(), F = B, B = e, xt.push(F);
799
- }, "addPersonOrSystemBoundary"), qe = /* @__PURE__ */ g(function(e, t, s, o, l) {
800
- if (e === null || t === null)
801
- return;
802
- let a = {};
803
- const r = X.find((n) => n.alias === e);
804
- if (r && e === r.alias ? a = r : (a.alias = e, X.push(a)), t == null ? a.label = { text: "" } : a.label = { text: t }, s == null)
805
- a.type = { text: "container" };
806
- else if (typeof s == "object") {
807
- let [n, i] = Object.entries(s)[0];
808
- a[n] = { text: i };
809
- } else
810
- a.type = { text: s };
811
- if (typeof o == "object") {
812
- let [n, i] = Object.entries(o)[0];
813
- a[n] = i;
814
- } else
815
- a.tags = o;
816
- if (typeof l == "object") {
817
- let [n, i] = Object.entries(l)[0];
818
- a[n] = i;
819
- } else
820
- a.link = l;
821
- a.parentBoundary = B, a.wrap = mt(), F = B, B = e, xt.push(F);
822
- }, "addContainerBoundary"), Ge = /* @__PURE__ */ g(function(e, t, s, o, l, a, r, n) {
823
- if (t === null || s === null)
824
- return;
825
- let i = {};
826
- const u = X.find((d) => d.alias === t);
827
- if (u && t === u.alias ? i = u : (i.alias = t, X.push(i)), s == null ? i.label = { text: "" } : i.label = { text: s }, o == null)
828
- i.type = { text: "node" };
829
- else if (typeof o == "object") {
830
- let [d, f] = Object.entries(o)[0];
831
- i[d] = { text: f };
832
- } else
833
- i.type = { text: o };
834
- if (l == null)
835
- i.descr = { text: "" };
836
- else if (typeof l == "object") {
837
- let [d, f] = Object.entries(l)[0];
838
- i[d] = { text: f };
839
- } else
840
- i.descr = { text: l };
841
- if (typeof r == "object") {
842
- let [d, f] = Object.entries(r)[0];
843
- i[d] = f;
844
- } else
845
- i.tags = r;
846
- if (typeof n == "object") {
847
- let [d, f] = Object.entries(n)[0];
848
- i[d] = f;
849
- } else
850
- i.link = n;
851
- i.nodeType = e, i.parentBoundary = B, i.wrap = mt(), F = B, B = t, xt.push(F);
852
- }, "addDeploymentNode"), Ke = /* @__PURE__ */ g(function() {
853
- B = F, xt.pop(), F = xt.pop(), xt.push(F);
854
- }, "popBoundaryParseStack"), Je = /* @__PURE__ */ g(function(e, t, s, o, l, a, r, n, i, u, d) {
855
- let f = V.find((y) => y.alias === t);
856
- if (!(f === void 0 && (f = X.find((y) => y.alias === t), f === void 0))) {
857
- if (s != null)
858
- if (typeof s == "object") {
859
- let [y, E] = Object.entries(s)[0];
860
- f[y] = E;
861
- } else
862
- f.bgColor = s;
863
- if (o != null)
864
- if (typeof o == "object") {
865
- let [y, E] = Object.entries(o)[0];
866
- f[y] = E;
867
- } else
868
- f.fontColor = o;
869
- if (l != null)
870
- if (typeof l == "object") {
871
- let [y, E] = Object.entries(l)[0];
872
- f[y] = E;
873
- } else
874
- f.borderColor = l;
875
- if (a != null)
876
- if (typeof a == "object") {
877
- let [y, E] = Object.entries(a)[0];
878
- f[y] = E;
879
- } else
880
- f.shadowing = a;
881
- if (r != null)
882
- if (typeof r == "object") {
883
- let [y, E] = Object.entries(r)[0];
884
- f[y] = E;
885
- } else
886
- f.shape = r;
887
- if (n != null)
888
- if (typeof n == "object") {
889
- let [y, E] = Object.entries(n)[0];
890
- f[y] = E;
891
- } else
892
- f.sprite = n;
893
- if (i != null)
894
- if (typeof i == "object") {
895
- let [y, E] = Object.entries(i)[0];
896
- f[y] = E;
897
- } else
898
- f.techn = i;
899
- if (u != null)
900
- if (typeof u == "object") {
901
- let [y, E] = Object.entries(u)[0];
902
- f[y] = E;
903
- } else
904
- f.legendText = u;
905
- if (d != null)
906
- if (typeof d == "object") {
907
- let [y, E] = Object.entries(d)[0];
908
- f[y] = E;
909
- } else
910
- f.legendSprite = d;
911
- }
912
- }, "updateElStyle"), Ze = /* @__PURE__ */ g(function(e, t, s, o, l, a, r) {
913
- const n = It.find((i) => i.from === t && i.to === s);
914
- if (n !== void 0) {
915
- if (o != null)
916
- if (typeof o == "object") {
917
- let [i, u] = Object.entries(o)[0];
918
- n[i] = u;
919
- } else
920
- n.textColor = o;
921
- if (l != null)
922
- if (typeof l == "object") {
923
- let [i, u] = Object.entries(l)[0];
924
- n[i] = u;
925
- } else
926
- n.lineColor = l;
927
- if (a != null)
928
- if (typeof a == "object") {
929
- let [i, u] = Object.entries(a)[0];
930
- n[i] = parseInt(u);
931
- } else
932
- n.offsetX = parseInt(a);
933
- if (r != null)
934
- if (typeof r == "object") {
935
- let [i, u] = Object.entries(r)[0];
936
- n[i] = parseInt(u);
937
- } else
938
- n.offsetY = parseInt(r);
939
- }
940
- }, "updateRelStyle"), $e = /* @__PURE__ */ g(function(e, t, s) {
941
- let o = Vt, l = zt;
942
- if (typeof t == "object") {
943
- const a = Object.values(t)[0];
944
- o = parseInt(a);
945
- } else
946
- o = parseInt(t);
947
- if (typeof s == "object") {
948
- const a = Object.values(s)[0];
949
- l = parseInt(a);
950
- } else
951
- l = parseInt(s);
952
- o >= 1 && (Vt = o), l >= 1 && (zt = l);
953
- }, "updateLayoutConfig"), t0 = /* @__PURE__ */ g(function() {
954
- return Vt;
955
- }, "getC4ShapeInRow"), e0 = /* @__PURE__ */ g(function() {
956
- return zt;
957
- }, "getC4BoundaryInRow"), a0 = /* @__PURE__ */ g(function() {
958
- return B;
959
- }, "getCurrentBoundaryParse"), i0 = /* @__PURE__ */ g(function() {
960
- return F;
961
- }, "getParentBoundaryParse"), _e = /* @__PURE__ */ g(function(e) {
962
- return e == null ? V : V.filter((t) => t.parentBoundary === e);
963
- }, "getC4ShapeArray"), n0 = /* @__PURE__ */ g(function(e) {
964
- return V.find((t) => t.alias === e);
965
- }, "getC4Shape"), r0 = /* @__PURE__ */ g(function(e) {
966
- return Object.keys(_e(e));
967
- }, "getC4ShapeKeys"), xe = /* @__PURE__ */ g(function(e) {
968
- return e == null ? X : X.filter((t) => t.parentBoundary === e);
969
- }, "getBoundaries"), s0 = xe, l0 = /* @__PURE__ */ g(function() {
970
- return It;
971
- }, "getRels"), o0 = /* @__PURE__ */ g(function() {
972
- return ie;
973
- }, "getTitle"), c0 = /* @__PURE__ */ g(function(e) {
974
- ne = e;
975
- }, "setWrap"), mt = /* @__PURE__ */ g(function() {
976
- return ne;
977
- }, "autoWrap"), h0 = /* @__PURE__ */ g(function() {
978
- V = [], X = [
979
- {
980
- alias: "global",
981
- label: { text: "global" },
982
- type: { text: "global" },
983
- tags: null,
984
- link: null,
985
- parentBoundary: ""
986
- }
987
- ], F = "", B = "global", xt = [""], It = [], xt = [""], ie = "", ne = !1, Vt = 4, zt = 2;
988
- }, "clear"), u0 = {
989
- SOLID: 0,
990
- DOTTED: 1,
991
- NOTE: 2,
992
- SOLID_CROSS: 3,
993
- DOTTED_CROSS: 4,
994
- SOLID_OPEN: 5,
995
- DOTTED_OPEN: 6,
996
- LOOP_START: 10,
997
- LOOP_END: 11,
998
- ALT_START: 12,
999
- ALT_ELSE: 13,
1000
- ALT_END: 14,
1001
- OPT_START: 15,
1002
- OPT_END: 16,
1003
- ACTIVE_START: 17,
1004
- ACTIVE_END: 18,
1005
- PAR_START: 19,
1006
- PAR_AND: 20,
1007
- PAR_END: 21,
1008
- RECT_START: 22,
1009
- RECT_END: 23,
1010
- SOLID_POINT: 24,
1011
- DOTTED_POINT: 25
1012
- }, d0 = {
1013
- FILLED: 0,
1014
- OPEN: 1
1015
- }, f0 = {
1016
- LEFTOF: 0,
1017
- RIGHTOF: 1,
1018
- OVER: 2
1019
- }, p0 = /* @__PURE__ */ g(function(e) {
1020
- ie = ge(e, Bt());
1021
- }, "setTitle"), te = {
1022
- addPersonOrSystem: Xe,
1023
- addPersonOrSystemBoundary: He,
1024
- addContainer: We,
1025
- addContainerBoundary: qe,
1026
- addComponent: Qe,
1027
- addDeploymentNode: Ge,
1028
- popBoundaryParseStack: Ke,
1029
- addRel: ze,
1030
- updateElStyle: Je,
1031
- updateRelStyle: Ze,
1032
- updateLayoutConfig: $e,
1033
- autoWrap: mt,
1034
- setWrap: c0,
1035
- getC4ShapeArray: _e,
1036
- getC4Shape: n0,
1037
- getC4ShapeKeys: r0,
1038
- getBoundaries: xe,
1039
- getBoundarys: s0,
1040
- getCurrentBoundaryParse: a0,
1041
- getParentBoundaryParse: i0,
1042
- getRels: l0,
1043
- getTitle: o0,
1044
- getC4Type: Fe,
1045
- getC4ShapeInRow: t0,
1046
- getC4BoundaryInRow: e0,
1047
- setAccTitle: Be,
1048
- getAccTitle: Ie,
1049
- getAccDescription: Me,
1050
- setAccDescription: Le,
1051
- getConfig: /* @__PURE__ */ g(() => Bt().c4, "getConfig"),
1052
- clear: h0,
1053
- LINETYPE: u0,
1054
- ARROWTYPE: d0,
1055
- PLACEMENT: f0,
1056
- setTitle: p0,
1057
- setC4Type: Ve
1058
- // apply,
1059
- }, re = /* @__PURE__ */ g(function(e, t) {
1060
- return Se(e, t);
1061
- }, "drawRect"), me = /* @__PURE__ */ g(function(e, t, s, o, l, a) {
1062
- const r = e.append("image");
1063
- r.attr("width", t), r.attr("height", s), r.attr("x", o), r.attr("y", l);
1064
- let n = a.startsWith("data:image/png;base64") ? a : je.sanitizeUrl(a);
1065
- r.attr("xlink:href", n);
1066
- }, "drawImage"), y0 = /* @__PURE__ */ g((e, t, s) => {
1067
- const o = e.append("g");
1068
- let l = 0;
1069
- for (let a of t) {
1070
- let r = a.textColor ? a.textColor : "#444444", n = a.lineColor ? a.lineColor : "#444444", i = a.offsetX ? parseInt(a.offsetX) : 0, u = a.offsetY ? parseInt(a.offsetY) : 0, d = "";
1071
- if (l === 0) {
1072
- let y = o.append("line");
1073
- y.attr("x1", a.startPoint.x), y.attr("y1", a.startPoint.y), y.attr("x2", a.endPoint.x), y.attr("y2", a.endPoint.y), y.attr("stroke-width", "1"), y.attr("stroke", n), y.style("fill", "none"), a.type !== "rel_b" && y.attr("marker-end", "url(" + d + "#arrowhead)"), (a.type === "birel" || a.type === "rel_b") && y.attr("marker-start", "url(" + d + "#arrowend)"), l = -1;
1074
- } else {
1075
- let y = o.append("path");
1076
- y.attr("fill", "none").attr("stroke-width", "1").attr("stroke", n).attr(
1077
- "d",
1078
- "Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx", a.startPoint.x).replaceAll("starty", a.startPoint.y).replaceAll(
1079
- "controlx",
1080
- a.startPoint.x + (a.endPoint.x - a.startPoint.x) / 2 - (a.endPoint.x - a.startPoint.x) / 4
1081
- ).replaceAll("controly", a.startPoint.y + (a.endPoint.y - a.startPoint.y) / 2).replaceAll("stopx", a.endPoint.x).replaceAll("stopy", a.endPoint.y)
1082
- ), a.type !== "rel_b" && y.attr("marker-end", "url(" + d + "#arrowhead)"), (a.type === "birel" || a.type === "rel_b") && y.attr("marker-start", "url(" + d + "#arrowend)");
1083
- }
1084
- let f = s.messageFont();
1085
- Q(s)(
1086
- a.label.text,
1087
- o,
1088
- Math.min(a.startPoint.x, a.endPoint.x) + Math.abs(a.endPoint.x - a.startPoint.x) / 2 + i,
1089
- Math.min(a.startPoint.y, a.endPoint.y) + Math.abs(a.endPoint.y - a.startPoint.y) / 2 + u,
1090
- a.label.width,
1091
- a.label.height,
1092
- { fill: r },
1093
- f
1094
- ), a.techn && a.techn.text !== "" && (f = s.messageFont(), Q(s)(
1095
- "[" + a.techn.text + "]",
1096
- o,
1097
- Math.min(a.startPoint.x, a.endPoint.x) + Math.abs(a.endPoint.x - a.startPoint.x) / 2 + i,
1098
- Math.min(a.startPoint.y, a.endPoint.y) + Math.abs(a.endPoint.y - a.startPoint.y) / 2 + s.messageFontSize + 5 + u,
1099
- Math.max(a.label.width, a.techn.width),
1100
- a.techn.height,
1101
- { fill: r, "font-style": "italic" },
1102
- f
1103
- ));
1104
- }
1105
- }, "drawRels"), g0 = /* @__PURE__ */ g(function(e, t, s) {
1106
- const o = e.append("g");
1107
- let l = t.bgColor ? t.bgColor : "none", a = t.borderColor ? t.borderColor : "#444444", r = t.fontColor ? t.fontColor : "black", n = { "stroke-width": 1, "stroke-dasharray": "7.0,7.0" };
1108
- t.nodeType && (n = { "stroke-width": 1 });
1109
- let i = {
1110
- x: t.x,
1111
- y: t.y,
1112
- fill: l,
1113
- stroke: a,
1114
- width: t.width,
1115
- height: t.height,
1116
- rx: 2.5,
1117
- ry: 2.5,
1118
- attrs: n
1119
- };
1120
- re(o, i);
1121
- let u = s.boundaryFont();
1122
- u.fontWeight = "bold", u.fontSize = u.fontSize + 2, u.fontColor = r, Q(s)(
1123
- t.label.text,
1124
- o,
1125
- t.x,
1126
- t.y + t.label.Y,
1127
- t.width,
1128
- t.height,
1129
- { fill: "#444444" },
1130
- u
1131
- ), t.type && t.type.text !== "" && (u = s.boundaryFont(), u.fontColor = r, Q(s)(
1132
- t.type.text,
1133
- o,
1134
- t.x,
1135
- t.y + t.type.Y,
1136
- t.width,
1137
- t.height,
1138
- { fill: "#444444" },
1139
- u
1140
- )), t.descr && t.descr.text !== "" && (u = s.boundaryFont(), u.fontSize = u.fontSize - 2, u.fontColor = r, Q(s)(
1141
- t.descr.text,
1142
- o,
1143
- t.x,
1144
- t.y + t.descr.Y,
1145
- t.width,
1146
- t.height,
1147
- { fill: "#444444" },
1148
- u
1149
- ));
1150
- }, "drawBoundary"), b0 = /* @__PURE__ */ g(function(e, t, s) {
1151
- var f;
1152
- let o = t.bgColor ? t.bgColor : s[t.typeC4Shape.text + "_bg_color"], l = t.borderColor ? t.borderColor : s[t.typeC4Shape.text + "_border_color"], a = t.fontColor ? t.fontColor : "#FFFFFF", r = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
1153
- switch (t.typeC4Shape.text) {
1154
- case "person":
1155
- r = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
1156
- break;
1157
- case "external_person":
1158
- r = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";
1159
- break;
1160
- }
1161
- const n = e.append("g");
1162
- n.attr("class", "person-man");
1163
- const i = De();
1164
- switch (t.typeC4Shape.text) {
1165
- case "person":
1166
- case "external_person":
1167
- case "system":
1168
- case "external_system":
1169
- case "container":
1170
- case "external_container":
1171
- case "component":
1172
- case "external_component":
1173
- i.x = t.x, i.y = t.y, i.fill = o, i.width = t.width, i.height = t.height, i.stroke = l, i.rx = 2.5, i.ry = 2.5, i.attrs = { "stroke-width": 0.5 }, re(n, i);
1174
- break;
1175
- case "system_db":
1176
- case "external_system_db":
1177
- case "container_db":
1178
- case "external_container_db":
1179
- case "component_db":
1180
- case "external_component_db":
1181
- n.append("path").attr("fill", o).attr("stroke-width", "0.5").attr("stroke", l).attr(
1182
- "d",
1183
- "Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("half", t.width / 2).replaceAll("height", t.height)
1184
- ), n.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", l).attr(
1185
- "d",
1186
- "Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("half", t.width / 2)
1187
- );
1188
- break;
1189
- case "system_queue":
1190
- case "external_system_queue":
1191
- case "container_queue":
1192
- case "external_container_queue":
1193
- case "component_queue":
1194
- case "external_component_queue":
1195
- n.append("path").attr("fill", o).attr("stroke-width", "0.5").attr("stroke", l).attr(
1196
- "d",
1197
- "Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("width", t.width).replaceAll("half", t.height / 2)
1198
- ), n.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", l).attr(
1199
- "d",
1200
- "Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx", t.x + t.width).replaceAll("starty", t.y).replaceAll("half", t.height / 2)
1201
- );
1202
- break;
1203
- }
1204
- let u = w0(s, t.typeC4Shape.text);
1205
- switch (n.append("text").attr("fill", a).attr("font-family", u.fontFamily).attr("font-size", u.fontSize - 2).attr("font-style", "italic").attr("lengthAdjust", "spacing").attr("textLength", t.typeC4Shape.width).attr("x", t.x + t.width / 2 - t.typeC4Shape.width / 2).attr("y", t.y + t.typeC4Shape.Y).text("<<" + t.typeC4Shape.text + ">>"), t.typeC4Shape.text) {
1206
- case "person":
1207
- case "external_person":
1208
- me(
1209
- n,
1210
- 48,
1211
- 48,
1212
- t.x + t.width / 2 - 24,
1213
- t.y + t.image.Y,
1214
- r
1215
- );
1216
- break;
1217
- }
1218
- let d = s[t.typeC4Shape.text + "Font"]();
1219
- return d.fontWeight = "bold", d.fontSize = d.fontSize + 2, d.fontColor = a, Q(s)(
1220
- t.label.text,
1221
- n,
1222
- t.x,
1223
- t.y + t.label.Y,
1224
- t.width,
1225
- t.height,
1226
- { fill: a },
1227
- d
1228
- ), d = s[t.typeC4Shape.text + "Font"](), d.fontColor = a, t.techn && ((f = t.techn) == null ? void 0 : f.text) !== "" ? Q(s)(
1229
- t.techn.text,
1230
- n,
1231
- t.x,
1232
- t.y + t.techn.Y,
1233
- t.width,
1234
- t.height,
1235
- { fill: a, "font-style": "italic" },
1236
- d
1237
- ) : t.type && t.type.text !== "" && Q(s)(
1238
- t.type.text,
1239
- n,
1240
- t.x,
1241
- t.y + t.type.Y,
1242
- t.width,
1243
- t.height,
1244
- { fill: a, "font-style": "italic" },
1245
- d
1246
- ), t.descr && t.descr.text !== "" && (d = s.personFont(), d.fontColor = a, Q(s)(
1247
- t.descr.text,
1248
- n,
1249
- t.x,
1250
- t.y + t.descr.Y,
1251
- t.width,
1252
- t.height,
1253
- { fill: a },
1254
- d
1255
- )), t.height;
1256
- }, "drawC4Shape"), _0 = /* @__PURE__ */ g(function(e) {
1257
- e.append("defs").append("symbol").attr("id", "database").attr("fill-rule", "evenodd").attr("clip-rule", "evenodd").append("path").attr("transform", "scale(.5)").attr(
1258
- "d",
1259
- "M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z"
1260
- );
1261
- }, "insertDatabaseIcon"), x0 = /* @__PURE__ */ g(function(e) {
1262
- e.append("defs").append("symbol").attr("id", "computer").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
1263
- "d",
1264
- "M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z"
1265
- );
1266
- }, "insertComputerIcon"), m0 = /* @__PURE__ */ g(function(e) {
1267
- e.append("defs").append("symbol").attr("id", "clock").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
1268
- "d",
1269
- "M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z"
1270
- );
1271
- }, "insertClockIcon"), v0 = /* @__PURE__ */ g(function(e) {
1272
- e.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 9).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z");
1273
- }, "insertArrowHead"), E0 = /* @__PURE__ */ g(function(e) {
1274
- e.append("defs").append("marker").attr("id", "arrowend").attr("refX", 1).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 10 0 L 0 5 L 10 10 z");
1275
- }, "insertArrowEnd"), k0 = /* @__PURE__ */ g(function(e) {
1276
- e.append("defs").append("marker").attr("id", "filled-head").attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
1277
- }, "insertArrowFilledHead"), A0 = /* @__PURE__ */ g(function(e) {
1278
- e.append("defs").append("marker").attr("id", "sequencenumber").attr("refX", 15).attr("refY", 15).attr("markerWidth", 60).attr("markerHeight", 40).attr("orient", "auto").append("circle").attr("cx", 15).attr("cy", 15).attr("r", 6);
1279
- }, "insertDynamicNumber"), C0 = /* @__PURE__ */ g(function(e) {
1280
- const s = e.append("defs").append("marker").attr("id", "crosshead").attr("markerWidth", 15).attr("markerHeight", 8).attr("orient", "auto").attr("refX", 16).attr("refY", 4);
1281
- s.append("path").attr("fill", "black").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1px").attr("d", "M 9,2 V 6 L16,4 Z"), s.append("path").attr("fill", "none").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1px").attr("d", "M 0,1 L 6,7 M 6,1 L 0,7");
1282
- }, "insertArrowCrossHead"), w0 = /* @__PURE__ */ g((e, t) => ({
1283
- fontFamily: e[t + "FontFamily"],
1284
- fontSize: e[t + "FontSize"],
1285
- fontWeight: e[t + "FontWeight"]
1286
- }), "getC4ShapeFont"), Q = /* @__PURE__ */ function() {
1287
- function e(l, a, r, n, i, u, d) {
1288
- const f = a.append("text").attr("x", r + i / 2).attr("y", n + u / 2 + 5).style("text-anchor", "middle").text(l);
1289
- o(f, d);
1290
- }
1291
- g(e, "byText");
1292
- function t(l, a, r, n, i, u, d, f) {
1293
- const { fontSize: y, fontFamily: E, fontWeight: O } = f, S = l.split($t.lineBreakRegex);
1294
- for (let P = 0; P < S.length; P++) {
1295
- const M = P * y - y * (S.length - 1) / 2, U = a.append("text").attr("x", r + i / 2).attr("y", n).style("text-anchor", "middle").attr("dominant-baseline", "middle").style("font-size", y).style("font-weight", O).style("font-family", E);
1296
- U.append("tspan").attr("dy", M).text(S[P]).attr("alignment-baseline", "mathematical"), o(U, d);
1297
- }
1298
- }
1299
- g(t, "byTspan");
1300
- function s(l, a, r, n, i, u, d, f) {
1301
- const y = a.append("switch"), O = y.append("foreignObject").attr("x", r).attr("y", n).attr("width", i).attr("height", u).append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
1302
- O.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(l), t(l, y, r, n, i, u, d, f), o(O, d);
1303
- }
1304
- g(s, "byFo");
1305
- function o(l, a) {
1306
- for (const r in a)
1307
- a.hasOwnProperty(r) && l.attr(r, a[r]);
1308
- }
1309
- return g(o, "_setTextAttrs"), function(l) {
1310
- return l.textPlacement === "fo" ? s : l.textPlacement === "old" ? e : t;
1311
- };
1312
- }(), z = {
1313
- drawRect: re,
1314
- drawBoundary: g0,
1315
- drawC4Shape: b0,
1316
- drawRels: y0,
1317
- drawImage: me,
1318
- insertArrowHead: v0,
1319
- insertArrowEnd: E0,
1320
- insertArrowFilledHead: k0,
1321
- insertDynamicNumber: A0,
1322
- insertArrowCrossHead: C0,
1323
- insertDatabaseIcon: _0,
1324
- insertComputerIcon: x0,
1325
- insertClockIcon: m0
1326
- }, Xt = 0, Wt = 0, ve = 4, ee = 2;
1327
- Ft.yy = te;
1328
- var _ = {}, Ot, Ee = (Ot = class {
1329
- constructor(t) {
1330
- this.name = "", this.data = {}, this.data.startx = void 0, this.data.stopx = void 0, this.data.starty = void 0, this.data.stopy = void 0, this.data.widthLimit = void 0, this.nextData = {}, this.nextData.startx = void 0, this.nextData.stopx = void 0, this.nextData.starty = void 0, this.nextData.stopy = void 0, this.nextData.cnt = 0, ae(t.db.getConfig());
1331
- }
1332
- setData(t, s, o, l) {
1333
- this.nextData.startx = this.data.startx = t, this.nextData.stopx = this.data.stopx = s, this.nextData.starty = this.data.starty = o, this.nextData.stopy = this.data.stopy = l;
1334
- }
1335
- updateVal(t, s, o, l) {
1336
- t[s] === void 0 ? t[s] = o : t[s] = l(o, t[s]);
1337
- }
1338
- insert(t) {
1339
- this.nextData.cnt = this.nextData.cnt + 1;
1340
- let s = this.nextData.startx === this.nextData.stopx ? this.nextData.stopx + t.margin : this.nextData.stopx + t.margin * 2, o = s + t.width, l = this.nextData.starty + t.margin * 2, a = l + t.height;
1341
- (s >= this.data.widthLimit || o >= this.data.widthLimit || this.nextData.cnt > ve) && (s = this.nextData.startx + t.margin + _.nextLinePaddingX, l = this.nextData.stopy + t.margin * 2, this.nextData.stopx = o = s + t.width, this.nextData.starty = this.nextData.stopy, this.nextData.stopy = a = l + t.height, this.nextData.cnt = 1), t.x = s, t.y = l, this.updateVal(this.data, "startx", s, Math.min), this.updateVal(this.data, "starty", l, Math.min), this.updateVal(this.data, "stopx", o, Math.max), this.updateVal(this.data, "stopy", a, Math.max), this.updateVal(this.nextData, "startx", s, Math.min), this.updateVal(this.nextData, "starty", l, Math.min), this.updateVal(this.nextData, "stopx", o, Math.max), this.updateVal(this.nextData, "stopy", a, Math.max);
1342
- }
1343
- init(t) {
1344
- this.name = "", this.data = {
1345
- startx: void 0,
1346
- stopx: void 0,
1347
- starty: void 0,
1348
- stopy: void 0,
1349
- widthLimit: void 0
1350
- }, this.nextData = {
1351
- startx: void 0,
1352
- stopx: void 0,
1353
- starty: void 0,
1354
- stopy: void 0,
1355
- cnt: 0
1356
- }, ae(t.db.getConfig());
1357
- }
1358
- bumpLastMargin(t) {
1359
- this.data.stopx += t, this.data.stopy += t;
1360
- }
1361
- }, g(Ot, "Bounds"), Ot), ae = /* @__PURE__ */ g(function(e) {
1362
- Pe(_, e), e.fontFamily && (_.personFontFamily = _.systemFontFamily = _.messageFontFamily = e.fontFamily), e.fontSize && (_.personFontSize = _.systemFontSize = _.messageFontSize = e.fontSize), e.fontWeight && (_.personFontWeight = _.systemFontWeight = _.messageFontWeight = e.fontWeight);
1363
- }, "setConf"), Pt = /* @__PURE__ */ g((e, t) => ({
1364
- fontFamily: e[t + "FontFamily"],
1365
- fontSize: e[t + "FontSize"],
1366
- fontWeight: e[t + "FontWeight"]
1367
- }), "c4ShapeFont"), Ut = /* @__PURE__ */ g((e) => ({
1368
- fontFamily: e.boundaryFontFamily,
1369
- fontSize: e.boundaryFontSize,
1370
- fontWeight: e.boundaryFontWeight
1371
- }), "boundaryFont"), T0 = /* @__PURE__ */ g((e) => ({
1372
- fontFamily: e.messageFontFamily,
1373
- fontSize: e.messageFontSize,
1374
- fontWeight: e.messageFontWeight
1375
- }), "messageFont");
1376
- function j(e, t, s, o, l) {
1377
- if (!t[e].width)
1378
- if (s)
1379
- t[e].text = Ne(t[e].text, l, o), t[e].textLines = t[e].text.split($t.lineBreakRegex).length, t[e].width = l, t[e].height = de(t[e].text, o);
1380
- else {
1381
- let a = t[e].text.split($t.lineBreakRegex);
1382
- t[e].textLines = a.length;
1383
- let r = 0;
1384
- t[e].height = 0, t[e].width = 0;
1385
- for (const n of a)
1386
- t[e].width = Math.max(
1387
- Tt(n, o),
1388
- t[e].width
1389
- ), r = de(n, o), t[e].height = t[e].height + r;
1390
- }
1391
- }
1392
- g(j, "calcC4ShapeTextWH");
1393
- var ke = /* @__PURE__ */ g(function(e, t, s) {
1394
- t.x = s.data.startx, t.y = s.data.starty, t.width = s.data.stopx - s.data.startx, t.height = s.data.stopy - s.data.starty, t.label.y = _.c4ShapeMargin - 35;
1395
- let o = t.wrap && _.wrap, l = Ut(_);
1396
- l.fontSize = l.fontSize + 2, l.fontWeight = "bold";
1397
- let a = Tt(t.label.text, l);
1398
- j("label", t, o, l, a), z.drawBoundary(e, t, _);
1399
- }, "drawBoundary"), Ae = /* @__PURE__ */ g(function(e, t, s, o) {
1400
- let l = 0;
1401
- for (const a of o) {
1402
- l = 0;
1403
- const r = s[a];
1404
- let n = Pt(_, r.typeC4Shape.text);
1405
- switch (n.fontSize = n.fontSize - 2, r.typeC4Shape.width = Tt(
1406
- "«" + r.typeC4Shape.text + "»",
1407
- n
1408
- ), r.typeC4Shape.height = n.fontSize + 2, r.typeC4Shape.Y = _.c4ShapePadding, l = r.typeC4Shape.Y + r.typeC4Shape.height - 4, r.image = { width: 0, height: 0, Y: 0 }, r.typeC4Shape.text) {
1409
- case "person":
1410
- case "external_person":
1411
- r.image.width = 48, r.image.height = 48, r.image.Y = l, l = r.image.Y + r.image.height;
1412
- break;
1413
- }
1414
- r.sprite && (r.image.width = 48, r.image.height = 48, r.image.Y = l, l = r.image.Y + r.image.height);
1415
- let i = r.wrap && _.wrap, u = _.width - _.c4ShapePadding * 2, d = Pt(_, r.typeC4Shape.text);
1416
- if (d.fontSize = d.fontSize + 2, d.fontWeight = "bold", j("label", r, i, d, u), r.label.Y = l + 8, l = r.label.Y + r.label.height, r.type && r.type.text !== "") {
1417
- r.type.text = "[" + r.type.text + "]";
1418
- let E = Pt(_, r.typeC4Shape.text);
1419
- j("type", r, i, E, u), r.type.Y = l + 5, l = r.type.Y + r.type.height;
1420
- } else if (r.techn && r.techn.text !== "") {
1421
- r.techn.text = "[" + r.techn.text + "]";
1422
- let E = Pt(_, r.techn.text);
1423
- j("techn", r, i, E, u), r.techn.Y = l + 5, l = r.techn.Y + r.techn.height;
1424
- }
1425
- let f = l, y = r.label.width;
1426
- if (r.descr && r.descr.text !== "") {
1427
- let E = Pt(_, r.typeC4Shape.text);
1428
- j("descr", r, i, E, u), r.descr.Y = l + 20, l = r.descr.Y + r.descr.height, y = Math.max(r.label.width, r.descr.width), f = l - r.descr.textLines * 5;
1429
- }
1430
- y = y + _.c4ShapePadding, r.width = Math.max(r.width || _.width, y, _.width), r.height = Math.max(r.height || _.height, f, _.height), r.margin = r.margin || _.c4ShapeMargin, e.insert(r), z.drawC4Shape(t, r, _);
1431
- }
1432
- e.bumpLastMargin(_.c4ShapeMargin);
1433
- }, "drawC4ShapeArray"), Rt, Y = (Rt = class {
1434
- constructor(t, s) {
1435
- this.x = t, this.y = s;
1436
- }
1437
- }, g(Rt, "Point"), Rt), pe = /* @__PURE__ */ g(function(e, t) {
1438
- let s = e.x, o = e.y, l = t.x, a = t.y, r = s + e.width / 2, n = o + e.height / 2, i = Math.abs(s - l), u = Math.abs(o - a), d = u / i, f = e.height / e.width, y = null;
1439
- return o == a && s < l ? y = new Y(s + e.width, n) : o == a && s > l ? y = new Y(s, n) : s == l && o < a ? y = new Y(r, o + e.height) : s == l && o > a && (y = new Y(r, o)), s > l && o < a ? f >= d ? y = new Y(s, n + d * e.width / 2) : y = new Y(
1440
- r - i / u * e.height / 2,
1441
- o + e.height
1442
- ) : s < l && o < a ? f >= d ? y = new Y(s + e.width, n + d * e.width / 2) : y = new Y(
1443
- r + i / u * e.height / 2,
1444
- o + e.height
1445
- ) : s < l && o > a ? f >= d ? y = new Y(s + e.width, n - d * e.width / 2) : y = new Y(r + e.height / 2 * i / u, o) : s > l && o > a && (f >= d ? y = new Y(s, n - e.width / 2 * d) : y = new Y(r - e.height / 2 * i / u, o)), y;
1446
- }, "getIntersectPoint"), O0 = /* @__PURE__ */ g(function(e, t) {
1447
- let s = { x: 0, y: 0 };
1448
- s.x = t.x + t.width / 2, s.y = t.y + t.height / 2;
1449
- let o = pe(e, s);
1450
- s.x = e.x + e.width / 2, s.y = e.y + e.height / 2;
1451
- let l = pe(t, s);
1452
- return { startPoint: o, endPoint: l };
1453
- }, "getIntersectPoints"), R0 = /* @__PURE__ */ g(function(e, t, s, o) {
1454
- let l = 0;
1455
- for (let a of t) {
1456
- l = l + 1;
1457
- let r = a.wrap && _.wrap, n = T0(_);
1458
- o.db.getC4Type() === "C4Dynamic" && (a.label.text = l + ": " + a.label.text);
1459
- let u = Tt(a.label.text, n);
1460
- j("label", a, r, n, u), a.techn && a.techn.text !== "" && (u = Tt(a.techn.text, n), j("techn", a, r, n, u)), a.descr && a.descr.text !== "" && (u = Tt(a.descr.text, n), j("descr", a, r, n, u));
1461
- let d = s(a.from), f = s(a.to), y = O0(d, f);
1462
- a.startPoint = y.startPoint, a.endPoint = y.endPoint;
1463
- }
1464
- z.drawRels(e, t, _);
1465
- }, "drawRels");
1466
- function se(e, t, s, o, l) {
1467
- let a = new Ee(l);
1468
- a.data.widthLimit = s.data.widthLimit / Math.min(ee, o.length);
1469
- for (let [r, n] of o.entries()) {
1470
- let i = 0;
1471
- n.image = { width: 0, height: 0, Y: 0 }, n.sprite && (n.image.width = 48, n.image.height = 48, n.image.Y = i, i = n.image.Y + n.image.height);
1472
- let u = n.wrap && _.wrap, d = Ut(_);
1473
- if (d.fontSize = d.fontSize + 2, d.fontWeight = "bold", j(
1474
- "label",
1475
- n,
1476
- u,
1477
- d,
1478
- a.data.widthLimit
1479
- ), n.label.Y = i + 8, i = n.label.Y + n.label.height, n.type && n.type.text !== "") {
1480
- n.type.text = "[" + n.type.text + "]";
1481
- let O = Ut(_);
1482
- j(
1483
- "type",
1484
- n,
1485
- u,
1486
- O,
1487
- a.data.widthLimit
1488
- ), n.type.Y = i + 5, i = n.type.Y + n.type.height;
1489
- }
1490
- if (n.descr && n.descr.text !== "") {
1491
- let O = Ut(_);
1492
- O.fontSize = O.fontSize - 2, j(
1493
- "descr",
1494
- n,
1495
- u,
1496
- O,
1497
- a.data.widthLimit
1498
- ), n.descr.Y = i + 20, i = n.descr.Y + n.descr.height;
1499
- }
1500
- if (r == 0 || r % ee === 0) {
1501
- let O = s.data.startx + _.diagramMarginX, S = s.data.stopy + _.diagramMarginY + i;
1502
- a.setData(O, O, S, S);
1503
- } else {
1504
- let O = a.data.stopx !== a.data.startx ? a.data.stopx + _.diagramMarginX : a.data.startx, S = a.data.starty;
1505
- a.setData(O, O, S, S);
1506
- }
1507
- a.name = n.alias;
1508
- let f = l.db.getC4ShapeArray(n.alias), y = l.db.getC4ShapeKeys(n.alias);
1509
- y.length > 0 && Ae(
1510
- a,
1511
- e,
1512
- f,
1513
- y
1514
- ), t = n.alias;
1515
- let E = l.db.getBoundaries(t);
1516
- E.length > 0 && se(
1517
- e,
1518
- t,
1519
- a,
1520
- E,
1521
- l
1522
- ), n.alias !== "global" && ke(e, n, a), s.data.stopy = Math.max(
1523
- a.data.stopy + _.c4ShapeMargin,
1524
- s.data.stopy
1525
- ), s.data.stopx = Math.max(
1526
- a.data.stopx + _.c4ShapeMargin,
1527
- s.data.stopx
1528
- ), Xt = Math.max(Xt, s.data.stopx), Wt = Math.max(Wt, s.data.stopy);
1529
- }
1530
- }
1531
- g(se, "drawInsideBoundary");
1532
- var S0 = /* @__PURE__ */ g(function(e, t, s, o) {
1533
- _ = Bt().c4;
1534
- const l = Bt().securityLevel;
1535
- let a;
1536
- l === "sandbox" && (a = jt("#i" + t));
1537
- const r = l === "sandbox" ? jt(a.nodes()[0].contentDocument.body) : jt("body");
1538
- let n = o.db;
1539
- o.db.setWrap(_.wrap), ve = n.getC4ShapeInRow(), ee = n.getC4BoundaryInRow(), fe.debug(`C:${JSON.stringify(_, null, 2)}`);
1540
- const i = l === "sandbox" ? r.select(`[id="${t}"]`) : jt(`[id="${t}"]`);
1541
- z.insertComputerIcon(i), z.insertDatabaseIcon(i), z.insertClockIcon(i);
1542
- let u = new Ee(o);
1543
- u.setData(
1544
- _.diagramMarginX,
1545
- _.diagramMarginX,
1546
- _.diagramMarginY,
1547
- _.diagramMarginY
1548
- ), u.data.widthLimit = screen.availWidth, Xt = _.diagramMarginX, Wt = _.diagramMarginY;
1549
- const d = o.db.getTitle();
1550
- let f = o.db.getBoundaries("");
1551
- se(i, "", u, f, o), z.insertArrowHead(i), z.insertArrowEnd(i), z.insertArrowCrossHead(i), z.insertArrowFilledHead(i), R0(i, o.db.getRels(), o.db.getC4Shape, o), u.data.stopx = Xt, u.data.stopy = Wt;
1552
- const y = u.data;
1553
- let O = y.stopy - y.starty + 2 * _.diagramMarginY;
1554
- const P = y.stopx - y.startx + 2 * _.diagramMarginX;
1555
- d && i.append("text").text(d).attr("x", (y.stopx - y.startx) / 2 - 4 * _.diagramMarginX).attr("y", y.starty + _.diagramMarginY), Ye(i, O, P, _.useMaxWidth);
1556
- const M = d ? 60 : 0;
1557
- i.attr(
1558
- "viewBox",
1559
- y.startx - _.diagramMarginX + " -" + (_.diagramMarginY + M) + " " + P + " " + (O + M)
1560
- ), fe.debug("models:", y);
1561
- }, "draw"), ye = {
1562
- drawPersonOrSystemArray: Ae,
1563
- drawBoundary: ke,
1564
- setConf: ae,
1565
- draw: S0
1566
- }, D0 = /* @__PURE__ */ g((e) => `.person {
1567
- stroke: ${e.personBorder};
1568
- fill: ${e.personBkg};
1569
- }
1570
- `, "getStyles"), P0 = D0, M0 = {
1571
- parser: Ue,
1572
- db: te,
1573
- renderer: ye,
1574
- styles: P0,
1575
- init: /* @__PURE__ */ g(({ c4: e, wrap: t }) => {
1576
- ye.setConf(e), te.setWrap(t);
1577
- }, "init")
1578
- };
1579
- export {
1580
- M0 as diagram
1581
- };