runcell 0.1.16__py3-none-any.whl → 0.1.16a0__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 (558) hide show
  1. d5m_ai/_version.py +1 -1
  2. d5m_ai/completion/__init__.py +1 -11
  3. d5m_ai/extension.py +1 -12
  4. d5m_ai/labextension/package.json +2 -7
  5. d5m_ai/labextension/schemas/runcell/package.json.orig +2 -7
  6. d5m_ai/labextension/static/1028.9233307a672b5ed5f6dd.js +2 -0
  7. d5m_ai/labextension/static/1120.3a5c6cffcba0bf68b641.js +1 -0
  8. d5m_ai/labextension/static/1447.ac66ae39ce884d1a18d0.js +1 -0
  9. d5m_ai/labextension/static/1582.7da217d25960ba5397bd.js +1 -0
  10. d5m_ai/labextension/static/2161.b9e3a2903ed779f592ea.js +1 -0
  11. d5m_ai/labextension/static/2331.0c857f144a2f2b00f8a5.js +48 -0
  12. d5m_ai/labextension/static/2550.378fe2b47040840cbba8.js +1 -0
  13. d5m_ai/labextension/static/2629.316d3a1d7d7cfbfac695.js +1 -0
  14. d5m_ai/labextension/static/2650.3216fbc0094940682386.js +1 -0
  15. d5m_ai/labextension/static/3180.b882d8142e31a22c4ef1.js +1 -0
  16. d5m_ai/labextension/static/3390.801e2850a27488d150ad.js +1 -0
  17. d5m_ai/labextension/static/3898.7734843ff02cdada588b.js +1 -0
  18. d5m_ai/labextension/static/4023.69d752d417de37d76ade.js +1 -0
  19. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2490.742d719657af69afad3e.js → d5m_ai/labextension/static/4077.edd571d319dc66c9d7fa.js +1 -1
  20. d5m_ai/labextension/static/{415.0a1fdc1d9f76c0431d42.js → 415.c2838574e93d05eb13ea.js} +1 -1
  21. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/6556.7a46eed7932ddfc9e659.js → d5m_ai/labextension/static/4175.d23c246efa6921b45150.js +1 -1
  22. d5m_ai/labextension/static/{4296.7f1db6691a4ac120a383.js → 4296.22c023f73b9ef8838492.js} +1 -1
  23. d5m_ai/labextension/static/434.70808d0ec3c658d2b92d.js +2 -0
  24. d5m_ai/labextension/static/4580.34e04f4a7023e431d23d.js +1 -0
  25. d5m_ai/labextension/static/4662.421f5305b60cba12c534.js +2 -0
  26. d5m_ai/labextension/static/474.4f1d89bf1d32e86115a7.js +1 -0
  27. d5m_ai/labextension/static/505.0b3c0acccb75ef5c5f94.js +1 -0
  28. d5m_ai/labextension/static/{3027.2226147340da305061f3.js → 5408.f0ba6921f1e4477b4a96.js} +1 -1
  29. d5m_ai/labextension/static/5760.0764c352a23fbaf92015.js +1 -0
  30. d5m_ai/labextension/static/5768.1d2c1415c5e377656758.js +1 -0
  31. d5m_ai/labextension/static/5803.8d0ab269e03508d953f8.js +1 -0
  32. d5m_ai/labextension/static/6157.7340caa53e91c3c15c24.js +1 -0
  33. d5m_ai/labextension/static/6276.cf7ae04d4618ea88cb7d.js +1 -0
  34. d5m_ai/labextension/static/6405.3929194169c6276fd501.js +1 -0
  35. d5m_ai/labextension/static/6581.88276d028c7008c0d7e1.js +1 -0
  36. d5m_ai/labextension/static/7032.eca9d66cd1609cf6f365.js +1 -0
  37. d5m_ai/labextension/static/7060.bbf2c588a4144f5248ae.js +1 -0
  38. d5m_ai/labextension/static/7242.38eda68fb874a3721eea.js +1 -0
  39. d5m_ai/labextension/static/7261.d6bfa79184bf99829ca9.js +1 -0
  40. d5m_ai/labextension/static/7315.251f78c6623473a27bab.js +1 -0
  41. d5m_ai/labextension/static/7585.51f0157a7dd49a9a534e.js +1 -0
  42. d5m_ai/labextension/static/7618.c9e659f65fd9f8796383.js +1 -0
  43. d5m_ai/labextension/static/7728.3148ff9da2a552a37b64.js +2 -0
  44. d5m_ai/labextension/static/8053.cbb88a6e4c3f6b0fae8b.js +2 -0
  45. d5m_ai/labextension/static/8054.90b94cd21bd8db02f876.js +1 -0
  46. d5m_ai/labextension/static/8585.6f732e5d01ff2d4e2366.js +1 -0
  47. d5m_ai/labextension/static/{539.7b5e45294371c047b74e.js → 8652.ccf18cf55b444e7e4609.js} +1 -1
  48. d5m_ai/labextension/static/8688.169ad6021b8624f8bf54.js +1 -0
  49. d5m_ai/labextension/static/8690.35988dd5d6c6da52307d.js +1 -0
  50. d5m_ai/labextension/static/8832.7d601f47c6263b04b71e.js +1 -0
  51. d5m_ai/labextension/static/9439.5294b5c7c6b988f8f312.js +1 -0
  52. d5m_ai/labextension/static/{4175.550a71c6766138e5a6ee.js → 9451.9bf13bcd4aa14be0ce6e.js} +1 -1
  53. d5m_ai/labextension/static/9744.402daf30add997cbcb0c.js +1 -0
  54. d5m_ai/labextension/static/9805.e511a6e51466a29b390f.js +1 -0
  55. d5m_ai/labextension/static/998.1d4225ccb6a06740f941.js +1 -0
  56. d5m_ai/labextension/static/9997.bc013b353c8eda57ad1c.js +1 -0
  57. d5m_ai/labextension/static/remoteEntry.d0ed4a0bca8c2e002f18.js +1 -0
  58. d5m_ai/labextension/static/third-party-licenses.json +12 -78
  59. d5m_ai/ping/ping_handler.py +1 -10
  60. d5m_ai/tools/grep.py +10 -54
  61. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/package.json +2 -7
  62. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/schemas/runcell/package.json.orig +2 -7
  63. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/1028.9233307a672b5ed5f6dd.js +2 -0
  64. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/1120.3a5c6cffcba0bf68b641.js +1 -0
  65. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/1447.ac66ae39ce884d1a18d0.js +1 -0
  66. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/1582.7da217d25960ba5397bd.js +1 -0
  67. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/2161.b9e3a2903ed779f592ea.js +1 -0
  68. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/2331.0c857f144a2f2b00f8a5.js +48 -0
  69. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/2550.378fe2b47040840cbba8.js +1 -0
  70. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/2629.316d3a1d7d7cfbfac695.js +1 -0
  71. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/2650.3216fbc0094940682386.js +1 -0
  72. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/3180.b882d8142e31a22c4ef1.js +1 -0
  73. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/3390.801e2850a27488d150ad.js +1 -0
  74. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/3898.7734843ff02cdada588b.js +1 -0
  75. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/4023.69d752d417de37d76ade.js +1 -0
  76. d5m_ai/labextension/static/2490.742d719657af69afad3e.js → runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/4077.edd571d319dc66c9d7fa.js +1 -1
  77. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/415.0a1fdc1d9f76c0431d42.js → runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/415.c2838574e93d05eb13ea.js +1 -1
  78. d5m_ai/labextension/static/6556.7a46eed7932ddfc9e659.js → runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/4175.d23c246efa6921b45150.js +1 -1
  79. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/4296.7f1db6691a4ac120a383.js → runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/4296.22c023f73b9ef8838492.js +1 -1
  80. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/434.70808d0ec3c658d2b92d.js +2 -0
  81. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/4580.34e04f4a7023e431d23d.js +1 -0
  82. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/4662.421f5305b60cba12c534.js +2 -0
  83. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/474.4f1d89bf1d32e86115a7.js +1 -0
  84. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/505.0b3c0acccb75ef5c5f94.js +1 -0
  85. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/3027.2226147340da305061f3.js → runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/5408.f0ba6921f1e4477b4a96.js +1 -1
  86. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/5760.0764c352a23fbaf92015.js +1 -0
  87. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/5768.1d2c1415c5e377656758.js +1 -0
  88. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/5803.8d0ab269e03508d953f8.js +1 -0
  89. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/6157.7340caa53e91c3c15c24.js +1 -0
  90. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/6276.cf7ae04d4618ea88cb7d.js +1 -0
  91. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/6405.3929194169c6276fd501.js +1 -0
  92. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/6581.88276d028c7008c0d7e1.js +1 -0
  93. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/7032.eca9d66cd1609cf6f365.js +1 -0
  94. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/7060.bbf2c588a4144f5248ae.js +1 -0
  95. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/7242.38eda68fb874a3721eea.js +1 -0
  96. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/7261.d6bfa79184bf99829ca9.js +1 -0
  97. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/7315.251f78c6623473a27bab.js +1 -0
  98. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/7585.51f0157a7dd49a9a534e.js +1 -0
  99. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/7618.c9e659f65fd9f8796383.js +1 -0
  100. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/7728.3148ff9da2a552a37b64.js +2 -0
  101. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/8053.cbb88a6e4c3f6b0fae8b.js +2 -0
  102. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/8054.90b94cd21bd8db02f876.js +1 -0
  103. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/8585.6f732e5d01ff2d4e2366.js +1 -0
  104. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/539.7b5e45294371c047b74e.js → runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/8652.ccf18cf55b444e7e4609.js +1 -1
  105. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/8688.169ad6021b8624f8bf54.js +1 -0
  106. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/8690.35988dd5d6c6da52307d.js +1 -0
  107. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/8832.7d601f47c6263b04b71e.js +1 -0
  108. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/9439.5294b5c7c6b988f8f312.js +1 -0
  109. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/4175.550a71c6766138e5a6ee.js → runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/9451.9bf13bcd4aa14be0ce6e.js +1 -1
  110. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/9744.402daf30add997cbcb0c.js +1 -0
  111. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/9805.e511a6e51466a29b390f.js +1 -0
  112. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/998.1d4225ccb6a06740f941.js +1 -0
  113. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/9997.bc013b353c8eda57ad1c.js +1 -0
  114. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/remoteEntry.d0ed4a0bca8c2e002f18.js +1 -0
  115. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/third-party-licenses.json +12 -78
  116. {runcell-0.1.16.dist-info → runcell-0.1.16a0.dist-info}/METADATA +1 -1
  117. runcell-0.1.16a0.dist-info/RECORD +821 -0
  118. d5m_ai/empty_display/__init__.py +0 -3
  119. d5m_ai/empty_display/empty_display_handler.py +0 -137
  120. d5m_ai/git_status_handler.py +0 -225
  121. d5m_ai/gitignore_handler.py +0 -120
  122. d5m_ai/labextension/schemas/runcell/file-browser-toggle.json +0 -22
  123. d5m_ai/labextension/static/1105.da3b3cc0801d5b7daf78.js +0 -1
  124. d5m_ai/labextension/static/1113.a6206c1ce30c44e74d65.js +0 -1
  125. d5m_ai/labextension/static/1424.7330f97f81a7cbac0293.js +0 -1
  126. d5m_ai/labextension/static/1482.5594d3330698044d51b6.js +0 -1
  127. d5m_ai/labextension/static/1681.b7dbfbfc8e8bb443b01d.js +0 -1
  128. d5m_ai/labextension/static/1741.0e30660c73a4aa6109e0.js +0 -1
  129. d5m_ai/labextension/static/1980.a1d8fd213c03964ca2dd.js +0 -1
  130. d5m_ai/labextension/static/2313.e3756d51e535b61cbc41.js +0 -1
  131. d5m_ai/labextension/static/2331.f0e4d66886493b7ff0f6.js +0 -48
  132. d5m_ai/labextension/static/239.17dc9f15aff0e2c966f0.js +0 -1
  133. d5m_ai/labextension/static/2443.590c85be4982d61f9378.js +0 -1
  134. d5m_ai/labextension/static/2636.c45f9685b0508a44882a.js +0 -1
  135. d5m_ai/labextension/static/2726.e9c471b4ad7fed0d085b.js +0 -1
  136. d5m_ai/labextension/static/2783.e11cc76ea288d3c135d0.js +0 -1
  137. d5m_ai/labextension/static/2922.8cdf00bb7d09c5419d78.js +0 -2
  138. d5m_ai/labextension/static/2951.ef10b72fe6b301f68146.js +0 -1
  139. d5m_ai/labextension/static/2958.38f8dc8fc705367ecec4.js +0 -1
  140. d5m_ai/labextension/static/3033.98d8aa6a2f13a942b945.js +0 -1
  141. d5m_ai/labextension/static/3131.5b8a2d5bc188f95b8229.js +0 -1
  142. d5m_ai/labextension/static/3340.6609b3985073e002c83d.js +0 -2
  143. d5m_ai/labextension/static/434.bfe4f51db2eb9644fbe7.js +0 -2
  144. d5m_ai/labextension/static/4497.5c0323113f039c9558b6.js +0 -1
  145. d5m_ai/labextension/static/4664.73a65498a9c43ddcf17e.js +0 -1
  146. d5m_ai/labextension/static/4704.10a6eacaafe29bf2c42a.js +0 -1
  147. d5m_ai/labextension/static/5112.5f1cd8ee9c2297a251f7.js +0 -1
  148. d5m_ai/labextension/static/5228.05d972957a2421ec1ce0.js +0 -1
  149. d5m_ai/labextension/static/5264.37c842e2843ca2bf4298.js +0 -1
  150. d5m_ai/labextension/static/5391.375b4314cb4b851f0915.js +0 -2
  151. d5m_ai/labextension/static/5408.07fc40e33d3fd1a3f7b6.js +0 -1
  152. d5m_ai/labextension/static/5455.c1d01203e7e387437b83.js +0 -1
  153. d5m_ai/labextension/static/559.a4c3a83a74025324f179.js +0 -1
  154. d5m_ai/labextension/static/6131.0393c6487450018afcae.js +0 -1
  155. d5m_ai/labextension/static/6354.0025efd7872b7d32b46b.js +0 -2
  156. d5m_ai/labextension/static/6494.da246ca8363db0bb8bfc.js +0 -1
  157. d5m_ai/labextension/static/6633.6708bbc3c085110097da.js +0 -1
  158. d5m_ai/labextension/static/6820.b3aba76c0f17b2560849.js +0 -1
  159. d5m_ai/labextension/static/7440.4e80677e4d48bac95cb6.js +0 -1
  160. d5m_ai/labextension/static/7556.c28352f72f5c6ab4e9e9.js +0 -1
  161. d5m_ai/labextension/static/7665.9b5dec1a38d313e36c39.js +0 -1
  162. d5m_ai/labextension/static/7772.094d82c7ec81259764f4.js +0 -2
  163. d5m_ai/labextension/static/8053.ebcecafa176e4cb5c439.js +0 -2
  164. d5m_ai/labextension/static/8263.47d184d4682b2f6564c4.js +0 -1
  165. d5m_ai/labextension/static/9417.b1bbd219cb5ae78f19f9.js +0 -1
  166. d5m_ai/labextension/static/9517.b2f4fa51abd8b9d6687e.js +0 -1
  167. d5m_ai/labextension/static/9599.456325f0d51fefd16a42.js +0 -1
  168. d5m_ai/labextension/static/9977.17f268665ed85e3ccc62.js +0 -1
  169. d5m_ai/labextension/static/9997.1716894eb29a02d76575.js +0 -1
  170. d5m_ai/labextension/static/remoteEntry.1b8c0969e4ce45535440.js +0 -1
  171. d5m_ai/quick_fix/__init__.py +0 -9
  172. d5m_ai/quick_fix/quick_fix_handler.py +0 -142
  173. d5m_ai/search_replace_handler.py +0 -404
  174. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/schemas/runcell/file-browser-toggle.json +0 -22
  175. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/1105.da3b3cc0801d5b7daf78.js +0 -1
  176. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/1113.a6206c1ce30c44e74d65.js +0 -1
  177. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/1424.7330f97f81a7cbac0293.js +0 -1
  178. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/1482.5594d3330698044d51b6.js +0 -1
  179. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/1681.b7dbfbfc8e8bb443b01d.js +0 -1
  180. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/1741.0e30660c73a4aa6109e0.js +0 -1
  181. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/1980.a1d8fd213c03964ca2dd.js +0 -1
  182. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2313.e3756d51e535b61cbc41.js +0 -1
  183. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2331.f0e4d66886493b7ff0f6.js +0 -48
  184. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/239.17dc9f15aff0e2c966f0.js +0 -1
  185. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2443.590c85be4982d61f9378.js +0 -1
  186. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2636.c45f9685b0508a44882a.js +0 -1
  187. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2726.e9c471b4ad7fed0d085b.js +0 -1
  188. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2783.e11cc76ea288d3c135d0.js +0 -1
  189. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2922.8cdf00bb7d09c5419d78.js +0 -2
  190. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2922.8cdf00bb7d09c5419d78.js.LICENSE.txt +0 -9
  191. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2951.ef10b72fe6b301f68146.js +0 -1
  192. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2958.38f8dc8fc705367ecec4.js +0 -1
  193. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/3033.98d8aa6a2f13a942b945.js +0 -1
  194. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/3131.5b8a2d5bc188f95b8229.js +0 -1
  195. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/3340.6609b3985073e002c83d.js +0 -2
  196. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/434.bfe4f51db2eb9644fbe7.js +0 -2
  197. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/4497.5c0323113f039c9558b6.js +0 -1
  198. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/4664.73a65498a9c43ddcf17e.js +0 -1
  199. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/4704.10a6eacaafe29bf2c42a.js +0 -1
  200. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/5112.5f1cd8ee9c2297a251f7.js +0 -1
  201. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/5228.05d972957a2421ec1ce0.js +0 -1
  202. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/5264.37c842e2843ca2bf4298.js +0 -1
  203. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/5391.375b4314cb4b851f0915.js +0 -2
  204. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/5391.375b4314cb4b851f0915.js.LICENSE.txt +0 -9
  205. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/5408.07fc40e33d3fd1a3f7b6.js +0 -1
  206. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/5455.c1d01203e7e387437b83.js +0 -1
  207. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/559.a4c3a83a74025324f179.js +0 -1
  208. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/6131.0393c6487450018afcae.js +0 -1
  209. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/6354.0025efd7872b7d32b46b.js +0 -2
  210. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/6354.0025efd7872b7d32b46b.js.LICENSE.txt +0 -9
  211. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/6494.da246ca8363db0bb8bfc.js +0 -1
  212. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/6633.6708bbc3c085110097da.js +0 -1
  213. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/6820.b3aba76c0f17b2560849.js +0 -1
  214. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/7440.4e80677e4d48bac95cb6.js +0 -1
  215. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/7556.c28352f72f5c6ab4e9e9.js +0 -1
  216. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/7665.9b5dec1a38d313e36c39.js +0 -1
  217. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/7772.094d82c7ec81259764f4.js +0 -2
  218. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/7772.094d82c7ec81259764f4.js.LICENSE.txt +0 -9
  219. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/8053.ebcecafa176e4cb5c439.js +0 -2
  220. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/8263.47d184d4682b2f6564c4.js +0 -1
  221. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/9417.b1bbd219cb5ae78f19f9.js +0 -1
  222. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/9517.b2f4fa51abd8b9d6687e.js +0 -1
  223. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/9599.456325f0d51fefd16a42.js +0 -1
  224. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/9977.17f268665ed85e3ccc62.js +0 -1
  225. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/9997.1716894eb29a02d76575.js +0 -1
  226. runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/remoteEntry.1b8c0969e4ce45535440.js +0 -1
  227. runcell-0.1.16.dist-info/RECORD +0 -840
  228. /d5m_ai/labextension/static/{2922.8cdf00bb7d09c5419d78.js.LICENSE.txt → 1028.9233307a672b5ed5f6dd.js.LICENSE.txt} +0 -0
  229. /d5m_ai/labextension/static/{2331.f0e4d66886493b7ff0f6.js.LICENSE.txt → 2331.0c857f144a2f2b00f8a5.js.LICENSE.txt} +0 -0
  230. /d5m_ai/labextension/static/{434.bfe4f51db2eb9644fbe7.js.LICENSE.txt → 434.70808d0ec3c658d2b92d.js.LICENSE.txt} +0 -0
  231. /d5m_ai/labextension/static/{3340.6609b3985073e002c83d.js.LICENSE.txt → 4662.421f5305b60cba12c534.js.LICENSE.txt} +0 -0
  232. /d5m_ai/labextension/static/{5391.375b4314cb4b851f0915.js.LICENSE.txt → 7728.3148ff9da2a552a37b64.js.LICENSE.txt} +0 -0
  233. /d5m_ai/labextension/static/{8053.ebcecafa176e4cb5c439.js.LICENSE.txt → 8053.cbb88a6e4c3f6b0fae8b.js.LICENSE.txt} +0 -0
  234. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/etc/jupyter/jupyter_server_config.d/d5m_ai.json +0 -0
  235. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/etc/jupyter/jupyter_server_config.d/runcell.json +0 -0
  236. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/install.json +0 -0
  237. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/schemas/runcell/plugin.json +0 -0
  238. /d5m_ai/labextension/static/6354.0025efd7872b7d32b46b.js.LICENSE.txt → /runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/1028.9233307a672b5ed5f6dd.js.LICENSE.txt +0 -0
  239. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1045.a76db59a7c20953976f0.js +0 -0
  240. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1055.87aafb19805530488a2c.js +0 -0
  241. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/108.d7dbe40ec7e0ae1a68f8.js +0 -0
  242. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1104.a2b939bacec5e69efd99.js +0 -0
  243. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1171.130d3cc54764cac92856.js +0 -0
  244. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1178.3e25fad4a45450e227c9.js +0 -0
  245. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1203.5deaeee9e57ffc718f19.js +0 -0
  246. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1226.ff48aa5741f77eb739fe.js +0 -0
  247. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1273.4c5992b03f129c9e3025.js +0 -0
  248. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1285.cf3bab9529c47ac9288d.js +0 -0
  249. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1307.d98ceb66a2401e5f4ddd.js +0 -0
  250. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1328.38964f7daa84901e866f.js +0 -0
  251. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1377.edf5c2163aedef75c6a1.js +0 -0
  252. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1391.ab61eb03aed289d9d44c.js +0 -0
  253. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1431.a691b4fa7cf229072fc0.js +0 -0
  254. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1521.9f3807c4a4dd19a6ab8c.js +0 -0
  255. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1524.188ff9d525210d499ff3.js +0 -0
  256. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1534.39ba9b2bf5712b697b63.js +0 -0
  257. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1540.9eba7e882fd8e00a782a.js +0 -0
  258. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1552.5203480dcdda6574ef51.js +0 -0
  259. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1555.686745d50bd19fd9d271.js +0 -0
  260. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1618.9abd2093263741894755.js +0 -0
  261. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1635.84bd383b17e41c9fe103.js +0 -0
  262. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1678.57b141401f73a26257c8.js +0 -0
  263. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1685.842997eb9757846fe690.js +0 -0
  264. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1745.e6bb2c6882da5bf9883a.js +0 -0
  265. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1752.8c4ecff560428215fe75.js +0 -0
  266. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1797.f8ca14c3ec1c0f51f403.js +0 -0
  267. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1897.7cca7a664a9ca9b486ac.js +0 -0
  268. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1902.364fa5e977055fe14150.js +0 -0
  269. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1915.b55b7d52608421a7fc41.js +0 -0
  270. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/1970.dff4fcccbb6cadb04d0c.js +0 -0
  271. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/200.f1d30c245c18bbb03312.js +0 -0
  272. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2031.155ab0916a863c8787a7.js +0 -0
  273. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2031.155ab0916a863c8787a7.js.LICENSE.txt +0 -0
  274. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/207.f5bd6d1b383a6b01ca69.js +0 -0
  275. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2072.a4d04cc98bb118e689a1.js +0 -0
  276. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2075.5d6a026d7308b71b70a1.js +0 -0
  277. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2111.a3c1f620c0a31e54cb9f.js +0 -0
  278. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2152.4db0fcf1f4dccf54b600.js +0 -0
  279. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2173.9fddf72b827a6d629bad.js +0 -0
  280. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2198.e195afcaabb2e4063da9.js +0 -0
  281. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2224.c86b12cf9e2165904033.js +0 -0
  282. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2225.8d31eec53891ca7775b7.js +0 -0
  283. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2271.69d9ea25d4ddd02710f6.js +0 -0
  284. /runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/2331.f0e4d66886493b7ff0f6.js.LICENSE.txt → /runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/2331.0c857f144a2f2b00f8a5.js.LICENSE.txt +0 -0
  285. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2349.e7c5b5e507c7a81d1427.js +0 -0
  286. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2353.7b6b36b3164a86427209.js +0 -0
  287. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2382.9e67478cc4b31aede22c.js +0 -0
  288. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2385.cd85a7dd4acb5be739da.js +0 -0
  289. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/248.693fd98760ec6ce42219.js +0 -0
  290. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2555.7168a2616a6071addb97.js +0 -0
  291. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2576.56496d8cba50d3d69eb5.js +0 -0
  292. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2639.eb2553a7be688366d9f3.js +0 -0
  293. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2654.2453f6b5846a4719dba4.js +0 -0
  294. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/267.829ce2ca38940b778c91.js +0 -0
  295. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/270.9409a2f5631a31c79cd9.js +0 -0
  296. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2768.9e5b7c6ed84b2486f835.js +0 -0
  297. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2789.12830cdb21c09111668d.js +0 -0
  298. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2824.d02df014c07b7288e78c.js +0 -0
  299. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2824.d02df014c07b7288e78c.js.LICENSE.txt +0 -0
  300. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2838.2e689afee276e5e21c57.js +0 -0
  301. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2843.65aeb8be3744d20229b8.js +0 -0
  302. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2897.7bc91ca284ea12b863e8.js +0 -0
  303. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2905.0d34ef7a481f9a968f05.js +0 -0
  304. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/2971.60c60668c130ed05d493.js +0 -0
  305. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/299.8600f54b39a11eeff427.js +0 -0
  306. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3028.953cd3b9865063969086.js +0 -0
  307. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3041.4059f9ba4f9eba56672a.js +0 -0
  308. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3045.a457aa1d023ba5f799c2.js +0 -0
  309. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3092.fad665f8cdb1da61b55b.js +0 -0
  310. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3142.7df01050c977ede2b13b.js +0 -0
  311. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3157.bcb9f8ff06fa4af27b6a.js +0 -0
  312. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3214.a986c1896fa590b2da27.js +0 -0
  313. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3239.4562297487744a7cc1d4.js +0 -0
  314. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/325.bd1e5cab3b6e068b25bc.js +0 -0
  315. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3254.9e1aa1fee12644fea2d9.js +0 -0
  316. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3267.ff884bf47b52ac634854.js +0 -0
  317. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3291.156ad2d1520857115575.js +0 -0
  318. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3311.dc97fd544e85acac8477.js +0 -0
  319. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3319.687f07bb2f993c1dc44b.js +0 -0
  320. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3325.c100f45711f539a7f262.js +0 -0
  321. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3386.4c8eebdb8d318c2913ce.js +0 -0
  322. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3386.4c8eebdb8d318c2913ce.js.LICENSE.txt +0 -0
  323. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3407.cbbf99a2ff4805726f3e.js +0 -0
  324. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3424.92b1a820ff2aa6156c36.js +0 -0
  325. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3426.27afd4c41cfad8e1a63d.js +0 -0
  326. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3436.ea677bb3e7f3ce87d7fd.js +0 -0
  327. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3449.5d8818fac081c207ce79.js +0 -0
  328. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3514.c8a1863df3cfd5390617.js +0 -0
  329. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/355.45290b03d6d4be49a58e.js +0 -0
  330. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3551.87e6eb270a212d08b1b5.js +0 -0
  331. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/359.1463d2cf955623ecceae.js +0 -0
  332. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3619.3dfa7c4eaa067a407275.js +0 -0
  333. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3645.5ea37d9f483120f69f4e.js +0 -0
  334. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3659.056fa5e4e39b72bc358b.js +0 -0
  335. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3688.7bd1ba5006b22ed5616e.js +0 -0
  336. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3722.688cdfd335ffeac13492.js +0 -0
  337. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3724.06a5a1b542ff978df3b4.js +0 -0
  338. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/376.f9c52e5bbd650da7b67f.js +0 -0
  339. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3794.c0236d400b2129ac42a9.js +0 -0
  340. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/3930.b142768bad429b3ebb04.js +0 -0
  341. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4003.95678dd199222938923b.js +0 -0
  342. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4017.d35a7557e5338be92770.js +0 -0
  343. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4050.00a6bfc9f23c6ef07199.js +0 -0
  344. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4087.ea430b62171512019400.js +0 -0
  345. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/410.fd643a255d72a83c1be6.js +0 -0
  346. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4127.0e783d9a497298e9fe18.js +0 -0
  347. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4238.bd4642c4f9256441aea5.js +0 -0
  348. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4246.d8aedd2b15d1a95f1288.js +0 -0
  349. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4272.c92c9a0d98749863c853.js +0 -0
  350. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4317.1ba9f3c33b7a1484c5df.js +0 -0
  351. /runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/434.bfe4f51db2eb9644fbe7.js.LICENSE.txt → /runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/434.70808d0ec3c658d2b92d.js.LICENSE.txt +0 -0
  352. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4353.6a83dae11a48e9d1b345.js +0 -0
  353. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4358.53a6106c5c93c3fda026.js +0 -0
  354. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4364.e87c307df69aa50a5b2a.js +0 -0
  355. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4365.b2b4496cc260301256b9.js +0 -0
  356. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4371.647bc44642d1ad0e99e4.js +0 -0
  357. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4390.1cafd3d4635b09e0c945.js +0 -0
  358. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4412.23a8cb5fb7377d3c81ab.js +0 -0
  359. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4412.23a8cb5fb7377d3c81ab.js.LICENSE.txt +0 -0
  360. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4425.a34c4f44daa5996eeec4.js +0 -0
  361. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4447.3ad32bafee045d2c0bab.js +0 -0
  362. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4477.d9e871faf650e6ad238a.js +0 -0
  363. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/45.560ee8b955f55e6a7471.js +0 -0
  364. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4503.794c4dd58c6bf2e6a66d.js +0 -0
  365. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4584.c610d4a425b036b86759.js +0 -0
  366. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4613.05840d3fc617590fff51.js +0 -0
  367. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4630.a78300f70b9af36897eb.js +0 -0
  368. /runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/3340.6609b3985073e002c83d.js.LICENSE.txt → /runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/4662.421f5305b60cba12c534.js.LICENSE.txt +0 -0
  369. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4682.1b69aa450cedd96227c9.js +0 -0
  370. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4713.4e4e598399fd6de85f5d.js +0 -0
  371. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4725.5447994a36dfeda58b9f.js +0 -0
  372. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4755.74d46f71eb4d23e4bca2.js +0 -0
  373. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4838.688e36ea43737e72dbdc.js +0 -0
  374. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/485.d27de91b0124447cf435.js +0 -0
  375. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4872.1404f5d25464532c27c2.js +0 -0
  376. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4886.443bcf6af7b83f72b4b5.js +0 -0
  377. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4913.d226f3c41ebb36489ce3.js +0 -0
  378. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/492.a7f5e972b35c8c877bf1.js +0 -0
  379. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/4928.5c8ad7f80ba081dfdbba.js +0 -0
  380. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5146.45d9b015343e5a7cace1.js +0 -0
  381. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5183.8c5527ebc7a807107471.js +0 -0
  382. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/524.927c6a42244b04ee834f.js +0 -0
  383. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5253.2cea0b927b50c952fe98.js +0 -0
  384. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5331.c971f98ac4fd9e9751a4.js +0 -0
  385. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5431.528d309549815d363599.js +0 -0
  386. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5447.1267bc4aa4938bd0f08d.js +0 -0
  387. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5466.e1da4e862af22e314f82.js +0 -0
  388. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5473.7ac9ad0a3e047bfeceb0.js +0 -0
  389. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5509.c8c8ddebaabc3579daba.js +0 -0
  390. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5590.fd188e01caa78afb3ec4.js +0 -0
  391. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5620.cd3cd230d09209b34fb5.js +0 -0
  392. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5636.ca803ffcf0d43c2402c9.js +0 -0
  393. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5672.156ad2d1520857115575.js +0 -0
  394. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5695.0da6228c48571d9386f3.js +0 -0
  395. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5715.66ad4e7324b22a5e27fb.js +0 -0
  396. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5741.edd8fd814866705aad98.js +0 -0
  397. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5748.53eb48f5623074a948ba.js +0 -0
  398. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5765.e957d823cdfe2746a356.js +0 -0
  399. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5788.b9c62804c0698b91ca8a.js +0 -0
  400. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5882.b40b5d690d3f6f67f09a.js +0 -0
  401. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5885.8cd4d3e3008fdb31ce2a.js +0 -0
  402. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5900.6dca06924caef83a5b52.js +0 -0
  403. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5906.870c0d7bb4e022aaca9d.js +0 -0
  404. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5908.e81f83f7a9906d9d7542.js +0 -0
  405. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5973.4e08bf1ee13205326051.js +0 -0
  406. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5973.4e08bf1ee13205326051.js.LICENSE.txt +0 -0
  407. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/5977.d264e9baaebc417e35c0.js +0 -0
  408. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6007.987a9850d5891b1908ae.js +0 -0
  409. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6030.dd5fd07844168dbaa6f6.js +0 -0
  410. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6030.dd5fd07844168dbaa6f6.js.LICENSE.txt +0 -0
  411. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6079.5c80b9de6aabb0be08d2.js +0 -0
  412. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6084.bf8d6b1da6c4cad209bb.js +0 -0
  413. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6094.f96654ca0070f8f391b1.js +0 -0
  414. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/611.5ae7fb260af8629f1528.js +0 -0
  415. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6176.bd441d4d6fe942889bf3.js +0 -0
  416. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6221.457e64a4f06be421eaa4.js +0 -0
  417. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6266.4f2bcc95c2d61cdaacbc.js +0 -0
  418. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/627.84c4aa26f69662abb72d.js +0 -0
  419. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6293.823b9bfe50fdfd62dd42.js +0 -0
  420. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6299.b14c1d46ba4ad9799f63.js +0 -0
  421. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6306.8d22227d6aa1dfc32da5.js +0 -0
  422. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6320.b844d6686eebcb036643.js +0 -0
  423. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6322.997db39a5d4b63e72b21.js +0 -0
  424. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6336.92de365c5fb0f261f799.js +0 -0
  425. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6366.5049626e7d5bb38a8574.js +0 -0
  426. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/640.ebfad36f1dde45e9cd05.js +0 -0
  427. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/642.817a48a77e1c16e6e65d.js +0 -0
  428. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6520.ff2a9ec2e50dd45868ac.js +0 -0
  429. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6573.7899a873adb98c3c0190.js +0 -0
  430. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6648.b7ed5e9a732275dc85ac.js +0 -0
  431. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6676.1a71900a6131dbe02aad.js +0 -0
  432. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6678.fe58c12ce33b0f5706f5.js +0 -0
  433. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6772.01fcccfcabd525210aee.js +0 -0
  434. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6774.1e0a751d7079179f8f73.js +0 -0
  435. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6795.1c49fa950817836e3f1e.js +0 -0
  436. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6803.eccda2da06d869b0acda.js +0 -0
  437. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6822.5bf91484ea172f864747.js +0 -0
  438. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6853.48004207e7c689ec55b4.js +0 -0
  439. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6880.c3cfce260b3d25d9ef5e.js +0 -0
  440. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6906.1f65b08daf64af8d1f27.js +0 -0
  441. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/6982.d9f1a29fe7834b53c855.js +0 -0
  442. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7005.9f8920f4e58652fe3ef9.js +0 -0
  443. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/711.5c259d7417620cf8eef8.js +0 -0
  444. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7131.cab088ddb371234f1fd6.js +0 -0
  445. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7161.f03be5c4590ae6db98c1.js +0 -0
  446. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7166.6e64d20ff3d06bb0726a.js +0 -0
  447. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7181.1d3f5611193e734beaf4.js +0 -0
  448. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/72.081fe34e2c76320135d0.js +0 -0
  449. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7232.5969981a73dac6835b93.js +0 -0
  450. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7273.9e6765278092fd30a14f.js +0 -0
  451. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7280.5862e5cf2b594fd45f82.js +0 -0
  452. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7336.b8136533f61cd1b71adc.js +0 -0
  453. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7359.7bc0ef939742600dba39.js +0 -0
  454. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7399.6fa42c5d34d3659f9f68.js +0 -0
  455. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7400.ea48afe8766bd82b3741.js +0 -0
  456. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7441.bce20fb0ea3d8638bc30.js +0 -0
  457. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7488.f63b5ad13eb23dbc3915.js +0 -0
  458. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/751.48ddf412afdd781e868f.js +0 -0
  459. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7572.937d1e5ce68a384389e9.js +0 -0
  460. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7652.cf086dfcd950ff2c4554.js +0 -0
  461. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7672.61e8e5299259407f1ee1.js +0 -0
  462. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7705.962a56002e394e3755aa.js +0 -0
  463. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7719.9dbadc40622a97c6fa90.js +0 -0
  464. /d5m_ai/labextension/static/7772.094d82c7ec81259764f4.js.LICENSE.txt → /runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/7728.3148ff9da2a552a37b64.js.LICENSE.txt +0 -0
  465. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7771.efa5c4cf41907b4c8cfc.js +0 -0
  466. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/779.c50f60eeca2b40bf96db.js +0 -0
  467. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7792.e67368a87fa703a97f25.js +0 -0
  468. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7812.1b53bb1f6cce555d0b70.js +0 -0
  469. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7890.c8c8ddebaabc3579daba.js +0 -0
  470. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7954.b02433d4bd38b648ec0e.js +0 -0
  471. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7959.75734676fe5e861ad899.js +0 -0
  472. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7967.ccc236f921abba961fcb.js +0 -0
  473. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/7981.c14b5974541e98a1b340.js +0 -0
  474. /runcell-0.1.16.data/data/share/jupyter/labextensions/runcell/static/8053.ebcecafa176e4cb5c439.js.LICENSE.txt → /runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/8053.cbb88a6e4c3f6b0fae8b.js.LICENSE.txt +0 -0
  475. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8056.06f4e4d87d7ccc1e4662.js +0 -0
  476. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8066.ad6692e614937d4dc480.js +0 -0
  477. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8122.f671cfb05d97b5e220fa.js +0 -0
  478. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8146.fc69595fa9fb4dc989ec.js +0 -0
  479. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8151.e18e503723ffa9d576f7.js +0 -0
  480. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8177.d8e81718e82279286385.js +0 -0
  481. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8179.33453f3165561d33347d.js +0 -0
  482. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8181.0f15741bcd037cfaf528.js +0 -0
  483. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8249.01410b92489460697717.js +0 -0
  484. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8295.39003c08c2539bf22593.js +0 -0
  485. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8304.075c39345f3b817edfb1.js +0 -0
  486. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8321.3ba6a40e5ed74b977afc.js +0 -0
  487. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8343.31e93467f566af5fb10e.js +0 -0
  488. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8354.3044135d1229985d61c6.js +0 -0
  489. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8354.3044135d1229985d61c6.js.LICENSE.txt +0 -0
  490. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8366.55b8257f92b23e6f49ec.js +0 -0
  491. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8369.80293e64ec102044c767.js +0 -0
  492. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/84.3575d43472885d2b7714.js +0 -0
  493. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8400.7d8ed1bca69c56f67486.js +0 -0
  494. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8404.1c1c675dc23d7d9d80de.js +0 -0
  495. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8437.795ac38d87895b50d98e.js +0 -0
  496. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8480.6698a41d2cf895aafe0f.js +0 -0
  497. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8482.85d03122dfec6d4f9307.js +0 -0
  498. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/851.9faa523fb28cedcd6b88.js +0 -0
  499. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8522.dd261948e958bcf4ae64.js +0 -0
  500. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8524.4c79a5ea5e22a1389a1f.js +0 -0
  501. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8649.b722755e4bccf4a39cd5.js +0 -0
  502. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8675.ffadeba0edbfd8d2285d.js +0 -0
  503. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8748.bb9c4496cf4ab7577e74.js +0 -0
  504. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8751.e80b9f51b9cdb544d16b.js +0 -0
  505. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8768.4aba875e6cfb350edfa7.js +0 -0
  506. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/880.0bcd5ab06196cb9533c4.js +0 -0
  507. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8824.4b08a890046be218bb35.js +0 -0
  508. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8829.c51ecb2bf77a1ca2a962.js +0 -0
  509. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8856.6e271445d6d3837302ec.js +0 -0
  510. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8860.c824d17d8869a6dd6207.js +0 -0
  511. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8887.6480b4ee0c5fa187c2d7.js +0 -0
  512. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8929.3329d360058c1764e201.js +0 -0
  513. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/8957.4f33250ba35099dbe048.js +0 -0
  514. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9014.0e67032c3d7119ce3370.js +0 -0
  515. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/904.60333ec0aebf2d092197.js +0 -0
  516. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9040.9376593b8e7caa5ed6a0.js +0 -0
  517. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9055.7b9ab3136d6a82b298a4.js +0 -0
  518. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9071.d8aea526bf53118639a9.js +0 -0
  519. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9113.f9e25015d31ee397e490.js +0 -0
  520. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9115.c30adf6f374eb1bd3b93.js +0 -0
  521. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9125.26a8a929493c19af9f50.js +0 -0
  522. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9165.8b0907227f85ba27306b.js +0 -0
  523. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9180.7d6cded0c9f36ac75093.js +0 -0
  524. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9184.33de87e8d509010a9bdf.js +0 -0
  525. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9193.3666b71cf376fdec58b4.js +0 -0
  526. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9205.a2f5f2a2c0b69582717e.js +0 -0
  527. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9251.822a5aa9397713d54ea2.js +0 -0
  528. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9255.ad693b359f0d12767fe1.js +0 -0
  529. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9262.bebc0ed75d7f86d722f2.js +0 -0
  530. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9277.f3623a34b457ca052d80.js +0 -0
  531. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9285.2d3c4984387ebca606d4.js +0 -0
  532. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9289.9fb56f7beb83d721e654.js +0 -0
  533. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/934.3ce5b696b827323e706e.js +0 -0
  534. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9402.b8868b6860051723bf48.js +0 -0
  535. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9404.f6ff67c04b5dfb52e3d9.js +0 -0
  536. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9412.fe8cf617636a0df90247.js +0 -0
  537. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9456.2f96fda82d4be6b0448e.js +0 -0
  538. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9494.b4ae8d6a63ec84cc4ec3.js +0 -0
  539. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9513.0db046603be52099c3ec.js +0 -0
  540. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9514.458d7630c50b4b658200.js +0 -0
  541. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9559.07e6563cb0b401ff88a6.js +0 -0
  542. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9576.b2d6c2e9831fda63f41f.js +0 -0
  543. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9607.a4f836281d0337527f6e.js +0 -0
  544. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9621.55ea68ee13d702908a10.js +0 -0
  545. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9640.c489050f3a1342328779.js +0 -0
  546. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9650.b4d4a115ac2fca1dfbe8.js +0 -0
  547. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9704.f4c6d15183531d37b825.js +0 -0
  548. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9734.63cf17414a5103d290bb.js +0 -0
  549. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9754.2f617d267f5167be63ed.js +0 -0
  550. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9885.f84ed1b0565de3b61e99.js +0 -0
  551. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9912.b6643895a628f9ea506c.js +0 -0
  552. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9926.6e52dbb62a19476aae87.js +0 -0
  553. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9939.eab64dfd409dd1df1844.js +0 -0
  554. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/9986.e953beace913bfa7ba74.js +0 -0
  555. {runcell-0.1.16.data → runcell-0.1.16a0.data}/data/share/jupyter/labextensions/runcell/static/style.js +0 -0
  556. {runcell-0.1.16.dist-info → runcell-0.1.16a0.dist-info}/WHEEL +0 -0
  557. {runcell-0.1.16.dist-info → runcell-0.1.16a0.dist-info}/entry_points.txt +0 -0
  558. {runcell-0.1.16.dist-info → runcell-0.1.16a0.dist-info}/licenses/LICENSE +0 -0
