@mcpc-tech/unplugin-dev-inspector-mcp 0.1.43 → 0.1.45

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 (541) hide show
  1. package/client/dist/PromptParamsDialog-CBCP9oWR.js +5184 -0
  2. package/client/dist/{_basePickBy-CO2jbuKs.js → _basePickBy-BJVU6hEr.js} +1 -1
  3. package/client/dist/{_baseUniq-DrKsbT7-.js → _baseUniq-C19ZvBnw.js} +1 -1
  4. package/client/dist/{angular-html-Cth2LqBf.js → angular-html-DBpqlCwz.js} +1 -1
  5. package/client/dist/angular-html-DDbO9VEM.js +1 -0
  6. package/client/dist/angular-ts-DpzL0g-U.js +1 -0
  7. package/client/dist/apl-B4CNptMZ.js +1 -0
  8. package/client/dist/{arc-1IuUEc3l.js → arc-B4-IsYgv.js} +1 -1
  9. package/client/dist/architecture-U656AL7Q-B09-vmjG.js +1 -0
  10. package/client/dist/architectureDiagram-VXUJARFQ-D3KQPW0H.js +36 -0
  11. package/client/dist/astro-DaJwrnSH.js +1 -0
  12. package/client/dist/blade-DSQR-TsG.js +1 -0
  13. package/client/dist/{blockDiagram-VD42YOAC-BLowG32F.js → blockDiagram-VD42YOAC-DcBvUqbx.js} +1 -1
  14. package/client/dist/bsl-f_Wa48A_.js +1 -0
  15. package/client/dist/c-ChJFaw6g.js +1 -0
  16. package/client/dist/c4Diagram-YG6GDRKO-BeMBh929.js +10 -0
  17. package/client/dist/cairo-BF_TaaNh.js +1 -0
  18. package/client/dist/channel-Bw25xgKH.js +1 -0
  19. package/client/dist/chunk-2qRSBEuq.js +1 -0
  20. package/client/dist/{chunk-4BX2VUAB-CnDqYS75.js → chunk-4BX2VUAB-CmjTqC9h.js} +1 -1
  21. package/client/dist/{chunk-55IACEB6-Cno6J5VV.js → chunk-55IACEB6-DwDxMSD6.js} +1 -1
  22. package/client/dist/{chunk-76Q3JFCE-rDyke0sj.js → chunk-76Q3JFCE-Bvzab0dR.js} +1 -1
  23. package/client/dist/{chunk-ABZYJK2D-CdjGnQAG.js → chunk-ABZYJK2D-NoYQuIjQ.js} +2 -2
  24. package/client/dist/{chunk-ATLVNIR6-B-a6xbuN.js → chunk-ATLVNIR6-D_q1S7qx.js} +1 -1
  25. package/client/dist/{chunk-B4BG7PRW-CwOGzxCA.js → chunk-B4BG7PRW-C8zD7tf4.js} +1 -1
  26. package/client/dist/{chunk-CVBHYZKI-C8bYjiGm.js → chunk-CVBHYZKI-Bjm5-yLz.js} +1 -1
  27. package/client/dist/{chunk-DI55MBZ5-BxCqtRoX.js → chunk-DI55MBZ5-CsdsKnGW.js} +1 -1
  28. package/client/dist/chunk-EXTU4WIE-De9MhVyh.js +1 -0
  29. package/client/dist/{chunk-FMBD7UC4-z8oIKcMh.js → chunk-FMBD7UC4-BSI0qVr4.js} +1 -1
  30. package/client/dist/chunk-FPAJGGOC-jGxoLVz3.js +81 -0
  31. package/client/dist/{chunk-FWNWRKHM-Bc3rI6wu.js → chunk-FWNWRKHM-BUJEC-zp.js} +1 -1
  32. package/client/dist/{chunk-HN2XXSSU-CwOdrF1j.js → chunk-HN2XXSSU-q3kGvl8B.js} +1 -1
  33. package/client/dist/{chunk-JA3XYJ7Z-sNwUl62K.js → chunk-JA3XYJ7Z-BxisZhFA.js} +1 -1
  34. package/client/dist/{chunk-JZLCHNYA-1hqNzbwm.js → chunk-JZLCHNYA-CBGIXeMa.js} +1 -1
  35. package/client/dist/{chunk-LBM3YZW2-BCYG7Emn.js → chunk-LBM3YZW2-BBVEwS2Z.js} +1 -1
  36. package/client/dist/{chunk-LHMN2FUI-BIYprwkM.js → chunk-LHMN2FUI-CrPHYRKr.js} +1 -1
  37. package/client/dist/{chunk-MI3HLSF2-C6Pm8cQC.js → chunk-MI3HLSF2-CCBGU-tL.js} +1 -1
  38. package/client/dist/{chunk-N4CR4FBY-p0tTIb8I.js → chunk-N4CR4FBY-C58_DvWS.js} +1 -1
  39. package/client/dist/{chunk-O7ZBX7Z2-CWhRP8i1.js → chunk-O7ZBX7Z2-hKQky9sP.js} +1 -1
  40. package/client/dist/{chunk-QN33PNHL-D0yvFd3d.js → chunk-QN33PNHL-C1Rc4ESC.js} +1 -1
  41. package/client/dist/{chunk-QXUST7PY-CITmCGsw.js → chunk-QXUST7PY-BuEiu2eI.js} +1 -1
  42. package/client/dist/chunk-QZHKN3VN-CRJaYBWb.js +1 -0
  43. package/client/dist/chunk-S3R3BYOJ-BINOkBD9.js +2 -0
  44. package/client/dist/{chunk-S6J4BHB3-hAcge09Q.js → chunk-S6J4BHB3-hCjiQzu1.js} +1 -1
  45. package/client/dist/{chunk-T53DSG4Q-CW6q-FrG.js → chunk-T53DSG4Q-sUAVtxtN.js} +1 -1
  46. package/client/dist/chunk-TZMSLE5B-CBID2b8N.js +1 -0
  47. package/client/dist/classDiagram-2ON5EDUG-DpQ5-6dS.js +1 -0
  48. package/client/dist/classDiagram-v2-WZHVMYZB-DlW1m22D.js +1 -0
  49. package/client/dist/clone-BKgXZQyZ.js +1 -0
  50. package/client/dist/cmake-B-mO0OX7.js +1 -0
  51. package/client/dist/{cmake-fD9kB-N_.js → cmake-CMFEs8-p.js} +1 -1
  52. package/client/dist/cobol-CRwzyk55.js +1 -0
  53. package/client/dist/{coffee-D63VVNN6.js → coffee-Clj7OGaT.js} +1 -1
  54. package/client/dist/{cose-bilkent-S5V4N54A-D8W9j8ZO.js → cose-bilkent-S5V4N54A-ADC8mh-_.js} +1 -1
  55. package/client/dist/cpp-Bz-jc9Oo.js +1 -0
  56. package/client/dist/{cpp-BXPFxrHd.js → cpp-CCpWZBS2.js} +1 -1
  57. package/client/dist/{crystal-qpW1qy1j.js → crystal-DbcEqKW7.js} +1 -1
  58. package/client/dist/csharp-COjZsQo2.js +1 -0
  59. package/client/dist/{csharp-BGiDklkX.js → csharp-HZzZfOOp.js} +1 -1
  60. package/client/dist/css-B89jKVZ6.js +1 -0
  61. package/client/dist/{csv-TlCvaDUb.js → csv-CQIawVxC.js} +1 -1
  62. package/client/dist/csv-D5tOr4PE.js +1 -0
  63. package/client/dist/{cytoscape.esm-B3nZB3EO.js → cytoscape.esm-BsjIEiq8.js} +4 -4
  64. package/client/dist/dagre-6UL2VRFP-Cj3TlbnV.js +4 -0
  65. package/client/dist/{dagre-Dp5ns0Cm.js → dagre-D9ZImiuq.js} +1 -1
  66. package/client/dist/diagram-PSM6KHXK-DXLunD2u.js +24 -0
  67. package/client/dist/diagram-QEK2KX5R-BeM6akjn.js +43 -0
  68. package/client/dist/diagram-S2PKOQOG-0OvFcddF.js +24 -0
  69. package/client/dist/diff-3hFTfXS2.js +1 -0
  70. package/client/dist/{diff-CWN81QQV.js → diff-DkkEsuG6.js} +1 -1
  71. package/client/dist/{dist-Bz_xenUc.js → dist-CTfM3G-8.js} +1 -1
  72. package/client/dist/edge-Da89v5Zg.js +1 -0
  73. package/client/dist/elixir-BGWXWxlk.js +1 -0
  74. package/client/dist/elm-CXSrcv0v.js +1 -0
  75. package/client/dist/{erDiagram-Q2GNP2WA-ClVu1rzL.js → erDiagram-Q2GNP2WA-BqeoIyGz.js} +1 -1
  76. package/client/dist/erb-Be0UfILH.js +1 -0
  77. package/client/dist/erlang-DJkP12w8.js +1 -0
  78. package/client/dist/{flowDiagram-NV44I4VS-TT3I3oim.js → flowDiagram-NV44I4VS-BV_AI6fE.js} +1 -1
  79. package/client/dist/fortran-fixed-form-Cj8V9dVq.js +1 -0
  80. package/client/dist/{fortran-free-form-c4So7WT8.js → fortran-free-form-B3n7ME00.js} +1 -1
  81. package/client/dist/fortran-free-form-D1r3qMh7.js +1 -0
  82. package/client/dist/fsharp-DEBIbYnh.js +1 -0
  83. package/client/dist/ganttDiagram-LVOFAZNH-CuYzFguN.js +267 -0
  84. package/client/dist/gdresource-OjQzufei.js +1 -0
  85. package/client/dist/gdscript-CF-O_u13.js +1 -0
  86. package/client/dist/{gdscript-Djzzged5.js → gdscript-n6d09Ln7.js} +1 -1
  87. package/client/dist/{gdshader-CJeNXdA2.js → gdshader-CS3S1kEt.js} +1 -1
  88. package/client/dist/gdshader-DY8LCilz.js +1 -0
  89. package/client/dist/git-commit-CsF743bE.js +1 -0
  90. package/client/dist/{git-rebase-D69XtsSv.js → git-rebase-C3yZcQF6.js} +1 -1
  91. package/client/dist/gitGraph-F6HP7TQM-DqEyw_0t.js +1 -0
  92. package/client/dist/gitGraphDiagram-NY62KEGX-QG5T2yUo.js +65 -0
  93. package/client/dist/{glimmer-js-CoeADt6M.js → glimmer-js-ClEbbabW.js} +1 -1
  94. package/client/dist/{glimmer-ts-BlmV-Y9-.js → glimmer-ts-BuesrveV.js} +1 -1
  95. package/client/dist/{glsl-Biu0K-6p.js → glsl-Bg2eTM3q.js} +1 -1
  96. package/client/dist/glsl-C4kHeqB6.js +1 -0
  97. package/client/dist/{go-BaSASZlM.js → go-CWZss5nV.js} +1 -1
  98. package/client/dist/go-DqxniJc7.js +1 -0
  99. package/client/dist/{graphlib-CScjOeSi.js → graphlib-_nT3mLEa.js} +1 -1
  100. package/client/dist/{graphql-hAKdRMip.js → graphql-Brn1PxOY.js} +1 -1
  101. package/client/dist/graphql-EYaFm7yl.js +1 -0
  102. package/client/dist/hack-_y2yEegP.js +1 -0
  103. package/client/dist/{haml-CiZU0d5H.js → haml-BgLilaIF.js} +1 -1
  104. package/client/dist/haml-DjrlTPXU.js +1 -0
  105. package/client/dist/{handlebars-Dp_cDcAt.js → handlebars-hmBBbono.js} +1 -1
  106. package/client/dist/haxe-DTyi0Uvy.js +1 -0
  107. package/client/dist/{haxe-B5pmXmLa.js → haxe-kLI60hzE.js} +1 -1
  108. package/client/dist/{hlsl-BjNae5So.js → hlsl-CazOBoqR.js} +1 -1
  109. package/client/dist/hlsl-oSNrPQJV.js +1 -0
  110. package/client/dist/{html-BT5um7nF.js → html-4Vr88lrj.js} +1 -1
  111. package/client/dist/html-Ccs1ijmI.js +1 -0
  112. package/client/dist/html-derivative-Bi_KJDbK.js +1 -0
  113. package/client/dist/{html-derivative-Cx1PsJxD.js → html-derivative-BphjHmxO.js} +1 -1
  114. package/client/dist/http-Ix_eGJbU.js +1 -0
  115. package/client/dist/hurl-l_i6E6U3.js +1 -0
  116. package/client/dist/hxml-BOBGwbfe.js +1 -0
  117. package/client/dist/info-NVLQJR56-DTZfnCvU.js +1 -0
  118. package/client/dist/infoDiagram-ER5ION4S-D_LQ_kcz.js +2 -0
  119. package/client/dist/inspector.css +7 -0
  120. package/client/dist/inspector.js +2 -2
  121. package/client/dist/{isEmpty-CokRQ2Nu.js → isEmpty-BqSlXU1P.js} +1 -1
  122. package/client/dist/java-CQPxfEa0.js +1 -0
  123. package/client/dist/javascript-BRYsToyH.js +1 -0
  124. package/client/dist/jinja-BS7wqIpK.js +1 -0
  125. package/client/dist/{jison-DqMkPOAC.js → jison-DFhh42uS.js} +1 -1
  126. package/client/dist/{journeyDiagram-XKPGCS4Q-_URJVtho.js → journeyDiagram-XKPGCS4Q-lP3nU827.js} +1 -1
  127. package/client/dist/json-RRWzBcqY.js +1 -0
  128. package/client/dist/jsx-BpJk26x0.js +1 -0
  129. package/client/dist/julia-CisSwQpz.js +1 -0
  130. package/client/dist/{kanban-definition-3W4ZIXB7-B7L64Jmk.js → kanban-definition-3W4ZIXB7-Bx8H-frU.js} +1 -1
  131. package/client/dist/{katex-DlvvqZRc.js → katex-BiikqoZq.js} +2 -2
  132. package/client/dist/katex-CiRUqK9L.js +1 -0
  133. package/client/dist/latex-BwcDgTA4.js +1 -0
  134. package/client/dist/less-B5JXpG39.js +1 -0
  135. package/client/dist/{less-BsrVljrL.js → less-DsKdvIBy.js} +1 -1
  136. package/client/dist/{line-DXNvwXwh.js → line-DsXos_i5.js} +1 -1
  137. package/client/dist/{linear-CFKbUwXk.js → linear-DsYZfJqp.js} +1 -1
  138. package/client/dist/{liquid-BpMC_Fqt.js → liquid-CfNrVbBH.js} +1 -1
  139. package/client/dist/lua-C21snccA.js +1 -0
  140. package/client/dist/{lua-C77CXP4F.js → lua-DO2PCrW9.js} +1 -1
  141. package/client/dist/markdown-DhZEEtHR.js +1 -0
  142. package/client/dist/{markdown-DBA3Mmim.js → markdown-DuEV7nQ1.js} +1 -1
  143. package/client/dist/marko-DAZ6iP1a.js +1 -0
  144. package/client/dist/mdc-W0XbLXaj.js +1 -0
  145. package/client/dist/{mermaid-parser.core-D9mDgDNK.js → mermaid-parser.core-CbQBOSyT.js} +1 -1
  146. package/client/dist/{mermaid.core-Cm2YZGAW.js → mermaid.core--ZoSJqde.js} +2 -2
  147. package/client/dist/{mindmap-definition-VGOIOE7T-BM6NOFHW.js → mindmap-definition-VGOIOE7T-7bKtnSvE.js} +1 -1
  148. package/client/dist/nginx-niMhjFRt.js +1 -0
  149. package/client/dist/nim-C6ww3tF2.js +1 -0
  150. package/client/dist/{ordinal-NoUKjW5R.js → ordinal-QfmKk12q.js} +1 -1
  151. package/client/dist/packet-BFZMPI3H-BXMsStJE.js +1 -0
  152. package/client/dist/perl-amdwu10g.js +1 -0
  153. package/client/dist/{php-C_izhi_N.js → php-CL2DhUU8.js} +1 -1
  154. package/client/dist/php-j1prqI6s.js +1 -0
  155. package/client/dist/pie-7BOR55EZ-DlU9TApk.js +1 -0
  156. package/client/dist/pieDiagram-ADFJNKIX-DjIwQdRF.js +30 -0
  157. package/client/dist/{postcss-8wrDfWlb.js → postcss-Ca_fAIkr.js} +1 -1
  158. package/client/dist/postcss-DLAZruUJ.js +1 -0
  159. package/client/dist/{pug-DiALhKYN.js → pug-DZ06XDep.js} +1 -1
  160. package/client/dist/{python-DioJsT9z.js → python-b7msQzZJ.js} +1 -1
  161. package/client/dist/python-cS21X7kl.js +1 -0
  162. package/client/dist/{qml-C9j4g26c.js → qml-BcXI99SK.js} +1 -1
  163. package/client/dist/{quadrantDiagram-AYHSOK5B-CR4ZTDP8.js → quadrantDiagram-AYHSOK5B-DQ97ZWmX.js} +1 -1
  164. package/client/dist/r-B6NkEuyQ.js +1 -0
  165. package/client/dist/radar-NHE76QYJ-C3iBDfub.js +1 -0
  166. package/client/dist/razor-BYqpba35.js +1 -0
  167. package/client/dist/regexp-3-Sg4xcE.js +1 -0
  168. package/client/dist/{requirementDiagram-UZGBJVZJ-SgWhOWk2.js → requirementDiagram-UZGBJVZJ-nvOy4jm1.js} +1 -1
  169. package/client/dist/rst-BpyQHRi9.js +1 -0
  170. package/client/dist/{ruby-CcAYYGRU.js → ruby-CinXCnHB.js} +1 -1
  171. package/client/dist/ruby-DF9KgpXt.js +1 -0
  172. package/client/dist/sankeyDiagram-TZEHDZUN-uZNByyc5.js +10 -0
  173. package/client/dist/{sas-BGlfoPrs.js → sas-FCWbVJ94.js} +1 -1
  174. package/client/dist/{scss-A6Xwb3sB.js → scss-BY0_rnSa.js} +1 -1
  175. package/client/dist/scss-DzTlk-kd.js +1 -0
  176. package/client/dist/{sdbl-ByziAReF.js → sdbl-CtPIJZQt.js} +1 -1
  177. package/client/dist/sdbl-DTmOYwVL.js +1 -0
  178. package/client/dist/sequenceDiagram-WL72ISMW-DBpIwoA1.js +145 -0
  179. package/client/dist/shaderlab-Dz6LYbg3.js +1 -0
  180. package/client/dist/shellscript-DxvOiw0y.js +1 -0
  181. package/client/dist/{shellsession-QiegSG75.js → shellsession-bW6NG_PO.js} +1 -1
  182. package/client/dist/sidebar.css +7 -0
  183. package/client/dist/sidebar.js +1 -1
  184. package/client/dist/soy-BZEBdWYK.js +1 -0
  185. package/client/dist/sparql-Bjq-3yGf.js +1 -0
  186. package/client/dist/sql-DIqCFCna.js +1 -0
  187. package/client/dist/{src-CoWzf9ks.js → src-nf8hRfDw.js} +1 -1
  188. package/client/dist/{stata-CIv2IgqT.js → stata-HrggACjT.js} +1 -1
  189. package/client/dist/stateDiagram-FKZM4ZOC-OqJMf2nv.js +1 -0
  190. package/client/dist/stateDiagram-v2-4FDKWEC3-Bi99lVlK.js +1 -0
  191. package/client/dist/{stylus-y5-4LTjW.js → stylus-JUmvh26z.js} +1 -1
  192. package/client/dist/stylus-lx8xCH1j.js +1 -0
  193. package/client/dist/svelte-DvyIDq_q.js +1 -0
  194. package/client/dist/templ-DfS8WsMY.js +1 -0
  195. package/client/dist/{tex-BrGV_a00.js → tex-CMBOgmOa.js} +1 -1
  196. package/client/dist/tex-Cv3bLQS8.js +1 -0
  197. package/client/dist/{timeline-definition-IT6M3QCI-B-o8mCFi.js → timeline-definition-IT6M3QCI-ZxPt0AYl.js} +1 -1
  198. package/client/dist/treemap-KMMF4GRG-CM8Z0Mf6.js +1 -0
  199. package/client/dist/ts-tags-TMIMvfLG.js +1 -0
  200. package/client/dist/tsx-byzBOUTc.js +1 -0
  201. package/client/dist/{turtle-D3vlU2OK.js → turtle-BxOnn-nn.js} +1 -1
  202. package/client/dist/turtle-CBzMKD9O.js +1 -0
  203. package/client/dist/twig-C-d3gXAA.js +1 -0
  204. package/client/dist/typescript-BZK0J4NR.js +1 -0
  205. package/client/dist/{vue-m_9UuRcq.js → vue-BOoiVJnR.js} +1 -1
  206. package/client/dist/vue-DSarvG4S.js +1 -0
  207. package/client/dist/vue-html-NRHo9zt1.js +1 -0
  208. package/client/dist/vue-vine-V0jUIeiX.js +1 -0
  209. package/client/dist/xml-BP2oCj61.js +1 -0
  210. package/client/dist/{xml-BCPOgRQ8.js → xml-D5TLvRfA.js} +1 -1
  211. package/client/dist/xsl-C2n1Qeo4.js +1 -0
  212. package/client/dist/{xychartDiagram-PRI3JC2R-BF3GaJKp.js → xychartDiagram-PRI3JC2R-DguheMqp.js} +1 -1
  213. package/client/dist/yaml-T-vkQXCY.js +1 -0
  214. package/dist/browser-launcher.cjs +2 -1
  215. package/dist/browser-launcher.js +1 -0
  216. package/dist/browser-launcher2.cjs +7 -5
  217. package/dist/chunk.cjs +69 -0
  218. package/dist/cli.cjs +84 -58
  219. package/dist/cli.js +67 -46
  220. package/dist/config-updater.cjs +18116 -18148
  221. package/dist/config-updater.js +18048 -18048
  222. package/dist/index.cjs +42 -34
  223. package/dist/index.d.cts +4 -4
  224. package/dist/index.js +30 -24
  225. package/dist/loader.cjs +5 -4
  226. package/dist/loader.js +1 -1
  227. package/dist/mcp-app/context-selector.html +87 -0
  228. package/dist/mcp-app/index.css +3 -0
  229. package/dist/mcp-app/index.js +69 -0
  230. package/dist/mcp-app/styles.css +2 -0
  231. package/dist/next.cjs +3 -1
  232. package/dist/next.js +1 -0
  233. package/package.json +5 -3
  234. package/client/dist/PromptParamsDialog-O-tRk8z7.js +0 -5224
  235. package/client/dist/angular-html-B_cenFSN.js +0 -1
  236. package/client/dist/angular-ts-D6GgngEL.js +0 -1
  237. package/client/dist/apl-8Q3duBRO.js +0 -1
  238. package/client/dist/architecture-U656AL7Q-OFGy1Kly.js +0 -1
  239. package/client/dist/architectureDiagram-VXUJARFQ-Dq9w2Mmk.js +0 -36
  240. package/client/dist/astro-CEzd2gSX.js +0 -1
  241. package/client/dist/blade-BiESHVEE.js +0 -1
  242. package/client/dist/bsl-CgIWHY2F.js +0 -1
  243. package/client/dist/c-C71qyMdz.js +0 -1
  244. package/client/dist/c4Diagram-YG6GDRKO-D20wIsRh.js +0 -10
  245. package/client/dist/cairo-DeB79q5_.js +0 -1
  246. package/client/dist/channel-56vejEGj.js +0 -1
  247. package/client/dist/chunk-BbOf1w_A.js +0 -1
  248. package/client/dist/chunk-EXTU4WIE-CTAxZI-v.js +0 -1
  249. package/client/dist/chunk-FPAJGGOC-D0u_HszA.js +0 -80
  250. package/client/dist/chunk-QZHKN3VN-Cor-573y.js +0 -1
  251. package/client/dist/chunk-S3R3BYOJ-Cd9h779p.js +0 -2
  252. package/client/dist/chunk-TZMSLE5B-BBBkdEGp.js +0 -1
  253. package/client/dist/classDiagram-2ON5EDUG-z32R8xWW.js +0 -1
  254. package/client/dist/classDiagram-v2-WZHVMYZB-RsKHwRIy.js +0 -1
  255. package/client/dist/clone-DaCWoOD3.js +0 -1
  256. package/client/dist/cobol-CtnoUhpi.js +0 -1
  257. package/client/dist/cpp-Cb8PUfPp.js +0 -1
  258. package/client/dist/css-D_BsqRYw.js +0 -1
  259. package/client/dist/dagre-6UL2VRFP-C_BdrUUk.js +0 -4
  260. package/client/dist/diagram-PSM6KHXK-BHe84rw5.js +0 -24
  261. package/client/dist/diagram-QEK2KX5R-DYpliX8k.js +0 -43
  262. package/client/dist/diagram-S2PKOQOG-Dh1CuLIN.js +0 -24
  263. package/client/dist/edge-CP_fR0O2.js +0 -1
  264. package/client/dist/elixir-DMAcWBTu.js +0 -1
  265. package/client/dist/elm-CbfCFGpu.js +0 -1
  266. package/client/dist/erb-tgtMjjw7.js +0 -1
  267. package/client/dist/erlang-B0ruUFZX.js +0 -1
  268. package/client/dist/fortran-fixed-form-axN74ijH.js +0 -1
  269. package/client/dist/fsharp-BbXO1JyA.js +0 -1
  270. package/client/dist/ganttDiagram-LVOFAZNH-Cy9YHHY_.js +0 -267
  271. package/client/dist/gdresource-Cloq6T1D.js +0 -1
  272. package/client/dist/git-commit-CPVxcpY7.js +0 -1
  273. package/client/dist/gitGraph-F6HP7TQM-DiShAlUm.js +0 -1
  274. package/client/dist/gitGraphDiagram-NY62KEGX-DKg5ycQ6.js +0 -65
  275. package/client/dist/glsl-BTo0Z16q.js +0 -1
  276. package/client/dist/graphql-DN6CkYdl.js +0 -1
  277. package/client/dist/hack-D1duHfqL.js +0 -1
  278. package/client/dist/haml-DPWY5s1M.js +0 -1
  279. package/client/dist/html-C31JlaJ-.js +0 -1
  280. package/client/dist/html-derivative-wg2-hYIg.js +0 -1
  281. package/client/dist/http-BW75yjvO.js +0 -1
  282. package/client/dist/hurl-DrbkG80a.js +0 -1
  283. package/client/dist/hxml-VlQN6FkD.js +0 -1
  284. package/client/dist/info-NVLQJR56-B6NzdPXW.js +0 -1
  285. package/client/dist/infoDiagram-ER5ION4S-DBl3lRs5.js +0 -2
  286. package/client/dist/java-H4bqYiqZ.js +0 -1
  287. package/client/dist/javascript-DH63jrE3.js +0 -1
  288. package/client/dist/jinja-CHSC99qg.js +0 -1
  289. package/client/dist/json-DOslWoX1.js +0 -1
  290. package/client/dist/jsx-CjK28ufS.js +0 -1
  291. package/client/dist/julia-cA-yAml8.js +0 -1
  292. package/client/dist/katex-AiGYpfHV.js +0 -1
  293. package/client/dist/latex-CbkKCm2d.js +0 -1
  294. package/client/dist/lua-CRueSYXF.js +0 -1
  295. package/client/dist/marko-CrC0ANF-.js +0 -1
  296. package/client/dist/mdc-NdIm27xk.js +0 -1
  297. package/client/dist/nginx-BQI27kLq.js +0 -1
  298. package/client/dist/nim-qigkNB2O.js +0 -1
  299. package/client/dist/packet-BFZMPI3H-DshJ4NGu.js +0 -1
  300. package/client/dist/perl-CWZ9Tx7Z.js +0 -1
  301. package/client/dist/pie-7BOR55EZ-MDSF5-pm.js +0 -1
  302. package/client/dist/pieDiagram-ADFJNKIX-HsWPK4-f.js +0 -30
  303. package/client/dist/r-BIGEI86X.js +0 -1
  304. package/client/dist/radar-NHE76QYJ-VPr9RHy-.js +0 -1
  305. package/client/dist/razor-A0q1Asj9.js +0 -1
  306. package/client/dist/regexp-oqAv1t88.js +0 -1
  307. package/client/dist/rst-Cev6-qlZ.js +0 -1
  308. package/client/dist/sankeyDiagram-TZEHDZUN-CcsqDcna.js +0 -10
  309. package/client/dist/scss-CZuLwQ6L.js +0 -1
  310. package/client/dist/sequenceDiagram-WL72ISMW-CuhaTXV3.js +0 -145
  311. package/client/dist/shaderlab-CMErLCd1.js +0 -1
  312. package/client/dist/shellscript-XfxS4mi1.js +0 -1
  313. package/client/dist/soy-BoMAIRkx.js +0 -1
  314. package/client/dist/sparql-DhHvB3Dp.js +0 -1
  315. package/client/dist/sql-Dga86kBP.js +0 -1
  316. package/client/dist/stateDiagram-FKZM4ZOC-By4_sKTA.js +0 -1
  317. package/client/dist/stateDiagram-v2-4FDKWEC3-ezCoivs0.js +0 -1
  318. package/client/dist/svelte-BPdTtTW_.js +0 -1
  319. package/client/dist/templ-Bu1xjVjb.js +0 -1
  320. package/client/dist/treemap-KMMF4GRG-1zT29-pS.js +0 -1
  321. package/client/dist/ts-tags-C2KZ65Bb.js +0 -1
  322. package/client/dist/tsx-Dy5oGylO.js +0 -1
  323. package/client/dist/twig-CAdzRXFv.js +0 -1
  324. package/client/dist/typescript-BCL2cVvE.js +0 -1
  325. package/client/dist/vue-html-ClbUAPY3.js +0 -1
  326. package/client/dist/vue-vine-BhY0kO3x.js +0 -1
  327. package/client/dist/xml-LiQIKAk-.js +0 -1
  328. package/client/dist/xsl-CiacnBum.js +0 -1
  329. package/client/dist/yaml-x21mtn6r.js +0 -1
  330. /package/client/dist/{abap-BUoW4mq0.js → abap-DnKRfpQ2.js} +0 -0
  331. /package/client/dist/{actionscript-3-CDsNmykd.js → actionscript-3-DHIpmM4g.js} +0 -0
  332. /package/client/dist/{ada-EgRVL2g9.js → ada-BGwUR3KZ.js} +0 -0
  333. /package/client/dist/{andromeeda-GPgN43QN.js → andromeeda-C2ONxLuq.js} +0 -0
  334. /package/client/dist/{apache-C_ty8NzZ.js → apache-BxBx5WnE.js} +0 -0
  335. /package/client/dist/{apex-BO_xUY2-.js → apex-Dhn6wnYq.js} +0 -0
  336. /package/client/dist/{applescript-DQAS9zcd.js → applescript-BoXigm_k.js} +0 -0
  337. /package/client/dist/{ara-DIjuS0gF.js → ara-DIEfdSfq.js} +0 -0
  338. /package/client/dist/{array-BgcdGrkc.js → array-CizMhH8F.js} +0 -0
  339. /package/client/dist/{asciidoc-BxG7ZQrc.js → asciidoc-BJzsAFUN.js} +0 -0
  340. /package/client/dist/{asm-PnON5mRP.js → asm-BLYuF7W1.js} +0 -0
  341. /package/client/dist/{aurora-x-CqQ7QmKq.js → aurora-x-Bm2AYmb5.js} +0 -0
  342. /package/client/dist/{awk-BVO8fiUv.js → awk-D0WwsQAb.js} +0 -0
  343. /package/client/dist/{ayu-dark-n_FrPZjA.js → ayu-dark-f6Vgq6fE.js} +0 -0
  344. /package/client/dist/{ballerina-BJsKgOB8.js → ballerina-BTSt5HQY.js} +0 -0
  345. /package/client/dist/{bat-DRIwbK7_.js → bat-BsQQPDSK.js} +0 -0
  346. /package/client/dist/{beancount-BTo4XwaG.js → beancount-agtoelu4.js} +0 -0
  347. /package/client/dist/{berry-B5o92twl.js → berry-MC0YY-hN.js} +0 -0
  348. /package/client/dist/{bibtex-DuLtVC8l.js → bibtex-F1XY2XDK.js} +0 -0
  349. /package/client/dist/{bicep-BfIj04_h.js → bicep-C_7ztpSv.js} +0 -0
  350. /package/client/dist/{c-BL138DB5.js → c-XUfsyRGT.js} +0 -0
  351. /package/client/dist/{cadence-CnLw1Pon.js → cadence-LE2vfWNN.js} +0 -0
  352. /package/client/dist/{catppuccin-frappe-D7hlMtXo.js → catppuccin-frappe-BncDgJpm.js} +0 -0
  353. /package/client/dist/{catppuccin-latte-D2-cwLAh.js → catppuccin-latte-DKeJhMQP.js} +0 -0
  354. /package/client/dist/{catppuccin-macchiato-Dt-n4vTY.js → catppuccin-macchiato-C4CvlDZr.js} +0 -0
  355. /package/client/dist/{catppuccin-mocha-pJ9gr9o9.js → catppuccin-mocha-DxR6W23H.js} +0 -0
  356. /package/client/dist/{chunk-6MN3ZHY7-B86W-RmZ.js → chunk-6MN3ZHY7-CGP-FqbP.js} +0 -0
  357. /package/client/dist/{clarity-B1loWXVz.js → clarity-DWFNl-IH.js} +0 -0
  358. /package/client/dist/{clojure-BuPCnGPH.js → clojure-BFGvhpwp.js} +0 -0
  359. /package/client/dist/{codeowners-C_VH6Ljx.js → codeowners-EnBVmNsu.js} +0 -0
  360. /package/client/dist/{codeql-DhWjL8Kq.js → codeql-CzZAwlmJ.js} +0 -0
  361. /package/client/dist/{common-lisp-CruE29WJ.js → common-lisp-BELKORRv.js} +0 -0
  362. /package/client/dist/{coq-Bx_cXDWL.js → coq-BfiJJe7m.js} +0 -0
  363. /package/client/dist/{css-D3eCZIjt.js → css-B6D3XU1Q.js} +0 -0
  364. /package/client/dist/{cue-CMZTYgU5.js → cue-BQ7YZKWe.js} +0 -0
  365. /package/client/dist/{cypher-BMGc7dGe.js → cypher-BdzbTlso.js} +0 -0
  366. /package/client/dist/{d-CZehDVN6.js → d-MAC1YQZ0.js} +0 -0
  367. /package/client/dist/{dark-plus-CGcVEdxm.js → dark-plus-Bkbml_FN.js} +0 -0
  368. /package/client/dist/{dart-BfQboB_J.js → dart-BXpqa-ep.js} +0 -0
  369. /package/client/dist/{dax-Bba5a30x.js → dax-KGpmYVfw.js} +0 -0
  370. /package/client/dist/{defaultLocale-S7fGF81p.js → defaultLocale-CpOIvCrO.js} +0 -0
  371. /package/client/dist/{desktop-DyR7Z7D7.js → desktop-Dhtnsl2D.js} +0 -0
  372. /package/client/dist/{docker-Dv8_2ppU.js → docker-CrEIg1Ap.js} +0 -0
  373. /package/client/dist/{dotenv-DCISGmUs.js → dotenv-CtCxEF15.js} +0 -0
  374. /package/client/dist/{dracula-D76yIU1-.js → dracula-C7lW8R_Q.js} +0 -0
  375. /package/client/dist/{dracula-soft-txtzq0a7.js → dracula-soft-CNY1yyVB.js} +0 -0
  376. /package/client/dist/{dream-maker-DA4WbaAF.js → dream-maker-CgGuNSAM.js} +0 -0
  377. /package/client/dist/{emacs-lisp-tzsjo5DB.js → emacs-lisp-Bz7JmjIP.js} +0 -0
  378. /package/client/dist/{everforest-dark-CJDH8s0z.js → everforest-dark-BTlOlnDj.js} +0 -0
  379. /package/client/dist/{everforest-light-C6xhm1QL.js → everforest-light-CLhstn6h.js} +0 -0
  380. /package/client/dist/{fennel-DA_rS4S7.js → fennel-B1v0vQ_x.js} +0 -0
  381. /package/client/dist/{fish-BrLZQvoa.js → fish-DR9Zhsna.js} +0 -0
  382. /package/client/dist/{fluent-DntAoeEC.js → fluent-DLTuuU0q.js} +0 -0
  383. /package/client/dist/{genie-C9fU7PiA.js → genie-BrhyVESS.js} +0 -0
  384. /package/client/dist/{gherkin-DDlBNjNG.js → gherkin-BAhXcdRy.js} +0 -0
  385. /package/client/dist/{github-dark-default-DfCBMOYz.js → github-dark-default-Bp7aiQF_.js} +0 -0
  386. /package/client/dist/{github-dark-dimmed-BKiErX1j.js → github-dark-dimmed-BUA7uKtb.js} +0 -0
  387. /package/client/dist/{github-dark-Ckt6nlQx.js → github-dark-fg_nTpgu.js} +0 -0
  388. /package/client/dist/{github-dark-high-contrast-DVxoJyHI.js → github-dark-high-contrast-CGalyjzF.js} +0 -0
  389. /package/client/dist/{github-light-BZC_cQ4W.js → github-light-DN7kRRF7.js} +0 -0
  390. /package/client/dist/{github-light-default-BY0m_WyP.js → github-light-default-DSdxkU44.js} +0 -0
  391. /package/client/dist/{github-light-high-contrast-DcWq4z9I.js → github-light-high-contrast-BxtRmFN1.js} +0 -0
  392. /package/client/dist/{gleam-cWmrDEMg.js → gleam-wOj23zYD.js} +0 -0
  393. /package/client/dist/{gnuplot-BHRhuGLx.js → gnuplot-DwED_hw3.js} +0 -0
  394. /package/client/dist/{groovy-BjidEaDx.js → groovy-CxxJ-5Sr.js} +0 -0
  395. /package/client/dist/{gruvbox-dark-hard-gIGwkeSY.js → gruvbox-dark-hard-z7i0QcBP.js} +0 -0
  396. /package/client/dist/{gruvbox-dark-medium-V93T0amg.js → gruvbox-dark-medium-D5hNykXO.js} +0 -0
  397. /package/client/dist/{gruvbox-dark-soft-DWvGTPhe.js → gruvbox-dark-soft-DlQpC8dE.js} +0 -0
  398. /package/client/dist/{gruvbox-light-hard-CDR7jAaS.js → gruvbox-light-hard-CWJQgtzD.js} +0 -0
  399. /package/client/dist/{gruvbox-light-medium-BH05YZpj.js → gruvbox-light-medium-BdMNdgpw.js} +0 -0
  400. /package/client/dist/{gruvbox-light-soft-_FpHi3hq.js → gruvbox-light-soft-DJIFCU7y.js} +0 -0
  401. /package/client/dist/{haskell-D6diK_o1.js → haskell-BRaw1Dsr.js} +0 -0
  402. /package/client/dist/{hcl-BPPiC6Ub.js → hcl-1wFp9Wv2.js} +0 -0
  403. /package/client/dist/{hjson-BYqpFKnP.js → hjson-CnR1pdB0.js} +0 -0
  404. /package/client/dist/{houston-CTP0HFka.js → houston-BZYgqf3I.js} +0 -0
  405. /package/client/dist/{hy-DkwVZxUW.js → hy-0Ljcdkei.js} +0 -0
  406. /package/client/dist/{imba-pxRlZERz.js → imba-B2ACPF1n.js} +0 -0
  407. /package/client/dist/{ini-B_rjZOXj.js → ini-Bgab91B8.js} +0 -0
  408. /package/client/dist/{init-BnPQj6aR.js → init-BMmi5D2P.js} +0 -0
  409. /package/client/dist/{isArrayLikeObject-CgiDz5DP.js → isArrayLikeObject-DQx-SFSD.js} +0 -0
  410. /package/client/dist/{java-DeUXjYQU.js → java-SNbStmjE.js} +0 -0
  411. /package/client/dist/{javascript-DpvUI8vq.js → javascript-Ddo8KLnq.js} +0 -0
  412. /package/client/dist/{json-cDpc1bY6.js → json-CSheKdxY.js} +0 -0
  413. /package/client/dist/{json5-D1op8XDc.js → json5-CcEgDmpy.js} +0 -0
  414. /package/client/dist/{jsonc-TsBL8Zw4.js → jsonc-BWdWbYa8.js} +0 -0
  415. /package/client/dist/{jsonl-VehePL7r.js → jsonl-qeKHxaqz.js} +0 -0
  416. /package/client/dist/{jsonnet-gOuuHn0J.js → jsonnet-C4ZvF0yK.js} +0 -0
  417. /package/client/dist/{jssm-Ccle0HAR.js → jssm-FCHZ8dhr.js} +0 -0
  418. /package/client/dist/{jsx-aZzZib73.js → jsx-BtKCuY1B.js} +0 -0
  419. /package/client/dist/{kanagawa-dragon-CSKAbSka.js → kanagawa-dragon-BCmAwefj.js} +0 -0
  420. /package/client/dist/{kanagawa-lotus-DN7DspOm.js → kanagawa-lotus-CRf1Sjf0.js} +0 -0
  421. /package/client/dist/{kanagawa-wave-Dberk7yB.js → kanagawa-wave-Dg9Nayxx.js} +0 -0
  422. /package/client/dist/{katex.min-RTO9ag3H.js → katex.min-BbMNpc4e.js} +0 -0
  423. /package/client/dist/{katex.min-DkVKOBvG.css → katex.min-DzmnhvEo.css} +0 -0
  424. /package/client/dist/{kdl-ghIqIEqx.js → kdl-Dbzft6Zo.js} +0 -0
  425. /package/client/dist/{kotlin-CGg4-W_M.js → kotlin-Df2iE6tC.js} +0 -0
  426. /package/client/dist/{kusto-DCV3owQ6.js → kusto-m8mJZyua.js} +0 -0
  427. /package/client/dist/{laserwave-DHr_OdQx.js → laserwave-Ck6NZUzv.js} +0 -0
  428. /package/client/dist/{lean-981kZEaB.js → lean-kAwx441W.js} +0 -0
  429. /package/client/dist/{light-plus-Bc9BLT5A.js → light-plus-C3hA15hU.js} +0 -0
  430. /package/client/dist/{llvm-DyE_X-oq.js → llvm-C5MekMh_.js} +0 -0
  431. /package/client/dist/{log-CJNm4UbC.js → log-DvddojUJ.js} +0 -0
  432. /package/client/dist/{logo-DKbdyqt-.js → logo-czwRlg8w.js} +0 -0
  433. /package/client/dist/{luau-MmBwuyT2.js → luau-lcKAfimH.js} +0 -0
  434. /package/client/dist/{make-D1C6Tiwy.js → make-Dmo552Q_.js} +0 -0
  435. /package/client/dist/{marked.esm-DUB0uiru.js → marked.esm-BU9oqpyq.js} +0 -0
  436. /package/client/dist/{material-theme-Bv8yLSP0.js → material-theme-BoxL2qBl.js} +0 -0
  437. /package/client/dist/{material-theme-darker-1AqpNdZt.js → material-theme-darker-BeMU0scr.js} +0 -0
  438. /package/client/dist/{material-theme-lighter-DPdC5l8C.js → material-theme-lighter-VrIMA8kh.js} +0 -0
  439. /package/client/dist/{material-theme-ocean-37Kook8Q.js → material-theme-ocean-EEgDkdHj.js} +0 -0
  440. /package/client/dist/{material-theme-palenight-C27iD4SF.js → material-theme-palenight-C-EnnkH8.js} +0 -0
  441. /package/client/dist/{math-XICenNyA.js → math-gRmcJvx6.js} +0 -0
  442. /package/client/dist/{matlab-Ck3HEU2k.js → matlab-D-E_bXgu.js} +0 -0
  443. /package/client/dist/{mdx-C1PRejio.js → mdx-0fSRAqS0.js} +0 -0
  444. /package/client/dist/{mermaid-BckVcVXX.js → mermaid-CLpjX24M.js} +0 -0
  445. /package/client/dist/{min-dark-anAUOToK.js → min-dark-D8XVDWr1.js} +0 -0
  446. /package/client/dist/{min-light-CvG_iQWP.js → min-light-Mp8prhE8.js} +0 -0
  447. /package/client/dist/{mipsasm-BM_FQj2A.js → mipsasm-DV9gO_So.js} +0 -0
  448. /package/client/dist/{mojo-BR-LqNeT.js → mojo-pKwaO8XI.js} +0 -0
  449. /package/client/dist/{monokai-DYv3rk-A.js → monokai-C4lnhIAc.js} +0 -0
  450. /package/client/dist/{move-m3_5UNfo.js → move-Wldo4Hem.js} +0 -0
  451. /package/client/dist/{narrat-DYFj8Q6-.js → narrat-C6s7tC0E.js} +0 -0
  452. /package/client/dist/{nextflow-ZIzFDe2m.js → nextflow-zdkPbxn5.js} +0 -0
  453. /package/client/dist/{night-owl-DkBbLKGE.js → night-owl-DhWSzm5H.js} +0 -0
  454. /package/client/dist/{nix-17F0HB0G.js → nix-CjySRCSd.js} +0 -0
  455. /package/client/dist/{nord-Be97_T58.js → nord-BY_QN2gY.js} +0 -0
  456. /package/client/dist/{nushell-njEJEBNK.js → nushell-hbqRInET.js} +0 -0
  457. /package/client/dist/{objective-c-DcpJ0eV7.js → objective-c-B1F047Pe.js} +0 -0
  458. /package/client/dist/{objective-cpp-CXgpfRIb.js → objective-cpp-DOEaO-_S.js} +0 -0
  459. /package/client/dist/{ocaml-RYuU9VTm.js → ocaml-CbMUHbJ1.js} +0 -0
  460. /package/client/dist/{one-dark-pro-Ci-bUEIf.js → one-dark-pro-B5T8FKGO.js} +0 -0
  461. /package/client/dist/{one-light-BtoBaJgF.js → one-light-Dkpvl49F.js} +0 -0
  462. /package/client/dist/{pascal-HLRSlJ2v.js → pascal-Dm8Skcdo.js} +0 -0
  463. /package/client/dist/{path-CoY9QgOk.js → path-D9R6tFiF.js} +0 -0
  464. /package/client/dist/{pkl-D0LsOQD5.js → pkl-C8ov79U4.js} +0 -0
  465. /package/client/dist/{plastic-BHBVdpN4.js → plastic-DwAmIsPQ.js} +0 -0
  466. /package/client/dist/{plsql-Ckotkn8G.js → plsql-CtBnG1Ls.js} +0 -0
  467. /package/client/dist/{po-Qix2N2fA.js → po-CxvkSgFT.js} +0 -0
  468. /package/client/dist/{poimandres-DCZ4zCH5.js → poimandres-CJ_35Qtb.js} +0 -0
  469. /package/client/dist/{polar-DHAM8Rqb.js → polar-DJV8lx3R.js} +0 -0
  470. /package/client/dist/{powerquery-sXjCytsm.js → powerquery-kdwxFRYB.js} +0 -0
  471. /package/client/dist/{powershell-Br9y9LlC.js → powershell-CVJ4wxgL.js} +0 -0
  472. /package/client/dist/{prisma-COBUUaqE.js → prisma-Cq63jk-E.js} +0 -0
  473. /package/client/dist/{prolog-BbJTvtA-.js → prolog-9B2ua3v5.js} +0 -0
  474. /package/client/dist/{proto-Dn7PeVbf.js → proto-DCENde4o.js} +0 -0
  475. /package/client/dist/{puppet-CNdK406T.js → puppet-C_Lw62pS.js} +0 -0
  476. /package/client/dist/{purescript-Cgw06S43.js → purescript-Btg-Lgzx.js} +0 -0
  477. /package/client/dist/{qmldir-tOWyMniz.js → qmldir-Cvc6ARjl.js} +0 -0
  478. /package/client/dist/{qss-CQ_tB_vx.js → qss-BtwjZCmQ.js} +0 -0
  479. /package/client/dist/{r-omh8Ou_K.js → r-CofbtV-v.js} +0 -0
  480. /package/client/dist/{racket-xM_JlWdJ.js → racket-zHGAHYG0.js} +0 -0
  481. /package/client/dist/{raku-CsjbV0q-.js → raku-Ogeu-i98.js} +0 -0
  482. /package/client/dist/{red-B8qD19HM.js → red-DGx8v2Vh.js} +0 -0
  483. /package/client/dist/{reg-CDO-JwKW.js → reg-B_apcHxF.js} +0 -0
  484. /package/client/dist/{regexp-ZL8WsoEe.js → regexp-CmWKMmS2.js} +0 -0
  485. /package/client/dist/{rel-Lnk3efq_.js → rel-Ddt4jZVG.js} +0 -0
  486. /package/client/dist/{riscv-B6rT4cSG.js → riscv-BLuUK7Mp.js} +0 -0
  487. /package/client/dist/{rose-pine-Dh-EMol0.js → rose-pine-C-SfXkEX.js} +0 -0
  488. /package/client/dist/{rose-pine-dawn-BqC-N8fL.js → rose-pine-dawn-BlOVF_37.js} +0 -0
  489. /package/client/dist/{rose-pine-moon-vcuVc4Xx.js → rose-pine-moon-DtjLlqdy.js} +0 -0
  490. /package/client/dist/{rosmsg-CkrEKNqZ.js → rosmsg-ACo_Lsij.js} +0 -0
  491. /package/client/dist/{rust-BJsQV1yN.js → rust-D8scpCRh.js} +0 -0
  492. /package/client/dist/{sass-DUMhS7Ul.js → sass-DdvjcT1f.js} +0 -0
  493. /package/client/dist/{scala-QIWWuOfJ.js → scala-Cgqu89v6.js} +0 -0
  494. /package/client/dist/{scheme-DUaTpimf.js → scheme-s80Efn8p.js} +0 -0
  495. /package/client/dist/{shellscript-C_4ahoKK.js → shellscript-CLiR6A31.js} +0 -0
  496. /package/client/dist/{slack-dark-BStzxS3X.js → slack-dark-CeyZ3uL3.js} +0 -0
  497. /package/client/dist/{slack-ochin-2x4WQR0g.js → slack-ochin-DIrJ_MIy.js} +0 -0
  498. /package/client/dist/{smalltalk-BgOCST23.js → smalltalk-c3PuuSV-.js} +0 -0
  499. /package/client/dist/{snazzy-light-D0wXjU0P.js → snazzy-light-PspG2def.js} +0 -0
  500. /package/client/dist/{solarized-dark-YpFNWaFw.js → solarized-dark-ChKbuvbE.js} +0 -0
  501. /package/client/dist/{solarized-light-7a4AqvZ7.js → solarized-light-BdMRSldD.js} +0 -0
  502. /package/client/dist/{solidity-oQ4hiwc0.js → solidity-Hg40fXBW.js} +0 -0
  503. /package/client/dist/{splunk-C8Rf4xma.js → splunk-CIqyakrm.js} +0 -0
  504. /package/client/dist/{sql-5h2ZDb6r.js → sql-DZUGcRU4.js} +0 -0
  505. /package/client/dist/{ssh-config-BK2cOZ3H.js → ssh-config-BwDi1XJq.js} +0 -0
  506. /package/client/dist/{swift-BgxBD2YR.js → swift-VpvjuzI-.js} +0 -0
  507. /package/client/dist/{synthwave-84-BkPcWg5x.js → synthwave-84-Gir5bTco.js} +0 -0
  508. /package/client/dist/{system-verilog--HBRY74c.js → system-verilog-CTFpaR6V.js} +0 -0
  509. /package/client/dist/{systemd-CEGf-MNr.js → systemd-qXsDuzFi.js} +0 -0
  510. /package/client/dist/{talonscript-DxfF5wgQ.js → talonscript-CVmYitsH.js} +0 -0
  511. /package/client/dist/{tasl-Bs3WmVDT.js → tasl-BdUecwZ9.js} +0 -0
  512. /package/client/dist/{tcl-sj44Uys6.js → tcl-C1sJeaI_.js} +0 -0
  513. /package/client/dist/{terraform-Dk3Frx3Z.js → terraform-CQ1aCfhN.js} +0 -0
  514. /package/client/dist/{tokyo-night-jks_2THM.js → tokyo-night-Ndgw9fNO.js} +0 -0
  515. /package/client/dist/{toml-58T5lJMb.js → toml-aNOAPk5t.js} +0 -0
  516. /package/client/dist/{tsv-Be6q89a5.js → tsv-BV3wBDa6.js} +0 -0
  517. /package/client/dist/{tsx-S_sG4GSd.js → tsx-B0SU1btf.js} +0 -0
  518. /package/client/dist/{typescript-DCWwSN3O.js → typescript-CN4JCxd2.js} +0 -0
  519. /package/client/dist/{typespec-DOAqMqZd.js → typespec-B3GKFR1a.js} +0 -0
  520. /package/client/dist/{typst-eQZesfAU.js → typst-D3l1xrSY.js} +0 -0
  521. /package/client/dist/{v-CjxftokX.js → v-GzSsvxlj.js} +0 -0
  522. /package/client/dist/{vala-BY4gOu9x.js → vala-Ddd0YU4Q.js} +0 -0
  523. /package/client/dist/{vb-jHsx6ydV.js → vb-hTMss9vM.js} +0 -0
  524. /package/client/dist/{verilog-uRed-ROJ.js → verilog-C_Wys9bn.js} +0 -0
  525. /package/client/dist/{vesper-IPbSDcY9.js → vesper-D9SYFoLc.js} +0 -0
  526. /package/client/dist/{vhdl-BpuKDOPO.js → vhdl-BX0sizEc.js} +0 -0
  527. /package/client/dist/{viml-CVGu2R7N.js → viml-BFfJOSso.js} +0 -0
  528. /package/client/dist/{vitesse-black-CvxMZcbe.js → vitesse-black-BoHFego0.js} +0 -0
  529. /package/client/dist/{vitesse-dark-BO9bSnXr.js → vitesse-dark-DyBSE_PK.js} +0 -0
  530. /package/client/dist/{vitesse-light-UtuwVwQJ.js → vitesse-light-vIFGHZMb.js} +0 -0
  531. /package/client/dist/{vyper-DBdOKuCY.js → vyper-_xivU0nR.js} +0 -0
  532. /package/client/dist/{wasm-Dxuep-_m.js → wasm-BfwOXSC8.js} +0 -0
  533. /package/client/dist/{wasm-Ded3y1Or.js → wasm-C6fxr3_l.js} +0 -0
  534. /package/client/dist/{wenyan-DsdZPJPl.js → wenyan-r45e_q3f.js} +0 -0
  535. /package/client/dist/{wgsl-DkPKK0zn.js → wgsl-DQx6l4y9.js} +0 -0
  536. /package/client/dist/{wikitext-C2JOdtm0.js → wikitext-BmtbRAxJ.js} +0 -0
  537. /package/client/dist/{wit-BFX5-EUh.js → wit-CIGBGcw5.js} +0 -0
  538. /package/client/dist/{wolfram-DkXQ7ZMv.js → wolfram-Bl42PGc-.js} +0 -0
  539. /package/client/dist/{yaml-ZSEnqUIp.js → yaml-Bv1i-p9r.js} +0 -0
  540. /package/client/dist/{zenscript-ITj6Wa64.js → zenscript-BhBB7fEg.js} +0 -0
  541. /package/client/dist/{zig-1Mlf-trN.js → zig-D5ulsvQH.js} +0 -0
