runcell 0.1.15a10__py3-none-any.whl → 0.1.16__py3-none-any.whl

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 (559) hide show
  1. d5m_ai/_version.py +1 -1
  2. d5m_ai/agent/proxy_handler.py +19 -7
  3. d5m_ai/agent/tools/local/shell.py +63 -13
  4. d5m_ai/chat/chat_proxy_handler.py +1 -1
  5. d5m_ai/completion/__init__.py +11 -1
  6. d5m_ai/edit/shell_executor.py +64 -16
  7. d5m_ai/empty_display/__init__.py +3 -0
  8. d5m_ai/empty_display/empty_display_handler.py +137 -0
  9. d5m_ai/extension.py +12 -1
  10. d5m_ai/git_status_handler.py +225 -0
  11. d5m_ai/gitignore_handler.py +120 -0
  12. d5m_ai/labextension/package.json +7 -2
  13. d5m_ai/labextension/schemas/runcell/file-browser-toggle.json +22 -0
  14. d5m_ai/labextension/schemas/runcell/package.json.orig +7 -2
  15. d5m_ai/labextension/static/1105.da3b3cc0801d5b7daf78.js +1 -0
  16. d5m_ai/labextension/static/1113.a6206c1ce30c44e74d65.js +1 -0
  17. d5m_ai/labextension/static/1424.7330f97f81a7cbac0293.js +1 -0
  18. d5m_ai/labextension/static/1482.5594d3330698044d51b6.js +1 -0
  19. d5m_ai/labextension/static/1681.b7dbfbfc8e8bb443b01d.js +1 -0
  20. d5m_ai/labextension/static/1741.0e30660c73a4aa6109e0.js +1 -0
  21. d5m_ai/labextension/static/1980.a1d8fd213c03964ca2dd.js +1 -0
  22. d5m_ai/labextension/static/2313.e3756d51e535b61cbc41.js +1 -0
  23. d5m_ai/labextension/static/2331.f0e4d66886493b7ff0f6.js +48 -0
  24. d5m_ai/labextension/static/{4734.4e6afd0c5fd50926f67c.js → 2353.7b6b36b3164a86427209.js} +1 -1
  25. d5m_ai/labextension/static/239.17dc9f15aff0e2c966f0.js +1 -0
  26. d5m_ai/labextension/static/2443.590c85be4982d61f9378.js +1 -0
  27. d5m_ai/labextension/static/2490.742d719657af69afad3e.js +1 -0
  28. d5m_ai/labextension/static/2636.c45f9685b0508a44882a.js +1 -0
  29. d5m_ai/labextension/static/2726.e9c471b4ad7fed0d085b.js +1 -0
  30. d5m_ai/labextension/static/2783.e11cc76ea288d3c135d0.js +1 -0
  31. d5m_ai/labextension/static/2922.8cdf00bb7d09c5419d78.js +2 -0
  32. d5m_ai/labextension/static/2951.ef10b72fe6b301f68146.js +1 -0
  33. d5m_ai/labextension/static/2958.38f8dc8fc705367ecec4.js +1 -0
  34. d5m_ai/labextension/static/{5408.f0ba6921f1e4477b4a96.js → 3027.2226147340da305061f3.js} +1 -1
  35. d5m_ai/labextension/static/3033.98d8aa6a2f13a942b945.js +1 -0
  36. d5m_ai/labextension/static/3131.5b8a2d5bc188f95b8229.js +1 -0
  37. d5m_ai/labextension/static/{3246.aa2cfa5fa8d2402d7cdf.js → 3340.6609b3985073e002c83d.js} +2 -2
  38. d5m_ai/labextension/static/{415.c2838574e93d05eb13ea.js → 415.0a1fdc1d9f76c0431d42.js} +1 -1
  39. d5m_ai/labextension/static/4175.550a71c6766138e5a6ee.js +1 -0
  40. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/4296.22c023f73b9ef8838492.js → d5m_ai/labextension/static/4296.7f1db6691a4ac120a383.js +1 -1
  41. d5m_ai/labextension/static/434.bfe4f51db2eb9644fbe7.js +2 -0
  42. d5m_ai/labextension/static/4497.5c0323113f039c9558b6.js +1 -0
  43. d5m_ai/labextension/static/4664.73a65498a9c43ddcf17e.js +1 -0
  44. d5m_ai/labextension/static/4704.10a6eacaafe29bf2c42a.js +1 -0
  45. d5m_ai/labextension/static/5112.5f1cd8ee9c2297a251f7.js +1 -0
  46. d5m_ai/labextension/static/5228.05d972957a2421ec1ce0.js +1 -0
  47. d5m_ai/labextension/static/5264.37c842e2843ca2bf4298.js +1 -0
  48. d5m_ai/labextension/static/539.7b5e45294371c047b74e.js +1 -0
  49. d5m_ai/labextension/static/5391.375b4314cb4b851f0915.js +2 -0
  50. d5m_ai/labextension/static/5408.07fc40e33d3fd1a3f7b6.js +1 -0
  51. d5m_ai/labextension/static/5455.c1d01203e7e387437b83.js +1 -0
  52. d5m_ai/labextension/static/559.a4c3a83a74025324f179.js +1 -0
  53. d5m_ai/labextension/static/6131.0393c6487450018afcae.js +1 -0
  54. d5m_ai/labextension/static/6354.0025efd7872b7d32b46b.js +2 -0
  55. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/1477.710069d762ddef3ca754.js → d5m_ai/labextension/static/6494.da246ca8363db0bb8bfc.js +1 -1
  56. d5m_ai/labextension/static/{4175.d23c246efa6921b45150.js → 6556.7a46eed7932ddfc9e659.js} +1 -1
  57. d5m_ai/labextension/static/6633.6708bbc3c085110097da.js +1 -0
  58. d5m_ai/labextension/static/6820.b3aba76c0f17b2560849.js +1 -0
  59. d5m_ai/labextension/static/{4328.c50ba81ca9bf67d0fff1.js → 7440.4e80677e4d48bac95cb6.js} +1 -1
  60. d5m_ai/labextension/static/7556.c28352f72f5c6ab4e9e9.js +1 -0
  61. d5m_ai/labextension/static/7665.9b5dec1a38d313e36c39.js +1 -0
  62. d5m_ai/labextension/static/7772.094d82c7ec81259764f4.js +2 -0
  63. d5m_ai/labextension/static/8053.ebcecafa176e4cb5c439.js +2 -0
  64. d5m_ai/labextension/static/{5570.57fe0021e7ca0b4f4348.js → 8263.47d184d4682b2f6564c4.js} +1 -1
  65. d5m_ai/labextension/static/9417.b1bbd219cb5ae78f19f9.js +1 -0
  66. d5m_ai/labextension/static/9517.b2f4fa51abd8b9d6687e.js +1 -0
  67. d5m_ai/labextension/static/9599.456325f0d51fefd16a42.js +1 -0
  68. d5m_ai/labextension/static/9977.17f268665ed85e3ccc62.js +1 -0
  69. d5m_ai/labextension/static/9997.1716894eb29a02d76575.js +1 -0
  70. d5m_ai/labextension/static/remoteEntry.1b8c0969e4ce45535440.js +1 -0
  71. d5m_ai/labextension/static/third-party-licenses.json +96 -0
  72. d5m_ai/ping/ping_handler.py +10 -1
  73. d5m_ai/quick_fix/__init__.py +9 -0
  74. d5m_ai/quick_fix/quick_fix_handler.py +142 -0
  75. d5m_ai/search_replace_handler.py +404 -0
  76. d5m_ai/tools/grep.py +54 -10
  77. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/package.json +7 -2
  78. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/schemas/runcell/file-browser-toggle.json +22 -0
  79. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/schemas/runcell/package.json.orig +7 -2
  80. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/1105.da3b3cc0801d5b7daf78.js +1 -0
  81. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/1113.a6206c1ce30c44e74d65.js +1 -0
  82. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/1424.7330f97f81a7cbac0293.js +1 -0
  83. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/1482.5594d3330698044d51b6.js +1 -0
  84. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/1681.b7dbfbfc8e8bb443b01d.js +1 -0
  85. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/1741.0e30660c73a4aa6109e0.js +1 -0
  86. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/1980.a1d8fd213c03964ca2dd.js +1 -0
  87. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2313.e3756d51e535b61cbc41.js +1 -0
  88. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2331.f0e4d66886493b7ff0f6.js +48 -0
  89. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/4734.4e6afd0c5fd50926f67c.js → runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2353.7b6b36b3164a86427209.js +1 -1
  90. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/239.17dc9f15aff0e2c966f0.js +1 -0
  91. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2443.590c85be4982d61f9378.js +1 -0
  92. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2490.742d719657af69afad3e.js +1 -0
  93. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2636.c45f9685b0508a44882a.js +1 -0
  94. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2726.e9c471b4ad7fed0d085b.js +1 -0
  95. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2783.e11cc76ea288d3c135d0.js +1 -0
  96. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2922.8cdf00bb7d09c5419d78.js +2 -0
  97. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2951.ef10b72fe6b301f68146.js +1 -0
  98. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2958.38f8dc8fc705367ecec4.js +1 -0
  99. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/5408.f0ba6921f1e4477b4a96.js → runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/3027.2226147340da305061f3.js +1 -1
  100. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/3033.98d8aa6a2f13a942b945.js +1 -0
  101. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/3131.5b8a2d5bc188f95b8229.js +1 -0
  102. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/3246.aa2cfa5fa8d2402d7cdf.js → runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/3340.6609b3985073e002c83d.js +2 -2
  103. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/415.c2838574e93d05eb13ea.js → runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/415.0a1fdc1d9f76c0431d42.js +1 -1
  104. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/4175.550a71c6766138e5a6ee.js +1 -0
  105. d5m_ai/labextension/static/4296.22c023f73b9ef8838492.js → runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/4296.7f1db6691a4ac120a383.js +1 -1
  106. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/434.bfe4f51db2eb9644fbe7.js +2 -0
  107. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/4412.23a8cb5fb7377d3c81ab.js.LICENSE.txt +9 -0
  108. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/4497.5c0323113f039c9558b6.js +1 -0
  109. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/4664.73a65498a9c43ddcf17e.js +1 -0
  110. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/4704.10a6eacaafe29bf2c42a.js +1 -0
  111. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/5112.5f1cd8ee9c2297a251f7.js +1 -0
  112. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/5228.05d972957a2421ec1ce0.js +1 -0
  113. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/5264.37c842e2843ca2bf4298.js +1 -0
  114. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/539.7b5e45294371c047b74e.js +1 -0
  115. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/5391.375b4314cb4b851f0915.js +2 -0
  116. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/5391.375b4314cb4b851f0915.js.LICENSE.txt +9 -0
  117. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/5408.07fc40e33d3fd1a3f7b6.js +1 -0
  118. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/5455.c1d01203e7e387437b83.js +1 -0
  119. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/559.a4c3a83a74025324f179.js +1 -0
  120. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/5973.4e08bf1ee13205326051.js.LICENSE.txt +9 -0
  121. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/6131.0393c6487450018afcae.js +1 -0
  122. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/6354.0025efd7872b7d32b46b.js +2 -0
  123. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/6354.0025efd7872b7d32b46b.js.LICENSE.txt +9 -0
  124. d5m_ai/labextension/static/1477.710069d762ddef3ca754.js → runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/6494.da246ca8363db0bb8bfc.js +1 -1
  125. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/4175.d23c246efa6921b45150.js → runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/6556.7a46eed7932ddfc9e659.js +1 -1
  126. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/6633.6708bbc3c085110097da.js +1 -0
  127. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/6820.b3aba76c0f17b2560849.js +1 -0
  128. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/4328.c50ba81ca9bf67d0fff1.js → runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/7440.4e80677e4d48bac95cb6.js +1 -1
  129. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/7556.c28352f72f5c6ab4e9e9.js +1 -0
  130. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/7665.9b5dec1a38d313e36c39.js +1 -0
  131. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/7772.094d82c7ec81259764f4.js +2 -0
  132. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/7772.094d82c7ec81259764f4.js.LICENSE.txt +9 -0
  133. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/8053.ebcecafa176e4cb5c439.js +2 -0
  134. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/5570.57fe0021e7ca0b4f4348.js → runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/8263.47d184d4682b2f6564c4.js +1 -1
  135. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/8354.3044135d1229985d61c6.js.LICENSE.txt +9 -0
  136. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/9417.b1bbd219cb5ae78f19f9.js +1 -0
  137. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/9517.b2f4fa51abd8b9d6687e.js +1 -0
  138. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/9599.456325f0d51fefd16a42.js +1 -0
  139. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/9977.17f268665ed85e3ccc62.js +1 -0
  140. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/9997.1716894eb29a02d76575.js +1 -0
  141. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/remoteEntry.1b8c0969e4ce45535440.js +1 -0
  142. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/third-party-licenses.json +96 -0
  143. {runcell-0.1.15a10.dist-info → runcell-0.1.16.dist-info}/METADATA +1 -1
  144. runcell-0.1.16.dist-info/RECORD +840 -0
  145. d5m_ai/labextension/static/111.911e778bfff66b6edf5e.js +0 -1
  146. d5m_ai/labextension/static/1161.8d253f35262e756fd46a.js +0 -1
  147. d5m_ai/labextension/static/1402.a0e3b3c012e73f6a5362.js +0 -1
  148. d5m_ai/labextension/static/1544.63647539bd593f50adf1.js +0 -1
  149. d5m_ai/labextension/static/1877.041c966f3ba0df81d5b8.js +0 -1
  150. d5m_ai/labextension/static/1960.914b9e221586e3dedc59.js +0 -1
  151. d5m_ai/labextension/static/2331.00b3689d320a2f2bdfa4.js +0 -48
  152. d5m_ai/labextension/static/2353.d3aed951ac4803f9d6d2.js +0 -1
  153. d5m_ai/labextension/static/2460.bf102b98f56e88aebceb.js +0 -1
  154. d5m_ai/labextension/static/2498.d143bb29ab92e12f4e37.js +0 -1
  155. d5m_ai/labextension/static/2517.46e5c27d44c4bfd9a568.js +0 -1
  156. d5m_ai/labextension/static/2636.ec58d1feba0ff4fbc92d.js +0 -1
  157. d5m_ai/labextension/static/2690.b6d2023c4d97720d9a97.js +0 -1
  158. d5m_ai/labextension/static/2711.3b98e2cbf471f244fc06.js +0 -1
  159. d5m_ai/labextension/static/2868.7eab7f242aa920c61cba.js +0 -1
  160. d5m_ai/labextension/static/3318.37ab6bc0a3c1b95b49b9.js +0 -1
  161. d5m_ai/labextension/static/3564.53d37f4f2dee00141a5d.js +0 -1
  162. d5m_ai/labextension/static/3793.d20ed278ab88aa2cec25.js +0 -1
  163. d5m_ai/labextension/static/3799.714d7319723cee44b83b.js +0 -1
  164. d5m_ai/labextension/static/3914.6c47919debdfd8fa81e2.js +0 -1
  165. d5m_ai/labextension/static/3973.23478d0ffd48740c4ae3.js +0 -1
  166. d5m_ai/labextension/static/4.80abd6b9b8e5f2be85f1.js +0 -1
  167. d5m_ai/labextension/static/4251.f9f6dbd8634150bdddcf.js +0 -1
  168. d5m_ai/labextension/static/434.70808d0ec3c658d2b92d.js +0 -2
  169. d5m_ai/labextension/static/460.f12a395b90fcc7e71ee6.js +0 -1
  170. d5m_ai/labextension/static/4786.b9ded45759224359e493.js +0 -1
  171. d5m_ai/labextension/static/4856.21de771d6841de1cd9a8.js +0 -1
  172. d5m_ai/labextension/static/5097.897ce0d45020c2251c3f.js +0 -1
  173. d5m_ai/labextension/static/5244.309822e0f470ef7545dd.js +0 -2
  174. d5m_ai/labextension/static/5409.6449d76b8cfdaafd9907.js +0 -1
  175. d5m_ai/labextension/static/5739.df1aea3019fae9aa1c68.js +0 -1
  176. d5m_ai/labextension/static/5754.5eccecedb66c9aeb5ee8.js +0 -1
  177. d5m_ai/labextension/static/5763.dca9d855a6b45fd3f23e.js +0 -1
  178. d5m_ai/labextension/static/6089.109731a48a9dac466095.js +0 -1
  179. d5m_ai/labextension/static/6190.3ebc92f8b76d7c97c9d2.js +0 -1
  180. d5m_ai/labextension/static/620.e56412fe3a5e5e2fe2fa.js +0 -1
  181. d5m_ai/labextension/static/8053.cbb88a6e4c3f6b0fae8b.js +0 -2
  182. d5m_ai/labextension/static/8221.81d1cabd617e083b8b0b.js +0 -1
  183. d5m_ai/labextension/static/8659.76f388593c73460e6c1e.js +0 -1
  184. d5m_ai/labextension/static/8857.15291fad6383004d865a.js +0 -1
  185. d5m_ai/labextension/static/8867.81c22f89f28a7dc63104.js +0 -1
  186. d5m_ai/labextension/static/9997.bc013b353c8eda57ad1c.js +0 -1
  187. d5m_ai/labextension/static/remoteEntry.12ee5dd3b1b20bd0aefd.js +0 -1
  188. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/111.911e778bfff66b6edf5e.js +0 -1
  189. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/1161.8d253f35262e756fd46a.js +0 -1
  190. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/1402.a0e3b3c012e73f6a5362.js +0 -1
  191. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/1544.63647539bd593f50adf1.js +0 -1
  192. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/1877.041c966f3ba0df81d5b8.js +0 -1
  193. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/1960.914b9e221586e3dedc59.js +0 -1
  194. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/2331.00b3689d320a2f2bdfa4.js +0 -48
  195. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/2353.d3aed951ac4803f9d6d2.js +0 -1
  196. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/2460.bf102b98f56e88aebceb.js +0 -1
  197. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/2498.d143bb29ab92e12f4e37.js +0 -1
  198. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/2517.46e5c27d44c4bfd9a568.js +0 -1
  199. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/2636.ec58d1feba0ff4fbc92d.js +0 -1
  200. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/2690.b6d2023c4d97720d9a97.js +0 -1
  201. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/2711.3b98e2cbf471f244fc06.js +0 -1
  202. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/2868.7eab7f242aa920c61cba.js +0 -1
  203. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/3318.37ab6bc0a3c1b95b49b9.js +0 -1
  204. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/3564.53d37f4f2dee00141a5d.js +0 -1
  205. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/3793.d20ed278ab88aa2cec25.js +0 -1
  206. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/3799.714d7319723cee44b83b.js +0 -1
  207. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/3914.6c47919debdfd8fa81e2.js +0 -1
  208. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/3973.23478d0ffd48740c4ae3.js +0 -1
  209. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/4.80abd6b9b8e5f2be85f1.js +0 -1
  210. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/4251.f9f6dbd8634150bdddcf.js +0 -1
  211. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/434.70808d0ec3c658d2b92d.js +0 -2
  212. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/460.f12a395b90fcc7e71ee6.js +0 -1
  213. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/4786.b9ded45759224359e493.js +0 -1
  214. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/4856.21de771d6841de1cd9a8.js +0 -1
  215. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/5097.897ce0d45020c2251c3f.js +0 -1
  216. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/5244.309822e0f470ef7545dd.js +0 -2
  217. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/5409.6449d76b8cfdaafd9907.js +0 -1
  218. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/5739.df1aea3019fae9aa1c68.js +0 -1
  219. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/5754.5eccecedb66c9aeb5ee8.js +0 -1
  220. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/5763.dca9d855a6b45fd3f23e.js +0 -1
  221. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/6089.109731a48a9dac466095.js +0 -1
  222. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/6190.3ebc92f8b76d7c97c9d2.js +0 -1
  223. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/620.e56412fe3a5e5e2fe2fa.js +0 -1
  224. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/8053.cbb88a6e4c3f6b0fae8b.js +0 -2
  225. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/8221.81d1cabd617e083b8b0b.js +0 -1
  226. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/8659.76f388593c73460e6c1e.js +0 -1
  227. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/8857.15291fad6383004d865a.js +0 -1
  228. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/8867.81c22f89f28a7dc63104.js +0 -1
  229. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/9997.bc013b353c8eda57ad1c.js +0 -1
  230. runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/remoteEntry.12ee5dd3b1b20bd0aefd.js +0 -1
  231. runcell-0.1.15a10.dist-info/RECORD +0 -817
  232. /d5m_ai/labextension/static/{2331.00b3689d320a2f2bdfa4.js.LICENSE.txt → 2331.f0e4d66886493b7ff0f6.js.LICENSE.txt} +0 -0
  233. /d5m_ai/labextension/static/{5244.309822e0f470ef7545dd.js.LICENSE.txt → 2922.8cdf00bb7d09c5419d78.js.LICENSE.txt} +0 -0
  234. /d5m_ai/labextension/static/{3246.aa2cfa5fa8d2402d7cdf.js.LICENSE.txt → 3340.6609b3985073e002c83d.js.LICENSE.txt} +0 -0
  235. /d5m_ai/labextension/static/{434.70808d0ec3c658d2b92d.js.LICENSE.txt → 434.bfe4f51db2eb9644fbe7.js.LICENSE.txt} +0 -0
  236. /runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/2031.155ab0916a863c8787a7.js.LICENSE.txt → /d5m_ai/labextension/static/5391.375b4314cb4b851f0915.js.LICENSE.txt +0 -0
  237. /runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/4412.23a8cb5fb7377d3c81ab.js.LICENSE.txt → /d5m_ai/labextension/static/6354.0025efd7872b7d32b46b.js.LICENSE.txt +0 -0
  238. /runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/5244.309822e0f470ef7545dd.js.LICENSE.txt → /d5m_ai/labextension/static/7772.094d82c7ec81259764f4.js.LICENSE.txt +0 -0
  239. /d5m_ai/labextension/static/{8053.cbb88a6e4c3f6b0fae8b.js.LICENSE.txt → 8053.ebcecafa176e4cb5c439.js.LICENSE.txt} +0 -0
  240. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/etc/jupyter/jupyter_server_config.d/d5m_ai.json +0 -0
  241. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/etc/jupyter/jupyter_server_config.d/runcell.json +0 -0
  242. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/install.json +0 -0
  243. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/schemas/runcell/plugin.json +0 -0
  244. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1045.a76db59a7c20953976f0.js +0 -0
  245. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1055.87aafb19805530488a2c.js +0 -0
  246. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/108.d7dbe40ec7e0ae1a68f8.js +0 -0
  247. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1104.a2b939bacec5e69efd99.js +0 -0
  248. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1171.130d3cc54764cac92856.js +0 -0
  249. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1178.3e25fad4a45450e227c9.js +0 -0
  250. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1203.5deaeee9e57ffc718f19.js +0 -0
  251. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1226.ff48aa5741f77eb739fe.js +0 -0
  252. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1273.4c5992b03f129c9e3025.js +0 -0
  253. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1285.cf3bab9529c47ac9288d.js +0 -0
  254. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1307.d98ceb66a2401e5f4ddd.js +0 -0
  255. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1328.38964f7daa84901e866f.js +0 -0
  256. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1377.edf5c2163aedef75c6a1.js +0 -0
  257. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1391.ab61eb03aed289d9d44c.js +0 -0
  258. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1431.a691b4fa7cf229072fc0.js +0 -0
  259. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1521.9f3807c4a4dd19a6ab8c.js +0 -0
  260. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1524.188ff9d525210d499ff3.js +0 -0
  261. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1534.39ba9b2bf5712b697b63.js +0 -0
  262. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1540.9eba7e882fd8e00a782a.js +0 -0
  263. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1552.5203480dcdda6574ef51.js +0 -0
  264. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1555.686745d50bd19fd9d271.js +0 -0
  265. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1618.9abd2093263741894755.js +0 -0
  266. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1635.84bd383b17e41c9fe103.js +0 -0
  267. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1678.57b141401f73a26257c8.js +0 -0
  268. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1685.842997eb9757846fe690.js +0 -0
  269. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1745.e6bb2c6882da5bf9883a.js +0 -0
  270. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1752.8c4ecff560428215fe75.js +0 -0
  271. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1797.f8ca14c3ec1c0f51f403.js +0 -0
  272. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1897.7cca7a664a9ca9b486ac.js +0 -0
  273. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1902.364fa5e977055fe14150.js +0 -0
  274. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1915.b55b7d52608421a7fc41.js +0 -0
  275. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/1970.dff4fcccbb6cadb04d0c.js +0 -0
  276. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/200.f1d30c245c18bbb03312.js +0 -0
  277. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2031.155ab0916a863c8787a7.js +0 -0
  278. /runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/5973.4e08bf1ee13205326051.js.LICENSE.txt → /runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2031.155ab0916a863c8787a7.js.LICENSE.txt +0 -0
  279. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/207.f5bd6d1b383a6b01ca69.js +0 -0
  280. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2072.a4d04cc98bb118e689a1.js +0 -0
  281. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2075.5d6a026d7308b71b70a1.js +0 -0
  282. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2111.a3c1f620c0a31e54cb9f.js +0 -0
  283. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2152.4db0fcf1f4dccf54b600.js +0 -0
  284. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2173.9fddf72b827a6d629bad.js +0 -0
  285. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2198.e195afcaabb2e4063da9.js +0 -0
  286. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2224.c86b12cf9e2165904033.js +0 -0
  287. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2225.8d31eec53891ca7775b7.js +0 -0
  288. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2271.69d9ea25d4ddd02710f6.js +0 -0
  289. /runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/2331.00b3689d320a2f2bdfa4.js.LICENSE.txt → /runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2331.f0e4d66886493b7ff0f6.js.LICENSE.txt +0 -0
  290. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2349.e7c5b5e507c7a81d1427.js +0 -0
  291. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2382.9e67478cc4b31aede22c.js +0 -0
  292. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2385.cd85a7dd4acb5be739da.js +0 -0
  293. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/248.693fd98760ec6ce42219.js +0 -0
  294. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2555.7168a2616a6071addb97.js +0 -0
  295. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2576.56496d8cba50d3d69eb5.js +0 -0
  296. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2639.eb2553a7be688366d9f3.js +0 -0
  297. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2654.2453f6b5846a4719dba4.js +0 -0
  298. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/267.829ce2ca38940b778c91.js +0 -0
  299. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/270.9409a2f5631a31c79cd9.js +0 -0
  300. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2768.9e5b7c6ed84b2486f835.js +0 -0
  301. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2789.12830cdb21c09111668d.js +0 -0
  302. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2824.d02df014c07b7288e78c.js +0 -0
  303. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2824.d02df014c07b7288e78c.js.LICENSE.txt +0 -0
  304. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2838.2e689afee276e5e21c57.js +0 -0
  305. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2843.65aeb8be3744d20229b8.js +0 -0
  306. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2897.7bc91ca284ea12b863e8.js +0 -0
  307. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2905.0d34ef7a481f9a968f05.js +0 -0
  308. /runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/8354.3044135d1229985d61c6.js.LICENSE.txt → /runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2922.8cdf00bb7d09c5419d78.js.LICENSE.txt +0 -0
  309. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/2971.60c60668c130ed05d493.js +0 -0
  310. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/299.8600f54b39a11eeff427.js +0 -0
  311. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3028.953cd3b9865063969086.js +0 -0
  312. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3041.4059f9ba4f9eba56672a.js +0 -0
  313. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3045.a457aa1d023ba5f799c2.js +0 -0
  314. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3092.fad665f8cdb1da61b55b.js +0 -0
  315. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3142.7df01050c977ede2b13b.js +0 -0
  316. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3157.bcb9f8ff06fa4af27b6a.js +0 -0
  317. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3214.a986c1896fa590b2da27.js +0 -0
  318. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3239.4562297487744a7cc1d4.js +0 -0
  319. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/325.bd1e5cab3b6e068b25bc.js +0 -0
  320. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3254.9e1aa1fee12644fea2d9.js +0 -0
  321. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3267.ff884bf47b52ac634854.js +0 -0
  322. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3291.156ad2d1520857115575.js +0 -0
  323. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3311.dc97fd544e85acac8477.js +0 -0
  324. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3319.687f07bb2f993c1dc44b.js +0 -0
  325. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3325.c100f45711f539a7f262.js +0 -0
  326. /runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/3246.aa2cfa5fa8d2402d7cdf.js.LICENSE.txt → /runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/3340.6609b3985073e002c83d.js.LICENSE.txt +0 -0
  327. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3386.4c8eebdb8d318c2913ce.js +0 -0
  328. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3386.4c8eebdb8d318c2913ce.js.LICENSE.txt +0 -0
  329. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3407.cbbf99a2ff4805726f3e.js +0 -0
  330. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3424.92b1a820ff2aa6156c36.js +0 -0
  331. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3426.27afd4c41cfad8e1a63d.js +0 -0
  332. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3436.ea677bb3e7f3ce87d7fd.js +0 -0
  333. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3449.5d8818fac081c207ce79.js +0 -0
  334. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3514.c8a1863df3cfd5390617.js +0 -0
  335. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/355.45290b03d6d4be49a58e.js +0 -0
  336. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3551.87e6eb270a212d08b1b5.js +0 -0
  337. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/359.1463d2cf955623ecceae.js +0 -0
  338. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3619.3dfa7c4eaa067a407275.js +0 -0
  339. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3645.5ea37d9f483120f69f4e.js +0 -0
  340. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3659.056fa5e4e39b72bc358b.js +0 -0
  341. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3688.7bd1ba5006b22ed5616e.js +0 -0
  342. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3722.688cdfd335ffeac13492.js +0 -0
  343. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3724.06a5a1b542ff978df3b4.js +0 -0
  344. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/376.f9c52e5bbd650da7b67f.js +0 -0
  345. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3794.c0236d400b2129ac42a9.js +0 -0
  346. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/3930.b142768bad429b3ebb04.js +0 -0
  347. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4003.95678dd199222938923b.js +0 -0
  348. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4017.d35a7557e5338be92770.js +0 -0
  349. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4050.00a6bfc9f23c6ef07199.js +0 -0
  350. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4087.ea430b62171512019400.js +0 -0
  351. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/410.fd643a255d72a83c1be6.js +0 -0
  352. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4127.0e783d9a497298e9fe18.js +0 -0
  353. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4238.bd4642c4f9256441aea5.js +0 -0
  354. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4246.d8aedd2b15d1a95f1288.js +0 -0
  355. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4272.c92c9a0d98749863c853.js +0 -0
  356. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4317.1ba9f3c33b7a1484c5df.js +0 -0
  357. /runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/434.70808d0ec3c658d2b92d.js.LICENSE.txt → /runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/434.bfe4f51db2eb9644fbe7.js.LICENSE.txt +0 -0
  358. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4353.6a83dae11a48e9d1b345.js +0 -0
  359. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4358.53a6106c5c93c3fda026.js +0 -0
  360. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4364.e87c307df69aa50a5b2a.js +0 -0
  361. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4365.b2b4496cc260301256b9.js +0 -0
  362. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4371.647bc44642d1ad0e99e4.js +0 -0
  363. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4390.1cafd3d4635b09e0c945.js +0 -0
  364. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4412.23a8cb5fb7377d3c81ab.js +0 -0
  365. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4425.a34c4f44daa5996eeec4.js +0 -0
  366. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4447.3ad32bafee045d2c0bab.js +0 -0
  367. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4477.d9e871faf650e6ad238a.js +0 -0
  368. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/45.560ee8b955f55e6a7471.js +0 -0
  369. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4503.794c4dd58c6bf2e6a66d.js +0 -0
  370. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4584.c610d4a425b036b86759.js +0 -0
  371. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4613.05840d3fc617590fff51.js +0 -0
  372. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4630.a78300f70b9af36897eb.js +0 -0
  373. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4682.1b69aa450cedd96227c9.js +0 -0
  374. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4713.4e4e598399fd6de85f5d.js +0 -0
  375. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4725.5447994a36dfeda58b9f.js +0 -0
  376. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4755.74d46f71eb4d23e4bca2.js +0 -0
  377. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4838.688e36ea43737e72dbdc.js +0 -0
  378. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/485.d27de91b0124447cf435.js +0 -0
  379. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4872.1404f5d25464532c27c2.js +0 -0
  380. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4886.443bcf6af7b83f72b4b5.js +0 -0
  381. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4913.d226f3c41ebb36489ce3.js +0 -0
  382. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/492.a7f5e972b35c8c877bf1.js +0 -0
  383. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/4928.5c8ad7f80ba081dfdbba.js +0 -0
  384. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5146.45d9b015343e5a7cace1.js +0 -0
  385. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5183.8c5527ebc7a807107471.js +0 -0
  386. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/524.927c6a42244b04ee834f.js +0 -0
  387. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5253.2cea0b927b50c952fe98.js +0 -0
  388. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5331.c971f98ac4fd9e9751a4.js +0 -0
  389. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5431.528d309549815d363599.js +0 -0
  390. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5447.1267bc4aa4938bd0f08d.js +0 -0
  391. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5466.e1da4e862af22e314f82.js +0 -0
  392. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5473.7ac9ad0a3e047bfeceb0.js +0 -0
  393. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5509.c8c8ddebaabc3579daba.js +0 -0
  394. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5590.fd188e01caa78afb3ec4.js +0 -0
  395. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5620.cd3cd230d09209b34fb5.js +0 -0
  396. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5636.ca803ffcf0d43c2402c9.js +0 -0
  397. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5672.156ad2d1520857115575.js +0 -0
  398. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5695.0da6228c48571d9386f3.js +0 -0
  399. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5715.66ad4e7324b22a5e27fb.js +0 -0
  400. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5741.edd8fd814866705aad98.js +0 -0
  401. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5748.53eb48f5623074a948ba.js +0 -0
  402. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5765.e957d823cdfe2746a356.js +0 -0
  403. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5788.b9c62804c0698b91ca8a.js +0 -0
  404. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5882.b40b5d690d3f6f67f09a.js +0 -0
  405. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5885.8cd4d3e3008fdb31ce2a.js +0 -0
  406. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5900.6dca06924caef83a5b52.js +0 -0
  407. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5906.870c0d7bb4e022aaca9d.js +0 -0
  408. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5908.e81f83f7a9906d9d7542.js +0 -0
  409. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5973.4e08bf1ee13205326051.js +0 -0
  410. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/5977.d264e9baaebc417e35c0.js +0 -0
  411. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6007.987a9850d5891b1908ae.js +0 -0
  412. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6030.dd5fd07844168dbaa6f6.js +0 -0
  413. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6030.dd5fd07844168dbaa6f6.js.LICENSE.txt +0 -0
  414. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6079.5c80b9de6aabb0be08d2.js +0 -0
  415. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6084.bf8d6b1da6c4cad209bb.js +0 -0
  416. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6094.f96654ca0070f8f391b1.js +0 -0
  417. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/611.5ae7fb260af8629f1528.js +0 -0
  418. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6176.bd441d4d6fe942889bf3.js +0 -0
  419. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6221.457e64a4f06be421eaa4.js +0 -0
  420. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6266.4f2bcc95c2d61cdaacbc.js +0 -0
  421. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/627.84c4aa26f69662abb72d.js +0 -0
  422. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6293.823b9bfe50fdfd62dd42.js +0 -0
  423. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6299.b14c1d46ba4ad9799f63.js +0 -0
  424. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6306.8d22227d6aa1dfc32da5.js +0 -0
  425. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6320.b844d6686eebcb036643.js +0 -0
  426. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6322.997db39a5d4b63e72b21.js +0 -0
  427. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6336.92de365c5fb0f261f799.js +0 -0
  428. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6366.5049626e7d5bb38a8574.js +0 -0
  429. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/640.ebfad36f1dde45e9cd05.js +0 -0
  430. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/642.817a48a77e1c16e6e65d.js +0 -0
  431. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6520.ff2a9ec2e50dd45868ac.js +0 -0
  432. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6573.7899a873adb98c3c0190.js +0 -0
  433. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6648.b7ed5e9a732275dc85ac.js +0 -0
  434. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6676.1a71900a6131dbe02aad.js +0 -0
  435. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6678.fe58c12ce33b0f5706f5.js +0 -0
  436. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6772.01fcccfcabd525210aee.js +0 -0
  437. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6774.1e0a751d7079179f8f73.js +0 -0
  438. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6795.1c49fa950817836e3f1e.js +0 -0
  439. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6803.eccda2da06d869b0acda.js +0 -0
  440. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6822.5bf91484ea172f864747.js +0 -0
  441. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6853.48004207e7c689ec55b4.js +0 -0
  442. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6880.c3cfce260b3d25d9ef5e.js +0 -0
  443. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6906.1f65b08daf64af8d1f27.js +0 -0
  444. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/6982.d9f1a29fe7834b53c855.js +0 -0
  445. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7005.9f8920f4e58652fe3ef9.js +0 -0
  446. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/711.5c259d7417620cf8eef8.js +0 -0
  447. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7131.cab088ddb371234f1fd6.js +0 -0
  448. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7161.f03be5c4590ae6db98c1.js +0 -0
  449. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7166.6e64d20ff3d06bb0726a.js +0 -0
  450. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7181.1d3f5611193e734beaf4.js +0 -0
  451. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/72.081fe34e2c76320135d0.js +0 -0
  452. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7232.5969981a73dac6835b93.js +0 -0
  453. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7273.9e6765278092fd30a14f.js +0 -0
  454. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7280.5862e5cf2b594fd45f82.js +0 -0
  455. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7336.b8136533f61cd1b71adc.js +0 -0
  456. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7359.7bc0ef939742600dba39.js +0 -0
  457. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7399.6fa42c5d34d3659f9f68.js +0 -0
  458. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7400.ea48afe8766bd82b3741.js +0 -0
  459. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7441.bce20fb0ea3d8638bc30.js +0 -0
  460. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7488.f63b5ad13eb23dbc3915.js +0 -0
  461. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/751.48ddf412afdd781e868f.js +0 -0
  462. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7572.937d1e5ce68a384389e9.js +0 -0
  463. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7652.cf086dfcd950ff2c4554.js +0 -0
  464. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7672.61e8e5299259407f1ee1.js +0 -0
  465. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7705.962a56002e394e3755aa.js +0 -0
  466. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7719.9dbadc40622a97c6fa90.js +0 -0
  467. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7771.efa5c4cf41907b4c8cfc.js +0 -0
  468. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/779.c50f60eeca2b40bf96db.js +0 -0
  469. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7792.e67368a87fa703a97f25.js +0 -0
  470. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7812.1b53bb1f6cce555d0b70.js +0 -0
  471. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7890.c8c8ddebaabc3579daba.js +0 -0
  472. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7954.b02433d4bd38b648ec0e.js +0 -0
  473. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7959.75734676fe5e861ad899.js +0 -0
  474. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7967.ccc236f921abba961fcb.js +0 -0
  475. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/7981.c14b5974541e98a1b340.js +0 -0
  476. /runcell-0.1.15a10.data/data/share/jupyter/labextensions/runcell/static/8053.cbb88a6e4c3f6b0fae8b.js.LICENSE.txt → /runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/8053.ebcecafa176e4cb5c439.js.LICENSE.txt +0 -0
  477. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8056.06f4e4d87d7ccc1e4662.js +0 -0
  478. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8066.ad6692e614937d4dc480.js +0 -0
  479. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8122.f671cfb05d97b5e220fa.js +0 -0
  480. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8146.fc69595fa9fb4dc989ec.js +0 -0
  481. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8151.e18e503723ffa9d576f7.js +0 -0
  482. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8177.d8e81718e82279286385.js +0 -0
  483. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8179.33453f3165561d33347d.js +0 -0
  484. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8181.0f15741bcd037cfaf528.js +0 -0
  485. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8249.01410b92489460697717.js +0 -0
  486. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8295.39003c08c2539bf22593.js +0 -0
  487. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8304.075c39345f3b817edfb1.js +0 -0
  488. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8321.3ba6a40e5ed74b977afc.js +0 -0
  489. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8343.31e93467f566af5fb10e.js +0 -0
  490. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8354.3044135d1229985d61c6.js +0 -0
  491. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8366.55b8257f92b23e6f49ec.js +0 -0
  492. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8369.80293e64ec102044c767.js +0 -0
  493. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/84.3575d43472885d2b7714.js +0 -0
  494. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8400.7d8ed1bca69c56f67486.js +0 -0
  495. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8404.1c1c675dc23d7d9d80de.js +0 -0
  496. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8437.795ac38d87895b50d98e.js +0 -0
  497. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8480.6698a41d2cf895aafe0f.js +0 -0
  498. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8482.85d03122dfec6d4f9307.js +0 -0
  499. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/851.9faa523fb28cedcd6b88.js +0 -0
  500. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8522.dd261948e958bcf4ae64.js +0 -0
  501. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8524.4c79a5ea5e22a1389a1f.js +0 -0
  502. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8649.b722755e4bccf4a39cd5.js +0 -0
  503. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8675.ffadeba0edbfd8d2285d.js +0 -0
  504. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8748.bb9c4496cf4ab7577e74.js +0 -0
  505. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8751.e80b9f51b9cdb544d16b.js +0 -0
  506. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8768.4aba875e6cfb350edfa7.js +0 -0
  507. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/880.0bcd5ab06196cb9533c4.js +0 -0
  508. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8824.4b08a890046be218bb35.js +0 -0
  509. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8829.c51ecb2bf77a1ca2a962.js +0 -0
  510. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8856.6e271445d6d3837302ec.js +0 -0
  511. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8860.c824d17d8869a6dd6207.js +0 -0
  512. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8887.6480b4ee0c5fa187c2d7.js +0 -0
  513. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8929.3329d360058c1764e201.js +0 -0
  514. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/8957.4f33250ba35099dbe048.js +0 -0
  515. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9014.0e67032c3d7119ce3370.js +0 -0
  516. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/904.60333ec0aebf2d092197.js +0 -0
  517. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9040.9376593b8e7caa5ed6a0.js +0 -0
  518. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9055.7b9ab3136d6a82b298a4.js +0 -0
  519. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9071.d8aea526bf53118639a9.js +0 -0
  520. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9113.f9e25015d31ee397e490.js +0 -0
  521. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9115.c30adf6f374eb1bd3b93.js +0 -0
  522. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9125.26a8a929493c19af9f50.js +0 -0
  523. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9165.8b0907227f85ba27306b.js +0 -0
  524. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9180.7d6cded0c9f36ac75093.js +0 -0
  525. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9184.33de87e8d509010a9bdf.js +0 -0
  526. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9193.3666b71cf376fdec58b4.js +0 -0
  527. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9205.a2f5f2a2c0b69582717e.js +0 -0
  528. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9251.822a5aa9397713d54ea2.js +0 -0
  529. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9255.ad693b359f0d12767fe1.js +0 -0
  530. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9262.bebc0ed75d7f86d722f2.js +0 -0
  531. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9277.f3623a34b457ca052d80.js +0 -0
  532. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9285.2d3c4984387ebca606d4.js +0 -0
  533. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9289.9fb56f7beb83d721e654.js +0 -0
  534. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/934.3ce5b696b827323e706e.js +0 -0
  535. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9402.b8868b6860051723bf48.js +0 -0
  536. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9404.f6ff67c04b5dfb52e3d9.js +0 -0
  537. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9412.fe8cf617636a0df90247.js +0 -0
  538. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9456.2f96fda82d4be6b0448e.js +0 -0
  539. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9494.b4ae8d6a63ec84cc4ec3.js +0 -0
  540. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9513.0db046603be52099c3ec.js +0 -0
  541. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9514.458d7630c50b4b658200.js +0 -0
  542. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9559.07e6563cb0b401ff88a6.js +0 -0
  543. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9576.b2d6c2e9831fda63f41f.js +0 -0
  544. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9607.a4f836281d0337527f6e.js +0 -0
  545. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9621.55ea68ee13d702908a10.js +0 -0
  546. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9640.c489050f3a1342328779.js +0 -0
  547. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9650.b4d4a115ac2fca1dfbe8.js +0 -0
  548. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9704.f4c6d15183531d37b825.js +0 -0
  549. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9734.63cf17414a5103d290bb.js +0 -0
  550. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9754.2f617d267f5167be63ed.js +0 -0
  551. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9885.f84ed1b0565de3b61e99.js +0 -0
  552. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9912.b6643895a628f9ea506c.js +0 -0
  553. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9926.6e52dbb62a19476aae87.js +0 -0
  554. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9939.eab64dfd409dd1df1844.js +0 -0
  555. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/9986.e953beace913bfa7ba74.js +0 -0
  556. {runcell-0.1.15a10.data → runcell-0.1.16.data}/data/share/jupyter/labextensions/runcell/static/style.js +0 -0
  557. {runcell-0.1.15a10.dist-info → runcell-0.1.16.dist-info}/WHEEL +0 -0
  558. {runcell-0.1.15a10.dist-info → runcell-0.1.16.dist-info}/entry_points.txt +0 -0
  559. {runcell-0.1.15a10.dist-info → runcell-0.1.16.dist-info}/licenses/LICENSE +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkruncell=self.webpackChunkruncell||[]).push([[1477],{11787:(t,e,a)=>{a.d(e,{I:()=>i});var r,s=a(63246),i=(r=class{constructor(t){this.init=t,this.records=this.init()}reset(){this.records=this.init()}},(0,s._)(r,"ImperativeState"),r)},21477:(t,e,a)=>{a.d(e,{diagram:()=>wt});var r=a(39804),s=a(63246),i=a(11787),n=function(){var t=(0,s._)(function(t,e,a,r){for(a=a||{},r=t.length;r--;a[t[r]]=e);return a},"o"),e=[1,2],a=[1,3],r=[1,4],i=[2,4],n=[1,9],o=[1,11],c=[1,13],l=[1,14],h=[1,16],d=[1,17],p=[1,18],g=[1,24],u=[1,25],x=[1,26],y=[1,27],m=[1,28],b=[1,29],T=[1,30],f=[1,31],E=[1,32],w=[1,33],_=[1,34],k=[1,35],I=[1,36],L=[1,37],P=[1,38],N=[1,39],A=[1,41],v=[1,42],M=[1,43],O=[1,44],D=[1,45],S=[1,46],$=[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],R=[2,71],C=[4,5,16,50,52,53],B=[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],Y=[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],V=[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],F=[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],W=[69,70,71],q=[1,127],z={trace:(0,s._)(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:(0,s._)(function(t,e,a,r,s,i,n){var o=i.length-1;switch(s){case 3:return r.apply(i[o]),i[o];case 4:case 9:case 8:case 13:this.$=[];break;case 5:case 10:i[o-1].push(i[o]),this.$=i[o-1];break;case 6:case 7:case 11:case 12:case 63:this.$=i[o];break;case 15:i[o].type="createParticipant",this.$=i[o];break;case 16:i[o-1].unshift({type:"boxStart",boxData:r.parseBoxData(i[o-2])}),i[o-1].push({type:"boxEnd",boxText:i[o-2]}),this.$=i[o-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(i[o-2]),sequenceIndexStep:Number(i[o-1]),sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(i[o-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:i[o-1].actor};break;case 23:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:i[o-1].actor};break;case 29:r.setDiagramTitle(i[o].substring(6)),this.$=i[o].substring(6);break;case 30:r.setDiagramTitle(i[o].substring(7)),this.$=i[o].substring(7);break;case 31:this.$=i[o].trim(),r.setAccTitle(this.$);break;case 32:case 33:this.$=i[o].trim(),r.setAccDescription(this.$);break;case 34:i[o-1].unshift({type:"loopStart",loopText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.LOOP_START}),i[o-1].push({type:"loopEnd",loopText:i[o-2],signalType:r.LINETYPE.LOOP_END}),this.$=i[o-1];break;case 35:i[o-1].unshift({type:"rectStart",color:r.parseMessage(i[o-2]),signalType:r.LINETYPE.RECT_START}),i[o-1].push({type:"rectEnd",color:r.parseMessage(i[o-2]),signalType:r.LINETYPE.RECT_END}),this.$=i[o-1];break;case 36:i[o-1].unshift({type:"optStart",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.OPT_START}),i[o-1].push({type:"optEnd",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.OPT_END}),this.$=i[o-1];break;case 37:i[o-1].unshift({type:"altStart",altText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.ALT_START}),i[o-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=i[o-1];break;case 38:i[o-1].unshift({type:"parStart",parText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.PAR_START}),i[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=i[o-1];break;case 39:i[o-1].unshift({type:"parStart",parText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.PAR_OVER_START}),i[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=i[o-1];break;case 40:i[o-1].unshift({type:"criticalStart",criticalText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.CRITICAL_START}),i[o-1].push({type:"criticalEnd",signalType:r.LINETYPE.CRITICAL_END}),this.$=i[o-1];break;case 41:i[o-1].unshift({type:"breakStart",breakText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.BREAK_START}),i[o-1].push({type:"breakEnd",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.BREAK_END}),this.$=i[o-1];break;case 43:this.$=i[o-3].concat([{type:"option",optionText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.CRITICAL_OPTION},i[o]]);break;case 45:this.$=i[o-3].concat([{type:"and",parText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.PAR_AND},i[o]]);break;case 47:this.$=i[o-3].concat([{type:"else",altText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.ALT_ELSE},i[o]]);break;case 48:i[o-3].draw="participant",i[o-3].type="addParticipant",i[o-3].description=r.parseMessage(i[o-1]),this.$=i[o-3];break;case 49:case 53:i[o-1].draw="participant",i[o-1].type="addParticipant",this.$=i[o-1];break;case 50:i[o-3].draw="actor",i[o-3].type="addParticipant",i[o-3].description=r.parseMessage(i[o-1]),this.$=i[o-3];break;case 51:i[o-1].draw="actor",i[o-1].type="addParticipant",this.$=i[o-1];break;case 52:i[o-1].type="destroyParticipant",this.$=i[o-1];break;case 54:this.$=[i[o-1],{type:"addNote",placement:i[o-2],actor:i[o-1].actor,text:i[o]}];break;case 55:i[o-2]=[].concat(i[o-1],i[o-1]).slice(0,2),i[o-2][0]=i[o-2][0].actor,i[o-2][1]=i[o-2][1].actor,this.$=[i[o-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:i[o-2].slice(0,2),text:i[o]}];break;case 56:this.$=[i[o-1],{type:"addLinks",actor:i[o-1].actor,text:i[o]}];break;case 57:this.$=[i[o-1],{type:"addALink",actor:i[o-1].actor,text:i[o]}];break;case 58:this.$=[i[o-1],{type:"addProperties",actor:i[o-1].actor,text:i[o]}];break;case 59:this.$=[i[o-1],{type:"addDetails",actor:i[o-1].actor,text:i[o]}];break;case 62:this.$=[i[o-2],i[o]];break;case 64:this.$=r.PLACEMENT.LEFTOF;break;case 65:this.$=r.PLACEMENT.RIGHTOF;break;case 66:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o],activate:!0},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:i[o-1].actor}];break;case 67:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:i[o-4].actor}];break;case 68:this.$=[i[o-3],i[o-1],{type:"addMessage",from:i[o-3].actor,to:i[o-1].actor,signalType:i[o-2],msg:i[o]}];break;case 69:this.$={type:"addParticipant",actor:i[o-1],config:i[o]};break;case 70:this.$=i[o-1].trim();break;case 71:this.$={type:"addParticipant",actor:i[o]};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(i[o].trim().substring(1))}},"anonymous"),table:[{3:1,4:e,5:a,6:r},{1:[3]},{3:5,4:e,5:a,6:r},{3:6,4:e,5:a,6:r},t([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],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:o,8:8,9:10,12:12,13:c,14:l,17:15,18:h,21:d,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:_,44:k,46:I,50:L,52:P,53:N,55:A,60:v,61:M,62:O,63:D,71:S},t($,[2,5]),{9:47,12:12,13:c,14:l,17:15,18:h,21:d,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:_,44:k,46:I,50:L,52:P,53:N,55:A,60:v,61:M,62:O,63:D,71:S},t($,[2,7]),t($,[2,8]),t($,[2,14]),{12:48,50:L,52:P,53:N},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,71:S},{22:55,71:S},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t($,[2,29]),t($,[2,30]),{32:[1,61]},{34:[1,62]},t($,[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:S},{22:75,71:S},{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:S},{22:92,71:S},{22:93,71:S},{22:94,71:S},t([5,51,65,76,77,78,79,80,81,82,83,84,85,86],R),t($,[2,6]),t($,[2,15]),t(C,[2,9],{10:95}),t($,[2,17]),{5:[1,97],19:[1,96]},{5:[1,98]},t($,[2,21]),{5:[1,99]},{5:[1,100]},t($,[2,24]),t($,[2,25]),t($,[2,26]),t($,[2,27]),t($,[2,28]),t($,[2,31]),t($,[2,32]),t(B,i,{7:101}),t(B,i,{7:102}),t(B,i,{7:103}),t(Y,i,{40:104,7:105}),t(V,i,{42:106,7:107}),t(V,i,{7:107,42:108}),t(F,i,{45:109,7:110}),t(B,i,{7:111}),{5:[1,113],51:[1,112]},{5:[1,114]},t([5,51],R,{72:115,73:[1,116]}),{5:[1,118],51:[1,117]},{5:[1,119]},{22:122,69:[1,120],70:[1,121],71:S},t(W,[2,72]),t(W,[2,73]),t(W,[2,74]),t(W,[2,75]),t(W,[2,76]),t(W,[2,77]),t(W,[2,78]),t(W,[2,79]),t(W,[2,80]),t(W,[2,81]),{22:123,71:S},{22:125,59:124,71:S},{71:[2,64]},{71:[2,65]},{57:126,86:q},{57:128,86:q},{57:129,86:q},{57:130,86:q},{4:[1,133],5:[1,135],11:132,12:134,16:[1,131],50:L,52:P,53:N},{5:[1,136]},t($,[2,19]),t($,[2,20]),t($,[2,22]),t($,[2,23]),{4:n,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,137],17:15,18:h,21:d,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:_,44:k,46:I,50:L,52:P,53:N,55:A,60:v,61:M,62:O,63:D,71:S},{4:n,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,138],17:15,18:h,21:d,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:_,44:k,46:I,50:L,52:P,53:N,55:A,60:v,61:M,62:O,63:D,71:S},{4:n,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,139],17:15,18:h,21:d,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:_,44:k,46:I,50:L,52:P,53:N,55:A,60:v,61:M,62:O,63:D,71:S},{16:[1,140]},{4:n,5:o,8:8,9:10,12:12,13:c,14:l,16:[2,46],17:15,18:h,21:d,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:_,44:k,46:I,49:[1,141],50:L,52:P,53:N,55:A,60:v,61:M,62:O,63:D,71:S},{16:[1,142]},{4:n,5:o,8:8,9:10,12:12,13:c,14:l,16:[2,44],17:15,18:h,21:d,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:_,44:k,46:I,48:[1,143],50:L,52:P,53:N,55:A,60:v,61:M,62:O,63:D,71:S},{16:[1,144]},{16:[1,145]},{4:n,5:o,8:8,9:10,12:12,13:c,14:l,16:[2,42],17:15,18:h,21:d,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:_,44:k,46:I,47:[1,146],50:L,52:P,53:N,55:A,60:v,61:M,62:O,63:D,71:S},{4:n,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,147],17:15,18:h,21:d,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:_,44:k,46:I,50:L,52:P,53:N,55:A,60:v,61:M,62:O,63:D,71:S},{15:[1,148]},t($,[2,49]),t($,[2,53]),{5:[2,69]},{74:[1,149]},{15:[1,150]},t($,[2,51]),t($,[2,52]),{22:151,71:S},{22:152,71:S},{57:153,86:q},{57:154,86:q},{57:155,86:q},{65:[1,156],86:[2,63]},{5:[2,56]},{5:[2,82]},{5:[2,57]},{5:[2,58]},{5:[2,59]},t($,[2,16]),t(C,[2,10]),{12:157,50:L,52:P,53:N},t(C,[2,12]),t(C,[2,13]),t($,[2,18]),t($,[2,34]),t($,[2,35]),t($,[2,36]),t($,[2,37]),{15:[1,158]},t($,[2,38]),{15:[1,159]},t($,[2,39]),t($,[2,40]),{15:[1,160]},t($,[2,41]),{5:[1,161]},{75:[1,162]},{5:[1,163]},{57:164,86:q},{57:165,86:q},{5:[2,68]},{5:[2,54]},{5:[2,55]},{22:166,71:S},t(C,[2,11]),t(Y,i,{7:105,40:167}),t(V,i,{7:107,42:168}),t(F,i,{7:110,45:169}),t($,[2,48]),{5:[2,70]},t($,[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:(0,s._)(function(t,e){if(!e.recoverable){var a=new Error(t);throw a.hash=e,a}this.trace(t)},"parseError"),parse:(0,s._)(function(t){var e=this,a=[0],r=[],i=[null],n=[],o=this.table,c="",l=0,h=0,d=n.slice.call(arguments,1),p=Object.create(this.lexer),g={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(g.yy[u]=this.yy[u]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var x=p.yylloc;n.push(x);var y=p.options&&p.options.ranges;function m(){var t;return"number"!=typeof(t=r.pop()||p.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,s._)(function(t){a.length=a.length-2*t,i.length=i.length-t,n.length=n.length-t},"popStack"),(0,s._)(m,"lex");for(var b,T,f,E,w,_,k,I,L={};;){if(T=a[a.length-1],this.defaultActions[T]?f=this.defaultActions[T]:((null===b||typeof b>"u")&&(b=m()),f=o[T]&&o[T][b]),typeof f>"u"||!f.length||!f[0]){var P;for(w in I=[],o[T])this.terminals_[w]&&w>2&&I.push("'"+this.terminals_[w]+"'");P=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+I.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(P,{text:p.match,token:this.terminals_[b]||b,line:p.yylineno,loc:x,expected:I})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+T+", token: "+b);switch(f[0]){case 1:a.push(b),i.push(p.yytext),n.push(p.yylloc),a.push(f[1]),b=null,h=p.yyleng,c=p.yytext,l=p.yylineno,x=p.yylloc;break;case 2:if(_=this.productions_[f[1]][1],L.$=i[i.length-_],L._$={first_line:n[n.length-(_||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(_||1)].first_column,last_column:n[n.length-1].last_column},y&&(L._$.range=[n[n.length-(_||1)].range[0],n[n.length-1].range[1]]),typeof(E=this.performAction.apply(L,[c,h,l,g.yy,f[1],i,n].concat(d)))<"u")return E;_&&(a=a.slice(0,-1*_*2),i=i.slice(0,-1*_),n=n.slice(0,-1*_)),a.push(this.productions_[f[1]][0]),i.push(L.$),n.push(L._$),k=o[a[a.length-2]][a[a.length-1]],a.push(k);break;case 3:return!0}}return!0},"parse")},H=function(){return{EOF:1,parseError:(0,s._)(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:(0,s._)(function(t,e){return this.yy=e||this.yy||{},this._input=t,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:(0,s._)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},"input"),unput:(0,s._)(function(t){var e=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;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),a.length-1&&(this.yylineno-=a.length-1);var s=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:a?(a.length===r.length?this.yylloc.first_column:0)+r[r.length-a.length].length-a[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,s._)(function(){return this._more=!0,this},"more"),reject:(0,s._)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,s._)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,s._)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,s._)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,s._)(function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,s._)(function(t,e){var a,r,s;if(this.options.backtrack_lexer&&(s={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&&(s.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(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+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var i in s)this[i]=s[i];return!1}return!1},"test_match"),next:(0,s._)(function(){if(this.done)return this.EOF;var t,e,a,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),i=0;i<s.length;i++)if((a=this._input.match(this.rules[s[i]]))&&(!e||a[0].length>e[0].length)){if(e=a,r=i,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,s[i])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,s._)(function(){return this.next()||this.lex()},"lex"),begin:(0,s._)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,s._)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,s._)(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:(0,s._)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,s._)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,s._)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,s._)(function(t,e,a,r){switch(a){case 0:case 56:case 72:return 5;case 1:case 2:case 3:case 4: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:case 57:return e.yytext=e.yytext.trim(),71;case 11:case 17:return e.yytext=e.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 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 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:case 69:return 86;case 70:return 69;case 71:return 70;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 j(){this.yy={}}return z.lexer=H,(0,s._)(j,"Parser"),j.prototype=z,z.Parser=j,new j}();n.parser=n;var o,c=n,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},h={FILLED:0,OPEN:1},d={LEFTOF:0,RIGHTOF:1,OVER:2},p=(o=class{constructor(){this.state=new i.I(()=>({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=s.b,this.setAccDescription=s.s,this.setDiagramTitle=s.q,this.getAccTitle=s.a,this.getAccDescription=s.g,this.getDiagramTitle=s.t,this.apply=this.apply.bind(this),this.parseBoxData=this.parseBoxData.bind(this),this.parseMessage=this.parseMessage.bind(this),this.clear(),this.setWrap((0,s.c)().wrap),this.LINETYPE=l,this.ARROWTYPE=h,this.PLACEMENT=d}addBox(t){this.state.records.boxes.push({name:t.text,wrap:t.wrap??this.autoWrap(),fill:t.color,actorKeys:[]}),this.state.records.currentBox=this.state.records.boxes.slice(-1)[0]}addActor(t,e,a,r,i){let n,o=this.state.records.currentBox;if(void 0!==i){let t;t=i.includes("\n")?i+"\n":"{\n"+i+"\n}",n=(0,s.v)(t,{schema:s.J})}r=(null==n?void 0:n.type)??r;const c=this.state.records.actors.get(t);if(c){if(this.state.records.currentBox&&c.box&&this.state.records.currentBox!==c.box)throw new Error(`A same participant should only be defined in one Box: ${c.name} can't be in '${c.box.name}' and in '${this.state.records.currentBox.name}' at the same time.`);if(o=c.box?c.box:this.state.records.currentBox,c.box=o,c&&e===c.name&&null==a)return}if(null==(null==a?void 0:a.text)&&(a={text:e,type:r}),(null==r||null==a.text)&&(a={text:e,type:r}),this.state.records.actors.set(t,{box:o,name:e,description:a.text,wrap:a.wrap??this.autoWrap(),prevActor:this.state.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:r??"participant"}),this.state.records.prevActor){const e=this.state.records.actors.get(this.state.records.prevActor);e&&(e.nextActor=t)}this.state.records.currentBox&&this.state.records.currentBox.actorKeys.push(t),this.state.records.prevActor=t}activationCount(t){let e,a=0;if(!t)return 0;for(e=0;e<this.state.records.messages.length;e++)this.state.records.messages[e].type===this.LINETYPE.ACTIVE_START&&this.state.records.messages[e].from===t&&a++,this.state.records.messages[e].type===this.LINETYPE.ACTIVE_END&&this.state.records.messages[e].from===t&&a--;return a}addMessage(t,e,a,r){this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:t,to:e,message:a.text,wrap:a.wrap??this.autoWrap(),answer:r})}addSignal(t,e,a,r,s=!1){if(r===this.LINETYPE.ACTIVE_END&&this.activationCount(t??"")<1){const e=new Error("Trying to inactivate an inactive participant ("+t+")");throw e.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},e}return this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:t,to:e,message:(null==a?void 0:a.text)??"",wrap:(null==a?void 0:a.wrap)??this.autoWrap(),type:r,activate:s}),!0}hasAtLeastOneBox(){return this.state.records.boxes.length>0}hasAtLeastOneBoxWithTitle(){return this.state.records.boxes.some(t=>t.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(t){return this.state.records.actors.get(t)}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(t){this.state.records.wrapEnabled=t}extractWrap(t){if(void 0===t)return{};t=t.trim();const e=null!==/^:?wrap:/.exec(t)||null===/^:?nowrap:/.exec(t)&&void 0;return{cleanedText:(void 0===e?t:t.replace(/^:?(?:no)?wrap:/,"")).trim(),wrap:e}}autoWrap(){var t;return void 0!==this.state.records.wrapEnabled?this.state.records.wrapEnabled:(null==(t=(0,s.c)().sequence)?void 0:t.wrap)??!1}clear(){this.state.reset(),(0,s.z)()}parseMessage(t){const e=t.trim(),{wrap:a,cleanedText:r}=this.extractWrap(e),i={text:r,wrap:a};return s.l.debug(`parseMessage: ${JSON.stringify(i)}`),i}parseBoxData(t){const e=/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/.exec(t);let a=null!=e&&e[1]?e[1].trim():"transparent",r=null!=e&&e[2]?e[2].trim():void 0;if(null!=window&&window.CSS)window.CSS.supports("color",a)||(a="transparent",r=t.trim());else{const e=(new Option).style;e.color=a,e.color!==a&&(a="transparent",r=t.trim())}const{wrap:i,cleanedText:n}=this.extractWrap(r);return{text:n?(0,s.i)(n,(0,s.c)()):void 0,color:a,wrap:i}}addNote(t,e,a){const r={actor:t,placement:e,message:a.text,wrap:a.wrap??this.autoWrap()},s=[].concat(t,t);this.state.records.notes.push(r),this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:s[0],to:s[1],message:a.text,wrap:a.wrap??this.autoWrap(),type:this.LINETYPE.NOTE,placement:e})}addLinks(t,e){const a=this.getActor(t);try{let t=(0,s.i)(e.text,(0,s.c)());t=t.replace(/&equals;/g,"="),t=t.replace(/&amp;/g,"&");const r=JSON.parse(t);this.insertLinks(a,r)}catch(t){s.l.error("error while parsing actor link text",t)}}addALink(t,e){const a=this.getActor(t);try{const t={};let r=(0,s.i)(e.text,(0,s.c)());const i=r.indexOf("@");r=r.replace(/&equals;/g,"="),r=r.replace(/&amp;/g,"&");const n=r.slice(0,i-1).trim(),o=r.slice(i+1).trim();t[n]=o,this.insertLinks(a,t)}catch(t){s.l.error("error while parsing actor link text",t)}}insertLinks(t,e){if(null==t.links)t.links=e;else for(const a in e)t.links[a]=e[a]}addProperties(t,e){const a=this.getActor(t);try{const t=(0,s.i)(e.text,(0,s.c)()),r=JSON.parse(t);this.insertProperties(a,r)}catch(t){s.l.error("error while parsing actor properties text",t)}}insertProperties(t,e){if(null==t.properties)t.properties=e;else for(const a in e)t.properties[a]=e[a]}boxEnd(){this.state.records.currentBox=void 0}addDetails(t,e){const a=this.getActor(t),r=document.getElementById(e.text);try{const t=r.innerHTML,e=JSON.parse(t);e.properties&&this.insertProperties(a,e.properties),e.links&&this.insertLinks(a,e.links)}catch(t){s.l.error("error while parsing actor details text",t)}}getActorProperty(t,e){if(void 0!==(null==t?void 0:t.properties))return t.properties[e]}apply(t){if(Array.isArray(t))t.forEach(t=>{this.apply(t)});else switch(t.type){case"sequenceIndex":this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:void 0,to:void 0,message:{start:t.sequenceIndex,step:t.sequenceIndexStep,visible:t.sequenceVisible},wrap:!1,type:t.signalType});break;case"addParticipant":this.addActor(t.actor,t.actor,t.description,t.draw,t.config);break;case"createParticipant":if(this.state.records.actors.has(t.actor))throw new 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=t.actor,this.addActor(t.actor,t.actor,t.description,t.draw,t.config),this.state.records.createdActors.set(t.actor,this.state.records.messages.length);break;case"destroyParticipant":this.state.records.lastDestroyed=t.actor,this.state.records.destroyedActors.set(t.actor,this.state.records.messages.length);break;case"activeStart":case"activeEnd":this.addSignal(t.actor,void 0,void 0,t.signalType);break;case"addNote":this.addNote(t.actor,t.placement,t.text);break;case"addLinks":this.addLinks(t.actor,t.text);break;case"addALink":this.addALink(t.actor,t.text);break;case"addProperties":this.addProperties(t.actor,t.text);break;case"addDetails":this.addDetails(t.actor,t.text);break;case"addMessage":if(this.state.records.lastCreated){if(t.to!==this.state.records.lastCreated)throw new 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(t.to!==this.state.records.lastDestroyed&&t.from!==this.state.records.lastDestroyed)throw new 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(t.from,t.to,t.msg,t.signalType,t.activate);break;case"boxStart":this.addBox(t.boxData);break;case"boxEnd":this.boxEnd();break;case"loopStart":this.addSignal(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":this.addSignal(void 0,void 0,void 0,t.signalType);break;case"rectStart":this.addSignal(void 0,void 0,t.color,t.signalType);break;case"optStart":this.addSignal(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":this.addSignal(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":(0,s.b)(t.text);break;case"parStart":case"and":this.addSignal(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":this.addSignal(void 0,void 0,t.criticalText,t.signalType);break;case"option":this.addSignal(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":this.addSignal(void 0,void 0,t.breakText,t.signalType)}}getConfig(){return(0,s.c)().sequence}},(0,s._)(o,"SequenceDB"),o),g=(0,s._)(t=>`.actor {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n\n text.actor > tspan {\n fill: ${t.actorTextColor};\n stroke: none;\n }\n\n .actor-line {\n stroke: ${t.actorLineColor};\n }\n \n .innerArc {\n stroke-width: 1.5;\n stroke-dasharray: none;\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ${t.signalColor};\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ${t.signalColor};\n }\n\n #arrowhead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .sequenceNumber {\n fill: ${t.sequenceNumberColor};\n }\n\n #sequencenumber {\n fill: ${t.signalColor};\n }\n\n #crosshead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .messageText {\n fill: ${t.signalTextColor};\n stroke: none;\n }\n\n .labelBox {\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBkgColor};\n }\n\n .labelText, .labelText > tspan {\n fill: ${t.labelTextColor};\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ${t.loopTextColor};\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBorderColor};\n }\n\n .note {\n //stroke: #decc93;\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n }\n\n .noteText, .noteText > tspan {\n fill: ${t.noteTextColor};\n stroke: none;\n }\n\n .activation0 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation1 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation2 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ${t.actorBkg};\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\n}\n .actor-man line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n .actor-man circle, line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n stroke-width: 2px;\n }\n\n`,"getStyles"),u="actor-top",x="actor-bottom",y="actor-box",m="actor-man",b=(0,s._)(function(t,e){return(0,r.d)(t,e)},"drawRect"),T=(0,s._)(function(t,e,a,r,i){if(void 0===e.links||null===e.links||0===Object.keys(e.links).length)return{height:0,width:0};const n=e.links,o=e.actorCnt,c=e.rectData;var l="none";i&&(l="block !important");const h=t.append("g");h.attr("id","actor"+o+"_popup"),h.attr("class","actorPopupMenu"),h.attr("display",l);var d="";void 0!==c.class&&(d=" "+c.class);let p=c.width>a?c.width:a;const g=h.append("rect");if(g.attr("class","actorPopupMenuPanel"+d),g.attr("x",c.x),g.attr("y",c.height),g.attr("fill",c.fill),g.attr("stroke",c.stroke),g.attr("width",p),g.attr("height",c.height),g.attr("rx",c.rx),g.attr("ry",c.ry),null!=n){var u=20;for(let t in n){var x=h.append("a"),y=s.j.sanitizeUrl(n[t]);x.attr("xlink:href",y),x.attr("target","_blank"),X(r)(t,x,c.x+10,c.height+u,p,20,{class:"actor"},r),u+=30}}return g.attr("height",u),{height:c.height+u,width:p}},"drawPopup"),f=(0,s._)(function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }"},"popupMenuToggle"),E=(0,s._)(async function(t,e,a=null){let r=t.append("foreignObject");const i=await(0,s.a7)(e.text,(0,s.G)()),n=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(n.height)).attr("width",Math.round(n.width)),"noteText"===e.class){const a=t.node().firstChild;a.setAttribute("height",n.height+2*e.textMargin);const s=a.getBBox();r.attr("x",Math.round(s.x+s.width/2-n.width/2)).attr("y",Math.round(s.y+s.height/2-n.height/2))}else if(a){let{startx:t,stopx:s,starty:i}=a;if(t>s){const e=t;t=s,s=e}r.attr("x",Math.round(t+Math.abs(t-s)/2-n.width/2)),"loopText"===e.class?r.attr("y",Math.round(i)):r.attr("y",Math.round(i-n.height))}return[r]},"drawKatex"),w=(0,s._)(function(t,e){let a=0,r=0;const i=e.text.split(s.k.lineBreakRegex),[n,o]=(0,s.a4)(e.fontSize);let c=[],l=0,h=(0,s._)(()=>e.y,"yfunc");if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":h=(0,s._)(()=>Math.round(e.y+e.textMargin),"yfunc");break;case"middle":case"center":h=(0,s._)(()=>Math.round(e.y+(a+r+e.textMargin)/2),"yfunc");break;case"bottom":case"end":h=(0,s._)(()=>Math.round(e.y+(a+r+2*e.textMargin)-e.textMargin),"yfunc")}if(void 0!==e.anchor&&void 0!==e.textMargin&&void 0!==e.width)switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin),e.anchor="start",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2),e.anchor="middle",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor="end",e.dominantBaseline="middle",e.alignmentBaseline="middle"}for(let[d,p]of i.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==n&&(l=d*n);const i=t.append("text");i.attr("x",e.x),i.attr("y",h()),void 0!==e.anchor&&i.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&i.style("font-family",e.fontFamily),void 0!==o&&i.style("font-size",o),void 0!==e.fontWeight&&i.style("font-weight",e.fontWeight),void 0!==e.fill&&i.attr("fill",e.fill),void 0!==e.class&&i.attr("class",e.class),void 0!==e.dy?i.attr("dy",e.dy):0!==l&&i.attr("dy",l);const g=p||s.a5;if(e.tspan){const t=i.append("tspan");t.attr("x",e.x),void 0!==e.fill&&t.attr("fill",e.fill),t.text(g)}else i.text(g);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(r+=(i._groups||i)[0][0].getBBox().height,a=r),c.push(i)}return c},"drawText"),_=(0,s._)(function(t,e){function a(t,e,a,r,s){return t+","+e+" "+(t+a)+","+e+" "+(t+a)+","+(e+r-s)+" "+(t+a-1.2*s)+","+(e+r)+" "+t+","+(e+r)}(0,s._)(a,"genPoints");const r=t.append("polygon");return r.attr("points",a(e.x,e.y,e.width,e.height,7)),r.attr("class","labelBox"),e.y=e.y+e.height/2,w(t,e),r},"drawLabel"),k=-1,I=(0,s._)((t,e,a,r)=>{t.select&&a.forEach(a=>{const s=e.get(a),i=t.select("#actor"+s.actorCnt);!r.mirrorActors&&s.stopy?i.attr("y2",s.stopy+s.height/2):r.mirrorActors&&i.attr("y2",s.stopy)})},"fixLifeLineHeights"),L=(0,s._)(function(t,e,a,i){var n,o;const c=i?e.stopy:e.starty,l=e.x+e.width/2,h=c+e.height,d=t.append("g").lower();var p=d;i||(k++,Object.keys(e.links||{}).length&&!a.forceMenus&&p.attr("onclick",f(`actor${k}_popup`)).attr("cursor","pointer"),p.append("line").attr("id","actor"+k).attr("x1",l).attr("y1",h).attr("x2",l).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),p=d.append("g"),e.actorCnt=k,null!=e.links&&p.attr("id","root-"+k));const g=(0,r.g)();var m="actor";null!=(n=e.properties)&&n.class?m=e.properties.class:g.fill="#eaeaea",m+=i?` ${x}`:` ${u}`,g.x=e.x,g.y=c,g.width=e.width,g.height=e.height,g.class=m,g.rx=3,g.ry=3,g.name=e.name;const T=b(p,g);if(e.rectData=g,null!=(o=e.properties)&&o.icon){const t=e.properties.icon.trim();"@"===t.charAt(0)?(0,r.c)(p,g.x+g.width-20,g.y+10,t.substr(1)):(0,r.e)(p,g.x+g.width-20,g.y+10,t)}K(a,(0,s.a2)(e.description))(e.description,p,g.x,g.y,g.width,g.height,{class:`actor ${y}`},a);let E=e.height;if(T.node){const t=T.node().getBBox();e.height=t.height,E=t.height}return E},"drawActorTypeParticipant"),P=(0,s._)(function(t,e,a,i){var n,o;const c=i?e.stopy:e.starty,l=e.x+e.width/2,h=c+e.height,d=t.append("g").lower();var p=d;i||(k++,Object.keys(e.links||{}).length&&!a.forceMenus&&p.attr("onclick",f(`actor${k}_popup`)).attr("cursor","pointer"),p.append("line").attr("id","actor"+k).attr("x1",l).attr("y1",h).attr("x2",l).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),p=d.append("g"),e.actorCnt=k,null!=e.links&&p.attr("id","root-"+k));const g=(0,r.g)();var m="actor";null!=(n=e.properties)&&n.class?m=e.properties.class:g.fill="#eaeaea",m+=i?` ${x}`:` ${u}`,g.x=e.x,g.y=c,g.width=e.width,g.height=e.height,g.class=m,g.name=e.name;const T={...g,x:g.x+-6,y:g.y+6,class:"actor"},E=b(p,g);if(b(p,T),e.rectData=g,null!=(o=e.properties)&&o.icon){const t=e.properties.icon.trim();"@"===t.charAt(0)?(0,r.c)(p,g.x+g.width-20,g.y+10,t.substr(1)):(0,r.e)(p,g.x+g.width-20,g.y+10,t)}K(a,(0,s.a2)(e.description))(e.description,p,g.x-6,g.y+6,g.width,g.height,{class:`actor ${y}`},a);let w=e.height;if(E.node){const t=E.node().getBBox();e.height=t.height,w=t.height}return w},"drawActorTypeCollections"),N=(0,s._)(function(t,e,a,i){var n,o;const c=i?e.stopy:e.starty,l=e.x+e.width/2,h=c+e.height,d=t.append("g").lower();let p=d;i||(k++,Object.keys(e.links||{}).length&&!a.forceMenus&&p.attr("onclick",f(`actor${k}_popup`)).attr("cursor","pointer"),p.append("line").attr("id","actor"+k).attr("x1",l).attr("y1",h).attr("x2",l).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),p=d.append("g"),e.actorCnt=k,null!=e.links&&p.attr("id","root-"+k));const g=(0,r.g)();let m="actor";null!=(n=e.properties)&&n.class?m=e.properties.class:g.fill="#eaeaea",m+=i?` ${x}`:` ${u}`,g.x=e.x,g.y=c,g.width=e.width,g.height=e.height,g.class=m,g.name=e.name;const b=g.height/2,T=b/(2.5+g.height/50),E=p.append("g"),w=p.append("g");if(E.append("path").attr("d",`M ${g.x},${g.y+b}\n a ${T},${b} 0 0 0 0,${g.height}\n h ${g.width-2*T}\n a ${T},${b} 0 0 0 0,-${g.height}\n Z\n `).attr("class",m),w.append("path").attr("d",`M ${g.x},${g.y+b}\n a ${T},${b} 0 0 0 0,${g.height}`).attr("stroke","#666").attr("stroke-width","1px").attr("class",m),E.attr("transform",`translate(${T}, ${-g.height/2})`),w.attr("transform",`translate(${g.width-T}, ${-g.height/2})`),e.rectData=g,null!=(o=e.properties)&&o.icon){const t=e.properties.icon.trim(),a=g.x+g.width-20,s=g.y+10;"@"===t.charAt(0)?(0,r.c)(p,a,s,t.substr(1)):(0,r.e)(p,a,s,t)}K(a,(0,s.a2)(e.description))(e.description,p,g.x,g.y,g.width,g.height,{class:`actor ${y}`},a);let _=e.height;const I=E.select("path:last-child");if(I.node()){const t=I.node().getBBox();e.height=t.height,_=t.height}return _},"drawActorTypeQueue"),A=(0,s._)(function(t,e,a,i){var n;const o=i?e.stopy:e.starty,c=e.x+e.width/2,l=o+75,h=t.append("g").lower();i||(k++,h.append("line").attr("id","actor"+k).attr("x1",c).attr("y1",l).attr("x2",c).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=k);const d=t.append("g");let p=m;p+=i?` ${x}`:` ${u}`,d.attr("class",p),d.attr("name",e.name);const g=(0,r.g)();g.x=e.x,g.y=o,g.fill="#eaeaea",g.width=e.width,g.height=e.height,g.class="actor";const y=e.x+e.width/2,b=o+30;d.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"),d.append("circle").attr("cx",y).attr("cy",b).attr("r",18).attr("fill","#eaeaf7").attr("stroke","#666").attr("stroke-width",1.2),d.append("line").attr("marker-end","url(#filled-head-control)").attr("transform",`translate(${y}, ${b-18})`);const T=d.node().getBBox();return e.height=T.height+2*((null==(n=null==a?void 0:a.sequence)?void 0:n.labelBoxHeight)??0),K(a,(0,s.a2)(e.description))(e.description,d,g.x,g.y+18+(i?5:10),g.width,g.height,{class:`actor ${m}`},a),e.height},"drawActorTypeControl"),v=(0,s._)(function(t,e,a,i){var n;const o=i?e.stopy:e.starty,c=e.x+e.width/2,l=o+75,h=t.append("g").lower(),d=t.append("g");let p=m;p+=i?` ${x}`:` ${u}`,d.attr("class",p),d.attr("name",e.name);const g=(0,r.g)();g.x=e.x,g.y=o,g.fill="#eaeaea",g.width=e.width,g.height=e.height,g.class="actor";const y=e.x+e.width/2,b=o+(i?10:25),T=18;d.append("circle").attr("cx",y).attr("cy",b).attr("r",T).attr("width",e.width).attr("height",e.height),d.append("line").attr("x1",y-T).attr("x2",y+T).attr("y1",b+T).attr("y2",b+T).attr("stroke","#333").attr("stroke-width",2);const f=d.node().getBBox();return e.height=f.height+((null==(n=null==a?void 0:a.sequence)?void 0:n.labelBoxHeight)??0),i||(k++,h.append("line").attr("id","actor"+k).attr("x1",c).attr("y1",l).attr("x2",c).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=k),K(a,(0,s.a2)(e.description))(e.description,d,g.x,g.y+(i?(b-o+T-5)/2:(b+T-o)/2),g.width,g.height,{class:`actor ${m}`},a),d.attr("transform","translate(0, 9)"),e.height},"drawActorTypeEntity"),M=(0,s._)(function(t,e,a,i){var n;const o=i?e.stopy:e.starty,c=e.x+e.width/2,l=o+e.height+2*a.boxTextMargin,h=t.append("g").lower();let d=h;i||(k++,Object.keys(e.links||{}).length&&!a.forceMenus&&d.attr("onclick",f(`actor${k}_popup`)).attr("cursor","pointer"),d.append("line").attr("id","actor"+k).attr("x1",c).attr("y1",l).attr("x2",c).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),d=h.append("g"),e.actorCnt=k,null!=e.links&&d.attr("id","root-"+k));const p=(0,r.g)();let g="actor";null!=(n=e.properties)&&n.class?g=e.properties.class:p.fill="#eaeaea",g+=i?` ${x}`:` ${u}`,p.x=e.x,p.y=o,p.width=e.width,p.height=e.height,p.class=g,p.name=e.name,p.x=e.x,p.y=o;const m=p.width/4,b=p.width/4,T=m/2,E=T/(2.5+m/50),w=d.append("g"),_=`\n M ${p.x},${p.y+E}\n a ${T},${E} 0 0 0 ${m},0\n a ${T},${E} 0 0 0 -${m},0\n l 0,${b-2*E}\n a ${T},${E} 0 0 0 ${m},0\n l 0,-${b-2*E}\n`;w.append("path").attr("d",_).attr("fill","#eaeaea").attr("stroke","#000").attr("stroke-width",1).attr("class",g),i?w.attr("transform",`translate(${1.5*m}, ${p.height/4-2*E})`):w.attr("transform",`translate(${1.5*m}, ${(p.height+E)/4})`),e.rectData=p,K(a,(0,s.a2)(e.description))(e.description,d,p.x,p.y+(i?(p.height+b)/4:(p.height+E)/2),p.width,p.height,{class:`actor ${y}`},a);const I=w.select("path:last-child");if(I.node()){const t=I.node().getBBox();e.height=t.height+(a.sequence.labelBoxHeight??0)}return e.height},"drawActorTypeDatabase"),O=(0,s._)(function(t,e,a,i){const n=i?e.stopy:e.starty,o=e.x+e.width/2,c=n+80,l=t.append("g").lower();i||(k++,l.append("line").attr("id","actor"+k).attr("x1",o).attr("y1",c).attr("x2",o).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=k);const h=t.append("g");let d=m;d+=i?` ${x}`:` ${u}`,h.attr("class",d),h.attr("name",e.name);const p=(0,r.g)();p.x=e.x,p.y=n,p.fill="#eaeaea",p.width=e.width,p.height=e.height,p.class="actor",h.append("line").attr("id","actor-man-torso"+k).attr("x1",e.x+e.width/2-75).attr("y1",n+10).attr("x2",e.x+e.width/2-15).attr("y2",n+10),h.append("line").attr("id","actor-man-arms"+k).attr("x1",e.x+e.width/2-75).attr("y1",n+0).attr("x2",e.x+e.width/2-75).attr("y2",n+20),h.append("circle").attr("cx",e.x+e.width/2).attr("cy",n+10).attr("r",30);const g=h.node().getBBox();return e.height=g.height+(a.sequence.labelBoxHeight??0),K(a,(0,s.a2)(e.description))(e.description,h,p.x,p.y+(i?11:18),p.width,p.height,{class:`actor ${m}`},a),h.attr("transform","translate(0,22)"),e.height},"drawActorTypeBoundary"),D=(0,s._)(function(t,e,a,i){const n=i?e.stopy:e.starty,o=e.x+e.width/2,c=n+80,l=t.append("g").lower();i||(k++,l.append("line").attr("id","actor"+k).attr("x1",o).attr("y1",c).attr("x2",o).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=k);const h=t.append("g");let d=m;d+=i?` ${x}`:` ${u}`,h.attr("class",d),h.attr("name",e.name);const p=(0,r.g)();p.x=e.x,p.y=n,p.fill="#eaeaea",p.width=e.width,p.height=e.height,p.class="actor",p.rx=3,p.ry=3,h.append("line").attr("id","actor-man-torso"+k).attr("x1",o).attr("y1",n+25).attr("x2",o).attr("y2",n+45),h.append("line").attr("id","actor-man-arms"+k).attr("x1",o-18).attr("y1",n+33).attr("x2",o+18).attr("y2",n+33),h.append("line").attr("x1",o-18).attr("y1",n+60).attr("x2",o).attr("y2",n+45),h.append("line").attr("x1",o).attr("y1",n+45).attr("x2",o+18-2).attr("y2",n+60);const g=h.append("circle");g.attr("cx",e.x+e.width/2),g.attr("cy",n+10),g.attr("r",15),g.attr("width",e.width),g.attr("height",e.height);const y=h.node().getBBox();return e.height=y.height,K(a,(0,s.a2)(e.description))(e.description,h,p.x,p.y+35,p.width,p.height,{class:`actor ${m}`},a),e.height},"drawActorTypeActor"),S=(0,s._)(async function(t,e,a,r){switch(e.type){case"actor":return await D(t,e,a,r);case"participant":return await L(t,e,a,r);case"boundary":return await O(t,e,a,r);case"control":return await A(t,e,a,r);case"entity":return await v(t,e,a,r);case"database":return await M(t,e,a,r);case"collections":return await P(t,e,a,r);case"queue":return await N(t,e,a,r)}},"drawActor"),$=(0,s._)(function(t,e,a){const r=t.append("g");Y(r,e),e.name&&K(a)(e.name,r,e.x,e.y+a.boxTextMargin+(e.textMaxHeight||0)/2,e.width,0,{class:"text"},a),r.lower()},"drawBox"),R=(0,s._)(function(t){return t.append("g")},"anchorElement"),C=(0,s._)(function(t,e,a,s,i){const n=(0,r.g)(),o=e.anchored;n.x=e.startx,n.y=e.starty,n.class="activation"+i%3,n.width=e.stopx-e.startx,n.height=a-e.starty,b(o,n)},"drawActivation"),B=(0,s._)(async function(t,e,a,i){const{boxMargin:n,boxTextMargin:o,labelBoxHeight:c,labelBoxWidth:l,messageFontFamily:h,messageFontSize:d,messageFontWeight:p}=i,g=t.append("g"),u=(0,s._)(function(t,e,a,r){return g.append("line").attr("x1",t).attr("y1",e).attr("x2",a).attr("y2",r).attr("class","loopLine")},"drawLoopLine");u(e.startx,e.starty,e.stopx,e.starty),u(e.stopx,e.starty,e.stopx,e.stopy),u(e.startx,e.stopy,e.stopx,e.stopy),u(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach(function(t){u(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")});let x=(0,r.b)();x.text=a,x.x=e.startx,x.y=e.starty,x.fontFamily=h,x.fontSize=d,x.fontWeight=p,x.anchor="middle",x.valign="middle",x.tspan=!1,x.width=l||50,x.height=c||20,x.textMargin=o,x.class="labelText",_(g,x),x=U(),x.text=e.title,x.x=e.startx+l/2+(e.stopx-e.startx)/2,x.y=e.starty+n+o,x.anchor="middle",x.valign="middle",x.textMargin=o,x.class="loopText",x.fontFamily=h,x.fontSize=d,x.fontWeight=p,x.wrap=!0;let y=(0,s.a2)(x.text)?await E(g,x,e):w(g,x);if(void 0!==e.sectionTitles)for(const[t,a]of Object.entries(e.sectionTitles))if(a.message){x.text=a.message,x.x=e.startx+(e.stopx-e.startx)/2,x.y=e.sections[t].y+n+o,x.class="loopText",x.anchor="middle",x.valign="middle",x.tspan=!1,x.fontFamily=h,x.fontSize=d,x.fontWeight=p,x.wrap=e.wrap,(0,s.a2)(x.text)?(e.starty=e.sections[t].y,await E(g,x,e)):w(g,x);let r=Math.round(y.map(t=>(t._groups||t)[0][0].getBBox().height).reduce((t,e)=>t+e));e.sections[t].height+=r-(n+o)}return e.height=Math.round(e.stopy-e.starty),g},"drawLoop"),Y=(0,s._)(function(t,e){(0,r.a)(t,e)},"drawBackgroundRect"),V=(0,s._)(function(t){t.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"),F=(0,s._)(function(t){t.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"),W=(0,s._)(function(t){t.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"),q=(0,s._)(function(t){t.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"),z=(0,s._)(function(t){t.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"),H=(0,s._)(function(t){t.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"),j=(0,s._)(function(t){t.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"),U=(0,s._)(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"),G=(0,s._)(function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),K=function(){function t(t,e,a,r,s,n,o){i(e.append("text").attr("x",a+s/2).attr("y",r+n/2+5).style("text-anchor","middle").text(t),o)}function e(t,e,a,r,n,o,c,l){const{actorFontSize:h,actorFontFamily:d,actorFontWeight:p}=l,[g,u]=(0,s.a4)(h),x=t.split(s.k.lineBreakRegex);for(let t=0;t<x.length;t++){const s=t*g-g*(x.length-1)/2,l=e.append("text").attr("x",a+n/2).attr("y",r).style("text-anchor","middle").style("font-size",u).style("font-weight",p).style("font-family",d);l.append("tspan").attr("x",a+n/2).attr("dy",s).text(x[t]),l.attr("y",r+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(l,c)}}function a(t,a,r,s,n,o,c,l){const h=a.append("switch"),d=h.append("foreignObject").attr("x",r).attr("y",s).attr("width",n).attr("height",o).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(t),e(t,h,r,s,n,o,c,l),i(d,c)}async function r(t,a,r,n,o,c,l,h){const d=await(0,s.a3)(t,(0,s.G)()),p=a.append("switch"),g=p.append("foreignObject").attr("x",r+o/2-d.width/2).attr("y",n+c/2-d.height/2).attr("width",d.width).attr("height",d.height).append("xhtml:div").style("height","100%").style("width","100%");g.append("div").style("text-align","center").style("vertical-align","middle").html(await(0,s.a7)(t,(0,s.G)())),e(t,p,r,n,o,c,l,h),i(g,l)}function i(t,e){for(const a in e)e.hasOwnProperty(a)&&t.attr(a,e[a])}return(0,s._)(t,"byText"),(0,s._)(e,"byTspan"),(0,s._)(a,"byFo"),(0,s._)(r,"byKatex"),(0,s._)(i,"_setTextAttrs"),function(s,i=!1){return i?r:"fo"===s.textPlacement?a:"old"===s.textPlacement?t:e}}(),X=function(){function t(t,e,a,s,i,n,o){r(e.append("text").attr("x",a).attr("y",s).style("text-anchor","start").text(t),o)}function e(t,e,a,i,n,o,c,l){const{actorFontSize:h,actorFontFamily:d,actorFontWeight:p}=l,g=t.split(s.k.lineBreakRegex);for(let t=0;t<g.length;t++){const s=t*h-h*(g.length-1)/2,n=e.append("text").attr("x",a).attr("y",i).style("text-anchor","start").style("font-size",h).style("font-weight",p).style("font-family",d);n.append("tspan").attr("x",a).attr("dy",s).text(g[t]),n.attr("y",i+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(n,c)}}function a(t,a,s,i,n,o,c,l){const h=a.append("switch"),d=h.append("foreignObject").attr("x",s).attr("y",i).attr("width",n).attr("height",o).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(t),e(t,h,s,i,0,o,c,l),r(d,c)}function r(t,e){for(const a in e)e.hasOwnProperty(a)&&t.attr(a,e[a])}return(0,s._)(t,"byText"),(0,s._)(e,"byTspan"),(0,s._)(a,"byFo"),(0,s._)(r,"_setTextAttrs"),function(r){return"fo"===r.textPlacement?a:"old"===r.textPlacement?t:e}}(),J={drawRect:b,drawText:w,drawLabel:_,drawActor:S,drawBox:$,drawPopup:T,anchorElement:R,drawActivation:C,drawLoop:B,drawBackgroundRect:Y,insertArrowHead:q,insertArrowFilledHead:z,insertSequenceNumber:H,insertArrowCrossHead:j,insertDatabaseIcon:V,insertComputerIcon:F,insertClockIcon:W,getTextObj:U,getNoteRect:G,fixLifeLineHeights:I,sanitizeUrl:s.j.sanitizeUrl},Z={},Q={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:(0,s._)(function(){return Math.max.apply(null,0===this.actors.length?[0]:this.actors.map(t=>t.height||0))+(0===this.loops.length?0:this.loops.map(t=>t.height||0).reduce((t,e)=>t+e))+(0===this.messages.length?0:this.messages.map(t=>t.height||0).reduce((t,e)=>t+e))+(0===this.notes.length?0:this.notes.map(t=>t.height||0).reduce((t,e)=>t+e))},"getHeight"),clear:(0,s._)(function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},"clear"),addBox:(0,s._)(function(t){this.boxes.push(t)},"addBox"),addActor:(0,s._)(function(t){this.actors.push(t)},"addActor"),addLoop:(0,s._)(function(t){this.loops.push(t)},"addLoop"),addMessage:(0,s._)(function(t){this.messages.push(t)},"addMessage"),addNote:(0,s._)(function(t){this.notes.push(t)},"addNote"),lastActor:(0,s._)(function(){return this.actors[this.actors.length-1]},"lastActor"),lastLoop:(0,s._)(function(){return this.loops[this.loops.length-1]},"lastLoop"),lastMessage:(0,s._)(function(){return this.messages[this.messages.length-1]},"lastMessage"),lastNote:(0,s._)(function(){return this.notes[this.notes.length-1]},"lastNote"),actors:[],boxes:[],loops:[],messages:[],notes:[]},init:(0,s._)(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,lt((0,s.c)())},"init"),updateVal:(0,s._)(function(t,e,a,r){void 0===t[e]?t[e]=a:t[e]=r(a,t[e])},"updateVal"),updateBounds:(0,s._)(function(t,e,a,r){const i=this;let n=0;function o(o){return(0,s._)(function(s){n++;const c=i.sequenceItems.length-n+1;i.updateVal(s,"starty",e-c*Z.boxMargin,Math.min),i.updateVal(s,"stopy",r+c*Z.boxMargin,Math.max),i.updateVal(Q.data,"startx",t-c*Z.boxMargin,Math.min),i.updateVal(Q.data,"stopx",a+c*Z.boxMargin,Math.max),"activation"!==o&&(i.updateVal(s,"startx",t-c*Z.boxMargin,Math.min),i.updateVal(s,"stopx",a+c*Z.boxMargin,Math.max),i.updateVal(Q.data,"starty",e-c*Z.boxMargin,Math.min),i.updateVal(Q.data,"stopy",r+c*Z.boxMargin,Math.max))},"updateItemBounds")}(0,s._)(o,"updateFn"),this.sequenceItems.forEach(o()),this.activations.forEach(o("activation"))},"updateBounds"),insert:(0,s._)(function(t,e,a,r){const i=s.k.getMin(t,a),n=s.k.getMax(t,a),o=s.k.getMin(e,r),c=s.k.getMax(e,r);this.updateVal(Q.data,"startx",i,Math.min),this.updateVal(Q.data,"starty",o,Math.min),this.updateVal(Q.data,"stopx",n,Math.max),this.updateVal(Q.data,"stopy",c,Math.max),this.updateBounds(i,o,n,c)},"insert"),newActivation:(0,s._)(function(t,e,a){const r=a.get(t.from),s=ht(t.from).length||0,i=r.x+r.width/2+(s-1)*Z.activationWidth/2;this.activations.push({startx:i,starty:this.verticalPos+2,stopx:i+Z.activationWidth,stopy:void 0,actor:t.from,anchored:J.anchorElement(e)})},"newActivation"),endActivation:(0,s._)(function(t){const e=this.activations.map(function(t){return t.actor}).lastIndexOf(t.from);return this.activations.splice(e,1)[0]},"endActivation"),createLoop:(0,s._)(function(t={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},"createLoop"),newLoop:(0,s._)(function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},"newLoop"),endLoop:(0,s._)(function(){return this.sequenceItems.pop()},"endLoop"),isLoopOverlap:(0,s._)(function(){return!!this.sequenceItems.length&&this.sequenceItems[this.sequenceItems.length-1].overlap},"isLoopOverlap"),addSectionToLoop:(0,s._)(function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:Q.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},"addSectionToLoop"),saveVerticalPos:(0,s._)(function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},"saveVerticalPos"),resetVerticalPos:(0,s._)(function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},"resetVerticalPos"),bumpVerticalPos:(0,s._)(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=s.k.getMax(this.data.stopy,this.verticalPos)},"bumpVerticalPos"),getVerticalPos:(0,s._)(function(){return this.verticalPos},"getVerticalPos"),getBounds:(0,s._)(function(){return{bounds:this.data,models:this.models}},"getBounds")},tt=(0,s._)(async function(t,e){Q.bumpVerticalPos(Z.boxMargin),e.height=Z.boxMargin,e.starty=Q.getVerticalPos();const a=(0,r.g)();a.x=e.startx,a.y=e.starty,a.width=e.width||Z.width,a.class="note";const i=t.append("g"),n=J.drawRect(i,a),o=(0,r.b)();o.x=e.startx,o.y=e.starty,o.width=a.width,o.dy="1em",o.text=e.message,o.class="noteText",o.fontFamily=Z.noteFontFamily,o.fontSize=Z.noteFontSize,o.fontWeight=Z.noteFontWeight,o.anchor=Z.noteAlign,o.textMargin=Z.noteMargin,o.valign="center";const c=(0,s.a2)(o.text)?await E(i,o):w(i,o),l=Math.round(c.map(t=>(t._groups||t)[0][0].getBBox().height).reduce((t,e)=>t+e));n.attr("height",l+2*Z.noteMargin),e.height+=l+2*Z.noteMargin,Q.bumpVerticalPos(l+2*Z.noteMargin),e.stopy=e.starty+l+2*Z.noteMargin,e.stopx=e.startx+a.width,Q.insert(e.startx,e.starty,e.stopx,e.stopy),Q.models.addNote(e)},"drawNote"),et=(0,s._)(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont"),at=(0,s._)(t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),"noteFont"),rt=(0,s._)(t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight}),"actorFont");async function st(t,e){Q.bumpVerticalPos(10);const{startx:a,stopx:r,message:i}=e,n=s.k.splitBreaks(i).length,o=(0,s.a2)(i),c=o?await(0,s.a3)(i,(0,s.c)()):s.u.calculateTextDimensions(i,et(Z));if(!o){const t=c.height/n;e.height+=t,Q.bumpVerticalPos(t)}let l,h=c.height-10;const d=c.width;if(a===r){l=Q.getVerticalPos()+h,Z.rightAngles||(h+=Z.boxMargin,l=Q.getVerticalPos()+h),h+=30;const t=s.k.getMax(d/2,Z.width/2);Q.insert(a-t,Q.getVerticalPos()-10+h,r+t,Q.getVerticalPos()+30+h)}else h+=Z.boxMargin,l=Q.getVerticalPos()+h,Q.insert(a,l-10,r,l);return Q.bumpVerticalPos(h),e.height+=h,e.stopy=e.starty+e.height,Q.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),l}(0,s._)(st,"boundMessage");var it=(0,s._)(async function(t,e,a,i){const{startx:n,stopx:o,starty:c,message:l,type:h,sequenceIndex:d,sequenceVisible:p}=e,g=s.u.calculateTextDimensions(l,et(Z)),u=(0,r.b)();u.x=n,u.y=c+10,u.width=o-n,u.class="messageText",u.dy="1em",u.text=l,u.fontFamily=Z.messageFontFamily,u.fontSize=Z.messageFontSize,u.fontWeight=Z.messageFontWeight,u.anchor=Z.messageAlign,u.valign="center",u.textMargin=Z.wrapPadding,u.tspan=!1,(0,s.a2)(u.text)?await E(t,u,{startx:n,stopx:o,starty:a}):w(t,u);const x=g.width;let y;n===o?y=Z.rightAngles?t.append("path").attr("d",`M ${n},${a} H ${n+s.k.getMax(Z.width/2,x/2)} V ${a+25} H ${n}`):t.append("path").attr("d","M "+n+","+a+" C "+(n+60)+","+(a-10)+" "+(n+60)+","+(a+30)+" "+n+","+(a+20)):(y=t.append("line"),y.attr("x1",n),y.attr("y1",a),y.attr("x2",o),y.attr("y2",a)),h===i.db.LINETYPE.DOTTED||h===i.db.LINETYPE.DOTTED_CROSS||h===i.db.LINETYPE.DOTTED_POINT||h===i.db.LINETYPE.DOTTED_OPEN||h===i.db.LINETYPE.BIDIRECTIONAL_DOTTED?(y.style("stroke-dasharray","3, 3"),y.attr("class","messageLine1")):y.attr("class","messageLine0");let m="";Z.arrowMarkerAbsolute&&(m=(0,s.a6)(!0)),y.attr("stroke-width",2),y.attr("stroke","none"),y.style("fill","none"),(h===i.db.LINETYPE.SOLID||h===i.db.LINETYPE.DOTTED)&&y.attr("marker-end","url("+m+"#arrowhead)"),(h===i.db.LINETYPE.BIDIRECTIONAL_SOLID||h===i.db.LINETYPE.BIDIRECTIONAL_DOTTED)&&(y.attr("marker-start","url("+m+"#arrowhead)"),y.attr("marker-end","url("+m+"#arrowhead)")),(h===i.db.LINETYPE.SOLID_POINT||h===i.db.LINETYPE.DOTTED_POINT)&&y.attr("marker-end","url("+m+"#filled-head)"),(h===i.db.LINETYPE.SOLID_CROSS||h===i.db.LINETYPE.DOTTED_CROSS)&&y.attr("marker-end","url("+m+"#crosshead)"),(p||Z.showSequenceNumbers)&&((h===i.db.LINETYPE.BIDIRECTIONAL_SOLID||h===i.db.LINETYPE.BIDIRECTIONAL_DOTTED)&&(n<o?y.attr("x1",n+12):y.attr("x1",n+6)),t.append("line").attr("x1",n).attr("y1",a).attr("x2",n).attr("y2",a).attr("stroke-width",0).attr("marker-start","url("+m+"#sequencenumber)"),t.append("text").attr("x",n).attr("y",a+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(d))},"drawMessage"),nt=(0,s._)(function(t,e,a,r,i,n,o){let c,l=0,h=0,d=0;for(const t of r){const r=e.get(t),n=r.box;c&&c!=n&&(o||Q.models.addBox(c),h+=Z.boxMargin+c.margin),n&&n!=c&&(o||(n.x=l+h,n.y=i),h+=n.margin),r.width=r.width||Z.width,r.height=s.k.getMax(r.height||Z.height,Z.height),r.margin=r.margin||Z.actorMargin,d=s.k.getMax(d,r.height),a.get(r.name)&&(h+=r.width/2),r.x=l+h,r.starty=Q.getVerticalPos(),Q.insert(r.x,i,r.x+r.width,r.height),l+=r.width+h,r.box&&(r.box.width=l+n.margin-r.box.x),h=r.margin,c=r.box,Q.models.addActor(r)}c&&!o&&Q.models.addBox(c),Q.bumpVerticalPos(d)},"addActorRenderingData"),ot=(0,s._)(async function(t,e,a,r){if(r){let r=0;Q.bumpVerticalPos(2*Z.boxMargin);for(const i of a){const a=e.get(i);a.stopy||(a.stopy=Q.getVerticalPos());const n=await J.drawActor(t,a,Z,!0);r=s.k.getMax(r,n)}Q.bumpVerticalPos(r+Z.boxMargin)}else for(const r of a){const a=e.get(r);await J.drawActor(t,a,Z,!1)}},"drawActors"),ct=(0,s._)(function(t,e,a,r){let s=0,i=0;for(const n of a){const a=e.get(n),o=yt(a),c=J.drawPopup(t,a,o,Z,Z.forceMenus,r);c.height>s&&(s=c.height),c.width+a.x>i&&(i=c.width+a.x)}return{maxHeight:s,maxWidth:i}},"drawActorsPopup"),lt=(0,s._)(function(t){(0,s.f)(Z,t),t.fontFamily&&(Z.actorFontFamily=Z.noteFontFamily=Z.messageFontFamily=t.fontFamily),t.fontSize&&(Z.actorFontSize=Z.noteFontSize=Z.messageFontSize=t.fontSize),t.fontWeight&&(Z.actorFontWeight=Z.noteFontWeight=Z.messageFontWeight=t.fontWeight)},"setConf"),ht=(0,s._)(function(t){return Q.activations.filter(function(e){return e.actor===t})},"actorActivations"),dt=(0,s._)(function(t,e){const a=e.get(t),r=ht(t);return[r.reduce(function(t,e){return s.k.getMin(t,e.startx)},a.x+a.width/2-1),r.reduce(function(t,e){return s.k.getMax(t,e.stopx)},a.x+a.width/2+1)]},"activationBounds");function pt(t,e,a,r,i){Q.bumpVerticalPos(a);let n=r;if(e.id&&e.message&&t[e.id]){const a=t[e.id].width,i=et(Z);e.message=s.u.wrapLabel(`[${e.message}]`,a-2*Z.wrapPadding,i),e.width=a,e.wrap=!0;const o=s.u.calculateTextDimensions(e.message,i),c=s.k.getMax(o.height,Z.labelBoxHeight);n=r+c,s.l.debug(`${c} - ${e.message}`)}i(e),Q.bumpVerticalPos(n)}function gt(t,e,a,r,i,n,o){function c(a,r){a.x<i.get(t.from).x?(Q.insert(e.stopx-r,e.starty,e.startx,e.stopy+a.height/2+Z.noteMargin),e.stopx=e.stopx+r):(Q.insert(e.startx,e.starty,e.stopx+r,e.stopy+a.height/2+Z.noteMargin),e.stopx=e.stopx-r)}function l(a,r){a.x<i.get(t.to).x?(Q.insert(e.startx-r,e.starty,e.stopx,e.stopy+a.height/2+Z.noteMargin),e.startx=e.startx+r):(Q.insert(e.stopx,e.starty,e.startx+r,e.stopy+a.height/2+Z.noteMargin),e.startx=e.startx-r)}(0,s._)(c,"receiverAdjustment"),(0,s._)(l,"senderAdjustment");const h=["actor","control","entity","database"];if(n.get(t.to)==r){const e=i.get(t.to);c(e,h.includes(e.type)?21:e.width/2+3),e.starty=a-e.height/2,Q.bumpVerticalPos(e.height/2)}else if(o.get(t.from)==r){const e=i.get(t.from);Z.mirrorActors&&l(e,h.includes(e.type)?18:e.width/2),e.stopy=a-e.height/2,Q.bumpVerticalPos(e.height/2)}else if(o.get(t.to)==r){const e=i.get(t.to);Z.mirrorActors&&c(e,h.includes(e.type)?21:e.width/2+3),e.stopy=a-e.height/2,Q.bumpVerticalPos(e.height/2)}}(0,s._)(pt,"adjustLoopHeightForWrap"),(0,s._)(gt,"adjustCreatedDestroyedData");var ut=(0,s._)(async function(t,e,a,r){const{securityLevel:i,sequence:n}=(0,s.c)();let o;Z=n,"sandbox"===i&&(o=(0,s.d)("#i"+e));const c="sandbox"===i?(0,s.d)(o.nodes()[0].contentDocument.body):(0,s.d)("body"),l="sandbox"===i?o.nodes()[0].contentDocument:document;Q.init(),s.l.debug(r.db);const h="sandbox"===i?c.select(`[id="${e}"]`):(0,s.d)(`[id="${e}"]`),d=r.db.getActors(),p=r.db.getCreatedActors(),g=r.db.getDestroyedActors(),u=r.db.getBoxes();let x=r.db.getActorKeys();const y=r.db.getMessages(),m=r.db.getDiagramTitle(),b=r.db.hasAtLeastOneBox(),T=r.db.hasAtLeastOneBoxWithTitle(),f=await xt(d,y,r);if(Z.height=await mt(d,f,u),J.insertComputerIcon(h),J.insertDatabaseIcon(h),J.insertClockIcon(h),b&&(Q.bumpVerticalPos(Z.boxMargin),T&&Q.bumpVerticalPos(u[0].textMaxHeight)),!0===Z.hideUnusedParticipants){const t=new Set;y.forEach(e=>{t.add(e.from),t.add(e.to)}),x=x.filter(e=>t.has(e))}nt(h,d,p,x,0,y,!1);const E=await ft(y,d,f,r);function w(t,e){const a=Q.endActivation(t);a.starty+18>e&&(a.starty=e-6,e+=12),J.drawActivation(h,a,e,Z,ht(t.from).length),Q.insert(a.startx,e-10,a.stopx,e)}J.insertArrowHead(h),J.insertArrowCrossHead(h),J.insertArrowFilledHead(h),J.insertSequenceNumber(h),(0,s._)(w,"activeEnd");let _=1,k=1;const L=[],P=[];let N=0;for(const t of y){let e,a,i;switch(t.type){case r.db.LINETYPE.NOTE:Q.resetVerticalPos(),a=t.noteModel,await tt(h,a);break;case r.db.LINETYPE.ACTIVE_START:Q.newActivation(t,h,d);break;case r.db.LINETYPE.ACTIVE_END:w(t,Q.getVerticalPos());break;case r.db.LINETYPE.LOOP_START:pt(E,t,Z.boxMargin,Z.boxMargin+Z.boxTextMargin,t=>Q.newLoop(t));break;case r.db.LINETYPE.LOOP_END:e=Q.endLoop(),await J.drawLoop(h,e,"loop",Z),Q.bumpVerticalPos(e.stopy-Q.getVerticalPos()),Q.models.addLoop(e);break;case r.db.LINETYPE.RECT_START:pt(E,t,Z.boxMargin,Z.boxMargin,t=>Q.newLoop(void 0,t.message));break;case r.db.LINETYPE.RECT_END:e=Q.endLoop(),P.push(e),Q.models.addLoop(e),Q.bumpVerticalPos(e.stopy-Q.getVerticalPos());break;case r.db.LINETYPE.OPT_START:pt(E,t,Z.boxMargin,Z.boxMargin+Z.boxTextMargin,t=>Q.newLoop(t));break;case r.db.LINETYPE.OPT_END:e=Q.endLoop(),await J.drawLoop(h,e,"opt",Z),Q.bumpVerticalPos(e.stopy-Q.getVerticalPos()),Q.models.addLoop(e);break;case r.db.LINETYPE.ALT_START:pt(E,t,Z.boxMargin,Z.boxMargin+Z.boxTextMargin,t=>Q.newLoop(t));break;case r.db.LINETYPE.ALT_ELSE:pt(E,t,Z.boxMargin+Z.boxTextMargin,Z.boxMargin,t=>Q.addSectionToLoop(t));break;case r.db.LINETYPE.ALT_END:e=Q.endLoop(),await J.drawLoop(h,e,"alt",Z),Q.bumpVerticalPos(e.stopy-Q.getVerticalPos()),Q.models.addLoop(e);break;case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:pt(E,t,Z.boxMargin,Z.boxMargin+Z.boxTextMargin,t=>Q.newLoop(t)),Q.saveVerticalPos();break;case r.db.LINETYPE.PAR_AND:pt(E,t,Z.boxMargin+Z.boxTextMargin,Z.boxMargin,t=>Q.addSectionToLoop(t));break;case r.db.LINETYPE.PAR_END:e=Q.endLoop(),await J.drawLoop(h,e,"par",Z),Q.bumpVerticalPos(e.stopy-Q.getVerticalPos()),Q.models.addLoop(e);break;case r.db.LINETYPE.AUTONUMBER:_=t.message.start||_,k=t.message.step||k,t.message.visible?r.db.enableSequenceNumbers():r.db.disableSequenceNumbers();break;case r.db.LINETYPE.CRITICAL_START:pt(E,t,Z.boxMargin,Z.boxMargin+Z.boxTextMargin,t=>Q.newLoop(t));break;case r.db.LINETYPE.CRITICAL_OPTION:pt(E,t,Z.boxMargin+Z.boxTextMargin,Z.boxMargin,t=>Q.addSectionToLoop(t));break;case r.db.LINETYPE.CRITICAL_END:e=Q.endLoop(),await J.drawLoop(h,e,"critical",Z),Q.bumpVerticalPos(e.stopy-Q.getVerticalPos()),Q.models.addLoop(e);break;case r.db.LINETYPE.BREAK_START:pt(E,t,Z.boxMargin,Z.boxMargin+Z.boxTextMargin,t=>Q.newLoop(t));break;case r.db.LINETYPE.BREAK_END:e=Q.endLoop(),await J.drawLoop(h,e,"break",Z),Q.bumpVerticalPos(e.stopy-Q.getVerticalPos()),Q.models.addLoop(e);break;default:try{i=t.msgModel,i.starty=Q.getVerticalPos(),i.sequenceIndex=_,i.sequenceVisible=r.db.showSequenceNumbers();const e=await st(0,i);gt(t,i,e,N,d,p,g),L.push({messageModel:i,lineStartY:e}),Q.models.addMessage(i)}catch(t){s.l.error("error while drawing message",t)}}[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)&&(_+=k),N++}s.l.debug("createdActors",p),s.l.debug("destroyedActors",g),await ot(h,d,x,!1);for(const t of L)await it(h,t.messageModel,t.lineStartY,r);Z.mirrorActors&&await ot(h,d,x,!0),P.forEach(t=>J.drawBackgroundRect(h,t)),I(h,d,x,Z);for(const t of Q.models.boxes){t.height=Q.getVerticalPos()-t.y,Q.insert(t.x,t.y,t.x+t.width,t.height);const e=2*Z.boxMargin;t.startx=t.x-e,t.starty=t.y-.25*e,t.stopx=t.startx+t.width+2*e,t.stopy=t.starty+t.height+.75*e,t.stroke="rgb(0,0,0, 0.5)",J.drawBox(h,t,Z)}b&&Q.bumpVerticalPos(Z.boxMargin);const A=ct(h,d,x,l),{bounds:v}=Q.getBounds();void 0===v.startx&&(v.startx=0),void 0===v.starty&&(v.starty=0),void 0===v.stopx&&(v.stopx=0),void 0===v.stopy&&(v.stopy=0);let M=v.stopy-v.starty;M<A.maxHeight&&(M=A.maxHeight);let O=M+2*Z.diagramMarginY;Z.mirrorActors&&(O=O-Z.boxMargin+Z.bottomMarginAdj);let D=v.stopx-v.startx;D<A.maxWidth&&(D=A.maxWidth);const S=D+2*Z.diagramMarginX;m&&h.append("text").text(m).attr("x",(v.stopx-v.startx)/2-2*Z.diagramMarginX).attr("y",-25),(0,s.e)(h,O,S,Z.useMaxWidth);const $=m?40:0;h.attr("viewBox",v.startx-Z.diagramMarginX+" -"+(Z.diagramMarginY+$)+" "+S+" "+(O+$)),s.l.debug("models:",Q.models)},"draw");async function xt(t,e,a){const r={};for(const i of e)if(t.get(i.to)&&t.get(i.from)){const e=t.get(i.to);if(i.placement===a.db.PLACEMENT.LEFTOF&&!e.prevActor||i.placement===a.db.PLACEMENT.RIGHTOF&&!e.nextActor)continue;const n=void 0!==i.placement,o=!n,c=n?at(Z):et(Z),l=i.wrap?s.u.wrapLabel(i.message,Z.width-2*Z.wrapPadding,c):i.message,h=((0,s.a2)(l)?await(0,s.a3)(i.message,(0,s.c)()):s.u.calculateTextDimensions(l,c)).width+2*Z.wrapPadding;o&&i.from===e.nextActor?r[i.to]=s.k.getMax(r[i.to]||0,h):o&&i.from===e.prevActor?r[i.from]=s.k.getMax(r[i.from]||0,h):o&&i.from===i.to?(r[i.from]=s.k.getMax(r[i.from]||0,h/2),r[i.to]=s.k.getMax(r[i.to]||0,h/2)):i.placement===a.db.PLACEMENT.RIGHTOF?r[i.from]=s.k.getMax(r[i.from]||0,h):i.placement===a.db.PLACEMENT.LEFTOF?r[e.prevActor]=s.k.getMax(r[e.prevActor]||0,h):i.placement===a.db.PLACEMENT.OVER&&(e.prevActor&&(r[e.prevActor]=s.k.getMax(r[e.prevActor]||0,h/2)),e.nextActor&&(r[i.from]=s.k.getMax(r[i.from]||0,h/2)))}return s.l.debug("maxMessageWidthPerActor:",r),r}(0,s._)(xt,"getMaxMessageWidthPerActor");var yt=(0,s._)(function(t){let e=0;const a=rt(Z);for(const r in t.links){const t=s.u.calculateTextDimensions(r,a).width+2*Z.wrapPadding+2*Z.boxMargin;e<t&&(e=t)}return e},"getRequiredPopupWidth");async function mt(t,e,a){let r=0;for(const e of t.keys()){const a=t.get(e);a.wrap&&(a.description=s.u.wrapLabel(a.description,Z.width-2*Z.wrapPadding,rt(Z)));const i=(0,s.a2)(a.description)?await(0,s.a3)(a.description,(0,s.c)()):s.u.calculateTextDimensions(a.description,rt(Z));a.width=a.wrap?Z.width:s.k.getMax(Z.width,i.width+2*Z.wrapPadding),a.height=a.wrap?s.k.getMax(i.height,Z.height):Z.height,r=s.k.getMax(r,a.height)}for(const a in e){const r=t.get(a);if(!r)continue;const i=t.get(r.nextActor);if(!i){const t=e[a]+Z.actorMargin-r.width/2;r.margin=s.k.getMax(t,Z.actorMargin);continue}const n=e[a]+Z.actorMargin-r.width/2-i.width/2;r.margin=s.k.getMax(n,Z.actorMargin)}let i=0;return a.forEach(e=>{const a=et(Z);let r=e.actorKeys.reduce((e,a)=>e+(t.get(a).width+(t.get(a).margin||0)),0);r+=8*Z.boxMargin,r-=2*Z.boxTextMargin,e.wrap&&(e.name=s.u.wrapLabel(e.name,r-2*Z.wrapPadding,a));const n=s.u.calculateTextDimensions(e.name,a);i=s.k.getMax(n.height,i);const o=s.k.getMax(r,n.width+2*Z.wrapPadding);if(e.margin=Z.boxTextMargin,r<o){const t=(o-r)/2;e.margin+=t}}),a.forEach(t=>t.textMaxHeight=i),s.k.getMax(r,Z.height)}(0,s._)(mt,"calculateActorMargins");var bt=(0,s._)(async function(t,e,a){const r=e.get(t.from),i=e.get(t.to),n=r.x,o=i.x,c=t.wrap&&t.message;let l=(0,s.a2)(t.message)?await(0,s.a3)(t.message,(0,s.c)()):s.u.calculateTextDimensions(c?s.u.wrapLabel(t.message,Z.width,at(Z)):t.message,at(Z));const h={width:c?Z.width:s.k.getMax(Z.width,l.width+2*Z.noteMargin),height:0,startx:r.x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===a.db.PLACEMENT.RIGHTOF?(h.width=c?s.k.getMax(Z.width,l.width):s.k.getMax(r.width/2+i.width/2,l.width+2*Z.noteMargin),h.startx=n+(r.width+Z.actorMargin)/2):t.placement===a.db.PLACEMENT.LEFTOF?(h.width=c?s.k.getMax(Z.width,l.width+2*Z.noteMargin):s.k.getMax(r.width/2+i.width/2,l.width+2*Z.noteMargin),h.startx=n-h.width+(r.width-Z.actorMargin)/2):t.to===t.from?(l=s.u.calculateTextDimensions(c?s.u.wrapLabel(t.message,s.k.getMax(Z.width,r.width),at(Z)):t.message,at(Z)),h.width=c?s.k.getMax(Z.width,r.width):s.k.getMax(r.width,Z.width,l.width+2*Z.noteMargin),h.startx=n+(r.width-h.width)/2):(h.width=Math.abs(n+r.width/2-(o+i.width/2))+Z.actorMargin,h.startx=n<o?n+r.width/2-Z.actorMargin/2:o+i.width/2-Z.actorMargin/2),c&&(h.message=s.u.wrapLabel(t.message,h.width-2*Z.wrapPadding,at(Z))),s.l.debug(`NM:[${h.startx},${h.stopx},${h.starty},${h.stopy}:${h.width},${h.height}=${t.message}]`),h},"buildNoteModel"),Tt=(0,s._)(function(t,e,a){if(![a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN,a.db.LINETYPE.SOLID,a.db.LINETYPE.DOTTED,a.db.LINETYPE.SOLID_CROSS,a.db.LINETYPE.DOTTED_CROSS,a.db.LINETYPE.SOLID_POINT,a.db.LINETYPE.DOTTED_POINT,a.db.LINETYPE.BIDIRECTIONAL_SOLID,a.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(t.type))return{};const[r,i]=dt(t.from,e),[n,o]=dt(t.to,e),c=r<=n;let l=c?i:r,h=c?n:o;const d=Math.abs(n-o)>2,p=(0,s._)(t=>c?-t:t,"adjustValue");t.from===t.to?h=l:(t.activate&&!d&&(h+=p(Z.activationWidth/2-1)),[a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN].includes(t.type)||(h+=p(3)),[a.db.LINETYPE.BIDIRECTIONAL_SOLID,a.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(t.type)&&(l-=p(3)));const g=[r,i,n,o],u=Math.abs(l-h);t.wrap&&t.message&&(t.message=s.u.wrapLabel(t.message,s.k.getMax(u+2*Z.wrapPadding,Z.width),et(Z)));const x=s.u.calculateTextDimensions(t.message,et(Z));return{width:s.k.getMax(t.wrap?0:x.width+2*Z.wrapPadding,u+2*Z.wrapPadding,Z.width),height:0,startx:l,stopx:h,starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,g),toBounds:Math.max.apply(null,g)}},"buildMessageModel"),ft=(0,s._)(async function(t,e,a,r){const i={},n=[];let o,c,l;for(const a of t){switch(a.type){case r.db.LINETYPE.LOOP_START:case r.db.LINETYPE.ALT_START:case r.db.LINETYPE.OPT_START:case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:case r.db.LINETYPE.CRITICAL_START:case r.db.LINETYPE.BREAK_START:n.push({id:a.id,msg:a.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case r.db.LINETYPE.ALT_ELSE:case r.db.LINETYPE.PAR_AND:case r.db.LINETYPE.CRITICAL_OPTION:a.message&&(o=n.pop(),i[o.id]=o,i[a.id]=o,n.push(o));break;case r.db.LINETYPE.LOOP_END:case r.db.LINETYPE.ALT_END:case r.db.LINETYPE.OPT_END:case r.db.LINETYPE.PAR_END:case r.db.LINETYPE.CRITICAL_END:case r.db.LINETYPE.BREAK_END:o=n.pop(),i[o.id]=o;break;case r.db.LINETYPE.ACTIVE_START:{const t=e.get(a.from?a.from:a.to.actor),r=ht(a.from?a.from:a.to.actor).length,s=t.x+t.width/2+(r-1)*Z.activationWidth/2,i={startx:s,stopx:s+Z.activationWidth,actor:a.from,enabled:!0};Q.activations.push(i)}break;case r.db.LINETYPE.ACTIVE_END:{const t=Q.activations.map(t=>t.actor).lastIndexOf(a.from);Q.activations.splice(t,1).splice(0,1)}}void 0!==a.placement?(c=await bt(a,e,r),a.noteModel=c,n.forEach(t=>{o=t,o.from=s.k.getMin(o.from,c.startx),o.to=s.k.getMax(o.to,c.startx+c.width),o.width=s.k.getMax(o.width,Math.abs(o.from-o.to))-Z.labelBoxWidth})):(l=Tt(a,e,r),a.msgModel=l,l.startx&&l.stopx&&n.length>0&&n.forEach(t=>{if(o=t,l.startx===l.stopx){const t=e.get(a.from),r=e.get(a.to);o.from=s.k.getMin(t.x-l.width/2,t.x-t.width/2,o.from),o.to=s.k.getMax(r.x+l.width/2,r.x+t.width/2,o.to),o.width=s.k.getMax(o.width,Math.abs(o.to-o.from))-Z.labelBoxWidth}else o.from=s.k.getMin(l.startx,o.from),o.to=s.k.getMax(l.stopx,o.to),o.width=s.k.getMax(o.width,l.width)-Z.labelBoxWidth}))}return Q.activations=[],s.l.debug("Loop type widths:",i),i},"calculateLoopBounds"),Et={bounds:Q,drawActors:ot,drawActorsPopup:ct,setConf:lt,draw:ut},wt={parser:c,get db(){return new p},renderer:Et,styles:g,init:(0,s._)(t=>{t.sequence||(t.sequence={}),t.wrap&&(t.sequence.wrap=t.wrap,(0,s.o)({sequence:{wrap:t.wrap}}))},"init")}},39804:(t,e,a)=>{a.d(e,{a:()=>i,b:()=>h,c:()=>c,d:()=>s,e:()=>o,f:()=>n,g:()=>l});var r=a(63246),s=(0,r._)((t,e)=>{const a=t.append("rect");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("width",e.width),a.attr("height",e.height),e.name&&a.attr("name",e.name),e.rx&&a.attr("rx",e.rx),e.ry&&a.attr("ry",e.ry),void 0!==e.attrs)for(const t in e.attrs)a.attr(t,e.attrs[t]);return e.class&&a.attr("class",e.class),a},"drawRect"),i=(0,r._)((t,e)=>{const a={x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"};s(t,a).lower()},"drawBackgroundRect"),n=(0,r._)((t,e)=>{const a=e.text.replace(r.n," "),s=t.append("text");s.attr("x",e.x),s.attr("y",e.y),s.attr("class","legend"),s.style("text-anchor",e.anchor),e.class&&s.attr("class",e.class);const i=s.append("tspan");return i.attr("x",e.x+2*e.textMargin),i.text(a),s},"drawText"),o=(0,r._)((t,e,a,s)=>{const i=t.append("image");i.attr("x",e),i.attr("y",a);const n=r.j.sanitizeUrl(s);i.attr("xlink:href",n)},"drawImage"),c=(0,r._)((t,e,a,s)=>{const i=t.append("use");i.attr("x",e),i.attr("y",a);const n=r.j.sanitizeUrl(s);i.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),l=(0,r._)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),h=(0,r._)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")}}]);
1
+ "use strict";(self.webpackChunkruncell=self.webpackChunkruncell||[]).push([[6494],{19918:(t,e,a)=>{a.d(e,{I:()=>i});var r,s=a(43340),i=(r=class{constructor(t){this.init=t,this.records=this.init()}reset(){this.records=this.init()}},(0,s._)(r,"ImperativeState"),r)},66494:(t,e,a)=>{a.d(e,{diagram:()=>wt});var r=a(83735),s=a(43340),i=a(19918),n=function(){var t=(0,s._)(function(t,e,a,r){for(a=a||{},r=t.length;r--;a[t[r]]=e);return a},"o"),e=[1,2],a=[1,3],r=[1,4],i=[2,4],n=[1,9],o=[1,11],c=[1,13],l=[1,14],h=[1,16],d=[1,17],p=[1,18],g=[1,24],u=[1,25],x=[1,26],y=[1,27],m=[1,28],b=[1,29],T=[1,30],f=[1,31],E=[1,32],w=[1,33],_=[1,34],k=[1,35],I=[1,36],L=[1,37],P=[1,38],N=[1,39],A=[1,41],v=[1,42],M=[1,43],O=[1,44],D=[1,45],S=[1,46],$=[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],R=[2,71],C=[4,5,16,50,52,53],B=[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],Y=[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],V=[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],F=[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],W=[69,70,71],q=[1,127],z={trace:(0,s._)(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:(0,s._)(function(t,e,a,r,s,i,n){var o=i.length-1;switch(s){case 3:return r.apply(i[o]),i[o];case 4:case 9:case 8:case 13:this.$=[];break;case 5:case 10:i[o-1].push(i[o]),this.$=i[o-1];break;case 6:case 7:case 11:case 12:case 63:this.$=i[o];break;case 15:i[o].type="createParticipant",this.$=i[o];break;case 16:i[o-1].unshift({type:"boxStart",boxData:r.parseBoxData(i[o-2])}),i[o-1].push({type:"boxEnd",boxText:i[o-2]}),this.$=i[o-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(i[o-2]),sequenceIndexStep:Number(i[o-1]),sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(i[o-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:i[o-1].actor};break;case 23:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:i[o-1].actor};break;case 29:r.setDiagramTitle(i[o].substring(6)),this.$=i[o].substring(6);break;case 30:r.setDiagramTitle(i[o].substring(7)),this.$=i[o].substring(7);break;case 31:this.$=i[o].trim(),r.setAccTitle(this.$);break;case 32:case 33:this.$=i[o].trim(),r.setAccDescription(this.$);break;case 34:i[o-1].unshift({type:"loopStart",loopText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.LOOP_START}),i[o-1].push({type:"loopEnd",loopText:i[o-2],signalType:r.LINETYPE.LOOP_END}),this.$=i[o-1];break;case 35:i[o-1].unshift({type:"rectStart",color:r.parseMessage(i[o-2]),signalType:r.LINETYPE.RECT_START}),i[o-1].push({type:"rectEnd",color:r.parseMessage(i[o-2]),signalType:r.LINETYPE.RECT_END}),this.$=i[o-1];break;case 36:i[o-1].unshift({type:"optStart",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.OPT_START}),i[o-1].push({type:"optEnd",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.OPT_END}),this.$=i[o-1];break;case 37:i[o-1].unshift({type:"altStart",altText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.ALT_START}),i[o-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=i[o-1];break;case 38:i[o-1].unshift({type:"parStart",parText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.PAR_START}),i[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=i[o-1];break;case 39:i[o-1].unshift({type:"parStart",parText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.PAR_OVER_START}),i[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=i[o-1];break;case 40:i[o-1].unshift({type:"criticalStart",criticalText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.CRITICAL_START}),i[o-1].push({type:"criticalEnd",signalType:r.LINETYPE.CRITICAL_END}),this.$=i[o-1];break;case 41:i[o-1].unshift({type:"breakStart",breakText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.BREAK_START}),i[o-1].push({type:"breakEnd",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.BREAK_END}),this.$=i[o-1];break;case 43:this.$=i[o-3].concat([{type:"option",optionText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.CRITICAL_OPTION},i[o]]);break;case 45:this.$=i[o-3].concat([{type:"and",parText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.PAR_AND},i[o]]);break;case 47:this.$=i[o-3].concat([{type:"else",altText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.ALT_ELSE},i[o]]);break;case 48:i[o-3].draw="participant",i[o-3].type="addParticipant",i[o-3].description=r.parseMessage(i[o-1]),this.$=i[o-3];break;case 49:case 53:i[o-1].draw="participant",i[o-1].type="addParticipant",this.$=i[o-1];break;case 50:i[o-3].draw="actor",i[o-3].type="addParticipant",i[o-3].description=r.parseMessage(i[o-1]),this.$=i[o-3];break;case 51:i[o-1].draw="actor",i[o-1].type="addParticipant",this.$=i[o-1];break;case 52:i[o-1].type="destroyParticipant",this.$=i[o-1];break;case 54:this.$=[i[o-1],{type:"addNote",placement:i[o-2],actor:i[o-1].actor,text:i[o]}];break;case 55:i[o-2]=[].concat(i[o-1],i[o-1]).slice(0,2),i[o-2][0]=i[o-2][0].actor,i[o-2][1]=i[o-2][1].actor,this.$=[i[o-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:i[o-2].slice(0,2),text:i[o]}];break;case 56:this.$=[i[o-1],{type:"addLinks",actor:i[o-1].actor,text:i[o]}];break;case 57:this.$=[i[o-1],{type:"addALink",actor:i[o-1].actor,text:i[o]}];break;case 58:this.$=[i[o-1],{type:"addProperties",actor:i[o-1].actor,text:i[o]}];break;case 59:this.$=[i[o-1],{type:"addDetails",actor:i[o-1].actor,text:i[o]}];break;case 62:this.$=[i[o-2],i[o]];break;case 64:this.$=r.PLACEMENT.LEFTOF;break;case 65:this.$=r.PLACEMENT.RIGHTOF;break;case 66:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o],activate:!0},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:i[o-1].actor}];break;case 67:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:i[o-4].actor}];break;case 68:this.$=[i[o-3],i[o-1],{type:"addMessage",from:i[o-3].actor,to:i[o-1].actor,signalType:i[o-2],msg:i[o]}];break;case 69:this.$={type:"addParticipant",actor:i[o-1],config:i[o]};break;case 70:this.$=i[o-1].trim();break;case 71:this.$={type:"addParticipant",actor:i[o]};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(i[o].trim().substring(1))}},"anonymous"),table:[{3:1,4:e,5:a,6:r},{1:[3]},{3:5,4:e,5:a,6:r},{3:6,4:e,5:a,6:r},t([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],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:o,8:8,9:10,12:12,13:c,14:l,17:15,18:h,21:d,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:_,44:k,46:I,50:L,52:P,53:N,55:A,60:v,61:M,62:O,63:D,71:S},t($,[2,5]),{9:47,12:12,13:c,14:l,17:15,18:h,21:d,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:_,44:k,46:I,50:L,52:P,53:N,55:A,60:v,61:M,62:O,63:D,71:S},t($,[2,7]),t($,[2,8]),t($,[2,14]),{12:48,50:L,52:P,53:N},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,71:S},{22:55,71:S},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t($,[2,29]),t($,[2,30]),{32:[1,61]},{34:[1,62]},t($,[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:S},{22:75,71:S},{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:S},{22:92,71:S},{22:93,71:S},{22:94,71:S},t([5,51,65,76,77,78,79,80,81,82,83,84,85,86],R),t($,[2,6]),t($,[2,15]),t(C,[2,9],{10:95}),t($,[2,17]),{5:[1,97],19:[1,96]},{5:[1,98]},t($,[2,21]),{5:[1,99]},{5:[1,100]},t($,[2,24]),t($,[2,25]),t($,[2,26]),t($,[2,27]),t($,[2,28]),t($,[2,31]),t($,[2,32]),t(B,i,{7:101}),t(B,i,{7:102}),t(B,i,{7:103}),t(Y,i,{40:104,7:105}),t(V,i,{42:106,7:107}),t(V,i,{7:107,42:108}),t(F,i,{45:109,7:110}),t(B,i,{7:111}),{5:[1,113],51:[1,112]},{5:[1,114]},t([5,51],R,{72:115,73:[1,116]}),{5:[1,118],51:[1,117]},{5:[1,119]},{22:122,69:[1,120],70:[1,121],71:S},t(W,[2,72]),t(W,[2,73]),t(W,[2,74]),t(W,[2,75]),t(W,[2,76]),t(W,[2,77]),t(W,[2,78]),t(W,[2,79]),t(W,[2,80]),t(W,[2,81]),{22:123,71:S},{22:125,59:124,71:S},{71:[2,64]},{71:[2,65]},{57:126,86:q},{57:128,86:q},{57:129,86:q},{57:130,86:q},{4:[1,133],5:[1,135],11:132,12:134,16:[1,131],50:L,52:P,53:N},{5:[1,136]},t($,[2,19]),t($,[2,20]),t($,[2,22]),t($,[2,23]),{4:n,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,137],17:15,18:h,21:d,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:_,44:k,46:I,50:L,52:P,53:N,55:A,60:v,61:M,62:O,63:D,71:S},{4:n,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,138],17:15,18:h,21:d,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:_,44:k,46:I,50:L,52:P,53:N,55:A,60:v,61:M,62:O,63:D,71:S},{4:n,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,139],17:15,18:h,21:d,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:_,44:k,46:I,50:L,52:P,53:N,55:A,60:v,61:M,62:O,63:D,71:S},{16:[1,140]},{4:n,5:o,8:8,9:10,12:12,13:c,14:l,16:[2,46],17:15,18:h,21:d,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:_,44:k,46:I,49:[1,141],50:L,52:P,53:N,55:A,60:v,61:M,62:O,63:D,71:S},{16:[1,142]},{4:n,5:o,8:8,9:10,12:12,13:c,14:l,16:[2,44],17:15,18:h,21:d,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:_,44:k,46:I,48:[1,143],50:L,52:P,53:N,55:A,60:v,61:M,62:O,63:D,71:S},{16:[1,144]},{16:[1,145]},{4:n,5:o,8:8,9:10,12:12,13:c,14:l,16:[2,42],17:15,18:h,21:d,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:_,44:k,46:I,47:[1,146],50:L,52:P,53:N,55:A,60:v,61:M,62:O,63:D,71:S},{4:n,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,147],17:15,18:h,21:d,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:_,44:k,46:I,50:L,52:P,53:N,55:A,60:v,61:M,62:O,63:D,71:S},{15:[1,148]},t($,[2,49]),t($,[2,53]),{5:[2,69]},{74:[1,149]},{15:[1,150]},t($,[2,51]),t($,[2,52]),{22:151,71:S},{22:152,71:S},{57:153,86:q},{57:154,86:q},{57:155,86:q},{65:[1,156],86:[2,63]},{5:[2,56]},{5:[2,82]},{5:[2,57]},{5:[2,58]},{5:[2,59]},t($,[2,16]),t(C,[2,10]),{12:157,50:L,52:P,53:N},t(C,[2,12]),t(C,[2,13]),t($,[2,18]),t($,[2,34]),t($,[2,35]),t($,[2,36]),t($,[2,37]),{15:[1,158]},t($,[2,38]),{15:[1,159]},t($,[2,39]),t($,[2,40]),{15:[1,160]},t($,[2,41]),{5:[1,161]},{75:[1,162]},{5:[1,163]},{57:164,86:q},{57:165,86:q},{5:[2,68]},{5:[2,54]},{5:[2,55]},{22:166,71:S},t(C,[2,11]),t(Y,i,{7:105,40:167}),t(V,i,{7:107,42:168}),t(F,i,{7:110,45:169}),t($,[2,48]),{5:[2,70]},t($,[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:(0,s._)(function(t,e){if(!e.recoverable){var a=new Error(t);throw a.hash=e,a}this.trace(t)},"parseError"),parse:(0,s._)(function(t){var e=this,a=[0],r=[],i=[null],n=[],o=this.table,c="",l=0,h=0,d=n.slice.call(arguments,1),p=Object.create(this.lexer),g={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(g.yy[u]=this.yy[u]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var x=p.yylloc;n.push(x);var y=p.options&&p.options.ranges;function m(){var t;return"number"!=typeof(t=r.pop()||p.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,s._)(function(t){a.length=a.length-2*t,i.length=i.length-t,n.length=n.length-t},"popStack"),(0,s._)(m,"lex");for(var b,T,f,E,w,_,k,I,L={};;){if(T=a[a.length-1],this.defaultActions[T]?f=this.defaultActions[T]:((null===b||typeof b>"u")&&(b=m()),f=o[T]&&o[T][b]),typeof f>"u"||!f.length||!f[0]){var P;for(w in I=[],o[T])this.terminals_[w]&&w>2&&I.push("'"+this.terminals_[w]+"'");P=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+I.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(P,{text:p.match,token:this.terminals_[b]||b,line:p.yylineno,loc:x,expected:I})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+T+", token: "+b);switch(f[0]){case 1:a.push(b),i.push(p.yytext),n.push(p.yylloc),a.push(f[1]),b=null,h=p.yyleng,c=p.yytext,l=p.yylineno,x=p.yylloc;break;case 2:if(_=this.productions_[f[1]][1],L.$=i[i.length-_],L._$={first_line:n[n.length-(_||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(_||1)].first_column,last_column:n[n.length-1].last_column},y&&(L._$.range=[n[n.length-(_||1)].range[0],n[n.length-1].range[1]]),typeof(E=this.performAction.apply(L,[c,h,l,g.yy,f[1],i,n].concat(d)))<"u")return E;_&&(a=a.slice(0,-1*_*2),i=i.slice(0,-1*_),n=n.slice(0,-1*_)),a.push(this.productions_[f[1]][0]),i.push(L.$),n.push(L._$),k=o[a[a.length-2]][a[a.length-1]],a.push(k);break;case 3:return!0}}return!0},"parse")},H=function(){return{EOF:1,parseError:(0,s._)(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:(0,s._)(function(t,e){return this.yy=e||this.yy||{},this._input=t,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:(0,s._)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},"input"),unput:(0,s._)(function(t){var e=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;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),a.length-1&&(this.yylineno-=a.length-1);var s=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:a?(a.length===r.length?this.yylloc.first_column:0)+r[r.length-a.length].length-a[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,s._)(function(){return this._more=!0,this},"more"),reject:(0,s._)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,s._)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,s._)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,s._)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,s._)(function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,s._)(function(t,e){var a,r,s;if(this.options.backtrack_lexer&&(s={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&&(s.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(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+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var i in s)this[i]=s[i];return!1}return!1},"test_match"),next:(0,s._)(function(){if(this.done)return this.EOF;var t,e,a,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),i=0;i<s.length;i++)if((a=this._input.match(this.rules[s[i]]))&&(!e||a[0].length>e[0].length)){if(e=a,r=i,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,s[i])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,s._)(function(){return this.next()||this.lex()},"lex"),begin:(0,s._)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,s._)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,s._)(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:(0,s._)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,s._)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,s._)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,s._)(function(t,e,a,r){switch(a){case 0:case 56:case 72:return 5;case 1:case 2:case 3:case 4: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:case 57:return e.yytext=e.yytext.trim(),71;case 11:case 17:return e.yytext=e.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 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 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:case 69:return 86;case 70:return 69;case 71:return 70;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 j(){this.yy={}}return z.lexer=H,(0,s._)(j,"Parser"),j.prototype=z,z.Parser=j,new j}();n.parser=n;var o,c=n,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},h={FILLED:0,OPEN:1},d={LEFTOF:0,RIGHTOF:1,OVER:2},p=(o=class{constructor(){this.state=new i.I(()=>({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=s.b,this.setAccDescription=s.s,this.setDiagramTitle=s.q,this.getAccTitle=s.a,this.getAccDescription=s.g,this.getDiagramTitle=s.t,this.apply=this.apply.bind(this),this.parseBoxData=this.parseBoxData.bind(this),this.parseMessage=this.parseMessage.bind(this),this.clear(),this.setWrap((0,s.c)().wrap),this.LINETYPE=l,this.ARROWTYPE=h,this.PLACEMENT=d}addBox(t){this.state.records.boxes.push({name:t.text,wrap:t.wrap??this.autoWrap(),fill:t.color,actorKeys:[]}),this.state.records.currentBox=this.state.records.boxes.slice(-1)[0]}addActor(t,e,a,r,i){let n,o=this.state.records.currentBox;if(void 0!==i){let t;t=i.includes("\n")?i+"\n":"{\n"+i+"\n}",n=(0,s.v)(t,{schema:s.J})}r=(null==n?void 0:n.type)??r;const c=this.state.records.actors.get(t);if(c){if(this.state.records.currentBox&&c.box&&this.state.records.currentBox!==c.box)throw new Error(`A same participant should only be defined in one Box: ${c.name} can't be in '${c.box.name}' and in '${this.state.records.currentBox.name}' at the same time.`);if(o=c.box?c.box:this.state.records.currentBox,c.box=o,c&&e===c.name&&null==a)return}if(null==(null==a?void 0:a.text)&&(a={text:e,type:r}),(null==r||null==a.text)&&(a={text:e,type:r}),this.state.records.actors.set(t,{box:o,name:e,description:a.text,wrap:a.wrap??this.autoWrap(),prevActor:this.state.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:r??"participant"}),this.state.records.prevActor){const e=this.state.records.actors.get(this.state.records.prevActor);e&&(e.nextActor=t)}this.state.records.currentBox&&this.state.records.currentBox.actorKeys.push(t),this.state.records.prevActor=t}activationCount(t){let e,a=0;if(!t)return 0;for(e=0;e<this.state.records.messages.length;e++)this.state.records.messages[e].type===this.LINETYPE.ACTIVE_START&&this.state.records.messages[e].from===t&&a++,this.state.records.messages[e].type===this.LINETYPE.ACTIVE_END&&this.state.records.messages[e].from===t&&a--;return a}addMessage(t,e,a,r){this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:t,to:e,message:a.text,wrap:a.wrap??this.autoWrap(),answer:r})}addSignal(t,e,a,r,s=!1){if(r===this.LINETYPE.ACTIVE_END&&this.activationCount(t??"")<1){const e=new Error("Trying to inactivate an inactive participant ("+t+")");throw e.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},e}return this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:t,to:e,message:(null==a?void 0:a.text)??"",wrap:(null==a?void 0:a.wrap)??this.autoWrap(),type:r,activate:s}),!0}hasAtLeastOneBox(){return this.state.records.boxes.length>0}hasAtLeastOneBoxWithTitle(){return this.state.records.boxes.some(t=>t.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(t){return this.state.records.actors.get(t)}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(t){this.state.records.wrapEnabled=t}extractWrap(t){if(void 0===t)return{};t=t.trim();const e=null!==/^:?wrap:/.exec(t)||null===/^:?nowrap:/.exec(t)&&void 0;return{cleanedText:(void 0===e?t:t.replace(/^:?(?:no)?wrap:/,"")).trim(),wrap:e}}autoWrap(){var t;return void 0!==this.state.records.wrapEnabled?this.state.records.wrapEnabled:(null==(t=(0,s.c)().sequence)?void 0:t.wrap)??!1}clear(){this.state.reset(),(0,s.z)()}parseMessage(t){const e=t.trim(),{wrap:a,cleanedText:r}=this.extractWrap(e),i={text:r,wrap:a};return s.l.debug(`parseMessage: ${JSON.stringify(i)}`),i}parseBoxData(t){const e=/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/.exec(t);let a=null!=e&&e[1]?e[1].trim():"transparent",r=null!=e&&e[2]?e[2].trim():void 0;if(null!=window&&window.CSS)window.CSS.supports("color",a)||(a="transparent",r=t.trim());else{const e=(new Option).style;e.color=a,e.color!==a&&(a="transparent",r=t.trim())}const{wrap:i,cleanedText:n}=this.extractWrap(r);return{text:n?(0,s.i)(n,(0,s.c)()):void 0,color:a,wrap:i}}addNote(t,e,a){const r={actor:t,placement:e,message:a.text,wrap:a.wrap??this.autoWrap()},s=[].concat(t,t);this.state.records.notes.push(r),this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:s[0],to:s[1],message:a.text,wrap:a.wrap??this.autoWrap(),type:this.LINETYPE.NOTE,placement:e})}addLinks(t,e){const a=this.getActor(t);try{let t=(0,s.i)(e.text,(0,s.c)());t=t.replace(/&equals;/g,"="),t=t.replace(/&amp;/g,"&");const r=JSON.parse(t);this.insertLinks(a,r)}catch(t){s.l.error("error while parsing actor link text",t)}}addALink(t,e){const a=this.getActor(t);try{const t={};let r=(0,s.i)(e.text,(0,s.c)());const i=r.indexOf("@");r=r.replace(/&equals;/g,"="),r=r.replace(/&amp;/g,"&");const n=r.slice(0,i-1).trim(),o=r.slice(i+1).trim();t[n]=o,this.insertLinks(a,t)}catch(t){s.l.error("error while parsing actor link text",t)}}insertLinks(t,e){if(null==t.links)t.links=e;else for(const a in e)t.links[a]=e[a]}addProperties(t,e){const a=this.getActor(t);try{const t=(0,s.i)(e.text,(0,s.c)()),r=JSON.parse(t);this.insertProperties(a,r)}catch(t){s.l.error("error while parsing actor properties text",t)}}insertProperties(t,e){if(null==t.properties)t.properties=e;else for(const a in e)t.properties[a]=e[a]}boxEnd(){this.state.records.currentBox=void 0}addDetails(t,e){const a=this.getActor(t),r=document.getElementById(e.text);try{const t=r.innerHTML,e=JSON.parse(t);e.properties&&this.insertProperties(a,e.properties),e.links&&this.insertLinks(a,e.links)}catch(t){s.l.error("error while parsing actor details text",t)}}getActorProperty(t,e){if(void 0!==(null==t?void 0:t.properties))return t.properties[e]}apply(t){if(Array.isArray(t))t.forEach(t=>{this.apply(t)});else switch(t.type){case"sequenceIndex":this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:void 0,to:void 0,message:{start:t.sequenceIndex,step:t.sequenceIndexStep,visible:t.sequenceVisible},wrap:!1,type:t.signalType});break;case"addParticipant":this.addActor(t.actor,t.actor,t.description,t.draw,t.config);break;case"createParticipant":if(this.state.records.actors.has(t.actor))throw new 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=t.actor,this.addActor(t.actor,t.actor,t.description,t.draw,t.config),this.state.records.createdActors.set(t.actor,this.state.records.messages.length);break;case"destroyParticipant":this.state.records.lastDestroyed=t.actor,this.state.records.destroyedActors.set(t.actor,this.state.records.messages.length);break;case"activeStart":case"activeEnd":this.addSignal(t.actor,void 0,void 0,t.signalType);break;case"addNote":this.addNote(t.actor,t.placement,t.text);break;case"addLinks":this.addLinks(t.actor,t.text);break;case"addALink":this.addALink(t.actor,t.text);break;case"addProperties":this.addProperties(t.actor,t.text);break;case"addDetails":this.addDetails(t.actor,t.text);break;case"addMessage":if(this.state.records.lastCreated){if(t.to!==this.state.records.lastCreated)throw new 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(t.to!==this.state.records.lastDestroyed&&t.from!==this.state.records.lastDestroyed)throw new 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(t.from,t.to,t.msg,t.signalType,t.activate);break;case"boxStart":this.addBox(t.boxData);break;case"boxEnd":this.boxEnd();break;case"loopStart":this.addSignal(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":this.addSignal(void 0,void 0,void 0,t.signalType);break;case"rectStart":this.addSignal(void 0,void 0,t.color,t.signalType);break;case"optStart":this.addSignal(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":this.addSignal(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":(0,s.b)(t.text);break;case"parStart":case"and":this.addSignal(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":this.addSignal(void 0,void 0,t.criticalText,t.signalType);break;case"option":this.addSignal(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":this.addSignal(void 0,void 0,t.breakText,t.signalType)}}getConfig(){return(0,s.c)().sequence}},(0,s._)(o,"SequenceDB"),o),g=(0,s._)(t=>`.actor {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n\n text.actor > tspan {\n fill: ${t.actorTextColor};\n stroke: none;\n }\n\n .actor-line {\n stroke: ${t.actorLineColor};\n }\n \n .innerArc {\n stroke-width: 1.5;\n stroke-dasharray: none;\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ${t.signalColor};\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ${t.signalColor};\n }\n\n #arrowhead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .sequenceNumber {\n fill: ${t.sequenceNumberColor};\n }\n\n #sequencenumber {\n fill: ${t.signalColor};\n }\n\n #crosshead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .messageText {\n fill: ${t.signalTextColor};\n stroke: none;\n }\n\n .labelBox {\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBkgColor};\n }\n\n .labelText, .labelText > tspan {\n fill: ${t.labelTextColor};\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ${t.loopTextColor};\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBorderColor};\n }\n\n .note {\n //stroke: #decc93;\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n }\n\n .noteText, .noteText > tspan {\n fill: ${t.noteTextColor};\n stroke: none;\n }\n\n .activation0 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation1 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation2 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ${t.actorBkg};\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\n}\n .actor-man line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n .actor-man circle, line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n stroke-width: 2px;\n }\n\n`,"getStyles"),u="actor-top",x="actor-bottom",y="actor-box",m="actor-man",b=(0,s._)(function(t,e){return(0,r.d)(t,e)},"drawRect"),T=(0,s._)(function(t,e,a,r,i){if(void 0===e.links||null===e.links||0===Object.keys(e.links).length)return{height:0,width:0};const n=e.links,o=e.actorCnt,c=e.rectData;var l="none";i&&(l="block !important");const h=t.append("g");h.attr("id","actor"+o+"_popup"),h.attr("class","actorPopupMenu"),h.attr("display",l);var d="";void 0!==c.class&&(d=" "+c.class);let p=c.width>a?c.width:a;const g=h.append("rect");if(g.attr("class","actorPopupMenuPanel"+d),g.attr("x",c.x),g.attr("y",c.height),g.attr("fill",c.fill),g.attr("stroke",c.stroke),g.attr("width",p),g.attr("height",c.height),g.attr("rx",c.rx),g.attr("ry",c.ry),null!=n){var u=20;for(let t in n){var x=h.append("a"),y=s.j.sanitizeUrl(n[t]);x.attr("xlink:href",y),x.attr("target","_blank"),X(r)(t,x,c.x+10,c.height+u,p,20,{class:"actor"},r),u+=30}}return g.attr("height",u),{height:c.height+u,width:p}},"drawPopup"),f=(0,s._)(function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }"},"popupMenuToggle"),E=(0,s._)(async function(t,e,a=null){let r=t.append("foreignObject");const i=await(0,s.a7)(e.text,(0,s.G)()),n=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(n.height)).attr("width",Math.round(n.width)),"noteText"===e.class){const a=t.node().firstChild;a.setAttribute("height",n.height+2*e.textMargin);const s=a.getBBox();r.attr("x",Math.round(s.x+s.width/2-n.width/2)).attr("y",Math.round(s.y+s.height/2-n.height/2))}else if(a){let{startx:t,stopx:s,starty:i}=a;if(t>s){const e=t;t=s,s=e}r.attr("x",Math.round(t+Math.abs(t-s)/2-n.width/2)),"loopText"===e.class?r.attr("y",Math.round(i)):r.attr("y",Math.round(i-n.height))}return[r]},"drawKatex"),w=(0,s._)(function(t,e){let a=0,r=0;const i=e.text.split(s.k.lineBreakRegex),[n,o]=(0,s.a4)(e.fontSize);let c=[],l=0,h=(0,s._)(()=>e.y,"yfunc");if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":h=(0,s._)(()=>Math.round(e.y+e.textMargin),"yfunc");break;case"middle":case"center":h=(0,s._)(()=>Math.round(e.y+(a+r+e.textMargin)/2),"yfunc");break;case"bottom":case"end":h=(0,s._)(()=>Math.round(e.y+(a+r+2*e.textMargin)-e.textMargin),"yfunc")}if(void 0!==e.anchor&&void 0!==e.textMargin&&void 0!==e.width)switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin),e.anchor="start",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2),e.anchor="middle",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor="end",e.dominantBaseline="middle",e.alignmentBaseline="middle"}for(let[d,p]of i.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==n&&(l=d*n);const i=t.append("text");i.attr("x",e.x),i.attr("y",h()),void 0!==e.anchor&&i.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&i.style("font-family",e.fontFamily),void 0!==o&&i.style("font-size",o),void 0!==e.fontWeight&&i.style("font-weight",e.fontWeight),void 0!==e.fill&&i.attr("fill",e.fill),void 0!==e.class&&i.attr("class",e.class),void 0!==e.dy?i.attr("dy",e.dy):0!==l&&i.attr("dy",l);const g=p||s.a5;if(e.tspan){const t=i.append("tspan");t.attr("x",e.x),void 0!==e.fill&&t.attr("fill",e.fill),t.text(g)}else i.text(g);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(r+=(i._groups||i)[0][0].getBBox().height,a=r),c.push(i)}return c},"drawText"),_=(0,s._)(function(t,e){function a(t,e,a,r,s){return t+","+e+" "+(t+a)+","+e+" "+(t+a)+","+(e+r-s)+" "+(t+a-1.2*s)+","+(e+r)+" "+t+","+(e+r)}(0,s._)(a,"genPoints");const r=t.append("polygon");return r.attr("points",a(e.x,e.y,e.width,e.height,7)),r.attr("class","labelBox"),e.y=e.y+e.height/2,w(t,e),r},"drawLabel"),k=-1,I=(0,s._)((t,e,a,r)=>{t.select&&a.forEach(a=>{const s=e.get(a),i=t.select("#actor"+s.actorCnt);!r.mirrorActors&&s.stopy?i.attr("y2",s.stopy+s.height/2):r.mirrorActors&&i.attr("y2",s.stopy)})},"fixLifeLineHeights"),L=(0,s._)(function(t,e,a,i){var n,o;const c=i?e.stopy:e.starty,l=e.x+e.width/2,h=c+e.height,d=t.append("g").lower();var p=d;i||(k++,Object.keys(e.links||{}).length&&!a.forceMenus&&p.attr("onclick",f(`actor${k}_popup`)).attr("cursor","pointer"),p.append("line").attr("id","actor"+k).attr("x1",l).attr("y1",h).attr("x2",l).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),p=d.append("g"),e.actorCnt=k,null!=e.links&&p.attr("id","root-"+k));const g=(0,r.g)();var m="actor";null!=(n=e.properties)&&n.class?m=e.properties.class:g.fill="#eaeaea",m+=i?` ${x}`:` ${u}`,g.x=e.x,g.y=c,g.width=e.width,g.height=e.height,g.class=m,g.rx=3,g.ry=3,g.name=e.name;const T=b(p,g);if(e.rectData=g,null!=(o=e.properties)&&o.icon){const t=e.properties.icon.trim();"@"===t.charAt(0)?(0,r.c)(p,g.x+g.width-20,g.y+10,t.substr(1)):(0,r.e)(p,g.x+g.width-20,g.y+10,t)}K(a,(0,s.a2)(e.description))(e.description,p,g.x,g.y,g.width,g.height,{class:`actor ${y}`},a);let E=e.height;if(T.node){const t=T.node().getBBox();e.height=t.height,E=t.height}return E},"drawActorTypeParticipant"),P=(0,s._)(function(t,e,a,i){var n,o;const c=i?e.stopy:e.starty,l=e.x+e.width/2,h=c+e.height,d=t.append("g").lower();var p=d;i||(k++,Object.keys(e.links||{}).length&&!a.forceMenus&&p.attr("onclick",f(`actor${k}_popup`)).attr("cursor","pointer"),p.append("line").attr("id","actor"+k).attr("x1",l).attr("y1",h).attr("x2",l).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),p=d.append("g"),e.actorCnt=k,null!=e.links&&p.attr("id","root-"+k));const g=(0,r.g)();var m="actor";null!=(n=e.properties)&&n.class?m=e.properties.class:g.fill="#eaeaea",m+=i?` ${x}`:` ${u}`,g.x=e.x,g.y=c,g.width=e.width,g.height=e.height,g.class=m,g.name=e.name;const T={...g,x:g.x+-6,y:g.y+6,class:"actor"},E=b(p,g);if(b(p,T),e.rectData=g,null!=(o=e.properties)&&o.icon){const t=e.properties.icon.trim();"@"===t.charAt(0)?(0,r.c)(p,g.x+g.width-20,g.y+10,t.substr(1)):(0,r.e)(p,g.x+g.width-20,g.y+10,t)}K(a,(0,s.a2)(e.description))(e.description,p,g.x-6,g.y+6,g.width,g.height,{class:`actor ${y}`},a);let w=e.height;if(E.node){const t=E.node().getBBox();e.height=t.height,w=t.height}return w},"drawActorTypeCollections"),N=(0,s._)(function(t,e,a,i){var n,o;const c=i?e.stopy:e.starty,l=e.x+e.width/2,h=c+e.height,d=t.append("g").lower();let p=d;i||(k++,Object.keys(e.links||{}).length&&!a.forceMenus&&p.attr("onclick",f(`actor${k}_popup`)).attr("cursor","pointer"),p.append("line").attr("id","actor"+k).attr("x1",l).attr("y1",h).attr("x2",l).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),p=d.append("g"),e.actorCnt=k,null!=e.links&&p.attr("id","root-"+k));const g=(0,r.g)();let m="actor";null!=(n=e.properties)&&n.class?m=e.properties.class:g.fill="#eaeaea",m+=i?` ${x}`:` ${u}`,g.x=e.x,g.y=c,g.width=e.width,g.height=e.height,g.class=m,g.name=e.name;const b=g.height/2,T=b/(2.5+g.height/50),E=p.append("g"),w=p.append("g");if(E.append("path").attr("d",`M ${g.x},${g.y+b}\n a ${T},${b} 0 0 0 0,${g.height}\n h ${g.width-2*T}\n a ${T},${b} 0 0 0 0,-${g.height}\n Z\n `).attr("class",m),w.append("path").attr("d",`M ${g.x},${g.y+b}\n a ${T},${b} 0 0 0 0,${g.height}`).attr("stroke","#666").attr("stroke-width","1px").attr("class",m),E.attr("transform",`translate(${T}, ${-g.height/2})`),w.attr("transform",`translate(${g.width-T}, ${-g.height/2})`),e.rectData=g,null!=(o=e.properties)&&o.icon){const t=e.properties.icon.trim(),a=g.x+g.width-20,s=g.y+10;"@"===t.charAt(0)?(0,r.c)(p,a,s,t.substr(1)):(0,r.e)(p,a,s,t)}K(a,(0,s.a2)(e.description))(e.description,p,g.x,g.y,g.width,g.height,{class:`actor ${y}`},a);let _=e.height;const I=E.select("path:last-child");if(I.node()){const t=I.node().getBBox();e.height=t.height,_=t.height}return _},"drawActorTypeQueue"),A=(0,s._)(function(t,e,a,i){var n;const o=i?e.stopy:e.starty,c=e.x+e.width/2,l=o+75,h=t.append("g").lower();i||(k++,h.append("line").attr("id","actor"+k).attr("x1",c).attr("y1",l).attr("x2",c).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=k);const d=t.append("g");let p=m;p+=i?` ${x}`:` ${u}`,d.attr("class",p),d.attr("name",e.name);const g=(0,r.g)();g.x=e.x,g.y=o,g.fill="#eaeaea",g.width=e.width,g.height=e.height,g.class="actor";const y=e.x+e.width/2,b=o+30;d.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"),d.append("circle").attr("cx",y).attr("cy",b).attr("r",18).attr("fill","#eaeaf7").attr("stroke","#666").attr("stroke-width",1.2),d.append("line").attr("marker-end","url(#filled-head-control)").attr("transform",`translate(${y}, ${b-18})`);const T=d.node().getBBox();return e.height=T.height+2*((null==(n=null==a?void 0:a.sequence)?void 0:n.labelBoxHeight)??0),K(a,(0,s.a2)(e.description))(e.description,d,g.x,g.y+18+(i?5:10),g.width,g.height,{class:`actor ${m}`},a),e.height},"drawActorTypeControl"),v=(0,s._)(function(t,e,a,i){var n;const o=i?e.stopy:e.starty,c=e.x+e.width/2,l=o+75,h=t.append("g").lower(),d=t.append("g");let p=m;p+=i?` ${x}`:` ${u}`,d.attr("class",p),d.attr("name",e.name);const g=(0,r.g)();g.x=e.x,g.y=o,g.fill="#eaeaea",g.width=e.width,g.height=e.height,g.class="actor";const y=e.x+e.width/2,b=o+(i?10:25),T=18;d.append("circle").attr("cx",y).attr("cy",b).attr("r",T).attr("width",e.width).attr("height",e.height),d.append("line").attr("x1",y-T).attr("x2",y+T).attr("y1",b+T).attr("y2",b+T).attr("stroke","#333").attr("stroke-width",2);const f=d.node().getBBox();return e.height=f.height+((null==(n=null==a?void 0:a.sequence)?void 0:n.labelBoxHeight)??0),i||(k++,h.append("line").attr("id","actor"+k).attr("x1",c).attr("y1",l).attr("x2",c).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=k),K(a,(0,s.a2)(e.description))(e.description,d,g.x,g.y+(i?(b-o+T-5)/2:(b+T-o)/2),g.width,g.height,{class:`actor ${m}`},a),d.attr("transform","translate(0, 9)"),e.height},"drawActorTypeEntity"),M=(0,s._)(function(t,e,a,i){var n;const o=i?e.stopy:e.starty,c=e.x+e.width/2,l=o+e.height+2*a.boxTextMargin,h=t.append("g").lower();let d=h;i||(k++,Object.keys(e.links||{}).length&&!a.forceMenus&&d.attr("onclick",f(`actor${k}_popup`)).attr("cursor","pointer"),d.append("line").attr("id","actor"+k).attr("x1",c).attr("y1",l).attr("x2",c).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),d=h.append("g"),e.actorCnt=k,null!=e.links&&d.attr("id","root-"+k));const p=(0,r.g)();let g="actor";null!=(n=e.properties)&&n.class?g=e.properties.class:p.fill="#eaeaea",g+=i?` ${x}`:` ${u}`,p.x=e.x,p.y=o,p.width=e.width,p.height=e.height,p.class=g,p.name=e.name,p.x=e.x,p.y=o;const m=p.width/4,b=p.width/4,T=m/2,E=T/(2.5+m/50),w=d.append("g"),_=`\n M ${p.x},${p.y+E}\n a ${T},${E} 0 0 0 ${m},0\n a ${T},${E} 0 0 0 -${m},0\n l 0,${b-2*E}\n a ${T},${E} 0 0 0 ${m},0\n l 0,-${b-2*E}\n`;w.append("path").attr("d",_).attr("fill","#eaeaea").attr("stroke","#000").attr("stroke-width",1).attr("class",g),i?w.attr("transform",`translate(${1.5*m}, ${p.height/4-2*E})`):w.attr("transform",`translate(${1.5*m}, ${(p.height+E)/4})`),e.rectData=p,K(a,(0,s.a2)(e.description))(e.description,d,p.x,p.y+(i?(p.height+b)/4:(p.height+E)/2),p.width,p.height,{class:`actor ${y}`},a);const I=w.select("path:last-child");if(I.node()){const t=I.node().getBBox();e.height=t.height+(a.sequence.labelBoxHeight??0)}return e.height},"drawActorTypeDatabase"),O=(0,s._)(function(t,e,a,i){const n=i?e.stopy:e.starty,o=e.x+e.width/2,c=n+80,l=t.append("g").lower();i||(k++,l.append("line").attr("id","actor"+k).attr("x1",o).attr("y1",c).attr("x2",o).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=k);const h=t.append("g");let d=m;d+=i?` ${x}`:` ${u}`,h.attr("class",d),h.attr("name",e.name);const p=(0,r.g)();p.x=e.x,p.y=n,p.fill="#eaeaea",p.width=e.width,p.height=e.height,p.class="actor",h.append("line").attr("id","actor-man-torso"+k).attr("x1",e.x+e.width/2-75).attr("y1",n+10).attr("x2",e.x+e.width/2-15).attr("y2",n+10),h.append("line").attr("id","actor-man-arms"+k).attr("x1",e.x+e.width/2-75).attr("y1",n+0).attr("x2",e.x+e.width/2-75).attr("y2",n+20),h.append("circle").attr("cx",e.x+e.width/2).attr("cy",n+10).attr("r",30);const g=h.node().getBBox();return e.height=g.height+(a.sequence.labelBoxHeight??0),K(a,(0,s.a2)(e.description))(e.description,h,p.x,p.y+(i?11:18),p.width,p.height,{class:`actor ${m}`},a),h.attr("transform","translate(0,22)"),e.height},"drawActorTypeBoundary"),D=(0,s._)(function(t,e,a,i){const n=i?e.stopy:e.starty,o=e.x+e.width/2,c=n+80,l=t.append("g").lower();i||(k++,l.append("line").attr("id","actor"+k).attr("x1",o).attr("y1",c).attr("x2",o).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=k);const h=t.append("g");let d=m;d+=i?` ${x}`:` ${u}`,h.attr("class",d),h.attr("name",e.name);const p=(0,r.g)();p.x=e.x,p.y=n,p.fill="#eaeaea",p.width=e.width,p.height=e.height,p.class="actor",p.rx=3,p.ry=3,h.append("line").attr("id","actor-man-torso"+k).attr("x1",o).attr("y1",n+25).attr("x2",o).attr("y2",n+45),h.append("line").attr("id","actor-man-arms"+k).attr("x1",o-18).attr("y1",n+33).attr("x2",o+18).attr("y2",n+33),h.append("line").attr("x1",o-18).attr("y1",n+60).attr("x2",o).attr("y2",n+45),h.append("line").attr("x1",o).attr("y1",n+45).attr("x2",o+18-2).attr("y2",n+60);const g=h.append("circle");g.attr("cx",e.x+e.width/2),g.attr("cy",n+10),g.attr("r",15),g.attr("width",e.width),g.attr("height",e.height);const y=h.node().getBBox();return e.height=y.height,K(a,(0,s.a2)(e.description))(e.description,h,p.x,p.y+35,p.width,p.height,{class:`actor ${m}`},a),e.height},"drawActorTypeActor"),S=(0,s._)(async function(t,e,a,r){switch(e.type){case"actor":return await D(t,e,a,r);case"participant":return await L(t,e,a,r);case"boundary":return await O(t,e,a,r);case"control":return await A(t,e,a,r);case"entity":return await v(t,e,a,r);case"database":return await M(t,e,a,r);case"collections":return await P(t,e,a,r);case"queue":return await N(t,e,a,r)}},"drawActor"),$=(0,s._)(function(t,e,a){const r=t.append("g");Y(r,e),e.name&&K(a)(e.name,r,e.x,e.y+a.boxTextMargin+(e.textMaxHeight||0)/2,e.width,0,{class:"text"},a),r.lower()},"drawBox"),R=(0,s._)(function(t){return t.append("g")},"anchorElement"),C=(0,s._)(function(t,e,a,s,i){const n=(0,r.g)(),o=e.anchored;n.x=e.startx,n.y=e.starty,n.class="activation"+i%3,n.width=e.stopx-e.startx,n.height=a-e.starty,b(o,n)},"drawActivation"),B=(0,s._)(async function(t,e,a,i){const{boxMargin:n,boxTextMargin:o,labelBoxHeight:c,labelBoxWidth:l,messageFontFamily:h,messageFontSize:d,messageFontWeight:p}=i,g=t.append("g"),u=(0,s._)(function(t,e,a,r){return g.append("line").attr("x1",t).attr("y1",e).attr("x2",a).attr("y2",r).attr("class","loopLine")},"drawLoopLine");u(e.startx,e.starty,e.stopx,e.starty),u(e.stopx,e.starty,e.stopx,e.stopy),u(e.startx,e.stopy,e.stopx,e.stopy),u(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach(function(t){u(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")});let x=(0,r.b)();x.text=a,x.x=e.startx,x.y=e.starty,x.fontFamily=h,x.fontSize=d,x.fontWeight=p,x.anchor="middle",x.valign="middle",x.tspan=!1,x.width=l||50,x.height=c||20,x.textMargin=o,x.class="labelText",_(g,x),x=U(),x.text=e.title,x.x=e.startx+l/2+(e.stopx-e.startx)/2,x.y=e.starty+n+o,x.anchor="middle",x.valign="middle",x.textMargin=o,x.class="loopText",x.fontFamily=h,x.fontSize=d,x.fontWeight=p,x.wrap=!0;let y=(0,s.a2)(x.text)?await E(g,x,e):w(g,x);if(void 0!==e.sectionTitles)for(const[t,a]of Object.entries(e.sectionTitles))if(a.message){x.text=a.message,x.x=e.startx+(e.stopx-e.startx)/2,x.y=e.sections[t].y+n+o,x.class="loopText",x.anchor="middle",x.valign="middle",x.tspan=!1,x.fontFamily=h,x.fontSize=d,x.fontWeight=p,x.wrap=e.wrap,(0,s.a2)(x.text)?(e.starty=e.sections[t].y,await E(g,x,e)):w(g,x);let r=Math.round(y.map(t=>(t._groups||t)[0][0].getBBox().height).reduce((t,e)=>t+e));e.sections[t].height+=r-(n+o)}return e.height=Math.round(e.stopy-e.starty),g},"drawLoop"),Y=(0,s._)(function(t,e){(0,r.a)(t,e)},"drawBackgroundRect"),V=(0,s._)(function(t){t.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"),F=(0,s._)(function(t){t.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"),W=(0,s._)(function(t){t.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"),q=(0,s._)(function(t){t.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"),z=(0,s._)(function(t){t.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"),H=(0,s._)(function(t){t.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"),j=(0,s._)(function(t){t.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"),U=(0,s._)(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"),G=(0,s._)(function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),K=function(){function t(t,e,a,r,s,n,o){i(e.append("text").attr("x",a+s/2).attr("y",r+n/2+5).style("text-anchor","middle").text(t),o)}function e(t,e,a,r,n,o,c,l){const{actorFontSize:h,actorFontFamily:d,actorFontWeight:p}=l,[g,u]=(0,s.a4)(h),x=t.split(s.k.lineBreakRegex);for(let t=0;t<x.length;t++){const s=t*g-g*(x.length-1)/2,l=e.append("text").attr("x",a+n/2).attr("y",r).style("text-anchor","middle").style("font-size",u).style("font-weight",p).style("font-family",d);l.append("tspan").attr("x",a+n/2).attr("dy",s).text(x[t]),l.attr("y",r+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(l,c)}}function a(t,a,r,s,n,o,c,l){const h=a.append("switch"),d=h.append("foreignObject").attr("x",r).attr("y",s).attr("width",n).attr("height",o).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(t),e(t,h,r,s,n,o,c,l),i(d,c)}async function r(t,a,r,n,o,c,l,h){const d=await(0,s.a3)(t,(0,s.G)()),p=a.append("switch"),g=p.append("foreignObject").attr("x",r+o/2-d.width/2).attr("y",n+c/2-d.height/2).attr("width",d.width).attr("height",d.height).append("xhtml:div").style("height","100%").style("width","100%");g.append("div").style("text-align","center").style("vertical-align","middle").html(await(0,s.a7)(t,(0,s.G)())),e(t,p,r,n,o,c,l,h),i(g,l)}function i(t,e){for(const a in e)e.hasOwnProperty(a)&&t.attr(a,e[a])}return(0,s._)(t,"byText"),(0,s._)(e,"byTspan"),(0,s._)(a,"byFo"),(0,s._)(r,"byKatex"),(0,s._)(i,"_setTextAttrs"),function(s,i=!1){return i?r:"fo"===s.textPlacement?a:"old"===s.textPlacement?t:e}}(),X=function(){function t(t,e,a,s,i,n,o){r(e.append("text").attr("x",a).attr("y",s).style("text-anchor","start").text(t),o)}function e(t,e,a,i,n,o,c,l){const{actorFontSize:h,actorFontFamily:d,actorFontWeight:p}=l,g=t.split(s.k.lineBreakRegex);for(let t=0;t<g.length;t++){const s=t*h-h*(g.length-1)/2,n=e.append("text").attr("x",a).attr("y",i).style("text-anchor","start").style("font-size",h).style("font-weight",p).style("font-family",d);n.append("tspan").attr("x",a).attr("dy",s).text(g[t]),n.attr("y",i+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(n,c)}}function a(t,a,s,i,n,o,c,l){const h=a.append("switch"),d=h.append("foreignObject").attr("x",s).attr("y",i).attr("width",n).attr("height",o).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(t),e(t,h,s,i,0,o,c,l),r(d,c)}function r(t,e){for(const a in e)e.hasOwnProperty(a)&&t.attr(a,e[a])}return(0,s._)(t,"byText"),(0,s._)(e,"byTspan"),(0,s._)(a,"byFo"),(0,s._)(r,"_setTextAttrs"),function(r){return"fo"===r.textPlacement?a:"old"===r.textPlacement?t:e}}(),J={drawRect:b,drawText:w,drawLabel:_,drawActor:S,drawBox:$,drawPopup:T,anchorElement:R,drawActivation:C,drawLoop:B,drawBackgroundRect:Y,insertArrowHead:q,insertArrowFilledHead:z,insertSequenceNumber:H,insertArrowCrossHead:j,insertDatabaseIcon:V,insertComputerIcon:F,insertClockIcon:W,getTextObj:U,getNoteRect:G,fixLifeLineHeights:I,sanitizeUrl:s.j.sanitizeUrl},Z={},Q={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:(0,s._)(function(){return Math.max.apply(null,0===this.actors.length?[0]:this.actors.map(t=>t.height||0))+(0===this.loops.length?0:this.loops.map(t=>t.height||0).reduce((t,e)=>t+e))+(0===this.messages.length?0:this.messages.map(t=>t.height||0).reduce((t,e)=>t+e))+(0===this.notes.length?0:this.notes.map(t=>t.height||0).reduce((t,e)=>t+e))},"getHeight"),clear:(0,s._)(function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},"clear"),addBox:(0,s._)(function(t){this.boxes.push(t)},"addBox"),addActor:(0,s._)(function(t){this.actors.push(t)},"addActor"),addLoop:(0,s._)(function(t){this.loops.push(t)},"addLoop"),addMessage:(0,s._)(function(t){this.messages.push(t)},"addMessage"),addNote:(0,s._)(function(t){this.notes.push(t)},"addNote"),lastActor:(0,s._)(function(){return this.actors[this.actors.length-1]},"lastActor"),lastLoop:(0,s._)(function(){return this.loops[this.loops.length-1]},"lastLoop"),lastMessage:(0,s._)(function(){return this.messages[this.messages.length-1]},"lastMessage"),lastNote:(0,s._)(function(){return this.notes[this.notes.length-1]},"lastNote"),actors:[],boxes:[],loops:[],messages:[],notes:[]},init:(0,s._)(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,lt((0,s.c)())},"init"),updateVal:(0,s._)(function(t,e,a,r){void 0===t[e]?t[e]=a:t[e]=r(a,t[e])},"updateVal"),updateBounds:(0,s._)(function(t,e,a,r){const i=this;let n=0;function o(o){return(0,s._)(function(s){n++;const c=i.sequenceItems.length-n+1;i.updateVal(s,"starty",e-c*Z.boxMargin,Math.min),i.updateVal(s,"stopy",r+c*Z.boxMargin,Math.max),i.updateVal(Q.data,"startx",t-c*Z.boxMargin,Math.min),i.updateVal(Q.data,"stopx",a+c*Z.boxMargin,Math.max),"activation"!==o&&(i.updateVal(s,"startx",t-c*Z.boxMargin,Math.min),i.updateVal(s,"stopx",a+c*Z.boxMargin,Math.max),i.updateVal(Q.data,"starty",e-c*Z.boxMargin,Math.min),i.updateVal(Q.data,"stopy",r+c*Z.boxMargin,Math.max))},"updateItemBounds")}(0,s._)(o,"updateFn"),this.sequenceItems.forEach(o()),this.activations.forEach(o("activation"))},"updateBounds"),insert:(0,s._)(function(t,e,a,r){const i=s.k.getMin(t,a),n=s.k.getMax(t,a),o=s.k.getMin(e,r),c=s.k.getMax(e,r);this.updateVal(Q.data,"startx",i,Math.min),this.updateVal(Q.data,"starty",o,Math.min),this.updateVal(Q.data,"stopx",n,Math.max),this.updateVal(Q.data,"stopy",c,Math.max),this.updateBounds(i,o,n,c)},"insert"),newActivation:(0,s._)(function(t,e,a){const r=a.get(t.from),s=ht(t.from).length||0,i=r.x+r.width/2+(s-1)*Z.activationWidth/2;this.activations.push({startx:i,starty:this.verticalPos+2,stopx:i+Z.activationWidth,stopy:void 0,actor:t.from,anchored:J.anchorElement(e)})},"newActivation"),endActivation:(0,s._)(function(t){const e=this.activations.map(function(t){return t.actor}).lastIndexOf(t.from);return this.activations.splice(e,1)[0]},"endActivation"),createLoop:(0,s._)(function(t={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},"createLoop"),newLoop:(0,s._)(function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},"newLoop"),endLoop:(0,s._)(function(){return this.sequenceItems.pop()},"endLoop"),isLoopOverlap:(0,s._)(function(){return!!this.sequenceItems.length&&this.sequenceItems[this.sequenceItems.length-1].overlap},"isLoopOverlap"),addSectionToLoop:(0,s._)(function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:Q.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},"addSectionToLoop"),saveVerticalPos:(0,s._)(function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},"saveVerticalPos"),resetVerticalPos:(0,s._)(function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},"resetVerticalPos"),bumpVerticalPos:(0,s._)(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=s.k.getMax(this.data.stopy,this.verticalPos)},"bumpVerticalPos"),getVerticalPos:(0,s._)(function(){return this.verticalPos},"getVerticalPos"),getBounds:(0,s._)(function(){return{bounds:this.data,models:this.models}},"getBounds")},tt=(0,s._)(async function(t,e){Q.bumpVerticalPos(Z.boxMargin),e.height=Z.boxMargin,e.starty=Q.getVerticalPos();const a=(0,r.g)();a.x=e.startx,a.y=e.starty,a.width=e.width||Z.width,a.class="note";const i=t.append("g"),n=J.drawRect(i,a),o=(0,r.b)();o.x=e.startx,o.y=e.starty,o.width=a.width,o.dy="1em",o.text=e.message,o.class="noteText",o.fontFamily=Z.noteFontFamily,o.fontSize=Z.noteFontSize,o.fontWeight=Z.noteFontWeight,o.anchor=Z.noteAlign,o.textMargin=Z.noteMargin,o.valign="center";const c=(0,s.a2)(o.text)?await E(i,o):w(i,o),l=Math.round(c.map(t=>(t._groups||t)[0][0].getBBox().height).reduce((t,e)=>t+e));n.attr("height",l+2*Z.noteMargin),e.height+=l+2*Z.noteMargin,Q.bumpVerticalPos(l+2*Z.noteMargin),e.stopy=e.starty+l+2*Z.noteMargin,e.stopx=e.startx+a.width,Q.insert(e.startx,e.starty,e.stopx,e.stopy),Q.models.addNote(e)},"drawNote"),et=(0,s._)(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont"),at=(0,s._)(t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),"noteFont"),rt=(0,s._)(t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight}),"actorFont");async function st(t,e){Q.bumpVerticalPos(10);const{startx:a,stopx:r,message:i}=e,n=s.k.splitBreaks(i).length,o=(0,s.a2)(i),c=o?await(0,s.a3)(i,(0,s.c)()):s.u.calculateTextDimensions(i,et(Z));if(!o){const t=c.height/n;e.height+=t,Q.bumpVerticalPos(t)}let l,h=c.height-10;const d=c.width;if(a===r){l=Q.getVerticalPos()+h,Z.rightAngles||(h+=Z.boxMargin,l=Q.getVerticalPos()+h),h+=30;const t=s.k.getMax(d/2,Z.width/2);Q.insert(a-t,Q.getVerticalPos()-10+h,r+t,Q.getVerticalPos()+30+h)}else h+=Z.boxMargin,l=Q.getVerticalPos()+h,Q.insert(a,l-10,r,l);return Q.bumpVerticalPos(h),e.height+=h,e.stopy=e.starty+e.height,Q.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),l}(0,s._)(st,"boundMessage");var it=(0,s._)(async function(t,e,a,i){const{startx:n,stopx:o,starty:c,message:l,type:h,sequenceIndex:d,sequenceVisible:p}=e,g=s.u.calculateTextDimensions(l,et(Z)),u=(0,r.b)();u.x=n,u.y=c+10,u.width=o-n,u.class="messageText",u.dy="1em",u.text=l,u.fontFamily=Z.messageFontFamily,u.fontSize=Z.messageFontSize,u.fontWeight=Z.messageFontWeight,u.anchor=Z.messageAlign,u.valign="center",u.textMargin=Z.wrapPadding,u.tspan=!1,(0,s.a2)(u.text)?await E(t,u,{startx:n,stopx:o,starty:a}):w(t,u);const x=g.width;let y;n===o?y=Z.rightAngles?t.append("path").attr("d",`M ${n},${a} H ${n+s.k.getMax(Z.width/2,x/2)} V ${a+25} H ${n}`):t.append("path").attr("d","M "+n+","+a+" C "+(n+60)+","+(a-10)+" "+(n+60)+","+(a+30)+" "+n+","+(a+20)):(y=t.append("line"),y.attr("x1",n),y.attr("y1",a),y.attr("x2",o),y.attr("y2",a)),h===i.db.LINETYPE.DOTTED||h===i.db.LINETYPE.DOTTED_CROSS||h===i.db.LINETYPE.DOTTED_POINT||h===i.db.LINETYPE.DOTTED_OPEN||h===i.db.LINETYPE.BIDIRECTIONAL_DOTTED?(y.style("stroke-dasharray","3, 3"),y.attr("class","messageLine1")):y.attr("class","messageLine0");let m="";Z.arrowMarkerAbsolute&&(m=(0,s.a6)(!0)),y.attr("stroke-width",2),y.attr("stroke","none"),y.style("fill","none"),(h===i.db.LINETYPE.SOLID||h===i.db.LINETYPE.DOTTED)&&y.attr("marker-end","url("+m+"#arrowhead)"),(h===i.db.LINETYPE.BIDIRECTIONAL_SOLID||h===i.db.LINETYPE.BIDIRECTIONAL_DOTTED)&&(y.attr("marker-start","url("+m+"#arrowhead)"),y.attr("marker-end","url("+m+"#arrowhead)")),(h===i.db.LINETYPE.SOLID_POINT||h===i.db.LINETYPE.DOTTED_POINT)&&y.attr("marker-end","url("+m+"#filled-head)"),(h===i.db.LINETYPE.SOLID_CROSS||h===i.db.LINETYPE.DOTTED_CROSS)&&y.attr("marker-end","url("+m+"#crosshead)"),(p||Z.showSequenceNumbers)&&((h===i.db.LINETYPE.BIDIRECTIONAL_SOLID||h===i.db.LINETYPE.BIDIRECTIONAL_DOTTED)&&(n<o?y.attr("x1",n+12):y.attr("x1",n+6)),t.append("line").attr("x1",n).attr("y1",a).attr("x2",n).attr("y2",a).attr("stroke-width",0).attr("marker-start","url("+m+"#sequencenumber)"),t.append("text").attr("x",n).attr("y",a+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(d))},"drawMessage"),nt=(0,s._)(function(t,e,a,r,i,n,o){let c,l=0,h=0,d=0;for(const t of r){const r=e.get(t),n=r.box;c&&c!=n&&(o||Q.models.addBox(c),h+=Z.boxMargin+c.margin),n&&n!=c&&(o||(n.x=l+h,n.y=i),h+=n.margin),r.width=r.width||Z.width,r.height=s.k.getMax(r.height||Z.height,Z.height),r.margin=r.margin||Z.actorMargin,d=s.k.getMax(d,r.height),a.get(r.name)&&(h+=r.width/2),r.x=l+h,r.starty=Q.getVerticalPos(),Q.insert(r.x,i,r.x+r.width,r.height),l+=r.width+h,r.box&&(r.box.width=l+n.margin-r.box.x),h=r.margin,c=r.box,Q.models.addActor(r)}c&&!o&&Q.models.addBox(c),Q.bumpVerticalPos(d)},"addActorRenderingData"),ot=(0,s._)(async function(t,e,a,r){if(r){let r=0;Q.bumpVerticalPos(2*Z.boxMargin);for(const i of a){const a=e.get(i);a.stopy||(a.stopy=Q.getVerticalPos());const n=await J.drawActor(t,a,Z,!0);r=s.k.getMax(r,n)}Q.bumpVerticalPos(r+Z.boxMargin)}else for(const r of a){const a=e.get(r);await J.drawActor(t,a,Z,!1)}},"drawActors"),ct=(0,s._)(function(t,e,a,r){let s=0,i=0;for(const n of a){const a=e.get(n),o=yt(a),c=J.drawPopup(t,a,o,Z,Z.forceMenus,r);c.height>s&&(s=c.height),c.width+a.x>i&&(i=c.width+a.x)}return{maxHeight:s,maxWidth:i}},"drawActorsPopup"),lt=(0,s._)(function(t){(0,s.f)(Z,t),t.fontFamily&&(Z.actorFontFamily=Z.noteFontFamily=Z.messageFontFamily=t.fontFamily),t.fontSize&&(Z.actorFontSize=Z.noteFontSize=Z.messageFontSize=t.fontSize),t.fontWeight&&(Z.actorFontWeight=Z.noteFontWeight=Z.messageFontWeight=t.fontWeight)},"setConf"),ht=(0,s._)(function(t){return Q.activations.filter(function(e){return e.actor===t})},"actorActivations"),dt=(0,s._)(function(t,e){const a=e.get(t),r=ht(t);return[r.reduce(function(t,e){return s.k.getMin(t,e.startx)},a.x+a.width/2-1),r.reduce(function(t,e){return s.k.getMax(t,e.stopx)},a.x+a.width/2+1)]},"activationBounds");function pt(t,e,a,r,i){Q.bumpVerticalPos(a);let n=r;if(e.id&&e.message&&t[e.id]){const a=t[e.id].width,i=et(Z);e.message=s.u.wrapLabel(`[${e.message}]`,a-2*Z.wrapPadding,i),e.width=a,e.wrap=!0;const o=s.u.calculateTextDimensions(e.message,i),c=s.k.getMax(o.height,Z.labelBoxHeight);n=r+c,s.l.debug(`${c} - ${e.message}`)}i(e),Q.bumpVerticalPos(n)}function gt(t,e,a,r,i,n,o){function c(a,r){a.x<i.get(t.from).x?(Q.insert(e.stopx-r,e.starty,e.startx,e.stopy+a.height/2+Z.noteMargin),e.stopx=e.stopx+r):(Q.insert(e.startx,e.starty,e.stopx+r,e.stopy+a.height/2+Z.noteMargin),e.stopx=e.stopx-r)}function l(a,r){a.x<i.get(t.to).x?(Q.insert(e.startx-r,e.starty,e.stopx,e.stopy+a.height/2+Z.noteMargin),e.startx=e.startx+r):(Q.insert(e.stopx,e.starty,e.startx+r,e.stopy+a.height/2+Z.noteMargin),e.startx=e.startx-r)}(0,s._)(c,"receiverAdjustment"),(0,s._)(l,"senderAdjustment");const h=["actor","control","entity","database"];if(n.get(t.to)==r){const e=i.get(t.to);c(e,h.includes(e.type)?21:e.width/2+3),e.starty=a-e.height/2,Q.bumpVerticalPos(e.height/2)}else if(o.get(t.from)==r){const e=i.get(t.from);Z.mirrorActors&&l(e,h.includes(e.type)?18:e.width/2),e.stopy=a-e.height/2,Q.bumpVerticalPos(e.height/2)}else if(o.get(t.to)==r){const e=i.get(t.to);Z.mirrorActors&&c(e,h.includes(e.type)?21:e.width/2+3),e.stopy=a-e.height/2,Q.bumpVerticalPos(e.height/2)}}(0,s._)(pt,"adjustLoopHeightForWrap"),(0,s._)(gt,"adjustCreatedDestroyedData");var ut=(0,s._)(async function(t,e,a,r){const{securityLevel:i,sequence:n}=(0,s.c)();let o;Z=n,"sandbox"===i&&(o=(0,s.d)("#i"+e));const c="sandbox"===i?(0,s.d)(o.nodes()[0].contentDocument.body):(0,s.d)("body"),l="sandbox"===i?o.nodes()[0].contentDocument:document;Q.init(),s.l.debug(r.db);const h="sandbox"===i?c.select(`[id="${e}"]`):(0,s.d)(`[id="${e}"]`),d=r.db.getActors(),p=r.db.getCreatedActors(),g=r.db.getDestroyedActors(),u=r.db.getBoxes();let x=r.db.getActorKeys();const y=r.db.getMessages(),m=r.db.getDiagramTitle(),b=r.db.hasAtLeastOneBox(),T=r.db.hasAtLeastOneBoxWithTitle(),f=await xt(d,y,r);if(Z.height=await mt(d,f,u),J.insertComputerIcon(h),J.insertDatabaseIcon(h),J.insertClockIcon(h),b&&(Q.bumpVerticalPos(Z.boxMargin),T&&Q.bumpVerticalPos(u[0].textMaxHeight)),!0===Z.hideUnusedParticipants){const t=new Set;y.forEach(e=>{t.add(e.from),t.add(e.to)}),x=x.filter(e=>t.has(e))}nt(h,d,p,x,0,y,!1);const E=await ft(y,d,f,r);function w(t,e){const a=Q.endActivation(t);a.starty+18>e&&(a.starty=e-6,e+=12),J.drawActivation(h,a,e,Z,ht(t.from).length),Q.insert(a.startx,e-10,a.stopx,e)}J.insertArrowHead(h),J.insertArrowCrossHead(h),J.insertArrowFilledHead(h),J.insertSequenceNumber(h),(0,s._)(w,"activeEnd");let _=1,k=1;const L=[],P=[];let N=0;for(const t of y){let e,a,i;switch(t.type){case r.db.LINETYPE.NOTE:Q.resetVerticalPos(),a=t.noteModel,await tt(h,a);break;case r.db.LINETYPE.ACTIVE_START:Q.newActivation(t,h,d);break;case r.db.LINETYPE.ACTIVE_END:w(t,Q.getVerticalPos());break;case r.db.LINETYPE.LOOP_START:pt(E,t,Z.boxMargin,Z.boxMargin+Z.boxTextMargin,t=>Q.newLoop(t));break;case r.db.LINETYPE.LOOP_END:e=Q.endLoop(),await J.drawLoop(h,e,"loop",Z),Q.bumpVerticalPos(e.stopy-Q.getVerticalPos()),Q.models.addLoop(e);break;case r.db.LINETYPE.RECT_START:pt(E,t,Z.boxMargin,Z.boxMargin,t=>Q.newLoop(void 0,t.message));break;case r.db.LINETYPE.RECT_END:e=Q.endLoop(),P.push(e),Q.models.addLoop(e),Q.bumpVerticalPos(e.stopy-Q.getVerticalPos());break;case r.db.LINETYPE.OPT_START:pt(E,t,Z.boxMargin,Z.boxMargin+Z.boxTextMargin,t=>Q.newLoop(t));break;case r.db.LINETYPE.OPT_END:e=Q.endLoop(),await J.drawLoop(h,e,"opt",Z),Q.bumpVerticalPos(e.stopy-Q.getVerticalPos()),Q.models.addLoop(e);break;case r.db.LINETYPE.ALT_START:pt(E,t,Z.boxMargin,Z.boxMargin+Z.boxTextMargin,t=>Q.newLoop(t));break;case r.db.LINETYPE.ALT_ELSE:pt(E,t,Z.boxMargin+Z.boxTextMargin,Z.boxMargin,t=>Q.addSectionToLoop(t));break;case r.db.LINETYPE.ALT_END:e=Q.endLoop(),await J.drawLoop(h,e,"alt",Z),Q.bumpVerticalPos(e.stopy-Q.getVerticalPos()),Q.models.addLoop(e);break;case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:pt(E,t,Z.boxMargin,Z.boxMargin+Z.boxTextMargin,t=>Q.newLoop(t)),Q.saveVerticalPos();break;case r.db.LINETYPE.PAR_AND:pt(E,t,Z.boxMargin+Z.boxTextMargin,Z.boxMargin,t=>Q.addSectionToLoop(t));break;case r.db.LINETYPE.PAR_END:e=Q.endLoop(),await J.drawLoop(h,e,"par",Z),Q.bumpVerticalPos(e.stopy-Q.getVerticalPos()),Q.models.addLoop(e);break;case r.db.LINETYPE.AUTONUMBER:_=t.message.start||_,k=t.message.step||k,t.message.visible?r.db.enableSequenceNumbers():r.db.disableSequenceNumbers();break;case r.db.LINETYPE.CRITICAL_START:pt(E,t,Z.boxMargin,Z.boxMargin+Z.boxTextMargin,t=>Q.newLoop(t));break;case r.db.LINETYPE.CRITICAL_OPTION:pt(E,t,Z.boxMargin+Z.boxTextMargin,Z.boxMargin,t=>Q.addSectionToLoop(t));break;case r.db.LINETYPE.CRITICAL_END:e=Q.endLoop(),await J.drawLoop(h,e,"critical",Z),Q.bumpVerticalPos(e.stopy-Q.getVerticalPos()),Q.models.addLoop(e);break;case r.db.LINETYPE.BREAK_START:pt(E,t,Z.boxMargin,Z.boxMargin+Z.boxTextMargin,t=>Q.newLoop(t));break;case r.db.LINETYPE.BREAK_END:e=Q.endLoop(),await J.drawLoop(h,e,"break",Z),Q.bumpVerticalPos(e.stopy-Q.getVerticalPos()),Q.models.addLoop(e);break;default:try{i=t.msgModel,i.starty=Q.getVerticalPos(),i.sequenceIndex=_,i.sequenceVisible=r.db.showSequenceNumbers();const e=await st(0,i);gt(t,i,e,N,d,p,g),L.push({messageModel:i,lineStartY:e}),Q.models.addMessage(i)}catch(t){s.l.error("error while drawing message",t)}}[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)&&(_+=k),N++}s.l.debug("createdActors",p),s.l.debug("destroyedActors",g),await ot(h,d,x,!1);for(const t of L)await it(h,t.messageModel,t.lineStartY,r);Z.mirrorActors&&await ot(h,d,x,!0),P.forEach(t=>J.drawBackgroundRect(h,t)),I(h,d,x,Z);for(const t of Q.models.boxes){t.height=Q.getVerticalPos()-t.y,Q.insert(t.x,t.y,t.x+t.width,t.height);const e=2*Z.boxMargin;t.startx=t.x-e,t.starty=t.y-.25*e,t.stopx=t.startx+t.width+2*e,t.stopy=t.starty+t.height+.75*e,t.stroke="rgb(0,0,0, 0.5)",J.drawBox(h,t,Z)}b&&Q.bumpVerticalPos(Z.boxMargin);const A=ct(h,d,x,l),{bounds:v}=Q.getBounds();void 0===v.startx&&(v.startx=0),void 0===v.starty&&(v.starty=0),void 0===v.stopx&&(v.stopx=0),void 0===v.stopy&&(v.stopy=0);let M=v.stopy-v.starty;M<A.maxHeight&&(M=A.maxHeight);let O=M+2*Z.diagramMarginY;Z.mirrorActors&&(O=O-Z.boxMargin+Z.bottomMarginAdj);let D=v.stopx-v.startx;D<A.maxWidth&&(D=A.maxWidth);const S=D+2*Z.diagramMarginX;m&&h.append("text").text(m).attr("x",(v.stopx-v.startx)/2-2*Z.diagramMarginX).attr("y",-25),(0,s.e)(h,O,S,Z.useMaxWidth);const $=m?40:0;h.attr("viewBox",v.startx-Z.diagramMarginX+" -"+(Z.diagramMarginY+$)+" "+S+" "+(O+$)),s.l.debug("models:",Q.models)},"draw");async function xt(t,e,a){const r={};for(const i of e)if(t.get(i.to)&&t.get(i.from)){const e=t.get(i.to);if(i.placement===a.db.PLACEMENT.LEFTOF&&!e.prevActor||i.placement===a.db.PLACEMENT.RIGHTOF&&!e.nextActor)continue;const n=void 0!==i.placement,o=!n,c=n?at(Z):et(Z),l=i.wrap?s.u.wrapLabel(i.message,Z.width-2*Z.wrapPadding,c):i.message,h=((0,s.a2)(l)?await(0,s.a3)(i.message,(0,s.c)()):s.u.calculateTextDimensions(l,c)).width+2*Z.wrapPadding;o&&i.from===e.nextActor?r[i.to]=s.k.getMax(r[i.to]||0,h):o&&i.from===e.prevActor?r[i.from]=s.k.getMax(r[i.from]||0,h):o&&i.from===i.to?(r[i.from]=s.k.getMax(r[i.from]||0,h/2),r[i.to]=s.k.getMax(r[i.to]||0,h/2)):i.placement===a.db.PLACEMENT.RIGHTOF?r[i.from]=s.k.getMax(r[i.from]||0,h):i.placement===a.db.PLACEMENT.LEFTOF?r[e.prevActor]=s.k.getMax(r[e.prevActor]||0,h):i.placement===a.db.PLACEMENT.OVER&&(e.prevActor&&(r[e.prevActor]=s.k.getMax(r[e.prevActor]||0,h/2)),e.nextActor&&(r[i.from]=s.k.getMax(r[i.from]||0,h/2)))}return s.l.debug("maxMessageWidthPerActor:",r),r}(0,s._)(xt,"getMaxMessageWidthPerActor");var yt=(0,s._)(function(t){let e=0;const a=rt(Z);for(const r in t.links){const t=s.u.calculateTextDimensions(r,a).width+2*Z.wrapPadding+2*Z.boxMargin;e<t&&(e=t)}return e},"getRequiredPopupWidth");async function mt(t,e,a){let r=0;for(const e of t.keys()){const a=t.get(e);a.wrap&&(a.description=s.u.wrapLabel(a.description,Z.width-2*Z.wrapPadding,rt(Z)));const i=(0,s.a2)(a.description)?await(0,s.a3)(a.description,(0,s.c)()):s.u.calculateTextDimensions(a.description,rt(Z));a.width=a.wrap?Z.width:s.k.getMax(Z.width,i.width+2*Z.wrapPadding),a.height=a.wrap?s.k.getMax(i.height,Z.height):Z.height,r=s.k.getMax(r,a.height)}for(const a in e){const r=t.get(a);if(!r)continue;const i=t.get(r.nextActor);if(!i){const t=e[a]+Z.actorMargin-r.width/2;r.margin=s.k.getMax(t,Z.actorMargin);continue}const n=e[a]+Z.actorMargin-r.width/2-i.width/2;r.margin=s.k.getMax(n,Z.actorMargin)}let i=0;return a.forEach(e=>{const a=et(Z);let r=e.actorKeys.reduce((e,a)=>e+(t.get(a).width+(t.get(a).margin||0)),0);r+=8*Z.boxMargin,r-=2*Z.boxTextMargin,e.wrap&&(e.name=s.u.wrapLabel(e.name,r-2*Z.wrapPadding,a));const n=s.u.calculateTextDimensions(e.name,a);i=s.k.getMax(n.height,i);const o=s.k.getMax(r,n.width+2*Z.wrapPadding);if(e.margin=Z.boxTextMargin,r<o){const t=(o-r)/2;e.margin+=t}}),a.forEach(t=>t.textMaxHeight=i),s.k.getMax(r,Z.height)}(0,s._)(mt,"calculateActorMargins");var bt=(0,s._)(async function(t,e,a){const r=e.get(t.from),i=e.get(t.to),n=r.x,o=i.x,c=t.wrap&&t.message;let l=(0,s.a2)(t.message)?await(0,s.a3)(t.message,(0,s.c)()):s.u.calculateTextDimensions(c?s.u.wrapLabel(t.message,Z.width,at(Z)):t.message,at(Z));const h={width:c?Z.width:s.k.getMax(Z.width,l.width+2*Z.noteMargin),height:0,startx:r.x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===a.db.PLACEMENT.RIGHTOF?(h.width=c?s.k.getMax(Z.width,l.width):s.k.getMax(r.width/2+i.width/2,l.width+2*Z.noteMargin),h.startx=n+(r.width+Z.actorMargin)/2):t.placement===a.db.PLACEMENT.LEFTOF?(h.width=c?s.k.getMax(Z.width,l.width+2*Z.noteMargin):s.k.getMax(r.width/2+i.width/2,l.width+2*Z.noteMargin),h.startx=n-h.width+(r.width-Z.actorMargin)/2):t.to===t.from?(l=s.u.calculateTextDimensions(c?s.u.wrapLabel(t.message,s.k.getMax(Z.width,r.width),at(Z)):t.message,at(Z)),h.width=c?s.k.getMax(Z.width,r.width):s.k.getMax(r.width,Z.width,l.width+2*Z.noteMargin),h.startx=n+(r.width-h.width)/2):(h.width=Math.abs(n+r.width/2-(o+i.width/2))+Z.actorMargin,h.startx=n<o?n+r.width/2-Z.actorMargin/2:o+i.width/2-Z.actorMargin/2),c&&(h.message=s.u.wrapLabel(t.message,h.width-2*Z.wrapPadding,at(Z))),s.l.debug(`NM:[${h.startx},${h.stopx},${h.starty},${h.stopy}:${h.width},${h.height}=${t.message}]`),h},"buildNoteModel"),Tt=(0,s._)(function(t,e,a){if(![a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN,a.db.LINETYPE.SOLID,a.db.LINETYPE.DOTTED,a.db.LINETYPE.SOLID_CROSS,a.db.LINETYPE.DOTTED_CROSS,a.db.LINETYPE.SOLID_POINT,a.db.LINETYPE.DOTTED_POINT,a.db.LINETYPE.BIDIRECTIONAL_SOLID,a.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(t.type))return{};const[r,i]=dt(t.from,e),[n,o]=dt(t.to,e),c=r<=n;let l=c?i:r,h=c?n:o;const d=Math.abs(n-o)>2,p=(0,s._)(t=>c?-t:t,"adjustValue");t.from===t.to?h=l:(t.activate&&!d&&(h+=p(Z.activationWidth/2-1)),[a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN].includes(t.type)||(h+=p(3)),[a.db.LINETYPE.BIDIRECTIONAL_SOLID,a.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(t.type)&&(l-=p(3)));const g=[r,i,n,o],u=Math.abs(l-h);t.wrap&&t.message&&(t.message=s.u.wrapLabel(t.message,s.k.getMax(u+2*Z.wrapPadding,Z.width),et(Z)));const x=s.u.calculateTextDimensions(t.message,et(Z));return{width:s.k.getMax(t.wrap?0:x.width+2*Z.wrapPadding,u+2*Z.wrapPadding,Z.width),height:0,startx:l,stopx:h,starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,g),toBounds:Math.max.apply(null,g)}},"buildMessageModel"),ft=(0,s._)(async function(t,e,a,r){const i={},n=[];let o,c,l;for(const a of t){switch(a.type){case r.db.LINETYPE.LOOP_START:case r.db.LINETYPE.ALT_START:case r.db.LINETYPE.OPT_START:case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:case r.db.LINETYPE.CRITICAL_START:case r.db.LINETYPE.BREAK_START:n.push({id:a.id,msg:a.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case r.db.LINETYPE.ALT_ELSE:case r.db.LINETYPE.PAR_AND:case r.db.LINETYPE.CRITICAL_OPTION:a.message&&(o=n.pop(),i[o.id]=o,i[a.id]=o,n.push(o));break;case r.db.LINETYPE.LOOP_END:case r.db.LINETYPE.ALT_END:case r.db.LINETYPE.OPT_END:case r.db.LINETYPE.PAR_END:case r.db.LINETYPE.CRITICAL_END:case r.db.LINETYPE.BREAK_END:o=n.pop(),i[o.id]=o;break;case r.db.LINETYPE.ACTIVE_START:{const t=e.get(a.from?a.from:a.to.actor),r=ht(a.from?a.from:a.to.actor).length,s=t.x+t.width/2+(r-1)*Z.activationWidth/2,i={startx:s,stopx:s+Z.activationWidth,actor:a.from,enabled:!0};Q.activations.push(i)}break;case r.db.LINETYPE.ACTIVE_END:{const t=Q.activations.map(t=>t.actor).lastIndexOf(a.from);Q.activations.splice(t,1).splice(0,1)}}void 0!==a.placement?(c=await bt(a,e,r),a.noteModel=c,n.forEach(t=>{o=t,o.from=s.k.getMin(o.from,c.startx),o.to=s.k.getMax(o.to,c.startx+c.width),o.width=s.k.getMax(o.width,Math.abs(o.from-o.to))-Z.labelBoxWidth})):(l=Tt(a,e,r),a.msgModel=l,l.startx&&l.stopx&&n.length>0&&n.forEach(t=>{if(o=t,l.startx===l.stopx){const t=e.get(a.from),r=e.get(a.to);o.from=s.k.getMin(t.x-l.width/2,t.x-t.width/2,o.from),o.to=s.k.getMax(r.x+l.width/2,r.x+t.width/2,o.to),o.width=s.k.getMax(o.width,Math.abs(o.to-o.from))-Z.labelBoxWidth}else o.from=s.k.getMin(l.startx,o.from),o.to=s.k.getMax(l.stopx,o.to),o.width=s.k.getMax(o.width,l.width)-Z.labelBoxWidth}))}return Q.activations=[],s.l.debug("Loop type widths:",i),i},"calculateLoopBounds"),Et={bounds:Q,drawActors:ot,drawActorsPopup:ct,setConf:lt,draw:ut},wt={parser:c,get db(){return new p},renderer:Et,styles:g,init:(0,s._)(t=>{t.sequence||(t.sequence={}),t.wrap&&(t.sequence.wrap=t.wrap,(0,s.o)({sequence:{wrap:t.wrap}}))},"init")}},83735:(t,e,a)=>{a.d(e,{a:()=>i,b:()=>h,c:()=>c,d:()=>s,e:()=>o,f:()=>n,g:()=>l});var r=a(43340),s=(0,r._)((t,e)=>{const a=t.append("rect");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("width",e.width),a.attr("height",e.height),e.name&&a.attr("name",e.name),e.rx&&a.attr("rx",e.rx),e.ry&&a.attr("ry",e.ry),void 0!==e.attrs)for(const t in e.attrs)a.attr(t,e.attrs[t]);return e.class&&a.attr("class",e.class),a},"drawRect"),i=(0,r._)((t,e)=>{const a={x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"};s(t,a).lower()},"drawBackgroundRect"),n=(0,r._)((t,e)=>{const a=e.text.replace(r.n," "),s=t.append("text");s.attr("x",e.x),s.attr("y",e.y),s.attr("class","legend"),s.style("text-anchor",e.anchor),e.class&&s.attr("class",e.class);const i=s.append("tspan");return i.attr("x",e.x+2*e.textMargin),i.text(a),s},"drawText"),o=(0,r._)((t,e,a,s)=>{const i=t.append("image");i.attr("x",e),i.attr("y",a);const n=r.j.sanitizeUrl(s);i.attr("xlink:href",n)},"drawImage"),c=(0,r._)((t,e,a,s)=>{const i=t.append("use");i.attr("x",e),i.attr("y",a);const n=r.j.sanitizeUrl(s);i.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),l=(0,r._)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),h=(0,r._)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")}}]);