@@ -1 +0,0 @@
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")}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkruncell=self.webpackChunkruncell||[]).push([[6633],{18487:(e,n,t)=>{t.d(n,{c:()=>a});var r=t(59369),i=4;function a(e){return(0,r.b)(e,i)}},86633:(e,n,t)=>{t.r(n),t.d(n,{render:()=>D});var r=t(43340),i=t(94321),a=t(61105),o=t(59369),d=t(18487),l=t(81482);function s(e){var n={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:c(e),edges:g(e)};return(0,o.i)(e.graph())||(n.value=(0,d.c)(e.graph())),n}function c(e){return(0,l.m)(e.nodes(),function(n){var t=e.node(n),r=e.parent(n),i={v:n};return(0,o.i)(t)||(i.value=t),(0,o.i)(r)||(i.parent=r),i})}function g(e){return(0,l.m)(e.edges(),function(n){var t=e.edge(n),r={v:n.v,w:n.w};return(0,o.i)(n.name)||(r.name=n.name),(0,o.i)(t)||(r.value=t),r})}var u=new Map,f=new Map,h=new Map,p=(0,r._)(()=>{f.clear(),h.clear(),u.clear()},"clear"),w=(0,r._)((e,n)=>{const t=f.get(n)||[];return r.l.trace("In isDescendant",n," ",e," = ",t.includes(e)),t.includes(e)},"isDescendant"),v=(0,r._)((e,n)=>{const t=f.get(n)||[];return r.l.info("Descendants of ",n," is ",t),r.l.info("Edge is ",e),e.v!==n&&e.w!==n&&(t?t.includes(e.v)||w(e.v,n)||w(e.w,n)||t.includes(e.w):(r.l.debug("Tilt, ",n,",not in descendants"),!1))},"edgeInCluster"),y=(0,r._)((e,n,t,i)=>{r.l.warn("Copying children of ",e,"root",i,"data",n.node(e),i);const a=n.children(e)||[];e!==i&&a.push(e),r.l.warn("Copying (nodes) clusterId",e,"nodes",a),a.forEach(a=>{if(n.children(a).length>0)y(a,n,t,i);else{const o=n.node(a);r.l.info("cp ",a," to ",i," with parent ",e),t.setNode(a,o),i!==n.parent(a)&&(r.l.warn("Setting parent",a,n.parent(a)),t.setParent(a,n.parent(a))),e!==i&&a!==e?(r.l.debug("Setting parent",a,e),t.setParent(a,e)):(r.l.info("In copy ",e,"root",i,"data",n.node(e),i),r.l.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==i,"node!==clusterId",a!==e));const d=n.edges(a);r.l.debug("Copying Edges",d),d.forEach(a=>{r.l.info("Edge",a);const o=n.edge(a.v,a.w,a.name);r.l.info("Edge data",o,i);try{v(a,i)?(r.l.info("Copying as ",a.v,a.w,o,a.name),t.setEdge(a.v,a.w,o,a.name),r.l.info("newGraph edges ",t.edges(),t.edge(t.edges()[0]))):r.l.info("Skipping copy of edge ",a.v,"--\x3e",a.w," rootId: ",i," clusterId:",e)}catch(e){r.l.error(e)}})}r.l.debug("Removing node",a),n.removeNode(a)})},"copy"),m=(0,r._)((e,n)=>{const t=n.children(e);let r=[...t];for(const i of t)h.set(i,e),r=[...r,...m(i,n)];return r},"extractDescendants"),X=(0,r._)((e,n,t)=>{const r=e.edges().filter(e=>e.v===n||e.w===n),i=e.edges().filter(e=>e.v===t||e.w===t),a=r.map(e=>({v:e.v===n?t:e.v,w:e.w===n?n:e.w})),o=i.map(e=>({v:e.v,w:e.w}));return a.filter(e=>o.some(n=>e.v===n.v&&e.w===n.w))},"findCommonEdges"),b=(0,r._)((e,n,t)=>{const i=n.children(e);if(r.l.trace("Searching children of id ",e,i),i.length<1)return e;let a;for(const e of i){const r=b(e,n,t),i=X(n,t,r);if(r){if(!(i.length>0))return r;a=r}}return a},"findNonClusterChild"),E=(0,r._)(e=>u.has(e)&&u.get(e).externalConnections&&u.has(e)?u.get(e).id:e,"getAnchorId"),N=(0,r._)((e,n)=>{if(!e||n>10)r.l.debug("Opting out, no graph ");else{r.l.debug("Opting in, graph "),e.nodes().forEach(function(n){e.children(n).length>0&&(r.l.warn("Cluster identified",n," Replacement id in edges: ",b(n,e,n)),f.set(n,m(n,e)),u.set(n,{id:b(n,e,n),clusterData:e.node(n)}))}),e.nodes().forEach(function(n){const t=e.children(n),i=e.edges();t.length>0?(r.l.debug("Cluster identified",n,f),i.forEach(e=>{w(e.v,n)^w(e.w,n)&&(r.l.warn("Edge: ",e," leaves cluster ",n),r.l.warn("Descendants of XXX ",n,": ",f.get(n)),u.get(n).externalConnections=!0)})):r.l.debug("Not a cluster ",n,f)});for(let n of u.keys()){const t=u.get(n).id,r=e.parent(t);r!==n&&u.has(r)&&!u.get(r).externalConnections&&(u.get(n).id=r)}e.edges().forEach(function(n){const t=e.edge(n);r.l.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),r.l.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let i=n.v,a=n.w;if(r.l.warn("Fix XXX",u,"ids:",n.v,n.w,"Translating: ",u.get(n.v)," --- ",u.get(n.w)),u.get(n.v)||u.get(n.w)){if(r.l.warn("Fixing and trying - removing XXX",n.v,n.w,n.name),i=E(n.v),a=E(n.w),e.removeEdge(n.v,n.w,n.name),i!==n.v){const r=e.parent(i);u.get(r).externalConnections=!0,t.fromCluster=n.v}if(a!==n.w){const r=e.parent(a);u.get(r).externalConnections=!0,t.toCluster=n.w}r.l.warn("Fix Replacing with XXX",i,a,n.name),e.setEdge(i,a,t,n.name)}}),r.l.warn("Adjusted Graph",s(e)),C(e,0),r.l.trace(u)}},"adjustClustersAndEdges"),C=(0,r._)((e,n)=>{var t,a;if(r.l.warn("extractor - ",n,s(e),e.children("D")),n>10)return void r.l.error("Bailing out");let o=e.nodes(),d=!1;for(const n of o){const t=e.children(n);d=d||t.length>0}if(d){r.l.debug("Nodes = ",o,n);for(const d of o)if(r.l.debug("Extracting node",d,u,u.has(d)&&!u.get(d).externalConnections,!e.parent(d),e.node(d),e.children("D")," Depth ",n),u.has(d))if(!u.get(d).externalConnections&&e.children(d)&&e.children(d).length>0){r.l.warn("Cluster without external connections, without a parent and with children",d,n);let o="TB"===e.graph().rankdir?"LR":"TB";null!=(a=null==(t=u.get(d))?void 0:t.clusterData)&&a.dir&&(o=u.get(d).clusterData.dir,r.l.warn("Fixing dir",u.get(d).clusterData.dir,o));const l=new i.G({multigraph:!0,compound:!0}).setGraph({rankdir:o,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});r.l.warn("Old graph before copy",s(e)),y(d,e,l,d),e.setNode(d,{clusterNode:!0,id:d,clusterData:u.get(d).clusterData,label:u.get(d).label,graph:l}),r.l.warn("New graph after copy node: (",d,")",s(l)),r.l.debug("Old graph after copy",s(e))}else r.l.warn("Cluster ** ",d," **not meeting the criteria !externalConnections:",!u.get(d).externalConnections," no parent: ",!e.parent(d)," children ",e.children(d)&&e.children(d).length>0,e.children("D"),n),r.l.debug(u);else r.l.debug("Not a cluster",d,n);o=e.nodes(),r.l.warn("New list of nodes",o);for(const t of o){const i=e.node(t);r.l.warn(" Now next level",t,i),null!=i&&i.clusterNode&&C(i.graph,n+1)}}else r.l.debug("Done, no node has children",e.nodes())},"extractor"),x=(0,r._)((e,n)=>{if(0===n.length)return[];let t=Object.assign([],n);return n.forEach(n=>{const r=e.children(n),i=x(e,r);t=[...t,...i]}),t},"sorter"),S=(0,r._)(e=>x(e,e.children()),"sortNodesByHierarchy"),I=(0,r._)(async(e,n,t,i,o,d)=>{r.l.warn("Graph in recursive render:XAX",s(n),o);const l=n.graph().rankdir;r.l.trace("Dir in recursive render - dir:",l);const c=e.insert("g").attr("class","root");n.nodes()?r.l.info("Recursive render XXX",n.nodes()):r.l.info("No nodes found for",n),n.edges().length>0&&r.l.info("Recursive edges",n.edge(n.edges()[0]));const g=c.insert("g").attr("class","clusters"),f=c.insert("g").attr("class","edgePaths"),h=c.insert("g").attr("class","edgeLabels"),p=c.insert("g").attr("class","nodes");await Promise.all(n.nodes().map(async function(e){const a=n.node(e);if(void 0!==o){const t=JSON.parse(JSON.stringify(o.clusterData));r.l.trace("Setting data for parent cluster XXX\n Node.id = ",e,"\n data=",t.height,"\nParent cluster",o.height),n.setNode(o.id,t),n.parent(e)||(r.l.trace("Setting parent",e,o.id),n.setParent(e,o.id,t))}if(r.l.info("(Insert) Node XXX"+e+": "+JSON.stringify(n.node(e))),null!=a&&a.clusterNode){r.l.info("Cluster identified XBX",e,a.width,n.node(e));const{ranksep:o,nodesep:l}=n.graph();a.graph.setGraph({...a.graph.graph(),ranksep:o+25,nodesep:l});const s=await I(p,a.graph,t,i,n.node(e),d),c=s.elem;(0,r.aA)(a,c),a.diff=s.diff||0,r.l.info("New compound node after recursive render XAX",e,"width",a.width,"height",a.height),(0,r.aB)(c,a)}else n.children(e).length>0?(r.l.trace("Cluster - the non recursive path XBX",e,a.id,a,a.width,"Graph:",n),r.l.trace(b(a.id,n)),u.set(a.id,{id:b(a.id,n),node:a})):(r.l.trace("Node - the non recursive path XAX",e,p,n.node(e),l),await(0,r.ai)(p,n.node(e),{config:d,dir:l}))})),await(0,r._)(async()=>{const e=n.edges().map(async function(e){const t=n.edge(e.v,e.w,e.name);r.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),r.l.info("Edge "+e.v+" -> "+e.w+": ",e," ",JSON.stringify(n.edge(e))),r.l.info("Fix",u,"ids:",e.v,e.w,"Translating: ",u.get(e.v),u.get(e.w)),await(0,r.aE)(h,t)});await Promise.all(e)},"processEdges")(),r.l.info("Graph before layout:",JSON.stringify(s(n))),r.l.info("############################################# XXX"),r.l.info("### Layout ### XXX"),r.l.info("############################################# XXX"),(0,a.l)(n),r.l.info("Graph after layout:",JSON.stringify(s(n)));let w=0,{subGraphTitleTotalMargin:v}=(0,r.an)(d);return await Promise.all(S(n).map(async function(e){var t;const i=n.node(e);if(r.l.info("Position XBX => "+e+": ("+i.x,","+i.y,") width: ",i.width," height: ",i.height),null!=i&&i.clusterNode)i.y+=v,r.l.info("A tainted cluster node XBX1",e,i.id,i.width,i.height,i.x,i.y,n.parent(e)),u.get(i.id).node=i,(0,r.aj)(i);else if(n.children(e).length>0){r.l.info("A pure cluster node XBX1",e,i.id,i.x,i.y,i.width,i.height,n.parent(e)),i.height+=v,n.node(i.parentId);const a=(null==i?void 0:i.padding)/2||0,o=(null==(t=null==i?void 0:i.labelBBox)?void 0:t.height)||0,d=o-a||0;r.l.debug("OffsetY",d,"labelHeight",o,"halfPadding",a),await(0,r.ah)(g,i),u.get(i.id).node=i}else{const e=n.node(i.parentId);i.y+=v/2,r.l.info("A regular node XBX1 - using the padding",i.id,"parent",i.parentId,i.width,i.height,i.x,i.y,"offsetY",i.offsetY,"parent",e,null==e?void 0:e.offsetY,i),(0,r.aj)(i)}})),n.edges().forEach(function(e){const a=n.edge(e);r.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(a),a),a.points.forEach(e=>e.y+=v/2);const o=n.node(e.v);var d=n.node(e.w);const l=(0,r.aC)(f,a,u,t,o,d,i);(0,r.aD)(a,l)}),n.nodes().forEach(function(e){const t=n.node(e);r.l.info(e,t.type,t.diff),t.isGroup&&(w=t.diff)}),r.l.warn("Returning from recursive render XAX",c,w),{elem:c,diff:w}},"recursiveRender"),D=(0,r._)(async(e,n)=>{var t,a,o,d,l,c;const g=new i.G({multigraph:!0,compound:!0}).setGraph({rankdir:e.direction,nodesep:(null==(t=e.config)?void 0:t.nodeSpacing)||(null==(o=null==(a=e.config)?void 0:a.flowchart)?void 0:o.nodeSpacing)||e.nodeSpacing,ranksep:(null==(d=e.config)?void 0:d.rankSpacing)||(null==(c=null==(l=e.config)?void 0:l.flowchart)?void 0:c.rankSpacing)||e.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),u=n.select("g");(0,r.aw)(u,e.markers,e.type,e.diagramId),(0,r.ax)(),(0,r.ay)(),(0,r.az)(),p(),e.nodes.forEach(e=>{g.setNode(e.id,{...e}),e.parentId&&g.setParent(e.id,e.parentId)}),r.l.debug("Edges:",e.edges),e.edges.forEach(e=>{if(e.start===e.end){const n=e.start,t=n+"---"+n+"---1",r=n+"---"+n+"---2",i=g.node(n);g.setNode(t,{domId:t,id:t,parentId:i.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),g.setParent(t,i.parentId),g.setNode(r,{domId:r,id:r,parentId:i.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),g.setParent(r,i.parentId);const a=structuredClone(e),o=structuredClone(e),d=structuredClone(e);a.label="",a.arrowTypeEnd="none",a.id=n+"-cyclic-special-1",o.arrowTypeStart="none",o.arrowTypeEnd="none",o.id=n+"-cyclic-special-mid",d.label="",i.isGroup&&(a.fromCluster=n,d.toCluster=n),d.id=n+"-cyclic-special-2",d.arrowTypeStart="none",g.setEdge(n,t,a,n+"-cyclic-special-0"),g.setEdge(t,r,o,n+"-cyclic-special-1"),g.setEdge(r,n,d,n+"-cyc<lic-special-2")}else g.setEdge(e.start,e.end,{...e},e.id)}),r.l.warn("Graph at first:",JSON.stringify(s(g))),N(g),r.l.warn("Graph after XAX:",JSON.stringify(s(g)));const f=(0,r.c)();await I(u,g,e.type,e.diagramId,void 0,f)},"render")}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkruncell=self.webpackChunkruncell||[]).push([[6820],{15053:(e,t,n)=>{n.d(t,{o:()=>s});var r=n(44620);class a extends Map{constructor(e,t=l){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,n]of e)this.set(t,n)}get(e){return super.get(i(this,e))}has(e){return super.has(i(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}(this,e))}}function i({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function l(e){return null!==e&&"object"==typeof e?e.valueOf():e}const o=Symbol("implicit");function s(){var e=new a,t=[],n=[],i=o;function l(r){let a=e.get(r);if(void 0===a){if(i!==o)return i;e.set(r,a=t.push(r)-1)}return n[a%n.length]}return l.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new a;for(const r of n)e.has(r)||e.set(r,t.push(r)-1);return l},l.range=function(e){return arguments.length?(n=Array.from(e),l):n.slice()},l.unknown=function(e){return arguments.length?(i=e,l):i},l.copy=function(){return s(t,n).unknown(i)},r.i.apply(l,arguments),l}},18347:(e,t,n)=>{function r(e,t){var n,r,a;e.accDescr&&(null==(n=t.setAccDescription)||n.call(t,e.accDescr)),e.accTitle&&(null==(r=t.setAccTitle)||r.call(t,e.accTitle)),e.title&&(null==(a=t.setDiagramTitle)||a.call(t,e.title))}n.d(t,{p:()=>r}),(0,n(43340)._)(r,"populateCommonDb")},36221:(e,t,n)=>{n.d(t,{s:()=>a});var r=n(43340),a=(0,r._)((e,t,n,a)=>{e.attr("class",n);const{width:o,height:s,x:c,y:d}=i(e,t);(0,r.e)(e,s,o,a);const h=l(c,d,o,s,t);e.attr("viewBox",h),r.l.debug(`viewBox configured: ${h} with padding: ${t}`)},"setupViewPortForSVG"),i=(0,r._)((e,t)=>{var n;const r=(null==(n=e.node())?void 0:n.getBBox())||{width:0,height:0,x:0,y:0};return{width:r.width+2*t,height:r.height+2*t,x:r.x,y:r.y}},"calculateDimensionsWithPadding"),l=(0,r._)((e,t,n,r,a)=>`${e-a} ${t-a} ${n} ${r}`,"createViewBox")},44032:(e,t,n)=>{function r(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function a(e){return(e=r(Math.abs(e)))?e[1]:NaN}n.d(t,{a:()=>f,b:()=>p,e:()=>a,f:()=>o});var i,l=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function o(e){if(!(t=l.exec(e)))throw new Error("invalid format: "+e);var t;return new s({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function s(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function c(e,t){var n=r(e,t);if(!n)return e+"";var a=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+a:a.length>i+1?a.slice(0,i+1)+"."+a.slice(i+1):a+new Array(i-a.length+2).join("0")}o.prototype=s.prototype,s.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const d={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>c(100*e,t),r:c,s:function(e,t){var n=r(e,t);if(!n)return e+"";var a=n[0],l=n[1],o=l-(i=3*Math.max(-8,Math.min(8,Math.floor(l/3))))+1,s=a.length;return o===s?a:o>s?a+new Array(o-s+1).join("0"):o>0?a.slice(0,o)+"."+a.slice(o):"0."+new Array(1-o).join("0")+r(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function h(e){return e}var u,p,f,g=Array.prototype.map,m=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];u=function(e){var t=void 0===e.grouping||void 0===e.thousands?h:function(e,t){return function(n,r){for(var a=n.length,i=[],l=0,o=e[0],s=0;a>0&&o>0&&(s+o+1>r&&(o=Math.max(1,r-s)),i.push(n.substring(a-=o,a+o)),!((s+=o+1)>r));)o=e[l=(l+1)%e.length];return i.reverse().join(t)}}(g.call(e.grouping,Number),e.thousands+""),n=void 0===e.currency?"":e.currency[0]+"",r=void 0===e.currency?"":e.currency[1]+"",l=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?h:function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(g.call(e.numerals,String)),c=void 0===e.percent?"%":e.percent+"",u=void 0===e.minus?"−":e.minus+"",p=void 0===e.nan?"NaN":e.nan+"";function f(e){var a=(e=o(e)).fill,h=e.align,f=e.sign,g=e.symbol,y=e.zero,v=e.width,x=e.comma,S=e.precision,b=e.trim,w=e.type;"n"===w?(x=!0,w="g"):d[w]||(void 0===S&&(S=12),b=!0,w="g"),(y||"0"===a&&"="===h)&&(y=!0,a="0",h="=");var M="$"===g?n:"#"===g&&/[boxX]/.test(w)?"0"+w.toLowerCase():"",C="$"===g?r:/[%p]/.test(w)?c:"",$=d[w],k=/[defgprs%]/.test(w);function L(e){var n,r,o,c=M,d=C;if("c"===w)d=$(e)+d,e="";else{var g=(e=+e)<0||1/e<0;if(e=isNaN(e)?p:$(Math.abs(e),S),b&&(e=function(e){e:for(var t,n=e.length,r=1,a=-1;r<n;++r)switch(e[r]){case".":a=t=r;break;case"0":0===a&&(a=r),t=r;break;default:if(!+e[r])break e;a>0&&(a=0)}return a>0?e.slice(0,a)+e.slice(t+1):e}(e)),g&&0==+e&&"+"!==f&&(g=!1),c=(g?"("===f?f:u:"-"===f||"("===f?"":f)+c,d=("s"===w?m[8+i/3]:"")+d+(g&&"("===f?")":""),k)for(n=-1,r=e.length;++n<r;)if(48>(o=e.charCodeAt(n))||o>57){d=(46===o?l+e.slice(n+1):e.slice(n))+d,e=e.slice(0,n);break}}x&&!y&&(e=t(e,1/0));var L=c.length+e.length+d.length,T=L<v?new Array(v-L+1).join(a):"";switch(x&&y&&(e=t(T+e,T.length?v-d.length:1/0),T=""),h){case"<":e=c+e+d+T;break;case"=":e=c+T+e+d;break;case"^":e=T.slice(0,L=T.length>>1)+c+e+d+T.slice(L);break;default:e=T+c+e+d}return s(e)}return S=void 0===S?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,S)):Math.max(0,Math.min(20,S)),L.toString=function(){return e+""},L}return{format:f,formatPrefix:function(e,t){var n=f(((e=o(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(a(t)/3))),i=Math.pow(10,-r),l=m[8+r/3];return function(e){return n(i*e)+l}}}}({thousands:",",grouping:[3],currency:["$",""]}),p=u.format,f=u.formatPrefix},44620:(e,t,n)=>{function r(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}n.d(t,{i:()=>r})},76820:(e,t,n)=>{n.d(t,{diagram:()=>A});var r=n(43340),a=n(36221),i=n(18347),l=n(90539),o=n(44032),s=n(15053);function c(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function d(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=u)):void 0===t&&(t=h);for(var n,r,a,i,l,o=new g(e),s=[o];n=s.pop();)if((a=t(n.data))&&(l=(a=Array.from(a)).length))for(n.children=a,i=l-1;i>=0;--i)s.push(r=a[i]=new g(a[i])),r.parent=n,r.depth=n.depth+1;return o.eachBefore(f)}function h(e){return e.children}function u(e){return Array.isArray(e)?e[1]:null}function p(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function f(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function g(e){this.data=e,this.depth=this.height=0,this.parent=null}function m(){return 0}function y(e){return function(){return e}}function v(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}function x(e,t,n,r,a){for(var i,l=e.children,o=-1,s=l.length,c=e.value&&(r-t)/e.value;++o<s;)(i=l[o]).y0=n,i.y1=a,i.x0=t,i.x1=t+=i.value*c}function S(e,t,n,r,a){for(var i,l=e.children,o=-1,s=l.length,c=e.value&&(a-n)/e.value;++o<s;)(i=l[o]).x0=t,i.x1=r,i.y0=n,i.y1=n+=i.value*c}g.prototype=d.prototype={constructor:g,count:function(){return this.eachAfter(c)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,a,i=this,l=[i],o=[],s=-1;i=l.pop();)if(o.push(i),n=i.children)for(r=0,a=n.length;r<a;++r)l.push(n[r]);for(;i=o.pop();)e.call(t,i,++s,this);return this},eachBefore:function(e,t){for(var n,r,a=this,i=[a],l=-1;a=i.pop();)if(e.call(t,a,++l,this),n=a.children)for(r=n.length-1;r>=0;--r)i.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,a=r&&r.length;--a>=0;)n+=r[a].value;t.value=n})},sort:function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),a=null;for(e=n.pop(),t=r.pop();e===t;)a=e,e=n.pop(),t=r.pop();return a}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var a=r.length;e!==n;)r.splice(a,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e},links:function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t},copy:function(){return d(this).eachBefore(p)},[Symbol.iterator]:function*(){var e,t,n,r,a=this,i=[a];do{for(e=i.reverse(),i=[];a=e.pop();)if(yield a,t=a.children)for(n=0,r=t.length;n<r;++n)i.push(t[n])}while(i.length)}};const b=function e(t){function n(e,n,r,a,i){!function(e,t,n,r,a,i){for(var l,o,s,c,d,h,u,p,f,g,m,y=[],v=t.children,b=0,w=0,M=v.length,C=t.value;b<M;){s=a-n,c=i-r;do{d=v[w++].value}while(!d&&w<M);for(h=u=d,m=d*d*(g=Math.max(c/s,s/c)/(C*e)),f=Math.max(u/m,m/h);w<M;++w){if(d+=o=v[w].value,o<h&&(h=o),o>u&&(u=o),m=d*d*g,(p=Math.max(u/m,m/h))>f){d-=o;break}f=p}y.push(l={value:d,dice:s<c,children:v.slice(b,w)}),l.dice?x(l,n,r,a,C?r+=c*d/C:i):S(l,n,r,C?n+=s*d/C:a,i),C-=d,b=w}}(t,e,n,r,a,i)}return n.ratio=function(t){return e((t=+t)>1?t:1)},n}((1+Math.sqrt(5))/2);var w,M=(w=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=r.b,this.getAccTitle=r.a,this.setDiagramTitle=r.q,this.getDiagramTitle=r.t,this.getAccDescription=r.g,this.setAccDescription=r.s}getNodes(){return this.nodes}getConfig(){const e=r.H,t=(0,r.G)();return(0,r.F)({...e.treemap,...t.treemap??{}})}addNode(e,t){this.nodes.push(e),this.levels.set(e,t),0===t&&(this.outerNodes.push(e),this.root??(this.root=e))}getRoot(){return{name:"",children:this.outerNodes}}addClass(e,t){const n=this.classes.get(e)??{id:e,styles:[],textStyles:[]},a=t.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");a&&a.forEach(e=>{(0,r.a_)(e)&&(null!=n&&n.textStyles?n.textStyles.push(e):n.textStyles=[e]),null!=n&&n.styles?n.styles.push(e):n.styles=[e]}),this.classes.set(e,n)}getClasses(){return this.classes}getStylesForClass(e){var t;return(null==(t=this.classes.get(e))?void 0:t.styles)??[]}clear(){(0,r.z)(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}},(0,r._)(w,"TreeMapDB"),w);function C(e){if(!e.length)return[];const t=[],n=[];return e.forEach(e=>{const r={name:e.name,children:"Leaf"===e.type?void 0:[]};for(r.classSelector=null==e?void 0:e.classSelector,null!=e&&e.cssCompiledStyles&&(r.cssCompiledStyles=[e.cssCompiledStyles]),"Leaf"===e.type&&void 0!==e.value&&(r.value=e.value);n.length>0&&n[n.length-1].level>=e.level;)n.pop();if(0===n.length)t.push(r);else{const e=n[n.length-1].node;e.children?e.children.push(r):e.children=[r]}"Leaf"!==e.type&&n.push({node:r,level:e.level})}),t}(0,r._)(C,"buildHierarchy");var $=(0,r._)((e,t)=>{(0,i.p)(e,t);const n=[];for(const n of e.TreemapRows??[])"ClassDefStatement"===n.$type&&t.addClass(n.className??"",n.styleText??"");for(const r of e.TreemapRows??[]){const e=r.item;if(!e)continue;const a=r.indent?parseInt(r.indent):0,i=k(e),l=e.classSelector?t.getStylesForClass(e.classSelector):[],o=l.length>0?l.join(";"):void 0,s={level:a,name:i,type:e.$type,value:e.value,classSelector:e.classSelector,cssCompiledStyles:o};n.push(s)}const a=C(n),l=(0,r._)((e,n)=>{for(const r of e)t.addNode(r,n),r.children&&r.children.length>0&&l(r.children,n+1)},"addNodesRecursively");l(a,0)},"populate"),k=(0,r._)(e=>e.name?String(e.name):"","getItemName"),L={parser:{yy:void 0},parse:(0,r._)(async e=>{var t;try{const n=await(0,l.p)("treemap",e);r.l.debug("Treemap AST:",n);const a=null==(t=L.parser)?void 0:t.yy;if(!(a instanceof M))throw new Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");$(n,a)}catch(e){throw r.l.error("Error parsing treemap:",e),e}},"parse")},T={draw:(0,r._)((e,t,n,i)=>{const l=i.db,c=l.getConfig(),h=c.padding??10,u=l.getDiagramTitle(),p=l.getRoot(),{themeVariables:f}=(0,r.G)();if(!p)return;const g=u?30:0,x=(0,r.K)(t),S=c.nodeWidth?10*c.nodeWidth:960,w=c.nodeHeight?10*c.nodeHeight:500,M=S,C=w+g;let $;x.attr("viewBox",`0 0 ${M} ${C}`),(0,r.e)(x,C,M,c.useMaxWidth);try{const e=c.valueFormat||",";if("$0,0"===e)$=(0,r._)(e=>"$"+(0,o.b)(",")(e),"valueFormat");else if(e.startsWith("$")&&e.includes(",")){const t=/\.\d+/.exec(e),n=t?t[0]:"";$=(0,r._)(e=>"$"+(0,o.b)(","+n)(e),"valueFormat")}else if(e.startsWith("$")){const t=e.substring(1);$=(0,r._)(e=>"$"+(0,o.b)(t||"")(e),"valueFormat")}else $=(0,o.b)(e)}catch(e){r.l.error("Error creating format function:",e),$=(0,o.b)(",")}const k=(0,s.o)().range(["transparent",f.cScale0,f.cScale1,f.cScale2,f.cScale3,f.cScale4,f.cScale5,f.cScale6,f.cScale7,f.cScale8,f.cScale9,f.cScale10,f.cScale11]),L=(0,s.o)().range(["transparent",f.cScalePeer0,f.cScalePeer1,f.cScalePeer2,f.cScalePeer3,f.cScalePeer4,f.cScalePeer5,f.cScalePeer6,f.cScalePeer7,f.cScalePeer8,f.cScalePeer9,f.cScalePeer10,f.cScalePeer11]),T=(0,s.o)().range([f.cScaleLabel0,f.cScaleLabel1,f.cScaleLabel2,f.cScaleLabel3,f.cScaleLabel4,f.cScaleLabel5,f.cScaleLabel6,f.cScaleLabel7,f.cScaleLabel8,f.cScaleLabel9,f.cScaleLabel10,f.cScaleLabel11]);u&&x.append("text").attr("x",M/2).attr("y",g/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(u);const z=x.append("g").attr("transform",`translate(0, ${g})`).attr("class","treemapContainer"),_=d(p).sum(e=>e.value??0).sort((e,t)=>(t.value??0)-(e.value??0)),A=function(){var e=b,t=!1,n=1,r=1,a=[0],i=m,l=m,o=m,s=m,c=m;function d(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(h),a=[0],t&&e.eachBefore(v),e}function h(t){var n=a[t.depth],r=t.x0+n,d=t.y0+n,h=t.x1-n,u=t.y1-n;h<r&&(r=h=(r+h)/2),u<d&&(d=u=(d+u)/2),t.x0=r,t.y0=d,t.x1=h,t.y1=u,t.children&&(n=a[t.depth+1]=i(t)/2,r+=c(t)-n,d+=l(t)-n,(h-=o(t)-n)<r&&(r=h=(r+h)/2),(u-=s(t)-n)<d&&(d=u=(d+u)/2),e(t,r,d,h,u))}return d.round=function(e){return arguments.length?(t=!!e,d):t},d.size=function(e){return arguments.length?(n=+e[0],r=+e[1],d):[n,r]},d.tile=function(t){return arguments.length?(e=function(e){if("function"!=typeof e)throw new Error;return e}(t),d):e},d.padding=function(e){return arguments.length?d.paddingInner(e).paddingOuter(e):d.paddingInner()},d.paddingInner=function(e){return arguments.length?(i="function"==typeof e?e:y(+e),d):i},d.paddingOuter=function(e){return arguments.length?d.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e):d.paddingTop()},d.paddingTop=function(e){return arguments.length?(l="function"==typeof e?e:y(+e),d):l},d.paddingRight=function(e){return arguments.length?(o="function"==typeof e?e:y(+e),d):o},d.paddingBottom=function(e){return arguments.length?(s="function"==typeof e?e:y(+e),d):s},d.paddingLeft=function(e){return arguments.length?(c="function"==typeof e?e:y(+e),d):c},d}().size([S,w]).paddingTop(e=>e.children&&e.children.length>0?35:0).paddingInner(h).paddingLeft(e=>e.children&&e.children.length>0?10:0).paddingRight(e=>e.children&&e.children.length>0?10:0).paddingBottom(e=>e.children&&e.children.length>0?10:0).round(!0)(_),F=A.descendants().filter(e=>e.children&&e.children.length>0),P=z.selectAll(".treemapSection").data(F).enter().append("g").attr("class","treemapSection").attr("transform",e=>`translate(${e.x0},${e.y0})`);P.append("rect").attr("width",e=>e.x1-e.x0).attr("height",25).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",.6).attr("stroke-width",.6).attr("style",e=>0===e.depth?"display: none;":""),P.append("clipPath").attr("id",(e,n)=>`clip-section-${t}-${n}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-12)).attr("height",25),P.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class",(e,t)=>`treemapSection section${t}`).attr("fill",e=>k(e.data.name)).attr("fill-opacity",.6).attr("stroke",e=>L(e.data.name)).attr("stroke-width",2).attr("stroke-opacity",.4).attr("style",e=>{if(0===e.depth)return"display: none;";const t=(0,r.aZ)({cssCompiledStyles:e.data.cssCompiledStyles});return t.nodeStyles+";"+t.borderStyles.join(";")}),P.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",12.5).attr("dominant-baseline","middle").text(e=>0===e.depth?"":e.data.name).attr("font-weight","bold").attr("style",e=>0===e.depth?"display: none;":"dominant-baseline: middle; font-size: 12px; fill:"+T(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;"+(0,r.aZ)({cssCompiledStyles:e.data.cssCompiledStyles}).labelStyles.replace("color:","fill:")).each(function(e){if(0===e.depth)return;const t=(0,r.d)(this),n=e.data.name;t.text(n);const a=e.x1-e.x0;let i;i=!1!==c.showValues&&e.value?a-10-30-10-6:a-6-6;const l=Math.max(15,i),o=t.node();if(o.getComputedTextLength()>l){const e="...";let r=n;for(;r.length>0;){if(r=n.substring(0,r.length-1),0===r.length){t.text(e),o.getComputedTextLength()>l&&t.text("");break}if(t.text(r+e),o.getComputedTextLength()<=l)break}}}),!1!==c.showValues&&P.append("text").attr("class","treemapSectionValue").attr("x",e=>e.x1-e.x0-10).attr("y",12.5).attr("text-anchor","end").attr("dominant-baseline","middle").text(e=>e.value?$(e.value):"").attr("font-style","italic").attr("style",e=>0===e.depth?"display: none;":"text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+T(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;"+(0,r.aZ)({cssCompiledStyles:e.data.cssCompiledStyles}).labelStyles.replace("color:","fill:"));const N=A.leaves(),B=z.selectAll(".treemapLeafGroup").data(N).enter().append("g").attr("class",(e,t)=>`treemapNode treemapLeafGroup leaf${t}${e.data.classSelector?` ${e.data.classSelector}`:""}x`).attr("transform",e=>`translate(${e.x0},${e.y0})`);B.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class","treemapLeaf").attr("fill",e=>e.parent?k(e.parent.data.name):k(e.data.name)).attr("style",e=>(0,r.aZ)({cssCompiledStyles:e.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",.3).attr("stroke",e=>e.parent?k(e.parent.data.name):k(e.data.name)).attr("stroke-width",3),B.append("clipPath").attr("id",(e,n)=>`clip-${t}-${n}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-4)).attr("height",e=>Math.max(0,e.y1-e.y0-4)),B.append("text").attr("class","treemapLabel").attr("x",e=>(e.x1-e.x0)/2).attr("y",e=>(e.y1-e.y0)/2).attr("style",e=>"text-anchor: middle; dominant-baseline: middle; font-size: 38px;fill:"+T(e.data.name)+";"+(0,r.aZ)({cssCompiledStyles:e.data.cssCompiledStyles}).labelStyles.replace("color:","fill:")).attr("clip-path",(e,n)=>`url(#clip-${t}-${n})`).text(e=>e.data.name).each(function(e){const t=(0,r.d)(this),n=e.x1-e.x0,a=e.y1-e.y0,i=t.node(),l=n-8,o=a-8;if(l<10||o<10)return void t.style("display","none");let s=parseInt(t.style("font-size"),10);for(;i.getComputedTextLength()>l&&s>8;)s--,t.style("font-size",`${s}px`);let c=Math.max(6,Math.min(28,Math.round(.6*s))),d=s+2+c;for(;d>o&&s>8&&(s--,c=Math.max(6,Math.min(28,Math.round(.6*s))),!(c<6&&8===s));)t.style("font-size",`${s}px`),d=s+2+c;t.style("font-size",`${s}px`),(i.getComputedTextLength()>l||s<8||o<s)&&t.style("display","none")}),!1!==c.showValues&&B.append("text").attr("class","treemapValue").attr("x",e=>(e.x1-e.x0)/2).attr("y",function(e){return(e.y1-e.y0)/2}).attr("style",e=>"text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:"+T(e.data.name)+";"+(0,r.aZ)({cssCompiledStyles:e.data.cssCompiledStyles}).labelStyles.replace("color:","fill:")).attr("clip-path",(e,n)=>`url(#clip-${t}-${n})`).text(e=>e.value?$(e.value):"").each(function(e){const t=(0,r.d)(this),n=this.parentNode;if(!n)return void t.style("display","none");const a=(0,r.d)(n).select(".treemapLabel");if(a.empty()||"none"===a.style("display"))return void t.style("display","none");const i=parseFloat(a.style("font-size")),l=Math.max(6,Math.min(28,Math.round(.6*i)));t.style("font-size",`${l}px`);const o=(e.y1-e.y0)/2+i/2+2;t.attr("y",o);const s=e.x1-e.x0,c=e.y1-e.y0-4,d=s-8;t.node().getComputedTextLength()>d||o+l>c||l<6?t.style("display","none"):t.style("display",null)});const D=c.diagramPadding??8;(0,a.s)(x,D,"flowchart",(null==c?void 0:c.useMaxWidth)||!1)},"draw"),getClasses:(0,r._)(function(e,t){return t.db.getClasses()},"getClasses")},z={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelColor:"black",labelFontSize:"12px",valueFontSize:"10px",valueColor:"black",titleColor:"black",titleFontSize:"14px"},_=(0,r._)(({treemap:e}={})=>{const t=(0,r.F)(z,e);return`\n .treemapNode.section {\n stroke: ${t.sectionStrokeColor};\n stroke-width: ${t.sectionStrokeWidth};\n fill: ${t.sectionFillColor};\n }\n .treemapNode.leaf {\n stroke: ${t.leafStrokeColor};\n stroke-width: ${t.leafStrokeWidth};\n fill: ${t.leafFillColor};\n }\n .treemapLabel {\n fill: ${t.labelColor};\n font-size: ${t.labelFontSize};\n }\n .treemapValue {\n fill: ${t.valueColor};\n font-size: ${t.valueFontSize};\n }\n .treemapTitle {\n fill: ${t.titleColor};\n font-size: ${t.titleFontSize};\n }\n `},"getStyles"),A={parser:L,get db(){return new M},renderer:T,styles:_}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkruncell=self.webpackChunkruncell||[]).push([[7440],{67440:(t,e,i)=>{i.r(e),i.d(e,{render:()=>m});var r,n,o,s=i(43340),a=i(56030),h=i(31217),l={exports:{}},g={exports:{}},u={exports:{}};function c(){return r||(r=1,u.exports=function(t){var e={};function i(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=26)}([function(t,e,i){function r(){}r.QUALITY=1,r.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,r.DEFAULT_INCREMENTAL=!1,r.DEFAULT_ANIMATION_ON_LAYOUT=!0,r.DEFAULT_ANIMATION_DURING_LAYOUT=!1,r.DEFAULT_ANIMATION_PERIOD=50,r.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,r.DEFAULT_GRAPH_MARGIN=15,r.NODE_DIMENSIONS_INCLUDE_LABELS=!1,r.SIMPLE_NODE_SIZE=40,r.SIMPLE_NODE_HALF_SIZE=r.SIMPLE_NODE_SIZE/2,r.EMPTY_COMPOUND_NODE_SIZE=40,r.MIN_EDGE_LENGTH=1,r.WORLD_BOUNDARY=1e6,r.INITIAL_WORLD_BOUNDARY=r.WORLD_BOUNDARY/1e3,r.WORLD_CENTER_X=1200,r.WORLD_CENTER_Y=900,t.exports=r},function(t,e,i){var r=i(2),n=i(8),o=i(9);function s(t,e,i){r.call(this,i),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=i,this.bendpoints=[],this.source=t,this.target=e}for(var a in s.prototype=Object.create(r.prototype),r)s[a]=r[a];s.prototype.getSource=function(){return this.source},s.prototype.getTarget=function(){return this.target},s.prototype.isInterGraph=function(){return this.isInterGraph},s.prototype.getLength=function(){return this.length},s.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},s.prototype.getBendpoints=function(){return this.bendpoints},s.prototype.getLca=function(){return this.lca},s.prototype.getSourceInLca=function(){return this.sourceInLca},s.prototype.getTargetInLca=function(){return this.targetInLca},s.prototype.getOtherEnd=function(t){if(this.source===t)return this.target;if(this.target===t)return this.source;throw"Node is not incident with this edge"},s.prototype.getOtherEndInGraph=function(t,e){for(var i=this.getOtherEnd(t),r=e.getGraphManager().getRoot();;){if(i.getOwner()==e)return i;if(i.getOwner()==r)break;i=i.getOwner().getParent()}return null},s.prototype.updateLength=function(){var t=new Array(4);this.isOverlapingSourceAndTarget=n.getIntersection(this.target.getRect(),this.source.getRect(),t),this.isOverlapingSourceAndTarget||(this.lengthX=t[0]-t[2],this.lengthY=t[1]-t[3],Math.abs(this.lengthX)<1&&(this.lengthX=o.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},s.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=o.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=s},function(t,e,i){t.exports=function(t){this.vGraphObject=t}},function(t,e,i){var r=i(2),n=i(10),o=i(13),s=i(0),a=i(16),h=i(4);function l(t,e,i,s){null==i&&null==s&&(s=e),r.call(this,s),null!=t.graphManager&&(t=t.graphManager),this.estimatedSize=n.MIN_VALUE,this.inclusionTreeDepth=n.MAX_VALUE,this.vGraphObject=s,this.edges=[],this.graphManager=t,this.rect=null!=i&&null!=e?new o(e.x,e.y,i.width,i.height):new o}for(var g in l.prototype=Object.create(r.prototype),r)l[g]=r[g];l.prototype.getEdges=function(){return this.edges},l.prototype.getChild=function(){return this.child},l.prototype.getOwner=function(){return this.owner},l.prototype.getWidth=function(){return this.rect.width},l.prototype.setWidth=function(t){this.rect.width=t},l.prototype.getHeight=function(){return this.rect.height},l.prototype.setHeight=function(t){this.rect.height=t},l.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},l.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},l.prototype.getCenter=function(){return new h(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},l.prototype.getLocation=function(){return new h(this.rect.x,this.rect.y)},l.prototype.getRect=function(){return this.rect},l.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},l.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},l.prototype.setRect=function(t,e){this.rect.x=t.x,this.rect.y=t.y,this.rect.width=e.width,this.rect.height=e.height},l.prototype.setCenter=function(t,e){this.rect.x=t-this.rect.width/2,this.rect.y=e-this.rect.height/2},l.prototype.setLocation=function(t,e){this.rect.x=t,this.rect.y=e},l.prototype.moveBy=function(t,e){this.rect.x+=t,this.rect.y+=e},l.prototype.getEdgeListToNode=function(t){var e=[],i=this;return i.edges.forEach(function(r){if(r.target==t){if(r.source!=i)throw"Incorrect edge source!";e.push(r)}}),e},l.prototype.getEdgesBetween=function(t){var e=[],i=this;return i.edges.forEach(function(r){if(r.source!=i&&r.target!=i)throw"Incorrect edge source and/or target";(r.target==t||r.source==t)&&e.push(r)}),e},l.prototype.getNeighborsList=function(){var t=new Set,e=this;return e.edges.forEach(function(i){if(i.source==e)t.add(i.target);else{if(i.target!=e)throw"Incorrect incidency!";t.add(i.source)}}),t},l.prototype.withChildren=function(){var t=new Set;if(t.add(this),null!=this.child)for(var e=this.child.getNodes(),i=0;i<e.length;i++)e[i].withChildren().forEach(function(e){t.add(e)});return t},l.prototype.getNoOfChildren=function(){var t=0;if(null==this.child)t=1;else for(var e=this.child.getNodes(),i=0;i<e.length;i++)t+=e[i].getNoOfChildren();return 0==t&&(t=1),t},l.prototype.getEstimatedSize=function(){if(this.estimatedSize==n.MIN_VALUE)throw"assert failed";return this.estimatedSize},l.prototype.calcEstimatedSize=function(){return null==this.child?this.estimatedSize=(this.rect.width+this.rect.height)/2:(this.estimatedSize=this.child.calcEstimatedSize(),this.rect.width=this.estimatedSize,this.rect.height=this.estimatedSize,this.estimatedSize)},l.prototype.scatter=function(){var t,e,i=-s.INITIAL_WORLD_BOUNDARY,r=s.INITIAL_WORLD_BOUNDARY;t=s.WORLD_CENTER_X+a.nextDouble()*(r-i)+i;var n=-s.INITIAL_WORLD_BOUNDARY,o=s.INITIAL_WORLD_BOUNDARY;e=s.WORLD_CENTER_Y+a.nextDouble()*(o-n)+n,this.rect.x=t,this.rect.y=e},l.prototype.updateBounds=function(){if(null==this.getChild())throw"assert failed";if(0!=this.getChild().getNodes().length){var t=this.getChild();if(t.updateBounds(!0),this.rect.x=t.getLeft(),this.rect.y=t.getTop(),this.setWidth(t.getRight()-t.getLeft()),this.setHeight(t.getBottom()-t.getTop()),s.NODE_DIMENSIONS_INCLUDE_LABELS){var e=t.getRight()-t.getLeft(),i=t.getBottom()-t.getTop();this.labelWidth>e&&(this.rect.x-=(this.labelWidth-e)/2,this.setWidth(this.labelWidth)),this.labelHeight>i&&("center"==this.labelPos?this.rect.y-=(this.labelHeight-i)/2:"top"==this.labelPos&&(this.rect.y-=this.labelHeight-i),this.setHeight(this.labelHeight))}}},l.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==n.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},l.prototype.transform=function(t){var e=this.rect.x;e>s.WORLD_BOUNDARY?e=s.WORLD_BOUNDARY:e<-s.WORLD_BOUNDARY&&(e=-s.WORLD_BOUNDARY);var i=this.rect.y;i>s.WORLD_BOUNDARY?i=s.WORLD_BOUNDARY:i<-s.WORLD_BOUNDARY&&(i=-s.WORLD_BOUNDARY);var r=new h(e,i),n=t.inverseTransformPoint(r);this.setLocation(n.x,n.y)},l.prototype.getLeft=function(){return this.rect.x},l.prototype.getRight=function(){return this.rect.x+this.rect.width},l.prototype.getTop=function(){return this.rect.y},l.prototype.getBottom=function(){return this.rect.y+this.rect.height},l.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},t.exports=l},function(t,e,i){function r(t,e){null==t&&null==e?(this.x=0,this.y=0):(this.x=t,this.y=e)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(t){this.x=t},r.prototype.setY=function(t){this.y=t},r.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},t.exports=r},function(t,e,i){var r=i(2),n=i(10),o=i(0),s=i(6),a=i(3),h=i(1),l=i(13),g=i(12),u=i(11);function c(t,e,i){r.call(this,i),this.estimatedSize=n.MIN_VALUE,this.margin=o.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=t,null!=e&&e instanceof s?this.graphManager=e:null!=e&&e instanceof Layout&&(this.graphManager=e.graphManager)}for(var d in c.prototype=Object.create(r.prototype),r)c[d]=r[d];c.prototype.getNodes=function(){return this.nodes},c.prototype.getEdges=function(){return this.edges},c.prototype.getGraphManager=function(){return this.graphManager},c.prototype.getParent=function(){return this.parent},c.prototype.getLeft=function(){return this.left},c.prototype.getRight=function(){return this.right},c.prototype.getTop=function(){return this.top},c.prototype.getBottom=function(){return this.bottom},c.prototype.isConnected=function(){return this.isConnected},c.prototype.add=function(t,e,i){if(null==e&&null==i){var r=t;if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(r)>-1)throw"Node already in graph!";return r.owner=this,this.getNodes().push(r),r}var n=t;if(!(this.getNodes().indexOf(e)>-1&&this.getNodes().indexOf(i)>-1))throw"Source or target not in graph!";if(e.owner!=i.owner||e.owner!=this)throw"Both owners must be this graph!";return e.owner!=i.owner?null:(n.source=e,n.target=i,n.isInterGraph=!1,this.getEdges().push(n),e.edges.push(n),i!=e&&i.edges.push(n),n)},c.prototype.remove=function(t){var e=t;if(t instanceof a){if(null==e)throw"Node is null!";if(null==e.owner||e.owner!=this)throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var i=e.edges.slice(),r=i.length,n=0;n<r;n++)(o=i[n]).isInterGraph?this.graphManager.remove(o):o.source.owner.remove(o);if(-1==(s=this.nodes.indexOf(e)))throw"Node not in owner node list!";this.nodes.splice(s,1)}else if(t instanceof h){var o;if(null==(o=t))throw"Edge is null!";if(null==o.source||null==o.target)throw"Source and/or target is null!";if(null==o.source.owner||null==o.target.owner||o.source.owner!=this||o.target.owner!=this)throw"Source and/or target owner is invalid!";var s,l=o.source.edges.indexOf(o),g=o.target.edges.indexOf(o);if(!(l>-1&&g>-1))throw"Source and/or target doesn't know this edge!";if(o.source.edges.splice(l,1),o.target!=o.source&&o.target.edges.splice(g,1),-1==(s=o.source.owner.getEdges().indexOf(o)))throw"Not in owner's edge list!";o.source.owner.getEdges().splice(s,1)}},c.prototype.updateLeftTop=function(){for(var t,e,i,r=n.MAX_VALUE,o=n.MAX_VALUE,s=this.getNodes(),a=s.length,h=0;h<a;h++){var l=s[h];r>(t=l.getTop())&&(r=t),o>(e=l.getLeft())&&(o=e)}return r==n.MAX_VALUE?null:(i=null!=s[0].getParent().paddingLeft?s[0].getParent().paddingLeft:this.margin,this.left=o-i,this.top=r-i,new g(this.left,this.top))},c.prototype.updateBounds=function(t){for(var e,i,r,o,s,a=n.MAX_VALUE,h=-n.MAX_VALUE,g=n.MAX_VALUE,u=-n.MAX_VALUE,c=this.nodes,d=c.length,p=0;p<d;p++){var f=c[p];t&&null!=f.child&&f.updateBounds(),a>(e=f.getLeft())&&(a=e),h<(i=f.getRight())&&(h=i),g>(r=f.getTop())&&(g=r),u<(o=f.getBottom())&&(u=o)}var y=new l(a,g,h-a,u-g);a==n.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),s=null!=c[0].getParent().paddingLeft?c[0].getParent().paddingLeft:this.margin,this.left=y.x-s,this.right=y.x+y.width+s,this.top=y.y-s,this.bottom=y.y+y.height+s},c.calculateBounds=function(t){for(var e,i,r,o,s=n.MAX_VALUE,a=-n.MAX_VALUE,h=n.MAX_VALUE,g=-n.MAX_VALUE,u=t.length,c=0;c<u;c++){var d=t[c];s>(e=d.getLeft())&&(s=e),a<(i=d.getRight())&&(a=i),h>(r=d.getTop())&&(h=r),g<(o=d.getBottom())&&(g=o)}return new l(s,h,a-s,g-h)},c.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},c.prototype.getEstimatedSize=function(){if(this.estimatedSize==n.MIN_VALUE)throw"assert failed";return this.estimatedSize},c.prototype.calcEstimatedSize=function(){for(var t=0,e=this.nodes,i=e.length,r=0;r<i;r++)t+=e[r].calcEstimatedSize();return this.estimatedSize=0==t?o.EMPTY_COMPOUND_NODE_SIZE:t/Math.sqrt(this.nodes.length),this.estimatedSize},c.prototype.updateConnected=function(){var t=this;if(0!=this.nodes.length){var e,i,r=new u,n=new Set,o=this.nodes[0];for(o.withChildren().forEach(function(t){r.push(t),n.add(t)});0!==r.length;)for(var s=(e=(o=r.shift()).getEdges()).length,a=0;a<s;a++)null==(i=e[a].getOtherEndInGraph(o,this))||n.has(i)||i.withChildren().forEach(function(t){r.push(t),n.add(t)});if(this.isConnected=!1,n.size>=this.nodes.length){var h=0;n.forEach(function(e){e.owner==t&&h++}),h==this.nodes.length&&(this.isConnected=!0)}}else this.isConnected=!0},t.exports=c},function(t,e,i){var r,n=i(1);function o(t){r=i(5),this.layout=t,this.graphs=[],this.edges=[]}o.prototype.addRoot=function(){var t=this.layout.newGraph(),e=this.layout.newNode(null),i=this.add(t,e);return this.setRootGraph(i),this.rootGraph},o.prototype.add=function(t,e,i,r,n){if(null==i&&null==r&&null==n){if(null==t)throw"Graph is null!";if(null==e)throw"Parent node is null!";if(this.graphs.indexOf(t)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(t),null!=t.parent)throw"Already has a parent!";if(null!=e.child)throw"Already has a child!";return t.parent=e,e.child=t,t}n=i,i=t;var o=(r=e).getOwner(),s=n.getOwner();if(null==o||o.getGraphManager()!=this)throw"Source not in this graph mgr!";if(null==s||s.getGraphManager()!=this)throw"Target not in this graph mgr!";if(o==s)return i.isInterGraph=!1,o.add(i,r,n);if(i.isInterGraph=!0,i.source=r,i.target=n,this.edges.indexOf(i)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(i),null==i.source||null==i.target)throw"Edge source and/or target is null!";if(-1!=i.source.edges.indexOf(i)||-1!=i.target.edges.indexOf(i))throw"Edge already in source and/or target incidency list!";return i.source.edges.push(i),i.target.edges.push(i),i},o.prototype.remove=function(t){if(t instanceof r){var e=t;if(e.getGraphManager()!=this)throw"Graph not in this graph mgr";if(e!=this.rootGraph&&(null==e.parent||e.parent.graphManager!=this))throw"Invalid parent node!";for(var i,o=[],s=(o=o.concat(e.getEdges())).length,a=0;a<s;a++)i=o[a],e.remove(i);var h,l=[];for(s=(l=l.concat(e.getNodes())).length,a=0;a<s;a++)h=l[a],e.remove(h);e==this.rootGraph&&this.setRootGraph(null);var g=this.graphs.indexOf(e);this.graphs.splice(g,1),e.parent=null}else if(t instanceof n){if(null==(i=t))throw"Edge is null!";if(!i.isInterGraph)throw"Not an inter-graph edge!";if(null==i.source||null==i.target)throw"Source and/or target is null!";if(-1==i.source.edges.indexOf(i)||-1==i.target.edges.indexOf(i))throw"Source and/or target doesn't know this edge!";if(g=i.source.edges.indexOf(i),i.source.edges.splice(g,1),g=i.target.edges.indexOf(i),i.target.edges.splice(g,1),null==i.source.owner||null==i.source.owner.getGraphManager())throw"Edge owner graph or owner graph manager is null!";if(-1==i.source.owner.getGraphManager().edges.indexOf(i))throw"Not in owner graph manager's edge list!";g=i.source.owner.getGraphManager().edges.indexOf(i),i.source.owner.getGraphManager().edges.splice(g,1)}},o.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0)},o.prototype.getGraphs=function(){return this.graphs},o.prototype.getAllNodes=function(){if(null==this.allNodes){for(var t=[],e=this.getGraphs(),i=e.length,r=0;r<i;r++)t=t.concat(e[r].getNodes());this.allNodes=t}return this.allNodes},o.prototype.resetAllNodes=function(){this.allNodes=null},o.prototype.resetAllEdges=function(){this.allEdges=null},o.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null},o.prototype.getAllEdges=function(){if(null==this.allEdges){var t=[],e=this.getGraphs();e.length;for(var i=0;i<e.length;i++)t=t.concat(e[i].getEdges());t=t.concat(this.edges),this.allEdges=t}return this.allEdges},o.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},o.prototype.setAllNodesToApplyGravitation=function(t){if(null!=this.allNodesToApplyGravitation)throw"assert failed";this.allNodesToApplyGravitation=t},o.prototype.getRoot=function(){return this.rootGraph},o.prototype.setRootGraph=function(t){if(t.getGraphManager()!=this)throw"Root not in this graph mgr!";this.rootGraph=t,null==t.parent&&(t.parent=this.layout.newNode("Root node"))},o.prototype.getLayout=function(){return this.layout},o.prototype.isOneAncestorOfOther=function(t,e){if(null==t||null==e)throw"assert failed";if(t==e)return!0;for(var i,r=t.getOwner();null!=(i=r.getParent());){if(i==e)return!0;if(null==(r=i.getOwner()))break}for(r=e.getOwner();null!=(i=r.getParent());){if(i==t)return!0;if(null==(r=i.getOwner()))break}return!1},o.prototype.calcLowestCommonAncestors=function(){for(var t,e,i,r,n,o=this.getAllEdges(),s=o.length,a=0;a<s;a++)if(e=(t=o[a]).source,i=t.target,t.lca=null,t.sourceInLca=e,t.targetInLca=i,e!=i){for(r=e.getOwner();null==t.lca;){for(t.targetInLca=i,n=i.getOwner();null==t.lca;){if(n==r){t.lca=n;break}if(n==this.rootGraph)break;if(null!=t.lca)throw"assert failed";t.targetInLca=n.getParent(),n=t.targetInLca.getOwner()}if(r==this.rootGraph)break;null==t.lca&&(t.sourceInLca=r.getParent(),r=t.sourceInLca.getOwner())}if(null==t.lca)throw"assert failed"}else t.lca=e.getOwner()},o.prototype.calcLowestCommonAncestor=function(t,e){if(t==e)return t.getOwner();for(var i=t.getOwner();null!=i;){for(var r=e.getOwner();null!=r;){if(r==i)return r;r=r.getParent().getOwner()}i=i.getParent().getOwner()}return i},o.prototype.calcInclusionTreeDepths=function(t,e){null==t&&null==e&&(t=this.rootGraph,e=1);for(var i,r=t.getNodes(),n=r.length,o=0;o<n;o++)(i=r[o]).inclusionTreeDepth=e,null!=i.child&&this.calcInclusionTreeDepths(i.child,e+1)},o.prototype.includesInvalidEdge=function(){for(var t,e=this.edges.length,i=0;i<e;i++)if(t=this.edges[i],this.isOneAncestorOfOther(t.source,t.target))return!0;return!1},t.exports=o},function(t,e,i){var r=i(0);function n(){}for(var o in r)n[o]=r[o];n.MAX_ITERATIONS=2500,n.DEFAULT_EDGE_LENGTH=50,n.DEFAULT_SPRING_STRENGTH=.45,n.DEFAULT_REPULSION_STRENGTH=4500,n.DEFAULT_GRAVITY_STRENGTH=.4,n.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,n.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,n.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,n.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,n.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,n.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,n.COOLING_ADAPTATION_FACTOR=.33,n.ADAPTATION_LOWER_NODE_LIMIT=1e3,n.ADAPTATION_UPPER_NODE_LIMIT=5e3,n.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,n.MAX_NODE_DISPLACEMENT=3*n.MAX_NODE_DISPLACEMENT_INCREMENTAL,n.MIN_REPULSION_DIST=n.DEFAULT_EDGE_LENGTH/10,n.CONVERGENCE_CHECK_PERIOD=100,n.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,n.MIN_EDGE_LENGTH=1,n.GRID_CALCULATION_CHECK_PERIOD=10,t.exports=n},function(t,e,i){var r=i(12);function n(){}n.calcSeparationAmount=function(t,e,i,r){if(!t.intersects(e))throw"assert failed";var n=new Array(2);this.decideDirectionsForOverlappingNodes(t,e,n),i[0]=Math.min(t.getRight(),e.getRight())-Math.max(t.x,e.x),i[1]=Math.min(t.getBottom(),e.getBottom())-Math.max(t.y,e.y),t.getX()<=e.getX()&&t.getRight()>=e.getRight()?i[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight()):e.getX()<=t.getX()&&e.getRight()>=t.getRight()&&(i[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight())),t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()?i[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()):e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()&&(i[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()));var o=Math.abs((e.getCenterY()-t.getCenterY())/(e.getCenterX()-t.getCenterX()));e.getCenterY()===t.getCenterY()&&e.getCenterX()===t.getCenterX()&&(o=1);var s=o*i[0],a=i[1]/o;i[0]<a?a=i[0]:s=i[1],i[0]=-1*n[0]*(a/2+r),i[1]=-1*n[1]*(s/2+r)},n.decideDirectionsForOverlappingNodes=function(t,e,i){t.getCenterX()<e.getCenterX()?i[0]=-1:i[0]=1,t.getCenterY()<e.getCenterY()?i[1]=-1:i[1]=1},n.getIntersection2=function(t,e,i){var r=t.getCenterX(),n=t.getCenterY(),o=e.getCenterX(),s=e.getCenterY();if(t.intersects(e))return i[0]=r,i[1]=n,i[2]=o,i[3]=s,!0;var a=t.getX(),h=t.getY(),l=t.getRight(),g=t.getX(),u=t.getBottom(),c=t.getRight(),d=t.getWidthHalf(),p=t.getHeightHalf(),f=e.getX(),y=e.getY(),E=e.getRight(),v=e.getX(),A=e.getBottom(),N=e.getRight(),T=e.getWidthHalf(),_=e.getHeightHalf(),L=!1,m=!1;if(r===o){if(n>s)return i[0]=r,i[1]=h,i[2]=o,i[3]=A,!1;if(n<s)return i[0]=r,i[1]=u,i[2]=o,i[3]=y,!1}else if(n===s){if(r>o)return i[0]=a,i[1]=n,i[2]=E,i[3]=s,!1;if(r<o)return i[0]=l,i[1]=n,i[2]=f,i[3]=s,!1}else{var O=t.height/t.width,I=e.height/e.width,D=(s-n)/(o-r),w=void 0,R=void 0,C=void 0,M=void 0,G=void 0,x=void 0;if(-O===D?r>o?(i[0]=g,i[1]=u,L=!0):(i[0]=l,i[1]=h,L=!0):O===D&&(r>o?(i[0]=a,i[1]=h,L=!0):(i[0]=c,i[1]=u,L=!0)),-I===D?o>r?(i[2]=v,i[3]=A,m=!0):(i[2]=E,i[3]=y,m=!0):I===D&&(o>r?(i[2]=f,i[3]=y,m=!0):(i[2]=N,i[3]=A,m=!0)),L&&m)return!1;if(r>o?n>s?(w=this.getCardinalDirection(O,D,4),R=this.getCardinalDirection(I,D,2)):(w=this.getCardinalDirection(-O,D,3),R=this.getCardinalDirection(-I,D,1)):n>s?(w=this.getCardinalDirection(-O,D,1),R=this.getCardinalDirection(-I,D,3)):(w=this.getCardinalDirection(O,D,2),R=this.getCardinalDirection(I,D,4)),!L)switch(w){case 1:M=h,C=r+-p/D,i[0]=C,i[1]=M;break;case 2:C=c,M=n+d*D,i[0]=C,i[1]=M;break;case 3:M=u,C=r+p/D,i[0]=C,i[1]=M;break;case 4:C=g,M=n+-d*D,i[0]=C,i[1]=M}if(!m)switch(R){case 1:x=y,G=o+-_/D,i[2]=G,i[3]=x;break;case 2:G=N,x=s+T*D,i[2]=G,i[3]=x;break;case 3:x=A,G=o+_/D,i[2]=G,i[3]=x;break;case 4:G=v,x=s+-T*D,i[2]=G,i[3]=x}}return!1},n.getCardinalDirection=function(t,e,i){return t>e?i:1+i%4},n.getIntersection=function(t,e,i,n){if(null==n)return this.getIntersection2(t,e,i);var o,s,a,h,l,g,u,c=t.x,d=t.y,p=e.x,f=e.y,y=i.x,E=i.y,v=n.x,A=n.y;return l=p*d-c*f,g=v*E-y*A,0===(u=(o=f-d)*(h=y-v)-(s=A-E)*(a=c-p))?null:new r((a*g-h*l)/u,(s*l-o*g)/u)},n.angleOfVector=function(t,e,i,r){var n=void 0;return t!==i?(n=Math.atan((r-e)/(i-t)),i<t?n+=Math.PI:r<e&&(n+=this.TWO_PI)):n=r<e?this.ONE_AND_HALF_PI:this.HALF_PI,n},n.doIntersect=function(t,e,i,r){var n=t.x,o=t.y,s=e.x,a=e.y,h=i.x,l=i.y,g=r.x,u=r.y,c=(s-n)*(u-l)-(g-h)*(a-o);if(0===c)return!1;var d=((u-l)*(g-n)+(h-g)*(u-o))/c,p=((o-a)*(g-n)+(s-n)*(u-o))/c;return 0<d&&d<1&&0<p&&p<1},n.HALF_PI=.5*Math.PI,n.ONE_AND_HALF_PI=1.5*Math.PI,n.TWO_PI=2*Math.PI,n.THREE_PI=3*Math.PI,t.exports=n},function(t,e,i){function r(){}r.sign=function(t){return t>0?1:t<0?-1:0},r.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},r.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},t.exports=r},function(t,e,i){function r(){}r.MAX_VALUE=2147483647,r.MIN_VALUE=-2147483648,t.exports=r},function(t,e,i){var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,i,r){return i&&t(e.prototype,i),r&&t(e,r),e}}();var n=function(t){return{value:t,next:null,prev:null}},o=function(t,e,i,r){return null!==t?t.next=e:r.head=e,null!==i?i.prev=e:r.tail=e,e.prev=t,e.next=i,r.length++,e},s=function(t,e){var i=t.prev,r=t.next;return null!==i?i.next=r:e.head=r,null!==r?r.prev=i:e.tail=i,t.prev=t.next=null,e.length--,t},a=function(){function t(e){var i=this;(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),this.length=0,this.head=null,this.tail=null,null!=e&&e.forEach(function(t){return i.push(t)})}return r(t,[{key:"size",value:function(){return this.length}},{key:"insertBefore",value:function(t,e){return o(e.prev,n(t),e,this)}},{key:"insertAfter",value:function(t,e){return o(e,n(t),e.next,this)}},{key:"insertNodeBefore",value:function(t,e){return o(e.prev,t,e,this)}},{key:"insertNodeAfter",value:function(t,e){return o(e,t,e.next,this)}},{key:"push",value:function(t){return o(this.tail,n(t),null,this)}},{key:"unshift",value:function(t){return o(null,n(t),this.head,this)}},{key:"remove",value:function(t){return s(t,this)}},{key:"pop",value:function(){return s(this.tail,this).value}},{key:"popNode",value:function(){return s(this.tail,this)}},{key:"shift",value:function(){return s(this.head,this).value}},{key:"shiftNode",value:function(){return s(this.head,this)}},{key:"get_object_at",value:function(t){if(t<=this.length()){for(var e=1,i=this.head;e<t;)i=i.next,e++;return i.value}}},{key:"set_object_at",value:function(t,e){if(t<=this.length()){for(var i=1,r=this.head;i<t;)r=r.next,i++;r.value=e}}}]),t}();t.exports=a},function(t,e,i){function r(t,e,i){this.x=null,this.y=null,null==t&&null==e&&null==i?(this.x=0,this.y=0):"number"==typeof t&&"number"==typeof e&&null==i?(this.x=t,this.y=e):"Point"==t.constructor.name&&null==e&&null==i&&(i=t,this.x=i.x,this.y=i.y)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.getLocation=function(){return new r(this.x,this.y)},r.prototype.setLocation=function(t,e,i){"Point"==t.constructor.name&&null==e&&null==i?(i=t,this.setLocation(i.x,i.y)):"number"==typeof t&&"number"==typeof e&&null==i&&(parseInt(t)==t&&parseInt(e)==e?this.move(t,e):(this.x=Math.floor(t+.5),this.y=Math.floor(e+.5)))},r.prototype.move=function(t,e){this.x=t,this.y=e},r.prototype.translate=function(t,e){this.x+=t,this.y+=e},r.prototype.equals=function(t){if("Point"==t.constructor.name){var e=t;return this.x==e.x&&this.y==e.y}return this==t},r.prototype.toString=function(){return(new r).constructor.name+"[x="+this.x+",y="+this.y+"]"},t.exports=r},function(t,e,i){function r(t,e,i,r){this.x=0,this.y=0,this.width=0,this.height=0,null!=t&&null!=e&&null!=i&&null!=r&&(this.x=t,this.y=e,this.width=i,this.height=r)}r.prototype.getX=function(){return this.x},r.prototype.setX=function(t){this.x=t},r.prototype.getY=function(){return this.y},r.prototype.setY=function(t){this.y=t},r.prototype.getWidth=function(){return this.width},r.prototype.setWidth=function(t){this.width=t},r.prototype.getHeight=function(){return this.height},r.prototype.setHeight=function(t){this.height=t},r.prototype.getRight=function(){return this.x+this.width},r.prototype.getBottom=function(){return this.y+this.height},r.prototype.intersects=function(t){return!(this.getRight()<t.x||this.getBottom()<t.y||t.getRight()<this.x||t.getBottom()<this.y)},r.prototype.getCenterX=function(){return this.x+this.width/2},r.prototype.getMinX=function(){return this.getX()},r.prototype.getMaxX=function(){return this.getX()+this.width},r.prototype.getCenterY=function(){return this.y+this.height/2},r.prototype.getMinY=function(){return this.getY()},r.prototype.getMaxY=function(){return this.getY()+this.height},r.prototype.getWidthHalf=function(){return this.width/2},r.prototype.getHeightHalf=function(){return this.height/2},t.exports=r},function(t,e,i){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function n(){}n.lastID=0,n.createID=function(t){return n.isPrimitive(t)?t:(null!=t.uniqueID||(t.uniqueID=n.getString(),n.lastID++),t.uniqueID)},n.getString=function(t){return null==t&&(t=n.lastID),"Object#"+t},n.isPrimitive=function(t){var e=typeof t>"u"?"undefined":r(t);return null==t||"object"!=e&&"function"!=e},t.exports=n},function(t,e,i){function r(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)}var n=i(0),o=i(6),s=i(3),a=i(1),h=i(5),l=i(4),g=i(17),u=i(27);function c(t){u.call(this),this.layoutQuality=n.QUALITY,this.createBendsAsNeeded=n.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=n.DEFAULT_INCREMENTAL,this.animationOnLayout=n.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=n.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=n.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=n.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new o(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,null!=t&&(this.isRemoteUse=t)}c.RANDOM_SEED=1,c.prototype=Object.create(u.prototype),c.prototype.getGraphManager=function(){return this.graphManager},c.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},c.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},c.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},c.prototype.newGraphManager=function(){var t=new o(this);return this.graphManager=t,t},c.prototype.newGraph=function(t){return new h(null,this.graphManager,t)},c.prototype.newNode=function(t){return new s(this.graphManager,t)},c.prototype.newEdge=function(t){return new a(null,null,t)},c.prototype.checkLayoutSuccess=function(){return null==this.graphManager.getRoot()||0==this.graphManager.getRoot().getNodes().length||this.graphManager.includesInvalidEdge()},c.prototype.runLayout=function(){var t;return this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters(),t=!this.checkLayoutSuccess()&&this.layout(),"during"!==n.ANIMATE&&(t&&(this.isSubLayout||this.doPostLayout()),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,t)},c.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update()},c.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var t=this.graphManager.getAllEdges(),e=0;e<t.length;e++)t[e];var i=this.graphManager.getRoot().getNodes();for(e=0;e<i.length;e++)i[e];this.update(this.graphManager.getRoot())}},c.prototype.update=function(t){if(null==t)this.update2();else if(t instanceof s){var e=t;if(null!=e.getChild())for(var i=e.getChild().getNodes(),r=0;r<i.length;r++)update(i[r]);null!=e.vGraphObject&&e.vGraphObject.update(e)}else if(t instanceof a){var n=t;null!=n.vGraphObject&&n.vGraphObject.update(n)}else if(t instanceof h){var o=t;null!=o.vGraphObject&&o.vGraphObject.update(o)}},c.prototype.initParameters=function(){this.isSubLayout||(this.layoutQuality=n.QUALITY,this.animationDuringLayout=n.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=n.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=n.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=n.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=n.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=n.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1)},c.prototype.transform=function(t){if(null==t)this.transform(new l(0,0));else{var e=new g,i=this.graphManager.getRoot().updateLeftTop();if(null!=i){e.setWorldOrgX(t.x),e.setWorldOrgY(t.y),e.setDeviceOrgX(i.x),e.setDeviceOrgY(i.y);for(var r=this.getAllNodes(),n=0;n<r.length;n++)r[n].transform(e)}}},c.prototype.positionNodesRandomly=function(t){if(null==t)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else for(var e,i,r=t.getNodes(),n=0;n<r.length;n++)null==(i=(e=r[n]).getChild())||0==i.getNodes().length?e.scatter():(this.positionNodesRandomly(i),e.updateBounds())},c.prototype.getFlatForest=function(){for(var t=[],e=!0,i=this.graphManager.getRoot().getNodes(),n=!0,o=0;o<i.length;o++)null!=i[o].getChild()&&(n=!1);if(!n)return t;var s=new Set,a=[],h=new Map,l=[];for(l=l.concat(i);l.length>0&&e;){for(a.push(l[0]);a.length>0&&e;){var g=a[0];a.splice(0,1),s.add(g);var u=g.getEdges();for(o=0;o<u.length;o++){var c=u[o].getOtherEnd(g);if(h.get(g)!=c){if(s.has(c)){e=!1;break}a.push(c),h.set(c,g)}}}if(e){var d=[].concat(r(s));for(t.push(d),o=0;o<d.length;o++){var p=d[o],f=l.indexOf(p);f>-1&&l.splice(f,1)}s=new Set,h=new Map}else t=[]}return t},c.prototype.createDummyNodesForBendpoints=function(t){for(var e=[],i=t.source,r=this.graphManager.calcLowestCommonAncestor(t.source,t.target),n=0;n<t.bendpoints.length;n++){var o=this.newNode(null);o.setRect(new Point(0,0),new Dimension(1,1)),r.add(o);var s=this.newEdge(null);this.graphManager.add(s,i,o),e.add(o),i=o}return s=this.newEdge(null),this.graphManager.add(s,i,t.target),this.edgeToDummyNodes.set(t,e),t.isInterGraph()?this.graphManager.remove(t):r.remove(t),e},c.prototype.createBendpointsFromDummyNodes=function(){var t=[];t=t.concat(this.graphManager.getAllEdges()),t=[].concat(r(this.edgeToDummyNodes.keys())).concat(t);for(var e=0;e<t.length;e++){var i=t[e];if(i.bendpoints.length>0){for(var n=this.edgeToDummyNodes.get(i),o=0;o<n.length;o++){var s=n[o],a=new l(s.getCenterX(),s.getCenterY()),h=i.bendpoints.get(o);h.x=a.x,h.y=a.y,s.getOwner().remove(s)}this.graphManager.add(i,i.source,i.target)}}},c.transform=function(t,e,i,r){if(null!=i&&null!=r){var n=e;return t<=50?n-=(e-e/i)/50*(50-t):n+=(e*r-e)/50*(t-50),n}var o,s;return t<=50?(o=9*e/500,s=e/10):(o=9*e/50,s=-8*e),o*t+s},c.findCenterOfTree=function(t){var e=[];e=e.concat(t);var i=[],r=new Map,n=!1,o=null;(1==e.length||2==e.length)&&(n=!0,o=e[0]);for(var s=0;s<e.length;s++){var a=(g=e[s]).getNeighborsList().size;r.set(g,g.getNeighborsList().size),1==a&&i.push(g)}var h=[];for(h=h.concat(i);!n;){var l=[];for(l=l.concat(h),h=[],s=0;s<e.length;s++){var g=e[s],u=e.indexOf(g);u>=0&&e.splice(u,1),g.getNeighborsList().forEach(function(t){if(i.indexOf(t)<0){var e=r.get(t)-1;1==e&&h.push(t),r.set(t,e)}})}i=i.concat(h),(1==e.length||2==e.length)&&(n=!0,o=e[0])}return o},c.prototype.setGraphManager=function(t){this.graphManager=t},t.exports=c},function(t,e,i){function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=1e4*Math.sin(r.seed++),r.x-Math.floor(r.x)},t.exports=r},function(t,e,i){var r=i(4);function n(t,e){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}n.prototype.getWorldOrgX=function(){return this.lworldOrgX},n.prototype.setWorldOrgX=function(t){this.lworldOrgX=t},n.prototype.getWorldOrgY=function(){return this.lworldOrgY},n.prototype.setWorldOrgY=function(t){this.lworldOrgY=t},n.prototype.getWorldExtX=function(){return this.lworldExtX},n.prototype.setWorldExtX=function(t){this.lworldExtX=t},n.prototype.getWorldExtY=function(){return this.lworldExtY},n.prototype.setWorldExtY=function(t){this.lworldExtY=t},n.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},n.prototype.setDeviceOrgX=function(t){this.ldeviceOrgX=t},n.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},n.prototype.setDeviceOrgY=function(t){this.ldeviceOrgY=t},n.prototype.getDeviceExtX=function(){return this.ldeviceExtX},n.prototype.setDeviceExtX=function(t){this.ldeviceExtX=t},n.prototype.getDeviceExtY=function(){return this.ldeviceExtY},n.prototype.setDeviceExtY=function(t){this.ldeviceExtY=t},n.prototype.transformX=function(t){var e=0,i=this.lworldExtX;return 0!=i&&(e=this.ldeviceOrgX+(t-this.lworldOrgX)*this.ldeviceExtX/i),e},n.prototype.transformY=function(t){var e=0,i=this.lworldExtY;return 0!=i&&(e=this.ldeviceOrgY+(t-this.lworldOrgY)*this.ldeviceExtY/i),e},n.prototype.inverseTransformX=function(t){var e=0,i=this.ldeviceExtX;return 0!=i&&(e=this.lworldOrgX+(t-this.ldeviceOrgX)*this.lworldExtX/i),e},n.prototype.inverseTransformY=function(t){var e=0,i=this.ldeviceExtY;return 0!=i&&(e=this.lworldOrgY+(t-this.ldeviceOrgY)*this.lworldExtY/i),e},n.prototype.inverseTransformPoint=function(t){return new r(this.inverseTransformX(t.x),this.inverseTransformY(t.y))},t.exports=n},function(t,e,i){var r=i(15),n=i(7),o=i(0),s=i(8),a=i(9);function h(){r.call(this),this.useSmartIdealEdgeLengthCalculation=n.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=n.DEFAULT_EDGE_LENGTH,this.springConstant=n.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=n.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=n.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=n.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=n.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=n.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*n.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=n.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=n.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=n.MAX_ITERATIONS}for(var l in h.prototype=Object.create(r.prototype),r)h[l]=r[l];h.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=n.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},h.prototype.calcIdealEdgeLengths=function(){for(var t,e,i,r,s,a,h=this.getGraphManager().getAllEdges(),l=0;l<h.length;l++)(t=h[l]).idealLength=this.idealEdgeLength,t.isInterGraph&&(i=t.getSource(),r=t.getTarget(),s=t.getSourceInLca().getEstimatedSize(),a=t.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(t.idealLength+=s+a-2*o.SIMPLE_NODE_SIZE),e=t.getLca().getInclusionTreeDepth(),t.idealLength+=n.DEFAULT_EDGE_LENGTH*n.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(i.getInclusionTreeDepth()+r.getInclusionTreeDepth()-2*e))},h.prototype.initSpringEmbedder=function(){var t=this.getAllNodes().length;this.incremental?(t>n.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*n.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-n.ADAPTATION_LOWER_NODE_LIMIT)/(n.ADAPTATION_UPPER_NODE_LIMIT-n.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-n.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=n.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>n.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(n.COOLING_ADAPTATION_FACTOR,1-(t-n.ADAPTATION_LOWER_NODE_LIMIT)/(n.ADAPTATION_UPPER_NODE_LIMIT-n.ADAPTATION_LOWER_NODE_LIMIT)*(1-n.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=n.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},h.prototype.calcSpringForces=function(){for(var t,e=this.getAllEdges(),i=0;i<e.length;i++)t=e[i],this.calcSpringForce(t,t.idealLength)},h.prototype.calcRepulsionForces=function(){var t,e,i,r,o,s=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],h=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%n.GRID_CALCULATION_CHECK_PERIOD==1&&s&&this.updateGrid(),o=new Set,t=0;t<h.length;t++)i=h[t],this.calculateRepulsionForceOfANode(i,o,s,a),o.add(i);else for(t=0;t<h.length;t++)for(i=h[t],e=t+1;e<h.length;e++)r=h[e],i.getOwner()==r.getOwner()&&this.calcRepulsionForce(i,r)},h.prototype.calcGravitationalForces=function(){for(var t,e=this.getAllNodesToApplyGravitation(),i=0;i<e.length;i++)t=e[i],this.calcGravitationalForce(t)},h.prototype.moveNodes=function(){for(var t=this.getAllNodes(),e=0;e<t.length;e++)t[e].move()},h.prototype.calcSpringForce=function(t,e){var i,r,n,o,s=t.getSource(),a=t.getTarget();if(this.uniformLeafNodeSizes&&null==s.getChild()&&null==a.getChild())t.updateLengthSimple();else if(t.updateLength(),t.isOverlapingSourceAndTarget)return;0!=(i=t.getLength())&&(n=(r=this.springConstant*(i-e))*(t.lengthX/i),o=r*(t.lengthY/i),s.springForceX+=n,s.springForceY+=o,a.springForceX-=n,a.springForceY-=o)},h.prototype.calcRepulsionForce=function(t,e){var i,r,o,h,l,g,u,c=t.getRect(),d=e.getRect(),p=new Array(2),f=new Array(4);if(c.intersects(d)){s.calcSeparationAmount(c,d,p,n.DEFAULT_EDGE_LENGTH/2),g=2*p[0],u=2*p[1];var y=t.noOfChildren*e.noOfChildren/(t.noOfChildren+e.noOfChildren);t.repulsionForceX-=y*g,t.repulsionForceY-=y*u,e.repulsionForceX+=y*g,e.repulsionForceY+=y*u}else this.uniformLeafNodeSizes&&null==t.getChild()&&null==e.getChild()?(i=d.getCenterX()-c.getCenterX(),r=d.getCenterY()-c.getCenterY()):(s.getIntersection(c,d,f),i=f[2]-f[0],r=f[3]-f[1]),Math.abs(i)<n.MIN_REPULSION_DIST&&(i=a.sign(i)*n.MIN_REPULSION_DIST),Math.abs(r)<n.MIN_REPULSION_DIST&&(r=a.sign(r)*n.MIN_REPULSION_DIST),o=i*i+r*r,h=Math.sqrt(o),g=(l=this.repulsionConstant*t.noOfChildren*e.noOfChildren/o)*i/h,u=l*r/h,t.repulsionForceX-=g,t.repulsionForceY-=u,e.repulsionForceX+=g,e.repulsionForceY+=u},h.prototype.calcGravitationalForce=function(t){var e,i,r,n,o,s,a,h;i=((e=t.getOwner()).getRight()+e.getLeft())/2,r=(e.getTop()+e.getBottom())/2,n=t.getCenterX()-i,o=t.getCenterY()-r,s=Math.abs(n)+t.getWidth()/2,a=Math.abs(o)+t.getHeight()/2,t.getOwner()==this.graphManager.getRoot()?(s>(h=e.getEstimatedSize()*this.gravityRangeFactor)||a>h)&&(t.gravitationForceX=-this.gravityConstant*n,t.gravitationForceY=-this.gravityConstant*o):(s>(h=e.getEstimatedSize()*this.compoundGravityRangeFactor)||a>h)&&(t.gravitationForceX=-this.gravityConstant*n*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*o*this.compoundGravityConstant)},h.prototype.isConverged=function(){var t,e=!1;return this.totalIterations>this.maxIterations/3&&(e=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),t=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,t||e},h.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++)},h.prototype.calcNoOfChildrenForAllNodes=function(){for(var t,e=this.graphManager.getAllNodes(),i=0;i<e.length;i++)(t=e[i]).noOfChildren=t.getNoOfChildren()},h.prototype.calcGrid=function(t){var e,i;e=parseInt(Math.ceil((t.getRight()-t.getLeft())/this.repulsionRange)),i=parseInt(Math.ceil((t.getBottom()-t.getTop())/this.repulsionRange));for(var r=new Array(e),n=0;n<e;n++)r[n]=new Array(i);for(n=0;n<e;n++)for(var o=0;o<i;o++)r[n][o]=new Array;return r},h.prototype.addNodeToGrid=function(t,e,i){var r,n,o,s;r=parseInt(Math.floor((t.getRect().x-e)/this.repulsionRange)),n=parseInt(Math.floor((t.getRect().width+t.getRect().x-e)/this.repulsionRange)),o=parseInt(Math.floor((t.getRect().y-i)/this.repulsionRange)),s=parseInt(Math.floor((t.getRect().height+t.getRect().y-i)/this.repulsionRange));for(var a=r;a<=n;a++)for(var h=o;h<=s;h++)this.grid[a][h].push(t),t.setGridCoordinates(r,n,o,s)},h.prototype.updateGrid=function(){var t,e,i=this.getAllNodes();for(this.grid=this.calcGrid(this.graphManager.getRoot()),t=0;t<i.length;t++)e=i[t],this.addNodeToGrid(e,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop())},h.prototype.calculateRepulsionForceOfANode=function(t,e,i,r){if(this.totalIterations%n.GRID_CALCULATION_CHECK_PERIOD==1&&i||r){var o=new Set;t.surrounding=new Array;for(var s,a=this.grid,h=t.startX-1;h<t.finishX+2;h++)for(var l=t.startY-1;l<t.finishY+2;l++)if(!(h<0||l<0||h>=a.length||l>=a[0].length))for(var g=0;g<a[h][l].length;g++)if(s=a[h][l][g],t.getOwner()==s.getOwner()&&t!=s&&!e.has(s)&&!o.has(s)){var u=Math.abs(t.getCenterX()-s.getCenterX())-(t.getWidth()/2+s.getWidth()/2),c=Math.abs(t.getCenterY()-s.getCenterY())-(t.getHeight()/2+s.getHeight()/2);u<=this.repulsionRange&&c<=this.repulsionRange&&o.add(s)}t.surrounding=[].concat(function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)}(o))}for(h=0;h<t.surrounding.length;h++)this.calcRepulsionForce(t,t.surrounding[h])},h.prototype.calcRepulsionRange=function(){return 0},t.exports=h},function(t,e,i){var r=i(1),n=i(7);function o(t,e,i){r.call(this,t,e,i),this.idealLength=n.DEFAULT_EDGE_LENGTH}for(var s in o.prototype=Object.create(r.prototype),r)o[s]=r[s];t.exports=o},function(t,e,i){var r=i(3);function n(t,e,i,n){r.call(this,t,e,i,n),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0,this.startX=0,this.finishX=0,this.startY=0,this.finishY=0,this.surrounding=[]}for(var o in n.prototype=Object.create(r.prototype),r)n[o]=r[o];n.prototype.setGridCoordinates=function(t,e,i,r){this.startX=t,this.finishX=e,this.startY=i,this.finishY=r},t.exports=n},function(t,e,i){function r(t,e){this.width=0,this.height=0,null!==t&&null!==e&&(this.height=e,this.width=t)}r.prototype.getWidth=function(){return this.width},r.prototype.setWidth=function(t){this.width=t},r.prototype.getHeight=function(){return this.height},r.prototype.setHeight=function(t){this.height=t},t.exports=r},function(t,e,i){var r=i(14);function n(){this.map={},this.keys=[]}n.prototype.put=function(t,e){var i=r.createID(t);this.contains(i)||(this.map[i]=e,this.keys.push(t))},n.prototype.contains=function(t){return r.createID(t),null!=this.map[t]},n.prototype.get=function(t){var e=r.createID(t);return this.map[e]},n.prototype.keySet=function(){return this.keys},t.exports=n},function(t,e,i){var r=i(14);function n(){this.set={}}n.prototype.add=function(t){var e=r.createID(t);this.contains(e)||(this.set[e]=t)},n.prototype.remove=function(t){delete this.set[r.createID(t)]},n.prototype.clear=function(){this.set={}},n.prototype.contains=function(t){return this.set[r.createID(t)]==t},n.prototype.isEmpty=function(){return 0===this.size()},n.prototype.size=function(){return Object.keys(this.set).length},n.prototype.addAllTo=function(t){for(var e=Object.keys(this.set),i=e.length,r=0;r<i;r++)t.push(this.set[e[r]])},n.prototype.size=function(){return Object.keys(this.set).length},n.prototype.addAll=function(t){for(var e=t.length,i=0;i<e;i++){var r=t[i];this.add(r)}},t.exports=n},function(t,e,i){var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,i,r){return i&&t(e.prototype,i),r&&t(e,r),e}}();var n=i(11),o=function(){function t(e,i){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),(null!==i||void 0!==i)&&(this.compareFunction=this._defaultCompareFunction);var r;r=e instanceof n?e.size():e.length,this._quicksort(e,0,r-1)}return r(t,[{key:"_quicksort",value:function(t,e,i){if(e<i){var r=this._partition(t,e,i);this._quicksort(t,e,r),this._quicksort(t,r+1,i)}}},{key:"_partition",value:function(t,e,i){for(var r=this._get(t,e),n=e,o=i;;){for(;this.compareFunction(r,this._get(t,o));)o--;for(;this.compareFunction(this._get(t,n),r);)n++;if(!(n<o))return o;this._swap(t,n,o),n++,o--}}},{key:"_get",value:function(t,e){return t instanceof n?t.get_object_at(e):t[e]}},{key:"_set",value:function(t,e,i){t instanceof n?t.set_object_at(e,i):t[e]=i}},{key:"_swap",value:function(t,e,i){var r=this._get(t,e);this._set(t,e,this._get(t,i)),this._set(t,i,r)}},{key:"_defaultCompareFunction",value:function(t,e){return e>t}}]),t}();t.exports=o},function(t,e,i){var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,i,r){return i&&t(e.prototype,i),r&&t(e,r),e}}();var n=function(){function t(e,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),this.sequence1=e,this.sequence2=i,this.match_score=r,this.mismatch_penalty=n,this.gap_penalty=o,this.iMax=e.length+1,this.jMax=i.length+1,this.grid=new Array(this.iMax);for(var s=0;s<this.iMax;s++){this.grid[s]=new Array(this.jMax);for(var a=0;a<this.jMax;a++)this.grid[s][a]=0}this.tracebackGrid=new Array(this.iMax);for(var h=0;h<this.iMax;h++){this.tracebackGrid[h]=new Array(this.jMax);for(var l=0;l<this.jMax;l++)this.tracebackGrid[h][l]=[null,null,null]}this.alignments=[],this.score=-1,this.computeGrids()}return r(t,[{key:"getScore",value:function(){return this.score}},{key:"getAlignments",value:function(){return this.alignments}},{key:"computeGrids",value:function(){for(var t=1;t<this.jMax;t++)this.grid[0][t]=this.grid[0][t-1]+this.gap_penalty,this.tracebackGrid[0][t]=[!1,!1,!0];for(var e=1;e<this.iMax;e++)this.grid[e][0]=this.grid[e-1][0]+this.gap_penalty,this.tracebackGrid[e][0]=[!1,!0,!1];for(var i=1;i<this.iMax;i++)for(var r=1;r<this.jMax;r++){var n=[this.sequence1[i-1]===this.sequence2[r-1]?this.grid[i-1][r-1]+this.match_score:this.grid[i-1][r-1]+this.mismatch_penalty,this.grid[i-1][r]+this.gap_penalty,this.grid[i][r-1]+this.gap_penalty],o=this.arrayAllMaxIndexes(n);this.grid[i][r]=n[o[0]],this.tracebackGrid[i][r]=[o.includes(0),o.includes(1),o.includes(2)]}this.score=this.grid[this.iMax-1][this.jMax-1]}},{key:"alignmentTraceback",value:function(){var t=[];for(t.push({pos:[this.sequence1.length,this.sequence2.length],seq1:"",seq2:""});t[0];){var e=t[0],i=this.tracebackGrid[e.pos[0]][e.pos[1]];i[0]&&t.push({pos:[e.pos[0]-1,e.pos[1]-1],seq1:this.sequence1[e.pos[0]-1]+e.seq1,seq2:this.sequence2[e.pos[1]-1]+e.seq2}),i[1]&&t.push({pos:[e.pos[0]-1,e.pos[1]],seq1:this.sequence1[e.pos[0]-1]+e.seq1,seq2:"-"+e.seq2}),i[2]&&t.push({pos:[e.pos[0],e.pos[1]-1],seq1:"-"+e.seq1,seq2:this.sequence2[e.pos[1]-1]+e.seq2}),0===e.pos[0]&&0===e.pos[1]&&this.alignments.push({sequence1:e.seq1,sequence2:e.seq2}),t.shift()}return this.alignments}},{key:"getAllIndexes",value:function(t,e){for(var i=[],r=-1;-1!==(r=t.indexOf(e,r+1));)i.push(r);return i}},{key:"arrayAllMaxIndexes",value:function(t){return this.getAllIndexes(t,Math.max.apply(null,t))}}]),t}();t.exports=n},function(t,e,i){var r=function(){};r.FDLayout=i(18),r.FDLayoutConstants=i(7),r.FDLayoutEdge=i(19),r.FDLayoutNode=i(20),r.DimensionD=i(21),r.HashMap=i(22),r.HashSet=i(23),r.IGeometry=i(8),r.IMath=i(9),r.Integer=i(10),r.Point=i(12),r.PointD=i(4),r.RandomSeed=i(16),r.RectangleD=i(13),r.Transform=i(17),r.UniqueIDGeneretor=i(14),r.Quicksort=i(24),r.LinkedList=i(11),r.LGraphObject=i(2),r.LGraph=i(5),r.LEdge=i(1),r.LGraphManager=i(6),r.LNode=i(3),r.Layout=i(15),r.LayoutConstants=i(0),r.NeedlemanWunsch=i(25),t.exports=r},function(t,e,i){function r(){this.listeners=[]}var n=r.prototype;n.addListener=function(t,e){this.listeners.push({event:t,callback:e})},n.removeListener=function(t,e){for(var i=this.listeners.length;i>=0;i--){var r=this.listeners[i];r.event===t&&r.callback===e&&this.listeners.splice(i,1)}},n.emit=function(t,e){for(var i=0;i<this.listeners.length;i++){var r=this.listeners[i];t===r.event&&r.callback(e)}},t.exports=r}])),u.exports}var d,p=(o||(o=1,l.exports=(d=function(){return n||(n=1,g.exports=(t=c(),function(t){var e={};function i(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=7)}([function(e,i){e.exports=t},function(t,e,i){var r=i(0).FDLayoutConstants;function n(){}for(var o in r)n[o]=r[o];n.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,n.DEFAULT_RADIAL_SEPARATION=r.DEFAULT_EDGE_LENGTH,n.DEFAULT_COMPONENT_SEPERATION=60,n.TILE=!0,n.TILING_PADDING_VERTICAL=10,n.TILING_PADDING_HORIZONTAL=10,n.TREE_REDUCTION_ON_INCREMENTAL=!1,t.exports=n},function(t,e,i){var r=i(0).FDLayoutEdge;function n(t,e,i){r.call(this,t,e,i)}for(var o in n.prototype=Object.create(r.prototype),r)n[o]=r[o];t.exports=n},function(t,e,i){var r=i(0).LGraph;function n(t,e,i){r.call(this,t,e,i)}for(var o in n.prototype=Object.create(r.prototype),r)n[o]=r[o];t.exports=n},function(t,e,i){var r=i(0).LGraphManager;function n(t){r.call(this,t)}for(var o in n.prototype=Object.create(r.prototype),r)n[o]=r[o];t.exports=n},function(t,e,i){var r=i(0).FDLayoutNode,n=i(0).IMath;function o(t,e,i,n){r.call(this,t,e,i,n)}for(var s in o.prototype=Object.create(r.prototype),r)o[s]=r[s];o.prototype.move=function(){var t=this.graphManager.getLayout();this.displacementX=t.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=t.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementX=t.coolingFactor*t.maxNodeDisplacement*n.sign(this.displacementX)),Math.abs(this.displacementY)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementY=t.coolingFactor*t.maxNodeDisplacement*n.sign(this.displacementY)),null==this.child||0==this.child.getNodes().length?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),t.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},o.prototype.propogateDisplacementToChildren=function(t,e){for(var i,r=this.getChild().getNodes(),n=0;n<r.length;n++)null==(i=r[n]).getChild()?(i.moveBy(t,e),i.displacementX+=t,i.displacementY+=e):i.propogateDisplacementToChildren(t,e)},o.prototype.setPred1=function(t){this.pred1=t},o.prototype.getPred1=function(){return pred1},o.prototype.getPred2=function(){return pred2},o.prototype.setNext=function(t){this.next=t},o.prototype.getNext=function(){return next},o.prototype.setProcessed=function(t){this.processed=t},o.prototype.isProcessed=function(){return processed},t.exports=o},function(t,e,i){var r=i(0).FDLayout,n=i(4),o=i(3),s=i(5),a=i(2),h=i(1),l=i(0).FDLayoutConstants,g=i(0).LayoutConstants,u=i(0).Point,c=i(0).PointD,d=i(0).Layout,p=i(0).Integer,f=i(0).IGeometry,y=i(0).LGraph,E=i(0).Transform;function v(){r.call(this),this.toBeTiled={}}for(var A in v.prototype=Object.create(r.prototype),r)v[A]=r[A];v.prototype.newGraphManager=function(){var t=new n(this);return this.graphManager=t,t},v.prototype.newGraph=function(t){return new o(null,this.graphManager,t)},v.prototype.newNode=function(t){return new s(this.graphManager,t)},v.prototype.newEdge=function(t){return new a(null,null,t)},v.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.isSubLayout||(h.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=h.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=h.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.springConstant=l.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=l.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=l.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=l.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=l.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1,this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/l.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=l.CONVERGENCE_CHECK_PERIOD/this.maxIterations,this.coolingAdjuster=1)},v.prototype.layout=function(){return g.DEFAULT_CREATE_BENDS_AS_NEEDED&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},v.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(h.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),e=this.nodesWithGravity.filter(function(e){return t.has(e)});this.graphManager.setAllNodesToApplyGravitation(e)}}else{var i=this.getFlatForest();i.length>0?this.positionNodesRadially(i):(this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation(),t=new Set(this.getAllNodes()),e=this.nodesWithGravity.filter(function(e){return t.has(e)}),this.graphManager.setAllNodesToApplyGravitation(e),this.positionNodesRandomly())}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},v.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}if(this.totalIterations%l.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged()){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}this.coolingCycle++,0==this.layoutQuality?this.coolingAdjuster=this.coolingCycle:1==this.layoutQuality&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),e=this.nodesWithGravity.filter(function(e){return t.has(e)});this.graphManager.setAllNodesToApplyGravitation(e),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var i=!this.isTreeGrowing&&!this.isGrowthFinished,r=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(i,r),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},v.prototype.getPositionsData=function(){for(var t=this.graphManager.getAllNodes(),e={},i=0;i<t.length;i++){var r=t[i].rect,n=t[i].id;e[n]={id:n,x:r.getCenterX(),y:r.getCenterY(),w:r.width,h:r.height}}return e},v.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var t=!1;if("during"===l.ANIMATE)this.emit("layoutstarted");else{for(;!t;)t=this.tick();this.graphManager.updateBounds()}},v.prototype.calculateNodesToApplyGravitationTo=function(){var t,e,i=[],r=this.graphManager.getGraphs(),n=r.length;for(e=0;e<n;e++)(t=r[e]).updateConnected(),t.isConnected||(i=i.concat(t.getNodes()));return i},v.prototype.createBendpoints=function(){var t=[];t=t.concat(this.graphManager.getAllEdges());var e,i=new Set;for(e=0;e<t.length;e++){var r=t[e];if(!i.has(r)){var n=r.getSource(),o=r.getTarget();if(n==o)r.getBendpoints().push(new c),r.getBendpoints().push(new c),this.createDummyNodesForBendpoints(r),i.add(r);else{var s=[];if(s=(s=s.concat(n.getEdgeListToNode(o))).concat(o.getEdgeListToNode(n)),!i.has(s[0])){var a;if(s.length>1)for(a=0;a<s.length;a++){var h=s[a];h.getBendpoints().push(new c),this.createDummyNodesForBendpoints(h)}s.forEach(function(t){i.add(t)})}}}if(i.size==t.length)break}},v.prototype.positionNodesRadially=function(t){for(var e=new u(0,0),i=Math.ceil(Math.sqrt(t.length)),r=0,n=0,o=0,s=new c(0,0),a=0;a<t.length;a++){a%i==0&&(o=0,n=r,0!=a&&(n+=h.DEFAULT_COMPONENT_SEPERATION),r=0);var l=t[a],p=d.findCenterOfTree(l);e.x=o,e.y=n,(s=v.radialLayout(l,p,e)).y>r&&(r=Math.floor(s.y)),o=Math.floor(s.x+h.DEFAULT_COMPONENT_SEPERATION)}this.transform(new c(g.WORLD_CENTER_X-s.x/2,g.WORLD_CENTER_Y-s.y/2))},v.radialLayout=function(t,e,i){var r=Math.max(this.maxDiagonalInTree(t),h.DEFAULT_RADIAL_SEPARATION);v.branchRadialLayout(e,null,0,359,0,r);var n=y.calculateBounds(t),o=new E;o.setDeviceOrgX(n.getMinX()),o.setDeviceOrgY(n.getMinY()),o.setWorldOrgX(i.x),o.setWorldOrgY(i.y);for(var s=0;s<t.length;s++)t[s].transform(o);var a=new c(n.getMaxX(),n.getMaxY());return o.inverseTransformPoint(a)},v.branchRadialLayout=function(t,e,i,r,n,o){var s=(r-i+1)/2;s<0&&(s+=180);var a=(s+i)%360*f.TWO_PI/360,h=n*Math.cos(a),l=n*Math.sin(a);t.setCenter(h,l);var g=[],u=(g=g.concat(t.getEdges())).length;null!=e&&u--;for(var c,d=0,p=g.length,y=t.getEdgesBetween(e);y.length>1;){var E=y[0];y.splice(0,1);var A=g.indexOf(E);A>=0&&g.splice(A,1),p--,u--}c=null!=e?(g.indexOf(y[0])+1)%p:0;for(var N=Math.abs(r-i)/u,T=c;d!=u;T=++T%p){var _=g[T].getOtherEnd(t);if(_!=e){var L=(i+d*N)%360,m=(L+N)%360;v.branchRadialLayout(_,t,L,m,n+o,o),d++}}},v.maxDiagonalInTree=function(t){for(var e=p.MIN_VALUE,i=0;i<t.length;i++){var r=t[i].getDiagonal();r>e&&(e=r)}return e},v.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},v.prototype.groupZeroDegreeMembers=function(){var t=this,e={};this.memberGroups={},this.idToDummyNode={};for(var i=[],r=this.graphManager.getAllNodes(),n=0;n<r.length;n++){var o=(a=r[n]).getParent();0===this.getNodeDegreeWithChildren(a)&&(null==o.id||!this.getToBeTiled(o))&&i.push(a)}for(n=0;n<i.length;n++){var a,h=(a=i[n]).getParent().id;typeof e[h]>"u"&&(e[h]=[]),e[h]=e[h].concat(a)}Object.keys(e).forEach(function(i){if(e[i].length>1){var r="DummyCompound_"+i;t.memberGroups[r]=e[i];var n=e[i][0].getParent(),o=new s(t.graphManager);o.id=r,o.paddingLeft=n.paddingLeft||0,o.paddingRight=n.paddingRight||0,o.paddingBottom=n.paddingBottom||0,o.paddingTop=n.paddingTop||0,t.idToDummyNode[r]=o;var a=t.getGraphManager().add(t.newGraph(),o),h=n.getChild();h.add(o);for(var l=0;l<e[i].length;l++){var g=e[i][l];h.remove(g),a.add(g)}}})},v.prototype.clearCompounds=function(){var t={},e={};this.performDFSOnCompounds();for(var i=0;i<this.compoundOrder.length;i++)e[this.compoundOrder[i].id]=this.compoundOrder[i],t[this.compoundOrder[i].id]=[].concat(this.compoundOrder[i].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[i].getChild()),this.compoundOrder[i].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(t,e)},v.prototype.clearZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach(function(i){var r=t.idToDummyNode[i];e[i]=t.tileNodes(t.memberGroups[i],r.paddingLeft+r.paddingRight),r.rect.width=e[i].width,r.rect.height=e[i].height})},v.prototype.repopulateCompounds=function(){for(var t=this.compoundOrder.length-1;t>=0;t--){var e=this.compoundOrder[t],i=e.id,r=e.paddingLeft,n=e.paddingTop;this.adjustLocations(this.tiledMemberPack[i],e.rect.x,e.rect.y,r,n)}},v.prototype.repopulateZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack;Object.keys(e).forEach(function(i){var r=t.idToDummyNode[i],n=r.paddingLeft,o=r.paddingTop;t.adjustLocations(e[i],r.rect.x,r.rect.y,n,o)})},v.prototype.getToBeTiled=function(t){var e=t.id;if(null!=this.toBeTiled[e])return this.toBeTiled[e];var i=t.getChild();if(null==i)return this.toBeTiled[e]=!1,!1;for(var r=i.getNodes(),n=0;n<r.length;n++){var o=r[n];if(this.getNodeDegree(o)>0)return this.toBeTiled[e]=!1,!1;if(null!=o.getChild()){if(!this.getToBeTiled(o))return this.toBeTiled[e]=!1,!1}else this.toBeTiled[o.id]=!1}return this.toBeTiled[e]=!0,!0},v.prototype.getNodeDegree=function(t){t.id;for(var e=t.getEdges(),i=0,r=0;r<e.length;r++){var n=e[r];n.getSource().id!==n.getTarget().id&&(i+=1)}return i},v.prototype.getNodeDegreeWithChildren=function(t){var e=this.getNodeDegree(t);if(null==t.getChild())return e;for(var i=t.getChild().getNodes(),r=0;r<i.length;r++){var n=i[r];e+=this.getNodeDegreeWithChildren(n)}return e},v.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},v.prototype.fillCompexOrderByDFS=function(t){for(var e=0;e<t.length;e++){var i=t[e];null!=i.getChild()&&this.fillCompexOrderByDFS(i.getChild().getNodes()),this.getToBeTiled(i)&&this.compoundOrder.push(i)}},v.prototype.adjustLocations=function(t,e,i,r,n){i+=n;for(var o=e+=r,s=0;s<t.rows.length;s++){var a=t.rows[s];e=o;for(var h=0,l=0;l<a.length;l++){var g=a[l];g.rect.x=e,g.rect.y=i,e+=g.rect.width+t.horizontalPadding,g.rect.height>h&&(h=g.rect.height)}i+=h+t.verticalPadding}},v.prototype.tileCompoundMembers=function(t,e){var i=this;this.tiledMemberPack=[],Object.keys(t).forEach(function(r){var n=e[r];i.tiledMemberPack[r]=i.tileNodes(t[r],n.paddingLeft+n.paddingRight),n.rect.width=i.tiledMemberPack[r].width,n.rect.height=i.tiledMemberPack[r].height})},v.prototype.tileNodes=function(t,e){var i={rows:[],rowWidth:[],rowHeight:[],width:0,height:e,verticalPadding:h.TILING_PADDING_VERTICAL,horizontalPadding:h.TILING_PADDING_HORIZONTAL};t.sort(function(t,e){return t.rect.width*t.rect.height>e.rect.width*e.rect.height?-1:t.rect.width*t.rect.height<e.rect.width*e.rect.height?1:0});for(var r=0;r<t.length;r++){var n=t[r];0==i.rows.length?this.insertNodeToRow(i,n,0,e):this.canAddHorizontal(i,n.rect.width,n.rect.height)?this.insertNodeToRow(i,n,this.getShortestRowIndex(i),e):this.insertNodeToRow(i,n,i.rows.length,e),this.shiftToLastRow(i)}return i},v.prototype.insertNodeToRow=function(t,e,i,r){var n=r;if(i==t.rows.length){t.rows.push([]),t.rowWidth.push(n),t.rowHeight.push(0)}var o=t.rowWidth[i]+e.rect.width;t.rows[i].length>0&&(o+=t.horizontalPadding),t.rowWidth[i]=o,t.width<o&&(t.width=o);var s=e.rect.height;i>0&&(s+=t.verticalPadding);var a=0;s>t.rowHeight[i]&&(a=t.rowHeight[i],t.rowHeight[i]=s,a=t.rowHeight[i]-a),t.height+=a,t.rows[i].push(e)},v.prototype.getShortestRowIndex=function(t){for(var e=-1,i=Number.MAX_VALUE,r=0;r<t.rows.length;r++)t.rowWidth[r]<i&&(e=r,i=t.rowWidth[r]);return e},v.prototype.getLongestRowIndex=function(t){for(var e=-1,i=Number.MIN_VALUE,r=0;r<t.rows.length;r++)t.rowWidth[r]>i&&(e=r,i=t.rowWidth[r]);return e},v.prototype.canAddHorizontal=function(t,e,i){var r=this.getShortestRowIndex(t);if(r<0)return!0;var n=t.rowWidth[r];if(n+t.horizontalPadding+e<=t.width)return!0;var o,s,a=0;return t.rowHeight[r]<i&&r>0&&(a=i+t.verticalPadding-t.rowHeight[r]),o=t.width-n>=e+t.horizontalPadding?(t.height+a)/(n+e+t.horizontalPadding):(t.height+a)/t.width,a=i+t.verticalPadding,(s=t.width<e?(t.height+a)/e:(t.height+a)/t.width)<1&&(s=1/s),o<1&&(o=1/o),o<s},v.prototype.shiftToLastRow=function(t){var e=this.getLongestRowIndex(t),i=t.rowWidth.length-1,r=t.rows[e],n=r[r.length-1],o=n.width+t.horizontalPadding;if(t.width-t.rowWidth[i]>o&&e!=i){r.splice(-1,1),t.rows[i].push(n),t.rowWidth[e]=t.rowWidth[e]-o,t.rowWidth[i]=t.rowWidth[i]+o,t.width=t.rowWidth[instance.getLongestRowIndex(t)];for(var s=Number.MIN_VALUE,a=0;a<r.length;a++)r[a].height>s&&(s=r[a].height);e>0&&(s+=t.verticalPadding);var h=t.rowHeight[e]+t.rowHeight[i];t.rowHeight[e]=s,t.rowHeight[i]<n.height+t.verticalPadding&&(t.rowHeight[i]=n.height+t.verticalPadding);var l=t.rowHeight[e]+t.rowHeight[i];t.height+=l-h,this.shiftToLastRow(t)}},v.prototype.tilingPreLayout=function(){h.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},v.prototype.tilingPostLayout=function(){h.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},v.prototype.reduceTrees=function(){for(var t,e=[],i=!0;i;){var r=this.graphManager.getAllNodes(),n=[];i=!1;for(var o=0;o<r.length;o++)1==(t=r[o]).getEdges().length&&!t.getEdges()[0].isInterGraph&&null==t.getChild()&&(n.push([t,t.getEdges()[0],t.getOwner()]),i=!0);if(1==i){for(var s=[],a=0;a<n.length;a++)1==n[a][0].getEdges().length&&(s.push(n[a]),n[a][0].getOwner().remove(n[a][0]));e.push(s),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=e},v.prototype.growTree=function(t){for(var e,i=t[t.length-1],r=0;r<i.length;r++)e=i[r],this.findPlaceforPrunedNode(e),e[2].add(e[0]),e[2].add(e[1],e[1].source,e[1].target);t.splice(t.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()},v.prototype.findPlaceforPrunedNode=function(t){var e,i,r=t[0],n=(i=r==t[1].source?t[1].target:t[1].source).startX,o=i.finishX,s=i.startY,a=i.finishY,h=[0,0,0,0];if(s>0)for(var g=n;g<=o;g++)h[0]+=this.grid[g][s-1].length+this.grid[g][s].length-1;if(o<this.grid.length-1)for(g=s;g<=a;g++)h[1]+=this.grid[o+1][g].length+this.grid[o][g].length-1;if(a<this.grid[0].length-1)for(g=n;g<=o;g++)h[2]+=this.grid[g][a+1].length+this.grid[g][a].length-1;if(n>0)for(g=s;g<=a;g++)h[3]+=this.grid[n-1][g].length+this.grid[n][g].length-1;for(var u,c,d=p.MAX_VALUE,f=0;f<h.length;f++)h[f]<d?(d=h[f],u=1,c=f):h[f]==d&&u++;if(3==u&&0==d)0==h[0]&&0==h[1]&&0==h[2]?e=1:0==h[0]&&0==h[1]&&0==h[3]?e=0:0==h[0]&&0==h[2]&&0==h[3]?e=3:0==h[1]&&0==h[2]&&0==h[3]&&(e=2);else if(2==u&&0==d){var y=Math.floor(2*Math.random());e=0==h[0]&&0==h[1]?0==y?0:1:0==h[0]&&0==h[2]?0==y?0:2:0==h[0]&&0==h[3]?0==y?0:3:0==h[1]&&0==h[2]?0==y?1:2:0==h[1]&&0==h[3]?0==y?1:3:0==y?2:3}else e=4==u&&0==d?y=Math.floor(4*Math.random()):c;0==e?r.setCenter(i.getCenterX(),i.getCenterY()-i.getHeight()/2-l.DEFAULT_EDGE_LENGTH-r.getHeight()/2):1==e?r.setCenter(i.getCenterX()+i.getWidth()/2+l.DEFAULT_EDGE_LENGTH+r.getWidth()/2,i.getCenterY()):2==e?r.setCenter(i.getCenterX(),i.getCenterY()+i.getHeight()/2+l.DEFAULT_EDGE_LENGTH+r.getHeight()/2):r.setCenter(i.getCenterX()-i.getWidth()/2-l.DEFAULT_EDGE_LENGTH-r.getWidth()/2,i.getCenterY())},t.exports=v},function(t,e,i){var r={};r.layoutBase=i(0),r.CoSEConstants=i(1),r.CoSEEdge=i(2),r.CoSEGraph=i(3),r.CoSEGraphManager=i(4),r.CoSELayout=i(6),r.CoSENode=i(5),t.exports=r}]))),g.exports;var t}(),function(t){var e={};function i(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=1)}([function(t,e){t.exports=d},function(t,e,i){var r=i(0).layoutBase.LayoutConstants,n=i(0).layoutBase.FDLayoutConstants,o=i(0).CoSEConstants,s=i(0).CoSELayout,a=i(0).CoSENode,h=i(0).layoutBase.PointD,l=i(0).layoutBase.DimensionD,g={ready:function(){},stop:function(){},quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function u(t){this.options=function(t,e){var i={};for(var r in t)i[r]=t[r];for(var r in e)i[r]=e[r];return i}(g,t),c(this.options)}var c=function(t){null!=t.nodeRepulsion&&(o.DEFAULT_REPULSION_STRENGTH=n.DEFAULT_REPULSION_STRENGTH=t.nodeRepulsion),null!=t.idealEdgeLength&&(o.DEFAULT_EDGE_LENGTH=n.DEFAULT_EDGE_LENGTH=t.idealEdgeLength),null!=t.edgeElasticity&&(o.DEFAULT_SPRING_STRENGTH=n.DEFAULT_SPRING_STRENGTH=t.edgeElasticity),null!=t.nestingFactor&&(o.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=n.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=t.nestingFactor),null!=t.gravity&&(o.DEFAULT_GRAVITY_STRENGTH=n.DEFAULT_GRAVITY_STRENGTH=t.gravity),null!=t.numIter&&(o.MAX_ITERATIONS=n.MAX_ITERATIONS=t.numIter),null!=t.gravityRange&&(o.DEFAULT_GRAVITY_RANGE_FACTOR=n.DEFAULT_GRAVITY_RANGE_FACTOR=t.gravityRange),null!=t.gravityCompound&&(o.DEFAULT_COMPOUND_GRAVITY_STRENGTH=n.DEFAULT_COMPOUND_GRAVITY_STRENGTH=t.gravityCompound),null!=t.gravityRangeCompound&&(o.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=n.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=t.gravityRangeCompound),null!=t.initialEnergyOnIncremental&&(o.DEFAULT_COOLING_FACTOR_INCREMENTAL=n.DEFAULT_COOLING_FACTOR_INCREMENTAL=t.initialEnergyOnIncremental),"draft"==t.quality?r.QUALITY=0:"proof"==t.quality?r.QUALITY=2:r.QUALITY=1,o.NODE_DIMENSIONS_INCLUDE_LABELS=n.NODE_DIMENSIONS_INCLUDE_LABELS=r.NODE_DIMENSIONS_INCLUDE_LABELS=t.nodeDimensionsIncludeLabels,o.DEFAULT_INCREMENTAL=n.DEFAULT_INCREMENTAL=r.DEFAULT_INCREMENTAL=!t.randomize,o.ANIMATE=n.ANIMATE=r.ANIMATE=t.animate,o.TILE=t.tile,o.TILING_PADDING_VERTICAL="function"==typeof t.tilingPaddingVertical?t.tilingPaddingVertical.call():t.tilingPaddingVertical,o.TILING_PADDING_HORIZONTAL="function"==typeof t.tilingPaddingHorizontal?t.tilingPaddingHorizontal.call():t.tilingPaddingHorizontal};u.prototype.run=function(){var t,e,i=this.options;this.idToLNode={};var r=this.layout=new s,n=this;n.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var o=r.newGraphManager();this.gm=o;var a=this.options.eles.nodes(),h=this.options.eles.edges();this.root=o.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(a),r);for(var l=0;l<h.length;l++){var g=h[l],u=this.idToLNode[g.data("source")],c=this.idToLNode[g.data("target")];u!==c&&0==u.getEdgesBetween(c).length&&(o.add(r.newEdge(),u,c).id=g.id())}var d=function(t,e){"number"==typeof t&&(t=e);var i=t.data("id"),r=n.idToLNode[i];return{x:r.getRect().getCenterX(),y:r.getRect().getCenterY()}},p=function o(){for(var s,a=function(){i.fit&&i.cy.fit(i.eles,i.padding),t||(t=!0,n.cy.one("layoutready",i.ready),n.cy.trigger({type:"layoutready",layout:n}))},h=n.options.refresh,l=0;l<h&&!s;l++)s=n.stopped||n.layout.tick();if(s)return r.checkLayoutSuccess()&&!r.isSubLayout&&r.doPostLayout(),r.tilingPostLayout&&r.tilingPostLayout(),r.isLayoutFinished=!0,n.options.eles.nodes().positions(d),a(),n.cy.one("layoutstop",n.options.stop),n.cy.trigger({type:"layoutstop",layout:n}),e&&cancelAnimationFrame(e),void(t=!1);var g=n.layout.getPositionsData();i.eles.nodes().positions(function(t,e){if("number"==typeof t&&(t=e),!t.isParent()){for(var i=t.id(),r=g[i],n=t;null==r&&(r=g[n.data("parent")]||g["DummyCompound_"+n.data("parent")],g[i]=r,null!=(n=n.parent()[0])););return null!=r?{x:r.x,y:r.y}:{x:t.position("x"),y:t.position("y")}}}),a(),e=requestAnimationFrame(o)};return r.addListener("layoutstarted",function(){"during"===n.options.animate&&(e=requestAnimationFrame(p))}),r.runLayout(),"during"!==this.options.animate&&(n.options.eles.nodes().not(":parent").layoutPositions(n,n.options,d),t=!1),this},u.prototype.getTopMostNodes=function(t){for(var e={},i=0;i<t.length;i++)e[t[i].id()]=!0;return t.filter(function(t,i){"number"==typeof t&&(t=i);for(var r=t.parent()[0];null!=r;){if(e[r.id()])return!1;r=r.parent()[0]}return!0})},u.prototype.processChildrenList=function(t,e,i){for(var r=e.length,n=0;n<r;n++){var o,s,g=e[n],u=g.children(),c=g.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if((o=null!=g.outerWidth()&&null!=g.outerHeight()?t.add(new a(i.graphManager,new h(g.position("x")-c.w/2,g.position("y")-c.h/2),new l(parseFloat(c.w),parseFloat(c.h)))):t.add(new a(this.graphManager))).id=g.data("id"),o.paddingLeft=parseInt(g.css("padding")),o.paddingTop=parseInt(g.css("padding")),o.paddingRight=parseInt(g.css("padding")),o.paddingBottom=parseInt(g.css("padding")),this.options.nodeDimensionsIncludeLabels&&g.isParent()){var d=g.boundingBox({includeLabels:!0,includeNodes:!1}).w,p=g.boundingBox({includeLabels:!0,includeNodes:!1}).h,f=g.css("text-halign");o.labelWidth=d,o.labelHeight=p,o.labelPos=f}this.idToLNode[g.data("id")]=o,isNaN(o.rect.x)&&(o.rect.x=0),isNaN(o.rect.y)&&(o.rect.y=0),null!=u&&u.length>0&&(s=i.getGraphManager().add(i.newGraph(),o),this.processChildrenList(s,u,i))}},u.prototype.stop=function(){return this.stopped=!0,this};var d=function(t){t("layout","cose-bilkent",u)};typeof cytoscape<"u"&&d(cytoscape),t.exports=d}]))),l.exports);const f=(0,h.g)(p);function y(t,e){t.forEach(t=>{const i={id:t.id,labelText:t.label,height:t.height,width:t.width,padding:t.padding??0};Object.keys(t).forEach(e=>{["id","label","height","width","padding","x","y"].includes(e)||(i[e]=t[e])}),e.add({group:"nodes",data:i,position:{x:t.x??0,y:t.y??0}})})}function E(t,e){t.forEach(t=>{const i={id:t.id,source:t.start,target:t.end};Object.keys(t).forEach(e=>{["id","start","end"].includes(e)||(i[e]=t[e])}),e.add({group:"edges",data:i})})}function v(t){return new Promise(e=>{const i=(0,s.d)("body").append("div").attr("id","cy").attr("style","display:none"),r=(0,a.c)({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});i.remove(),y(t.nodes,r),E(t.edges,r),r.nodes().forEach(function(t){t.layoutDimensions=()=>{const e=t.data();return{w:e.width,h:e.height}}}),r.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),r.ready(t=>{s.l.info("Cytoscape ready",t),e(r)})})}function A(t){return t.nodes().map(t=>{const e=t.data(),i=t.position(),r={id:e.id,x:i.x,y:i.y};return Object.keys(e).forEach(t=>{"id"!==t&&(r[t]=e[t])}),r})}function N(t){return t.edges().map(t=>{const e=t.data(),i=t._private.rscratch,r={id:e.id,source:e.source,target:e.target,startX:i.startX,startY:i.startY,midX:i.midX,midY:i.midY,endX:i.endX,endY:i.endY};return Object.keys(e).forEach(t=>{["id","source","target"].includes(t)||(r[t]=e[t])}),r})}async function T(t,e){s.l.debug("Starting cose-bilkent layout algorithm");try{_(t);const e=await v(t),i=A(e),r=N(e);return s.l.debug(`Layout completed: ${i.length} nodes, ${r.length} edges`),{nodes:i,edges:r}}catch(t){throw s.l.error("Error in cose-bilkent layout algorithm:",t),t}}function _(t){if(!t)throw new Error("Layout data is required");if(!t.config)throw new Error("Configuration is required in layout data");if(!t.rootNode)throw new Error("Root node is required");if(!t.nodes||!Array.isArray(t.nodes))throw new Error("No nodes found in layout data");if(!Array.isArray(t.edges))throw new Error("Edges array is required in layout data");return!0}a.c.use(f),(0,s._)(y,"addNodes"),(0,s._)(E,"addEdges"),(0,s._)(v,"createCytoscapeInstance"),(0,s._)(A,"extractPositionedNodes"),(0,s._)(N,"extractPositionedEdges"),(0,s._)(T,"executeCoseBilkentLayout"),(0,s._)(_,"validateLayoutData");var L=(0,s._)(async(t,e,{insertCluster:i,insertEdge:r,insertEdgeLabel:n,insertMarkers:o,insertNode:s,log:a,positionEdgeLabel:h},{algorithm:l})=>{const g={},u={},c=e.select("g");o(c,t.markers,t.type,t.diagramId);const d=c.insert("g").attr("class","subgraphs"),p=c.insert("g").attr("class","edgePaths"),f=c.insert("g").attr("class","edgeLabels"),y=c.insert("g").attr("class","nodes");a.debug("Inserting nodes into DOM for dimension calculation"),await Promise.all(t.nodes.map(async e=>{if(e.isGroup){const t={...e};u[e.id]=t,g[e.id]=t,await i(d,e)}else{const i={...e};g[e.id]=i;const r=await s(y,e,{config:t.config,dir:t.direction||"TB"}),n=r.node().getBBox();i.width=n.width,i.height=n.height,i.domId=r,a.debug(`Node ${e.id} dimensions: ${n.width}x${n.height}`)}})),a.debug("Running cose-bilkent layout algorithm");const E={...t,nodes:t.nodes.map(t=>{const e=g[t.id];return{...t,width:e.width,height:e.height}})},v=await T(E,t.config);a.debug("Positioning nodes based on layout results"),v.nodes.forEach(t=>{const e=g[t.id];null!=e&&e.domId&&(e.domId.attr("transform",`translate(${t.x}, ${t.y})`),e.x=t.x,e.y=t.y,a.debug(`Positioned node ${e.id} at center (${t.x}, ${t.y})`))}),v.edges.forEach(e=>{const i=t.edges.find(t=>t.id===e.id);i&&(i.points=[{x:e.startX,y:e.startY},{x:e.midX,y:e.midY},{x:e.endX,y:e.endY}])}),a.debug("Inserting and positioning edges"),await Promise.all(t.edges.map(async e=>{await n(f,e);const i=g[e.start??""],o=g[e.end??""];if(i&&o){const n=v.edges.find(t=>t.id===e.id);if(n){a.debug("APA01 positionedEdge",n);const s={...e},l=r(p,s,u,t.type,i,o,t.diagramId);h(s,l)}else{const n={...e,points:[{x:i.x||0,y:i.y||0},{x:o.x||0,y:o.y||0}]},s=r(p,n,u,t.type,i,o,t.diagramId);h(n,s)}}})),a.debug("Cose-bilkent rendering completed")},"render"),m=L}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkruncell=self.webpackChunkruncell||[]).push([[7556],{17556:(e,r,a)=>{a.d(r,{diagram:()=>d});var n=a(43340),t=a(90539),s={parse:(0,n._)(async e=>{const r=await(0,t.p)("info",e);n.l.debug(r)},"parse")},i={version:n.L.version+""},d={parser:s,db:{getVersion:(0,n._)(()=>i.version,"getVersion")},renderer:{draw:(0,n._)((e,r,a)=>{n.l.debug("rendering info diagram\n"+e);const t=(0,n.K)(r);(0,n.e)(t,100,400,!0),t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${a}`)},"draw")}}}}]);