@@ -1,145 +0,0 @@
1
- import{g as e,p as t,t as n}from"./chunk-S3R3BYOJ-Cd9h779p.js";import{g as r,h as i,p as a}from"./src-CoWzf9ks.js";import{B as o,C as s,E as c,H as l,I as u,N as d,O as f,U as p,_ as m,a as h,b as g,c as _,i as v,r as y,s as b,v as x,y as S,z as C}from"./chunk-ABZYJK2D-CdjGnQAG.js";import{t as w}from"./dist-Bz_xenUc.js";import{i as T,n as E,o as D,r as O,s as k,t as A}from"./chunk-TZMSLE5B-BBBkdEGp.js";import{n as j,t as M}from"./chunk-MI3HLSF2-C6Pm8cQC.js";import{t as N}from"./chunk-QZHKN3VN-Cor-573y.js";var P=w(),F=(function(){var e=i(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[1,2],n=[1,3],r=[1,4],a=[2,4],o=[1,9],s=[1,11],c=[1,13],l=[1,14],u=[1,16],d=[1,17],f=[1,18],p=[1,24],m=[1,25],h=[1,26],g=[1,27],_=[1,28],v=[1,29],y=[1,30],b=[1,31],x=[1,32],S=[1,33],C=[1,34],w=[1,35],T=[1,36],E=[1,37],D=[1,38],O=[1,39],k=[1,41],A=[1,42],j=[1,43],M=[1,44],N=[1,45],P=[1,46],F=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,55,60,61,62,63,71],I=[2,71],L=[4,5,16,50,52,53],R=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,55,60,61,62,63,71],ee=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,55,60,61,62,63,71],z=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,55,60,61,62,63,71],te=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,55,60,61,62,63,71],B=[69,70,71],V=[1,127],H={trace:i(function(){},`trace`),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,actor_with_config:54,note:55,placement:56,text2:57,over:58,actor_pair:59,links:60,link:61,properties:62,details:63,spaceList:64,",":65,left_of:66,right_of:67,signaltype:68,"+":69,"-":70,ACTOR:71,config_object:72,CONFIG_START:73,CONFIG_CONTENT:74,CONFIG_END:75,SOLID_OPEN_ARROW:76,DOTTED_OPEN_ARROW:77,SOLID_ARROW:78,BIDIRECTIONAL_SOLID_ARROW:79,DOTTED_ARROW:80,BIDIRECTIONAL_DOTTED_ARROW:81,SOLID_CROSS:82,DOTTED_CROSS:83,SOLID_POINT:84,DOTTED_POINT:85,TXT:86,$accept:0,$end:1},terminals_:{2:`error`,4:`SPACE`,5:`NEWLINE`,6:`SD`,13:`create`,14:`box`,15:`restOfLine`,16:`end`,18:`autonumber`,19:`NUM`,20:`off`,21:`activate`,23:`deactivate`,29:`title`,30:`legacy_title`,31:`acc_title`,32:`acc_title_value`,33:`acc_descr`,34:`acc_descr_value`,35:`acc_descr_multiline_value`,36:`loop`,37:`rect`,38:`opt`,39:`alt`,41:`par`,43:`par_over`,44:`critical`,46:`break`,47:`option`,48:`and`,49:`else`,50:`participant`,51:`AS`,52:`participant_actor`,53:`destroy`,55:`note`,58:`over`,60:`links`,61:`link`,62:`properties`,63:`details`,65:`,`,66:`left_of`,67:`right_of`,69:`+`,70:`-`,71:`ACTOR`,73:`CONFIG_START`,74:`CONFIG_CONTENT`,75:`CONFIG_END`,76:`SOLID_OPEN_ARROW`,77:`DOTTED_OPEN_ARROW`,78:`SOLID_ARROW`,79:`BIDIRECTIONAL_SOLID_ARROW`,80:`DOTTED_ARROW`,81:`BIDIRECTIONAL_DOTTED_ARROW`,82:`SOLID_CROSS`,83:`DOTTED_CROSS`,84:`SOLID_POINT`,85:`DOTTED_POINT`,86:`TXT`},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[64,2],[64,1],[59,3],[59,1],[56,1],[56,1],[17,5],[17,5],[17,4],[54,2],[72,3],[22,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[57,1]],performAction:i(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 3:return r.apply(a[s]),a[s];case 4:case 9:this.$=[];break;case 5:case 10:a[s-1].push(a[s]),this.$=a[s-1];break;case 6:case 7:case 11:case 12:this.$=a[s];break;case 8:case 13:this.$=[];break;case 15:a[s].type=`createParticipant`,this.$=a[s];break;case 16:a[s-1].unshift({type:`boxStart`,boxData:r.parseBoxData(a[s-2])}),a[s-1].push({type:`boxEnd`,boxText:a[s-2]}),this.$=a[s-1];break;case 18:this.$={type:`sequenceIndex`,sequenceIndex:Number(a[s-2]),sequenceIndexStep:Number(a[s-1]),sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 19:this.$={type:`sequenceIndex`,sequenceIndex:Number(a[s-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 20:this.$={type:`sequenceIndex`,sequenceVisible:!1,signalType:r.LINETYPE.AUTONUMBER};break;case 21:this.$={type:`sequenceIndex`,sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 22:this.$={type:`activeStart`,signalType:r.LINETYPE.ACTIVE_START,actor:a[s-1].actor};break;case 23:this.$={type:`activeEnd`,signalType:r.LINETYPE.ACTIVE_END,actor:a[s-1].actor};break;case 29:r.setDiagramTitle(a[s].substring(6)),this.$=a[s].substring(6);break;case 30:r.setDiagramTitle(a[s].substring(7)),this.$=a[s].substring(7);break;case 31:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 32:case 33:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 34:a[s-1].unshift({type:`loopStart`,loopText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.LOOP_START}),a[s-1].push({type:`loopEnd`,loopText:a[s-2],signalType:r.LINETYPE.LOOP_END}),this.$=a[s-1];break;case 35:a[s-1].unshift({type:`rectStart`,color:r.parseMessage(a[s-2]),signalType:r.LINETYPE.RECT_START}),a[s-1].push({type:`rectEnd`,color:r.parseMessage(a[s-2]),signalType:r.LINETYPE.RECT_END}),this.$=a[s-1];break;case 36:a[s-1].unshift({type:`optStart`,optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.OPT_START}),a[s-1].push({type:`optEnd`,optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.OPT_END}),this.$=a[s-1];break;case 37:a[s-1].unshift({type:`altStart`,altText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.ALT_START}),a[s-1].push({type:`altEnd`,signalType:r.LINETYPE.ALT_END}),this.$=a[s-1];break;case 38:a[s-1].unshift({type:`parStart`,parText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.PAR_START}),a[s-1].push({type:`parEnd`,signalType:r.LINETYPE.PAR_END}),this.$=a[s-1];break;case 39:a[s-1].unshift({type:`parStart`,parText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.PAR_OVER_START}),a[s-1].push({type:`parEnd`,signalType:r.LINETYPE.PAR_END}),this.$=a[s-1];break;case 40:a[s-1].unshift({type:`criticalStart`,criticalText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.CRITICAL_START}),a[s-1].push({type:`criticalEnd`,signalType:r.LINETYPE.CRITICAL_END}),this.$=a[s-1];break;case 41:a[s-1].unshift({type:`breakStart`,breakText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.BREAK_START}),a[s-1].push({type:`breakEnd`,optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.BREAK_END}),this.$=a[s-1];break;case 43:this.$=a[s-3].concat([{type:`option`,optionText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.CRITICAL_OPTION},a[s]]);break;case 45:this.$=a[s-3].concat([{type:`and`,parText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.PAR_AND},a[s]]);break;case 47:this.$=a[s-3].concat([{type:`else`,altText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.ALT_ELSE},a[s]]);break;case 48:a[s-3].draw=`participant`,a[s-3].type=`addParticipant`,a[s-3].description=r.parseMessage(a[s-1]),this.$=a[s-3];break;case 49:a[s-1].draw=`participant`,a[s-1].type=`addParticipant`,this.$=a[s-1];break;case 50:a[s-3].draw=`actor`,a[s-3].type=`addParticipant`,a[s-3].description=r.parseMessage(a[s-1]),this.$=a[s-3];break;case 51:a[s-1].draw=`actor`,a[s-1].type=`addParticipant`,this.$=a[s-1];break;case 52:a[s-1].type=`destroyParticipant`,this.$=a[s-1];break;case 53:a[s-1].draw=`participant`,a[s-1].type=`addParticipant`,this.$=a[s-1];break;case 54:this.$=[a[s-1],{type:`addNote`,placement:a[s-2],actor:a[s-1].actor,text:a[s]}];break;case 55:a[s-2]=[].concat(a[s-1],a[s-1]).slice(0,2),a[s-2][0]=a[s-2][0].actor,a[s-2][1]=a[s-2][1].actor,this.$=[a[s-1],{type:`addNote`,placement:r.PLACEMENT.OVER,actor:a[s-2].slice(0,2),text:a[s]}];break;case 56:this.$=[a[s-1],{type:`addLinks`,actor:a[s-1].actor,text:a[s]}];break;case 57:this.$=[a[s-1],{type:`addALink`,actor:a[s-1].actor,text:a[s]}];break;case 58:this.$=[a[s-1],{type:`addProperties`,actor:a[s-1].actor,text:a[s]}];break;case 59:this.$=[a[s-1],{type:`addDetails`,actor:a[s-1].actor,text:a[s]}];break;case 62:this.$=[a[s-2],a[s]];break;case 63:this.$=a[s];break;case 64:this.$=r.PLACEMENT.LEFTOF;break;case 65:this.$=r.PLACEMENT.RIGHTOF;break;case 66:this.$=[a[s-4],a[s-1],{type:`addMessage`,from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s],activate:!0},{type:`activeStart`,signalType:r.LINETYPE.ACTIVE_START,actor:a[s-1].actor}];break;case 67:this.$=[a[s-4],a[s-1],{type:`addMessage`,from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:`activeEnd`,signalType:r.LINETYPE.ACTIVE_END,actor:a[s-4].actor}];break;case 68:this.$=[a[s-3],a[s-1],{type:`addMessage`,from:a[s-3].actor,to:a[s-1].actor,signalType:a[s-2],msg:a[s]}];break;case 69:this.$={type:`addParticipant`,actor:a[s-1],config:a[s]};break;case 70:this.$=a[s-1].trim();break;case 71:this.$={type:`addParticipant`,actor:a[s]};break;case 72:this.$=r.LINETYPE.SOLID_OPEN;break;case 73:this.$=r.LINETYPE.DOTTED_OPEN;break;case 74:this.$=r.LINETYPE.SOLID;break;case 75:this.$=r.LINETYPE.BIDIRECTIONAL_SOLID;break;case 76:this.$=r.LINETYPE.DOTTED;break;case 77:this.$=r.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 78:this.$=r.LINETYPE.SOLID_CROSS;break;case 79:this.$=r.LINETYPE.DOTTED_CROSS;break;case 80:this.$=r.LINETYPE.SOLID_POINT;break;case 81:this.$=r.LINETYPE.DOTTED_POINT;break;case 82:this.$=r.parseMessage(a[s].trim().substring(1));break}},`anonymous`),table:[{3:1,4:t,5:n,6:r},{1:[3]},{3:5,4:t,5:n,6:r},{3:6,4:t,5:n,6:r},e([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,55,60,61,62,63,71],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,12:12,13:c,14:l,17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},e(F,[2,5]),{9:47,12:12,13:c,14:l,17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},e(F,[2,7]),e(F,[2,8]),e(F,[2,14]),{12:48,50:E,52:D,53:O},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,71:P},{22:55,71:P},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},e(F,[2,29]),e(F,[2,30]),{32:[1,61]},{34:[1,62]},e(F,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,54:72,71:[1,73]},{22:74,71:P},{22:75,71:P},{68:76,76:[1,77],77:[1,78],78:[1,79],79:[1,80],80:[1,81],81:[1,82],82:[1,83],83:[1,84],84:[1,85],85:[1,86]},{56:87,58:[1,88],66:[1,89],67:[1,90]},{22:91,71:P},{22:92,71:P},{22:93,71:P},{22:94,71:P},e([5,51,65,76,77,78,79,80,81,82,83,84,85,86],I),e(F,[2,6]),e(F,[2,15]),e(L,[2,9],{10:95}),e(F,[2,17]),{5:[1,97],19:[1,96]},{5:[1,98]},e(F,[2,21]),{5:[1,99]},{5:[1,100]},e(F,[2,24]),e(F,[2,25]),e(F,[2,26]),e(F,[2,27]),e(F,[2,28]),e(F,[2,31]),e(F,[2,32]),e(R,a,{7:101}),e(R,a,{7:102}),e(R,a,{7:103}),e(ee,a,{40:104,7:105}),e(z,a,{42:106,7:107}),e(z,a,{7:107,42:108}),e(te,a,{45:109,7:110}),e(R,a,{7:111}),{5:[1,113],51:[1,112]},{5:[1,114]},e([5,51],I,{72:115,73:[1,116]}),{5:[1,118],51:[1,117]},{5:[1,119]},{22:122,69:[1,120],70:[1,121],71:P},e(B,[2,72]),e(B,[2,73]),e(B,[2,74]),e(B,[2,75]),e(B,[2,76]),e(B,[2,77]),e(B,[2,78]),e(B,[2,79]),e(B,[2,80]),e(B,[2,81]),{22:123,71:P},{22:125,59:124,71:P},{71:[2,64]},{71:[2,65]},{57:126,86:V},{57:128,86:V},{57:129,86:V},{57:130,86:V},{4:[1,133],5:[1,135],11:132,12:134,16:[1,131],50:E,52:D,53:O},{5:[1,136]},e(F,[2,19]),e(F,[2,20]),e(F,[2,22]),e(F,[2,23]),{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[1,137],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[1,138],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[1,139],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{16:[1,140]},{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[2,46],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,49:[1,141],50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{16:[1,142]},{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[2,44],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,48:[1,143],50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{16:[1,144]},{16:[1,145]},{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[2,42],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,47:[1,146],50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[1,147],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{15:[1,148]},e(F,[2,49]),e(F,[2,53]),{5:[2,69]},{74:[1,149]},{15:[1,150]},e(F,[2,51]),e(F,[2,52]),{22:151,71:P},{22:152,71:P},{57:153,86:V},{57:154,86:V},{57:155,86:V},{65:[1,156],86:[2,63]},{5:[2,56]},{5:[2,82]},{5:[2,57]},{5:[2,58]},{5:[2,59]},e(F,[2,16]),e(L,[2,10]),{12:157,50:E,52:D,53:O},e(L,[2,12]),e(L,[2,13]),e(F,[2,18]),e(F,[2,34]),e(F,[2,35]),e(F,[2,36]),e(F,[2,37]),{15:[1,158]},e(F,[2,38]),{15:[1,159]},e(F,[2,39]),e(F,[2,40]),{15:[1,160]},e(F,[2,41]),{5:[1,161]},{75:[1,162]},{5:[1,163]},{57:164,86:V},{57:165,86:V},{5:[2,68]},{5:[2,54]},{5:[2,55]},{22:166,71:P},e(L,[2,11]),e(ee,a,{7:105,40:167}),e(z,a,{7:107,42:168}),e(te,a,{7:110,45:169}),e(F,[2,48]),{5:[2,70]},e(F,[2,50]),{5:[2,66]},{5:[2,67]},{86:[2,62]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],89:[2,64],90:[2,65],115:[2,69],126:[2,56],127:[2,82],128:[2,57],129:[2,58],130:[2,59],153:[2,68],154:[2,54],155:[2,55],162:[2,70],164:[2,66],165:[2,67],166:[2,62],167:[2,47],168:[2,45],169:[2,43]},parseError:i(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:i(function(e){var t=this,n=[0],r=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){n.length-=2*e,a.length-=e,o.length-=e}i(b,`popStack`);function x(){var e=r.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(r=e,e=r.pop()),e=t.symbols_[e]||e),e}i(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=n[n.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
- `+h.showPosition()+`
3
- Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:n.push(S),a.push(h.yytext),o.push(h.yylloc),n.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(n=n.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),n.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0},`parse`)};H.lexer=(function(){return{EOF:1,parseError:i(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:i(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:i(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:i(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:i(function(){return this._more=!0,this},`more`),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
- `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:i(function(e){this.unput(this.match.slice(e))},`less`),pastInput:i(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:i(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:i(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
5
- `+t+`^`},`showPosition`),test_match:i(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:i(function(){return this.next()||this.lex()},`lex`),begin:i(function(e){this.conditionStack.push(e)},`begin`),popState:i(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:i(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:i(function(e){this.begin(e)},`pushState`),stateStackSize:i(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:i(function(e,t,n,r){switch(n){case 0:return 5;case 1:break;case 2:break;case 3:break;case 4:break;case 5:break;case 6:return 19;case 7:return this.begin(`CONFIG`),73;case 8:return 74;case 9:return this.popState(),this.popState(),75;case 10:return t.yytext=t.yytext.trim(),71;case 11:return t.yytext=t.yytext.trim(),this.begin(`ALIAS`),71;case 12:return this.begin(`LINE`),14;case 13:return this.begin(`ID`),50;case 14:return this.begin(`ID`),52;case 15:return 13;case 16:return this.begin(`ID`),53;case 17:return t.yytext=t.yytext.trim(),this.begin(`ALIAS`),71;case 18:return this.popState(),this.popState(),this.begin(`LINE`),51;case 19:return this.popState(),this.popState(),5;case 20:return this.begin(`LINE`),36;case 21:return this.begin(`LINE`),37;case 22:return this.begin(`LINE`),38;case 23:return this.begin(`LINE`),39;case 24:return this.begin(`LINE`),49;case 25:return this.begin(`LINE`),41;case 26:return this.begin(`LINE`),43;case 27:return this.begin(`LINE`),48;case 28:return this.begin(`LINE`),44;case 29:return this.begin(`LINE`),47;case 30:return this.begin(`LINE`),46;case 31:return this.popState(),15;case 32:return 16;case 33:return 66;case 34:return 67;case 35:return 60;case 36:return 61;case 37:return 62;case 38:return 63;case 39:return 58;case 40:return 55;case 41:return this.begin(`ID`),21;case 42:return this.begin(`ID`),23;case 43:return 29;case 44:return 30;case 45:return this.begin(`acc_title`),31;case 46:return this.popState(),`acc_title_value`;case 47:return this.begin(`acc_descr`),33;case 48:return this.popState(),`acc_descr_value`;case 49:this.begin(`acc_descr_multiline`);break;case 50:this.popState();break;case 51:return`acc_descr_multiline_value`;case 52:return 6;case 53:return 18;case 54:return 20;case 55:return 65;case 56:return 5;case 57:return t.yytext=t.yytext.trim(),71;case 58:return 78;case 59:return 79;case 60:return 80;case 61:return 81;case 62:return 76;case 63:return 77;case 64:return 82;case 65:return 83;case 66:return 84;case 67:return 85;case 68:return 86;case 69:return 86;case 70:return 69;case 71:return 70;case 72:return 5;case 73:return`INVALID`}},`anonymous`),rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:@\{)/i,/^(?:[^\}]+)/i,/^(?:\})/i,/^(?:[^\<->\->:\n,;@\s]+(?=@\{))/i,/^(?:[^\<->\->:\n,;@]+?([\-]*[^\<->\->:\n,;@]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:[^<\->\->:\n,;]+?([\-]*[^<\->\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^+<\->\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+<\->\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:<<->>)/i,/^(?:-->>)/i,/^(?:<<-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]*)/i,/^(?::)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[50,51],inclusive:!1},acc_descr:{rules:[48],inclusive:!1},acc_title:{rules:[46],inclusive:!1},ID:{rules:[2,3,7,10,11,17],inclusive:!1},ALIAS:{rules:[2,3,18,19],inclusive:!1},LINE:{rules:[2,3,31],inclusive:!1},CONFIG:{rules:[8,9],inclusive:!1},CONFIG_DATA:{rules:[],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,12,13,14,15,16,20,21,22,23,24,25,26,27,28,29,30,32,33,34,35,36,37,38,39,40,41,42,43,44,45,47,49,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73],inclusive:!0}}}})();function U(){this.yy={}}return i(U,`Parser`),U.prototype=H,H.Parser=U,new U})();F.parser=F;var I=F,L={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32,BIDIRECTIONAL_SOLID:33,BIDIRECTIONAL_DOTTED:34},R={FILLED:0,OPEN:1},ee={LEFTOF:0,RIGHTOF:1,OVER:2},z={ACTOR:`actor`,BOUNDARY:`boundary`,COLLECTIONS:`collections`,CONTROL:`control`,DATABASE:`database`,ENTITY:`entity`,PARTICIPANT:`participant`,QUEUE:`queue`},te=class{constructor(){this.state=new N(()=>({prevActor:void 0,actors:new Map,createdActors:new Map,destroyedActors:new Map,boxes:[],messages:[],notes:[],sequenceNumbersEnabled:!1,wrapEnabled:void 0,currentBox:void 0,lastCreated:void 0,lastDestroyed:void 0})),this.setAccTitle=o,this.setAccDescription=C,this.setDiagramTitle=p,this.getAccTitle=x,this.getAccDescription=m,this.getDiagramTitle=s,this.apply=this.apply.bind(this),this.parseBoxData=this.parseBoxData.bind(this),this.parseMessage=this.parseMessage.bind(this),this.clear(),this.setWrap(g().wrap),this.LINETYPE=L,this.ARROWTYPE=R,this.PLACEMENT=ee}static{i(this,`SequenceDB`)}addBox(e){this.state.records.boxes.push({name:e.text,wrap:e.wrap??this.autoWrap(),fill:e.color,actorKeys:[]}),this.state.records.currentBox=this.state.records.boxes.slice(-1)[0]}addActor(e,t,n,r,i){let a=this.state.records.currentBox,o;if(i!==void 0){let e;e=i.includes(`
7
- `)?i+`
8
- `:`{
9
- `+i+`
10
- }`,o=j(e,{schema:M})}r=o?.type??r;let s=this.state.records.actors.get(e);if(s){if(this.state.records.currentBox&&s.box&&this.state.records.currentBox!==s.box)throw Error(`A same participant should only be defined in one Box: ${s.name} can't be in '${s.box.name}' and in '${this.state.records.currentBox.name}' at the same time.`);if(a=s.box?s.box:this.state.records.currentBox,s.box=a,s&&t===s.name&&n==null)return}if(n?.text??(n={text:t,type:r}),(r==null||n.text==null)&&(n={text:t,type:r}),this.state.records.actors.set(e,{box:a,name:t,description:n.text,wrap:n.wrap??this.autoWrap(),prevActor:this.state.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:r??`participant`}),this.state.records.prevActor){let t=this.state.records.actors.get(this.state.records.prevActor);t&&(t.nextActor=e)}this.state.records.currentBox&&this.state.records.currentBox.actorKeys.push(e),this.state.records.prevActor=e}activationCount(e){let t,n=0;if(!e)return 0;for(t=0;t<this.state.records.messages.length;t++)this.state.records.messages[t].type===this.LINETYPE.ACTIVE_START&&this.state.records.messages[t].from===e&&n++,this.state.records.messages[t].type===this.LINETYPE.ACTIVE_END&&this.state.records.messages[t].from===e&&n--;return n}addMessage(e,t,n,r){this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:e,to:t,message:n.text,wrap:n.wrap??this.autoWrap(),answer:r})}addSignal(e,t,n,r,i=!1){if(r===this.LINETYPE.ACTIVE_END&&this.activationCount(e??``)<1){let t=Error(`Trying to inactivate an inactive participant (`+e+`)`);throw t.hash={text:`->>-`,token:`->>-`,line:`1`,loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:[`'ACTIVE_PARTICIPANT'`]},t}return this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:e,to:t,message:n?.text??``,wrap:n?.wrap??this.autoWrap(),type:r,activate:i}),!0}hasAtLeastOneBox(){return this.state.records.boxes.length>0}hasAtLeastOneBoxWithTitle(){return this.state.records.boxes.some(e=>e.name)}getMessages(){return this.state.records.messages}getBoxes(){return this.state.records.boxes}getActors(){return this.state.records.actors}getCreatedActors(){return this.state.records.createdActors}getDestroyedActors(){return this.state.records.destroyedActors}getActor(e){return this.state.records.actors.get(e)}getActorKeys(){return[...this.state.records.actors.keys()]}enableSequenceNumbers(){this.state.records.sequenceNumbersEnabled=!0}disableSequenceNumbers(){this.state.records.sequenceNumbersEnabled=!1}showSequenceNumbers(){return this.state.records.sequenceNumbersEnabled}setWrap(e){this.state.records.wrapEnabled=e}extractWrap(e){if(e===void 0)return{};e=e.trim();let t=/^:?wrap:/.exec(e)===null?/^:?nowrap:/.exec(e)===null?void 0:!1:!0;return{cleanedText:(t===void 0?e:e.replace(/^:?(?:no)?wrap:/,``)).trim(),wrap:t}}autoWrap(){return this.state.records.wrapEnabled===void 0?g().sequence?.wrap??!1:this.state.records.wrapEnabled}clear(){this.state.reset(),h()}parseMessage(e){let t=e.trim(),{wrap:n,cleanedText:i}=this.extractWrap(t),a={text:i,wrap:n};return r.debug(`parseMessage: ${JSON.stringify(a)}`),a}parseBoxData(e){let t=/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/.exec(e),n=t?.[1]?t[1].trim():`transparent`,r=t?.[2]?t[2].trim():void 0;if(window?.CSS)window.CSS.supports(`color`,n)||(n=`transparent`,r=e.trim());else{let t=new Option().style;t.color=n,t.color!==n&&(n=`transparent`,r=e.trim())}let{wrap:i,cleanedText:a}=this.extractWrap(r);return{text:a?u(a,g()):void 0,color:n,wrap:i}}addNote(e,t,n){let r={actor:e,placement:t,message:n.text,wrap:n.wrap??this.autoWrap()},i=[].concat(e,e);this.state.records.notes.push(r),this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:i[0],to:i[1],message:n.text,wrap:n.wrap??this.autoWrap(),type:this.LINETYPE.NOTE,placement:t})}addLinks(e,t){let n=this.getActor(e);try{let e=u(t.text,g());e=e.replace(/&equals;/g,`=`),e=e.replace(/&amp;/g,`&`);let r=JSON.parse(e);this.insertLinks(n,r)}catch(e){r.error(`error while parsing actor link text`,e)}}addALink(e,t){let n=this.getActor(e);try{let e={},r=u(t.text,g()),i=r.indexOf(`@`);r=r.replace(/&equals;/g,`=`),r=r.replace(/&amp;/g,`&`);let a=r.slice(0,i-1).trim();e[a]=r.slice(i+1).trim(),this.insertLinks(n,e)}catch(e){r.error(`error while parsing actor link text`,e)}}insertLinks(e,t){if(e.links==null)e.links=t;else for(let n in t)e.links[n]=t[n]}addProperties(e,t){let n=this.getActor(e);try{let e=u(t.text,g()),r=JSON.parse(e);this.insertProperties(n,r)}catch(e){r.error(`error while parsing actor properties text`,e)}}insertProperties(e,t){if(e.properties==null)e.properties=t;else for(let n in t)e.properties[n]=t[n]}boxEnd(){this.state.records.currentBox=void 0}addDetails(e,t){let n=this.getActor(e),i=document.getElementById(t.text);try{let e=i.innerHTML,t=JSON.parse(e);t.properties&&this.insertProperties(n,t.properties),t.links&&this.insertLinks(n,t.links)}catch(e){r.error(`error while parsing actor details text`,e)}}getActorProperty(e,t){if(e?.properties!==void 0)return e.properties[t]}apply(e){if(Array.isArray(e))e.forEach(e=>{this.apply(e)});else switch(e.type){case`sequenceIndex`:this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:void 0,to:void 0,message:{start:e.sequenceIndex,step:e.sequenceIndexStep,visible:e.sequenceVisible},wrap:!1,type:e.signalType});break;case`addParticipant`:this.addActor(e.actor,e.actor,e.description,e.draw,e.config);break;case`createParticipant`:if(this.state.records.actors.has(e.actor))throw Error(`It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior`);this.state.records.lastCreated=e.actor,this.addActor(e.actor,e.actor,e.description,e.draw,e.config),this.state.records.createdActors.set(e.actor,this.state.records.messages.length);break;case`destroyParticipant`:this.state.records.lastDestroyed=e.actor,this.state.records.destroyedActors.set(e.actor,this.state.records.messages.length);break;case`activeStart`:this.addSignal(e.actor,void 0,void 0,e.signalType);break;case`activeEnd`:this.addSignal(e.actor,void 0,void 0,e.signalType);break;case`addNote`:this.addNote(e.actor,e.placement,e.text);break;case`addLinks`:this.addLinks(e.actor,e.text);break;case`addALink`:this.addALink(e.actor,e.text);break;case`addProperties`:this.addProperties(e.actor,e.text);break;case`addDetails`:this.addDetails(e.actor,e.text);break;case`addMessage`:if(this.state.records.lastCreated){if(e.to!==this.state.records.lastCreated)throw Error(`The created participant `+this.state.records.lastCreated.name+` does not have an associated creating message after its declaration. Please check the sequence diagram.`);this.state.records.lastCreated=void 0}else if(this.state.records.lastDestroyed){if(e.to!==this.state.records.lastDestroyed&&e.from!==this.state.records.lastDestroyed)throw Error(`The destroyed participant `+this.state.records.lastDestroyed.name+` does not have an associated destroying message after its declaration. Please check the sequence diagram.`);this.state.records.lastDestroyed=void 0}this.addSignal(e.from,e.to,e.msg,e.signalType,e.activate);break;case`boxStart`:this.addBox(e.boxData);break;case`boxEnd`:this.boxEnd();break;case`loopStart`:this.addSignal(void 0,void 0,e.loopText,e.signalType);break;case`loopEnd`:this.addSignal(void 0,void 0,void 0,e.signalType);break;case`rectStart`:this.addSignal(void 0,void 0,e.color,e.signalType);break;case`rectEnd`:this.addSignal(void 0,void 0,void 0,e.signalType);break;case`optStart`:this.addSignal(void 0,void 0,e.optText,e.signalType);break;case`optEnd`:this.addSignal(void 0,void 0,void 0,e.signalType);break;case`altStart`:this.addSignal(void 0,void 0,e.altText,e.signalType);break;case`else`:this.addSignal(void 0,void 0,e.altText,e.signalType);break;case`altEnd`:this.addSignal(void 0,void 0,void 0,e.signalType);break;case`setAccTitle`:o(e.text);break;case`parStart`:this.addSignal(void 0,void 0,e.parText,e.signalType);break;case`and`:this.addSignal(void 0,void 0,e.parText,e.signalType);break;case`parEnd`:this.addSignal(void 0,void 0,void 0,e.signalType);break;case`criticalStart`:this.addSignal(void 0,void 0,e.criticalText,e.signalType);break;case`option`:this.addSignal(void 0,void 0,e.optionText,e.signalType);break;case`criticalEnd`:this.addSignal(void 0,void 0,void 0,e.signalType);break;case`breakStart`:this.addSignal(void 0,void 0,e.breakText,e.signalType);break;case`breakEnd`:this.addSignal(void 0,void 0,void 0,e.signalType);break}}getConfig(){return g().sequence}},B=i(e=>`.actor {
11
- stroke: ${e.actorBorder};
12
- fill: ${e.actorBkg};
13
- }
14
-
15
- text.actor > tspan {
16
- fill: ${e.actorTextColor};
17
- stroke: none;
18
- }
19
-
20
- .actor-line {
21
- stroke: ${e.actorLineColor};
22
- }
23
-
24
- .innerArc {
25
- stroke-width: 1.5;
26
- stroke-dasharray: none;
27
- }
28
-
29
- .messageLine0 {
30
- stroke-width: 1.5;
31
- stroke-dasharray: none;
32
- stroke: ${e.signalColor};
33
- }
34
-
35
- .messageLine1 {
36
- stroke-width: 1.5;
37
- stroke-dasharray: 2, 2;
38
- stroke: ${e.signalColor};
39
- }
40
-
41
- #arrowhead path {
42
- fill: ${e.signalColor};
43
- stroke: ${e.signalColor};
44
- }
45
-
46
- .sequenceNumber {
47
- fill: ${e.sequenceNumberColor};
48
- }
49
-
50
- #sequencenumber {
51
- fill: ${e.signalColor};
52
- }
53
-
54
- #crosshead path {
55
- fill: ${e.signalColor};
56
- stroke: ${e.signalColor};
57
- }
58
-
59
- .messageText {
60
- fill: ${e.signalTextColor};
61
- stroke: none;
62
- }
63
-
64
- .labelBox {
65
- stroke: ${e.labelBoxBorderColor};
66
- fill: ${e.labelBoxBkgColor};
67
- }
68
-
69
- .labelText, .labelText > tspan {
70
- fill: ${e.labelTextColor};
71
- stroke: none;
72
- }
73
-
74
- .loopText, .loopText > tspan {
75
- fill: ${e.loopTextColor};
76
- stroke: none;
77
- }
78
-
79
- .loopLine {
80
- stroke-width: 2px;
81
- stroke-dasharray: 2, 2;
82
- stroke: ${e.labelBoxBorderColor};
83
- fill: ${e.labelBoxBorderColor};
84
- }
85
-
86
- .note {
87
- //stroke: #decc93;
88
- stroke: ${e.noteBorderColor};
89
- fill: ${e.noteBkgColor};
90
- }
91
-
92
- .noteText, .noteText > tspan {
93
- fill: ${e.noteTextColor};
94
- stroke: none;
95
- }
96
-
97
- .activation0 {
98
- fill: ${e.activationBkgColor};
99
- stroke: ${e.activationBorderColor};
100
- }
101
-
102
- .activation1 {
103
- fill: ${e.activationBkgColor};
104
- stroke: ${e.activationBorderColor};
105
- }
106
-
107
- .activation2 {
108
- fill: ${e.activationBkgColor};
109
- stroke: ${e.activationBorderColor};
110
- }
111
-
112
- .actorPopupMenu {
113
- position: absolute;
114
- }
115
-
116
- .actorPopupMenuPanel {
117
- position: absolute;
118
- fill: ${e.actorBkg};
119
- box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
120
- filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));
121
- }
122
- .actor-man line {
123
- stroke: ${e.actorBorder};
124
- fill: ${e.actorBkg};
125
- }
126
- .actor-man circle, line {
127
- stroke: ${e.actorBorder};
128
- fill: ${e.actorBkg};
129
- stroke-width: 2px;
130
- }
131
-
132
- `,`getStyles`),V=36,H=`actor-top`,U=`actor-bottom`,ne=`actor-box`,W=`actor-man`,re=i(function(e,t){return T(e,t)},`drawRect`),ie=i(function(e,t,n,r,i){if(t.links===void 0||t.links===null||Object.keys(t.links).length===0)return{height:0,width:0};let a=t.links,o=t.actorCnt,s=t.rectData;var c=`none`;i&&(c=`block !important`);let l=e.append(`g`);l.attr(`id`,`actor`+o+`_popup`),l.attr(`class`,`actorPopupMenu`),l.attr(`display`,c);var u=``;s.class!==void 0&&(u=` `+s.class);let d=s.width>n?s.width:n,f=l.append(`rect`);if(f.attr(`class`,`actorPopupMenuPanel`+u),f.attr(`x`,s.x),f.attr(`y`,s.height),f.attr(`fill`,s.fill),f.attr(`stroke`,s.stroke),f.attr(`width`,d),f.attr(`height`,s.height),f.attr(`rx`,s.rx),f.attr(`ry`,s.ry),a!=null){var p=20;for(let e in a){var m=l.append(`a`),h=(0,P.sanitizeUrl)(a[e]);m.attr(`xlink:href`,h),m.attr(`target`,`_blank`),Me(r)(e,m,s.x+10,s.height+p,d,20,{class:`actor`},r),p+=30}}return f.attr(`height`,p),{height:s.height+p,width:d}},`drawPopup`),ae=i(function(e){return`var pu = document.getElementById('`+e+`'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }`},`popupMenuToggle`),oe=i(async function(e,t,n=null){let r=e.append(`foreignObject`),i=await d(t.text,S()),a=r.append(`xhtml:div`).attr(`style`,`width: fit-content;`).attr(`xmlns`,`http://www.w3.org/1999/xhtml`).html(i).node().getBoundingClientRect();if(r.attr(`height`,Math.round(a.height)).attr(`width`,Math.round(a.width)),t.class===`noteText`){let n=e.node().firstChild;n.setAttribute(`height`,a.height+2*t.textMargin);let i=n.getBBox();r.attr(`x`,Math.round(i.x+i.width/2-a.width/2)).attr(`y`,Math.round(i.y+i.height/2-a.height/2))}else if(n){let{startx:e,stopx:i,starty:o}=n;if(e>i){let t=e;e=i,i=t}r.attr(`x`,Math.round(e+Math.abs(e-i)/2-a.width/2)),t.class===`loopText`?r.attr(`y`,Math.round(o)):r.attr(`y`,Math.round(o-a.height))}return[r]},`drawKatex`),G=i(function(e,r){let a=0,o=0,s=r.text.split(b.lineBreakRegex),[c,l]=t(r.fontSize),u=[],d=0,f=i(()=>r.y,`yfunc`);if(r.valign!==void 0&&r.textMargin!==void 0&&r.textMargin>0)switch(r.valign){case`top`:case`start`:f=i(()=>Math.round(r.y+r.textMargin),`yfunc`);break;case`middle`:case`center`:f=i(()=>Math.round(r.y+(a+o+r.textMargin)/2),`yfunc`);break;case`bottom`:case`end`:f=i(()=>Math.round(r.y+(a+o+2*r.textMargin)-r.textMargin),`yfunc`);break}if(r.anchor!==void 0&&r.textMargin!==void 0&&r.width!==void 0)switch(r.anchor){case`left`:case`start`:r.x=Math.round(r.x+r.textMargin),r.anchor=`start`,r.dominantBaseline=`middle`,r.alignmentBaseline=`middle`;break;case`middle`:case`center`:r.x=Math.round(r.x+r.width/2),r.anchor=`middle`,r.dominantBaseline=`middle`,r.alignmentBaseline=`middle`;break;case`right`:case`end`:r.x=Math.round(r.x+r.width-r.textMargin),r.anchor=`end`,r.dominantBaseline=`middle`,r.alignmentBaseline=`middle`;break}for(let[t,i]of s.entries()){r.textMargin!==void 0&&r.textMargin===0&&c!==void 0&&(d=t*c);let s=e.append(`text`);s.attr(`x`,r.x),s.attr(`y`,f()),r.anchor!==void 0&&s.attr(`text-anchor`,r.anchor).attr(`dominant-baseline`,r.dominantBaseline).attr(`alignment-baseline`,r.alignmentBaseline),r.fontFamily!==void 0&&s.style(`font-family`,r.fontFamily),l!==void 0&&s.style(`font-size`,l),r.fontWeight!==void 0&&s.style(`font-weight`,r.fontWeight),r.fill!==void 0&&s.attr(`fill`,r.fill),r.class!==void 0&&s.attr(`class`,r.class),r.dy===void 0?d!==0&&s.attr(`dy`,d):s.attr(`dy`,r.dy);let p=i||n;if(r.tspan){let e=s.append(`tspan`);e.attr(`x`,r.x),r.fill!==void 0&&e.attr(`fill`,r.fill),e.text(p)}else s.text(p);r.valign!==void 0&&r.textMargin!==void 0&&r.textMargin>0&&(o+=(s._groups||s)[0][0].getBBox().height,a=o),u.push(s)}return u},`drawText`),se=i(function(e,t){function n(e,t,n,r,i){return e+`,`+t+` `+(e+n)+`,`+t+` `+(e+n)+`,`+(t+r-i)+` `+(e+n-i*1.2)+`,`+(t+r)+` `+e+`,`+(t+r)}i(n,`genPoints`);let r=e.append(`polygon`);return r.attr(`points`,n(t.x,t.y,t.width,t.height,7)),r.attr(`class`,`labelBox`),t.y+=t.height/2,G(e,t),r},`drawLabel`),K=-1,ce=i((e,t,n,r)=>{e.select&&n.forEach(n=>{let i=t.get(n),a=e.select(`#actor`+i.actorCnt);!r.mirrorActors&&i.stopy?a.attr(`y2`,i.stopy+i.height/2):r.mirrorActors&&a.attr(`y2`,i.stopy)})},`fixLifeLineHeights`),le=i(function(e,t,n,r){let i=r?t.stopy:t.starty,a=t.x+t.width/2,o=i+t.height,s=e.append(`g`).lower();var c=s;r||(K++,Object.keys(t.links||{}).length&&!n.forceMenus&&c.attr(`onclick`,ae(`actor${K}_popup`)).attr(`cursor`,`pointer`),c.append(`line`).attr(`id`,`actor`+K).attr(`x1`,a).attr(`y1`,o).attr(`x2`,a).attr(`y2`,2e3).attr(`class`,`actor-line 200`).attr(`stroke-width`,`0.5px`).attr(`stroke`,`#999`).attr(`name`,t.name),c=s.append(`g`),t.actorCnt=K,t.links!=null&&c.attr(`id`,`root-`+K));let l=D();var u=`actor`;t.properties?.class?u=t.properties.class:l.fill=`#eaeaea`,r?u+=` ${U}`:u+=` ${H}`,l.x=t.x,l.y=i,l.width=t.width,l.height=t.height,l.class=u,l.rx=3,l.ry=3,l.name=t.name;let d=re(c,l);if(t.rectData=l,t.properties?.icon){let e=t.properties.icon.trim();e.charAt(0)===`@`?E(c,l.x+l.width-20,l.y+10,e.substr(1)):O(c,l.x+l.width-20,l.y+10,e)}q(n,f(t.description))(t.description,c,l.x,l.y,l.width,l.height,{class:`actor ${ne}`},n);let p=t.height;if(d.node){let e=d.node().getBBox();t.height=e.height,p=e.height}return p},`drawActorTypeParticipant`),ue=i(function(e,t,n,r){let i=r?t.stopy:t.starty,a=t.x+t.width/2,o=i+t.height,s=e.append(`g`).lower();var c=s;r||(K++,Object.keys(t.links||{}).length&&!n.forceMenus&&c.attr(`onclick`,ae(`actor${K}_popup`)).attr(`cursor`,`pointer`),c.append(`line`).attr(`id`,`actor`+K).attr(`x1`,a).attr(`y1`,o).attr(`x2`,a).attr(`y2`,2e3).attr(`class`,`actor-line 200`).attr(`stroke-width`,`0.5px`).attr(`stroke`,`#999`).attr(`name`,t.name),c=s.append(`g`),t.actorCnt=K,t.links!=null&&c.attr(`id`,`root-`+K));let l=D();var u=`actor`;t.properties?.class?u=t.properties.class:l.fill=`#eaeaea`,r?u+=` ${U}`:u+=` ${H}`,l.x=t.x,l.y=i,l.width=t.width,l.height=t.height,l.class=u,l.name=t.name;let d={...l,x:l.x+-6,y:l.y+6,class:`actor`},p=re(c,l);if(re(c,d),t.rectData=l,t.properties?.icon){let e=t.properties.icon.trim();e.charAt(0)===`@`?E(c,l.x+l.width-20,l.y+10,e.substr(1)):O(c,l.x+l.width-20,l.y+10,e)}q(n,f(t.description))(t.description,c,l.x-6,l.y+6,l.width,l.height,{class:`actor ${ne}`},n);let m=t.height;if(p.node){let e=p.node().getBBox();t.height=e.height,m=e.height}return m},`drawActorTypeCollections`),de=i(function(e,t,n,r){let i=r?t.stopy:t.starty,a=t.x+t.width/2,o=i+t.height,s=e.append(`g`).lower(),c=s;r||(K++,Object.keys(t.links||{}).length&&!n.forceMenus&&c.attr(`onclick`,ae(`actor${K}_popup`)).attr(`cursor`,`pointer`),c.append(`line`).attr(`id`,`actor`+K).attr(`x1`,a).attr(`y1`,o).attr(`x2`,a).attr(`y2`,2e3).attr(`class`,`actor-line 200`).attr(`stroke-width`,`0.5px`).attr(`stroke`,`#999`).attr(`name`,t.name),c=s.append(`g`),t.actorCnt=K,t.links!=null&&c.attr(`id`,`root-`+K));let l=D(),u=`actor`;t.properties?.class?u=t.properties.class:l.fill=`#eaeaea`,r?u+=` ${U}`:u+=` ${H}`,l.x=t.x,l.y=i,l.width=t.width,l.height=t.height,l.class=u,l.name=t.name;let d=l.height/2,p=d/(2.5+l.height/50),m=c.append(`g`),h=c.append(`g`);if(m.append(`path`).attr(`d`,`M ${l.x},${l.y+d}
133
- a ${p},${d} 0 0 0 0,${l.height}
134
- h ${l.width-2*p}
135
- a ${p},${d} 0 0 0 0,-${l.height}
136
- Z
137
- `).attr(`class`,u),h.append(`path`).attr(`d`,`M ${l.x},${l.y+d}
138
- a ${p},${d} 0 0 0 0,${l.height}`).attr(`stroke`,`#666`).attr(`stroke-width`,`1px`).attr(`class`,u),m.attr(`transform`,`translate(${p}, ${-(l.height/2)})`),h.attr(`transform`,`translate(${l.width-p}, ${-l.height/2})`),t.rectData=l,t.properties?.icon){let e=t.properties.icon.trim(),n=l.x+l.width-20,r=l.y+10;e.charAt(0)===`@`?E(c,n,r,e.substr(1)):O(c,n,r,e)}q(n,f(t.description))(t.description,c,l.x,l.y,l.width,l.height,{class:`actor ${ne}`},n);let g=t.height,_=m.select(`path:last-child`);if(_.node()){let e=_.node().getBBox();t.height=e.height,g=e.height}return g},`drawActorTypeQueue`),fe=i(function(e,t,n,r){let i=r?t.stopy:t.starty,a=t.x+t.width/2,o=i+75,s=e.append(`g`).lower();r||(K++,s.append(`line`).attr(`id`,`actor`+K).attr(`x1`,a).attr(`y1`,o).attr(`x2`,a).attr(`y2`,2e3).attr(`class`,`actor-line 200`).attr(`stroke-width`,`0.5px`).attr(`stroke`,`#999`).attr(`name`,t.name),t.actorCnt=K);let c=e.append(`g`),l=W;r?l+=` ${U}`:l+=` ${H}`,c.attr(`class`,l),c.attr(`name`,t.name);let u=D();u.x=t.x,u.y=i,u.fill=`#eaeaea`,u.width=t.width,u.height=t.height,u.class=`actor`;let d=t.x+t.width/2,p=i+30;return c.append(`defs`).append(`marker`).attr(`id`,`filled-head-control`).attr(`refX`,11).attr(`refY`,5.8).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`172.5`).append(`path`).attr(`d`,`M 14.4 5.6 L 7.2 10.4 L 8.8 5.6 L 7.2 0.8 Z`),c.append(`circle`).attr(`cx`,d).attr(`cy`,p).attr(`r`,18).attr(`fill`,`#eaeaf7`).attr(`stroke`,`#666`).attr(`stroke-width`,1.2),c.append(`line`).attr(`marker-end`,`url(#filled-head-control)`).attr(`transform`,`translate(${d}, ${p-18})`),t.height=c.node().getBBox().height+2*(n?.sequence?.labelBoxHeight??0),q(n,f(t.description))(t.description,c,u.x,u.y+18+(r?5:10),u.width,u.height,{class:`actor ${W}`},n),t.height},`drawActorTypeControl`),pe=i(function(e,t,n,r){let i=r?t.stopy:t.starty,a=t.x+t.width/2,o=i+75,s=e.append(`g`).lower(),c=e.append(`g`),l=W;r?l+=` ${U}`:l+=` ${H}`,c.attr(`class`,l),c.attr(`name`,t.name);let u=D();u.x=t.x,u.y=i,u.fill=`#eaeaea`,u.width=t.width,u.height=t.height,u.class=`actor`;let d=t.x+t.width/2,p=i+(r?10:25);return c.append(`circle`).attr(`cx`,d).attr(`cy`,p).attr(`r`,18).attr(`width`,t.width).attr(`height`,t.height),c.append(`line`).attr(`x1`,d-18).attr(`x2`,d+18).attr(`y1`,p+18).attr(`y2`,p+18).attr(`stroke`,`#333`).attr(`stroke-width`,2),t.height=c.node().getBBox().height+(n?.sequence?.labelBoxHeight??0),r||(K++,s.append(`line`).attr(`id`,`actor`+K).attr(`x1`,a).attr(`y1`,o).attr(`x2`,a).attr(`y2`,2e3).attr(`class`,`actor-line 200`).attr(`stroke-width`,`0.5px`).attr(`stroke`,`#999`).attr(`name`,t.name),t.actorCnt=K),q(n,f(t.description))(t.description,c,u.x,u.y+(r?(p-i+18-5)/2:(p+18-i)/2),u.width,u.height,{class:`actor ${W}`},n),c.attr(`transform`,`translate(0, ${18/2})`),t.height},`drawActorTypeEntity`),me=i(function(e,t,n,r){let i=r?t.stopy:t.starty,a=t.x+t.width/2,o=i+t.height+2*n.boxTextMargin,s=e.append(`g`).lower(),c=s;r||(K++,Object.keys(t.links||{}).length&&!n.forceMenus&&c.attr(`onclick`,ae(`actor${K}_popup`)).attr(`cursor`,`pointer`),c.append(`line`).attr(`id`,`actor`+K).attr(`x1`,a).attr(`y1`,o).attr(`x2`,a).attr(`y2`,2e3).attr(`class`,`actor-line 200`).attr(`stroke-width`,`0.5px`).attr(`stroke`,`#999`).attr(`name`,t.name),c=s.append(`g`),t.actorCnt=K,t.links!=null&&c.attr(`id`,`root-`+K));let l=D(),u=`actor`;t.properties?.class?u=t.properties.class:l.fill=`#eaeaea`,r?u+=` ${U}`:u+=` ${H}`,l.x=t.x,l.y=i,l.width=t.width,l.height=t.height,l.class=u,l.name=t.name,l.x=t.x,l.y=i;let d=l.width/4,p=l.width/4,m=d/2,h=m/(2.5+d/50),g=c.append(`g`),_=`
139
- M ${l.x},${l.y+h}
140
- a ${m},${h} 0 0 0 ${d},0
141
- a ${m},${h} 0 0 0 -${d},0
142
- l 0,${p-2*h}
143
- a ${m},${h} 0 0 0 ${d},0
144
- l 0,-${p-2*h}
145
- `;g.append(`path`).attr(`d`,_).attr(`fill`,`#eaeaea`).attr(`stroke`,`#000`).attr(`stroke-width`,1).attr(`class`,u),r?g.attr(`transform`,`translate(${d*1.5}, ${l.height/4-2*h})`):g.attr(`transform`,`translate(${d*1.5}, ${(l.height+h)/4})`),t.rectData=l,q(n,f(t.description))(t.description,c,l.x,l.y+(r?(l.height+p)/4:(l.height+h)/2),l.width,l.height,{class:`actor ${ne}`},n);let v=g.select(`path:last-child`);return v.node()&&(t.height=v.node().getBBox().height+(n.sequence.labelBoxHeight??0)),t.height},`drawActorTypeDatabase`),he=i(function(e,t,n,r){let i=r?t.stopy:t.starty,a=t.x+t.width/2,o=i+80,s=e.append(`g`).lower();r||(K++,s.append(`line`).attr(`id`,`actor`+K).attr(`x1`,a).attr(`y1`,o).attr(`x2`,a).attr(`y2`,2e3).attr(`class`,`actor-line 200`).attr(`stroke-width`,`0.5px`).attr(`stroke`,`#999`).attr(`name`,t.name),t.actorCnt=K);let c=e.append(`g`),l=W;r?l+=` ${U}`:l+=` ${H}`,c.attr(`class`,l),c.attr(`name`,t.name);let u=D();return u.x=t.x,u.y=i,u.fill=`#eaeaea`,u.width=t.width,u.height=t.height,u.class=`actor`,c.append(`line`).attr(`id`,`actor-man-torso`+K).attr(`x1`,t.x+t.width/2-30*2.5).attr(`y1`,i+10).attr(`x2`,t.x+t.width/2-15).attr(`y2`,i+10),c.append(`line`).attr(`id`,`actor-man-arms`+K).attr(`x1`,t.x+t.width/2-30*2.5).attr(`y1`,i+0).attr(`x2`,t.x+t.width/2-30*2.5).attr(`y2`,i+20),c.append(`circle`).attr(`cx`,t.x+t.width/2).attr(`cy`,i+10).attr(`r`,30),t.height=c.node().getBBox().height+(n.sequence.labelBoxHeight??0),q(n,f(t.description))(t.description,c,u.x,u.y+(r?30/2-4:18),u.width,u.height,{class:`actor ${W}`},n),c.attr(`transform`,`translate(0,22)`),t.height},`drawActorTypeBoundary`),ge=i(function(e,t,n,r){let i=r?t.stopy:t.starty,a=t.x+t.width/2,o=i+80,s=e.append(`g`).lower();r||(K++,s.append(`line`).attr(`id`,`actor`+K).attr(`x1`,a).attr(`y1`,o).attr(`x2`,a).attr(`y2`,2e3).attr(`class`,`actor-line 200`).attr(`stroke-width`,`0.5px`).attr(`stroke`,`#999`).attr(`name`,t.name),t.actorCnt=K);let c=e.append(`g`),l=W;r?l+=` ${U}`:l+=` ${H}`,c.attr(`class`,l),c.attr(`name`,t.name);let u=D();u.x=t.x,u.y=i,u.fill=`#eaeaea`,u.width=t.width,u.height=t.height,u.class=`actor`,u.rx=3,u.ry=3,c.append(`line`).attr(`id`,`actor-man-torso`+K).attr(`x1`,a).attr(`y1`,i+25).attr(`x2`,a).attr(`y2`,i+45),c.append(`line`).attr(`id`,`actor-man-arms`+K).attr(`x1`,a-V/2).attr(`y1`,i+33).attr(`x2`,a+V/2).attr(`y2`,i+33),c.append(`line`).attr(`x1`,a-V/2).attr(`y1`,i+60).attr(`x2`,a).attr(`y2`,i+45),c.append(`line`).attr(`x1`,a).attr(`y1`,i+45).attr(`x2`,a+V/2-2).attr(`y2`,i+60);let d=c.append(`circle`);return d.attr(`cx`,t.x+t.width/2),d.attr(`cy`,i+10),d.attr(`r`,15),d.attr(`width`,t.width),d.attr(`height`,t.height),t.height=c.node().getBBox().height,q(n,f(t.description))(t.description,c,u.x,u.y+35,u.width,u.height,{class:`actor ${W}`},n),t.height},`drawActorTypeActor`),_e=i(async function(e,t,n,r){switch(t.type){case`actor`:return await ge(e,t,n,r);case`participant`:return await le(e,t,n,r);case`boundary`:return await he(e,t,n,r);case`control`:return await fe(e,t,n,r);case`entity`:return await pe(e,t,n,r);case`database`:return await me(e,t,n,r);case`collections`:return await ue(e,t,n,r);case`queue`:return await de(e,t,n,r)}},`drawActor`),ve=i(function(e,t,n){let r=e.append(`g`);Se(r,t),t.name&&q(n)(t.name,r,t.x,t.y+n.boxTextMargin+(t.textMaxHeight||0)/2,t.width,0,{class:`text`},n),r.lower()},`drawBox`),ye=i(function(e){return e.append(`g`)},`anchorElement`),be=i(function(e,t,n,r,i){let a=D(),o=t.anchored;a.x=t.startx,a.y=t.starty,a.class=`activation`+i%3,a.width=t.stopx-t.startx,a.height=n-t.starty,re(o,a)},`drawActivation`),xe=i(async function(e,t,n,r){let{boxMargin:a,boxTextMargin:o,labelBoxHeight:s,labelBoxWidth:c,messageFontFamily:l,messageFontSize:u,messageFontWeight:d}=r,p=e.append(`g`),m=i(function(e,t,n,r){return p.append(`line`).attr(`x1`,e).attr(`y1`,t).attr(`x2`,n).attr(`y2`,r).attr(`class`,`loopLine`)},`drawLoopLine`);m(t.startx,t.starty,t.stopx,t.starty),m(t.stopx,t.starty,t.stopx,t.stopy),m(t.startx,t.stopy,t.stopx,t.stopy),m(t.startx,t.starty,t.startx,t.stopy),t.sections!==void 0&&t.sections.forEach(function(e){m(t.startx,e.y,t.stopx,e.y).style(`stroke-dasharray`,`3, 3`)});let h=k();h.text=n,h.x=t.startx,h.y=t.starty,h.fontFamily=l,h.fontSize=u,h.fontWeight=d,h.anchor=`middle`,h.valign=`middle`,h.tspan=!1,h.width=c||50,h.height=s||20,h.textMargin=o,h.class=`labelText`,se(p,h),h=Ae(),h.text=t.title,h.x=t.startx+c/2+(t.stopx-t.startx)/2,h.y=t.starty+a+o,h.anchor=`middle`,h.valign=`middle`,h.textMargin=o,h.class=`loopText`,h.fontFamily=l,h.fontSize=u,h.fontWeight=d,h.wrap=!0;let g=f(h.text)?await oe(p,h,t):G(p,h);if(t.sectionTitles!==void 0){for(let[e,n]of Object.entries(t.sectionTitles))if(n.message){h.text=n.message,h.x=t.startx+(t.stopx-t.startx)/2,h.y=t.sections[e].y+a+o,h.class=`loopText`,h.anchor=`middle`,h.valign=`middle`,h.tspan=!1,h.fontFamily=l,h.fontSize=u,h.fontWeight=d,h.wrap=t.wrap,f(h.text)?(t.starty=t.sections[e].y,await oe(p,h,t)):G(p,h);let r=Math.round(g.map(e=>(e._groups||e)[0][0].getBBox().height).reduce((e,t)=>e+t));t.sections[e].height+=r-(a+o)}}return t.height=Math.round(t.stopy-t.starty),p},`drawLoop`),Se=i(function(e,t){A(e,t)},`drawBackgroundRect`),Ce=i(function(e){e.append(`defs`).append(`symbol`).attr(`id`,`database`).attr(`fill-rule`,`evenodd`).attr(`clip-rule`,`evenodd`).append(`path`).attr(`transform`,`scale(.5)`).attr(`d`,`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`)},`insertDatabaseIcon`),we=i(function(e){e.append(`defs`).append(`symbol`).attr(`id`,`computer`).attr(`width`,`24`).attr(`height`,`24`).append(`path`).attr(`transform`,`scale(.5)`).attr(`d`,`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`)},`insertComputerIcon`),Te=i(function(e){e.append(`defs`).append(`symbol`).attr(`id`,`clock`).attr(`width`,`24`).attr(`height`,`24`).append(`path`).attr(`transform`,`scale(.5)`).attr(`d`,`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`)},`insertClockIcon`),Ee=i(function(e){e.append(`defs`).append(`marker`).attr(`id`,`arrowhead`).attr(`refX`,7.9).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,12).attr(`markerHeight`,12).attr(`orient`,`auto-start-reverse`).append(`path`).attr(`d`,`M -1 0 L 10 5 L 0 10 z`)},`insertArrowHead`),De=i(function(e){e.append(`defs`).append(`marker`).attr(`id`,`filled-head`).attr(`refX`,15.5).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`)},`insertArrowFilledHead`),Oe=i(function(e){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)},`insertSequenceNumber`),ke=i(function(e){e.append(`defs`).append(`marker`).attr(`id`,`crosshead`).attr(`markerWidth`,15).attr(`markerHeight`,8).attr(`orient`,`auto`).attr(`refX`,4).attr(`refY`,4.5).append(`path`).attr(`fill`,`none`).attr(`stroke`,`#000000`).style(`stroke-dasharray`,`0, 0`).attr(`stroke-width`,`1pt`).attr(`d`,`M 1,2 L 6,7 M 6,2 L 1,7`)},`insertArrowCrossHead`),Ae=i(function(){return{x:0,y:0,fill:void 0,anchor:void 0,style:`#666`,width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}},`getTextObj`),je=i(function(){return{x:0,y:0,fill:`#EDF2AE`,stroke:`#666`,width:100,anchor:`start`,height:100,rx:0,ry:0}},`getNoteRect`),q=(function(){function e(e,t,n,r,i,a,s){o(t.append(`text`).attr(`x`,n+i/2).attr(`y`,r+a/2+5).style(`text-anchor`,`middle`).text(e),s)}i(e,`byText`);function n(e,n,r,i,a,s,c,l){let{actorFontSize:u,actorFontFamily:d,actorFontWeight:f}=l,[p,m]=t(u),h=e.split(b.lineBreakRegex);for(let e=0;e<h.length;e++){let t=e*p-p*(h.length-1)/2,l=n.append(`text`).attr(`x`,r+a/2).attr(`y`,i).style(`text-anchor`,`middle`).style(`font-size`,m).style(`font-weight`,f).style(`font-family`,d);l.append(`tspan`).attr(`x`,r+a/2).attr(`dy`,t).text(h[e]),l.attr(`y`,i+s/2).attr(`dominant-baseline`,`central`).attr(`alignment-baseline`,`central`),o(l,c)}}i(n,`byTspan`);function r(e,t,r,i,a,s,c,l){let u=t.append(`switch`),d=u.append(`foreignObject`).attr(`x`,r).attr(`y`,i).attr(`width`,a).attr(`height`,s).append(`xhtml:div`).style(`display`,`table`).style(`height`,`100%`).style(`width`,`100%`);d.append(`div`).style(`display`,`table-cell`).style(`text-align`,`center`).style(`vertical-align`,`middle`).text(e),n(e,u,r,i,a,s,c,l),o(d,c)}i(r,`byFo`);async function a(e,t,r,i,a,s,c,l){let u=await v(e,S()),f=t.append(`switch`),p=f.append(`foreignObject`).attr(`x`,r+a/2-u.width/2).attr(`y`,i+s/2-u.height/2).attr(`width`,u.width).attr(`height`,u.height).append(`xhtml:div`).style(`height`,`100%`).style(`width`,`100%`);p.append(`div`).style(`text-align`,`center`).style(`vertical-align`,`middle`).html(await d(e,S())),n(e,f,r,i,a,s,c,l),o(p,c)}i(a,`byKatex`);function o(e,t){for(let n in t)t.hasOwnProperty(n)&&e.attr(n,t[n])}return i(o,`_setTextAttrs`),function(t,i=!1){return i?a:t.textPlacement===`fo`?r:t.textPlacement===`old`?e:n}})(),Me=(function(){function e(e,t,n,i,a,o,s){r(t.append(`text`).attr(`x`,n).attr(`y`,i).style(`text-anchor`,`start`).text(e),s)}i(e,`byText`);function t(e,t,n,i,a,o,s,c){let{actorFontSize:l,actorFontFamily:u,actorFontWeight:d}=c,f=e.split(b.lineBreakRegex);for(let e=0;e<f.length;e++){let a=e*l-l*(f.length-1)/2,c=t.append(`text`).attr(`x`,n).attr(`y`,i).style(`text-anchor`,`start`).style(`font-size`,l).style(`font-weight`,d).style(`font-family`,u);c.append(`tspan`).attr(`x`,n).attr(`dy`,a).text(f[e]),c.attr(`y`,i+o/2).attr(`dominant-baseline`,`central`).attr(`alignment-baseline`,`central`),r(c,s)}}i(t,`byTspan`);function n(e,n,i,a,o,s,c,l){let u=n.append(`switch`),d=u.append(`foreignObject`).attr(`x`,i).attr(`y`,a).attr(`width`,o).attr(`height`,s).append(`xhtml:div`).style(`display`,`table`).style(`height`,`100%`).style(`width`,`100%`);d.append(`div`).style(`display`,`table-cell`).style(`text-align`,`center`).style(`vertical-align`,`middle`).text(e),t(e,u,i,a,o,s,c,l),r(d,c)}i(n,`byFo`);function r(e,t){for(let n in t)t.hasOwnProperty(n)&&e.attr(n,t[n])}return i(r,`_setTextAttrs`),function(r){return r.textPlacement===`fo`?n:r.textPlacement===`old`?e:t}})(),J={drawRect:re,drawText:G,drawLabel:se,drawActor:_e,drawBox:ve,drawPopup:ie,anchorElement:ye,drawActivation:be,drawLoop:xe,drawBackgroundRect:Se,insertArrowHead:Ee,insertArrowFilledHead:De,insertSequenceNumber:Oe,insertArrowCrossHead:ke,insertDatabaseIcon:Ce,insertComputerIcon:we,insertClockIcon:Te,getTextObj:Ae,getNoteRect:je,fixLifeLineHeights:ce,sanitizeUrl:P.sanitizeUrl},Y={},X={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:i(function(){return Math.max.apply(null,this.actors.length===0?[0]:this.actors.map(e=>e.height||0))+(this.loops.length===0?0:this.loops.map(e=>e.height||0).reduce((e,t)=>e+t))+(this.messages.length===0?0:this.messages.map(e=>e.height||0).reduce((e,t)=>e+t))+(this.notes.length===0?0:this.notes.map(e=>e.height||0).reduce((e,t)=>e+t))},`getHeight`),clear:i(function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},`clear`),addBox:i(function(e){this.boxes.push(e)},`addBox`),addActor:i(function(e){this.actors.push(e)},`addActor`),addLoop:i(function(e){this.loops.push(e)},`addLoop`),addMessage:i(function(e){this.messages.push(e)},`addMessage`),addNote:i(function(e){this.notes.push(e)},`addNote`),lastActor:i(function(){return this.actors[this.actors.length-1]},`lastActor`),lastLoop:i(function(){return this.loops[this.loops.length-1]},`lastLoop`),lastMessage:i(function(){return this.messages[this.messages.length-1]},`lastMessage`),lastNote:i(function(){return this.notes[this.notes.length-1]},`lastNote`),actors:[],boxes:[],loops:[],messages:[],notes:[]},init:i(function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,Be(g())},`init`),updateVal:i(function(e,t,n,r){e[t]===void 0?e[t]=n:e[t]=r(n,e[t])},`updateVal`),updateBounds:i(function(e,t,n,r){let a=this,o=0;function s(s){return i(function(i){o++;let c=a.sequenceItems.length-o+1;a.updateVal(i,`starty`,t-c*Y.boxMargin,Math.min),a.updateVal(i,`stopy`,r+c*Y.boxMargin,Math.max),a.updateVal(X.data,`startx`,e-c*Y.boxMargin,Math.min),a.updateVal(X.data,`stopx`,n+c*Y.boxMargin,Math.max),s!==`activation`&&(a.updateVal(i,`startx`,e-c*Y.boxMargin,Math.min),a.updateVal(i,`stopx`,n+c*Y.boxMargin,Math.max),a.updateVal(X.data,`starty`,t-c*Y.boxMargin,Math.min),a.updateVal(X.data,`stopy`,r+c*Y.boxMargin,Math.max))},`updateItemBounds`)}i(s,`updateFn`),this.sequenceItems.forEach(s()),this.activations.forEach(s(`activation`))},`updateBounds`),insert:i(function(e,t,n,r){let i=b.getMin(e,n),a=b.getMax(e,n),o=b.getMin(t,r),s=b.getMax(t,r);this.updateVal(X.data,`startx`,i,Math.min),this.updateVal(X.data,`starty`,o,Math.min),this.updateVal(X.data,`stopx`,a,Math.max),this.updateVal(X.data,`stopy`,s,Math.max),this.updateBounds(i,o,a,s)},`insert`),newActivation:i(function(e,t,n){let r=n.get(e.from),i=Ve(e.from).length||0,a=r.x+r.width/2+(i-1)*Y.activationWidth/2;this.activations.push({startx:a,starty:this.verticalPos+2,stopx:a+Y.activationWidth,stopy:void 0,actor:e.from,anchored:J.anchorElement(t)})},`newActivation`),endActivation:i(function(e){let t=this.activations.map(function(e){return e.actor}).lastIndexOf(e.from);return this.activations.splice(t,1)[0]},`endActivation`),createLoop:i(function(e={message:void 0,wrap:!1,width:void 0},t){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:e.message,wrap:e.wrap,width:e.width,height:0,fill:t}},`createLoop`),newLoop:i(function(e={message:void 0,wrap:!1,width:void 0},t){this.sequenceItems.push(this.createLoop(e,t))},`newLoop`),endLoop:i(function(){return this.sequenceItems.pop()},`endLoop`),isLoopOverlap:i(function(){return this.sequenceItems.length?this.sequenceItems[this.sequenceItems.length-1].overlap:!1},`isLoopOverlap`),addSectionToLoop:i(function(e){let t=this.sequenceItems.pop();t.sections=t.sections||[],t.sectionTitles=t.sectionTitles||[],t.sections.push({y:X.getVerticalPos(),height:0}),t.sectionTitles.push(e),this.sequenceItems.push(t)},`addSectionToLoop`),saveVerticalPos:i(function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},`saveVerticalPos`),resetVerticalPos:i(function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},`resetVerticalPos`),bumpVerticalPos:i(function(e){this.verticalPos+=e,this.data.stopy=b.getMax(this.data.stopy,this.verticalPos)},`bumpVerticalPos`),getVerticalPos:i(function(){return this.verticalPos},`getVerticalPos`),getBounds:i(function(){return{bounds:this.data,models:this.models}},`getBounds`)},Ne=i(async function(e,t){X.bumpVerticalPos(Y.boxMargin),t.height=Y.boxMargin,t.starty=X.getVerticalPos();let n=D();n.x=t.startx,n.y=t.starty,n.width=t.width||Y.width,n.class=`note`;let r=e.append(`g`),i=J.drawRect(r,n),a=k();a.x=t.startx,a.y=t.starty,a.width=n.width,a.dy=`1em`,a.text=t.message,a.class=`noteText`,a.fontFamily=Y.noteFontFamily,a.fontSize=Y.noteFontSize,a.fontWeight=Y.noteFontWeight,a.anchor=Y.noteAlign,a.textMargin=Y.noteMargin,a.valign=`center`;let o=f(a.text)?await oe(r,a):G(r,a),s=Math.round(o.map(e=>(e._groups||e)[0][0].getBBox().height).reduce((e,t)=>e+t));i.attr(`height`,s+2*Y.noteMargin),t.height+=s+2*Y.noteMargin,X.bumpVerticalPos(s+2*Y.noteMargin),t.stopy=t.starty+s+2*Y.noteMargin,t.stopx=t.startx+n.width,X.insert(t.startx,t.starty,t.stopx,t.stopy),X.models.addNote(t)},`drawNote`),Z=i(e=>({fontFamily:e.messageFontFamily,fontSize:e.messageFontSize,fontWeight:e.messageFontWeight}),`messageFont`),Q=i(e=>({fontFamily:e.noteFontFamily,fontSize:e.noteFontSize,fontWeight:e.noteFontWeight}),`noteFont`),Pe=i(e=>({fontFamily:e.actorFontFamily,fontSize:e.actorFontSize,fontWeight:e.actorFontWeight}),`actorFont`);async function Fe(t,n){X.bumpVerticalPos(10);let{startx:r,stopx:i,message:a}=n,o=b.splitBreaks(a).length,s=f(a),c=s?await v(a,g()):e.calculateTextDimensions(a,Z(Y));if(!s){let e=c.height/o;n.height+=e,X.bumpVerticalPos(e)}let l,u=c.height-10,d=c.width;if(r===i){l=X.getVerticalPos()+u,Y.rightAngles||(u+=Y.boxMargin,l=X.getVerticalPos()+u),u+=30;let e=b.getMax(d/2,Y.width/2);X.insert(r-e,X.getVerticalPos()-10+u,i+e,X.getVerticalPos()+30+u)}else u+=Y.boxMargin,l=X.getVerticalPos()+u,X.insert(r,l-10,i,l);return X.bumpVerticalPos(u),n.height+=u,n.stopy=n.starty+n.height,X.insert(n.fromBounds,n.starty,n.toBounds,n.stopy),l}i(Fe,`boundMessage`);var Ie=i(async function(t,n,r,i){let{startx:a,stopx:o,starty:s,message:l,type:u,sequenceIndex:d,sequenceVisible:p}=n,m=e.calculateTextDimensions(l,Z(Y)),h=k();h.x=a,h.y=s+10,h.width=o-a,h.class=`messageText`,h.dy=`1em`,h.text=l,h.fontFamily=Y.messageFontFamily,h.fontSize=Y.messageFontSize,h.fontWeight=Y.messageFontWeight,h.anchor=Y.messageAlign,h.valign=`center`,h.textMargin=Y.wrapPadding,h.tspan=!1,f(h.text)?await oe(t,h,{startx:a,stopx:o,starty:r}):G(t,h);let g=m.width,_;a===o?_=Y.rightAngles?t.append(`path`).attr(`d`,`M ${a},${r} H ${a+b.getMax(Y.width/2,g/2)} V ${r+25} H ${a}`):t.append(`path`).attr(`d`,`M `+a+`,`+r+` C `+(a+60)+`,`+(r-10)+` `+(a+60)+`,`+(r+30)+` `+a+`,`+(r+20)):(_=t.append(`line`),_.attr(`x1`,a),_.attr(`y1`,r),_.attr(`x2`,o),_.attr(`y2`,r)),u===i.db.LINETYPE.DOTTED||u===i.db.LINETYPE.DOTTED_CROSS||u===i.db.LINETYPE.DOTTED_POINT||u===i.db.LINETYPE.DOTTED_OPEN||u===i.db.LINETYPE.BIDIRECTIONAL_DOTTED?(_.style(`stroke-dasharray`,`3, 3`),_.attr(`class`,`messageLine1`)):_.attr(`class`,`messageLine0`);let v=``;Y.arrowMarkerAbsolute&&(v=c(!0)),_.attr(`stroke-width`,2),_.attr(`stroke`,`none`),_.style(`fill`,`none`),(u===i.db.LINETYPE.SOLID||u===i.db.LINETYPE.DOTTED)&&_.attr(`marker-end`,`url(`+v+`#arrowhead)`),(u===i.db.LINETYPE.BIDIRECTIONAL_SOLID||u===i.db.LINETYPE.BIDIRECTIONAL_DOTTED)&&(_.attr(`marker-start`,`url(`+v+`#arrowhead)`),_.attr(`marker-end`,`url(`+v+`#arrowhead)`)),(u===i.db.LINETYPE.SOLID_POINT||u===i.db.LINETYPE.DOTTED_POINT)&&_.attr(`marker-end`,`url(`+v+`#filled-head)`),(u===i.db.LINETYPE.SOLID_CROSS||u===i.db.LINETYPE.DOTTED_CROSS)&&_.attr(`marker-end`,`url(`+v+`#crosshead)`),(p||Y.showSequenceNumbers)&&((u===i.db.LINETYPE.BIDIRECTIONAL_SOLID||u===i.db.LINETYPE.BIDIRECTIONAL_DOTTED)&&(a<o?_.attr(`x1`,a+12):_.attr(`x1`,a+6)),t.append(`line`).attr(`x1`,a).attr(`y1`,r).attr(`x2`,a).attr(`y2`,r).attr(`stroke-width`,0).attr(`marker-start`,`url(`+v+`#sequencenumber)`),t.append(`text`).attr(`x`,a).attr(`y`,r+4).attr(`font-family`,`sans-serif`).attr(`font-size`,`12px`).attr(`text-anchor`,`middle`).attr(`class`,`sequenceNumber`).text(d))},`drawMessage`),Le=i(function(e,t,n,r,i,a,o){let s=0,c=0,l,u=0;for(let e of r){let r=t.get(e),a=r.box;l&&l!=a&&(o||X.models.addBox(l),c+=Y.boxMargin+l.margin),a&&a!=l&&(o||(a.x=s+c,a.y=i),c+=a.margin),r.width=r.width||Y.width,r.height=b.getMax(r.height||Y.height,Y.height),r.margin=r.margin||Y.actorMargin,u=b.getMax(u,r.height),n.get(r.name)&&(c+=r.width/2),r.x=s+c,r.starty=X.getVerticalPos(),X.insert(r.x,i,r.x+r.width,r.height),s+=r.width+c,r.box&&(r.box.width=s+a.margin-r.box.x),c=r.margin,l=r.box,X.models.addActor(r)}l&&!o&&X.models.addBox(l),X.bumpVerticalPos(u)},`addActorRenderingData`),Re=i(async function(e,t,n,r){if(r){let r=0;X.bumpVerticalPos(Y.boxMargin*2);for(let i of n){let n=t.get(i);n.stopy||=X.getVerticalPos();let a=await J.drawActor(e,n,Y,!0);r=b.getMax(r,a)}X.bumpVerticalPos(r+Y.boxMargin)}else for(let r of n){let n=t.get(r);await J.drawActor(e,n,Y,!1)}},`drawActors`),ze=i(function(e,t,n,r){let i=0,a=0;for(let o of n){let n=t.get(o),s=Ke(n),c=J.drawPopup(e,n,s,Y,Y.forceMenus,r);c.height>i&&(i=c.height),c.width+n.x>a&&(a=c.width+n.x)}return{maxHeight:i,maxWidth:a}},`drawActorsPopup`),Be=i(function(e){y(Y,e),e.fontFamily&&(Y.actorFontFamily=Y.noteFontFamily=Y.messageFontFamily=e.fontFamily),e.fontSize&&(Y.actorFontSize=Y.noteFontSize=Y.messageFontSize=e.fontSize),e.fontWeight&&(Y.actorFontWeight=Y.noteFontWeight=Y.messageFontWeight=e.fontWeight)},`setConf`),Ve=i(function(e){return X.activations.filter(function(t){return t.actor===e})},`actorActivations`),He=i(function(e,t){let n=t.get(e),r=Ve(e);return[r.reduce(function(e,t){return b.getMin(e,t.startx)},n.x+n.width/2-1),r.reduce(function(e,t){return b.getMax(e,t.stopx)},n.x+n.width/2+1)]},`activationBounds`);function $(t,n,i,a,o){X.bumpVerticalPos(i);let s=a;if(n.id&&n.message&&t[n.id]){let i=t[n.id].width,o=Z(Y);n.message=e.wrapLabel(`[${n.message}]`,i-2*Y.wrapPadding,o),n.width=i,n.wrap=!0;let c=e.calculateTextDimensions(n.message,o),l=b.getMax(c.height,Y.labelBoxHeight);s=a+l,r.debug(`${l} - ${n.message}`)}o(n),X.bumpVerticalPos(s)}i($,`adjustLoopHeightForWrap`);function Ue(e,t,n,r,a,o,s){function c(n,r){n.x<a.get(e.from).x?(X.insert(t.stopx-r,t.starty,t.startx,t.stopy+n.height/2+Y.noteMargin),t.stopx+=r):(X.insert(t.startx,t.starty,t.stopx+r,t.stopy+n.height/2+Y.noteMargin),t.stopx-=r)}i(c,`receiverAdjustment`);function l(n,r){n.x<a.get(e.to).x?(X.insert(t.startx-r,t.starty,t.stopx,t.stopy+n.height/2+Y.noteMargin),t.startx+=r):(X.insert(t.stopx,t.starty,t.startx+r,t.stopy+n.height/2+Y.noteMargin),t.startx-=r)}i(l,`senderAdjustment`);let u=[z.ACTOR,z.CONTROL,z.ENTITY,z.DATABASE];if(o.get(e.to)==r){let t=a.get(e.to);c(t,u.includes(t.type)?V/2+3:t.width/2+3),t.starty=n-t.height/2,X.bumpVerticalPos(t.height/2)}else if(s.get(e.from)==r){let t=a.get(e.from);Y.mirrorActors&&l(t,u.includes(t.type)?V/2:t.width/2),t.stopy=n-t.height/2,X.bumpVerticalPos(t.height/2)}else if(s.get(e.to)==r){let t=a.get(e.to);Y.mirrorActors&&c(t,u.includes(t.type)?V/2+3:t.width/2+3),t.stopy=n-t.height/2,X.bumpVerticalPos(t.height/2)}}i(Ue,`adjustCreatedDestroyedData`);var We=i(async function(e,t,n,o){let{securityLevel:s,sequence:c}=g();Y=c;let l;s===`sandbox`&&(l=a(`#i`+t));let u=a(s===`sandbox`?l.nodes()[0].contentDocument.body:`body`),d=s===`sandbox`?l.nodes()[0].contentDocument:document;X.init(),r.debug(o.db);let f=s===`sandbox`?u.select(`[id="${t}"]`):a(`[id="${t}"]`),p=o.db.getActors(),m=o.db.getCreatedActors(),h=o.db.getDestroyedActors(),v=o.db.getBoxes(),y=o.db.getActorKeys(),b=o.db.getMessages(),x=o.db.getDiagramTitle(),S=o.db.hasAtLeastOneBox(),C=o.db.hasAtLeastOneBoxWithTitle(),w=await Ge(p,b,o);if(Y.height=await qe(p,w,v),J.insertComputerIcon(f),J.insertDatabaseIcon(f),J.insertClockIcon(f),S&&(X.bumpVerticalPos(Y.boxMargin),C&&X.bumpVerticalPos(v[0].textMaxHeight)),Y.hideUnusedParticipants===!0){let e=new Set;b.forEach(t=>{e.add(t.from),e.add(t.to)}),y=y.filter(t=>e.has(t))}Le(f,p,m,y,0,b,!1);let T=await Xe(b,p,w,o);J.insertArrowHead(f),J.insertArrowCrossHead(f),J.insertArrowFilledHead(f),J.insertSequenceNumber(f);function E(e,t){let n=X.endActivation(e);n.starty+18>t&&(n.starty=t-6,t+=12),J.drawActivation(f,n,t,Y,Ve(e.from).length),X.insert(n.startx,t-10,n.stopx,t)}i(E,`activeEnd`);let D=1,O=1,k=[],A=[],j=0;for(let e of b){let t,n,i;switch(e.type){case o.db.LINETYPE.NOTE:X.resetVerticalPos(),n=e.noteModel,await Ne(f,n);break;case o.db.LINETYPE.ACTIVE_START:X.newActivation(e,f,p);break;case o.db.LINETYPE.ACTIVE_END:E(e,X.getVerticalPos());break;case o.db.LINETYPE.LOOP_START:$(T,e,Y.boxMargin,Y.boxMargin+Y.boxTextMargin,e=>X.newLoop(e));break;case o.db.LINETYPE.LOOP_END:t=X.endLoop(),await J.drawLoop(f,t,`loop`,Y),X.bumpVerticalPos(t.stopy-X.getVerticalPos()),X.models.addLoop(t);break;case o.db.LINETYPE.RECT_START:$(T,e,Y.boxMargin,Y.boxMargin,e=>X.newLoop(void 0,e.message));break;case o.db.LINETYPE.RECT_END:t=X.endLoop(),A.push(t),X.models.addLoop(t),X.bumpVerticalPos(t.stopy-X.getVerticalPos());break;case o.db.LINETYPE.OPT_START:$(T,e,Y.boxMargin,Y.boxMargin+Y.boxTextMargin,e=>X.newLoop(e));break;case o.db.LINETYPE.OPT_END:t=X.endLoop(),await J.drawLoop(f,t,`opt`,Y),X.bumpVerticalPos(t.stopy-X.getVerticalPos()),X.models.addLoop(t);break;case o.db.LINETYPE.ALT_START:$(T,e,Y.boxMargin,Y.boxMargin+Y.boxTextMargin,e=>X.newLoop(e));break;case o.db.LINETYPE.ALT_ELSE:$(T,e,Y.boxMargin+Y.boxTextMargin,Y.boxMargin,e=>X.addSectionToLoop(e));break;case o.db.LINETYPE.ALT_END:t=X.endLoop(),await J.drawLoop(f,t,`alt`,Y),X.bumpVerticalPos(t.stopy-X.getVerticalPos()),X.models.addLoop(t);break;case o.db.LINETYPE.PAR_START:case o.db.LINETYPE.PAR_OVER_START:$(T,e,Y.boxMargin,Y.boxMargin+Y.boxTextMargin,e=>X.newLoop(e)),X.saveVerticalPos();break;case o.db.LINETYPE.PAR_AND:$(T,e,Y.boxMargin+Y.boxTextMargin,Y.boxMargin,e=>X.addSectionToLoop(e));break;case o.db.LINETYPE.PAR_END:t=X.endLoop(),await J.drawLoop(f,t,`par`,Y),X.bumpVerticalPos(t.stopy-X.getVerticalPos()),X.models.addLoop(t);break;case o.db.LINETYPE.AUTONUMBER:D=e.message.start||D,O=e.message.step||O,e.message.visible?o.db.enableSequenceNumbers():o.db.disableSequenceNumbers();break;case o.db.LINETYPE.CRITICAL_START:$(T,e,Y.boxMargin,Y.boxMargin+Y.boxTextMargin,e=>X.newLoop(e));break;case o.db.LINETYPE.CRITICAL_OPTION:$(T,e,Y.boxMargin+Y.boxTextMargin,Y.boxMargin,e=>X.addSectionToLoop(e));break;case o.db.LINETYPE.CRITICAL_END:t=X.endLoop(),await J.drawLoop(f,t,`critical`,Y),X.bumpVerticalPos(t.stopy-X.getVerticalPos()),X.models.addLoop(t);break;case o.db.LINETYPE.BREAK_START:$(T,e,Y.boxMargin,Y.boxMargin+Y.boxTextMargin,e=>X.newLoop(e));break;case o.db.LINETYPE.BREAK_END:t=X.endLoop(),await J.drawLoop(f,t,`break`,Y),X.bumpVerticalPos(t.stopy-X.getVerticalPos()),X.models.addLoop(t);break;default:try{i=e.msgModel,i.starty=X.getVerticalPos(),i.sequenceIndex=D,i.sequenceVisible=o.db.showSequenceNumbers();let t=await Fe(f,i);Ue(e,i,t,j,p,m,h),k.push({messageModel:i,lineStartY:t}),X.models.addMessage(i)}catch(e){r.error(`error while drawing message`,e)}}[o.db.LINETYPE.SOLID_OPEN,o.db.LINETYPE.DOTTED_OPEN,o.db.LINETYPE.SOLID,o.db.LINETYPE.DOTTED,o.db.LINETYPE.SOLID_CROSS,o.db.LINETYPE.DOTTED_CROSS,o.db.LINETYPE.SOLID_POINT,o.db.LINETYPE.DOTTED_POINT,o.db.LINETYPE.BIDIRECTIONAL_SOLID,o.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(e.type)&&(D+=O),j++}r.debug(`createdActors`,m),r.debug(`destroyedActors`,h),await Re(f,p,y,!1);for(let e of k)await Ie(f,e.messageModel,e.lineStartY,o);Y.mirrorActors&&await Re(f,p,y,!0),A.forEach(e=>J.drawBackgroundRect(f,e)),ce(f,p,y,Y);for(let e of X.models.boxes){e.height=X.getVerticalPos()-e.y,X.insert(e.x,e.y,e.x+e.width,e.height);let t=Y.boxMargin*2;e.startx=e.x-t,e.starty=e.y-t*.25,e.stopx=e.startx+e.width+2*t,e.stopy=e.starty+e.height+t*.75,e.stroke=`rgb(0,0,0, 0.5)`,J.drawBox(f,e,Y)}S&&X.bumpVerticalPos(Y.boxMargin);let M=ze(f,p,y,d),{bounds:N}=X.getBounds();N.startx===void 0&&(N.startx=0),N.starty===void 0&&(N.starty=0),N.stopx===void 0&&(N.stopx=0),N.stopy===void 0&&(N.stopy=0);let P=N.stopy-N.starty;P<M.maxHeight&&(P=M.maxHeight);let F=P+2*Y.diagramMarginY;Y.mirrorActors&&(F=F-Y.boxMargin+Y.bottomMarginAdj);let I=N.stopx-N.startx;I<M.maxWidth&&(I=M.maxWidth);let L=I+2*Y.diagramMarginX;x&&f.append(`text`).text(x).attr(`x`,(N.stopx-N.startx)/2-2*Y.diagramMarginX).attr(`y`,-25),_(f,F,L,Y.useMaxWidth);let R=x?40:0;f.attr(`viewBox`,N.startx-Y.diagramMarginX+` -`+(Y.diagramMarginY+R)+` `+L+` `+(F+R)),r.debug(`models:`,X.models)},`draw`);async function Ge(t,n,i){let a={};for(let r of n)if(t.get(r.to)&&t.get(r.from)){let n=t.get(r.to);if(r.placement===i.db.PLACEMENT.LEFTOF&&!n.prevActor||r.placement===i.db.PLACEMENT.RIGHTOF&&!n.nextActor)continue;let o=r.placement!==void 0,s=!o,c=o?Q(Y):Z(Y),l=r.wrap?e.wrapLabel(r.message,Y.width-2*Y.wrapPadding,c):r.message,u=(f(l)?await v(r.message,g()):e.calculateTextDimensions(l,c)).width+2*Y.wrapPadding;s&&r.from===n.nextActor?a[r.to]=b.getMax(a[r.to]||0,u):s&&r.from===n.prevActor?a[r.from]=b.getMax(a[r.from]||0,u):s&&r.from===r.to?(a[r.from]=b.getMax(a[r.from]||0,u/2),a[r.to]=b.getMax(a[r.to]||0,u/2)):r.placement===i.db.PLACEMENT.RIGHTOF?a[r.from]=b.getMax(a[r.from]||0,u):r.placement===i.db.PLACEMENT.LEFTOF?a[n.prevActor]=b.getMax(a[n.prevActor]||0,u):r.placement===i.db.PLACEMENT.OVER&&(n.prevActor&&(a[n.prevActor]=b.getMax(a[n.prevActor]||0,u/2)),n.nextActor&&(a[r.from]=b.getMax(a[r.from]||0,u/2)))}return r.debug(`maxMessageWidthPerActor:`,a),a}i(Ge,`getMaxMessageWidthPerActor`);var Ke=i(function(t){let n=0,r=Pe(Y);for(let i in t.links){let t=e.calculateTextDimensions(i,r).width+2*Y.wrapPadding+2*Y.boxMargin;n<t&&(n=t)}return n},`getRequiredPopupWidth`);async function qe(t,n,r){let i=0;for(let n of t.keys()){let r=t.get(n);r.wrap&&(r.description=e.wrapLabel(r.description,Y.width-2*Y.wrapPadding,Pe(Y)));let a=f(r.description)?await v(r.description,g()):e.calculateTextDimensions(r.description,Pe(Y));r.width=r.wrap?Y.width:b.getMax(Y.width,a.width+2*Y.wrapPadding),r.height=r.wrap?b.getMax(a.height,Y.height):Y.height,i=b.getMax(i,r.height)}for(let e in n){let r=t.get(e);if(!r)continue;let i=t.get(r.nextActor);if(!i){let t=n[e]+Y.actorMargin-r.width/2;r.margin=b.getMax(t,Y.actorMargin);continue}let a=n[e]+Y.actorMargin-r.width/2-i.width/2;r.margin=b.getMax(a,Y.actorMargin)}let a=0;return r.forEach(n=>{let r=Z(Y),i=n.actorKeys.reduce((e,n)=>e+=t.get(n).width+(t.get(n).margin||0),0),o=Y.boxMargin*8;i+=o,i-=2*Y.boxTextMargin,n.wrap&&(n.name=e.wrapLabel(n.name,i-2*Y.wrapPadding,r));let s=e.calculateTextDimensions(n.name,r);a=b.getMax(s.height,a);let c=b.getMax(i,s.width+2*Y.wrapPadding);if(n.margin=Y.boxTextMargin,i<c){let e=(c-i)/2;n.margin+=e}}),r.forEach(e=>e.textMaxHeight=a),b.getMax(i,Y.height)}i(qe,`calculateActorMargins`);var Je=i(async function(t,n,i){let a=n.get(t.from),o=n.get(t.to),s=a.x,c=o.x,l=t.wrap&&t.message,u=f(t.message)?await v(t.message,g()):e.calculateTextDimensions(l?e.wrapLabel(t.message,Y.width,Q(Y)):t.message,Q(Y)),d={width:l?Y.width:b.getMax(Y.width,u.width+2*Y.noteMargin),height:0,startx:a.x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===i.db.PLACEMENT.RIGHTOF?(d.width=l?b.getMax(Y.width,u.width):b.getMax(a.width/2+o.width/2,u.width+2*Y.noteMargin),d.startx=s+(a.width+Y.actorMargin)/2):t.placement===i.db.PLACEMENT.LEFTOF?(d.width=l?b.getMax(Y.width,u.width+2*Y.noteMargin):b.getMax(a.width/2+o.width/2,u.width+2*Y.noteMargin),d.startx=s-d.width+(a.width-Y.actorMargin)/2):t.to===t.from?(u=e.calculateTextDimensions(l?e.wrapLabel(t.message,b.getMax(Y.width,a.width),Q(Y)):t.message,Q(Y)),d.width=l?b.getMax(Y.width,a.width):b.getMax(a.width,Y.width,u.width+2*Y.noteMargin),d.startx=s+(a.width-d.width)/2):(d.width=Math.abs(s+a.width/2-(c+o.width/2))+Y.actorMargin,d.startx=s<c?s+a.width/2-Y.actorMargin/2:c+o.width/2-Y.actorMargin/2),l&&(d.message=e.wrapLabel(t.message,d.width-2*Y.wrapPadding,Q(Y))),r.debug(`NM:[${d.startx},${d.stopx},${d.starty},${d.stopy}:${d.width},${d.height}=${t.message}]`),d},`buildNoteModel`),Ye=i(function(t,n,r){if(![r.db.LINETYPE.SOLID_OPEN,r.db.LINETYPE.DOTTED_OPEN,r.db.LINETYPE.SOLID,r.db.LINETYPE.DOTTED,r.db.LINETYPE.SOLID_CROSS,r.db.LINETYPE.DOTTED_CROSS,r.db.LINETYPE.SOLID_POINT,r.db.LINETYPE.DOTTED_POINT,r.db.LINETYPE.BIDIRECTIONAL_SOLID,r.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(t.type))return{};let[a,o]=He(t.from,n),[s,c]=He(t.to,n),l=a<=s,u=l?o:a,d=l?s:c,f=Math.abs(s-c)>2,p=i(e=>l?-e:e,`adjustValue`);t.from===t.to?d=u:(t.activate&&!f&&(d+=p(Y.activationWidth/2-1)),[r.db.LINETYPE.SOLID_OPEN,r.db.LINETYPE.DOTTED_OPEN].includes(t.type)||(d+=p(3)),[r.db.LINETYPE.BIDIRECTIONAL_SOLID,r.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(t.type)&&(u-=p(3)));let m=[a,o,s,c],h=Math.abs(u-d);t.wrap&&t.message&&(t.message=e.wrapLabel(t.message,b.getMax(h+2*Y.wrapPadding,Y.width),Z(Y)));let g=e.calculateTextDimensions(t.message,Z(Y));return{width:b.getMax(t.wrap?0:g.width+2*Y.wrapPadding,h+2*Y.wrapPadding,Y.width),height:0,startx:u,stopx:d,starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,m),toBounds:Math.max.apply(null,m)}},`buildMessageModel`),Xe=i(async function(e,t,n,i){let a={},o=[],s,c,l;for(let n of e){switch(n.type){case i.db.LINETYPE.LOOP_START:case i.db.LINETYPE.ALT_START:case i.db.LINETYPE.OPT_START:case i.db.LINETYPE.PAR_START:case i.db.LINETYPE.PAR_OVER_START:case i.db.LINETYPE.CRITICAL_START:case i.db.LINETYPE.BREAK_START:o.push({id:n.id,msg:n.message,from:2**53-1,to:-(2**53-1),width:0});break;case i.db.LINETYPE.ALT_ELSE:case i.db.LINETYPE.PAR_AND:case i.db.LINETYPE.CRITICAL_OPTION:n.message&&(s=o.pop(),a[s.id]=s,a[n.id]=s,o.push(s));break;case i.db.LINETYPE.LOOP_END:case i.db.LINETYPE.ALT_END:case i.db.LINETYPE.OPT_END:case i.db.LINETYPE.PAR_END:case i.db.LINETYPE.CRITICAL_END:case i.db.LINETYPE.BREAK_END:s=o.pop(),a[s.id]=s;break;case i.db.LINETYPE.ACTIVE_START:{let e=t.get(n.from?n.from:n.to.actor),r=Ve(n.from?n.from:n.to.actor).length,i=e.x+e.width/2+(r-1)*Y.activationWidth/2,a={startx:i,stopx:i+Y.activationWidth,actor:n.from,enabled:!0};X.activations.push(a)}break;case i.db.LINETYPE.ACTIVE_END:{let e=X.activations.map(e=>e.actor).lastIndexOf(n.from);X.activations.splice(e,1).splice(0,1)}break}n.placement===void 0?(l=Ye(n,t,i),n.msgModel=l,l.startx&&l.stopx&&o.length>0&&o.forEach(e=>{if(s=e,l.startx===l.stopx){let e=t.get(n.from),r=t.get(n.to);s.from=b.getMin(e.x-l.width/2,e.x-e.width/2,s.from),s.to=b.getMax(r.x+l.width/2,r.x+e.width/2,s.to),s.width=b.getMax(s.width,Math.abs(s.to-s.from))-Y.labelBoxWidth}else s.from=b.getMin(l.startx,s.from),s.to=b.getMax(l.stopx,s.to),s.width=b.getMax(s.width,l.width)-Y.labelBoxWidth})):(c=await Je(n,t,i),n.noteModel=c,o.forEach(e=>{s=e,s.from=b.getMin(s.from,c.startx),s.to=b.getMax(s.to,c.startx+c.width),s.width=b.getMax(s.width,Math.abs(s.from-s.to))-Y.labelBoxWidth}))}return X.activations=[],r.debug(`Loop type widths:`,a),a},`calculateLoopBounds`),Ze={parser:I,get db(){return new te},renderer:{bounds:X,drawActors:Re,drawActorsPopup:ze,setConf:Be,draw:We},styles:B,init:i(e=>{e.sequence||={},e.wrap&&(e.sequence.wrap=e.wrap,l({sequence:{wrap:e.wrap}}))},`init`)};export{Ze as diagram};
@@ -1 +0,0 @@
1
- import e from"./hlsl-BjNae5So.js";const t=Object.freeze(JSON.parse(`{"displayName":"ShaderLab","name":"shaderlab","patterns":[{"begin":"//","end":"$","name":"comment.line.double-slash.shaderlab"},{"match":"\\\\b(?i:Range|Float|Int|Color|Vector|2D|3D|Cube|Any)\\\\b","name":"support.type.basic.shaderlab"},{"include":"#numbers"},{"match":"\\\\b(?i:Shader|Properties|SubShader|Pass|Category)\\\\b","name":"storage.type.structure.shaderlab"},{"match":"\\\\b(?i:Name|Tags|Fallback|CustomEditor|Cull|ZWrite|ZTest|Offset|Blend|BlendOp|ColorMask|AlphaToMask|LOD|Lighting|Stencil|Ref|ReadMask|WriteMask|Comp|CompBack|CompFront|Fail|ZFail|UsePass|GrabPass|Dependency|Material|Diffuse|Ambient|Shininess|Specular|Emission|Fog|Mode|Density|SeparateSpecular|SetTexture|Combine|ConstantColor|Matrix|AlphaTest|ColorMaterial|BindChannels|Bind)\\\\b","name":"support.type.propertyname.shaderlab"},{"match":"\\\\b(?i:Back|Front|On|Off|[ABGR]{1,3}|AmbientAndDiffuse|Emission)\\\\b","name":"support.constant.property-value.shaderlab"},{"match":"\\\\b(?i:Less|Greater|LEqual|GEqual|Equal|NotEqual|Always|Never)\\\\b","name":"support.constant.property-value.comparisonfunction.shaderlab"},{"match":"\\\\b(?i:Keep|Zero|Replace|IncrSat|DecrSat|Invert|IncrWrap|DecrWrap)\\\\b","name":"support.constant.property-value.stenciloperation.shaderlab"},{"match":"\\\\b(?i:Previous|Primary|Texture|Constant|Lerp|Double|Quad|Alpha)\\\\b","name":"support.constant.property-value.texturecombiners.shaderlab"},{"match":"\\\\b(?i:Global|Linear|Exp2?)\\\\b","name":"support.constant.property-value.fog.shaderlab"},{"match":"\\\\b(?i:Vertex|Normal|Tangent|TexCoord0|TexCoord1)\\\\b","name":"support.constant.property-value.bindchannels.shaderlab"},{"match":"\\\\b(?i:Add|Sub|RevSub|Min|Max|LogicalClear|LogicalSet|LogicalCopyInverted|LogicalCopy|LogicalNoop|LogicalInvert|LogicalAnd|LogicalNand|LogicalOr|LogicalNor|LogicalXor|LogicalEquiv|LogicalAndReverse|LogicalAndInverted|LogicalOrReverse|LogicalOrInverted)\\\\b","name":"support.constant.property-value.blendoperations.shaderlab"},{"match":"\\\\b(?i:One|Zero|SrcColor|SrcAlpha|DstColor|DstAlpha|OneMinusSrcColor|OneMinusSrcAlpha|OneMinusDstColor|OneMinusDstAlpha)\\\\b","name":"support.constant.property-value.blendfactors.shaderlab"},{"match":"\\\\[([A-Z_a-z][0-9A-Z_a-z]*)](?!\\\\s*[A-Z_a-z][0-9A-Z_a-z]*\\\\s*\\\\(\\")","name":"support.variable.reference.shaderlab"},{"begin":"(\\\\[)","end":"(])","name":"meta.attribute.shaderlab","patterns":[{"match":"\\\\G([A-Za-z]+)\\\\b","name":"support.type.attributename.shaderlab"},{"include":"#numbers"}]},{"match":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*\\\\(","name":"support.variable.declaration.shaderlab"},{"begin":"\\\\b(CG(?:PROGRAM|INCLUDE))\\\\b","beginCaptures":{"1":{"name":"keyword.other"}},"end":"\\\\b(ENDCG)\\\\b","endCaptures":{"1":{"name":"keyword.other"}},"name":"meta.cgblock","patterns":[{"include":"#hlsl-embedded"}]},{"begin":"\\\\b(HLSL(?:PROGRAM|INCLUDE))\\\\b","beginCaptures":{"1":{"name":"keyword.other"}},"end":"\\\\b(ENDHLSL)\\\\b","endCaptures":{"1":{"name":"keyword.other"}},"name":"meta.hlslblock","patterns":[{"include":"#hlsl-embedded"}]},{"begin":"\\"","end":"\\"","name":"string.quoted.double.shaderlab"}],"repository":{"hlsl-embedded":{"patterns":[{"include":"source.hlsl"},{"match":"\\\\b(fixed([1-4](x[1-4])?)?)\\\\b","name":"storage.type.basic.shaderlab"},{"match":"\\\\b(UNITY_MATRIX_MVP?|UNITY_MATRIX_M|UNITY_MATRIX_V|UNITY_MATRIX_P|UNITY_MATRIX_VP|UNITY_MATRIX_T_MV|UNITY_MATRIX_I_V|UNITY_MATRIX_IT_MV|_Object2World|_World2Object|unity_ObjectToWorld|unity_WorldToObject)\\\\b","name":"support.variable.transformations.shaderlab"},{"match":"\\\\b(_WorldSpaceCameraPos|_ProjectionParams|_ScreenParams|_ZBufferParams|unity_OrthoParams|unity_CameraProjection|unity_CameraInvProjection|unity_CameraWorldClipPlanes)\\\\b","name":"support.variable.camera.shaderlab"},{"match":"\\\\b((?:_|_Sin|_Cos|unity_Delta)Time)\\\\b","name":"support.variable.time.shaderlab"},{"match":"\\\\b(_LightColor0|_WorldSpaceLightPos0|_LightMatrix0|unity_4LightPosX0|unity_4LightPosY0|unity_4LightPosZ0|unity_4LightAtten0|unity_LightColor|_LightColor|unity_LightPosition|unity_LightAtten|unity_SpotDirection)\\\\b","name":"support.variable.lighting.shaderlab"},{"match":"\\\\b(unity_AmbientSky|unity_AmbientEquator|unity_AmbientGround|UNITY_LIGHTMODEL_AMBIENT|unity_FogColor|unity_FogParams)\\\\b","name":"support.variable.fog.shaderlab"},{"match":"\\\\b(unity_LODFade)\\\\b","name":"support.variable.various.shaderlab"},{"match":"\\\\b(SHADER_API_(?:D3D9|D3D11|GLCORE|OPENGL|GLES3??|METAL|D3D11_9X|PSSL|XBOXONE|PSP2|WIIU|MOBILE|GLSL))\\\\b","name":"support.variable.preprocessor.targetplatform.shaderlab"},{"match":"\\\\b(SHADER_TARGET)\\\\b","name":"support.variable.preprocessor.targetmodel.shaderlab"},{"match":"\\\\b(UNITY_VERSION)\\\\b","name":"support.variable.preprocessor.unityversion.shaderlab"},{"match":"\\\\b(UNITY_(?:BRANCH|FLATTEN|NO_SCREENSPACE_SHADOWS|NO_LINEAR_COLORSPACE|NO_RGBM|NO_DXT5nm|FRAMEBUFFER_FETCH_AVAILABLE|USE_RGBA_FOR_POINT_SHADOWS|ATTEN_CHANNEL|HALF_TEXEL_OFFSET|UV_STARTS_AT_TOP|MIGHT_NOT_HAVE_DEPTH_Texture|NEAR_CLIP_VALUE|VPOS_TYPE|CAN_COMPILE_TESSELLATION|COMPILER_HLSL|COMPILER_HLSL2GLSL|COMPILER_CG|REVERSED_Z))\\\\b","name":"support.variable.preprocessor.platformdifference.shaderlab"},{"match":"\\\\b(UNITY_PASS_(?:FORWARDBASE|FORWARDADD|DEFERRED|SHADOWCASTER|PREPASSBASE|PREPASSFINAL))\\\\b","name":"support.variable.preprocessor.texture2D.shaderlab"},{"match":"\\\\b(appdata_(?:base|tan|full|img))\\\\b","name":"support.class.structures.shaderlab"},{"match":"\\\\b(SurfaceOutputStandardSpecular|SurfaceOutputStandard|SurfaceOutput|Input)\\\\b","name":"support.class.surface.shaderlab"}]},"numbers":{"patterns":[{"match":"\\\\b([0-9]+\\\\.?[0-9]*)\\\\b","name":"constant.numeric.shaderlab"}]}},"scopeName":"source.shaderlab","embeddedLangs":["hlsl"],"aliases":["shader"]}`));var n=[...e,t];export{n as default};
@@ -1 +0,0 @@
1
- import{t as e}from"./shellscript-C_4ahoKK.js";export{e as default};
@@ -1 +0,0 @@
1
- import{t as e}from"./html-BT5um7nF.js";const t=Object.freeze(JSON.parse(`{"displayName":"Closure Templates","fileTypes":["soy"],"injections":{"meta.tag":{"patterns":[{"include":"#body"}]}},"name":"soy","patterns":[{"include":"#alias"},{"include":"#delpackage"},{"include":"#namespace"},{"include":"#template"},{"include":"#comment"}],"repository":{"alias":{"captures":{"1":{"name":"storage.type.soy"},"2":{"name":"entity.name.type.soy"},"3":{"name":"storage.type.soy"},"4":{"name":"entity.name.type.soy"}},"match":"\\\\{(alias)\\\\s+([.\\\\w]+)(?:\\\\s+(as)\\\\s+(\\\\w+))?}"},"attribute":{"captures":{"1":{"name":"storage.other.attribute.soy"},"2":{"name":"string.double.quoted.soy"}},"match":"(\\\\w+)=(\\"(?:\\\\\\\\?.)*?\\")"},"body":{"patterns":[{"include":"#comment"},{"include":"#let"},{"include":"#call"},{"include":"#css"},{"include":"#xid"},{"include":"#condition"},{"include":"#condition-control"},{"include":"#for"},{"include":"#literal"},{"include":"#msg"},{"include":"#special-character"},{"include":"#print"},{"include":"text.html.basic"}]},"boolean":{"match":"true|false","name":"language.constant.boolean.soy"},"call":{"patterns":[{"begin":"\\\\{((?:del)?call)\\\\s+([.\\\\w]+)(?=[^/]*?})","beginCaptures":{"1":{"name":"storage.type.function.soy"},"2":{"name":"entity.name.function.soy"}},"end":"\\\\{/(\\\\1)}","endCaptures":{"1":{"name":"storage.type.function.soy"}},"patterns":[{"include":"#comment"},{"include":"#variant"},{"include":"#attribute"},{"include":"#param"}]},{"begin":"\\\\{((?:del)?call)(\\\\s+[.\\\\w]+)","beginCaptures":{"1":{"name":"storage.type.function.soy"},"2":{"name":"entity.name.function.soy"}},"end":"/}","patterns":[{"include":"#variant"},{"include":"#attribute"}]}]},"comment":{"patterns":[{"begin":"/\\\\*","end":"\\\\*/","name":"comment.block.documentation.soy","patterns":[{"captures":{"1":{"name":"keyword.parameter.soy"},"2":{"name":"variable.parameter.soy"}},"match":"(@param\\\\??)\\\\s+(\\\\S+)"}]},{"match":"^\\\\s*(//.*)$","name":"comment.line.double-slash.soy"}]},"condition":{"begin":"\\\\{/?(if|elseif|switch|case)\\\\s*","beginCaptures":{"1":{"name":"keyword.control.soy"}},"end":"}","patterns":[{"include":"#attribute"},{"include":"#expression"}]},"condition-control":{"captures":{"1":{"name":"keyword.control.soy"}},"match":"\\\\{(else|ifempty|default)}"},"css":{"begin":"\\\\{(css)\\\\s+","beginCaptures":{"1":{"name":"keyword.other.soy"}},"end":"}","patterns":[{"include":"#expression"}]},"delpackage":{"captures":{"1":{"name":"storage.type.soy"},"2":{"name":"entity.name.type.soy"}},"match":"\\\\{(delpackage)\\\\s+([.\\\\w]+)}"},"expression":{"patterns":[{"include":"#boolean"},{"include":"#number"},{"include":"#function"},{"include":"#null"},{"include":"#string"},{"include":"#variable-ref"},{"include":"#operator"}]},"for":{"begin":"\\\\{/?(for(?:each|))(?=[}\\\\s])","beginCaptures":{"1":{"name":"keyword.control.soy"}},"end":"}","patterns":[{"match":"in","name":"keyword.control.soy"},{"include":"#expression"},{"include":"#body"}]},"function":{"begin":"(\\\\w+)\\\\(","beginCaptures":{"1":{"name":"support.function.soy"}},"end":"\\\\)","patterns":[{"include":"#expression"}]},"let":{"patterns":[{"begin":"\\\\{(let)\\\\s+(\\\\$\\\\w+\\\\s*:)","beginCaptures":{"1":{"name":"storage.type.soy"},"2":{"name":"variable.soy"}},"end":"/}","patterns":[{"include":"#comment"},{"include":"#expression"}]},{"begin":"\\\\{(let)\\\\s+(\\\\$\\\\w+)","beginCaptures":{"1":{"name":"storage.type.soy"},"2":{"name":"variable.soy"}},"end":"\\\\{/(\\\\1)}","endCaptures":{"1":{"name":"storage.type.soy"}},"patterns":[{"include":"#attribute"},{"include":"#body"}]}]},"literal":{"begin":"\\\\{(literal)}","beginCaptures":{"1":{"name":"keyword.other.soy"}},"end":"\\\\{/(\\\\1)}","endCaptures":{"1":{"name":"keyword.other.soy"}},"name":"meta.literal"},"msg":{"captures":{"1":{"name":"keyword.other.soy"}},"end":"}","match":"\\\\{/?((?:|fallback)msg)","patterns":[{"include":"#attribute"}]},"namespace":{"captures":{"1":{"name":"storage.type.soy"},"2":{"name":"entity.name.type.soy"}},"match":"\\\\{(namespace)\\\\s+([.\\\\w]+)}"},"null":{"match":"null","name":"language.constant.null.soy"},"number":{"match":"-?\\\\.?\\\\d+|\\\\d[.\\\\d]*","name":"language.constant.numeric"},"operator":{"match":"-|not|[%*+/]|<=|>=|[<>]|==|!=|and|or|\\\\?:|[:?]","name":"keyword.operator.soy"},"param":{"patterns":[{"begin":"\\\\{(param)\\\\s+(\\\\w+\\\\s*:)","beginCaptures":{"1":{"name":"storage.type.soy"},"2":{"name":"variable.parameter.soy"}},"end":"/}","patterns":[{"include":"#expression"}]},{"begin":"\\\\{(param)\\\\s+(\\\\w+)","beginCaptures":{"1":{"name":"storage.type.soy"},"2":{"name":"variable.parameter.soy"}},"end":"\\\\{/(\\\\1)}","endCaptures":{"1":{"name":"storage.type.soy"}},"patterns":[{"include":"#attribute"},{"include":"#body"}]}]},"print":{"begin":"\\\\{(print)?\\\\s*","beginCaptures":{"1":{"name":"keyword.other.soy"}},"end":"}","patterns":[{"captures":{"1":{"name":"support.function.soy"}},"match":"\\\\|\\\\s*(changeNewlineToBr|truncate|bidiSpanWrap|bidiUnicodeWrap)"},{"include":"#expression"}]},"special-character":{"captures":{"1":{"name":"language.support.constant"}},"match":"\\\\{(sp|nil|\\\\\\\\r|\\\\\\\\n|\\\\\\\\t|lb|rb)}"},"string":{"begin":"'","end":"'","name":"string.quoted.single.soy","patterns":[{"match":"\\\\\\\\(?:[\\"'\\\\\\\\bfnrt]|u\\\\h{4})","name":"constant.character.escape.soy"}]},"template":{"begin":"\\\\{((?:|del)template)\\\\s([.\\\\w]+)","beginCaptures":{"1":{"name":"storage.type.soy"},"2":{"name":"entity.name.function.soy"}},"end":"\\\\{(/\\\\1)}","endCaptures":{"1":{"name":"storage.type.soy"}},"patterns":[{"begin":"\\\\{(@param)(\\\\??)\\\\s+(\\\\S+\\\\s*:)","beginCaptures":{"1":{"name":"keyword.parameter.soy"},"2":{"name":"storage.modifier.keyword.operator.soy"},"3":{"name":"variable.parameter.soy"}},"end":"}","name":"meta.parameter.soy","patterns":[{"include":"#type"}]},{"include":"#variant"},{"include":"#body"},{"include":"#attribute"}]},"type":{"patterns":[{"match":"any|null|\\\\?|string|bool|int|float|number|html|uri|js|css|attributes","name":"support.type.soy"},{"begin":"(list|map)(<)","beginCaptures":{"1":{"name":"support.type.soy"},"2":{"name":"support.type.punctuation.soy"}},"end":"(>)","endCaptures":{"1":{"name":"support.type.modifier.soy"}},"patterns":[{"include":"#type"}]}]},"variable-ref":{"match":"\\\\$[\\\\a-z][.\\\\w]*","name":"variable.other.soy"},"variant":{"begin":"(variant)=(\\")","beginCaptures":{"1":{"name":"storage.other.attribute.soy"},"2":{"name":"string.double.quoted.soy"}},"contentName":"string.double.quoted.soy","end":"(\\")","endCaptures":{"1":{"name":"string.double.quoted.soy"}},"patterns":[{"include":"#expression"}]},"xid":{"begin":"\\\\{(xid)\\\\s+","beginCaptures":{"1":{"name":"keyword.other.soy"}},"end":"}","patterns":[{"include":"#expression"}]}},"scopeName":"text.html.soy","embeddedLangs":["html"],"aliases":["closure-templates"]}`));var n=[...e,t];export{n as default};
@@ -1 +0,0 @@
1
- import e from"./turtle-D3vlU2OK.js";const t=Object.freeze(JSON.parse(`{"displayName":"SPARQL","fileTypes":["rq","sparql","sq"],"name":"sparql","patterns":[{"include":"source.turtle"},{"include":"#query-keyword-operators"},{"include":"#functions"},{"include":"#variables"},{"include":"#expression-operators"}],"repository":{"expression-operators":{"match":"\\\\|\\\\||&&|=|!=|[<>]|<=|>=|[-!*+/?^|]","name":"support.class.sparql"},"functions":{"match":"\\\\b(?i:concat|regex|asc|desc|bound|isiri|isuri|isblank|isliteral|isnumeric|str|lang|datatype|sameterm|langmatches|avg|count|group_concat|separator|max|min|sample|sum|iri|uri|bnode|strdt|uuid|struuid|strlang|strlen|substr|ucase|lcase|strstarts|strends|contains|strbefore|strafter|encode_for_uri|replace|abs|round|ceil|floor|rand|now|year|month|day|hours|minutes|seconds|timezone|tz|md5|sha1|sha256|sha384|sha512|coalesce|if)\\\\b","name":"support.function.sparql"},"query-keyword-operators":{"match":"\\\\b(?i:define|select|distinct|reduced|from|named|construct|ask|describe|where|graph|having|bind|as|filter|optional|union|order|by|group|limit|offset|values|insert data|delete data|with|delete|insert|clear|silent|default|all|create|drop|copy|move|add|to|using|service|not exists|exists|not in|in|minus|load)\\\\b","name":"keyword.control.sparql"},"variables":{"match":"(?<!\\\\w)[$?]\\\\w+","name":"constant.variable.sparql.turtle"}},"scopeName":"source.sparql","embeddedLangs":["turtle"]}`));var n=[...e,t];export{n as default};
@@ -1 +0,0 @@
1
- import{t as e}from"./sql-5h2ZDb6r.js";export{e as default};
@@ -1 +0,0 @@
1
- import"./marked.esm-DUB0uiru.js";import{t as e}from"./dagre-Dp5ns0Cm.js";import{E as t,g as n}from"./chunk-S3R3BYOJ-Cd9h779p.js";import{t as r}from"./graphlib-CScjOeSi.js";import{g as i,h as a,p as o}from"./src-CoWzf9ks.js";import{E as s,b as c,c as l,s as u}from"./chunk-ABZYJK2D-CdjGnQAG.js";import{t as d}from"./line-DXNvwXwh.js";import"./dist-Bz_xenUc.js";import"./chunk-JA3XYJ7Z-sNwUl62K.js";import"./chunk-HN2XXSSU-CwOdrF1j.js";import"./chunk-CVBHYZKI-C8bYjiGm.js";import"./chunk-55IACEB6-Cno6J5VV.js";import"./chunk-QN33PNHL-D0yvFd3d.js";import"./chunk-ATLVNIR6-B-a6xbuN.js";import"./chunk-JZLCHNYA-1hqNzbwm.js";import"./chunk-QXUST7PY-CITmCGsw.js";import"./chunk-N4CR4FBY-p0tTIb8I.js";import{i as f,n as p,t as m}from"./chunk-DI55MBZ5-BxCqtRoX.js";var h=a(e=>e.append(`circle`).attr(`class`,`start-state`).attr(`r`,c().state.sizeUnit).attr(`cx`,c().state.padding+c().state.sizeUnit).attr(`cy`,c().state.padding+c().state.sizeUnit),`drawStartState`),g=a(e=>e.append(`line`).style(`stroke`,`grey`).style(`stroke-dasharray`,`3`).attr(`x1`,c().state.textHeight).attr(`class`,`divider`).attr(`x2`,c().state.textHeight*2).attr(`y1`,0).attr(`y2`,0),`drawDivider`),_=a((e,t)=>{let n=e.append(`text`).attr(`x`,2*c().state.padding).attr(`y`,c().state.textHeight+2*c().state.padding).attr(`font-size`,c().state.fontSize).attr(`class`,`state-title`).text(t.id),r=n.node().getBBox();return e.insert(`rect`,`:first-child`).attr(`x`,c().state.padding).attr(`y`,c().state.padding).attr(`width`,r.width+2*c().state.padding).attr(`height`,r.height+2*c().state.padding).attr(`rx`,c().state.radius),n},`drawSimpleState`),v=a((e,t)=>{let n=a(function(e,t,n){let r=e.append(`tspan`).attr(`x`,2*c().state.padding).text(t);n||r.attr(`dy`,c().state.textHeight)},`addTspan`),r=e.append(`text`).attr(`x`,2*c().state.padding).attr(`y`,c().state.textHeight+1.3*c().state.padding).attr(`font-size`,c().state.fontSize).attr(`class`,`state-title`).text(t.descriptions[0]).node().getBBox(),i=r.height,o=e.append(`text`).attr(`x`,c().state.padding).attr(`y`,i+c().state.padding*.4+c().state.dividerMargin+c().state.textHeight).attr(`class`,`state-description`),s=!0,l=!0;t.descriptions.forEach(function(e){s||(n(o,e,l),l=!1),s=!1});let u=e.append(`line`).attr(`x1`,c().state.padding).attr(`y1`,c().state.padding+i+c().state.dividerMargin/2).attr(`y2`,c().state.padding+i+c().state.dividerMargin/2).attr(`class`,`descr-divider`),d=o.node().getBBox(),f=Math.max(d.width,r.width);return u.attr(`x2`,f+3*c().state.padding),e.insert(`rect`,`:first-child`).attr(`x`,c().state.padding).attr(`y`,c().state.padding).attr(`width`,f+2*c().state.padding).attr(`height`,d.height+i+2*c().state.padding).attr(`rx`,c().state.radius),e},`drawDescrState`),y=a((e,t,n)=>{let r=c().state.padding,i=2*c().state.padding,a=e.node().getBBox(),o=a.width,s=a.x,l=e.append(`text`).attr(`x`,0).attr(`y`,c().state.titleShift).attr(`font-size`,c().state.fontSize).attr(`class`,`state-title`).text(t.id),u=l.node().getBBox().width+i,d=Math.max(u,o);d===o&&(d+=i);let f,p=e.node().getBBox();t.doc,f=s-r,u>o&&(f=(o-d)/2+r),Math.abs(s-p.x)<r&&u>o&&(f=s-(u-o)/2);let m=1-c().state.textHeight;return e.insert(`rect`,`:first-child`).attr(`x`,f).attr(`y`,m).attr(`class`,n?`alt-composit`:`composit`).attr(`width`,d).attr(`height`,p.height+c().state.textHeight+c().state.titleShift+1).attr(`rx`,`0`),l.attr(`x`,f+r),u<=o&&l.attr(`x`,s+(d-i)/2-u/2+r),e.insert(`rect`,`:first-child`).attr(`x`,f).attr(`y`,c().state.titleShift-c().state.textHeight-c().state.padding).attr(`width`,d).attr(`height`,c().state.textHeight*3).attr(`rx`,c().state.radius),e.insert(`rect`,`:first-child`).attr(`x`,f).attr(`y`,c().state.titleShift-c().state.textHeight-c().state.padding).attr(`width`,d).attr(`height`,p.height+3+2*c().state.textHeight).attr(`rx`,c().state.radius),e},`addTitleAndBox`),b=a(e=>(e.append(`circle`).attr(`class`,`end-state-outer`).attr(`r`,c().state.sizeUnit+c().state.miniPadding).attr(`cx`,c().state.padding+c().state.sizeUnit+c().state.miniPadding).attr(`cy`,c().state.padding+c().state.sizeUnit+c().state.miniPadding),e.append(`circle`).attr(`class`,`end-state-inner`).attr(`r`,c().state.sizeUnit).attr(`cx`,c().state.padding+c().state.sizeUnit+2).attr(`cy`,c().state.padding+c().state.sizeUnit+2)),`drawEndState`),x=a((e,t)=>{let n=c().state.forkWidth,r=c().state.forkHeight;if(t.parentId){let e=n;n=r,r=e}return e.append(`rect`).style(`stroke`,`black`).style(`fill`,`black`).attr(`width`,n).attr(`height`,r).attr(`x`,c().state.padding).attr(`y`,c().state.padding)},`drawForkJoinState`),S=a((e,t,n,r)=>{let i=0,a=r.append(`text`);a.style(`text-anchor`,`start`),a.attr(`class`,`noteText`);let o=e.replace(/\r\n/g,`<br/>`);o=o.replace(/\n/g,`<br/>`);let s=o.split(u.lineBreakRegex),l=1.25*c().state.noteMargin;for(let e of s){let r=e.trim();if(r.length>0){let e=a.append(`tspan`);if(e.text(r),l===0){let t=e.node().getBBox();l+=t.height}i+=l,e.attr(`x`,t+c().state.noteMargin),e.attr(`y`,n+i+1.25*c().state.noteMargin)}}return{textWidth:a.node().getBBox().width,textHeight:i}},`_drawLongText`),C=a((e,t)=>{t.attr(`class`,`state-note`);let n=t.append(`rect`).attr(`x`,0).attr(`y`,c().state.padding),{textWidth:r,textHeight:i}=S(e,0,0,t.append(`g`));return n.attr(`height`,i+2*c().state.noteMargin),n.attr(`width`,r+c().state.noteMargin*2),n},`drawNote`),w=a(function(e,t){let n=t.id,r={id:n,label:t.id,width:0,height:0},i=e.append(`g`).attr(`id`,n).attr(`class`,`stateGroup`);t.type===`start`&&h(i),t.type===`end`&&b(i),(t.type===`fork`||t.type===`join`)&&x(i,t),t.type===`note`&&C(t.note.text,i),t.type===`divider`&&g(i),t.type===`default`&&t.descriptions.length===0&&_(i,t),t.type===`default`&&t.descriptions.length>0&&v(i,t);let a=i.node().getBBox();return r.width=a.width+2*c().state.padding,r.height=a.height+2*c().state.padding,r},`drawState`),T=0,E=a(function(e,r,o){let l=a(function(e){switch(e){case m.relationType.AGGREGATION:return`aggregation`;case m.relationType.EXTENSION:return`extension`;case m.relationType.COMPOSITION:return`composition`;case m.relationType.DEPENDENCY:return`dependency`}},`getRelationType`);r.points=r.points.filter(e=>!Number.isNaN(e.y));let f=r.points,p=d().x(function(e){return e.x}).y(function(e){return e.y}).curve(t),h=e.append(`path`).attr(`d`,p(f)).attr(`id`,`edge`+T).attr(`class`,`transition`),g=``;if(c().state.arrowMarkerAbsolute&&(g=s(!0)),h.attr(`marker-end`,`url(`+g+`#`+l(m.relationType.DEPENDENCY)+`End)`),o.title!==void 0){let t=e.append(`g`).attr(`class`,`stateLabel`),{x:a,y:s}=n.calcLabelPosition(r.points),l=u.getRows(o.title),d=0,f=[],p=0,m=0;for(let e=0;e<=l.length;e++){let n=t.append(`text`).attr(`text-anchor`,`middle`).text(l[e]).attr(`x`,a).attr(`y`,s+d),r=n.node().getBBox();p=Math.max(p,r.width),m=Math.min(m,r.x),i.info(r.x,a,s+d),d===0&&(d=n.node().getBBox().height,i.info(`Title height`,d,s)),f.push(n)}let h=d*l.length;if(l.length>1){let e=(l.length-1)*d*.5;f.forEach((t,n)=>t.attr(`y`,s+n*d-e)),h=d*l.length}let g=t.node().getBBox();t.insert(`rect`,`:first-child`).attr(`class`,`box`).attr(`x`,a-p/2-c().state.padding/2).attr(`y`,s-h/2-c().state.padding/2-3.5).attr(`width`,p+c().state.padding).attr(`height`,h+c().state.padding),i.info(g)}T++},`drawEdge`),D,O={},k=a(function(){},`setConf`),A=a(function(e){e.append(`defs`).append(`marker`).attr(`id`,`dependencyEnd`).attr(`refX`,19).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L9,13 L14,7 L9,1 Z`)},`insertMarkers`),j=a(function(e,t,n,r){D=c().state;let a=c().securityLevel,s;a===`sandbox`&&(s=o(`#i`+t));let u=o(a===`sandbox`?s.nodes()[0].contentDocument.body:`body`),d=a===`sandbox`?s.nodes()[0].contentDocument:document;i.debug(`Rendering diagram `+e);let f=u.select(`[id='${t}']`);A(f),N(r.db.getRootDoc(),f,void 0,!1,u,d,r);let p=D.padding,m=f.node().getBBox(),h=m.width+p*2,g=m.height+p*2;l(f,g,h*1.75,D.useMaxWidth),f.attr(`viewBox`,`${m.x-D.padding} ${m.y-D.padding} `+h+` `+g)},`draw`),M=a(e=>e?e.length*D.fontSizeFactor:1,`getLabelWidth`),N=a((t,n,a,o,s,c,l)=>{let d=new r({compound:!0,multigraph:!0}),f,p=!0;for(f=0;f<t.length;f++)if(t[f].stmt===`relation`){p=!1;break}a?d.setGraph({rankdir:`LR`,multigraph:!0,compound:!0,ranker:`tight-tree`,ranksep:p?1:D.edgeLengthFactor,nodeSep:p?1:50,isMultiGraph:!0}):d.setGraph({rankdir:`TB`,multigraph:!0,compound:!0,ranksep:p?1:D.edgeLengthFactor,nodeSep:p?1:50,ranker:`tight-tree`,isMultiGraph:!0}),d.setDefaultEdgeLabel(function(){return{}});let m=l.db.getStates(),h=l.db.getRelations(),g=Object.keys(m);for(let e of g){let t=m[e];a&&(t.parentId=a);let r;if(t.doc){let e=n.append(`g`).attr(`id`,t.id).attr(`class`,`stateGroup`);r=N(t.doc,e,t.id,!o,s,c,l);{e=y(e,t,o);let n=e.node().getBBox();r.width=n.width,r.height=n.height+D.padding/2,O[t.id]={y:D.compositTitleSize}}}else r=w(n,t,d);if(t.note){let e=w(n,{descriptions:[],id:t.id+`-note`,note:t.note,type:`note`},d);t.note.position===`left of`?(d.setNode(r.id+`-note`,e),d.setNode(r.id,r)):(d.setNode(r.id,r),d.setNode(r.id+`-note`,e)),d.setParent(r.id,r.id+`-group`),d.setParent(r.id+`-note`,r.id+`-group`)}else d.setNode(r.id,r)}i.debug(`Count=`,d.nodeCount(),d);let _=0;h.forEach(function(e){_++,i.debug(`Setting edge`,e),d.setEdge(e.id1,e.id2,{relation:e,width:M(e.title),height:D.labelHeight*u.getRows(e.title).length,labelpos:`c`},`id`+_)}),e(d),i.debug(`Graph after layout`,d.nodes());let v=n.node();d.nodes().forEach(function(e){e!==void 0&&d.node(e)!==void 0?(i.warn(`Node `+e+`: `+JSON.stringify(d.node(e))),s.select(`#`+v.id+` #`+e).attr(`transform`,`translate(`+(d.node(e).x-d.node(e).width/2)+`,`+(d.node(e).y+(O[e]?O[e].y:0)-d.node(e).height/2)+` )`),s.select(`#`+v.id+` #`+e).attr(`data-x-shift`,d.node(e).x-d.node(e).width/2),c.querySelectorAll(`#`+v.id+` #`+e+` .divider`).forEach(e=>{let t=e.parentElement,n=0,r=0;t&&(t.parentElement&&(n=t.parentElement.getBBox().width),r=parseInt(t.getAttribute(`data-x-shift`),10),Number.isNaN(r)&&(r=0)),e.setAttribute(`x1`,0-r+8),e.setAttribute(`x2`,n-r-8)})):i.debug(`No Node `+e+`: `+JSON.stringify(d.node(e)))});let b=v.getBBox();d.edges().forEach(function(e){e!==void 0&&d.edge(e)!==void 0&&(i.debug(`Edge `+e.v+` -> `+e.w+`: `+JSON.stringify(d.edge(e))),E(n,d.edge(e),d.edge(e).relation))}),b=v.getBBox();let x={id:a||`root`,label:a||`root`,width:0,height:0};return x.width=b.width+2*D.padding,x.height=b.height+2*D.padding,i.debug(`Doc rendered`,x,d),x},`renderDoc`),P={parser:p,get db(){return new m(1)},renderer:{setConf:k,draw:j},styles:f,init:a(e=>{e.state||={},e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},`init`)};export{P as diagram};
@@ -1 +0,0 @@
1
- import"./marked.esm-DUB0uiru.js";import"./chunk-S3R3BYOJ-Cd9h779p.js";import{h as e}from"./src-CoWzf9ks.js";import"./chunk-ABZYJK2D-CdjGnQAG.js";import"./dist-Bz_xenUc.js";import"./chunk-JA3XYJ7Z-sNwUl62K.js";import"./chunk-HN2XXSSU-CwOdrF1j.js";import"./chunk-CVBHYZKI-C8bYjiGm.js";import"./chunk-55IACEB6-Cno6J5VV.js";import"./chunk-QN33PNHL-D0yvFd3d.js";import"./chunk-ATLVNIR6-B-a6xbuN.js";import"./chunk-JZLCHNYA-1hqNzbwm.js";import"./chunk-QXUST7PY-CITmCGsw.js";import"./chunk-N4CR4FBY-p0tTIb8I.js";import{i as t,n,r,t as i}from"./chunk-DI55MBZ5-BxCqtRoX.js";var a={parser:n,get db(){return new i(2)},renderer:r,styles:t,init:e(e=>{e.state||={},e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},`init`)};export{a as diagram};
@@ -1 +0,0 @@
1
- import{t as e}from"./javascript-DpvUI8vq.js";import{t}from"./css-D3eCZIjt.js";import{t as n}from"./typescript-DCWwSN3O.js";import r from"./postcss-8wrDfWlb.js";const i=Object.freeze(JSON.parse(`{"displayName":"Svelte","fileTypes":["svelte"],"injections":{"L:(meta.script.svelte | meta.style.svelte) (meta.lang.js | meta.lang.javascript) - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.js","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.js"}]}]},"L:(meta.script.svelte | meta.style.svelte) (meta.lang.ts | meta.lang.typescript) - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.ts","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.ts"}]}]},"L:(meta.script.svelte | meta.style.svelte) meta.lang.coffee - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.coffee","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.coffee"}]}]},"L:(source.ts, source.js, source.coffee)":{"patterns":[{"match":"(?<![\\"$'./_[:alnum:]])\\\\$(?=[_[:alpha:]][$_[:alnum:]]*)","name":"punctuation.definition.variable.svelte"},{"match":"(?<![\\"$'./_[:alnum:]])(\\\\$\\\\$)(?=props|restProps|slots)","name":"punctuation.definition.variable.svelte"}]},"L:meta.script.svelte - meta.lang - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.js","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.js"}]}]},"L:meta.style.svelte - meta.lang - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.css"}]}]},"L:meta.style.svelte meta.lang.css - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.css"}]}]},"L:meta.style.svelte meta.lang.less - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css.less","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.css.less"}]}]},"L:meta.style.svelte meta.lang.postcss - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css.postcss","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.css.postcss"}]}]},"L:meta.style.svelte meta.lang.sass - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.sass","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.sass"}]}]},"L:meta.style.svelte meta.lang.scss - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css.scss","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.css.scss"}]}]},"L:meta.style.svelte meta.lang.stylus - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.stylus","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.stylus"}]}]},"L:meta.template.svelte - meta.lang - (meta source)":{"patterns":[{"begin":"(?<=>)\\\\s","end":"(?=</template)","patterns":[{"include":"#scope"}]}]},"L:meta.template.svelte meta.lang.pug - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"text.pug","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"text.pug"}]}]}},"name":"svelte","patterns":[{"include":"#scope"}],"repository":{"attributes":{"patterns":[{"include":"#attributes-directives"},{"include":"#attributes-keyvalue"},{"include":"#attributes-attach"},{"include":"#attributes-interpolated"}]},"attributes-attach":{"begin":"(?<![:=])\\\\s*(\\\\{@attach\\\\s)","captures":{"1":{"name":"entity.other.attribute-name.svelte"}},"contentName":"meta.embedded.expression.svelte source.ts","end":"(})","patterns":[{"include":"source.ts"}]},"attributes-directives":{"begin":"(?<!<)(on|use|bind|transition|in|out|animate|let|class|style)(:)(?:((?:--)?[$_[:alpha:]][-$_[:alnum:]]*(?=\\\\s*=))|((?:--)?[$_[:alpha:]][-$_[:alnum:]]*))((\\\\|\\\\w+)*)","beginCaptures":{"1":{"patterns":[{"include":"#attributes-directives-keywords"}]},"2":{"name":"punctuation.definition.keyword.svelte"},"3":{"patterns":[{"include":"#attributes-directives-types-assigned"}]},"4":{"patterns":[{"include":"#attributes-directives-types"}]},"5":{"patterns":[{"match":"\\\\w+","name":"support.function.svelte"},{"match":"\\\\|","name":"punctuation.separator.svelte"}]}},"end":"(?=\\\\s*+[^=\\\\s])","name":"meta.directive.$1.svelte","patterns":[{"begin":"=","beginCaptures":{"0":{"name":"punctuation.separator.key-value.svelte"}},"end":"(?<=[^=\\\\s])(?!\\\\s*=)|(?=/?>)","patterns":[{"include":"#attributes-value"}]}]},"attributes-directives-keywords":{"patterns":[{"match":"on|use|bind","name":"keyword.control.svelte"},{"match":"transition|in|out|animate","name":"keyword.other.animation.svelte"},{"match":"let","name":"storage.type.svelte"},{"match":"class|style","name":"entity.other.attribute-name.svelte"}]},"attributes-directives-types":{"patterns":[{"match":"(?<=(on):).*$","name":"entity.name.type.svelte"},{"match":"(?<=(bind):).*$","name":"variable.parameter.svelte"},{"match":"(?<=(use|transition|in|out|animate):).*$","name":"variable.function.svelte"},{"match":"(?<=(let|class|style):).*$","name":"variable.parameter.svelte"}]},"attributes-directives-types-assigned":{"patterns":[{"match":"(?<=(bind):)this$","name":"variable.language.svelte"},{"match":"(?<=(bind):).*$","name":"entity.name.type.svelte"},{"match":"(?<=(class):).*$","name":"entity.other.attribute-name.class.svelte"},{"match":"(?<=(style):).*$","name":"support.type.property-name.svelte"},{"include":"#attributes-directives-types"}]},"attributes-generics":{"begin":"(generics)(=)([\\"'])","beginCaptures":{"1":{"name":"entity.other.attribute-name.svelte"},"2":{"name":"punctuation.separator.key-value.svelte"},"3":{"name":"punctuation.definition.string.begin.svelte"}},"contentName":"meta.embedded.expression.svelte source.ts","end":"(\\\\3)","endCaptures":{"1":{"name":"punctuation.definition.string.end.svelte"}},"patterns":[{"include":"#type-parameters"}]},"attributes-interpolated":{"begin":"(?<![:=])\\\\s*(\\\\{)","captures":{"1":{"name":"entity.other.attribute-name.svelte"}},"contentName":"meta.embedded.expression.svelte source.ts","end":"(})","patterns":[{"include":"source.ts"}]},"attributes-keyvalue":{"begin":"((?:--)?[$_[:alpha:]][-$_[:alnum:]]*)","beginCaptures":{"0":{"patterns":[{"match":"--.*","name":"support.type.property-name.svelte"},{"match":".*","name":"entity.other.attribute-name.svelte"}]}},"end":"(?=\\\\s*+[^=\\\\s])","name":"meta.attribute.$1.svelte","patterns":[{"begin":"=","beginCaptures":{"0":{"name":"punctuation.separator.key-value.svelte"}},"end":"(?<=[^=\\\\s])(?!\\\\s*=)|(?=/?>)","patterns":[{"include":"#attributes-value"}]}]},"attributes-value":{"patterns":[{"include":"#interpolation"},{"captures":{"1":{"name":"punctuation.definition.string.begin.svelte"},"2":{"name":"constant.numeric.decimal.svelte"},"3":{"name":"punctuation.definition.string.end.svelte"},"4":{"name":"constant.numeric.decimal.svelte"}},"match":"([\\"'])([.0-9_]+[%\\\\w]{0,4})(\\\\1)|([.0-9_]+[%\\\\w]{0,4})(?=\\\\s|/?>)"},{"match":"([^\\"'/<=>\`\\\\s]|/(?!>))+","name":"string.unquoted.svelte","patterns":[{"include":"#interpolation"}]},{"begin":"([\\"'])","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.svelte"}},"end":"\\\\1","endCaptures":{"0":{"name":"punctuation.definition.string.end.svelte"}},"name":"string.quoted.svelte","patterns":[{"include":"#interpolation"}]}]},"comments":{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.svelte"}},"end":"-->","name":"comment.block.svelte","patterns":[{"begin":"(@)(component)","beginCaptures":{"1":{"name":"punctuation.definition.keyword.svelte"},"2":{"name":"storage.type.class.component.svelte keyword.declaration.class.component.svelte"}},"contentName":"comment.block.documentation.svelte","end":"(?=-->)","patterns":[{"captures":{"0":{"patterns":[{"include":"text.html.markdown"}]}},"match":".*?(?=-->)"},{"include":"text.html.markdown"}]},{"match":"\\\\G-?>|<!--(?!>)|<!-(?=-->)|--!>","name":"invalid.illegal.characters-not-allowed-here.svelte"}]},"destructuring":{"patterns":[{"begin":"(?=\\\\{)","end":"(?<=})","name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts#object-binding-pattern"}]},{"begin":"(?=\\\\[)","end":"(?<=])","name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts#array-binding-pattern"}]}]},"destructuring-const":{"patterns":[{"begin":"(?=\\\\{)","end":"(?<=})","name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts#object-binding-pattern-const"}]},{"begin":"(?=\\\\[)","end":"(?<=])","name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts#array-binding-pattern-const"}]}]},"interpolation":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.svelte"}},"contentName":"meta.embedded.expression.svelte source.ts","end":"}","endCaptures":{"0":{"name":"punctuation.section.embedded.end.svelte"}},"patterns":[{"begin":"\\\\G\\\\s*(?=\\\\{)","end":"(?<=})","patterns":[{"include":"source.ts#object-literal"}]},{"include":"source.ts"}]}]},"scope":{"patterns":[{"include":"#comments"},{"include":"#special-tags"},{"include":"#tags"},{"include":"#interpolation"},{"begin":"(?<=[>}])","end":"(?=[<{])","name":"text.svelte"}]},"special-tags":{"patterns":[{"include":"#special-tags-void"},{"include":"#special-tags-block-begin"},{"include":"#special-tags-block-end"}]},"special-tags-block-begin":{"begin":"(\\\\{)\\\\s*(#([a-z]*))","beginCaptures":{"1":{"name":"punctuation.definition.block.begin.svelte"},"2":{"patterns":[{"include":"#special-tags-keywords"}]}},"end":"(})","endCaptures":{"0":{"name":"punctuation.definition.block.end.svelte"}},"name":"meta.special.$3.svelte meta.special.start.svelte","patterns":[{"include":"#special-tags-modes"}]},"special-tags-block-end":{"begin":"(\\\\{)\\\\s*(/([a-z]*))","beginCaptures":{"1":{"name":"punctuation.definition.block.begin.svelte"},"2":{"patterns":[{"include":"#special-tags-keywords"}]}},"end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.svelte"}},"name":"meta.special.$3.svelte meta.special.end.svelte"},"special-tags-keywords":{"captures":{"1":{"name":"punctuation.definition.keyword.svelte"},"2":{"patterns":[{"match":"if|else\\\\s+if|else","name":"keyword.control.conditional.svelte"},{"match":"each|key","name":"keyword.control.svelte"},{"match":"await|then|catch","name":"keyword.control.flow.svelte"},{"match":"snippet","name":"keyword.control.svelte"},{"match":"html","name":"keyword.other.svelte"},{"match":"render","name":"keyword.other.svelte"},{"match":"debug","name":"keyword.other.debugger.svelte"},{"match":"const","name":"storage.type.svelte"}]}},"match":"([#/:@])(else\\\\s+if|[a-z]*)"},"special-tags-modes":{"patterns":[{"begin":"(?<=(if|key|then|catch|html|render).*?)\\\\G","end":"(?=})","name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts"}]},{"begin":"(?<=snippet.*?)\\\\G","end":"(?=})","name":"meta.embedded.expression.svelte source.ts","patterns":[{"captures":{"1":{"name":"entity.name.function.ts"}},"match":"\\\\G\\\\s*([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?=<)"},{"begin":"(?<=<)","contentName":"meta.type.parameters.ts","end":"(?=>)","patterns":[{"include":"source.ts"}]},{"begin":"(?<=>\\\\s*\\\\()","end":"(?=})","name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts"}]},{"begin":"\\\\G","end":"(?=})","name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts"}]}]},{"begin":"(?<=const.*?)\\\\G","end":"(?=})","patterns":[{"include":"#destructuring-const"},{"begin":"\\\\G\\\\s*([$_[:alpha:]][$_[:alnum:]]+)\\\\s*","beginCaptures":{"1":{"name":"variable.other.constant.svelte"}},"end":"(?=[:=])"},{"begin":"(?=:)","end":"(?==)","name":"meta.type.annotation.svelte","patterns":[{"include":"source.ts"}]},{"begin":"(?==)","end":"(?=})","name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts"}]}]},{"begin":"(?<=each.*?)\\\\G","end":"(?=})","patterns":[{"begin":"\\\\G\\\\s*?(?=\\\\S)","contentName":"meta.embedded.expression.svelte source.ts","end":"(?=(?:^\\\\s*|\\\\s+)(as)|\\\\s*([,}]))","patterns":[{"include":"source.ts"}]},{"begin":"(as)|(?=[,}])","beginCaptures":{"1":{"name":"keyword.control.as.svelte"}},"end":"(?=})","patterns":[{"include":"#destructuring"},{"begin":"\\\\(","captures":{"0":{"name":"meta.brace.round.svelte"}},"contentName":"meta.embedded.expression.svelte source.ts","end":"\\\\)|(?=})","patterns":[{"include":"source.ts"}]},{"captures":{"1":{"name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts"}]}},"match":"(\\\\s*([$_[:alpha:]][$_[:alnum:]]*)\\\\s*)"},{"match":",","name":"punctuation.separator.svelte"}]}]},{"begin":"(?<=await.*?)\\\\G","end":"(?=})","patterns":[{"begin":"\\\\G\\\\s*?(?=\\\\S)","contentName":"meta.embedded.expression.svelte source.ts","end":"\\\\s+(then)|(?=})","endCaptures":{"1":{"name":"keyword.control.flow.svelte"}},"patterns":[{"include":"source.ts"}]},{"begin":"(?<=then\\\\b)","contentName":"meta.embedded.expression.svelte source.ts","end":"(?=})","patterns":[{"include":"source.ts"}]}]},{"begin":"(?<=debug.*?)\\\\G","end":"(?=})","patterns":[{"captures":{"0":{"name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts"}]}},"match":"[$_[:alpha:]][$_[:alnum:]]*"},{"match":",","name":"punctuation.separator.svelte"}]}]},"special-tags-void":{"begin":"(\\\\{)\\\\s*([:@](else\\\\s+if|[a-z]*))","beginCaptures":{"1":{"name":"punctuation.definition.block.begin.svelte"},"2":{"patterns":[{"include":"#special-tags-keywords"}]}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.end.svelte"}},"name":"meta.special.$3.svelte","patterns":[{"include":"#special-tags-modes"}]},"tags":{"patterns":[{"include":"#tags-lang"},{"include":"#tags-void"},{"include":"#tags-general-end"},{"include":"#tags-general-start"}]},"tags-end-node":{"captures":{"1":{"name":"meta.tag.end.svelte punctuation.definition.tag.begin.svelte"},"2":{"name":"meta.tag.end.svelte","patterns":[{"include":"#tags-name"}]},"3":{"name":"meta.tag.end.svelte punctuation.definition.tag.end.svelte"},"4":{"name":"meta.tag.start.svelte punctuation.definition.tag.end.svelte"}},"match":"(</)(.*?)\\\\s*(>)|(/>)"},"tags-general-end":{"begin":"(</)([^/>\\\\s]*)","beginCaptures":{"1":{"name":"meta.tag.end.svelte punctuation.definition.tag.begin.svelte"},"2":{"name":"meta.tag.end.svelte","patterns":[{"include":"#tags-name"}]}},"end":"(>)","endCaptures":{"1":{"name":"meta.tag.end.svelte punctuation.definition.tag.end.svelte"}},"name":"meta.scope.tag.$2.svelte"},"tags-general-start":{"begin":"(<)([^/>\\\\s]*)","beginCaptures":{"0":{"patterns":[{"include":"#tags-start-node"}]}},"end":"(/?>)","endCaptures":{"1":{"name":"meta.tag.start.svelte punctuation.definition.tag.end.svelte"}},"name":"meta.scope.tag.$2.svelte","patterns":[{"include":"#tags-start-attributes"}]},"tags-lang":{"begin":"<(script|style|template)","beginCaptures":{"0":{"patterns":[{"include":"#tags-start-node"}]}},"end":"</\\\\1\\\\s*>|/>","endCaptures":{"0":{"patterns":[{"include":"#tags-end-node"}]}},"name":"meta.$1.svelte","patterns":[{"begin":"\\\\G(?=\\\\s*[^>]*?(type|lang)\\\\s*=\\\\s*([\\"']?)(?:text/)?(\\\\w+)\\\\2)","end":"(?=</|/>)","name":"meta.lang.$3.svelte","patterns":[{"include":"#tags-lang-start-attributes"}]},{"include":"#tags-lang-start-attributes"}]},"tags-lang-start-attributes":{"begin":"\\\\G","end":"(?=/>)|>","endCaptures":{"0":{"name":"punctuation.definition.tag.end.svelte"}},"name":"meta.tag.start.svelte","patterns":[{"include":"#attributes-generics"},{"include":"#attributes"}]},"tags-name":{"patterns":[{"captures":{"1":{"name":"keyword.control.svelte"},"2":{"name":"punctuation.definition.keyword.svelte"},"3":{"name":"entity.name.tag.svelte"}},"match":"(svelte)(:)([a-z][-:\\\\w]*)"},{"match":"slot","name":"keyword.control.svelte"},{"captures":{"1":{"patterns":[{"match":"\\\\w+","name":"support.class.component.svelte"},{"match":"\\\\.","name":"punctuation.definition.keyword.svelte"}]},"2":{"name":"support.class.component.svelte"}},"match":"(\\\\w+(?:\\\\.\\\\w+)+)|([A-Z]\\\\w*)"},{"match":"[a-z][0-:\\\\w]*-[-0-:\\\\w]*","name":"meta.tag.custom.svelte entity.name.tag.svelte"},{"match":"[a-z][-0-:\\\\w]*","name":"entity.name.tag.svelte"}]},"tags-start-attributes":{"begin":"\\\\G","end":"(?=/?>)","name":"meta.tag.start.svelte","patterns":[{"include":"#attributes"}]},"tags-start-node":{"captures":{"1":{"name":"punctuation.definition.tag.begin.svelte"},"2":{"patterns":[{"include":"#tags-name"}]}},"match":"(<)([^/>\\\\s]*)","name":"meta.tag.start.svelte"},"tags-void":{"begin":"(<)(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)(?=\\\\s|/?>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.svelte"},"2":{"name":"entity.name.tag.svelte"}},"end":"/?>","endCaptures":{"0":{"name":"punctuation.definition.tag.begin.svelte"}},"name":"meta.tag.void.svelte","patterns":[{"include":"#attributes"}]},"type-parameters":{"name":"meta.type.parameters.ts","patterns":[{"include":"source.ts#comment"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(extends|in|out|const)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"storage.modifier.ts"},{"include":"source.ts#type"},{"include":"source.ts#punctuation-comma"},{"match":"(=)(?!>)","name":"keyword.operator.assignment.ts"}]}},"scopeName":"source.svelte","embeddedLangs":["javascript","typescript","css","postcss"],"embeddedLangsLazy":["coffee","stylus","sass","scss","less","pug","markdown"]}`));var a=[...e,...n,...t,...r,i];export{a as default};
@@ -1 +0,0 @@
1
- import{t as e}from"./javascript-DpvUI8vq.js";import{t}from"./css-D3eCZIjt.js";import n from"./go-BaSASZlM.js";const r=Object.freeze(JSON.parse(`{"displayName":"Templ","name":"templ","patterns":[{"include":"#script-template"},{"include":"#css-template"},{"include":"#html-template"},{"include":"source.go"}],"repository":{"block-element":{"begin":"(</?)((?i:address|blockquote|dd|div|section|article|aside|header|footer|nav|menu|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|pre)(?=[>\\\\\\\\\\\\s]))","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.block.any.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.block.any.html","patterns":[{"include":"#tag-stuff"}]},"call-expression":{"begin":"(\\\\{!)\\\\s+","beginCaptures":{"0":{"name":"start.call-expression.templ"},"1":{"name":"punctuation.brace.open"}},"end":"(})","endCaptures":{"0":{"name":"end.call-expression.templ"},"1":{"name":"punctuation.brace.close"}},"name":"call-expression.templ","patterns":[{"include":"source.go"}]},"case-expression":{"begin":"^\\\\s*case .+?:$","captures":{"0":{"name":"case.switch.html-template.templ","patterns":[{"include":"source.go"}]}},"end":"(?:^(\\\\s*case .+?:)|^(\\\\s*default:)|(\\\\s*))$","patterns":[{"include":"#template-node"}]},"close-element":{"begin":"(</?)([-0-:A-Za-z]+)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.other.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.other.html","patterns":[{"include":"#tag-stuff"}]},"css-template":{"begin":"^(css) ([A-z][0-9A-z]*\\\\()","beginCaptures":{"1":{"name":"keyword.control.go"},"2":{"patterns":[{"include":"source.go"}]}},"end":"(?<=^}$)","name":"css-template.templ","patterns":[{"begin":"(?<=\\\\()","end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.end.bracket.round.go"}},"name":"params.css-template.templ","patterns":[{"include":"source.go"}]},{"begin":"(?<=\\\\))\\\\s*(\\\\{)$","beginCaptures":{"1":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"^(})$","endCaptures":{"1":{"name":"punctuation.definition.end.bracket.curly.go"}},"name":"block.css-template.templ","patterns":[{"begin":"\\\\s*((?:-(?:webkit|moz|o|ms|khtml)-)?(?:zoom|z-index|[xy]|writing-mode|wrap|wrap-through|wrap-inside|wrap-flow|wrap-before|wrap-after|word-wrap|word-spacing|word-break|word|will-change|width|widows|white-space-collapse|white-space|white|weight|volume|voice-volume|voice-stress|voice-rate|voice-pitch-range|voice-pitch|voice-family|voice-duration|voice-balance|voice|visibility|vertical-align|vector-effect|variant|user-zoom|user-select|up|unicode-(bidi|range)|trim|translate|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform-box|transform|touch-action|top-width|top-style|top-right-radius|top-left-radius|top-color|top|timing-function|text-wrap|text-underline-position|text-transform|text-spacing|text-space-trim|text-space-collapse|text-size-adjust|text-shadow|text-replace|text-rendering|text-overflow|text-outline|text-orientation|text-justify|text-indent|text-height|text-emphasis-style|text-emphasis-skip|text-emphasis-position|text-emphasis-color|text-emphasis|text-decoration-style|text-decoration-stroke|text-decoration-skip|text-decoration-line|text-decoration-fill|text-decoration-color|text-decoration|text-combine-upright|text-anchor|text-align-last|text-align-all|text-align|text|target-position|target-new|target-name|target|table-layout|tab-size|system|symbols|suffix|style-type|style-position|style-image|style|stroke-width|stroke-opacity|stroke-miterlimit|stroke-linejoin|stroke-linecap|stroke-dashoffset|stroke-dasharray|stroke|string-set|stretch|stress|stop-opacity|stop-color|stacking-strategy|stacking-shift|stacking-ruby|stacking|src|speed|speech-rate|speech|speak-punctuation|speak-numeral|speak-header|speak-as|speak|span|spacing|space-collapse|space|solid-opacity|solid-color|sizing|size-adjust|size|shape-rendering|shape-padding|shape-outside|shape-margin|shape-inside|shape-image-threshold|shadow|scroll-snap-type|scroll-snap-points-y|scroll-snap-points-x|scroll-snap-destination|scroll-snap-coordinate|scroll-behavior|scale|ry|rx|respond-to|rule-width|rule-style|rule-color|rule|ruby-span|ruby-position|ruby-overhang|ruby-merge|ruby-align|ruby|rows|rotation-point|rotation|rotate|role|right-width|right-style|right-color|right|richness|rest-before|rest-after|rest|resource|resolution|resize|reset|replace|repeat|rendering-intent|region-fragment|rate|range|radius|r|quotes|punctuation-trim|punctuation|property|profile|presentation-level|presentation|prefix|position|pointer-events|point|play-state|play-during|play-count|pitch-range|pitch|phonemes|perspective-origin|perspective|pause-before|pause-after|pause|page-policy|page-break-inside|page-break-before|page-break-after|page|padding-top|padding-right|padding-left|padding-inline-start|padding-inline-end|padding-bottom|padding-block-start|padding-block-end|padding|pad|pack|overhang|overflow-y|overflow-x|overflow-wrap|overflow-style|overflow-inline|overflow-block|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|origin|orientation|orient|ordinal-group|order|opacity|offset-start|offset-inline-start|offset-inline-end|offset-end|offset-block-start|offset-block-end|offset-before|offset-after|offset|object-position|object-fit|numeral|new|negative|nav-up|nav-right|nav-left|nav-index|nav-down|nav|name|move-to|motion-rotation|motion-path|motion-offset|motion|model|mix-blend-mode|min-zoom|min-width|min-inline-size|min-height|min-block-size|min|max-zoom|max-width|max-lines|max-inline-size|max-height|max-block-size|max|mask-type|mask-size|mask-repeat|mask-position|mask-origin|mask-mode|mask-image|mask-composite|mask-clip|mask-border-width|mask-border-source|mask-border-slice|mask-border-repeat|mask-border-outset|mask-border-mode|mask-border|mask|marquee-style|marquee-speed|marquee-play-count|marquee-loop|marquee-direction|marquee|marks|marker-start|marker-side|marker-mid|marker-end|marker|margin-top|margin-right|margin-left|margin-inline-start|margin-inline-end|margin-bottom|margin-block-start|margin-block-end|margin|list-style-type|list-style-position|list-style-image|list-style|list|lines|line-stacking-strategy|line-stacking-shift|line-stacking-ruby|line-stacking|line-snap|line-height|line-grid|line-break|line|lighting-color|level|letter-spacing|length|left-width|left-style|left-color|left|label|kerning|justify-self|justify-items|justify-content|justify|iteration-count|isolation|inline-size|inline-box-align|initial-value|initial-size|initial-letter-wrap|initial-letter-align|initial-letter|initial-before-align|initial-before-adjust|initial-after-align|initial-after-adjust|index|indent|increment|image-rendering|image-resolution|image-orientation|image|icon|hyphens|hyphenate-limit-zone|hyphenate-limit-lines|hyphenate-limit-last|hyphenate-limit-chars|hyphenate-character|hyphenate|height|header|hanging-punctuation|grid-template-rows|grid-template-columns|grid-template-areas|grid-template|grid-row-start|grid-row-gap|grid-row-end|grid-rows??|grid-gap|grid-column-start|grid-column-gap|grid-column-end|grid-columns??|grid-auto-rows|grid-auto-flow|grid-auto-columns|grid-area|grid|glyph-orientation-vertical|glyph-orientation-horizontal|gap|font-weight|font-variant-position|font-variant-numeric|font-variant-ligatures|font-variant-east-asian|font-variant-caps|font-variant-alternates|font-variant|font-synthesis|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|flow-into|flow-from|flow|flood-opacity|flood-color|float-offset|float|flex-wrap|flex-shrink|flex-grow|flex-group|flex-flow|flex-direction|flex-basis|flex|fit-position|fit|filter|fill-rule|fill-opacity|fill|family|fallback|enable-background|empty-cells|emphasis|elevation|duration|drop-initial-value|drop-initial-size|drop-initial-before-align|drop-initial-before-adjust|drop-initial-after-align|drop-initial-after-adjust|drop|down|dominant-baseline|display-role|display-model|display|direction|delay|decoration-break|decoration|cy|cx|cursor|cue-before|cue-after|cue|crop|counter-set|counter-reset|counter-increment|counter|count|corner-shape|corners|continue|content|contain|columns|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|column-break-before|column-break-after|column|color-rendering|color-profile|color-interpolation-filters|color-interpolation|color-adjust|color|collapse|clip-rule|clip-path|clip|clear|character|caret-shape|caret-color|caret|caption-side|buffered-rendering|break-inside|break-before|break-after|break|box-suppress|box-snap|box-sizing|box-shadow|box-pack|box-orient|box-ordinal-group|box-lines|box-flex-group|box-flex|box-direction|box-decoration-break|box-align|box|bottom-width|bottom-style|bottom-right-radius|bottom-left-radius|bottom-color|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-limit|border-length|border-left-width|border-left-style|border-left-color|border-left|border-inline-start-width|border-inline-start-style|border-inline-start-color|border-inline-start|border-inline-end-width|border-inline-end-style|border-inline-end-color|border-inline-end|border-image-width|border-image-transform|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-clip-top|border-clip-right|border-clip-left|border-clip-bottom|border-clip|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border-block-start-width|border-block-start-style|border-block-start-color|border-block-start|border-block-end-width|border-block-end-style|border-block-end-color|border-block-end|border|bookmark-target|bookmark-level|bookmark-label|bookmark|block-size|binding|bidi|before|baseline-shift|baseline|balance|background-size|background-repeat|background-position-y|background-position-x|background-position-inline|background-position-block|background-position|background-origin|background-image|background-color|background-clip|background-blend-mode|background-attachment|background|backface-visibility|backdrop-filter|azimuth|attachment|appearance|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|alt|all|alignment-baseline|alignment-adjust|alignment|align-last|align-self|align-items|align-content|align|after|adjust|additive-symbols)):\\\\s+","beginCaptures":{"1":{"name":"support.type.property-name.css"}},"end":"(?<=;$)","name":"property.css-template.templ","patterns":[{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"(})(;)$","endCaptures":{"1":{"name":"punctuation.definition.end.bracket.curly.go"},"2":{"name":"punctuation.terminator.rule.css"}},"name":"expression.property.css-template.templ","patterns":[{"include":"source.go"}]},{"captures":{"1":{"name":"support.type.property-value.css"},"2":{"name":"punctuation.terminator.rule.css"}},"match":"(.*)(;)$","name":"constant.property.css-template.templ"}]}]}]},"default-expression":{"begin":"^\\\\s*default:$","captures":{"0":{"name":"default.switch.html-template.templ","patterns":[{"include":"source.go"}]}},"end":"(?:^(\\\\s*case .+?:)|^(\\\\s*default:)|(\\\\s*))$","patterns":[{"include":"#template-node"}]},"element":{"begin":"(<)([-0-:A-Za-z]++)(?=[^>]*></\\\\2>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.html"}},"end":"(>(<)/)(\\\\2)(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"meta.scope.between-tag-pair.html"},"3":{"name":"entity.name.tag.html"},"4":{"name":"punctuation.definition.tag.html"}},"name":"meta.tag.any.html","patterns":[{"include":"#tag-stuff"}]},"else-expression":{"begin":"\\\\s+(else)\\\\s+(\\\\{)\\\\s*$","beginCaptures":{"1":{"name":"keyword.control.go"},"2":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"^\\\\s*(})$","endCaptures":{"1":{"name":"punctuation.definition.end.bracket.curly.go"}},"name":"else.html-template.templ","patterns":[{"include":"#template-node"}]},"else-if-expression":{"begin":"\\\\s(else if)\\\\s","beginCaptures":{"1":{"name":"keyword.control.go"}},"end":"(?<=})","name":"else-if.html-template.templ","patterns":[{"begin":"(?<=if\\\\s)","end":"(\\\\{)$","endCaptures":{"1":{"name":"punctuation.definition.begin.bracket.curly.go"}},"name":"expression.else-if.html-template.templ","patterns":[{"include":"source.go"}]},{"begin":"(?<=\\\\{)$","end":"^\\\\s*(})","endCaptures":{"1":{"name":"punctuation.definition.end.bracket.curly.go"}},"name":"block.else-if.html-template.templ","patterns":[{"include":"#template-node"}]}]},"entities":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.entity.html"},"3":{"name":"punctuation.definition.entity.html"}},"match":"(&)([0-9A-Za-z]+|#[0-9]+|#[Xx]\\\\h+)(;)","name":"constant.character.entity.html"},{"match":"&","name":"invalid.illegal.bad-ampersand.html"}]},"for-expression":{"begin":"^\\\\s*for .+\\\\{","captures":{"0":{"name":"meta.embedded.block.go","patterns":[{"include":"source.go"}]}},"end":"\\\\s*}\\\\s*\\\\n","name":"for.html-template.templ","patterns":[{"include":"#template-node"}]},"go-comment-block":{"begin":"(/\\\\*)","beginCaptures":{"1":{"name":"punctuation.definition.comment.go"}},"end":"(\\\\*/)","endCaptures":{"1":{"name":"punctuation.definition.comment.go"}},"name":"comment.block.go"},"go-comment-double-slash":{"begin":"(//)","beginCaptures":{"1":{"name":"punctuation.definition.comment.go"}},"end":"\\\\n|$","name":"comment.line.double-slash.go"},"html-comment":{"begin":"<!--","beginCaptures":{"0":{"name":"punctuation.definition.comment.html"}},"end":"-->","endCaptures":{"0":{"name":"punctuation.definition.comment.html"}},"name":"comment.block.html"},"html-template":{"begin":"^(templ) ((?:\\\\((?:[A-Z_a-z][0-9A-Z_a-z]*\\\\s+\\\\*?[A-Z_a-z][0-9A-Z_a-z]*|\\\\*?[A-Z_a-z][0-9A-Z_a-z]*)\\\\)\\\\s*)?[A-Z_a-z][0-9A-Z_a-z]*([(\\\\[]))","beginCaptures":{"1":{"name":"keyword.control.go"},"2":{"patterns":[{"include":"source.go"}]}},"end":"(?<=^}$)","name":"html-template.templ","patterns":[{"begin":"(?<=\\\\()","end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.end.bracket.round.go"}},"name":"params.html-template.templ","patterns":[{"include":"source.go"}]},{"begin":"(?<=\\\\[)","end":"(])","endCaptures":{"1":{"name":"punctuation.definition.end.bracket.square.go"}},"name":"type-params.html-template.templ","patterns":[{"include":"source.go"}]},{"begin":"(?<=\\\\))\\\\s*(\\\\{)$","beginCaptures":{"1":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"^(})$","endCaptures":{"1":{"name":"punctuation.definition.end.bracket.curly.go"}},"name":"block.html-template.templ","patterns":[{"include":"#template-node"}]}]},"if-expression":{"begin":"^\\\\s*(if)\\\\s","beginCaptures":{"1":{"name":"keyword.control.go"}},"end":"(?<=})","name":"if.html-template.templ","patterns":[{"begin":"(?<=if\\\\s)","end":"(\\\\{)$","endCaptures":{"1":{"name":"punctuation.definition.begin.bracket.curly.go"}},"name":"expression.if.html-template.templ","patterns":[{"include":"source.go"}]},{"begin":"(?<=\\\\{)$","end":"^\\\\s*(})","endCaptures":{"1":{"name":"punctuation.definition.end.bracket.curly.go"}},"name":"block.if.html-template.templ","patterns":[{"include":"#template-node"}]}]},"import-expression":{"patterns":[{"begin":"(@)((?:[A-z][0-9A-z]*\\\\.)?[A-z][0-9A-z]*(?:[({]|$))","beginCaptures":{"1":{"name":"keyword.control.go"},"2":{"patterns":[{"include":"source.go"}]}},"end":"(?<=\\\\))$|(?<=})$|(?<=$)","name":"import-expression.templ","patterns":[{"begin":"(?<=[0-9A-z]\\\\{)","end":"\\\\s*(})(\\\\.[A-z][0-9A-z]*\\\\()","endCaptures":{"1":{"name":"punctuation.definition.end.bracket.curly.go"},"2":{"patterns":[{"include":"source.go"}]}},"name":"struct-method.import-expression.templ","patterns":[{"include":"source.go"}]},{"begin":"(?<=\\\\()","end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.end.bracket.round.go"}},"name":"params.import-expression.templ","patterns":[{"include":"source.go"}]},{"begin":"(?<=\\\\))\\\\s(\\\\{)$","beginCaptures":{"1":{"name":"punctuation.brace.open"}},"end":"^\\\\s*(})$","endCaptures":{"1":{"name":"punctuation.brace.close"}},"name":"children.import-expression.templ","patterns":[{"include":"#template-node"}]}]}]},"inline-element":{"begin":"(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|[qs]|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)(?=[>\\\\\\\\\\\\s]))","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.inline.any.html"}},"end":"((?: ?/)?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.inline.any.html","patterns":[{"include":"#tag-stuff"}]},"raw-go":{"begin":"\\\\{\\\\{","beginCaptures":{"0":{"name":"start.raw-go.templ"},"1":{"name":"punctuation.brace.open"}},"end":"}}","endCaptures":{"0":{"name":"end.raw-go.templ"},"1":{"name":"punctuation.brace.open"}},"name":"raw-go.templ","patterns":[{"include":"source.go"}]},"script-element":{"begin":"(<)(script)([^>]*)(>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.html"},"3":{"patterns":[{"include":"#tag-stuff"}]},"4":{"name":"punctuation.definition.tag.html"}},"end":"<\/script>","endCaptures":{"0":{"patterns":[{"include":"#close-element"}]}},"name":"meta.tag.script.html","patterns":[{"include":"source.js"}]},"script-template":{"begin":"^(script) ([A-z][0-9A-z]*\\\\()","beginCaptures":{"1":{"name":"keyword.control.go"},"2":{"patterns":[{"include":"source.go"}]}},"end":"(?<=^}$)","name":"script-template.templ","patterns":[{"begin":"(?<=\\\\()","end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.end.bracket.round.go"}},"name":"params.script-template.templ","patterns":[{"include":"source.go"}]},{"begin":"(?<=\\\\))\\\\s*(\\\\{)$","beginCaptures":{"1":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"^(})$","endCaptures":{"1":{"name":"punctuation.definition.end.bracket.curly.go"}},"name":"block.script-template.templ","patterns":[{"include":"source.js"}]}]},"sgml":{"begin":"<!","captures":{"0":{"name":"punctuation.definition.tag.html"}},"end":">","name":"meta.tag.sgml.html","patterns":[{"begin":"(?i:DOCTYPE)","captures":{"1":{"name":"entity.name.tag.doctype.html"}},"end":"(?=>)","name":"meta.tag.sgml.doctype.html","patterns":[{"match":"\\"[^\\">]*\\"","name":"string.quoted.double.doctype.identifiers-and-DTDs.html"}]},{"begin":"\\\\[CDATA\\\\[","end":"]](?=>)","name":"constant.other.inline-data.html"},{"match":"(\\\\s*)(?!--|>)\\\\S(\\\\s*)","name":"invalid.illegal.bad-comments-or-CDATA.html"}]},"string-double-quoted":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#entities"}]},"string-expression":{"begin":"\\\\{\\\\s+","beginCaptures":{"0":{"name":"start.string-expression.templ"}},"end":"}","endCaptures":{"0":{"name":"end.string-expression.templ"}},"name":"expression.html-template.templ","patterns":[{"include":"source.go"}]},"style-element":{"begin":"(<)(style)([^>]*)(>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.html"},"3":{"patterns":[{"include":"#tag-stuff"}]},"4":{"name":"punctuation.definition.tag.html"}},"end":"</style>","endCaptures":{"0":{"patterns":[{"include":"#close-element"}]}},"name":"meta.tag.style.html","patterns":[{"include":"source.css"}]},"switch-expression":{"begin":"^\\\\s*switch .+?\\\\{$","captures":{"0":{"name":"meta.embedded.block.go","patterns":[{"include":"source.go"}]}},"end":"^\\\\s*}$","name":"switch.html-template.templ","patterns":[{"include":"#template-node"},{"include":"#case-expression"},{"include":"#default-expression"}]},"tag-else-attribute":{"begin":"\\\\s(else)\\\\s(\\\\{)$","beginCaptures":{"1":{"name":"keyword.control.go"},"2":{"name":"punctuation.brace.open"}},"end":"^\\\\s*(})$","endCaptures":{"1":{"name":"punctuation.brace.close"}},"name":"else.attribute.html","patterns":[{"include":"#tag-stuff"}]},"tag-else-if-attribute":{"begin":"\\\\s(else if)\\\\s","beginCaptures":{"1":{"name":"keyword.control.go"}},"end":"(?<=})","name":"else-if.attribute.html","patterns":[{"begin":"(?<=if\\\\s)","end":"(\\\\{)$","endCaptures":{"1":{"name":"punctuation.brace.open"}},"name":"expression.else-if.attribute.html","patterns":[{"include":"source.go"}]},{"begin":"(?<=\\\\{)$","end":"^\\\\s*(})","endCaptures":{"1":{"name":"punctuation.brace.close"}},"name":"block.else-if.attribute.html","patterns":[{"include":"#tag-stuff"}]}]},"tag-generic-attribute":{"match":"(?<=[^=])\\\\b([-0-:A-Za-z]+)","name":"entity.other.attribute-name.html"},"tag-id-attribute":{"begin":"\\\\b(id)\\\\b\\\\s*(=)","captures":{"1":{"name":"entity.other.attribute-name.id.html"},"2":{"name":"punctuation.separator.key-value.html"}},"end":"(?!\\\\G)(?<=[\\"'[^/<>\\\\s]])","name":"meta.attribute-with-value.id.html","patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#entities"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"#entities"}]},{"captures":{"0":{"name":"meta.toc-list.id.html"}},"match":"(?<==)(?:[^\\"'/<>{}\\\\s]|/(?!>))+","name":"string.unquoted.html"}]},"tag-if-attribute":{"begin":"^\\\\s*(if)\\\\s","beginCaptures":{"1":{"name":"keyword.control.go"}},"end":"(?<=})","name":"if.attribute.html","patterns":[{"begin":"(?<=if\\\\s)","end":"(\\\\{)$","endCaptures":{"1":{"name":"punctuation.brace.open"}},"name":"expression.if.attribute.html","patterns":[{"include":"source.go"}]},{"begin":"(?<=\\\\{)$","end":"^\\\\s*(})","endCaptures":{"1":{"name":"punctuation.brace.close"}},"name":"block.if.attribute.html","patterns":[{"include":"#tag-stuff"}]}]},"tag-stuff":{"patterns":[{"include":"#tag-id-attribute"},{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-expression"},{"include":"#tag-if-attribute"},{"include":"#tag-else-if-attribute"},{"include":"#tag-else-attribute"}]},"template-node":{"patterns":[{"include":"#string-expression"},{"include":"#call-expression"},{"include":"#import-expression"},{"include":"#script-element"},{"include":"#style-element"},{"include":"#element"},{"include":"#html-comment"},{"include":"#go-comment-block"},{"include":"#go-comment-double-slash"},{"include":"#sgml"},{"include":"#block-element"},{"include":"#inline-element"},{"include":"#close-element"},{"include":"#else-if-expression"},{"include":"#if-expression"},{"include":"#else-expression"},{"include":"#for-expression"},{"include":"#switch-expression"},{"include":"#raw-go"}]}},"scopeName":"source.templ","embeddedLangs":["go","javascript","css"]}`));var i=[...n,...e,...t,r];export{i as default};
@@ -1 +0,0 @@
1
- import"./chunk-FPAJGGOC-D0u_HszA.js";import{n as e,t}from"./chunk-FWNWRKHM-Bc3rI6wu.js";export{e as createTreemapServices};